@ganwei-web/gw-base-components-plus 1.0.25 → 1.0.27

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.
@@ -14,7 +14,7 @@ function useExpose(proxyElement) {
14
14
  });
15
15
  return expose;
16
16
  }
17
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
17
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
18
18
  ...{
19
19
  inheritAttrs: false
20
20
  },
@@ -61,8 +61,8 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
61
61
  };
62
62
  }
63
63
  });
64
- const index_vue_vue_type_style_index_0_lang$t = "";
65
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
64
+ const index_vue_vue_type_style_index_0_lang$u = "";
65
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
66
66
  __name: "index",
67
67
  setup(__props, { expose: __expose }) {
68
68
  const attrs = vue.useAttrs();
@@ -86,7 +86,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
86
86
  };
87
87
  }
88
88
  });
89
- const index_vue_vue_type_style_index_0_lang$s = "";
89
+ const index_vue_vue_type_style_index_0_lang$t = "";
90
90
  const UI_AUTOMATION_TOKEN = `data-testid`;
91
91
  function useDataTestId() {
92
92
  const attrs = vue.useAttrs();
@@ -94,7 +94,7 @@ function useDataTestId() {
94
94
  console.warn(`${UI_AUTOMATION_TOKEN} is required to UI Automation`);
95
95
  }
96
96
  }
97
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
97
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
98
98
  __name: "ElInput",
99
99
  props: {
100
100
  "modelValue": {
@@ -119,10 +119,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
119
119
  emits("change", val);
120
120
  }
121
121
  function inputHandler(val) {
122
- if (model.value !== "" && val.trim() === "") {
123
- changeHandler("");
124
- }
125
- model.value = val.trim();
122
+ model.value = val.trimStart();
126
123
  }
127
124
  return (_ctx, _cache) => {
128
125
  return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElInput), vue.mergeProps({
@@ -147,7 +144,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
147
144
  }
148
145
  });
149
146
  const ElInput_vue_vue_type_style_index_0_lang = "";
150
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
147
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
151
148
  __name: "index",
152
149
  setup(__props, { expose: __expose }) {
153
150
  const proxyElement = vue.ref();
@@ -171,8 +168,8 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
171
168
  };
172
169
  }
173
170
  });
174
- const index_vue_vue_type_style_index_0_lang$r = "";
175
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
171
+ const index_vue_vue_type_style_index_0_lang$s = "";
172
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
176
173
  __name: "index",
177
174
  setup(__props, { expose: __expose }) {
178
175
  const attrs = vue.useAttrs();
@@ -196,7 +193,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
196
193
  };
197
194
  }
198
195
  });
199
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
196
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
200
197
  __name: "index",
201
198
  setup(__props, { expose: __expose }) {
202
199
  const proxyElement = vue.ref();
@@ -221,8 +218,8 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
221
218
  };
222
219
  }
223
220
  });
224
- const index_vue_vue_type_style_index_0_lang$q = "";
225
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
221
+ const index_vue_vue_type_style_index_0_lang$r = "";
222
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
226
223
  __name: "index",
227
224
  setup(__props, { expose: __expose }) {
228
225
  const attrs = vue.useAttrs();
@@ -246,7 +243,10 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
246
243
  };
247
244
  }
248
245
  });
249
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
246
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
247
+ ...{
248
+ inheritAttrs: false
249
+ },
250
250
  __name: "index",
251
251
  setup(__props, { expose: __expose }) {
252
252
  const proxyElement = vue.ref();
@@ -270,8 +270,35 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
270
270
  };
271
271
  }
272
272
  });
273
- const index_vue_vue_type_style_index_0_lang$p = "";
274
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
273
+ const index_vue_vue_type_style_index_0_lang$q = "";
274
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
275
+ ...{
276
+ inheritAttrs: false
277
+ },
278
+ __name: "index",
279
+ setup(__props, { expose: __expose }) {
280
+ const proxyElement = vue.ref();
281
+ const expose = useExpose(proxyElement);
282
+ __expose(expose);
283
+ const attrs = vue.useAttrs();
284
+ return (_ctx, _cache) => {
285
+ return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElCheckboxGroup), vue.mergeProps(vue.unref(attrs), {
286
+ ref_key: "proxyElement",
287
+ ref: proxyElement
288
+ }), vue.createSlots({ _: 2 }, [
289
+ vue.renderList(_ctx.$slots, (value, key) => {
290
+ return {
291
+ name: key,
292
+ fn: vue.withCtx((slotProps) => [
293
+ vue.renderSlot(_ctx.$slots, key, vue.mergeProps(slotProps, { key }))
294
+ ])
295
+ };
296
+ })
297
+ ]), 1040);
298
+ };
299
+ }
300
+ });
301
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
275
302
  __name: "index",
276
303
  setup(__props, { expose: __expose }) {
277
304
  const proxyElement = vue.ref();
@@ -295,8 +322,8 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
295
322
  };
296
323
  }
297
324
  });
298
- const index_vue_vue_type_style_index_0_lang$o = "";
299
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
325
+ const index_vue_vue_type_style_index_0_lang$p = "";
326
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
300
327
  __name: "index",
301
328
  props: {
302
329
  round: {
@@ -328,8 +355,8 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
328
355
  };
329
356
  }
330
357
  });
331
- const index_vue_vue_type_style_index_0_lang$n = "";
332
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
358
+ const index_vue_vue_type_style_index_0_lang$o = "";
359
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
333
360
  __name: "index",
334
361
  setup(__props, { expose: __expose }) {
335
362
  const attrs = vue.useAttrs();
@@ -353,7 +380,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
353
380
  };
354
381
  }
355
382
  });
356
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
383
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
357
384
  __name: "index",
358
385
  setup(__props, { expose: __expose }) {
359
386
  const proxyElement = vue.ref();
@@ -378,8 +405,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
378
405
  };
379
406
  }
380
407
  });
381
- const index_vue_vue_type_style_index_0_lang$m = "";
382
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
408
+ const index_vue_vue_type_style_index_0_lang$n = "";
409
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
383
410
  __name: "index",
384
411
  setup(__props, { expose: __expose }) {
385
412
  const proxyElement = vue.ref();
@@ -403,8 +430,8 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
403
430
  };
404
431
  }
405
432
  });
406
- const index_vue_vue_type_style_index_0_lang$l = "";
407
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
433
+ const index_vue_vue_type_style_index_0_lang$m = "";
434
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
408
435
  __name: "index",
409
436
  props: {
410
437
  defaultTime: {},
@@ -453,8 +480,8 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
453
480
  };
454
481
  }
455
482
  });
456
- const index_vue_vue_type_style_index_0_lang$k = "";
457
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
483
+ const index_vue_vue_type_style_index_0_lang$l = "";
484
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
458
485
  __name: "index",
459
486
  setup(__props, { expose: __expose }) {
460
487
  const proxyElement = vue.ref();
@@ -478,8 +505,8 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
478
505
  };
479
506
  }
480
507
  });
481
- const index_vue_vue_type_style_index_0_lang$j = "";
482
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
508
+ const index_vue_vue_type_style_index_0_lang$k = "";
509
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
483
510
  __name: "index",
484
511
  setup(__props, { expose: __expose }) {
485
512
  const proxyElement = vue.ref();
@@ -503,8 +530,8 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
503
530
  };
504
531
  }
505
532
  });
506
- const index_vue_vue_type_style_index_0_lang$i = "";
507
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
533
+ const index_vue_vue_type_style_index_0_lang$j = "";
534
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
508
535
  __name: "index",
509
536
  setup(__props, { expose: __expose }) {
510
537
  const attrs = vue.useAttrs();
@@ -528,8 +555,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
528
555
  };
529
556
  }
530
557
  });
531
- const index_vue_vue_type_style_index_0_lang$h = "";
532
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
558
+ const index_vue_vue_type_style_index_0_lang$i = "";
559
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
533
560
  __name: "index",
534
561
  setup(__props, { expose: __expose }) {
535
562
  const proxyElement = vue.ref();
@@ -560,8 +587,8 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
560
587
  };
561
588
  }
562
589
  });
563
- const index_vue_vue_type_style_index_0_lang$g = "";
564
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
590
+ const index_vue_vue_type_style_index_0_lang$h = "";
591
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
565
592
  __name: "index",
566
593
  props: {
567
594
  formatter: {
@@ -599,7 +626,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
599
626
  };
600
627
  }
601
628
  });
602
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
629
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
603
630
  __name: "index",
604
631
  setup(__props, { expose: __expose }) {
605
632
  const attrs = vue.useAttrs();
@@ -623,8 +650,8 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
623
650
  };
624
651
  }
625
652
  });
626
- const index_vue_vue_type_style_index_0_lang$f = "";
627
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
653
+ const index_vue_vue_type_style_index_0_lang$g = "";
654
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
628
655
  __name: "index",
629
656
  setup(__props, { expose: __expose }) {
630
657
  const attrs = vue.useAttrs();
@@ -655,7 +682,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
655
682
  };
656
683
  }
657
684
  });
658
- const index_vue_vue_type_style_index_0_lang$e = "";
685
+ const index_vue_vue_type_style_index_0_lang$f = "";
659
686
  /*! Element Plus Icons Vue v2.3.2 */
660
687
  var _sfc_main197 = /* @__PURE__ */ vue.defineComponent({
661
688
  name: "Picture",
@@ -677,7 +704,7 @@ var _sfc_main197 = /* @__PURE__ */ vue.defineComponent({
677
704
  }
678
705
  }), picture_default = _sfc_main197;
679
706
  const _hoisted_1 = { class: "error-slot" };
680
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
707
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
681
708
  ...{ inheritAttrs: false },
682
709
  __name: "index",
683
710
  props: {
@@ -749,8 +776,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
749
776
  };
750
777
  }
751
778
  });
752
- const index_vue_vue_type_style_index_0_lang$d = "";
753
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
779
+ const index_vue_vue_type_style_index_0_lang$e = "";
780
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
754
781
  __name: "index",
755
782
  setup(__props, { expose: __expose }) {
756
783
  const attrs = vue.useAttrs();
@@ -774,8 +801,8 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
774
801
  };
775
802
  }
776
803
  });
777
- const index_vue_vue_type_style_index_0_lang$c = "";
778
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
804
+ const index_vue_vue_type_style_index_0_lang$d = "";
805
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
779
806
  __name: "index",
780
807
  setup(__props, { expose: __expose }) {
781
808
  const attrs = vue.useAttrs();
@@ -799,8 +826,8 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
799
826
  };
800
827
  }
801
828
  });
802
- const index_vue_vue_type_style_index_0_lang$b = "";
803
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
829
+ const index_vue_vue_type_style_index_0_lang$c = "";
830
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
804
831
  __name: "index",
805
832
  setup(__props, { expose: __expose }) {
806
833
  const attrs = vue.useAttrs();
@@ -824,6 +851,41 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
824
851
  };
825
852
  }
826
853
  });
854
+ const index_vue_vue_type_style_index_0_lang$b = "";
855
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
856
+ __name: "index",
857
+ setup(__props, { expose: __expose }) {
858
+ const proxyElement = vue.ref();
859
+ const expose = useExpose(proxyElement);
860
+ __expose(expose);
861
+ return (_ctx, _cache) => {
862
+ return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElDescriptions), vue.mergeProps(_ctx.$attrs, {
863
+ ref_key: "proxyElement",
864
+ ref: proxyElement
865
+ }), vue.createSlots({
866
+ default: vue.withCtx(() => [
867
+ vue.renderSlot(_ctx.$slots, "default")
868
+ ]),
869
+ _: 2
870
+ }, [
871
+ _ctx.$slots.title ? {
872
+ name: "title",
873
+ fn: vue.withCtx(() => [
874
+ vue.renderSlot(_ctx.$slots, "title")
875
+ ]),
876
+ key: "0"
877
+ } : void 0,
878
+ _ctx.$slots.extra ? {
879
+ name: "extra",
880
+ fn: vue.withCtx(() => [
881
+ vue.renderSlot(_ctx.$slots, "extra")
882
+ ]),
883
+ key: "1"
884
+ } : void 0
885
+ ]), 1040);
886
+ };
887
+ }
888
+ });
827
889
  const index_vue_vue_type_style_index_0_lang$a = "";
828
890
  const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
829
891
  __name: "index",
@@ -1294,33 +1356,36 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1294
1356
  const index_vue_vue_type_style_index_0_lang = "";
1295
1357
  const Adapter = {
1296
1358
  // 基础组件
1297
- ElButton: _sfc_main$E,
1298
- ElTag: _sfc_main$D,
1359
+ ElButton: _sfc_main$G,
1360
+ ElTag: _sfc_main$F,
1299
1361
  // 表单组件
1300
- ElInput: _sfc_main$C,
1301
- ElForm: _sfc_main$B,
1302
- ElFormItem: _sfc_main$A,
1303
- ElSelect: _sfc_main$z,
1304
- ElOption: _sfc_main$y,
1305
- ElCheckbox: _sfc_main$x,
1306
- ElRadio: _sfc_main$w,
1307
- ElRadioGroup: _sfc_main$v,
1308
- ElRadioButton: _sfc_main$u,
1309
- ElSwitch: _sfc_main$t,
1310
- ElCascader: _sfc_main$s,
1311
- ElDatePicker: _sfc_main$r,
1312
- ElTimePicker: _sfc_main$q,
1313
- ElUpload: _sfc_main$p,
1314
- ElTransfer: _sfc_main$o,
1362
+ ElInput: _sfc_main$E,
1363
+ ElForm: _sfc_main$D,
1364
+ ElFormItem: _sfc_main$C,
1365
+ ElSelect: _sfc_main$B,
1366
+ ElOption: _sfc_main$A,
1367
+ ElCheckbox: _sfc_main$z,
1368
+ ElCheckboxGroup: _sfc_main$y,
1369
+ ElRadio: _sfc_main$x,
1370
+ ElRadioGroup: _sfc_main$w,
1371
+ ElRadioButton: _sfc_main$v,
1372
+ ElSwitch: _sfc_main$u,
1373
+ ElCascader: _sfc_main$t,
1374
+ ElDatePicker: _sfc_main$s,
1375
+ ElTimePicker: _sfc_main$r,
1376
+ ElUpload: _sfc_main$q,
1377
+ ElTransfer: _sfc_main$p,
1315
1378
  // 数据展示
1316
- ElTable: _sfc_main$n,
1317
- ElTableColumn: _sfc_main$m,
1318
- ElTree: _sfc_main$l,
1319
- ElPagination: _sfc_main$k,
1320
- ElImage: _sfc_main$j,
1321
- ElProgress: _sfc_main$i,
1322
- ElBadge: _sfc_main$h,
1323
- ElCard: _sfc_main$g,
1379
+ ElTable: _sfc_main$o,
1380
+ ElTableColumn: _sfc_main$n,
1381
+ ElTree: _sfc_main$m,
1382
+ ElPagination: _sfc_main$l,
1383
+ ElImage: _sfc_main$k,
1384
+ ElProgress: _sfc_main$j,
1385
+ ElBadge: _sfc_main$i,
1386
+ ElCard: _sfc_main$h,
1387
+ ElDescriptions: _sfc_main$g,
1388
+ ElDescriptionsItem: elementPlus.ElDescriptionsItem,
1324
1389
  // 反馈组件
1325
1390
  ElAlert: _sfc_main$f,
1326
1391
  ElDialog: _sfc_main$e,