hldesigner 0.0.241 → 0.0.243
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/{configItem-f122e2a2.js → configItem-d89ff432.js} +2 -2
- package/designer.es.js +1 -1
- package/designer.style.css +1 -1
- package/designer.umd.js +1 -1
- package/{index-34810505.js → index-20f58416.js} +1 -1
- package/{index-88122eb5.js → index-398f39d9.js} +3 -3
- package/{index-811aaf87.js → index-6f0d4d4e.js} +1 -1
- package/index-8a4be3c9.js +219 -0
- package/{index-ecf4337f.js → index-966890e2.js} +5 -5
- package/{index-523c789d.js → index-dafb7e2b.js} +3 -3
- package/{install-designer-f1cb8f5d.js → install-designer-248fa8d2.js} +1 -1
- package/package.json +1 -1
- package/{reg-editor.vue_vue_type_script_setup_true_lang-62d3bbe0.js → reg-editor.vue_vue_type_script_setup_true_lang-678762c4.js} +1 -1
- package/{target-datasource-77af09d1.js → target-datasource-b0d212a8.js} +3 -3
- package/{target-link-7350d9ab.js → target-link-34d87194.js} +3 -3
- package/{target-saveForm-dc868b1d.js → target-saveForm-0d683b6a.js} +3 -3
- package/index-a32a8cda.js +0 -219
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as N, ref as O, computed as g, resolveComponent as a, openBlock as r, createBlock as s, withCtx as l, createVNode as P, withModifiers as T, createElementBlock as d, Fragment as c, renderList as u, unref as f, createElementVNode as j, toDisplayString as A, resolveDynamicComponent as D, createCommentVNode as C } from "vue";
|
|
2
|
-
import { u as F } from "./index-
|
|
2
|
+
import { u as F } from "./index-966890e2.js";
|
|
3
3
|
import { bO as I } from "./enum-type-0b016d68.js";
|
|
4
4
|
import { j as L } from "./obj-fe2f7356.js";
|
|
5
5
|
import "./emitter-8d426aaf.js";
|
|
@@ -22,7 +22,7 @@ import "./slot-599b3ca4.js";
|
|
|
22
22
|
import "./index-da1bd5b7.js";
|
|
23
23
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
24
24
|
import "./property-base-1e14a286.js";
|
|
25
|
-
import "./install-designer-
|
|
25
|
+
import "./install-designer-248fa8d2.js";
|
|
26
26
|
import "./cont-cell-widget-ddeb949d.js";
|
|
27
27
|
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-d161f70f.js";
|
|
28
28
|
import "./share-field-1d288d89.js";
|
package/designer.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as V } from "./install-designer-
|
|
1
|
+
import { i as V } from "./install-designer-248fa8d2.js";
|
|
2
2
|
import "./index-7a2b1efd.js";
|
|
3
3
|
import "./cont-cell-widget-ddeb949d.js";
|
|
4
4
|
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-d161f70f.js";
|
package/designer.style.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@charset "UTF-8";*{margin:0;padding:0}html{height:100%;box-sizing:border-box}body{height:100%;margin:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif}input[type=password]::-ms-reveal{display:none}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);-webkit-border-radius:2em;-moz-border-radius:2em;border-radius:2em}::-webkit-scrollbar-thumb{background-color:#101f1c59;background-clip:padding-box;min-height:28px;-webkit-border-radius:2em;-moz-border-radius:2em;border-radius:2em}::-webkit-scrollbar-thumb:hover{background-color:#101f1cd9}*{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.flexJustify{flex:1;display:flex;align-items:center;justify-content:space-between}.hide-spin-button input::-webkit-outer-spin-button,.hide-spin-button input::-webkit-inner-spin-button{-webkit-appearance:none!important;-moz-appearance:none!important;-o-appearance:none!important;-ms-appearance:none!important;appearance:none!important;margin:0}.hide-spin-button input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;-o-appearance:textfield;-ms-appearance:textfield;appearance:textfield}.dot{width:10px;height:10px;border-radius:50%;display:inline-block}.green-dot{background-color:#66bc5c}.inmessage.el-form-item{margin-bottom:18px}.inmessage.el-form-item:not(.is-error){margin-bottom:10px}.PC-layout{margin:0 auto;width:100%;min-height:100%}.Pad-layout{margin:0 auto;max-width:960px;border-radius:15px;box-shadow:0 0 1px 10px #495060}.H5-layout{margin:0 auto;width:420px;border-radius:15px;box-shadow:0 0 1px 10px #495060}.design-time .containerDraggable{position:relative}.design-time .dragSize.containerDraggable{min-height:100px}.design-time .dragSize1.containerDraggable{min-height:4em}.design-time .dragSize2.containerDraggable{min-height:2em}.design-time .dragSize3.containerDraggable{min-height:2em;min-width:20em}.design-time .padSize.containerDraggable{padding:3px 0}.nolabel .el-form-item__label,.nolabel .custom-label{display:none}.marginTop10{margin-top:10px;margin-bottom:10px}.var-item{flex:1;display:flex;align-items:center;justify-content:space-between;padding-right:var(--el-font-size-base)}.var-item .var-title{color:#171a1d;font-size:12px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}.var-item .var-capsule{padding:0 6px;display:inline-block;border:1px solid var(--el-color-primary-light-9);border-radius:5px;color:var(--el-color-primary-dark-2);background-color:var(--el-color-primary-light-8)}.--hl-align-top{display:flex;align-items:start}.--hl-align-bottom{display:flex;align-content:end}.--hl-align-middle{display:flex;align-items:center}.--hl-align-left{text-align:left}.--hl-align-right{text-align:right}.--hl-align-center{text-align:center}.v-disabled{pointer-events:none;opacity:.6;user-select:none}.primary{color:var(--el-color-primary)}.info{color:var(--el-color-info)}.custom-divider{margin:5px 0;line-height:2em;background-color:var(--el-color-info-light-9);border:1px solid var(--el-color-info-light-7);border-left-width:0px;border-right-width:0px;width:100%;text-align:center;font-size:var(--el-font-size-base)}.full-height{height:100%}.full-width{width:100%}.full-height-width{height:100%;width:100%}.noscrollbar{overflow:hidden}.nomargin{margin:0}.nopadding{padding:0}.min-full-height{min-height:100%}.horialCenter{justify-content:center}.clear-fix:before,.clear-fix:after{display:table;content:""}.clear-fix:after{clear:both}.float-right{float:right}.text-align-center{text-align:center}.text-align-right{text-align:right}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.fontBold{font-weight:700}.noOverflow{overflow:hidden}.posRelative{position:relative}.posAbsolute{position:absolute}.flexInline{display:inline-flex}.alignCenter{align-items:center}.justifyEnd{justify-content:end}.bold{font-weight:700}.noOutline{outline:none}.flex1{flex:1}.flex0{flex:0}.flex-row{flex-direction:row}.flex-column{flex-direction:column}.hlhidden{display:none}.word-wrap{word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}:root{--el-color-primary: #3186CE;--el-font-size-base: 14px;--el-tabs-header-height: 40px;--el-form-label-font-size: 16px}body.designerBody{background-color:var(--el-bg-color-page)}.primary-color{color:var(--el-color-primary)}.bgWhite{background-color:var(--el-color-white)}.clWhite{color:var(--el-color-white)}.background-opacity{background:var(--el-color-primary-light-3)}.popover-footer{text-align:right;margin-top:10px}.popover-body .el-row{margin:5px}.el-form-item .el-rate{margin-top:8px}.el-form-item--medium .el-radio{line-height:36px!important}.el-form-item--medium .el-rate{margin-top:8px}.el-form-item--small .el-radio{line-height:32px!important}.el-form-item--small .el-rate{margin-top:6px}.el-form-item--mini .el-radio{line-height:28px!important}.el-form-item--mini .el-rate{margin-top:4px}.--hl-card{height:100%;display:flex;flex-direction:column}.--hl-card .el-card__body{flex:1;overflow:auto}.el-scrollbar__view{height:100%}.nopadding .el-form-item__label{padding:0}.selected{outline:1px solid var(--el-color-primary)!important;z-index:999}.field-wrapper{position:relative}.design-time .el-row{margin:2px 0}.design-time .field-wrapper{min-height:1em;min-width:1em;transition:background-color .25s ease,border-color .25s ease,transform .2s cubic-bezier(.34,1.56,.64,1)}.design-time .field-wrapper.selected .action{bottom:auto;z-index:1000;top:-22px}.design-time .field-wrapper:hover:not(:has(.content-cell)):not(:has(.field-wrapper:hover)){outline:1px dashed var(--el-color-primary)!important;background-color:var(--el-color-primary-light-9);z-index:999}.design-time .content-cell{border-collapse:separate;border-width:1px;border-style:dashed;border-color:var(--el-color-info)}.design-time .content-cell .selected .action{bottom:0px;top:auto}.design-time .content-cell.selected{border-style:solid;border-color:var(--el-color-primary);min-width:auto;overflow:hidden}.design-time .content-cell.selected .action{bottom:0px;top:auto}.design-time .content-cell:hover{border-style:solid;background-color:var(--el-color-primary-light-9)}.design-time .containerDraggable{background-color:var(--el-color-info-light-8);min-height:38px;min-width:100px}.design-time .el-input-group__append .el-button,.design-time .el-input-group__append .el-select,.design-time .el-input-group__prepend .el-button,.design-time .el-input-group__prepend .el-select{margin:0}.full-height-tab .el-collapse-item__header .collapse_title{padding-left:10px;font-weight:700;font-style:italic}.drag-option{cursor:move}.chosen{background:var(--el-color-primary-light-8)}.ghost{content:"";font-size:0;height:1px;box-sizing:border-box;background:#fff;border:2px solid var(--el-color-primary-light-3);outline-width:0;padding:0;overflow:hidden;width:100%;z-index:10}.--hl-dialog .el-dialog__body{height:calc(100% - var(--el-dialog-padding-primary) * 6)}.--hl-dialog .el-dialog__header{border-bottom:1px solid var(--el-color-info-light-5)}.--hl-dialog .el-dialog__footer{border-top:1px solid var(--el-color-info-light-5)}.el-message__content p.pLine{margin:10px 0}.full-height-tab .el-tabs__content{height:calc(100% - var(--el-tabs-header-height))}.el-form[data-v-a47ae94c] .el-row{padding:8px}.loadingLayout[data-v-a47ae94c]{min-height:100vh}.resize[data-v-bf6aa713]{align-items:center;flex-direction:column;justify-content:center;width:12px;height:100%;color:var(--el-color-info-light-3);cursor:e-resize;border-left:1px solid var(--el-color-info-light-7);border-right:1px solid var(--el-color-info-light-7)}.toolbar-header[data-v-1b2cf0fc]{height:calc(var(--el-tabs-header-height));border-bottom:2px solid var(--el-color-info-light-7)}.el-main.page-widget-main[data-v-1b2cf0fc]{overflow:hidden}.page-widget-main .el-scrollbar[data-v-1b2cf0fc]{margin:10px;height:calc(100% - var(--el-tabs-header-height) - 20px)}[data-v-b4f5fc0a] .ace-editor{min-height:calc(var(--v92b98fdc) * var(--el-font-size-base) * 2)}.--hl-dialog1.el-dialog{display:flex;flex-direction:column;margin:0!important}.--hl-dialog1.el-dialog:not(.is-fullscreen){position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);max-height:calc(100% - 200px);max-width:calc(100% - 30px)}.--hl-dialog1.el-dialog .el-dialog__body{flex:1;overflow:auto}.con-container .containerDraggable{display:flex;width:100%}[data-v-0764c56d] .formDrag{min-height:300px;background-color:transparent}.design-time div.table-container[data-v-b4d3bf11]{padding:0}.design-time table.table-layout[data-v-b4d3bf11]{width:100%;text-align:center;vertical-align:middle;border-collapse:collapse;table-layout:fixed}.design-time table.table-layout[data-v-b4d3bf11] td{min-height:48px;border:1px dashed var(--el-color-info);padding:0;display:table-cell}table.table-layout[data-v-b4d3bf11]{width:100%;text-align:center;vertical-align:middle;border-collapse:collapse;table-layout:fixed}.comp__1[data-v-0f5501af]{width:var(--v6228d629);height:var(--v6dba15b8);display:var(--v55f480cc)}.tipContent[data-v-928ea334]{display:flex;align-items:center;justify-content:center;text-align:center;position:absolute;left:0;right:0;top:0;bottom:0}.tipTopLeft[data-v-928ea334]{top:2px;left:2px}.tipBase[data-v-928ea334]{font-size:var(--el-font-size-base);color:var(--el-color-info)}.action{position:absolute;right:-1px;height:22px;line-height:22px;z-index:9;background:var(--el-color-primary)}.action i{font-size:12px;color:#fff;margin:0 3px;cursor:pointer}.action i svg{width:14px;height:14px}.action .el-dropdown{vertical-align:middle;padding:3px}.action .el-dropdown .clWhite{margin-top:-2px}.action :deep(.svg-icon){margin-left:.1em;margin-right:.1em}.svg-icon[data-v-ca7a7b14]{vertical-align:-.15em;fill:currentColor;overflow:hidden}.widget-container{display:flex;align-items:center;flex-direction:row;flex-wrap:wrap;padding:0}.widget-container .widget-item{background-color:var(--el-color-primary-light-9);width:45%;margin:5px 1.5% 5px 2.5%;list-style:none;cursor:move}.widget-container .widget-item :hover{color:var(--el-color-primary);outline:1px dashed var(--el-color-primary)}.widget-container .widget-item .widget-item-span{display:block;margin:2px;font-size:var(--el-font-size-base);padding:3px}.page-widget-container[data-v-178d69c2] .formDrag{min-height:calc(var(--v69822d11) * .8)}.page-widget-container[data-v-178d69c2]{padding:20px;overflow:hidden;border:1px solid transparent}.page-widget-container.border_selected[data-v-178d69c2]{border:1px solid var(--el-color-primary)!important}.page-widget-container .widget-form[data-v-178d69c2]{position:relative}.page-widget-container .widget-form .no-widget-hint[data-v-178d69c2]{position:absolute;left:0;right:0;top:0;bottom:0;height:var(--v69822d11);display:flex;align-items:center;justify-content:center;text-align:center;font-size:18px;color:#999}.page-widget-container .widget-form[data-v-178d69c2] .page-widget-list{margin-bottom:5px}.page-widget-container .widget-form .page-widget-list[data-v-178d69c2] .widgetList_Draggable{min-height:var(--v69822d11);background-color:transparent}.setting-form .el-form-item:not(.nomargin){padding:0 10px}.setting-form .el-form-item:not(.nomargin) .el-form-item__label{padding-right:4px}.setting-form .el-form-item:not(.nomargin) .el-radio-button .el-radio-button__inner{padding:5px 8px}.toolbar-container[data-v-cbc2f641]:after{display:block;content:"";clear:both}.left-toolbar[data-v-cbc2f641]{display:flex;margin-top:4px;float:left;font-size:16px}.right-toolbar[data-v-cbc2f641]{display:flex;float:right;line-height:42px;text-align:right;overflow:hidden}.right-toolbar .right-toolbar-con[data-v-cbc2f641]{text-align:right}.right-toolbar[data-v-cbc2f641] .el-button{margin-left:10px}.right-toolbar[data-v-cbc2f641] .el-button--text{font-size:14px!important}.right-toolbar[data-v-cbc2f641] .svg-icon{margin-left:0;margin-right:.05em}.aFormItem.el-form-item[data-v-8dbb3353]{position:relative}.aFormItem.el-form-item.is-required[data-v-8dbb3353]:not(.required) .el-form-item__label:before,.aFormItem.el-form-item.is-required[data-v-8dbb3353]:not(.required) .el-form-item__label:after{content:"";margin-left:0;margin-right:0}.aFormItem.el-form-item.asterisk-left.required[data-v-8dbb3353]:not(.is-no-asterisk) .el-form-item__label:before{content:"*";color:var(--el-color-danger);margin-right:4px}.aFormItem.el-form-item.asterisk-right.required[data-v-8dbb3353]:not(.is-no-asterisk) .el-form-item__label:after{content:"*";color:var(--el-color-danger);margin-left:4px}.aFormItem.el-form-item.labelHidden[data-v-8dbb3353] .el-form-item__label{padding:0}:deep(.label-left-align) .el-form-item__label{text-align:left;justify-content:flex-start!important}:deep(.label-center-align) .el-form-item__label{text-align:center;justify-content:center!important}:deep(.label-right-align) .el-form-item__label{text-align:right;justify-content:flex-end!important}.el-form-item:has(.label-top-align){display:block}.el-form-item__label:has(.label-top-align){display:block}.el-form-item__label:has(.label-left-align){text-align:left;justify-content:flex-start!important}.el-form-item__label:has(.label-center-align){text-align:center;justify-content:center!important}.el-form-item__label:has(.label-right-align){text-align:right;justify-content:flex-end!important}.label-wrapper{white-space:normal;word-break:break-all;text-overflow:ellipsis}.folded[data-v-381ddf01] .el-card__body{display:none}.full-width-input[data-v-d324a5f1]{width:100%!important}.dynamicPseudoAfter[data-v-d324a5f1] .el-upload.el-upload--text{color:var(--el-color-primary);font-size:12px}.dynamicPseudoAfter[data-v-d324a5f1] .el-upload.el-upload--text .el-icon-plus:after{content:var(--select-file-action)}.hideUploadDiv[data-v-d324a5f1] div.el-upload--picture-card,.hideUploadDiv[data-v-d324a5f1] div.el-upload--text,.hideUploadDiv[data-v-d324a5f1] div.el-upload__tip{display:none}.upload-file-list[data-v-d324a5f1]{font-size:12px}.upload-file-list .file-action[data-v-d324a5f1]{color:var(--el-color-primary);margin-left:5px;margin-right:5px;cursor:pointer}.ml-3[data-v-d324a5f1]{margin-left:.75rem}.el-upload-list__item-info :hover .fileOperCol[data-v-d324a5f1]{display:inline-block}.fileOperCol[data-v-d324a5f1]{display:none}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name .fileOperCol i[data-v-d324a5f1]{display:inline-block}.operCut[data-v-d324a5f1]{display:inline-block;width:10px}[data-v-f1b8d0a3] .dragSize4.containerDraggable{min-width:6em;min-height:1em}.--hcard-wrap[data-v-f1b8d0a3]{display:flex;flex-direction:row;width:100%;background:linear-gradient(to right,var(--ec5e002e),transparent);border:1px solid var(--v2cac92e2);border-radius:3px}.--hcard-wrap.always[data-v-f1b8d0a3],.--hcard-wrap.hover[data-v-f1b8d0a3]:hover{box-shadow:0 4px 6px #0000001a}.--hcard-header[data-v-f1b8d0a3]{margin-right:10px;background-color:var(--v54132f48);padding:var(--v65f725dc);border-right:1px solid var(--v2cac92e2);flex-shrink:0;align-content:center;width:var(--v47b5f784);line-height:1.5em;word-break:break-all;color:var(--e6c329dc)}.--hcard-body[data-v-f1b8d0a3]{flex:1;padding:var(--v65f725dc)}.mini-wrapper[data-v-216ff3f6]{height:0px;width:0px}.input-with-unit[data-v-3b1667ae]{display:flex;flex-direction:row;width:100%;align-items:center;overflow:hidden}.input-with-unit .el-input-number[data-v-3b1667ae]{flex:1}.input-with-unit .el-input-number[data-v-3b1667ae] .el-input__wrapper{border-radius:0;padding-left:0;padding-right:0}.unit[data-v-3b1667ae]{display:inline-block;min-width:2em;padding:0 .5em;text-align:center;background-color:var(--el-fill-color-light);color:var(--el-text-color-regular);box-shadow:0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset}.input-with-unit:has(.el-input.is-disabled) .unit[data-v-3b1667ae]{color:var(--el-text-color-disabled)}.multiRowLine[data-v-25a8b248]{margin-top:8px;margin-bottom:8px}.multiRowLine .rowHeader[data-v-25a8b248]{margin-bottom:6px}.detailTable[data-v-25a8b248]{margin:10px 0;background-color:var(--el-fill-color-extra-light);border:1px dashed var(--el-border-color)}.rowLabel[data-v-25a8b248]{font-size:var(--el-form-label-font-size);color:#0f0f0f}.row_bottom[data-v-25a8b248]{margin:10px 0;text-align:center}.table2[data-v-25a8b248]{width:100%;border-collapse:collapse}.table2.borderedTable thead th[data-v-25a8b248],.table2.borderedTable thead td[data-v-25a8b248],.table2.borderedTable thead[data-v-25a8b248] .td2,.table2.borderedTable tbody th[data-v-25a8b248],.table2.borderedTable tbody td[data-v-25a8b248],.table2.borderedTable tbody[data-v-25a8b248] .td2{border-color:var(--el-border-color-lighter)}.table2 th[data-v-25a8b248]{background-color:var(--el-color-info-light-9);font-size:var(--el-font-size-base)}.table2 th[data-v-25a8b248],.table2 td[data-v-25a8b248],.table2[data-v-25a8b248] .td2{padding:10px;border:1px solid transparent;display:table-cell!important}.table2 .required[data-v-25a8b248]:before{content:"*";color:var(--el-color-danger)}.table2 .btns[data-v-25a8b248]{min-width:8em;text-align:right}.table2 .rowIndex[data-v-25a8b248]{text-align:center;min-width:3em;color:var(--el-text-color-primary);font-size:var(--el-font-size-base)}.table2 thead[data-v-25a8b248]{color:var(--el-text-color-secondary)}.table2 tr.tr2[data-v-25a8b248]:hover{background-color:var(--el-color-info-light-9)}.table2 tfoot th[data-v-25a8b248],.table2 tfoot td[data-v-25a8b248],.table2 tfoot[data-v-25a8b248] .td2{border-color:transparent}.hideUploadDiv[data-v-71004479] div.el-upload--picture-card,.hideUploadDiv[data-v-71004479] div.el-upload--text,.hideUploadDiv[data-v-71004479] div.el-upload__tip{display:none}.uploader-icon[data-v-71004479]{height:100%;display:flex;color:#8c939d;font-size:28px;justify-content:center;align-items:center}.ml-3[data-v-71004479]{margin-left:.75rem}.vertical-progress-wrapper[data-v-f939f453]{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;position:relative}.progress-track[data-v-f939f453]{height:100%;border-radius:8px;overflow:hidden;position:relative;background-color:var(--el-border-color-lighter)}.progress-bar[data-v-f939f453]{width:100%;position:absolute;bottom:0;left:0;transition:height .5s ease;border-radius:8px;background-color:var(--el-color-primary)}.progress-text[data-v-f939f453]{margin-top:8px;font-size:14px;color:#606266}.design-time .dragSize3.containerDraggable{min-width:30%!important}.input-with-unit[data-v-6e1908dc]{display:flex;flex-direction:row;width:100%;align-content:center}.input-with-unit .title[data-v-6e1908dc]{display:inline-block}.input-with-unit .inputer[data-v-6e1908dc]{flex:1}.input-with-unit .inputer[data-v-6e1908dc] .el-input{width:100%}.input-with-unit .inputer[data-v-6e1908dc] .el-input .el-input__wrapper{border-radius:0}.input-with-unit:has(.inmessage) .unit[data-v-6e1908dc]{margin-bottom:10px}.input-with-unit .unit[data-v-6e1908dc]{display:inline-block;min-width:5em;height:32px;text-align:center;background-color:var(--el-color-info-light-9);color:var(--el-text-color-regular);box-shadow:0 0 0 1px var(--el-border-color) inset}.input-with-unit .split[data-v-6e1908dc]{display:inline-block;padding:0 10px}.ql-counter{text-align:right;padding-right:5px}.ql-editor{min-height:300px}.p-2[data-v-ca4dc69a]{padding:.5rem}.gap-2[data-v-ca4dc69a],[gap-2=""][data-v-ca4dc69a]{gap:.5rem}.items-center[data-v-ca4dc69a]{align-items:center}.flex-col[data-v-ca4dc69a]{flex-direction:column}.flex[data-v-ca4dc69a]{display:flex}.custom-block.tip[data-v-66ddc885]{padding:8px 16px;background-color:rgba(var(--el-color-primary-rgb),.1);border-radius:4px;border-left:5px solid var(--el-color-primary);margin:20px 0}.custom-block .custom-block-title[data-v-66ddc885]{font-weight:700}p[data-v-66ddc885]:first-child{margin-top:0}.multiRowLine[data-v-03255958]{margin-top:8px;margin-bottom:8px}.multiRowLine .rowHeader[data-v-03255958]{margin-bottom:6px}.multiRowTable .rowHeader[data-v-03255958]{background-color:var(--el-color-info-light-8);padding:7px 0}.multiRowTable .el-tr[data-v-03255958]{border-collapse:collapse;border-bottom:1px solid var(--el-color-info-light-8);margin:2px 0}.multiRowTable .rowindex[data-v-03255958]{width:5%}.multiRowTable .content[data-v-03255958]{width:75%}.multiRowTable .operate[data-v-03255958]{width:18%}.multiRowTable[data-v-03255958] .el-td-wrapper{margin:2px 4px}.multiRowTable .el-td[data-v-03255958]{align-items:center}.multiRowTable .el-row[data-v-03255958]:not(.detailTable) .containerDraggable{display:flex}.multiRowTable[data-v-03255958] .el-form-item{display:flex;margin-left:4px;margin-right:4px}.multiRowTable .required[data-v-03255958]:before{content:"*";color:var(--el-color-danger)}.s-canvas[data-v-10737829]{cursor:pointer;text-align:right}.el-popper.popOverClass .popover-body{width:300px}.el-popper.popOverClass:has(.ace-container) .popover-body{width:40vw}.el-popper.popOverClass:has(.ace-container) .popover-body .ace-container{width:99.3%;border:1px solid var(--el-border-color)}.el-drawer.drawerClass{border:1px solid var(--el-border-color);border-right:10px solid var(--el-border-color);box-shadow:none}.dialog-class{display:flex;flex-direction:column;border-radius:10px;margin:0!important;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);min-height:30%;max-height:calc(100% - 100px);max-width:calc(100% - 30px)}.dialog-class .el-dialog__body{flex:1;overflow:auto}.dialog-class .el-dialog__footer{border-top:1px solid var(--el-border-color)}.border[data-v-48bef0ee]{border:1px solid var(--el-border-color)}.st-btn[data-v-48bef0ee]{margin:5px 0}.ruleFormItem[data-v-03a84fbe]{margin-bottom:18px}.el-form-item.commonFormItem .el-form-item__content{justify-content:end;flex-wrap:inherit}.commonFormItem:has(.flexWrap){display:block}.commonFormItem .el-form-item__content:has(.flexWrap){flex-wrap:wrap}.commonFormItem{margin-bottom:4px}.commonFormItem .el-range-editor{width:89%}[data-v-6f08b1ee] .el-color-picker__trigger{border-width:0px}[data-v-6f08b1ee] .el-input-group__prepend{padding:0}[data-v-6f08b1ee] .el-color-picker__icon{display:none}.flex-wrapper[data-v-12dcba4d]{justify-content:space-between;width:100%}.flex-item[data-v-12dcba4d]{flex-grow:1}.flex-item.el-radio-button[data-v-12dcba4d] .el-radio-button__inner{display:block}.hl-input-text[data-v-c44ac24d]{display:block;color:#0009;font-size:12px;line-height:36px;height:36px;opacity:.6;cursor:text;text-align:center}.hl-input-text[data-v-c44ac24d]:hover{text-decoration:underline}.readonly[data-v-c44ac24d] .el-input__wrapper{box-shadow:0 0 0 0 var(--el-input-border-color, var(--el-border-color)) inset;background-color:transparent;padding:0}.readonly.primary[data-v-c44ac24d] .el-input__inner{color:var(--el-color-primary)}.readonly.info[data-v-c44ac24d] .el-input__inner{color:var(--el-color-info)}[data-v-c44ac24d] .el-input__inner{text-align:center}.hl-handle[data-v-bc109a82]{position:absolute;display:block;font-size:0;border:14px solid transparent;box-sizing:border-box;opacity:.8;text-align:center}.hl-handle-right[data-v-bc109a82]{width:0;bottom:2px;top:2px;cursor:col-resize}.hl-handle-top[data-v-bc109a82],.hl-handle-bottom[data-v-bc109a82]{height:0;left:2px;right:2px;cursor:row-resize}.hl-handle-left[data-v-bc109a82]{width:0;bottom:2px;top:2px;cursor:col-resize}.hl-handle-top-border[data-v-bc109a82]{top:0;border-top-color:#0000004d;border-bottom-width:0}.hl-handle-top-border .svg-icon[data-v-bc109a82]{position:absolute;top:-15px;left:50%;margin-left:-8px}.hl-handle-right-border[data-v-bc109a82]{right:0;border-right-color:#0000004d;border-left-width:0}.hl-handle-right-border .svg-icon[data-v-bc109a82]{position:absolute;top:50%;margin-top:-8px}.hl-handle-left-border .svg-icon[data-v-bc109a82]{position:absolute;top:50%;left:-16px;margin-top:-8px}.hl-handle-bottom-border[data-v-bc109a82]{bottom:0;border-bottom-color:#0000004d;border-top-width:0}.hl-handle-left-border[data-v-bc109a82]{left:0;border-left-color:#0000004d;border-right-width:0}.hl-border-desp[data-v-bc109a82]{position:absolute;left:3px;top:-8px;font-size:12px;text-transform:uppercase;transform-origin:left;transform:scale(.6);pointer-events:none}.hl-layout-box[data-v-bc109a82]{position:absolute;top:0px;right:0px;left:0px;bottom:0px}.hl-margin-padding[data-v-bc109a82]{width:190px;height:147px;margin:55px auto;position:relative}.hl-padding-box[data-v-bc109a82]{top:18px;bottom:18px;left:18px;right:18px}.hl-input-h[data-v-bc109a82]{display:inline-block;left:50%;height:16px;margin-left:-20px;text-align:center}.hl-input-v[data-v-bc109a82]{top:50%;margin-top:-20px}.hl-inline-input[data-v-bc109a82]{position:absolute;width:50px}.hl-margin-box .hl-input-right[data-v-bc109a82]{right:-50px}.hl-margin-box .hl-input-left[data-v-bc109a82]{left:-50px}.hl-margin-box .hl-input-top[data-v-bc109a82]{top:-35px}.hl-margin-box .hl-input-bottom[data-v-bc109a82]{bottom:-15px}.hl-padding-box .hl-input-right[data-v-bc109a82]{right:20px}.hl-padding-box .hl-input-left[data-v-bc109a82]{left:20px}.hl-padding-box .hl-input-top[data-v-bc109a82]{top:15px}.hl-padding-box .hl-input-bottom[data-v-bc109a82]{bottom:35px}.hl-input-wrapper[data-v-bc109a82]{display:inline-block;width:60%;margin:0 auto}.vs-style-border-style[data-v-11351887]{display:flex;margin-top:5px;border:1px solid rgba(0,0,0,.1)}.vs-style-border-setter-left-pane[data-v-11351887]{align-items:center;justify-content:space-around;display:flex}.vs-style-border-setter-right-pane[data-v-11351887]{flex-direction:column;align-items:center;justify-content:center;width:60%;margin-left:10%}.vs-style-border-setter-left-pane[data-v-11351887]{width:30%}.vs-style-border-col[data-v-11351887]{margin:-6px;padding:5px;border-radius:2px;text-align:center;cursor:pointer;background:transparent}.vs-style-border-selected[data-v-11351887]{background:linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.2))}.vs-style-border-radius[data-v-a30672a7]{display:flex;margin-top:5px;border:1px solid rgba(0,0,0,.1)}.vs-style-border-setter-left-pane[data-v-a30672a7]{align-items:center;justify-content:space-around;display:flex}.vs-style-border-setter-right-pane[data-v-a30672a7]{flex-direction:column;align-items:center;justify-content:center;width:60%;margin-left:10%}.vs-style-border-radius .vs-style-border-setter-left-pane[data-v-a30672a7]{width:30%}.vs-style-border-col[data-v-a30672a7]{margin:6px;padding:5px;border-radius:2px;text-align:center;cursor:pointer;background:transparent}.vs-style-border-selected[data-v-a30672a7]{background:linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.2))}[data-v-14057d21] .el-color-picker__trigger{border-width:0px}[data-v-14057d21] .el-input-group__prepend{padding:0}[data-v-14057d21] .el-color-picker__icon{display:none}.primary[data-v-3eb71029]{color:var(--el-color-primary)}.info[data-v-3eb71029]{color:var(--el-color-info)}.divider[data-v-3ebc5d47]{height:3px}.row[data-v-3c8fe652]{margin:10px auto;display:flex;justify-content:space-between}.row_input[data-v-3c8fe652]{width:140px}.hl-page-bk[data-v-051110ee]{background-color:gray;padding:20px 0}.hl-page-bk .hl-page-a4[data-v-051110ee]{width:795px;margin:0 auto;background-color:transparent;min-height:800px}.varTitle[data-v-8e40938c]{font-weight:700;height:1.5em}.varCell[data-v-8e40938c]{border:1px solid var(--el-color-info-light-8);width:100%;border-radius:4px;height:calc(100% - 1.5em);display:flex}.cellRow[data-v-8e40938c]{flex-direction:row}.cellRow .splitCell[data-v-8e40938c]{flex-basis:50%}.cellRow .splitCell[data-v-8e40938c]:last-child{border-left:1px solid var(--el-color-info-light-8)}.cellColumn[data-v-8e40938c]{flex-direction:column}.cellColumn .splitCell[data-v-8e40938c]{height:33.3333333333%}.cellColumn .splitCell[data-v-8e40938c]:last-child{border-top:1px solid var(--el-color-info-light-8)}.varTitle[data-v-3e1123ce]{font-weight:700;height:1.5em}.varCell1[data-v-3e1123ce]{border:1px solid var(--el-color-info-light-8);width:100%;border-radius:4px}.varCell[data-v-3e1123ce]{height:calc(var(--v7167ca61) - 1.2em);overflow:hidden;display:flex}.cellRow[data-v-3e1123ce]{flex-direction:row}.cellRow .splitCell[data-v-3e1123ce]{flex-basis:50%}.cellRow .splitCell[data-v-3e1123ce]:last-child{border-left:1px solid var(--el-color-info-light-8)}.cellColumn[data-v-3e1123ce]{flex-direction:column}.cellColumn .splitCell[data-v-3e1123ce]{height:33.3333333333%}.cellColumn .splitCell[data-v-3e1123ce]:last-child{border-top:1px solid var(--el-color-info-light-8)}.card-search[data-v-3e1123ce]{width:98%;margin:5px auto}.card-tree[data-v-3e1123ce]{height:calc(var(--v7167ca61) * .8);overflow-y:scroll}.page[data-v-c780c70e]{overflow:hidden;height:calc(100% - 18px);width:calc(100% - 18px);padding-top:9px;padding-left:9px}.header[data-v-c780c70e]{height:20%}.header .card[data-v-c780c70e]{height:calc(var(--v0c79b261) * .3)}.header .card .card_body[data-v-c780c70e]{height:calc(var(--v0c79b261) * .3 - (var(--el-font-size-base) + 27px + 3px))}.main[data-v-c780c70e]{height:calc(var(--v0c79b261) * .7 - 30px - 1px);margin:10px 0}.main .card[data-v-c780c70e]{height:calc(var(--v0c79b261) * .7 - 30px - 1px)}.main .card .card_body[data-v-c780c70e]{height:calc(var(--v0c79b261) * .7 - 30px - 1px - (var(--el-font-size-base) + 27px + 3px))}.card[data-v-c780c70e]{background-color:var(--el-bg-color);border-radius:6px;border:1px solid var(--el-color-info-light-8)}.card_header[data-v-c780c70e]{height:calc(var(--el-font-size-base) + 18px);font-size:var(--el-font-size-base);border-bottom:1px solid var(--el-color-info-light-8);font-weight:700}.card_header span[data-v-c780c70e]{display:block;margin:9px}.card_body[data-v-c780c70e]{overflow-y:auto;font-size:var(--el-font-size-base)}.card_body .text[data-v-c780c70e]{padding:9px;color:var(--el-color-info)}.card-search[data-v-c780c70e]{width:98%;margin:5px auto}[data-v-c780c70e] .cm-func{color:var(--el-color-danger-dark-2);font-weight:700}[data-v-58d91d7e] .cm-editor .cm-func{font-weight:700;color:var(--el-color-danger-dark-2);line-height:14px;margin:0 1px;padding:0 2px}[data-v-58d91d7e] .cm-editor .cm-field{background:var(--el-color-primary-dark-2);padding:3px 5px;border-radius:3px;color:#fff;margin:0 1px}[data-v-58d91d7e] .cm-editor .cm-var{font-weight:700;color:var(--el-color-success-dark-2);line-height:14px;margin:0 1px;padding:0 2px}[data-v-58d91d7e] .cm-editor.cm-focused{outline:0px solid black}[data-v-58d91d7e] .cm-gutters{display:var(--v0e6bbccc)}.varTitle[data-v-6079e32d]{font-weight:700;height:1.5em}.varCell[data-v-6079e32d]{border:1px solid var(--el-color-info-light-8);width:100%;border-radius:4px;height:calc(100% - 1.5em);display:flex}.cellRow[data-v-6079e32d]{flex-direction:row}.cellRow .splitCell[data-v-6079e32d]{flex-basis:50%}.cellRow .splitCell[data-v-6079e32d]:last-child{border-left:1px solid var(--el-color-info-light-8)}.cellColumn[data-v-6079e32d]{flex-direction:column}.cellColumn .splitCell[data-v-6079e32d]{height:50%}.cellColumn .splitCell[data-v-6079e32d]:last-child{border-top:1px solid var(--el-color-info-light-8)}.varTitle[data-v-3be8c897]{font-weight:700;height:1.5em}.varCell[data-v-3be8c897]{border:1px solid var(--el-color-info-light-8);width:100%;border-radius:4px;height:calc(100% - 1.5em);display:flex}.cellRow[data-v-3be8c897]{flex-direction:row}.cellRow .splitCell[data-v-3be8c897]{flex-basis:50%}.cellRow .splitCell[data-v-3be8c897]:last-child{border-left:1px solid var(--el-color-info-light-8)}.cellColumn[data-v-3be8c897]{flex-direction:column}.cellColumn .splitCell[data-v-3be8c897]{height:33.3333333333%}.cellColumn .splitCell[data-v-3be8c897]:last-child{border-top:1px solid var(--el-color-info-light-8)}.row[data-v-9b734bb4]{border-collapse:collapse}.row .col[data-v-9b734bb4]{border:1px solid var(--el-border-color);padding:10px}.el-alert__content{width:100%}.el-alert__content .el-alert__description{width:100%;display:flex;justify-content:space-between}.el-alert__content .el-alert__description .el-text,.el-alert__content .el-alert__description .el-link{display:inline-flex;flex-direction:row}.flexJustify .el-button.is-link{padding:0}.flexJustify .el-button+.el-button{margin-left:2px}.flexJustify .buttonWrapper:first-child{margin-left:20px}.flexJustify .buttonWrapper:last-child{margin-right:5px}[data-v-6590a033] .fieldWrapper{margin:1px 0}[data-v-6590a033] .fieldWrapper .el-row{border:1px solid var(--el-border-color);border-radius:2px;padding-left:5px;padding-right:5px;align-items:center;margin:1px 0}[data-v-6590a033] .fieldWrapper .el-row label.el-radio{display:flex;align-items:center}[data-v-6590a033] .fieldWrapper .el-row .firstNode{margin-left:5px}/*!
|
|
1
|
+
@charset "UTF-8";*{margin:0;padding:0}html{height:100%;box-sizing:border-box}body{height:100%;margin:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif}input[type=password]::-ms-reveal{display:none}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{width:8px;background:rgba(16,31,28,.1);-webkit-border-radius:2em;-moz-border-radius:2em;border-radius:2em}::-webkit-scrollbar-thumb{background-color:#101f1c59;background-clip:padding-box;min-height:28px;-webkit-border-radius:2em;-moz-border-radius:2em;border-radius:2em}::-webkit-scrollbar-thumb:hover{background-color:#101f1cd9}*{scrollbar-color:#e5e5e5 #f7f7f9;scrollbar-width:thin}.flexJustify{flex:1;display:flex;align-items:center;justify-content:space-between}.hide-spin-button input::-webkit-outer-spin-button,.hide-spin-button input::-webkit-inner-spin-button{-webkit-appearance:none!important;-moz-appearance:none!important;-o-appearance:none!important;-ms-appearance:none!important;appearance:none!important;margin:0}.hide-spin-button input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;-o-appearance:textfield;-ms-appearance:textfield;appearance:textfield}.dot{width:10px;height:10px;border-radius:50%;display:inline-block}.green-dot{background-color:#66bc5c}.inmessage.el-form-item{margin-bottom:18px}.inmessage.el-form-item:not(.is-error){margin-bottom:10px}.PC-layout{margin:0 auto;width:100%;min-height:100%}.Pad-layout{margin:0 auto;max-width:960px;border-radius:15px;box-shadow:0 0 1px 10px #495060}.H5-layout{margin:0 auto;width:420px;border-radius:15px;box-shadow:0 0 1px 10px #495060}.design-time .containerDraggable{position:relative}.design-time .dragSize.containerDraggable{min-height:100px}.design-time .dragSize1.containerDraggable{min-height:4em}.design-time .dragSize2.containerDraggable{min-height:2em}.design-time .dragSize3.containerDraggable{min-height:2em;min-width:20em}.design-time .padSize.containerDraggable{padding:3px 0}.nolabel .el-form-item__label,.nolabel .custom-label{display:none}.marginTop10{margin-top:10px;margin-bottom:10px}.var-item{flex:1;display:flex;align-items:center;justify-content:space-between;padding-right:var(--el-font-size-base)}.var-item .var-title{color:#171a1d;font-size:12px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}.var-item .var-capsule{padding:0 6px;display:inline-block;border:1px solid var(--el-color-primary-light-9);border-radius:5px;color:var(--el-color-primary-dark-2);background-color:var(--el-color-primary-light-8)}.--hl-align-top{display:flex;align-items:start}.--hl-align-bottom{display:flex;align-content:end}.--hl-align-middle{display:flex;align-items:center}.--hl-align-left{text-align:left}.--hl-align-right{text-align:right}.--hl-align-center{text-align:center}.v-disabled{pointer-events:none;opacity:.6;user-select:none}.primary{color:var(--el-color-primary)}.info{color:var(--el-color-info)}.custom-divider{margin:5px 0;line-height:2em;background-color:var(--el-color-info-light-9);border:1px solid var(--el-color-info-light-7);border-left-width:0px;border-right-width:0px;width:100%;text-align:center;font-size:var(--el-font-size-base)}.full-height{height:100%}.full-width{width:100%}.full-height-width{height:100%;width:100%}.noscrollbar{overflow:hidden}.nomargin{margin:0}.nopadding{padding:0}.min-full-height{min-height:100%}.horialCenter{justify-content:center}.clear-fix:before,.clear-fix:after{display:table;content:""}.clear-fix:after{clear:both}.float-right{float:right}.text-align-center{text-align:center}.text-align-right{text-align:right}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.fontBold{font-weight:700}.noOverflow{overflow:hidden}.posRelative{position:relative}.posAbsolute{position:absolute}.flexInline{display:inline-flex}.alignCenter{align-items:center}.justifyEnd{justify-content:end}.bold{font-weight:700}.noOutline{outline:none}.flex1{flex:1}.flex0{flex:0}.flex-row{flex-direction:row}.flex-column{flex-direction:column}.hlhidden{display:none}.word-wrap{word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}:root{--el-color-primary: #3186CE;--el-font-size-base: 14px;--el-tabs-header-height: 40px;--el-form-label-font-size: 16px}body.designerBody{background-color:var(--el-bg-color-page)}.primary-color{color:var(--el-color-primary)}.bgWhite{background-color:var(--el-color-white)}.clWhite{color:var(--el-color-white)}.background-opacity{background:var(--el-color-primary-light-3)}.popover-footer{text-align:right;margin-top:10px}.popover-body .el-row{margin:5px}.el-form-item .el-rate{margin-top:8px}.el-form-item--medium .el-radio{line-height:36px!important}.el-form-item--medium .el-rate{margin-top:8px}.el-form-item--small .el-radio{line-height:32px!important}.el-form-item--small .el-rate{margin-top:6px}.el-form-item--mini .el-radio{line-height:28px!important}.el-form-item--mini .el-rate{margin-top:4px}.--hl-card{height:100%;display:flex;flex-direction:column}.--hl-card .el-card__body{flex:1;overflow:auto}.el-scrollbar__view{height:100%}.nopadding .el-form-item__label{padding:0}.selected{outline:1px solid var(--el-color-primary)!important;z-index:999}.field-wrapper{position:relative}.design-time .el-row{margin:2px 0}.design-time .field-wrapper{min-height:1em;min-width:1em;transition:background-color .25s ease,border-color .25s ease,transform .2s cubic-bezier(.34,1.56,.64,1)}.design-time .field-wrapper.selected .action{bottom:auto;z-index:1000;top:-22px}.design-time .field-wrapper:hover:not(:has(.content-cell)):not(:has(.field-wrapper:hover)){outline:1px dashed var(--el-color-primary)!important;background-color:var(--el-color-primary-light-9);z-index:999}.design-time .content-cell{border-collapse:separate;border-width:1px;border-style:dashed;border-color:var(--el-color-info)}.design-time .content-cell .selected .action{bottom:0px;top:auto}.design-time .content-cell.selected{border-style:solid;border-color:var(--el-color-primary);min-width:auto;overflow:hidden}.design-time .content-cell.selected .action{bottom:0px;top:auto}.design-time .content-cell:hover{border-style:solid;background-color:var(--el-color-primary-light-9)}.design-time .containerDraggable{background-color:var(--el-color-info-light-8);min-height:38px;min-width:100px}.design-time .el-input-group__append .el-button,.design-time .el-input-group__append .el-select,.design-time .el-input-group__prepend .el-button,.design-time .el-input-group__prepend .el-select{margin:0}.full-height-tab .el-collapse-item__header .collapse_title{padding-left:10px;font-weight:700;font-style:italic}.drag-option{cursor:move}.chosen{background:var(--el-color-primary-light-8)}.ghost{content:"";font-size:0;height:1px;box-sizing:border-box;background:#fff;border:2px solid var(--el-color-primary-light-3);outline-width:0;padding:0;overflow:hidden;width:100%;z-index:10}.--hl-dialog .el-dialog__body{height:calc(100% - var(--el-dialog-padding-primary) * 6)}.--hl-dialog .el-dialog__header{border-bottom:1px solid var(--el-color-info-light-5)}.--hl-dialog .el-dialog__footer{border-top:1px solid var(--el-color-info-light-5)}.el-message__content p.pLine{margin:10px 0}.full-height-tab .el-tabs__content{height:calc(100% - var(--el-tabs-header-height))}.el-form[data-v-a47ae94c] .el-row{padding:8px}.loadingLayout[data-v-a47ae94c]{min-height:100vh}.resize[data-v-bf6aa713]{align-items:center;flex-direction:column;justify-content:center;width:12px;height:100%;color:var(--el-color-info-light-3);cursor:e-resize;border-left:1px solid var(--el-color-info-light-7);border-right:1px solid var(--el-color-info-light-7)}.toolbar-header[data-v-1b2cf0fc]{height:calc(var(--el-tabs-header-height));border-bottom:2px solid var(--el-color-info-light-7)}.el-main.page-widget-main[data-v-1b2cf0fc]{overflow:hidden}.page-widget-main .el-scrollbar[data-v-1b2cf0fc]{margin:10px;height:calc(100% - var(--el-tabs-header-height) - 20px)}[data-v-b4f5fc0a] .ace-editor{min-height:calc(var(--v92b98fdc) * var(--el-font-size-base) * 2)}.--hl-dialog1.el-dialog{display:flex;flex-direction:column;margin:0!important}.--hl-dialog1.el-dialog:not(.is-fullscreen){position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);max-height:calc(100% - 200px);max-width:calc(100% - 30px)}.--hl-dialog1.el-dialog .el-dialog__body{flex:1;overflow:auto}.con-container .containerDraggable{display:flex;width:100%}[data-v-0764c56d] .formDrag{min-height:300px;background-color:transparent}.design-time div.table-container[data-v-b4d3bf11]{padding:0}.design-time table.table-layout[data-v-b4d3bf11]{width:100%;text-align:center;vertical-align:middle;border-collapse:collapse;table-layout:fixed}.design-time table.table-layout[data-v-b4d3bf11] td{min-height:48px;border:1px dashed var(--el-color-info);padding:0;display:table-cell}table.table-layout[data-v-b4d3bf11]{width:100%;text-align:center;vertical-align:middle;border-collapse:collapse;table-layout:fixed}.comp__1[data-v-0f5501af]{width:var(--v6228d629);height:var(--v6dba15b8);display:var(--v55f480cc)}.tipContent[data-v-928ea334]{display:flex;align-items:center;justify-content:center;text-align:center;position:absolute;left:0;right:0;top:0;bottom:0}.tipTopLeft[data-v-928ea334]{top:2px;left:2px}.tipBase[data-v-928ea334]{font-size:var(--el-font-size-base);color:var(--el-color-info)}.action{position:absolute;right:-1px;height:22px;line-height:22px;z-index:9;background:var(--el-color-primary)}.action i{font-size:12px;color:#fff;margin:0 3px;cursor:pointer}.action i svg{width:14px;height:14px}.action .el-dropdown{vertical-align:middle;padding:3px}.action .el-dropdown .clWhite{margin-top:-2px}.action :deep(.svg-icon){margin-left:.1em;margin-right:.1em}.svg-icon[data-v-ca7a7b14]{vertical-align:-.15em;fill:currentColor;overflow:hidden}.widget-container{display:flex;align-items:center;flex-direction:row;flex-wrap:wrap;padding:0}.widget-container .widget-item{background-color:var(--el-color-primary-light-9);width:45%;margin:5px 1.5% 5px 2.5%;list-style:none;cursor:move}.widget-container .widget-item :hover{color:var(--el-color-primary);outline:1px dashed var(--el-color-primary)}.widget-container .widget-item .widget-item-span{display:block;margin:2px;font-size:var(--el-font-size-base);padding:3px}.page-widget-container[data-v-178d69c2] .formDrag{min-height:calc(var(--v69822d11) * .8)}.page-widget-container[data-v-178d69c2]{padding:20px;overflow:hidden;border:1px solid transparent}.page-widget-container.border_selected[data-v-178d69c2]{border:1px solid var(--el-color-primary)!important}.page-widget-container .widget-form[data-v-178d69c2]{position:relative}.page-widget-container .widget-form .no-widget-hint[data-v-178d69c2]{position:absolute;left:0;right:0;top:0;bottom:0;height:var(--v69822d11);display:flex;align-items:center;justify-content:center;text-align:center;font-size:18px;color:#999}.page-widget-container .widget-form[data-v-178d69c2] .page-widget-list{margin-bottom:5px}.page-widget-container .widget-form .page-widget-list[data-v-178d69c2] .widgetList_Draggable{min-height:var(--v69822d11);background-color:transparent}.setting-form .el-form-item:not(.nomargin){padding:0 10px}.setting-form .el-form-item:not(.nomargin) .el-form-item__label{padding-right:4px}.setting-form .el-form-item:not(.nomargin) .el-radio-button .el-radio-button__inner{padding:5px 8px}.toolbar-container[data-v-cbc2f641]:after{display:block;content:"";clear:both}.left-toolbar[data-v-cbc2f641]{display:flex;margin-top:4px;float:left;font-size:16px}.right-toolbar[data-v-cbc2f641]{display:flex;float:right;line-height:42px;text-align:right;overflow:hidden}.right-toolbar .right-toolbar-con[data-v-cbc2f641]{text-align:right}.right-toolbar[data-v-cbc2f641] .el-button{margin-left:10px}.right-toolbar[data-v-cbc2f641] .el-button--text{font-size:14px!important}.right-toolbar[data-v-cbc2f641] .svg-icon{margin-left:0;margin-right:.05em}.aFormItem.el-form-item[data-v-8dbb3353]{position:relative}.aFormItem.el-form-item.is-required[data-v-8dbb3353]:not(.required) .el-form-item__label:before,.aFormItem.el-form-item.is-required[data-v-8dbb3353]:not(.required) .el-form-item__label:after{content:"";margin-left:0;margin-right:0}.aFormItem.el-form-item.asterisk-left.required[data-v-8dbb3353]:not(.is-no-asterisk) .el-form-item__label:before{content:"*";color:var(--el-color-danger);margin-right:4px}.aFormItem.el-form-item.asterisk-right.required[data-v-8dbb3353]:not(.is-no-asterisk) .el-form-item__label:after{content:"*";color:var(--el-color-danger);margin-left:4px}.aFormItem.el-form-item.labelHidden[data-v-8dbb3353] .el-form-item__label{padding:0}:deep(.label-left-align) .el-form-item__label{text-align:left;justify-content:flex-start!important}:deep(.label-center-align) .el-form-item__label{text-align:center;justify-content:center!important}:deep(.label-right-align) .el-form-item__label{text-align:right;justify-content:flex-end!important}.el-form-item:has(.label-top-align){display:block}.el-form-item__label:has(.label-top-align){display:block}.el-form-item__label:has(.label-left-align){text-align:left;justify-content:flex-start!important}.el-form-item__label:has(.label-center-align){text-align:center;justify-content:center!important}.el-form-item__label:has(.label-right-align){text-align:right;justify-content:flex-end!important}.label-wrapper{white-space:normal;word-break:break-all;text-overflow:ellipsis}.folded[data-v-381ddf01] .el-card__body{display:none}.full-width-input[data-v-d324a5f1]{width:100%!important}.dynamicPseudoAfter[data-v-d324a5f1] .el-upload.el-upload--text{color:var(--el-color-primary);font-size:12px}.dynamicPseudoAfter[data-v-d324a5f1] .el-upload.el-upload--text .el-icon-plus:after{content:var(--select-file-action)}.hideUploadDiv[data-v-d324a5f1] div.el-upload--picture-card,.hideUploadDiv[data-v-d324a5f1] div.el-upload--text,.hideUploadDiv[data-v-d324a5f1] div.el-upload__tip{display:none}.upload-file-list[data-v-d324a5f1]{font-size:12px}.upload-file-list .file-action[data-v-d324a5f1]{color:var(--el-color-primary);margin-left:5px;margin-right:5px;cursor:pointer}.ml-3[data-v-d324a5f1]{margin-left:.75rem}.el-upload-list__item-info :hover .fileOperCol[data-v-d324a5f1]{display:inline-block}.fileOperCol[data-v-d324a5f1]{display:none}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name .fileOperCol i[data-v-d324a5f1]{display:inline-block}.operCut[data-v-d324a5f1]{display:inline-block;width:10px}[data-v-f1b8d0a3] .dragSize4.containerDraggable{min-width:6em;min-height:1em}.--hcard-wrap[data-v-f1b8d0a3]{display:flex;flex-direction:row;width:100%;background:linear-gradient(to right,var(--ec5e002e),transparent);border:1px solid var(--v2cac92e2);border-radius:3px}.--hcard-wrap.always[data-v-f1b8d0a3],.--hcard-wrap.hover[data-v-f1b8d0a3]:hover{box-shadow:0 4px 6px #0000001a}.--hcard-header[data-v-f1b8d0a3]{margin-right:10px;background-color:var(--v54132f48);padding:var(--v65f725dc);border-right:1px solid var(--v2cac92e2);flex-shrink:0;align-content:center;width:var(--v47b5f784);line-height:1.5em;word-break:break-all;color:var(--e6c329dc)}.--hcard-body[data-v-f1b8d0a3]{flex:1;padding:var(--v65f725dc)}.mini-wrapper[data-v-216ff3f6]{height:0px;width:0px}.input-with-unit[data-v-3b1667ae]{display:flex;flex-direction:row;width:100%;align-items:center;overflow:hidden}.input-with-unit .el-input-number[data-v-3b1667ae]{flex:1}.input-with-unit .el-input-number[data-v-3b1667ae] .el-input__wrapper{border-radius:0;padding-left:0;padding-right:0}.unit[data-v-3b1667ae]{display:inline-block;min-width:2em;padding:0 .5em;text-align:center;background-color:var(--el-fill-color-light);color:var(--el-text-color-regular);box-shadow:0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset}.input-with-unit:has(.el-input.is-disabled) .unit[data-v-3b1667ae]{color:var(--el-text-color-disabled)}.multiRowLine[data-v-25a8b248]{margin-top:8px;margin-bottom:8px}.multiRowLine .rowHeader[data-v-25a8b248]{margin-bottom:6px}.detailTable[data-v-25a8b248]{margin:10px 0;background-color:var(--el-fill-color-extra-light);border:1px dashed var(--el-border-color)}.rowLabel[data-v-25a8b248]{font-size:var(--el-form-label-font-size);color:#0f0f0f}.row_bottom[data-v-25a8b248]{margin:10px 0;text-align:center}.table2[data-v-25a8b248]{width:100%;border-collapse:collapse}.table2.borderedTable thead th[data-v-25a8b248],.table2.borderedTable thead td[data-v-25a8b248],.table2.borderedTable thead[data-v-25a8b248] .td2,.table2.borderedTable tbody th[data-v-25a8b248],.table2.borderedTable tbody td[data-v-25a8b248],.table2.borderedTable tbody[data-v-25a8b248] .td2{border-color:var(--el-border-color-lighter)}.table2 th[data-v-25a8b248]{background-color:var(--el-color-info-light-9);font-size:var(--el-font-size-base)}.table2 th[data-v-25a8b248],.table2 td[data-v-25a8b248],.table2[data-v-25a8b248] .td2{padding:10px;border:1px solid transparent;display:table-cell!important}.table2 .required[data-v-25a8b248]:before{content:"*";color:var(--el-color-danger)}.table2 .btns[data-v-25a8b248]{min-width:8em;text-align:right}.table2 .rowIndex[data-v-25a8b248]{text-align:center;min-width:3em;color:var(--el-text-color-primary);font-size:var(--el-font-size-base)}.table2 thead[data-v-25a8b248]{color:var(--el-text-color-secondary)}.table2 tr.tr2[data-v-25a8b248]:hover{background-color:var(--el-color-info-light-9)}.table2 tfoot th[data-v-25a8b248],.table2 tfoot td[data-v-25a8b248],.table2 tfoot[data-v-25a8b248] .td2{border-color:transparent}.hideUploadDiv[data-v-71004479] div.el-upload--picture-card,.hideUploadDiv[data-v-71004479] div.el-upload--text,.hideUploadDiv[data-v-71004479] div.el-upload__tip{display:none}.uploader-icon[data-v-71004479]{height:100%;display:flex;color:#8c939d;font-size:28px;justify-content:center;align-items:center}.ml-3[data-v-71004479]{margin-left:.75rem}.vertical-progress-wrapper[data-v-f939f453]{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;position:relative}.progress-track[data-v-f939f453]{height:100%;border-radius:8px;overflow:hidden;position:relative;background-color:var(--el-border-color-lighter)}.progress-bar[data-v-f939f453]{width:100%;position:absolute;bottom:0;left:0;transition:height .5s ease;border-radius:8px;background-color:var(--el-color-primary)}.progress-text[data-v-f939f453]{margin-top:8px;font-size:14px;color:#606266}.design-time .dragSize3.containerDraggable{min-width:30%!important}.input-with-unit[data-v-6e1908dc]{display:flex;flex-direction:row;width:100%;align-content:center}.input-with-unit .title[data-v-6e1908dc]{display:inline-block}.input-with-unit .inputer[data-v-6e1908dc]{flex:1}.input-with-unit .inputer[data-v-6e1908dc] .el-input{width:100%}.input-with-unit .inputer[data-v-6e1908dc] .el-input .el-input__wrapper{border-radius:0}.input-with-unit:has(.inmessage) .unit[data-v-6e1908dc]{margin-bottom:10px}.input-with-unit .unit[data-v-6e1908dc]{display:inline-block;min-width:5em;height:32px;text-align:center;background-color:var(--el-color-info-light-9);color:var(--el-text-color-regular);box-shadow:0 0 0 1px var(--el-border-color) inset}.input-with-unit .split[data-v-6e1908dc]{display:inline-block;padding:0 10px}.ql-counter{text-align:right;padding-right:5px}.ql-editor{min-height:300px}.p-2[data-v-ca4dc69a]{padding:.5rem}.gap-2[data-v-ca4dc69a],[gap-2=""][data-v-ca4dc69a]{gap:.5rem}.items-center[data-v-ca4dc69a]{align-items:center}.flex-col[data-v-ca4dc69a]{flex-direction:column}.flex[data-v-ca4dc69a]{display:flex}.custom-block.tip[data-v-66ddc885]{padding:8px 16px;background-color:rgba(var(--el-color-primary-rgb),.1);border-radius:4px;border-left:5px solid var(--el-color-primary);margin:20px 0}.custom-block .custom-block-title[data-v-66ddc885]{font-weight:700}p[data-v-66ddc885]:first-child{margin-top:0}.multiRowLine[data-v-03255958]{margin-top:8px;margin-bottom:8px}.multiRowLine .rowHeader[data-v-03255958]{margin-bottom:6px}.multiRowTable .rowHeader[data-v-03255958]{background-color:var(--el-color-info-light-8);padding:7px 0}.multiRowTable .el-tr[data-v-03255958]{border-collapse:collapse;border-bottom:1px solid var(--el-color-info-light-8);margin:2px 0}.multiRowTable .rowindex[data-v-03255958]{width:5%}.multiRowTable .content[data-v-03255958]{width:75%}.multiRowTable .operate[data-v-03255958]{width:18%}.multiRowTable[data-v-03255958] .el-td-wrapper{margin:2px 4px}.multiRowTable .el-td[data-v-03255958]{align-items:center}.multiRowTable .el-row[data-v-03255958]:not(.detailTable) .containerDraggable{display:flex}.multiRowTable[data-v-03255958] .el-form-item{display:flex;margin-left:4px;margin-right:4px}.multiRowTable .required[data-v-03255958]:before{content:"*";color:var(--el-color-danger)}.s-canvas[data-v-10737829]{cursor:pointer;text-align:right}.el-popper.popOverClass .popover-body{width:300px}.el-popper.popOverClass:has(.ace-container) .popover-body{width:40vw}.el-popper.popOverClass:has(.ace-container) .popover-body .ace-container{width:99.3%;border:1px solid var(--el-border-color)}.el-drawer.drawerClass{border:1px solid var(--el-border-color);border-right:10px solid var(--el-border-color);box-shadow:none}.dialog-class{display:flex;flex-direction:column;border-radius:10px;margin:0!important;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);min-height:30%;max-height:calc(100% - 100px);max-width:calc(100% - 30px)}.dialog-class .el-dialog__body{flex:1;overflow:auto}.dialog-class .el-dialog__footer{border-top:1px solid var(--el-border-color)}.border[data-v-48bef0ee]{border:1px solid var(--el-border-color)}.st-btn[data-v-48bef0ee]{margin:5px 0}.ruleFormItem[data-v-03a84fbe]{margin-bottom:18px}.el-form-item.commonFormItem .el-form-item__content{justify-content:end;flex-wrap:inherit}.commonFormItem:has(.flexWrap){display:block}.commonFormItem .el-form-item__content:has(.flexWrap){flex-wrap:wrap}.commonFormItem{margin-bottom:4px}.commonFormItem .el-range-editor{width:89%}[data-v-6f08b1ee] .el-color-picker__trigger{border-width:0px}[data-v-6f08b1ee] .el-input-group__prepend{padding:0}[data-v-6f08b1ee] .el-color-picker__icon{display:none}.flex-wrapper[data-v-12dcba4d]{justify-content:space-between;width:100%}.flex-item[data-v-12dcba4d]{flex-grow:1}.flex-item.el-radio-button[data-v-12dcba4d] .el-radio-button__inner{display:block}.hl-input-text[data-v-c44ac24d]{display:block;color:#0009;font-size:12px;line-height:36px;height:36px;opacity:.6;cursor:text;text-align:center}.hl-input-text[data-v-c44ac24d]:hover{text-decoration:underline}.readonly[data-v-c44ac24d] .el-input__wrapper{box-shadow:0 0 0 0 var(--el-input-border-color, var(--el-border-color)) inset;background-color:transparent;padding:0}.readonly.primary[data-v-c44ac24d] .el-input__inner{color:var(--el-color-primary)}.readonly.info[data-v-c44ac24d] .el-input__inner{color:var(--el-color-info)}[data-v-c44ac24d] .el-input__inner{text-align:center}.hl-handle[data-v-bc109a82]{position:absolute;display:block;font-size:0;border:14px solid transparent;box-sizing:border-box;opacity:.8;text-align:center}.hl-handle-right[data-v-bc109a82]{width:0;bottom:2px;top:2px;cursor:col-resize}.hl-handle-top[data-v-bc109a82],.hl-handle-bottom[data-v-bc109a82]{height:0;left:2px;right:2px;cursor:row-resize}.hl-handle-left[data-v-bc109a82]{width:0;bottom:2px;top:2px;cursor:col-resize}.hl-handle-top-border[data-v-bc109a82]{top:0;border-top-color:#0000004d;border-bottom-width:0}.hl-handle-top-border .svg-icon[data-v-bc109a82]{position:absolute;top:-15px;left:50%;margin-left:-8px}.hl-handle-right-border[data-v-bc109a82]{right:0;border-right-color:#0000004d;border-left-width:0}.hl-handle-right-border .svg-icon[data-v-bc109a82]{position:absolute;top:50%;margin-top:-8px}.hl-handle-left-border .svg-icon[data-v-bc109a82]{position:absolute;top:50%;left:-16px;margin-top:-8px}.hl-handle-bottom-border[data-v-bc109a82]{bottom:0;border-bottom-color:#0000004d;border-top-width:0}.hl-handle-left-border[data-v-bc109a82]{left:0;border-left-color:#0000004d;border-right-width:0}.hl-border-desp[data-v-bc109a82]{position:absolute;left:3px;top:-8px;font-size:12px;text-transform:uppercase;transform-origin:left;transform:scale(.6);pointer-events:none}.hl-layout-box[data-v-bc109a82]{position:absolute;top:0px;right:0px;left:0px;bottom:0px}.hl-margin-padding[data-v-bc109a82]{width:190px;height:147px;margin:55px auto;position:relative}.hl-padding-box[data-v-bc109a82]{top:18px;bottom:18px;left:18px;right:18px}.hl-input-h[data-v-bc109a82]{display:inline-block;left:50%;height:16px;margin-left:-20px;text-align:center}.hl-input-v[data-v-bc109a82]{top:50%;margin-top:-20px}.hl-inline-input[data-v-bc109a82]{position:absolute;width:50px}.hl-margin-box .hl-input-right[data-v-bc109a82]{right:-50px}.hl-margin-box .hl-input-left[data-v-bc109a82]{left:-50px}.hl-margin-box .hl-input-top[data-v-bc109a82]{top:-35px}.hl-margin-box .hl-input-bottom[data-v-bc109a82]{bottom:-15px}.hl-padding-box .hl-input-right[data-v-bc109a82]{right:20px}.hl-padding-box .hl-input-left[data-v-bc109a82]{left:20px}.hl-padding-box .hl-input-top[data-v-bc109a82]{top:15px}.hl-padding-box .hl-input-bottom[data-v-bc109a82]{bottom:35px}.hl-input-wrapper[data-v-bc109a82]{display:inline-block;width:60%;margin:0 auto}.vs-style-border-style[data-v-11351887]{display:flex;margin-top:5px;border:1px solid rgba(0,0,0,.1)}.vs-style-border-setter-left-pane[data-v-11351887]{align-items:center;justify-content:space-around;display:flex}.vs-style-border-setter-right-pane[data-v-11351887]{flex-direction:column;align-items:center;justify-content:center;width:60%;margin-left:10%}.vs-style-border-setter-left-pane[data-v-11351887]{width:30%}.vs-style-border-col[data-v-11351887]{margin:-6px;padding:5px;border-radius:2px;text-align:center;cursor:pointer;background:transparent}.vs-style-border-selected[data-v-11351887]{background:linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.2))}.vs-style-border-radius[data-v-a30672a7]{display:flex;margin-top:5px;border:1px solid rgba(0,0,0,.1)}.vs-style-border-setter-left-pane[data-v-a30672a7]{align-items:center;justify-content:space-around;display:flex}.vs-style-border-setter-right-pane[data-v-a30672a7]{flex-direction:column;align-items:center;justify-content:center;width:60%;margin-left:10%}.vs-style-border-radius .vs-style-border-setter-left-pane[data-v-a30672a7]{width:30%}.vs-style-border-col[data-v-a30672a7]{margin:6px;padding:5px;border-radius:2px;text-align:center;cursor:pointer;background:transparent}.vs-style-border-selected[data-v-a30672a7]{background:linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.2))}[data-v-14057d21] .el-color-picker__trigger{border-width:0px}[data-v-14057d21] .el-input-group__prepend{padding:0}[data-v-14057d21] .el-color-picker__icon{display:none}.primary[data-v-3eb71029]{color:var(--el-color-primary)}.info[data-v-3eb71029]{color:var(--el-color-info)}.divider[data-v-3ebc5d47]{height:3px}.row[data-v-3c8fe652]{margin:10px auto;display:flex;justify-content:space-between}.row_input[data-v-3c8fe652]{width:140px}.hl-page-bk[data-v-051110ee]{background-color:gray;padding:20px 0}.hl-page-bk .hl-page-a4[data-v-051110ee]{width:795px;margin:0 auto;background-color:transparent;min-height:800px}.varTitle[data-v-8e40938c]{font-weight:700;height:1.5em}.varCell[data-v-8e40938c]{border:1px solid var(--el-color-info-light-8);width:100%;border-radius:4px;height:calc(100% - 1.5em);display:flex}.cellRow[data-v-8e40938c]{flex-direction:row}.cellRow .splitCell[data-v-8e40938c]{flex-basis:50%}.cellRow .splitCell[data-v-8e40938c]:last-child{border-left:1px solid var(--el-color-info-light-8)}.cellColumn[data-v-8e40938c]{flex-direction:column}.cellColumn .splitCell[data-v-8e40938c]{height:33.3333333333%}.cellColumn .splitCell[data-v-8e40938c]:last-child{border-top:1px solid var(--el-color-info-light-8)}.varTitle[data-v-3e1123ce]{font-weight:700;height:1.5em}.varCell1[data-v-3e1123ce]{border:1px solid var(--el-color-info-light-8);width:100%;border-radius:4px}.varCell[data-v-3e1123ce]{height:calc(var(--v7167ca61) - 1.2em);overflow:hidden;display:flex}.cellRow[data-v-3e1123ce]{flex-direction:row}.cellRow .splitCell[data-v-3e1123ce]{flex-basis:50%}.cellRow .splitCell[data-v-3e1123ce]:last-child{border-left:1px solid var(--el-color-info-light-8)}.cellColumn[data-v-3e1123ce]{flex-direction:column}.cellColumn .splitCell[data-v-3e1123ce]{height:33.3333333333%}.cellColumn .splitCell[data-v-3e1123ce]:last-child{border-top:1px solid var(--el-color-info-light-8)}.card-search[data-v-3e1123ce]{width:98%;margin:5px auto}.card-tree[data-v-3e1123ce]{height:calc(var(--v7167ca61) * .8);overflow-y:scroll}.page[data-v-c780c70e]{overflow:hidden;height:calc(100% - 18px);width:calc(100% - 18px);padding-top:9px;padding-left:9px}.header[data-v-c780c70e]{height:20%}.header .card[data-v-c780c70e]{height:calc(var(--v0c79b261) * .3)}.header .card .card_body[data-v-c780c70e]{height:calc(var(--v0c79b261) * .3 - (var(--el-font-size-base) + 27px + 3px))}.main[data-v-c780c70e]{height:calc(var(--v0c79b261) * .7 - 30px - 1px);margin:10px 0}.main .card[data-v-c780c70e]{height:calc(var(--v0c79b261) * .7 - 30px - 1px)}.main .card .card_body[data-v-c780c70e]{height:calc(var(--v0c79b261) * .7 - 30px - 1px - (var(--el-font-size-base) + 27px + 3px))}.card[data-v-c780c70e]{background-color:var(--el-bg-color);border-radius:6px;border:1px solid var(--el-color-info-light-8)}.card_header[data-v-c780c70e]{height:calc(var(--el-font-size-base) + 18px);font-size:var(--el-font-size-base);border-bottom:1px solid var(--el-color-info-light-8);font-weight:700}.card_header span[data-v-c780c70e]{display:block;margin:9px}.card_body[data-v-c780c70e]{overflow-y:auto;font-size:var(--el-font-size-base)}.card_body .text[data-v-c780c70e]{padding:9px;color:var(--el-color-info)}.card-search[data-v-c780c70e]{width:98%;margin:5px auto}[data-v-c780c70e] .cm-func{color:var(--el-color-danger-dark-2);font-weight:700}[data-v-58d91d7e] .cm-editor .cm-func{font-weight:700;color:var(--el-color-danger-dark-2);line-height:14px;margin:0 1px;padding:0 2px}[data-v-58d91d7e] .cm-editor .cm-field{background:var(--el-color-primary-dark-2);padding:3px 5px;border-radius:3px;color:#fff;margin:0 1px}[data-v-58d91d7e] .cm-editor .cm-var{font-weight:700;color:var(--el-color-success-dark-2);line-height:14px;margin:0 1px;padding:0 2px}[data-v-58d91d7e] .cm-editor.cm-focused{outline:0px solid black}[data-v-58d91d7e] .cm-gutters{display:var(--v0e6bbccc)}.varTitle[data-v-8892780f]{font-weight:700;height:1.5em}.varCell[data-v-8892780f]{border:1px solid var(--el-color-info-light-8);width:100%;border-radius:4px;height:calc(100% - 1.5em);display:flex}.cellRow[data-v-8892780f]{flex-direction:row}.cellRow .splitCell[data-v-8892780f]{flex-basis:50%}.cellRow .splitCell[data-v-8892780f]:last-child{border-left:1px solid var(--el-color-info-light-8)}.cellColumn[data-v-8892780f]{flex-direction:column}.cellColumn .splitCell[data-v-8892780f]{height:50%}.cellColumn .splitCell[data-v-8892780f]:last-child{border-top:1px solid var(--el-color-info-light-8)}.varTitle[data-v-3be8c897]{font-weight:700;height:1.5em}.varCell[data-v-3be8c897]{border:1px solid var(--el-color-info-light-8);width:100%;border-radius:4px;height:calc(100% - 1.5em);display:flex}.cellRow[data-v-3be8c897]{flex-direction:row}.cellRow .splitCell[data-v-3be8c897]{flex-basis:50%}.cellRow .splitCell[data-v-3be8c897]:last-child{border-left:1px solid var(--el-color-info-light-8)}.cellColumn[data-v-3be8c897]{flex-direction:column}.cellColumn .splitCell[data-v-3be8c897]{height:33.3333333333%}.cellColumn .splitCell[data-v-3be8c897]:last-child{border-top:1px solid var(--el-color-info-light-8)}.row[data-v-9b734bb4]{border-collapse:collapse}.row .col[data-v-9b734bb4]{border:1px solid var(--el-border-color);padding:10px}.el-alert__content{width:100%}.el-alert__content .el-alert__description{width:100%;display:flex;justify-content:space-between}.el-alert__content .el-alert__description .el-text,.el-alert__content .el-alert__description .el-link{display:inline-flex;flex-direction:row}.flexJustify .el-button.is-link{padding:0}.flexJustify .el-button+.el-button{margin-left:2px}.flexJustify .buttonWrapper:first-child{margin-left:20px}.flexJustify .buttonWrapper:last-child{margin-right:5px}[data-v-6590a033] .fieldWrapper{margin:1px 0}[data-v-6590a033] .fieldWrapper .el-row{border:1px solid var(--el-border-color);border-radius:2px;padding-left:5px;padding-right:5px;align-items:center;margin:1px 0}[data-v-6590a033] .fieldWrapper .el-row label.el-radio{display:flex;align-items:center}[data-v-6590a033] .fieldWrapper .el-row .firstNode{margin-left:5px}/*!
|
|
2
2
|
* Quill Editor v1.3.7
|
|
3
3
|
* https://quilljs.com/
|
|
4
4
|
* Copyright (c) 2014, Jason Chen
|
package/designer.umd.js
CHANGED
|
@@ -5012,7 +5012,7 @@ const L=D&&I.value!==Os.functions,Y=ie=>{var Me;var ge=X();const pe=I.value,he=n
|
|
|
5012
5012
|
constructor(\${params}) {
|
|
5013
5013
|
\${}
|
|
5014
5014
|
}
|
|
5015
|
-
}`,{label:"class",detail:"definition",type:"keyword"}),Tc('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Tc('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],k7t=tve.concat([Tc("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),Tc("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),Tc("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),nve=new t_t,ive=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function VM(t){return(e,n)=>{let i=e.node.getChild("VariableDefinition");return i&&n(i,t),!0}}const D7t=["FunctionDeclaration"],R7t={FunctionDeclaration:VM("function"),ClassDeclaration:VM("class"),ClassExpression:()=>!0,EnumDeclaration:VM("constant"),TypeAliasDeclaration:VM("type"),NamespaceDeclaration:VM("namespace"),VariableDefinition(t,e){t.matchContext(D7t)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function rve(t,e){let n=nve.get(e);if(n)return n;let i=[],r=!0;function o(a,c){let s=t.sliceString(a.from,a.to);i.push({label:s,type:c})}return e.cursor(us.IncludeAnonymous).iterate(a=>{if(r)r=!1;else if(a.name){let c=R7t[a.name];if(c&&c(a,o)||ive.has(a.name))return!1}else if(a.to-a.from>8192){for(let c of rve(t,a.node))i.push(c);return!1}}),nve.set(e,i),i}const ave=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,ove=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function X7t(t){let e=Is(t.state).resolveInner(t.pos,-1);if(ove.indexOf(e.name)>-1)return null;let n=e.name=="VariableName"||e.to-e.from<20&&ave.test(t.state.sliceDoc(e.from,e.to));if(!n&&!t.explicit)return null;let i=[];for(let r=e;r;r=r.parent)ive.has(r.name)&&(i=i.concat(rve(t.state.doc,r)));return{options:i,from:n?e.from:t.pos,validFor:ave}}const zf=bT.define({name:"javascript",parser:B7t.configure({props:[Qye.add({IfStatement:hK({except:/^\s*({|else\b)/}),TryStatement:hK({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:b_t,SwitchBody:t=>{let e=t.textAfter,n=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return t.baseIndent+(n?0:i?1:2)*t.unit},Block:y_t({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":hK({except:/^\s*{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),e1e.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":x_t,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),sve={test:t=>/^JSX/.test(t.name),facet:_ye({commentTokens:{block:{open:"{/*",close:"*/}"}}})},Y7t=zf.configure({dialect:"ts"},"typescript"),E7t=zf.configure({dialect:"jsx",props:[uK.add(t=>t.isTop?[sve]:void 0)]}),H7t=zf.configure({dialect:"jsx ts",props:[uK.add(t=>t.isTop?[sve]:void 0)]},"typescript");let lve=t=>({label:t,type:"keyword"});const cve="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(lve),F7t=cve.concat(["declare","implements","private","protected","public"].map(lve));function L7t(t={}){let e=t.jsx?t.typescript?H7t:E7t:t.typescript?Y7t:zf,n=t.typescript?k7t.concat(F7t):tve.concat(cve);return new C_t(e,[zf.data.of({autocomplete:Y8t(ove,pbe(n))}),zf.data.of({autocomplete:X7t}),t.jsx?_7t:[]])}function J7t(t){for(;;){if(t.name=="JSXOpenTag"||t.name=="JSXSelfClosingTag"||t.name=="JSXFragmentTag")return t;if(t.name=="JSXEscape"||!t.parent)return null;t=t.parent}}function gve(t,e,n=t.length){for(let i=e==null?void 0:e.firstChild;i;i=i.nextSibling)if(i.name=="JSXIdentifier"||i.name=="JSXBuiltin"||i.name=="JSXNamespacedName"||i.name=="JSXMemberExpression")return t.sliceString(i.from,Math.min(i.to,n));return""}const K7t=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),_7t=oi.inputHandler.of((t,e,n,i,r)=>{if((K7t?t.composing:t.compositionStarted)||t.state.readOnly||e!=n||i!=">"&&i!="/"||!zf.isActiveAt(t.state,e,-1))return!1;let o=r(),{state:a}=o,c=a.changeByRange(s=>{var l;let{head:g}=s,u=Is(a).resolveInner(g-1,-1),I;if(u.name=="JSXStartTag"&&(u=u.parent),!(a.doc.sliceString(g-1,g)!=i||u.name=="JSXAttributeValue"&&u.to>g)){if(i==">"&&u.name=="JSXFragmentTag")return{range:s,changes:{from:g,insert:"</>"}};if(i=="/"&&u.name=="JSXStartCloseTag"){let C=u.parent,h=C.parent;if(h&&C.from==g-2&&((I=gve(a.doc,h.firstChild,g))||((l=h.firstChild)===null||l===void 0?void 0:l.name)=="JSXFragmentTag")){let A=`${I}>`;return{range:ln.cursor(g+A.length,-1),changes:{from:g,insert:A}}}}else if(i==">"){let C=J7t(u);if(C&&C.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(a.doc.sliceString(g,g+2))&&(I=gve(a.doc,C,g)))return{range:s,changes:{from:g,insert:`</${I}>`}}}}return{range:s}});return c.changes.empty?!1:(t.dispatch([o,a.update(c,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});class j7t extends AI{constructor(n,i,r){super();E(this,"content");E(this,"className","");E(this,"elementWrap","span");this.content=n,this.className=i,this.elementWrap=r}eq(n){return this.content===n.content}toDOM(){let n=document.createElement(this.elementWrap);return n.className=this.className,n.textContent=this.content,n}ignoreEvent(n){return!1}}const e6=(t,e,n,i="span")=>{const r=new fye({regexp:t,decoration:o=>Zi.replace({widget:new j7t(n==null?void 0:n(o),e,i)})});return zo.fromClass(class{constructor(o){E(this,"placeholders");this.placeholders=r.createDeco(o)}update(o){this.placeholders=r.updateDeco(o,this.placeholders)}},{decorations:o=>o.placeholders,provide:o=>oi.atomicRanges.of(a=>{var c;return((c=a.plugin(o))==null?void 0:c.placeholders)||Zi.none})})},U7t=p.defineComponent({__name:"index",props:{modelValue:{},height:{default:"200px"},gutters:{type:Boolean},beatifyFn:{},unBeatifyFn:{}},emits:["update:modelValue","focused"],setup(t,{expose:e,emit:n}){p.useCssVars(Z=>({v0e6bbccc:N.value}));const i=t,r=n,{variableLabelExp:o}=o_(),a=DW(),{functionExp:c,variableIdentity:s}=QM(),l=[L7t(),e6(a.variableExp,"cm-var",function(Z){return Z[1]}),e6(o,"cm-field",function(Z){return Z[1]}),e6(c,"cm-func",function(Z){return Z[1]})],g=p.shallowRef(),u=p.ref(i.modelValue),I=p.ref(),C=p.computed({get:()=>{var Z;return((Z=i.beatifyFn)==null?void 0:Z.call(i,u.value))||u.value},set:Z=>{var G;u.value=((G=i.unBeatifyFn)==null?void 0:G.call(i,Z))||Z}});let h=p.reactive({});const A=Z=>{var X,D,R;const G=Z==null?void 0:Z.state;if(!G)return;const O=(X=G==null?void 0:G.selection)==null?void 0:X.ranges,T=O==null?void 0:O[0].anchor,W=(D=G==null?void 0:G.doc)==null?void 0:D.length,V=(R=G==null?void 0:G.doc)==null?void 0:R.lines;return h.length=W,h.cursor=T,h.lines=V,h.ranges=Nn(O),h},d=Z=>(A(Z),r("update:modelValue",u.value),!0),f=Z=>{g.value=Z.view,x()},m=()=>{r("focused")},w=()=>{const Z=S(h.lines||0);return{line:h.lines,ch:(h.cursor||0)-((Z==null?void 0:Z.from)||0)}},y=Z=>{var T;if(!Z||!Z.line||!Z.ch)return;const G=S(Z.line);var O=((G==null?void 0:G.from)||0)+Z.ch;(T=g.value)==null||T.dispatch({selection:ln.range(O,O)})},b=Z=>{var G,O;(O=g.value)==null||O.dispatch((G=g.value)==null?void 0:G.state.replaceSelection(Z))},v=(Z,G)=>{switch(G){case"variable":{const O=w();b(Z);const T=w();p.nextTick(()=>{var V;const W=(V=C.value)==null?void 0:V.indexOf(s,T.ch);y({line:O.line,ch:W+(s==null?void 0:s.length)})});break}case"function":{b(`${Z}`);const O=w();O&&O.ch&&y({line:O.line,ch:O.ch-1});break}default:typeof Z=="string"&&b(Z)}M()},M=()=>{var Z;(Z=g.value)==null||Z.focus()},x=(Z=0)=>{var W;var G=(W=g.value)==null?void 0:W.state.doc.lines,O=S(G||0),T=((O==null?void 0:O.to)||0)-((O==null?void 0:O.from)||0);y({line:G,ch:T>Z?T-Z:T}),M()},S=Z=>{var G;return(G=g.value)==null?void 0:G.state.doc.line(Z)},N=p.computed(()=>i.gutters?"block":"none");return e({insertContent:v,focus:x}),(Z,G)=>(p.openBlock(),p.createBlock(p.unref(UUt),{ref_key:"codeEditor",ref:I,modelValue:C.value,"onUpdate:modelValue":G[0]||(G[0]=O=>C.value=O),style:p.normalizeStyle({height:t.height,overflow:"auto"}),autofocus:!0,"indent-with-tab":!0,"tab-size":2,extensions:l,onReady:f,onFocus:m,onUpdate:d},null,8,["modelValue","style"]))}}),ken="",uve=Ei(U7t,[["__scopeId","data-v-58d91d7e"]]),Ive=Object.freeze(Object.defineProperty({__proto__:null,default:uve},Symbol.toStringTag,{value:"Module"})),P7t={id:"formulaPage"},Q7t={class:"page"},q7t={class:"card"},$7t={class:"card_header"},ePt={class:"card_body"},tPt={class:"card"},nPt={class:"card_header"},iPt={class:"card_body"},rPt={class:"card-search"},aPt={class:"var-item"},oPt={class:"var-title"},sPt={class:"var-capsule"},lPt={class:"card"},cPt={class:"card_header"},gPt={class:"card_body"},uPt={class:"card-search"},IPt=["onMouseover"],CPt={class:"card"},dPt={class:"card_header"},hPt={class:"card_body"},pPt={class:"text"},APt=["innerHTML"],fPt=p.defineComponent({__name:"formula",props:{currentField:{},allFields:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){p.useCssVars(Z=>({v0c79b261:p.unref(S)}));const n=t,i=e,r={children:"children",label:"label",comment:"comment",caller:"caller"},o=p.ref(n.modelValue),a=p.ref(),c=p.ref();c.value={filterNodeMethod:(Z,G)=>{var O;return Z?(O=G.label)==null?void 0:O.toLocaleLowerCase().includes(Z==null?void 0:Z.toLocaleLowerCase()):!0}};const s=p.ref(""),l=p.ref();p.watch(s,Z=>{l.value.filter(Z)});const g=p.ref(""),u=p.ref();p.watch(g,Z=>{u.value.filter(Z)});const I=p.ref(),C=(Z,G)=>{if(!G.isLeaf)return;const{buildVariable:O}=WC(),T=O(Z.id);a.value.insertContent(T,"variable")},h=(Z,G)=>{A(Z.label,Z.comment,G.isLeaf)},A=(Z,G,O)=>{O||(G=_.i18nt("designer.expression.formulaFunction")),G=Bu(G,`${Z}`,`<span class="cm-func">${Z}</span>`),I.value={title:Z,comment:Qx(G)}},d=(Z,G)=>{A(Z.label,Z.comment,G.isLeaf),G.isLeaf&&a.value.insertContent(Z.caller,"function")},f=Kt(ih),m=Kt(n==null?void 0:n.allFields),w=()=>{i("update:modelValue",o.value)},y=()=>{let Z={};const G=n1(m,"children");return G==null||G.forEach(O=>Z[O.id]=O.label),Z},{buildVariableWithLabel:b,removeVariableWithLabel:v}=QM(),M=Z=>b(Z||"",y()),x=Z=>v(Z||"",y()),{pageHeight:S,getComputedHeight:N}=q7();return N("#formulaPage"),(Z,G)=>{const O=p.resolveComponent("el-col"),T=p.resolveComponent("el-row"),W=p.resolveComponent("el-input");return p.openBlock(),p.createElementBlock("div",P7t,[p.createElementVNode("div",Q7t,[p.createVNode(T,{class:"header"},{default:p.withCtx(()=>[p.createVNode(O,{span:24},{default:p.withCtx(()=>{var V;return[p.createElementVNode("div",q7t,[p.createElementVNode("div",$7t,[p.createElementVNode("span",null,p.toDisplayString((V=t.currentField)==null?void 0:V.label),1)]),p.createElementVNode("div",ePt,[p.createVNode(uve,{modelValue:o.value,"onUpdate:modelValue":[G[0]||(G[0]=X=>o.value=X),w],ref_key:"FormulaEditorRef",ref:a,height:"100%",gutters:!1,"beatify-fn":M,"un-beatify-fn":x},null,8,["modelValue"])])])]}),_:1})]),_:1}),p.createVNode(T,{class:"main",gutter:10},{default:p.withCtx(()=>[p.createVNode(O,{span:7},{default:p.withCtx(()=>[p.createElementVNode("div",tPt,[p.createElementVNode("div",nPt,[p.createElementVNode("span",null,p.toDisplayString(p.unref(_).i18nt("designer.expression.allFields")),1)]),p.createElementVNode("div",iPt,[p.createElementVNode("div",rPt,[p.createVNode(W,{modelValue:g.value,"onUpdate:modelValue":G[1]||(G[1]=V=>g.value=V),placeholder:p.unref(_).i18nt("designer.hint.filterInput"),"suffix-icon":p.unref(Cb)},null,8,["modelValue","placeholder","suffix-icon"])]),p.createVNode(p.unref(Wi.ElTree),p.mergeProps({ref_key:"formulaRef",ref:u,data:p.unref(m),props:r},c.value,{onNodeClick:C}),{default:p.withCtx(({node:V,data:X})=>[p.createElementVNode("span",aPt,[p.createElementVNode("span",oPt,p.toDisplayString(X.label),1),p.createElementVNode("span",sPt,p.toDisplayString(p.unref(_).i18nt(`designer.widgetLabel.${X.type}`,X.type)),1)])]),_:1},16,["data"])])])]),_:1}),p.createVNode(O,{span:7},{default:p.withCtx(()=>[p.createElementVNode("div",lPt,[p.createElementVNode("div",cPt,[p.createElementVNode("span",null,p.toDisplayString(p.unref(_).i18nt("designer.expression.allFormulas")),1)]),p.createElementVNode("div",gPt,[p.createElementVNode("div",uPt,[p.createVNode(W,{modelValue:s.value,"onUpdate:modelValue":G[2]||(G[2]=V=>s.value=V),placeholder:p.unref(_).i18nt("designer.hint.filterInput"),"suffix-icon":p.unref(Cb)},null,8,["modelValue","placeholder","suffix-icon"])]),p.createVNode(p.unref(Wi.ElTree),p.mergeProps({ref_key:"functionRef",ref:l,data:p.unref(f),props:r},c.value,{onNodeClick:d}),{default:p.withCtx(({node:V,data:X})=>[p.createElementVNode("div",{onMouseover:D=>h(X,V),class:"full-width"},p.toDisplayString(X.label),41,IPt)]),_:1},16,["data"])])])]),_:1}),p.createVNode(O,{span:10},{default:p.withCtx(()=>{var V,X;return[p.createElementVNode("div",CPt,[p.createElementVNode("div",dPt,[p.createElementVNode("span",null,p.toDisplayString((V=I.value)==null?void 0:V.title),1)]),p.createElementVNode("div",hPt,[p.createElementVNode("div",pPt,[p.createElementVNode("div",{innerHTML:(X=I.value)==null?void 0:X.comment},null,8,APt)])])])]}),_:1})]),_:1})])])}}}),Den="",mPt=Ei(fPt,[["__scopeId","data-v-c780c70e"]]),wPt=p.defineComponent({__name:"index",props:{...bs,widgetList:{type:Array},currentField:{type:Object}},setup(t,{expose:e}){var a,c;const n=t,i=Ce.getFormula((c=n.optionModel)==null?void 0:c[(a=n.propConfig)==null?void 0:a.name])||"",r=p.ref(i);return e({save:()=>r.value}),(s,l)=>(p.openBlock(),p.createBlock(mPt,{"all-fields":s.widgetList,"current-field":s.currentField,modelValue:r.value,"onUpdate:modelValue":l[0]||(l[0]=g=>r.value=g)},null,8,["all-fields","current-field","modelValue"]))}}),yPt=Object.freeze(Object.defineProperty({__proto__:null,default:wPt},Symbol.toStringTag,{value:"Module"})),bPt={class:"varTitle"},vPt={class:"varCell cellRow"},NPt={class:"splitCell"},MPt={class:"splitCell"},xPt={class:"card-search"},SPt={class:"full-width"},ZPt={class:"varTitle"},GPt={class:"varCell1 cellColumn1",style:{height:"calc(100% - 1.5em * 4)",flex:"1",overflow:"auto"}},OPt={class:"splitCell1",style:{height:"97%"}},zPt=p.defineComponent({__name:"index",props:{...bs},setup(t,{expose:e}){const n=t,i=p.ref(),{propClearVariable:r,propModel:o}=oc(n),{getNodeTree:a}=Vs(n.designer),{loadSchemaData:c}=hp({pageConfig:n.pageConfig}),s={id:"id",label:"label",children:"children"},l=p.ref();l.value={filterNodeMethod:(O,T)=>{var W;return O?(W=T.label)==null?void 0:W.toLocaleLowerCase().includes(O==null?void 0:O.toLocaleLowerCase()):!0}};const g=Kt([{id:"actionPage",label:_.i18nt("designer.setting.actionJS"),children:[{id:"actionCode",label:_.i18nt("designer.setting.actionCode")}]},{id:"actionInner",label:_.i18nt("designer.setting.actionInner"),children:[{id:ya.actionURL,label:_.i18nt("designer.setting.actionURL")},{id:ya.actionOpenDialog,label:_.i18nt("designer.setting.actionOpenDialog")},{id:ya.actionCloseDialog,label:_.i18nt("designer.setting.actionCloseDialog")},{id:ya.actionShowWidget,label:_.i18nt("designer.setting.actionShowWidget")},{id:ya.actionHideWidget,label:_.i18nt("designer.setting.actionHideWidget")},{id:ya.actionSendSchema,label:_.i18nt("designer.setting.actionSendSchema")},{id:ya.actionSaveFormData,label:_.i18nt("designer.setting.actionSaveFormData")}]}]),u=Kt(g.map(O=>({label:O.label,id:O.id}))),I=O=>{var T=g.find(W=>W.id===O);m.value=T==null?void 0:T.children},C=(O,T)=>{I(O.id)},h=p.ref(),A=p.ref(),d=p.ref(),f=()=>{var W,V,X,D,R,L;var O=(V=(W=o==null?void 0:o.value)==null?void 0:W.value)==null?void 0:V.type;if(O){var T=g==null?void 0:g.find(Y=>{var H;var B=(H=Y.children)==null?void 0:H.filter(F=>F.id===O);return(B==null?void 0:B.length)||0>0});A.value=T==null?void 0:T.id,d.value=O}else A.value=(X=g==null?void 0:g[0])==null?void 0:X.id,d.value=(L=(R=(D=g==null?void 0:g[0])==null?void 0:D.children)==null?void 0:R[0])==null?void 0:L.id};p.watch(A,O=>{p.nextTick(function(){h.value.setCurrentKey(O),I(O),p.nextTick(function(){var T;(T=M.value)==null||T.setCurrentKey(d.value)})})});const m=p.ref(),w=p.ref(),y=(O,T)=>{w.value=O==null?void 0:O.id,N(O==null?void 0:O.id,null)},b=(O,T)=>{var W,V;w.value=O==null?void 0:O.id,N(O==null?void 0:O.id,(V=(W=o==null?void 0:o.value)==null?void 0:W.value)==null?void 0:V.content)},v=p.ref(""),M=p.ref();p.watch(v,O=>{M.value.filter(O)});const x=p.ref(),S=p.shallowRef(),N=(O,T)=>{var V,X,D,R;const W=(X=(V=a())==null?void 0:V[0])==null?void 0:X.children;switch(O){case ya.actionURL:{i.value={attrs:T||{}},S.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>UPt));break}case ya.actionOpenDialog:case ya.actionCloseDialog:{i.value={attrs:T||{},widgetList:W},S.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>PPt));break}case ya.actionShowWidget:case ya.actionHideWidget:{i.value={attrs:T||{},widgetList:W},S.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>eQt));break}case ya.actionSendSchema:{const L=c();i.value={attrs:T||{},widgetList:(D=n.otherConfig)==null?void 0:D.widgetList,sourceList:L==null?void 0:L.filter(Y=>Y.protocal===pa.REMOTE)},S.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>aQt));break}case ya.actionCode:{i.value=n,S.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>sQt));break}case ya.actionSaveFormData:{const L=c();i.value={attrs:T||{},widgetList:W,fieldWidgetList:(R=n.otherConfig)==null?void 0:R.widgetList,sourceList:L==null?void 0:L.filter(Y=>Y.protocal===pa.REMOTE)},S.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>cQt));break}}},Z=()=>{var T,W,V;return i.value=(T=x==null?void 0:x.value)==null?void 0:T.save(),{type:(V=(W=M==null?void 0:M.value)==null?void 0:W.getCurrentNode())==null?void 0:V.id,content:i.value}},G=()=>{r()};return p.onMounted(()=>{f()}),e({save:Z,clear:G}),(O,T)=>{const W=p.resolveComponent("el-input"),V=p.resolveComponent("el-col"),X=p.resolveComponent("el-row");return p.openBlock(),p.createBlock(X,{class:"full-height nomargin noOverflow"},{default:p.withCtx(()=>[p.createVNode(V,{span:6},{default:p.withCtx(()=>[p.createElementVNode("div",bPt,p.toDisplayString(p.unref(_).i18nt("designer.hint.responseAction")),1),p.createElementVNode("div",vPt,[p.createElementVNode("div",NPt,[p.createVNode(p.unref(Wi.ElTree),{"node-key":"id","highlight-current":"","current-node-key":A.value,data:p.unref(u),props:s,ref_key:"varTypeRef",ref:h,onCurrentChange:C,onNodeClick:C},null,8,["current-node-key","data"])]),p.createElementVNode("div",MPt,[p.createElementVNode("div",xPt,[p.createVNode(W,{modelValue:v.value,"onUpdate:modelValue":T[0]||(T[0]=D=>v.value=D),placeholder:p.unref(_).i18nt("designer.hint.filterInput"),"suffix-icon":p.unref(Cb)},null,8,["modelValue","placeholder","suffix-icon"])]),p.createVNode(p.unref(Wi.ElTree),p.mergeProps({"node-key":"id",ref_key:"varSourceRef",ref:M,"highlight-current":"",data:m.value,"current-node-key":d.value,props:s,onNodeClick:y,onCurrentChange:b},l.value),{default:p.withCtx(({node:D,data:R})=>[p.createElementVNode("div",SPt,p.toDisplayString(R.label),1)]),_:1},16,["data","current-node-key"])])])]),_:1}),p.createVNode(V,{span:18,class:"full-height",style:{"padding-left":"10px",display:"flex","flex-direction":"column"}},{default:p.withCtx(()=>[p.createElementVNode("div",ZPt,p.toDisplayString(p.unref(_).i18nt("designer.hint.actionParamSetting")),1),p.createElementVNode("div",GPt,[p.createElementVNode("div",OPt,[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(S.value),p.mergeProps(i.value,{ref_key:"editorRef",ref:x}),null,16))])])]),_:1})]),_:1})}}}),Ren="",TPt=Object.freeze(Object.defineProperty({__proto__:null,default:Ei(zPt,[["__scopeId","data-v-6079e32d"]])},Symbol.toStringTag,{value:"Module"})),WPt=p.defineComponent({__name:"index",props:{...bs,widgetList:{type:Array}},setup(t,{expose:e}){var g;const n=t,{propClearVariable:i}=oc(n),{loadSchemaData:r}=hp({pageConfig:n.pageConfig}),o=Ce.getSchemaData(Ce.get(n.optionModel,(g=n.propConfig)==null?void 0:g.name)),a=p.ref(o),c=r();return e({save:()=>a.value,clear:()=>{i()}}),(u,I)=>(p.openBlock(),p.createBlock(rme,{"schema-list":p.unref(c),"all-fields":u.widgetList,modelValue:a.value,"onUpdate:modelValue":I[0]||(I[0]=C=>a.value=C)},null,8,["schema-list","all-fields","modelValue"]))}}),Yen="",VPt=Object.freeze(Object.defineProperty({__proto__:null,default:Ei(WPt,[["__scopeId","data-v-3be8c897"]])},Symbol.toStringTag,{value:"Module"})),BPt={class:"bold"},kPt={key:0,style:{margin:"10px"}},DPt={class:"var-item"},RPt={class:"var-title"},XPt={class:"var-capsule"},YPt=p.defineComponent({__name:"index",props:{...bs,optionItems:{type:Object},widgetList:{type:Object}},setup(t,{expose:e}){const n=t,i={setShow:"setHidden",setHidden:"setShow",setEnable:"setDisabled",setDisabled:"setEnable",setRequired:"setNoRequired",setNoRequired:"setRequired"},r=[{eventId:"setShow",label:_.i18nt("designer.setting.actionShowWidget"),event:jr.setHidden,args:{flag:!1}},{eventId:"setHidden",label:_.i18nt("designer.setting.actionHideWidget"),event:jr.setHidden,args:{flag:!0}},{eventId:"setEnable",label:_.i18nt("designer.setting.actionEnableWidget"),event:jr.setDisabled,args:{flag:!1}},{eventId:"setDisabled",label:_.i18nt("designer.setting.actionDisableWidget"),event:jr.setDisabled,args:{flag:!0}},{eventId:"setRequired",label:_.i18nt("designer.setting.actionRequiredWidget"),event:jr.setRequired,args:{flag:!0}},{eventId:"setNoRequired",label:_.i18nt("designer.setting.actionNoRequiredWidget"),event:jr.setRequired,args:{flag:!1}},{eventId:"resetField",label:_.i18nt("designer.setting.actionResetWidget"),event:jr.resetField}],o=(C,h)=>{const A={};return C==null||C.map(d=>{var v;const f=Kt(d.value),m=h==null?void 0:h[f],w=m==null?void 0:m.result,y=m==null?void 0:m.checked,b={};(v=ki(w))==null||v.map(M=>{var x;b[M]=(x=w==null?void 0:w[M])==null?void 0:x.ids}),A[f]={checked:y||[],result:b||{}}}),A},a=C=>{var A,d;const h={};return(d=(A=ki(C))==null?void 0:A.filter(f=>{var m,w;return((w=(m=C[f])==null?void 0:m.checked)==null?void 0:w.length)>0}))==null||d.map(f=>{var y,b,v;const m=(y=C[f])==null?void 0:y.result,w={};(b=ki(m))==null||b.map(M=>{var x,S;if((S=(x=C[f])==null?void 0:x.checked)!=null&&S.includes(M)){const N=r==null?void 0:r.find(Z=>Z.eventId===M);w[M]={args:N==null?void 0:N.args,event:N==null?void 0:N.event,ids:m[M]}}}),h[f]={checked:(v=C[f])==null?void 0:v.checked,result:w}}),h},{propValue:c}=oc(n),s=Kt(c==null?void 0:c.value),l=p.ref(o(n.optionItems,s)),g=()=>{var h;const C=Nn(l.value);(h=Object.entries(l.value))==null||h.forEach(([A,d])=>{var w;const f={},m=[];(w=Object.entries(l.value))==null||w.forEach(([y,b])=>{var v;A===y||!(b!=null&&b.result)||(v=Object.entries(b==null?void 0:b.result))==null||v.forEach(([M,x])=>{const S=i[M];if(!S||!x)return;const N={[S]:x};Fn(f,N),m.push(S)})}),C[A]={checked:Fn(m,d==null?void 0:d.checked),result:Fn(f,d==null?void 0:d.result)}}),l.value=C},u=()=>{l.value=o(n.optionItems,{})};return e({save:()=>a(l.value)}),(C,h)=>{const A=p.resolveComponent("el-col"),d=p.resolveComponent("el-button"),f=p.resolveComponent("el-row"),m=p.resolveComponent("el-checkbox"),w=p.resolveComponent("el-checkbox-group"),y=p.resolveComponent("el-tag"),b=p.resolveComponent("el-tree-select");return p.openBlock(),p.createElementBlock(p.Fragment,null,[p.createVNode(f,{class:"row"},{default:p.withCtx(()=>[p.createVNode(A,{span:4,class:"col bold"},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(_).i18nt("designer.hint.option")),1)]),_:1}),p.createVNode(A,{span:20,class:"col flexJustify"},{default:p.withCtx(()=>[p.createElementVNode("span",BPt,p.toDisplayString(p.unref(_).i18nt("designer.hint.relateWidget")),1),p.createElementVNode("span",null,[p.createTextVNode(p.toDisplayString(p.unref(_).i18nt("designer.hint.autoRelateTip"))+" ",1),p.createVNode(d,{onClick:g,type:"primary",plain:""},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(_).i18nt("designer.hint.autoRelate")),1)]),_:1}),p.createVNode(d,{onClick:u,type:"danger",plain:""},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(_).i18nt("designer.hint.removeRelate")),1)]),_:1})])]),_:1})]),_:1}),(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(t.optionItems,v=>(p.openBlock(),p.createBlock(f,{class:"row"},{default:p.withCtx(()=>[p.createVNode(A,{class:"col",span:4},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(v.label),1)]),_:2},1024),p.createVNode(A,{class:"col",span:20},{default:p.withCtx(()=>[(p.openBlock(),p.createBlock(w,{modelValue:l.value[v.value].checked,"onUpdate:modelValue":M=>l.value[v.value].checked=M,key:v.value},{default:p.withCtx(()=>[(p.openBlock(),p.createElementBlock(p.Fragment,null,p.renderList(r,M=>p.createVNode(m,{label:M==null?void 0:M.label,value:M==null?void 0:M.eventId},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue"])),(p.openBlock(),p.createElementBlock(p.Fragment,null,p.renderList(r,M=>{var x,S;return p.openBlock(),p.createElementBlock(p.Fragment,null,[(S=(x=l.value[v.value])==null?void 0:x.checked)!=null&&S.includes(M==null?void 0:M.eventId)?(p.openBlock(),p.createElementBlock("div",kPt,[p.createVNode(b,{"default-expand-all":"","highlight-current":"",modelValue:l.value[v.value].result[M.eventId],"onUpdate:modelValue":N=>l.value[v.value].result[M.eventId]=N,data:t.widgetList,"node-key":"id",label:"label","render-after-expand":!1,"check-strictly":!0,"expand-on-click-node":!1,"value-key":"id",multiple:!0,"show-checkbox":!0},{prefix:p.withCtx(()=>[p.createVNode(y,null,{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(M==null?void 0:M.label),1)]),_:2},1024)]),default:p.withCtx(({node:N,data:Z})=>[p.createElementVNode("span",DPt,[p.createElementVNode("span",RPt,p.toDisplayString(Z.label),1),p.createElementVNode("span",XPt,p.toDisplayString(p.unref(_).i18nt(`designer.widgetLabel.${Z.type}`,Z.type)),1)])]),_:2},1032,["modelValue","onUpdate:modelValue","data"])])):p.createCommentVNode("",!0)],64)}),64))]),_:2},1024)]),_:2},1024))),256))],64)}}}),Hen="",EPt=Object.freeze(Object.defineProperty({__proto__:null,default:Ei(YPt,[["__scopeId","data-v-9b734bb4"]])},Symbol.toStringTag,{value:"Module"})),HPt=p.defineComponent({__name:"index",props:{...bs,getFunc:{type:Function,default:void 0},setFunc:{type:Function,default:void 0}},setup(t,{expose:e}){const n=t,{saveCode:i}=oc(n),r=p.shallowRef(),o=()=>{r.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>Qfe))},a=p.ref(),c=()=>{const u=i(l.value);return n.setFunc?n.setFunc(u):u},s=p.ref({}),l=p.ref(),g=()=>{var I;const{initCode:u}=oc(n);s.value=u(n==null?void 0:n.getFunc),l.value=(I=s==null?void 0:s.value)==null?void 0:I.curValue,o()};return p.onMounted(()=>{g()}),e({save:c}),(u,I)=>(p.openBlock(),p.createBlock(p.resolveDynamicComponent(r.value),{modelValue:l.value,"onUpdate:modelValue":I[0]||(I[0]=C=>l.value=C),ref_key:"editorRef",ref:a},null,8,["modelValue"]))}}),Len="",FPt=Object.freeze(Object.defineProperty({__proto__:null,default:HPt},Symbol.toStringTag,{value:"Module"}));class Cve{static getDesignerBind(){return[]}static getSystemAPI(e){const n={};return ih==null||ih.forEach(i=>{var r;(r=i.children)==null||r.forEach(o=>{var a,c;n[o.label]=new pn("snippet",o.label,o.caller||"",`${o.comment}
|
|
5015
|
+
}`,{label:"class",detail:"definition",type:"keyword"}),Tc('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Tc('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],k7t=tve.concat([Tc("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),Tc("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),Tc("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),nve=new t_t,ive=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function VM(t){return(e,n)=>{let i=e.node.getChild("VariableDefinition");return i&&n(i,t),!0}}const D7t=["FunctionDeclaration"],R7t={FunctionDeclaration:VM("function"),ClassDeclaration:VM("class"),ClassExpression:()=>!0,EnumDeclaration:VM("constant"),TypeAliasDeclaration:VM("type"),NamespaceDeclaration:VM("namespace"),VariableDefinition(t,e){t.matchContext(D7t)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function rve(t,e){let n=nve.get(e);if(n)return n;let i=[],r=!0;function o(a,c){let s=t.sliceString(a.from,a.to);i.push({label:s,type:c})}return e.cursor(us.IncludeAnonymous).iterate(a=>{if(r)r=!1;else if(a.name){let c=R7t[a.name];if(c&&c(a,o)||ive.has(a.name))return!1}else if(a.to-a.from>8192){for(let c of rve(t,a.node))i.push(c);return!1}}),nve.set(e,i),i}const ave=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,ove=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function X7t(t){let e=Is(t.state).resolveInner(t.pos,-1);if(ove.indexOf(e.name)>-1)return null;let n=e.name=="VariableName"||e.to-e.from<20&&ave.test(t.state.sliceDoc(e.from,e.to));if(!n&&!t.explicit)return null;let i=[];for(let r=e;r;r=r.parent)ive.has(r.name)&&(i=i.concat(rve(t.state.doc,r)));return{options:i,from:n?e.from:t.pos,validFor:ave}}const zf=bT.define({name:"javascript",parser:B7t.configure({props:[Qye.add({IfStatement:hK({except:/^\s*({|else\b)/}),TryStatement:hK({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:b_t,SwitchBody:t=>{let e=t.textAfter,n=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return t.baseIndent+(n?0:i?1:2)*t.unit},Block:y_t({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":hK({except:/^\s*{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),e1e.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":x_t,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),sve={test:t=>/^JSX/.test(t.name),facet:_ye({commentTokens:{block:{open:"{/*",close:"*/}"}}})},Y7t=zf.configure({dialect:"ts"},"typescript"),E7t=zf.configure({dialect:"jsx",props:[uK.add(t=>t.isTop?[sve]:void 0)]}),H7t=zf.configure({dialect:"jsx ts",props:[uK.add(t=>t.isTop?[sve]:void 0)]},"typescript");let lve=t=>({label:t,type:"keyword"});const cve="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(lve),F7t=cve.concat(["declare","implements","private","protected","public"].map(lve));function L7t(t={}){let e=t.jsx?t.typescript?H7t:E7t:t.typescript?Y7t:zf,n=t.typescript?k7t.concat(F7t):tve.concat(cve);return new C_t(e,[zf.data.of({autocomplete:Y8t(ove,pbe(n))}),zf.data.of({autocomplete:X7t}),t.jsx?_7t:[]])}function J7t(t){for(;;){if(t.name=="JSXOpenTag"||t.name=="JSXSelfClosingTag"||t.name=="JSXFragmentTag")return t;if(t.name=="JSXEscape"||!t.parent)return null;t=t.parent}}function gve(t,e,n=t.length){for(let i=e==null?void 0:e.firstChild;i;i=i.nextSibling)if(i.name=="JSXIdentifier"||i.name=="JSXBuiltin"||i.name=="JSXNamespacedName"||i.name=="JSXMemberExpression")return t.sliceString(i.from,Math.min(i.to,n));return""}const K7t=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),_7t=oi.inputHandler.of((t,e,n,i,r)=>{if((K7t?t.composing:t.compositionStarted)||t.state.readOnly||e!=n||i!=">"&&i!="/"||!zf.isActiveAt(t.state,e,-1))return!1;let o=r(),{state:a}=o,c=a.changeByRange(s=>{var l;let{head:g}=s,u=Is(a).resolveInner(g-1,-1),I;if(u.name=="JSXStartTag"&&(u=u.parent),!(a.doc.sliceString(g-1,g)!=i||u.name=="JSXAttributeValue"&&u.to>g)){if(i==">"&&u.name=="JSXFragmentTag")return{range:s,changes:{from:g,insert:"</>"}};if(i=="/"&&u.name=="JSXStartCloseTag"){let C=u.parent,h=C.parent;if(h&&C.from==g-2&&((I=gve(a.doc,h.firstChild,g))||((l=h.firstChild)===null||l===void 0?void 0:l.name)=="JSXFragmentTag")){let A=`${I}>`;return{range:ln.cursor(g+A.length,-1),changes:{from:g,insert:A}}}}else if(i==">"){let C=J7t(u);if(C&&C.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(a.doc.sliceString(g,g+2))&&(I=gve(a.doc,C,g)))return{range:s,changes:{from:g,insert:`</${I}>`}}}}return{range:s}});return c.changes.empty?!1:(t.dispatch([o,a.update(c,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});class j7t extends AI{constructor(n,i,r){super();E(this,"content");E(this,"className","");E(this,"elementWrap","span");this.content=n,this.className=i,this.elementWrap=r}eq(n){return this.content===n.content}toDOM(){let n=document.createElement(this.elementWrap);return n.className=this.className,n.textContent=this.content,n}ignoreEvent(n){return!1}}const e6=(t,e,n,i="span")=>{const r=new fye({regexp:t,decoration:o=>Zi.replace({widget:new j7t(n==null?void 0:n(o),e,i)})});return zo.fromClass(class{constructor(o){E(this,"placeholders");this.placeholders=r.createDeco(o)}update(o){this.placeholders=r.updateDeco(o,this.placeholders)}},{decorations:o=>o.placeholders,provide:o=>oi.atomicRanges.of(a=>{var c;return((c=a.plugin(o))==null?void 0:c.placeholders)||Zi.none})})},U7t=p.defineComponent({__name:"index",props:{modelValue:{},height:{default:"200px"},gutters:{type:Boolean},beatifyFn:{},unBeatifyFn:{}},emits:["update:modelValue","focused"],setup(t,{expose:e,emit:n}){p.useCssVars(Z=>({v0e6bbccc:N.value}));const i=t,r=n,{variableLabelExp:o}=o_(),a=DW(),{functionExp:c,variableIdentity:s}=QM(),l=[L7t(),e6(a.variableExp,"cm-var",function(Z){return Z[1]}),e6(o,"cm-field",function(Z){return Z[1]}),e6(c,"cm-func",function(Z){return Z[1]})],g=p.shallowRef(),u=p.ref(i.modelValue),I=p.ref(),C=p.computed({get:()=>{var Z;return((Z=i.beatifyFn)==null?void 0:Z.call(i,u.value))||u.value},set:Z=>{var G;u.value=((G=i.unBeatifyFn)==null?void 0:G.call(i,Z))||Z}});let h=p.reactive({});const A=Z=>{var X,D,R;const G=Z==null?void 0:Z.state;if(!G)return;const O=(X=G==null?void 0:G.selection)==null?void 0:X.ranges,T=O==null?void 0:O[0].anchor,W=(D=G==null?void 0:G.doc)==null?void 0:D.length,V=(R=G==null?void 0:G.doc)==null?void 0:R.lines;return h.length=W,h.cursor=T,h.lines=V,h.ranges=Nn(O),h},d=Z=>(A(Z),r("update:modelValue",u.value),!0),f=Z=>{g.value=Z.view,x()},m=()=>{r("focused")},w=()=>{const Z=S(h.lines||0);return{line:h.lines,ch:(h.cursor||0)-((Z==null?void 0:Z.from)||0)}},y=Z=>{var T;if(!Z||!Z.line||!Z.ch)return;const G=S(Z.line);var O=((G==null?void 0:G.from)||0)+Z.ch;(T=g.value)==null||T.dispatch({selection:ln.range(O,O)})},b=Z=>{var G,O;(O=g.value)==null||O.dispatch((G=g.value)==null?void 0:G.state.replaceSelection(Z))},v=(Z,G)=>{switch(G){case"variable":{const O=w();b(Z);const T=w();p.nextTick(()=>{var V;const W=(V=C.value)==null?void 0:V.indexOf(s,T.ch);y({line:O.line,ch:W+(s==null?void 0:s.length)})});break}case"function":{b(`${Z}`);const O=w();O&&O.ch&&y({line:O.line,ch:O.ch-1});break}default:typeof Z=="string"&&b(Z)}M()},M=()=>{var Z;(Z=g.value)==null||Z.focus()},x=(Z=0)=>{var W;var G=(W=g.value)==null?void 0:W.state.doc.lines,O=S(G||0),T=((O==null?void 0:O.to)||0)-((O==null?void 0:O.from)||0);y({line:G,ch:T>Z?T-Z:T}),M()},S=Z=>{var G;return(G=g.value)==null?void 0:G.state.doc.line(Z)},N=p.computed(()=>i.gutters?"block":"none");return e({insertContent:v,focus:x}),(Z,G)=>(p.openBlock(),p.createBlock(p.unref(UUt),{ref_key:"codeEditor",ref:I,modelValue:C.value,"onUpdate:modelValue":G[0]||(G[0]=O=>C.value=O),style:p.normalizeStyle({height:t.height,overflow:"auto"}),autofocus:!0,"indent-with-tab":!0,"tab-size":2,extensions:l,onReady:f,onFocus:m,onUpdate:d},null,8,["modelValue","style"]))}}),ken="",uve=Ei(U7t,[["__scopeId","data-v-58d91d7e"]]),Ive=Object.freeze(Object.defineProperty({__proto__:null,default:uve},Symbol.toStringTag,{value:"Module"})),P7t={id:"formulaPage"},Q7t={class:"page"},q7t={class:"card"},$7t={class:"card_header"},ePt={class:"card_body"},tPt={class:"card"},nPt={class:"card_header"},iPt={class:"card_body"},rPt={class:"card-search"},aPt={class:"var-item"},oPt={class:"var-title"},sPt={class:"var-capsule"},lPt={class:"card"},cPt={class:"card_header"},gPt={class:"card_body"},uPt={class:"card-search"},IPt=["onMouseover"],CPt={class:"card"},dPt={class:"card_header"},hPt={class:"card_body"},pPt={class:"text"},APt=["innerHTML"],fPt=p.defineComponent({__name:"formula",props:{currentField:{},allFields:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){p.useCssVars(Z=>({v0c79b261:p.unref(S)}));const n=t,i=e,r={children:"children",label:"label",comment:"comment",caller:"caller"},o=p.ref(n.modelValue),a=p.ref(),c=p.ref();c.value={filterNodeMethod:(Z,G)=>{var O;return Z?(O=G.label)==null?void 0:O.toLocaleLowerCase().includes(Z==null?void 0:Z.toLocaleLowerCase()):!0}};const s=p.ref(""),l=p.ref();p.watch(s,Z=>{l.value.filter(Z)});const g=p.ref(""),u=p.ref();p.watch(g,Z=>{u.value.filter(Z)});const I=p.ref(),C=(Z,G)=>{if(!G.isLeaf)return;const{buildVariable:O}=WC(),T=O(Z.id);a.value.insertContent(T,"variable")},h=(Z,G)=>{A(Z.label,Z.comment,G.isLeaf)},A=(Z,G,O)=>{O||(G=_.i18nt("designer.expression.formulaFunction")),G=Bu(G,`${Z}`,`<span class="cm-func">${Z}</span>`),I.value={title:Z,comment:Qx(G)}},d=(Z,G)=>{A(Z.label,Z.comment,G.isLeaf),G.isLeaf&&a.value.insertContent(Z.caller,"function")},f=Kt(ih),m=Kt(n==null?void 0:n.allFields),w=()=>{i("update:modelValue",o.value)},y=()=>{let Z={};const G=n1(m,"children");return G==null||G.forEach(O=>Z[O.id]=O.label),Z},{buildVariableWithLabel:b,removeVariableWithLabel:v}=QM(),M=Z=>b(Z||"",y()),x=Z=>v(Z||"",y()),{pageHeight:S,getComputedHeight:N}=q7();return N("#formulaPage"),(Z,G)=>{const O=p.resolveComponent("el-col"),T=p.resolveComponent("el-row"),W=p.resolveComponent("el-input");return p.openBlock(),p.createElementBlock("div",P7t,[p.createElementVNode("div",Q7t,[p.createVNode(T,{class:"header"},{default:p.withCtx(()=>[p.createVNode(O,{span:24},{default:p.withCtx(()=>{var V;return[p.createElementVNode("div",q7t,[p.createElementVNode("div",$7t,[p.createElementVNode("span",null,p.toDisplayString((V=t.currentField)==null?void 0:V.label),1)]),p.createElementVNode("div",ePt,[p.createVNode(uve,{modelValue:o.value,"onUpdate:modelValue":[G[0]||(G[0]=X=>o.value=X),w],ref_key:"FormulaEditorRef",ref:a,height:"100%",gutters:!1,"beatify-fn":M,"un-beatify-fn":x},null,8,["modelValue"])])])]}),_:1})]),_:1}),p.createVNode(T,{class:"main",gutter:10},{default:p.withCtx(()=>[p.createVNode(O,{span:7},{default:p.withCtx(()=>[p.createElementVNode("div",tPt,[p.createElementVNode("div",nPt,[p.createElementVNode("span",null,p.toDisplayString(p.unref(_).i18nt("designer.expression.allFields")),1)]),p.createElementVNode("div",iPt,[p.createElementVNode("div",rPt,[p.createVNode(W,{modelValue:g.value,"onUpdate:modelValue":G[1]||(G[1]=V=>g.value=V),placeholder:p.unref(_).i18nt("designer.hint.filterInput"),"suffix-icon":p.unref(Cb)},null,8,["modelValue","placeholder","suffix-icon"])]),p.createVNode(p.unref(Wi.ElTree),p.mergeProps({ref_key:"formulaRef",ref:u,data:p.unref(m),props:r},c.value,{onNodeClick:C}),{default:p.withCtx(({node:V,data:X})=>[p.createElementVNode("span",aPt,[p.createElementVNode("span",oPt,p.toDisplayString(X.label),1),p.createElementVNode("span",sPt,p.toDisplayString(p.unref(_).i18nt(`designer.widgetLabel.${X.type}`,X.type)),1)])]),_:1},16,["data"])])])]),_:1}),p.createVNode(O,{span:7},{default:p.withCtx(()=>[p.createElementVNode("div",lPt,[p.createElementVNode("div",cPt,[p.createElementVNode("span",null,p.toDisplayString(p.unref(_).i18nt("designer.expression.allFormulas")),1)]),p.createElementVNode("div",gPt,[p.createElementVNode("div",uPt,[p.createVNode(W,{modelValue:s.value,"onUpdate:modelValue":G[2]||(G[2]=V=>s.value=V),placeholder:p.unref(_).i18nt("designer.hint.filterInput"),"suffix-icon":p.unref(Cb)},null,8,["modelValue","placeholder","suffix-icon"])]),p.createVNode(p.unref(Wi.ElTree),p.mergeProps({ref_key:"functionRef",ref:l,data:p.unref(f),props:r},c.value,{onNodeClick:d}),{default:p.withCtx(({node:V,data:X})=>[p.createElementVNode("div",{onMouseover:D=>h(X,V),class:"full-width"},p.toDisplayString(X.label),41,IPt)]),_:1},16,["data"])])])]),_:1}),p.createVNode(O,{span:10},{default:p.withCtx(()=>{var V,X;return[p.createElementVNode("div",CPt,[p.createElementVNode("div",dPt,[p.createElementVNode("span",null,p.toDisplayString((V=I.value)==null?void 0:V.title),1)]),p.createElementVNode("div",hPt,[p.createElementVNode("div",pPt,[p.createElementVNode("div",{innerHTML:(X=I.value)==null?void 0:X.comment},null,8,APt)])])])]}),_:1})]),_:1})])])}}}),Den="",mPt=Ei(fPt,[["__scopeId","data-v-c780c70e"]]),wPt=p.defineComponent({__name:"index",props:{...bs,widgetList:{type:Array},currentField:{type:Object}},setup(t,{expose:e}){var a,c;const n=t,i=Ce.getFormula((c=n.optionModel)==null?void 0:c[(a=n.propConfig)==null?void 0:a.name])||"",r=p.ref(i);return e({save:()=>r.value}),(s,l)=>(p.openBlock(),p.createBlock(mPt,{"all-fields":s.widgetList,"current-field":s.currentField,modelValue:r.value,"onUpdate:modelValue":l[0]||(l[0]=g=>r.value=g)},null,8,["all-fields","current-field","modelValue"]))}}),yPt=Object.freeze(Object.defineProperty({__proto__:null,default:wPt},Symbol.toStringTag,{value:"Module"})),bPt={class:"varTitle"},vPt={class:"varCell cellRow"},NPt={class:"splitCell"},MPt={class:"splitCell"},xPt={class:"card-search"},SPt={class:"full-width"},ZPt={class:"varTitle"},GPt={class:"varCell1 cellColumn1",style:{height:"calc(100% - 1.5em * 4)",flex:"1",overflow:"auto"}},OPt={class:"splitCell1",style:{height:"97%"}},zPt=p.defineComponent({__name:"index",props:{...bs},setup(t,{expose:e}){const n=t,i=p.ref(),{propClearVariable:r,propModel:o}=oc(n),{getNodeTree:a}=Vs(n.designer),{loadSchemaData:c}=hp({pageConfig:n.pageConfig}),s={id:"id",label:"label",children:"children"},l=p.ref();l.value={filterNodeMethod:(O,T)=>{var W;return O?(W=T.label)==null?void 0:W.toLocaleLowerCase().includes(O==null?void 0:O.toLocaleLowerCase()):!0}};const g=Kt([{id:"actionPage",label:_.i18nt("designer.setting.actionJS"),children:[{id:"actionCode",label:_.i18nt("designer.setting.actionCode")}]},{id:"actionInner",label:_.i18nt("designer.setting.actionInner"),children:[{id:ya.actionURL,label:_.i18nt("designer.setting.actionURL")},{id:ya.actionOpenDialog,label:_.i18nt("designer.setting.actionOpenDialog")},{id:ya.actionCloseDialog,label:_.i18nt("designer.setting.actionCloseDialog")},{id:ya.actionShowWidget,label:_.i18nt("designer.setting.actionShowWidget")},{id:ya.actionHideWidget,label:_.i18nt("designer.setting.actionHideWidget")},{id:ya.actionSendSchema,label:_.i18nt("designer.setting.actionSendSchema")},{id:ya.actionSaveFormData,label:_.i18nt("designer.setting.actionSaveFormData")}]}]),u=Kt(g.map(O=>({label:O.label,id:O.id}))),I=O=>{var T=g.find(W=>W.id===O);m.value=T==null?void 0:T.children},C=(O,T)=>{I(O.id)},h=p.ref(),A=p.ref(),d=p.ref(),f=()=>{var W,V,X,D,R,L;var O=(V=(W=o==null?void 0:o.value)==null?void 0:W.value)==null?void 0:V.type;if(O){var T=g==null?void 0:g.find(Y=>{var H;var B=(H=Y.children)==null?void 0:H.filter(F=>F.id===O);return(B==null?void 0:B.length)||0>0});A.value=T==null?void 0:T.id,d.value=O}else A.value=(X=g==null?void 0:g[0])==null?void 0:X.id,d.value=(L=(R=(D=g==null?void 0:g[0])==null?void 0:D.children)==null?void 0:R[0])==null?void 0:L.id};p.watch(A,O=>{p.nextTick(function(){h.value.setCurrentKey(O),I(O),p.nextTick(function(){var T,W,V;(T=M.value)==null||T.setCurrentKey(d.value),N(d.value,(V=(W=o==null?void 0:o.value)==null?void 0:W.value)==null?void 0:V.content)})})});const m=p.ref(),w=p.ref(),y=(O,T)=>{w.value=O==null?void 0:O.id,N(w.value,null)},b=(O,T)=>{var W,V;w.value=O==null?void 0:O.id,N(w.value,(V=(W=o==null?void 0:o.value)==null?void 0:W.value)==null?void 0:V.content)},v=p.ref(""),M=p.ref();p.watch(v,O=>{M.value.filter(O)});const x=p.ref(),S=p.shallowRef(),N=(O,T)=>{var V,X,D,R;const W=(X=(V=a())==null?void 0:V[0])==null?void 0:X.children;switch(O){case ya.actionURL:{i.value={attrs:T||{}},S.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>UPt));break}case ya.actionOpenDialog:case ya.actionCloseDialog:{i.value={attrs:T||{},widgetList:W},S.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>PPt));break}case ya.actionShowWidget:case ya.actionHideWidget:{i.value={attrs:T||{},widgetList:W},S.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>eQt));break}case ya.actionSendSchema:{const L=c();i.value={attrs:T||{},widgetList:(D=n.otherConfig)==null?void 0:D.widgetList,sourceList:L==null?void 0:L.filter(Y=>Y.protocal===pa.REMOTE)},S.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>aQt));break}case ya.actionCode:{i.value=n,S.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>sQt));break}case ya.actionSaveFormData:{const L=c();i.value={attrs:T||{},widgetList:W,fieldWidgetList:(R=n.otherConfig)==null?void 0:R.widgetList,sourceList:L==null?void 0:L.filter(Y=>Y.protocal===pa.REMOTE)},S.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>cQt));break}}},Z=()=>{var T,W,V;return i.value=(T=x==null?void 0:x.value)==null?void 0:T.save(),{type:(V=(W=M==null?void 0:M.value)==null?void 0:W.getCurrentNode())==null?void 0:V.id,content:i.value}},G=()=>{r()};return p.onMounted(()=>{f()}),e({save:Z,clear:G}),(O,T)=>{const W=p.resolveComponent("el-input"),V=p.resolveComponent("el-col"),X=p.resolveComponent("el-row");return p.openBlock(),p.createBlock(X,{class:"full-height nomargin noOverflow"},{default:p.withCtx(()=>[p.createVNode(V,{span:6},{default:p.withCtx(()=>[p.createElementVNode("div",bPt,p.toDisplayString(p.unref(_).i18nt("designer.hint.responseAction")),1),p.createElementVNode("div",vPt,[p.createElementVNode("div",NPt,[p.createVNode(p.unref(Wi.ElTree),{"node-key":"id","highlight-current":"","current-node-key":A.value,data:p.unref(u),props:s,ref_key:"varTypeRef",ref:h,onCurrentChange:C,onNodeClick:C},null,8,["current-node-key","data"])]),p.createElementVNode("div",MPt,[p.createElementVNode("div",xPt,[p.createVNode(W,{modelValue:v.value,"onUpdate:modelValue":T[0]||(T[0]=D=>v.value=D),placeholder:p.unref(_).i18nt("designer.hint.filterInput"),"suffix-icon":p.unref(Cb)},null,8,["modelValue","placeholder","suffix-icon"])]),p.createVNode(p.unref(Wi.ElTree),p.mergeProps({"node-key":"id",ref_key:"varSourceRef",ref:M,"highlight-current":"",data:m.value,"current-node-key":d.value,props:s,onNodeClick:y,onCurrentChange:b},l.value),{default:p.withCtx(({node:D,data:R})=>[p.createElementVNode("div",SPt,p.toDisplayString(R.label),1)]),_:1},16,["data","current-node-key"])])])]),_:1}),p.createVNode(V,{span:18,class:"full-height",style:{"padding-left":"10px",display:"flex","flex-direction":"column"}},{default:p.withCtx(()=>[p.createElementVNode("div",ZPt,p.toDisplayString(p.unref(_).i18nt("designer.hint.actionParamSetting")),1),p.createElementVNode("div",GPt,[p.createElementVNode("div",OPt,[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(S.value),p.mergeProps(i.value,{ref_key:"editorRef",ref:x}),null,16))])])]),_:1})]),_:1})}}}),Ren="",TPt=Object.freeze(Object.defineProperty({__proto__:null,default:Ei(zPt,[["__scopeId","data-v-8892780f"]])},Symbol.toStringTag,{value:"Module"})),WPt=p.defineComponent({__name:"index",props:{...bs,widgetList:{type:Array}},setup(t,{expose:e}){var g;const n=t,{propClearVariable:i}=oc(n),{loadSchemaData:r}=hp({pageConfig:n.pageConfig}),o=Ce.getSchemaData(Ce.get(n.optionModel,(g=n.propConfig)==null?void 0:g.name)),a=p.ref(o),c=r();return e({save:()=>a.value,clear:()=>{i()}}),(u,I)=>(p.openBlock(),p.createBlock(rme,{"schema-list":p.unref(c),"all-fields":u.widgetList,modelValue:a.value,"onUpdate:modelValue":I[0]||(I[0]=C=>a.value=C)},null,8,["schema-list","all-fields","modelValue"]))}}),Yen="",VPt=Object.freeze(Object.defineProperty({__proto__:null,default:Ei(WPt,[["__scopeId","data-v-3be8c897"]])},Symbol.toStringTag,{value:"Module"})),BPt={class:"bold"},kPt={key:0,style:{margin:"10px"}},DPt={class:"var-item"},RPt={class:"var-title"},XPt={class:"var-capsule"},YPt=p.defineComponent({__name:"index",props:{...bs,optionItems:{type:Object},widgetList:{type:Object}},setup(t,{expose:e}){const n=t,i={setShow:"setHidden",setHidden:"setShow",setEnable:"setDisabled",setDisabled:"setEnable",setRequired:"setNoRequired",setNoRequired:"setRequired"},r=[{eventId:"setShow",label:_.i18nt("designer.setting.actionShowWidget"),event:jr.setHidden,args:{flag:!1}},{eventId:"setHidden",label:_.i18nt("designer.setting.actionHideWidget"),event:jr.setHidden,args:{flag:!0}},{eventId:"setEnable",label:_.i18nt("designer.setting.actionEnableWidget"),event:jr.setDisabled,args:{flag:!1}},{eventId:"setDisabled",label:_.i18nt("designer.setting.actionDisableWidget"),event:jr.setDisabled,args:{flag:!0}},{eventId:"setRequired",label:_.i18nt("designer.setting.actionRequiredWidget"),event:jr.setRequired,args:{flag:!0}},{eventId:"setNoRequired",label:_.i18nt("designer.setting.actionNoRequiredWidget"),event:jr.setRequired,args:{flag:!1}},{eventId:"resetField",label:_.i18nt("designer.setting.actionResetWidget"),event:jr.resetField}],o=(C,h)=>{const A={};return C==null||C.map(d=>{var v;const f=Kt(d.value),m=h==null?void 0:h[f],w=m==null?void 0:m.result,y=m==null?void 0:m.checked,b={};(v=ki(w))==null||v.map(M=>{var x;b[M]=(x=w==null?void 0:w[M])==null?void 0:x.ids}),A[f]={checked:y||[],result:b||{}}}),A},a=C=>{var A,d;const h={};return(d=(A=ki(C))==null?void 0:A.filter(f=>{var m,w;return((w=(m=C[f])==null?void 0:m.checked)==null?void 0:w.length)>0}))==null||d.map(f=>{var y,b,v;const m=(y=C[f])==null?void 0:y.result,w={};(b=ki(m))==null||b.map(M=>{var x,S;if((S=(x=C[f])==null?void 0:x.checked)!=null&&S.includes(M)){const N=r==null?void 0:r.find(Z=>Z.eventId===M);w[M]={args:N==null?void 0:N.args,event:N==null?void 0:N.event,ids:m[M]}}}),h[f]={checked:(v=C[f])==null?void 0:v.checked,result:w}}),h},{propValue:c}=oc(n),s=Kt(c==null?void 0:c.value),l=p.ref(o(n.optionItems,s)),g=()=>{var h;const C=Nn(l.value);(h=Object.entries(l.value))==null||h.forEach(([A,d])=>{var w;const f={},m=[];(w=Object.entries(l.value))==null||w.forEach(([y,b])=>{var v;A===y||!(b!=null&&b.result)||(v=Object.entries(b==null?void 0:b.result))==null||v.forEach(([M,x])=>{const S=i[M];if(!S||!x)return;const N={[S]:x};Fn(f,N),m.push(S)})}),C[A]={checked:Fn(m,d==null?void 0:d.checked),result:Fn(f,d==null?void 0:d.result)}}),l.value=C},u=()=>{l.value=o(n.optionItems,{})};return e({save:()=>a(l.value)}),(C,h)=>{const A=p.resolveComponent("el-col"),d=p.resolveComponent("el-button"),f=p.resolveComponent("el-row"),m=p.resolveComponent("el-checkbox"),w=p.resolveComponent("el-checkbox-group"),y=p.resolveComponent("el-tag"),b=p.resolveComponent("el-tree-select");return p.openBlock(),p.createElementBlock(p.Fragment,null,[p.createVNode(f,{class:"row"},{default:p.withCtx(()=>[p.createVNode(A,{span:4,class:"col bold"},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(_).i18nt("designer.hint.option")),1)]),_:1}),p.createVNode(A,{span:20,class:"col flexJustify"},{default:p.withCtx(()=>[p.createElementVNode("span",BPt,p.toDisplayString(p.unref(_).i18nt("designer.hint.relateWidget")),1),p.createElementVNode("span",null,[p.createTextVNode(p.toDisplayString(p.unref(_).i18nt("designer.hint.autoRelateTip"))+" ",1),p.createVNode(d,{onClick:g,type:"primary",plain:""},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(_).i18nt("designer.hint.autoRelate")),1)]),_:1}),p.createVNode(d,{onClick:u,type:"danger",plain:""},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(_).i18nt("designer.hint.removeRelate")),1)]),_:1})])]),_:1})]),_:1}),(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(t.optionItems,v=>(p.openBlock(),p.createBlock(f,{class:"row"},{default:p.withCtx(()=>[p.createVNode(A,{class:"col",span:4},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(v.label),1)]),_:2},1024),p.createVNode(A,{class:"col",span:20},{default:p.withCtx(()=>[(p.openBlock(),p.createBlock(w,{modelValue:l.value[v.value].checked,"onUpdate:modelValue":M=>l.value[v.value].checked=M,key:v.value},{default:p.withCtx(()=>[(p.openBlock(),p.createElementBlock(p.Fragment,null,p.renderList(r,M=>p.createVNode(m,{label:M==null?void 0:M.label,value:M==null?void 0:M.eventId},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue"])),(p.openBlock(),p.createElementBlock(p.Fragment,null,p.renderList(r,M=>{var x,S;return p.openBlock(),p.createElementBlock(p.Fragment,null,[(S=(x=l.value[v.value])==null?void 0:x.checked)!=null&&S.includes(M==null?void 0:M.eventId)?(p.openBlock(),p.createElementBlock("div",kPt,[p.createVNode(b,{"default-expand-all":"","highlight-current":"",modelValue:l.value[v.value].result[M.eventId],"onUpdate:modelValue":N=>l.value[v.value].result[M.eventId]=N,data:t.widgetList,"node-key":"id",label:"label","render-after-expand":!1,"check-strictly":!0,"expand-on-click-node":!1,"value-key":"id",multiple:!0,"show-checkbox":!0},{prefix:p.withCtx(()=>[p.createVNode(y,null,{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(M==null?void 0:M.label),1)]),_:2},1024)]),default:p.withCtx(({node:N,data:Z})=>[p.createElementVNode("span",DPt,[p.createElementVNode("span",RPt,p.toDisplayString(Z.label),1),p.createElementVNode("span",XPt,p.toDisplayString(p.unref(_).i18nt(`designer.widgetLabel.${Z.type}`,Z.type)),1)])]),_:2},1032,["modelValue","onUpdate:modelValue","data"])])):p.createCommentVNode("",!0)],64)}),64))]),_:2},1024)]),_:2},1024))),256))],64)}}}),Hen="",EPt=Object.freeze(Object.defineProperty({__proto__:null,default:Ei(YPt,[["__scopeId","data-v-9b734bb4"]])},Symbol.toStringTag,{value:"Module"})),HPt=p.defineComponent({__name:"index",props:{...bs,getFunc:{type:Function,default:void 0},setFunc:{type:Function,default:void 0}},setup(t,{expose:e}){const n=t,{saveCode:i}=oc(n),r=p.shallowRef(),o=()=>{r.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>Qfe))},a=p.ref(),c=()=>{const u=i(l.value);return n.setFunc?n.setFunc(u):u},s=p.ref({}),l=p.ref(),g=()=>{var I;const{initCode:u}=oc(n);s.value=u(n==null?void 0:n.getFunc),l.value=(I=s==null?void 0:s.value)==null?void 0:I.curValue,o()};return p.onMounted(()=>{g()}),e({save:c}),(u,I)=>(p.openBlock(),p.createBlock(p.resolveDynamicComponent(r.value),{modelValue:l.value,"onUpdate:modelValue":I[0]||(I[0]=C=>l.value=C),ref_key:"editorRef",ref:a},null,8,["modelValue"]))}}),Len="",FPt=Object.freeze(Object.defineProperty({__proto__:null,default:HPt},Symbol.toStringTag,{value:"Module"}));class Cve{static getDesignerBind(){return[]}static getSystemAPI(e){const n={};return ih==null||ih.forEach(i=>{var r;(r=i.children)==null||r.forEach(o=>{var a,c;n[o.label]=new pn("snippet",o.label,o.caller||"",`${o.comment}
|
|
5016
5016
|
@returns ${(a=o==null?void 0:o.returnType)==null?void 0:a.dataType} ${(c=o==null?void 0:o.returnType)==null?void 0:c.comment}`)})}),{window:{openModalAsync:new pn("snippet","openModalAsync","openModalAsync({ modalType:'dialog',htmlContent:''/*用于直接覆盖弹窗内部html内容,与url二选一即可*/,fullscreen:false,width:'90%',height:'90%',title:'dialog title',url:'#',hashRouter:false,dialogType:['save','cancel']/*save|cancel|close可多选*/,callback:{okCallback:(res)=>{/*保存的回调程序*/},cancelCallback:(res)=>{/*取消的回调程序*/}},exterOptions:{/*dialog|drawer|popover组件的内置配置参数*/}})",_.i18nt("ace.hint.openModalAsync")),top:{openModalAsync:new pn("snippet","openModalAsync","openModalAsync({ modalType:'dialog',htmlContent:''/*用于直接覆盖弹窗内部html内容,与url二选一即可*/,fullscreen:false,width:'90%',height:'90%',title:'dialog title',url:'#',hashRouter:false,dialogType:['save','cancel']/*save|cancel|close可多选*/,callback:{okCallback:(res)=>{/*保存的回调程序*/},cancelCallback:(res)=>{/*取消的回调程序*/}},exterOptions:{/*dialog|drawer|popover组件的内置配置参数*/}})",_.i18nt("ace.hint.openModalAsync"))},hlprint:new pn("snippet","hlprint","hlprint(componentuuids,[schemaParams],[compParams],[printOptions])",_.i18nt("ace.hint.hlprint")),hlprintbuild:new pn("snippet","hlprintbuild","hlprintbuild(componentuuids,[schemaParams],[compParams],[printOptions])",_.i18nt("ace.hint.hlprintbuild")),hlpreview:new pn("snippet","hlpreview","hlpreview(componentuuids,[schemaParams],[compParams],[printOptions])",_.i18nt("ace.hint.hlpreview")),hldownload:new pn("snippet","hldownload","hldownload(componentuuids,[schemaParams],compParams],[pdfOptions],[printOptions])",_.i18nt("ace.hint.hldownload"))},ctx:{instance:{exposed:{allRefList:new pn("args","allRefList","allRefList",_.i18nt("ace.hint.allRefList")),getField:new pn("snippet","getField","getField()",_.i18nt("ace.hint.getField")),getFormData:new pn("snippet","getFormData","getFormData()",_.i18nt("ace.hint.getFormData")),getValue:new pn("snippet","getValue","getValue()",_.i18nt("ace.hint.getValue")),setValue:new pn("snippet","setValue","setValue(newValue)",_.i18nt("ace.hint.setValue")),findRefByName:new pn("snippet","findRefByName","findRefByName(widgetName)",_.i18nt("ace.hint.findRefByName")),getWidgetOption:new pn("snippet","getWidgetOption","getWidgetOption()",_.i18nt("ace.hint.getWidgetOption")),setWidgetOption:new pn("snippet","setWidgetOption","setWidgetOption(optionName, optionValue)",_.i18nt("ace.hint.setWidgetOption")),refreshKey:new pn("snippet","refreshKey","refreshKey()",_.i18nt("ace.hint.refreshKey")),getRowScope:new pn("snippet","getRowScope","getRowScope()",_.i18nt("ace.hint.getRowScope")),getOneSchemaData:new pn("snippet","getOneSchemaData","getOneSchemaData(schemaName,data)",_.i18nt("ace.hint.getOneSchemaData")),getSchemaDatas:new pn("snippet","getSchemaDatas","getSchemaDatas(schemaNames,data,progressFn)",_.i18nt("ace.hint.getSchemaDatas")),getSchemaDataObject:new pn("snippet","getSchemaDataObject","getSchemaDataObject(schemaNames,data,progressFn)",_.i18nt("ace.hint.getSchemaDataObject")),getGlobalParams:new pn("snippet","getGlobalParams","getGlobalParams()",_.i18nt("ace.hint.getGlobalParams")),addCssClass:new pn("snippet","addCssClass","addCssClass(className)",_.i18nt("ace.hint.addCssClass")),removeCssClass:new pn("snippet","removeCssClass","removeCssClass(className)",_.i18nt("ace.hint.removeCssClass")),resetField:new pn("snippet","resetField","resetField()",_.i18nt("ace.hint.resetField")),refreshDefaultValue:new pn("snippet","refreshDefaultValue","refreshDefaultValue()",_.i18nt("ace.hint.refreshDefaultValue")),focus:new pn("snippet","focus","focus()",_.i18nt("ace.hint.focus")),blur:new pn("失去焦点","blur","blur()",_.i18nt("ace.hint.blur")),loadOptionItems:new pn("snippet","loadOptionItems","loadOptionItems(items)",_.i18nt("ace.hint.loadOptionItems")),getCheckedItems:new pn("snippet","getCheckedItems","getCheckedItems(value)",_.i18nt("ace.hint.getCheckedItems")),getCheckedLabels:new pn("snippet","getCheckedLabels","getCheckedLabels()",_.i18nt("ace.hint.getCheckedLabels")),setRequired:new pn("snippet","setRequired","setRequired(flag)",_.i18nt("ace.hint.setRequired")),setLabel:new pn("snippet","setLabel","setLabel(newLabel)",_.i18nt("ace.hint.setLabel")),setHidden:new pn("snippet","setHidden","setHidden(flag)",_.i18nt("ace.hint.setHidden")),setDisabled:new pn("snippet","setDisabled","setDisabled(flag)",_.i18nt("ace.hint.setDisabled")),setReadonly:new pn("snippet","setReadonly","setReadonly(flag)",_.i18nt("ace.hint.setReadonly"))}},compParams:e==null?void 0:e.compParams,util:{url:{buildUrl:new pn("snippet","buildUrl","buildUrl(url,params,options)",_.i18nt("ace.hint.buildUrl")),getBaseUrl:new pn("snippet","getBaseUrl","getBaseUrl(url)",_.i18nt("ace.hint.getBaseUrl")),getQueryParam:new pn("snippet","getQueryParam","getQueryParam(url,key)",_.i18nt("ace.hint.getQueryParam")),getLocationQueryParam:new pn("snippet","getLocationQueryParam","getLocationQueryParam(key)",_.i18nt("ace.hint.getLocationQueryParam")),getQueryParams:new pn("snippet","getQueryParams","getQueryParams(url)",_.i18nt("ace.hint.getQueryParams")),getLocationQueryParams:new pn("snippet","getLocationQueryParams","getLocationQueryParams()",_.i18nt("ace.hint.getLocationQueryParams")),buildUrlByLocalQuery:new pn("snippet","buildUrlByLocalQuery","buildUrlByLocalQuery(url)",_.i18nt("ace.hint.buildUrlByLocalQuery")),isUrl:new pn("snippet","isUrl","isUrl(url)",_.i18nt("ace.hint.isUrl")),refresh:new pn("snippet","refresh","refresh()",_.i18nt("ace.hint.refreshUrl")),resolveByCurrentUrl:new pn("snippet","resolveByCurrentUrl","resolveByCurrentUrl(relativePath, hashPre)",_.i18nt("ace.hint.resolveByCurrentUrl"))},cookie:{get:new pn("snippet","get","get(key)",_.i18nt("ace.hint.cookieGet")),set:new pn("snippet","set","set(key,value,minutes)",_.i18nt("ace.hint.cookieSet")),remove:new pn("snippet","remove","remove(key)",_.i18nt("ace.hint.cookieRemove")),getAll:new pn("snippet","getAll","getAll()",_.i18nt("ace.hint.cookieGetAll"))},localStorage:{get:new pn("snippet","set","set(key,value)",_.i18nt("ace.hint.localStorageGet")),set:new pn("snippet","set","set(key,value)",_.i18nt("ace.hint.localStorageSet")),remove:new pn("snippet","remove","remove(key)",_.i18nt("ace.hint.localStorageRemove"))},service:{req:new pn("snippet","req","req",_.i18nt("ace.hint.httpReq")),get:new pn("snippet","get","get",_.i18nt("ace.hint.httpGet")),post:new pn("snippet","post","post",_.i18nt("ace.hint.httpPost"))},excel:{exporting:new pn("args","exporting","exporting",_.i18nt("ace.hint.exporting")),exportExcel:new pn("snippet","exportExcel","exportExcel",_.i18nt("ace.hint.exportExcel"))},sysFunc:{...n,idCardInfo:{isValid:new pn("snippet","isValid","isValid(idcard)",_.i18nt("ace.hint.isIdcardValid")),convertTo18:new pn("snippet","convertTo18","convertTo18(idcard)",_.i18nt("ace.hint.convertToIdcard18")),getInfo:new pn("snippet","getInfo","getInfo(idcard)",_.i18nt("ace.hint.getIdcardInfo"))},uniqueBy:new pn("snippet","uniqueBy","uniqueBy(arr, keys)",_.i18nt("ace.hint.uniqueBy")),sortBy:new pn("snippet","sortBy","sortBy(arr,criteria)",_.i18nt("ace.hint.sortBy")),groupBy:new pn("snippet","groupBy","groupBy(arr,keySelector)",_.i18nt("ace.hint.groupBy")),pageBy:new pn("snippet","pageBy","pageBy(arr,currentPage,pageSize)",_.i18nt("ace.hint.pageBy")),sequential:new pn("snippet","sequential","sequential(tasks,callback)",_.i18nt("ace.hint.sequential"))},window:{openWindow:new pn("snippet","openWindow","openWindow(url,options,window,withQuery)",_.i18nt("ace.hint.openWindow")),findUp:new pn("snippet","findUp","findUp(startWindow,targetId, {includeSelf:true})",_.i18nt("ace.hint.findUpWindow")),findDown:new pn("snippet","findDown","findDown(rootWindow,targetId)",_.i18nt("ace.hint.findDownWindow")),find:new pn("snippet","find","find(rootWindow,targetId,'up')",_.i18nt("ace.hint.findWindow")),findByIframeId:new pn("snippet","findByIframeId","findByIframeId(targetId,window)",_.i18nt("ace.hint.findByIframeId")),findTop:new pn("snippet","findTop","findTop(window)",_.i18nt("ace.hint.findTopWindow"))},message:{send:new pn("snippet","send","send(window,msg)",_.i18nt("ace.hint.sendMsg")),sendToIframe:new pn("snippet","sendToIframe","sendToIframe(ifm,msg)",_.i18nt("ace.hint.sendToIframe")),sendToParent:new pn("snippet","sendToParent","sendToParent(msg)",_.i18nt("ace.hint.sendToParent")),sendToIframeByName:new pn("snippet","sendToIframeByName","sendToIframeByName(iframeName,msg)",_.i18nt("ace.hint.sendToIframeByName")),receive:new pn("snippet","receive","receive(function(msg){}, false)",_.i18nt("ace.hint.receiveMsg"))},tip:{ElMessage:new pn("snippet","ElMessage","ElMessage({title:'标题',message:'内容',type:'info'})",_.i18nt("ace.hint.ElMessage")),ElMessageBox:new pn("snippet","ElMessageBox","ElMessageBox({title:'标题',message:'内容',type:'info'})",_.i18nt("ace.hint.ElMessageBox")),ElNotification:new pn("snippet","ElNotification","ElNotification({title:'标题',message:'内容',type:'info'})",_.i18nt("ace.hint.ElNotification"))},json:{fromJson:new pn("snippet","fromJson","fromJson(str)",_.i18nt("ace.hint.fromJson")),toJson:new pn("snippet","toJson","toJson(obj)",_.i18nt("ace.hint.toJson"))},security:{CryptoJS:{MD5:new pn("snippet","MD5","MD5(str).toString()",_.i18nt("ace.hint.MD5")),Base64Enc:new pn("snippet","Base64Enc","enc.Utf8.parse(str).toString(ctx.util.security.CryptoJS.enc.Base64)",_.i18nt("ace.hint.Base64Enc")),Base64Dec:new pn("snippet","Base64Dec","enc.Base64.parse(base64Str).toString(ctx.util.security.CryptoJS.enc.Utf8)",_.i18nt("ace.hint.Base64Dec"))},SM:{SMWithTraceKey:{traceBody:new pn("snippet","traceBody","traceBody(data, digestKey)",_.i18nt("ace.hint.traceBody")),encodeSM2:new pn("snippet","encodeSM2","encodeSM2(data, digestKey, publicKey)",_.i18nt("ace.hint.encodeSM2")),decodeSM2:new pn("snippet","decodeSM2","decodeSM2(data, privateKey)",_.i18nt("ace.hint.decodeSM2")),encodeSM4:new pn("snippet","encodeSM4","encodeSM4(data, digestKey, key, iv)",_.i18nt("ace.hint.encodeSM4")),decodeSM4:new pn("snippet","decodeSM4","decodeSM4(data, key, iv)",_.i18nt("ace.hint.decodeSM4"))},SM2:{encrypt:new pn("snippet","encrypt","encrypt(data, publicKey)",_.i18nt("ace.hint.encryptSM2")),decrypt:new pn("snippet","decrypt","decrypt(data, privateKey)",_.i18nt("ace.hint.decryptSM2"))},SM4:{encrypt:new pn("snippet","encrypt","encrypt(data, publicKey)",_.i18nt("ace.hint.encryptSM4")),decrypt:new pn("snippet","decrypt","decrypt(data, privateKey)",_.i18nt("ace.hint.decryptSM4"))},SecInner:{decryptFromLocation:new pn("snippet","decryptFromLocation","decryptFromLocation()",_.i18nt("ace.hint.decryptFromLocation")),decryptFromUrl:new pn("snippet","decryptFromUrl","decryptFromUrl(url)",_.i18nt("ace.hint.decryptFromUrl")),encryptToUrl:new pn("snippet","encryptToUrl","encryptToUrl(key, data)",_.i18nt("ace.hint.encryptToUrl")),decryptData:new pn("snippet","decryptData","decryptData(data)",_.i18nt("ace.hint.decryptData")),encryptData:new pn("snippet","encryptData","encryptData(data)",_.i18nt("ace.hint.encryptData"))}},AES:{CBC_Pkcs7:new pn("CBC加密","CBC_Pkcs7","CBC_Pkcs7(key, iv)",_.i18nt("ace.hint.CBC_Pkcs7")),ECB_Pkcs7:new pn("ECB加密","ECB_Pkcs7","ECB_Pkcs7(key, iv)",_.i18nt("ace.hint.ECB_Pkcs7"))}},file:{saveBlob:new pn("snippet","saveBlob","saveBlob(blob, filename)",_.i18nt("ace.hint.saveBlob")),downloadFile:new pn("snippet","downloadFile","downloadFile(url, filename)",_.i18nt("ace.hint.downloadFile")),previewFile:new pn("snippet","previewFile","previewFile(url)",_.i18nt("ace.hint.previewFile"))}}}}}}function LPt(t){const e={};if(!t||t.length<=0)return e;for(const n of t){const i=n.indexOf(":");if(i===-1)continue;const r=n.substring(0,i).trim(),o=n.substring(i+1).trim();if(o.startsWith("{")&&o.endsWith("}")){const a=o.slice(1,-1);e[r]=t6(a)}else e[r]=o}return e}function t6(t){const e={};let n="",i="",r=0,o=!0;for(let a=0;a<t.length;a++){const c=t[a];if(c==="{")r++,i+=c;else if(c==="}")r--,i+=c;else if(c===":"&&r===0){o=!1;continue}else if(c===","&&r===0){const s=n.trim(),l=i.trim();l.startsWith("{")&&l.endsWith("}")?e[s]=t6(l.slice(1,-1)):e[s]=l,n="",i="",o=!0;continue}o?n+=c:i+=c}if(n.trim()||i.trim()){const a=n.trim(),c=i.trim();c.startsWith("{")&&c.endsWith("}")?e[a]=t6(c.slice(1,-1)):e[a]=c}return e}const JPt=p.defineComponent({__name:"index",props:{...bs,getFunc:{type:Function,default:void 0},setFunc:{type:Function,default:void 0}},setup(t,{expose:e}){const n=t,{saveCode:i}=oc(n),r=p.shallowRef(),o=()=>{r.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>_S))};p.ref();const a=p.ref(),c=()=>{var f;const h=(f=a.value)==null?void 0:f.getEditorAnnotations();let A=!1;h&&h.length>0&&(h.forEach(m=>{m.type==="error"&&(A=!0)}),A&&pr.error(_.i18nt("designer.setting.syntaxCheckWarning")));const d=i(I.value);return n.setFunc?n.setFunc(d):d},s=()=>{var h;a.value.setValue((h=g==null?void 0:g.value)==null?void 0:h.exampleCode)},l=()=>{a.value.formatCode()},g=p.ref({}),u=p.ref({}),I=p.ref(),C=()=>{var f,m,w;const{initCode:h}=oc(n);g.value=h(n==null?void 0:n.getFunc);var A={};(f=Cve.getDesignerBind())==null||f.forEach(y=>{var b=(y==null?void 0:y.caption)||"";A[b]=y});const d=p.inject(hr.globalConfig,{});u.value={...LPt((m=g.value)==null?void 0:m.params),...Cve.getSystemAPI({compParams:d}),compParams:d,...A},I.value=(w=g==null?void 0:g.value)==null?void 0:w.curValue,o()};return p.onMounted(()=>{C()}),e({save:c}),(h,A)=>{var y,b,v,M;const d=p.resolveComponent("el-text"),f=p.resolveComponent("el-button"),m=p.resolveComponent("el-button-group"),w=p.resolveComponent("el-alert");return p.openBlock(),p.createElementBlock(p.Fragment,null,[(y=g.value)!=null&&y.alertTitle?(p.openBlock(),p.createBlock(w,{key:0,type:"info",closable:!1,class:"dialog-alert"},{default:p.withCtx(()=>[p.createVNode(d,null,{default:p.withCtx(()=>{var x;return[p.createTextVNode(p.toDisplayString((x=g.value)==null?void 0:x.alertTitle),1)]}),_:1}),p.createElementVNode("span",null,[p.createVNode(m,null,{default:p.withCtx(()=>{var x;return[(x=g.value)!=null&&x.exampleCode?(p.openBlock(),p.createBlock(f,{key:0,link:"",icon:"Help",onClick:s,type:"primary"},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(_).i18nt("designer.hint.importExampleCode")),1)]),_:1})):p.createCommentVNode("",!0),p.createVNode(f,{link:"",icon:"Brush",onClick:l,type:"primary"},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(_).i18nt("designer.hint.beautifyCode")),1)]),_:1})]}),_:1})])]),_:1})):p.createCommentVNode("",!0),(p.openBlock(),p.createBlock(p.resolveDynamicComponent(r.value),{mode:(b=g.value)==null?void 0:b.mode,modelValue:I.value,"onUpdate:modelValue":A[0]||(A[0]=x=>I.value=x),ref_key:"editorRef",ref:a,tipAPI:u.value},null,8,["mode","modelValue","tipAPI"])),(M=(v=g.value)==null?void 0:v.alertTitle)!=null&&M.trim().endsWith("{")?(p.openBlock(),p.createBlock(w,{key:1,type:"info",closable:!1,title:"}"})):p.createCommentVNode("",!0)],64)}}}),Jen="",dve=Object.freeze(Object.defineProperty({__proto__:null,default:JPt},Symbol.toStringTag,{value:"Module"}));var eW={},KPt={get exports(){return eW},set exports(t){eW=t}};/*!
|
|
5017
5017
|
* clipboard.js v2.0.11
|
|
5018
5018
|
* https://clipboardjs.com/
|
|
@@ -2,7 +2,7 @@ import { defineComponent as Vt, computed as Q, ref as u, shallowRef as ue, resol
|
|
|
2
2
|
import { a as o, f as wt, j as ce, d as ge } from "./enum-type-e8f7b102.js";
|
|
3
3
|
import { P as kt, f as le, C as Ft, z as xt } from "./baseImp-f9301124.js";
|
|
4
4
|
import { u as ve } from "./index-1f0d0a1e.js";
|
|
5
|
-
import { F as St } from "./install-designer-
|
|
5
|
+
import { F as St } from "./install-designer-248fa8d2.js";
|
|
6
6
|
import { S as $ } from "./index-c4bf4478.js";
|
|
7
7
|
import { e as fe } from "./obj-fe2f7356.js";
|
|
8
8
|
import { g as j } from "./uuid-97f565a9.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as j, computed as o, ref as f, resolveComponent as g, openBlock as r, createElementBlock as u, createVNode as p, withCtx as n, withDirectives as B, createElementVNode as v, createBlock as E, createCommentVNode as N, createTextVNode as y, toDisplayString as _, unref as m } from "vue";
|
|
2
2
|
import { a as k } from "./enum-type-e8f7b102.js";
|
|
3
|
-
import { _ as S } from "./reg-editor.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as S } from "./reg-editor.vue_vue_type_script_setup_true_lang-678762c4.js";
|
|
4
4
|
import { ClickOutside as V } from "element-plus";
|
|
5
5
|
import "./obj-fe2f7356.js";
|
|
6
6
|
import "./enum-type-0b016d68.js";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-966890e2.js";
|
|
8
8
|
import "./emitter-8d426aaf.js";
|
|
9
9
|
import "./index-1f0d0a1e.js";
|
|
10
10
|
import "./uuid-97f565a9.js";
|
|
@@ -23,7 +23,7 @@ import "./slot-599b3ca4.js";
|
|
|
23
23
|
import "./index-da1bd5b7.js";
|
|
24
24
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
25
25
|
import "./property-base-1e14a286.js";
|
|
26
|
-
import "./install-designer-
|
|
26
|
+
import "./install-designer-248fa8d2.js";
|
|
27
27
|
import "./cont-cell-widget-ddeb949d.js";
|
|
28
28
|
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-d161f70f.js";
|
|
29
29
|
import "./share-field-1d288d89.js";
|
|
@@ -41,7 +41,7 @@ const G = { class: "flexJustify" }, ae = /* @__PURE__ */ A({
|
|
|
41
41
|
case i.formula:
|
|
42
42
|
return r(() => import("./index-13aa9c56.js"));
|
|
43
43
|
case i.targetEvent:
|
|
44
|
-
return r(() => import("./index-
|
|
44
|
+
return r(() => import("./index-8a4be3c9.js"));
|
|
45
45
|
case i.schema:
|
|
46
46
|
return r(() => import("./index-534de836.js"));
|
|
47
47
|
case i.relateWithWidget:
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import { defineComponent as le, ref as s, watch as N, nextTick as B, shallowRef as ae, defineAsyncComponent as C, onMounted as re, resolveComponent as D, openBlock as K, createBlock as J, withCtx as T, createVNode as b, createElementVNode as u, toDisplayString as P, unref as m, mergeProps as j, resolveDynamicComponent as se } from "vue";
|
|
2
|
+
import { c as q, a as l } from "./enum-type-e8f7b102.js";
|
|
3
|
+
import { I as ce } from "./property-base-1e14a286.js";
|
|
4
|
+
import { u as de } from "./share-editor-1f6d555c.js";
|
|
5
|
+
import { ElTree as z } from "element-plus";
|
|
6
|
+
import { Search as ue } from "./index-6bcfdc22.js";
|
|
7
|
+
import { a as pe } from "./baseImp-f9301124.js";
|
|
8
|
+
import { E as n, P as G } from "./enum-type-0b016d68.js";
|
|
9
|
+
import { u as ge } from "./index-1f0d0a1e.js";
|
|
10
|
+
import { _ as ve } from "./_plugin-vue_export-helper-dad06003.js";
|
|
11
|
+
import "./obj-fe2f7356.js";
|
|
12
|
+
import "./expression-2161fad0.js";
|
|
13
|
+
import "./source-map-b04aec4a.js";
|
|
14
|
+
import "./uuid-97f565a9.js";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./esprima-e8d15055.js";
|
|
17
|
+
import "./icon-1f03042d.js";
|
|
18
|
+
import "./dialog-d55fc56d.js";
|
|
19
|
+
import "./optionItem-2fe78f36.js";
|
|
20
|
+
import "./index-2ac49998.js";
|
|
21
|
+
const fe = { class: "varTitle" }, me = { class: "varCell cellRow" }, he = { class: "splitCell" }, _e = { class: "splitCell" }, Ce = { class: "card-search" }, ye = { class: "full-width" }, ke = { class: "varTitle" }, be = {
|
|
22
|
+
class: "varCell1 cellColumn1",
|
|
23
|
+
style: { height: "calc(100% - 1.5em * 4)", flex: "1", overflow: "auto" }
|
|
24
|
+
}, Se = {
|
|
25
|
+
class: "splitCell1",
|
|
26
|
+
style: { height: "97%" }
|
|
27
|
+
}, we = /* @__PURE__ */ le({
|
|
28
|
+
__name: "index",
|
|
29
|
+
props: {
|
|
30
|
+
...ce
|
|
31
|
+
},
|
|
32
|
+
setup(Q, { expose: X }) {
|
|
33
|
+
const h = Q, c = s(), { propClearVariable: Y, propModel: d } = de(h), { getNodeTree: Z } = ge(h.designer), { loadSchemaData: R } = pe({ pageConfig: h.pageConfig }), W = {
|
|
34
|
+
id: "id",
|
|
35
|
+
label: "label",
|
|
36
|
+
children: "children"
|
|
37
|
+
}, I = s();
|
|
38
|
+
I.value = {
|
|
39
|
+
filterNodeMethod: (e, t) => {
|
|
40
|
+
var i;
|
|
41
|
+
return e ? (i = t.label) == null ? void 0 : i.toLocaleLowerCase().includes(e == null ? void 0 : e.toLocaleLowerCase()) : !0;
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
const a = q([{
|
|
45
|
+
id: "actionPage",
|
|
46
|
+
label: l.i18nt("designer.setting.actionJS"),
|
|
47
|
+
children: [
|
|
48
|
+
{ id: "actionCode", label: l.i18nt("designer.setting.actionCode") }
|
|
49
|
+
]
|
|
50
|
+
}, {
|
|
51
|
+
id: "actionInner",
|
|
52
|
+
label: l.i18nt("designer.setting.actionInner"),
|
|
53
|
+
children: [
|
|
54
|
+
{ id: n.actionURL, label: l.i18nt("designer.setting.actionURL") },
|
|
55
|
+
{ id: n.actionOpenDialog, label: l.i18nt("designer.setting.actionOpenDialog") },
|
|
56
|
+
{ id: n.actionCloseDialog, label: l.i18nt("designer.setting.actionCloseDialog") },
|
|
57
|
+
{ id: n.actionShowWidget, label: l.i18nt("designer.setting.actionShowWidget") },
|
|
58
|
+
{ id: n.actionHideWidget, label: l.i18nt("designer.setting.actionHideWidget") },
|
|
59
|
+
{ id: n.actionSendSchema, label: l.i18nt("designer.setting.actionSendSchema") },
|
|
60
|
+
{ id: n.actionSaveFormData, label: l.i18nt("designer.setting.actionSaveFormData") }
|
|
61
|
+
]
|
|
62
|
+
}]), $ = q(a.map((e) => ({ label: e.label, id: e.id }))), O = (e) => {
|
|
63
|
+
var t = a.find((i) => i.id === e);
|
|
64
|
+
F.value = t == null ? void 0 : t.children;
|
|
65
|
+
}, A = (e, t) => {
|
|
66
|
+
O(e.id);
|
|
67
|
+
}, U = s(), S = s(), y = s(), M = () => {
|
|
68
|
+
var i, o, v, p, f, r;
|
|
69
|
+
var e = (o = (i = d == null ? void 0 : d.value) == null ? void 0 : i.value) == null ? void 0 : o.type;
|
|
70
|
+
if (e) {
|
|
71
|
+
var t = a == null ? void 0 : a.find((k) => {
|
|
72
|
+
var H;
|
|
73
|
+
var V = (H = k.children) == null ? void 0 : H.filter((ne) => ne.id === e);
|
|
74
|
+
return (V == null ? void 0 : V.length) || 0 > 0;
|
|
75
|
+
});
|
|
76
|
+
S.value = t == null ? void 0 : t.id, y.value = e;
|
|
77
|
+
} else
|
|
78
|
+
S.value = (v = a == null ? void 0 : a[0]) == null ? void 0 : v.id, y.value = (r = (f = (p = a == null ? void 0 : a[0]) == null ? void 0 : p.children) == null ? void 0 : f[0]) == null ? void 0 : r.id;
|
|
79
|
+
};
|
|
80
|
+
N(S, (e) => {
|
|
81
|
+
B(function() {
|
|
82
|
+
U.value.setCurrentKey(e), O(e), B(function() {
|
|
83
|
+
var t, i, o;
|
|
84
|
+
(t = _.value) == null || t.setCurrentKey(y.value), E(y.value, (o = (i = d == null ? void 0 : d.value) == null ? void 0 : i.value) == null ? void 0 : o.content);
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
});
|
|
88
|
+
const F = s(), w = s(), ee = (e, t) => {
|
|
89
|
+
w.value = e == null ? void 0 : e.id, E(w.value, null);
|
|
90
|
+
}, te = (e, t) => {
|
|
91
|
+
var i, o;
|
|
92
|
+
w.value = e == null ? void 0 : e.id, E(w.value, (o = (i = d == null ? void 0 : d.value) == null ? void 0 : i.value) == null ? void 0 : o.content);
|
|
93
|
+
}, L = s(""), _ = s();
|
|
94
|
+
N(L, (e) => {
|
|
95
|
+
_.value.filter(e);
|
|
96
|
+
});
|
|
97
|
+
const x = s(), g = ae(), E = (e, t) => {
|
|
98
|
+
var o, v, p, f;
|
|
99
|
+
const i = (v = (o = Z()) == null ? void 0 : o[0]) == null ? void 0 : v.children;
|
|
100
|
+
switch (e) {
|
|
101
|
+
case n.actionURL: {
|
|
102
|
+
c.value = { attrs: t || {} }, g.value = C(() => import("./target-link-34d87194.js"));
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
105
|
+
case n.actionOpenDialog:
|
|
106
|
+
case n.actionCloseDialog: {
|
|
107
|
+
c.value = { attrs: t || {}, widgetList: i }, g.value = C(() => import("./target-window-582caaed.js"));
|
|
108
|
+
break;
|
|
109
|
+
}
|
|
110
|
+
case n.actionShowWidget:
|
|
111
|
+
case n.actionHideWidget: {
|
|
112
|
+
c.value = { attrs: t || {}, widgetList: i }, g.value = C(() => import("./target-widget-e56635ad.js"));
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
case n.actionSendSchema: {
|
|
116
|
+
const r = R();
|
|
117
|
+
c.value = { attrs: t || {}, widgetList: (p = h.otherConfig) == null ? void 0 : p.widgetList, sourceList: r == null ? void 0 : r.filter((k) => k.protocal === G.REMOTE) }, g.value = C(() => import("./target-datasource-b0d212a8.js"));
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
case n.actionCode: {
|
|
121
|
+
c.value = h, g.value = C(() => import("./target-code-1ae99ae4.js"));
|
|
122
|
+
break;
|
|
123
|
+
}
|
|
124
|
+
case n.actionSaveFormData: {
|
|
125
|
+
const r = R();
|
|
126
|
+
c.value = { attrs: t || {}, widgetList: i, fieldWidgetList: (f = h.otherConfig) == null ? void 0 : f.widgetList, sourceList: r == null ? void 0 : r.filter((k) => k.protocal === G.REMOTE) }, g.value = C(() => import("./target-saveForm-0d683b6a.js"));
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}, ie = () => {
|
|
131
|
+
var t, i, o;
|
|
132
|
+
return c.value = (t = x == null ? void 0 : x.value) == null ? void 0 : t.save(), { type: (o = (i = _ == null ? void 0 : _.value) == null ? void 0 : i.getCurrentNode()) == null ? void 0 : o.id, content: c.value };
|
|
133
|
+
}, oe = () => {
|
|
134
|
+
Y();
|
|
135
|
+
};
|
|
136
|
+
return re(() => {
|
|
137
|
+
M();
|
|
138
|
+
}), X({
|
|
139
|
+
save: ie,
|
|
140
|
+
clear: oe
|
|
141
|
+
}), (e, t) => {
|
|
142
|
+
const i = D("el-input"), o = D("el-col"), v = D("el-row");
|
|
143
|
+
return K(), J(v, { class: "full-height nomargin noOverflow" }, {
|
|
144
|
+
default: T(() => [
|
|
145
|
+
b(o, { span: 6 }, {
|
|
146
|
+
default: T(() => [
|
|
147
|
+
u("div", fe, P(m(l).i18nt("designer.hint.responseAction")), 1),
|
|
148
|
+
u("div", me, [
|
|
149
|
+
u("div", he, [
|
|
150
|
+
b(m(z), {
|
|
151
|
+
"node-key": "id",
|
|
152
|
+
"highlight-current": "",
|
|
153
|
+
"current-node-key": S.value,
|
|
154
|
+
data: m($),
|
|
155
|
+
props: W,
|
|
156
|
+
ref_key: "varTypeRef",
|
|
157
|
+
ref: U,
|
|
158
|
+
onCurrentChange: A,
|
|
159
|
+
onNodeClick: A
|
|
160
|
+
}, null, 8, ["current-node-key", "data"])
|
|
161
|
+
]),
|
|
162
|
+
u("div", _e, [
|
|
163
|
+
u("div", Ce, [
|
|
164
|
+
b(i, {
|
|
165
|
+
modelValue: L.value,
|
|
166
|
+
"onUpdate:modelValue": t[0] || (t[0] = (p) => L.value = p),
|
|
167
|
+
placeholder: m(l).i18nt("designer.hint.filterInput"),
|
|
168
|
+
"suffix-icon": m(ue)
|
|
169
|
+
}, null, 8, ["modelValue", "placeholder", "suffix-icon"])
|
|
170
|
+
]),
|
|
171
|
+
b(m(z), j({
|
|
172
|
+
"node-key": "id",
|
|
173
|
+
ref_key: "varSourceRef",
|
|
174
|
+
ref: _,
|
|
175
|
+
"highlight-current": "",
|
|
176
|
+
data: F.value,
|
|
177
|
+
"current-node-key": y.value,
|
|
178
|
+
props: W,
|
|
179
|
+
onNodeClick: ee,
|
|
180
|
+
onCurrentChange: te
|
|
181
|
+
}, I.value), {
|
|
182
|
+
default: T(({ node: p, data: f }) => [
|
|
183
|
+
u("div", ye, P(f.label), 1)
|
|
184
|
+
]),
|
|
185
|
+
_: 1
|
|
186
|
+
}, 16, ["data", "current-node-key"])
|
|
187
|
+
])
|
|
188
|
+
])
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
}),
|
|
192
|
+
b(o, {
|
|
193
|
+
span: 18,
|
|
194
|
+
class: "full-height",
|
|
195
|
+
style: { "padding-left": "10px", display: "flex", "flex-direction": "column" }
|
|
196
|
+
}, {
|
|
197
|
+
default: T(() => [
|
|
198
|
+
u("div", ke, P(m(l).i18nt("designer.hint.actionParamSetting")), 1),
|
|
199
|
+
u("div", be, [
|
|
200
|
+
u("div", Se, [
|
|
201
|
+
(K(), J(se(g.value), j(c.value, {
|
|
202
|
+
ref_key: "editorRef",
|
|
203
|
+
ref: x
|
|
204
|
+
}), null, 16))
|
|
205
|
+
])
|
|
206
|
+
])
|
|
207
|
+
]),
|
|
208
|
+
_: 1
|
|
209
|
+
})
|
|
210
|
+
]),
|
|
211
|
+
_: 1
|
|
212
|
+
});
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
const qe = /* @__PURE__ */ ve(we, [["__scopeId", "data-v-8892780f"]]);
|
|
217
|
+
export {
|
|
218
|
+
qe as default
|
|
219
|
+
};
|
|
@@ -16,7 +16,7 @@ import { A as c, p as Yt, P as re, B as wt, e as Jt, h as Ui } from "./baseImp-f
|
|
|
16
16
|
import { g as Ki } from "./icon-1f03042d.js";
|
|
17
17
|
import { u as Bi } from "./slot-599b3ca4.js";
|
|
18
18
|
import { e as qi } from "./index-da1bd5b7.js";
|
|
19
|
-
import { u as $i } from "./install-designer-
|
|
19
|
+
import { u as $i } from "./install-designer-248fa8d2.js";
|
|
20
20
|
function Qi() {
|
|
21
21
|
let w = /* @__PURE__ */ new Map();
|
|
22
22
|
const u = (E) => ae(() => gn(/* @__PURE__ */ Object.assign({ "../common-editor.vue": () => import("./common-editor-54e70e07.js"), "../css-editor.vue": () => import("./css-editor-f01e9f8a.js"), "../customClass-editor.vue": () => import("./customClass-editor-71bda323.js"), "../field-editor.vue": () => import("./field-editor-25097516.js"), "../image-editor.vue": () => import("./image-editor-ad7ede6d.js"), "../name-editor.vue": () => import("./name-editor-04857225.js"), "../size-editor.vue": () => import("./size-editor-4c3187c2.js"), "../value-editor.vue": () => import("./value-editor-029a3560.js") }), `../${E}.vue`));
|
|
@@ -3928,7 +3928,7 @@ const Ji = { key: 0 }, Zi = Zt({ componentName: Ai.SettingPanel }), el = /* @__P
|
|
|
3928
3928
|
const d = new m();
|
|
3929
3929
|
return d.optionModel = j.value, d.pageConfig = z.value, d.selectedWidget = b.value, N(f.value, j.value, z.value, d);
|
|
3930
3930
|
}), X = ge(), G = () => {
|
|
3931
|
-
X.value || (X.value = ae(() => import("./configItem-
|
|
3931
|
+
X.value || (X.value = ae(() => import("./configItem-d89ff432.js")));
|
|
3932
3932
|
}, D = ee(Le.formSetting), pe = (d) => {
|
|
3933
3933
|
var _;
|
|
3934
3934
|
let C = !1;
|
|
@@ -3956,7 +3956,7 @@ const Ji = { key: 0 }, Zi = Zt({ componentName: Ai.SettingPanel }), el = /* @__P
|
|
|
3956
3956
|
E(Xe.popOverHandler, (d) => {
|
|
3957
3957
|
var k;
|
|
3958
3958
|
var C = (k = d == null ? void 0 : d.attrs) == null ? void 0 : k.visible;
|
|
3959
|
-
!me.value && C ? me.value = ae(() => import("./index-
|
|
3959
|
+
!me.value && C ? me.value = ae(() => import("./index-398f39d9.js")) : me.value = null;
|
|
3960
3960
|
var _ = { ...d == null ? void 0 : d.attrs };
|
|
3961
3961
|
_ = Fe(_), C && (U = "popOver", M = {
|
|
3962
3962
|
attrs: _,
|
|
@@ -3969,7 +3969,7 @@ const Ji = { key: 0 }, Zi = Zt({ componentName: Ai.SettingPanel }), el = /* @__P
|
|
|
3969
3969
|
E(Xe.drawerHandler, (d) => {
|
|
3970
3970
|
var K;
|
|
3971
3971
|
var C = (K = d == null ? void 0 : d.attrs) == null ? void 0 : K.visible;
|
|
3972
|
-
if (!de.value && C ? de.value = ae(() => import("./index-
|
|
3972
|
+
if (!de.value && C ? de.value = ae(() => import("./index-dafb7e2b.js")) : de.value = null, C) {
|
|
3973
3973
|
var _ = document.querySelector(".right-panel"), k = ea(_) ? "" : getComputedStyle(_).width, H = { ...d == null ? void 0 : d.attrs, position: { right: k } };
|
|
3974
3974
|
H = Fe(H), U = "drawer", M = {
|
|
3975
3975
|
attrs: H,
|
|
@@ -3983,7 +3983,7 @@ const Ji = { key: 0 }, Zi = Zt({ componentName: Ai.SettingPanel }), el = /* @__P
|
|
|
3983
3983
|
E(Xe.editHandler, (d) => {
|
|
3984
3984
|
var H;
|
|
3985
3985
|
var C = (H = d == null ? void 0 : d.attrs) == null ? void 0 : H.visible;
|
|
3986
|
-
if (!ue.value && C ? ue.value = ae(() => import("./index-
|
|
3986
|
+
if (!ue.value && C ? ue.value = ae(() => import("./index-6f0d4d4e.js")) : ue.value = null, C) {
|
|
3987
3987
|
var _ = { ...d.attrs, width: "80%" };
|
|
3988
3988
|
_ = Fe(_);
|
|
3989
3989
|
var k = se(d.events);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as S, computed as n, ref as m, resolveComponent as g, openBlock as u, createElementBlock as T, createVNode as p, normalizeStyle as B, withCtx as r, createElementVNode as y, createTextVNode as v, toDisplayString as b, unref as k, createBlock as E, createCommentVNode as N } from "vue";
|
|
2
2
|
import { a as w } from "./enum-type-e8f7b102.js";
|
|
3
|
-
import { _ as W } from "./reg-editor.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as W } from "./reg-editor.vue_vue_type_script_setup_true_lang-678762c4.js";
|
|
4
4
|
import "./obj-fe2f7356.js";
|
|
5
5
|
import "./enum-type-0b016d68.js";
|
|
6
|
-
import "./index-
|
|
6
|
+
import "./index-966890e2.js";
|
|
7
7
|
import "./emitter-8d426aaf.js";
|
|
8
8
|
import "./index-1f0d0a1e.js";
|
|
9
9
|
import "./uuid-97f565a9.js";
|
|
@@ -23,7 +23,7 @@ import "./slot-599b3ca4.js";
|
|
|
23
23
|
import "./index-da1bd5b7.js";
|
|
24
24
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
25
25
|
import "./property-base-1e14a286.js";
|
|
26
|
-
import "./install-designer-
|
|
26
|
+
import "./install-designer-248fa8d2.js";
|
|
27
27
|
import "./cont-cell-widget-ddeb949d.js";
|
|
28
28
|
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-d161f70f.js";
|
|
29
29
|
import "./share-field-1d288d89.js";
|
|
@@ -416,7 +416,7 @@ const q4 = { class: "full-height-width noscrollbar" }, _4 = j1({ componentName:
|
|
|
416
416
|
M(L);
|
|
417
417
|
});
|
|
418
418
|
const a = s1(() => t.version), i = U2(), s = U2(), d = G1(), f = G1(), u = G1(), v = G1(), h = () => {
|
|
419
|
-
d.value = X1(() => import("./index-c240af71.js")), f.value = X1(() => import("./index-f36a2500.js")), u.value = X1(() => import("./index-
|
|
419
|
+
d.value = X1(() => import("./index-c240af71.js")), f.value = X1(() => import("./index-f36a2500.js")), u.value = X1(() => import("./index-966890e2.js").then((L) => L.i)), v.value = X1(() => import("./index-20f58416.js"));
|
|
420
420
|
}, m = U2(), g = () => {
|
|
421
421
|
const L = w4(".page-widget-main .el-scrollbar");
|
|
422
422
|
m.value = L - 80 + "px";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as v, reactive as h, computed as w, ref as P, resolveComponent as k, openBlock as i, createBlock as m, mergeProps as x, withCtx as R, createElementBlock as d, Fragment as l, renderList as _, unref as g, resolveDynamicComponent as B, createCommentVNode as W } from "vue";
|
|
2
2
|
import { aw as b } from "./enum-type-0b016d68.js";
|
|
3
|
-
import { u as F } from "./index-
|
|
3
|
+
import { u as F } from "./index-966890e2.js";
|
|
4
4
|
import { i as N } from "./obj-fe2f7356.js";
|
|
5
5
|
const T = {
|
|
6
6
|
key: 0,
|
|
@@ -2,7 +2,7 @@ import { defineComponent as H, ref as c, shallowRef as K, onMounted as Q, resolv
|
|
|
2
2
|
import { a as u } from "./enum-type-e8f7b102.js";
|
|
3
3
|
import { e as te, V as oe } from "./baseImp-f9301124.js";
|
|
4
4
|
import { e as le, M as re } from "./obj-fe2f7356.js";
|
|
5
|
-
import { _ as ie } from "./reg-editor.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as ie } from "./reg-editor.vue_vue_type_script_setup_true_lang-678762c4.js";
|
|
6
6
|
import { e as ne } from "./enum-type-0b016d68.js";
|
|
7
7
|
import { _ as ae } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
8
|
import "./expression-2161fad0.js";
|
|
@@ -13,7 +13,7 @@ import "./esprima-e8d15055.js";
|
|
|
13
13
|
import "./icon-1f03042d.js";
|
|
14
14
|
import "./dialog-d55fc56d.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
16
|
+
import "./index-966890e2.js";
|
|
17
17
|
import "./emitter-8d426aaf.js";
|
|
18
18
|
import "./index-1f0d0a1e.js";
|
|
19
19
|
import "./optionItem-2fe78f36.js";
|
|
@@ -23,7 +23,7 @@ import "./widget-base-8eece820.js";
|
|
|
23
23
|
import "./slot-599b3ca4.js";
|
|
24
24
|
import "./index-da1bd5b7.js";
|
|
25
25
|
import "./property-base-1e14a286.js";
|
|
26
|
-
import "./install-designer-
|
|
26
|
+
import "./install-designer-248fa8d2.js";
|
|
27
27
|
import "./cont-cell-widget-ddeb949d.js";
|
|
28
28
|
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-d161f70f.js";
|
|
29
29
|
import "./share-field-1d288d89.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as R, ref as c, computed as d, resolveComponent as s, openBlock as S, createElementBlock as E, Fragment as M, createVNode as e, withCtx as i, unref as o } from "vue";
|
|
2
2
|
import { c as w, a as l, e as p } from "./enum-type-0b016d68.js";
|
|
3
|
-
import { _ as n } from "./reg-editor.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as n } from "./reg-editor.vue_vue_type_script_setup_true_lang-678762c4.js";
|
|
4
4
|
import { a as u } from "./enum-type-e8f7b102.js";
|
|
5
5
|
import { _ as D } from "./_plugin-vue_export-helper-dad06003.js";
|
|
6
|
-
import "./index-
|
|
6
|
+
import "./index-966890e2.js";
|
|
7
7
|
import "./emitter-8d426aaf.js";
|
|
8
8
|
import "./obj-fe2f7356.js";
|
|
9
9
|
import "./index-1f0d0a1e.js";
|
|
@@ -23,7 +23,7 @@ import "./widget-base-8eece820.js";
|
|
|
23
23
|
import "./slot-599b3ca4.js";
|
|
24
24
|
import "./index-da1bd5b7.js";
|
|
25
25
|
import "./property-base-1e14a286.js";
|
|
26
|
-
import "./install-designer-
|
|
26
|
+
import "./install-designer-248fa8d2.js";
|
|
27
27
|
import "./cont-cell-widget-ddeb949d.js";
|
|
28
28
|
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-d161f70f.js";
|
|
29
29
|
import "./share-field-1d288d89.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as E, ref as c, resolveComponent as o, openBlock as m,
|
|
|
2
2
|
import { c as C, a as _ } from "./enum-type-e8f7b102.js";
|
|
3
3
|
import { e as x } from "./enum-type-0b016d68.js";
|
|
4
4
|
import { v as S } from "./index-1f0d0a1e.js";
|
|
5
|
-
import { _ as U } from "./reg-editor.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as U } from "./reg-editor.vue_vue_type_script_setup_true_lang-678762c4.js";
|
|
6
6
|
import "./obj-fe2f7356.js";
|
|
7
7
|
import "./uuid-97f565a9.js";
|
|
8
8
|
import "./optionItem-2fe78f36.js";
|
|
@@ -15,7 +15,7 @@ import "./icon-1f03042d.js";
|
|
|
15
15
|
import "./dialog-d55fc56d.js";
|
|
16
16
|
import "element-plus";
|
|
17
17
|
import "./index-2ac49998.js";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-966890e2.js";
|
|
19
19
|
import "./emitter-8d426aaf.js";
|
|
20
20
|
import "./drag-wrapper-a286de88.js";
|
|
21
21
|
import "./widget-base-8eece820.js";
|
|
@@ -23,7 +23,7 @@ import "./slot-599b3ca4.js";
|
|
|
23
23
|
import "./index-da1bd5b7.js";
|
|
24
24
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
25
25
|
import "./property-base-1e14a286.js";
|
|
26
|
-
import "./install-designer-
|
|
26
|
+
import "./install-designer-248fa8d2.js";
|
|
27
27
|
import "./cont-cell-widget-ddeb949d.js";
|
|
28
28
|
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-d161f70f.js";
|
|
29
29
|
import "./share-field-1d288d89.js";
|
package/index-a32a8cda.js
DELETED
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
import { defineComponent as le, ref as s, watch as N, nextTick as B, shallowRef as re, onMounted as ae, resolveComponent as E, openBlock as K, createBlock as J, withCtx as x, createVNode as k, createElementVNode as d, toDisplayString as V, unref as f, mergeProps as M, resolveDynamicComponent as se, defineAsyncComponent as C } from "vue";
|
|
2
|
-
import { c as j, a as l } from "./enum-type-e8f7b102.js";
|
|
3
|
-
import { I as ce } from "./property-base-1e14a286.js";
|
|
4
|
-
import { u as de } from "./share-editor-1f6d555c.js";
|
|
5
|
-
import { ElTree as q } from "element-plus";
|
|
6
|
-
import { Search as ue } from "./index-6bcfdc22.js";
|
|
7
|
-
import { a as pe } from "./baseImp-f9301124.js";
|
|
8
|
-
import { E as o, P as z } from "./enum-type-0b016d68.js";
|
|
9
|
-
import { u as ge } from "./index-1f0d0a1e.js";
|
|
10
|
-
import { _ as me } from "./_plugin-vue_export-helper-dad06003.js";
|
|
11
|
-
import "./obj-fe2f7356.js";
|
|
12
|
-
import "./expression-2161fad0.js";
|
|
13
|
-
import "./source-map-b04aec4a.js";
|
|
14
|
-
import "./uuid-97f565a9.js";
|
|
15
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
-
import "./esprima-e8d15055.js";
|
|
17
|
-
import "./icon-1f03042d.js";
|
|
18
|
-
import "./dialog-d55fc56d.js";
|
|
19
|
-
import "./optionItem-2fe78f36.js";
|
|
20
|
-
import "./index-2ac49998.js";
|
|
21
|
-
const fe = { class: "varTitle" }, ve = { class: "varCell cellRow" }, he = { class: "splitCell" }, _e = { class: "splitCell" }, Ce = { class: "card-search" }, ye = { class: "full-width" }, ke = { class: "varTitle" }, be = {
|
|
22
|
-
class: "varCell1 cellColumn1",
|
|
23
|
-
style: { height: "calc(100% - 1.5em * 4)", flex: "1", overflow: "auto" }
|
|
24
|
-
}, Se = {
|
|
25
|
-
class: "splitCell1",
|
|
26
|
-
style: { height: "97%" }
|
|
27
|
-
}, we = /* @__PURE__ */ le({
|
|
28
|
-
__name: "index",
|
|
29
|
-
props: {
|
|
30
|
-
...ce
|
|
31
|
-
},
|
|
32
|
-
setup(G, { expose: Q }) {
|
|
33
|
-
const v = G, c = s(), { propClearVariable: X, propModel: h } = de(v), { getNodeTree: Y } = ge(v.designer), { loadSchemaData: D } = pe({ pageConfig: v.pageConfig }), P = {
|
|
34
|
-
id: "id",
|
|
35
|
-
label: "label",
|
|
36
|
-
children: "children"
|
|
37
|
-
}, R = s();
|
|
38
|
-
R.value = {
|
|
39
|
-
filterNodeMethod: (e, t) => {
|
|
40
|
-
var i;
|
|
41
|
-
return e ? (i = t.label) == null ? void 0 : i.toLocaleLowerCase().includes(e == null ? void 0 : e.toLocaleLowerCase()) : !0;
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
const r = j([{
|
|
45
|
-
id: "actionPage",
|
|
46
|
-
label: l.i18nt("designer.setting.actionJS"),
|
|
47
|
-
children: [
|
|
48
|
-
{ id: "actionCode", label: l.i18nt("designer.setting.actionCode") }
|
|
49
|
-
]
|
|
50
|
-
}, {
|
|
51
|
-
id: "actionInner",
|
|
52
|
-
label: l.i18nt("designer.setting.actionInner"),
|
|
53
|
-
children: [
|
|
54
|
-
{ id: o.actionURL, label: l.i18nt("designer.setting.actionURL") },
|
|
55
|
-
{ id: o.actionOpenDialog, label: l.i18nt("designer.setting.actionOpenDialog") },
|
|
56
|
-
{ id: o.actionCloseDialog, label: l.i18nt("designer.setting.actionCloseDialog") },
|
|
57
|
-
{ id: o.actionShowWidget, label: l.i18nt("designer.setting.actionShowWidget") },
|
|
58
|
-
{ id: o.actionHideWidget, label: l.i18nt("designer.setting.actionHideWidget") },
|
|
59
|
-
{ id: o.actionSendSchema, label: l.i18nt("designer.setting.actionSendSchema") },
|
|
60
|
-
{ id: o.actionSaveFormData, label: l.i18nt("designer.setting.actionSaveFormData") }
|
|
61
|
-
]
|
|
62
|
-
}]), Z = j(r.map((e) => ({ label: e.label, id: e.id }))), W = (e) => {
|
|
63
|
-
var t = r.find((i) => i.id === e);
|
|
64
|
-
A.value = t == null ? void 0 : t.children;
|
|
65
|
-
}, I = (e, t) => {
|
|
66
|
-
W(e.id);
|
|
67
|
-
}, O = s(), b = s(), S = s(), $ = () => {
|
|
68
|
-
var i, n, g, u, m, a;
|
|
69
|
-
var e = (n = (i = h == null ? void 0 : h.value) == null ? void 0 : i.value) == null ? void 0 : n.type;
|
|
70
|
-
if (e) {
|
|
71
|
-
var t = r == null ? void 0 : r.find((y) => {
|
|
72
|
-
var H;
|
|
73
|
-
var L = (H = y.children) == null ? void 0 : H.filter((ne) => ne.id === e);
|
|
74
|
-
return (L == null ? void 0 : L.length) || 0 > 0;
|
|
75
|
-
});
|
|
76
|
-
b.value = t == null ? void 0 : t.id, S.value = e;
|
|
77
|
-
} else
|
|
78
|
-
b.value = (g = r == null ? void 0 : r[0]) == null ? void 0 : g.id, S.value = (a = (m = (u = r == null ? void 0 : r[0]) == null ? void 0 : u.children) == null ? void 0 : m[0]) == null ? void 0 : a.id;
|
|
79
|
-
};
|
|
80
|
-
N(b, (e) => {
|
|
81
|
-
B(function() {
|
|
82
|
-
O.value.setCurrentKey(e), W(e), B(function() {
|
|
83
|
-
var t;
|
|
84
|
-
(t = _.value) == null || t.setCurrentKey(S.value);
|
|
85
|
-
});
|
|
86
|
-
});
|
|
87
|
-
});
|
|
88
|
-
const A = s(), U = s(), ee = (e, t) => {
|
|
89
|
-
U.value = e == null ? void 0 : e.id, F(e == null ? void 0 : e.id, null);
|
|
90
|
-
}, te = (e, t) => {
|
|
91
|
-
var i, n;
|
|
92
|
-
U.value = e == null ? void 0 : e.id, F(e == null ? void 0 : e.id, (n = (i = h == null ? void 0 : h.value) == null ? void 0 : i.value) == null ? void 0 : n.content);
|
|
93
|
-
}, T = s(""), _ = s();
|
|
94
|
-
N(T, (e) => {
|
|
95
|
-
_.value.filter(e);
|
|
96
|
-
});
|
|
97
|
-
const w = s(), p = re(), F = (e, t) => {
|
|
98
|
-
var n, g, u, m;
|
|
99
|
-
const i = (g = (n = Y()) == null ? void 0 : n[0]) == null ? void 0 : g.children;
|
|
100
|
-
switch (e) {
|
|
101
|
-
case o.actionURL: {
|
|
102
|
-
c.value = { attrs: t || {} }, p.value = C(() => import("./target-link-7350d9ab.js"));
|
|
103
|
-
break;
|
|
104
|
-
}
|
|
105
|
-
case o.actionOpenDialog:
|
|
106
|
-
case o.actionCloseDialog: {
|
|
107
|
-
c.value = { attrs: t || {}, widgetList: i }, p.value = C(() => import("./target-window-582caaed.js"));
|
|
108
|
-
break;
|
|
109
|
-
}
|
|
110
|
-
case o.actionShowWidget:
|
|
111
|
-
case o.actionHideWidget: {
|
|
112
|
-
c.value = { attrs: t || {}, widgetList: i }, p.value = C(() => import("./target-widget-e56635ad.js"));
|
|
113
|
-
break;
|
|
114
|
-
}
|
|
115
|
-
case o.actionSendSchema: {
|
|
116
|
-
const a = D();
|
|
117
|
-
c.value = { attrs: t || {}, widgetList: (u = v.otherConfig) == null ? void 0 : u.widgetList, sourceList: a == null ? void 0 : a.filter((y) => y.protocal === z.REMOTE) }, p.value = C(() => import("./target-datasource-77af09d1.js"));
|
|
118
|
-
break;
|
|
119
|
-
}
|
|
120
|
-
case o.actionCode: {
|
|
121
|
-
c.value = v, p.value = C(() => import("./target-code-1ae99ae4.js"));
|
|
122
|
-
break;
|
|
123
|
-
}
|
|
124
|
-
case o.actionSaveFormData: {
|
|
125
|
-
const a = D();
|
|
126
|
-
c.value = { attrs: t || {}, widgetList: i, fieldWidgetList: (m = v.otherConfig) == null ? void 0 : m.widgetList, sourceList: a == null ? void 0 : a.filter((y) => y.protocal === z.REMOTE) }, p.value = C(() => import("./target-saveForm-dc868b1d.js"));
|
|
127
|
-
break;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}, ie = () => {
|
|
131
|
-
var t, i, n;
|
|
132
|
-
return c.value = (t = w == null ? void 0 : w.value) == null ? void 0 : t.save(), { type: (n = (i = _ == null ? void 0 : _.value) == null ? void 0 : i.getCurrentNode()) == null ? void 0 : n.id, content: c.value };
|
|
133
|
-
}, oe = () => {
|
|
134
|
-
X();
|
|
135
|
-
};
|
|
136
|
-
return ae(() => {
|
|
137
|
-
$();
|
|
138
|
-
}), Q({
|
|
139
|
-
save: ie,
|
|
140
|
-
clear: oe
|
|
141
|
-
}), (e, t) => {
|
|
142
|
-
const i = E("el-input"), n = E("el-col"), g = E("el-row");
|
|
143
|
-
return K(), J(g, { class: "full-height nomargin noOverflow" }, {
|
|
144
|
-
default: x(() => [
|
|
145
|
-
k(n, { span: 6 }, {
|
|
146
|
-
default: x(() => [
|
|
147
|
-
d("div", fe, V(f(l).i18nt("designer.hint.responseAction")), 1),
|
|
148
|
-
d("div", ve, [
|
|
149
|
-
d("div", he, [
|
|
150
|
-
k(f(q), {
|
|
151
|
-
"node-key": "id",
|
|
152
|
-
"highlight-current": "",
|
|
153
|
-
"current-node-key": b.value,
|
|
154
|
-
data: f(Z),
|
|
155
|
-
props: P,
|
|
156
|
-
ref_key: "varTypeRef",
|
|
157
|
-
ref: O,
|
|
158
|
-
onCurrentChange: I,
|
|
159
|
-
onNodeClick: I
|
|
160
|
-
}, null, 8, ["current-node-key", "data"])
|
|
161
|
-
]),
|
|
162
|
-
d("div", _e, [
|
|
163
|
-
d("div", Ce, [
|
|
164
|
-
k(i, {
|
|
165
|
-
modelValue: T.value,
|
|
166
|
-
"onUpdate:modelValue": t[0] || (t[0] = (u) => T.value = u),
|
|
167
|
-
placeholder: f(l).i18nt("designer.hint.filterInput"),
|
|
168
|
-
"suffix-icon": f(ue)
|
|
169
|
-
}, null, 8, ["modelValue", "placeholder", "suffix-icon"])
|
|
170
|
-
]),
|
|
171
|
-
k(f(q), M({
|
|
172
|
-
"node-key": "id",
|
|
173
|
-
ref_key: "varSourceRef",
|
|
174
|
-
ref: _,
|
|
175
|
-
"highlight-current": "",
|
|
176
|
-
data: A.value,
|
|
177
|
-
"current-node-key": S.value,
|
|
178
|
-
props: P,
|
|
179
|
-
onNodeClick: ee,
|
|
180
|
-
onCurrentChange: te
|
|
181
|
-
}, R.value), {
|
|
182
|
-
default: x(({ node: u, data: m }) => [
|
|
183
|
-
d("div", ye, V(m.label), 1)
|
|
184
|
-
]),
|
|
185
|
-
_: 1
|
|
186
|
-
}, 16, ["data", "current-node-key"])
|
|
187
|
-
])
|
|
188
|
-
])
|
|
189
|
-
]),
|
|
190
|
-
_: 1
|
|
191
|
-
}),
|
|
192
|
-
k(n, {
|
|
193
|
-
span: 18,
|
|
194
|
-
class: "full-height",
|
|
195
|
-
style: { "padding-left": "10px", display: "flex", "flex-direction": "column" }
|
|
196
|
-
}, {
|
|
197
|
-
default: x(() => [
|
|
198
|
-
d("div", ke, V(f(l).i18nt("designer.hint.actionParamSetting")), 1),
|
|
199
|
-
d("div", be, [
|
|
200
|
-
d("div", Se, [
|
|
201
|
-
(K(), J(se(p.value), M(c.value, {
|
|
202
|
-
ref_key: "editorRef",
|
|
203
|
-
ref: w
|
|
204
|
-
}), null, 16))
|
|
205
|
-
])
|
|
206
|
-
])
|
|
207
|
-
]),
|
|
208
|
-
_: 1
|
|
209
|
-
})
|
|
210
|
-
]),
|
|
211
|
-
_: 1
|
|
212
|
-
});
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
});
|
|
216
|
-
const je = /* @__PURE__ */ me(we, [["__scopeId", "data-v-6079e32d"]]);
|
|
217
|
-
export {
|
|
218
|
-
je as default
|
|
219
|
-
};
|