@ug666/ui-vue 0.2.0 → 0.3.0-beta.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/dist/aliases.d.ts +38 -21
- package/dist/aliases.d.ts.map +1 -1
- package/dist/blocks/feature-grid.vue.d.ts +9 -13
- package/dist/blocks/feature-grid.vue.d.ts.map +1 -1
- package/dist/blocks/index.cjs +1 -1
- package/dist/blocks/index.cjs.map +1 -1
- package/dist/blocks/index.js +155 -65
- package/dist/blocks/index.js.map +1 -1
- package/dist/blocks/landing-hero.vue.d.ts +21 -19
- package/dist/blocks/landing-hero.vue.d.ts.map +1 -1
- package/dist/button-CVw3ryBz.cjs +2 -0
- package/dist/button-CVw3ryBz.cjs.map +1 -0
- package/dist/button-D_ikOxrp.js +292 -0
- package/dist/button-D_ikOxrp.js.map +1 -0
- package/dist/cn-CFAiuoYh.cjs +2 -0
- package/dist/cn-CFAiuoYh.cjs.map +1 -0
- package/dist/cn-Cl2u7rTh.js +10 -0
- package/dist/cn-Cl2u7rTh.js.map +1 -0
- package/dist/components/accordion.vue.d.ts +29 -6
- package/dist/components/accordion.vue.d.ts.map +1 -1
- package/dist/components/alert.vue.d.ts +9 -8
- package/dist/components/alert.vue.d.ts.map +1 -1
- package/dist/components/avatar-group.vue.d.ts +3 -2
- package/dist/components/avatar-group.vue.d.ts.map +1 -1
- package/dist/components/avatar.vue.d.ts +6 -5
- package/dist/components/avatar.vue.d.ts.map +1 -1
- package/dist/components/badge.vue.d.ts +9 -16
- package/dist/components/badge.vue.d.ts.map +1 -1
- package/dist/components/breadcrumb.vue.d.ts +20 -11
- package/dist/components/breadcrumb.vue.d.ts.map +1 -1
- package/dist/components/button-group.vue.d.ts +92 -0
- package/dist/components/button-group.vue.d.ts.map +1 -0
- package/dist/components/button.vue.d.ts +77 -39
- package/dist/components/button.vue.d.ts.map +1 -1
- package/dist/components/card.vue.d.ts +15 -11
- package/dist/components/card.vue.d.ts.map +1 -1
- package/dist/components/checkbox-group.vue.d.ts +43 -0
- package/dist/components/checkbox-group.vue.d.ts.map +1 -0
- package/dist/components/checkbox.vue.d.ts +23 -24
- package/dist/components/checkbox.vue.d.ts.map +1 -1
- package/dist/components/config-provider.vue.d.ts +77 -0
- package/dist/components/config-provider.vue.d.ts.map +1 -0
- package/dist/components/container.vue.d.ts +141 -0
- package/dist/components/container.vue.d.ts.map +1 -0
- package/dist/components/context/accordion-context.d.ts +7 -2
- package/dist/components/context/accordion-context.d.ts.map +1 -1
- package/dist/components/context/button-group.d.ts +40 -0
- package/dist/components/context/button-group.d.ts.map +1 -0
- package/dist/components/context/checkbox-context.d.ts +14 -0
- package/dist/components/context/checkbox-context.d.ts.map +1 -0
- package/dist/components/context/context-menu-context.d.ts +4 -0
- package/dist/components/context/context-menu-context.d.ts.map +1 -1
- package/dist/components/context/drawer-context.d.ts +4 -0
- package/dist/components/context/drawer-context.d.ts.map +1 -1
- package/dist/components/context/dropdown-context.d.ts +10 -0
- package/dist/components/context/dropdown-context.d.ts.map +1 -1
- package/dist/components/context/form-context.d.ts +31 -1
- package/dist/components/context/form-context.d.ts.map +1 -1
- package/dist/components/context/popover-context.d.ts +2 -0
- package/dist/components/context/popover-context.d.ts.map +1 -1
- package/dist/components/context/radio-context.d.ts +11 -3
- package/dist/components/context/radio-context.d.ts.map +1 -1
- package/dist/components/context/tabs-context.d.ts +2 -0
- package/dist/components/context/tabs-context.d.ts.map +1 -1
- package/dist/components/context/tooltip-context.d.ts +2 -0
- package/dist/components/context/tooltip-context.d.ts.map +1 -1
- package/dist/components/context-menu.vue.d.ts +6 -5
- package/dist/components/context-menu.vue.d.ts.map +1 -1
- package/dist/components/descriptions.vue.d.ts +12 -18
- package/dist/components/descriptions.vue.d.ts.map +1 -1
- package/dist/components/dialog.vue.d.ts +5 -3
- package/dist/components/dialog.vue.d.ts.map +1 -1
- package/dist/components/drawer.vue.d.ts +9 -8
- package/dist/components/drawer.vue.d.ts.map +1 -1
- package/dist/components/dropdown.vue.d.ts +11 -10
- package/dist/components/dropdown.vue.d.ts.map +1 -1
- package/dist/components/empty-state.vue.d.ts +16 -17
- package/dist/components/empty-state.vue.d.ts.map +1 -1
- package/dist/components/form.vue.d.ts +95 -17
- package/dist/components/form.vue.d.ts.map +1 -1
- package/dist/components/icon.vue.d.ts +28 -0
- package/dist/components/icon.vue.d.ts.map +1 -0
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.d.ts +21 -6
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +5 -5
- package/dist/components/input.vue.d.ts +71 -29
- package/dist/components/input.vue.d.ts.map +1 -1
- package/dist/components/label.vue.d.ts +12 -19
- package/dist/components/label.vue.d.ts.map +1 -1
- package/dist/components/layout.d.ts +194 -0
- package/dist/components/layout.d.ts.map +1 -0
- package/dist/components/link.vue.d.ts +55 -0
- package/dist/components/link.vue.d.ts.map +1 -0
- package/dist/components/modal.vue.d.ts +15 -16
- package/dist/components/modal.vue.d.ts.map +1 -1
- package/dist/components/navigation-menu.vue.d.ts +30 -14
- package/dist/components/navigation-menu.vue.d.ts.map +1 -1
- package/dist/components/number-input.vue.d.ts +53 -25
- package/dist/components/number-input.vue.d.ts.map +1 -1
- package/dist/components/otp-input.vue.d.ts +12 -9
- package/dist/components/otp-input.vue.d.ts.map +1 -1
- package/dist/components/pagination.vue.d.ts +15 -13
- package/dist/components/pagination.vue.d.ts.map +1 -1
- package/dist/components/popover.vue.d.ts +9 -8
- package/dist/components/popover.vue.d.ts.map +1 -1
- package/dist/components/progress.vue.d.ts +3 -2
- package/dist/components/progress.vue.d.ts.map +1 -1
- package/dist/components/radio-group.vue.d.ts +23 -30
- package/dist/components/radio-group.vue.d.ts.map +1 -1
- package/dist/components/radio.vue.d.ts +28 -17
- package/dist/components/radio.vue.d.ts.map +1 -1
- package/dist/components/scrollbar.vue.d.ts +65 -0
- package/dist/components/scrollbar.vue.d.ts.map +1 -0
- package/dist/components/select.vue.d.ts +83 -35
- package/dist/components/select.vue.d.ts.map +1 -1
- package/dist/components/separator.vue.d.ts +19 -8
- package/dist/components/separator.vue.d.ts.map +1 -1
- package/dist/components/sheet.vue.d.ts +15 -16
- package/dist/components/sheet.vue.d.ts.map +1 -1
- package/dist/components/sidebar.vue.d.ts +13 -35
- package/dist/components/sidebar.vue.d.ts.map +1 -1
- package/dist/components/skeleton.vue.d.ts +3 -2
- package/dist/components/skeleton.vue.d.ts.map +1 -1
- package/dist/components/slider.vue.d.ts +56 -22
- package/dist/components/slider.vue.d.ts.map +1 -1
- package/dist/components/space.vue.d.ts +35 -0
- package/dist/components/space.vue.d.ts.map +1 -0
- package/dist/components/spinner.vue.d.ts +6 -5
- package/dist/components/spinner.vue.d.ts.map +1 -1
- package/dist/components/splitter.vue.d.ts +234 -0
- package/dist/components/splitter.vue.d.ts.map +1 -0
- package/dist/components/statistic.vue.d.ts +12 -15
- package/dist/components/statistic.vue.d.ts.map +1 -1
- package/dist/components/steps.vue.d.ts +8 -19
- package/dist/components/steps.vue.d.ts.map +1 -1
- package/dist/components/switch.vue.d.ts +50 -19
- package/dist/components/switch.vue.d.ts.map +1 -1
- package/dist/components/table.vue.d.ts +6 -5
- package/dist/components/table.vue.d.ts.map +1 -1
- package/dist/components/tabs.vue.d.ts +26 -9
- package/dist/components/tabs.vue.d.ts.map +1 -1
- package/dist/components/tag.vue.d.ts +11 -18
- package/dist/components/tag.vue.d.ts.map +1 -1
- package/dist/components/text.vue.d.ts +32 -0
- package/dist/components/text.vue.d.ts.map +1 -0
- package/dist/components/textarea.vue.d.ts +58 -26
- package/dist/components/textarea.vue.d.ts.map +1 -1
- package/dist/components/toast.vue.d.ts +3 -2
- package/dist/components/toast.vue.d.ts.map +1 -1
- package/dist/components/tooltip.vue.d.ts +7 -6
- package/dist/components/tooltip.vue.d.ts.map +1 -1
- package/dist/components/types/forms.d.ts +15 -0
- package/dist/components/types/forms.d.ts.map +1 -0
- package/dist/components/types/foundation.d.ts +5 -0
- package/dist/components/types/foundation.d.ts.map +1 -0
- package/dist/composables/index.cjs +1 -1
- package/dist/composables/index.d.ts +2 -1
- package/dist/composables/index.d.ts.map +1 -1
- package/dist/composables/index.js +2 -2
- package/dist/composables/use-copy-to-clipboard.d.ts.map +1 -1
- package/dist/composables/use-event-listener.d.ts.map +1 -1
- package/dist/composables/use-form.d.ts +38 -26
- package/dist/composables/use-form.d.ts.map +1 -1
- package/dist/composables/use-local-storage.d.ts.map +1 -1
- package/dist/composables-C-Go-D3m.js +386 -0
- package/dist/composables-C-Go-D3m.js.map +1 -0
- package/dist/composables-CiWPyBEE.cjs +2 -0
- package/dist/composables-CiWPyBEE.cjs.map +1 -0
- package/dist/global.d.ts +17 -0
- package/dist/global.d.ts.map +1 -1
- package/dist/icon-NbssmDYT.js +1561 -0
- package/dist/icon-NbssmDYT.js.map +1 -0
- package/dist/icon-jF_XZntG.cjs +2 -0
- package/dist/icon-jF_XZntG.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +26 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +134 -332
- package/dist/index.js.map +1 -1
- package/dist/internal/use-overlay-focus.d.ts +3 -0
- package/dist/internal/use-overlay-focus.d.ts.map +1 -0
- package/dist/internal/use-overlay-lifecycle.d.ts +3 -0
- package/dist/internal/use-overlay-lifecycle.d.ts.map +1 -0
- package/dist/labs/file-preview.vue.d.ts +42 -0
- package/dist/labs/file-preview.vue.d.ts.map +1 -0
- package/dist/labs/index.cjs +1 -1
- package/dist/labs/index.cjs.map +1 -1
- package/dist/labs/index.d.ts +7 -2
- package/dist/labs/index.d.ts.map +1 -1
- package/dist/labs/index.js +209 -5
- package/dist/labs/index.js.map +1 -1
- package/dist/labs/model-card.vue.d.ts +46 -0
- package/dist/labs/model-card.vue.d.ts.map +1 -0
- package/dist/patterns/admin-shell.vue.d.ts +18 -17
- package/dist/patterns/admin-shell.vue.d.ts.map +1 -1
- package/dist/patterns/confirm-dialog.vue.d.ts +13 -15
- package/dist/patterns/confirm-dialog.vue.d.ts.map +1 -1
- package/dist/patterns/copy-field.vue.d.ts +12 -15
- package/dist/patterns/copy-field.vue.d.ts.map +1 -1
- package/dist/patterns/index.cjs +1 -1
- package/dist/patterns/index.cjs.map +1 -1
- package/dist/patterns/index.js +178 -79
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/page-header.vue.d.ts +25 -23
- package/dist/patterns/page-header.vue.d.ts.map +1 -1
- package/dist/primitives/index.cjs +1 -1
- package/dist/primitives/index.d.ts +13 -1
- package/dist/primitives/index.d.ts.map +1 -1
- package/dist/primitives/index.js +3 -3
- package/dist/resolver.cjs +1 -1
- package/dist/resolver.cjs.map +1 -1
- package/dist/resolver.d.ts.map +1 -1
- package/dist/resolver.js +13 -12
- package/dist/resolver.js.map +1 -1
- package/dist/sidebar-DI7FOJiw.cjs +2 -0
- package/dist/sidebar-DI7FOJiw.cjs.map +1 -0
- package/dist/sidebar-wW1OGS5T.js +442 -0
- package/dist/sidebar-wW1OGS5T.js.map +1 -0
- package/dist/statistic-1kiSjvCX.cjs +2 -0
- package/dist/statistic-1kiSjvCX.cjs.map +1 -0
- package/dist/statistic-DBlNBT-A.js +4748 -0
- package/dist/statistic-DBlNBT-A.js.map +1 -0
- package/dist/styles.css +2797 -956
- package/dist/theme.cjs +2 -0
- package/dist/theme.cjs.map +1 -0
- package/dist/theme.d.ts +172 -76
- package/dist/theme.d.ts.map +1 -1
- package/dist/theme.js +128 -0
- package/dist/theme.js.map +1 -0
- package/dist/themes/default.css +80 -0
- package/dist/themes/mecha.css +195 -0
- package/dist/themes/minimal.css +160 -0
- package/dist/{toast-state-BBoVvR0u.cjs → toast-state-DZPoRLPw.cjs} +2 -2
- package/dist/{toast-state-BBoVvR0u.cjs.map → toast-state-DZPoRLPw.cjs.map} +1 -1
- package/dist/{toast-state-Crugc-IE.js → toast-state-DyrVOjSJ.js} +1 -1
- package/dist/{toast-state-Crugc-IE.js.map → toast-state-DyrVOjSJ.js.map} +1 -1
- package/dist/tokens.css +1173 -18
- package/package.json +24 -12
- package/dist/aliases-CKe0wVQy.cjs +0 -2
- package/dist/aliases-CKe0wVQy.cjs.map +0 -1
- package/dist/aliases-u3xep8jx.js +0 -2732
- package/dist/aliases-u3xep8jx.js.map +0 -1
- package/dist/button-C10AiP5_.cjs +0 -2
- package/dist/button-C10AiP5_.cjs.map +0 -1
- package/dist/button-Sy9e0tiI.js +0 -1742
- package/dist/button-Sy9e0tiI.js.map +0 -1
- package/dist/component-layers.d.ts +0 -199
- package/dist/component-layers.d.ts.map +0 -1
- package/dist/composables-GXmQiqgg.cjs +0 -2
- package/dist/composables-GXmQiqgg.cjs.map +0 -1
- package/dist/composables-YMNfao5g.js +0 -251
- package/dist/composables-YMNfao5g.js.map +0 -1
- package/dist/separator-BnNQAp6A.js +0 -259
- package/dist/separator-BnNQAp6A.js.map +0 -1
- package/dist/separator-Bynwn-we.cjs +0 -2
- package/dist/separator-Bynwn-we.cjs.map +0 -1
- package/dist/sidebar-BnZB7vlK.js +0 -344
- package/dist/sidebar-BnZB7vlK.js.map +0 -1
- package/dist/sidebar-xKPzL0NQ.cjs +0 -2
- package/dist/sidebar-xKPzL0NQ.cjs.map +0 -1
|
@@ -1,14 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
type
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export type SeparatorOrientation = 'horizontal' | 'vertical';
|
|
2
|
+
export type SeparatorLineStyle = 'solid' | 'dashed' | 'dotted';
|
|
3
|
+
export type SeparatorContentPosition = 'start' | 'center' | 'end';
|
|
4
|
+
export interface SeparatorProps {
|
|
5
5
|
orientation?: SeparatorOrientation;
|
|
6
|
-
|
|
6
|
+
lineStyle?: SeparatorLineStyle;
|
|
7
|
+
contentPosition?: SeparatorContentPosition;
|
|
7
8
|
class?: string;
|
|
8
9
|
}
|
|
9
|
-
declare const _default:
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<SeparatorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
|
|
10
13
|
class: string;
|
|
11
14
|
orientation: SeparatorOrientation;
|
|
12
|
-
|
|
13
|
-
|
|
15
|
+
contentPosition: SeparatorContentPosition;
|
|
16
|
+
lineStyle: SeparatorLineStyle;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
18
|
+
default?: (props: {}) => any;
|
|
19
|
+
}>;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
14
25
|
//# sourceMappingURL=separator.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"separator.vue.d.ts","sourceRoot":"","sources":["../../src/components/separator.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"separator.vue.d.ts","sourceRoot":"","sources":["../../src/components/separator.vue"],"names":[],"mappings":"AA4FA,MAAM,MAAM,oBAAoB,GAAG,YAAY,GAAG,UAAU,CAAA;AAC5D,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAA;AAC9D,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;AAEjE,MAAM,WAAW,cAAc;IAC7B,WAAW,CAAC,EAAE,oBAAoB,CAAA;IAClC,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAC9B,eAAe,CAAC,EAAE,wBAAwB,CAAA;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;WAHR,MAAM;iBAHA,oBAAoB;qBAEhB,wBAAwB;eAD9B,kBAAkB;;cA8FlB,CAAC,KAAK,IAAgB,KAAK,GAAG;EAUxC,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -14,21 +14,19 @@ interface Props {
|
|
|
14
14
|
class?: string;
|
|
15
15
|
}
|
|
16
16
|
type __VLS_Props = Props;
|
|
17
|
-
type
|
|
17
|
+
type __VLS_ModelProps = {
|
|
18
18
|
'open'?: boolean;
|
|
19
|
-
} & __VLS_Props;
|
|
20
|
-
declare function __VLS_template(): {
|
|
21
|
-
attrs: Partial<{}>;
|
|
22
|
-
slots: {
|
|
23
|
-
header?(_: {}): any;
|
|
24
|
-
default?(_: {}): any;
|
|
25
|
-
footer?(_: {}): any;
|
|
26
|
-
};
|
|
27
|
-
refs: {};
|
|
28
|
-
rootEl: any;
|
|
29
19
|
};
|
|
30
|
-
type
|
|
31
|
-
declare
|
|
20
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
21
|
+
declare var __VLS_7: {}, __VLS_14: {}, __VLS_16: {};
|
|
22
|
+
type __VLS_Slots = {} & {
|
|
23
|
+
header?: (props: typeof __VLS_7) => any;
|
|
24
|
+
} & {
|
|
25
|
+
default?: (props: typeof __VLS_14) => any;
|
|
26
|
+
} & {
|
|
27
|
+
footer?: (props: typeof __VLS_16) => any;
|
|
28
|
+
};
|
|
29
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
30
|
close: () => any;
|
|
33
31
|
openChange: (open: boolean) => any;
|
|
34
32
|
"update:open": (value: boolean) => any;
|
|
@@ -37,16 +35,17 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
37
35
|
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
38
36
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
39
37
|
}>, {
|
|
40
|
-
class: string;
|
|
41
38
|
title: string;
|
|
39
|
+
class: string;
|
|
42
40
|
closeOnOverlay: boolean;
|
|
43
41
|
closeOnEsc: boolean;
|
|
44
42
|
showCloseButton: boolean;
|
|
45
43
|
side: SheetSide;
|
|
46
44
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
47
|
-
declare const
|
|
45
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
46
|
+
declare const _default: typeof __VLS_export;
|
|
48
47
|
export default _default;
|
|
49
|
-
type
|
|
48
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
50
49
|
new (): {
|
|
51
50
|
$slots: S;
|
|
52
51
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet.vue.d.ts","sourceRoot":"","sources":["../../src/components/sheet.vue"],"names":[],"mappings":"AAKA;
|
|
1
|
+
{"version":3,"file":"sheet.vue.d.ts","sourceRoot":"","sources":["../../src/components/sheet.vue"],"names":[],"mappings":"AAKA;AAkKA,KAAK,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;AAEjC,UAAU,KAAK;IACb,WAAW;IACX,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,WAAW;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,eAAe;IACf,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,kBAAkB;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,eAAe;IACf,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,KAAK,WAAW,GAAG,KAAK,CAAC;AAmEzB,KAAK,gBAAgB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAaF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAqJxD,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAClE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,QAAA,MAAM,UAAU;;;;;;;;;WA7PN,MAAM;WAQN,MAAM;oBANG,OAAO;gBAEX,OAAO;qBAEF,OAAO;UARlB,SAAS;6EAmQhB,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"}
|
|
@@ -1,56 +1,32 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
|
-
interface SidebarItem {
|
|
3
|
-
/** 菜单唯一标识 */
|
|
2
|
+
export interface SidebarItem {
|
|
4
3
|
id?: string;
|
|
5
|
-
/** 菜单显示文本 */
|
|
6
4
|
label: string;
|
|
7
|
-
/** 菜单跳转链接 */
|
|
8
5
|
href?: string;
|
|
9
|
-
/** 菜单图标组件 */
|
|
10
6
|
icon: Component;
|
|
11
|
-
/** 当前项是否激活 */
|
|
12
7
|
active?: boolean;
|
|
13
|
-
/** 子菜单 */
|
|
14
8
|
children?: SidebarItem[];
|
|
15
9
|
}
|
|
16
|
-
type SidebarVariant = 'primary' | 'dark';
|
|
17
|
-
interface
|
|
18
|
-
/** 导航菜单项列表 */
|
|
10
|
+
export type SidebarVariant = 'primary' | 'dark';
|
|
11
|
+
export interface SidebarProps {
|
|
19
12
|
items: SidebarItem[];
|
|
20
|
-
/** 视觉变体:primary 品牌色(默认),dark 深灰色 */
|
|
21
13
|
variant?: SidebarVariant;
|
|
22
|
-
/** 是否折叠,仅显示图标 */
|
|
23
14
|
collapsed?: boolean;
|
|
24
|
-
/** 非受控折叠默认值 */
|
|
25
15
|
defaultCollapsed?: boolean;
|
|
26
|
-
/** 是否显示内置折叠按钮 */
|
|
27
16
|
collapsible?: boolean;
|
|
28
|
-
/** 是否显示内置搜索 */
|
|
29
17
|
searchable?: boolean;
|
|
30
|
-
/** 搜索占位文案 */
|
|
31
18
|
searchPlaceholder?: string;
|
|
32
|
-
/** 是否启用移动端抽屉模式 */
|
|
33
19
|
responsive?: boolean;
|
|
34
|
-
/** 移动端抽屉是否打开 */
|
|
35
20
|
mobileOpen?: boolean;
|
|
36
|
-
/** 容器额外 CSS 类名 */
|
|
37
21
|
class?: string;
|
|
38
22
|
}
|
|
39
|
-
declare
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
header?(_: {}): any;
|
|
43
|
-
footer?(_: {}): any;
|
|
44
|
-
};
|
|
45
|
-
refs: {};
|
|
46
|
-
rootEl: any;
|
|
47
|
-
};
|
|
48
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
49
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<SidebarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
50
26
|
"update:collapsed": (value: boolean) => any;
|
|
51
27
|
"collapse-change": (value: boolean) => any;
|
|
52
28
|
"update:mobileOpen": (value: boolean) => any;
|
|
53
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<SidebarProps> & Readonly<{
|
|
54
30
|
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
55
31
|
"onCollapse-change"?: ((value: boolean) => any) | undefined;
|
|
56
32
|
"onUpdate:mobileOpen"?: ((value: boolean) => any) | undefined;
|
|
@@ -63,10 +39,12 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
63
39
|
searchPlaceholder: string;
|
|
64
40
|
responsive: boolean;
|
|
65
41
|
mobileOpen: boolean;
|
|
66
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
42
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
43
|
+
header?: (props: {}) => any;
|
|
44
|
+
} & {
|
|
45
|
+
footer?: (props: {}) => any;
|
|
46
|
+
}>;
|
|
47
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
70
48
|
new (): {
|
|
71
49
|
$slots: S;
|
|
72
50
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.vue.d.ts","sourceRoot":"","sources":["../../src/components/sidebar.vue"],"names":[],"mappings":"AAKA;
|
|
1
|
+
{"version":3,"file":"sidebar.vue.d.ts","sourceRoot":"","sources":["../../src/components/sidebar.vue"],"names":[],"mappings":"AAKA;AAiaA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,MAAM,WAAW,WAAW;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,SAAS,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAA;CACzB;AAED,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,MAAM,CAAA;AAE/C,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,WAAW,EAAE,CAAA;IACpB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;;;;;;;;;aAXN,cAAc;WAQhB,MAAM;iBALA,OAAO;sBADF,OAAO;gBAEb,OAAO;uBACA,MAAM;gBACb,OAAO;gBACP,OAAO;;aAumBT,CAAC,KAAK,IAAgB,KAAK,GAAG;;aAC9B,CAAC,KAAK,IAAiB,KAAK,GAAG;EASxC,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -5,9 +5,10 @@ interface Props {
|
|
|
5
5
|
/** 额外 CSS 类名 */
|
|
6
6
|
class?: string;
|
|
7
7
|
}
|
|
8
|
-
declare const
|
|
8
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
9
9
|
variant: SkeletonVariant;
|
|
10
10
|
class: string;
|
|
11
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
13
14
|
//# sourceMappingURL=skeleton.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton.vue.d.ts","sourceRoot":"","sources":["../../src/components/skeleton.vue"],"names":[],"mappings":"AAKA;
|
|
1
|
+
{"version":3,"file":"skeleton.vue.d.ts","sourceRoot":"","sources":["../../src/components/skeleton.vue"],"names":[],"mappings":"AAKA;AAkEA,KAAK,eAAe,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAA;AAEjD,UAAU,KAAK;IACb,cAAc;IACd,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,gBAAgB;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAyDD,QAAA,MAAM,YAAY;aA5DN,eAAe;WAEjB,MAAM;6EA6Dd,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,34 +1,68 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { Component, CSSProperties, VNodeChild } from 'vue';
|
|
2
|
+
import { ControlSize } from './config-provider.vue';
|
|
3
|
+
export type SliderValue = number | [number, number];
|
|
4
|
+
export type SliderStep = number | 'mark';
|
|
5
|
+
export type SliderTooltipPlacement = 'top' | 'right' | 'bottom' | 'left';
|
|
6
|
+
export type SliderMarkLabel = string | number | Component | (() => VNodeChild);
|
|
7
|
+
export interface SliderMark {
|
|
8
|
+
label: SliderMarkLabel;
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
export type SliderMarks = Record<number, SliderMarkLabel | SliderMark>;
|
|
12
|
+
export interface SliderProps {
|
|
13
|
+
modelValue?: SliderValue;
|
|
14
|
+
defaultValue?: SliderValue;
|
|
7
15
|
min?: number;
|
|
8
|
-
/** 最大值,默认 100 */
|
|
9
16
|
max?: number;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
17
|
+
step?: SliderStep;
|
|
18
|
+
range?: boolean;
|
|
19
|
+
vertical?: boolean;
|
|
20
|
+
height?: number | string;
|
|
13
21
|
disabled?: boolean;
|
|
14
|
-
/** 是否在滑块上方显示当前值,默认 false */
|
|
15
22
|
showValue?: boolean;
|
|
16
|
-
|
|
23
|
+
showStops?: boolean;
|
|
24
|
+
showInput?: boolean;
|
|
25
|
+
showInputControls?: boolean;
|
|
26
|
+
inputSize?: ControlSize;
|
|
27
|
+
showTooltip?: boolean;
|
|
28
|
+
formatTooltip?: (value: number) => string | number;
|
|
29
|
+
formatValueText?: (value: number) => string;
|
|
30
|
+
tooltipPlacement?: SliderTooltipPlacement;
|
|
31
|
+
rangeStartLabel?: string;
|
|
32
|
+
rangeEndLabel?: string;
|
|
33
|
+
marks?: SliderMarks;
|
|
17
34
|
class?: string;
|
|
35
|
+
size?: ControlSize;
|
|
18
36
|
}
|
|
19
|
-
declare const _default:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
37
|
+
declare const _default: typeof __VLS_export;
|
|
38
|
+
export default _default;
|
|
39
|
+
declare const __VLS_export: import('vue').DefineComponent<SliderProps, {
|
|
40
|
+
focus: (index?: number) => void | undefined;
|
|
41
|
+
blur: () => void;
|
|
42
|
+
inputs: import('vue').Ref<HTMLInputElement[], HTMLInputElement[]>;
|
|
43
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
|
+
input: (value: SliderValue) => any;
|
|
45
|
+
change: (value: SliderValue) => any;
|
|
46
|
+
"update:modelValue": (value: SliderValue) => any;
|
|
47
|
+
}, string, import('vue').PublicProps, Readonly<SliderProps> & Readonly<{
|
|
48
|
+
onInput?: ((value: SliderValue) => any) | undefined;
|
|
49
|
+
onChange?: ((value: SliderValue) => any) | undefined;
|
|
50
|
+
"onUpdate:modelValue"?: ((value: SliderValue) => any) | undefined;
|
|
25
51
|
}>, {
|
|
26
52
|
disabled: boolean;
|
|
53
|
+
vertical: boolean;
|
|
54
|
+
height: number | string;
|
|
27
55
|
max: number;
|
|
28
56
|
min: number;
|
|
29
|
-
defaultValue:
|
|
30
|
-
step:
|
|
57
|
+
defaultValue: SliderValue;
|
|
58
|
+
step: SliderStep;
|
|
31
59
|
showValue: boolean;
|
|
32
|
-
|
|
33
|
-
|
|
60
|
+
showStops: boolean;
|
|
61
|
+
showInput: boolean;
|
|
62
|
+
showInputControls: boolean;
|
|
63
|
+
showTooltip: boolean;
|
|
64
|
+
formatTooltip: (value: number) => string | number;
|
|
65
|
+
rangeStartLabel: string;
|
|
66
|
+
rangeEndLabel: string;
|
|
67
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
68
|
//# sourceMappingURL=slider.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.vue.d.ts","sourceRoot":"","sources":["../../src/components/slider.vue"],"names":[],"mappings":"AAKA;
|
|
1
|
+
{"version":3,"file":"slider.vue.d.ts","sourceRoot":"","sources":["../../src/components/slider.vue"],"names":[],"mappings":"AAKA;AAojBA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AACnD,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,CAAA;AACxC,MAAM,MAAM,sBAAsB,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;AACxE,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,CAAC,MAAM,UAAU,CAAC,CAAA;AAC9E,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,eAAe,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB;AACD,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,eAAe,GAAG,UAAU,CAAC,CAAA;AAEtE,MAAM,WAAW,WAAW;IAC1B,UAAU,CAAC,EAAE,WAAW,CAAA;IACxB,YAAY,CAAC,EAAE,WAAW,CAAA;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,SAAS,CAAC,EAAE,WAAW,CAAA;IACvB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,GAAG,MAAM,CAAA;IAClD,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IAC3C,gBAAgB,CAAC,EAAE,sBAAsB,CAAA;IACzC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,WAAW,CAAA;CACnB;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;;;;;;;;;;;;;cAjBL,OAAO;cAFP,OAAO;YACT,MAAM,GAAG,MAAM;SAJlB,MAAM;SADN,MAAM;kBADG,WAAW;UAGnB,UAAU;eAKL,OAAO;eACP,OAAO;eACP,OAAO;uBACC,OAAO;iBAEb,OAAO;mBACL,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,GAAG,MAAM;qBAGhC,MAAM;mBACR,MAAM;6EAunBpB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type SpacePresetSize = 'xs' | 'sm' | 'md' | 'lg' | 'small' | 'default' | 'large';
|
|
2
|
+
export type SpaceGap = SpacePresetSize | number;
|
|
3
|
+
export type SpaceSize = SpaceGap | readonly [horizontal: SpaceGap, vertical: SpaceGap];
|
|
4
|
+
export type SpaceDirection = 'horizontal' | 'vertical';
|
|
5
|
+
export type SpaceAlign = 'start' | 'center' | 'end' | 'baseline' | 'stretch';
|
|
6
|
+
export interface SpaceProps {
|
|
7
|
+
direction?: SpaceDirection;
|
|
8
|
+
align?: SpaceAlign;
|
|
9
|
+
size?: SpaceSize;
|
|
10
|
+
wrap?: boolean;
|
|
11
|
+
inline?: boolean;
|
|
12
|
+
separator?: string | number;
|
|
13
|
+
fill?: boolean;
|
|
14
|
+
fillRatio?: number;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<SpaceProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SpaceProps> & Readonly<{}>, {
|
|
19
|
+
size: SpaceSize;
|
|
20
|
+
fill: boolean;
|
|
21
|
+
inline: boolean;
|
|
22
|
+
wrap: boolean;
|
|
23
|
+
separator: string | number;
|
|
24
|
+
direction: SpaceDirection;
|
|
25
|
+
align: SpaceAlign;
|
|
26
|
+
fillRatio: number;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
28
|
+
separator?: (props: {}) => any;
|
|
29
|
+
}>;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=space.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"space.vue.d.ts","sourceRoot":"","sources":["../../src/components/space.vue"],"names":[],"mappings":"AAuMA,MAAM,MAAM,eAAe,GACvB,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,OAAO,GACP,SAAS,GACT,OAAO,CAAA;AACX,MAAM,MAAM,QAAQ,GAAG,eAAe,GAAG,MAAM,CAAA;AAC/C,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAA;AACtF,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,UAAU,CAAA;AACtD,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,CAAA;AAE5E,MAAM,WAAW,UAAU;IACzB,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;UART,SAAS;UAIT,OAAO;YAFL,OAAO;UADT,OAAO;eAEF,MAAM,GAAG,MAAM;eALf,cAAc;WAClB,UAAU;eAMN,MAAM;;gBAiNJ,CAAC,KAAK,IAAgB,KAAK,GAAG;EAU1C,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
type SpinnerSize = 'sm' | 'md' | 'lg';
|
|
2
|
-
interface
|
|
1
|
+
export type SpinnerSize = 'sm' | 'md' | 'lg';
|
|
2
|
+
export interface SpinnerProps {
|
|
3
3
|
/** 加载图标尺寸 */
|
|
4
4
|
size?: SpinnerSize;
|
|
5
5
|
/** 无障碍标签 */
|
|
@@ -7,10 +7,11 @@ interface Props {
|
|
|
7
7
|
/** 额外 CSS 类名 */
|
|
8
8
|
class?: string;
|
|
9
9
|
}
|
|
10
|
-
declare const _default:
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
declare const __VLS_export: import('vue').DefineComponent<SpinnerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SpinnerProps> & Readonly<{}>, {
|
|
11
13
|
size: SpinnerSize;
|
|
12
|
-
class: string;
|
|
13
14
|
label: string;
|
|
15
|
+
class: string;
|
|
14
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
-
export default _default;
|
|
16
17
|
//# sourceMappingURL=spinner.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.vue.d.ts","sourceRoot":"","sources":["../../src/components/spinner.vue"],"names":[],"mappings":"AAKA;
|
|
1
|
+
{"version":3,"file":"spinner.vue.d.ts","sourceRoot":"","sources":["../../src/components/spinner.vue"],"names":[],"mappings":"AAKA;AA8DA,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE5C,MAAM,WAAW,YAAY;IAC3B,aAAa;IACb,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,YAAY;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gBAAgB;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;UAPT,WAAW;WAEV,MAAM;WAEN,MAAM;6EAgFZ,CAAC"}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import { PropType, VNode } from 'vue';
|
|
2
|
+
export type SplitterDirection = 'horizontal' | 'vertical';
|
|
3
|
+
export interface SplitterResizeDetail {
|
|
4
|
+
separatorIndex: number;
|
|
5
|
+
sizes: number[];
|
|
6
|
+
}
|
|
7
|
+
export interface SplitterCollapseDetail {
|
|
8
|
+
panelIndex: number;
|
|
9
|
+
collapsed: boolean;
|
|
10
|
+
sizes: number[];
|
|
11
|
+
}
|
|
12
|
+
export interface SplitterProps {
|
|
13
|
+
direction?: SplitterDirection;
|
|
14
|
+
defaultSizes?: number[];
|
|
15
|
+
sizes?: number[];
|
|
16
|
+
keyboardStep?: number;
|
|
17
|
+
lazy?: boolean;
|
|
18
|
+
class?: string;
|
|
19
|
+
/** @deprecated 使用 SplitterPanel.defaultSize 或 defaultSizes。 */
|
|
20
|
+
defaultSize?: number;
|
|
21
|
+
/** @deprecated 使用 sizes / v-model:sizes。 */
|
|
22
|
+
modelValue?: number;
|
|
23
|
+
/** @deprecated 使用 SplitterPanel.min。 */
|
|
24
|
+
min?: number;
|
|
25
|
+
/** @deprecated 使用 SplitterPanel.max。 */
|
|
26
|
+
max?: number;
|
|
27
|
+
}
|
|
28
|
+
export interface SplitterPanelProps {
|
|
29
|
+
defaultSize?: number;
|
|
30
|
+
min?: number;
|
|
31
|
+
max?: number;
|
|
32
|
+
collapsible?: boolean;
|
|
33
|
+
collapsedSize?: number;
|
|
34
|
+
resizable?: boolean;
|
|
35
|
+
class?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare const USplitterPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
38
|
+
defaultSize: {
|
|
39
|
+
type: NumberConstructor;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
min: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
max: {
|
|
47
|
+
type: NumberConstructor;
|
|
48
|
+
default: number;
|
|
49
|
+
};
|
|
50
|
+
collapsible: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
collapsedSize: {
|
|
55
|
+
type: NumberConstructor;
|
|
56
|
+
default: number;
|
|
57
|
+
};
|
|
58
|
+
resizable: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
class: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
69
|
+
collapseChange: (_collapsed: boolean) => true;
|
|
70
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
71
|
+
defaultSize: {
|
|
72
|
+
type: NumberConstructor;
|
|
73
|
+
default: undefined;
|
|
74
|
+
};
|
|
75
|
+
min: {
|
|
76
|
+
type: NumberConstructor;
|
|
77
|
+
default: number;
|
|
78
|
+
};
|
|
79
|
+
max: {
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
collapsible: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
collapsedSize: {
|
|
88
|
+
type: NumberConstructor;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
resizable: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
class: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
}>> & Readonly<{
|
|
100
|
+
onCollapseChange?: ((_collapsed: boolean) => any) | undefined;
|
|
101
|
+
}>, {
|
|
102
|
+
class: string;
|
|
103
|
+
max: number;
|
|
104
|
+
min: number;
|
|
105
|
+
collapsible: boolean;
|
|
106
|
+
resizable: boolean;
|
|
107
|
+
defaultSize: number;
|
|
108
|
+
collapsedSize: number;
|
|
109
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
110
|
+
declare const _default: typeof __VLS_export;
|
|
111
|
+
export default _default;
|
|
112
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
113
|
+
direction: {
|
|
114
|
+
type: PropType<SplitterDirection>;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
defaultSizes: {
|
|
118
|
+
type: PropType<number[]>;
|
|
119
|
+
default: undefined;
|
|
120
|
+
};
|
|
121
|
+
sizes: {
|
|
122
|
+
type: PropType<number[]>;
|
|
123
|
+
default: undefined;
|
|
124
|
+
};
|
|
125
|
+
keyboardStep: {
|
|
126
|
+
type: NumberConstructor;
|
|
127
|
+
default: number;
|
|
128
|
+
};
|
|
129
|
+
lazy: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
|
+
class: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: undefined;
|
|
136
|
+
};
|
|
137
|
+
/** @deprecated 使用 USplitterPanel.defaultSize 或 defaultSizes。 */
|
|
138
|
+
defaultSize: {
|
|
139
|
+
type: NumberConstructor;
|
|
140
|
+
default: number;
|
|
141
|
+
};
|
|
142
|
+
/** @deprecated 使用 v-model:sizes。 */
|
|
143
|
+
modelValue: {
|
|
144
|
+
type: NumberConstructor;
|
|
145
|
+
default: undefined;
|
|
146
|
+
};
|
|
147
|
+
/** @deprecated 使用 USplitterPanel.min。 */
|
|
148
|
+
min: {
|
|
149
|
+
type: NumberConstructor;
|
|
150
|
+
default: number;
|
|
151
|
+
};
|
|
152
|
+
/** @deprecated 使用 USplitterPanel.max。 */
|
|
153
|
+
max: {
|
|
154
|
+
type: NumberConstructor;
|
|
155
|
+
default: number;
|
|
156
|
+
};
|
|
157
|
+
}>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
158
|
+
[key: string]: any;
|
|
159
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
160
|
+
'update:modelValue': (_size: number) => true;
|
|
161
|
+
'update:sizes': (_sizes: number[]) => true;
|
|
162
|
+
change: (_size: number) => true;
|
|
163
|
+
sizesChange: (_sizes: number[]) => true;
|
|
164
|
+
collapse: (_detail: SplitterCollapseDetail) => true;
|
|
165
|
+
resizeStart: (_detail: SplitterResizeDetail) => true;
|
|
166
|
+
resize: (_detail: SplitterResizeDetail) => true;
|
|
167
|
+
resizeEnd: (_detail: SplitterResizeDetail) => true;
|
|
168
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
169
|
+
direction: {
|
|
170
|
+
type: PropType<SplitterDirection>;
|
|
171
|
+
default: string;
|
|
172
|
+
};
|
|
173
|
+
defaultSizes: {
|
|
174
|
+
type: PropType<number[]>;
|
|
175
|
+
default: undefined;
|
|
176
|
+
};
|
|
177
|
+
sizes: {
|
|
178
|
+
type: PropType<number[]>;
|
|
179
|
+
default: undefined;
|
|
180
|
+
};
|
|
181
|
+
keyboardStep: {
|
|
182
|
+
type: NumberConstructor;
|
|
183
|
+
default: number;
|
|
184
|
+
};
|
|
185
|
+
lazy: {
|
|
186
|
+
type: BooleanConstructor;
|
|
187
|
+
default: boolean;
|
|
188
|
+
};
|
|
189
|
+
class: {
|
|
190
|
+
type: StringConstructor;
|
|
191
|
+
default: undefined;
|
|
192
|
+
};
|
|
193
|
+
/** @deprecated 使用 USplitterPanel.defaultSize 或 defaultSizes。 */
|
|
194
|
+
defaultSize: {
|
|
195
|
+
type: NumberConstructor;
|
|
196
|
+
default: number;
|
|
197
|
+
};
|
|
198
|
+
/** @deprecated 使用 v-model:sizes。 */
|
|
199
|
+
modelValue: {
|
|
200
|
+
type: NumberConstructor;
|
|
201
|
+
default: undefined;
|
|
202
|
+
};
|
|
203
|
+
/** @deprecated 使用 USplitterPanel.min。 */
|
|
204
|
+
min: {
|
|
205
|
+
type: NumberConstructor;
|
|
206
|
+
default: number;
|
|
207
|
+
};
|
|
208
|
+
/** @deprecated 使用 USplitterPanel.max。 */
|
|
209
|
+
max: {
|
|
210
|
+
type: NumberConstructor;
|
|
211
|
+
default: number;
|
|
212
|
+
};
|
|
213
|
+
}>> & Readonly<{
|
|
214
|
+
onChange?: ((_size: number) => any) | undefined;
|
|
215
|
+
onResize?: ((_detail: SplitterResizeDetail) => any) | undefined;
|
|
216
|
+
onCollapse?: ((_detail: SplitterCollapseDetail) => any) | undefined;
|
|
217
|
+
"onUpdate:modelValue"?: ((_size: number) => any) | undefined;
|
|
218
|
+
"onUpdate:sizes"?: ((_sizes: number[]) => any) | undefined;
|
|
219
|
+
onSizesChange?: ((_sizes: number[]) => any) | undefined;
|
|
220
|
+
onResizeStart?: ((_detail: SplitterResizeDetail) => any) | undefined;
|
|
221
|
+
onResizeEnd?: ((_detail: SplitterResizeDetail) => any) | undefined;
|
|
222
|
+
}>, {
|
|
223
|
+
class: string;
|
|
224
|
+
max: number;
|
|
225
|
+
min: number;
|
|
226
|
+
direction: SplitterDirection;
|
|
227
|
+
modelValue: number;
|
|
228
|
+
defaultSize: number;
|
|
229
|
+
defaultSizes: number[];
|
|
230
|
+
sizes: number[];
|
|
231
|
+
keyboardStep: number;
|
|
232
|
+
lazy: boolean;
|
|
233
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
234
|
+
//# sourceMappingURL=splitter.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"splitter.vue.d.ts","sourceRoot":"","sources":["../../src/components/splitter.vue"],"names":[],"mappings":"AAolBA,OAAO,EAQL,KAAK,QAAQ,EACb,KAAK,KAAK,EACX,MAAM,KAAK,CAAA;AAGZ,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG,UAAU,CAAA;AAEzD,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,MAAM,CAAA;IACtB,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB;AAED,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,OAAO,CAAA;IAClB,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,iBAAiB,CAAA;IAC7B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,wCAAwC;IACxC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,wCAAwC;IACxC,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAoJD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAaM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAUtC,CAAA;wBAEmB,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;;cAKI,QAAQ,CAAC,iBAAiB,CAAC;;;;cAI5B,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;cAIlB,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;IAgBnC,gEAAgE;;;;;IAKhE,oCAAoC;;;;;IAKpC,yCAAyC;;;;;IAKzC,yCAAyC;;;;;;;;iCAOZ,MAAM;6BACV,MAAM,EAAE;oBACjB,MAAM;0BACA,MAAM,EAAE;wBACV,sBAAsB;2BACnB,oBAAoB;sBACzB,oBAAoB;yBACjB,oBAAoB;;;cArDvB,QAAQ,CAAC,iBAAiB,CAAC;;;;cAI5B,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;cAIlB,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;IAgBnC,gEAAgE;;;;;IAKhE,oCAAoC;;;;;IAKpC,yCAAyC;;;;;IAKzC,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;4EAkU3C,CAAC"}
|