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.
- package/dist/index.full.min.js +137 -133
- package/dist/style.css +43 -43
- package/es/style.css +1134 -1134
- package/es/super-grid/src/apis.mjs +2 -1
- package/es/super-grid/src/dynamic-input.vue.mjs +5 -5
- package/es/super-grid/src/group-column.vue.mjs +6 -6
- package/es/super-grid/src/normal-column-content.vue.mjs +23 -20
- package/es/super-grid/src/normal-column.vue.mjs +12 -12
- package/es/super-grid/src/super-grid.vue.mjs +2 -2
- package/lib/style.css +1125 -1125
- package/lib/super-grid/src/apis.cjs +2 -1
- package/lib/super-grid/src/dynamic-input.vue.cjs +2 -2
- package/lib/super-grid/src/group-column.vue.cjs +3 -3
- package/lib/super-grid/src/normal-column-content.vue.cjs +7 -4
- package/lib/super-grid/src/normal-column.vue.cjs +10 -10
- package/lib/super-grid/src/super-grid.vue.cjs +2 -2
- package/package.json +2 -2
|
@@ -471,6 +471,7 @@ const o = require("../../src/utils/util.cjs"), s = require("./eventBus.cjs"), n
|
|
|
471
471
|
var _a;
|
|
472
472
|
return false !== i.parseSubTableActionCondition(e2, t2, a2, (_a = e2.options.actionPermission) == null ? void 0 : _a.deleteCondition) || (window.$vueApp.config.globalProperties.$message({ showClose: true, message: o.getI18n().t("superGrid.rowCanntDeleteTip"), type: "warning" }), false);
|
|
473
473
|
}, getSelections() {
|
|
474
|
-
|
|
474
|
+
if (this.$refs && this.$refs.superGrid)
|
|
475
|
+
return this.$refs.superGrid.getSelectionRows();
|
|
475
476
|
} }, g = { data: () => ({ toolbarFieldParam: null, showSearch: false, isMobile: n.isMobileBrowser(), 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: { ...u } };
|
|
476
477
|
exports.apisMixin = g, exports.default = u;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const e = require("./store.cjs"), t = require("./utils.cjs"), i = require("../../dynamic-source-select/src/dynamic-source-select.vue.cjs"), l = require("../../src/utils/util.cjs"), o = require("../../src/utils/auth.cjs"), a = require("./apis.cjs"), n = require("./view-image-dialog.vue.cjs"), s = require("../../utils/gogocodeTransfer.cjs"), r = require("./eventBus.cjs"), u = require("../../src/utils/common-util.cjs"), p = require("./scan-util.cjs"), c = require("./custom-formatter.cjs"), m = require("./components/grid-radio-input.vue.cjs"), d = require("./components/select-input.vue.cjs"), h = require("vue"), f = require("../../_virtual/_plugin-vue_export-helper.cjs"), g = { name: "DynamicInput", components: { dynamicSourceSelect: i, ViewImageDialog: n, GridRadioInput: m, SelectInput: d }, 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 }
|
|
2
|
+
const e = require("./store.cjs"), t = require("./utils.cjs"), i = require("../../dynamic-source-select/src/dynamic-source-select.vue.cjs"), l = require("../../src/utils/util.cjs"), o = require("../../src/utils/auth.cjs"), a = require("./apis.cjs"), n = require("./view-image-dialog.vue.cjs"), s = require("../../utils/gogocodeTransfer.cjs"), r = require("./eventBus.cjs"), u = require("../../src/utils/common-util.cjs"), p = require("./scan-util.cjs"), c = require("./custom-formatter.cjs"), m = require("./components/grid-radio-input.vue.cjs"), d = require("./components/select-input.vue.cjs"), h = require("vue"), f = require("../../_virtual/_plugin-vue_export-helper.cjs"), g = { name: "DynamicInput", components: { dynamicSourceSelect: i, ViewImageDialog: n, GridRadioInput: m, SelectInput: d }, 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() {
|
|
3
3
|
let i2 = this.value;
|
|
4
4
|
this.type && "select" === this.type && "TEXT" !== this.column.dataType && (i2 = this.value && null !== this.value && "string" != typeof this.value ? this.value + "" : this.value, s.$emit(this, "update:value", i2));
|
|
5
5
|
const l2 = this.getDefaultValue(i2);
|
|
@@ -460,6 +460,6 @@ const e = require("./store.cjs"), t = require("./utils.cjs"), i = require("../..
|
|
|
460
460
|
const S = f(g, [["render", function(e2, t2, i2, l2, o2, a2) {
|
|
461
461
|
var _a;
|
|
462
462
|
const n2 = h.resolveComponent("el-date-picker"), s2 = h.resolveComponent("el-time-picker"), r2 = h.resolveComponent("el-input"), u2 = h.resolveComponent("SuperIcon"), p2 = h.resolveComponent("fs-upload-list"), c2 = h.resolveComponent("multipart-upload"), m2 = h.resolveComponent("GridRadioInput"), d2 = h.resolveComponent("SelectInput"), f2 = h.resolveComponent("el-input-number"), g2 = h.resolveComponent("el-switch"), S2 = h.resolveComponent("el-slider"), w = h.resolveComponent("el-rate"), V = h.resolveComponent("organization-input"), T = h.resolveComponent("el-button"), N = h.resolveComponent("el-upload"), D = h.resolveComponent("el-dialog"), k = h.resolveComponent("view-image-dialog"), E = h.resolveComponent("scan-code-input-browser");
|
|
463
|
-
return i2.type && i2.type.indexOf("custom:") >= 0 && "" != o2.componentName ? (h.openBlock(), h.createElementBlock("div", { key: 0, class: h.normalizeClass(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, [(h.openBlock(), h.createBlock(h.resolveDynamicComponent(o2.componentName), { ref: "customItem", disabled: i2.disabled, entity: i2.row, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, "additional-settings": o2.controlConfig, parent: o2.parentFormData, prop: i2.column.prop, "custom-params": o2.myCustomParams, row: i2.row, "row-index": i2.position ? i2.position.row : null, "select-options": i2.options, value: o2.innerValue, "additional-param-map": o2.additionalParamMap, listCode: i2.listCode, "component-id": o2.componentId, "page-context": o2.pageContext, "grid-ref": i2.gridRef, onChange: t2[0] || (t2[0] = (e3) => a2.cellEvent("change", e3)), onInput: t2[1] || (t2[1] = (e3) => a2.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)) : (h.openBlock(), h.createElementBlock("div", { key: 1, class: h.normalizeClass(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, ["year" === i2.type || "month" === i2.type || "week" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 0, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), type: i2.type, "value-format": a2.isValueFormat(), style: { width: "100%" }, onBlur: t2[3] || (t2[3] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[4] || (t2[4] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[5] || (t2[5] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[6] || (t2[6] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : "yearRange" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 1, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => o2.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) => a2.cellEvent("blur", e3)), onChange: t2[9] || (t2[9] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[10] || (t2[10] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[11] || (t2[11] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : "dateTimePicker" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 2, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[13] || (t2[13] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[14] || (t2[14] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[15] || (t2[15] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[16] || (t2[16] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "date" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 3, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), "picker-options": o2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[18] || (t2[18] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[19] || (t2[19] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[20] || (t2[20] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[21] || (t2[21] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "timePicker" === i2.type || "input" === i2.type && "TIME" === i2.column.dataType ? (h.openBlock(), h.createBlock(s2, { key: 4, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => o2.innerValue = e3), disabled: i2.disabled, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": a2.isValueFormat(), style: { width: "100%" }, onBlur: t2[23] || (t2[23] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[24] || (t2[24] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[25] || (t2[25] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[26] || (t2[26] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "time" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 5, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[28] || (t2[28] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[29] || (t2[29] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[30] || (t2[30] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[31] || (t2[31] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "DATE" === i2.column.dataType ? (h.openBlock(), h.createBlock(n2, { key: 6, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), "picker-options": o2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[33] || (t2[33] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[34] || (t2[34] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[35] || (t2[35] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[36] || (t2[36] = (e3) => a2.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 ? (h.openBlock(), h.createBlock(r2, { key: 8, ref: "item", disabled: i2.disabled, maxlength: o2.controlConfig && o2.controlConfig.maxlength ? o2.controlConfig.maxlength : "", minlength: o2.controlConfig && o2.controlConfig.minlength ? o2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: o2.innerValue, clearable: "", modelValue: o2.innerValue, "onUpdate:modelValue": t2[48] || (t2[48] = (e3) => o2.innerValue = e3), onBlur: t2[49] || (t2[49] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[50] || (t2[50] = (e3) => a2.cellEvent("change", e3)), onClear: t2[51] || (t2[51] = (e3) => a2.cellEvent("clear", e3)), onFocus: t2[52] || (t2[52] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[53] || (t2[53] = (e3) => a2.cellEvent("input", e3, true)) }, h.createSlots({ _: 2 }, ["outer" != o2.designProperty.iconPosition && (o2.designProperty.preIconType && o2.designProperty.preIconValue || o2.designProperty.preText) ? { name: "prefix", fn: h.withCtx(() => [o2.designProperty.preIconType && o2.designProperty.preIconValue ? (h.openBlock(), h.createBlock(u2, { key: 0, iconType: o2.designProperty.preIconType, iconValue: o2.designProperty.preIconValue, onClick: t2[43] || (t2[43] = (e3) => a2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.preText ? (h.openBlock(), h.createElementBlock("span", y, h.toDisplayString(e2.$t(o2.designProperty.preText)), 1)) : h.createCommentVNode("", true)]), key: "0" } : void 0, "outer" == o2.designProperty.iconPosition && (o2.designProperty.preIconType && o2.designProperty.preIconValue || o2.designProperty.preText) ? { name: "prepend", fn: h.withCtx(() => [o2.designProperty.preIconType && o2.designProperty.preIconValue ? (h.openBlock(), h.createBlock(u2, { key: 0, iconType: o2.designProperty.preIconType, iconValue: o2.designProperty.preIconValue, onClick: t2[44] || (t2[44] = (e3) => a2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.preText ? (h.openBlock(), h.createElementBlock("span", v, h.toDisplayString(e2.$t(o2.designProperty.preText)), 1)) : h.createCommentVNode("", true)]), key: "1" } : void 0, "outer" != o2.designProperty.iconPosition && (o2.designProperty.sufIconType && o2.designProperty.sufIconValue || o2.designProperty.sufText) ? { name: "suffix", fn: h.withCtx(() => [o2.designProperty.sufIconType && o2.designProperty.sufIconValue ? (h.openBlock(), h.createBlock(u2, { key: 0, iconType: o2.designProperty.sufIconType, iconValue: o2.designProperty.sufIconValue, onClick: t2[45] || (t2[45] = (e3) => a2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.sufText ? (h.openBlock(), h.createElementBlock("span", b, h.toDisplayString(e2.$t(o2.designProperty.sufText)), 1)) : h.createCommentVNode("", true)]), key: "2" } : void 0, o2.isShowScanIcon || "outer" == o2.designProperty.iconPosition && (o2.designProperty.sufIconType && o2.designProperty.sufIconValue || o2.designProperty.sufText) ? { name: "append", fn: h.withCtx(() => [o2.isShowScanIcon ? (h.openBlock(), h.createBlock(u2, { key: 0, iconValue: "fa-barcode", onClick: t2[46] || (t2[46] = (e3) => a2.scanClick()) })) : h.createCommentVNode("", true), o2.designProperty.sufIconType && o2.designProperty.sufIconValue ? (h.openBlock(), h.createBlock(u2, { key: 1, iconType: o2.designProperty.sufIconType, iconValue: o2.designProperty.sufIconValue, onClick: t2[47] || (t2[47] = (e3) => a2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.sufText ? (h.openBlock(), h.createElementBlock("span", C, h.toDisplayString(e2.$t(o2.designProperty.sufText)), 1)) : h.createCommentVNode("", true)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : "textarea" === i2.type ? (h.openBlock(), h.createBlock(r2, { key: 9, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[54] || (t2[54] = (e3) => o2.innerValue = e3), disabled: i2.disabled, maxlength: o2.controlConfig && o2.controlConfig.maxlength ? o2.controlConfig.maxlength : "", minlength: o2.controlConfig && o2.controlConfig.minlength ? o2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), rows: o2.designProperty.rows ? o2.designProperty.rows : 2, title: o2.innerValue, clearable: "", type: "textarea", onBlur: t2[55] || (t2[55] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[56] || (t2[56] = (e3) => a2.cellEvent("change", e3)), onClear: t2[57] || (t2[57] = (e3) => a2.cellEvent("clear", e3)), onFocus: t2[58] || (t2[58] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[59] || (t2[59] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "rows", "title"])) : "annex" === i2.type ? (h.openBlock(), h.createBlock(p2, { key: 10, ref: "fileUploadRef", "custom-view-url": true, disabled: i2.disabled, "file-info": o2.fileInfo, "file-list": o2.fileList, "file-set-obj": o2.fileSetObj, "is-sql": i2.isSql, row: i2.row, value: o2.innerValue, "page-context": o2.pageContext, "list-code": i2.listCode, componentId: o2.componentId, onDelete: a2.deleteFile, onDeleteSuccess: a2.deleteSuccess, onUploadSuccess: a2.uploadOnSuccess, onOnError: a2.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 ? (h.openBlock(), h.createBlock(c2, { key: 11, disabled: i2.disabled, entity: i2.row, "file-info": o2.fileInfo, "file-list": o2.fileList, "file-set-obj": o2.fileSetObj, value: o2.innerValue, type: "list", onDelete: a2.deleteFile, onDeleteSuccess: a2.deleteSuccess, onUploadSuccess: a2.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : "radio" === i2.type ? (h.openBlock(), h.createBlock(m2, { key: 12, modelValue: o2.innerValue, "onUpdate:modelValue": [t2[60] || (t2[60] = (e3) => o2.innerValue = e3), t2[61] || (t2[61] = (e3) => o2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": o2.valueSetOptions, prop: i2.column.prop, entity: i2.row, onCellEvent: a2.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : "multiselect" === i2.type || "select" === i2.type ? (h.openBlock(), h.createBlock(d2, { key: 13, modelValue: o2.innerValue, "onUpdate:modelValue": [t2[62] || (t2[62] = (e3) => o2.innerValue = e3), t2[63] || (t2[63] = (e3) => o2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": o2.valueSetOptions, prop: i2.column.prop, entity: i2.row, column: i2.column, type: i2.type, controlConfig: o2.controlConfig, listCode: i2.listCode, listToolbarFormData: i2.listToolbarFormData, dynamicDataSourceCode: o2.dynamicDataSourceCode, additionalParamMap: o2.additionalParamMap, isSql: i2.isSql, parentFormData: o2.parentFormData, tableName: o2.tableName, onCellEvent: a2.cellEvent, onExtendParams: a2.setExtendParams, onSetCellValue: a2.setCellValue, onSetCellValueWithProp: a2.setCellValueWithProp, onCallCustomEventWithParam: a2.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 ? (h.openBlock(), h.createBlock(f2, { key: 14, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[64] || (t2[64] = (e3) => o2.innerValue = e3), "controls-position": o2.inputNumberSet.position, disabled: i2.disabled, max: 0 == o2.inputNumberSet.max ? 0 : o2.inputNumberSet.max ? o2.inputNumberSet.max : 1 / 0, min: 0 == o2.inputNumberSet.min ? 0 : o2.inputNumberSet.min ? o2.inputNumberSet.min : -1 / 0, precision: o2.inputNumberSet.precision, step: o2.inputNumberSet.step ? o2.inputNumberSet.step : 1, onBlur: t2[65] || (t2[65] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[66] || (t2[66] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[67] || (t2[67] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[68] || (t2[68] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : "switch" === i2.type || "BOOLEAN" === i2.column.dataType ? (h.openBlock(), h.createBlock(g2, { key: 15, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[69] || (t2[69] = (e3) => o2.innerValue = e3), "active-text": a2.getSwitchConfig("activeText"), "active-value": a2.getSwitchConfig("activeValue"), disabled: i2.disabled, "inactive-text": a2.getSwitchConfig("inactiveText"), "inactive-value": a2.getSwitchConfig("inactiveValue"), onChange: t2[70] || (t2[70] = (e3) => a2.cellEvent("change", e3)), onInput: t2[71] || (t2[71] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : "slider" === i2.type ? (h.openBlock(), h.createBlock(S2, { key: 16, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[72] || (t2[72] = (e3) => o2.innerValue = e3), disabled: i2.disabled, onChange: t2[73] || (t2[73] = (e3) => a2.cellEvent("change", e3)), onInput: t2[74] || (t2[74] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : "rate" === i2.type ? (h.openBlock(), h.createBlock(w, { key: 17, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[75] || (t2[75] = (e3) => o2.innerValue = e3), disabled: i2.disabled, onChange: t2[76] || (t2[76] = (e3) => a2.cellEvent("change", e3)), onInput: t2[77] || (t2[77] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : o2.deptManTree || o2.deptTree || o2.wgManTree || o2.wgTree ? (h.openBlock(), h.createBlock(V, { key: 18, "check-strictly": o2.isCheckStrictly, "department-info": o2.departmentInfo, disabled: i2.disabled, "limit-filter-column": (_a = o2.controlConfig) == null ? void 0 : _a.limitFilterColumn, fields: o2.fields, "is-join-table": e2.isJoinTable, models: i2.row, multiple: o2.isMultiTree, "table-name": o2.tableName, "tree-type": o2.deptManTree ? "DeptUserTree" : o2.deptTree ? "DeptTree" : o2.wgManTree ? "WgUserTree" : o2.wgTree ? "WgTree" : null, value: o2.innerValue, onAppend: a2.appendOrganizationInputEvent, onClear: a2.clearOrganizationInputEvent, onFocus: a2.showOrganizationTree, onReplace: a2.replaceOrganizationInputEvent, onSetValue: a2.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"])) : h.createCommentVNode("", true) : (h.openBlock(), h.createBlock(r2, { key: 7, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[37] || (t2[37] = (e3) => o2.innerValue = e3), modelModifiers: { number: true }, disabled: i2.disabled, placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: o2.innerValue, type: "INTEGER" === i2.column.dataType || "LONG" === i2.column.dataType ? "number" : "text", clearable: "", onBlur: t2[38] || (t2[38] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[39] || (t2[39] = (e3) => a2.cellEvent("change", e3)), onClear: t2[40] || (t2[40] = (e3) => a2.cellEvent("clear", e3)), onFocus: t2[41] || (t2[41] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[42] || (t2[42] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), h.createVNode(D, { "append-to-body": true, "show-close": true, title: e2.$t("imatrixUIMessage.tips"), visible: o2.annexUploadFlag, width: "30%" }, { default: h.withCtx(() => ["annex" === i2.type && o2.annexUploadFlag ? (h.openBlock(), h.createBlock(N, { key: 0, accept: o2.fileSetObj && o2.fileSetObj.accept ? o2.fileSetObj.accept : null, action: o2.defaultAction, "before-upload": a2.handleBeforeUpload, headers: o2.headers, "on-success": a2.uploadOnSuccess, "with-credentials": true, name: "file" }, { default: h.withCtx(() => [h.createVNode(T, null, { default: h.withCtx(() => [h.createTextVNode(h.toDisplayString(e2.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : h.createCommentVNode("", true)]), _: 1 }, 8, ["title", "visible"]), o2.showSingleImgFlag ? (h.openBlock(), h.createBlock(k, { key: 19, deleteable: !i2.disabled, downloadable: !i2.disabled, "file-list": o2.fileList, onClose: t2[78] || (t2[78] = (e3) => o2.showSingleImgFlag = false), onDelete: a2.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : h.createCommentVNode("", true), o2.isShowBrowserScan ? (h.openBlock(), h.createBlock(E, { key: 20, onClose: a2.closeBrowserScan }, null, 8, ["onClose"])) : h.createCommentVNode("", true)], 2));
|
|
463
|
+
return i2.type && i2.type.indexOf("custom:") >= 0 && "" != o2.componentName ? (h.openBlock(), h.createElementBlock("div", { key: 0, class: h.normalizeClass(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, [(h.openBlock(), h.createBlock(h.resolveDynamicComponent(o2.componentName), { ref: "customItem", disabled: i2.disabled, entity: i2.row, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, "additional-settings": o2.controlConfig, parent: o2.parentFormData, prop: i2.column.prop, "custom-params": o2.myCustomParams, row: i2.row, "row-index": i2.position ? i2.position.row : null, "select-options": i2.options, value: o2.innerValue, "additional-param-map": o2.additionalParamMap, listCode: i2.listCode, "component-id": o2.componentId, "page-context": o2.pageContext, onChange: t2[0] || (t2[0] = (e3) => a2.cellEvent("change", e3)), onInput: t2[1] || (t2[1] = (e3) => a2.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)) : (h.openBlock(), h.createElementBlock("div", { key: 1, class: h.normalizeClass(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, ["year" === i2.type || "month" === i2.type || "week" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 0, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), type: i2.type, "value-format": a2.isValueFormat(), style: { width: "100%" }, onBlur: t2[3] || (t2[3] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[4] || (t2[4] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[5] || (t2[5] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[6] || (t2[6] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : "yearRange" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 1, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => o2.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) => a2.cellEvent("blur", e3)), onChange: t2[9] || (t2[9] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[10] || (t2[10] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[11] || (t2[11] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : "dateTimePicker" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 2, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[13] || (t2[13] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[14] || (t2[14] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[15] || (t2[15] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[16] || (t2[16] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "date" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 3, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), "picker-options": o2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[18] || (t2[18] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[19] || (t2[19] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[20] || (t2[20] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[21] || (t2[21] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "timePicker" === i2.type || "input" === i2.type && "TIME" === i2.column.dataType ? (h.openBlock(), h.createBlock(s2, { key: 4, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => o2.innerValue = e3), disabled: i2.disabled, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": a2.isValueFormat(), style: { width: "100%" }, onBlur: t2[23] || (t2[23] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[24] || (t2[24] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[25] || (t2[25] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[26] || (t2[26] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "time" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 5, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[28] || (t2[28] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[29] || (t2[29] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[30] || (t2[30] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[31] || (t2[31] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "DATE" === i2.column.dataType ? (h.openBlock(), h.createBlock(n2, { key: 6, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), "picker-options": o2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[33] || (t2[33] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[34] || (t2[34] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[35] || (t2[35] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[36] || (t2[36] = (e3) => a2.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 ? (h.openBlock(), h.createBlock(r2, { key: 8, ref: "item", disabled: i2.disabled, maxlength: o2.controlConfig && o2.controlConfig.maxlength ? o2.controlConfig.maxlength : "", minlength: o2.controlConfig && o2.controlConfig.minlength ? o2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: o2.innerValue, clearable: "", modelValue: o2.innerValue, "onUpdate:modelValue": t2[48] || (t2[48] = (e3) => o2.innerValue = e3), onBlur: t2[49] || (t2[49] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[50] || (t2[50] = (e3) => a2.cellEvent("change", e3)), onClear: t2[51] || (t2[51] = (e3) => a2.cellEvent("clear", e3)), onFocus: t2[52] || (t2[52] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[53] || (t2[53] = (e3) => a2.cellEvent("input", e3, true)) }, h.createSlots({ _: 2 }, ["outer" != o2.designProperty.iconPosition && (o2.designProperty.preIconType && o2.designProperty.preIconValue || o2.designProperty.preText) ? { name: "prefix", fn: h.withCtx(() => [o2.designProperty.preIconType && o2.designProperty.preIconValue ? (h.openBlock(), h.createBlock(u2, { key: 0, iconType: o2.designProperty.preIconType, iconValue: o2.designProperty.preIconValue, onClick: t2[43] || (t2[43] = (e3) => a2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.preText ? (h.openBlock(), h.createElementBlock("span", y, h.toDisplayString(e2.$t(o2.designProperty.preText)), 1)) : h.createCommentVNode("", true)]), key: "0" } : void 0, "outer" == o2.designProperty.iconPosition && (o2.designProperty.preIconType && o2.designProperty.preIconValue || o2.designProperty.preText) ? { name: "prepend", fn: h.withCtx(() => [o2.designProperty.preIconType && o2.designProperty.preIconValue ? (h.openBlock(), h.createBlock(u2, { key: 0, iconType: o2.designProperty.preIconType, iconValue: o2.designProperty.preIconValue, onClick: t2[44] || (t2[44] = (e3) => a2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.preText ? (h.openBlock(), h.createElementBlock("span", v, h.toDisplayString(e2.$t(o2.designProperty.preText)), 1)) : h.createCommentVNode("", true)]), key: "1" } : void 0, "outer" != o2.designProperty.iconPosition && (o2.designProperty.sufIconType && o2.designProperty.sufIconValue || o2.designProperty.sufText) ? { name: "suffix", fn: h.withCtx(() => [o2.designProperty.sufIconType && o2.designProperty.sufIconValue ? (h.openBlock(), h.createBlock(u2, { key: 0, iconType: o2.designProperty.sufIconType, iconValue: o2.designProperty.sufIconValue, onClick: t2[45] || (t2[45] = (e3) => a2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.sufText ? (h.openBlock(), h.createElementBlock("span", b, h.toDisplayString(e2.$t(o2.designProperty.sufText)), 1)) : h.createCommentVNode("", true)]), key: "2" } : void 0, o2.isShowScanIcon || "outer" == o2.designProperty.iconPosition && (o2.designProperty.sufIconType && o2.designProperty.sufIconValue || o2.designProperty.sufText) ? { name: "append", fn: h.withCtx(() => [o2.isShowScanIcon ? (h.openBlock(), h.createBlock(u2, { key: 0, iconValue: "fa-barcode", onClick: t2[46] || (t2[46] = (e3) => a2.scanClick()) })) : h.createCommentVNode("", true), o2.designProperty.sufIconType && o2.designProperty.sufIconValue ? (h.openBlock(), h.createBlock(u2, { key: 1, iconType: o2.designProperty.sufIconType, iconValue: o2.designProperty.sufIconValue, onClick: t2[47] || (t2[47] = (e3) => a2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.sufText ? (h.openBlock(), h.createElementBlock("span", C, h.toDisplayString(e2.$t(o2.designProperty.sufText)), 1)) : h.createCommentVNode("", true)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : "textarea" === i2.type ? (h.openBlock(), h.createBlock(r2, { key: 9, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[54] || (t2[54] = (e3) => o2.innerValue = e3), disabled: i2.disabled, maxlength: o2.controlConfig && o2.controlConfig.maxlength ? o2.controlConfig.maxlength : "", minlength: o2.controlConfig && o2.controlConfig.minlength ? o2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), rows: o2.designProperty.rows ? o2.designProperty.rows : 2, title: o2.innerValue, clearable: "", type: "textarea", onBlur: t2[55] || (t2[55] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[56] || (t2[56] = (e3) => a2.cellEvent("change", e3)), onClear: t2[57] || (t2[57] = (e3) => a2.cellEvent("clear", e3)), onFocus: t2[58] || (t2[58] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[59] || (t2[59] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "rows", "title"])) : "annex" === i2.type ? (h.openBlock(), h.createBlock(p2, { key: 10, ref: "fileUploadRef", "custom-view-url": true, disabled: i2.disabled, "file-info": o2.fileInfo, "file-list": o2.fileList, "file-set-obj": o2.fileSetObj, "is-sql": i2.isSql, row: i2.row, value: o2.innerValue, "page-context": o2.pageContext, "list-code": i2.listCode, componentId: o2.componentId, onDelete: a2.deleteFile, onDeleteSuccess: a2.deleteSuccess, onUploadSuccess: a2.uploadOnSuccess, onOnError: a2.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 ? (h.openBlock(), h.createBlock(c2, { key: 11, disabled: i2.disabled, entity: i2.row, "file-info": o2.fileInfo, "file-list": o2.fileList, "file-set-obj": o2.fileSetObj, value: o2.innerValue, type: "list", onDelete: a2.deleteFile, onDeleteSuccess: a2.deleteSuccess, onUploadSuccess: a2.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : "radio" === i2.type ? (h.openBlock(), h.createBlock(m2, { key: 12, modelValue: o2.innerValue, "onUpdate:modelValue": [t2[60] || (t2[60] = (e3) => o2.innerValue = e3), t2[61] || (t2[61] = (e3) => o2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": o2.valueSetOptions, prop: i2.column.prop, entity: i2.row, onCellEvent: a2.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : "multiselect" === i2.type || "select" === i2.type ? (h.openBlock(), h.createBlock(d2, { key: 13, modelValue: o2.innerValue, "onUpdate:modelValue": [t2[62] || (t2[62] = (e3) => o2.innerValue = e3), t2[63] || (t2[63] = (e3) => o2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": o2.valueSetOptions, prop: i2.column.prop, entity: i2.row, column: i2.column, type: i2.type, controlConfig: o2.controlConfig, listCode: i2.listCode, listToolbarFormData: i2.listToolbarFormData, dynamicDataSourceCode: o2.dynamicDataSourceCode, additionalParamMap: o2.additionalParamMap, isSql: i2.isSql, parentFormData: o2.parentFormData, tableName: o2.tableName, onCellEvent: a2.cellEvent, onExtendParams: a2.setExtendParams, onSetCellValue: a2.setCellValue, onSetCellValueWithProp: a2.setCellValueWithProp, onCallCustomEventWithParam: a2.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 ? (h.openBlock(), h.createBlock(f2, { key: 14, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[64] || (t2[64] = (e3) => o2.innerValue = e3), "controls-position": o2.inputNumberSet.position, disabled: i2.disabled, max: 0 == o2.inputNumberSet.max ? 0 : o2.inputNumberSet.max ? o2.inputNumberSet.max : 1 / 0, min: 0 == o2.inputNumberSet.min ? 0 : o2.inputNumberSet.min ? o2.inputNumberSet.min : -1 / 0, precision: o2.inputNumberSet.precision, step: o2.inputNumberSet.step ? o2.inputNumberSet.step : 1, onBlur: t2[65] || (t2[65] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[66] || (t2[66] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[67] || (t2[67] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[68] || (t2[68] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : "switch" === i2.type || "BOOLEAN" === i2.column.dataType ? (h.openBlock(), h.createBlock(g2, { key: 15, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[69] || (t2[69] = (e3) => o2.innerValue = e3), "active-text": a2.getSwitchConfig("activeText"), "active-value": a2.getSwitchConfig("activeValue"), disabled: i2.disabled, "inactive-text": a2.getSwitchConfig("inactiveText"), "inactive-value": a2.getSwitchConfig("inactiveValue"), onChange: t2[70] || (t2[70] = (e3) => a2.cellEvent("change", e3)), onInput: t2[71] || (t2[71] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : "slider" === i2.type ? (h.openBlock(), h.createBlock(S2, { key: 16, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[72] || (t2[72] = (e3) => o2.innerValue = e3), disabled: i2.disabled, onChange: t2[73] || (t2[73] = (e3) => a2.cellEvent("change", e3)), onInput: t2[74] || (t2[74] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : "rate" === i2.type ? (h.openBlock(), h.createBlock(w, { key: 17, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[75] || (t2[75] = (e3) => o2.innerValue = e3), disabled: i2.disabled, onChange: t2[76] || (t2[76] = (e3) => a2.cellEvent("change", e3)), onInput: t2[77] || (t2[77] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : o2.deptManTree || o2.deptTree || o2.wgManTree || o2.wgTree ? (h.openBlock(), h.createBlock(V, { key: 18, "check-strictly": o2.isCheckStrictly, "department-info": o2.departmentInfo, disabled: i2.disabled, "limit-filter-column": (_a = o2.controlConfig) == null ? void 0 : _a.limitFilterColumn, fields: o2.fields, "is-join-table": e2.isJoinTable, models: i2.row, multiple: o2.isMultiTree, "table-name": o2.tableName, "tree-type": o2.deptManTree ? "DeptUserTree" : o2.deptTree ? "DeptTree" : o2.wgManTree ? "WgUserTree" : o2.wgTree ? "WgTree" : null, value: o2.innerValue, onAppend: a2.appendOrganizationInputEvent, onClear: a2.clearOrganizationInputEvent, onFocus: a2.showOrganizationTree, onReplace: a2.replaceOrganizationInputEvent, onSetValue: a2.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"])) : h.createCommentVNode("", true) : (h.openBlock(), h.createBlock(r2, { key: 7, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[37] || (t2[37] = (e3) => o2.innerValue = e3), modelModifiers: { number: true }, disabled: i2.disabled, placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: o2.innerValue, type: "INTEGER" === i2.column.dataType || "LONG" === i2.column.dataType ? "number" : "text", clearable: "", onBlur: t2[38] || (t2[38] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[39] || (t2[39] = (e3) => a2.cellEvent("change", e3)), onClear: t2[40] || (t2[40] = (e3) => a2.cellEvent("clear", e3)), onFocus: t2[41] || (t2[41] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[42] || (t2[42] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), h.createVNode(D, { "append-to-body": true, "show-close": true, title: e2.$t("imatrixUIMessage.tips"), visible: o2.annexUploadFlag, width: "30%" }, { default: h.withCtx(() => ["annex" === i2.type && o2.annexUploadFlag ? (h.openBlock(), h.createBlock(N, { key: 0, accept: o2.fileSetObj && o2.fileSetObj.accept ? o2.fileSetObj.accept : null, action: o2.defaultAction, "before-upload": a2.handleBeforeUpload, headers: o2.headers, "on-success": a2.uploadOnSuccess, "with-credentials": true, name: "file" }, { default: h.withCtx(() => [h.createVNode(T, null, { default: h.withCtx(() => [h.createTextVNode(h.toDisplayString(e2.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : h.createCommentVNode("", true)]), _: 1 }, 8, ["title", "visible"]), o2.showSingleImgFlag ? (h.openBlock(), h.createBlock(k, { key: 19, deleteable: !i2.disabled, downloadable: !i2.disabled, "file-list": o2.fileList, onClose: t2[78] || (t2[78] = (e3) => o2.showSingleImgFlag = false), onDelete: a2.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : h.createCommentVNode("", true), o2.isShowBrowserScan ? (h.openBlock(), h.createBlock(E, { key: 20, onClose: a2.closeBrowserScan }, null, 8, ["onClose"])) : h.createCommentVNode("", true)], 2));
|
|
464
464
|
}]]);
|
|
465
465
|
module.exports = S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const e = require("./normal-column.vue.cjs"), t = require("./formatter.cjs"), o = require("vue"),
|
|
2
|
+
const e = require("./normal-column.vue.cjs"), t = require("./formatter.cjs"), o = require("vue"), r = require("../../_virtual/_plugin-vue_export-helper.cjs"), l = { 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() {
|
|
3
3
|
return this.column.children ? this.column.children.filter((e2) => (void 0 === e2.show || e2.show) && (void 0 === e2.dyn_show || true === e2.dyn_show)) : [];
|
|
4
4
|
} }, created() {
|
|
5
5
|
this.label = this.getHeader(), this.column;
|
|
@@ -12,8 +12,8 @@ const e = require("./normal-column.vue.cjs"), t = require("./formatter.cjs"), o
|
|
|
12
12
|
}, openPageDialog(e2) {
|
|
13
13
|
this.$emit("open-page", e2);
|
|
14
14
|
} } }, a = ["title", "innerHTML"];
|
|
15
|
-
const i = l
|
|
15
|
+
const i = r(l, [["render", function(e2, t2, r2, l2, i2, n) {
|
|
16
16
|
const d = o.resolveComponent("el-table-column");
|
|
17
|
-
return o.openBlock(), o.createBlock(d, { "min-width":
|
|
17
|
+
return o.openBlock(), o.createBlock(d, { "min-width": r2.column.width ? r2.column.width : 150, align: r2.column.groupHeader ? "center" : "" }, { header: o.withCtx(() => [o.createElementVNode("span", { class: "cell--span", title: i2.label, innerHTML: i2.label }, null, 8, a)]), default: o.withCtx(() => [r2.customFormat ? (o.openBlock(true), o.createElementBlock(o.Fragment, { key: 0 }, o.renderList(n.visibleChildren, (l3, a2) => (o.openBlock(), o.createBlock(o.resolveDynamicComponent(l3.prop ? "NormalColumn" : "GroupColumn"), { key: l3.label + a2, column: l3, "is-sql": r2.isSql, "custom-format": l3.prop ? r2.customFormat[l3.prop] : r2.customFormat, "list-code": r2.listCode, "grid-data": r2.gridData, "page-grid-data": r2.gridData, "get-super-grid-ref": r2.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: n.prohibitToEdit, onOpenPage: n.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)) : (o.openBlock(true), o.createElementBlock(o.Fragment, { key: 1 }, o.renderList(n.visibleChildren, (e3, t3) => (o.openBlock(), o.createBlock(o.resolveDynamicComponent(e3.prop ? "NormalColumn" : "GroupColumn"), { key: e3.label + t3, "is-sql": r2.isSql, column: e3, "list-code": r2.listCode, "grid-data": r2.gridData, "page-grid-data": r2.gridData, "get-super-grid-ref": r2.getSuperGridRef, onProhibitToEdit: n.prohibitToEdit, onOpenPage: n.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"]);
|
|
18
18
|
}]]);
|
|
19
19
|
module.exports = i;
|
|
@@ -5,7 +5,8 @@ const u = require("../../rich-editor/viewer.vue.cjs"), h = require("./components
|
|
|
5
5
|
require("element-plus");
|
|
6
6
|
const C = require("vue");
|
|
7
7
|
require("./normal-column-content.vue2.cjs");
|
|
8
|
-
const b = require("../../_virtual/_plugin-vue_export-helper.cjs"), y = { components: { DynamicInput: i, RowOperation: s, ViewImageDialog: d, FsPreview: require("../../fs-preview/src/fs-preview.vue.cjs"), RichEditorViewer: u, CirclePlus: e.CirclePlus, ElIconZoomIn: e.ZoomIn, GridIcon: h }, 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 },
|
|
8
|
+
const b = require("../../_virtual/_plugin-vue_export-helper.cjs"), y = { components: { DynamicInput: i, RowOperation: s, ViewImageDialog: d, FsPreview: require("../../fs-preview/src/fs-preview.vue.cjs"), RichEditorViewer: u, CirclePlus: e.CirclePlus, ElIconZoomIn: e.ZoomIn, GridIcon: h }, 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() {
|
|
9
|
+
var _a;
|
|
9
10
|
let e2;
|
|
10
11
|
const t2 = n.get(this.listCode), i2 = t2.options;
|
|
11
12
|
t2.options.extraParam && t2.options.extraParam.entityMap && (e2 = t2.options.extraParam.entityMap);
|
|
@@ -18,7 +19,9 @@ const b = require("../../_virtual/_plugin-vue_export-helper.cjs"), y = { compone
|
|
|
18
19
|
let c2;
|
|
19
20
|
null !== t2.lineEdit && void 0 !== t2.lineEdit && (c2 = t2.lineEdit);
|
|
20
21
|
let p2 = "hidden";
|
|
21
|
-
|
|
22
|
+
t2.basicInfo && t2.basicInfo.textOverflow && (p2 = t2.basicInfo.textOverflow), this.isShowForm && (p2 = "newline");
|
|
23
|
+
const d2 = (_a = t2.options) == null ? void 0 : _a.pageCustomParams;
|
|
24
|
+
return { selectRow: null, that: this, columnFormatter: this.column.formatter, hyperLinks: {}, fileDownType: "", isFormSubTable: false, subTableCanAdd: true, isShowAdd: false, cellWidth: null, parentFormData: e2, fileMultiple: false, showSingleImgFlag: false, singleImgSrc: "", fileList: [], index: null, isEditable: this.column.editable, showRichEditorViewer: false, getFormData: t2.options.getFormData, getTableGridData: t2.options.getGridData, additionalParamMap: l2, disabled: false, additionalSettings: this.getColumnCustomControlControlConfig(this.column.formatter), scanEnable: s2, componentId: a2, controlConfig: r2, requiredClass: "", lineEdit: c2, options: i2, textOverflow: p2, linkObject: {}, pageCustomParams: d2 };
|
|
22
25
|
}, computed: { isHideEdit() {
|
|
23
26
|
return !!this.disabled;
|
|
24
27
|
}, $rowGuId() {
|
|
@@ -295,6 +298,6 @@ const b = require("../../_virtual/_plugin-vue_export-helper.cjs"), y = { compone
|
|
|
295
298
|
const H = b(y, [["render", function(e2, t2, o2, i2, n2, l2) {
|
|
296
299
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
297
300
|
const r2 = C.resolveComponent("dynamic-input"), s2 = C.resolveComponent("Edit"), a2 = C.resolveComponent("el-icon"), c2 = C.resolveComponent("el-dropdown-item"), p2 = C.resolveComponent("el-dropdown-menu"), d2 = C.resolveComponent("el-dropdown"), m2 = C.resolveComponent("row-operation"), u2 = C.resolveComponent("secret-info"), h2 = C.resolveComponent("FsPreview"), w2 = C.resolveComponent("SuperIcon"), g2 = C.resolveComponent("el-link"), f2 = C.resolveComponent("el-tooltip"), b2 = C.resolveComponent("GridIcon"), y2 = C.resolveComponent("view-image-dialog"), H2 = C.resolveComponent("rich-editor-viewer"), A = C.resolveDirective("permission");
|
|
298
|
-
return C.openBlock(), C.createElementBlock("div", k, [l2.isEditing || o2.isShowForm ? (C.openBlock(), C.createBlock(r2, { key: 0, ref: "dynamicRef", value: o2.row[o2.column.prop], "onUpdate:value": t2[0] || (t2[0] = (e3) => o2.row[o2.column.prop] = e3), class: C.normalizeClass(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: C.withKeys(l2.clearAllEditing, ["enter"]), onFindIndex: t2[1] || (t2[1] = (e3) => l2.findIndex(o2.rowIndex)), onFocus: t2[2] || (t2[2] = (e3) => 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"])) : (C.openBlock(), C.createElementBlock("div", { key: 1, class: C.normalizeClass(((_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 ? (C.openBlock(), C.createElementBlock("div", { key: 0, class: "column-text-edit-main", onClick: t2[3] || (t2[3] = (...e3) => l2.onEditing && l2.onEditing(...e3)) }, [C.createVNode(a2, { size: 14, color: "#409eff" }, { default: C.withCtx(() => [C.createVNode(s2)]), _: 1 }), [void 0, null, ""].includes(o2.row[o2.column.prop]) ? (C.openBlock(), C.createElementBlock("span", E, C.toDisplayString(e2.$t("superGrid.editablePlaceholder")), 1)) : C.createCommentVNode("", true)])) : C.createCommentVNode("", true), o2.column.operations ? (C.openBlock(), C.createElementBlock("span", x, [(C.openBlock(true), C.createElementBlock(C.Fragment, null, C.renderList(o2.column.operations, (t3, i3) => (C.openBlock(), C.createElementBlock("span", { key: i3, class: C.normalizeClass([o2.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [t3.isGroup ? (C.openBlock(), C.createBlock(d2, { key: 0, size: t3.buttons && t3.buttons.length > 0 ? t3.buttons[0].props.size : "small", "split-button": "", onCommand: l2.handleCommand }, { dropdown: C.withCtx(() => [C.createVNode(p2, null, { default: C.withCtx(() => [(C.openBlock(true), C.createElementBlock(C.Fragment, null, C.renderList(t3.buttons, (t4, i4) => (C.openBlock(), C.createElementBlock("span", { key: t4.props.code + i4 }, [C.withDirectives((C.openBlock(), C.createBlock(c2, { command: l2.beforeHandleCommand(t4.props.code, o2.row, o2.rowIndex), disabled: e2.preventReclick }, { default: C.withCtx(() => [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(t4.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[A, t4.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: C.withCtx(() => [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(t3.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : t3.props.customControl ? C.withDirectives((C.openBlock(), C.createBlock(C.resolveDynamicComponent(t3.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"])), [[A, t3.props.permission]]) : (C.openBlock(), C.createBlock(m2, { key: 2, column: o2.column, editing: o2.row.$editing, entity: o2.row, "is-show": t3.isShow, label: t3.props.label ? t3.props.label : o2.row[o2.column.prop], "on-click": t3.onClick, "operation-index": i3, "operation-setting": t3.props, "event-name": t3.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))])) : e2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex) ? (C.openBlock(), C.createElementBlock("span", { key: 2, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [(C.openBlock(), C.createBlock(C.resolveDynamicComponent(e2.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": e2.$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 ? (C.openBlock(), C.createElementBlock("span", { key: 3, class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [(C.openBlock(), C.createBlock(C.resolveDynamicComponent(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": e2.$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 ? (C.openBlock(), C.createElementBlock("span", { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createVNode(u2, { entity: o2.row, "field-label": e2.$escapeHtml(e2.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, v)) : e2.isObjectProp(o2.column.prop) ? (C.openBlock(), C.createElementBlock(C.Fragment, { key: 5 }, [o2.column.formatter && "files" === o2.column.formatter.type ? (C.openBlock(), C.createElementBlock("span", S, [C.createElementVNode("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(l2.getLabel(o2.row)) : "", class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, D)])) : "hyperlinks" === ((_k = n2.columnFormatter) == null ? void 0 : _k.type) && true === n2.linkObject.visible ? (C.openBlock(), C.createBlock(g2, { key: 1, type: l2.getLinkType(o2.row), onClick: t2[4] || (t2[4] = (t3) => e2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: C.withCtx(() => [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: n2.linkObject.title, class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createTextVNode(C.toDisplayString(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 14, B)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createTextVNode(C.toDisplayString(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 10, I))]), _: 1 }, 8, ["type"])) : e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 2, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: e2.$escapeHtml(l2.getLabel(o2.row)), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 15, T)) : (C.openBlock(), C.createElementBlock("span", { key: 3, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, F))], 64)) : (C.openBlock(), C.createElementBlock(C.Fragment, { key: 6 }, ["annex" === o2.column.componentType || "multipartUpload" === o2.column.componentType ? (C.openBlock(), C.createElementBlock("span", O, [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.$escapeHtml(l2.getLabel(o2.row)), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { width: n2.cellWidth, entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["width", "entity", "file-set-obj", "is-sql", "label"])], 10, P)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, $))])) : o2.column.formatter && "files" === o2.column.formatter.type ? (C.openBlock(), C.createElementBlock("span", j, [C.createElementVNode("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(l2.getLabel(o2.row)) : "", class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, R)])) : "hyperlinks" === ((_l = n2.columnFormatter) == null ? void 0 : _l.type) && n2.linkObject.visible ? (C.openBlock(), C.createBlock(g2, { key: 2, type: "primary", onClick: t2[5] || (t2[5] = (t3) => e2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: C.withCtx(() => [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: e2.$escapeHtml(n2.linkObject.title), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 14, q)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 10, V))]), _: 1 })) : o2.column.formatter && "richEditor" === o2.column.formatter.type ? (C.openBlock(), C.createBlock(f2, { key: 3, content: e2.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: C.withCtx(() => [C.createElementVNode("em", { class: "fa fa-info-circle annex-cell", onClick: t2[6] || (t2[6] = (e3) => l2.showRichEditorContent(o2.row, o2.column, l2.getHeader())) })]), _: 1 }, 8, ["content"])) : o2.column.formatter && "icon" === o2.column.formatter.type ? (C.openBlock(), C.createBlock(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"])) : e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 5, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: l2.getLabel(o2.row), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span"), innerHTML: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 14, L)) : (C.openBlock(), C.createElementBlock("span", { key: 6, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, N))], 64))], 2)), n2.showSingleImgFlag ? (C.openBlock(), C.createBlock(y2, { key: 2, "file-list": n2.fileList, onClose: t2[7] || (t2[7] = (e3) => n2.showSingleImgFlag = false) }, null, 8, ["file-list"])) : C.createCommentVNode("", true), n2.showRichEditorViewer ? (C.openBlock(), C.createBlock(H2, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l2.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : C.createCommentVNode("", true)]);
|
|
299
|
-
}], ["__scopeId", "data-v-
|
|
301
|
+
return C.openBlock(), C.createElementBlock("div", k, [l2.isEditing || o2.isShowForm ? (C.openBlock(), C.createBlock(r2, { key: 0, ref: "dynamicRef", value: o2.row[o2.column.prop], "onUpdate:value": t2[0] || (t2[0] = (e3) => o2.row[o2.column.prop] = e3), class: C.normalizeClass(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: C.withKeys(l2.clearAllEditing, ["enter"]), onFindIndex: t2[1] || (t2[1] = (e3) => l2.findIndex(o2.rowIndex)), onFocus: t2[2] || (t2[2] = (e3) => 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"])) : (C.openBlock(), C.createElementBlock("div", { key: 1, class: C.normalizeClass(((_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 ? (C.openBlock(), C.createElementBlock("div", { key: 0, class: "column-text-edit-main", onClick: t2[3] || (t2[3] = (...e3) => l2.onEditing && l2.onEditing(...e3)) }, [C.createVNode(a2, { size: 14, color: "#409eff" }, { default: C.withCtx(() => [C.createVNode(s2)]), _: 1 }), [void 0, null, ""].includes(o2.row[o2.column.prop]) ? (C.openBlock(), C.createElementBlock("span", E, C.toDisplayString(e2.$t("superGrid.editablePlaceholder")), 1)) : C.createCommentVNode("", true)])) : C.createCommentVNode("", true), o2.column.operations ? (C.openBlock(), C.createElementBlock("span", x, [(C.openBlock(true), C.createElementBlock(C.Fragment, null, C.renderList(o2.column.operations, (t3, i3) => (C.openBlock(), C.createElementBlock("span", { key: i3, class: C.normalizeClass([o2.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [t3.isGroup ? (C.openBlock(), C.createBlock(d2, { key: 0, size: t3.buttons && t3.buttons.length > 0 ? t3.buttons[0].props.size : "small", "split-button": "", onCommand: l2.handleCommand }, { dropdown: C.withCtx(() => [C.createVNode(p2, null, { default: C.withCtx(() => [(C.openBlock(true), C.createElementBlock(C.Fragment, null, C.renderList(t3.buttons, (t4, i4) => (C.openBlock(), C.createElementBlock("span", { key: t4.props.code + i4 }, [C.withDirectives((C.openBlock(), C.createBlock(c2, { command: l2.beforeHandleCommand(t4.props.code, o2.row, o2.rowIndex), disabled: e2.preventReclick }, { default: C.withCtx(() => [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(t4.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[A, t4.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: C.withCtx(() => [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(t3.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : t3.props.customControl ? C.withDirectives((C.openBlock(), C.createBlock(C.resolveDynamicComponent(t3.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"])), [[A, t3.props.permission]]) : (C.openBlock(), C.createBlock(m2, { key: 2, column: o2.column, editing: o2.row.$editing, entity: o2.row, "is-show": t3.isShow, label: t3.props.label ? t3.props.label : o2.row[o2.column.prop], "on-click": t3.onClick, "operation-index": i3, "operation-setting": t3.props, "event-name": t3.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))])) : e2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex) ? (C.openBlock(), C.createElementBlock("span", { key: 2, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [(C.openBlock(), C.createBlock(C.resolveDynamicComponent(e2.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": e2.$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 ? (C.openBlock(), C.createElementBlock("span", { key: 3, class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [(C.openBlock(), C.createBlock(C.resolveDynamicComponent(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": e2.$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 ? (C.openBlock(), C.createElementBlock("span", { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createVNode(u2, { entity: o2.row, "field-label": e2.$escapeHtml(e2.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, v)) : e2.isObjectProp(o2.column.prop) ? (C.openBlock(), C.createElementBlock(C.Fragment, { key: 5 }, [o2.column.formatter && "files" === o2.column.formatter.type ? (C.openBlock(), C.createElementBlock("span", S, [C.createElementVNode("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(l2.getLabel(o2.row)) : "", class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, D)])) : "hyperlinks" === ((_k = n2.columnFormatter) == null ? void 0 : _k.type) && true === n2.linkObject.visible ? (C.openBlock(), C.createBlock(g2, { key: 1, type: l2.getLinkType(o2.row), onClick: t2[4] || (t2[4] = (t3) => e2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: C.withCtx(() => [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: n2.linkObject.title, class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createTextVNode(C.toDisplayString(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 14, B)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createTextVNode(C.toDisplayString(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 10, I))]), _: 1 }, 8, ["type"])) : e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 2, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: e2.$escapeHtml(l2.getLabel(o2.row)), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 15, T)) : (C.openBlock(), C.createElementBlock("span", { key: 3, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, F))], 64)) : (C.openBlock(), C.createElementBlock(C.Fragment, { key: 6 }, ["annex" === o2.column.componentType || "multipartUpload" === o2.column.componentType ? (C.openBlock(), C.createElementBlock("span", O, [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.$escapeHtml(l2.getLabel(o2.row)), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { width: n2.cellWidth, entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["width", "entity", "file-set-obj", "is-sql", "label"])], 10, P)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, $))])) : o2.column.formatter && "files" === o2.column.formatter.type ? (C.openBlock(), C.createElementBlock("span", j, [C.createElementVNode("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(l2.getLabel(o2.row)) : "", class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, R)])) : "hyperlinks" === ((_l = n2.columnFormatter) == null ? void 0 : _l.type) && n2.linkObject.visible ? (C.openBlock(), C.createBlock(g2, { key: 2, type: "primary", onClick: t2[5] || (t2[5] = (t3) => e2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: C.withCtx(() => [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: e2.$escapeHtml(n2.linkObject.title), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 14, q)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 10, V))]), _: 1 })) : o2.column.formatter && "richEditor" === o2.column.formatter.type ? (C.openBlock(), C.createBlock(f2, { key: 3, content: e2.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: C.withCtx(() => [C.createElementVNode("em", { class: "fa fa-info-circle annex-cell", onClick: t2[6] || (t2[6] = (e3) => l2.showRichEditorContent(o2.row, o2.column, l2.getHeader())) })]), _: 1 }, 8, ["content"])) : o2.column.formatter && "icon" === o2.column.formatter.type ? (C.openBlock(), C.createBlock(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"])) : e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 5, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: l2.getLabel(o2.row), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span"), innerHTML: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 14, L)) : (C.openBlock(), C.createElementBlock("span", { key: 6, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, N))], 64))], 2)), n2.showSingleImgFlag ? (C.openBlock(), C.createBlock(y2, { key: 2, "file-list": n2.fileList, onClose: t2[7] || (t2[7] = (e3) => n2.showSingleImgFlag = false) }, null, 8, ["file-list"])) : C.createCommentVNode("", true), n2.showRichEditorViewer ? (C.openBlock(), C.createBlock(H2, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l2.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : C.createCommentVNode("", true)]);
|
|
302
|
+
}], ["__scopeId", "data-v-ec223eb7"]]);
|
|
300
303
|
module.exports = H;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const e = require("@element-plus/icons-vue"), t = require("../../utils/gogocodeTransfer.cjs"), o = require("./utils.cjs"), r = require("./dynamic-input.vue.cjs"), i = require("./store.cjs"), l = require("./custom-formatter.cjs"),
|
|
2
|
+
const e = require("@element-plus/icons-vue"), t = require("../../utils/gogocodeTransfer.cjs"), o = require("./utils.cjs"), r = require("./dynamic-input.vue.cjs"), i = require("./store.cjs"), l = require("./custom-formatter.cjs"), n = require("./apis.cjs"), a = require("vuex"), s = require("./view-image-dialog.vue.cjs");
|
|
3
3
|
require("../../fs-preview/index.cjs");
|
|
4
4
|
const u = require("../../rich-editor/viewer.vue.cjs"), d = require("./components/grid-icon.vue.cjs"), c = require("./normal-column-content.vue.cjs"), m = require("./eventBus.cjs"), p = require("vue");
|
|
5
5
|
require("./normal-column.vue2.cjs");
|
|
6
|
-
const h = require("../../_virtual/_plugin-vue_export-helper.cjs"), f = { components: { DynamicInput: r, ViewImageDialog: s, FsPreview: require("../../fs-preview/src/fs-preview.vue.cjs"), RichEditorViewer: u, CirclePlus: e.CirclePlus, ElIconZoomIn: e.ZoomIn, GridIcon: d, NormalColumnContent: c }, 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 },
|
|
6
|
+
const h = require("../../_virtual/_plugin-vue_export-helper.cjs"), f = { components: { DynamicInput: r, ViewImageDialog: s, FsPreview: require("../../fs-preview/src/fs-preview.vue.cjs"), RichEditorViewer: u, CirclePlus: e.CirclePlus, ElIconZoomIn: e.ZoomIn, GridIcon: d, NormalColumnContent: c }, 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() {
|
|
7
7
|
let e2;
|
|
8
8
|
const t2 = i.get(this.listCode), o2 = t2.options;
|
|
9
9
|
t2.options.extraParam && t2.options.extraParam.entityMap && (e2 = t2.options.extraParam.entityMap);
|
|
@@ -14,10 +14,10 @@ const h = require("../../_virtual/_plugin-vue_export-helper.cjs"), f = { compone
|
|
|
14
14
|
const e2 = i.get(this.listCode), t2 = o.getColumnValues(e2.gridData, this.column.prop) || [], r2 = /* @__PURE__ */ new Set(), l2 = [];
|
|
15
15
|
for (const e3 of t2)
|
|
16
16
|
r2.has(e3) || (r2.add(e3), l2.push(e3));
|
|
17
|
-
const
|
|
17
|
+
const n2 = [];
|
|
18
18
|
for (const e3 of l2)
|
|
19
|
-
|
|
20
|
-
return
|
|
19
|
+
n2.push({ text: e3, value: e3 });
|
|
20
|
+
return n2;
|
|
21
21
|
}
|
|
22
22
|
return null;
|
|
23
23
|
}, filterMethod() {
|
|
@@ -33,7 +33,7 @@ const h = require("../../_virtual/_plugin-vue_export-helper.cjs"), f = { compone
|
|
|
33
33
|
e2 = null !== t2.lineEdit && void 0 !== t2.lineEdit && t2.lineEdit;
|
|
34
34
|
}
|
|
35
35
|
return e2;
|
|
36
|
-
}, ...
|
|
36
|
+
}, ...a.mapGetters(["preventReclick"]) }, watch: { isSql: { deep: true, handler(e2, t2) {
|
|
37
37
|
this.isSql = e2;
|
|
38
38
|
} }, newWidth: { deep: true, handler(e2, t2) {
|
|
39
39
|
null != e2 && this.dragColumnProp && this.dragColumnProp === this.column.prop && (this.cellWidth = e2);
|
|
@@ -54,7 +54,7 @@ const h = require("../../_virtual/_plugin-vue_export-helper.cjs"), f = { compone
|
|
|
54
54
|
}
|
|
55
55
|
}, unmounted() {
|
|
56
56
|
m.$off("change-add-state");
|
|
57
|
-
}, methods: { ...l, ...
|
|
57
|
+
}, methods: { ...l, ...n.default, getHeader() {
|
|
58
58
|
return o.getHeaderLable(this.column);
|
|
59
59
|
}, filterHandler: (e2, t2, o2) => t2[o2.property] === e2, refresData(e2) {
|
|
60
60
|
t.$emit(this, "refresData", e2);
|
|
@@ -84,7 +84,7 @@ const h = require("../../_virtual/_plugin-vue_export-helper.cjs"), f = { compone
|
|
|
84
84
|
return this.isFormSubTable && e2 && e2.validateErrorField && e2.validateErrorField === this.column.prop;
|
|
85
85
|
} }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit", "deleteFormSubTableRow"] }, b = ["title", "innerHTML"], g = { style: { "margin-left": "5px" } };
|
|
86
86
|
const C = h(f, [["render", function(e2, t2, o2, r2, i2, l2) {
|
|
87
|
-
const
|
|
88
|
-
return p.openBlock(), p.createBlock(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: p.withCtx(() => [o2.column.customHeader ? (p.openBlock(), p.createBlock(p.resolveDynamicComponent(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
|
|
89
|
-
}], ["__scopeId", "data-v-
|
|
87
|
+
const n2 = p.resolveComponent("CirclePlus"), a2 = p.resolveComponent("el-icon"), s2 = p.resolveComponent("Remove"), u2 = p.resolveComponent("NormalColumnContent"), d2 = p.resolveComponent("el-table-column");
|
|
88
|
+
return p.openBlock(), p.createBlock(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: p.withCtx(() => [o2.column.customHeader ? (p.openBlock(), p.createBlock(p.resolveDynamicComponent(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"])) : (p.openBlock(), p.createElementBlock("span", { key: 0, class: p.normalizeClass([{ is_req: l2.isFieldRequired() }, "normal-column-header"]) }, [p.createElementVNode("span", { title: e2.$escapeHtml(e2.label), class: "cell--span required__label", innerHTML: e2.$escapeHtml(e2.label) }, null, 8, b)], 2)), p.createElementVNode("span", g, [i2.isShowAdd ? (p.openBlock(), p.createBlock(a2, { key: 0, class: "normal-column-header normal-column-header-icon", onClick: l2.createFormSubTableRow }, { default: p.withCtx(() => [p.createVNode(n2)]), _: 1 }, 8, ["onClick"])) : p.createCommentVNode("", true), i2.isShowDelete ? (p.openBlock(), p.createBlock(a2, { key: 1, class: "normal-column-header normal-column-header-icon", onClick: l2.deleteFormSubTableRow }, { default: p.withCtx(() => [p.createVNode(s2)]), _: 1 }, 8, ["onClick"])) : p.createCommentVNode("", true)])]), default: p.withCtx((e3) => [p.createVNode(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.normalizeClass(l2.isValidateError(e3.row, e3.$index) ? "required_bg required-corner" : ""), style: p.normalizeStyle(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"]);
|
|
89
|
+
}], ["__scopeId", "data-v-52cb78d9"]]);
|
|
90
90
|
module.exports = C;
|
|
@@ -1078,6 +1078,6 @@ const E = require("../../_virtual/_plugin-vue_export-helper.cjs"), $ = { compone
|
|
|
1078
1078
|
const N = E($, [["render", function(e2, t2, i2, o2, a2, s2) {
|
|
1079
1079
|
var _a, _b, _c, _d;
|
|
1080
1080
|
const r2 = O.resolveComponent("search-form"), n2 = O.resolveComponent("el-button"), l2 = O.resolveComponent("el-option"), h2 = O.resolveComponent("el-select"), d2 = O.resolveComponent("search-form-dialog"), c2 = O.resolveComponent("MobileCard"), p2 = O.resolveComponent("row-detail"), u2 = O.resolveComponent("el-table"), g2 = O.resolveComponent("el-icon-setting"), m2 = O.resolveComponent("el-icon-refresh"), b2 = O.resolveComponent("el-pagination"), f2 = O.resolveComponent("columns-config"), C2 = O.resolveComponent("header-context-menu"), S2 = O.resolveComponent("row-form"), w2 = O.resolveDirective("resize");
|
|
1081
|
-
return O.withDirectives((O.openBlock(), O.createElementBlock("div", { "data-v": "1.0.0", class: "super-grid-main-view", style: O.normalizeStyle(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 ? O.withDirectives((O.openBlock(), O.createBlock(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"])), [[O.vShow, !a2.isMobile || a2.isMobile && a2.isShowMobileSearch]]) : O.createCommentVNode("", true), O.createElementVNode("div", M, [O.createElementVNode("div", R, [a2.isFormSubTable && a2.isHasSearchColumn && a2.query && ("embedded" === a2.query.showType || "popup" === a2.query.showType) ? (O.openBlock(), O.createBlock(n2, { key: 0, size: "small", onClick: s2.showSubTableSearch }, { default: O.withCtx(() => [O.createTextVNode(O.toDisplayString(e2.$t("imatrixUIMessage.search")), 1)]), _: 1 }, 8, ["onClick"])) : O.createCommentVNode("", true)]), a2.isMobile && a2.orderColumns.length > 0 ? (O.openBlock(), O.createElementBlock("div", G, [O.createVNode(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: O.withCtx(() => [(O.openBlock(true), O.createElementBlock(O.Fragment, null, O.renderList(a2.orderColumns, (e3) => (O.openBlock(), O.createBlock(l2, { key: e3.prop, value: e3.prop, label: s2.getColumnLabel(e3) }, null, 8, ["value", "label"]))), 128))]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"]), O.createVNode(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: O.withCtx(() => [O.createVNode(l2, { value: "ascending", label: e2.$t("superGrid.orderTypeAsc") }, null, 8, ["label"]), O.createVNode(l2, { value: "descending", label: e2.$t("superGrid.orderTypeDesc") }, null, 8, ["label"])]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"])])) : O.createCommentVNode("", true)]), a2.hasLoadedColumns ? (O.openBlock(), O.createBlock(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"])) : O.createCommentVNode("", true), O.createElementVNode("div", { ref: "superGridMain", class: O.normalizeClass(["grid-area " + i2.code, "super-grid-main-body"]) }, [s2.isShowCard ? (O.openBlock(), O.createBlock(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 ? (O.openBlock(), O.createBlock(u2, { key: 1, ref: "superGrid", data: s2.tableDatas, "row-key": s2.getRowKeyProp, "show-summary": s2.showSummary, "summary-method": s2.getSummaries, style: O.normalizeStyle(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: O.normalizeClass([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: O.withCtx(() => [a2.detailColumn ? (O.openBlock(), O.createBlock(p2, { key: 0, column: a2.detailColumn, "list-code": i2.code, onShowDetail: s2.openRowForm }, null, 8, ["column", "list-code", "onShowDetail"])) : O.createCommentVNode("", true), (O.openBlock(true), O.createElementBlock(O.Fragment, null, O.renderList(s2.visibleColumnsComponentData, ({ column: e3, ...t3 }, i3) => (O.openBlock(), O.createBlock(O.resolveDynamicComponent(s2.getComponentType(e3)), O.mergeProps({ ref_for: true, ref: e3.prop, key: e3.label + i3, "grid-ref": s2.getSuperGridRef() }, { ref_for: true }, t3.$bind, O.toHandlers(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"])) : O.createCommentVNode("", true), i2.showPagination && !s2.isShowCard ? (O.openBlock(), O.createElementBlock("div", I, [O.createElementVNode("div", H, [a2.isFormSubTable && a2.pagination && a2.isShowPage ? (O.openBlock(), O.createElementBlock("div", L)) : O.createCommentVNode("", true), a2.basicInfo.customConfig && !a2.isFormSubTable ? (O.openBlock(), O.createElementBlock("div", { key: 1, class: "el-icon-setting", title: e2.$t("superGrid.columnConfig"), onClick: t2[5] || (t2[5] = (...e3) => s2.configColumns && s2.configColumns(...e3)) }, [O.createVNode(g2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, j)) : O.createCommentVNode("", true), a2.isFormSubTable ? O.createCommentVNode("", true) : (O.openBlock(), O.createElementBlock("div", { key: 2, class: "el-icon-refresh", title: e2.$t("superGrid.refresh"), onClick: t2[6] || (t2[6] = (...e3) => s2.refreshGridData && s2.refreshGridData(...e3)) }, [O.createVNode(m2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, q))]), a2.pagination && a2.isShowPage ? (O.openBlock(), O.createBlock(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"])) : O.createCommentVNode("", true)])) : O.createCommentVNode("", true)], 2), a2.showColumnConfig ? (O.openBlock(), O.createBlock(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"])) : O.createCommentVNode("", true), a2.showHeaderContextmenu ? (O.openBlock(), O.createBlock(C2, { key: 3, ref: "headerMenu", "buttom-arr": i2.options.rightClickMenuArr, column: a2.rightClickColumn, onClearHeaderContextmenu: s2.clearHeaderContextmenu }, null, 8, ["buttom-arr", "column", "onClearHeaderContextmenu"])) : O.createCommentVNode("", true), a2.showRowForm ? (O.openBlock(), O.createBlock(S2, { 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"])) : O.createCommentVNode("", true)], 4)), [[w2, s2.onResize]]);
|
|
1082
|
-
}], ["__scopeId", "data-v-
|
|
1081
|
+
return O.withDirectives((O.openBlock(), O.createElementBlock("div", { "data-v": "1.0.0", class: "super-grid-main-view", style: O.normalizeStyle(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 ? O.withDirectives((O.openBlock(), O.createBlock(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"])), [[O.vShow, !a2.isMobile || a2.isMobile && a2.isShowMobileSearch]]) : O.createCommentVNode("", true), O.createElementVNode("div", M, [O.createElementVNode("div", R, [a2.isFormSubTable && a2.isHasSearchColumn && a2.query && ("embedded" === a2.query.showType || "popup" === a2.query.showType) ? (O.openBlock(), O.createBlock(n2, { key: 0, size: "small", onClick: s2.showSubTableSearch }, { default: O.withCtx(() => [O.createTextVNode(O.toDisplayString(e2.$t("imatrixUIMessage.search")), 1)]), _: 1 }, 8, ["onClick"])) : O.createCommentVNode("", true)]), a2.isMobile && a2.orderColumns.length > 0 ? (O.openBlock(), O.createElementBlock("div", G, [O.createVNode(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: O.withCtx(() => [(O.openBlock(true), O.createElementBlock(O.Fragment, null, O.renderList(a2.orderColumns, (e3) => (O.openBlock(), O.createBlock(l2, { key: e3.prop, value: e3.prop, label: s2.getColumnLabel(e3) }, null, 8, ["value", "label"]))), 128))]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"]), O.createVNode(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: O.withCtx(() => [O.createVNode(l2, { value: "ascending", label: e2.$t("superGrid.orderTypeAsc") }, null, 8, ["label"]), O.createVNode(l2, { value: "descending", label: e2.$t("superGrid.orderTypeDesc") }, null, 8, ["label"])]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"])])) : O.createCommentVNode("", true)]), a2.hasLoadedColumns ? (O.openBlock(), O.createBlock(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"])) : O.createCommentVNode("", true), O.createElementVNode("div", { ref: "superGridMain", class: O.normalizeClass(["grid-area " + i2.code, "super-grid-main-body"]) }, [s2.isShowCard ? (O.openBlock(), O.createBlock(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 ? (O.openBlock(), O.createBlock(u2, { key: 1, ref: "superGrid", data: s2.tableDatas, "row-key": s2.getRowKeyProp, "show-summary": s2.showSummary, "summary-method": s2.getSummaries, style: O.normalizeStyle(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: O.normalizeClass([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: O.withCtx(() => [a2.detailColumn ? (O.openBlock(), O.createBlock(p2, { key: 0, column: a2.detailColumn, "list-code": i2.code, onShowDetail: s2.openRowForm }, null, 8, ["column", "list-code", "onShowDetail"])) : O.createCommentVNode("", true), (O.openBlock(true), O.createElementBlock(O.Fragment, null, O.renderList(s2.visibleColumnsComponentData, ({ column: e3, ...t3 }, i3) => (O.openBlock(), O.createBlock(O.resolveDynamicComponent(s2.getComponentType(e3)), O.mergeProps({ ref_for: true, ref: e3.prop, key: e3.label + i3, "get-super-grid-ref": s2.getSuperGridRef }, { ref_for: true }, t3.$bind, O.toHandlers(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"])) : O.createCommentVNode("", true), i2.showPagination && !s2.isShowCard ? (O.openBlock(), O.createElementBlock("div", I, [O.createElementVNode("div", H, [a2.isFormSubTable && a2.pagination && a2.isShowPage ? (O.openBlock(), O.createElementBlock("div", L)) : O.createCommentVNode("", true), a2.basicInfo.customConfig && !a2.isFormSubTable ? (O.openBlock(), O.createElementBlock("div", { key: 1, class: "el-icon-setting", title: e2.$t("superGrid.columnConfig"), onClick: t2[5] || (t2[5] = (...e3) => s2.configColumns && s2.configColumns(...e3)) }, [O.createVNode(g2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, j)) : O.createCommentVNode("", true), a2.isFormSubTable ? O.createCommentVNode("", true) : (O.openBlock(), O.createElementBlock("div", { key: 2, class: "el-icon-refresh", title: e2.$t("superGrid.refresh"), onClick: t2[6] || (t2[6] = (...e3) => s2.refreshGridData && s2.refreshGridData(...e3)) }, [O.createVNode(m2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, q))]), a2.pagination && a2.isShowPage ? (O.openBlock(), O.createBlock(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"])) : O.createCommentVNode("", true)])) : O.createCommentVNode("", true)], 2), a2.showColumnConfig ? (O.openBlock(), O.createBlock(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"])) : O.createCommentVNode("", true), a2.showHeaderContextmenu ? (O.openBlock(), O.createBlock(C2, { key: 3, ref: "headerMenu", "buttom-arr": i2.options.rightClickMenuArr, column: a2.rightClickColumn, onClearHeaderContextmenu: s2.clearHeaderContextmenu }, null, 8, ["buttom-arr", "column", "onClearHeaderContextmenu"])) : O.createCommentVNode("", true), a2.showRowForm ? (O.openBlock(), O.createBlock(S2, { 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"])) : O.createCommentVNode("", true)], 4)), [[w2, s2.onResize]]);
|
|
1082
|
+
}], ["__scopeId", "data-v-7e63a75f"]]);
|
|
1083
1083
|
module.exports = N;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agilebuilder-ui",
|
|
3
|
-
"version": "1.1.65-
|
|
3
|
+
"version": "1.1.65-tmp30",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./lib/index.cjs",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"tinymce": "5.8.2",
|
|
35
35
|
"uuid": "^9.0.1",
|
|
36
36
|
"vue-echarts": "^6.6.9",
|
|
37
|
-
"vue-element-plus-x": "1.3.
|
|
37
|
+
"vue-element-plus-x": "1.3.98"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@element-plus/icons-vue": "^2.1.0",
|