@zc-ui/components 0.0.1
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/LICENSE +21 -0
- package/dist/index.cjs +1 -0
- package/dist/index.css +1 -0
- package/dist/index.mjs +9299 -0
- package/dist/index.umd.js +2 -0
- package/dist/types/affix/affix.d.ts +37 -0
- package/dist/types/affix/affix.d.ts.map +1 -0
- package/dist/types/alert/alert.d.ts +47 -0
- package/dist/types/alert/alert.d.ts.map +1 -0
- package/dist/types/alert/types.d.ts +31 -0
- package/dist/types/alert/types.d.ts.map +1 -0
- package/dist/types/anchor/anchor-link.d.ts +27 -0
- package/dist/types/anchor/anchor-link.d.ts.map +1 -0
- package/dist/types/anchor/anchor.d.ts +45 -0
- package/dist/types/anchor/anchor.d.ts.map +1 -0
- package/dist/types/auto-complete/auto-complete.d.ts +66 -0
- package/dist/types/auto-complete/auto-complete.d.ts.map +1 -0
- package/dist/types/auto-complete/types.d.ts +10 -0
- package/dist/types/auto-complete/types.d.ts.map +1 -0
- package/dist/types/avatar/avatar.d.ts +34 -0
- package/dist/types/avatar/avatar.d.ts.map +1 -0
- package/dist/types/backtop/backtop.d.ts +48 -0
- package/dist/types/backtop/backtop.d.ts.map +1 -0
- package/dist/types/badge/badge.d.ts +32 -0
- package/dist/types/badge/badge.d.ts.map +1 -0
- package/dist/types/breadcrumb/breadcrumb-item.d.ts +26 -0
- package/dist/types/breadcrumb/breadcrumb-item.d.ts.map +1 -0
- package/dist/types/breadcrumb/breadcrumb.d.ts +25 -0
- package/dist/types/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/types/button/button.d.ts +40 -0
- package/dist/types/button/button.d.ts.map +1 -0
- package/dist/types/card/card.d.ts +37 -0
- package/dist/types/card/card.d.ts.map +1 -0
- package/dist/types/carousel/carousel-item.d.ts +18 -0
- package/dist/types/carousel/carousel-item.d.ts.map +1 -0
- package/dist/types/carousel/carousel.d.ts +44 -0
- package/dist/types/carousel/carousel.d.ts.map +1 -0
- package/dist/types/carousel/types.d.ts +13 -0
- package/dist/types/carousel/types.d.ts.map +1 -0
- package/dist/types/cascader/cascader.d.ts +41 -0
- package/dist/types/cascader/cascader.d.ts.map +1 -0
- package/dist/types/cascader/types.d.ts +28 -0
- package/dist/types/cascader/types.d.ts.map +1 -0
- package/dist/types/checkbox/checkbox-group.d.ts +34 -0
- package/dist/types/checkbox/checkbox-group.d.ts.map +1 -0
- package/dist/types/checkbox/checkbox.d.ts +32 -0
- package/dist/types/checkbox/checkbox.d.ts.map +1 -0
- package/dist/types/col/col.d.ts +51 -0
- package/dist/types/col/col.d.ts.map +1 -0
- package/dist/types/collapse/collapse-item.d.ts +33 -0
- package/dist/types/collapse/collapse-item.d.ts.map +1 -0
- package/dist/types/collapse/collapse.d.ts +32 -0
- package/dist/types/collapse/collapse.d.ts.map +1 -0
- package/dist/types/color-picker/color-picker.d.ts +29 -0
- package/dist/types/color-picker/color-picker.d.ts.map +1 -0
- package/dist/types/color-picker/types.d.ts +23 -0
- package/dist/types/color-picker/types.d.ts.map +1 -0
- package/dist/types/container/aside.d.ts +24 -0
- package/dist/types/container/aside.d.ts.map +1 -0
- package/dist/types/container/container.d.ts +29 -0
- package/dist/types/container/container.d.ts.map +1 -0
- package/dist/types/container/footer.d.ts +24 -0
- package/dist/types/container/footer.d.ts.map +1 -0
- package/dist/types/container/header.d.ts +24 -0
- package/dist/types/container/header.d.ts.map +1 -0
- package/dist/types/container/main.d.ts +21 -0
- package/dist/types/container/main.d.ts.map +1 -0
- package/dist/types/date-picker/date-picker.d.ts +45 -0
- package/dist/types/date-picker/date-picker.d.ts.map +1 -0
- package/dist/types/descriptions/descriptions-item.d.ts +18 -0
- package/dist/types/descriptions/descriptions-item.d.ts.map +1 -0
- package/dist/types/descriptions/descriptions.d.ts +41 -0
- package/dist/types/descriptions/descriptions.d.ts.map +1 -0
- package/dist/types/descriptions/types.d.ts +25 -0
- package/dist/types/descriptions/types.d.ts.map +1 -0
- package/dist/types/dialog/dialog.d.ts +71 -0
- package/dist/types/dialog/dialog.d.ts.map +1 -0
- package/dist/types/dialog/types.d.ts +42 -0
- package/dist/types/dialog/types.d.ts.map +1 -0
- package/dist/types/divider/divider.d.ts +33 -0
- package/dist/types/divider/divider.d.ts.map +1 -0
- package/dist/types/drawer/drawer.d.ts +66 -0
- package/dist/types/drawer/drawer.d.ts.map +1 -0
- package/dist/types/drawer/types.d.ts +41 -0
- package/dist/types/drawer/types.d.ts.map +1 -0
- package/dist/types/dropdown/dropdown-item.d.ts +32 -0
- package/dist/types/dropdown/dropdown-item.d.ts.map +1 -0
- package/dist/types/dropdown/dropdown-menu.d.ts +15 -0
- package/dist/types/dropdown/dropdown-menu.d.ts.map +1 -0
- package/dist/types/dropdown/dropdown.d.ts +59 -0
- package/dist/types/dropdown/dropdown.d.ts.map +1 -0
- package/dist/types/dropdown/types.d.ts +9 -0
- package/dist/types/dropdown/types.d.ts.map +1 -0
- package/dist/types/empty/empty.d.ts +28 -0
- package/dist/types/empty/empty.d.ts.map +1 -0
- package/dist/types/form/form-item.d.ts +44 -0
- package/dist/types/form/form-item.d.ts.map +1 -0
- package/dist/types/form/form.d.ts +47 -0
- package/dist/types/form/form.d.ts.map +1 -0
- package/dist/types/form/types.d.ts +63 -0
- package/dist/types/form/types.d.ts.map +1 -0
- package/dist/types/form/validate.d.ts +14 -0
- package/dist/types/form/validate.d.ts.map +1 -0
- package/dist/types/grid/grid-item.d.ts +35 -0
- package/dist/types/grid/grid-item.d.ts.map +1 -0
- package/dist/types/grid/grid.d.ts +65 -0
- package/dist/types/grid/grid.d.ts.map +1 -0
- package/dist/types/icon/icon.d.ts +37 -0
- package/dist/types/icon/icon.d.ts.map +1 -0
- package/dist/types/image/image-preview.d.ts +22 -0
- package/dist/types/image/image-preview.d.ts.map +1 -0
- package/dist/types/image/image.d.ts +55 -0
- package/dist/types/image/image.d.ts.map +1 -0
- package/dist/types/index.d.ts +6464 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/input/input.d.ts +75 -0
- package/dist/types/input/input.d.ts.map +1 -0
- package/dist/types/input-number/input-number.d.ts +54 -0
- package/dist/types/input-number/input-number.d.ts.map +1 -0
- package/dist/types/input-number/types.d.ts +20 -0
- package/dist/types/input-number/types.d.ts.map +1 -0
- package/dist/types/list/list-item.d.ts +40 -0
- package/dist/types/list/list-item.d.ts.map +1 -0
- package/dist/types/list/list.d.ts +44 -0
- package/dist/types/list/list.d.ts.map +1 -0
- package/dist/types/list/types.d.ts +10 -0
- package/dist/types/list/types.d.ts.map +1 -0
- package/dist/types/loading/loading.d.ts +26 -0
- package/dist/types/loading/loading.d.ts.map +1 -0
- package/dist/types/mention/mention.d.ts +37 -0
- package/dist/types/mention/mention.d.ts.map +1 -0
- package/dist/types/mention/types.d.ts +18 -0
- package/dist/types/mention/types.d.ts.map +1 -0
- package/dist/types/menu/menu-item.d.ts +24 -0
- package/dist/types/menu/menu-item.d.ts.map +1 -0
- package/dist/types/menu/menu.d.ts +48 -0
- package/dist/types/menu/menu.d.ts.map +1 -0
- package/dist/types/menu/submenu.d.ts +36 -0
- package/dist/types/menu/submenu.d.ts.map +1 -0
- package/dist/types/menu/types.d.ts +18 -0
- package/dist/types/menu/types.d.ts.map +1 -0
- package/dist/types/message/message.d.ts +34 -0
- package/dist/types/message/message.d.ts.map +1 -0
- package/dist/types/notification/notification.d.ts +26 -0
- package/dist/types/notification/notification.d.ts.map +1 -0
- package/dist/types/pagination/pagination.d.ts +38 -0
- package/dist/types/pagination/pagination.d.ts.map +1 -0
- package/dist/types/pagination/types.d.ts +29 -0
- package/dist/types/pagination/types.d.ts.map +1 -0
- package/dist/types/popconfirm/popconfirm.d.ts +76 -0
- package/dist/types/popconfirm/popconfirm.d.ts.map +1 -0
- package/dist/types/progress/progress.d.ts +54 -0
- package/dist/types/progress/progress.d.ts.map +1 -0
- package/dist/types/progress/types.d.ts +33 -0
- package/dist/types/progress/types.d.ts.map +1 -0
- package/dist/types/radio/radio-group.d.ts +39 -0
- package/dist/types/radio/radio-group.d.ts.map +1 -0
- package/dist/types/radio/radio.d.ts +30 -0
- package/dist/types/radio/radio.d.ts.map +1 -0
- package/dist/types/rate/rate.d.ts +48 -0
- package/dist/types/rate/rate.d.ts.map +1 -0
- package/dist/types/rate/types.d.ts +18 -0
- package/dist/types/rate/types.d.ts.map +1 -0
- package/dist/types/result/result.d.ts +39 -0
- package/dist/types/result/result.d.ts.map +1 -0
- package/dist/types/row/row.d.ts +55 -0
- package/dist/types/row/row.d.ts.map +1 -0
- package/dist/types/scrollbar/scrollbar.d.ts +34 -0
- package/dist/types/scrollbar/scrollbar.d.ts.map +1 -0
- package/dist/types/select/select.d.ts +63 -0
- package/dist/types/select/select.d.ts.map +1 -0
- package/dist/types/select/types.d.ts +9 -0
- package/dist/types/select/types.d.ts.map +1 -0
- package/dist/types/skeleton/skeleton.d.ts +42 -0
- package/dist/types/skeleton/skeleton.d.ts.map +1 -0
- package/dist/types/slider/slider.d.ts +41 -0
- package/dist/types/slider/slider.d.ts.map +1 -0
- package/dist/types/slider/types.d.ts +10 -0
- package/dist/types/slider/types.d.ts.map +1 -0
- package/dist/types/space/space.d.ts +52 -0
- package/dist/types/space/space.d.ts.map +1 -0
- package/dist/types/statistic/statistic.d.ts +52 -0
- package/dist/types/statistic/statistic.d.ts.map +1 -0
- package/dist/types/steps/step.d.ts +31 -0
- package/dist/types/steps/step.d.ts.map +1 -0
- package/dist/types/steps/steps.d.ts +30 -0
- package/dist/types/steps/steps.d.ts.map +1 -0
- package/dist/types/steps/types.d.ts +22 -0
- package/dist/types/steps/types.d.ts.map +1 -0
- package/dist/types/switch/switch.d.ts +55 -0
- package/dist/types/switch/switch.d.ts.map +1 -0
- package/dist/types/table/table.d.ts +71 -0
- package/dist/types/table/table.d.ts.map +1 -0
- package/dist/types/table/types.d.ts +52 -0
- package/dist/types/table/types.d.ts.map +1 -0
- package/dist/types/tabs/tab-pane.d.ts +33 -0
- package/dist/types/tabs/tab-pane.d.ts.map +1 -0
- package/dist/types/tabs/tabs.d.ts +51 -0
- package/dist/types/tabs/tabs.d.ts.map +1 -0
- package/dist/types/tabs/types.d.ts +44 -0
- package/dist/types/tabs/types.d.ts.map +1 -0
- package/dist/types/tag/tag.d.ts +38 -0
- package/dist/types/tag/tag.d.ts.map +1 -0
- package/dist/types/time-picker/time-picker.d.ts +38 -0
- package/dist/types/time-picker/time-picker.d.ts.map +1 -0
- package/dist/types/timeline/timeline-item.d.ts +37 -0
- package/dist/types/timeline/timeline-item.d.ts.map +1 -0
- package/dist/types/timeline/timeline.d.ts +20 -0
- package/dist/types/timeline/timeline.d.ts.map +1 -0
- package/dist/types/tooltip/tooltip.d.ts +57 -0
- package/dist/types/tooltip/tooltip.d.ts.map +1 -0
- package/dist/types/transfer/transfer.d.ts +31 -0
- package/dist/types/transfer/transfer.d.ts.map +1 -0
- package/dist/types/transfer/types.d.ts +21 -0
- package/dist/types/transfer/types.d.ts.map +1 -0
- package/dist/types/tree/tree-node.d.ts +20 -0
- package/dist/types/tree/tree-node.d.ts.map +1 -0
- package/dist/types/tree/tree.d.ts +101 -0
- package/dist/types/tree/tree.d.ts.map +1 -0
- package/dist/types/tree/types.d.ts +72 -0
- package/dist/types/tree/types.d.ts.map +1 -0
- package/dist/types/tree-select/tree-node.d.ts +65 -0
- package/dist/types/tree-select/tree-node.d.ts.map +1 -0
- package/dist/types/tree-select/tree-select.d.ts +37 -0
- package/dist/types/tree-select/tree-select.d.ts.map +1 -0
- package/dist/types/tree-select/types.d.ts +27 -0
- package/dist/types/tree-select/types.d.ts.map +1 -0
- package/dist/types/types.d.ts +24 -0
- package/dist/types/types.d.ts.map +1 -0
- package/dist/types/upload/types.d.ts +25 -0
- package/dist/types/upload/types.d.ts.map +1 -0
- package/dist/types/upload/upload.d.ts +81 -0
- package/dist/types/upload/upload.d.ts.map +1 -0
- package/dist/types/watermark/watermark.d.ts +57 -0
- package/dist/types/watermark/watermark.d.ts.map +1 -0
- package/package.json +60 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
export type SkeletonAnimation = 'el' | 'none';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
rows?: number;
|
|
5
|
+
animated?: boolean;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
avatar?: boolean | SkeletonAvatarProps;
|
|
8
|
+
title?: boolean | SkeletonTitleProps;
|
|
9
|
+
paragraph?: boolean | SkeletonParagraphProps;
|
|
10
|
+
};
|
|
11
|
+
export interface SkeletonAvatarProps {
|
|
12
|
+
size?: 'large' | 'medium' | 'small';
|
|
13
|
+
shape?: 'circle' | 'square';
|
|
14
|
+
}
|
|
15
|
+
export interface SkeletonTitleProps {
|
|
16
|
+
width?: string | number;
|
|
17
|
+
}
|
|
18
|
+
export interface SkeletonParagraphProps {
|
|
19
|
+
rows?: number;
|
|
20
|
+
width?: string | number | Array<string | number>;
|
|
21
|
+
}
|
|
22
|
+
declare var __VLS_1: {};
|
|
23
|
+
type __VLS_Slots = {} & {
|
|
24
|
+
default?: (props: typeof __VLS_1) => any;
|
|
25
|
+
};
|
|
26
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
27
|
+
loading: boolean;
|
|
28
|
+
title: boolean | SkeletonTitleProps;
|
|
29
|
+
rows: number;
|
|
30
|
+
avatar: boolean | SkeletonAvatarProps;
|
|
31
|
+
animated: boolean;
|
|
32
|
+
paragraph: boolean | SkeletonParagraphProps;
|
|
33
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
35
|
+
declare const _default: typeof __VLS_export;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=skeleton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton.vue.d.ts","sourceRoot":"","sources":["../../../src/skeleton/skeleton.vue"],"names":[],"mappings":";AAoOA,MAAM,MAAM,iBAAiB,GAAG,IAAI,GAAG,MAAM,CAAA;AAE7C,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,OAAO,GAAG,mBAAmB,CAAA;IACtC,KAAK,CAAC,EAAE,OAAO,GAAG,kBAAkB,CAAA;IACpC,SAAS,CAAC,EAAE,OAAO,GAAG,sBAAsB,CAAA;CAC7C,CAAC;AAaJ,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,KAAK,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAA;CAC5B;AACD,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACxB;AACD,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAA;CACjD;AAwJD,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;aA1LF,OAAO;WAET,OAAO,GAAG,kBAAkB;UAJ7B,MAAM;YAGJ,OAAO,GAAG,mBAAmB;cAF3B,OAAO;eAIN,OAAO,GAAG,sBAAsB;6EA0L9C,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { SliderMark, SliderValue } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
modelValue?: SliderValue;
|
|
5
|
+
min?: number;
|
|
6
|
+
max?: number;
|
|
7
|
+
step?: number;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
vertical?: boolean;
|
|
10
|
+
showTooltip?: boolean;
|
|
11
|
+
range?: boolean;
|
|
12
|
+
marks?: SliderMark[];
|
|
13
|
+
size?: 'large' | 'medium' | 'small';
|
|
14
|
+
tooltipClass?: string;
|
|
15
|
+
height?: string;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
18
|
+
input: (value: SliderValue) => any;
|
|
19
|
+
"update:modelValue": (value: SliderValue) => any;
|
|
20
|
+
change: (value: SliderValue, oldValue: SliderValue) => any;
|
|
21
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
onInput?: ((value: SliderValue) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: SliderValue) => any) | undefined;
|
|
24
|
+
onChange?: ((value: SliderValue, oldValue: SliderValue) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
size: "large" | "medium" | "small";
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
vertical: boolean;
|
|
29
|
+
height: string;
|
|
30
|
+
modelValue: SliderValue;
|
|
31
|
+
range: boolean;
|
|
32
|
+
min: number;
|
|
33
|
+
max: number;
|
|
34
|
+
step: number;
|
|
35
|
+
showTooltip: boolean;
|
|
36
|
+
marks: SliderMark[];
|
|
37
|
+
tooltipClass: string;
|
|
38
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const _default: typeof __VLS_export;
|
|
40
|
+
export default _default;
|
|
41
|
+
//# sourceMappingURL=slider.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slider.vue.d.ts","sourceRoot":"","sources":["../../../src/slider/slider.vue"],"names":[],"mappings":";AAgjBA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAItD,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,WAAW,CAAA;IACxB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,UAAU,EAAE,CAAA;IACpB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;AA0fJ,QAAA,MAAM,YAAY;;;;;;;;;UA7fP,OAAO,GAAG,QAAQ,GAAG,OAAO;cALxB,OAAO;cACP,OAAO;YAMT,MAAM;gBAXF,WAAW;WAOhB,OAAO;SANT,MAAM;SACN,MAAM;UACL,MAAM;iBAGC,OAAO;WAEb,UAAU,EAAE;kBAEL,MAAM;6EAggBvB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Slider mark point definition. */
|
|
2
|
+
export interface SliderMark {
|
|
3
|
+
value: number;
|
|
4
|
+
label: string;
|
|
5
|
+
style?: Record<string, string>;
|
|
6
|
+
}
|
|
7
|
+
/** Props type for ZcSlider. */
|
|
8
|
+
export type SliderValue = number | [number, number];
|
|
9
|
+
export type SliderSize = 'large' | 'medium' | 'small';
|
|
10
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/slider/types.ts"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC/B;AAED,+BAA+B;AAC/B,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AACnD,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Direction of the space layout.
|
|
4
|
+
*/
|
|
5
|
+
export type SpaceDirection = 'horizontal' | 'vertical';
|
|
6
|
+
/**
|
|
7
|
+
* Alignment of items in the space container.
|
|
8
|
+
*/
|
|
9
|
+
export type SpaceAlignment = 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
10
|
+
/**
|
|
11
|
+
* Space size can be a preset keyword, a number (px), or a tuple [horizontal, vertical].
|
|
12
|
+
*/
|
|
13
|
+
export type SpaceSize = 'small' | 'medium' | 'large' | number | [number, number];
|
|
14
|
+
/**
|
|
15
|
+
* Wrap mode: 'wrap' wraps to next line, 'nowrap' keeps on one line.
|
|
16
|
+
*/
|
|
17
|
+
export type SpaceWrap = 'wrap' | 'nowrap';
|
|
18
|
+
/**
|
|
19
|
+
* Fill mode: true makes Space fill its parent, 'fill' also.
|
|
20
|
+
*/
|
|
21
|
+
export type SpaceFill = boolean | 'fill';
|
|
22
|
+
type __VLS_Props = {
|
|
23
|
+
/** Layout direction. */
|
|
24
|
+
direction?: SpaceDirection;
|
|
25
|
+
/** Alignment of child elements. */
|
|
26
|
+
alignment?: SpaceAlignment;
|
|
27
|
+
/** Spacing between children. */
|
|
28
|
+
size?: SpaceSize;
|
|
29
|
+
/** Wrap children to new lines. */
|
|
30
|
+
wrap?: boolean;
|
|
31
|
+
/** Fill the parent container. */
|
|
32
|
+
fill?: SpaceFill;
|
|
33
|
+
/** Custom separator between items. */
|
|
34
|
+
spacer?: string | VNode;
|
|
35
|
+
/** Render the root as a specific HTML tag. */
|
|
36
|
+
tag?: string;
|
|
37
|
+
};
|
|
38
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
39
|
+
click: (event: MouseEvent) => any;
|
|
40
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
41
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
fill: SpaceFill;
|
|
44
|
+
size: SpaceSize;
|
|
45
|
+
wrap: boolean;
|
|
46
|
+
tag: string;
|
|
47
|
+
direction: SpaceDirection;
|
|
48
|
+
alignment: SpaceAlignment;
|
|
49
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
50
|
+
declare const _default: typeof __VLS_export;
|
|
51
|
+
export default _default;
|
|
52
|
+
//# sourceMappingURL=space.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"space.vue.d.ts","sourceRoot":"","sources":["../../../src/space/space.vue"],"names":[],"mappings":"AA+LA,OAAO,EAAsB,KAAK,KAAK,EAAE,MAAM,KAAK,CAAA;AAKpD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,UAAU,CAAA;AAEtD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAA;AAEhF;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAEhF;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEzC;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;AASxC,KAAK,WAAW,GAAG;IACf,wBAAwB;IACxB,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,mCAAmC;IACnC,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,gCAAgC;IAChC,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,kCAAkC;IAClC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,iCAAiC;IACjC,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IACvB,8CAA8C;IAC9C,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAC;AAyLJ,QAAA,MAAM,YAAY;;;;;UA9LP,SAAS;UAJT,SAAS;UAET,OAAO;SAMR,MAAM;eAZA,cAAc;eAEd,cAAc;6EAwM5B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value?: number;
|
|
4
|
+
title?: string;
|
|
5
|
+
prefix?: string;
|
|
6
|
+
suffix?: string;
|
|
7
|
+
precision?: number;
|
|
8
|
+
decimalSeparator?: string;
|
|
9
|
+
groupSeparator?: string;
|
|
10
|
+
formatter?: (value: number) => string;
|
|
11
|
+
valueStyle?: Record<string, string>;
|
|
12
|
+
countUp?: boolean;
|
|
13
|
+
countFrom?: number;
|
|
14
|
+
duration?: number;
|
|
15
|
+
countdown?: boolean;
|
|
16
|
+
startValue?: number;
|
|
17
|
+
};
|
|
18
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
|
|
19
|
+
type __VLS_Slots = {} & {
|
|
20
|
+
title?: (props: typeof __VLS_1) => any;
|
|
21
|
+
} & {
|
|
22
|
+
prefix?: (props: typeof __VLS_3) => any;
|
|
23
|
+
} & {
|
|
24
|
+
default?: (props: typeof __VLS_5) => any;
|
|
25
|
+
} & {
|
|
26
|
+
suffix?: (props: typeof __VLS_7) => any;
|
|
27
|
+
};
|
|
28
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
29
|
+
title: string;
|
|
30
|
+
value: number;
|
|
31
|
+
prefix: string;
|
|
32
|
+
suffix: string;
|
|
33
|
+
duration: number;
|
|
34
|
+
precision: number;
|
|
35
|
+
decimalSeparator: string;
|
|
36
|
+
groupSeparator: string;
|
|
37
|
+
formatter: (value: number) => string;
|
|
38
|
+
valueStyle: Record<string, string>;
|
|
39
|
+
countUp: boolean;
|
|
40
|
+
countFrom: number;
|
|
41
|
+
countdown: boolean;
|
|
42
|
+
startValue: number;
|
|
43
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
44
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
45
|
+
declare const _default: typeof __VLS_export;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=statistic.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statistic.vue.d.ts","sourceRoot":"","sources":["../../../src/statistic/statistic.vue"],"names":[],"mappings":";AAqMA,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACnC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAC;AA6LJ,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AACjF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU;WApNJ,MAAM;WADN,MAAM;YAEL,MAAM;YACN,MAAM;cAQJ,MAAM;eAPL,MAAM;sBACC,MAAM;oBACR,MAAM;eACX,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM;gBACxB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;aACzB,OAAO;eACL,MAAM;eAEN,OAAO;gBACN,MAAM;6EA2MrB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { StepStatus } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Step title */
|
|
5
|
+
title?: string;
|
|
6
|
+
/** Step description */
|
|
7
|
+
description?: string;
|
|
8
|
+
/** Custom icon class */
|
|
9
|
+
icon?: string;
|
|
10
|
+
/** Override status: wait | process | finish | error */
|
|
11
|
+
status?: StepStatus;
|
|
12
|
+
};
|
|
13
|
+
declare var __VLS_1: {};
|
|
14
|
+
type __VLS_Slots = {} & {
|
|
15
|
+
default?: (props: typeof __VLS_1) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
+
icon: string;
|
|
19
|
+
title: string;
|
|
20
|
+
status: StepStatus;
|
|
21
|
+
description: string;
|
|
22
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=step.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"step.vue.d.ts","sourceRoot":"","sources":["../../../src/steps/step.vue"],"names":[],"mappings":";AAqWA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAIzC,KAAK,WAAW,GAAG;IACf,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,uDAAuD;IACvD,MAAM,CAAC,EAAE,UAAU,CAAA;CACpB,CAAC;AA4QJ,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;UAtRL,MAAM;WAJL,MAAM;YAML,UAAU;iBAJL,MAAM;6EA2RtB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Current active step (0-based index) */
|
|
4
|
+
current?: number;
|
|
5
|
+
/** Steps direction */
|
|
6
|
+
direction?: 'horizontal' | 'vertical';
|
|
7
|
+
/** Simple / card mode */
|
|
8
|
+
type?: 'default' | 'simple';
|
|
9
|
+
/** Mark current step as error */
|
|
10
|
+
error?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_1: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
default?: (props: typeof __VLS_1) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
+
type: "default" | "simple";
|
|
18
|
+
direction: "horizontal" | "vertical";
|
|
19
|
+
error: boolean;
|
|
20
|
+
current: number;
|
|
21
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=steps.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"steps.vue.d.ts","sourceRoot":"","sources":["../../../src/steps/steps.vue"],"names":[],"mappings":";AAwFA,KAAK,WAAW,GAAG;IACf,0CAA0C;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,sBAAsB;IACtB,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACrC,yBAAyB;IACzB,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IAC3B,iCAAiC;IACjC,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAC;AAoEJ,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;UA9EL,SAAS,GAAG,QAAQ;eAFf,YAAY,GAAG,UAAU;WAI7B,OAAO;aANL,MAAM;6EAqFlB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { InjectionKey, ComputedRef, Ref } from 'vue';
|
|
2
|
+
export type StepsDirection = 'horizontal' | 'vertical';
|
|
3
|
+
export type StepsType = 'default' | 'simple';
|
|
4
|
+
export type StepStatus = 'wait' | 'process' | 'finish' | 'error';
|
|
5
|
+
export interface StepData {
|
|
6
|
+
uid: number;
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
icon?: string;
|
|
10
|
+
status?: StepStatus;
|
|
11
|
+
}
|
|
12
|
+
export interface StepsContext {
|
|
13
|
+
current: ComputedRef<number>;
|
|
14
|
+
direction: ComputedRef<StepsDirection>;
|
|
15
|
+
type: ComputedRef<StepsType>;
|
|
16
|
+
error: ComputedRef<boolean>;
|
|
17
|
+
steps: Ref<StepData[]>;
|
|
18
|
+
addStep: (step: StepData) => void;
|
|
19
|
+
removeStep: (uid: number) => void;
|
|
20
|
+
}
|
|
21
|
+
export declare const stepsKey: InjectionKey<StepsContext>;
|
|
22
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/steps/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAEzD,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,UAAU,CAAA;AACtD,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAA;AAC5C,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEhE,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,UAAU,CAAA;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC5B,SAAS,EAAE,WAAW,CAAC,cAAc,CAAC,CAAA;IACtC,IAAI,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;IAC5B,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC3B,KAAK,EAAE,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAA;IACtB,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAA;IACjC,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED,eAAO,MAAM,QAAQ,EAAE,YAAY,CAAC,YAAY,CAAqB,CAAA"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
/** Size variants for the switch component. */
|
|
3
|
+
export type SwitchSize = 'large' | 'medium' | 'small';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
/** v-model binding for toggle state. */
|
|
6
|
+
modelValue?: boolean;
|
|
7
|
+
/** Disables the switch when true. */
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
/** Shows a loading spinner on the knob and disables interaction. */
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
/** Text shown on the left side when switch is on. */
|
|
12
|
+
activeText?: string;
|
|
13
|
+
/** Text shown on the right side when switch is off. */
|
|
14
|
+
inactiveText?: string;
|
|
15
|
+
/** Custom background color for the on state. */
|
|
16
|
+
activeColor?: string;
|
|
17
|
+
/** Custom background color for the off state. */
|
|
18
|
+
inactiveColor?: string;
|
|
19
|
+
/** Custom width of the switch track in pixels. */
|
|
20
|
+
width?: number;
|
|
21
|
+
/** Size preset: 'large' | 'medium' | 'small'. */
|
|
22
|
+
size?: SwitchSize;
|
|
23
|
+
};
|
|
24
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
25
|
+
type __VLS_Slots = {} & {
|
|
26
|
+
active?: (props: typeof __VLS_1) => any;
|
|
27
|
+
} & {
|
|
28
|
+
inactive?: (props: typeof __VLS_3) => any;
|
|
29
|
+
};
|
|
30
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
31
|
+
"update:modelValue": (value: boolean) => any;
|
|
32
|
+
change: (value: boolean) => any;
|
|
33
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
34
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
35
|
+
onChange?: ((value: boolean) => any) | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
size: SwitchSize;
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
loading: boolean;
|
|
40
|
+
width: number;
|
|
41
|
+
modelValue: boolean;
|
|
42
|
+
activeText: string;
|
|
43
|
+
inactiveText: string;
|
|
44
|
+
activeColor: string;
|
|
45
|
+
inactiveColor: string;
|
|
46
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
47
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
48
|
+
declare const _default: typeof __VLS_export;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=switch.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.vue.d.ts","sourceRoot":"","sources":["../../../src/switch/switch.vue"],"names":[],"mappings":";AA4SA,8CAA8C;AAC9C,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAErD,KAAK,WAAW,GAAG;IACf,wCAAwC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,qDAAqD;IACrD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iDAAiD;IACjD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iDAAiD;IACjD,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB,CAAC;AA0NJ,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;;;;;;;UAnOL,UAAU;cAdN,OAAO;aAER,OAAO;WAUT,MAAM;gBAdD,OAAO;gBAMP,MAAM;kBAEJ,MAAM;iBAEP,MAAM;mBAEJ,MAAM;6EA2OxB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { TableColumn, SortState, FilterState } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
data: Record<string, any>[];
|
|
5
|
+
columns?: TableColumn[];
|
|
6
|
+
rowKey?: string | ((row: Record<string, any>) => string | number);
|
|
7
|
+
border?: boolean;
|
|
8
|
+
stripe?: boolean;
|
|
9
|
+
height?: number | string;
|
|
10
|
+
highlightCurrentRow?: boolean;
|
|
11
|
+
defaultSort?: SortState;
|
|
12
|
+
selectable?: boolean;
|
|
13
|
+
pagination?: boolean;
|
|
14
|
+
currentPage?: number;
|
|
15
|
+
pageSize?: number;
|
|
16
|
+
emptyText?: string;
|
|
17
|
+
showHeader?: boolean;
|
|
18
|
+
size?: 'large' | 'medium' | 'small';
|
|
19
|
+
};
|
|
20
|
+
declare var __VLS_9: `header-${string}`, __VLS_10: {
|
|
21
|
+
column: TableColumn;
|
|
22
|
+
}, __VLS_20: `cell-${string}`, __VLS_21: {
|
|
23
|
+
row: Record<string, any>;
|
|
24
|
+
column: TableColumn;
|
|
25
|
+
value: any;
|
|
26
|
+
index: number;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_Slots = {} & {
|
|
29
|
+
[K in NonNullable<typeof __VLS_9>]?: (props: typeof __VLS_10) => any;
|
|
30
|
+
} & {
|
|
31
|
+
[K in NonNullable<typeof __VLS_20>]?: (props: typeof __VLS_21) => any;
|
|
32
|
+
};
|
|
33
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
34
|
+
"sort-change": (sort: SortState) => any;
|
|
35
|
+
"filter-change": (filters: FilterState) => any;
|
|
36
|
+
"selection-change": (selection: Record<string, any>[]) => any;
|
|
37
|
+
"current-change": (currentPage: number) => any;
|
|
38
|
+
"row-click": (row: Record<string, any>, column: TableColumn, event: Event) => any;
|
|
39
|
+
"cell-click": (row: Record<string, any>, column: TableColumn, cell: HTMLElement, event: Event) => any;
|
|
40
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
41
|
+
"onSort-change"?: ((sort: SortState) => any) | undefined;
|
|
42
|
+
"onFilter-change"?: ((filters: FilterState) => any) | undefined;
|
|
43
|
+
"onSelection-change"?: ((selection: Record<string, any>[]) => any) | undefined;
|
|
44
|
+
"onCurrent-change"?: ((currentPage: number) => any) | undefined;
|
|
45
|
+
"onRow-click"?: ((row: Record<string, any>, column: TableColumn, event: Event) => any) | undefined;
|
|
46
|
+
"onCell-click"?: ((row: Record<string, any>, column: TableColumn, cell: HTMLElement, event: Event) => any) | undefined;
|
|
47
|
+
}>, {
|
|
48
|
+
size: "large" | "medium" | "small";
|
|
49
|
+
height: number | string;
|
|
50
|
+
columns: TableColumn[];
|
|
51
|
+
pageSize: number;
|
|
52
|
+
currentPage: number;
|
|
53
|
+
pagination: boolean;
|
|
54
|
+
rowKey: string | ((row: Record<string, any>) => string | number);
|
|
55
|
+
border: boolean;
|
|
56
|
+
stripe: boolean;
|
|
57
|
+
highlightCurrentRow: boolean;
|
|
58
|
+
defaultSort: SortState;
|
|
59
|
+
selectable: boolean;
|
|
60
|
+
emptyText: string;
|
|
61
|
+
showHeader: boolean;
|
|
62
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
63
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
64
|
+
declare const _default: typeof __VLS_export;
|
|
65
|
+
export default _default;
|
|
66
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
67
|
+
new (): {
|
|
68
|
+
$slots: S;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=table.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.vue.d.ts","sourceRoot":"","sources":["../../../src/table/table.vue"],"names":[],"mappings":";AAgrBA,OAAO,KAAK,EAAE,WAAW,EAAa,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAI7E,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAA;IAC3B,OAAO,CAAC,EAAE,WAAW,EAAE,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,MAAM,GAAG,MAAM,CAAC,CAAA;IACjE,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;CACpC,CAAC;AAgqBJ,QAAA,IAAI,OAAO,oBAAU,EAAE,QAAQ;;CAAU,EAAE,QAAQ,kBAAW,EAAE,QAAQ;;;;;CAAY,CAAE;AACtF,KAAK,WAAW,GAAG,EAAE,GACnB;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,GACxE;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,CAAC;AAK5E,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;UAzqBL,OAAO,GAAG,QAAQ,GAAG,OAAO;YAT1B,MAAM,GAAG,MAAM;aAJd,WAAW,EAAE;cAUZ,MAAM;iBADH,MAAM;gBADP,OAAO;YAPX,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,MAAM,GAAG,MAAM,CAAC;YACxD,OAAO;YACP,OAAO;yBAEM,OAAO;iBACf,SAAS;gBACV,OAAO;eAIR,MAAM;gBACL,OAAO;6EA8qBtB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/** Table column definition */
|
|
2
|
+
export interface TableColumn {
|
|
3
|
+
/** Unique key — used for sorting and row key extraction */
|
|
4
|
+
prop?: string;
|
|
5
|
+
/** Display label for the column header */
|
|
6
|
+
label?: string;
|
|
7
|
+
/** Column width in pixels */
|
|
8
|
+
width?: number | string;
|
|
9
|
+
/** Minimum column width in pixels */
|
|
10
|
+
minWidth?: number | string;
|
|
11
|
+
/** Whether the column is fixed to left or right */
|
|
12
|
+
fixed?: 'left' | 'right' | boolean;
|
|
13
|
+
/** Whether the column is sortable */
|
|
14
|
+
sortable?: boolean | 'custom';
|
|
15
|
+
/** Whether the column can be filtered */
|
|
16
|
+
filterable?: boolean;
|
|
17
|
+
/** Filter options for the column */
|
|
18
|
+
filters?: TableFilterOption[];
|
|
19
|
+
/** Alignment of cell content */
|
|
20
|
+
align?: 'left' | 'center' | 'right';
|
|
21
|
+
/** Alignment of header content */
|
|
22
|
+
headerAlign?: 'left' | 'center' | 'right';
|
|
23
|
+
/** Custom class for cells */
|
|
24
|
+
className?: string;
|
|
25
|
+
/** Whether the column is visible */
|
|
26
|
+
visible?: boolean;
|
|
27
|
+
/** Render function for custom cell content */
|
|
28
|
+
formatter?: (row: Record<string, any>, column: TableColumn, cellValue: any, index: number) => string;
|
|
29
|
+
}
|
|
30
|
+
/** Filter option for column filtering */
|
|
31
|
+
export interface TableFilterOption {
|
|
32
|
+
text: string;
|
|
33
|
+
value: string | number;
|
|
34
|
+
}
|
|
35
|
+
/** Sort order */
|
|
36
|
+
export type SortOrder = 'ascending' | 'descending';
|
|
37
|
+
/** Current sort state */
|
|
38
|
+
export interface SortState {
|
|
39
|
+
prop: string;
|
|
40
|
+
order: SortOrder | null;
|
|
41
|
+
}
|
|
42
|
+
/** Current filter state */
|
|
43
|
+
export type FilterState = Record<string, (string | number)[]>;
|
|
44
|
+
/** Pagination configuration */
|
|
45
|
+
export interface PaginationConfig {
|
|
46
|
+
currentPage: number;
|
|
47
|
+
pageSize: number;
|
|
48
|
+
total: number;
|
|
49
|
+
}
|
|
50
|
+
/** Row selection event */
|
|
51
|
+
export type SelectionChangeHandler = (rows: Record<string, any>[]) => void;
|
|
52
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/table/types.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,MAAM,WAAW,WAAW;IAC1B,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAA;IAClC,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IAC7B,yCAAyC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,oCAAoC;IACpC,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAA;IAC7B,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAA;IACzC,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,CACV,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACxB,MAAM,EAAE,WAAW,EACnB,SAAS,EAAE,GAAG,EACd,KAAK,EAAE,MAAM,KACV,MAAM,CAAA;CACZ;AAED,yCAAyC;AACzC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CACvB;AAED,iBAAiB;AACjB,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,YAAY,CAAA;AAElD,yBAAyB;AACzB,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,SAAS,GAAG,IAAI,CAAA;CACxB;AAED,2BAA2B;AAC3B,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC,CAAA;AAE7D,+BAA+B;AAC/B,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,0BAA0B;AAC1B,MAAM,MAAM,sBAAsB,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,IAAI,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Tab identifier (v-model matches this) */
|
|
4
|
+
name?: string | number;
|
|
5
|
+
/** Tab label text */
|
|
6
|
+
label?: string;
|
|
7
|
+
/** Whether tab is lazy loaded */
|
|
8
|
+
lazy?: boolean;
|
|
9
|
+
/** Whether tab is closable */
|
|
10
|
+
closable?: boolean;
|
|
11
|
+
/** Disable the tab */
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare var __VLS_1: {};
|
|
15
|
+
type __VLS_Slots = {} & {
|
|
16
|
+
default?: (props: typeof __VLS_1) => any;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
|
+
name: string | number;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
label: string;
|
|
22
|
+
closable: boolean;
|
|
23
|
+
lazy: boolean;
|
|
24
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=tab-pane.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab-pane.vue.d.ts","sourceRoot":"","sources":["../../../src/tabs/tab-pane.vue"],"names":[],"mappings":";AAoIA,KAAK,WAAW,GAAG;IACf,4CAA4C;IAC5C,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iCAAiC;IACjC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sBAAsB;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAgHJ,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;UAhIL,MAAM,GAAG,MAAM;cAQX,OAAO;WANV,MAAM;cAIH,OAAO;UAFX,OAAO;6EA+HhB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { TabsType, TabsPosition } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Currently active tab (v-model) */
|
|
5
|
+
modelValue?: string | number;
|
|
6
|
+
/** Tab style */
|
|
7
|
+
type?: TabsType;
|
|
8
|
+
/** Tab header position */
|
|
9
|
+
position?: TabsPosition;
|
|
10
|
+
/** Whether tabs are closable */
|
|
11
|
+
closable?: boolean;
|
|
12
|
+
/** Whether tabs can be added */
|
|
13
|
+
addable?: boolean;
|
|
14
|
+
/** Whether tabs are editable (add + close) */
|
|
15
|
+
editable?: boolean;
|
|
16
|
+
/** Show tabs as sliding (no card) */
|
|
17
|
+
beforeLeave?: (activeName: string | number, oldActiveName: string | number) => boolean | Promise<boolean>;
|
|
18
|
+
};
|
|
19
|
+
declare var __VLS_1: {};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
default?: (props: typeof __VLS_1) => any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
24
|
+
"update:modelValue": (name: string | number) => any;
|
|
25
|
+
"tab-click": (name: string | number, event: MouseEvent) => any;
|
|
26
|
+
"tab-remove": (name: string | number) => any;
|
|
27
|
+
"tab-add": () => any;
|
|
28
|
+
edit: (name: string | number | undefined, action: "add" | "remove") => any;
|
|
29
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
+
"onUpdate:modelValue"?: ((name: string | number) => any) | undefined;
|
|
31
|
+
"onTab-click"?: ((name: string | number, event: MouseEvent) => any) | undefined;
|
|
32
|
+
"onTab-remove"?: ((name: string | number) => any) | undefined;
|
|
33
|
+
"onTab-add"?: (() => any) | undefined;
|
|
34
|
+
onEdit?: ((name: string | number | undefined, action: "add" | "remove") => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
type: TabsType;
|
|
37
|
+
position: TabsPosition;
|
|
38
|
+
modelValue: string | number;
|
|
39
|
+
closable: boolean;
|
|
40
|
+
addable: boolean;
|
|
41
|
+
editable: boolean;
|
|
42
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
43
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
44
|
+
declare const _default: typeof __VLS_export;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
47
|
+
new (): {
|
|
48
|
+
$slots: S;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=tabs.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/tabs/tabs.vue"],"names":[],"mappings":";AAueA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAY,MAAM,SAAS,CAAA;AAE/D,KAAK,WAAW,GAAG;IACf,qCAAqC;IACrC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,gBAAgB;IAChB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qCAAqC;IACrC,WAAW,CAAC,EAAE,CACZ,UAAU,EAAE,MAAM,GAAG,MAAM,EAC3B,aAAa,EAAE,MAAM,GAAG,MAAM,KAC3B,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;CAChC,CAAC;AAmYJ,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,QAAA,MAAM,UAAU;;;;;;;;;;;;;UA1ZL,QAAQ;cAEJ,YAAY;gBAJV,MAAM,GAAG,MAAM;cAMjB,OAAO;aAER,OAAO;cAEN,OAAO;6EAsZpB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|