jwt-ui 1.10.8-2 → 1.10.8-4
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/lib/jwt-ui.es.js +365 -317
- package/lib/jwt-ui.umd.js +2 -2
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/jwt-ui.es.js
CHANGED
|
@@ -352,7 +352,7 @@ function filterVal(val2, formatType = "", row = {}, item = {}) {
|
|
|
352
352
|
return val2;
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
|
-
const
|
|
355
|
+
const index_vue_vue_type_style_index_0_scoped_899eb264_lang = "";
|
|
356
356
|
const _sfc_main$h = defineComponent({
|
|
357
357
|
name: "JwtColumnItem",
|
|
358
358
|
props: {
|
|
@@ -377,7 +377,7 @@ const _sfc_main$h = defineComponent({
|
|
|
377
377
|
}
|
|
378
378
|
});
|
|
379
379
|
const handleEditRowProp = (e2) => {
|
|
380
|
-
if (e2.key === "Enter" && !e2.isComposing) {
|
|
380
|
+
if ((e2 == null ? void 0 : e2.key) === "Enter" && !e2.isComposing) {
|
|
381
381
|
e2.currentTarget.blur();
|
|
382
382
|
return;
|
|
383
383
|
}
|
|
@@ -412,11 +412,11 @@ const _sfc_main$h = defineComponent({
|
|
|
412
412
|
};
|
|
413
413
|
}
|
|
414
414
|
});
|
|
415
|
-
const _hoisted_1$
|
|
415
|
+
const _hoisted_1$d = {
|
|
416
416
|
key: 0,
|
|
417
417
|
class: "fxm"
|
|
418
418
|
};
|
|
419
|
-
const _hoisted_2$
|
|
419
|
+
const _hoisted_2$8 = {
|
|
420
420
|
key: 0,
|
|
421
421
|
class: "mr4"
|
|
422
422
|
};
|
|
@@ -451,8 +451,8 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
451
451
|
return _ctx.item.dateTimeFormat ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
452
452
|
createTextVNode(toDisplayString(_ctx.filterVal(_ctx.appModel[_ctx.item.prop], _ctx.item.dateTimeFormat, _ctx.row, _ctx.item)), 1)
|
|
453
453
|
], 64)) : _ctx.item.editType ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
454
|
-
_ctx.item.editType === "input" ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
455
|
-
_ctx.item.preUnit ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
454
|
+
_ctx.item.editType === "input" ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
455
|
+
_ctx.item.preUnit ? (openBlock(), createElementBlock("span", _hoisted_2$8, toDisplayString(_ctx.item.preUnit), 1)) : createCommentVNode("", true),
|
|
456
456
|
createVNode(_component_el_input, mergeProps({
|
|
457
457
|
modelValue: _ctx.appModel[_ctx.item.prop],
|
|
458
458
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.appModel[_ctx.item.prop] = $event),
|
|
@@ -495,7 +495,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
495
495
|
key: 5,
|
|
496
496
|
modelValue: _ctx.appModel[_ctx.item.prop],
|
|
497
497
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => _ctx.appModel[_ctx.item.prop] = $event),
|
|
498
|
-
"value-format": "
|
|
498
|
+
"value-format": "YYYY-MM-DD"
|
|
499
499
|
}, _ctx.item.attrs, toHandlers(_ctx.item.formEvents || {}), { onChange: _ctx.handleEditRowProp }), null, 16, ["modelValue", "onChange"])) : _ctx.item.editType === "timePicker" ? (openBlock(), createBlock(_component_el_time_picker, mergeProps({
|
|
500
500
|
key: 6,
|
|
501
501
|
modelValue: _ctx.appModel[_ctx.item.prop],
|
|
@@ -558,7 +558,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
558
558
|
])
|
|
559
559
|
], true);
|
|
560
560
|
}
|
|
561
|
-
const index$h = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-
|
|
561
|
+
const index$h = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-899eb264"]]);
|
|
562
562
|
const __vite_glob_0_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
563
563
|
__proto__: null,
|
|
564
564
|
default: index$h
|
|
@@ -34690,9 +34690,9 @@ const _sfc_main$f = defineComponent({
|
|
|
34690
34690
|
};
|
|
34691
34691
|
}
|
|
34692
34692
|
});
|
|
34693
|
-
const _hoisted_1$
|
|
34693
|
+
const _hoisted_1$c = { ref: "selector" };
|
|
34694
34694
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34695
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34695
|
+
return openBlock(), createElementBlock("div", _hoisted_1$c, null, 512);
|
|
34696
34696
|
}
|
|
34697
34697
|
var Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f]]);
|
|
34698
34698
|
const index_vue_vue_type_style_index_0_scoped_515cc044_lang = "";
|
|
@@ -34853,14 +34853,14 @@ const _sfc_main$e = defineComponent({
|
|
|
34853
34853
|
};
|
|
34854
34854
|
}
|
|
34855
34855
|
});
|
|
34856
|
-
const _hoisted_1$
|
|
34856
|
+
const _hoisted_1$b = {
|
|
34857
34857
|
class: "base-wang-editor-wrapper",
|
|
34858
34858
|
style: { "border": "1px solid #ccc" }
|
|
34859
34859
|
};
|
|
34860
34860
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34861
34861
|
const _component_Toolbar = resolveComponent("Toolbar");
|
|
34862
34862
|
const _component_Editor = resolveComponent("Editor");
|
|
34863
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34863
|
+
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
34864
34864
|
createVNode(_component_Toolbar, {
|
|
34865
34865
|
"default-config": _ctx.toolbarConfig,
|
|
34866
34866
|
editor: _ctx.editorRef,
|
|
@@ -34886,7 +34886,7 @@ const __vite_glob_0_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
34886
34886
|
__proto__: null,
|
|
34887
34887
|
default: index$e
|
|
34888
34888
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
34889
|
-
const
|
|
34889
|
+
const index_vue_vue_type_style_index_0_scoped_26589f39_lang = "";
|
|
34890
34890
|
const _sfc_main$d = defineComponent({
|
|
34891
34891
|
name: "JwtForm",
|
|
34892
34892
|
components: {},
|
|
@@ -34921,12 +34921,13 @@ const _sfc_main$d = defineComponent({
|
|
|
34921
34921
|
setup(props, { emit }) {
|
|
34922
34922
|
const state = reactive({
|
|
34923
34923
|
loading: false,
|
|
34924
|
+
fold: false,
|
|
34924
34925
|
datePickerRange: []
|
|
34925
34926
|
});
|
|
34926
34927
|
const formConfig = computed(() => {
|
|
34927
34928
|
var _a2, _b;
|
|
34928
34929
|
if (props.config) {
|
|
34929
|
-
let result =
|
|
34930
|
+
let result = props.config || {};
|
|
34930
34931
|
if (((_a2 = result == null ? void 0 : result.formList) == null ? void 0 : _a2.length) && F$6.hasArray(result == null ? void 0 : result.formList)) {
|
|
34931
34932
|
result.formList = (_b = result == null ? void 0 : result.formList) == null ? void 0 : _b.map((item) => {
|
|
34932
34933
|
var _a3, _b2, _c2, _d2, _e2, _f2;
|
|
@@ -34965,7 +34966,9 @@ const _sfc_main$d = defineComponent({
|
|
|
34965
34966
|
const appModel = computed({
|
|
34966
34967
|
get: () => {
|
|
34967
34968
|
if (props.modelValue) {
|
|
34969
|
+
console.log("props.modelValue", props.modelValue);
|
|
34968
34970
|
let result = handleFormListData(props.modelValue);
|
|
34971
|
+
console.log("get result :>> ", result);
|
|
34969
34972
|
return result;
|
|
34970
34973
|
} else {
|
|
34971
34974
|
formConfig.value.formList.forEach((item) => {
|
|
@@ -35130,11 +35133,16 @@ const _sfc_main$d = defineComponent({
|
|
|
35130
35133
|
params: formConfig.value.api.detailParams
|
|
35131
35134
|
}).then((res) => {
|
|
35132
35135
|
let result = handleFormListData(res);
|
|
35133
|
-
|
|
35136
|
+
if (F$6.isObject(result)) {
|
|
35137
|
+
appModel.value = result;
|
|
35138
|
+
}
|
|
35134
35139
|
emit("get-detail-success", res);
|
|
35135
35140
|
});
|
|
35136
35141
|
}
|
|
35137
35142
|
};
|
|
35143
|
+
const handleFold = () => {
|
|
35144
|
+
state.fold = !state.fold;
|
|
35145
|
+
};
|
|
35138
35146
|
onBeforeMount(() => {
|
|
35139
35147
|
getDetail();
|
|
35140
35148
|
});
|
|
@@ -35153,10 +35161,13 @@ const _sfc_main$d = defineComponent({
|
|
|
35153
35161
|
getDetail,
|
|
35154
35162
|
datePickerChange,
|
|
35155
35163
|
setDatePickerRange,
|
|
35156
|
-
handleFormListData
|
|
35164
|
+
handleFormListData,
|
|
35165
|
+
handleFold
|
|
35157
35166
|
};
|
|
35158
35167
|
}
|
|
35159
35168
|
});
|
|
35169
|
+
const _hoisted_1$a = { key: 0 };
|
|
35170
|
+
const _hoisted_2$7 = { key: 1 };
|
|
35160
35171
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35161
35172
|
var _a2, _b, _c2;
|
|
35162
35173
|
const _component_el_radio_button = resolveComponent("el-radio-button");
|
|
@@ -35188,9 +35199,10 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35188
35199
|
const _component_el_transfer = resolveComponent("el-transfer");
|
|
35189
35200
|
const _component_jwt_icon_select = resolveComponent("jwt-icon-select");
|
|
35190
35201
|
const _component_jwt_editor = resolveComponent("jwt-editor");
|
|
35191
|
-
const _component_el_button = resolveComponent("el-button");
|
|
35192
35202
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
35193
35203
|
const _component_el_col = resolveComponent("el-col");
|
|
35204
|
+
const _component_el_button = resolveComponent("el-button");
|
|
35205
|
+
const _component_vab_icon = resolveComponent("vab-icon");
|
|
35194
35206
|
const _component_el_row = resolveComponent("el-row");
|
|
35195
35207
|
const _component_el_form = resolveComponent("el-form");
|
|
35196
35208
|
return ((_b = (_a2 = _ctx.formConfig) == null ? void 0 : _a2.formList) == null ? void 0 : _b.length) ? (openBlock(), createBlock(_component_el_form, mergeProps({ key: 0 }, (_c2 = _ctx.formConfig) == null ? void 0 : _c2.formAttrs, {
|
|
@@ -35204,300 +35216,325 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35204
35216
|
var _a3;
|
|
35205
35217
|
return [
|
|
35206
35218
|
(openBlock(true), createElementBlock(Fragment, null, renderList((_a3 = _ctx.formConfig) == null ? void 0 : _a3.formList, (item, index2) => {
|
|
35207
|
-
var _a4, _b2;
|
|
35208
|
-
return openBlock(),
|
|
35209
|
-
|
|
35210
|
-
|
|
35211
|
-
|
|
35212
|
-
|
|
35213
|
-
|
|
35214
|
-
key:
|
|
35215
|
-
|
|
35216
|
-
|
|
35217
|
-
|
|
35218
|
-
|
|
35219
|
-
|
|
35220
|
-
|
|
35221
|
-
|
|
35222
|
-
|
|
35223
|
-
|
|
35224
|
-
|
|
35225
|
-
|
|
35226
|
-
|
|
35227
|
-
|
|
35228
|
-
|
|
35229
|
-
|
|
35230
|
-
|
|
35231
|
-
|
|
35232
|
-
|
|
35233
|
-
|
|
35234
|
-
createTextVNode(toDisplayString(rdo.title), 1)
|
|
35235
|
-
]),
|
|
35236
|
-
_: 2
|
|
35237
|
-
}, 1040);
|
|
35238
|
-
}), 128))
|
|
35239
|
-
]),
|
|
35240
|
-
_: 2
|
|
35241
|
-
}, 1040, ["modelValue", "onUpdate:modelValue"])) : item.type === "checkbox" ? (openBlock(), createBlock(_component_el_checkbox_group, {
|
|
35242
|
-
key: 1,
|
|
35243
|
-
modelValue: _ctx.appModel[item.key],
|
|
35244
|
-
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35245
|
-
}, {
|
|
35246
|
-
default: withCtx(() => [
|
|
35247
|
-
item.isButton ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item.options, (cbx, cid) => {
|
|
35248
|
-
return openBlock(), createBlock(_component_el_checkbox_button, mergeProps(cbx.attrs, { key: cid }), {
|
|
35249
|
-
default: withCtx(() => [
|
|
35250
|
-
createTextVNode(toDisplayString(cbx.title), 1)
|
|
35251
|
-
]),
|
|
35252
|
-
_: 2
|
|
35253
|
-
}, 1040);
|
|
35254
|
-
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(item.options, (cbx, cid) => {
|
|
35255
|
-
return openBlock(), createBlock(_component_el_checkbox, mergeProps(cbx.attrs, {
|
|
35256
|
-
key: cid,
|
|
35257
|
-
label: cbx.value
|
|
35258
|
-
}), {
|
|
35259
|
-
default: withCtx(() => [
|
|
35260
|
-
createTextVNode(toDisplayString(cbx.title || cbx.label), 1)
|
|
35261
|
-
]),
|
|
35262
|
-
_: 2
|
|
35263
|
-
}, 1040, ["label"]);
|
|
35264
|
-
}), 128))
|
|
35265
|
-
]),
|
|
35266
|
-
_: 2
|
|
35267
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"])) : item.type === "hidden" ? (openBlock(), createBlock(_component_el_input, mergeProps({
|
|
35268
|
-
key: 2,
|
|
35269
|
-
modelValue: _ctx.appModel[item.key],
|
|
35270
|
-
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event,
|
|
35271
|
-
type: "hidden"
|
|
35272
|
-
}, item.formAttrs, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "input" ? (openBlock(), createBlock(_component_el_input, mergeProps({
|
|
35273
|
-
key: 3,
|
|
35274
|
-
modelValue: _ctx.appModel[item.key],
|
|
35275
|
-
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35276
|
-
}, item.formAttrs, toHandlers(item.formEvents)), createSlots({ _: 2 }, [
|
|
35277
|
-
item.formSlot && item.formSlot.prefix ? {
|
|
35278
|
-
name: "prefix",
|
|
35279
|
-
fn: withCtx(() => [
|
|
35280
|
-
renderSlot(_ctx.$slots, item.formSlot.prefix, {}, void 0, true)
|
|
35281
|
-
]),
|
|
35282
|
-
key: "0"
|
|
35283
|
-
} : void 0,
|
|
35284
|
-
item.formSlot && item.formSlot.suffix ? {
|
|
35285
|
-
name: "suffix",
|
|
35286
|
-
fn: withCtx(() => [
|
|
35287
|
-
renderSlot(_ctx.$slots, item.formSlot.suffix, {}, void 0, true)
|
|
35288
|
-
]),
|
|
35289
|
-
key: "1"
|
|
35290
|
-
} : void 0,
|
|
35291
|
-
item.formSlot && item.formSlot.prepend ? {
|
|
35292
|
-
name: "prepend",
|
|
35293
|
-
fn: withCtx(() => [
|
|
35294
|
-
renderSlot(_ctx.$slots, item.formSlot.prepend, {}, void 0, true)
|
|
35295
|
-
]),
|
|
35296
|
-
key: "2"
|
|
35297
|
-
} : void 0,
|
|
35298
|
-
item.formSlot && item.formSlot.append ? {
|
|
35299
|
-
name: "append",
|
|
35300
|
-
fn: withCtx(() => [
|
|
35301
|
-
renderSlot(_ctx.$slots, item.formSlot.append, {}, void 0, true)
|
|
35302
|
-
]),
|
|
35303
|
-
key: "3"
|
|
35304
|
-
} : void 0
|
|
35305
|
-
]), 1040, ["modelValue", "onUpdate:modelValue"])) : item.type === "autocomplete" ? (openBlock(), createBlock(_component_el_autocomplete, mergeProps({
|
|
35306
|
-
key: 4,
|
|
35307
|
-
modelValue: _ctx.appModel[item.key],
|
|
35308
|
-
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35309
|
-
}, item.formAttrs, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "inputNumber" ? (openBlock(), createBlock(_component_el_input_number, mergeProps({
|
|
35310
|
-
key: 5,
|
|
35311
|
-
modelValue: _ctx.appModel[item.key],
|
|
35312
|
-
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event,
|
|
35313
|
-
"controls-position": "right"
|
|
35314
|
-
}, item.formAttrs, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "select" ? (openBlock(), createBlock(_component_el_select, mergeProps({
|
|
35315
|
-
key: 6,
|
|
35316
|
-
modelValue: _ctx.appModel[item.key],
|
|
35317
|
-
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35318
|
-
}, item.formAttrs, toHandlers(item.formEvents)), createSlots({
|
|
35319
|
-
default: withCtx(() => [
|
|
35320
|
-
item.formSlot && item.formSlot.default ? renderSlot(_ctx.$slots, item.formSlot.default, { key: 0 }, void 0, true) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
35321
|
-
item.isGroup ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item.options, (group, gid) => {
|
|
35322
|
-
return openBlock(), createBlock(_component_el_option_group, {
|
|
35323
|
-
key: gid,
|
|
35324
|
-
disabled: group.disabled,
|
|
35325
|
-
label: group.label
|
|
35326
|
-
}, {
|
|
35219
|
+
var _a4, _b2, _c3, _d2;
|
|
35220
|
+
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
35221
|
+
item.type != "submit" ? withDirectives((openBlock(), createBlock(_component_el_col, mergeProps({
|
|
35222
|
+
key: 0,
|
|
35223
|
+
class: [((_b2 = (_a4 = _ctx.formConfig) == null ? void 0 : _a4.formAttrs) == null ? void 0 : _b2.inline) ? "el-col-dl" : "db"]
|
|
35224
|
+
}, item == null ? void 0 : item.layoutAttrs), {
|
|
35225
|
+
default: withCtx(() => [
|
|
35226
|
+
item.type !== "slot" ? (openBlock(), createBlock(_component_el_form_item, mergeProps({ key: 0 }, item.labelAttrs, {
|
|
35227
|
+
key: index2,
|
|
35228
|
+
prop: item.key
|
|
35229
|
+
}), {
|
|
35230
|
+
default: withCtx(() => [
|
|
35231
|
+
item.type === "radio" ? (openBlock(), createBlock(_component_el_radio_group, mergeProps({
|
|
35232
|
+
key: 0,
|
|
35233
|
+
modelValue: _ctx.appModel[item.key],
|
|
35234
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35235
|
+
}, item.formAttrs, toHandlers(item.formEvents)), {
|
|
35236
|
+
default: withCtx(() => [
|
|
35237
|
+
item.isButton ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item.options, (rdo, rid) => {
|
|
35238
|
+
return openBlock(), createBlock(_component_el_radio_button, mergeProps(rdo.attrs, { key: rid }, toHandlers(rdo.events)), {
|
|
35239
|
+
default: withCtx(() => [
|
|
35240
|
+
createTextVNode(toDisplayString(rdo.title), 1)
|
|
35241
|
+
]),
|
|
35242
|
+
_: 2
|
|
35243
|
+
}, 1040);
|
|
35244
|
+
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(item.options, (rdo, rid) => {
|
|
35245
|
+
return openBlock(), createBlock(_component_el_radio, mergeProps(rdo.attrs, { key: rid }, toHandlers(rdo.events)), {
|
|
35327
35246
|
default: withCtx(() => [
|
|
35328
|
-
(
|
|
35329
|
-
return openBlock(), createBlock(_component_el_option, mergeProps(slt, { key: sid }), null, 16);
|
|
35330
|
-
}), 128))
|
|
35247
|
+
createTextVNode(toDisplayString(rdo.title), 1)
|
|
35331
35248
|
]),
|
|
35332
35249
|
_: 2
|
|
35333
|
-
},
|
|
35334
|
-
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(item.options, (slt, sid) => {
|
|
35335
|
-
return openBlock(), createBlock(_component_el_option, mergeProps(slt, { key: sid }), null, 16);
|
|
35250
|
+
}, 1040);
|
|
35336
35251
|
}), 128))
|
|
35337
|
-
], 64))
|
|
35338
|
-
]),
|
|
35339
|
-
_: 2
|
|
35340
|
-
}, [
|
|
35341
|
-
item.formSlot && item.formSlot.prefix ? {
|
|
35342
|
-
name: "prefix",
|
|
35343
|
-
fn: withCtx(() => [
|
|
35344
|
-
renderSlot(_ctx.$slots, item.formSlot.prefix, {}, void 0, true)
|
|
35345
|
-
]),
|
|
35346
|
-
key: "0"
|
|
35347
|
-
} : void 0,
|
|
35348
|
-
item.formSlot && item.formSlot.empty ? {
|
|
35349
|
-
name: "empty",
|
|
35350
|
-
fn: withCtx(() => [
|
|
35351
|
-
renderSlot(_ctx.$slots, item.formSlot.empty, {}, void 0, true)
|
|
35352
35252
|
]),
|
|
35353
|
-
|
|
35354
|
-
} :
|
|
35355
|
-
|
|
35356
|
-
|
|
35357
|
-
|
|
35358
|
-
|
|
35359
|
-
|
|
35360
|
-
|
|
35361
|
-
|
|
35362
|
-
|
|
35363
|
-
|
|
35364
|
-
|
|
35365
|
-
|
|
35366
|
-
|
|
35367
|
-
|
|
35368
|
-
|
|
35369
|
-
|
|
35370
|
-
|
|
35371
|
-
|
|
35372
|
-
|
|
35373
|
-
|
|
35374
|
-
|
|
35375
|
-
|
|
35376
|
-
|
|
35377
|
-
|
|
35378
|
-
} : void 0,
|
|
35379
|
-
item.formSlot && item.formSlot.empty ? {
|
|
35380
|
-
name: "empty",
|
|
35381
|
-
fn: withCtx(() => [
|
|
35382
|
-
renderSlot(_ctx.$slots, item.formSlot.empty, {}, void 0, true)
|
|
35383
|
-
]),
|
|
35384
|
-
key: "1"
|
|
35385
|
-
} : void 0
|
|
35386
|
-
]), 1040, ["modelValue", "onUpdate:modelValue", "onChange"])) : item.type === "cascaderServer" ? (openBlock(), createBlock(_component_jwt_cascader_server, mergeProps({
|
|
35387
|
-
key: 9,
|
|
35388
|
-
modelValue: _ctx.appModel[item.key],
|
|
35389
|
-
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35390
|
-
}, item.formAttrs, {
|
|
35391
|
-
"fill-url": _ctx.fillUrl,
|
|
35392
|
-
request: _ctx.request
|
|
35393
|
-
}, toHandlers(item.formEvents), {
|
|
35394
|
-
onChange: ($event) => _ctx.handleCascaderChange($event, item.key, item)
|
|
35395
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "fill-url", "request", "onChange"])) : item.type === "cascaderPanel" ? (openBlock(), createBlock(_component_el_cascader_panel, mergeProps({
|
|
35396
|
-
key: 10,
|
|
35397
|
-
modelValue: _ctx.appModel[item.key],
|
|
35398
|
-
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35399
|
-
}, item.formAttrs, toHandlers(item.formEvents)), createSlots({ _: 2 }, [
|
|
35400
|
-
item.formSlot && item.formSlot.default ? {
|
|
35401
|
-
name: "default",
|
|
35402
|
-
fn: withCtx(({ node, data }) => [
|
|
35403
|
-
renderSlot(_ctx.$slots, item.formSlot.default, {
|
|
35404
|
-
data,
|
|
35405
|
-
node
|
|
35406
|
-
}, void 0, true)
|
|
35407
|
-
]),
|
|
35408
|
-
key: "0"
|
|
35409
|
-
} : void 0
|
|
35410
|
-
]), 1040, ["modelValue", "onUpdate:modelValue"])) : item.type === "switch" ? (openBlock(), createBlock(_component_el_switch, mergeProps({
|
|
35411
|
-
key: 11,
|
|
35412
|
-
modelValue: _ctx.appModel[item.key],
|
|
35413
|
-
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35414
|
-
}, item.formAttrs, {
|
|
35415
|
-
"active-value": 1,
|
|
35416
|
-
"inactive-value": 0
|
|
35417
|
-
}, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "slider" ? (openBlock(), createBlock(_component_el_slider, mergeProps({
|
|
35418
|
-
key: 12,
|
|
35419
|
-
modelValue: _ctx.appModel[item.key],
|
|
35420
|
-
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35421
|
-
}, item.formAttrs, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "timePicker" ? (openBlock(), createBlock(_component_el_time_picker, mergeProps({
|
|
35422
|
-
key: 13,
|
|
35423
|
-
modelValue: _ctx.appModel[item.key],
|
|
35424
|
-
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35425
|
-
}, item.formAttrs, { "value-format": "HH:mm:ss" }, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "timeSelect" ? (openBlock(), createBlock(_component_el_time_select, mergeProps({
|
|
35426
|
-
key: 14,
|
|
35427
|
-
modelValue: _ctx.appModel[item.key],
|
|
35428
|
-
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35429
|
-
}, item.formAttrs, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "datePicker" ? (openBlock(), createBlock(_component_el_date_picker, mergeProps({
|
|
35430
|
-
key: 15,
|
|
35431
|
-
modelValue: _ctx.appModel[item.key],
|
|
35432
|
-
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35433
|
-
}, item.formAttrs, toHandlers(item.formEvents)), createSlots({ _: 2 }, [
|
|
35434
|
-
item.formSlot && item.formSlot.rangeSeparator ? {
|
|
35435
|
-
name: "range-separator",
|
|
35436
|
-
fn: withCtx(() => [
|
|
35437
|
-
renderSlot(_ctx.$slots, item.formSlot.rangeSeparator, {}, void 0, true)
|
|
35438
|
-
]),
|
|
35439
|
-
key: "0"
|
|
35440
|
-
} : void 0
|
|
35441
|
-
]), 1040, ["modelValue", "onUpdate:modelValue"])) : item.type === "datePickerRange" ? (openBlock(), createBlock(_component_el_date_picker, mergeProps({
|
|
35442
|
-
key: 16,
|
|
35443
|
-
modelValue: _ctx.datePickerRange,
|
|
35444
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.datePickerRange = $event)
|
|
35445
|
-
}, item.formAttrs, toHandlers(item.formEvents), {
|
|
35446
|
-
onChange: ($event) => _ctx.datePickerChange($event, item)
|
|
35447
|
-
}), createSlots({ _: 2 }, [
|
|
35448
|
-
item.formSlot && item.formSlot.rangeSeparator ? {
|
|
35449
|
-
name: "range-separator",
|
|
35450
|
-
fn: withCtx(() => [
|
|
35451
|
-
renderSlot(_ctx.$slots, item.formSlot.rangeSeparator, {}, void 0, true)
|
|
35253
|
+
_: 2
|
|
35254
|
+
}, 1040, ["modelValue", "onUpdate:modelValue"])) : item.type === "checkbox" ? (openBlock(), createBlock(_component_el_checkbox_group, {
|
|
35255
|
+
key: 1,
|
|
35256
|
+
modelValue: _ctx.appModel[item.key],
|
|
35257
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35258
|
+
}, {
|
|
35259
|
+
default: withCtx(() => [
|
|
35260
|
+
item.isButton ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item.options, (cbx, cid) => {
|
|
35261
|
+
return openBlock(), createBlock(_component_el_checkbox_button, mergeProps(cbx.attrs, { key: cid }), {
|
|
35262
|
+
default: withCtx(() => [
|
|
35263
|
+
createTextVNode(toDisplayString(cbx.title), 1)
|
|
35264
|
+
]),
|
|
35265
|
+
_: 2
|
|
35266
|
+
}, 1040);
|
|
35267
|
+
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(item.options, (cbx, cid) => {
|
|
35268
|
+
return openBlock(), createBlock(_component_el_checkbox, mergeProps(cbx.attrs, {
|
|
35269
|
+
key: cid,
|
|
35270
|
+
label: cbx.value
|
|
35271
|
+
}), {
|
|
35272
|
+
default: withCtx(() => [
|
|
35273
|
+
createTextVNode(toDisplayString(cbx.title || cbx.label), 1)
|
|
35274
|
+
]),
|
|
35275
|
+
_: 2
|
|
35276
|
+
}, 1040, ["label"]);
|
|
35277
|
+
}), 128))
|
|
35452
35278
|
]),
|
|
35453
|
-
|
|
35454
|
-
} :
|
|
35455
|
-
|
|
35456
|
-
|
|
35457
|
-
|
|
35458
|
-
|
|
35459
|
-
|
|
35460
|
-
|
|
35461
|
-
|
|
35462
|
-
|
|
35463
|
-
|
|
35464
|
-
|
|
35465
|
-
|
|
35466
|
-
|
|
35467
|
-
|
|
35468
|
-
|
|
35469
|
-
|
|
35470
|
-
|
|
35471
|
-
|
|
35472
|
-
|
|
35473
|
-
|
|
35474
|
-
|
|
35475
|
-
|
|
35476
|
-
|
|
35477
|
-
|
|
35478
|
-
|
|
35479
|
-
|
|
35480
|
-
|
|
35481
|
-
|
|
35482
|
-
|
|
35483
|
-
|
|
35484
|
-
|
|
35485
|
-
|
|
35486
|
-
|
|
35487
|
-
|
|
35488
|
-
|
|
35279
|
+
_: 2
|
|
35280
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])) : item.type === "hidden" ? (openBlock(), createBlock(_component_el_input, mergeProps({
|
|
35281
|
+
key: 2,
|
|
35282
|
+
modelValue: _ctx.appModel[item.key],
|
|
35283
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event,
|
|
35284
|
+
type: "hidden"
|
|
35285
|
+
}, item.formAttrs, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "input" ? (openBlock(), createBlock(_component_el_input, mergeProps({
|
|
35286
|
+
key: 3,
|
|
35287
|
+
modelValue: _ctx.appModel[item.key],
|
|
35288
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35289
|
+
}, item.formAttrs, toHandlers(item.formEvents)), createSlots({ _: 2 }, [
|
|
35290
|
+
item.formSlot && item.formSlot.prefix ? {
|
|
35291
|
+
name: "prefix",
|
|
35292
|
+
fn: withCtx(() => [
|
|
35293
|
+
renderSlot(_ctx.$slots, item.formSlot.prefix, {}, void 0, true)
|
|
35294
|
+
]),
|
|
35295
|
+
key: "0"
|
|
35296
|
+
} : void 0,
|
|
35297
|
+
item.formSlot && item.formSlot.suffix ? {
|
|
35298
|
+
name: "suffix",
|
|
35299
|
+
fn: withCtx(() => [
|
|
35300
|
+
renderSlot(_ctx.$slots, item.formSlot.suffix, {}, void 0, true)
|
|
35301
|
+
]),
|
|
35302
|
+
key: "1"
|
|
35303
|
+
} : void 0,
|
|
35304
|
+
item.formSlot && item.formSlot.prepend ? {
|
|
35305
|
+
name: "prepend",
|
|
35306
|
+
fn: withCtx(() => [
|
|
35307
|
+
renderSlot(_ctx.$slots, item.formSlot.prepend, {}, void 0, true)
|
|
35308
|
+
]),
|
|
35309
|
+
key: "2"
|
|
35310
|
+
} : void 0,
|
|
35311
|
+
item.formSlot && item.formSlot.append ? {
|
|
35312
|
+
name: "append",
|
|
35313
|
+
fn: withCtx(() => [
|
|
35314
|
+
renderSlot(_ctx.$slots, item.formSlot.append, {}, void 0, true)
|
|
35315
|
+
]),
|
|
35316
|
+
key: "3"
|
|
35317
|
+
} : void 0
|
|
35318
|
+
]), 1040, ["modelValue", "onUpdate:modelValue"])) : item.type === "autocomplete" ? (openBlock(), createBlock(_component_el_autocomplete, mergeProps({
|
|
35319
|
+
key: 4,
|
|
35320
|
+
modelValue: _ctx.appModel[item.key],
|
|
35321
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35322
|
+
}, item.formAttrs, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "inputNumber" ? (openBlock(), createBlock(_component_el_input_number, mergeProps({
|
|
35323
|
+
key: 5,
|
|
35324
|
+
modelValue: _ctx.appModel[item.key],
|
|
35325
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event,
|
|
35326
|
+
"controls-position": "right"
|
|
35327
|
+
}, item.formAttrs, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "select" ? (openBlock(), createBlock(_component_el_select, mergeProps({
|
|
35328
|
+
key: 6,
|
|
35329
|
+
modelValue: _ctx.appModel[item.key],
|
|
35330
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35331
|
+
}, item.formAttrs, toHandlers(item.formEvents)), createSlots({
|
|
35332
|
+
default: withCtx(() => [
|
|
35333
|
+
item.formSlot && item.formSlot.default ? renderSlot(_ctx.$slots, item.formSlot.default, { key: 0 }, void 0, true) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
35334
|
+
item.isGroup ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item.options, (group, gid) => {
|
|
35335
|
+
return openBlock(), createBlock(_component_el_option_group, {
|
|
35336
|
+
key: gid,
|
|
35337
|
+
disabled: group.disabled,
|
|
35338
|
+
label: group.label
|
|
35339
|
+
}, {
|
|
35340
|
+
default: withCtx(() => [
|
|
35341
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(group.options, (slt, sid) => {
|
|
35342
|
+
return openBlock(), createBlock(_component_el_option, mergeProps(slt, { key: sid }), null, 16);
|
|
35343
|
+
}), 128))
|
|
35344
|
+
]),
|
|
35345
|
+
_: 2
|
|
35346
|
+
}, 1032, ["disabled", "label"]);
|
|
35347
|
+
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(item.options, (slt, sid) => {
|
|
35348
|
+
return openBlock(), createBlock(_component_el_option, mergeProps(slt, { key: sid }), null, 16);
|
|
35349
|
+
}), 128))
|
|
35350
|
+
], 64))
|
|
35489
35351
|
]),
|
|
35490
|
-
|
|
35491
|
-
}
|
|
35492
|
-
|
|
35493
|
-
|
|
35494
|
-
|
|
35495
|
-
|
|
35496
|
-
|
|
35497
|
-
|
|
35498
|
-
|
|
35499
|
-
|
|
35500
|
-
|
|
35352
|
+
_: 2
|
|
35353
|
+
}, [
|
|
35354
|
+
item.formSlot && item.formSlot.prefix ? {
|
|
35355
|
+
name: "prefix",
|
|
35356
|
+
fn: withCtx(() => [
|
|
35357
|
+
renderSlot(_ctx.$slots, item.formSlot.prefix, {}, void 0, true)
|
|
35358
|
+
]),
|
|
35359
|
+
key: "0"
|
|
35360
|
+
} : void 0,
|
|
35361
|
+
item.formSlot && item.formSlot.empty ? {
|
|
35362
|
+
name: "empty",
|
|
35363
|
+
fn: withCtx(() => [
|
|
35364
|
+
renderSlot(_ctx.$slots, item.formSlot.empty, {}, void 0, true)
|
|
35365
|
+
]),
|
|
35366
|
+
key: "1"
|
|
35367
|
+
} : void 0
|
|
35368
|
+
]), 1040, ["modelValue", "onUpdate:modelValue"])) : item.type === "selectServer" ? (openBlock(), createBlock(_component_jwt_select_server, mergeProps({
|
|
35369
|
+
key: 7,
|
|
35370
|
+
modelValue: _ctx.appModel[item.key],
|
|
35371
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35372
|
+
}, item.formAttrs, {
|
|
35373
|
+
"fill-url": _ctx.fillUrl,
|
|
35374
|
+
request: _ctx.request
|
|
35375
|
+
}, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue", "fill-url", "request"])) : item.type === "cascader" ? (openBlock(), createBlock(_component_el_cascader, mergeProps({
|
|
35376
|
+
key: 8,
|
|
35377
|
+
modelValue: _ctx.appModel[item.key],
|
|
35378
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35379
|
+
}, item.formAttrs, { class: "w" }, toHandlers(item.formEvents), {
|
|
35380
|
+
onChange: ($event) => _ctx.handleCascaderChange($event, item.key, item)
|
|
35381
|
+
}), createSlots({ _: 2 }, [
|
|
35382
|
+
item.formSlot && item.formSlot.default ? {
|
|
35383
|
+
name: "default",
|
|
35384
|
+
fn: withCtx(({ node, data }) => [
|
|
35385
|
+
renderSlot(_ctx.$slots, item.formSlot.default, {
|
|
35386
|
+
data,
|
|
35387
|
+
node
|
|
35388
|
+
}, void 0, true)
|
|
35389
|
+
]),
|
|
35390
|
+
key: "0"
|
|
35391
|
+
} : void 0,
|
|
35392
|
+
item.formSlot && item.formSlot.empty ? {
|
|
35393
|
+
name: "empty",
|
|
35394
|
+
fn: withCtx(() => [
|
|
35395
|
+
renderSlot(_ctx.$slots, item.formSlot.empty, {}, void 0, true)
|
|
35396
|
+
]),
|
|
35397
|
+
key: "1"
|
|
35398
|
+
} : void 0
|
|
35399
|
+
]), 1040, ["modelValue", "onUpdate:modelValue", "onChange"])) : item.type === "cascaderServer" ? (openBlock(), createBlock(_component_jwt_cascader_server, mergeProps({
|
|
35400
|
+
key: 9,
|
|
35401
|
+
modelValue: _ctx.appModel[item.key],
|
|
35402
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35403
|
+
}, item.formAttrs, {
|
|
35404
|
+
"fill-url": _ctx.fillUrl,
|
|
35405
|
+
request: _ctx.request
|
|
35406
|
+
}, toHandlers(item.formEvents), {
|
|
35407
|
+
onChange: ($event) => _ctx.handleCascaderChange($event, item.key, item)
|
|
35408
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "fill-url", "request", "onChange"])) : item.type === "cascaderPanel" ? (openBlock(), createBlock(_component_el_cascader_panel, mergeProps({
|
|
35409
|
+
key: 10,
|
|
35410
|
+
modelValue: _ctx.appModel[item.key],
|
|
35411
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35412
|
+
}, item.formAttrs, toHandlers(item.formEvents)), createSlots({ _: 2 }, [
|
|
35413
|
+
item.formSlot && item.formSlot.default ? {
|
|
35414
|
+
name: "default",
|
|
35415
|
+
fn: withCtx(({ node, data }) => [
|
|
35416
|
+
renderSlot(_ctx.$slots, item.formSlot.default, {
|
|
35417
|
+
data,
|
|
35418
|
+
node
|
|
35419
|
+
}, void 0, true)
|
|
35420
|
+
]),
|
|
35421
|
+
key: "0"
|
|
35422
|
+
} : void 0
|
|
35423
|
+
]), 1040, ["modelValue", "onUpdate:modelValue"])) : item.type === "switch" ? (openBlock(), createBlock(_component_el_switch, mergeProps({
|
|
35424
|
+
key: 11,
|
|
35425
|
+
modelValue: _ctx.appModel[item.key],
|
|
35426
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35427
|
+
}, item.formAttrs, {
|
|
35428
|
+
"active-value": 1,
|
|
35429
|
+
"inactive-value": 0
|
|
35430
|
+
}, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "slider" ? (openBlock(), createBlock(_component_el_slider, mergeProps({
|
|
35431
|
+
key: 12,
|
|
35432
|
+
modelValue: _ctx.appModel[item.key],
|
|
35433
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35434
|
+
}, item.formAttrs, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "timePicker" ? (openBlock(), createBlock(_component_el_time_picker, mergeProps({
|
|
35435
|
+
key: 13,
|
|
35436
|
+
modelValue: _ctx.appModel[item.key],
|
|
35437
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35438
|
+
}, item.formAttrs, { "value-format": "HH:mm:ss" }, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "timeSelect" ? (openBlock(), createBlock(_component_el_time_select, mergeProps({
|
|
35439
|
+
key: 14,
|
|
35440
|
+
modelValue: _ctx.appModel[item.key],
|
|
35441
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35442
|
+
}, item.formAttrs, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "datePicker" ? (openBlock(), createBlock(_component_el_date_picker, mergeProps({
|
|
35443
|
+
key: 15,
|
|
35444
|
+
modelValue: _ctx.appModel[item.key],
|
|
35445
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35446
|
+
}, item.formAttrs, toHandlers(item.formEvents)), createSlots({ _: 2 }, [
|
|
35447
|
+
item.formSlot && item.formSlot.rangeSeparator ? {
|
|
35448
|
+
name: "range-separator",
|
|
35449
|
+
fn: withCtx(() => [
|
|
35450
|
+
renderSlot(_ctx.$slots, item.formSlot.rangeSeparator, {}, void 0, true)
|
|
35451
|
+
]),
|
|
35452
|
+
key: "0"
|
|
35453
|
+
} : void 0
|
|
35454
|
+
]), 1040, ["modelValue", "onUpdate:modelValue"])) : item.type === "datePickerRange" ? (openBlock(), createBlock(_component_el_date_picker, mergeProps({
|
|
35455
|
+
key: 16,
|
|
35456
|
+
modelValue: _ctx.datePickerRange,
|
|
35457
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.datePickerRange = $event)
|
|
35458
|
+
}, item.formAttrs, toHandlers(item.formEvents), {
|
|
35459
|
+
onChange: ($event) => _ctx.datePickerChange($event, item)
|
|
35460
|
+
}), createSlots({ _: 2 }, [
|
|
35461
|
+
item.formSlot && item.formSlot.rangeSeparator ? {
|
|
35462
|
+
name: "range-separator",
|
|
35463
|
+
fn: withCtx(() => [
|
|
35464
|
+
renderSlot(_ctx.$slots, item.formSlot.rangeSeparator, {}, void 0, true)
|
|
35465
|
+
]),
|
|
35466
|
+
key: "0"
|
|
35467
|
+
} : void 0
|
|
35468
|
+
]), 1040, ["modelValue", "onChange"])) : item.type === "uploadImg" ? (openBlock(), createBlock(_component_jwt_upload_image, mergeProps({
|
|
35469
|
+
key: 17,
|
|
35470
|
+
modelValue: _ctx.appModel[item.key],
|
|
35471
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35472
|
+
}, item.formAttrs, {
|
|
35473
|
+
"fill-url": _ctx.fillUrl,
|
|
35474
|
+
"response-key": _ctx.responseKey,
|
|
35475
|
+
"translate-title": _ctx.translateTitle,
|
|
35476
|
+
"upload-url": _ctx.uploadImgUrl
|
|
35477
|
+
}, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue", "fill-url", "response-key", "translate-title", "upload-url"])) : item.type === "tag" ? (openBlock(), createBlock(_component_jwt_tags, mergeProps({
|
|
35478
|
+
key: 18,
|
|
35479
|
+
modelValue: _ctx.appModel[item.key],
|
|
35480
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35481
|
+
}, item.formAttrs, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "rate" ? (openBlock(), createBlock(_component_el_rate, mergeProps({
|
|
35482
|
+
key: 19,
|
|
35483
|
+
modelValue: _ctx.appModel[item.key],
|
|
35484
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35485
|
+
}, item.formAttrs, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "baseRate" ? (openBlock(), createBlock(_component_jwt_rate_icon, mergeProps({
|
|
35486
|
+
key: 20,
|
|
35487
|
+
modelValue: _ctx.appModel[item.key],
|
|
35488
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35489
|
+
}, item.formAttrs, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "colorPicker" ? (openBlock(), createBlock(_component_el_color_picker, mergeProps({
|
|
35490
|
+
key: 21,
|
|
35491
|
+
modelValue: _ctx.appModel[item.key],
|
|
35492
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35493
|
+
}, item.formAttrs, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "transfer" ? (openBlock(), createBlock(_component_el_transfer, mergeProps({
|
|
35494
|
+
key: 22,
|
|
35495
|
+
modelValue: _ctx.appModel[item.key],
|
|
35496
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35497
|
+
}, item.formAttrs, toHandlers(item.formEvents)), createSlots({ _: 2 }, [
|
|
35498
|
+
item.formSlot && item.formSlot.default ? {
|
|
35499
|
+
name: "default",
|
|
35500
|
+
fn: withCtx(({ option }) => [
|
|
35501
|
+
renderSlot(_ctx.$slots, item.formSlot.default, { option }, void 0, true)
|
|
35502
|
+
]),
|
|
35503
|
+
key: "0"
|
|
35504
|
+
} : void 0
|
|
35505
|
+
]), 1040, ["modelValue", "onUpdate:modelValue"])) : item.type === "icon" ? (openBlock(), createBlock(_component_jwt_icon_select, mergeProps({
|
|
35506
|
+
key: 23,
|
|
35507
|
+
modelValue: _ctx.appModel[item.key],
|
|
35508
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35509
|
+
}, item.formAttrs, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue"])) : item.type === "richText" ? (openBlock(), createBlock(_component_jwt_editor, mergeProps({
|
|
35510
|
+
key: 24,
|
|
35511
|
+
modelValue: _ctx.appModel[item.key],
|
|
35512
|
+
"onUpdate:modelValue": ($event) => _ctx.appModel[item.key] = $event
|
|
35513
|
+
}, item.formAttrs, { "upload-url": _ctx.uploadRichTextUrl }, toHandlers(item.formEvents)), null, 16, ["modelValue", "onUpdate:modelValue", "upload-url"])) : createCommentVNode("", true)
|
|
35514
|
+
]),
|
|
35515
|
+
_: 2
|
|
35516
|
+
}, 1040, ["prop"])) : createCommentVNode("", true),
|
|
35517
|
+
item.type === "slot" ? renderSlot(_ctx.$slots, item.name, {
|
|
35518
|
+
key: 1,
|
|
35519
|
+
model: _ctx.appModel
|
|
35520
|
+
}, void 0, true) : createCommentVNode("", true)
|
|
35521
|
+
]),
|
|
35522
|
+
_: 2
|
|
35523
|
+
}, 1040, ["class"])), [
|
|
35524
|
+
[
|
|
35525
|
+
vShow,
|
|
35526
|
+
_ctx.fold ? true : _ctx.formConfig.showNum ? _ctx.formConfig.showNum > index2 : true
|
|
35527
|
+
]
|
|
35528
|
+
]) : (openBlock(), createBlock(_component_el_col, mergeProps({
|
|
35529
|
+
key: 1,
|
|
35530
|
+
class: [((_d2 = (_c3 = _ctx.formConfig) == null ? void 0 : _c3.formAttrs) == null ? void 0 : _d2.inline) ? "el-col-dl" : "db"]
|
|
35531
|
+
}, item == null ? void 0 : item.layoutAttrs), {
|
|
35532
|
+
default: withCtx(() => [
|
|
35533
|
+
item.type !== "slot" ? (openBlock(), createBlock(_component_el_form_item, mergeProps({ key: 0 }, item.labelAttrs, {
|
|
35534
|
+
key: index2,
|
|
35535
|
+
prop: item.key
|
|
35536
|
+
}), {
|
|
35537
|
+
default: withCtx(() => [
|
|
35501
35538
|
item.submit ? (openBlock(), createBlock(_component_el_button, mergeProps({ key: 0 }, item.submit.attrs, { loading: _ctx.loading }, toHandlers(item.submit.events), { onClick: _ctx.formSubmit }), {
|
|
35502
35539
|
default: withCtx(() => [
|
|
35503
35540
|
createTextVNode(toDisplayString(item.submit.title), 1)
|
|
@@ -35509,18 +35546,29 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35509
35546
|
createTextVNode(toDisplayString(item.reset.title), 1)
|
|
35510
35547
|
]),
|
|
35511
35548
|
_: 2
|
|
35512
|
-
}, 1040, ["loading", "onClick"])) : createCommentVNode("", true)
|
|
35513
|
-
|
|
35514
|
-
|
|
35515
|
-
|
|
35516
|
-
|
|
35517
|
-
|
|
35518
|
-
|
|
35519
|
-
|
|
35520
|
-
|
|
35521
|
-
|
|
35522
|
-
|
|
35523
|
-
|
|
35549
|
+
}, 1040, ["loading", "onClick"])) : createCommentVNode("", true),
|
|
35550
|
+
_ctx.formConfig.showNum ? (openBlock(), createBlock(_component_el_button, {
|
|
35551
|
+
key: 2,
|
|
35552
|
+
text: "",
|
|
35553
|
+
type: "primary",
|
|
35554
|
+
onClick: _ctx.handleFold
|
|
35555
|
+
}, {
|
|
35556
|
+
default: withCtx(() => [
|
|
35557
|
+
_ctx.fold ? (openBlock(), createElementBlock("span", _hoisted_1$a, toDisplayString(_ctx.translateTitle("\u5C55\u5F00") || "\u5C55\u5F00"), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$7, toDisplayString(_ctx.translateTitle("\u5408\u5E76") || "\u5408\u5E76"), 1)),
|
|
35558
|
+
createVNode(_component_vab_icon, {
|
|
35559
|
+
class: normalizeClass(["vab-dropdown", { "vab-dropdown-active": _ctx.fold }]),
|
|
35560
|
+
icon: "arrow-up-s-line"
|
|
35561
|
+
}, null, 8, ["class"])
|
|
35562
|
+
]),
|
|
35563
|
+
_: 1
|
|
35564
|
+
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
35565
|
+
]),
|
|
35566
|
+
_: 2
|
|
35567
|
+
}, 1040, ["prop"])) : createCommentVNode("", true)
|
|
35568
|
+
]),
|
|
35569
|
+
_: 2
|
|
35570
|
+
}, 1040, ["class"]))
|
|
35571
|
+
], 64);
|
|
35524
35572
|
}), 128))
|
|
35525
35573
|
];
|
|
35526
35574
|
}),
|
|
@@ -35530,7 +35578,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35530
35578
|
_: 3
|
|
35531
35579
|
}, 16, ["model"])) : createCommentVNode("", true);
|
|
35532
35580
|
}
|
|
35533
|
-
const index$d = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-
|
|
35581
|
+
const index$d = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-26589f39"]]);
|
|
35534
35582
|
const __vite_glob_0_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
35535
35583
|
__proto__: null,
|
|
35536
35584
|
default: index$d
|