@ganwei-web/gw-base-components-plus 1.0.25 → 1.0.26
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.
- package/element-plus-adapter/dist/ElementPlusAdapter.cjs +107 -73
- package/element-plus-adapter/dist/ElementPlusAdapter.cjs.map +1 -1
- package/element-plus-adapter/dist/ElementPlusAdapter.css +60 -11
- package/element-plus-adapter/dist/ElementPlusAdapter.iife.js +107 -73
- package/element-plus-adapter/dist/ElementPlusAdapter.iife.js.map +1 -1
- package/element-plus-adapter/dist/ElementPlusAdapter.js +108 -74
- package/element-plus-adapter/dist/ElementPlusAdapter.js.map +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ function useExpose(proxyElement) {
|
|
|
14
14
|
});
|
|
15
15
|
return expose;
|
|
16
16
|
}
|
|
17
|
-
const _sfc_main$
|
|
17
|
+
const _sfc_main$F = /* @__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$
|
|
65
|
-
const _sfc_main$
|
|
64
|
+
const index_vue_vue_type_style_index_0_lang$u = "";
|
|
65
|
+
const _sfc_main$E = /* @__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$
|
|
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$
|
|
97
|
+
const _sfc_main$D = /* @__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
|
-
|
|
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$
|
|
147
|
+
const _sfc_main$C = /* @__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$
|
|
175
|
-
const _sfc_main$
|
|
171
|
+
const index_vue_vue_type_style_index_0_lang$s = "";
|
|
172
|
+
const _sfc_main$B = /* @__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$
|
|
196
|
+
const _sfc_main$A = /* @__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$
|
|
225
|
-
const _sfc_main$
|
|
221
|
+
const index_vue_vue_type_style_index_0_lang$r = "";
|
|
222
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
226
223
|
__name: "index",
|
|
227
224
|
setup(__props, { expose: __expose }) {
|
|
228
225
|
const attrs = vue.useAttrs();
|
|
@@ -246,7 +243,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
246
243
|
};
|
|
247
244
|
}
|
|
248
245
|
});
|
|
249
|
-
const _sfc_main$
|
|
246
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
250
247
|
__name: "index",
|
|
251
248
|
setup(__props, { expose: __expose }) {
|
|
252
249
|
const proxyElement = vue.ref();
|
|
@@ -270,8 +267,8 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
270
267
|
};
|
|
271
268
|
}
|
|
272
269
|
});
|
|
273
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
274
|
-
const _sfc_main$
|
|
270
|
+
const index_vue_vue_type_style_index_0_lang$q = "";
|
|
271
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
275
272
|
__name: "index",
|
|
276
273
|
setup(__props, { expose: __expose }) {
|
|
277
274
|
const proxyElement = vue.ref();
|
|
@@ -295,8 +292,8 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
295
292
|
};
|
|
296
293
|
}
|
|
297
294
|
});
|
|
298
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
299
|
-
const _sfc_main$
|
|
295
|
+
const index_vue_vue_type_style_index_0_lang$p = "";
|
|
296
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
300
297
|
__name: "index",
|
|
301
298
|
props: {
|
|
302
299
|
round: {
|
|
@@ -328,8 +325,8 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
328
325
|
};
|
|
329
326
|
}
|
|
330
327
|
});
|
|
331
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
332
|
-
const _sfc_main$
|
|
328
|
+
const index_vue_vue_type_style_index_0_lang$o = "";
|
|
329
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
333
330
|
__name: "index",
|
|
334
331
|
setup(__props, { expose: __expose }) {
|
|
335
332
|
const attrs = vue.useAttrs();
|
|
@@ -353,7 +350,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
353
350
|
};
|
|
354
351
|
}
|
|
355
352
|
});
|
|
356
|
-
const _sfc_main$
|
|
353
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
357
354
|
__name: "index",
|
|
358
355
|
setup(__props, { expose: __expose }) {
|
|
359
356
|
const proxyElement = vue.ref();
|
|
@@ -378,8 +375,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
378
375
|
};
|
|
379
376
|
}
|
|
380
377
|
});
|
|
381
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
382
|
-
const _sfc_main$
|
|
378
|
+
const index_vue_vue_type_style_index_0_lang$n = "";
|
|
379
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
383
380
|
__name: "index",
|
|
384
381
|
setup(__props, { expose: __expose }) {
|
|
385
382
|
const proxyElement = vue.ref();
|
|
@@ -403,8 +400,8 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
403
400
|
};
|
|
404
401
|
}
|
|
405
402
|
});
|
|
406
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
407
|
-
const _sfc_main$
|
|
403
|
+
const index_vue_vue_type_style_index_0_lang$m = "";
|
|
404
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
408
405
|
__name: "index",
|
|
409
406
|
props: {
|
|
410
407
|
defaultTime: {},
|
|
@@ -453,8 +450,8 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
453
450
|
};
|
|
454
451
|
}
|
|
455
452
|
});
|
|
456
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
457
|
-
const _sfc_main$
|
|
453
|
+
const index_vue_vue_type_style_index_0_lang$l = "";
|
|
454
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
458
455
|
__name: "index",
|
|
459
456
|
setup(__props, { expose: __expose }) {
|
|
460
457
|
const proxyElement = vue.ref();
|
|
@@ -478,8 +475,8 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
478
475
|
};
|
|
479
476
|
}
|
|
480
477
|
});
|
|
481
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
482
|
-
const _sfc_main$
|
|
478
|
+
const index_vue_vue_type_style_index_0_lang$k = "";
|
|
479
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
483
480
|
__name: "index",
|
|
484
481
|
setup(__props, { expose: __expose }) {
|
|
485
482
|
const proxyElement = vue.ref();
|
|
@@ -503,8 +500,8 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
503
500
|
};
|
|
504
501
|
}
|
|
505
502
|
});
|
|
506
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
507
|
-
const _sfc_main$
|
|
503
|
+
const index_vue_vue_type_style_index_0_lang$j = "";
|
|
504
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
508
505
|
__name: "index",
|
|
509
506
|
setup(__props, { expose: __expose }) {
|
|
510
507
|
const attrs = vue.useAttrs();
|
|
@@ -528,8 +525,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
528
525
|
};
|
|
529
526
|
}
|
|
530
527
|
});
|
|
531
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
532
|
-
const _sfc_main$
|
|
528
|
+
const index_vue_vue_type_style_index_0_lang$i = "";
|
|
529
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
533
530
|
__name: "index",
|
|
534
531
|
setup(__props, { expose: __expose }) {
|
|
535
532
|
const proxyElement = vue.ref();
|
|
@@ -560,8 +557,8 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
560
557
|
};
|
|
561
558
|
}
|
|
562
559
|
});
|
|
563
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
564
|
-
const _sfc_main$
|
|
560
|
+
const index_vue_vue_type_style_index_0_lang$h = "";
|
|
561
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
565
562
|
__name: "index",
|
|
566
563
|
props: {
|
|
567
564
|
formatter: {
|
|
@@ -599,7 +596,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
599
596
|
};
|
|
600
597
|
}
|
|
601
598
|
});
|
|
602
|
-
const _sfc_main$
|
|
599
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
603
600
|
__name: "index",
|
|
604
601
|
setup(__props, { expose: __expose }) {
|
|
605
602
|
const attrs = vue.useAttrs();
|
|
@@ -623,8 +620,8 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
623
620
|
};
|
|
624
621
|
}
|
|
625
622
|
});
|
|
626
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
627
|
-
const _sfc_main$
|
|
623
|
+
const index_vue_vue_type_style_index_0_lang$g = "";
|
|
624
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
628
625
|
__name: "index",
|
|
629
626
|
setup(__props, { expose: __expose }) {
|
|
630
627
|
const attrs = vue.useAttrs();
|
|
@@ -655,7 +652,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
655
652
|
};
|
|
656
653
|
}
|
|
657
654
|
});
|
|
658
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
655
|
+
const index_vue_vue_type_style_index_0_lang$f = "";
|
|
659
656
|
/*! Element Plus Icons Vue v2.3.2 */
|
|
660
657
|
var _sfc_main197 = /* @__PURE__ */ vue.defineComponent({
|
|
661
658
|
name: "Picture",
|
|
@@ -677,7 +674,7 @@ var _sfc_main197 = /* @__PURE__ */ vue.defineComponent({
|
|
|
677
674
|
}
|
|
678
675
|
}), picture_default = _sfc_main197;
|
|
679
676
|
const _hoisted_1 = { class: "error-slot" };
|
|
680
|
-
const _sfc_main$
|
|
677
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
681
678
|
...{ inheritAttrs: false },
|
|
682
679
|
__name: "index",
|
|
683
680
|
props: {
|
|
@@ -749,8 +746,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
749
746
|
};
|
|
750
747
|
}
|
|
751
748
|
});
|
|
752
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
753
|
-
const _sfc_main$
|
|
749
|
+
const index_vue_vue_type_style_index_0_lang$e = "";
|
|
750
|
+
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
754
751
|
__name: "index",
|
|
755
752
|
setup(__props, { expose: __expose }) {
|
|
756
753
|
const attrs = vue.useAttrs();
|
|
@@ -774,8 +771,8 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
774
771
|
};
|
|
775
772
|
}
|
|
776
773
|
});
|
|
777
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
778
|
-
const _sfc_main$
|
|
774
|
+
const index_vue_vue_type_style_index_0_lang$d = "";
|
|
775
|
+
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
779
776
|
__name: "index",
|
|
780
777
|
setup(__props, { expose: __expose }) {
|
|
781
778
|
const attrs = vue.useAttrs();
|
|
@@ -799,8 +796,8 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
799
796
|
};
|
|
800
797
|
}
|
|
801
798
|
});
|
|
802
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
803
|
-
const _sfc_main$
|
|
799
|
+
const index_vue_vue_type_style_index_0_lang$c = "";
|
|
800
|
+
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
804
801
|
__name: "index",
|
|
805
802
|
setup(__props, { expose: __expose }) {
|
|
806
803
|
const attrs = vue.useAttrs();
|
|
@@ -824,6 +821,41 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
824
821
|
};
|
|
825
822
|
}
|
|
826
823
|
});
|
|
824
|
+
const index_vue_vue_type_style_index_0_lang$b = "";
|
|
825
|
+
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
826
|
+
__name: "index",
|
|
827
|
+
setup(__props, { expose: __expose }) {
|
|
828
|
+
const proxyElement = vue.ref();
|
|
829
|
+
const expose = useExpose(proxyElement);
|
|
830
|
+
__expose(expose);
|
|
831
|
+
return (_ctx, _cache) => {
|
|
832
|
+
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElDescriptions), vue.mergeProps(_ctx.$attrs, {
|
|
833
|
+
ref_key: "proxyElement",
|
|
834
|
+
ref: proxyElement
|
|
835
|
+
}), vue.createSlots({
|
|
836
|
+
default: vue.withCtx(() => [
|
|
837
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
838
|
+
]),
|
|
839
|
+
_: 2
|
|
840
|
+
}, [
|
|
841
|
+
_ctx.$slots.title ? {
|
|
842
|
+
name: "title",
|
|
843
|
+
fn: vue.withCtx(() => [
|
|
844
|
+
vue.renderSlot(_ctx.$slots, "title")
|
|
845
|
+
]),
|
|
846
|
+
key: "0"
|
|
847
|
+
} : void 0,
|
|
848
|
+
_ctx.$slots.extra ? {
|
|
849
|
+
name: "extra",
|
|
850
|
+
fn: vue.withCtx(() => [
|
|
851
|
+
vue.renderSlot(_ctx.$slots, "extra")
|
|
852
|
+
]),
|
|
853
|
+
key: "1"
|
|
854
|
+
} : void 0
|
|
855
|
+
]), 1040);
|
|
856
|
+
};
|
|
857
|
+
}
|
|
858
|
+
});
|
|
827
859
|
const index_vue_vue_type_style_index_0_lang$a = "";
|
|
828
860
|
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
829
861
|
__name: "index",
|
|
@@ -1294,33 +1326,35 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
1294
1326
|
const index_vue_vue_type_style_index_0_lang = "";
|
|
1295
1327
|
const Adapter = {
|
|
1296
1328
|
// 基础组件
|
|
1297
|
-
ElButton: _sfc_main$
|
|
1298
|
-
ElTag: _sfc_main$
|
|
1329
|
+
ElButton: _sfc_main$F,
|
|
1330
|
+
ElTag: _sfc_main$E,
|
|
1299
1331
|
// 表单组件
|
|
1300
|
-
ElInput: _sfc_main$
|
|
1301
|
-
ElForm: _sfc_main$
|
|
1302
|
-
ElFormItem: _sfc_main$
|
|
1303
|
-
ElSelect: _sfc_main$
|
|
1304
|
-
ElOption: _sfc_main$
|
|
1305
|
-
ElCheckbox: _sfc_main$
|
|
1306
|
-
ElRadio: _sfc_main$
|
|
1307
|
-
ElRadioGroup: _sfc_main$
|
|
1308
|
-
ElRadioButton: _sfc_main$
|
|
1309
|
-
ElSwitch: _sfc_main$
|
|
1310
|
-
ElCascader: _sfc_main$
|
|
1311
|
-
ElDatePicker: _sfc_main$
|
|
1312
|
-
ElTimePicker: _sfc_main$
|
|
1313
|
-
ElUpload: _sfc_main$
|
|
1314
|
-
ElTransfer: _sfc_main$
|
|
1332
|
+
ElInput: _sfc_main$D,
|
|
1333
|
+
ElForm: _sfc_main$C,
|
|
1334
|
+
ElFormItem: _sfc_main$B,
|
|
1335
|
+
ElSelect: _sfc_main$A,
|
|
1336
|
+
ElOption: _sfc_main$z,
|
|
1337
|
+
ElCheckbox: _sfc_main$y,
|
|
1338
|
+
ElRadio: _sfc_main$x,
|
|
1339
|
+
ElRadioGroup: _sfc_main$w,
|
|
1340
|
+
ElRadioButton: _sfc_main$v,
|
|
1341
|
+
ElSwitch: _sfc_main$u,
|
|
1342
|
+
ElCascader: _sfc_main$t,
|
|
1343
|
+
ElDatePicker: _sfc_main$s,
|
|
1344
|
+
ElTimePicker: _sfc_main$r,
|
|
1345
|
+
ElUpload: _sfc_main$q,
|
|
1346
|
+
ElTransfer: _sfc_main$p,
|
|
1315
1347
|
// 数据展示
|
|
1316
|
-
ElTable: _sfc_main$
|
|
1317
|
-
ElTableColumn: _sfc_main$
|
|
1318
|
-
ElTree: _sfc_main$
|
|
1319
|
-
ElPagination: _sfc_main$
|
|
1320
|
-
ElImage: _sfc_main$
|
|
1321
|
-
ElProgress: _sfc_main$
|
|
1322
|
-
ElBadge: _sfc_main$
|
|
1323
|
-
ElCard: _sfc_main$
|
|
1348
|
+
ElTable: _sfc_main$o,
|
|
1349
|
+
ElTableColumn: _sfc_main$n,
|
|
1350
|
+
ElTree: _sfc_main$m,
|
|
1351
|
+
ElPagination: _sfc_main$l,
|
|
1352
|
+
ElImage: _sfc_main$k,
|
|
1353
|
+
ElProgress: _sfc_main$j,
|
|
1354
|
+
ElBadge: _sfc_main$i,
|
|
1355
|
+
ElCard: _sfc_main$h,
|
|
1356
|
+
ElDescriptions: _sfc_main$g,
|
|
1357
|
+
ElDescriptionsItem: elementPlus.ElDescriptionsItem,
|
|
1324
1358
|
// 反馈组件
|
|
1325
1359
|
ElAlert: _sfc_main$f,
|
|
1326
1360
|
ElDialog: _sfc_main$e,
|