agilebuilder-ui 1.1.38-sit2 → 1.1.38-sit4
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/{401-42cb079f.js → 401-b773b68e.js} +1 -1
- package/lib/{404-e5796cd8.js → 404-f274ef2f.js} +1 -1
- package/lib/{iframe-page-5b503e34.js → iframe-page-ae3e571c.js} +1 -1
- package/lib/{index-f5b5c746.js → index-718d62ef.js} +33 -31
- package/lib/super-ui.css +1 -1
- package/lib/super-ui.js +1 -1
- package/lib/super-ui.umd.cjs +2 -2
- package/lib/{tab-content-iframe-index-9bf6e5fc.js → tab-content-iframe-index-68a2bf6a.js} +1 -1
- package/lib/{tab-content-index-28133c86.js → tab-content-index-dffda0e2.js} +1 -1
- package/lib/{tache-subprocess-history-7a5bfc89.js → tache-subprocess-history-835f415f.js} +1 -1
- package/package.json +1 -1
- package/packages/super-grid/src/dynamic-input.vue +9 -5
- package/packages/super-grid/src/search-form-item.vue +0 -1
- package/src/utils/util.js +6 -3
|
@@ -8210,12 +8210,14 @@ function getAdditionalParamMap$1(n) {
|
|
|
8210
8210
|
}
|
|
8211
8211
|
}
|
|
8212
8212
|
function formatCustomParams(n, o, r) {
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
8218
|
-
|
|
8213
|
+
const a = {};
|
|
8214
|
+
return n && n.length > 0 && n.forEach((s) => {
|
|
8215
|
+
if (s.paramValue && s.paramValue.indexOf("${") === 0) {
|
|
8216
|
+
const l = getPropValueNew(s.paramValue, o, r);
|
|
8217
|
+
a[s.paramName] = l ?? null;
|
|
8218
|
+
} else
|
|
8219
|
+
a[s.paramName] = s.paramValue;
|
|
8220
|
+
}), a;
|
|
8219
8221
|
}
|
|
8220
8222
|
function getPropValueNew(n, o, r) {
|
|
8221
8223
|
let a = null;
|
|
@@ -10002,7 +10004,7 @@ function _sfc_render$1a(n, o, r, a, s, l) {
|
|
|
10002
10004
|
const d = resolveComponent("app-main");
|
|
10003
10005
|
return openBlock(), createElementBlock("div", _hoisted_1$1i, [createElementVNode("div", _hoisted_2$Q, [createVNode(d)])]);
|
|
10004
10006
|
}
|
|
10005
|
-
const Layout = _export_sfc(_sfc_main$1F, [["render", _sfc_render$1a]]), publicRouterMap = [{ path: "/redirect", component: Layout, hidden: !0, children: [{ path: "/redirect/:path*", component: () => import("./index-1cc4db24.js") }] }, { path: "/iframe-page", component: Layout, hidden: !0, children: [{ path: "page", component: () => import("./iframe-page-
|
|
10007
|
+
const Layout = _export_sfc(_sfc_main$1F, [["render", _sfc_render$1a]]), publicRouterMap = [{ path: "/redirect", component: Layout, hidden: !0, children: [{ path: "/redirect/:path*", component: () => import("./index-1cc4db24.js") }] }, { path: "/iframe-page", component: Layout, hidden: !0, children: [{ path: "page", component: () => import("./iframe-page-ae3e571c.js"), hidden: !0 }] }, { path: "/auth-redirect", component: () => import("./authredirect-294d14ef.js"), hidden: !0 }, { path: "/404", component: () => import("./404-f274ef2f.js"), hidden: !0 }, { path: "/401", component: () => import("./401-b773b68e.js"), hidden: !0 }, { path: "/show-sub-wf-history", component: () => import("./tache-subprocess-history-835f415f.js"), hidden: !0 }, { path: "/tab-content-index", component: () => import("./tab-content-index-dffda0e2.js"), hidden: !0 }, { path: "/tab-content-iframe-index", component: () => import("./tab-content-iframe-index-68a2bf6a.js"), hidden: !0 }], protectedRouterMap = [];
|
|
10006
10008
|
function filterProtectedRouter(n, o) {
|
|
10007
10009
|
const r = [], a = [];
|
|
10008
10010
|
return n.forEach((s) => {
|
|
@@ -12452,7 +12454,7 @@ const customFormatter$1 = { customFormatValue(n, o, r, a) {
|
|
|
12452
12454
|
let oe = s.options.backendUrl;
|
|
12453
12455
|
oe || (oe = window.$vueApp.config.globalProperties.baseURL);
|
|
12454
12456
|
const he = s.colConfigureMap ? s.colConfigureMap[this.column.prop] : null, ye = he && he.runtime ? he.runtime : {}, Ne = ye.props ? ye.props : {};
|
|
12455
|
-
return { deptManTree: !1, isMultiTree: !1, isCheckStrictly: !1, deptTree: !1, wgManTree: !1, wgTree: !1, newValue: null, componentName: "", validateErrorField: "", annexUploadFlag: !1, defaultAction: a, fileMultiple: !1, lastFileName: "", fileList: [], lastServerName: "", fileSetObj: null, showSingleImgFlag: !1, singleImgSrc: "", fields: null, innerValue: n, dynamicSourceSelectOptions: {}, valueSetOptions: null, dynamicDataSourceCode: null, tableName: l, isJoinTable: d, departmentInfo: null, parentFormData: p, headers: v, dataSourceType: w, inputNumberSet: {}, fileInfo: { showName: null, serverPath: null }, gridData: D ? x : E, pageGridData: D ? E : null, additionalParamMap: O, controlConfig: getControlConfig(this.column), pickerOptions: { disabledDate: (ie) => this.stateForbiddenTime && this.endForbiddenTime ? ie.getTime() < this.stateForbiddenTime || ie.getTime() > this.endForbiddenTime : this.stateForbiddenTime && !this.endForbiddenTime ? ie.getTime() < this.stateForbiddenTime : !(this.stateForbiddenTime || !this.endForbiddenTime) && ie.getTime() > this.endForbiddenTime }, stateForbiddenTime: null, endForbiddenTime: null, pageContext: M, isMobile: L, componentId: q, scanEnable: G, userAgent: j, isApk: J, isDingTalk: K, isShowBrowserScan: !1, isShowScanIcon: ue, baseURL: oe, colConfigure: he, designProperty: Ne };
|
|
12457
|
+
return { deptManTree: !1, isMultiTree: !1, isCheckStrictly: !1, deptTree: !1, wgManTree: !1, wgTree: !1, newValue: null, componentName: "", validateErrorField: "", annexUploadFlag: !1, defaultAction: a, fileMultiple: !1, lastFileName: "", fileList: [], lastServerName: "", fileSetObj: null, showSingleImgFlag: !1, singleImgSrc: "", fields: null, innerValue: n, dynamicSourceSelectOptions: {}, valueSetOptions: null, dynamicDataSourceCode: null, tableName: l, isJoinTable: d, departmentInfo: null, parentFormData: p, headers: v, dataSourceType: w, inputNumberSet: {}, fileInfo: { showName: null, serverPath: null }, gridData: D ? x : E, pageGridData: D ? E : null, additionalParamMap: O, controlConfig: getControlConfig(this.column), pickerOptions: { disabledDate: (ie) => this.stateForbiddenTime && this.endForbiddenTime ? ie.getTime() < this.stateForbiddenTime || ie.getTime() > this.endForbiddenTime : this.stateForbiddenTime && !this.endForbiddenTime ? ie.getTime() < this.stateForbiddenTime : !(this.stateForbiddenTime || !this.endForbiddenTime) && ie.getTime() > this.endForbiddenTime }, stateForbiddenTime: null, endForbiddenTime: null, pageContext: M, isMobile: L, componentId: q, scanEnable: G, userAgent: j, isApk: J, isDingTalk: K, isShowBrowserScan: !1, isShowScanIcon: ue, baseURL: oe, colConfigure: he, designProperty: Ne, myCustomParams: {} };
|
|
12456
12458
|
}, computed: {}, watch: { value: { handler(n, o) {
|
|
12457
12459
|
if (this.type && this.type === "multiselect") {
|
|
12458
12460
|
const r = this.value && this.value !== null && typeof this.value == "string" ? this.value.split(",") : this.value;
|
|
@@ -12463,38 +12465,38 @@ const customFormatter$1 = { customFormatValue(n, o, r, a) {
|
|
|
12463
12465
|
this.$refs.customItem && this.$refs.customItem.focus();
|
|
12464
12466
|
});
|
|
12465
12467
|
}, deep: !0, immediate: !0 } }, created() {
|
|
12468
|
+
var o;
|
|
12466
12469
|
const n = store$1.get(this.listCode);
|
|
12467
|
-
if (this.gridParams = n, this.isCreateRow = n.isCreateRow, this.setTreeType(), this.type && this.type.indexOf("custom:") >= 0 && (this.componentName = this.type.substring(this.type.indexOf(":") + 1)), this.column.fileSet && this.column.fileSet !== "" && (this.column.componentType === "annex" || this.column.componentType === "multipartUpload")) {
|
|
12468
|
-
const
|
|
12469
|
-
this.fileInfo.showName = this.row[
|
|
12470
|
+
if ((o = this.controlConfig) != null && o.customParams && (this.pageContext || (this.pageContext = n.options.pageContext), this.myCustomParams = formatCustomParams(this.controlConfig.customParams, this.pageContext, this.row)), this.gridParams = n, this.isCreateRow = n.isCreateRow, this.setTreeType(), this.type && this.type.indexOf("custom:") >= 0 && (this.componentName = this.type.substring(this.type.indexOf(":") + 1)), this.column.fileSet && this.column.fileSet !== "" && (this.column.componentType === "annex" || this.column.componentType === "multipartUpload")) {
|
|
12471
|
+
const r = JSON.parse(this.column.fileSet);
|
|
12472
|
+
this.fileInfo.showName = this.row[r.showNameData.dbName], this.fileInfo.serverPath = this.row[r.serverNameData.dbName], this.fileSetObj = r, r && r.multiple && (this.fileMultiple = !0), this.fileList = getFileList(this.row, this.column, this.isSql), this.packageFileNameWithFileList();
|
|
12470
12473
|
}
|
|
12471
12474
|
if (this.column.componentType === "inputNumber" && this.setInputNumberConfig(), this.column.valueSetOptions) {
|
|
12472
12475
|
if (this.column.componentType === "switch") {
|
|
12473
|
-
const
|
|
12474
|
-
|
|
12476
|
+
const r = JSON.parse(this.column.valueSetOptions);
|
|
12477
|
+
r && (this.valueSetOptions = r);
|
|
12475
12478
|
} else if (this.column.componentType !== "inputNumber") {
|
|
12476
|
-
const
|
|
12477
|
-
|
|
12479
|
+
const r = JSON.parse(this.column.valueSetOptions);
|
|
12480
|
+
r && r.valueSetOptions && (this.valueSetOptions = r.valueSetOptions), r.dynamicDataSourceCode && r.dynamicDataSourceCode !== "" && (this.dynamicDataSourceCode = r.dynamicDataSourceCode);
|
|
12478
12481
|
}
|
|
12479
12482
|
}
|
|
12480
12483
|
if (this.column.orgTreeSet) {
|
|
12481
|
-
const
|
|
12482
|
-
this.type.indexOf("DeptTree") > 0 &&
|
|
12484
|
+
const r = JSON.parse(this.column.orgTreeSet);
|
|
12485
|
+
this.type.indexOf("DeptTree") > 0 && r.checkStrictly && (this.isCheckStrictly = r.checkStrictly), r.length ? this.fields = r : r.orgTreeSetArr && (this.fields = r.orgTreeSetArr);
|
|
12483
12486
|
}
|
|
12484
|
-
this.getDateAllowTime(), this.gridOptions.customRules || (this.gridOptions.customRules = {}), this.$watch("gridOptions.customRules." + this.column.prop, (
|
|
12485
|
-
this.packageCustomRules(
|
|
12486
|
-
}, { immediate: !0, deep: !0 }), this.$watch("gridOptions.customRules._all_fields", (
|
|
12487
|
-
this.packageCustomRules(
|
|
12487
|
+
this.getDateAllowTime(), this.gridOptions.customRules || (this.gridOptions.customRules = {}), this.$watch("gridOptions.customRules." + this.column.prop, (r, a) => {
|
|
12488
|
+
this.packageCustomRules(r);
|
|
12489
|
+
}, { immediate: !0, deep: !0 }), this.$watch("gridOptions.customRules._all_fields", (r, a) => {
|
|
12490
|
+
this.packageCustomRules(r);
|
|
12488
12491
|
}, { immediate: !0, deep: !0 });
|
|
12489
12492
|
}, mounted() {
|
|
12490
|
-
var o;
|
|
12491
12493
|
const n = this;
|
|
12492
|
-
|
|
12493
|
-
n.$refs.fileUploadRef && n.$refs.fileUploadRef.pickFileDone(
|
|
12494
|
-
}), bus.$on(this.componentId + "-uploadFileDone", (
|
|
12495
|
-
n.$refs.fileUploadRef && n.$refs.fileUploadRef.uploadFileDone(
|
|
12496
|
-
}), bus.$on(this.componentId + "-scanDone", (
|
|
12497
|
-
n.innerValue =
|
|
12494
|
+
bus.$on(this.componentId + "-pickFileDone", (o) => {
|
|
12495
|
+
n.$refs.fileUploadRef && n.$refs.fileUploadRef.pickFileDone(o);
|
|
12496
|
+
}), bus.$on(this.componentId + "-uploadFileDone", (o) => {
|
|
12497
|
+
n.$refs.fileUploadRef && n.$refs.fileUploadRef.uploadFileDone(o);
|
|
12498
|
+
}), bus.$on(this.componentId + "-scanDone", (o) => {
|
|
12499
|
+
n.innerValue = o.result, n.blurEvent(), this.callCustomEvent("afterScanDone");
|
|
12498
12500
|
});
|
|
12499
12501
|
}, destroyed() {
|
|
12500
12502
|
bus.$off(this.componentId + "-pickFileDone"), bus.$off(this.componentId + "-uploadFileDone"), bus.$off(this.componentId + "-scanDone");
|
|
@@ -12909,7 +12911,7 @@ const customFormatter$1 = { customFormatValue(n, o, r, a) {
|
|
|
12909
12911
|
function _sfc_render$_(n, o, r, a, s, l) {
|
|
12910
12912
|
var Ne;
|
|
12911
12913
|
const d = resolveComponent("el-date-picker"), p = resolveComponent("el-time-picker"), v = resolveComponent("el-input"), w = resolveComponent("SuperIcon"), E = resolveComponent("fs-upload-list"), x = resolveComponent("multipart-upload"), D = resolveComponent("GridRadioInput"), O = resolveComponent("el-option"), M = resolveComponent("el-select"), L = resolveComponent("dynamic-source-select"), q = resolveComponent("el-input-number"), j = resolveComponent("el-switch"), G = resolveComponent("el-slider"), te = resolveComponent("el-rate"), K = resolveComponent("organization-input"), J = resolveComponent("el-button"), ue = resolveComponent("el-upload"), oe = resolveComponent("el-dialog"), he = resolveComponent("view-image-dialog"), ye = resolveComponent("scan-code-input-browser");
|
|
12912
|
-
return r.type && r.type.indexOf("custom:") >= 0 && s.componentName != "" ? (openBlock(), createElementBlock("div", { key: 0, style: normalizeStyle(r.row.validateErrorField && r.row.validateErrorField === r.column.prop ? "border:1px solid red" : "") }, [(openBlock(), createBlock(resolveDynamicComponent(s.componentName), { ref: "customItem", disabled: r.disabled, entity: r.row, "grid-data": s.gridData, "page-grid-data": s.pageGridData, "additional-settings": s.controlConfig, parent: s.parentFormData, prop: r.column.prop, "custom-params": s.controlConfig ? s.controlConfig.customParams : null, row: r.row, "row-index": r.position ? r.position.row : null, "select-options": r.options, value: s.innerValue, "additional-param-map": s.additionalParamMap, listCode: r.listCode, "component-id": s.componentId, "page-context": s.pageContext, onChange: o[0] || (o[0] = (ie) => l.cellEvent("change", ie)), onInput: o[1] || (o[1] = (ie) => l.cellEvent("input", ie)) }, null, 40, ["disabled", "entity", "grid-data", "page-grid-data", "additional-settings", "parent", "prop", "custom-params", "row", "row-index", "select-options", "value", "additional-param-map", "listCode", "component-id", "page-context"]))], 4)) : (openBlock(), createElementBlock("div", { key: 1, style: normalizeStyle(r.row.validateErrorField && r.row.validateErrorField === r.column.prop ? "border:1px solid red" : "") }, [r.type === "year" || r.type === "month" || r.type === "week" ? (openBlock(), createBlock(d, { key: 0, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[2] || (o[2] = (ie) => s.innerValue = ie), disabled: r.disabled, editable: !1, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.selectTime"), type: r.type, "value-format": l.isValueFormat(), style: { width: "100%" }, onBlur: o[3] || (o[3] = (ie) => l.cellEvent("blur", ie)), onChange: o[4] || (o[4] = (ie) => l.cellEvent("change", ie)), onFocus: o[5] || (o[5] = (ie) => l.cellEvent("focus", ie)), onInput: o[6] || (o[6] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : r.type === "yearRange" ? (openBlock(), createBlock(d, { key: 1, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[7] || (o[7] = (ie) => s.innerValue = ie), disabled: r.disabled, editable: !1, placeholder: n.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: o[8] || (o[8] = (ie) => l.cellEvent("blur", ie)), onChange: o[9] || (o[9] = (ie) => l.cellEvent("change", ie)), onFocus: o[10] || (o[10] = (ie) => l.cellEvent("focus", ie)), onInput: o[11] || (o[11] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : r.type === "dateTimePicker" ? (openBlock(), createBlock(d, { key: 2, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[12] || (o[12] = (ie) => s.innerValue = ie), disabled: r.disabled, editable: !1, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.selectTime"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: o[13] || (o[13] = (ie) => l.cellEvent("blur", ie)), onChange: o[14] || (o[14] = (ie) => l.cellEvent("change", ie)), onFocus: o[15] || (o[15] = (ie) => l.cellEvent("focus", ie)), onInput: o[16] || (o[16] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : r.type === "date" ? (openBlock(), createBlock(d, { key: 3, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[17] || (o[17] = (ie) => s.innerValue = ie), disabled: r.disabled, editable: !1, format: l.isFormat(), "picker-options": s.pickerOptions, placeholder: n.$t("imatrixUIMessage.selectionDate"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: o[18] || (o[18] = (ie) => l.cellEvent("blur", ie)), onChange: o[19] || (o[19] = (ie) => l.cellEvent("change", ie)), onFocus: o[20] || (o[20] = (ie) => l.cellEvent("focus", ie)), onInput: o[21] || (o[21] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : r.type === "timePicker" || r.type === "input" && r.column.dataType === "TIME" ? (openBlock(), createBlock(p, { key: 4, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[22] || (o[22] = (ie) => s.innerValue = ie), disabled: r.disabled, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": l.isValueFormat(), style: { width: "100%" }, onBlur: o[23] || (o[23] = (ie) => l.cellEvent("blur", ie)), onChange: o[24] || (o[24] = (ie) => l.cellEvent("change", ie)), onFocus: o[25] || (o[25] = (ie) => l.cellEvent("focus", ie)), onInput: o[26] || (o[26] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : r.type === "time" ? (openBlock(), createBlock(d, { key: 5, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[27] || (o[27] = (ie) => s.innerValue = ie), disabled: r.disabled, editable: !1, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.selectTime"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: o[28] || (o[28] = (ie) => l.cellEvent("blur", ie)), onChange: o[29] || (o[29] = (ie) => l.cellEvent("change", ie)), onFocus: o[30] || (o[30] = (ie) => l.cellEvent("focus", ie)), onInput: o[31] || (o[31] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : r.column.dataType === "DATE" ? (openBlock(), createBlock(d, { key: 6, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[32] || (o[32] = (ie) => s.innerValue = ie), disabled: r.disabled, editable: !1, format: l.isFormat(), "picker-options": s.pickerOptions, placeholder: n.$t("imatrixUIMessage.selectionDate"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: o[33] || (o[33] = (ie) => l.cellEvent("blur", ie)), onChange: o[34] || (o[34] = (ie) => l.cellEvent("change", ie)), onFocus: o[35] || (o[35] = (ie) => l.cellEvent("focus", ie)), onInput: o[36] || (o[36] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : r.type !== "input" || r.column.dataType !== "INTEGER" && r.column.dataType !== "LONG" ? r.type === "input" ? (openBlock(), createBlock(v, { key: 8, ref: "item", disabled: r.disabled, maxlength: s.controlConfig && s.controlConfig.maxlength ? s.controlConfig.maxlength : "", minlength: s.controlConfig && s.controlConfig.minlength ? s.controlConfig.minlength : "", placeholder: n.$t("imatrixUIMessage.pleaseEnterContent"), title: s.innerValue, clearable: "", modelValue: s.innerValue, "onUpdate:modelValue": o[48] || (o[48] = (ie) => s.innerValue = ie), onBlur: o[49] || (o[49] = (ie) => l.cellEvent("blur", ie)), onChange: o[50] || (o[50] = (ie) => l.cellEvent("change", ie)), onClear: o[51] || (o[51] = (ie) => l.cellEvent("clear", ie)), onFocus: o[52] || (o[52] = (ie) => l.cellEvent("focus", ie)), onInput: o[53] || (o[53] = (ie) => l.cellEvent("input", ie, !0)) }, createSlots({ _: 2 }, [s.designProperty.iconPosition != "outer" && (s.designProperty.preIconType && s.designProperty.preIconValue || s.designProperty.preText) ? { name: "prefix", fn: withCtx(() => [s.designProperty.preIconType && s.designProperty.preIconValue ? (openBlock(), createBlock(w, { key: 0, iconType: s.designProperty.preIconType, iconValue: s.designProperty.preIconValue, onClick: o[43] || (o[43] = (ie) => l.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.preText ? (openBlock(), createElementBlock("span", _hoisted_1$14, toDisplayString$1(n.$t(s.designProperty.preText)), 1)) : createCommentVNode("", !0)]), key: "0" } : void 0, s.designProperty.iconPosition == "outer" && (s.designProperty.preIconType && s.designProperty.preIconValue || s.designProperty.preText) ? { name: "prepend", fn: withCtx(() => [s.designProperty.preIconType && s.designProperty.preIconValue ? (openBlock(), createBlock(w, { key: 0, iconType: s.designProperty.preIconType, iconValue: s.designProperty.preIconValue, onClick: o[44] || (o[44] = (ie) => l.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.preText ? (openBlock(), createElementBlock("span", _hoisted_2$H, toDisplayString$1(n.$t(s.designProperty.preText)), 1)) : createCommentVNode("", !0)]), key: "1" } : void 0, s.designProperty.iconPosition != "outer" && (s.designProperty.sufIconType && s.designProperty.sufIconValue || s.designProperty.sufText) ? { name: "suffix", fn: withCtx(() => [s.designProperty.sufIconType && s.designProperty.sufIconValue ? (openBlock(), createBlock(w, { key: 0, iconType: s.designProperty.sufIconType, iconValue: s.designProperty.sufIconValue, onClick: o[45] || (o[45] = (ie) => l.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.sufText ? (openBlock(), createElementBlock("span", _hoisted_3$x, toDisplayString$1(n.$t(s.designProperty.sufText)), 1)) : createCommentVNode("", !0)]), key: "2" } : void 0, s.isShowScanIcon || s.designProperty.iconPosition == "outer" && (s.designProperty.sufIconType && s.designProperty.sufIconValue || s.designProperty.sufText) ? { name: "append", fn: withCtx(() => [s.isShowScanIcon ? (openBlock(), createBlock(w, { key: 0, iconValue: "fa-barcode", onClick: o[46] || (o[46] = (ie) => l.scanClick()) })) : createCommentVNode("", !0), s.designProperty.sufIconType && s.designProperty.sufIconValue ? (openBlock(), createBlock(w, { key: 1, iconType: s.designProperty.sufIconType, iconValue: s.designProperty.sufIconValue, onClick: o[47] || (o[47] = (ie) => l.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.sufText ? (openBlock(), createElementBlock("span", _hoisted_4$n, toDisplayString$1(n.$t(s.designProperty.sufText)), 1)) : createCommentVNode("", !0)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : r.type === "textarea" ? (openBlock(), createBlock(v, { key: 9, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[54] || (o[54] = (ie) => s.innerValue = ie), disabled: r.disabled, maxlength: s.controlConfig && s.controlConfig.maxlength ? s.controlConfig.maxlength : "", minlength: s.controlConfig && s.controlConfig.minlength ? s.controlConfig.minlength : "", placeholder: n.$t("imatrixUIMessage.pleaseEnterContent"), rows: 1, title: s.innerValue, clearable: "", type: "textarea", onBlur: o[55] || (o[55] = (ie) => l.cellEvent("blur", ie)), onChange: o[56] || (o[56] = (ie) => l.cellEvent("change", ie)), onClear: o[57] || (o[57] = (ie) => l.cellEvent("clear", ie)), onFocus: o[58] || (o[58] = (ie) => l.cellEvent("focus", ie)), onInput: o[59] || (o[59] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "title"])) : r.type === "annex" ? (openBlock(), createBlock(E, { key: 10, ref: "fileUploadRef", "custom-view-url": !0, disabled: r.disabled, "file-info": s.fileInfo, "file-list": s.fileList, "file-set-obj": s.fileSetObj, "is-sql": r.isSql, row: r.row, value: s.innerValue, "page-context": s.pageContext, "list-code": r.listCode, componentId: s.componentId, onDelete: l.deleteFile, onDeleteSuccess: l.deleteSuccess, onUploadSuccess: l.uploadOnSuccess }, null, 8, ["disabled", "file-info", "file-list", "file-set-obj", "is-sql", "row", "value", "page-context", "list-code", "componentId", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : r.type === "multipartUpload" ? (openBlock(), createBlock(x, { key: 11, disabled: r.disabled, entity: r.row, "file-info": s.fileInfo, "file-list": s.fileList, "file-set-obj": s.fileSetObj, value: s.innerValue, type: "list", onDelete: l.deleteFile, onDeleteSuccess: l.deleteSuccess, onUploadSuccess: l.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : r.type === "radio" ? (openBlock(), createBlock(D, { key: 12, modelValue: s.innerValue, "onUpdate:modelValue": [o[60] || (o[60] = (ie) => s.innerValue = ie), o[61] || (o[61] = (ie) => s.innerValue = ie)], disabled: r.disabled, options: r.options, "value-set-options": s.valueSetOptions, prop: r.column.prop, entity: r.row, onCellEvent: l.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : r.type !== "select" || l.isDynamicDataSourceSource() ? r.type !== "multiselect" || l.isDynamicDataSourceSource() ? r.type !== "multiselect" && r.type !== "select" || !l.isDynamicDataSourceSource() ? r.type === "inputNumber" ? (openBlock(), createBlock(q, { key: 16, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[83] || (o[83] = (ie) => s.innerValue = ie), "controls-position": s.inputNumberSet.position, disabled: r.disabled, max: s.inputNumberSet.max == 0 ? 0 : s.inputNumberSet.max ? s.inputNumberSet.max : 1 / 0, min: s.inputNumberSet.min == 0 ? 0 : s.inputNumberSet.min ? s.inputNumberSet.min : -1 / 0, precision: s.inputNumberSet.precision, step: s.inputNumberSet.step ? s.inputNumberSet.step : 1, onBlur: o[84] || (o[84] = (ie) => l.cellEvent("blur", ie)), onChange: o[85] || (o[85] = (ie) => l.cellEvent("change", ie)), onFocus: o[86] || (o[86] = (ie) => l.cellEvent("focus", ie)), onInput: o[87] || (o[87] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : r.type === "switch" || r.column.dataType === "BOOLEAN" ? (openBlock(), createBlock(j, { key: 17, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[88] || (o[88] = (ie) => s.innerValue = ie), "active-text": l.getSwitchConfig("activeText"), "active-value": l.getSwitchConfig("activeValue"), disabled: r.disabled, "inactive-text": l.getSwitchConfig("inactiveText"), "inactive-value": l.getSwitchConfig("inactiveValue"), onChange: o[89] || (o[89] = (ie) => l.cellEvent("change", ie)), onInput: o[90] || (o[90] = (ie) => l.cellEvent("input", ie, !0)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : r.type === "slider" ? (openBlock(), createBlock(G, { key: 18, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[91] || (o[91] = (ie) => s.innerValue = ie), disabled: r.disabled, onChange: o[92] || (o[92] = (ie) => l.cellEvent("change", ie)), onInput: o[93] || (o[93] = (ie) => l.cellEvent("input", ie, !0)) }, null, 8, ["modelValue", "disabled"])) : r.type === "rate" ? (openBlock(), createBlock(te, { key: 19, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[94] || (o[94] = (ie) => s.innerValue = ie), disabled: r.disabled, onChange: o[95] || (o[95] = (ie) => l.cellEvent("change", ie)), onInput: o[96] || (o[96] = (ie) => l.cellEvent("input", ie, !0)) }, null, 8, ["modelValue", "disabled"])) : s.deptManTree || s.deptTree || s.wgManTree || s.wgTree ? (openBlock(), createBlock(K, { key: 20, "check-strictly": s.isCheckStrictly, "department-info": s.departmentInfo, disabled: r.disabled, "limit-filter-column": (Ne = s.controlConfig) == null ? void 0 : Ne.limitFilterColumn, fields: s.fields, "is-join-table": s.isJoinTable, models: r.row, multiple: s.isMultiTree, "table-name": s.tableName, "tree-type": s.deptManTree ? "DeptUserTree" : s.deptTree ? "DeptTree" : s.wgManTree ? "WgTree" : s.wgTree ? "WgUserTree" : null, value: s.innerValue, onAppend: l.appendOrganizationInputEvent, onClear: l.clearOrganizationInputEvent, onFocus: l.showOrganizationTree, onReplace: l.replaceOrganizationInputEvent, onSetValue: l.organizationInputEvent }, null, 8, ["check-strictly", "department-info", "disabled", "limit-filter-column", "fields", "is-join-table", "models", "multiple", "table-name", "tree-type", "value", "onAppend", "onClear", "onFocus", "onReplace", "onSetValue"])) : createCommentVNode("", !0) : (openBlock(), createBlock(L, { key: 15, value: s.innerValue, "onUpdate:value": o[76] || (o[76] = (ie) => s.innerValue = ie), "base-props": { multiple: r.type === "multiselect", disabled: r.disabled }, column: r.column, entity: r.row, "is-join-table": s.isJoinTable, "list-code": r.listCode, "list-toolbar-form-data": r.listToolbarFormData, options: { dynamicDataSourceCode: s.dynamicDataSourceCode, valueSetOptions: s.valueSetOptions, isSql: r.isSql, backendUrl: s.baseURL, additionalParameter: s.additionalParamMap ? JSON.stringify(s.additionalParamMap) : null }, parent: s.parentFormData, "table-name": s.tableName, onBlur: o[77] || (o[77] = (ie) => l.cellEvent("blur", ie)), onChange: l.multiselectChange, onClear: o[78] || (o[78] = (ie) => l.cellEvent("clear", ie)), onFocus: o[79] || (o[79] = (ie) => l.cellEvent("focus", ie)), onInput: o[80] || (o[80] = (ie) => l.cellEvent("input", ie)), onVisibleChange: o[81] || (o[81] = (ie) => l.cellEvent("visible-change", ie)), onRemoveTag: o[82] || (o[82] = (ie) => l.cellEvent("remove-tag", ie)), onSetValue: l.setDynamicSourceSelectValue }, null, 8, ["value", "base-props", "column", "entity", "is-join-table", "list-code", "list-toolbar-form-data", "options", "parent", "table-name", "onChange", "onSetValue"])) : (openBlock(), createBlock(M, { key: 14, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[69] || (o[69] = (ie) => s.innerValue = ie), disabled: r.disabled, placeholder: n.$t("imatrixUIMessage.pleaseSelect"), title: l.getClassOptionTitle(s.innerValue), clearable: "", "collapse-tags": "", multiple: "", onBlur: o[70] || (o[70] = (ie) => l.cellEvent("blur", ie)), onChange: l.multiselectChange, onClear: o[71] || (o[71] = (ie) => l.cellEvent("clear", ie)), onFocus: o[72] || (o[72] = (ie) => l.cellEvent("focus", ie)), onInput: o[73] || (o[73] = (ie) => l.cellEvent("input", ie)), onVisibleChange: o[74] || (o[74] = (ie) => l.cellEvent("visible-change", ie)), onRemoveTag: o[75] || (o[75] = (ie) => l.cellEvent("remove-tag", ie)) }, { default: withCtx(() => [createVNode(O, { label: n.$t("superGrid.selectAll"), value: "saveAll" }, null, 8, ["label"]), (openBlock(!0), createElementBlock(Fragment, null, renderList(r.options, (ie) => (openBlock(), createBlock(O, { key: ie.value, label: ie.label, value: ie.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "disabled", "placeholder", "title", "onChange"])) : (openBlock(), createBlock(M, { key: 13, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[62] || (o[62] = (ie) => s.innerValue = ie), "allow-create": !!s.controlConfig.allowCreate, clearable: !!s.controlConfig.clearable, "default-first-option": !!s.controlConfig.allowCreate, disabled: r.disabled, filterable: !!s.controlConfig.filterable, placeholder: n.$t("imatrixUIMessage.pleaseSelect"), title: l.getClassOptionTitle(s.innerValue), onBlur: o[63] || (o[63] = (ie) => l.cellEvent("blur", ie)), onChange: o[64] || (o[64] = (ie) => l.cellEvent("change", ie)), onClear: o[65] || (o[65] = (ie) => l.cellEvent("clear", ie)), onFocus: o[66] || (o[66] = (ie) => l.cellEvent("focus", ie)), onInput: o[67] || (o[67] = (ie) => l.cellEvent("input", ie)), onVisibleChange: o[68] || (o[68] = (ie) => l.cellEvent("visible-change", ie)) }, { default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.options, (ie) => (openBlock(), createBlock(O, { key: ie.value, label: ie.label, value: ie.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "allow-create", "clearable", "default-first-option", "disabled", "filterable", "placeholder", "title"])) : (openBlock(), createBlock(v, { key: 7, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[37] || (o[37] = (ie) => s.innerValue = ie), modelModifiers: { number: !0 }, disabled: r.disabled, placeholder: n.$t("imatrixUIMessage.pleaseEnterContent"), title: s.innerValue, type: r.column.dataType === "INTEGER" || r.column.dataType === "LONG" ? "number" : "text", clearable: "", onBlur: o[38] || (o[38] = (ie) => l.cellEvent("blur", ie)), onChange: o[39] || (o[39] = (ie) => l.cellEvent("change", ie)), onClear: o[40] || (o[40] = (ie) => l.cellEvent("clear", ie)), onFocus: o[41] || (o[41] = (ie) => l.cellEvent("focus", ie)), onInput: o[42] || (o[42] = (ie) => l.cellEvent("input", ie, !0)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), createVNode(oe, { "append-to-body": !0, "show-close": !0, title: n.$t("imatrixUIMessage.tips"), visible: s.annexUploadFlag, width: "30%" }, { default: withCtx(() => [r.type === "annex" && s.annexUploadFlag ? (openBlock(), createBlock(ue, { key: 0, accept: s.fileSetObj && s.fileSetObj.accept ? s.fileSetObj.accept : null, action: s.defaultAction, "before-upload": l.handleBeforeUpload, headers: s.headers, "on-success": l.uploadOnSuccess, "with-credentials": !0, name: "file" }, { default: withCtx(() => [createVNode(J, null, { default: withCtx(() => [createTextVNode(toDisplayString$1(n.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : createCommentVNode("", !0)]), _: 1 }, 8, ["title", "visible"]), s.showSingleImgFlag ? (openBlock(), createBlock(he, { key: 21, deleteable: !r.disabled, downloadable: !r.disabled, "file-list": s.fileList, onClose: o[97] || (o[97] = (ie) => s.showSingleImgFlag = !1), onDelete: l.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : createCommentVNode("", !0), s.isShowBrowserScan ? (openBlock(), createBlock(ye, { key: 22, onClose: l.closeBrowserScan }, null, 8, ["onClose"])) : createCommentVNode("", !0)], 4));
|
|
12914
|
+
return r.type && r.type.indexOf("custom:") >= 0 && s.componentName != "" ? (openBlock(), createElementBlock("div", { key: 0, style: normalizeStyle(r.row.validateErrorField && r.row.validateErrorField === r.column.prop ? "border:1px solid red" : "") }, [(openBlock(), createBlock(resolveDynamicComponent(s.componentName), { ref: "customItem", disabled: r.disabled, entity: r.row, "grid-data": s.gridData, "page-grid-data": s.pageGridData, "additional-settings": s.controlConfig, parent: s.parentFormData, prop: r.column.prop, "custom-params": s.myCustomParams, row: r.row, "row-index": r.position ? r.position.row : null, "select-options": r.options, value: s.innerValue, "additional-param-map": s.additionalParamMap, listCode: r.listCode, "component-id": s.componentId, "page-context": s.pageContext, onChange: o[0] || (o[0] = (ie) => l.cellEvent("change", ie)), onInput: o[1] || (o[1] = (ie) => l.cellEvent("input", ie)) }, null, 40, ["disabled", "entity", "grid-data", "page-grid-data", "additional-settings", "parent", "prop", "custom-params", "row", "row-index", "select-options", "value", "additional-param-map", "listCode", "component-id", "page-context"]))], 4)) : (openBlock(), createElementBlock("div", { key: 1, style: normalizeStyle(r.row.validateErrorField && r.row.validateErrorField === r.column.prop ? "border:1px solid red" : "") }, [r.type === "year" || r.type === "month" || r.type === "week" ? (openBlock(), createBlock(d, { key: 0, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[2] || (o[2] = (ie) => s.innerValue = ie), disabled: r.disabled, editable: !1, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.selectTime"), type: r.type, "value-format": l.isValueFormat(), style: { width: "100%" }, onBlur: o[3] || (o[3] = (ie) => l.cellEvent("blur", ie)), onChange: o[4] || (o[4] = (ie) => l.cellEvent("change", ie)), onFocus: o[5] || (o[5] = (ie) => l.cellEvent("focus", ie)), onInput: o[6] || (o[6] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : r.type === "yearRange" ? (openBlock(), createBlock(d, { key: 1, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[7] || (o[7] = (ie) => s.innerValue = ie), disabled: r.disabled, editable: !1, placeholder: n.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: o[8] || (o[8] = (ie) => l.cellEvent("blur", ie)), onChange: o[9] || (o[9] = (ie) => l.cellEvent("change", ie)), onFocus: o[10] || (o[10] = (ie) => l.cellEvent("focus", ie)), onInput: o[11] || (o[11] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : r.type === "dateTimePicker" ? (openBlock(), createBlock(d, { key: 2, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[12] || (o[12] = (ie) => s.innerValue = ie), disabled: r.disabled, editable: !1, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.selectTime"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: o[13] || (o[13] = (ie) => l.cellEvent("blur", ie)), onChange: o[14] || (o[14] = (ie) => l.cellEvent("change", ie)), onFocus: o[15] || (o[15] = (ie) => l.cellEvent("focus", ie)), onInput: o[16] || (o[16] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : r.type === "date" ? (openBlock(), createBlock(d, { key: 3, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[17] || (o[17] = (ie) => s.innerValue = ie), disabled: r.disabled, editable: !1, format: l.isFormat(), "picker-options": s.pickerOptions, placeholder: n.$t("imatrixUIMessage.selectionDate"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: o[18] || (o[18] = (ie) => l.cellEvent("blur", ie)), onChange: o[19] || (o[19] = (ie) => l.cellEvent("change", ie)), onFocus: o[20] || (o[20] = (ie) => l.cellEvent("focus", ie)), onInput: o[21] || (o[21] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : r.type === "timePicker" || r.type === "input" && r.column.dataType === "TIME" ? (openBlock(), createBlock(p, { key: 4, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[22] || (o[22] = (ie) => s.innerValue = ie), disabled: r.disabled, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": l.isValueFormat(), style: { width: "100%" }, onBlur: o[23] || (o[23] = (ie) => l.cellEvent("blur", ie)), onChange: o[24] || (o[24] = (ie) => l.cellEvent("change", ie)), onFocus: o[25] || (o[25] = (ie) => l.cellEvent("focus", ie)), onInput: o[26] || (o[26] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : r.type === "time" ? (openBlock(), createBlock(d, { key: 5, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[27] || (o[27] = (ie) => s.innerValue = ie), disabled: r.disabled, editable: !1, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.selectTime"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: o[28] || (o[28] = (ie) => l.cellEvent("blur", ie)), onChange: o[29] || (o[29] = (ie) => l.cellEvent("change", ie)), onFocus: o[30] || (o[30] = (ie) => l.cellEvent("focus", ie)), onInput: o[31] || (o[31] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : r.column.dataType === "DATE" ? (openBlock(), createBlock(d, { key: 6, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[32] || (o[32] = (ie) => s.innerValue = ie), disabled: r.disabled, editable: !1, format: l.isFormat(), "picker-options": s.pickerOptions, placeholder: n.$t("imatrixUIMessage.selectionDate"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: o[33] || (o[33] = (ie) => l.cellEvent("blur", ie)), onChange: o[34] || (o[34] = (ie) => l.cellEvent("change", ie)), onFocus: o[35] || (o[35] = (ie) => l.cellEvent("focus", ie)), onInput: o[36] || (o[36] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : r.type !== "input" || r.column.dataType !== "INTEGER" && r.column.dataType !== "LONG" ? r.type === "input" ? (openBlock(), createBlock(v, { key: 8, ref: "item", disabled: r.disabled, maxlength: s.controlConfig && s.controlConfig.maxlength ? s.controlConfig.maxlength : "", minlength: s.controlConfig && s.controlConfig.minlength ? s.controlConfig.minlength : "", placeholder: n.$t("imatrixUIMessage.pleaseEnterContent"), title: s.innerValue, clearable: "", modelValue: s.innerValue, "onUpdate:modelValue": o[48] || (o[48] = (ie) => s.innerValue = ie), onBlur: o[49] || (o[49] = (ie) => l.cellEvent("blur", ie)), onChange: o[50] || (o[50] = (ie) => l.cellEvent("change", ie)), onClear: o[51] || (o[51] = (ie) => l.cellEvent("clear", ie)), onFocus: o[52] || (o[52] = (ie) => l.cellEvent("focus", ie)), onInput: o[53] || (o[53] = (ie) => l.cellEvent("input", ie, !0)) }, createSlots({ _: 2 }, [s.designProperty.iconPosition != "outer" && (s.designProperty.preIconType && s.designProperty.preIconValue || s.designProperty.preText) ? { name: "prefix", fn: withCtx(() => [s.designProperty.preIconType && s.designProperty.preIconValue ? (openBlock(), createBlock(w, { key: 0, iconType: s.designProperty.preIconType, iconValue: s.designProperty.preIconValue, onClick: o[43] || (o[43] = (ie) => l.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.preText ? (openBlock(), createElementBlock("span", _hoisted_1$14, toDisplayString$1(n.$t(s.designProperty.preText)), 1)) : createCommentVNode("", !0)]), key: "0" } : void 0, s.designProperty.iconPosition == "outer" && (s.designProperty.preIconType && s.designProperty.preIconValue || s.designProperty.preText) ? { name: "prepend", fn: withCtx(() => [s.designProperty.preIconType && s.designProperty.preIconValue ? (openBlock(), createBlock(w, { key: 0, iconType: s.designProperty.preIconType, iconValue: s.designProperty.preIconValue, onClick: o[44] || (o[44] = (ie) => l.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.preText ? (openBlock(), createElementBlock("span", _hoisted_2$H, toDisplayString$1(n.$t(s.designProperty.preText)), 1)) : createCommentVNode("", !0)]), key: "1" } : void 0, s.designProperty.iconPosition != "outer" && (s.designProperty.sufIconType && s.designProperty.sufIconValue || s.designProperty.sufText) ? { name: "suffix", fn: withCtx(() => [s.designProperty.sufIconType && s.designProperty.sufIconValue ? (openBlock(), createBlock(w, { key: 0, iconType: s.designProperty.sufIconType, iconValue: s.designProperty.sufIconValue, onClick: o[45] || (o[45] = (ie) => l.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.sufText ? (openBlock(), createElementBlock("span", _hoisted_3$x, toDisplayString$1(n.$t(s.designProperty.sufText)), 1)) : createCommentVNode("", !0)]), key: "2" } : void 0, s.isShowScanIcon || s.designProperty.iconPosition == "outer" && (s.designProperty.sufIconType && s.designProperty.sufIconValue || s.designProperty.sufText) ? { name: "append", fn: withCtx(() => [s.isShowScanIcon ? (openBlock(), createBlock(w, { key: 0, iconValue: "fa-barcode", onClick: o[46] || (o[46] = (ie) => l.scanClick()) })) : createCommentVNode("", !0), s.designProperty.sufIconType && s.designProperty.sufIconValue ? (openBlock(), createBlock(w, { key: 1, iconType: s.designProperty.sufIconType, iconValue: s.designProperty.sufIconValue, onClick: o[47] || (o[47] = (ie) => l.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.sufText ? (openBlock(), createElementBlock("span", _hoisted_4$n, toDisplayString$1(n.$t(s.designProperty.sufText)), 1)) : createCommentVNode("", !0)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : r.type === "textarea" ? (openBlock(), createBlock(v, { key: 9, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[54] || (o[54] = (ie) => s.innerValue = ie), disabled: r.disabled, maxlength: s.controlConfig && s.controlConfig.maxlength ? s.controlConfig.maxlength : "", minlength: s.controlConfig && s.controlConfig.minlength ? s.controlConfig.minlength : "", placeholder: n.$t("imatrixUIMessage.pleaseEnterContent"), rows: 1, title: s.innerValue, clearable: "", type: "textarea", onBlur: o[55] || (o[55] = (ie) => l.cellEvent("blur", ie)), onChange: o[56] || (o[56] = (ie) => l.cellEvent("change", ie)), onClear: o[57] || (o[57] = (ie) => l.cellEvent("clear", ie)), onFocus: o[58] || (o[58] = (ie) => l.cellEvent("focus", ie)), onInput: o[59] || (o[59] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "title"])) : r.type === "annex" ? (openBlock(), createBlock(E, { key: 10, ref: "fileUploadRef", "custom-view-url": !0, disabled: r.disabled, "file-info": s.fileInfo, "file-list": s.fileList, "file-set-obj": s.fileSetObj, "is-sql": r.isSql, row: r.row, value: s.innerValue, "page-context": s.pageContext, "list-code": r.listCode, componentId: s.componentId, onDelete: l.deleteFile, onDeleteSuccess: l.deleteSuccess, onUploadSuccess: l.uploadOnSuccess }, null, 8, ["disabled", "file-info", "file-list", "file-set-obj", "is-sql", "row", "value", "page-context", "list-code", "componentId", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : r.type === "multipartUpload" ? (openBlock(), createBlock(x, { key: 11, disabled: r.disabled, entity: r.row, "file-info": s.fileInfo, "file-list": s.fileList, "file-set-obj": s.fileSetObj, value: s.innerValue, type: "list", onDelete: l.deleteFile, onDeleteSuccess: l.deleteSuccess, onUploadSuccess: l.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : r.type === "radio" ? (openBlock(), createBlock(D, { key: 12, modelValue: s.innerValue, "onUpdate:modelValue": [o[60] || (o[60] = (ie) => s.innerValue = ie), o[61] || (o[61] = (ie) => s.innerValue = ie)], disabled: r.disabled, options: r.options, "value-set-options": s.valueSetOptions, prop: r.column.prop, entity: r.row, onCellEvent: l.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : r.type !== "select" || l.isDynamicDataSourceSource() ? r.type !== "multiselect" || l.isDynamicDataSourceSource() ? r.type !== "multiselect" && r.type !== "select" || !l.isDynamicDataSourceSource() ? r.type === "inputNumber" ? (openBlock(), createBlock(q, { key: 16, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[83] || (o[83] = (ie) => s.innerValue = ie), "controls-position": s.inputNumberSet.position, disabled: r.disabled, max: s.inputNumberSet.max == 0 ? 0 : s.inputNumberSet.max ? s.inputNumberSet.max : 1 / 0, min: s.inputNumberSet.min == 0 ? 0 : s.inputNumberSet.min ? s.inputNumberSet.min : -1 / 0, precision: s.inputNumberSet.precision, step: s.inputNumberSet.step ? s.inputNumberSet.step : 1, onBlur: o[84] || (o[84] = (ie) => l.cellEvent("blur", ie)), onChange: o[85] || (o[85] = (ie) => l.cellEvent("change", ie)), onFocus: o[86] || (o[86] = (ie) => l.cellEvent("focus", ie)), onInput: o[87] || (o[87] = (ie) => l.cellEvent("input", ie)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : r.type === "switch" || r.column.dataType === "BOOLEAN" ? (openBlock(), createBlock(j, { key: 17, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[88] || (o[88] = (ie) => s.innerValue = ie), "active-text": l.getSwitchConfig("activeText"), "active-value": l.getSwitchConfig("activeValue"), disabled: r.disabled, "inactive-text": l.getSwitchConfig("inactiveText"), "inactive-value": l.getSwitchConfig("inactiveValue"), onChange: o[89] || (o[89] = (ie) => l.cellEvent("change", ie)), onInput: o[90] || (o[90] = (ie) => l.cellEvent("input", ie, !0)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : r.type === "slider" ? (openBlock(), createBlock(G, { key: 18, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[91] || (o[91] = (ie) => s.innerValue = ie), disabled: r.disabled, onChange: o[92] || (o[92] = (ie) => l.cellEvent("change", ie)), onInput: o[93] || (o[93] = (ie) => l.cellEvent("input", ie, !0)) }, null, 8, ["modelValue", "disabled"])) : r.type === "rate" ? (openBlock(), createBlock(te, { key: 19, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[94] || (o[94] = (ie) => s.innerValue = ie), disabled: r.disabled, onChange: o[95] || (o[95] = (ie) => l.cellEvent("change", ie)), onInput: o[96] || (o[96] = (ie) => l.cellEvent("input", ie, !0)) }, null, 8, ["modelValue", "disabled"])) : s.deptManTree || s.deptTree || s.wgManTree || s.wgTree ? (openBlock(), createBlock(K, { key: 20, "check-strictly": s.isCheckStrictly, "department-info": s.departmentInfo, disabled: r.disabled, "limit-filter-column": (Ne = s.controlConfig) == null ? void 0 : Ne.limitFilterColumn, fields: s.fields, "is-join-table": s.isJoinTable, models: r.row, multiple: s.isMultiTree, "table-name": s.tableName, "tree-type": s.deptManTree ? "DeptUserTree" : s.deptTree ? "DeptTree" : s.wgManTree ? "WgTree" : s.wgTree ? "WgUserTree" : null, value: s.innerValue, onAppend: l.appendOrganizationInputEvent, onClear: l.clearOrganizationInputEvent, onFocus: l.showOrganizationTree, onReplace: l.replaceOrganizationInputEvent, onSetValue: l.organizationInputEvent }, null, 8, ["check-strictly", "department-info", "disabled", "limit-filter-column", "fields", "is-join-table", "models", "multiple", "table-name", "tree-type", "value", "onAppend", "onClear", "onFocus", "onReplace", "onSetValue"])) : createCommentVNode("", !0) : (openBlock(), createBlock(L, { key: 15, value: s.innerValue, "onUpdate:value": o[76] || (o[76] = (ie) => s.innerValue = ie), "base-props": { multiple: r.type === "multiselect", disabled: r.disabled }, column: r.column, entity: r.row, "is-join-table": s.isJoinTable, "list-code": r.listCode, "list-toolbar-form-data": r.listToolbarFormData, options: { dynamicDataSourceCode: s.dynamicDataSourceCode, valueSetOptions: s.valueSetOptions, isSql: r.isSql, backendUrl: s.baseURL, additionalParameter: s.additionalParamMap ? JSON.stringify(s.additionalParamMap) : null }, parent: s.parentFormData, "table-name": s.tableName, onBlur: o[77] || (o[77] = (ie) => l.cellEvent("blur", ie)), onChange: l.multiselectChange, onClear: o[78] || (o[78] = (ie) => l.cellEvent("clear", ie)), onFocus: o[79] || (o[79] = (ie) => l.cellEvent("focus", ie)), onInput: o[80] || (o[80] = (ie) => l.cellEvent("input", ie)), onVisibleChange: o[81] || (o[81] = (ie) => l.cellEvent("visible-change", ie)), onRemoveTag: o[82] || (o[82] = (ie) => l.cellEvent("remove-tag", ie)), onSetValue: l.setDynamicSourceSelectValue }, null, 8, ["value", "base-props", "column", "entity", "is-join-table", "list-code", "list-toolbar-form-data", "options", "parent", "table-name", "onChange", "onSetValue"])) : (openBlock(), createBlock(M, { key: 14, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[69] || (o[69] = (ie) => s.innerValue = ie), disabled: r.disabled, placeholder: n.$t("imatrixUIMessage.pleaseSelect"), title: l.getClassOptionTitle(s.innerValue), clearable: "", "collapse-tags": "", multiple: "", onBlur: o[70] || (o[70] = (ie) => l.cellEvent("blur", ie)), onChange: l.multiselectChange, onClear: o[71] || (o[71] = (ie) => l.cellEvent("clear", ie)), onFocus: o[72] || (o[72] = (ie) => l.cellEvent("focus", ie)), onInput: o[73] || (o[73] = (ie) => l.cellEvent("input", ie)), onVisibleChange: o[74] || (o[74] = (ie) => l.cellEvent("visible-change", ie)), onRemoveTag: o[75] || (o[75] = (ie) => l.cellEvent("remove-tag", ie)) }, { default: withCtx(() => [createVNode(O, { label: n.$t("superGrid.selectAll"), value: "saveAll" }, null, 8, ["label"]), (openBlock(!0), createElementBlock(Fragment, null, renderList(r.options, (ie) => (openBlock(), createBlock(O, { key: ie.value, label: ie.label, value: ie.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "disabled", "placeholder", "title", "onChange"])) : (openBlock(), createBlock(M, { key: 13, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[62] || (o[62] = (ie) => s.innerValue = ie), "allow-create": !!s.controlConfig.allowCreate, clearable: !!s.controlConfig.clearable, "default-first-option": !!s.controlConfig.allowCreate, disabled: r.disabled, filterable: !!s.controlConfig.filterable, placeholder: n.$t("imatrixUIMessage.pleaseSelect"), title: l.getClassOptionTitle(s.innerValue), onBlur: o[63] || (o[63] = (ie) => l.cellEvent("blur", ie)), onChange: o[64] || (o[64] = (ie) => l.cellEvent("change", ie)), onClear: o[65] || (o[65] = (ie) => l.cellEvent("clear", ie)), onFocus: o[66] || (o[66] = (ie) => l.cellEvent("focus", ie)), onInput: o[67] || (o[67] = (ie) => l.cellEvent("input", ie)), onVisibleChange: o[68] || (o[68] = (ie) => l.cellEvent("visible-change", ie)) }, { default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.options, (ie) => (openBlock(), createBlock(O, { key: ie.value, label: ie.label, value: ie.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "allow-create", "clearable", "default-first-option", "disabled", "filterable", "placeholder", "title"])) : (openBlock(), createBlock(v, { key: 7, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[37] || (o[37] = (ie) => s.innerValue = ie), modelModifiers: { number: !0 }, disabled: r.disabled, placeholder: n.$t("imatrixUIMessage.pleaseEnterContent"), title: s.innerValue, type: r.column.dataType === "INTEGER" || r.column.dataType === "LONG" ? "number" : "text", clearable: "", onBlur: o[38] || (o[38] = (ie) => l.cellEvent("blur", ie)), onChange: o[39] || (o[39] = (ie) => l.cellEvent("change", ie)), onClear: o[40] || (o[40] = (ie) => l.cellEvent("clear", ie)), onFocus: o[41] || (o[41] = (ie) => l.cellEvent("focus", ie)), onInput: o[42] || (o[42] = (ie) => l.cellEvent("input", ie, !0)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), createVNode(oe, { "append-to-body": !0, "show-close": !0, title: n.$t("imatrixUIMessage.tips"), visible: s.annexUploadFlag, width: "30%" }, { default: withCtx(() => [r.type === "annex" && s.annexUploadFlag ? (openBlock(), createBlock(ue, { key: 0, accept: s.fileSetObj && s.fileSetObj.accept ? s.fileSetObj.accept : null, action: s.defaultAction, "before-upload": l.handleBeforeUpload, headers: s.headers, "on-success": l.uploadOnSuccess, "with-credentials": !0, name: "file" }, { default: withCtx(() => [createVNode(J, null, { default: withCtx(() => [createTextVNode(toDisplayString$1(n.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : createCommentVNode("", !0)]), _: 1 }, 8, ["title", "visible"]), s.showSingleImgFlag ? (openBlock(), createBlock(he, { key: 21, deleteable: !r.disabled, downloadable: !r.disabled, "file-list": s.fileList, onClose: o[97] || (o[97] = (ie) => s.showSingleImgFlag = !1), onDelete: l.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : createCommentVNode("", !0), s.isShowBrowserScan ? (openBlock(), createBlock(ye, { key: 22, onClose: l.closeBrowserScan }, null, 8, ["onClose"])) : createCommentVNode("", !0)], 4));
|
|
12913
12915
|
}
|
|
12914
12916
|
const DynamicInput = _export_sfc(_sfc_main$1o, [["render", _sfc_render$_]]), rowOperation_vue_vue_type_style_index_0_scoped_aa30b41e_lang = "", _sfc_main$1n = { name: "RowOperation", components: { superIcon }, props: { editing: { type: Boolean, default: !1 }, isTableBtnLink: { type: [Boolean], default: !1 }, isShow: { type: [Boolean, Function], default: !0 }, onClick: { type: Function, default: function() {
|
|
12915
12917
|
} }, entity: { type: Object, default: null }, column: { type: Object, default: null }, rowIndex: { type: Number, default: null }, label: { type: String, default: null }, operation: { type: Object, default: () => ({}) }, operationSetting: { type: Object, default: () => ({}) }, operationIndex: { type: Number, default: null }, listCode: { type: String, default: null }, parentFormData: { type: Object, default: null }, eventName: { type: String, default: null } }, data: () => ({ elementType: "el-button", myStyle: null }), computed: { ...mapGetters(["preventReclick"]), isSaveRow() {
|
|
@@ -14723,7 +14725,7 @@ function _sfc_render$R(n, o, r, a, s, l) {
|
|
|
14723
14725
|
const d = resolveComponent("el-input-number");
|
|
14724
14726
|
return openBlock(), createElementBlock("div", null, [createVNode(d, { modelValue: s.number1, "onUpdate:modelValue": o[0] || (o[0] = (p) => s.number1 = p), min: r.moduleConfig.min == 0 ? 0 : r.moduleConfig.min ? r.moduleConfig.min : -1 / 0, max: r.moduleConfig.max == 0 ? 0 : r.moduleConfig.max ? r.moduleConfig.max : 1 / 0, step: r.moduleConfig.step ? r.moduleConfig.step : 1, precision: r.moduleConfig.precision ? r.moduleConfig.precision : 0, "controls-position": r.moduleConfig.position ? r.moduleConfig.position : "", onChange: o[1] || (o[1] = (p) => l.setValue()) }, null, 8, ["modelValue", "min", "max", "step", "precision", "controls-position"]), _hoisted_1$Y, createVNode(d, { modelValue: s.number2, "onUpdate:modelValue": o[2] || (o[2] = (p) => s.number2 = p), min: r.moduleConfig.min == 0 ? 0 : r.moduleConfig.min ? r.moduleConfig.min : -1 / 0, max: r.moduleConfig.max == 0 ? 0 : r.moduleConfig.max ? r.moduleConfig.max : 1 / 0, step: r.moduleConfig.step ? r.moduleConfig.step : 1, precision: r.moduleConfig.precision ? r.moduleConfig.precision : 0, "controls-position": r.moduleConfig.position ? r.moduleConfig.position : "", onChange: o[3] || (o[3] = (p) => l.setValue()) }, null, 8, ["modelValue", "min", "max", "step", "precision", "controls-position"])]);
|
|
14725
14727
|
}
|
|
14726
|
-
const searchFormNumber$1 = _export_sfc(_sfc_main$1f, [["render", _sfc_render$R]]),
|
|
14728
|
+
const searchFormNumber$1 = _export_sfc(_sfc_main$1f, [["render", _sfc_render$R]]), searchFormItem_vue_vue_type_style_index_0_scoped_7af98b7d_lang = "", _sfc_main$1e = { name: "SearchFormItem", components: { searchFormNumber: searchFormNumber$1 }, inject: ["getListToolbarFormData"], props: { column: { type: Object, default: null }, code: { type: String, default: null }, isSql: { type: Boolean, default: !1 }, tableName: { type: String, default: null }, isJoinTable: { type: Boolean, default: !1 }, searchForm: { type: Object, default: null }, index: { type: Number, default: 0 }, length: { type: Number, default: 0 }, loadCompleteQuery: { type: Boolean, default: !1 }, labelWidth: { type: [String, Number, void 0], default: void 0 } }, data() {
|
|
14727
14729
|
return { customComponentNames: /* @__PURE__ */ new Set(), dateOne: null, dataTwo: null, moduleConfig: {}, dateVal: this.getFormItemValue(this.column.prop), controlConfig: getControlConfig(this.column) };
|
|
14728
14730
|
}, computed: { listToolbarFormData() {
|
|
14729
14731
|
const n = this.getListToolbarFormData();
|
|
@@ -14805,7 +14807,7 @@ function _sfc_render$Q(n, o, r, a, s, l) {
|
|
|
14805
14807
|
return [l.customComponent(r.column) === !0 ? (openBlock(), createElementBlock("span", _hoisted_2$C, [(openBlock(), createBlock(resolveDynamicComponent(r.column.componentName), { ref: r.column.componentName, entity: r.searchForm, "additional-settings": s.controlConfig, "model-value": n.getFormItemValue(r.column.prop), prop: r.column.prop, row: r.searchForm, "select-options": r.column.valueSet, class: "customComponent", onChange: o[0] || (o[0] = (K) => l.setValueToModelProp(r.column.prop, K, r.column.componentName)) }, null, 40, ["entity", "additional-settings", "model-value", "prop", "row", "select-options"]))])) : r.column.componentType === "dateSection" ? (openBlock(), createElementBlock("span", _hoisted_3$t, [createVNode(d, { modelValue: r.searchForm[r.column.prop][0], "onUpdate:modelValue": o[1] || (o[1] = (K) => r.searchForm[r.column.prop][0] = K), placeholder: n.$t("imatrixUIMessage.startDate"), style: normalizeStyle(r.column.searchControlWidth), type: "date", onChange: o[2] || (o[2] = (K) => l.setValueToModelProp(r.column.prop, K, null, 0)) }, null, 8, ["modelValue", "placeholder", "style"]), createVNode(d, { modelValue: r.searchForm[r.column.prop][1], "onUpdate:modelValue": o[3] || (o[3] = (K) => r.searchForm[r.column.prop][1] = K), placeholder: n.$t("imatrixUIMessage.endDate"), style: normalizeStyle(r.column.searchControlWidth), type: "date", onChange: o[4] || (o[4] = (K) => l.setValueToModelProp(r.column.prop, K, null, 1)) }, null, 8, ["modelValue", "placeholder", "style"])])) : r.column.componentType === "yearRange" ? (openBlock(), createBlock(p, { key: 2, value: n.getFormItemValue(r.column.prop), type: "yearRange", onChange: o[5] || (o[5] = (K) => l.setYearRangeValue(r.column.prop, K)) }, null, 8, ["value"])) : r.column.componentType === "dateTimePicker" ? (openBlock(), createBlock(d, { key: 3, "default-time": l.getDefaultTime(r.column), "end-placeholder": n.$t("imatrixUIMessage.endDate"), modelValue: r.searchForm[r.column.prop], "onUpdate:modelValue": o[6] || (o[6] = (K) => r.searchForm[r.column.prop] = K), "range-separator": n.$t("imatrixUIPublicModel.to"), "start-placeholder": n.$t("imatrixUIMessage.startDate"), style: normalizeStyle(r.column.searchControlWidth), type: "datetimerange", "unlink-panels": "", format: "YYYY-MM-DD HH:mm:ss", "value-format": "YYYY-MM-DD HH:mm:ss", onChange: o[7] || (o[7] = (K) => l.setValueToModelProp(r.column.prop, K)) }, null, 8, ["default-time", "end-placeholder", "modelValue", "range-separator", "start-placeholder", "style"])) : r.column.dataType === "DATE" || r.column.componentType === "date" ? (openBlock(), createBlock(d, { key: 4, "end-placeholder": n.$t("imatrixUIMessage.endDate"), modelValue: r.searchForm[r.column.prop], "onUpdate:modelValue": o[8] || (o[8] = (K) => r.searchForm[r.column.prop] = K), "range-separator": n.$t("imatrixUIPublicModel.to"), "start-placeholder": n.$t("imatrixUIMessage.startDate"), style: normalizeStyle(r.column.searchControlWidth), type: "daterange", "unlink-panels": "", format: "YYYY-MM-DD", "value-format": "YYYY-MM-DD", onChange: o[9] || (o[9] = (K) => l.setValueToModelProp(r.column.prop, K)) }, null, 8, ["end-placeholder", "modelValue", "range-separator", "start-placeholder", "style"])) : r.column.dataType === "TIME" && r.column.componentType === "timepicker" ? (openBlock(), createBlock(d, { key: 5, "end-placeholder": n.$t("imatrixUIMessage.endDate"), modelValue: r.searchForm[r.column.prop], "onUpdate:modelValue": o[10] || (o[10] = (K) => r.searchForm[r.column.prop] = K), "range-separator": n.$t("imatrixUIPublicModel.to"), "start-placeholder": n.$t("imatrixUIMessage.startDate"), style: normalizeStyle(r.column.searchControlWidth), type: "datetimerange", "unlink-panels": "", format: "HH:mm:ss", "value-format": "HH:mm:ss", onChange: o[11] || (o[11] = (K) => l.setValueToModelProp(r.column.prop, K)) }, null, 8, ["end-placeholder", "modelValue", "range-separator", "start-placeholder", "style"])) : r.column.componentType === "timepicker" && r.column.dataType !== "TIME" && r.column.dataType !== "DATE" ? (openBlock(), createBlock(v, { key: 6, modelValue: r.searchForm[r.column.prop], "onUpdate:modelValue": o[12] || (o[12] = (K) => r.searchForm[r.column.prop] = K), placeholder: n.$t("imatrixUIMessage.selectTime"), style: { width: "100%" }, type: "fixed-time", format: "HH:mm:ss", "value-format": "HH:mm:ss", onChange: o[13] || (o[13] = (K) => l.setValueToModelProp(r.column.prop, K)) }, null, 8, ["modelValue", "placeholder"])) : l.componentTypeTypeIsTree(r.column.componentType) ? (openBlock(), createBlock(w, { key: 7, fields: l.getTreeFields(r.column.orgTreeSet), models: r.searchForm, multiple: l.getTreeIsMultiTree(r.column.componentType), "tree-type": l.getTreeType(r.column.componentType), value: n.getFormItemValue(r.column.prop), onClear: l.clearOrganizationInputEvent, onSetValue: l.organizationInputEvent }, null, 8, ["fields", "models", "multiple", "tree-type", "value", "onClear", "onSetValue"])) : ((te = r.column) == null ? void 0 : te.componentType) === "radio" ? (openBlock(), createBlock(x, { key: 8, "model-value": n.getFormItemValue(r.column.prop), placeholder: n.$t("imatrixUIMessage.pleaseSelect"), style: normalizeStyle(r.column.searchControlWidth), clearable: "", filterable: "", onChange: o[14] || (o[14] = (K) => l.setValueToModelProp(r.column.prop, K)) }, { default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.column.valueSet, (K) => (openBlock(), createBlock(E, { key: K.value, label: K.label, value: K.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["model-value", "placeholder", "style"])) : (r.column.componentType && r.column.componentType === "select" || r.column.dataType === "BOOLEAN") && !l.isDynamicDataSourceSource(r.column) ? (openBlock(), createBlock(x, { key: 9, "model-value": n.getFormItemValue(r.column.prop), placeholder: n.$t("imatrixUIMessage.pleaseSelect"), style: normalizeStyle(r.column.searchControlWidth), clearable: "", filterable: "", onChange: o[15] || (o[15] = (K) => l.setValueToModelProp(r.column.prop, K)) }, { default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.column.valueSet, (K) => (openBlock(), createBlock(E, { key: K.value, label: K.label, value: K.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["model-value", "placeholder", "style"])) : r.column.componentType && r.column.componentType === "multiselect" && !l.isDynamicDataSourceSource(r.column) ? (openBlock(), createBlock(x, { key: 10, "model-value": n.getFormItemValue(r.column.prop), placeholder: n.$t("imatrixUIMessage.pleaseSelect"), style: normalizeStyle(r.column.searchControlWidth), clearable: "", "collapse-tags": "", filterable: "", multiple: "", onChange: o[16] || (o[16] = (K) => l.setValueToModelProp(r.column.prop, K)) }, { default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.column.valueSet, (K) => (openBlock(), createBlock(E, { key: K.value, label: K.label, value: K.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["model-value", "placeholder", "style"])) : r.column.componentType && (r.column.componentType === "multiselect" || r.column.componentType === "select") && l.isDynamicDataSourceSource(r.column) ? (openBlock(), createBlock(D, { key: 11, value: r.searchForm[r.column.prop], "onUpdate:value": o[17] || (o[17] = (K) => r.searchForm[r.column.prop] = K), "allow-create": !0, "base-props": { multiple: r.column.componentType === "multiselect" }, entity: r.searchForm, filterable: !0, "is-join-table": r.isJoinTable, "list-code": r.code, "list-toolbar-form-data": l.listToolbarFormData, options: l.getDynamicDataSourceOptions(r.column), "table-name": r.tableName, onChange: l.multiselectChange, onInput: o[18] || (o[18] = (K) => l.setValueToModelProp(r.column.prop, K)) }, null, 8, ["value", "base-props", "entity", "is-join-table", "list-code", "list-toolbar-form-data", "options", "table-name", "onChange"])) : r.column.componentType && r.column.componentType === "inputNumber" ? (openBlock(), createBlock(O, { key: 12, "item-value": r.searchForm[r.column.prop], "module-config": s.moduleConfig, onSetValue: l.setNumberValue }, null, 8, ["item-value", "module-config", "onSetValue"])) : r.column.componentType && r.column.componentType === "switch" ? (openBlock(), createBlock(M, { key: 13, "model-value": n.getFormItemValue(r.column.prop), style: normalizeStyle(r.column.searchControlWidth), "active-color": "#13ce66", "inactive-color": "#ff4949", onChange: o[19] || (o[19] = (K) => l.setValueToModelProp(r.column.prop, K)) }, null, 8, ["model-value", "style"])) : r.column.componentType && r.column.componentType === "slider" ? (openBlock(), createBlock(L, { key: 14, "model-value": n.getFormItemValue(r.column.prop), style: normalizeStyle(r.column.searchControlWidth), onChange: o[20] || (o[20] = (K) => l.setValueToModelProp(r.column.prop, K)) }, null, 8, ["model-value", "style"])) : r.column.componentType && r.column.componentType === "rate" ? (openBlock(), createBlock(q, { key: 15, "model-value": n.getFormItemValue(r.column.prop), style: normalizeStyle(r.column.searchControlWidth), onChange: o[21] || (o[21] = (K) => l.setValueToModelProp(r.column.prop, K)) }, null, 8, ["model-value", "style"])) : (openBlock(), createBlock(j, { key: 16, "model-value": n.getFormItemValue(r.column.prop), style: normalizeStyle(r.column.searchControlWidth), onKeyup: o[22] || (o[22] = withKeys((K) => n.submitForm("searchForm"), ["enter"])), onInput: o[23] || (o[23] = (K) => l.setValueToModelProp(r.column.prop, K)) }, null, 8, ["model-value", "style"]))];
|
|
14806
14808
|
}), _: 1 }, 8, ["label-width", "prop"]);
|
|
14807
14809
|
}
|
|
14808
|
-
const SearchFormItem = _export_sfc(_sfc_main$1e, [["render", _sfc_render$Q], ["__scopeId", "data-v-
|
|
14810
|
+
const SearchFormItem = _export_sfc(_sfc_main$1e, [["render", _sfc_render$Q], ["__scopeId", "data-v-7af98b7d"]]), _sfc_main$1d = { name: "SearchButton", props: { isOpen: { type: Boolean, default: !1 }, isShowOpen: { type: Boolean, default: void 0 } }, data() {
|
|
14809
14811
|
const n = isMobileBrowser();
|
|
14810
14812
|
return { isMyOpen: this.isOpen, loading: !1, CaretTop: shallowRef(caret_top_default), CaretBottom: shallowRef(caret_bottom_default), isMobile: n };
|
|
14811
14813
|
}, methods: { openFold() {
|