@sdata/web-vue 2.3.1 → 2.8.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 (119) hide show
  1. package/README.md +1 -1
  2. package/dist/sd.css +133 -187
  3. package/dist/sd.min.css +1 -1
  4. package/es/_hooks/use-responsive.d.ts +2 -2
  5. package/es/_hooks/use-theme-mode.d.ts +3 -0
  6. package/es/{calendar/hooks/use-calendar-theme.js → _hooks/use-theme-mode.js} +14 -10
  7. package/es/_utils/responsive-observe.d.ts +5 -4
  8. package/es/_utils/responsive-observe.js +2 -1
  9. package/es/alert/index.d.ts +3 -3
  10. package/es/anchor/index.d.ts +3 -3
  11. package/es/avatar/index.d.ts +20 -20
  12. package/es/border-beam/border-beam.js +5 -0
  13. package/es/border-beam/border-beam.vue.d.ts +52 -0
  14. package/es/border-beam/border-beam.vue_vue_type_script_setup_true_lang.js +623 -0
  15. package/es/border-beam/index.d.ts +106 -0
  16. package/es/border-beam/index.js +10 -0
  17. package/es/border-beam/pulseDriver.d.ts +2 -0
  18. package/es/border-beam/pulseDriver.js +74 -0
  19. package/es/border-beam/style/css.js +2 -0
  20. package/es/border-beam/style/index.css +21 -0
  21. package/es/border-beam/style/index.d.ts +2 -0
  22. package/es/border-beam/style/index.js +2 -0
  23. package/es/border-beam/style/index.scss +12 -0
  24. package/es/border-beam/style/token.scss +12 -0
  25. package/es/border-beam/styles.d.ts +42 -0
  26. package/es/border-beam/styles.js +3545 -0
  27. package/es/border-beam/types.d.ts +27 -0
  28. package/es/button/index.d.ts +24 -24
  29. package/es/calendar/components/index.vue.d.ts +1 -1
  30. package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +3 -2
  31. package/es/calendar/index.d.ts +5 -5
  32. package/es/carousel/index.d.ts +3 -3
  33. package/es/checkbox/checkbox.d.ts +3 -3
  34. package/es/collapse/collapse-item.d.ts +5 -5
  35. package/es/collapse/index.d.ts +3 -3
  36. package/es/components.d.ts +1 -0
  37. package/es/config-provider/index.d.ts +21 -21
  38. package/es/date-picker/index.d.ts +14 -14
  39. package/es/date-picker/picker.vue.d.ts +2 -2
  40. package/es/date-picker/range-picker.vue.d.ts +2 -2
  41. package/es/descriptions/index.d.ts +24 -24
  42. package/es/drawer/index.d.ts +16 -15
  43. package/es/dropdown/index.d.ts +15 -15
  44. package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +3 -3
  45. package/es/form/index.d.ts +3 -3
  46. package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +2 -2
  47. package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +10 -10
  48. package/es/icon/icon-menu/icon-menu.js +5 -0
  49. package/es/icon/icon-menu/icon-menu.vue_vue_type_script_setup_true_lang.js +52 -0
  50. package/es/icon/icon-menu/index.js +9 -0
  51. package/es/index.css +133 -187
  52. package/es/index.d.ts +4 -2
  53. package/es/index.js +3 -2
  54. package/es/index.scss +1 -0
  55. package/es/input/index.d.ts +7 -7
  56. package/es/json-form/index.d.ts +9 -9
  57. package/es/json-form/json-form-item.vue_vue_type_script_setup_true_lang.js +1 -1
  58. package/es/json-form/json-form.vue.d.ts +3 -3
  59. package/es/layout/content.vue.d.ts +2 -2
  60. package/es/layout/content.vue_vue_type_script_setup_true_lang.js +8 -3
  61. package/es/layout/context.d.ts +12 -9
  62. package/es/layout/context.js +11 -3
  63. package/es/layout/footer.vue.d.ts +2 -2
  64. package/es/layout/footer.vue_vue_type_script_setup_true_lang.js +8 -3
  65. package/es/layout/header.vue.d.ts +3 -30
  66. package/es/layout/header.vue_vue_type_script_setup_true_lang.js +9 -339
  67. package/es/layout/hooks/use-has-sider.d.ts +2 -0
  68. package/es/layout/hooks/use-has-sider.js +38 -0
  69. package/es/layout/index.d.ts +120 -371
  70. package/es/layout/index.js +2 -2
  71. package/es/layout/interface.d.ts +16 -46
  72. package/es/layout/layout.vue.d.ts +4 -2
  73. package/es/layout/layout.vue_vue_type_script_setup_true_lang.js +38 -14
  74. package/es/layout/sider.vue.d.ts +68 -178
  75. package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +243 -363
  76. package/es/layout/style/index.css +128 -186
  77. package/es/layout/style/index.scss +146 -234
  78. package/es/layout/style/token.scss +46 -26
  79. package/es/link/index.d.ts +6 -6
  80. package/es/list/index.d.ts +18 -18
  81. package/es/menu/base-menu.vue.d.ts +1 -1
  82. package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +14 -14
  83. package/es/menu/item.d.ts +1 -1
  84. package/es/menu/menu.d.ts +12 -12
  85. package/es/menu/menu.js +3 -3
  86. package/es/modal/index.d.ts +15 -15
  87. package/es/popconfirm/index.d.ts +12 -12
  88. package/es/popover/index.d.ts +12 -12
  89. package/es/progress/index.d.ts +6 -6
  90. package/es/qr-code/index.d.ts +3 -3
  91. package/es/radio/radio.d.ts +3 -3
  92. package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +7 -7
  93. package/es/result/index.d.ts +3 -3
  94. package/es/scrollbar/style/index.css +1 -1
  95. package/es/scrollbar/style/index.scss +4 -1
  96. package/es/sd-vue.js +3 -1
  97. package/es/select/select.d.ts +17 -17
  98. package/es/slider/index.d.ts +3 -3
  99. package/es/split/split.vue_vue_type_script_setup_true_lang.js +6 -6
  100. package/es/steps/index.d.ts +6 -6
  101. package/es/tabs/index.d.ts +6 -6
  102. package/es/tag/index.d.ts +6 -6
  103. package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +2 -2
  104. package/es/theme-provider/index.d.ts +9 -9
  105. package/es/time-picker/index.d.ts +6 -6
  106. package/es/timeline/index.d.ts +3 -3
  107. package/es/timeline/timeline.d.ts +1 -1
  108. package/es/tooltip/index.d.ts +3 -3
  109. package/es/tour/index.d.ts +3 -3
  110. package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +6 -6
  111. package/es/tree/node-switcher.vue.d.ts +1 -1
  112. package/es/tree/tree.vue_vue_type_script_setup_true_lang.js +23 -23
  113. package/json/vetur-attributes.json +27 -153
  114. package/json/vetur-tags.json +13 -43
  115. package/json/web-types.json +43 -293
  116. package/package.json +10 -10
  117. package/es/calendar/hooks/use-calendar-theme.d.ts +0 -4
  118. package/es/layout/utils.d.ts +0 -1
  119. package/es/layout/utils.js +0 -11
@@ -412,7 +412,7 @@ declare var __VLS_10: {}, __VLS_26: {}, __VLS_29: {}, __VLS_37: {
412
412
  position?: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | undefined;
413
413
  disabled?: boolean | undefined;
414
414
  unmountOnClose?: boolean | undefined;
415
- modelValue?: (import("../index.js").TimeValue | import("../index.js").TimeValue[]) | undefined;
415
+ modelValue?: (import("../index.ts").TimeValue | import("../index.ts").TimeValue[]) | undefined;
416
416
  placeholder?: string | string[] | undefined;
417
417
  allowClear?: boolean | undefined;
418
418
  triggerProps?: Record<string, unknown> | undefined;
@@ -862,7 +862,7 @@ declare var __VLS_10: {}, __VLS_26: {}, __VLS_29: {}, __VLS_37: {
862
862
  position?: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | undefined;
863
863
  disabled?: boolean | undefined;
864
864
  unmountOnClose?: boolean | undefined;
865
- modelValue?: (import("../index.js").TimeValue | import("../index.js").TimeValue[]) | undefined;
865
+ modelValue?: (import("../index.ts").TimeValue | import("../index.ts").TimeValue[]) | undefined;
866
866
  placeholder?: string | string[] | undefined;
867
867
  allowClear?: boolean | undefined;
868
868
  triggerProps?: Record<string, unknown> | undefined;
@@ -486,7 +486,7 @@ declare var __VLS_10: {}, __VLS_25: {}, __VLS_28: {}, __VLS_36: {}, __VLS_39: {
486
486
  position?: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | undefined;
487
487
  disabled?: boolean | undefined;
488
488
  unmountOnClose?: boolean | undefined;
489
- modelValue?: (import("../index.js").TimeValue | import("../index.js").TimeValue[]) | undefined;
489
+ modelValue?: (import("../index.ts").TimeValue | import("../index.ts").TimeValue[]) | undefined;
490
490
  placeholder?: string | string[] | undefined;
491
491
  allowClear?: boolean | undefined;
492
492
  triggerProps?: Record<string, unknown> | undefined;
@@ -1123,7 +1123,7 @@ declare var __VLS_10: {}, __VLS_25: {}, __VLS_28: {}, __VLS_36: {}, __VLS_39: {
1123
1123
  position?: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | undefined;
1124
1124
  disabled?: boolean | undefined;
1125
1125
  unmountOnClose?: boolean | undefined;
1126
- modelValue?: (import("../index.js").TimeValue | import("../index.js").TimeValue[]) | undefined;
1126
+ modelValue?: (import("../index.ts").TimeValue | import("../index.ts").TimeValue[]) | undefined;
1127
1127
  placeholder?: string | string[] | undefined;
1128
1128
  allowClear?: boolean | undefined;
1129
1129
  triggerProps?: Record<string, unknown> | undefined;
@@ -9,7 +9,7 @@ declare const Descriptions: {
9
9
  default: () => never[];
10
10
  };
11
11
  column: {
12
- type: import("vue").PropType<number | import("..").ResponsiveValue>;
12
+ type: import("vue").PropType<number | import("../index.ts").ResponsiveValue>;
13
13
  default: number;
14
14
  };
15
15
  title: StringConstructor;
@@ -18,14 +18,14 @@ declare const Descriptions: {
18
18
  default: string;
19
19
  };
20
20
  align: {
21
- type: import("vue").PropType<import("../_utils/constant").TextAlign | {
22
- label?: import("../_utils/constant").TextAlign;
23
- value?: import("../_utils/constant").TextAlign;
21
+ type: import("vue").PropType<import("../_utils/constant.ts").TextAlign | {
22
+ label?: import("../_utils/constant.ts").TextAlign;
23
+ value?: import("../_utils/constant.ts").TextAlign;
24
24
  }>;
25
25
  default: string;
26
26
  };
27
27
  size: {
28
- type: import("vue").PropType<import("..").Size>;
28
+ type: import("vue").PropType<import("../index.ts").Size>;
29
29
  };
30
30
  bordered: {
31
31
  type: BooleanConstructor;
@@ -43,13 +43,13 @@ declare const Descriptions: {
43
43
  };
44
44
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
45
45
  data: import("./interface").DescData[];
46
- column: number | import("..").ResponsiveValue;
46
+ column: number | import("../index.ts").ResponsiveValue;
47
47
  layout: "horizontal" | "vertical" | "inline-horizontal" | "inline-vertical";
48
48
  bordered: boolean;
49
49
  tableLayout: "fixed" | "auto";
50
50
  align: "left" | "right" | "center" | {
51
- label?: import("../_utils/constant").TextAlign;
52
- value?: import("../_utils/constant").TextAlign;
51
+ label?: import("../_utils/constant.ts").TextAlign;
52
+ value?: import("../_utils/constant.ts").TextAlign;
53
53
  };
54
54
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
55
55
  P: {};
@@ -64,7 +64,7 @@ declare const Descriptions: {
64
64
  default: () => never[];
65
65
  };
66
66
  column: {
67
- type: import("vue").PropType<number | import("..").ResponsiveValue>;
67
+ type: import("vue").PropType<number | import("../index.ts").ResponsiveValue>;
68
68
  default: number;
69
69
  };
70
70
  title: StringConstructor;
@@ -73,14 +73,14 @@ declare const Descriptions: {
73
73
  default: string;
74
74
  };
75
75
  align: {
76
- type: import("vue").PropType<import("../_utils/constant").TextAlign | {
77
- label?: import("../_utils/constant").TextAlign;
78
- value?: import("../_utils/constant").TextAlign;
76
+ type: import("vue").PropType<import("../_utils/constant.ts").TextAlign | {
77
+ label?: import("../_utils/constant.ts").TextAlign;
78
+ value?: import("../_utils/constant.ts").TextAlign;
79
79
  }>;
80
80
  default: string;
81
81
  };
82
82
  size: {
83
- type: import("vue").PropType<import("..").Size>;
83
+ type: import("vue").PropType<import("../index.ts").Size>;
84
84
  };
85
85
  bordered: {
86
86
  type: BooleanConstructor;
@@ -98,13 +98,13 @@ declare const Descriptions: {
98
98
  };
99
99
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
100
100
  data: import("./interface").DescData[];
101
- column: number | import("..").ResponsiveValue;
101
+ column: number | import("../index.ts").ResponsiveValue;
102
102
  layout: "horizontal" | "vertical" | "inline-horizontal" | "inline-vertical";
103
103
  bordered: boolean;
104
104
  tableLayout: "fixed" | "auto";
105
105
  align: "left" | "right" | "center" | {
106
- label?: import("../_utils/constant").TextAlign;
107
- value?: import("../_utils/constant").TextAlign;
106
+ label?: import("../_utils/constant.ts").TextAlign;
107
+ value?: import("../_utils/constant.ts").TextAlign;
108
108
  };
109
109
  }>;
110
110
  __isFragment?: never;
@@ -116,7 +116,7 @@ declare const Descriptions: {
116
116
  default: () => never[];
117
117
  };
118
118
  column: {
119
- type: import("vue").PropType<number | import("..").ResponsiveValue>;
119
+ type: import("vue").PropType<number | import("../index.ts").ResponsiveValue>;
120
120
  default: number;
121
121
  };
122
122
  title: StringConstructor;
@@ -125,14 +125,14 @@ declare const Descriptions: {
125
125
  default: string;
126
126
  };
127
127
  align: {
128
- type: import("vue").PropType<import("../_utils/constant").TextAlign | {
129
- label?: import("../_utils/constant").TextAlign;
130
- value?: import("../_utils/constant").TextAlign;
128
+ type: import("vue").PropType<import("../_utils/constant.ts").TextAlign | {
129
+ label?: import("../_utils/constant.ts").TextAlign;
130
+ value?: import("../_utils/constant.ts").TextAlign;
131
131
  }>;
132
132
  default: string;
133
133
  };
134
134
  size: {
135
- type: import("vue").PropType<import("..").Size>;
135
+ type: import("vue").PropType<import("../index.ts").Size>;
136
136
  };
137
137
  bordered: {
138
138
  type: BooleanConstructor;
@@ -150,13 +150,13 @@ declare const Descriptions: {
150
150
  };
151
151
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
152
152
  data: import("./interface").DescData[];
153
- column: number | import("..").ResponsiveValue;
153
+ column: number | import("../index.ts").ResponsiveValue;
154
154
  layout: "horizontal" | "vertical" | "inline-horizontal" | "inline-vertical";
155
155
  bordered: boolean;
156
156
  tableLayout: "fixed" | "auto";
157
157
  align: "left" | "right" | "center" | {
158
- label?: import("../_utils/constant").TextAlign;
159
- value?: import("../_utils/constant").TextAlign;
158
+ label?: import("../_utils/constant.ts").TextAlign;
159
+ value?: import("../_utils/constant.ts").TextAlign;
160
160
  };
161
161
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
162
162
  DescriptionsItem: {
@@ -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;
@@ -401,4 +401,5 @@ declare const Drawer: {
401
401
  };
402
402
  export type { DrawerMethod, DrawerConfig, DrawerReturn } from './interface';
403
403
  export type DrawerInstance = InstanceType<typeof _Drawer>;
404
+ export type DrawerProps = InstanceType<typeof _Drawer>['$props'];
404
405
  export default Drawer;
@@ -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;
@@ -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 };