@sdata/web-vue 2.3.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 (141) 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/transition/expand-transition.vue.d.ts +2 -2
  5. package/es/_hooks/use-responsive.d.ts +2 -2
  6. package/es/_hooks/use-theme-mode.d.ts +3 -0
  7. package/es/{calendar/hooks/use-calendar-theme.js → _hooks/use-theme-mode.js} +14 -10
  8. package/es/_utils/responsive-observe.d.ts +5 -4
  9. package/es/_utils/responsive-observe.js +2 -1
  10. package/es/alert/index.d.ts +3 -3
  11. package/es/anchor/index.d.ts +3 -3
  12. package/es/avatar/index.d.ts +20 -20
  13. package/es/border-beam/border-beam.js +5 -0
  14. package/es/border-beam/border-beam.vue.d.ts +52 -0
  15. package/es/border-beam/border-beam.vue_vue_type_script_setup_true_lang.js +623 -0
  16. package/es/border-beam/index.d.ts +106 -0
  17. package/es/border-beam/index.js +10 -0
  18. package/es/border-beam/pulseDriver.d.ts +2 -0
  19. package/es/border-beam/pulseDriver.js +74 -0
  20. package/es/border-beam/style/css.js +2 -0
  21. package/es/border-beam/style/index.css +21 -0
  22. package/es/border-beam/style/index.d.ts +2 -0
  23. package/es/border-beam/style/index.js +2 -0
  24. package/es/border-beam/style/index.scss +12 -0
  25. package/es/border-beam/style/token.scss +12 -0
  26. package/es/border-beam/styles.d.ts +42 -0
  27. package/es/border-beam/styles.js +3545 -0
  28. package/es/border-beam/types.d.ts +27 -0
  29. package/es/button/index.d.ts +24 -24
  30. package/es/calendar/components/cell.vue.d.ts +26 -26
  31. package/es/calendar/components/index.vue.d.ts +1 -1
  32. package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +3 -2
  33. package/es/calendar/index.d.ts +5 -5
  34. package/es/carousel/index.d.ts +3 -3
  35. package/es/cascader/cascader.vue.d.ts +8 -8
  36. package/es/checkbox/checkbox.d.ts +3 -3
  37. package/es/collapse/collapse-item.d.ts +5 -5
  38. package/es/collapse/index.d.ts +3 -3
  39. package/es/components.d.ts +1 -0
  40. package/es/config-provider/index.d.ts +21 -21
  41. package/es/date-picker/index.d.ts +14 -14
  42. package/es/date-picker/panels/date/index.vue.d.ts +2 -2
  43. package/es/date-picker/panels/month/index.vue.d.ts +2 -2
  44. package/es/date-picker/panels/quarter/index.vue.d.ts +2 -2
  45. package/es/date-picker/panels/week/index.vue.d.ts +2 -2
  46. package/es/date-picker/panels/year/index.vue.d.ts +2 -2
  47. package/es/date-picker/picker-panel.vue.d.ts +12 -12
  48. package/es/date-picker/picker.vue.d.ts +14 -14
  49. package/es/date-picker/range-picker.vue.d.ts +15 -15
  50. package/es/descriptions/index.d.ts +24 -24
  51. package/es/drawer/drawer.vue.d.ts +5 -5
  52. package/es/drawer/index.d.ts +15 -15
  53. package/es/dropdown/dropdown-button.vue.d.ts +4 -4
  54. package/es/dropdown/index.d.ts +15 -15
  55. package/es/ellipsis/ellipsis.vue.d.ts +7 -7
  56. package/es/ellipsis/performant-ellipsis.vue.d.ts +5 -5
  57. package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +3 -3
  58. package/es/form/index.d.ts +3 -3
  59. package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +2 -2
  60. package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +10 -10
  61. package/es/icon/icon-menu/icon-menu.js +5 -0
  62. package/es/icon/icon-menu/icon-menu.vue_vue_type_script_setup_true_lang.js +52 -0
  63. package/es/icon/icon-menu/index.js +9 -0
  64. package/es/image/preview.vue.d.ts +2 -2
  65. package/es/index.css +117 -191
  66. package/es/index.d.ts +3 -1
  67. package/es/index.js +3 -2
  68. package/es/index.scss +1 -0
  69. package/es/input/index.d.ts +7 -7
  70. package/es/input/input-password.vue.d.ts +3 -3
  71. package/es/json-form/index.d.ts +9 -9
  72. package/es/json-form/json-form-item.vue_vue_type_script_setup_true_lang.js +1 -1
  73. package/es/json-form/json-form.vue.d.ts +3 -3
  74. package/es/layout/content.vue.d.ts +2 -2
  75. package/es/layout/content.vue_vue_type_script_setup_true_lang.js +8 -3
  76. package/es/layout/context.d.ts +12 -9
  77. package/es/layout/context.js +11 -3
  78. package/es/layout/footer.vue.d.ts +2 -2
  79. package/es/layout/footer.vue_vue_type_script_setup_true_lang.js +8 -3
  80. package/es/layout/header.vue.d.ts +3 -30
  81. package/es/layout/header.vue_vue_type_script_setup_true_lang.js +9 -339
  82. package/es/layout/hooks/use-has-sider.d.ts +2 -0
  83. package/es/layout/hooks/use-has-sider.js +38 -0
  84. package/es/layout/index.d.ts +91 -380
  85. package/es/layout/index.js +2 -2
  86. package/es/layout/interface.d.ts +12 -46
  87. package/es/layout/layout.vue.d.ts +4 -2
  88. package/es/layout/layout.vue_vue_type_script_setup_true_lang.js +38 -14
  89. package/es/layout/sider.vue.d.ts +47 -183
  90. package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +191 -370
  91. package/es/layout/style/index.css +112 -190
  92. package/es/layout/style/index.scss +127 -239
  93. package/es/layout/style/token.scss +46 -26
  94. package/es/link/index.d.ts +6 -6
  95. package/es/list/index.d.ts +18 -18
  96. package/es/menu/base-menu.vue.d.ts +1 -1
  97. package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +14 -14
  98. package/es/menu/item.d.ts +1 -1
  99. package/es/menu/menu.d.ts +12 -12
  100. package/es/menu/menu.js +3 -3
  101. package/es/modal/index.d.ts +15 -15
  102. package/es/modal/modal.vue.d.ts +4 -4
  103. package/es/popconfirm/index.d.ts +12 -12
  104. package/es/popover/index.d.ts +12 -12
  105. package/es/progress/index.d.ts +6 -6
  106. package/es/qr-code/index.d.ts +3 -3
  107. package/es/radio/radio.d.ts +3 -3
  108. package/es/resize-box/resize-box.vue.d.ts +4 -4
  109. package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +7 -7
  110. package/es/result/index.d.ts +3 -3
  111. package/es/scrollbar/style/index.css +1 -1
  112. package/es/scrollbar/style/index.scss +4 -1
  113. package/es/sd-vue.js +3 -1
  114. package/es/select/select.d.ts +17 -17
  115. package/es/slider/index.d.ts +3 -3
  116. package/es/split/split.vue.d.ts +4 -4
  117. package/es/split/split.vue_vue_type_script_setup_true_lang.js +6 -6
  118. package/es/steps/index.d.ts +6 -6
  119. package/es/tabs/index.d.ts +6 -6
  120. package/es/tag/index.d.ts +6 -6
  121. package/es/tag/tag.vue.d.ts +2 -2
  122. package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +2 -2
  123. package/es/theme-provider/index.d.ts +9 -9
  124. package/es/time-picker/index.d.ts +6 -6
  125. package/es/time-picker/time-picker.vue.d.ts +2 -2
  126. package/es/timeline/index.d.ts +3 -3
  127. package/es/timeline/timeline.d.ts +1 -1
  128. package/es/tooltip/index.d.ts +3 -3
  129. package/es/tour/index.d.ts +3 -3
  130. package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +6 -6
  131. package/es/tree/expand-transition.vue.d.ts +2 -2
  132. package/es/tree/node-switcher.vue.d.ts +1 -1
  133. package/es/tree/tree.vue_vue_type_script_setup_true_lang.js +23 -23
  134. package/es/tree-select/tree-select.vue.d.ts +9 -9
  135. package/json/vetur-attributes.json +23 -156
  136. package/json/vetur-tags.json +12 -44
  137. package/json/web-types.json +38 -304
  138. package/package.json +5 -5
  139. package/es/calendar/hooks/use-calendar-theme.d.ts +0 -4
  140. package/es/layout/utils.d.ts +0 -1
  141. package/es/layout/utils.js +0 -11
@@ -13,13 +13,13 @@ declare const Drawer: {
13
13
  default: boolean;
14
14
  };
15
15
  placement: {
16
- type: import("vue").PropType<import("./utils").DrawerPlacements>;
16
+ type: import("vue").PropType<import("./utils.ts").DrawerPlacements>;
17
17
  default: string;
18
18
  validator: (value: any) => boolean;
19
19
  };
20
20
  title: StringConstructor;
21
21
  titleEllipsisTooltip: {
22
- type: import("vue").PropType<boolean | import("..").EllipsisTooltipProps>;
22
+ type: import("vue").PropType<boolean | import("../index.ts").EllipsisTooltipProps>;
23
23
  default: boolean;
24
24
  };
25
25
  mask: {
@@ -41,10 +41,10 @@ declare const Drawer: {
41
41
  default: boolean;
42
42
  };
43
43
  okButtonProps: {
44
- type: import("vue").PropType<import("..").ButtonProps>;
44
+ type: import("vue").PropType<import("../index.ts").ButtonProps>;
45
45
  };
46
46
  cancelButtonProps: {
47
- type: import("vue").PropType<import("..").ButtonProps>;
47
+ type: import("vue").PropType<import("../index.ts").ButtonProps>;
48
48
  };
49
49
  unmountOnClose: BooleanConstructor;
50
50
  width: {
@@ -123,7 +123,7 @@ declare const Drawer: {
123
123
  closable: boolean;
124
124
  width: string | number;
125
125
  placement: "top" | "bottom" | "left" | "right";
126
- titleEllipsisTooltip: boolean | import("..").EllipsisTooltipProps;
126
+ titleEllipsisTooltip: boolean | import("../index.ts").EllipsisTooltipProps;
127
127
  maskClosable: boolean;
128
128
  okLoading: boolean;
129
129
  escToClose: boolean;
@@ -145,13 +145,13 @@ declare const Drawer: {
145
145
  default: boolean;
146
146
  };
147
147
  placement: {
148
- type: import("vue").PropType<import("./utils").DrawerPlacements>;
148
+ type: import("vue").PropType<import("./utils.ts").DrawerPlacements>;
149
149
  default: string;
150
150
  validator: (value: any) => boolean;
151
151
  };
152
152
  title: StringConstructor;
153
153
  titleEllipsisTooltip: {
154
- type: import("vue").PropType<boolean | import("..").EllipsisTooltipProps>;
154
+ type: import("vue").PropType<boolean | import("../index.ts").EllipsisTooltipProps>;
155
155
  default: boolean;
156
156
  };
157
157
  mask: {
@@ -173,10 +173,10 @@ declare const Drawer: {
173
173
  default: boolean;
174
174
  };
175
175
  okButtonProps: {
176
- type: import("vue").PropType<import("..").ButtonProps>;
176
+ type: import("vue").PropType<import("../index.ts").ButtonProps>;
177
177
  };
178
178
  cancelButtonProps: {
179
- type: import("vue").PropType<import("..").ButtonProps>;
179
+ type: import("vue").PropType<import("../index.ts").ButtonProps>;
180
180
  };
181
181
  unmountOnClose: BooleanConstructor;
182
182
  width: {
@@ -247,7 +247,7 @@ declare const Drawer: {
247
247
  closable: boolean;
248
248
  width: string | number;
249
249
  placement: "top" | "bottom" | "left" | "right";
250
- titleEllipsisTooltip: boolean | import("..").EllipsisTooltipProps;
250
+ titleEllipsisTooltip: boolean | import("../index.ts").EllipsisTooltipProps;
251
251
  maskClosable: boolean;
252
252
  okLoading: boolean;
253
253
  escToClose: boolean;
@@ -266,13 +266,13 @@ declare const Drawer: {
266
266
  default: boolean;
267
267
  };
268
268
  placement: {
269
- type: import("vue").PropType<import("./utils").DrawerPlacements>;
269
+ type: import("vue").PropType<import("./utils.ts").DrawerPlacements>;
270
270
  default: string;
271
271
  validator: (value: any) => boolean;
272
272
  };
273
273
  title: StringConstructor;
274
274
  titleEllipsisTooltip: {
275
- type: import("vue").PropType<boolean | import("..").EllipsisTooltipProps>;
275
+ type: import("vue").PropType<boolean | import("../index.ts").EllipsisTooltipProps>;
276
276
  default: boolean;
277
277
  };
278
278
  mask: {
@@ -294,10 +294,10 @@ declare const Drawer: {
294
294
  default: boolean;
295
295
  };
296
296
  okButtonProps: {
297
- type: import("vue").PropType<import("..").ButtonProps>;
297
+ type: import("vue").PropType<import("../index.ts").ButtonProps>;
298
298
  };
299
299
  cancelButtonProps: {
300
- type: import("vue").PropType<import("..").ButtonProps>;
300
+ type: import("vue").PropType<import("../index.ts").ButtonProps>;
301
301
  };
302
302
  unmountOnClose: BooleanConstructor;
303
303
  width: {
@@ -376,7 +376,7 @@ declare const Drawer: {
376
376
  closable: boolean;
377
377
  width: string | number;
378
378
  placement: "top" | "bottom" | "left" | "right";
379
- titleEllipsisTooltip: boolean | import("..").EllipsisTooltipProps;
379
+ titleEllipsisTooltip: boolean | import("../index.ts").EllipsisTooltipProps;
380
380
  maskClosable: boolean;
381
381
  okLoading: boolean;
382
382
  escToClose: boolean;
@@ -2,15 +2,15 @@ import { PropType } from 'vue';
2
2
  import { TriggerEvent } from '../_utils/constant';
3
3
  import { ButtonProps } from '../button';
4
4
  type DropdownPosition = 'top' | 'tl' | 'tr' | 'bottom' | 'bl' | 'br';
5
- declare var __VLS_16: {}, __VLS_34: {
5
+ declare var __VLS_16: {}, __VLS_33: {
6
6
  popupVisible: boolean;
7
- }, __VLS_42: {};
7
+ }, __VLS_41: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_16) => any;
10
10
  } & {
11
- icon?: (props: typeof __VLS_34) => any;
11
+ icon?: (props: typeof __VLS_33) => any;
12
12
  } & {
13
- content?: (props: typeof __VLS_42) => any;
13
+ content?: (props: typeof __VLS_41) => any;
14
14
  };
15
15
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
16
16
  popupVisible: {
@@ -16,7 +16,7 @@ declare const Dropdown: {
16
16
  default: boolean;
17
17
  };
18
18
  trigger: {
19
- type: import("vue").PropType<import("..").TriggerEvent | import("..").TriggerEvent[]>;
19
+ type: import("vue").PropType<import("../index.ts").TriggerEvent | import("../index.ts").TriggerEvent[]>;
20
20
  default: string;
21
21
  };
22
22
  position: {
@@ -66,7 +66,7 @@ declare const Dropdown: {
66
66
  default: boolean;
67
67
  };
68
68
  trigger: {
69
- type: import("vue").PropType<import("..").TriggerEvent | import("..").TriggerEvent[]>;
69
+ type: import("vue").PropType<import("../index.ts").TriggerEvent | import("../index.ts").TriggerEvent[]>;
70
70
  default: string;
71
71
  };
72
72
  position: {
@@ -109,7 +109,7 @@ declare const Dropdown: {
109
109
  default: boolean;
110
110
  };
111
111
  trigger: {
112
- type: import("vue").PropType<import("..").TriggerEvent | import("..").TriggerEvent[]>;
112
+ type: import("vue").PropType<import("../index.ts").TriggerEvent | import("../index.ts").TriggerEvent[]>;
113
113
  default: string;
114
114
  };
115
115
  position: {
@@ -399,7 +399,7 @@ declare const Dropdown: {
399
399
  default: boolean;
400
400
  };
401
401
  trigger: {
402
- type: import("vue").PropType<import("..").TriggerEvent | import("..").TriggerEvent[]>;
402
+ type: import("vue").PropType<import("../index.ts").TriggerEvent | import("../index.ts").TriggerEvent[]>;
403
403
  default: string;
404
404
  };
405
405
  position: {
@@ -414,13 +414,13 @@ declare const Dropdown: {
414
414
  default: boolean;
415
415
  };
416
416
  type: {
417
- type: import("vue").PropType<import("..").ButtonProps["type"]>;
417
+ type: import("vue").PropType<import("../index.ts").ButtonProps["type"]>;
418
418
  };
419
419
  size: {
420
- type: import("vue").PropType<import("..").ButtonProps["size"]>;
420
+ type: import("vue").PropType<import("../index.ts").ButtonProps["size"]>;
421
421
  };
422
422
  buttonProps: {
423
- type: import("vue").PropType<import("..").ButtonProps>;
423
+ type: import("vue").PropType<import("../index.ts").ButtonProps>;
424
424
  };
425
425
  hideOnSelect: {
426
426
  type: BooleanConstructor;
@@ -460,7 +460,7 @@ declare const Dropdown: {
460
460
  default: boolean;
461
461
  };
462
462
  trigger: {
463
- type: import("vue").PropType<import("..").TriggerEvent | import("..").TriggerEvent[]>;
463
+ type: import("vue").PropType<import("../index.ts").TriggerEvent | import("../index.ts").TriggerEvent[]>;
464
464
  default: string;
465
465
  };
466
466
  position: {
@@ -475,13 +475,13 @@ declare const Dropdown: {
475
475
  default: boolean;
476
476
  };
477
477
  type: {
478
- type: import("vue").PropType<import("..").ButtonProps["type"]>;
478
+ type: import("vue").PropType<import("../index.ts").ButtonProps["type"]>;
479
479
  };
480
480
  size: {
481
- type: import("vue").PropType<import("..").ButtonProps["size"]>;
481
+ type: import("vue").PropType<import("../index.ts").ButtonProps["size"]>;
482
482
  };
483
483
  buttonProps: {
484
- type: import("vue").PropType<import("..").ButtonProps>;
484
+ type: import("vue").PropType<import("../index.ts").ButtonProps>;
485
485
  };
486
486
  hideOnSelect: {
487
487
  type: BooleanConstructor;
@@ -513,7 +513,7 @@ declare const Dropdown: {
513
513
  default: boolean;
514
514
  };
515
515
  trigger: {
516
- type: import("vue").PropType<import("..").TriggerEvent | import("..").TriggerEvent[]>;
516
+ type: import("vue").PropType<import("../index.ts").TriggerEvent | import("../index.ts").TriggerEvent[]>;
517
517
  default: string;
518
518
  };
519
519
  position: {
@@ -528,13 +528,13 @@ declare const Dropdown: {
528
528
  default: boolean;
529
529
  };
530
530
  type: {
531
- type: import("vue").PropType<import("..").ButtonProps["type"]>;
531
+ type: import("vue").PropType<import("../index.ts").ButtonProps["type"]>;
532
532
  };
533
533
  size: {
534
- type: import("vue").PropType<import("..").ButtonProps["size"]>;
534
+ type: import("vue").PropType<import("../index.ts").ButtonProps["size"]>;
535
535
  };
536
536
  buttonProps: {
537
- type: import("vue").PropType<import("..").ButtonProps>;
537
+ type: import("vue").PropType<import("../index.ts").ButtonProps>;
538
538
  };
539
539
  hideOnSelect: {
540
540
  type: BooleanConstructor;
@@ -1,18 +1,18 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { EllipsisTooltipProps } from './interface';
3
- declare var __VLS_27: {}, __VLS_29: {}, __VLS_32: {}, __VLS_34: {}, __VLS_47: {}, __VLS_49: {};
3
+ declare var __VLS_26: {}, __VLS_28: {}, __VLS_31: {}, __VLS_33: {}, __VLS_45: {}, __VLS_47: {};
4
4
  type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_27) => any;
5
+ default?: (props: typeof __VLS_26) => any;
6
6
  } & {
7
- default?: (props: typeof __VLS_29) => any;
7
+ default?: (props: typeof __VLS_28) => any;
8
8
  } & {
9
- tooltip?: (props: typeof __VLS_32) => any;
9
+ tooltip?: (props: typeof __VLS_31) => any;
10
10
  } & {
11
- default?: (props: typeof __VLS_34) => any;
11
+ default?: (props: typeof __VLS_33) => any;
12
12
  } & {
13
- default?: (props: typeof __VLS_47) => any;
13
+ default?: (props: typeof __VLS_45) => any;
14
14
  } & {
15
- default?: (props: typeof __VLS_49) => any;
15
+ default?: (props: typeof __VLS_47) => any;
16
16
  };
17
17
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
18
18
  lineClamp: {
@@ -1,14 +1,14 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { EllipsisTooltipProps } from './interface';
3
- declare var __VLS_12: {}, __VLS_14: {}, __VLS_24: {}, __VLS_27: {};
3
+ declare var __VLS_10: {}, __VLS_12: {}, __VLS_22: {}, __VLS_25: {};
4
4
  type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_12) => any;
5
+ default?: (props: typeof __VLS_10) => any;
6
6
  } & {
7
- default?: (props: typeof __VLS_14) => any;
7
+ default?: (props: typeof __VLS_12) => any;
8
8
  } & {
9
- default?: (props: typeof __VLS_24) => any;
9
+ default?: (props: typeof __VLS_22) => any;
10
10
  } & {
11
- tooltip?: (props: typeof __VLS_27) => any;
11
+ tooltip?: (props: typeof __VLS_25) => any;
12
12
  };
13
13
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
14
14
  lineClamp: {
@@ -265,9 +265,9 @@ var form_item_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
265
265
  return (_props$wrapperColStyl = props.wrapperColStyle) !== null && _props$wrapperColStyl !== void 0 ? _props$wrapperColStyl : formCtx.wrapperColStyle;
266
266
  });
267
267
  const initialValue = getValueByPath(formCtx.model, props.field);
268
- const validateStatus = reactive({});
268
+ const formValidateStatus = reactive({});
269
269
  const validateMessage = reactive({});
270
- const finalStatus = computed(() => getFinalValidateStatus(validateStatus));
270
+ const finalStatus = computed(() => getFinalValidateStatus(formValidateStatus));
271
271
  const finalMessage = computed(() => getFinalValidateMessage(validateMessage));
272
272
  const validateDisabled = ref(false);
273
273
  const fieldValue = computed(() => getValueByPath(formCtx.model, props.field));
@@ -290,7 +290,7 @@ var form_item_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
290
290
  const isRequired = computed(() => mergedRules.value.some((item) => item.required));
291
291
  const formItemCtx = props.noStyle ? inject(formItemInjectionKey, void 0) : void 0;
292
292
  const updateValidateState = (field, { status, message }) => {
293
- validateStatus[field] = status;
293
+ formValidateStatus[field] = status;
294
294
  validateMessage[field] = message;
295
295
  if (props.noStyle) formItemCtx === null || formItemCtx === void 0 || formItemCtx.updateValidateState(field, {
296
296
  status,
@@ -13,7 +13,7 @@ declare const Form: {
13
13
  default: string;
14
14
  };
15
15
  size: {
16
- type: import("vue").PropType<import("..").Size>;
16
+ type: import("vue").PropType<import("../index.ts").Size>;
17
17
  };
18
18
  labelColProps: {
19
19
  type: ObjectConstructor;
@@ -105,7 +105,7 @@ declare const Form: {
105
105
  default: string;
106
106
  };
107
107
  size: {
108
- type: import("vue").PropType<import("..").Size>;
108
+ type: import("vue").PropType<import("../index.ts").Size>;
109
109
  };
110
110
  labelColProps: {
111
111
  type: ObjectConstructor;
@@ -184,7 +184,7 @@ declare const Form: {
184
184
  default: string;
185
185
  };
186
186
  size: {
187
- type: import("vue").PropType<import("..").Size>;
187
+ type: import("vue").PropType<import("../index.ts").Size>;
188
188
  };
189
189
  labelColProps: {
190
190
  type: ObjectConstructor;
@@ -129,11 +129,11 @@ var grid_col_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
129
129
  });
130
130
  const flexStyles = computed(() => flexValue.value ? { flex: flexValue.value } : {});
131
131
  const responsiveConfig = computed(() => pick(props, responsiveArray));
132
- const span = useResponsiveState(useResponsiveValue(computed(() => _objectSpread2({
132
+ const responsiveSpan = useResponsiveState(useResponsiveValue(computed(() => _objectSpread2({
133
133
  val: props.span,
134
134
  key: "span"
135
135
  }, responsiveConfig.value))), 24, true);
136
- const visible = computed(() => !!span.value);
136
+ const visible = computed(() => !!responsiveSpan.value);
137
137
  const styles = computed(() => _objectSpread2(_objectSpread2({}, paddingStyles.value), flexStyles.value));
138
138
  return (_ctx, _cache) => {
139
139
  return visible.value ? (openBlock(), createElementBlock("div", {
@@ -56,14 +56,14 @@ var grid_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
56
56
  },
57
57
  setup(__props) {
58
58
  const { cols: propCols, rowGap: propRowGap, colGap: propColGap, collapsedRows, collapsed } = toRefs(__props);
59
- const cols = useResponsiveState(propCols, 24);
60
- const colGap = useResponsiveState(propColGap, 0);
61
- const rowGap = useResponsiveState(propRowGap, 0);
59
+ const resCols = useResponsiveState(propCols, 24);
60
+ const resColGap = useResponsiveState(propColGap, 0);
61
+ const resRowGap = useResponsiveState(propRowGap, 0);
62
62
  const prefixCls = getPrefixCls("grid");
63
63
  const classNames = computed(() => [prefixCls]);
64
64
  const style = computed(() => [{
65
- "gap": `${rowGap.value}px ${colGap.value}px`,
66
- "grid-template-columns": `repeat(${cols.value}, minmax(0px, 1fr))`
65
+ "gap": `${resRowGap.value}px ${resColGap.value}px`,
66
+ "grid-template-columns": `repeat(${resCols.value}, minmax(0px, 1fr))`
67
67
  }]);
68
68
  const itemDataMap = reactive(/* @__PURE__ */ new Map());
69
69
  const itemDataList = computed(() => {
@@ -74,16 +74,16 @@ var grid_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
74
74
  const gridContext = reactive({
75
75
  overflow: false,
76
76
  displayIndexList: [],
77
- cols: cols.value,
78
- colGap: colGap.value
77
+ cols: resCols.value,
78
+ colGap: resColGap.value
79
79
  });
80
80
  watchEffect(() => {
81
- gridContext.cols = cols.value;
82
- gridContext.colGap = colGap.value;
81
+ gridContext.cols = resCols.value;
82
+ gridContext.colGap = resColGap.value;
83
83
  });
84
84
  watchEffect(() => {
85
85
  const displayInfo = setItemVisible({
86
- cols: cols.value,
86
+ cols: resCols.value,
87
87
  collapsed: collapsed.value,
88
88
  collapsedRows: collapsedRows.value,
89
89
  itemDataList: itemDataList.value
@@ -0,0 +1,5 @@
1
+ import icon_menu_vue_vue_type_script_setup_true_lang_default from "./icon-menu.vue_vue_type_script_setup_true_lang.js";
2
+ //#region components/icon/icon-menu/icon-menu.vue
3
+ var icon_menu_default = icon_menu_vue_vue_type_script_setup_true_lang_default;
4
+ //#endregion
5
+ export { icon_menu_default as default };
@@ -0,0 +1,52 @@
1
+ import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
2
+ import { getPrefixCls } from "../../_utils/global-config.js";
3
+ import { isNumber } from "../../_utils/is.js";
4
+ import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock } from "vue";
5
+ //#region components/icon/icon-menu/icon-menu.vue?vue&type=script&setup=true&lang.ts
6
+ var icon_menu_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "IconMenu" }), {}, {
7
+ __name: "icon-menu",
8
+ props: {
9
+ size: {},
10
+ strokeWidth: { default: 4 },
11
+ strokeLinecap: { default: "butt" },
12
+ strokeLinejoin: { default: "miter" },
13
+ rotate: {},
14
+ spin: { type: Boolean }
15
+ },
16
+ emits: ["click"],
17
+ setup(__props, { emit: __emit }) {
18
+ const emit = __emit;
19
+ const prefixCls = getPrefixCls("icon");
20
+ const cls = computed(() => [
21
+ prefixCls,
22
+ `${prefixCls}-menu`,
23
+ { [`${prefixCls}-spin`]: __props.spin }
24
+ ]);
25
+ const svgAttrs = computed(() => ({
26
+ "stroke-width": __props.strokeWidth,
27
+ "stroke-linecap": __props.strokeLinecap,
28
+ "stroke-linejoin": __props.strokeLinejoin
29
+ }));
30
+ const innerStyle = computed(() => {
31
+ const styles = {};
32
+ if (__props.size) styles.fontSize = isNumber(__props.size) ? `${__props.size}px` : __props.size;
33
+ if (__props.rotate) styles.transform = `rotate(${__props.rotate}deg)`;
34
+ return styles;
35
+ });
36
+ const onClick = (ev) => {
37
+ emit("click", ev);
38
+ };
39
+ return (_ctx, _cache) => {
40
+ return openBlock(), createElementBlock("svg", mergeProps({
41
+ xmlns: "http://www.w3.org/2000/svg",
42
+ fill: "none",
43
+ stroke: "currentColor",
44
+ viewBox: "0 0 48 48",
45
+ class: cls.value,
46
+ style: innerStyle.value
47
+ }, svgAttrs.value, { onClick }), [..._cache[0] || (_cache[0] = [createElementVNode("path", { d: "M5 10h38M5 24h38M5 38h38" }, null, -1)])], 16);
48
+ };
49
+ }
50
+ }));
51
+ //#endregion
52
+ export { icon_menu_vue_vue_type_script_setup_true_lang_default as default };
@@ -0,0 +1,9 @@
1
+ import icon_menu_default from "./icon-menu.js";
2
+ //#region components/icon/icon-menu/index.ts
3
+ var IconMenu = Object.assign(icon_menu_default, { install: (app, options) => {
4
+ var _options$iconPrefix;
5
+ const iconPrefix = (_options$iconPrefix = options === null || options === void 0 ? void 0 : options.iconPrefix) !== null && _options$iconPrefix !== void 0 ? _options$iconPrefix : "";
6
+ app.component(iconPrefix + icon_menu_default.name, icon_menu_default);
7
+ } });
8
+ //#endregion
9
+ export { IconMenu as default };
@@ -1,7 +1,7 @@
1
1
  import { PropType } from 'vue';
2
- declare var __VLS_33: {};
2
+ declare var __VLS_32: {};
3
3
  type __VLS_Slots = {} & {
4
- actions?: (props: typeof __VLS_33) => any;
4
+ actions?: (props: typeof __VLS_32) => any;
5
5
  };
6
6
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
7
  renderToBody: {