@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
@@ -14,11 +14,11 @@ declare const Popover: {
14
14
  title: StringConstructor;
15
15
  content: StringConstructor;
16
16
  trigger: {
17
- type: import("vue").PropType<import("..").TriggerEvent | import("..").TriggerEvent[]>;
17
+ type: import("vue").PropType<import("../index.ts").TriggerEvent | import("../index.ts").TriggerEvent[]>;
18
18
  default: string;
19
19
  };
20
20
  position: {
21
- type: import("vue").PropType<import("..").TriggerPosition>;
21
+ type: import("vue").PropType<import("../index.ts").TriggerPosition>;
22
22
  default: string;
23
23
  };
24
24
  contentClass: {
@@ -28,7 +28,7 @@ declare const Popover: {
28
28
  type: import("vue").PropType<import("vue").CSSProperties>;
29
29
  };
30
30
  scrollbar: {
31
- type: import("vue").PropType<boolean | import("..").ScrollbarProps>;
31
+ type: import("vue").PropType<boolean | import("../index.ts").ScrollbarProps>;
32
32
  default: boolean;
33
33
  };
34
34
  arrowClass: {
@@ -51,7 +51,7 @@ declare const Popover: {
51
51
  defaultPopupVisible: boolean;
52
52
  trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
53
53
  position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
54
- scrollbar: boolean | import("..").ScrollbarProps;
54
+ scrollbar: boolean | import("../index.ts").ScrollbarProps;
55
55
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
56
56
  P: {};
57
57
  B: {};
@@ -71,11 +71,11 @@ declare const Popover: {
71
71
  title: StringConstructor;
72
72
  content: StringConstructor;
73
73
  trigger: {
74
- type: import("vue").PropType<import("..").TriggerEvent | import("..").TriggerEvent[]>;
74
+ type: import("vue").PropType<import("../index.ts").TriggerEvent | import("../index.ts").TriggerEvent[]>;
75
75
  default: string;
76
76
  };
77
77
  position: {
78
- type: import("vue").PropType<import("..").TriggerPosition>;
78
+ type: import("vue").PropType<import("../index.ts").TriggerPosition>;
79
79
  default: string;
80
80
  };
81
81
  contentClass: {
@@ -85,7 +85,7 @@ declare const Popover: {
85
85
  type: import("vue").PropType<import("vue").CSSProperties>;
86
86
  };
87
87
  scrollbar: {
88
- type: import("vue").PropType<boolean | import("..").ScrollbarProps>;
88
+ type: import("vue").PropType<boolean | import("../index.ts").ScrollbarProps>;
89
89
  default: boolean;
90
90
  };
91
91
  arrowClass: {
@@ -105,7 +105,7 @@ declare const Popover: {
105
105
  defaultPopupVisible: boolean;
106
106
  trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
107
107
  position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
108
- scrollbar: boolean | import("..").ScrollbarProps;
108
+ scrollbar: boolean | import("../index.ts").ScrollbarProps;
109
109
  }>;
110
110
  __isFragment?: never;
111
111
  __isTeleport?: never;
@@ -122,11 +122,11 @@ declare const Popover: {
122
122
  title: StringConstructor;
123
123
  content: StringConstructor;
124
124
  trigger: {
125
- type: import("vue").PropType<import("..").TriggerEvent | import("..").TriggerEvent[]>;
125
+ type: import("vue").PropType<import("../index.ts").TriggerEvent | import("../index.ts").TriggerEvent[]>;
126
126
  default: string;
127
127
  };
128
128
  position: {
129
- type: import("vue").PropType<import("..").TriggerPosition>;
129
+ type: import("vue").PropType<import("../index.ts").TriggerPosition>;
130
130
  default: string;
131
131
  };
132
132
  contentClass: {
@@ -136,7 +136,7 @@ declare const Popover: {
136
136
  type: import("vue").PropType<import("vue").CSSProperties>;
137
137
  };
138
138
  scrollbar: {
139
- type: import("vue").PropType<boolean | import("..").ScrollbarProps>;
139
+ type: import("vue").PropType<boolean | import("../index.ts").ScrollbarProps>;
140
140
  default: boolean;
141
141
  };
142
142
  arrowClass: {
@@ -159,7 +159,7 @@ declare const Popover: {
159
159
  defaultPopupVisible: boolean;
160
160
  trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
161
161
  position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
162
- scrollbar: boolean | import("..").ScrollbarProps;
162
+ scrollbar: boolean | import("../index.ts").ScrollbarProps;
163
163
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
164
164
  $slots: {
165
165
  default?: (props: {}) => any;
@@ -8,7 +8,7 @@ declare const Progress: {
8
8
  default: string;
9
9
  };
10
10
  size: {
11
- type: import("vue").PropType<import("..").Size>;
11
+ type: import("vue").PropType<import("../index.ts").Size>;
12
12
  };
13
13
  percent: {
14
14
  type: NumberConstructor;
@@ -40,7 +40,7 @@ declare const Progress: {
40
40
  default: boolean;
41
41
  };
42
42
  status: {
43
- type: import("vue").PropType<import("..").Status>;
43
+ type: import("vue").PropType<import("../index.ts").Status>;
44
44
  };
45
45
  }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
46
46
  type: "circle" | "line";
@@ -61,7 +61,7 @@ declare const Progress: {
61
61
  default: string;
62
62
  };
63
63
  size: {
64
- type: import("vue").PropType<import("..").Size>;
64
+ type: import("vue").PropType<import("../index.ts").Size>;
65
65
  };
66
66
  percent: {
67
67
  type: NumberConstructor;
@@ -93,7 +93,7 @@ declare const Progress: {
93
93
  default: boolean;
94
94
  };
95
95
  status: {
96
- type: import("vue").PropType<import("..").Status>;
96
+ type: import("vue").PropType<import("../index.ts").Status>;
97
97
  };
98
98
  }>> & Readonly<{}>, {}, {}, {}, {}, {
99
99
  type: "circle" | "line";
@@ -111,7 +111,7 @@ declare const Progress: {
111
111
  default: string;
112
112
  };
113
113
  size: {
114
- type: import("vue").PropType<import("..").Size>;
114
+ type: import("vue").PropType<import("../index.ts").Size>;
115
115
  };
116
116
  percent: {
117
117
  type: NumberConstructor;
@@ -143,7 +143,7 @@ declare const Progress: {
143
143
  default: boolean;
144
144
  };
145
145
  status: {
146
- type: import("vue").PropType<import("..").Status>;
146
+ type: import("vue").PropType<import("../index.ts").Status>;
147
147
  };
148
148
  }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
149
149
  type: "circle" | "line";
@@ -60,7 +60,7 @@ declare const QrCode: {
60
60
  default: undefined;
61
61
  };
62
62
  spinProps: {
63
- type: import("vue").PropType<import("../spin").SpinProps>;
63
+ type: import("vue").PropType<import("../spin/index.ts").SpinProps>;
64
64
  default: undefined;
65
65
  };
66
66
  }>> & Readonly<{
@@ -157,7 +157,7 @@ declare const QrCode: {
157
157
  default: undefined;
158
158
  };
159
159
  spinProps: {
160
- type: import("vue").PropType<import("../spin").SpinProps>;
160
+ type: import("vue").PropType<import("../spin/index.ts").SpinProps>;
161
161
  default: undefined;
162
162
  };
163
163
  }>> & Readonly<{
@@ -249,7 +249,7 @@ declare const QrCode: {
249
249
  default: undefined;
250
250
  };
251
251
  spinProps: {
252
- type: import("vue").PropType<import("../spin").SpinProps>;
252
+ type: import("vue").PropType<import("../spin/index.ts").SpinProps>;
253
253
  default: undefined;
254
254
  };
255
255
  }>> & Readonly<{
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
70
70
  type: StringConstructor;
71
71
  };
72
72
  size: {
73
- type: PropType<import("..").Size>;
73
+ type: PropType<import("../index.ts").Size>;
74
74
  default: string;
75
75
  };
76
76
  disabled: {
@@ -96,7 +96,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
96
96
  type: StringConstructor;
97
97
  };
98
98
  size: {
99
- type: PropType<import("..").Size>;
99
+ type: PropType<import("../index.ts").Size>;
100
100
  default: string;
101
101
  };
102
102
  disabled: {
@@ -117,7 +117,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
117
117
  type: StringConstructor;
118
118
  };
119
119
  size: {
120
- type: PropType<import("..").Size>;
120
+ type: PropType<import("../index.ts").Size>;
121
121
  default: string;
122
122
  };
123
123
  disabled: {
@@ -1,16 +1,16 @@
1
1
  import { PropType } from 'vue';
2
2
  export type DirectionType = 'left' | 'right' | 'top' | 'bottom';
3
- declare var __VLS_9: {}, __VLS_20: {
3
+ declare var __VLS_9: {}, __VLS_19: {
4
4
  direction: "top" | "bottom" | "left" | "right";
5
- }, __VLS_23: {
5
+ }, __VLS_22: {
6
6
  direction: "top" | "bottom" | "left" | "right";
7
7
  };
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_9) => any;
10
10
  } & {
11
- 'resize-trigger'?: (props: typeof __VLS_20) => any;
11
+ 'resize-trigger'?: (props: typeof __VLS_19) => any;
12
12
  } & {
13
- 'resize-trigger-icon'?: (props: typeof __VLS_23) => any;
13
+ 'resize-trigger-icon'?: (props: typeof __VLS_22) => any;
14
14
  };
15
15
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
16
16
  width: {
@@ -79,14 +79,14 @@ var resize_box_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
79
79
  * @binding {'left' | 'right' | 'top' | 'bottom'} direction
80
80
  */
81
81
  const { height: propHeight, width: propWidth, directions } = toRefs(props);
82
- const [width, setWidth] = useMergeState(null, reactive({ value: propWidth }));
83
- const [height, setHeight] = useMergeState(null, reactive({ value: propHeight }));
82
+ const [resWidth, setResWidth] = useMergeState(null, reactive({ value: propWidth }));
83
+ const [resHeight, setResHeight] = useMergeState(null, reactive({ value: propHeight }));
84
84
  const wrapperRef = ref();
85
85
  const paddingStyles = reactive({});
86
86
  const prefixCls = getPrefixCls("resizebox");
87
87
  const classNames = computed(() => [prefixCls]);
88
88
  const styles = computed(() => {
89
- return _objectSpread2(_objectSpread2(_objectSpread2({}, isNumber(width.value) ? { width: `${width.value}px` } : {}), isNumber(height.value) ? { height: `${height.value}px` } : {}), paddingStyles);
89
+ return _objectSpread2(_objectSpread2(_objectSpread2({}, isNumber(resWidth.value) ? { width: `${resWidth.value}px` } : {}), isNumber(resHeight.value) ? { height: `${resHeight.value}px` } : {}), paddingStyles);
90
90
  });
91
91
  const allowDirections = computed(() => directions.value.filter((direction) => allDirections.includes(direction)));
92
92
  const record = {
@@ -113,22 +113,22 @@ var resize_box_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
113
113
  switch (direction) {
114
114
  case DIRECTION_LEFT:
115
115
  newWidth = startWidth - offsetX;
116
- setWidth(newWidth);
116
+ setResWidth(newWidth);
117
117
  emit("update:width", newWidth);
118
118
  break;
119
119
  case DIRECTION_RIGHT:
120
120
  newWidth = startWidth + offsetX;
121
- setWidth(newWidth);
121
+ setResWidth(newWidth);
122
122
  emit("update:width", newWidth);
123
123
  break;
124
124
  case DIRECTION_TOP:
125
125
  newHeight = startHeight - offsetY;
126
- setHeight(newHeight);
126
+ setResHeight(newHeight);
127
127
  emit("update:height", newHeight);
128
128
  break;
129
129
  case DIRECTION_BOTTOM:
130
130
  newHeight = startHeight + offsetY;
131
- setHeight(newHeight);
131
+ setResHeight(newHeight);
132
132
  emit("update:height", newHeight);
133
133
  break;
134
134
  default: break;
@@ -4,7 +4,7 @@ import _Result from './result.vue';
4
4
  declare const Result: {
5
5
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
6
6
  status: {
7
- type: import("vue").PropType<import("./utils").ResultStatus>;
7
+ type: import("vue").PropType<import("./utils.ts").ResultStatus>;
8
8
  default: string;
9
9
  validator: (value: any) => boolean;
10
10
  };
@@ -21,7 +21,7 @@ declare const Result: {
21
21
  Defaults: {};
22
22
  }, Readonly<import("vue").ExtractPropTypes<{
23
23
  status: {
24
- type: import("vue").PropType<import("./utils").ResultStatus>;
24
+ type: import("vue").PropType<import("./utils.ts").ResultStatus>;
25
25
  default: string;
26
26
  validator: (value: any) => boolean;
27
27
  };
@@ -35,7 +35,7 @@ declare const Result: {
35
35
  __isSuspense?: never;
36
36
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
37
37
  status: {
38
- type: import("vue").PropType<import("./utils").ResultStatus>;
38
+ type: import("vue").PropType<import("./utils.ts").ResultStatus>;
39
39
  default: string;
40
40
  validator: (value: any) => boolean;
41
41
  };
@@ -22,7 +22,7 @@
22
22
  }
23
23
  .sd-scrollbar-container {
24
24
  min-width: 100%;
25
- min-height: 100%;
25
+ height: 100%;
26
26
  }
27
27
  .sd-scrollbar .os-scrollbar {
28
28
  --os-size: 6px;
@@ -11,7 +11,10 @@ $scroll-prefix-cls: string.unquote('#{theme.$prefix}-scrollbar');
11
11
 
12
12
  &-container {
13
13
  min-width: 100%;
14
- min-height: 100%;
14
+ // Fill the outer element so that when it has a bounded height the host is
15
+ // constrained and the viewport can scroll. `height: 100%` resolves to
16
+ // `auto` when the outer is auto-sized, so unconstrained usages are unaffected.
17
+ height: 100%;
15
18
  }
16
19
 
17
20
  .os-scrollbar {
package/es/sd-vue.js CHANGED
@@ -19,6 +19,7 @@ import AvatarGroup from "./avatar/avatar-group.js";
19
19
  import Avatar from "./avatar/index.js";
20
20
  import BackTop from "./back-top/index.js";
21
21
  import Badge from "./badge/index.js";
22
+ import BorderBeam from "./border-beam/index.js";
22
23
  import { addI18nMessages, getLocale, useLocale } from "./locale/index.js";
23
24
  import Empty from "./empty/index.js";
24
25
  import dropdown_button_default from "./dropdown/dropdown-button.js";
@@ -94,7 +95,6 @@ import JsonForm from "./json-form/index.js";
94
95
  import content_default from "./layout/content.js";
95
96
  import footer_default from "./layout/footer.js";
96
97
  import header_default from "./layout/header.js";
97
- import ResizeBox from "./resize-box/index.js";
98
98
  import sider_default from "./layout/sider.js";
99
99
  import Layout from "./layout/index.js";
100
100
  import item_default from "./menu/item.js";
@@ -108,6 +108,7 @@ import PageHeader from "./page-header/index.js";
108
108
  import Popconfirm from "./popconfirm/index.js";
109
109
  import Progress from "./progress/index.js";
110
110
  import QrCode from "./qr-code/index.js";
111
+ import ResizeBox from "./resize-box/index.js";
111
112
  import Result from "./result/index.js";
112
113
  import Secret from "./secret/index.js";
113
114
  import line_default from "./skeleton/line.js";
@@ -216,6 +217,7 @@ var components = {
216
217
  Affix,
217
218
  Anchor,
218
219
  BackTop,
220
+ BorderBeam,
219
221
  ConfigProvider,
220
222
  ThemeProvider,
221
223
  ResizeBox,
@@ -379,11 +379,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
379
379
  default: boolean;
380
380
  };
381
381
  trigger: {
382
- type: PropType<import("..").TriggerEvent | import("..").TriggerEvent[]>;
382
+ type: PropType<import("../trigger").TriggerEvent | import("../trigger").TriggerEvent[]>;
383
383
  default: string;
384
384
  };
385
385
  position: {
386
- type: PropType<import("..").TriggerPosition>;
386
+ type: PropType<import("../trigger").TriggerPosition>;
387
387
  default: string;
388
388
  };
389
389
  disabled: {
@@ -395,7 +395,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
395
395
  default: number;
396
396
  };
397
397
  popupTranslate: {
398
- type: PropType<import("..").TriggerPopupTranslate>;
398
+ type: PropType<import("../trigger").TriggerPopupTranslate>;
399
399
  };
400
400
  showArrow: {
401
401
  type: BooleanConstructor;
@@ -570,11 +570,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
570
570
  default: boolean;
571
571
  };
572
572
  trigger: {
573
- type: PropType<import("..").TriggerEvent | import("..").TriggerEvent[]>;
573
+ type: PropType<import("../trigger").TriggerEvent | import("../trigger").TriggerEvent[]>;
574
574
  default: string;
575
575
  };
576
576
  position: {
577
- type: PropType<import("..").TriggerPosition>;
577
+ type: PropType<import("../trigger").TriggerPosition>;
578
578
  default: string;
579
579
  };
580
580
  disabled: {
@@ -586,7 +586,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
586
586
  default: number;
587
587
  };
588
588
  popupTranslate: {
589
- type: PropType<import("..").TriggerPopupTranslate>;
589
+ type: PropType<import("../trigger").TriggerPopupTranslate>;
590
590
  };
591
591
  showArrow: {
592
592
  type: BooleanConstructor;
@@ -752,11 +752,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
752
752
  default: boolean;
753
753
  };
754
754
  trigger: {
755
- type: PropType<import("..").TriggerEvent | import("..").TriggerEvent[]>;
755
+ type: PropType<import("../trigger").TriggerEvent | import("../trigger").TriggerEvent[]>;
756
756
  default: string;
757
757
  };
758
758
  position: {
759
- type: PropType<import("..").TriggerPosition>;
759
+ type: PropType<import("../trigger").TriggerPosition>;
760
760
  default: string;
761
761
  };
762
762
  disabled: {
@@ -768,7 +768,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
768
768
  default: number;
769
769
  };
770
770
  popupTranslate: {
771
- type: PropType<import("..").TriggerPopupTranslate>;
771
+ type: PropType<import("../trigger").TriggerPopupTranslate>;
772
772
  };
773
773
  showArrow: {
774
774
  type: BooleanConstructor;
@@ -927,7 +927,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
927
927
  scrollToClose: boolean;
928
928
  scrollToCloseDistance: number;
929
929
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
930
- install: (app: import("vue").App, options?: import("../_utils/types").SDOptions) => void;
930
+ install: (app: import("vue").App, options?: import("../_utils/types.ts").SDOptions) => void;
931
931
  };
932
932
  SelectView: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
933
933
  modelValue: {
@@ -977,7 +977,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
977
977
  };
978
978
  allowSearch: {
979
979
  type: BooleanConstructor;
980
- default: (props: import("../_utils/types").Data) => boolean;
980
+ default: (props: import("../_utils/types.ts").Data) => boolean;
981
981
  };
982
982
  maxTagCount: {
983
983
  type: PropType<number | "responsive">;
@@ -1047,7 +1047,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1047
1047
  };
1048
1048
  allowSearch: {
1049
1049
  type: BooleanConstructor;
1050
- default: (props: import("../_utils/types").Data) => boolean;
1050
+ default: (props: import("../_utils/types.ts").Data) => boolean;
1051
1051
  };
1052
1052
  maxTagCount: {
1053
1053
  type: PropType<number | "responsive">;
@@ -1360,10 +1360,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1360
1360
  type: NumberConstructor;
1361
1361
  };
1362
1362
  options: {
1363
- type: PropType<Array<string | number | import("..").CheckboxOption>>;
1363
+ type: PropType<Array<string | number | import("../checkbox").CheckboxOption>>;
1364
1364
  };
1365
1365
  direction: {
1366
- type: PropType<import("..").Direction>;
1366
+ type: PropType<import("../index.ts").Direction>;
1367
1367
  default: string;
1368
1368
  };
1369
1369
  disabled: {
@@ -1386,10 +1386,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1386
1386
  type: NumberConstructor;
1387
1387
  };
1388
1388
  options: {
1389
- type: PropType<Array<string | number | import("..").CheckboxOption>>;
1389
+ type: PropType<Array<string | number | import("../checkbox").CheckboxOption>>;
1390
1390
  };
1391
1391
  direction: {
1392
- type: PropType<import("..").Direction>;
1392
+ type: PropType<import("../index.ts").Direction>;
1393
1393
  default: string;
1394
1394
  };
1395
1395
  disabled: {
@@ -1405,7 +1405,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1405
1405
  defaultValue: (string | number | boolean)[];
1406
1406
  modelValue: (string | number | boolean)[];
1407
1407
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1408
- install: (app: import("vue").App, options?: import("../_utils/types").SDOptions) => void;
1408
+ install: (app: import("vue").App, options?: import("../_utils/types.ts").SDOptions) => void;
1409
1409
  };
1410
1410
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1411
1411
  export default _default;
@@ -30,7 +30,7 @@ declare const Slider: {
30
30
  default: number;
31
31
  };
32
32
  direction: {
33
- type: import("vue").PropType<import("..").Direction>;
33
+ type: import("vue").PropType<import("../index.ts").Direction>;
34
34
  default: string;
35
35
  };
36
36
  disabled: {
@@ -106,7 +106,7 @@ declare const Slider: {
106
106
  default: number;
107
107
  };
108
108
  direction: {
109
- type: import("vue").PropType<import("..").Direction>;
109
+ type: import("vue").PropType<import("../index.ts").Direction>;
110
110
  default: string;
111
111
  };
112
112
  disabled: {
@@ -176,7 +176,7 @@ declare const Slider: {
176
176
  default: number;
177
177
  };
178
178
  direction: {
179
- type: import("vue").PropType<import("..").Direction>;
179
+ type: import("vue").PropType<import("../index.ts").Direction>;
180
180
  default: string;
181
181
  };
182
182
  disabled: {
@@ -1,13 +1,13 @@
1
1
  import { PropType } from 'vue';
2
- declare var __VLS_9: {}, __VLS_21: {}, __VLS_24: {}, __VLS_26: {};
2
+ declare var __VLS_9: {}, __VLS_20: {}, __VLS_23: {}, __VLS_25: {};
3
3
  type __VLS_Slots = {} & {
4
4
  first?: (props: typeof __VLS_9) => any;
5
5
  } & {
6
- 'resize-trigger'?: (props: typeof __VLS_21) => any;
6
+ 'resize-trigger'?: (props: typeof __VLS_20) => any;
7
7
  } & {
8
- 'resize-trigger-icon'?: (props: typeof __VLS_24) => any;
8
+ 'resize-trigger-icon'?: (props: typeof __VLS_23) => any;
9
9
  } & {
10
- second?: (props: typeof __VLS_26) => any;
10
+ second?: (props: typeof __VLS_25) => any;
11
11
  };
12
12
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
13
  component: {
@@ -115,8 +115,8 @@ var split_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
115
115
  const triggerSize = ref(0);
116
116
  const wrapperRef = ref();
117
117
  const prefixCls = getPrefixCls("split");
118
- const [size, setSize] = useMergeState(defaultSize.value, reactive({ value: propSize }));
119
- const sizeConfig = computed(() => getSizeConfig(size.value));
118
+ const [mergedSize, setMergedSize] = useMergeState(defaultSize.value, reactive({ value: propSize }));
119
+ const sizeConfig = computed(() => getSizeConfig(mergedSize.value));
120
120
  const isHorizontal = computed(() => direction.value === "horizontal");
121
121
  const classNames = computed(() => [prefixCls, {
122
122
  [`${prefixCls}-horizontal`]: isHorizontal.value,
@@ -149,8 +149,8 @@ var split_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
149
149
  function updateSize(newPxSize, containerSize) {
150
150
  if (!containerSize) return;
151
151
  const newSize = sizeConfig.value.isPx ? `${newPxSize}px` : px2percent(newPxSize, containerSize);
152
- if (size.value === newSize) return;
153
- setSize(newSize);
152
+ if (mergedSize.value === newSize) return;
153
+ setMergedSize(newSize);
154
154
  emit("update:size", newSize);
155
155
  }
156
156
  function getLegalPxSize(size, containerSize) {
@@ -210,7 +210,7 @@ var split_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
210
210
  record.startPageX = e.pageX;
211
211
  record.startPageY = e.pageY;
212
212
  record.startContainerSize = (_await$getContainerSi = yield getContainerSize()) !== null && _await$getContainerSi !== void 0 ? _await$getContainerSi : 0;
213
- record.startSize = size.value;
213
+ record.startSize = mergedSize.value;
214
214
  on(window, "mousemove", onMoving);
215
215
  on(window, "mouseup", onMovingEnd);
216
216
  on(window, "contextmenu", onMovingEnd);
@@ -225,7 +225,7 @@ var split_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
225
225
  onMounted(_asyncToGenerator(function* () {
226
226
  var _await$getContainerSi2;
227
227
  const containerSize = (_await$getContainerSi2 = yield getContainerSize()) !== null && _await$getContainerSi2 !== void 0 ? _await$getContainerSi2 : 0;
228
- updateSize(getLegalPxSize(size.value, containerSize), containerSize);
228
+ updateSize(getLegalPxSize(mergedSize.value, containerSize), containerSize);
229
229
  }));
230
230
  return (_ctx, _cache) => {
231
231
  return openBlock(), createBlock(resolveDynamicComponent(__props.component), {
@@ -11,11 +11,11 @@ declare const Steps: {
11
11
  default: string;
12
12
  };
13
13
  direction: {
14
- type: import("vue").PropType<import("..").Direction>;
14
+ type: import("vue").PropType<import("../index.ts").Direction>;
15
15
  default: string;
16
16
  };
17
17
  labelPlacement: {
18
- type: import("vue").PropType<import("..").Direction>;
18
+ type: import("vue").PropType<import("../index.ts").Direction>;
19
19
  default: string;
20
20
  };
21
21
  current: {
@@ -71,11 +71,11 @@ declare const Steps: {
71
71
  default: string;
72
72
  };
73
73
  direction: {
74
- type: import("vue").PropType<import("..").Direction>;
74
+ type: import("vue").PropType<import("../index.ts").Direction>;
75
75
  default: string;
76
76
  };
77
77
  labelPlacement: {
78
- type: import("vue").PropType<import("..").Direction>;
78
+ type: import("vue").PropType<import("../index.ts").Direction>;
79
79
  default: string;
80
80
  };
81
81
  current: {
@@ -125,11 +125,11 @@ declare const Steps: {
125
125
  default: string;
126
126
  };
127
127
  direction: {
128
- type: import("vue").PropType<import("..").Direction>;
128
+ type: import("vue").PropType<import("../index.ts").Direction>;
129
129
  default: string;
130
130
  };
131
131
  labelPlacement: {
132
- type: import("vue").PropType<import("..").Direction>;
132
+ type: import("vue").PropType<import("../index.ts").Direction>;
133
133
  default: string;
134
134
  };
135
135
  current: {