@timus-networks/theme 2.2.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/module.mjs +9 -2
- package/dist/runtime/components/development/example.alert.vue +2 -0
- package/dist/runtime/components/development/example.button.vue.d.ts +302 -0
- package/dist/runtime/components/development/example.dialog.vue +4 -5
- package/dist/runtime/components/development/example.message.vue +1 -1
- package/dist/runtime/components/development/example.popover.vue +3 -3
- package/dist/runtime/components/development/example.table.vue +1 -1
- package/dist/runtime/components/production/timus-breadcrumb.vue.d.ts +0 -302
- package/dist/runtime/public/scss/_buttons.scss +159 -0
- package/dist/runtime/public/scss/_colors.scss +188 -0
- package/dist/runtime/public/scss/_containers.scss +7 -0
- package/dist/runtime/public/scss/_fonts.scss +85 -0
- package/dist/runtime/public/scss/_icons.scss +124 -0
- package/dist/runtime/public/scss/_inputs.scss +62 -0
- package/dist/runtime/public/scss/_layers.scss +9 -0
- package/dist/runtime/public/scss/_logo.scss +53 -0
- package/dist/runtime/public/scss/_selectbox.scss +4 -0
- package/dist/runtime/public/scss/_variables.scss +16 -0
- package/dist/runtime/public/scss/element-plus/affix.css +78 -78
- package/dist/runtime/public/scss/element-plus/affix.scss +7 -0
- package/dist/runtime/public/scss/element-plus/alert.css +78 -78
- package/dist/runtime/public/scss/element-plus/alert.scss +168 -0
- package/dist/runtime/public/scss/element-plus/anchor-link.css +78 -78
- package/dist/runtime/public/scss/element-plus/anchor-link.scss +41 -0
- package/dist/runtime/public/scss/element-plus/anchor.css +78 -78
- package/dist/runtime/public/scss/element-plus/anchor.scss +93 -0
- package/dist/runtime/public/scss/element-plus/aside.css +78 -78
- package/dist/runtime/public/scss/element-plus/aside.scss +8 -0
- package/dist/runtime/public/scss/element-plus/autocomplete.css +78 -78
- package/dist/runtime/public/scss/element-plus/autocomplete.scss +85 -0
- package/dist/runtime/public/scss/element-plus/avatar.css +82 -78
- package/dist/runtime/public/scss/element-plus/avatar.scss +56 -0
- package/dist/runtime/public/scss/element-plus/backtop.css +78 -78
- package/dist/runtime/public/scss/element-plus/backtop.scss +29 -0
- package/dist/runtime/public/scss/element-plus/badge.css +78 -78
- package/dist/runtime/public/scss/element-plus/badge.scss +54 -0
- package/dist/runtime/public/scss/element-plus/base.css +78 -78
- package/dist/runtime/public/scss/element-plus/base.scss +3 -0
- package/dist/runtime/public/scss/element-plus/breadcrumb-item.scss +0 -0
- package/dist/runtime/public/scss/element-plus/breadcrumb.css +78 -78
- package/dist/runtime/public/scss/element-plus/breadcrumb.scss +75 -0
- package/dist/runtime/public/scss/element-plus/button-group.css +78 -78
- package/dist/runtime/public/scss/element-plus/button-group.scss +111 -0
- package/dist/runtime/public/scss/element-plus/button.css +78 -83
- package/dist/runtime/public/scss/element-plus/button.scss +352 -0
- package/dist/runtime/public/scss/element-plus/calendar.css +78 -78
- package/dist/runtime/public/scss/element-plus/calendar.scss +80 -0
- package/dist/runtime/public/scss/element-plus/card.css +78 -78
- package/dist/runtime/public/scss/element-plus/card.scss +54 -0
- package/dist/runtime/public/scss/element-plus/carousel-item.css +78 -78
- package/dist/runtime/public/scss/element-plus/carousel-item.scss +58 -0
- package/dist/runtime/public/scss/element-plus/carousel.css +78 -78
- package/dist/runtime/public/scss/element-plus/carousel.scss +183 -0
- package/dist/runtime/public/scss/element-plus/cascader-panel.css +78 -78
- package/dist/runtime/public/scss/element-plus/cascader-panel.scss +138 -0
- package/dist/runtime/public/scss/element-plus/cascader.css +78 -78
- package/dist/runtime/public/scss/element-plus/cascader.scss +218 -0
- package/dist/runtime/public/scss/element-plus/check-tag.css +78 -78
- package/dist/runtime/public/scss/element-plus/check-tag.scss +38 -0
- package/dist/runtime/public/scss/element-plus/checkbox-button.css +78 -83
- package/dist/runtime/public/scss/element-plus/checkbox-button.scss +141 -0
- package/dist/runtime/public/scss/element-plus/checkbox-group.css +78 -78
- package/dist/runtime/public/scss/element-plus/checkbox-group.scss +8 -0
- package/dist/runtime/public/scss/element-plus/checkbox.css +78 -78
- package/dist/runtime/public/scss/element-plus/checkbox.scss +294 -0
- package/dist/runtime/public/scss/element-plus/col.css +78 -78
- package/dist/runtime/public/scss/element-plus/col.scss +48 -0
- package/dist/runtime/public/scss/element-plus/collapse-item.scss +0 -0
- package/dist/runtime/public/scss/element-plus/collapse-transition.scss +0 -0
- package/dist/runtime/public/scss/element-plus/collapse.css +78 -78
- package/dist/runtime/public/scss/element-plus/collapse.scss +70 -0
- package/dist/runtime/public/scss/element-plus/color/index.scss +17 -0
- package/dist/runtime/public/scss/element-plus/color-picker.css +78 -78
- package/dist/runtime/public/scss/element-plus/color-picker.scss +365 -0
- package/dist/runtime/public/scss/element-plus/common/popup.css +78 -78
- package/dist/runtime/public/scss/element-plus/common/popup.scss +47 -0
- package/dist/runtime/public/scss/element-plus/common/transition.css +78 -78
- package/dist/runtime/public/scss/element-plus/common/transition.scss +124 -0
- package/dist/runtime/public/scss/element-plus/common/var.css +78 -78
- package/dist/runtime/public/scss/element-plus/common/var.scss +1646 -0
- package/dist/runtime/public/scss/element-plus/config-provider.scss +0 -0
- package/dist/runtime/public/scss/element-plus/container.css +78 -78
- package/dist/runtime/public/scss/element-plus/container.scss +14 -0
- package/dist/runtime/public/scss/element-plus/dark/css-vars.css +78 -78
- package/dist/runtime/public/scss/element-plus/dark/css-vars.scss +39 -0
- package/dist/runtime/public/scss/element-plus/dark/var.css +78 -78
- package/dist/runtime/public/scss/element-plus/dark/var.scss +221 -0
- package/dist/runtime/public/scss/element-plus/date-picker/date-picker.css +78 -78
- package/dist/runtime/public/scss/element-plus/date-picker/date-picker.scss +109 -0
- package/dist/runtime/public/scss/element-plus/date-picker/date-range-picker.css +78 -78
- package/dist/runtime/public/scss/element-plus/date-picker/date-range-picker.scss +117 -0
- package/dist/runtime/public/scss/element-plus/date-picker/date-table.css +78 -78
- package/dist/runtime/public/scss/element-plus/date-picker/date-table.scss +158 -0
- package/dist/runtime/public/scss/element-plus/date-picker/month-table.css +78 -78
- package/dist/runtime/public/scss/element-plus/date-picker/month-table.scss +112 -0
- package/dist/runtime/public/scss/element-plus/date-picker/picker-panel.css +78 -78
- package/dist/runtime/public/scss/element-plus/date-picker/picker-panel.scss +168 -0
- package/dist/runtime/public/scss/element-plus/date-picker/picker.css +78 -78
- package/dist/runtime/public/scss/element-plus/date-picker/picker.scss +192 -0
- package/dist/runtime/public/scss/element-plus/date-picker/time-picker.css +78 -78
- package/dist/runtime/public/scss/element-plus/date-picker/time-picker.scss +98 -0
- package/dist/runtime/public/scss/element-plus/date-picker/time-range-picker.css +78 -78
- package/dist/runtime/public/scss/element-plus/date-picker/time-range-picker.scss +40 -0
- package/dist/runtime/public/scss/element-plus/date-picker/time-spinner.css +78 -78
- package/dist/runtime/public/scss/element-plus/date-picker/time-spinner.scss +110 -0
- package/dist/runtime/public/scss/element-plus/date-picker/year-table.css +78 -78
- package/dist/runtime/public/scss/element-plus/date-picker/year-table.scss +108 -0
- package/dist/runtime/public/scss/element-plus/date-picker.css +78 -78
- package/dist/runtime/public/scss/element-plus/date-picker.scss +9 -0
- package/dist/runtime/public/scss/element-plus/descriptions-item.css +78 -78
- package/dist/runtime/public/scss/element-plus/descriptions-item.scss +69 -0
- package/dist/runtime/public/scss/element-plus/descriptions.css +78 -78
- package/dist/runtime/public/scss/element-plus/descriptions.scss +166 -0
- package/dist/runtime/public/scss/element-plus/dialog.css +81 -81
- package/dist/runtime/public/scss/element-plus/dialog.scss +190 -0
- package/dist/runtime/public/scss/element-plus/display.css +78 -78
- package/dist/runtime/public/scss/element-plus/display.scss +12 -0
- package/dist/runtime/public/scss/element-plus/divider.css +78 -78
- package/dist/runtime/public/scss/element-plus/divider.scss +48 -0
- package/dist/runtime/public/scss/element-plus/drawer.css +78 -78
- package/dist/runtime/public/scss/element-plus/drawer.scss +155 -0
- package/dist/runtime/public/scss/element-plus/dropdown-item.scss +0 -0
- package/dist/runtime/public/scss/element-plus/dropdown-menu.scss +0 -0
- package/dist/runtime/public/scss/element-plus/dropdown.css +78 -78
- package/dist/runtime/public/scss/element-plus/dropdown.scss +212 -0
- package/dist/runtime/public/scss/element-plus/empty.css +78 -78
- package/dist/runtime/public/scss/element-plus/empty.scss +49 -0
- package/dist/runtime/public/scss/element-plus/footer.css +78 -78
- package/dist/runtime/public/scss/element-plus/footer.scss +12 -0
- package/dist/runtime/public/scss/element-plus/form-item.scss +0 -0
- package/dist/runtime/public/scss/element-plus/form.css +78 -78
- package/dist/runtime/public/scss/element-plus/form.scss +296 -0
- package/dist/runtime/public/scss/element-plus/header.css +78 -78
- package/dist/runtime/public/scss/element-plus/header.scss +12 -0
- package/dist/runtime/public/scss/element-plus/icon.css +78 -78
- package/dist/runtime/public/scss/element-plus/icon.scss +45 -0
- package/dist/runtime/public/scss/element-plus/image-viewer.css +78 -78
- package/dist/runtime/public/scss/element-plus/image-viewer.scss +139 -0
- package/dist/runtime/public/scss/element-plus/image.css +78 -78
- package/dist/runtime/public/scss/element-plus/image.scss +49 -0
- package/dist/runtime/public/scss/element-plus/index.css +185 -164
- package/dist/runtime/public/scss/element-plus/index.scss +110 -0
- package/dist/runtime/public/scss/element-plus/infinite-scroll.scss +0 -0
- package/dist/runtime/public/scss/element-plus/input-number.css +78 -78
- package/dist/runtime/public/scss/element-plus/input-number.scss +184 -0
- package/dist/runtime/public/scss/element-plus/input.css +78 -78
- package/dist/runtime/public/scss/element-plus/input.scss +530 -0
- package/dist/runtime/public/scss/element-plus/link.css +106 -120
- package/dist/runtime/public/scss/element-plus/link.scss +89 -0
- package/dist/runtime/public/scss/element-plus/loading.css +78 -78
- package/dist/runtime/public/scss/element-plus/loading.scss +102 -0
- package/dist/runtime/public/scss/element-plus/main.css +78 -78
- package/dist/runtime/public/scss/element-plus/main.scss +14 -0
- package/dist/runtime/public/scss/element-plus/mention.css +78 -78
- package/dist/runtime/public/scss/element-plus/mention.scss +84 -0
- package/dist/runtime/public/scss/element-plus/menu-item-group.scss +0 -0
- package/dist/runtime/public/scss/element-plus/menu-item.scss +0 -0
- package/dist/runtime/public/scss/element-plus/menu.css +78 -78
- package/dist/runtime/public/scss/element-plus/menu.scss +332 -0
- package/dist/runtime/public/scss/element-plus/message-box.css +105 -86
- package/dist/runtime/public/scss/element-plus/message-box.scss +229 -0
- package/dist/runtime/public/scss/element-plus/message.css +81 -81
- package/dist/runtime/public/scss/element-plus/message.scss +159 -0
- package/dist/runtime/public/scss/element-plus/mixins/_button.scss +181 -0
- package/dist/runtime/public/scss/element-plus/mixins/_col.scss +33 -0
- package/dist/runtime/public/scss/element-plus/mixins/_var.scss +58 -0
- package/dist/runtime/public/scss/element-plus/mixins/config.scss +5 -0
- package/dist/runtime/public/scss/element-plus/mixins/function.scss +84 -0
- package/dist/runtime/public/scss/element-plus/mixins/mixins.css +78 -78
- package/dist/runtime/public/scss/element-plus/mixins/mixins.scss +227 -0
- package/dist/runtime/public/scss/element-plus/mixins/utils.scss +39 -0
- package/dist/runtime/public/scss/element-plus/notification.css +80 -80
- package/dist/runtime/public/scss/element-plus/notification.scss +104 -0
- package/dist/runtime/public/scss/element-plus/option-group.css +78 -78
- package/dist/runtime/public/scss/element-plus/option-group.scss +38 -0
- package/dist/runtime/public/scss/element-plus/option.css +78 -78
- package/dist/runtime/public/scss/element-plus/option.scss +75 -0
- package/dist/runtime/public/scss/element-plus/overlay.css +79 -79
- package/dist/runtime/public/scss/element-plus/overlay.scss +20 -0
- package/dist/runtime/public/scss/element-plus/page-header.css +78 -78
- package/dist/runtime/public/scss/element-plus/page-header.scss +60 -0
- package/dist/runtime/public/scss/element-plus/pagination.css +78 -78
- package/dist/runtime/public/scss/element-plus/pagination.scss +249 -0
- package/dist/runtime/public/scss/element-plus/popconfirm.css +78 -78
- package/dist/runtime/public/scss/element-plus/popconfirm.scss +16 -0
- package/dist/runtime/public/scss/element-plus/popover.css +99 -79
- package/dist/runtime/public/scss/element-plus/popover.scss +75 -0
- package/dist/runtime/public/scss/element-plus/popper.css +78 -78
- package/dist/runtime/public/scss/element-plus/popper.scss +107 -0
- package/dist/runtime/public/scss/element-plus/progress.css +78 -78
- package/dist/runtime/public/scss/element-plus/progress.scss +179 -0
- package/dist/runtime/public/scss/element-plus/radio-button.css +78 -79
- package/dist/runtime/public/scss/element-plus/radio-button.scss +138 -0
- package/dist/runtime/public/scss/element-plus/radio-group.css +78 -78
- package/dist/runtime/public/scss/element-plus/radio-group.scss +9 -0
- package/dist/runtime/public/scss/element-plus/radio.css +78 -78
- package/dist/runtime/public/scss/element-plus/radio.scss +240 -0
- package/dist/runtime/public/scss/element-plus/rate.css +78 -78
- package/dist/runtime/public/scss/element-plus/rate.scss +108 -0
- package/dist/runtime/public/scss/element-plus/reset.css +78 -78
- package/dist/runtime/public/scss/element-plus/reset.scss +97 -0
- package/dist/runtime/public/scss/element-plus/result.css +78 -78
- package/dist/runtime/public/scss/element-plus/result.scss +57 -0
- package/dist/runtime/public/scss/element-plus/row.css +78 -78
- package/dist/runtime/public/scss/element-plus/row.scss +35 -0
- package/dist/runtime/public/scss/element-plus/scrollbar.css +78 -78
- package/dist/runtime/public/scss/element-plus/scrollbar.scss +85 -0
- package/dist/runtime/public/scss/element-plus/segmented.css +78 -78
- package/dist/runtime/public/scss/element-plus/segmented.scss +160 -0
- package/dist/runtime/public/scss/element-plus/select-dropdown-v2.css +78 -78
- package/dist/runtime/public/scss/element-plus/select-dropdown-v2.scss +1 -0
- package/dist/runtime/public/scss/element-plus/select-dropdown.css +78 -78
- package/dist/runtime/public/scss/element-plus/select-dropdown.scss +57 -0
- package/dist/runtime/public/scss/element-plus/select-v2.css +79 -79
- package/dist/runtime/public/scss/element-plus/select-v2.scss +4 -0
- package/dist/runtime/public/scss/element-plus/select.css +79 -79
- package/dist/runtime/public/scss/element-plus/select.scss +277 -0
- package/dist/runtime/public/scss/element-plus/skeleton-item.css +78 -78
- package/dist/runtime/public/scss/element-plus/skeleton-item.scss +83 -0
- package/dist/runtime/public/scss/element-plus/skeleton.css +78 -78
- package/dist/runtime/public/scss/element-plus/skeleton.scss +39 -0
- package/dist/runtime/public/scss/element-plus/slider.css +78 -78
- package/dist/runtime/public/scss/element-plus/slider.scss +212 -0
- package/dist/runtime/public/scss/element-plus/space.css +78 -78
- package/dist/runtime/public/scss/element-plus/space.scss +20 -0
- package/dist/runtime/public/scss/element-plus/spinner.css +78 -78
- package/dist/runtime/public/scss/element-plus/spinner.scss +43 -0
- package/dist/runtime/public/scss/element-plus/statistic.css +78 -78
- package/dist/runtime/public/scss/element-plus/statistic.scss +35 -0
- package/dist/runtime/public/scss/element-plus/step.css +78 -78
- package/dist/runtime/public/scss/element-plus/step.scss +316 -0
- package/dist/runtime/public/scss/element-plus/steps.css +78 -78
- package/dist/runtime/public/scss/element-plus/steps.scss +21 -0
- package/dist/runtime/public/scss/element-plus/sub-menu.scss +0 -0
- package/dist/runtime/public/scss/element-plus/switch.css +78 -78
- package/dist/runtime/public/scss/element-plus/switch.scss +309 -0
- package/dist/runtime/public/scss/element-plus/tab-pane.scss +0 -0
- package/dist/runtime/public/scss/element-plus/table-column.css +78 -78
- package/dist/runtime/public/scss/element-plus/table-column.scss +98 -0
- package/dist/runtime/public/scss/element-plus/table-v2.css +78 -78
- package/dist/runtime/public/scss/element-plus/table-v2.scss +234 -0
- package/dist/runtime/public/scss/element-plus/table.css +84 -81
- package/dist/runtime/public/scss/element-plus/table.scss +732 -0
- package/dist/runtime/public/scss/element-plus/tabs.css +78 -78
- package/dist/runtime/public/scss/element-plus/tabs.scss +653 -0
- package/dist/runtime/public/scss/element-plus/tag.css +87 -87
- package/dist/runtime/public/scss/element-plus/tag.scss +162 -0
- package/dist/runtime/public/scss/element-plus/text.css +78 -78
- package/dist/runtime/public/scss/element-plus/text.scss +58 -0
- package/dist/runtime/public/scss/element-plus/time-picker.css +78 -78
- package/dist/runtime/public/scss/element-plus/time-picker.scss +5 -0
- package/dist/runtime/public/scss/element-plus/time-select.css +78 -78
- package/dist/runtime/public/scss/element-plus/time-select.scss +37 -0
- package/dist/runtime/public/scss/element-plus/timeline-item.css +78 -78
- package/dist/runtime/public/scss/element-plus/timeline-item.scss +84 -0
- package/dist/runtime/public/scss/element-plus/timeline.css +78 -78
- package/dist/runtime/public/scss/element-plus/timeline.scss +46 -0
- package/dist/runtime/public/scss/element-plus/tooltip-v2.css +78 -78
- package/dist/runtime/public/scss/element-plus/tooltip-v2.scss +86 -0
- package/dist/runtime/public/scss/element-plus/tooltip.scss +0 -0
- package/dist/runtime/public/scss/element-plus/tour.css +80 -80
- package/dist/runtime/public/scss/element-plus/tour.scss +170 -0
- package/dist/runtime/public/scss/element-plus/transfer.css +78 -78
- package/dist/runtime/public/scss/element-plus/transfer.scss +204 -0
- package/dist/runtime/public/scss/element-plus/tree-select.css +78 -78
- package/dist/runtime/public/scss/element-plus/tree-select.scss +38 -0
- package/dist/runtime/public/scss/element-plus/tree.css +78 -78
- package/dist/runtime/public/scss/element-plus/tree.scss +132 -0
- package/dist/runtime/public/scss/element-plus/upload.css +78 -78
- package/dist/runtime/public/scss/element-plus/upload.scss +652 -0
- package/dist/runtime/public/scss/element-plus/var.css +78 -78
- package/dist/runtime/public/scss/element-plus/var.scss +84 -0
- package/dist/runtime/public/scss/element-plus/virtual-list.css +78 -78
- package/dist/runtime/public/scss/element-plus/virtual-list.scss +40 -0
- package/dist/runtime/public/scss/theme.css +78 -78
- package/dist/runtime/public/scss/theme.scss +72 -0
- package/package.json +9 -2
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -12,7 +12,7 @@ const __filename = __cjs_url__.fileURLToPath(import.meta.url);
|
|
|
12
12
|
const __dirname = __cjs_path__.dirname(__filename);
|
|
13
13
|
const require = __cjs_mod__.createRequire(import.meta.url);
|
|
14
14
|
const name = "@timus-networks/theme";
|
|
15
|
-
const version = "2.
|
|
15
|
+
const version = "2.3.0";
|
|
16
16
|
const description = "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.";
|
|
17
17
|
const type = "module";
|
|
18
18
|
const exports = {
|
|
@@ -83,7 +83,14 @@ const PackageJson = {
|
|
|
83
83
|
scripts: scripts,
|
|
84
84
|
"standard-version": {
|
|
85
85
|
tagPrefix: "theme-v",
|
|
86
|
-
releaseCommitMessageFormat: "chore(release): @timus-networks/theme {{currentTag}}"
|
|
86
|
+
releaseCommitMessageFormat: "chore(release): @timus-networks/theme {{currentTag}}",
|
|
87
|
+
types: [
|
|
88
|
+
{
|
|
89
|
+
type: "build",
|
|
90
|
+
section: "Build System",
|
|
91
|
+
hidden: true
|
|
92
|
+
}
|
|
93
|
+
]
|
|
87
94
|
},
|
|
88
95
|
repository: repository,
|
|
89
96
|
keywords: keywords,
|
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
</template>
|
|
23
23
|
|
|
24
24
|
<script lang="ts" setup>
|
|
25
|
+
import { ref } from 'vue';
|
|
26
|
+
|
|
25
27
|
const colors = ref(['success', 'warning', 'info', 'error', 'danger']);
|
|
26
28
|
const snippets = ref({
|
|
27
29
|
basic: `<el-alert title="Title Text Goes Here" type="danger" description="This is a description." show-icon :closable="false" />`,
|
|
@@ -9,3 +9,305 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
9
9
|
capitalize(value: string): string;
|
|
10
10
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
export default _default;
|
|
12
|
+
declare module 'vue' {
|
|
13
|
+
interface GlobalComponents {
|
|
14
|
+
}
|
|
15
|
+
interface GlobalDirectives {
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
declare global {
|
|
19
|
+
const __VLS_intrinsicElements: __VLS_IntrinsicElements;
|
|
20
|
+
const __VLS_directiveBindingRestFields: {
|
|
21
|
+
instance: null;
|
|
22
|
+
oldValue: null;
|
|
23
|
+
modifiers: any;
|
|
24
|
+
dir: any;
|
|
25
|
+
};
|
|
26
|
+
const __VLS_unref: typeof import('vue').unref;
|
|
27
|
+
const __VLS_nativeElements: {
|
|
28
|
+
a: HTMLAnchorElement;
|
|
29
|
+
abbr: HTMLElement;
|
|
30
|
+
address: HTMLElement;
|
|
31
|
+
area: HTMLAreaElement;
|
|
32
|
+
article: HTMLElement;
|
|
33
|
+
aside: HTMLElement;
|
|
34
|
+
audio: HTMLAudioElement;
|
|
35
|
+
b: HTMLElement;
|
|
36
|
+
base: HTMLBaseElement;
|
|
37
|
+
bdi: HTMLElement;
|
|
38
|
+
bdo: HTMLElement;
|
|
39
|
+
blockquote: HTMLQuoteElement;
|
|
40
|
+
body: HTMLBodyElement;
|
|
41
|
+
br: HTMLBRElement;
|
|
42
|
+
button: HTMLButtonElement;
|
|
43
|
+
canvas: HTMLCanvasElement;
|
|
44
|
+
caption: HTMLTableCaptionElement;
|
|
45
|
+
cite: HTMLElement;
|
|
46
|
+
code: HTMLElement;
|
|
47
|
+
col: HTMLTableColElement;
|
|
48
|
+
colgroup: HTMLTableColElement;
|
|
49
|
+
data: HTMLDataElement;
|
|
50
|
+
datalist: HTMLDataListElement;
|
|
51
|
+
dd: HTMLElement;
|
|
52
|
+
del: HTMLModElement;
|
|
53
|
+
details: HTMLDetailsElement;
|
|
54
|
+
dfn: HTMLElement;
|
|
55
|
+
dialog: HTMLDialogElement;
|
|
56
|
+
div: HTMLDivElement;
|
|
57
|
+
dl: HTMLDListElement;
|
|
58
|
+
dt: HTMLElement;
|
|
59
|
+
em: HTMLElement;
|
|
60
|
+
embed: HTMLEmbedElement;
|
|
61
|
+
fieldset: HTMLFieldSetElement;
|
|
62
|
+
figcaption: HTMLElement;
|
|
63
|
+
figure: HTMLElement;
|
|
64
|
+
footer: HTMLElement;
|
|
65
|
+
form: HTMLFormElement;
|
|
66
|
+
h1: HTMLHeadingElement;
|
|
67
|
+
h2: HTMLHeadingElement;
|
|
68
|
+
h3: HTMLHeadingElement;
|
|
69
|
+
h4: HTMLHeadingElement;
|
|
70
|
+
h5: HTMLHeadingElement;
|
|
71
|
+
h6: HTMLHeadingElement;
|
|
72
|
+
head: HTMLHeadElement;
|
|
73
|
+
header: HTMLElement;
|
|
74
|
+
hgroup: HTMLElement;
|
|
75
|
+
hr: HTMLHRElement;
|
|
76
|
+
html: HTMLHtmlElement;
|
|
77
|
+
i: HTMLElement;
|
|
78
|
+
iframe: HTMLIFrameElement;
|
|
79
|
+
img: HTMLImageElement;
|
|
80
|
+
input: HTMLInputElement;
|
|
81
|
+
ins: HTMLModElement;
|
|
82
|
+
kbd: HTMLElement;
|
|
83
|
+
label: HTMLLabelElement;
|
|
84
|
+
legend: HTMLLegendElement;
|
|
85
|
+
li: HTMLLIElement;
|
|
86
|
+
link: HTMLLinkElement;
|
|
87
|
+
main: HTMLElement;
|
|
88
|
+
map: HTMLMapElement;
|
|
89
|
+
mark: HTMLElement;
|
|
90
|
+
menu: HTMLMenuElement;
|
|
91
|
+
meta: HTMLMetaElement;
|
|
92
|
+
meter: HTMLMeterElement;
|
|
93
|
+
nav: HTMLElement;
|
|
94
|
+
noscript: HTMLElement;
|
|
95
|
+
object: HTMLObjectElement;
|
|
96
|
+
ol: HTMLOListElement;
|
|
97
|
+
optgroup: HTMLOptGroupElement;
|
|
98
|
+
option: HTMLOptionElement;
|
|
99
|
+
output: HTMLOutputElement;
|
|
100
|
+
p: HTMLParagraphElement;
|
|
101
|
+
picture: HTMLPictureElement;
|
|
102
|
+
pre: HTMLPreElement;
|
|
103
|
+
progress: HTMLProgressElement;
|
|
104
|
+
q: HTMLQuoteElement;
|
|
105
|
+
rp: HTMLElement;
|
|
106
|
+
rt: HTMLElement;
|
|
107
|
+
ruby: HTMLElement;
|
|
108
|
+
s: HTMLElement;
|
|
109
|
+
samp: HTMLElement;
|
|
110
|
+
script: HTMLScriptElement;
|
|
111
|
+
search: HTMLElement;
|
|
112
|
+
section: HTMLElement;
|
|
113
|
+
select: HTMLSelectElement;
|
|
114
|
+
slot: HTMLSlotElement;
|
|
115
|
+
small: HTMLElement;
|
|
116
|
+
source: HTMLSourceElement;
|
|
117
|
+
span: HTMLSpanElement;
|
|
118
|
+
strong: HTMLElement;
|
|
119
|
+
style: HTMLStyleElement;
|
|
120
|
+
sub: HTMLElement;
|
|
121
|
+
summary: HTMLElement;
|
|
122
|
+
sup: HTMLElement;
|
|
123
|
+
table: HTMLTableElement;
|
|
124
|
+
tbody: HTMLTableSectionElement;
|
|
125
|
+
td: HTMLTableCellElement;
|
|
126
|
+
template: HTMLTemplateElement;
|
|
127
|
+
textarea: HTMLTextAreaElement;
|
|
128
|
+
tfoot: HTMLTableSectionElement;
|
|
129
|
+
th: HTMLTableCellElement;
|
|
130
|
+
thead: HTMLTableSectionElement;
|
|
131
|
+
time: HTMLTimeElement;
|
|
132
|
+
title: HTMLTitleElement;
|
|
133
|
+
tr: HTMLTableRowElement;
|
|
134
|
+
track: HTMLTrackElement;
|
|
135
|
+
u: HTMLElement;
|
|
136
|
+
ul: HTMLUListElement;
|
|
137
|
+
var: HTMLElement;
|
|
138
|
+
video: HTMLVideoElement;
|
|
139
|
+
wbr: HTMLElement;
|
|
140
|
+
animate: SVGAnimateElement;
|
|
141
|
+
animateMotion: SVGAnimateMotionElement;
|
|
142
|
+
animateTransform: SVGAnimateTransformElement;
|
|
143
|
+
circle: SVGCircleElement;
|
|
144
|
+
clipPath: SVGClipPathElement;
|
|
145
|
+
defs: SVGDefsElement;
|
|
146
|
+
desc: SVGDescElement;
|
|
147
|
+
ellipse: SVGEllipseElement;
|
|
148
|
+
feBlend: SVGFEBlendElement;
|
|
149
|
+
feColorMatrix: SVGFEColorMatrixElement;
|
|
150
|
+
feComponentTransfer: SVGFEComponentTransferElement;
|
|
151
|
+
feComposite: SVGFECompositeElement;
|
|
152
|
+
feConvolveMatrix: SVGFEConvolveMatrixElement;
|
|
153
|
+
feDiffuseLighting: SVGFEDiffuseLightingElement;
|
|
154
|
+
feDisplacementMap: SVGFEDisplacementMapElement;
|
|
155
|
+
feDistantLight: SVGFEDistantLightElement;
|
|
156
|
+
feDropShadow: SVGFEDropShadowElement;
|
|
157
|
+
feFlood: SVGFEFloodElement;
|
|
158
|
+
feFuncA: SVGFEFuncAElement;
|
|
159
|
+
feFuncB: SVGFEFuncBElement;
|
|
160
|
+
feFuncG: SVGFEFuncGElement;
|
|
161
|
+
feFuncR: SVGFEFuncRElement;
|
|
162
|
+
feGaussianBlur: SVGFEGaussianBlurElement;
|
|
163
|
+
feImage: SVGFEImageElement;
|
|
164
|
+
feMerge: SVGFEMergeElement;
|
|
165
|
+
feMergeNode: SVGFEMergeNodeElement;
|
|
166
|
+
feMorphology: SVGFEMorphologyElement;
|
|
167
|
+
feOffset: SVGFEOffsetElement;
|
|
168
|
+
fePointLight: SVGFEPointLightElement;
|
|
169
|
+
feSpecularLighting: SVGFESpecularLightingElement;
|
|
170
|
+
feSpotLight: SVGFESpotLightElement;
|
|
171
|
+
feTile: SVGFETileElement;
|
|
172
|
+
feTurbulence: SVGFETurbulenceElement;
|
|
173
|
+
filter: SVGFilterElement;
|
|
174
|
+
foreignObject: SVGForeignObjectElement;
|
|
175
|
+
g: SVGGElement;
|
|
176
|
+
image: SVGImageElement;
|
|
177
|
+
line: SVGLineElement;
|
|
178
|
+
linearGradient: SVGLinearGradientElement;
|
|
179
|
+
marker: SVGMarkerElement;
|
|
180
|
+
mask: SVGMaskElement;
|
|
181
|
+
metadata: SVGMetadataElement;
|
|
182
|
+
mpath: SVGMPathElement;
|
|
183
|
+
path: SVGPathElement;
|
|
184
|
+
pattern: SVGPatternElement;
|
|
185
|
+
polygon: SVGPolygonElement;
|
|
186
|
+
polyline: SVGPolylineElement;
|
|
187
|
+
radialGradient: SVGRadialGradientElement;
|
|
188
|
+
rect: SVGRectElement;
|
|
189
|
+
set: SVGSetElement;
|
|
190
|
+
stop: SVGStopElement;
|
|
191
|
+
svg: SVGSVGElement;
|
|
192
|
+
switch: SVGSwitchElement;
|
|
193
|
+
symbol: SVGSymbolElement;
|
|
194
|
+
text: SVGTextElement;
|
|
195
|
+
textPath: SVGTextPathElement;
|
|
196
|
+
tspan: SVGTSpanElement;
|
|
197
|
+
use: SVGUseElement;
|
|
198
|
+
view: SVGViewElement;
|
|
199
|
+
};
|
|
200
|
+
type __VLS_IntrinsicElements = import('vue/jsx-runtime').JSX.IntrinsicElements;
|
|
201
|
+
type __VLS_Element = import('vue/jsx-runtime').JSX.Element;
|
|
202
|
+
type __VLS_GlobalComponents = import('vue').GlobalComponents & Pick<typeof import('vue'), 'Transition' | 'TransitionGroup' | 'KeepAlive' | 'Suspense' | 'Teleport'>;
|
|
203
|
+
type __VLS_GlobalDirectives = import('vue').GlobalDirectives;
|
|
204
|
+
type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
|
|
205
|
+
type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A;
|
|
206
|
+
type __VLS_unknownDirective = (arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown) => void;
|
|
207
|
+
type __VLS_WithComponent<N0 extends string, LocalComponents, N1 extends string, N2 extends string, N3 extends string> = N1 extends keyof LocalComponents ? N1 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
208
|
+
[K in N0]: LocalComponents[N1];
|
|
209
|
+
} : N2 extends keyof LocalComponents ? N2 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
210
|
+
[K in N0]: LocalComponents[N2];
|
|
211
|
+
} : N3 extends keyof LocalComponents ? N3 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
|
|
212
|
+
[K in N0]: LocalComponents[N3];
|
|
213
|
+
} : N1 extends keyof __VLS_GlobalComponents ? N1 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
214
|
+
[K in N0]: __VLS_GlobalComponents[N1];
|
|
215
|
+
} : N2 extends keyof __VLS_GlobalComponents ? N2 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
216
|
+
[K in N0]: __VLS_GlobalComponents[N2];
|
|
217
|
+
} : N3 extends keyof __VLS_GlobalComponents ? N3 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
|
|
218
|
+
[K in N0]: __VLS_GlobalComponents[N3];
|
|
219
|
+
} : {
|
|
220
|
+
[K in N0]: unknown;
|
|
221
|
+
};
|
|
222
|
+
type __VLS_FunctionalComponentProps<T, K> = '__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
|
|
223
|
+
__ctx?: {
|
|
224
|
+
props?: infer P;
|
|
225
|
+
};
|
|
226
|
+
} ? NonNullable<P> : never : T extends (props: infer P, ...args: any) => any ? P : {};
|
|
227
|
+
type __VLS_IsFunction<T, K> = K extends keyof T ? __VLS_IsAny<T[K]> extends false ? unknown extends T[K] ? false : true : false : false;
|
|
228
|
+
type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never;
|
|
229
|
+
type __VLS_OverloadUnionInner<T, U = unknown> = U & T extends (...args: infer A) => infer R ? U extends T ? never : __VLS_OverloadUnionInner<T, Pick<T, keyof T> & U & ((...args: A) => R)> | ((...args: A) => R) : never;
|
|
230
|
+
type __VLS_OverloadUnion<T> = Exclude<__VLS_OverloadUnionInner<(() => never) & T>, T extends () => never ? never : () => never>;
|
|
231
|
+
type __VLS_ConstructorOverloads<T> = __VLS_OverloadUnion<T> extends infer F ? F extends (event: infer E, ...args: infer A) => any ? {
|
|
232
|
+
[K in E & string]: (...args: A) => void;
|
|
233
|
+
} : never : never;
|
|
234
|
+
type __VLS_NormalizeEmits<T> = __VLS_PrettifyGlobal<__VLS_UnionToIntersection<__VLS_ConstructorOverloads<T> & {
|
|
235
|
+
[K in keyof T]: T[K] extends any[] ? {
|
|
236
|
+
(...args: T[K]): void;
|
|
237
|
+
} : never;
|
|
238
|
+
}>>;
|
|
239
|
+
type __VLS_PrettifyGlobal<T> = {
|
|
240
|
+
[K in keyof T]: T[K];
|
|
241
|
+
} & {};
|
|
242
|
+
function __VLS_getVForSourceType(source: number): [number, number, number][];
|
|
243
|
+
function __VLS_getVForSourceType(source: string): [string, number, number][];
|
|
244
|
+
function __VLS_getVForSourceType<T extends any[]>(source: T): [
|
|
245
|
+
item: T[number],
|
|
246
|
+
key: number,
|
|
247
|
+
index: number
|
|
248
|
+
][];
|
|
249
|
+
function __VLS_getVForSourceType<T extends {
|
|
250
|
+
[Symbol.iterator](): Iterator<any>;
|
|
251
|
+
}>(source: T): [
|
|
252
|
+
item: T extends {
|
|
253
|
+
[Symbol.iterator](): Iterator<infer T1>;
|
|
254
|
+
} ? T1 : never,
|
|
255
|
+
key: number,
|
|
256
|
+
index: undefined
|
|
257
|
+
][];
|
|
258
|
+
function __VLS_getVForSourceType<T extends number | {
|
|
259
|
+
[Symbol.iterator](): Iterator<any>;
|
|
260
|
+
}>(source: T): [
|
|
261
|
+
item: number | (Exclude<T, number> extends {
|
|
262
|
+
[Symbol.iterator](): Iterator<infer T1>;
|
|
263
|
+
} ? T1 : never),
|
|
264
|
+
key: number,
|
|
265
|
+
index: undefined
|
|
266
|
+
][];
|
|
267
|
+
function __VLS_getVForSourceType<T>(source: T): [
|
|
268
|
+
item: T[keyof T],
|
|
269
|
+
key: keyof T,
|
|
270
|
+
index: number
|
|
271
|
+
][];
|
|
272
|
+
function __VLS_getSlotParams<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>;
|
|
273
|
+
function __VLS_getSlotParam<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>[0];
|
|
274
|
+
function __VLS_directiveAsFunction<T extends import('vue').Directive>(dir: T): T extends (...args: any) => any ? T | __VLS_unknownDirective : NonNullable<(T & Record<string, __VLS_unknownDirective>)['created' | 'beforeMount' | 'mounted' | 'beforeUpdate' | 'updated' | 'beforeUnmount' | 'unmounted']>;
|
|
275
|
+
function __VLS_withScope<T, K>(ctx: T, scope: K): ctx is T & K;
|
|
276
|
+
function __VLS_makeOptional<T>(t: T): {
|
|
277
|
+
[K in keyof T]?: T[K];
|
|
278
|
+
};
|
|
279
|
+
function __VLS_nonNullable<T>(t: T): T extends null | undefined ? never : T;
|
|
280
|
+
function __VLS_asFunctionalComponent<T, K = T extends new (...args: any) => any ? InstanceType<T> : unknown>(t: T, instance?: K): T extends new (...args: any) => any ? (props: (K extends {
|
|
281
|
+
$props: infer Props;
|
|
282
|
+
} ? Props : any) & Record<string, unknown>, ctx?: any) => __VLS_Element & {
|
|
283
|
+
__ctx?: {
|
|
284
|
+
attrs?: any;
|
|
285
|
+
slots?: K extends {
|
|
286
|
+
$slots: infer Slots;
|
|
287
|
+
} ? Slots : any;
|
|
288
|
+
emit?: K extends {
|
|
289
|
+
$emit: infer Emit;
|
|
290
|
+
} ? Emit : any;
|
|
291
|
+
} & {
|
|
292
|
+
props?: (K extends {
|
|
293
|
+
$props: infer Props;
|
|
294
|
+
} ? Props : any) & Record<string, unknown>;
|
|
295
|
+
expose?(exposed: K): void;
|
|
296
|
+
};
|
|
297
|
+
} : T extends () => any ? (props: {}, ctx?: any) => ReturnType<T> : T extends (...args: any) => any ? T : (_: {} & Record<string, unknown>, ctx?: any) => {
|
|
298
|
+
__ctx?: {
|
|
299
|
+
attrs?: any;
|
|
300
|
+
expose?: any;
|
|
301
|
+
slots?: any;
|
|
302
|
+
emit?: any;
|
|
303
|
+
props?: {} & Record<string, unknown>;
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
function __VLS_elementAsFunction<T>(tag: T, endTag?: T): (_: T & Record<string, unknown>) => void;
|
|
307
|
+
function __VLS_functionalComponentArgsRest<T extends (...args: any) => any>(t: T): 2 extends Parameters<T>['length'] ? [any] : [];
|
|
308
|
+
function __VLS_pickFunctionalComponentCtx<T, K>(comp: T, compInstance: K): NonNullable<__VLS_PickNotAny<'__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
|
|
309
|
+
__ctx?: infer Ctx;
|
|
310
|
+
} ? Ctx : never : any, T extends (props: any, ctx: infer Ctx) => any ? Ctx : any>>;
|
|
311
|
+
function __VLS_normalizeSlot<S>(s: S): S extends () => infer R ? (props: {}) => R : S;
|
|
312
|
+
function __VLS_tryAsConstant<const T>(t: T): T;
|
|
313
|
+
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
</span>
|
|
21
21
|
<template #footer>
|
|
22
22
|
<el-button plain @click="dialogVisible = false">Cancel</el-button>
|
|
23
|
-
<el-button
|
|
23
|
+
<el-button @click="dialogVisible = false"> Confirm </el-button>
|
|
24
24
|
</template>
|
|
25
25
|
</el-dialog>
|
|
26
26
|
</div>
|
|
@@ -31,13 +31,12 @@
|
|
|
31
31
|
</template>
|
|
32
32
|
|
|
33
33
|
<script lang="ts" setup>
|
|
34
|
-
import { useZIndex } from 'element-plus';
|
|
35
34
|
import { ElMessageBox } from 'element-plus';
|
|
36
35
|
import { ref } from 'vue';
|
|
37
36
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
useZIndex(c);
|
|
37
|
+
// import { useZIndex } from 'element-plus';
|
|
38
|
+
// const c = ref(22);
|
|
39
|
+
// useZIndex(c);
|
|
41
40
|
|
|
42
41
|
const dialogVisible = ref(false);
|
|
43
42
|
const handleClose = (done: () => void) => {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
import { ElMessage, type MessageOptions } from 'element-plus';
|
|
32
32
|
import { ref } from 'vue';
|
|
33
33
|
|
|
34
|
-
const colors = ref(['success', 'warning', 'info', 'error', 'danger']);
|
|
34
|
+
const colors = ref(['success', 'warning', 'info', 'error' /* , 'danger' */]);
|
|
35
35
|
const snippets = ref({
|
|
36
36
|
basic: `
|
|
37
37
|
import { ElMessage, type MessageOptions } from 'element-plus';
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
<div class="flex gap-2">
|
|
73
73
|
<el-popover :visible="visible" placement="top" :width="360">
|
|
74
74
|
<p>Are you sure to delete this?</p>
|
|
75
|
-
<div class="
|
|
76
|
-
<el-button
|
|
77
|
-
<el-button
|
|
75
|
+
<div class="popover-footer">
|
|
76
|
+
<el-button plain @click="visible = false">cancel</el-button>
|
|
77
|
+
<el-button @click="visible = false"> confirm </el-button>
|
|
78
78
|
</div>
|
|
79
79
|
<template #reference>
|
|
80
80
|
<el-button @click="visible = true">Delete</el-button>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<el-text tag="mark">label</el-text> to define the column name. You can also use the attribute <el-text tag="mark">width</el-text> to define the width of columns.
|
|
13
13
|
</p>
|
|
14
14
|
<el-table :data="tableData" style="width: 100%" flexible height="300">
|
|
15
|
-
<el-table-column type="selection" width="
|
|
15
|
+
<el-table-column type="selection" width="16" />
|
|
16
16
|
<el-table-column label="Date" width="120" show-overflow-tooltip>
|
|
17
17
|
<template #default="scope">{{ scope.row.date }}</template>
|
|
18
18
|
</el-table-column>
|