@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.
@@ -121,16 +121,6 @@
121
121
  }.el-form .el-form-item, .el-form .el-form-item__label {
122
122
  color: var(--form-label-color);
123
123
  }
124
- .el-form .el-input .el-input__wrapper, .el-form .el-input .el-input__inner {
125
- background-color: var(--form-input-background);
126
- }
127
- .el-form .el-input input:-webkit-autofill,
128
- .el-form .el-input textarea:-webkit-autofill {
129
- -webkit-box-shadow: 0 0 0px 1000px var(--form-input-background) inset !important;
130
- }
131
- .el-form .el-textarea .el-textarea__inner {
132
- background-color: var(--form-input-background);
133
- }
134
124
  .el-form .el-textarea .el-input__count {
135
125
  background-color: transparent;
136
126
  }
@@ -996,6 +986,38 @@
996
986
  }
997
987
  .el-card.is-never-shadow {
998
988
  box-shadow: none;
989
+ }.el-descriptions {
990
+ --el-descriptions-table-border: 1px solid var(--descriptions-border);
991
+ background-color: var(--frame-main-background-2);
992
+ }
993
+ .el-descriptions .el-descriptions__label,
994
+ .el-descriptions .el-descriptions__title {
995
+ color: var(--descriptions-label-color);
996
+ background-color: var(--descriptions-label-background);
997
+ font-weight: 500;
998
+ }
999
+ .el-descriptions .el-descriptions__content,
1000
+ .el-descriptions .el-descriptions__body {
1001
+ color: var(--descriptions-content-color);
1002
+ background-color: var(--descriptions-content-background);
1003
+ }
1004
+ .el-descriptions .el-descriptions__cell.is-bordered-label {
1005
+ color: var(--descriptions-content-color);
1006
+ background-color: var(--descriptions-content-background);
1007
+ }
1008
+ .el-descriptions .el-descriptions__table.is-bordered .el-descriptions__cell {
1009
+ border: 1px solid var(--descriptions-border);
1010
+ }
1011
+ .el-descriptions .el-descriptions__cell.is-bordered-content {
1012
+ color: var(--frame-main-color-1);
1013
+ background-color: var(--descriptions-content-background);
1014
+ border: 1px solid var(--descriptions-border);
1015
+ }
1016
+ .el-descriptions .el-descriptions__cell {
1017
+ border-color: var(--descriptions-border);
1018
+ }
1019
+ .el-descriptions--border .el-descriptions__cell {
1020
+ border-color: var(--descriptions-border);
999
1021
  }.el-alert {
1000
1022
  border-radius: 4px;
1001
1023
  padding: 12px 16px;
@@ -12,7 +12,7 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
12
12
  });
13
13
  return expose;
14
14
  }
15
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
15
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
16
16
  ...{
17
17
  inheritAttrs: false
18
18
  },
@@ -59,8 +59,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
59
59
  };
60
60
  }
61
61
  });
62
- const index_vue_vue_type_style_index_0_lang$t = "";
63
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
62
+ const index_vue_vue_type_style_index_0_lang$u = "";
63
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
64
64
  __name: "index",
65
65
  setup(__props, { expose: __expose }) {
66
66
  const attrs = vue.useAttrs();
@@ -84,7 +84,7 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
84
84
  };
85
85
  }
86
86
  });
87
- const index_vue_vue_type_style_index_0_lang$s = "";
87
+ const index_vue_vue_type_style_index_0_lang$t = "";
88
88
  const UI_AUTOMATION_TOKEN = `data-testid`;
89
89
  function useDataTestId() {
90
90
  const attrs = vue.useAttrs();
@@ -92,7 +92,7 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
92
92
  console.warn(`${UI_AUTOMATION_TOKEN} is required to UI Automation`);
93
93
  }
94
94
  }
95
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
95
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
96
96
  __name: "ElInput",
97
97
  props: {
98
98
  "modelValue": {
@@ -145,7 +145,7 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
145
145
  }
146
146
  });
147
147
  const ElInput_vue_vue_type_style_index_0_lang = "";
148
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
148
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
149
149
  __name: "index",
150
150
  setup(__props, { expose: __expose }) {
151
151
  const proxyElement = vue.ref();
@@ -169,8 +169,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
169
169
  };
170
170
  }
171
171
  });
172
- const index_vue_vue_type_style_index_0_lang$r = "";
173
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
172
+ const index_vue_vue_type_style_index_0_lang$s = "";
173
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
174
174
  __name: "index",
175
175
  setup(__props, { expose: __expose }) {
176
176
  const attrs = vue.useAttrs();
@@ -194,7 +194,7 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
194
194
  };
195
195
  }
196
196
  });
197
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
197
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
198
198
  __name: "index",
199
199
  setup(__props, { expose: __expose }) {
200
200
  const proxyElement = vue.ref();
@@ -219,8 +219,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
219
219
  };
220
220
  }
221
221
  });
222
- const index_vue_vue_type_style_index_0_lang$q = "";
223
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
222
+ const index_vue_vue_type_style_index_0_lang$r = "";
223
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
224
224
  __name: "index",
225
225
  setup(__props, { expose: __expose }) {
226
226
  const attrs = vue.useAttrs();
@@ -244,7 +244,7 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
244
244
  };
245
245
  }
246
246
  });
247
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
247
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
248
248
  __name: "index",
249
249
  setup(__props, { expose: __expose }) {
250
250
  const proxyElement = vue.ref();
@@ -268,8 +268,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
268
268
  };
269
269
  }
270
270
  });
271
- const index_vue_vue_type_style_index_0_lang$p = "";
272
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
271
+ const index_vue_vue_type_style_index_0_lang$q = "";
272
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
273
273
  __name: "index",
274
274
  setup(__props, { expose: __expose }) {
275
275
  const proxyElement = vue.ref();
@@ -293,8 +293,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
293
293
  };
294
294
  }
295
295
  });
296
- const index_vue_vue_type_style_index_0_lang$o = "";
297
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
296
+ const index_vue_vue_type_style_index_0_lang$p = "";
297
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
298
298
  __name: "index",
299
299
  props: {
300
300
  round: {
@@ -326,8 +326,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
326
326
  };
327
327
  }
328
328
  });
329
- const index_vue_vue_type_style_index_0_lang$n = "";
330
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
329
+ const index_vue_vue_type_style_index_0_lang$o = "";
330
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
331
331
  __name: "index",
332
332
  setup(__props, { expose: __expose }) {
333
333
  const attrs = vue.useAttrs();
@@ -351,7 +351,7 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
351
351
  };
352
352
  }
353
353
  });
354
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
354
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
355
355
  __name: "index",
356
356
  setup(__props, { expose: __expose }) {
357
357
  const proxyElement = vue.ref();
@@ -376,8 +376,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
376
376
  };
377
377
  }
378
378
  });
379
- const index_vue_vue_type_style_index_0_lang$m = "";
380
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
379
+ const index_vue_vue_type_style_index_0_lang$n = "";
380
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
381
381
  __name: "index",
382
382
  setup(__props, { expose: __expose }) {
383
383
  const proxyElement = vue.ref();
@@ -401,8 +401,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
401
401
  };
402
402
  }
403
403
  });
404
- const index_vue_vue_type_style_index_0_lang$l = "";
405
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
404
+ const index_vue_vue_type_style_index_0_lang$m = "";
405
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
406
406
  __name: "index",
407
407
  props: {
408
408
  defaultTime: {},
@@ -451,8 +451,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
451
451
  };
452
452
  }
453
453
  });
454
- const index_vue_vue_type_style_index_0_lang$k = "";
455
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
454
+ const index_vue_vue_type_style_index_0_lang$l = "";
455
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
456
456
  __name: "index",
457
457
  setup(__props, { expose: __expose }) {
458
458
  const proxyElement = vue.ref();
@@ -476,8 +476,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
476
476
  };
477
477
  }
478
478
  });
479
- const index_vue_vue_type_style_index_0_lang$j = "";
480
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
479
+ const index_vue_vue_type_style_index_0_lang$k = "";
480
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
481
481
  __name: "index",
482
482
  setup(__props, { expose: __expose }) {
483
483
  const proxyElement = vue.ref();
@@ -501,8 +501,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
501
501
  };
502
502
  }
503
503
  });
504
- const index_vue_vue_type_style_index_0_lang$i = "";
505
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
504
+ const index_vue_vue_type_style_index_0_lang$j = "";
505
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
506
506
  __name: "index",
507
507
  setup(__props, { expose: __expose }) {
508
508
  const attrs = vue.useAttrs();
@@ -526,8 +526,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
526
526
  };
527
527
  }
528
528
  });
529
- const index_vue_vue_type_style_index_0_lang$h = "";
530
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
529
+ const index_vue_vue_type_style_index_0_lang$i = "";
530
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
531
531
  __name: "index",
532
532
  setup(__props, { expose: __expose }) {
533
533
  const proxyElement = vue.ref();
@@ -558,8 +558,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
558
558
  };
559
559
  }
560
560
  });
561
- const index_vue_vue_type_style_index_0_lang$g = "";
562
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
561
+ const index_vue_vue_type_style_index_0_lang$h = "";
562
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
563
563
  __name: "index",
564
564
  props: {
565
565
  formatter: {
@@ -597,7 +597,7 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
597
597
  };
598
598
  }
599
599
  });
600
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
600
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
601
601
  __name: "index",
602
602
  setup(__props, { expose: __expose }) {
603
603
  const attrs = vue.useAttrs();
@@ -621,8 +621,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
621
621
  };
622
622
  }
623
623
  });
624
- const index_vue_vue_type_style_index_0_lang$f = "";
625
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
624
+ const index_vue_vue_type_style_index_0_lang$g = "";
625
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
626
626
  __name: "index",
627
627
  setup(__props, { expose: __expose }) {
628
628
  const attrs = vue.useAttrs();
@@ -653,7 +653,7 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
653
653
  };
654
654
  }
655
655
  });
656
- const index_vue_vue_type_style_index_0_lang$e = "";
656
+ const index_vue_vue_type_style_index_0_lang$f = "";
657
657
  /*! Element Plus Icons Vue v2.3.2 */
658
658
  var _sfc_main197 = /* @__PURE__ */ vue.defineComponent({
659
659
  name: "Picture",
@@ -675,7 +675,7 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
675
675
  }
676
676
  }), picture_default = _sfc_main197;
677
677
  const _hoisted_1 = { class: "error-slot" };
678
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
678
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
679
679
  ...{ inheritAttrs: false },
680
680
  __name: "index",
681
681
  props: {
@@ -747,8 +747,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
747
747
  };
748
748
  }
749
749
  });
750
- const index_vue_vue_type_style_index_0_lang$d = "";
751
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
750
+ const index_vue_vue_type_style_index_0_lang$e = "";
751
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
752
752
  __name: "index",
753
753
  setup(__props, { expose: __expose }) {
754
754
  const attrs = vue.useAttrs();
@@ -772,8 +772,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
772
772
  };
773
773
  }
774
774
  });
775
- const index_vue_vue_type_style_index_0_lang$c = "";
776
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
775
+ const index_vue_vue_type_style_index_0_lang$d = "";
776
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
777
777
  __name: "index",
778
778
  setup(__props, { expose: __expose }) {
779
779
  const attrs = vue.useAttrs();
@@ -797,8 +797,8 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
797
797
  };
798
798
  }
799
799
  });
800
- const index_vue_vue_type_style_index_0_lang$b = "";
801
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
800
+ const index_vue_vue_type_style_index_0_lang$c = "";
801
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
802
802
  __name: "index",
803
803
  setup(__props, { expose: __expose }) {
804
804
  const attrs = vue.useAttrs();
@@ -822,6 +822,41 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
822
822
  };
823
823
  }
824
824
  });
825
+ const index_vue_vue_type_style_index_0_lang$b = "";
826
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
827
+ __name: "index",
828
+ setup(__props, { expose: __expose }) {
829
+ const proxyElement = vue.ref();
830
+ const expose = useExpose(proxyElement);
831
+ __expose(expose);
832
+ return (_ctx, _cache) => {
833
+ return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElDescriptions), vue.mergeProps(_ctx.$attrs, {
834
+ ref_key: "proxyElement",
835
+ ref: proxyElement
836
+ }), vue.createSlots({
837
+ default: vue.withCtx(() => [
838
+ vue.renderSlot(_ctx.$slots, "default")
839
+ ]),
840
+ _: 2
841
+ }, [
842
+ _ctx.$slots.title ? {
843
+ name: "title",
844
+ fn: vue.withCtx(() => [
845
+ vue.renderSlot(_ctx.$slots, "title")
846
+ ]),
847
+ key: "0"
848
+ } : void 0,
849
+ _ctx.$slots.extra ? {
850
+ name: "extra",
851
+ fn: vue.withCtx(() => [
852
+ vue.renderSlot(_ctx.$slots, "extra")
853
+ ]),
854
+ key: "1"
855
+ } : void 0
856
+ ]), 1040);
857
+ };
858
+ }
859
+ });
825
860
  const index_vue_vue_type_style_index_0_lang$a = "";
826
861
  const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
827
862
  __name: "index",
@@ -1292,33 +1327,35 @@ var ElementPlusAdapter = function(exports, elementPlus, vue) {
1292
1327
  const index_vue_vue_type_style_index_0_lang = "";
1293
1328
  const Adapter = {
1294
1329
  // 基础组件
1295
- ElButton: _sfc_main$E,
1296
- ElTag: _sfc_main$D,
1330
+ ElButton: _sfc_main$F,
1331
+ ElTag: _sfc_main$E,
1297
1332
  // 表单组件
1298
- ElInput: _sfc_main$C,
1299
- ElForm: _sfc_main$B,
1300
- ElFormItem: _sfc_main$A,
1301
- ElSelect: _sfc_main$z,
1302
- ElOption: _sfc_main$y,
1303
- ElCheckbox: _sfc_main$x,
1304
- ElRadio: _sfc_main$w,
1305
- ElRadioGroup: _sfc_main$v,
1306
- ElRadioButton: _sfc_main$u,
1307
- ElSwitch: _sfc_main$t,
1308
- ElCascader: _sfc_main$s,
1309
- ElDatePicker: _sfc_main$r,
1310
- ElTimePicker: _sfc_main$q,
1311
- ElUpload: _sfc_main$p,
1312
- ElTransfer: _sfc_main$o,
1333
+ ElInput: _sfc_main$D,
1334
+ ElForm: _sfc_main$C,
1335
+ ElFormItem: _sfc_main$B,
1336
+ ElSelect: _sfc_main$A,
1337
+ ElOption: _sfc_main$z,
1338
+ ElCheckbox: _sfc_main$y,
1339
+ ElRadio: _sfc_main$x,
1340
+ ElRadioGroup: _sfc_main$w,
1341
+ ElRadioButton: _sfc_main$v,
1342
+ ElSwitch: _sfc_main$u,
1343
+ ElCascader: _sfc_main$t,
1344
+ ElDatePicker: _sfc_main$s,
1345
+ ElTimePicker: _sfc_main$r,
1346
+ ElUpload: _sfc_main$q,
1347
+ ElTransfer: _sfc_main$p,
1313
1348
  // 数据展示
1314
- ElTable: _sfc_main$n,
1315
- ElTableColumn: _sfc_main$m,
1316
- ElTree: _sfc_main$l,
1317
- ElPagination: _sfc_main$k,
1318
- ElImage: _sfc_main$j,
1319
- ElProgress: _sfc_main$i,
1320
- ElBadge: _sfc_main$h,
1321
- ElCard: _sfc_main$g,
1349
+ ElTable: _sfc_main$o,
1350
+ ElTableColumn: _sfc_main$n,
1351
+ ElTree: _sfc_main$m,
1352
+ ElPagination: _sfc_main$l,
1353
+ ElImage: _sfc_main$k,
1354
+ ElProgress: _sfc_main$j,
1355
+ ElBadge: _sfc_main$i,
1356
+ ElCard: _sfc_main$h,
1357
+ ElDescriptions: _sfc_main$g,
1358
+ ElDescriptionsItem: elementPlus.ElDescriptionsItem,
1322
1359
  // 反馈组件
1323
1360
  ElAlert: _sfc_main$f,
1324
1361
  ElDialog: _sfc_main$e,