agilebuilder-ui 1.1.65-tmp20 → 1.1.65-tmp21

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.
@@ -6,7 +6,7 @@ const r = { customFormatValue(e2, o2, a2, i2) {
6
6
  let r2 = e2[o2];
7
7
  this.isObjectProp(o2) && (r2 = this.objectPropOriginalValue(e2, o2));
8
8
  const n = t.doFormat(this.column, r2), l = a2.call(this, r2, n, e2, this.column, i2);
9
- return void 0 !== l && l;
9
+ return void 0 !== l && (window.$vueApp.component(o2 + i2, l), true);
10
10
  }
11
11
  return false;
12
12
  }, isObjectProp: (t2) => !!(t2 && t2.indexOf(".") > 0), objectPropOriginalValue(t2, e2) {
@@ -295,6 +295,6 @@ const b = require("../../_virtual/_plugin-vue_export-helper.cjs"), y = { compone
295
295
  const H = b(y, [["render", function(e2, t2, o2, i2, n2, l2) {
296
296
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
297
297
  const r2 = C.resolveComponent("dynamic-input"), s2 = C.resolveComponent("Edit"), a2 = C.resolveComponent("el-icon"), c2 = C.resolveComponent("el-dropdown-item"), p2 = C.resolveComponent("el-dropdown-menu"), d2 = C.resolveComponent("el-dropdown"), m2 = C.resolveComponent("row-operation"), u2 = C.resolveComponent("secret-info"), h2 = C.resolveComponent("FsPreview"), w2 = C.resolveComponent("SuperIcon"), g2 = C.resolveComponent("el-link"), f2 = C.resolveComponent("el-tooltip"), b2 = C.resolveComponent("GridIcon"), y2 = C.resolveComponent("view-image-dialog"), H2 = C.resolveComponent("rich-editor-viewer"), A = C.resolveDirective("permission");
298
- return C.openBlock(), C.createElementBlock("div", k, [l2.isEditing || o2.isShowForm ? (C.openBlock(), C.createBlock(r2, { key: 0, ref: "dynamicRef", value: o2.row[o2.column.prop], "onUpdate:value": t2[0] || (t2[0] = (e3) => o2.row[o2.column.prop] = e3), class: C.normalizeClass(n2.requiredClass), column: o2.column, "is-sql": o2.isSql, "line-edit": n2.lineEdit, "list-code": o2.listCode, "list-toolbar-form-data": o2.listToolbarFormData, options: o2.column.valueSet, "grid-options": n2.options, position: { row: o2.rowIndex, prop: o2.column.prop }, disabled: n2.disabled, row: o2.row, "row-index": o2.rowIndex, type: o2.column.componentType, onKeyup: C.withKeys(l2.clearAllEditing, ["enter"]), onFindIndex: t2[1] || (t2[1] = (e3) => l2.findIndex(o2.rowIndex)), onFocus: t2[2] || (t2[2] = (e3) => l2.onFocus(o2.rowIndex)), onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList, onRefresData: l2.refresData, onRefresMainTableFields: l2.refresMainTableFields, onRefresPortData: l2.refresPortData, onRefresPortsData: l2.refresPortsData, onChangeDisabled: l2.changeDisabled, onChangeRequired: l2.changeRequired, onOpenPage: l2.openPageEvent }, null, 8, ["value", "class", "column", "is-sql", "line-edit", "list-code", "list-toolbar-form-data", "options", "grid-options", "position", "disabled", "row", "row-index", "type", "onKeyup", "onProhibitToEdit", "onRefreshList", "onRefresData", "onRefresMainTableFields", "onRefresPortData", "onRefresPortsData", "onChangeDisabled", "onChangeRequired", "onOpenPage"])) : (C.openBlock(), C.createElementBlock("div", { key: 1, class: C.normalizeClass(((_d = (_c = (_b = (_a = n2.options) == null ? void 0 : _a.configureObj) == null ? void 0 : _b.props) == null ? void 0 : _c.base) == null ? void 0 : _d.columnEditable) ? "column-text-main" : "") }, [n2.lineEdit.editable && ((_h = (_g = (_f = (_e = n2.options) == null ? void 0 : _e.configureObj) == null ? void 0 : _f.props) == null ? void 0 : _g.base) == null ? void 0 : _h.columnEditable) && n2.isEditable && !l2.isHideEdit && !o2.isContentViewText ? (C.openBlock(), C.createElementBlock("div", { key: 0, class: "column-text-edit-main", onClick: t2[3] || (t2[3] = (...e3) => l2.onEditing && l2.onEditing(...e3)) }, [C.createVNode(a2, { size: 14, color: "#409eff" }, { default: C.withCtx(() => [C.createVNode(s2)]), _: 1 }), [void 0, null, ""].includes(o2.row[o2.column.prop]) ? (C.openBlock(), C.createElementBlock("span", E, C.toDisplayString(e2.$t("superGrid.editablePlaceholder")), 1)) : C.createCommentVNode("", true)])) : C.createCommentVNode("", true), o2.column.operations ? (C.openBlock(), C.createElementBlock("span", x, [(C.openBlock(true), C.createElementBlock(C.Fragment, null, C.renderList(o2.column.operations, (t3, i3) => (C.openBlock(), C.createElementBlock("span", { key: i3, class: C.normalizeClass([o2.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [t3.isGroup ? (C.openBlock(), C.createBlock(d2, { key: 0, size: t3.buttons && t3.buttons.length > 0 ? t3.buttons[0].props.size : "small", "split-button": "", onCommand: l2.handleCommand }, { dropdown: C.withCtx(() => [C.createVNode(p2, null, { default: C.withCtx(() => [(C.openBlock(true), C.createElementBlock(C.Fragment, null, C.renderList(t3.buttons, (t4, i4) => (C.openBlock(), C.createElementBlock("span", { key: t4.props.code + i4 }, [C.withDirectives((C.openBlock(), C.createBlock(c2, { command: l2.beforeHandleCommand(t4.props.code, o2.row, o2.rowIndex), disabled: e2.preventReclick }, { default: C.withCtx(() => [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(t4.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[A, t4.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: C.withCtx(() => [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(t3.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : t3.props.customControl ? C.withDirectives((C.openBlock(), C.createBlock(C.resolveDynamicComponent(t3.props.customControl), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, disabled: true, row: o2.pageGridData[o2.rowIndex], entity: o2.pageGridData[o2.rowIndex], prop: o2.column.prop, parent: n2.parentFormData, "row-index": o2.rowIndex, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, "current-page": o2.currentPage, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null, onRefreshList: l2.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "custom-params", "onRefreshList"])), [[A, t3.props.permission]]) : (C.openBlock(), C.createBlock(m2, { key: 2, column: o2.column, editing: o2.row.$editing, entity: o2.row, "is-show": t3.isShow, label: t3.props.label ? t3.props.label : o2.row[o2.column.prop], "on-click": t3.onClick, "operation-index": i3, "operation-setting": t3.props, "event-name": t3.eventName, "row-index": o2.rowIndex, "list-code": o2.listCode, "parent-form-data": n2.parentFormData, "is-table-btn-link": "" }, null, 8, ["column", "editing", "entity", "is-show", "label", "on-click", "operation-index", "operation-setting", "event-name", "row-index", "list-code", "parent-form-data"]))], 2))), 128))])) : e2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex) ? (C.openBlock(), C.createElementBlock("span", { key: 2, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [(C.openBlock(), C.createBlock(C.resolveDynamicComponent(e2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex)), { entity: o2.row, parent: n2.parentFormData, prop: o2.column.prop, row: o2.row, "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)), value: l2.getCellValue(o2.row), "additional-param-map": n2.additionalParamMap, "additional-settings": n2.additionalSettings, "page-context": (_i = n2.options) == null ? void 0 : _i.pageContext, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null }, 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 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "customControl" === n2.columnFormatter.type && n2.columnFormatter.options && n2.columnFormatter.options.format && "" !== n2.columnFormatter.options.format ? (C.openBlock(), C.createElementBlock("span", { key: 3, class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [(C.openBlock(), C.createBlock(C.resolveDynamicComponent(n2.columnFormatter.options.format), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, "current-page": o2.currentPage, disabled: true, entity: o2.pageGridData[o2.rowIndex], "get-form-data": n2.getFormData, "get-grid-data": n2.getTableGridData, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, parent: n2.parentFormData, prop: o2.column.prop, row: o2.pageGridData[o2.rowIndex], "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": e2.$escapeHtml(l2.getLabel(o2.pageGridData[o2.rowIndex], o2.rowIndex)), value: l2.getCellValue(o2.pageGridData[o2.rowIndex]), "additional-param-map": n2.additionalParamMap, listCode: o2.listCode, "component-id": n2.componentId, "additional-settings": n2.additionalSettings, "page-context": (_j = n2.options) == null ? void 0 : _j.pageContext, "custom-params": l2.getCustomParams(), onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList }, null, 40, ["current-page", "entity", "get-form-data", "get-grid-data", "grid-data", "page-grid-data", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "listCode", "component-id", "additional-settings", "page-context", "custom-params", "onProhibitToEdit", "onRefreshList"]))], 2)) : void 0 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "secretInfo" === n2.columnFormatter.type ? (C.openBlock(), C.createElementBlock("span", { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createVNode(u2, { entity: o2.row, "field-label": e2.$escapeHtml(e2.label), "list-code": o2.listCode, "list-name": o2.listName, "page-code": o2.pageCode, prop: o2.column.prop, "table-name": o2.tableName, value: l2.getCellValue(o2.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, v)) : e2.isObjectProp(o2.column.prop) ? (C.openBlock(), C.createElementBlock(C.Fragment, { key: 5 }, [o2.column.formatter && "files" === o2.column.formatter.type ? (C.openBlock(), C.createElementBlock("span", S, [C.createElementVNode("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(l2.getLabel(o2.row)) : "", class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, D)])) : "hyperlinks" === ((_k = n2.columnFormatter) == null ? void 0 : _k.type) && true === n2.linkObject.visible ? (C.openBlock(), C.createBlock(g2, { key: 1, type: l2.getLinkType(o2.row), onClick: t2[4] || (t2[4] = (t3) => e2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: C.withCtx(() => [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: n2.linkObject.title, class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createTextVNode(C.toDisplayString(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 14, B)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createTextVNode(C.toDisplayString(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 10, I))]), _: 1 }, 8, ["type"])) : e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 2, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: e2.$escapeHtml(l2.getLabel(o2.row)), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 15, T)) : (C.openBlock(), C.createElementBlock("span", { key: 3, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, F))], 64)) : (C.openBlock(), C.createElementBlock(C.Fragment, { key: 6 }, ["annex" === o2.column.componentType || "multipartUpload" === o2.column.componentType ? (C.openBlock(), C.createElementBlock("span", O, [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.$escapeHtml(l2.getLabel(o2.row)), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { width: n2.cellWidth, entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["width", "entity", "file-set-obj", "is-sql", "label"])], 10, P)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, $))])) : o2.column.formatter && "files" === o2.column.formatter.type ? (C.openBlock(), C.createElementBlock("span", j, [C.createElementVNode("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(l2.getLabel(o2.row)) : "", class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, q)])) : "hyperlinks" === ((_l = n2.columnFormatter) == null ? void 0 : _l.type) && n2.linkObject.visible ? (C.openBlock(), C.createBlock(g2, { key: 2, type: "primary", onClick: t2[5] || (t2[5] = (t3) => e2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: C.withCtx(() => [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: e2.$escapeHtml(n2.linkObject.title), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 14, R)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 10, V))]), _: 1 })) : o2.column.formatter && "richEditor" === o2.column.formatter.type ? (C.openBlock(), C.createBlock(f2, { key: 3, content: e2.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: C.withCtx(() => [C.createElementVNode("em", { class: "fa fa-info-circle annex-cell", onClick: t2[6] || (t2[6] = (e3) => l2.showRichEditorContent(o2.row, o2.column, l2.getHeader())) })]), _: 1 }, 8, ["content"])) : o2.column.formatter && "icon" === o2.column.formatter.type ? (C.openBlock(), C.createBlock(b2, { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, column: o2.column, row: o2.row, "row-index": o2.rowIndex, "is-sql": o2.isSql, "list-code": o2.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 5, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: l2.getLabel(o2.row), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span"), innerHTML: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 14, L)) : (C.openBlock(), C.createElementBlock("span", { key: 6, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, N))], 64))], 2)), n2.showSingleImgFlag ? (C.openBlock(), C.createBlock(y2, { key: 2, "file-list": n2.fileList, onClose: t2[7] || (t2[7] = (e3) => n2.showSingleImgFlag = false) }, null, 8, ["file-list"])) : C.createCommentVNode("", true), n2.showRichEditorViewer ? (C.openBlock(), C.createBlock(H2, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l2.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : C.createCommentVNode("", true)]);
299
- }], ["__scopeId", "data-v-bbad0ee0"]]);
298
+ return C.openBlock(), C.createElementBlock("div", k, [l2.isEditing || o2.isShowForm ? (C.openBlock(), C.createBlock(r2, { key: 0, ref: "dynamicRef", value: o2.row[o2.column.prop], "onUpdate:value": t2[0] || (t2[0] = (e3) => o2.row[o2.column.prop] = e3), class: C.normalizeClass(n2.requiredClass), column: o2.column, "is-sql": o2.isSql, "line-edit": n2.lineEdit, "list-code": o2.listCode, "list-toolbar-form-data": o2.listToolbarFormData, options: o2.column.valueSet, "grid-options": n2.options, position: { row: o2.rowIndex, prop: o2.column.prop }, disabled: n2.disabled, row: o2.row, "row-index": o2.rowIndex, type: o2.column.componentType, onKeyup: C.withKeys(l2.clearAllEditing, ["enter"]), onFindIndex: t2[1] || (t2[1] = (e3) => l2.findIndex(o2.rowIndex)), onFocus: t2[2] || (t2[2] = (e3) => l2.onFocus(o2.rowIndex)), onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList, onRefresData: l2.refresData, onRefresMainTableFields: l2.refresMainTableFields, onRefresPortData: l2.refresPortData, onRefresPortsData: l2.refresPortsData, onChangeDisabled: l2.changeDisabled, onChangeRequired: l2.changeRequired, onOpenPage: l2.openPageEvent }, null, 8, ["value", "class", "column", "is-sql", "line-edit", "list-code", "list-toolbar-form-data", "options", "grid-options", "position", "disabled", "row", "row-index", "type", "onKeyup", "onProhibitToEdit", "onRefreshList", "onRefresData", "onRefresMainTableFields", "onRefresPortData", "onRefresPortsData", "onChangeDisabled", "onChangeRequired", "onOpenPage"])) : (C.openBlock(), C.createElementBlock("div", { key: 1, class: C.normalizeClass(((_d = (_c = (_b = (_a = n2.options) == null ? void 0 : _a.configureObj) == null ? void 0 : _b.props) == null ? void 0 : _c.base) == null ? void 0 : _d.columnEditable) ? "column-text-main" : "") }, [n2.lineEdit.editable && ((_h = (_g = (_f = (_e = n2.options) == null ? void 0 : _e.configureObj) == null ? void 0 : _f.props) == null ? void 0 : _g.base) == null ? void 0 : _h.columnEditable) && n2.isEditable && !l2.isHideEdit && !o2.isContentViewText ? (C.openBlock(), C.createElementBlock("div", { key: 0, class: "column-text-edit-main", onClick: t2[3] || (t2[3] = (...e3) => l2.onEditing && l2.onEditing(...e3)) }, [C.createVNode(a2, { size: 14, color: "#409eff" }, { default: C.withCtx(() => [C.createVNode(s2)]), _: 1 }), [void 0, null, ""].includes(o2.row[o2.column.prop]) ? (C.openBlock(), C.createElementBlock("span", E, C.toDisplayString(e2.$t("superGrid.editablePlaceholder")), 1)) : C.createCommentVNode("", true)])) : C.createCommentVNode("", true), o2.column.operations ? (C.openBlock(), C.createElementBlock("span", x, [(C.openBlock(true), C.createElementBlock(C.Fragment, null, C.renderList(o2.column.operations, (t3, i3) => (C.openBlock(), C.createElementBlock("span", { key: i3, class: C.normalizeClass([o2.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [t3.isGroup ? (C.openBlock(), C.createBlock(d2, { key: 0, size: t3.buttons && t3.buttons.length > 0 ? t3.buttons[0].props.size : "small", "split-button": "", onCommand: l2.handleCommand }, { dropdown: C.withCtx(() => [C.createVNode(p2, null, { default: C.withCtx(() => [(C.openBlock(true), C.createElementBlock(C.Fragment, null, C.renderList(t3.buttons, (t4, i4) => (C.openBlock(), C.createElementBlock("span", { key: t4.props.code + i4 }, [C.withDirectives((C.openBlock(), C.createBlock(c2, { command: l2.beforeHandleCommand(t4.props.code, o2.row, o2.rowIndex), disabled: e2.preventReclick }, { default: C.withCtx(() => [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(t4.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[A, t4.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: C.withCtx(() => [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(t3.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : t3.props.customControl ? C.withDirectives((C.openBlock(), C.createBlock(C.resolveDynamicComponent(t3.props.customControl), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, disabled: true, row: o2.pageGridData[o2.rowIndex], entity: o2.pageGridData[o2.rowIndex], prop: o2.column.prop, parent: n2.parentFormData, "row-index": o2.rowIndex, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, "current-page": o2.currentPage, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null, onRefreshList: l2.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "custom-params", "onRefreshList"])), [[A, t3.props.permission]]) : (C.openBlock(), C.createBlock(m2, { key: 2, column: o2.column, editing: o2.row.$editing, entity: o2.row, "is-show": t3.isShow, label: t3.props.label ? t3.props.label : o2.row[o2.column.prop], "on-click": t3.onClick, "operation-index": i3, "operation-setting": t3.props, "event-name": t3.eventName, "row-index": o2.rowIndex, "list-code": o2.listCode, "parent-form-data": n2.parentFormData, "is-table-btn-link": "" }, null, 8, ["column", "editing", "entity", "is-show", "label", "on-click", "operation-index", "operation-setting", "event-name", "row-index", "list-code", "parent-form-data"]))], 2))), 128))])) : e2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex) ? (C.openBlock(), C.createElementBlock("span", { key: 2, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [(C.openBlock(), C.createBlock(C.resolveDynamicComponent(o2.column.prop + o2.rowIndex), { entity: o2.row, parent: n2.parentFormData, prop: o2.column.prop, row: o2.row, "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)), value: l2.getCellValue(o2.row), "additional-param-map": n2.additionalParamMap, "additional-settings": n2.additionalSettings, "page-context": (_i = n2.options) == null ? void 0 : _i.pageContext, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null }, 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 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "customControl" === n2.columnFormatter.type && n2.columnFormatter.options && n2.columnFormatter.options.format && "" !== n2.columnFormatter.options.format ? (C.openBlock(), C.createElementBlock("span", { key: 3, class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [(C.openBlock(), C.createBlock(C.resolveDynamicComponent(n2.columnFormatter.options.format), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, "current-page": o2.currentPage, disabled: true, entity: o2.pageGridData[o2.rowIndex], "get-form-data": n2.getFormData, "get-grid-data": n2.getTableGridData, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, parent: n2.parentFormData, prop: o2.column.prop, row: o2.pageGridData[o2.rowIndex], "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": e2.$escapeHtml(l2.getLabel(o2.pageGridData[o2.rowIndex], o2.rowIndex)), value: l2.getCellValue(o2.pageGridData[o2.rowIndex]), "additional-param-map": n2.additionalParamMap, listCode: o2.listCode, "component-id": n2.componentId, "additional-settings": n2.additionalSettings, "page-context": (_j = n2.options) == null ? void 0 : _j.pageContext, "custom-params": l2.getCustomParams(), onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList }, null, 40, ["current-page", "entity", "get-form-data", "get-grid-data", "grid-data", "page-grid-data", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "listCode", "component-id", "additional-settings", "page-context", "custom-params", "onProhibitToEdit", "onRefreshList"]))], 2)) : void 0 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "secretInfo" === n2.columnFormatter.type ? (C.openBlock(), C.createElementBlock("span", { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createVNode(u2, { entity: o2.row, "field-label": e2.$escapeHtml(e2.label), "list-code": o2.listCode, "list-name": o2.listName, "page-code": o2.pageCode, prop: o2.column.prop, "table-name": o2.tableName, value: l2.getCellValue(o2.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, v)) : e2.isObjectProp(o2.column.prop) ? (C.openBlock(), C.createElementBlock(C.Fragment, { key: 5 }, [o2.column.formatter && "files" === o2.column.formatter.type ? (C.openBlock(), C.createElementBlock("span", S, [C.createElementVNode("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(l2.getLabel(o2.row)) : "", class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, D)])) : "hyperlinks" === ((_k = n2.columnFormatter) == null ? void 0 : _k.type) && true === n2.linkObject.visible ? (C.openBlock(), C.createBlock(g2, { key: 1, type: l2.getLinkType(o2.row), onClick: t2[4] || (t2[4] = (t3) => e2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: C.withCtx(() => [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: n2.linkObject.title, class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createTextVNode(C.toDisplayString(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 14, B)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createTextVNode(C.toDisplayString(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 10, I))]), _: 1 }, 8, ["type"])) : e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 2, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: e2.$escapeHtml(l2.getLabel(o2.row)), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 15, T)) : (C.openBlock(), C.createElementBlock("span", { key: 3, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, F))], 64)) : (C.openBlock(), C.createElementBlock(C.Fragment, { key: 6 }, ["annex" === o2.column.componentType || "multipartUpload" === o2.column.componentType ? (C.openBlock(), C.createElementBlock("span", O, [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.$escapeHtml(l2.getLabel(o2.row)), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { width: n2.cellWidth, entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["width", "entity", "file-set-obj", "is-sql", "label"])], 10, P)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, $))])) : o2.column.formatter && "files" === o2.column.formatter.type ? (C.openBlock(), C.createElementBlock("span", j, [C.createElementVNode("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(l2.getLabel(o2.row)) : "", class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, q)])) : "hyperlinks" === ((_l = n2.columnFormatter) == null ? void 0 : _l.type) && n2.linkObject.visible ? (C.openBlock(), C.createBlock(g2, { key: 2, type: "primary", onClick: t2[5] || (t2[5] = (t3) => e2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: C.withCtx(() => [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: e2.$escapeHtml(n2.linkObject.title), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 14, R)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 10, V))]), _: 1 })) : o2.column.formatter && "richEditor" === o2.column.formatter.type ? (C.openBlock(), C.createBlock(f2, { key: 3, content: e2.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: C.withCtx(() => [C.createElementVNode("em", { class: "fa fa-info-circle annex-cell", onClick: t2[6] || (t2[6] = (e3) => l2.showRichEditorContent(o2.row, o2.column, l2.getHeader())) })]), _: 1 }, 8, ["content"])) : o2.column.formatter && "icon" === o2.column.formatter.type ? (C.openBlock(), C.createBlock(b2, { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, column: o2.column, row: o2.row, "row-index": o2.rowIndex, "is-sql": o2.isSql, "list-code": o2.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 5, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: l2.getLabel(o2.row), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span"), innerHTML: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 14, L)) : (C.openBlock(), C.createElementBlock("span", { key: 6, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, N))], 64))], 2)), n2.showSingleImgFlag ? (C.openBlock(), C.createBlock(y2, { key: 2, "file-list": n2.fileList, onClose: t2[7] || (t2[7] = (e3) => n2.showSingleImgFlag = false) }, null, 8, ["file-list"])) : C.createCommentVNode("", true), n2.showRichEditorViewer ? (C.openBlock(), C.createBlock(H2, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l2.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : C.createCommentVNode("", true)]);
299
+ }], ["__scopeId", "data-v-c44b1087"]]);
300
300
  module.exports = H;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agilebuilder-ui",
3
- "version": "1.1.65-tmp20",
3
+ "version": "1.1.65-tmp21",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/index.cjs",