sard-uniapp 1.8.1 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/README.md +38 -14
  2. package/changelog.md +20 -2
  3. package/components/_template/_template.d.ts +7 -22
  4. package/components/accordion/accordion.d.ts +6 -21
  5. package/components/accordion-item/accordion-item.d.ts +6 -21
  6. package/components/action-sheet/action-sheet.d.ts +10 -33
  7. package/components/alert/alert.d.ts +8 -27
  8. package/components/alert/common.d.ts +1 -1
  9. package/components/alert/index.scss +6 -2
  10. package/components/avatar/avatar.d.ts +4 -23
  11. package/components/avatar/common.d.ts +1 -1
  12. package/components/back-top/back-top.d.ts +7 -28
  13. package/components/back-top/usePageBackTop.d.ts +1 -1
  14. package/components/back-top/useScrollViewBackTop.d.ts +1 -1
  15. package/components/badge/badge.d.ts +5 -26
  16. package/components/button/button.d.ts +13 -66
  17. package/components/button/common.d.ts +3 -3
  18. package/components/button/index.scss +3 -2
  19. package/components/calendar/calendar.d.ts +5 -30
  20. package/components/calendar/common.d.ts +1 -1
  21. package/components/calendar-input/calendar-input.d.ts +6 -35
  22. package/components/calendar-input/common.d.ts +1 -1
  23. package/components/calendar-month/calendar-month.d.ts +4 -21
  24. package/components/card/card.d.ts +6 -21
  25. package/components/cascader/cascader.d.ts +8 -27
  26. package/components/cascader-input/cascader-input.d.ts +9 -30
  27. package/components/check-icon/check-icon.d.ts +3 -26
  28. package/components/checkbox/checkbox.d.ts +10 -29
  29. package/components/checkbox/common.d.ts +1 -1
  30. package/components/checkbox-group/checkbox-group.d.ts +11 -32
  31. package/components/checkbox-input/checkbox-input.d.ts +6 -29
  32. package/components/col/col.d.ts +3 -18
  33. package/components/collapse/collapse.d.ts +3 -18
  34. package/components/config/index.d.ts +91 -52
  35. package/components/config/index.js +4 -0
  36. package/components/count-down/count-down.d.ts +9 -32
  37. package/components/count-to/count-to.d.ts +2 -29
  38. package/components/datetime-picker/datetime-picker.d.ts +5 -26
  39. package/components/datetime-picker-input/datetime-picker-input.d.ts +6 -29
  40. package/components/dialog/common.d.ts +1 -1
  41. package/components/dialog/dialog.d.ts +15 -44
  42. package/components/dialog-agent/common.d.ts +1 -1
  43. package/components/dialog-agent/dialog-agent.d.ts +3 -36
  44. package/components/dropdown/common.d.ts +1 -1
  45. package/components/dropdown/dropdown.d.ts +4 -31
  46. package/components/dropdown-item/dropdown-item.d.ts +8 -27
  47. package/components/empty/empty.d.ts +4 -23
  48. package/components/fab/fab.d.ts +6 -33
  49. package/components/fab/fab.vue +2 -2
  50. package/components/floating-bubble/common.d.ts +1 -1
  51. package/components/floating-bubble/floating-bubble.d.ts +9 -32
  52. package/components/form/Validator.d.ts +3 -3
  53. package/components/form/common.d.ts +2 -10
  54. package/components/form/form.d.ts +9 -42
  55. package/components/form-item/form-item.d.ts +6 -27
  56. package/components/grid/common.d.ts +1 -1
  57. package/components/grid/grid.d.ts +5 -26
  58. package/components/grid-item/grid-item.d.ts +6 -21
  59. package/components/icon/icon.d.ts +2 -25
  60. package/components/indexes/indexes.d.ts +7 -22
  61. package/components/indexes-anchor/indexes-anchor.d.ts +3 -18
  62. package/components/indexes-nav/indexes-nav.d.ts +6 -21
  63. package/components/input/common.d.ts +2 -2
  64. package/components/input/input.d.ts +17 -60
  65. package/components/keyboard/common.d.ts +1 -1
  66. package/components/keyboard/keyboard.d.ts +9 -28
  67. package/components/list/common.d.ts +1 -1
  68. package/components/list/list.d.ts +3 -18
  69. package/components/list-item/list-item.d.ts +8 -27
  70. package/components/load-more/load-more.d.ts +8 -27
  71. package/components/loading/common.d.ts +1 -1
  72. package/components/loading/loading.d.ts +5 -28
  73. package/components/locale/index.d.ts +1 -1
  74. package/components/marquee/common.d.ts +1 -1
  75. package/components/marquee/marquee.d.ts +5 -28
  76. package/components/menu/menu.d.ts +5 -26
  77. package/components/menu-item/menu-item.d.ts +4 -21
  78. package/components/navbar/navbar.d.ts +3 -18
  79. package/components/navbar-item/navbar-item.d.ts +6 -21
  80. package/components/notice-bar/common.d.ts +1 -1
  81. package/components/notice-bar/notice-bar.d.ts +9 -34
  82. package/components/notify/common.d.ts +2 -2
  83. package/components/notify/notify.d.ts +8 -35
  84. package/components/notify-agent/common.d.ts +2 -2
  85. package/components/notify-agent/notify-agent.d.ts +3 -32
  86. package/components/overlay/overlay.d.ts +7 -26
  87. package/components/pagination/common.d.ts +1 -1
  88. package/components/pagination/pagination.d.ts +8 -37
  89. package/components/password-input/common.d.ts +1 -1
  90. package/components/password-input/password-input.d.ts +6 -31
  91. package/components/picker/picker.d.ts +5 -28
  92. package/components/picker-input/picker-input.d.ts +6 -31
  93. package/components/popout/common.d.ts +1 -1
  94. package/components/popout/popout.d.ts +15 -44
  95. package/components/popout-input/popout-input.d.ts +6 -23
  96. package/components/popout-input/popout-input.vue +1 -1
  97. package/components/popover/common.d.ts +3 -3
  98. package/components/popover/popover.d.ts +9 -40
  99. package/components/popover-reference/popover-reference.d.ts +6 -21
  100. package/components/popup/common.d.ts +1 -1
  101. package/components/popup/popup.d.ts +11 -50
  102. package/components/progress-bar/progress-bar.d.ts +4 -25
  103. package/components/progress-circle/progress-circle.d.ts +4 -25
  104. package/components/pull-down-refresh/pull-down-refresh.d.ts +10 -39
  105. package/components/qrcode/common.d.ts +2 -2
  106. package/components/qrcode/qrcode.d.ts +3 -38
  107. package/components/radio/common.d.ts +1 -1
  108. package/components/radio/radio.d.ts +6 -21
  109. package/components/radio-group/radio-group.d.ts +9 -30
  110. package/components/radio-input/common.d.ts +1 -1
  111. package/components/radio-input/radio-input.d.ts +6 -31
  112. package/components/rate/rate.d.ts +5 -32
  113. package/components/result/common.d.ts +1 -1
  114. package/components/result/result.d.ts +5 -24
  115. package/components/row/row.d.ts +3 -18
  116. package/components/sard-uniapp/sard-uniapp.d.ts +1 -1
  117. package/components/search/common.d.ts +1 -1
  118. package/components/search/search.d.ts +17 -38
  119. package/components/share-sheet/share-sheet.d.ts +10 -33
  120. package/components/skeleton/skeleton.d.ts +4 -25
  121. package/components/skeleton-avatar/skeleton-avatar.d.ts +1 -18
  122. package/components/skeleton-block/skeleton-block.d.ts +1 -18
  123. package/components/skeleton-paragraph/skeleton-paragraph.d.ts +1 -18
  124. package/components/skeleton-title/skeleton-title.d.ts +1 -18
  125. package/components/slider/slider.d.ts +10 -35
  126. package/components/stepper/common.d.ts +2 -2
  127. package/components/stepper/stepper.d.ts +9 -46
  128. package/components/steps/common.d.ts +1 -1
  129. package/components/steps/steps.d.ts +2 -35
  130. package/components/style/functions.scss +22 -0
  131. package/components/style/mixins/bem.scss +3 -2
  132. package/components/style/mixins/border.scss +5 -3
  133. package/components/style/variables.scss +6 -6
  134. package/components/swiper-dot/common.d.ts +1 -1
  135. package/components/swiper-dot/swiper-dot.d.ts +3 -30
  136. package/components/switch/switch.d.ts +7 -32
  137. package/components/tab/tab.d.ts +6 -21
  138. package/components/tabbar/tabbar.d.ts +7 -26
  139. package/components/tabbar-item/tabbar-item.d.ts +6 -21
  140. package/components/table/common.d.ts +52 -0
  141. package/components/table/common.js +3 -0
  142. package/components/table/index.d.ts +1 -0
  143. package/components/table/index.js +1 -0
  144. package/components/table/index.scss +10 -0
  145. package/components/table/table.d.ts +13 -0
  146. package/components/table/table.vue +101 -0
  147. package/components/table/variables-dark.scss +8 -0
  148. package/components/table/variables.scss +12 -0
  149. package/components/table-cell/index.scss +90 -0
  150. package/components/table-cell/table-cell.d.ts +10 -0
  151. package/components/table-cell/table-cell.vue +57 -0
  152. package/components/table-fixation/index.scss +21 -0
  153. package/components/table-fixation/table-fixation.d.ts +14 -0
  154. package/components/table-fixation/table-fixation.vue +112 -0
  155. package/components/table-row/index.scss +15 -0
  156. package/components/table-row/table-row.d.ts +10 -0
  157. package/components/table-row/table-row.vue +46 -0
  158. package/components/tabs/common.d.ts +1 -1
  159. package/components/tabs/tabs.d.ts +7 -26
  160. package/components/tag/common.d.ts +2 -2
  161. package/components/tag/index.scss +2 -1
  162. package/components/tag/tag.d.ts +9 -30
  163. package/components/timeline/timeline.d.ts +3 -18
  164. package/components/timeline-item/timeline-item.d.ts +3 -18
  165. package/components/toast/common.d.ts +2 -2
  166. package/components/toast/toast.d.ts +8 -37
  167. package/components/toast-agent/common.d.ts +2 -2
  168. package/components/toast-agent/toast-agent.d.ts +4 -35
  169. package/components/tree/common.d.ts +1 -1
  170. package/components/tree/tree.d.ts +3 -30
  171. package/components/tree-branch/tree-branch.d.ts +1 -18
  172. package/components/tree-node/tree-node.d.ts +1 -18
  173. package/components/upload/common.d.ts +3 -11
  174. package/components/upload/upload.d.ts +9 -42
  175. package/components/upload/upload.vue +0 -1
  176. package/components/upload-preview/upload-preview.d.ts +6 -27
  177. package/components/upload-preview/upload-preview.vue +0 -1
  178. package/dark.scss +1 -0
  179. package/global.d.ts +3 -0
  180. package/index.d.ts +1 -0
  181. package/index.js +1 -0
  182. package/index.scss +1 -0
  183. package/package.json +118 -17
  184. package/use/useLuckyGrid.d.ts +1 -1
  185. package/use/useLuckyWheel.d.ts +1 -1
  186. package/use/useTransition.d.ts +2 -2
  187. package/use/useZIndex.d.ts +1 -1
  188. package/utils/bem.d.ts +1 -1
  189. package/utils/dom.js +1 -1
  190. package/utils/utils.js +0 -1
@@ -1,56 +1,25 @@
1
1
  import { type MenuOption } from '../menu/common';
2
2
  import { type PopoverProps, type PopoverSlots } from './common';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PopoverProps>, {
4
- position: import("./utils").Position | undefined;
5
- direction: "vertical" | "horizontal" | undefined;
6
- theme: "light" | "dark" | undefined;
7
- refGap: number;
8
- viewportGap: number;
9
- transparent: boolean;
10
- duration: number;
11
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
- "update:visible": (visible: boolean) => void;
13
- select: (option: MenuOption) => void;
14
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PopoverProps>, {
15
- position: import("./utils").Position | undefined;
16
- direction: "vertical" | "horizontal" | undefined;
17
- theme: "light" | "dark" | undefined;
18
- refGap: number;
19
- viewportGap: number;
20
- transparent: boolean;
21
- duration: number;
22
- }>>> & {
3
+ declare function __VLS_template(): Readonly<PopoverSlots> & PopoverSlots;
4
+ declare const __VLS_component: import("vue").DefineComponent<PopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
+ select: (option: MenuOption) => any;
6
+ "update:visible": (visible: boolean) => any;
7
+ }, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
23
8
  onSelect?: ((option: MenuOption) => any) | undefined;
24
9
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
25
- }, {
26
- theme: "light" | "dark";
10
+ }>, {
11
+ theme: "dark" | "light";
27
12
  direction: "vertical" | "horizontal";
28
13
  position: import("./utils").Position;
29
14
  duration: number;
30
15
  refGap: number;
31
16
  viewportGap: number;
32
17
  transparent: boolean;
33
- }, {}>, Readonly<PopoverSlots> & PopoverSlots>;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
34
20
  export default _default;
35
- type __VLS_WithDefaults<P, D> = {
36
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
- default: D[K];
38
- }> : P[K];
39
- };
40
- type __VLS_Prettify<T> = {
41
- [K in keyof T]: T[K];
42
- } & {};
43
21
  type __VLS_WithTemplateSlots<T, S> = T & {
44
22
  new (): {
45
23
  $slots: S;
46
24
  };
47
25
  };
48
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
49
- type __VLS_TypePropsToOption<T> = {
50
- [K in keyof T]-?: {} extends Pick<T, K> ? {
51
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
52
- } : {
53
- type: import('vue').PropType<T[K]>;
54
- required: true;
55
- };
56
- };
@@ -1,29 +1,14 @@
1
1
  import { type PopoverReferenceProps, type PopoverReferenceSlots } from '../popover/common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PopoverReferenceProps>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
- click: (event: any) => void;
4
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PopoverReferenceProps>, {}>>> & {
2
+ declare function __VLS_template(): Readonly<PopoverReferenceSlots> & PopoverReferenceSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<PopoverReferenceProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
+ click: (event: any) => any;
5
+ }, string, import("vue").PublicProps, Readonly<PopoverReferenceProps> & Readonly<{
5
6
  onClick?: ((event: any) => any) | undefined;
6
- }, {}, {}>, Readonly<PopoverReferenceSlots> & PopoverReferenceSlots>;
7
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
7
9
  export default _default;
8
- type __VLS_WithDefaults<P, D> = {
9
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
10
- default: D[K];
11
- }> : P[K];
12
- };
13
- type __VLS_Prettify<T> = {
14
- [K in keyof T]: T[K];
15
- } & {};
16
10
  type __VLS_WithTemplateSlots<T, S> = T & {
17
11
  new (): {
18
12
  $slots: S;
19
13
  };
20
14
  };
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToOption<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: import('vue').PropType<T[K]>;
27
- required: true;
28
- };
29
- };
@@ -14,7 +14,7 @@ export interface PopupProps {
14
14
  }
15
15
  export declare const defaultPopupProps: {
16
16
  duration: number;
17
- effect: "fade" | "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | undefined;
17
+ effect: PopupProps["effect"];
18
18
  overlay: boolean;
19
19
  };
20
20
  export interface PopupSlots {
@@ -1,59 +1,20 @@
1
1
  import { type PopupProps, type PopupSlots } from './common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PopupProps>, {
2
+ declare function __VLS_template(): Readonly<PopupSlots> & PopupSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<PopupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ [x: string]: any;
5
+ } & {
6
+ [x: string]: any;
7
+ }, string, import("vue").PublicProps, Readonly<PopupProps> & Readonly<{
8
+ [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
9
+ }>, {
10
+ effect: "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade";
3
11
  duration: number;
4
- effect: "fade" | "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | undefined;
5
12
  overlay: boolean;
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- "overlay-click": (event: any) => void;
8
- "before-enter": () => void;
9
- enter: () => void;
10
- "after-enter": () => void;
11
- "enter-cancelled": () => void;
12
- "before-leave": () => void;
13
- leave: () => void;
14
- "after-leave": () => void;
15
- "leave-cancelled": () => void;
16
- "visible-hook": (name: import("../../use").TransitionHookName) => void;
17
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PopupProps>, {
18
- duration: number;
19
- effect: "fade" | "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | undefined;
20
- overlay: boolean;
21
- }>>> & {
22
- "onBefore-enter"?: (() => any) | undefined;
23
- onEnter?: (() => any) | undefined;
24
- "onAfter-enter"?: (() => any) | undefined;
25
- "onEnter-cancelled"?: (() => any) | undefined;
26
- "onBefore-leave"?: (() => any) | undefined;
27
- onLeave?: (() => any) | undefined;
28
- "onAfter-leave"?: (() => any) | undefined;
29
- "onLeave-cancelled"?: (() => any) | undefined;
30
- "onVisible-hook"?: ((name: import("../../use").TransitionHookName) => any) | undefined;
31
- "onOverlay-click"?: ((event: any) => any) | undefined;
32
- }, {
33
- effect: "fade" | "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom";
34
- duration: number;
35
- overlay: boolean;
36
- }, {}>, Readonly<PopupSlots> & PopupSlots>;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
15
  export default _default;
38
- type __VLS_WithDefaults<P, D> = {
39
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
- default: D[K];
41
- }> : P[K];
42
- };
43
- type __VLS_Prettify<T> = {
44
- [K in keyof T]: T[K];
45
- } & {};
46
16
  type __VLS_WithTemplateSlots<T, S> = T & {
47
17
  new (): {
48
18
  $slots: S;
49
19
  };
50
20
  };
51
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
- type __VLS_TypePropsToOption<T> = {
53
- [K in keyof T]-?: {} extends Pick<T, K> ? {
54
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
- } : {
56
- type: import('vue').PropType<T[K]>;
57
- required: true;
58
- };
59
- };
@@ -1,34 +1,13 @@
1
1
  import { type ProgressBarProps, type ProgressBarSlots } from './common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ProgressBarProps>, {
2
+ declare function __VLS_template(): Readonly<ProgressBarSlots> & ProgressBarSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<ProgressBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
3
4
  percent: number;
4
5
  showText: boolean;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ProgressBarProps>, {
6
- percent: number;
7
- showText: boolean;
8
- }>>>, {
9
- percent: number;
10
- showText: boolean;
11
- }, {}>, Readonly<ProgressBarSlots> & ProgressBarSlots>;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
8
  export default _default;
13
- type __VLS_WithDefaults<P, D> = {
14
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
15
- default: D[K];
16
- }> : P[K];
17
- };
18
- type __VLS_Prettify<T> = {
19
- [K in keyof T]: T[K];
20
- } & {};
21
9
  type __VLS_WithTemplateSlots<T, S> = T & {
22
10
  new (): {
23
11
  $slots: S;
24
12
  };
25
13
  };
26
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
- type __VLS_TypePropsToOption<T> = {
28
- [K in keyof T]-?: {} extends Pick<T, K> ? {
29
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
- } : {
31
- type: import('vue').PropType<T[K]>;
32
- required: true;
33
- };
34
- };
@@ -1,34 +1,13 @@
1
1
  import { type ProgressCircleProps, type ProgressCircleSlots } from './common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ProgressCircleProps>, {
2
+ declare function __VLS_template(): Readonly<ProgressCircleSlots> & ProgressCircleSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<ProgressCircleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressCircleProps> & Readonly<{}>, {
3
4
  percent: number;
4
5
  thickness: number;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ProgressCircleProps>, {
6
- percent: number;
7
- thickness: number;
8
- }>>>, {
9
- percent: number;
10
- thickness: number;
11
- }, {}>, Readonly<ProgressCircleSlots> & ProgressCircleSlots>;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
8
  export default _default;
13
- type __VLS_WithDefaults<P, D> = {
14
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
15
- default: D[K];
16
- }> : P[K];
17
- };
18
- type __VLS_Prettify<T> = {
19
- [K in keyof T]: T[K];
20
- } & {};
21
9
  type __VLS_WithTemplateSlots<T, S> = T & {
22
10
  new (): {
23
11
  $slots: S;
24
12
  };
25
13
  };
26
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
- type __VLS_TypePropsToOption<T> = {
28
- [K in keyof T]-?: {} extends Pick<T, K> ? {
29
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
- } : {
31
- type: import('vue').PropType<T[K]>;
32
- required: true;
33
- };
34
- };
@@ -1,60 +1,31 @@
1
- import { type PullDownRefreshProps, type PullDownRefreshSlots, type PullDownRefreshStatus } from './common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PullDownRefreshProps>, {
3
- loading: boolean;
4
- disabled: boolean;
5
- threshold: number;
6
- headerHeight: number;
7
- transitionDuration: number;
8
- doneDuration: number;
9
- }>, {
1
+ import { type PullDownRefreshProps, type PullDownRefreshSlots, type PullDownRefreshEmits, type PullDownRefreshStatus } from './common';
2
+ declare function __VLS_template(): Readonly<PullDownRefreshSlots> & PullDownRefreshSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<PullDownRefreshProps, {
10
4
  enableToRefresh: (canRefresh: boolean) => void;
11
5
  _setStatus: (status: PullDownRefreshStatus) => void;
12
6
  _emit: (event: {
13
- name: "refresh";
7
+ name: Parameters<PullDownRefreshEmits>[0];
14
8
  payload?: any;
15
9
  }) => void;
16
10
  _toRecovering: () => void;
17
11
  _toLoading: () => void;
18
12
  _setTranslateY: (y: number) => void;
19
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
- refresh: () => void;
21
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PullDownRefreshProps>, {
22
- loading: boolean;
23
- disabled: boolean;
24
- threshold: number;
25
- headerHeight: number;
26
- transitionDuration: number;
27
- doneDuration: number;
28
- }>>> & {
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
+ refresh: () => any;
15
+ }, string, import("vue").PublicProps, Readonly<PullDownRefreshProps> & Readonly<{
29
16
  onRefresh?: (() => any) | undefined;
30
- }, {
17
+ }>, {
31
18
  disabled: boolean;
32
19
  loading: boolean;
33
20
  threshold: number;
34
21
  headerHeight: number;
35
22
  transitionDuration: number;
36
23
  doneDuration: number;
37
- }, {}>, Readonly<PullDownRefreshSlots> & PullDownRefreshSlots>;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
26
  export default _default;
39
- type __VLS_WithDefaults<P, D> = {
40
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
41
- default: D[K];
42
- }> : P[K];
43
- };
44
- type __VLS_Prettify<T> = {
45
- [K in keyof T]: T[K];
46
- } & {};
47
27
  type __VLS_WithTemplateSlots<T, S> = T & {
48
28
  new (): {
49
29
  $slots: S;
50
30
  };
51
31
  };
52
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
- type __VLS_TypePropsToOption<T> = {
54
- [K in keyof T]-?: {} extends Pick<T, K> ? {
55
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
56
- } : {
57
- type: import('vue').PropType<T[K]>;
58
- required: true;
59
- };
60
- };
@@ -12,10 +12,10 @@ export interface QrcodeProps {
12
12
  quietZoneModules?: number;
13
13
  }
14
14
  export declare const defaultQrcodeProps: {
15
- ecl: "M" | "H" | "L" | "Q" | undefined;
15
+ ecl: QrcodeProps["ecl"];
16
16
  size: string;
17
17
  canvasSize: number;
18
- type: "canvas" | "image" | undefined;
18
+ type: QrcodeProps["type"];
19
19
  text: string;
20
20
  color: string;
21
21
  bgColor: string;
@@ -1,47 +1,12 @@
1
1
  import { type QrcodeProps } from './common';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<QrcodeProps>, {
3
- ecl: "M" | "H" | "L" | "Q" | undefined;
4
- size: string;
5
- canvasSize: number;
6
- type: "canvas" | "image" | undefined;
7
- text: string;
8
- color: string;
9
- bgColor: string;
10
- quietZoneModules: number;
11
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<QrcodeProps>, {
12
- ecl: "M" | "H" | "L" | "Q" | undefined;
13
- size: string;
14
- canvasSize: number;
15
- type: "canvas" | "image" | undefined;
16
- text: string;
17
- color: string;
18
- bgColor: string;
19
- quietZoneModules: number;
20
- }>>>, {
2
+ declare const _default: import("vue").DefineComponent<QrcodeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QrcodeProps> & Readonly<{}>, {
21
3
  text: string;
22
- ecl: "M" | "H" | "L" | "Q";
4
+ ecl: "L" | "M" | "Q" | "H";
23
5
  size: string;
24
6
  type: "canvas" | "image";
25
7
  canvasSize: number;
26
8
  color: string;
27
9
  bgColor: string;
28
10
  quietZoneModules: number;
29
- }, {}>;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
12
  export default _default;
31
- type __VLS_WithDefaults<P, D> = {
32
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
- default: D[K];
34
- }> : P[K];
35
- };
36
- type __VLS_Prettify<T> = {
37
- [K in keyof T]: T[K];
38
- } & {};
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToOption<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
@@ -47,7 +47,7 @@ export interface RadioGroupProps {
47
47
  optionKeys?: RadioGroupOptionKeys;
48
48
  }
49
49
  export declare const defaultRadioGroupProps: {
50
- direction: "vertical" | "horizontal" | undefined;
50
+ direction: RadioGroupProps["direction"];
51
51
  validateEvent: boolean;
52
52
  };
53
53
  export interface RadioGroupSlots {
@@ -1,29 +1,14 @@
1
1
  import { type RadioProps, type RadioSlots } from './common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<RadioProps>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
- click: (event: any) => void;
4
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<RadioProps>, {}>>> & {
2
+ declare function __VLS_template(): Readonly<RadioSlots> & RadioSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<RadioProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
+ click: (event: any) => any;
5
+ }, string, import("vue").PublicProps, Readonly<RadioProps> & Readonly<{
5
6
  onClick?: ((event: any) => any) | undefined;
6
- }, {}, {}>, Readonly<RadioSlots> & RadioSlots>;
7
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
7
9
  export default _default;
8
- type __VLS_WithDefaults<P, D> = {
9
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
10
- default: D[K];
11
- }> : P[K];
12
- };
13
- type __VLS_Prettify<T> = {
14
- [K in keyof T]: T[K];
15
- } & {};
16
10
  type __VLS_WithTemplateSlots<T, S> = T & {
17
11
  new (): {
18
12
  $slots: S;
19
13
  };
20
14
  };
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToOption<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: import('vue').PropType<T[K]>;
27
- required: true;
28
- };
29
- };
@@ -1,40 +1,19 @@
1
1
  import { type RadioGroupProps, type RadioGroupSlots } from '../radio/common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<RadioGroupProps>, {
3
- direction: "vertical" | "horizontal" | undefined;
4
- validateEvent: boolean;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- "update:model-value": (value: any) => void;
7
- change: (value: any) => void;
8
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<RadioGroupProps>, {
9
- direction: "vertical" | "horizontal" | undefined;
10
- validateEvent: boolean;
11
- }>>> & {
2
+ declare function __VLS_template(): Readonly<RadioGroupSlots> & RadioGroupSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<RadioGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
+ "update:model-value": (value: any) => any;
5
+ change: (value: any) => any;
6
+ }, string, import("vue").PublicProps, Readonly<RadioGroupProps> & Readonly<{
12
7
  "onUpdate:model-value"?: ((value: any) => any) | undefined;
13
8
  onChange?: ((value: any) => any) | undefined;
14
- }, {
15
- direction: "vertical" | "horizontal";
9
+ }>, {
10
+ direction: "horizontal" | "vertical";
16
11
  validateEvent: boolean;
17
- }, {}>, Readonly<RadioGroupSlots> & RadioGroupSlots>;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
14
  export default _default;
19
- type __VLS_WithDefaults<P, D> = {
20
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
21
- default: D[K];
22
- }> : P[K];
23
- };
24
- type __VLS_Prettify<T> = {
25
- [K in keyof T]: T[K];
26
- } & {};
27
15
  type __VLS_WithTemplateSlots<T, S> = T & {
28
16
  new (): {
29
17
  $slots: S;
30
18
  };
31
19
  };
32
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
- type __VLS_TypePropsToOption<T> = {
34
- [K in keyof T]-?: {} extends Pick<T, K> ? {
35
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
- } : {
37
- type: import('vue').PropType<T[K]>;
38
- required: true;
39
- };
40
- };
@@ -8,7 +8,7 @@ export interface RadioInputProps extends RadioGroupProps, Omit<PopoutInputProps,
8
8
  export declare const defaultRadioInputProps: {
9
9
  options: () => never[];
10
10
  validateEvent: boolean;
11
- type: import("../radio/common").IconType | undefined;
11
+ type: RadioInputProps["type"];
12
12
  };
13
13
  export interface RadioInputEmits {
14
14
  (e: 'update:visible', visible: boolean): void;
@@ -1,38 +1,13 @@
1
1
  import { type RadioInputProps } from './common';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<RadioInputProps>, {
3
- options: () => never[];
4
- validateEvent: boolean;
5
- type: import("../radio/common").IconType | undefined;
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- "update:visible": (visible: boolean) => void;
8
- "update:model-value": (value: any) => void;
9
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<RadioInputProps>, {
10
- options: () => never[];
11
- validateEvent: boolean;
12
- type: import("../radio/common").IconType | undefined;
13
- }>>> & {
2
+ declare const _default: import("vue").DefineComponent<RadioInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
+ "update:model-value": (value: any) => any;
4
+ "update:visible": (visible: boolean) => any;
5
+ }, string, import("vue").PublicProps, Readonly<RadioInputProps> & Readonly<{
14
6
  "onUpdate:model-value"?: ((value: any) => any) | undefined;
15
7
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
16
- }, {
8
+ }>, {
17
9
  options: import("../radio/common").RadioGroupOption[];
18
10
  type: import("../radio/common").IconType;
19
11
  validateEvent: boolean;
20
- }, {}>;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
13
  export default _default;
22
- type __VLS_WithDefaults<P, D> = {
23
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
- default: D[K];
25
- }> : P[K];
26
- };
27
- type __VLS_Prettify<T> = {
28
- [K in keyof T]: T[K];
29
- } & {};
30
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
- type __VLS_TypePropsToOption<T> = {
32
- [K in keyof T]-?: {} extends Pick<T, K> ? {
33
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
- } : {
35
- type: import('vue').PropType<T[K]>;
36
- required: true;
37
- };
38
- };
@@ -1,39 +1,12 @@
1
1
  import { type RateProps } from './common';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<RateProps>, {
3
- count: number;
4
- icon: string;
5
- voidIcon: string;
6
- validateEvent: boolean;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- "update:model-value": (value: number) => void;
9
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<RateProps>, {
10
- count: number;
11
- icon: string;
12
- voidIcon: string;
13
- validateEvent: boolean;
14
- }>>> & {
2
+ declare const _default: import("vue").DefineComponent<RateProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
+ "update:model-value": (value: number) => any;
4
+ }, string, import("vue").PublicProps, Readonly<RateProps> & Readonly<{
15
5
  "onUpdate:model-value"?: ((value: number) => any) | undefined;
16
- }, {
6
+ }>, {
17
7
  count: number;
18
8
  icon: string;
19
9
  validateEvent: boolean;
20
10
  voidIcon: string;
21
- }, {}>;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
12
  export default _default;
23
- type __VLS_WithDefaults<P, D> = {
24
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
25
- default: D[K];
26
- }> : P[K];
27
- };
28
- type __VLS_Prettify<T> = {
29
- [K in keyof T]: T[K];
30
- } & {};
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToOption<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
@@ -10,7 +10,7 @@ export interface ResultProps {
10
10
  description?: string;
11
11
  }
12
12
  export declare const defaultResultProps: {
13
- status: "success" | "warning" | "info" | "error" | "question" | undefined;
13
+ status: ResultProps["status"];
14
14
  };
15
15
  export interface ResultSlots {
16
16
  default?(props: Record<string, never>): any;