agilebuilder-ui 1.1.41-sit3 → 1.1.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{401-e52653bc.js → 401-89fd25ba.js} +1 -1
- package/lib/{404-44e2f437.js → 404-4264aeb1.js} +1 -1
- package/lib/{iframe-page-9ff08d92.js → iframe-page-4a8dcdbb.js} +1 -1
- package/lib/{index-2aba4e9d.js → index-50fdf8ae.js} +87 -89
- package/lib/super-ui.css +1 -1
- package/lib/super-ui.js +1 -1
- package/lib/super-ui.umd.cjs +1 -1
- package/lib/{tab-content-iframe-index-6d6418da.js → tab-content-iframe-index-16207fb9.js} +1 -1
- package/lib/{tab-content-index-bcf378ee.js → tab-content-index-8ae8c396.js} +1 -1
- package/lib/{tache-subprocess-history-6376dd84.js → tache-subprocess-history-110e29f2.js} +1 -1
- package/package.json +1 -1
- package/packages/super-grid/src/normal-column-content.vue +0 -1
- package/packages/super-grid/src/row-operation.vue +9 -13
- package/packages/super-grid/src/super-grid.vue +3 -0
|
@@ -10019,7 +10019,7 @@ function _sfc_render$1a(n, o, r, a, s, l) {
|
|
|
10019
10019
|
const d = resolveComponent("app-main");
|
|
10020
10020
|
return openBlock(), createElementBlock("div", _hoisted_1$1i, [createElementVNode("div", _hoisted_2$P, [createVNode(d)])]);
|
|
10021
10021
|
}
|
|
10022
|
-
const Layout = _export_sfc(_sfc_main$1F, [["render", _sfc_render$1a]]), publicRouterMap = [{ path: "/redirect", component: Layout, hidden: !0, children: [{ path: "/redirect/:path*", component: () => import("./index-1cc4db24.js") }] }, { path: "/iframe-page", component: Layout, hidden: !0, children: [{ path: "page", component: () => import("./iframe-page-
|
|
10022
|
+
const Layout = _export_sfc(_sfc_main$1F, [["render", _sfc_render$1a]]), publicRouterMap = [{ path: "/redirect", component: Layout, hidden: !0, children: [{ path: "/redirect/:path*", component: () => import("./index-1cc4db24.js") }] }, { path: "/iframe-page", component: Layout, hidden: !0, children: [{ path: "page", component: () => import("./iframe-page-4a8dcdbb.js"), hidden: !0 }] }, { path: "/auth-redirect", component: () => import("./authredirect-294d14ef.js"), hidden: !0 }, { path: "/404", component: () => import("./404-4264aeb1.js"), hidden: !0 }, { path: "/401", component: () => import("./401-89fd25ba.js"), hidden: !0 }, { path: "/show-sub-wf-history", component: () => import("./tache-subprocess-history-110e29f2.js"), hidden: !0 }, { path: "/tab-content-index", component: () => import("./tab-content-index-8ae8c396.js"), hidden: !0 }, { path: "/tab-content-iframe-index", component: () => import("./tab-content-iframe-index-16207fb9.js"), hidden: !0 }], protectedRouterMap = [];
|
|
10023
10023
|
function filterProtectedRouter(n, o) {
|
|
10024
10024
|
const r = [], a = [];
|
|
10025
10025
|
return n.forEach((s) => {
|
|
@@ -12922,8 +12922,8 @@ function _sfc_render$_(n, o, r, a, s, l) {
|
|
|
12922
12922
|
const d = resolveComponent("el-date-picker"), p = resolveComponent("el-time-picker"), y = resolveComponent("el-input"), w = resolveComponent("SuperIcon"), E = resolveComponent("fs-upload-list"), x = resolveComponent("multipart-upload"), D = resolveComponent("GridRadioInput"), O = resolveComponent("el-option"), M = resolveComponent("el-select"), L = resolveComponent("dynamic-source-select"), W = resolveComponent("el-input-number"), q = resolveComponent("el-switch"), K = resolveComponent("el-slider"), ie = resolveComponent("el-rate"), J = resolveComponent("organization-input"), G = resolveComponent("el-button"), oe = resolveComponent("el-upload"), ne = resolveComponent("el-dialog"), he = resolveComponent("view-image-dialog"), ye = resolveComponent("scan-code-input-browser");
|
|
12923
12923
|
return r.type && r.type.indexOf("custom:") >= 0 && s.componentName != "" ? (openBlock(), createElementBlock("div", { key: 0, style: normalizeStyle(r.row.validateErrorField && r.row.validateErrorField === r.column.prop ? "border:1px solid red" : "") }, [(openBlock(), createBlock(resolveDynamicComponent(s.componentName), { ref: "customItem", disabled: r.disabled, entity: r.row, "grid-data": s.gridData, "page-grid-data": s.pageGridData, "additional-settings": s.controlConfig, parent: s.parentFormData, prop: r.column.prop, "custom-params": s.myCustomParams, row: r.row, "row-index": r.position ? r.position.row : null, "select-options": r.options, value: s.innerValue, "additional-param-map": s.additionalParamMap, listCode: r.listCode, "component-id": s.componentId, "page-context": s.pageContext, onChange: o[0] || (o[0] = (le) => l.cellEvent("change", le)), onInput: o[1] || (o[1] = (le) => l.cellEvent("input", le)) }, null, 40, ["disabled", "entity", "grid-data", "page-grid-data", "additional-settings", "parent", "prop", "custom-params", "row", "row-index", "select-options", "value", "additional-param-map", "listCode", "component-id", "page-context"]))], 4)) : (openBlock(), createElementBlock("div", { key: 1, style: normalizeStyle(r.row.validateErrorField && r.row.validateErrorField === r.column.prop ? "border:1px solid red" : "") }, [r.type === "year" || r.type === "month" || r.type === "week" ? (openBlock(), createBlock(d, { key: 0, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[2] || (o[2] = (le) => s.innerValue = le), disabled: r.disabled, editable: !1, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.selectTime"), type: r.type, "value-format": l.isValueFormat(), style: { width: "100%" }, onBlur: o[3] || (o[3] = (le) => l.cellEvent("blur", le)), onChange: o[4] || (o[4] = (le) => l.cellEvent("change", le)), onFocus: o[5] || (o[5] = (le) => l.cellEvent("focus", le)), onInput: o[6] || (o[6] = (le) => l.cellEvent("input", le)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : r.type === "yearRange" ? (openBlock(), createBlock(d, { key: 1, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[7] || (o[7] = (le) => s.innerValue = le), disabled: r.disabled, editable: !1, placeholder: n.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: o[8] || (o[8] = (le) => l.cellEvent("blur", le)), onChange: o[9] || (o[9] = (le) => l.cellEvent("change", le)), onFocus: o[10] || (o[10] = (le) => l.cellEvent("focus", le)), onInput: o[11] || (o[11] = (le) => l.cellEvent("input", le)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : r.type === "dateTimePicker" ? (openBlock(), createBlock(d, { key: 2, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[12] || (o[12] = (le) => s.innerValue = le), disabled: r.disabled, editable: !1, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.selectTime"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: o[13] || (o[13] = (le) => l.cellEvent("blur", le)), onChange: o[14] || (o[14] = (le) => l.cellEvent("change", le)), onFocus: o[15] || (o[15] = (le) => l.cellEvent("focus", le)), onInput: o[16] || (o[16] = (le) => l.cellEvent("input", le)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : r.type === "date" ? (openBlock(), createBlock(d, { key: 3, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[17] || (o[17] = (le) => s.innerValue = le), disabled: r.disabled, editable: !1, format: l.isFormat(), "picker-options": s.pickerOptions, placeholder: n.$t("imatrixUIMessage.selectionDate"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: o[18] || (o[18] = (le) => l.cellEvent("blur", le)), onChange: o[19] || (o[19] = (le) => l.cellEvent("change", le)), onFocus: o[20] || (o[20] = (le) => l.cellEvent("focus", le)), onInput: o[21] || (o[21] = (le) => l.cellEvent("input", le)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : r.type === "timePicker" || r.type === "input" && r.column.dataType === "TIME" ? (openBlock(), createBlock(p, { key: 4, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[22] || (o[22] = (le) => s.innerValue = le), disabled: r.disabled, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": l.isValueFormat(), style: { width: "100%" }, onBlur: o[23] || (o[23] = (le) => l.cellEvent("blur", le)), onChange: o[24] || (o[24] = (le) => l.cellEvent("change", le)), onFocus: o[25] || (o[25] = (le) => l.cellEvent("focus", le)), onInput: o[26] || (o[26] = (le) => l.cellEvent("input", le)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : r.type === "time" ? (openBlock(), createBlock(d, { key: 5, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[27] || (o[27] = (le) => s.innerValue = le), disabled: r.disabled, editable: !1, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.selectTime"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: o[28] || (o[28] = (le) => l.cellEvent("blur", le)), onChange: o[29] || (o[29] = (le) => l.cellEvent("change", le)), onFocus: o[30] || (o[30] = (le) => l.cellEvent("focus", le)), onInput: o[31] || (o[31] = (le) => l.cellEvent("input", le)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : r.column.dataType === "DATE" ? (openBlock(), createBlock(d, { key: 6, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[32] || (o[32] = (le) => s.innerValue = le), disabled: r.disabled, editable: !1, format: l.isFormat(), "picker-options": s.pickerOptions, placeholder: n.$t("imatrixUIMessage.selectionDate"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: o[33] || (o[33] = (le) => l.cellEvent("blur", le)), onChange: o[34] || (o[34] = (le) => l.cellEvent("change", le)), onFocus: o[35] || (o[35] = (le) => l.cellEvent("focus", le)), onInput: o[36] || (o[36] = (le) => l.cellEvent("input", le)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : r.type !== "input" || r.column.dataType !== "INTEGER" && r.column.dataType !== "LONG" ? r.type === "input" ? (openBlock(), createBlock(y, { key: 8, ref: "item", disabled: r.disabled, maxlength: s.controlConfig && s.controlConfig.maxlength ? s.controlConfig.maxlength : "", minlength: s.controlConfig && s.controlConfig.minlength ? s.controlConfig.minlength : "", placeholder: n.$t("imatrixUIMessage.pleaseEnterContent"), title: s.innerValue, clearable: "", modelValue: s.innerValue, "onUpdate:modelValue": o[48] || (o[48] = (le) => s.innerValue = le), onBlur: o[49] || (o[49] = (le) => l.cellEvent("blur", le)), onChange: o[50] || (o[50] = (le) => l.cellEvent("change", le)), onClear: o[51] || (o[51] = (le) => l.cellEvent("clear", le)), onFocus: o[52] || (o[52] = (le) => l.cellEvent("focus", le)), onInput: o[53] || (o[53] = (le) => l.cellEvent("input", le, !0)) }, createSlots({ _: 2 }, [s.designProperty.iconPosition != "outer" && (s.designProperty.preIconType && s.designProperty.preIconValue || s.designProperty.preText) ? { name: "prefix", fn: withCtx(() => [s.designProperty.preIconType && s.designProperty.preIconValue ? (openBlock(), createBlock(w, { key: 0, iconType: s.designProperty.preIconType, iconValue: s.designProperty.preIconValue, onClick: o[43] || (o[43] = (le) => l.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.preText ? (openBlock(), createElementBlock("span", _hoisted_1$14, toDisplayString$1(n.$t(s.designProperty.preText)), 1)) : createCommentVNode("", !0)]), key: "0" } : void 0, s.designProperty.iconPosition == "outer" && (s.designProperty.preIconType && s.designProperty.preIconValue || s.designProperty.preText) ? { name: "prepend", fn: withCtx(() => [s.designProperty.preIconType && s.designProperty.preIconValue ? (openBlock(), createBlock(w, { key: 0, iconType: s.designProperty.preIconType, iconValue: s.designProperty.preIconValue, onClick: o[44] || (o[44] = (le) => l.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.preText ? (openBlock(), createElementBlock("span", _hoisted_2$G, toDisplayString$1(n.$t(s.designProperty.preText)), 1)) : createCommentVNode("", !0)]), key: "1" } : void 0, s.designProperty.iconPosition != "outer" && (s.designProperty.sufIconType && s.designProperty.sufIconValue || s.designProperty.sufText) ? { name: "suffix", fn: withCtx(() => [s.designProperty.sufIconType && s.designProperty.sufIconValue ? (openBlock(), createBlock(w, { key: 0, iconType: s.designProperty.sufIconType, iconValue: s.designProperty.sufIconValue, onClick: o[45] || (o[45] = (le) => l.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.sufText ? (openBlock(), createElementBlock("span", _hoisted_3$w, toDisplayString$1(n.$t(s.designProperty.sufText)), 1)) : createCommentVNode("", !0)]), key: "2" } : void 0, s.isShowScanIcon || s.designProperty.iconPosition == "outer" && (s.designProperty.sufIconType && s.designProperty.sufIconValue || s.designProperty.sufText) ? { name: "append", fn: withCtx(() => [s.isShowScanIcon ? (openBlock(), createBlock(w, { key: 0, iconValue: "fa-barcode", onClick: o[46] || (o[46] = (le) => l.scanClick()) })) : createCommentVNode("", !0), s.designProperty.sufIconType && s.designProperty.sufIconValue ? (openBlock(), createBlock(w, { key: 1, iconType: s.designProperty.sufIconType, iconValue: s.designProperty.sufIconValue, onClick: o[47] || (o[47] = (le) => l.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.sufText ? (openBlock(), createElementBlock("span", _hoisted_4$n, toDisplayString$1(n.$t(s.designProperty.sufText)), 1)) : createCommentVNode("", !0)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : r.type === "textarea" ? (openBlock(), createBlock(y, { key: 9, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[54] || (o[54] = (le) => s.innerValue = le), disabled: r.disabled, maxlength: s.controlConfig && s.controlConfig.maxlength ? s.controlConfig.maxlength : "", minlength: s.controlConfig && s.controlConfig.minlength ? s.controlConfig.minlength : "", placeholder: n.$t("imatrixUIMessage.pleaseEnterContent"), rows: 1, title: s.innerValue, clearable: "", type: "textarea", onBlur: o[55] || (o[55] = (le) => l.cellEvent("blur", le)), onChange: o[56] || (o[56] = (le) => l.cellEvent("change", le)), onClear: o[57] || (o[57] = (le) => l.cellEvent("clear", le)), onFocus: o[58] || (o[58] = (le) => l.cellEvent("focus", le)), onInput: o[59] || (o[59] = (le) => l.cellEvent("input", le)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "title"])) : r.type === "annex" ? (openBlock(), createBlock(E, { key: 10, ref: "fileUploadRef", "custom-view-url": !0, disabled: r.disabled, "file-info": s.fileInfo, "file-list": s.fileList, "file-set-obj": s.fileSetObj, "is-sql": r.isSql, row: r.row, value: s.innerValue, "page-context": s.pageContext, "list-code": r.listCode, componentId: s.componentId, onDelete: l.deleteFile, onDeleteSuccess: l.deleteSuccess, onUploadSuccess: l.uploadOnSuccess }, null, 8, ["disabled", "file-info", "file-list", "file-set-obj", "is-sql", "row", "value", "page-context", "list-code", "componentId", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : r.type === "multipartUpload" ? (openBlock(), createBlock(x, { key: 11, disabled: r.disabled, entity: r.row, "file-info": s.fileInfo, "file-list": s.fileList, "file-set-obj": s.fileSetObj, value: s.innerValue, type: "list", onDelete: l.deleteFile, onDeleteSuccess: l.deleteSuccess, onUploadSuccess: l.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : r.type === "radio" ? (openBlock(), createBlock(D, { key: 12, modelValue: s.innerValue, "onUpdate:modelValue": [o[60] || (o[60] = (le) => s.innerValue = le), o[61] || (o[61] = (le) => s.innerValue = le)], disabled: r.disabled, options: r.options, "value-set-options": s.valueSetOptions, prop: r.column.prop, entity: r.row, onCellEvent: l.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : r.type !== "select" || l.isDynamicDataSourceSource() ? r.type !== "multiselect" || l.isDynamicDataSourceSource() ? r.type !== "multiselect" && r.type !== "select" || !l.isDynamicDataSourceSource() ? r.type === "inputNumber" ? (openBlock(), createBlock(W, { key: 16, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[83] || (o[83] = (le) => s.innerValue = le), "controls-position": s.inputNumberSet.position, disabled: r.disabled, max: s.inputNumberSet.max == 0 ? 0 : s.inputNumberSet.max ? s.inputNumberSet.max : 1 / 0, min: s.inputNumberSet.min == 0 ? 0 : s.inputNumberSet.min ? s.inputNumberSet.min : -1 / 0, precision: s.inputNumberSet.precision, step: s.inputNumberSet.step ? s.inputNumberSet.step : 1, onBlur: o[84] || (o[84] = (le) => l.cellEvent("blur", le)), onChange: o[85] || (o[85] = (le) => l.cellEvent("change", le)), onFocus: o[86] || (o[86] = (le) => l.cellEvent("focus", le)), onInput: o[87] || (o[87] = (le) => l.cellEvent("input", le)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : r.type === "switch" || r.column.dataType === "BOOLEAN" ? (openBlock(), createBlock(q, { key: 17, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[88] || (o[88] = (le) => s.innerValue = le), "active-text": l.getSwitchConfig("activeText"), "active-value": l.getSwitchConfig("activeValue"), disabled: r.disabled, "inactive-text": l.getSwitchConfig("inactiveText"), "inactive-value": l.getSwitchConfig("inactiveValue"), onChange: o[89] || (o[89] = (le) => l.cellEvent("change", le)), onInput: o[90] || (o[90] = (le) => l.cellEvent("input", le, !0)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : r.type === "slider" ? (openBlock(), createBlock(K, { key: 18, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[91] || (o[91] = (le) => s.innerValue = le), disabled: r.disabled, onChange: o[92] || (o[92] = (le) => l.cellEvent("change", le)), onInput: o[93] || (o[93] = (le) => l.cellEvent("input", le, !0)) }, null, 8, ["modelValue", "disabled"])) : r.type === "rate" ? (openBlock(), createBlock(ie, { key: 19, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[94] || (o[94] = (le) => s.innerValue = le), disabled: r.disabled, onChange: o[95] || (o[95] = (le) => l.cellEvent("change", le)), onInput: o[96] || (o[96] = (le) => l.cellEvent("input", le, !0)) }, null, 8, ["modelValue", "disabled"])) : s.deptManTree || s.deptTree || s.wgManTree || s.wgTree ? (openBlock(), createBlock(J, { key: 20, "check-strictly": s.isCheckStrictly, "department-info": s.departmentInfo, disabled: r.disabled, "limit-filter-column": (Ne = s.controlConfig) == null ? void 0 : Ne.limitFilterColumn, fields: s.fields, "is-join-table": s.isJoinTable, models: r.row, multiple: s.isMultiTree, "table-name": s.tableName, "tree-type": s.deptManTree ? "DeptUserTree" : s.deptTree ? "DeptTree" : s.wgManTree ? "WgTree" : s.wgTree ? "WgUserTree" : null, value: s.innerValue, onAppend: l.appendOrganizationInputEvent, onClear: l.clearOrganizationInputEvent, onFocus: l.showOrganizationTree, onReplace: l.replaceOrganizationInputEvent, onSetValue: l.organizationInputEvent }, null, 8, ["check-strictly", "department-info", "disabled", "limit-filter-column", "fields", "is-join-table", "models", "multiple", "table-name", "tree-type", "value", "onAppend", "onClear", "onFocus", "onReplace", "onSetValue"])) : createCommentVNode("", !0) : (openBlock(), createBlock(L, { key: 15, value: s.innerValue, "onUpdate:value": o[76] || (o[76] = (le) => s.innerValue = le), "base-props": { multiple: r.type === "multiselect", disabled: r.disabled }, column: r.column, entity: r.row, "is-join-table": s.isJoinTable, "list-code": r.listCode, "list-toolbar-form-data": r.listToolbarFormData, options: { dynamicDataSourceCode: s.dynamicDataSourceCode, valueSetOptions: s.valueSetOptions, isSql: r.isSql, backendUrl: s.baseURL, additionalParameter: s.additionalParamMap ? JSON.stringify(s.additionalParamMap) : null }, parent: s.parentFormData, "table-name": s.tableName, onBlur: o[77] || (o[77] = (le) => l.cellEvent("blur", le)), onChange: l.multiselectChange, onClear: o[78] || (o[78] = (le) => l.cellEvent("clear", le)), onFocus: o[79] || (o[79] = (le) => l.cellEvent("focus", le)), onInput: o[80] || (o[80] = (le) => l.cellEvent("input", le)), onVisibleChange: o[81] || (o[81] = (le) => l.cellEvent("visible-change", le)), onRemoveTag: o[82] || (o[82] = (le) => l.cellEvent("remove-tag", le)), onSetValue: l.setDynamicSourceSelectValue }, null, 8, ["value", "base-props", "column", "entity", "is-join-table", "list-code", "list-toolbar-form-data", "options", "parent", "table-name", "onChange", "onSetValue"])) : (openBlock(), createBlock(M, { key: 14, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[69] || (o[69] = (le) => s.innerValue = le), disabled: r.disabled, placeholder: n.$t("imatrixUIMessage.pleaseSelect"), title: l.getClassOptionTitle(s.innerValue), clearable: "", "collapse-tags": "", multiple: "", onBlur: o[70] || (o[70] = (le) => l.cellEvent("blur", le)), onChange: l.multiselectChange, onClear: o[71] || (o[71] = (le) => l.cellEvent("clear", le)), onFocus: o[72] || (o[72] = (le) => l.cellEvent("focus", le)), onInput: o[73] || (o[73] = (le) => l.cellEvent("input", le)), onVisibleChange: o[74] || (o[74] = (le) => l.cellEvent("visible-change", le)), onRemoveTag: o[75] || (o[75] = (le) => l.cellEvent("remove-tag", le)) }, { default: withCtx(() => [createVNode(O, { label: n.$t("superGrid.selectAll"), value: "saveAll" }, null, 8, ["label"]), (openBlock(!0), createElementBlock(Fragment, null, renderList(r.options, (le) => (openBlock(), createBlock(O, { key: le.value, label: le.label, value: le.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "disabled", "placeholder", "title", "onChange"])) : (openBlock(), createBlock(M, { key: 13, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[62] || (o[62] = (le) => s.innerValue = le), "allow-create": !!s.controlConfig.allowCreate, clearable: !!s.controlConfig.clearable, "default-first-option": !!s.controlConfig.allowCreate, disabled: r.disabled, filterable: !!s.controlConfig.filterable, placeholder: n.$t("imatrixUIMessage.pleaseSelect"), title: l.getClassOptionTitle(s.innerValue), onBlur: o[63] || (o[63] = (le) => l.cellEvent("blur", le)), onChange: o[64] || (o[64] = (le) => l.cellEvent("change", le)), onClear: o[65] || (o[65] = (le) => l.cellEvent("clear", le)), onFocus: o[66] || (o[66] = (le) => l.cellEvent("focus", le)), onInput: o[67] || (o[67] = (le) => l.cellEvent("input", le)), onVisibleChange: o[68] || (o[68] = (le) => l.cellEvent("visible-change", le)) }, { default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.options, (le) => (openBlock(), createBlock(O, { key: le.value, label: le.label, value: le.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "allow-create", "clearable", "default-first-option", "disabled", "filterable", "placeholder", "title"])) : (openBlock(), createBlock(y, { key: 7, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[37] || (o[37] = (le) => s.innerValue = le), modelModifiers: { number: !0 }, disabled: r.disabled, placeholder: n.$t("imatrixUIMessage.pleaseEnterContent"), title: s.innerValue, type: r.column.dataType === "INTEGER" || r.column.dataType === "LONG" ? "number" : "text", clearable: "", onBlur: o[38] || (o[38] = (le) => l.cellEvent("blur", le)), onChange: o[39] || (o[39] = (le) => l.cellEvent("change", le)), onClear: o[40] || (o[40] = (le) => l.cellEvent("clear", le)), onFocus: o[41] || (o[41] = (le) => l.cellEvent("focus", le)), onInput: o[42] || (o[42] = (le) => l.cellEvent("input", le, !0)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), createVNode(ne, { "append-to-body": !0, "show-close": !0, title: n.$t("imatrixUIMessage.tips"), visible: s.annexUploadFlag, width: "30%" }, { default: withCtx(() => [r.type === "annex" && s.annexUploadFlag ? (openBlock(), createBlock(oe, { key: 0, accept: s.fileSetObj && s.fileSetObj.accept ? s.fileSetObj.accept : null, action: s.defaultAction, "before-upload": l.handleBeforeUpload, headers: s.headers, "on-success": l.uploadOnSuccess, "with-credentials": !0, name: "file" }, { default: withCtx(() => [createVNode(G, null, { default: withCtx(() => [createTextVNode(toDisplayString$1(n.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : createCommentVNode("", !0)]), _: 1 }, 8, ["title", "visible"]), s.showSingleImgFlag ? (openBlock(), createBlock(he, { key: 21, deleteable: !r.disabled, downloadable: !r.disabled, "file-list": s.fileList, onClose: o[97] || (o[97] = (le) => s.showSingleImgFlag = !1), onDelete: l.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : createCommentVNode("", !0), s.isShowBrowserScan ? (openBlock(), createBlock(ye, { key: 22, onClose: l.closeBrowserScan }, null, 8, ["onClose"])) : createCommentVNode("", !0)], 4));
|
|
12924
12924
|
}
|
|
12925
|
-
const DynamicInput = _export_sfc(_sfc_main$1o, [["render", _sfc_render$_]]),
|
|
12926
|
-
} }, entity: { type: Object, default: null }, column: { type: Object, default: null }, rowIndex: { type: Number, default: null }, label: { type: String, default: null },
|
|
12925
|
+
const DynamicInput = _export_sfc(_sfc_main$1o, [["render", _sfc_render$_]]), rowOperation_vue_vue_type_style_index_0_scoped_d86d3e73_lang = "", _sfc_main$1n = { name: "RowOperation", components: { superIcon }, props: { editing: { type: Boolean, default: !1 }, isTableBtnLink: { type: [Boolean], default: !1 }, isShow: { type: [Boolean, Function], default: !0 }, onClick: { type: Function, default: function() {
|
|
12926
|
+
} }, entity: { type: Object, default: null }, column: { type: Object, default: null }, rowIndex: { type: Number, default: null }, label: { type: String, default: null }, operationSetting: { type: Object, default: null }, operationIndex: { type: Number, default: null }, listCode: { type: String, default: null }, parentFormData: { type: Object, default: null }, eventName: { type: String, default: null } }, data: () => ({ elementType: "el-button", myStyle: null }), computed: { ...mapGetters(["preventReclick"]), isSaveRow() {
|
|
12927
12927
|
return ["lineEditSave", "saveRow"].includes(this.eventName);
|
|
12928
12928
|
}, isDeleteRow() {
|
|
12929
12929
|
return ["lineEditDelete", "deleteRow"].includes(this.eventName);
|
|
@@ -12958,20 +12958,19 @@ const DynamicInput = _export_sfc(_sfc_main$1o, [["render", _sfc_render$_]]), row
|
|
|
12958
12958
|
}
|
|
12959
12959
|
}
|
|
12960
12960
|
}, suffixIcon() {
|
|
12961
|
-
if (["right"].includes(this.
|
|
12961
|
+
if (["right"].includes(this.operationSettingData.iconPosition))
|
|
12962
12962
|
return this.operationSetting.iconValue;
|
|
12963
12963
|
}, isTextIcon() {
|
|
12964
|
-
return !!this.isTableBtnLinkShow && (this.
|
|
12964
|
+
return !!this.isTableBtnLinkShow && (this.operationSettingData.isTextIcon === void 0 ? this.isSaveRow || this.isDeleteRow || this.isEditRow || this.isRestoreRow : this.operationSettingData.isTextIcon);
|
|
12965
12965
|
}, labelText() {
|
|
12966
12966
|
if (!this.isTextIcon)
|
|
12967
12967
|
return this.label || void 0;
|
|
12968
12968
|
}, tooltipDisabled() {
|
|
12969
12969
|
return !this.isTextIcon || !this.label;
|
|
12970
12970
|
}, isTableBtnLinkShow() {
|
|
12971
|
-
|
|
12972
|
-
return !!((n = this.operationSetting) != null && n.text) || !(!this.isTableBtnLink || this.elementType !== "el-button") && [(o = this.operationSetting) == null ? void 0 : o.text, (r = this.operationSetting) == null ? void 0 : r.plain, (a = this.operationSetting) == null ? void 0 : a.round].every((s) => s === void 0);
|
|
12971
|
+
return !!this.operationSetting.text || !(!this.isTableBtnLink || this.elementType !== "el-button") && [this.operationSetting.text, this.operationSetting.plain, this.operationSetting.round].every((n) => n === void 0);
|
|
12973
12972
|
}, operationSettingData() {
|
|
12974
|
-
const n = { ...this.operationSetting
|
|
12973
|
+
const n = { ...this.operationSetting };
|
|
12975
12974
|
return this.isTableBtnLinkShow && (n.underline = !1, delete n.text), this.tooltipDisabled || delete n.title, n;
|
|
12976
12975
|
}, isElementType() {
|
|
12977
12976
|
return this.isTableBtnLinkShow ? "el-link" : this.elementType;
|
|
@@ -13000,12 +12999,9 @@ const DynamicInput = _export_sfc(_sfc_main$1o, [["render", _sfc_render$_]]), row
|
|
|
13000
12999
|
} } };
|
|
13001
13000
|
function _sfc_render$Z(n, o, r, a, s, l) {
|
|
13002
13001
|
const d = resolveComponent("superIcon"), p = resolveComponent("el-tooltip"), y = resolveDirective("permission");
|
|
13003
|
-
return openBlock(), createElementBlock("span", {
|
|
13004
|
-
var w;
|
|
13005
|
-
return [(w = l.operationSettingData) != null && w.permission ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(l.isElementType), mergeProps({ key: 0 }, l.operationSettingData, { disabled: n.preventReclick, onMousedown: o[0] || (o[0] = (E) => l.onClickFun(l.operationSettingData)) }), { default: withCtx(() => [l.prefixIcon ? (openBlock(), createBlock(d, { key: 0, iconValue: l.prefixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString$1(l.labelText) + " ", 1), l.suffixIcon ? (openBlock(), createBlock(d, { key: 1, iconValue: l.suffixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0)]), _: 1 }, 16, ["disabled"])), [[y, l.operationSettingData.permission]]) : (openBlock(), createBlock(resolveDynamicComponent(l.isElementType), mergeProps({ key: 1 }, l.operationSettingData, { disabled: n.preventReclick, onMousedown: o[1] || (o[1] = (E) => l.onClickFun(l.operationSettingData)) }), { default: withCtx(() => [l.prefixIcon ? (openBlock(), createBlock(d, { key: 0, iconValue: l.prefixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString$1(l.labelText) + " ", 1), l.suffixIcon ? (openBlock(), createBlock(d, { key: 1, iconValue: l.suffixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0)]), _: 1 }, 16, ["disabled"]))];
|
|
13006
|
-
}), _: 1 }, 8, ["disabled", "content"])) : createCommentVNode("", !0)], 4);
|
|
13002
|
+
return openBlock(), createElementBlock("span", { style: normalizeStyle(s.myStyle) }, [l.isShowButton() ? (openBlock(), createBlock(p, { key: 0, disabled: l.tooltipDisabled, content: r.label, placement: "top" }, { default: withCtx(() => [l.operationSettingData.permission ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(l.isElementType), mergeProps({ key: 0 }, l.operationSettingData, { disabled: n.preventReclick, onMousedown: o[0] || (o[0] = (w) => l.onClickFun(l.operationSettingData)) }), { default: withCtx(() => [l.prefixIcon ? (openBlock(), createBlock(d, { key: 0, iconValue: l.prefixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString$1(l.labelText) + " ", 1), l.suffixIcon ? (openBlock(), createBlock(d, { key: 1, iconValue: l.suffixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0)]), _: 1 }, 16, ["disabled"])), [[y, l.operationSettingData.permission]]) : (openBlock(), createBlock(resolveDynamicComponent(l.isElementType), mergeProps({ key: 1 }, l.operationSettingData, { disabled: n.preventReclick, onMousedown: o[1] || (o[1] = (w) => l.onClickFun(l.operationSettingData)) }), { default: withCtx(() => [l.prefixIcon ? (openBlock(), createBlock(d, { key: 0, iconValue: l.prefixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString$1(l.labelText) + " ", 1), l.suffixIcon ? (openBlock(), createBlock(d, { key: 1, iconValue: l.suffixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0)]), _: 1 }, 16, ["disabled"]))]), _: 1 }, 8, ["disabled", "content"])) : createCommentVNode("", !0)], 4);
|
|
13007
13003
|
}
|
|
13008
|
-
const RowOperation = _export_sfc(_sfc_main$1n, [["render", _sfc_render$Z], ["__scopeId", "data-v-
|
|
13004
|
+
const RowOperation = _export_sfc(_sfc_main$1n, [["render", _sfc_render$Z], ["__scopeId", "data-v-d86d3e73"]]), 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"];
|
|
13009
13005
|
function getFileIconByName(n) {
|
|
13010
13006
|
const o = "amb-color-icon-qita";
|
|
13011
13007
|
if (!n)
|
|
@@ -13258,7 +13254,7 @@ function _sfc_render$W(n, o, r, a, s, l) {
|
|
|
13258
13254
|
const d = resolveComponent("el-tag");
|
|
13259
13255
|
return openBlock(), createElementBlock("span", null, [s.formatConfig.isTag ? (openBlock(), createElementBlock("span", _hoisted_1$11, [s.displayText ? (openBlock(), createBlock(d, { key: 0, type: s.customStyle.type, color: s.customStyle.color, effect: s.formatConfig.effect, size: s.formatConfig.size, hit: s.formatConfig.hit }, { default: withCtx(() => [createTextVNode(toDisplayString$1(s.displayText), 1)]), _: 1 }, 8, ["type", "color", "effect", "size", "hit"])) : createCommentVNode("", !0)])) : (openBlock(), createElementBlock("span", { key: 1, style: normalizeStyle(s.customStyle) }, [s.formatConfig.position === "pre" ? (openBlock(), createElementBlock("i", { key: 0, class: normalizeClass(s.formatConfig.icon) }, null, 2)) : createCommentVNode("", !0), s.formatConfig.displayTextJudge ? (openBlock(), createElementBlock("span", _hoisted_2$E, toDisplayString$1(s.displayText), 1)) : createCommentVNode("", !0), s.formatConfig.position === "suf" ? (openBlock(), createElementBlock("i", { key: 2, class: normalizeClass(s.formatConfig.icon) }, null, 2)) : createCommentVNode("", !0)], 4))]);
|
|
13260
13256
|
}
|
|
13261
|
-
const GridIcon = _export_sfc(_sfc_main$1k, [["render", _sfc_render$W]]),
|
|
13257
|
+
const GridIcon = _export_sfc(_sfc_main$1k, [["render", _sfc_render$W]]), normalColumnContent_vue_vue_type_style_index_0_scoped_9058363e_lang = "", _sfc_main$1j = { components: { DynamicInput, RowOperation, ViewImageDialog, FsPreview, RichEditorViewer, CirclePlus: circle_plus_default, ElIconZoomIn: zoom_in_default, GridIcon }, name: "NormalColumnContent", props: { isContentViewText: { type: Boolean, default: !1 }, column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: !1 }, 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: !1 } }, data() {
|
|
13262
13258
|
let n;
|
|
13263
13259
|
const o = store$1.get(this.listCode), r = o.options;
|
|
13264
13260
|
o.options.extraParam && o.options.extraParam.entityMap && (n = o.options.extraParam.entityMap);
|
|
@@ -13540,9 +13536,9 @@ const GridIcon = _export_sfc(_sfc_main$1k, [["render", _sfc_render$W]]), normalC
|
|
|
13540
13536
|
function _sfc_render$V(n, o, r, a, s, l) {
|
|
13541
13537
|
var oe, ne, he, ye, Ne, le;
|
|
13542
13538
|
const d = resolveComponent("dynamic-input"), p = resolveComponent("Edit"), y = resolveComponent("el-icon"), w = resolveComponent("el-dropdown-item"), E = resolveComponent("el-dropdown-menu"), x = resolveComponent("el-dropdown"), D = resolveComponent("row-operation"), O = resolveComponent("secret-info"), M = resolveComponent("FsPreview"), L = resolveComponent("SuperIcon"), W = resolveComponent("el-link"), q = resolveComponent("el-tooltip"), K = resolveComponent("GridIcon"), ie = resolveComponent("view-image-dialog"), J = resolveComponent("rich-editor-viewer"), G = resolveDirective("permission");
|
|
13543
|
-
return openBlock(), createElementBlock("div", _hoisted_1$10, [l.isEditing || r.isShowForm ? (openBlock(), createBlock(d, { key: 0, ref: "dynamicRef", value: r.row[r.column.prop], "onUpdate:value": o[0] || (o[0] = ($) => r.row[r.column.prop] = $), class: normalizeClass(s.requiredClass), column: r.column, "is-sql": r.isSql, "line-edit": s.lineEdit, "list-code": r.listCode, "list-toolbar-form-data": r.listToolbarFormData, options: r.column.valueSet, "grid-options": s.options, position: { row: r.rowIndex, prop: r.column.prop }, disabled: s.disabled, row: r.row, "row-index": r.rowIndex, type: r.column.componentType, onKeyup: withKeys(l.clearAllEditing, ["enter"]), onFindIndex: o[1] || (o[1] = ($) => l.findIndex(r.rowIndex)), onFocus: o[2] || (o[2] = ($) => l.onFocus(r.rowIndex)), onProhibitToEdit: l.prohibitToEdit, onRefreshList: l.refreshList, onRefresData: l.refresData, onRefresMainTableFields: l.refresMainTableFields, onRefresPortData: l.refresPortData, onRefresPortsData: l.refresPortsData, onChangeDisabled: l.changeDisabled, onChangeRequired: l.changeRequired, onOpenPage: l.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"])) : (openBlock(), createElementBlock("div", _hoisted_2$D, [s.lineEdit.editable && ((ye = (he = (ne = (oe = s.options) == null ? void 0 : oe.configureObj) == null ? void 0 : ne.props) == null ? void 0 : he.base) != null && ye.columnEditable) && s.isEditable && !l.isHideEdit && !r.isContentViewText ? (openBlock(), createElementBlock("div", { key: 0, class: "column-text-edit-main", onClick: o[3] || (o[3] = (...$) => l.onEditing && l.onEditing(...$)) }, [createVNode(y, { size: 14, color: "#409eff" }, { default: withCtx(() => [createVNode(p)]), _: 1 }), [void 0, null, ""].includes(r.row[r.column.prop]) ? (openBlock(), createElementBlock("span", _hoisted_3$u, toDisplayString$1(n.$t("superGrid.editablePlaceholder")), 1)) : createCommentVNode("", !0)])) : createCommentVNode("", !0), r.column.operations ? (openBlock(), createElementBlock("span", _hoisted_4$l, [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.column.operations, ($, _e) => (openBlock(), createElementBlock("span", { key: _e, class: normalizeClass([r.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [$.isGroup ? (openBlock(), createBlock(x, { key: 0, size: $.buttons && $.buttons.length > 0 ? $.buttons[0].props.size : "small", "split-button": "", onCommand: l.handleCommand }, { dropdown: withCtx(() => [createVNode(E, null, { default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList($.buttons, (ce, fe) => (openBlock(), createElementBlock("span", { key: ce.props.code + fe }, [withDirectives((openBlock(), createBlock(w, { command: l.beforeHandleCommand(ce.props.code, r.row, r.rowIndex), disabled: n.preventReclick }, { default: withCtx(() => [createTextVNode(toDisplayString$1(n.$escapeHtml(ce.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[G, ce.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: withCtx(() => [createTextVNode(toDisplayString$1(n.$escapeHtml($.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : $.props.customControl ? withDirectives((openBlock(), createBlock(resolveDynamicComponent($.props.customControl), { key: r.column.prop + "_" + r.rowIndex + "_" + r.currentPage, disabled: !0, row: r.pageGridData[r.rowIndex], entity: r.pageGridData[r.rowIndex], prop: r.column.prop, parent: s.parentFormData, "row-index": r.rowIndex, "grid-data": r.gridData, "page-grid-data": r.pageGridData, "current-page": r.currentPage, "custom-params": s.controlConfig ? s.controlConfig.customParams : null, onRefreshList: l.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "custom-params", "onRefreshList"])), [[G, $.props.permission]]) : (openBlock(), createBlock(D, { key: 2, column: r.column, editing: r.row.$editing, entity: r.row, "is-show": $.isShow, label: $.props.label ? $.props.label : r.row[r.column.prop], "on-click": $.onClick, operation: $, "operation-index": _e, "operation-setting": $.props, "event-name": $.eventName, "row-index": r.rowIndex, "list-code": r.listCode, "parent-form-data": s.parentFormData, "is-table-btn-link": "" }, null, 8, ["column", "editing", "entity", "is-show", "label", "on-click", "operation", "operation-index", "operation-setting", "event-name", "row-index", "list-code", "parent-form-data"]))], 2))), 128))])) : n.customFormatValue(r.row, r.column.prop, r.customFormat, r.rowIndex) ? (openBlock(), createElementBlock("span", { key: 2, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [(openBlock(), createBlock(resolveDynamicComponent(r.column.prop + r.rowIndex), { entity: r.row, parent: s.parentFormData, prop: r.column.prop, row: r.row, "row-index": r.rowIndex, "select-options": r.column.valueSet, "show-value": n.$escapeHtml(l.getLabel(r.row, r.rowIndex)), value: l.getCellValue(r.row), "additional-param-map": s.additionalParamMap, "additional-settings": s.additionalSettings, "page-context": (Ne = s.options) == null ? void 0 : Ne.pageContext, "custom-params": s.controlConfig ? s.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)) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "customControl" && s.columnFormatter.options && s.columnFormatter.options.format && s.columnFormatter.options.format !== "" ? (openBlock(), createElementBlock("span", { key: 3, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [(openBlock(), createBlock(resolveDynamicComponent(s.columnFormatter.options.format), { key: r.column.prop + "_" + r.rowIndex + "_" + r.currentPage, "current-page": r.currentPage, disabled: !0, entity: r.pageGridData[r.rowIndex], "get-form-data": s.getFormData, "get-grid-data": s.getTableGridData, "grid-data": r.gridData, "page-grid-data": r.pageGridData, parent: s.parentFormData, prop: r.column.prop, row: r.pageGridData[r.rowIndex], "row-index": r.rowIndex, "select-options": r.column.valueSet, "show-value": n.$escapeHtml(l.getLabel(r.pageGridData[r.rowIndex], r.rowIndex)), value: l.getCellValue(r.pageGridData[r.rowIndex]), "additional-param-map": s.additionalParamMap, listCode: r.listCode, "component-id": s.componentId, "additional-settings": s.additionalSettings, "page-context": (le = s.options) == null ? void 0 : le.pageContext, "custom-params": s.controlConfig ? s.controlConfig.customParams : null, onProhibitToEdit: l.prohibitToEdit, onRefreshList: l.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)) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "secretInfo" ? (openBlock(), createElementBlock("span", { key: 4, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createVNode(O, { entity: r.row, "field-label": n.$escapeHtml(n.label), "list-code": r.listCode, "list-name": r.listName, "page-code": r.pageCode, prop: r.column.prop, "table-name": r.tableName, value: l.getCellValue(r.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, _hoisted_5$g)) : n.isObjectProp(r.column.prop) ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [r.column.formatter && r.column.formatter.type === "files" ? (openBlock(), createElementBlock("span", _hoisted_6$f, [createElementVNode("span", { id: r.column.prop + "DomData" + r.rowIndex, title: n.isShowOverflowTooltip ? n.$escapeHtml(l.getLabel(r.row)) : "", class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFilesFormatter(), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_7$9)])) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "hyperlinks" && l.getMyHyperLinkSetting(r.row, r.rowIndex).visible === !0 ? (openBlock(), createBlock(W, { key: 1, type: l.getLinkType(r.row), onClick: o[4] || (o[4] = ($) => n.clickHyperLink(r.column, r.row, r.listCode, r.rowIndex)) }, { default: withCtx(() => [n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: l.getMyHyperLinkSetting(r.row, r.rowIndex).title, class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createTextVNode(toDisplayString$1(l.getMyHyperLinkSetting(r.row, r.rowIndex).label) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(L, { key: 0, iconValue: l.getMyHyperLinkSetting(r.row, r.rowIndex).icon }, null, 8, ["iconValue"])) : createCommentVNode("", !0)], 14, _hoisted_8$6)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createTextVNode(toDisplayString$1(l.getMyHyperLinkSetting(r.row, r.rowIndex).label) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(L, { key: 0, iconValue: l.getMyHyperLinkSetting(r.row, r.rowIndex).icon }, null, 8, ["iconValue"])) : createCommentVNode("", !0)], 10, _hoisted_9$6))]), _: 1 }, 8, ["type"])) : n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 2, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.$escapeHtml(l.getLabel(r.row)), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, toDisplayString$1(n.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 15, _hoisted_10$6)) : (openBlock(), createElementBlock("span", { key: 3, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, toDisplayString$1(n.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 11, _hoisted_11$4))], 64)) : (openBlock(), createElementBlock(Fragment, { key: 6 }, [r.column.componentType === "annex" || r.column.componentType === "multipartUpload" ? (openBlock(), createElementBlock("span", _hoisted_12$4, [n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, title: n.$escapeHtml(l.getLabel(r.row)), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(M, { width: s.cellWidth, entity: r.row, "file-set-obj": l.getFileObj(r.column.fileSet), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["width", "entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_13$3)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFileObj(r.column.fileSet), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_14$3))])) : r.column.formatter && r.column.formatter.type === "files" ? (openBlock(), createElementBlock("span", _hoisted_15$3, [createElementVNode("span", { id: r.column.prop + "DomData" + r.rowIndex, title: n.isShowOverflowTooltip ? n.$escapeHtml(l.getLabel(r.row)) : "", class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFilesFormatter(), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_16$3)])) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "hyperlinks" && l.getMyHyperLinkSetting(r.row, r.rowIndex).visible === !0 ? (openBlock(), createBlock(W, { key: 2, type: "primary", onClick: o[5] || (o[5] = ($) => n.clickHyperLink(r.column, r.row, r.listCode, r.rowIndex)) }, { default: withCtx(() => [n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.$escapeHtml(l.getMyHyperLinkSetting(r.row, r.rowIndex).title), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createTextVNode(toDisplayString$1(n.$escapeHtml(l.getMyHyperLinkSetting(r.row, r.rowIndex).label)) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(L, { key: 0, iconValue: l.getMyHyperLinkSetting(r.row, r.rowIndex).icon }, null, 8, ["iconValue"])) : createCommentVNode("", !0)], 14, _hoisted_17$3)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createTextVNode(toDisplayString$1(n.$escapeHtml(l.getMyHyperLinkSetting(r.row, r.rowIndex).label)) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(L, { key: 0, iconValue: l.getMyHyperLinkSetting(r.row, r.rowIndex).icon }, null, 8, ["iconValue"])) : createCommentVNode("", !0)], 10, _hoisted_18$2))]), _: 1 })) : r.column.formatter && r.column.formatter.type === "richEditor" ? (openBlock(), createBlock(q, { key: 3, content: n.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: withCtx(() => [createElementVNode("em", { class: "fa fa-info-circle annex-cell", onClick: o[6] || (o[6] = ($) => l.showRichEditorContent(r.row, r.column, l.getHeader())) })]), _: 1 }, 8, ["content"])) : r.column.formatter && r.column.formatter.type === "icon" ? (openBlock(), createBlock(K, { key: 4, id: r.column.prop + "DomData" + r.rowIndex, column: r.column, row: r.row, "row-index": r.rowIndex, "is-sql": r.isSql, "list-code": r.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 5, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: l.getLabel(r.row), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span"), innerHTML: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 14, _hoisted_19$1)) : (openBlock(), createElementBlock("span", { key: 6, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, toDisplayString$1(n.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 11, _hoisted_20$1))], 64))])), s.showSingleImgFlag ? (openBlock(), createBlock(ie, { key: 2, "file-list": s.fileList, onClose: o[7] || (o[7] = ($) => s.showSingleImgFlag = !1) }, null, 8, ["file-list"])) : createCommentVNode("", !0), s.showRichEditorViewer ? (openBlock(), createBlock(J, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)]);
|
|
13539
|
+
return openBlock(), createElementBlock("div", _hoisted_1$10, [l.isEditing || r.isShowForm ? (openBlock(), createBlock(d, { key: 0, ref: "dynamicRef", value: r.row[r.column.prop], "onUpdate:value": o[0] || (o[0] = ($) => r.row[r.column.prop] = $), class: normalizeClass(s.requiredClass), column: r.column, "is-sql": r.isSql, "line-edit": s.lineEdit, "list-code": r.listCode, "list-toolbar-form-data": r.listToolbarFormData, options: r.column.valueSet, "grid-options": s.options, position: { row: r.rowIndex, prop: r.column.prop }, disabled: s.disabled, row: r.row, "row-index": r.rowIndex, type: r.column.componentType, onKeyup: withKeys(l.clearAllEditing, ["enter"]), onFindIndex: o[1] || (o[1] = ($) => l.findIndex(r.rowIndex)), onFocus: o[2] || (o[2] = ($) => l.onFocus(r.rowIndex)), onProhibitToEdit: l.prohibitToEdit, onRefreshList: l.refreshList, onRefresData: l.refresData, onRefresMainTableFields: l.refresMainTableFields, onRefresPortData: l.refresPortData, onRefresPortsData: l.refresPortsData, onChangeDisabled: l.changeDisabled, onChangeRequired: l.changeRequired, onOpenPage: l.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"])) : (openBlock(), createElementBlock("div", _hoisted_2$D, [s.lineEdit.editable && ((ye = (he = (ne = (oe = s.options) == null ? void 0 : oe.configureObj) == null ? void 0 : ne.props) == null ? void 0 : he.base) != null && ye.columnEditable) && s.isEditable && !l.isHideEdit && !r.isContentViewText ? (openBlock(), createElementBlock("div", { key: 0, class: "column-text-edit-main", onClick: o[3] || (o[3] = (...$) => l.onEditing && l.onEditing(...$)) }, [createVNode(y, { size: 14, color: "#409eff" }, { default: withCtx(() => [createVNode(p)]), _: 1 }), [void 0, null, ""].includes(r.row[r.column.prop]) ? (openBlock(), createElementBlock("span", _hoisted_3$u, toDisplayString$1(n.$t("superGrid.editablePlaceholder")), 1)) : createCommentVNode("", !0)])) : createCommentVNode("", !0), r.column.operations ? (openBlock(), createElementBlock("span", _hoisted_4$l, [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.column.operations, ($, _e) => (openBlock(), createElementBlock("span", { key: _e, class: normalizeClass([r.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [$.isGroup ? (openBlock(), createBlock(x, { key: 0, size: $.buttons && $.buttons.length > 0 ? $.buttons[0].props.size : "small", "split-button": "", onCommand: l.handleCommand }, { dropdown: withCtx(() => [createVNode(E, null, { default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList($.buttons, (ce, fe) => (openBlock(), createElementBlock("span", { key: ce.props.code + fe }, [withDirectives((openBlock(), createBlock(w, { command: l.beforeHandleCommand(ce.props.code, r.row, r.rowIndex), disabled: n.preventReclick }, { default: withCtx(() => [createTextVNode(toDisplayString$1(n.$escapeHtml(ce.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[G, ce.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: withCtx(() => [createTextVNode(toDisplayString$1(n.$escapeHtml($.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : $.props.customControl ? withDirectives((openBlock(), createBlock(resolveDynamicComponent($.props.customControl), { key: r.column.prop + "_" + r.rowIndex + "_" + r.currentPage, disabled: !0, row: r.pageGridData[r.rowIndex], entity: r.pageGridData[r.rowIndex], prop: r.column.prop, parent: s.parentFormData, "row-index": r.rowIndex, "grid-data": r.gridData, "page-grid-data": r.pageGridData, "current-page": r.currentPage, "custom-params": s.controlConfig ? s.controlConfig.customParams : null, onRefreshList: l.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "custom-params", "onRefreshList"])), [[G, $.props.permission]]) : (openBlock(), createBlock(D, { key: 2, column: r.column, editing: r.row.$editing, entity: r.row, "is-show": $.isShow, label: $.props.label ? $.props.label : r.row[r.column.prop], "on-click": $.onClick, "operation-index": _e, "operation-setting": $.props, "event-name": $.eventName, "row-index": r.rowIndex, "list-code": r.listCode, "parent-form-data": s.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))])) : n.customFormatValue(r.row, r.column.prop, r.customFormat, r.rowIndex) ? (openBlock(), createElementBlock("span", { key: 2, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [(openBlock(), createBlock(resolveDynamicComponent(r.column.prop + r.rowIndex), { entity: r.row, parent: s.parentFormData, prop: r.column.prop, row: r.row, "row-index": r.rowIndex, "select-options": r.column.valueSet, "show-value": n.$escapeHtml(l.getLabel(r.row, r.rowIndex)), value: l.getCellValue(r.row), "additional-param-map": s.additionalParamMap, "additional-settings": s.additionalSettings, "page-context": (Ne = s.options) == null ? void 0 : Ne.pageContext, "custom-params": s.controlConfig ? s.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)) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "customControl" && s.columnFormatter.options && s.columnFormatter.options.format && s.columnFormatter.options.format !== "" ? (openBlock(), createElementBlock("span", { key: 3, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [(openBlock(), createBlock(resolveDynamicComponent(s.columnFormatter.options.format), { key: r.column.prop + "_" + r.rowIndex + "_" + r.currentPage, "current-page": r.currentPage, disabled: !0, entity: r.pageGridData[r.rowIndex], "get-form-data": s.getFormData, "get-grid-data": s.getTableGridData, "grid-data": r.gridData, "page-grid-data": r.pageGridData, parent: s.parentFormData, prop: r.column.prop, row: r.pageGridData[r.rowIndex], "row-index": r.rowIndex, "select-options": r.column.valueSet, "show-value": n.$escapeHtml(l.getLabel(r.pageGridData[r.rowIndex], r.rowIndex)), value: l.getCellValue(r.pageGridData[r.rowIndex]), "additional-param-map": s.additionalParamMap, listCode: r.listCode, "component-id": s.componentId, "additional-settings": s.additionalSettings, "page-context": (le = s.options) == null ? void 0 : le.pageContext, "custom-params": s.controlConfig ? s.controlConfig.customParams : null, onProhibitToEdit: l.prohibitToEdit, onRefreshList: l.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)) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "secretInfo" ? (openBlock(), createElementBlock("span", { key: 4, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createVNode(O, { entity: r.row, "field-label": n.$escapeHtml(n.label), "list-code": r.listCode, "list-name": r.listName, "page-code": r.pageCode, prop: r.column.prop, "table-name": r.tableName, value: l.getCellValue(r.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, _hoisted_5$g)) : n.isObjectProp(r.column.prop) ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [r.column.formatter && r.column.formatter.type === "files" ? (openBlock(), createElementBlock("span", _hoisted_6$f, [createElementVNode("span", { id: r.column.prop + "DomData" + r.rowIndex, title: n.isShowOverflowTooltip ? n.$escapeHtml(l.getLabel(r.row)) : "", class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFilesFormatter(), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_7$9)])) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "hyperlinks" && l.getMyHyperLinkSetting(r.row, r.rowIndex).visible === !0 ? (openBlock(), createBlock(W, { key: 1, type: l.getLinkType(r.row), onClick: o[4] || (o[4] = ($) => n.clickHyperLink(r.column, r.row, r.listCode, r.rowIndex)) }, { default: withCtx(() => [n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: l.getMyHyperLinkSetting(r.row, r.rowIndex).title, class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createTextVNode(toDisplayString$1(l.getMyHyperLinkSetting(r.row, r.rowIndex).label) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(L, { key: 0, iconValue: l.getMyHyperLinkSetting(r.row, r.rowIndex).icon }, null, 8, ["iconValue"])) : createCommentVNode("", !0)], 14, _hoisted_8$6)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createTextVNode(toDisplayString$1(l.getMyHyperLinkSetting(r.row, r.rowIndex).label) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(L, { key: 0, iconValue: l.getMyHyperLinkSetting(r.row, r.rowIndex).icon }, null, 8, ["iconValue"])) : createCommentVNode("", !0)], 10, _hoisted_9$6))]), _: 1 }, 8, ["type"])) : n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 2, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.$escapeHtml(l.getLabel(r.row)), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, toDisplayString$1(n.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 15, _hoisted_10$6)) : (openBlock(), createElementBlock("span", { key: 3, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, toDisplayString$1(n.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 11, _hoisted_11$4))], 64)) : (openBlock(), createElementBlock(Fragment, { key: 6 }, [r.column.componentType === "annex" || r.column.componentType === "multipartUpload" ? (openBlock(), createElementBlock("span", _hoisted_12$4, [n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, title: n.$escapeHtml(l.getLabel(r.row)), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(M, { width: s.cellWidth, entity: r.row, "file-set-obj": l.getFileObj(r.column.fileSet), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["width", "entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_13$3)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFileObj(r.column.fileSet), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_14$3))])) : r.column.formatter && r.column.formatter.type === "files" ? (openBlock(), createElementBlock("span", _hoisted_15$3, [createElementVNode("span", { id: r.column.prop + "DomData" + r.rowIndex, title: n.isShowOverflowTooltip ? n.$escapeHtml(l.getLabel(r.row)) : "", class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFilesFormatter(), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_16$3)])) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "hyperlinks" && l.getMyHyperLinkSetting(r.row, r.rowIndex).visible === !0 ? (openBlock(), createBlock(W, { key: 2, type: "primary", onClick: o[5] || (o[5] = ($) => n.clickHyperLink(r.column, r.row, r.listCode, r.rowIndex)) }, { default: withCtx(() => [n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.$escapeHtml(l.getMyHyperLinkSetting(r.row, r.rowIndex).title), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createTextVNode(toDisplayString$1(n.$escapeHtml(l.getMyHyperLinkSetting(r.row, r.rowIndex).label)) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(L, { key: 0, iconValue: l.getMyHyperLinkSetting(r.row, r.rowIndex).icon }, null, 8, ["iconValue"])) : createCommentVNode("", !0)], 14, _hoisted_17$3)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createTextVNode(toDisplayString$1(n.$escapeHtml(l.getMyHyperLinkSetting(r.row, r.rowIndex).label)) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(L, { key: 0, iconValue: l.getMyHyperLinkSetting(r.row, r.rowIndex).icon }, null, 8, ["iconValue"])) : createCommentVNode("", !0)], 10, _hoisted_18$2))]), _: 1 })) : r.column.formatter && r.column.formatter.type === "richEditor" ? (openBlock(), createBlock(q, { key: 3, content: n.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: withCtx(() => [createElementVNode("em", { class: "fa fa-info-circle annex-cell", onClick: o[6] || (o[6] = ($) => l.showRichEditorContent(r.row, r.column, l.getHeader())) })]), _: 1 }, 8, ["content"])) : r.column.formatter && r.column.formatter.type === "icon" ? (openBlock(), createBlock(K, { key: 4, id: r.column.prop + "DomData" + r.rowIndex, column: r.column, row: r.row, "row-index": r.rowIndex, "is-sql": r.isSql, "list-code": r.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 5, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: l.getLabel(r.row), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span"), innerHTML: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 14, _hoisted_19$1)) : (openBlock(), createElementBlock("span", { key: 6, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, toDisplayString$1(n.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 11, _hoisted_20$1))], 64))])), s.showSingleImgFlag ? (openBlock(), createBlock(ie, { key: 2, "file-list": s.fileList, onClose: o[7] || (o[7] = ($) => s.showSingleImgFlag = !1) }, null, 8, ["file-list"])) : createCommentVNode("", !0), s.showRichEditorViewer ? (openBlock(), createBlock(J, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)]);
|
|
13544
13540
|
}
|
|
13545
|
-
const NormalColumnContent = _export_sfc(_sfc_main$1j, [["render", _sfc_render$V], ["__scopeId", "data-v-
|
|
13541
|
+
const NormalColumnContent = _export_sfc(_sfc_main$1j, [["render", _sfc_render$V], ["__scopeId", "data-v-9058363e"]]), _sfc_main$1i = { components: { DynamicInput, RowOperation, ViewImageDialog, FsPreview, RichEditorViewer, CirclePlus: circle_plus_default, ElIconZoomIn: zoom_in_default, GridIcon, NormalColumnContent }, name: "NormalColumn", props: { column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: !1 }, 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 } }, data() {
|
|
13546
13542
|
let n;
|
|
13547
13543
|
const o = store$1.get(this.listCode), r = o.options;
|
|
13548
13544
|
o.options.extraParam && o.options.extraParam.entityMap && (n = o.options.extraParam.entityMap);
|
|
@@ -15893,7 +15889,7 @@ const superGridService$1 = { initialize() {
|
|
|
15893
15889
|
function _sfc_render$F(n, o, r, a, s, l) {
|
|
15894
15890
|
return openBlock(), createElementBlock("ul", _hoisted_1$R, [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.buttomArr, (d) => (openBlock(), createElementBlock("li", { key: d.name }, [createElementVNode("i", { class: normalizeClass(d.icon) }, null, 2), createElementVNode("span", { onClick: (p) => l.buttonClick(d.event, d) }, toDisplayString$1(d.label), 9, _hoisted_2$x)]))), 128))]);
|
|
15895
15891
|
}
|
|
15896
|
-
const headerContextMenu = _export_sfc(_sfc_main$12, [["render", _sfc_render$F], ["__scopeId", "data-v-040fcf55"]]),
|
|
15892
|
+
const headerContextMenu = _export_sfc(_sfc_main$12, [["render", _sfc_render$F], ["__scopeId", "data-v-040fcf55"]]), superGrid_vue_vue_type_style_index_0_scoped_89d32aa6_rel_stylesheet_2Fscss_lang = "", _sfc_main$11 = { components: { IndexColumn, SelectionColumn, NormalColumn, GroupColumn, ColumnsConfig, SearchForm: SearchForm$1, headerContextMenu, searchFormDialog, ElIconSetting: setting_default, ElIconRefresh: refresh_default, RowDetail, MobileCard }, name: "SuperGrid", props: { isShowAutoCard: { type: Boolean, default: !0 }, code: { type: String, default: "" }, url: { type: String, default: "" }, options: { type: Object, default: function() {
|
|
15897
15893
|
return {};
|
|
15898
15894
|
} }, publishVersion: { type: Number, default: 0 }, customFormatter: { type: Object, default: null }, searchFormInfo: { type: Object, default: () => ({}) }, showPagination: { type: Boolean, default: !0 }, listToolbarFormData: { type: Object, default: null }, settings: { type: Object, default: null }, additionalParamMap: { type: Object, default: null }, manualHeightOffset: { type: [void 0, Number], default: void 0 } }, data() {
|
|
15899
15895
|
let n;
|
|
@@ -16808,6 +16804,8 @@ const headerContextMenu = _export_sfc(_sfc_main$12, [["render", _sfc_render$F],
|
|
|
16808
16804
|
this.$refs.superGrid.setCurrentRow(this.tableDatas[n]);
|
|
16809
16805
|
}, getSuperGridRef() {
|
|
16810
16806
|
return this.$refs.superGrid;
|
|
16807
|
+
}, getColumns() {
|
|
16808
|
+
return this.columns;
|
|
16811
16809
|
}, handRowKeyToUpperCase(n) {
|
|
16812
16810
|
if (n) {
|
|
16813
16811
|
const o = {};
|
|
@@ -16825,7 +16823,7 @@ function _sfc_render$E(n, o, r, a, s, l) {
|
|
|
16825
16823
|
const d = resolveComponent("search-form"), p = resolveComponent("search-form-dialog"), y = resolveComponent("MobileCard"), w = resolveComponent("row-detail"), E = resolveComponent("el-table"), x = resolveComponent("el-icon-setting"), D = resolveComponent("el-icon-refresh"), O = resolveComponent("el-pagination"), M = resolveComponent("columns-config"), L = resolveComponent("header-context-menu"), W = resolveComponent("row-form"), q = resolveDirective("resize");
|
|
16826
16824
|
return withDirectives((openBlock(), createElementBlock("div", { "data-v": "1.0.0", class: "super-grid-main-view", style: normalizeStyle(s.subTableStyle), onClick: o[9] || (o[9] = (...G) => n.onClickTableMain && n.onClickTableMain(...G)) }, [!s.isFormSubTable && s.hasLoadedColumns && s.query && s.query.showType === "embedded" ? withDirectives((openBlock(), createBlock(d, { key: 0, ref: "sf", columns: s.columns, code: r.code, url: r.url, pagination: s.pagination, query: s.query, "search-form-info": r.searchFormInfo, "search-param": s.searchFormContent, "init-search-props": s.initSearchProps, "list-toolbar-form-data": r.listToolbarFormData, "load-complete-query": s.loadCompleteQuery, class: "super-grid-main-search-view", onSearch: l.doSearch, onReset: l.resetSearch, onOpenFold: l.openFold, onCanShowMobileSearch: o[0] || (o[0] = (G) => n.$emit("can-show-mobile-search", r.code)), onCloseMobileSearch: o[1] || (o[1] = (G) => s.isShowMobileSearch = !1) }, 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"])), [[vShow, !s.isMobile || s.isMobile && s.isShowMobileSearch]]) : createCommentVNode("", !0), s.hasLoadedColumns && s.query && s.query.showType === "popup" ? (openBlock(), createBlock(p, { key: 1, ref: "sfDialog", columns: s.columns, code: r.code, url: r.url, pagination: s.pagination, query: s.query, "search-param": s.searchFormContent, "init-search-props": s.initSearchProps, onSearch: l.doSearchDialog, onReset: l.resetSearch, onClose: l.closeSearchFormDialog }, null, 8, ["columns", "code", "url", "pagination", "query", "search-param", "init-search-props", "onSearch", "onReset", "onClose"])) : createCommentVNode("", !0), createElementVNode("div", { ref: "superGridMain", class: normalizeClass(["grid-area " + r.code, "super-grid-main-body"]) }, [l.isShowCard ? (openBlock(), createBlock(y, { key: 0, selection: s.selectionTableData, columns: l.visibleColumns, listCode: r.code, getColumnComponentData: l.getColumnComponentData, data: l.tableDatas, "current-page": s.currentPage, "onUpdate:currentPage": o[2] || (o[2] = (G) => s.currentPage = G), "page-size": (ie = (K = s.pagination) == null ? void 0 : K.pageSizes) == null ? void 0 : ie[0], "page-total": (J = s.pagination) == null ? void 0 : J.total, class: "super-grid-main-card-view", onSelect: l.selectRecord, onSelectionChange: l.cardSelectionChangeEvent, onCurrentChange: l.handleCurrentChange, onRowClick: l.rowClickEvent, onRowDblclick: l.rowDblclickEvent }, null, 8, ["selection", "columns", "listCode", "getColumnComponentData", "data", "current-page", "page-size", "page-total", "onSelect", "onSelectionChange", "onCurrentChange", "onRowClick", "onRowDblclick"])) : s.refreshGrid && s.hasLoadedColumns && !l.isShowCard ? (openBlock(), createBlock(E, { key: 1, ref: "superGrid", data: l.tableDatas, "row-key": l.getRowKeyProp, "show-summary": l.showSummary, "summary-method": l.getSummaries, style: normalizeStyle(s.tableStyle), stripe: s.stripe, border: !0, "default-expand-all": s.defaultExpandAll, lazy: s.isLazy, load: l.loadChildren, "row-style": l.changeRowStyle, "cell-style": l.changeCellStyle, "header-cell-style": l.changeHeaderStyle, "highlight-current-row": !0, "span-method": l.rowSpan, "max-height": l.hasMaxHeight, height: l.hasTableHeight, class: normalizeClass([s.tableClass, "super-grid-main-table-view"]), "tree-props": l.getTreeProps(s.parentProp, s.isSql, s.isLazy, s.dataSourceType), "scrollbar-always-on": l.scrollbarAlwaysOn, onSortChange: l.handleSortChange, onSelect: l.selectRecord, onSelectAll: l.selectAllRecord, onSelectionChange: l.selectionChangeEvent, onRowClick: l.rowClickEvent, onRowDblclick: l.rowDblclickEvent, onExpandChange: l.expandChange, onHeaderClick: l.headerClickEvent, onHeaderDragend: l.changeHederWidth, onHeaderContextmenu: l.headerContextmenu, onCellClick: l.selectCell, onCellDblclick: n.cellDblClick }, { default: withCtx(() => [s.detailColumn ? (openBlock(), createBlock(w, { key: 0, column: s.detailColumn, "list-code": r.code, onShowDetail: l.openRowForm }, null, 8, ["column", "list-code", "onShowDetail"])) : createCommentVNode("", !0), (openBlock(!0), createElementBlock(Fragment, null, renderList(l.visibleColumnsComponentData, ({ column: G, ...oe }, ne) => (openBlock(), createBlock(resolveDynamicComponent(l.getComponentType(G)), mergeProps({ ref_for: !0, ref: G.prop, key: G.label + ne }, oe.$bind, toHandlers(oe.$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"])) : createCommentVNode("", !0), r.showPagination && !l.isShowCard ? (openBlock(), createElementBlock("div", _hoisted_1$Q, [createElementVNode("div", _hoisted_2$w, [s.basicInfo.customConfig && !s.isFormSubTable ? (openBlock(), createElementBlock("div", { key: 0, class: "el-icon-setting", title: n.$t("superGrid.columnConfig"), onClick: o[3] || (o[3] = (...G) => l.configColumns && l.configColumns(...G)) }, [createVNode(x, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, _hoisted_3$q)) : createCommentVNode("", !0), s.isFormSubTable ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", { key: 1, class: "el-icon-refresh", title: n.$t("superGrid.refresh"), onClick: o[4] || (o[4] = (...G) => l.refreshGridData && l.refreshGridData(...G)) }, [createVNode(D, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, _hoisted_4$j))]), s.pagination && s.isShowPage ? (openBlock(), createBlock(O, { key: 0, "current-page": s.currentPage, "onUpdate:currentPage": o[5] || (o[5] = (G) => s.currentPage = G), "page-size": s.pagination.pageSize, "onUpdate:pageSize": o[6] || (o[6] = (G) => s.pagination.pageSize = G), background: "", "page-sizes": s.pagination.pageSizes, layout: s.pagination.layout, total: s.pagination.showTotal ? s.pagination.total !== void 0 && s.pagination.total !== "" && s.pagination.total !== null ? s.pagination.total : 0 : 1e11, onSizeChange: l.handleSizeChange, onCurrentChange: l.handleCurrentChange }, null, 8, ["current-page", "page-size", "page-sizes", "layout", "total", "onSizeChange", "onCurrentChange"])) : createCommentVNode("", !0)])) : createCommentVNode("", !0)], 2), s.showColumnConfig ? (openBlock(), createBlock(M, { key: 2, columns: l.visibleColumns, "list-code": r.code, "is-sql": s.isSql, onClose: o[7] || (o[7] = (G) => l.closeCustomConfig(G)), onReset: o[8] || (o[8] = (G) => l.resetCustomConfig(G)) }, null, 8, ["columns", "list-code", "is-sql"])) : createCommentVNode("", !0), s.showHeaderContextmenu ? (openBlock(), createBlock(L, { key: 3, ref: "headerMenu", "buttom-arr": r.options.rightClickMenuArr, column: s.rightClickColumn, onClearHeaderContextmenu: l.clearHeaderContextmenu }, null, 8, ["buttom-arr", "column", "onClearHeaderContextmenu"])) : createCommentVNode("", !0), s.showRowForm ? (openBlock(), createBlock(W, { key: 4, "parent-form-data": s.parentFormData, columns: l.visibleColumns, "row-index": s.currentEditRowIndex, "list-code": r.code, "drag-column-prop": s.dragColumnProp, "is-sql": s.isSql, "base-url": s.baseURL, options: r.options, "table-name": s.tableName, "page-code": s.pageCode, "list-toolbar-form-data": r.listToolbarFormData, "list-name": s.listName, "current-page": s.currentPage, "grid-data": s.isSubTableShowPage ? s.subTableData : s.gridData, "page-grid-data": s.isSubTableShowPage ? l.getSubTableGridData(s.subTableData) : s.gridData, "line-edit": s.lineEdit, "show-page": s.pagination && s.isShowPage, "page-size": s.pagination ? s.pagination.pageSize : null, onClose: l.closeRowForm, onRefresData: l.refresData, onRefresPortData: l.refresPortData, onRefresPortsData: l.refresPortsData, onRefresMainTableFields: l.refresMainTableFields, onOpenPage: l.openPageDialog, onProhibitToEdit: l.prohibitToEdit, onRefreshList: l.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"])) : createCommentVNode("", !0)], 4)), [[q, l.onResize]]);
|
|
16827
16825
|
}
|
|
16828
|
-
const SuperGrid = _export_sfc(_sfc_main$11, [["render", _sfc_render$E], ["__scopeId", "data-v-
|
|
16826
|
+
const SuperGrid = _export_sfc(_sfc_main$11, [["render", _sfc_render$E], ["__scopeId", "data-v-89d32aa6"]]);
|
|
16829
16827
|
SuperGrid.install = function(n) {
|
|
16830
16828
|
n.component(SuperGrid.name, SuperGrid);
|
|
16831
16829
|
};
|
|
@@ -53591,8 +53589,8 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
53591
53589
|
oa.each(function(qs) {
|
|
53592
53590
|
ja.each(function(Kc) {
|
|
53593
53591
|
Aa.each(function(ui) {
|
|
53594
|
-
var gv = $n.getValue(qs).x / 100, Aw = $n.getValue(ui).x / 100,
|
|
53595
|
-
Q(ar,
|
|
53592
|
+
var gv = $n.getValue(qs).x / 100, Aw = $n.getValue(ui).x / 100, KN = $n.getValue(Kc).x / 100, YN = cf(gv, Aw, KN);
|
|
53593
|
+
Q(ar, YN);
|
|
53596
53594
|
});
|
|
53597
53595
|
});
|
|
53598
53596
|
});
|
|
@@ -57639,9 +57637,9 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
57639
57637
|
}), xn(l1(), function(T) {
|
|
57640
57638
|
t6(T, C.get(), c, m), C.set($.none());
|
|
57641
57639
|
})];
|
|
57642
|
-
},
|
|
57640
|
+
}, e5 = QT, t5 = ne(yE, [Or("dragger", { handlers: bE(rx) })]), n5 = ne(yE, [Or("dragger", { handlers: bE(function(c, m, _) {
|
|
57643
57641
|
return ne(nx(c, m, _), rx(c, m, _));
|
|
57644
|
-
}) })]),
|
|
57642
|
+
}) })]), o5 = Object.freeze({ __proto__: null, mouse: e5, touch: t5, mouseOrTouch: n5 }), r5 = Object.freeze({ __proto__: null, init: function() {
|
|
57645
57643
|
var c = $.none(), m = $.none(), _ = O({});
|
|
57646
57644
|
return xi({ readState: _, reset: function() {
|
|
57647
57645
|
c = $.none(), m = $.none();
|
|
@@ -57659,11 +57657,11 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
57659
57657
|
}, setStartData: function(C) {
|
|
57660
57658
|
m = $.some(C);
|
|
57661
57659
|
} });
|
|
57662
|
-
} }), mv = Uu({ branchKey: "mode", branches:
|
|
57660
|
+
} }), mv = Uu({ branchKey: "mode", branches: o5, name: "dragging", active: { events: function(c, m) {
|
|
57663
57661
|
return c.dragger.handlers(c, m);
|
|
57664
57662
|
} }, extra: { snap: function(c) {
|
|
57665
57663
|
return { sensor: c.sensor, range: c.range, output: c.output, extra: $.from(c.extra) };
|
|
57666
|
-
} }, state:
|
|
57664
|
+
} }, state: r5, apis: qT }), ix = function(c, m, _, C, T, I) {
|
|
57667
57665
|
return c.fold(function() {
|
|
57668
57666
|
return mv.snap({ sensor: e1(_ - 20, C - 20), range: Gr(T, I), output: e1($.some(_), $.some(C)), extra: { td: m } });
|
|
57669
57667
|
}, function(B) {
|
|
@@ -57681,7 +57679,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
57681
57679
|
}, mustSnap: !0 };
|
|
57682
57680
|
}, sx = function(c) {
|
|
57683
57681
|
return yr(Xa.sketch({ dom: { tag: "div", classes: ["tox-selector"] }, buttonBehaviours: zn([mv.config({ mode: "mouseOrTouch", blockerClass: "blocker", snaps: c }), hp.config({})]), eventOrder: { mousedown: ["dragging", "alloy.base.behaviour"], touchstart: ["dragging", "alloy.base.behaviour"] } }));
|
|
57684
|
-
},
|
|
57682
|
+
}, i5 = function(c, m) {
|
|
57685
57683
|
var _ = Rn([]), C = Rn([]), T = Rn(!1), I = Rn($.none()), B = Rn($.none()), F = function(He) {
|
|
57686
57684
|
var et = gc(He);
|
|
57687
57685
|
return ix(Q.getOpt(m), He, et.x, et.y, et.width, et.height);
|
|
@@ -57730,9 +57728,9 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
57730
57728
|
}), c.on("TableSelectionClear", function() {
|
|
57731
57729
|
T.get() && (Tc(De), Tc(Fe), T.set(!1)), I.set($.none()), B.set($.none());
|
|
57732
57730
|
}));
|
|
57733
|
-
},
|
|
57731
|
+
}, a5 = function(c) {
|
|
57734
57732
|
return !!(c.nodeType === 1 && (c.nodeName === "BR" || c.getAttribute("data-mce-bogus") || c.getAttribute("data-mce-type") === "bookmark"));
|
|
57735
|
-
},
|
|
57733
|
+
}, s5 = function(c, m, _) {
|
|
57736
57734
|
return m.delimiter || (m.delimiter = "»"), { dom: { tag: "div", classes: ["tox-statusbar__path"], attributes: { role: "navigation" } }, behaviours: zn([bo.config({ mode: "flow", selector: "div[role=button]" }), yo.config({ disabled: _.isDisabled }), Mi(), jr.config({}), Do.config({}), Xo("elementPathEvents", [Ur(function(C, T) {
|
|
57737
57735
|
c.shortcuts.add("alt+F11", "focus statusbar elementpath", function() {
|
|
57738
57736
|
return bo.focusIn(C);
|
|
@@ -57740,7 +57738,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
57740
57738
|
var B, F, H = function(z) {
|
|
57741
57739
|
for (var Z = [], Q = z.length; Q-- > 0; ) {
|
|
57742
57740
|
var ve = z[Q];
|
|
57743
|
-
if (ve.nodeType === 1 && !
|
|
57741
|
+
if (ve.nodeType === 1 && !a5(ve)) {
|
|
57744
57742
|
var De = c.fire("ResolveName", { name: ve.nodeName.toLowerCase(), target: ve });
|
|
57745
57743
|
if (De.isDefaultPrevented() || Z.push({ name: De.name, element: ve }), De.isPropagationStopped())
|
|
57746
57744
|
break;
|
|
@@ -57775,7 +57773,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
57775
57773
|
}, n6 = function(c, m, _, C) {
|
|
57776
57774
|
var T = Gr(20 * _, 20 * C);
|
|
57777
57775
|
return cx(c, T, m), $.some(!0);
|
|
57778
|
-
},
|
|
57776
|
+
}, l5 = function(c, m) {
|
|
57779
57777
|
var _ = function(C) {
|
|
57780
57778
|
var T = !C.hasPlugin("autoresize"), I = C.getParam("resize", T);
|
|
57781
57779
|
return I === !1 ? dv.None : I === "both" ? dv.Both : dv.Vertical;
|
|
@@ -57791,10 +57789,10 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
57791
57789
|
}, onDown: function() {
|
|
57792
57790
|
return n6(c, _, 0, 1);
|
|
57793
57791
|
} }), jr.config({}), No.config({})]) });
|
|
57794
|
-
},
|
|
57792
|
+
}, u5 = function(c, m) {
|
|
57795
57793
|
var _ = function() {
|
|
57796
57794
|
var C, T = [];
|
|
57797
|
-
return c.getParam("elementpath", !0, "boolean") && T.push(
|
|
57795
|
+
return c.getParam("elementpath", !0, "boolean") && T.push(s5(c, {}, m)), c.hasPlugin("wordcount") && T.push(function(I, B) {
|
|
57798
57796
|
var F, H = function(z, Z, Q) {
|
|
57799
57797
|
return Do.set(z, [qa(B.translate(["{0} " + Q, Z[Q]]))]);
|
|
57800
57798
|
};
|
|
@@ -57810,10 +57808,10 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
57810
57808
|
}(c, m)), c.getParam("branding", !0, "boolean") && T.push({ dom: { tag: "span", classes: ["tox-statusbar__branding"], innerHtml: '<a href="https://www.tiny.cloud/?utm_campaign=editor_referral&utm_medium=poweredby&utm_source=tinymce&utm_content=v5" rel="noopener" target="_blank" tabindex="-1" aria-label="' + (C = zl.translate(["Powered by {0}", "Tiny"])) + '">' + C + "</a>" } }), T.length > 0 ? [{ dom: { tag: "div", classes: ["tox-statusbar__text-container"] }, components: T }] : [];
|
|
57811
57809
|
};
|
|
57812
57810
|
return { dom: { tag: "div", classes: ["tox-statusbar"] }, components: function() {
|
|
57813
|
-
var C = _(), T =
|
|
57811
|
+
var C = _(), T = l5(c, m);
|
|
57814
57812
|
return C.concat(T.toArray());
|
|
57815
57813
|
}() };
|
|
57816
|
-
},
|
|
57814
|
+
}, c5 = function(c) {
|
|
57817
57815
|
var m, _, C, T, I = c.inline, B = I ? ET : bT, F = I0(c) ? Jk : Uk, H = $.none(), z = mr(), Z = z.browser.isIE() ? ["tox-platform-ie"] : [], Q = z.deviceType.isTouch() ? ["tox-platform-touch"] : [], ve = IC(c), De = Tg(c), Fe = zl.isRtl() ? { attributes: { dir: "rtl" } } : {}, it = { attributes: (m = {}, m[Jp] = ve ? fl.BottomToTop : fl.TopToBottom, m) }, Ve = function() {
|
|
57818
57816
|
return H.bind(Ci.getHeader);
|
|
57819
57817
|
}, ft = function() {
|
|
@@ -57842,7 +57840,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
57842
57840
|
return Ve().getOrDie("Could not find header element");
|
|
57843
57841
|
} }, it)), oo = Ci.parts["multiple-toolbar"]({ dom: { tag: "div", classes: ["tox-toolbar-overlord"] }, providers: Lt.shared.providers, onEscape: function() {
|
|
57844
57842
|
c.focus();
|
|
57845
|
-
}, type: vn }), So = Ci.parts.socket({ dom: { tag: "div", classes: ["tox-edit-area"] } }), Mo = Ci.parts.sidebar({ dom: { tag: "div", classes: ["tox-sidebar"] } }), Ao = Ci.parts.throbber({ dom: { tag: "div", classes: ["tox-throbber"] }, backstage: Lt }), tr = c.getParam("statusbar", !0, "boolean") && !I ? $.some(
|
|
57843
|
+
}, type: vn }), So = Ci.parts.socket({ dom: { tag: "div", classes: ["tox-edit-area"] } }), Mo = Ci.parts.sidebar({ dom: { tag: "div", classes: ["tox-sidebar"] } }), Ao = Ci.parts.throbber({ dom: { tag: "div", classes: ["tox-throbber"] }, backstage: Lt }), tr = c.getParam("statusbar", !0, "boolean") && !I ? $.some(u5(c, Lt.shared.providers)) : $.none(), ni = { dom: { tag: "div", classes: ["tox-sidebar-wrap"] }, components: [So, Mo] }, Er = k2(c), Gs = x2(c), Gc = S2(c), uf = Ci.parts.header({ dom: G({ tag: "div", classes: ["tox-editor-header"] }, it), components: Ue([Gc ? [En] : [], Er ? [oo] : Gs ? [Jn] : [], N0(c) ? [] : [Nt.asSpec()]]), sticky: I0(c), editor: c, sharedBackstage: Lt.shared }), t1 = Ue([ve ? [] : [uf], I ? [] : [ni], ve ? [uf] : []]), qc = Ue([[{ dom: { tag: "div", classes: ["tox-editor-container"] }, components: t1 }], I ? [] : tr.toArray(), [Ao]]), cf = V_(c), Np = G(G({ role: "application" }, zl.isRtl() ? { dir: "rtl" } : {}), cf ? { "aria-hidden": "true" } : {}), Ia = Qr(Ci.sketch({ dom: { tag: "div", classes: ["tox", "tox-tinymce"].concat(I ? ["tox-tinymce-inline"] : []).concat(ve ? ["tox-tinymce--toolbar-bottom"] : []).concat(Q).concat(Z), styles: G({ visibility: "hidden" }, cf ? { opacity: "0", border: "0" } : {}), attributes: Np }, components: qc, behaviours: zn([Mi(), yo.config({ disableClass: "tox-tinymce--disabled" }), bo.config({ mode: "cyclic", selector: ".tox-menubar, .tox-toolbar, .tox-toolbar__primary, .tox-toolbar__overflow--open, .tox-sidebar__overflow--open, .tox-statusbar__path, .tox-statusbar__wordcount, .tox-statusbar__branding a, .tox-statusbar__resize-handle" })]) }));
|
|
57846
57844
|
H = $.some(Ia), c.shortcuts.add("alt+F9", "focus menubar", function() {
|
|
57847
57845
|
Ci.focusMenubar(Ia);
|
|
57848
57846
|
}), c.shortcuts.add("alt+F10", "focus toolbar", function() {
|
|
@@ -57925,20 +57923,20 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
57925
57923
|
return fr.getParam("toolbar", !0);
|
|
57926
57924
|
}(c);
|
|
57927
57925
|
}), allowToolbarGroups: vn === Ws.floating, buttons: Ha, sidebar: pf };
|
|
57928
|
-
Bk(c, o1, He, { backstage: Lt }),
|
|
57926
|
+
Bk(c, o1, He, { backstage: Lt }), i5(c, He);
|
|
57929
57927
|
var r1 = c.getElement(), so = Nw(), ar = { mothership: n1, uiMothership: df, outerContainer: Ia }, Tr = { targetNode: r1, height: so };
|
|
57930
57928
|
return B.render(c, ar, Iw, Lt, Tr);
|
|
57931
57929
|
}, getUi: function() {
|
|
57932
57930
|
return { channels: { broadcastAll: df.broadcast, broadcastOn: df.broadcastOn, register: x } };
|
|
57933
57931
|
} };
|
|
57934
|
-
},
|
|
57932
|
+
}, d5 = O([hn("lazySink"), jo("dragBlockClass"), Ar("getBounds", Bl), Vt("useTabstopAt", ie), Vt("eventOrder", {}), Mr("modalBehaviours", [bo]), Ma("onExecute"), Ea("onEscape")]), CE = { sketch: M }, f5 = O([zs({ name: "draghandle", overrides: function(c, m) {
|
|
57935
57933
|
return { behaviours: zn([mv.config({ mode: "mouse", getTarget: function(_) {
|
|
57936
57934
|
return vc(_, '[role="dialog"]').getOr(_);
|
|
57937
57935
|
}, blockerClass: c.dragBlockClass.getOrDie(new Error(`The drag blocker class was not specified for a dialog with a drag handle:
|
|
57938
57936
|
` + JSON.stringify(m, null, 2)).message), getBounds: c.getDragBounds })]) };
|
|
57939
57937
|
} }), Hi({ schema: [hn("dom")], name: "title" }), Hi({ factory: CE, schema: [hn("dom")], name: "close" }), Hi({ factory: CE, schema: [hn("dom")], name: "body" }), zs({ factory: CE, schema: [hn("dom")], name: "footer" }), Cs({ factory: { sketch: function(c, m) {
|
|
57940
57938
|
return G(G({}, c), { dom: m.dom, components: m.components });
|
|
57941
|
-
} }, schema: [Vt("dom", { tag: "div", styles: { position: "fixed", left: "0px", top: "0px", right: "0px", bottom: "0px" } }), Vt("components", [])], name: "blocker" })]),
|
|
57939
|
+
} }, schema: [Vt("dom", { tag: "div", styles: { position: "fixed", left: "0px", top: "0px", right: "0px", bottom: "0px" } }), Vt("components", [])], name: "blocker" })]), p5 = Object.freeze({ __proto__: null, block: function(c, m, _, C) {
|
|
57942
57940
|
cr(c.element, "aria-busy", !0);
|
|
57943
57941
|
var T = m.getRoot(c).getOr(c), I = zn([bo.config({ mode: "special", onTab: function() {
|
|
57944
57942
|
return $.some(!0);
|
|
@@ -57950,12 +57948,12 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
57950
57948
|
});
|
|
57951
57949
|
}, unblock: function(c, m, _) {
|
|
57952
57950
|
gs(c.element, "aria-busy"), _.isBlocked() && m.onUnblock(c), _.clear();
|
|
57953
|
-
} }),
|
|
57951
|
+
} }), m5 = [Ar("getRoot", $.none), Zo("onBlock"), Zo("onUnblock")], Dy = qr({ fields: m5, name: "blocking", apis: p5, state: Object.freeze({ __proto__: null, init: function() {
|
|
57954
57952
|
var c = oS();
|
|
57955
57953
|
return xi({ readState: c.isSet, blockWith: function(m) {
|
|
57956
57954
|
c.set({ destroy: m });
|
|
57957
57955
|
}, clear: c.clear, isBlocked: c.isSet });
|
|
57958
|
-
} }) }), na = Qi({ name: "ModalDialog", configFields:
|
|
57956
|
+
} }) }), na = Qi({ name: "ModalDialog", configFields: d5(), partFields: f5(), factory: function(c, m, _, C) {
|
|
57959
57957
|
var T, I = Rn($.none()), B = uo("modal-events"), F = G(G({}, c.eventOrder), ((T = {})[Pa()] = [B].concat(c.eventOrder["alloy.system.attached"] || []), T));
|
|
57960
57958
|
return { uid: c.uid, dom: c.dom, components: m, apis: { show: function(H) {
|
|
57961
57959
|
I.set($.some(H));
|
|
@@ -57999,21 +57997,21 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
57999
57997
|
c.setBusy(m, _);
|
|
58000
57998
|
}, setIdle: function(c, m) {
|
|
58001
57999
|
c.setIdle(m);
|
|
58002
|
-
} } }),
|
|
58000
|
+
} } }), h5 = Bt([ro("type"), ro("name")].concat(Sg)), g5 = Xc, dx = [mo("name", "name", mn(function() {
|
|
58003
58001
|
return uo("button-name");
|
|
58004
|
-
}), Fo), Wo("icon"), ga("align", "end", ["start", "end"]), Xr("primary", !1), Xr("disabled", !1)], fx = ne(dx, [ro("text")]), EE = ne([Ys("type", ["submit", "cancel", "custom"])], fx),
|
|
58002
|
+
}), Fo), Wo("icon"), ga("align", "end", ["start", "end"]), Xr("primary", !1), Xr("disabled", !1)], fx = ne(dx, [ro("text")]), EE = ne([Ys("type", ["submit", "cancel", "custom"])], fx), v5 = ne([Ys("type", ["menu"]), Wo("text"), Wo("tooltip"), Wo("icon"), ii("items", h5)], dx), y5 = Ft("type", { submit: EE, cancel: EE, custom: EE, menu: v5 }), _5 = [ro("type"), ro("text"), Ys("level", ["info", "warn", "error", "success"]), ro("icon"), Vt("url", "")], b5 = Bt(_5), w5 = [ro("type"), ro("text"), Xr("disabled", !1), Xr("primary", !1), mo("name", "name", mn(function() {
|
|
58005
58003
|
return uo("button-name");
|
|
58006
|
-
}), Fo), Wo("icon"), Xr("borderless", !1)],
|
|
58004
|
+
}), Fo), Wo("icon"), Xr("borderless", !1)], C5 = Bt(w5), E5 = [ro("type"), ro("name"), ro("label"), Xr("disabled", !1)], S5 = Bt(E5), x5 = Xc, SE = [ro("type"), ro("name")], Wc = SE.concat([Wo("label")]), k5 = Wc.concat([Vt("columns", "auto")]), T5 = Bt(k5), N5 = Yc([ro("value"), ro("text"), ro("icon")]), I5 = Bt(Wc), A5 = Fo, O5 = Bt(Wc), D5 = Fo, P5 = SE.concat([As("tag", "textarea"), ro("scriptId"), ro("scriptUrl"), function(c, m) {
|
|
58007
58005
|
return Wa(c, m, Jc);
|
|
58008
|
-
}("settings", void 0)]),
|
|
58009
|
-
return gr("customeditor.old", Pt(
|
|
58010
|
-
return gr("customeditor.new", Pt(
|
|
58006
|
+
}("settings", void 0)]), B5 = SE.concat([As("tag", "textarea"), Hr("init")]), R5 = Qn(function(c) {
|
|
58007
|
+
return gr("customeditor.old", Pt(B5), c).orThunk(function() {
|
|
58008
|
+
return gr("customeditor.new", Pt(P5), c);
|
|
58011
58009
|
});
|
|
58012
|
-
}),
|
|
58010
|
+
}), M5 = Fo, $5 = Bt(Wc), V5 = Cn(Eu), F5 = function(c) {
|
|
58013
58011
|
return [ro("type"), Ks("columns"), c];
|
|
58014
|
-
},
|
|
58012
|
+
}, L5 = [ro("type"), ro("html"), ga("presets", "presentation", ["presentation", "document"])], U5 = Bt(L5), z5 = Wc.concat([Xr("sandboxed", !0)]), H5 = Bt(z5), j5 = Fo, W5 = Wc.concat([wr("currentState", Bt([hn("blob"), ro("url")]))]), G5 = Bt(W5), q5 = Wc.concat([Wo("inputMode"), Wo("placeholder"), Xr("maximized", !1), Xr("disabled", !1)]), K5 = Bt(q5), Y5 = Fo, X5 = function(c) {
|
|
58015
58013
|
return [ro("type"), ro("label"), c];
|
|
58016
|
-
},
|
|
58014
|
+
}, J5 = [ro("text"), ro("value")], Z5 = [ro("text"), ii("items", (lx = function() {
|
|
58017
58015
|
return px;
|
|
58018
58016
|
}, ux = lx, wE = _t(function() {
|
|
58019
58017
|
return ux();
|
|
@@ -58021,7 +58019,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58021
58019
|
return wE().extract(c, m, _);
|
|
58022
58020
|
}, toString: function() {
|
|
58023
58021
|
return wE().toString();
|
|
58024
|
-
} }))], px = In([Bt(
|
|
58022
|
+
} }))], px = In([Bt(J5), Bt(Z5)]), Q5 = Wc.concat([ii("items", px), Xr("disabled", !1)]), eN = Bt(Q5), tN = Fo, nN = Wc.concat([Pr("items", [ro("text"), ro("value")]), Su("size", 1), Xr("disabled", !1)]), oN = Bt(nN), rN = Fo, iN = Wc.concat([Xr("constrain", !0), Xr("disabled", !1)]), aN = Bt(iN), mx = Bt([ro("width"), ro("height")]), sN = [ro("type"), ii("header", Fo), ii("cells", Cn(Fo))], lN = Bt(sN), uN = Wc.concat([Wo("placeholder"), Xr("maximized", !1), Xr("disabled", !1)]), cN = Bt(uN), dN = Fo, fN = Wc.concat([ga("filetype", "file", ["image", "media", "file"]), Vt("disabled", !1)]), pN = Bt(fN), mN = Bt([ro("value"), Vt("meta", {})]), xE = function(c) {
|
|
58025
58023
|
return mo("items", "items", It(), Cn(Qn(function(m) {
|
|
58026
58024
|
return gr("Checking item of " + c, kE, m).fold(function(_) {
|
|
58027
58025
|
return Pn.error(un(_));
|
|
@@ -58030,22 +58028,22 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58030
58028
|
});
|
|
58031
58029
|
})));
|
|
58032
58030
|
}, kE = mf(function() {
|
|
58033
|
-
return Is("type", { alertbanner:
|
|
58031
|
+
return Is("type", { alertbanner: b5, bar: Bt((c = xE("bar"), [ro("type"), c])), button: C5, checkbox: S5, colorinput: I5, colorpicker: O5, dropzone: $5, grid: Bt(F5(xE("grid"))), iframe: H5, input: K5, listbox: eN, selectbox: oN, sizeinput: aN, textarea: cN, urlinput: pN, customeditor: R5, htmlpanel: U5, imagetools: G5, collection: T5, label: Bt(X5(xE("label"))), table: lN, panel: hx });
|
|
58034
58032
|
var c;
|
|
58035
|
-
}),
|
|
58033
|
+
}), hN = [ro("type"), Vt("classes", []), ii("items", kE)], hx = Bt(hN), gN = [mo("name", "name", mn(function() {
|
|
58036
58034
|
return uo("tab-name");
|
|
58037
|
-
}), Fo), ro("title"), ii("items", kE)],
|
|
58035
|
+
}), Fo), ro("title"), ii("items", kE)], vN = [ro("type"), Pr("tabs", gN)], yN = Bt(vN), _N = fx, bN = y5, wN = Bt([ro("title"), wr("body", Is("type", { panel: hx, tabpanel: yN })), As("size", "normal"), ii("buttons", bN), Vt("initialData", {}), Ar("onAction", x), Ar("onChange", x), Ar("onSubmit", x), Ar("onClose", x), Ar("onCancel", x), Vt("onTabChange", x)]), CN = Bt(ne([Ys("type", ["cancel", "custom"])], _N)), EN = Bt([ro("title"), ro("url"), Qa("height"), Qa("width"), function(c, m) {
|
|
58038
58036
|
return ds(c, Cn(m));
|
|
58039
|
-
}("buttons",
|
|
58037
|
+
}("buttons", CN), Ar("onAction", x), Ar("onCancel", x), Ar("onClose", x), Ar("onMessage", x)]), TE = function(c) {
|
|
58040
58038
|
return a(c) ? [c].concat(Ge(ht(c), TE)) : s(c) ? Ge(c, TE) : [];
|
|
58041
|
-
},
|
|
58039
|
+
}, SN = function(c) {
|
|
58042
58040
|
return r(c.type) && r(c.name);
|
|
58043
|
-
},
|
|
58041
|
+
}, xN = { checkbox: x5, colorinput: A5, colorpicker: D5, dropzone: V5, input: Y5, iframe: j5, sizeinput: mx, selectbox: rN, listbox: tN, size: mx, textarea: dN, urlinput: mN, customeditor: M5, collection: N5, togglemenuitem: g5 }, kN = function(c) {
|
|
58044
58042
|
var m = function(C) {
|
|
58045
|
-
return Te(TE(C),
|
|
58043
|
+
return Te(TE(C), SN);
|
|
58046
58044
|
}(c), _ = Ge(m, function(C) {
|
|
58047
58045
|
return function(T) {
|
|
58048
|
-
return $.from(
|
|
58046
|
+
return $.from(xN[T.type]);
|
|
58049
58047
|
}(C).fold(function() {
|
|
58050
58048
|
return [];
|
|
58051
58049
|
}, function(T) {
|
|
@@ -58054,12 +58052,12 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58054
58052
|
});
|
|
58055
58053
|
return Bt(_);
|
|
58056
58054
|
}, gx = function(c) {
|
|
58057
|
-
return { internalDialog: fi(gr("dialog",
|
|
58055
|
+
return { internalDialog: fi(gr("dialog", wN, c)), dataValidator: kN(c), initialData: c.initialData };
|
|
58058
58056
|
}, Tw = { open: function(c, m) {
|
|
58059
58057
|
var _ = gx(m);
|
|
58060
58058
|
return c(_.internalDialog, _.initialData, _.dataValidator);
|
|
58061
58059
|
}, openUrl: function(c, m) {
|
|
58062
|
-
return c(fi(gr("dialog",
|
|
58060
|
+
return c(fi(gr("dialog", EN, m)));
|
|
58063
58061
|
}, redial: function(c) {
|
|
58064
58062
|
return gx(c);
|
|
58065
58063
|
} }, vx = function(c) {
|
|
@@ -58071,7 +58069,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58071
58069
|
_[T] = I;
|
|
58072
58070
|
});
|
|
58073
58071
|
}), m.length > 0 ? Pn.error(m) : Pn.value(_);
|
|
58074
|
-
},
|
|
58072
|
+
}, TN = function(c, m) {
|
|
58075
58073
|
var _ = yr(Wg.sketch(function(C) {
|
|
58076
58074
|
return { dom: { tag: "div", classes: ["tox-form"].concat(c.classes) }, components: Ee(c.items, function(T) {
|
|
58077
58075
|
return vw(C, T, m);
|
|
@@ -58084,11 +58082,11 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58084
58082
|
return T;
|
|
58085
58083
|
});
|
|
58086
58084
|
} })]) };
|
|
58087
|
-
},
|
|
58085
|
+
}, NN = as({ name: "TabButton", configFields: [Vt("uid", void 0), hn("value"), mo("dom", "dom", wn(function() {
|
|
58088
58086
|
return { attributes: { role: "tab", id: uo("aria"), "aria-selected": "false" } };
|
|
58089
58087
|
}), ra()), jo("action"), Vt("domModification", {}), Mr("tabButtonBehaviours", [No, bo, $n]), hn("view")], factory: function(c, m) {
|
|
58090
58088
|
return { uid: c.uid, dom: c.dom, components: c.components, events: p0(c.action), behaviours: vi(c.tabButtonBehaviours, [No.config({}), bo.config({ mode: "execution", useSpace: !0, useEnter: !0 }), $n.config({ store: { mode: "memory", initialValue: c.value } })]), domModification: c.domModification };
|
|
58091
|
-
} }),
|
|
58089
|
+
} }), IN = O([hn("tabs"), hn("dom"), Vt("clickToDismiss", !1), Mr("tabbarBehaviours", [pr, bo]), ei(["tabClass", "selectedClass"])]), AN = Bd({ factory: NN, name: "tabs", unit: "tab", overrides: function(c) {
|
|
58092
58090
|
var m = function(C, T) {
|
|
58093
58091
|
pr.dehighlight(C, T), ho(C, vf(), { tabbar: C, button: T });
|
|
58094
58092
|
}, _ = function(C, T) {
|
|
@@ -58098,7 +58096,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58098
58096
|
var T = C.getSystem().getByUid(c.uid).getOrDie(), I = pr.isHighlighted(T, C);
|
|
58099
58097
|
(I && c.clickToDismiss ? m : I ? x : _)(T, C);
|
|
58100
58098
|
}, domModification: { classes: [c.markers.tabClass] } };
|
|
58101
|
-
} }),
|
|
58099
|
+
} }), ON = O([AN]), yx = Qi({ name: "Tabbar", configFields: IN(), partFields: ON(), factory: function(c, m, _, C) {
|
|
58102
58100
|
return { uid: c.uid, dom: c.dom, components: m, "debug.sketcher": "Tabbar", domModification: { attributes: { role: "tablist" } }, behaviours: vi(c.tabbarBehaviours, [pr.config({ highlightClass: c.markers.selectedClass, itemClass: c.markers.tabClass, onHighlight: function(T, I) {
|
|
58103
58101
|
cr(I.element, "aria-selected", "true");
|
|
58104
58102
|
}, onDehighlight: function(T, I) {
|
|
@@ -58108,11 +58106,11 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58108
58106
|
return I.element;
|
|
58109
58107
|
});
|
|
58110
58108
|
}, selector: "." + c.markers.tabClass, executeOnMove: !0 })]) };
|
|
58111
|
-
} }),
|
|
58109
|
+
} }), DN = as({ name: "Tabview", configFields: [Mr("tabviewBehaviours", [Do])], factory: function(c, m) {
|
|
58112
58110
|
return { uid: c.uid, dom: c.dom, behaviours: vi(c.tabviewBehaviours, [Do.config({})]), domModification: { attributes: { role: "tabpanel" } } };
|
|
58113
|
-
} }),
|
|
58111
|
+
} }), PN = O([Vt("selectFirst", !0), Zo("onChangeTab"), Zo("onDismissTab"), Vt("tabs", []), Mr("tabSectionBehaviours", [])]), BN = Hi({ factory: yx, schema: [hn("dom"), cs("markers", [hn("tabClass"), hn("selectedClass")])], name: "tabbar", defaults: function(c) {
|
|
58114
58112
|
return { tabs: c.tabs };
|
|
58115
|
-
} }),
|
|
58113
|
+
} }), RN = Hi({ factory: DN, name: "tabview" }), MN = O([BN, RN]), Py = Qi({ name: "TabSection", configFields: PN(), partFields: MN(), factory: function(c, m, _, C) {
|
|
58116
58114
|
var T = function(I, B) {
|
|
58117
58115
|
Sr(I, c, "tabbar").each(function(F) {
|
|
58118
58116
|
B(F).each(sc);
|
|
@@ -58175,7 +58173,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58175
58173
|
});
|
|
58176
58174
|
}, NE = function(c) {
|
|
58177
58175
|
return Ui(c, '[role="tabpanel"]');
|
|
58178
|
-
}, $
|
|
58176
|
+
}, $N = function(c) {
|
|
58179
58177
|
var m, _, C = (m = Rn($.none()), _ = [Ur(function(T) {
|
|
58180
58178
|
var I = T.element;
|
|
58181
58179
|
NE(I).each(function(B) {
|
|
@@ -58223,7 +58221,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58223
58221
|
});
|
|
58224
58222
|
})], { extraEvents: _, selectFirst: !1 });
|
|
58225
58223
|
return { smartTabHeight: C, naiveTabHeight: { extraEvents: [], selectFirst: !0 } };
|
|
58226
|
-
}, bx = "send-data-to-section", wx = "send-data-to-view",
|
|
58224
|
+
}, bx = "send-data-to-section", wx = "send-data-to-view", VN = function(c, m) {
|
|
58227
58225
|
var _ = Rn({}), C = function(H) {
|
|
58228
58226
|
var z = $n.getValue(H), Z = vx(z).getOr({}), Q = _.get(), ve = Ae(Q, Z);
|
|
58229
58227
|
_.set(ve);
|
|
@@ -58238,7 +58236,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58238
58236
|
}), formBehaviours: zn([bo.config({ mode: "acyclic", useTabstopAt: W(Gg) }), Xo("TabView.form.events", [Ur(T), Qs(C)]), os.config({ channels: Wt([{ key: bx, value: { onReceive: C } }, { key: wx, value: { onReceive: T } }]) })]) };
|
|
58239
58237
|
})];
|
|
58240
58238
|
} };
|
|
58241
|
-
}), F = $
|
|
58239
|
+
}), F = $N(B).smartTabHeight;
|
|
58242
58240
|
return Py.sketch({ dom: { tag: "div", classes: ["tox-dialog__body"] }, onChangeTab: function(H, z, Z) {
|
|
58243
58241
|
var Q = $n.getValue(z);
|
|
58244
58242
|
ho(H, y4, { name: Q, oldName: I.get() }), I.set(Q);
|
|
@@ -58257,9 +58255,9 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58257
58255
|
return I.body.type === "tabpanel";
|
|
58258
58256
|
} });
|
|
58259
58257
|
}, renderComponents: function(T) {
|
|
58260
|
-
return T.body.type === "tabpanel" ? [
|
|
58258
|
+
return T.body.type === "tabpanel" ? [VN(T.body, _)] : [TN(T.body, _)];
|
|
58261
58259
|
}, initialData: c })]) };
|
|
58262
|
-
},
|
|
58260
|
+
}, FN = U_.deviceType.isTouch(), Tx = function(c, m) {
|
|
58263
58261
|
return { dom: { tag: "div", styles: { display: "none" }, classes: ["tox-dialog__header"] }, components: [c, m] };
|
|
58264
58262
|
}, Nx = function(c, m) {
|
|
58265
58263
|
return na.parts.close(Xa.sketch({ dom: { tag: "button", classes: ["tox-button", "tox-button--icon", "tox-button--naked"], attributes: { type: "button", "aria-label": m.translate("Close") } }, action: c, buttonBehaviours: zn([jr.config({})]) }));
|
|
@@ -58277,7 +58275,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58277
58275
|
return c.onEscape(B), $.some(!0);
|
|
58278
58276
|
}, useTabstopAt: function(B) {
|
|
58279
58277
|
return !Gg(B);
|
|
58280
|
-
}, dom: { tag: "div", classes: [_].concat(c.extraClasses), styles: G({ position: "relative" }, c.extraStyles) }, components: ne([c.header, c.body], c.footer.toArray()), parts: { blocker: { dom: Qg('<div class="' + C + '"></div>'), components: [{ dom: { tag: "div", classes:
|
|
58278
|
+
}, dom: { tag: "div", classes: [_].concat(c.extraClasses), styles: G({ position: "relative" }, c.extraStyles) }, components: ne([c.header, c.body], c.footer.toArray()), parts: { blocker: { dom: Qg('<div class="' + C + '"></div>'), components: [{ dom: { tag: "div", classes: FN ? [T, T + "--opaque"] : [T] } }] } }, dragBlockClass: C, modalBehaviours: zn(ne([No.config({}), Xo("dialog-events", c.dialogEvents.concat([lc(Ql(), function(B, F) {
|
|
58281
58279
|
bo.focusIn(B);
|
|
58282
58280
|
})])), Xo("scroll-lock", [Ur(function() {
|
|
58283
58281
|
Di(Vu(), I);
|
|
@@ -58347,7 +58345,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58347
58345
|
}), xn(U2, function(_, C) {
|
|
58348
58346
|
return m.onBlock(C.event);
|
|
58349
58347
|
})];
|
|
58350
|
-
},
|
|
58348
|
+
}, LN = function(c, m) {
|
|
58351
58349
|
var _ = function(T, I) {
|
|
58352
58350
|
return xn(T, function(B, F) {
|
|
58353
58351
|
C(B, function(H, z) {
|
|
@@ -58399,7 +58397,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58399
58397
|
var B = c();
|
|
58400
58398
|
$n.setValue(I, B.getData());
|
|
58401
58399
|
})]);
|
|
58402
|
-
},
|
|
58400
|
+
}, UN = function(c, m) {
|
|
58403
58401
|
var _ = m.map(function(I) {
|
|
58404
58402
|
return I.footerButtons;
|
|
58405
58403
|
}).getOr([]), C = kt(_, function(I) {
|
|
@@ -58427,7 +58425,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58427
58425
|
});
|
|
58428
58426
|
}(I, T, B);
|
|
58429
58427
|
}, footerButtons: T });
|
|
58430
|
-
}, renderComponents:
|
|
58428
|
+
}, renderComponents: UN })]) };
|
|
58431
58429
|
}, Wx = function(c, m) {
|
|
58432
58430
|
return na.parts.footer(jx(c, m));
|
|
58433
58431
|
}, OE = function(c, m) {
|
|
@@ -58500,7 +58498,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58500
58498
|
});
|
|
58501
58499
|
} };
|
|
58502
58500
|
return T;
|
|
58503
|
-
},
|
|
58501
|
+
}, zN = function(c, m, _) {
|
|
58504
58502
|
var C = Mx(c.internalDialog.title, _), T = function(De, Fe) {
|
|
58505
58503
|
var it = kx(De, $.none(), Fe, !1);
|
|
58506
58504
|
return na.parts.body(it);
|
|
@@ -58528,7 +58526,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58528
58526
|
return nr.getCurrent(De).getOr(De);
|
|
58529
58527
|
} }, m.redial, B);
|
|
58530
58528
|
return { dialog: Q, instanceApi: ve };
|
|
58531
|
-
},
|
|
58529
|
+
}, HN = function(c, m, _, C) {
|
|
58532
58530
|
var T, I, B, F, H, z = uo("dialog-label"), Z = uo("dialog-content"), Q = yr((B = { title: c.internalDialog.title, draggable: !0 }, F = z, H = _.shared.providers, Na.sketch({ dom: Qg('<div class="tox-dialog__header"></div>'), components: [Bx(B, $.some(F), H), Rx(), Px(H)], containerBehaviours: zn([mv.config({ mode: "mouse", blockerClass: "blocker", getTarget: function(et) {
|
|
58533
58531
|
return bs(et, '[role="dialog"]').getOrDie();
|
|
58534
58532
|
}, snaps: { getSnapPoints: function() {
|
|
@@ -58568,15 +58566,15 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58568
58566
|
return nr.getCurrent(et).getOr(et);
|
|
58569
58567
|
} }, m.redial, Fe);
|
|
58570
58568
|
return { dialog: ft, instanceApi: He };
|
|
58571
|
-
}, DE = tinymce.util.Tools.resolve("tinymce.util.URI"),
|
|
58572
|
-
return a(c) &&
|
|
58573
|
-
},
|
|
58569
|
+
}, DE = tinymce.util.Tools.resolve("tinymce.util.URI"), jN = ["insertContent", "setContent", "execCommand", "close", "block", "unblock"], qx = function(c) {
|
|
58570
|
+
return a(c) && jN.indexOf(c.mceAction) !== -1;
|
|
58571
|
+
}, WN = function(c, m, _, C) {
|
|
58574
58572
|
var T, I = Mx(c.title, C), B = function(ft) {
|
|
58575
58573
|
var He = { dom: { tag: "div", classes: ["tox-dialog__content-js"] }, components: [{ dom: { tag: "div", classes: ["tox-dialog__body-iframe"] }, components: [l3({ dom: { tag: "iframe", attributes: { src: ft.url } }, behaviours: zn([jr.config({}), No.config({})]) })] }], behaviours: zn([bo.config({ mode: "acyclic", useTabstopAt: W(Gg) })]) };
|
|
58576
58574
|
return na.parts.body(He);
|
|
58577
58575
|
}(c), F = c.buttons.bind(function(ft) {
|
|
58578
58576
|
return ft.length === 0 ? $.none() : $.some(Wx({ buttons: ft }, C));
|
|
58579
|
-
}), H =
|
|
58577
|
+
}), H = LN(function() {
|
|
58580
58578
|
return Ve;
|
|
58581
58579
|
}, Vx(function() {
|
|
58582
58580
|
return it;
|
|
@@ -58652,11 +58650,11 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58652
58650
|
} };
|
|
58653
58651
|
}(it);
|
|
58654
58652
|
return { dialog: it, instanceApi: Ve };
|
|
58655
|
-
},
|
|
58653
|
+
}, GN = function(c, m, _) {
|
|
58656
58654
|
return m && _ ? [] : [Ns.config({ contextual: { lazyContext: function() {
|
|
58657
58655
|
return $.some(Ca(Kn.fromDom(c.getContentAreaContainer())));
|
|
58658
58656
|
}, fadeInClass: "tox-dialog-dock-fadein", fadeOutClass: "tox-dialog-dock-fadeout", transitionClass: "tox-dialog-dock-transition" }, modes: ["top"] })];
|
|
58659
|
-
},
|
|
58657
|
+
}, qN = function(c) {
|
|
58660
58658
|
var m = c.backstage, _ = c.editor, C = I0(_), T = function(z) {
|
|
58661
58659
|
var Z = z.backstage.shared;
|
|
58662
58660
|
return { open: function(Q, ve) {
|
|
@@ -58691,14 +58689,14 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58691
58689
|
} };
|
|
58692
58690
|
}(c), B = function(z, Z) {
|
|
58693
58691
|
return Tw.openUrl(function(Q) {
|
|
58694
|
-
var ve =
|
|
58692
|
+
var ve = WN(Q, { closeWindow: function() {
|
|
58695
58693
|
na.hide(ve.dialog), Z(ve.instanceApi);
|
|
58696
58694
|
} }, _, m);
|
|
58697
58695
|
return na.show(ve.dialog), ve.instanceApi;
|
|
58698
58696
|
}, z);
|
|
58699
58697
|
}, F = function(z, Z) {
|
|
58700
58698
|
return Tw.open(function(Q, ve, De) {
|
|
58701
|
-
var Fe = ve, it =
|
|
58699
|
+
var Fe = ve, it = zN({ dataValidator: De, initialData: Fe, internalDialog: Q }, { redial: Tw.redial, closeWindow: function() {
|
|
58702
58700
|
na.hide(it.dialog), Z(it.instanceApi);
|
|
58703
58701
|
} }, m);
|
|
58704
58702
|
return na.show(it.dialog), it.instanceApi.setData(Fe), it.instanceApi;
|
|
@@ -58719,11 +58717,11 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58719
58717
|
return He.on(function(En) {
|
|
58720
58718
|
Yr.reposition(En), Ns.refresh(En);
|
|
58721
58719
|
});
|
|
58722
|
-
}, Mt =
|
|
58720
|
+
}, Mt = HN({ dataValidator: it, initialData: ft, internalDialog: De }, { redial: Tw.redial, closeWindow: function() {
|
|
58723
58721
|
He.on(Yr.hide), _.off("ResizeEditor", Nt), He.clear(), Q(Mt.instanceApi);
|
|
58724
58722
|
} }, m, ve), Lt = Qr(Yr.sketch(G(G({ lazySink: m.shared.getSink, dom: { tag: "div", classes: [] }, fireDismissalEventInstead: {} }, et ? {} : { fireRepositionEventInstead: {} }), { inlineBehaviours: zn(ne([Xo("window-manager-inline-events", [xn(Al(), function(En, vn) {
|
|
58725
58723
|
ko(Mt.dialog, Jm);
|
|
58726
|
-
})])],
|
|
58724
|
+
})])], GN(_, C, et))), isExtraPart: function(En, vn) {
|
|
58727
58725
|
return function(Jn) {
|
|
58728
58726
|
return pp(Jn, ".tox-alert-dialog") || pp(Jn, ".tox-confirm-dialog");
|
|
58729
58727
|
}(vn);
|
|
@@ -58748,9 +58746,9 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
|
|
|
58748
58746
|
} };
|
|
58749
58747
|
};
|
|
58750
58748
|
J.add("silver", function(c) {
|
|
58751
|
-
var m =
|
|
58749
|
+
var m = c5(c), _ = m.uiMothership, C = m.backstage, T = m.renderUI, I = m.getUi;
|
|
58752
58750
|
j6(c, C.shared);
|
|
58753
|
-
var B =
|
|
58751
|
+
var B = qN({ editor: c, backstage: C });
|
|
58754
58752
|
return { renderUI: T, getWindowManagerImpl: O(B), getNotificationManagerImpl: function() {
|
|
58755
58753
|
return h6(0, { backstage: C }, _);
|
|
58756
58754
|
}, ui: I() };
|