super-page-runtime 2.3.47-sit1 → 2.3.47-sit2
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/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.js +29 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue2.js → buttongroup-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/dropdown/{dropdown-runtime.vue2.js → dropdown-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.js +6 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.js +21 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/column-line/{column-line-runtime.vue2.js → column-line-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/{common-homepage-search.vue2.js → common-homepage-search2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue2.js → gauge-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue2.js → pie-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue2.js → radar-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue2.js → scatter-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/{table-runtime.vue2.js → table-runtime2.vue.js} +12 -11
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue2.js → card-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/collapse/{collapse-runtime.vue2.js → collapse-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.js +27 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue2.js → YxAffix2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/flex/{flex-runtime.vue2.js → flex-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/form/{form-runtime.vue2.js → form-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/iframe/{iframe-runtime.vue2.js → iframe-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.js +96 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue2.js → tools-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/bar-code/{barcode-runtime.vue2.js → barcode-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/table/{table-runtime.vue2.js → table-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.js +135 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/checkbox/{checkbox-runtime.vue2.js → checkbox-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/custom/{custom-runtime.vue2.js → custom-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.js +102 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/{depttree-runtime.vue2.js → depttree-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/divider/{divider-runtime.vue2.js → divider-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/file-upload/{fileupload-runtime.vue2.js → fileupload-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/image-upload/{imageupload-runtime.vue2.js → imageupload-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-number/{input-number-runtime.vue2.js → input-number-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-text/{inputtext-runtime.vue2.js → inputtext-runtime2.vue.js} +6 -6
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue2.js → label-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/link/{link-runtime.vue2.js → link-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue2.js → placeholder-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/radio/{radio-runtime.vue2.js → radio-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.js +218 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/select/{select-runtime.vue2.js → select-runtime2.vue.js} +5 -5
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/{separatelabel-runtime.vue2.js → separatelabel-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/switch/{switch-runtime.vue2.js → switch-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/tag/{tag-runtime.vue2.js → tag-runtime2.vue.js} +12 -12
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.js +28 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +4 -4
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js +56 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.js +29 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.js +45 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/{pictureflow-runtime.vue2.js → pictureflow-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/{textflow-runtime.vue2.js → textflow-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue2.js → workflowbutton-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/{workflownode-runtime.vue2.js → workflownode-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/home-chart.vue.js +2 -2
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +16 -15
- package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/{super-page.vue2.js → super-page2.vue.js} +3 -3
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +85 -85
- package/package.json +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -6
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -27
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -96
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +0 -134
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -102
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -218
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +0 -45
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue2.js → common-chart-header-breadcrumb2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue2.js → common-chart-header-group2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header.vue2.js → common-chart-header2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{home-chart-condition-render.vue2.js → home-chart-condition-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column-item.vue2.js → group-column-item2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column.vue2.js → group-column2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{normal-column.vue2.js → normal-column2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination.vue2.js → table-pageination2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{event-call-component.vue2.js → event-call-component2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{export-form-report-dialog.vue2.js → export-form-report-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{file-task-notice.vue2.js → file-task-notice2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{format-file-task-notice-message.vue2.js → format-file-task-notice-message2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-dialog.vue2.js → remove-signer-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table.vue2.js → remove-signer-table2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-transactor-dialog.vue2.js → remove-transactor-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{save-chart-condition-dialog.vue2.js → save-chart-condition-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog.vue2.js → task-informition-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/data/table/{main-table-runtime.vue2.js → main-table-runtime2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/data/table/{sub-table-runtime.vue2.js → sub-table-runtime2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{error-render.vue2.js → error-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element.vue2.js → title-suffix-element2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{home-chart-render.vue2.js → home-chart-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{object-render.vue2.js → object-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{page-bottom.vue2.js → page-bottom2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/{home-chart.vue2.js → home-chart2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/{super-page-dialog.vue3.js → super-page-dialog3.vue.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as l, nextTick as o, onUnmounted as a, resolveComponent as i,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as l, nextTick as o, onUnmounted as a, resolveComponent as i, openBlock as n, createBlock as u, normalizeStyle as r, unref as p, normalizeClass as s, createSlots as f, withCtx as d, createCommentVNode as m, createElementVNode as c, toDisplayString as v } from "vue";
|
|
2
2
|
import { getVariableValue as g, setVariableValue as y } from "../../../../utils/page-helper-util.js";
|
|
3
3
|
import { handleAfterInitEvent as h, fileUploadBeforeUpload as C, fileUploadBeforeDelete as x, fileUploadUploaded as w, fileUploadDeleted as b } from "../../../../utils/events/event-util.js";
|
|
4
4
|
import k from "agilebuilder-ui/src/utils/request";
|
|
@@ -80,9 +80,9 @@ const _ = e({ __name: "imageupload-runtime", props: { pageContext: {}, configure
|
|
|
80
80
|
j.$off(H.value + "-pickFileDone");
|
|
81
81
|
}), _2({ addRequiredClass: function() {
|
|
82
82
|
O.value = P();
|
|
83
|
-
} }), (
|
|
84
|
-
const
|
|
85
|
-
return D.value.tittleShow ? (
|
|
83
|
+
} }), (t2, l2) => {
|
|
84
|
+
const o2 = i("el-form-item");
|
|
85
|
+
return D.value.tittleShow ? (n(), u(o2, { key: 0, ref_key: "formItemRef", ref: ae, required: D.value.required, class: s(p(F) + (O.value ? " " + O.value : "")), "label-width": D.value.labelWidth, style: r(p(R)) }, f({ default: d(() => [L.value ? (n(), u(p(I), { key: 0, ref_key: "fileUploadRef", ref: K, style: { width: "100%" }, accept: D.value.accept && Object.keys(D.value.accept).length > 0 ? D.value.accept : "image/*", disabled: "disabled" === D.value.state, displayType: D.value.displayType, multiple: D.value.multiple, placeholder: p(S)(D.value.placeholder), limit: D.value.limit, "limit-file-size": D.value.limitFileSize, "max-display-count": D.value.maxDisplayCount, "disabled-no-download": D.value.disabledNoDownload, openCameraOrChoosePhoto: D.value.openCameraOrChoosePhoto, "sort-type": D.value.sortType, "file-info": Q.value, "file-list": M.value, "system-code": e2.pageContext.systemCode, componentId: H.value, watermark: p(B), "on-success": te, "on-remove": le, "before-upload": X, "before-remove": ee, "on-error": Z, pageContext: e2.pageContext, "file-show-type": D.value.fileShowType }, null, 8, ["accept", "disabled", "displayType", "multiple", "placeholder", "limit", "limit-file-size", "max-display-count", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : m("", true)]), _: 2 }, [D.value.tittleShow ? { name: "label", fn: d(() => [c("div", { ref_key: "titleRef", ref: ie, style: r({ ...p(q), ...p(W) }), class: "amb-form-item-label" }, v(p(S)(D.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : L.value ? (n(), u(p(I), { key: 1, ref_key: "fileUploadRef", ref: K, style: { width: "100%" }, accept: D.value.accept, disabled: "disabled" === D.value.state, displayType: D.value.displayType, multiple: D.value.multiple, placeholder: p(S)(D.value.placeholder), limit: D.value.limit, "limit-file-size": D.value.limitFileSize, "max-display-count": D.value.maxDisplayCount, "disabled-no-download": D.value.disabledNoDownload, openCameraOrChoosePhoto: D.value.openCameraOrChoosePhoto, "sort-type": D.value.sortType, "file-info": Q.value, "file-list": M.value, "system-code": e2.pageContext.systemCode, componentId: H.value, watermark: p(B), "on-success": te, "on-remove": le, "before-upload": X, "before-remove": ee, "on-error": Z, pageContext: e2.pageContext, "file-show-type": D.value.fileShowType }, null, 8, ["accept", "disabled", "displayType", "multiple", "placeholder", "limit", "limit-file-size", "max-display-count", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : m("", true);
|
|
86
86
|
};
|
|
87
87
|
} });
|
|
88
88
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as o, nextTick as a, resolveComponent as n,
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as o, nextTick as a, resolveComponent as n, openBlock as u, createBlock as i, normalizeStyle as r, unref as s, normalizeClass as p, createSlots as m, withCtx as f, createVNode as c, createElementVNode as d, createElementBlock as v, Fragment as g, createTextVNode as y, toDisplayString as x } from "vue";
|
|
2
2
|
import { getFormModelFields as C } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { setVariableValue as b, getVariableValue as h } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { handleAfterInitEvent as R, handleFormEvent as j } from "../../../../utils/events/event-util.js";
|
|
@@ -18,9 +18,9 @@ const w = e({ __name: "input-number-runtime", props: { pageContext: {}, configur
|
|
|
18
18
|
});
|
|
19
19
|
}), w2({ addRequiredClass: function() {
|
|
20
20
|
S.value = q();
|
|
21
|
-
} }), (
|
|
22
|
-
const
|
|
23
|
-
return
|
|
21
|
+
} }), (t2, l2) => {
|
|
22
|
+
const o2 = n("el-input-number"), a2 = n("el-form-item");
|
|
23
|
+
return u(), i(a2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: p(s(F) + (S.value ? " " + S.value : "")), "label-width": W.value.labelWidth, style: r(s(E)) }, m({ default: f(() => [c(o2, { ref_key: "componentRef", ref: G, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, controls: W.value.showButton, size: W.value.size, placeholder: s(_)(W.value.placeholder), modelValue: I.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => I.value = e3), precision: W.value.precision, step: W.value.step, min: W.value.min, max: W.value.max, onChange: l2[1] || (l2[1] = (t3) => s(j)(t3, e2.pageContext, e2.configure, "change")), onBlur: l2[2] || (l2[2] = (t3) => s(j)(t3, e2.pageContext, e2.configure, "blur")), onFocus: l2[3] || (l2[3] = (t3) => s(j)(t3, e2.pageContext, e2.configure, "focus")) }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: f(() => [d("div", { ref_key: "titleRef", ref: H, style: r({ ...s(T), ...s(U) }), class: "amb-form-item-label" }, [W.value.prefixType ? (u(), i(k, { key: 0, pageContext: e2.pageContext, property: W.value }, null, 8, ["pageContext", "property"])) : (u(), v(g, { key: 1 }, [y(x(s(_)(W.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
24
24
|
};
|
|
25
25
|
} });
|
|
26
26
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, computed as t, onMounted as n, nextTick as o, onUnmounted as a, watch as u, resolveComponent as i,
|
|
1
|
+
import { defineComponent as e, ref as l, computed as t, onMounted as n, nextTick as o, onUnmounted as a, watch as u, resolveComponent as i, openBlock as r, createBlock as s, normalizeStyle as p, unref as c, normalizeClass as v, createSlots as f, withCtx as m, createVNode as y, createCommentVNode as g, createTextVNode as d, toDisplayString as x, createElementVNode as C, createElementBlock as T, Fragment as I } from "vue";
|
|
2
2
|
import { SuperIcon as k } from "agilebuilder-ui";
|
|
3
3
|
import { getFormModelFields as V } from "../../../../utils/page-init-util.js";
|
|
4
4
|
import { getModelFieldFromPageContext as w, isNumberDataType as h, setVariableValue as b, getVariableValue as _ } from "../../../../utils/page-helper-util.js";
|
|
@@ -67,12 +67,12 @@ const B = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure:
|
|
|
67
67
|
return _($, E);
|
|
68
68
|
}, setValue: ce, scanClick: fe, addRequiredClass: function() {
|
|
69
69
|
G.value = L();
|
|
70
|
-
} }), (
|
|
71
|
-
const
|
|
72
|
-
return
|
|
70
|
+
} }), (l2, t2) => {
|
|
71
|
+
const n2 = i("el-input"), o2 = i("scan-code-input-browser"), a2 = i("el-form-item");
|
|
72
|
+
return r(), s(a2, { ref_key: "formItemRef", ref: Q, required: !!ee.value.required, class: v(c(re) + (G.value ? " " + G.value : "")), "label-width": ee.value.labelWidth, style: p(c(ie)) }, f({ default: m(() => [y(n2, { ref_key: "componentRef", ref: X, disabled: "disabled" === ee.value.state, readonly: "readonly" === ee.value.state, size: ee.value.size, clearable: ee.value.clearable, placeholder: c(J)(ee.value.placeholder), maxlength: ee.value.maxLength, "show-word-limit": ee.value.showInputNum, type: A.value, modelValue: K.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => K.value = e3), onInput: t2[6] || (t2[6] = (l3) => c(j)(l3, e2.pageContext, e2.configure, "input")), onChange: t2[7] || (t2[7] = (l3) => c(j)(l3, e2.pageContext, e2.configure, "change")), onBlur: t2[8] || (t2[8] = (e3) => function(e4) {
|
|
73
73
|
let l3 = _($, E);
|
|
74
|
-
null != l3 && (l3 = l3.trim()), b($, E, l3), j(
|
|
75
|
-
}(
|
|
74
|
+
null != l3 && (l3 = l3.trim()), b($, E, l3), j(e4, F.pageContext, F.configure, "blur");
|
|
75
|
+
}(e3)), onFocus: t2[9] || (t2[9] = (l3) => c(j)(l3, e2.pageContext, e2.configure, "focus")), onClick: t2[10] || (t2[10] = (l3) => c(j)(l3, e2.pageContext, e2.configure, "click")), onClear: t2[11] || (t2[11] = (l3) => c(j)(l3, e2.pageContext, e2.configure, "clear")) }, f({ _: 2 }, ["outer" != ee.value.iconPosition && (ee.value.preIconType && ee.value.preIconValue || ee.value.preText) ? { name: "prefix", fn: m(() => [ee.value.preIconType && ee.value.preIconValue ? (r(), s(c(k), { key: 0, style: { cursor: "pointer" }, iconType: ee.value.preIconType, iconValue: ee.value.preIconValue, onClick: t2[0] || (t2[0] = (l3) => c(R)(K.value, e2.pageContext, e2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(c(J)(ee.value.preText)), 1)]), key: "0" } : void 0, "outer" == ee.value.iconPosition && (ee.value.preIconType && ee.value.preIconValue || ee.value.preText) ? { name: "prepend", fn: m(() => [ee.value.preIconType && ee.value.preIconValue ? (r(), s(c(k), { key: 0, style: { cursor: "pointer" }, iconType: ee.value.preIconType, iconValue: ee.value.preIconValue, onClick: t2[1] || (t2[1] = (l3) => c(R)(K.value, e2.pageContext, e2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(c(J)(ee.value.preText)), 1)]), key: "1" } : void 0, "outer" != ee.value.iconPosition && (ee.value.sufIconType && ee.value.sufIconValue || ee.value.sufText) ? { name: "suffix", fn: m(() => [ee.value.sufIconType && ee.value.sufIconValue ? (r(), s(c(k), { key: 0, style: { cursor: "pointer" }, iconType: ee.value.sufIconType, iconValue: ee.value.sufIconValue, onClick: t2[2] || (t2[2] = (l3) => c(R)(K.value, e2.pageContext, e2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(c(J)(ee.value.sufText)), 1)]), key: "2" } : void 0, ae.value || "outer" == ee.value.iconPosition && (ee.value.sufIconType && ee.value.sufIconValue || ee.value.sufText) ? { name: "append", fn: m(() => [ae.value ? (r(), s(c(k), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e3) => fe()) })) : g("", true), ee.value.sufIconType && ee.value.sufIconValue ? (r(), s(c(k), { key: 1, style: { cursor: "pointer" }, iconType: ee.value.sufIconType, iconValue: ee.value.sufIconValue, onClick: t2[4] || (t2[4] = (l3) => c(R)(K.value, e2.pageContext, e2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(c(J)(ee.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), ve.value ? (r(), s(o2, { key: 0, onClose: me, onCancel: t2[12] || (t2[12] = (e3) => ve.value = false) })) : g("", true)]), _: 2 }, [ee.value.tittleShow ? { name: "label", fn: m(() => [C("div", { ref_key: "titleRef", ref: Y, class: "amb-form-item-label", style: p({ ...c(se), ...c(pe) }) }, [ee.value.prefixType ? (r(), s(D, { key: 0, pageContext: e2.pageContext, property: ee.value }, null, 8, ["pageContext", "property"])) : (r(), T(I, { key: 1 }, [d(x(c(J)(ee.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
76
76
|
};
|
|
77
77
|
} });
|
|
78
78
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as u,
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as u, openBlock as i, createElementBlock as o, normalizeStyle as s, unref as p, normalizeClass as r, createElementVNode as f, toDisplayString as c, createBlock as v, createSlots as y, withCtx as g, createCommentVNode as m, createTextVNode as d } from "vue";
|
|
2
2
|
import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { getVariableValue as h, formatValueByType as w } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { SuperIcon as T } from "agilebuilder-ui";
|
|
@@ -26,9 +26,9 @@ const b = { style: { width: "100%", "text-align": "center", "font-weight": "700"
|
|
|
26
26
|
});
|
|
27
27
|
}), R2({ updateOptions: function(e3) {
|
|
28
28
|
B.value = e3 || [];
|
|
29
|
-
} }), (
|
|
30
|
-
const
|
|
31
|
-
return W.value.whetherTitle || W.value.whetherTittle ? (
|
|
29
|
+
} }), (t2, l2) => {
|
|
30
|
+
const n2 = u("el-form-item");
|
|
31
|
+
return W.value.whetherTitle || W.value.whetherTittle ? (i(), o("div", { key: 0, ref_key: "titleRef", ref: L, class: r(p(z)), style: s(p(A)) }, [f("div", b, c(p(I)(W.value.title)), 1)], 6)) : W.value.tittleShow ? (i(), v(n2, { key: 1, ref_key: "formItemRef", ref: J, required: !!W.value.required, class: r([p(z), W.value.contentAlign ? "form-item-align-" + W.value.contentAlign : "formNo" === W.value.showType ? "form-item-align-flex-end" : ""]), "label-width": W.value.labelWidth, style: s(p(A)) }, y({ default: g(() => [f("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: K, onClick: l2[0] || (l2[0] = (t3) => p(_)(t3, e2.pageContext, e2.configure, "click")) }, [f("span", V, [W.value.preIconValue || W.value.preText ? (i(), o("span", { key: 0, class: r({ "el-input__suffix": "outer" != W.value.iconPosition, "el-input-group__append": "outer" == W.value.iconPosition }), style: s(p(F)) }, [W.value.preIconType && W.value.preIconValue ? (i(), v(p(T), { key: 0, iconType: W.value.preIconType, iconValue: W.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + c(p(I)(W.value.preText)), 1)], 6)) : m("", true), d(" " + c(H.value), 1)]), W.value.sufIconValue || W.value.sufText ? (i(), o("span", { key: 0, class: r({ "el-input__suffix": "outer" != W.value.iconPosition, "el-input-group__append": "outer" == W.value.iconPosition }) }, [W.value.sufIconType && W.value.sufIconValue ? (i(), v(p(T), { key: 0, style: {}, iconType: W.value.sufIconType, iconValue: W.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : m("", true), f("span", null, " " + c(p(I)(W.value.sufText)), 1)], 2)) : m("", true)], 512)]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: g(() => [f("div", { ref_key: "titleRef", ref: L, style: s({ ...p(D), ...p(N) }) }, c(p(I)(W.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : (i(), o("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: l2[1] || (l2[1] = (t3) => p(_)(t3, e2.pageContext, e2.configure, "click")) }, [f("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: H.value }, c(W.value.prefixIcon) + " " + c(H.value), 9, j), W.value.suffixTxt ? (i(), o("span", { key: 0, class: r(p(E)), style: s(p(F)) }, c(p(I)(W.value.suffixTxt)), 7)) : m("", true)]));
|
|
32
32
|
};
|
|
33
33
|
} });
|
|
34
34
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as i, nextTick as a, resolveComponent as n,
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as i, nextTick as a, resolveComponent as n, openBlock as u, createBlock as o, normalizeStyle as r, unref as p, normalizeClass as s, createSlots as f, withCtx as c, createVNode as m, createCommentVNode as d, createTextVNode as g, toDisplayString as v, createElementVNode as y } from "vue";
|
|
2
2
|
import { getFormModelFields as b } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { getVariableValue as k } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { handleAfterInitEvent as x, handleEvent as C } from "../../../../utils/events/event-util.js";
|
|
@@ -31,9 +31,9 @@ const T = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} },
|
|
|
31
31
|
const e3 = J.value;
|
|
32
32
|
x(e3, T2.pageContext, T2.configure, { formItemRef: A.value, componentRef: B.value, titleRef: E.value, value: e3, entity: T2.pageContext.entity.data, pageData: T2.pageContext.entity.page });
|
|
33
33
|
});
|
|
34
|
-
}), (
|
|
35
|
-
const
|
|
36
|
-
return
|
|
34
|
+
}), (t2, l2) => {
|
|
35
|
+
const i2 = n("el-link"), a2 = n("el-tooltip"), b2 = n("el-form-item");
|
|
36
|
+
return u(), o(b2, { ref_key: "formItemRef", ref: A, class: s(p(I)), "label-width": S.value.labelWidth, style: r(p(V)) }, f({ default: c(() => [m(a2, { disabled: !p(z), content: p(z) }, { default: c(() => [m(i2, { ref_key: "componentRef", ref: B, disabled: "disabled" === S.value.state, type: S.value.type ? S.value.type : "primary", underline: S.value.underline, onClick: l2[0] || (l2[0] = (t3) => p(C)(t3, e2.pageContext, e2.configure, "click", { skipValidate: true })) }, { default: c(() => [$.value ? (u(), o(p(h), { key: 0, iconType: $.value.iconType, iconValue: $.value.icon }, null, 8, ["iconType", "iconValue"])) : d("", true), g(" " + v(J.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 2 }, [S.value.tittleShow ? { name: "label", fn: c(() => [y("div", { ref_key: "titleRef", ref: E, style: r({ ...p(P) }), class: "amb-form-item-label" }, v(p(_)(S.value.title)), 5)]), key: "0" } : void 0]), 1032, ["class", "label-width", "style"]);
|
|
37
37
|
};
|
|
38
38
|
} });
|
|
39
39
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as r,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as r, openBlock as l, createBlock as a, normalizeStyle as u, unref as f, normalizeClass as s, withCtx as i, createElementVNode as m } from "vue";
|
|
2
2
|
import { handleAfterInitEvent as p } from "../../../../utils/events/event-util.js";
|
|
3
3
|
const c = e({ __name: "placeholder-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
4
4
|
const c2 = e2, g = c2.configure.runtime ? c2.configure.runtime : {}, y = g.style, d = g.class, v = t(null), x = t(null);
|
|
@@ -8,7 +8,7 @@ const c = e({ __name: "placeholder-runtime", props: { pageContext: {}, configure
|
|
|
8
8
|
});
|
|
9
9
|
}), (e3, t2) => {
|
|
10
10
|
const n2 = r("el-form-item");
|
|
11
|
-
return
|
|
11
|
+
return l(), a(n2, { ref_key: "formItemRef", ref: v, class: s(f(d)), style: u(f(y)) }, { default: i(() => [m("div", { ref_key: "componentRef", ref: x, style: { width: "100%", height: "100%" } }, " ", 512)]), _: 1 }, 8, ["class", "style"]);
|
|
12
12
|
};
|
|
13
13
|
} });
|
|
14
14
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as n, onMounted as a, nextTick as u, resolveComponent as i,
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as n, onMounted as a, nextTick as u, resolveComponent as i, openBlock as r, createBlock as s, normalizeStyle as f, unref as p, normalizeClass as c, createSlots as g, withCtx as v, createVNode as d, createElementBlock as m, Fragment as h, renderList as b, createTextVNode as y, toDisplayString as C, createElementVNode as x } from "vue";
|
|
2
2
|
import { setVariableValue as k, getVariableValue as _, getOptionDatasFromPage as S, putToOptionSourceMap as R, autoSetAfterSelect as j, queryOptionDatasources as T } from "../../../../utils/page-helper-util.js";
|
|
3
3
|
import { getFormModelFields as I } from "../../../../utils/page-init-util.js";
|
|
4
4
|
import { handleFormEvent as q, handleAfterInitEvent as V } from "../../../../utils/events/event-util.js";
|
|
@@ -74,9 +74,9 @@ const O = e({ __name: "radio-runtime", props: { pageContext: {}, configure: {} }
|
|
|
74
74
|
l2.value === e3 && (t2 = t2 + l2.label + ",");
|
|
75
75
|
}), t2 = t2.slice(0, t2.length - 1)) : t2 = e3.join(","), t2;
|
|
76
76
|
}
|
|
77
|
-
} }), (
|
|
78
|
-
const
|
|
79
|
-
return
|
|
77
|
+
} }), (t2, l2) => {
|
|
78
|
+
const o2 = i("el-radio"), n2 = i("el-radio-group"), a2 = i("el-form-item");
|
|
79
|
+
return r(), s(a2, { ref_key: "formItemRef", ref: oe, required: G.value.required, class: c(p($) + (E.value ? " " + E.value : "")), "label-width": G.value.labelWidth, style: f(p(U)) }, g({ default: v(() => [d(n2, { ref_key: "componentRef", ref: ne, disabled: "disabled" === G.value.state, size: G.value.size, onChange: G.value.changeMethod, modelValue: W.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => W.value = e3) }, { default: v(() => [(r(true), m(h, null, b(H.value, (t3) => (r(), s(o2, { key: t3.value, label: t3.value, onClick: (l3) => p(q)(t3.value, e2.pageContext, e2.configure, "click", { values: W.value }) }, { default: v(() => [y(C(t3.label), 1)]), _: 2 }, 1032, ["label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 2 }, [G.value.tittleShow ? { name: "label", fn: v(() => [x("div", { ref_key: "titleRef", ref: ae, style: f({ ...p(A), ...p(B) }), class: "amb-form-item-label" }, C(p(w)(G.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
80
80
|
};
|
|
81
81
|
} });
|
|
82
82
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import t from "./richtext-
|
|
1
|
+
import t from "./richtext-runtime2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const r = e(t, [["__scopeId", "data-v-
|
|
5
|
+
const r = e(t, [["__scopeId", "data-v-89783313"]]);
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
8
8
|
};
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { defineComponent as e, ref as t, watch as r, onMounted as n, nextTick as i, onBeforeUnmount as a, resolveComponent as l, openBlock as o, createElementBlock as u, Fragment as s, createVNode as c, normalizeStyle as g, unref as d, normalizeClass as p, createSlots as m, withCtx as f, createElementVNode as h, createBlock as v, toDisplayString as x, createCommentVNode as b } from "vue";
|
|
2
|
+
import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
|
|
3
|
+
import { getSizeConfig as T, formatVariableValue as M, getVariableValue as R, setVariableValue as k } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { handleAfterInitEvent as C, handleFormEvent as P } from "../../../../utils/events/event-util.js";
|
|
5
|
+
import w from "agilebuilder-ui/src/utils/request";
|
|
6
|
+
import { $t as q } from "../../../../utils/i18n-util.js";
|
|
7
|
+
import { getBaseUrl as S, addRequiredClassUtil as A } from "../../../../utils/common-util.js";
|
|
8
|
+
import E from "quill";
|
|
9
|
+
import "quill/dist/quill.snow.css";
|
|
10
|
+
import { ElMessage as L } from "element-plus";
|
|
11
|
+
const H = { class: "toolbar-right-btns" }, F = ["title"], N = ["title"], B = { class: "richtext-statusbar" }, I = { class: "word-count" }, _ = { key: 0, class: "upload-loading" }, U = ["innerHTML"], D = e({ __name: "richtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: D2 }) {
|
|
12
|
+
const W = ["12px", "14px", "16px", "18px", "20px", "24px", "28px", "32px", "36px", "48px"], j = E.import("attributors/style/size");
|
|
13
|
+
j.whitelist = W, E.register(j, true);
|
|
14
|
+
const z = [false, "Source Han Sans CN", "SimSun", "SimHei", "Microsoft YaHei", "KaiTi", "FangSong", "Arial", "Times New Roman", "Verdana", "Georgia", "Courier New"], V = E.import("attributors/style/font");
|
|
15
|
+
V.whitelist = z, E.register(V, true);
|
|
16
|
+
const $ = e2, O = t(""), G = $.pageContext.entity ? $.pageContext.entity : {}, K = y($.pageContext, $.configure), Y = $.configure.runtime ? $.configure.runtime : {}, J = Y.style, Q = Y.class, X = Y.headerStyle, Z = Y.titleExceedStyle, ee = t(Y.props ? Y.props : {});
|
|
17
|
+
let te = T($.pageContext, $.configure);
|
|
18
|
+
te && te.fixHeight && (J.height || (J.height = te.fixHeight + "px"));
|
|
19
|
+
let re = ee.value.value;
|
|
20
|
+
const ne = M($.pageContext, re), ie = t(null);
|
|
21
|
+
let ae = null;
|
|
22
|
+
const le = t(false), oe = t(0), ue = t(false), se = t(false), ce = t("");
|
|
23
|
+
let ge = null, de = ee.value.state;
|
|
24
|
+
function pe(e3) {
|
|
25
|
+
return "readonly" == e3 || "disabled" == e3;
|
|
26
|
+
}
|
|
27
|
+
const me = pe(de), fe = t({ modules: { toolbar: [["bold", "italic", "underline", "strike"], ["blockquote", "code-block"], [{ list: "ordered" }, { list: "bullet" }], [{ script: "sub" }, { script: "super" }], [{ indent: "-1" }, { indent: "+1" }], [{ direction: "rtl" }], [{ size: W }], [{ header: [1, 2, 3, 4, 5, 6, false] }], [{ color: [] }, { background: [] }], [{ font: z }], [{ align: [] }], ["clean"], ["link", "image"]] }, theme: "snow", placeholder: me ? "" : ee.value.placeholder, readOnly: me });
|
|
28
|
+
function he() {
|
|
29
|
+
if (!(ae == null ? void 0 : ae.container)) return;
|
|
30
|
+
const e3 = ae.container.parentNode;
|
|
31
|
+
if (!e3) return;
|
|
32
|
+
const t2 = e3.getBoundingClientRect(), r2 = ae.container.getBoundingClientRect();
|
|
33
|
+
let n2 = t2.height - (r2.top - t2.top);
|
|
34
|
+
n2 -= 24, ae.container.style.height = Math.max(n2, 100) + "px";
|
|
35
|
+
}
|
|
36
|
+
r(ee.value, () => {
|
|
37
|
+
const e3 = ee.value.state;
|
|
38
|
+
if (null != e3 && e3 !== de) {
|
|
39
|
+
de = e3;
|
|
40
|
+
const t2 = pe(de);
|
|
41
|
+
ae && (ae.enable(!t2), ae.root.dataset.placeholder = t2 ? "" : ee.value.placeholder);
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
const ve = t([]), xe = t(false), be = t(null), ye = t(null), Te = t(null);
|
|
45
|
+
let Me = null;
|
|
46
|
+
function Re(e3) {
|
|
47
|
+
const t2 = e3.match(/serverPath=([^&"]+)/);
|
|
48
|
+
return t2 ? t2[1] : "";
|
|
49
|
+
}
|
|
50
|
+
function ke(e3) {
|
|
51
|
+
if (!ae) return;
|
|
52
|
+
const t2 = function(e4) {
|
|
53
|
+
if (!e4) return e4;
|
|
54
|
+
const t3 = new DOMParser().parseFromString(e4, "text/html"), r3 = $.pageContext.backendUrl, n2 = S(r3, $.pageContext.isTest);
|
|
55
|
+
t3.querySelectorAll("th").forEach((e5) => {
|
|
56
|
+
const r4 = t3.createElement("td");
|
|
57
|
+
for (const t4 of Array.from(e5.attributes)) r4.setAttribute(t4.name, t4.value);
|
|
58
|
+
r4.style.fontWeight = "bold", r4.innerHTML = e5.innerHTML, e5.replaceWith(r4);
|
|
59
|
+
}), t3.querySelectorAll("img[data-uuid]").forEach((e5) => {
|
|
60
|
+
const t4 = e5, r4 = t4.getAttribute("data-uuid");
|
|
61
|
+
r4 && t4.setAttribute("src", `${n2}/common/fs-upload/download?serverPath=${r4}&isShowWatermark=false`);
|
|
62
|
+
});
|
|
63
|
+
let i2 = t3.body.innerHTML;
|
|
64
|
+
return i2 = i2.replace(/\t/g, " "), i2 = i2.replace(/ {2}/g, " "), i2;
|
|
65
|
+
}(e3), r2 = ae.clipboard.convertHTML(t2);
|
|
66
|
+
ae.setContents(r2.ops), i(() => {
|
|
67
|
+
if (!ae) return;
|
|
68
|
+
ae.root.querySelectorAll("img").forEach((e4) => {
|
|
69
|
+
if (!e4.getAttribute("data-uuid")) {
|
|
70
|
+
const t3 = Re(e4.src);
|
|
71
|
+
t3 && e4.setAttribute("data-uuid", t3);
|
|
72
|
+
}
|
|
73
|
+
}), ae && ae.root.querySelectorAll("table").forEach((e4) => {
|
|
74
|
+
const t3 = e4.querySelector("tr");
|
|
75
|
+
t3 && t3.querySelectorAll("td").forEach((e5) => {
|
|
76
|
+
e5.querySelector("strong, b") && (e5.style.backgroundColor = "#f5f7fa");
|
|
77
|
+
});
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
const Ce = { bold: q("superPageRuntimeMessage.richTextBold"), italic: q("superPageRuntimeMessage.richTextItalic"), underline: q("superPageRuntimeMessage.richTextUnderline"), strike: q("superPageRuntimeMessage.richTextStrike"), blockquote: q("superPageRuntimeMessage.richTextBlockquote"), "code-block": q("superPageRuntimeMessage.richTextCodeBlock"), 'list[value="ordered"]': q("superPageRuntimeMessage.richTextOrderedList"), 'list[value="bullet"]': q("superPageRuntimeMessage.richTextBulletList"), 'script[value="sub"]': q("superPageRuntimeMessage.richTextSubscript"), 'script[value="super"]': q("superPageRuntimeMessage.richTextSuperscript"), 'indent[value="-1"]': q("superPageRuntimeMessage.richTextIndentDecrease"), 'indent[value="+1"]': q("superPageRuntimeMessage.richTextIndentIncrease"), 'direction[value="rtl"]': q("superPageRuntimeMessage.richTextTextDirection"), size: q("superPageRuntimeMessage.richTextFontSize"), header: q("superPageRuntimeMessage.richTextHeader"), color: q("superPageRuntimeMessage.richTextFontColor"), background: q("superPageRuntimeMessage.richTextBackgroundColor"), font: q("superPageRuntimeMessage.richTextFontFamily"), align: q("superPageRuntimeMessage.richTextAlign"), clean: q("superPageRuntimeMessage.richTextClean"), link: q("superPageRuntimeMessage.richTextLink"), image: q("superPageRuntimeMessage.richTextImage") };
|
|
82
|
+
function Pe() {
|
|
83
|
+
le.value = !le.value, i(() => {
|
|
84
|
+
!le.value && (ae == null ? void 0 : ae.container) && (ae.container.style.height = ""), he();
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
function we() {
|
|
88
|
+
ae && (ce.value = ae.root.innerHTML, se.value = true);
|
|
89
|
+
}
|
|
90
|
+
function qe() {
|
|
91
|
+
if (!ae) return void (oe.value = 0);
|
|
92
|
+
const e3 = ae.getText().trim();
|
|
93
|
+
oe.value = e3.length;
|
|
94
|
+
}
|
|
95
|
+
function Se() {
|
|
96
|
+
if (!ae) return "";
|
|
97
|
+
const e3 = ae.root.cloneNode(true);
|
|
98
|
+
return e3.querySelectorAll("img[data-uuid]").forEach((e4) => {
|
|
99
|
+
e4.getAttribute("data-uuid") && e4.removeAttribute("src");
|
|
100
|
+
}), e3.innerHTML;
|
|
101
|
+
}
|
|
102
|
+
function Ae() {
|
|
103
|
+
L.error({ message: q("superPageRuntimeMessage.richTextImageUploadFailed"), duration: 3e3 });
|
|
104
|
+
}
|
|
105
|
+
function Ee(e3) {
|
|
106
|
+
"Escape" === e3.key && le.value && (le.value = false, i(() => {
|
|
107
|
+
(ae == null ? void 0 : ae.container) && (ae.container.style.height = ""), he();
|
|
108
|
+
}));
|
|
109
|
+
}
|
|
110
|
+
function Le(e3) {
|
|
111
|
+
var _a;
|
|
112
|
+
ae && (null !== e3.relatedTarget && ((_a = ie.value) == null ? void 0 : _a.contains(e3.relatedTarget)) || P(Se(), $.pageContext, $.configure, "change", { entity: G }));
|
|
113
|
+
}
|
|
114
|
+
function He(e3) {
|
|
115
|
+
if ("img" === e3.target.localName) {
|
|
116
|
+
ve.value = [];
|
|
117
|
+
let t2 = e3.target.src;
|
|
118
|
+
ve.value.push(t2), xe.value = true;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
function Fe(e3) {
|
|
122
|
+
const t2 = new FormData();
|
|
123
|
+
t2.append("file", e3);
|
|
124
|
+
const r2 = $.pageContext.backendUrl, n2 = S(r2, $.pageContext.isTest);
|
|
125
|
+
return w.post(n2 + "/common/fs-upload/rich-editor-image", t2, { headers: { "Content-Type": "multipart/form-data" } });
|
|
126
|
+
}
|
|
127
|
+
function Ne(e3, t2) {
|
|
128
|
+
const r2 = e3.split(","), n2 = r2[0].match(/:(.*?);/), i2 = n2 ? n2[1] : "image/png", a2 = atob(r2[1]);
|
|
129
|
+
let l2 = a2.length;
|
|
130
|
+
const o2 = new Uint8Array(l2);
|
|
131
|
+
for (; l2--; ) o2[l2] = a2.charCodeAt(l2);
|
|
132
|
+
return new File([o2], t2, { type: i2 });
|
|
133
|
+
}
|
|
134
|
+
return n(() => {
|
|
135
|
+
var _a;
|
|
136
|
+
ie.value && (ae = new E(ie.value, fe.value), ae.root.style.fontSize = "16px", function() {
|
|
137
|
+
var _a2, _b;
|
|
138
|
+
const e3 = (_b = (_a2 = ie.value) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b.querySelector(".ql-toolbar");
|
|
139
|
+
if (!e3) return;
|
|
140
|
+
e3.querySelectorAll("button").forEach((e4) => {
|
|
141
|
+
const t2 = e4.className.match(/ql-([\w-]+)/);
|
|
142
|
+
if (t2) {
|
|
143
|
+
const r2 = t2[1], n2 = `${r2}[value="${e4.value}"]`;
|
|
144
|
+
Ce[n2] ? e4.setAttribute("data-tooltip", Ce[n2]) : Ce[r2] && e4.setAttribute("data-tooltip", Ce[r2]);
|
|
145
|
+
}
|
|
146
|
+
}), e3.querySelectorAll(".ql-picker").forEach((e4) => {
|
|
147
|
+
const t2 = e4.className.match(/ql-(\w+)/);
|
|
148
|
+
if (t2) {
|
|
149
|
+
const r2 = t2[1];
|
|
150
|
+
if (Ce[r2]) {
|
|
151
|
+
const t3 = e4.querySelector(".ql-picker-label");
|
|
152
|
+
t3 && t3.setAttribute("data-tooltip", Ce[r2]);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
}(), function() {
|
|
157
|
+
var _a2, _b;
|
|
158
|
+
const e3 = (_b = (_a2 = ie.value) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b.querySelector(".ql-toolbar");
|
|
159
|
+
e3 && e3.addEventListener("mousedown", (e4) => {
|
|
160
|
+
e4.preventDefault();
|
|
161
|
+
});
|
|
162
|
+
}(), ke(ne), (_a = ie.value) == null ? void 0 : _a.addEventListener("focusout", Le), ae.on("text-change", async function(e3) {
|
|
163
|
+
if (!ae) return;
|
|
164
|
+
const t2 = ae.root.getElementsByTagName("img");
|
|
165
|
+
for (const e4 of t2) if (!e4.getAttribute("data-uuid")) {
|
|
166
|
+
const t3 = Re(e4.src);
|
|
167
|
+
e4.setAttribute("data-uuid", t3);
|
|
168
|
+
}
|
|
169
|
+
if (e3.ops && e3.ops.length > 0) for (const t3 of e3.ops) {
|
|
170
|
+
const e4 = t3.insert;
|
|
171
|
+
if (e4 == null ? void 0 : e4.image) {
|
|
172
|
+
const t4 = e4.image;
|
|
173
|
+
if (!t4.startsWith("data:image")) continue;
|
|
174
|
+
try {
|
|
175
|
+
ue.value = true;
|
|
176
|
+
const e5 = Ne(t4, "image.png"), r2 = await Fe(e5);
|
|
177
|
+
if (!ae) return;
|
|
178
|
+
const n2 = ae.root.getElementsByTagName("img");
|
|
179
|
+
for (const e6 of n2) e6.src === t4 && (e6.width = 300, e6.src = r2.url, e6.setAttribute("data-uuid", r2.uuid));
|
|
180
|
+
} catch (e5) {
|
|
181
|
+
Ae();
|
|
182
|
+
} finally {
|
|
183
|
+
ue.value = false;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
!function() {
|
|
188
|
+
ge && clearTimeout(ge);
|
|
189
|
+
ge = setTimeout(() => {
|
|
190
|
+
if (!ae) return;
|
|
191
|
+
const e4 = Se();
|
|
192
|
+
k(G, K, e4), e4 && (O.value = "");
|
|
193
|
+
}, 300);
|
|
194
|
+
}(), qe();
|
|
195
|
+
}), qe(), Me = ae.container, Me.addEventListener("click", He), he(), i(() => {
|
|
196
|
+
const e3 = R(G, K);
|
|
197
|
+
C(e3, $.pageContext, $.configure, { formItemRef: be.value, componentRef: ye.value, titleRef: Te.value, value: e3, entity: $.pageContext.entity.data, pageData: $.pageContext.entity.page });
|
|
198
|
+
}));
|
|
199
|
+
}), n(() => {
|
|
200
|
+
document.addEventListener("keydown", Ee);
|
|
201
|
+
}), a(() => {
|
|
202
|
+
document.removeEventListener("keydown", Ee), ge && clearTimeout(ge), ie.value && ie.value.removeEventListener("focusout", Le), Me && Me.removeEventListener("click", He);
|
|
203
|
+
}), D2({ addRequiredClass: function() {
|
|
204
|
+
O.value = A();
|
|
205
|
+
}, setContent: function(e3) {
|
|
206
|
+
ke(e3), qe();
|
|
207
|
+
}, getContent: function() {
|
|
208
|
+
return ae ? ae.root.innerHTML : "";
|
|
209
|
+
} }), (e3, t2) => {
|
|
210
|
+
const r2 = l("View"), n2 = l("el-icon"), i2 = l("FullScreen"), a2 = l("Close"), y2 = l("el-form-item"), T2 = l("el-image-viewer"), M2 = l("el-dialog");
|
|
211
|
+
return o(), u(s, null, [c(y2, { required: ee.value.required, class: p(d(Q) + (O.value ? " " + O.value : "")), "label-width": ee.value.labelWidth, style: g(d(J)) }, m({ default: f(() => [h("div", { class: p(["richtext-wrapper", { "is-fullscreen": le.value }]) }, [h("div", { ref_key: "quillEditorRef", ref: ie, style: { width: "100%" } }, null, 512), h("div", H, [h("button", { type: "button", class: "toolbar-btn", onClick: we, title: d(q)("superPageRuntimeMessage.richTextPreview") }, [c(n2, null, { default: f(() => [c(r2)]), _: 1 })], 8, F), h("button", { type: "button", class: "toolbar-btn", onClick: Pe, title: le.value ? d(q)("superPageRuntimeMessage.richTextExitFullScreen") : d(q)("superPageRuntimeMessage.richTextFullScreenEdit") }, [le.value ? (o(), v(n2, { key: 1 }, { default: f(() => [c(a2)]), _: 1 })) : (o(), v(n2, { key: 0 }, { default: f(() => [c(i2)]), _: 1 }))], 8, N)]), h("div", B, [h("span", I, x(d(q)("superPageRuntimeMessage.richTextWordCount")) + ":" + x(oe.value), 1)]), ue.value ? (o(), u("div", _, [t2[2] || (t2[2] = h("div", { class: "loading-spinner" }, null, -1)), h("span", null, x(d(q)("superPageRuntimeMessage.richTextImageUploading")), 1)])) : b("", true)], 2)]), _: 2 }, [ee.value.tittleShow ? { name: "label", fn: f(() => [h("div", { style: g({ ...d(X), ...d(Z) }), class: "amb-form-item-label" }, x(d(q)(ee.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]), xe.value ? (o(), v(T2, { key: 0, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
|
|
212
|
+
xe.value = false;
|
|
213
|
+
}), "url-list": ve.value }, null, 8, ["url-list"])) : b("", true), c(M2, { modelValue: se.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => se.value = e4), title: d(q)("superPageRuntimeMessage.richTextContentPreview"), width: "80%", "close-on-click-modal": true, "append-to-body": true, class: "richtext-preview-dialog" }, { default: f(() => [h("div", { class: "richtext-preview-content ql-editor", innerHTML: ce.value }, null, 8, U)]), _: 1 }, 8, ["modelValue", "title"])], 64);
|
|
214
|
+
};
|
|
215
|
+
} });
|
|
216
|
+
export {
|
|
217
|
+
D as default
|
|
218
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import e from "./select-
|
|
1
|
+
import e from "./select-runtime2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = t(e, [["__scopeId", "data-v-
|
|
4
|
+
const r = t(e, [["__scopeId", "data-v-dbb21bd8"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, computed as t, watch as o, onUnmounted as a, onMounted as i, nextTick as n, resolveComponent as u,
|
|
1
|
+
import { defineComponent as e, ref as l, computed as t, watch as o, onUnmounted as a, onMounted as i, nextTick as n, resolveComponent as u, openBlock as r, createBlock as s, normalizeStyle as p, unref as c, normalizeClass as f, createSlots as v, withCtx as g, createVNode as m, createElementVNode as d, withKeys as y, withModifiers as h, createCommentVNode as b, createElementBlock as x, Fragment as C, renderList as _, toDisplayString as w, createTextVNode as S } from "vue";
|
|
2
2
|
import { setVariableValue as k, getOptionDatasFromPage as A, queryOptionDatasources as T, putToOptionSourceMap as j, autoSetAfterSelect as R, getVariableValue as P } from "../../../../utils/page-helper-util.js";
|
|
3
3
|
import { getFormModelFields as V } from "../../../../utils/page-init-util.js";
|
|
4
4
|
import { handleFormEvent as M, handleAfterInitEvent as D } from "../../../../utils/events/event-util.js";
|
|
@@ -144,10 +144,10 @@ const F = { style: { "padding-left": "5px" } }, G = { style: { width: "100%", di
|
|
|
144
144
|
X.value = z();
|
|
145
145
|
}, getSelectItemsTitle: je, getOptions: function() {
|
|
146
146
|
return fe.value;
|
|
147
|
-
} }), (
|
|
148
|
-
const
|
|
149
|
-
return
|
|
150
|
-
}, ["stop"]), ["space"])), onChange: ne.value.changeMethod, onClear: ne.value.changeMethod, onVisibleChange: Re, modelValue: ce.value, "onUpdate:modelValue":
|
|
147
|
+
} }), (l2, t2) => {
|
|
148
|
+
const o2 = u("el-icon"), a2 = u("el-option"), i2 = u("el-select"), n2 = u("el-popover"), k2 = u("el-form-item");
|
|
149
|
+
return r(), s(k2, { ref_key: "formItemRef", ref: ke, required: !!ne.value.required, class: f(c(oe) + (X.value ? " " + X.value : "")), "label-width": ne.value.labelWidth, style: p(c(te)) }, v({ default: g(() => [m(n2, { placement: "right", trigger: "hover", width: 50, "popper-class": "custom-sel-copy-tooltip", "popper-options": { modifiers: [{ name: "flip", options: { fallbackPlacements: ["left", "top", "bottom"] } }] } }, { reference: g(() => [d("div", G, [m(i2, { ref_key: "componentRef", ref: Ae, style: { flex: "1", "min-width": "0" }, disabled: "disabled" === ne.value.state, size: ne.value.size, clearable: ne.value.clearable, multiple: ne.value.multiple, "collapse-tags": ne.value.collapseTags, "collapse-tags-tooltip": ne.value.collapseTagsTooltip, filterable: ne.value.filterable, "allow-create": ne.value.allowCreate, placeholder: c(q)(ne.value.placeholder), "remote-show-suffix": ne.value.remoteShowSuffix, remote: ne.value.remote, "remote-method": ne.value.remoteMethod, loading: ge.value, onKeydown: t2[0] || (t2[0] = y(h(() => {
|
|
150
|
+
}, ["stop"]), ["space"])), onChange: ne.value.changeMethod, onClear: ne.value.changeMethod, onVisibleChange: Re, modelValue: ce.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => ce.value = e3) }, { prefix: g(() => [d("span", { class: "mobile-copy-trigger", onClick: h(Pe, ["stop"]) }, [m(o2, { style: { cursor: "copy" } }, { default: g(() => [m(c(E))]), _: 1 })])]), default: g(() => [ne.value.multiple && false !== ne.value.showSelectAll ? (r(), s(a2, { key: 0, label: c(N)("superGrid.selectAll"), value: H, disabled: !(fe.value && fe.value.length > 0) }, null, 8, ["label", "disabled"])) : b("", true), (r(true), x(C, null, _(fe.value, (l3) => (r(), s(a2, { key: l3.value, label: l3.label, value: l3.value, class: f({ "option-description-newLine": c(ue) }), onClick: (t3) => c(M)(l3.value, e2.pageContext, e2.configure, "click", { values: ce.value }) }, { default: g(() => [l3._description_ ? (r(), x(C, { key: 0 }, [c(ue) ? (r(), x("div", K, [d("span", null, w(l3.label), 1), d("span", L, w(l3._description_), 1)])) : (r(), x(C, { key: 1 }, [d("span", U, w(l3.label), 1), d("span", $, w(l3._description_), 1)], 64))], 64)) : b("", true)]), _: 2 }, 1032, ["label", "value", "class", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "onClear", "modelValue"])])]), default: g(() => [d("span", F, [m(o2, { id: se, style: { cursor: "copy" } }, { default: g(() => [m(c(E))]), _: 1 })])]), _: 1 })]), _: 2 }, [ne.value.tittleShow ? { name: "label", fn: g(() => [d("div", { ref_key: "titleRef", ref: Te, style: p({ ...c(ae), ...c(ie) }), class: "amb-form-item-label" }, [ne.value.prefixType ? (r(), s(I, { key: 0, pageContext: e2.pageContext, property: ne.value }, null, 8, ["pageContext", "property"])) : (r(), x(C, { key: 1 }, [S(w(c(q)(ne.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
151
151
|
};
|
|
152
152
|
} });
|
|
153
153
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as i, nextTick as o,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as i, nextTick as o, openBlock as n, createElementBlock as r, normalizeClass as a, unref as p, normalizeStyle as l, createElementVNode as s, createBlock as u, createCommentVNode as c, createTextVNode as g, toDisplayString as f } from "vue";
|
|
2
2
|
import { SuperIcon as m } from "agilebuilder-ui";
|
|
3
3
|
import { $t as y } from "../../../../utils/i18n-util.js";
|
|
4
4
|
import { handleAfterInitEvent as b } from "../../../../utils/events/event-util.js";
|
|
@@ -9,7 +9,7 @@ const d = e({ __name: "separatelabel-runtime", props: { pageContext: {}, configu
|
|
|
9
9
|
const e3 = y(v.configure.props.base.title);
|
|
10
10
|
b(e3, v.pageContext, v.configure, { componentRef: x.value, value: e3, entity: v.pageContext.entity.data, pageData: v.pageContext.entity.page });
|
|
11
11
|
});
|
|
12
|
-
}), d2({}), (
|
|
12
|
+
}), d2({}), (t2, i2) => (n(), r("div", { style: l(p(T)), class: a([p(V), "amb-widget-separatelabel"]), ref_key: "thisRef", ref: x }, [s("div", { class: "label", style: l(p(h)) }, [e2.configure.props.iconType && e2.configure.props.iconValue ? (n(), u(p(m), { key: 0, iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : c("", true), g(" " + f(p(y)(e2.configure.props.base.title)), 1)], 4)], 6));
|
|
13
13
|
} });
|
|
14
14
|
export {
|
|
15
15
|
d as default
|