@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,38 @@
|
|
|
1
|
+
import { PaginationLayout } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Total number of records */
|
|
5
|
+
total: number;
|
|
6
|
+
/** Items per page */
|
|
7
|
+
pageSize?: number;
|
|
8
|
+
/** Current page (v-model) */
|
|
9
|
+
currentPage?: number;
|
|
10
|
+
/** Layout components to show */
|
|
11
|
+
layout?: PaginationLayout;
|
|
12
|
+
/** Max visible page numbers */
|
|
13
|
+
pagerCount?: number;
|
|
14
|
+
/** Disabled state */
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
18
|
+
change: (page: number, pageSize: number) => any;
|
|
19
|
+
"update:currentPage": (page: number) => any;
|
|
20
|
+
"update:pageSize": (size: number) => any;
|
|
21
|
+
"prev-click": (page: number) => any;
|
|
22
|
+
"next-click": (page: number) => any;
|
|
23
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
onChange?: ((page: number, pageSize: number) => any) | undefined;
|
|
25
|
+
"onUpdate:currentPage"?: ((page: number) => any) | undefined;
|
|
26
|
+
"onUpdate:pageSize"?: ((size: number) => any) | undefined;
|
|
27
|
+
"onPrev-click"?: ((page: number) => any) | undefined;
|
|
28
|
+
"onNext-click"?: ((page: number) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
pageSize: number;
|
|
32
|
+
currentPage: number;
|
|
33
|
+
layout: PaginationLayout;
|
|
34
|
+
pagerCount: number;
|
|
35
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
37
|
+
export default _default;
|
|
38
|
+
//# sourceMappingURL=pagination.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.vue.d.ts","sourceRoot":"","sources":["../../../src/pagination/pagination.vue"],"names":[],"mappings":";AAuWA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE/C,KAAK,WAAW,GAAG;IACf,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,qBAAqB;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gCAAgC;IAChC,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,+BAA+B;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AA0SJ,QAAA,MAAM,YAAY;;;;;;;;;;;;;cA3SH,OAAO;cARP,MAAM;iBAEH,MAAM;YAEX,gBAAgB;gBAEZ,MAAM;6EAiTrB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ZcPagination type definitions
|
|
3
|
+
*/
|
|
4
|
+
/** Layout token string */
|
|
5
|
+
export type PaginationLayout = string;
|
|
6
|
+
/** Pagination props */
|
|
7
|
+
export interface PaginationProps {
|
|
8
|
+
/** Total number of records */
|
|
9
|
+
total: number;
|
|
10
|
+
/** Items per page */
|
|
11
|
+
pageSize?: number;
|
|
12
|
+
/** Current page (v-model) */
|
|
13
|
+
currentPage?: number;
|
|
14
|
+
/** Layout components to show (comma-separated: prev, pager, next, jumper, total, sizes) */
|
|
15
|
+
layout?: PaginationLayout;
|
|
16
|
+
/** Max visible page numbers */
|
|
17
|
+
pagerCount?: number;
|
|
18
|
+
/** Disabled state */
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
}
|
|
21
|
+
/** Pagination emit events */
|
|
22
|
+
export interface PaginationEmits {
|
|
23
|
+
(e: 'update:currentPage', page: number): void;
|
|
24
|
+
(e: 'update:pageSize', size: number): void;
|
|
25
|
+
(e: 'change', page: number, pageSize: number): void;
|
|
26
|
+
(e: 'prev-click', page: number): void;
|
|
27
|
+
(e: 'next-click', page: number): void;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/pagination/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,0BAA0B;AAC1B,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAA;AAErC,uBAAuB;AACvB,MAAM,WAAW,eAAe;IAC9B,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,qBAAqB;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2FAA2F;IAC3F,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,+BAA+B;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,6BAA6B;AAC7B,MAAM,WAAW,eAAe;IAC9B,CAAC,CAAC,EAAE,oBAAoB,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7C,CAAC,CAAC,EAAE,iBAAiB,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1C,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACnD,CAAC,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACrC,CAAC,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CACtC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
export type PopconfirmPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
3
|
+
export type PopconfirmTrigger = 'hover' | 'click';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
/** Confirmation title text */
|
|
6
|
+
title?: string;
|
|
7
|
+
/** Description text below title */
|
|
8
|
+
description?: string;
|
|
9
|
+
/** Confirm button text */
|
|
10
|
+
confirmButtonText?: string;
|
|
11
|
+
/** Cancel button text */
|
|
12
|
+
cancelButtonText?: string;
|
|
13
|
+
/** Confirm button type */
|
|
14
|
+
confirmButtonType?: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'default';
|
|
15
|
+
/** Cancel button type */
|
|
16
|
+
cancelButtonType?: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'default';
|
|
17
|
+
/** Dangerous action (red confirm button) */
|
|
18
|
+
danger?: boolean;
|
|
19
|
+
/** Hidden cancel button */
|
|
20
|
+
hideCancelButton?: boolean;
|
|
21
|
+
/** Hidden confirm button */
|
|
22
|
+
hideConfirmButton?: boolean;
|
|
23
|
+
/** Disabled */
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
/** Placement relative to reference element */
|
|
26
|
+
placement?: PopconfirmPlacement;
|
|
27
|
+
/** Trigger event */
|
|
28
|
+
trigger?: PopconfirmTrigger;
|
|
29
|
+
/** Visibility (v-model) */
|
|
30
|
+
visible?: boolean;
|
|
31
|
+
/** Show arrow */
|
|
32
|
+
showArrow?: boolean;
|
|
33
|
+
/** Popper width */
|
|
34
|
+
width?: number;
|
|
35
|
+
/** Icon class */
|
|
36
|
+
icon?: string;
|
|
37
|
+
};
|
|
38
|
+
declare var __VLS_1: {};
|
|
39
|
+
type __VLS_Slots = {} & {
|
|
40
|
+
default?: (props: typeof __VLS_1) => any;
|
|
41
|
+
};
|
|
42
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
43
|
+
"update:visible": (val: boolean) => any;
|
|
44
|
+
cancel: () => any;
|
|
45
|
+
confirm: () => any;
|
|
46
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
47
|
+
"onUpdate:visible"?: ((val: boolean) => any) | undefined;
|
|
48
|
+
onCancel?: (() => any) | undefined;
|
|
49
|
+
onConfirm?: (() => any) | undefined;
|
|
50
|
+
}>, {
|
|
51
|
+
danger: boolean;
|
|
52
|
+
disabled: boolean;
|
|
53
|
+
icon: string;
|
|
54
|
+
title: string;
|
|
55
|
+
width: number;
|
|
56
|
+
visible: boolean;
|
|
57
|
+
description: string;
|
|
58
|
+
placement: PopconfirmPlacement;
|
|
59
|
+
trigger: PopconfirmTrigger;
|
|
60
|
+
showArrow: boolean;
|
|
61
|
+
confirmButtonText: string;
|
|
62
|
+
cancelButtonText: string;
|
|
63
|
+
confirmButtonType: "primary" | "success" | "warning" | "danger" | "info" | "default";
|
|
64
|
+
cancelButtonType: "primary" | "success" | "warning" | "danger" | "info" | "default";
|
|
65
|
+
hideCancelButton: boolean;
|
|
66
|
+
hideConfirmButton: boolean;
|
|
67
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
68
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
69
|
+
declare const _default: typeof __VLS_export;
|
|
70
|
+
export default _default;
|
|
71
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
72
|
+
new (): {
|
|
73
|
+
$slots: S;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=popconfirm.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popconfirm.vue.d.ts","sourceRoot":"","sources":["../../../src/popconfirm/popconfirm.vue"],"names":[],"mappings":";AAigBA,MAAM,MAAM,mBAAmB,GAC3B,KAAK,GACL,WAAW,GACX,SAAS,GACT,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,YAAY,GACZ,UAAU,GACV,OAAO,GACP,aAAa,GACb,WAAW,CAAA;AAEf,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,OAAO,CAAA;AAEjD,KAAK,WAAW,GAAG;IACf,8BAA8B;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mCAAmC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,0BAA0B;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,yBAAyB;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,0BAA0B;IAC1B,iBAAiB,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAA;IACrF,yBAAyB;IACzB,gBAAgB,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAA;IACpF,4CAA4C;IAC5C,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,2BAA2B;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,4BAA4B;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,eAAe;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,mBAAmB,CAAA;IAC/B,oBAAoB;IACpB,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAC3B,2BAA2B;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,iBAAiB;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,mBAAmB;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iBAAiB;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAC;AA+ZJ,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;AAQ/C,QAAA,MAAM,UAAU;;;;;;;;;YA5bH,OAAO;cAML,OAAO;UAYX,MAAM;WA9BL,MAAM;WA4BN,MAAM;aAJJ,OAAO;iBAtBH,MAAM;eAkBR,mBAAmB;aAErB,iBAAiB;eAIf,OAAO;uBAtBC,MAAM;sBAEP,MAAM;uBAEL,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS;sBAElE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS;sBAIjE,OAAO;uBAEN,OAAO;6EA4b7B,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,54 @@
|
|
|
1
|
+
import { ProgressType, ProgressStatus } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Progress type */
|
|
5
|
+
type?: ProgressType;
|
|
6
|
+
/** Percentage (0-100) */
|
|
7
|
+
percentage?: number;
|
|
8
|
+
/** Progress status */
|
|
9
|
+
status?: ProgressStatus;
|
|
10
|
+
/** Stroke width in px */
|
|
11
|
+
strokeWidth?: number;
|
|
12
|
+
/** Show text inside the bar */
|
|
13
|
+
textInside?: boolean;
|
|
14
|
+
/** Show percentage text */
|
|
15
|
+
showText?: boolean;
|
|
16
|
+
/** Diameter for circle/dashboard type */
|
|
17
|
+
width?: number;
|
|
18
|
+
/** Custom color (overrides status color) */
|
|
19
|
+
color?: string;
|
|
20
|
+
/** Enable striped animation */
|
|
21
|
+
striped?: boolean;
|
|
22
|
+
/** Animate striped bars */
|
|
23
|
+
stripedFlow?: boolean;
|
|
24
|
+
/** Duration of animation in seconds */
|
|
25
|
+
duration?: number;
|
|
26
|
+
};
|
|
27
|
+
declare var __VLS_1: {
|
|
28
|
+
percentage: number;
|
|
29
|
+
};
|
|
30
|
+
type __VLS_Slots = {} & {
|
|
31
|
+
default?: (props: typeof __VLS_1) => any;
|
|
32
|
+
};
|
|
33
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
34
|
+
type: ProgressType;
|
|
35
|
+
width: number;
|
|
36
|
+
color: string;
|
|
37
|
+
duration: number;
|
|
38
|
+
status: ProgressStatus;
|
|
39
|
+
percentage: number;
|
|
40
|
+
strokeWidth: number;
|
|
41
|
+
textInside: boolean;
|
|
42
|
+
showText: boolean;
|
|
43
|
+
striped: boolean;
|
|
44
|
+
stripedFlow: boolean;
|
|
45
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
50
|
+
new (): {
|
|
51
|
+
$slots: S;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=progress.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress.vue.d.ts","sourceRoot":"","sources":["../../../src/progress/progress.vue"],"names":[],"mappings":";AA+UA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE3D,KAAK,WAAW,GAAG;IACf,oBAAoB;IACpB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,yBAAyB;IACzB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,sBAAsB;IACtB,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,yBAAyB;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+BAA+B;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,+BAA+B;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,2BAA2B;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAC;AA2OJ,QAAA,IAAI,OAAO;;CAAW,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;UAvQL,YAAY;WAYX,MAAM;WAEN,MAAM;cAMH,MAAM;YAhBR,cAAc;gBAFV,MAAM;iBAIL,MAAM;gBAEP,OAAO;cAET,OAAO;aAMR,OAAO;iBAEH,OAAO;6EAwPvB,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,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ZcProgress type definitions
|
|
3
|
+
*/
|
|
4
|
+
/** Progress display type */
|
|
5
|
+
export type ProgressType = 'line' | 'circle' | 'dashboard';
|
|
6
|
+
/** Progress status */
|
|
7
|
+
export type ProgressStatus = 'primary' | 'success' | 'warning' | 'error' | 'info';
|
|
8
|
+
/** Progress props */
|
|
9
|
+
export interface ProgressProps {
|
|
10
|
+
/** Progress type */
|
|
11
|
+
type?: ProgressType;
|
|
12
|
+
/** Percentage (0-100) */
|
|
13
|
+
percentage?: number;
|
|
14
|
+
/** Progress status */
|
|
15
|
+
status?: ProgressStatus;
|
|
16
|
+
/** Stroke width in px */
|
|
17
|
+
strokeWidth?: number;
|
|
18
|
+
/** Show text inside the bar */
|
|
19
|
+
textInside?: boolean;
|
|
20
|
+
/** Show percentage text */
|
|
21
|
+
showText?: boolean;
|
|
22
|
+
/** Diameter for circle/dashboard type */
|
|
23
|
+
width?: number;
|
|
24
|
+
/** Custom color (overrides status color) */
|
|
25
|
+
color?: string;
|
|
26
|
+
/** Enable striped animation */
|
|
27
|
+
striped?: boolean;
|
|
28
|
+
/** Animate striped bars */
|
|
29
|
+
stripedFlow?: boolean;
|
|
30
|
+
/** Duration of animation in seconds */
|
|
31
|
+
duration?: number;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/progress/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,4BAA4B;AAC5B,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAA;AAE1D,sBAAsB;AACtB,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;AAEjF,qBAAqB;AACrB,MAAM,WAAW,aAAa;IAC5B,oBAAoB;IACpB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,yBAAyB;IACzB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,sBAAsB;IACtB,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,yBAAyB;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+BAA+B;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,+BAA+B;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,2BAA2B;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
export interface RadioGroupContext {
|
|
3
|
+
modelValue: Ref<string | number | boolean>;
|
|
4
|
+
disabled: Ref<boolean>;
|
|
5
|
+
name: Ref<string | undefined>;
|
|
6
|
+
changeEvent: (value: string | number | boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const radioGroupKey: symbol;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots< DefineComponent<{
|
|
12
|
+
modelValue?: string | number | boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
name?: string;
|
|
15
|
+
}, {
|
|
16
|
+
changeEvent: (value: string | number | boolean) => void;
|
|
17
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
18
|
+
"update:modelValue": (value: string | number | boolean) => any;
|
|
19
|
+
change: (value: string | number | boolean) => any;
|
|
20
|
+
}, string, PublicProps, Readonly<{
|
|
21
|
+
modelValue?: string | number | boolean;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
name?: string;
|
|
24
|
+
}> & Readonly<{
|
|
25
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
|
|
26
|
+
onChange?: ((value: string | number | boolean) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
name: string;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
modelValue: string | number | boolean;
|
|
31
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
32
|
+
default?: (props: {}) => any;
|
|
33
|
+
}>;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=radio-group.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.vue.d.ts","sourceRoot":"","sources":["../../../src/radio/radio-group.vue"],"names":[],"mappings":"AA2JA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE9B,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAA;IAC1C,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACtB,IAAI,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC7B,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,KAAK,IAAI,CAAA;CACxD;AAED,eAAO,MAAM,aAAa,EAAE,MAA6B,CAAA;wBACpC,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;iBAID,MAAM,GAAG,MAAM,GAAG,OAAO;eAC3B,OAAO;WACX,MAAM;;yBA4CW,MAAM,GAAG,MAAM,GAAG,OAAO;;;;;iBA9CpC,MAAM,GAAG,MAAM,GAAG,OAAO;eAC3B,OAAO;WACX,MAAM;;;;;UAAN,MAAM;cADF,OAAO;gBADL,MAAM,GAAG,MAAM,GAAG,OAAO;;cA8I5B,CAAC,KAAK,IAAgB,KAAK,GAAG;EAcxC,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,30 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: string | number | boolean;
|
|
4
|
+
label?: string | number | boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
name?: string;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_1: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
13
|
+
"update:modelValue": (value: string | number | boolean) => any;
|
|
14
|
+
change: (value: string | number | boolean) => any;
|
|
15
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
|
|
17
|
+
onChange?: ((value: string | number | boolean) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
modelValue: string | number | boolean;
|
|
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=radio.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio.vue.d.ts","sourceRoot":"","sources":["../../../src/radio/radio.vue"],"names":[],"mappings":";AAsRA,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;IACtC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAC;AAuMJ,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;;;;;;;cAhND,OAAO;gBAFL,MAAM,GAAG,MAAM,GAAG,OAAO;6EAsNxC,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,48 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: number;
|
|
4
|
+
max?: number;
|
|
5
|
+
size?: 'large' | 'medium' | 'small';
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
allowHalf?: boolean;
|
|
8
|
+
lowThreshold?: number;
|
|
9
|
+
highThreshold?: number;
|
|
10
|
+
colors?: string[];
|
|
11
|
+
voidColor?: string;
|
|
12
|
+
disabledVoidColor?: string;
|
|
13
|
+
showText?: boolean;
|
|
14
|
+
showScore?: boolean;
|
|
15
|
+
textColor?: string;
|
|
16
|
+
texts?: string[];
|
|
17
|
+
scoreTemplate?: string;
|
|
18
|
+
clearable?: boolean;
|
|
19
|
+
readonly?: boolean;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
22
|
+
"update:modelValue": (value: number) => any;
|
|
23
|
+
change: (value: number, oldValue: number) => any;
|
|
24
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
26
|
+
onChange?: ((value: number, oldValue: number) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
size: "large" | "medium" | "small";
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
modelValue: number;
|
|
31
|
+
readonly: boolean;
|
|
32
|
+
clearable: boolean;
|
|
33
|
+
max: number;
|
|
34
|
+
textColor: string;
|
|
35
|
+
showText: boolean;
|
|
36
|
+
allowHalf: boolean;
|
|
37
|
+
lowThreshold: number;
|
|
38
|
+
highThreshold: number;
|
|
39
|
+
colors: string[];
|
|
40
|
+
voidColor: string;
|
|
41
|
+
disabledVoidColor: string;
|
|
42
|
+
showScore: boolean;
|
|
43
|
+
texts: string[];
|
|
44
|
+
scoreTemplate: string;
|
|
45
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const _default: typeof __VLS_export;
|
|
47
|
+
export default _default;
|
|
48
|
+
//# sourceMappingURL=rate.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rate.vue.d.ts","sourceRoot":"","sources":["../../../src/rate/rate.vue"],"names":[],"mappings":";AAsTA,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAoTJ,QAAA,MAAM,YAAY;;;;;;;UAnUP,OAAO,GAAG,QAAQ,GAAG,OAAO;cACxB,OAAO;gBAHL,MAAM;cAgBR,OAAO;eADN,OAAO;SAdb,MAAM;eAWA,MAAM;cAFP,OAAO;eANN,OAAO;kBACJ,MAAM;mBACL,MAAM;YACb,MAAM,EAAE;eACL,MAAM;uBACE,MAAM;eAEd,OAAO;WAEX,MAAM,EAAE;mBACA,MAAM;6EA2TxB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface RateProps {
|
|
2
|
+
modelValue?: number;
|
|
3
|
+
max?: number;
|
|
4
|
+
size?: 'large' | 'medium' | 'small';
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
allowHalf?: boolean;
|
|
7
|
+
colors?: string[];
|
|
8
|
+
voidColor?: string;
|
|
9
|
+
disabledVoidColor?: string;
|
|
10
|
+
showText?: boolean;
|
|
11
|
+
showScore?: boolean;
|
|
12
|
+
textColor?: string;
|
|
13
|
+
texts?: string[];
|
|
14
|
+
scoreTemplate?: string;
|
|
15
|
+
clearable?: boolean;
|
|
16
|
+
readonly?: boolean;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/rate/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
export type ResultStatus = 'success' | 'warning' | 'info' | 'error';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Result status type */
|
|
5
|
+
status?: ResultStatus;
|
|
6
|
+
/** Title text */
|
|
7
|
+
title?: string;
|
|
8
|
+
/** Sub title text */
|
|
9
|
+
subTitle?: string;
|
|
10
|
+
/** Custom icon class */
|
|
11
|
+
icon?: string;
|
|
12
|
+
};
|
|
13
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {};
|
|
14
|
+
type __VLS_Slots = {} & {
|
|
15
|
+
icon?: (props: typeof __VLS_1) => any;
|
|
16
|
+
} & {
|
|
17
|
+
title?: (props: typeof __VLS_3) => any;
|
|
18
|
+
} & {
|
|
19
|
+
subTitle?: (props: typeof __VLS_5) => any;
|
|
20
|
+
} & {
|
|
21
|
+
default?: (props: typeof __VLS_7) => any;
|
|
22
|
+
} & {
|
|
23
|
+
extra?: (props: typeof __VLS_9) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
26
|
+
icon: string;
|
|
27
|
+
title: string;
|
|
28
|
+
status: ResultStatus;
|
|
29
|
+
subTitle: string;
|
|
30
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=result.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"result.vue.d.ts","sourceRoot":"","sources":["../../../src/result/result.vue"],"names":[],"mappings":";AA6JA,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;AAEnE,KAAK,WAAW,GAAG;IACf,yBAAyB;IACzB,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qBAAqB;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAC;AAuHJ,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AACpG,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK7C,QAAA,MAAM,UAAU;UAnIL,MAAM;WAJL,MAAM;YAFL,YAAY;cAIV,MAAM;6EAwInB,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,55 @@
|
|
|
1
|
+
import { ComputedRef, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Responsive breakpoint keys.
|
|
4
|
+
* Values align with standard CSS media query breakpoints.
|
|
5
|
+
*/
|
|
6
|
+
export type BreakpointKey = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
7
|
+
/**
|
|
8
|
+
* Gutter between columns (px).
|
|
9
|
+
* A single number applies equal horizontal spacing.
|
|
10
|
+
* A tuple `[horizontal, vertical]` sets both directions.
|
|
11
|
+
*/
|
|
12
|
+
export type Gutter = number | [number, number];
|
|
13
|
+
/**
|
|
14
|
+
* Justify content values for flexbox alignment.
|
|
15
|
+
*/
|
|
16
|
+
export type RowJustify = 'start' | 'end' | 'center' | 'space-around' | 'space-between' | 'space-evenly';
|
|
17
|
+
/**
|
|
18
|
+
* Align items values for flexbox alignment.
|
|
19
|
+
*/
|
|
20
|
+
export type RowAlign = 'top' | 'middle' | 'bottom' | 'stretch';
|
|
21
|
+
type __VLS_Props = {
|
|
22
|
+
/** Gap between columns (px). Number or [horizontal, vertical]. */
|
|
23
|
+
gutter?: Gutter;
|
|
24
|
+
/** Horizontal alignment of columns. */
|
|
25
|
+
justify?: RowJustify;
|
|
26
|
+
/** Vertical alignment of columns. */
|
|
27
|
+
align?: RowAlign;
|
|
28
|
+
/** Wrap columns to new lines when they overflow. */
|
|
29
|
+
wrap?: boolean;
|
|
30
|
+
/** Custom HTML tag for the root element. */
|
|
31
|
+
tag?: string;
|
|
32
|
+
};
|
|
33
|
+
export interface RowContext {
|
|
34
|
+
gutter: ComputedRef<Gutter>;
|
|
35
|
+
}
|
|
36
|
+
declare var __VLS_8: {};
|
|
37
|
+
type __VLS_Slots = {} & {
|
|
38
|
+
default?: (props: typeof __VLS_8) => any;
|
|
39
|
+
};
|
|
40
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
41
|
+
gutter: Gutter;
|
|
42
|
+
justify: RowJustify;
|
|
43
|
+
align: RowAlign;
|
|
44
|
+
wrap: boolean;
|
|
45
|
+
tag: 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=row.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row.vue.d.ts","sourceRoot":"","sources":["../../../src/row/row.vue"],"names":[],"mappings":"AAqJA,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,KAAK,CAAA;AAKzD;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE5D;;;;GAIG;AACH,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAE9C;;GAEG;AACH,MAAM,MAAM,UAAU,GAClB,OAAO,GACP,KAAK,GACL,QAAQ,GACR,cAAc,GACd,eAAe,GACf,cAAc,CAAA;AAElB;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAA;AAE9D,KAAK,WAAW,GAAG;IACf,kEAAkE;IAClE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,uCAAuC;IACvC,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,qCAAqC;IACrC,KAAK,CAAC,EAAE,QAAQ,CAAA;IAChB,oDAAoD;IACpD,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,4CAA4C;IAC5C,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAC;AAoEJ,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CAC5B;AAqDD,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;YA3IH,MAAM;aAEL,UAAU;WAEZ,QAAQ;UAET,OAAO;SAER,MAAM;6EAsId,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,34 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
export type ScrollbarHeight = string | number;
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Fixed height (number → px) */
|
|
5
|
+
height?: ScrollbarHeight;
|
|
6
|
+
/** Max height (number → px) */
|
|
7
|
+
maxHeight?: ScrollbarHeight;
|
|
8
|
+
/** Use browser default scrollbar */
|
|
9
|
+
native?: boolean;
|
|
10
|
+
/** Always show scrollbar (not hover-only) */
|
|
11
|
+
always?: boolean;
|
|
12
|
+
/** Wrapper element tag */
|
|
13
|
+
tag?: string;
|
|
14
|
+
};
|
|
15
|
+
declare var __VLS_8: {};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
default?: (props: typeof __VLS_8) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
+
tag: string;
|
|
21
|
+
height: ScrollbarHeight;
|
|
22
|
+
always: boolean;
|
|
23
|
+
maxHeight: ScrollbarHeight;
|
|
24
|
+
native: boolean;
|
|
25
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=scrollbar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scrollbar.vue.d.ts","sourceRoot":"","sources":["../../../src/scrollbar/scrollbar.vue"],"names":[],"mappings":";AA2JA,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,MAAM,CAAA;AAE7C,KAAK,WAAW,GAAG;IACf,iCAAiC;IACjC,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,eAAe,CAAA;IAC3B,oCAAoC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,6CAA6C;IAC7C,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,0BAA0B;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAC;AA+GJ,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;SAvHN,MAAM;YARH,eAAe;YAMf,OAAO;eAJJ,eAAe;YAElB,OAAO;6EA8HlB,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,63 @@
|
|
|
1
|
+
import { SelectOption, SelectValue, SelectSize } from './types';
|
|
2
|
+
import { PublicProps, ShallowUnwrapRef, Ref, VNode } from 'vue';
|
|
3
|
+
declare const __VLS_export: <T extends SelectOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: PublicProps & __VLS_PrettifyLocal<{
|
|
5
|
+
modelValue?: SelectValue;
|
|
6
|
+
options?: T[];
|
|
7
|
+
multiple?: boolean;
|
|
8
|
+
filterable?: boolean;
|
|
9
|
+
remote?: boolean;
|
|
10
|
+
remoteMethod?: (query: string) => Promise<T[]>;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
clearable?: boolean;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
size?: SelectSize;
|
|
16
|
+
collapseTags?: boolean;
|
|
17
|
+
collapseTagsLimit?: number;
|
|
18
|
+
noDataText?: string;
|
|
19
|
+
noMatchText?: string;
|
|
20
|
+
} & {
|
|
21
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
22
|
+
onClear?: (() => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
|
|
24
|
+
onChange?: ((value: SelectValue) => any) | undefined;
|
|
25
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
26
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
27
|
+
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
28
|
+
"onRemove-tag"?: ((tag: string | number) => any) | undefined;
|
|
29
|
+
}> & (typeof globalThis extends {
|
|
30
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
31
|
+
} ? P : {});
|
|
32
|
+
expose: (exposed: ShallowUnwrapRef<{
|
|
33
|
+
visible: Ref<boolean, boolean>;
|
|
34
|
+
openDropdown: () => void;
|
|
35
|
+
closeDropdown: () => void;
|
|
36
|
+
}>) => void;
|
|
37
|
+
attrs: any;
|
|
38
|
+
slots: {
|
|
39
|
+
prefix?: (props: {}) => any;
|
|
40
|
+
} & {
|
|
41
|
+
empty?: (props: {}) => any;
|
|
42
|
+
};
|
|
43
|
+
emit: {
|
|
44
|
+
(e: "update:modelValue", value: SelectValue): void;
|
|
45
|
+
(e: "change", value: SelectValue): void;
|
|
46
|
+
(e: "focus", event: FocusEvent): void;
|
|
47
|
+
(e: "blur", event: FocusEvent): void;
|
|
48
|
+
(e: "clear"): void;
|
|
49
|
+
(e: "visible-change", visible: boolean): void;
|
|
50
|
+
(e: "remove-tag", tag: string | number): void;
|
|
51
|
+
(e: "search", query: string): void;
|
|
52
|
+
};
|
|
53
|
+
}>) => VNode & {
|
|
54
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
55
|
+
};
|
|
56
|
+
declare const _default: typeof __VLS_export;
|
|
57
|
+
export default _default;
|
|
58
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
59
|
+
[K in keyof T]: T[K];
|
|
60
|
+
} : {
|
|
61
|
+
[K in keyof T as K]: T[K];
|
|
62
|
+
}) & {};
|
|
63
|
+
//# sourceMappingURL=select.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.vue.d.ts","sourceRoot":"","sources":["../../../src/select/select.vue"],"names":[],"mappings":";AAkvBA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEpE,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS,YAAY,EAC5C,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WAsqBO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;qBAlqBvC,WAAW;kBACd,CAAC,EAAE;mBACF,OAAO;qBACL,OAAO;iBACX,OAAO;uBACD,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC;kBACpC,OAAO;mBACN,OAAO;oBACN,OAAO;sBACL,MAAM;eACb,UAAU;uBACF,OAAO;4BACF,MAAM;qBACb,MAAM;sBACL,MAAM;;;;;;;;;;KAopBmE,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,OAAO,KAAK,EAAE,gBAAgB;;;;MAAsB,KAAK,IAAI;WACxE,GAAG;;iBAbE,CAAC,KAAK,IAAgB,KAAK,GAAG;;gBAC/B,CAAC,KAAK,IAAgB,KAAK,GAAG;;;YAnnBpC,mBAAmB,SAAS,WAAW,GAAG,IAAI;YAC9C,QAAQ,SAAS,WAAW,GAAG,IAAI;YACnC,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;YAChC,OAAO,GAAG,IAAI;YACd,gBAAgB,WAAW,OAAO,GAAG,IAAI;YACzC,YAAY,OAAO,MAAM,GAAG,MAAM,GAAG,IAAI;YACzC,QAAQ,SAAS,MAAM,GAAG,IAAI;;EA4nBhC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAI,CAAC;wBACvD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** A single option in the select dropdown. */
|
|
2
|
+
export interface SelectOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string | number;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export type SelectValue = string | number | (string | number)[];
|
|
8
|
+
export type SelectSize = 'large' | 'medium' | 'small';
|
|
9
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/select/types.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAA;AAC/D,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA"}
|