@ganwei-web/gw-base-components-plus 1.0.22 → 1.0.23

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
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";
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, ElDescriptions, ElAlert, ElDialog, ElDrawer, ElPopover, ElTooltip, ElNotification as ElNotification$1, vLoading as vLoading$1, ElMenu, ElDropdown, ElTabs, ElTabPane, ElMenuItem, ElSubMenu, ElDropdownMenu, ElDropdownItem, ElCollapse, ElCollapseItem, ElDescriptionsItem, 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$E = /* @__PURE__ */ defineComponent({
16
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
17
17
  ...{
18
18
  inheritAttrs: false
19
19
  },
@@ -60,8 +60,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
60
60
  };
61
61
  }
62
62
  });
63
- const index_vue_vue_type_style_index_0_lang$t = "";
64
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
63
+ const index_vue_vue_type_style_index_0_lang$u = "";
64
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
65
65
  __name: "index",
66
66
  setup(__props, { expose: __expose }) {
67
67
  const attrs = useAttrs();
@@ -85,7 +85,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
85
85
  };
86
86
  }
87
87
  });
88
- const index_vue_vue_type_style_index_0_lang$s = "";
88
+ const index_vue_vue_type_style_index_0_lang$t = "";
89
89
  const UI_AUTOMATION_TOKEN = `data-testid`;
90
90
  function useDataTestId() {
91
91
  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$C = /* @__PURE__ */ defineComponent({
96
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
97
97
  __name: "ElInput",
98
98
  props: {
99
99
  "modelValue": {
@@ -146,7 +146,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
146
146
  }
147
147
  });
148
148
  const ElInput_vue_vue_type_style_index_0_lang = "";
149
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
149
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
150
150
  __name: "index",
151
151
  setup(__props, { expose: __expose }) {
152
152
  const proxyElement = ref();
@@ -170,8 +170,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
170
170
  };
171
171
  }
172
172
  });
173
- const index_vue_vue_type_style_index_0_lang$r = "";
174
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
173
+ const index_vue_vue_type_style_index_0_lang$s = "";
174
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
175
175
  __name: "index",
176
176
  setup(__props, { expose: __expose }) {
177
177
  const attrs = useAttrs();
@@ -195,7 +195,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
195
195
  };
196
196
  }
197
197
  });
198
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
198
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
199
199
  __name: "index",
200
200
  setup(__props, { expose: __expose }) {
201
201
  const proxyElement = ref();
@@ -220,8 +220,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
220
220
  };
221
221
  }
222
222
  });
223
- const index_vue_vue_type_style_index_0_lang$q = "";
224
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
223
+ const index_vue_vue_type_style_index_0_lang$r = "";
224
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
225
225
  __name: "index",
226
226
  setup(__props, { expose: __expose }) {
227
227
  const attrs = useAttrs();
@@ -245,7 +245,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
245
245
  };
246
246
  }
247
247
  });
248
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
248
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
249
249
  __name: "index",
250
250
  setup(__props, { expose: __expose }) {
251
251
  const proxyElement = ref();
@@ -269,8 +269,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
269
269
  };
270
270
  }
271
271
  });
272
- const index_vue_vue_type_style_index_0_lang$p = "";
273
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
272
+ const index_vue_vue_type_style_index_0_lang$q = "";
273
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
274
274
  __name: "index",
275
275
  setup(__props, { expose: __expose }) {
276
276
  const proxyElement = ref();
@@ -294,8 +294,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
294
294
  };
295
295
  }
296
296
  });
297
- const index_vue_vue_type_style_index_0_lang$o = "";
298
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
297
+ const index_vue_vue_type_style_index_0_lang$p = "";
298
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
299
299
  __name: "index",
300
300
  props: {
301
301
  round: {
@@ -327,8 +327,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
327
327
  };
328
328
  }
329
329
  });
330
- const index_vue_vue_type_style_index_0_lang$n = "";
331
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
330
+ const index_vue_vue_type_style_index_0_lang$o = "";
331
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
332
332
  __name: "index",
333
333
  setup(__props, { expose: __expose }) {
334
334
  const attrs = useAttrs();
@@ -352,7 +352,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
352
352
  };
353
353
  }
354
354
  });
355
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
355
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
356
356
  __name: "index",
357
357
  setup(__props, { expose: __expose }) {
358
358
  const proxyElement = ref();
@@ -377,8 +377,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
377
377
  };
378
378
  }
379
379
  });
380
- const index_vue_vue_type_style_index_0_lang$m = "";
381
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
380
+ const index_vue_vue_type_style_index_0_lang$n = "";
381
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
382
382
  __name: "index",
383
383
  setup(__props, { expose: __expose }) {
384
384
  const proxyElement = ref();
@@ -402,8 +402,8 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
402
402
  };
403
403
  }
404
404
  });
405
- const index_vue_vue_type_style_index_0_lang$l = "";
406
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
405
+ const index_vue_vue_type_style_index_0_lang$m = "";
406
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
407
407
  __name: "index",
408
408
  props: {
409
409
  defaultTime: {},
@@ -452,8 +452,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
452
452
  };
453
453
  }
454
454
  });
455
- const index_vue_vue_type_style_index_0_lang$k = "";
456
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
455
+ const index_vue_vue_type_style_index_0_lang$l = "";
456
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
457
457
  __name: "index",
458
458
  setup(__props, { expose: __expose }) {
459
459
  const proxyElement = ref();
@@ -477,8 +477,8 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
477
477
  };
478
478
  }
479
479
  });
480
- const index_vue_vue_type_style_index_0_lang$j = "";
481
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
480
+ const index_vue_vue_type_style_index_0_lang$k = "";
481
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
482
482
  __name: "index",
483
483
  setup(__props, { expose: __expose }) {
484
484
  const proxyElement = ref();
@@ -502,8 +502,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
502
502
  };
503
503
  }
504
504
  });
505
- const index_vue_vue_type_style_index_0_lang$i = "";
506
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
505
+ const index_vue_vue_type_style_index_0_lang$j = "";
506
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
507
507
  __name: "index",
508
508
  setup(__props, { expose: __expose }) {
509
509
  const attrs = useAttrs();
@@ -527,8 +527,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
527
527
  };
528
528
  }
529
529
  });
530
- const index_vue_vue_type_style_index_0_lang$h = "";
531
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
530
+ const index_vue_vue_type_style_index_0_lang$i = "";
531
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
532
532
  __name: "index",
533
533
  setup(__props, { expose: __expose }) {
534
534
  const proxyElement = ref();
@@ -559,8 +559,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
559
559
  };
560
560
  }
561
561
  });
562
- const index_vue_vue_type_style_index_0_lang$g = "";
563
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
562
+ const index_vue_vue_type_style_index_0_lang$h = "";
563
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
564
564
  __name: "index",
565
565
  props: {
566
566
  formatter: {
@@ -598,7 +598,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
598
598
  };
599
599
  }
600
600
  });
601
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
601
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
602
602
  __name: "index",
603
603
  setup(__props, { expose: __expose }) {
604
604
  const attrs = useAttrs();
@@ -622,8 +622,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
622
622
  };
623
623
  }
624
624
  });
625
- const index_vue_vue_type_style_index_0_lang$f = "";
626
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
625
+ const index_vue_vue_type_style_index_0_lang$g = "";
626
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
627
627
  __name: "index",
628
628
  setup(__props, { expose: __expose }) {
629
629
  const attrs = useAttrs();
@@ -654,7 +654,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
654
654
  };
655
655
  }
656
656
  });
657
- const index_vue_vue_type_style_index_0_lang$e = "";
657
+ const index_vue_vue_type_style_index_0_lang$f = "";
658
658
  /*! Element Plus Icons Vue v2.3.2 */
659
659
  var _sfc_main197 = /* @__PURE__ */ defineComponent({
660
660
  name: "Picture",
@@ -676,7 +676,7 @@ var _sfc_main197 = /* @__PURE__ */ defineComponent({
676
676
  }
677
677
  }), picture_default = _sfc_main197;
678
678
  const _hoisted_1 = { class: "error-slot" };
679
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
679
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
680
680
  ...{ inheritAttrs: false },
681
681
  __name: "index",
682
682
  props: {
@@ -748,8 +748,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
748
748
  };
749
749
  }
750
750
  });
751
- const index_vue_vue_type_style_index_0_lang$d = "";
752
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
751
+ const index_vue_vue_type_style_index_0_lang$e = "";
752
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
753
753
  __name: "index",
754
754
  setup(__props, { expose: __expose }) {
755
755
  const attrs = useAttrs();
@@ -773,8 +773,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
773
773
  };
774
774
  }
775
775
  });
776
- const index_vue_vue_type_style_index_0_lang$c = "";
777
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
776
+ const index_vue_vue_type_style_index_0_lang$d = "";
777
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
778
778
  __name: "index",
779
779
  setup(__props, { expose: __expose }) {
780
780
  const attrs = useAttrs();
@@ -798,8 +798,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
798
798
  };
799
799
  }
800
800
  });
801
- const index_vue_vue_type_style_index_0_lang$b = "";
802
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
801
+ const index_vue_vue_type_style_index_0_lang$c = "";
802
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
803
803
  __name: "index",
804
804
  setup(__props, { expose: __expose }) {
805
805
  const attrs = useAttrs();
@@ -823,6 +823,41 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
823
823
  };
824
824
  }
825
825
  });
826
+ const index_vue_vue_type_style_index_0_lang$b = "";
827
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
828
+ __name: "index",
829
+ setup(__props, { expose: __expose }) {
830
+ const proxyElement = ref();
831
+ const expose = useExpose(proxyElement);
832
+ __expose(expose);
833
+ return (_ctx, _cache) => {
834
+ return openBlock(), createBlock(unref(ElDescriptions), mergeProps(_ctx.$attrs, {
835
+ ref_key: "proxyElement",
836
+ ref: proxyElement
837
+ }), createSlots({
838
+ default: withCtx(() => [
839
+ renderSlot(_ctx.$slots, "default")
840
+ ]),
841
+ _: 2
842
+ }, [
843
+ _ctx.$slots.title ? {
844
+ name: "title",
845
+ fn: withCtx(() => [
846
+ renderSlot(_ctx.$slots, "title")
847
+ ]),
848
+ key: "0"
849
+ } : void 0,
850
+ _ctx.$slots.extra ? {
851
+ name: "extra",
852
+ fn: withCtx(() => [
853
+ renderSlot(_ctx.$slots, "extra")
854
+ ]),
855
+ key: "1"
856
+ } : void 0
857
+ ]), 1040);
858
+ };
859
+ }
860
+ });
826
861
  const index_vue_vue_type_style_index_0_lang$a = "";
827
862
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
828
863
  __name: "index",
@@ -1293,33 +1328,35 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1293
1328
  const index_vue_vue_type_style_index_0_lang = "";
1294
1329
  const Adapter = {
1295
1330
  // 基础组件
1296
- ElButton: _sfc_main$E,
1297
- ElTag: _sfc_main$D,
1331
+ ElButton: _sfc_main$F,
1332
+ ElTag: _sfc_main$E,
1298
1333
  // 表单组件
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,
1334
+ ElInput: _sfc_main$D,
1335
+ ElForm: _sfc_main$C,
1336
+ ElFormItem: _sfc_main$B,
1337
+ ElSelect: _sfc_main$A,
1338
+ ElOption: _sfc_main$z,
1339
+ ElCheckbox: _sfc_main$y,
1340
+ ElRadio: _sfc_main$x,
1341
+ ElRadioGroup: _sfc_main$w,
1342
+ ElRadioButton: _sfc_main$v,
1343
+ ElSwitch: _sfc_main$u,
1344
+ ElCascader: _sfc_main$t,
1345
+ ElDatePicker: _sfc_main$s,
1346
+ ElTimePicker: _sfc_main$r,
1347
+ ElUpload: _sfc_main$q,
1348
+ ElTransfer: _sfc_main$p,
1314
1349
  // 数据展示
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,
1350
+ ElTable: _sfc_main$o,
1351
+ ElTableColumn: _sfc_main$n,
1352
+ ElTree: _sfc_main$m,
1353
+ ElPagination: _sfc_main$l,
1354
+ ElImage: _sfc_main$k,
1355
+ ElProgress: _sfc_main$j,
1356
+ ElBadge: _sfc_main$i,
1357
+ ElCard: _sfc_main$h,
1358
+ ElDescriptions: _sfc_main$g,
1359
+ ElDescriptionsItem,
1323
1360
  // 反馈组件
1324
1361
  ElAlert: _sfc_main$f,
1325
1362
  ElDialog: _sfc_main$e,