agilebuilder-ui 1.1.65-tmp26 → 1.1.65-tmp27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.full.min.js +1115 -1102
- package/dist/style.css +36 -20
- package/es/IntervalSelection/src/sectionDate.vue.mjs +8 -8
- package/es/chat-embed/src/chat-addition-data.vue2.mjs +14 -11
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.mjs +8 -8
- package/es/chat-embed/src/chat-bubble-footer.vue2.mjs +5 -5
- package/es/chat-embed/src/chat-sender.vue2.mjs +41 -41
- package/es/chat-embed/src/components/answer-auto-chart.vue2.mjs +1 -2
- package/es/chat-embed/src/components/answer-interaction-data.vue2.mjs +6 -7
- package/es/chat-embed/src/components/history-detail.vue2.mjs +18 -18
- package/es/chat-embed/src/header.vue2.mjs +16 -16
- package/es/chat-embed/src/index.vue2.mjs +161 -161
- package/es/chat-embed/src/recommendation-message.vue2.mjs +9 -6
- package/es/chat-embed/src/sidebar-item.vue2.mjs +65 -65
- package/es/chat-embed/src/voice/voice.vue.mjs +36 -35
- package/es/date-picker-range/index.vue2.mjs +39 -39
- package/es/department-tree-mobile/src/department-tree-app.vue.mjs +8 -7
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.mjs +54 -54
- package/es/department-tree-mobile/src/dept-path.vue.mjs +7 -6
- package/es/department-tree-mobile/src/dept-result.vue.mjs +7 -6
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.mjs +5 -5
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.mjs +10 -9
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.mjs +64 -64
- package/es/department-user-tree-mobile/src/dept-path.vue.mjs +7 -6
- package/es/department-user-tree-mobile/src/dept-result.vue.mjs +4 -3
- package/es/empty-state/index.vue.mjs +2 -2
- package/es/fs-upload/src/fs-upload-multi.vue.mjs +1 -1
- package/es/fs-upload-list/src/fs-upload-list.vue.mjs +1 -1
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.mjs +12 -12
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +24 -24
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.mjs +17 -17
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.mjs +12 -12
- package/es/fs-upload-new/src/fs-button-upload.vue2.mjs +23 -23
- package/es/fs-upload-new/src/fs-drag-upload.vue2.mjs +23 -23
- package/es/fs-upload-new/src/fs-preview-new.vue2.mjs +34 -34
- package/es/fs-upload-new/src/fs-upload-new.vue.mjs +15 -15
- package/es/json-view/json-view-dialog.vue.mjs +5 -5
- package/es/multipart-upload/src/multipart-upload-form.vue.mjs +1 -1
- package/es/multipart-upload/src/multipart-upload-list.vue.mjs +5 -5
- package/es/row-form/index.vue2.mjs +31 -31
- package/es/row-form/operation.vue.mjs +13 -13
- package/es/secret-info/index.vue.mjs +1 -1
- package/es/src/components/Affix/index.vue2.mjs +26 -26
- package/es/src/components/Scrollbar/index.vue.mjs +22 -22
- package/es/src/views/error-page/401.vue.mjs +8 -8
- package/es/src/views/error-page/404.vue.mjs +8 -8
- package/es/style.css +933 -917
- package/es/super-grid/src/columns-config.vue.mjs +1 -1
- package/es/super-grid/src/components/grid-radio-input.vue.mjs +5 -5
- package/es/super-grid/src/components/select-input.vue.mjs +55 -55
- package/es/super-grid/src/row-detail.vue.mjs +1 -1
- package/es/super-grid/src/search-form-advancedQuery.vue.mjs +1 -1
- package/es/super-grid/src/search-form-number.vue.mjs +4 -5
- package/es/super-grid/src/super-grid.vue.mjs +1 -1
- package/es/super-nine-grid/src/search-form-number.vue.mjs +4 -5
- package/es/super-nine-grid/src/search-form.vue.mjs +1 -1
- package/es/super-nine-grid/src/super-nine-grid.vue.mjs +1 -1
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.mjs +8 -8
- package/es/workgroup-tree-mobile/src/dept-result.vue.mjs +4 -3
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.mjs +8 -7
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.mjs +51 -51
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.mjs +5 -5
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.mjs +7 -6
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.mjs +4 -3
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.mjs +7 -6
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.mjs +65 -65
- package/es/year-range-picker/src/year-range-picker.vue.mjs +1 -1
- package/lib/IntervalSelection/src/sectionDate.vue.cjs +6 -6
- package/lib/chat-embed/src/chat-addition-data.vue2.cjs +13 -10
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.cjs +8 -8
- package/lib/chat-embed/src/chat-bubble-footer.vue2.cjs +5 -5
- package/lib/chat-embed/src/chat-sender.vue2.cjs +20 -20
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.cjs +1 -2
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.cjs +5 -6
- package/lib/chat-embed/src/components/history-detail.vue2.cjs +18 -18
- package/lib/chat-embed/src/header.vue2.cjs +17 -17
- package/lib/chat-embed/src/index.vue2.cjs +123 -123
- package/lib/chat-embed/src/recommendation-message.vue2.cjs +7 -4
- package/lib/chat-embed/src/sidebar-item.vue2.cjs +35 -35
- package/lib/chat-embed/src/voice/voice.vue.cjs +36 -35
- package/lib/date-picker-range/index.vue2.cjs +11 -11
- package/lib/department-tree-mobile/src/department-tree-app.vue.cjs +7 -6
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +53 -53
- package/lib/department-tree-mobile/src/dept-path.vue.cjs +6 -6
- package/lib/department-tree-mobile/src/dept-result.vue.cjs +7 -6
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.cjs +5 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.cjs +9 -8
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.cjs +61 -61
- package/lib/department-user-tree-mobile/src/dept-path.vue.cjs +6 -6
- package/lib/department-user-tree-mobile/src/dept-result.vue.cjs +4 -3
- package/lib/empty-state/index.vue.cjs +2 -2
- package/lib/fs-upload/src/fs-upload-multi.vue.cjs +1 -1
- package/lib/fs-upload-list/src/fs-upload-list.vue.cjs +1 -1
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.cjs +12 -12
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +24 -24
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.cjs +17 -17
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.cjs +12 -12
- package/lib/fs-upload-new/src/fs-button-upload.vue2.cjs +23 -23
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.cjs +23 -23
- package/lib/fs-upload-new/src/fs-preview-new.vue2.cjs +36 -36
- package/lib/fs-upload-new/src/fs-upload-new.vue.cjs +15 -15
- package/lib/json-view/json-view-dialog.vue.cjs +6 -6
- package/lib/multipart-upload/src/multipart-upload-form.vue.cjs +1 -1
- package/lib/multipart-upload/src/multipart-upload-list.vue.cjs +5 -5
- package/lib/row-form/index.vue2.cjs +31 -31
- package/lib/row-form/operation.vue.cjs +13 -13
- package/lib/secret-info/index.vue.cjs +1 -1
- package/lib/src/components/Affix/index.vue2.cjs +28 -28
- package/lib/src/components/Scrollbar/index.vue.cjs +22 -22
- package/lib/src/views/error-page/401.vue.cjs +7 -7
- package/lib/src/views/error-page/404.vue.cjs +4 -4
- package/lib/style.css +955 -939
- package/lib/super-grid/src/columns-config.vue.cjs +1 -1
- package/lib/super-grid/src/components/grid-radio-input.vue.cjs +5 -5
- package/lib/super-grid/src/components/select-input.vue.cjs +56 -56
- package/lib/super-grid/src/row-detail.vue.cjs +1 -1
- package/lib/super-grid/src/search-form-advancedQuery.vue.cjs +1 -1
- package/lib/super-grid/src/search-form-number.vue.cjs +6 -6
- package/lib/super-grid/src/super-grid.vue.cjs +1 -1
- package/lib/super-nine-grid/src/search-form-number.vue.cjs +6 -6
- package/lib/super-nine-grid/src/search-form.vue.cjs +1 -1
- package/lib/super-nine-grid/src/super-nine-grid.vue.cjs +1 -1
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.cjs +5 -5
- package/lib/workgroup-tree-mobile/src/dept-result.vue.cjs +4 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.cjs +9 -8
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.cjs +48 -48
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.cjs +5 -5
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.cjs +6 -6
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.cjs +4 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.cjs +9 -8
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.cjs +63 -63
- package/lib/year-range-picker/src/year-range-picker.vue.cjs +1 -1
- package/package.json +2 -2
|
@@ -71,6 +71,6 @@ const i = r({ name: "ColumnsConfig", props: { listCode: { type: String, default:
|
|
|
71
71
|
});
|
|
72
72
|
} }, emits: ["open", "opend", "close", "closed", "reset", "opend", "close", "closed"] }, [["render", function(e2, o2, t2, r2, i2, n) {
|
|
73
73
|
const p = l.resolveComponent("el-button"), u = l.resolveComponent("el-table-column"), c = l.resolveComponent("el-option"), m = l.resolveComponent("el-select"), h = l.resolveComponent("el-input"), w = l.resolveComponent("el-table"), y = l.resolveComponent("el-dialog");
|
|
74
|
-
return l.openBlock(), l.createBlock(y, { "close-on-click-modal": false, "model-value": true, "show-close": true, title: e2.$t("superGrid.columnConfig"), "append-to-body": "", top: "5vh", width: "50%", onClose: o2[1] || (o2[1] = (l2) => e2.$emit("close")), onClosed: o2[2] || (o2[2] = (l2) => e2.$emit("closed")), onOpen: o2[3] || (o2[3] = (l2) => e2.$emit("open")), onOpend: o2[4] || (o2[4] = (l2) => e2.$emit("opend")) }, { default: l.withCtx(() => [l.createElementVNode("div", a, [l.createVNode(p, { size: "default", type: "primary", onClick: n.saveConfig }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["onClick"]), l.createVNode(p, { size: "default", onClick: n.resetConfig }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(e2.$t("imatrixUIPublicModel.reset")), 1)]), _: 1 }, 8, ["onClick"]), l.createVNode(p, { size: "default", onClick: o2[0] || (o2[0] = (l2) => e2.$emit("close")) }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(e2.$t("imatrixUIPublicModel.cancel")), 1)]), _: 1 }), e2.isDragColumn ? (l.openBlock(), l.createElementBlock("span", s, "(" + l.toDisplayString(e2.$t("superGrid.dragColumnOrderMessage")) + ")", 1)) : l.createCommentVNode("", true)]), i2.hasLoaded ? (l.openBlock(), l.createBlock(w, { key: 0, data: i2.columns, class: "custom-config-elTable", "max-height": "450", "row-key": "prop" }, { default: l.withCtx(() => [l.createVNode(u, { label: e2.$t("superGrid.label"), property: "label", width: "220" }, { default: l.withCtx((e3) => [l.createElementVNode("span", { title: e3.row.label, class: "ellipsis cell--span" }, l.toDisplayString(e3.row.label), 9, d)]), _: 1 }, 8, ["label"]), l.createVNode(u, { label: e2.$t("superGrid.isShow"), property: "showType", width: "120" }, { default: l.withCtx((o3) => [l.createVNode(m, { modelValue: o3.row.showType, "onUpdate:modelValue": (e3) => o3.row.showType = e3, disabled: n.isDisabledShow(o3.row), onChange: (e3) => n.changeShow(o3.row, e3) }, { default: l.withCtx(() => [l.createVNode(c, { label: n.isDisabledShow(o3.row) ? e2.$t("superGrid.default") : e2.$t("superGrid.show"), value: "default" }, null, 8, ["label"]), l.createVNode(c, { label: e2.$t("superGrid.hidden"), value: "false" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])]), _: 1 }, 8, ["label"]), l.createVNode(u, { label: e2.$t("superGrid.isExportable"), property: "exportType", width: "120" }, { default: l.withCtx((o3) => [l.createVNode(m, { modelValue: o3.row.exportType, "onUpdate:modelValue": (e3) => o3.row.exportType = e3, disabled: n.isDisabledExport(o3.row), onChange: (e3) => n.changeExport(o3.row, e3) }, { default: l.withCtx(() => [l.createVNode(c, { label: n.isDisabledExport(o3.row) ? e2.$t("superGrid.default") : e2.$t("superGrid.export"), value: "default" }, null, 8, ["label"]), l.createVNode(c, { label: e2.$t("superGrid.unExport"), value: "false" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])]), _: 1 }, 8, ["label"]), e2.isDragColumn ? (l.openBlock(), l.createBlock(u, { key: 0, label: e2.$t("superGrid.displayOrder"), property: "displayOrder", sortable: "" }, { default: l.withCtx((o3) => [o3.row.displayOrderType && "custom" === o3.row.displayOrderType ? (l.openBlock(), l.createBlock(h, { key: 0, modelValue: o3.row.displayOrder, "onUpdate:modelValue": (e3) => o3.row.displayOrder = e3, clearable: "", type: "number", size: "default", onClear: (e3) => n.clearDisplayOrder(o3.row), onInput: (e3) => n.handleInput(o3.row, "displayOrder") }, null, 8, ["modelValue", "onUpdate:modelValue", "onClear", "onInput"])) : (l.openBlock(), l.createBlock(m, { key: 1, modelValue: o3.row.displayOrderType, "onUpdate:modelValue": (e3) => o3.row.displayOrderType = e3 }, { default: l.withCtx(() => [l.createVNode(c, { label: e2.$t("superGrid.default"), value: "default" }, null, 8, ["label"]), l.createVNode(c, { label: e2.$t("superGrid.custom"), value: "custom" }, null, 8, ["label"])]), _:
|
|
74
|
+
return l.openBlock(), l.createBlock(y, { "close-on-click-modal": false, "model-value": true, "show-close": true, title: e2.$t("superGrid.columnConfig"), "append-to-body": "", top: "5vh", width: "50%", onClose: o2[1] || (o2[1] = (l2) => e2.$emit("close")), onClosed: o2[2] || (o2[2] = (l2) => e2.$emit("closed")), onOpen: o2[3] || (o2[3] = (l2) => e2.$emit("open")), onOpend: o2[4] || (o2[4] = (l2) => e2.$emit("opend")) }, { default: l.withCtx(() => [l.createElementVNode("div", a, [l.createVNode(p, { size: "default", type: "primary", onClick: n.saveConfig }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["onClick"]), l.createVNode(p, { size: "default", onClick: n.resetConfig }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(e2.$t("imatrixUIPublicModel.reset")), 1)]), _: 1 }, 8, ["onClick"]), l.createVNode(p, { size: "default", onClick: o2[0] || (o2[0] = (l2) => e2.$emit("close")) }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(e2.$t("imatrixUIPublicModel.cancel")), 1)]), _: 1 }), e2.isDragColumn ? (l.openBlock(), l.createElementBlock("span", s, "(" + l.toDisplayString(e2.$t("superGrid.dragColumnOrderMessage")) + ")", 1)) : l.createCommentVNode("", true)]), i2.hasLoaded ? (l.openBlock(), l.createBlock(w, { key: 0, data: i2.columns, class: "custom-config-elTable", "max-height": "450", "row-key": "prop" }, { default: l.withCtx(() => [l.createVNode(u, { label: e2.$t("superGrid.label"), property: "label", width: "220" }, { default: l.withCtx((e3) => [l.createElementVNode("span", { title: e3.row.label, class: "ellipsis cell--span" }, l.toDisplayString(e3.row.label), 9, d)]), _: 1 }, 8, ["label"]), l.createVNode(u, { label: e2.$t("superGrid.isShow"), property: "showType", width: "120" }, { default: l.withCtx((o3) => [l.createVNode(m, { modelValue: o3.row.showType, "onUpdate:modelValue": (e3) => o3.row.showType = e3, disabled: n.isDisabledShow(o3.row), onChange: (e3) => n.changeShow(o3.row, e3) }, { default: l.withCtx(() => [l.createVNode(c, { label: n.isDisabledShow(o3.row) ? e2.$t("superGrid.default") : e2.$t("superGrid.show"), value: "default" }, null, 8, ["label"]), l.createVNode(c, { label: e2.$t("superGrid.hidden"), value: "false" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])]), _: 1 }, 8, ["label"]), l.createVNode(u, { label: e2.$t("superGrid.isExportable"), property: "exportType", width: "120" }, { default: l.withCtx((o3) => [l.createVNode(m, { modelValue: o3.row.exportType, "onUpdate:modelValue": (e3) => o3.row.exportType = e3, disabled: n.isDisabledExport(o3.row), onChange: (e3) => n.changeExport(o3.row, e3) }, { default: l.withCtx(() => [l.createVNode(c, { label: n.isDisabledExport(o3.row) ? e2.$t("superGrid.default") : e2.$t("superGrid.export"), value: "default" }, null, 8, ["label"]), l.createVNode(c, { label: e2.$t("superGrid.unExport"), value: "false" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "disabled", "onChange"])]), _: 1 }, 8, ["label"]), e2.isDragColumn ? (l.openBlock(), l.createBlock(u, { key: 0, label: e2.$t("superGrid.displayOrder"), property: "displayOrder", sortable: "" }, { default: l.withCtx((o3) => [o3.row.displayOrderType && "custom" === o3.row.displayOrderType ? (l.openBlock(), l.createBlock(h, { key: 0, modelValue: o3.row.displayOrder, "onUpdate:modelValue": (e3) => o3.row.displayOrder = e3, clearable: "", type: "number", size: "default", onClear: (e3) => n.clearDisplayOrder(o3.row), onInput: (e3) => n.handleInput(o3.row, "displayOrder") }, null, 8, ["modelValue", "onUpdate:modelValue", "onClear", "onInput"])) : (l.openBlock(), l.createBlock(m, { key: 1, modelValue: o3.row.displayOrderType, "onUpdate:modelValue": (e3) => o3.row.displayOrderType = e3 }, { default: l.withCtx(() => [l.createVNode(c, { label: e2.$t("superGrid.default"), value: "default" }, null, 8, ["label"]), l.createVNode(c, { label: e2.$t("superGrid.custom"), value: "custom" }, null, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"]))]), _: 1 }, 8, ["label"])) : l.createCommentVNode("", true), e2.isDragColumn ? (l.openBlock(), l.createBlock(u, { key: 1, label: e2.$t("superGrid.searchDisplayOrder"), property: "searchDisplayOrder", sortable: "" }, { default: l.withCtx((o3) => [o3.row.searchDisplayOrderType && "custom" === o3.row.searchDisplayOrderType ? (l.openBlock(), l.createBlock(h, { key: 0, modelValue: o3.row.searchDisplayOrder, "onUpdate:modelValue": (e3) => o3.row.searchDisplayOrder = e3, disabled: !i2.searchColumns.includes(o3.row.prop), clearable: "", type: "number", size: "default", onClear: (e3) => o3.row.searchDisplayOrderType = "default", onInput: (e3) => n.handleInput(o3.row, "searchDisplayOrder") }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "onClear", "onInput"])) : (l.openBlock(), l.createBlock(m, { key: 1, modelValue: o3.row.searchDisplayOrderType, "onUpdate:modelValue": (e3) => o3.row.searchDisplayOrderType = e3, disabled: !i2.searchColumns.includes(o3.row.prop) }, { default: l.withCtx(() => [l.createVNode(c, { label: e2.$t("superGrid.default"), value: "default" }, null, 8, ["label"]), l.createVNode(c, { label: e2.$t("superGrid.custom"), value: "custom" }, null, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "disabled"]))]), _: 1 }, 8, ["label"])) : l.createCommentVNode("", true), l.createVNode(u, { label: e2.$t("superGrid.width"), property: "widthType" }, { default: l.withCtx((o3) => [o3.row.widthType && "custom" === o3.row.widthType ? (l.openBlock(), l.createBlock(h, { key: 0, modelValue: o3.row.width, "onUpdate:modelValue": (e3) => o3.row.width = e3, clearable: "", size: "default", onClear: (e3) => n.clearWidth(o3.row) }, null, 8, ["modelValue", "onUpdate:modelValue", "onClear"])) : (l.openBlock(), l.createBlock(m, { key: 1, modelValue: o3.row.widthType, "onUpdate:modelValue": (e3) => o3.row.widthType = e3 }, { default: l.withCtx(() => [l.createVNode(c, { label: e2.$t("superGrid.default"), value: "default" }, null, 8, ["label"]), l.createVNode(c, { label: e2.$t("superGrid.custom"), value: "custom" }, null, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"]))]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])) : l.createCommentVNode("", true)]), _: 1 }, 8, ["title"]);
|
|
75
75
|
}]]);
|
|
76
76
|
module.exports = i;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const e = require("vue"), l = require("../utils.cjs"), t = e.defineComponent({ __name: "grid-radio-input", props: { options: { type: Array, default: () => [] }, valueSetOptions: { type: Object, default: false }, disabled: { type: Boolean, default: false }, modelValue: { type: [String, Number, Boolean], default: "" }, prop: { type: String, default: "" }, entity: { type: Object, default: () => ({}) } }, emits: ["update:modelValue", "cellEvent"], setup(t2, { emit: o }) {
|
|
3
|
-
const n = t2, a = e.ref(n.modelValue),
|
|
4
|
-
if (
|
|
3
|
+
const n = t2, a = o, u = e.ref(n.modelValue), i = (e2) => {
|
|
4
|
+
if (u.value = e2, n.valueSetOptions && n.valueSetOptions.length > 0) {
|
|
5
5
|
const l2 = function(e3, l3) {
|
|
6
6
|
if (!l3)
|
|
7
7
|
return [];
|
|
@@ -11,11 +11,11 @@ const e = require("vue"), l = require("../utils.cjs"), t = e.defineComponent({ _
|
|
|
11
11
|
e3.valueField !== n.prop && (n.entity[e3.valueField] = l2[e3.columnName]);
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
a("update:modelValue", e2), a("cellEvent", "change", e2);
|
|
15
15
|
};
|
|
16
|
-
return (
|
|
16
|
+
return (o2, r) => {
|
|
17
17
|
const d = e.resolveComponent("el-radio"), p = e.resolveComponent("el-radio-group");
|
|
18
|
-
return e.openBlock(), e.createBlock(p, { ref: "item", modelValue:
|
|
18
|
+
return e.openBlock(), e.createBlock(p, { ref: "item", modelValue: u.value, "onUpdate:modelValue": r[0] || (r[0] = (e2) => u.value = e2), disabled: t2.disabled, title: (s = u.value, l.getClassOptionTitleCommon(s, n.options)), onBlur: r[1] || (r[1] = (e2) => a("cellEvent", "blur", e2)), onChange: i, onClear: r[2] || (r[2] = (e2) => a("cellEvent", "clear", e2)), onFocus: r[3] || (r[3] = (e2) => a("cellEvent", "focus", e2)), onInput: r[4] || (r[4] = (e2) => a("cellEvent", "input", e2)), onVisibleChange: r[5] || (r[5] = (e2) => a("cellEvent", "visible-change", e2)) }, { default: e.withCtx(() => [(e.openBlock(true), e.createElementBlock(e.Fragment, null, e.renderList(t2.options, (l2) => (e.openBlock(), e.createBlock(d, { key: l2.value, value: l2.value }, { default: e.withCtx(() => [e.createTextVNode(e.toDisplayString(l2.label), 1)]), _: 2 }, 1032, ["value"]))), 128))]), _: 1 }, 8, ["modelValue", "disabled", "title"]);
|
|
19
19
|
var s;
|
|
20
20
|
};
|
|
21
21
|
} });
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const e = require("vue"), l = require("vue-i18n"), t = require("../utils.cjs"), a = require("clipboard"), o = require("element-plus"), n = require("../store.cjs"), u = require("../../../src/utils/common-util.cjs"), i = { style: { "padding-left": "5px" } }, r = e.defineComponent({ __name: "select-input", props: { column: { type: Object, default: null }, type: { type: String, default: "input" }, controlConfig: { type: Object, default: false }, listCode: { type: String, default: "" }, listToolbarFormData: { type: Object, default: null }, dynamicDataSourceCode: { type: String, default: "" }, additionalParamMap: { type: [String, Object], default: null }, isSql: { type: Boolean, default: false }, parentFormData: { type: Object, default: () => ({}) }, tableName: { type: String, default: "" }, options: { type: Array, default: () => [] }, valueSetOptions: { type: Object, default: false }, disabled: { type: Boolean, default: false }, modelValue: { type: [String, Number, Boolean], default: "" }, prop: { type: String, default: "" }, entity: { type: Object, default: () => ({}) } }, emits: ["update:modelValue", "cellEvent", "extendParams", "setCellValue", "callCustomEventWithParam", "setCellValueWithProp"], setup(r2, { emit: s }) {
|
|
3
|
-
const c = r2, { t: p } = l.useI18n(), d = e.ref(c.modelValue),
|
|
3
|
+
const c = r2, { t: p } = l.useI18n(), d = s, v = e.ref(c.modelValue), m = e.ref(false);
|
|
4
4
|
e.watch(() => c.modelValue, (e2, l2) => {
|
|
5
|
-
|
|
5
|
+
v.value = e2;
|
|
6
6
|
}, { immediate: true });
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
let
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
let
|
|
14
|
-
const
|
|
15
|
-
let
|
|
16
|
-
|
|
17
|
-
let
|
|
18
|
-
|
|
19
|
-
const
|
|
7
|
+
const f = "copyBtn_" + (/* @__PURE__ */ new Date()).getTime(), b = n.get(c.listCode);
|
|
8
|
+
b && b.basicInfo && b.basicInfo.hasJoinTable && (m.value = b.basicInfo.hasJoinTable);
|
|
9
|
+
let g = b.options.backendUrl;
|
|
10
|
+
g || (g = window.$vueApp.config.globalProperties.baseURL);
|
|
11
|
+
const y = e.ref(false);
|
|
12
|
+
y.value = t.isDynamicDataSourceSource(c.column);
|
|
13
|
+
let C = c.column.valueSetOptions ? JSON.parse(c.column.valueSetOptions) : null;
|
|
14
|
+
const h = e.ref(false);
|
|
15
|
+
let S;
|
|
16
|
+
h.value = !y.value && C && "remote" === C.filterType && C.type && "dataTable" === C.type, c.valueSetOptions, h.value, c.controlConfig;
|
|
17
|
+
let V = e.ref(c.options);
|
|
18
|
+
y.value || w(null, true);
|
|
19
|
+
const O = e.ref(false);
|
|
20
20
|
e.onMounted(() => {
|
|
21
|
-
const e2 = new a("#" +
|
|
21
|
+
const e2 = new a("#" + f, { text: function() {
|
|
22
22
|
return function(e3) {
|
|
23
23
|
if (null != e3 && "" !== e3 && e3.length > 0) {
|
|
24
24
|
let l2 = "";
|
|
25
|
-
return "string" == typeof e3 ?
|
|
25
|
+
return "string" == typeof e3 ? V.value.length > 0 ? V.value.forEach((t2) => {
|
|
26
26
|
t2.value === e3 && (l2 = t2.label);
|
|
27
|
-
}) : l2 = e3 :
|
|
27
|
+
}) : l2 = e3 : V.value.length > 0 ? (V.value.forEach((t2) => {
|
|
28
28
|
e3.forEach((e4) => {
|
|
29
29
|
t2.value === e4 && (l2 = l2 + t2.label + ",");
|
|
30
30
|
});
|
|
31
31
|
}), l2 = l2.slice(0, l2.length - 1)) : l2 = e3.join(","), l2;
|
|
32
32
|
}
|
|
33
|
-
}(
|
|
33
|
+
}(v.value);
|
|
34
34
|
} });
|
|
35
35
|
e2.on("success", () => {
|
|
36
36
|
o.ElMessage({ type: "success", message: p("chatEmbed.copySuccess"), showClose: true });
|
|
@@ -38,44 +38,44 @@ const e = require("vue"), l = require("vue-i18n"), t = require("../utils.cjs"),
|
|
|
38
38
|
console.error("复制失败", e3);
|
|
39
39
|
});
|
|
40
40
|
});
|
|
41
|
-
function
|
|
41
|
+
function E(e2, l2) {
|
|
42
42
|
return l2 ? l2.find((l3) => l3.value === e2) : [];
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function B(e2, l2) {
|
|
45
45
|
var _a;
|
|
46
|
-
if ("select" === c.type && !
|
|
46
|
+
if ("select" === c.type && !y.value)
|
|
47
47
|
return void ((e3) => {
|
|
48
|
-
if (
|
|
48
|
+
if (v.value = e3, (C == null ? void 0 : C.type) && "dataTable" === C.type && c.valueSetOptions && c.valueSetOptions.length > 0)
|
|
49
49
|
if (null == e3 || "" === e3)
|
|
50
|
-
|
|
50
|
+
P();
|
|
51
51
|
else {
|
|
52
|
-
const l3 =
|
|
52
|
+
const l3 = E(e3, V.value);
|
|
53
53
|
l3 && c.valueSetOptions.forEach((e4) => {
|
|
54
54
|
if (e4.valueField !== c.prop) {
|
|
55
55
|
const t3 = l3[e4.columnName];
|
|
56
|
-
|
|
56
|
+
d("setCellValueWithProp", e4.valueField, t3);
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
d("update:modelValue", e3), d("setCellValue", c.prop, e3, "change");
|
|
61
61
|
})(e2);
|
|
62
|
-
|
|
62
|
+
d("extendParams", l2);
|
|
63
63
|
let t2 = false;
|
|
64
|
-
if (e2 && e2.length > 0 && "multiselect" === c.type && !
|
|
64
|
+
if (e2 && e2.length > 0 && "multiselect" === c.type && !y.value) {
|
|
65
65
|
const l3 = "saveAll";
|
|
66
66
|
if (-1 !== e2.indexOf(l3)) {
|
|
67
|
-
e2.length - 1 >=
|
|
68
|
-
-1 ===
|
|
67
|
+
e2.length - 1 >= V.value.length ? v.value = null : ((!v.value || v.value.indexOf(l3) >= 0) && (v.value = []), (_a = V.value) == null ? void 0 : _a.forEach((e3) => {
|
|
68
|
+
-1 === v.value.indexOf(e3.value) && v.value.push(e3.value);
|
|
69
69
|
})), t2 = true;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
if ("multiselect" === c.type) {
|
|
73
|
-
|
|
74
|
-
if (
|
|
75
|
-
if (
|
|
73
|
+
v.value && "number" != typeof v.value && -1 !== v.value.indexOf("saveAll") && v.value.splice(v.value.indexOf("saveAll"), 1), function() {
|
|
74
|
+
if (v.value, (C == null ? void 0 : C.type) && "dataTable" === C.type && c.valueSetOptions && c.valueSetOptions.length > 0 && !y.value)
|
|
75
|
+
if (v.value && 0 !== v.value.length) {
|
|
76
76
|
let e4 = {};
|
|
77
|
-
|
|
78
|
-
const t3 =
|
|
77
|
+
v.value.forEach((l3) => {
|
|
78
|
+
const t3 = E(l3, V.value);
|
|
79
79
|
t3 && c.valueSetOptions.forEach((l4) => {
|
|
80
80
|
if (l4.valueField !== c.prop) {
|
|
81
81
|
let a2 = e4[l4.valueField];
|
|
@@ -89,53 +89,53 @@ const e = require("vue"), l = require("vue-i18n"), t = require("../utils.cjs"),
|
|
|
89
89
|
const t3 = e4[l3];
|
|
90
90
|
if (t3) {
|
|
91
91
|
const e5 = t3.join(",");
|
|
92
|
-
|
|
92
|
+
d("setCellValueWithProp", l3, e5);
|
|
93
93
|
} else
|
|
94
|
-
|
|
94
|
+
d("setCellValueWithProp", l3, null);
|
|
95
95
|
}
|
|
96
96
|
} else
|
|
97
|
-
|
|
97
|
+
P();
|
|
98
98
|
}();
|
|
99
|
-
const e3 =
|
|
100
|
-
t2 &&
|
|
99
|
+
const e3 = v.value && v.value.length > 0 ? v.value.join(",") : null;
|
|
100
|
+
t2 && d("cellEvent", "input", e3), d("update:modelValue", e3), d("setCellValue", c.prop, e3, "change");
|
|
101
101
|
} else
|
|
102
|
-
|
|
102
|
+
d("update:modelValue", e2), d("setCellValue", c.prop, e2, "change");
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
t2 && (t2 === c.prop ?
|
|
104
|
+
function k({ value: e2, sourceColumnName: l2, targetColumnName: t2, options: a2, selectedItem: o2 }) {
|
|
105
|
+
t2 && (t2 === c.prop ? d("setCellValue", t2, e2, "input") : d("setCellValueWithProp", t2, e2));
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function w(e2, l2) {
|
|
108
108
|
var _a;
|
|
109
|
-
if (!(
|
|
109
|
+
if (!(C == null ? void 0 : C.type) || "dataTable" !== (C == null ? void 0 : C.type))
|
|
110
110
|
return;
|
|
111
111
|
let t2 = false;
|
|
112
|
-
if (l2 || null !=
|
|
112
|
+
if (l2 || null != S && S === e2 || (S = e2, t2 = true), t2 || l2) {
|
|
113
113
|
let l3 = {};
|
|
114
|
-
Object.assign(l3,
|
|
114
|
+
Object.assign(l3, C), l3.uuid = c.prop, l3.props || (l3.props = {}), l3.props.tableName = (_a = C == null ? void 0 : C.props) == null ? void 0 : _a.tableName, l3.props.prop = c.prop;
|
|
115
115
|
const t3 = { listCode: c.listCode, entityMap: c.entity, additionalParamMap: c.additionalParamMap, dataSourceList: [l3] };
|
|
116
116
|
null != e2 && (t3.query = e2), c.parentFormData && (t3.parent = c.parentFormData);
|
|
117
117
|
const a2 = u.getRelativeBaseUrl(window.$vueApp.config.globalProperties.baseURL + "/common/common-data/find-grid-datas");
|
|
118
118
|
window.$vueApp.config.globalProperties.$http.post(a2, t3).then((e3) => {
|
|
119
119
|
if (e3 && e3.columnValueSet) {
|
|
120
120
|
const l4 = e3.columnValueSet;
|
|
121
|
-
|
|
121
|
+
V.value = l4[c.prop];
|
|
122
122
|
} else
|
|
123
|
-
|
|
123
|
+
V.value = [];
|
|
124
124
|
}).catch((e3) => {
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function P() {
|
|
129
129
|
c.valueSetOptions && c.valueSetOptions.forEach((e2) => {
|
|
130
|
-
e2.valueField !== c.prop &&
|
|
130
|
+
e2.valueField !== c.prop && d("setCellValueWithProp", e2.valueField, null);
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
return (l2, a2) => {
|
|
134
|
-
const o2 = e.resolveComponent("CopyDocument"), n2 = e.resolveComponent("el-icon"), u2 = e.resolveComponent("el-option"),
|
|
135
|
-
return e.openBlock(), e.createElementBlock("span", null, [
|
|
136
|
-
return [e.createVNode(
|
|
134
|
+
const o2 = e.resolveComponent("CopyDocument"), n2 = e.resolveComponent("el-icon"), u2 = e.resolveComponent("el-option"), s2 = e.resolveComponent("el-select"), c2 = e.resolveComponent("el-popover"), b2 = e.resolveComponent("dynamic-source-select");
|
|
135
|
+
return e.openBlock(), e.createElementBlock("span", null, [y.value ? "multiselect" !== r2.type && "select" !== r2.type || !y.value ? e.createCommentVNode("", true) : (e.openBlock(), e.createBlock(b2, { key: 1, value: v.value, "onUpdate:value": a2[7] || (a2[7] = (e2) => v.value = e2), "base-props": { multiple: "multiselect" === r2.type, disabled: r2.disabled }, column: r2.column, entity: r2.entity, "is-join-table": m.value, "list-code": r2.listCode, "list-toolbar-form-data": r2.listToolbarFormData, options: { dynamicDataSourceCode: r2.dynamicDataSourceCode, valueSetOptions: r2.valueSetOptions, isSql: r2.isSql, backendUrl: e.unref(g), additionalParameter: r2.additionalParamMap ? JSON.stringify(r2.additionalParamMap) : null }, parent: r2.parentFormData, "table-name": r2.tableName, onBlur: a2[8] || (a2[8] = (e2) => d("cellEvent", "blur", e2)), onChange: B, onClear: a2[9] || (a2[9] = (e2) => d("cellEvent", "clear", e2)), onFocus: a2[10] || (a2[10] = (e2) => d("cellEvent", "focus", "focus1111")), onInput: a2[11] || (a2[11] = (e2) => d("cellEvent", "input", e2)), onVisibleChange: a2[12] || (a2[12] = (e2) => d("cellEvent", "visible-change", e2)), onRemoveTag: a2[13] || (a2[13] = (e2) => d("cellEvent", "remove-tag", e2)), onSetValue: k }, null, 8, ["value", "base-props", "column", "entity", "is-join-table", "list-code", "list-toolbar-form-data", "options", "parent", "table-name"])) : (e.openBlock(), e.createBlock(c2, { key: 0, placement: "top", trigger: "hover" }, { reference: e.withCtx(() => {
|
|
136
|
+
return [e.createVNode(s2, { ref: "item", modelValue: v.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e2) => v.value = e2), loading: O.value, "allow-create": !!r2.controlConfig.allowCreate, disabled: r2.disabled, "default-first-option": !!r2.controlConfig.allowCreate, filterable: !(void 0 !== r2.controlConfig.filterable && !r2.controlConfig.filterable) || !!h.value, placeholder: l2.$t("imatrixUIMessage.pleaseSelect"), title: (o3 = v.value, t.getClassOptionTitleCommon(o3, V.value)), clearable: !(void 0 !== r2.controlConfig.clearable && !r2.controlConfig.clearable), "collapse-tags": "", multiple: "multiselect" === r2.type, remote: h.value, "remote-method": w, onBlur: a2[1] || (a2[1] = (e2) => d("cellEvent", "blur", e2)), onChange: B, onClear: a2[2] || (a2[2] = (e2) => d("cellEvent", "clear", e2)), onFocus: a2[3] || (a2[3] = (e2) => d("cellEvent", "focus", e2)), onInput: a2[4] || (a2[4] = (e2) => d("cellEvent", "input", e2)), onVisibleChange: a2[5] || (a2[5] = (e2) => d("cellEvent", "visible-change", e2)), onRemoveTag: a2[6] || (a2[6] = (e2) => d("cellEvent", "remove-tag", e2)) }, { default: e.withCtx(() => ["multiselect" === r2.type ? (e.openBlock(), e.createBlock(u2, { key: 0, label: e.unref(p)("superGrid.selectAll"), value: "saveAll" }, null, 8, ["label"])) : e.createCommentVNode("", true), (e.openBlock(true), e.createElementBlock(e.Fragment, null, e.renderList(e.unref(V), (l3) => (e.openBlock(), e.createBlock(u2, { key: l3.value, label: l3.label, value: l3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading", "allow-create", "disabled", "default-first-option", "filterable", "placeholder", "title", "clearable", "multiple", "remote"])];
|
|
137
137
|
var o3;
|
|
138
|
-
}), default: e.withCtx(() => [e.createElementVNode("span", i, [e.createVNode(n2, { id:
|
|
138
|
+
}), default: e.withCtx(() => [e.createElementVNode("span", i, [e.createVNode(n2, { id: f }, { default: e.withCtx(() => [e.createVNode(o2)]), _: 1 })])]), _: 1 }))]);
|
|
139
139
|
};
|
|
140
140
|
} });
|
|
141
141
|
module.exports = r;
|
|
@@ -6,6 +6,6 @@ const t = require("../../_virtual/_plugin-vue_export-helper.cjs")({ name: "RowDe
|
|
|
6
6
|
this.$emit("show-detail", e2);
|
|
7
7
|
} } }, [["render", function(e2, t2, o, n, r, i) {
|
|
8
8
|
const c = l.resolveComponent("ElView"), a = l.resolveComponent("el-icon"), u = l.resolveComponent("el-table-column");
|
|
9
|
-
return l.openBlock(), l.createBlock(u, { align: "center", "class-name": o.column.prop, fixed: "left", "header-align": "center", prop: o.column.prop, width: 80, label: o.column.label }, { default: l.withCtx((e3) => [l.createVNode(a, { onClick: (l2) => i.showDetail(e3.$index) }, { default: l.withCtx(() => [l.createVNode(c)]), _:
|
|
9
|
+
return l.openBlock(), l.createBlock(u, { align: "center", "class-name": o.column.prop, fixed: "left", "header-align": "center", prop: o.column.prop, width: 80, label: o.column.label }, { default: l.withCtx((e3) => [l.createVNode(a, { onClick: (l2) => i.showDetail(e3.$index) }, { default: l.withCtx(() => [l.createVNode(c)]), _: 1 }, 8, ["onClick"])]), _: 1 }, 8, ["class-name", "prop", "label"]);
|
|
10
10
|
}]]);
|
|
11
11
|
module.exports = t;
|
|
@@ -101,6 +101,6 @@ const u = require("../../_virtual/_plugin-vue_export-helper.cjs"), c = { compone
|
|
|
101
101
|
} }, emits: ["resetForm"] }, d = { key: 0 }, m = { key: 12, style: { width: "100%" } };
|
|
102
102
|
const p = u(c, [["render", function(e2, o2, l2, t2, a2, r2) {
|
|
103
103
|
const n2 = s.resolveComponent("CirclePlus"), i2 = s.resolveComponent("el-icon"), u2 = s.resolveComponent("Remove"), c2 = s.resolveComponent("el-table-column"), p2 = s.resolveComponent("el-option"), h = s.resolveComponent("el-select"), w = s.resolveComponent("el-date-picker"), b = s.resolveComponent("el-time-picker"), T = s.resolveComponent("organization-input"), y = s.resolveComponent("dynamic-source-select"), v = s.resolveComponent("search-form-number"), f = s.resolveComponent("el-switch"), V = s.resolveComponent("el-slider"), I = s.resolveComponent("el-rate"), N = s.resolveComponent("el-input"), x = s.resolveComponent("el-table");
|
|
104
|
-
return a2.formFlag ? (s.openBlock(), s.createElementBlock("div", d, [s.createVNode(x, { ref: "table", data: l2.searchFormList, "row-class-name": r2.tableRowClassName, border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: r2.handleCurrentChange }, { default: s.withCtx(() => [s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "left", width: "80" }, { default: s.withCtx((e3) => [s.createVNode(i2, { onClick: r2.add }, { default: s.withCtx(() => [s.createVNode(n2)]), _: 1 }, 8, ["onClick"]), s.createVNode(i2, { onClick: (o3) => r2.remove(e3.$index) }, { default: s.withCtx(() => [s.createVNode(u2)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"]), s.createVNode(c2, { label: "(", prop: "leftBracket", width: "90" }, { default: s.withCtx((e3) => [s.createVNode(h, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (o3) => e3.row.leftBracket = o3, clearable: "", size: "default", onFocus: (o3) => r2.selectRow(e3.row) }, { default: s.withCtx(() => [s.createVNode(p2, { label: "", value: "" }), s.createVNode(p2, { label: "(", value: "(" }), s.createVNode(p2, { label: "((", value: "((" }), s.createVNode(p2, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.fieldName"), width: "200" }, { default: s.withCtx((e3) => [s.createVNode(h, { modelValue: e3.row.prop, "onUpdate:modelValue": (o3) => e3.row.prop = o3, clearable: "", filterable: "", size: "default", onChange: (o3) => r2.changeFieldName(e3.$index), onFocus: (o3) => r2.selectRow(e3.row) }, { default: s.withCtx(() => [(s.openBlock(true), s.createElementBlock(s.Fragment, null, s.renderList(l2.searchableColumns, (e4) => (s.openBlock(), s.createBlock(p2, { key: e4.prop, label: e4.label, value: e4.prop }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "onFocus"])]), _: 1 }, 8, ["label"]), s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.operator"), width: "110" }, { default: s.withCtx((e3) => [s.createVNode(h, { modelValue: e3.row.operator, "onUpdate:modelValue": (o3) => e3.row.operator = o3, clearable: "", size: "default", onFocus: (o3) => r2.selectRow(e3.row) }, { default: s.withCtx(() => [(s.openBlock(true), s.createElementBlock(s.Fragment, null, s.renderList(a2.operationArr[e3.$index], (e4) => (s.openBlock(), s.createBlock(p2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.value") }, s.createSlots({ _: 2 }, [e2.scope.row.prop ? { name: "default", fn: s.withCtx((t3) => ["DATE" === t3.row.dataType || "date" === t3.row.componentType ? (s.openBlock(), s.createBlock(w, { key: 0, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", type: "daterange", "unlink-panels": "", "value-format": "YYYY-MM-DD", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "end-placeholder", "range-separator", "start-placeholder", "style", "onFocus", "onInput"])) : "dateTimePicker" === t3.row.componentType ? (s.openBlock(), s.createBlock(w, { key: 1, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", type: "datetimerange", "unlink-panels": "", "value-format": "YYYY-MM-DD HH:mm:ss", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "end-placeholder", "range-separator", "start-placeholder", "style", "onFocus", "onInput"])) : "TIME" === t3.row.dataType && "timepicker" === t3.row.componentType ? (s.openBlock(), s.createBlock(w, { key: 2, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", type: "datetimerange", "unlink-panels": "", "value-format": "HH:mm:ss", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "end-placeholder", "range-separator", "start-placeholder", "style", "onFocus", "onInput"])) : "timepicker" === t3.row.componentType && "TIME" !== t3.row.dataType && "DATE" !== t3.row.dataType ? (s.openBlock(), s.createBlock(b, { key: 3, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, placeholder: e2.$t("imatrixUIMessage.selectTime"), size: "default", style: { width: "100%" }, type: "fixed-time", "value-format": "HH:mm:ss", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "onFocus", "onInput"])) : r2.componentTypeTypeIsTree(t3.row.componentType) ? (s.openBlock(), s.createBlock(T, { key: 4, value: t3.row.value, "onUpdate:value": (e3) => t3.row.value = e3, fields: r2.getTreeFields(t3.row.orgTreeSet), models: e2.searchForm, multiple: r2.getTreeIsMultiTree(t3.row.componentType), size: e2.default, "tree-type": r2.getTreeType(t3.row.componentType), onClear: r2.clearOrganizationInputEvent, onFocus: (e3) => r2.selectRow(t3.row), onSetValue: r2.organizationInputEvent }, null, 8, ["value", "onUpdate:value", "fields", "models", "multiple", "size", "tree-type", "onClear", "onFocus", "onSetValue"])) : (t3.row.componentType && "select" === t3.row.componentType || "BOOLEAN" === t3.row.dataType) && !r2.isDynamicDataSourceSource(t3.row) ? (s.openBlock(), s.createBlock(h, { key: 5, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: s.normalizeStyle(t3.row.searchControlWidth), clearable: "", size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, { default: s.withCtx(() => [(s.openBlock(true), s.createElementBlock(s.Fragment, null, s.renderList(t3.row.valueSet, (e3) => (s.openBlock(), s.createBlock(p2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "style", "onFocus", "onInput"])) : t3.row.componentType && "multiselect" === t3.row.componentType && !r2.isDynamicDataSourceSource(t3.row) ? (s.openBlock(), s.createBlock(h, { key: 6, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: s.normalizeStyle(t3.row.searchControlWidth), clearable: "", "collapse-tags": "", multiple: "", size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, { default: s.withCtx(() => [(s.openBlock(true), s.createElementBlock(s.Fragment, null, s.renderList(t3.row.valueSet, (e3) => (s.openBlock(), s.createBlock(p2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "style", "onFocus", "onInput"])) : t3.row.componentType && ("multiselect" === t3.row.componentType || "select" === t3.row.componentType) && r2.isDynamicDataSourceSource(t3.row) ? (s.openBlock(), s.createBlock(y, { key: 7, "base-props": { multiple: "multiselect" === t3.row.componentType }, entity: t3.row, "is-join-table": a2.isJoinTable, "list-code": l2.code, options: r2.getDynamicDataSourceOptions(t3.row), "table-name": a2.tableName, value: t3.row.value, onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["base-props", "entity", "is-join-table", "list-code", "options", "table-name", "value", "onInput"])) : t3.row.componentType && "inputNumber" === t3.row.componentType ? (s.openBlock(), s.createBlock(v, { key: 8, n: e2.n, r: e2.r, size: "default", onFocus: (e3) => r2.selectRow(t3.row), onSetValue: r2.setNumberValue }, null, 8, ["n", "r", "onFocus", "onSetValue"])) : t3.row.componentType && "switch" === t3.row.componentType ? (s.openBlock(), s.createBlock(f, { key: 9, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: s.normalizeStyle(t3.row.searchControlWidth), "active-color": "#13ce66", "inactive-color": "#ff4949", size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"])) : t3.row.componentType && "slider" === t3.row.componentType ? (s.openBlock(), s.createBlock(V, { key: 10, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"])) : t3.row.componentType && "rate" === t3.row.componentType ? (s.openBlock(), s.createBlock(I, { key: 11, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"])) : true === r2.customComponent(t3.row.prop) ? (s.openBlock(), s.createElementBlock("span", m, [(s.openBlock(), s.createBlock(s.resolveDynamicComponent(t3.row.componentName), { ref: t3.row.componentName, value: t3.row.value, "onUpdate:value": (e3) => t3.row.value = e3, prop: t3.row.prop, row: t3.row, "additional-settings": a2.controlConfig, class: "customComponent", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3, t3.row.componentName) }, null, 40, ["value", "onUpdate:value", "prop", "row", "additional-settings", "onFocus", "onInput"]))])) : (s.openBlock(), s.createBlock(N, { key: 13, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3), onKeyup: o2[0] || (o2[0] = s.withKeys((o3) => e2.submitForm("searchForm"), ["enter"])) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"]))]), key: "0" } : void 0]), 1032, ["label"]), s.createVNode(c2, { label: ")", prop: "rightBracket", width: "90" }, { default: s.withCtx((e3) => [s.createVNode(h, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (o3) => e3.row.rightBracket = o3, clearable: "", size: "default", onFocus: (o3) => r2.selectRow(e3.row) }, { default: s.withCtx(() => [s.createVNode(p2, { label: "", value: "" }), s.createVNode(p2, { label: ")", value: ")" }), s.createVNode(p2, { label: "))", value: "))" }), s.createVNode(p2, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.andOr"), prop: "logicOperator", width: "110" }, { default: s.withCtx((o3) => [s.createVNode(h, { modelValue: o3.row.joinSign, "onUpdate:modelValue": (e3) => o3.row.joinSign = e3, clearable: "", size: "default", onFocus: (e3) => r2.selectRow(o3.row) }, { default: s.withCtx(() => [s.createVNode(p2, { label: e2.$t("imatrixUIPublicModel.perhaps"), value: "or" }, null, 8, ["label"]), s.createVNode(p2, { label: e2.$t("imatrixUIPublicModel.also"), value: "and" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.whenTheVariableIsEmpty"), width: "110" }, { default: s.withCtx((o3) => [s.createVNode(h, { modelValue: o3.row.variableIsNull, "onUpdate:modelValue": (e3) => o3.row.variableIsNull = e3, clearable: "", size: "default", onFocus: (e3) => r2.selectRow(o3.row) }, { default: s.withCtx(() => [s.createVNode(p2, { label: "Null", value: "null" }), s.createVNode(p2, { label: e2.$t("imatrixUIPublicModel.ignore11"), value: "1=1" }, null, 8, ["label"]), s.createVNode(p2, { label: e2.$t("imatrixUIPublicModel.nonConformity"), value: "1<>1" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "row-class-name", "onCurrentChange"])])) : s.createCommentVNode("", true);
|
|
104
|
+
return a2.formFlag ? (s.openBlock(), s.createElementBlock("div", d, [s.createVNode(x, { ref: "table", data: l2.searchFormList, "row-class-name": r2.tableRowClassName, border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: r2.handleCurrentChange }, { default: s.withCtx(() => [s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "left", width: "80" }, { default: s.withCtx((e3) => [s.createVNode(i2, { onClick: r2.add }, { default: s.withCtx(() => [s.createVNode(n2)]), _: 1 }, 8, ["onClick"]), s.createVNode(i2, { onClick: (o3) => r2.remove(e3.$index) }, { default: s.withCtx(() => [s.createVNode(u2)]), _: 1 }, 8, ["onClick"])]), _: 1 }, 8, ["label"]), s.createVNode(c2, { label: "(", prop: "leftBracket", width: "90" }, { default: s.withCtx((e3) => [s.createVNode(h, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (o3) => e3.row.leftBracket = o3, clearable: "", size: "default", onFocus: (o3) => r2.selectRow(e3.row) }, { default: s.withCtx(() => [s.createVNode(p2, { label: "", value: "" }), s.createVNode(p2, { label: "(", value: "(" }), s.createVNode(p2, { label: "((", value: "((" }), s.createVNode(p2, { label: "(((", value: "(((" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.fieldName"), width: "200" }, { default: s.withCtx((e3) => [s.createVNode(h, { modelValue: e3.row.prop, "onUpdate:modelValue": (o3) => e3.row.prop = o3, clearable: "", filterable: "", size: "default", onChange: (o3) => r2.changeFieldName(e3.$index), onFocus: (o3) => r2.selectRow(e3.row) }, { default: s.withCtx(() => [(s.openBlock(true), s.createElementBlock(s.Fragment, null, s.renderList(l2.searchableColumns, (e4) => (s.openBlock(), s.createBlock(p2, { key: e4.prop, label: e4.label, value: e4.prop }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "onChange", "onFocus"])]), _: 1 }, 8, ["label"]), s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.operator"), width: "110" }, { default: s.withCtx((e3) => [s.createVNode(h, { modelValue: e3.row.operator, "onUpdate:modelValue": (o3) => e3.row.operator = o3, clearable: "", size: "default", onFocus: (o3) => r2.selectRow(e3.row) }, { default: s.withCtx(() => [(s.openBlock(true), s.createElementBlock(s.Fragment, null, s.renderList(a2.operationArr[e3.$index], (e4) => (s.openBlock(), s.createBlock(p2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.value") }, s.createSlots({ _: 2 }, [e2.scope.row.prop ? { name: "default", fn: s.withCtx((t3) => ["DATE" === t3.row.dataType || "date" === t3.row.componentType ? (s.openBlock(), s.createBlock(w, { key: 0, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", type: "daterange", "unlink-panels": "", "value-format": "YYYY-MM-DD", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "end-placeholder", "range-separator", "start-placeholder", "style", "onFocus", "onInput"])) : "dateTimePicker" === t3.row.componentType ? (s.openBlock(), s.createBlock(w, { key: 1, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", type: "datetimerange", "unlink-panels": "", "value-format": "YYYY-MM-DD HH:mm:ss", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "end-placeholder", "range-separator", "start-placeholder", "style", "onFocus", "onInput"])) : "TIME" === t3.row.dataType && "timepicker" === t3.row.componentType ? (s.openBlock(), s.createBlock(w, { key: 2, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", type: "datetimerange", "unlink-panels": "", "value-format": "HH:mm:ss", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "end-placeholder", "range-separator", "start-placeholder", "style", "onFocus", "onInput"])) : "timepicker" === t3.row.componentType && "TIME" !== t3.row.dataType && "DATE" !== t3.row.dataType ? (s.openBlock(), s.createBlock(b, { key: 3, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, placeholder: e2.$t("imatrixUIMessage.selectTime"), size: "default", style: { width: "100%" }, type: "fixed-time", "value-format": "HH:mm:ss", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "onFocus", "onInput"])) : r2.componentTypeTypeIsTree(t3.row.componentType) ? (s.openBlock(), s.createBlock(T, { key: 4, value: t3.row.value, "onUpdate:value": (e3) => t3.row.value = e3, fields: r2.getTreeFields(t3.row.orgTreeSet), models: e2.searchForm, multiple: r2.getTreeIsMultiTree(t3.row.componentType), size: e2.default, "tree-type": r2.getTreeType(t3.row.componentType), onClear: r2.clearOrganizationInputEvent, onFocus: (e3) => r2.selectRow(t3.row), onSetValue: r2.organizationInputEvent }, null, 8, ["value", "onUpdate:value", "fields", "models", "multiple", "size", "tree-type", "onClear", "onFocus", "onSetValue"])) : (t3.row.componentType && "select" === t3.row.componentType || "BOOLEAN" === t3.row.dataType) && !r2.isDynamicDataSourceSource(t3.row) ? (s.openBlock(), s.createBlock(h, { key: 5, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: s.normalizeStyle(t3.row.searchControlWidth), clearable: "", size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, { default: s.withCtx(() => [(s.openBlock(true), s.createElementBlock(s.Fragment, null, s.renderList(t3.row.valueSet, (e3) => (s.openBlock(), s.createBlock(p2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "style", "onFocus", "onInput"])) : t3.row.componentType && "multiselect" === t3.row.componentType && !r2.isDynamicDataSourceSource(t3.row) ? (s.openBlock(), s.createBlock(h, { key: 6, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: s.normalizeStyle(t3.row.searchControlWidth), clearable: "", "collapse-tags": "", multiple: "", size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, { default: s.withCtx(() => [(s.openBlock(true), s.createElementBlock(s.Fragment, null, s.renderList(t3.row.valueSet, (e3) => (s.openBlock(), s.createBlock(p2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "style", "onFocus", "onInput"])) : t3.row.componentType && ("multiselect" === t3.row.componentType || "select" === t3.row.componentType) && r2.isDynamicDataSourceSource(t3.row) ? (s.openBlock(), s.createBlock(y, { key: 7, "base-props": { multiple: "multiselect" === t3.row.componentType }, entity: t3.row, "is-join-table": a2.isJoinTable, "list-code": l2.code, options: r2.getDynamicDataSourceOptions(t3.row), "table-name": a2.tableName, value: t3.row.value, onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["base-props", "entity", "is-join-table", "list-code", "options", "table-name", "value", "onInput"])) : t3.row.componentType && "inputNumber" === t3.row.componentType ? (s.openBlock(), s.createBlock(v, { key: 8, n: e2.n, r: e2.r, size: "default", onFocus: (e3) => r2.selectRow(t3.row), onSetValue: r2.setNumberValue }, null, 8, ["n", "r", "onFocus", "onSetValue"])) : t3.row.componentType && "switch" === t3.row.componentType ? (s.openBlock(), s.createBlock(f, { key: 9, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: s.normalizeStyle(t3.row.searchControlWidth), "active-color": "#13ce66", "inactive-color": "#ff4949", size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"])) : t3.row.componentType && "slider" === t3.row.componentType ? (s.openBlock(), s.createBlock(V, { key: 10, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"])) : t3.row.componentType && "rate" === t3.row.componentType ? (s.openBlock(), s.createBlock(I, { key: 11, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"])) : true === r2.customComponent(t3.row.prop) ? (s.openBlock(), s.createElementBlock("span", m, [(s.openBlock(), s.createBlock(s.resolveDynamicComponent(t3.row.componentName), { ref: t3.row.componentName, value: t3.row.value, "onUpdate:value": (e3) => t3.row.value = e3, prop: t3.row.prop, row: t3.row, "additional-settings": a2.controlConfig, class: "customComponent", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3, t3.row.componentName) }, null, 40, ["value", "onUpdate:value", "prop", "row", "additional-settings", "onFocus", "onInput"]))])) : (s.openBlock(), s.createBlock(N, { key: 13, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, style: s.normalizeStyle(t3.row.searchControlWidth), size: "default", onFocus: (e3) => r2.selectRow(t3.row), onInput: (e3) => r2.setValueToModelProp(t3.$index, e3), onKeyup: o2[0] || (o2[0] = s.withKeys((o3) => e2.submitForm("searchForm"), ["enter"])) }, null, 8, ["modelValue", "onUpdate:modelValue", "style", "onFocus", "onInput"]))]), key: "0" } : void 0]), 1032, ["label"]), s.createVNode(c2, { label: ")", prop: "rightBracket", width: "90" }, { default: s.withCtx((e3) => [s.createVNode(h, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (o3) => e3.row.rightBracket = o3, clearable: "", size: "default", onFocus: (o3) => r2.selectRow(e3.row) }, { default: s.withCtx(() => [s.createVNode(p2, { label: "", value: "" }), s.createVNode(p2, { label: ")", value: ")" }), s.createVNode(p2, { label: "))", value: "))" }), s.createVNode(p2, { label: ")))", value: ")))" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.andOr"), prop: "logicOperator", width: "110" }, { default: s.withCtx((o3) => [s.createVNode(h, { modelValue: o3.row.joinSign, "onUpdate:modelValue": (e3) => o3.row.joinSign = e3, clearable: "", size: "default", onFocus: (e3) => r2.selectRow(o3.row) }, { default: s.withCtx(() => [s.createVNode(p2, { label: e2.$t("imatrixUIPublicModel.perhaps"), value: "or" }, null, 8, ["label"]), s.createVNode(p2, { label: e2.$t("imatrixUIPublicModel.also"), value: "and" }, null, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), s.createVNode(c2, { label: e2.$t("imatrixUIPublicModel.whenTheVariableIsEmpty"), width: "110" }, { default: s.withCtx((o3) => [s.createVNode(h, { modelValue: o3.row.variableIsNull, "onUpdate:modelValue": (e3) => o3.row.variableIsNull = e3, clearable: "", size: "default", onFocus: (e3) => r2.selectRow(o3.row) }, { default: s.withCtx(() => [s.createVNode(p2, { label: "Null", value: "null" }), s.createVNode(p2, { label: e2.$t("imatrixUIPublicModel.ignore11"), value: "1=1" }, null, 8, ["label"]), s.createVNode(p2, { label: e2.$t("imatrixUIPublicModel.nonConformity"), value: "1<>1" }, null, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "row-class-name", "onCurrentChange"])])) : s.createCommentVNode("", true);
|
|
105
105
|
}], ["__scopeId", "data-v-0b145154"]]);
|
|
106
106
|
module.exports = p;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const e = require("../../utils/gogocodeTransfer.cjs"), o = require("./eventBus.cjs"), n = require("vue")
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.cjs"), o = require("./eventBus.cjs"), n = require("vue");
|
|
3
|
+
const i = require("../../_virtual/_plugin-vue_export-helper.cjs")({ props: { r: { type: Number, default: null }, n: { type: Number, default: null }, itemValue: { type: Array, default: () => [0, 0] }, moduleConfig: { type: Object } }, data() {
|
|
3
4
|
return { number1: 0 === this.moduleConfig.min ? 0 : this.moduleConfig.min ? this.moduleConfig.min : 0, number2: 0 === this.moduleConfig.max ? 0 : this.moduleConfig.max ? this.moduleConfig.max : 100 };
|
|
4
5
|
}, mounted() {
|
|
5
6
|
o.$on("reset", () => {
|
|
@@ -13,9 +14,8 @@ const e = require("../../utils/gogocodeTransfer.cjs"), o = require("./eventBus.c
|
|
|
13
14
|
e.$emit(this, "setValue", [this.number1, this.number2], this.r, this.n);
|
|
14
15
|
}, methods: { setValue() {
|
|
15
16
|
e.$emit(this, "setValue", [this.number1, this.number2], this.r, this.n);
|
|
16
|
-
} }, emits: ["setValue"] },
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
return n.openBlock(), n.createElementBlock("div", null, [n.createVNode(s, { modelValue: u2.number1, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => u2.number1 = e3), min: 0 == i2.moduleConfig.min ? 0 : i2.moduleConfig.min ? i2.moduleConfig.min : -1 / 0, max: 0 == i2.moduleConfig.max ? 0 : i2.moduleConfig.max ? i2.moduleConfig.max : 1 / 0, step: i2.moduleConfig.step ? i2.moduleConfig.step : 1, precision: i2.moduleConfig.precision ? i2.moduleConfig.precision : 0, "controls-position": i2.moduleConfig.position ? i2.moduleConfig.position : "", onChange: o2[1] || (o2[1] = (e3) => l.setValue()) }, null, 8, ["modelValue", "min", "max", "step", "precision", "controls-position"]), t, n.createVNode(s, { modelValue: u2.number2, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => u2.number2 = e3), min: 0 == i2.moduleConfig.min ? 0 : i2.moduleConfig.min ? i2.moduleConfig.min : -1 / 0, max: 0 == i2.moduleConfig.max ? 0 : i2.moduleConfig.max ? i2.moduleConfig.max : 1 / 0, step: i2.moduleConfig.step ? i2.moduleConfig.step : 1, precision: i2.moduleConfig.precision ? i2.moduleConfig.precision : 0, "controls-position": i2.moduleConfig.position ? i2.moduleConfig.position : "", onChange: o2[3] || (o2[3] = (e3) => l.setValue()) }, null, 8, ["modelValue", "min", "max", "step", "precision", "controls-position"])]);
|
|
17
|
+
} }, emits: ["setValue"] }, [["render", function(e2, o2, i2, m, t, u) {
|
|
18
|
+
const l = n.resolveComponent("el-input-number");
|
|
19
|
+
return n.openBlock(), n.createElementBlock("div", null, [n.createVNode(l, { modelValue: t.number1, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => t.number1 = e3), min: 0 == i2.moduleConfig.min ? 0 : i2.moduleConfig.min ? i2.moduleConfig.min : -1 / 0, max: 0 == i2.moduleConfig.max ? 0 : i2.moduleConfig.max ? i2.moduleConfig.max : 1 / 0, step: i2.moduleConfig.step ? i2.moduleConfig.step : 1, precision: i2.moduleConfig.precision ? i2.moduleConfig.precision : 0, "controls-position": i2.moduleConfig.position ? i2.moduleConfig.position : "", onChange: o2[1] || (o2[1] = (e3) => u.setValue()) }, null, 8, ["modelValue", "min", "max", "step", "precision", "controls-position"]), o2[4] || (o2[4] = n.createElementVNode("span", null, "---", -1)), n.createVNode(l, { modelValue: t.number2, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => t.number2 = e3), min: 0 == i2.moduleConfig.min ? 0 : i2.moduleConfig.min ? i2.moduleConfig.min : -1 / 0, max: 0 == i2.moduleConfig.max ? 0 : i2.moduleConfig.max ? i2.moduleConfig.max : 1 / 0, step: i2.moduleConfig.step ? i2.moduleConfig.step : 1, precision: i2.moduleConfig.precision ? i2.moduleConfig.precision : 0, "controls-position": i2.moduleConfig.position ? i2.moduleConfig.position : "", onChange: o2[3] || (o2[3] = (e3) => u.setValue()) }, null, 8, ["modelValue", "min", "max", "step", "precision", "controls-position"])]);
|
|
20
20
|
}]]);
|
|
21
|
-
module.exports =
|
|
21
|
+
module.exports = i;
|
|
@@ -1078,6 +1078,6 @@ const E = require("../../_virtual/_plugin-vue_export-helper.cjs"), $ = { compone
|
|
|
1078
1078
|
const N = E($, [["render", function(e2, t2, i2, o2, a2, s2) {
|
|
1079
1079
|
var _a, _b, _c, _d;
|
|
1080
1080
|
const r2 = O.resolveComponent("search-form"), n2 = O.resolveComponent("el-button"), l2 = O.resolveComponent("el-option"), h2 = O.resolveComponent("el-select"), d2 = O.resolveComponent("search-form-dialog"), c2 = O.resolveComponent("MobileCard"), p2 = O.resolveComponent("row-detail"), u2 = O.resolveComponent("el-table"), g2 = O.resolveComponent("el-icon-setting"), m2 = O.resolveComponent("el-icon-refresh"), b2 = O.resolveComponent("el-pagination"), f2 = O.resolveComponent("columns-config"), C2 = O.resolveComponent("header-context-menu"), S2 = O.resolveComponent("row-form"), w2 = O.resolveDirective("resize");
|
|
1081
|
-
return O.withDirectives((O.openBlock(), O.createElementBlock("div", { "data-v": "1.0.0", class: "super-grid-main-view", style: O.normalizeStyle(a2.subTableStyle), onClick: t2[11] || (t2[11] = (...t3) => e2.onClickTableMain && e2.onClickTableMain(...t3)) }, [(a2.isFormSubTable && a2.isMobile && a2.isHasSearchColumn && a2.query && ("embedded" === a2.query.showType || "popup" === a2.query.showType) || !a2.isFormSubTable && a2.query && "embedded" === a2.query.showType) && a2.hasLoadedColumns ? O.withDirectives((O.openBlock(), O.createBlock(r2, { key: 0, ref: "sf", columns: a2.columns, code: i2.code, url: i2.url, pagination: a2.pagination, query: a2.query, "search-form-info": i2.searchFormInfo, "search-param": a2.searchFormContent, "init-search-props": a2.initSearchProps, "list-toolbar-form-data": i2.listToolbarFormData, "load-complete-query": a2.loadCompleteQuery, class: "super-grid-main-search-view", onSearch: s2.doSearch, onReset: s2.resetSearch, onOpenFold: s2.openFold, onCanShowMobileSearch: t2[0] || (t2[0] = (t3) => e2.$emit("can-show-mobile-search", i2.code)), onCloseMobileSearch: t2[1] || (t2[1] = (e3) => a2.isShowMobileSearch = false) }, null, 8, ["columns", "code", "url", "pagination", "query", "search-form-info", "search-param", "init-search-props", "list-toolbar-form-data", "load-complete-query", "onSearch", "onReset", "onOpenFold"])), [[O.vShow, !a2.isMobile || a2.isMobile && a2.isShowMobileSearch]]) : O.createCommentVNode("", true), O.createElementVNode("div", M, [O.createElementVNode("div", R, [a2.isFormSubTable && a2.isHasSearchColumn && a2.query && ("embedded" === a2.query.showType || "popup" === a2.query.showType) ? (O.openBlock(), O.createBlock(n2, { key: 0, size: "small", onClick: s2.showSubTableSearch }, { default: O.withCtx(() => [O.createTextVNode(O.toDisplayString(e2.$t("imatrixUIMessage.search")), 1)]), _: 1 }, 8, ["onClick"])) : O.createCommentVNode("", true)]), a2.isMobile && a2.orderColumns.length > 0 ? (O.openBlock(), O.createElementBlock("div", G, [O.createVNode(h2, { style: { width: "120px", "padding-right": "10px" }, placeholder: e2.$t("superGrid.orderField"), clearable: "", filterable: "", modelValue: a2.orderField, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => a2.orderField = e3), onChange: s2.sortChangeColumn }, { default: O.withCtx(() => [(O.openBlock(true), O.createElementBlock(O.Fragment, null, O.renderList(a2.orderColumns, (e3) => (O.openBlock(), O.createBlock(l2, { key: e3.prop, value: e3.prop, label: s2.getColumnLabel(e3) }, null, 8, ["value", "label"]))), 128))]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"]), O.createVNode(h2, { style: { width: "120px" }, placeholder: e2.$t("superGrid.orderType"), clearable: "", modelValue: a2.orderType, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => a2.orderType = e3), onChange: s2.sortChangeType }, { default: O.withCtx(() => [O.createVNode(l2, { value: "ascending", label: e2.$t("superGrid.orderTypeAsc") }, null, 8, ["label"]), O.createVNode(l2, { value: "descending", label: e2.$t("superGrid.orderTypeDesc") }, null, 8, ["label"])]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"])])) : O.createCommentVNode("", true)]), a2.hasLoadedColumns ? (O.openBlock(), O.createBlock(d2, { key: 1, ref: "sfDialog", columns: a2.columns, code: i2.code, url: i2.url, pagination: a2.pagination, query: a2.query, "search-form-info": i2.searchFormInfo, "search-param": a2.searchFormContent, "init-search-props": a2.initSearchProps, "list-toolbar-form-data": i2.listToolbarFormData, "load-complete-query": a2.loadCompleteQuery, onSearch: s2.doSearchDialog, onReset: s2.resetSearch, onClose: s2.closeSearchFormDialog }, null, 8, ["columns", "code", "url", "pagination", "query", "search-form-info", "search-param", "init-search-props", "list-toolbar-form-data", "load-complete-query", "onSearch", "onReset", "onClose"])) : O.createCommentVNode("", true), O.createElementVNode("div", { ref: "superGridMain", class: O.normalizeClass(["grid-area " + i2.code, "super-grid-main-body"]) }, [s2.isShowCard ? (O.openBlock(), O.createBlock(c2, { key: 0, selection: a2.selectionTableData, columns: s2.visibleColumns, listCode: i2.code, getColumnComponentData: s2.getColumnComponentData, data: s2.tableDatas, isEnableEdit: (_a = a2.lineEdit) == null ? void 0 : _a.editable, "current-page": a2.currentPage, "onUpdate:currentPage": t2[4] || (t2[4] = (e3) => a2.currentPage = e3), "page-size": (_c = (_b = a2.pagination) == null ? void 0 : _b.pageSizes) == null ? void 0 : _c[0], "page-total": (_d = a2.pagination) == null ? void 0 : _d.total, class: "super-grid-main-card-view", onSelect: s2.selectRecord, onSelectionChange: s2.cardSelectionChangeEvent, onCurrentChange: s2.handleCurrentChange, onRowClick: s2.rowClickEvent, onRowDblclick: s2.rowDblclickEvent }, null, 8, ["selection", "columns", "listCode", "getColumnComponentData", "data", "isEnableEdit", "current-page", "page-size", "page-total", "onSelect", "onSelectionChange", "onCurrentChange", "onRowClick", "onRowDblclick"])) : a2.refreshGrid && a2.hasLoadedColumns && !s2.isShowCard ? (O.openBlock(), O.createBlock(u2, { key: 1, ref: "superGrid", data: s2.tableDatas, "row-key": s2.getRowKeyProp, "show-summary": s2.showSummary, "summary-method": s2.getSummaries, style: O.normalizeStyle(a2.tableStyle), stripe: a2.stripe, border: true, "default-expand-all": a2.defaultExpandAll, lazy: a2.isLazy, load: s2.loadChildren, "row-style": s2.changeRowStyle, "cell-style": s2.changeCellStyle, "header-cell-style": s2.changeHeaderStyle, "highlight-current-row": true, "span-method": s2.rowSpan, "max-height": s2.hasMaxHeight, height: s2.hasTableHeight, class: O.normalizeClass([a2.tableClass, "super-grid-main-table-view"]), "tree-props": s2.getTreeProps(a2.parentProp, a2.isSql, a2.isLazy, a2.dataSourceType), "scrollbar-always-on": s2.scrollbarAlwaysOn, onSortChange: s2.handleSortChange, onSelect: s2.selectRecord, onSelectAll: s2.selectAllRecord, onSelectionChange: s2.selectionChangeEvent, onRowClick: s2.rowClickEvent, onRowDblclick: s2.rowDblclickEvent, onExpandChange: s2.expandChange, onHeaderClick: s2.headerClickEvent, onHeaderDragend: s2.changeHederWidth, onHeaderContextmenu: s2.headerContextmenu, onCellClick: s2.selectCell, onCellDblclick: e2.cellDblClick }, { default: O.withCtx(() => [a2.detailColumn ? (O.openBlock(), O.createBlock(p2, { key: 0, column: a2.detailColumn, "list-code": i2.code, onShowDetail: s2.openRowForm }, null, 8, ["column", "list-code", "onShowDetail"])) : O.createCommentVNode("", true), (O.openBlock(true), O.createElementBlock(O.Fragment, null, O.renderList(s2.visibleColumnsComponentData, ({ column: e3, ...t3 }, i3) => (O.openBlock(), O.createBlock(O.resolveDynamicComponent(s2.getComponentType(e3)), O.mergeProps({ ref_for: true, ref: e3.prop, key: e3.label + i3 }, t3.$bind, O.toHandlers(t3.$on)), null, 16))), 128))]), _: 1 }, 8, ["data", "row-key", "show-summary", "summary-method", "style", "stripe", "default-expand-all", "lazy", "load", "row-style", "cell-style", "header-cell-style", "span-method", "max-height", "height", "class", "tree-props", "scrollbar-always-on", "onSortChange", "onSelect", "onSelectAll", "onSelectionChange", "onRowClick", "onRowDblclick", "onExpandChange", "onHeaderClick", "onHeaderDragend", "onHeaderContextmenu", "onCellClick", "onCellDblclick"])) : O.createCommentVNode("", true), i2.showPagination && !s2.isShowCard ? (O.openBlock(), O.createElementBlock("div", I, [O.createElementVNode("div", H, [a2.isFormSubTable && a2.pagination && a2.isShowPage ? (O.openBlock(), O.createElementBlock("div", L)) : O.createCommentVNode("", true), a2.basicInfo.customConfig && !a2.isFormSubTable ? (O.openBlock(), O.createElementBlock("div", { key: 1, class: "el-icon-setting", title: e2.$t("superGrid.columnConfig"), onClick: t2[5] || (t2[5] = (...e3) => s2.configColumns && s2.configColumns(...e3)) }, [O.createVNode(g2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, j)) : O.createCommentVNode("", true), a2.isFormSubTable ? O.createCommentVNode("", true) : (O.openBlock(), O.createElementBlock("div", { key: 2, class: "el-icon-refresh", title: e2.$t("superGrid.refresh"), onClick: t2[6] || (t2[6] = (...e3) => s2.refreshGridData && s2.refreshGridData(...e3)) }, [O.createVNode(m2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, q))]), a2.pagination && a2.isShowPage ? (O.openBlock(), O.createBlock(b2, { key: 0, "current-page": a2.currentPage, "onUpdate:currentPage": t2[7] || (t2[7] = (e3) => a2.currentPage = e3), "page-size": a2.pagination.pageSize, "onUpdate:pageSize": t2[8] || (t2[8] = (e3) => a2.pagination.pageSize = e3), background: "", "page-sizes": a2.pagination.pageSizes, layout: a2.pagination.layout, total: a2.pagination.showTotal ? void 0 !== a2.pagination.total && "" !== a2.pagination.total && null !== a2.pagination.total ? a2.pagination.total : 0 : 1e11, onSizeChange: s2.handleSizeChange, onCurrentChange: s2.handleCurrentChange }, null, 8, ["current-page", "page-size", "page-sizes", "layout", "total", "onSizeChange", "onCurrentChange"])) : O.createCommentVNode("", true)])) : O.createCommentVNode("", true)], 2), a2.showColumnConfig ? (O.openBlock(), O.createBlock(f2, { key: 2, "visible-columns": s2.visibleColumns, "list-code": i2.code, "is-sql": a2.isSql, onClose: t2[9] || (t2[9] = (e3) => s2.closeCustomConfig(e3)), onReset: t2[10] || (t2[10] = (e3) => s2.resetCustomConfig(e3)) }, null, 8, ["visible-columns", "list-code", "is-sql"])) : O.createCommentVNode("", true), a2.showHeaderContextmenu ? (O.openBlock(), O.createBlock(C2, { key: 3, ref: "headerMenu", "buttom-arr": i2.options.rightClickMenuArr, column: a2.rightClickColumn, onClearHeaderContextmenu: s2.clearHeaderContextmenu }, null, 8, ["buttom-arr", "column", "onClearHeaderContextmenu"])) : O.createCommentVNode("", true), a2.showRowForm ? (O.openBlock(), O.createBlock(S2, { key: 4, "parent-form-data": a2.parentFormData, columns: s2.visibleColumns, "row-index": a2.currentEditRowIndex, "list-code": i2.code, "drag-column-prop": a2.dragColumnProp, "is-sql": a2.isSql, "base-url": a2.baseURL, options: i2.options, "table-name": a2.tableName, "page-code": a2.pageCode, "list-toolbar-form-data": i2.listToolbarFormData, "list-name": a2.listName, "current-page": a2.currentPage, "grid-data": a2.isSubTableShowPage ? a2.subTableData : a2.gridData, "page-grid-data": a2.isSubTableShowPage ? s2.getSubTableGridData(a2.subTableData) : a2.gridData, "line-edit": a2.lineEdit, "show-page": a2.pagination && a2.isShowPage, "page-size": a2.pagination ? a2.pagination.pageSize : null, onClose: s2.closeRowForm, onRefresData: s2.refresData, onRefresPortData: s2.refresPortData, onRefresPortsData: s2.refresPortsData, onRefresMainTableFields: s2.refresMainTableFields, onOpenPage: s2.openPageDialog, onProhibitToEdit: s2.prohibitToEdit, onRefreshList: s2.refreshList }, null, 8, ["parent-form-data", "columns", "row-index", "list-code", "drag-column-prop", "is-sql", "base-url", "options", "table-name", "page-code", "list-toolbar-form-data", "list-name", "current-page", "grid-data", "page-grid-data", "line-edit", "show-page", "page-size", "onClose", "onRefresData", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onOpenPage", "onProhibitToEdit", "onRefreshList"])) : O.createCommentVNode("", true)], 4)), [[w2, s2.onResize]]);
|
|
1081
|
+
return O.withDirectives((O.openBlock(), O.createElementBlock("div", { "data-v": "1.0.0", class: "super-grid-main-view", style: O.normalizeStyle(a2.subTableStyle), onClick: t2[11] || (t2[11] = (...t3) => e2.onClickTableMain && e2.onClickTableMain(...t3)) }, [(a2.isFormSubTable && a2.isMobile && a2.isHasSearchColumn && a2.query && ("embedded" === a2.query.showType || "popup" === a2.query.showType) || !a2.isFormSubTable && a2.query && "embedded" === a2.query.showType) && a2.hasLoadedColumns ? O.withDirectives((O.openBlock(), O.createBlock(r2, { key: 0, ref: "sf", columns: a2.columns, code: i2.code, url: i2.url, pagination: a2.pagination, query: a2.query, "search-form-info": i2.searchFormInfo, "search-param": a2.searchFormContent, "init-search-props": a2.initSearchProps, "list-toolbar-form-data": i2.listToolbarFormData, "load-complete-query": a2.loadCompleteQuery, class: "super-grid-main-search-view", onSearch: s2.doSearch, onReset: s2.resetSearch, onOpenFold: s2.openFold, onCanShowMobileSearch: t2[0] || (t2[0] = (t3) => e2.$emit("can-show-mobile-search", i2.code)), onCloseMobileSearch: t2[1] || (t2[1] = (e3) => a2.isShowMobileSearch = false) }, null, 8, ["columns", "code", "url", "pagination", "query", "search-form-info", "search-param", "init-search-props", "list-toolbar-form-data", "load-complete-query", "onSearch", "onReset", "onOpenFold"])), [[O.vShow, !a2.isMobile || a2.isMobile && a2.isShowMobileSearch]]) : O.createCommentVNode("", true), O.createElementVNode("div", M, [O.createElementVNode("div", R, [a2.isFormSubTable && a2.isHasSearchColumn && a2.query && ("embedded" === a2.query.showType || "popup" === a2.query.showType) ? (O.openBlock(), O.createBlock(n2, { key: 0, size: "small", onClick: s2.showSubTableSearch }, { default: O.withCtx(() => [O.createTextVNode(O.toDisplayString(e2.$t("imatrixUIMessage.search")), 1)]), _: 1 }, 8, ["onClick"])) : O.createCommentVNode("", true)]), a2.isMobile && a2.orderColumns.length > 0 ? (O.openBlock(), O.createElementBlock("div", G, [O.createVNode(h2, { style: { width: "120px", "padding-right": "10px" }, placeholder: e2.$t("superGrid.orderField"), clearable: "", filterable: "", modelValue: a2.orderField, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => a2.orderField = e3), onChange: s2.sortChangeColumn }, { default: O.withCtx(() => [(O.openBlock(true), O.createElementBlock(O.Fragment, null, O.renderList(a2.orderColumns, (e3) => (O.openBlock(), O.createBlock(l2, { key: e3.prop, value: e3.prop, label: s2.getColumnLabel(e3) }, null, 8, ["value", "label"]))), 128))]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"]), O.createVNode(h2, { style: { width: "120px" }, placeholder: e2.$t("superGrid.orderType"), clearable: "", modelValue: a2.orderType, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => a2.orderType = e3), onChange: s2.sortChangeType }, { default: O.withCtx(() => [O.createVNode(l2, { value: "ascending", label: e2.$t("superGrid.orderTypeAsc") }, null, 8, ["label"]), O.createVNode(l2, { value: "descending", label: e2.$t("superGrid.orderTypeDesc") }, null, 8, ["label"])]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"])])) : O.createCommentVNode("", true)]), a2.hasLoadedColumns ? (O.openBlock(), O.createBlock(d2, { key: 1, ref: "sfDialog", columns: a2.columns, code: i2.code, url: i2.url, pagination: a2.pagination, query: a2.query, "search-form-info": i2.searchFormInfo, "search-param": a2.searchFormContent, "init-search-props": a2.initSearchProps, "list-toolbar-form-data": i2.listToolbarFormData, "load-complete-query": a2.loadCompleteQuery, onSearch: s2.doSearchDialog, onReset: s2.resetSearch, onClose: s2.closeSearchFormDialog }, null, 8, ["columns", "code", "url", "pagination", "query", "search-form-info", "search-param", "init-search-props", "list-toolbar-form-data", "load-complete-query", "onSearch", "onReset", "onClose"])) : O.createCommentVNode("", true), O.createElementVNode("div", { ref: "superGridMain", class: O.normalizeClass(["grid-area " + i2.code, "super-grid-main-body"]) }, [s2.isShowCard ? (O.openBlock(), O.createBlock(c2, { key: 0, selection: a2.selectionTableData, columns: s2.visibleColumns, listCode: i2.code, getColumnComponentData: s2.getColumnComponentData, data: s2.tableDatas, isEnableEdit: (_a = a2.lineEdit) == null ? void 0 : _a.editable, "current-page": a2.currentPage, "onUpdate:currentPage": t2[4] || (t2[4] = (e3) => a2.currentPage = e3), "page-size": (_c = (_b = a2.pagination) == null ? void 0 : _b.pageSizes) == null ? void 0 : _c[0], "page-total": (_d = a2.pagination) == null ? void 0 : _d.total, class: "super-grid-main-card-view", onSelect: s2.selectRecord, onSelectionChange: s2.cardSelectionChangeEvent, onCurrentChange: s2.handleCurrentChange, onRowClick: s2.rowClickEvent, onRowDblclick: s2.rowDblclickEvent }, null, 8, ["selection", "columns", "listCode", "getColumnComponentData", "data", "isEnableEdit", "current-page", "page-size", "page-total", "onSelect", "onSelectionChange", "onCurrentChange", "onRowClick", "onRowDblclick"])) : a2.refreshGrid && a2.hasLoadedColumns && !s2.isShowCard ? (O.openBlock(), O.createBlock(u2, { key: 1, ref: "superGrid", data: s2.tableDatas, "row-key": s2.getRowKeyProp, "show-summary": s2.showSummary, "summary-method": s2.getSummaries, style: O.normalizeStyle(a2.tableStyle), stripe: a2.stripe, border: true, "default-expand-all": a2.defaultExpandAll, lazy: a2.isLazy, load: s2.loadChildren, "row-style": s2.changeRowStyle, "cell-style": s2.changeCellStyle, "header-cell-style": s2.changeHeaderStyle, "highlight-current-row": true, "span-method": s2.rowSpan, "max-height": s2.hasMaxHeight, height: s2.hasTableHeight, class: O.normalizeClass([a2.tableClass, "super-grid-main-table-view"]), "tree-props": s2.getTreeProps(a2.parentProp, a2.isSql, a2.isLazy, a2.dataSourceType), "scrollbar-always-on": s2.scrollbarAlwaysOn, onSortChange: s2.handleSortChange, onSelect: s2.selectRecord, onSelectAll: s2.selectAllRecord, onSelectionChange: s2.selectionChangeEvent, onRowClick: s2.rowClickEvent, onRowDblclick: s2.rowDblclickEvent, onExpandChange: s2.expandChange, onHeaderClick: s2.headerClickEvent, onHeaderDragend: s2.changeHederWidth, onHeaderContextmenu: s2.headerContextmenu, onCellClick: s2.selectCell, onCellDblclick: e2.cellDblClick }, { default: O.withCtx(() => [a2.detailColumn ? (O.openBlock(), O.createBlock(p2, { key: 0, column: a2.detailColumn, "list-code": i2.code, onShowDetail: s2.openRowForm }, null, 8, ["column", "list-code", "onShowDetail"])) : O.createCommentVNode("", true), (O.openBlock(true), O.createElementBlock(O.Fragment, null, O.renderList(s2.visibleColumnsComponentData, ({ column: e3, ...t3 }, i3) => (O.openBlock(), O.createBlock(O.resolveDynamicComponent(s2.getComponentType(e3)), O.mergeProps({ ref_for: true, ref: e3.prop, key: e3.label + i3 }, { ref_for: true }, t3.$bind, O.toHandlers(t3.$on)), null, 16))), 128))]), _: 1 }, 8, ["data", "row-key", "show-summary", "summary-method", "style", "stripe", "default-expand-all", "lazy", "load", "row-style", "cell-style", "header-cell-style", "span-method", "max-height", "height", "class", "tree-props", "scrollbar-always-on", "onSortChange", "onSelect", "onSelectAll", "onSelectionChange", "onRowClick", "onRowDblclick", "onExpandChange", "onHeaderClick", "onHeaderDragend", "onHeaderContextmenu", "onCellClick", "onCellDblclick"])) : O.createCommentVNode("", true), i2.showPagination && !s2.isShowCard ? (O.openBlock(), O.createElementBlock("div", I, [O.createElementVNode("div", H, [a2.isFormSubTable && a2.pagination && a2.isShowPage ? (O.openBlock(), O.createElementBlock("div", L)) : O.createCommentVNode("", true), a2.basicInfo.customConfig && !a2.isFormSubTable ? (O.openBlock(), O.createElementBlock("div", { key: 1, class: "el-icon-setting", title: e2.$t("superGrid.columnConfig"), onClick: t2[5] || (t2[5] = (...e3) => s2.configColumns && s2.configColumns(...e3)) }, [O.createVNode(g2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, j)) : O.createCommentVNode("", true), a2.isFormSubTable ? O.createCommentVNode("", true) : (O.openBlock(), O.createElementBlock("div", { key: 2, class: "el-icon-refresh", title: e2.$t("superGrid.refresh"), onClick: t2[6] || (t2[6] = (...e3) => s2.refreshGridData && s2.refreshGridData(...e3)) }, [O.createVNode(m2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, q))]), a2.pagination && a2.isShowPage ? (O.openBlock(), O.createBlock(b2, { key: 0, "current-page": a2.currentPage, "onUpdate:currentPage": t2[7] || (t2[7] = (e3) => a2.currentPage = e3), "page-size": a2.pagination.pageSize, "onUpdate:pageSize": t2[8] || (t2[8] = (e3) => a2.pagination.pageSize = e3), background: "", "page-sizes": a2.pagination.pageSizes, layout: a2.pagination.layout, total: a2.pagination.showTotal ? void 0 !== a2.pagination.total && "" !== a2.pagination.total && null !== a2.pagination.total ? a2.pagination.total : 0 : 1e11, onSizeChange: s2.handleSizeChange, onCurrentChange: s2.handleCurrentChange }, null, 8, ["current-page", "page-size", "page-sizes", "layout", "total", "onSizeChange", "onCurrentChange"])) : O.createCommentVNode("", true)])) : O.createCommentVNode("", true)], 2), a2.showColumnConfig ? (O.openBlock(), O.createBlock(f2, { key: 2, "visible-columns": s2.visibleColumns, "list-code": i2.code, "is-sql": a2.isSql, onClose: t2[9] || (t2[9] = (e3) => s2.closeCustomConfig(e3)), onReset: t2[10] || (t2[10] = (e3) => s2.resetCustomConfig(e3)) }, null, 8, ["visible-columns", "list-code", "is-sql"])) : O.createCommentVNode("", true), a2.showHeaderContextmenu ? (O.openBlock(), O.createBlock(C2, { key: 3, ref: "headerMenu", "buttom-arr": i2.options.rightClickMenuArr, column: a2.rightClickColumn, onClearHeaderContextmenu: s2.clearHeaderContextmenu }, null, 8, ["buttom-arr", "column", "onClearHeaderContextmenu"])) : O.createCommentVNode("", true), a2.showRowForm ? (O.openBlock(), O.createBlock(S2, { key: 4, "parent-form-data": a2.parentFormData, columns: s2.visibleColumns, "row-index": a2.currentEditRowIndex, "list-code": i2.code, "drag-column-prop": a2.dragColumnProp, "is-sql": a2.isSql, "base-url": a2.baseURL, options: i2.options, "table-name": a2.tableName, "page-code": a2.pageCode, "list-toolbar-form-data": i2.listToolbarFormData, "list-name": a2.listName, "current-page": a2.currentPage, "grid-data": a2.isSubTableShowPage ? a2.subTableData : a2.gridData, "page-grid-data": a2.isSubTableShowPage ? s2.getSubTableGridData(a2.subTableData) : a2.gridData, "line-edit": a2.lineEdit, "show-page": a2.pagination && a2.isShowPage, "page-size": a2.pagination ? a2.pagination.pageSize : null, onClose: s2.closeRowForm, onRefresData: s2.refresData, onRefresPortData: s2.refresPortData, onRefresPortsData: s2.refresPortsData, onRefresMainTableFields: s2.refresMainTableFields, onOpenPage: s2.openPageDialog, onProhibitToEdit: s2.prohibitToEdit, onRefreshList: s2.refreshList }, null, 8, ["parent-form-data", "columns", "row-index", "list-code", "drag-column-prop", "is-sql", "base-url", "options", "table-name", "page-code", "list-toolbar-form-data", "list-name", "current-page", "grid-data", "page-grid-data", "line-edit", "show-page", "page-size", "onClose", "onRefresData", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onOpenPage", "onProhibitToEdit", "onRefreshList"])) : O.createCommentVNode("", true)], 4)), [[w2, s2.onResize]]);
|
|
1082
1082
|
}], ["__scopeId", "data-v-664b8a45"]]);
|
|
1083
1083
|
module.exports = N;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const e = require("../../utils/gogocodeTransfer.cjs"), l = require("vue")
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.cjs"), l = require("vue");
|
|
3
|
+
const u = require("../../_virtual/_plugin-vue_export-helper.cjs")({ props: { r: { type: Number, default: null }, n: { type: Number, default: null } }, data: () => ({ number1: null, number2: null }), methods: { setValue() {
|
|
3
4
|
e.$emit(this, "setValue", [this.number1, this.number2], this.r, this.n);
|
|
4
|
-
} }, emits: ["setValue"] },
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
return l.openBlock(), l.createElementBlock("div", null, [l.createVNode(s, { modelValue: o.number1, "onUpdate:modelValue": u2[0] || (u2[0] = (e3) => o.number1 = e3), onChange: u2[1] || (u2[1] = (e3) => a.setValue()) }, null, 8, ["modelValue"]), t, l.createVNode(s, { modelValue: o.number2, "onUpdate:modelValue": u2[2] || (u2[2] = (e3) => o.number2 = e3), onChange: u2[3] || (u2[3] = (e3) => a.setValue()) }, null, 8, ["modelValue"])]);
|
|
5
|
+
} }, emits: ["setValue"] }, [["render", function(e2, u2, n, t, r, o) {
|
|
6
|
+
const a = l.resolveComponent("el-input-number");
|
|
7
|
+
return l.openBlock(), l.createElementBlock("div", null, [l.createVNode(a, { modelValue: r.number1, "onUpdate:modelValue": u2[0] || (u2[0] = (e3) => r.number1 = e3), onChange: u2[1] || (u2[1] = (e3) => o.setValue()) }, null, 8, ["modelValue"]), u2[4] || (u2[4] = l.createElementVNode("span", null, "---", -1)), l.createVNode(a, { modelValue: r.number2, "onUpdate:modelValue": u2[2] || (u2[2] = (e3) => r.number2 = e3), onChange: u2[3] || (u2[3] = (e3) => o.setValue()) }, null, 8, ["modelValue"])]);
|
|
8
8
|
}]]);
|
|
9
|
-
module.exports =
|
|
9
|
+
module.exports = u;
|
|
@@ -78,7 +78,7 @@ const i = n(s, [["render", function(e2, l2, o2, t2, a2, n2) {
|
|
|
78
78
|
const s2 = r.resolveComponent("el-date-picker"), i2 = r.resolveComponent("el-time-picker"), p = r.resolveComponent("el-option"), d = r.resolveComponent("el-select"), h = r.resolveComponent("search-form-number"), f = r.resolveComponent("el-switch"), b = r.resolveComponent("el-slider"), C = r.resolveComponent("el-rate"), N = r.resolveComponent("el-input"), y = r.resolveComponent("el-form-item"), g = r.resolveComponent("el-col"), k = r.resolveComponent("el-row"), v = r.resolveComponent("el-button"), T = r.resolveComponent("el-form");
|
|
79
79
|
return n2.searchableColumns.length > 0 ? (r.openBlock(), r.createBlock(T, { key: 0, ref: "searchForm", "label-position": o2.query.queryLabelPosition, "label-width": a2.labelWidth, model: a2.searchForm, rules: a2.rules, class: "grid-search-form", size: "default" }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(a2.rowNum, (o3) => (r.openBlock(), r.createBlock(k, { key: o3 }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.getColumnNumPerRow(o3, n2.searchableColumns.length), (t3) => (r.openBlock(), r.createBlock(g, { key: t3, span: 6, style: { "margin-bottom": "10px" } }, { default: r.withCtx(() => {
|
|
80
80
|
var _a;
|
|
81
|
-
return [r.createVNode(y, { prop: n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, "label-width": ((_a = n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].label.replace(/\\n/g, "</br>")) == null ? void 0 : _a.length) > 4 ? "100px" : "80px", style: { width: "90%" } }, { label: r.withCtx(() => [n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchLabel && "" !== n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchLabel ? (r.openBlock(), r.createElementBlock("span", { key: 0, innerHTML: n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchLabel.replace(/\\n/g, "</br>") }, null, 8, m)) : (r.openBlock(), r.createElementBlock("span", { key: 1, innerHTML: n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].label.replace(/\\n/g, "</br>") }, null, 8, u)), r.createTextVNode(": ")]), default: r.withCtx(() => ["DATE" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].dataType || "date" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(s2, { key: 0, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), type: "daterange", "unlink-panels": "", "value-format": "YYYY-MM-DD", onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 8, ["end-placeholder", "model-value", "range-separator", "start-placeholder", "style", "onInput"])) : "dateTimePicker" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(s2, { key: 1, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), type: "datetimerange", "unlink-panels": "", "value-format": "YYYY-MM-DD HH:mm:ss", onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 8, ["end-placeholder", "model-value", "range-separator", "start-placeholder", "style", "onInput"])) : "TIME" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].dataType && "timepicker" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(s2, { key: 2, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), type: "datetimerange", "unlink-panels": "", "value-format": "HH:mm:ss", onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 8, ["end-placeholder", "model-value", "range-separator", "start-placeholder", "style", "onInput"])) : "timepicker" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType && "TIME" !== n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].dataType && "DATE" !== n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].dataType ? (r.openBlock(), r.createBlock(i2, { key: 3, "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), placeholder: e2.$t("imatrixUIMessage.selectTime"), style: { width: "100%" }, type: "fixed-time", "value-format": "HH:mm:ss", onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 8, ["model-value", "placeholder", "onInput"])) : n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType && "select" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType || "BOOLEAN" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].dataType ? (r.openBlock(), r.createBlock(d, { key: 4, "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), clearable: "", onChange: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].valueSet, (e3) => (r.openBlock(), r.createBlock(p, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["model-value", "placeholder", "style", "onChange"])) : n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType && "multiselect" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(d, { key: 5, "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), clearable: "", "collapse-tags": "", multiple: "", onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].valueSet, (e3) => (r.openBlock(), r.createBlock(p, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["model-value", "placeholder", "style", "onInput"])) : n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType && "inputNumber" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(h, { key: 6, n: t3, r: o3, onSetValue: n2.setNumberValue }, null, 8, ["n", "r", "onSetValue"])) : n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType && "switch" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(f, { key: 7, "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), "active-color": "#13ce66", "inactive-color": "#ff4949", onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 8, ["model-value", "style", "onInput"])) : n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType && "slider" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(b, { key: 8, "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 8, ["model-value", "style", "onInput"])) : n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType && "rate" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(C, { key: 9, "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 8, ["model-value", "style", "onInput"])) : true === n2.customComponent(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)]) ? (r.openBlock(), r.createElementBlock("span", c, [(r.openBlock(), r.createBlock(r.resolveDynamicComponent(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentName), { ref_for: true, ref: n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentName, prop: n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, value: e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), class: "customComponent", onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 40, ["prop", "value", "onInput"]))])) : (r.openBlock(), r.createBlock(N, { key: 11, "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3), onKeyup: l2[0] || (l2[0] = r.withKeys((e3) => n2.submitForm("searchForm"), ["enter"])) }, null, 8, ["model-value", "style", "onInput"]))]), _: 2 }, 1032, ["prop", "label-width"])];
|
|
81
|
+
return [r.createVNode(y, { prop: n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, "label-width": ((_a = n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].label.replace(/\\n/g, "</br>")) == null ? void 0 : _a.length) > 4 ? "100px" : "80px", style: { width: "90%" } }, { label: r.withCtx(() => [n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchLabel && "" !== n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchLabel ? (r.openBlock(), r.createElementBlock("span", { key: 0, innerHTML: n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchLabel.replace(/\\n/g, "</br>") }, null, 8, m)) : (r.openBlock(), r.createElementBlock("span", { key: 1, innerHTML: n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].label.replace(/\\n/g, "</br>") }, null, 8, u)), l2[3] || (l2[3] = r.createTextVNode(": ", -1))]), default: r.withCtx(() => ["DATE" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].dataType || "date" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(s2, { key: 0, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), type: "daterange", "unlink-panels": "", "value-format": "YYYY-MM-DD", onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 8, ["end-placeholder", "model-value", "range-separator", "start-placeholder", "style", "onInput"])) : "dateTimePicker" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(s2, { key: 1, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), type: "datetimerange", "unlink-panels": "", "value-format": "YYYY-MM-DD HH:mm:ss", onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 8, ["end-placeholder", "model-value", "range-separator", "start-placeholder", "style", "onInput"])) : "TIME" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].dataType && "timepicker" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(s2, { key: 2, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), type: "datetimerange", "unlink-panels": "", "value-format": "HH:mm:ss", onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 8, ["end-placeholder", "model-value", "range-separator", "start-placeholder", "style", "onInput"])) : "timepicker" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType && "TIME" !== n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].dataType && "DATE" !== n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].dataType ? (r.openBlock(), r.createBlock(i2, { key: 3, "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), placeholder: e2.$t("imatrixUIMessage.selectTime"), style: { width: "100%" }, type: "fixed-time", "value-format": "HH:mm:ss", onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 8, ["model-value", "placeholder", "onInput"])) : n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType && "select" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType || "BOOLEAN" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].dataType ? (r.openBlock(), r.createBlock(d, { key: 4, "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), clearable: "", onChange: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].valueSet, (e3) => (r.openBlock(), r.createBlock(p, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["model-value", "placeholder", "style", "onChange"])) : n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType && "multiselect" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(d, { key: 5, "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), clearable: "", "collapse-tags": "", multiple: "", onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].valueSet, (e3) => (r.openBlock(), r.createBlock(p, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["model-value", "placeholder", "style", "onInput"])) : n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType && "inputNumber" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(h, { key: 6, n: t3, r: o3, onSetValue: n2.setNumberValue }, null, 8, ["n", "r", "onSetValue"])) : n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType && "switch" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(f, { key: 7, "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), "active-color": "#13ce66", "inactive-color": "#ff4949", onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 8, ["model-value", "style", "onInput"])) : n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType && "slider" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(b, { key: 8, "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 8, ["model-value", "style", "onInput"])) : n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType && "rate" === n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentType ? (r.openBlock(), r.createBlock(C, { key: 9, "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 8, ["model-value", "style", "onInput"])) : true === n2.customComponent(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)]) ? (r.openBlock(), r.createElementBlock("span", c, [(r.openBlock(), r.createBlock(r.resolveDynamicComponent(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentName), { ref_for: true, ref: n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].componentName, prop: n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, value: e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), class: "customComponent", onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3) }, null, 40, ["prop", "value", "onInput"]))])) : (r.openBlock(), r.createBlock(N, { key: 11, "model-value": e2.getFormItemValue(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop), style: r.normalizeStyle(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].searchControlWidth), onInput: (e3) => n2.setValueToModelProp(n2.searchableColumns[a2.fieldNum * (o3 - 1) + (t3 - 1)].prop, e3), onKeyup: l2[0] || (l2[0] = r.withKeys((e3) => n2.submitForm("searchForm"), ["enter"])) }, null, 8, ["model-value", "style", "onInput"]))]), _: 2 }, 1032, ["prop", "label-width"])];
|
|
82
82
|
}), _: 2 }, 1024))), 128))]), _: 2 }, 1024))), 128)), r.createVNode(k, { class: "search-btn" }, { default: r.withCtx(() => [r.createVNode(v, { loading: a2.loading, size: "default", type: "primary", onClick: l2[1] || (l2[1] = (e3) => n2.submitForm("searchForm")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["loading"]), r.createVNode(v, { loading: a2.loading, size: "default", onClick: l2[2] || (l2[2] = (e3) => n2.resetForm("searchForm")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("imatrixUIPublicModel.reset")), 1)]), _: 1 }, 8, ["loading"])]), _: 1 })]), _: 1 }, 8, ["label-position", "label-width", "model", "rules"])) : r.createCommentVNode("", true);
|
|
83
83
|
}], ["__scopeId", "data-v-04817310"]]);
|
|
84
84
|
module.exports = i;
|