hldesigner 0.0.195 → 0.0.196

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.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as B, ref as N, computed as u, 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 f, unref as g, createElementVNode as A, toDisplayString as D, resolveDynamicComponent as O, createCommentVNode as C } from "vue";
2
- import { u as j } from "./index-885b96fb.js";
2
+ import { u as j } from "./index-645d9c0a.js";
3
3
  import { bm as F } from "./enum-type-a9f5e75a.js";
4
4
  import { p as I } from "./enum-type-25ce26d4.js";
5
5
  import "./emitter-fd99ee94.js";
@@ -21,7 +21,7 @@ import "./slot-e7793b25.js";
21
21
  import "./index-8411963a.js";
22
22
  import "./_plugin-vue_export-helper-dad06003.js";
23
23
  import "./property-base-b45a7998.js";
24
- import "./install-designer-a85d6cd4.js";
24
+ import "./install-designer-b97513b6.js";
25
25
  import "./cont-cell-widget-97d5e626.js";
26
26
  import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-1d1b1d58.js";
27
27
  import "./share-field-ca42d5df.js";
package/designer.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as S } from "./install-designer-a85d6cd4.js";
1
+ import { i as S } from "./install-designer-b97513b6.js";
2
2
  import "./cont-cell-widget-97d5e626.js";
3
3
  import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-1d1b1d58.js";
4
4
  import "vue";
@@ -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}.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}: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}.field-wrapper{position:relative}.design-time .el-row{margin:2px 0}.design-time .field-wrapper{min-height:1em;min-width:1em}.design-time .field-wrapper.selected .action{bottom:auto;z-index:1000;top:-22px}.design-time .field-wrapper:not(:has(.content-cell)):hover{outline:1px dashed var(--el-color-primary)!important;background-color:var(--el-color-primary-light-9)}.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-527104aa] .el-row{padding:8px}.loadingLayout[data-v-527104aa]{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-d08f0a26]{height:calc(var(--el-tabs-header-height));border-bottom:2px solid var(--el-color-info-light-7)}.el-main.page-widget-main[data-v-d08f0a26]{overflow:hidden}.page-widget-main .el-scrollbar[data-v-d08f0a26]{margin:10px;height:calc(100% - var(--el-tabs-header-height) - 20px)}.--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-d2770e0b] .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(--6228d629);height:var(--6dba15b8);display:var(--55f480cc)}.tipContent[data-v-49442c96]{display:flex;align-items:center;justify-content:center;text-align:center;position:absolute;left:0;right:0;top:0;bottom:0}.tipTopLeft[data-v-49442c96]{top:2px;left:2px}.tipBase[data-v-49442c96]{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(--69822d11) * .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(--69822d11);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(--69822d11);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:0}.setting-form .el-form-item:not(.nomargin) .el-radio-button .el-radio-button__inner{padding:5px 8px}.toolbar-container[data-v-305bf733]:after{display:block;content:"";clear:both}.left-toolbar[data-v-305bf733]{display:flex;margin-top:4px;float:left;font-size:16px}.right-toolbar[data-v-305bf733]{display:flex;float:right;line-height:42px;text-align:right;overflow:hidden}.right-toolbar .right-toolbar-con[data-v-305bf733]{text-align:right}.right-toolbar[data-v-305bf733] .el-button{margin-left:10px}.right-toolbar[data-v-305bf733] .el-button--text{font-size:14px!important}.right-toolbar[data-v-305bf733] .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}.input-with-unit[data-v-c70ff279]{display:flex;flex-direction:row;width:100%;align-items:center;overflow:hidden}.input-with-unit .el-input-number[data-v-c70ff279]{flex:1}.input-with-unit .el-input-number[data-v-c70ff279] .el-input__wrapper{border-radius:0}.unit[data-v-c70ff279]{display:inline-block;min-width:5em;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-input-border-color, var(--el-border-color)) inset}.input-with-unit:has(.el-input.is-disabled) .unit[data-v-c70ff279]{color:var(--el-text-color-disabled)}.multiRowLine[data-v-184ad302]{margin-top:8px;margin-bottom:8px}.multiRowLine .rowHeader[data-v-184ad302]{margin-bottom:6px}.detailTable[data-v-184ad302]{margin:10px 0;background-color:var(--el-fill-color-extra-light);border:1px dashed var(--el-border-color)}.rowLabel[data-v-184ad302]{font-size:var(--el-form-label-font-size);color:#0f0f0f}.row_bottom[data-v-184ad302]{margin:10px 0;text-align:center}.table2[data-v-184ad302]{width:100%;border-collapse:collapse}.table2.borderedTable thead th[data-v-184ad302],.table2.borderedTable thead td[data-v-184ad302],.table2.borderedTable thead[data-v-184ad302] .td2,.table2.borderedTable tbody th[data-v-184ad302],.table2.borderedTable tbody td[data-v-184ad302],.table2.borderedTable tbody[data-v-184ad302] .td2{border-color:var(--el-border-color-lighter)}.table2 th[data-v-184ad302]{background-color:var(--el-color-info-light-9);font-size:var(--el-font-size-base)}.table2 th[data-v-184ad302],.table2 td[data-v-184ad302],.table2[data-v-184ad302] .td2{padding:10px;border:1px solid transparent;display:table-cell!important}.table2 .required[data-v-184ad302]:before{content:"*";color:var(--el-color-danger)}.table2 .btns[data-v-184ad302]{min-width:8em;text-align:right}.table2 .rowIndex[data-v-184ad302]{text-align:center;min-width:3em;color:var(--el-text-color-primary);font-size:var(--el-font-size-base)}.table2 thead[data-v-184ad302]{color:var(--el-text-color-secondary)}.table2 tr.tr2[data-v-184ad302]:hover{background-color:var(--el-color-info-light-9)}.table2 tfoot th[data-v-184ad302],.table2 tfoot td[data-v-184ad302],.table2 tfoot[data-v-184ad302] .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-7725dda9]{display:flex;flex-direction:row;width:100%;align-content:center}.input-with-unit .title[data-v-7725dda9]{display:inline-block}.input-with-unit .inputer[data-v-7725dda9]{flex:1}.input-with-unit .inputer[data-v-7725dda9] .el-input{width:100%}.input-with-unit .inputer[data-v-7725dda9] .el-input .el-input__wrapper{border-radius:0}.input-with-unit:has(.inmessage) .unit[data-v-7725dda9]{margin-bottom:10px}.input-with-unit .unit[data-v-7725dda9]{display:inline-block;min-width:5em;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-7725dda9]{display:inline-block;padding:0 10px}.ql-counter{text-align:right;padding-right:5px}.ql-editor{min-height:300px}.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-61b477ad]{border:1px solid var(--el-border-color)}.st-btn[data-v-61b477ad]{margin:5px 0}.ruleFormItem[data-v-1fc83e12]{margin-bottom:18px}.el-form-item.commonFormItem .el-form-item__content{justify-content:space-between;flex-wrap:inherit}.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}[data-v-b4d0ffd1] .ace-editor{min-height:calc(var(--49c672a4) * var(--el-font-size-base) * 2)}.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-a435c395]{font-weight:700;height:1.5em}.varCell1[data-v-a435c395]{border:1px solid var(--el-color-info-light-8);width:100%;border-radius:4px}.varCell[data-v-a435c395]{height:calc(var(--e9cd77a6) - 1.2em);overflow:hidden;display:flex}.cellRow[data-v-a435c395]{flex-direction:row}.cellRow .splitCell[data-v-a435c395]{flex-basis:50%}.cellRow .splitCell[data-v-a435c395]:last-child{border-left:1px solid var(--el-color-info-light-8)}.cellColumn[data-v-a435c395]{flex-direction:column}.cellColumn .splitCell[data-v-a435c395]{height:33.3333333333%}.cellColumn .splitCell[data-v-a435c395]:last-child{border-top:1px solid var(--el-color-info-light-8)}.card-search[data-v-a435c395]{width:98%;margin:5px auto}.card-tree[data-v-a435c395]{height:calc(var(--e9cd77a6) * .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(--0c79b261) * .3)}.header .card .card_body[data-v-c780c70e]{height:calc(var(--0c79b261) * .3 - (var(--el-font-size-base) + 27px + 3px))}.main[data-v-c780c70e]{height:calc(var(--0c79b261) * .7 - 30px - 1px);margin:10px 0}.main .card[data-v-c780c70e]{height:calc(var(--0c79b261) * .7 - 30px - 1px)}.main .card .card_body[data-v-c780c70e]{height:calc(var(--0c79b261) * .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(--0e6bbccc)}.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-ef54f9c9] .fieldWrapper{margin:1px 0}[data-v-ef54f9c9] .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-ef54f9c9] .fieldWrapper .el-row label.el-radio{display:flex;align-items:center}[data-v-ef54f9c9] .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}.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}: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}.field-wrapper{position:relative}.design-time .el-row{margin:2px 0}.design-time .field-wrapper{min-height:1em;min-width:1em}.design-time .field-wrapper.selected .action{bottom:auto;z-index:1000;top:-22px}.design-time .field-wrapper:not(:has(.content-cell)):hover{outline:1px dashed var(--el-color-primary)!important;background-color:var(--el-color-primary-light-9)}.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-527104aa] .el-row{padding:8px}.loadingLayout[data-v-527104aa]{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-ba3aa756]{height:calc(var(--el-tabs-header-height));border-bottom:2px solid var(--el-color-info-light-7)}.el-main.page-widget-main[data-v-ba3aa756]{overflow:hidden}.page-widget-main .el-scrollbar[data-v-ba3aa756]{margin:10px;height:calc(100% - var(--el-tabs-header-height) - 20px)}.--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-d2770e0b] .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(--6228d629);height:var(--6dba15b8);display:var(--55f480cc)}.tipContent[data-v-49442c96]{display:flex;align-items:center;justify-content:center;text-align:center;position:absolute;left:0;right:0;top:0;bottom:0}.tipTopLeft[data-v-49442c96]{top:2px;left:2px}.tipBase[data-v-49442c96]{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(--69822d11) * .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(--69822d11);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(--69822d11);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:0}.setting-form .el-form-item:not(.nomargin) .el-radio-button .el-radio-button__inner{padding:5px 8px}.toolbar-container[data-v-305bf733]:after{display:block;content:"";clear:both}.left-toolbar[data-v-305bf733]{display:flex;margin-top:4px;float:left;font-size:16px}.right-toolbar[data-v-305bf733]{display:flex;float:right;line-height:42px;text-align:right;overflow:hidden}.right-toolbar .right-toolbar-con[data-v-305bf733]{text-align:right}.right-toolbar[data-v-305bf733] .el-button{margin-left:10px}.right-toolbar[data-v-305bf733] .el-button--text{font-size:14px!important}.right-toolbar[data-v-305bf733] .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}.input-with-unit[data-v-c70ff279]{display:flex;flex-direction:row;width:100%;align-items:center;overflow:hidden}.input-with-unit .el-input-number[data-v-c70ff279]{flex:1}.input-with-unit .el-input-number[data-v-c70ff279] .el-input__wrapper{border-radius:0}.unit[data-v-c70ff279]{display:inline-block;min-width:5em;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-input-border-color, var(--el-border-color)) inset}.input-with-unit:has(.el-input.is-disabled) .unit[data-v-c70ff279]{color:var(--el-text-color-disabled)}.multiRowLine[data-v-184ad302]{margin-top:8px;margin-bottom:8px}.multiRowLine .rowHeader[data-v-184ad302]{margin-bottom:6px}.detailTable[data-v-184ad302]{margin:10px 0;background-color:var(--el-fill-color-extra-light);border:1px dashed var(--el-border-color)}.rowLabel[data-v-184ad302]{font-size:var(--el-form-label-font-size);color:#0f0f0f}.row_bottom[data-v-184ad302]{margin:10px 0;text-align:center}.table2[data-v-184ad302]{width:100%;border-collapse:collapse}.table2.borderedTable thead th[data-v-184ad302],.table2.borderedTable thead td[data-v-184ad302],.table2.borderedTable thead[data-v-184ad302] .td2,.table2.borderedTable tbody th[data-v-184ad302],.table2.borderedTable tbody td[data-v-184ad302],.table2.borderedTable tbody[data-v-184ad302] .td2{border-color:var(--el-border-color-lighter)}.table2 th[data-v-184ad302]{background-color:var(--el-color-info-light-9);font-size:var(--el-font-size-base)}.table2 th[data-v-184ad302],.table2 td[data-v-184ad302],.table2[data-v-184ad302] .td2{padding:10px;border:1px solid transparent;display:table-cell!important}.table2 .required[data-v-184ad302]:before{content:"*";color:var(--el-color-danger)}.table2 .btns[data-v-184ad302]{min-width:8em;text-align:right}.table2 .rowIndex[data-v-184ad302]{text-align:center;min-width:3em;color:var(--el-text-color-primary);font-size:var(--el-font-size-base)}.table2 thead[data-v-184ad302]{color:var(--el-text-color-secondary)}.table2 tr.tr2[data-v-184ad302]:hover{background-color:var(--el-color-info-light-9)}.table2 tfoot th[data-v-184ad302],.table2 tfoot td[data-v-184ad302],.table2 tfoot[data-v-184ad302] .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-7725dda9]{display:flex;flex-direction:row;width:100%;align-content:center}.input-with-unit .title[data-v-7725dda9]{display:inline-block}.input-with-unit .inputer[data-v-7725dda9]{flex:1}.input-with-unit .inputer[data-v-7725dda9] .el-input{width:100%}.input-with-unit .inputer[data-v-7725dda9] .el-input .el-input__wrapper{border-radius:0}.input-with-unit:has(.inmessage) .unit[data-v-7725dda9]{margin-bottom:10px}.input-with-unit .unit[data-v-7725dda9]{display:inline-block;min-width:5em;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-7725dda9]{display:inline-block;padding:0 10px}.ql-counter{text-align:right;padding-right:5px}.ql-editor{min-height:300px}.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-61b477ad]{border:1px solid var(--el-border-color)}.st-btn[data-v-61b477ad]{margin:5px 0}.ruleFormItem[data-v-1fc83e12]{margin-bottom:18px}.el-form-item.commonFormItem .el-form-item__content{justify-content:space-between;flex-wrap:inherit}.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}[data-v-b4d0ffd1] .ace-editor{min-height:calc(var(--49c672a4) * var(--el-font-size-base) * 2)}.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-a435c395]{font-weight:700;height:1.5em}.varCell1[data-v-a435c395]{border:1px solid var(--el-color-info-light-8);width:100%;border-radius:4px}.varCell[data-v-a435c395]{height:calc(var(--e9cd77a6) - 1.2em);overflow:hidden;display:flex}.cellRow[data-v-a435c395]{flex-direction:row}.cellRow .splitCell[data-v-a435c395]{flex-basis:50%}.cellRow .splitCell[data-v-a435c395]:last-child{border-left:1px solid var(--el-color-info-light-8)}.cellColumn[data-v-a435c395]{flex-direction:column}.cellColumn .splitCell[data-v-a435c395]{height:33.3333333333%}.cellColumn .splitCell[data-v-a435c395]:last-child{border-top:1px solid var(--el-color-info-light-8)}.card-search[data-v-a435c395]{width:98%;margin:5px auto}.card-tree[data-v-a435c395]{height:calc(var(--e9cd77a6) * .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(--0c79b261) * .3)}.header .card .card_body[data-v-c780c70e]{height:calc(var(--0c79b261) * .3 - (var(--el-font-size-base) + 27px + 3px))}.main[data-v-c780c70e]{height:calc(var(--0c79b261) * .7 - 30px - 1px);margin:10px 0}.main .card[data-v-c780c70e]{height:calc(var(--0c79b261) * .7 - 30px - 1px)}.main .card .card_body[data-v-c780c70e]{height:calc(var(--0c79b261) * .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(--0e6bbccc)}.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-ef54f9c9] .fieldWrapper{margin:1px 0}[data-v-ef54f9c9] .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-ef54f9c9] .fieldWrapper .el-row label.el-radio{display:flex;align-items:center}[data-v-ef54f9c9] .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
@@ -8,4 +8,4 @@
8
8
  * https://quilljs.com/
9
9
  * Copyright (c) 2014, Jason Chen
10
10
  * Copyright (c) 2013, salesforce.com
11
- */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-bubble.ql-toolbar:after,.ql-bubble .ql-toolbar:after{clear:both;content:"";display:table}.ql-bubble.ql-toolbar button,.ql-bubble .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-bubble.ql-toolbar button svg,.ql-bubble .ql-toolbar button svg{float:left;height:100%}.ql-bubble.ql-toolbar button:active:hover,.ql-bubble .ql-toolbar button:active:hover{outline:none}.ql-bubble.ql-toolbar input.ql-image[type=file],.ql-bubble .ql-toolbar input.ql-image[type=file]{display:none}.ql-bubble.ql-toolbar button:hover,.ql-bubble .ql-toolbar button:hover,.ql-bubble.ql-toolbar button:focus,.ql-bubble .ql-toolbar button:focus,.ql-bubble.ql-toolbar button.ql-active,.ql-bubble .ql-toolbar button.ql-active,.ql-bubble.ql-toolbar .ql-picker-label:hover,.ql-bubble .ql-toolbar .ql-picker-label:hover,.ql-bubble.ql-toolbar .ql-picker-label.ql-active,.ql-bubble .ql-toolbar .ql-picker-label.ql-active,.ql-bubble.ql-toolbar .ql-picker-item:hover,.ql-bubble .ql-toolbar .ql-picker-item:hover,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected{color:#fff}.ql-bubble.ql-toolbar button:hover .ql-fill,.ql-bubble .ql-toolbar button:hover .ql-fill,.ql-bubble.ql-toolbar button:focus .ql-fill,.ql-bubble .ql-toolbar button:focus .ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#fff}.ql-bubble.ql-toolbar button:hover .ql-stroke,.ql-bubble .ql-toolbar button:hover .ql-stroke,.ql-bubble.ql-toolbar button:focus .ql-stroke,.ql-bubble .ql-toolbar button:focus .ql-stroke,.ql-bubble.ql-toolbar button.ql-active .ql-stroke,.ql-bubble .ql-toolbar button.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble.ql-toolbar button:hover .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover .ql-stroke-miter,.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#fff}@media (pointer: coarse){.ql-bubble.ql-toolbar button:hover:not(.ql-active),.ql-bubble .ql-toolbar button:hover:not(.ql-active){color:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#ccc}}.ql-bubble,.ql-bubble *{box-sizing:border-box}.ql-bubble .ql-hidden{display:none}.ql-bubble .ql-out-bottom,.ql-bubble .ql-out-top{visibility:hidden}.ql-bubble .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-bubble .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-bubble .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-bubble .ql-formats{display:inline-block;vertical-align:middle}.ql-bubble .ql-formats:after{clear:both;content:"";display:table}.ql-bubble .ql-stroke{fill:none;stroke:#ccc;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-bubble .ql-stroke-miter{fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:2}.ql-bubble .ql-fill,.ql-bubble .ql-stroke.ql-fill{fill:#ccc}.ql-bubble .ql-empty{fill:none}.ql-bubble .ql-even{fill-rule:evenodd}.ql-bubble .ql-thin,.ql-bubble .ql-stroke.ql-thin{stroke-width:1}.ql-bubble .ql-transparent{opacity:.4}.ql-bubble .ql-direction svg:last-child{display:none}.ql-bubble .ql-direction.ql-active svg:last-child{display:inline}.ql-bubble .ql-direction.ql-active svg:first-child{display:none}.ql-bubble .ql-editor h1{font-size:2em}.ql-bubble .ql-editor h2{font-size:1.5em}.ql-bubble .ql-editor h3{font-size:1.17em}.ql-bubble .ql-editor h4{font-size:1em}.ql-bubble .ql-editor h5{font-size:.83em}.ql-bubble .ql-editor h6{font-size:.67em}.ql-bubble .ql-editor a{text-decoration:underline}.ql-bubble .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-bubble .ql-editor code,.ql-bubble .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-bubble .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-bubble .ql-editor code{font-size:85%;padding:2px 4px}.ql-bubble .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-bubble .ql-editor img{max-width:100%}.ql-bubble .ql-picker{color:#ccc;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-bubble .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-bubble .ql-picker-label:before{display:inline-block;line-height:22px}.ql-bubble .ql-picker-options{background-color:#444;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-bubble .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-bubble .ql-picker.ql-expanded .ql-picker-label{color:#777;z-index:2}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-bubble .ql-color-picker,.ql-bubble .ql-icon-picker{width:28px}.ql-bubble .ql-color-picker .ql-picker-label,.ql-bubble .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-label svg,.ql-bubble .ql-icon-picker .ql-picker-label svg{right:4px}.ql-bubble .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-bubble .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-bubble .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-bubble .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-bubble .ql-picker.ql-header{width:98px}.ql-bubble .ql-picker.ql-header .ql-picker-label:before,.ql-bubble .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-bubble .ql-picker.ql-font{width:108px}.ql-bubble .ql-picker.ql-font .ql-picker-label:before,.ql-bubble .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-bubble .ql-picker.ql-size{width:98px}.ql-bubble .ql-picker.ql-size .ql-picker-label:before,.ql-bubble .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-bubble .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-bubble .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-bubble .ql-toolbar .ql-formats{margin:8px 12px 8px 0}.ql-bubble .ql-toolbar .ql-formats:first-child{margin-left:12px}.ql-bubble .ql-color-picker svg{margin:1px}.ql-bubble .ql-color-picker .ql-picker-item.ql-selected,.ql-bubble .ql-color-picker .ql-picker-item:hover{border-color:#fff}.ql-bubble .ql-tooltip{background-color:#444;border-radius:25px;color:#fff}.ql-bubble .ql-tooltip-arrow{border-left:6px solid transparent;border-right:6px solid transparent;content:" ";display:block;left:50%;margin-left:-6px;position:absolute}.ql-bubble .ql-tooltip:not(.ql-flip) .ql-tooltip-arrow{border-bottom:6px solid #444;top:-6px}.ql-bubble .ql-tooltip.ql-flip .ql-tooltip-arrow{border-top:6px solid #444;bottom:-6px}.ql-bubble .ql-tooltip.ql-editing .ql-tooltip-editor{display:block}.ql-bubble .ql-tooltip.ql-editing .ql-formats{visibility:hidden}.ql-bubble .ql-tooltip-editor{display:none}.ql-bubble .ql-tooltip-editor input[type=text]{background:transparent;border:none;color:#fff;font-size:13px;height:100%;outline:none;padding:10px 20px;position:absolute;width:100%}.ql-bubble .ql-tooltip-editor a{top:10px;position:absolute;right:20px}.ql-bubble .ql-tooltip-editor a:before{color:#ccc;content:"\d7";font-size:16px;font-weight:700}.ql-container.ql-bubble:not(.ql-disabled) a{position:relative;white-space:nowrap}.ql-container.ql-bubble:not(.ql-disabled) a:before{background-color:#444;border-radius:15px;top:-5px;font-size:12px;color:#fff;content:attr(href);font-weight:400;overflow:hidden;padding:5px 15px;text-decoration:none;z-index:1}.ql-container.ql-bubble:not(.ql-disabled) a:after{border-top:6px solid #444;border-left:6px solid transparent;border-right:6px solid transparent;top:0;content:" ";height:0;width:0}.ql-container.ql-bubble:not(.ql-disabled) a:before,.ql-container.ql-bubble:not(.ql-disabled) a:after{left:0;margin-left:50%;position:absolute;transform:translate(-50%,-100%);transition:visibility 0s ease .2s;visibility:hidden}.ql-container.ql-bubble:not(.ql-disabled) a:hover:before,.ql-container.ql-bubble:not(.ql-disabled) a:hover:after{visibility:visible}.link_row[data-v-a699bf72],.link_row[data-v-b000fdd9]{justify-content:space-between}
11
+ */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-bubble.ql-toolbar:after,.ql-bubble .ql-toolbar:after{clear:both;content:"";display:table}.ql-bubble.ql-toolbar button,.ql-bubble .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-bubble.ql-toolbar button svg,.ql-bubble .ql-toolbar button svg{float:left;height:100%}.ql-bubble.ql-toolbar button:active:hover,.ql-bubble .ql-toolbar button:active:hover{outline:none}.ql-bubble.ql-toolbar input.ql-image[type=file],.ql-bubble .ql-toolbar input.ql-image[type=file]{display:none}.ql-bubble.ql-toolbar button:hover,.ql-bubble .ql-toolbar button:hover,.ql-bubble.ql-toolbar button:focus,.ql-bubble .ql-toolbar button:focus,.ql-bubble.ql-toolbar button.ql-active,.ql-bubble .ql-toolbar button.ql-active,.ql-bubble.ql-toolbar .ql-picker-label:hover,.ql-bubble .ql-toolbar .ql-picker-label:hover,.ql-bubble.ql-toolbar .ql-picker-label.ql-active,.ql-bubble .ql-toolbar .ql-picker-label.ql-active,.ql-bubble.ql-toolbar .ql-picker-item:hover,.ql-bubble .ql-toolbar .ql-picker-item:hover,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected{color:#fff}.ql-bubble.ql-toolbar button:hover .ql-fill,.ql-bubble .ql-toolbar button:hover .ql-fill,.ql-bubble.ql-toolbar button:focus .ql-fill,.ql-bubble .ql-toolbar button:focus .ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#fff}.ql-bubble.ql-toolbar button:hover .ql-stroke,.ql-bubble .ql-toolbar button:hover .ql-stroke,.ql-bubble.ql-toolbar button:focus .ql-stroke,.ql-bubble .ql-toolbar button:focus .ql-stroke,.ql-bubble.ql-toolbar button.ql-active .ql-stroke,.ql-bubble .ql-toolbar button.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble.ql-toolbar button:hover .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover .ql-stroke-miter,.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#fff}@media (pointer: coarse){.ql-bubble.ql-toolbar button:hover:not(.ql-active),.ql-bubble .ql-toolbar button:hover:not(.ql-active){color:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#ccc}.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#ccc}}.ql-bubble,.ql-bubble *{box-sizing:border-box}.ql-bubble .ql-hidden{display:none}.ql-bubble .ql-out-bottom,.ql-bubble .ql-out-top{visibility:hidden}.ql-bubble .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-bubble .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-bubble .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-bubble .ql-formats{display:inline-block;vertical-align:middle}.ql-bubble .ql-formats:after{clear:both;content:"";display:table}.ql-bubble .ql-stroke{fill:none;stroke:#ccc;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-bubble .ql-stroke-miter{fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:2}.ql-bubble .ql-fill,.ql-bubble .ql-stroke.ql-fill{fill:#ccc}.ql-bubble .ql-empty{fill:none}.ql-bubble .ql-even{fill-rule:evenodd}.ql-bubble .ql-thin,.ql-bubble .ql-stroke.ql-thin{stroke-width:1}.ql-bubble .ql-transparent{opacity:.4}.ql-bubble .ql-direction svg:last-child{display:none}.ql-bubble .ql-direction.ql-active svg:last-child{display:inline}.ql-bubble .ql-direction.ql-active svg:first-child{display:none}.ql-bubble .ql-editor h1{font-size:2em}.ql-bubble .ql-editor h2{font-size:1.5em}.ql-bubble .ql-editor h3{font-size:1.17em}.ql-bubble .ql-editor h4{font-size:1em}.ql-bubble .ql-editor h5{font-size:.83em}.ql-bubble .ql-editor h6{font-size:.67em}.ql-bubble .ql-editor a{text-decoration:underline}.ql-bubble .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-bubble .ql-editor code,.ql-bubble .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-bubble .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-bubble .ql-editor code{font-size:85%;padding:2px 4px}.ql-bubble .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-bubble .ql-editor img{max-width:100%}.ql-bubble .ql-picker{color:#ccc;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-bubble .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-bubble .ql-picker-label:before{display:inline-block;line-height:22px}.ql-bubble .ql-picker-options{background-color:#444;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-bubble .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-bubble .ql-picker.ql-expanded .ql-picker-label{color:#777;z-index:2}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-bubble .ql-color-picker,.ql-bubble .ql-icon-picker{width:28px}.ql-bubble .ql-color-picker .ql-picker-label,.ql-bubble .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-label svg,.ql-bubble .ql-icon-picker .ql-picker-label svg{right:4px}.ql-bubble .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-bubble .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-bubble .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-bubble .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-bubble .ql-picker.ql-header{width:98px}.ql-bubble .ql-picker.ql-header .ql-picker-label:before,.ql-bubble .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-bubble .ql-picker.ql-font{width:108px}.ql-bubble .ql-picker.ql-font .ql-picker-label:before,.ql-bubble .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-bubble .ql-picker.ql-size{width:98px}.ql-bubble .ql-picker.ql-size .ql-picker-label:before,.ql-bubble .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-bubble .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-bubble .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-bubble .ql-toolbar .ql-formats{margin:8px 12px 8px 0}.ql-bubble .ql-toolbar .ql-formats:first-child{margin-left:12px}.ql-bubble .ql-color-picker svg{margin:1px}.ql-bubble .ql-color-picker .ql-picker-item.ql-selected,.ql-bubble .ql-color-picker .ql-picker-item:hover{border-color:#fff}.ql-bubble .ql-tooltip{background-color:#444;border-radius:25px;color:#fff}.ql-bubble .ql-tooltip-arrow{border-left:6px solid transparent;border-right:6px solid transparent;content:" ";display:block;left:50%;margin-left:-6px;position:absolute}.ql-bubble .ql-tooltip:not(.ql-flip) .ql-tooltip-arrow{border-bottom:6px solid #444;top:-6px}.ql-bubble .ql-tooltip.ql-flip .ql-tooltip-arrow{border-top:6px solid #444;bottom:-6px}.ql-bubble .ql-tooltip.ql-editing .ql-tooltip-editor{display:block}.ql-bubble .ql-tooltip.ql-editing .ql-formats{visibility:hidden}.ql-bubble .ql-tooltip-editor{display:none}.ql-bubble .ql-tooltip-editor input[type=text]{background:transparent;border:none;color:#fff;font-size:13px;height:100%;outline:none;padding:10px 20px;position:absolute;width:100%}.ql-bubble .ql-tooltip-editor a{top:10px;position:absolute;right:20px}.ql-bubble .ql-tooltip-editor a:before{color:#ccc;content:"\d7";font-size:16px;font-weight:700}.ql-container.ql-bubble:not(.ql-disabled) a{position:relative;white-space:nowrap}.ql-container.ql-bubble:not(.ql-disabled) a:before{background-color:#444;border-radius:15px;top:-5px;font-size:12px;color:#fff;content:attr(href);font-weight:400;overflow:hidden;padding:5px 15px;text-decoration:none;z-index:1}.ql-container.ql-bubble:not(.ql-disabled) a:after{border-top:6px solid #444;border-left:6px solid transparent;border-right:6px solid transparent;top:0;content:" ";height:0;width:0}.ql-container.ql-bubble:not(.ql-disabled) a:before,.ql-container.ql-bubble:not(.ql-disabled) a:after{left:0;margin-left:50%;position:absolute;transform:translate(-50%,-100%);transition:visibility 0s ease .2s;visibility:hidden}.ql-container.ql-bubble:not(.ql-disabled) a:hover:before,.ql-container.ql-bubble:not(.ql-disabled) a:hover:after{visibility:visible}.link_row[data-v-c802cc45],.link_row[data-v-b000fdd9]{justify-content:space-between}
package/designer.umd.js CHANGED
@@ -197,7 +197,7 @@ Defaulting to 2020, but this will stop working in the future.`)),e.ecmaVersion=1
197
197
  `&&++this.pos;case`
198
198
  `:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},Ar.readEscapedChar=function(t){var e=this.input.charCodeAt(++this.pos);switch(++this.pos,e){case 110:return`
199
199
  `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return sC(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),t){var n=this.pos-1;this.invalidStringToken(n,"Invalid escape sequence in template string")}default:if(e>=48&&e<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(i,8);return r>255&&(i=i.slice(0,-1),r=parseInt(i,8)),this.pos+=i.length-1,e=this.input.charCodeAt(this.pos),(i!=="0"||e===56||e===57)&&(this.strict||t)&&this.invalidStringToken(this.pos-1-i.length,t?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return hf(e)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(e)}},Ar.readHexChar=function(t){var e=this.pos,n=this.readInt(16,t);return n===null&&this.invalidStringToken(e,"Bad character escape sequence"),n},Ar.readWord1=function(){this.containsEsc=!1;for(var t="",e=!0,n=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var r=this.fullCharCodeAtPos();if(Nd(r,i))this.pos+=r<=65535?1:2;else if(r===92){this.containsEsc=!0,t+=this.input.slice(n,this.pos);var o=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var a=this.readCodePoint();(e?Qu:Nd)(a,i)||this.invalidStringToken(o,"Invalid Unicode escape"),t+=sC(a),n=this.pos}else break;e=!1}return t+this.input.slice(n,this.pos)},Ar.readWord=function(){var t=this.readWord1(),e=Pe.name;return this.keywords.test(t)&&(e=iV[t]),this.finishToken(e,t)};var TDe="8.15.0";zo.acorn={Parser:zo,version:TDe,defaultOptions:rV,Position:qy,SourceLocation:kS,getLineInfo:l7,Node:LS,TokenType:Gr,tokTypes:Pe,keywordTypes:iV,TokContext:Iu,tokContexts:Wa,isIdentifierChar:Nd,isIdentifierStart:Qu,Token:CV,isNewLine:hf,lineBreak:Ll,lineBreakG:eDe,nonASCIIwhitespace:r7};function WDe(t,e){return zo.parse(t,e)}function VDe(t){var r,o;const e=WDe(t,{ecmaVersion:"latest",sourceType:"script",ranges:!0}),n=[],i=[];for(const a of e.body){if(a.type==="FunctionDeclaration"&&((r=a.id)!=null&&r.name)&&a.range){const c=a.id.name,s=t.slice(a.range[0],a.range[1]);n.push({name:c,text:s})}if(a.type==="ClassDeclaration"&&((o=a.id)!=null&&o.name)&&a.range){const c=a.id.name,s=t.slice(a.range[0],a.range[1]);i.push({name:c,text:s})}}return{functions:n,classes:i}}const _S=()=>{const t="v_form_global_css",e=(s="",l=t)=>{var g=r(s,l);i(g)},n=(s="",l="",g=t)=>{if(!s)return;let u=document.getElementsByTagName("head")[0];if(u)try{var I=r(l,g);i(g),i(I);let C=document.createElement("style");if(!C)return;C.type="text/css",C.id=l?g+"-"+l:g;try{C.appendChild(document.createTextNode(s.toString()))}catch{C.innerHTML=s.toString()}u.appendChild(C)}catch(C){$r.error("insert css to head fail",C)}},i=s=>{let l=document.getElementById(s);try{l&&l.parentNode&&l.parentNode.removeChild(l)}catch(g){console.log(g,l)}},r=(s,l)=>s?l+"-"+s:l,o="v_form_global_functions";return{insertCustomCssToHead:n,insertGlobalFunctionsToHtml:s=>{var l,g;try{const u=VDe(s);(l=u.functions)==null||l.forEach(I=>{let C;const h=I==null?void 0:I.text,A=I==null?void 0:I.name;try{C=new Function(`return ${h}`)()}catch(d){$r.error(`Failed to compile function "${A}":`,d);return}window[A]=C}),(g=u.classes)==null||g.forEach(I=>{const C=I==null?void 0:I.text,h=I==null?void 0:I.name;let A;try{A=new Function(`return ${C}`)()}catch(d){$r.error(`Failed to compile class "${h}":`,d);return}window[h]=A})}catch(u){$r.error("insert js to head fail",u)}},removeGlobalFunctionsToHtml:(s,l=o)=>{var g=r(s,l);i(g)},removeCustomCssToHead:e}},BDe=t=>{const e=window.onresize;typeof window.onresize!="function"?window.onresize=t:window.onresize=()=>{e&&e(),t()}},E7=["width","height","display","margin","margin-left","margin-right","margin-top","margin-bottom"],DDe=(t,e,n)=>{const i={};return e.forEach(r=>{var o=t[r];Hr(o)||(i[r]=n?n(r,o):o)}),i},kDe=(t,e,n)=>{var r;const i={};return(r=zi(t))==null||r.forEach(o=>{var a=t[o];e!=null&&e.includes(o)||(i[o]=n?n(o,a):a)}),i},H7=(t,e)=>["width","height","display"].includes(t)?Hr(e)||e=="auto"?e:`${e} !important`:e,RDe=t=>new Promise(e=>{qW(t).then(n=>{var i=n==null?void 0:n.map(r=>({selector:r.selector,declarations:DDe(r.declarations,E7,H7)}));$W(i).then(r=>{e(r)})})}),XDe=t=>new Promise(e=>{qW(t).then(n=>{var i=n==null?void 0:n.map(r=>({selector:r.selector,declarations:kDe(r.declarations,E7,H7)}));$W(i).then(r=>{e(r)})})}),F7=(t,e)=>{if(!e||!t)return;const n=tu(t,":root",`.${e}`),{insertCustomCssToHead:i}=_S();i(n,void 0,e)},YDe=p.defineComponent({__name:"comp-wrapper",props:{...go,componentName:{type:String,default:"div"},componentClass:{type:String,default:""},componentAttrs:{type:Object,default:null}},setup(t){const e=t;p.useCssVars(g=>({"6228d629":p.unref(r),"6dba15b8":p.unref(o),"55f480cc":p.unref(a)}));const n=p.computed(()=>{var g;return"node_"+((g=e.widget)==null?void 0:g.id)}),i=p.computed(()=>["comp__1",e.componentClass,c.value,n.value]),{ctrlWidth:r,ctrlHeight:o,displayLayout:a,componentRootClass:c,css:s}=Pu(e),l=(g="")=>{RDe(g).then(u=>{F7(u,n.value)})};return p.watch(()=>s.value,g=>{l(g)}),p.onMounted(()=>{l(s.value)}),(g,u)=>t.componentName?(p.openBlock(),p.createBlock(p.resolveDynamicComponent(t.componentName),p.mergeProps({key:0,class:p.unref(i)},t.componentAttrs),{default:p.withCtx(()=>[p.renderSlot(g.$slots,"default",{},void 0,!0)]),_:3},16,["class"])):p.renderSlot(g.$slots,"default",p.mergeProps({key:1,class:p.unref(i)},t.componentAttrs),void 0,!0)}}),DLt="",Ei=(t,e)=>{const n=t.__vccOpts||t;for(const[i,r]of e)n[i]=r;return n},L7=Ei(YDe,[["__scopeId","data-v-0f5501af"]]),EDe={key:0,class:"tipBase tipTopLeft"},HDe={key:1,class:"tipBase tipContent"},FDe=p.defineComponent({__name:"drag-wrapper",props:{...go,widgetList:{type:Array,default:[]},dragClass:{type:String,default:""},propName:{type:String,default:it.widgetList},title:{type:String,default:""},model:{type:Object,default:null},provideModel:{type:Boolean,default:!1},refList:{type:Object,default:null},widgetTree:{type:Object,default:null},dragTip:{type:String,default:P.i18nt("designer.hint.draggableArea")},dragTag:{type:String,default:"div"},componentName:{type:String,default:"div"},componentClass:{type:String,default:""},componentAttrs:{type:Object,default:null},componentStyle:{type:Object,default:null},rowScope:{type:Object,default:null}},emits:["update"],setup(t,{emit:e}){const n=t,{components:i}=TWe(),{checkWidgetMove:r,onWidgetDragAdd:o,onWidgetDragUpdate:a,onWidgetDragEnd:c,onWidgetDragRemove:s}=Js(n.designer),l=u=>{e("update",u)},g=p.computed({get:()=>n.widget?og(n.widget,n.propName):n.widgetList,set:u=>{n.widget?Lg(n.widget,n.propName,u):e("update",u)}});return(co(n.model)||n.provideModel)&&uu.globalProvide({globalDataModel:n==null?void 0:n.model}),n.refList&&uu.globalProvide({formRefList:n.refList}),co(n.rowScope)&&co(n.rowScope)&&uu.globalProvide({rowScope:n.rowScope}),(u,I)=>{const C=p.resolveComponent("draggable");return u.designState===!0?(p.openBlock(),p.createBlock(C,p.mergeProps({key:0,list:p.unref(g),"item-key":"id",group:"dragGroup",class:[t.dragClass,"containerDraggable full-height"],tag:t.dragTag},{chosenClass:"chosen",ghostClass:"ghost",animation:200},{"component-data":{name:"fade"},handle:".drag-handler",onEnd:I[0]||(I[0]=h=>p.unref(c)(h,p.unref(g))),onRemove:I[1]||(I[1]=h=>p.unref(s)(h,p.unref(g),l)),onAdd:I[2]||(I[2]=h=>p.unref(o)(h,p.unref(g),l)),onUpdate:I[3]||(I[3]=h=>p.unref(a)(h,p.unref(g),l)),move:p.unref(r)}),{header:p.withCtx(()=>[p.renderSlot(u.$slots,"header",{},void 0,!0)]),item:p.withCtx(({element:h,index:A})=>[p.createVNode(L7,p.mergeProps({widget:h,designer:u.designer,"design-state":u.designState,"parent-list":p.unref(g),"parent-widget":u.widget,"component-class":t.componentClass},t.componentAttrs,{style:t.componentStyle,componentName:t.componentName}),{default:p.withCtx(()=>[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(i)(h)),{designer:u.designer,widget:h,key:h.id,"design-state":u.designState,"parent-list":p.unref(g),"parent-widget":u.widget},null,8,["designer","widget","design-state","parent-list","parent-widget"]))]),_:2},1040,["widget","designer","design-state","parent-list","parent-widget","component-class","style","componentName"])]),footer:p.withCtx(()=>[p.renderSlot(u.$slots,"footer",{},void 0,!0),p.renderSlot(u.$slots,"tip",{},()=>{var h,A;return[((h=p.unref(g))==null?void 0:h.length)<=0&&t.title?(p.openBlock(),p.createElementBlock("div",EDe,p.toDisplayString(t.title),1)):p.createCommentVNode("",!0),((A=p.unref(g))==null?void 0:A.length)<=0&&t.dragTip?(p.openBlock(),p.createElementBlock("div",HDe,p.toDisplayString(t.dragTip),1)):p.createCommentVNode("",!0)]},!0)]),_:3},16,["list","class","tag","move"])):(p.openBlock(!0),p.createElementBlock(p.Fragment,{key:1},p.renderList(p.unref(g),(h,A)=>(p.openBlock(),p.createBlock(L7,p.mergeProps({key:h.id,widget:h,designer:u.designer,"design-state":u.designState,"parent-list":p.unref(g),"parent-widget":u.widget,componentName:t.componentName,"component-class":t.componentClass},t.componentAttrs,{style:t.componentStyle}),{default:p.withCtx(()=>[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(i)(h)),{designer:u.designer,widget:h,"design-state":u.designState,"parent-list":p.unref(g),"parent-widget":u.widget},null,8,["designer","widget","design-state","parent-list","parent-widget"]))]),_:2},1040,["widget","designer","design-state","parent-list","parent-widget","componentName","component-class","style"]))),128))}}}),kLt="",fr=Ei(FDe,[["__scopeId","data-v-49442c96"]]);function wf(){const t={},e=(r,o)=>{var a,c,s,l;return r?!!((a=r==null?void 0:r.proxy)!=null&&a.$options&&((s=(c=r==null?void 0:r.proxy)==null?void 0:c.$options)==null?void 0:s.componentName)===o||r!=null&&r.exposed&&((l=r==null?void 0:r.exposed)==null?void 0:l.componentName)===o):!1},n=(r,o,a)=>{r&&zi(r).forEach(c=>{e(r[c],o)&&(a==null||a(r[c]))})},i=(r,o,a)=>{r&&(e(r,o)?a==null||a(r):i(r.parent,o,a))};return{emit$(r,o){t[r]&&t[r].forEach(a=>{a(o)})},on$(r,o){t[r]=t[r]||[],t[r].push(o)},off$(r,o){if(t[r]){if(ai(o)){t[r].length=0;return}for(let a=0;a<t[r].length;a++)if(t[r][a]===o){t[r].splice(a,1);break}}},dispatch(r,o,a,c){if(!r)return;let s=c.parent||c.root;i(s,r,l=>{var g;l&&(l.exposed.emit$&&l.exposed.emit$(o,a),l!=null&&l.proxy&&((g=l==null?void 0:l.proxy)==null||g.$emit(o,a)))})},broadcast(r,o,a,c,s=[]){s==null||s.forEach(l=>{n(c[l],r,g=>{g.emit$&&g.emit$.call(g,o,a)})})}}}function J7(){return{onMountedOrActivated:n=>{let i=!1;p.onMounted(()=>{n(),p.nextTick(()=>{i=!0})}),p.onActivated(()=>{i&&n()})},onCompErrorCaptured:()=>{p.onErrorCaptured(n=>($r.error("onCompErrorCaptured",n),!1))}}}function dV(t,e){const{getWidgetOption:n,getWidgetOptionByPropValue:i}=hl(t,e),r=a=>n(a);return{existFunc:r,handleFunc:(a,c)=>{if(wa(a)){var s=r(String(a));return o0(s,c)}else{var s=i(Yt(a));return o0(s,c)}}}}class mf{constructor(e){J(this,"refList",{});e&&(this.refList=e)}initRefList(){this.refList||(this.refList={})}getWidgetRef(e){if(e)return this.initRefList(),this.refList[e]}setWidgetRef(e,n){e&&(this.initRefList(),this.refList[e]=n)}removeWidgetRef(e){e&&this.refList&&delete this.refList[e.toString()]}}const hV="",pV="_",K7=(t,e)=>ai(e)?t||"":`${hV}${t}${pV}${e}`,Sd=t=>{if(t!=null&&t.includes(pV)){var e=t.split(pV);const n=e==null?void 0:e[0].substring(hV.length),i=t.substring(hV.length+n.length+1);return{id:n,groupName:i}}return{id:t}};var i1=(t=>(t[t.None=0]="None",t[t.Inner2Inner=1]="Inner2Inner",t[t.Inner2Outer=2]="Inner2Outer",t[t.Outer2Inner=3]="Outer2Inner",t[t.Outer2Outer=4]="Outer2Outer",t[t.DiffInner=5]="DiffInner",t))(i1||{});const LDe=(t,e)=>{const n=Sd(t),i=n==null?void 0:n.groupName,r=Sd(e),o=r==null?void 0:r.groupName;return!i&&!o?4:i&&!o?2:i&&o?i!==o?5:1:!i&&o?3:0};function xd(t){t||(t={});const e=new mf(t),{instance:n}=ma(),i=C=>e.getWidgetRef(C==null?void 0:C.toString()),r=(C,h,A)=>{var d=[],f=[];let w=i(C);return w&&d.push(w),d==null||d.forEach(y=>{var m=a(y,h,A);m&&f.push(m)}),f},o=(C,h)=>{var A;return(A=C==null?void 0:C.exposed)==null?void 0:A[h.toString()]},a=(C,h,A)=>{var d=o(C,h);if(d){var f=[];return A&&(f=Object.values(A)),d(...f)}},c=(C,h,A)=>{var d=[];if(C){var f=Yt(vr(C,!0));f==null||f.forEach(w=>{var y=r(w,h,A);ai(y)||d.push(y)})}return Array.isArray(C)?d:d==null?void 0:d[0]},s=(C,h)=>{let A=zi(t);c(A,C,h)},l=(C,h)=>{var m,b,v;const A=(b=(m=h||n)==null?void 0:m.exposed)==null?void 0:b.getField();var d=Sd(A==null?void 0:A.id);const f=S=>(S==null?void 0:S.id)===C,w=S=>{var x;var M=Sd(S==null?void 0:S.id);return(d==null?void 0:d.groupName)===(M==null?void 0:M.groupName)&&((M==null?void 0:M.id)===C||((x=S==null?void 0:S._source)==null?void 0:x.id)===C)},y=(v=zi(e.refList))==null?void 0:v.find(S=>{var x,N;try{const Z=(N=(x=e.refList[S])==null?void 0:x.exposed)==null?void 0:N.getField();var M=f(Z);return!M&&(d!=null&&d.groupName)&&(M=w(Z)),M}catch{return!1}});if(y)return i(y)},g=C=>{if(C){let h=C;e==null||e.setWidgetRef(h,n)}},u=C=>{if(C){let h=C;e==null||e.removeWidgetRef(h)}};return{findWidgetAndCall:r,getWidgetRef:i,callWidgetsExposed:c,callRefFunc:a,existRefFunc:o,setAllRefList:s,findRefById:l,findRefByName:i,changeRegisterToRefList:(C,h)=>{C&&(g(C),u(h))},registerToRefList:g,unregisterFromRefList:u}}const Po=(t,e=!0,n)=>{if(n!=null&&n===!1)return[];const i=AV(t);return e||(t==null?void 0:t.length)<=0?i:i==null?void 0:i.filter(r=>{var o;return!!(r!=null&&r.widgetList)&&((o=r==null?void 0:r.widgetList)==null?void 0:o.length)>0||!!r.default||(r==null?void 0:r.slotName)===Eg.default})},ps=(t,e)=>t==null?void 0:t.find(n=>(n==null?void 0:n.slotName)===e),AV=t=>Yt(t);function fV(t,e){const n=e==null?void 0:e.pageConfig,i=e==null?void 0:e.formData,r=p.reactive({});Rn(r,i);var{instance:o}=ma();const a=()=>{var g=DBe(t);g==null||g.forEach(u=>{const{computedDefaultValue:I,fieldName:C,hasDefaultValue:h}=hl(u.field,e,{s_fieldName:!0},o);C.value&&h()&&Ds(I()).then(A=>{Rn(r,{[C.value]:A})})})},c=()=>{rM(r)};return{formModel:r,pageConfig:n,widgetList:t,initData:a,setData:(g,u=!0)=>{u&&c(),Rn(r,g)},getData:()=>zL(r),clearData:c}}function jS(){const t=(o,a)=>Cf(o,{newName:!0,recordSource:!0},(c,s)=>K7(c||s,a)),e=(o,a,c)=>{var I,C;Ca(c)&&(c=`${(I=EA())==null?void 0:I.substring(0,5)}_${!Ca(a==null?void 0:a.$index)&&(a==null?void 0:a.$index)>=0?a==null?void 0:a.$index:""}`);var s=Po(o,!0);let l=s==null?void 0:s.map(h=>t(h,c));const g=r(l),{updateFomulaName:u}=nd();return(C=zi(g))==null||C.forEach(h=>{const A=g[h],d=A==null?void 0:A.name;l=u(l,d,h)}),{widget:l,id:c,key:sa(),data:a}},n=(o,a)=>{if(o||(o=[]),a&&(o==null?void 0:o.length)<a){const l=a-(o==null?void 0:o.length);for(var c=0;c<l;c++){var s={};o==null||o.push(s)}}return o},i=(o,a,c,s)=>{if(Array.isArray(a))return a=n(a,c),a==null?void 0:a.map((l,g)=>{const u=s?s(l,g):l;return e(o,u,g+"")})},r=(o,a)=>{let c={};return o&&WS(o,s=>{const l=xt.getName(s),g=()=>{l&&(c[l]=s==null?void 0:s._source)};a?a(s)&&g():g()}),c};return{newSlot:e,reflectTargetWithSourceOne:r,getSlotFromData:i,getMinRowData:n,parseGroupId:Sd,formatGroupId:K7}}function wV(t){const e=t==null?void 0:t.fieldName,n=t==null?void 0:t.setValue,i=p.reactive({}),r=p.reactive([]),{newSlot:o,reflectTargetWithSourceOne:a,getSlotFromData:c,getMinRowData:s}=jS(),l=(v,S)=>{var N;let M={};const x=a(S);return(N=zi(v))==null||N.map(Z=>{var z,T,W;const G=(z=x==null?void 0:x[Z])==null?void 0:z.name;G&&(M[G]=v==null?void 0:v[Z],(W=(T=zi(v))==null?void 0:T.filter(V=>V.startsWith(Z+"_")))==null||W.forEach(V=>{M[V==null?void 0:V.replace(Z,G)]=v==null?void 0:v[V]}))}),M},g=(v,S)=>{var N,Z;let M={};if(co(v)){const G=a(S,z=>!!(z!=null&&z.formItemFlag));(N=zi(G))==null||N.map(z=>{var T;z&&(M[z]=v==null?void 0:v[(T=G==null?void 0:G[z])==null?void 0:T.name])})}else{var x={pageConfig:(Z=t==null?void 0:t.designer)==null?void 0:Z.pageConfig,formData:M,designState:t==null?void 0:t.designState};const{formModel:G,initData:z}=fV(S,x);z(),Rn(M,G)}return M},u=(v,S)=>{const M=g(S,v.widget);return Rn(i,M),M},I=v=>{var S;(S=zi(i))==null||S.forEach(M=>{const x=Sd(M);(x==null?void 0:x.groupName)==v.id&&delete i[M]})},C=()=>r==null?void 0:r.map(S=>l(i,S==null?void 0:S.widget)),h=(v,S)=>{rM(i);const M=S(v);return M==null||M.forEach(x=>{const N=g(x==null?void 0:x.data,x==null?void 0:x.widget);Rn(i,N)}),r.splice(0,r.length),M&&M.length>0&&r.push(...M),r},A=v=>{var M;var S=Pu({...t,widget:v});return(M=S.attrs)==null?void 0:M.value},d=(v,S,M)=>kBe(v,S,r,M),{off$:f,on$:w,emit$:y}=wf(),m=()=>{f(An.fieldChange),w(An.fieldChange,v=>{var S;n==null||n(C()),(S=t==null?void 0:t.fieldChanged)==null||S.call(t)})};return(()=>{const v=e;uu.globalProvide({globalFormName:v,globalDataModel:i}),m()})(),{getSlotFromData:c,getMinRowData:s,fromModel:g,toModel:l,newSlot:o,getWidgetOption:A,newFieldModelFromSlot:u,removeFieldModelFromSlot:I,getValue:C,setValue:h,findWidgetByNameWithSibId:d,emit$:y,formModel:i,rowsData:r}}const JDe=(t,e,n,i)=>{const r=new mf(t),{callRefFunc:o}=xd(t),{parseGroupId:a}=jS();if(!t||t.length<=0||!e)return;const c=()=>{var w,y;return(y=(w=zi(t))==null?void 0:w.map(m=>o(t==null?void 0:t[m],ea.getField)))==null?void 0:y.filter(m=>!!m)},s=w=>{var v;const y=(v=c())==null?void 0:v.find(S=>(S==null?void 0:S.id)===w);if(!y)return;const m=xt.getName(y),b=r.getWidgetRef(m);if(b)return{ref:b,name:m,id:y==null?void 0:y.id}},l=(w,y)=>{if(!co(y))return;const m=xt.getName(w),b=r.getWidgetRef(m);if(b){const v=xt.getOptions(w,An.defaultValue,!1,!(n!=null&&n.designState),{...n,formData:y});if(co(v))if(p.isRef(v)){let S=p.watch(()=>v.value,M=>{S==null||S(),o(b,ea.setValue,{newValue:M})})}else o(b,ea.setValue,{newValue:v})}},g=(w,y)=>{const m=s(w);if(!m)return;const b=m.name,v=o(m.ref,ea.getValue),S=o(m.ref,ea.getCheckedItems),M={};return M[b]=v,v!==void 0&&!Ca(S)&&!y&&(M[`${b}${Hg.checkedOptions}`]=S),M},u=(w,y)=>{var b;var m=[];if((b=c())==null||b.forEach(v=>{if(!v)return;const S=v==null?void 0:v.id;var M=S===w;const x=a(S),N=(x==null?void 0:x.id)===w,Z=(x==null?void 0:x.groupName)===y;return M||N&&(Z||!y)?(m.push(v),!0):!1}),!(!m||m.length<=0))return m==null?void 0:m.map(v=>{var S;return{id:v==null?void 0:v.id,name:(S=v==null?void 0:v._source)==null?void 0:S.name,source:v==null?void 0:v._source}})},I=(w,y)=>{var m=[];if(!w||(w==null?void 0:w.length)<=0)return m;const b=a(e),v=b==null?void 0:b.groupName;return y===i1.Inner2Outer?w==null||w.forEach(S=>{var M=u(S);M&&(M==null?void 0:M.length)>0&&m.push(...M)}):w==null||w.forEach(S=>{var M=u(S,v);M&&(M==null?void 0:M.length)>0&&m.push(...M)}),m},C=(w,y)=>{let m={};if(!w||w.length<=0)return m;if(y===i1.Inner2Outer){var b=GL(w,v=>{var S;return(S=v.source)==null?void 0:S.id});b==null||b.forEach(v=>{var x;const S=v.group[0],M=[];(x=v==null?void 0:v.children)==null||x.forEach(N=>{const Z=g(N==null?void 0:N.id,!0);if(co(Z)){var G=Object.values(Yt(Z));M.push(...G)}}),S&&(m=Object.assign(m,{[S]:M}))})}else w.forEach(v=>{const S=g(v==null?void 0:v.id);co(S)&&(m=Object.assign(m,S))});return m},h=w=>{var y={};return w==null||w.forEach(m=>{var b;m!=null&&m.source&&(m!=null&&m.id)&&(y[(b=m==null?void 0:m.source)==null?void 0:b.id]=m==null?void 0:m.id)}),y},A=(w,y,m)=>{if(m===i1.Inner2Inner){const M=e0(y),{updateFomula:x}=nd(),{buildVariable:N}=td();var b=h(w);if(co(b)){var v=xt.getOrgOption(y,An.defaultValue),S=x(Fr(v),b,(Z,G)=>{var z=b[Z];return ai(z)?N(Z):N(z)});return xt.setOrgOption(M,An.defaultValue,xr(S)),M}}return y},d=w=>{const y=w==null?void 0:w.id;var m=xt.getOrgOption(w,An.defaultValue);if(m==null)return;const b=LDe(e,y);if(b===i1.DiffInner)return;var v=Ne.getFormulaRelatedField(m);if(!v||v.length<=0)return;var S=I(v,b);if(!(S!=null&&S.some(x=>x.id===e)))return;const M=C(S,b);l(A(S,w,b),M)};(()=>{var w;(w=c())==null||w.forEach(y=>{d(y)})})()},KDe=(t,e,n,i,r)=>{var I;if(r||!co(n))return;const{parseGroupId:o}=jS();var a=o(e),c=a==null?void 0:a.groupName;const{callRefFunc:s}=xd(t),l=(C,h)=>{var m,b,v;const A=(b=(m=zi(t))==null?void 0:m.map(S=>s(t==null?void 0:t[S],ea.getField)))==null?void 0:b.filter(S=>!!S),d=(v=Z0(A,S=>{var M=o(S==null?void 0:S.id);return(!c||(M==null?void 0:M.groupName)===c)&&(M==null?void 0:M.id)===C}))==null?void 0:v[0];if(!d)return;const f=xt.getName(d),y=new mf(t).getWidgetRef(f);y&&(h==null||h(y))},g=vr(i==null?void 0:i.newValue,!0),u=(I=zi(n))==null?void 0:I.filter(C=>g==null?void 0:g.includes(C));!u||u.length<=0||u==null||u.forEach(C=>{var A,d;const h=(A=n==null?void 0:n[C])==null?void 0:A.result;(d=zi(h))==null||d.forEach(f=>{var y;const w=h==null?void 0:h[f];(y=w==null?void 0:w.ids)==null||y.forEach(m=>{l(m,b=>{s(b,w==null?void 0:w.event,w==null?void 0:w.args)})})})})};function _7(t,e){var n;return(n=t==null?void 0:t.classList)!=null&&n.contains(e)?t:t!=null&&t.parentElement?_7(t==null?void 0:t.parentElement,e):null}function _De(){const t=l=>{if(l)return l!=null&&l.ref?l==null?void 0:l.ref:l},e=l=>{var g,u;try{(u=(g=t(l))==null?void 0:g.focus)==null||u.call(g)}catch(I){$r.error("focus",I,l)}},n=l=>{var g,u;try{(u=(g=t(l))==null?void 0:g.blur)==null||u.call(g)}catch(I){$r.error("blur",I,l)}},i=l=>{var g;return(g=t(l))==null?void 0:g.selectionStart},r=l=>{var g;return(g=t(l))==null?void 0:g.selectionEnd},o=(l,g)=>{var u;return(u=t(l))==null?void 0:u.setSelectionRange(g,g)},a=(l,g)=>{e(l),o(l,g)};return{getSelectionStart:i,getSelectionEnd:r,setSelectionStart:o,blur:n,focus:e,setMousePos:a,getMousePos:l=>i(l),insertOnMousePos:(l,g,u)=>{const I=i(l),C=r(l),h=Pye(u,g,I,C);return p.nextTick(()=>{a(l,I+(g==null?void 0:g.length))}),h}}}const j7=t=>{var n;const{getFormulaFields:e}=nd();return((n=e(Fr(t)))==null?void 0:n.length)>0},O0=t=>{const e=t.type;//![WidgetType.fileUpload, WidgetType.pictureUpload].includes(wtype) &&
200
- return t.formItemFlag||[_e.form,_e.dialog].includes(e)},mV=t=>{const e=t.type;return[_e.treeSelect,_e.cascader,_e.select,_e.checkbox,_e.radio].includes(e)};function _n(t){const e=t==null?void 0:t.designState,n=(t==null?void 0:t.created)!=!1,i=t==null?void 0:t.exResetField,r=t==null?void 0:t.extInitFieldModel,o=t==null?void 0:t.exposedWholeInstance,a=t==null?void 0:t.widget,c=t==null?void 0:t.designer,s=c==null?void 0:c.pageConfig,{formRefList:l,globalRefList:g,globalConfig:u,globalFormName:I,globalDataModel:C,rowScope:h}=uu.globalInject();let A=p.reactive(C||{});const d=xd(g),f=xd(l),{instance:w}=ma(),y=()=>fn(A),m=()=>h,b=()=>a,v={designState:e,pageConfig:s,formData:!e&&j7(a)?A:{},globalConfig:u},S={instance:w,...v},M=S0(S),x={exposed:{getFormData:!e&&j7(a)?y:null,findRefByName:d.getWidgetRef,fieldEditor:()=>zt.value,getField:b,getRowScope:m,getOneSchemaData:M==null?void 0:M.getOneSchemaData,getSchemaDataObject:M==null?void 0:M.getSchemaDataObject,getSchemaDatas:M==null?void 0:M.getSchemaDatas}},N={instance:o?w:x,...v},{on$:Z,dispatch:G,emit$:z}=wf(),{onCompErrorCaptured:T}=J7(),{existFunc:W}=dV({options:a==null?void 0:a.options},N),{isIdClass:V,getIdByIdClass:X}=sBe(a),{getOneSchemaData:D,getSchemaDataObject:R,getSchemaDatas:F}=S0(N),Y=_De(),k=(t==null?void 0:t.shareProp)||{s_attr:!0,s_extendAttr:!0,s_events:!0,s_slots:!0,s_fieldName:!0,s_optionItems:!0},{attrs:E,extendAttrs:H,events:L,slots:_,rules:ae,fieldName:te,buildRules:ge,clearRules:ee,disableChangeValidate:ue,enableChangeValidate:U,optionItems:re,filterOptionItems:ie,getCheckedOptionText:Ie,getCheckedOptionValues:Ae,getCheckedOptionLabels:me,getCheckedOptionItems:he,activeOptionItems:be,activeOptionItem:Se,activeOptionItemIndex:we,setOptionItems:Me,isOptionWidget:ne,setWidgetOption:Q,getWidgetOption:se,setFieldEnable:de,hasFieldOptions:Ze,getFieldOptions:We,setFieldOptions:De,computedDefaultValue:ke,hasDefaultValue:je,singleOption:Ke,watchOption:nt,addCssClass:ht,removeCssClass:Ht}=hl(a,N,k,w);let mt=null,wt=p.ref();const zt=p.ref(),Vt=()=>te.value,Mt=()=>`${a==null?void 0:a.id}-${HM()}`,Gn=p.ref(Mt()),At=()=>{Gn.value=Mt()},vt=p.computed({get:()=>{if(wa(wt.value)){var ye=Number(wt.value);return isNaN(ye)?void 0:(wt.value=ye,ye)}return wt.value},set:ye=>{wt.value=ye}}),ce=p.computed({get:()=>{if(wa(wt.value)){var ye=xr(wt.value);Fg(ye)&&(wt.value=ye)}return wt.value},set:ye=>{wt.value=ye}}),Ge=ye=>{var lt,Ot;var Fe=(Ot=(lt=d.getWidgetRef(te.value))==null?void 0:lt.exposed)==null?void 0:Ot.loadOptionItems;if(Fe!==void 0){Fe==null||Fe(ye);return}Me(ye)},ze=ye=>{var Fe,lt,Ot;return(Ot=(lt=(Fe=d.getWidgetRef(te.value))==null?void 0:Fe.exposed)==null?void 0:lt.getCheckedItems)==null?void 0:Ot.call(lt,ye)},Ye=ye=>{var Fe,lt,Ot;return(Ot=(lt=(Fe=d.getWidgetRef(te.value))==null?void 0:Fe.exposed)==null?void 0:lt.getCheckedLabels)==null?void 0:Ot.call(lt,ye)},qe=ye=>{var Fe,lt,Ot;return(Ot=(lt=(Fe=d.getWidgetRef(te.value))==null?void 0:Fe.exposed)==null?void 0:lt.getCheckedText)==null?void 0:Ot.call(lt,ye)},Zt=()=>{var Te;if(!ne())return;const ye=(Te=H.value)==null?void 0:Te.withAttachData;if(!mV(a)||ye===!1)return;const Fe=wt.value,lt=Ye(Fe),Ot=qe(Fe);var Kt=fn(ze(Fe));Rt(lt,Kt,Ot)},Rt=(ye,Fe,lt)=>{var Ot={};if(ye!=null){let Kt=We("textName",!1);[`${te.value}${Hg.optionText}`,Kt].forEach(Te=>{Te&&Ot[Te]===void 0&&(Ot[Te]=ye)})}if(Fe!=null&&Fr(Fe)!==Fr(wt.value)){let Kt=We("optionName",!1);[`${te.value}${Hg.checkedOptions}`,Kt].forEach(Te=>{Te&&Ot[Te]===void 0&&(Ot[Te]=Fe)})}if(lt!=null){let Kt=We("labelName",!1);ye!==lt&&[`${te.value}${Hg.optionLabelName}`,Kt].forEach(Te=>{Te&&Ot[Te]===void 0&&(Ot[Te]=lt)})}on(fn(Ot))},jt=ye=>{if(O0(a)){var Fe={[te.value]:ye};on(Fe)}},on=ye=>{Rn(A,ye)},Xn=ye=>{e||jt(ye)},ki=ye=>We(ye,!1),Hn=()=>{var ye=p.toRefs(A);wt=Ne.get(ye,te.value)},Ee=ye=>{mt=fn(ye)},rt=ye=>{e||r&&r(ye)},et=()=>{je()&&Ds(ke()).then(ye=>{jt(ye),Hn()})},Je=(ye,Fe)=>{if(!O0(a))return;z(An.fieldValueChanged,{newValue:ye,oldValue:Fe});const lt={fieldId:a.id,fieldName:te.value,newValue:ye,oldValue:Fe};G(I,An.fieldChange,lt,w)},st=ye=>W(ye),ut=(ye,Fe)=>o0(se(ye),Fe),Gt=ye=>{Xn(ye),Fn(),ut(An.onInput,{value:ye})},Jt=(ye,Fe)=>{var lt,Ot,Kt;return(Kt=(Ot=(lt=d.getWidgetRef(te.value))==null?void 0:lt.exposed)==null?void 0:Ot.handleBeforeChange)==null?void 0:Kt.call(Ot,ye,Fe)},Tt=(...ye)=>{var Kt,Te,Re;let lt=((Kt=ye==null?void 0:ye[0])==null?void 0:Kt.target)!=null?(Re=(Te=ye==null?void 0:ye[0])==null?void 0:Te.target)==null?void 0:Re.value:ye==null?void 0:ye[0];lt=fn(lt);var Ot=Jt(lt,mt);Ot!=null?Xn(Ot):Xn(lt),Je(lt,mt),Fn(),Ee(lt)},Wt=(ye=!0)=>{Q(it.readonly,ye)},kt=(ye=!0)=>{Q(it.disabled,ye)},It=(ye=!0)=>{Q(it.hidden,ye),ye?Pn():hn()},O=(ye=!0)=>{de(it.required,ye),hn()},B=ye=>{Q(it.label,ye)},K=()=>wt==null?void 0:wt.value,j=ye=>{wt.value=ye},le=ye=>{let Fe=fn(K());if(j(ye),!O0(a))return;const lt=K();Fe!==lt&&(Xn(lt),Je(ye,Fe))},ve=()=>{je()?Ds(ke()).then(ye=>{jt(ye)}):jt(null),i==null||i()},Ve=ye=>{const Fe=K(),lt=Y.insertOnMousePos(zt.value,ye,Fe);le(lt)},He=(ye,Fe)=>{p.watch(()=>wt==null?void 0:wt.value,(lt,Ot)=>{ye==null||ye({id:a.id,name:te.value,newValue:lt,oldValue:Ot})},Fe)},fe=ye=>{var Te;ye.preventDefault();const Fe=Re=>{var pt;const Ue=(pt=Array.from(Re.classList))==null?void 0:pt.find(Pt=>V(Pt));return Ue?X(Ue):""},lt=document.activeElement;if(!lt)return;const Ot=document.getElementsByClassName(pz.formItemTarget);for(var Kt=0;Kt<Ot.length;Kt++){const Re=Ot[Kt],Ue=_7(lt,pz.formItemTarget);if(!Ue)continue;const pt=Fe(Re),Pt=Fe(Ue);if(pt===Pt){if(Kt===Ot.length-1)return;const gn=Ot[Kt+1],On=Fe(gn),kn=d.findRefById(On,w);try{(Te=kn==null?void 0:kn.exposed)==null||Te.focus()}catch(Or){$r.error("handleEnter",Or)}}}};let Qe=()=>{var Re;let ye={componentName:te.value,refList:l,allRefList:g,fieldEditor:()=>zt.value,changeRegisterToRefList:(Ue,pt)=>{d.changeRegisterToRefList(Ue,pt),f.changeRegisterToRefList(Ue,pt)},getField:b,getFormData:y,getValue:K,setValue:j,emit$:z,findRefByName:d.getWidgetRef,findRefById:d.findRefById,callRefFunc:d.callRefFunc,getWidgetOption:se,setWidgetOption:Q,refreshKey:At,getRowScope:m,getOneSchemaData:D,getSchemaDatas:F,getSchemaDataObject:R,addCssClass:ht,removeCssClass:Ht},Fe={resetField:ve,getValue:K,setValue:le,refreshDefaultValue:et,insertOnMousePos:Ve,disableChangeValidate:ue,enableChangeValidate:U,focus:()=>{Y.focus(zt.value)},blur:()=>{Y.blur(zt.value)},getMousePos:()=>{Y.getMousePos(zt.value)},setMousePos:Ue=>{Y.setMousePos(zt.value,Ue)}},lt={loadOptionItems:Ge,getCheckedItems:ze,getCheckedLabels:Ye},Ot={[it.required]:{name:ea.setRequired,fn:O},[it.label]:{name:ea.setLabel,fn:B},[it.hidden]:{name:ea.setHidden,fn:It},[it.disabled]:{name:ea.setDisabled,fn:kt},[it.readonly]:{name:ea.setReadonly,fn:Wt}},Kt={};(Re=zi(Ot))==null||Re.forEach(Ue=>{if(wd(a,Ue)){const pt=Ot[Ue];Kt[pt.name]=pt.fn}});var Te=Rn(ye,Kt);return O0(a)&&(Te=Rn(Te,Fe)),mV(a)&&(Te=Rn(Te,lt)),Te};const bt=p.computed(()=>({attrs:E.value,extendAttrs:H.value,events:L.value,slots:_.value,fieldKey:Gn.value,fieldEditor:zt.value,fieldName:te.value})),Nt=ye=>{t.designState&&t.designer&&p.watch(()=>{var Fe;return(Fe=t==null?void 0:t.widget)==null?void 0:Fe[ye]},(Fe,lt)=>{const{emitHistoryChange:Ot}=gU(t.designer);Ot(`edit ${te.value}.${ye},newValue:${Fe},oldValue:${lt}`)},{deep:!0})},Ft=(ye,Fe,lt)=>{const Ot=p.ref(),Kt=ki(ye),Te=Re=>{Fe&&(Ot.value=Fe(Re||Kt))};return p.isRef(Kt)?p.watch(Kt,Re=>{Te(Re),lt&&lt(Re)}):Te(Kt),Ot},dn=()=>{!O0(a)||e||He(ye=>{JDe(g,a==null?void 0:a.id,N),KDe(g,a==null?void 0:a.id,xt.getOptions(a,it.relate),ye),Zt(),setTimeout(()=>{Zt(),rt(ye==null?void 0:ye.newValue)},1e3)},{immediate:!0})},Fn=()=>{const ye={propName:te.value};G(I,An.fieldValidation,ye,w)},rn=()=>{const ye={fieldId:a.id,fieldName:te.value,rules:ae};G(I,An.fieldRuleChange,ye,w)},hn=()=>{if(!O0(a))return;const ye=ge();return rn(),ye},Pn=()=>{ee(),rn()},Gi=()=>{wd(a,"change")&&(L.value.change=Tt),wd(a,"input")&&(L.value.input=Gt),Z(gl.setFormData,ye=>{le(ye[te.value])}),Z(An.fieldValueChanged,ye=>{ut(An.onChange,{value:ye==null?void 0:ye.newValue,oldValue:ye==null?void 0:ye.oldValue})})},Cr=()=>{let ye=te.value;O0(a)?((!Fa(A,ye)||A[ye]===void 0)&&(jt(null),je()&&Ds(ke()).then(Fe=>{Fe==null?jt(null):jt(Fe)})),Hn()):je()&&Ds(ke()).then(Fe=>{le(Fe)}),Ee(K())},ur=()=>{mV(a)&&p.watch(()=>re==null?void 0:re.value,(ye,Fe)=>{Zt()},{immediate:!0})},fa=()=>{nt(!0,it.css,void 0,ye=>{pe()})},xa=()=>{const ye=p.inject(ji.isRenderComplete);if(ye!=null&&ye.value){ur(),dn();return}ye!=null&&p.watch(()=>ye==null?void 0:ye.value,Fe=>{Fe&&(ur(),dn())},{immediate:!0})},rs=()=>{var ye,Fe;if(n)try{Cr(),hn(),Gi(),d.registerToRefList(te.value),f.registerToRefList(te.value),(Fe=(ye=L==null?void 0:L.value)==null?void 0:ye.created)==null||Fe.call(ye),T()}catch(lt){$r.error("create",lt)}},Za=()=>{n&&(p.onMounted(()=>{var ye,Fe;try{pe(),fa(),xa(),(Fe=(ye=L==null?void 0:L.value)==null?void 0:ye.mounted)==null||Fe.call(ye)}catch(lt){console.log("mounted",a,lt)}}),p.onBeforeUnmount(()=>{d.unregisterFromRefList(te.value),f.unregisterFromRefList(te.value)}))},pe=()=>{const ye=a==null?void 0:a.id,Fe=se(it.css);Fe&&ye&&XDe(Fe).then(lt=>{F7(lt,ye)})};return rs(),Za(),{exposed:Qe(),fieldModel:wt,objFieldModel:ce,numFieldModel:vt,fieldEditor:zt,fieldKey:Gn,field:a,instance:w,attrs:E,extendAttrs:H,slots:_,events:L,rules:ae,fieldObj:bt,getValue:K,setValue:j,pageConfig:s,formModel:A,fieldName:te,propResultOpt:N,optionItems:re,activeOptionItems:be,activeOptionItem:Se,activeOptionItemIndex:we,refreshOptionField:Zt,filterOptionItems:ie,setOptionItems:Me,getCheckedItems:ze,getCheckedOptionItems:(ye,Fe)=>he(ye||wt.value,Fe),getCheckedOptionLabels:(ye,Fe)=>me(ye||wt.value,Fe),getCheckedOptionValues:(ye,Fe)=>Ae(ye||wt.value,Fe),getCheckedOptionText:(ye,Fe)=>Ie(ye||wt.value,Fe),refreshKey:At,watchKeyValue:Ft,watchPropAndSaveHistoryStep:Nt,existEvent:st,handleEvent:ut,handleEnter:fe,getPropName:Vt,emitFieldDataChange:Je,syncUpdateFormModel:Xn,getWidgetRef:d.getWidgetRef,clearRules:Pn,buildRules:hn,getFieldOptionModel:ki,getFieldOptions:We,hasFieldOptions:Ze,setFieldOptions:De,getWidgetOption:se,singleOption:Ke,watchOption:nt,mergeOptionToFormModel:Rt}}const jDe=p.defineComponent({componentName:vn.ContainerWidget}),yV=p.defineComponent({...jDe,__name:"cont-cell-widget",props:{...go},setup(t,{expose:e}){const n=t,i=p.computed(()=>{var c;return`el-${Ne.getValue((c=n.widget)==null?void 0:c.partName)}`}),{customClass:r,componentWrapperClass:o}=Pu({widget:{options:n.widget}}),{exposed:a}=_n(n);return e({...a}),(c,s)=>{var l,g,u;return p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(i)),{class:p.normalizeClass(["content-cell",p.unref(r)]),direction:(l=c.widget)==null?void 0:l.direction,style:p.normalizeStyle({width:p.unref(Ne).getValue((g=c.widget)==null?void 0:g.cellWidth),height:p.unref(Ne).getValue((u=c.widget)==null?void 0:u.cellHeight),zIndex:1e3})},{default:p.withCtx(()=>[p.renderSlot(c.$slots,"default",{},()=>{var I,C,h,A,d;return[((C=(I=c.widget)==null?void 0:I.children)==null?void 0:C.length)<=0?(p.openBlock(),p.createBlock(fr,{key:0,widgetList:(h=c.widget)==null?void 0:h.widgetList,designState:c.designState,designer:c.designer,dragClass:"dragSize2",parentWidget:c.widget,parentList:(A=c.widget)==null?void 0:A.widgetList,"component-class":p.unref(o)},null,8,["widgetList","designState","designer","parentWidget","parentList","component-class"])):p.createCommentVNode("",!0),(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList((d=c.widget)==null?void 0:d.children,(f,w)=>{var y;return p.openBlock(),p.createBlock(yV,{key:f.id,widget:f,designer:c.designer,"design-state":c.designState,"parent-list":(y=c.widget)==null?void 0:y.children,"parent-widget":c.widget},null,8,["widget","designer","design-state","parent-list","parent-widget"])}),128))]})]),_:3},8,["direction","class","style"])}}}),U7=Object.freeze(Object.defineProperty({__proto__:null,default:yV},Symbol.toStringTag,{value:"Module"})),UDe=["width","height","color"],PDe=["xlink:href"],QDe={key:0,slot:"title"},qDe=p.defineComponent({__name:"index",props:{prefix:{default:"icon"},dir:{default:"svg"},name:null,color:null,size:null,width:{default:"16"},height:{default:"16"},className:null,title:{default:""}},setup(t){var u,I;const e=t,n=e.size||e.width,i=e.size||e.height,r=e.size||e.width,o=e.name,a=p.computed(()=>{var C="svg-icon";return e.className?C+" "+e.className:C}),c=p.ref(),s=p.computed(()=>`#${e.prefix}-${e.dir}-${c.value}`);let l=p.shallowRef();const g=wa(o)&&((u=String(o))==null?void 0:u.startsWith("@"));return g?c.value=(I=String(o))==null?void 0:I.substring(1):p.watch(()=>e.name,C=>{if(p.isRef(e.name))l.value=C;else{const{instance:h}=ma();l=UK(C,h)}},{immediate:!0}),(C,h)=>{const A=p.resolveComponent("el-icon");return p.unref(g)?(p.openBlock(),p.createElementBlock("svg",{key:0,class:p.normalizeClass(p.unref(a)),width:p.unref(n),height:p.unref(i),color:e.color},[p.createElementVNode("use",{"xlink:href":p.unref(s)},null,8,PDe),t.title?(p.openBlock(),p.createElementBlock("title",QDe,p.toDisplayString(t.title),1)):p.createCommentVNode("",!0)],10,UDe)):(p.openBlock(),p.createBlock(A,{key:1,size:p.unref(r)},{default:p.withCtx(()=>[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(l)),{color:e==null?void 0:e.color,key:t.name},null,8,["color"]))]),_:1},8,["size"]))}}}),RLt="",Yn=Ei(qDe,[["__scopeId","data-v-ca7a7b14"]]),$De={key:0},eke={class:"clWhite"},tke={class:"clWhite"},nke=["title"],ike=["title"],rke=["title"],ake=["title"],oke=p.defineComponent({__name:"drag-handler",props:{...go,parentTree:{type:Object,default:null},hidden:{type:Boolean,default:!1},simple:{type:Boolean}},setup(t){const e=t,{setSelected:n,findWidgetById:i,removeWidget:r,moveDownWidget:o,moveUpWidget:a,cloneWidget:c}=Js(e.designer),s=l=>{const g=l==null?void 0:l.id;if(l.selectable===!1)nr.info(P.i18nt("designer.hint.currentNodeCannotBeSelected"));else{const u=i(g);n(u)}};return(l,g)=>{var A,d;const u=p.resolveComponent("el-dropdown-item"),I=p.resolveComponent("el-dropdown-menu"),C=p.resolveComponent("el-dropdown"),h=p.resolveComponent("el-divider");return p.openBlock(),p.createElementBlock(p.Fragment,null,[t.hidden===!0?(p.openBlock(),p.createElementBlock("i",$De,[p.createVNode(Yn,{name:"@el-hide"})])):p.createCommentVNode("",!0),t.simple?(p.openBlock(),p.createBlock(C,{key:1,onCommand:s},p.createSlots({default:p.withCtx(()=>[p.createElementVNode("span",eke,[p.createVNode(Yn,{name:"@el-arrow-down"})])]),_:2},[((A=t.parentTree)==null?void 0:A.length)>0?{name:"dropdown",fn:p.withCtx(()=>[p.createVNode(I,null,{default:p.withCtx(()=>[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(t.parentTree,(f,w)=>(p.openBlock(),p.createBlock(u,{command:f},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(f==null?void 0:f.label),1)]),_:2},1032,["command"]))),256)),p.createVNode(u,{divided:"",onClick:g[0]||(g[0]=p.withModifiers(f=>p.unref(c)(l.widget,l.parentList),["stop"]))},{default:p.withCtx(()=>[p.createVNode(Yn,{name:"@el-clone"}),p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.cloneWidget")),1)]),_:1}),p.createVNode(u,{onClick:g[1]||(g[1]=p.withModifiers(f=>p.unref(r)(l.widget,l.parentWidget,l.parentList),["stop"]))},{default:p.withCtx(()=>[p.createVNode(Yn,{name:"@el-delete"}),p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.remove")),1)]),_:1}),l.parentList&&l.parentList.length>1?(p.openBlock(),p.createBlock(u,{key:0,onClick:g[2]||(g[2]=p.withModifiers(f=>p.unref(a)(l.parentList,l.widget),["stop"]))},{default:p.withCtx(()=>[p.createVNode(Yn,{name:"@el-move-up"}),p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.moveUpWidget")),1)]),_:1})):p.createCommentVNode("",!0),l.parentList&&l.parentList.length>1?(p.openBlock(),p.createBlock(u,{key:1,onClick:g[3]||(g[3]=p.withModifiers(f=>p.unref(o)(l.parentList,l.widget),["stop"]))},{default:p.withCtx(()=>[p.createVNode(Yn,{name:"@el-move-down"}),p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.moveDownWidget")),1)]),_:1})):p.createCommentVNode("",!0),l.$slots.default?(p.openBlock(),p.createBlock(u,{key:2,divied:""},{default:p.withCtx(()=>[p.renderSlot(l.$slots,"default")]),_:3})):p.createCommentVNode("",!0)]),_:3})]),key:"0"}:void 0]),1024)):(p.openBlock(),p.createElementBlock(p.Fragment,{key:2},[p.createVNode(C,{onCommand:s},p.createSlots({default:p.withCtx(()=>{var f,w;return[p.createElementVNode("span",tke,[p.createTextVNode(p.toDisplayString(p.unref(P).i18n2t(`designer.widgetLabel.${(f=l.widget)==null?void 0:f.type}`,`extension.widgetLabel.${(w=l.widget)==null?void 0:w.type}`))+" ",1),p.createVNode(Yn,{name:"@el-arrow-down",class:"el-icon--right"})])]}),_:2},[((d=t.parentTree)==null?void 0:d.length)>0?{name:"dropdown",fn:p.withCtx(()=>[p.createVNode(I,null,{default:p.withCtx(()=>[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(t.parentTree,(f,w)=>(p.openBlock(),p.createBlock(u,{command:f},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(f==null?void 0:f.label),1)]),_:2},1032,["command"]))),256))]),_:1})]),key:"0"}:void 0]),1024),p.createVNode(h,{direction:"vertical","border-style":"dashed",color:"white"}),p.renderSlot(l.$slots,"default"),l.parentList&&l.parentList.length>1?(p.openBlock(),p.createElementBlock("i",{key:0,title:p.unref(P).i18nt("designer.hint.moveUpWidget"),onClick:g[4]||(g[4]=p.withModifiers(f=>p.unref(a)(l.parentList,l.widget),["stop"]))},[p.createVNode(Yn,{name:"@el-move-up"})],8,nke)):p.createCommentVNode("",!0),l.parentList&&l.parentList.length>1?(p.openBlock(),p.createElementBlock("i",{key:1,title:p.unref(P).i18nt("designer.hint.moveDownWidget"),onClick:g[5]||(g[5]=p.withModifiers(f=>p.unref(o)(l.parentList,l.widget),["stop"]))},[p.createVNode(Yn,{name:"@el-move-down"})],8,ike)):p.createCommentVNode("",!0),p.createElementVNode("i",{title:p.unref(P).i18nt("designer.hint.cloneWidget"),onClick:g[6]||(g[6]=p.withModifiers(f=>p.unref(c)(l.widget,l.parentList),["stop"]))},[p.createVNode(Yn,{name:"@el-clone"})],8,rke),p.createElementVNode("i",{title:p.unref(P).i18nt("designer.hint.remove"),onClick:g[7]||(g[7]=p.withModifiers(f=>p.unref(r)(l.widget,l.parentWidget,l.parentList),["stop"]))},[p.createVNode(Yn,{name:"@el-delete"})],8,ake)],64))],64)}}}),XLt="";function US(t){return{getAttrProp:n=>{var o,a,c,s,l,g;var i=(c=(a=(o=t==null?void 0:t.propOptions)==null?void 0:o.fieldObj)==null?void 0:a.attrs)==null?void 0:c[n],r=(g=(l=(s=t==null?void 0:t.propOptions)==null?void 0:s.fieldObj)==null?void 0:l.extendAttrs)==null?void 0:g[n];return Ca(i)?r:i}}}const sr=p.defineComponent({__name:"widget-wrapper",props:{...Mme},setup(t){var x;const e=t,{selectWidget:n}=Js(e.designer),{widgetTree:i}=BS((x=e.designer)==null?void 0:x.widgetList,!0),{pathNodes:r,parentTree:o}=DS(i.value,e.widget),{size:a,displayLayout:c,labelAlign:s,labelWidth:l,formItemFlag:g,labelSuffix:u,labelHidden:I}=HBe(e,Yt(r.value)),{getAttrProp:C}=US(e),h=p.computed(()=>C==null?void 0:C("hidden")),A=p.computed(()=>C==null?void 0:C("labelWidth")),d=N=>N&&!["div","span"].includes(N),f=p.computed(()=>{var N;return(N=e.widget)==null?void 0:N.id}),w=p.computed(()=>{var N,Z;return(N=e.widget)!=null&&N.type?[_e.grid,_e.gridCol,_e.wrapper].includes((Z=e.widget)==null?void 0:Z.type):!1}),y=p.computed(()=>{const N=C==null?void 0:C(it.width),Z=C==null?void 0:C(it.ctrlWidth),G=C==null?void 0:C(it.customClass),z=C==null?void 0:C(it.componentWrapperClass);let T={};return A.value!=Ri.auto&&A.value&&(T.labelWidth=A.value),{size:a.value,labelAlign:s.value,labelWidth:l.value,formItemFlag:g.value,formItemAttr:T,ctrlWidth:Z,displayStyle:c.value,labelSuffix:u.value||"",injectStyle:{},injectClass:[N?"":"full-width",xA(G),f.value],componentWrapperClass:xA(z)}}),m=p.computed(()=>[(C==null?void 0:C(it.width))?"":"full-width"]),b=p.computed(()=>{var N,Z,G;return!!e.designer&&((N=e.widget)==null?void 0:N.id)===((G=(Z=e.designer)==null?void 0:Z.selectedWidget)==null?void 0:G.id)}),v=p.ref(),S=p.ref(),M=p.computed(()=>{var N,Z;if(v.value&&S.value&&b.value)return((N=v.value)==null?void 0:N.offsetWidth)>((Z=S.value)==null?void 0:Z.offsetWidth)});return(N,Z)=>{var G,z,T,W,V,X;return N.designState?(p.openBlock(),p.createBlock(p.resolveDynamicComponent(N.componentName),p.mergeProps({key:0,class:["field-wrapper",[p.unref(b)?"selected":""," drag-handler",N.propOptions.class,N.showWrapperComponent?p.unref(m):""]],style:N.propOptions.style,onClick:Z[0]||(Z[0]=p.withModifiers(D=>p.unref(n)(N.widget,N.parentWidget,N.parentList),["stop"])),ref_key:"wrapperRef",ref:S,tabindex:0},d(N.componentName)?(z=(G=N.propOptions)==null?void 0:G.fieldObj)==null?void 0:z.attrs:{}),{default:p.withCtx(()=>{var D,R,F;return[p.renderSlot(N.$slots,"default",{data:p.unref(y)}),((R=(D=N.designer)==null?void 0:D.selectedWidget)==null?void 0:R.id)===((F=N.widget)==null?void 0:F.id)?(p.openBlock(),p.createElementBlock("div",{key:0,class:"action",ref_key:"dragHandlerRef",ref:v},[p.createVNode(oke,{simple:p.unref(M),"design-state":N.designState,designer:N.designer,widget:N.widget,"parent-widget":N.parentWidget,"parent-list":N.parentList,parentTree:p.unref(o),hidden:p.unref(h)},{default:p.withCtx(()=>[p.renderSlot(N.$slots,"drag")]),_:3},8,["simple","design-state","designer","widget","parent-widget","parent-list","parentTree","hidden"])],512)):p.createCommentVNode("",!0)]}),_:3},16,["class","style"])):!p.unref(h)||p.unref(w)?(p.openBlock(),p.createElementBlock(p.Fragment,{key:1},[N.showWrapperComponent?(p.openBlock(),p.createBlock(p.resolveDynamicComponent(N.componentName),p.mergeProps({key:0},d(N.componentName)?(W=(T=N.propOptions)==null?void 0:T.fieldObj)==null?void 0:W.attrs:{},p.toHandlers(d(N.componentName)?(X=(V=N.propOptions)==null?void 0:V.fieldObj)==null?void 0:X.events:{}),{class:[N.propOptions.class,p.unref(m),p.unref(h)&&p.unref(w)?"hlhidden":""],style:{...p.unref(y).injectStyle,...N.propOptions.style}}),{default:p.withCtx(()=>[p.renderSlot(N.$slots,"default",p.mergeProps({data:p.unref(y)},N.$props))]),_:3},16,["class","style"])):p.renderSlot(N.$slots,"default",p.mergeProps({key:1,data:p.unref(y)},N.$props))],64)):p.createCommentVNode("",!0)}}}),ske=p.defineComponent({componentName:vn.ContainerWidget}),lke=p.defineComponent({...ske,__name:"cont-widget",props:{...go},setup(t,{expose:e}){const n=t,{watchPropAndSaveHistoryStep:i,fieldObj:r,exposed:o}=_n(n),{customClass:a}=Pu({widget:n.widget});return i(it.cols),e({...o}),(c,s)=>(p.openBlock(),p.createBlock(sr,p.mergeProps(c.$props,{showWrapperComponent:!0,"prop-options":{fieldObj:p.unref(r),class:[p.unref(a)]}}),{default:p.withCtx(()=>{var l;return[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList((l=c.widget)==null?void 0:l.cols,(g,u)=>{var I;return p.openBlock(),p.createBlock(yV,{key:g.id,widget:g,designer:c.designer,"design-state":c.designState,"parent-list":(I=c.widget)==null?void 0:I.cols,"parent-widget":c.widget},null,8,["widget","designer","design-state","parent-list","parent-widget"])}),128))]}),_:1},16,["prop-options"]))}}),YLt="",P7=Object.freeze(Object.defineProperty({__proto__:null,default:lke},Symbol.toStringTag,{value:"Module"}));function gke(t){const e=t.widget,n=t.designer,i=n==null?void 0:n.pageConfig,r=t==null?void 0:t.widgetList,o=p.ref({}),a={},{fieldModel:c,fieldName:s,fieldEditor:l,attrs:g,events:u,hasFieldOptions:I,exposed:C,fieldObj:h,watchOption:A,propResultOpt:d,extendAttrs:f}=_n(t),{off$:w,on$:y,emit$:m,broadcast:b}=wf();var{instance:v}=ma();const{setAllRefList:S}=xd(o.value),M={designState:t==null?void 0:t.designState,pageConfig:i,globalConfig:d==null?void 0:d.globalConfig},{formModel:x,setData:N,getData:Z,clearData:G}=fV(r,{...M}),{handleFunc:z}=dV({options:i},M),T=p.reactive({}),W=()=>{w(An.fieldChange),y(An.fieldChange,Ae=>{L(Ae==null?void 0:Ae.fieldName,Ae==null?void 0:Ae.newValue,Ae==null?void 0:Ae.oldValue),C==null||C.setValue(x),E(Ae==null?void 0:Ae.fieldName,Ae==null?void 0:Ae.newValue,Ae==null?void 0:Ae.oldValue)})},V=()=>{w(An.fieldValidation),y(An.fieldValidation,Ae=>{var me;(me=l.value)==null||me.validateField(Ae==null?void 0:Ae.propName)})},X=()=>{w(An.fieldRuleChange),y(An.fieldRuleChange,Ae=>{var he;var me=(he=Ae==null?void 0:Ae.rules)==null?void 0:he.map(be=>({required:be.required,message:be.message,trigger:be.trigger,validator:be.validator}));Object.assign(T,{[Ae==null?void 0:Ae.fieldName]:me}),g.value.rules=T})},D=p.ref(!1),R=p.reactive({}),F=p.reactive({}),Y=Ae=>{rM(F),Rn(F,Ae)},k=()=>({change_info:fn(R),before_info:fn(F),flag:D.value}),E=(Ae,me,he)=>{D.value=!0,Ae&&Rn(R,{[Ae]:{oldValue:he,newValue:me}})},H=()=>{D.value=!1,rM(R),Y(Z())},L=(Ae,me,he)=>{z(u.value.formDataChange,{field:{fieldName:Ae,newValue:me,oldValue:he},formModel:x})},_=()=>{z(u.value.formCreated)},ae=()=>{z(u.value.formMounted)},te=()=>{X(),W(),V(),_()},ge=Ae=>{var me;(me=l.value)==null||me.clearValidate(Ae)},ee=()=>{S(ea.resetField),p.nextTick(()=>{ge()})},ue=(Ae,me)=>{let he=[];for(let we in Ae){var be=Ae[we],Se=be==null?void 0:be.filter(Me=>(Me==null?void 0:Me.force)===me);Se==null||Se.forEach(Me=>{var Q;const ne=(Q=Me==null?void 0:Me.rule)==null?void 0:Q.label;Me.message&&he.push(jz(ne?"【"+ne+"】":"",Me.message,":"))})}return xL(he)},U=(Ae,me)=>{var he={};return Z0(me,be=>{var Se=xt.getName(be),we=Fa(Ae,Se);return we&&(he[Se]=Ae[Se]),we},!1),he},re=(Ae=!0)=>{var Se,we,Me;let me=Z(),he=function(){},be=new Promise(function(ne,Q){he=function(se,de){(de?Q:ne)({data:se,isSuccess:!de,message:de})}});return!((Se=l.value)!=null&&Se.validate)||!Ae?(he(me),be):((Me=(we=l.value)==null?void 0:we.validate)==null||Me.call(we,(ne,Q)=>{if(ne)he(me);else{var se=ue(Q,!0);if(se&&se.length>0){he(me,se);return}var de=ue(Q,!1);if(de&&de.length>0){de.push(P.i18nt("designer.hint.continue")),LM.multiple(de).then(Ze=>{he(me)});return}}}),be)},ie=(Ae,me=!0)=>{if(!e)return;var he=U(Ae,[e]);N(he,me);const be=["refList","widgetRefList"];b(vn.ContainerWidget,gl.setFormData,Ae,v,be),b(vn.FieldWidget,gl.setFormData,Ae,v,be)},Ie=Ae=>new Promise((me,he)=>{const be=(Q,se)=>{var Ze,We,De;let de=(Ze=f.value)!=null&&Ze.formDataLoaded?(De=(We=f.value)==null?void 0:We.formDataLoaded)==null?void 0:De.call(We,Z(),Q):Q;co(de)?ie(de,!se):de={},Y(de),me(de)},Se=()=>{A(Ae,it.newDataSource,void 0,(Q,se)=>{be(Q,!0)})},we=()=>{A(Ae,it.editDataSource,void 0,(Q,se)=>{var Ze,We;if(((We=(Ze=f.value)==null?void 0:Ze.needFormAdd)==null?void 0:We.call(Ze,Q))&&ne){Se();return}be(Q,!1)})},Me=I(it.editDataSource),ne=I(it.newDataSource);Me?we():ne&&Se()});return te(),p.onMounted(()=>{VL(),ae()}),{widgetRefList:o,allWidgetRefList:a,fieldEditor:l,formModel:x,pageConfig:i,widgetList:r,fieldModel:c,fieldName:s,attrs:g,extendAttrs:f,events:u,rules:T,loadData:Ie,clearData:G,exposed:{...C,setValue:ie,getValue:re,resetField:ee,clearData:G,loadData:Ie,getData:Z,clearChangeRecord:H,getChangeRecord:k,emit$:m},fieldObj:h}}const cke=p.defineComponent({componentName:vn.ContainerWidget}),uke=p.defineComponent({...cke,__name:"form-widget",props:{...go},setup(t,{expose:e}){var h;const n=t,{exposed:i,formModel:r,fieldEditor:o,attrs:a,events:c,widgetRefList:s,extendAttrs:l,fieldName:g,fieldObj:u,loadData:I}=gke({...n,widgetList:(h=n==null?void 0:n.widget)==null?void 0:h.widgetList}),C=g.value;return uu.globalProvide({globalFormName:C,globalDataModel:r}),p.onMounted(()=>{var A;(A=l.value)!=null&&A.loadDataWhenInit&&!n.designState&&I(!0).then(d=>{}).catch(d=>{}).finally(()=>{i.clearChangeRecord()})}),e({...i}),(A,d)=>{const f=p.resolveComponent("el-form"),w=p.resolveDirective("loading");return p.openBlock(),p.createBlock(sr,p.mergeProps(A.$props,{"prop-options":{fieldObj:p.unref(u)}}),{default:p.withCtx(({data:y})=>{var m,b;return[p.withDirectives((p.openBlock(),p.createBlock(f,p.mergeProps({ref_key:"fieldEditor",ref:o,model:p.unref(r)},p.unref(a),p.toHandlers(p.unref(c)),{class:y.injectClass,key:(m=p.unref(u))==null?void 0:m.fieldKey,"element-loading-text":p.unref(l).loadingText,onSubmit:d[0]||(d[0]=p.withModifiers(()=>{},["prevent"]))}),{default:p.withCtx(()=>[p.createVNode(fr,p.mergeProps(A.$props,{dragClass:"formDrag",model:p.unref(r),provideModel:!0,"component-class":y.componentWrapperClass,refList:p.unref(s)}),null,16,["model","component-class","refList"])]),_:2},1040,["model","class","element-loading-text"])),[[w,(b=p.unref(l))==null?void 0:b.showLoading]])]}),_:1},16,["prop-options"])}}}),ELt="",Q7=Object.freeze(Object.defineProperty({__proto__:null,default:Ei(uke,[["__scopeId","data-v-d2770e0b"]])},Symbol.toStringTag,{value:"Module"})),Ike=p.defineComponent({componentName:vn.ContainerWidget}),q7=p.defineComponent({...Ike,__name:"grid-col-widget",props:{...go},setup(t,{expose:e}){const n=t,{attrs:i,fieldObj:r,extendAttrs:o,exposed:a}=_n(n),c=p.computed(()=>n.propOptions.colHeight?{height:n.propOptions.colHeight}:{}),{customClass:s,componentWrapperClass:l}=Pu({widget:n.widget}),g=p.computed(()=>(Object.keys(i.value).forEach(u=>{var h,A;var I=["xs","sm","md","lg","xl"],C=["span"];!((h=i.value)!=null&&h.responsive)&&I.includes(u)&&delete i.value[u],(A=i.value)!=null&&A.responsive&&C.includes(u)&&delete i.value[u]}),p.reactive(i.value)));return e({...a}),(u,I)=>{var C,h,A;return p.openBlock(),p.createBlock(sr,p.mergeProps(u.$props,{showWrapperComponent:!0,"component-name":"el-col",key:(C=u.widget)==null?void 0:C.id,"prop-options":{fieldObj:{...p.unref(r),attrs:p.unref(g)},class:["content-cell","nopadding","nomargin",(h=p.unref(o))==null?void 0:h.horizontalAlign,(A=p.unref(o))==null?void 0:A.verticalAlign,p.unref(s)],style:p.unref(c)}}),{default:p.withCtx(()=>[p.createVNode(fr,p.mergeProps(u.$props,{dragClass:"dragSize1","component-class":p.unref(l)}),null,16,["component-class"])]),_:1},16,["prop-options"])}}}),$7=Object.freeze(Object.defineProperty({__proto__:null,default:q7},Symbol.toStringTag,{value:"Module"})),Cke=p.defineComponent({componentName:vn.ContainerWidget}),dke=p.defineComponent({...Cke,__name:"grid-widget",props:{...go},setup(t,{expose:e}){const n=t,{extendAttrs:i,watchPropAndSaveHistoryStep:r,fieldObj:o,exposed:a}=_n(n),{customClass:c}=Pu({widget:n.widget});return r(it.cols),e({...a}),(s,l)=>{var g;return p.openBlock(),p.createBlock(sr,p.mergeProps(s.$props,{"component-name":"el-row",key:(g=s.widget)==null?void 0:g.id,showWrapperComponent:!0,"prop-options":{fieldObj:p.unref(o),class:["nopadding","nomargin",p.unref(c)]}}),{default:p.withCtx(()=>[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(s.widget.cols,(u,I)=>(p.openBlock(),p.createBlock(q7,{key:u.id,widget:u,designer:s.designer,"design-state":s.designState,"parent-list":s.widget.cols,"parent-widget":s.widget,"prop-options":{colHeight:p.unref(i).colHeight}},null,8,["widget","designer","design-state","parent-list","parent-widget","prop-options"]))),128))]),_:1},16,["prop-options"])}}}),eP=Object.freeze(Object.defineProperty({__proto__:null,default:dke},Symbol.toStringTag,{value:"Module"})),hke=["title"],pke=p.defineComponent({componentName:vn.ContainerWidget}),tP=p.defineComponent({...pke,__name:"ltable-col-widget",props:{...go},setup(t,{expose:e}){const n=t,{insertTableRow:i,insertTableCol:r,mergeTableWholeRow:o,mergeTableRow:a,mergeTableCol:c,mergeTableWholeCol:s,undoMergeTableCol:l,undoMergeTableRow:g,deleteTableWholeCol:u,deleteTableWholeRow:I,copyTableWholeRow:C,copyTableWholeCol:h}=QU(),{emitHistoryChangeAfter:A}=Js(n.designer),{attrs:d,fieldObj:f,exposed:w}=_n(n),y=p.computed(()=>d.value.rowspan),m=p.computed(()=>d.value.colspan),b=p.computed(()=>d.value.cellWidth),v=p.computed(()=>d.value.cellHeight),S=p.computed(()=>{var Se,we;return((we=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:we.colIndex)||0}),M=p.computed(()=>{var Se,we;return((we=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:we.colArray)||[]}),x=p.computed(()=>{var Se,we;return((we=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:we.rowIndex)||0}),N=p.computed(()=>{var Se,we;return((we=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:we.rowArray)||[]}),Z=p.computed(()=>{var Se,we;return((we=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:we.colLength)||0}),G=p.computed(()=>{var Se,we;return((we=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:we.rowLength)||0}),{componentWrapperClass:z}=Pu({widget:n.widget}),T=p.computed(()=>S.value<=0||xt.getOptions(M.value[S.value-1],"rowspan")!=y.value),W=p.computed(()=>{let Se=S.value+(m.value||0);return S.value>=Z.value-1||Se>Z.value-1||xt.getOptions(M.value[Se],"rowspan")!==y.value}),V=p.computed(()=>Z.value<=1||Z.value===m.value),X=p.computed(()=>x.value<=0||xt.getOptions(N.value[x.value-1].cols[S.value],"colspan")!==m.value),D=p.computed(()=>{let Se=x.value+(y.value||0);return x.value>=G.value-1||Se>G.value-1||xt.getOptions(N.value[Se].cols[S.value],"colspan")!==m.value}),R=p.computed(()=>G.value<=1||G.value===y.value),F=p.computed(()=>{var Se;return((Se=Yt(n.widget))==null?void 0:Se.merged)||(y.value||1)<=1}),Y=p.computed(()=>{var Se;return((Se=Yt(n.widget))==null?void 0:Se.merged)||(y.value||1)<=1}),k=p.computed(()=>Z.value===1||m.value===Z.value),E=p.computed(()=>G.value===1||y.value===G.value),H=()=>{var Se;A(r(Yt(n.parentWidget),S.value,x.value,!0),`insertLeftCol ${(Se=n.widget)==null?void 0:Se.id}`)},L=()=>{var Se;A(r(Yt(n.parentWidget),S.value,x.value,!1),`insertRightCol ${(Se=n.widget)==null?void 0:Se.id}`)},_=()=>{var Se;A(i(Yt(n.parentWidget),x.value,x.value,S.value,!0),`insertAboveRow ${(Se=n.widget)==null?void 0:Se.id}`)},ae=()=>{var Se;A(i(Yt(n.parentWidget),x.value,x.value,S.value,!1),`insertBelowRow ${(Se=n.widget)==null?void 0:Se.id}`)},te=()=>{var Se;A(c(N.value,M.value,x.value,S.value,!0,n.widget),`mergeLeftCol ${(Se=n.widget)==null?void 0:Se.id}`)},ge=()=>{var Se;A(c(N.value,M.value,x.value,S.value,!1,n.widget),`mergeRightCol ${(Se=n.widget)==null?void 0:Se.id}`)},ee=()=>{var Se;A(o(N.value,M.value,x.value,S.value),`mergeWholeRow ${(Se=n.widget)==null?void 0:Se.id}`)},ue=()=>{var Se;A(a(N.value,x.value,S.value,!0,n.widget),`mergeAboveRow ${(Se=n.widget)==null?void 0:Se.id}`)},U=()=>{var Se;A(a(N.value,x.value,S.value,!1,n.widget),`mergeBelowRow ${(Se=n.widget)==null?void 0:Se.id}`)},re=()=>{var Se;A(s(N.value,M.value,x.value,S.value),`mergeWholeCol ${(Se=n.widget)==null?void 0:Se.id}`)},ie=()=>{var Se;A(l(N.value,x.value,S.value,m.value,y.value),`undoMergeCol ${(Se=n.widget)==null?void 0:Se.id}`)},Ie=()=>{var Se;A(g(N.value,x.value,S.value,m.value,y.value),`undoMergeRow ${(Se=n.widget)==null?void 0:Se.id}`)},Ae=()=>{var Se;A(u(N.value,S.value),`deleteWholeCol ${(Se=n.widget)==null?void 0:Se.id}`)},me=()=>{var Se;A(I(N.value,x.value),`deleteWholeRow ${(Se=n.widget)==null?void 0:Se.id}`)},he=()=>{var Se;A(h(N.value,S.value),`copyWholeCol ${(Se=n.widget)==null?void 0:Se.id}`)},be=()=>{var Se;A(C(N.value,x.value),`copyWholeRow ${(Se=n.widget)==null?void 0:Se.id}`)};return e({...w}),(Se,we)=>{const Me=p.resolveComponent("el-dropdown-item"),ne=p.resolveComponent("el-dropdown-menu"),Q=p.resolveComponent("el-dropdown");return p.openBlock(),p.createBlock(sr,p.mergeProps(Se.$props,{"show-wrapper-component":!0,"component-name":"td","prop-options":{class:"table-cell",style:{width:p.unref(b)+"!important"||"",height:p.unref(v)+"!important"||""},fieldObj:{...p.unref(f),colspan:p.unref(m).value||1,rowspan:p.unref(y).value||1}}}),{drag:p.withCtx(()=>[p.createVNode(Q,{trigger:"click",size:"small"},{dropdown:p.withCtx(()=>[p.createVNode(ne,null,{default:p.withCtx(()=>[p.createVNode(Me,{onClick:we[0]||(we[0]=se=>H())},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.insertColumnToLeft")),1)]),_:1}),p.createVNode(Me,{onClick:we[1]||(we[1]=se=>L())},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.insertColumnToRight")),1)]),_:1}),p.createVNode(Me,{onClick:we[2]||(we[2]=se=>_())},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.insertRowAbove")),1)]),_:1}),p.createVNode(Me,{onClick:we[3]||(we[3]=se=>ae())},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.insertRowBelow")),1)]),_:1}),p.createVNode(Me,{onClick:we[4]||(we[4]=se=>te()),disabled:p.unref(T),divided:""},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.mergeLeftColumn")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[5]||(we[5]=se=>ge()),disabled:p.unref(W)},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.mergeRightColumn")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[6]||(we[6]=se=>ee()),disabled:p.unref(V)},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.mergeEntireRow")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[7]||(we[7]=se=>ue()),disabled:p.unref(X),divided:""},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.mergeRowAbove")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[8]||(we[8]=se=>U()),disabled:p.unref(D)},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.mergeRowBelow")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[9]||(we[9]=se=>re()),disabled:p.unref(R)},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.mergeEntireColumn")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[10]||(we[10]=se=>Ie()),disabled:p.unref(Y),divided:""},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.undoMergeRow")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[11]||(we[11]=se=>ie()),disabled:p.unref(F)},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.undoMergeCol")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[12]||(we[12]=se=>Ae()),disabled:p.unref(k),divided:""},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.deleteEntireCol")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[13]||(we[13]=se=>me()),disabled:p.unref(E)},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.deleteEntireRow")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[14]||(we[14]=se=>he()),divided:""},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.copyEntireCol")),1)]),_:1}),p.createVNode(Me,{onClick:we[15]||(we[15]=se=>be())},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.copyEntireRow")),1)]),_:1})]),_:1})]),default:p.withCtx(()=>[p.createElementVNode("i",{title:p.unref(P).i18nt("designer.hint.cellSetting")},[p.createVNode(Yn,{name:"@el-menu"})],8,hke)]),_:1})]),default:p.withCtx(()=>[p.createVNode(fr,p.mergeProps(Se.$props,{"component-class":p.unref(z)}),null,16,["component-class"])]),_:1},16,["prop-options"])}}}),nP=Object.freeze(Object.defineProperty({__proto__:null,default:tP},Symbol.toStringTag,{value:"Module"})),Ake=["element-loading-text"],fke=p.defineComponent({componentName:vn.ContainerWidget}),wke=p.defineComponent({...fke,__name:"ltable-widget",props:{...go},setup(t,{expose:e}){const n=t,{extendAttrs:i,fieldObj:r,exposed:o}=_n(n),{customClass:a}=Pu({widget:n.widget});return e({...o}),(c,s)=>{const l=p.resolveDirective("loading");return p.openBlock(),p.createBlock(sr,p.mergeProps(c.$props,{"prop-options":{fieldObj:p.unref(r)}}),{default:p.withCtx(()=>{var g,u,I;return[(p.openBlock(),p.createElementBlock("div",{key:(g=c.widget)==null?void 0:g.id,class:p.normalizeClass(["table-container",p.unref(a)])},[p.withDirectives((p.openBlock(),p.createElementBlock("table",{class:"table-layout","element-loading-text":p.unref(i).loadingText},[p.createElementVNode("tbody",null,[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList((u=c.widget)==null?void 0:u.rows,(C,h)=>(p.openBlock(),p.createElementBlock("tr",{key:C.id},[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(C.cols,(A,d)=>{var f,w;return p.openBlock(),p.createElementBlock(p.Fragment,null,[A.merged?p.createCommentVNode("",!0):(p.openBlock(),p.createBlock(tP,{widget:A,designer:c.designer,"design-state":c.designState,key:A.id,"parent-list":C.cols,"parent-widget":c.widget,"prop-options":{colAttrs:{rowIndex:h,rowLength:(f=c.widget)==null?void 0:f.rows.length,rowArray:(w=c.widget)==null?void 0:w.rows,colIndex:d,colLength:C.cols.length,colArray:C.cols}}},null,8,["widget","designer","design-state","parent-list","parent-widget","prop-options"]))],64)}),256))]))),128))])],8,Ake)),[[l,(I=p.unref(i))==null?void 0:I.showLoading]])],2))]}),_:1},16,["prop-options"])}}}),FLt="",iP=Object.freeze(Object.defineProperty({__proto__:null,default:Ei(wke,[["__scopeId","data-v-b4d3bf11"]])},Symbol.toStringTag,{value:"Module"})),mke=p.defineComponent({componentName:vn.ContainerWidget}),rP=p.defineComponent({...mke,__name:"tab-pane-widget",props:{...go},setup(t,{expose:e}){const n=t,{exposed:i,fieldObj:r}=_n(n),{componentWrapperClass:o,customClass:a}=Pu({widget:n.widget});return e({...i}),(c,s)=>{var l;return p.openBlock(),p.createBlock(sr,p.mergeProps(c.$props,{"show-wrapper-component":!0,"component-name":"el-tab-pane",key:(l=c.widget)==null?void 0:l.id,"prop-options":{fieldObj:p.unref(r),class:["content-cell",p.unref(a)]}}),{default:p.withCtx(()=>[p.createVNode(fr,p.mergeProps(c.$props,{dragClass:"dragSize","component-class":p.unref(o)}),null,16,["component-class"])]),_:1},16,["prop-options"])}}}),aP=Object.freeze(Object.defineProperty({__proto__:null,default:rP},Symbol.toStringTag,{value:"Module"})),yke=p.defineComponent({componentName:vn.ContainerWidget}),bke=p.defineComponent({...yke,__name:"tabs-widget",props:{...go},setup(t,{expose:e}){const n=t,{fieldKey:i,fieldObj:r,attrs:o,extendAttrs:a,events:c,exposed:s,watchPropAndSaveHistoryStep:l}=_n(n),{addTabPaneOfTabs:g,initTabPane:u,getActiveTab:I,deleteTabPaneOfTabs:C,findTabPaneOfTabs:h}=VS(),A=p.computed(()=>{const S=I(Yt(n.widget));if(S)return xt.getName(S)}),d=p.ref(),f=p.computed({get:()=>d.value||A.value,set:S=>{d.value=S}}),w=()=>f.value,y=S=>{f.value=S},m=S=>{var M=h(Yt(n.widget),S);Ca(M)||C(Yt(n.widget),M)},b=S=>{g(Yt(n.widget),u(S))},v=()=>{f.value=Yt(A.value),s.refreshKey()};return l(it.tabs),e({...s,tabAdd:b,tabRemove:m,getValue:w,setValue:y,refresh:v}),(S,M)=>{const x=p.resolveComponent("el-tabs"),N=p.resolveDirective("loading");return p.openBlock(),p.createBlock(sr,p.mergeProps(S.$props,{"prop-options":{fieldObj:p.unref(r)}}),{default:p.withCtx(({data:Z})=>{var G;return[p.withDirectives((p.openBlock(),p.createBlock(x,p.mergeProps({key:p.unref(i)},p.unref(o),p.toHandlers(p.unref(c)),{modelValue:p.unref(f),"onUpdate:modelValue":M[0]||(M[0]=z=>p.isRef(f)?f.value=z:null),class:Z.injectClass,style:{...Z.injectStyle,width:Z.ctrlWidth},"element-loading-text":p.unref(a).loadingText}),{default:p.withCtx(()=>{var z;return[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList((z=S.widget)==null?void 0:z.tabs,(T,W)=>{var V;return p.openBlock(),p.createBlock(rP,{key:p.unref(xt).getName(T),widget:T,designer:S.designer,"design-state":S.designState,"parent-list":(V=S.widget)==null?void 0:V.tabs,"parent-widget":S.widget},null,8,["widget","designer","design-state","parent-list","parent-widget"])}),128))]}),_:2},1040,["modelValue","class","style","element-loading-text"])),[[N,(G=p.unref(a))==null?void 0:G.showLoading]])]}),_:1},16,["prop-options"])}}}),oP=Object.freeze(Object.defineProperty({__proto__:null,default:bke},Symbol.toStringTag,{value:"Module"}));function Nke(t){const e=p.ref({}),{componentWrapperClass:n,customClass:i}=Pu({widget:t.widget}),{exposed:r,attrs:o,extendAttrs:a,fieldKey:c,fieldObj:s}=_n(t),{setAllRefList:l}=xd(e.value),g=(h=!1)=>{l(ea.setDisabled,{flag:h})},u=(h=!1)=>{var A;(A=r==null?void 0:r.setHidden)==null||A.call(r,h)},I=()=>{l(ea.resetField)};return(h=>{p.watch(()=>{var A;return(A=o.value)==null?void 0:A[h]},A=>{A!=null&&h==="disabled"&&g(A)},{immediate:!0})})("disabled"),{extendAttrs:a,attrs:o,exposed:{...r,setDisabled:g,setHidden:u,resetField:I},componentWrapperClass:n,customClass:i,fieldKey:c,fieldObj:s,widgetRefList:e}}const vke=["element-loading-text"],Mke=p.defineComponent({componentName:vn.ContainerWidget}),Ske=p.defineComponent({...Mke,__name:"wrapper-widget",props:{...go},setup(t,{expose:e}){const n=t,{attrs:i,extendAttrs:r,exposed:o,customClass:a,componentWrapperClass:c,fieldObj:s,fieldKey:l,widgetRefList:g}=Nke(n);return e({...o}),(u,I)=>{const C=p.resolveDirective("loading");return p.openBlock(),p.createBlock(sr,p.mergeProps(u.$props,{"prop-options":{fieldObj:p.unref(s)},"component-name":"div","show-wrapper-component":!0}),{default:p.withCtx(({data:h})=>{var A,d,f;return[u.designState||!((A=p.unref(i))!=null&&A.hidden)||!((d=p.unref(i))!=null&&d.lazy)?p.withDirectives((p.openBlock(),p.createElementBlock("div",{ref:"fieldEditor",class:p.normalizeClass(h.injectClass),key:p.unref(l),"element-loading-text":p.unref(r).loadingText},[p.createVNode(fr,p.mergeProps(u.$props,{dragClass:"dragSize","component-class":h.componentWrapperClass,refList:p.unref(g)}),null,16,["component-class","refList"])],10,vke)),[[C,(f=p.unref(r))==null?void 0:f.showLoading]]):p.createCommentVNode("",!0)]}),_:1},16,["prop-options"])}}}),sP=Object.freeze(Object.defineProperty({__proto__:null,default:Ske},Symbol.toStringTag,{value:"Module"}));function lP(t){let e=new Map;for(const n in t){let i=t==null?void 0:t[n],r=i==null?void 0:i.default,o=(r==null?void 0:r.name)||(r==null?void 0:r.__name);e[o]=r}return e}function gP(){return lP(Object.assign({"../cont-cell-widget.vue":U7,"../cont-widget.vue":P7,"../form-widget.vue":Q7,"../grid-col-widget.vue":$7,"../grid-widget.vue":eP,"../ltable-col-widget.vue":nP,"../ltable-widget.vue":iP,"../tab-pane-widget.vue":aP,"../tabs-widget.vue":oP,"../wrapper-widget.vue":sP}))}const xke={install:(t,e)=>{const n=gP();for(const i in Object.keys(n))t.component(i,n[i])}},Zke={install:(t,e)=>{const n=gP();for(const i in Object.keys(n))t.component(i,n[i])}},Gke={style:{width:"99%",height:"99%",margin:"0 auto"}},Oke=["src","id"],zke=["id"],Tke={class:"dialog-footer"},Wke=p.defineComponent({__name:"index",props:{...hNe},emits:["ok","cancel","close"],setup(t,{emit:e}){const n=t,i=p.ref(!0),r=p.ref(),o=p.ref(!0),a=()=>{o.value=!1},c=()=>{if(Hr(n.htmlContent))return;const s=r.value;if(s){const l=s.contentWindow.document;l.open(),l.write(n.htmlContent),l.close()}};return p.onMounted(()=>{p.nextTick(()=>{c()})}),(s,l)=>{const g=p.resolveComponent("el-button"),u=p.resolveComponent("el-dialog"),I=p.resolveDirective("loading");return p.openBlock(),p.createBlock(u,{modelValue:i.value,"onUpdate:modelValue":l[3]||(l[3]=C=>i.value=C),class:"--hl-dialog1",fullscreen:s.fullscreen,title:s.title,width:s.width,"close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!0,top:"15vh",style:p.normalizeStyle({height:s.height})},{footer:p.withCtx(()=>{var C,h,A;return[p.createElementVNode("span",Tke,[(C=s.dialogType)!=null&&C.includes(p.unref(pM).close)?(p.openBlock(),p.createBlock(g,{key:0,onClick:l[0]||(l[0]=d=>{e("close",{})}),size:"large"},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.close")),1)]),_:1})):p.createCommentVNode("",!0),(h=s.dialogType)!=null&&h.includes(p.unref(pM).cancel)?(p.openBlock(),p.createBlock(g,{key:1,onClick:l[1]||(l[1]=d=>{e("cancel",{iframeRef:r.value})}),size:"large"},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.close")),1)]),_:1})):p.createCommentVNode("",!0),(A=s.dialogType)!=null&&A.includes(p.unref(pM).save)?(p.openBlock(),p.createBlock(g,{key:2,type:"primary",onClick:l[2]||(l[2]=d=>{e("ok",{iframeRef:r.value})}),size:"large"},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.confirm")),1)]),_:1})):p.createCommentVNode("",!0)])]}),default:p.withCtx(()=>[p.withDirectives((p.openBlock(),p.createElementBlock("div",Gke,[s.url?(p.openBlock(),p.createElementBlock("iframe",{key:0,frameborder:"0",ref_key:"iframeRef",ref:r,style:{width:"100%",height:"100%"},src:s.url,onLoad:a,id:p.unref(EA)()},null,40,Oke)):s.htmlContent?(p.openBlock(),p.createElementBlock("iframe",{key:1,frameborder:"0",ref_key:"iframeRef",ref:r,style:{width:"100%",height:"100%"},id:p.unref(EA)(),onLoad:a},null,40,zke)):p.createCommentVNode("",!0)])),[[I,o.value]])]),_:1},8,["modelValue","fullscreen","title","width","style"])}}}),_Lt="",cP=Object.freeze(Object.defineProperty({__proto__:null,default:Wke},Symbol.toStringTag,{value:"Module"}));function Vke(){return lP(Object.assign({"./index.vue":cP}))}const Bke={install:(t,e)=>{const n=Vke();t.use(INe);for(const i in Object.keys(n))t.component(i,n[i])}};function Dke(t,e,n,i){const r={r:255,g:255,b:255};return{r:Math.round(t*(1-i)+r.r*i),g:Math.round(e*(1-i)+r.g*i),b:Math.round(n*(1-i)+r.b*i)}}function kke(t,e,n,i=!1,r=5){const o=[];for(let a=0;a<r;a++){const c=Dke(t,e,n,a*.1);o.push(c)}return o}function Rke(t,e=!1,n=5){const i=Yke(t),r=kke(i.r,i.g,i.b,e,n);return r==null?void 0:r.map(o=>Xke(o.r,o.g,o.b))}function Xke(t,e,n){const i=r=>{const o=r.toString(16);return o.length===1?"0"+o:o};return`#${i(t)}${i(e)}${i(n)}`}function Yke(t){t=t.replace(/^#/,""),t.length===3&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]);const e=parseInt(t,16);return{r:e>>16&255,g:e>>8&255,b:e&255}}function uP(t,e){return{cssWithPrimaryColor:p.computed(()=>{var o,a;const i=(e==null?void 0:e.themeColor)||Az.color1;var r={themeColor:i};return(o=Rke(i,!1,10))==null||o.forEach((c,s)=>{r["themeColor-"+s]=c}),!ai(t)&&wa(t)&&((a=zi(r))==null||a.forEach(c=>{var s=`var\\(--${c}\\)`;t=tu(t,s,r[c])})),t})}}function Eke(t){var{addWindowName:e,addWindowHook:n}=FM();e(),n("openModalAsync",i=>{fK(t==null?void 0:t.instance,i)}),n("ElMessage",Si.ElMessage),n("ElMessageBox",Si.ElMessageBox),n("ElNotification",Si.ElNotification)}function Hke(t){const e=t.designer,n=e==null?void 0:e.pageConfig,i=p.ref(e==null?void 0:e.widgetList),r=t==null?void 0:t.designState,o=t==null?void 0:t.pageData,a=t==null?void 0:t.renderConfig,c={},s={},{off$:l,on$:g,emit$:u}=wf();var{instance:I,proxy:C}=ma();const h={instance:I,designState:r,formData:o,pageConfig:n,globalConfig:a},{handleFunc:A}=dV({options:n},h),{callWidgetsExposed:d}=xd(s),{formModel:f,setData:w,getData:y,clearData:m}=fV(i.value,h),b=new mf(c),v=new mf(s),{findRefByName:S}=xd(s),{getOneSchemaData:M,getSchemaDataObject:x,getSchemaDatas:N}=S0(h);let G=(()=>"vfRender"+sa())();const z=()=>{A(n==null?void 0:n.pageCreated)},T=()=>{A(n==null?void 0:n.pageMounted)},W=p.computed(()=>r?"":G),V=()=>{if(!n)return;const{insertCustomCssToHead:ue,insertGlobalFunctionsToHtml:U}=_S(),re=Ne.getValue(n.cssCode,!1,!0);if(re){const{cssWithPrimaryColor:Ie}=uP(re,{themeColor:(a==null?void 0:a.themeColor)||""});ue(Ie.value,W.value)}const ie=Ne.getValue(n.functions,!1,!0);ie&&U(ie)},X=()=>{const{removeCustomCssToHead:ue,removeGlobalFunctionsToHtml:U}=_S();ue(W.value),U(W.value)},D=(ue=!0)=>{ue&&V(),F(),z(),ge(),ee()},R=ls.page,F=()=>{b.setWidgetRef(R,I),v.setWidgetRef(R,I)},Y=ue=>d(ue,ea.getValue),k=(ue,U)=>d(ue,ea.setValue,U),E=(ue,U=!0)=>{d(ue,ea.setDisabled,{flag:U})},H=ue=>{E(ue,!1)},L=(ue,U=!0)=>{d(ue,ea.setHidden,{flag:U})},_=ue=>{L(ue,!1)},ae=ue=>{if(ue){var U=xr(ue);if(U){if(!U.pageConfig||!U.widgetList)return"Invalid pageat of page json.";Rn(t.pageConfig,U),V(),p.nextTick(()=>{D(!1),T()})}else return"Set page json failed."}},te=(ue,U,re)=>{C==null||C.$emit(gl.formChange,ue,U,re,f)},ge=()=>{l(An.fieldChange),g(An.fieldChange,ue=>{te(ue==null?void 0:ue.fieldName,ue==null?void 0:ue.newValue,ue==null?void 0:ue.oldValue)})},ee=()=>{l(An.fieldValidation),g(An.fieldValidation,ue=>{})};return D(),p.onMounted(()=>{m(),VL(),T(),Eke({instance:I})}),p.onUnmounted(()=>{m(),X()}),{formModel:f,pageConfig:n,widgetList:i,widgetRefList:c,allWidgetRefList:s,exposed:{findRefByName:S,setPageJson:ae,hideWidgets:L,showWidgets:_,disableWidgets:E,enableWidgets:H,getFieldValue:Y,setFieldValue:k,setData:w,getData:y,clearData:m,getOneSchemaData:M,getSchemaDataObject:x,getSchemaDatas:N,emit$:u}}}function IP(){const t={},e=(r,o,a)=>{t[r]={opt:o,doEvent:a}},n=(r,o)=>{var c,s;const a=t==null?void 0:t[r==null?void 0:r.toLocaleLowerCase()];if(((c=a==null?void 0:a.opt)==null?void 0:c.ctrlKey)===(o==null?void 0:o.ctrlKey))return(s=a==null?void 0:a.doEvent)==null?void 0:s.call(a)};return{bindKey:e,runEvent:r=>{const o=r.ctrlKey||r.metaKey,a=r.key;n(a,{ctrlKey:o})}}}function Fke(t){const{bindKey:e,runEvent:n}=IP(),{undoHistoryStep:i,cloneSelectedWidget:r,pasteSelectedWidget:o,removeSelectedWidget:a}=Js(t);let c=null;const s=()=>(c=r(),!!c),l=()=>c?o(c):!1,g=()=>(i(),!0),u=()=>{e("c",{ctrlKey:!0},s),e("v",{ctrlKey:!0},l),e("z",{ctrlKey:!0},g)};return{addKeyBoardEvent:C=>{u(),n(C)}}}function Lke(t){const{bindKey:e,runEvent:n}=IP(),i=()=>{e("enter",{ctrlKey:!1},c),e("arrowleft",{ctrlKey:!0},s)},r=l=>(i(),n(l)),o="input,select,textarea",a=["textarea"],c=()=>{var C,h;var l=t.querySelectorAll(o);const g=document.activeElement,u=(C=g==null?void 0:g.nodeName)==null?void 0:C.toLocaleLowerCase();if(!u||a.includes(u))return!1;for(var I=0;I<l.length;I++){const A=l[I];if(A==g)return I==l.length-1?!1:((h=l[I+1])==null||h.focus(),!0);A==null||A.blur()}return!1},s=l=>{var C,h;var g=t.querySelectorAll(o);const u=document.activeElement;(C=u==null?void 0:u.nodeName)==null||C.toLocaleLowerCase();for(var I=0;I<g.length;I++){const A=g[I];if(A==u)return I==0?!1:((h=g[I-1])==null||h.focus(),!0);A==null||A.blur()}return!1};return{addKeyBoardEvent:r}}const Jke=["element-loading-text","onKeyup"],Kke=p.defineComponent({componentName:vn.VFormRender,name:vn.VFormRender}),_ke=p.defineComponent({...Kke,props:{...go,pageData:{type:Object},renderConfig:{type:Object}},setup(t,{expose:e,emit:n}){const i=t,{formModel:r,exposed:o,widgetList:a,pageConfig:c,allWidgetRefList:s}=Hke(i),l=p.computed(()=>{var f,w;return Ne.getValue((w=(f=i.designer)==null?void 0:f.pageConfig)==null?void 0:w.layoutType)}),g=p.computed(()=>Yt(vr(Ne.getValue(c==null?void 0:c.customClass),!0))),u=p.computed(()=>{var f;return(f=Ne.getValue(c==null?void 0:c.componentWrapperClass))==null?void 0:f.join(" ")}),I=p.ref(!1),C={};uu.globalProvide({formRefList:C,globalRefList:s,globalDataModel:r,globalFormName:vn.VFormRender}),p.provide(ji.globalConfig,i.renderConfig),p.provide(ji.isRenderComplete,I);const h=p.ref(),A=f=>{const{addKeyBoardEvent:w}=Lke(h.value);w(f)},d=()=>{I.value=!0,n(gl.renderComplete)};return e({...o,componentName:vn.VFormRender}),(f,w)=>{const y=p.resolveDirective("loading");return p.withDirectives((p.openBlock(),p.createElementBlock("div",{"element-loading-text":p.unref(P).i18nt("designer.hint.loading"),class:p.normalizeClass([...p.unref(g),p.unref(l)+"-layout",{loadingLayout:!I.value}]),tabindex:"0",ref_key:"taregtWrapperRef",ref:h,onKeyup:[p.withKeys(A,["enter"]),p.withKeys(A,["left"])]},[p.renderSlot(f.$slots,"header",{},void 0,!0),p.renderSlot(f.$slots,"default",{},()=>[(p.openBlock(),p.createBlock(p.Suspense,{onResolve:d},{default:p.withCtx(()=>[p.createVNode(fr,{designer:f.designer,"widget-list":p.unref(a),model:p.unref(r),"design-state":!1,"component-class":p.unref(u)},null,8,["designer","widget-list","model","component-class"])]),_:1}))],!0),p.renderSlot(f.$slots,"footer",{},void 0,!0)],42,Jke)),[[y,!I.value]])}}}),ULt="",bV=Ei(_ke,[["__scopeId","data-v-527104aa"]]);function r1(t){return`${t}px`}function cC(t){return Number(t==null?void 0:t.replace("px",""))}function jke(){return{setTreeView:n=>{var i=((n==null?void 0:n.value)||document).querySelectorAll(".el-tree-node"),r=[];if(i==null||i.forEach(c=>{var h,A,d;var s=c.querySelector(".labelWrapper"),l=c.querySelector(".buttonWrapper"),g=c.querySelector(".el-tree-node__content");if(!(!s||!l||!g)){var u=cC((h=getComputedStyle(s))==null?void 0:h.width),I=cC((A=getComputedStyle(l))==null?void 0:A.width),C=cC((d=getComputedStyle(g))==null?void 0:d.paddingLeft);r.push(u+C+I)}}),(r==null?void 0:r.length)>0){let c=r.reduce((s,l)=>s>l?s:l);if(n.value){var o=cC(getComputedStyle(n.value).width),a=c+20;Math.ceil(o)+2<Math.ceil(a)&&(n.value.style.width=a+"px")}}},findNodeFromCurrent:(n,i,r=!1)=>{if(!i||i==="body")return i="body",document.getElementsByTagName(i)[0];if(!n)return null;let o=c=>{if(!c)return!1;if(i.startsWith(".")){let s=new RegExp("^.","i"),l=i.replace(s,"");return l===c.className||~(" "+c.className+" ").indexOf(" "+l+" ")}else if(i.startsWith("#")){let s=new RegExp("^#","i");return i.replace(s,"")===c.id}else return i===c.nodeName.toLowerCase()},a=null;for(r?a=n:a=n.parentNode;a&&!o(a)&&a.nodeName!=="BODY"&&a.nodeName!=="HTML";)a=a.parentNode;return!a||a.nodeName==="BODY"||a.nodeName==="HTML"?null:a}}}function Uke(t){var e=document==null?void 0:document.querySelector(t);return Pke(e)}function Pke(t){if(!t)return 0;var e=getComputedStyle(t);return(parseFloat(e==null?void 0:e.height)||0)+(parseFloat(e==null?void 0:e.marginBottom)||0)+(parseFloat(e==null?void 0:e.marginTop)||0)+(parseFloat(e==null?void 0:e.paddingTop)||0)+(parseFloat(e==null?void 0:e.paddingTop)||0)}function CP(){const t=p.ref();return{pageHeight:t,getComputedHeight:n=>{p.onMounted(()=>{setTimeout(()=>{const i=document.querySelectorAll(n);if(i&&i.length>0){const r=i[0];r.parentElement&&(t.value=getComputedStyle(r.parentElement).height)}},10)})}}}function Qke(t){return{getSFCCode:()=>new Promise((r,o)=>{Promise.resolve().then(()=>zte).then(a=>{const{genSFC:c}=a,s=c(t==null?void 0:t.pageConfig,t==null?void 0:t.widgetList,!1);r==null||r(s)})}),getFieldItems:()=>new Promise((r,o)=>{Promise.resolve().then(()=>Tte).then(a=>{const{useGenFieldItemList:c}=a,{filterFieldItems:s}=c(t==null?void 0:t.widgetList),l=s();r==null||r(l)})}),getCtx:r=>{const{instance:o}=ma(r);return rC({instance:o})}}}const qke=p.defineComponent({__name:"layoutdivider",props:{modelValue:null,maxValue:null,minValue:null},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,i=p.computed({get:()=>n.modelValue,set:s=>{e("update:modelValue",s)}}),r=s=>{document.addEventListener("mousemove",a)},o=()=>{let s=i.value;Ca(n.maxValue)||i.value>((n==null?void 0:n.maxValue)||0)&&(s=(n==null?void 0:n.maxValue)||0),Ca(n.minValue)||i.value<(n.minValue||0)&&(s=(n==null?void 0:n.minValue)||0),Ca(s)||(i.value=s),document.removeEventListener("mousemove",a)},a=s=>{i.value=s.screenX},c=Sme(o,300);return p.onMounted(()=>{document.addEventListener("mouseup",c)}),p.onUnmounted(()=>{document.removeEventListener("mouseup",c)}),(s,l)=>(p.openBlock(),p.createElementBlock("div",{class:"resize flex bgWhite",onMousedown:r},[p.createVNode(Yn,{name:"@custom-resize",class:"resizeIcon"})],32))}}),PLt="",dP=Ei(qke,[["__scopeId","data-v-bf6aa713"]]);class $ke{constructor(){J(this,"themeColor",Az.color1)}}const eRe={class:"full-height-width noscrollbar"},tRe=p.defineComponent({componentName:vn.VFormDesigner,name:vn.VFormDesigner}),nRe=p.defineComponent({...tRe,props:{fieldList:null,bannedWidgets:{default:()=>[]},pageTemplates:null,exampleCodes:null,designerConfig:{default:()=>new FBe},renderConfig:{default:()=>new $ke},designerJson:null},setup(t,{expose:e}){var x,N;const n=t,{onMountedOrActivated:i}=J7(),r=p.ref(!1);p.provide(ji.getDesignerConfig,n.designerConfig),p.provide(ji.getBannedWidgets,n.bannedWidgets),p.provide(ji.getPageTemplates,n.pageTemplates),p.provide(ji.getExampleCode,n.exampleCodes),p.provide(ji.serverFieldList,n.fieldList),p.provide(ji.globalConfig,n.renderConfig),p.provide(ji.isRenderComplete,r);const o=JBe(n.designerJson,!!((x=n.designerConfig)!=null&&x.resetPageJson),!!((N=n.designerConfig)!=null&&N.radomKey)),a=p.reactive(o);p.watch(()=>n.designerJson,Z=>{y(Z)});const c=p.computed(()=>a.version),s=p.ref(),l=p.ref(),g=p.shallowRef(),u=p.shallowRef(),I=p.shallowRef(),C=p.shallowRef(),h=()=>{g.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>zut)),u.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>But)),I.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>Hut)),C.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>CIt))},A=p.ref(),d=()=>{const Z=Uke(".page-widget-main .el-scrollbar");A.value=Z-80+"px"};BDe(()=>{p.nextTick(()=>{d()})});const{getSFCCode:f}=Qke(a),{getPageJson:w,loadPageJson:y}=Js(a),{addKeyBoardEvent:m}=Fke(a),b=Z=>{m(Z),Z.preventDefault()},v=window.innerWidth,S=p.ref(250),M=p.ref(v-320);return i(()=>{p.nextTick(()=>{h(),d()})}),e({getPageJson:w,loadPageJson:y,getSFCCode:f}),(Z,G)=>{const z=p.resolveComponent("el-aside"),T=p.resolveComponent("el-header"),W=p.resolveComponent("el-scrollbar"),V=p.resolveComponent("el-main"),X=p.resolveComponent("el-container");return p.openBlock(),p.createElementBlock("div",eRe,[p.createVNode(X,{class:"full-height noscrollbar"},{default:p.withCtx(()=>[p.createVNode(z,{class:"noscrollbar left-panel",width:`${S.value}px`,tabindex:"0",onKeydown:b},{default:p.withCtx(()=>[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(g)),{key:`WidgetPanel${p.unref(c)}`,class:"full-height-width bgWhite",designer:a},null,8,["designer"]))]),_:1},8,["width"]),p.createVNode(dP,{modelValue:S.value,"onUpdate:modelValue":G[0]||(G[0]=D=>S.value=D),minValue:200,maxValue:500},null,8,["modelValue"]),p.createVNode(V,{class:"noscrollbar nopadding"},{default:p.withCtx(()=>[p.createVNode(T,{class:"toolbar-header nopadding bgWhite"},{default:p.withCtx(()=>[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(C)),{designer:a,"designer-config":t.designerConfig,key:`ToolbarPanel${p.unref(c)}`,"render-config":t.renderConfig,ref:s.value},{default:p.withCtx(()=>[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(Z.$slots,(D,R)=>p.renderSlot(Z.$slots,R,{},void 0,!0)),256))]),_:3},8,["designer","designer-config","render-config"]))]),_:3}),p.createVNode(V,{class:"page-widget-main full-height-width nopadding",tabindex:"0",onKeydown:b},{default:p.withCtx(()=>[p.createVNode(W,null,{default:p.withCtx(()=>[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(u)),{panelHeight:A.value,designer:a,key:`PageWidget${p.unref(c)}`,"designer-config":t.designerConfig,ref_key:"pageWidgetRef",ref:l},null,8,["panelHeight","designer","designer-config"]))]),_:1})]),_:1})]),_:3}),p.createVNode(dP,{modelValue:M.value,"onUpdate:modelValue":G[1]||(G[1]=D=>M.value=D)},null,8,["modelValue"]),p.createVNode(z,{class:"noscrollbar right-panel",width:`${p.unref(v)-M.value}px`},{default:p.withCtx(()=>[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(I)),{class:"bgWhite",designer:a,"render-config":t.renderConfig,key:`SettingPanel${p.unref(c)}`},null,8,["designer","render-config"]))]),_:1},8,["width"])]),_:3})])}}}),QLt="",hP=Ei(nRe,[["__scopeId","data-v-d08f0a26"]]);var NV={},iRe={get exports(){return NV},set exports(t){NV=t}};/**!
200
+ return t.formItemFlag||[_e.form,_e.dialog].includes(e)},mV=t=>{const e=t.type;return[_e.treeSelect,_e.cascader,_e.select,_e.checkbox,_e.radio].includes(e)};function _n(t){const e=t==null?void 0:t.designState,n=(t==null?void 0:t.created)!=!1,i=t==null?void 0:t.exResetField,r=t==null?void 0:t.extInitFieldModel,o=t==null?void 0:t.exposedWholeInstance,a=t==null?void 0:t.widget,c=t==null?void 0:t.designer,s=c==null?void 0:c.pageConfig,{formRefList:l,globalRefList:g,globalConfig:u,globalFormName:I,globalDataModel:C,rowScope:h}=uu.globalInject();let A=p.reactive(C||{});const d=xd(g),f=xd(l),{instance:w}=ma(),y=()=>fn(A),m=()=>h,b=()=>a,v={designState:e,pageConfig:s,formData:!e&&j7(a)?A:{},globalConfig:u},S={instance:w,...v},M=S0(S),x={exposed:{getFormData:!e&&j7(a)?y:null,findRefByName:d.getWidgetRef,fieldEditor:()=>zt.value,getField:b,getRowScope:m,getOneSchemaData:M==null?void 0:M.getOneSchemaData,getSchemaDataObject:M==null?void 0:M.getSchemaDataObject,getSchemaDatas:M==null?void 0:M.getSchemaDatas}},N={instance:o?w:x,...v},{on$:Z,dispatch:G,emit$:z}=wf(),{onCompErrorCaptured:T}=J7(),{existFunc:W}=dV({options:a==null?void 0:a.options},N),{isIdClass:V,getIdByIdClass:X}=sBe(a),{getOneSchemaData:D,getSchemaDataObject:R,getSchemaDatas:F}=S0(N),Y=_De(),k=(t==null?void 0:t.shareProp)||{s_attr:!0,s_extendAttr:!0,s_events:!0,s_slots:!0,s_fieldName:!0,s_optionItems:!0},{attrs:E,extendAttrs:H,events:L,slots:_,rules:ae,fieldName:te,buildRules:ge,clearRules:ee,disableChangeValidate:ue,enableChangeValidate:U,optionItems:re,filterOptionItems:ie,getCheckedOptionText:Ie,getCheckedOptionValues:Ae,getCheckedOptionLabels:me,getCheckedOptionItems:he,activeOptionItems:be,activeOptionItem:Se,activeOptionItemIndex:we,setOptionItems:Me,isOptionWidget:ne,setWidgetOption:Q,getWidgetOption:se,setFieldEnable:de,hasFieldOptions:Ze,getFieldOptions:We,setFieldOptions:De,computedDefaultValue:ke,hasDefaultValue:je,singleOption:Ke,watchOption:nt,addCssClass:ht,removeCssClass:Ht}=hl(a,N,k,w);let mt=null,wt=p.ref();const zt=p.ref(),Vt=()=>te.value,Mt=()=>`${a==null?void 0:a.id}-${HM()}`,Gn=p.ref(Mt()),At=()=>{Gn.value=Mt()},vt=p.computed({get:()=>{if(wa(wt.value)){var ye=Number(wt.value);return isNaN(ye)?void 0:(wt.value=ye,ye)}return wt.value},set:ye=>{wt.value=ye}}),ce=p.computed({get:()=>{if(wa(wt.value)){var ye=xr(wt.value);Fg(ye)&&(wt.value=ye)}return wt.value},set:ye=>{wt.value=ye}}),Ge=ye=>{var lt,Ot;var Fe=(Ot=(lt=d.getWidgetRef(te.value))==null?void 0:lt.exposed)==null?void 0:Ot.loadOptionItems;if(Fe!==void 0){Fe==null||Fe(ye);return}Me(ye)},ze=ye=>{var Fe,lt,Ot;return(Ot=(lt=(Fe=d.getWidgetRef(te.value))==null?void 0:Fe.exposed)==null?void 0:lt.getCheckedItems)==null?void 0:Ot.call(lt,ye)},Ye=ye=>{var Fe,lt,Ot;return(Ot=(lt=(Fe=d.getWidgetRef(te.value))==null?void 0:Fe.exposed)==null?void 0:lt.getCheckedLabels)==null?void 0:Ot.call(lt,ye)},qe=ye=>{var Fe,lt,Ot;return(Ot=(lt=(Fe=d.getWidgetRef(te.value))==null?void 0:Fe.exposed)==null?void 0:lt.getCheckedText)==null?void 0:Ot.call(lt,ye)},Zt=()=>{var Te;if(!ne())return;const ye=(Te=H.value)==null?void 0:Te.withAttachData;if(!mV(a)||ye===!1)return;const Fe=wt.value,lt=Ye(Fe),Ot=qe(Fe);var Kt=fn(ze(Fe));Rt(lt,Kt,Ot)},Rt=(ye,Fe,lt)=>{var Ot={};if(ye!=null){let Kt=We("textName",!1);[`${te.value}${Hg.optionText}`,Kt].forEach(Te=>{Te&&Ot[Te]===void 0&&(Ot[Te]=ye)})}if(Fe!=null&&Fr(Fe)!==Fr(wt.value)){let Kt=We("optionName",!1);[`${te.value}${Hg.checkedOptions}`,Kt].forEach(Te=>{Te&&Ot[Te]===void 0&&(Ot[Te]=Fe)})}if(lt!=null){let Kt=We("labelName",!1);ye!==lt&&[`${te.value}${Hg.optionLabelName}`,Kt].forEach(Te=>{Te&&Ot[Te]===void 0&&(Ot[Te]=lt)})}on(fn(Ot))},jt=ye=>{if(O0(a)){var Fe={[te.value]:ye};on(Fe)}},on=ye=>{Rn(A,ye)},Xn=ye=>{e||jt(ye)},ki=ye=>We(ye,!1),Hn=()=>{var ye=p.toRefs(A);wt=Ne.get(ye,te.value)},Ee=ye=>{mt=fn(ye)},rt=ye=>{e||r&&r(ye)},et=()=>{je()&&Ds(ke()).then(ye=>{jt(ye),Hn()})},Je=(ye,Fe)=>{if(!O0(a))return;z(An.fieldValueChanged,{newValue:ye,oldValue:Fe});const lt={fieldId:a.id,fieldName:te.value,newValue:ye,oldValue:Fe};G(I,An.fieldChange,lt,w)},st=ye=>W(ye),ut=(ye,Fe)=>o0(se(ye),Fe),Gt=ye=>{Xn(ye),Fn(),ut(An.onInput,{value:ye})},Jt=(ye,Fe)=>{var lt,Ot,Kt;return(Kt=(Ot=(lt=d.getWidgetRef(te.value))==null?void 0:lt.exposed)==null?void 0:Ot.handleBeforeChange)==null?void 0:Kt.call(Ot,ye,Fe)},Tt=(...ye)=>{var Kt,Te,Re;let lt=((Kt=ye==null?void 0:ye[0])==null?void 0:Kt.target)!=null?(Re=(Te=ye==null?void 0:ye[0])==null?void 0:Te.target)==null?void 0:Re.value:ye==null?void 0:ye[0];lt=fn(lt);var Ot=Jt(lt,mt);Ot!=null?Xn(Ot):Xn(lt),Je(lt,mt),Fn(),Ee(lt)},Wt=(ye=!0)=>{Q(it.readonly,ye)},kt=(ye=!0)=>{Q(it.disabled,ye)},It=(ye=!0)=>{Q(it.hidden,ye),ye?Pn():hn()},O=(ye=!0)=>{de(it.required,ye),hn()},B=ye=>{Q(it.label,ye)},K=()=>wt==null?void 0:wt.value,j=ye=>{wt.value=ye},le=ye=>{let Fe=fn(K());if(j(ye),!O0(a))return;const lt=K();Fe!==lt&&(Xn(lt),Je(ye,Fe))},ve=()=>{je()?Ds(ke()).then(ye=>{jt(ye)}):jt(null),i==null||i()},Ve=ye=>{const Fe=K(),lt=Y.insertOnMousePos(zt.value,ye,Fe);le(lt)},He=(ye,Fe)=>{p.watch(()=>wt==null?void 0:wt.value,(lt,Ot)=>{ye==null||ye({id:a.id,name:te.value,newValue:lt,oldValue:Ot})},Fe)},fe=ye=>{var Te;ye.preventDefault();const Fe=Re=>{var pt;const Ue=(pt=Array.from(Re.classList))==null?void 0:pt.find(Pt=>V(Pt));return Ue?X(Ue):""},lt=document.activeElement;if(!lt)return;const Ot=document.getElementsByClassName(pz.formItemTarget);for(var Kt=0;Kt<Ot.length;Kt++){const Re=Ot[Kt],Ue=_7(lt,pz.formItemTarget);if(!Ue)continue;const pt=Fe(Re),Pt=Fe(Ue);if(pt===Pt){if(Kt===Ot.length-1)return;const gn=Ot[Kt+1],On=Fe(gn),kn=d.findRefById(On,w);try{(Te=kn==null?void 0:kn.exposed)==null||Te.focus()}catch(Or){$r.error("handleEnter",Or)}}}};let Qe=()=>{var Re;let ye={componentName:te.value,refList:l,allRefList:g,fieldEditor:()=>zt.value,changeRegisterToRefList:(Ue,pt)=>{d.changeRegisterToRefList(Ue,pt),f.changeRegisterToRefList(Ue,pt)},getField:b,getFormData:y,getValue:K,setValue:j,emit$:z,findRefByName:d.getWidgetRef,findRefById:d.findRefById,callRefFunc:d.callRefFunc,getWidgetOption:se,setWidgetOption:Q,refreshKey:At,getRowScope:m,getOneSchemaData:D,getSchemaDatas:F,getSchemaDataObject:R,addCssClass:ht,removeCssClass:Ht},Fe={resetField:ve,getValue:K,setValue:le,refreshDefaultValue:et,insertOnMousePos:Ve,disableChangeValidate:ue,enableChangeValidate:U,focus:()=>{Y.focus(zt.value)},blur:()=>{Y.blur(zt.value)},getMousePos:()=>{Y.getMousePos(zt.value)},setMousePos:Ue=>{Y.setMousePos(zt.value,Ue)}},lt={loadOptionItems:Ge,getCheckedItems:ze,getCheckedLabels:Ye},Ot={[it.required]:{name:ea.setRequired,fn:O},[it.label]:{name:ea.setLabel,fn:B},[it.hidden]:{name:ea.setHidden,fn:It},[it.disabled]:{name:ea.setDisabled,fn:kt},[it.readonly]:{name:ea.setReadonly,fn:Wt}},Kt={};(Re=zi(Ot))==null||Re.forEach(Ue=>{if(wd(a,Ue)){const pt=Ot[Ue];Kt[pt.name]=pt.fn}});var Te=Rn(ye,Kt);return O0(a)&&(Te=Rn(Te,Fe)),mV(a)&&(Te=Rn(Te,lt)),Te};const bt=p.computed(()=>({attrs:E.value,extendAttrs:H.value,events:L.value,slots:_.value,fieldKey:Gn.value,fieldEditor:zt.value,fieldName:te.value})),Nt=ye=>{t.designState&&t.designer&&p.watch(()=>{var Fe;return(Fe=t==null?void 0:t.widget)==null?void 0:Fe[ye]},(Fe,lt)=>{const{emitHistoryChange:Ot}=gU(t.designer);Ot(`edit ${te.value}.${ye},newValue:${Fe},oldValue:${lt}`)},{deep:!0})},Ft=(ye,Fe,lt)=>{const Ot=p.ref(),Kt=ki(ye),Te=Re=>{Fe&&(Ot.value=Fe(Re||Kt))};return p.isRef(Kt)?p.watch(Kt,Re=>{Te(Re),lt&&lt(Re)}):Te(Kt),Ot},dn=()=>{!O0(a)||e||He(ye=>{JDe(g,a==null?void 0:a.id,N),KDe(g,a==null?void 0:a.id,xt.getOptions(a,it.relate),ye),Zt(),setTimeout(()=>{Zt(),rt(ye==null?void 0:ye.newValue)},1e3)},{immediate:!0})},Fn=()=>{const ye={propName:te.value};G(I,An.fieldValidation,ye,w)},rn=()=>{const ye={fieldId:a.id,fieldName:te.value,rules:ae};G(I,An.fieldRuleChange,ye,w)},hn=()=>{if(!O0(a))return;const ye=ge();return rn(),ye},Pn=()=>{ee(),rn()},Gi=()=>{wd(a,"change")&&(L.value.change=Tt),wd(a,"input")&&(L.value.input=Gt),Z(gl.setFormData,ye=>{le(ye[te.value])}),Z(An.fieldValueChanged,ye=>{ut(An.onChange,{value:ye==null?void 0:ye.newValue,oldValue:ye==null?void 0:ye.oldValue})})},Cr=()=>{let ye=te.value;O0(a)?((!Fa(A,ye)||A[ye]===void 0)&&(jt(null),je()&&Ds(ke()).then(Fe=>{Fe==null?jt(null):jt(Fe)})),Hn()):je()&&Ds(ke()).then(Fe=>{le(Fe)}),Ee(K())},ur=()=>{mV(a)&&p.watch(()=>re==null?void 0:re.value,(ye,Fe)=>{Zt()},{immediate:!0})},fa=()=>{nt(!0,it.css,void 0,ye=>{pe()})},xa=()=>{const ye=p.inject(ji.isRenderComplete);if(ye!=null&&ye.value){ur(),dn();return}ye!=null&&p.watch(()=>ye==null?void 0:ye.value,Fe=>{Fe&&(ur(),dn())},{immediate:!0})},rs=()=>{var ye,Fe;if(n)try{Cr(),hn(),Gi(),d.registerToRefList(te.value),f.registerToRefList(te.value),(Fe=(ye=L==null?void 0:L.value)==null?void 0:ye.created)==null||Fe.call(ye),T()}catch(lt){$r.error("create",lt)}},Za=()=>{n&&(p.onMounted(()=>{var ye,Fe;try{pe(),fa(),xa(),(Fe=(ye=L==null?void 0:L.value)==null?void 0:ye.mounted)==null||Fe.call(ye)}catch(lt){console.log("mounted",a,lt)}}),p.onBeforeUnmount(()=>{d.unregisterFromRefList(te.value),f.unregisterFromRefList(te.value)}))},pe=()=>{const ye=a==null?void 0:a.id,Fe=se(it.css);Fe&&ye&&XDe(Fe).then(lt=>{F7(lt,ye)})};return rs(),Za(),{exposed:Qe(),fieldModel:wt,objFieldModel:ce,numFieldModel:vt,fieldEditor:zt,fieldKey:Gn,field:a,instance:w,attrs:E,extendAttrs:H,slots:_,events:L,rules:ae,fieldObj:bt,getValue:K,setValue:j,pageConfig:s,formModel:A,fieldName:te,propResultOpt:N,optionItems:re,activeOptionItems:be,activeOptionItem:Se,activeOptionItemIndex:we,refreshOptionField:Zt,filterOptionItems:ie,setOptionItems:Me,getCheckedItems:ze,getCheckedOptionItems:(ye,Fe)=>he(ye||wt.value,Fe),getCheckedOptionLabels:(ye,Fe)=>me(ye||wt.value,Fe),getCheckedOptionValues:(ye,Fe)=>Ae(ye||wt.value,Fe),getCheckedOptionText:(ye,Fe)=>Ie(ye||wt.value,Fe),refreshKey:At,watchKeyValue:Ft,watchPropAndSaveHistoryStep:Nt,existEvent:st,handleEvent:ut,handleEnter:fe,getPropName:Vt,emitFieldDataChange:Je,syncUpdateFormModel:Xn,getWidgetRef:d.getWidgetRef,clearRules:Pn,buildRules:hn,getFieldOptionModel:ki,getFieldOptions:We,hasFieldOptions:Ze,setFieldOptions:De,getWidgetOption:se,singleOption:Ke,watchOption:nt,mergeOptionToFormModel:Rt}}const jDe=p.defineComponent({componentName:vn.ContainerWidget}),yV=p.defineComponent({...jDe,__name:"cont-cell-widget",props:{...go},setup(t,{expose:e}){const n=t,i=p.computed(()=>{var c;return`el-${Ne.getValue((c=n.widget)==null?void 0:c.partName)}`}),{customClass:r,componentWrapperClass:o}=Pu({widget:{options:n.widget}}),{exposed:a}=_n(n);return e({...a}),(c,s)=>{var l,g,u;return p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(i)),{class:p.normalizeClass(["content-cell",p.unref(r)]),direction:(l=c.widget)==null?void 0:l.direction,style:p.normalizeStyle({width:p.unref(Ne).getValue((g=c.widget)==null?void 0:g.cellWidth),height:p.unref(Ne).getValue((u=c.widget)==null?void 0:u.cellHeight),zIndex:1e3})},{default:p.withCtx(()=>[p.renderSlot(c.$slots,"default",{},()=>{var I,C,h,A,d;return[((C=(I=c.widget)==null?void 0:I.children)==null?void 0:C.length)<=0?(p.openBlock(),p.createBlock(fr,{key:0,widgetList:(h=c.widget)==null?void 0:h.widgetList,designState:c.designState,designer:c.designer,dragClass:"dragSize2",parentWidget:c.widget,parentList:(A=c.widget)==null?void 0:A.widgetList,"component-class":p.unref(o)},null,8,["widgetList","designState","designer","parentWidget","parentList","component-class"])):p.createCommentVNode("",!0),(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList((d=c.widget)==null?void 0:d.children,(f,w)=>{var y;return p.openBlock(),p.createBlock(yV,{key:f.id,widget:f,designer:c.designer,"design-state":c.designState,"parent-list":(y=c.widget)==null?void 0:y.children,"parent-widget":c.widget},null,8,["widget","designer","design-state","parent-list","parent-widget"])}),128))]})]),_:3},8,["direction","class","style"])}}}),U7=Object.freeze(Object.defineProperty({__proto__:null,default:yV},Symbol.toStringTag,{value:"Module"})),UDe=["width","height","color"],PDe=["xlink:href"],QDe={key:0,slot:"title"},qDe=p.defineComponent({__name:"index",props:{prefix:{default:"icon"},dir:{default:"svg"},name:null,color:null,size:null,width:{default:"16"},height:{default:"16"},className:null,title:{default:""}},setup(t){var u,I;const e=t,n=e.size||e.width,i=e.size||e.height,r=e.size||e.width,o=e.name,a=p.computed(()=>{var C="svg-icon";return e.className?C+" "+e.className:C}),c=p.ref(),s=p.computed(()=>`#${e.prefix}-${e.dir}-${c.value}`);let l=p.shallowRef();const g=wa(o)&&((u=String(o))==null?void 0:u.startsWith("@"));return g?c.value=(I=String(o))==null?void 0:I.substring(1):p.watch(()=>e.name,C=>{if(p.isRef(e.name))l.value=C;else{const{instance:h}=ma();l=UK(C,h)}},{immediate:!0}),(C,h)=>{const A=p.resolveComponent("el-icon");return p.unref(g)?(p.openBlock(),p.createElementBlock("svg",{key:0,class:p.normalizeClass(p.unref(a)),width:p.unref(n),height:p.unref(i),color:e.color},[p.createElementVNode("use",{"xlink:href":p.unref(s)},null,8,PDe),t.title?(p.openBlock(),p.createElementBlock("title",QDe,p.toDisplayString(t.title),1)):p.createCommentVNode("",!0)],10,UDe)):(p.openBlock(),p.createBlock(A,{key:1,size:p.unref(r)},{default:p.withCtx(()=>[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(l)),{color:e==null?void 0:e.color,key:t.name},null,8,["color"]))]),_:1},8,["size"]))}}}),RLt="",Yn=Ei(qDe,[["__scopeId","data-v-ca7a7b14"]]),$De={key:0},eke={class:"clWhite"},tke={class:"clWhite"},nke=["title"],ike=["title"],rke=["title"],ake=["title"],oke=p.defineComponent({__name:"drag-handler",props:{...go,parentTree:{type:Object,default:null},hidden:{type:Boolean,default:!1},simple:{type:Boolean}},setup(t){const e=t,{setSelected:n,findWidgetById:i,removeWidget:r,moveDownWidget:o,moveUpWidget:a,cloneWidget:c}=Js(e.designer),s=l=>{const g=l==null?void 0:l.id;if(l.selectable===!1)nr.info(P.i18nt("designer.hint.currentNodeCannotBeSelected"));else{const u=i(g);n(u)}};return(l,g)=>{var A,d;const u=p.resolveComponent("el-dropdown-item"),I=p.resolveComponent("el-dropdown-menu"),C=p.resolveComponent("el-dropdown"),h=p.resolveComponent("el-divider");return p.openBlock(),p.createElementBlock(p.Fragment,null,[t.hidden===!0?(p.openBlock(),p.createElementBlock("i",$De,[p.createVNode(Yn,{name:"@el-hide"})])):p.createCommentVNode("",!0),t.simple?(p.openBlock(),p.createBlock(C,{key:1,onCommand:s},p.createSlots({default:p.withCtx(()=>[p.createElementVNode("span",eke,[p.createVNode(Yn,{name:"@el-arrow-down"})])]),_:2},[((A=t.parentTree)==null?void 0:A.length)>0?{name:"dropdown",fn:p.withCtx(()=>[p.createVNode(I,null,{default:p.withCtx(()=>[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(t.parentTree,(f,w)=>(p.openBlock(),p.createBlock(u,{command:f},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(f==null?void 0:f.label),1)]),_:2},1032,["command"]))),256)),p.createVNode(u,{divided:"",onClick:g[0]||(g[0]=p.withModifiers(f=>p.unref(c)(l.widget,l.parentList),["stop"]))},{default:p.withCtx(()=>[p.createVNode(Yn,{name:"@el-clone"}),p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.cloneWidget")),1)]),_:1}),p.createVNode(u,{onClick:g[1]||(g[1]=p.withModifiers(f=>p.unref(r)(l.widget,l.parentWidget,l.parentList),["stop"]))},{default:p.withCtx(()=>[p.createVNode(Yn,{name:"@el-delete"}),p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.remove")),1)]),_:1}),l.parentList&&l.parentList.length>1?(p.openBlock(),p.createBlock(u,{key:0,onClick:g[2]||(g[2]=p.withModifiers(f=>p.unref(a)(l.parentList,l.widget),["stop"]))},{default:p.withCtx(()=>[p.createVNode(Yn,{name:"@el-move-up"}),p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.moveUpWidget")),1)]),_:1})):p.createCommentVNode("",!0),l.parentList&&l.parentList.length>1?(p.openBlock(),p.createBlock(u,{key:1,onClick:g[3]||(g[3]=p.withModifiers(f=>p.unref(o)(l.parentList,l.widget),["stop"]))},{default:p.withCtx(()=>[p.createVNode(Yn,{name:"@el-move-down"}),p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.moveDownWidget")),1)]),_:1})):p.createCommentVNode("",!0),l.$slots.default?(p.openBlock(),p.createBlock(u,{key:2,divied:""},{default:p.withCtx(()=>[p.renderSlot(l.$slots,"default")]),_:3})):p.createCommentVNode("",!0)]),_:3})]),key:"0"}:void 0]),1024)):(p.openBlock(),p.createElementBlock(p.Fragment,{key:2},[p.createVNode(C,{onCommand:s},p.createSlots({default:p.withCtx(()=>{var f,w;return[p.createElementVNode("span",tke,[p.createTextVNode(p.toDisplayString(p.unref(P).i18n2t(`designer.widgetLabel.${(f=l.widget)==null?void 0:f.type}`,`extension.widgetLabel.${(w=l.widget)==null?void 0:w.type}`))+" ",1),p.createVNode(Yn,{name:"@el-arrow-down",class:"el-icon--right"})])]}),_:2},[((d=t.parentTree)==null?void 0:d.length)>0?{name:"dropdown",fn:p.withCtx(()=>[p.createVNode(I,null,{default:p.withCtx(()=>[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(t.parentTree,(f,w)=>(p.openBlock(),p.createBlock(u,{command:f},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(f==null?void 0:f.label),1)]),_:2},1032,["command"]))),256))]),_:1})]),key:"0"}:void 0]),1024),p.createVNode(h,{direction:"vertical","border-style":"dashed",color:"white"}),p.renderSlot(l.$slots,"default"),l.parentList&&l.parentList.length>1?(p.openBlock(),p.createElementBlock("i",{key:0,title:p.unref(P).i18nt("designer.hint.moveUpWidget"),onClick:g[4]||(g[4]=p.withModifiers(f=>p.unref(a)(l.parentList,l.widget),["stop"]))},[p.createVNode(Yn,{name:"@el-move-up"})],8,nke)):p.createCommentVNode("",!0),l.parentList&&l.parentList.length>1?(p.openBlock(),p.createElementBlock("i",{key:1,title:p.unref(P).i18nt("designer.hint.moveDownWidget"),onClick:g[5]||(g[5]=p.withModifiers(f=>p.unref(o)(l.parentList,l.widget),["stop"]))},[p.createVNode(Yn,{name:"@el-move-down"})],8,ike)):p.createCommentVNode("",!0),p.createElementVNode("i",{title:p.unref(P).i18nt("designer.hint.cloneWidget"),onClick:g[6]||(g[6]=p.withModifiers(f=>p.unref(c)(l.widget,l.parentList),["stop"]))},[p.createVNode(Yn,{name:"@el-clone"})],8,rke),p.createElementVNode("i",{title:p.unref(P).i18nt("designer.hint.remove"),onClick:g[7]||(g[7]=p.withModifiers(f=>p.unref(r)(l.widget,l.parentWidget,l.parentList),["stop"]))},[p.createVNode(Yn,{name:"@el-delete"})],8,ake)],64))],64)}}}),XLt="";function US(t){return{getAttrProp:n=>{var o,a,c,s,l,g;var i=(c=(a=(o=t==null?void 0:t.propOptions)==null?void 0:o.fieldObj)==null?void 0:a.attrs)==null?void 0:c[n],r=(g=(l=(s=t==null?void 0:t.propOptions)==null?void 0:s.fieldObj)==null?void 0:l.extendAttrs)==null?void 0:g[n];return Ca(i)?r:i}}}const sr=p.defineComponent({__name:"widget-wrapper",props:{...Mme},setup(t){var x;const e=t,{selectWidget:n}=Js(e.designer),{widgetTree:i}=BS((x=e.designer)==null?void 0:x.widgetList,!0),{pathNodes:r,parentTree:o}=DS(i.value,e.widget),{size:a,displayLayout:c,labelAlign:s,labelWidth:l,formItemFlag:g,labelSuffix:u,labelHidden:I}=HBe(e,Yt(r.value)),{getAttrProp:C}=US(e),h=p.computed(()=>C==null?void 0:C("hidden")),A=p.computed(()=>C==null?void 0:C("labelWidth")),d=N=>N&&!["div","span"].includes(N),f=p.computed(()=>{var N;return(N=e.widget)==null?void 0:N.id}),w=p.computed(()=>{var N,Z;return(N=e.widget)!=null&&N.type?[_e.grid,_e.gridCol,_e.wrapper].includes((Z=e.widget)==null?void 0:Z.type):!1}),y=p.computed(()=>{const N=C==null?void 0:C(it.width),Z=C==null?void 0:C(it.ctrlWidth),G=C==null?void 0:C(it.customClass),z=C==null?void 0:C(it.componentWrapperClass);let T={};return A.value!=Ri.auto&&A.value&&(T.labelWidth=A.value),{size:a.value,labelAlign:s.value,labelWidth:l.value,formItemFlag:g.value,formItemAttr:T,ctrlWidth:Z,displayStyle:c.value,labelSuffix:u.value||"",injectStyle:{},injectClass:[N?"":"full-width",xA(G),f.value],componentWrapperClass:xA(z)}}),m=p.computed(()=>[(C==null?void 0:C(it.width))?"":"full-width"]),b=p.computed(()=>{var N,Z,G;return!!e.designer&&((N=e.widget)==null?void 0:N.id)===((G=(Z=e.designer)==null?void 0:Z.selectedWidget)==null?void 0:G.id)}),v=p.ref(),S=p.ref(),M=p.computed(()=>{var N,Z;if(v.value&&S.value&&b.value)return((N=v.value)==null?void 0:N.offsetWidth)>((Z=S.value)==null?void 0:Z.offsetWidth)});return(N,Z)=>{var G,z,T,W,V,X;return N.designState?(p.openBlock(),p.createBlock(p.resolveDynamicComponent(N.componentName),p.mergeProps({key:0,class:["field-wrapper",[p.unref(b)?"selected":""," drag-handler",N.propOptions.class,N.showWrapperComponent?p.unref(m):""]],style:N.propOptions.style,onClick:Z[0]||(Z[0]=p.withModifiers(D=>p.unref(n)(N.widget,N.parentWidget,N.parentList),["stop"])),ref_key:"wrapperRef",ref:S,tabindex:0},d(N.componentName)?(z=(G=N.propOptions)==null?void 0:G.fieldObj)==null?void 0:z.attrs:{}),{default:p.withCtx(()=>{var D,R,F;return[p.renderSlot(N.$slots,"default",{data:p.unref(y)}),((R=(D=N.designer)==null?void 0:D.selectedWidget)==null?void 0:R.id)===((F=N.widget)==null?void 0:F.id)?(p.openBlock(),p.createElementBlock("div",{key:0,class:"action",ref_key:"dragHandlerRef",ref:v},[p.createVNode(oke,{simple:p.unref(M),"design-state":N.designState,designer:N.designer,widget:N.widget,"parent-widget":N.parentWidget,"parent-list":N.parentList,parentTree:p.unref(o),hidden:p.unref(h)},{default:p.withCtx(()=>[p.renderSlot(N.$slots,"drag")]),_:3},8,["simple","design-state","designer","widget","parent-widget","parent-list","parentTree","hidden"])],512)):p.createCommentVNode("",!0)]}),_:3},16,["class","style"])):!p.unref(h)||p.unref(w)?(p.openBlock(),p.createElementBlock(p.Fragment,{key:1},[N.showWrapperComponent?(p.openBlock(),p.createBlock(p.resolveDynamicComponent(N.componentName),p.mergeProps({key:0},d(N.componentName)?(W=(T=N.propOptions)==null?void 0:T.fieldObj)==null?void 0:W.attrs:{},p.toHandlers(d(N.componentName)?(X=(V=N.propOptions)==null?void 0:V.fieldObj)==null?void 0:X.events:{}),{class:[N.propOptions.class,p.unref(m),p.unref(h)&&p.unref(w)?"hlhidden":""],style:{...p.unref(y).injectStyle,...N.propOptions.style}}),{default:p.withCtx(()=>[p.renderSlot(N.$slots,"default",p.mergeProps({data:p.unref(y)},N.$props))]),_:3},16,["class","style"])):p.renderSlot(N.$slots,"default",p.mergeProps({key:1,data:p.unref(y)},N.$props))],64)):p.createCommentVNode("",!0)}}}),ske=p.defineComponent({componentName:vn.ContainerWidget}),lke=p.defineComponent({...ske,__name:"cont-widget",props:{...go},setup(t,{expose:e}){const n=t,{watchPropAndSaveHistoryStep:i,fieldObj:r,exposed:o}=_n(n),{customClass:a}=Pu({widget:n.widget});return i(it.cols),e({...o}),(c,s)=>(p.openBlock(),p.createBlock(sr,p.mergeProps(c.$props,{showWrapperComponent:!0,"prop-options":{fieldObj:p.unref(r),class:[p.unref(a)]}}),{default:p.withCtx(()=>{var l;return[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList((l=c.widget)==null?void 0:l.cols,(g,u)=>{var I;return p.openBlock(),p.createBlock(yV,{key:g.id,widget:g,designer:c.designer,"design-state":c.designState,"parent-list":(I=c.widget)==null?void 0:I.cols,"parent-widget":c.widget},null,8,["widget","designer","design-state","parent-list","parent-widget"])}),128))]}),_:1},16,["prop-options"]))}}),YLt="",P7=Object.freeze(Object.defineProperty({__proto__:null,default:lke},Symbol.toStringTag,{value:"Module"}));function gke(t){const e=t.widget,n=t.designer,i=n==null?void 0:n.pageConfig,r=t==null?void 0:t.widgetList,o=p.ref({}),a={},{fieldModel:c,fieldName:s,fieldEditor:l,attrs:g,events:u,hasFieldOptions:I,exposed:C,fieldObj:h,watchOption:A,propResultOpt:d,extendAttrs:f}=_n(t),{off$:w,on$:y,emit$:m,broadcast:b}=wf();var{instance:v}=ma();const{setAllRefList:S}=xd(o.value),M={designState:t==null?void 0:t.designState,pageConfig:i,globalConfig:d==null?void 0:d.globalConfig},{formModel:x,setData:N,getData:Z,clearData:G}=fV(r,{...M}),{handleFunc:z}=dV({options:i},M),T=p.reactive({}),W=()=>{w(An.fieldChange),y(An.fieldChange,Ae=>{L(Ae==null?void 0:Ae.fieldName,Ae==null?void 0:Ae.newValue,Ae==null?void 0:Ae.oldValue),C==null||C.setValue(x),E(Ae==null?void 0:Ae.fieldName,Ae==null?void 0:Ae.newValue,Ae==null?void 0:Ae.oldValue)})},V=()=>{w(An.fieldValidation),y(An.fieldValidation,Ae=>{var me;(me=l.value)==null||me.validateField(Ae==null?void 0:Ae.propName)})},X=()=>{w(An.fieldRuleChange),y(An.fieldRuleChange,Ae=>{var he;var me=(he=Ae==null?void 0:Ae.rules)==null?void 0:he.map(be=>({required:be.required,message:be.message,trigger:be.trigger,validator:be.validator}));Object.assign(T,{[Ae==null?void 0:Ae.fieldName]:me}),g.value.rules=T})},D=p.ref(!1),R=p.reactive({}),F=p.reactive({}),Y=Ae=>{rM(F),Rn(F,Ae)},k=()=>({change_info:fn(R),before_info:fn(F),flag:D.value}),E=(Ae,me,he)=>{D.value=!0,Ae&&Rn(R,{[Ae]:{oldValue:he,newValue:me}})},H=()=>{D.value=!1,rM(R),Y(Z())},L=(Ae,me,he)=>{z(u.value.formDataChange,{field:{fieldName:Ae,newValue:me,oldValue:he},formModel:x})},_=()=>{z(u.value.formCreated)},ae=()=>{z(u.value.formMounted)},te=()=>{X(),W(),V(),_()},ge=Ae=>{var me;(me=l.value)==null||me.clearValidate(Ae)},ee=()=>{S(ea.resetField),p.nextTick(()=>{ge()})},ue=(Ae,me)=>{let he=[];for(let we in Ae){var be=Ae[we],Se=be==null?void 0:be.filter(Me=>(Me==null?void 0:Me.force)===me);Se==null||Se.forEach(Me=>{var Q;const ne=(Q=Me==null?void 0:Me.rule)==null?void 0:Q.label;Me.message&&he.push(jz(ne?"【"+ne+"】":"",Me.message,":"))})}return xL(he)},U=(Ae,me)=>{var he={};return Z0(me,be=>{var Se=xt.getName(be),we=Fa(Ae,Se);return we&&(he[Se]=Ae[Se]),we},!1),he},re=(Ae=!0)=>{var Se,we,Me;let me=Z(),he=function(){},be=new Promise(function(ne,Q){he=function(se,de){(de?Q:ne)({data:se,isSuccess:!de,message:de})}});return!((Se=l.value)!=null&&Se.validate)||!Ae?(he(me),be):((Me=(we=l.value)==null?void 0:we.validate)==null||Me.call(we,(ne,Q)=>{if(ne)he(me);else{var se=ue(Q,!0);if(se&&se.length>0){he(me,se);return}var de=ue(Q,!1);if(de&&de.length>0){de.push(P.i18nt("designer.hint.continue")),LM.multiple(de).then(Ze=>{he(me)});return}}}),be)},ie=(Ae,me=!0)=>{if(!e)return;var he=U(Ae,[e]);N(he,me);const be=["refList","widgetRefList"];b(vn.ContainerWidget,gl.setFormData,Ae,v,be),b(vn.FieldWidget,gl.setFormData,Ae,v,be)},Ie=Ae=>new Promise((me,he)=>{const be=(Q,se)=>{var Ze,We,De;let de=(Ze=f.value)!=null&&Ze.formDataLoaded?(De=(We=f.value)==null?void 0:We.formDataLoaded)==null?void 0:De.call(We,Z(),Q):Q;co(de)?ie(de,!se):de={},Y(de),me(de)},Se=()=>{A(Ae,it.newDataSource,void 0,(Q,se)=>{be(Q,!0)})},we=()=>{A(Ae,it.editDataSource,void 0,(Q,se)=>{var Ze,We;if(((We=(Ze=f.value)==null?void 0:Ze.needFormAdd)==null?void 0:We.call(Ze,Q))&&ne){Se();return}be(Q,!1)})},Me=I(it.editDataSource),ne=I(it.newDataSource);Me?we():ne&&Se()});return te(),p.onMounted(()=>{VL(),ae()}),{widgetRefList:o,allWidgetRefList:a,fieldEditor:l,formModel:x,pageConfig:i,widgetList:r,fieldModel:c,fieldName:s,attrs:g,extendAttrs:f,events:u,rules:T,loadData:Ie,clearData:G,exposed:{...C,setValue:ie,getValue:re,resetField:ee,clearData:G,loadData:Ie,getData:Z,clearChangeRecord:H,getChangeRecord:k,emit$:m},fieldObj:h}}const cke=p.defineComponent({componentName:vn.ContainerWidget}),uke=p.defineComponent({...cke,__name:"form-widget",props:{...go},setup(t,{expose:e}){var h;const n=t,{exposed:i,formModel:r,fieldEditor:o,attrs:a,events:c,widgetRefList:s,extendAttrs:l,fieldName:g,fieldObj:u,loadData:I}=gke({...n,widgetList:(h=n==null?void 0:n.widget)==null?void 0:h.widgetList}),C=g.value;return uu.globalProvide({globalFormName:C,globalDataModel:r}),p.onMounted(()=>{var A;(A=l.value)!=null&&A.loadDataWhenInit&&!n.designState&&I(!0).then(d=>{}).catch(d=>{}).finally(()=>{i.clearChangeRecord()})}),e({...i}),(A,d)=>{const f=p.resolveComponent("el-form"),w=p.resolveDirective("loading");return p.openBlock(),p.createBlock(sr,p.mergeProps(A.$props,{"prop-options":{fieldObj:p.unref(u)}}),{default:p.withCtx(({data:y})=>{var m,b;return[p.withDirectives((p.openBlock(),p.createBlock(f,p.mergeProps({ref_key:"fieldEditor",ref:o,model:p.unref(r)},p.unref(a),p.toHandlers(p.unref(c)),{class:y.injectClass,key:(m=p.unref(u))==null?void 0:m.fieldKey,"element-loading-text":p.unref(l).loadingText,onSubmit:d[0]||(d[0]=p.withModifiers(()=>{},["prevent"]))}),{default:p.withCtx(()=>[p.createVNode(fr,p.mergeProps(A.$props,{dragClass:"formDrag",model:p.unref(r),provideModel:!0,"component-class":y.componentWrapperClass,refList:p.unref(s)}),null,16,["model","component-class","refList"])]),_:2},1040,["model","class","element-loading-text"])),[[w,(b=p.unref(l))==null?void 0:b.showLoading]])]}),_:1},16,["prop-options"])}}}),ELt="",Q7=Object.freeze(Object.defineProperty({__proto__:null,default:Ei(uke,[["__scopeId","data-v-d2770e0b"]])},Symbol.toStringTag,{value:"Module"})),Ike=p.defineComponent({componentName:vn.ContainerWidget}),q7=p.defineComponent({...Ike,__name:"grid-col-widget",props:{...go},setup(t,{expose:e}){const n=t,{attrs:i,fieldObj:r,extendAttrs:o,exposed:a}=_n(n),c=p.computed(()=>n.propOptions.colHeight?{height:n.propOptions.colHeight}:{}),{customClass:s,componentWrapperClass:l}=Pu({widget:n.widget}),g=p.computed(()=>(Object.keys(i.value).forEach(u=>{var h,A;var I=["xs","sm","md","lg","xl"],C=["span"];!((h=i.value)!=null&&h.responsive)&&I.includes(u)&&delete i.value[u],(A=i.value)!=null&&A.responsive&&C.includes(u)&&delete i.value[u]}),p.reactive(i.value)));return e({...a}),(u,I)=>{var C,h,A;return p.openBlock(),p.createBlock(sr,p.mergeProps(u.$props,{showWrapperComponent:!0,"component-name":"el-col",key:(C=u.widget)==null?void 0:C.id,"prop-options":{fieldObj:{...p.unref(r),attrs:p.unref(g)},class:["content-cell","nopadding","nomargin",(h=p.unref(o))==null?void 0:h.horizontalAlign,(A=p.unref(o))==null?void 0:A.verticalAlign,p.unref(s)],style:p.unref(c)}}),{default:p.withCtx(()=>[p.createVNode(fr,p.mergeProps(u.$props,{dragClass:"dragSize1","component-class":p.unref(l)}),null,16,["component-class"])]),_:1},16,["prop-options"])}}}),$7=Object.freeze(Object.defineProperty({__proto__:null,default:q7},Symbol.toStringTag,{value:"Module"})),Cke=p.defineComponent({componentName:vn.ContainerWidget}),dke=p.defineComponent({...Cke,__name:"grid-widget",props:{...go},setup(t,{expose:e}){const n=t,{extendAttrs:i,watchPropAndSaveHistoryStep:r,fieldObj:o,exposed:a}=_n(n),{customClass:c}=Pu({widget:n.widget});return r(it.cols),e({...a}),(s,l)=>{var g;return p.openBlock(),p.createBlock(sr,p.mergeProps(s.$props,{"component-name":"el-row",key:(g=s.widget)==null?void 0:g.id,showWrapperComponent:!0,"prop-options":{fieldObj:p.unref(o),class:["nopadding","nomargin",p.unref(c)]}}),{default:p.withCtx(()=>[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(s.widget.cols,(u,I)=>(p.openBlock(),p.createBlock(q7,{key:u.id,widget:u,designer:s.designer,"design-state":s.designState,"parent-list":s.widget.cols,"parent-widget":s.widget,"prop-options":{colHeight:p.unref(i).colHeight}},null,8,["widget","designer","design-state","parent-list","parent-widget","prop-options"]))),128))]),_:1},16,["prop-options"])}}}),eP=Object.freeze(Object.defineProperty({__proto__:null,default:dke},Symbol.toStringTag,{value:"Module"})),hke=["title"],pke=p.defineComponent({componentName:vn.ContainerWidget}),tP=p.defineComponent({...pke,__name:"ltable-col-widget",props:{...go},setup(t,{expose:e}){const n=t,{insertTableRow:i,insertTableCol:r,mergeTableWholeRow:o,mergeTableRow:a,mergeTableCol:c,mergeTableWholeCol:s,undoMergeTableCol:l,undoMergeTableRow:g,deleteTableWholeCol:u,deleteTableWholeRow:I,copyTableWholeRow:C,copyTableWholeCol:h}=QU(),{emitHistoryChangeAfter:A}=Js(n.designer),{attrs:d,fieldObj:f,exposed:w}=_n(n),y=p.computed(()=>d.value.rowspan),m=p.computed(()=>d.value.colspan),b=p.computed(()=>d.value.cellWidth),v=p.computed(()=>d.value.cellHeight),S=p.computed(()=>{var Se,we;return((we=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:we.colIndex)||0}),M=p.computed(()=>{var Se,we;return((we=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:we.colArray)||[]}),x=p.computed(()=>{var Se,we;return((we=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:we.rowIndex)||0}),N=p.computed(()=>{var Se,we;return((we=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:we.rowArray)||[]}),Z=p.computed(()=>{var Se,we;return((we=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:we.colLength)||0}),G=p.computed(()=>{var Se,we;return((we=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:we.rowLength)||0}),{componentWrapperClass:z}=Pu({widget:n.widget}),T=p.computed(()=>S.value<=0||xt.getOptions(M.value[S.value-1],"rowspan")!=y.value),W=p.computed(()=>{let Se=S.value+(m.value||0);return S.value>=Z.value-1||Se>Z.value-1||xt.getOptions(M.value[Se],"rowspan")!==y.value}),V=p.computed(()=>Z.value<=1||Z.value===m.value),X=p.computed(()=>x.value<=0||xt.getOptions(N.value[x.value-1].cols[S.value],"colspan")!==m.value),D=p.computed(()=>{let Se=x.value+(y.value||0);return x.value>=G.value-1||Se>G.value-1||xt.getOptions(N.value[Se].cols[S.value],"colspan")!==m.value}),R=p.computed(()=>G.value<=1||G.value===y.value),F=p.computed(()=>{var Se;return((Se=Yt(n.widget))==null?void 0:Se.merged)||(y.value||1)<=1}),Y=p.computed(()=>{var Se;return((Se=Yt(n.widget))==null?void 0:Se.merged)||(y.value||1)<=1}),k=p.computed(()=>Z.value===1||m.value===Z.value),E=p.computed(()=>G.value===1||y.value===G.value),H=()=>{var Se;A(r(Yt(n.parentWidget),S.value,x.value,!0),`insertLeftCol ${(Se=n.widget)==null?void 0:Se.id}`)},L=()=>{var Se;A(r(Yt(n.parentWidget),S.value,x.value,!1),`insertRightCol ${(Se=n.widget)==null?void 0:Se.id}`)},_=()=>{var Se;A(i(Yt(n.parentWidget),x.value,x.value,S.value,!0),`insertAboveRow ${(Se=n.widget)==null?void 0:Se.id}`)},ae=()=>{var Se;A(i(Yt(n.parentWidget),x.value,x.value,S.value,!1),`insertBelowRow ${(Se=n.widget)==null?void 0:Se.id}`)},te=()=>{var Se;A(c(N.value,M.value,x.value,S.value,!0,n.widget),`mergeLeftCol ${(Se=n.widget)==null?void 0:Se.id}`)},ge=()=>{var Se;A(c(N.value,M.value,x.value,S.value,!1,n.widget),`mergeRightCol ${(Se=n.widget)==null?void 0:Se.id}`)},ee=()=>{var Se;A(o(N.value,M.value,x.value,S.value),`mergeWholeRow ${(Se=n.widget)==null?void 0:Se.id}`)},ue=()=>{var Se;A(a(N.value,x.value,S.value,!0,n.widget),`mergeAboveRow ${(Se=n.widget)==null?void 0:Se.id}`)},U=()=>{var Se;A(a(N.value,x.value,S.value,!1,n.widget),`mergeBelowRow ${(Se=n.widget)==null?void 0:Se.id}`)},re=()=>{var Se;A(s(N.value,M.value,x.value,S.value),`mergeWholeCol ${(Se=n.widget)==null?void 0:Se.id}`)},ie=()=>{var Se;A(l(N.value,x.value,S.value,m.value,y.value),`undoMergeCol ${(Se=n.widget)==null?void 0:Se.id}`)},Ie=()=>{var Se;A(g(N.value,x.value,S.value,m.value,y.value),`undoMergeRow ${(Se=n.widget)==null?void 0:Se.id}`)},Ae=()=>{var Se;A(u(N.value,S.value),`deleteWholeCol ${(Se=n.widget)==null?void 0:Se.id}`)},me=()=>{var Se;A(I(N.value,x.value),`deleteWholeRow ${(Se=n.widget)==null?void 0:Se.id}`)},he=()=>{var Se;A(h(N.value,S.value),`copyWholeCol ${(Se=n.widget)==null?void 0:Se.id}`)},be=()=>{var Se;A(C(N.value,x.value),`copyWholeRow ${(Se=n.widget)==null?void 0:Se.id}`)};return e({...w}),(Se,we)=>{const Me=p.resolveComponent("el-dropdown-item"),ne=p.resolveComponent("el-dropdown-menu"),Q=p.resolveComponent("el-dropdown");return p.openBlock(),p.createBlock(sr,p.mergeProps(Se.$props,{"show-wrapper-component":!0,"component-name":"td","prop-options":{class:"table-cell",style:{width:p.unref(b)+"!important"||"",height:p.unref(v)+"!important"||""},fieldObj:{...p.unref(f),colspan:p.unref(m).value||1,rowspan:p.unref(y).value||1}}}),{drag:p.withCtx(()=>[p.createVNode(Q,{trigger:"click",size:"small"},{dropdown:p.withCtx(()=>[p.createVNode(ne,null,{default:p.withCtx(()=>[p.createVNode(Me,{onClick:we[0]||(we[0]=se=>H())},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.insertColumnToLeft")),1)]),_:1}),p.createVNode(Me,{onClick:we[1]||(we[1]=se=>L())},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.insertColumnToRight")),1)]),_:1}),p.createVNode(Me,{onClick:we[2]||(we[2]=se=>_())},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.insertRowAbove")),1)]),_:1}),p.createVNode(Me,{onClick:we[3]||(we[3]=se=>ae())},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.insertRowBelow")),1)]),_:1}),p.createVNode(Me,{onClick:we[4]||(we[4]=se=>te()),disabled:p.unref(T),divided:""},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.mergeLeftColumn")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[5]||(we[5]=se=>ge()),disabled:p.unref(W)},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.mergeRightColumn")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[6]||(we[6]=se=>ee()),disabled:p.unref(V)},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.mergeEntireRow")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[7]||(we[7]=se=>ue()),disabled:p.unref(X),divided:""},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.mergeRowAbove")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[8]||(we[8]=se=>U()),disabled:p.unref(D)},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.mergeRowBelow")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[9]||(we[9]=se=>re()),disabled:p.unref(R)},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.mergeEntireColumn")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[10]||(we[10]=se=>Ie()),disabled:p.unref(Y),divided:""},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.undoMergeRow")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[11]||(we[11]=se=>ie()),disabled:p.unref(F)},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.undoMergeCol")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[12]||(we[12]=se=>Ae()),disabled:p.unref(k),divided:""},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.deleteEntireCol")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[13]||(we[13]=se=>me()),disabled:p.unref(E)},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.deleteEntireRow")),1)]),_:1},8,["disabled"]),p.createVNode(Me,{onClick:we[14]||(we[14]=se=>he()),divided:""},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.copyEntireCol")),1)]),_:1}),p.createVNode(Me,{onClick:we[15]||(we[15]=se=>be())},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.setting.copyEntireRow")),1)]),_:1})]),_:1})]),default:p.withCtx(()=>[p.createElementVNode("i",{title:p.unref(P).i18nt("designer.hint.cellSetting")},[p.createVNode(Yn,{name:"@el-menu"})],8,hke)]),_:1})]),default:p.withCtx(()=>[p.createVNode(fr,p.mergeProps(Se.$props,{"component-class":p.unref(z)}),null,16,["component-class"])]),_:1},16,["prop-options"])}}}),nP=Object.freeze(Object.defineProperty({__proto__:null,default:tP},Symbol.toStringTag,{value:"Module"})),Ake=["element-loading-text"],fke=p.defineComponent({componentName:vn.ContainerWidget}),wke=p.defineComponent({...fke,__name:"ltable-widget",props:{...go},setup(t,{expose:e}){const n=t,{extendAttrs:i,fieldObj:r,exposed:o}=_n(n),{customClass:a}=Pu({widget:n.widget});return e({...o}),(c,s)=>{const l=p.resolveDirective("loading");return p.openBlock(),p.createBlock(sr,p.mergeProps(c.$props,{"prop-options":{fieldObj:p.unref(r)}}),{default:p.withCtx(()=>{var g,u,I;return[(p.openBlock(),p.createElementBlock("div",{key:(g=c.widget)==null?void 0:g.id,class:p.normalizeClass(["table-container",p.unref(a)])},[p.withDirectives((p.openBlock(),p.createElementBlock("table",{class:"table-layout","element-loading-text":p.unref(i).loadingText},[p.createElementVNode("tbody",null,[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList((u=c.widget)==null?void 0:u.rows,(C,h)=>(p.openBlock(),p.createElementBlock("tr",{key:C.id},[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(C.cols,(A,d)=>{var f,w;return p.openBlock(),p.createElementBlock(p.Fragment,null,[A.merged?p.createCommentVNode("",!0):(p.openBlock(),p.createBlock(tP,{widget:A,designer:c.designer,"design-state":c.designState,key:A.id,"parent-list":C.cols,"parent-widget":c.widget,"prop-options":{colAttrs:{rowIndex:h,rowLength:(f=c.widget)==null?void 0:f.rows.length,rowArray:(w=c.widget)==null?void 0:w.rows,colIndex:d,colLength:C.cols.length,colArray:C.cols}}},null,8,["widget","designer","design-state","parent-list","parent-widget","prop-options"]))],64)}),256))]))),128))])],8,Ake)),[[l,(I=p.unref(i))==null?void 0:I.showLoading]])],2))]}),_:1},16,["prop-options"])}}}),FLt="",iP=Object.freeze(Object.defineProperty({__proto__:null,default:Ei(wke,[["__scopeId","data-v-b4d3bf11"]])},Symbol.toStringTag,{value:"Module"})),mke=p.defineComponent({componentName:vn.ContainerWidget}),rP=p.defineComponent({...mke,__name:"tab-pane-widget",props:{...go},setup(t,{expose:e}){const n=t,{exposed:i,fieldObj:r}=_n(n),{componentWrapperClass:o,customClass:a}=Pu({widget:n.widget});return e({...i}),(c,s)=>{var l;return p.openBlock(),p.createBlock(sr,p.mergeProps(c.$props,{"show-wrapper-component":!0,"component-name":"el-tab-pane",key:(l=c.widget)==null?void 0:l.id,"prop-options":{fieldObj:p.unref(r),class:["content-cell",p.unref(a)]}}),{default:p.withCtx(()=>[p.createVNode(fr,p.mergeProps(c.$props,{dragClass:"dragSize","component-class":p.unref(o)}),null,16,["component-class"])]),_:1},16,["prop-options"])}}}),aP=Object.freeze(Object.defineProperty({__proto__:null,default:rP},Symbol.toStringTag,{value:"Module"})),yke=p.defineComponent({componentName:vn.ContainerWidget}),bke=p.defineComponent({...yke,__name:"tabs-widget",props:{...go},setup(t,{expose:e}){const n=t,{fieldKey:i,fieldObj:r,attrs:o,extendAttrs:a,events:c,exposed:s,watchPropAndSaveHistoryStep:l}=_n(n),{addTabPaneOfTabs:g,initTabPane:u,getActiveTab:I,deleteTabPaneOfTabs:C,findTabPaneOfTabs:h}=VS(),A=p.computed(()=>{const S=I(Yt(n.widget));if(S)return xt.getName(S)}),d=p.ref(),f=p.computed({get:()=>d.value||A.value,set:S=>{d.value=S}}),w=()=>f.value,y=S=>{f.value=S},m=S=>{var M=h(Yt(n.widget),S);Ca(M)||C(Yt(n.widget),M)},b=S=>{g(Yt(n.widget),u(S))},v=()=>{f.value=Yt(A.value),s.refreshKey()};return l(it.tabs),e({...s,tabAdd:b,tabRemove:m,getValue:w,setValue:y,refresh:v}),(S,M)=>{const x=p.resolveComponent("el-tabs"),N=p.resolveDirective("loading");return p.openBlock(),p.createBlock(sr,p.mergeProps(S.$props,{"prop-options":{fieldObj:p.unref(r)}}),{default:p.withCtx(({data:Z})=>{var G;return[p.withDirectives((p.openBlock(),p.createBlock(x,p.mergeProps({key:p.unref(i)},p.unref(o),p.toHandlers(p.unref(c)),{modelValue:p.unref(f),"onUpdate:modelValue":M[0]||(M[0]=z=>p.isRef(f)?f.value=z:null),class:Z.injectClass,style:{...Z.injectStyle,width:Z.ctrlWidth},"element-loading-text":p.unref(a).loadingText}),{default:p.withCtx(()=>{var z;return[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList((z=S.widget)==null?void 0:z.tabs,(T,W)=>{var V;return p.openBlock(),p.createBlock(rP,{key:p.unref(xt).getName(T),widget:T,designer:S.designer,"design-state":S.designState,"parent-list":(V=S.widget)==null?void 0:V.tabs,"parent-widget":S.widget},null,8,["widget","designer","design-state","parent-list","parent-widget"])}),128))]}),_:2},1040,["modelValue","class","style","element-loading-text"])),[[N,(G=p.unref(a))==null?void 0:G.showLoading]])]}),_:1},16,["prop-options"])}}}),oP=Object.freeze(Object.defineProperty({__proto__:null,default:bke},Symbol.toStringTag,{value:"Module"}));function Nke(t){const e=p.ref({}),{componentWrapperClass:n,customClass:i}=Pu({widget:t.widget}),{exposed:r,attrs:o,extendAttrs:a,fieldKey:c,fieldObj:s}=_n(t),{setAllRefList:l}=xd(e.value),g=(h=!1)=>{l(ea.setDisabled,{flag:h})},u=(h=!1)=>{var A;(A=r==null?void 0:r.setHidden)==null||A.call(r,h)},I=()=>{l(ea.resetField)};return(h=>{p.watch(()=>{var A;return(A=o.value)==null?void 0:A[h]},A=>{A!=null&&h==="disabled"&&g(A)},{immediate:!0})})("disabled"),{extendAttrs:a,attrs:o,exposed:{...r,setDisabled:g,setHidden:u,resetField:I},componentWrapperClass:n,customClass:i,fieldKey:c,fieldObj:s,widgetRefList:e}}const vke=["element-loading-text"],Mke=p.defineComponent({componentName:vn.ContainerWidget}),Ske=p.defineComponent({...Mke,__name:"wrapper-widget",props:{...go},setup(t,{expose:e}){const n=t,{attrs:i,extendAttrs:r,exposed:o,customClass:a,componentWrapperClass:c,fieldObj:s,fieldKey:l,widgetRefList:g}=Nke(n);return e({...o}),(u,I)=>{const C=p.resolveDirective("loading");return p.openBlock(),p.createBlock(sr,p.mergeProps(u.$props,{"prop-options":{fieldObj:p.unref(s)},"component-name":"div","show-wrapper-component":!0}),{default:p.withCtx(({data:h})=>{var A,d,f;return[u.designState||!((A=p.unref(i))!=null&&A.hidden)||!((d=p.unref(i))!=null&&d.lazy)?p.withDirectives((p.openBlock(),p.createElementBlock("div",{ref:"fieldEditor",class:p.normalizeClass(h.injectClass),key:p.unref(l),"element-loading-text":p.unref(r).loadingText},[p.createVNode(fr,p.mergeProps(u.$props,{dragClass:"dragSize","component-class":h.componentWrapperClass,refList:p.unref(g)}),null,16,["component-class","refList"])],10,vke)),[[C,(f=p.unref(r))==null?void 0:f.showLoading]]):p.createCommentVNode("",!0)]}),_:1},16,["prop-options"])}}}),sP=Object.freeze(Object.defineProperty({__proto__:null,default:Ske},Symbol.toStringTag,{value:"Module"}));function lP(t){let e=new Map;for(const n in t){let i=t==null?void 0:t[n],r=i==null?void 0:i.default,o=(r==null?void 0:r.name)||(r==null?void 0:r.__name);e[o]=r}return e}function gP(){return lP(Object.assign({"../cont-cell-widget.vue":U7,"../cont-widget.vue":P7,"../form-widget.vue":Q7,"../grid-col-widget.vue":$7,"../grid-widget.vue":eP,"../ltable-col-widget.vue":nP,"../ltable-widget.vue":iP,"../tab-pane-widget.vue":aP,"../tabs-widget.vue":oP,"../wrapper-widget.vue":sP}))}const xke={install:(t,e)=>{const n=gP();for(const i in Object.keys(n))t.component(i,n[i])}},Zke={install:(t,e)=>{const n=gP();for(const i in Object.keys(n))t.component(i,n[i])}},Gke={style:{width:"99%",height:"99%",margin:"0 auto"}},Oke=["src","id"],zke=["id"],Tke={class:"dialog-footer"},Wke=p.defineComponent({__name:"index",props:{...hNe},emits:["ok","cancel","close"],setup(t,{emit:e}){const n=t,i=p.ref(!0),r=p.ref(),o=p.ref(!0),a=()=>{o.value=!1},c=()=>{if(Hr(n.htmlContent))return;const s=r.value;if(s){const l=s.contentWindow.document;l.open(),l.write(n.htmlContent),l.close()}};return p.onMounted(()=>{p.nextTick(()=>{c()})}),(s,l)=>{const g=p.resolveComponent("el-button"),u=p.resolveComponent("el-dialog"),I=p.resolveDirective("loading");return p.openBlock(),p.createBlock(u,{modelValue:i.value,"onUpdate:modelValue":l[3]||(l[3]=C=>i.value=C),class:"--hl-dialog1",fullscreen:s.fullscreen,title:s.title,width:s.width,"close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!0,top:"15vh",style:p.normalizeStyle({height:s.height})},{footer:p.withCtx(()=>{var C,h,A;return[p.createElementVNode("span",Tke,[(C=s.dialogType)!=null&&C.includes(p.unref(pM).close)?(p.openBlock(),p.createBlock(g,{key:0,onClick:l[0]||(l[0]=d=>{e("close",{})}),size:"large"},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.close")),1)]),_:1})):p.createCommentVNode("",!0),(h=s.dialogType)!=null&&h.includes(p.unref(pM).cancel)?(p.openBlock(),p.createBlock(g,{key:1,onClick:l[1]||(l[1]=d=>{e("cancel",{iframeRef:r.value})}),size:"large"},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.close")),1)]),_:1})):p.createCommentVNode("",!0),(A=s.dialogType)!=null&&A.includes(p.unref(pM).save)?(p.openBlock(),p.createBlock(g,{key:2,type:"primary",onClick:l[2]||(l[2]=d=>{e("ok",{iframeRef:r.value})}),size:"large"},{default:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.confirm")),1)]),_:1})):p.createCommentVNode("",!0)])]}),default:p.withCtx(()=>[p.withDirectives((p.openBlock(),p.createElementBlock("div",Gke,[s.url?(p.openBlock(),p.createElementBlock("iframe",{key:0,frameborder:"0",ref_key:"iframeRef",ref:r,style:{width:"100%",height:"100%"},src:s.url,onLoad:a,id:p.unref(EA)()},null,40,Oke)):s.htmlContent?(p.openBlock(),p.createElementBlock("iframe",{key:1,frameborder:"0",ref_key:"iframeRef",ref:r,style:{width:"100%",height:"100%"},id:p.unref(EA)(),onLoad:a},null,40,zke)):p.createCommentVNode("",!0)])),[[I,o.value]])]),_:1},8,["modelValue","fullscreen","title","width","style"])}}}),_Lt="",cP=Object.freeze(Object.defineProperty({__proto__:null,default:Wke},Symbol.toStringTag,{value:"Module"}));function Vke(){return lP(Object.assign({"./index.vue":cP}))}const Bke={install:(t,e)=>{const n=Vke();t.use(INe);for(const i in Object.keys(n))t.component(i,n[i])}};function Dke(t,e,n,i){const r={r:255,g:255,b:255};return{r:Math.round(t*(1-i)+r.r*i),g:Math.round(e*(1-i)+r.g*i),b:Math.round(n*(1-i)+r.b*i)}}function kke(t,e,n,i=!1,r=5){const o=[];for(let a=0;a<r;a++){const c=Dke(t,e,n,a*.1);o.push(c)}return o}function Rke(t,e=!1,n=5){const i=Yke(t),r=kke(i.r,i.g,i.b,e,n);return r==null?void 0:r.map(o=>Xke(o.r,o.g,o.b))}function Xke(t,e,n){const i=r=>{const o=r.toString(16);return o.length===1?"0"+o:o};return`#${i(t)}${i(e)}${i(n)}`}function Yke(t){t=t.replace(/^#/,""),t.length===3&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]);const e=parseInt(t,16);return{r:e>>16&255,g:e>>8&255,b:e&255}}function uP(t,e){return{cssWithPrimaryColor:p.computed(()=>{var o,a;const i=(e==null?void 0:e.themeColor)||Az.color1;var r={themeColor:i};return(o=Rke(i,!1,10))==null||o.forEach((c,s)=>{r["themeColor-"+s]=c}),!ai(t)&&wa(t)&&((a=zi(r))==null||a.forEach(c=>{var s=`var\\(--${c}\\)`;t=tu(t,s,r[c])})),t})}}function Eke(t){var{addWindowName:e,addWindowHook:n}=FM();e(),n("openModalAsync",i=>{fK(t==null?void 0:t.instance,i)}),n("ElMessage",Si.ElMessage),n("ElMessageBox",Si.ElMessageBox),n("ElNotification",Si.ElNotification)}function Hke(t){const e=t.designer,n=e==null?void 0:e.pageConfig,i=p.ref(e==null?void 0:e.widgetList),r=t==null?void 0:t.designState,o=t==null?void 0:t.pageData,a=t==null?void 0:t.renderConfig,c={},s={},{off$:l,on$:g,emit$:u}=wf();var{instance:I,proxy:C}=ma();const h={instance:I,designState:r,formData:o,pageConfig:n,globalConfig:a},{handleFunc:A}=dV({options:n},h),{callWidgetsExposed:d}=xd(s),{formModel:f,setData:w,getData:y,clearData:m}=fV(i.value,h),b=new mf(c),v=new mf(s),{findRefByName:S}=xd(s),{getOneSchemaData:M,getSchemaDataObject:x,getSchemaDatas:N}=S0(h);let G=(()=>"vfRender"+sa())();const z=()=>{A(n==null?void 0:n.pageCreated)},T=()=>{A(n==null?void 0:n.pageMounted)},W=p.computed(()=>r?"":G),V=()=>{if(!n)return;const{insertCustomCssToHead:ue,insertGlobalFunctionsToHtml:U}=_S(),re=Ne.getValue(n.cssCode,!1,!0);if(re){const{cssWithPrimaryColor:Ie}=uP(re,{themeColor:(a==null?void 0:a.themeColor)||""});ue(Ie.value,W.value)}const ie=Ne.getValue(n.functions,!1,!0);ie&&U(ie)},X=()=>{const{removeCustomCssToHead:ue,removeGlobalFunctionsToHtml:U}=_S();ue(W.value),U(W.value)},D=(ue=!0)=>{ue&&V(),F(),z(),ge(),ee()},R=ls.page,F=()=>{b.setWidgetRef(R,I),v.setWidgetRef(R,I)},Y=ue=>d(ue,ea.getValue),k=(ue,U)=>d(ue,ea.setValue,U),E=(ue,U=!0)=>{d(ue,ea.setDisabled,{flag:U})},H=ue=>{E(ue,!1)},L=(ue,U=!0)=>{d(ue,ea.setHidden,{flag:U})},_=ue=>{L(ue,!1)},ae=ue=>{if(ue){var U=xr(ue);if(U){if(!U.pageConfig||!U.widgetList)return"Invalid pageat of page json.";Rn(t.pageConfig,U),V(),p.nextTick(()=>{D(!1),T()})}else return"Set page json failed."}},te=(ue,U,re)=>{C==null||C.$emit(gl.formChange,ue,U,re,f)},ge=()=>{l(An.fieldChange),g(An.fieldChange,ue=>{te(ue==null?void 0:ue.fieldName,ue==null?void 0:ue.newValue,ue==null?void 0:ue.oldValue)})},ee=()=>{l(An.fieldValidation),g(An.fieldValidation,ue=>{})};return D(),p.onMounted(()=>{m(),VL(),T(),Eke({instance:I})}),p.onUnmounted(()=>{m(),X()}),{formModel:f,pageConfig:n,widgetList:i,widgetRefList:c,allWidgetRefList:s,exposed:{findRefByName:S,setPageJson:ae,hideWidgets:L,showWidgets:_,disableWidgets:E,enableWidgets:H,getFieldValue:Y,setFieldValue:k,setData:w,getData:y,clearData:m,getOneSchemaData:M,getSchemaDataObject:x,getSchemaDatas:N,emit$:u}}}function IP(){const t={},e=(r,o,a)=>{t[r]={opt:o,doEvent:a}},n=(r,o)=>{var c,s;const a=t==null?void 0:t[r==null?void 0:r.toLocaleLowerCase()];if(((c=a==null?void 0:a.opt)==null?void 0:c.ctrlKey)===(o==null?void 0:o.ctrlKey))return(s=a==null?void 0:a.doEvent)==null?void 0:s.call(a)};return{bindKey:e,runEvent:r=>{const o=r.ctrlKey||r.metaKey,a=r.key;n(a,{ctrlKey:o})}}}function Fke(t){const{bindKey:e,runEvent:n}=IP(),{undoHistoryStep:i,cloneSelectedWidget:r,pasteSelectedWidget:o,removeSelectedWidget:a}=Js(t);let c=null;const s=()=>(c=r(),!!c),l=()=>c?o(c):!1,g=()=>(i(),!0),u=()=>{e("c",{ctrlKey:!0},s),e("v",{ctrlKey:!0},l),e("z",{ctrlKey:!0},g)};return{addKeyBoardEvent:C=>{u(),n(C)}}}function Lke(t){const{bindKey:e,runEvent:n}=IP(),i=()=>{e("enter",{ctrlKey:!1},c),e("arrowleft",{ctrlKey:!0},s)},r=l=>(i(),n(l)),o="input,select,textarea",a=["textarea"],c=()=>{var C,h;var l=t.querySelectorAll(o);const g=document.activeElement,u=(C=g==null?void 0:g.nodeName)==null?void 0:C.toLocaleLowerCase();if(!u||a.includes(u))return!1;for(var I=0;I<l.length;I++){const A=l[I];if(A==g)return I==l.length-1?!1:((h=l[I+1])==null||h.focus(),!0);A==null||A.blur()}return!1},s=l=>{var C,h;var g=t.querySelectorAll(o);const u=document.activeElement;(C=u==null?void 0:u.nodeName)==null||C.toLocaleLowerCase();for(var I=0;I<g.length;I++){const A=g[I];if(A==u)return I==0?!1:((h=g[I-1])==null||h.focus(),!0);A==null||A.blur()}return!1};return{addKeyBoardEvent:r}}const Jke=["element-loading-text","onKeyup"],Kke=p.defineComponent({componentName:vn.VFormRender,name:vn.VFormRender}),_ke=p.defineComponent({...Kke,props:{...go,pageData:{type:Object},renderConfig:{type:Object}},setup(t,{expose:e,emit:n}){const i=t,{formModel:r,exposed:o,widgetList:a,pageConfig:c,allWidgetRefList:s}=Hke(i),l=p.computed(()=>{var f,w;return Ne.getValue((w=(f=i.designer)==null?void 0:f.pageConfig)==null?void 0:w.layoutType)}),g=p.computed(()=>Yt(vr(Ne.getValue(c==null?void 0:c.customClass),!0))),u=p.computed(()=>{var f;return(f=Ne.getValue(c==null?void 0:c.componentWrapperClass))==null?void 0:f.join(" ")}),I=p.ref(!1),C={};uu.globalProvide({formRefList:C,globalRefList:s,globalDataModel:r,globalFormName:vn.VFormRender}),p.provide(ji.globalConfig,i.renderConfig),p.provide(ji.isRenderComplete,I);const h=p.ref(),A=f=>{const{addKeyBoardEvent:w}=Lke(h.value);w(f)},d=()=>{I.value=!0,n(gl.renderComplete)};return e({...o,componentName:vn.VFormRender}),(f,w)=>{const y=p.resolveDirective("loading");return p.withDirectives((p.openBlock(),p.createElementBlock("div",{"element-loading-text":p.unref(P).i18nt("designer.hint.loading"),class:p.normalizeClass([...p.unref(g),p.unref(l)+"-layout",{loadingLayout:!I.value}]),tabindex:"0",ref_key:"taregtWrapperRef",ref:h,onKeyup:[p.withKeys(A,["enter"]),p.withKeys(A,["left"])]},[p.renderSlot(f.$slots,"header",{},void 0,!0),p.renderSlot(f.$slots,"default",{},()=>[(p.openBlock(),p.createBlock(p.Suspense,{onResolve:d},{default:p.withCtx(()=>[p.createVNode(fr,{designer:f.designer,"widget-list":p.unref(a),model:p.unref(r),"design-state":!1,"component-class":p.unref(u)},null,8,["designer","widget-list","model","component-class"])]),_:1}))],!0),p.renderSlot(f.$slots,"footer",{},void 0,!0)],42,Jke)),[[y,!I.value]])}}}),ULt="",bV=Ei(_ke,[["__scopeId","data-v-527104aa"]]);function r1(t){return`${t}px`}function cC(t){return Number(t==null?void 0:t.replace("px",""))}function jke(){return{setTreeView:n=>{var i=((n==null?void 0:n.value)||document).querySelectorAll(".el-tree-node"),r=[];if(i==null||i.forEach(c=>{var h,A,d;var s=c.querySelector(".labelWrapper"),l=c.querySelector(".buttonWrapper"),g=c.querySelector(".el-tree-node__content");if(!(!s||!l||!g)){var u=cC((h=getComputedStyle(s))==null?void 0:h.width),I=cC((A=getComputedStyle(l))==null?void 0:A.width),C=cC((d=getComputedStyle(g))==null?void 0:d.paddingLeft);r.push(u+C+I)}}),(r==null?void 0:r.length)>0){let c=r.reduce((s,l)=>s>l?s:l);if(n.value){var o=cC(getComputedStyle(n.value).width),a=c+20;Math.ceil(o)+2<Math.ceil(a)&&(n.value.style.width=a+"px")}}},findNodeFromCurrent:(n,i,r=!1)=>{if(!i||i==="body")return i="body",document.getElementsByTagName(i)[0];if(!n)return null;let o=c=>{if(!c)return!1;if(i.startsWith(".")){let s=new RegExp("^.","i"),l=i.replace(s,"");return l===c.className||~(" "+c.className+" ").indexOf(" "+l+" ")}else if(i.startsWith("#")){let s=new RegExp("^#","i");return i.replace(s,"")===c.id}else return i===c.nodeName.toLowerCase()},a=null;for(r?a=n:a=n.parentNode;a&&!o(a)&&a.nodeName!=="BODY"&&a.nodeName!=="HTML";)a=a.parentNode;return!a||a.nodeName==="BODY"||a.nodeName==="HTML"?null:a}}}function Uke(t){var e=document==null?void 0:document.querySelector(t);return Pke(e)}function Pke(t){if(!t)return 0;var e=getComputedStyle(t);return(parseFloat(e==null?void 0:e.height)||0)+(parseFloat(e==null?void 0:e.marginBottom)||0)+(parseFloat(e==null?void 0:e.marginTop)||0)+(parseFloat(e==null?void 0:e.paddingTop)||0)+(parseFloat(e==null?void 0:e.paddingTop)||0)}function CP(){const t=p.ref();return{pageHeight:t,getComputedHeight:n=>{p.onMounted(()=>{setTimeout(()=>{const i=document.querySelectorAll(n);if(i&&i.length>0){const r=i[0];r.parentElement&&(t.value=getComputedStyle(r.parentElement).height)}},10)})}}}function Qke(t){return{getSFCCode:()=>new Promise((r,o)=>{Promise.resolve().then(()=>zte).then(a=>{const{genSFC:c}=a,s=c(t==null?void 0:t.pageConfig,t==null?void 0:t.widgetList,!1);r==null||r(s)})}),getFieldItems:()=>new Promise((r,o)=>{Promise.resolve().then(()=>Tte).then(a=>{const{useGenFieldItemList:c}=a,{filterFieldItems:s}=c(t==null?void 0:t.widgetList),l=s();r==null||r(l)})}),getCtx:r=>{const{instance:o}=ma(r);return rC({instance:o})}}}const qke=p.defineComponent({__name:"layoutdivider",props:{modelValue:null,maxValue:null,minValue:null},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,i=p.computed({get:()=>n.modelValue,set:s=>{e("update:modelValue",s)}}),r=s=>{document.addEventListener("mousemove",a)},o=()=>{let s=i.value;Ca(n.maxValue)||i.value>((n==null?void 0:n.maxValue)||0)&&(s=(n==null?void 0:n.maxValue)||0),Ca(n.minValue)||i.value<(n.minValue||0)&&(s=(n==null?void 0:n.minValue)||0),Ca(s)||(i.value=s),document.removeEventListener("mousemove",a)},a=s=>{i.value=s.screenX},c=Sme(o,300);return p.onMounted(()=>{document.addEventListener("mouseup",c)}),p.onUnmounted(()=>{document.removeEventListener("mouseup",c)}),(s,l)=>(p.openBlock(),p.createElementBlock("div",{class:"resize flex bgWhite",onMousedown:r},[p.createVNode(Yn,{name:"@custom-resize",class:"resizeIcon"})],32))}}),PLt="",dP=Ei(qke,[["__scopeId","data-v-bf6aa713"]]);class $ke{constructor(){J(this,"themeColor",Az.color1)}}const eRe={class:"full-height-width noscrollbar"},tRe=p.defineComponent({componentName:vn.VFormDesigner,name:vn.VFormDesigner}),nRe=p.defineComponent({...tRe,props:{fieldList:null,bannedWidgets:{default:()=>[]},pageTemplates:null,exampleCodes:null,designerConfig:{default:()=>new FBe},renderConfig:{default:()=>new $ke},designerJson:null},setup(t,{expose:e}){var x,N;const n=t,{onMountedOrActivated:i}=J7(),r=p.ref(!1);p.provide(ji.getDesignerConfig,n.designerConfig),p.provide(ji.getBannedWidgets,n.bannedWidgets),p.provide(ji.getPageTemplates,n.pageTemplates),p.provide(ji.getExampleCode,n.exampleCodes),p.provide(ji.serverFieldList,n.fieldList),p.provide(ji.globalConfig,n.renderConfig),p.provide(ji.isRenderComplete,r);const o=JBe(n.designerJson,!!((x=n.designerConfig)!=null&&x.resetPageJson),!!((N=n.designerConfig)!=null&&N.radomKey)),a=p.reactive(o);p.watch(()=>n.designerJson,Z=>{y(Z)});const c=p.computed(()=>a.version),s=p.ref(),l=p.ref(),g=p.shallowRef(),u=p.shallowRef(),I=p.shallowRef(),C=p.shallowRef(),h=()=>{g.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>zut)),u.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>But)),I.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>Hut)),C.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>CIt))},A=p.ref(),d=()=>{const Z=Uke(".page-widget-main .el-scrollbar");A.value=Z-80+"px"};BDe(()=>{p.nextTick(()=>{d()})});const{getSFCCode:f}=Qke(a),{getPageJson:w,loadPageJson:y}=Js(a),{addKeyBoardEvent:m}=Fke(a),b=Z=>{m(Z),Z.preventDefault()},v=window.innerWidth,S=p.ref(250),M=p.ref(v-320);return i(()=>{p.nextTick(()=>{h(),d()})}),e({getPageJson:w,loadPageJson:y,getSFCCode:f}),(Z,G)=>{const z=p.resolveComponent("el-aside"),T=p.resolveComponent("el-header"),W=p.resolveComponent("el-scrollbar"),V=p.resolveComponent("el-main"),X=p.resolveComponent("el-container");return p.openBlock(),p.createElementBlock("div",eRe,[p.createVNode(X,{class:"full-height noscrollbar"},{default:p.withCtx(()=>[p.createVNode(z,{class:"noscrollbar left-panel",width:`${S.value}px`,tabindex:"0",onKeydown:b},{default:p.withCtx(()=>[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(g)),{key:`WidgetPanel${p.unref(c)}`,class:"full-height-width bgWhite",designer:a},null,8,["designer"]))]),_:1},8,["width"]),p.createVNode(dP,{modelValue:S.value,"onUpdate:modelValue":G[0]||(G[0]=D=>S.value=D),minValue:200,maxValue:500},null,8,["modelValue"]),p.createVNode(V,{class:"noscrollbar nopadding"},{default:p.withCtx(()=>[p.createVNode(T,{class:"toolbar-header nopadding bgWhite"},{default:p.withCtx(()=>[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(C)),{designer:a,"designer-config":t.designerConfig,key:`ToolbarPanel${p.unref(c)}`,"render-config":t.renderConfig,ref:s.value},{default:p.withCtx(()=>[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(Z.$slots,(D,R)=>p.renderSlot(Z.$slots,R,{},void 0,!0)),256))]),_:3},8,["designer","designer-config","render-config"]))]),_:3}),p.createVNode(V,{class:"page-widget-main full-height-width nopadding",tabindex:"0",onKeydown:b},{default:p.withCtx(()=>[p.createVNode(W,null,{default:p.withCtx(()=>[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(u)),{panelHeight:A.value,designer:a,key:`PageWidget${p.unref(c)}`,"designer-config":t.designerConfig,ref_key:"pageWidgetRef",ref:l},null,8,["panelHeight","designer","designer-config"]))]),_:1})]),_:1})]),_:3}),p.createVNode(dP,{modelValue:M.value,"onUpdate:modelValue":G[1]||(G[1]=D=>M.value=D)},null,8,["modelValue"]),p.createVNode(z,{class:"noscrollbar right-panel",width:`${p.unref(v)-M.value}px`},{default:p.withCtx(()=>[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(I)),{class:"bgWhite",designer:a,"render-config":t.renderConfig,key:`SettingPanel${p.unref(c)}`},null,8,["designer","render-config"]))]),_:1},8,["width"])]),_:3})])}}}),QLt="",hP=Ei(nRe,[["__scopeId","data-v-ba3aa756"]]);var NV={},iRe={get exports(){return NV},set exports(t){NV=t}};/**!
201
201
  * Sortable 1.14.0
202
202
  * @author RubaXa <trash@rubaxa.org>
203
203
  * @author owenm <owen23355@gmail.com>
@@ -4334,4 +4334,4 @@ styles.join("\\n")
4334
4334
  * https://clipboardjs.com/
4335
4335
  *
4336
4336
  * Licensed MIT © Zeno Rocha
4337
- */(function(t,e){(function(i,r){t.exports=r()})(Ni,function(){return function(){var n={686:function(o,a,c){c.d(a,{default:function(){return Y}});var s=c(279),l=c.n(s),g=c(370),u=c.n(g),I=c(817),C=c.n(I);function h(k){try{return document.execCommand(k)}catch{return!1}}var A=function(E){var H=C()(E);return h("cut"),H},d=A;function f(k){var E=document.documentElement.getAttribute("dir")==="rtl",H=document.createElement("textarea");H.style.fontSize="12pt",H.style.border="0",H.style.padding="0",H.style.margin="0",H.style.position="absolute",H.style[E?"right":"left"]="-9999px";var L=window.pageYOffset||document.documentElement.scrollTop;return H.style.top="".concat(L,"px"),H.setAttribute("readonly",""),H.value=k,H}var w=function(E,H){var L=f(E);H.container.appendChild(L);var _=C()(L);return h("copy"),L.remove(),_},y=function(E){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},L="";return typeof E=="string"?L=w(E,H):E instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(E==null?void 0:E.type)?L=w(E.value,H):(L=C()(E),h("copy")),L},m=y;function b(k){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(H){return typeof H}:b=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},b(k)}var v=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},H=E.action,L=H===void 0?"copy":H,_=E.container,ae=E.target,te=E.text;if(L!=="copy"&&L!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(ae!==void 0)if(ae&&b(ae)==="object"&&ae.nodeType===1){if(L==="copy"&&ae.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(L==="cut"&&(ae.hasAttribute("readonly")||ae.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(te)return m(te,{container:_});if(ae)return L==="cut"?d(ae):m(ae,{container:_})},S=v;function M(k){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(H){return typeof H}:M=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},M(k)}function x(k,E){if(!(k instanceof E))throw new TypeError("Cannot call a class as a function")}function N(k,E){for(var H=0;H<E.length;H++){var L=E[H];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(k,L.key,L)}}function Z(k,E,H){return E&&N(k.prototype,E),H&&N(k,H),k}function G(k,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");k.prototype=Object.create(E&&E.prototype,{constructor:{value:k,writable:!0,configurable:!0}}),E&&z(k,E)}function z(k,E){return z=Object.setPrototypeOf||function(L,_){return L.__proto__=_,L},z(k,E)}function T(k){var E=X();return function(){var L=D(k),_;if(E){var ae=D(this).constructor;_=Reflect.construct(L,arguments,ae)}else _=L.apply(this,arguments);return W(this,_)}}function W(k,E){return E&&(M(E)==="object"||typeof E=="function")?E:V(k)}function V(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function X(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function D(k){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},D(k)}function R(k,E){var H="data-clipboard-".concat(k);if(E.hasAttribute(H))return E.getAttribute(H)}var F=function(k){G(H,k);var E=T(H);function H(L,_){var ae;return x(this,H),ae=E.call(this),ae.resolveOptions(_),ae.listenClick(L),ae}return Z(H,[{key:"resolveOptions",value:function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof _.action=="function"?_.action:this.defaultAction,this.target=typeof _.target=="function"?_.target:this.defaultTarget,this.text=typeof _.text=="function"?_.text:this.defaultText,this.container=M(_.container)==="object"?_.container:document.body}},{key:"listenClick",value:function(_){var ae=this;this.listener=u()(_,"click",function(te){return ae.onClick(te)})}},{key:"onClick",value:function(_){var ae=_.delegateTarget||_.currentTarget,te=this.action(ae)||"copy",ge=S({action:te,container:this.container,target:this.target(ae),text:this.text(ae)});this.emit(ge?"success":"error",{action:te,text:ge,trigger:ae,clearSelection:function(){ae&&ae.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(_){return R("action",_)}},{key:"defaultTarget",value:function(_){var ae=R("target",_);if(ae)return document.querySelector(ae)}},{key:"defaultText",value:function(_){return R("text",_)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(_){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return m(_,ae)}},{key:"cut",value:function(_){return d(_)}},{key:"isSupported",value:function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],ae=typeof _=="string"?[_]:_,te=!!document.queryCommandSupported;return ae.forEach(function(ge){te=te&&!!document.queryCommandSupported(ge)}),te}}]),H}(l()),Y=F},828:function(o){var a=9;if(typeof Element<"u"&&!Element.prototype.matches){var c=Element.prototype;c.matches=c.matchesSelector||c.mozMatchesSelector||c.msMatchesSelector||c.oMatchesSelector||c.webkitMatchesSelector}function s(l,g){for(;l&&l.nodeType!==a;){if(typeof l.matches=="function"&&l.matches(g))return l;l=l.parentNode}}o.exports=s},438:function(o,a,c){var s=c(828);function l(I,C,h,A,d){var f=u.apply(this,arguments);return I.addEventListener(h,f,d),{destroy:function(){I.removeEventListener(h,f,d)}}}function g(I,C,h,A,d){return typeof I.addEventListener=="function"?l.apply(null,arguments):typeof h=="function"?l.bind(null,document).apply(null,arguments):(typeof I=="string"&&(I=document.querySelectorAll(I)),Array.prototype.map.call(I,function(f){return l(f,C,h,A,d)}))}function u(I,C,h,A){return function(d){d.delegateTarget=s(d.target,C),d.delegateTarget&&A.call(I,d)}}o.exports=g},879:function(o,a){a.node=function(c){return c!==void 0&&c instanceof HTMLElement&&c.nodeType===1},a.nodeList=function(c){var s=Object.prototype.toString.call(c);return c!==void 0&&(s==="[object NodeList]"||s==="[object HTMLCollection]")&&"length"in c&&(c.length===0||a.node(c[0]))},a.string=function(c){return typeof c=="string"||c instanceof String},a.fn=function(c){var s=Object.prototype.toString.call(c);return s==="[object Function]"}},370:function(o,a,c){var s=c(879),l=c(438);function g(h,A,d){if(!h&&!A&&!d)throw new Error("Missing required arguments");if(!s.string(A))throw new TypeError("Second argument must be a String");if(!s.fn(d))throw new TypeError("Third argument must be a Function");if(s.node(h))return u(h,A,d);if(s.nodeList(h))return I(h,A,d);if(s.string(h))return C(h,A,d);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function u(h,A,d){return h.addEventListener(A,d),{destroy:function(){h.removeEventListener(A,d)}}}function I(h,A,d){return Array.prototype.forEach.call(h,function(f){f.addEventListener(A,d)}),{destroy:function(){Array.prototype.forEach.call(h,function(f){f.removeEventListener(A,d)})}}}function C(h,A,d){return l(document.body,h,A,d)}o.exports=g},817:function(o){function a(c){var s;if(c.nodeName==="SELECT")c.focus(),s=c.value;else if(c.nodeName==="INPUT"||c.nodeName==="TEXTAREA"){var l=c.hasAttribute("readonly");l||c.setAttribute("readonly",""),c.select(),c.setSelectionRange(0,c.value.length),l||c.removeAttribute("readonly"),s=c.value}else{c.hasAttribute("contenteditable")&&c.focus();var g=window.getSelection(),u=document.createRange();u.selectNodeContents(c),g.removeAllRanges(),g.addRange(u),s=g.toString()}return s}o.exports=a},279:function(o){function a(){}a.prototype={on:function(c,s,l){var g=this.e||(this.e={});return(g[c]||(g[c]=[])).push({fn:s,ctx:l}),this},once:function(c,s,l){var g=this;function u(){g.off(c,u),s.apply(l,arguments)}return u._=s,this.on(c,u,l)},emit:function(c){var s=[].slice.call(arguments,1),l=((this.e||(this.e={}))[c]||[]).slice(),g=0,u=l.length;for(g;g<u;g++)l[g].fn.apply(l[g].ctx,s);return this},off:function(c,s){var l=this.e||(this.e={}),g=l[c],u=[];if(g&&s)for(var I=0,C=g.length;I<C;I++)g[I].fn!==s&&g[I].fn._!==s&&u.push(g[I]);return u.length?l[c]=u:delete l[c],this}},o.exports=a,o.exports.TinyEmitter=a}},i={};function r(o){if(i[o])return i[o].exports;var a=i[o]={exports:{}};return n[o](a,a.exports,r),a.exports}return function(){r.n=function(o){var a=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(a,{a}),a}}(),function(){r.d=function(o,a){for(var c in a)r.o(a,c)&&!r.o(o,c)&&Object.defineProperty(o,c,{enumerable:!0,get:a[c]})}}(),function(){r.o=function(o,a){return Object.prototype.hasOwnProperty.call(o,a)}}(),r(686)}().default})})(KFt);const _Ft=MA({__proto__:null,default:Um(gz)},[gz]),jFt=p.defineComponent({__name:"target-link",props:{attrs:null},setup(t,{expose:e}){const n=t,i=p.ref("baseSetting"),r=p.ref(n.attrs||{}),o=p.computed(()=>{var s;return((s=r.value)==null?void 0:s.windowModal)||dM.window}),a=p.computed(()=>o.value===dM.modal?["width","height","title","dialogType","fullscreen","hashRouter"]:["target"]);return e({save:()=>({...r.value,windowModal:o.value})}),(s,l)=>{const g=p.resolveComponent("el-row"),u=p.resolveComponent("el-tab-pane"),I=p.resolveComponent("el-tabs");return p.openBlock(),p.createElementBlock(p.Fragment,null,[p.createVNode(g,null,{default:p.withCtx(()=>[p.createVNode(Oh,{ref:"regEditorRef",keys:["url","windowModal","windowTarget"],widgetType:p.unref(_e).modalDialog,data:r.value,style:{width:"100%"}},null,8,["widgetType","data"])]),_:1}),p.createVNode(I,{modelValue:i.value,"onUpdate:modelValue":l[0]||(l[0]=C=>i.value=C)},{default:p.withCtx(()=>[p.createVNode(u,{label:p.unref(P).i18nt("designer.hint.baseSetting"),name:"baseSetting"},{default:p.withCtx(()=>[p.createVNode(Oh,{ref:"regEditorRef",keys:p.unref(a),widgetType:p.unref(_e).modalDialog,data:r.value},null,8,["keys","widgetType","data"])]),_:1},8,["label"]),p.createVNode(u,{label:p.unref(P).i18nt("designer.hint.paramSetting"),name:"paramSetting"},{default:p.withCtx(()=>[p.createVNode(Oh,{ref:"regEditorRef",keys:["withQuery","encodeQuery","setQueryFn"],widgetType:p.unref(_e).modalDialog,data:r.value},null,8,["widgetType","data"])]),_:1},8,["label"]),p.createVNode(u,{label:p.unref(P).i18nt("designer.hint.eventSetting"),name:"eventSetting"},{default:p.withCtx(()=>[p.createVNode(Oh,{ref:"regEditorRef",keys:["onReceive"],widgetType:p.unref(_e).modalDialog,data:r.value},null,8,["widgetType","data"])]),_:1},8,["label"])]),_:1},8,["modelValue"])],64)}}}),B_t="",UFt=Object.freeze(Object.defineProperty({__proto__:null,default:Ei(jFt,[["__scopeId","data-v-a699bf72"]])},Symbol.toStringTag,{value:"Module"})),PFt=Object.freeze(Object.defineProperty({__proto__:null,default:p.defineComponent({__name:"target-window",props:{attrs:null,widgetList:null},setup(t,{expose:e}){var a;const n=t,i=p.ref((a=n.attrs)==null?void 0:a.widgetId),r=[];return jW(Yt(n.widgetList),r,c=>c.type===_e.dialog||c.type===_e.drawer),e({save:()=>({widgetId:i.value})}),(c,s)=>{const l=p.resolveComponent("el-empty"),g=p.resolveComponent("el-checkbox"),u=p.resolveComponent("el-checkbox-group"),I=p.resolveComponent("el-card");return p.openBlock(),p.createBlock(I,{class:"--hl-card"},{header:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.widgetSetting")),1)]),default:p.withCtx(()=>[!r||r.length<=0?(p.openBlock(),p.createBlock(l,{key:0})):(p.openBlock(),p.createBlock(u,{key:1,modelValue:i.value,"onUpdate:modelValue":s[0]||(s[0]=C=>i.value=C)},{default:p.withCtx(()=>[(p.openBlock(),p.createElementBlock(p.Fragment,null,p.renderList(r,C=>p.createVNode(g,{key:C.id,label:C.label,value:C.id},null,8,["label","value"])),64))]),_:1},8,["modelValue"]))]),_:1})}}})},Symbol.toStringTag,{value:"Module"})),QFt={class:"var-item"},qFt={class:"var-title"},$Ft={class:"var-capsule"},eLt=Object.freeze(Object.defineProperty({__proto__:null,default:p.defineComponent({__name:"target-widget",props:{attrs:null,widgetList:null},setup(t,{expose:e}){const n=t,i=p.ref();return p.onMounted(()=>{var a,c;const o=(a=n.attrs)==null?void 0:a.widgetId;Array.isArray(o)&&((c=i.value)==null||c.setCheckedKeys(o))}),e({save:()=>{var a;return{widgetId:(a=i.value)==null?void 0:a.getCheckedKeys()}}}),(o,a)=>{const c=p.resolveComponent("el-empty"),s=p.resolveComponent("el-tree"),l=p.resolveComponent("el-card");return p.openBlock(),p.createBlock(l,{class:"--hl-card"},{header:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.widgetSetting")),1)]),default:p.withCtx(()=>[!t.widgetList||t.widgetList.length<=0?(p.openBlock(),p.createBlock(c,{key:0})):(p.openBlock(),p.createBlock(s,{key:1,"default-expand-all":"","highlight-current":"",data:t.widgetList,"node-key":"id",label:"label","render-after-expand":!1,"check-strictly":!0,"expand-on-click-node":!1,multiple:!0,"show-checkbox":!0,class:"full-width",ref_key:"treeRef",ref:i},{default:p.withCtx(({node:g,data:u})=>[p.createElementVNode("span",QFt,[p.createElementVNode("span",qFt,p.toDisplayString(u.label),1),p.createElementVNode("span",$Ft,p.toDisplayString(p.unref(P).i18nt(`designer.widgetLabel.${u.type}`,u.type)),1)])]),_:1},8,["data"]))]),_:1})}}})},Symbol.toStringTag,{value:"Module"})),tLt={class:"full-height"},nLt={class:"full-width flex flexJustify"},iLt={style:{width:"99.5%","margin-top":"10px"}},rLt=p.defineComponent({__name:"target-datasource",props:{attrs:null,widgetList:null,sourceList:null},setup(t,{expose:e}){var b,v;const n=t,i=p.ref(n.attrs||{}),r=p.ref((b=n.attrs)==null?void 0:b.sourceId),o=p.ref(((v=n.attrs)==null?void 0:v.params)||"{}"),a=p.ref(),c=p.shallowRef(),s=()=>{c.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>hme))},l=p.ref(),{buildVariable:g}=td(),u=S=>{var M;return S?(M=fn(S))==null?void 0:M.map(x=>({label:x.label,id:x.id,caller:`${g(x.id)}`,attrs:{type:x.type}})):null},I=p.ref(u(n==null?void 0:n.widgetList)),C={id:"id",label:"label",children:"children"},h=(S,M)=>{const x=S==null?void 0:S.caller;x&&(l.value||(l.value=a.value),l.value.insertContent(`${x}`,"variable"))},A=()=>{let S={};const M=aM(I.value,"children");return M==null||M.forEach(x=>S[x.id]=x.label),S},{buildVariableWithLabel:d,removeVariableWithLabel:f}=fM(),w=S=>d(S||"",A()),y=S=>f(S||"",A()),m=()=>({...i.value,sourceId:r.value,params:y(o.value)});return p.onMounted(()=>{s()}),e({save:m}),(S,M)=>{const x=p.resolveComponent("el-alert"),N=p.resolveComponent("el-option"),Z=p.resolveComponent("el-select"),G=p.resolveComponent("el-row"),z=p.resolveComponent("el-tag"),T=p.resolveComponent("el-tree"),W=p.resolveComponent("el-card"),V=p.resolveComponent("el-col");return p.openBlock(),p.createElementBlock("div",tLt,[p.createVNode(G,null,{default:p.withCtx(()=>[p.createVNode(x,{title:p.unref(P).i18nt("designer.hint.schemaSourceName"),type:"info",closable:!1},null,8,["title"]),p.createVNode(Z,{modelValue:r.value,"onUpdate:modelValue":M[0]||(M[0]=X=>r.value=X),multiple:!0,clearable:!0},{default:p.withCtx(()=>[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(t.sourceList,X=>(p.openBlock(),p.createBlock(N,{key:X.name,label:X.name,value:X.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),p.createVNode(x,{title:p.unref(P).i18nt("designer.hint.paramSetting"),type:"info",closable:!1},null,8,["title"]),p.createVNode(G,{gutter:0,class:"link_row",style:{"margin-top":"0px","margin-bottom":"10px",height:"50%"}},{default:p.withCtx(()=>[p.createVNode(V,{span:8,class:"full-height"},{default:p.withCtx(()=>[p.createVNode(W,{class:"--hl-card",shadow:"never"},{header:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.expression.allFields")),1)]),default:p.withCtx(()=>[p.createVNode(T,{ref:"varSourceRef",data:I.value,"highlight-current":"",props:C,class:"full-height",onNodeClick:h},{default:p.withCtx(({node:X,data:D})=>[p.createElementVNode("div",nLt,[p.createTextVNode(p.toDisplayString(D.label)+" ",1),p.createVNode(z,null,{default:p.withCtx(()=>{var R,F;return[p.createTextVNode(p.toDisplayString((R=D==null?void 0:D.attrs)!=null&&R.type?p.unref(P).i18nt(`designer.widgetLabel.${(F=D==null?void 0:D.attrs)==null?void 0:F.type}`):""),1)]}),_:2},1024)])]),_:1},8,["data"])]),_:1})]),_:1}),p.createVNode(V,{span:16,class:"full-height"},{default:p.withCtx(()=>[p.createVNode(W,{class:"--hl-card",shadow:"never"},{header:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.params")),1)]),default:p.withCtx(()=>[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(c)),{modelValue:o.value,"onUpdate:modelValue":M[1]||(M[1]=X=>o.value=X),ref_key:"editorRef",ref:a,height:"100%",gutters:!1,"beatify-fn":w,"un-beatify-fn":y},null,8,["modelValue"]))]),_:1})]),_:1})]),_:1}),p.createVNode(G,null,{default:p.withCtx(()=>[p.createVNode(x,{title:p.unref(P).i18nt("designer.hint.fetchEvent"),type:"info",closable:!1},null,8,["title"]),p.createElementVNode("div",iLt,[p.createVNode(Oh,{ref:"regEditorRef",keys:["beforeFetch","afterFetch"],widgetType:p.unref(_e).targetDatasource,data:i.value},null,8,["widgetType","data"])])]),_:1})])}}}),X_t="",aLt=Object.freeze(Object.defineProperty({__proto__:null,default:Ei(rLt,[["__scopeId","data-v-b000fdd9"]])},Symbol.toStringTag,{value:"Module"})),oLt=p.defineComponent({__name:"target-code",props:{...$o},setup(t,{expose:e}){const n=p.shallowRef(),i=p.ref(),r=()=>p.defineAsyncComponent(()=>Promise.resolve().then(()=>pme)),o=()=>({code:i.value.save()});return p.onMounted(()=>{n.value=r()}),e({save:o}),(a,c)=>(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(n)),p.mergeProps(a.$props,{getFunc:s=>{var l,g;return(g=(l=s==null?void 0:s.value)==null?void 0:l.content)==null?void 0:g.code},ref_key:"codeEditorRef",ref:i}),null,16,["getFunc"]))}}),sLt=Object.freeze(Object.defineProperty({__proto__:null,default:oLt},Symbol.toStringTag,{value:"Module"})),lLt={style:{width:"99.8%","margin-top":"10px"}},gLt=Object.freeze(Object.defineProperty({__proto__:null,default:p.defineComponent({__name:"target-saveForm",props:{attrs:null,widgetList:null,fieldWidgetList:null,sourceList:null},setup(t,{expose:e}){var s,l;const n=t,i=p.ref((s=n.attrs)==null?void 0:s.sourceId),r=p.ref((l=n.attrs)==null?void 0:l.widgetId),o=p.ref(n.attrs||{}),a=[];return jW(Yt(n.widgetList),a,g=>g.type===_e.form),e({save:()=>({...o.value,widgetId:r.value,sourceId:i.value})}),(g,u)=>{const I=p.resolveComponent("el-alert"),C=p.resolveComponent("el-option"),h=p.resolveComponent("el-select"),A=p.resolveComponent("el-row"),d=p.resolveComponent("el-checkbox"),f=p.resolveComponent("el-checkbox-group");return p.openBlock(),p.createElementBlock(p.Fragment,null,[p.createVNode(A,null,{default:p.withCtx(()=>[p.createVNode(I,{title:p.unref(P).i18nt("designer.hint.schemaSourceName"),type:"info",closable:!1},null,8,["title"]),p.createVNode(h,{modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=w=>i.value=w),multiple:!0,clearable:!0},{default:p.withCtx(()=>[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(t.sourceList,w=>(p.openBlock(),p.createBlock(C,{key:w.name,label:w.name,value:w.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),p.createVNode(A,null,{default:p.withCtx(()=>[p.createVNode(I,{title:p.unref(P).i18nt("designer.hint.formIdSetting"),type:"info",closable:!1},null,8,["title"]),p.createVNode(f,{modelValue:r.value,"onUpdate:modelValue":u[1]||(u[1]=w=>r.value=w)},{default:p.withCtx(()=>[(p.openBlock(),p.createElementBlock(p.Fragment,null,p.renderList(a,w=>p.createVNode(d,{key:w.id,label:w.label,value:w.id},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),p.createVNode(A,null,{default:p.withCtx(()=>[p.createVNode(I,{title:p.unref(P).i18nt("designer.hint.fetchEvent"),type:"info",closable:!1},null,8,["title"]),p.createElementVNode("div",lLt,[p.createVNode(Oh,{ref:"regEditorRef",keys:["schemaParamName","beforeFetch","afterFetch"],widgetType:p.unref(_e).saveFormTarget,data:o.value},null,8,["widgetType","data"])])]),_:1})],64)}}})},Symbol.toStringTag,{value:"Module"}));return ERe});
4337
+ */(function(t,e){(function(i,r){t.exports=r()})(Ni,function(){return function(){var n={686:function(o,a,c){c.d(a,{default:function(){return Y}});var s=c(279),l=c.n(s),g=c(370),u=c.n(g),I=c(817),C=c.n(I);function h(k){try{return document.execCommand(k)}catch{return!1}}var A=function(E){var H=C()(E);return h("cut"),H},d=A;function f(k){var E=document.documentElement.getAttribute("dir")==="rtl",H=document.createElement("textarea");H.style.fontSize="12pt",H.style.border="0",H.style.padding="0",H.style.margin="0",H.style.position="absolute",H.style[E?"right":"left"]="-9999px";var L=window.pageYOffset||document.documentElement.scrollTop;return H.style.top="".concat(L,"px"),H.setAttribute("readonly",""),H.value=k,H}var w=function(E,H){var L=f(E);H.container.appendChild(L);var _=C()(L);return h("copy"),L.remove(),_},y=function(E){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},L="";return typeof E=="string"?L=w(E,H):E instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(E==null?void 0:E.type)?L=w(E.value,H):(L=C()(E),h("copy")),L},m=y;function b(k){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(H){return typeof H}:b=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},b(k)}var v=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},H=E.action,L=H===void 0?"copy":H,_=E.container,ae=E.target,te=E.text;if(L!=="copy"&&L!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(ae!==void 0)if(ae&&b(ae)==="object"&&ae.nodeType===1){if(L==="copy"&&ae.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(L==="cut"&&(ae.hasAttribute("readonly")||ae.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(te)return m(te,{container:_});if(ae)return L==="cut"?d(ae):m(ae,{container:_})},S=v;function M(k){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(H){return typeof H}:M=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},M(k)}function x(k,E){if(!(k instanceof E))throw new TypeError("Cannot call a class as a function")}function N(k,E){for(var H=0;H<E.length;H++){var L=E[H];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(k,L.key,L)}}function Z(k,E,H){return E&&N(k.prototype,E),H&&N(k,H),k}function G(k,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");k.prototype=Object.create(E&&E.prototype,{constructor:{value:k,writable:!0,configurable:!0}}),E&&z(k,E)}function z(k,E){return z=Object.setPrototypeOf||function(L,_){return L.__proto__=_,L},z(k,E)}function T(k){var E=X();return function(){var L=D(k),_;if(E){var ae=D(this).constructor;_=Reflect.construct(L,arguments,ae)}else _=L.apply(this,arguments);return W(this,_)}}function W(k,E){return E&&(M(E)==="object"||typeof E=="function")?E:V(k)}function V(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function X(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function D(k){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},D(k)}function R(k,E){var H="data-clipboard-".concat(k);if(E.hasAttribute(H))return E.getAttribute(H)}var F=function(k){G(H,k);var E=T(H);function H(L,_){var ae;return x(this,H),ae=E.call(this),ae.resolveOptions(_),ae.listenClick(L),ae}return Z(H,[{key:"resolveOptions",value:function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof _.action=="function"?_.action:this.defaultAction,this.target=typeof _.target=="function"?_.target:this.defaultTarget,this.text=typeof _.text=="function"?_.text:this.defaultText,this.container=M(_.container)==="object"?_.container:document.body}},{key:"listenClick",value:function(_){var ae=this;this.listener=u()(_,"click",function(te){return ae.onClick(te)})}},{key:"onClick",value:function(_){var ae=_.delegateTarget||_.currentTarget,te=this.action(ae)||"copy",ge=S({action:te,container:this.container,target:this.target(ae),text:this.text(ae)});this.emit(ge?"success":"error",{action:te,text:ge,trigger:ae,clearSelection:function(){ae&&ae.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(_){return R("action",_)}},{key:"defaultTarget",value:function(_){var ae=R("target",_);if(ae)return document.querySelector(ae)}},{key:"defaultText",value:function(_){return R("text",_)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(_){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return m(_,ae)}},{key:"cut",value:function(_){return d(_)}},{key:"isSupported",value:function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],ae=typeof _=="string"?[_]:_,te=!!document.queryCommandSupported;return ae.forEach(function(ge){te=te&&!!document.queryCommandSupported(ge)}),te}}]),H}(l()),Y=F},828:function(o){var a=9;if(typeof Element<"u"&&!Element.prototype.matches){var c=Element.prototype;c.matches=c.matchesSelector||c.mozMatchesSelector||c.msMatchesSelector||c.oMatchesSelector||c.webkitMatchesSelector}function s(l,g){for(;l&&l.nodeType!==a;){if(typeof l.matches=="function"&&l.matches(g))return l;l=l.parentNode}}o.exports=s},438:function(o,a,c){var s=c(828);function l(I,C,h,A,d){var f=u.apply(this,arguments);return I.addEventListener(h,f,d),{destroy:function(){I.removeEventListener(h,f,d)}}}function g(I,C,h,A,d){return typeof I.addEventListener=="function"?l.apply(null,arguments):typeof h=="function"?l.bind(null,document).apply(null,arguments):(typeof I=="string"&&(I=document.querySelectorAll(I)),Array.prototype.map.call(I,function(f){return l(f,C,h,A,d)}))}function u(I,C,h,A){return function(d){d.delegateTarget=s(d.target,C),d.delegateTarget&&A.call(I,d)}}o.exports=g},879:function(o,a){a.node=function(c){return c!==void 0&&c instanceof HTMLElement&&c.nodeType===1},a.nodeList=function(c){var s=Object.prototype.toString.call(c);return c!==void 0&&(s==="[object NodeList]"||s==="[object HTMLCollection]")&&"length"in c&&(c.length===0||a.node(c[0]))},a.string=function(c){return typeof c=="string"||c instanceof String},a.fn=function(c){var s=Object.prototype.toString.call(c);return s==="[object Function]"}},370:function(o,a,c){var s=c(879),l=c(438);function g(h,A,d){if(!h&&!A&&!d)throw new Error("Missing required arguments");if(!s.string(A))throw new TypeError("Second argument must be a String");if(!s.fn(d))throw new TypeError("Third argument must be a Function");if(s.node(h))return u(h,A,d);if(s.nodeList(h))return I(h,A,d);if(s.string(h))return C(h,A,d);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function u(h,A,d){return h.addEventListener(A,d),{destroy:function(){h.removeEventListener(A,d)}}}function I(h,A,d){return Array.prototype.forEach.call(h,function(f){f.addEventListener(A,d)}),{destroy:function(){Array.prototype.forEach.call(h,function(f){f.removeEventListener(A,d)})}}}function C(h,A,d){return l(document.body,h,A,d)}o.exports=g},817:function(o){function a(c){var s;if(c.nodeName==="SELECT")c.focus(),s=c.value;else if(c.nodeName==="INPUT"||c.nodeName==="TEXTAREA"){var l=c.hasAttribute("readonly");l||c.setAttribute("readonly",""),c.select(),c.setSelectionRange(0,c.value.length),l||c.removeAttribute("readonly"),s=c.value}else{c.hasAttribute("contenteditable")&&c.focus();var g=window.getSelection(),u=document.createRange();u.selectNodeContents(c),g.removeAllRanges(),g.addRange(u),s=g.toString()}return s}o.exports=a},279:function(o){function a(){}a.prototype={on:function(c,s,l){var g=this.e||(this.e={});return(g[c]||(g[c]=[])).push({fn:s,ctx:l}),this},once:function(c,s,l){var g=this;function u(){g.off(c,u),s.apply(l,arguments)}return u._=s,this.on(c,u,l)},emit:function(c){var s=[].slice.call(arguments,1),l=((this.e||(this.e={}))[c]||[]).slice(),g=0,u=l.length;for(g;g<u;g++)l[g].fn.apply(l[g].ctx,s);return this},off:function(c,s){var l=this.e||(this.e={}),g=l[c],u=[];if(g&&s)for(var I=0,C=g.length;I<C;I++)g[I].fn!==s&&g[I].fn._!==s&&u.push(g[I]);return u.length?l[c]=u:delete l[c],this}},o.exports=a,o.exports.TinyEmitter=a}},i={};function r(o){if(i[o])return i[o].exports;var a=i[o]={exports:{}};return n[o](a,a.exports,r),a.exports}return function(){r.n=function(o){var a=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(a,{a}),a}}(),function(){r.d=function(o,a){for(var c in a)r.o(a,c)&&!r.o(o,c)&&Object.defineProperty(o,c,{enumerable:!0,get:a[c]})}}(),function(){r.o=function(o,a){return Object.prototype.hasOwnProperty.call(o,a)}}(),r(686)}().default})})(KFt);const _Ft=MA({__proto__:null,default:Um(gz)},[gz]),jFt=p.defineComponent({__name:"target-link",props:{attrs:null},setup(t,{expose:e}){const n=t,i=p.ref("baseSetting"),r=p.ref(n.attrs||{}),o=p.computed(()=>{var s;return((s=r.value)==null?void 0:s.windowModal)||dM.window}),a=p.computed(()=>o.value===dM.modal?["width","height","title","dialogType","fullscreen","hashRouter"]:["target"]);return e({save:()=>({...r.value,windowModal:o.value})}),(s,l)=>{const g=p.resolveComponent("el-row"),u=p.resolveComponent("el-tab-pane"),I=p.resolveComponent("el-tabs");return p.openBlock(),p.createElementBlock(p.Fragment,null,[p.createVNode(g,null,{default:p.withCtx(()=>[p.createVNode(Oh,{ref:"regEditorRef",keys:["url","windowModal","windowTarget"],widgetType:p.unref(_e).modalDialog,data:r.value,style:{width:"100%"}},null,8,["widgetType","data"])]),_:1}),p.createVNode(I,{modelValue:i.value,"onUpdate:modelValue":l[0]||(l[0]=C=>i.value=C)},{default:p.withCtx(()=>[p.createVNode(u,{label:p.unref(P).i18nt("designer.hint.baseSetting"),name:"baseSetting"},{default:p.withCtx(()=>[p.createVNode(Oh,{ref:"regEditorRef",keys:p.unref(a),widgetType:p.unref(_e).modalDialog,data:r.value},null,8,["keys","widgetType","data"])]),_:1},8,["label"]),p.createVNode(u,{label:p.unref(P).i18nt("designer.hint.paramSetting"),name:"paramSetting"},{default:p.withCtx(()=>[p.createVNode(Oh,{ref:"regEditorRef",keys:["withQuery","encodeQuery","setQueryFn"],widgetType:p.unref(_e).modalDialog,data:r.value},null,8,["widgetType","data"])]),_:1},8,["label"]),p.createVNode(u,{label:p.unref(P).i18nt("designer.hint.eventSetting"),name:"eventSetting"},{default:p.withCtx(()=>[p.createVNode(Oh,{ref:"regEditorRef",keys:["onReceive"],widgetType:p.unref(_e).modalDialog,data:r.value},null,8,["widgetType","data"])]),_:1},8,["label"])]),_:1},8,["modelValue"])],64)}}}),B_t="",UFt=Object.freeze(Object.defineProperty({__proto__:null,default:Ei(jFt,[["__scopeId","data-v-c802cc45"]])},Symbol.toStringTag,{value:"Module"})),PFt=Object.freeze(Object.defineProperty({__proto__:null,default:p.defineComponent({__name:"target-window",props:{attrs:null,widgetList:null},setup(t,{expose:e}){var a;const n=t,i=p.ref((a=n.attrs)==null?void 0:a.widgetId),r=[];return jW(Yt(n.widgetList),r,c=>c.type===_e.dialog||c.type===_e.drawer),e({save:()=>({widgetId:i.value})}),(c,s)=>{const l=p.resolveComponent("el-empty"),g=p.resolveComponent("el-checkbox"),u=p.resolveComponent("el-checkbox-group"),I=p.resolveComponent("el-card");return p.openBlock(),p.createBlock(I,{class:"--hl-card"},{header:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.widgetSetting")),1)]),default:p.withCtx(()=>[!r||r.length<=0?(p.openBlock(),p.createBlock(l,{key:0})):(p.openBlock(),p.createBlock(u,{key:1,modelValue:i.value,"onUpdate:modelValue":s[0]||(s[0]=C=>i.value=C)},{default:p.withCtx(()=>[(p.openBlock(),p.createElementBlock(p.Fragment,null,p.renderList(r,C=>p.createVNode(g,{key:C.id,label:C.label,value:C.id},null,8,["label","value"])),64))]),_:1},8,["modelValue"]))]),_:1})}}})},Symbol.toStringTag,{value:"Module"})),QFt={class:"var-item"},qFt={class:"var-title"},$Ft={class:"var-capsule"},eLt=Object.freeze(Object.defineProperty({__proto__:null,default:p.defineComponent({__name:"target-widget",props:{attrs:null,widgetList:null},setup(t,{expose:e}){const n=t,i=p.ref();return p.onMounted(()=>{var a,c;const o=(a=n.attrs)==null?void 0:a.widgetId;Array.isArray(o)&&((c=i.value)==null||c.setCheckedKeys(o))}),e({save:()=>{var a;return{widgetId:(a=i.value)==null?void 0:a.getCheckedKeys()}}}),(o,a)=>{const c=p.resolveComponent("el-empty"),s=p.resolveComponent("el-tree"),l=p.resolveComponent("el-card");return p.openBlock(),p.createBlock(l,{class:"--hl-card"},{header:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.widgetSetting")),1)]),default:p.withCtx(()=>[!t.widgetList||t.widgetList.length<=0?(p.openBlock(),p.createBlock(c,{key:0})):(p.openBlock(),p.createBlock(s,{key:1,"default-expand-all":"","highlight-current":"",data:t.widgetList,"node-key":"id",label:"label","render-after-expand":!1,"check-strictly":!0,"expand-on-click-node":!1,multiple:!0,"show-checkbox":!0,class:"full-width",ref_key:"treeRef",ref:i},{default:p.withCtx(({node:g,data:u})=>[p.createElementVNode("span",QFt,[p.createElementVNode("span",qFt,p.toDisplayString(u.label),1),p.createElementVNode("span",$Ft,p.toDisplayString(p.unref(P).i18nt(`designer.widgetLabel.${u.type}`,u.type)),1)])]),_:1},8,["data"]))]),_:1})}}})},Symbol.toStringTag,{value:"Module"})),tLt={class:"full-height"},nLt={class:"full-width flex flexJustify"},iLt={style:{width:"99.5%","margin-top":"10px"}},rLt=p.defineComponent({__name:"target-datasource",props:{attrs:null,widgetList:null,sourceList:null},setup(t,{expose:e}){var b,v;const n=t,i=p.ref(n.attrs||{}),r=p.ref((b=n.attrs)==null?void 0:b.sourceId),o=p.ref(((v=n.attrs)==null?void 0:v.params)||"{}"),a=p.ref(),c=p.shallowRef(),s=()=>{c.value=p.defineAsyncComponent(()=>Promise.resolve().then(()=>hme))},l=p.ref(),{buildVariable:g}=td(),u=S=>{var M;return S?(M=fn(S))==null?void 0:M.map(x=>({label:x.label,id:x.id,caller:`${g(x.id)}`,attrs:{type:x.type}})):null},I=p.ref(u(n==null?void 0:n.widgetList)),C={id:"id",label:"label",children:"children"},h=(S,M)=>{const x=S==null?void 0:S.caller;x&&(l.value||(l.value=a.value),l.value.insertContent(`${x}`,"variable"))},A=()=>{let S={};const M=aM(I.value,"children");return M==null||M.forEach(x=>S[x.id]=x.label),S},{buildVariableWithLabel:d,removeVariableWithLabel:f}=fM(),w=S=>d(S||"",A()),y=S=>f(S||"",A()),m=()=>({...i.value,sourceId:r.value,params:y(o.value)});return p.onMounted(()=>{s()}),e({save:m}),(S,M)=>{const x=p.resolveComponent("el-alert"),N=p.resolveComponent("el-option"),Z=p.resolveComponent("el-select"),G=p.resolveComponent("el-row"),z=p.resolveComponent("el-tag"),T=p.resolveComponent("el-tree"),W=p.resolveComponent("el-card"),V=p.resolveComponent("el-col");return p.openBlock(),p.createElementBlock("div",tLt,[p.createVNode(G,null,{default:p.withCtx(()=>[p.createVNode(x,{title:p.unref(P).i18nt("designer.hint.schemaSourceName"),type:"info",closable:!1},null,8,["title"]),p.createVNode(Z,{modelValue:r.value,"onUpdate:modelValue":M[0]||(M[0]=X=>r.value=X),multiple:!0,clearable:!0},{default:p.withCtx(()=>[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(t.sourceList,X=>(p.openBlock(),p.createBlock(N,{key:X.name,label:X.name,value:X.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),p.createVNode(x,{title:p.unref(P).i18nt("designer.hint.paramSetting"),type:"info",closable:!1},null,8,["title"]),p.createVNode(G,{gutter:0,class:"link_row",style:{"margin-top":"0px","margin-bottom":"10px",height:"50%"}},{default:p.withCtx(()=>[p.createVNode(V,{span:8,class:"full-height"},{default:p.withCtx(()=>[p.createVNode(W,{class:"--hl-card",shadow:"never"},{header:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.expression.allFields")),1)]),default:p.withCtx(()=>[p.createVNode(T,{ref:"varSourceRef",data:I.value,"highlight-current":"",props:C,class:"full-height",onNodeClick:h},{default:p.withCtx(({node:X,data:D})=>[p.createElementVNode("div",nLt,[p.createTextVNode(p.toDisplayString(D.label)+" ",1),p.createVNode(z,null,{default:p.withCtx(()=>{var R,F;return[p.createTextVNode(p.toDisplayString((R=D==null?void 0:D.attrs)!=null&&R.type?p.unref(P).i18nt(`designer.widgetLabel.${(F=D==null?void 0:D.attrs)==null?void 0:F.type}`):""),1)]}),_:2},1024)])]),_:1},8,["data"])]),_:1})]),_:1}),p.createVNode(V,{span:16,class:"full-height"},{default:p.withCtx(()=>[p.createVNode(W,{class:"--hl-card",shadow:"never"},{header:p.withCtx(()=>[p.createTextVNode(p.toDisplayString(p.unref(P).i18nt("designer.hint.params")),1)]),default:p.withCtx(()=>[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(c)),{modelValue:o.value,"onUpdate:modelValue":M[1]||(M[1]=X=>o.value=X),ref_key:"editorRef",ref:a,height:"100%",gutters:!1,"beatify-fn":w,"un-beatify-fn":y},null,8,["modelValue"]))]),_:1})]),_:1})]),_:1}),p.createVNode(G,null,{default:p.withCtx(()=>[p.createVNode(x,{title:p.unref(P).i18nt("designer.hint.fetchEvent"),type:"info",closable:!1},null,8,["title"]),p.createElementVNode("div",iLt,[p.createVNode(Oh,{ref:"regEditorRef",keys:["beforeFetch","afterFetch"],widgetType:p.unref(_e).targetDatasource,data:i.value},null,8,["widgetType","data"])])]),_:1})])}}}),X_t="",aLt=Object.freeze(Object.defineProperty({__proto__:null,default:Ei(rLt,[["__scopeId","data-v-b000fdd9"]])},Symbol.toStringTag,{value:"Module"})),oLt=p.defineComponent({__name:"target-code",props:{...$o},setup(t,{expose:e}){const n=p.shallowRef(),i=p.ref(),r=()=>p.defineAsyncComponent(()=>Promise.resolve().then(()=>pme)),o=()=>({code:i.value.save()});return p.onMounted(()=>{n.value=r()}),e({save:o}),(a,c)=>(p.openBlock(),p.createBlock(p.resolveDynamicComponent(p.unref(n)),p.mergeProps(a.$props,{getFunc:s=>{var l,g;return(g=(l=s==null?void 0:s.value)==null?void 0:l.content)==null?void 0:g.code},ref_key:"codeEditorRef",ref:i}),null,16,["getFunc"]))}}),sLt=Object.freeze(Object.defineProperty({__proto__:null,default:oLt},Symbol.toStringTag,{value:"Module"})),lLt={style:{width:"99.8%","margin-top":"10px"}},gLt=Object.freeze(Object.defineProperty({__proto__:null,default:p.defineComponent({__name:"target-saveForm",props:{attrs:null,widgetList:null,fieldWidgetList:null,sourceList:null},setup(t,{expose:e}){var s,l;const n=t,i=p.ref((s=n.attrs)==null?void 0:s.sourceId),r=p.ref((l=n.attrs)==null?void 0:l.widgetId),o=p.ref(n.attrs||{}),a=[];return jW(Yt(n.widgetList),a,g=>g.type===_e.form),e({save:()=>({...o.value,widgetId:r.value,sourceId:i.value})}),(g,u)=>{const I=p.resolveComponent("el-alert"),C=p.resolveComponent("el-option"),h=p.resolveComponent("el-select"),A=p.resolveComponent("el-row"),d=p.resolveComponent("el-checkbox"),f=p.resolveComponent("el-checkbox-group");return p.openBlock(),p.createElementBlock(p.Fragment,null,[p.createVNode(A,null,{default:p.withCtx(()=>[p.createVNode(I,{title:p.unref(P).i18nt("designer.hint.schemaSourceName"),type:"info",closable:!1},null,8,["title"]),p.createVNode(h,{modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=w=>i.value=w),multiple:!0,clearable:!0},{default:p.withCtx(()=>[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(t.sourceList,w=>(p.openBlock(),p.createBlock(C,{key:w.name,label:w.name,value:w.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),p.createVNode(A,null,{default:p.withCtx(()=>[p.createVNode(I,{title:p.unref(P).i18nt("designer.hint.formIdSetting"),type:"info",closable:!1},null,8,["title"]),p.createVNode(f,{modelValue:r.value,"onUpdate:modelValue":u[1]||(u[1]=w=>r.value=w)},{default:p.withCtx(()=>[(p.openBlock(),p.createElementBlock(p.Fragment,null,p.renderList(a,w=>p.createVNode(d,{key:w.id,label:w.label,value:w.id},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),p.createVNode(A,null,{default:p.withCtx(()=>[p.createVNode(I,{title:p.unref(P).i18nt("designer.hint.fetchEvent"),type:"info",closable:!1},null,8,["title"]),p.createElementVNode("div",lLt,[p.createVNode(Oh,{ref:"regEditorRef",keys:["schemaParamName","beforeFetch","afterFetch"],widgetType:p.unref(_e).saveFormTarget,data:o.value},null,8,["widgetType","data"])])]),_:1})],64)}}})},Symbol.toStringTag,{value:"Module"}));return ERe});
@@ -98,7 +98,7 @@ const me = { class: "varTitle" }, ve = { class: "varCell cellRow" }, he = { clas
98
98
  const i = (f = (n = Y()) == null ? void 0 : n[0]) == null ? void 0 : f.children;
99
99
  switch (e) {
100
100
  case o.actionURL: {
101
- c.value = { attrs: t || {} }, g.value = C(() => import("./target-link-8028f0c4.js"));
101
+ c.value = { attrs: t || {} }, g.value = C(() => import("./target-link-41c28531.js"));
102
102
  break;
103
103
  }
104
104
  case o.actionOpenDialog:
@@ -113,7 +113,7 @@ const me = { class: "varTitle" }, ve = { class: "varCell cellRow" }, he = { clas
113
113
  }
114
114
  case o.actionSendSchema: {
115
115
  const a = D();
116
- 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) }, g.value = C(() => import("./target-datasource-1684dc72.js"));
116
+ 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) }, g.value = C(() => import("./target-datasource-0c299705.js"));
117
117
  break;
118
118
  }
119
119
  case o.actionCode: {
@@ -122,7 +122,7 @@ const me = { class: "varTitle" }, ve = { class: "varCell cellRow" }, he = { clas
122
122
  }
123
123
  case o.actionSaveFormData: {
124
124
  const a = D();
125
- 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) }, g.value = C(() => import("./target-saveForm-cd5753d2.js"));
125
+ 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) }, g.value = C(() => import("./target-saveForm-4a35d468.js"));
126
126
  break;
127
127
  }
128
128
  }
@@ -2,7 +2,7 @@ import { defineComponent as ut, computed as Q, ref as u, shallowRef as de, resol
2
2
  import { k as pe, e as t, f as yt, P as me, w as ce } from "./enum-type-25ce26d4.js";
3
3
  import { P as Ct, f as oe, C as Vt, z as _t } from "./baseImp-7f3ed1ec.js";
4
4
  import { u as bt } from "./index-a8efb9af.js";
5
- import { F as ht } from "./install-designer-a85d6cd4.js";
5
+ import { F as ht } from "./install-designer-b97513b6.js";
6
6
  import { S as E } from "./index-1652c0d1.js";
7
7
  import { g as I } from "./uuid-ff3b37ed.js";
8
8
  import { p as ge } from "./expression-c0206176.js";
@@ -15,7 +15,7 @@ import { A as u, p as Vt, P as ae, B as ri, e as pi, h as di } from "./baseImp-7
15
15
  import { g as mi } from "./icon-6342f929.js";
16
16
  import { u as ci } from "./slot-e7793b25.js";
17
17
  import { e as ui } from "./index-8411963a.js";
18
- import { u as wi } from "./install-designer-a85d6cd4.js";
18
+ import { u as wi } from "./install-designer-b97513b6.js";
19
19
  function vi() {
20
20
  let v = /* @__PURE__ */ new Map();
21
21
  const m = (y) => J(() => Qa(/* @__PURE__ */ Object.assign({ "../common-editor.vue": () => import("./common-editor-6f119fbd.js"), "../css-editor.vue": () => import("./css-editor-bc4d930f.js"), "../customClass-editor.vue": () => import("./customClass-editor-e066a42f.js"), "../field-editor.vue": () => import("./field-editor-beb155c8.js"), "../image-editor.vue": () => import("./image-editor-77dd2a8c.js"), "../name-editor.vue": () => import("./name-editor-4e7bff99.js"), "../size-editor.vue": () => import("./size-editor-fd5726d0.js"), "../value-editor.vue": () => import("./value-editor-136b4716.js") }), `../${y}.vue`));
@@ -3378,7 +3378,7 @@ const fi = { key: 0 }, hi = Ht({ componentName: oi.SettingPanel }), gi = /* @__P
3378
3378
  const p = new c();
3379
3379
  return p.optionModel = B.value, p.pageConfig = E.value, p.selectedWidget = w.value, x(M.value, B.value, E.value, p);
3380
3380
  }), D = ye(), H = () => {
3381
- D.value || (D.value = J(() => import("./configItem-1d3b3ec4.js")));
3381
+ D.value || (D.value = J(() => import("./configItem-4f000802.js")));
3382
3382
  }, G = $(_e.formSetting), X = (p) => {
3383
3383
  var I;
3384
3384
  let P = !1;
@@ -3406,7 +3406,7 @@ const fi = { key: 0 }, hi = Ht({ componentName: oi.SettingPanel }), gi = /* @__P
3406
3406
  y(We.popOverHandler, (p) => {
3407
3407
  var _;
3408
3408
  var P = (_ = p == null ? void 0 : p.attrs) == null ? void 0 : _.visible;
3409
- !ie.value && P ? ie.value = J(() => import("./index-0b280b7d.js")) : ie.value = null;
3409
+ !ie.value && P ? ie.value = J(() => import("./index-c3b33f58.js")) : ie.value = null;
3410
3410
  var I = { ...p == null ? void 0 : p.attrs };
3411
3411
  I = fe(I), P && (A = "popOver", j = {
3412
3412
  attrs: I,
@@ -3419,7 +3419,7 @@ const fi = { key: 0 }, hi = Ht({ componentName: oi.SettingPanel }), gi = /* @__P
3419
3419
  y(We.drawerHandler, (p) => {
3420
3420
  var z;
3421
3421
  var P = (z = p == null ? void 0 : p.attrs) == null ? void 0 : z.visible;
3422
- if (!le.value && P ? le.value = J(() => import("./index-b2a9d8c1.js")) : le.value = null, P) {
3422
+ if (!le.value && P ? le.value = J(() => import("./index-6b734505.js")) : le.value = null, P) {
3423
3423
  var I = document.querySelector(".right-panel"), _ = At(I) ? "" : getComputedStyle(I).width, k = { ...p == null ? void 0 : p.attrs, position: { right: _ } };
3424
3424
  k = fe(k), A = "drawer", j = {
3425
3425
  attrs: k,
@@ -3433,7 +3433,7 @@ const fi = { key: 0 }, hi = Ht({ componentName: oi.SettingPanel }), gi = /* @__P
3433
3433
  y(We.editHandler, (p) => {
3434
3434
  var k;
3435
3435
  var P = (k = p == null ? void 0 : p.attrs) == null ? void 0 : k.visible;
3436
- if (!oe.value && P ? oe.value = J(() => import("./index-8381f76a.js")) : oe.value = null, P) {
3436
+ if (!oe.value && P ? oe.value = J(() => import("./index-cb0a24f1.js")) : oe.value = null, P) {
3437
3437
  var I = { ...p.attrs, width: "80%" };
3438
3438
  I = fe(I);
3439
3439
  var _ = Oe(p.events);
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as R, computed as m, ref as p, resolveComponent as u, openBlock as y, createElementBlock as S, createVNode as l, normalizeStyle as T, withCtx as n, createElementVNode as b, createTextVNode as k, toDisplayString as v, unref as o, createBlock as B, createCommentVNode as E } from "vue";
2
2
  import { e as w } from "./enum-type-25ce26d4.js";
3
- import { _ as N } from "./reg-editor.vue_vue_type_script_setup_true_lang-133c913b.js";
3
+ import { _ as N } from "./reg-editor.vue_vue_type_script_setup_true_lang-5452d526.js";
4
4
  import "./enum-type-a9f5e75a.js";
5
- import "./index-885b96fb.js";
5
+ import "./index-645d9c0a.js";
6
6
  import "./emitter-fd99ee94.js";
7
7
  import "./index-a8efb9af.js";
8
8
  import "./uuid-ff3b37ed.js";
@@ -22,7 +22,7 @@ import "./slot-e7793b25.js";
22
22
  import "./index-8411963a.js";
23
23
  import "./_plugin-vue_export-helper-dad06003.js";
24
24
  import "./property-base-b45a7998.js";
25
- import "./install-designer-a85d6cd4.js";
25
+ import "./install-designer-b97513b6.js";
26
26
  import "./cont-cell-widget-97d5e626.js";
27
27
  import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-1d1b1d58.js";
28
28
  import "./share-field-ca42d5df.js";
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as T, computed as r, ref as f, resolveComponent as g, openBlock as p, createElementBlock as u, createVNode as n, withCtx as m, withDirectives as j, createElementVNode as y, createBlock as B, unref as o, createCommentVNode as E, createTextVNode as v, toDisplayString as _ } from "vue";
2
2
  import { e as k } from "./enum-type-25ce26d4.js";
3
- import { _ as N } from "./reg-editor.vue_vue_type_script_setup_true_lang-133c913b.js";
3
+ import { _ as N } from "./reg-editor.vue_vue_type_script_setup_true_lang-5452d526.js";
4
4
  import { ClickOutside as S } from "element-plus";
5
5
  import "./enum-type-a9f5e75a.js";
6
- import "./index-885b96fb.js";
6
+ import "./index-645d9c0a.js";
7
7
  import "./emitter-fd99ee94.js";
8
8
  import "./index-a8efb9af.js";
9
9
  import "./uuid-ff3b37ed.js";
@@ -22,7 +22,7 @@ import "./slot-e7793b25.js";
22
22
  import "./index-8411963a.js";
23
23
  import "./_plugin-vue_export-helper-dad06003.js";
24
24
  import "./property-base-b45a7998.js";
25
- import "./install-designer-a85d6cd4.js";
25
+ import "./install-designer-b97513b6.js";
26
26
  import "./cont-cell-widget-97d5e626.js";
27
27
  import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-1d1b1d58.js";
28
28
  import "./share-field-ca42d5df.js";
@@ -40,7 +40,7 @@ const $ = { class: "flexJustify" }, re = /* @__PURE__ */ A({
40
40
  case r.formula:
41
41
  return n(() => import("./index-6b873fb5.js"));
42
42
  case r.targetEvent:
43
- return n(() => import("./index-23ad8787.js"));
43
+ return n(() => import("./index-45cc4b24.js"));
44
44
  case r.schema:
45
45
  return n(() => import("./index-aa3763e3.js"));
46
46
  case r.relateWithWidget:
@@ -433,7 +433,7 @@ const _t = { class: "full-height-width noscrollbar" }, t4 = N3({ componentName:
433
433
  C(I);
434
434
  });
435
435
  const a = s3(() => t.version), l = k2(), c = k2(), d = G3(), f = G3(), u = G3(), v = G3(), h = () => {
436
- d.value = X3(() => import("./index-3f683c40.js")), f.value = X3(() => import("./index-416a7005.js")), u.value = X3(() => import("./index-885b96fb.js").then((I) => I.i)), v.value = X3(() => import("./index-57e7eb66.js"));
436
+ d.value = X3(() => import("./index-3f683c40.js")), f.value = X3(() => import("./index-416a7005.js")), u.value = X3(() => import("./index-645d9c0a.js").then((I) => I.i)), v.value = X3(() => import("./index-522cd573.js"));
437
437
  }, m = k2(), g = () => {
438
438
  const I = Ct(".page-widget-main .el-scrollbar");
439
439
  m.value = I - 80 + "px";
@@ -549,7 +549,7 @@ const _t = { class: "full-height-width noscrollbar" }, t4 = N3({ componentName:
549
549
  };
550
550
  }
551
551
  });
552
- const u0 = /* @__PURE__ */ D1(e4, [["__scopeId", "data-v-d08f0a26"]]);
552
+ const u0 = /* @__PURE__ */ D1(e4, [["__scopeId", "data-v-ba3aa756"]]);
553
553
  var V1 = {}, n4 = {
554
554
  get exports() {
555
555
  return V1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hldesigner",
3
- "version": "0.0.195",
3
+ "version": "0.0.196",
4
4
  "description": "",
5
5
  "main": "designer.umd.js",
6
6
  "module": "designer.es.js",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, reactive as v, computed as P, ref as k, resolveComponent as w, openBlock as l, createBlock as m, mergeProps as R, withCtx as _, createElementBlock as d, Fragment as g, renderList as x, unref as s, resolveDynamicComponent as B, createCommentVNode as W } from "vue";
2
2
  import { aj as b } from "./enum-type-a9f5e75a.js";
3
- import { u as F } from "./index-885b96fb.js";
3
+ import { u as F } from "./index-645d9c0a.js";
4
4
  import { i as N } from "./enum-type-25ce26d4.js";
5
5
  const T = {
6
6
  key: 0,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as G, ref as u, shallowRef as H, onMounted as K, resolveComponent as i, openBlock as d, createElementBlock as D, createVNode as l, withCtx as r, unref as a, Fragment as Q, renderList as Y, createBlock as I, createTextVNode as m, toDisplayString as f, createElementVNode as N, resolveDynamicComponent as Z, defineAsyncComponent as ee } from "vue";
2
2
  import { e as p, k as te, a1 as le } from "./enum-type-25ce26d4.js";
3
3
  import { e as oe, X as re } from "./baseImp-7f3ed1ec.js";
4
- import { _ as ne } from "./reg-editor.vue_vue_type_script_setup_true_lang-133c913b.js";
4
+ import { _ as ne } from "./reg-editor.vue_vue_type_script_setup_true_lang-5452d526.js";
5
5
  import { d as ie } from "./enum-type-a9f5e75a.js";
6
6
  import { _ as ae } from "./_plugin-vue_export-helper-dad06003.js";
7
7
  import "./expression-c0206176.js";
@@ -12,7 +12,7 @@ import "./esprima-e8d15055.js";
12
12
  import "./icon-6342f929.js";
13
13
  import "./dialog-fd389629.js";
14
14
  import "element-plus";
15
- import "./index-885b96fb.js";
15
+ import "./index-645d9c0a.js";
16
16
  import "./emitter-fd99ee94.js";
17
17
  import "./index-a8efb9af.js";
18
18
  import "./optionItem-c8ad230b.js";
@@ -22,7 +22,7 @@ import "./widget-base-4c2d6265.js";
22
22
  import "./slot-e7793b25.js";
23
23
  import "./index-8411963a.js";
24
24
  import "./property-base-b45a7998.js";
25
- import "./install-designer-a85d6cd4.js";
25
+ import "./install-designer-b97513b6.js";
26
26
  import "./cont-cell-widget-97d5e626.js";
27
27
  import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-1d1b1d58.js";
28
28
  import "./share-field-ca42d5df.js";
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as k, ref as _, computed as g, resolveComponent as p, openBlock as S, createElementBlock as R, Fragment as x, createVNode as e, withCtx as r, unref as t } from "vue";
2
- import { b as f, d as i } from "./enum-type-a9f5e75a.js";
3
- import { _ as a } from "./reg-editor.vue_vue_type_script_setup_true_lang-133c913b.js";
2
+ import { b as c, d as i } from "./enum-type-a9f5e75a.js";
3
+ import { _ as a } from "./reg-editor.vue_vue_type_script_setup_true_lang-5452d526.js";
4
4
  import { e as m } from "./enum-type-25ce26d4.js";
5
5
  import { _ as E } from "./_plugin-vue_export-helper-dad06003.js";
6
- import "./index-885b96fb.js";
6
+ import "./index-645d9c0a.js";
7
7
  import "./emitter-fd99ee94.js";
8
8
  import "./index-a8efb9af.js";
9
9
  import "./uuid-ff3b37ed.js";
@@ -22,7 +22,7 @@ import "./widget-base-4c2d6265.js";
22
22
  import "./slot-e7793b25.js";
23
23
  import "./index-8411963a.js";
24
24
  import "./property-base-b45a7998.js";
25
- import "./install-designer-a85d6cd4.js";
25
+ import "./install-designer-b97513b6.js";
26
26
  import "./cont-cell-widget-97d5e626.js";
27
27
  import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-1d1b1d58.js";
28
28
  import "./share-field-ca42d5df.js";
@@ -49,11 +49,11 @@ const D = /* @__PURE__ */ k({
49
49
  props: {
50
50
  attrs: null
51
51
  },
52
- setup(c, { expose: w }) {
53
- const y = c, d = _("baseSetting"), o = _(y.attrs || {}), s = g(() => {
52
+ setup(f, { expose: w }) {
53
+ const y = f, d = _("baseSetting"), o = _(y.attrs || {}), s = g(() => {
54
54
  var l;
55
- return ((l = o.value) == null ? void 0 : l.windowModal) || f.window;
56
- }), v = g(() => s.value === f.modal ? ["width", "height", "title", "dialogType", "fullscreen", "hashRouter"] : ["target"]);
55
+ return ((l = o.value) == null ? void 0 : l.windowModal) || c.window;
56
+ }), v = g(() => s.value === c.modal ? ["width", "height", "title", "dialogType", "fullscreen", "hashRouter"] : ["target"]);
57
57
  return w({
58
58
  save: () => ({
59
59
  ...o.value,
@@ -128,7 +128,7 @@ const D = /* @__PURE__ */ k({
128
128
  };
129
129
  }
130
130
  });
131
- const he = /* @__PURE__ */ E(D, [["__scopeId", "data-v-a699bf72"]]);
131
+ const he = /* @__PURE__ */ E(D, [["__scopeId", "data-v-c802cc45"]]);
132
132
  export {
133
133
  he as default
134
134
  };
@@ -2,7 +2,7 @@ import { defineComponent as E, ref as c, resolveComponent as o, openBlock as n,
2
2
  import { c as C, e as _ } from "./enum-type-25ce26d4.js";
3
3
  import { d as x } from "./enum-type-a9f5e75a.js";
4
4
  import { s as S } from "./index-a8efb9af.js";
5
- import { _ as U } from "./reg-editor.vue_vue_type_script_setup_true_lang-133c913b.js";
5
+ import { _ as U } from "./reg-editor.vue_vue_type_script_setup_true_lang-5452d526.js";
6
6
  import "./uuid-ff3b37ed.js";
7
7
  import "./optionItem-c8ad230b.js";
8
8
  import "./baseImp-7f3ed1ec.js";
@@ -14,7 +14,7 @@ import "./icon-6342f929.js";
14
14
  import "./dialog-fd389629.js";
15
15
  import "element-plus";
16
16
  import "./index-3977f490.js";
17
- import "./index-885b96fb.js";
17
+ import "./index-645d9c0a.js";
18
18
  import "./emitter-fd99ee94.js";
19
19
  import "./drag-wrapper-5d756d53.js";
20
20
  import "./widget-base-4c2d6265.js";
@@ -22,7 +22,7 @@ import "./slot-e7793b25.js";
22
22
  import "./index-8411963a.js";
23
23
  import "./_plugin-vue_export-helper-dad06003.js";
24
24
  import "./property-base-b45a7998.js";
25
- import "./install-designer-a85d6cd4.js";
25
+ import "./install-designer-b97513b6.js";
26
26
  import "./cont-cell-widget-97d5e626.js";
27
27
  import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-1d1b1d58.js";
28
28
  import "./share-field-ca42d5df.js";