sard-uniapp 1.8.1 → 1.8.2

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 (161) hide show
  1. package/changelog.md +9 -0
  2. package/components/_template/_template.d.ts +7 -22
  3. package/components/accordion/accordion.d.ts +6 -21
  4. package/components/accordion-item/accordion-item.d.ts +6 -21
  5. package/components/action-sheet/action-sheet.d.ts +10 -33
  6. package/components/alert/alert.d.ts +8 -27
  7. package/components/alert/common.d.ts +1 -1
  8. package/components/alert/index.scss +6 -2
  9. package/components/avatar/avatar.d.ts +4 -23
  10. package/components/avatar/common.d.ts +1 -1
  11. package/components/back-top/back-top.d.ts +7 -28
  12. package/components/back-top/usePageBackTop.d.ts +1 -1
  13. package/components/back-top/useScrollViewBackTop.d.ts +1 -1
  14. package/components/badge/badge.d.ts +5 -26
  15. package/components/button/button.d.ts +13 -66
  16. package/components/button/common.d.ts +3 -3
  17. package/components/button/index.scss +3 -2
  18. package/components/calendar/calendar.d.ts +5 -30
  19. package/components/calendar/common.d.ts +1 -1
  20. package/components/calendar-input/calendar-input.d.ts +6 -35
  21. package/components/calendar-input/common.d.ts +1 -1
  22. package/components/calendar-month/calendar-month.d.ts +4 -21
  23. package/components/card/card.d.ts +6 -21
  24. package/components/cascader/cascader.d.ts +8 -27
  25. package/components/cascader-input/cascader-input.d.ts +9 -30
  26. package/components/check-icon/check-icon.d.ts +3 -26
  27. package/components/checkbox/checkbox.d.ts +10 -29
  28. package/components/checkbox/common.d.ts +1 -1
  29. package/components/checkbox-group/checkbox-group.d.ts +11 -32
  30. package/components/checkbox-input/checkbox-input.d.ts +6 -29
  31. package/components/col/col.d.ts +3 -18
  32. package/components/collapse/collapse.d.ts +3 -18
  33. package/components/config/index.d.ts +87 -52
  34. package/components/count-down/count-down.d.ts +9 -32
  35. package/components/count-to/count-to.d.ts +2 -29
  36. package/components/datetime-picker/datetime-picker.d.ts +5 -26
  37. package/components/datetime-picker-input/datetime-picker-input.d.ts +6 -29
  38. package/components/dialog/common.d.ts +1 -1
  39. package/components/dialog/dialog.d.ts +15 -44
  40. package/components/dialog-agent/common.d.ts +1 -1
  41. package/components/dialog-agent/dialog-agent.d.ts +3 -36
  42. package/components/dropdown/common.d.ts +1 -1
  43. package/components/dropdown/dropdown.d.ts +4 -31
  44. package/components/dropdown-item/dropdown-item.d.ts +8 -27
  45. package/components/empty/empty.d.ts +4 -23
  46. package/components/fab/fab.d.ts +6 -33
  47. package/components/floating-bubble/common.d.ts +1 -1
  48. package/components/floating-bubble/floating-bubble.d.ts +9 -32
  49. package/components/form/Validator.d.ts +3 -3
  50. package/components/form/common.d.ts +2 -10
  51. package/components/form/form.d.ts +9 -42
  52. package/components/form-item/form-item.d.ts +6 -27
  53. package/components/grid/common.d.ts +1 -1
  54. package/components/grid/grid.d.ts +5 -26
  55. package/components/grid-item/grid-item.d.ts +6 -21
  56. package/components/icon/icon.d.ts +2 -25
  57. package/components/indexes/indexes.d.ts +7 -22
  58. package/components/indexes-anchor/indexes-anchor.d.ts +3 -18
  59. package/components/indexes-nav/indexes-nav.d.ts +6 -21
  60. package/components/input/common.d.ts +2 -2
  61. package/components/input/input.d.ts +17 -60
  62. package/components/keyboard/common.d.ts +1 -1
  63. package/components/keyboard/keyboard.d.ts +9 -28
  64. package/components/list/common.d.ts +1 -1
  65. package/components/list/list.d.ts +3 -18
  66. package/components/list-item/list-item.d.ts +8 -27
  67. package/components/load-more/load-more.d.ts +8 -27
  68. package/components/loading/common.d.ts +1 -1
  69. package/components/loading/loading.d.ts +5 -28
  70. package/components/locale/index.d.ts +1 -1
  71. package/components/marquee/common.d.ts +1 -1
  72. package/components/marquee/marquee.d.ts +5 -28
  73. package/components/menu/menu.d.ts +5 -26
  74. package/components/menu-item/menu-item.d.ts +4 -21
  75. package/components/navbar/navbar.d.ts +3 -18
  76. package/components/navbar-item/navbar-item.d.ts +6 -21
  77. package/components/notice-bar/common.d.ts +1 -1
  78. package/components/notice-bar/notice-bar.d.ts +9 -34
  79. package/components/notify/common.d.ts +2 -2
  80. package/components/notify/notify.d.ts +8 -35
  81. package/components/notify-agent/common.d.ts +2 -2
  82. package/components/notify-agent/notify-agent.d.ts +3 -32
  83. package/components/overlay/overlay.d.ts +7 -26
  84. package/components/pagination/common.d.ts +1 -1
  85. package/components/pagination/pagination.d.ts +8 -37
  86. package/components/password-input/common.d.ts +1 -1
  87. package/components/password-input/password-input.d.ts +6 -31
  88. package/components/picker/picker.d.ts +5 -28
  89. package/components/picker-input/picker-input.d.ts +6 -31
  90. package/components/popout/common.d.ts +1 -1
  91. package/components/popout/popout.d.ts +15 -44
  92. package/components/popout-input/popout-input.d.ts +6 -23
  93. package/components/popout-input/popout-input.vue +1 -1
  94. package/components/popover/common.d.ts +3 -3
  95. package/components/popover/popover.d.ts +9 -40
  96. package/components/popover-reference/popover-reference.d.ts +6 -21
  97. package/components/popup/common.d.ts +1 -1
  98. package/components/popup/popup.d.ts +11 -50
  99. package/components/progress-bar/progress-bar.d.ts +4 -25
  100. package/components/progress-circle/progress-circle.d.ts +4 -25
  101. package/components/pull-down-refresh/pull-down-refresh.d.ts +10 -39
  102. package/components/qrcode/common.d.ts +2 -2
  103. package/components/qrcode/qrcode.d.ts +3 -38
  104. package/components/radio/common.d.ts +1 -1
  105. package/components/radio/radio.d.ts +6 -21
  106. package/components/radio-group/radio-group.d.ts +9 -30
  107. package/components/radio-input/common.d.ts +1 -1
  108. package/components/radio-input/radio-input.d.ts +6 -31
  109. package/components/rate/rate.d.ts +5 -32
  110. package/components/result/common.d.ts +1 -1
  111. package/components/result/result.d.ts +5 -24
  112. package/components/row/row.d.ts +3 -18
  113. package/components/sard-uniapp/sard-uniapp.d.ts +1 -1
  114. package/components/search/common.d.ts +1 -1
  115. package/components/search/search.d.ts +17 -38
  116. package/components/share-sheet/share-sheet.d.ts +10 -33
  117. package/components/skeleton/skeleton.d.ts +4 -25
  118. package/components/skeleton-avatar/skeleton-avatar.d.ts +1 -18
  119. package/components/skeleton-block/skeleton-block.d.ts +1 -18
  120. package/components/skeleton-paragraph/skeleton-paragraph.d.ts +1 -18
  121. package/components/skeleton-title/skeleton-title.d.ts +1 -18
  122. package/components/slider/slider.d.ts +10 -35
  123. package/components/stepper/common.d.ts +2 -2
  124. package/components/stepper/stepper.d.ts +9 -46
  125. package/components/steps/common.d.ts +1 -1
  126. package/components/steps/steps.d.ts +2 -35
  127. package/components/style/functions.scss +22 -0
  128. package/components/style/mixins/bem.scss +3 -2
  129. package/components/style/variables.scss +6 -6
  130. package/components/swiper-dot/common.d.ts +1 -1
  131. package/components/swiper-dot/swiper-dot.d.ts +3 -30
  132. package/components/switch/switch.d.ts +7 -32
  133. package/components/tab/tab.d.ts +6 -21
  134. package/components/tabbar/tabbar.d.ts +7 -26
  135. package/components/tabbar-item/tabbar-item.d.ts +6 -21
  136. package/components/tabs/common.d.ts +1 -1
  137. package/components/tabs/tabs.d.ts +7 -26
  138. package/components/tag/common.d.ts +2 -2
  139. package/components/tag/index.scss +2 -1
  140. package/components/tag/tag.d.ts +9 -30
  141. package/components/timeline/timeline.d.ts +3 -18
  142. package/components/timeline-item/timeline-item.d.ts +3 -18
  143. package/components/toast/common.d.ts +2 -2
  144. package/components/toast/toast.d.ts +8 -37
  145. package/components/toast-agent/common.d.ts +2 -2
  146. package/components/toast-agent/toast-agent.d.ts +4 -35
  147. package/components/tree/common.d.ts +1 -1
  148. package/components/tree/tree.d.ts +3 -30
  149. package/components/tree-branch/tree-branch.d.ts +1 -18
  150. package/components/tree-node/tree-node.d.ts +1 -18
  151. package/components/upload/common.d.ts +3 -11
  152. package/components/upload/upload.d.ts +9 -42
  153. package/components/upload/upload.vue +0 -1
  154. package/components/upload-preview/upload-preview.d.ts +6 -27
  155. package/components/upload-preview/upload-preview.vue +0 -1
  156. package/package.json +118 -17
  157. package/use/useLuckyGrid.d.ts +1 -1
  158. package/use/useLuckyWheel.d.ts +1 -1
  159. package/use/useTransition.d.ts +2 -2
  160. package/use/useZIndex.d.ts +1 -1
  161. package/utils/utils.js +0 -1
@@ -1,29 +1,14 @@
1
1
  import { type IndexesNavProps, type IndexesNavSlots } from '../indexes/common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<IndexesNavProps>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
- select: (name: string | number) => void;
4
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<IndexesNavProps>, {}>>> & {
2
+ declare function __VLS_template(): Readonly<IndexesNavSlots> & IndexesNavSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<IndexesNavProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
+ select: (name: string | number) => any;
5
+ }, string, import("vue").PublicProps, Readonly<IndexesNavProps> & Readonly<{
5
6
  onSelect?: ((name: string | number) => any) | undefined;
6
- }, {}, {}>, Readonly<IndexesNavSlots> & IndexesNavSlots>;
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
- };
@@ -55,11 +55,11 @@ export declare const defaultInputProps: {
55
55
  modelValue: string;
56
56
  validateEvent: boolean;
57
57
  cursorSpacing: number;
58
- confirmType: "done" | "search" | "send" | "next" | "go" | undefined;
58
+ confirmType: InputProps["confirmType"];
59
59
  cursor: number;
60
60
  selectionStart: number;
61
61
  selectionEnd: number;
62
- inputmode: "text" | "search" | "none" | "decimal" | "numeric" | "tel" | "email" | "url" | undefined;
62
+ inputmode: InputProps["inputmode"];
63
63
  };
64
64
  export interface InputSlots {
65
65
  prepend?(props: Record<string, never>): any;
@@ -1,52 +1,25 @@
1
1
  import { type InputProps, type InputSlots } from './common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<InputProps>, {
3
- maxlength: number;
4
- adjustPosition: boolean;
5
- ignoreCompositionEvent: boolean;
6
- showConfirmBar: boolean;
7
- disableDefaultPadding: boolean;
8
- modelValue: string;
9
- validateEvent: boolean;
10
- cursorSpacing: number;
11
- confirmType: "done" | "search" | "send" | "next" | "go" | undefined;
12
- cursor: number;
13
- selectionStart: number;
14
- selectionEnd: number;
15
- inputmode: "text" | "search" | "none" | "decimal" | "numeric" | "tel" | "email" | "url" | undefined;
16
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
- "update:model-value": (value: string) => void;
18
- clear: () => void;
19
- focus: (event: any) => void;
20
- blur: (event: any) => void;
21
- linechange: (event: any) => void;
22
- confirm: (event: any) => void;
23
- keyboardheightchange: (event: any) => void;
24
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<InputProps>, {
25
- maxlength: number;
26
- adjustPosition: boolean;
27
- ignoreCompositionEvent: boolean;
28
- showConfirmBar: boolean;
29
- disableDefaultPadding: boolean;
30
- modelValue: string;
31
- validateEvent: boolean;
32
- cursorSpacing: number;
33
- confirmType: "done" | "search" | "send" | "next" | "go" | undefined;
34
- cursor: number;
35
- selectionStart: number;
36
- selectionEnd: number;
37
- inputmode: "text" | "search" | "none" | "decimal" | "numeric" | "tel" | "email" | "url" | undefined;
38
- }>>> & {
2
+ declare function __VLS_template(): Readonly<InputSlots> & InputSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<InputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
+ "update:model-value": (value: string) => any;
5
+ blur: (event: any) => any;
6
+ focus: (event: any) => any;
7
+ clear: () => any;
8
+ confirm: (event: any) => any;
9
+ linechange: (event: any) => any;
10
+ keyboardheightchange: (event: any) => any;
11
+ }, string, import("vue").PublicProps, Readonly<InputProps> & Readonly<{
39
12
  "onUpdate:model-value"?: ((value: string) => any) | undefined;
40
- onFocus?: ((event: any) => any) | undefined;
41
13
  onBlur?: ((event: any) => any) | undefined;
42
- onConfirm?: ((event: any) => any) | undefined;
14
+ onFocus?: ((event: any) => any) | undefined;
43
15
  onClear?: (() => any) | undefined;
16
+ onConfirm?: ((event: any) => any) | undefined;
44
17
  onLinechange?: ((event: any) => any) | undefined;
45
18
  onKeyboardheightchange?: ((event: any) => any) | undefined;
46
- }, {
19
+ }>, {
47
20
  modelValue: string | number;
48
- confirmType: "done" | "search" | "send" | "next" | "go";
49
- inputmode: "text" | "search" | "none" | "decimal" | "numeric" | "tel" | "email" | "url";
21
+ confirmType: "send" | "search" | "next" | "go" | "done";
22
+ inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
50
23
  validateEvent: boolean;
51
24
  maxlength: number;
52
25
  adjustPosition: boolean;
@@ -57,27 +30,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
57
30
  cursor: number;
58
31
  selectionStart: number;
59
32
  selectionEnd: number;
60
- }, {}>, Readonly<InputSlots> & InputSlots>;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
61
35
  export default _default;
62
- type __VLS_WithDefaults<P, D> = {
63
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
64
- default: D[K];
65
- }> : P[K];
66
- };
67
- type __VLS_Prettify<T> = {
68
- [K in keyof T]: T[K];
69
- } & {};
70
36
  type __VLS_WithTemplateSlots<T, S> = T & {
71
37
  new (): {
72
38
  $slots: S;
73
39
  };
74
40
  };
75
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
76
- type __VLS_TypePropsToOption<T> = {
77
- [K in keyof T]-?: {} extends Pick<T, K> ? {
78
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
79
- } : {
80
- type: import('vue').PropType<T[K]>;
81
- required: true;
82
- };
83
- };
@@ -5,7 +5,7 @@ export interface KeyboardProps {
5
5
  type?: 'number' | 'digit' | 'idcard' | 'random' | 'plate';
6
6
  }
7
7
  export declare const defaultKeyboardProps: {
8
- type: "number" | "digit" | "idcard" | "random" | "plate" | undefined;
8
+ type: KeyboardProps["type"];
9
9
  };
10
10
  export interface KeyboardSlots {
11
11
  default?(props: Record<string, never>): any;
@@ -1,40 +1,21 @@
1
1
  import { type KeyboardProps, type KeyboardSlots } from './common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<KeyboardProps>, {
3
- type: "number" | "digit" | "idcard" | "random" | "plate" | undefined;
4
- }>, {
2
+ declare function __VLS_template(): Readonly<KeyboardSlots> & KeyboardSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<KeyboardProps, {
5
4
  shuffle: () => void;
6
5
  toggle: () => void;
7
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- input: (key: string) => void;
9
- delete: () => void;
10
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<KeyboardProps>, {
11
- type: "number" | "digit" | "idcard" | "random" | "plate" | undefined;
12
- }>>> & {
6
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
+ input: (key: string) => any;
8
+ delete: () => any;
9
+ }, string, import("vue").PublicProps, Readonly<KeyboardProps> & Readonly<{
13
10
  onInput?: ((key: string) => any) | undefined;
14
11
  onDelete?: (() => any) | undefined;
15
- }, {
12
+ }>, {
16
13
  type: "number" | "digit" | "idcard" | "random" | "plate";
17
- }, {}>, Readonly<KeyboardSlots> & KeyboardSlots>;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
16
  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
17
  type __VLS_WithTemplateSlots<T, S> = T & {
28
18
  new (): {
29
19
  $slots: S;
30
20
  };
31
21
  };
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
- };
@@ -27,7 +27,7 @@ export interface ListItemProps {
27
27
  iconFamily?: string;
28
28
  }
29
29
  export declare const defaultListItemProps: {
30
- arrowDirection: "down" | "up" | "right" | undefined;
30
+ arrowDirection: ListItemProps["arrowDirection"];
31
31
  };
32
32
  export interface ListItemEmits {
33
33
  (e: 'click', event: any): void;
@@ -1,25 +1,10 @@
1
1
  import { type ListProps, type ListSlots } from './common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ListProps>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ListProps>, {}>>>, {}, {}>, Readonly<ListSlots> & ListSlots>;
2
+ declare function __VLS_template(): Readonly<ListSlots> & ListSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<ListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ListProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
4
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
3
5
  export default _default;
4
- type __VLS_WithDefaults<P, D> = {
5
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
6
- default: D[K];
7
- }> : P[K];
8
- };
9
- type __VLS_Prettify<T> = {
10
- [K in keyof T]: T[K];
11
- } & {};
12
6
  type __VLS_WithTemplateSlots<T, S> = T & {
13
7
  new (): {
14
8
  $slots: S;
15
9
  };
16
10
  };
17
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
- type __VLS_TypePropsToOption<T> = {
19
- [K in keyof T]-?: {} extends Pick<T, K> ? {
20
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
- } : {
22
- type: import('vue').PropType<T[K]>;
23
- required: true;
24
- };
25
- };
@@ -1,35 +1,16 @@
1
1
  import { type ListItemProps, type ListItemSlots } from '../list/common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ListItemProps>, {
3
- arrowDirection: "down" | "up" | "right" | undefined;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- click: (event: any) => void;
6
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ListItemProps>, {
7
- arrowDirection: "down" | "up" | "right" | undefined;
8
- }>>> & {
2
+ declare function __VLS_template(): Readonly<ListItemSlots> & ListItemSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<ListItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
+ click: (event: any) => any;
5
+ }, string, import("vue").PublicProps, Readonly<ListItemProps> & Readonly<{
9
6
  onClick?: ((event: any) => any) | undefined;
10
- }, {
11
- arrowDirection: "down" | "up" | "right";
12
- }, {}>, Readonly<ListItemSlots> & ListItemSlots>;
7
+ }>, {
8
+ arrowDirection: "up" | "right" | "down";
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
11
  export default _default;
14
- type __VLS_WithDefaults<P, D> = {
15
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
16
- default: D[K];
17
- }> : P[K];
18
- };
19
- type __VLS_Prettify<T> = {
20
- [K in keyof T]: T[K];
21
- } & {};
22
12
  type __VLS_WithTemplateSlots<T, S> = T & {
23
13
  new (): {
24
14
  $slots: S;
25
15
  };
26
16
  };
27
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
- type __VLS_TypePropsToOption<T> = {
29
- [K in keyof T]-?: {} extends Pick<T, K> ? {
30
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
- } : {
32
- type: import('vue').PropType<T[K]>;
33
- required: true;
34
- };
35
- };
@@ -1,37 +1,18 @@
1
1
  import { type LoadMoreProps, type LoadMoreSlots } from './common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<LoadMoreProps>, {
3
- status: "incomplete";
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- "load-more": () => void;
6
- reload: () => void;
7
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<LoadMoreProps>, {
8
- status: "incomplete";
9
- }>>> & {
2
+ declare function __VLS_template(): Readonly<LoadMoreSlots> & LoadMoreSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<LoadMoreProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
+ "load-more": () => any;
5
+ reload: () => any;
6
+ }, string, import("vue").PublicProps, Readonly<LoadMoreProps> & Readonly<{
10
7
  "onLoad-more"?: (() => any) | undefined;
11
8
  onReload?: (() => any) | undefined;
12
- }, {
9
+ }>, {
13
10
  status: import("./common").LoadMoreStatus;
14
- }, {}>, Readonly<LoadMoreSlots> & LoadMoreSlots>;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
13
  export default _default;
16
- type __VLS_WithDefaults<P, D> = {
17
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
18
- default: D[K];
19
- }> : P[K];
20
- };
21
- type __VLS_Prettify<T> = {
22
- [K in keyof T]: T[K];
23
- } & {};
24
14
  type __VLS_WithTemplateSlots<T, S> = T & {
25
15
  new (): {
26
16
  $slots: S;
27
17
  };
28
18
  };
29
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
- type __VLS_TypePropsToOption<T> = {
31
- [K in keyof T]-?: {} extends Pick<T, K> ? {
32
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
- } : {
34
- type: import('vue').PropType<T[K]>;
35
- required: true;
36
- };
37
- };
@@ -15,7 +15,7 @@ export interface LoadingProps {
15
15
  export declare const defaultLoadingProps: {
16
16
  animated: boolean;
17
17
  progress: number;
18
- type: "circular" | "clock" | undefined;
18
+ type: LoadingProps["type"];
19
19
  };
20
20
  export interface LoadingSlots {
21
21
  default?(props: Record<string, never>): any;
@@ -1,37 +1,14 @@
1
1
  import { type LoadingProps, type LoadingSlots } from './common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<LoadingProps>, {
3
- animated: boolean;
4
- progress: number;
5
- type: "circular" | "clock" | undefined;
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<LoadingProps>, {
7
- animated: boolean;
8
- progress: number;
9
- type: "circular" | "clock" | undefined;
10
- }>>>, {
11
- type: "circular" | "clock";
2
+ declare function __VLS_template(): Readonly<LoadingSlots> & LoadingSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<LoadingProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LoadingProps> & Readonly<{}>, {
12
4
  progress: number;
5
+ type: "clock" | "circular";
13
6
  animated: boolean;
14
- }, {}>, Readonly<LoadingSlots> & LoadingSlots>;
7
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
9
  export default _default;
16
- type __VLS_WithDefaults<P, D> = {
17
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
18
- default: D[K];
19
- }> : P[K];
20
- };
21
- type __VLS_Prettify<T> = {
22
- [K in keyof T]: T[K];
23
- } & {};
24
10
  type __VLS_WithTemplateSlots<T, S> = T & {
25
11
  new (): {
26
12
  $slots: S;
27
13
  };
28
14
  };
29
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
- type __VLS_TypePropsToOption<T> = {
31
- [K in keyof T]-?: {} extends Pick<T, K> ? {
32
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
- } : {
34
- type: import('vue').PropType<T[K]>;
35
- required: true;
36
- };
37
- };
@@ -1,4 +1,4 @@
1
- export declare const currentLocale: import("vue").ShallowRef<Record<string, any>>;
1
+ export declare const currentLocale: import("vue").ShallowRef<Record<string, any>, Record<string, any>>;
2
2
  export interface LocaleTranslate {
3
3
  (chainOrData?: string | Record<string, number | string>, data?: Record<string, number | string>): string;
4
4
  }
@@ -7,7 +7,7 @@ export interface MarqueeProps {
7
7
  speed?: number;
8
8
  }
9
9
  export declare const defaultMarqueeProps: {
10
- direction: "vertical" | "horizontal" | undefined;
10
+ direction: MarqueeProps["direction"];
11
11
  delay: number;
12
12
  speed: number;
13
13
  };
@@ -1,39 +1,16 @@
1
1
  import { type MarqueeProps, type MarqueeSlots } from './common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<MarqueeProps>, {
3
- direction: "vertical" | "horizontal" | undefined;
4
- delay: number;
5
- speed: number;
6
- }>, {
2
+ declare function __VLS_template(): Readonly<MarqueeSlots> & MarqueeSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<MarqueeProps, {
7
4
  update: () => void;
8
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<MarqueeProps>, {
9
- direction: "vertical" | "horizontal" | undefined;
10
- delay: number;
11
- speed: number;
12
- }>>>, {
5
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MarqueeProps> & Readonly<{}>, {
13
6
  direction: "vertical" | "horizontal";
14
7
  delay: number;
15
8
  speed: number;
16
- }, {}>, Readonly<MarqueeSlots> & MarqueeSlots>;
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
17
11
  export default _default;
18
- type __VLS_WithDefaults<P, D> = {
19
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
20
- default: D[K];
21
- }> : P[K];
22
- };
23
- type __VLS_Prettify<T> = {
24
- [K in keyof T]: T[K];
25
- } & {};
26
12
  type __VLS_WithTemplateSlots<T, S> = T & {
27
13
  new (): {
28
14
  $slots: S;
29
15
  };
30
16
  };
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
- };
@@ -1,30 +1,9 @@
1
1
  import { type MenuProps, type MenuOption } from './common';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<MenuProps>, {
3
- options: () => never[];
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- select: (option: MenuOption) => void;
6
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<MenuProps>, {
7
- options: () => never[];
8
- }>>> & {
2
+ declare const _default: import("vue").DefineComponent<MenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
+ select: (option: MenuOption) => any;
4
+ }, string, import("vue").PublicProps, Readonly<MenuProps> & Readonly<{
9
5
  onSelect?: ((option: MenuOption) => any) | undefined;
10
- }, {
6
+ }>, {
11
7
  options: MenuOption[];
12
- }, {}>;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
9
  export default _default;
14
- type __VLS_WithDefaults<P, D> = {
15
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
16
- default: D[K];
17
- }> : P[K];
18
- };
19
- type __VLS_Prettify<T> = {
20
- [K in keyof T]: T[K];
21
- } & {};
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToOption<T> = {
24
- [K in keyof T]-?: {} extends Pick<T, K> ? {
25
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
- } : {
27
- type: import('vue').PropType<T[K]>;
28
- required: true;
29
- };
30
- };
@@ -1,24 +1,7 @@
1
1
  import { type MenuItemProps } from '../menu/common';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<MenuItemProps>, {}>, {}, 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<MenuItemProps>, {}>>> & {
2
+ declare const _default: import("vue").DefineComponent<MenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
+ click: (event: any) => any;
4
+ }, string, import("vue").PublicProps, Readonly<MenuItemProps> & Readonly<{
5
5
  onClick?: ((event: any) => any) | undefined;
6
- }, {}, {}>;
6
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  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
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
- type __VLS_TypePropsToOption<T> = {
18
- [K in keyof T]-?: {} extends Pick<T, K> ? {
19
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
- } : {
21
- type: import('vue').PropType<T[K]>;
22
- required: true;
23
- };
24
- };
@@ -1,25 +1,10 @@
1
1
  import { type NavbarProps, type NavbarSlots } from './common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<NavbarProps>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NavbarProps>, {}>>>, {}, {}>, Readonly<NavbarSlots> & NavbarSlots>;
2
+ declare function __VLS_template(): Readonly<NavbarSlots> & NavbarSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<NavbarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavbarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
4
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
3
5
  export default _default;
4
- type __VLS_WithDefaults<P, D> = {
5
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
6
- default: D[K];
7
- }> : P[K];
8
- };
9
- type __VLS_Prettify<T> = {
10
- [K in keyof T]: T[K];
11
- } & {};
12
6
  type __VLS_WithTemplateSlots<T, S> = T & {
13
7
  new (): {
14
8
  $slots: S;
15
9
  };
16
10
  };
17
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
- type __VLS_TypePropsToOption<T> = {
19
- [K in keyof T]-?: {} extends Pick<T, K> ? {
20
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
- } : {
22
- type: import('vue').PropType<T[K]>;
23
- required: true;
24
- };
25
- };
@@ -1,29 +1,14 @@
1
1
  import { type NavbarItemProps, type NavbarItemSlots } from '../navbar/common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<NavbarItemProps>, {}>, {}, 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<NavbarItemProps>, {}>>> & {
2
+ declare function __VLS_template(): Readonly<NavbarItemSlots> & NavbarItemSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<NavbarItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
+ click: (event: any) => any;
5
+ }, string, import("vue").PublicProps, Readonly<NavbarItemProps> & Readonly<{
5
6
  onClick?: ((event: any) => any) | undefined;
6
- }, {}, {}>, Readonly<NavbarItemSlots> & NavbarItemSlots>;
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
- };
@@ -17,7 +17,7 @@ export interface NoticeBarProps {
17
17
  export declare const defaultNoticeBarProps: {
18
18
  delay: number;
19
19
  speed: number;
20
- scrollable: "auto" | "never" | "always" | undefined;
20
+ scrollable: NoticeBarProps["scrollable"];
21
21
  visible: boolean;
22
22
  };
23
23
  export interface NoticeBarSlots {