jky-component-lib 0.0.133 → 0.0.139
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/dist/es/form/FormItem.vue.js +60 -54
- package/dist/es/form/items/AutocompleteItem.vue.d.ts +1 -1
- package/dist/es/form/items/AutocompleteItem.vue.js +10 -3
- package/dist/es/form/items/CascaderItem.vue.d.ts +1 -1
- package/dist/es/form/items/CascaderItem.vue.js +10 -3
- package/dist/es/form/items/CheckboxGroupItem.vue.d.ts +3 -1
- package/dist/es/form/items/CheckboxGroupItem.vue.js +10 -3
- package/dist/es/form/items/ColorPickerItem.vue.d.ts +1 -1
- package/dist/es/form/items/ColorPickerItem.vue.js +10 -3
- package/dist/es/form/items/ColorPickerPanelItem.vue.d.ts +1 -1
- package/dist/es/form/items/ColorPickerPanelItem.vue.js +10 -3
- package/dist/es/form/items/DatePickerItem.vue.d.ts +1 -1
- package/dist/es/form/items/DatePickerItem.vue.js +10 -3
- package/dist/es/form/items/DividerItem.vue.d.ts +3 -1
- package/dist/es/form/items/DividerItem.vue.js +10 -3
- package/dist/es/form/items/FileUploadItem.vue.d.ts +1 -1
- package/dist/es/form/items/FileUploadItem.vue.js +10 -3
- package/dist/es/form/items/ImageUploadItem.vue.d.ts +1 -1
- package/dist/es/form/items/ImageUploadItem.vue.js +10 -3
- package/dist/es/form/items/InputItem.vue.d.ts +1 -1
- package/dist/es/form/items/InputItem.vue.js +11 -4
- package/dist/es/form/items/InputNumberItem.vue.d.ts +1 -1
- package/dist/es/form/items/InputNumberItem.vue.js +10 -3
- package/dist/es/form/items/InputTagItem.vue.d.ts +1 -1
- package/dist/es/form/items/InputTagItem.vue.js +10 -3
- package/dist/es/form/items/LinkedSelectItem.vue.d.ts +4 -1
- package/dist/es/form/items/LinkedSelectItem.vue.js +10 -3
- package/dist/es/form/items/MentionItem.vue.d.ts +1 -1
- package/dist/es/form/items/MentionItem.vue.js +10 -3
- package/dist/es/form/items/RadioGroupItem.vue.d.ts +3 -1
- package/dist/es/form/items/RadioGroupItem.vue.js +10 -3
- package/dist/es/form/items/RangeInputNumberItem.vue.d.ts +13 -0
- package/dist/es/form/items/RangeInputNumberItem.vue.js +116 -0
- package/dist/es/form/items/RangeInputNumberItem.vue2.js +4 -0
- package/dist/es/form/items/RateItem.vue.d.ts +1 -1
- package/dist/es/form/items/RateItem.vue.js +10 -3
- package/dist/es/form/items/SelectItem.vue.d.ts +1 -1
- package/dist/es/form/items/SelectItem.vue.js +10 -3
- package/dist/es/form/items/SelectTableItem.vue.d.ts +1 -1
- package/dist/es/form/items/SelectTableItem.vue.js +10 -3
- package/dist/es/form/items/SelectV2Item.vue.d.ts +1 -1
- package/dist/es/form/items/SelectV2Item.vue.js +10 -3
- package/dist/es/form/items/SliderItem.vue.d.ts +1 -1
- package/dist/es/form/items/SliderItem.vue.js +10 -3
- package/dist/es/form/items/SwitchItem.vue.d.ts +1 -1
- package/dist/es/form/items/SwitchItem.vue.js +10 -3
- package/dist/es/form/items/TextareaItem.vue.d.ts +1 -1
- package/dist/es/form/items/TextareaItem.vue.js +10 -3
- package/dist/es/form/items/TimePickerItem.vue.d.ts +1 -1
- package/dist/es/form/items/TimePickerItem.vue.js +10 -3
- package/dist/es/form/items/TimeSelectItem.vue.d.ts +1 -1
- package/dist/es/form/items/TimeSelectItem.vue.js +10 -3
- package/dist/es/form/items/TransferItem.vue.d.ts +1 -1
- package/dist/es/form/items/TransferItem.vue.js +10 -3
- package/dist/es/form/items/TreeSelectItem.vue.d.ts +1 -1
- package/dist/es/form/items/TreeSelectItem.vue.js +10 -3
- package/dist/es/modal/Footer.vue.d.ts +1 -1
- package/dist/es/modal/Footer.vue.js +4 -2
- package/dist/es/modal/Modal.vue.js +6 -3
- package/dist/es/package.json.js +1 -1
- package/dist/es/page-header/PageHeader.vue.d.ts +1 -0
- package/dist/es/page-header/PageHeader.vue.js +5 -3
- package/dist/es/page-table/PageTable.vue.js +1 -1
- package/dist/es/page-table/PageTableColumn.vue.d.ts +1 -0
- package/dist/lib/form/FormItem.vue.js +9 -3
- package/dist/lib/form/items/AutocompleteItem.vue.d.ts +1 -1
- package/dist/lib/form/items/AutocompleteItem.vue.js +9 -2
- package/dist/lib/form/items/CascaderItem.vue.d.ts +1 -1
- package/dist/lib/form/items/CascaderItem.vue.js +9 -2
- package/dist/lib/form/items/CheckboxGroupItem.vue.d.ts +3 -1
- package/dist/lib/form/items/CheckboxGroupItem.vue.js +9 -2
- package/dist/lib/form/items/ColorPickerItem.vue.d.ts +1 -1
- package/dist/lib/form/items/ColorPickerItem.vue.js +9 -2
- package/dist/lib/form/items/ColorPickerPanelItem.vue.d.ts +1 -1
- package/dist/lib/form/items/ColorPickerPanelItem.vue.js +9 -2
- package/dist/lib/form/items/DatePickerItem.vue.d.ts +1 -1
- package/dist/lib/form/items/DatePickerItem.vue.js +9 -2
- package/dist/lib/form/items/DividerItem.vue.d.ts +3 -1
- package/dist/lib/form/items/DividerItem.vue.js +9 -2
- package/dist/lib/form/items/FileUploadItem.vue.d.ts +1 -1
- package/dist/lib/form/items/FileUploadItem.vue.js +9 -2
- package/dist/lib/form/items/ImageUploadItem.vue.d.ts +1 -1
- package/dist/lib/form/items/ImageUploadItem.vue.js +9 -2
- package/dist/lib/form/items/InputItem.vue.d.ts +1 -1
- package/dist/lib/form/items/InputItem.vue.js +10 -3
- package/dist/lib/form/items/InputNumberItem.vue.d.ts +1 -1
- package/dist/lib/form/items/InputNumberItem.vue.js +9 -2
- package/dist/lib/form/items/InputTagItem.vue.d.ts +1 -1
- package/dist/lib/form/items/InputTagItem.vue.js +9 -2
- package/dist/lib/form/items/LinkedSelectItem.vue.d.ts +4 -1
- package/dist/lib/form/items/LinkedSelectItem.vue.js +9 -2
- package/dist/lib/form/items/MentionItem.vue.d.ts +1 -1
- package/dist/lib/form/items/MentionItem.vue.js +9 -2
- package/dist/lib/form/items/RadioGroupItem.vue.d.ts +3 -1
- package/dist/lib/form/items/RadioGroupItem.vue.js +9 -2
- package/dist/lib/form/items/RangeInputNumberItem.vue.d.ts +13 -0
- package/dist/lib/form/items/RangeInputNumberItem.vue.js +116 -0
- package/dist/lib/form/items/RangeInputNumberItem.vue2.js +4 -0
- package/dist/lib/form/items/RateItem.vue.d.ts +1 -1
- package/dist/lib/form/items/RateItem.vue.js +9 -2
- package/dist/lib/form/items/SelectItem.vue.d.ts +1 -1
- package/dist/lib/form/items/SelectItem.vue.js +9 -2
- package/dist/lib/form/items/SelectTableItem.vue.d.ts +1 -1
- package/dist/lib/form/items/SelectTableItem.vue.js +9 -2
- package/dist/lib/form/items/SelectV2Item.vue.d.ts +1 -1
- package/dist/lib/form/items/SelectV2Item.vue.js +9 -2
- package/dist/lib/form/items/SliderItem.vue.d.ts +1 -1
- package/dist/lib/form/items/SliderItem.vue.js +9 -2
- package/dist/lib/form/items/SwitchItem.vue.d.ts +1 -1
- package/dist/lib/form/items/SwitchItem.vue.js +9 -2
- package/dist/lib/form/items/TextareaItem.vue.d.ts +1 -1
- package/dist/lib/form/items/TextareaItem.vue.js +9 -2
- package/dist/lib/form/items/TimePickerItem.vue.d.ts +1 -1
- package/dist/lib/form/items/TimePickerItem.vue.js +9 -2
- package/dist/lib/form/items/TimeSelectItem.vue.d.ts +1 -1
- package/dist/lib/form/items/TimeSelectItem.vue.js +9 -2
- package/dist/lib/form/items/TransferItem.vue.d.ts +1 -1
- package/dist/lib/form/items/TransferItem.vue.js +9 -2
- package/dist/lib/form/items/TreeSelectItem.vue.d.ts +1 -1
- package/dist/lib/form/items/TreeSelectItem.vue.js +9 -2
- package/dist/lib/modal/Footer.vue.d.ts +1 -1
- package/dist/lib/modal/Footer.vue.js +4 -2
- package/dist/lib/modal/Modal.vue.js +6 -3
- package/dist/lib/package.json.js +1 -1
- package/dist/lib/page-header/PageHeader.vue.d.ts +1 -0
- package/dist/lib/page-header/PageHeader.vue.js +4 -2
- package/dist/lib/page-table/PageTable.vue.js +1 -1
- package/dist/lib/page-table/PageTableColumn.vue.d.ts +1 -0
- package/package.json +3 -6
|
@@ -49,42 +49,43 @@ var __async = (__this, __arguments, generator) => {
|
|
|
49
49
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
50
50
|
});
|
|
51
51
|
};
|
|
52
|
-
import { defineComponent, ref, computed, openBlock, createElementBlock, createBlock, unref, mergeProps, withCtx, createElementVNode, resolveDynamicComponent, Fragment, createTextVNode, toDisplayString, createCommentVNode, createVNode, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps, watch, h } from "vue";
|
|
52
|
+
import { defineComponent, useSlots, ref, computed, openBlock, createElementBlock, createBlock, unref, mergeProps, withCtx, createElementVNode, resolveDynamicComponent, Fragment, createTextVNode, toDisplayString, createCommentVNode, createVNode, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps, watch, h } from "vue";
|
|
53
53
|
import { CircleCloseFilled, CircleCheckFilled, WarningFilled, QuestionFilled } from "@element-plus/icons-vue";
|
|
54
54
|
import { ElFormItem, ElTooltip, ElIcon } from "element-plus";
|
|
55
|
-
import _sfc_main$
|
|
55
|
+
import _sfc_main$x from "./FormItemWrapper.vue.js";
|
|
56
56
|
/* empty css */
|
|
57
57
|
import _sfc_main$5 from "./items/AddInputItem.vue.js";
|
|
58
58
|
import _sfc_main$3 from "./items/AMapPickerItem.vue.js";
|
|
59
|
-
import _sfc_main$
|
|
60
|
-
import _sfc_main$
|
|
61
|
-
import _sfc_main$
|
|
59
|
+
import _sfc_main$t from "./items/AutocompleteItem.vue.js";
|
|
60
|
+
import _sfc_main$l from "./items/CascaderItem.vue.js";
|
|
61
|
+
import _sfc_main$o from "./items/CheckboxGroupItem.vue.js";
|
|
62
62
|
import _sfc_main$7 from "./items/CodeMirrorEditorItem.vue.js";
|
|
63
|
-
import _sfc_main$
|
|
64
|
-
import _sfc_main$
|
|
63
|
+
import _sfc_main$j from "./items/ColorPickerItem.vue.js";
|
|
64
|
+
import _sfc_main$i from "./items/ColorPickerPanelItem.vue.js";
|
|
65
65
|
import _sfc_main$1 from "./items/CustomItem.vue.js";
|
|
66
|
-
import _sfc_main$
|
|
66
|
+
import _sfc_main$s from "./items/DatePickerItem.vue.js";
|
|
67
67
|
import _sfc_main$2 from "./items/DividerItem.vue.js";
|
|
68
68
|
import _sfc_main$8 from "./items/FileUploadItem.vue.js";
|
|
69
69
|
import _sfc_main$9 from "./items/ImageUploadItem.vue.js";
|
|
70
|
-
import _sfc_main$
|
|
71
|
-
import _sfc_main$
|
|
72
|
-
import _sfc_main$
|
|
70
|
+
import _sfc_main$w from "./items/InputItem.vue.js";
|
|
71
|
+
import _sfc_main$b from "./items/InputNumberItem.vue.js";
|
|
72
|
+
import _sfc_main$h from "./items/InputTagItem.vue.js";
|
|
73
73
|
import _sfc_main$4 from "./items/LinkedSelectItem.vue.js";
|
|
74
|
-
import _sfc_main$
|
|
75
|
-
import _sfc_main$
|
|
76
|
-
import _sfc_main$
|
|
74
|
+
import _sfc_main$g from "./items/MentionItem.vue.js";
|
|
75
|
+
import _sfc_main$p from "./items/RadioGroupItem.vue.js";
|
|
76
|
+
import _sfc_main$a from "./items/RangeInputNumberItem.vue.js";
|
|
77
|
+
import _sfc_main$c from "./items/RateItem.vue.js";
|
|
77
78
|
import _sfc_main$6 from "./items/RichEditorItem.vue.js";
|
|
78
|
-
import _sfc_main$
|
|
79
|
-
import _sfc_main$
|
|
80
|
-
import _sfc_main$
|
|
81
|
-
import _sfc_main$
|
|
82
|
-
import _sfc_main$
|
|
83
|
-
import _sfc_main$
|
|
84
|
-
import _sfc_main$
|
|
85
|
-
import _sfc_main$
|
|
86
|
-
import _sfc_main$
|
|
87
|
-
import _sfc_main$
|
|
79
|
+
import _sfc_main$u from "./items/SelectItem.vue.js";
|
|
80
|
+
import _sfc_main$d from "./items/SelectTableItem.vue.js";
|
|
81
|
+
import _sfc_main$f from "./items/SelectV2Item.vue.js";
|
|
82
|
+
import _sfc_main$m from "./items/SliderItem.vue.js";
|
|
83
|
+
import _sfc_main$n from "./items/SwitchItem.vue.js";
|
|
84
|
+
import _sfc_main$v from "./items/TextareaItem.vue.js";
|
|
85
|
+
import _sfc_main$r from "./items/TimePickerItem.vue.js";
|
|
86
|
+
import _sfc_main$q from "./items/TimeSelectItem.vue.js";
|
|
87
|
+
import _sfc_main$e from "./items/TransferItem.vue.js";
|
|
88
|
+
import _sfc_main$k from "./items/TreeSelectItem.vue.js";
|
|
88
89
|
const _hoisted_1 = {
|
|
89
90
|
key: 0,
|
|
90
91
|
style: { "display": "none" }
|
|
@@ -130,6 +131,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
130
131
|
},
|
|
131
132
|
setup(__props) {
|
|
132
133
|
const props = __props;
|
|
134
|
+
const slots = useSlots();
|
|
133
135
|
const loading = ref(false);
|
|
134
136
|
const propsLoadStatus = ref("idle");
|
|
135
137
|
const loadError = ref(null);
|
|
@@ -332,29 +334,30 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
332
334
|
}) : componentSlots;
|
|
333
335
|
});
|
|
334
336
|
const componentMap = {
|
|
335
|
-
"input": _sfc_main$
|
|
336
|
-
"textarea": _sfc_main$
|
|
337
|
-
"select": _sfc_main$
|
|
338
|
-
"autocomplete": _sfc_main$
|
|
339
|
-
"date-picker": _sfc_main$
|
|
340
|
-
"datetime-picker": _sfc_main$
|
|
341
|
-
"time-picker": _sfc_main$
|
|
342
|
-
"time-select": _sfc_main$
|
|
343
|
-
"radio-group": _sfc_main$
|
|
344
|
-
"checkbox-group": _sfc_main$
|
|
345
|
-
"switch": _sfc_main$
|
|
346
|
-
"slider": _sfc_main$
|
|
347
|
-
"cascader": _sfc_main$
|
|
348
|
-
"tree-select": _sfc_main$
|
|
349
|
-
"color-picker": _sfc_main$
|
|
350
|
-
"color-picker-panel": _sfc_main$
|
|
351
|
-
"input-tag": _sfc_main$
|
|
352
|
-
"mention": _sfc_main$
|
|
353
|
-
"select-v2": _sfc_main$
|
|
354
|
-
"transfer": _sfc_main$
|
|
355
|
-
"select-table": _sfc_main$
|
|
356
|
-
"rate": _sfc_main$
|
|
357
|
-
"input-number": _sfc_main$
|
|
337
|
+
"input": _sfc_main$w,
|
|
338
|
+
"textarea": _sfc_main$v,
|
|
339
|
+
"select": _sfc_main$u,
|
|
340
|
+
"autocomplete": _sfc_main$t,
|
|
341
|
+
"date-picker": _sfc_main$s,
|
|
342
|
+
"datetime-picker": _sfc_main$s,
|
|
343
|
+
"time-picker": _sfc_main$r,
|
|
344
|
+
"time-select": _sfc_main$q,
|
|
345
|
+
"radio-group": _sfc_main$p,
|
|
346
|
+
"checkbox-group": _sfc_main$o,
|
|
347
|
+
"switch": _sfc_main$n,
|
|
348
|
+
"slider": _sfc_main$m,
|
|
349
|
+
"cascader": _sfc_main$l,
|
|
350
|
+
"tree-select": _sfc_main$k,
|
|
351
|
+
"color-picker": _sfc_main$j,
|
|
352
|
+
"color-picker-panel": _sfc_main$i,
|
|
353
|
+
"input-tag": _sfc_main$h,
|
|
354
|
+
"mention": _sfc_main$g,
|
|
355
|
+
"select-v2": _sfc_main$f,
|
|
356
|
+
"transfer": _sfc_main$e,
|
|
357
|
+
"select-table": _sfc_main$d,
|
|
358
|
+
"rate": _sfc_main$c,
|
|
359
|
+
"input-number": _sfc_main$b,
|
|
360
|
+
"range-input-number": _sfc_main$a,
|
|
358
361
|
"image-upload": _sfc_main$9,
|
|
359
362
|
"file-upload": _sfc_main$8,
|
|
360
363
|
"code-mirror-editor": _sfc_main$7,
|
|
@@ -367,7 +370,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
367
370
|
};
|
|
368
371
|
const currentComponent = computed(() => {
|
|
369
372
|
const type = props.config.type || "input";
|
|
370
|
-
return componentMap[type] || _sfc_main$
|
|
373
|
+
return componentMap[type] || _sfc_main$w;
|
|
371
374
|
});
|
|
372
375
|
function renderHelpTooltip() {
|
|
373
376
|
if (!props.config.help)
|
|
@@ -417,6 +420,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
417
420
|
{ default: () => text }
|
|
418
421
|
);
|
|
419
422
|
}
|
|
423
|
+
function getSlotNames() {
|
|
424
|
+
return Object.keys(slots);
|
|
425
|
+
}
|
|
420
426
|
return (_ctx, _cache) => {
|
|
421
427
|
return isHidden.value ? (openBlock(), createElementBlock("div", _hoisted_1)) : __props.config.title && !__props.config.label ? (openBlock(), createBlock(unref(ElFormItem), mergeProps({
|
|
422
428
|
key: 1,
|
|
@@ -433,7 +439,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
433
439
|
], 64)),
|
|
434
440
|
__props.config.help && __props.config.help.tooltip ? (openBlock(), createBlock(resolveDynamicComponent(renderHelpTooltip()), { key: 2 })) : createCommentVNode("", true)
|
|
435
441
|
]),
|
|
436
|
-
createVNode(_sfc_main$
|
|
442
|
+
createVNode(_sfc_main$x, {
|
|
437
443
|
status: propsLoadStatus.value,
|
|
438
444
|
error: loadError.value,
|
|
439
445
|
onRetry: reloadComponentProps
|
|
@@ -450,7 +456,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
450
456
|
disabled: __props.disabled,
|
|
451
457
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = (val) => __props.model[__props.field] = val)
|
|
452
458
|
}, createSlots({ _: 2 }, [
|
|
453
|
-
renderList(
|
|
459
|
+
renderList(getSlotNames(), (name) => {
|
|
454
460
|
return {
|
|
455
461
|
name,
|
|
456
462
|
fn: withCtx((slotData) => [
|
|
@@ -476,7 +482,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
476
482
|
default: withCtx(() => [
|
|
477
483
|
__props.config.prepend || __props.config.append ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
478
484
|
__props.config.prepend ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(__props.config.prepend), 1)) : createCommentVNode("", true),
|
|
479
|
-
createVNode(_sfc_main$
|
|
485
|
+
createVNode(_sfc_main$x, {
|
|
480
486
|
status: propsLoadStatus.value,
|
|
481
487
|
error: loadError.value,
|
|
482
488
|
onRetry: reloadComponentProps
|
|
@@ -493,7 +499,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
493
499
|
disabled: __props.disabled,
|
|
494
500
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = (val) => __props.model[__props.field] = val)
|
|
495
501
|
}, createSlots({ _: 2 }, [
|
|
496
|
-
renderList(
|
|
502
|
+
renderList(getSlotNames(), (name) => {
|
|
497
503
|
return {
|
|
498
504
|
name,
|
|
499
505
|
fn: withCtx((slotData) => [
|
|
@@ -506,7 +512,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
506
512
|
_: 3
|
|
507
513
|
}, 8, ["status", "error"]),
|
|
508
514
|
__props.config.append ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(__props.config.append), 1)) : createCommentVNode("", true)
|
|
509
|
-
])) : (openBlock(), createBlock(_sfc_main$
|
|
515
|
+
])) : (openBlock(), createBlock(_sfc_main$x, {
|
|
510
516
|
key: 1,
|
|
511
517
|
status: propsLoadStatus.value,
|
|
512
518
|
error: loadError.value,
|
|
@@ -524,7 +530,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
524
530
|
disabled: __props.disabled,
|
|
525
531
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => __props.model[__props.field] = val)
|
|
526
532
|
}, createSlots({ _: 2 }, [
|
|
527
|
-
renderList(
|
|
533
|
+
renderList(getSlotNames(), (name) => {
|
|
528
534
|
return {
|
|
529
535
|
name,
|
|
530
536
|
fn: withCtx((slotData) => [
|
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
|
|
20
|
+
import { defineComponent, useSlots, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
|
|
21
21
|
import { ElAutocomplete } from "element-plus";
|
|
22
22
|
const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
|
|
23
23
|
name: "JkyFormItemAutocomplete"
|
|
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
34
34
|
setup(__props, { emit: __emit }) {
|
|
35
35
|
const props = __props;
|
|
36
36
|
const emit = __emit;
|
|
37
|
+
const slots = useSlots();
|
|
37
38
|
const autocompleteProps = computed(() => {
|
|
38
39
|
var _a, _b;
|
|
39
40
|
return __spreadProps(__spreadValues({}, props.componentProps), {
|
|
@@ -42,11 +43,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
42
43
|
disabled: (_b = (_a = props.componentProps) == null ? void 0 : _a.disabled) != null ? _b : props.disabled
|
|
43
44
|
});
|
|
44
45
|
});
|
|
46
|
+
function getSlotNames() {
|
|
47
|
+
return Object.keys(slots);
|
|
48
|
+
}
|
|
49
|
+
function getComponentSlotNames() {
|
|
50
|
+
return Object.keys(props.componentSlots || {});
|
|
51
|
+
}
|
|
45
52
|
return (_ctx, _cache) => {
|
|
46
53
|
return openBlock(), createBlock(unref(ElAutocomplete), mergeProps(autocompleteProps.value, {
|
|
47
54
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
|
|
48
55
|
}), createSlots({ _: 2 }, [
|
|
49
|
-
renderList(
|
|
56
|
+
renderList(getSlotNames(), (name) => {
|
|
50
57
|
return {
|
|
51
58
|
name,
|
|
52
59
|
fn: withCtx((slotData) => [
|
|
@@ -54,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
54
61
|
])
|
|
55
62
|
};
|
|
56
63
|
}),
|
|
57
|
-
renderList(
|
|
64
|
+
renderList(getComponentSlotNames(), (name) => {
|
|
58
65
|
return {
|
|
59
66
|
name,
|
|
60
67
|
fn: withCtx((slotData) => [
|
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
|
|
20
|
+
import { defineComponent, useSlots, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
|
|
21
21
|
import { ElCascader } from "element-plus";
|
|
22
22
|
const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
|
|
23
23
|
name: "JkyFormItemCascader"
|
|
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
34
34
|
setup(__props, { emit: __emit }) {
|
|
35
35
|
const props = __props;
|
|
36
36
|
const emit = __emit;
|
|
37
|
+
const slots = useSlots();
|
|
37
38
|
const cascaderProps = computed(() => {
|
|
38
39
|
var _a, _b;
|
|
39
40
|
return __spreadProps(__spreadValues({}, props.componentProps), {
|
|
@@ -42,11 +43,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
42
43
|
disabled: (_b = (_a = props.componentProps) == null ? void 0 : _a.disabled) != null ? _b : props.disabled
|
|
43
44
|
});
|
|
44
45
|
});
|
|
46
|
+
function getSlotNames() {
|
|
47
|
+
return Object.keys(slots);
|
|
48
|
+
}
|
|
49
|
+
function getComponentSlotNames() {
|
|
50
|
+
return Object.keys(props.componentSlots || {});
|
|
51
|
+
}
|
|
45
52
|
return (_ctx, _cache) => {
|
|
46
53
|
return openBlock(), createBlock(unref(ElCascader), mergeProps(cascaderProps.value, {
|
|
47
54
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
|
|
48
55
|
}), createSlots({ _: 2 }, [
|
|
49
|
-
renderList(
|
|
56
|
+
renderList(getSlotNames(), (name) => {
|
|
50
57
|
return {
|
|
51
58
|
name,
|
|
52
59
|
fn: withCtx((slotData) => [
|
|
@@ -54,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
54
61
|
])
|
|
55
62
|
};
|
|
56
63
|
}),
|
|
57
|
-
renderList(
|
|
64
|
+
renderList(getComponentSlotNames(), (name) => {
|
|
58
65
|
return {
|
|
59
66
|
name,
|
|
60
67
|
fn: withCtx((slotData) => [
|
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
|
|
20
|
+
import { defineComponent, useSlots, computed, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
|
|
21
21
|
import { ElCheckboxGroup, ElCheckbox } from "element-plus";
|
|
22
22
|
const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
|
|
23
23
|
name: "JkyFormItemCheckboxGroup"
|
|
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
34
34
|
setup(__props, { emit: __emit }) {
|
|
35
35
|
const props = __props;
|
|
36
36
|
const emit = __emit;
|
|
37
|
+
const slots = useSlots();
|
|
37
38
|
const checkboxGroupProps = computed(() => {
|
|
38
39
|
var _a, _b;
|
|
39
40
|
return __spreadProps(__spreadValues({}, props.componentProps), {
|
|
@@ -42,6 +43,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
42
43
|
});
|
|
43
44
|
});
|
|
44
45
|
const options = computed(() => props.componentProps.options || props.config.options || []);
|
|
46
|
+
function getSlotNames() {
|
|
47
|
+
return Object.keys(slots);
|
|
48
|
+
}
|
|
49
|
+
function getComponentSlotNames() {
|
|
50
|
+
return Object.keys(props.componentSlots || {});
|
|
51
|
+
}
|
|
45
52
|
return (_ctx, _cache) => {
|
|
46
53
|
return openBlock(), createBlock(unref(ElCheckboxGroup), mergeProps(checkboxGroupProps.value, {
|
|
47
54
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
|
|
@@ -62,7 +69,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
62
69
|
]),
|
|
63
70
|
_: 2
|
|
64
71
|
}, [
|
|
65
|
-
renderList(
|
|
72
|
+
renderList(getSlotNames(), (name) => {
|
|
66
73
|
return {
|
|
67
74
|
name,
|
|
68
75
|
fn: withCtx((slotData) => [
|
|
@@ -70,7 +77,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
70
77
|
])
|
|
71
78
|
};
|
|
72
79
|
}),
|
|
73
|
-
renderList(
|
|
80
|
+
renderList(getComponentSlotNames(), (name) => {
|
|
74
81
|
return {
|
|
75
82
|
name,
|
|
76
83
|
fn: withCtx((slotData) => [
|
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
|
|
20
|
+
import { defineComponent, useSlots, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
|
|
21
21
|
import { ElColorPicker } from "element-plus";
|
|
22
22
|
const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
|
|
23
23
|
name: "JkyFormItemColorPicker"
|
|
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
34
34
|
setup(__props, { emit: __emit }) {
|
|
35
35
|
const props = __props;
|
|
36
36
|
const emit = __emit;
|
|
37
|
+
const slots = useSlots();
|
|
37
38
|
const colorPickerProps = computed(() => {
|
|
38
39
|
var _a, _b;
|
|
39
40
|
return __spreadProps(__spreadValues({}, props.componentProps), {
|
|
@@ -41,11 +42,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
41
42
|
disabled: (_b = (_a = props.componentProps) == null ? void 0 : _a.disabled) != null ? _b : props.disabled
|
|
42
43
|
});
|
|
43
44
|
});
|
|
45
|
+
function getSlotNames() {
|
|
46
|
+
return Object.keys(slots);
|
|
47
|
+
}
|
|
48
|
+
function getComponentSlotNames() {
|
|
49
|
+
return Object.keys(props.componentSlots || {});
|
|
50
|
+
}
|
|
44
51
|
return (_ctx, _cache) => {
|
|
45
52
|
return openBlock(), createBlock(unref(ElColorPicker), mergeProps(colorPickerProps.value, {
|
|
46
53
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
|
|
47
54
|
}), createSlots({ _: 2 }, [
|
|
48
|
-
renderList(
|
|
55
|
+
renderList(getSlotNames(), (name) => {
|
|
49
56
|
return {
|
|
50
57
|
name,
|
|
51
58
|
fn: withCtx((slotData) => [
|
|
@@ -53,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
53
60
|
])
|
|
54
61
|
};
|
|
55
62
|
}),
|
|
56
|
-
renderList(
|
|
63
|
+
renderList(getComponentSlotNames(), (name) => {
|
|
57
64
|
return {
|
|
58
65
|
name,
|
|
59
66
|
fn: withCtx((slotData) => [
|
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
|
|
20
|
+
import { defineComponent, useSlots, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
|
|
21
21
|
import { ElColorPickerPanel } from "element-plus";
|
|
22
22
|
const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
|
|
23
23
|
name: "JkyFormItemColorPickerPanel"
|
|
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
34
34
|
setup(__props, { emit: __emit }) {
|
|
35
35
|
const props = __props;
|
|
36
36
|
const emit = __emit;
|
|
37
|
+
const slots = useSlots();
|
|
37
38
|
const colorPickerPanelProps = computed(() => {
|
|
38
39
|
var _a, _b;
|
|
39
40
|
return __spreadProps(__spreadValues({}, props.componentProps), {
|
|
@@ -41,11 +42,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
41
42
|
disabled: (_b = (_a = props.componentProps) == null ? void 0 : _a.disabled) != null ? _b : props.disabled
|
|
42
43
|
});
|
|
43
44
|
});
|
|
45
|
+
function getSlotNames() {
|
|
46
|
+
return Object.keys(slots);
|
|
47
|
+
}
|
|
48
|
+
function getComponentSlotNames() {
|
|
49
|
+
return Object.keys(props.componentSlots || {});
|
|
50
|
+
}
|
|
44
51
|
return (_ctx, _cache) => {
|
|
45
52
|
return openBlock(), createBlock(unref(ElColorPickerPanel), mergeProps(colorPickerPanelProps.value, {
|
|
46
53
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
|
|
47
54
|
}), createSlots({ _: 2 }, [
|
|
48
|
-
renderList(
|
|
55
|
+
renderList(getSlotNames(), (name) => {
|
|
49
56
|
return {
|
|
50
57
|
name,
|
|
51
58
|
fn: withCtx((slotData) => [
|
|
@@ -53,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
53
60
|
])
|
|
54
61
|
};
|
|
55
62
|
}),
|
|
56
|
-
renderList(
|
|
63
|
+
renderList(getComponentSlotNames(), (name) => {
|
|
57
64
|
return {
|
|
58
65
|
name,
|
|
59
66
|
fn: withCtx((slotData) => [
|
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
|
|
20
|
+
import { defineComponent, useSlots, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
|
|
21
21
|
import { ElDatePicker } from "element-plus";
|
|
22
22
|
const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
|
|
23
23
|
name: "JkyFormItemDatePicker"
|
|
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
34
34
|
setup(__props, { emit: __emit }) {
|
|
35
35
|
const props = __props;
|
|
36
36
|
const emit = __emit;
|
|
37
|
+
const slots = useSlots();
|
|
37
38
|
const datepickerProps = computed(() => {
|
|
38
39
|
var _a, _b;
|
|
39
40
|
return __spreadProps(__spreadValues({
|
|
@@ -45,11 +46,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
45
46
|
disabled: (_b = (_a = props.componentProps) == null ? void 0 : _a.disabled) != null ? _b : props.disabled
|
|
46
47
|
});
|
|
47
48
|
});
|
|
49
|
+
function getSlotNames() {
|
|
50
|
+
return Object.keys(slots);
|
|
51
|
+
}
|
|
52
|
+
function getComponentSlotNames() {
|
|
53
|
+
return Object.keys(props.componentSlots || {});
|
|
54
|
+
}
|
|
48
55
|
return (_ctx, _cache) => {
|
|
49
56
|
return openBlock(), createBlock(unref(ElDatePicker), mergeProps(datepickerProps.value, {
|
|
50
57
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
|
|
51
58
|
}), createSlots({ _: 2 }, [
|
|
52
|
-
renderList(
|
|
59
|
+
renderList(getSlotNames(), (name) => {
|
|
53
60
|
return {
|
|
54
61
|
name,
|
|
55
62
|
fn: withCtx((slotData) => [
|
|
@@ -57,7 +64,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
57
64
|
])
|
|
58
65
|
};
|
|
59
66
|
}),
|
|
60
|
-
renderList(
|
|
67
|
+
renderList(getComponentSlotNames(), (name) => {
|
|
61
68
|
return {
|
|
62
69
|
name,
|
|
63
70
|
fn: withCtx((slotData) => [
|
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { defineComponent, computed, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, createSlots, withCtx, renderSlot, createElementBlock, Fragment, createTextVNode, toDisplayString, renderList, resolveDynamicComponent } from "vue";
|
|
20
|
+
import { defineComponent, useSlots, computed, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, createSlots, withCtx, renderSlot, createElementBlock, Fragment, createTextVNode, toDisplayString, renderList, resolveDynamicComponent } from "vue";
|
|
21
21
|
import { ElDivider } from "element-plus";
|
|
22
22
|
const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
|
|
23
23
|
name: "JkyFormItemDivider"
|
|
@@ -32,7 +32,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
32
32
|
},
|
|
33
33
|
setup(__props) {
|
|
34
34
|
const props = __props;
|
|
35
|
+
const slots = useSlots();
|
|
35
36
|
const dividerProps = computed(() => __spreadValues({}, props.componentProps));
|
|
37
|
+
function getSlotNames() {
|
|
38
|
+
return Object.keys(slots);
|
|
39
|
+
}
|
|
40
|
+
function getComponentSlotNames() {
|
|
41
|
+
return Object.keys(props.componentSlots || {});
|
|
42
|
+
}
|
|
36
43
|
return (_ctx, _cache) => {
|
|
37
44
|
return openBlock(), createBlock(unref(ElDivider), normalizeProps(guardReactiveProps(dividerProps.value)), createSlots({
|
|
38
45
|
default: withCtx(() => [
|
|
@@ -42,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
42
49
|
]),
|
|
43
50
|
_: 2
|
|
44
51
|
}, [
|
|
45
|
-
renderList(
|
|
52
|
+
renderList(getSlotNames(), (name) => {
|
|
46
53
|
return {
|
|
47
54
|
name,
|
|
48
55
|
fn: withCtx((slotData) => [
|
|
@@ -50,7 +57,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
50
57
|
])
|
|
51
58
|
};
|
|
52
59
|
}),
|
|
53
|
-
renderList(
|
|
60
|
+
renderList(getComponentSlotNames(), (name) => {
|
|
54
61
|
return {
|
|
55
62
|
name,
|
|
56
63
|
fn: withCtx((slotData) => [
|
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, createVNode, createTextVNode, renderList, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
|
|
20
|
+
import { defineComponent, useSlots, computed, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, createVNode, createTextVNode, renderList, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent } from "vue";
|
|
21
21
|
import { ElUpload, ElButton } from "element-plus";
|
|
22
22
|
const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
|
|
23
23
|
name: "JkyFormItemFileUpload"
|
|
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
34
34
|
setup(__props, { emit: __emit }) {
|
|
35
35
|
const props = __props;
|
|
36
36
|
const emit = __emit;
|
|
37
|
+
const slots = useSlots();
|
|
37
38
|
const uploadProps = computed(() => {
|
|
38
39
|
var _a, _b;
|
|
39
40
|
return __spreadProps(__spreadValues({}, props.componentProps), {
|
|
@@ -44,6 +45,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
44
45
|
});
|
|
45
46
|
});
|
|
46
47
|
const listType = computed(() => props.componentProps.listType || "text");
|
|
48
|
+
function getSlotNames() {
|
|
49
|
+
return Object.keys(slots);
|
|
50
|
+
}
|
|
51
|
+
function getComponentSlotNames() {
|
|
52
|
+
return Object.keys(props.componentSlots || {});
|
|
53
|
+
}
|
|
47
54
|
return (_ctx, _cache) => {
|
|
48
55
|
return openBlock(), createBlock(unref(ElUpload), mergeProps(uploadProps.value, {
|
|
49
56
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
|
|
@@ -60,7 +67,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
60
67
|
]),
|
|
61
68
|
key: "0"
|
|
62
69
|
} : void 0,
|
|
63
|
-
renderList(
|
|
70
|
+
renderList(getSlotNames(), (name) => {
|
|
64
71
|
return {
|
|
65
72
|
name,
|
|
66
73
|
fn: withCtx((slotData) => [
|
|
@@ -68,7 +75,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
68
75
|
])
|
|
69
76
|
};
|
|
70
77
|
}),
|
|
71
|
-
renderList(
|
|
78
|
+
renderList(getComponentSlotNames(), (name) => {
|
|
72
79
|
return {
|
|
73
80
|
name,
|
|
74
81
|
fn: withCtx((slotData) => [
|