sard-uniapp 1.24.6 → 1.25.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 (233) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +1 -1
  3. package/components/action-sheet/action-sheet.d.ts +8 -1
  4. package/components/action-sheet/common.d.ts +99 -2
  5. package/components/alert/alert.d.ts +6 -0
  6. package/components/alert/common.d.ts +63 -1
  7. package/components/avatar/avatar.d.ts +8 -0
  8. package/components/avatar/common.d.ts +99 -1
  9. package/components/avatar-group/avatar-group.d.ts +6 -1
  10. package/components/avatar-group/common.d.ts +63 -2
  11. package/components/back-top/back-top.d.ts +4 -0
  12. package/components/back-top/common.d.ts +40 -1
  13. package/components/badge/badge.d.ts +7 -0
  14. package/components/badge/common.d.ts +99 -2
  15. package/components/button/button.d.ts +22 -0
  16. package/components/button/common.d.ts +960 -8
  17. package/components/calendar/calendar.d.ts +16 -1
  18. package/components/calendar/common.d.ts +360 -3
  19. package/components/calendar-input/calendar-input.d.ts +31 -2
  20. package/components/calendar-input/common.d.ts +1368 -7
  21. package/components/calendar-popout/calendar-popout.d.ts +22 -2
  22. package/components/calendar-popout/common.d.ts +675 -5
  23. package/components/cascader/README.md +1 -1
  24. package/components/cascader-input/cascader-input.d.ts +25 -0
  25. package/components/cascader-input/common.d.ts +783 -3
  26. package/components/cascader-popout/cascader-popout.d.ts +14 -0
  27. package/components/cascader-popout/common.d.ts +288 -2
  28. package/components/checkbox/checkbox.d.ts +11 -0
  29. package/components/checkbox/common.d.ts +323 -3
  30. package/components/checkbox-group/checkbox-group.d.ts +10 -0
  31. package/components/checkbox-input/checkbox-input.d.ts +28 -1
  32. package/components/checkbox-input/common.d.ts +960 -4
  33. package/components/checkbox-popout/checkbox-popout.d.ts +19 -1
  34. package/components/checkbox-popout/common.d.ts +460 -2
  35. package/components/config/index.d.ts +152 -482
  36. package/components/config/index.js +26 -34
  37. package/components/cool-icon/common.d.ts +63 -1
  38. package/components/cool-icon/cool-icon.d.ts +6 -0
  39. package/components/count-down/common.d.ts +48 -3
  40. package/components/count-down/count-down.d.ts +3 -0
  41. package/components/count-to/common.d.ts +35 -4
  42. package/components/count-to/count-to.d.ts +1 -0
  43. package/components/crop-image/common.d.ts +288 -4
  44. package/components/crop-image/crop-image.d.ts +12 -0
  45. package/components/crop-image-agent/common.d.ts +288 -5
  46. package/components/crop-image-agent/crop-image-agent.d.ts +11 -0
  47. package/components/datetime-picker/common.d.ts +120 -2
  48. package/components/datetime-picker/datetime-picker.d.ts +9 -1
  49. package/components/datetime-picker-input/common.d.ts +783 -4
  50. package/components/datetime-picker-input/datetime-picker-input.d.ts +23 -0
  51. package/components/datetime-picker-popout/common.d.ts +288 -3
  52. package/components/datetime-picker-popout/datetime-picker-popout.d.ts +13 -0
  53. package/components/datetime-range-picker/common.d.ts +143 -1
  54. package/components/datetime-range-picker/datetime-range-picker.d.ts +10 -0
  55. package/components/datetime-range-picker-input/common.d.ts +840 -3
  56. package/components/datetime-range-picker-input/datetime-range-picker-input.d.ts +25 -0
  57. package/components/datetime-range-picker-popout/common.d.ts +323 -2
  58. package/components/datetime-range-picker-popout/datetime-range-picker-popout.d.ts +15 -0
  59. package/components/dialog/common.d.ts +360 -6
  60. package/components/dialog/dialog.d.ts +16 -3
  61. package/components/dialog-agent/common.d.ts +1023 -7
  62. package/components/dialog-agent/dialog-agent.d.ts +28 -3
  63. package/components/divider/common.d.ts +48 -3
  64. package/components/divider/divider.d.ts +4 -1
  65. package/components/dropdown/common.d.ts +99 -5
  66. package/components/dropdown/dropdown.d.ts +7 -3
  67. package/components/empty/README.md +1 -1
  68. package/components/empty/common.d.ts +48 -1
  69. package/components/empty/empty.d.ts +5 -0
  70. package/components/fab/common.d.ts +619 -7
  71. package/components/fab/fab.d.ts +20 -2
  72. package/components/floating-bubble/common.d.ts +153 -4
  73. package/components/floating-bubble/floating-bubble.d.ts +10 -1
  74. package/components/floating-panel/common.d.ts +63 -3
  75. package/components/floating-panel/floating-panel.d.ts +4 -0
  76. package/components/form/README.md +11 -12
  77. package/components/form/common.d.ts +304 -1
  78. package/components/form/form.d.ts +12 -1
  79. package/components/form-item/form-item.d.ts +15 -0
  80. package/components/form-item/useFormItem.d.ts +1 -1
  81. package/components/form-item-plain/form-item-plain.d.ts +15 -0
  82. package/components/form-item-plain/form-item-plain.vue +7 -3
  83. package/components/form-plain/common.d.ts +0 -1
  84. package/components/form-plain/form-plain.d.ts +12 -1
  85. package/components/grid/common.d.ts +99 -2
  86. package/components/grid/grid.d.ts +8 -1
  87. package/components/icon/common.d.ts +63 -3
  88. package/components/icon/icon.d.ts +5 -1
  89. package/components/icon/sari.scss +9 -5
  90. package/components/image/README.md +108 -0
  91. package/components/image/common.d.ts +455 -0
  92. package/components/image/common.js +22 -0
  93. package/components/image/image.d.ts +38 -0
  94. package/components/image/image.vue +222 -0
  95. package/components/image/index.d.ts +1 -0
  96. package/components/image/index.js +1 -0
  97. package/components/image/index.scss +72 -0
  98. package/components/image/variables.scss +13 -0
  99. package/components/indexes/common.d.ts +1 -0
  100. package/components/indexes/indexes.vue +2 -1
  101. package/components/input/common.d.ts +2400 -14
  102. package/components/input/input.d.ts +36 -2
  103. package/components/keyboard/common.d.ts +24 -2
  104. package/components/keyboard/keyboard.d.ts +2 -0
  105. package/components/list/common.d.ts +168 -1
  106. package/components/list-item/list-item.d.ts +11 -0
  107. package/components/loading/common.d.ts +117 -1
  108. package/components/loading/loading.d.ts +8 -0
  109. package/components/loading/loading.vue +8 -9
  110. package/components/locale/lang/ar-SA.d.ts +2 -0
  111. package/components/locale/lang/ar-SA.js +2 -0
  112. package/components/locale/lang/en-US.d.ts +2 -0
  113. package/components/locale/lang/en-US.js +2 -0
  114. package/components/locale/lang/zh-CN.d.ts +2 -0
  115. package/components/locale/lang/zh-CN.js +2 -0
  116. package/components/marquee/common.d.ts +35 -3
  117. package/components/marquee/marquee.d.ts +2 -0
  118. package/components/notice-bar/common.d.ts +195 -4
  119. package/components/notice-bar/notice-bar.d.ts +10 -1
  120. package/components/notify/common.d.ts +143 -4
  121. package/components/notify/notify.d.ts +8 -1
  122. package/components/notify-agent/common.d.ts +483 -5
  123. package/components/notify-agent/notify-agent.d.ts +18 -1
  124. package/components/overlay/common.d.ts +63 -1
  125. package/components/overlay/overlay.d.ts +6 -0
  126. package/components/pagination/common.d.ts +143 -6
  127. package/components/pagination/pagination.d.ts +6 -1
  128. package/components/password-input/common.d.ts +168 -3
  129. package/components/password-input/password-input.d.ts +9 -0
  130. package/components/picker/common.d.ts +46 -1
  131. package/components/picker/picker.d.ts +5 -0
  132. package/components/picker-input/common.d.ts +599 -4
  133. package/components/picker-input/picker-input.d.ts +21 -1
  134. package/components/picker-popout/common.d.ts +181 -3
  135. package/components/picker-popout/picker-popout.d.ts +10 -0
  136. package/components/popout/common.d.ts +288 -6
  137. package/components/popout/popout.d.ts +11 -1
  138. package/components/popout-input/common.d.ts +181 -2
  139. package/components/popout-input/popout-input.d.ts +11 -0
  140. package/components/popover/common.d.ts +168 -7
  141. package/components/popover/popover.d.ts +8 -3
  142. package/components/popup/common.d.ts +168 -4
  143. package/components/popup/popup.d.ts +10 -2
  144. package/components/progress-bar/common.d.ts +143 -2
  145. package/components/progress-bar/progress-bar.d.ts +9 -0
  146. package/components/progress-circle/common.d.ts +80 -2
  147. package/components/progress-circle/progress-circle.d.ts +6 -0
  148. package/components/pull-down-refresh/common.d.ts +100 -8
  149. package/components/pull-down-refresh/pull-down-refresh.d.ts +3 -1
  150. package/components/qrcode/common.d.ts +168 -8
  151. package/components/qrcode/qrcode.d.ts +4 -0
  152. package/components/radio/common.d.ts +155 -2
  153. package/components/radio-group/radio-group.d.ts +10 -0
  154. package/components/radio-input/common.d.ts +869 -5
  155. package/components/radio-input/radio-input.d.ts +26 -1
  156. package/components/radio-popout/common.d.ts +397 -3
  157. package/components/radio-popout/radio-popout.d.ts +17 -1
  158. package/components/rate/common.d.ts +360 -4
  159. package/components/rate/rate.d.ts +15 -1
  160. package/components/read-more/common.d.ts +80 -1
  161. package/components/read-more/read-more.d.ts +7 -0
  162. package/components/resize-sensor/common.d.ts +24 -1
  163. package/components/resize-sensor/resize-sensor.d.ts +3 -0
  164. package/components/resize-sensor/resize-sensor.vue +1 -1
  165. package/components/result/common.d.ts +80 -1
  166. package/components/result/result.d.ts +7 -0
  167. package/components/scroll-spy/README.md +9 -8
  168. package/components/scroll-spy/common.d.ts +1 -0
  169. package/components/scroll-spy/scroll-spy.vue +4 -2
  170. package/components/search/common.d.ts +224 -2
  171. package/components/search/search.d.ts +12 -0
  172. package/components/segmented/common.d.ts +131 -4
  173. package/components/segmented/segmented.d.ts +8 -1
  174. package/components/share-sheet/common.d.ts +120 -2
  175. package/components/share-sheet/share-sheet.d.ts +9 -1
  176. package/components/signature/common.d.ts +255 -7
  177. package/components/signature/signature.d.ts +9 -1
  178. package/components/skeleton/common.d.ts +120 -2
  179. package/components/skeleton/skeleton.d.ts +8 -0
  180. package/components/slider/common.d.ts +528 -4
  181. package/components/slider/slider.d.ts +18 -0
  182. package/components/space/common.d.ts +63 -2
  183. package/components/space/space.d.ts +5 -0
  184. package/components/status-bar/common.d.ts +24 -1
  185. package/components/status-bar/status-bar.d.ts +3 -0
  186. package/components/stepper/common.d.ts +360 -9
  187. package/components/stepper/stepper.d.ts +10 -1
  188. package/components/steps/common.d.ts +224 -8
  189. package/components/steps/steps.d.ts +7 -1
  190. package/components/swiper-dot/common.d.ts +63 -4
  191. package/components/swiper-dot/swiper-dot.d.ts +3 -0
  192. package/components/switch/common.d.ts +153 -3
  193. package/components/switch/switch.d.ts +10 -0
  194. package/components/tabbar/common.d.ts +80 -1
  195. package/components/tabbar/tabbar.d.ts +7 -0
  196. package/components/table/common.d.ts +35 -2
  197. package/components/table/table.d.ts +4 -1
  198. package/components/tabs/README.md +4 -3
  199. package/components/tabs/common.d.ts +49 -1
  200. package/components/tabs/index.scss +2 -1
  201. package/components/tabs/tabs.d.ts +5 -0
  202. package/components/tabs/tabs.vue +3 -1
  203. package/components/tag/common.d.ts +120 -2
  204. package/components/tag/tag.d.ts +8 -0
  205. package/components/toast/common.d.ts +120 -6
  206. package/components/toast/toast.d.ts +6 -2
  207. package/components/toast-agent/common.d.ts +440 -7
  208. package/components/toast-agent/toast-agent.d.ts +16 -2
  209. package/components/tree/README.md +34 -20
  210. package/components/tree/common.d.ts +391 -3
  211. package/components/tree/common.js +1 -0
  212. package/components/tree/index.scss +13 -0
  213. package/components/tree/tree.d.ts +16 -1
  214. package/components/tree/tree.vue +71 -22
  215. package/components/tree/variables.scss +4 -0
  216. package/components/tree-node/index.scss +6 -0
  217. package/components/tree-node/tree-node.vue +46 -12
  218. package/components/upload/README.md +6 -0
  219. package/components/upload/common.d.ts +198 -1
  220. package/components/upload/upload.d.ts +16 -2
  221. package/components/upload/upload.vue +8 -3
  222. package/components/upload-preview/upload-preview.d.ts +12 -0
  223. package/components/waterfall/common.d.ts +35 -3
  224. package/components/waterfall/waterfall.d.ts +2 -0
  225. package/components/watermark/common.d.ts +143 -5
  226. package/components/watermark/watermark.d.ts +6 -0
  227. package/global.d.ts +1 -0
  228. package/index.d.ts +1 -0
  229. package/index.js +1 -0
  230. package/index.scss +1 -0
  231. package/package.json +1 -1
  232. package/use/useScrollSpy.js +5 -1
  233. package/utils/array.js +1 -1
@@ -10,9 +10,187 @@ export interface PickerPopoutProps extends PickerProps {
10
10
  resettable?: boolean;
11
11
  }
12
12
  export declare const defaultPickerPopoutProps: () => {
13
- validateEvent: boolean;
14
- columns: () => never[];
15
- immediateChange: boolean;
13
+ visible?: (boolean | ((props: {
14
+ visible: boolean;
15
+ title: string;
16
+ validateEvent: boolean;
17
+ popoutClass: string;
18
+ popoutStyle: StyleValue;
19
+ resettable: boolean;
20
+ rootStyle: StyleValue;
21
+ rootClass: string;
22
+ columns: import("../picker/common").PickerOption[] | import("../picker/common").PickerOption[][];
23
+ optionKeys: import("../picker/common").PickerOptionKeys;
24
+ modelValue: any;
25
+ immediateChange: boolean;
26
+ internalCustom: number;
27
+ }) => boolean)) | undefined;
28
+ title?: (string | ((props: {
29
+ visible: boolean;
30
+ title: string;
31
+ validateEvent: boolean;
32
+ popoutClass: string;
33
+ popoutStyle: StyleValue;
34
+ resettable: boolean;
35
+ rootStyle: StyleValue;
36
+ rootClass: string;
37
+ columns: import("../picker/common").PickerOption[] | import("../picker/common").PickerOption[][];
38
+ optionKeys: import("../picker/common").PickerOptionKeys;
39
+ modelValue: any;
40
+ immediateChange: boolean;
41
+ internalCustom: number;
42
+ }) => string)) | undefined;
43
+ validateEvent?: (boolean | ((props: {
44
+ visible: boolean;
45
+ title: string;
46
+ validateEvent: boolean;
47
+ popoutClass: string;
48
+ popoutStyle: StyleValue;
49
+ resettable: boolean;
50
+ rootStyle: StyleValue;
51
+ rootClass: string;
52
+ columns: import("../picker/common").PickerOption[] | import("../picker/common").PickerOption[][];
53
+ optionKeys: import("../picker/common").PickerOptionKeys;
54
+ modelValue: any;
55
+ immediateChange: boolean;
56
+ internalCustom: number;
57
+ }) => boolean)) | undefined;
58
+ popoutClass?: (string | ((props: {
59
+ visible: boolean;
60
+ title: string;
61
+ validateEvent: boolean;
62
+ popoutClass: string;
63
+ popoutStyle: StyleValue;
64
+ resettable: boolean;
65
+ rootStyle: StyleValue;
66
+ rootClass: string;
67
+ columns: import("../picker/common").PickerOption[] | import("../picker/common").PickerOption[][];
68
+ optionKeys: import("../picker/common").PickerOptionKeys;
69
+ modelValue: any;
70
+ immediateChange: boolean;
71
+ internalCustom: number;
72
+ }) => string)) | undefined;
73
+ popoutStyle?: (string | false | ((props: {
74
+ visible: boolean;
75
+ title: string;
76
+ validateEvent: boolean;
77
+ popoutClass: string;
78
+ popoutStyle: StyleValue;
79
+ resettable: boolean;
80
+ rootStyle: StyleValue;
81
+ rootClass: string;
82
+ columns: import("../picker/common").PickerOption[] | import("../picker/common").PickerOption[][];
83
+ optionKeys: import("../picker/common").PickerOptionKeys;
84
+ modelValue: any;
85
+ immediateChange: boolean;
86
+ internalCustom: number;
87
+ }) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
88
+ resettable?: (boolean | ((props: {
89
+ visible: boolean;
90
+ title: string;
91
+ validateEvent: boolean;
92
+ popoutClass: string;
93
+ popoutStyle: StyleValue;
94
+ resettable: boolean;
95
+ rootStyle: StyleValue;
96
+ rootClass: string;
97
+ columns: import("../picker/common").PickerOption[] | import("../picker/common").PickerOption[][];
98
+ optionKeys: import("../picker/common").PickerOptionKeys;
99
+ modelValue: any;
100
+ immediateChange: boolean;
101
+ internalCustom: number;
102
+ }) => boolean)) | undefined;
103
+ rootStyle?: string | false | ((props: {
104
+ visible: boolean;
105
+ title: string;
106
+ validateEvent: boolean;
107
+ popoutClass: string;
108
+ popoutStyle: StyleValue;
109
+ resettable: boolean;
110
+ rootStyle: StyleValue;
111
+ rootClass: string;
112
+ columns: import("../picker/common").PickerOption[] | import("../picker/common").PickerOption[][];
113
+ optionKeys: import("../picker/common").PickerOptionKeys;
114
+ modelValue: any;
115
+ immediateChange: boolean;
116
+ internalCustom: number;
117
+ }) => string | false | import("vue").CSSProperties | StyleValue[]) | null | undefined;
118
+ rootClass?: string | ((props: {
119
+ visible: boolean;
120
+ title: string;
121
+ validateEvent: boolean;
122
+ popoutClass: string;
123
+ popoutStyle: StyleValue;
124
+ resettable: boolean;
125
+ rootStyle: StyleValue;
126
+ rootClass: string;
127
+ columns: import("../picker/common").PickerOption[] | import("../picker/common").PickerOption[][];
128
+ optionKeys: import("../picker/common").PickerOptionKeys;
129
+ modelValue: any;
130
+ immediateChange: boolean;
131
+ internalCustom: number;
132
+ }) => string) | undefined;
133
+ columns: (props: {
134
+ visible: boolean;
135
+ title: string;
136
+ validateEvent: boolean;
137
+ popoutClass: string;
138
+ popoutStyle: StyleValue;
139
+ resettable: boolean;
140
+ rootStyle: StyleValue;
141
+ rootClass: string;
142
+ columns: import("../picker/common").PickerOption[] | import("../picker/common").PickerOption[][];
143
+ optionKeys: import("../picker/common").PickerOptionKeys;
144
+ modelValue: any;
145
+ immediateChange: boolean;
146
+ internalCustom: number;
147
+ }) => import("../picker/common").PickerOption[] | import("../picker/common").PickerOption[][];
148
+ optionKeys?: ((props: {
149
+ visible: boolean;
150
+ title: string;
151
+ validateEvent: boolean;
152
+ popoutClass: string;
153
+ popoutStyle: StyleValue;
154
+ resettable: boolean;
155
+ rootStyle: StyleValue;
156
+ rootClass: string;
157
+ columns: import("../picker/common").PickerOption[] | import("../picker/common").PickerOption[][];
158
+ optionKeys: import("../picker/common").PickerOptionKeys;
159
+ modelValue: any;
160
+ immediateChange: boolean;
161
+ internalCustom: number;
162
+ }) => import("../picker/common").PickerOptionKeys) | undefined;
163
+ modelValue?: any;
164
+ immediateChange?: boolean | ((props: {
165
+ visible: boolean;
166
+ title: string;
167
+ validateEvent: boolean;
168
+ popoutClass: string;
169
+ popoutStyle: StyleValue;
170
+ resettable: boolean;
171
+ rootStyle: StyleValue;
172
+ rootClass: string;
173
+ columns: import("../picker/common").PickerOption[] | import("../picker/common").PickerOption[][];
174
+ optionKeys: import("../picker/common").PickerOptionKeys;
175
+ modelValue: any;
176
+ immediateChange: boolean;
177
+ internalCustom: number;
178
+ }) => boolean) | undefined;
179
+ internalCustom?: number | ((props: {
180
+ visible: boolean;
181
+ title: string;
182
+ validateEvent: boolean;
183
+ popoutClass: string;
184
+ popoutStyle: StyleValue;
185
+ resettable: boolean;
186
+ rootStyle: StyleValue;
187
+ rootClass: string;
188
+ columns: import("../picker/common").PickerOption[] | import("../picker/common").PickerOption[][];
189
+ optionKeys: import("../picker/common").PickerOptionKeys;
190
+ modelValue: any;
191
+ immediateChange: boolean;
192
+ internalCustom: number;
193
+ }) => number) | undefined;
16
194
  };
17
195
  export interface PickerPopoutSlots extends PickerSlots {
18
196
  }
@@ -7,9 +7,19 @@ declare const __VLS_component: import("vue").DefineComponent<PickerPopoutProps,
7
7
  }, string, import("vue").PublicProps, Readonly<PickerPopoutProps> & Readonly<{
8
8
  [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
9
9
  }>, {
10
+ rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
11
+ rootClass: string;
12
+ modelValue: any;
13
+ title: string;
14
+ visible: boolean;
10
15
  columns: import("../picker/common").PickerOption[] | import("../picker/common").PickerOption[][];
11
16
  validateEvent: boolean;
17
+ popoutClass: string;
18
+ popoutStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
19
+ resettable: boolean;
20
+ optionKeys: import("../picker/common").PickerOptionKeys;
12
21
  immediateChange: boolean;
22
+ internalCustom: number;
13
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
24
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
25
  export default _default;
@@ -24,12 +24,294 @@ export interface PopoutProps {
24
24
  keepRender?: boolean;
25
25
  }
26
26
  export declare const defaultPopoutProps: {
27
- type: PopoutProps["type"];
28
- showConfirm: boolean;
29
- showClose: boolean;
30
- showFooter: boolean;
31
- overlayClosable: boolean;
32
- duration: number;
27
+ rootStyle?: (string | false | ((props: {
28
+ rootStyle: StyleValue;
29
+ rootClass: string;
30
+ visible: boolean;
31
+ duration: number;
32
+ title: string;
33
+ type: "compact" | "loose";
34
+ showCancel: boolean;
35
+ cancelText: string;
36
+ showConfirm: boolean;
37
+ confirmText: string;
38
+ confirmDisabled: boolean;
39
+ showClose: boolean;
40
+ showFooter: boolean;
41
+ overlayClosable: boolean;
42
+ beforeClose: PopoutBeforeClose;
43
+ keepRender: boolean;
44
+ }) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
45
+ rootClass?: (string | ((props: {
46
+ rootStyle: StyleValue;
47
+ rootClass: string;
48
+ visible: boolean;
49
+ duration: number;
50
+ title: string;
51
+ type: "compact" | "loose";
52
+ showCancel: boolean;
53
+ cancelText: string;
54
+ showConfirm: boolean;
55
+ confirmText: string;
56
+ confirmDisabled: boolean;
57
+ showClose: boolean;
58
+ showFooter: boolean;
59
+ overlayClosable: boolean;
60
+ beforeClose: PopoutBeforeClose;
61
+ keepRender: boolean;
62
+ }) => string)) | undefined;
63
+ visible?: (boolean | ((props: {
64
+ rootStyle: StyleValue;
65
+ rootClass: string;
66
+ visible: boolean;
67
+ duration: number;
68
+ title: string;
69
+ type: "compact" | "loose";
70
+ showCancel: boolean;
71
+ cancelText: string;
72
+ showConfirm: boolean;
73
+ confirmText: string;
74
+ confirmDisabled: boolean;
75
+ showClose: boolean;
76
+ showFooter: boolean;
77
+ overlayClosable: boolean;
78
+ beforeClose: PopoutBeforeClose;
79
+ keepRender: boolean;
80
+ }) => boolean)) | undefined;
81
+ duration?: (number | ((props: {
82
+ rootStyle: StyleValue;
83
+ rootClass: string;
84
+ visible: boolean;
85
+ duration: number;
86
+ title: string;
87
+ type: "compact" | "loose";
88
+ showCancel: boolean;
89
+ cancelText: string;
90
+ showConfirm: boolean;
91
+ confirmText: string;
92
+ confirmDisabled: boolean;
93
+ showClose: boolean;
94
+ showFooter: boolean;
95
+ overlayClosable: boolean;
96
+ beforeClose: PopoutBeforeClose;
97
+ keepRender: boolean;
98
+ }) => number)) | undefined;
99
+ title?: (string | ((props: {
100
+ rootStyle: StyleValue;
101
+ rootClass: string;
102
+ visible: boolean;
103
+ duration: number;
104
+ title: string;
105
+ type: "compact" | "loose";
106
+ showCancel: boolean;
107
+ cancelText: string;
108
+ showConfirm: boolean;
109
+ confirmText: string;
110
+ confirmDisabled: boolean;
111
+ showClose: boolean;
112
+ showFooter: boolean;
113
+ overlayClosable: boolean;
114
+ beforeClose: PopoutBeforeClose;
115
+ keepRender: boolean;
116
+ }) => string)) | undefined;
117
+ type?: ("compact" | "loose" | ((props: {
118
+ rootStyle: StyleValue;
119
+ rootClass: string;
120
+ visible: boolean;
121
+ duration: number;
122
+ title: string;
123
+ type: "compact" | "loose";
124
+ showCancel: boolean;
125
+ cancelText: string;
126
+ showConfirm: boolean;
127
+ confirmText: string;
128
+ confirmDisabled: boolean;
129
+ showClose: boolean;
130
+ showFooter: boolean;
131
+ overlayClosable: boolean;
132
+ beforeClose: PopoutBeforeClose;
133
+ keepRender: boolean;
134
+ }) => "compact" | "loose")) | undefined;
135
+ showCancel?: (boolean | ((props: {
136
+ rootStyle: StyleValue;
137
+ rootClass: string;
138
+ visible: boolean;
139
+ duration: number;
140
+ title: string;
141
+ type: "compact" | "loose";
142
+ showCancel: boolean;
143
+ cancelText: string;
144
+ showConfirm: boolean;
145
+ confirmText: string;
146
+ confirmDisabled: boolean;
147
+ showClose: boolean;
148
+ showFooter: boolean;
149
+ overlayClosable: boolean;
150
+ beforeClose: PopoutBeforeClose;
151
+ keepRender: boolean;
152
+ }) => boolean)) | undefined;
153
+ cancelText?: (string | ((props: {
154
+ rootStyle: StyleValue;
155
+ rootClass: string;
156
+ visible: boolean;
157
+ duration: number;
158
+ title: string;
159
+ type: "compact" | "loose";
160
+ showCancel: boolean;
161
+ cancelText: string;
162
+ showConfirm: boolean;
163
+ confirmText: string;
164
+ confirmDisabled: boolean;
165
+ showClose: boolean;
166
+ showFooter: boolean;
167
+ overlayClosable: boolean;
168
+ beforeClose: PopoutBeforeClose;
169
+ keepRender: boolean;
170
+ }) => string)) | undefined;
171
+ showConfirm?: (boolean | ((props: {
172
+ rootStyle: StyleValue;
173
+ rootClass: string;
174
+ visible: boolean;
175
+ duration: number;
176
+ title: string;
177
+ type: "compact" | "loose";
178
+ showCancel: boolean;
179
+ cancelText: string;
180
+ showConfirm: boolean;
181
+ confirmText: string;
182
+ confirmDisabled: boolean;
183
+ showClose: boolean;
184
+ showFooter: boolean;
185
+ overlayClosable: boolean;
186
+ beforeClose: PopoutBeforeClose;
187
+ keepRender: boolean;
188
+ }) => boolean)) | undefined;
189
+ confirmText?: (string | ((props: {
190
+ rootStyle: StyleValue;
191
+ rootClass: string;
192
+ visible: boolean;
193
+ duration: number;
194
+ title: string;
195
+ type: "compact" | "loose";
196
+ showCancel: boolean;
197
+ cancelText: string;
198
+ showConfirm: boolean;
199
+ confirmText: string;
200
+ confirmDisabled: boolean;
201
+ showClose: boolean;
202
+ showFooter: boolean;
203
+ overlayClosable: boolean;
204
+ beforeClose: PopoutBeforeClose;
205
+ keepRender: boolean;
206
+ }) => string)) | undefined;
207
+ confirmDisabled?: (boolean | ((props: {
208
+ rootStyle: StyleValue;
209
+ rootClass: string;
210
+ visible: boolean;
211
+ duration: number;
212
+ title: string;
213
+ type: "compact" | "loose";
214
+ showCancel: boolean;
215
+ cancelText: string;
216
+ showConfirm: boolean;
217
+ confirmText: string;
218
+ confirmDisabled: boolean;
219
+ showClose: boolean;
220
+ showFooter: boolean;
221
+ overlayClosable: boolean;
222
+ beforeClose: PopoutBeforeClose;
223
+ keepRender: boolean;
224
+ }) => boolean)) | undefined;
225
+ showClose?: (boolean | ((props: {
226
+ rootStyle: StyleValue;
227
+ rootClass: string;
228
+ visible: boolean;
229
+ duration: number;
230
+ title: string;
231
+ type: "compact" | "loose";
232
+ showCancel: boolean;
233
+ cancelText: string;
234
+ showConfirm: boolean;
235
+ confirmText: string;
236
+ confirmDisabled: boolean;
237
+ showClose: boolean;
238
+ showFooter: boolean;
239
+ overlayClosable: boolean;
240
+ beforeClose: PopoutBeforeClose;
241
+ keepRender: boolean;
242
+ }) => boolean)) | undefined;
243
+ showFooter?: (boolean | ((props: {
244
+ rootStyle: StyleValue;
245
+ rootClass: string;
246
+ visible: boolean;
247
+ duration: number;
248
+ title: string;
249
+ type: "compact" | "loose";
250
+ showCancel: boolean;
251
+ cancelText: string;
252
+ showConfirm: boolean;
253
+ confirmText: string;
254
+ confirmDisabled: boolean;
255
+ showClose: boolean;
256
+ showFooter: boolean;
257
+ overlayClosable: boolean;
258
+ beforeClose: PopoutBeforeClose;
259
+ keepRender: boolean;
260
+ }) => boolean)) | undefined;
261
+ overlayClosable?: (boolean | ((props: {
262
+ rootStyle: StyleValue;
263
+ rootClass: string;
264
+ visible: boolean;
265
+ duration: number;
266
+ title: string;
267
+ type: "compact" | "loose";
268
+ showCancel: boolean;
269
+ cancelText: string;
270
+ showConfirm: boolean;
271
+ confirmText: string;
272
+ confirmDisabled: boolean;
273
+ showClose: boolean;
274
+ showFooter: boolean;
275
+ overlayClosable: boolean;
276
+ beforeClose: PopoutBeforeClose;
277
+ keepRender: boolean;
278
+ }) => boolean)) | undefined;
279
+ beforeClose?: (PopoutBeforeClose | ((props: {
280
+ rootStyle: StyleValue;
281
+ rootClass: string;
282
+ visible: boolean;
283
+ duration: number;
284
+ title: string;
285
+ type: "compact" | "loose";
286
+ showCancel: boolean;
287
+ cancelText: string;
288
+ showConfirm: boolean;
289
+ confirmText: string;
290
+ confirmDisabled: boolean;
291
+ showClose: boolean;
292
+ showFooter: boolean;
293
+ overlayClosable: boolean;
294
+ beforeClose: PopoutBeforeClose;
295
+ keepRender: boolean;
296
+ }) => PopoutBeforeClose)) | undefined;
297
+ keepRender?: (boolean | ((props: {
298
+ rootStyle: StyleValue;
299
+ rootClass: string;
300
+ visible: boolean;
301
+ duration: number;
302
+ title: string;
303
+ type: "compact" | "loose";
304
+ showCancel: boolean;
305
+ cancelText: string;
306
+ showConfirm: boolean;
307
+ confirmText: string;
308
+ confirmDisabled: boolean;
309
+ showClose: boolean;
310
+ showFooter: boolean;
311
+ overlayClosable: boolean;
312
+ beforeClose: PopoutBeforeClose;
313
+ keepRender: boolean;
314
+ }) => boolean)) | undefined;
33
315
  };
34
316
  export interface PopoutSlots {
35
317
  default?(props: Record<string, never>): any;
@@ -7,10 +7,20 @@ declare const __VLS_component: import("vue").DefineComponent<PopoutProps, {}, {}
7
7
  }, string, import("vue").PublicProps, Readonly<PopoutProps> & Readonly<{
8
8
  [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
9
9
  }>, {
10
+ rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
11
+ rootClass: string;
10
12
  type: "compact" | "loose";
13
+ title: string;
14
+ visible: boolean;
11
15
  duration: number;
12
- showConfirm: boolean;
16
+ keepRender: boolean;
13
17
  overlayClosable: boolean;
18
+ beforeClose: import("./common").PopoutBeforeClose;
19
+ showConfirm: boolean;
20
+ cancelText: string;
21
+ confirmText: string;
22
+ showCancel: boolean;
23
+ confirmDisabled: boolean;
14
24
  showClose: boolean;
15
25
  showFooter: boolean;
16
26
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;