sard-uniapp 1.8.0 → 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 (223) hide show
  1. package/changelog.md +18 -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/accordion-item/accordion-item.vue +4 -0
  6. package/components/action-sheet/action-sheet.d.ts +10 -33
  7. package/components/action-sheet/action-sheet.vue +4 -0
  8. package/components/alert/alert.d.ts +8 -27
  9. package/components/alert/alert.vue +3 -0
  10. package/components/alert/common.d.ts +1 -1
  11. package/components/alert/index.scss +6 -2
  12. package/components/avatar/avatar.d.ts +4 -23
  13. package/components/avatar/avatar.vue +3 -0
  14. package/components/avatar/common.d.ts +1 -1
  15. package/components/back-top/back-top.d.ts +7 -28
  16. package/components/back-top/back-top.vue +3 -0
  17. package/components/back-top/usePageBackTop.d.ts +1 -1
  18. package/components/back-top/useScrollViewBackTop.d.ts +1 -1
  19. package/components/badge/badge.d.ts +5 -26
  20. package/components/button/button.d.ts +13 -66
  21. package/components/button/button.vue +3 -0
  22. package/components/button/common.d.ts +3 -3
  23. package/components/button/index.scss +3 -2
  24. package/components/calendar/calendar.d.ts +5 -30
  25. package/components/calendar/calendar.vue +7 -0
  26. package/components/calendar/common.d.ts +1 -1
  27. package/components/calendar-input/calendar-input.d.ts +6 -35
  28. package/components/calendar-input/calendar-input.vue +5 -0
  29. package/components/calendar-input/common.d.ts +1 -1
  30. package/components/calendar-month/calendar-month.d.ts +4 -21
  31. package/components/card/card.d.ts +6 -21
  32. package/components/cascader/cascader.d.ts +8 -27
  33. package/components/cascader/cascader.vue +5 -0
  34. package/components/cascader-input/cascader-input.d.ts +9 -30
  35. package/components/cascader-input/cascader-input.vue +5 -0
  36. package/components/check-icon/check-icon.d.ts +3 -26
  37. package/components/check-icon/check-icon.vue +3 -0
  38. package/components/checkbox/checkbox.d.ts +10 -29
  39. package/components/checkbox/checkbox.vue +3 -0
  40. package/components/checkbox/common.d.ts +1 -1
  41. package/components/checkbox-group/checkbox-group.d.ts +11 -32
  42. package/components/checkbox-group/checkbox-group.vue +3 -0
  43. package/components/checkbox-input/checkbox-input.d.ts +6 -29
  44. package/components/checkbox-input/checkbox-input.vue +8 -0
  45. package/components/col/col.d.ts +3 -18
  46. package/components/collapse/collapse.d.ts +3 -18
  47. package/components/config/index.d.ts +87 -52
  48. package/components/count-down/count-down.d.ts +9 -32
  49. package/components/count-to/count-to.d.ts +2 -29
  50. package/components/datetime-picker/datetime-picker.d.ts +5 -26
  51. package/components/datetime-picker/datetime-picker.vue +3 -0
  52. package/components/datetime-picker-input/datetime-picker-input.d.ts +6 -29
  53. package/components/datetime-picker-input/datetime-picker-input.vue +5 -0
  54. package/components/dialog/common.d.ts +1 -1
  55. package/components/dialog/dialog.d.ts +15 -44
  56. package/components/dialog/dialog.vue +5 -0
  57. package/components/dialog-agent/common.d.ts +1 -1
  58. package/components/dialog-agent/dialog-agent.d.ts +3 -36
  59. package/components/dialog-agent/dialog-agent.vue +3 -0
  60. package/components/dropdown/common.d.ts +1 -1
  61. package/components/dropdown/dropdown.d.ts +4 -31
  62. package/components/dropdown-item/dropdown-item.d.ts +8 -27
  63. package/components/dropdown-item/dropdown-item.vue +6 -0
  64. package/components/empty/empty.d.ts +4 -23
  65. package/components/empty/empty.vue +3 -0
  66. package/components/fab/fab.d.ts +6 -33
  67. package/components/fab/fab.vue +4 -0
  68. package/components/floating-bubble/common.d.ts +1 -1
  69. package/components/floating-bubble/floating-bubble.d.ts +9 -32
  70. package/components/form/Validator.d.ts +3 -3
  71. package/components/form/common.d.ts +2 -10
  72. package/components/form/form.d.ts +9 -42
  73. package/components/form-item/form-item.d.ts +6 -27
  74. package/components/grid/common.d.ts +1 -1
  75. package/components/grid/grid.d.ts +5 -26
  76. package/components/grid-item/grid-item.d.ts +6 -21
  77. package/components/grid-item/grid-item.vue +3 -0
  78. package/components/icon/icon.d.ts +2 -25
  79. package/components/indexes/indexes.d.ts +7 -22
  80. package/components/indexes/indexes.vue +3 -0
  81. package/components/indexes-anchor/indexes-anchor.d.ts +3 -18
  82. package/components/indexes-nav/indexes-nav.d.ts +6 -21
  83. package/components/input/common.d.ts +2 -2
  84. package/components/input/input.d.ts +17 -60
  85. package/components/input/input.vue +3 -0
  86. package/components/keyboard/common.d.ts +1 -1
  87. package/components/keyboard/keyboard.d.ts +9 -28
  88. package/components/keyboard/keyboard.vue +3 -0
  89. package/components/list/common.d.ts +1 -1
  90. package/components/list/list.d.ts +3 -18
  91. package/components/list-item/list-item.d.ts +8 -27
  92. package/components/list-item/list-item.vue +3 -0
  93. package/components/load-more/load-more.d.ts +8 -27
  94. package/components/load-more/load-more.vue +3 -0
  95. package/components/loading/common.d.ts +1 -1
  96. package/components/loading/loading.d.ts +5 -28
  97. package/components/locale/index.d.ts +1 -1
  98. package/components/marquee/common.d.ts +1 -1
  99. package/components/marquee/marquee.d.ts +5 -28
  100. package/components/menu/menu.d.ts +5 -26
  101. package/components/menu/menu.vue +3 -0
  102. package/components/menu-item/menu-item.d.ts +4 -21
  103. package/components/menu-item/menu-item.vue +3 -0
  104. package/components/navbar/navbar.d.ts +3 -18
  105. package/components/navbar-item/navbar-item.d.ts +6 -21
  106. package/components/notice-bar/common.d.ts +1 -1
  107. package/components/notice-bar/notice-bar.d.ts +9 -34
  108. package/components/notice-bar/notice-bar.vue +3 -0
  109. package/components/notify/common.d.ts +2 -2
  110. package/components/notify/notify.d.ts +8 -35
  111. package/components/notify/notify.vue +3 -0
  112. package/components/notify-agent/common.d.ts +2 -2
  113. package/components/notify-agent/notify-agent.d.ts +3 -32
  114. package/components/notify-agent/notify-agent.vue +3 -0
  115. package/components/overlay/overlay.d.ts +7 -26
  116. package/components/pagination/common.d.ts +1 -1
  117. package/components/pagination/pagination.d.ts +8 -37
  118. package/components/password-input/common.d.ts +1 -1
  119. package/components/password-input/password-input.d.ts +6 -31
  120. package/components/picker/picker.d.ts +5 -28
  121. package/components/picker-input/picker-input.d.ts +6 -31
  122. package/components/picker-input/picker-input.vue +5 -0
  123. package/components/popout/common.d.ts +1 -1
  124. package/components/popout/popout.d.ts +15 -44
  125. package/components/popout/popout.vue +5 -0
  126. package/components/popout-input/popout-input.d.ts +6 -23
  127. package/components/popout-input/popout-input.vue +6 -1
  128. package/components/popover/common.d.ts +3 -3
  129. package/components/popover/popover.d.ts +9 -40
  130. package/components/popover/popover.vue +4 -0
  131. package/components/popover-reference/popover-reference.d.ts +6 -21
  132. package/components/popup/common.d.ts +1 -1
  133. package/components/popup/popup.d.ts +11 -50
  134. package/components/popup/popup.vue +3 -0
  135. package/components/progress-bar/progress-bar.d.ts +4 -25
  136. package/components/progress-bar/progress-bar.vue +3 -0
  137. package/components/progress-circle/progress-circle.d.ts +4 -25
  138. package/components/progress-circle/progress-circle.vue +3 -0
  139. package/components/pull-down-refresh/pull-down-refresh.d.ts +10 -39
  140. package/components/pull-down-refresh/pull-down-refresh.vue +3 -0
  141. package/components/qrcode/common.d.ts +2 -2
  142. package/components/qrcode/qrcode.d.ts +3 -38
  143. package/components/radio/common.d.ts +1 -1
  144. package/components/radio/radio.d.ts +6 -21
  145. package/components/radio/radio.vue +3 -0
  146. package/components/radio-group/radio-group.d.ts +9 -30
  147. package/components/radio-group/radio-group.vue +3 -0
  148. package/components/radio-input/common.d.ts +1 -1
  149. package/components/radio-input/radio-input.d.ts +6 -31
  150. package/components/radio-input/radio-input.vue +8 -0
  151. package/components/rate/rate.d.ts +5 -32
  152. package/components/rate/rate.vue +3 -0
  153. package/components/result/common.d.ts +1 -1
  154. package/components/result/result.d.ts +5 -24
  155. package/components/result/result.vue +3 -0
  156. package/components/row/row.d.ts +3 -18
  157. package/components/sard-uniapp/sard-uniapp.d.ts +1 -1
  158. package/components/search/common.d.ts +1 -1
  159. package/components/search/search.d.ts +17 -38
  160. package/components/search/search.vue +5 -0
  161. package/components/share-sheet/share-sheet.d.ts +10 -33
  162. package/components/share-sheet/share-sheet.vue +4 -0
  163. package/components/skeleton/skeleton.d.ts +4 -25
  164. package/components/skeleton/skeleton.vue +5 -0
  165. package/components/skeleton-avatar/skeleton-avatar.d.ts +1 -18
  166. package/components/skeleton-avatar/skeleton-avatar.vue +3 -0
  167. package/components/skeleton-block/skeleton-block.d.ts +1 -18
  168. package/components/skeleton-paragraph/skeleton-paragraph.d.ts +1 -18
  169. package/components/skeleton-paragraph/skeleton-paragraph.vue +3 -0
  170. package/components/skeleton-title/skeleton-title.d.ts +1 -18
  171. package/components/skeleton-title/skeleton-title.vue +3 -0
  172. package/components/slider/slider.d.ts +10 -35
  173. package/components/stepper/common.d.ts +2 -2
  174. package/components/stepper/stepper.d.ts +9 -46
  175. package/components/stepper/stepper.vue +3 -0
  176. package/components/steps/common.d.ts +1 -1
  177. package/components/steps/steps.d.ts +2 -35
  178. package/components/steps/steps.vue +3 -0
  179. package/components/style/functions.scss +22 -0
  180. package/components/style/mixins/bem.scss +3 -2
  181. package/components/style/variables.scss +6 -6
  182. package/components/swiper-dot/common.d.ts +1 -1
  183. package/components/swiper-dot/swiper-dot.d.ts +3 -30
  184. package/components/switch/switch.d.ts +7 -32
  185. package/components/switch/switch.vue +3 -0
  186. package/components/tab/tab.d.ts +6 -21
  187. package/components/tabbar/tabbar.d.ts +7 -26
  188. package/components/tabbar-item/tabbar-item.d.ts +6 -21
  189. package/components/tabbar-item/tabbar-item.vue +4 -0
  190. package/components/tabs/common.d.ts +1 -1
  191. package/components/tabs/tabs.d.ts +7 -26
  192. package/components/tabs/tabs.vue +3 -0
  193. package/components/tag/common.d.ts +2 -2
  194. package/components/tag/index.scss +2 -1
  195. package/components/tag/tag.d.ts +9 -30
  196. package/components/tag/tag.vue +3 -0
  197. package/components/timeline/timeline.d.ts +3 -18
  198. package/components/timeline-item/timeline-item.d.ts +3 -18
  199. package/components/timeline-item/timeline-item.vue +3 -0
  200. package/components/toast/common.d.ts +2 -2
  201. package/components/toast/toast.d.ts +8 -37
  202. package/components/toast/toast.vue +5 -0
  203. package/components/toast-agent/common.d.ts +2 -2
  204. package/components/toast-agent/toast-agent.d.ts +4 -35
  205. package/components/toast-agent/toast-agent.vue +3 -0
  206. package/components/tree/common.d.ts +1 -1
  207. package/components/tree/tree.d.ts +3 -30
  208. package/components/tree/tree.vue +7 -0
  209. package/components/tree-branch/tree-branch.d.ts +1 -18
  210. package/components/tree-branch/tree-branch.vue +3 -0
  211. package/components/tree-node/tree-node.d.ts +1 -18
  212. package/components/tree-node/tree-node.vue +6 -0
  213. package/components/upload/common.d.ts +3 -11
  214. package/components/upload/upload.d.ts +9 -42
  215. package/components/upload/upload.vue +4 -1
  216. package/components/upload-preview/upload-preview.d.ts +6 -27
  217. package/components/upload-preview/upload-preview.vue +4 -1
  218. package/package.json +118 -17
  219. package/use/useLuckyGrid.d.ts +1 -1
  220. package/use/useLuckyWheel.d.ts +1 -1
  221. package/use/useTransition.d.ts +2 -2
  222. package/use/useZIndex.d.ts +1 -1
  223. package/utils/utils.js +0 -1
@@ -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
- };
@@ -25,6 +25,9 @@ import {
25
25
  import SarCheckIcon from "../check-icon/check-icon.vue";
26
26
  import { useFormContext } from "../form/common";
27
27
  export default _defineComponent({
28
+ components: {
29
+ SarCheckIcon,
30
+ },
28
31
  ...{
29
32
  options: {
30
33
  virtualHost: true,
@@ -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
- };
@@ -41,6 +41,9 @@ import {
41
41
  import { useFormItemContext } from "../form/common";
42
42
  import SarRadio from "../radio/radio.vue";
43
43
  export default _defineComponent({
44
+ components: {
45
+ SarRadio,
46
+ },
44
47
  ...{
45
48
  options: {
46
49
  virtualHost: true,
@@ -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
- };
@@ -69,6 +69,14 @@ import {
69
69
  import { createBem, getMayPrimitiveOption, isNullish } from "../../utils";
70
70
  import { useFormItemContext } from "../form/common";
71
71
  export default _defineComponent({
72
+ components: {
73
+ SarPopoutInput,
74
+ SarPopout,
75
+ SarRadioGroup,
76
+ SarRadio,
77
+ SarList,
78
+ SarListItem,
79
+ },
72
80
  ...{
73
81
  options: {
74
82
  virtualHost: true,
@@ -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
- };
@@ -67,6 +67,9 @@ import { useFormContext, useFormItemContext } from "../form/common";
67
67
  import { defaultRateProps } from "./common";
68
68
  import { useMouseDown } from "../../use";
69
69
  export default _defineComponent({
70
+ components: {
71
+ SarIcon,
72
+ },
70
73
  ...{
71
74
  options: {
72
75
  virtualHost: true,
@@ -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;
@@ -1,31 +1,12 @@
1
1
  import { type ResultProps, type ResultSlots } from './common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ResultProps>, {
3
- status: "success" | "warning" | "info" | "error" | "question" | undefined;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ResultProps>, {
5
- status: "success" | "warning" | "info" | "error" | "question" | undefined;
6
- }>>>, {
7
- status: "success" | "warning" | "info" | "error" | "question";
8
- }, {}>, Readonly<ResultSlots> & ResultSlots>;
2
+ declare function __VLS_template(): Readonly<ResultSlots> & ResultSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<ResultProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ResultProps> & Readonly<{}>, {
4
+ status: "success" | "info" | "warning" | "error" | "question";
5
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
9
7
  export default _default;
10
- type __VLS_WithDefaults<P, D> = {
11
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
12
- default: D[K];
13
- }> : P[K];
14
- };
15
- type __VLS_Prettify<T> = {
16
- [K in keyof T]: T[K];
17
- } & {};
18
8
  type __VLS_WithTemplateSlots<T, S> = T & {
19
9
  new (): {
20
10
  $slots: S;
21
11
  };
22
12
  };
23
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
- type __VLS_TypePropsToOption<T> = {
25
- [K in keyof T]-?: {} extends Pick<T, K> ? {
26
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
- } : {
28
- type: import('vue').PropType<T[K]>;
29
- required: true;
30
- };
31
- };
@@ -32,6 +32,9 @@ import {
32
32
  defaultResultProps
33
33
  } from "./common";
34
34
  export default _defineComponent({
35
+ components: {
36
+ SarIcon,
37
+ },
35
38
  ...{
36
39
  options: {
37
40
  virtualHost: true,
@@ -1,25 +1,10 @@
1
1
  import { type RowProps, type RowSlots } from '../layout/common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<RowProps>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<RowProps>, {}>>>, {}, {}>, Readonly<RowSlots> & RowSlots>;
2
+ declare function __VLS_template(): Readonly<RowSlots> & RowSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<RowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RowProps> & 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,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -16,7 +16,7 @@ export interface SearchProps {
16
16
  focus?: boolean;
17
17
  }
18
18
  export declare const defaultSearchProps: {
19
- shape: "square" | "round" | undefined;
19
+ shape: SearchProps["shape"];
20
20
  focus: boolean;
21
21
  };
22
22
  export interface SearchSlots {
@@ -1,50 +1,29 @@
1
1
  import { type SearchProps, type SearchSlots } from './common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SearchProps>, {
3
- shape: "square" | "round" | undefined;
4
- focus: boolean;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- "update:model-value": (value: string) => void;
7
- cancel: () => void;
8
- search: (value: string) => void;
9
- click: (event: any) => void;
10
- clear: () => void;
11
- focus: (event: any) => void;
12
- blur: (event: any) => void;
13
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SearchProps>, {
14
- shape: "square" | "round" | undefined;
15
- focus: boolean;
16
- }>>> & {
2
+ declare function __VLS_template(): Readonly<SearchSlots> & SearchSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<SearchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
+ "update:model-value": (value: string) => any;
5
+ click: (event: any) => any;
6
+ blur: (event: any) => any;
7
+ cancel: () => any;
8
+ focus: (event: any) => any;
9
+ search: (value: string) => any;
10
+ clear: () => any;
11
+ }, string, import("vue").PublicProps, Readonly<SearchProps> & Readonly<{
17
12
  "onUpdate:model-value"?: ((value: string) => any) | undefined;
18
- onFocus?: ((event: any) => any) | undefined;
19
- onBlur?: ((event: any) => any) | undefined;
20
13
  onClick?: ((event: any) => any) | undefined;
14
+ onBlur?: ((event: any) => any) | undefined;
21
15
  onCancel?: (() => any) | undefined;
22
- onClear?: (() => any) | undefined;
16
+ onFocus?: ((event: any) => any) | undefined;
23
17
  onSearch?: ((value: string) => any) | undefined;
24
- }, {
25
- shape: "square" | "round";
18
+ onClear?: (() => any) | undefined;
19
+ }>, {
26
20
  focus: boolean;
27
- }, {}>, Readonly<SearchSlots> & SearchSlots>;
21
+ shape: "round" | "square";
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
28
24
  export default _default;
29
- type __VLS_WithDefaults<P, D> = {
30
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
- default: D[K];
32
- }> : P[K];
33
- };
34
- type __VLS_Prettify<T> = {
35
- [K in keyof T]: T[K];
36
- } & {};
37
25
  type __VLS_WithTemplateSlots<T, S> = T & {
38
26
  new (): {
39
27
  $slots: S;
40
28
  };
41
29
  };
42
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
- type __VLS_TypePropsToOption<T> = {
44
- [K in keyof T]-?: {} extends Pick<T, K> ? {
45
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
46
- } : {
47
- type: import('vue').PropType<T[K]>;
48
- required: true;
49
- };
50
- };
@@ -65,6 +65,11 @@ import {
65
65
  defaultSearchProps
66
66
  } from "./common";
67
67
  export default _defineComponent({
68
+ components: {
69
+ SarInput,
70
+ SarIcon,
71
+ SarButton,
72
+ },
68
73
  ...{
69
74
  options: {
70
75
  virtualHost: true,
@@ -1,39 +1,16 @@
1
1
  import { type ShareSheetProps, type ShareSheetItem } from './common';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ShareSheetProps>, {
3
- overlayClosable: boolean;
4
- duration: number;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- "update:visible": (visible: boolean) => void;
7
- close: () => void;
8
- cancel: () => void;
9
- select: (item: ShareSheetItem) => void;
10
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ShareSheetProps>, {
11
- overlayClosable: boolean;
12
- duration: number;
13
- }>>> & {
14
- onSelect?: ((item: ShareSheetItem) => any) | undefined;
15
- onClose?: (() => any) | undefined;
2
+ declare const _default: import("vue").DefineComponent<ShareSheetProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
+ cancel: () => any;
4
+ close: () => any;
5
+ select: (item: ShareSheetItem) => any;
6
+ "update:visible": (visible: boolean) => any;
7
+ }, string, import("vue").PublicProps, Readonly<ShareSheetProps> & Readonly<{
16
8
  onCancel?: (() => any) | undefined;
9
+ onClose?: (() => any) | undefined;
10
+ onSelect?: ((item: ShareSheetItem) => any) | undefined;
17
11
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
18
- }, {
12
+ }>, {
19
13
  duration: number;
20
14
  overlayClosable: boolean;
21
- }, {}>;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
16
  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
- };
@@ -85,6 +85,10 @@ import {
85
85
  defaultShareSheetProps
86
86
  } from "./common";
87
87
  export default _defineComponent({
88
+ components: {
89
+ SarPopup,
90
+ SarIcon,
91
+ },
88
92
  ...{
89
93
  options: {
90
94
  virtualHost: true,
@@ -1,34 +1,13 @@
1
1
  import { type SkeletonProps, type SkeletonSlots } from './common';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SkeletonProps>, {
3
- rows: number;
4
- loading: boolean;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SkeletonProps>, {
6
- rows: number;
7
- loading: boolean;
8
- }>>>, {
2
+ declare function __VLS_template(): Readonly<SkeletonSlots> & SkeletonSlots;
3
+ declare const __VLS_component: import("vue").DefineComponent<SkeletonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
9
4
  loading: boolean;
10
5
  rows: number;
11
- }, {}>, Readonly<SkeletonSlots> & SkeletonSlots>;
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
- };
@@ -30,6 +30,11 @@ import {
30
30
  defaultSkeletonProps
31
31
  } from "./common";
32
32
  export default _defineComponent({
33
+ components: {
34
+ SarSkeletonAvatar,
35
+ SarSkeletonTitle,
36
+ SarSkeletonParagraph,
37
+ },
33
38
  ...{
34
39
  options: {
35
40
  virtualHost: true,
@@ -1,20 +1,3 @@
1
1
  import { type SkeletonAvatarProps } from '../skeleton/common';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SkeletonAvatarProps>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SkeletonAvatarProps>, {}>>>, {}, {}>;
2
+ declare const _default: import("vue").DefineComponent<SkeletonAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SkeletonAvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
3
  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
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
- type __VLS_TypePropsToOption<T> = {
14
- [K in keyof T]-?: {} extends Pick<T, K> ? {
15
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
- } : {
17
- type: import('vue').PropType<T[K]>;
18
- required: true;
19
- };
20
- };
@@ -15,6 +15,9 @@ import { computed } from "vue";
15
15
  import { classNames, stringifyStyle, createBem } from "../../utils";
16
16
  import SarSkeletonBlock from "../skeleton-block/skeleton-block.vue";
17
17
  export default _defineComponent({
18
+ components: {
19
+ SarSkeletonBlock,
20
+ },
18
21
  ...{
19
22
  options: {
20
23
  virtualHost: true,
@@ -1,20 +1,3 @@
1
1
  import { type SkeletonBlockProps } from '../skeleton/common';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SkeletonBlockProps>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SkeletonBlockProps>, {}>>>, {}, {}>;
2
+ declare const _default: import("vue").DefineComponent<SkeletonBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SkeletonBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
3
  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
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
- type __VLS_TypePropsToOption<T> = {
14
- [K in keyof T]-?: {} extends Pick<T, K> ? {
15
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
- } : {
17
- type: import('vue').PropType<T[K]>;
18
- required: true;
19
- };
20
- };
@@ -1,20 +1,3 @@
1
1
  import { type SkeletonParagraphProps } from '../skeleton/common';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SkeletonParagraphProps>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SkeletonParagraphProps>, {}>>>, {}, {}>;
2
+ declare const _default: import("vue").DefineComponent<SkeletonParagraphProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SkeletonParagraphProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
3
  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
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
- type __VLS_TypePropsToOption<T> = {
14
- [K in keyof T]-?: {} extends Pick<T, K> ? {
15
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
- } : {
17
- type: import('vue').PropType<T[K]>;
18
- required: true;
19
- };
20
- };
@@ -18,6 +18,9 @@ import { computed } from "vue";
18
18
  import { classNames, stringifyStyle, createBem } from "../../utils";
19
19
  import SarSkeletonBlock from "../skeleton-block/skeleton-block.vue";
20
20
  export default _defineComponent({
21
+ components: {
22
+ SarSkeletonBlock,
23
+ },
21
24
  ...{
22
25
  options: {
23
26
  virtualHost: true,