hflvcomp 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -12
- package/dist/hflvcomp.es.js +320 -320
- package/package.json +1 -1
package/dist/hflvcomp.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.subpage-container[data-v-b089116d]{display:flex;align-items:center;margin:0;overflow:hidden}.subpage-container[data-v-bb8f4064]{padding:0;display:flex;align-items:center}:root{--vue-scroll-rect-scrollbar-thumb-color: rgba(122,122,122, .3);--vue-scroll-rect-scrollbar-thumb-color-light: rgba(122, 122, 122, .5);--vue-scroll-rect-scrollbar-thumb-color-pressed: rgba(112, 112, 112, .2);--vue-scroll-rect-scrollbar-thumb-radius: 5px;--vue-scroll-rect-scrollbar-thumb-margin: 0px;--vue-scroll-rect-scrollbar-size: 8px}.vue-scroll-rect{position:relative;width:100%;height:100%;margin:0;overflow:hidden}.vue-scroll-rect>.scroll-content{position:relative;max-width:100%;max-height:100%;scrollbar-width:none;-ms-overflow-style:none}.vue-scroll-rect>.scroll-content::-webkit-scrollbar{width:0;height:0}.vue-scroll-rect>.scroll-content::-ms-scrollbar{width:0;height:0}.vue-scroll-rect>.scroll-content.both{overflow:scroll}.vue-scroll-rect>.scroll-content.horizontal{overflow-x:scroll}.vue-scroll-rect>.scroll-content.vertical{overflow-y:scroll}.vue-scroll-rect:hover>.scrollbar{opacity:1;transition:opacity .1s}.vue-scroll-rect.always-show-scrollbar>.scrollbar,.vue-scroll-rect .dragging>.scrollbar{opacity:1}.vue-scroll-rect.background-clickable>.scrollbar{pointer-events:all}.vue-scroll-rect>.scrollbar{position:absolute;opacity:0;transition:opacity 1.5s;pointer-events:none}.vue-scroll-rect>.scrollbar:hover{opacity:1}.vue-scroll-rect>.scrollbar .thumb{position:absolute;background-color:var(--vue-scroll-rect-scrollbar-thumb-color);border-radius:var(--vue-scroll-rect-scrollbar-thumb-radius);pointer-events:all}.vue-scroll-rect>.scrollbar .thumb:hover{background-color:var(--vue-scroll-rect-scrollbar-thumb-color-light)}.vue-scroll-rect>.scrollbar .thumb:active{background-color:var(--vue-scroll-rect-scrollbar-thumb-color-pressed)}.vue-scroll-rect>.scrollbar.horizontal{left:0;bottom:0;right:0;height:var(--vue-scroll-rect-scrollbar-size)}.vue-scroll-rect>.scrollbar.horizontal .thumb{top:var(--vue-scroll-rect-scrollbar-thumb-margin);bottom:var(--vue-scroll-rect-scrollbar-thumb-margin)}.vue-scroll-rect>.scrollbar.vertical{top:0;bottom:0;right:0;width:var(--vue-scroll-rect-scrollbar-size)}.vue-scroll-rect>.scrollbar.vertical .thumb{left:var(--vue-scroll-rect-scrollbar-thumb-margin);right:var(--vue-scroll-rect-scrollbar-thumb-margin)}:root{--mx-menu-backgroud: #fff;--mx-menu-hover-backgroud: #f1f1f1;--mx-menu-active-backgroud: #dfdfdf;--mx-menu-open-backgroud: #f1f1f1;--mx-menu-open-hover-backgroud: #f1f1f1;--mx-menu-divider: #f0f0f0;--mx-menu-text: #2e2e2e;--mx-menu-hover-text: #2e2e2e;--mx-menu-active-text: #2e2e2e;--mx-menu-open-text: #2e2e2e;--mx-menu-open-hover-text: #2e2e2e;--mx-menu-disabled-text: #c9c8c8;--mx-menu-icon-size: 16px;--mx-menu-shadow-color: rgba(0, 0, 0, .1);--mx-menu-backgroud-radius: 10px;--mx-menu-scrollbar-thumb-color: rgba(0, 0, 0, .2);--mx-menu-scrollbar-thumb-color-light: rgba(0, 0, 0, .3);--mx-menu-scrollbar-thumb-color-pressed: rgba(0, 0, 0, .1);--mx-menu-shortcut-backgroud: #ebebeb;--mx-menu-shortcut-backgroud-hover:#ebebeb;--mx-menu-shortcut-backgroud-active:#ebebeb;--mx-menu-shortcut-backgroud-open:#ebebeb;--mx-menu-shortcut-backgroud-disabled:#fdfdfd;--mx-menu-shortcut-text: #424242;--mx-menu-shortcut-text-hover: #424242;--mx-menu-shortcut-text-active: #424242;--mx-menu-shortcut-text-open: #424242;--mx-menu-shortcut-text-disabled: #a5a5a5;--mx-menu-placeholder-width: 24px}.mx-context-menu{pointer-events:all;display:inline-block;overflow:visible;position:absolute;background-color:var(--mx-menu-backgroud);border-radius:var(--mx-menu-backgroud-radius);padding:12px 0;box-shadow:0 10px 40px 10px var(--mx-menu-shadow-color);opacity:1;transition:opacity .2s ease-in-out;--vue-scroll-rect-scrollbar-thumb-color: var(--mx-menu-scrollbar-thumb-color);--vue-scroll-rect-scrollbar-thumb-color-light: var(--mx-menu-scrollbar-thumb-color-light);--vue-scroll-rect-scrollbar-thumb-color-pressed: var(--mx-menu-scrollbar-thumb-color-pressed)}.mx-context-menu-items{position:relative;overflow:visible}.mx-context-menu-scroll{overscroll-behavior:contain}.mx-context-menu-item{display:flex;flex-direction:row;justify-content:space-between;align-items:center;position:relative;padding:6px 15px;-webkit-user-select:none;user-select:none;overflow:visible;white-space:nowrap;text-overflow:ellipsis;color:var(--mx-menu-text)}.mx-context-menu-item .mx-right-arrow,.mx-context-menu-item .mx-checked-mark{fill:var(--mx-menu-text)}.mx-context-menu-item:hover{background-color:var(--mx-menu-hover-backgroud);color:var(--mx-menu-hover-text)}.mx-context-menu-item:hover .mx-right-arrow,.mx-context-menu-item:hover .mx-checked-mark{fill:var(--mx-menu-hover-text)}.mx-context-menu-item:hover .mx-shortcut{background-color:var(--mx-menu-shortcut-backgroud-hover);color:var(--mx-menu-shortcut-text-hover)}.mx-context-menu-item:active{background-color:var(--mx-menu-active-backgroud);color:var(--mx-menu-active-text)}.mx-context-menu-item:active .mx-right-arrow,.mx-context-menu-item:active .mx-checked-mark{fill:var(--mx-menu-active-text)}.mx-context-menu-item:active .mx-shortcut{background-color:var(--mx-menu-shortcut-backgroud-active);color:var(--mx-menu-shortcut-text-active)}.mx-context-menu-item.open{background-color:var(--mx-menu-open-backgroud);color:var(--mx-menu-open-text)}.mx-context-menu-item.open:hover{background-color:var(--mx-menu-open-hover-backgroud);color:var(--mx-menu-open-hover-text)}.mx-context-menu-item.open .mx-right-arrow,.mx-context-menu-item.open .mx-checked-mark{fill:var(--mx-menu-open-text)}.mx-context-menu-item.open .mx-shortcut{background-color:var(--mx-menu-shortcut-backgroud-open);color:var(--mx-menu-shortcut-text-open)}.mx-context-menu-item.keyboard-focus{background-color:var(--mx-menu-active-backgroud)}.mx-context-menu-item.disabled{color:var(--mx-menu-disabled-text);cursor:not-allowed}.mx-context-menu-item.disabled:hover,.mx-context-menu-item.disabled:active{background-color:transparent}.mx-context-menu-item.disabled .mx-right-arrow,.mx-context-menu-item.disabled .mx-checked-mark{fill:var(--mx-menu-disabled-text)}.mx-context-menu-item.disabled .mx-shortcut{background-color:var(--mx-menu-shortcut-backgroud-disabled);color:var(--mx-menu-shortcut-text-second)}.mx-context-menu-item .mx-item-row{display:flex;flex-direction:row;align-items:center;max-width:100%}.mx-context-menu-item .mx-icon-placeholder{position:relative;display:flex;flex-direction:row;align-items:center;height:auto;overflow:hidden}.mx-context-menu-item .mx-icon-placeholder.preserve-width{width:var(--mx-menu-placeholder-width)}.mx-context-menu-item .icon{display:inline-block;font-size:var(--mx-menu-icon-size)}.mx-context-menu-item .icon.svg{width:var(--mx-menu-icon-size);height:var(--mx-menu-icon-size)}.mx-context-menu-item .label{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-inline-end:16px}.mx-context-menu-item-wrapper{position:relative}.mx-context-menu-item-sperator{display:block;padding:5px 0;background-color:var(--mx-menu-backgroud)}.mx-context-menu-item-sperator:after{display:block;content:"";background-color:var(--mx-menu-divider);height:1px}.mx-right-arrow{width:14px;height:14px}.mx-checked-mark{width:var(--mx-menu-icon-size);height:var(--mx-menu-icon-size)}.mx-shortcut{position:relative;justify-self:flex-end;font-size:11.5px;padding:2px 4px;background-color:var(--mx-menu-shortcut-backgroud);color:var(--mx-menu-shortcut-text)}.mx-menu-bar.dark,.mx-context-menu.dark{--mx-menu-backgroud: #303031;--mx-menu-hover-backgroud: #636363;--mx-menu-active-backgroud: #555555;--mx-menu-open-backgroud: #636363;--mx-menu-open-hover-backgroud: #636363;--mx-menu-divider: #464646;--mx-menu-text: #ffffff;--mx-menu-hover-text: #ffffff;--mx-menu-active-text: #ffffff;--mx-menu-open-text: #ffffff;--mx-menu-open-hover-text: #ffffff;--mx-menu-disabled-text: #9c9c9c;--mx-menu-shadow-color: rgba(51, 51, 51, .2);--mx-menu-scrollbar-thumb-color: rgba(255, 255, 255, .3);--mx-menu-scrollbar-thumb-color-light: rgba(255, 255, 255, .5);--mx-menu-scrollbar-thumb-color-pressed: rgba(255, 255, 255, .2);--mx-menu-shortcut-backgroud: #505050;--mx-menu-shortcut-backgroud-hover:#505050;--mx-menu-shortcut-backgroud-active:#505050;--mx-menu-shortcut-backgroud-open:#505050;--mx-menu-shortcut-backgroud-disabled:#444444;--mx-menu-shortcut-text: #f1f1f1;--mx-menu-shortcut-text-hover: #ffffff;--mx-menu-shortcut-text-active: #ffffff;--mx-menu-shortcut-text-open: #ffffff;--mx-menu-shortcut-text-disabled: #9d9d9d}.mx-menu-bar.flat,.mx-context-menu.flat{border-radius:0;padding:7px 0;box-shadow:0 1px 2px 1px var(--mx-menu-shadow-color)}.mx-menu-bar.flat .mx-context-menu-item,.mx-context-menu.flat .mx-context-menu-item{padding:3px 12px}.mx-menu-bar.win10,.mx-context-menu.win10{border-radius:0;padding:8px 0;border:1px solid var(--mx-menu-border-color);box-shadow:2px 2px 1px 0 var(--mx-menu-shadow-color)}.mx-menu-bar.win10,.mx-context-menu.win10{--mx-menu-backgroud: #eeeeee;--mx-menu-hover-backgroud: #d8d8d8;--mx-menu-active-backgroud: #dfdfdf;--mx-menu-open-backgroud: #f1f1f1;--mx-menu-open-hover-backgroud: #d8d8d8;--mx-menu-divider: #aaaaaa;--mx-menu-border-color: #b1b1b1;--mx-menu-shortcut-backgroud: transparent;--mx-menu-shortcut-backgroud-hover: transparent;--mx-menu-shortcut-backgroud-active: transparent;--mx-menu-shortcut-backgroud-open: transparent;--mx-menu-shortcut-backgroud-disabled:transparent;--mx-menu-shortcut-text: #272727;--mx-menu-shortcut-text-hover: #272727;--mx-menu-shortcut-text-active: #272727;--mx-menu-shortcut-text-open: #272727;--mx-menu-shortcut-text-disabled: #6b6b6b}.mx-menu-bar.win10 .mx-context-menu-item,.mx-context-menu.win10 .mx-context-menu-item{padding:2px 4px;margin:0 4px}.mx-menu-bar.win10 .mx-context-menu-item-sperator,.mx-context-menu.win10 .mx-context-menu-item-sperator{margin:0 4px}.mx-menu-bar.win10.dark,.mx-context-menu.win10.dark{--mx-menu-backgroud: #303031;--mx-menu-hover-backgroud: #636363;--mx-menu-active-backgroud: #555555;--mx-menu-open-backgroud: #636363;--mx-menu-open-hover-backgroud: #636363;--mx-menu-divider: #808080;--mx-menu-border-color: #656565;--mx-menu-shortcut-backgroud: #505050;--mx-menu-shortcut-backgroud-hover:#505050;--mx-menu-shortcut-backgroud-active:#505050;--mx-menu-shortcut-backgroud-open:#505050;--mx-menu-shortcut-backgroud-disabled:#444444;--mx-menu-shortcut-text: #f1f1f1;--mx-menu-shortcut-text-hover: #ffffff;--mx-menu-shortcut-text-active: #ffffff;--mx-menu-shortcut-text-open: #ffffff;--mx-menu-shortcut-text-disabled: #9d9d9d;padding:8px 0}.mx-menu-bar.win10.dark .mx-context-menu-item,.mx-context-menu.win10.dark .mx-context-menu-item{padding:6px 12px;margin:0}.mx-menu-bar.win10.dark .mx-context-menu-item-sperator,.mx-context-menu.win10.dark .mx-context-menu-item-sperator{margin:0 7px}.mx-menu-bar.mac,.mx-context-menu.mac{padding:8px 0;box-shadow:0 5px 7px 1px var(--mx-menu-shadow-color);border:1px solid var(--mx-menu-border-color)}.mx-menu-bar.mac,.mx-context-menu.mac{--mx-menu-backgroud: #ececec;--mx-menu-hover-backgroud: #0165e1;--mx-menu-active-backgroud: #0165e1;--mx-menu-open-backgroud: #858585;--mx-menu-open-hover-backgroud: #0165e1;--mx-menu-divider: #d2d2d2;--mx-menu-text: #232323;--mx-menu-hover-text: #fff;--mx-menu-active-text: #fff;--mx-menu-open-text: #fff;--mx-menu-open-hover-text: #fff;--mx-menu-disabled-text: #bbbbbb;--mx-menu-shadow-color: rgba(0, 0, 0, .1);--mx-menu-backgroud-radius: 10px;--mx-menu-shortcut-backgroud: transparent;--mx-menu-shortcut-backgroud-hover:transparent;--mx-menu-shortcut-backgroud-active:transparent;--mx-menu-shortcut-backgroud-open:transparent;--mx-menu-shortcut-backgroud-disabled:transparent;--mx-menu-shortcut-text: #424242;--mx-menu-shortcut-text-hover: #fff;--mx-menu-shortcut-text-active: #fff;--mx-menu-shortcut-text-open: #fff;--mx-menu-shortcut-text-disabled: #a5a5a5;--mx-menu-border-color: #bbbbbb}.mx-menu-bar.mac.dark,.mx-context-menu.mac.dark{--mx-menu-backgroud: #333333;--mx-menu-hover-backgroud: #0153d2;--mx-menu-active-backgroud: #0153d2;--mx-menu-open-hover-backgroud: #0153d2;--mx-menu-open-backgroud: #414346;--mx-menu-divider: #575757;--mx-menu-text: #dcdcdc;--mx-menu-hover-text: #fff;--mx-menu-active-text: #fff;--mx-menu-open-text: #fff;--mx-menu-open-hover-text: #fff;--mx-menu-disabled-text: #6a6a6a;--mx-menu-shadow-color: rgba(0, 0, 0, .1);--mx-menu-backgroud-radius: 10px;--mx-menu-shortcut-backgroud: transparent;--mx-menu-shortcut-backgroud-hover:transparent;--mx-menu-shortcut-backgroud-active:transparent;--mx-menu-shortcut-backgroud-open:transparent;--mx-menu-shortcut-backgroud-disabled:transparent;--mx-menu-shortcut-text: #dadada;--mx-menu-shortcut-text-hover: #fff;--mx-menu-shortcut-text-active: #fff;--mx-menu-shortcut-text-open: #fff;--mx-menu-shortcut-text-disabled: #6a6a6a;--mx-menu-border-color: #222}.mx-menu-bar.mac .mx-context-menu-item,.mx-context-menu.mac .mx-context-menu-item{border-radius:5px;margin:0 6px;padding:3px 6px}.mx-menu-bar.mac .mx-context-menu-item.keyboard-focus,.mx-context-menu.mac .mx-context-menu-item.keyboard-focus{background-color:var(--mx-menu-active-backgroud);color:var(--mx-menu-active-text);outline:none}.mx-menu-bar.mac .mx-context-menu-item.keyboard-focus .mx-right-arrow,.mx-menu-bar.mac .mx-context-menu-item.keyboard-focus .mx-checked-mark,.mx-context-menu.mac .mx-context-menu-item.keyboard-focus .mx-right-arrow,.mx-context-menu.mac .mx-context-menu-item.keyboard-focus .mx-checked-mark{fill:var(--mx-menu-active-text)}.mx-menu-bar.mac .mx-context-menu-item.keyboard-focus .mx-shortcut,.mx-context-menu.mac .mx-context-menu-item.keyboard-focus .mx-shortcut{background-color:var(--mx-menu-shortcut-backgroud-active);color:var(--mx-menu-shortcut-text-active)}.mx-menu-bar.mac .mx-context-menu-item-sperator,.mx-context-menu.mac .mx-context-menu-item-sperator{margin:0 12px}.mx-context-menu .vue-scroll-rect>.scroll-content{overflow-y:scroll;height:100%;width:auto;position:relative!important}.mx-menu-ghost-host{position:absolute;inset:0;overflow:hidden;pointer-events:none}.mx-menu-ghost-host.fullscreen{position:fixed}.mx-menu-bar{flex:1;display:flex;flex-direction:row;align-items:center;background-color:var(--mx-menu-backgroud);padding:5px 0}.mx-menu-bar.mini{flex-grow:0}.mx-menu-bar .mx-menu-bar-content{display:flex;flex-direction:row;align-items:center}.mx-menu-bar .mx-menu-bar-item{padding:2px 8px;border-radius:5px;-webkit-user-select:none;user-select:none;background-color:var(--mx-menu-backgroud);color:var(--mx-menu-text)}.mx-menu-bar .mx-menu-bar-item:hover{background-color:var(--mx-menu-hover-backgroud);color:var(--mx-menu-hover-text)}.mx-menu-bar .mx-menu-bar-item:hover .mx-menu-bar-icon-menu{fill:var(--mx-menu-hover-text)}.mx-menu-bar .mx-menu-bar-item:active,.mx-menu-bar .mx-menu-bar-item.active{background-color:var(--mx-menu-active-backgroud);color:var(--mx-menu-active-text)}.mx-menu-bar .mx-menu-bar-item:active .mx-menu-bar-icon-menu,.mx-menu-bar .mx-menu-bar-item.active .mx-menu-bar-icon-menu{fill:var(--mx-menu-active-text)}.mx-menu-bar .mx-menu-bar-icon-menu{fill:var(--mx-menu-text);width:var(--mx-menu-icon-size);height:var(--mx-menu-icon-size)}.mx-menu-bar.flat .mx-menu-bar-item{border-radius:0}.picture-container[data-v-98faca05]{overflow:hidden}.svg-container[data-v-ecab498d]{width:100%;height:100%}.svg-container svg[data-v-ecab498d]{width:100%;height:100%}.svg-container[data-v-b3cb4a61]{width:100%;height:100%}.svg-container svg[data-v-b3cb4a61]{width:100%;height:100%}.svg-container[data-v-939b62a1]{width:100%;height:100%}.svg-container svg[data-v-939b62a1]{width:100%;height:100%}.svg-container[data-v-7dcb2081]{width:100%;height:100%}.svg-container svg[data-v-7dcb2081]{width:100%;height:100%}.svg-container[data-v-4ce499b1]{width:100%;height:100%}.svg-container svg[data-v-4ce499b1]{width:100%;height:100%}.svg-container[data-v-aec13cc0]{width:100%;height:100%}.svg-container svg[data-v-aec13cc0]{width:100%;height:100%}.svg-container[data-v-cddc7262]{width:100%;height:100%}.svg-container svg[data-v-cddc7262]{width:100%;height:100%}.svg-container[data-v-9916489f]{width:100%;height:100%}.svg-container svg[data-v-9916489f]{width:100%;height:100%}.svg-container[data-v-2ea14870]{width:100%;height:100%}.svg-container svg[data-v-2ea14870]{width:100%;height:100%}.svg-container[data-v-78f636ae]{width:100%;height:100%}.svg-container svg[data-v-78f636ae]{width:100%;height:100%}.svg-container[data-v-f695b4bc]{width:100%;height:100%}.svg-container svg[data-v-f695b4bc]{width:100%;height:100%}.svg-container[data-v-c70396c8]{width:100%;height:100%}.svg-container svg[data-v-c70396c8]{width:100%;height:100%}.svg-container[data-v-c70396c8] .svg-first-color{fill:var(--custom-first-color)!important}.svg-container[data-v-c70396c8] .svg-second-color{fill:var(--custom-second-color)!important}.svg-container[data-v-c70396c8] .svg-third-color{fill:var(--custom-third-color)!important}.svg-container[data-v-c70396c8] .svg-four-color{fill:var(--custom-four-color)!important}.svg-container[data-v-c70396c8] .svg-five-color{fill:var(--custom-five-color)!important}.svg-container[data-v-0ad0dffa]{width:100%;height:100%}.svg-container svg[data-v-0ad0dffa]{width:100%;height:100%}.canvas-grid-container[data-v-6480756a]{width:100%;height:100%;overflow:hidden}.grid-container[data-v-dced3ee3],.divider[data-v-490ca7b4],.div-container[data-v-13607fe3]{width:100%;height:100%}.division-button[data-v-13607fe3]{width:100%;height:100%;position:relative;overflow:hidden;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer}.division-content[data-v-13607fe3]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;gap:6px;cursor:pointer;pointer-events:none}.division-button[data-v-13607fe3]:after{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background-color:#2f6dff33;transform:translate(-50%,-50%);transition:width .4s ease,height .4s ease}.division-button[data-v-13607fe3]:active:not(.division-disabled):after{width:120%;height:120%}.division-text[data-v-13607fe3]{z-index:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;pointer-events:none}.division-icon[data-v-13607fe3]{font-size:14px;transition:all .3s ease;z-index:1;display:flex;align-items:center}.division-hover .division-icon[data-v-13607fe3]{transform:translate(2px)}.division-disabled[data-v-13607fe3]{pointer-events:none;cursor:not-allowed!important}.division-disabled .division-content[data-v-13607fe3],.division-disabled .division-text[data-v-13607fe3],.division-disabled .division-icon[data-v-13607fe3]{cursor:not-allowed!important}@media(max-width:480px){.division-content[data-v-13607fe3]{flex-wrap:wrap;gap:4px}.division-text[data-v-13607fe3],.division-icon[data-v-13607fe3]{font-size:12px}}.sd-sdg-container[data-v-e414e3a9]{width:100%;height:100%}.sd-sdg-container[data-v-e414e3a9] .el-table{background-color:transparent!important}.custom-table[data-v-e414e3a9]{--el-table-border-color: var(--custom-el-border-color,var(--el-border-color-lighter));--el-table-tr-bg-color: var(--custom-el-bg-color,var(--el-bg-color));--el-table-row-hover-bg-color: var(--custom-el-hover-bg-color,var(--el-fill-color-light))}.custom-table[data-v-e414e3a9] .cell{padding:0}.svg-container[data-v-9b5aaa7c]{width:100%;height:100%}.svg-container svg[data-v-9b5aaa7c]{width:100%;height:100%}.svg-container[data-v-9b5aaa7c] .svg-first-color{fill:var(--custom-first-color)!important}.svg-container[data-v-9b5aaa7c] .svg-second-color{fill:var(--custom-second-color)!important}.svg-container[data-v-9b5aaa7c] .svg-third-color{fill:var(--custom-third-color)!important}.svg-container[data-v-9b5aaa7c] .svg-four-color{fill:var(--custom-four-color)!important}.svg-container[data-v-9b5aaa7c] .svg-five-color{fill:var(--custom-five-color)!important}.svg-container[data-v-4c7f5643]{width:100%;height:100%}.svg-container svg[data-v-4c7f5643]{width:100%;height:100%}.svg-container[data-v-7dfeb364]{width:100%;height:100%}.svg-container svg[data-v-7dfeb364]{width:100%;height:100%}.svg-container[data-v-7b2d27df]{width:100%;height:100%}.svg-container svg[data-v-7b2d27df]{width:100%;height:100%}.svg-container[data-v-1d9984f5]{width:100%;height:100%}.svg-container svg[data-v-1d9984f5]{width:100%;height:100%}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import { inject as _e, resolveComponent as ze, createElementBlock as N, openBlock as W, normalizeStyle as we, createVNode as je, ref as _, computed as h, watch as B, provide as De, onBeforeMount as $, onMounted as J, onBeforeUnmount as Q, onUnmounted as ee, onActivated as ge, onDeactivated as be, Fragment as at, renderList as ct, createBlock as Ce, KeepAlive as Et, createCommentVNode as ie, defineComponent as Ke, toRefs as Qe, h as ut, nextTick as Ie, unref as G, renderSlot as Me, normalizeClass as Xe, createElementVNode as se, mergeProps as rt, toDisplayString as
|
|
3
|
-
import { CommonUtils as
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.subpage-container[data-v-b089116d]{display:flex;align-items:center;margin:0;overflow:hidden}.subpage-container[data-v-bb8f4064]{padding:0;display:flex;align-items:center}:root{--vue-scroll-rect-scrollbar-thumb-color: rgba(122,122,122, .3);--vue-scroll-rect-scrollbar-thumb-color-light: rgba(122, 122, 122, .5);--vue-scroll-rect-scrollbar-thumb-color-pressed: rgba(112, 112, 112, .2);--vue-scroll-rect-scrollbar-thumb-radius: 5px;--vue-scroll-rect-scrollbar-thumb-margin: 0px;--vue-scroll-rect-scrollbar-size: 8px}.vue-scroll-rect{position:relative;width:100%;height:100%;margin:0;overflow:hidden}.vue-scroll-rect>.scroll-content{position:relative;max-width:100%;max-height:100%;scrollbar-width:none;-ms-overflow-style:none}.vue-scroll-rect>.scroll-content::-webkit-scrollbar{width:0;height:0}.vue-scroll-rect>.scroll-content::-ms-scrollbar{width:0;height:0}.vue-scroll-rect>.scroll-content.both{overflow:scroll}.vue-scroll-rect>.scroll-content.horizontal{overflow-x:scroll}.vue-scroll-rect>.scroll-content.vertical{overflow-y:scroll}.vue-scroll-rect:hover>.scrollbar{opacity:1;transition:opacity .1s}.vue-scroll-rect.always-show-scrollbar>.scrollbar,.vue-scroll-rect .dragging>.scrollbar{opacity:1}.vue-scroll-rect.background-clickable>.scrollbar{pointer-events:all}.vue-scroll-rect>.scrollbar{position:absolute;opacity:0;transition:opacity 1.5s;pointer-events:none}.vue-scroll-rect>.scrollbar:hover{opacity:1}.vue-scroll-rect>.scrollbar .thumb{position:absolute;background-color:var(--vue-scroll-rect-scrollbar-thumb-color);border-radius:var(--vue-scroll-rect-scrollbar-thumb-radius);pointer-events:all}.vue-scroll-rect>.scrollbar .thumb:hover{background-color:var(--vue-scroll-rect-scrollbar-thumb-color-light)}.vue-scroll-rect>.scrollbar .thumb:active{background-color:var(--vue-scroll-rect-scrollbar-thumb-color-pressed)}.vue-scroll-rect>.scrollbar.horizontal{left:0;bottom:0;right:0;height:var(--vue-scroll-rect-scrollbar-size)}.vue-scroll-rect>.scrollbar.horizontal .thumb{top:var(--vue-scroll-rect-scrollbar-thumb-margin);bottom:var(--vue-scroll-rect-scrollbar-thumb-margin)}.vue-scroll-rect>.scrollbar.vertical{top:0;bottom:0;right:0;width:var(--vue-scroll-rect-scrollbar-size)}.vue-scroll-rect>.scrollbar.vertical .thumb{left:var(--vue-scroll-rect-scrollbar-thumb-margin);right:var(--vue-scroll-rect-scrollbar-thumb-margin)}:root{--mx-menu-backgroud: #fff;--mx-menu-hover-backgroud: #f1f1f1;--mx-menu-active-backgroud: #dfdfdf;--mx-menu-open-backgroud: #f1f1f1;--mx-menu-open-hover-backgroud: #f1f1f1;--mx-menu-divider: #f0f0f0;--mx-menu-text: #2e2e2e;--mx-menu-hover-text: #2e2e2e;--mx-menu-active-text: #2e2e2e;--mx-menu-open-text: #2e2e2e;--mx-menu-open-hover-text: #2e2e2e;--mx-menu-disabled-text: #c9c8c8;--mx-menu-icon-size: 16px;--mx-menu-shadow-color: rgba(0, 0, 0, .1);--mx-menu-backgroud-radius: 10px;--mx-menu-scrollbar-thumb-color: rgba(0, 0, 0, .2);--mx-menu-scrollbar-thumb-color-light: rgba(0, 0, 0, .3);--mx-menu-scrollbar-thumb-color-pressed: rgba(0, 0, 0, .1);--mx-menu-shortcut-backgroud: #ebebeb;--mx-menu-shortcut-backgroud-hover:#ebebeb;--mx-menu-shortcut-backgroud-active:#ebebeb;--mx-menu-shortcut-backgroud-open:#ebebeb;--mx-menu-shortcut-backgroud-disabled:#fdfdfd;--mx-menu-shortcut-text: #424242;--mx-menu-shortcut-text-hover: #424242;--mx-menu-shortcut-text-active: #424242;--mx-menu-shortcut-text-open: #424242;--mx-menu-shortcut-text-disabled: #a5a5a5;--mx-menu-placeholder-width: 24px}.mx-context-menu{pointer-events:all;display:inline-block;overflow:visible;position:absolute;background-color:var(--mx-menu-backgroud);border-radius:var(--mx-menu-backgroud-radius);padding:12px 0;box-shadow:0 10px 40px 10px var(--mx-menu-shadow-color);opacity:1;transition:opacity .2s ease-in-out;--vue-scroll-rect-scrollbar-thumb-color: var(--mx-menu-scrollbar-thumb-color);--vue-scroll-rect-scrollbar-thumb-color-light: var(--mx-menu-scrollbar-thumb-color-light);--vue-scroll-rect-scrollbar-thumb-color-pressed: var(--mx-menu-scrollbar-thumb-color-pressed)}.mx-context-menu-items{position:relative;overflow:visible}.mx-context-menu-scroll{overscroll-behavior:contain}.mx-context-menu-item{display:flex;flex-direction:row;justify-content:space-between;align-items:center;position:relative;padding:6px 15px;-webkit-user-select:none;user-select:none;overflow:visible;white-space:nowrap;text-overflow:ellipsis;color:var(--mx-menu-text)}.mx-context-menu-item .mx-right-arrow,.mx-context-menu-item .mx-checked-mark{fill:var(--mx-menu-text)}.mx-context-menu-item:hover{background-color:var(--mx-menu-hover-backgroud);color:var(--mx-menu-hover-text)}.mx-context-menu-item:hover .mx-right-arrow,.mx-context-menu-item:hover .mx-checked-mark{fill:var(--mx-menu-hover-text)}.mx-context-menu-item:hover .mx-shortcut{background-color:var(--mx-menu-shortcut-backgroud-hover);color:var(--mx-menu-shortcut-text-hover)}.mx-context-menu-item:active{background-color:var(--mx-menu-active-backgroud);color:var(--mx-menu-active-text)}.mx-context-menu-item:active .mx-right-arrow,.mx-context-menu-item:active .mx-checked-mark{fill:var(--mx-menu-active-text)}.mx-context-menu-item:active .mx-shortcut{background-color:var(--mx-menu-shortcut-backgroud-active);color:var(--mx-menu-shortcut-text-active)}.mx-context-menu-item.open{background-color:var(--mx-menu-open-backgroud);color:var(--mx-menu-open-text)}.mx-context-menu-item.open:hover{background-color:var(--mx-menu-open-hover-backgroud);color:var(--mx-menu-open-hover-text)}.mx-context-menu-item.open .mx-right-arrow,.mx-context-menu-item.open .mx-checked-mark{fill:var(--mx-menu-open-text)}.mx-context-menu-item.open .mx-shortcut{background-color:var(--mx-menu-shortcut-backgroud-open);color:var(--mx-menu-shortcut-text-open)}.mx-context-menu-item.keyboard-focus{background-color:var(--mx-menu-active-backgroud)}.mx-context-menu-item.disabled{color:var(--mx-menu-disabled-text);cursor:not-allowed}.mx-context-menu-item.disabled:hover,.mx-context-menu-item.disabled:active{background-color:transparent}.mx-context-menu-item.disabled .mx-right-arrow,.mx-context-menu-item.disabled .mx-checked-mark{fill:var(--mx-menu-disabled-text)}.mx-context-menu-item.disabled .mx-shortcut{background-color:var(--mx-menu-shortcut-backgroud-disabled);color:var(--mx-menu-shortcut-text-second)}.mx-context-menu-item .mx-item-row{display:flex;flex-direction:row;align-items:center;max-width:100%}.mx-context-menu-item .mx-icon-placeholder{position:relative;display:flex;flex-direction:row;align-items:center;height:auto;overflow:hidden}.mx-context-menu-item .mx-icon-placeholder.preserve-width{width:var(--mx-menu-placeholder-width)}.mx-context-menu-item .icon{display:inline-block;font-size:var(--mx-menu-icon-size)}.mx-context-menu-item .icon.svg{width:var(--mx-menu-icon-size);height:var(--mx-menu-icon-size)}.mx-context-menu-item .label{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-inline-end:16px}.mx-context-menu-item-wrapper{position:relative}.mx-context-menu-item-sperator{display:block;padding:5px 0;background-color:var(--mx-menu-backgroud)}.mx-context-menu-item-sperator:after{display:block;content:"";background-color:var(--mx-menu-divider);height:1px}.mx-right-arrow{width:14px;height:14px}.mx-checked-mark{width:var(--mx-menu-icon-size);height:var(--mx-menu-icon-size)}.mx-shortcut{position:relative;justify-self:flex-end;font-size:11.5px;padding:2px 4px;background-color:var(--mx-menu-shortcut-backgroud);color:var(--mx-menu-shortcut-text)}.mx-menu-bar.dark,.mx-context-menu.dark{--mx-menu-backgroud: #303031;--mx-menu-hover-backgroud: #636363;--mx-menu-active-backgroud: #555555;--mx-menu-open-backgroud: #636363;--mx-menu-open-hover-backgroud: #636363;--mx-menu-divider: #464646;--mx-menu-text: #ffffff;--mx-menu-hover-text: #ffffff;--mx-menu-active-text: #ffffff;--mx-menu-open-text: #ffffff;--mx-menu-open-hover-text: #ffffff;--mx-menu-disabled-text: #9c9c9c;--mx-menu-shadow-color: rgba(51, 51, 51, .2);--mx-menu-scrollbar-thumb-color: rgba(255, 255, 255, .3);--mx-menu-scrollbar-thumb-color-light: rgba(255, 255, 255, .5);--mx-menu-scrollbar-thumb-color-pressed: rgba(255, 255, 255, .2);--mx-menu-shortcut-backgroud: #505050;--mx-menu-shortcut-backgroud-hover:#505050;--mx-menu-shortcut-backgroud-active:#505050;--mx-menu-shortcut-backgroud-open:#505050;--mx-menu-shortcut-backgroud-disabled:#444444;--mx-menu-shortcut-text: #f1f1f1;--mx-menu-shortcut-text-hover: #ffffff;--mx-menu-shortcut-text-active: #ffffff;--mx-menu-shortcut-text-open: #ffffff;--mx-menu-shortcut-text-disabled: #9d9d9d}.mx-menu-bar.flat,.mx-context-menu.flat{border-radius:0;padding:7px 0;box-shadow:0 1px 2px 1px var(--mx-menu-shadow-color)}.mx-menu-bar.flat .mx-context-menu-item,.mx-context-menu.flat .mx-context-menu-item{padding:3px 12px}.mx-menu-bar.win10,.mx-context-menu.win10{border-radius:0;padding:8px 0;border:1px solid var(--mx-menu-border-color);box-shadow:2px 2px 1px 0 var(--mx-menu-shadow-color)}.mx-menu-bar.win10,.mx-context-menu.win10{--mx-menu-backgroud: #eeeeee;--mx-menu-hover-backgroud: #d8d8d8;--mx-menu-active-backgroud: #dfdfdf;--mx-menu-open-backgroud: #f1f1f1;--mx-menu-open-hover-backgroud: #d8d8d8;--mx-menu-divider: #aaaaaa;--mx-menu-border-color: #b1b1b1;--mx-menu-shortcut-backgroud: transparent;--mx-menu-shortcut-backgroud-hover: transparent;--mx-menu-shortcut-backgroud-active: transparent;--mx-menu-shortcut-backgroud-open: transparent;--mx-menu-shortcut-backgroud-disabled:transparent;--mx-menu-shortcut-text: #272727;--mx-menu-shortcut-text-hover: #272727;--mx-menu-shortcut-text-active: #272727;--mx-menu-shortcut-text-open: #272727;--mx-menu-shortcut-text-disabled: #6b6b6b}.mx-menu-bar.win10 .mx-context-menu-item,.mx-context-menu.win10 .mx-context-menu-item{padding:2px 4px;margin:0 4px}.mx-menu-bar.win10 .mx-context-menu-item-sperator,.mx-context-menu.win10 .mx-context-menu-item-sperator{margin:0 4px}.mx-menu-bar.win10.dark,.mx-context-menu.win10.dark{--mx-menu-backgroud: #303031;--mx-menu-hover-backgroud: #636363;--mx-menu-active-backgroud: #555555;--mx-menu-open-backgroud: #636363;--mx-menu-open-hover-backgroud: #636363;--mx-menu-divider: #808080;--mx-menu-border-color: #656565;--mx-menu-shortcut-backgroud: #505050;--mx-menu-shortcut-backgroud-hover:#505050;--mx-menu-shortcut-backgroud-active:#505050;--mx-menu-shortcut-backgroud-open:#505050;--mx-menu-shortcut-backgroud-disabled:#444444;--mx-menu-shortcut-text: #f1f1f1;--mx-menu-shortcut-text-hover: #ffffff;--mx-menu-shortcut-text-active: #ffffff;--mx-menu-shortcut-text-open: #ffffff;--mx-menu-shortcut-text-disabled: #9d9d9d;padding:8px 0}.mx-menu-bar.win10.dark .mx-context-menu-item,.mx-context-menu.win10.dark .mx-context-menu-item{padding:6px 12px;margin:0}.mx-menu-bar.win10.dark .mx-context-menu-item-sperator,.mx-context-menu.win10.dark .mx-context-menu-item-sperator{margin:0 7px}.mx-menu-bar.mac,.mx-context-menu.mac{padding:8px 0;box-shadow:0 5px 7px 1px var(--mx-menu-shadow-color);border:1px solid var(--mx-menu-border-color)}.mx-menu-bar.mac,.mx-context-menu.mac{--mx-menu-backgroud: #ececec;--mx-menu-hover-backgroud: #0165e1;--mx-menu-active-backgroud: #0165e1;--mx-menu-open-backgroud: #858585;--mx-menu-open-hover-backgroud: #0165e1;--mx-menu-divider: #d2d2d2;--mx-menu-text: #232323;--mx-menu-hover-text: #fff;--mx-menu-active-text: #fff;--mx-menu-open-text: #fff;--mx-menu-open-hover-text: #fff;--mx-menu-disabled-text: #bbbbbb;--mx-menu-shadow-color: rgba(0, 0, 0, .1);--mx-menu-backgroud-radius: 10px;--mx-menu-shortcut-backgroud: transparent;--mx-menu-shortcut-backgroud-hover:transparent;--mx-menu-shortcut-backgroud-active:transparent;--mx-menu-shortcut-backgroud-open:transparent;--mx-menu-shortcut-backgroud-disabled:transparent;--mx-menu-shortcut-text: #424242;--mx-menu-shortcut-text-hover: #fff;--mx-menu-shortcut-text-active: #fff;--mx-menu-shortcut-text-open: #fff;--mx-menu-shortcut-text-disabled: #a5a5a5;--mx-menu-border-color: #bbbbbb}.mx-menu-bar.mac.dark,.mx-context-menu.mac.dark{--mx-menu-backgroud: #333333;--mx-menu-hover-backgroud: #0153d2;--mx-menu-active-backgroud: #0153d2;--mx-menu-open-hover-backgroud: #0153d2;--mx-menu-open-backgroud: #414346;--mx-menu-divider: #575757;--mx-menu-text: #dcdcdc;--mx-menu-hover-text: #fff;--mx-menu-active-text: #fff;--mx-menu-open-text: #fff;--mx-menu-open-hover-text: #fff;--mx-menu-disabled-text: #6a6a6a;--mx-menu-shadow-color: rgba(0, 0, 0, .1);--mx-menu-backgroud-radius: 10px;--mx-menu-shortcut-backgroud: transparent;--mx-menu-shortcut-backgroud-hover:transparent;--mx-menu-shortcut-backgroud-active:transparent;--mx-menu-shortcut-backgroud-open:transparent;--mx-menu-shortcut-backgroud-disabled:transparent;--mx-menu-shortcut-text: #dadada;--mx-menu-shortcut-text-hover: #fff;--mx-menu-shortcut-text-active: #fff;--mx-menu-shortcut-text-open: #fff;--mx-menu-shortcut-text-disabled: #6a6a6a;--mx-menu-border-color: #222}.mx-menu-bar.mac .mx-context-menu-item,.mx-context-menu.mac .mx-context-menu-item{border-radius:5px;margin:0 6px;padding:3px 6px}.mx-menu-bar.mac .mx-context-menu-item.keyboard-focus,.mx-context-menu.mac .mx-context-menu-item.keyboard-focus{background-color:var(--mx-menu-active-backgroud);color:var(--mx-menu-active-text);outline:none}.mx-menu-bar.mac .mx-context-menu-item.keyboard-focus .mx-right-arrow,.mx-menu-bar.mac .mx-context-menu-item.keyboard-focus .mx-checked-mark,.mx-context-menu.mac .mx-context-menu-item.keyboard-focus .mx-right-arrow,.mx-context-menu.mac .mx-context-menu-item.keyboard-focus .mx-checked-mark{fill:var(--mx-menu-active-text)}.mx-menu-bar.mac .mx-context-menu-item.keyboard-focus .mx-shortcut,.mx-context-menu.mac .mx-context-menu-item.keyboard-focus .mx-shortcut{background-color:var(--mx-menu-shortcut-backgroud-active);color:var(--mx-menu-shortcut-text-active)}.mx-menu-bar.mac .mx-context-menu-item-sperator,.mx-context-menu.mac .mx-context-menu-item-sperator{margin:0 12px}.mx-context-menu .vue-scroll-rect>.scroll-content{overflow-y:scroll;height:100%;width:auto;position:relative!important}.mx-menu-ghost-host{position:absolute;inset:0;overflow:hidden;pointer-events:none}.mx-menu-ghost-host.fullscreen{position:fixed}.mx-menu-bar{flex:1;display:flex;flex-direction:row;align-items:center;background-color:var(--mx-menu-backgroud);padding:5px 0}.mx-menu-bar.mini{flex-grow:0}.mx-menu-bar .mx-menu-bar-content{display:flex;flex-direction:row;align-items:center}.mx-menu-bar .mx-menu-bar-item{padding:2px 8px;border-radius:5px;-webkit-user-select:none;user-select:none;background-color:var(--mx-menu-backgroud);color:var(--mx-menu-text)}.mx-menu-bar .mx-menu-bar-item:hover{background-color:var(--mx-menu-hover-backgroud);color:var(--mx-menu-hover-text)}.mx-menu-bar .mx-menu-bar-item:hover .mx-menu-bar-icon-menu{fill:var(--mx-menu-hover-text)}.mx-menu-bar .mx-menu-bar-item:active,.mx-menu-bar .mx-menu-bar-item.active{background-color:var(--mx-menu-active-backgroud);color:var(--mx-menu-active-text)}.mx-menu-bar .mx-menu-bar-item:active .mx-menu-bar-icon-menu,.mx-menu-bar .mx-menu-bar-item.active .mx-menu-bar-icon-menu{fill:var(--mx-menu-active-text)}.mx-menu-bar .mx-menu-bar-icon-menu{fill:var(--mx-menu-text);width:var(--mx-menu-icon-size);height:var(--mx-menu-icon-size)}.mx-menu-bar.flat .mx-menu-bar-item{border-radius:0}.picture-container[data-v-98faca05]{overflow:hidden}.svg-container[data-v-ecab498d]{width:100%;height:100%}.svg-container svg[data-v-ecab498d]{width:100%;height:100%}.svg-container[data-v-492c77bc]{width:100%;height:100%}.svg-container svg[data-v-492c77bc]{width:100%;height:100%}.svg-container[data-v-939b62a1]{width:100%;height:100%}.svg-container svg[data-v-939b62a1]{width:100%;height:100%}.svg-container[data-v-7dcb2081]{width:100%;height:100%}.svg-container svg[data-v-7dcb2081]{width:100%;height:100%}.svg-container[data-v-4ce499b1]{width:100%;height:100%}.svg-container svg[data-v-4ce499b1]{width:100%;height:100%}.svg-container[data-v-aec13cc0]{width:100%;height:100%}.svg-container svg[data-v-aec13cc0]{width:100%;height:100%}.svg-container[data-v-cddc7262]{width:100%;height:100%}.svg-container svg[data-v-cddc7262]{width:100%;height:100%}.svg-container[data-v-9916489f]{width:100%;height:100%}.svg-container svg[data-v-9916489f]{width:100%;height:100%}.svg-container[data-v-2ea14870]{width:100%;height:100%}.svg-container svg[data-v-2ea14870]{width:100%;height:100%}.svg-container[data-v-78f636ae]{width:100%;height:100%}.svg-container svg[data-v-78f636ae]{width:100%;height:100%}.svg-container[data-v-f695b4bc]{width:100%;height:100%}.svg-container svg[data-v-f695b4bc]{width:100%;height:100%}.svg-container[data-v-c70396c8]{width:100%;height:100%}.svg-container svg[data-v-c70396c8]{width:100%;height:100%}.svg-container[data-v-c70396c8] .svg-first-color{fill:var(--custom-first-color)!important}.svg-container[data-v-c70396c8] .svg-second-color{fill:var(--custom-second-color)!important}.svg-container[data-v-c70396c8] .svg-third-color{fill:var(--custom-third-color)!important}.svg-container[data-v-c70396c8] .svg-four-color{fill:var(--custom-four-color)!important}.svg-container[data-v-c70396c8] .svg-five-color{fill:var(--custom-five-color)!important}.svg-container[data-v-0ad0dffa]{width:100%;height:100%}.svg-container svg[data-v-0ad0dffa]{width:100%;height:100%}.canvas-grid-container[data-v-6480756a]{width:100%;height:100%;overflow:hidden}.grid-container[data-v-dced3ee3],.divider[data-v-490ca7b4],.div-container[data-v-13607fe3]{width:100%;height:100%}.division-button[data-v-13607fe3]{width:100%;height:100%;position:relative;overflow:hidden;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer}.division-content[data-v-13607fe3]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;gap:6px;cursor:pointer;pointer-events:none}.division-button[data-v-13607fe3]:after{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background-color:#2f6dff33;transform:translate(-50%,-50%);transition:width .4s ease,height .4s ease}.division-button[data-v-13607fe3]:active:not(.division-disabled):after{width:120%;height:120%}.division-text[data-v-13607fe3]{z-index:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;pointer-events:none}.division-icon[data-v-13607fe3]{font-size:14px;transition:all .3s ease;z-index:1;display:flex;align-items:center}.division-hover .division-icon[data-v-13607fe3]{transform:translate(2px)}.division-disabled[data-v-13607fe3]{pointer-events:none;cursor:not-allowed!important}.division-disabled .division-content[data-v-13607fe3],.division-disabled .division-text[data-v-13607fe3],.division-disabled .division-icon[data-v-13607fe3]{cursor:not-allowed!important}@media(max-width:480px){.division-content[data-v-13607fe3]{flex-wrap:wrap;gap:4px}.division-text[data-v-13607fe3],.division-icon[data-v-13607fe3]{font-size:12px}}.sd-sdg-container[data-v-e414e3a9]{width:100%;height:100%}.sd-sdg-container[data-v-e414e3a9] .el-table{background-color:transparent!important}.custom-table[data-v-e414e3a9]{--el-table-border-color: var(--custom-el-border-color,var(--el-border-color-lighter));--el-table-tr-bg-color: var(--custom-el-bg-color,var(--el-bg-color));--el-table-row-hover-bg-color: var(--custom-el-hover-bg-color,var(--el-fill-color-light))}.custom-table[data-v-e414e3a9] .cell{padding:0}.svg-container[data-v-9b5aaa7c]{width:100%;height:100%}.svg-container svg[data-v-9b5aaa7c]{width:100%;height:100%}.svg-container[data-v-9b5aaa7c] .svg-first-color{fill:var(--custom-first-color)!important}.svg-container[data-v-9b5aaa7c] .svg-second-color{fill:var(--custom-second-color)!important}.svg-container[data-v-9b5aaa7c] .svg-third-color{fill:var(--custom-third-color)!important}.svg-container[data-v-9b5aaa7c] .svg-four-color{fill:var(--custom-four-color)!important}.svg-container[data-v-9b5aaa7c] .svg-five-color{fill:var(--custom-five-color)!important}.svg-container[data-v-4c7f5643]{width:100%;height:100%}.svg-container svg[data-v-4c7f5643]{width:100%;height:100%}.svg-container[data-v-7dfeb364]{width:100%;height:100%}.svg-container svg[data-v-7dfeb364]{width:100%;height:100%}.svg-container[data-v-7b2d27df]{width:100%;height:100%}.svg-container svg[data-v-7b2d27df]{width:100%;height:100%}.svg-container[data-v-1d9984f5]{width:100%;height:100%}.svg-container svg[data-v-1d9984f5]{width:100%;height:100%}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { inject as _e, resolveComponent as ze, createElementBlock as N, openBlock as W, normalizeStyle as we, createVNode as je, ref as _, computed as h, watch as B, provide as De, onBeforeMount as $, onMounted as J, onBeforeUnmount as Q, onUnmounted as ee, onActivated as ge, onDeactivated as be, Fragment as at, renderList as ct, createBlock as Ce, KeepAlive as Et, createCommentVNode as ie, defineComponent as Ke, toRefs as Qe, h as ut, nextTick as Ie, unref as G, renderSlot as Me, normalizeClass as Xe, createElementVNode as se, mergeProps as rt, toDisplayString as Te, Teleport as Pt, Transition as Nt, withCtx as Pe, createSlots as Lt, reactive as Ye, useSlots as Rt, normalizeProps as zt, guardReactiveProps as Kt, render as Ct, createTextVNode as fe } from "vue";
|
|
3
|
+
import { CommonUtils as q, useDataCacheStore as ae, createSmartAccessor as ue, reCalcCanvasSize as bt, CreateCompContext as te, useEventHandler as le, createDynamicColor as _t } from "hflvloader";
|
|
4
4
|
import { useRouter as oe, useRoute as ne } from "vue-router";
|
|
5
5
|
(function() {
|
|
6
6
|
const t = () => {
|
|
7
|
-
console.log("%c 可视化组件库 hflvcomp", "color: #3498db; font-size: 16px; font-weight: bold;"), console.log("%c版本号: 0.0.
|
|
7
|
+
console.log("%c 可视化组件库 hflvcomp", "color: #3498db; font-size: 16px; font-weight: bold;"), console.log("%c版本号: 0.0.15", "color: #2ecc71;"), console.log("%c编译日期: 2026/5/2 11:56:14", "color: #3498db;");
|
|
8
8
|
};
|
|
9
9
|
if (typeof window < "u") {
|
|
10
10
|
window._copyright_hflvcomp = t;
|
|
@@ -58,7 +58,7 @@ const ve = (t, f) => {
|
|
|
58
58
|
isObject: e,
|
|
59
59
|
hasOwnPathInObject: d,
|
|
60
60
|
getValueByPath: r
|
|
61
|
-
} =
|
|
61
|
+
} = q, o = Je(), l = t, s = _(null), v = _({}), p = _([]);
|
|
62
62
|
let m = {}, g = [];
|
|
63
63
|
const a = _({
|
|
64
64
|
color: null,
|
|
@@ -82,7 +82,7 @@ const ve = (t, f) => {
|
|
|
82
82
|
return n(z.background) && !n(z["background-color"]) && delete z["background-color"], n(z.background) || n(z["background-image"]) || n(z["background-color"]) || (z["background-color"] = "transparent !important"), z;
|
|
83
83
|
}), V = ae(), y = ue(V), u = _(null), S = h(() => n(O.value.subpageId) ? O.value.subpageId : n(O.value.subpageIdCK) ? y[O.value.subpageIdCK] : "");
|
|
84
84
|
B(() => S.value, (j) => {
|
|
85
|
-
n(j) &&
|
|
85
|
+
n(j) && A();
|
|
86
86
|
}), B(() => I.value.style.width, (j) => {
|
|
87
87
|
Z();
|
|
88
88
|
}), B(() => I.value.style.height, (j) => {
|
|
@@ -99,7 +99,7 @@ const ve = (t, f) => {
|
|
|
99
99
|
});
|
|
100
100
|
}, k = () => {
|
|
101
101
|
m = {}, g = [], v.value = {}, p.value = [], R();
|
|
102
|
-
},
|
|
102
|
+
}, A = () => {
|
|
103
103
|
let j = S.value;
|
|
104
104
|
if (n(j)) {
|
|
105
105
|
let P = "DB";
|
|
@@ -131,9 +131,9 @@ const ve = (t, f) => {
|
|
|
131
131
|
const re = P.propValue[L];
|
|
132
132
|
if (typeof re == "string") {
|
|
133
133
|
const me = /\{#(.*?)#\}/g;
|
|
134
|
-
me.test(re) && (me.lastIndex = 0, P.propValue[L] = re.replace(me, (K,
|
|
135
|
-
const
|
|
136
|
-
return
|
|
134
|
+
me.test(re) && (me.lastIndex = 0, P.propValue[L] = re.replace(me, (K, T) => {
|
|
135
|
+
const Y = H(T.trim());
|
|
136
|
+
return Y !== void 0 ? Y : K;
|
|
137
137
|
}));
|
|
138
138
|
}
|
|
139
139
|
});
|
|
@@ -150,7 +150,7 @@ const ve = (t, f) => {
|
|
|
150
150
|
$(() => {
|
|
151
151
|
u.value = le(x.value, l.designStatus, b), u.value?.beforeMount();
|
|
152
152
|
}), J(() => {
|
|
153
|
-
|
|
153
|
+
A(), u.value?.mounted();
|
|
154
154
|
}), Q(() => {
|
|
155
155
|
u.value?.beforeUnmount();
|
|
156
156
|
}), ee(() => {
|
|
@@ -172,7 +172,7 @@ const ve = (t, f) => {
|
|
|
172
172
|
return D;
|
|
173
173
|
}, set backgroundColor(j) {
|
|
174
174
|
D = j;
|
|
175
|
-
}, propValue: O, element: I, events: x, containerParam: C, containerStyle: w, dataCache: V, smartData: y, eventHandler: u, pageId: S, clearBackground: R, clearData: k, loadPageInfo:
|
|
175
|
+
}, propValue: O, element: I, events: x, containerParam: C, containerStyle: w, dataCache: V, smartData: y, eventHandler: u, pageId: S, clearBackground: R, clearData: k, loadPageInfo: A, _getValueByVariableName: H, formatCompAttr: E, reCalcSizeData: Z, router: i, route: c, compContext: b, ref: _, computed: h, onMounted: J, watch: B, provide: De, onBeforeMount: $, onBeforeUnmount: Q, onUnmounted: ee, onActivated: ge, onDeactivated: be, get useEventHandler() {
|
|
176
176
|
return le;
|
|
177
177
|
}, get useDataCacheStore() {
|
|
178
178
|
return ae;
|
|
@@ -185,7 +185,7 @@ const ve = (t, f) => {
|
|
|
185
185
|
}, get useRouter() {
|
|
186
186
|
return oe;
|
|
187
187
|
}, get CommonUtils() {
|
|
188
|
-
return
|
|
188
|
+
return q;
|
|
189
189
|
}, get useApi() {
|
|
190
190
|
return Je;
|
|
191
191
|
}, get reCalcCanvasSize() {
|
|
@@ -208,7 +208,7 @@ function Ut(t, f, n, e, d, r) {
|
|
|
208
208
|
}, null, 8, ["canvas-style", "component-data", "design-status"])
|
|
209
209
|
], 4);
|
|
210
210
|
}
|
|
211
|
-
const Xt = /* @__PURE__ */ ve(Gt, [["render", Ut], ["__scopeId", "data-v-b089116d"], ["__file", "Component.vue"]]),
|
|
211
|
+
const Xt = /* @__PURE__ */ ve(Gt, [["render", Ut], ["__scopeId", "data-v-b089116d"], ["__file", "Component.vue"]]), Yt = /* @__PURE__ */ Object.assign({
|
|
212
212
|
name: "MultiSubpage"
|
|
213
213
|
}, {
|
|
214
214
|
__name: "Component",
|
|
@@ -229,7 +229,7 @@ const Xt = /* @__PURE__ */ ve(Gt, [["render", Ut], ["__scopeId", "data-v-b089116
|
|
|
229
229
|
},
|
|
230
230
|
setup(t, { expose: f }) {
|
|
231
231
|
f();
|
|
232
|
-
const { isArray: n, isNotEmpty: e, isObject: d, isComputed: r, getJsonObject: o } =
|
|
232
|
+
const { isArray: n, isNotEmpty: e, isObject: d, isComputed: r, getJsonObject: o } = q, l = t, s = h(() => l.propValue), v = h(() => l.element), p = h(() => v.value.events || []), m = ae(), g = ue(m), a = _(null), D = _e("VE-ContainerParam"), O = g[s.value.dsCacheKey], I = h(() => s.value.staticData ? s.value.items || [] : n(O.value) ? O.value : []), x = () => {
|
|
233
233
|
if (D) {
|
|
234
234
|
if (r(D))
|
|
235
235
|
return D.value;
|
|
@@ -238,9 +238,9 @@ const Xt = /* @__PURE__ */ ve(Gt, [["render", Ut], ["__scopeId", "data-v-b089116
|
|
|
238
238
|
}
|
|
239
239
|
return {};
|
|
240
240
|
}, C = h(() => {
|
|
241
|
-
let k = I.value || [],
|
|
241
|
+
let k = I.value || [], A = [];
|
|
242
242
|
return k.forEach((H, E) => {
|
|
243
|
-
|
|
243
|
+
A[E] = {};
|
|
244
244
|
let Z = H.attr || {}, i = {};
|
|
245
245
|
i.style = {}, i.prop = {}, i.containerParam = {};
|
|
246
246
|
const c = o(Z.prop) || {};
|
|
@@ -248,8 +248,8 @@ const Xt = /* @__PURE__ */ ve(Gt, [["render", Ut], ["__scopeId", "data-v-b089116
|
|
|
248
248
|
const b = o(Z.style) || {};
|
|
249
249
|
Object.assign(i.style, b), Object.assign(i.containerParam, x());
|
|
250
250
|
const M = o(Z.containerParam) || {};
|
|
251
|
-
Object.assign(i.containerParam, M), i.prop.subpageId = H.value, i.style.width = v.value.style.width, i.style.height = v.value.style.height,
|
|
252
|
-
}),
|
|
251
|
+
Object.assign(i.containerParam, M), i.prop.subpageId = H.value, i.style.width = v.value.style.width, i.style.height = v.value.style.height, A[E].subpageId = H.value, A[E].prop = i.prop, A[E].element = i;
|
|
252
|
+
}), A;
|
|
253
253
|
}), w = _(null), V = g[s.value.activeSubpageIdCK];
|
|
254
254
|
B(() => V.value, (k) => {
|
|
255
255
|
e(s.value.activeSubpageIdCK) && (d(k) || (w.value = k));
|
|
@@ -277,7 +277,7 @@ const Xt = /* @__PURE__ */ ve(Gt, [["render", Ut], ["__scopeId", "data-v-b089116
|
|
|
277
277
|
}, get CreateCompContext() {
|
|
278
278
|
return te;
|
|
279
279
|
}, get CommonUtils() {
|
|
280
|
-
return
|
|
280
|
+
return q;
|
|
281
281
|
}, get useRoute() {
|
|
282
282
|
return ne;
|
|
283
283
|
}, get useRouter() {
|
|
@@ -286,7 +286,7 @@ const Xt = /* @__PURE__ */ ve(Gt, [["render", Ut], ["__scopeId", "data-v-b089116
|
|
|
286
286
|
return Object.defineProperty(R, "__isScriptSetup", { enumerable: !1, value: !0 }), R;
|
|
287
287
|
}
|
|
288
288
|
});
|
|
289
|
-
function
|
|
289
|
+
function qt(t, f, n, e, d, r) {
|
|
290
290
|
const o = ze("Subpage");
|
|
291
291
|
return W(), N("div", { class: "subpage-container" }, [
|
|
292
292
|
(W(!0), N(at, null, ct(e.itemData, (l, s) => (W(), N("div", { key: s }, [
|
|
@@ -301,7 +301,7 @@ function Yt(t, f, n, e, d, r) {
|
|
|
301
301
|
]))), 128))
|
|
302
302
|
]);
|
|
303
303
|
}
|
|
304
|
-
const Zt = /* @__PURE__ */ ve(
|
|
304
|
+
const Zt = /* @__PURE__ */ ve(Yt, [["render", qt], ["__scopeId", "data-v-bb8f4064"], ["__file", "Component.vue"]]);
|
|
305
305
|
function pt(t) {
|
|
306
306
|
var f = typeof t;
|
|
307
307
|
return t != null && (f == "object" || f == "function");
|
|
@@ -318,7 +318,7 @@ var tl = /^\s+/;
|
|
|
318
318
|
function ll(t) {
|
|
319
319
|
return t && t.slice(0, el(t) + 1).replace(tl, "");
|
|
320
320
|
}
|
|
321
|
-
var st = Wt.Symbol,
|
|
321
|
+
var st = Wt.Symbol, Tt = Object.prototype, ol = Tt.hasOwnProperty, nl = Tt.toString, et = st ? st.toStringTag : void 0;
|
|
322
322
|
function rl(t) {
|
|
323
323
|
var f = ol.call(t, et), n = t[et];
|
|
324
324
|
try {
|
|
@@ -413,12 +413,12 @@ function xl() {
|
|
|
413
413
|
return Ne !== null;
|
|
414
414
|
}
|
|
415
415
|
function Sl(t) {
|
|
416
|
-
Ne &&
|
|
416
|
+
Ne && At(), Ne = t;
|
|
417
417
|
}
|
|
418
418
|
function kt(t) {
|
|
419
419
|
t === Ne && (Ne = null);
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function At() {
|
|
422
422
|
Ne && (Ne.closeMenu(), Ne = null);
|
|
423
423
|
}
|
|
424
424
|
const We = {
|
|
@@ -628,12 +628,12 @@ const jt = 140, Pl = 70, Ll = /* @__PURE__ */ Ke({
|
|
|
628
628
|
},
|
|
629
629
|
emits: ["scroll", "resized"],
|
|
630
630
|
setup(t, { expose: f, emit: n }) {
|
|
631
|
-
const e = t, d = n, r = _(), o = _(), l = _(), s = _(), v = _(), p = _(), m = _(!1), g = h(() => e.scroll === "horizontal" || e.scroll === "both"), a = h(() => e.scroll === "vertical" || e.scroll === "both"), D =
|
|
631
|
+
const e = t, d = n, r = _(), o = _(), l = _(), s = _(), v = _(), p = _(), m = _(!1), g = h(() => e.scroll === "horizontal" || e.scroll === "both"), a = h(() => e.scroll === "vertical" || e.scroll === "both"), D = Ye({
|
|
632
632
|
show: !1,
|
|
633
633
|
size: 0,
|
|
634
634
|
sizeRaw: 0,
|
|
635
635
|
pos: 0
|
|
636
|
-
}), O =
|
|
636
|
+
}), O = Ye({
|
|
637
637
|
show: !1,
|
|
638
638
|
size: 0,
|
|
639
639
|
sizeRaw: 0,
|
|
@@ -644,86 +644,86 @@ const jt = 140, Pl = 70, Ll = /* @__PURE__ */ Ke({
|
|
|
644
644
|
function u() {
|
|
645
645
|
if (r.value) {
|
|
646
646
|
if (D.show) {
|
|
647
|
-
const
|
|
648
|
-
D.sizeRaw =
|
|
647
|
+
const T = r.value.offsetWidth / r.value.scrollWidth;
|
|
648
|
+
D.sizeRaw = T * r.value.offsetWidth, D.size = T * 100, D.pos = r.value.scrollLeft / (r.value.scrollWidth - r.value.offsetWidth) * (100 - D.size), T >= 1 && (D.show = !1);
|
|
649
649
|
}
|
|
650
650
|
if (O.show) {
|
|
651
|
-
const
|
|
652
|
-
O.sizeRaw =
|
|
651
|
+
const T = r.value.offsetHeight / r.value.scrollHeight;
|
|
652
|
+
O.sizeRaw = T * r.value.offsetHeight, O.size = T * 100, O.pos = r.value.scrollTop / (r.value.scrollHeight - r.value.offsetHeight) * (100 - O.size), T >= 1 && (O.show = !1);
|
|
653
653
|
}
|
|
654
654
|
d("scroll", r.value.scrollLeft, r.value.scrollTop);
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
|
-
function S(
|
|
657
|
+
function S(T = !1) {
|
|
658
658
|
if (!r.value)
|
|
659
659
|
return;
|
|
660
|
-
let
|
|
661
|
-
const
|
|
662
|
-
if (!
|
|
660
|
+
let Y = g.value, F = a.value;
|
|
661
|
+
const de = Y && (I !== r.value.scrollWidth || C !== r.value.offsetWidth), xe = a && (x !== r.value.scrollHeight || w !== r.value.offsetHeight);
|
|
662
|
+
if (!T && !de && !xe)
|
|
663
663
|
return;
|
|
664
664
|
const pe = window.getComputedStyle(r.value);
|
|
665
|
-
(pe.overflow === "hidden" || pe.overflowX === "hidden") && (
|
|
665
|
+
(pe.overflow === "hidden" || pe.overflowX === "hidden") && (Y = !1), (pe.overflow === "hidden" || pe.overflowY === "hidden") && (F = !1), D.show = Y, O.show = F, u(), C = r.value.offsetWidth, w = r.value.offsetHeight, I = r.value.scrollWidth, x = r.value.scrollHeight, d("resized", I, x);
|
|
666
666
|
}
|
|
667
|
-
function R(
|
|
668
|
-
var
|
|
669
|
-
e.scroll == "horizontal" && (
|
|
670
|
-
left: r.value.scrollLeft + (
|
|
667
|
+
function R(T) {
|
|
668
|
+
var Y;
|
|
669
|
+
e.scroll == "horizontal" && (T.deltaMode == 0 && ((Y = r.value) == null || Y.scrollTo({
|
|
670
|
+
left: r.value.scrollLeft + (T.deltaY > 0 ? jt : -140),
|
|
671
671
|
behavior: "smooth"
|
|
672
|
-
})),
|
|
672
|
+
})), T.preventDefault(), T.stopPropagation());
|
|
673
673
|
}
|
|
674
|
-
function k(
|
|
675
|
-
var
|
|
676
|
-
|
|
677
|
-
left: r.value.scrollLeft + (
|
|
674
|
+
function k(T) {
|
|
675
|
+
var Y;
|
|
676
|
+
T.deltaMode == 0 && ((Y = r.value) == null || Y.scrollTo({
|
|
677
|
+
left: r.value.scrollLeft + (T.deltaY > 0 ? jt : -140),
|
|
678
678
|
behavior: "smooth"
|
|
679
|
-
}),
|
|
679
|
+
}), T.preventDefault(), T.stopPropagation());
|
|
680
680
|
}
|
|
681
|
-
function T
|
|
682
|
-
var
|
|
683
|
-
|
|
684
|
-
top: r.value.scrollTop + (
|
|
681
|
+
function A(T) {
|
|
682
|
+
var Y;
|
|
683
|
+
T.deltaMode == 0 && ((Y = r.value) == null || Y.scrollTo({
|
|
684
|
+
top: r.value.scrollTop + (T.deltaY > 0 ? Pl : -70),
|
|
685
685
|
behavior: "smooth"
|
|
686
|
-
}),
|
|
686
|
+
}), T.preventDefault(), T.stopPropagation());
|
|
687
687
|
}
|
|
688
688
|
let H = 0, E = 0, Z = 0, i = 0;
|
|
689
689
|
const c = Dt({
|
|
690
|
-
onDown(
|
|
691
|
-
return !l.value || !v.value ? !1 : (H =
|
|
690
|
+
onDown(T) {
|
|
691
|
+
return !l.value || !v.value ? !1 : (H = T.offsetX, E = T.x - T.offsetX - v.value.offsetLeft, T.preventDefault(), m.value = !0, !0);
|
|
692
692
|
},
|
|
693
|
-
onMove(
|
|
693
|
+
onMove(T, Y, F) {
|
|
694
694
|
r.value && l.value && (P(F.x - H - E), F.preventDefault(), F.stopPropagation());
|
|
695
695
|
},
|
|
696
696
|
onUp() {
|
|
697
697
|
m.value = !1;
|
|
698
698
|
}
|
|
699
699
|
}), b = Dt({
|
|
700
|
-
onDown(
|
|
701
|
-
return !s.value || !p.value ? !1 : (Z =
|
|
700
|
+
onDown(T) {
|
|
701
|
+
return !s.value || !p.value ? !1 : (Z = T.offsetY, i = T.y - T.offsetY - p.value.offsetTop, T.preventDefault(), m.value = !0, !0);
|
|
702
702
|
},
|
|
703
|
-
onMove(
|
|
703
|
+
onMove(T, Y, F) {
|
|
704
704
|
r.value && s.value && (z(F.y - Z - i), F.preventDefault(), F.stopPropagation());
|
|
705
705
|
},
|
|
706
706
|
onUp() {
|
|
707
707
|
m.value = !1;
|
|
708
708
|
}
|
|
709
709
|
});
|
|
710
|
-
function M(
|
|
711
|
-
r.value && (r.value.scrollLeft =
|
|
710
|
+
function M(T) {
|
|
711
|
+
r.value && (r.value.scrollLeft = T / 100 * (r.value.scrollWidth - r.value.offsetWidth));
|
|
712
712
|
}
|
|
713
|
-
function j(
|
|
714
|
-
r.value && (r.value.scrollLeft =
|
|
713
|
+
function j(T) {
|
|
714
|
+
r.value && (r.value.scrollLeft = T / 100 * (r.value.scrollHeight - r.value.offsetHeight));
|
|
715
715
|
}
|
|
716
|
-
function P(
|
|
717
|
-
r.value && (r.value.scrollLeft =
|
|
716
|
+
function P(T) {
|
|
717
|
+
r.value && (r.value.scrollLeft = T / (r.value.offsetWidth - D.sizeRaw) * (r.value.scrollWidth - r.value.offsetWidth));
|
|
718
718
|
}
|
|
719
|
-
function z(
|
|
720
|
-
r.value && (r.value.scrollTop =
|
|
719
|
+
function z(T) {
|
|
720
|
+
r.value && (r.value.scrollTop = T / (r.value.offsetHeight - O.sizeRaw) * (r.value.scrollHeight - r.value.offsetHeight));
|
|
721
721
|
}
|
|
722
|
-
function L(
|
|
723
|
-
e.scrollBarBackgroundClickable && P(
|
|
722
|
+
function L(T) {
|
|
723
|
+
e.scrollBarBackgroundClickable && P(T.offsetX - D.sizeRaw / 2);
|
|
724
724
|
}
|
|
725
|
-
function re(
|
|
726
|
-
e.scrollBarBackgroundClickable && z(
|
|
725
|
+
function re(T) {
|
|
726
|
+
e.scrollBarBackgroundClickable && z(T.offsetY - O.sizeRaw / 2);
|
|
727
727
|
}
|
|
728
728
|
const {
|
|
729
729
|
startResizeChecker: me,
|
|
@@ -746,19 +746,19 @@ const jt = 140, Pl = 70, Ll = /* @__PURE__ */ Ke({
|
|
|
746
746
|
getScrollContainer() {
|
|
747
747
|
return r.value;
|
|
748
748
|
},
|
|
749
|
-
scrollTo(
|
|
749
|
+
scrollTo(T, Y) {
|
|
750
750
|
var F;
|
|
751
|
-
(F = r.value) == null || F.scrollTo(
|
|
751
|
+
(F = r.value) == null || F.scrollTo(T, Y);
|
|
752
752
|
},
|
|
753
753
|
scrollToTop() {
|
|
754
|
-
var
|
|
755
|
-
(
|
|
754
|
+
var T;
|
|
755
|
+
(T = r.value) == null || T.scrollTo(0, 0);
|
|
756
756
|
},
|
|
757
757
|
scrollToBottom() {
|
|
758
|
-
var
|
|
759
|
-
(
|
|
758
|
+
var T;
|
|
759
|
+
(T = r.value) == null || T.scrollTo(r.value.scrollWidth, r.value.scrollHeight);
|
|
760
760
|
}
|
|
761
|
-
}), (
|
|
761
|
+
}), (T, Y) => (W(), N("div", {
|
|
762
762
|
ref_key: "scrollrect",
|
|
763
763
|
ref: o,
|
|
764
764
|
class: Xe([
|
|
@@ -784,9 +784,9 @@ const jt = 140, Pl = 70, Ll = /* @__PURE__ */ Ke({
|
|
|
784
784
|
}),
|
|
785
785
|
onScroll: u
|
|
786
786
|
}, [
|
|
787
|
-
Me(
|
|
787
|
+
Me(T.$slots, "default")
|
|
788
788
|
], 38),
|
|
789
|
-
D.show ? Me(
|
|
789
|
+
D.show ? Me(T.$slots, "scrollBarX", {
|
|
790
790
|
key: 0,
|
|
791
791
|
scrollBarValue: D,
|
|
792
792
|
onScroll: M
|
|
@@ -803,13 +803,13 @@ const jt = 140, Pl = 70, Ll = /* @__PURE__ */ Ke({
|
|
|
803
803
|
ref_key: "scrollBarThumbRefX",
|
|
804
804
|
ref: v,
|
|
805
805
|
style: we({ left: `${D.pos}%`, width: `${D.size}%` }),
|
|
806
|
-
onMousedown:
|
|
806
|
+
onMousedown: Y[0] || (Y[0] = //@ts-ignore
|
|
807
807
|
(...F) => G(c) && G(c)(...F)),
|
|
808
808
|
onWheel: k
|
|
809
809
|
}, null, 36)
|
|
810
810
|
], 544)
|
|
811
811
|
]) : ie("", !0),
|
|
812
|
-
O.show ? Me(
|
|
812
|
+
O.show ? Me(T.$slots, "scrollBarY", {
|
|
813
813
|
key: 1,
|
|
814
814
|
scrollBarValue: O,
|
|
815
815
|
onScroll: j
|
|
@@ -820,16 +820,16 @@ const jt = 140, Pl = 70, Ll = /* @__PURE__ */ Ke({
|
|
|
820
820
|
ref: s,
|
|
821
821
|
class: "scrollbar vertical",
|
|
822
822
|
onClick: re,
|
|
823
|
-
onWheel:
|
|
823
|
+
onWheel: A
|
|
824
824
|
}, [
|
|
825
825
|
se("div", {
|
|
826
826
|
class: "thumb",
|
|
827
827
|
ref_key: "scrollBarThumbRefY",
|
|
828
828
|
ref: p,
|
|
829
829
|
style: we({ top: `${O.pos}%`, height: `${O.size}%` }),
|
|
830
|
-
onMousedown:
|
|
830
|
+
onMousedown: Y[1] || (Y[1] = //@ts-ignore
|
|
831
831
|
(...F) => G(b) && G(b)(...F)),
|
|
832
|
-
onWheel:
|
|
832
|
+
onWheel: A
|
|
833
833
|
}, null, 36)
|
|
834
834
|
], 544)) : ie("", !0)
|
|
835
835
|
]) : ie("", !0)
|
|
@@ -844,11 +844,11 @@ const jt = 140, Pl = 70, Ll = /* @__PURE__ */ Ke({
|
|
|
844
844
|
class: "mx-checked-mark",
|
|
845
845
|
"aria-hidden": "true",
|
|
846
846
|
viewBox: "0 0 1024 1024"
|
|
847
|
-
},
|
|
848
|
-
|
|
847
|
+
}, Tl = /* @__PURE__ */ se("path", { d: "M129.3,428.6L52,512l345,372.5l575-620.8l-69.5-75L400.4,718.2L129.3,428.6z" }, null, -1), Al = [
|
|
848
|
+
Tl
|
|
849
849
|
];
|
|
850
850
|
function Bl(t, f) {
|
|
851
|
-
return W(), N("svg", Wl,
|
|
851
|
+
return W(), N("svg", Wl, Al);
|
|
852
852
|
}
|
|
853
853
|
const Fl = /* @__PURE__ */ mt(Rl, [["render", Bl]]), El = {}, Nl = {
|
|
854
854
|
class: "mx-right-arrow",
|
|
@@ -860,7 +860,7 @@ const Fl = /* @__PURE__ */ mt(Rl, [["render", Bl]]), El = {}, Nl = {
|
|
|
860
860
|
function Gl(t, f) {
|
|
861
861
|
return W(), N("svg", Nl, Kl);
|
|
862
862
|
}
|
|
863
|
-
const Ul = /* @__PURE__ */ mt(El, [["render", Gl]]), Xl = { class: "mx-item-row" },
|
|
863
|
+
const Ul = /* @__PURE__ */ mt(El, [["render", Gl]]), Xl = { class: "mx-item-row" }, Yl = ["xlink:href"], ql = {
|
|
864
864
|
key: 1,
|
|
865
865
|
class: "label"
|
|
866
866
|
}, Zl = { class: "mx-item-row" }, Jl = { class: "mx-shortcut" }, gt = /* @__PURE__ */ Ke({
|
|
@@ -1022,7 +1022,7 @@ const Ul = /* @__PURE__ */ mt(El, [["render", Gl]]), Xl = { class: "mx-item-row"
|
|
|
1022
1022
|
getElement: () => C.value,
|
|
1023
1023
|
focus: () => x.value = !0,
|
|
1024
1024
|
blur: () => x.value = !1,
|
|
1025
|
-
click:
|
|
1025
|
+
click: A
|
|
1026
1026
|
};
|
|
1027
1027
|
De("menuItemInstance", k), J(() => {
|
|
1028
1028
|
S.isMenuItemDataCollectedFlag() ? Ie(() => {
|
|
@@ -1046,7 +1046,7 @@ const Ul = /* @__PURE__ */ mt(El, [["render", Gl]]), Xl = { class: "mx-item-row"
|
|
|
1046
1046
|
}), Q(() => {
|
|
1047
1047
|
S.removeChildMenuItem(k);
|
|
1048
1048
|
});
|
|
1049
|
-
function
|
|
1049
|
+
function A(i) {
|
|
1050
1050
|
if (!s.value) {
|
|
1051
1051
|
if (i) {
|
|
1052
1052
|
const c = i.target;
|
|
@@ -1079,7 +1079,7 @@ const Ul = /* @__PURE__ */ mt(El, [["render", Gl]]), Xl = { class: "mx-item-row"
|
|
|
1079
1079
|
theme: w.value.theme,
|
|
1080
1080
|
isOpen: I,
|
|
1081
1081
|
hasChildren: O,
|
|
1082
|
-
onClick:
|
|
1082
|
+
onClick: A,
|
|
1083
1083
|
onMouseEnter: H,
|
|
1084
1084
|
closeMenu: u
|
|
1085
1085
|
};
|
|
@@ -1107,7 +1107,7 @@ const Ul = /* @__PURE__ */ mt(El, [["render", Gl]]), Xl = { class: "mx-item-row"
|
|
|
1107
1107
|
t.customClass ? " " + t.customClass : "",
|
|
1108
1108
|
I.value ? "open" : ""
|
|
1109
1109
|
]),
|
|
1110
|
-
onClick:
|
|
1110
|
+
onClick: A,
|
|
1111
1111
|
onMouseenter: H
|
|
1112
1112
|
}, [
|
|
1113
1113
|
Me(i.$slots, "default", {}, () => [
|
|
@@ -1126,7 +1126,7 @@ const Ul = /* @__PURE__ */ mt(El, [["render", Gl]]), Xl = { class: "mx-item-row"
|
|
|
1126
1126
|
key: 1,
|
|
1127
1127
|
class: "icon svg"
|
|
1128
1128
|
}, t.svgProps), [
|
|
1129
|
-
se("use", { "xlink:href": t.svgIcon }, null, 8,
|
|
1129
|
+
se("use", { "xlink:href": t.svgIcon }, null, 8, Yl)
|
|
1130
1130
|
], 16)) : typeof G(m) != "string" ? (W(), Ce(G(Re), {
|
|
1131
1131
|
key: 2,
|
|
1132
1132
|
vnode: G(m),
|
|
@@ -1148,7 +1148,7 @@ const Ul = /* @__PURE__ */ mt(El, [["render", Gl]]), Xl = { class: "mx-item-row"
|
|
|
1148
1148
|
G(V)("itemLabelRender") ? (W(), Ce(G(Re), {
|
|
1149
1149
|
key: 0,
|
|
1150
1150
|
vnode: () => G(y)("itemLabelRender", Z())
|
|
1151
|
-
}, null, 8, ["vnode"])) : typeof G(p) == "string" ? (W(), N("span",
|
|
1151
|
+
}, null, 8, ["vnode"])) : typeof G(p) == "string" ? (W(), N("span", ql, Te(G(p)), 1)) : (W(), Ce(G(Re), {
|
|
1152
1152
|
key: 2,
|
|
1153
1153
|
vnode: G(p),
|
|
1154
1154
|
data: G(p)
|
|
@@ -1161,7 +1161,7 @@ const Ul = /* @__PURE__ */ mt(El, [["render", Gl]]), Xl = { class: "mx-item-row"
|
|
|
1161
1161
|
key: 0,
|
|
1162
1162
|
vnode: () => G(y)("itemShortcutRender", Z())
|
|
1163
1163
|
}, null, 8, ["vnode"])) : ie("", !0),
|
|
1164
|
-
se("span", Jl,
|
|
1164
|
+
se("span", Jl, Te(G(D)), 1)
|
|
1165
1165
|
]) : ie("", !0),
|
|
1166
1166
|
G(a) ? Me(i.$slots, "rightArrow", { key: 1 }, () => [
|
|
1167
1167
|
G(V)("itemRightArrowRender") ? (W(), Ce(G(Re), {
|
|
@@ -1269,26 +1269,26 @@ const nt = /* @__PURE__ */ mt(Ql, [["render", eo]]), yt = /* @__PURE__ */ Ke({
|
|
|
1269
1269
|
function R() {
|
|
1270
1270
|
u && u.blur();
|
|
1271
1271
|
}
|
|
1272
|
-
function k(K,
|
|
1272
|
+
function k(K, T) {
|
|
1273
1273
|
if (K) {
|
|
1274
|
-
for (let
|
|
1275
|
-
if (!y[
|
|
1276
|
-
|
|
1274
|
+
for (let Y = T !== void 0 ? T : 0; Y < y.length; Y++)
|
|
1275
|
+
if (!y[Y].isDisabledOrHidden()) {
|
|
1276
|
+
A(Y);
|
|
1277
1277
|
break;
|
|
1278
1278
|
}
|
|
1279
1279
|
} else
|
|
1280
|
-
for (let
|
|
1281
|
-
if (!y[
|
|
1282
|
-
|
|
1280
|
+
for (let Y = T !== void 0 ? T : y.length - 1; Y >= 0; Y--)
|
|
1281
|
+
if (!y[Y].isDisabledOrHidden()) {
|
|
1282
|
+
A(Y);
|
|
1283
1283
|
break;
|
|
1284
1284
|
}
|
|
1285
1285
|
}
|
|
1286
|
-
function
|
|
1286
|
+
function A(K) {
|
|
1287
1287
|
if (u && R(), K !== void 0 && (u = y[Math.max(0, Math.min(K, y.length - 1))]), !u)
|
|
1288
1288
|
return;
|
|
1289
1289
|
u.focus();
|
|
1290
|
-
const
|
|
1291
|
-
|
|
1290
|
+
const T = u.getElement();
|
|
1291
|
+
T && T.scrollIntoView({
|
|
1292
1292
|
behavior: "auto",
|
|
1293
1293
|
block: "nearest",
|
|
1294
1294
|
inline: "nearest"
|
|
@@ -1305,9 +1305,9 @@ const nt = /* @__PURE__ */ mt(Ql, [["render", eo]]), yt = /* @__PURE__ */ Ke({
|
|
|
1305
1305
|
const K = c.getParentContext();
|
|
1306
1306
|
if (K) {
|
|
1307
1307
|
K.closeOtherSubMenu();
|
|
1308
|
-
const
|
|
1309
|
-
if (
|
|
1310
|
-
return
|
|
1308
|
+
const T = K.getSubMenuInstanceContext();
|
|
1309
|
+
if (T)
|
|
1310
|
+
return T.focusCurrentItem(), !0;
|
|
1311
1311
|
}
|
|
1312
1312
|
return !1;
|
|
1313
1313
|
},
|
|
@@ -1319,7 +1319,7 @@ const nt = /* @__PURE__ */ mt(Ql, [["render", eo]]), yt = /* @__PURE__ */ Ke({
|
|
|
1319
1319
|
moveCurrentItemLast: () => k(!1),
|
|
1320
1320
|
moveCurrentItemDown: () => k(!0, u ? y.indexOf(u) + 1 : 0),
|
|
1321
1321
|
moveCurrentItemUp: () => k(!1, u ? y.indexOf(u) - 1 : 0),
|
|
1322
|
-
focusCurrentItem: () =>
|
|
1322
|
+
focusCurrentItem: () => A(),
|
|
1323
1323
|
openCurrentItemSubMenu: () => u ? u?.showSubMenu() : !1,
|
|
1324
1324
|
triggerCurrentItemClick: (K) => u?.click(K)
|
|
1325
1325
|
};
|
|
@@ -1352,15 +1352,15 @@ const nt = /* @__PURE__ */ mt(Ql, [["render", eo]]), yt = /* @__PURE__ */ Ke({
|
|
|
1352
1352
|
S = 0, this.closeOtherSubMenu();
|
|
1353
1353
|
}, 200);
|
|
1354
1354
|
},
|
|
1355
|
-
addChildMenuItem: (K,
|
|
1356
|
-
|
|
1355
|
+
addChildMenuItem: (K, T) => {
|
|
1356
|
+
T === void 0 ? y.push(K) : y.splice(T, 0, K);
|
|
1357
1357
|
},
|
|
1358
1358
|
removeChildMenuItem: (K) => {
|
|
1359
1359
|
y.splice(y.indexOf(K), 1), K.getSubMenuInstance = () => {
|
|
1360
1360
|
};
|
|
1361
1361
|
},
|
|
1362
|
-
markActiveMenuItem: (K,
|
|
1363
|
-
R(), u = K,
|
|
1362
|
+
markActiveMenuItem: (K, T = !1) => {
|
|
1363
|
+
R(), u = K, T && A();
|
|
1364
1364
|
},
|
|
1365
1365
|
markThisOpenedByKeyBoard: () => {
|
|
1366
1366
|
Z = !0;
|
|
@@ -1381,12 +1381,12 @@ const nt = /* @__PURE__ */ mt(Ql, [["render", eo]]), yt = /* @__PURE__ */ Ke({
|
|
|
1381
1381
|
getSubmenuRoot: () => x.value,
|
|
1382
1382
|
getMenu: () => C.value,
|
|
1383
1383
|
getScrollValue: () => {
|
|
1384
|
-
var K,
|
|
1385
|
-
return ((
|
|
1384
|
+
var K, T;
|
|
1385
|
+
return ((T = (K = I.value) == null ? void 0 : K.getScrollContainer()) == null ? void 0 : T.scrollTop) || 0;
|
|
1386
1386
|
},
|
|
1387
1387
|
setScrollValue: (K) => {
|
|
1388
|
-
var
|
|
1389
|
-
return (
|
|
1388
|
+
var T;
|
|
1389
|
+
return (T = I.value) == null ? void 0 : T.scrollTo(0, K);
|
|
1390
1390
|
},
|
|
1391
1391
|
getScrollHeight: () => j.value,
|
|
1392
1392
|
adjustPosition: () => {
|
|
@@ -1394,23 +1394,23 @@ const nt = /* @__PURE__ */ mt(Ql, [["render", eo]]), yt = /* @__PURE__ */ Ke({
|
|
|
1394
1394
|
},
|
|
1395
1395
|
getMaxHeight: () => P.value,
|
|
1396
1396
|
getPosition: () => L.value,
|
|
1397
|
-
setPosition: (K,
|
|
1398
|
-
L.value.x = K, L.value.y =
|
|
1397
|
+
setPosition: (K, T) => {
|
|
1398
|
+
L.value.x = K, L.value.y = T;
|
|
1399
1399
|
}
|
|
1400
1400
|
}, M = _e("menuItemInstance", void 0);
|
|
1401
1401
|
M && (M.getSubMenuInstance = () => b);
|
|
1402
1402
|
const j = _(0), P = _(0), z = _(!1), L = _({ x: 0, y: 0 });
|
|
1403
1403
|
function re() {
|
|
1404
1404
|
Ie(() => {
|
|
1405
|
-
const K = C.value,
|
|
1406
|
-
if (K &&
|
|
1407
|
-
const { container:
|
|
1408
|
-
let ye = ot(K,
|
|
1405
|
+
const K = C.value, T = x.value;
|
|
1406
|
+
if (K && T && I.value) {
|
|
1407
|
+
const { container: Y } = l, F = g?.() ?? 0, de = a?.() ?? 0, xe = getComputedStyle(T), pe = parseFloat(xe.paddingLeft), He = parseFloat(xe.paddingTop), Fe = de > 0 ? He : 0, qe = document.documentElement.scrollHeight / D(), Ze = document.documentElement.scrollWidth / D(), Ge = Math.min(Ze, Y.offsetWidth), X = Math.min(qe, Y.offsetHeight);
|
|
1408
|
+
let ye = ot(K, Y), Oe = lt(K, Y);
|
|
1409
1409
|
e.direction.includes("l") ? L.value.x -= K.offsetWidth + pe : e.direction.includes("r") ? L.value.x += F + pe : (L.value.x += F / 2, L.value.x -= (K.offsetWidth + pe) / 2), e.direction.includes("t") ? L.value.y -= (K.offsetHeight + He * 2) / D() : e.direction.includes("b") ? L.value.y -= He / D() : L.value.y -= (K.offsetHeight + He) / 2 / D(), Ie(() => {
|
|
1410
1410
|
var Le, U;
|
|
1411
|
-
ye = ot(K,
|
|
1412
|
-
const
|
|
1413
|
-
j.value = e.maxHeight ? Math.min(
|
|
1411
|
+
ye = ot(K, Y), Oe = lt(K, Y);
|
|
1412
|
+
const ce = ((U = (Le = I.value) == null ? void 0 : Le.getScrollContainer()) == null ? void 0 : U.scrollHeight) || 0, Se = e.maxHeight;
|
|
1413
|
+
j.value = e.maxHeight ? Math.min(ce, e.maxHeight) : ce;
|
|
1414
1414
|
const ke = ye + K.offsetWidth - Ge, Ee = Oe + j.value + Fe * 2 - X;
|
|
1415
1415
|
if (z.value = Ee > 0, O.value && ke > 0) {
|
|
1416
1416
|
const Ue = F + K.offsetWidth - pe, $e = ye;
|
|
@@ -1430,17 +1430,17 @@ const nt = /* @__PURE__ */ mt(Ql, [["render", eo]]), yt = /* @__PURE__ */ Ke({
|
|
|
1430
1430
|
}
|
|
1431
1431
|
function me() {
|
|
1432
1432
|
var K;
|
|
1433
|
-
const
|
|
1434
|
-
if (
|
|
1435
|
-
const
|
|
1436
|
-
L.value.x =
|
|
1433
|
+
const T = (K = e.parentMenuItemContext) == null ? void 0 : K.getElement();
|
|
1434
|
+
if (T) {
|
|
1435
|
+
const Y = ot(T, l.container), F = lt(T, l.container);
|
|
1436
|
+
L.value.x = Y, L.value.y = F;
|
|
1437
1437
|
} else {
|
|
1438
|
-
const [
|
|
1439
|
-
L.value.x =
|
|
1438
|
+
const [Y, F] = l.getPositon();
|
|
1439
|
+
L.value.x = Y, L.value.y = F;
|
|
1440
1440
|
}
|
|
1441
1441
|
Ie(() => {
|
|
1442
|
-
var
|
|
1443
|
-
V(E), (
|
|
1442
|
+
var Y;
|
|
1443
|
+
V(E), (Y = C.value) == null || Y.focus({ preventScroll: !0 }), l.isOpenedByKeyBoardFlag() && Ie(() => k(!0)), i = !0;
|
|
1444
1444
|
}), re();
|
|
1445
1445
|
}
|
|
1446
1446
|
return B(() => e.show, (K) => {
|
|
@@ -1450,8 +1450,8 @@ const nt = /* @__PURE__ */ mt(Ql, [["render", eo]]), yt = /* @__PURE__ */ Ke({
|
|
|
1450
1450
|
}), Q(() => {
|
|
1451
1451
|
r.value = !1, M && (M.getSubMenuInstance = () => {
|
|
1452
1452
|
});
|
|
1453
|
-
}), f(b), (K,
|
|
1454
|
-
const
|
|
1453
|
+
}), f(b), (K, T) => {
|
|
1454
|
+
const Y = ze("ContextSubMenu", !0);
|
|
1455
1455
|
return r.value ? (W(), Ce(Pt, {
|
|
1456
1456
|
key: 0,
|
|
1457
1457
|
to: `#${G(o)}`
|
|
@@ -1459,7 +1459,7 @@ const nt = /* @__PURE__ */ mt(Ql, [["render", eo]]), yt = /* @__PURE__ */ Ke({
|
|
|
1459
1459
|
je(Nt, rt({ appear: "" }, G(s).menuTransitionProps || {
|
|
1460
1460
|
duration: 10
|
|
1461
1461
|
}, {
|
|
1462
|
-
onAfterLeave:
|
|
1462
|
+
onAfterLeave: T[0] || (T[0] = (F) => d("closeAnimFinished"))
|
|
1463
1463
|
}), {
|
|
1464
1464
|
default: Pe(() => [
|
|
1465
1465
|
t.show ? (W(), N("div", rt({
|
|
@@ -1496,7 +1496,7 @@ const nt = /* @__PURE__ */ mt(Ql, [["render", eo]]), yt = /* @__PURE__ */ Ke({
|
|
|
1496
1496
|
ref: C
|
|
1497
1497
|
}, [
|
|
1498
1498
|
Me(K.$slots, "default", {}, () => [
|
|
1499
|
-
(W(!0), N(at, null, ct(t.items, (F,
|
|
1499
|
+
(W(!0), N(at, null, ct(t.items, (F, de) => (W(), N(at, { key: de }, [
|
|
1500
1500
|
F.hidden !== !0 && F.divided === "up" ? (W(), Ce(nt, { key: 0 })) : ie("", !0),
|
|
1501
1501
|
F.hidden !== !0 && F.divided === "self" ? (W(), Ce(nt, { key: 1 })) : (W(), Ce(gt, {
|
|
1502
1502
|
key: 2,
|
|
@@ -1530,7 +1530,7 @@ const nt = /* @__PURE__ */ mt(Ql, [["render", eo]]), yt = /* @__PURE__ */ Ke({
|
|
|
1530
1530
|
F.children && F.children.length > 0 ? {
|
|
1531
1531
|
name: "submenu",
|
|
1532
1532
|
fn: Pe(({ context: xe, show: pe }) => [
|
|
1533
|
-
je(
|
|
1533
|
+
je(Y, {
|
|
1534
1534
|
show: pe,
|
|
1535
1535
|
parentMenuItemContext: xe,
|
|
1536
1536
|
items: F.children,
|
|
@@ -1634,7 +1634,7 @@ const nt = /* @__PURE__ */ mt(Ql, [["render", eo]]), yt = /* @__PURE__ */ Ke({
|
|
|
1634
1634
|
const x = _();
|
|
1635
1635
|
De("globalSetCurrentSubMenu", (u) => x.value = u), De("globalGetMenuHostId", v.value.id);
|
|
1636
1636
|
function C(u) {
|
|
1637
|
-
var S, R, k,
|
|
1637
|
+
var S, R, k, A, H, E, Z, i, c, b, M, j, P;
|
|
1638
1638
|
let z = !0;
|
|
1639
1639
|
switch (u.key) {
|
|
1640
1640
|
case "Escape": {
|
|
@@ -1645,7 +1645,7 @@ const nt = /* @__PURE__ */ mt(Ql, [["render", eo]]), yt = /* @__PURE__ */ Ke({
|
|
|
1645
1645
|
(k = x.value) == null || k.moveCurrentItemDown();
|
|
1646
1646
|
break;
|
|
1647
1647
|
case "ArrowUp":
|
|
1648
|
-
(
|
|
1648
|
+
(A = x.value) == null || A.moveCurrentItemUp();
|
|
1649
1649
|
break;
|
|
1650
1650
|
case "Home":
|
|
1651
1651
|
(H = x.value) == null || H.moveCurrentItemFirst();
|
|
@@ -1975,7 +1975,7 @@ function Ht(t, f) {
|
|
|
1975
1975
|
const n = Bt(t);
|
|
1976
1976
|
return oo(t, n.container, n.isNew, f).exposed;
|
|
1977
1977
|
}
|
|
1978
|
-
const
|
|
1978
|
+
const Ae = {
|
|
1979
1979
|
/**
|
|
1980
1980
|
* For Vue install
|
|
1981
1981
|
* @param app
|
|
@@ -2053,7 +2053,7 @@ const Te = {
|
|
|
2053
2053
|
/**
|
|
2054
2054
|
* Close the currently open menu
|
|
2055
2055
|
*/
|
|
2056
|
-
closeContextMenu:
|
|
2056
|
+
closeContextMenu: At,
|
|
2057
2057
|
//Tools
|
|
2058
2058
|
transformMenuPosition: wl
|
|
2059
2059
|
};
|
|
@@ -2104,7 +2104,7 @@ const no = /* @__PURE__ */ Object.assign({
|
|
|
2104
2104
|
},
|
|
2105
2105
|
setup(t, { expose: f }) {
|
|
2106
2106
|
f();
|
|
2107
|
-
const { isNotEmpty: n, isArray: e } =
|
|
2107
|
+
const { isNotEmpty: n, isArray: e } = q, d = t, r = ae(), o = ue(r), l = _(null), s = h(() => d.propValue || {}), v = h(() => d.element || {}), p = h(() => v.value.events || []), m = _(!0), g = _(null);
|
|
2108
2108
|
let a, D = null, O = !0, I = !1;
|
|
2109
2109
|
const x = o[s.value.urlCK], C = h(() => n(s.value.url) ? s.value.url : n(s.value.urlCK) && x.value || "");
|
|
2110
2110
|
B(
|
|
@@ -2140,9 +2140,9 @@ const no = /* @__PURE__ */ Object.assign({
|
|
|
2140
2140
|
l.value?.handleClick(c);
|
|
2141
2141
|
}, S = (c) => {
|
|
2142
2142
|
l.value?.handleDblClick(c);
|
|
2143
|
-
}, R = oe(), k = ne(),
|
|
2143
|
+
}, R = oe(), k = ne(), A = te(s, v, R, k);
|
|
2144
2144
|
$(() => {
|
|
2145
|
-
l.value = le(p.value, d.designStatus,
|
|
2145
|
+
l.value = le(p.value, d.designStatus, A), l.value?.beforeMount();
|
|
2146
2146
|
}), J(() => {
|
|
2147
2147
|
D = g.value?.getContext("2d"), y(), l.value?.mounted();
|
|
2148
2148
|
}), Q(() => {
|
|
@@ -2161,7 +2161,7 @@ const no = /* @__PURE__ */ Object.assign({
|
|
|
2161
2161
|
let M = [];
|
|
2162
2162
|
M = H(b, function(j, P) {
|
|
2163
2163
|
l.value?.handleContextMenu(c, j.value);
|
|
2164
|
-
}),
|
|
2164
|
+
}), Ae.showContextMenu({
|
|
2165
2165
|
x: c.x,
|
|
2166
2166
|
y: c.y,
|
|
2167
2167
|
items: M
|
|
@@ -2186,7 +2186,7 @@ const no = /* @__PURE__ */ Object.assign({
|
|
|
2186
2186
|
return I;
|
|
2187
2187
|
}, set loadSuccess(c) {
|
|
2188
2188
|
I = c;
|
|
2189
|
-
}, urlData: x, url: C, drawImage: w, mirrorFlip: V, debouncedDraw: y, clickHandler: u, dblclickHandler: S, router: R, route: k, compContext:
|
|
2189
|
+
}, urlData: x, url: C, drawImage: w, mirrorFlip: V, debouncedDraw: y, clickHandler: u, dblclickHandler: S, router: R, route: k, compContext: A, processMenus: H, openContextMenu: E, customStyle: Z, computed: h, onMounted: J, ref: _, watch: B, onBeforeMount: $, onBeforeUnmount: Q, onUnmounted: ee, onActivated: ge, onDeactivated: be, get useEventHandler() {
|
|
2190
2190
|
return le;
|
|
2191
2191
|
}, get useDataCacheStore() {
|
|
2192
2192
|
return ae;
|
|
@@ -2195,7 +2195,7 @@ const no = /* @__PURE__ */ Object.assign({
|
|
|
2195
2195
|
}, get CreateCompContext() {
|
|
2196
2196
|
return te;
|
|
2197
2197
|
}, get CommonUtils() {
|
|
2198
|
-
return
|
|
2198
|
+
return q;
|
|
2199
2199
|
}, get useRoute() {
|
|
2200
2200
|
return ne;
|
|
2201
2201
|
}, get useRouter() {
|
|
@@ -2203,7 +2203,7 @@ const no = /* @__PURE__ */ Object.assign({
|
|
|
2203
2203
|
}, get debounce() {
|
|
2204
2204
|
return it;
|
|
2205
2205
|
}, get ContextMenu() {
|
|
2206
|
-
return
|
|
2206
|
+
return Ae;
|
|
2207
2207
|
}, get useMenuHandler() {
|
|
2208
2208
|
return Be;
|
|
2209
2209
|
}, get getCursorByEvents() {
|
|
@@ -2226,7 +2226,7 @@ function ro(t, f, n, e, d, r) {
|
|
|
2226
2226
|
}
|
|
2227
2227
|
const ao = /* @__PURE__ */ ve(no, [["render", ro], ["__scopeId", "data-v-98faca05"], ["__file", "Component.vue"]]);
|
|
2228
2228
|
function he(t, f, n, e) {
|
|
2229
|
-
const d =
|
|
2229
|
+
const d = Ye({
|
|
2230
2230
|
dataColor: null,
|
|
2231
2231
|
// 数据颜色
|
|
2232
2232
|
backgroundColor: null,
|
|
@@ -2282,7 +2282,7 @@ const uo = /* @__PURE__ */ Object.assign({
|
|
|
2282
2282
|
}), ee(() => {
|
|
2283
2283
|
r.value?.unmounted();
|
|
2284
2284
|
});
|
|
2285
|
-
const { dynamicColor: g } = he(o, d, e.rules,
|
|
2285
|
+
const { dynamicColor: g } = he(o, d, e.rules, q), a = h(() => g.fillColor ? g.fillColor : o.value.fillColor ? o.value.fillColor : "none"), D = h(() => g.lineColor ? g.lineColor : o.value.strokeColor ? o.value.strokeColor : "none"), O = _(0), I = _(0), x = _(0);
|
|
2286
2286
|
B(() => l.value.style.width, (y) => {
|
|
2287
2287
|
C();
|
|
2288
2288
|
}), B(() => l.value.style.height, (y) => {
|
|
@@ -2308,7 +2308,7 @@ const uo = /* @__PURE__ */ Object.assign({
|
|
|
2308
2308
|
}, get useDynamicColor() {
|
|
2309
2309
|
return he;
|
|
2310
2310
|
}, get CommonUtils() {
|
|
2311
|
-
return
|
|
2311
|
+
return q;
|
|
2312
2312
|
} };
|
|
2313
2313
|
return Object.defineProperty(V, "__isScriptSetup", { enumerable: !1, value: !0 }), V;
|
|
2314
2314
|
}
|
|
@@ -2365,13 +2365,13 @@ const io = /* @__PURE__ */ ve(uo, [["render", so], ["__scopeId", "data-v-ecab498
|
|
|
2365
2365
|
isValid: v,
|
|
2366
2366
|
hasOwnPathInObject: p,
|
|
2367
2367
|
getValueByPath: m
|
|
2368
|
-
} =
|
|
2369
|
-
let k = null,
|
|
2368
|
+
} = q, g = t, a = h(() => g.propValue || {}), D = h(() => g.element || {}), O = h(() => D.value.events || []), I = ae(), x = ue(I), C = _(null), w = _(0), V = _(0), y = _(""), u = _(""), S = _(!1), R = _("");
|
|
2369
|
+
let k = null, A = null;
|
|
2370
2370
|
const H = _("");
|
|
2371
2371
|
let E = null;
|
|
2372
|
-
const Z = x[a.value.dataCK], i = x[a.value.timeCK], c = (U,
|
|
2372
|
+
const Z = x[a.value.dataCK], i = x[a.value.timeCK], c = (U, ce, Se) => p(U, ce) ? m(U, ce) : Se;
|
|
2373
2373
|
function b(U) {
|
|
2374
|
-
s(U) ? (k = c(U, a.value.valueKey, null),
|
|
2374
|
+
s(U) ? (k = c(U, a.value.valueKey, null), A = c(U, a.value.timeKey, null)) : k = U;
|
|
2375
2375
|
}
|
|
2376
2376
|
function M(U) {
|
|
2377
2377
|
b(U), R.value = pe(k);
|
|
@@ -2379,62 +2379,62 @@ const io = /* @__PURE__ */ ve(uo, [["render", so], ["__scopeId", "data-v-ecab498
|
|
|
2379
2379
|
B(() => Z.value, (U) => {
|
|
2380
2380
|
v(U) && M(U);
|
|
2381
2381
|
}), B(() => i.value, (U) => {
|
|
2382
|
-
o(a.value.timeCK) && v(U) && (o(a.value.timeKey) ? s(U) && (
|
|
2382
|
+
o(a.value.timeCK) && v(U) && (o(a.value.timeKey) ? s(U) && (A = c(U, a.value.timeKey, null)) : A = U);
|
|
2383
2383
|
});
|
|
2384
|
-
const { dynamicColor: j } = he(a, x, I.rules,
|
|
2384
|
+
const { dynamicColor: j } = he(a, x, I.rules, q), P = h(() => j.dataColor ? j.dataColor : a.value.fontColor ? a.value.fontColor : "none"), z = h(() => j.backgroundColor ? j.backgroundColor : a.value.fillColor ? a.value.fillColor : "none"), L = (U) => {
|
|
2385
2385
|
C.value?.handleClick(U);
|
|
2386
2386
|
}, re = (U) => {
|
|
2387
2387
|
C.value?.handleDblClick(U);
|
|
2388
2388
|
};
|
|
2389
2389
|
B(() => D.value.style.width, (U) => {
|
|
2390
|
-
|
|
2390
|
+
de();
|
|
2391
2391
|
}), B(() => D.value.style.height, (U) => {
|
|
2392
|
-
|
|
2392
|
+
de();
|
|
2393
2393
|
}), B(() => a.value.horizontalAlign, (U) => {
|
|
2394
|
-
|
|
2394
|
+
de();
|
|
2395
2395
|
}), B(() => a.value.offsetX, (U) => {
|
|
2396
|
-
|
|
2396
|
+
de();
|
|
2397
2397
|
});
|
|
2398
|
-
const me = h(() => g.designStatus ? !0 : a.value.showTooltip ? !S.value : !0), K = h(() => a.value.tooltipPlacement || "bottom-start"),
|
|
2398
|
+
const me = h(() => g.designStatus ? !0 : a.value.showTooltip ? !S.value : !0), K = h(() => a.value.tooltipPlacement || "bottom-start"), T = h(() => a.value.tooltipEffect || "dark"), Y = (U) => {
|
|
2399
2399
|
g.designStatus || (F(), o(H.value) ? S.value = !0 : S.value = !1);
|
|
2400
2400
|
}, F = () => {
|
|
2401
2401
|
if (H.value = "", a.value.showTooltip)
|
|
2402
|
-
if (
|
|
2403
|
-
let U = d(
|
|
2402
|
+
if (A && l(A)) {
|
|
2403
|
+
let U = d(A), ce = "";
|
|
2404
2404
|
if (U) {
|
|
2405
|
-
|
|
2406
|
-
let Se = "数值:" + R.value, ke = "时间:" +
|
|
2405
|
+
ce = n(U, "yyyy-MM-dd HH:mm:ss");
|
|
2406
|
+
let Se = "数值:" + R.value, ke = "时间:" + ce;
|
|
2407
2407
|
H.value = Se + "<br/>" + ke;
|
|
2408
2408
|
}
|
|
2409
2409
|
} else {
|
|
2410
2410
|
let U = "数值:" + R.value;
|
|
2411
2411
|
H.value = U;
|
|
2412
2412
|
}
|
|
2413
|
-
},
|
|
2414
|
-
const { width: U, height:
|
|
2415
|
-
xe(U,
|
|
2416
|
-
}, xe = (U,
|
|
2413
|
+
}, de = () => {
|
|
2414
|
+
const { width: U, height: ce } = g.element.style;
|
|
2415
|
+
xe(U, ce);
|
|
2416
|
+
}, xe = (U, ce) => {
|
|
2417
2417
|
let Se = g.propValue.horizontalAlign || "left", ke = g.propValue.offsetX || 0;
|
|
2418
|
-
Se == "center" ? (u.value = "middle", w.value = U * 0.5) : Se == "right" ? (w.value = U - ke, u.value = "end") : (w.value = 0 + ke, u.value = "start"), y.value = "central", V.value =
|
|
2418
|
+
Se == "center" ? (u.value = "middle", w.value = U * 0.5) : Se == "right" ? (w.value = U - ke, u.value = "end") : (w.value = 0 + ke, u.value = "start"), y.value = "central", V.value = ce * 0.5;
|
|
2419
2419
|
}, pe = (U) => {
|
|
2420
|
-
let
|
|
2420
|
+
let ce = U;
|
|
2421
2421
|
if (U == null)
|
|
2422
|
-
|
|
2422
|
+
ce = a.value.nullShowTxt ?? "";
|
|
2423
2423
|
else {
|
|
2424
2424
|
if (l(U)) {
|
|
2425
2425
|
let Se = a.value.fractionDigits ?? 0, ke = a.value.factor;
|
|
2426
|
-
l(ke) && (ke = Number(ke), U = Number(U) * ke),
|
|
2426
|
+
l(ke) && (ke = Number(ke), U = Number(U) * ke), ce = He(Number(U), Se);
|
|
2427
2427
|
} else
|
|
2428
|
-
|
|
2429
|
-
o(a.value.unit) && (
|
|
2428
|
+
(ce + "" == "undefined" || !o(ce)) && (ce = a.value.nullShowTxt ?? "");
|
|
2429
|
+
o(a.value.unit) && (ce = ce + a.value.unit);
|
|
2430
2430
|
}
|
|
2431
|
-
return
|
|
2432
|
-
}, He = (U,
|
|
2431
|
+
return ce;
|
|
2432
|
+
}, He = (U, ce) => {
|
|
2433
2433
|
let Se = U;
|
|
2434
2434
|
if (U) {
|
|
2435
2435
|
const ke = a.value.valueType;
|
|
2436
2436
|
if (ke == 2 && Number(U))
|
|
2437
|
-
|
|
2437
|
+
ce && Number(ce) ? ce = parseInt(ce) : ce = 0, Se = U.toFixed(ce);
|
|
2438
2438
|
else if (ke == 3) {
|
|
2439
2439
|
let Ee = d(U);
|
|
2440
2440
|
a.value.convertGMT0 && (Ee = e(Ee));
|
|
@@ -2445,11 +2445,11 @@ const io = /* @__PURE__ */ ve(uo, [["render", so], ["__scopeId", "data-v-ecab498
|
|
|
2445
2445
|
return Se;
|
|
2446
2446
|
}, Fe = () => {
|
|
2447
2447
|
E && (clearInterval(E), E = null);
|
|
2448
|
-
},
|
|
2448
|
+
}, qe = oe(), Ze = ne(), Ge = te(a, D, qe, Ze);
|
|
2449
2449
|
$(() => {
|
|
2450
2450
|
C.value = le(O.value, g.designStatus, Ge), C.value?.beforeMount();
|
|
2451
2451
|
}), J(() => {
|
|
2452
|
-
|
|
2452
|
+
de(), E = setInterval(() => {
|
|
2453
2453
|
v(Z.value) && (M(Z.value), E && (clearInterval(E), E = null));
|
|
2454
2454
|
}, 1e3), C.value?.mounted();
|
|
2455
2455
|
}), Q(() => {
|
|
@@ -2463,12 +2463,12 @@ const io = /* @__PURE__ */ ve(uo, [["render", so], ["__scopeId", "data-v-ecab498
|
|
|
2463
2463
|
});
|
|
2464
2464
|
const { processMenus: X } = Be(), ye = (U) => {
|
|
2465
2465
|
U.preventDefault();
|
|
2466
|
-
let
|
|
2467
|
-
if (
|
|
2466
|
+
let ce = a.value.menuItems || [];
|
|
2467
|
+
if (q.isArray(ce) && ce.length > 0) {
|
|
2468
2468
|
let Se = [];
|
|
2469
|
-
Se = X(
|
|
2469
|
+
Se = X(ce, function(ke, Ee) {
|
|
2470
2470
|
C.value?.handleContextMenu(U, ke.value);
|
|
2471
|
-
}),
|
|
2471
|
+
}), Ae.showContextMenu({
|
|
2472
2472
|
x: U.x,
|
|
2473
2473
|
y: U.y,
|
|
2474
2474
|
items: Se
|
|
@@ -2482,14 +2482,14 @@ const io = /* @__PURE__ */ ve(uo, [["render", so], ["__scopeId", "data-v-ecab498
|
|
|
2482
2482
|
}, set dataValue(U) {
|
|
2483
2483
|
k = U;
|
|
2484
2484
|
}, get dataTime() {
|
|
2485
|
-
return
|
|
2485
|
+
return A;
|
|
2486
2486
|
}, set dataTime(U) {
|
|
2487
|
-
|
|
2487
|
+
A = U;
|
|
2488
2488
|
}, tooltipContent: H, get timer() {
|
|
2489
2489
|
return E;
|
|
2490
2490
|
}, set timer(U) {
|
|
2491
2491
|
E = U;
|
|
2492
|
-
}, bsData: Z, timeData: i, _getValueFromObj: c, parseBsData: b, dealBsData: M, dynamicColor: j, showFontColor: P, showBackgroundColor: z, handleClick: L, handleDblClick: re, disableToolTip: me, tooltipPlacement: K, tooltipEffect:
|
|
2492
|
+
}, bsData: Z, timeData: i, _getValueFromObj: c, parseBsData: b, dealBsData: M, dynamicColor: j, showFontColor: P, showBackgroundColor: z, handleClick: L, handleDblClick: re, disableToolTip: me, tooltipPlacement: K, tooltipEffect: T, showTooltip: Y, loadTipInfo: F, draw: de, drawChart: xe, showValue: pe, dataFormatter: He, _clearInterval: Fe, router: qe, route: Ze, compContext: Ge, processMenus: X, openContextMenu: ye, customStyle: Oe, watch: B, onMounted: J, computed: h, onBeforeUnmount: Q, ref: _, onBeforeMount: $, onUnmounted: ee, reactive: Ye, onActivated: ge, onDeactivated: be, get useRoute() {
|
|
2493
2493
|
return ne;
|
|
2494
2494
|
}, get useRouter() {
|
|
2495
2495
|
return oe;
|
|
@@ -2502,11 +2502,11 @@ const io = /* @__PURE__ */ ve(uo, [["render", so], ["__scopeId", "data-v-ecab498
|
|
|
2502
2502
|
}, get CreateCompContext() {
|
|
2503
2503
|
return te;
|
|
2504
2504
|
}, get CommonUtils() {
|
|
2505
|
-
return
|
|
2505
|
+
return q;
|
|
2506
2506
|
}, get useDynamicColor() {
|
|
2507
2507
|
return he;
|
|
2508
2508
|
}, get ContextMenu() {
|
|
2509
|
-
return
|
|
2509
|
+
return Ae;
|
|
2510
2510
|
}, get useMenuHandler() {
|
|
2511
2511
|
return Be;
|
|
2512
2512
|
}, get getCursorByEvents() {
|
|
@@ -2561,14 +2561,14 @@ function vo(t, f, n, e, d, r) {
|
|
|
2561
2561
|
"font-family": e.propValue.fontFamily,
|
|
2562
2562
|
"font-size": e.propValue.fontSize,
|
|
2563
2563
|
"font-weight": e.propValue.fontWeight
|
|
2564
|
-
},
|
|
2564
|
+
}, Te(e.showDataValue), 9, ["x", "y", "dx", "fill", "dominant-baseline", "text-anchor", "font-family", "font-size", "font-weight"])
|
|
2565
2565
|
], 8, ["width", "height"]))
|
|
2566
2566
|
]),
|
|
2567
2567
|
_: 1
|
|
2568
2568
|
}, 8, ["placement", "disabled", "effect"])
|
|
2569
2569
|
], 36);
|
|
2570
2570
|
}
|
|
2571
|
-
const fo = /* @__PURE__ */ ve(co, [["render", vo], ["__scopeId", "data-v-
|
|
2571
|
+
const fo = /* @__PURE__ */ ve(co, [["render", vo], ["__scopeId", "data-v-492c77bc"], ["__file", "Component.vue"]]), po = /* @__PURE__ */ Object.assign({
|
|
2572
2572
|
name: "SVGDateText"
|
|
2573
2573
|
}, {
|
|
2574
2574
|
__name: "Component",
|
|
@@ -2597,7 +2597,7 @@ const fo = /* @__PURE__ */ ve(co, [["render", vo], ["__scopeId", "data-v-b3cb4a6
|
|
|
2597
2597
|
getWeek: d,
|
|
2598
2598
|
isNotEmpty: r,
|
|
2599
2599
|
isNumber: o
|
|
2600
|
-
} =
|
|
2600
|
+
} = q, l = t, s = h(() => l.propValue || {}), v = h(() => l.element || {}), p = h(() => v.value.events || []), m = _(null), g = _(0), a = _(0), D = _(""), O = _(""), I = _(!1), x = _("");
|
|
2601
2601
|
let C = null, w = null;
|
|
2602
2602
|
const V = _("");
|
|
2603
2603
|
let y = null;
|
|
@@ -2627,7 +2627,7 @@ const fo = /* @__PURE__ */ ve(co, [["render", vo], ["__scopeId", "data-v-b3cb4a6
|
|
|
2627
2627
|
P && (r(s.value.weekMode) ? j = d(P, o(s.value.weekMode) ? Number(s.value.weekMode) : 0) : j = n(P, z));
|
|
2628
2628
|
}
|
|
2629
2629
|
return j;
|
|
2630
|
-
},
|
|
2630
|
+
}, A = () => {
|
|
2631
2631
|
}, H = (M) => {
|
|
2632
2632
|
m.value?.handleClick(M);
|
|
2633
2633
|
}, E = (M) => {
|
|
@@ -2657,7 +2657,7 @@ const fo = /* @__PURE__ */ ve(co, [["render", vo], ["__scopeId", "data-v-b3cb4a6
|
|
|
2657
2657
|
return y;
|
|
2658
2658
|
}, set timer(M) {
|
|
2659
2659
|
y = M;
|
|
2660
|
-
}, draw: u, drawChart: S, showValue: R, dataFormatter: k, clearInterval:
|
|
2660
|
+
}, draw: u, drawChart: S, showValue: R, dataFormatter: k, clearInterval: A, handleClick: H, handleDblClick: E, router: Z, route: i, compContext: c, watch: B, onMounted: J, computed: h, onBeforeUnmount: Q, ref: _, onBeforeMount: $, onUnmounted: ee, get useEventHandler() {
|
|
2661
2661
|
return le;
|
|
2662
2662
|
}, get useDataCacheStore() {
|
|
2663
2663
|
return ae;
|
|
@@ -2670,7 +2670,7 @@ const fo = /* @__PURE__ */ ve(co, [["render", vo], ["__scopeId", "data-v-b3cb4a6
|
|
|
2670
2670
|
}, get useRouter() {
|
|
2671
2671
|
return oe;
|
|
2672
2672
|
}, get CommonUtils() {
|
|
2673
|
-
return
|
|
2673
|
+
return q;
|
|
2674
2674
|
} };
|
|
2675
2675
|
return Object.defineProperty(b, "__isScriptSetup", { enumerable: !1, value: !0 }), b;
|
|
2676
2676
|
}
|
|
@@ -2703,7 +2703,7 @@ function ho(t, f, n, e, d, r) {
|
|
|
2703
2703
|
"font-family": e.propValue.fontFamily,
|
|
2704
2704
|
"font-size": e.propValue.fontSize,
|
|
2705
2705
|
"font-weight": e.propValue.fontWeight
|
|
2706
|
-
},
|
|
2706
|
+
}, Te(e.showDataValue), 9, ["x", "y", "dx", "fill", "dominant-baseline", "text-anchor", "font-family", "font-size", "font-weight"])
|
|
2707
2707
|
]))
|
|
2708
2708
|
], 32);
|
|
2709
2709
|
}
|
|
@@ -2740,7 +2740,7 @@ const mo = /* @__PURE__ */ ve(po, [["render", ho], ["__scopeId", "data-v-939b62a
|
|
|
2740
2740
|
}), ee(() => {
|
|
2741
2741
|
r.value?.unmounted();
|
|
2742
2742
|
});
|
|
2743
|
-
const { dynamicColor: g } = he(o, d, e.rules,
|
|
2743
|
+
const { dynamicColor: g } = he(o, d, e.rules, q), a = h(() => g.lineColor ? g.lineColor : o.value.strokeColor ? o.value.strokeColor : "none"), D = _([]), O = _([]);
|
|
2744
2744
|
B(() => l.value.style.width, (w) => {
|
|
2745
2745
|
I();
|
|
2746
2746
|
}), B(() => l.value.style.height, (w) => {
|
|
@@ -2765,7 +2765,7 @@ const mo = /* @__PURE__ */ ve(po, [["render", ho], ["__scopeId", "data-v-939b62a
|
|
|
2765
2765
|
}, get useRouter() {
|
|
2766
2766
|
return oe;
|
|
2767
2767
|
}, get CommonUtils() {
|
|
2768
|
-
return
|
|
2768
|
+
return q;
|
|
2769
2769
|
}, get useDynamicColor() {
|
|
2770
2770
|
return he;
|
|
2771
2771
|
} };
|
|
@@ -2823,7 +2823,7 @@ const Co = /* @__PURE__ */ ve(go, [["render", yo], ["__scopeId", "data-v-7dcb208
|
|
|
2823
2823
|
},
|
|
2824
2824
|
setup(t, { expose: f }) {
|
|
2825
2825
|
f();
|
|
2826
|
-
const { generateSecureUUID: n } =
|
|
2826
|
+
const { generateSecureUUID: n } = q, e = t, d = ae(), r = ue(d), o = _(null), l = h(() => e.propValue || {}), s = h(() => e.element || {}), v = h(() => s.value.events || []), p = oe(), m = ne(), g = te(l, s, p, m);
|
|
2827
2827
|
$(() => {
|
|
2828
2828
|
o.value = le(v.value, e.designStatus, g), o.value?.beforeMount(), R.value = n();
|
|
2829
2829
|
}), J(() => {
|
|
@@ -2833,7 +2833,7 @@ const Co = /* @__PURE__ */ ve(go, [["render", yo], ["__scopeId", "data-v-7dcb208
|
|
|
2833
2833
|
}), ee(() => {
|
|
2834
2834
|
o.value?.unmounted();
|
|
2835
2835
|
});
|
|
2836
|
-
const { dynamicColor: a } = he(l, r, d.rules,
|
|
2836
|
+
const { dynamicColor: a } = he(l, r, d.rules, q), D = h(() => a.fillColor ? a.fillColor : l.value.fillColor ? l.value.fillColor : "none"), O = h(() => a.lineColor ? a.lineColor : l.value.strokeColor ? l.value.strokeColor : "none"), I = _(0), x = _(0), C = _(1), w = _(1), V = _(0), y = _(0);
|
|
2837
2837
|
B(() => s.value.style.width, (H) => {
|
|
2838
2838
|
u();
|
|
2839
2839
|
}), B(() => s.value.style.height, (H) => {
|
|
@@ -2845,7 +2845,7 @@ const Co = /* @__PURE__ */ ve(go, [["render", yo], ["__scopeId", "data-v-7dcb208
|
|
|
2845
2845
|
}, S = (H, E) => {
|
|
2846
2846
|
let M = l.value.strokeWidth, j = M / 2;
|
|
2847
2847
|
I.value = 0 * H + j, x.value = 0 * E + j, C.value = E * 1 - M, w.value = H * 1 - M;
|
|
2848
|
-
}, R = _(""), k = h(() => l.value.hasGradient ? `url(#${R.value})` : D.value),
|
|
2848
|
+
}, R = _(""), k = h(() => l.value.hasGradient ? `url(#${R.value})` : D.value), A = { generateSecureUUID: n, props: e, dataCache: d, smartData: r, eventHandler: o, propValue: l, element: s, events: v, router: p, route: m, compContext: g, dynamicColor: a, showFillColor: D, showLineColor: O, rlux: I, rluy: x, rhight: C, rwidth: w, rrx: V, rry: y, draw: u, drawChart: S, gradientId: R, fillStyle: k, get useEventHandler() {
|
|
2849
2849
|
return le;
|
|
2850
2850
|
}, get useDataCacheStore() {
|
|
2851
2851
|
return ae;
|
|
@@ -2854,7 +2854,7 @@ const Co = /* @__PURE__ */ ve(go, [["render", yo], ["__scopeId", "data-v-7dcb208
|
|
|
2854
2854
|
}, get CreateCompContext() {
|
|
2855
2855
|
return te;
|
|
2856
2856
|
}, ref: _, computed: h, watch: B, onMounted: J, onBeforeMount: $, onBeforeUnmount: Q, onUnmounted: ee, get CommonUtils() {
|
|
2857
|
-
return
|
|
2857
|
+
return q;
|
|
2858
2858
|
}, get useRoute() {
|
|
2859
2859
|
return ne;
|
|
2860
2860
|
}, get useRouter() {
|
|
@@ -2862,7 +2862,7 @@ const Co = /* @__PURE__ */ ve(go, [["render", yo], ["__scopeId", "data-v-7dcb208
|
|
|
2862
2862
|
}, get useDynamicColor() {
|
|
2863
2863
|
return he;
|
|
2864
2864
|
} };
|
|
2865
|
-
return Object.defineProperty(
|
|
2865
|
+
return Object.defineProperty(A, "__isScriptSetup", { enumerable: !1, value: !0 }), A;
|
|
2866
2866
|
}
|
|
2867
2867
|
});
|
|
2868
2868
|
function _o(t, f, n, e, d, r) {
|
|
@@ -2969,7 +2969,7 @@ const xo = /* @__PURE__ */ ve(bo, [["render", _o], ["__scopeId", "data-v-4ce499b
|
|
|
2969
2969
|
}), ee(() => {
|
|
2970
2970
|
r.value?.unmounted();
|
|
2971
2971
|
});
|
|
2972
|
-
const { dynamicColor: g } = he(o, d, e.rules,
|
|
2972
|
+
const { dynamicColor: g } = he(o, d, e.rules, q), a = h(() => g.fillColor ? g.fillColor : o.value.fillColor ? o.value.fillColor : "none"), D = h(() => g.lineColor ? g.lineColor : o.value.strokeColor ? o.value.strokeColor : "none"), O = _([]);
|
|
2973
2973
|
B(() => l.value.style.width, (w) => {
|
|
2974
2974
|
I();
|
|
2975
2975
|
}), B(() => l.value.style.height, (w) => {
|
|
@@ -2995,7 +2995,7 @@ const xo = /* @__PURE__ */ ve(bo, [["render", _o], ["__scopeId", "data-v-4ce499b
|
|
|
2995
2995
|
}, get useRouter() {
|
|
2996
2996
|
return oe;
|
|
2997
2997
|
}, get CommonUtils() {
|
|
2998
|
-
return
|
|
2998
|
+
return q;
|
|
2999
2999
|
}, get useDynamicColor() {
|
|
3000
3000
|
return he;
|
|
3001
3001
|
} };
|
|
@@ -3051,7 +3051,7 @@ const ko = /* @__PURE__ */ ve(So, [["render", wo], ["__scopeId", "data-v-aec13cc
|
|
|
3051
3051
|
}), ee(() => {
|
|
3052
3052
|
r.value?.unmounted();
|
|
3053
3053
|
});
|
|
3054
|
-
const { dynamicColor: g } = he(o, d, e.rules,
|
|
3054
|
+
const { dynamicColor: g } = he(o, d, e.rules, q), a = h(() => g.lineColor ? g.lineColor : o.value.strokeColor ? o.value.strokeColor : "none"), D = _([]), O = _([]);
|
|
3055
3055
|
B(() => l.value.style.width, (w) => {
|
|
3056
3056
|
I();
|
|
3057
3057
|
}), B(() => l.value.style.height, (w) => {
|
|
@@ -3076,7 +3076,7 @@ const ko = /* @__PURE__ */ ve(So, [["render", wo], ["__scopeId", "data-v-aec13cc
|
|
|
3076
3076
|
}, get useRouter() {
|
|
3077
3077
|
return oe;
|
|
3078
3078
|
}, get CommonUtils() {
|
|
3079
|
-
return
|
|
3079
|
+
return q;
|
|
3080
3080
|
}, get useDynamicColor() {
|
|
3081
3081
|
return he;
|
|
3082
3082
|
} };
|
|
@@ -3172,11 +3172,11 @@ const Oo = /* @__PURE__ */ ve(Vo, [["render", Mo], ["__scopeId", "data-v-cddc726
|
|
|
3172
3172
|
const { processMenus: C } = Be(), w = (u) => {
|
|
3173
3173
|
u.preventDefault();
|
|
3174
3174
|
let S = d.value.menuItems || [];
|
|
3175
|
-
if (
|
|
3175
|
+
if (q.isArray(S) && S.length > 0) {
|
|
3176
3176
|
let R = [];
|
|
3177
|
-
R = C(S, function(k,
|
|
3177
|
+
R = C(S, function(k, A) {
|
|
3178
3178
|
e.value?.handleContextMenu(u, k.value);
|
|
3179
|
-
}),
|
|
3179
|
+
}), Ae.showContextMenu({
|
|
3180
3180
|
x: u.x,
|
|
3181
3181
|
y: u.y,
|
|
3182
3182
|
items: R
|
|
@@ -3194,13 +3194,13 @@ const Oo = /* @__PURE__ */ ve(Vo, [["render", Mo], ["__scopeId", "data-v-cddc726
|
|
|
3194
3194
|
}, get CreateCompContext() {
|
|
3195
3195
|
return te;
|
|
3196
3196
|
}, get CommonUtils() {
|
|
3197
|
-
return
|
|
3197
|
+
return q;
|
|
3198
3198
|
}, watch: B, onMounted: J, computed: h, ref: _, onBeforeMount: $, onBeforeUnmount: Q, onUnmounted: ee, onActivated: ge, onDeactivated: be, get useRoute() {
|
|
3199
3199
|
return ne;
|
|
3200
3200
|
}, get useRouter() {
|
|
3201
3201
|
return oe;
|
|
3202
3202
|
}, get ContextMenu() {
|
|
3203
|
-
return
|
|
3203
|
+
return Ae;
|
|
3204
3204
|
}, get useMenuHandler() {
|
|
3205
3205
|
return Be;
|
|
3206
3206
|
}, get getCursorByEvents() {
|
|
@@ -3247,7 +3247,7 @@ function Io(t, f, n, e, d, r) {
|
|
|
3247
3247
|
"font-family": e.propValue.fontFamily,
|
|
3248
3248
|
"font-size": e.propValue.fontSize,
|
|
3249
3249
|
"font-weight": e.propValue.fontWeight
|
|
3250
|
-
},
|
|
3250
|
+
}, Te(e.propValue.text), 9, ["x", "y", "dx", "fill", "dominant-baseline", "text-anchor", "font-family", "font-size", "font-weight"])
|
|
3251
3251
|
], 8, ["width", "height"]))
|
|
3252
3252
|
], 36);
|
|
3253
3253
|
}
|
|
@@ -3274,10 +3274,10 @@ const jo = /* @__PURE__ */ ve(Do, [["render", Io], ["__scopeId", "data-v-9916489
|
|
|
3274
3274
|
},
|
|
3275
3275
|
setup(t, { expose: f }) {
|
|
3276
3276
|
f();
|
|
3277
|
-
const { isNotEmpty: n } =
|
|
3277
|
+
const { isNotEmpty: n } = q, e = t, d = h(() => e.propValue || {}), r = h(() => e.element || {}), o = h(() => r.value.events || []), l = _(null), s = h(() => {
|
|
3278
3278
|
const { width: R, height: k } = r.value.style;
|
|
3279
|
-
let
|
|
3280
|
-
return n(d.value.translateX) || n(d.value.translateY) ? n(d.value.translateX) && n(d.value.translateY) ? `rotate(90,${
|
|
3279
|
+
let A = R / 2, H = k / 2;
|
|
3280
|
+
return n(d.value.translateX) || n(d.value.translateY) ? n(d.value.translateX) && n(d.value.translateY) ? `rotate(90,${A},${H}) translate(${d.value.translateX}, ${d.value.translateY})` : n(d.value.translateX) ? `rotate(90,${A},${H}) translate(${d.value.translateX}, 0)` : `rotate(90,${A},${H}) translate(0, ${d.value.translateY})` : `rotate(90,${A},${H})`;
|
|
3281
3281
|
}), v = _(0), p = _(0), m = _(""), g = _(""), a = (R) => {
|
|
3282
3282
|
l.value?.handleClick(R);
|
|
3283
3283
|
}, D = (R) => {
|
|
@@ -3296,8 +3296,8 @@ const jo = /* @__PURE__ */ ve(Do, [["render", Io], ["__scopeId", "data-v-9916489
|
|
|
3296
3296
|
const { width: R, height: k } = e.element.style;
|
|
3297
3297
|
I(R, k);
|
|
3298
3298
|
}, I = (R, k) => {
|
|
3299
|
-
let
|
|
3300
|
-
|
|
3299
|
+
let A = e.propValue.horizontalAlign || "left", H = e.propValue.offsetX || 0;
|
|
3300
|
+
A == "center" ? (g.value = "middle", v.value = R * 0.5) : A == "right" ? (v.value = R - H, g.value = "end") : (v.value = 0 + H, g.value = "start"), m.value = "central", p.value = k * 0.5;
|
|
3301
3301
|
}, x = oe(), C = ne(), w = te(d, r, x, C);
|
|
3302
3302
|
$(() => {
|
|
3303
3303
|
l.value = le(o.value, e.designStatus, w), l.value?.beforeMount();
|
|
@@ -3315,14 +3315,14 @@ const jo = /* @__PURE__ */ ve(Do, [["render", Io], ["__scopeId", "data-v-9916489
|
|
|
3315
3315
|
const { processMenus: V } = Be(), y = (R) => {
|
|
3316
3316
|
R.preventDefault();
|
|
3317
3317
|
let k = d.value.menuItems || [];
|
|
3318
|
-
if (
|
|
3319
|
-
let
|
|
3320
|
-
|
|
3318
|
+
if (q.isArray(k) && k.length > 0) {
|
|
3319
|
+
let A = [];
|
|
3320
|
+
A = V(k, function(H, E) {
|
|
3321
3321
|
l.value?.handleContextMenu(R, H.value);
|
|
3322
|
-
}),
|
|
3322
|
+
}), Ae.showContextMenu({
|
|
3323
3323
|
x: R.x,
|
|
3324
3324
|
y: R.y,
|
|
3325
|
-
items:
|
|
3325
|
+
items: A
|
|
3326
3326
|
});
|
|
3327
3327
|
}
|
|
3328
3328
|
}, u = h(() => {
|
|
@@ -3341,9 +3341,9 @@ const jo = /* @__PURE__ */ ve(Do, [["render", Io], ["__scopeId", "data-v-9916489
|
|
|
3341
3341
|
}, get useRouter() {
|
|
3342
3342
|
return oe;
|
|
3343
3343
|
}, get CommonUtils() {
|
|
3344
|
-
return
|
|
3344
|
+
return q;
|
|
3345
3345
|
}, get ContextMenu() {
|
|
3346
|
-
return
|
|
3346
|
+
return Ae;
|
|
3347
3347
|
}, get useMenuHandler() {
|
|
3348
3348
|
return Be;
|
|
3349
3349
|
}, get getCursorByEvents() {
|
|
@@ -3394,7 +3394,7 @@ function Po(t, f, n, e, d, r) {
|
|
|
3394
3394
|
style: { "letter-spacing": "5px" },
|
|
3395
3395
|
transform: e.transformAttr,
|
|
3396
3396
|
rotate: "-90"
|
|
3397
|
-
},
|
|
3397
|
+
}, Te(e.propValue.text), 9, ["x", "y", "dx", "fill", "dominant-baseline", "text-anchor", "font-family", "font-size", "font-weight", "transform"])) : (W(), N("text", {
|
|
3398
3398
|
key: 2,
|
|
3399
3399
|
x: e.textX,
|
|
3400
3400
|
y: e.textY,
|
|
@@ -3405,7 +3405,7 @@ function Po(t, f, n, e, d, r) {
|
|
|
3405
3405
|
"font-family": e.propValue.fontFamily,
|
|
3406
3406
|
"font-size": e.propValue.fontSize,
|
|
3407
3407
|
"font-weight": e.propValue.fontWeight
|
|
3408
|
-
},
|
|
3408
|
+
}, Te(e.propValue.text), 9, ["x", "y", "dx", "fill", "dominant-baseline", "text-anchor", "font-family", "font-size", "font-weight"]))
|
|
3409
3409
|
], 8, ["width", "height"]))
|
|
3410
3410
|
], 36);
|
|
3411
3411
|
}
|
|
@@ -3432,7 +3432,7 @@ const Lo = /* @__PURE__ */ ve(Ho, [["render", Po], ["__scopeId", "data-v-2ea1487
|
|
|
3432
3432
|
},
|
|
3433
3433
|
setup(t, { expose: f }) {
|
|
3434
3434
|
f();
|
|
3435
|
-
const { generateSecureUUID: n } =
|
|
3435
|
+
const { generateSecureUUID: n } = q, e = t, d = ae(), r = ue(d), o = _(null), l = h(() => e.propValue || {}), s = h(() => e.element || {}), v = h(() => s.value.events || []), p = oe(), m = ne(), g = te(l, s, p, m);
|
|
3436
3436
|
$(() => {
|
|
3437
3437
|
o.value = le(v.value, e.designStatus, g), o.value?.beforeMount(), V.value = n();
|
|
3438
3438
|
}), J(() => {
|
|
@@ -3442,7 +3442,7 @@ const Lo = /* @__PURE__ */ ve(Ho, [["render", Po], ["__scopeId", "data-v-2ea1487
|
|
|
3442
3442
|
}), ee(() => {
|
|
3443
3443
|
o.value?.unmounted();
|
|
3444
3444
|
});
|
|
3445
|
-
const { dynamicColor: a } = he(l, r, d.rules,
|
|
3445
|
+
const { dynamicColor: a } = he(l, r, d.rules, q), D = h(() => a.fillColor ? a.fillColor : l.value.fillColor ? l.value.fillColor : "none"), O = h(() => a.lineColor ? a.lineColor : l.value.strokeColor ? l.value.strokeColor : "none"), I = _(""), x = _(2);
|
|
3446
3446
|
B(() => s.value.style.width, (S) => {
|
|
3447
3447
|
C();
|
|
3448
3448
|
}), B(() => s.value.style.height, (S) => {
|
|
@@ -3456,8 +3456,8 @@ const Lo = /* @__PURE__ */ ve(Ho, [["render", Po], ["__scopeId", "data-v-2ea1487
|
|
|
3456
3456
|
const { width: S, height: R } = s.value.style;
|
|
3457
3457
|
w(S, R);
|
|
3458
3458
|
}, w = (S, R) => {
|
|
3459
|
-
let k = l.value.tilt || "right",
|
|
3460
|
-
|
|
3459
|
+
let k = l.value.tilt || "right", A = l.value.offsetLen || 0, H = [], E = 0, Z = Math.round((S - 2 * x.value) * 0.5);
|
|
3460
|
+
A = Number(A), A = A < 0 ? 0 : A, A = A > Z ? Z : A, k == "left" ? (H[E++] = x.value, H[E++] = ",", H[E++] = x.value, H[E++] = S - x.value - A, H[E++] = ",", H[E++] = x.value, H[E++] = S - x.value, H[E++] = ",", H[E++] = R - x.value, H[E++] = x.value + A, H[E++] = ",", H[E++] = R - x.value, H[E++] = x.value, H[E++] = ",", H[E++] = x.value, I.value = H.join(" ")) : (H[E++] = x.value + A, H[E++] = ",", H[E++] = x.value, H[E++] = S - x.value, H[E++] = ",", H[E++] = x.value, H[E++] = S - x.value - A, H[E++] = ",", H[E++] = R - x.value, H[E++] = x.value, H[E++] = ",", H[E++] = R - x.value, H[E++] = x.value + A, H[E++] = ",", H[E++] = x.value, I.value = H.join(" "));
|
|
3461
3461
|
}, V = _(""), y = h(() => l.value.hasGradient ? `url(#${V.value})` : D.value), u = { generateSecureUUID: n, props: e, dataCache: d, smartData: r, eventHandler: o, propValue: l, element: s, events: v, router: p, route: m, compContext: g, dynamicColor: a, showFillColor: D, showLineColor: O, pointDatas: I, gap: x, draw: C, drawChart: w, gradientId: V, fillStyle: y, get useEventHandler() {
|
|
3462
3462
|
return le;
|
|
3463
3463
|
}, get useDataCacheStore() {
|
|
@@ -3467,7 +3467,7 @@ const Lo = /* @__PURE__ */ ve(Ho, [["render", Po], ["__scopeId", "data-v-2ea1487
|
|
|
3467
3467
|
}, get CreateCompContext() {
|
|
3468
3468
|
return te;
|
|
3469
3469
|
}, ref: _, computed: h, watch: B, onMounted: J, onBeforeMount: $, onBeforeUnmount: Q, onUnmounted: ee, get CommonUtils() {
|
|
3470
|
-
return
|
|
3470
|
+
return q;
|
|
3471
3471
|
}, get useRoute() {
|
|
3472
3472
|
return ne;
|
|
3473
3473
|
}, get useRouter() {
|
|
@@ -3544,7 +3544,7 @@ function Wo(t, f, n, e, d, r) {
|
|
|
3544
3544
|
], 8, ["width", "height"]))
|
|
3545
3545
|
]);
|
|
3546
3546
|
}
|
|
3547
|
-
const
|
|
3547
|
+
const To = /* @__PURE__ */ ve(Ro, [["render", Wo], ["__scopeId", "data-v-78f636ae"], ["__file", "Component.vue"]]), Ao = {
|
|
3548
3548
|
__name: "index",
|
|
3549
3549
|
props: {
|
|
3550
3550
|
propValue: {
|
|
@@ -3632,11 +3632,11 @@ function Bo(t, f, n, e, d, r) {
|
|
|
3632
3632
|
"font-family": e.propValue.fontFamily,
|
|
3633
3633
|
"text-anchor": "middle",
|
|
3634
3634
|
"dominant-baseline": "middle"
|
|
3635
|
-
},
|
|
3635
|
+
}, Te(e.percentage) + `%\r
|
|
3636
3636
|
`, 9, ["fill", "font-size", "font-family"])
|
|
3637
3637
|
]);
|
|
3638
3638
|
}
|
|
3639
|
-
const Fo = /* @__PURE__ */ ve(
|
|
3639
|
+
const Fo = /* @__PURE__ */ ve(Ao, [["render", Bo], ["__file", "index.vue"]]), Eo = /* @__PURE__ */ Object.assign({
|
|
3640
3640
|
name: "SVGLiquidFillBall"
|
|
3641
3641
|
}, {
|
|
3642
3642
|
__name: "Component",
|
|
@@ -3659,7 +3659,7 @@ const Fo = /* @__PURE__ */ ve(To, [["render", Bo], ["__file", "index.vue"]]), Eo
|
|
|
3659
3659
|
},
|
|
3660
3660
|
setup(t, { expose: f }) {
|
|
3661
3661
|
f();
|
|
3662
|
-
const { isObject: n, isValid: e, isNumber: d } =
|
|
3662
|
+
const { isObject: n, isValid: e, isNumber: d } = q, r = t, o = ae(), l = ue(o), s = _(null), v = h(() => r.propValue || {}), p = h(() => r.element || {}), m = h(() => p.value.events || []), g = oe(), a = ne(), D = te(v, p, g, a);
|
|
3663
3663
|
$(() => {
|
|
3664
3664
|
s.value = le(m.value, r.designStatus, D), s.value?.beforeMount();
|
|
3665
3665
|
}), J(() => {
|
|
@@ -3687,8 +3687,8 @@ const Fo = /* @__PURE__ */ ve(To, [["render", Bo], ["__file", "index.vue"]]), Eo
|
|
|
3687
3687
|
function V(S) {
|
|
3688
3688
|
let R = null;
|
|
3689
3689
|
if (n(S) ? R = S[v.value.valueKey] || null : R = S, d(R)) {
|
|
3690
|
-
let k = v.value.fractionDigits || 0,
|
|
3691
|
-
d(
|
|
3690
|
+
let k = v.value.fractionDigits || 0, A = v.value.factor, H = 0;
|
|
3691
|
+
d(A) && (A = Number(A), H = Number(R) * A), k && Number(k) ? k = parseInt(k) : k = 0, C.value = Number(H.toFixed(k));
|
|
3692
3692
|
} else
|
|
3693
3693
|
C.value = 0;
|
|
3694
3694
|
}
|
|
@@ -3708,7 +3708,7 @@ const Fo = /* @__PURE__ */ ve(To, [["render", Bo], ["__file", "index.vue"]]), Eo
|
|
|
3708
3708
|
}, get useRouter() {
|
|
3709
3709
|
return oe;
|
|
3710
3710
|
}, get CommonUtils() {
|
|
3711
|
-
return
|
|
3711
|
+
return q;
|
|
3712
3712
|
}, LiquidFillBall: Fo, get getCursorByEvents() {
|
|
3713
3713
|
return Ve;
|
|
3714
3714
|
} };
|
|
@@ -3751,7 +3751,7 @@ const zo = /* @__PURE__ */ ve(Eo, [["render", No], ["__scopeId", "data-v-f695b4b
|
|
|
3751
3751
|
},
|
|
3752
3752
|
setup(t, { expose: f }) {
|
|
3753
3753
|
f();
|
|
3754
|
-
const { isNotEmpty: n } =
|
|
3754
|
+
const { isNotEmpty: n } = q, e = Je(), d = _(null), r = t, o = ae(), l = ue(o), s = _(null), v = h(() => r.propValue || {}), p = h(() => r.element || {}), m = h(() => p.value.events || []), g = oe(), a = ne(), D = te(v, p, g, a);
|
|
3755
3755
|
$(() => {
|
|
3756
3756
|
w(), s.value = le(m.value, r.designStatus, D), s.value?.beforeMount();
|
|
3757
3757
|
}), J(() => {
|
|
@@ -3811,7 +3811,7 @@ const zo = /* @__PURE__ */ ve(Eo, [["render", No], ["__scopeId", "data-v-f695b4b
|
|
|
3811
3811
|
}), k = h(() => {
|
|
3812
3812
|
const i = v.value.secondColorCK;
|
|
3813
3813
|
return n(i) ? l[i] : {};
|
|
3814
|
-
}),
|
|
3814
|
+
}), A = h(() => {
|
|
3815
3815
|
const i = v.value.thirdColorCK;
|
|
3816
3816
|
return n(i) ? l[i] : {};
|
|
3817
3817
|
}), H = h(() => {
|
|
@@ -3827,14 +3827,14 @@ const zo = /* @__PURE__ */ ve(Eo, [["render", No], ["__scopeId", "data-v-f695b4b
|
|
|
3827
3827
|
n(v.value.firstColorCK) && (C.value.firstColor = i);
|
|
3828
3828
|
}), B(() => k, (i) => {
|
|
3829
3829
|
n(v.value.secondColorCK) && (C.value.secondColor = i);
|
|
3830
|
-
}), B(() =>
|
|
3830
|
+
}), B(() => A, (i) => {
|
|
3831
3831
|
n(v.value.thirdColorCK) && (C.value.thirdColor = i);
|
|
3832
3832
|
}), B(() => H, (i) => {
|
|
3833
3833
|
n(v.value.fourColorCK) && (C.value.fourColor = i);
|
|
3834
3834
|
}), B(() => E, (i) => {
|
|
3835
3835
|
n(v.value.fiveColorCK) && (C.value.fiveColor = i);
|
|
3836
3836
|
});
|
|
3837
|
-
const Z = { isNotEmpty: n, api: e, svgContainerRef: d, props: r, dataCache: o, smartData: l, eventHandler: s, propValue: v, element: p, events: m, router: g, route: a, compContext: D, handleClick: O, handleDblClick: I, svgContent: x, dynamicVars: C, initFromProps: w, customStyle: V, loadSvgFile: y, removeSvgDimensions: u, fileData: S, firstColorData: R, secondColorData: k, thirdColorData:
|
|
3837
|
+
const Z = { isNotEmpty: n, api: e, svgContainerRef: d, props: r, dataCache: o, smartData: l, eventHandler: s, propValue: v, element: p, events: m, router: g, route: a, compContext: D, handleClick: O, handleDblClick: I, svgContent: x, dynamicVars: C, initFromProps: w, customStyle: V, loadSvgFile: y, removeSvgDimensions: u, fileData: S, firstColorData: R, secondColorData: k, thirdColorData: A, fourColorData: H, fiveColorData: E, get useEventHandler() {
|
|
3838
3838
|
return le;
|
|
3839
3839
|
}, get useDataCacheStore() {
|
|
3840
3840
|
return ae;
|
|
@@ -3843,7 +3843,7 @@ const zo = /* @__PURE__ */ ve(Eo, [["render", No], ["__scopeId", "data-v-f695b4b
|
|
|
3843
3843
|
}, get CreateCompContext() {
|
|
3844
3844
|
return te;
|
|
3845
3845
|
}, ref: _, computed: h, watch: B, onMounted: J, onBeforeMount: $, onBeforeUnmount: Q, onUnmounted: ee, nextTick: Ie, get CommonUtils() {
|
|
3846
|
-
return
|
|
3846
|
+
return q;
|
|
3847
3847
|
}, get useRoute() {
|
|
3848
3848
|
return ne;
|
|
3849
3849
|
}, get useRouter() {
|
|
@@ -3888,7 +3888,7 @@ const Uo = /* @__PURE__ */ ve(Ko, [["render", Go], ["__scopeId", "data-v-c70396c
|
|
|
3888
3888
|
},
|
|
3889
3889
|
setup(t, { expose: f }) {
|
|
3890
3890
|
f();
|
|
3891
|
-
const { generateSecureUUID: n } =
|
|
3891
|
+
const { generateSecureUUID: n } = q, e = t, d = ae(), r = ue(d), o = _(null), l = h(() => e.propValue || {}), s = h(() => e.element || {}), v = h(() => s.value.events || []), p = oe(), m = ne(), g = te(l, s, p, m);
|
|
3892
3892
|
$(() => {
|
|
3893
3893
|
o.value = le(v.value, e.designStatus, g), o.value?.beforeMount(), C.value = n();
|
|
3894
3894
|
}), J(() => {
|
|
@@ -3898,7 +3898,7 @@ const Uo = /* @__PURE__ */ ve(Ko, [["render", Go], ["__scopeId", "data-v-c70396c
|
|
|
3898
3898
|
}), ee(() => {
|
|
3899
3899
|
o.value?.unmounted();
|
|
3900
3900
|
});
|
|
3901
|
-
const { dynamicColor: a } = he(l, r, d.rules,
|
|
3901
|
+
const { dynamicColor: a } = he(l, r, d.rules, q), D = h(() => l.value.hasGradient ? `url(#${C.value})` : O.value), O = h(() => a.lineColor ? a.lineColor : l.value.strokeColor ? l.value.strokeColor : "none"), I = _([]), x = _([]), C = _("");
|
|
3902
3902
|
B(() => s.value.style.width, (u) => {
|
|
3903
3903
|
w();
|
|
3904
3904
|
}), B(() => s.value.style.height, (u) => {
|
|
@@ -3923,14 +3923,14 @@ const Uo = /* @__PURE__ */ ve(Ko, [["render", Go], ["__scopeId", "data-v-c70396c
|
|
|
3923
3923
|
}, get useRouter() {
|
|
3924
3924
|
return oe;
|
|
3925
3925
|
}, get CommonUtils() {
|
|
3926
|
-
return
|
|
3926
|
+
return q;
|
|
3927
3927
|
}, get useDynamicColor() {
|
|
3928
3928
|
return he;
|
|
3929
3929
|
} };
|
|
3930
3930
|
return Object.defineProperty(y, "__isScriptSetup", { enumerable: !1, value: !0 }), y;
|
|
3931
3931
|
}
|
|
3932
3932
|
});
|
|
3933
|
-
function
|
|
3933
|
+
function Yo(t, f, n, e, d, r) {
|
|
3934
3934
|
return W(), N("div", { class: "svg-container" }, [
|
|
3935
3935
|
(W(), N("svg", {
|
|
3936
3936
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4007,7 +4007,7 @@ function qo(t, f, n, e, d, r) {
|
|
|
4007
4007
|
], 8, ["width", "height"]))
|
|
4008
4008
|
]);
|
|
4009
4009
|
}
|
|
4010
|
-
const
|
|
4010
|
+
const qo = /* @__PURE__ */ ve(Xo, [["render", Yo], ["__scopeId", "data-v-0ad0dffa"], ["__file", "Component.vue"]]), Zo = {
|
|
4011
4011
|
__name: "BaseGridTable",
|
|
4012
4012
|
props: {
|
|
4013
4013
|
// 网格边框配置 默认样式配置
|
|
@@ -4074,7 +4074,7 @@ const Yo = /* @__PURE__ */ ve(Xo, [["render", qo], ["__scopeId", "data-v-0ad0dff
|
|
|
4074
4074
|
diagonalCells: { type: Array, default: () => [] }
|
|
4075
4075
|
},
|
|
4076
4076
|
setup(t, { expose: f }) {
|
|
4077
|
-
const { consolePrint: n, isArray: e, isEven: d, isNotEmpty: r } =
|
|
4077
|
+
const { consolePrint: n, isArray: e, isEven: d, isNotEmpty: r } = q, o = t, l = _(), s = _();
|
|
4078
4078
|
let v = [], p = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map();
|
|
4079
4079
|
const a = h(() => Array.from(
|
|
4080
4080
|
{ length: o.rows },
|
|
@@ -4117,29 +4117,29 @@ const Yo = /* @__PURE__ */ ve(Xo, [["render", qo], ["__scopeId", "data-v-0ad0dff
|
|
|
4117
4117
|
continue;
|
|
4118
4118
|
let L = H();
|
|
4119
4119
|
if (j = c.row, P = c.col, c.reverse) {
|
|
4120
|
-
let re = v[j][P][0], me = v[j][P][1], K = re +
|
|
4120
|
+
let re = v[j][P][0], me = v[j][P][1], K = re + A(D.value[c.col]), T = v[j][P][1] + A(a.value[c.row]);
|
|
4121
4121
|
if (m.has(M)) {
|
|
4122
|
-
let
|
|
4123
|
-
for (let
|
|
4124
|
-
F +=
|
|
4122
|
+
let Y = m.get(M), F = 0;
|
|
4123
|
+
for (let de = 0; de < Y.colSpan; de++)
|
|
4124
|
+
F += A(D.value[c.col + de]);
|
|
4125
4125
|
K = re + F, F = 0;
|
|
4126
|
-
for (let
|
|
4127
|
-
F +=
|
|
4128
|
-
|
|
4126
|
+
for (let de = 0; de < Y.rowSpan; de++)
|
|
4127
|
+
F += A(a.value[c.row + de]);
|
|
4128
|
+
T = me + F;
|
|
4129
4129
|
}
|
|
4130
|
-
L.x1 = re, L.y1 =
|
|
4130
|
+
L.x1 = re, L.y1 = T, L.x2 = K, L.y2 = me, L.strokeStyle = c.color ?? o.diagonalStyle.color, L.lineWidth = c.width ?? o.diagonalStyle.width, L.dash = c.dash ?? o.diagonalStyle.dash, b.push(L);
|
|
4131
4131
|
} else {
|
|
4132
|
-
let re = v[j][P][0], me = v[j][P][1], K = re +
|
|
4132
|
+
let re = v[j][P][0], me = v[j][P][1], K = re + A(D.value[c.col]), T = me + A(a.value[c.row]);
|
|
4133
4133
|
if (m.has(M)) {
|
|
4134
|
-
let
|
|
4135
|
-
for (let
|
|
4136
|
-
F +=
|
|
4134
|
+
let Y = m.get(M), F = 0;
|
|
4135
|
+
for (let de = 0; de < Y.colSpan; de++)
|
|
4136
|
+
F += A(D.value[c.col + de]);
|
|
4137
4137
|
K = re + F, F = 0;
|
|
4138
|
-
for (let
|
|
4139
|
-
F +=
|
|
4140
|
-
|
|
4138
|
+
for (let de = 0; de < Y.rowSpan; de++)
|
|
4139
|
+
F += A(a.value[c.row + de]);
|
|
4140
|
+
T = me + F;
|
|
4141
4141
|
}
|
|
4142
|
-
L.x1 = re, L.y1 = me, L.x2 = K, L.y2 =
|
|
4142
|
+
L.x1 = re, L.y1 = me, L.x2 = K, L.y2 = T, L.strokeStyle = c.color ?? o.diagonalStyle.color, L.lineWidth = c.width ?? o.diagonalStyle.width, L.dash = c.dash ?? o.diagonalStyle.dash, b.push(L);
|
|
4143
4143
|
}
|
|
4144
4144
|
}
|
|
4145
4145
|
E(s.value, b, !1);
|
|
@@ -4147,13 +4147,13 @@ const Yo = /* @__PURE__ */ ve(Xo, [["render", qo], ["__scopeId", "data-v-0ad0dff
|
|
|
4147
4147
|
}, u = () => {
|
|
4148
4148
|
let c = 0, b = 0, M = 0, j = 0;
|
|
4149
4149
|
for (let P = 0; P < o.rows; P++) {
|
|
4150
|
-
v[P] = [], P == 0 ? c = 0 : c =
|
|
4150
|
+
v[P] = [], P == 0 ? c = 0 : c = A(a.value[P - 1]), M += c, j = 0;
|
|
4151
4151
|
for (let z = 0; z < o.cols; z++)
|
|
4152
|
-
z == 0 ? b = 0 : b =
|
|
4152
|
+
z == 0 ? b = 0 : b = A(D.value[z - 1]), j += b, v[P][z] = [j, M];
|
|
4153
4153
|
}
|
|
4154
4154
|
}, S = (c, b, M) => {
|
|
4155
4155
|
let j = v[b][M][0], P = v[b][M][1], z = b + "_" + M, L;
|
|
4156
|
-
b > 0 && (L = H(), L.x1 = j, L.y1 = P, L.x2 = j +
|
|
4156
|
+
b > 0 && (L = H(), L.x1 = j, L.y1 = P, L.x2 = j + A(D.value[M]), L.y2 = P, L.r = b, L.c = M, p.has(z) ? p.get(z).sameRow && (R(L, b, M, 1), d(L.lineWidth) || (L.y1 += 0.5, L.y2 += 0.5), c.push(L)) : (R(L, b, M, 1), d(L.lineWidth) || (L.y1 += 0.5, L.y2 += 0.5), c.push(L))), M > 0 && (L = H(), L.x1 = j, L.y1 = P, L.x2 = j, L.y2 = P + A(a.value[b]), L.r = b, L.c = M, p.has(z) ? p.get(z).sameCol && (R(L, b, M, 2), d(L.lineWidth) || (L.x1 += 0.5, L.x2 += 0.5), c.push(L)) : (R(L, b, M, 2), d(L.lineWidth) || (L.x1 += 0.5, L.x2 += 0.5), c.push(L)));
|
|
4157
4157
|
}, R = (c, b, M, j) => {
|
|
4158
4158
|
let P = b + "_" + M, z = b, L = M;
|
|
4159
4159
|
if (p.has(P)) {
|
|
@@ -4203,7 +4203,7 @@ const Yo = /* @__PURE__ */ ve(Xo, [["render", qo], ["__scopeId", "data-v-0ad0dff
|
|
|
4203
4203
|
b = o.cellStyle[M], k(b.row, b.col) && g.set(b.row + "_" + b.col, { ...b });
|
|
4204
4204
|
}
|
|
4205
4205
|
}, { immediate: !0 });
|
|
4206
|
-
const k = (c, b) => !(c < 0 || b < 0 || c > o.rows || b > o.cols),
|
|
4206
|
+
const k = (c, b) => !(c < 0 || b < 0 || c > o.rows || b > o.cols), A = (c) => parseFloat(c) ?? 0, H = () => ({
|
|
4207
4207
|
x1: 0,
|
|
4208
4208
|
y1: 0,
|
|
4209
4209
|
x2: 0,
|
|
@@ -4253,8 +4253,8 @@ const Yo = /* @__PURE__ */ ve(Xo, [["render", qo], ["__scopeId", "data-v-0ad0dff
|
|
|
4253
4253
|
return g;
|
|
4254
4254
|
}, set cellStyleMap(c) {
|
|
4255
4255
|
g = c;
|
|
4256
|
-
}, computedRowHeights: a, computedColWidths: D, canvasWidth: O, canvasHeight: I, drawGrid: x, _drawBorder: C, _setBorderStyle: w, _drawCellArea: V, _drawDiagonal: y, _calcCellPosition: u, drawCell: S, _setCellStyle: R, _checkValidCell: k, _getVal:
|
|
4257
|
-
return
|
|
4256
|
+
}, computedRowHeights: a, computedColWidths: D, canvasWidth: O, canvasHeight: I, drawGrid: x, _drawBorder: C, _setBorderStyle: w, _drawCellArea: V, _drawDiagonal: y, _calcCellPosition: u, drawCell: S, _setCellStyle: R, _checkValidCell: k, _getVal: A, _getDefaultLineObj: H, drawLine: E, redraw: Z, computed: h, onMounted: J, ref: _, watch: B, nextTick: Ie, get CommonUtils() {
|
|
4257
|
+
return q;
|
|
4258
4258
|
} };
|
|
4259
4259
|
return Object.defineProperty(i, "__isScriptSetup", { enumerable: !1, value: !0 }), i;
|
|
4260
4260
|
}
|
|
@@ -4313,7 +4313,7 @@ const Qo = /* @__PURE__ */ ve(Zo, [["render", Jo], ["__scopeId", "data-v-6480756
|
|
|
4313
4313
|
);
|
|
4314
4314
|
if (l.value.style.height > 0) {
|
|
4315
4315
|
let V = 0;
|
|
4316
|
-
V = C.reduce((k,
|
|
4316
|
+
V = C.reduce((k, A) => k + A, 0);
|
|
4317
4317
|
let y = [], u = 0;
|
|
4318
4318
|
for (let k = 0; k < o.value.rows; k++)
|
|
4319
4319
|
y[k] = Math.floor(C[k] / V * l.value.style.height, 0), u += y[k];
|
|
@@ -4328,7 +4328,7 @@ const Qo = /* @__PURE__ */ ve(Zo, [["render", Jo], ["__scopeId", "data-v-6480756
|
|
|
4328
4328
|
);
|
|
4329
4329
|
if (l.value.style.width > 0) {
|
|
4330
4330
|
let V = 0;
|
|
4331
|
-
V = w.reduce((k,
|
|
4331
|
+
V = w.reduce((k, A) => k + A, 0);
|
|
4332
4332
|
let y = [], u = 0;
|
|
4333
4333
|
for (let k = 0; k < o.value.cols; k++)
|
|
4334
4334
|
y[k] = Math.floor(w[k] / V * l.value.style.width, 0), u += y[k];
|
|
@@ -4350,7 +4350,7 @@ const Qo = /* @__PURE__ */ ve(Zo, [["render", Jo], ["__scopeId", "data-v-6480756
|
|
|
4350
4350
|
return ue;
|
|
4351
4351
|
}, get CreateCompContext() {
|
|
4352
4352
|
return te;
|
|
4353
|
-
}, ref: _, computed: h, onMounted: J, onBeforeMount: $, onBeforeUnmount: Q, onUnmounted: ee, watch: B, reactive:
|
|
4353
|
+
}, ref: _, computed: h, onMounted: J, onBeforeMount: $, onBeforeUnmount: Q, onUnmounted: ee, watch: B, reactive: Ye, get useRoute() {
|
|
4354
4354
|
return ne;
|
|
4355
4355
|
}, get useRouter() {
|
|
4356
4356
|
return oe;
|
|
@@ -4405,7 +4405,7 @@ const tn = /* @__PURE__ */ ve($o, [["render", en], ["__scopeId", "data-v-dced3ee
|
|
|
4405
4405
|
}
|
|
4406
4406
|
},
|
|
4407
4407
|
setup(t, { expose: f }) {
|
|
4408
|
-
const { isNotEmpty: n } =
|
|
4408
|
+
const { isNotEmpty: n } = q, e = t, d = ae(), r = ue(d), o = _(null), l = h(() => e.propValue || {}), s = h(() => e.element || {}), v = h(() => s.value.events || []), p = oe(), m = ne(), g = te(l, s, p, m);
|
|
4409
4409
|
$(() => {
|
|
4410
4410
|
o.value = le(v.value, e.designStatus, g), o.value?.beforeMount();
|
|
4411
4411
|
}), J(() => {
|
|
@@ -4442,7 +4442,7 @@ const tn = /* @__PURE__ */ ve($o, [["render", en], ["__scopeId", "data-v-dced3ee
|
|
|
4442
4442
|
}, get CreateCompContext() {
|
|
4443
4443
|
return te;
|
|
4444
4444
|
}, get CommonUtils() {
|
|
4445
|
-
return
|
|
4445
|
+
return q;
|
|
4446
4446
|
} };
|
|
4447
4447
|
return Object.defineProperty(x, "__isScriptSetup", { enumerable: !1, value: !0 }), x;
|
|
4448
4448
|
}
|
|
@@ -4477,13 +4477,13 @@ const nn = /* @__PURE__ */ ve(ln, [["render", on], ["__file", "Component.vue"]])
|
|
|
4477
4477
|
}
|
|
4478
4478
|
},
|
|
4479
4479
|
setup(t, { expose: f }) {
|
|
4480
|
-
const { getJsonObject: n } =
|
|
4480
|
+
const { getJsonObject: n } = q, e = t, d = h(() => e.propValue || {}), r = h(() => e.element || {}), o = h(() => {
|
|
4481
4481
|
let s = {};
|
|
4482
4482
|
return s = n(d.value.divStyles, {}), s;
|
|
4483
4483
|
});
|
|
4484
4484
|
f({});
|
|
4485
4485
|
const l = { getJsonObject: n, props: e, propValue: d, element: r, dividerStyle: o, ref: _, computed: h, get CommonUtils() {
|
|
4486
|
-
return
|
|
4486
|
+
return q;
|
|
4487
4487
|
} };
|
|
4488
4488
|
return Object.defineProperty(l, "__isScriptSetup", { enumerable: !1, value: !0 }), l;
|
|
4489
4489
|
}
|
|
@@ -4516,7 +4516,7 @@ const un = /* @__PURE__ */ ve(rn, [["render", an], ["__scopeId", "data-v-490ca7b
|
|
|
4516
4516
|
}
|
|
4517
4517
|
},
|
|
4518
4518
|
setup(t, { expose: f }) {
|
|
4519
|
-
const { getJsonObject: n } =
|
|
4519
|
+
const { getJsonObject: n } = q, e = t, d = _(!1), r = _(!1), o = h(() => e.propValue || {}), l = h(() => e.element || {}), s = h(() => l.value.events || []), v = _(null), p = oe(), m = ne(), g = te(o, l, p, m);
|
|
4520
4520
|
$(() => {
|
|
4521
4521
|
v.value = le(s.value, e.designStatus, g), v.value?.beforeMount();
|
|
4522
4522
|
}), J(() => {
|
|
@@ -4593,7 +4593,7 @@ const un = /* @__PURE__ */ ve(rn, [["render", an], ["__scopeId", "data-v-490ca7b
|
|
|
4593
4593
|
}, get useRouter() {
|
|
4594
4594
|
return oe;
|
|
4595
4595
|
}, get CommonUtils() {
|
|
4596
|
-
return
|
|
4596
|
+
return q;
|
|
4597
4597
|
}, get CreateCompContext() {
|
|
4598
4598
|
return te;
|
|
4599
4599
|
}, get useEventHandler() {
|
|
@@ -4622,7 +4622,7 @@ function cn(t, f, n, e, d, r) {
|
|
|
4622
4622
|
se("span", {
|
|
4623
4623
|
class: "division-text",
|
|
4624
4624
|
style: we(e.textStyle)
|
|
4625
|
-
},
|
|
4625
|
+
}, Te(e.buttonText), 5)
|
|
4626
4626
|
])
|
|
4627
4627
|
], 38)
|
|
4628
4628
|
]);
|
|
@@ -4649,7 +4649,7 @@ const dn = /* @__PURE__ */ ve(sn, [["render", cn], ["__scopeId", "data-v-13607fe
|
|
|
4649
4649
|
}
|
|
4650
4650
|
},
|
|
4651
4651
|
setup(t, { expose: f }) {
|
|
4652
|
-
const { formatNum: n, getValueByPath: e, hasOwnPathInObject: d, isArray: r, isObject: o, isNotEmpty: l, isNumber: s } =
|
|
4652
|
+
const { formatNum: n, getValueByPath: e, hasOwnPathInObject: d, isArray: r, isObject: o, isNotEmpty: l, isNumber: s } = q, v = t, p = h(() => v.propValue || {}), m = h(() => v.element || {}), g = h(() => m.value.events || []), a = ae(), D = ue(a), O = _(null), I = oe(), x = ne(), C = te(p, m, I, x);
|
|
4653
4653
|
$(() => {
|
|
4654
4654
|
O.value = le(g.value, v.designStatus, C), O.value?.beforeMount();
|
|
4655
4655
|
}), J(() => {
|
|
@@ -4705,7 +4705,7 @@ const dn = /* @__PURE__ */ ve(sn, [["render", cn], ["__scopeId", "data-v-13607fe
|
|
|
4705
4705
|
}, k = ({ row: i, column: c, rowIndex: b, columnIndex: M }) => {
|
|
4706
4706
|
let j = {}, P = p.value.colHeadings || [], z = p.value.rowHeadings || [], L = {}, re = {}, me = {};
|
|
4707
4707
|
return b == 0 && Array.isArray(P) && P.length > 0 && (re = P[M].customStyle ?? {}), M == 0 && b >= 1 && (Array.isArray(P) && P.length > 0 && (re = P[M].customStyle ?? {}), Array.isArray(z) && z.length > 0 && (L = z[b - 1].customStyle ?? {})), b > 0 && M > 0 && (Array.isArray(z) && z.length > 0 && (L = z[b - 1].customDataStyle ?? {}), Array.isArray(P) && P.length > 0 && (re = P[M].customDataStyle ?? {})), j = { ...L, ...re, ...me }, j.padding = "0px", j;
|
|
4708
|
-
},
|
|
4708
|
+
}, A = (i, c, b) => {
|
|
4709
4709
|
if (i && i.hasOwnProperty("_rowIndex")) {
|
|
4710
4710
|
let M = i._rowIndex;
|
|
4711
4711
|
if (M == 0 || c == 0 || !s(i[b]))
|
|
@@ -4730,7 +4730,7 @@ const dn = /* @__PURE__ */ ve(sn, [["render", cn], ["__scopeId", "data-v-13607fe
|
|
|
4730
4730
|
} else
|
|
4731
4731
|
r(i) && E(i);
|
|
4732
4732
|
}, { immediate: !0 }), f({});
|
|
4733
|
-
const Z = { formatNum: n, getValueByPath: e, hasOwnPathInObject: d, isArray: r, isObject: o, isNotEmpty: l, isNumber: s, props: v, propValue: p, element: m, events: g, dataCache: a, smartData: D, eventHandler: O, router: I, route: x, compContext: C, tableData: w, customStyle: V, bindTableAttr: y, colOpts: u, bindColAttr: S, customRowStyle: R, customCellStyle: k, formatterRawVal:
|
|
4733
|
+
const Z = { formatNum: n, getValueByPath: e, hasOwnPathInObject: d, isArray: r, isObject: o, isNotEmpty: l, isNumber: s, props: v, propValue: p, element: m, events: g, dataCache: a, smartData: D, eventHandler: O, router: I, route: x, compContext: C, tableData: w, customStyle: V, bindTableAttr: y, colOpts: u, bindColAttr: S, customRowStyle: R, customCellStyle: k, formatterRawVal: A, bsData: H, setTableData: E, ref: _, computed: h, onBeforeMount: $, onMounted: J, onBeforeUnmount: Q, onUnmounted: ee, watch: B, onActivated: ge, onDeactivated: be, get useRoute() {
|
|
4734
4734
|
return ne;
|
|
4735
4735
|
}, get useRouter() {
|
|
4736
4736
|
return oe;
|
|
@@ -4743,7 +4743,7 @@ const dn = /* @__PURE__ */ ve(sn, [["render", cn], ["__scopeId", "data-v-13607fe
|
|
|
4743
4743
|
}, get useEventHandler() {
|
|
4744
4744
|
return le;
|
|
4745
4745
|
}, get CommonUtils() {
|
|
4746
|
-
return
|
|
4746
|
+
return q;
|
|
4747
4747
|
} };
|
|
4748
4748
|
return Object.defineProperty(Z, "__isScriptSetup", { enumerable: !1, value: !0 }), Z;
|
|
4749
4749
|
}
|
|
@@ -4767,7 +4767,7 @@ function fn(t, f, n, e, d, r) {
|
|
|
4767
4767
|
property: s.id
|
|
4768
4768
|
}, { ref_for: !0 }, e.bindColAttr(s)), {
|
|
4769
4769
|
default: Pe((p) => [
|
|
4770
|
-
se("span", { style: { display: "inline-block", "min-width": "20px", "min-height": "10px" } },
|
|
4770
|
+
se("span", { style: { display: "inline-block", "min-width": "20px", "min-height": "10px" } }, Te(e.formatterRawVal(p.row, v, s.id)), 1)
|
|
4771
4771
|
]),
|
|
4772
4772
|
_: 2
|
|
4773
4773
|
}, 1040, ["label", "align", "property"]))), 128))
|
|
@@ -4799,7 +4799,7 @@ const pn = /* @__PURE__ */ ve(vn, [["render", fn], ["__scopeId", "data-v-e414e3a
|
|
|
4799
4799
|
},
|
|
4800
4800
|
setup(t, { expose: f }) {
|
|
4801
4801
|
f();
|
|
4802
|
-
const { isNotEmpty: n, isObject: e, hasOwnPathInObject: d, getValueByPath: r } =
|
|
4802
|
+
const { isNotEmpty: n, isObject: e, hasOwnPathInObject: d, getValueByPath: r } = q, o = Je(), l = _(null), s = t, v = ae(), p = ue(v), m = _(null);
|
|
4803
4803
|
let g = null;
|
|
4804
4804
|
const a = h(() => s.propValue || {}), D = h(() => s.element || {}), O = h(() => D.value.events || []), I = oe(), x = ne(), C = te(a, D, I, x);
|
|
4805
4805
|
$(() => {
|
|
@@ -4839,7 +4839,7 @@ const pn = /* @__PURE__ */ ve(vn, [["render", fn], ["__scopeId", "data-v-e414e3a
|
|
|
4839
4839
|
o.getFile(i, function(c) {
|
|
4840
4840
|
if (c && c.status == 200) {
|
|
4841
4841
|
let b = c.data || "";
|
|
4842
|
-
y.value =
|
|
4842
|
+
y.value = A(b);
|
|
4843
4843
|
} else
|
|
4844
4844
|
y.value = "";
|
|
4845
4845
|
}, function(c) {
|
|
@@ -4851,7 +4851,7 @@ const pn = /* @__PURE__ */ ve(vn, [["render", fn], ["__scopeId", "data-v-e414e3a
|
|
|
4851
4851
|
}, { immediate: !0 }), B(() => a.value.aspectRatio, (i) => {
|
|
4852
4852
|
n(a.value.svgFile) && k(a.value.svgFile);
|
|
4853
4853
|
}, { immediate: !0 });
|
|
4854
|
-
const
|
|
4854
|
+
const A = (i) => {
|
|
4855
4855
|
const c = a.value.aspectRatio || "xMidYMid meet";
|
|
4856
4856
|
return i.replace(/<svg([^>]*)width="[^"]*"/gi, "<svg$1").replace(/<svg([^>]*)height="[^"]*"/gi, "<svg$1").replace(/<svg/, `<svg preserveAspectRatio="${c}"`);
|
|
4857
4857
|
}, H = p[a.value.cacheKey], E = () => {
|
|
@@ -4867,7 +4867,7 @@ const pn = /* @__PURE__ */ ve(vn, [["render", fn], ["__scopeId", "data-v-e414e3a
|
|
|
4867
4867
|
return g;
|
|
4868
4868
|
}, set timer(i) {
|
|
4869
4869
|
g = i;
|
|
4870
|
-
}, propValue: a, element: D, events: O, router: I, route: x, compContext: C, handleClick: w, handleDblClick: V, svgContent: y, dynamicVars: u, initFromProps: S, customStyle: R, loadSvgFile: k, removeSvgDimensions:
|
|
4870
|
+
}, propValue: a, element: D, events: O, router: I, route: x, compContext: C, handleClick: w, handleDblClick: V, svgContent: y, dynamicVars: u, initFromProps: S, customStyle: R, loadSvgFile: k, removeSvgDimensions: A, cacheData: H, dealBsData: E, get useEventHandler() {
|
|
4871
4871
|
return le;
|
|
4872
4872
|
}, get useDataCacheStore() {
|
|
4873
4873
|
return ae;
|
|
@@ -4875,8 +4875,8 @@ const pn = /* @__PURE__ */ ve(vn, [["render", fn], ["__scopeId", "data-v-e414e3a
|
|
|
4875
4875
|
return ue;
|
|
4876
4876
|
}, get CreateCompContext() {
|
|
4877
4877
|
return te;
|
|
4878
|
-
}, ref: _, computed: h, watch: B, onMounted: J, onBeforeMount: $, onBeforeUnmount: Q, onUnmounted: ee, nextTick: Ie, onActivated: ge, reactive:
|
|
4879
|
-
return
|
|
4878
|
+
}, ref: _, computed: h, watch: B, onMounted: J, onBeforeMount: $, onBeforeUnmount: Q, onUnmounted: ee, nextTick: Ie, onActivated: ge, reactive: Ye, get CommonUtils() {
|
|
4879
|
+
return q;
|
|
4880
4880
|
}, get useRoute() {
|
|
4881
4881
|
return ne;
|
|
4882
4882
|
}, get useRouter() {
|
|
@@ -4931,7 +4931,7 @@ const gn = /* @__PURE__ */ ve(hn, [["render", mn], ["__scopeId", "data-v-9b5aaa7
|
|
|
4931
4931
|
}), ee(() => {
|
|
4932
4932
|
r.value?.unmounted();
|
|
4933
4933
|
});
|
|
4934
|
-
const { dynamicColor: g } = he(o, d, e.rules,
|
|
4934
|
+
const { dynamicColor: g } = he(o, d, e.rules, q), a = h(() => g.lineColor ? g.lineColor : o.value.strokeColor ? o.value.strokeColor : "none"), D = _([]), O = _([]);
|
|
4935
4935
|
B(() => l.value.style.width, (w) => {
|
|
4936
4936
|
I();
|
|
4937
4937
|
}), B(() => l.value.style.height, (w) => {
|
|
@@ -4963,7 +4963,7 @@ const gn = /* @__PURE__ */ ve(hn, [["render", mn], ["__scopeId", "data-v-9b5aaa7
|
|
|
4963
4963
|
}, get useRouter() {
|
|
4964
4964
|
return oe;
|
|
4965
4965
|
}, get CommonUtils() {
|
|
4966
|
-
return
|
|
4966
|
+
return q;
|
|
4967
4967
|
}, get useDynamicColor() {
|
|
4968
4968
|
return he;
|
|
4969
4969
|
} };
|
|
@@ -5031,7 +5031,7 @@ const bn = /* @__PURE__ */ ve(yn, [["render", Cn], ["__scopeId", "data-v-4c7f564
|
|
|
5031
5031
|
}), ee(() => {
|
|
5032
5032
|
r.value?.unmounted();
|
|
5033
5033
|
});
|
|
5034
|
-
const { dynamicColor: g } = he(o, d, e.rules,
|
|
5034
|
+
const { dynamicColor: g } = he(o, d, e.rules, q), a = h(() => g.lineColor ? g.lineColor : o.value.strokeColor ? o.value.strokeColor : "none"), D = _([]);
|
|
5035
5035
|
B(() => l.value.style.width, (C) => {
|
|
5036
5036
|
O();
|
|
5037
5037
|
}), B(() => l.value.style.height, (C) => {
|
|
@@ -5057,7 +5057,7 @@ const bn = /* @__PURE__ */ ve(yn, [["render", Cn], ["__scopeId", "data-v-4c7f564
|
|
|
5057
5057
|
}, get useRouter() {
|
|
5058
5058
|
return oe;
|
|
5059
5059
|
}, get CommonUtils() {
|
|
5060
|
-
return
|
|
5060
|
+
return q;
|
|
5061
5061
|
}, get useDynamicColor() {
|
|
5062
5062
|
return he;
|
|
5063
5063
|
} };
|
|
@@ -5114,7 +5114,7 @@ const Sn = /* @__PURE__ */ ve(_n, [["render", xn], ["__scopeId", "data-v-7dfeb36
|
|
|
5114
5114
|
}), ee(() => {
|
|
5115
5115
|
r.value?.unmounted();
|
|
5116
5116
|
});
|
|
5117
|
-
const { dynamicColor: g } = he(o, d, e.rules,
|
|
5117
|
+
const { dynamicColor: g } = he(o, d, e.rules, q), a = h(() => g.lineColor ? g.lineColor : o.value.strokeColor ? o.value.strokeColor : "none"), D = _([]), O = _([]);
|
|
5118
5118
|
B(() => l.value.style.width, (w) => {
|
|
5119
5119
|
I();
|
|
5120
5120
|
}), B(() => l.value.style.height, (w) => {
|
|
@@ -5142,7 +5142,7 @@ const Sn = /* @__PURE__ */ ve(_n, [["render", xn], ["__scopeId", "data-v-7dfeb36
|
|
|
5142
5142
|
}, get useRouter() {
|
|
5143
5143
|
return oe;
|
|
5144
5144
|
}, get CommonUtils() {
|
|
5145
|
-
return
|
|
5145
|
+
return q;
|
|
5146
5146
|
}, get useDynamicColor() {
|
|
5147
5147
|
return he;
|
|
5148
5148
|
} };
|
|
@@ -5207,11 +5207,11 @@ const Vn = /* @__PURE__ */ ve(wn, [["render", kn], ["__scopeId", "data-v-7b2d27d
|
|
|
5207
5207
|
isValid: s,
|
|
5208
5208
|
hasOwnPathInObject: v,
|
|
5209
5209
|
getValueByPath: p
|
|
5210
|
-
} =
|
|
5210
|
+
} = q, m = t, g = h(() => m.propValue || {}), a = h(() => m.element || {}), D = h(() => a.value.events || []), O = ae(), I = ue(O), x = _(null), C = _(!1);
|
|
5211
5211
|
let w = null, V = null;
|
|
5212
5212
|
const y = _("");
|
|
5213
5213
|
let u = null;
|
|
5214
|
-
const S = _(0), R = _(0), k = _(0),
|
|
5214
|
+
const S = _(0), R = _(0), k = _(0), A = _(1), H = I[g.value.dataCK], E = I[g.value.timeCK], Z = (X, ye, Oe) => v(X, ye) ? p(X, ye) : Oe;
|
|
5215
5215
|
function i(X) {
|
|
5216
5216
|
l(X) ? (w = Z(X, g.value.valueKey, null), V = Z(X, g.value.timeKey, null)) : w = X;
|
|
5217
5217
|
}
|
|
@@ -5232,13 +5232,13 @@ const Vn = /* @__PURE__ */ ve(wn, [["render", kn], ["__scopeId", "data-v-7b2d27d
|
|
|
5232
5232
|
x.value?.handleDblClick(X);
|
|
5233
5233
|
};
|
|
5234
5234
|
B(() => a.value.style.width, (X) => {
|
|
5235
|
-
|
|
5235
|
+
Y();
|
|
5236
5236
|
}), B(() => a.value.style.height, (X) => {
|
|
5237
|
-
|
|
5237
|
+
Y();
|
|
5238
5238
|
});
|
|
5239
5239
|
const L = h(() => m.designStatus ? !0 : g.value.showTooltip ? !C.value : !0), re = h(() => g.value.tooltipPlacement || "bottom-start"), me = h(() => g.value.tooltipEffect || "dark"), K = (X) => {
|
|
5240
|
-
m.designStatus || (
|
|
5241
|
-
},
|
|
5240
|
+
m.designStatus || (T(), r(y.value) ? C.value = !0 : C.value = !1);
|
|
5241
|
+
}, T = () => {
|
|
5242
5242
|
if (y.value = "", g.value.showTooltip)
|
|
5243
5243
|
if (V && o(V)) {
|
|
5244
5244
|
let X = e(V), ye = "";
|
|
@@ -5251,24 +5251,24 @@ const Vn = /* @__PURE__ */ ve(wn, [["render", kn], ["__scopeId", "data-v-7b2d27d
|
|
|
5251
5251
|
let X = "数值:" + (w ?? "");
|
|
5252
5252
|
y.value = X;
|
|
5253
5253
|
}
|
|
5254
|
-
},
|
|
5254
|
+
}, Y = () => {
|
|
5255
5255
|
const { width: X, height: ye } = m.element.style;
|
|
5256
5256
|
F(X, ye);
|
|
5257
5257
|
}, F = (X, ye) => {
|
|
5258
5258
|
S.value = 0.5 * X, R.value = 0.5 * ye;
|
|
5259
|
-
let U = Math.floor(Math.min(0.5 * X, 0.5 * ye) -
|
|
5259
|
+
let U = Math.floor(Math.min(0.5 * X, 0.5 * ye) - A.value * 0.5);
|
|
5260
5260
|
k.value = U;
|
|
5261
|
-
},
|
|
5261
|
+
}, de = () => {
|
|
5262
5262
|
u && (clearInterval(u), u = null);
|
|
5263
5263
|
}, xe = oe(), pe = ne(), He = te(g, a, xe, pe);
|
|
5264
5264
|
$(() => {
|
|
5265
5265
|
x.value = le(D.value, m.designStatus, He), x.value?.beforeMount();
|
|
5266
5266
|
}), J(() => {
|
|
5267
|
-
|
|
5267
|
+
Y(), u = setInterval(() => {
|
|
5268
5268
|
s(H.value) && (c(H.value), u && (clearInterval(u), u = null));
|
|
5269
5269
|
}, 1e3), x.value?.mounted();
|
|
5270
5270
|
}), Q(() => {
|
|
5271
|
-
|
|
5271
|
+
de(), x.value?.beforeUnmount();
|
|
5272
5272
|
}), ee(() => {
|
|
5273
5273
|
x.value?.unmounted();
|
|
5274
5274
|
}), ge(() => {
|
|
@@ -5276,14 +5276,14 @@ const Vn = /* @__PURE__ */ ve(wn, [["render", kn], ["__scopeId", "data-v-7b2d27d
|
|
|
5276
5276
|
}), be(() => {
|
|
5277
5277
|
x.value?.deactivated();
|
|
5278
5278
|
});
|
|
5279
|
-
const { processMenus: Fe } = Be(),
|
|
5279
|
+
const { processMenus: Fe } = Be(), qe = (X) => {
|
|
5280
5280
|
X.preventDefault();
|
|
5281
5281
|
let ye = g.value.menuItems || [];
|
|
5282
|
-
if (
|
|
5282
|
+
if (q.isArray(ye) && ye.length > 0) {
|
|
5283
5283
|
let Oe = [];
|
|
5284
5284
|
Oe = Fe(ye, function(Le, U) {
|
|
5285
5285
|
x.value?.handleContextMenu(X, Le.value);
|
|
5286
|
-
}),
|
|
5286
|
+
}), Ae.showContextMenu({
|
|
5287
5287
|
x: X.x,
|
|
5288
5288
|
y: X.y,
|
|
5289
5289
|
items: Oe
|
|
@@ -5304,7 +5304,7 @@ const Vn = /* @__PURE__ */ ve(wn, [["render", kn], ["__scopeId", "data-v-7b2d27d
|
|
|
5304
5304
|
return u;
|
|
5305
5305
|
}, set timer(X) {
|
|
5306
5306
|
u = X;
|
|
5307
|
-
}, cx: S, cy: R, cr: k, strokeWidth:
|
|
5307
|
+
}, cx: S, cy: R, cr: k, strokeWidth: A, bsData: H, timeData: E, _getValueFromObj: Z, parseBsData: i, dealBsData: c, initDynamicColorCfg: b, dynamicColor: M, showFillColor: j, handleClick: P, handleDblClick: z, disableToolTip: L, tooltipPlacement: re, tooltipEffect: me, showTooltip: K, loadTipInfo: T, draw: Y, drawChart: F, _clearInterval: de, router: xe, route: pe, compContext: He, processMenus: Fe, openContextMenu: qe, customStyle: Ze, watch: B, onMounted: J, computed: h, onBeforeUnmount: Q, ref: _, onBeforeMount: $, onUnmounted: ee, reactive: Ye, onActivated: ge, onDeactivated: be, get useRoute() {
|
|
5308
5308
|
return ne;
|
|
5309
5309
|
}, get useRouter() {
|
|
5310
5310
|
return oe;
|
|
@@ -5319,9 +5319,9 @@ const Vn = /* @__PURE__ */ ve(wn, [["render", kn], ["__scopeId", "data-v-7b2d27d
|
|
|
5319
5319
|
}, get createDynamicColor() {
|
|
5320
5320
|
return _t;
|
|
5321
5321
|
}, get CommonUtils() {
|
|
5322
|
-
return
|
|
5322
|
+
return q;
|
|
5323
5323
|
}, get ContextMenu() {
|
|
5324
|
-
return
|
|
5324
|
+
return Ae;
|
|
5325
5325
|
}, get useMenuHandler() {
|
|
5326
5326
|
return Be;
|
|
5327
5327
|
}, get getCursorByEvents() {
|
|
@@ -5382,10 +5382,10 @@ const Dn = /* @__PURE__ */ ve(Mn, [["render", On], ["__scopeId", "data-v-1d9984f
|
|
|
5382
5382
|
Oo,
|
|
5383
5383
|
jo,
|
|
5384
5384
|
Lo,
|
|
5385
|
-
|
|
5385
|
+
To,
|
|
5386
5386
|
zo,
|
|
5387
5387
|
Uo,
|
|
5388
|
-
|
|
5388
|
+
qo,
|
|
5389
5389
|
tn,
|
|
5390
5390
|
nn,
|
|
5391
5391
|
un,
|