@ganwei-web/gw-base-components-plus 1.0.19 → 1.0.21

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.
@@ -1,5 +1,5 @@
1
- import { defineComponent, ref, useAttrs, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, mergeModels, useModel, createElementVNode, normalizeProps, guardReactiveProps, createElementBlock, watch, resolveComponent, createVNode, isVNode } from "vue";
2
- import { ElButton, ElTag, ElInput, ElForm, ElSelect, ElCheckbox, ElRadio, ElRadioGroup, ElSwitch, ElCascader, ElDatePicker, ElTimePicker, ElUpload, ElTransfer, ElTable, ElTableColumn, ElTree, ElPagination, ElImage, ElProgress, ElBadge, ElCard, ElAlert, ElDialog, ElDrawer, ElPopover, ElTooltip, ElNotification as ElNotification$1, vLoading as vLoading$1, ElMenu, ElDropdown, ElTabs, ElCollapse, ElMessageBox, ElMessage } from "element-plus";
1
+ import { defineComponent, ref, useAttrs, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, mergeModels, useModel, createElementVNode, normalizeProps, guardReactiveProps, inject, createElementBlock, watch, resolveComponent, createVNode, isVNode } from "vue";
2
+ import { ElButton, ElTag, ElInput, ElForm, ElFormItem, ElSelect, ElOption, ElCheckbox, ElRadio, ElRadioGroup, ElRadioButton, ElSwitch, ElCascader, ElDatePicker, ElTimePicker, ElUpload, ElTransfer, ElTable, ElTableColumn, ElTree, localeContextKey, ElPagination, ElImage, ElProgress, ElBadge, ElCard, ElAlert, ElDialog, ElDrawer, ElPopover, ElTooltip, ElNotification as ElNotification$1, vLoading as vLoading$1, ElMenu, ElDropdown, ElTabs, ElTabPane, ElMenuItem, ElSubMenu, ElDropdownMenu, ElDropdownItem, ElCollapse, ElCollapseItem, ElMessageBox, ElMessage } from "element-plus";
3
3
  import { ElMessage as ElMessage2 } from "element-plus";
4
4
  function useExpose(proxyElement) {
5
5
  const expose = new Proxy({}, {
@@ -13,7 +13,7 @@ function useExpose(proxyElement) {
13
13
  });
14
14
  return expose;
15
15
  }
16
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
16
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
17
17
  ...{
18
18
  inheritAttrs: false
19
19
  },
@@ -61,7 +61,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
61
61
  }
62
62
  });
63
63
  const index_vue_vue_type_style_index_0_lang$t = "";
64
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
64
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
65
65
  __name: "index",
66
66
  setup(__props, { expose: __expose }) {
67
67
  const attrs = useAttrs();
@@ -93,7 +93,7 @@ function useDataTestId() {
93
93
  console.warn(`${UI_AUTOMATION_TOKEN} is required to UI Automation`);
94
94
  }
95
95
  }
96
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
96
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
97
97
  __name: "ElInput",
98
98
  props: {
99
99
  "modelValue": {
@@ -146,7 +146,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
146
146
  }
147
147
  });
148
148
  const ElInput_vue_vue_type_style_index_0_lang = "";
149
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
149
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
150
150
  __name: "index",
151
151
  setup(__props, { expose: __expose }) {
152
152
  const proxyElement = ref();
@@ -171,7 +171,31 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
171
171
  }
172
172
  });
173
173
  const index_vue_vue_type_style_index_0_lang$r = "";
174
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
174
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
175
+ __name: "index",
176
+ setup(__props, { expose: __expose }) {
177
+ const attrs = useAttrs();
178
+ const proxyElement = ref();
179
+ const expose = useExpose(proxyElement);
180
+ __expose(expose);
181
+ return (_ctx, _cache) => {
182
+ return openBlock(), createBlock(unref(ElFormItem), mergeProps(unref(attrs), {
183
+ ref_key: "proxyElement",
184
+ ref: proxyElement
185
+ }), createSlots({ _: 2 }, [
186
+ renderList(_ctx.$slots, (value, key) => {
187
+ return {
188
+ name: key,
189
+ fn: withCtx((slotProps) => [
190
+ renderSlot(_ctx.$slots, key, mergeProps(slotProps, { key }))
191
+ ])
192
+ };
193
+ })
194
+ ]), 1040);
195
+ };
196
+ }
197
+ });
198
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
175
199
  __name: "index",
176
200
  setup(__props, { expose: __expose }) {
177
201
  const proxyElement = ref();
@@ -197,7 +221,31 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
197
221
  }
198
222
  });
199
223
  const index_vue_vue_type_style_index_0_lang$q = "";
200
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
224
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
225
+ __name: "index",
226
+ setup(__props, { expose: __expose }) {
227
+ const attrs = useAttrs();
228
+ const proxyElement = ref();
229
+ const expose = useExpose(proxyElement);
230
+ __expose(expose);
231
+ return (_ctx, _cache) => {
232
+ return openBlock(), createBlock(unref(ElOption), mergeProps(unref(attrs), {
233
+ ref_key: "proxyElement",
234
+ ref: proxyElement
235
+ }), createSlots({ _: 2 }, [
236
+ renderList(_ctx.$slots, (value, key) => {
237
+ return {
238
+ name: key,
239
+ fn: withCtx((slotProps) => [
240
+ renderSlot(_ctx.$slots, key, mergeProps(slotProps, { key }))
241
+ ])
242
+ };
243
+ })
244
+ ]), 1040);
245
+ };
246
+ }
247
+ });
248
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
201
249
  __name: "index",
202
250
  setup(__props, { expose: __expose }) {
203
251
  const proxyElement = ref();
@@ -222,7 +270,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
222
270
  }
223
271
  });
224
272
  const index_vue_vue_type_style_index_0_lang$p = "";
225
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
273
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
226
274
  __name: "index",
227
275
  setup(__props, { expose: __expose }) {
228
276
  const proxyElement = ref();
@@ -247,7 +295,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
247
295
  }
248
296
  });
249
297
  const index_vue_vue_type_style_index_0_lang$o = "";
250
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
298
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
251
299
  __name: "index",
252
300
  props: {
253
301
  round: {
@@ -280,7 +328,31 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
280
328
  }
281
329
  });
282
330
  const index_vue_vue_type_style_index_0_lang$n = "";
283
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
331
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
332
+ __name: "index",
333
+ setup(__props, { expose: __expose }) {
334
+ const attrs = useAttrs();
335
+ const proxyElement = ref();
336
+ const expose = useExpose(proxyElement);
337
+ __expose(expose);
338
+ return (_ctx, _cache) => {
339
+ return openBlock(), createBlock(unref(ElRadioButton), mergeProps(unref(attrs), {
340
+ ref_key: "proxyElement",
341
+ ref: proxyElement
342
+ }), createSlots({ _: 2 }, [
343
+ renderList(_ctx.$slots, (value, key) => {
344
+ return {
345
+ name: key,
346
+ fn: withCtx((slotProps) => [
347
+ renderSlot(_ctx.$slots, key, mergeProps(slotProps, { key }))
348
+ ])
349
+ };
350
+ })
351
+ ]), 1040);
352
+ };
353
+ }
354
+ });
355
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
284
356
  __name: "index",
285
357
  setup(__props, { expose: __expose }) {
286
358
  const proxyElement = ref();
@@ -306,7 +378,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
306
378
  }
307
379
  });
308
380
  const index_vue_vue_type_style_index_0_lang$m = "";
309
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
381
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
310
382
  __name: "index",
311
383
  setup(__props, { expose: __expose }) {
312
384
  const proxyElement = ref();
@@ -331,7 +403,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
331
403
  }
332
404
  });
333
405
  const index_vue_vue_type_style_index_0_lang$l = "";
334
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
406
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
335
407
  __name: "index",
336
408
  props: {
337
409
  defaultTime: {},
@@ -381,7 +453,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
381
453
  }
382
454
  });
383
455
  const index_vue_vue_type_style_index_0_lang$k = "";
384
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
456
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
385
457
  __name: "index",
386
458
  setup(__props, { expose: __expose }) {
387
459
  const proxyElement = ref();
@@ -406,7 +478,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
406
478
  }
407
479
  });
408
480
  const index_vue_vue_type_style_index_0_lang$j = "";
409
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
481
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
410
482
  __name: "index",
411
483
  setup(__props, { expose: __expose }) {
412
484
  const proxyElement = ref();
@@ -431,7 +503,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
431
503
  }
432
504
  });
433
505
  const index_vue_vue_type_style_index_0_lang$i = "";
434
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
506
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
435
507
  __name: "index",
436
508
  setup(__props, { expose: __expose }) {
437
509
  const attrs = useAttrs();
@@ -456,7 +528,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
456
528
  }
457
529
  });
458
530
  const index_vue_vue_type_style_index_0_lang$h = "";
459
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
531
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
460
532
  __name: "index",
461
533
  setup(__props, { expose: __expose }) {
462
534
  const proxyElement = ref();
@@ -488,7 +560,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
488
560
  }
489
561
  });
490
562
  const index_vue_vue_type_style_index_0_lang$g = "";
491
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
563
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
492
564
  __name: "index",
493
565
  props: {
494
566
  formatter: {
@@ -526,7 +598,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
526
598
  };
527
599
  }
528
600
  });
529
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
601
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
530
602
  __name: "index",
531
603
  setup(__props, { expose: __expose }) {
532
604
  const attrs = useAttrs();
@@ -551,7 +623,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
551
623
  }
552
624
  });
553
625
  const index_vue_vue_type_style_index_0_lang$f = "";
554
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
626
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
555
627
  __name: "index",
556
628
  setup(__props, { expose: __expose }) {
557
629
  const attrs = useAttrs();
@@ -559,12 +631,14 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
559
631
  const proxyElement = ref();
560
632
  const expose = useExpose(proxyElement);
561
633
  __expose(expose);
634
+ const injectedLocale = inject(localeContextKey, {});
635
+ const locale = computed(() => attrs.locale || injectedLocale.value);
562
636
  const defaultAttrs = {
563
637
  pageSizes: [20, 50, 100],
564
638
  layout: "sizes,prev, pager, next,total"
565
639
  };
566
640
  return (_ctx, _cache) => {
567
- return openBlock(), createBlock(unref(ElPagination), mergeProps({ ...defaultAttrs, ...unref(attrs) }, {
641
+ return openBlock(), createBlock(unref(ElPagination), mergeProps({ ...defaultAttrs, ...unref(attrs), locale: locale.value }, {
568
642
  ref_key: "proxyElement",
569
643
  ref: proxyElement
570
644
  }), createSlots({ _: 2 }, [
@@ -602,7 +676,7 @@ var _sfc_main197 = /* @__PURE__ */ defineComponent({
602
676
  }
603
677
  }), picture_default = _sfc_main197;
604
678
  const _hoisted_1 = { class: "error-slot" };
605
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
679
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
606
680
  ...{ inheritAttrs: false },
607
681
  __name: "index",
608
682
  props: {
@@ -675,7 +749,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
675
749
  }
676
750
  });
677
751
  const index_vue_vue_type_style_index_0_lang$d = "";
678
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
752
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
679
753
  __name: "index",
680
754
  setup(__props, { expose: __expose }) {
681
755
  const attrs = useAttrs();
@@ -700,7 +774,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
700
774
  }
701
775
  });
702
776
  const index_vue_vue_type_style_index_0_lang$c = "";
703
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
777
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
704
778
  __name: "index",
705
779
  setup(__props, { expose: __expose }) {
706
780
  const attrs = useAttrs();
@@ -725,7 +799,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
725
799
  }
726
800
  });
727
801
  const index_vue_vue_type_style_index_0_lang$b = "";
728
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
802
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
729
803
  __name: "index",
730
804
  setup(__props, { expose: __expose }) {
731
805
  const attrs = useAttrs();
@@ -750,7 +824,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
750
824
  }
751
825
  });
752
826
  const index_vue_vue_type_style_index_0_lang$a = "";
753
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
827
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
754
828
  __name: "index",
755
829
  setup(__props, { expose: __expose }) {
756
830
  const attrs = useAttrs();
@@ -775,7 +849,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
775
849
  }
776
850
  });
777
851
  const index_vue_vue_type_style_index_0_lang$9 = "";
778
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
852
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
779
853
  __name: "index",
780
854
  setup(__props, { expose: __expose }) {
781
855
  const proxyElement = ref();
@@ -799,7 +873,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
799
873
  }
800
874
  });
801
875
  const index_vue_vue_type_style_index_0_lang$8 = "";
802
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
876
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
803
877
  __name: "index",
804
878
  setup(__props, { expose: __expose }) {
805
879
  const proxyElement = ref();
@@ -825,7 +899,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
825
899
  }
826
900
  });
827
901
  const index_vue_vue_type_style_index_0_lang$7 = "";
828
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
902
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
829
903
  __name: "index",
830
904
  setup(__props, { expose: __expose }) {
831
905
  const attrs = useAttrs();
@@ -850,7 +924,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
850
924
  }
851
925
  });
852
926
  const index_vue_vue_type_style_index_0_lang$6 = "";
853
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
927
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
854
928
  __name: "index",
855
929
  setup(__props, { expose: __expose }) {
856
930
  const attrs = useAttrs();
@@ -928,7 +1002,7 @@ const vLoading = {
928
1002
  (_b = (_a = vLoading$1).unmounted) == null ? void 0 : _b.call(_a, el, binding, vnode, prevVnode);
929
1003
  }
930
1004
  };
931
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1005
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
932
1006
  __name: "index",
933
1007
  setup(__props, { expose: __expose }) {
934
1008
  const proxyElement = ref();
@@ -954,7 +1028,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
954
1028
  }
955
1029
  });
956
1030
  const index_vue_vue_type_style_index_0_lang$4 = "";
957
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1031
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
958
1032
  __name: "index",
959
1033
  setup(__props, { expose: __expose }) {
960
1034
  const proxyElement = ref();
@@ -980,7 +1054,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
980
1054
  }
981
1055
  });
982
1056
  const index_vue_vue_type_style_index_0_lang$3 = "";
983
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1057
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
984
1058
  __name: "index",
985
1059
  setup(__props, { expose: __expose }) {
986
1060
  const attrs = useAttrs();
@@ -1005,7 +1079,127 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1005
1079
  }
1006
1080
  });
1007
1081
  const index_vue_vue_type_style_index_0_lang$2 = "";
1008
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1082
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
1083
+ __name: "index",
1084
+ setup(__props, { expose: __expose }) {
1085
+ const attrs = useAttrs();
1086
+ const proxyElement = ref();
1087
+ const expose = useExpose(proxyElement);
1088
+ __expose(expose);
1089
+ return (_ctx, _cache) => {
1090
+ return openBlock(), createBlock(unref(ElTabPane), mergeProps(unref(attrs), {
1091
+ ref_key: "proxyElement",
1092
+ ref: proxyElement
1093
+ }), createSlots({ _: 2 }, [
1094
+ renderList(_ctx.$slots, (value, key) => {
1095
+ return {
1096
+ name: key,
1097
+ fn: withCtx((slotProps) => [
1098
+ renderSlot(_ctx.$slots, key, mergeProps(slotProps, { key }))
1099
+ ])
1100
+ };
1101
+ })
1102
+ ]), 1040);
1103
+ };
1104
+ }
1105
+ });
1106
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
1107
+ __name: "index",
1108
+ setup(__props, { expose: __expose }) {
1109
+ const attrs = useAttrs();
1110
+ const proxyElement = ref();
1111
+ const expose = useExpose(proxyElement);
1112
+ __expose(expose);
1113
+ return (_ctx, _cache) => {
1114
+ return openBlock(), createBlock(unref(ElMenuItem), mergeProps(unref(attrs), {
1115
+ ref_key: "proxyElement",
1116
+ ref: proxyElement
1117
+ }), createSlots({ _: 2 }, [
1118
+ renderList(_ctx.$slots, (value, key) => {
1119
+ return {
1120
+ name: key,
1121
+ fn: withCtx((slotProps) => [
1122
+ renderSlot(_ctx.$slots, key, mergeProps(slotProps, { key }))
1123
+ ])
1124
+ };
1125
+ })
1126
+ ]), 1040);
1127
+ };
1128
+ }
1129
+ });
1130
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1131
+ __name: "index",
1132
+ setup(__props, { expose: __expose }) {
1133
+ const attrs = useAttrs();
1134
+ const proxyElement = ref();
1135
+ const expose = useExpose(proxyElement);
1136
+ __expose(expose);
1137
+ return (_ctx, _cache) => {
1138
+ return openBlock(), createBlock(unref(ElSubMenu), mergeProps(unref(attrs), {
1139
+ ref_key: "proxyElement",
1140
+ ref: proxyElement
1141
+ }), createSlots({ _: 2 }, [
1142
+ renderList(_ctx.$slots, (value, key) => {
1143
+ return {
1144
+ name: key,
1145
+ fn: withCtx((slotProps) => [
1146
+ renderSlot(_ctx.$slots, key, mergeProps(slotProps, { key }))
1147
+ ])
1148
+ };
1149
+ })
1150
+ ]), 1040);
1151
+ };
1152
+ }
1153
+ });
1154
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1155
+ __name: "index",
1156
+ setup(__props, { expose: __expose }) {
1157
+ const attrs = useAttrs();
1158
+ const proxyElement = ref();
1159
+ const expose = useExpose(proxyElement);
1160
+ __expose(expose);
1161
+ return (_ctx, _cache) => {
1162
+ return openBlock(), createBlock(unref(ElDropdownMenu), mergeProps(unref(attrs), {
1163
+ ref_key: "proxyElement",
1164
+ ref: proxyElement
1165
+ }), createSlots({ _: 2 }, [
1166
+ renderList(_ctx.$slots, (value, key) => {
1167
+ return {
1168
+ name: key,
1169
+ fn: withCtx((slotProps) => [
1170
+ renderSlot(_ctx.$slots, key, mergeProps(slotProps, { key }))
1171
+ ])
1172
+ };
1173
+ })
1174
+ ]), 1040);
1175
+ };
1176
+ }
1177
+ });
1178
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1179
+ __name: "index",
1180
+ setup(__props, { expose: __expose }) {
1181
+ const attrs = useAttrs();
1182
+ const proxyElement = ref();
1183
+ const expose = useExpose(proxyElement);
1184
+ __expose(expose);
1185
+ return (_ctx, _cache) => {
1186
+ return openBlock(), createBlock(unref(ElDropdownItem), mergeProps(unref(attrs), {
1187
+ ref_key: "proxyElement",
1188
+ ref: proxyElement
1189
+ }), createSlots({ _: 2 }, [
1190
+ renderList(_ctx.$slots, (value, key) => {
1191
+ return {
1192
+ name: key,
1193
+ fn: withCtx((slotProps) => [
1194
+ renderSlot(_ctx.$slots, key, mergeProps(slotProps, { key }))
1195
+ ])
1196
+ };
1197
+ })
1198
+ ]), 1040);
1199
+ };
1200
+ }
1201
+ });
1202
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1009
1203
  __name: "index",
1010
1204
  setup(__props, { expose: __expose }) {
1011
1205
  const attrs = useAttrs();
@@ -1030,6 +1224,30 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1030
1224
  }
1031
1225
  });
1032
1226
  const index_vue_vue_type_style_index_0_lang$1 = "";
1227
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1228
+ __name: "index",
1229
+ setup(__props, { expose: __expose }) {
1230
+ const attrs = useAttrs();
1231
+ const proxyElement = ref();
1232
+ const expose = useExpose(proxyElement);
1233
+ __expose(expose);
1234
+ return (_ctx, _cache) => {
1235
+ return openBlock(), createBlock(unref(ElCollapseItem), mergeProps(unref(attrs), {
1236
+ ref_key: "proxyElement",
1237
+ ref: proxyElement
1238
+ }), createSlots({ _: 2 }, [
1239
+ renderList(_ctx.$slots, (value, key) => {
1240
+ return {
1241
+ name: key,
1242
+ fn: withCtx((slotProps) => [
1243
+ renderSlot(_ctx.$slots, key, mergeProps(slotProps, { key }))
1244
+ ])
1245
+ };
1246
+ })
1247
+ ]), 1040);
1248
+ };
1249
+ }
1250
+ });
1033
1251
  const _sfc_main = /* @__PURE__ */ defineComponent({
1034
1252
  __name: "index",
1035
1253
  setup(__props, { expose: __expose }) {
@@ -1075,42 +1293,51 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1075
1293
  const index_vue_vue_type_style_index_0_lang = "";
1076
1294
  const Adapter = {
1077
1295
  // 基础组件
1078
- ElButton: _sfc_main$v,
1079
- ElTag: _sfc_main$u,
1296
+ ElButton: _sfc_main$E,
1297
+ ElTag: _sfc_main$D,
1080
1298
  // 表单组件
1081
- ElInput: _sfc_main$t,
1082
- ElForm: _sfc_main$s,
1083
- ElSelect: _sfc_main$r,
1084
- ElCheckbox: _sfc_main$q,
1085
- ElRadio: _sfc_main$p,
1086
- ElRadioGroup: _sfc_main$o,
1087
- ElSwitch: _sfc_main$n,
1088
- ElCascader: _sfc_main$m,
1089
- ElDatePicker: _sfc_main$l,
1090
- ElTimePicker: _sfc_main$k,
1091
- ElUpload: _sfc_main$j,
1092
- ElTransfer: _sfc_main$i,
1299
+ ElInput: _sfc_main$C,
1300
+ ElForm: _sfc_main$B,
1301
+ ElFormItem: _sfc_main$A,
1302
+ ElSelect: _sfc_main$z,
1303
+ ElOption: _sfc_main$y,
1304
+ ElCheckbox: _sfc_main$x,
1305
+ ElRadio: _sfc_main$w,
1306
+ ElRadioGroup: _sfc_main$v,
1307
+ ElRadioButton: _sfc_main$u,
1308
+ ElSwitch: _sfc_main$t,
1309
+ ElCascader: _sfc_main$s,
1310
+ ElDatePicker: _sfc_main$r,
1311
+ ElTimePicker: _sfc_main$q,
1312
+ ElUpload: _sfc_main$p,
1313
+ ElTransfer: _sfc_main$o,
1093
1314
  // 数据展示
1094
- ElTable: _sfc_main$h,
1095
- ElTableColumn: _sfc_main$g,
1096
- ElTree: _sfc_main$f,
1097
- ElPagination: _sfc_main$e,
1098
- ElImage: _sfc_main$d,
1099
- ElProgress: _sfc_main$c,
1100
- ElBadge: _sfc_main$b,
1101
- ElCard: _sfc_main$a,
1315
+ ElTable: _sfc_main$n,
1316
+ ElTableColumn: _sfc_main$m,
1317
+ ElTree: _sfc_main$l,
1318
+ ElPagination: _sfc_main$k,
1319
+ ElImage: _sfc_main$j,
1320
+ ElProgress: _sfc_main$i,
1321
+ ElBadge: _sfc_main$h,
1322
+ ElCard: _sfc_main$g,
1102
1323
  // 反馈组件
1103
- ElAlert: _sfc_main$9,
1104
- ElDialog: _sfc_main$8,
1105
- ElDrawer: _sfc_main$7,
1106
- ElPopover: _sfc_main$6,
1107
- ElTooltip: _sfc_main$5,
1324
+ ElAlert: _sfc_main$f,
1325
+ ElDialog: _sfc_main$e,
1326
+ ElDrawer: _sfc_main$d,
1327
+ ElPopover: _sfc_main$c,
1328
+ ElTooltip: _sfc_main$b,
1108
1329
  // 导航组件
1109
- ElMenu: _sfc_main$4,
1110
- ElDropdown: _sfc_main$3,
1111
- ElTabs: _sfc_main$2,
1330
+ ElMenu: _sfc_main$a,
1331
+ ElMenuItem: _sfc_main$6,
1332
+ ElSubMenu: _sfc_main$5,
1333
+ ElDropdown: _sfc_main$9,
1334
+ ElDropdownMenu: _sfc_main$4,
1335
+ ElDropdownItem: _sfc_main$3,
1336
+ ElTabs: _sfc_main$8,
1337
+ ElTabPane: _sfc_main$7,
1112
1338
  // 其他
1113
- ElCollapse: _sfc_main$1,
1339
+ ElCollapse: _sfc_main$2,
1340
+ ElCollapseItem: _sfc_main$1,
1114
1341
  ElPoper: _sfc_main
1115
1342
  };
1116
1343
  function adapterInstall(app) {