agilebuilder-ui 1.1.65-tmp29 → 1.1.65-tmp30

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.
@@ -478,7 +478,8 @@ const C = { toolbarRefresh(e2, t2, a2, i2) {
478
478
  var _a;
479
479
  return false !== o(e2, t2, a2, (_a = e2.options.actionPermission) == null ? void 0 : _a.deleteCondition) || (window.$vueApp.config.globalProperties.$message({ showClose: true, message: u().t("superGrid.rowCanntDeleteTip"), type: "warning" }), false);
480
480
  }, getSelections() {
481
- this.$refs && this.$refs.superGrid && this.$refs.superGrid.getSelectionRows();
481
+ if (this.$refs && this.$refs.superGrid)
482
+ return this.$refs.superGrid.getSelectionRows();
482
483
  } }, R = { data: () => ({ toolbarFieldParam: null, showSearch: false, isMobile: m(), baseURL: "", currentPage: 1, pageSize: 10, code: "", pageCode: "", jumpPageSetting: null, isShowPageDialog: false, gridData: [], subTableData: [], searchForm: [], options: {}, lineEdit: null, loaded: false, configureObj: {}, additionalParamMap: {}, basicInfo: {}, dynamicColumnInfo: {}, $dataTypeMap: {}, mainDefaultValueColumns: [], dynamicServiceName: "", isHasDynamic: false, isMulitiSelect: false, sql: false, restoreCurrentRowTimer: null }), methods: { ...C } };
483
484
  export {
484
485
  R as apisMixin,
@@ -12,9 +12,9 @@ import { analysisScanValue as T, setScanAnalysisValue as V } from "./scan-util.m
12
12
  import N from "./custom-formatter.mjs";
13
13
  import D from "./components/grid-radio-input.vue.mjs";
14
14
  import E from "./components/select-input.vue.mjs";
15
- import { resolveComponent as x, openBlock as P, createElementBlock as I, normalizeClass as O, createBlock as F, resolveDynamicComponent as k, createSlots as M, withCtx as j, createCommentVNode as U, toDisplayString as $, createVNode as A, createTextVNode as L } from "vue";
15
+ import { resolveComponent as x, openBlock as P, createElementBlock as I, normalizeClass as F, createBlock as O, resolveDynamicComponent as k, createSlots as M, withCtx as j, createCommentVNode as U, toDisplayString as $, createVNode as A, createTextVNode as L } from "vue";
16
16
  import q from "../../_virtual/_plugin-vue_export-helper.mjs";
17
- const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImageDialog: v, GridRadioInput: D, SelectInput: E }, props: { value: { type: [String, Boolean, Number, Date, Array], default: null }, type: { type: String, default: "input" }, position: { type: Object, default: null }, lineEdit: { type: Object, default: null }, options: { type: Array, default: null }, column: { type: Object, default: null }, row: { type: Object, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, listToolbarFormData: { type: Object, default: null }, rowIndex: { type: Number, default: -1 }, disabled: { type: Boolean, default: false }, gridOptions: { type: Object, default: null }, gridRef: { type: Object, default: null } }, data() {
17
+ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImageDialog: v, GridRadioInput: D, SelectInput: E }, props: { value: { type: [String, Boolean, Number, Date, Array], default: null }, type: { type: String, default: "input" }, position: { type: Object, default: null }, lineEdit: { type: Object, default: null }, options: { type: Array, default: null }, column: { type: Object, default: null }, row: { type: Object, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, listToolbarFormData: { type: Object, default: null }, rowIndex: { type: Number, default: -1 }, disabled: { type: Boolean, default: false }, gridOptions: { type: Object, default: null } }, data() {
18
18
  let a2 = this.value;
19
19
  this.type && "select" === this.type && "TEXT" !== this.column.dataType && (a2 = this.value && null !== this.value && "string" != typeof this.value ? this.value + "" : this.value, b(this, "update:value", a2));
20
20
  const o2 = this.getDefaultValue(a2);
@@ -33,11 +33,11 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
33
33
  let V2, N2 = false, D2 = {};
34
34
  this.column.controlConfig && (D2 = JSON.parse(this.column.controlConfig)), D2.scanEnable && (N2 = true);
35
35
  V2 = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
36
- const E2 = !!C(), x2 = !(!S2 || !V2 || "app" !== V2), P2 = x2 || E2 || !(!S2 || !N2 || "https:" !== window.location.protocol), I2 = r2.colConfigureMap ? r2.colConfigureMap[this.column.prop] : null, O2 = I2 && I2.runtime ? I2.runtime : {}, F2 = O2.props ? O2.props : {};
36
+ const E2 = !!C(), x2 = !(!S2 || !V2 || "app" !== V2), P2 = x2 || E2 || !(!S2 || !N2 || "https:" !== window.location.protocol), I2 = r2.colConfigureMap ? r2.colConfigureMap[this.column.prop] : null, F2 = I2 && I2.runtime ? I2.runtime : {}, O2 = F2.props ? F2.props : {};
37
37
  let k2;
38
38
  r2 && r2.basicInfo && r2.basicInfo.systemCode && (k2 = r2.basicInfo.systemCode);
39
39
  const M2 = "copyBtn_" + (/* @__PURE__ */ new Date()).getTime();
40
- return { deptManTree: false, isMultiTree: false, isCheckStrictly: false, deptTree: false, wgManTree: false, wgTree: false, newValue: null, componentName: "", annexUploadFlag: false, defaultAction: n2, fileMultiple: false, fileList: [], lastServerName: "", fileSetObj: null, showSingleImgFlag: false, singleImgSrc: "", fields: null, innerValue: a2, dynamicSourceSelectOptions: {}, valueSetOptions: null, dynamicDataSourceCode: null, tableName: u2, departmentInfo: null, parentFormData: p2, headers: m2, dataSourceType: d2, inputNumberSet: {}, fileInfo: { showName: null, serverPath: null }, gridData: f2 ? h2 : c2, pageGridData: f2 ? c2 : null, additionalParamMap: y2, controlConfig: l(this.column), pickerOptions: { disabledDate: (e2) => this.stateForbiddenTime && this.endForbiddenTime ? e2.getTime() < this.stateForbiddenTime || e2.getTime() > this.endForbiddenTime : this.stateForbiddenTime && !this.endForbiddenTime ? e2.getTime() < this.stateForbiddenTime : !(this.stateForbiddenTime || !this.endForbiddenTime) && e2.getTime() > this.endForbiddenTime }, stateForbiddenTime: null, endForbiddenTime: null, pageContext: v2, isMobile: S2, componentId: T2, scanEnable: N2, userAgent: V2, isApk: x2, isDingTalk: E2, isShowBrowserScan: false, isShowScanIcon: P2, colConfigure: I2, designProperty: F2, myCustomParams: {}, systemCode: k2, isFormSubTable: false, copyBtnId: M2 };
40
+ return { deptManTree: false, isMultiTree: false, isCheckStrictly: false, deptTree: false, wgManTree: false, wgTree: false, newValue: null, componentName: "", annexUploadFlag: false, defaultAction: n2, fileMultiple: false, fileList: [], lastServerName: "", fileSetObj: null, showSingleImgFlag: false, singleImgSrc: "", fields: null, innerValue: a2, dynamicSourceSelectOptions: {}, valueSetOptions: null, dynamicDataSourceCode: null, tableName: u2, departmentInfo: null, parentFormData: p2, headers: m2, dataSourceType: d2, inputNumberSet: {}, fileInfo: { showName: null, serverPath: null }, gridData: f2 ? h2 : c2, pageGridData: f2 ? c2 : null, additionalParamMap: y2, controlConfig: l(this.column), pickerOptions: { disabledDate: (e2) => this.stateForbiddenTime && this.endForbiddenTime ? e2.getTime() < this.stateForbiddenTime || e2.getTime() > this.endForbiddenTime : this.stateForbiddenTime && !this.endForbiddenTime ? e2.getTime() < this.stateForbiddenTime : !(this.stateForbiddenTime || !this.endForbiddenTime) && e2.getTime() > this.endForbiddenTime }, stateForbiddenTime: null, endForbiddenTime: null, pageContext: v2, isMobile: S2, componentId: T2, scanEnable: N2, userAgent: V2, isApk: x2, isDingTalk: E2, isShowBrowserScan: false, isShowScanIcon: P2, colConfigure: I2, designProperty: O2, myCustomParams: {}, systemCode: k2, isFormSubTable: false, copyBtnId: M2 };
41
41
  }, computed: {}, watch: { value: { handler(t2, i2) {
42
42
  if (this.type && "multiselect" === this.type) {
43
43
  const e2 = this.value && null !== this.value && "string" == typeof this.value ? this.value.split(",") : this.value;
@@ -475,7 +475,7 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
475
475
  const _ = q(B, [["render", function(e2, t2, i2, l2, a2, o2) {
476
476
  var _a;
477
477
  const s2 = x("el-date-picker"), n2 = x("el-time-picker"), r2 = x("el-input"), u2 = x("SuperIcon"), p2 = x("fs-upload-list"), m2 = x("multipart-upload"), d2 = x("GridRadioInput"), c2 = x("SelectInput"), h2 = x("el-input-number"), f2 = x("el-switch"), g2 = x("el-slider"), y2 = x("el-rate"), v2 = x("organization-input"), b2 = x("el-button"), S2 = x("el-upload"), w2 = x("el-dialog"), C2 = x("view-image-dialog"), T2 = x("scan-code-input-browser");
478
- return i2.type && i2.type.indexOf("custom:") >= 0 && "" != a2.componentName ? (P(), I("div", { key: 0, class: O(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, [(P(), F(k(a2.componentName), { ref: "customItem", disabled: i2.disabled, entity: i2.row, "grid-data": a2.gridData, "page-grid-data": a2.pageGridData, "additional-settings": a2.controlConfig, parent: a2.parentFormData, prop: i2.column.prop, "custom-params": a2.myCustomParams, row: i2.row, "row-index": i2.position ? i2.position.row : null, "select-options": i2.options, value: a2.innerValue, "additional-param-map": a2.additionalParamMap, listCode: i2.listCode, "component-id": a2.componentId, "page-context": a2.pageContext, "grid-ref": i2.gridRef, onChange: t2[0] || (t2[0] = (e3) => o2.cellEvent("change", e3)), onInput: t2[1] || (t2[1] = (e3) => o2.cellEvent("input", e3)) }, 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", "grid-ref"]))], 2)) : (P(), I("div", { key: 1, class: O(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, ["year" === i2.type || "month" === i2.type || "week" === i2.type ? (P(), F(s2, { key: 0, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), type: i2.type, "value-format": o2.isValueFormat(), style: { width: "100%" }, onBlur: t2[3] || (t2[3] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[4] || (t2[4] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[5] || (t2[5] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[6] || (t2[6] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : "yearRange" === i2.type ? (P(), F(s2, { key: 1, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, placeholder: e2.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: t2[8] || (t2[8] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[9] || (t2[9] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[10] || (t2[10] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[11] || (t2[11] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : "dateTimePicker" === i2.type ? (P(), F(s2, { key: 2, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[13] || (t2[13] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[14] || (t2[14] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[15] || (t2[15] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[16] || (t2[16] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "date" === i2.type ? (P(), F(s2, { key: 3, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), "picker-options": a2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[18] || (t2[18] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[19] || (t2[19] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[20] || (t2[20] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[21] || (t2[21] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "timePicker" === i2.type || "input" === i2.type && "TIME" === i2.column.dataType ? (P(), F(n2, { key: 4, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => a2.innerValue = e3), disabled: i2.disabled, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": o2.isValueFormat(), style: { width: "100%" }, onBlur: t2[23] || (t2[23] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[24] || (t2[24] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[25] || (t2[25] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[26] || (t2[26] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "time" === i2.type ? (P(), F(s2, { key: 5, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[28] || (t2[28] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[29] || (t2[29] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[30] || (t2[30] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[31] || (t2[31] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "DATE" === i2.column.dataType ? (P(), F(s2, { key: 6, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), "picker-options": a2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[33] || (t2[33] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[34] || (t2[34] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[35] || (t2[35] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[36] || (t2[36] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "input" !== i2.type || "INTEGER" !== i2.column.dataType && "LONG" !== i2.column.dataType ? "input" === i2.type ? (P(), F(r2, { key: 8, ref: "item", disabled: i2.disabled, maxlength: a2.controlConfig && a2.controlConfig.maxlength ? a2.controlConfig.maxlength : "", minlength: a2.controlConfig && a2.controlConfig.minlength ? a2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: a2.innerValue, clearable: "", modelValue: a2.innerValue, "onUpdate:modelValue": t2[48] || (t2[48] = (e3) => a2.innerValue = e3), onBlur: t2[49] || (t2[49] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[50] || (t2[50] = (e3) => o2.cellEvent("change", e3)), onClear: t2[51] || (t2[51] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[52] || (t2[52] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[53] || (t2[53] = (e3) => o2.cellEvent("input", e3, true)) }, M({ _: 2 }, ["outer" != a2.designProperty.iconPosition && (a2.designProperty.preIconType && a2.designProperty.preIconValue || a2.designProperty.preText) ? { name: "prefix", fn: j(() => [a2.designProperty.preIconType && a2.designProperty.preIconValue ? (P(), F(u2, { key: 0, iconType: a2.designProperty.preIconType, iconValue: a2.designProperty.preIconValue, onClick: t2[43] || (t2[43] = (e3) => o2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.preText ? (P(), I("span", J, $(e2.$t(a2.designProperty.preText)), 1)) : U("", true)]), key: "0" } : void 0, "outer" == a2.designProperty.iconPosition && (a2.designProperty.preIconType && a2.designProperty.preIconValue || a2.designProperty.preText) ? { name: "prepend", fn: j(() => [a2.designProperty.preIconType && a2.designProperty.preIconValue ? (P(), F(u2, { key: 0, iconType: a2.designProperty.preIconType, iconValue: a2.designProperty.preIconValue, onClick: t2[44] || (t2[44] = (e3) => o2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.preText ? (P(), I("span", R, $(e2.$t(a2.designProperty.preText)), 1)) : U("", true)]), key: "1" } : void 0, "outer" != a2.designProperty.iconPosition && (a2.designProperty.sufIconType && a2.designProperty.sufIconValue || a2.designProperty.sufText) ? { name: "suffix", fn: j(() => [a2.designProperty.sufIconType && a2.designProperty.sufIconValue ? (P(), F(u2, { key: 0, iconType: a2.designProperty.sufIconType, iconValue: a2.designProperty.sufIconValue, onClick: t2[45] || (t2[45] = (e3) => o2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.sufText ? (P(), I("span", W, $(e2.$t(a2.designProperty.sufText)), 1)) : U("", true)]), key: "2" } : void 0, a2.isShowScanIcon || "outer" == a2.designProperty.iconPosition && (a2.designProperty.sufIconType && a2.designProperty.sufIconValue || a2.designProperty.sufText) ? { name: "append", fn: j(() => [a2.isShowScanIcon ? (P(), F(u2, { key: 0, iconValue: "fa-barcode", onClick: t2[46] || (t2[46] = (e3) => o2.scanClick()) })) : U("", true), a2.designProperty.sufIconType && a2.designProperty.sufIconValue ? (P(), F(u2, { key: 1, iconType: a2.designProperty.sufIconType, iconValue: a2.designProperty.sufIconValue, onClick: t2[47] || (t2[47] = (e3) => o2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.sufText ? (P(), I("span", Y, $(e2.$t(a2.designProperty.sufText)), 1)) : U("", true)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : "textarea" === i2.type ? (P(), F(r2, { key: 9, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[54] || (t2[54] = (e3) => a2.innerValue = e3), disabled: i2.disabled, maxlength: a2.controlConfig && a2.controlConfig.maxlength ? a2.controlConfig.maxlength : "", minlength: a2.controlConfig && a2.controlConfig.minlength ? a2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), rows: a2.designProperty.rows ? a2.designProperty.rows : 2, title: a2.innerValue, clearable: "", type: "textarea", onBlur: t2[55] || (t2[55] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[56] || (t2[56] = (e3) => o2.cellEvent("change", e3)), onClear: t2[57] || (t2[57] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[58] || (t2[58] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[59] || (t2[59] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "rows", "title"])) : "annex" === i2.type ? (P(), F(p2, { key: 10, ref: "fileUploadRef", "custom-view-url": true, disabled: i2.disabled, "file-info": a2.fileInfo, "file-list": a2.fileList, "file-set-obj": a2.fileSetObj, "is-sql": i2.isSql, row: i2.row, value: a2.innerValue, "page-context": a2.pageContext, "list-code": i2.listCode, componentId: a2.componentId, onDelete: o2.deleteFile, onDeleteSuccess: o2.deleteSuccess, onUploadSuccess: o2.uploadOnSuccess, onOnError: o2.onError }, null, 8, ["disabled", "file-info", "file-list", "file-set-obj", "is-sql", "row", "value", "page-context", "list-code", "componentId", "onDelete", "onDeleteSuccess", "onUploadSuccess", "onOnError"])) : "multipartUpload" === i2.type ? (P(), F(m2, { key: 11, disabled: i2.disabled, entity: i2.row, "file-info": a2.fileInfo, "file-list": a2.fileList, "file-set-obj": a2.fileSetObj, value: a2.innerValue, type: "list", onDelete: o2.deleteFile, onDeleteSuccess: o2.deleteSuccess, onUploadSuccess: o2.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : "radio" === i2.type ? (P(), F(d2, { key: 12, modelValue: a2.innerValue, "onUpdate:modelValue": [t2[60] || (t2[60] = (e3) => a2.innerValue = e3), t2[61] || (t2[61] = (e3) => a2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": a2.valueSetOptions, prop: i2.column.prop, entity: i2.row, onCellEvent: o2.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : "multiselect" === i2.type || "select" === i2.type ? (P(), F(c2, { key: 13, modelValue: a2.innerValue, "onUpdate:modelValue": [t2[62] || (t2[62] = (e3) => a2.innerValue = e3), t2[63] || (t2[63] = (e3) => a2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": a2.valueSetOptions, prop: i2.column.prop, entity: i2.row, column: i2.column, type: i2.type, controlConfig: a2.controlConfig, listCode: i2.listCode, listToolbarFormData: i2.listToolbarFormData, dynamicDataSourceCode: a2.dynamicDataSourceCode, additionalParamMap: a2.additionalParamMap, isSql: i2.isSql, parentFormData: a2.parentFormData, tableName: a2.tableName, onCellEvent: o2.cellEvent, onExtendParams: o2.setExtendParams, onSetCellValue: o2.setCellValue, onSetCellValueWithProp: o2.setCellValueWithProp, onCallCustomEventWithParam: o2.callCustomEventWithParam }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "column", "type", "controlConfig", "listCode", "listToolbarFormData", "dynamicDataSourceCode", "additionalParamMap", "isSql", "parentFormData", "tableName", "onCellEvent", "onExtendParams", "onSetCellValue", "onSetCellValueWithProp", "onCallCustomEventWithParam"])) : "inputNumber" === i2.type ? (P(), F(h2, { key: 14, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[64] || (t2[64] = (e3) => a2.innerValue = e3), "controls-position": a2.inputNumberSet.position, disabled: i2.disabled, max: 0 == a2.inputNumberSet.max ? 0 : a2.inputNumberSet.max ? a2.inputNumberSet.max : 1 / 0, min: 0 == a2.inputNumberSet.min ? 0 : a2.inputNumberSet.min ? a2.inputNumberSet.min : -1 / 0, precision: a2.inputNumberSet.precision, step: a2.inputNumberSet.step ? a2.inputNumberSet.step : 1, onBlur: t2[65] || (t2[65] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[66] || (t2[66] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[67] || (t2[67] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[68] || (t2[68] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : "switch" === i2.type || "BOOLEAN" === i2.column.dataType ? (P(), F(f2, { key: 15, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[69] || (t2[69] = (e3) => a2.innerValue = e3), "active-text": o2.getSwitchConfig("activeText"), "active-value": o2.getSwitchConfig("activeValue"), disabled: i2.disabled, "inactive-text": o2.getSwitchConfig("inactiveText"), "inactive-value": o2.getSwitchConfig("inactiveValue"), onChange: t2[70] || (t2[70] = (e3) => o2.cellEvent("change", e3)), onInput: t2[71] || (t2[71] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : "slider" === i2.type ? (P(), F(g2, { key: 16, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[72] || (t2[72] = (e3) => a2.innerValue = e3), disabled: i2.disabled, onChange: t2[73] || (t2[73] = (e3) => o2.cellEvent("change", e3)), onInput: t2[74] || (t2[74] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : "rate" === i2.type ? (P(), F(y2, { key: 17, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[75] || (t2[75] = (e3) => a2.innerValue = e3), disabled: i2.disabled, onChange: t2[76] || (t2[76] = (e3) => o2.cellEvent("change", e3)), onInput: t2[77] || (t2[77] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : a2.deptManTree || a2.deptTree || a2.wgManTree || a2.wgTree ? (P(), F(v2, { key: 18, "check-strictly": a2.isCheckStrictly, "department-info": a2.departmentInfo, disabled: i2.disabled, "limit-filter-column": (_a = a2.controlConfig) == null ? void 0 : _a.limitFilterColumn, fields: a2.fields, "is-join-table": e2.isJoinTable, models: i2.row, multiple: a2.isMultiTree, "table-name": a2.tableName, "tree-type": a2.deptManTree ? "DeptUserTree" : a2.deptTree ? "DeptTree" : a2.wgManTree ? "WgUserTree" : a2.wgTree ? "WgTree" : null, value: a2.innerValue, onAppend: o2.appendOrganizationInputEvent, onClear: o2.clearOrganizationInputEvent, onFocus: o2.showOrganizationTree, onReplace: o2.replaceOrganizationInputEvent, onSetValue: o2.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"])) : U("", true) : (P(), F(r2, { key: 7, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[37] || (t2[37] = (e3) => a2.innerValue = e3), modelModifiers: { number: true }, disabled: i2.disabled, placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: a2.innerValue, type: "INTEGER" === i2.column.dataType || "LONG" === i2.column.dataType ? "number" : "text", clearable: "", onBlur: t2[38] || (t2[38] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[39] || (t2[39] = (e3) => o2.cellEvent("change", e3)), onClear: t2[40] || (t2[40] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[41] || (t2[41] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[42] || (t2[42] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), A(w2, { "append-to-body": true, "show-close": true, title: e2.$t("imatrixUIMessage.tips"), visible: a2.annexUploadFlag, width: "30%" }, { default: j(() => ["annex" === i2.type && a2.annexUploadFlag ? (P(), F(S2, { key: 0, accept: a2.fileSetObj && a2.fileSetObj.accept ? a2.fileSetObj.accept : null, action: a2.defaultAction, "before-upload": o2.handleBeforeUpload, headers: a2.headers, "on-success": o2.uploadOnSuccess, "with-credentials": true, name: "file" }, { default: j(() => [A(b2, null, { default: j(() => [L($(e2.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : U("", true)]), _: 1 }, 8, ["title", "visible"]), a2.showSingleImgFlag ? (P(), F(C2, { key: 19, deleteable: !i2.disabled, downloadable: !i2.disabled, "file-list": a2.fileList, onClose: t2[78] || (t2[78] = (e3) => a2.showSingleImgFlag = false), onDelete: o2.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : U("", true), a2.isShowBrowserScan ? (P(), F(T2, { key: 20, onClose: o2.closeBrowserScan }, null, 8, ["onClose"])) : U("", true)], 2));
478
+ return i2.type && i2.type.indexOf("custom:") >= 0 && "" != a2.componentName ? (P(), I("div", { key: 0, class: F(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, [(P(), O(k(a2.componentName), { ref: "customItem", disabled: i2.disabled, entity: i2.row, "grid-data": a2.gridData, "page-grid-data": a2.pageGridData, "additional-settings": a2.controlConfig, parent: a2.parentFormData, prop: i2.column.prop, "custom-params": a2.myCustomParams, row: i2.row, "row-index": i2.position ? i2.position.row : null, "select-options": i2.options, value: a2.innerValue, "additional-param-map": a2.additionalParamMap, listCode: i2.listCode, "component-id": a2.componentId, "page-context": a2.pageContext, onChange: t2[0] || (t2[0] = (e3) => o2.cellEvent("change", e3)), onInput: t2[1] || (t2[1] = (e3) => o2.cellEvent("input", e3)) }, 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"]))], 2)) : (P(), I("div", { key: 1, class: F(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, ["year" === i2.type || "month" === i2.type || "week" === i2.type ? (P(), O(s2, { key: 0, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), type: i2.type, "value-format": o2.isValueFormat(), style: { width: "100%" }, onBlur: t2[3] || (t2[3] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[4] || (t2[4] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[5] || (t2[5] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[6] || (t2[6] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : "yearRange" === i2.type ? (P(), O(s2, { key: 1, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, placeholder: e2.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: t2[8] || (t2[8] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[9] || (t2[9] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[10] || (t2[10] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[11] || (t2[11] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : "dateTimePicker" === i2.type ? (P(), O(s2, { key: 2, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[13] || (t2[13] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[14] || (t2[14] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[15] || (t2[15] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[16] || (t2[16] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "date" === i2.type ? (P(), O(s2, { key: 3, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), "picker-options": a2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[18] || (t2[18] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[19] || (t2[19] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[20] || (t2[20] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[21] || (t2[21] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "timePicker" === i2.type || "input" === i2.type && "TIME" === i2.column.dataType ? (P(), O(n2, { key: 4, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => a2.innerValue = e3), disabled: i2.disabled, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": o2.isValueFormat(), style: { width: "100%" }, onBlur: t2[23] || (t2[23] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[24] || (t2[24] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[25] || (t2[25] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[26] || (t2[26] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "time" === i2.type ? (P(), O(s2, { key: 5, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[28] || (t2[28] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[29] || (t2[29] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[30] || (t2[30] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[31] || (t2[31] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "DATE" === i2.column.dataType ? (P(), O(s2, { key: 6, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), "picker-options": a2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[33] || (t2[33] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[34] || (t2[34] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[35] || (t2[35] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[36] || (t2[36] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "input" !== i2.type || "INTEGER" !== i2.column.dataType && "LONG" !== i2.column.dataType ? "input" === i2.type ? (P(), O(r2, { key: 8, ref: "item", disabled: i2.disabled, maxlength: a2.controlConfig && a2.controlConfig.maxlength ? a2.controlConfig.maxlength : "", minlength: a2.controlConfig && a2.controlConfig.minlength ? a2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: a2.innerValue, clearable: "", modelValue: a2.innerValue, "onUpdate:modelValue": t2[48] || (t2[48] = (e3) => a2.innerValue = e3), onBlur: t2[49] || (t2[49] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[50] || (t2[50] = (e3) => o2.cellEvent("change", e3)), onClear: t2[51] || (t2[51] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[52] || (t2[52] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[53] || (t2[53] = (e3) => o2.cellEvent("input", e3, true)) }, M({ _: 2 }, ["outer" != a2.designProperty.iconPosition && (a2.designProperty.preIconType && a2.designProperty.preIconValue || a2.designProperty.preText) ? { name: "prefix", fn: j(() => [a2.designProperty.preIconType && a2.designProperty.preIconValue ? (P(), O(u2, { key: 0, iconType: a2.designProperty.preIconType, iconValue: a2.designProperty.preIconValue, onClick: t2[43] || (t2[43] = (e3) => o2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.preText ? (P(), I("span", J, $(e2.$t(a2.designProperty.preText)), 1)) : U("", true)]), key: "0" } : void 0, "outer" == a2.designProperty.iconPosition && (a2.designProperty.preIconType && a2.designProperty.preIconValue || a2.designProperty.preText) ? { name: "prepend", fn: j(() => [a2.designProperty.preIconType && a2.designProperty.preIconValue ? (P(), O(u2, { key: 0, iconType: a2.designProperty.preIconType, iconValue: a2.designProperty.preIconValue, onClick: t2[44] || (t2[44] = (e3) => o2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.preText ? (P(), I("span", R, $(e2.$t(a2.designProperty.preText)), 1)) : U("", true)]), key: "1" } : void 0, "outer" != a2.designProperty.iconPosition && (a2.designProperty.sufIconType && a2.designProperty.sufIconValue || a2.designProperty.sufText) ? { name: "suffix", fn: j(() => [a2.designProperty.sufIconType && a2.designProperty.sufIconValue ? (P(), O(u2, { key: 0, iconType: a2.designProperty.sufIconType, iconValue: a2.designProperty.sufIconValue, onClick: t2[45] || (t2[45] = (e3) => o2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.sufText ? (P(), I("span", W, $(e2.$t(a2.designProperty.sufText)), 1)) : U("", true)]), key: "2" } : void 0, a2.isShowScanIcon || "outer" == a2.designProperty.iconPosition && (a2.designProperty.sufIconType && a2.designProperty.sufIconValue || a2.designProperty.sufText) ? { name: "append", fn: j(() => [a2.isShowScanIcon ? (P(), O(u2, { key: 0, iconValue: "fa-barcode", onClick: t2[46] || (t2[46] = (e3) => o2.scanClick()) })) : U("", true), a2.designProperty.sufIconType && a2.designProperty.sufIconValue ? (P(), O(u2, { key: 1, iconType: a2.designProperty.sufIconType, iconValue: a2.designProperty.sufIconValue, onClick: t2[47] || (t2[47] = (e3) => o2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.sufText ? (P(), I("span", Y, $(e2.$t(a2.designProperty.sufText)), 1)) : U("", true)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : "textarea" === i2.type ? (P(), O(r2, { key: 9, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[54] || (t2[54] = (e3) => a2.innerValue = e3), disabled: i2.disabled, maxlength: a2.controlConfig && a2.controlConfig.maxlength ? a2.controlConfig.maxlength : "", minlength: a2.controlConfig && a2.controlConfig.minlength ? a2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), rows: a2.designProperty.rows ? a2.designProperty.rows : 2, title: a2.innerValue, clearable: "", type: "textarea", onBlur: t2[55] || (t2[55] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[56] || (t2[56] = (e3) => o2.cellEvent("change", e3)), onClear: t2[57] || (t2[57] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[58] || (t2[58] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[59] || (t2[59] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "rows", "title"])) : "annex" === i2.type ? (P(), O(p2, { key: 10, ref: "fileUploadRef", "custom-view-url": true, disabled: i2.disabled, "file-info": a2.fileInfo, "file-list": a2.fileList, "file-set-obj": a2.fileSetObj, "is-sql": i2.isSql, row: i2.row, value: a2.innerValue, "page-context": a2.pageContext, "list-code": i2.listCode, componentId: a2.componentId, onDelete: o2.deleteFile, onDeleteSuccess: o2.deleteSuccess, onUploadSuccess: o2.uploadOnSuccess, onOnError: o2.onError }, null, 8, ["disabled", "file-info", "file-list", "file-set-obj", "is-sql", "row", "value", "page-context", "list-code", "componentId", "onDelete", "onDeleteSuccess", "onUploadSuccess", "onOnError"])) : "multipartUpload" === i2.type ? (P(), O(m2, { key: 11, disabled: i2.disabled, entity: i2.row, "file-info": a2.fileInfo, "file-list": a2.fileList, "file-set-obj": a2.fileSetObj, value: a2.innerValue, type: "list", onDelete: o2.deleteFile, onDeleteSuccess: o2.deleteSuccess, onUploadSuccess: o2.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : "radio" === i2.type ? (P(), O(d2, { key: 12, modelValue: a2.innerValue, "onUpdate:modelValue": [t2[60] || (t2[60] = (e3) => a2.innerValue = e3), t2[61] || (t2[61] = (e3) => a2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": a2.valueSetOptions, prop: i2.column.prop, entity: i2.row, onCellEvent: o2.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : "multiselect" === i2.type || "select" === i2.type ? (P(), O(c2, { key: 13, modelValue: a2.innerValue, "onUpdate:modelValue": [t2[62] || (t2[62] = (e3) => a2.innerValue = e3), t2[63] || (t2[63] = (e3) => a2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": a2.valueSetOptions, prop: i2.column.prop, entity: i2.row, column: i2.column, type: i2.type, controlConfig: a2.controlConfig, listCode: i2.listCode, listToolbarFormData: i2.listToolbarFormData, dynamicDataSourceCode: a2.dynamicDataSourceCode, additionalParamMap: a2.additionalParamMap, isSql: i2.isSql, parentFormData: a2.parentFormData, tableName: a2.tableName, onCellEvent: o2.cellEvent, onExtendParams: o2.setExtendParams, onSetCellValue: o2.setCellValue, onSetCellValueWithProp: o2.setCellValueWithProp, onCallCustomEventWithParam: o2.callCustomEventWithParam }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "column", "type", "controlConfig", "listCode", "listToolbarFormData", "dynamicDataSourceCode", "additionalParamMap", "isSql", "parentFormData", "tableName", "onCellEvent", "onExtendParams", "onSetCellValue", "onSetCellValueWithProp", "onCallCustomEventWithParam"])) : "inputNumber" === i2.type ? (P(), O(h2, { key: 14, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[64] || (t2[64] = (e3) => a2.innerValue = e3), "controls-position": a2.inputNumberSet.position, disabled: i2.disabled, max: 0 == a2.inputNumberSet.max ? 0 : a2.inputNumberSet.max ? a2.inputNumberSet.max : 1 / 0, min: 0 == a2.inputNumberSet.min ? 0 : a2.inputNumberSet.min ? a2.inputNumberSet.min : -1 / 0, precision: a2.inputNumberSet.precision, step: a2.inputNumberSet.step ? a2.inputNumberSet.step : 1, onBlur: t2[65] || (t2[65] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[66] || (t2[66] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[67] || (t2[67] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[68] || (t2[68] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : "switch" === i2.type || "BOOLEAN" === i2.column.dataType ? (P(), O(f2, { key: 15, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[69] || (t2[69] = (e3) => a2.innerValue = e3), "active-text": o2.getSwitchConfig("activeText"), "active-value": o2.getSwitchConfig("activeValue"), disabled: i2.disabled, "inactive-text": o2.getSwitchConfig("inactiveText"), "inactive-value": o2.getSwitchConfig("inactiveValue"), onChange: t2[70] || (t2[70] = (e3) => o2.cellEvent("change", e3)), onInput: t2[71] || (t2[71] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : "slider" === i2.type ? (P(), O(g2, { key: 16, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[72] || (t2[72] = (e3) => a2.innerValue = e3), disabled: i2.disabled, onChange: t2[73] || (t2[73] = (e3) => o2.cellEvent("change", e3)), onInput: t2[74] || (t2[74] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : "rate" === i2.type ? (P(), O(y2, { key: 17, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[75] || (t2[75] = (e3) => a2.innerValue = e3), disabled: i2.disabled, onChange: t2[76] || (t2[76] = (e3) => o2.cellEvent("change", e3)), onInput: t2[77] || (t2[77] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : a2.deptManTree || a2.deptTree || a2.wgManTree || a2.wgTree ? (P(), O(v2, { key: 18, "check-strictly": a2.isCheckStrictly, "department-info": a2.departmentInfo, disabled: i2.disabled, "limit-filter-column": (_a = a2.controlConfig) == null ? void 0 : _a.limitFilterColumn, fields: a2.fields, "is-join-table": e2.isJoinTable, models: i2.row, multiple: a2.isMultiTree, "table-name": a2.tableName, "tree-type": a2.deptManTree ? "DeptUserTree" : a2.deptTree ? "DeptTree" : a2.wgManTree ? "WgUserTree" : a2.wgTree ? "WgTree" : null, value: a2.innerValue, onAppend: o2.appendOrganizationInputEvent, onClear: o2.clearOrganizationInputEvent, onFocus: o2.showOrganizationTree, onReplace: o2.replaceOrganizationInputEvent, onSetValue: o2.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"])) : U("", true) : (P(), O(r2, { key: 7, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[37] || (t2[37] = (e3) => a2.innerValue = e3), modelModifiers: { number: true }, disabled: i2.disabled, placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: a2.innerValue, type: "INTEGER" === i2.column.dataType || "LONG" === i2.column.dataType ? "number" : "text", clearable: "", onBlur: t2[38] || (t2[38] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[39] || (t2[39] = (e3) => o2.cellEvent("change", e3)), onClear: t2[40] || (t2[40] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[41] || (t2[41] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[42] || (t2[42] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), A(w2, { "append-to-body": true, "show-close": true, title: e2.$t("imatrixUIMessage.tips"), visible: a2.annexUploadFlag, width: "30%" }, { default: j(() => ["annex" === i2.type && a2.annexUploadFlag ? (P(), O(S2, { key: 0, accept: a2.fileSetObj && a2.fileSetObj.accept ? a2.fileSetObj.accept : null, action: a2.defaultAction, "before-upload": o2.handleBeforeUpload, headers: a2.headers, "on-success": o2.uploadOnSuccess, "with-credentials": true, name: "file" }, { default: j(() => [A(b2, null, { default: j(() => [L($(e2.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : U("", true)]), _: 1 }, 8, ["title", "visible"]), a2.showSingleImgFlag ? (P(), O(C2, { key: 19, deleteable: !i2.disabled, downloadable: !i2.disabled, "file-list": a2.fileList, onClose: t2[78] || (t2[78] = (e3) => a2.showSingleImgFlag = false), onDelete: o2.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : U("", true), a2.isShowBrowserScan ? (P(), O(T2, { key: 20, onClose: o2.closeBrowserScan }, null, 8, ["onClose"])) : U("", true)], 2));
479
479
  }]]);
480
480
  export {
481
481
  _ as default
@@ -1,8 +1,8 @@
1
1
  import e from "./normal-column.vue.mjs";
2
2
  import { doFormatWithValueSet as t } from "./formatter.mjs";
3
- import { resolveComponent as o, openBlock as a, createBlock as l, withCtx as r, createElementVNode as i, createElementBlock as n, Fragment as d, renderList as s, resolveDynamicComponent as u } from "vue";
3
+ import { resolveComponent as o, openBlock as r, createBlock as a, withCtx as l, createElementVNode as i, createElementBlock as n, Fragment as d, renderList as s, resolveDynamicComponent as u } from "vue";
4
4
  import m from "../../_virtual/_plugin-vue_export-helper.mjs";
5
- const p = { name: "GroupColumn", components: { NormalColumn: e }, props: { column: { type: Object, default: null }, customFormat: { type: Object, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, gridRef: { type: Object, default: null } }, data: () => ({ label: null }), computed: { visibleChildren() {
5
+ const p = { name: "GroupColumn", components: { NormalColumn: e }, props: { column: { type: Object, default: null }, customFormat: { type: Object, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, getSuperGridRef: { type: Function, default: null } }, data: () => ({ label: null }), computed: { visibleChildren() {
6
6
  return this.column.children ? this.column.children.filter((e2) => (void 0 === e2.show || e2.show) && (void 0 === e2.dyn_show || true === e2.dyn_show)) : [];
7
7
  } }, created() {
8
8
  this.label = this.getHeader(), this.column;
@@ -14,11 +14,11 @@ const p = { name: "GroupColumn", components: { NormalColumn: e }, props: { colum
14
14
  this.$emit("prohibit-to-edit", e2);
15
15
  }, openPageDialog(e2) {
16
16
  this.$emit("open-page", e2);
17
- } } }, c = ["title", "innerHTML"];
18
- const g = m(p, [["render", function(e2, t2, m2, p2, g2, f) {
17
+ } } }, g = ["title", "innerHTML"];
18
+ const c = m(p, [["render", function(e2, t2, m2, p2, c2, f) {
19
19
  const h = o("el-table-column");
20
- return a(), l(h, { "min-width": m2.column.width ? m2.column.width : 150, align: m2.column.groupHeader ? "center" : "" }, { header: r(() => [i("span", { class: "cell--span", title: g2.label, innerHTML: g2.label }, null, 8, c)]), default: r(() => [m2.customFormat ? (a(true), n(d, { key: 0 }, s(f.visibleChildren, (o2, r2) => (a(), l(u(o2.prop ? "NormalColumn" : "GroupColumn"), { key: o2.label + r2, column: o2, "is-sql": m2.isSql, "custom-format": o2.prop ? m2.customFormat[o2.prop] : m2.customFormat, "list-code": m2.listCode, "grid-data": m2.gridData, "page-grid-data": m2.gridData, "grid-ref": m2.gridRef, onFindIndex: t2[0] || (t2[0] = (t3) => e2.findIndex(e2.scope.$index)), onRefresData: e2.refresData, onRefresPortData: e2.refresPortData, onRefresPortsData: e2.refresPortsData, onRefresMainTableFields: e2.refresMainTableFields, onProhibitToEdit: f.prohibitToEdit, onOpenPage: f.openPageDialog }, null, 40, ["column", "is-sql", "custom-format", "list-code", "grid-data", "page-grid-data", "grid-ref", "onRefresData", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onProhibitToEdit", "onOpenPage"]))), 128)) : (a(true), n(d, { key: 1 }, s(f.visibleChildren, (e3, t3) => (a(), l(u(e3.prop ? "NormalColumn" : "GroupColumn"), { key: e3.label + t3, "is-sql": m2.isSql, column: e3, "list-code": m2.listCode, "grid-data": m2.gridData, "page-grid-data": m2.gridData, "grid-ref": m2.gridRef, onProhibitToEdit: f.prohibitToEdit, onOpenPage: f.openPageDialog }, null, 40, ["is-sql", "column", "list-code", "grid-data", "page-grid-data", "grid-ref", "onProhibitToEdit", "onOpenPage"]))), 128))]), _: 1 }, 8, ["min-width", "align"]);
20
+ return r(), a(h, { "min-width": m2.column.width ? m2.column.width : 150, align: m2.column.groupHeader ? "center" : "" }, { header: l(() => [i("span", { class: "cell--span", title: c2.label, innerHTML: c2.label }, null, 8, g)]), default: l(() => [m2.customFormat ? (r(true), n(d, { key: 0 }, s(f.visibleChildren, (o2, l2) => (r(), a(u(o2.prop ? "NormalColumn" : "GroupColumn"), { key: o2.label + l2, column: o2, "is-sql": m2.isSql, "custom-format": o2.prop ? m2.customFormat[o2.prop] : m2.customFormat, "list-code": m2.listCode, "grid-data": m2.gridData, "page-grid-data": m2.gridData, "get-super-grid-ref": m2.getSuperGridRef, onFindIndex: t2[0] || (t2[0] = (t3) => e2.findIndex(e2.scope.$index)), onRefresData: e2.refresData, onRefresPortData: e2.refresPortData, onRefresPortsData: e2.refresPortsData, onRefresMainTableFields: e2.refresMainTableFields, onProhibitToEdit: f.prohibitToEdit, onOpenPage: f.openPageDialog }, null, 40, ["column", "is-sql", "custom-format", "list-code", "grid-data", "page-grid-data", "get-super-grid-ref", "onRefresData", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onProhibitToEdit", "onOpenPage"]))), 128)) : (r(true), n(d, { key: 1 }, s(f.visibleChildren, (e3, t3) => (r(), a(u(e3.prop ? "NormalColumn" : "GroupColumn"), { key: e3.label + t3, "is-sql": m2.isSql, column: e3, "list-code": m2.listCode, "grid-data": m2.gridData, "page-grid-data": m2.gridData, "get-super-grid-ref": m2.getSuperGridRef, onProhibitToEdit: f.prohibitToEdit, onOpenPage: f.openPageDialog }, null, 40, ["is-sql", "column", "list-code", "grid-data", "page-grid-data", "get-super-grid-ref", "onProhibitToEdit", "onOpenPage"]))), 128))]), _: 1 }, 8, ["min-width", "align"]);
21
21
  }]]);
22
22
  export {
23
- g as default
23
+ c as default
24
24
  };
@@ -1,10 +1,10 @@
1
1
  import { CirclePlus as t, ZoomIn as e } from "@element-plus/icons-vue";
2
2
  import { $on as o, $off as i, $emit as n } from "../../utils/gogocodeTransfer.mjs";
3
- import { getAdditionalParamMap as l, isDisableEdit as s, isEditOptionFunction as r, ArrowKeyAction as a, isHasEditOption as d, getFileList as p, isRequiredEdit as c, isDynamicDataSourceSource as m } from "./utils.mjs";
3
+ import { getAdditionalParamMap as l, isDisableEdit as s, isEditOptionFunction as r, ArrowKeyAction as a, isHasEditOption as p, getFileList as d, isRequiredEdit as c, isDynamicDataSourceSource as m } from "./utils.mjs";
4
4
  import u from "./dynamic-input.vue.mjs";
5
5
  import h from "./store.mjs";
6
- import { doFormatWithValueSet as f } from "./formatter.mjs";
7
- import w from "./custom-formatter.mjs";
6
+ import { doFormatWithValueSet as w } from "./formatter.mjs";
7
+ import f from "./custom-formatter.mjs";
8
8
  import g from "./row-operation.vue.mjs";
9
9
  import b from "./apis.mjs";
10
10
  import { mapGetters as C } from "vuex";
@@ -18,11 +18,12 @@ import { formatScanRuleSets as k } from "./scan-util.mjs";
18
18
  import T from "../../src/store/index.mjs";
19
19
  import { isPromise as F } from "../../src/utils/common-util.mjs";
20
20
  import "element-plus";
21
- import { resolveComponent as O, resolveDirective as j, openBlock as R, createElementBlock as P, createBlock as $, normalizeClass as L, withKeys as q, createVNode as H, withCtx as A, toDisplayString as V, createCommentVNode as G, Fragment as _, renderList as M, withDirectives as N, createTextVNode as B, resolveDynamicComponent as W, createElementVNode as U, normalizeStyle as J } from "vue";
21
+ import { resolveComponent as O, resolveDirective as j, openBlock as P, createElementBlock as R, createBlock as $, normalizeClass as L, withKeys as q, createVNode as H, withCtx as A, toDisplayString as G, createCommentVNode as V, Fragment as _, renderList as M, withDirectives as N, createTextVNode as B, resolveDynamicComponent as W, createElementVNode as U, normalizeStyle as J } from "vue";
22
22
  import "./normal-column-content.vue2.mjs";
23
23
  import z from "../../_virtual/_plugin-vue_export-helper.mjs";
24
24
  import K from "../../fs-preview/src/fs-preview.vue.mjs";
25
- const Z = { components: { DynamicInput: u, RowOperation: g, ViewImageDialog: E, FsPreview: K, RichEditorViewer: D, CirclePlus: t, ElIconZoomIn: e, GridIcon: I }, name: "NormalColumnContent", props: { isContentViewText: { type: Boolean, default: false }, column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null }, row: { type: Object, default: null }, rowIndex: { type: Number, default: null }, isShowForm: { type: Boolean, default: false }, gridRef: { type: Object, default: null } }, data() {
25
+ const Z = { components: { DynamicInput: u, RowOperation: g, ViewImageDialog: E, FsPreview: K, RichEditorViewer: D, CirclePlus: t, ElIconZoomIn: e, GridIcon: I }, name: "NormalColumnContent", props: { isContentViewText: { type: Boolean, default: false }, column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null }, row: { type: Object, default: null }, rowIndex: { type: Number, default: null }, isShowForm: { type: Boolean, default: false }, getSuperGridRef: { type: Function, default: null } }, data() {
26
+ var _a;
26
27
  let t2;
27
28
  const e2 = h.get(this.listCode), o2 = e2.options;
28
29
  e2.options.extraParam && e2.options.extraParam.entityMap && (t2 = e2.options.extraParam.entityMap);
@@ -34,8 +35,10 @@ const Z = { components: { DynamicInput: u, RowOperation: g, ViewImageDialog: E,
34
35
  const r2 = this.listCode + "_" + this.column.prop;
35
36
  let a2;
36
37
  null !== e2.lineEdit && void 0 !== e2.lineEdit && (a2 = e2.lineEdit);
37
- let d2 = "hidden";
38
- return e2.basicInfo && e2.basicInfo.textOverflow && (d2 = e2.basicInfo.textOverflow), this.isShowForm && (d2 = "newline"), { selectRow: null, that: this, columnFormatter: this.column.formatter, hyperLinks: {}, fileDownType: "", isFormSubTable: false, subTableCanAdd: true, isShowAdd: false, cellWidth: null, parentFormData: t2, fileMultiple: false, showSingleImgFlag: false, singleImgSrc: "", fileList: [], index: null, isEditable: this.column.editable, showRichEditorViewer: false, getFormData: e2.options.getFormData, getTableGridData: e2.options.getGridData, additionalParamMap: i2, disabled: false, additionalSettings: this.getColumnCustomControlControlConfig(this.column.formatter), scanEnable: s2, componentId: r2, controlConfig: n2, requiredClass: "", lineEdit: a2, options: o2, textOverflow: d2, linkObject: {} };
38
+ let p2 = "hidden";
39
+ e2.basicInfo && e2.basicInfo.textOverflow && (p2 = e2.basicInfo.textOverflow), this.isShowForm && (p2 = "newline");
40
+ const d2 = (_a = e2.options) == null ? void 0 : _a.pageCustomParams;
41
+ return { selectRow: null, that: this, columnFormatter: this.column.formatter, hyperLinks: {}, fileDownType: "", isFormSubTable: false, subTableCanAdd: true, isShowAdd: false, cellWidth: null, parentFormData: t2, fileMultiple: false, showSingleImgFlag: false, singleImgSrc: "", fileList: [], index: null, isEditable: this.column.editable, showRichEditorViewer: false, getFormData: e2.options.getFormData, getTableGridData: e2.options.getGridData, additionalParamMap: i2, disabled: false, additionalSettings: this.getColumnCustomControlControlConfig(this.column.formatter), scanEnable: s2, componentId: r2, controlConfig: n2, requiredClass: "", lineEdit: a2, options: o2, textOverflow: p2, linkObject: {}, pageCustomParams: d2 };
39
42
  }, computed: { isHideEdit() {
40
43
  return !!this.disabled;
41
44
  }, $rowGuId() {
@@ -121,7 +124,7 @@ const Z = { components: { DynamicInput: u, RowOperation: g, ViewImageDialog: E,
121
124
  });
122
125
  }, unmounted() {
123
126
  i(S, "un-edit"), this.$parent.$parent && "GroupColumn" === this.$parent.$parent.$options._componentTag && S.$off("prohibitToEdit"), S.$off("clearTableAllStartEditing");
124
- }, methods: { ...w, ...b, clearAllEditing() {
127
+ }, methods: { ...f, ...b, clearAllEditing() {
125
128
  var _a, _b;
126
129
  this.hasEditPermission && ((_b = (_a = T) == null ? void 0 : _a.dispatch) == null ? void 0 : _b.call(_a, "clearAllEditing"));
127
130
  }, async onEditing(t2) {
@@ -170,7 +173,7 @@ const Z = { components: { DynamicInput: u, RowOperation: g, ViewImageDialog: E,
170
173
  }, getHeader() {
171
174
  return this.column.titleValueSet ? this.formatHeader() : this.column.label.replace(/\\n/g, "</br>");
172
175
  }, formatHeader() {
173
- return f(this.column.titleValueSetValue, this.column.label);
176
+ return w(this.column.titleValueSetValue, this.column.label);
174
177
  }, filterHandler: (t2, e2, o2) => e2[o2.property] === t2, onFocus(t2) {
175
178
  const e2 = h.get(this.listCode);
176
179
  e2.lineEdit.editingCell && (e2.lineEdit.editingCell.row = t2, e2.lineEdit.editingCell.prop = this.column.prop);
@@ -195,10 +198,10 @@ const Z = { components: { DynamicInput: u, RowOperation: g, ViewImageDialog: E,
195
198
  }
196
199
  }, isSaveByEnter() {
197
200
  const t2 = h.get(this.listCode);
198
- return void 0 === t2.options.lineEditOptions.isSaveByEnter || d("isSaveByEnter", this.listCode) && true === t2.options.lineEditOptions.isSaveByEnter;
201
+ return void 0 === t2.options.lineEditOptions.isSaveByEnter || p("isSaveByEnter", this.listCode) && true === t2.options.lineEditOptions.isSaveByEnter;
199
202
  }, isRestoreByEsc() {
200
203
  const t2 = h.get(this.listCode);
201
- return void 0 === t2.options.lineEditOptions.isRestoreByEsc || d("isRestoreByEsc", this.listCode) && true === t2.options.lineEditOptions.isRestoreByEsc;
204
+ return void 0 === t2.options.lineEditOptions.isRestoreByEsc || p("isRestoreByEsc", this.listCode) && true === t2.options.lineEditOptions.isRestoreByEsc;
202
205
  }, canFocus(t2) {
203
206
  const e2 = h.get(this.listCode);
204
207
  return t2 === e2.lineEdit.editingCell.row && this.column.prop === e2.lineEdit.editingCell.prop;
@@ -229,11 +232,11 @@ const Z = { components: { DynamicInput: u, RowOperation: g, ViewImageDialog: E,
229
232
  o2.isGroup && o2.buttons.forEach((o3) => {
230
233
  o3.props.code === t2.comman && (e2 = o3);
231
234
  });
232
- }), e2 && w.onClickFun(t2.row, this.column, e2.onClick, t2.rowIndex);
235
+ }), e2 && f.onClickFun(t2.row, this.column, e2.onClick, t2.rowIndex);
233
236
  }, beforeHandleCommand: (t2, e2, o2) => ({ comman: t2, row: e2, rowIndex: o2 }), previewImg(t2) {
234
- this.fileList = p(t2, this.column, this.isSql), this.showSingleImgFlag = true;
237
+ this.fileList = d(t2, this.column, this.isSql), this.showSingleImgFlag = true;
235
238
  }, getFileList(t2) {
236
- return p(t2, this.column, this.isSql);
239
+ return d(t2, this.column, this.isSql);
237
240
  }, getColumnWidth() {
238
241
  return this.column && "operation" === this.column.prop && !this.column.width ? "210" : this.column.width ? this.column.width + "" : "130";
239
242
  }, fnProhibitToEdit(t2) {
@@ -308,12 +311,12 @@ const Z = { components: { DynamicInput: u, RowOperation: g, ViewImageDialog: E,
308
311
  if (t2 && t2.customParams)
309
312
  return y(t2.customParams, (_c = this.options) == null ? void 0 : _c.pageContext, this.row);
310
313
  }
311
- } }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit", "deleteFormSubTableRow"] }, X = { class: "normal-column-content-view" }, Q = { key: 0, "table-column-placeholder": "" }, Y = { key: 1, class: "grid-operation-buttons", "data-v": "20250527" }, tt = ["id"], et = { key: 0, type: "primary" }, ot = ["id", "title"], it = ["id", "title"], nt = ["id"], lt = ["id", "title"], st = ["id"], rt = { key: 0, type: "primary", style: { width: "100%" } }, at = ["id", "title"], dt = ["id"], pt = { key: 1 }, ct = ["id", "title"], mt = ["id", "title"], ut = ["id"], ht = ["id", "title", "innerHTML"], ft = ["id"];
312
- const wt = z(Z, [["render", function(t2, e2, o2, i2, n2, l2) {
314
+ } }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit", "deleteFormSubTableRow"] }, X = { class: "normal-column-content-view" }, Q = { key: 0, "table-column-placeholder": "" }, Y = { key: 1, class: "grid-operation-buttons", "data-v": "20250527" }, tt = ["id"], et = { key: 0, type: "primary" }, ot = ["id", "title"], it = ["id", "title"], nt = ["id"], lt = ["id", "title"], st = ["id"], rt = { key: 0, type: "primary", style: { width: "100%" } }, at = ["id", "title"], pt = ["id"], dt = { key: 1 }, ct = ["id", "title"], mt = ["id", "title"], ut = ["id"], ht = ["id", "title", "innerHTML"], wt = ["id"];
315
+ const ft = z(Z, [["render", function(t2, e2, o2, i2, n2, l2) {
313
316
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
314
- const s2 = O("dynamic-input"), r2 = O("Edit"), a2 = O("el-icon"), d2 = O("el-dropdown-item"), p2 = O("el-dropdown-menu"), c2 = O("el-dropdown"), m2 = O("row-operation"), u2 = O("secret-info"), h2 = O("FsPreview"), f2 = O("SuperIcon"), w2 = O("el-link"), g2 = O("el-tooltip"), b2 = O("GridIcon"), C2 = O("view-image-dialog"), y2 = O("rich-editor-viewer"), x2 = j("permission");
315
- return R(), P("div", X, [l2.isEditing || o2.isShowForm ? (R(), $(s2, { key: 0, ref: "dynamicRef", value: o2.row[o2.column.prop], "onUpdate:value": e2[0] || (e2[0] = (t3) => o2.row[o2.column.prop] = t3), class: L(n2.requiredClass), column: o2.column, "is-sql": o2.isSql, "line-edit": n2.lineEdit, "list-code": o2.listCode, "list-toolbar-form-data": o2.listToolbarFormData, options: o2.column.valueSet, "grid-options": n2.options, position: { row: o2.rowIndex, prop: o2.column.prop }, disabled: n2.disabled, row: o2.row, "row-index": o2.rowIndex, type: o2.column.componentType, onKeyup: q(l2.clearAllEditing, ["enter"]), onFindIndex: e2[1] || (e2[1] = (t3) => l2.findIndex(o2.rowIndex)), onFocus: e2[2] || (e2[2] = (t3) => l2.onFocus(o2.rowIndex)), onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList, onRefresData: l2.refresData, onRefresMainTableFields: l2.refresMainTableFields, onRefresPortData: l2.refresPortData, onRefresPortsData: l2.refresPortsData, onChangeDisabled: l2.changeDisabled, onChangeRequired: l2.changeRequired, onOpenPage: l2.openPageEvent }, null, 8, ["value", "class", "column", "is-sql", "line-edit", "list-code", "list-toolbar-form-data", "options", "grid-options", "position", "disabled", "row", "row-index", "type", "onKeyup", "onProhibitToEdit", "onRefreshList", "onRefresData", "onRefresMainTableFields", "onRefresPortData", "onRefresPortsData", "onChangeDisabled", "onChangeRequired", "onOpenPage"])) : (R(), P("div", { key: 1, class: L(((_d = (_c = (_b = (_a = n2.options) == null ? void 0 : _a.configureObj) == null ? void 0 : _b.props) == null ? void 0 : _c.base) == null ? void 0 : _d.columnEditable) ? "column-text-main" : "") }, [n2.lineEdit.editable && ((_h = (_g = (_f = (_e = n2.options) == null ? void 0 : _e.configureObj) == null ? void 0 : _f.props) == null ? void 0 : _g.base) == null ? void 0 : _h.columnEditable) && n2.isEditable && !l2.isHideEdit && !o2.isContentViewText ? (R(), P("div", { key: 0, class: "column-text-edit-main", onClick: e2[3] || (e2[3] = (...t3) => l2.onEditing && l2.onEditing(...t3)) }, [H(a2, { size: 14, color: "#409eff" }, { default: A(() => [H(r2)]), _: 1 }), [void 0, null, ""].includes(o2.row[o2.column.prop]) ? (R(), P("span", Q, V(t2.$t("superGrid.editablePlaceholder")), 1)) : G("", true)])) : G("", true), o2.column.operations ? (R(), P("span", Y, [(R(true), P(_, null, M(o2.column.operations, (e3, i3) => (R(), P("span", { key: i3, class: L([o2.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [e3.isGroup ? (R(), $(c2, { key: 0, size: e3.buttons && e3.buttons.length > 0 ? e3.buttons[0].props.size : "small", "split-button": "", onCommand: l2.handleCommand }, { dropdown: A(() => [H(p2, null, { default: A(() => [(R(true), P(_, null, M(e3.buttons, (e4, i4) => (R(), P("span", { key: e4.props.code + i4 }, [N((R(), $(d2, { command: l2.beforeHandleCommand(e4.props.code, o2.row, o2.rowIndex), disabled: t2.preventReclick }, { default: A(() => [B(V(t2.$escapeHtml(e4.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[x2, e4.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: A(() => [B(V(t2.$escapeHtml(e3.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : e3.props.customControl ? N((R(), $(W(e3.props.customControl), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, disabled: true, row: o2.row, entity: o2.row, prop: o2.column.prop, parent: n2.parentFormData, "row-index": o2.rowIndex, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, "current-page": o2.currentPage, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null, "grid-ref": o2.gridRef, onRefreshList: l2.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "custom-params", "grid-ref", "onRefreshList"])), [[x2, e3.props.permission]]) : (R(), $(m2, { key: 2, column: o2.column, editing: o2.row.$editing, entity: o2.row, "is-show": e3.isShow, label: e3.props.label ? e3.props.label : o2.row[o2.column.prop], "on-click": e3.onClick, "operation-index": i3, "operation-setting": e3.props, "event-name": e3.eventName, "row-index": o2.rowIndex, "list-code": o2.listCode, "parent-form-data": n2.parentFormData, "is-table-btn-link": "" }, null, 8, ["column", "editing", "entity", "is-show", "label", "on-click", "operation-index", "operation-setting", "event-name", "row-index", "list-code", "parent-form-data"]))], 2))), 128))])) : t2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex) ? (R(), P("span", { key: 2, class: L(o2.isShowForm ? "" : "cell--span") }, [(R(), $(W(t2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex)), { entity: o2.row, parent: n2.parentFormData, prop: o2.column.prop, row: o2.row, "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)), value: l2.getCellValue(o2.row), "additional-param-map": n2.additionalParamMap, "additional-settings": n2.additionalSettings, "page-context": (_i = n2.options) == null ? void 0 : _i.pageContext, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null, "grid-ref": o2.gridRef }, null, 8, ["entity", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "additional-settings", "page-context", "custom-params", "grid-ref"]))], 2)) : void 0 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "customControl" === n2.columnFormatter.type && n2.columnFormatter.options && n2.columnFormatter.options.format && "" !== n2.columnFormatter.options.format ? (R(), P("span", { key: 3, class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [(R(), $(W(n2.columnFormatter.options.format), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, "current-page": o2.currentPage, disabled: true, entity: o2.row, "get-form-data": n2.getFormData, "get-grid-data": n2.getTableGridData, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, parent: n2.parentFormData, prop: o2.column.prop, row: o2.row, "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)), value: l2.getCellValue(o2.row), "additional-param-map": n2.additionalParamMap, listCode: o2.listCode, "component-id": n2.componentId, "additional-settings": n2.additionalSettings, "page-context": (_j = n2.options) == null ? void 0 : _j.pageContext, "custom-params": l2.getCustomParams(), "grid-ref": o2.gridRef, onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList }, null, 40, ["current-page", "entity", "get-form-data", "get-grid-data", "grid-data", "page-grid-data", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "listCode", "component-id", "additional-settings", "page-context", "custom-params", "grid-ref", "onProhibitToEdit", "onRefreshList"]))], 2)) : void 0 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "secretInfo" === n2.columnFormatter.type ? (R(), P("span", { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [H(u2, { entity: o2.row, "field-label": t2.$escapeHtml(t2.label), "list-code": o2.listCode, "list-name": o2.listName, "page-code": o2.pageCode, prop: o2.column.prop, "table-name": o2.tableName, value: l2.getCellValue(o2.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, tt)) : t2.isObjectProp(o2.column.prop) ? (R(), P(_, { key: 5 }, [o2.column.formatter && "files" === o2.column.formatter.type ? (R(), P("span", et, [U("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: t2.isShowOverflowTooltip ? t2.$escapeHtml(l2.getLabel(o2.row)) : "", class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [H(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, ot)])) : "hyperlinks" === ((_k = n2.columnFormatter) == null ? void 0 : _k.type) && true === n2.linkObject.visible ? (R(), $(w2, { key: 1, type: l2.getLinkType(o2.row), onClick: e2[4] || (e2[4] = (e3) => t2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: A(() => [t2.isShowOverflowTooltip ? (R(), P("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: n2.linkObject.title, class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [B(V(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (R(), $(f2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : G("", true)], 14, it)) : (R(), P("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [B(V(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (R(), $(f2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : G("", true)], 10, nt))]), _: 1 }, 8, ["type"])) : t2.isShowOverflowTooltip ? (R(), P("span", { key: 2, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: t2.$escapeHtml(l2.getLabel(o2.row)), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, V(t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 15, lt)) : (R(), P("span", { key: 3, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, V(t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, st))], 64)) : (R(), P(_, { key: 6 }, ["annex" === o2.column.componentType || "multipartUpload" === o2.column.componentType ? (R(), P("span", rt, [t2.isShowOverflowTooltip ? (R(), P("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, title: t2.$escapeHtml(l2.getLabel(o2.row)), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [H(h2, { width: n2.cellWidth, entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["width", "entity", "file-set-obj", "is-sql", "label"])], 10, at)) : (R(), P("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [H(h2, { entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, dt))])) : o2.column.formatter && "files" === o2.column.formatter.type ? (R(), P("span", pt, [U("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: t2.isShowOverflowTooltip ? t2.$escapeHtml(l2.getLabel(o2.row)) : "", class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [H(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, ct)])) : "hyperlinks" === ((_l = n2.columnFormatter) == null ? void 0 : _l.type) && n2.linkObject.visible ? (R(), $(w2, { key: 2, type: "primary", onClick: e2[5] || (e2[5] = (e3) => t2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: A(() => [t2.isShowOverflowTooltip ? (R(), P("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: t2.$escapeHtml(n2.linkObject.title), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [B(V(t2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (R(), $(f2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : G("", true)], 14, mt)) : (R(), P("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [B(V(t2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (R(), $(f2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : G("", true)], 10, ut))]), _: 1 })) : o2.column.formatter && "richEditor" === o2.column.formatter.type ? (R(), $(g2, { key: 3, content: t2.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: A(() => [U("em", { class: "fa fa-info-circle annex-cell", onClick: e2[6] || (e2[6] = (t3) => l2.showRichEditorContent(o2.row, o2.column, l2.getHeader())) })]), _: 1 }, 8, ["content"])) : o2.column.formatter && "icon" === o2.column.formatter.type ? (R(), $(b2, { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, column: o2.column, row: o2.row, "row-index": o2.rowIndex, "is-sql": o2.isSql, "list-code": o2.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : t2.isShowOverflowTooltip ? (R(), P("span", { key: 5, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: l2.getLabel(o2.row), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span"), innerHTML: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 14, ht)) : (R(), P("span", { key: 6, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, V(t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, ft))], 64))], 2)), n2.showSingleImgFlag ? (R(), $(C2, { key: 2, "file-list": n2.fileList, onClose: e2[7] || (e2[7] = (t3) => n2.showSingleImgFlag = false) }, null, 8, ["file-list"])) : G("", true), n2.showRichEditorViewer ? (R(), $(y2, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l2.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : G("", true)]);
316
- }], ["__scopeId", "data-v-ee8f5d1d"]]);
317
+ const s2 = O("dynamic-input"), r2 = O("Edit"), a2 = O("el-icon"), p2 = O("el-dropdown-item"), d2 = O("el-dropdown-menu"), c2 = O("el-dropdown"), m2 = O("row-operation"), u2 = O("secret-info"), h2 = O("FsPreview"), w2 = O("SuperIcon"), f2 = O("el-link"), g2 = O("el-tooltip"), b2 = O("GridIcon"), C2 = O("view-image-dialog"), y2 = O("rich-editor-viewer"), x2 = j("permission");
318
+ return P(), R("div", X, [l2.isEditing || o2.isShowForm ? (P(), $(s2, { key: 0, ref: "dynamicRef", value: o2.row[o2.column.prop], "onUpdate:value": e2[0] || (e2[0] = (t3) => o2.row[o2.column.prop] = t3), class: L(n2.requiredClass), column: o2.column, "is-sql": o2.isSql, "line-edit": n2.lineEdit, "list-code": o2.listCode, "list-toolbar-form-data": o2.listToolbarFormData, options: o2.column.valueSet, "grid-options": n2.options, position: { row: o2.rowIndex, prop: o2.column.prop }, disabled: n2.disabled, row: o2.row, "row-index": o2.rowIndex, type: o2.column.componentType, onKeyup: q(l2.clearAllEditing, ["enter"]), onFindIndex: e2[1] || (e2[1] = (t3) => l2.findIndex(o2.rowIndex)), onFocus: e2[2] || (e2[2] = (t3) => l2.onFocus(o2.rowIndex)), onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList, onRefresData: l2.refresData, onRefresMainTableFields: l2.refresMainTableFields, onRefresPortData: l2.refresPortData, onRefresPortsData: l2.refresPortsData, onChangeDisabled: l2.changeDisabled, onChangeRequired: l2.changeRequired, onOpenPage: l2.openPageEvent }, null, 8, ["value", "class", "column", "is-sql", "line-edit", "list-code", "list-toolbar-form-data", "options", "grid-options", "position", "disabled", "row", "row-index", "type", "onKeyup", "onProhibitToEdit", "onRefreshList", "onRefresData", "onRefresMainTableFields", "onRefresPortData", "onRefresPortsData", "onChangeDisabled", "onChangeRequired", "onOpenPage"])) : (P(), R("div", { key: 1, class: L(((_d = (_c = (_b = (_a = n2.options) == null ? void 0 : _a.configureObj) == null ? void 0 : _b.props) == null ? void 0 : _c.base) == null ? void 0 : _d.columnEditable) ? "column-text-main" : "") }, [n2.lineEdit.editable && ((_h = (_g = (_f = (_e = n2.options) == null ? void 0 : _e.configureObj) == null ? void 0 : _f.props) == null ? void 0 : _g.base) == null ? void 0 : _h.columnEditable) && n2.isEditable && !l2.isHideEdit && !o2.isContentViewText ? (P(), R("div", { key: 0, class: "column-text-edit-main", onClick: e2[3] || (e2[3] = (...t3) => l2.onEditing && l2.onEditing(...t3)) }, [H(a2, { size: 14, color: "#409eff" }, { default: A(() => [H(r2)]), _: 1 }), [void 0, null, ""].includes(o2.row[o2.column.prop]) ? (P(), R("span", Q, G(t2.$t("superGrid.editablePlaceholder")), 1)) : V("", true)])) : V("", true), o2.column.operations ? (P(), R("span", Y, [(P(true), R(_, null, M(o2.column.operations, (e3, i3) => (P(), R("span", { key: i3, class: L([o2.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [e3.isGroup ? (P(), $(c2, { key: 0, size: e3.buttons && e3.buttons.length > 0 ? e3.buttons[0].props.size : "small", "split-button": "", onCommand: l2.handleCommand }, { dropdown: A(() => [H(d2, null, { default: A(() => [(P(true), R(_, null, M(e3.buttons, (e4, i4) => (P(), R("span", { key: e4.props.code + i4 }, [N((P(), $(p2, { command: l2.beforeHandleCommand(e4.props.code, o2.row, o2.rowIndex), disabled: t2.preventReclick }, { default: A(() => [B(G(t2.$escapeHtml(e4.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[x2, e4.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: A(() => [B(G(t2.$escapeHtml(e3.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : e3.props.customControl ? N((P(), $(W(e3.props.customControl), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, disabled: true, row: o2.row, entity: o2.row, prop: o2.column.prop, parent: n2.parentFormData, "row-index": o2.rowIndex, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, "current-page": o2.currentPage, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null, onRefreshList: l2.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "custom-params", "onRefreshList"])), [[x2, e3.props.permission]]) : (P(), $(m2, { key: 2, column: o2.column, editing: o2.row.$editing, entity: o2.row, "is-show": e3.isShow, label: e3.props.label ? e3.props.label : o2.row[o2.column.prop], "on-click": e3.onClick, "operation-index": i3, "operation-setting": e3.props, "event-name": e3.eventName, "row-index": o2.rowIndex, "list-code": o2.listCode, "parent-form-data": n2.parentFormData, "is-table-btn-link": "" }, null, 8, ["column", "editing", "entity", "is-show", "label", "on-click", "operation-index", "operation-setting", "event-name", "row-index", "list-code", "parent-form-data"]))], 2))), 128))])) : t2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex) ? (P(), R("span", { key: 2, class: L(o2.isShowForm ? "" : "cell--span") }, [(P(), $(W(t2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex)), { entity: o2.row, parent: n2.parentFormData, prop: o2.column.prop, row: o2.row, "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)), value: l2.getCellValue(o2.row), "additional-param-map": n2.additionalParamMap, "additional-settings": n2.additionalSettings, "page-context": (_i = n2.options) == null ? void 0 : _i.pageContext, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null, getSuperGridRef: o2.getSuperGridRef, "page-custom-params": n2.pageCustomParams }, null, 8, ["entity", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "additional-settings", "page-context", "custom-params", "getSuperGridRef", "page-custom-params"]))], 2)) : void 0 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "customControl" === n2.columnFormatter.type && n2.columnFormatter.options && n2.columnFormatter.options.format && "" !== n2.columnFormatter.options.format ? (P(), R("span", { key: 3, class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [(P(), $(W(n2.columnFormatter.options.format), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, "current-page": o2.currentPage, disabled: true, entity: o2.row, "get-form-data": n2.getFormData, "get-grid-data": n2.getTableGridData, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, parent: n2.parentFormData, prop: o2.column.prop, row: o2.row, "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)), value: l2.getCellValue(o2.row), "additional-param-map": n2.additionalParamMap, listCode: o2.listCode, "component-id": n2.componentId, "additional-settings": n2.additionalSettings, "page-context": (_j = n2.options) == null ? void 0 : _j.pageContext, "custom-params": l2.getCustomParams(), onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList }, null, 40, ["current-page", "entity", "get-form-data", "get-grid-data", "grid-data", "page-grid-data", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "listCode", "component-id", "additional-settings", "page-context", "custom-params", "onProhibitToEdit", "onRefreshList"]))], 2)) : void 0 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "secretInfo" === n2.columnFormatter.type ? (P(), R("span", { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [H(u2, { entity: o2.row, "field-label": t2.$escapeHtml(t2.label), "list-code": o2.listCode, "list-name": o2.listName, "page-code": o2.pageCode, prop: o2.column.prop, "table-name": o2.tableName, value: l2.getCellValue(o2.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, tt)) : t2.isObjectProp(o2.column.prop) ? (P(), R(_, { key: 5 }, [o2.column.formatter && "files" === o2.column.formatter.type ? (P(), R("span", et, [U("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: t2.isShowOverflowTooltip ? t2.$escapeHtml(l2.getLabel(o2.row)) : "", class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [H(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, ot)])) : "hyperlinks" === ((_k = n2.columnFormatter) == null ? void 0 : _k.type) && true === n2.linkObject.visible ? (P(), $(f2, { key: 1, type: l2.getLinkType(o2.row), onClick: e2[4] || (e2[4] = (e3) => t2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: A(() => [t2.isShowOverflowTooltip ? (P(), R("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: n2.linkObject.title, class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [B(G(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (P(), $(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : V("", true)], 14, it)) : (P(), R("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [B(G(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (P(), $(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : V("", true)], 10, nt))]), _: 1 }, 8, ["type"])) : t2.isShowOverflowTooltip ? (P(), R("span", { key: 2, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: t2.$escapeHtml(l2.getLabel(o2.row)), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, G(t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 15, lt)) : (P(), R("span", { key: 3, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, G(t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, st))], 64)) : (P(), R(_, { key: 6 }, ["annex" === o2.column.componentType || "multipartUpload" === o2.column.componentType ? (P(), R("span", rt, [t2.isShowOverflowTooltip ? (P(), R("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, title: t2.$escapeHtml(l2.getLabel(o2.row)), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [H(h2, { width: n2.cellWidth, entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["width", "entity", "file-set-obj", "is-sql", "label"])], 10, at)) : (P(), R("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [H(h2, { entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, pt))])) : o2.column.formatter && "files" === o2.column.formatter.type ? (P(), R("span", dt, [U("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: t2.isShowOverflowTooltip ? t2.$escapeHtml(l2.getLabel(o2.row)) : "", class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [H(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, ct)])) : "hyperlinks" === ((_l = n2.columnFormatter) == null ? void 0 : _l.type) && n2.linkObject.visible ? (P(), $(f2, { key: 2, type: "primary", onClick: e2[5] || (e2[5] = (e3) => t2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: A(() => [t2.isShowOverflowTooltip ? (P(), R("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: t2.$escapeHtml(n2.linkObject.title), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [B(G(t2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (P(), $(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : V("", true)], 14, mt)) : (P(), R("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [B(G(t2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (P(), $(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : V("", true)], 10, ut))]), _: 1 })) : o2.column.formatter && "richEditor" === o2.column.formatter.type ? (P(), $(g2, { key: 3, content: t2.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: A(() => [U("em", { class: "fa fa-info-circle annex-cell", onClick: e2[6] || (e2[6] = (t3) => l2.showRichEditorContent(o2.row, o2.column, l2.getHeader())) })]), _: 1 }, 8, ["content"])) : o2.column.formatter && "icon" === o2.column.formatter.type ? (P(), $(b2, { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, column: o2.column, row: o2.row, "row-index": o2.rowIndex, "is-sql": o2.isSql, "list-code": o2.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : t2.isShowOverflowTooltip ? (P(), R("span", { key: 5, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: l2.getLabel(o2.row), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span"), innerHTML: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 14, ht)) : (P(), R("span", { key: 6, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, G(t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, wt))], 64))], 2)), n2.showSingleImgFlag ? (P(), $(C2, { key: 2, "file-list": n2.fileList, onClose: e2[7] || (e2[7] = (t3) => n2.showSingleImgFlag = false) }, null, 8, ["file-list"])) : V("", true), n2.showRichEditorViewer ? (P(), $(y2, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l2.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : V("", true)]);
319
+ }], ["__scopeId", "data-v-ec223eb7"]]);
317
320
  export {
318
- wt as default
321
+ ft as default
319
322
  };
@@ -2,8 +2,8 @@ import { CirclePlus as e, ZoomIn as t } from "@element-plus/icons-vue";
2
2
  import { $emit as o } from "../../utils/gogocodeTransfer.mjs";
3
3
  import { getColumnValues as r, getContentAlign as i, getHeaderAlign as l, getHeaderLable as a, isRequiredEdit as n } from "./utils.mjs";
4
4
  import s from "./dynamic-input.vue.mjs";
5
- import d from "./store.mjs";
6
- import u from "./custom-formatter.mjs";
5
+ import u from "./store.mjs";
6
+ import d from "./custom-formatter.mjs";
7
7
  import m from "./apis.mjs";
8
8
  import { mapGetters as p } from "vuex";
9
9
  import c from "./view-image-dialog.vue.mjs";
@@ -12,19 +12,19 @@ import h from "../../rich-editor/viewer.vue.mjs";
12
12
  import f from "./components/grid-icon.vue.mjs";
13
13
  import b from "./normal-column-content.vue.mjs";
14
14
  import g from "./eventBus.mjs";
15
- import { resolveComponent as w, openBlock as C, createBlock as T, withCtx as D, createElementBlock as P, normalizeClass as S, createElementVNode as v, resolveDynamicComponent as y, createVNode as F, createCommentVNode as R, normalizeStyle as E } from "vue";
15
+ import { resolveComponent as w, openBlock as C, createBlock as T, withCtx as D, createElementBlock as S, normalizeClass as P, createElementVNode as F, resolveDynamicComponent as v, createVNode as y, createCommentVNode as R, normalizeStyle as E } from "vue";
16
16
  import "./normal-column.vue2.mjs";
17
17
  import x from "../../_virtual/_plugin-vue_export-helper.mjs";
18
18
  import j from "../../fs-preview/src/fs-preview.vue.mjs";
19
- const A = { components: { DynamicInput: s, ViewImageDialog: c, FsPreview: j, RichEditorViewer: h, CirclePlus: e, ElIconZoomIn: t, GridIcon: f, NormalColumnContent: b }, name: "NormalColumn", props: { column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null }, gridRef: { type: Object, default: null } }, data() {
19
+ const A = { components: { DynamicInput: s, ViewImageDialog: c, FsPreview: j, RichEditorViewer: h, CirclePlus: e, ElIconZoomIn: t, GridIcon: f, NormalColumnContent: b }, name: "NormalColumn", props: { column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null }, getSuperGridRef: { type: Function, default: null } }, data() {
20
20
  let e2;
21
- const t2 = d.get(this.listCode), o2 = t2.options;
21
+ const t2 = u.get(this.listCode), o2 = t2.options;
22
22
  t2.options.extraParam && t2.options.extraParam.entityMap && (e2 = t2.options.extraParam.entityMap);
23
23
  let r2 = {};
24
24
  return this.column.controlConfig && (r2 = JSON.parse(this.column.controlConfig)), { selectRow: null, that: this, align: "left", headerAlign: "left", isFormSubTable: false, subTableCanAdd: true, subTableCanDelete: true, isShowAdd: false, isShowDelete: false, cellWidth: null, parentFormData: e2, options: o2, controlConfig: r2 };
25
25
  }, computed: { filters() {
26
26
  if (this.column.filterable) {
27
- const e2 = d.get(this.listCode), t2 = r(e2.gridData, this.column.prop) || [], o2 = /* @__PURE__ */ new Set(), i2 = [];
27
+ const e2 = u.get(this.listCode), t2 = r(e2.gridData, this.column.prop) || [], o2 = /* @__PURE__ */ new Set(), i2 = [];
28
28
  for (const e3 of t2)
29
29
  o2.has(e3) || (o2.add(e3), i2.push(e3));
30
30
  const l2 = [];
@@ -42,7 +42,7 @@ const A = { components: { DynamicInput: s, ViewImageDialog: c, FsPreview: j, Ric
42
42
  }, lineEdit() {
43
43
  let e2 = false;
44
44
  if (this.listCode) {
45
- const t2 = d.get(this.listCode);
45
+ const t2 = u.get(this.listCode);
46
46
  e2 = null !== t2.lineEdit && void 0 !== t2.lineEdit && t2.lineEdit;
47
47
  }
48
48
  return e2;
@@ -52,7 +52,7 @@ const A = { components: { DynamicInput: s, ViewImageDialog: c, FsPreview: j, Ric
52
52
  null != e2 && this.dragColumnProp && this.dragColumnProp === this.column.prop && (this.cellWidth = e2);
53
53
  } } }, created() {
54
54
  this.column.width && (this.cellWidth = this.column.width - 10);
55
- const e2 = d.get(this.listCode);
55
+ const e2 = u.get(this.listCode);
56
56
  e2 && e2.options && e2.options.isFormSubTable && (this.isFormSubTable = e2.options.isFormSubTable), e2 && e2.options && (void 0 !== e2.options.subTableCanAdd && null !== e2.options.subTableCanAdd && (this.subTableCanAdd = e2.options.subTableCanAdd), void 0 !== e2.options.subTableCanDelete && null !== e2.options.subTableCanDelete && (this.subTableCanDelete = e2.options.subTableCanDelete));
57
57
  const t2 = i(this.column, e2);
58
58
  t2 && (this.align = t2);
@@ -67,7 +67,7 @@ const A = { components: { DynamicInput: s, ViewImageDialog: c, FsPreview: j, Ric
67
67
  }
68
68
  }, unmounted() {
69
69
  g.$off("change-add-state");
70
- }, methods: { ...u, ...m, getHeader() {
70
+ }, methods: { ...d, ...m, getHeader() {
71
71
  return a(this.column);
72
72
  }, filterHandler: (e2, t2, o2) => t2[o2.property] === e2, refresData(e2) {
73
73
  o(this, "refresData", e2);
@@ -97,9 +97,9 @@ const A = { components: { DynamicInput: s, ViewImageDialog: c, FsPreview: j, Ric
97
97
  return this.isFormSubTable && e2 && e2.validateErrorField && e2.validateErrorField === this.column.prop;
98
98
  } }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit", "deleteFormSubTableRow"] }, k = ["title", "innerHTML"], M = { style: { "margin-left": "5px" } };
99
99
  const q = x(A, [["render", function(e2, t2, o2, r2, i2, l2) {
100
- const a2 = w("CirclePlus"), n2 = w("el-icon"), s2 = w("Remove"), d2 = w("NormalColumnContent"), u2 = w("el-table-column");
101
- return C(), T(u2, { key: o2.column.prop, align: i2.align, "class-name": o2.column.prop, "filter-method": l2.filterMethod, filters: l2.filters, fixed: l2.fixed, "header-align": i2.headerAlign, prop: o2.column.prop, sortable: l2.sortable, "min-width": l2.getColumnWidth() }, { header: D(() => [o2.column.customHeader ? (C(), T(y(o2.column.customHeader), { key: 1, prop: o2.column.prop, parent: i2.parentFormData, "grid-data": o2.gridData, "current-page": o2.currentPage, label: e2.$escapeHtml(e2.label), column: o2.column, "grid-ref": o2.gridRef }, null, 8, ["prop", "parent", "grid-data", "current-page", "label", "column", "grid-ref"])) : (C(), P("span", { key: 0, class: S([{ is_req: l2.isFieldRequired() }, "normal-column-header"]) }, [v("span", { title: e2.$escapeHtml(e2.label), class: "cell--span required__label", innerHTML: e2.$escapeHtml(e2.label) }, null, 8, k)], 2)), v("span", M, [i2.isShowAdd ? (C(), T(n2, { key: 0, class: "normal-column-header normal-column-header-icon", onClick: l2.createFormSubTableRow }, { default: D(() => [F(a2)]), _: 1 }, 8, ["onClick"])) : R("", true), i2.isShowDelete ? (C(), T(n2, { key: 1, class: "normal-column-header normal-column-header-icon", onClick: l2.deleteFormSubTableRow }, { default: D(() => [F(s2)]), _: 1 }, 8, ["onClick"])) : R("", true)])]), default: D((e3) => [F(d2, { ref: o2.column.prop, "is-sql": o2.isSql, column: o2.column, "list-code": o2.listCode, "new-width": o2.newWidth, "drag-column-prop": o2.dragColumnProp, "right-click-menu-arr": i2.options.rightClickMenuArr, "table-name": o2.tableName, "page-code": o2.pageCode, "list-toolbar-form-data": o2.listToolbarFormData, "list-name": o2.listName, options: i2.options, "current-page": o2.currentPage, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, row: e3.row, "row-index": e3.$index, "line-edit": l2.lineEdit, "custom-format": o2.customFormat, class: S(l2.isValidateError(e3.row, e3.$index) ? "required_bg required-corner" : ""), style: E(l2.isValidateError(e3.row, e3.$index) ? "display:block;" : ""), "grid-ref": o2.gridRef, onOpenPage: l2.openPageEvent, onRefresData: l2.refresData, onRefreshList: l2.refreshList, onRefresPortData: l2.refresPortData, onRefresPortsData: l2.refresPortsData, onRefresMainTableFields: l2.refresMainTableFields, onProhibitToEdit: l2.prohibitToEdit }, null, 8, ["is-sql", "column", "list-code", "new-width", "drag-column-prop", "right-click-menu-arr", "table-name", "page-code", "list-toolbar-form-data", "list-name", "options", "current-page", "grid-data", "page-grid-data", "row", "row-index", "line-edit", "custom-format", "class", "style", "grid-ref", "onOpenPage", "onRefresData", "onRefreshList", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onProhibitToEdit"])]), _: 1 }, 8, ["align", "class-name", "filter-method", "filters", "fixed", "header-align", "prop", "sortable", "min-width"]);
102
- }], ["__scopeId", "data-v-5724ee41"]]);
100
+ const a2 = w("CirclePlus"), n2 = w("el-icon"), s2 = w("Remove"), u2 = w("NormalColumnContent"), d2 = w("el-table-column");
101
+ return C(), T(d2, { key: o2.column.prop, align: i2.align, "class-name": o2.column.prop, "filter-method": l2.filterMethod, filters: l2.filters, fixed: l2.fixed, "header-align": i2.headerAlign, prop: o2.column.prop, sortable: l2.sortable, "min-width": l2.getColumnWidth() }, { header: D(() => [o2.column.customHeader ? (C(), T(v(o2.column.customHeader), { key: 1, prop: o2.column.prop, parent: i2.parentFormData, "grid-data": o2.gridData, "current-page": o2.currentPage, label: e2.$escapeHtml(e2.label), column: o2.column }, null, 8, ["prop", "parent", "grid-data", "current-page", "label", "column"])) : (C(), S("span", { key: 0, class: P([{ is_req: l2.isFieldRequired() }, "normal-column-header"]) }, [F("span", { title: e2.$escapeHtml(e2.label), class: "cell--span required__label", innerHTML: e2.$escapeHtml(e2.label) }, null, 8, k)], 2)), F("span", M, [i2.isShowAdd ? (C(), T(n2, { key: 0, class: "normal-column-header normal-column-header-icon", onClick: l2.createFormSubTableRow }, { default: D(() => [y(a2)]), _: 1 }, 8, ["onClick"])) : R("", true), i2.isShowDelete ? (C(), T(n2, { key: 1, class: "normal-column-header normal-column-header-icon", onClick: l2.deleteFormSubTableRow }, { default: D(() => [y(s2)]), _: 1 }, 8, ["onClick"])) : R("", true)])]), default: D((e3) => [y(u2, { ref: o2.column.prop, "is-sql": o2.isSql, column: o2.column, "list-code": o2.listCode, "new-width": o2.newWidth, "drag-column-prop": o2.dragColumnProp, "right-click-menu-arr": i2.options.rightClickMenuArr, "table-name": o2.tableName, "page-code": o2.pageCode, "list-toolbar-form-data": o2.listToolbarFormData, "list-name": o2.listName, options: i2.options, "current-page": o2.currentPage, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, row: e3.row, "row-index": e3.$index, "line-edit": l2.lineEdit, "custom-format": o2.customFormat, class: P(l2.isValidateError(e3.row, e3.$index) ? "required_bg required-corner" : ""), style: E(l2.isValidateError(e3.row, e3.$index) ? "display:block;" : ""), "get-super-grid-ref": o2.getSuperGridRef, onOpenPage: l2.openPageEvent, onRefresData: l2.refresData, onRefreshList: l2.refreshList, onRefresPortData: l2.refresPortData, onRefresPortsData: l2.refresPortsData, onRefresMainTableFields: l2.refresMainTableFields, onProhibitToEdit: l2.prohibitToEdit }, null, 8, ["is-sql", "column", "list-code", "new-width", "drag-column-prop", "right-click-menu-arr", "table-name", "page-code", "list-toolbar-form-data", "list-name", "options", "current-page", "grid-data", "page-grid-data", "row", "row-index", "line-edit", "custom-format", "class", "style", "get-super-grid-ref", "onOpenPage", "onRefresData", "onRefreshList", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onProhibitToEdit"])]), _: 1 }, 8, ["align", "class-name", "filter-method", "filters", "fixed", "header-align", "prop", "sortable", "min-width"]);
102
+ }], ["__scopeId", "data-v-52cb78d9"]]);
103
103
  export {
104
104
  q as default
105
105
  };
@@ -1107,8 +1107,8 @@ const be = { components: { IndexColumn: o, SelectionColumn: a, NormalColumn: s,
1107
1107
  const ve = me(be, [["render", function(e2, t2, i2, o2, a2, s2) {
1108
1108
  var _a, _b, _c, _d;
1109
1109
  const r2 = K("search-form"), n2 = K("el-button"), l2 = K("el-option"), h2 = K("el-select"), d2 = K("search-form-dialog"), c2 = K("MobileCard"), p2 = K("row-detail"), u2 = K("el-table"), g2 = K("el-icon-setting"), m2 = K("el-icon-refresh"), b2 = K("el-pagination"), f2 = K("columns-config"), S2 = K("header-context-menu"), C2 = K("row-form"), w2 = Q("resize");
1110
- return X((Y(), Z("div", { "data-v": "1.0.0", class: "super-grid-main-view", style: ee(a2.subTableStyle), onClick: t2[11] || (t2[11] = (...t3) => e2.onClickTableMain && e2.onClickTableMain(...t3)) }, [(a2.isFormSubTable && a2.isMobile && a2.isHasSearchColumn && a2.query && ("embedded" === a2.query.showType || "popup" === a2.query.showType) || !a2.isFormSubTable && a2.query && "embedded" === a2.query.showType) && a2.hasLoadedColumns ? X((Y(), te(r2, { key: 0, ref: "sf", columns: a2.columns, code: i2.code, url: i2.url, pagination: a2.pagination, query: a2.query, "search-form-info": i2.searchFormInfo, "search-param": a2.searchFormContent, "init-search-props": a2.initSearchProps, "list-toolbar-form-data": i2.listToolbarFormData, "load-complete-query": a2.loadCompleteQuery, class: "super-grid-main-search-view", onSearch: s2.doSearch, onReset: s2.resetSearch, onOpenFold: s2.openFold, onCanShowMobileSearch: t2[0] || (t2[0] = (t3) => e2.$emit("can-show-mobile-search", i2.code)), onCloseMobileSearch: t2[1] || (t2[1] = (e3) => a2.isShowMobileSearch = false) }, null, 8, ["columns", "code", "url", "pagination", "query", "search-form-info", "search-param", "init-search-props", "list-toolbar-form-data", "load-complete-query", "onSearch", "onReset", "onOpenFold"])), [[ie, !a2.isMobile || a2.isMobile && a2.isShowMobileSearch]]) : oe("", true), ae("div", fe, [ae("div", Se, [a2.isFormSubTable && a2.isHasSearchColumn && a2.query && ("embedded" === a2.query.showType || "popup" === a2.query.showType) ? (Y(), te(n2, { key: 0, size: "small", onClick: s2.showSubTableSearch }, { default: se(() => [re(ne(e2.$t("imatrixUIMessage.search")), 1)]), _: 1 }, 8, ["onClick"])) : oe("", true)]), a2.isMobile && a2.orderColumns.length > 0 ? (Y(), Z("div", Ce, [le(h2, { style: { width: "120px", "padding-right": "10px" }, placeholder: e2.$t("superGrid.orderField"), clearable: "", filterable: "", modelValue: a2.orderField, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => a2.orderField = e3), onChange: s2.sortChangeColumn }, { default: se(() => [(Y(true), Z(he, null, de(a2.orderColumns, (e3) => (Y(), te(l2, { key: e3.prop, value: e3.prop, label: s2.getColumnLabel(e3) }, null, 8, ["value", "label"]))), 128))]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"]), le(h2, { style: { width: "120px" }, placeholder: e2.$t("superGrid.orderType"), clearable: "", modelValue: a2.orderType, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => a2.orderType = e3), onChange: s2.sortChangeType }, { default: se(() => [le(l2, { value: "ascending", label: e2.$t("superGrid.orderTypeAsc") }, null, 8, ["label"]), le(l2, { value: "descending", label: e2.$t("superGrid.orderTypeDesc") }, null, 8, ["label"])]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"])])) : oe("", true)]), a2.hasLoadedColumns ? (Y(), te(d2, { key: 1, ref: "sfDialog", columns: a2.columns, code: i2.code, url: i2.url, pagination: a2.pagination, query: a2.query, "search-form-info": i2.searchFormInfo, "search-param": a2.searchFormContent, "init-search-props": a2.initSearchProps, "list-toolbar-form-data": i2.listToolbarFormData, "load-complete-query": a2.loadCompleteQuery, onSearch: s2.doSearchDialog, onReset: s2.resetSearch, onClose: s2.closeSearchFormDialog }, null, 8, ["columns", "code", "url", "pagination", "query", "search-form-info", "search-param", "init-search-props", "list-toolbar-form-data", "load-complete-query", "onSearch", "onReset", "onClose"])) : oe("", true), ae("div", { ref: "superGridMain", class: ce(["grid-area " + i2.code, "super-grid-main-body"]) }, [s2.isShowCard ? (Y(), te(c2, { key: 0, selection: a2.selectionTableData, columns: s2.visibleColumns, listCode: i2.code, getColumnComponentData: s2.getColumnComponentData, data: s2.tableDatas, isEnableEdit: (_a = a2.lineEdit) == null ? void 0 : _a.editable, "current-page": a2.currentPage, "onUpdate:currentPage": t2[4] || (t2[4] = (e3) => a2.currentPage = e3), "page-size": (_c = (_b = a2.pagination) == null ? void 0 : _b.pageSizes) == null ? void 0 : _c[0], "page-total": (_d = a2.pagination) == null ? void 0 : _d.total, class: "super-grid-main-card-view", onSelect: s2.selectRecord, onSelectionChange: s2.cardSelectionChangeEvent, onCurrentChange: s2.handleCurrentChange, onRowClick: s2.rowClickEvent, onRowDblclick: s2.rowDblclickEvent }, null, 8, ["selection", "columns", "listCode", "getColumnComponentData", "data", "isEnableEdit", "current-page", "page-size", "page-total", "onSelect", "onSelectionChange", "onCurrentChange", "onRowClick", "onRowDblclick"])) : a2.refreshGrid && a2.hasLoadedColumns && !s2.isShowCard ? (Y(), te(u2, { key: 1, ref: "superGrid", data: s2.tableDatas, "row-key": s2.getRowKeyProp, "show-summary": s2.showSummary, "summary-method": s2.getSummaries, style: ee(a2.tableStyle), stripe: a2.stripe, border: true, "default-expand-all": a2.defaultExpandAll, lazy: a2.isLazy, load: s2.loadChildren, "row-style": s2.changeRowStyle, "cell-style": s2.changeCellStyle, "header-cell-style": s2.changeHeaderStyle, "highlight-current-row": true, "span-method": s2.rowSpan, "max-height": s2.hasMaxHeight, height: s2.hasTableHeight, class: ce([a2.tableClass, "super-grid-main-table-view"]), "tree-props": s2.getTreeProps(a2.parentProp, a2.isSql, a2.isLazy, a2.dataSourceType), "scrollbar-always-on": s2.scrollbarAlwaysOn, onSortChange: s2.handleSortChange, onSelect: s2.selectRecord, onSelectAll: s2.selectAllRecord, onSelectionChange: s2.selectionChangeEvent, onRowClick: s2.rowClickEvent, onRowDblclick: s2.rowDblclickEvent, onExpandChange: s2.expandChange, onHeaderClick: s2.headerClickEvent, onHeaderDragend: s2.changeHederWidth, onHeaderContextmenu: s2.headerContextmenu, onCellClick: s2.selectCell, onCellDblclick: e2.cellDblClick }, { default: se(() => [a2.detailColumn ? (Y(), te(p2, { key: 0, column: a2.detailColumn, "list-code": i2.code, onShowDetail: s2.openRowForm }, null, 8, ["column", "list-code", "onShowDetail"])) : oe("", true), (Y(true), Z(he, null, de(s2.visibleColumnsComponentData, ({ column: e3, ...t3 }, i3) => (Y(), te(pe(s2.getComponentType(e3)), ue({ ref_for: true, ref: e3.prop, key: e3.label + i3, "grid-ref": s2.getSuperGridRef() }, { ref_for: true }, t3.$bind, ge(t3.$on)), null, 16, ["grid-ref"]))), 128))]), _: 1 }, 8, ["data", "row-key", "show-summary", "summary-method", "style", "stripe", "default-expand-all", "lazy", "load", "row-style", "cell-style", "header-cell-style", "span-method", "max-height", "height", "class", "tree-props", "scrollbar-always-on", "onSortChange", "onSelect", "onSelectAll", "onSelectionChange", "onRowClick", "onRowDblclick", "onExpandChange", "onHeaderClick", "onHeaderDragend", "onHeaderContextmenu", "onCellClick", "onCellDblclick"])) : oe("", true), i2.showPagination && !s2.isShowCard ? (Y(), Z("div", we, [ae("div", De, [a2.isFormSubTable && a2.pagination && a2.isShowPage ? (Y(), Z("div", ye)) : oe("", true), a2.basicInfo.customConfig && !a2.isFormSubTable ? (Y(), Z("div", { key: 1, class: "el-icon-setting", title: e2.$t("superGrid.columnConfig"), onClick: t2[5] || (t2[5] = (...e3) => s2.configColumns && s2.configColumns(...e3)) }, [le(g2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, Te)) : oe("", true), a2.isFormSubTable ? oe("", true) : (Y(), Z("div", { key: 2, class: "el-icon-refresh", title: e2.$t("superGrid.refresh"), onClick: t2[6] || (t2[6] = (...e3) => s2.refreshGridData && s2.refreshGridData(...e3)) }, [le(m2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, Pe))]), a2.pagination && a2.isShowPage ? (Y(), te(b2, { key: 0, "current-page": a2.currentPage, "onUpdate:currentPage": t2[7] || (t2[7] = (e3) => a2.currentPage = e3), "page-size": a2.pagination.pageSize, "onUpdate:pageSize": t2[8] || (t2[8] = (e3) => a2.pagination.pageSize = e3), background: "", "page-sizes": a2.pagination.pageSizes, layout: a2.pagination.layout, total: a2.pagination.showTotal ? void 0 !== a2.pagination.total && "" !== a2.pagination.total && null !== a2.pagination.total ? a2.pagination.total : 0 : 1e11, onSizeChange: s2.handleSizeChange, onCurrentChange: s2.handleCurrentChange }, null, 8, ["current-page", "page-size", "page-sizes", "layout", "total", "onSizeChange", "onCurrentChange"])) : oe("", true)])) : oe("", true)], 2), a2.showColumnConfig ? (Y(), te(f2, { key: 2, "visible-columns": s2.visibleColumns, "list-code": i2.code, "is-sql": a2.isSql, onClose: t2[9] || (t2[9] = (e3) => s2.closeCustomConfig(e3)), onReset: t2[10] || (t2[10] = (e3) => s2.resetCustomConfig(e3)) }, null, 8, ["visible-columns", "list-code", "is-sql"])) : oe("", true), a2.showHeaderContextmenu ? (Y(), te(S2, { key: 3, ref: "headerMenu", "buttom-arr": i2.options.rightClickMenuArr, column: a2.rightClickColumn, onClearHeaderContextmenu: s2.clearHeaderContextmenu }, null, 8, ["buttom-arr", "column", "onClearHeaderContextmenu"])) : oe("", true), a2.showRowForm ? (Y(), te(C2, { key: 4, "parent-form-data": a2.parentFormData, columns: s2.visibleColumns, "row-index": a2.currentEditRowIndex, "list-code": i2.code, "drag-column-prop": a2.dragColumnProp, "is-sql": a2.isSql, "base-url": a2.baseURL, options: i2.options, "table-name": a2.tableName, "page-code": a2.pageCode, "list-toolbar-form-data": i2.listToolbarFormData, "list-name": a2.listName, "current-page": a2.currentPage, "grid-data": a2.isSubTableShowPage ? a2.subTableData : a2.gridData, "page-grid-data": a2.isSubTableShowPage ? s2.getSubTableGridData(a2.subTableData) : a2.gridData, "line-edit": a2.lineEdit, "show-page": a2.pagination && a2.isShowPage, "page-size": a2.pagination ? a2.pagination.pageSize : null, onClose: s2.closeRowForm, onRefresData: s2.refresData, onRefresPortData: s2.refresPortData, onRefresPortsData: s2.refresPortsData, onRefresMainTableFields: s2.refresMainTableFields, onOpenPage: s2.openPageDialog, onProhibitToEdit: s2.prohibitToEdit, onRefreshList: s2.refreshList }, null, 8, ["parent-form-data", "columns", "row-index", "list-code", "drag-column-prop", "is-sql", "base-url", "options", "table-name", "page-code", "list-toolbar-form-data", "list-name", "current-page", "grid-data", "page-grid-data", "line-edit", "show-page", "page-size", "onClose", "onRefresData", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onOpenPage", "onProhibitToEdit", "onRefreshList"])) : oe("", true)], 4)), [[w2, s2.onResize]]);
1111
- }], ["__scopeId", "data-v-9d30dd5e"]]);
1110
+ return X((Y(), Z("div", { "data-v": "1.0.0", class: "super-grid-main-view", style: ee(a2.subTableStyle), onClick: t2[11] || (t2[11] = (...t3) => e2.onClickTableMain && e2.onClickTableMain(...t3)) }, [(a2.isFormSubTable && a2.isMobile && a2.isHasSearchColumn && a2.query && ("embedded" === a2.query.showType || "popup" === a2.query.showType) || !a2.isFormSubTable && a2.query && "embedded" === a2.query.showType) && a2.hasLoadedColumns ? X((Y(), te(r2, { key: 0, ref: "sf", columns: a2.columns, code: i2.code, url: i2.url, pagination: a2.pagination, query: a2.query, "search-form-info": i2.searchFormInfo, "search-param": a2.searchFormContent, "init-search-props": a2.initSearchProps, "list-toolbar-form-data": i2.listToolbarFormData, "load-complete-query": a2.loadCompleteQuery, class: "super-grid-main-search-view", onSearch: s2.doSearch, onReset: s2.resetSearch, onOpenFold: s2.openFold, onCanShowMobileSearch: t2[0] || (t2[0] = (t3) => e2.$emit("can-show-mobile-search", i2.code)), onCloseMobileSearch: t2[1] || (t2[1] = (e3) => a2.isShowMobileSearch = false) }, null, 8, ["columns", "code", "url", "pagination", "query", "search-form-info", "search-param", "init-search-props", "list-toolbar-form-data", "load-complete-query", "onSearch", "onReset", "onOpenFold"])), [[ie, !a2.isMobile || a2.isMobile && a2.isShowMobileSearch]]) : oe("", true), ae("div", fe, [ae("div", Se, [a2.isFormSubTable && a2.isHasSearchColumn && a2.query && ("embedded" === a2.query.showType || "popup" === a2.query.showType) ? (Y(), te(n2, { key: 0, size: "small", onClick: s2.showSubTableSearch }, { default: se(() => [re(ne(e2.$t("imatrixUIMessage.search")), 1)]), _: 1 }, 8, ["onClick"])) : oe("", true)]), a2.isMobile && a2.orderColumns.length > 0 ? (Y(), Z("div", Ce, [le(h2, { style: { width: "120px", "padding-right": "10px" }, placeholder: e2.$t("superGrid.orderField"), clearable: "", filterable: "", modelValue: a2.orderField, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => a2.orderField = e3), onChange: s2.sortChangeColumn }, { default: se(() => [(Y(true), Z(he, null, de(a2.orderColumns, (e3) => (Y(), te(l2, { key: e3.prop, value: e3.prop, label: s2.getColumnLabel(e3) }, null, 8, ["value", "label"]))), 128))]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"]), le(h2, { style: { width: "120px" }, placeholder: e2.$t("superGrid.orderType"), clearable: "", modelValue: a2.orderType, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => a2.orderType = e3), onChange: s2.sortChangeType }, { default: se(() => [le(l2, { value: "ascending", label: e2.$t("superGrid.orderTypeAsc") }, null, 8, ["label"]), le(l2, { value: "descending", label: e2.$t("superGrid.orderTypeDesc") }, null, 8, ["label"])]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"])])) : oe("", true)]), a2.hasLoadedColumns ? (Y(), te(d2, { key: 1, ref: "sfDialog", columns: a2.columns, code: i2.code, url: i2.url, pagination: a2.pagination, query: a2.query, "search-form-info": i2.searchFormInfo, "search-param": a2.searchFormContent, "init-search-props": a2.initSearchProps, "list-toolbar-form-data": i2.listToolbarFormData, "load-complete-query": a2.loadCompleteQuery, onSearch: s2.doSearchDialog, onReset: s2.resetSearch, onClose: s2.closeSearchFormDialog }, null, 8, ["columns", "code", "url", "pagination", "query", "search-form-info", "search-param", "init-search-props", "list-toolbar-form-data", "load-complete-query", "onSearch", "onReset", "onClose"])) : oe("", true), ae("div", { ref: "superGridMain", class: ce(["grid-area " + i2.code, "super-grid-main-body"]) }, [s2.isShowCard ? (Y(), te(c2, { key: 0, selection: a2.selectionTableData, columns: s2.visibleColumns, listCode: i2.code, getColumnComponentData: s2.getColumnComponentData, data: s2.tableDatas, isEnableEdit: (_a = a2.lineEdit) == null ? void 0 : _a.editable, "current-page": a2.currentPage, "onUpdate:currentPage": t2[4] || (t2[4] = (e3) => a2.currentPage = e3), "page-size": (_c = (_b = a2.pagination) == null ? void 0 : _b.pageSizes) == null ? void 0 : _c[0], "page-total": (_d = a2.pagination) == null ? void 0 : _d.total, class: "super-grid-main-card-view", onSelect: s2.selectRecord, onSelectionChange: s2.cardSelectionChangeEvent, onCurrentChange: s2.handleCurrentChange, onRowClick: s2.rowClickEvent, onRowDblclick: s2.rowDblclickEvent }, null, 8, ["selection", "columns", "listCode", "getColumnComponentData", "data", "isEnableEdit", "current-page", "page-size", "page-total", "onSelect", "onSelectionChange", "onCurrentChange", "onRowClick", "onRowDblclick"])) : a2.refreshGrid && a2.hasLoadedColumns && !s2.isShowCard ? (Y(), te(u2, { key: 1, ref: "superGrid", data: s2.tableDatas, "row-key": s2.getRowKeyProp, "show-summary": s2.showSummary, "summary-method": s2.getSummaries, style: ee(a2.tableStyle), stripe: a2.stripe, border: true, "default-expand-all": a2.defaultExpandAll, lazy: a2.isLazy, load: s2.loadChildren, "row-style": s2.changeRowStyle, "cell-style": s2.changeCellStyle, "header-cell-style": s2.changeHeaderStyle, "highlight-current-row": true, "span-method": s2.rowSpan, "max-height": s2.hasMaxHeight, height: s2.hasTableHeight, class: ce([a2.tableClass, "super-grid-main-table-view"]), "tree-props": s2.getTreeProps(a2.parentProp, a2.isSql, a2.isLazy, a2.dataSourceType), "scrollbar-always-on": s2.scrollbarAlwaysOn, onSortChange: s2.handleSortChange, onSelect: s2.selectRecord, onSelectAll: s2.selectAllRecord, onSelectionChange: s2.selectionChangeEvent, onRowClick: s2.rowClickEvent, onRowDblclick: s2.rowDblclickEvent, onExpandChange: s2.expandChange, onHeaderClick: s2.headerClickEvent, onHeaderDragend: s2.changeHederWidth, onHeaderContextmenu: s2.headerContextmenu, onCellClick: s2.selectCell, onCellDblclick: e2.cellDblClick }, { default: se(() => [a2.detailColumn ? (Y(), te(p2, { key: 0, column: a2.detailColumn, "list-code": i2.code, onShowDetail: s2.openRowForm }, null, 8, ["column", "list-code", "onShowDetail"])) : oe("", true), (Y(true), Z(he, null, de(s2.visibleColumnsComponentData, ({ column: e3, ...t3 }, i3) => (Y(), te(pe(s2.getComponentType(e3)), ue({ ref_for: true, ref: e3.prop, key: e3.label + i3, "get-super-grid-ref": s2.getSuperGridRef }, { ref_for: true }, t3.$bind, ge(t3.$on)), null, 16, ["get-super-grid-ref"]))), 128))]), _: 1 }, 8, ["data", "row-key", "show-summary", "summary-method", "style", "stripe", "default-expand-all", "lazy", "load", "row-style", "cell-style", "header-cell-style", "span-method", "max-height", "height", "class", "tree-props", "scrollbar-always-on", "onSortChange", "onSelect", "onSelectAll", "onSelectionChange", "onRowClick", "onRowDblclick", "onExpandChange", "onHeaderClick", "onHeaderDragend", "onHeaderContextmenu", "onCellClick", "onCellDblclick"])) : oe("", true), i2.showPagination && !s2.isShowCard ? (Y(), Z("div", we, [ae("div", De, [a2.isFormSubTable && a2.pagination && a2.isShowPage ? (Y(), Z("div", ye)) : oe("", true), a2.basicInfo.customConfig && !a2.isFormSubTable ? (Y(), Z("div", { key: 1, class: "el-icon-setting", title: e2.$t("superGrid.columnConfig"), onClick: t2[5] || (t2[5] = (...e3) => s2.configColumns && s2.configColumns(...e3)) }, [le(g2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, Te)) : oe("", true), a2.isFormSubTable ? oe("", true) : (Y(), Z("div", { key: 2, class: "el-icon-refresh", title: e2.$t("superGrid.refresh"), onClick: t2[6] || (t2[6] = (...e3) => s2.refreshGridData && s2.refreshGridData(...e3)) }, [le(m2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, Pe))]), a2.pagination && a2.isShowPage ? (Y(), te(b2, { key: 0, "current-page": a2.currentPage, "onUpdate:currentPage": t2[7] || (t2[7] = (e3) => a2.currentPage = e3), "page-size": a2.pagination.pageSize, "onUpdate:pageSize": t2[8] || (t2[8] = (e3) => a2.pagination.pageSize = e3), background: "", "page-sizes": a2.pagination.pageSizes, layout: a2.pagination.layout, total: a2.pagination.showTotal ? void 0 !== a2.pagination.total && "" !== a2.pagination.total && null !== a2.pagination.total ? a2.pagination.total : 0 : 1e11, onSizeChange: s2.handleSizeChange, onCurrentChange: s2.handleCurrentChange }, null, 8, ["current-page", "page-size", "page-sizes", "layout", "total", "onSizeChange", "onCurrentChange"])) : oe("", true)])) : oe("", true)], 2), a2.showColumnConfig ? (Y(), te(f2, { key: 2, "visible-columns": s2.visibleColumns, "list-code": i2.code, "is-sql": a2.isSql, onClose: t2[9] || (t2[9] = (e3) => s2.closeCustomConfig(e3)), onReset: t2[10] || (t2[10] = (e3) => s2.resetCustomConfig(e3)) }, null, 8, ["visible-columns", "list-code", "is-sql"])) : oe("", true), a2.showHeaderContextmenu ? (Y(), te(S2, { key: 3, ref: "headerMenu", "buttom-arr": i2.options.rightClickMenuArr, column: a2.rightClickColumn, onClearHeaderContextmenu: s2.clearHeaderContextmenu }, null, 8, ["buttom-arr", "column", "onClearHeaderContextmenu"])) : oe("", true), a2.showRowForm ? (Y(), te(C2, { key: 4, "parent-form-data": a2.parentFormData, columns: s2.visibleColumns, "row-index": a2.currentEditRowIndex, "list-code": i2.code, "drag-column-prop": a2.dragColumnProp, "is-sql": a2.isSql, "base-url": a2.baseURL, options: i2.options, "table-name": a2.tableName, "page-code": a2.pageCode, "list-toolbar-form-data": i2.listToolbarFormData, "list-name": a2.listName, "current-page": a2.currentPage, "grid-data": a2.isSubTableShowPage ? a2.subTableData : a2.gridData, "page-grid-data": a2.isSubTableShowPage ? s2.getSubTableGridData(a2.subTableData) : a2.gridData, "line-edit": a2.lineEdit, "show-page": a2.pagination && a2.isShowPage, "page-size": a2.pagination ? a2.pagination.pageSize : null, onClose: s2.closeRowForm, onRefresData: s2.refresData, onRefresPortData: s2.refresPortData, onRefresPortsData: s2.refresPortsData, onRefresMainTableFields: s2.refresMainTableFields, onOpenPage: s2.openPageDialog, onProhibitToEdit: s2.prohibitToEdit, onRefreshList: s2.refreshList }, null, 8, ["parent-form-data", "columns", "row-index", "list-code", "drag-column-prop", "is-sql", "base-url", "options", "table-name", "page-code", "list-toolbar-form-data", "list-name", "current-page", "grid-data", "page-grid-data", "line-edit", "show-page", "page-size", "onClose", "onRefresData", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onOpenPage", "onProhibitToEdit", "onRefreshList"])) : oe("", true)], 4)), [[w2, s2.onResize]]);
1111
+ }], ["__scopeId", "data-v-7e63a75f"]]);
1112
1112
  export {
1113
1113
  ve as default
1114
1114
  };