@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
|
@@ -16,24 +16,25 @@ export declare const UAlertDescription: import('vue').DefineComponent<{
|
|
|
16
16
|
}> & Readonly<{}>, {
|
|
17
17
|
class: string;
|
|
18
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
-
declare const _default:
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
20
22
|
/** 提示样式变体 */
|
|
21
|
-
variant?: "default" | "
|
|
23
|
+
variant?: "default" | "success" | "warning" | "info" | "destructive";
|
|
22
24
|
/** 额外 CSS 类名 */
|
|
23
25
|
class?: string;
|
|
24
26
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
25
27
|
/** 提示样式变体 */
|
|
26
|
-
variant?: "default" | "
|
|
28
|
+
variant?: "default" | "success" | "warning" | "info" | "destructive";
|
|
27
29
|
/** 额外 CSS 类名 */
|
|
28
30
|
class?: string;
|
|
29
31
|
}> & Readonly<{}>, {
|
|
30
|
-
variant: "default" | "
|
|
32
|
+
variant: "default" | "success" | "warning" | "info" | "destructive";
|
|
31
33
|
class: string;
|
|
32
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
33
|
-
default
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
35
|
+
default?: (props: {}) => any;
|
|
34
36
|
}>;
|
|
35
|
-
|
|
36
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
38
|
new (): {
|
|
38
39
|
$slots: S;
|
|
39
40
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.vue.d.ts","sourceRoot":"","sources":["../../src/components/alert.vue"],"names":[],"mappings":"AAKA;
|
|
1
|
+
{"version":3,"file":"alert.vue.d.ts","sourceRoot":"","sources":["../../src/components/alert.vue"],"names":[],"mappings":"AAKA;AA4IA,eAAO,MAAM,WAAW;YApBd,MAAM;;;;YAAN,MAAM;;;4EAoBgG,CAAA;AAChH,eAAO,MAAM,iBAAiB;YArBpB,MAAM;;;;YAAN,MAAM;;;4EAqB+G,CAAA;wBAC1G,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;IAQhB,aAAa;;IAEb,gBAAgB;YACR,MAAM;;IAHd,aAAa;;IAEb,gBAAgB;YACR,MAAM;;;WAAN,MAAM;;cA8FF,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"}
|
|
@@ -17,10 +17,11 @@ interface Props {
|
|
|
17
17
|
/** 额外 CSS 类名 */
|
|
18
18
|
class?: string;
|
|
19
19
|
}
|
|
20
|
-
declare const
|
|
20
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
21
21
|
size: AvatarGroupSize;
|
|
22
22
|
class: string;
|
|
23
23
|
max: number;
|
|
24
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
25
26
|
export default _default;
|
|
26
27
|
//# sourceMappingURL=avatar-group.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar-group.vue.d.ts","sourceRoot":"","sources":["../../src/components/avatar-group.vue"],"names":[],"mappings":"AAKA;
|
|
1
|
+
{"version":3,"file":"avatar-group.vue.d.ts","sourceRoot":"","sources":["../../src/components/avatar-group.vue"],"names":[],"mappings":"AAKA;AAsKA,KAAK,eAAe,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAAA;AAE9C,UAAU,UAAU;IAClB,eAAe;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,gBAAgB;IAChB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,kBAAkB;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,UAAU,KAAK;IACb,aAAa;IACb,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,+BAA+B;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW;IACX,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,gBAAgB;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AA4LD,QAAA,MAAM,YAAY;UA/LT,eAAe;WAEd,MAAM;SAJR,MAAM;6EAoMZ,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -59,7 +59,9 @@ export declare const UAvatarFallback: import('vue').DefineComponent<import('vue'
|
|
|
59
59
|
}>> & Readonly<{}>, {
|
|
60
60
|
class: string;
|
|
61
61
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
62
|
-
declare const _default:
|
|
62
|
+
declare const _default: typeof __VLS_export;
|
|
63
|
+
export default _default;
|
|
64
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
63
65
|
/** 头像尺寸 */
|
|
64
66
|
size?: "sm" | "lg" | "md" | "xl";
|
|
65
67
|
/** 额外 CSS 类名 */
|
|
@@ -72,11 +74,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
72
74
|
}> & Readonly<{}>, {
|
|
73
75
|
size: "sm" | "lg" | "md" | "xl";
|
|
74
76
|
class: string;
|
|
75
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
76
|
-
default
|
|
77
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
78
|
+
default?: (props: {}) => any;
|
|
77
79
|
}>;
|
|
78
|
-
|
|
79
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
80
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
80
81
|
new (): {
|
|
81
82
|
$slots: S;
|
|
82
83
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.vue.d.ts","sourceRoot":"","sources":["../../src/components/avatar.vue"],"names":[],"mappings":"AAKA;
|
|
1
|
+
{"version":3,"file":"avatar.vue.d.ts","sourceRoot":"","sources":["../../src/components/avatar.vue"],"names":[],"mappings":"AAKA;AA4MA,eAAO,MAAM,YAAY;IAIrB,WAAW;;;;;IAKX,WAAW;;;;;IAKX,gBAAgB;;;;;;;;oBAOA,KAAK;mBACN,KAAK;;IAlBpB,WAAW;;;;;IAKX,WAAW;;;;;IAKX,gBAAgB;;;;;;;;;;;4EAuDlB,CAAA;AAEF,eAAO,MAAM,eAAe;IAGxB,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EA2BlB,CAAA;wBACmB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;IAQd,WAAW;;IAEX,gBAAgB;YACR,MAAM;;IAHd,WAAW;;IAEX,gBAAgB;YACR,MAAM;;;WAAN,MAAM;;cAoEJ,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"}
|
|
@@ -1,26 +1,19 @@
|
|
|
1
|
-
type BadgeVariant = 'default' | 'secondary' | 'destructive' | 'outline' | 'success' | 'warning';
|
|
2
|
-
interface
|
|
1
|
+
export type BadgeVariant = 'default' | 'secondary' | 'destructive' | 'outline' | 'success' | 'warning';
|
|
2
|
+
export interface BadgeProps {
|
|
3
3
|
/** 徽标样式变体 */
|
|
4
4
|
variant?: BadgeVariant;
|
|
5
5
|
/** 额外 CSS 类名 */
|
|
6
6
|
class?: string;
|
|
7
7
|
}
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
default?(_: {}): any;
|
|
12
|
-
};
|
|
13
|
-
refs: {};
|
|
14
|
-
rootEl: HTMLSpanElement;
|
|
15
|
-
};
|
|
16
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<BadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
18
11
|
variant: BadgeVariant;
|
|
19
12
|
class: string;
|
|
20
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
type
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
14
|
+
default?: (props: {}) => any;
|
|
15
|
+
}>;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
17
|
new (): {
|
|
25
18
|
$slots: S;
|
|
26
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.vue.d.ts","sourceRoot":"","sources":["../../src/components/badge.vue"],"names":[],"mappings":"AAKA;
|
|
1
|
+
{"version":3,"file":"badge.vue.d.ts","sourceRoot":"","sources":["../../src/components/badge.vue"],"names":[],"mappings":"AAKA;AAmEA,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAA;AAEtG,MAAM,WAAW,UAAU;IACzB,aAAa;IACb,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,gBAAgB;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;aALN,YAAY;WAEd,MAAM;;cAmEF,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"}
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
export interface BreadcrumbProps {
|
|
2
|
+
class?: string;
|
|
3
|
+
}
|
|
4
|
+
export interface BreadcrumbItemProps {
|
|
5
|
+
class?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface BreadcrumbLinkProps {
|
|
8
|
+
current?: boolean;
|
|
9
|
+
href?: string;
|
|
10
|
+
class?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface BreadcrumbSeparatorProps {
|
|
13
|
+
class?: string;
|
|
14
|
+
}
|
|
1
15
|
export declare const UBreadcrumbItem: import('vue').DefineComponent<{
|
|
2
16
|
class?: string | undefined;
|
|
3
17
|
}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
@@ -55,19 +69,14 @@ export declare const UBreadcrumbSeparator: import('vue').DefineComponent<{
|
|
|
55
69
|
}> & Readonly<{}>, {
|
|
56
70
|
class: string;
|
|
57
71
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
58
|
-
declare const _default:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
62
|
-
/** 导航容器额外 CSS 类名 */
|
|
63
|
-
class?: string;
|
|
64
|
-
}> & Readonly<{}>, {
|
|
72
|
+
declare const _default: typeof __VLS_export;
|
|
73
|
+
export default _default;
|
|
74
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<BreadcrumbProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BreadcrumbProps> & Readonly<{}>, {
|
|
65
75
|
class: string;
|
|
66
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
67
|
-
default
|
|
76
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
77
|
+
default?: (props: {}) => any;
|
|
68
78
|
}>;
|
|
69
|
-
|
|
70
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
79
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
71
80
|
new (): {
|
|
72
81
|
$slots: S;
|
|
73
82
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.vue.d.ts","sourceRoot":"","sources":["../../src/components/breadcrumb.vue"],"names":[],"mappings":"AAKA;
|
|
1
|
+
{"version":3,"file":"breadcrumb.vue.d.ts","sourceRoot":"","sources":["../../src/components/breadcrumb.vue"],"names":[],"mappings":"AAKA;AA6JA,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAID,eAAO,MAAM,eAAe;YAflB,MAAM;;;;YAAN,MAAM;;;4EA4Bd,CAAA;AAEF,eAAO,MAAM,eAAe;IAIxB,aAAa;;;;;IAKb,WAAW;;;;;IAKX,gBAAgB;;;;;;;;IAVhB,aAAa;;;;;IAKb,WAAW;;;;;IAKX,gBAAgB;;;;;;;;;4EAkClB,CAAA;AAEF,eAAO,MAAM,oBAAoB;YAhFvB,MAAM;;;;YAAN,MAAM;;;4EAmGd,CAAA;wBACmB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;WAzGR,MAAM;;cAgKF,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"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ButtonShape, ButtonSize, ButtonTone, ButtonVariant } from './context/button-group';
|
|
3
|
+
export type { ButtonGroupProps } from './context/button-group';
|
|
4
|
+
export declare const UButtonGroup: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
variant: PropType<ButtonVariant>;
|
|
6
|
+
tone: PropType<ButtonTone>;
|
|
7
|
+
size: PropType<ButtonSize>;
|
|
8
|
+
shape: PropType<ButtonShape>;
|
|
9
|
+
disabled: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
orientation: {
|
|
14
|
+
type: PropType<"horizontal" | "vertical">;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
attached: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
class: StringConstructor;
|
|
22
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
|
+
variant: PropType<ButtonVariant>;
|
|
26
|
+
tone: PropType<ButtonTone>;
|
|
27
|
+
size: PropType<ButtonSize>;
|
|
28
|
+
shape: PropType<ButtonShape>;
|
|
29
|
+
disabled: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
orientation: {
|
|
34
|
+
type: PropType<"horizontal" | "vertical">;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
attached: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
class: StringConstructor;
|
|
42
|
+
}>> & Readonly<{}>, {
|
|
43
|
+
disabled: boolean;
|
|
44
|
+
orientation: "horizontal" | "vertical";
|
|
45
|
+
attached: boolean;
|
|
46
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
48
|
+
export default _default;
|
|
49
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
50
|
+
variant: PropType<ButtonVariant>;
|
|
51
|
+
tone: PropType<ButtonTone>;
|
|
52
|
+
size: PropType<ButtonSize>;
|
|
53
|
+
shape: PropType<ButtonShape>;
|
|
54
|
+
disabled: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: undefined;
|
|
57
|
+
};
|
|
58
|
+
orientation: {
|
|
59
|
+
type: PropType<"horizontal" | "vertical">;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
attached: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
class: StringConstructor;
|
|
67
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
70
|
+
variant: PropType<ButtonVariant>;
|
|
71
|
+
tone: PropType<ButtonTone>;
|
|
72
|
+
size: PropType<ButtonSize>;
|
|
73
|
+
shape: PropType<ButtonShape>;
|
|
74
|
+
disabled: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: undefined;
|
|
77
|
+
};
|
|
78
|
+
orientation: {
|
|
79
|
+
type: PropType<"horizontal" | "vertical">;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
attached: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
class: StringConstructor;
|
|
87
|
+
}>> & Readonly<{}>, {
|
|
88
|
+
disabled: boolean;
|
|
89
|
+
orientation: "horizontal" | "vertical";
|
|
90
|
+
attached: boolean;
|
|
91
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
92
|
+
//# sourceMappingURL=button-group.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-group.vue.d.ts","sourceRoot":"","sources":["../../src/components/button-group.vue"],"names":[],"mappings":"AAKA;AAmHA,OAAO,EAML,KAAK,QAAQ,EACd,MAAM,KAAK,CAAA;AAOZ,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,aAAa,EACnB,MAAM,wBAAwB,CAAA;AAE/B,YAAY,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAe9D,eAAO,MAAM,YAAY;aAIF,QAAQ,CAAC,aAAa,CAAC;UAC1B,QAAQ,CAAC,UAAU,CAAC;UACpB,QAAQ,CAAC,UAAU,CAAC;WACnB,QAAQ,CAAC,WAAW,CAAC;;;;;;cAGpB,QAAQ,CAAC,YAAY,GAAG,UAAU,CAAC;;;;;;;;;;;aANlC,QAAQ,CAAC,aAAa,CAAC;UAC1B,QAAQ,CAAC,UAAU,CAAC;UACpB,QAAQ,CAAC,UAAU,CAAC;WACnB,QAAQ,CAAC,WAAW,CAAC;;;;;;cAGpB,QAAQ,CAAC,YAAY,GAAG,UAAU,CAAC;;;;;;;;;;;;4EAuDvD,CAAA;wBAEmB,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;aAvEK,QAAQ,CAAC,aAAa,CAAC;UAC1B,QAAQ,CAAC,UAAU,CAAC;UACpB,QAAQ,CAAC,UAAU,CAAC;WACnB,QAAQ,CAAC,WAAW,CAAC;;;;;;cAGpB,QAAQ,CAAC,YAAY,GAAG,UAAU,CAAC;;;;;;;;;;;aANlC,QAAQ,CAAC,aAAa,CAAC;UAC1B,QAAQ,CAAC,UAAU,CAAC;UACpB,QAAQ,CAAC,UAAU,CAAC;WACnB,QAAQ,CAAC,WAAW,CAAC;;;;;;cAGpB,QAAQ,CAAC,YAAY,GAAG,UAAU,CAAC;;;;;;;;;;;;4EAiExB,CAAC"}
|
|
@@ -1,46 +1,84 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
1
|
+
import { PropType, StyleValue } from 'vue';
|
|
2
|
+
import { ButtonLoadingPlacement, ButtonNativeType, ButtonShape, ButtonSize, ButtonTone, ButtonVariant } from './context/button-group';
|
|
3
|
+
export type { ButtonLoadingPlacement, ButtonNativeType, ButtonProps, ButtonShape, ButtonSize, ButtonTone, ButtonVariant, } from './context/button-group';
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
5
|
+
export default _default;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
|
+
variant: PropType<ButtonVariant>;
|
|
8
|
+
tone: PropType<ButtonTone>;
|
|
9
|
+
size: PropType<ButtonSize>;
|
|
10
|
+
shape: PropType<ButtonShape>;
|
|
11
|
+
block: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
loading: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
loadingText: StringConstructor;
|
|
20
|
+
loadingPlacement: {
|
|
21
|
+
type: PropType<ButtonLoadingPlacement>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
disabled: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
nativeType: {
|
|
29
|
+
type: PropType<ButtonNativeType>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
class: StringConstructor;
|
|
33
|
+
style: PropType<StyleValue>;
|
|
34
|
+
}>, {
|
|
35
|
+
ref: import('vue').Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
36
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
37
|
click: (event: MouseEvent) => any;
|
|
33
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
38
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
39
|
+
variant: PropType<ButtonVariant>;
|
|
40
|
+
tone: PropType<ButtonTone>;
|
|
41
|
+
size: PropType<ButtonSize>;
|
|
42
|
+
shape: PropType<ButtonShape>;
|
|
43
|
+
block: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
loading: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
loadingText: StringConstructor;
|
|
52
|
+
loadingPlacement: {
|
|
53
|
+
type: PropType<ButtonLoadingPlacement>;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
disabled: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
60
|
+
nativeType: {
|
|
61
|
+
type: PropType<ButtonNativeType>;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
class: StringConstructor;
|
|
65
|
+
style: PropType<StyleValue>;
|
|
66
|
+
}>> & Readonly<{
|
|
34
67
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
35
68
|
}>, {
|
|
36
|
-
variant: ButtonVariant;
|
|
37
|
-
size: ButtonSize;
|
|
38
|
-
loading: boolean;
|
|
39
69
|
disabled: boolean;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
70
|
+
block: boolean;
|
|
71
|
+
loading: boolean;
|
|
72
|
+
loadingPlacement: ButtonLoadingPlacement;
|
|
73
|
+
nativeType: ButtonNativeType;
|
|
74
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
75
|
+
loading?: (props: {}) => any;
|
|
76
|
+
} & {
|
|
77
|
+
default?: (props: {}) => any;
|
|
78
|
+
} & {
|
|
79
|
+
loading?: (props: {}) => any;
|
|
80
|
+
}>;
|
|
81
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
82
|
new (): {
|
|
45
83
|
$slots: S;
|
|
46
84
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.vue.d.ts","sourceRoot":"","sources":["../../src/components/button.vue"],"names":[],"mappings":"AAKA;
|
|
1
|
+
{"version":3,"file":"button.vue.d.ts","sourceRoot":"","sources":["../../src/components/button.vue"],"names":[],"mappings":"AAKA;AA+RA,OAAO,EAAyB,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAE,MAAM,KAAK,CAAA;AAQ3E,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,aAAa,EACnB,MAAM,wBAAwB,CAAA;AAG/B,YAAY,EACV,sBAAsB,EACtB,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,UAAU,EACV,UAAU,EACV,aAAa,GACd,MAAM,wBAAwB,CAAA;wBACV,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;aAiVG,QAAQ,CAAC,aAAa,CAAC;UAC1B,QAAQ,CAAC,UAAU,CAAC;UACpB,QAAQ,CAAC,UAAU,CAAC;WACnB,QAAQ,CAAC,WAAW,CAAC;;;;;;;;;;;cAKpB,QAAQ,CAAC,sBAAsB,CAAC;;;;;;;;cAKhC,QAAQ,CAAC,gBAAgB,CAAC;;;;WAIV,QAAQ,CAAC,UAAU,CAAC;;;;;;aAjBnC,QAAQ,CAAC,aAAa,CAAC;UAC1B,QAAQ,CAAC,UAAU,CAAC;UACpB,QAAQ,CAAC,UAAU,CAAC;WACnB,QAAQ,CAAC,WAAW,CAAC;;;;;;;;;;;cAKpB,QAAQ,CAAC,sBAAsB,CAAC;;;;;;;;cAKhC,QAAQ,CAAC,gBAAgB,CAAC;;;;WAIV,QAAQ,CAAC,UAAU,CAAC;;;;;;;;;;cA9B1C,CAAC,KAAK,IAAgB,KAAK,GAAG;;cAC9B,CAAC,KAAK,IAAgB,KAAK,GAAG;;cAC9B,CAAC,KAAK,IAAiB,KAAK,GAAG;EAgCzC,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
export interface CardProps {
|
|
2
|
+
/** 额外 CSS 类名 */
|
|
3
|
+
class?: string;
|
|
4
|
+
}
|
|
5
|
+
export type CardHeaderProps = CardProps;
|
|
6
|
+
export type CardTitleProps = CardProps;
|
|
7
|
+
export type CardDescriptionProps = CardProps;
|
|
8
|
+
export type CardContentProps = CardProps;
|
|
9
|
+
export type CardFooterProps = CardProps;
|
|
1
10
|
export declare const UCardHeader: import('vue').DefineComponent<{
|
|
2
11
|
class?: string | undefined;
|
|
3
12
|
}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
@@ -43,19 +52,14 @@ export declare const UCardFooter: import('vue').DefineComponent<{
|
|
|
43
52
|
}> & Readonly<{}>, {
|
|
44
53
|
class: string;
|
|
45
54
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
46
|
-
declare const _default:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
50
|
-
/** 额外 CSS 类名 */
|
|
51
|
-
class?: string;
|
|
52
|
-
}> & Readonly<{}>, {
|
|
55
|
+
declare const _default: typeof __VLS_export;
|
|
56
|
+
export default _default;
|
|
57
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<CardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CardProps> & Readonly<{}>, {
|
|
53
58
|
class: string;
|
|
54
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
55
|
-
default
|
|
59
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
60
|
+
default?: (props: {}) => any;
|
|
56
61
|
}>;
|
|
57
|
-
|
|
58
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
59
63
|
new (): {
|
|
60
64
|
$slots: S;
|
|
61
65
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.vue.d.ts","sourceRoot":"","sources":["../../src/components/card.vue"],"names":[],"mappings":"AAKA;
|
|
1
|
+
{"version":3,"file":"card.vue.d.ts","sourceRoot":"","sources":["../../src/components/card.vue"],"names":[],"mappings":"AAKA;AA+EA,MAAM,WAAW,SAAS;IACxB,gBAAgB;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AACD,MAAM,MAAM,eAAe,GAAG,SAAS,CAAA;AACvC,MAAM,MAAM,cAAc,GAAG,SAAS,CAAA;AACtC,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAA;AAC5C,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAA;AACxC,MAAM,MAAM,eAAe,GAAG,SAAS,CAAA;AAmBvC,eAAO,MAAM,WAAW;YAzBd,MAAM;;;;YAAN,MAAM;;;4EAyBkJ,CAAA;AAClK,eAAO,MAAM,UAAU;YA1Bb,MAAM;;;;YAAN,MAAM;;;4EA0B4G,CAAA;AAC5H,eAAO,MAAM,gBAAgB;YA3BnB,MAAM;;;;YAAN,MAAM;;;4EA2B4G,CAAA;AAC5H,eAAO,MAAM,YAAY;YA5Bf,MAAM;;;;YAAN,MAAM;;;4EA4BwJ,CAAA;AACxK,eAAO,MAAM,WAAW;YA7Bd,MAAM;;;;YAAN,MAAM;;;4EA6B2I,CAAA;wBACtI,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;WA/BR,MAAM;;cA2EF,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"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CheckboxValue as CheckboxGroupValue, CheckboxValue } from './context/checkbox-context';
|
|
2
|
+
import { ControlSize } from './config-provider.vue';
|
|
3
|
+
export interface CheckboxGroupProps {
|
|
4
|
+
modelValue?: readonly CheckboxValue[];
|
|
5
|
+
defaultValue?: readonly CheckboxValue[];
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
size?: ControlSize;
|
|
8
|
+
name?: string;
|
|
9
|
+
form?: string;
|
|
10
|
+
orientation?: 'horizontal' | 'vertical';
|
|
11
|
+
min?: number;
|
|
12
|
+
max?: number;
|
|
13
|
+
class?: string;
|
|
14
|
+
}
|
|
15
|
+
export type { CheckboxValue };
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<CheckboxGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
change: (value: CheckboxGroupValue[]) => any;
|
|
20
|
+
"update:modelValue": (value: CheckboxGroupValue[]) => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<CheckboxGroupProps> & Readonly<{
|
|
22
|
+
onChange?: ((value: CheckboxGroupValue[]) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: CheckboxGroupValue[]) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
size: ControlSize;
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
name: string;
|
|
28
|
+
form: string;
|
|
29
|
+
class: string;
|
|
30
|
+
max: number;
|
|
31
|
+
min: number;
|
|
32
|
+
orientation: "horizontal" | "vertical";
|
|
33
|
+
modelValue: readonly CheckboxValue[];
|
|
34
|
+
defaultValue: readonly CheckboxValue[];
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
36
|
+
default?: (props: {}) => any;
|
|
37
|
+
}>;
|
|
38
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=checkbox-group.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-group.vue.d.ts","sourceRoot":"","sources":["../../src/components/checkbox-group.vue"],"names":[],"mappings":"AAkJA,OAAO,EAEL,KAAK,aAAa,IAAI,kBAAkB,EACzC,MAAM,4BAA4B,CAAA;AAGnC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,MAAM,WAAW,kBAAkB;IACjC,UAAU,CAAC,EAAE,SAAS,aAAa,EAAE,CAAA;IACrC,YAAY,CAAC,EAAE,SAAS,aAAa,EAAE,CAAA;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACvC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,YAAY,EAAE,aAAa,EAAE,CAAA;wBACR,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;;;;;;;UAXT,WAAW;cADP,OAAO;UAEX,MAAM;UACN,MAAM;WAIL,MAAM;SADR,MAAM;SADN,MAAM;iBADE,YAAY,GAAG,UAAU;gBAN1B,SAAS,aAAa,EAAE;kBACtB,SAAS,aAAa,EAAE;;cAwJ3B,CAAC,KAAK,IAAgB,KAAK,GAAG;EAaxC,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,42 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* <UCheckbox :indeterminate="true" />
|
|
6
|
-
* <UCheckbox size="lg" disabled />
|
|
7
|
-
*/
|
|
8
|
-
type CheckboxSize = 'sm' | 'default' | 'lg';
|
|
9
|
-
interface Props {
|
|
10
|
-
/** 是否选中,配合 v-model 使用 */
|
|
1
|
+
import { ControlSize } from './config-provider.vue';
|
|
2
|
+
import { CheckboxValue } from './context/checkbox-context';
|
|
3
|
+
export type CheckboxSize = ControlSize;
|
|
4
|
+
export interface CheckboxProps {
|
|
11
5
|
modelValue?: boolean;
|
|
12
|
-
|
|
6
|
+
defaultChecked?: boolean;
|
|
13
7
|
indeterminate?: boolean;
|
|
14
|
-
/** 尺寸变体 */
|
|
15
8
|
size?: CheckboxSize;
|
|
16
|
-
/** 是否禁用 */
|
|
17
9
|
disabled?: boolean;
|
|
18
|
-
/** 右侧标签,有值时整块可点击 */
|
|
19
10
|
label?: string;
|
|
20
|
-
|
|
11
|
+
value?: CheckboxValue;
|
|
21
12
|
id?: string;
|
|
22
|
-
/** 额外 class */
|
|
23
13
|
class?: string;
|
|
24
|
-
/** 标签额外 class */
|
|
25
14
|
labelClass?: string;
|
|
26
15
|
}
|
|
27
|
-
declare const _default:
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<CheckboxProps, {
|
|
19
|
+
focus: (options?: FocusOptions) => void;
|
|
20
|
+
blur: () => void;
|
|
21
|
+
el: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
22
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
23
|
change: (value: boolean) => any;
|
|
29
24
|
"update:modelValue": (value: boolean) => any;
|
|
30
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<CheckboxProps> & Readonly<{
|
|
31
26
|
onChange?: ((value: boolean) => any) | undefined;
|
|
32
27
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
33
28
|
}>, {
|
|
34
|
-
size: CheckboxSize;
|
|
35
29
|
disabled: boolean;
|
|
36
30
|
modelValue: boolean;
|
|
31
|
+
defaultChecked: boolean;
|
|
37
32
|
indeterminate: boolean;
|
|
38
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
34
|
+
label?: (props: {}) => any;
|
|
35
|
+
}>;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
42
41
|
//# sourceMappingURL=checkbox.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.vue.d.ts","sourceRoot":"","sources":["../../src/components/checkbox.vue"],"names":[],"mappings":"AAKA;
|
|
1
|
+
{"version":3,"file":"checkbox.vue.d.ts","sourceRoot":"","sources":["../../src/components/checkbox.vue"],"names":[],"mappings":"AAKA;AAgTA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,MAAM,MAAM,YAAY,GAAG,WAAW,CAAA;AAEtC,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;sBA0IO,YAAY;;;;;;;;;;cAlJxB,OAAO;gBAJL,OAAO;oBACH,OAAO;mBACR,OAAO;;YAwWb,CAAC,KAAK,IAAiB,KAAK,GAAG;EAevC,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|