agilebuilder-ui 1.1.65-tmp28 → 1.1.65-tmp29
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 +14 -12
- package/dist/style.css +43 -43
- package/es/style.css +593 -593
- package/es/super-grid/src/apis.mjs +8 -6
- package/es/super-grid/src/custom-formatter.mjs +1 -1
- package/es/super-grid/src/dynamic-input.vue.mjs +5 -5
- package/es/super-grid/src/group-column.vue.mjs +5 -5
- package/es/super-grid/src/normal-column-content.vue.mjs +20 -20
- package/es/super-grid/src/normal-column.vue.mjs +21 -21
- package/es/super-grid/src/super-grid.vue.mjs +2 -2
- package/lib/style.css +595 -595
- package/lib/super-grid/src/apis.cjs +2 -0
- package/lib/super-grid/src/custom-formatter.cjs +1 -1
- package/lib/super-grid/src/dynamic-input.vue.cjs +2 -2
- package/lib/super-grid/src/group-column.vue.cjs +5 -5
- package/lib/super-grid/src/normal-column-content.vue.cjs +4 -4
- package/lib/super-grid/src/normal-column.vue.cjs +5 -5
- package/lib/super-grid/src/super-grid.vue.cjs +2 -2
- package/package.json +1 -1
package/dist/index.full.min.js
CHANGED
|
@@ -4654,6 +4654,8 @@
|
|
|
4654
4654
|
}, wfSubTableDeleteRowConditionParse: (e2, t2, o) => {
|
|
4655
4655
|
var _a;
|
|
4656
4656
|
return false !== parseSubTableActionCondition(e2, t2, o, (_a = e2.options.actionPermission) == null ? void 0 : _a.deleteCondition) || (window.$vueApp.config.globalProperties.$message({ showClose: true, message: getI18n().t("superGrid.rowCanntDeleteTip"), type: "warning" }), false);
|
|
4657
|
+
}, getSelections() {
|
|
4658
|
+
this.$refs && this.$refs.superGrid && this.$refs.superGrid.getSelectionRows();
|
|
4657
4659
|
} }, apisMixin = { data: () => ({ toolbarFieldParam: null, showSearch: false, isMobile: 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: { ...apis$2 } }, _sfc_main$26 = { components: { ElIconDelete: ElementPlusIconsVue.Delete }, name: "ViewImageDialog", props: { fileList: { type: Array, default: function() {
|
|
4658
4660
|
return [];
|
|
4659
4661
|
} }, downloadable: { type: Boolean, default: function() {
|
|
@@ -4811,7 +4813,7 @@
|
|
|
4811
4813
|
let i2 = e2[t2];
|
|
4812
4814
|
this.isObjectProp(t2) && (i2 = this.objectPropOriginalValue(e2, t2));
|
|
4813
4815
|
const a = doFormat$1(this.column, i2), l = o.call(this, i2, a, e2, this.column, n);
|
|
4814
|
-
return void 0 !== l &&
|
|
4816
|
+
return void 0 !== l && l;
|
|
4815
4817
|
}
|
|
4816
4818
|
return false;
|
|
4817
4819
|
}, isObjectProp: (e2) => !!(e2 && e2.indexOf(".") > 0), objectPropOriginalValue(e2, t2) {
|
|
@@ -5121,7 +5123,7 @@
|
|
|
5121
5123
|
var l2;
|
|
5122
5124
|
}), default: Vue.withCtx(() => [Vue.createElementVNode("span", _hoisted_1$1z, [Vue.createVNode(d2, { id: s }, { default: Vue.withCtx(() => [Vue.createVNode(r2)]), _: 1 })])]), _: 1 }))]);
|
|
5123
5125
|
};
|
|
5124
|
-
} }), _sfc_main$23 = { name: "DynamicInput", components: { dynamicSourceSelect: DynamicSourceSelect, ViewImageDialog, GridRadioInput: _sfc_main$25, SelectInput: _sfc_main$24 }, 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() {
|
|
5126
|
+
} }), _sfc_main$23 = { name: "DynamicInput", components: { dynamicSourceSelect: DynamicSourceSelect, ViewImageDialog, GridRadioInput: _sfc_main$25, SelectInput: _sfc_main$24 }, props: { value: { type: [String, Boolean, Number, Date, Array], default: null }, type: { type: String, default: "input" }, position: { type: Object, default: null }, lineEdit: { type: Object, default: null }, options: { type: Array, default: null }, column: { type: Object, default: null }, row: { type: Object, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, listToolbarFormData: { type: Object, default: null }, rowIndex: { type: Number, default: -1 }, disabled: { type: Boolean, default: false }, gridOptions: { type: Object, default: null }, gridRef: { type: Object, default: null } }, data() {
|
|
5125
5127
|
let e2 = this.value;
|
|
5126
5128
|
this.type && "select" === this.type && "TEXT" !== this.column.dataType && (e2 = this.value && null !== this.value && "string" != typeof this.value ? this.value + "" : this.value, $emit(this, "update:value", e2));
|
|
5127
5129
|
const t2 = this.getDefaultValue(e2);
|
|
@@ -5581,7 +5583,7 @@
|
|
|
5581
5583
|
function _sfc_render$1j(e2, t2, o, n, i2, a) {
|
|
5582
5584
|
var _a;
|
|
5583
5585
|
const l = Vue.resolveComponent("el-date-picker"), s = Vue.resolveComponent("el-time-picker"), r = Vue.resolveComponent("el-input"), u = Vue.resolveComponent("SuperIcon"), c = Vue.resolveComponent("fs-upload-list"), d = Vue.resolveComponent("multipart-upload"), p = Vue.resolveComponent("GridRadioInput"), m = Vue.resolveComponent("SelectInput"), h2 = Vue.resolveComponent("el-input-number"), g = Vue.resolveComponent("el-switch"), f = Vue.resolveComponent("el-slider"), A = Vue.resolveComponent("el-rate"), y = Vue.resolveComponent("organization-input"), w = Vue.resolveComponent("el-button"), C = Vue.resolveComponent("el-upload"), V = Vue.resolveComponent("el-dialog"), v = Vue.resolveComponent("view-image-dialog"), b = Vue.resolveComponent("scan-code-input-browser");
|
|
5584
|
-
return o.type && o.type.indexOf("custom:") >= 0 && "" != i2.componentName ? (Vue.openBlock(), Vue.createElementBlock("div", { key: 0, class: Vue.normalizeClass(!this.isFormSubTable && o.row.validateErrorField && o.row.validateErrorField === o.column.prop ? "required_bg" : "") }, [(Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(i2.componentName), { ref: "customItem", disabled: o.disabled, entity: o.row, "grid-data": i2.gridData, "page-grid-data": i2.pageGridData, "additional-settings": i2.controlConfig, parent: i2.parentFormData, prop: o.column.prop, "custom-params": i2.myCustomParams, row: o.row, "row-index": o.position ? o.position.row : null, "select-options": o.options, value: i2.innerValue, "additional-param-map": i2.additionalParamMap, listCode: o.listCode, "component-id": i2.componentId, "page-context": i2.pageContext, onChange: t2[0] || (t2[0] = (e3) => a.cellEvent("change", e3)), onInput: t2[1] || (t2[1] = (e3) => a.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)) : (Vue.openBlock(), Vue.createElementBlock("div", { key: 1, class: Vue.normalizeClass(!this.isFormSubTable && o.row.validateErrorField && o.row.validateErrorField === o.column.prop ? "required_bg" : "") }, ["year" === o.type || "month" === o.type || "week" === o.type ? (Vue.openBlock(), Vue.createBlock(l, { key: 0, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.innerValue = e3), disabled: o.disabled, editable: false, format: a.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), type: o.type, "value-format": a.isValueFormat(), style: { width: "100%" }, onBlur: t2[3] || (t2[3] = (e3) => a.cellEvent("blur", e3)), onChange: t2[4] || (t2[4] = (e3) => a.cellEvent("change", e3)), onFocus: t2[5] || (t2[5] = (e3) => a.cellEvent("focus", e3)), onInput: t2[6] || (t2[6] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : "yearRange" === o.type ? (Vue.openBlock(), Vue.createBlock(l, { key: 1, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.innerValue = e3), disabled: o.disabled, editable: false, placeholder: e2.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: t2[8] || (t2[8] = (e3) => a.cellEvent("blur", e3)), onChange: t2[9] || (t2[9] = (e3) => a.cellEvent("change", e3)), onFocus: t2[10] || (t2[10] = (e3) => a.cellEvent("focus", e3)), onInput: t2[11] || (t2[11] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : "dateTimePicker" === o.type ? (Vue.openBlock(), Vue.createBlock(l, { key: 2, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => i2.innerValue = e3), disabled: o.disabled, editable: false, format: a.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": a.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[13] || (t2[13] = (e3) => a.cellEvent("blur", e3)), onChange: t2[14] || (t2[14] = (e3) => a.cellEvent("change", e3)), onFocus: t2[15] || (t2[15] = (e3) => a.cellEvent("focus", e3)), onInput: t2[16] || (t2[16] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "date" === o.type ? (Vue.openBlock(), Vue.createBlock(l, { key: 3, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => i2.innerValue = e3), disabled: o.disabled, editable: false, format: a.isFormat(), "picker-options": i2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": a.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[18] || (t2[18] = (e3) => a.cellEvent("blur", e3)), onChange: t2[19] || (t2[19] = (e3) => a.cellEvent("change", e3)), onFocus: t2[20] || (t2[20] = (e3) => a.cellEvent("focus", e3)), onInput: t2[21] || (t2[21] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "timePicker" === o.type || "input" === o.type && "TIME" === o.column.dataType ? (Vue.openBlock(), Vue.createBlock(s, { key: 4, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => i2.innerValue = e3), disabled: o.disabled, format: a.isFormat(), placeholder: e2.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": a.isValueFormat(), style: { width: "100%" }, onBlur: t2[23] || (t2[23] = (e3) => a.cellEvent("blur", e3)), onChange: t2[24] || (t2[24] = (e3) => a.cellEvent("change", e3)), onFocus: t2[25] || (t2[25] = (e3) => a.cellEvent("focus", e3)), onInput: t2[26] || (t2[26] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "time" === o.type ? (Vue.openBlock(), Vue.createBlock(l, { key: 5, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => i2.innerValue = e3), disabled: o.disabled, editable: false, format: a.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": a.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[28] || (t2[28] = (e3) => a.cellEvent("blur", e3)), onChange: t2[29] || (t2[29] = (e3) => a.cellEvent("change", e3)), onFocus: t2[30] || (t2[30] = (e3) => a.cellEvent("focus", e3)), onInput: t2[31] || (t2[31] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "DATE" === o.column.dataType ? (Vue.openBlock(), Vue.createBlock(l, { key: 6, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => i2.innerValue = e3), disabled: o.disabled, editable: false, format: a.isFormat(), "picker-options": i2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": a.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[33] || (t2[33] = (e3) => a.cellEvent("blur", e3)), onChange: t2[34] || (t2[34] = (e3) => a.cellEvent("change", e3)), onFocus: t2[35] || (t2[35] = (e3) => a.cellEvent("focus", e3)), onInput: t2[36] || (t2[36] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "input" !== o.type || "INTEGER" !== o.column.dataType && "LONG" !== o.column.dataType ? "input" === o.type ? (Vue.openBlock(), Vue.createBlock(r, { key: 8, ref: "item", disabled: o.disabled, maxlength: i2.controlConfig && i2.controlConfig.maxlength ? i2.controlConfig.maxlength : "", minlength: i2.controlConfig && i2.controlConfig.minlength ? i2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: i2.innerValue, clearable: "", modelValue: i2.innerValue, "onUpdate:modelValue": t2[48] || (t2[48] = (e3) => i2.innerValue = e3), onBlur: t2[49] || (t2[49] = (e3) => a.cellEvent("blur", e3)), onChange: t2[50] || (t2[50] = (e3) => a.cellEvent("change", e3)), onClear: t2[51] || (t2[51] = (e3) => a.cellEvent("clear", e3)), onFocus: t2[52] || (t2[52] = (e3) => a.cellEvent("focus", e3)), onInput: t2[53] || (t2[53] = (e3) => a.cellEvent("input", e3, true)) }, Vue.createSlots({ _: 2 }, ["outer" != i2.designProperty.iconPosition && (i2.designProperty.preIconType && i2.designProperty.preIconValue || i2.designProperty.preText) ? { name: "prefix", fn: Vue.withCtx(() => [i2.designProperty.preIconType && i2.designProperty.preIconValue ? (Vue.openBlock(), Vue.createBlock(u, { key: 0, iconType: i2.designProperty.preIconType, iconValue: i2.designProperty.preIconValue, onClick: t2[43] || (t2[43] = (e3) => a.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true), i2.designProperty.preText ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_1$1y, Vue.toDisplayString(e2.$t(i2.designProperty.preText)), 1)) : Vue.createCommentVNode("", true)]), key: "0" } : void 0, "outer" == i2.designProperty.iconPosition && (i2.designProperty.preIconType && i2.designProperty.preIconValue || i2.designProperty.preText) ? { name: "prepend", fn: Vue.withCtx(() => [i2.designProperty.preIconType && i2.designProperty.preIconValue ? (Vue.openBlock(), Vue.createBlock(u, { key: 0, iconType: i2.designProperty.preIconType, iconValue: i2.designProperty.preIconValue, onClick: t2[44] || (t2[44] = (e3) => a.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true), i2.designProperty.preText ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_2$11, Vue.toDisplayString(e2.$t(i2.designProperty.preText)), 1)) : Vue.createCommentVNode("", true)]), key: "1" } : void 0, "outer" != i2.designProperty.iconPosition && (i2.designProperty.sufIconType && i2.designProperty.sufIconValue || i2.designProperty.sufText) ? { name: "suffix", fn: Vue.withCtx(() => [i2.designProperty.sufIconType && i2.designProperty.sufIconValue ? (Vue.openBlock(), Vue.createBlock(u, { key: 0, iconType: i2.designProperty.sufIconType, iconValue: i2.designProperty.sufIconValue, onClick: t2[45] || (t2[45] = (e3) => a.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true), i2.designProperty.sufText ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_3$K, Vue.toDisplayString(e2.$t(i2.designProperty.sufText)), 1)) : Vue.createCommentVNode("", true)]), key: "2" } : void 0, i2.isShowScanIcon || "outer" == i2.designProperty.iconPosition && (i2.designProperty.sufIconType && i2.designProperty.sufIconValue || i2.designProperty.sufText) ? { name: "append", fn: Vue.withCtx(() => [i2.isShowScanIcon ? (Vue.openBlock(), Vue.createBlock(u, { key: 0, iconValue: "fa-barcode", onClick: t2[46] || (t2[46] = (e3) => a.scanClick()) })) : Vue.createCommentVNode("", true), i2.designProperty.sufIconType && i2.designProperty.sufIconValue ? (Vue.openBlock(), Vue.createBlock(u, { key: 1, iconType: i2.designProperty.sufIconType, iconValue: i2.designProperty.sufIconValue, onClick: t2[47] || (t2[47] = (e3) => a.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true), i2.designProperty.sufText ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_4$x, Vue.toDisplayString(e2.$t(i2.designProperty.sufText)), 1)) : Vue.createCommentVNode("", true)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : "textarea" === o.type ? (Vue.openBlock(), Vue.createBlock(r, { key: 9, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[54] || (t2[54] = (e3) => i2.innerValue = e3), disabled: o.disabled, maxlength: i2.controlConfig && i2.controlConfig.maxlength ? i2.controlConfig.maxlength : "", minlength: i2.controlConfig && i2.controlConfig.minlength ? i2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), rows: i2.designProperty.rows ? i2.designProperty.rows : 2, title: i2.innerValue, clearable: "", type: "textarea", onBlur: t2[55] || (t2[55] = (e3) => a.cellEvent("blur", e3)), onChange: t2[56] || (t2[56] = (e3) => a.cellEvent("change", e3)), onClear: t2[57] || (t2[57] = (e3) => a.cellEvent("clear", e3)), onFocus: t2[58] || (t2[58] = (e3) => a.cellEvent("focus", e3)), onInput: t2[59] || (t2[59] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "rows", "title"])) : "annex" === o.type ? (Vue.openBlock(), Vue.createBlock(c, { key: 10, ref: "fileUploadRef", "custom-view-url": true, disabled: o.disabled, "file-info": i2.fileInfo, "file-list": i2.fileList, "file-set-obj": i2.fileSetObj, "is-sql": o.isSql, row: o.row, value: i2.innerValue, "page-context": i2.pageContext, "list-code": o.listCode, componentId: i2.componentId, onDelete: a.deleteFile, onDeleteSuccess: a.deleteSuccess, onUploadSuccess: a.uploadOnSuccess, onOnError: a.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" === o.type ? (Vue.openBlock(), Vue.createBlock(d, { key: 11, disabled: o.disabled, entity: o.row, "file-info": i2.fileInfo, "file-list": i2.fileList, "file-set-obj": i2.fileSetObj, value: i2.innerValue, type: "list", onDelete: a.deleteFile, onDeleteSuccess: a.deleteSuccess, onUploadSuccess: a.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : "radio" === o.type ? (Vue.openBlock(), Vue.createBlock(p, { key: 12, modelValue: i2.innerValue, "onUpdate:modelValue": [t2[60] || (t2[60] = (e3) => i2.innerValue = e3), t2[61] || (t2[61] = (e3) => i2.innerValue = e3)], disabled: o.disabled, options: o.options, "value-set-options": i2.valueSetOptions, prop: o.column.prop, entity: o.row, onCellEvent: a.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : "multiselect" === o.type || "select" === o.type ? (Vue.openBlock(), Vue.createBlock(m, { key: 13, modelValue: i2.innerValue, "onUpdate:modelValue": [t2[62] || (t2[62] = (e3) => i2.innerValue = e3), t2[63] || (t2[63] = (e3) => i2.innerValue = e3)], disabled: o.disabled, options: o.options, "value-set-options": i2.valueSetOptions, prop: o.column.prop, entity: o.row, column: o.column, type: o.type, controlConfig: i2.controlConfig, listCode: o.listCode, listToolbarFormData: o.listToolbarFormData, dynamicDataSourceCode: i2.dynamicDataSourceCode, additionalParamMap: i2.additionalParamMap, isSql: o.isSql, parentFormData: i2.parentFormData, tableName: i2.tableName, onCellEvent: a.cellEvent, onExtendParams: a.setExtendParams, onSetCellValue: a.setCellValue, onSetCellValueWithProp: a.setCellValueWithProp, onCallCustomEventWithParam: a.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" === o.type ? (Vue.openBlock(), Vue.createBlock(h2, { key: 14, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[64] || (t2[64] = (e3) => i2.innerValue = e3), "controls-position": i2.inputNumberSet.position, disabled: o.disabled, max: 0 == i2.inputNumberSet.max ? 0 : i2.inputNumberSet.max ? i2.inputNumberSet.max : 1 / 0, min: 0 == i2.inputNumberSet.min ? 0 : i2.inputNumberSet.min ? i2.inputNumberSet.min : -1 / 0, precision: i2.inputNumberSet.precision, step: i2.inputNumberSet.step ? i2.inputNumberSet.step : 1, onBlur: t2[65] || (t2[65] = (e3) => a.cellEvent("blur", e3)), onChange: t2[66] || (t2[66] = (e3) => a.cellEvent("change", e3)), onFocus: t2[67] || (t2[67] = (e3) => a.cellEvent("focus", e3)), onInput: t2[68] || (t2[68] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : "switch" === o.type || "BOOLEAN" === o.column.dataType ? (Vue.openBlock(), Vue.createBlock(g, { key: 15, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[69] || (t2[69] = (e3) => i2.innerValue = e3), "active-text": a.getSwitchConfig("activeText"), "active-value": a.getSwitchConfig("activeValue"), disabled: o.disabled, "inactive-text": a.getSwitchConfig("inactiveText"), "inactive-value": a.getSwitchConfig("inactiveValue"), onChange: t2[70] || (t2[70] = (e3) => a.cellEvent("change", e3)), onInput: t2[71] || (t2[71] = (e3) => a.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : "slider" === o.type ? (Vue.openBlock(), Vue.createBlock(f, { key: 16, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[72] || (t2[72] = (e3) => i2.innerValue = e3), disabled: o.disabled, onChange: t2[73] || (t2[73] = (e3) => a.cellEvent("change", e3)), onInput: t2[74] || (t2[74] = (e3) => a.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : "rate" === o.type ? (Vue.openBlock(), Vue.createBlock(A, { key: 17, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[75] || (t2[75] = (e3) => i2.innerValue = e3), disabled: o.disabled, onChange: t2[76] || (t2[76] = (e3) => a.cellEvent("change", e3)), onInput: t2[77] || (t2[77] = (e3) => a.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : i2.deptManTree || i2.deptTree || i2.wgManTree || i2.wgTree ? (Vue.openBlock(), Vue.createBlock(y, { key: 18, "check-strictly": i2.isCheckStrictly, "department-info": i2.departmentInfo, disabled: o.disabled, "limit-filter-column": (_a = i2.controlConfig) == null ? void 0 : _a.limitFilterColumn, fields: i2.fields, "is-join-table": e2.isJoinTable, models: o.row, multiple: i2.isMultiTree, "table-name": i2.tableName, "tree-type": i2.deptManTree ? "DeptUserTree" : i2.deptTree ? "DeptTree" : i2.wgManTree ? "WgUserTree" : i2.wgTree ? "WgTree" : null, value: i2.innerValue, onAppend: a.appendOrganizationInputEvent, onClear: a.clearOrganizationInputEvent, onFocus: a.showOrganizationTree, onReplace: a.replaceOrganizationInputEvent, onSetValue: a.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"])) : Vue.createCommentVNode("", true) : (Vue.openBlock(), Vue.createBlock(r, { key: 7, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[37] || (t2[37] = (e3) => i2.innerValue = e3), modelModifiers: { number: true }, disabled: o.disabled, placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: i2.innerValue, type: "INTEGER" === o.column.dataType || "LONG" === o.column.dataType ? "number" : "text", clearable: "", onBlur: t2[38] || (t2[38] = (e3) => a.cellEvent("blur", e3)), onChange: t2[39] || (t2[39] = (e3) => a.cellEvent("change", e3)), onClear: t2[40] || (t2[40] = (e3) => a.cellEvent("clear", e3)), onFocus: t2[41] || (t2[41] = (e3) => a.cellEvent("focus", e3)), onInput: t2[42] || (t2[42] = (e3) => a.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), Vue.createVNode(V, { "append-to-body": true, "show-close": true, title: e2.$t("imatrixUIMessage.tips"), visible: i2.annexUploadFlag, width: "30%" }, { default: Vue.withCtx(() => ["annex" === o.type && i2.annexUploadFlag ? (Vue.openBlock(), Vue.createBlock(C, { key: 0, accept: i2.fileSetObj && i2.fileSetObj.accept ? i2.fileSetObj.accept : null, action: i2.defaultAction, "before-upload": a.handleBeforeUpload, headers: i2.headers, "on-success": a.uploadOnSuccess, "with-credentials": true, name: "file" }, { default: Vue.withCtx(() => [Vue.createVNode(w, null, { default: Vue.withCtx(() => [Vue.createTextVNode(Vue.toDisplayString(e2.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : Vue.createCommentVNode("", true)]), _: 1 }, 8, ["title", "visible"]), i2.showSingleImgFlag ? (Vue.openBlock(), Vue.createBlock(v, { key: 19, deleteable: !o.disabled, downloadable: !o.disabled, "file-list": i2.fileList, onClose: t2[78] || (t2[78] = (e3) => i2.showSingleImgFlag = false), onDelete: a.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : Vue.createCommentVNode("", true), i2.isShowBrowserScan ? (Vue.openBlock(), Vue.createBlock(b, { key: 20, onClose: a.closeBrowserScan }, null, 8, ["onClose"])) : Vue.createCommentVNode("", true)], 2));
|
|
5586
|
+
return o.type && o.type.indexOf("custom:") >= 0 && "" != i2.componentName ? (Vue.openBlock(), Vue.createElementBlock("div", { key: 0, class: Vue.normalizeClass(!this.isFormSubTable && o.row.validateErrorField && o.row.validateErrorField === o.column.prop ? "required_bg" : "") }, [(Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(i2.componentName), { ref: "customItem", disabled: o.disabled, entity: o.row, "grid-data": i2.gridData, "page-grid-data": i2.pageGridData, "additional-settings": i2.controlConfig, parent: i2.parentFormData, prop: o.column.prop, "custom-params": i2.myCustomParams, row: o.row, "row-index": o.position ? o.position.row : null, "select-options": o.options, value: i2.innerValue, "additional-param-map": i2.additionalParamMap, listCode: o.listCode, "component-id": i2.componentId, "page-context": i2.pageContext, "grid-ref": o.gridRef, onChange: t2[0] || (t2[0] = (e3) => a.cellEvent("change", e3)), onInput: t2[1] || (t2[1] = (e3) => a.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)) : (Vue.openBlock(), Vue.createElementBlock("div", { key: 1, class: Vue.normalizeClass(!this.isFormSubTable && o.row.validateErrorField && o.row.validateErrorField === o.column.prop ? "required_bg" : "") }, ["year" === o.type || "month" === o.type || "week" === o.type ? (Vue.openBlock(), Vue.createBlock(l, { key: 0, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.innerValue = e3), disabled: o.disabled, editable: false, format: a.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), type: o.type, "value-format": a.isValueFormat(), style: { width: "100%" }, onBlur: t2[3] || (t2[3] = (e3) => a.cellEvent("blur", e3)), onChange: t2[4] || (t2[4] = (e3) => a.cellEvent("change", e3)), onFocus: t2[5] || (t2[5] = (e3) => a.cellEvent("focus", e3)), onInput: t2[6] || (t2[6] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : "yearRange" === o.type ? (Vue.openBlock(), Vue.createBlock(l, { key: 1, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.innerValue = e3), disabled: o.disabled, editable: false, placeholder: e2.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: t2[8] || (t2[8] = (e3) => a.cellEvent("blur", e3)), onChange: t2[9] || (t2[9] = (e3) => a.cellEvent("change", e3)), onFocus: t2[10] || (t2[10] = (e3) => a.cellEvent("focus", e3)), onInput: t2[11] || (t2[11] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : "dateTimePicker" === o.type ? (Vue.openBlock(), Vue.createBlock(l, { key: 2, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => i2.innerValue = e3), disabled: o.disabled, editable: false, format: a.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": a.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[13] || (t2[13] = (e3) => a.cellEvent("blur", e3)), onChange: t2[14] || (t2[14] = (e3) => a.cellEvent("change", e3)), onFocus: t2[15] || (t2[15] = (e3) => a.cellEvent("focus", e3)), onInput: t2[16] || (t2[16] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "date" === o.type ? (Vue.openBlock(), Vue.createBlock(l, { key: 3, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => i2.innerValue = e3), disabled: o.disabled, editable: false, format: a.isFormat(), "picker-options": i2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": a.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[18] || (t2[18] = (e3) => a.cellEvent("blur", e3)), onChange: t2[19] || (t2[19] = (e3) => a.cellEvent("change", e3)), onFocus: t2[20] || (t2[20] = (e3) => a.cellEvent("focus", e3)), onInput: t2[21] || (t2[21] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "timePicker" === o.type || "input" === o.type && "TIME" === o.column.dataType ? (Vue.openBlock(), Vue.createBlock(s, { key: 4, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => i2.innerValue = e3), disabled: o.disabled, format: a.isFormat(), placeholder: e2.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": a.isValueFormat(), style: { width: "100%" }, onBlur: t2[23] || (t2[23] = (e3) => a.cellEvent("blur", e3)), onChange: t2[24] || (t2[24] = (e3) => a.cellEvent("change", e3)), onFocus: t2[25] || (t2[25] = (e3) => a.cellEvent("focus", e3)), onInput: t2[26] || (t2[26] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "time" === o.type ? (Vue.openBlock(), Vue.createBlock(l, { key: 5, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => i2.innerValue = e3), disabled: o.disabled, editable: false, format: a.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": a.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[28] || (t2[28] = (e3) => a.cellEvent("blur", e3)), onChange: t2[29] || (t2[29] = (e3) => a.cellEvent("change", e3)), onFocus: t2[30] || (t2[30] = (e3) => a.cellEvent("focus", e3)), onInput: t2[31] || (t2[31] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "DATE" === o.column.dataType ? (Vue.openBlock(), Vue.createBlock(l, { key: 6, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => i2.innerValue = e3), disabled: o.disabled, editable: false, format: a.isFormat(), "picker-options": i2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": a.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[33] || (t2[33] = (e3) => a.cellEvent("blur", e3)), onChange: t2[34] || (t2[34] = (e3) => a.cellEvent("change", e3)), onFocus: t2[35] || (t2[35] = (e3) => a.cellEvent("focus", e3)), onInput: t2[36] || (t2[36] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "input" !== o.type || "INTEGER" !== o.column.dataType && "LONG" !== o.column.dataType ? "input" === o.type ? (Vue.openBlock(), Vue.createBlock(r, { key: 8, ref: "item", disabled: o.disabled, maxlength: i2.controlConfig && i2.controlConfig.maxlength ? i2.controlConfig.maxlength : "", minlength: i2.controlConfig && i2.controlConfig.minlength ? i2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: i2.innerValue, clearable: "", modelValue: i2.innerValue, "onUpdate:modelValue": t2[48] || (t2[48] = (e3) => i2.innerValue = e3), onBlur: t2[49] || (t2[49] = (e3) => a.cellEvent("blur", e3)), onChange: t2[50] || (t2[50] = (e3) => a.cellEvent("change", e3)), onClear: t2[51] || (t2[51] = (e3) => a.cellEvent("clear", e3)), onFocus: t2[52] || (t2[52] = (e3) => a.cellEvent("focus", e3)), onInput: t2[53] || (t2[53] = (e3) => a.cellEvent("input", e3, true)) }, Vue.createSlots({ _: 2 }, ["outer" != i2.designProperty.iconPosition && (i2.designProperty.preIconType && i2.designProperty.preIconValue || i2.designProperty.preText) ? { name: "prefix", fn: Vue.withCtx(() => [i2.designProperty.preIconType && i2.designProperty.preIconValue ? (Vue.openBlock(), Vue.createBlock(u, { key: 0, iconType: i2.designProperty.preIconType, iconValue: i2.designProperty.preIconValue, onClick: t2[43] || (t2[43] = (e3) => a.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true), i2.designProperty.preText ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_1$1y, Vue.toDisplayString(e2.$t(i2.designProperty.preText)), 1)) : Vue.createCommentVNode("", true)]), key: "0" } : void 0, "outer" == i2.designProperty.iconPosition && (i2.designProperty.preIconType && i2.designProperty.preIconValue || i2.designProperty.preText) ? { name: "prepend", fn: Vue.withCtx(() => [i2.designProperty.preIconType && i2.designProperty.preIconValue ? (Vue.openBlock(), Vue.createBlock(u, { key: 0, iconType: i2.designProperty.preIconType, iconValue: i2.designProperty.preIconValue, onClick: t2[44] || (t2[44] = (e3) => a.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true), i2.designProperty.preText ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_2$11, Vue.toDisplayString(e2.$t(i2.designProperty.preText)), 1)) : Vue.createCommentVNode("", true)]), key: "1" } : void 0, "outer" != i2.designProperty.iconPosition && (i2.designProperty.sufIconType && i2.designProperty.sufIconValue || i2.designProperty.sufText) ? { name: "suffix", fn: Vue.withCtx(() => [i2.designProperty.sufIconType && i2.designProperty.sufIconValue ? (Vue.openBlock(), Vue.createBlock(u, { key: 0, iconType: i2.designProperty.sufIconType, iconValue: i2.designProperty.sufIconValue, onClick: t2[45] || (t2[45] = (e3) => a.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true), i2.designProperty.sufText ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_3$K, Vue.toDisplayString(e2.$t(i2.designProperty.sufText)), 1)) : Vue.createCommentVNode("", true)]), key: "2" } : void 0, i2.isShowScanIcon || "outer" == i2.designProperty.iconPosition && (i2.designProperty.sufIconType && i2.designProperty.sufIconValue || i2.designProperty.sufText) ? { name: "append", fn: Vue.withCtx(() => [i2.isShowScanIcon ? (Vue.openBlock(), Vue.createBlock(u, { key: 0, iconValue: "fa-barcode", onClick: t2[46] || (t2[46] = (e3) => a.scanClick()) })) : Vue.createCommentVNode("", true), i2.designProperty.sufIconType && i2.designProperty.sufIconValue ? (Vue.openBlock(), Vue.createBlock(u, { key: 1, iconType: i2.designProperty.sufIconType, iconValue: i2.designProperty.sufIconValue, onClick: t2[47] || (t2[47] = (e3) => a.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true), i2.designProperty.sufText ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_4$x, Vue.toDisplayString(e2.$t(i2.designProperty.sufText)), 1)) : Vue.createCommentVNode("", true)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : "textarea" === o.type ? (Vue.openBlock(), Vue.createBlock(r, { key: 9, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[54] || (t2[54] = (e3) => i2.innerValue = e3), disabled: o.disabled, maxlength: i2.controlConfig && i2.controlConfig.maxlength ? i2.controlConfig.maxlength : "", minlength: i2.controlConfig && i2.controlConfig.minlength ? i2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), rows: i2.designProperty.rows ? i2.designProperty.rows : 2, title: i2.innerValue, clearable: "", type: "textarea", onBlur: t2[55] || (t2[55] = (e3) => a.cellEvent("blur", e3)), onChange: t2[56] || (t2[56] = (e3) => a.cellEvent("change", e3)), onClear: t2[57] || (t2[57] = (e3) => a.cellEvent("clear", e3)), onFocus: t2[58] || (t2[58] = (e3) => a.cellEvent("focus", e3)), onInput: t2[59] || (t2[59] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "rows", "title"])) : "annex" === o.type ? (Vue.openBlock(), Vue.createBlock(c, { key: 10, ref: "fileUploadRef", "custom-view-url": true, disabled: o.disabled, "file-info": i2.fileInfo, "file-list": i2.fileList, "file-set-obj": i2.fileSetObj, "is-sql": o.isSql, row: o.row, value: i2.innerValue, "page-context": i2.pageContext, "list-code": o.listCode, componentId: i2.componentId, onDelete: a.deleteFile, onDeleteSuccess: a.deleteSuccess, onUploadSuccess: a.uploadOnSuccess, onOnError: a.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" === o.type ? (Vue.openBlock(), Vue.createBlock(d, { key: 11, disabled: o.disabled, entity: o.row, "file-info": i2.fileInfo, "file-list": i2.fileList, "file-set-obj": i2.fileSetObj, value: i2.innerValue, type: "list", onDelete: a.deleteFile, onDeleteSuccess: a.deleteSuccess, onUploadSuccess: a.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : "radio" === o.type ? (Vue.openBlock(), Vue.createBlock(p, { key: 12, modelValue: i2.innerValue, "onUpdate:modelValue": [t2[60] || (t2[60] = (e3) => i2.innerValue = e3), t2[61] || (t2[61] = (e3) => i2.innerValue = e3)], disabled: o.disabled, options: o.options, "value-set-options": i2.valueSetOptions, prop: o.column.prop, entity: o.row, onCellEvent: a.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : "multiselect" === o.type || "select" === o.type ? (Vue.openBlock(), Vue.createBlock(m, { key: 13, modelValue: i2.innerValue, "onUpdate:modelValue": [t2[62] || (t2[62] = (e3) => i2.innerValue = e3), t2[63] || (t2[63] = (e3) => i2.innerValue = e3)], disabled: o.disabled, options: o.options, "value-set-options": i2.valueSetOptions, prop: o.column.prop, entity: o.row, column: o.column, type: o.type, controlConfig: i2.controlConfig, listCode: o.listCode, listToolbarFormData: o.listToolbarFormData, dynamicDataSourceCode: i2.dynamicDataSourceCode, additionalParamMap: i2.additionalParamMap, isSql: o.isSql, parentFormData: i2.parentFormData, tableName: i2.tableName, onCellEvent: a.cellEvent, onExtendParams: a.setExtendParams, onSetCellValue: a.setCellValue, onSetCellValueWithProp: a.setCellValueWithProp, onCallCustomEventWithParam: a.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" === o.type ? (Vue.openBlock(), Vue.createBlock(h2, { key: 14, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[64] || (t2[64] = (e3) => i2.innerValue = e3), "controls-position": i2.inputNumberSet.position, disabled: o.disabled, max: 0 == i2.inputNumberSet.max ? 0 : i2.inputNumberSet.max ? i2.inputNumberSet.max : 1 / 0, min: 0 == i2.inputNumberSet.min ? 0 : i2.inputNumberSet.min ? i2.inputNumberSet.min : -1 / 0, precision: i2.inputNumberSet.precision, step: i2.inputNumberSet.step ? i2.inputNumberSet.step : 1, onBlur: t2[65] || (t2[65] = (e3) => a.cellEvent("blur", e3)), onChange: t2[66] || (t2[66] = (e3) => a.cellEvent("change", e3)), onFocus: t2[67] || (t2[67] = (e3) => a.cellEvent("focus", e3)), onInput: t2[68] || (t2[68] = (e3) => a.cellEvent("input", e3)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : "switch" === o.type || "BOOLEAN" === o.column.dataType ? (Vue.openBlock(), Vue.createBlock(g, { key: 15, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[69] || (t2[69] = (e3) => i2.innerValue = e3), "active-text": a.getSwitchConfig("activeText"), "active-value": a.getSwitchConfig("activeValue"), disabled: o.disabled, "inactive-text": a.getSwitchConfig("inactiveText"), "inactive-value": a.getSwitchConfig("inactiveValue"), onChange: t2[70] || (t2[70] = (e3) => a.cellEvent("change", e3)), onInput: t2[71] || (t2[71] = (e3) => a.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : "slider" === o.type ? (Vue.openBlock(), Vue.createBlock(f, { key: 16, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[72] || (t2[72] = (e3) => i2.innerValue = e3), disabled: o.disabled, onChange: t2[73] || (t2[73] = (e3) => a.cellEvent("change", e3)), onInput: t2[74] || (t2[74] = (e3) => a.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : "rate" === o.type ? (Vue.openBlock(), Vue.createBlock(A, { key: 17, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[75] || (t2[75] = (e3) => i2.innerValue = e3), disabled: o.disabled, onChange: t2[76] || (t2[76] = (e3) => a.cellEvent("change", e3)), onInput: t2[77] || (t2[77] = (e3) => a.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : i2.deptManTree || i2.deptTree || i2.wgManTree || i2.wgTree ? (Vue.openBlock(), Vue.createBlock(y, { key: 18, "check-strictly": i2.isCheckStrictly, "department-info": i2.departmentInfo, disabled: o.disabled, "limit-filter-column": (_a = i2.controlConfig) == null ? void 0 : _a.limitFilterColumn, fields: i2.fields, "is-join-table": e2.isJoinTable, models: o.row, multiple: i2.isMultiTree, "table-name": i2.tableName, "tree-type": i2.deptManTree ? "DeptUserTree" : i2.deptTree ? "DeptTree" : i2.wgManTree ? "WgUserTree" : i2.wgTree ? "WgTree" : null, value: i2.innerValue, onAppend: a.appendOrganizationInputEvent, onClear: a.clearOrganizationInputEvent, onFocus: a.showOrganizationTree, onReplace: a.replaceOrganizationInputEvent, onSetValue: a.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"])) : Vue.createCommentVNode("", true) : (Vue.openBlock(), Vue.createBlock(r, { key: 7, ref: "item", modelValue: i2.innerValue, "onUpdate:modelValue": t2[37] || (t2[37] = (e3) => i2.innerValue = e3), modelModifiers: { number: true }, disabled: o.disabled, placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: i2.innerValue, type: "INTEGER" === o.column.dataType || "LONG" === o.column.dataType ? "number" : "text", clearable: "", onBlur: t2[38] || (t2[38] = (e3) => a.cellEvent("blur", e3)), onChange: t2[39] || (t2[39] = (e3) => a.cellEvent("change", e3)), onClear: t2[40] || (t2[40] = (e3) => a.cellEvent("clear", e3)), onFocus: t2[41] || (t2[41] = (e3) => a.cellEvent("focus", e3)), onInput: t2[42] || (t2[42] = (e3) => a.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), Vue.createVNode(V, { "append-to-body": true, "show-close": true, title: e2.$t("imatrixUIMessage.tips"), visible: i2.annexUploadFlag, width: "30%" }, { default: Vue.withCtx(() => ["annex" === o.type && i2.annexUploadFlag ? (Vue.openBlock(), Vue.createBlock(C, { key: 0, accept: i2.fileSetObj && i2.fileSetObj.accept ? i2.fileSetObj.accept : null, action: i2.defaultAction, "before-upload": a.handleBeforeUpload, headers: i2.headers, "on-success": a.uploadOnSuccess, "with-credentials": true, name: "file" }, { default: Vue.withCtx(() => [Vue.createVNode(w, null, { default: Vue.withCtx(() => [Vue.createTextVNode(Vue.toDisplayString(e2.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : Vue.createCommentVNode("", true)]), _: 1 }, 8, ["title", "visible"]), i2.showSingleImgFlag ? (Vue.openBlock(), Vue.createBlock(v, { key: 19, deleteable: !o.disabled, downloadable: !o.disabled, "file-list": i2.fileList, onClose: t2[78] || (t2[78] = (e3) => i2.showSingleImgFlag = false), onDelete: a.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : Vue.createCommentVNode("", true), i2.isShowBrowserScan ? (Vue.openBlock(), Vue.createBlock(b, { key: 20, onClose: a.closeBrowserScan }, null, 8, ["onClose"])) : Vue.createCommentVNode("", true)], 2));
|
|
5585
5587
|
}
|
|
5586
5588
|
const DynamicInput = _export_sfc(_sfc_main$23, [["render", _sfc_render$1j]]), iconList = ["amb-color-icon-XLS", "amb-color-icon-XLSX", "amb-color-icon-DOC", "amb-color-icon-DOCX", "amb-color-icon-PPT", "amb-color-icon-PDF", "amb-color-icon-TXT", "amb-color-icon-JPG", "amb-color-icon-PNG", "amb-color-icon-ZIP", "amb-color-icon-AVI", "amb-color-icon-MP4", "amb-color-icon-qita"];
|
|
5587
5589
|
function getFileIconByName(e2) {
|
|
@@ -5881,7 +5883,7 @@
|
|
|
5881
5883
|
const l = Vue.resolveComponent("superIcon"), s = Vue.resolveComponent("el-tooltip"), r = Vue.resolveDirective("permission");
|
|
5882
5884
|
return Vue.openBlock(), Vue.createElementBlock("span", { style: Vue.normalizeStyle(i2.myStyle) }, [a.isShowButton() ? (Vue.openBlock(), Vue.createBlock(s, { key: 0, disabled: a.tooltipDisabled, content: o.label, placement: "top" }, { default: Vue.withCtx(() => [a.operationSettingData.permission ? Vue.withDirectives((Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(a.isElementType), Vue.mergeProps({ key: 0 }, a.operationSettingData, { class: "row-operation-icon", disabled: e2.preventReclick, onMousedown: t2[0] || (t2[0] = (e3) => a.onClickFun(a.operationSettingData)) }), { default: Vue.withCtx(() => [a.prefixIcon ? (Vue.openBlock(), Vue.createBlock(l, { key: 0, iconValue: a.prefixIcon, class: Vue.normalizeClass([{ "is-text-labl": !!a.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : Vue.createCommentVNode("", true), Vue.createTextVNode(" " + Vue.toDisplayString(a.labelText) + " ", 1), a.suffixIcon ? (Vue.openBlock(), Vue.createBlock(l, { key: 1, iconValue: a.suffixIcon, class: Vue.normalizeClass([{ "is-text-labl": !!a.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : Vue.createCommentVNode("", true)]), _: 1 }, 16, ["disabled"])), [[r, a.operationSettingData.permission]]) : (Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(a.isElementType), Vue.mergeProps({ key: 1 }, a.operationSettingData, { class: "row-operation-icon", disabled: e2.preventReclick, onMousedown: t2[1] || (t2[1] = (e3) => a.onClickFun(a.operationSettingData)) }), { default: Vue.withCtx(() => [a.prefixIcon ? (Vue.openBlock(), Vue.createBlock(l, { key: 0, iconValue: a.prefixIcon, class: Vue.normalizeClass([{ "is-text-labl": !!a.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : Vue.createCommentVNode("", true), Vue.createTextVNode(" " + Vue.toDisplayString(a.labelText) + " ", 1), a.suffixIcon ? (Vue.openBlock(), Vue.createBlock(l, { key: 1, iconValue: a.suffixIcon, class: Vue.normalizeClass([{ "is-text-labl": !!a.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : Vue.createCommentVNode("", true)]), _: 1 }, 16, ["disabled"]))]), _: 1 }, 8, ["disabled", "content"])) : Vue.createCommentVNode("", true)], 4);
|
|
5883
5885
|
}
|
|
5884
|
-
const RowOperation = _export_sfc(_sfc_main$1_, [["render", _sfc_render$1f], ["__scopeId", "data-v-e34a61f7"]]),
|
|
5886
|
+
const RowOperation = _export_sfc(_sfc_main$1_, [["render", _sfc_render$1f], ["__scopeId", "data-v-e34a61f7"]]), normalColumnContent_vue_vue_type_style_index_0_scoped_ee8f5d1d_lang = "", _sfc_main$1Z = { components: { DynamicInput, RowOperation, ViewImageDialog, FsPreview, RichEditorViewer, CirclePlus: ElementPlusIconsVue.CirclePlus, ElIconZoomIn: ElementPlusIconsVue.ZoomIn, GridIcon }, name: "NormalColumnContent", props: { isContentViewText: { type: Boolean, default: false }, column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null }, row: { type: Object, default: null }, rowIndex: { type: Number, default: null }, isShowForm: { type: Boolean, default: false }, gridRef: { type: Object, default: null } }, data() {
|
|
5885
5887
|
let e2;
|
|
5886
5888
|
const t2 = store$1.get(this.listCode), o = t2.options;
|
|
5887
5889
|
t2.options.extraParam && t2.options.extraParam.entityMap && (e2 = t2.options.extraParam.entityMap);
|
|
@@ -6171,9 +6173,9 @@
|
|
|
6171
6173
|
function _sfc_render$1e(e2, t2, o, n, i2, a) {
|
|
6172
6174
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
6173
6175
|
const l = Vue.resolveComponent("dynamic-input"), s = Vue.resolveComponent("Edit"), r = Vue.resolveComponent("el-icon"), u = Vue.resolveComponent("el-dropdown-item"), c = Vue.resolveComponent("el-dropdown-menu"), d = Vue.resolveComponent("el-dropdown"), p = Vue.resolveComponent("row-operation"), m = Vue.resolveComponent("secret-info"), h2 = Vue.resolveComponent("FsPreview"), g = Vue.resolveComponent("SuperIcon"), f = Vue.resolveComponent("el-link"), A = Vue.resolveComponent("el-tooltip"), y = Vue.resolveComponent("GridIcon"), w = Vue.resolveComponent("view-image-dialog"), C = Vue.resolveComponent("rich-editor-viewer"), V = Vue.resolveDirective("permission");
|
|
6174
|
-
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1$1t, [a.isEditing || o.isShowForm ? (Vue.openBlock(), Vue.createBlock(l, { key: 0, ref: "dynamicRef", value: o.row[o.column.prop], "onUpdate:value": t2[0] || (t2[0] = (e3) => o.row[o.column.prop] = e3), class: Vue.normalizeClass(i2.requiredClass), column: o.column, "is-sql": o.isSql, "line-edit": i2.lineEdit, "list-code": o.listCode, "list-toolbar-form-data": o.listToolbarFormData, options: o.column.valueSet, "grid-options": i2.options, position: { row: o.rowIndex, prop: o.column.prop }, disabled: i2.disabled, row: o.row, "row-index": o.rowIndex, type: o.column.componentType, onKeyup: Vue.withKeys(a.clearAllEditing, ["enter"]), onFindIndex: t2[1] || (t2[1] = (e3) => a.findIndex(o.rowIndex)), onFocus: t2[2] || (t2[2] = (e3) => a.onFocus(o.rowIndex)), onProhibitToEdit: a.prohibitToEdit, onRefreshList: a.refreshList, onRefresData: a.refresData, onRefresMainTableFields: a.refresMainTableFields, onRefresPortData: a.refresPortData, onRefresPortsData: a.refresPortsData, onChangeDisabled: a.changeDisabled, onChangeRequired: a.changeRequired, onOpenPage: a.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"])) : (Vue.openBlock(), Vue.createElementBlock("div", { key: 1, class: Vue.normalizeClass(((_d = (_c = (_b = (_a = i2.options) == null ? void 0 : _a.configureObj) == null ? void 0 : _b.props) == null ? void 0 : _c.base) == null ? void 0 : _d.columnEditable) ? "column-text-main" : "") }, [i2.lineEdit.editable && ((_h = (_g = (_f = (_e = i2.options) == null ? void 0 : _e.configureObj) == null ? void 0 : _f.props) == null ? void 0 : _g.base) == null ? void 0 : _h.columnEditable) && i2.isEditable && !a.isHideEdit && !o.isContentViewText ? (Vue.openBlock(), Vue.createElementBlock("div", { key: 0, class: "column-text-edit-main", onClick: t2[3] || (t2[3] = (...e3) => a.onEditing && a.onEditing(...e3)) }, [Vue.createVNode(r, { size: 14, color: "#409eff" }, { default: Vue.withCtx(() => [Vue.createVNode(s)]), _: 1 }), [void 0, null, ""].includes(o.row[o.column.prop]) ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_2$Z, Vue.toDisplayString(e2.$t("superGrid.editablePlaceholder")), 1)) : Vue.createCommentVNode("", true)])) : Vue.createCommentVNode("", true), o.column.operations ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_3$I, [(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(o.column.operations, (t3, n2) => (Vue.openBlock(), Vue.createElementBlock("span", { key: n2, class: Vue.normalizeClass([o.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [t3.isGroup ? (Vue.openBlock(), Vue.createBlock(d, { key: 0, size: t3.buttons && t3.buttons.length > 0 ? t3.buttons[0].props.size : "small", "split-button": "", onCommand: a.handleCommand }, { dropdown: Vue.withCtx(() => [Vue.createVNode(c, null, { default: Vue.withCtx(() => [(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(t3.buttons, (t4, n3) => (Vue.openBlock(), Vue.createElementBlock("span", { key: t4.props.code + n3 }, [Vue.withDirectives((Vue.openBlock(), Vue.createBlock(u, { command: a.beforeHandleCommand(t4.props.code, o.row, o.rowIndex), disabled: e2.preventReclick }, { default: Vue.withCtx(() => [Vue.createTextVNode(Vue.toDisplayString(e2.$escapeHtml(t4.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[V, t4.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: Vue.withCtx(() => [Vue.createTextVNode(Vue.toDisplayString(e2.$escapeHtml(t3.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : t3.props.customControl ? Vue.withDirectives((Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(t3.props.customControl), { key: o.column.prop + "_" + o.rowIndex + "_" + o.currentPage, disabled: true, row: o.row, entity: o.row, prop: o.column.prop, parent: i2.parentFormData, "row-index": o.rowIndex, "grid-data": o.gridData, "page-grid-data": o.pageGridData, "current-page": o.currentPage, "custom-params": i2.controlConfig ? i2.controlConfig.customParams : null, onRefreshList: a.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "custom-params", "onRefreshList"])), [[V, t3.props.permission]]) : (Vue.openBlock(), Vue.createBlock(p, { key: 2, column: o.column, editing: o.row.$editing, entity: o.row, "is-show": t3.isShow, label: t3.props.label ? t3.props.label : o.row[o.column.prop], "on-click": t3.onClick, "operation-index": n2, "operation-setting": t3.props, "event-name": t3.eventName, "row-index": o.rowIndex, "list-code": o.listCode, "parent-form-data": i2.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(o.row, o.column.prop, o.customFormat, o.rowIndex) ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 2, class: Vue.normalizeClass(o.isShowForm ? "" : "cell--span") }, [(Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(o.column.prop + o.rowIndex), { entity: o.row, parent: i2.parentFormData, prop: o.column.prop, row: o.row, "row-index": o.rowIndex, "select-options": o.column.valueSet, "show-value": e2.$escapeHtml(a.getLabel(o.row, o.rowIndex)), value: a.getCellValue(o.row), "additional-param-map": i2.additionalParamMap, "additional-settings": i2.additionalSettings, "page-context": (_i = i2.options) == null ? void 0 : _i.pageContext, "custom-params": i2.controlConfig ? i2.controlConfig.customParams : null }, null, 8, ["entity", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "additional-settings", "page-context", "custom-params"]))], 2)) : void 0 !== i2.columnFormatter && void 0 !== i2.columnFormatter.type && "customControl" === i2.columnFormatter.type && i2.columnFormatter.options && i2.columnFormatter.options.format && "" !== i2.columnFormatter.options.format ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 3, class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [(Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(i2.columnFormatter.options.format), { key: o.column.prop + "_" + o.rowIndex + "_" + o.currentPage, "current-page": o.currentPage, disabled: true, entity: o.row, "get-form-data": i2.getFormData, "get-grid-data": i2.getTableGridData, "grid-data": o.gridData, "page-grid-data": o.pageGridData, parent: i2.parentFormData, prop: o.column.prop, row: o.row, "row-index": o.rowIndex, "select-options": o.column.valueSet, "show-value": e2.$escapeHtml(a.getLabel(o.row, o.rowIndex)), value: a.getCellValue(o.row), "additional-param-map": i2.additionalParamMap, listCode: o.listCode, "component-id": i2.componentId, "additional-settings": i2.additionalSettings, "page-context": (_j = i2.options) == null ? void 0 : _j.pageContext, "custom-params": a.getCustomParams(), onProhibitToEdit: a.prohibitToEdit, onRefreshList: a.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 !== i2.columnFormatter && void 0 !== i2.columnFormatter.type && "secretInfo" === i2.columnFormatter.type ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 4, id: o.column.prop + "DomData" + o.rowIndex, class: Vue.normalizeClass(o.isShowForm ? "" : "cell--span") }, [Vue.createVNode(m, { entity: o.row, "field-label": e2.$escapeHtml(e2.label), "list-code": o.listCode, "list-name": o.listName, "page-code": o.pageCode, prop: o.column.prop, "table-name": o.tableName, value: a.getCellValue(o.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, _hoisted_4$v)) : e2.isObjectProp(o.column.prop) ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 5 }, [o.column.formatter && "files" === o.column.formatter.type ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_5$n, [Vue.createElementVNode("span", { id: o.column.prop + "DomData" + o.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(a.getLabel(o.row)) : "", class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [Vue.createVNode(h2, { entity: o.row, "file-set-obj": a.getFilesFormatter(), "is-sql": o.isSql, label: e2.$escapeHtml(a.getLabel(o.row, o.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_6$e)])) : "hyperlinks" === ((_k = i2.columnFormatter) == null ? void 0 : _k.type) && true === i2.linkObject.visible ? (Vue.openBlock(), Vue.createBlock(f, { key: 1, type: a.getLinkType(o.row), onClick: t2[4] || (t2[4] = (t3) => e2.clickHyperLink(o.column, o.row, o.listCode, o.rowIndex)) }, { default: Vue.withCtx(() => [e2.isShowOverflowTooltip ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 0, id: o.column.prop + "DomData" + o.rowIndex, style: Vue.normalizeStyle("newline" === i2.textOverflow ? {} : { width: i2.cellWidth + "px" }), title: i2.linkObject.title, class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [Vue.createTextVNode(Vue.toDisplayString(i2.linkObject.label) + " ", 1), i2.linkObject.icon ? (Vue.openBlock(), Vue.createBlock(g, { key: 0, iconValue: i2.linkObject.icon }, null, 8, ["iconValue"])) : Vue.createCommentVNode("", true)], 14, _hoisted_7$a)) : (Vue.openBlock(), Vue.createElementBlock("span", { key: 1, id: o.column.prop + "DomData" + o.rowIndex, class: Vue.normalizeClass(o.isShowForm ? "" : "cell--span") }, [Vue.createTextVNode(Vue.toDisplayString(i2.linkObject.label) + " ", 1), i2.linkObject.icon ? (Vue.openBlock(), Vue.createBlock(g, { key: 0, iconValue: i2.linkObject.icon }, null, 8, ["iconValue"])) : Vue.createCommentVNode("", true)], 10, _hoisted_8$9))]), _: 1 }, 8, ["type"])) : e2.isShowOverflowTooltip ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 2, id: o.column.prop + "DomData" + o.rowIndex, style: Vue.normalizeStyle("newline" === i2.textOverflow ? {} : { width: i2.cellWidth + "px" }), title: e2.$escapeHtml(a.getLabel(o.row)), class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, Vue.toDisplayString(e2.$escapeHtml(a.getLabel(o.row, o.rowIndex))), 15, _hoisted_9$8)) : (Vue.openBlock(), Vue.createElementBlock("span", { key: 3, id: o.column.prop + "DomData" + o.rowIndex, class: Vue.normalizeClass(o.isShowForm ? "" : "cell--span") }, Vue.toDisplayString(e2.$escapeHtml(a.getLabel(o.row, o.rowIndex))), 11, _hoisted_10$8))], 64)) : (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 6 }, ["annex" === o.column.componentType || "multipartUpload" === o.column.componentType ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_11$6, [e2.isShowOverflowTooltip ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 0, id: o.column.prop + "DomData" + o.rowIndex, title: e2.$escapeHtml(a.getLabel(o.row)), class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [Vue.createVNode(h2, { width: i2.cellWidth, entity: o.row, "file-set-obj": a.getFileObj(o.column.fileSet), "is-sql": o.isSql, label: e2.$escapeHtml(a.getLabel(o.row, o.rowIndex)) }, null, 8, ["width", "entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_12$5)) : (Vue.openBlock(), Vue.createElementBlock("span", { key: 1, id: o.column.prop + "DomData" + o.rowIndex, class: Vue.normalizeClass(o.isShowForm ? "" : "cell--span") }, [Vue.createVNode(h2, { entity: o.row, "file-set-obj": a.getFileObj(o.column.fileSet), "is-sql": o.isSql, label: e2.$escapeHtml(a.getLabel(o.row, o.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_13$4))])) : o.column.formatter && "files" === o.column.formatter.type ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_14$4, [Vue.createElementVNode("span", { id: o.column.prop + "DomData" + o.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(a.getLabel(o.row)) : "", class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [Vue.createVNode(h2, { entity: o.row, "file-set-obj": a.getFilesFormatter(), "is-sql": o.isSql, label: e2.$escapeHtml(a.getLabel(o.row, o.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_15$3)])) : "hyperlinks" === ((_l = i2.columnFormatter) == null ? void 0 : _l.type) && i2.linkObject.visible ? (Vue.openBlock(), Vue.createBlock(f, { key: 2, type: "primary", onClick: t2[5] || (t2[5] = (t3) => e2.clickHyperLink(o.column, o.row, o.listCode, o.rowIndex)) }, { default: Vue.withCtx(() => [e2.isShowOverflowTooltip ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 0, id: o.column.prop + "DomData" + o.rowIndex, style: Vue.normalizeStyle("newline" === i2.textOverflow ? {} : { width: i2.cellWidth + "px" }), title: e2.$escapeHtml(i2.linkObject.title), class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [Vue.createTextVNode(Vue.toDisplayString(e2.$escapeHtml(i2.linkObject.label)) + " ", 1), i2.linkObject.icon ? (Vue.openBlock(), Vue.createBlock(g, { key: 0, iconValue: i2.linkObject.icon }, null, 8, ["iconValue"])) : Vue.createCommentVNode("", true)], 14, _hoisted_16$3)) : (Vue.openBlock(), Vue.createElementBlock("span", { key: 1, id: o.column.prop + "DomData" + o.rowIndex, class: Vue.normalizeClass(o.isShowForm ? "" : "cell--span") }, [Vue.createTextVNode(Vue.toDisplayString(e2.$escapeHtml(i2.linkObject.label)) + " ", 1), i2.linkObject.icon ? (Vue.openBlock(), Vue.createBlock(g, { key: 0, iconValue: i2.linkObject.icon }, null, 8, ["iconValue"])) : Vue.createCommentVNode("", true)], 10, _hoisted_17$3))]), _: 1 })) : o.column.formatter && "richEditor" === o.column.formatter.type ? (Vue.openBlock(), Vue.createBlock(A, { key: 3, content: e2.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: Vue.withCtx(() => [Vue.createElementVNode("em", { class: "fa fa-info-circle annex-cell", onClick: t2[6] || (t2[6] = (e3) => a.showRichEditorContent(o.row, o.column, a.getHeader())) })]), _: 1 }, 8, ["content"])) : o.column.formatter && "icon" === o.column.formatter.type ? (Vue.openBlock(), Vue.createBlock(y, { key: 4, id: o.column.prop + "DomData" + o.rowIndex, column: o.column, row: o.row, "row-index": o.rowIndex, "is-sql": o.isSql, "list-code": o.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : e2.isShowOverflowTooltip ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 5, id: o.column.prop + "DomData" + o.rowIndex, style: Vue.normalizeStyle("newline" === i2.textOverflow ? {} : { width: i2.cellWidth + "px" }), title: a.getLabel(o.row), class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span"), innerHTML: e2.$escapeHtml(a.getLabel(o.row, o.rowIndex)) }, null, 14, _hoisted_18$2)) : (Vue.openBlock(), Vue.createElementBlock("span", { key: 6, id: o.column.prop + "DomData" + o.rowIndex, class: Vue.normalizeClass(o.isShowForm ? "" : "cell--span") }, Vue.toDisplayString(e2.$escapeHtml(a.getLabel(o.row, o.rowIndex))), 11, _hoisted_19$1))], 64))], 2)), i2.showSingleImgFlag ? (Vue.openBlock(), Vue.createBlock(w, { key: 2, "file-list": i2.fileList, onClose: t2[7] || (t2[7] = (e3) => i2.showSingleImgFlag = false) }, null, 8, ["file-list"])) : Vue.createCommentVNode("", true), i2.showRichEditorViewer ? (Vue.openBlock(), Vue.createBlock(C, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: a.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : Vue.createCommentVNode("", true)]);
|
|
6176
|
+
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1$1t, [a.isEditing || o.isShowForm ? (Vue.openBlock(), Vue.createBlock(l, { key: 0, ref: "dynamicRef", value: o.row[o.column.prop], "onUpdate:value": t2[0] || (t2[0] = (e3) => o.row[o.column.prop] = e3), class: Vue.normalizeClass(i2.requiredClass), column: o.column, "is-sql": o.isSql, "line-edit": i2.lineEdit, "list-code": o.listCode, "list-toolbar-form-data": o.listToolbarFormData, options: o.column.valueSet, "grid-options": i2.options, position: { row: o.rowIndex, prop: o.column.prop }, disabled: i2.disabled, row: o.row, "row-index": o.rowIndex, type: o.column.componentType, onKeyup: Vue.withKeys(a.clearAllEditing, ["enter"]), onFindIndex: t2[1] || (t2[1] = (e3) => a.findIndex(o.rowIndex)), onFocus: t2[2] || (t2[2] = (e3) => a.onFocus(o.rowIndex)), onProhibitToEdit: a.prohibitToEdit, onRefreshList: a.refreshList, onRefresData: a.refresData, onRefresMainTableFields: a.refresMainTableFields, onRefresPortData: a.refresPortData, onRefresPortsData: a.refresPortsData, onChangeDisabled: a.changeDisabled, onChangeRequired: a.changeRequired, onOpenPage: a.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"])) : (Vue.openBlock(), Vue.createElementBlock("div", { key: 1, class: Vue.normalizeClass(((_d = (_c = (_b = (_a = i2.options) == null ? void 0 : _a.configureObj) == null ? void 0 : _b.props) == null ? void 0 : _c.base) == null ? void 0 : _d.columnEditable) ? "column-text-main" : "") }, [i2.lineEdit.editable && ((_h = (_g = (_f = (_e = i2.options) == null ? void 0 : _e.configureObj) == null ? void 0 : _f.props) == null ? void 0 : _g.base) == null ? void 0 : _h.columnEditable) && i2.isEditable && !a.isHideEdit && !o.isContentViewText ? (Vue.openBlock(), Vue.createElementBlock("div", { key: 0, class: "column-text-edit-main", onClick: t2[3] || (t2[3] = (...e3) => a.onEditing && a.onEditing(...e3)) }, [Vue.createVNode(r, { size: 14, color: "#409eff" }, { default: Vue.withCtx(() => [Vue.createVNode(s)]), _: 1 }), [void 0, null, ""].includes(o.row[o.column.prop]) ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_2$Z, Vue.toDisplayString(e2.$t("superGrid.editablePlaceholder")), 1)) : Vue.createCommentVNode("", true)])) : Vue.createCommentVNode("", true), o.column.operations ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_3$I, [(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(o.column.operations, (t3, n2) => (Vue.openBlock(), Vue.createElementBlock("span", { key: n2, class: Vue.normalizeClass([o.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [t3.isGroup ? (Vue.openBlock(), Vue.createBlock(d, { key: 0, size: t3.buttons && t3.buttons.length > 0 ? t3.buttons[0].props.size : "small", "split-button": "", onCommand: a.handleCommand }, { dropdown: Vue.withCtx(() => [Vue.createVNode(c, null, { default: Vue.withCtx(() => [(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(t3.buttons, (t4, n3) => (Vue.openBlock(), Vue.createElementBlock("span", { key: t4.props.code + n3 }, [Vue.withDirectives((Vue.openBlock(), Vue.createBlock(u, { command: a.beforeHandleCommand(t4.props.code, o.row, o.rowIndex), disabled: e2.preventReclick }, { default: Vue.withCtx(() => [Vue.createTextVNode(Vue.toDisplayString(e2.$escapeHtml(t4.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[V, t4.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: Vue.withCtx(() => [Vue.createTextVNode(Vue.toDisplayString(e2.$escapeHtml(t3.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : t3.props.customControl ? Vue.withDirectives((Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(t3.props.customControl), { key: o.column.prop + "_" + o.rowIndex + "_" + o.currentPage, disabled: true, row: o.row, entity: o.row, prop: o.column.prop, parent: i2.parentFormData, "row-index": o.rowIndex, "grid-data": o.gridData, "page-grid-data": o.pageGridData, "current-page": o.currentPage, "custom-params": i2.controlConfig ? i2.controlConfig.customParams : null, "grid-ref": o.gridRef, onRefreshList: a.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "custom-params", "grid-ref", "onRefreshList"])), [[V, t3.props.permission]]) : (Vue.openBlock(), Vue.createBlock(p, { key: 2, column: o.column, editing: o.row.$editing, entity: o.row, "is-show": t3.isShow, label: t3.props.label ? t3.props.label : o.row[o.column.prop], "on-click": t3.onClick, "operation-index": n2, "operation-setting": t3.props, "event-name": t3.eventName, "row-index": o.rowIndex, "list-code": o.listCode, "parent-form-data": i2.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(o.row, o.column.prop, o.customFormat, o.rowIndex) ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 2, class: Vue.normalizeClass(o.isShowForm ? "" : "cell--span") }, [(Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(e2.customFormatValue(o.row, o.column.prop, o.customFormat, o.rowIndex)), { entity: o.row, parent: i2.parentFormData, prop: o.column.prop, row: o.row, "row-index": o.rowIndex, "select-options": o.column.valueSet, "show-value": e2.$escapeHtml(a.getLabel(o.row, o.rowIndex)), value: a.getCellValue(o.row), "additional-param-map": i2.additionalParamMap, "additional-settings": i2.additionalSettings, "page-context": (_i = i2.options) == null ? void 0 : _i.pageContext, "custom-params": i2.controlConfig ? i2.controlConfig.customParams : null, "grid-ref": o.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 !== i2.columnFormatter && void 0 !== i2.columnFormatter.type && "customControl" === i2.columnFormatter.type && i2.columnFormatter.options && i2.columnFormatter.options.format && "" !== i2.columnFormatter.options.format ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 3, class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [(Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(i2.columnFormatter.options.format), { key: o.column.prop + "_" + o.rowIndex + "_" + o.currentPage, "current-page": o.currentPage, disabled: true, entity: o.row, "get-form-data": i2.getFormData, "get-grid-data": i2.getTableGridData, "grid-data": o.gridData, "page-grid-data": o.pageGridData, parent: i2.parentFormData, prop: o.column.prop, row: o.row, "row-index": o.rowIndex, "select-options": o.column.valueSet, "show-value": e2.$escapeHtml(a.getLabel(o.row, o.rowIndex)), value: a.getCellValue(o.row), "additional-param-map": i2.additionalParamMap, listCode: o.listCode, "component-id": i2.componentId, "additional-settings": i2.additionalSettings, "page-context": (_j = i2.options) == null ? void 0 : _j.pageContext, "custom-params": a.getCustomParams(), "grid-ref": o.gridRef, onProhibitToEdit: a.prohibitToEdit, onRefreshList: a.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 !== i2.columnFormatter && void 0 !== i2.columnFormatter.type && "secretInfo" === i2.columnFormatter.type ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 4, id: o.column.prop + "DomData" + o.rowIndex, class: Vue.normalizeClass(o.isShowForm ? "" : "cell--span") }, [Vue.createVNode(m, { entity: o.row, "field-label": e2.$escapeHtml(e2.label), "list-code": o.listCode, "list-name": o.listName, "page-code": o.pageCode, prop: o.column.prop, "table-name": o.tableName, value: a.getCellValue(o.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, _hoisted_4$v)) : e2.isObjectProp(o.column.prop) ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 5 }, [o.column.formatter && "files" === o.column.formatter.type ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_5$n, [Vue.createElementVNode("span", { id: o.column.prop + "DomData" + o.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(a.getLabel(o.row)) : "", class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [Vue.createVNode(h2, { entity: o.row, "file-set-obj": a.getFilesFormatter(), "is-sql": o.isSql, label: e2.$escapeHtml(a.getLabel(o.row, o.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_6$e)])) : "hyperlinks" === ((_k = i2.columnFormatter) == null ? void 0 : _k.type) && true === i2.linkObject.visible ? (Vue.openBlock(), Vue.createBlock(f, { key: 1, type: a.getLinkType(o.row), onClick: t2[4] || (t2[4] = (t3) => e2.clickHyperLink(o.column, o.row, o.listCode, o.rowIndex)) }, { default: Vue.withCtx(() => [e2.isShowOverflowTooltip ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 0, id: o.column.prop + "DomData" + o.rowIndex, style: Vue.normalizeStyle("newline" === i2.textOverflow ? {} : { width: i2.cellWidth + "px" }), title: i2.linkObject.title, class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [Vue.createTextVNode(Vue.toDisplayString(i2.linkObject.label) + " ", 1), i2.linkObject.icon ? (Vue.openBlock(), Vue.createBlock(g, { key: 0, iconValue: i2.linkObject.icon }, null, 8, ["iconValue"])) : Vue.createCommentVNode("", true)], 14, _hoisted_7$a)) : (Vue.openBlock(), Vue.createElementBlock("span", { key: 1, id: o.column.prop + "DomData" + o.rowIndex, class: Vue.normalizeClass(o.isShowForm ? "" : "cell--span") }, [Vue.createTextVNode(Vue.toDisplayString(i2.linkObject.label) + " ", 1), i2.linkObject.icon ? (Vue.openBlock(), Vue.createBlock(g, { key: 0, iconValue: i2.linkObject.icon }, null, 8, ["iconValue"])) : Vue.createCommentVNode("", true)], 10, _hoisted_8$9))]), _: 1 }, 8, ["type"])) : e2.isShowOverflowTooltip ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 2, id: o.column.prop + "DomData" + o.rowIndex, style: Vue.normalizeStyle("newline" === i2.textOverflow ? {} : { width: i2.cellWidth + "px" }), title: e2.$escapeHtml(a.getLabel(o.row)), class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, Vue.toDisplayString(e2.$escapeHtml(a.getLabel(o.row, o.rowIndex))), 15, _hoisted_9$8)) : (Vue.openBlock(), Vue.createElementBlock("span", { key: 3, id: o.column.prop + "DomData" + o.rowIndex, class: Vue.normalizeClass(o.isShowForm ? "" : "cell--span") }, Vue.toDisplayString(e2.$escapeHtml(a.getLabel(o.row, o.rowIndex))), 11, _hoisted_10$8))], 64)) : (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 6 }, ["annex" === o.column.componentType || "multipartUpload" === o.column.componentType ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_11$6, [e2.isShowOverflowTooltip ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 0, id: o.column.prop + "DomData" + o.rowIndex, title: e2.$escapeHtml(a.getLabel(o.row)), class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [Vue.createVNode(h2, { width: i2.cellWidth, entity: o.row, "file-set-obj": a.getFileObj(o.column.fileSet), "is-sql": o.isSql, label: e2.$escapeHtml(a.getLabel(o.row, o.rowIndex)) }, null, 8, ["width", "entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_12$5)) : (Vue.openBlock(), Vue.createElementBlock("span", { key: 1, id: o.column.prop + "DomData" + o.rowIndex, class: Vue.normalizeClass(o.isShowForm ? "" : "cell--span") }, [Vue.createVNode(h2, { entity: o.row, "file-set-obj": a.getFileObj(o.column.fileSet), "is-sql": o.isSql, label: e2.$escapeHtml(a.getLabel(o.row, o.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_13$4))])) : o.column.formatter && "files" === o.column.formatter.type ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_14$4, [Vue.createElementVNode("span", { id: o.column.prop + "DomData" + o.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(a.getLabel(o.row)) : "", class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [Vue.createVNode(h2, { entity: o.row, "file-set-obj": a.getFilesFormatter(), "is-sql": o.isSql, label: e2.$escapeHtml(a.getLabel(o.row, o.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_15$3)])) : "hyperlinks" === ((_l = i2.columnFormatter) == null ? void 0 : _l.type) && i2.linkObject.visible ? (Vue.openBlock(), Vue.createBlock(f, { key: 2, type: "primary", onClick: t2[5] || (t2[5] = (t3) => e2.clickHyperLink(o.column, o.row, o.listCode, o.rowIndex)) }, { default: Vue.withCtx(() => [e2.isShowOverflowTooltip ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 0, id: o.column.prop + "DomData" + o.rowIndex, style: Vue.normalizeStyle("newline" === i2.textOverflow ? {} : { width: i2.cellWidth + "px" }), title: e2.$escapeHtml(i2.linkObject.title), class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [Vue.createTextVNode(Vue.toDisplayString(e2.$escapeHtml(i2.linkObject.label)) + " ", 1), i2.linkObject.icon ? (Vue.openBlock(), Vue.createBlock(g, { key: 0, iconValue: i2.linkObject.icon }, null, 8, ["iconValue"])) : Vue.createCommentVNode("", true)], 14, _hoisted_16$3)) : (Vue.openBlock(), Vue.createElementBlock("span", { key: 1, id: o.column.prop + "DomData" + o.rowIndex, class: Vue.normalizeClass(o.isShowForm ? "" : "cell--span") }, [Vue.createTextVNode(Vue.toDisplayString(e2.$escapeHtml(i2.linkObject.label)) + " ", 1), i2.linkObject.icon ? (Vue.openBlock(), Vue.createBlock(g, { key: 0, iconValue: i2.linkObject.icon }, null, 8, ["iconValue"])) : Vue.createCommentVNode("", true)], 10, _hoisted_17$3))]), _: 1 })) : o.column.formatter && "richEditor" === o.column.formatter.type ? (Vue.openBlock(), Vue.createBlock(A, { key: 3, content: e2.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: Vue.withCtx(() => [Vue.createElementVNode("em", { class: "fa fa-info-circle annex-cell", onClick: t2[6] || (t2[6] = (e3) => a.showRichEditorContent(o.row, o.column, a.getHeader())) })]), _: 1 }, 8, ["content"])) : o.column.formatter && "icon" === o.column.formatter.type ? (Vue.openBlock(), Vue.createBlock(y, { key: 4, id: o.column.prop + "DomData" + o.rowIndex, column: o.column, row: o.row, "row-index": o.rowIndex, "is-sql": o.isSql, "list-code": o.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : e2.isShowOverflowTooltip ? (Vue.openBlock(), Vue.createElementBlock("span", { key: 5, id: o.column.prop + "DomData" + o.rowIndex, style: Vue.normalizeStyle("newline" === i2.textOverflow ? {} : { width: i2.cellWidth + "px" }), title: a.getLabel(o.row), class: Vue.normalizeClass("newline" === i2.textOverflow ? "wrap-text" : "ellipsis cell--span"), innerHTML: e2.$escapeHtml(a.getLabel(o.row, o.rowIndex)) }, null, 14, _hoisted_18$2)) : (Vue.openBlock(), Vue.createElementBlock("span", { key: 6, id: o.column.prop + "DomData" + o.rowIndex, class: Vue.normalizeClass(o.isShowForm ? "" : "cell--span") }, Vue.toDisplayString(e2.$escapeHtml(a.getLabel(o.row, o.rowIndex))), 11, _hoisted_19$1))], 64))], 2)), i2.showSingleImgFlag ? (Vue.openBlock(), Vue.createBlock(w, { key: 2, "file-list": i2.fileList, onClose: t2[7] || (t2[7] = (e3) => i2.showSingleImgFlag = false) }, null, 8, ["file-list"])) : Vue.createCommentVNode("", true), i2.showRichEditorViewer ? (Vue.openBlock(), Vue.createBlock(C, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: a.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : Vue.createCommentVNode("", true)]);
|
|
6175
6177
|
}
|
|
6176
|
-
const NormalColumnContent = _export_sfc(_sfc_main$1Z, [["render", _sfc_render$1e], ["__scopeId", "data-v-
|
|
6178
|
+
const NormalColumnContent = _export_sfc(_sfc_main$1Z, [["render", _sfc_render$1e], ["__scopeId", "data-v-ee8f5d1d"]]), normalColumn_vue_vue_type_style_index_0_scoped_5724ee41_lang = "", _sfc_main$1Y = { components: { DynamicInput, ViewImageDialog, FsPreview, RichEditorViewer, CirclePlus: ElementPlusIconsVue.CirclePlus, ElIconZoomIn: ElementPlusIconsVue.ZoomIn, GridIcon, NormalColumnContent }, name: "NormalColumn", props: { column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null }, gridRef: { type: Object, default: null } }, data() {
|
|
6177
6179
|
let e2;
|
|
6178
6180
|
const t2 = store$1.get(this.listCode), o = t2.options;
|
|
6179
6181
|
t2.options.extraParam && t2.options.extraParam.entityMap && (e2 = t2.options.extraParam.entityMap);
|
|
@@ -6255,9 +6257,9 @@
|
|
|
6255
6257
|
} }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit", "deleteFormSubTableRow"] }, _hoisted_1$1s = ["title", "innerHTML"], _hoisted_2$Y = { style: { "margin-left": "5px" } };
|
|
6256
6258
|
function _sfc_render$1d(e2, t2, o, n, i2, a) {
|
|
6257
6259
|
const l = Vue.resolveComponent("CirclePlus"), s = Vue.resolveComponent("el-icon"), r = Vue.resolveComponent("Remove"), u = Vue.resolveComponent("NormalColumnContent"), c = Vue.resolveComponent("el-table-column");
|
|
6258
|
-
return Vue.openBlock(), Vue.createBlock(c, { key: o.column.prop, align: i2.align, "class-name": o.column.prop, "filter-method": a.filterMethod, filters: a.filters, fixed: a.fixed, "header-align": i2.headerAlign, prop: o.column.prop, sortable: a.sortable, "min-width": a.getColumnWidth() }, { header: Vue.withCtx(() => [o.column.customHeader ? (Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(o.column.customHeader), { key: 1, prop: o.column.prop, parent: i2.parentFormData, "grid-data": o.gridData, "current-page": o.currentPage, label: e2.$escapeHtml(e2.label), column: o.column }, null, 8, ["prop", "parent", "grid-data", "current-page", "label", "column"])) : (Vue.openBlock(), Vue.createElementBlock("span", { key: 0, class: Vue.normalizeClass([{ is_req: a.isFieldRequired() }, "normal-column-header"]) }, [Vue.createElementVNode("span", { title: e2.$escapeHtml(e2.label), class: "cell--span required__label", innerHTML: e2.$escapeHtml(e2.label) }, null, 8, _hoisted_1$1s)], 2)), Vue.createElementVNode("span", _hoisted_2$Y, [i2.isShowAdd ? (Vue.openBlock(), Vue.createBlock(s, { key: 0, class: "normal-column-header normal-column-header-icon", onClick: a.createFormSubTableRow }, { default: Vue.withCtx(() => [Vue.createVNode(l)]), _: 1 }, 8, ["onClick"])) : Vue.createCommentVNode("", true), i2.isShowDelete ? (Vue.openBlock(), Vue.createBlock(s, { key: 1, class: "normal-column-header normal-column-header-icon", onClick: a.deleteFormSubTableRow }, { default: Vue.withCtx(() => [Vue.createVNode(r)]), _: 1 }, 8, ["onClick"])) : Vue.createCommentVNode("", true)])]), default: Vue.withCtx((e3) => [Vue.createVNode(u, { ref: o.column.prop, "is-sql": o.isSql, column: o.column, "list-code": o.listCode, "new-width": o.newWidth, "drag-column-prop": o.dragColumnProp, "right-click-menu-arr": i2.options.rightClickMenuArr, "table-name": o.tableName, "page-code": o.pageCode, "list-toolbar-form-data": o.listToolbarFormData, "list-name": o.listName, options: i2.options, "current-page": o.currentPage, "grid-data": o.gridData, "page-grid-data": o.pageGridData, row: e3.row, "row-index": e3.$index, "line-edit": a.lineEdit, "custom-format": o.customFormat, class: Vue.normalizeClass(a.isValidateError(e3.row, e3.$index) ? "required_bg required-corner" : ""), style: Vue.normalizeStyle(a.isValidateError(e3.row, e3.$index) ? "display:block;" : ""), onOpenPage: a.openPageEvent, onRefresData: a.refresData, onRefreshList: a.refreshList, onRefresPortData: a.refresPortData, onRefresPortsData: a.refresPortsData, onRefresMainTableFields: a.refresMainTableFields, onProhibitToEdit: a.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", "onOpenPage", "onRefresData", "onRefreshList", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onProhibitToEdit"])]), _: 1 }, 8, ["align", "class-name", "filter-method", "filters", "fixed", "header-align", "prop", "sortable", "min-width"]);
|
|
6260
|
+
return Vue.openBlock(), Vue.createBlock(c, { key: o.column.prop, align: i2.align, "class-name": o.column.prop, "filter-method": a.filterMethod, filters: a.filters, fixed: a.fixed, "header-align": i2.headerAlign, prop: o.column.prop, sortable: a.sortable, "min-width": a.getColumnWidth() }, { header: Vue.withCtx(() => [o.column.customHeader ? (Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(o.column.customHeader), { key: 1, prop: o.column.prop, parent: i2.parentFormData, "grid-data": o.gridData, "current-page": o.currentPage, label: e2.$escapeHtml(e2.label), column: o.column, "grid-ref": o.gridRef }, null, 8, ["prop", "parent", "grid-data", "current-page", "label", "column", "grid-ref"])) : (Vue.openBlock(), Vue.createElementBlock("span", { key: 0, class: Vue.normalizeClass([{ is_req: a.isFieldRequired() }, "normal-column-header"]) }, [Vue.createElementVNode("span", { title: e2.$escapeHtml(e2.label), class: "cell--span required__label", innerHTML: e2.$escapeHtml(e2.label) }, null, 8, _hoisted_1$1s)], 2)), Vue.createElementVNode("span", _hoisted_2$Y, [i2.isShowAdd ? (Vue.openBlock(), Vue.createBlock(s, { key: 0, class: "normal-column-header normal-column-header-icon", onClick: a.createFormSubTableRow }, { default: Vue.withCtx(() => [Vue.createVNode(l)]), _: 1 }, 8, ["onClick"])) : Vue.createCommentVNode("", true), i2.isShowDelete ? (Vue.openBlock(), Vue.createBlock(s, { key: 1, class: "normal-column-header normal-column-header-icon", onClick: a.deleteFormSubTableRow }, { default: Vue.withCtx(() => [Vue.createVNode(r)]), _: 1 }, 8, ["onClick"])) : Vue.createCommentVNode("", true)])]), default: Vue.withCtx((e3) => [Vue.createVNode(u, { ref: o.column.prop, "is-sql": o.isSql, column: o.column, "list-code": o.listCode, "new-width": o.newWidth, "drag-column-prop": o.dragColumnProp, "right-click-menu-arr": i2.options.rightClickMenuArr, "table-name": o.tableName, "page-code": o.pageCode, "list-toolbar-form-data": o.listToolbarFormData, "list-name": o.listName, options: i2.options, "current-page": o.currentPage, "grid-data": o.gridData, "page-grid-data": o.pageGridData, row: e3.row, "row-index": e3.$index, "line-edit": a.lineEdit, "custom-format": o.customFormat, class: Vue.normalizeClass(a.isValidateError(e3.row, e3.$index) ? "required_bg required-corner" : ""), style: Vue.normalizeStyle(a.isValidateError(e3.row, e3.$index) ? "display:block;" : ""), "grid-ref": o.gridRef, onOpenPage: a.openPageEvent, onRefresData: a.refresData, onRefreshList: a.refreshList, onRefresPortData: a.refresPortData, onRefresPortsData: a.refresPortsData, onRefresMainTableFields: a.refresMainTableFields, onProhibitToEdit: a.prohibitToEdit }, null, 8, ["is-sql", "column", "list-code", "new-width", "drag-column-prop", "right-click-menu-arr", "table-name", "page-code", "list-toolbar-form-data", "list-name", "options", "current-page", "grid-data", "page-grid-data", "row", "row-index", "line-edit", "custom-format", "class", "style", "grid-ref", "onOpenPage", "onRefresData", "onRefreshList", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onProhibitToEdit"])]), _: 1 }, 8, ["align", "class-name", "filter-method", "filters", "fixed", "header-align", "prop", "sortable", "min-width"]);
|
|
6259
6261
|
}
|
|
6260
|
-
const NormalColumn = _export_sfc(_sfc_main$1Y, [["render", _sfc_render$1d], ["__scopeId", "data-v-
|
|
6262
|
+
const NormalColumn = _export_sfc(_sfc_main$1Y, [["render", _sfc_render$1d], ["__scopeId", "data-v-5724ee41"]]), _sfc_main$1X = { name: "GroupColumn", components: { NormalColumn }, props: { column: { type: Object, default: null }, customFormat: { type: Object, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, gridRef: { type: Object, default: null } }, data: () => ({ label: null }), computed: { visibleChildren() {
|
|
6261
6263
|
return this.column.children ? this.column.children.filter((e2) => (void 0 === e2.show || e2.show) && (void 0 === e2.dyn_show || true === e2.dyn_show)) : [];
|
|
6262
6264
|
} }, created() {
|
|
6263
6265
|
this.label = this.getHeader(), this.column;
|
|
@@ -6272,7 +6274,7 @@
|
|
|
6272
6274
|
} } }, _hoisted_1$1r = ["title", "innerHTML"];
|
|
6273
6275
|
function _sfc_render$1c(e2, t2, o, n, i2, a) {
|
|
6274
6276
|
const l = Vue.resolveComponent("el-table-column");
|
|
6275
|
-
return Vue.openBlock(), Vue.createBlock(l, { "min-width": o.column.width ? o.column.width : 150, align: o.column.groupHeader ? "center" : "" }, { header: Vue.withCtx(() => [Vue.createElementVNode("span", { class: "cell--span", title: i2.label, innerHTML: i2.label }, null, 8, _hoisted_1$1r)]), default: Vue.withCtx(() => [o.customFormat ? (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, { key: 0 }, Vue.renderList(a.visibleChildren, (n2, i3) => (Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(n2.prop ? "NormalColumn" : "GroupColumn"), { key: n2.label + i3, column: n2, "is-sql": o.isSql, "custom-format": n2.prop ? o.customFormat[n2.prop] : o.customFormat, "list-code": o.listCode, "grid-data": o.gridData, "page-grid-data": o.gridData, onFindIndex: t2[0] || (t2[0] = (t3) => e2.findIndex(e2.scope.$index)), onRefresData: e2.refresData, onRefresPortData: e2.refresPortData, onRefresPortsData: e2.refresPortsData, onRefresMainTableFields: e2.refresMainTableFields, onProhibitToEdit: a.prohibitToEdit, onOpenPage: a.openPageDialog }, null, 40, ["column", "is-sql", "custom-format", "list-code", "grid-data", "page-grid-data", "onRefresData", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onProhibitToEdit", "onOpenPage"]))), 128)) : (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, { key: 1 }, Vue.renderList(a.visibleChildren, (e3, t3) => (Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(e3.prop ? "NormalColumn" : "GroupColumn"), { key: e3.label + t3, "is-sql": o.isSql, column: e3, "list-code": o.listCode, "grid-data": o.gridData, "page-grid-data": o.gridData, onProhibitToEdit: a.prohibitToEdit, onOpenPage: a.openPageDialog }, null, 40, ["is-sql", "column", "list-code", "grid-data", "page-grid-data", "onProhibitToEdit", "onOpenPage"]))), 128))]), _: 1 }, 8, ["min-width", "align"]);
|
|
6277
|
+
return Vue.openBlock(), Vue.createBlock(l, { "min-width": o.column.width ? o.column.width : 150, align: o.column.groupHeader ? "center" : "" }, { header: Vue.withCtx(() => [Vue.createElementVNode("span", { class: "cell--span", title: i2.label, innerHTML: i2.label }, null, 8, _hoisted_1$1r)]), default: Vue.withCtx(() => [o.customFormat ? (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, { key: 0 }, Vue.renderList(a.visibleChildren, (n2, i3) => (Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(n2.prop ? "NormalColumn" : "GroupColumn"), { key: n2.label + i3, column: n2, "is-sql": o.isSql, "custom-format": n2.prop ? o.customFormat[n2.prop] : o.customFormat, "list-code": o.listCode, "grid-data": o.gridData, "page-grid-data": o.gridData, "grid-ref": o.gridRef, onFindIndex: t2[0] || (t2[0] = (t3) => e2.findIndex(e2.scope.$index)), onRefresData: e2.refresData, onRefresPortData: e2.refresPortData, onRefresPortsData: e2.refresPortsData, onRefresMainTableFields: e2.refresMainTableFields, onProhibitToEdit: a.prohibitToEdit, onOpenPage: a.openPageDialog }, null, 40, ["column", "is-sql", "custom-format", "list-code", "grid-data", "page-grid-data", "grid-ref", "onRefresData", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onProhibitToEdit", "onOpenPage"]))), 128)) : (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, { key: 1 }, Vue.renderList(a.visibleChildren, (e3, t3) => (Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(e3.prop ? "NormalColumn" : "GroupColumn"), { key: e3.label + t3, "is-sql": o.isSql, column: e3, "list-code": o.listCode, "grid-data": o.gridData, "page-grid-data": o.gridData, "grid-ref": o.gridRef, onProhibitToEdit: a.prohibitToEdit, onOpenPage: a.openPageDialog }, null, 40, ["is-sql", "column", "list-code", "grid-data", "page-grid-data", "grid-ref", "onProhibitToEdit", "onOpenPage"]))), 128))]), _: 1 }, 8, ["min-width", "align"]);
|
|
6276
6278
|
}
|
|
6277
6279
|
const GroupColumn = _export_sfc(_sfc_main$1X, [["render", _sfc_render$1c]]), _sfc_main$1W = { name: "ColumnsConfig", props: { listCode: { type: String, default: "" }, visibleColumns: { type: Object, default: () => {
|
|
6278
6280
|
} } }, data: () => ({ columns: [], searchColumns: [], hasLoaded: false }), created() {
|
|
@@ -7731,7 +7733,7 @@
|
|
|
7731
7733
|
function _sfc_render$_(e2, t2, o, n, i2, a) {
|
|
7732
7734
|
return Vue.openBlock(), Vue.createElementBlock("ul", _hoisted_1$1j, [(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(o.buttomArr, (e3) => (Vue.openBlock(), Vue.createElementBlock("li", { key: e3.name }, [Vue.createElementVNode("i", { class: Vue.normalizeClass(e3.icon) }, null, 2), Vue.createElementVNode("span", { onClick: (t3) => a.buttonClick(e3.event, e3) }, Vue.toDisplayString(e3.label), 9, _hoisted_2$S)]))), 128))]);
|
|
7733
7735
|
}
|
|
7734
|
-
const headerContextMenu = _export_sfc(_sfc_main$1I, [["render", _sfc_render$_], ["__scopeId", "data-v-040fcf55"]]),
|
|
7736
|
+
const headerContextMenu = _export_sfc(_sfc_main$1I, [["render", _sfc_render$_], ["__scopeId", "data-v-040fcf55"]]), superGrid_vue_vue_type_style_index_0_scoped_9d30dd5e_rel_stylesheet_2Fscss_lang = "", _sfc_main$1H = { components: { IndexColumn, SelectionColumn, NormalColumn, GroupColumn, ColumnsConfig, SearchForm: SearchForm$1, headerContextMenu, searchFormDialog, ElIconSetting: ElementPlusIconsVue.Setting, ElIconRefresh: ElementPlusIconsVue.Refresh, RowDetail, MobileCard }, name: "SuperGrid", props: { isShowAutoCard: { type: Boolean, default: true }, code: { type: String, default: "" }, url: { type: String, default: "" }, options: { type: Object, default: function() {
|
|
7735
7737
|
return {};
|
|
7736
7738
|
} }, publishVersion: { type: Number, default: 0 }, customFormatter: { type: Object, default: null }, searchFormInfo: { type: Object, default: () => ({}) }, showPagination: { type: Boolean, default: true }, listToolbarFormData: { type: Object, default: null }, settings: { type: Object, default: null }, additionalParamMap: { type: Object, default: null }, manualHeightOffset: { type: [void 0, Number], default: void 0 }, isDialog: { type: Boolean, default: false } }, data() {
|
|
7737
7739
|
let e2;
|
|
@@ -8808,9 +8810,9 @@
|
|
|
8808
8810
|
function _sfc_render$Z(e2, t2, o, n, i2, a) {
|
|
8809
8811
|
var _a, _b, _c, _d;
|
|
8810
8812
|
const l = Vue.resolveComponent("search-form"), s = Vue.resolveComponent("el-button"), r = Vue.resolveComponent("el-option"), u = Vue.resolveComponent("el-select"), c = Vue.resolveComponent("search-form-dialog"), d = Vue.resolveComponent("MobileCard"), p = Vue.resolveComponent("row-detail"), m = Vue.resolveComponent("el-table"), h2 = Vue.resolveComponent("el-icon-setting"), g = Vue.resolveComponent("el-icon-refresh"), f = Vue.resolveComponent("el-pagination"), A = Vue.resolveComponent("columns-config"), y = Vue.resolveComponent("header-context-menu"), w = Vue.resolveComponent("row-form"), C = Vue.resolveDirective("resize");
|
|
8811
|
-
return Vue.withDirectives((Vue.openBlock(), Vue.createElementBlock("div", { "data-v": "1.0.0", class: "super-grid-main-view", style: Vue.normalizeStyle(i2.subTableStyle), onClick: t2[11] || (t2[11] = (...t3) => e2.onClickTableMain && e2.onClickTableMain(...t3)) }, [(i2.isFormSubTable && i2.isMobile && i2.isHasSearchColumn && i2.query && ("embedded" === i2.query.showType || "popup" === i2.query.showType) || !i2.isFormSubTable && i2.query && "embedded" === i2.query.showType) && i2.hasLoadedColumns ? Vue.withDirectives((Vue.openBlock(), Vue.createBlock(l, { key: 0, ref: "sf", columns: i2.columns, code: o.code, url: o.url, pagination: i2.pagination, query: i2.query, "search-form-info": o.searchFormInfo, "search-param": i2.searchFormContent, "init-search-props": i2.initSearchProps, "list-toolbar-form-data": o.listToolbarFormData, "load-complete-query": i2.loadCompleteQuery, class: "super-grid-main-search-view", onSearch: a.doSearch, onReset: a.resetSearch, onOpenFold: a.openFold, onCanShowMobileSearch: t2[0] || (t2[0] = (t3) => e2.$emit("can-show-mobile-search", o.code)), onCloseMobileSearch: t2[1] || (t2[1] = (e3) => i2.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"])), [[Vue.vShow, !i2.isMobile || i2.isMobile && i2.isShowMobileSearch]]) : Vue.createCommentVNode("", true), Vue.createElementVNode("div", _hoisted_1$1i, [Vue.createElementVNode("div", _hoisted_2$R, [i2.isFormSubTable && i2.isHasSearchColumn && i2.query && ("embedded" === i2.query.showType || "popup" === i2.query.showType) ? (Vue.openBlock(), Vue.createBlock(s, { key: 0, size: "small", onClick: a.showSubTableSearch }, { default: Vue.withCtx(() => [Vue.createTextVNode(Vue.toDisplayString(e2.$t("imatrixUIMessage.search")), 1)]), _: 1 }, 8, ["onClick"])) : Vue.createCommentVNode("", true)]), i2.isMobile && i2.orderColumns.length > 0 ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_3$E, [Vue.createVNode(u, { style: { width: "120px", "padding-right": "10px" }, placeholder: e2.$t("superGrid.orderField"), clearable: "", filterable: "", modelValue: i2.orderField, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.orderField = e3), onChange: a.sortChangeColumn }, { default: Vue.withCtx(() => [(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(i2.orderColumns, (e3) => (Vue.openBlock(), Vue.createBlock(r, { key: e3.prop, value: e3.prop, label: a.getColumnLabel(e3) }, null, 8, ["value", "label"]))), 128))]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"]), Vue.createVNode(u, { style: { width: "120px" }, placeholder: e2.$t("superGrid.orderType"), clearable: "", modelValue: i2.orderType, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.orderType = e3), onChange: a.sortChangeType }, { default: Vue.withCtx(() => [Vue.createVNode(r, { value: "ascending", label: e2.$t("superGrid.orderTypeAsc") }, null, 8, ["label"]), Vue.createVNode(r, { value: "descending", label: e2.$t("superGrid.orderTypeDesc") }, null, 8, ["label"])]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"])])) : Vue.createCommentVNode("", true)]), i2.hasLoadedColumns ? (Vue.openBlock(), Vue.createBlock(c, { key: 1, ref: "sfDialog", columns: i2.columns, code: o.code, url: o.url, pagination: i2.pagination, query: i2.query, "search-form-info": o.searchFormInfo, "search-param": i2.searchFormContent, "init-search-props": i2.initSearchProps, "list-toolbar-form-data": o.listToolbarFormData, "load-complete-query": i2.loadCompleteQuery, onSearch: a.doSearchDialog, onReset: a.resetSearch, onClose: a.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"])) : Vue.createCommentVNode("", true), Vue.createElementVNode("div", { ref: "superGridMain", class: Vue.normalizeClass(["grid-area " + o.code, "super-grid-main-body"]) }, [a.isShowCard ? (Vue.openBlock(), Vue.createBlock(d, { key: 0, selection: i2.selectionTableData, columns: a.visibleColumns, listCode: o.code, getColumnComponentData: a.getColumnComponentData, data: a.tableDatas, isEnableEdit: (_a = i2.lineEdit) == null ? void 0 : _a.editable, "current-page": i2.currentPage, "onUpdate:currentPage": t2[4] || (t2[4] = (e3) => i2.currentPage = e3), "page-size": (_c = (_b = i2.pagination) == null ? void 0 : _b.pageSizes) == null ? void 0 : _c[0], "page-total": (_d = i2.pagination) == null ? void 0 : _d.total, class: "super-grid-main-card-view", onSelect: a.selectRecord, onSelectionChange: a.cardSelectionChangeEvent, onCurrentChange: a.handleCurrentChange, onRowClick: a.rowClickEvent, onRowDblclick: a.rowDblclickEvent }, null, 8, ["selection", "columns", "listCode", "getColumnComponentData", "data", "isEnableEdit", "current-page", "page-size", "page-total", "onSelect", "onSelectionChange", "onCurrentChange", "onRowClick", "onRowDblclick"])) : i2.refreshGrid && i2.hasLoadedColumns && !a.isShowCard ? (Vue.openBlock(), Vue.createBlock(m, { key: 1, ref: "superGrid", data: a.tableDatas, "row-key": a.getRowKeyProp, "show-summary": a.showSummary, "summary-method": a.getSummaries, style: Vue.normalizeStyle(i2.tableStyle), stripe: i2.stripe, border: true, "default-expand-all": i2.defaultExpandAll, lazy: i2.isLazy, load: a.loadChildren, "row-style": a.changeRowStyle, "cell-style": a.changeCellStyle, "header-cell-style": a.changeHeaderStyle, "highlight-current-row": true, "span-method": a.rowSpan, "max-height": a.hasMaxHeight, height: a.hasTableHeight, class: Vue.normalizeClass([i2.tableClass, "super-grid-main-table-view"]), "tree-props": a.getTreeProps(i2.parentProp, i2.isSql, i2.isLazy, i2.dataSourceType), "scrollbar-always-on": a.scrollbarAlwaysOn, onSortChange: a.handleSortChange, onSelect: a.selectRecord, onSelectAll: a.selectAllRecord, onSelectionChange: a.selectionChangeEvent, onRowClick: a.rowClickEvent, onRowDblclick: a.rowDblclickEvent, onExpandChange: a.expandChange, onHeaderClick: a.headerClickEvent, onHeaderDragend: a.changeHederWidth, onHeaderContextmenu: a.headerContextmenu, onCellClick: a.selectCell, onCellDblclick: e2.cellDblClick }, { default: Vue.withCtx(() => [i2.detailColumn ? (Vue.openBlock(), Vue.createBlock(p, { key: 0, column: i2.detailColumn, "list-code": o.code, onShowDetail: a.openRowForm }, null, 8, ["column", "list-code", "onShowDetail"])) : Vue.createCommentVNode("", true), (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(a.visibleColumnsComponentData, ({ column: e3, ...t3 }, o2) => (Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(a.getComponentType(e3)), Vue.mergeProps({ ref_for: true, ref: e3.prop, key: e3.label + o2 }, { ref_for: true }, t3.$bind, Vue.toHandlers(t3.$on)), null, 16))), 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"])) : Vue.createCommentVNode("", true), o.showPagination && !a.isShowCard ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_4$t, [Vue.createElementVNode("div", _hoisted_5$m, [i2.isFormSubTable && i2.pagination && i2.isShowPage ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_6$d)) : Vue.createCommentVNode("", true), i2.basicInfo.customConfig && !i2.isFormSubTable ? (Vue.openBlock(), Vue.createElementBlock("div", { key: 1, class: "el-icon-setting", title: e2.$t("superGrid.columnConfig"), onClick: t2[5] || (t2[5] = (...e3) => a.configColumns && a.configColumns(...e3)) }, [Vue.createVNode(h2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, _hoisted_7$9)) : Vue.createCommentVNode("", true), i2.isFormSubTable ? Vue.createCommentVNode("", true) : (Vue.openBlock(), Vue.createElementBlock("div", { key: 2, class: "el-icon-refresh", title: e2.$t("superGrid.refresh"), onClick: t2[6] || (t2[6] = (...e3) => a.refreshGridData && a.refreshGridData(...e3)) }, [Vue.createVNode(g, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, _hoisted_8$8))]), i2.pagination && i2.isShowPage ? (Vue.openBlock(), Vue.createBlock(f, { key: 0, "current-page": i2.currentPage, "onUpdate:currentPage": t2[7] || (t2[7] = (e3) => i2.currentPage = e3), "page-size": i2.pagination.pageSize, "onUpdate:pageSize": t2[8] || (t2[8] = (e3) => i2.pagination.pageSize = e3), background: "", "page-sizes": i2.pagination.pageSizes, layout: i2.pagination.layout, total: i2.pagination.showTotal ? void 0 !== i2.pagination.total && "" !== i2.pagination.total && null !== i2.pagination.total ? i2.pagination.total : 0 : 1e11, onSizeChange: a.handleSizeChange, onCurrentChange: a.handleCurrentChange }, null, 8, ["current-page", "page-size", "page-sizes", "layout", "total", "onSizeChange", "onCurrentChange"])) : Vue.createCommentVNode("", true)])) : Vue.createCommentVNode("", true)], 2), i2.showColumnConfig ? (Vue.openBlock(), Vue.createBlock(A, { key: 2, "visible-columns": a.visibleColumns, "list-code": o.code, "is-sql": i2.isSql, onClose: t2[9] || (t2[9] = (e3) => a.closeCustomConfig(e3)), onReset: t2[10] || (t2[10] = (e3) => a.resetCustomConfig(e3)) }, null, 8, ["visible-columns", "list-code", "is-sql"])) : Vue.createCommentVNode("", true), i2.showHeaderContextmenu ? (Vue.openBlock(), Vue.createBlock(y, { key: 3, ref: "headerMenu", "buttom-arr": o.options.rightClickMenuArr, column: i2.rightClickColumn, onClearHeaderContextmenu: a.clearHeaderContextmenu }, null, 8, ["buttom-arr", "column", "onClearHeaderContextmenu"])) : Vue.createCommentVNode("", true), i2.showRowForm ? (Vue.openBlock(), Vue.createBlock(w, { key: 4, "parent-form-data": i2.parentFormData, columns: a.visibleColumns, "row-index": i2.currentEditRowIndex, "list-code": o.code, "drag-column-prop": i2.dragColumnProp, "is-sql": i2.isSql, "base-url": i2.baseURL, options: o.options, "table-name": i2.tableName, "page-code": i2.pageCode, "list-toolbar-form-data": o.listToolbarFormData, "list-name": i2.listName, "current-page": i2.currentPage, "grid-data": i2.isSubTableShowPage ? i2.subTableData : i2.gridData, "page-grid-data": i2.isSubTableShowPage ? a.getSubTableGridData(i2.subTableData) : i2.gridData, "line-edit": i2.lineEdit, "show-page": i2.pagination && i2.isShowPage, "page-size": i2.pagination ? i2.pagination.pageSize : null, onClose: a.closeRowForm, onRefresData: a.refresData, onRefresPortData: a.refresPortData, onRefresPortsData: a.refresPortsData, onRefresMainTableFields: a.refresMainTableFields, onOpenPage: a.openPageDialog, onProhibitToEdit: a.prohibitToEdit, onRefreshList: a.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"])) : Vue.createCommentVNode("", true)], 4)), [[C, a.onResize]]);
|
|
8813
|
+
return Vue.withDirectives((Vue.openBlock(), Vue.createElementBlock("div", { "data-v": "1.0.0", class: "super-grid-main-view", style: Vue.normalizeStyle(i2.subTableStyle), onClick: t2[11] || (t2[11] = (...t3) => e2.onClickTableMain && e2.onClickTableMain(...t3)) }, [(i2.isFormSubTable && i2.isMobile && i2.isHasSearchColumn && i2.query && ("embedded" === i2.query.showType || "popup" === i2.query.showType) || !i2.isFormSubTable && i2.query && "embedded" === i2.query.showType) && i2.hasLoadedColumns ? Vue.withDirectives((Vue.openBlock(), Vue.createBlock(l, { key: 0, ref: "sf", columns: i2.columns, code: o.code, url: o.url, pagination: i2.pagination, query: i2.query, "search-form-info": o.searchFormInfo, "search-param": i2.searchFormContent, "init-search-props": i2.initSearchProps, "list-toolbar-form-data": o.listToolbarFormData, "load-complete-query": i2.loadCompleteQuery, class: "super-grid-main-search-view", onSearch: a.doSearch, onReset: a.resetSearch, onOpenFold: a.openFold, onCanShowMobileSearch: t2[0] || (t2[0] = (t3) => e2.$emit("can-show-mobile-search", o.code)), onCloseMobileSearch: t2[1] || (t2[1] = (e3) => i2.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"])), [[Vue.vShow, !i2.isMobile || i2.isMobile && i2.isShowMobileSearch]]) : Vue.createCommentVNode("", true), Vue.createElementVNode("div", _hoisted_1$1i, [Vue.createElementVNode("div", _hoisted_2$R, [i2.isFormSubTable && i2.isHasSearchColumn && i2.query && ("embedded" === i2.query.showType || "popup" === i2.query.showType) ? (Vue.openBlock(), Vue.createBlock(s, { key: 0, size: "small", onClick: a.showSubTableSearch }, { default: Vue.withCtx(() => [Vue.createTextVNode(Vue.toDisplayString(e2.$t("imatrixUIMessage.search")), 1)]), _: 1 }, 8, ["onClick"])) : Vue.createCommentVNode("", true)]), i2.isMobile && i2.orderColumns.length > 0 ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_3$E, [Vue.createVNode(u, { style: { width: "120px", "padding-right": "10px" }, placeholder: e2.$t("superGrid.orderField"), clearable: "", filterable: "", modelValue: i2.orderField, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.orderField = e3), onChange: a.sortChangeColumn }, { default: Vue.withCtx(() => [(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(i2.orderColumns, (e3) => (Vue.openBlock(), Vue.createBlock(r, { key: e3.prop, value: e3.prop, label: a.getColumnLabel(e3) }, null, 8, ["value", "label"]))), 128))]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"]), Vue.createVNode(u, { style: { width: "120px" }, placeholder: e2.$t("superGrid.orderType"), clearable: "", modelValue: i2.orderType, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.orderType = e3), onChange: a.sortChangeType }, { default: Vue.withCtx(() => [Vue.createVNode(r, { value: "ascending", label: e2.$t("superGrid.orderTypeAsc") }, null, 8, ["label"]), Vue.createVNode(r, { value: "descending", label: e2.$t("superGrid.orderTypeDesc") }, null, 8, ["label"])]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"])])) : Vue.createCommentVNode("", true)]), i2.hasLoadedColumns ? (Vue.openBlock(), Vue.createBlock(c, { key: 1, ref: "sfDialog", columns: i2.columns, code: o.code, url: o.url, pagination: i2.pagination, query: i2.query, "search-form-info": o.searchFormInfo, "search-param": i2.searchFormContent, "init-search-props": i2.initSearchProps, "list-toolbar-form-data": o.listToolbarFormData, "load-complete-query": i2.loadCompleteQuery, onSearch: a.doSearchDialog, onReset: a.resetSearch, onClose: a.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"])) : Vue.createCommentVNode("", true), Vue.createElementVNode("div", { ref: "superGridMain", class: Vue.normalizeClass(["grid-area " + o.code, "super-grid-main-body"]) }, [a.isShowCard ? (Vue.openBlock(), Vue.createBlock(d, { key: 0, selection: i2.selectionTableData, columns: a.visibleColumns, listCode: o.code, getColumnComponentData: a.getColumnComponentData, data: a.tableDatas, isEnableEdit: (_a = i2.lineEdit) == null ? void 0 : _a.editable, "current-page": i2.currentPage, "onUpdate:currentPage": t2[4] || (t2[4] = (e3) => i2.currentPage = e3), "page-size": (_c = (_b = i2.pagination) == null ? void 0 : _b.pageSizes) == null ? void 0 : _c[0], "page-total": (_d = i2.pagination) == null ? void 0 : _d.total, class: "super-grid-main-card-view", onSelect: a.selectRecord, onSelectionChange: a.cardSelectionChangeEvent, onCurrentChange: a.handleCurrentChange, onRowClick: a.rowClickEvent, onRowDblclick: a.rowDblclickEvent }, null, 8, ["selection", "columns", "listCode", "getColumnComponentData", "data", "isEnableEdit", "current-page", "page-size", "page-total", "onSelect", "onSelectionChange", "onCurrentChange", "onRowClick", "onRowDblclick"])) : i2.refreshGrid && i2.hasLoadedColumns && !a.isShowCard ? (Vue.openBlock(), Vue.createBlock(m, { key: 1, ref: "superGrid", data: a.tableDatas, "row-key": a.getRowKeyProp, "show-summary": a.showSummary, "summary-method": a.getSummaries, style: Vue.normalizeStyle(i2.tableStyle), stripe: i2.stripe, border: true, "default-expand-all": i2.defaultExpandAll, lazy: i2.isLazy, load: a.loadChildren, "row-style": a.changeRowStyle, "cell-style": a.changeCellStyle, "header-cell-style": a.changeHeaderStyle, "highlight-current-row": true, "span-method": a.rowSpan, "max-height": a.hasMaxHeight, height: a.hasTableHeight, class: Vue.normalizeClass([i2.tableClass, "super-grid-main-table-view"]), "tree-props": a.getTreeProps(i2.parentProp, i2.isSql, i2.isLazy, i2.dataSourceType), "scrollbar-always-on": a.scrollbarAlwaysOn, onSortChange: a.handleSortChange, onSelect: a.selectRecord, onSelectAll: a.selectAllRecord, onSelectionChange: a.selectionChangeEvent, onRowClick: a.rowClickEvent, onRowDblclick: a.rowDblclickEvent, onExpandChange: a.expandChange, onHeaderClick: a.headerClickEvent, onHeaderDragend: a.changeHederWidth, onHeaderContextmenu: a.headerContextmenu, onCellClick: a.selectCell, onCellDblclick: e2.cellDblClick }, { default: Vue.withCtx(() => [i2.detailColumn ? (Vue.openBlock(), Vue.createBlock(p, { key: 0, column: i2.detailColumn, "list-code": o.code, onShowDetail: a.openRowForm }, null, 8, ["column", "list-code", "onShowDetail"])) : Vue.createCommentVNode("", true), (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(a.visibleColumnsComponentData, ({ column: e3, ...t3 }, o2) => (Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(a.getComponentType(e3)), Vue.mergeProps({ ref_for: true, ref: e3.prop, key: e3.label + o2, "grid-ref": a.getSuperGridRef() }, { ref_for: true }, t3.$bind, Vue.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"])) : Vue.createCommentVNode("", true), o.showPagination && !a.isShowCard ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_4$t, [Vue.createElementVNode("div", _hoisted_5$m, [i2.isFormSubTable && i2.pagination && i2.isShowPage ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_6$d)) : Vue.createCommentVNode("", true), i2.basicInfo.customConfig && !i2.isFormSubTable ? (Vue.openBlock(), Vue.createElementBlock("div", { key: 1, class: "el-icon-setting", title: e2.$t("superGrid.columnConfig"), onClick: t2[5] || (t2[5] = (...e3) => a.configColumns && a.configColumns(...e3)) }, [Vue.createVNode(h2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, _hoisted_7$9)) : Vue.createCommentVNode("", true), i2.isFormSubTable ? Vue.createCommentVNode("", true) : (Vue.openBlock(), Vue.createElementBlock("div", { key: 2, class: "el-icon-refresh", title: e2.$t("superGrid.refresh"), onClick: t2[6] || (t2[6] = (...e3) => a.refreshGridData && a.refreshGridData(...e3)) }, [Vue.createVNode(g, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, _hoisted_8$8))]), i2.pagination && i2.isShowPage ? (Vue.openBlock(), Vue.createBlock(f, { key: 0, "current-page": i2.currentPage, "onUpdate:currentPage": t2[7] || (t2[7] = (e3) => i2.currentPage = e3), "page-size": i2.pagination.pageSize, "onUpdate:pageSize": t2[8] || (t2[8] = (e3) => i2.pagination.pageSize = e3), background: "", "page-sizes": i2.pagination.pageSizes, layout: i2.pagination.layout, total: i2.pagination.showTotal ? void 0 !== i2.pagination.total && "" !== i2.pagination.total && null !== i2.pagination.total ? i2.pagination.total : 0 : 1e11, onSizeChange: a.handleSizeChange, onCurrentChange: a.handleCurrentChange }, null, 8, ["current-page", "page-size", "page-sizes", "layout", "total", "onSizeChange", "onCurrentChange"])) : Vue.createCommentVNode("", true)])) : Vue.createCommentVNode("", true)], 2), i2.showColumnConfig ? (Vue.openBlock(), Vue.createBlock(A, { key: 2, "visible-columns": a.visibleColumns, "list-code": o.code, "is-sql": i2.isSql, onClose: t2[9] || (t2[9] = (e3) => a.closeCustomConfig(e3)), onReset: t2[10] || (t2[10] = (e3) => a.resetCustomConfig(e3)) }, null, 8, ["visible-columns", "list-code", "is-sql"])) : Vue.createCommentVNode("", true), i2.showHeaderContextmenu ? (Vue.openBlock(), Vue.createBlock(y, { key: 3, ref: "headerMenu", "buttom-arr": o.options.rightClickMenuArr, column: i2.rightClickColumn, onClearHeaderContextmenu: a.clearHeaderContextmenu }, null, 8, ["buttom-arr", "column", "onClearHeaderContextmenu"])) : Vue.createCommentVNode("", true), i2.showRowForm ? (Vue.openBlock(), Vue.createBlock(w, { key: 4, "parent-form-data": i2.parentFormData, columns: a.visibleColumns, "row-index": i2.currentEditRowIndex, "list-code": o.code, "drag-column-prop": i2.dragColumnProp, "is-sql": i2.isSql, "base-url": i2.baseURL, options: o.options, "table-name": i2.tableName, "page-code": i2.pageCode, "list-toolbar-form-data": o.listToolbarFormData, "list-name": i2.listName, "current-page": i2.currentPage, "grid-data": i2.isSubTableShowPage ? i2.subTableData : i2.gridData, "page-grid-data": i2.isSubTableShowPage ? a.getSubTableGridData(i2.subTableData) : i2.gridData, "line-edit": i2.lineEdit, "show-page": i2.pagination && i2.isShowPage, "page-size": i2.pagination ? i2.pagination.pageSize : null, onClose: a.closeRowForm, onRefresData: a.refresData, onRefresPortData: a.refresPortData, onRefresPortsData: a.refresPortsData, onRefresMainTableFields: a.refresMainTableFields, onOpenPage: a.openPageDialog, onProhibitToEdit: a.prohibitToEdit, onRefreshList: a.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"])) : Vue.createCommentVNode("", true)], 4)), [[C, a.onResize]]);
|
|
8812
8814
|
}
|
|
8813
|
-
const SuperGrid = _export_sfc(_sfc_main$1H, [["render", _sfc_render$Z], ["__scopeId", "data-v-
|
|
8815
|
+
const SuperGrid = _export_sfc(_sfc_main$1H, [["render", _sfc_render$Z], ["__scopeId", "data-v-9d30dd5e"]]);
|
|
8814
8816
|
SuperGrid.install = function(e2) {
|
|
8815
8817
|
e2.component(SuperGrid.name, SuperGrid);
|
|
8816
8818
|
};
|