diff --git a/src/components/Tags.vue b/src/components/Tags.vue new file mode 100644 index 00000000..90fb670c --- /dev/null +++ b/src/components/Tags.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/src/components/index.ts b/src/components/index.ts index 607c7ce7..2992ee49 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -21,6 +21,7 @@ import Selector from "./Selector.vue"; import Graph from "./Graph.vue"; import Radio from "./Radio.vue"; import SelectSingle from "./SelectSingle.vue"; +import Tags from "./Tags.vue"; import VueGridLayout from "vue-grid-layout"; const components: Indexable = { @@ -31,6 +32,7 @@ const components: Indexable = { Graph, Radio, SelectSingle, + Tags, }; const componentsName: string[] = Object.keys(components); diff --git a/src/types/components.d.ts b/src/types/components.d.ts index fa07aadd..08bd9fc6 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -33,15 +33,18 @@ declare module '@vue/runtime-core' { ElSwitch: typeof import('element-plus/es')['ElSwitch'] ElTable: typeof import('element-plus/es')['ElTable'] ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] + ElTag: typeof import('element-plus/es')['ElTag'] ElTooltip: typeof import('element-plus/es')['ElTooltip'] Graph: typeof import('./../components/Graph.vue')['default'] Icon: typeof import('./../components/Icon.vue')['default'] + 'Icon copy': typeof import('./../components/Icon copy.vue')['default'] Loading: typeof import('element-plus/es')['ElLoadingDirective'] Radio: typeof import('./../components/Radio.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] Selector: typeof import('./../components/Selector.vue')['default'] SelectSingle: typeof import('./../components/SelectSingle.vue')['default'] + Tags: typeof import('./../components/Tags.vue')['default'] TimePicker: typeof import('./../components/TimePicker.vue')['default'] } }