yc-design-vue 1.8.5 → 1.8.7

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 (239) hide show
  1. package/es/Alert/index.d.ts +3 -3
  2. package/es/Alert/index.vue.d.ts +1 -1
  3. package/es/AutoComplete/index.d.ts +19 -19
  4. package/es/AutoComplete/index.vue.d.ts +33 -33
  5. package/es/Avatar/Avatar.vue.d.ts +2 -2
  6. package/es/Avatar/index.d.ts +5 -5
  7. package/es/Button/Button.vue.d.ts +3 -3
  8. package/es/Button/ButtonGroup.vue.d.ts +1 -1
  9. package/es/Button/index.d.ts +12 -12
  10. package/es/Calendar/Calendar.vue.js +2 -3
  11. package/es/Card/Card.vue.d.ts +1 -1
  12. package/es/Card/CardMeta.vue.d.ts +1 -1
  13. package/es/Card/index.d.ts +6 -6
  14. package/es/Cascader/Cascader.vue.d.ts +17 -17
  15. package/es/Cascader/index.d.ts +16 -16
  16. package/es/Checkbox/CheckboxGroup.vue.d.ts +1 -1
  17. package/es/Checkbox/index.d.ts +3 -3
  18. package/es/ColorPicker/ColorList.vue.js +3 -2
  19. package/es/ColorPicker/ColorPanel.vue.js +3 -2
  20. package/es/Divider/index.d.ts +3 -3
  21. package/es/Divider/index.vue.d.ts +1 -1
  22. package/es/Drawer/Drawer.vue.d.ts +4 -4
  23. package/es/Drawer/Drawer.vue.js +3 -2
  24. package/es/Drawer/DrawerService.vue.d.ts +2 -2
  25. package/es/Drawer/index.d.ts +11 -11
  26. package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
  27. package/es/Dropdown/index.d.ts +3 -3
  28. package/es/Empty/index.vue.js +2 -1
  29. package/es/Image/Image.vue.d.ts +2 -2
  30. package/es/Image/Image.vue.js +2 -1
  31. package/es/Image/ImagePreviewToolbar.vue.js +9 -8
  32. package/es/Image/index.d.ts +6 -6
  33. package/es/Input/Input.vue.d.ts +3 -3
  34. package/es/Input/index.d.ts +9 -9
  35. package/es/InputNumber/InputNumber.vue.d.ts +18 -18
  36. package/es/InputNumber/index.d.ts +19 -19
  37. package/es/InputTag/index.d.ts +6 -6
  38. package/es/InputTag/index.vue.d.ts +2 -2
  39. package/es/Link/index.d.ts +3 -3
  40. package/es/Link/index.vue.d.ts +1 -1
  41. package/es/List/List.vue.d.ts +7 -7
  42. package/es/List/ListItemMeta.vue.d.ts +1 -1
  43. package/es/List/index.d.ts +9 -9
  44. package/es/Mention/index.d.ts +22 -22
  45. package/es/Mention/index.vue.d.ts +39 -39
  46. package/es/Message/Message.vue.d.ts +1 -1
  47. package/es/Message/index.d.ts +3 -3
  48. package/es/Modal/Modal.vue.d.ts +4 -4
  49. package/es/Modal/Modal.vue.js +3 -2
  50. package/es/Modal/ModalService.vue.d.ts +2 -2
  51. package/es/Modal/index.d.ts +11 -11
  52. package/es/Notification/Notification.vue.d.ts +1 -1
  53. package/es/Notification/index.d.ts +3 -3
  54. package/es/OverflowList/index.d.ts +3 -3
  55. package/es/OverflowList/index.vue.d.ts +1 -1
  56. package/es/Pagination/Pagination.vue.js +3 -2
  57. package/es/Pagination/hooks/useContext.d.ts +254 -3
  58. package/es/Pagination/hooks/useContext.js +1 -2
  59. package/es/Popconfirm/index.d.ts +19 -19
  60. package/es/Popconfirm/index.vue.d.ts +7 -7
  61. package/es/Popconfirm/index.vue.js +3 -2
  62. package/es/Progress/Progress.vue.d.ts +1 -1
  63. package/es/Progress/index.d.ts +3 -3
  64. package/es/Radio/Radio.vue.d.ts +1 -1
  65. package/es/Radio/RadioGroup.vue.d.ts +1 -1
  66. package/es/Radio/index.d.ts +6 -6
  67. package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
  68. package/es/Scrollbar/index.d.ts +3 -3
  69. package/es/Select/Select.vue.d.ts +13 -13
  70. package/es/Select/index.d.ts +14 -14
  71. package/es/Slider/Slider.vue.d.ts +3 -3
  72. package/es/Slider/index.d.ts +9 -9
  73. package/es/Space/index.d.ts +3 -3
  74. package/es/Space/index.vue.d.ts +1 -1
  75. package/es/Spin/index.d.ts +3 -3
  76. package/es/Spin/index.vue.d.ts +1 -1
  77. package/es/Split/index.d.ts +6 -6
  78. package/es/Split/index.vue.d.ts +2 -2
  79. package/es/Statistic/Countdown.vue.d.ts +2 -2
  80. package/es/Statistic/Statistic.vue.d.ts +2 -2
  81. package/es/Statistic/index.d.ts +12 -12
  82. package/es/Steps/Step.vue.d.ts +1 -1
  83. package/es/Steps/Steps.vue.d.ts +1 -1
  84. package/es/Steps/index.d.ts +6 -6
  85. package/es/Switch/index.d.ts +6 -6
  86. package/es/Switch/index.vue.d.ts +2 -2
  87. package/es/Tabs/Tabs.vue.d.ts +3 -3
  88. package/es/Tabs/index.d.ts +8 -8
  89. package/es/Tag/index.d.ts +3 -3
  90. package/es/Tag/index.vue.d.ts +1 -1
  91. package/es/Textarea/index.d.ts +6 -6
  92. package/es/Textarea/index.vue.d.ts +2 -2
  93. package/es/TimePicker/TimePicker.vue.d.ts +3 -3
  94. package/es/TimePicker/index.d.ts +9 -9
  95. package/es/Typography/TypographyBase.vue.d.ts +19 -19
  96. package/es/Typography/TypographyBase.vue.js +5 -4
  97. package/es/VerificationCode/index.d.ts +6 -6
  98. package/es/VerificationCode/index.vue.d.ts +2 -2
  99. package/es/_shared/icons/IconCopy.vue.js +1 -17
  100. package/es/_shared/icons/IconCopy.vue2.js +17 -1
  101. package/es/_shared/icons/IconEdit.vue.js +1 -17
  102. package/es/_shared/icons/IconEdit.vue2.js +17 -1
  103. package/es/_shared/icons/IconFullScreen.vue.js +17 -1
  104. package/es/_shared/icons/IconFullScreen.vue2.js +1 -17
  105. package/es/_shared/icons/IconOriginSize.vue.js +23 -1
  106. package/es/_shared/icons/IconOriginSize.vue2.js +1 -23
  107. package/es/_shared/icons/IconRotateLeft.vue.js +17 -1
  108. package/es/_shared/icons/IconRotateLeft.vue2.js +1 -17
  109. package/es/_shared/icons/IconRotateRight.vue.js +17 -1
  110. package/es/_shared/icons/IconRotateRight.vue2.js +1 -17
  111. package/es/_shared/icons/IconZoomIn.vue.js +17 -1
  112. package/es/_shared/icons/IconZoomIn.vue2.js +1 -17
  113. package/es/_shared/icons/IconZoomOut.vue.js +17 -1
  114. package/es/_shared/icons/IconZoomOut.vue2.js +1 -17
  115. package/es/_shared/locale/i18n.d.ts +256 -0
  116. package/es/_shared/locale/i18n.js +3 -1
  117. package/es/index.d.ts +27 -27
  118. package/es/node_modules/@intlify/core-base/dist/core-base.js +5 -8
  119. package/es/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +1 -7
  120. package/lib/Alert/index.d.ts +3 -3
  121. package/lib/Alert/index.vue.d.ts +1 -1
  122. package/lib/AutoComplete/index.d.ts +19 -19
  123. package/lib/AutoComplete/index.vue.d.ts +33 -33
  124. package/lib/Avatar/Avatar.vue.d.ts +2 -2
  125. package/lib/Avatar/index.d.ts +5 -5
  126. package/lib/Button/Button.vue.d.ts +3 -3
  127. package/lib/Button/ButtonGroup.vue.d.ts +1 -1
  128. package/lib/Button/index.d.ts +12 -12
  129. package/lib/Calendar/Calendar.vue.js +1 -1
  130. package/lib/Card/Card.vue.d.ts +1 -1
  131. package/lib/Card/CardMeta.vue.d.ts +1 -1
  132. package/lib/Card/index.d.ts +6 -6
  133. package/lib/Cascader/Cascader.vue.d.ts +17 -17
  134. package/lib/Cascader/index.d.ts +16 -16
  135. package/lib/Checkbox/CheckboxGroup.vue.d.ts +1 -1
  136. package/lib/Checkbox/index.d.ts +3 -3
  137. package/lib/ColorPicker/ColorList.vue.js +1 -1
  138. package/lib/ColorPicker/ColorPanel.vue.js +1 -1
  139. package/lib/Divider/index.d.ts +3 -3
  140. package/lib/Divider/index.vue.d.ts +1 -1
  141. package/lib/Drawer/Drawer.vue.d.ts +4 -4
  142. package/lib/Drawer/Drawer.vue.js +1 -1
  143. package/lib/Drawer/DrawerService.vue.d.ts +2 -2
  144. package/lib/Drawer/index.d.ts +11 -11
  145. package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
  146. package/lib/Dropdown/index.d.ts +3 -3
  147. package/lib/Empty/index.vue.js +1 -1
  148. package/lib/Image/Image.vue.d.ts +2 -2
  149. package/lib/Image/Image.vue.js +1 -1
  150. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  151. package/lib/Image/index.d.ts +6 -6
  152. package/lib/Input/Input.vue.d.ts +3 -3
  153. package/lib/Input/index.d.ts +9 -9
  154. package/lib/InputNumber/InputNumber.vue.d.ts +18 -18
  155. package/lib/InputNumber/index.d.ts +19 -19
  156. package/lib/InputTag/index.d.ts +6 -6
  157. package/lib/InputTag/index.vue.d.ts +2 -2
  158. package/lib/Link/index.d.ts +3 -3
  159. package/lib/Link/index.vue.d.ts +1 -1
  160. package/lib/List/List.vue.d.ts +7 -7
  161. package/lib/List/ListItemMeta.vue.d.ts +1 -1
  162. package/lib/List/index.d.ts +9 -9
  163. package/lib/Mention/index.d.ts +22 -22
  164. package/lib/Mention/index.vue.d.ts +39 -39
  165. package/lib/Message/Message.vue.d.ts +1 -1
  166. package/lib/Message/index.d.ts +3 -3
  167. package/lib/Modal/Modal.vue.d.ts +4 -4
  168. package/lib/Modal/Modal.vue.js +1 -1
  169. package/lib/Modal/ModalService.vue.d.ts +2 -2
  170. package/lib/Modal/index.d.ts +11 -11
  171. package/lib/Notification/Notification.vue.d.ts +1 -1
  172. package/lib/Notification/index.d.ts +3 -3
  173. package/lib/OverflowList/index.d.ts +3 -3
  174. package/lib/OverflowList/index.vue.d.ts +1 -1
  175. package/lib/Pagination/Pagination.vue.js +1 -1
  176. package/lib/Pagination/hooks/useContext.d.ts +254 -3
  177. package/lib/Pagination/hooks/useContext.js +1 -1
  178. package/lib/Popconfirm/index.d.ts +19 -19
  179. package/lib/Popconfirm/index.vue.d.ts +7 -7
  180. package/lib/Popconfirm/index.vue.js +1 -1
  181. package/lib/Progress/Progress.vue.d.ts +1 -1
  182. package/lib/Progress/index.d.ts +3 -3
  183. package/lib/Radio/Radio.vue.d.ts +1 -1
  184. package/lib/Radio/RadioGroup.vue.d.ts +1 -1
  185. package/lib/Radio/index.d.ts +6 -6
  186. package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
  187. package/lib/Scrollbar/index.d.ts +3 -3
  188. package/lib/Select/Select.vue.d.ts +13 -13
  189. package/lib/Select/index.d.ts +14 -14
  190. package/lib/Slider/Slider.vue.d.ts +3 -3
  191. package/lib/Slider/index.d.ts +9 -9
  192. package/lib/Space/index.d.ts +3 -3
  193. package/lib/Space/index.vue.d.ts +1 -1
  194. package/lib/Spin/index.d.ts +3 -3
  195. package/lib/Spin/index.vue.d.ts +1 -1
  196. package/lib/Split/index.d.ts +6 -6
  197. package/lib/Split/index.vue.d.ts +2 -2
  198. package/lib/Statistic/Countdown.vue.d.ts +2 -2
  199. package/lib/Statistic/Statistic.vue.d.ts +2 -2
  200. package/lib/Statistic/index.d.ts +12 -12
  201. package/lib/Steps/Step.vue.d.ts +1 -1
  202. package/lib/Steps/Steps.vue.d.ts +1 -1
  203. package/lib/Steps/index.d.ts +6 -6
  204. package/lib/Switch/index.d.ts +6 -6
  205. package/lib/Switch/index.vue.d.ts +2 -2
  206. package/lib/Tabs/Tabs.vue.d.ts +3 -3
  207. package/lib/Tabs/index.d.ts +8 -8
  208. package/lib/Tag/index.d.ts +3 -3
  209. package/lib/Tag/index.vue.d.ts +1 -1
  210. package/lib/Textarea/index.d.ts +6 -6
  211. package/lib/Textarea/index.vue.d.ts +2 -2
  212. package/lib/TimePicker/TimePicker.vue.d.ts +3 -3
  213. package/lib/TimePicker/index.d.ts +9 -9
  214. package/lib/Typography/TypographyBase.vue.d.ts +19 -19
  215. package/lib/Typography/TypographyBase.vue.js +1 -1
  216. package/lib/VerificationCode/index.d.ts +6 -6
  217. package/lib/VerificationCode/index.vue.d.ts +2 -2
  218. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  219. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  220. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  221. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  222. package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
  223. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  224. package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
  225. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  226. package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
  227. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  228. package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
  229. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  230. package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
  231. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  232. package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
  233. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  234. package/lib/_shared/locale/i18n.d.ts +256 -0
  235. package/lib/_shared/locale/i18n.js +1 -1
  236. package/lib/index.d.ts +27 -27
  237. package/lib/node_modules/@intlify/core-base/dist/core-base.js +1 -1
  238. package/lib/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +1 -1
  239. package/package.json +2 -1
@@ -7,8 +7,8 @@ declare function __VLS_template(): {
7
7
  };
8
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
9
  declare const __VLS_component: import('vue').DefineComponent<CardMetaProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CardMetaProps> & Readonly<{}>, {
10
- title: string;
11
10
  description: string;
11
+ title: string;
12
12
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
13
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
14
  export default _default;
@@ -8,8 +8,8 @@ export type CardGridInstance = InstanceType<typeof _CardGrid>;
8
8
  export * from './type';
9
9
  declare const Card: {
10
10
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').CardProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
11
- size: import('./type').CardSize;
12
11
  loading: boolean;
12
+ size: import('./type').CardSize;
13
13
  title: string;
14
14
  hoverable: boolean;
15
15
  bordered: boolean;
@@ -24,8 +24,8 @@ declare const Card: {
24
24
  M: {};
25
25
  Defaults: {};
26
26
  }, Readonly<import('./type').CardProps> & Readonly<{}>, {}, {}, {}, {}, {
27
- size: import('./type').CardSize;
28
27
  loading: boolean;
28
+ size: import('./type').CardSize;
29
29
  title: string;
30
30
  hoverable: boolean;
31
31
  bordered: boolean;
@@ -37,8 +37,8 @@ declare const Card: {
37
37
  __isTeleport?: never;
38
38
  __isSuspense?: never;
39
39
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').CardProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
40
- size: import('./type').CardSize;
41
40
  loading: boolean;
41
+ size: import('./type').CardSize;
42
42
  title: string;
43
43
  hoverable: boolean;
44
44
  bordered: boolean;
@@ -50,8 +50,8 @@ declare const Card: {
50
50
  }) & {
51
51
  meta: {
52
52
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').CardMetaProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
53
- title: string;
54
53
  description: string;
54
+ title: string;
55
55
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
56
56
  P: {};
57
57
  B: {};
@@ -60,15 +60,15 @@ declare const Card: {
60
60
  M: {};
61
61
  Defaults: {};
62
62
  }, Readonly<import('./type').CardMetaProps> & Readonly<{}>, {}, {}, {}, {}, {
63
- title: string;
64
63
  description: string;
64
+ title: string;
65
65
  }>;
66
66
  __isFragment?: never;
67
67
  __isTeleport?: never;
68
68
  __isSuspense?: never;
69
69
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').CardMetaProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
70
- title: string;
71
70
  description: string;
71
+ title: string;
72
72
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
73
73
  $slots: Readonly<import('./type').CardMetaSlots> & import('./type').CardMetaSlots;
74
74
  });
@@ -100,13 +100,13 @@ declare function __VLS_template(): {
100
100
  "visibility-change": (value: boolean) => any;
101
101
  pressEnter: (ev: KeyboardEvent) => any;
102
102
  }, string, {
103
- size: import('..').Size;
104
- disabled: boolean;
105
103
  error: boolean;
106
104
  placeholder: string;
105
+ maxLength: import('../Input').MaxLength;
106
+ size: import('..').Size;
107
+ disabled: boolean;
107
108
  modelValue: string;
108
109
  defaultValue: string;
109
- maxLength: import('../Input').MaxLength;
110
110
  showWordLimit: boolean;
111
111
  allowClear: boolean;
112
112
  readonly: boolean;
@@ -139,13 +139,13 @@ declare function __VLS_template(): {
139
139
  $nextTick: typeof import('vue').nextTick;
140
140
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
141
141
  } & Readonly<{
142
- size: import('..').Size;
143
- disabled: boolean;
144
142
  error: boolean;
145
143
  placeholder: string;
144
+ maxLength: import('../Input').MaxLength;
145
+ size: import('..').Size;
146
+ disabled: boolean;
146
147
  modelValue: string;
147
148
  defaultValue: string;
148
- maxLength: import('../Input').MaxLength;
149
149
  showWordLimit: boolean;
150
150
  allowClear: boolean;
151
151
  readonly: boolean;
@@ -168,7 +168,7 @@ declare function __VLS_template(): {
168
168
  "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
169
169
  "onVisibility-change"?: ((value: boolean) => any) | undefined;
170
170
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
171
- }>, "focus" | "blur" | "getInputRef" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
171
+ }>, "focus" | "blur" | "getInputRef" | ("error" | "placeholder" | "maxLength" | "size" | "disabled" | "modelValue" | "defaultValue" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
172
172
  focus(): void;
173
173
  blur(): void;
174
174
  getInputRef(): HTMLInputElement;
@@ -202,15 +202,15 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
202
202
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
203
203
  "onInput-value-change"?: ((value: string) => any) | undefined;
204
204
  }>, {
205
+ loading: boolean;
206
+ error: boolean;
207
+ placeholder: string;
205
208
  size: import('..').Size;
206
209
  popupVisible: boolean;
207
210
  defaultPopupVisible: boolean;
208
211
  disabled: boolean;
209
212
  popupContainer: import('..').PopupContainer;
210
- loading: boolean;
211
- error: boolean;
212
213
  multiple: boolean;
213
- placeholder: string;
214
214
  modelValue: import('./type').CascaderValue;
215
215
  defaultValue: import('./type').CascaderValue;
216
216
  allowClear: boolean;
@@ -309,13 +309,13 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
309
309
  "visibility-change": (value: boolean) => any;
310
310
  pressEnter: (ev: KeyboardEvent) => any;
311
311
  }, string, {
312
- size: import('..').Size;
313
- disabled: boolean;
314
312
  error: boolean;
315
313
  placeholder: string;
314
+ maxLength: import('../Input').MaxLength;
315
+ size: import('..').Size;
316
+ disabled: boolean;
316
317
  modelValue: string;
317
318
  defaultValue: string;
318
- maxLength: import('../Input').MaxLength;
319
319
  showWordLimit: boolean;
320
320
  allowClear: boolean;
321
321
  readonly: boolean;
@@ -348,13 +348,13 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
348
348
  $nextTick: typeof import('vue').nextTick;
349
349
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
350
350
  } & Readonly<{
351
- size: import('..').Size;
352
- disabled: boolean;
353
351
  error: boolean;
354
352
  placeholder: string;
353
+ maxLength: import('../Input').MaxLength;
354
+ size: import('..').Size;
355
+ disabled: boolean;
355
356
  modelValue: string;
356
357
  defaultValue: string;
357
- maxLength: import('../Input').MaxLength;
358
358
  showWordLimit: boolean;
359
359
  allowClear: boolean;
360
360
  readonly: boolean;
@@ -377,7 +377,7 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
377
377
  "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
378
378
  "onVisibility-change"?: ((value: boolean) => any) | undefined;
379
379
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
380
- }>, "focus" | "blur" | "getInputRef" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
380
+ }>, "focus" | "blur" | "getInputRef" | ("error" | "placeholder" | "maxLength" | "size" | "disabled" | "modelValue" | "defaultValue" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
381
381
  focus(): void;
382
382
  blur(): void;
383
383
  getInputRef(): HTMLInputElement;
@@ -26,15 +26,15 @@ declare const Cascader: {
26
26
  "update:inputValue": (value: string) => any;
27
27
  "input-value-change": (value: string) => any;
28
28
  }, import('vue').PublicProps, {
29
+ loading: boolean;
30
+ error: boolean;
31
+ placeholder: string;
29
32
  size: import('..').Size;
30
33
  popupVisible: boolean;
31
34
  defaultPopupVisible: boolean;
32
35
  disabled: boolean;
33
36
  popupContainer: import('..').PopupContainer;
34
- loading: boolean;
35
- error: boolean;
36
37
  multiple: boolean;
37
- placeholder: string;
38
38
  modelValue: import('./type').CascaderValue;
39
39
  defaultValue: import('./type').CascaderValue;
40
40
  allowClear: boolean;
@@ -133,13 +133,13 @@ declare const Cascader: {
133
133
  "visibility-change": (value: boolean) => any;
134
134
  pressEnter: (ev: KeyboardEvent) => any;
135
135
  }, string, {
136
- size: import('..').Size;
137
- disabled: boolean;
138
136
  error: boolean;
139
137
  placeholder: string;
138
+ maxLength: import('..').MaxLength;
139
+ size: import('..').Size;
140
+ disabled: boolean;
140
141
  modelValue: string;
141
142
  defaultValue: string;
142
- maxLength: import('..').MaxLength;
143
143
  showWordLimit: boolean;
144
144
  allowClear: boolean;
145
145
  readonly: boolean;
@@ -172,13 +172,13 @@ declare const Cascader: {
172
172
  $nextTick: typeof import('vue').nextTick;
173
173
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
174
174
  } & Readonly<{
175
- size: import('..').Size;
176
- disabled: boolean;
177
175
  error: boolean;
178
176
  placeholder: string;
177
+ maxLength: import('..').MaxLength;
178
+ size: import('..').Size;
179
+ disabled: boolean;
179
180
  modelValue: string;
180
181
  defaultValue: string;
181
- maxLength: import('..').MaxLength;
182
182
  showWordLimit: boolean;
183
183
  allowClear: boolean;
184
184
  readonly: boolean;
@@ -201,7 +201,7 @@ declare const Cascader: {
201
201
  "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
202
202
  "onVisibility-change"?: ((value: boolean) => any) | undefined;
203
203
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
204
- }>, "focus" | "blur" | "getInputRef" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
204
+ }>, "focus" | "blur" | "getInputRef" | ("error" | "placeholder" | "maxLength" | "size" | "disabled" | "modelValue" | "defaultValue" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
205
205
  focus(): void;
206
206
  blur(): void;
207
207
  getInputRef(): HTMLInputElement;
@@ -227,15 +227,15 @@ declare const Cascader: {
227
227
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
228
228
  "onInput-value-change"?: ((value: string) => any) | undefined;
229
229
  }>, {}, {}, {}, {}, {
230
+ loading: boolean;
231
+ error: boolean;
232
+ placeholder: string;
230
233
  size: import('..').Size;
231
234
  popupVisible: boolean;
232
235
  defaultPopupVisible: boolean;
233
236
  disabled: boolean;
234
237
  popupContainer: import('..').PopupContainer;
235
- loading: boolean;
236
- error: boolean;
237
238
  multiple: boolean;
238
- placeholder: string;
239
239
  modelValue: import('./type').CascaderValue;
240
240
  defaultValue: import('./type').CascaderValue;
241
241
  allowClear: boolean;
@@ -284,15 +284,15 @@ declare const Cascader: {
284
284
  "update:inputValue": (value: string) => any;
285
285
  "input-value-change": (value: string) => any;
286
286
  }, string, {
287
+ loading: boolean;
288
+ error: boolean;
289
+ placeholder: string;
287
290
  size: import('..').Size;
288
291
  popupVisible: boolean;
289
292
  defaultPopupVisible: boolean;
290
293
  disabled: boolean;
291
294
  popupContainer: import('..').PopupContainer;
292
- loading: boolean;
293
- error: boolean;
294
295
  multiple: boolean;
295
- placeholder: string;
296
296
  modelValue: import('./type').CascaderValue;
297
297
  defaultValue: import('./type').CascaderValue;
298
298
  allowClear: boolean;
@@ -13,11 +13,11 @@ declare const __VLS_component: import('vue').DefineComponent<CheckboxGroupProps,
13
13
  onChange?: ((value: import('./type').CheckboxValue[]) => any) | undefined;
14
14
  "onUpdate:modelValue"?: ((value: import('./type').CheckboxValue[]) => any) | undefined;
15
15
  }>, {
16
+ max: number;
16
17
  disabled: boolean;
17
18
  modelValue: import('./type').CheckboxValue[];
18
19
  defaultValue: import('./type').CheckboxValue[];
19
20
  options: (import('./type').CheckboxOption | import('./type').CheckboxValue)[];
20
- max: number;
21
21
  direction: import('..').Direction;
22
22
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
23
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -60,11 +60,11 @@ declare const Checkbox: {
60
60
  change: (value: import('./type').CheckboxValue[]) => any;
61
61
  "update:modelValue": (value: import('./type').CheckboxValue[]) => any;
62
62
  }, import('vue').PublicProps, {
63
+ max: number;
63
64
  disabled: boolean;
64
65
  modelValue: import('./type').CheckboxValue[];
65
66
  defaultValue: import('./type').CheckboxValue[];
66
67
  options: (import('./type').CheckboxOption | import('./type').CheckboxValue)[];
67
- max: number;
68
68
  direction: import('..').Direction;
69
69
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
70
70
  P: {};
@@ -77,11 +77,11 @@ declare const Checkbox: {
77
77
  onChange?: ((value: import('./type').CheckboxValue[]) => any) | undefined;
78
78
  "onUpdate:modelValue"?: ((value: import('./type').CheckboxValue[]) => any) | undefined;
79
79
  }>, {}, {}, {}, {}, {
80
+ max: number;
80
81
  disabled: boolean;
81
82
  modelValue: import('./type').CheckboxValue[];
82
83
  defaultValue: import('./type').CheckboxValue[];
83
84
  options: (import('./type').CheckboxOption | import('./type').CheckboxValue)[];
84
- max: number;
85
85
  direction: import('..').Direction;
86
86
  }>;
87
87
  __isFragment?: never;
@@ -94,11 +94,11 @@ declare const Checkbox: {
94
94
  change: (value: import('./type').CheckboxValue[]) => any;
95
95
  "update:modelValue": (value: import('./type').CheckboxValue[]) => any;
96
96
  }, string, {
97
+ max: number;
97
98
  disabled: boolean;
98
99
  modelValue: import('./type').CheckboxValue[];
99
100
  defaultValue: import('./type').CheckboxValue[];
100
101
  options: (import('./type').CheckboxOption | import('./type').CheckboxValue)[];
101
- max: number;
102
102
  direction: import('..').Direction;
103
103
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
104
104
  $slots: Readonly<import('./type').CheckboxGroupSlots> & import('./type').CheckboxGroupSlots;
@@ -1,4 +1,5 @@
1
- import { defineComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, toDisplayString, Fragment, renderList, normalizeStyle } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, toDisplayString, unref, Fragment, renderList, normalizeStyle } from "vue";
2
+ import { t } from "../_shared/locale/i18n.js";
2
3
  const _hoisted_1 = { class: "yc-color-picker-colors-section" };
3
4
  const _hoisted_2 = { class: "yc-color-picker-colors-text" };
4
5
  const _hoisted_3 = {
@@ -18,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
18
19
  return (_ctx, _cache) => {
19
20
  return openBlock(), createElementBlock("div", _hoisted_1, [
20
21
  createElementVNode("div", _hoisted_2, toDisplayString(_ctx.label), 1),
21
- !_ctx.colors.length ? (openBlock(), createElementBlock("div", _hoisted_3, toDisplayString(_ctx.$t("colorPicker.empty")), 1)) : createCommentVNode("", true),
22
+ !_ctx.colors.length ? (openBlock(), createElementBlock("div", _hoisted_3, toDisplayString(unref(t)("colorPicker.empty")), 1)) : createCommentVNode("", true),
22
23
  createElementVNode("div", _hoisted_4, [
23
24
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.colors, (color, index) => {
24
25
  return openBlock(), createElementBlock("div", {
@@ -1,4 +1,5 @@
1
1
  import { defineComponent, ref, createElementBlock, openBlock, normalizeClass, unref, createVNode, createElementVNode, createCommentVNode, isRef, normalizeStyle, createBlock } from "vue";
2
+ import { t } from "../_shared/locale/i18n.js";
2
3
  import useContext from "./hooks/useContext.js";
3
4
  import _sfc_main$1 from "./ColorPalette.vue.js";
4
5
  /* empty css */
@@ -128,13 +129,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
128
129
  unref(showHistory) || unref(showPreset) ? (openBlock(), createElementBlock("div", _hoisted_4, [
129
130
  unref(showHistory) ? (openBlock(), createBlock(_sfc_main$4, {
130
131
  key: 0,
131
- label: _ctx.$t("colorPicker.history"),
132
+ label: unref(t)("colorPicker.history"),
132
133
  colors: unref(historyColors),
133
134
  onColorClick: handleColorClick
134
135
  }, null, 8, ["label", "colors"])) : createCommentVNode("", true),
135
136
  unref(showPreset) ? (openBlock(), createBlock(_sfc_main$4, {
136
137
  key: 1,
137
- label: _ctx.$t("colorPicker.preset"),
138
+ label: unref(t)("colorPicker.preset"),
138
139
  colors: unref(presetColors),
139
140
  onColorClick: handleColorClick
140
141
  }, null, 8, ["label", "colors"])) : createCommentVNode("", true)
@@ -4,8 +4,8 @@ export type DividerInstance = InstanceType<typeof _Divider>;
4
4
  export * from './type';
5
5
  declare const Divider: {
6
6
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').DividerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
7
- size: number;
8
7
  type: import('./type').DividerType;
8
+ size: number;
9
9
  direction: import('..').Direction;
10
10
  margin: number | string;
11
11
  orientation: import('./type').Orientation;
@@ -17,8 +17,8 @@ declare const Divider: {
17
17
  M: {};
18
18
  Defaults: {};
19
19
  }, Readonly<import('./type').DividerProps> & Readonly<{}>, {}, {}, {}, {}, {
20
- size: number;
21
20
  type: import('./type').DividerType;
21
+ size: number;
22
22
  direction: import('..').Direction;
23
23
  margin: number | string;
24
24
  orientation: import('./type').Orientation;
@@ -27,8 +27,8 @@ declare const Divider: {
27
27
  __isTeleport?: never;
28
28
  __isSuspense?: never;
29
29
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').DividerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
30
- size: number;
31
30
  type: import('./type').DividerType;
31
+ size: number;
32
32
  direction: import('..').Direction;
33
33
  margin: number | string;
34
34
  orientation: import('./type').Orientation;
@@ -7,8 +7,8 @@ declare function __VLS_template(): {
7
7
  };
8
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
9
  declare const __VLS_component: import('vue').DefineComponent<DividerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DividerProps> & Readonly<{}>, {
10
- size: number;
11
10
  type: import('./type').DividerType;
11
+ size: number;
12
12
  direction: import('..').Direction;
13
13
  margin: number | string;
14
14
  orientation: import('./type').Orientation;
@@ -9,21 +9,23 @@ declare function __VLS_template(): {
9
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
10
  declare const __VLS_component: import('vue').DefineComponent<DrawerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
11
  cancel: (event: MouseEvent | KeyboardEvent) => any;
12
+ ok: () => any;
12
13
  close: () => any;
13
14
  open: () => any;
14
15
  "update:visible": (value: boolean) => any;
15
- ok: () => any;
16
16
  "before-open": () => any;
17
17
  "before-close": () => any;
18
18
  }, string, import('vue').PublicProps, Readonly<DrawerProps> & Readonly<{
19
19
  onCancel?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
20
+ onOk?: (() => any) | undefined;
20
21
  onClose?: (() => any) | undefined;
21
22
  onOpen?: (() => any) | undefined;
22
23
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
23
- onOk?: (() => any) | undefined;
24
24
  "onBefore-open"?: (() => any) | undefined;
25
25
  "onBefore-close"?: (() => any) | undefined;
26
26
  }>, {
27
+ okText: string;
28
+ cancelText: string;
27
29
  unmountOnClose: boolean;
28
30
  popupContainer: import('..').PopupContainer;
29
31
  renderToBody: boolean;
@@ -38,8 +40,6 @@ declare const __VLS_component: import('vue').DefineComponent<DrawerProps, {}, {}
38
40
  closable: boolean;
39
41
  maskClosable: boolean;
40
42
  hideCancel: boolean;
41
- okText: string;
42
- cancelText: string;
43
43
  okLoading: boolean;
44
44
  okButtonProps: import('../Button').ButtonProps;
45
45
  cancelButtonProps: import('../Button').ButtonProps;
@@ -1,4 +1,5 @@
1
1
  import { defineComponent, toRefs, computed, createBlock, openBlock, Teleport, unref, withDirectives, createCommentVNode, createElementBlock, normalizeStyle, normalizeClass, createVNode, Transition, withCtx, vShow, createElementVNode, renderSlot, createTextVNode, toDisplayString, mergeProps } from "vue";
2
+ import { t } from "../_shared/locale/i18n.js";
2
3
  import "../node_modules/tinycolor2/esm/tinycolor.js";
3
4
  import { valueToPx } from "../_shared/utils/dom.js";
4
5
  import "../_shared/utils/time.js";
@@ -169,7 +170,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
169
170
  onClick: _cache[2] || (_cache[2] = ($event) => unref(handleClose)("cancelBtn", $event))
170
171
  }), {
171
172
  default: withCtx(() => [
172
- createTextVNode(toDisplayString(_ctx.cancelText || _ctx.$t("drawer.cancelText")), 1)
173
+ createTextVNode(toDisplayString(_ctx.cancelText || unref(t)("drawer.cancelText")), 1)
173
174
  ]),
174
175
  _: 1
175
176
  }, 16)) : createCommentVNode("", true),
@@ -180,7 +181,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
180
181
  onClick: _cache[3] || (_cache[3] = ($event) => unref(handleClose)("confirmBtn", $event))
181
182
  }), {
182
183
  default: withCtx(() => [
183
- createTextVNode(toDisplayString(_ctx.okText || _ctx.$t("drawer.okText")), 1)
184
+ createTextVNode(toDisplayString(_ctx.okText || unref(t)("drawer.okText")), 1)
184
185
  ]),
185
186
  _: 1
186
187
  }, 16, ["loading"])
@@ -1,5 +1,7 @@
1
1
  import { DrawerServiceProps } from './type';
2
2
  declare const _default: import('vue').DefineComponent<DrawerServiceProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DrawerServiceProps> & Readonly<{}>, {
3
+ okText: string;
4
+ cancelText: string;
3
5
  unmountOnClose: boolean;
4
6
  renderToBody: boolean;
5
7
  width: number | string;
@@ -11,8 +13,6 @@ declare const _default: import('vue').DefineComponent<DrawerServiceProps, {}, {}
11
13
  closable: boolean;
12
14
  maskClosable: boolean;
13
15
  hideCancel: boolean;
14
- okText: string;
15
- cancelText: string;
16
16
  okLoading: boolean;
17
17
  okButtonProps: import('..').ButtonProps;
18
18
  cancelButtonProps: import('..').ButtonProps;
@@ -6,21 +6,23 @@ export * from './type';
6
6
  declare const Drawer: {
7
7
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').DrawerProps> & Readonly<{
8
8
  onCancel?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
9
+ onOk?: (() => any) | undefined;
9
10
  onClose?: (() => any) | undefined;
10
11
  onOpen?: (() => any) | undefined;
11
12
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
12
- onOk?: (() => any) | undefined;
13
13
  "onBefore-open"?: (() => any) | undefined;
14
14
  "onBefore-close"?: (() => any) | undefined;
15
15
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
16
  cancel: (event: MouseEvent | KeyboardEvent) => any;
17
+ ok: () => any;
17
18
  close: () => any;
18
19
  open: () => any;
19
20
  "update:visible": (value: boolean) => any;
20
- ok: () => any;
21
21
  "before-open": () => any;
22
22
  "before-close": () => any;
23
23
  }, import('vue').PublicProps, {
24
+ okText: string;
25
+ cancelText: string;
24
26
  unmountOnClose: boolean;
25
27
  popupContainer: import('..').PopupContainer;
26
28
  renderToBody: boolean;
@@ -35,8 +37,6 @@ declare const Drawer: {
35
37
  closable: boolean;
36
38
  maskClosable: boolean;
37
39
  hideCancel: boolean;
38
- okText: string;
39
- cancelText: string;
40
40
  okLoading: boolean;
41
41
  okButtonProps: import('..').ButtonProps;
42
42
  cancelButtonProps: import('..').ButtonProps;
@@ -54,13 +54,15 @@ declare const Drawer: {
54
54
  Defaults: {};
55
55
  }, Readonly<import('./type').DrawerProps> & Readonly<{
56
56
  onCancel?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
57
+ onOk?: (() => any) | undefined;
57
58
  onClose?: (() => any) | undefined;
58
59
  onOpen?: (() => any) | undefined;
59
60
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
60
- onOk?: (() => any) | undefined;
61
61
  "onBefore-open"?: (() => any) | undefined;
62
62
  "onBefore-close"?: (() => any) | undefined;
63
63
  }>, {}, {}, {}, {}, {
64
+ okText: string;
65
+ cancelText: string;
64
66
  unmountOnClose: boolean;
65
67
  popupContainer: import('..').PopupContainer;
66
68
  renderToBody: boolean;
@@ -75,8 +77,6 @@ declare const Drawer: {
75
77
  closable: boolean;
76
78
  maskClosable: boolean;
77
79
  hideCancel: boolean;
78
- okText: string;
79
- cancelText: string;
80
80
  okLoading: boolean;
81
81
  okButtonProps: import('..').ButtonProps;
82
82
  cancelButtonProps: import('..').ButtonProps;
@@ -91,21 +91,23 @@ declare const Drawer: {
91
91
  __isSuspense?: never;
92
92
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').DrawerProps> & Readonly<{
93
93
  onCancel?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
94
+ onOk?: (() => any) | undefined;
94
95
  onClose?: (() => any) | undefined;
95
96
  onOpen?: (() => any) | undefined;
96
97
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
97
- onOk?: (() => any) | undefined;
98
98
  "onBefore-open"?: (() => any) | undefined;
99
99
  "onBefore-close"?: (() => any) | undefined;
100
100
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
101
101
  cancel: (event: MouseEvent | KeyboardEvent) => any;
102
+ ok: () => any;
102
103
  close: () => any;
103
104
  open: () => any;
104
105
  "update:visible": (value: boolean) => any;
105
- ok: () => any;
106
106
  "before-open": () => any;
107
107
  "before-close": () => any;
108
108
  }, string, {
109
+ okText: string;
110
+ cancelText: string;
109
111
  unmountOnClose: boolean;
110
112
  popupContainer: import('..').PopupContainer;
111
113
  renderToBody: boolean;
@@ -120,8 +122,6 @@ declare const Drawer: {
120
122
  closable: boolean;
121
123
  maskClosable: boolean;
122
124
  hideCancel: boolean;
123
- okText: string;
124
- cancelText: string;
125
125
  okLoading: boolean;
126
126
  okButtonProps: import('..').ButtonProps;
127
127
  cancelButtonProps: import('..').ButtonProps;
@@ -15,6 +15,7 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownButtonProps
15
15
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
16
16
  onSelect?: ((value: DoptionValue) => any) | undefined;
17
17
  }>, {
18
+ type: import('../Button').ButtonType;
18
19
  size: import('..').Size;
19
20
  trigger: import('..').TriggerType;
20
21
  popupVisible: boolean;
@@ -22,7 +23,6 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownButtonProps
22
23
  disabled: boolean;
23
24
  position: import('./type').DropdownPosition;
24
25
  popupContainer: import('..').PopupContainer;
25
- type: import('../Button').ButtonType;
26
26
  hideOnSelect: boolean;
27
27
  buttonProps: import('../Button').ButtonProps;
28
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -146,6 +146,7 @@ declare const Dropdown: {
146
146
  "popup-visible-change": (value: boolean) => any;
147
147
  select: (value: import('./type').DoptionValue) => any;
148
148
  }, import('vue').PublicProps, {
149
+ type: import('..').ButtonType;
149
150
  size: import('..').Size;
150
151
  trigger: import('..').TriggerType;
151
152
  popupVisible: boolean;
@@ -153,7 +154,6 @@ declare const Dropdown: {
153
154
  disabled: boolean;
154
155
  position: import('./type').DropdownPosition;
155
156
  popupContainer: import('..').PopupContainer;
156
- type: import('..').ButtonType;
157
157
  hideOnSelect: boolean;
158
158
  buttonProps: import('..').ButtonProps;
159
159
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
@@ -168,6 +168,7 @@ declare const Dropdown: {
168
168
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
169
169
  onSelect?: ((value: import('./type').DoptionValue) => any) | undefined;
170
170
  }>, {}, {}, {}, {}, {
171
+ type: import('..').ButtonType;
171
172
  size: import('..').Size;
172
173
  trigger: import('..').TriggerType;
173
174
  popupVisible: boolean;
@@ -175,7 +176,6 @@ declare const Dropdown: {
175
176
  disabled: boolean;
176
177
  position: import('./type').DropdownPosition;
177
178
  popupContainer: import('..').PopupContainer;
178
- type: import('..').ButtonType;
179
179
  hideOnSelect: boolean;
180
180
  buttonProps: import('..').ButtonProps;
181
181
  }>;
@@ -191,6 +191,7 @@ declare const Dropdown: {
191
191
  "popup-visible-change": (value: boolean) => any;
192
192
  select: (value: import('./type').DoptionValue) => any;
193
193
  }, string, {
194
+ type: import('..').ButtonType;
194
195
  size: import('..').Size;
195
196
  trigger: import('..').TriggerType;
196
197
  popupVisible: boolean;
@@ -198,7 +199,6 @@ declare const Dropdown: {
198
199
  disabled: boolean;
199
200
  position: import('./type').DropdownPosition;
200
201
  popupContainer: import('..').PopupContainer;
201
- type: import('..').ButtonType;
202
202
  hideOnSelect: boolean;
203
203
  buttonProps: import('..').ButtonProps;
204
204
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {