@sdata/web-vue 2.2.1 → 2.6.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 (205) hide show
  1. package/README.md +1 -1
  2. package/dist/sd.css +117 -191
  3. package/dist/sd.min.css +1 -1
  4. package/es/_components/picker/input-range.vue.d.ts +2 -2
  5. package/es/_components/transition/expand-transition.vue.d.ts +2 -2
  6. package/es/_hooks/use-responsive.d.ts +2 -2
  7. package/es/_hooks/use-theme-mode.d.ts +3 -0
  8. package/es/{calendar/hooks/use-calendar-theme.js → _hooks/use-theme-mode.js} +14 -10
  9. package/es/_utils/date.d.ts +10 -9
  10. package/es/_utils/date.js +23 -7
  11. package/es/_utils/responsive-observe.d.ts +5 -4
  12. package/es/_utils/responsive-observe.js +2 -1
  13. package/es/alert/index.d.ts +3 -3
  14. package/es/anchor/anchor.vue.d.ts +52 -2
  15. package/es/anchor/anchor.vue_vue_type_script_setup_true_lang.js +75 -15
  16. package/es/anchor/index.d.ts +78 -3
  17. package/es/avatar/index.d.ts +20 -20
  18. package/es/border-beam/border-beam.js +5 -0
  19. package/es/border-beam/border-beam.vue.d.ts +52 -0
  20. package/es/border-beam/border-beam.vue_vue_type_script_setup_true_lang.js +623 -0
  21. package/es/border-beam/index.d.ts +106 -0
  22. package/es/border-beam/index.js +10 -0
  23. package/es/border-beam/pulseDriver.d.ts +2 -0
  24. package/es/border-beam/pulseDriver.js +74 -0
  25. package/es/border-beam/style/css.js +2 -0
  26. package/es/border-beam/style/index.css +21 -0
  27. package/es/border-beam/style/index.d.ts +2 -0
  28. package/es/border-beam/style/index.js +2 -0
  29. package/es/border-beam/style/index.scss +12 -0
  30. package/es/border-beam/style/token.scss +12 -0
  31. package/es/border-beam/styles.d.ts +42 -0
  32. package/es/border-beam/styles.js +3545 -0
  33. package/es/border-beam/types.d.ts +27 -0
  34. package/es/button/button.vue.d.ts +16 -3
  35. package/es/button/button.vue_vue_type_script_setup_true_lang.js +39 -9
  36. package/es/button/index.d.ts +43 -24
  37. package/es/button/interface.d.ts +1 -0
  38. package/es/calendar/components/cell.vue.d.ts +26 -26
  39. package/es/calendar/components/index.vue.d.ts +1 -1
  40. package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +3 -2
  41. package/es/calendar/index.d.ts +5 -5
  42. package/es/carousel/index.d.ts +3 -3
  43. package/es/cascader/cascader.vue.d.ts +8 -8
  44. package/es/checkbox/checkbox.d.ts +3 -3
  45. package/es/collapse/collapse-item.d.ts +5 -5
  46. package/es/collapse/index.d.ts +3 -3
  47. package/es/components.d.ts +1 -0
  48. package/es/config-provider/config-provider.vue.d.ts +9 -0
  49. package/es/config-provider/config-provider.vue_vue_type_script_setup_true_lang.js +10 -1
  50. package/es/config-provider/context.d.ts +1 -0
  51. package/es/config-provider/index.d.ts +36 -21
  52. package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +1 -0
  53. package/es/date-picker/hooks/use-cell-class-name.d.ts +1 -0
  54. package/es/date-picker/hooks/use-cell-class-name.js +3 -2
  55. package/es/date-picker/hooks/use-header-value.d.ts +2 -0
  56. package/es/date-picker/hooks/use-header-value.js +23 -19
  57. package/es/date-picker/hooks/use-picker-state.d.ts +2 -0
  58. package/es/date-picker/hooks/use-picker-state.js +3 -3
  59. package/es/date-picker/hooks/use-range-header-value.d.ts +2 -0
  60. package/es/date-picker/hooks/use-range-header-value.js +5 -1
  61. package/es/date-picker/hooks/use-range-picker-state.d.ts +2 -0
  62. package/es/date-picker/hooks/use-range-picker-state.js +3 -3
  63. package/es/date-picker/hooks/use-value-format.d.ts +5 -3
  64. package/es/date-picker/hooks/use-value-format.js +10 -8
  65. package/es/date-picker/index.d.ts +1373 -12
  66. package/es/date-picker/interface.d.ts +7 -0
  67. package/es/date-picker/panels/body.vue.d.ts +24 -6
  68. package/es/date-picker/panels/body.vue_vue_type_script_setup_true_lang.js +13 -12
  69. package/es/date-picker/panels/date/index.vue.d.ts +26 -8
  70. package/es/date-picker/panels/date/index.vue_vue_type_script_setup_true_lang.js +18 -9
  71. package/es/date-picker/panels/header.vue_vue_type_script_setup_true_lang.js +13 -20
  72. package/es/date-picker/panels/month/index.vue.d.ts +13 -8
  73. package/es/date-picker/panels/month/index.vue_vue_type_script_setup_true_lang.js +6 -6
  74. package/es/date-picker/panels/quarter/index.vue.d.ts +13 -8
  75. package/es/date-picker/panels/quarter/index.vue_vue_type_script_setup_true_lang.js +6 -6
  76. package/es/date-picker/panels/shortcuts.vue_vue_type_script_setup_true_lang.js +2 -6
  77. package/es/date-picker/panels/week/index.vue.d.ts +13 -1
  78. package/es/date-picker/panels/week/index.vue_vue_type_script_setup_true_lang.js +5 -2
  79. package/es/date-picker/panels/year/index.vue.d.ts +13 -8
  80. package/es/date-picker/panels/year/index.vue_vue_type_script_setup_true_lang.js +25 -15
  81. package/es/date-picker/picker-panel.vue.d.ts +56 -14
  82. package/es/date-picker/picker-panel.vue_vue_type_script_setup_true_lang.js +36 -19
  83. package/es/date-picker/picker.vue.d.ts +951 -3
  84. package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +91 -29
  85. package/es/date-picker/range-picker-panel.vue.d.ts +77 -15
  86. package/es/date-picker/range-picker-panel.vue_vue_type_script_setup_true_lang.js +52 -28
  87. package/es/date-picker/range-picker.vue.d.ts +1348 -4
  88. package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +114 -34
  89. package/es/descriptions/index.d.ts +24 -24
  90. package/es/drawer/drawer.vue.d.ts +5 -5
  91. package/es/drawer/index.d.ts +15 -15
  92. package/es/dropdown/dropdown-button.vue.d.ts +4 -4
  93. package/es/dropdown/index.d.ts +15 -15
  94. package/es/ellipsis/ellipsis.vue.d.ts +7 -7
  95. package/es/ellipsis/performant-ellipsis.vue.d.ts +5 -5
  96. package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +3 -3
  97. package/es/form/index.d.ts +3 -3
  98. package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +2 -2
  99. package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +10 -10
  100. package/es/icon/icon-menu/icon-menu.js +5 -0
  101. package/es/icon/icon-menu/icon-menu.vue_vue_type_script_setup_true_lang.js +52 -0
  102. package/es/icon/icon-menu/index.js +9 -0
  103. package/es/image/preview-toolbar.vue.d.ts +2 -3
  104. package/es/image/preview-toolbar.vue_vue_type_script_setup_true_lang.js +2 -3
  105. package/es/image/preview.vue.d.ts +2 -2
  106. package/es/index.css +117 -191
  107. package/es/index.d.ts +3 -1
  108. package/es/index.js +3 -2
  109. package/es/index.scss +1 -0
  110. package/es/input/index.d.ts +7 -7
  111. package/es/input/input-password.vue.d.ts +3 -3
  112. package/es/json-form/index.d.ts +9 -9
  113. package/es/json-form/json-form-item.vue_vue_type_script_setup_true_lang.js +1 -1
  114. package/es/json-form/json-form.vue.d.ts +3 -3
  115. package/es/layout/content.vue.d.ts +2 -2
  116. package/es/layout/content.vue_vue_type_script_setup_true_lang.js +8 -3
  117. package/es/layout/context.d.ts +12 -9
  118. package/es/layout/context.js +11 -3
  119. package/es/layout/footer.vue.d.ts +2 -2
  120. package/es/layout/footer.vue_vue_type_script_setup_true_lang.js +8 -3
  121. package/es/layout/header.vue.d.ts +3 -30
  122. package/es/layout/header.vue_vue_type_script_setup_true_lang.js +9 -339
  123. package/es/layout/hooks/use-has-sider.d.ts +2 -0
  124. package/es/layout/hooks/use-has-sider.js +38 -0
  125. package/es/layout/index.d.ts +91 -380
  126. package/es/layout/index.js +2 -2
  127. package/es/layout/interface.d.ts +12 -46
  128. package/es/layout/layout.vue.d.ts +4 -2
  129. package/es/layout/layout.vue_vue_type_script_setup_true_lang.js +38 -14
  130. package/es/layout/sider.vue.d.ts +47 -183
  131. package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +191 -370
  132. package/es/layout/style/index.css +112 -190
  133. package/es/layout/style/index.scss +127 -239
  134. package/es/layout/style/token.scss +46 -26
  135. package/es/link/index.d.ts +6 -6
  136. package/es/list/index.d.ts +18 -18
  137. package/es/locale/interface.d.ts +2 -0
  138. package/es/locale/lang/ar-eg.js +46 -0
  139. package/es/locale/lang/de-de.js +46 -0
  140. package/es/locale/lang/es-es.js +46 -0
  141. package/es/locale/lang/fr-fr.js +46 -0
  142. package/es/locale/lang/id-id.js +46 -0
  143. package/es/locale/lang/it-it.js +46 -0
  144. package/es/locale/lang/km-kh.js +46 -0
  145. package/es/locale/lang/ko-kr.js +46 -0
  146. package/es/locale/lang/ms-my.js +46 -0
  147. package/es/locale/lang/pt-pt.js +46 -0
  148. package/es/locale/lang/th-th.js +46 -0
  149. package/es/locale/lang/vi-vn.js +46 -0
  150. package/es/mention/mention.js +2 -0
  151. package/es/menu/base-menu.vue.d.ts +1 -1
  152. package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +14 -14
  153. package/es/menu/item.d.ts +1 -1
  154. package/es/menu/menu.d.ts +12 -12
  155. package/es/menu/menu.js +3 -3
  156. package/es/menu/sub-menu-pop.vue_vue_type_script_setup_true_lang.js +3 -4
  157. package/es/modal/index.d.ts +22 -20
  158. package/es/modal/index.js +47 -11
  159. package/es/modal/interface.d.ts +5 -0
  160. package/es/modal/modal.vue.d.ts +4 -4
  161. package/es/popconfirm/index.d.ts +12 -12
  162. package/es/popover/index.d.ts +12 -12
  163. package/es/progress/index.d.ts +6 -6
  164. package/es/qr-code/index.d.ts +3 -3
  165. package/es/radio/radio.d.ts +3 -3
  166. package/es/resize-box/resize-box.vue.d.ts +4 -4
  167. package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +7 -7
  168. package/es/result/index.d.ts +3 -3
  169. package/es/scrollbar/style/index.css +1 -1
  170. package/es/scrollbar/style/index.scss +4 -1
  171. package/es/sd-vue.js +3 -1
  172. package/es/select/select.d.ts +17 -17
  173. package/es/slider/index.d.ts +3 -3
  174. package/es/split/split.vue.d.ts +4 -4
  175. package/es/split/split.vue_vue_type_script_setup_true_lang.js +6 -6
  176. package/es/steps/index.d.ts +6 -6
  177. package/es/tabs/index.d.ts +6 -6
  178. package/es/tag/index.d.ts +6 -6
  179. package/es/tag/tag.vue.d.ts +2 -2
  180. package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +4 -4
  181. package/es/theme-provider/index.d.ts +9 -9
  182. package/es/time-picker/index.d.ts +6 -6
  183. package/es/time-picker/time-picker.vue.d.ts +2 -2
  184. package/es/timeline/index.d.ts +3 -3
  185. package/es/timeline/timeline.d.ts +1 -1
  186. package/es/tooltip/index.d.ts +3 -3
  187. package/es/tour/index.d.ts +3 -3
  188. package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +6 -6
  189. package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +6 -21
  190. package/es/tree/expand-transition.vue.d.ts +2 -2
  191. package/es/tree/node-switcher.vue.d.ts +1 -12
  192. package/es/tree/node-switcher.vue_vue_type_script_lang.js +1 -5
  193. package/es/tree/tree.vue_vue_type_script_setup_true_lang.js +23 -23
  194. package/es/tree-select/tree-select.vue.d.ts +9 -9
  195. package/es/trigger/trigger.js +2 -1
  196. package/es/verification-code/verification-code.js +17 -7
  197. package/json/vetur-attributes.json +76 -156
  198. package/json/vetur-tags.json +26 -44
  199. package/json/web-types.json +150 -304
  200. package/package.json +5 -5
  201. package/es/_components/render-function.d.ts +0 -14
  202. package/es/_components/render-function.js +0 -14
  203. package/es/calendar/hooks/use-calendar-theme.d.ts +0 -4
  204. package/es/layout/utils.d.ts +0 -1
  205. package/es/layout/utils.js +0 -11
@@ -17,14 +17,14 @@ declare const Tabs: {
17
17
  default: string;
18
18
  };
19
19
  size: {
20
- type: import("vue").PropType<import("..").Size>;
20
+ type: import("vue").PropType<import("../index.ts").Size>;
21
21
  };
22
22
  type: {
23
23
  type: import("vue").PropType<import("./interface").TabsType>;
24
24
  default: string;
25
25
  };
26
26
  direction: {
27
- type: import("vue").PropType<import("..").Direction>;
27
+ type: import("vue").PropType<import("../index.ts").Direction>;
28
28
  default: string;
29
29
  };
30
30
  editable: {
@@ -121,14 +121,14 @@ declare const Tabs: {
121
121
  default: string;
122
122
  };
123
123
  size: {
124
- type: import("vue").PropType<import("..").Size>;
124
+ type: import("vue").PropType<import("../index.ts").Size>;
125
125
  };
126
126
  type: {
127
127
  type: import("vue").PropType<import("./interface").TabsType>;
128
128
  default: string;
129
129
  };
130
130
  direction: {
131
- type: import("vue").PropType<import("..").Direction>;
131
+ type: import("vue").PropType<import("../index.ts").Direction>;
132
132
  default: string;
133
133
  };
134
134
  editable: {
@@ -216,14 +216,14 @@ declare const Tabs: {
216
216
  default: string;
217
217
  };
218
218
  size: {
219
- type: import("vue").PropType<import("..").Size>;
219
+ type: import("vue").PropType<import("../index.ts").Size>;
220
220
  };
221
221
  type: {
222
222
  type: import("vue").PropType<import("./interface").TabsType>;
223
223
  default: string;
224
224
  };
225
225
  direction: {
226
- type: import("vue").PropType<import("..").Direction>;
226
+ type: import("vue").PropType<import("../index.ts").Direction>;
227
227
  default: string;
228
228
  };
229
229
  editable: {
package/es/tag/index.d.ts CHANGED
@@ -58,7 +58,7 @@ declare const Tag: {
58
58
  default: undefined;
59
59
  };
60
60
  ellipsisTooltip: {
61
- type: import("vue").PropType<boolean | import("..").EllipsisTooltipProps>;
61
+ type: import("vue").PropType<boolean | import("../index.ts").EllipsisTooltipProps>;
62
62
  default: boolean;
63
63
  };
64
64
  ellipsisPerformant: {
@@ -96,7 +96,7 @@ declare const Tag: {
96
96
  defaultChecked: boolean;
97
97
  ellipsisLineClamp: string | number;
98
98
  ellipsisExpandTrigger: "click";
99
- ellipsisTooltip: boolean | import("..").EllipsisTooltipProps;
99
+ ellipsisTooltip: boolean | import("../index.ts").EllipsisTooltipProps;
100
100
  ellipsisPerformant: boolean;
101
101
  textColor: string;
102
102
  backgroundAlpha: number;
@@ -163,7 +163,7 @@ declare const Tag: {
163
163
  default: undefined;
164
164
  };
165
165
  ellipsisTooltip: {
166
- type: import("vue").PropType<boolean | import("..").EllipsisTooltipProps>;
166
+ type: import("vue").PropType<boolean | import("../index.ts").EllipsisTooltipProps>;
167
167
  default: boolean;
168
168
  };
169
169
  ellipsisPerformant: {
@@ -196,7 +196,7 @@ declare const Tag: {
196
196
  defaultChecked: boolean;
197
197
  ellipsisLineClamp: string | number;
198
198
  ellipsisExpandTrigger: "click";
199
- ellipsisTooltip: boolean | import("..").EllipsisTooltipProps;
199
+ ellipsisTooltip: boolean | import("../index.ts").EllipsisTooltipProps;
200
200
  ellipsisPerformant: boolean;
201
201
  textColor: string;
202
202
  backgroundAlpha: number;
@@ -260,7 +260,7 @@ declare const Tag: {
260
260
  default: undefined;
261
261
  };
262
262
  ellipsisTooltip: {
263
- type: import("vue").PropType<boolean | import("..").EllipsisTooltipProps>;
263
+ type: import("vue").PropType<boolean | import("../index.ts").EllipsisTooltipProps>;
264
264
  default: boolean;
265
265
  };
266
266
  ellipsisPerformant: {
@@ -298,7 +298,7 @@ declare const Tag: {
298
298
  defaultChecked: boolean;
299
299
  ellipsisLineClamp: string | number;
300
300
  ellipsisExpandTrigger: "click";
301
- ellipsisTooltip: boolean | import("..").EllipsisTooltipProps;
301
+ ellipsisTooltip: boolean | import("../index.ts").EllipsisTooltipProps;
302
302
  ellipsisPerformant: boolean;
303
303
  textColor: string;
304
304
  backgroundAlpha: number;
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { EllipsisTooltipProps } from '../ellipsis';
3
- declare var __VLS_1: {}, __VLS_9: {}, __VLS_12: {}, __VLS_14: {}, __VLS_25: {};
3
+ declare var __VLS_1: {}, __VLS_9: {}, __VLS_12: {}, __VLS_14: {}, __VLS_24: {};
4
4
  type __VLS_Slots = {} & {
5
5
  icon?: (props: typeof __VLS_1) => any;
6
6
  } & {
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
10
10
  } & {
11
11
  default?: (props: typeof __VLS_14) => any;
12
12
  } & {
13
- 'close-icon'?: (props: typeof __VLS_25) => any;
13
+ 'close-icon'?: (props: typeof __VLS_24) => any;
14
14
  };
15
15
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
16
16
  color: {
@@ -210,8 +210,8 @@ var textarea_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
210
210
  keepControl();
211
211
  return;
212
212
  }
213
- emit("input", value, e);
214
213
  updateValue(value);
214
+ emit("input", value, e);
215
215
  (_eventHandlers$value6 = eventHandlers.value) === null || _eventHandlers$value6 === void 0 || (_eventHandlers$value7 = _eventHandlers$value6.onInput) === null || _eventHandlers$value7 === void 0 || _eventHandlers$value7.call(_eventHandlers$value6, e);
216
216
  } else isComposition.value = true;
217
217
  };
@@ -223,8 +223,8 @@ var textarea_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
223
223
  keepControl();
224
224
  return;
225
225
  }
226
- emit("input", value, e);
227
226
  updateValue(value);
227
+ emit("input", value, e);
228
228
  (_eventHandlers$value8 = eventHandlers.value) === null || _eventHandlers$value8 === void 0 || (_eventHandlers$value9 = _eventHandlers$value8.onInput) === null || _eventHandlers$value9 === void 0 || _eventHandlers$value9.call(_eventHandlers$value8, e);
229
229
  } else compositionValue.value = value;
230
230
  };
@@ -238,9 +238,9 @@ var textarea_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
238
238
  });
239
239
  const getWrapperAttrs = (attr) => omit(attrs, INPUT_EVENTS);
240
240
  const getTextareaAttrs = (attr) => pick(attrs, INPUT_EVENTS);
241
- const textareaAttrs = getTextareaAttrs(attrs);
241
+ const rawTextareaAttrs = getTextareaAttrs(attrs);
242
242
  const mergeTextareaAttrs = computed(() => {
243
- const attrs = _objectSpread2(_objectSpread2({}, textareaAttrs), props.textareaAttrs);
243
+ const attrs = _objectSpread2(_objectSpread2({}, rawTextareaAttrs), props.textareaAttrs);
244
244
  if (mergedError.value) attrs["aria-invalid"] = true;
245
245
  return attrs;
246
246
  });
@@ -3,13 +3,13 @@ import type { SDOptions } from '../_utils/types';
3
3
  import _ThemeProvider from '../config-provider/theme-provider.vue';
4
4
  declare const ThemeProvider: {
5
5
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
6
- theme?: import("..").SDThemeConfig;
7
- themeMode?: import("..").SDThemeMode;
6
+ theme?: import("../index.ts").SDThemeConfig;
7
+ themeMode?: import("../index.ts").SDThemeMode;
8
8
  global?: boolean;
9
9
  tag?: string;
10
10
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
11
11
  tag: string;
12
- themeMode: import("..").SDThemeMode;
12
+ themeMode: import("../index.ts").SDThemeMode;
13
13
  global: boolean;
14
14
  }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
15
15
  P: {};
@@ -19,26 +19,26 @@ declare const ThemeProvider: {
19
19
  M: {};
20
20
  Defaults: {};
21
21
  }, Readonly<{
22
- theme?: import("..").SDThemeConfig;
23
- themeMode?: import("..").SDThemeMode;
22
+ theme?: import("../index.ts").SDThemeConfig;
23
+ themeMode?: import("../index.ts").SDThemeMode;
24
24
  global?: boolean;
25
25
  tag?: string;
26
26
  }> & Readonly<{}>, {}, {}, {}, {}, {
27
27
  tag: string;
28
- themeMode: import("..").SDThemeMode;
28
+ themeMode: import("../index.ts").SDThemeMode;
29
29
  global: boolean;
30
30
  }>;
31
31
  __isFragment?: never;
32
32
  __isTeleport?: never;
33
33
  __isSuspense?: never;
34
34
  } & import("vue").ComponentOptionsBase<Readonly<{
35
- theme?: import("..").SDThemeConfig;
36
- themeMode?: import("..").SDThemeMode;
35
+ theme?: import("../index.ts").SDThemeConfig;
36
+ themeMode?: import("../index.ts").SDThemeMode;
37
37
  global?: boolean;
38
38
  tag?: string;
39
39
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
40
40
  tag: string;
41
- themeMode: import("..").SDThemeMode;
41
+ themeMode: import("../index.ts").SDThemeMode;
42
42
  global: boolean;
43
43
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
44
  $slots: {
@@ -34,7 +34,7 @@ declare const TimePicker: {
34
34
  type: import("vue").PropType<string | string[]>;
35
35
  };
36
36
  size: {
37
- type: import("vue").PropType<import("..").Size>;
37
+ type: import("vue").PropType<import("../index.ts").Size>;
38
38
  };
39
39
  popupContainer: {
40
40
  type: import("vue").PropType<string | HTMLElement>;
@@ -77,7 +77,7 @@ declare const TimePicker: {
77
77
  default: boolean;
78
78
  };
79
79
  triggerProps: {
80
- type: import("vue").PropType<import("..").TriggerProps>;
80
+ type: import("vue").PropType<import("../index.ts").TriggerProps>;
81
81
  };
82
82
  unmountOnClose: {
83
83
  type: BooleanConstructor;
@@ -149,7 +149,7 @@ declare const TimePicker: {
149
149
  type: import("vue").PropType<string | string[]>;
150
150
  };
151
151
  size: {
152
- type: import("vue").PropType<import("..").Size>;
152
+ type: import("vue").PropType<import("../index.ts").Size>;
153
153
  };
154
154
  popupContainer: {
155
155
  type: import("vue").PropType<string | HTMLElement>;
@@ -192,7 +192,7 @@ declare const TimePicker: {
192
192
  default: boolean;
193
193
  };
194
194
  triggerProps: {
195
- type: import("vue").PropType<import("..").TriggerProps>;
195
+ type: import("vue").PropType<import("../index.ts").TriggerProps>;
196
196
  };
197
197
  unmountOnClose: {
198
198
  type: BooleanConstructor;
@@ -254,7 +254,7 @@ declare const TimePicker: {
254
254
  type: import("vue").PropType<string | string[]>;
255
255
  };
256
256
  size: {
257
- type: import("vue").PropType<import("..").Size>;
257
+ type: import("vue").PropType<import("../index.ts").Size>;
258
258
  };
259
259
  popupContainer: {
260
260
  type: import("vue").PropType<string | HTMLElement>;
@@ -297,7 +297,7 @@ declare const TimePicker: {
297
297
  default: boolean;
298
298
  };
299
299
  triggerProps: {
300
- type: import("vue").PropType<import("..").TriggerProps>;
300
+ type: import("vue").PropType<import("../index.ts").TriggerProps>;
301
301
  };
302
302
  unmountOnClose: {
303
303
  type: BooleanConstructor;
@@ -1,13 +1,13 @@
1
1
  import { PropType } from 'vue';
2
2
  import { Size } from '../_utils/constant';
3
3
  import { TriggerProps } from '../trigger';
4
- declare var __VLS_21: {}, __VLS_24: {}, __VLS_42: {};
4
+ declare var __VLS_21: {}, __VLS_24: {}, __VLS_41: {};
5
5
  type __VLS_Slots = {} & {
6
6
  prefix?: (props: typeof __VLS_21) => any;
7
7
  } & {
8
8
  'suffix-icon'?: (props: typeof __VLS_24) => any;
9
9
  } & {
10
- extra?: (props: typeof __VLS_42) => any;
10
+ extra?: (props: typeof __VLS_41) => any;
11
11
  };
12
12
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
13
  type: {
@@ -9,7 +9,7 @@ declare const Timeline: {
9
9
  type: BooleanConstructor;
10
10
  };
11
11
  direction: {
12
- type: import("vue").PropType<import("..").Direction>;
12
+ type: import("vue").PropType<import("../index.ts").Direction>;
13
13
  default: string;
14
14
  };
15
15
  mode: {
@@ -196,7 +196,7 @@ declare const Timeline: {
196
196
  type: BooleanConstructor;
197
197
  };
198
198
  direction: {
199
- type: import("vue").PropType<import("..").Direction>;
199
+ type: import("vue").PropType<import("../index.ts").Direction>;
200
200
  default: string;
201
201
  };
202
202
  mode: {
@@ -224,7 +224,7 @@ declare const Timeline: {
224
224
  type: BooleanConstructor;
225
225
  };
226
226
  direction: {
227
- type: import("vue").PropType<import("..").Direction>;
227
+ type: import("vue").PropType<import("../index.ts").Direction>;
228
228
  default: string;
229
229
  };
230
230
  mode: {
@@ -198,7 +198,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
198
198
  loading: boolean;
199
199
  hideIcon: boolean;
200
200
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
201
- install: (app: import("vue").App, options?: import("../_utils/types").SDOptions) => void;
201
+ install: (app: import("vue").App, options?: import("../_utils/types.ts").SDOptions) => void;
202
202
  };
203
203
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
204
204
  export default _default;
@@ -17,7 +17,7 @@ declare const Tooltip: {
17
17
  };
18
18
  content: StringConstructor;
19
19
  position: {
20
- type: import("vue").PropType<import("..").TriggerPosition>;
20
+ type: import("vue").PropType<import("../index.ts").TriggerPosition>;
21
21
  default: string;
22
22
  };
23
23
  mini: {
@@ -76,7 +76,7 @@ declare const Tooltip: {
76
76
  };
77
77
  content: StringConstructor;
78
78
  position: {
79
- type: import("vue").PropType<import("..").TriggerPosition>;
79
+ type: import("vue").PropType<import("../index.ts").TriggerPosition>;
80
80
  default: string;
81
81
  };
82
82
  mini: {
@@ -129,7 +129,7 @@ declare const Tooltip: {
129
129
  };
130
130
  content: StringConstructor;
131
131
  position: {
132
- type: import("vue").PropType<import("..").TriggerPosition>;
132
+ type: import("vue").PropType<import("../index.ts").TriggerPosition>;
133
133
  default: string;
134
134
  };
135
135
  mini: {
@@ -162,7 +162,7 @@ declare const Tour: {
162
162
  }, import("vue").PublicProps, {
163
163
  animate: boolean;
164
164
  visible: boolean;
165
- buttonProps: Partial<Record<import("./types").TourButtonKind, import("..").ButtonProps>>;
165
+ buttonProps: Partial<Record<import("./types").TourButtonKind, import("../index.ts").ButtonProps>>;
166
166
  defaultVisible: boolean;
167
167
  zIndex: number;
168
168
  current: number;
@@ -360,7 +360,7 @@ declare const Tour: {
360
360
  }>, import("./types").TourExpose, {}, {}, {}, {
361
361
  animate: boolean;
362
362
  visible: boolean;
363
- buttonProps: Partial<Record<import("./types").TourButtonKind, import("..").ButtonProps>>;
363
+ buttonProps: Partial<Record<import("./types").TourButtonKind, import("../index.ts").ButtonProps>>;
364
364
  defaultVisible: boolean;
365
365
  zIndex: number;
366
366
  current: number;
@@ -561,7 +561,7 @@ declare const Tour: {
561
561
  }, string, {
562
562
  animate: boolean;
563
563
  visible: boolean;
564
- buttonProps: Partial<Record<import("./types").TourButtonKind, import("..").ButtonProps>>;
564
+ buttonProps: Partial<Record<import("./types").TourButtonKind, import("../index.ts").ButtonProps>>;
565
565
  defaultVisible: boolean;
566
566
  zIndex: number;
567
567
  current: number;
@@ -373,7 +373,7 @@ var tour_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
373
373
  if (isFirstStep.value) disabledButtons.push("previous");
374
374
  return Array.from(new Set(disabledButtons));
375
375
  });
376
- const showProgress = computed(() => {
376
+ const mergedShowProgress = computed(() => {
377
377
  var _ref, _resolvedPopover$valu2;
378
378
  return (_ref = (_resolvedPopover$valu2 = resolvedPopover.value.showProgress) !== null && _resolvedPopover$valu2 !== void 0 ? _resolvedPopover$valu2 : mergedConfig.value.showProgress) !== null && _ref !== void 0 ? _ref : false;
379
379
  });
@@ -382,9 +382,9 @@ var tour_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
382
382
  const showNextButton = computed(() => resolvedShowButtons.value.includes("next"));
383
383
  const showFooter = computed(() => {
384
384
  if (slots.footer) return true;
385
- return showProgress.value || showCloseButton.value || showPreviousButton.value || showNextButton.value;
385
+ return mergedShowProgress.value || showCloseButton.value || showPreviousButton.value || showNextButton.value;
386
386
  });
387
- const progressVisibilityStyle = computed(() => ({ display: showProgress.value ? "block" : "none" }));
387
+ const progressVisibilityStyle = computed(() => ({ display: mergedShowProgress.value ? "block" : "none" }));
388
388
  const previousButtonText = computed(() => {
389
389
  var _ref2, _resolvedPopover$valu3;
390
390
  return (_ref2 = (_resolvedPopover$valu3 = resolvedPopover.value.prevBtnText) !== null && _resolvedPopover$valu3 !== void 0 ? _resolvedPopover$valu3 : mergedConfig.value.prevBtnText) !== null && _ref2 !== void 0 ? _ref2 : DEFAULT_PREVIOUS_TEXT;
@@ -397,7 +397,7 @@ var tour_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
397
397
  }
398
398
  return (_ref4 = (_resolvedPopover$valu5 = resolvedPopover.value.nextBtnText) !== null && _resolvedPopover$valu5 !== void 0 ? _resolvedPopover$valu5 : mergedConfig.value.nextBtnText) !== null && _ref4 !== void 0 ? _ref4 : DEFAULT_NEXT_TEXT;
399
399
  });
400
- const progressText = computed(() => {
400
+ const mergedProgressText = computed(() => {
401
401
  var _ref5, _resolvedPopover$valu6;
402
402
  return ((_ref5 = (_resolvedPopover$valu6 = resolvedPopover.value.progressText) !== null && _resolvedPopover$valu6 !== void 0 ? _resolvedPopover$valu6 : mergedConfig.value.progressText) !== null && _ref5 !== void 0 ? _ref5 : DEFAULT_PROGRESS_TEXT).replaceAll("{{current}}", `${displayCurrent.value}`).replaceAll("{{total}}", `${displayTotal.value}`).replaceAll("{current}", `${displayCurrent.value}`).replaceAll("{total}", `${displayTotal.value}`);
403
403
  });
@@ -1150,10 +1150,10 @@ var tour_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
1150
1150
  step: activeStep.value,
1151
1151
  current: displayCurrent.value,
1152
1152
  total: displayTotal.value,
1153
- text: progressText.value,
1153
+ text: mergedProgressText.value,
1154
1154
  controller: controllerRef.value,
1155
1155
  state: tourState.value
1156
- }, () => [createTextVNode(toDisplayString(progressText.value), 1)])], 6), createElementVNode("div", {
1156
+ }, () => [createTextVNode(toDisplayString(mergedProgressText.value), 1)])], 6), createElementVNode("div", {
1157
1157
  ref_key: "footerButtonsRef",
1158
1158
  ref: footerButtonsRef,
1159
1159
  class: normalizeClass(`${unref(prefixCls)}-popover-navigation-btns`)
@@ -2,14 +2,13 @@ import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helper
2
2
  import { getPrefixCls } from "../_utils/global-config.js";
3
3
  import { isFunction } from "../_utils/is.js";
4
4
  import Checkbox from "../checkbox/index.js";
5
- import render_function_default from "../_components/render-function.js";
6
5
  import { toArray } from "../_utils/to-array.js";
7
6
  import IconDragDotVertical from "../icon/icon-drag-dot-vertical/index.js";
8
7
  import useTreeContext from "./hooks/use-tree-context.js";
9
8
  import useDraggable from "./hooks/use-draggable.js";
10
9
  import useNodeKey from "./hooks/use-node-key.js";
11
10
  import node_switcher_default from "./node-switcher.js";
12
- import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeProps, openBlock, reactive, ref, renderList, renderSlot, toDisplayString, toRefs, unref, withCtx } from "vue";
11
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeProps, openBlock, reactive, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRefs, unref, withCtx } from "vue";
13
12
  //#region components/tree/base-node.vue?vue&type=script&setup=true&lang.ts
14
13
  var _hoisted_1 = ["data-level", "data-key"];
15
14
  var _hoisted_2 = ["draggable"];
@@ -251,34 +250,20 @@ var base_node_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
251
250
  }, [_ctx.$slots.icon || __props.icon || treeNodeIcon.value ? (openBlock(), createElementBlock("span", {
252
251
  key: 0,
253
252
  class: normalizeClass([`${unref(prefixCls)}-icon`, `${unref(prefixCls)}-custom-icon`])
254
- }, [_ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", normalizeProps(mergeProps({ key: 0 }, nodeStatus))) : __props.icon ? (openBlock(), createBlock(unref(render_function_default), mergeProps({
255
- key: 1,
256
- "render-func": __props.icon
257
- }, nodeStatus), null, 16, ["render-func"])) : treeNodeIcon.value ? (openBlock(), createBlock(unref(render_function_default), mergeProps({
253
+ }, [_ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", normalizeProps(mergeProps({ key: 0 }, nodeStatus))) : __props.icon ? (openBlock(), createBlock(resolveDynamicComponent(__props.icon), normalizeProps(mergeProps({ key: 1 }, nodeStatus)), null, 16)) : treeNodeIcon.value ? (openBlock(), createBlock(resolveDynamicComponent(treeNodeIcon.value), mergeProps({
258
254
  key: 2,
259
- "render-func": treeNodeIcon.value,
260
255
  node: treeNodeData.value
261
- }, nodeStatus), null, 16, ["render-func", "node"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true), createElementVNode("span", { class: normalizeClass(`${unref(prefixCls)}-title-text`) }, [treeTitle.value ? (openBlock(), createBlock(unref(render_function_default), {
262
- key: 0,
263
- "render-func": treeTitle.value
264
- }, null, 8, ["render-func"])) : renderSlot(_ctx.$slots, "title", {
256
+ }, nodeStatus), null, 16, ["node"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true), createElementVNode("span", { class: normalizeClass(`${unref(prefixCls)}-title-text`) }, [treeTitle.value ? (openBlock(), createBlock(resolveDynamicComponent(treeTitle.value), { key: 0 })) : renderSlot(_ctx.$slots, "title", {
265
257
  key: 1,
266
258
  title: __props.title
267
259
  }, () => [createTextVNode(toDisplayString(__props.title), 1)]), unref(draggable) ? (openBlock(), createElementBlock("span", {
268
260
  key: 2,
269
261
  class: normalizeClass([`${unref(prefixCls)}-icon`, `${unref(prefixCls)}-drag-icon`])
270
- }, [_ctx.$slots["drag-icon"] ? renderSlot(_ctx.$slots, "drag-icon", normalizeProps(mergeProps({ key: 0 }, nodeStatus))) : __props.dragIcon ? (openBlock(), createBlock(unref(render_function_default), mergeProps({
271
- key: 1,
272
- "render-func": __props.dragIcon
273
- }, nodeStatus), null, 16, ["render-func"])) : treeDragIcon.value ? (openBlock(), createBlock(unref(render_function_default), mergeProps({
262
+ }, [_ctx.$slots["drag-icon"] ? renderSlot(_ctx.$slots, "drag-icon", normalizeProps(mergeProps({ key: 0 }, nodeStatus))) : __props.dragIcon ? (openBlock(), createBlock(resolveDynamicComponent(__props.dragIcon), normalizeProps(mergeProps({ key: 1 }, nodeStatus)), null, 16)) : treeDragIcon.value ? (openBlock(), createBlock(resolveDynamicComponent(treeDragIcon.value), mergeProps({
274
263
  key: 2,
275
- "render-func": treeDragIcon.value,
276
264
  node: treeNodeData.value
277
- }, nodeStatus), null, 16, ["render-func", "node"])) : (openBlock(), createBlock(unref(IconDragDotVertical), { key: 3 }))], 2)) : createCommentVNode("", true)], 2)], 42, _hoisted_2),
278
- extra.value ? (openBlock(), createBlock(unref(render_function_default), {
279
- key: 1,
280
- "render-func": extra.value
281
- }, null, 8, ["render-func"])) : createCommentVNode("", true)
265
+ }, nodeStatus), null, 16, ["node"])) : (openBlock(), createBlock(unref(IconDragDotVertical), { key: 3 }))], 2)) : createCommentVNode("", true)], 2)], 42, _hoisted_2),
266
+ extra.value ? (openBlock(), createBlock(resolveDynamicComponent(extra.value), { key: 1 })) : createCommentVNode("", true)
282
267
  ], 10, _hoisted_1);
283
268
  };
284
269
  }
@@ -1,6 +1,6 @@
1
- declare var __VLS_11: {};
1
+ declare var __VLS_9: {};
2
2
  type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_11) => any;
3
+ default?: (props: typeof __VLS_9) => any;
4
4
  };
5
5
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
6
  expanded: BooleanConstructor;
@@ -83,17 +83,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
83
83
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
84
84
  click: (_ev: MouseEvent) => any;
85
85
  }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
86
- install: (app: import("vue").App, options?: import("../_utils/types.js").SDIconOptions) => void;
86
+ install: (app: import("vue").App, options?: import("../_utils/types.ts").SDIconOptions) => void;
87
87
  };
88
- RenderFunction: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
89
- renderFunc: {
90
- type: PropType<import("../_components/render-function").RenderFunc>;
91
- required: true;
92
- };
93
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
94
- renderFunc: {
95
- type: PropType<import("../_components/render-function").RenderFunc>;
96
- required: true;
97
- };
98
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
99
88
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,7 +1,6 @@
1
1
  import icon_hover_default from "../_components/icon-hover.js";
2
2
  import IconLoading from "../icon/icon-loading/index.js";
3
3
  import usePickSlots from "../_hooks/use-pick-slots.js";
4
- import render_function_default from "../_components/render-function.js";
5
4
  import useTreeContext from "./hooks/use-tree-context.js";
6
5
  import IconCaretDown from "../icon/icon-caret-down/index.js";
7
6
  import IconFile from "../icon/icon-file/index.js";
@@ -9,10 +8,7 @@ import { defineComponent, h, toRefs } from "vue";
9
8
  //#region components/tree/node-switcher.vue?vue&type=script&lang.tsx
10
9
  var node_switcher_vue_vue_type_script_lang_default = /* @__PURE__ */ defineComponent({
11
10
  name: "TreeNodeSwitcher",
12
- components: {
13
- IconLoading,
14
- RenderFunction: render_function_default
15
- },
11
+ components: { IconLoading },
16
12
  props: {
17
13
  prefixCls: String,
18
14
  loading: Boolean,