@ganwei-web/gw-base-components-plus 1.0.3 → 1.0.5
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 +161 -74
- package/element-plus-adapter/dist/ElementPlusAdapter.cjs.map +1 -1
- package/element-plus-adapter/dist/ElementPlusAdapter.css +133 -57
- package/element-plus-adapter/dist/ElementPlusAdapter.iife.js +161 -74
- package/element-plus-adapter/dist/ElementPlusAdapter.iife.js.map +1 -1
- package/element-plus-adapter/dist/ElementPlusAdapter.js +186 -99
- package/element-plus-adapter/dist/ElementPlusAdapter.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref
|
|
1
|
+
import { defineComponent, ref, useAttrs, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, createElementBlock, createElementVNode, watch, resolveComponent, createVNode, mergeModels, useModel, isVNode, normalizeProps, guardReactiveProps, getCurrentInstance, onMounted, onBeforeUnmount } from "vue";
|
|
2
2
|
import { ElButton, ElCascader, ElCheckbox, ElCollapse, ElDatePicker, ElDialog, ElDrawer, ElDropdown, ElForm, ElImage, ElInput, vLoading as vLoading$1, ElMenu, ElNotification as ElNotification$1, ElPagination, ElPopover, ElRadio, ElRadioGroup, ElSelect, ElSwitch, ElTableColumn, ElTable, ElTimePicker, ElTransfer, ElTree, ElUpload, ElMessageBox } from "element-plus";
|
|
3
3
|
function useExpose(proxyElement) {
|
|
4
4
|
const expose = new Proxy({}, {
|
|
@@ -12,17 +12,17 @@ function useExpose(proxyElement) {
|
|
|
12
12
|
});
|
|
13
13
|
return expose;
|
|
14
14
|
}
|
|
15
|
-
const _sfc_main$
|
|
15
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
16
16
|
...{
|
|
17
17
|
inheritAttrs: false
|
|
18
18
|
},
|
|
19
19
|
__name: "index",
|
|
20
20
|
setup(__props, { expose: __expose }) {
|
|
21
|
-
const proxyElement = ref
|
|
21
|
+
const proxyElement = ref();
|
|
22
22
|
const expose = useExpose(proxyElement);
|
|
23
23
|
__expose(expose);
|
|
24
24
|
const attrs = useAttrs();
|
|
25
|
-
const loading = ref
|
|
25
|
+
const loading = ref(false);
|
|
26
26
|
const handleClick = async (evt) => {
|
|
27
27
|
if (!attrs.onClick)
|
|
28
28
|
return;
|
|
@@ -52,11 +52,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
56
|
-
const _sfc_main$
|
|
55
|
+
const index_vue_vue_type_style_index_0_lang$l = "";
|
|
56
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
57
57
|
__name: "index",
|
|
58
58
|
setup(__props, { expose: __expose }) {
|
|
59
|
-
const proxyElement = ref
|
|
59
|
+
const proxyElement = ref();
|
|
60
60
|
const expose = useExpose(proxyElement);
|
|
61
61
|
__expose(expose);
|
|
62
62
|
const attrs = useAttrs();
|
|
@@ -77,11 +77,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
81
|
-
const _sfc_main$
|
|
80
|
+
const index_vue_vue_type_style_index_0_lang$k = "";
|
|
81
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
82
82
|
__name: "index",
|
|
83
83
|
setup(__props, { expose: __expose }) {
|
|
84
|
-
const proxyElement = ref
|
|
84
|
+
const proxyElement = ref();
|
|
85
85
|
const expose = useExpose(proxyElement);
|
|
86
86
|
__expose(expose);
|
|
87
87
|
const attrs = useAttrs();
|
|
@@ -102,8 +102,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
});
|
|
105
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
106
|
-
const _sfc_main$
|
|
105
|
+
const index_vue_vue_type_style_index_0_lang$j = "";
|
|
106
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
107
107
|
__name: "index",
|
|
108
108
|
setup(__props, { expose: __expose }) {
|
|
109
109
|
const proxyElement = ref();
|
|
@@ -126,15 +126,15 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
128
|
});
|
|
129
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
130
|
-
const _sfc_main$
|
|
129
|
+
const index_vue_vue_type_style_index_0_lang$i = "";
|
|
130
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
131
131
|
__name: "index",
|
|
132
132
|
props: {
|
|
133
133
|
defaultTime: {},
|
|
134
134
|
valueFormat: {}
|
|
135
135
|
},
|
|
136
136
|
setup(__props, { expose: __expose }) {
|
|
137
|
-
const proxyElement = ref
|
|
137
|
+
const proxyElement = ref();
|
|
138
138
|
const expose = useExpose(proxyElement);
|
|
139
139
|
__expose(expose);
|
|
140
140
|
const props = __props;
|
|
@@ -176,11 +176,11 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
178
|
});
|
|
179
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
180
|
-
const _sfc_main$
|
|
179
|
+
const index_vue_vue_type_style_index_0_lang$h = "";
|
|
180
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
181
181
|
__name: "index",
|
|
182
182
|
setup(__props, { expose: __expose }) {
|
|
183
|
-
const proxyElement = ref
|
|
183
|
+
const proxyElement = ref();
|
|
184
184
|
const expose = useExpose(proxyElement);
|
|
185
185
|
__expose(expose);
|
|
186
186
|
return (_ctx, _cache) => {
|
|
@@ -200,7 +200,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
202
|
});
|
|
203
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
203
|
+
const index_vue_vue_type_style_index_0_lang$g = "";
|
|
204
204
|
const UI_AUTOMATION_TOKEN = `data-testid`;
|
|
205
205
|
function useDataTestId() {
|
|
206
206
|
const attrs = useAttrs();
|
|
@@ -208,10 +208,10 @@ function useDataTestId() {
|
|
|
208
208
|
console.warn(`${UI_AUTOMATION_TOKEN} is required to UI Automation`);
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
const _sfc_main$
|
|
211
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
212
212
|
__name: "index",
|
|
213
213
|
setup(__props, { expose: __expose }) {
|
|
214
|
-
const proxyElement = ref
|
|
214
|
+
const proxyElement = ref();
|
|
215
215
|
const expose = useExpose(proxyElement);
|
|
216
216
|
__expose(expose);
|
|
217
217
|
const attrs = useAttrs();
|
|
@@ -233,11 +233,11 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
});
|
|
236
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
237
|
-
const _sfc_main$
|
|
236
|
+
const index_vue_vue_type_style_index_0_lang$f = "";
|
|
237
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
238
238
|
__name: "index",
|
|
239
239
|
setup(__props, { expose: __expose }) {
|
|
240
|
-
const proxyElement = ref
|
|
240
|
+
const proxyElement = ref();
|
|
241
241
|
const expose = useExpose(proxyElement);
|
|
242
242
|
__expose(expose);
|
|
243
243
|
const attrs = useAttrs();
|
|
@@ -259,11 +259,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
261
|
});
|
|
262
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
263
|
-
const _sfc_main$
|
|
262
|
+
const index_vue_vue_type_style_index_0_lang$e = "";
|
|
263
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
264
264
|
__name: "index",
|
|
265
265
|
setup(__props, { expose: __expose }) {
|
|
266
|
-
const proxyElement = ref
|
|
266
|
+
const proxyElement = ref();
|
|
267
267
|
const expose = useExpose(proxyElement);
|
|
268
268
|
__expose(expose);
|
|
269
269
|
const attrs = useAttrs();
|
|
@@ -284,9 +284,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
284
284
|
};
|
|
285
285
|
}
|
|
286
286
|
});
|
|
287
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
288
|
-
/*! Element Plus Icons Vue v2.3.
|
|
289
|
-
var
|
|
287
|
+
const index_vue_vue_type_style_index_0_lang$d = "";
|
|
288
|
+
/*! Element Plus Icons Vue v2.3.2 */
|
|
289
|
+
var _sfc_main197 = /* @__PURE__ */ defineComponent({
|
|
290
290
|
name: "Picture",
|
|
291
291
|
__name: "picture",
|
|
292
292
|
setup(__props) {
|
|
@@ -300,25 +300,24 @@ var picture_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
|
|
|
300
300
|
}),
|
|
301
301
|
createElementVNode("path", {
|
|
302
302
|
fill: "currentColor",
|
|
303
|
-
d: "M384 288q64 0 64 64t-64
|
|
303
|
+
d: "M384 288q64 0 64 64t-64 64-64-64 64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"
|
|
304
304
|
})
|
|
305
305
|
]));
|
|
306
306
|
}
|
|
307
|
-
});
|
|
308
|
-
var picture_default = picture_vue_vue_type_script_setup_true_lang_default;
|
|
307
|
+
}), picture_default = _sfc_main197;
|
|
309
308
|
const _hoisted_1 = { class: "error-slot" };
|
|
310
|
-
const _sfc_main$
|
|
309
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
311
310
|
__name: "index",
|
|
312
311
|
props: {
|
|
313
312
|
src: { default: "" },
|
|
314
313
|
request: {}
|
|
315
314
|
},
|
|
316
315
|
setup(__props, { expose: __expose }) {
|
|
317
|
-
const proxyElement = ref
|
|
316
|
+
const proxyElement = ref();
|
|
318
317
|
const expose = useExpose(proxyElement);
|
|
319
318
|
__expose(expose);
|
|
320
319
|
const props = __props;
|
|
321
|
-
const _src = ref
|
|
320
|
+
const _src = ref("");
|
|
322
321
|
watch(() => props.src, async (newVal) => {
|
|
323
322
|
if (!newVal) {
|
|
324
323
|
return;
|
|
@@ -378,8 +377,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
378
377
|
};
|
|
379
378
|
}
|
|
380
379
|
});
|
|
381
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
382
|
-
const _sfc_main$
|
|
380
|
+
const index_vue_vue_type_style_index_0_lang$c = "";
|
|
381
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
383
382
|
__name: "ElInput",
|
|
384
383
|
props: {
|
|
385
384
|
"modelValue": {
|
|
@@ -389,7 +388,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
389
388
|
},
|
|
390
389
|
emits: /* @__PURE__ */ mergeModels(["change"], ["update:modelValue"]),
|
|
391
390
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
392
|
-
const input = ref
|
|
391
|
+
const input = ref();
|
|
393
392
|
const expose = useExpose(input);
|
|
394
393
|
__expose(expose);
|
|
395
394
|
const model = useModel(__props, "modelValue");
|
|
@@ -451,10 +450,10 @@ const vLoading = {
|
|
|
451
450
|
(_b = (_a = vLoading$1).unmounted) == null ? void 0 : _b.call(_a, el, binding, vnode, prevVnode);
|
|
452
451
|
}
|
|
453
452
|
};
|
|
454
|
-
const _sfc_main$
|
|
453
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
455
454
|
__name: "index",
|
|
456
455
|
setup(__props, { expose: __expose }) {
|
|
457
|
-
const proxyElement = ref
|
|
456
|
+
const proxyElement = ref();
|
|
458
457
|
const expose = useExpose(proxyElement);
|
|
459
458
|
__expose(expose);
|
|
460
459
|
const attrs = useAttrs();
|
|
@@ -476,7 +475,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
476
475
|
};
|
|
477
476
|
}
|
|
478
477
|
});
|
|
479
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
478
|
+
const index_vue_vue_type_style_index_0_lang$b = "";
|
|
480
479
|
const index$1 = "";
|
|
481
480
|
const index = "";
|
|
482
481
|
const install = ElNotification$1.install;
|
|
@@ -511,12 +510,12 @@ ElNotification.install = (app) => {
|
|
|
511
510
|
install == null ? void 0 : install(app);
|
|
512
511
|
app.config.globalProperties.$notify = ElNotification;
|
|
513
512
|
};
|
|
514
|
-
const _sfc_main$
|
|
513
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
515
514
|
__name: "index",
|
|
516
515
|
setup(__props, { expose: __expose }) {
|
|
517
516
|
const attrs = useAttrs();
|
|
518
517
|
useDataTestId();
|
|
519
|
-
const proxyElement = ref
|
|
518
|
+
const proxyElement = ref();
|
|
520
519
|
const expose = useExpose(proxyElement);
|
|
521
520
|
__expose(expose);
|
|
522
521
|
const defaultAttrs = {
|
|
@@ -540,11 +539,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
540
539
|
};
|
|
541
540
|
}
|
|
542
541
|
});
|
|
543
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
544
|
-
const _sfc_main$
|
|
542
|
+
const index_vue_vue_type_style_index_0_lang$a = "";
|
|
543
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
545
544
|
__name: "index",
|
|
546
545
|
setup(__props, { expose: __expose }) {
|
|
547
|
-
const proxyElement = ref
|
|
546
|
+
const proxyElement = ref();
|
|
548
547
|
const expose = useExpose(proxyElement);
|
|
549
548
|
__expose(expose);
|
|
550
549
|
return (_ctx, _cache) => {
|
|
@@ -564,11 +563,11 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
564
563
|
};
|
|
565
564
|
}
|
|
566
565
|
});
|
|
567
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
568
|
-
const _sfc_main$
|
|
566
|
+
const index_vue_vue_type_style_index_0_lang$9 = "";
|
|
567
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
569
568
|
__name: "index",
|
|
570
569
|
setup(__props, { expose: __expose }) {
|
|
571
|
-
const proxyElement = ref
|
|
570
|
+
const proxyElement = ref();
|
|
572
571
|
const expose = useExpose(proxyElement);
|
|
573
572
|
__expose(expose);
|
|
574
573
|
const attrs = useAttrs();
|
|
@@ -589,8 +588,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
589
588
|
};
|
|
590
589
|
}
|
|
591
590
|
});
|
|
592
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
593
|
-
const _sfc_main$
|
|
591
|
+
const index_vue_vue_type_style_index_0_lang$8 = "";
|
|
592
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
594
593
|
__name: "index",
|
|
595
594
|
props: {
|
|
596
595
|
round: {
|
|
@@ -599,7 +598,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
599
598
|
}
|
|
600
599
|
},
|
|
601
600
|
setup(__props, { expose: __expose }) {
|
|
602
|
-
const proxyElement = ref
|
|
601
|
+
const proxyElement = ref();
|
|
603
602
|
const expose = useExpose(proxyElement);
|
|
604
603
|
__expose(expose);
|
|
605
604
|
const attrs = useAttrs();
|
|
@@ -622,11 +621,11 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
622
621
|
};
|
|
623
622
|
}
|
|
624
623
|
});
|
|
625
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
626
|
-
const _sfc_main$
|
|
624
|
+
const index_vue_vue_type_style_index_0_lang$7 = "";
|
|
625
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
627
626
|
__name: "index",
|
|
628
627
|
setup(__props, { expose: __expose }) {
|
|
629
|
-
const proxyElement = ref
|
|
628
|
+
const proxyElement = ref();
|
|
630
629
|
const expose = useExpose(proxyElement);
|
|
631
630
|
__expose(expose);
|
|
632
631
|
const attrs = useAttrs();
|
|
@@ -648,11 +647,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
648
647
|
};
|
|
649
648
|
}
|
|
650
649
|
});
|
|
651
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
652
|
-
const _sfc_main$
|
|
650
|
+
const index_vue_vue_type_style_index_0_lang$6 = "";
|
|
651
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
653
652
|
__name: "index",
|
|
654
653
|
setup(__props, { expose: __expose }) {
|
|
655
|
-
const proxyElement = ref
|
|
654
|
+
const proxyElement = ref();
|
|
656
655
|
const expose = useExpose(proxyElement);
|
|
657
656
|
__expose(expose);
|
|
658
657
|
const attrs = useAttrs();
|
|
@@ -674,8 +673,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
674
673
|
};
|
|
675
674
|
}
|
|
676
675
|
});
|
|
677
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
678
|
-
const _sfc_main$
|
|
676
|
+
const index_vue_vue_type_style_index_0_lang$5 = "";
|
|
677
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
679
678
|
__name: "index",
|
|
680
679
|
props: {
|
|
681
680
|
formatter: {
|
|
@@ -707,7 +706,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
707
706
|
});
|
|
708
707
|
function useResizeTable() {
|
|
709
708
|
const instance = getCurrentInstance();
|
|
710
|
-
const height = ref
|
|
709
|
+
const height = ref();
|
|
711
710
|
let el = null;
|
|
712
711
|
onMounted(() => {
|
|
713
712
|
resizeTable();
|
|
@@ -736,7 +735,7 @@ function useResizeTable() {
|
|
|
736
735
|
}
|
|
737
736
|
return height;
|
|
738
737
|
}
|
|
739
|
-
const _sfc_main$
|
|
738
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
740
739
|
__name: "index",
|
|
741
740
|
props: {
|
|
742
741
|
height: {
|
|
@@ -745,7 +744,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
745
744
|
}
|
|
746
745
|
},
|
|
747
746
|
setup(__props, { expose: __expose }) {
|
|
748
|
-
const proxyElement = ref
|
|
747
|
+
const proxyElement = ref();
|
|
749
748
|
const expose = useExpose(proxyElement);
|
|
750
749
|
__expose(expose);
|
|
751
750
|
const tableHeight = useResizeTable();
|
|
@@ -768,11 +767,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
768
767
|
};
|
|
769
768
|
}
|
|
770
769
|
});
|
|
771
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
772
|
-
const _sfc_main$
|
|
770
|
+
const index_vue_vue_type_style_index_0_lang$4 = "";
|
|
771
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
773
772
|
__name: "index",
|
|
774
773
|
setup(__props, { expose: __expose }) {
|
|
775
|
-
const proxyElement = ref
|
|
774
|
+
const proxyElement = ref();
|
|
776
775
|
const expose = useExpose(proxyElement);
|
|
777
776
|
__expose(expose);
|
|
778
777
|
const attrs = useAttrs();
|
|
@@ -793,10 +792,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
793
792
|
};
|
|
794
793
|
}
|
|
795
794
|
});
|
|
796
|
-
const _sfc_main$
|
|
795
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
797
796
|
__name: "index",
|
|
798
797
|
setup(__props, { expose: __expose }) {
|
|
799
|
-
const proxyElement = ref
|
|
798
|
+
const proxyElement = ref();
|
|
800
799
|
const expose = useExpose(proxyElement);
|
|
801
800
|
__expose(expose);
|
|
802
801
|
return (_ctx, _cache) => {
|
|
@@ -807,11 +806,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
807
806
|
};
|
|
808
807
|
}
|
|
809
808
|
});
|
|
810
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
811
|
-
const _sfc_main$
|
|
809
|
+
const index_vue_vue_type_style_index_0_lang$3 = "";
|
|
810
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
812
811
|
__name: "index",
|
|
813
812
|
setup(__props, { expose: __expose }) {
|
|
814
|
-
const tree = ref
|
|
813
|
+
const tree = ref();
|
|
815
814
|
const expose = useExpose(tree);
|
|
816
815
|
__expose(expose);
|
|
817
816
|
return (_ctx, _cache) => {
|
|
@@ -831,11 +830,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
831
830
|
};
|
|
832
831
|
}
|
|
833
832
|
});
|
|
834
|
-
const index_vue_vue_type_style_index_0_lang$
|
|
835
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
833
|
+
const index_vue_vue_type_style_index_0_lang$2 = "";
|
|
834
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
836
835
|
__name: "index",
|
|
837
836
|
setup(__props, { expose: __expose }) {
|
|
838
|
-
const proxyElement = ref
|
|
837
|
+
const proxyElement = ref();
|
|
839
838
|
const expose = useExpose(proxyElement);
|
|
840
839
|
__expose(expose);
|
|
841
840
|
return (_ctx, _cache) => {
|
|
@@ -856,32 +855,120 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
856
855
|
};
|
|
857
856
|
}
|
|
858
857
|
});
|
|
858
|
+
const index_vue_vue_type_style_index_0_lang$1 = "";
|
|
859
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
860
|
+
__name: "index",
|
|
861
|
+
props: {
|
|
862
|
+
effect: {
|
|
863
|
+
type: String,
|
|
864
|
+
default: "dark"
|
|
865
|
+
},
|
|
866
|
+
trigger: {
|
|
867
|
+
type: String,
|
|
868
|
+
default: "hover"
|
|
869
|
+
},
|
|
870
|
+
placement: {
|
|
871
|
+
type: String,
|
|
872
|
+
default: "bottom"
|
|
873
|
+
},
|
|
874
|
+
width: {
|
|
875
|
+
type: [String, Number],
|
|
876
|
+
default: "auto"
|
|
877
|
+
},
|
|
878
|
+
offset: {
|
|
879
|
+
type: Number,
|
|
880
|
+
default: 12
|
|
881
|
+
},
|
|
882
|
+
transition: {
|
|
883
|
+
type: String,
|
|
884
|
+
default: "el-fade-in-linear"
|
|
885
|
+
},
|
|
886
|
+
showArrow: {
|
|
887
|
+
type: Boolean,
|
|
888
|
+
default: true
|
|
889
|
+
},
|
|
890
|
+
persistent: {
|
|
891
|
+
type: Boolean,
|
|
892
|
+
default: false
|
|
893
|
+
},
|
|
894
|
+
popperClass: {
|
|
895
|
+
type: String,
|
|
896
|
+
default: ""
|
|
897
|
+
},
|
|
898
|
+
showAfter: {
|
|
899
|
+
type: Number,
|
|
900
|
+
default: 200
|
|
901
|
+
},
|
|
902
|
+
hideAfter: {
|
|
903
|
+
type: Number,
|
|
904
|
+
default: 200
|
|
905
|
+
},
|
|
906
|
+
disabled: {
|
|
907
|
+
type: Boolean,
|
|
908
|
+
default: false
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
setup(__props, { expose: __expose }) {
|
|
912
|
+
const proxyElement = ref();
|
|
913
|
+
const expose = useExpose(proxyElement);
|
|
914
|
+
__expose(expose);
|
|
915
|
+
return (_ctx, _cache) => {
|
|
916
|
+
return openBlock(), createBlock(unref(ElPopover), mergeProps({
|
|
917
|
+
ref_key: "proxyElement",
|
|
918
|
+
ref: proxyElement
|
|
919
|
+
}, _ctx.$attrs, {
|
|
920
|
+
effect: __props.effect,
|
|
921
|
+
trigger: __props.trigger,
|
|
922
|
+
placement: __props.placement,
|
|
923
|
+
width: __props.width,
|
|
924
|
+
offset: __props.offset,
|
|
925
|
+
transition: __props.transition,
|
|
926
|
+
"show-arrow": __props.showArrow,
|
|
927
|
+
persistent: __props.persistent,
|
|
928
|
+
"popper-class": __props.popperClass,
|
|
929
|
+
"show-after": __props.showAfter,
|
|
930
|
+
"hide-after": __props.hideAfter,
|
|
931
|
+
disabled: __props.disabled
|
|
932
|
+
}), createSlots({ _: 2 }, [
|
|
933
|
+
renderList(_ctx.$slots, (value, key) => {
|
|
934
|
+
return {
|
|
935
|
+
name: key,
|
|
936
|
+
fn: withCtx((slotProps) => [
|
|
937
|
+
renderSlot(_ctx.$slots, key, mergeProps(slotProps, { key }))
|
|
938
|
+
])
|
|
939
|
+
};
|
|
940
|
+
})
|
|
941
|
+
]), 1040, ["effect", "trigger", "placement", "width", "offset", "transition", "show-arrow", "persistent", "popper-class", "show-after", "hide-after", "disabled"]);
|
|
942
|
+
};
|
|
943
|
+
}
|
|
944
|
+
});
|
|
859
945
|
const index_vue_vue_type_style_index_0_lang = "";
|
|
860
946
|
const Adapter = {
|
|
861
|
-
ElInput: _sfc_main$
|
|
862
|
-
ElDropdown: _sfc_main$
|
|
863
|
-
ElMenu: _sfc_main$
|
|
864
|
-
ElRadioGroup: _sfc_main$
|
|
865
|
-
ElTable: _sfc_main$
|
|
866
|
-
ElTableColumn: _sfc_main$
|
|
867
|
-
ElSelect: _sfc_main$
|
|
868
|
-
ElPagination: _sfc_main$
|
|
869
|
-
ElButton: _sfc_main$
|
|
870
|
-
ElForm: _sfc_main$
|
|
871
|
-
ElCascader: _sfc_main$
|
|
872
|
-
ElRadio: _sfc_main$
|
|
873
|
-
ElCheckbox: _sfc_main$
|
|
874
|
-
ElDatePicker: _sfc_main$
|
|
875
|
-
ElTimePicker: _sfc_main$
|
|
876
|
-
ElDialog: _sfc_main$
|
|
877
|
-
ElSwitch: _sfc_main$
|
|
878
|
-
ElDrawer: _sfc_main$
|
|
879
|
-
ElPopover: _sfc_main$
|
|
880
|
-
ElTransfer: _sfc_main$
|
|
881
|
-
ElCollapse: _sfc_main$
|
|
882
|
-
ElImage: _sfc_main$
|
|
883
|
-
ElUpload: _sfc_main,
|
|
884
|
-
ElTree: _sfc_main$
|
|
947
|
+
ElInput: _sfc_main$e,
|
|
948
|
+
ElDropdown: _sfc_main$h,
|
|
949
|
+
ElMenu: _sfc_main$d,
|
|
950
|
+
ElRadioGroup: _sfc_main$9,
|
|
951
|
+
ElTable: _sfc_main$5,
|
|
952
|
+
ElTableColumn: _sfc_main$6,
|
|
953
|
+
ElSelect: _sfc_main$8,
|
|
954
|
+
ElPagination: _sfc_main$c,
|
|
955
|
+
ElButton: _sfc_main$o,
|
|
956
|
+
ElForm: _sfc_main$g,
|
|
957
|
+
ElCascader: _sfc_main$n,
|
|
958
|
+
ElRadio: _sfc_main$a,
|
|
959
|
+
ElCheckbox: _sfc_main$m,
|
|
960
|
+
ElDatePicker: _sfc_main$k,
|
|
961
|
+
ElTimePicker: _sfc_main$4,
|
|
962
|
+
ElDialog: _sfc_main$j,
|
|
963
|
+
ElSwitch: _sfc_main$7,
|
|
964
|
+
ElDrawer: _sfc_main$i,
|
|
965
|
+
ElPopover: _sfc_main$b,
|
|
966
|
+
ElTransfer: _sfc_main$3,
|
|
967
|
+
ElCollapse: _sfc_main$l,
|
|
968
|
+
ElImage: _sfc_main$f,
|
|
969
|
+
ElUpload: _sfc_main$1,
|
|
970
|
+
ElTree: _sfc_main$2,
|
|
971
|
+
ElPoper: _sfc_main
|
|
885
972
|
};
|
|
886
973
|
function adapterInstall(app) {
|
|
887
974
|
for (const [key, component] of Object.entries(Adapter)) {
|