@vtj/ui 0.7.32 → 0.7.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";body{padding:0;margin:0;font-family:var(--el-font-family);background-color:var(--el-bg-color)}body.user-select-none{user-select:none;overflow:hidden!important}body.user-select-none iframe{pointer-events:none}body::-webkit-scrollbar,div::-webkit-scrollbar{z-index:11;width:6px}body::-webkit-scrollbar:horizontal,div::-webkit-scrollbar:horizontal{height:6px}body::-webkit-scrollbar-thumb,div::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:#0000001a}body::-webkit-scrollbar-corner,div::-webkit-scrollbar-corner{background:transparent}body::-webkit-scrollbar-track,div::-webkit-scrollbar-track{background:transparent}body::-webkit-scrollbar-track-piece,div::-webkit-scrollbar-track-piece{background:transparent;width:6px}body.is-dragging,body.is-resizing{user-select:none}body.is-dragging iframe,body.is-resizing iframe{user-select:none;pointer-events:none}.el-tag+.el-tag{margin-left:5px}.x-icon{line-height:1;display:inline-block;vertical-align:middle;font-size:inherit;width:1em;height:1em;overflow:hidden}.x-icon>svg{width:1em;height:1em}.x-icon.is-pointer{cursor:pointer}.x-icon.is-pointer:hover{opacity:.7}.x-icon img{width:100%;height:100%;transform:translateY(1px);filter:invert(.1)}.x-icon+.x-icon{margin-left:10px}html.dark .x-icon img{filter:invert(.9)}.x-menu{border-right:none!important}.x-menu .x-icon{font-size:inherit;width:14px}.x-menu__wrapper{display:inline-flex;justify-content:flex-start;align-items:center}.x-menu__badge{font-size:12px;zoom:.9;margin-left:14px}.x-menu.el-menu--collapse .x-menu__wrapper{position:relative}.x-menu.el-menu--collapse .x-menu__badge{position:absolute;right:20px;top:5px}.x-simple-mask{height:100%;background-color:#fff}.x-simple-mask__header{border-bottom:1px solid #dcdfe6;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.x-simple-mask__aside{border-right:1px solid #dcdfe6}.x-simple-mask__footer{border-top:1px solid #dcdfe6;display:flex;flex-direction:row;justify-content:center;align-items:center}.x-simple-mask__logo{font-size:20px;color:#337ecc;font-weight:700;cursor:pointer}.x-simple-mask__logo:hover{opacity:.7}.x-action{display:inline-flex;vertical-align:middle}.x-action+.x-action{margin-left:10px}.x-action .el-dropdown,.x-action .el-tooltip__trigger,.x-action .el-badge{outline:none}.x-action .el-badge__content{zoom:.9}.x-action--icon+.x-action--icon{margin-left:5px}.x-action__inner{cursor:pointer;color:var(--el-text-color-regular);display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;font-size:14px}.x-action__inner>.x-icon+span{margin-left:.2em}.x-action__inner>span{display:inline-flex;align-items:center}.x-action__inner:hover{opacity:.7}.x-action__inner.is-disabled{cursor:not-allowed;opacity:.6}.x-action__inner.is-primary{color:var(--el-color-primary)}.x-action__inner.is-warning{color:var(--el-color-warning)}.x-action__inner.is-success{color:var(--el-color-success)}.x-action__inner.is-danger{color:var(--el-color-danger)}.x-action__inner.is-info{color:var(--el-text-color-regular)}.x-action__inner.is-icon{padding:5px;border-radius:3px}.x-action__inner.is-icon.is-background-hover{color:var(--el-text-color-regular)}.x-action__inner.is-icon.is-background-hover:hover.is-primary{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary)}.x-action__inner.is-icon.is-background-hover:hover.is-success{background-color:var(--el-color-success-light-8);color:var(--el-color-success)}.x-action__inner.is-icon.is-background-hover:hover.is-warning{background-color:var(--el-color-warning-light-8);color:var(--el-color-warning)}.x-action__inner.is-icon.is-background-hover:hover.is-danger{background-color:var(--el-color-danger-light-8);color:var(--el-color-danger)}.x-action__inner.is-icon.is-background-hover:hover.is-info{background-color:var(--el-color-info-light-8);color:var(--el-text-color-regular)}.x-action__inner.is-icon.is-background-always.is-primary{background-color:var(--el-color-primary-light-9)}.x-action__inner.is-icon.is-background-always.is-success{background-color:var(--el-color-success-light-9)}.x-action__inner.is-icon.is-background-always.is-warning{background-color:var(--el-color-warning-light-9)}.x-action__inner.is-icon.is-background-always.is-danger{background-color:var(--el-color-danger-light-9)}.x-action__inner.is-icon.is-background-always.is-info{background-color:var(--el-color-info-light-9)}.x-action__inner.is-icon.is-circle{border-radius:50%}.x-action__inner.is-icon.is-large{font-size:16px;padding:6px}.x-action__inner.is-icon.is-small{font-size:12px;padding:4px}.x-action__inner.is-text.is-large{font-size:16px}.x-action__inner.is-text.is-small{font-size:12px}.x-action-bar{white-space:nowrap}.x-action-bar__divider{margin:0 1em!important}.x-container{flex-shrink:0;box-sizing:border-box}.x-container.is-fit{width:100%;height:100%}.x-container.is-gap{margin-left:-10px;margin-top:-10px}.x-container.is-gap>.x-container{margin-left:10px;margin-top:10px}.x-container.is-pointer{cursor:pointer}.x-container.is-pointer:hover{opacity:.8}.x-container.is-flex{display:flex}.x-container.is-inline-flex{display:inline-flex}.x-container.is-direction-column{flex-direction:column}.x-container.is-direction-row-reverse{flex-direction:row-reverse}.x-container.is-direction-column-reverse{flex-direction:column-reverse}.x-container.is-justify-flex-end{justify-content:flex-end}.x-container.is-justify-center{justify-content:center}.x-container.is-justify-space-between{justify-content:space-between}.x-container.is-justify-space-around{justify-content:space-around}.x-container.is-align-center{align-items:center}.x-container.is-flex-end{align-items:flex-end}.x-container.is-baseline{align-items:baseline}.x-container.is-stretch{align-items:stretch}.x-container.is-align-content-flex-start{align-content:flex-start}.x-container.is-align-content-flex-end{align-content:flex-end}.x-container.is-align-content-enter{align-content:center}.x-container.is-align-content-space-between{align-content:space-between}.x-container.is-align-content-space-around{align-content:space-around}.x-container.is-align-content-stretch{align-content:stretch}.x-container.is-wrap-wrap{flex-wrap:wrap}.x-container.is-wrap-wrap-reverse{flex-wrap:wrap-reverse}.x-container.is-grow{flex-grow:1}.x-container.is-shrink{flex-shrink:1}.x-container.is-align-self-flex-start{align-self:flex-start}.x-container.is-align-self-flex-end{align-self:flex-end}.x-container.is-align-self-center{align-self:center}.x-container.is-align-self-baseline{align-self:baseline}.x-container.is-align-self-stretch{align-self:stretch}.x-container.is-overflow-hidden{overflow:hidden}.x-container.is-overflow-visible{overflow:visible}.x-container.is-overflow-auto{overflow:auto}.x-container.is-padding{padding:10px}.x-header{height:32px}.x-header.is-size-large{height:40px}.x-header.is-size-small{height:28px}.x-header.is-border{border-bottom:1px solid var(--el-border-color-light)}.x-header__wrapper{line-height:1.5;font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:1px}.x-header__wrapper.is-size-large{font-size:16px}.x-header__wrapper.is-size-large .x-header__subtitle,.x-header__wrapper.is-size-large .x-header__more{font-size:14px}.x-header__wrapper.is-size-small,.x-header__wrapper.is-size-small .x-header__subtitle,.x-header__wrapper.is-size-small .x-header__more{font-size:12px}.x-header__wrapper.is-pointer .x-header__content{cursor:pointer}.x-header__wrapper.is-pointer .x-header__content:hover{opacity:.7}.x-header__icon{margin-right:5px;flex-shrink:0}.x-header__content{color:var(--el-text-color-primary);font-weight:700}.x-header__more{color:var(--el-text-color-secondary)!important;margin-left:3px}.x-header__subtitle{margin-left:.5em;font-size:12px;color:var(--el-text-color-secondary)}.x-header__actions{white-space:nowrap}.x-panel--default.is-radius{border-radius:var(--el-border-radius-base)}.x-panel--default .x-panel__header{padding:0}.x-panel--default.is-border>.x-panel__body{border:1px solid var(--el-border-color-light)}.x-panel--default.is-radius>.x-panel__body{border-radius:var(--el-border-radius-base)}.x-panel--default.is-shadow-always>.x-panel__body{box-shadow:var(--el-box-shadow-lighter)}.x-panel--default.is-shadow-hover>.x-panel__body:hover{box-shadow:var(--el-box-shadow-lighter)}.x-panel--card.is-border{border:1px solid var(--el-border-color-light)}.x-panel--card.is-radius{border-radius:var(--el-border-radius-base)}.x-panel--card.is-shadow-always,.x-panel--card.is-shadow-hover:hover{box-shadow:var(--el-box-shadow-lighter)}.x-panel--card>.x-panel__header{padding:0 5px 0 10px;background-color:var(--el-fill-color-lighter)}.x-panel__body.is-grow.is-overflow-auto{height:1px}.x-dialog{background-color:var(--el-bg-color);position:absolute;pointer-events:initial}.x-dialog.is-draggable>.x-panel__header{cursor:move}.x-dialog.is-maximized{width:100%!important;height:100%!important;left:0!important;top:0!important}.x-dialog.is-minimized{display:none}.x-dialog__wrapper{position:absolute;inset:0;pointer-events:none;overflow:hidden}.x-dialog__wrapper.is-minimized{display:none}.x-dialog__wrapper.is-dragging{user-select:none}.x-dialog__wrapper.is-dragging iframe{user-select:none;pointer-events:none}.x-dialog__modal{position:absolute;inset:0;background-color:var(--el-mask-color-extra-light);pointer-events:initial}.x-dialog__frame{width:100%;height:100%;display:block;border:none}.x-dialog.is-primary{border:2px solid var(--el-color-primary);border-top:none}.x-dialog.is-primary>.x-panel__header{background-color:var(--el-color-primary);color:var(--el-color-white)}.x-dialog.is-primary>.x-panel__header .x-header__content{color:var(--el-color-white)}.x-dialog.is-primary>.x-panel__header .x-action__inner.is-icon.is-background-hover{color:var(--el-color-white)}.x-dialog.is-primary>.x-panel__header .x-action__inner.is-icon.is-background-hover:hover.is-primary{background-color:#ffffff4d;opacity:1}.x-dialog.is-primary>.x-panel__header .x-action__inner.is-icon.is-background-hover:hover.is-danger{background-color:var(--el-color-danger);opacity:1}.x-dialog.is-primary>.x-panel__header .x-action__inner.is-icon.is-background-hover:hover.is-warning{background-color:var(--el-color-warning);opacity:1}.x-dialog-form__form{height:100%}.x-mask{--el-mask-brand-color: #0157fe;--el-mask-content-bg-color: var(--el-bg-color);--el-mask-topbar-bg-color: var(--el-fill-color-lighter);--el-mask-sidebar-bg-color: var(--el-fill-color-lighter);--el-mask-sidebar-border-color: var(--el-border-color-lighter);width:100%;height:100%;background-color:var(--el-mask-content-bg-color);overflow:hidden}.x-mask__content{height:1px;overflow:auto;padding:10px}.x-mask.is-disabled .x-mask__content{height:100%}.x-mask-brand{height:40px;overflow:hidden}.x-mask-brand__logo{height:20px;width:60px;text-align:center;cursor:pointer}.x-mask-brand__logo:hover{opacity:.7}.x-mask-brand__logo>img{height:100%}.x-mask-brand__title{font-size:16px;font-weight:700;color:var(--el-text-color-regular);font-family:Microsoft YaHei,微软雅黑,Arial,sans-serif}.x-mask-brand__title>span{position:relative;transform:translate(-10px)}.x-mask-brand.is-collapsed .x-mask-brand__title{display:none}.x-mask-topbar{height:40px;background-color:var(--el-mask-topbar-bg-color);border-bottom:1px solid var(--el-mask-sidebar-border-color)}.x-mask-menu{--el-menu-bg-color: transparent;--el-menu-item-height: 36px;--el-menu-sub-item-height: 34px;--el-font-size-base: 14px;--el-menu-item-font-size: 14px;--el-menu-icon-width: 20px;--el-menu-base-level-padding: 10px;--el-menu-level-padding: 20px;width:100%;height:1px;overflow-x:hidden!important}.x-mask-menu::-webkit-scrollbar{width:2px!important}.x-mask-menu::-webkit-scrollbar-thumb{background:transparent!important}.x-mask-menu:hover::-webkit-scrollbar-thumb{background:#0000001a!important}.x-mask-menu .el-menu .el-menu-item [class^=el-icon],.x-mask-menu .el-menu .el-sub-menu .el-icon{font-size:16px}.x-mask-menu .el-menu .el-sub-menu .el-sub-menu__icon-arrow{font-size:12px;color:var(--el-text-color-secondary)}.x-mask-menu .el-menu .el-menu-item.is-active{background-color:var(--el-menu-hover-bg-color)}.x-mask-menu .el-menu .el-sub-menu.is-active>.el-sub-menu__title{color:var(--el-color-primary)}.x-mask-menu .el-menu--collapse{--el-menu-item-height: 50px;width:100%}.x-mask-menu .el-menu--collapse>.el-menu-item{flex-wrap:wrap;justify-content:center;position:relative;margin:5px;border-radius:var(--el-border-radius-base);align-items:center;text-align:center}.x-mask-menu .el-menu--collapse>.el-menu-item .x-menu__title{height:auto;width:auto;visibility:visible;font-size:12px;line-height:1;zoom:.9;position:absolute;left:0;bottom:10px;width:100%;text-align:center;color:var(--el-text-color-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.x-mask-menu .el-menu--collapse>.el-menu-item .el-menu-tooltip__trigger{width:100%;height:100%;display:block}.x-mask-menu .el-menu--collapse>.el-menu-item.is-active{background-color:var(--el-menu-hover-bg-color)}.x-mask-menu .el-menu--collapse>.el-menu-item.is-active .x-menu__title{color:var(--el-color-primary)}.x-mask-menu .el-menu--collapse>.el-sub-menu{margin:5px;border-radius:var(--el-border-radius-base)}.x-mask-menu .el-menu--collapse>.el-sub-menu>.el-sub-menu__title{width:100%;display:flex;border-radius:var(--el-border-radius-base);line-height:1;padding-left:0;padding-right:0}.x-mask-menu .el-menu--collapse>.el-sub-menu>.el-sub-menu__title>.x-menu__wrapper{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;height:100%;width:100%}.x-mask-menu .el-menu--collapse>.el-sub-menu>.el-sub-menu__title>.x-menu__wrapper .x-menu__title{font-size:12px;zoom:.9;left:0;bottom:10px;width:100%;text-align:center;display:block;position:relative;top:-5px;color:var(--el-text-color-secondary);overflow:hidden}.x-mask-menu .el-menu--collapse>.el-sub-menu.is-active{background-color:var(--el-menu-hover-bg-color)}.x-mask-menu .el-menu--collapse>.el-sub-menu.is-active .x-menu__wrapper{color:var(--el-color-primary)}.x-mask-menu .el-menu--collapse>.el-sub-menu.is-active .x-menu__wrapper .x-menu__title{color:var(--el-color-primary)}.x-mask-menu .el-menu--collapse>.el-sub-menu.is-opened{background-color:var(--el-menu-hover-bg-color)}.x-mask-menu .el-menu--collapse .el-menu-item [class^=el-icon],.x-mask-menu .el-menu--collapse .el-sub-menu .el-icon{font-size:20px;margin-right:0}.x-mask-menu__favorites .el-sub-menu__title .x-icon{color:var(--el-color-warning)}.x-mask-menu__search .el-sub-menu__title .x-icon{color:var(--el-color-success)}.x-mask-menu-popper{--el-menu-item-height: 36px;--el-menu-sub-item-height: 34px;--el-font-size-base: 12px;--el-menu-item-font-size: 12px;--el-menu-icon-width: 20px;--el-menu-base-level-padding: 14px;max-height:calc(100% - 10px);overflow:auto}.x-mask-menu-popper .el-menu-item [class^=el-icon],.x-mask-menu-popper .el-sub-menu .el-icon{font-size:14px;margin-right:0}.x-mask-menu-popper .el-sub-menu .el-sub-menu__icon-arrow{font-size:12px;color:var(--el-text-color-secondary)}.x-mask-menu-popper .el-menu-item.is-active{background-color:var(--el-menu-hover-bg-color)}.x-mask-menu-popper .el-sub-menu.is-active>.el-sub-menu__title{color:var(--el-color-primary)}.x-mask-menu-popper::-webkit-scrollbar{width:2px!important}.x-mask-menu-popper::-webkit-scrollbar-thumb{background:#0000001a!important}.x-mask-sidebar{width:200px;background-color:var(--el-mask-sidebar-bg-color)}.x-mask-sidebar:not(.is-resizing){transition:width .2s}.x-mask-sidebar__wrapper{position:relative;border-right:1px solid var(--el-mask-sidebar-border-color)}.x-mask-sidebar__wrapper>.el-divider{margin:0}.x-mask-sidebar__expander{padding:5px 0;width:100%;background-color:var(--el-mask-sidebar-border-color);text-align:center;cursor:pointer}.x-mask-sidebar__expander:hover{opacity:.7}.x-mask-sidebar__helper{position:absolute;width:8px;font-size:0;right:0;top:0;bottom:0;border-right:2px solid transparent}.x-mask-sidebar.is-resizing .x-mask-sidebar__helper{border-right:2px solid var(--el-color-primary)}.x-mask-sidebar.is-collapsed{width:60px}.x-mask-sidebar.is-collapsed .x-mask-avatar__wrapper{overflow:hidden;height:0;width:0;visibility:hidden}.x-mask-topbar{height:40px}.x-mask-tabs{width:1px}.x-mask-tabs .el-tabs{--el-tabs-header-height: 30px;--el-font-size-base: 12px;position:relative;left:-1px}.x-mask-tabs .el-tabs__header{margin:0;border-bottom:none!important}.x-mask-tabs .el-tabs__header .el-tabs__item.is-active{background-color:var(--el-bg-color);border-radius:2px}.x-mask-tabs .el-tabs__header .x-icon{pointer-events:none}.x-mask-tabs .el-tabs__content{display:none}.x-mask-tabs__trigger{height:100%;display:flex;align-items:center}.x-mask-tabs__trigger>.x-icon+span{margin-left:5px}.x-mask-toolbar{padding-right:10px}.x-mask-toolbar>.x-action{margin:0 5px}.x-mask-toolbar__menu-item{position:relative;display:inline-block;padding-right:20px;width:100%}.x-mask-toolbar__menu-item .x-icon{position:absolute;right:-10px;top:50%;transform:translateY(-50%)}.x-mask-switch-bar{width:100%;height:40px;padding:10px 5px;border-top:1px solid var(--el-mask-sidebar-border-color);position:relative;top:-1px;box-sizing:border-box}.x-mask-switch-bar__left{width:1px;padding-right:5px}.x-mask-switch-bar__right.is-collasped{width:100%;padding-right:0}.x-mask-switch-bar__switch{height:28px!important;line-height:1!important;width:60px!important;position:relative;display:block!important}.x-mask-switch-bar__switch .el-switch__core{--el-switch-off-color: var(--el-mask-content-bg-color);--el-switch-on-color: var(--el-mask-content-bg-color);border:1px solid var(--el-mask-sidebar-border-color)!important;height:28px;width:60px;border-radius:14px}.x-mask-switch-bar__switch .el-switch__core .el-switch__action{width:28px;height:24px;border-radius:14px;background-color:var(--el-color-primary-light-8)}.x-mask-switch-bar__switch .el-switch__label--left{position:absolute;top:6px;left:9px;z-index:1;margin-right:0;height:14px;color:var(--el-text-color-regular)}.x-mask-switch-bar__switch .el-switch__label--right{position:absolute;top:6px;right:9px;z-index:1;margin-right:0;height:14px;color:var(--el-text-color-regular)}.x-mask-switch-bar__switch .el-switch__label.is-active{color:var(--el-color-primary)}.x-mask-switch-bar__switch.is-checked .el-switch__core .el-switch__action{left:calc(100% - 29px)!important}.x-mask-switch-bar__input .el-input__wrapper{padding:0!important;border-radius:12px}.x-mask-switch-bar__input .el-input__prefix-inner>:last-child{margin-right:0;width:20px}.x-mask-switch-bar__input .el-input__suffix{cursor:pointer;transition:color .1s}.x-mask-switch-bar__input .el-input__suffix:hover{color:var(--el-color-warning)}.x-mask-switch-bar__input .el-input__suffix .x-icon{width:20px;margin-left:0!important}.x-mask-switch-bar__input .el-input__inner{height:28px!important}.x-mask-avatar{margin-left:5px}.x-mask-theme-switch.el-switch{--el-switch-on-color: var(--el-fill-color-dark);--el-switch-off-color: var(--el-fill-color-dark)}.x-mask-theme-switch .el-switch__core .el-switch__action{color:var(--el-text-color-regular)!important;background-color:var(--el-bg-color)!important}.x-field__info{position:absolute!important;right:0;cursor:pointer}.x-field__trigger{--color: getCssVar("color-error") !important;color:var(--el-color-error)!important}.x-field__editor{width:100%!important}.x-field__editor_wrap{flex-grow:1;line-height:1}.x-field__editor_wrap.is-inline{display:flex;align-items:center;justify-content:start}.x-field__editor_wrap.is-inline .x-field__editor{width:auto!important}.x-field__editor_wrap.is-inline .x-field__tip{width:auto!important;padding-left:10px}.x-field__tip{display:block;width:100%;font-size:12px;color:var(--el-text-color-secondary);padding:5px 0}.x-field.is-tooltip-outer.el-form-item--small .el-form-item__content{padding-right:16px;line-height:1}.x-field.is-tooltip-outer.el-form-item--default .el-form-item__content{padding-right:20px;line-height:1}.x-field.is-tooltip-outer.el-form-item--large .el-form-item__content{padding-right:24px;line-height:1}.x-field.is-tooltip-inner.el-form-item--small .x-field__info{right:5px}.x-field.is-tooltip-inner.el-form-item--default .x-field__info{right:8px}.x-field.is-tooltip-inner.el-form-item--large .x-field__info{right:10px}.x-form.el-form--inline>.x-field{margin-right:0}.x-tabs{--el-tabs-header-height: 30px !important}.x-tabs.el-tabs--left .el-tabs__nav-wrap.is-left:after,.x-tabs.el-tabs--left .el-tabs__nav-wrap.is-right:after,.x-tabs.el-tabs--right .el-tabs__nav-wrap.is-left:after,.x-tabs.el-tabs--right .el-tabs__nav-wrap.is-right:after{width:1px}.x-tabs.is-no-border .el-tabs__nav-wrap:after{background-color:transparent}.x-tabs.is-align-center .el-tabs__nav-scroll{display:flex;justify-content:center}.x-tabs.is-align-right .el-tabs__nav-scroll{display:flex;justify-content:flex-end}.x-tabs.is-fit{width:100%;height:100%}.x-tabs .el-tabs__header{margin-bottom:0}.x-tabs .el-tabs__item{padding:0 15px;display:flex;justify-content:space-between}.x-tabs.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{background:var(--el-bg-color)}.x-tabs.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:15px}.x-tabs.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:15px}.x-tabs__icon{margin-right:5px}.x-tabs__label-inner{display:flex;justify-content:center;align-items:center;flex-grow:1}.x-tabs__actions{padding-left:10px}.x-panel__body>.x-tabs{position:relative;top:-5px}.x-data-item__wrapper{font-size:14px;color:var(--el-text-color-primary);font-weight:700}.x-data-item__icon{margin-right:5px}.x-data-item__desc{font-size:12px;color:var(--el-text-color-regular)}.x-data-item__actions{padding:10px 0;text-align:right}.x-data-item__section+.x-data-item__section{margin-top:5px}.x-data-item.is-split+.x-data-item.is-split{padding-top:10px;margin-top:10px;border-top:1px solid var(--el-border-color-light)}.x-data-item.is-image-row .x-data-item__img{padding-right:10px}.x-data-item.is-image-column .x-data-item__img{padding-bottom:10px}.x-list{display:flex;flex-direction:column}.x-list__content{flex-grow:1}.x-list__pager{display:flex;justify-content:flex-end;padding-top:10px}.x-list__nomore,.x-list__loading{padding:20px;text-align:center;color:var(--el-color-info)}.x-startup{height:100%;display:flex;justify-content:center;align-items:center}.x-startup__wrapper{padding:40px;max-width:1000px;min-width:800px;display:flex;flex-direction:column;margin:0 auto;border-radius:10px;box-shadow:var(--el-box-shadow-lighter)}.x-startup__name{max-width:576px;line-height:56px;font-size:48px;font-weight:700;white-space:pre-wrap}.x-startup__name .clip{background:-webkit-linear-gradient(120deg,#bd34fe 30%,#41d1ff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.x-startup__text{max-width:576px;line-height:56px;font-size:48px;font-weight:700;white-space:pre-wrap;color:#3c3c43}.x-startup__tagline{padding-top:12px;max-width:576px;line-height:32px;font-size:20px;font-weight:500;white-space:pre-wrap;color:#3c3c43c7}.x-startup__actions{padding-top:32px;display:flex;flex-wrap:wrap;margin:32px -6px -6px;justify-content:flex-end;border-top:1px solid rgba(60,60,67,.08)}.x-test__slot{word-break:break-all}.x-test .el-descriptions__label{width:100px}
1
+ @charset "UTF-8";body{padding:0;margin:0;font-family:var(--el-font-family);background-color:var(--el-bg-color)}body.user-select-none{user-select:none;overflow:hidden!important}body.user-select-none iframe{pointer-events:none}body::-webkit-scrollbar,div::-webkit-scrollbar{z-index:11;width:6px}body::-webkit-scrollbar:horizontal,div::-webkit-scrollbar:horizontal{height:6px}body::-webkit-scrollbar-thumb,div::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:#0000001a}body::-webkit-scrollbar-corner,div::-webkit-scrollbar-corner{background:transparent}body::-webkit-scrollbar-track,div::-webkit-scrollbar-track{background:transparent}body::-webkit-scrollbar-track-piece,div::-webkit-scrollbar-track-piece{background:transparent;width:6px}body.is-dragging,body.is-resizing{user-select:none}body.is-dragging iframe,body.is-resizing iframe{user-select:none;pointer-events:none}.el-tag+.el-tag{margin-left:5px}.x-icon{line-height:1;display:inline-block;vertical-align:middle;font-size:inherit;width:1em;height:1em;overflow:hidden}.x-icon>svg{width:1em;height:1em}.x-icon.is-pointer{cursor:pointer}.x-icon.is-pointer:hover{opacity:.7}.x-icon img{width:100%;height:100%;transform:translateY(1px);filter:invert(.1)}.x-icon+.x-icon{margin-left:10px}html.dark .x-icon img{filter:invert(.9)}.x-menu{border-right:none!important}.x-menu .x-icon{font-size:inherit;width:14px}.x-menu__wrapper{display:inline-flex;justify-content:flex-start;align-items:center}.x-menu__badge{font-size:12px;zoom:.9;margin-left:14px}.x-menu.el-menu--collapse .x-menu__wrapper{position:relative}.x-menu.el-menu--collapse .x-menu__badge{position:absolute;right:20px;top:5px}.x-simple-mask{height:100%;background-color:#fff}.x-simple-mask__header{border-bottom:1px solid #dcdfe6;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.x-simple-mask__aside{border-right:1px solid #dcdfe6}.x-simple-mask__footer{border-top:1px solid #dcdfe6;display:flex;flex-direction:row;justify-content:center;align-items:center}.x-simple-mask__logo{font-size:20px;color:#337ecc;font-weight:700;cursor:pointer}.x-simple-mask__logo:hover{opacity:.7}.x-action{display:inline-flex;vertical-align:middle}.x-action+.x-action{margin-left:10px}.x-action .el-dropdown,.x-action .el-tooltip__trigger,.x-action .el-badge{outline:none}.x-action .el-badge__content{zoom:.9}.x-action--icon+.x-action--icon{margin-left:5px}.x-action__inner{cursor:pointer;color:var(--el-text-color-regular);display:inline-flex;justify-content:center;align-items:center;line-height:1;white-space:nowrap;font-size:14px}.x-action__inner>.x-icon+span{margin-left:.2em}.x-action__inner>span{display:inline-flex;align-items:center}.x-action__inner:hover{opacity:.7}.x-action__inner.is-disabled{cursor:not-allowed;opacity:.6}.x-action__inner.is-primary{color:var(--el-color-primary)}.x-action__inner.is-warning{color:var(--el-color-warning)}.x-action__inner.is-success{color:var(--el-color-success)}.x-action__inner.is-danger{color:var(--el-color-danger)}.x-action__inner.is-info{color:var(--el-text-color-regular)}.x-action__inner.is-icon{padding:5px;border-radius:3px}.x-action__inner.is-icon.is-background-hover{color:var(--el-text-color-regular)}.x-action__inner.is-icon.is-background-hover:hover.is-primary{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary)}.x-action__inner.is-icon.is-background-hover:hover.is-success{background-color:var(--el-color-success-light-8);color:var(--el-color-success)}.x-action__inner.is-icon.is-background-hover:hover.is-warning{background-color:var(--el-color-warning-light-8);color:var(--el-color-warning)}.x-action__inner.is-icon.is-background-hover:hover.is-danger{background-color:var(--el-color-danger-light-8);color:var(--el-color-danger)}.x-action__inner.is-icon.is-background-hover:hover.is-info{background-color:var(--el-color-info-light-8);color:var(--el-text-color-regular)}.x-action__inner.is-icon.is-background-always.is-primary{background-color:var(--el-color-primary-light-9)}.x-action__inner.is-icon.is-background-always.is-success{background-color:var(--el-color-success-light-9)}.x-action__inner.is-icon.is-background-always.is-warning{background-color:var(--el-color-warning-light-9)}.x-action__inner.is-icon.is-background-always.is-danger{background-color:var(--el-color-danger-light-9)}.x-action__inner.is-icon.is-background-always.is-info{background-color:var(--el-color-info-light-9)}.x-action__inner.is-icon.is-circle{border-radius:50%}.x-action__inner.is-icon.is-large{font-size:16px;padding:6px}.x-action__inner.is-icon.is-small{font-size:12px;padding:4px}.x-action__inner.is-text.is-large{font-size:16px}.x-action__inner.is-text.is-small{font-size:12px}.x-action-bar{white-space:nowrap}.x-action-bar__divider{margin:0 1em!important}.x-container{flex-shrink:0;box-sizing:border-box}.x-container.is-fit{width:100%;height:100%}.x-container.is-gap{margin-left:-10px;margin-top:-10px}.x-container.is-gap>.x-container{margin-left:10px;margin-top:10px}.x-container.is-pointer{cursor:pointer}.x-container.is-pointer:hover{opacity:.8}.x-container.is-flex{display:flex}.x-container.is-inline-flex{display:inline-flex}.x-container.is-direction-column{flex-direction:column}.x-container.is-direction-row-reverse{flex-direction:row-reverse}.x-container.is-direction-column-reverse{flex-direction:column-reverse}.x-container.is-justify-flex-end{justify-content:flex-end}.x-container.is-justify-center{justify-content:center}.x-container.is-justify-space-between{justify-content:space-between}.x-container.is-justify-space-around{justify-content:space-around}.x-container.is-align-center{align-items:center}.x-container.is-flex-end{align-items:flex-end}.x-container.is-baseline{align-items:baseline}.x-container.is-stretch{align-items:stretch}.x-container.is-align-content-flex-start{align-content:flex-start}.x-container.is-align-content-flex-end{align-content:flex-end}.x-container.is-align-content-enter{align-content:center}.x-container.is-align-content-space-between{align-content:space-between}.x-container.is-align-content-space-around{align-content:space-around}.x-container.is-align-content-stretch{align-content:stretch}.x-container.is-wrap-wrap{flex-wrap:wrap}.x-container.is-wrap-wrap-reverse{flex-wrap:wrap-reverse}.x-container.is-grow{flex-grow:1}.x-container.is-shrink{flex-shrink:1}.x-container.is-align-self-flex-start{align-self:flex-start}.x-container.is-align-self-flex-end{align-self:flex-end}.x-container.is-align-self-center{align-self:center}.x-container.is-align-self-baseline{align-self:baseline}.x-container.is-align-self-stretch{align-self:stretch}.x-container.is-overflow-hidden{overflow:hidden}.x-container.is-overflow-visible{overflow:visible}.x-container.is-overflow-auto{overflow:auto}.x-container.is-padding{padding:10px}.x-header{height:32px}.x-header.is-size-large{height:40px}.x-header.is-size-small{height:28px}.x-header.is-border{border-bottom:1px solid var(--el-border-color-light)}.x-header__wrapper{line-height:1.5;font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:1px}.x-header__wrapper.is-size-large{font-size:16px}.x-header__wrapper.is-size-large .x-header__subtitle,.x-header__wrapper.is-size-large .x-header__more{font-size:14px}.x-header__wrapper.is-size-small,.x-header__wrapper.is-size-small .x-header__subtitle,.x-header__wrapper.is-size-small .x-header__more{font-size:12px}.x-header__wrapper.is-pointer .x-header__content{cursor:pointer}.x-header__wrapper.is-pointer .x-header__content:hover{opacity:.7}.x-header__icon{margin-right:5px;flex-shrink:0}.x-header__content{color:var(--el-text-color-primary);font-weight:700}.x-header__more{color:var(--el-text-color-secondary)!important;margin-left:3px}.x-header__subtitle{margin-left:.5em;font-size:12px;color:var(--el-text-color-secondary)}.x-header__actions{white-space:nowrap}.x-panel--default.is-radius{border-radius:var(--el-border-radius-base)}.x-panel--default .x-panel__header{padding:0}.x-panel--default.is-border>.x-panel__body{border:1px solid var(--el-border-color-light)}.x-panel--default.is-radius>.x-panel__body{border-radius:var(--el-border-radius-base)}.x-panel--default.is-shadow-always>.x-panel__body{box-shadow:var(--el-box-shadow-lighter)}.x-panel--default.is-shadow-hover>.x-panel__body:hover{box-shadow:var(--el-box-shadow-lighter)}.x-panel--card.is-border{border:1px solid var(--el-border-color-light)}.x-panel--card.is-radius{border-radius:var(--el-border-radius-base)}.x-panel--card.is-shadow-always,.x-panel--card.is-shadow-hover:hover{box-shadow:var(--el-box-shadow-lighter)}.x-panel--card>.x-panel__header{padding:0 5px 0 10px;background-color:var(--el-fill-color-lighter)}.x-panel__body.is-grow.is-overflow-auto{height:1px}.x-dialog{background-color:var(--el-bg-color);position:absolute;pointer-events:initial}.x-dialog.is-draggable>.x-panel__header{cursor:move}.x-dialog.is-maximized{width:100%!important;height:100%!important;left:0!important;top:0!important}.x-dialog.is-minimized{display:none}.x-dialog__wrapper{position:absolute;inset:0;pointer-events:none;overflow:hidden}.x-dialog__wrapper.is-minimized{display:none}.x-dialog__wrapper.is-dragging{user-select:none}.x-dialog__wrapper.is-dragging iframe{user-select:none;pointer-events:none}.x-dialog__modal{position:absolute;inset:0;background-color:var(--el-mask-color-extra-light);pointer-events:initial}.x-dialog__frame{width:100%;height:100%;display:block;border:none}.x-dialog.is-primary{border:2px solid var(--el-color-primary);border-top:none}.x-dialog.is-primary>.x-panel__header{background-color:var(--el-color-primary);color:var(--el-color-white)}.x-dialog.is-primary>.x-panel__header .x-header__content{color:var(--el-color-white)}.x-dialog.is-primary>.x-panel__header .x-action__inner.is-icon.is-background-hover{color:var(--el-color-white)}.x-dialog.is-primary>.x-panel__header .x-action__inner.is-icon.is-background-hover:hover.is-primary{background-color:#ffffff4d;opacity:1}.x-dialog.is-primary>.x-panel__header .x-action__inner.is-icon.is-background-hover:hover.is-danger{background-color:var(--el-color-danger);opacity:1}.x-dialog.is-primary>.x-panel__header .x-action__inner.is-icon.is-background-hover:hover.is-warning{background-color:var(--el-color-warning);opacity:1}.x-dialog-form__form{height:100%}.x-mask{--el-mask-brand-color: #0157fe;--el-mask-content-bg-color: var(--el-bg-color);--el-mask-topbar-bg-color: var(--el-fill-color-lighter);--el-mask-sidebar-bg-color: var(--el-fill-color-lighter);--el-mask-sidebar-border-color: var(--el-border-color-lighter);width:100%;height:100%;background-color:var(--el-mask-content-bg-color);overflow:hidden}.x-mask__content{height:1px;overflow:auto;padding:10px}.x-mask.is-disabled .x-mask__content{height:100%}.x-mask-brand{height:40px;overflow:hidden}.x-mask-brand__logo{height:20px;width:60px;text-align:center;cursor:pointer}.x-mask-brand__logo:hover{opacity:.7}.x-mask-brand__logo>img{height:100%}.x-mask-brand__title{font-size:16px;font-weight:700;color:var(--el-text-color-regular);font-family:Microsoft YaHei,微软雅黑,Arial,sans-serif}.x-mask-brand__title>span{position:relative;transform:translate(-10px)}.x-mask-brand.is-collapsed .x-mask-brand__title{display:none}.x-mask-topbar{height:40px;background-color:var(--el-mask-topbar-bg-color);border-bottom:1px solid var(--el-mask-sidebar-border-color)}.x-mask-menu{--el-menu-bg-color: transparent;--el-menu-item-height: 36px;--el-menu-sub-item-height: 34px;--el-font-size-base: 14px;--el-menu-item-font-size: 14px;--el-menu-icon-width: 20px;--el-menu-base-level-padding: 10px;--el-menu-level-padding: 20px;width:100%;height:1px;overflow-x:hidden!important}.x-mask-menu::-webkit-scrollbar{width:2px!important}.x-mask-menu::-webkit-scrollbar-thumb{background:transparent!important}.x-mask-menu:hover::-webkit-scrollbar-thumb{background:#0000001a!important}.x-mask-menu .el-menu .el-menu-item [class^=el-icon],.x-mask-menu .el-menu .el-sub-menu .el-icon{font-size:16px}.x-mask-menu .el-menu .el-sub-menu .el-sub-menu__icon-arrow{font-size:12px;color:var(--el-text-color-secondary)}.x-mask-menu .el-menu .el-menu-item.is-active{background-color:var(--el-menu-hover-bg-color)}.x-mask-menu .el-menu .el-sub-menu.is-active>.el-sub-menu__title{color:var(--el-color-primary)}.x-mask-menu .el-menu--collapse{--el-menu-item-height: 50px;width:100%}.x-mask-menu .el-menu--collapse>.el-menu-item{flex-wrap:wrap;justify-content:center;position:relative;margin:5px;border-radius:var(--el-border-radius-base);align-items:center;text-align:center}.x-mask-menu .el-menu--collapse>.el-menu-item .x-menu__title{height:auto;width:auto;visibility:visible;font-size:12px;line-height:1;zoom:.9;position:absolute;left:0;bottom:10px;width:100%;text-align:center;color:var(--el-text-color-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.x-mask-menu .el-menu--collapse>.el-menu-item .el-menu-tooltip__trigger{width:100%;height:100%;display:block}.x-mask-menu .el-menu--collapse>.el-menu-item.is-active{background-color:var(--el-menu-hover-bg-color)}.x-mask-menu .el-menu--collapse>.el-menu-item.is-active .x-menu__title{color:var(--el-color-primary)}.x-mask-menu .el-menu--collapse>.el-sub-menu{margin:5px;border-radius:var(--el-border-radius-base)}.x-mask-menu .el-menu--collapse>.el-sub-menu>.el-sub-menu__title{width:100%;display:flex;border-radius:var(--el-border-radius-base);line-height:1;padding-left:0;padding-right:0}.x-mask-menu .el-menu--collapse>.el-sub-menu>.el-sub-menu__title>.x-menu__wrapper{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;height:100%;width:100%}.x-mask-menu .el-menu--collapse>.el-sub-menu>.el-sub-menu__title>.x-menu__wrapper .x-menu__title{font-size:12px;zoom:.9;left:0;bottom:10px;width:100%;text-align:center;display:block;position:relative;top:-5px;color:var(--el-text-color-secondary);overflow:hidden}.x-mask-menu .el-menu--collapse>.el-sub-menu.is-active{background-color:var(--el-menu-hover-bg-color)}.x-mask-menu .el-menu--collapse>.el-sub-menu.is-active .x-menu__wrapper{color:var(--el-color-primary)}.x-mask-menu .el-menu--collapse>.el-sub-menu.is-active .x-menu__wrapper .x-menu__title{color:var(--el-color-primary)}.x-mask-menu .el-menu--collapse>.el-sub-menu.is-opened{background-color:var(--el-menu-hover-bg-color)}.x-mask-menu .el-menu--collapse .el-menu-item [class^=el-icon],.x-mask-menu .el-menu--collapse .el-sub-menu .el-icon{font-size:20px;margin-right:0}.x-mask-menu__favorites .el-sub-menu__title .x-icon{color:var(--el-color-warning)}.x-mask-menu__search .el-sub-menu__title .x-icon{color:var(--el-color-success)}.x-mask-menu-popper{--el-menu-item-height: 36px;--el-menu-sub-item-height: 34px;--el-font-size-base: 12px;--el-menu-item-font-size: 12px;--el-menu-icon-width: 20px;--el-menu-base-level-padding: 14px;max-height:calc(100% - 10px);overflow:auto}.x-mask-menu-popper .el-menu-item [class^=el-icon],.x-mask-menu-popper .el-sub-menu .el-icon{font-size:14px;margin-right:0}.x-mask-menu-popper .el-sub-menu .el-sub-menu__icon-arrow{font-size:12px;color:var(--el-text-color-secondary)}.x-mask-menu-popper .el-menu-item.is-active{background-color:var(--el-menu-hover-bg-color)}.x-mask-menu-popper .el-sub-menu.is-active>.el-sub-menu__title{color:var(--el-color-primary)}.x-mask-menu-popper::-webkit-scrollbar{width:2px!important}.x-mask-menu-popper::-webkit-scrollbar-thumb{background:#0000001a!important}.x-mask-sidebar{width:200px;background-color:var(--el-mask-sidebar-bg-color)}.x-mask-sidebar:not(.is-resizing){transition:width .2s}.x-mask-sidebar__wrapper{position:relative;border-right:1px solid var(--el-mask-sidebar-border-color)}.x-mask-sidebar__wrapper>.el-divider{margin:0}.x-mask-sidebar__expander{padding:5px 0;width:100%;background-color:var(--el-mask-sidebar-border-color);text-align:center;cursor:pointer}.x-mask-sidebar__expander:hover{opacity:.7}.x-mask-sidebar__helper{position:absolute;width:8px;font-size:0;right:0;top:0;bottom:0;border-right:2px solid transparent}.x-mask-sidebar.is-resizing .x-mask-sidebar__helper{border-right:2px solid var(--el-color-primary)}.x-mask-sidebar.is-collapsed{width:60px}.x-mask-sidebar.is-collapsed .x-mask-avatar__wrapper{overflow:hidden;height:0;width:0;visibility:hidden}.x-mask-topbar{height:40px}.x-mask-tabs{width:1px}.x-mask-tabs .el-tabs{--el-tabs-header-height: 30px;--el-font-size-base: 12px;position:relative;left:-1px}.x-mask-tabs .el-tabs__header{margin:0;border-bottom:none!important}.x-mask-tabs .el-tabs__header .el-tabs__item.is-active{background-color:var(--el-bg-color);border-radius:2px}.x-mask-tabs .el-tabs__header .x-icon{pointer-events:none}.x-mask-tabs .el-tabs__content{display:none}.x-mask-tabs__trigger{height:100%;display:flex;align-items:center}.x-mask-tabs__trigger>.x-icon+span{margin-left:5px}.x-mask-toolbar{padding-right:10px}.x-mask-toolbar>.x-action{margin:0 5px}.x-mask-toolbar__menu-item{position:relative;display:inline-block;padding-right:20px;width:100%}.x-mask-toolbar__menu-item .x-icon{position:absolute;right:-10px;top:50%;transform:translateY(-50%)}.x-mask-switch-bar{width:100%;height:40px;padding:10px 5px;border-top:1px solid var(--el-mask-sidebar-border-color);position:relative;top:-1px;box-sizing:border-box}.x-mask-switch-bar__left{width:1px;padding-right:5px}.x-mask-switch-bar__right.is-collasped{width:100%;padding-right:0}.x-mask-switch-bar__switch{height:28px!important;line-height:1!important;width:60px!important;position:relative;display:block!important}.x-mask-switch-bar__switch .el-switch__core{--el-switch-off-color: var(--el-mask-content-bg-color);--el-switch-on-color: var(--el-mask-content-bg-color);border:1px solid var(--el-mask-sidebar-border-color)!important;height:28px;width:60px;border-radius:14px}.x-mask-switch-bar__switch .el-switch__core .el-switch__action{width:28px;height:24px;border-radius:14px;background-color:var(--el-color-primary-light-8)}.x-mask-switch-bar__switch .el-switch__label--left{position:absolute;top:6px;left:9px;z-index:1;margin-right:0;height:14px;color:var(--el-text-color-regular)}.x-mask-switch-bar__switch .el-switch__label--right{position:absolute;top:6px;right:9px;z-index:1;margin-right:0;height:14px;color:var(--el-text-color-regular)}.x-mask-switch-bar__switch .el-switch__label.is-active{color:var(--el-color-primary)}.x-mask-switch-bar__switch.is-checked .el-switch__core .el-switch__action{left:calc(100% - 29px)!important}.x-mask-switch-bar__input .el-input__wrapper{padding:0!important;border-radius:12px}.x-mask-switch-bar__input .el-input__prefix-inner>:last-child{margin-right:0;width:20px}.x-mask-switch-bar__input .el-input__suffix{cursor:pointer;transition:color .1s}.x-mask-switch-bar__input .el-input__suffix:hover{color:var(--el-color-warning)}.x-mask-switch-bar__input .el-input__suffix .x-icon{width:20px;margin-left:0!important}.x-mask-switch-bar__input .el-input__inner{height:28px!important}.x-mask-avatar{margin-left:5px}.x-mask-theme-switch.el-switch{--el-switch-on-color: var(--el-fill-color-dark);--el-switch-off-color: var(--el-fill-color-dark)}.x-mask-theme-switch .el-switch__core .el-switch__action{color:var(--el-text-color-regular)!important;background-color:var(--el-bg-color)!important}.x-field__info{position:absolute!important;right:0;cursor:pointer}.x-field__trigger{--color: getCssVar("color-error") !important;color:var(--el-color-error)!important}.x-field__editor{width:100%!important}.x-field__editor_wrap{flex-grow:1;line-height:1}.x-field__editor_wrap.is-inline{display:flex;align-items:center;justify-content:start}.x-field__editor_wrap.is-inline .x-field__editor{width:auto!important}.x-field__editor_wrap.is-inline .x-field__tip{width:auto!important;padding-left:10px}.x-field__tip{display:block;width:100%;font-size:12px;color:var(--el-text-color-secondary);padding:5px 0}.x-field.is-tooltip-outer.el-form-item--small .el-form-item__content{padding-right:16px;line-height:1}.x-field.is-tooltip-outer.el-form-item--default .el-form-item__content{padding-right:20px;line-height:1}.x-field.is-tooltip-outer.el-form-item--large .el-form-item__content{padding-right:24px;line-height:1}.x-field.is-tooltip-inner.el-form-item--small .x-field__info{right:5px}.x-field.is-tooltip-inner.el-form-item--default .x-field__info{right:8px}.x-field.is-tooltip-inner.el-form-item--large .x-field__info{right:10px}.x-form.el-form--inline>.x-field{margin-right:0}.x-tabs{--el-tabs-header-height: 30px !important}.x-tabs.el-tabs--left .el-tabs__nav-wrap.is-left:after,.x-tabs.el-tabs--left .el-tabs__nav-wrap.is-right:after,.x-tabs.el-tabs--right .el-tabs__nav-wrap.is-left:after,.x-tabs.el-tabs--right .el-tabs__nav-wrap.is-right:after{width:1px}.x-tabs.is-no-border .el-tabs__nav-wrap:after{background-color:transparent}.x-tabs.is-align-center .el-tabs__nav-scroll{display:flex;justify-content:center}.x-tabs.is-align-right .el-tabs__nav-scroll{display:flex;justify-content:flex-end}.x-tabs.is-fit{width:100%;height:100%}.x-tabs .el-tabs__header{margin-bottom:0}.x-tabs .el-tabs__item{padding:0 15px;display:flex;justify-content:space-between}.x-tabs.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{background:var(--el-bg-color)}.x-tabs.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:15px}.x-tabs.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:15px}.x-tabs__icon{margin-right:5px}.x-tabs__label-inner{display:flex;justify-content:center;align-items:center;flex-grow:1}.x-tabs__actions{padding-left:10px}.x-panel__body>.x-tabs{position:relative;top:-5px}.x-data-item__wrapper{font-size:14px;color:var(--el-text-color-primary);font-weight:700}.x-data-item__icon{margin-right:5px}.x-data-item__desc{font-size:12px;color:var(--el-text-color-regular)}.x-data-item__actions{padding:10px 0;text-align:right}.x-data-item__section+.x-data-item__section{margin-top:5px}.x-data-item.is-split+.x-data-item.is-split{padding-top:10px;margin-top:10px;border-top:1px solid var(--el-border-color-light)}.x-data-item.is-image-row .x-data-item__img{padding-right:10px}.x-data-item.is-image-column .x-data-item__img{padding-bottom:10px}.x-list{display:flex;flex-direction:column}.x-list__content{flex-grow:1}.x-list__pager{display:flex;justify-content:flex-end;padding-top:10px}.x-list__nomore,.x-list__loading{padding:20px;text-align:center;color:var(--el-color-info)}.x-startup{height:100%;display:flex;justify-content:center;align-items:center}.x-startup__wrapper{padding:40px;max-width:1000px;min-width:800px;display:flex;flex-direction:column;margin:0 auto;border-radius:10px;box-shadow:var(--el-box-shadow-lighter)}.x-startup__name{max-width:576px;line-height:56px;font-size:48px;font-weight:700;white-space:pre-wrap}.x-startup__name .clip{background:-webkit-linear-gradient(120deg,#bd34fe 30%,#41d1ff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.x-startup__text{max-width:576px;line-height:56px;font-size:48px;font-weight:700;white-space:pre-wrap;color:#3c3c43}.x-startup__tagline{padding-top:12px;max-width:576px;line-height:32px;font-size:20px;font-weight:500;white-space:pre-wrap;color:#3c3c43c7}.x-startup__actions{padding-top:32px;display:flex;flex-wrap:wrap;margin:32px -6px -6px;justify-content:flex-end;border-top:1px solid rgba(60,60,67,.08)}.x-test__slot{word-break:break-all}.x-test .el-descriptions__label{width:100px}.ck-powered-by{opacity:0!important;display:none!important}.x-ckeditor .ck-editor__top{display:none}.x-ckeditor.is-editable .ck-editor__top{display:block}.x-ckeditor.is-editable .ck-editor__editable{min-height:100px;max-height:100%}.x-ckeditor.is-no-border .ck-editor__editable{border:none!important}.x-ckeditor p,.x-ckeditor ul,.x-ckeditor ol,.x-ckeditor blockquote,.x-ckeditor pre{font-size:1em;line-height:1.6em;padding-top:.2em;margin-bottom:.8em}.x-ckeditor h1{font-size:2.36em;line-height:1.33em;padding-top:1em;margin-bottom:1.67em}.x-ckeditor h1+dl{margin-top:1em}@media only screen and (max-width: 640px){.x-ckeditor h1{font-size:1.9em}}.x-ckeditor dd{margin-bottom:1em}.x-ckeditor h1:first-of-type{width:100%;padding-top:.5em;margin-bottom:1.17em}.x-ckeditor h1:first-of-type+h2{padding-top:0}.x-ckeditor h2{font-size:1.68em;line-height:1.68em;padding-top:.8em;margin-bottom:.4em;padding-bottom:.2em;border-bottom:1px solid #e9e9e9;font-weight:400}@media only screen and (max-width: 640px){.x-ckeditor h2{font-size:1.5em}}.x-ckeditor h2:first-of-type{clear:both}.x-ckeditor h3{font-size:1.36em;line-height:1.5em;padding-top:.8em;margin-bottom:.2em;font-weight:400}.x-ckeditor h4{font-size:1.2em;line-height:1.4em;margin-bottom:.2em;padding-top:.8em;font-weight:400}.x-ckeditor h5{font-size:1em;line-height:1.6em;padding-top:.2em;margin-bottom:.8em;font-weight:400}.x-ckeditor .info-box>h2,.x-ckeditor .info-box>h3,.x-ckeditor .info-box>h4{padding-top:0}.x-ckeditor strong,.x-ckeditor b{font-weight:600}.x-ckeditor i,.x-ckeditor em{font-style:italic}.x-ckeditor pre{overflow:hidden}.x-ckeditor code{font-family:Monaco,Menlo,Consolas,Roboto Mono,Courier New,Ubuntu Mono,monospace;font-size:.866666em;padding:1.333em}.x-ckeditor :not(pre)>code:not(.highlight){background:#cacdcf4d;padding:.1em .25em;border-radius:3px}.x-ckeditor :not(pre)>code:not(.highlight):after{letter-spacing:-1em;content:" "}.x-ckeditor :not(pre)>code:not(.highlight):before{letter-spacing:-1em;content:" "}.x-ckeditor a code:not(.highlight){color:#1b3af2}.x-ckeditor .highlight{background:#2b2c26;color:#f8f8f2}.x-ckeditor .highlight a{color:#fff}.x-ckeditor .highlight code{background:none;padding:0;font-size:1em}.x-ckeditor blockquote{border-left:5px solid #ccc;padding-left:10px;padding-top:0;font-style:italic}.x-ckeditor kbd{display:inline-block;background:#f5f5f5;border:solid 1px #b5c6d2;border-bottom-color:#97afbf;box-shadow:inset 0 -1px #97afbf;font-family:Monaco,Menlo,Consolas,Roboto Mono,Courier New,Ubuntu Mono,monospace;font-size:.8em;padding:.25em .5em;line-height:1em;vertical-align:middle;border-radius:3px}@media only screen and (max-width: 640px){.x-ckeditor ul,.x-ckeditor ol{margin-left:1.333em}}.x-ckeditor ul ul,.x-ckeditor ul ol,.x-ckeditor ol ul,.x-ckeditor ol ol{padding-top:0;margin-bottom:0}.x-ckeditor ul ul:last-of-type,.x-ckeditor ul ol:last-of-type,.x-ckeditor ol ul:last-of-type,.x-ckeditor ol ol:last-of-type{margin-bottom:.3333333333em}.x-ckeditor ul li:last-of-type,.x-ckeditor ol li:last-of-type{margin-bottom:0}.x-ckeditor p img{display:block;margin:1.5em auto;box-sizing:content-box}.x-ckeditor iframe:not(.cke_wysiwyg_frame){display:block;margin:1.5em auto}.x-ckeditor ol{list-style-type:decimal}.x-ckeditor table{margin:1.5em 0;width:100%}.x-ckeditor table code{word-break:break-word;white-space:normal}.x-ckeditor td,.x-ckeditor th{border:1px solid #e9e9e9;padding:6px 12px}.x-ckeditor th{font-weight:700}.x-ckeditor abbr{position:relative;cursor:default;text-decoration:none;border-bottom:1px dotted #000}.x-ckeditor abbr:before{content:attr(title);display:none;position:absolute;bottom:calc(-100% - 15px);left:50%;transform:translate(-50%);padding:3px 5px;font-size:.9em;font-weight:700;border-radius:3px;color:#fff;background:#000;white-space:nowrap}.x-ckeditor abbr:after{content:"";display:none;position:absolute;bottom:-5px;left:50%;transform:translate(-50%);width:0;height:0;border-style:solid;border-width:0 5px 5px 5px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) #000 rgba(0,0,0,0)}.x-ckeditor abbr:hover:before,.x-ckeditor abbr:hover:after{display:block}.x-ckeditor [dir=rtl] ul,.x-ckeditor [dir=rtl] ol{margin-left:0;margin-right:2.666em}@media only screen and (max-width: 640px){.x-ckeditor [dir=rtl] ul,.x-ckeditor [dir=rtl] ol{margin-right:1.333em}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/ui",
3
3
  "private": false,
4
- "version": "0.7.32",
4
+ "version": "0.7.34",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "vue-tsc && vite build && npm run build:umd",
@@ -16,14 +16,15 @@
16
16
  "dependencies": {
17
17
  "@ckeditor/ckeditor5-build-classic": "~41.2.1",
18
18
  "@ckeditor/ckeditor5-vue": "~5.1.0",
19
- "@vtj/icons": "^0.7.32",
20
- "@vtj/utils": "^0.7.32",
19
+ "@vtj/icons": "^0.7.34",
20
+ "@vtj/utils": "^0.7.34",
21
21
  "@vueuse/core": "~10.9.0",
22
22
  "echarts": "~5.5.0",
23
23
  "element-plus": "~2.6.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@vtj/cli": "^0.7.21",
27
+ "qrcode": "~1.5.3",
27
28
  "vue": "~3.4.15",
28
29
  "vue-router": "~4.3.0"
29
30
  },
@@ -39,11 +40,11 @@
39
40
  ".": {
40
41
  "types": "./types/index.d.ts",
41
42
  "import": "./dist/index.mjs",
42
- "require": "./dist/index.cjs"
43
+ "require": "./dist/index.umd.js"
43
44
  }
44
45
  },
45
46
  "publishConfig": {
46
47
  "access": "public"
47
48
  },
48
- "gitHead": "2b52c6e2664561d691067d48170d3837f78d5ee5"
49
+ "gitHead": "307cf220b3b712bdc2264e44ae800f95017e0f0a"
49
50
  }
@@ -0,0 +1,8 @@
1
+ import { Plugin, InjectionKey } from 'vue';
2
+
3
+ export declare const ADAPTER_KEY: InjectionKey<Adapter>;
4
+ export declare function useAdapter(): Adapter;
5
+ export interface Adapter {
6
+ uploader?: (file: File) => Promise<string>;
7
+ }
8
+ export declare const AdapterPlugin: Plugin;
@@ -0,0 +1,59 @@
1
+ import { CKEditorImageUploder } from './types';
2
+ import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
3
+ declare const _default: DefineComponent<{
4
+ modelValue: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ disabled: {
9
+ type: BooleanConstructor;
10
+ };
11
+ editable: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ border: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ uploader: {
20
+ type: PropType<CKEditorImageUploder>;
21
+ };
22
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
23
+ focus: (e: any) => void;
24
+ blur: (value: string, e: any) => void;
25
+ change: (value?: string | undefined) => void;
26
+ "update:modelValue": (value?: string | undefined) => void;
27
+ ready: (editor: any) => void;
28
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
29
+ modelValue: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ disabled: {
34
+ type: BooleanConstructor;
35
+ };
36
+ editable: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ border: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ uploader: {
45
+ type: PropType<CKEditorImageUploder>;
46
+ };
47
+ }>> & {
48
+ onFocus?: ((e: any) => any) | undefined;
49
+ onBlur?: ((value: string, e: any) => any) | undefined;
50
+ onChange?: ((value?: string | undefined) => any) | undefined;
51
+ "onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
52
+ onReady?: ((editor: any) => any) | undefined;
53
+ }, {
54
+ disabled: boolean;
55
+ border: boolean;
56
+ modelValue: string;
57
+ editable: boolean;
58
+ }, {}>;
59
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { CKEditorImageUploder } from './types';
2
+
3
+ export declare class ImageUploadAdapter {
4
+ loader: any;
5
+ uploader: CKEditorImageUploder;
6
+ constructor(loader: any, uploader?: CKEditorImageUploder);
7
+ upload(): Promise<{
8
+ default: string;
9
+ } | undefined>;
10
+ abort(): void;
11
+ }
@@ -0,0 +1,4 @@
1
+ import { default as XCKEditor } from "./Ckeditor";
2
+
3
+ export { XCKEditor };
4
+ export * from './types';
@@ -0,0 +1,7 @@
1
+ import { Ref } from 'vue';
2
+ export declare function ckLoader(): Promise<{
3
+ ClassicEditor: any;
4
+ CKEditor: any;
5
+ CKEditorCN: any;
6
+ } | undefined>;
7
+ export declare function useCkLoader(): Ref<any>;
@@ -0,0 +1,44 @@
1
+ import { ComponentPropsType } from '../shared';
2
+ import { PropType } from 'vue';
3
+
4
+ export type CKEditorImageUploder = (file: File) => Promise<string>;
5
+ export declare const ckeditorProps: {
6
+ /**
7
+ * 内容
8
+ */
9
+ modelValue: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ /**
14
+ * 禁用
15
+ */
16
+ disabled: {
17
+ type: BooleanConstructor;
18
+ };
19
+ /**
20
+ * 可编辑状态
21
+ */
22
+ editable: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ /**
27
+ * 显示边框, 当 editable=false 时有效
28
+ */
29
+ border: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ uploader: {
34
+ type: PropType<CKEditorImageUploder>;
35
+ };
36
+ };
37
+ export type CKEditorProps = ComponentPropsType<typeof ckeditorProps>;
38
+ export type CKEditorEmits = {
39
+ 'update:modelValue': [value?: string];
40
+ change: [value?: string];
41
+ blur: [value: string, e: any];
42
+ focus: [e: any];
43
+ ready: [editor: any];
44
+ };
@@ -18,3 +18,4 @@ export * from './list';
18
18
  export * from './startup';
19
19
  export * from './test';
20
20
  export * from './input-unit';
21
+ export * from './ckeditor';
package/types/index.d.ts CHANGED
@@ -5,3 +5,4 @@ export * from './directives';
5
5
  export * from './hooks';
6
6
  export * from './utils';
7
7
  export * from './constants';
8
+ export * from './adapter';
@@ -1,4 +1,5 @@
1
+ import { InstallerOptions } from './index';
1
2
  import { App } from 'vue';
2
- declare const install: (app: App<any>) => void;
3
+ declare const install: (app: App<any>, options?: InstallerOptions) => void;
3
4
  export { install };
4
5
  export * from './index';
@@ -1,5 +1,9 @@
1
+ import { Adapter } from '../adapter';
1
2
  import { App } from 'vue';
2
3
 
4
+ export interface InstallerOptions {
5
+ adapter?: Adapter;
6
+ }
3
7
  export declare const makeInstaller: (components?: any[]) => {
4
- install: (app: App) => void;
8
+ install: (app: App, options?: InstallerOptions) => void;
5
9
  };
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/ui
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.7.31
5
+ * @version 0.7.33
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.7.31";
8
+ export declare const version = "0.7.33";
package/dist/index.cjs DELETED
@@ -1,7 +0,0 @@
1
- "use strict";var Je=Object.create;var ke=Object.defineProperty;var Ge=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Qe=Object.getPrototypeOf,et=Object.prototype.hasOwnProperty;var tt=(a,n,t,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of Ze(n))!et.call(a,l)&&l!==t&&ke(a,l,{get:()=>n[l],enumerable:!(o=Ge(n,l))||o.enumerable});return a};var ot=(a,n,t)=>(t=a!=null?Je(Qe(a)):{},tt(n||!a||!a.__esModule?ke(t,"default",{value:a,enumerable:!0}):t,a));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),f=require("element-plus"),V=require("@vtj/icons"),j=require("@vueuse/core"),E=require("@vtj/utils"),H=require("vue-router");/**!
2
- * Copyright (c) 2024, VTJ.PRO All rights reserved.
3
- * @name @vtj/ui
4
- * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.7.32
6
- * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
- */const nt="0.7.32",Ce={default:14,small:12,large:18},we={icon:{type:[String,Object]},color:{type:String},size:{type:[Number,String],default:"inherit"},src:{type:String},background:{type:String},padding:{type:Number},radius:{type:Number}};function I(a){return typeof a=="string"?a:`${a}px`}function q(a=0,n){if(typeof a=="number")return a;if(/(%|vh|vw)$/i.test(a)){const o=Number.parseInt(a);return Math.floor(n*o/100)}return Number.parseInt(a)}function ie(a,n={}){const t={...n};return typeof a=="boolean"?t:Object.assign(t,a||{})}const se=Symbol("INSTALLED_KEY"),at=(a=[])=>({install:t=>{t[se]||(t[se]=!0,a.forEach(o=>{o.name&&t.component(o.name,o)}))}}),rt=["src"],A=e.defineComponent({name:"XIcon",__name:"Icon",props:we,setup(a){const n=a,t=e.useAttrs(),o=e.getCurrentInstance(),l=e.computed(()=>{if(!n.icon)return null;const i=o?.appContext.app;return typeof n.icon=="object"?e.markRaw(n.icon):i?.component(n.icon)||n.icon}),r=e.computed(()=>{const i={"is-pointer":!!t.onClick};return!l.value&&n.icon&&(i[n.icon]=!0),i}),c=e.computed(()=>({"background-color":n.background,"border-radius":n.radius?I(n.radius):void 0,padding:n.padding?I(n.padding):void 0})),s=e.computed(()=>typeof n.size=="number"?n.size:Ce[n.size]??void 0);return(i,d)=>(e.openBlock(),e.createBlock(e.unref(f.ElIcon),{class:e.normalizeClass(["x-icon",r.value]),color:n.color,size:s.value,style:e.normalizeStyle(c.value)},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default",{},()=>[l.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value),{key:0})):e.createCommentVNode("",!0),n.src?(e.openBlock(),e.createElementBlock("img",{key:1,src:n.src},null,8,rt)):e.createCommentVNode("",!0)])]),_:3},8,["class","color","size","style"]))}}),lt={class:"x-menu__wrapper"},it={key:1,class:"x-menu__title"},st=e.createElementVNode("i",null,null,-1),ct={key:0,class:"x-menu__title"},ut=e.createElementVNode("i",null,null,-1),xe=e.defineComponent({inheritAttrs:!1,name:"XMenuItem",__name:"MenuItem",props:{item:{},subMenu:{},defaultIcon:{}},setup(a){const n=a,t=e.getCurrentInstance(),o=c=>{if(c)return typeof c=="string"&&(t?.appContext.app?.component(c)||n.defaultIcon)||c},l=c=>typeof c=="object"?c:{value:c},r=(c=[])=>c.filter(s=>!s.hidden);return(c,s)=>n.item.children?(e.openBlock(),e.createBlock(e.unref(f.ElSubMenu),e.mergeProps({key:0,disabled:n.item.disabled},n.subMenu,{index:String(n.item.id)}),{title:e.withCtx(()=>[e.createElementVNode("div",lt,[n.item.icon?(e.openBlock(),e.createBlock(e.unref(A),{key:0,icon:o(n.item.icon)},null,8,["icon"])):e.createCommentVNode("",!0),n.item.title?(e.openBlock(),e.createElementBlock("span",it,e.toDisplayString(n.item.title),1)):e.createCommentVNode("",!0),n.item.badge?(e.openBlock(),e.createBlock(e.unref(f.ElBadge),e.mergeProps({key:2,class:"x-menu__badge"},l(n.item.badge)),{default:e.withCtx(()=>[st]),_:1},16)):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r(n.item.children),i=>(e.openBlock(),e.createBlock(e.unref(xe),{key:i.id,item:i,subMenu:n.subMenu,defaultIcon:n.defaultIcon},null,8,["item","subMenu","defaultIcon"]))),128))]),_:1},16,["disabled","index"])):(e.openBlock(),e.createBlock(e.unref(f.ElMenuItem),{key:1,index:String(n.item.id),disabled:n.item.disabled},{title:e.withCtx(()=>[n.item.title?(e.openBlock(),e.createElementBlock("span",ct,e.toDisplayString(n.item.title),1)):e.createCommentVNode("",!0),n.item.badge?(e.openBlock(),e.createBlock(e.unref(f.ElBadge),e.mergeProps({key:1,class:"x-menu__badge"},l(n.item.badge)),{default:e.withCtx(()=>[ut]),_:1},16)):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[n.item.icon?(e.openBlock(),e.createBlock(e.unref(A),{key:0,icon:o(n.item.icon)},null,8,["icon"])):e.createCommentVNode("",!0)]),_:1},8,["index","disabled"]))}}),U=e.defineComponent({inheritAttrs:!1,name:"XMenu",__name:"Menu",props:{data:{default:()=>[]},subMenu:{},defaultIcon:{}},emits:["select"],setup(a,{emit:n}){const t=a,o=n,l=e.computed(()=>t.data.filter(s=>!s.hidden)),r=(s,i)=>{const d=(u,p=[])=>{for(const g of p){if(g.id.toString()===u.toString())return g;if(g.children?.length){const h=d(u,g.children);if(h)return h}}};return d(i,s)},c=s=>{const i=r(l.value,s);i&&o("select",i)};return(s,i)=>(e.openBlock(),e.createBlock(e.unref(f.ElMenu),e.mergeProps({class:"x-menu"},s.$attrs,{onSelect:c}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,d=>(e.openBlock(),e.createBlock(e.unref(xe),{item:{...d,icon:d.icon},defaultIcon:t.defaultIcon,subMenu:t.subMenu},null,8,["item","defaultIcon","subMenu"]))),256))]),_:1},16))}}),de={name:{type:String},label:{type:String},value:{type:[String,Number,Object,Array,Boolean]},icon:{type:[String,Object]},mode:{type:String,default:"button"},menus:{type:Array},tooltip:{type:[String,Object]},badge:{type:[String,Number,Object]},dropdown:{type:Object},button:{type:Object},disabled:{type:[Boolean,Function]},size:{type:String,default:"default"},type:{type:String,default:"primary"},background:{type:String,default:"always"},circle:{type:Boolean}};function dt(a){return e.computed(()=>{const n=a.tooltip;if(n)return typeof n=="string"?{content:n}:n})}function pt(a){return e.computed(()=>{const n=a.badge;if(n)return typeof n=="object"?n:{value:n}})}function mt(a){return e.computed(()=>{const{dropdown:n,menus:t}=a;if(t&&t.length>0)return Object.assign({popperClass:"x-action__menus",size:a.size},n||{})})}function Be(a){const n=e.getCurrentInstance();return e.computed(()=>{const t=e.unref(a);if(t)if(typeof t=="string"||t.setup||t.render||e.isVNode(t)){const o=n?.appContext.app;return{icon:typeof t=="string"&&o?.component(t)||t}}else return t;return null})}function K(a){const n=Be(a);return n.value?e.markRaw(e.defineComponent({render:()=>e.h(A,n.value)})):void 0}function te(a,n){return e.computed(()=>{const t=e.unref(a);return typeof t=="function"?t(n):!!t})}function Se(a,n,t){const o=e.shallowRef(n),l=e.ref(!1),r=async s=>{const i=e.unref(a);return i?typeof i=="function"?await i(s):i:n},c=async s=>(l.value=!0,await r(s).then(i=>(o.value=i||n,l.value=!1,e.unref(o))));return e.watch(()=>a,()=>{c(t)},{immediate:!0}),t&&e.watch(t,()=>{c(t)}),{data:o,loading:l,loader:c}}const ft={key:0},gt=e.defineComponent({__name:"Trigger",props:de,emits:["click"],setup(a,{emit:n}){const t=a,o=n,l=K(e.toRef(t,"icon")),r=te(e.toRef(t,"disabled")),c=e.computed(()=>({[`is-${t.mode}`]:!!t.mode,[`is-${t.type}`]:!!t.type,[`is-${t.size}`]:!!t.size&&t.size!=="default",[`is-background-${t.background}`]:t.mode==="icon"&&!!t.background,"is-disabled":!!t.disabled,"is-circle":!!t.circle})),s=i=>{if(i.preventDefault(),!r.value)return o("click"),!1};return(i,d)=>t.mode==="button"?(e.openBlock(),e.createBlock(e.unref(f.ElButton),e.mergeProps({key:0,icon:e.unref(l),type:t.type,size:t.size,disabled:e.unref(r)},t.button,{onClick:s}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.label),1)]),_:1},16,["icon","type","size","disabled"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["x-action__inner",c.value]),onClick:s},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l)))),i.label?(e.openBlock(),e.createElementBlock("span",ft,e.toDisplayString(i.label),1)):e.createCommentVNode("",!0)],2))}}),R=e.defineComponent({name:"XAction",__name:"Action",props:de,emits:["click","command"],setup(a,{emit:n}){const t=a,o=e.useSlots(),l=n,r=dt(t),c=pt(t),s=mt(t),i=te(e.toRef(t,"disabled")),d=e.computed(()=>({[`x-action--${t.mode}`]:!!t.mode})),u=()=>{i.value||l("click",e.toRaw(t))},p=y=>{if(i.value)return;const w=t.menus?.find(B=>B.command===y);w&&l("command",e.toRaw(w))},g=y=>e.h(f.ElBadge,c.value,()=>[].concat(y)),h=y=>e.h(f.ElDropdown,{...s.value,disabled:i.value,onCommand:p},{default:()=>[y],dropdown:()=>[e.h(f.ElDropdownMenu,()=>(t.menus||[]).map((w,B)=>e.h(f.ElDropdownItem,w,()=>o.item?o.item({item:w,index:B}):w.label)))]}),m=y=>e.h(f.ElTooltip,{...r.value,disabled:i.value},()=>[y]),k=e.computed(()=>{let y=e.h(e.markRaw(gt),{...t,onClick:u});const w=o.default?.();return w&&w.length&&(y=w[0]),c.value&&(y=g(y)),s.value&&(y=h(y)),r.value&&(y=m(y)),y});return(y,w)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-action",d.value])},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.value)))],2))}}),Ve={items:{type:Array},mode:{type:String,default:"button"},size:{type:String,default:"default"},type:{type:String,default:"primary"},background:{type:String,default:"always"},circle:{type:Boolean},disabled:{type:[Boolean,Function]},tooltip:{type:Object},badge:{type:Object},dropdown:{type:Object},button:{type:Object}},oe=e.defineComponent({name:"XActionBar",__name:"ActionBar",props:Ve,emits:["click","command"],setup(a,{emit:n}){const t=a,o=n,l=e.computed(()=>(t.items||[]).map(s=>s==="|"?s:{...s,badge:s.badge?{...t.badge,...typeof s.badge=="object"?s.badge||{}:{value:s.badge}}:void 0,tooltip:s.tooltip?{...t.tooltip,...typeof s.tooltip=="object"?s.tooltip||{}:{content:s.tooltip}}:void 0})),r=s=>{o("click",s)},c=(s,i)=>{o("command",s,i)};return(s,i)=>(e.openBlock(),e.createBlock(e.unref(x),{class:"x-action-bar",align:"center"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,d=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[d==="|"?(e.openBlock(),e.createBlock(e.unref(f.ElDivider),{key:0,direction:"vertical",class:"x-action-bar__divider"})):(e.openBlock(),e.createBlock(e.unref(R),e.mergeProps({key:1,mode:t.mode,size:t.size,type:t.type,circle:t.circle,background:t.background,button:t.button,dropdown:t.dropdown,disabled:e.unref(te)(t.disabled,d).value},d,{onClick:r,onCommand:u=>c(d,u)}),null,16,["mode","size","type","circle","background","button","dropdown","disabled","onCommand"]))],64))),256))]),_:1}))}}),Ne={tag:{type:String,default:"div"},fit:{type:Boolean,default:!1},width:{type:[String,Number]},height:{type:[String,Number]},flex:{type:Boolean,default:!0},inline:{type:Boolean},direction:{type:String,default:"row"},wrap:{type:String,default:"nowrap"},justify:{type:String,default:"flex-start"},align:{type:String,default:"flex-start"},alignContent:{type:String,default:"stretch"},grow:{type:Boolean,default:!1},shrink:{type:Boolean,default:!1},alignSelf:{type:String,default:"auto"},overflow:{type:String},padding:{type:Boolean,default:!1},gap:{type:Boolean},autoPointer:{type:Boolean}},x=e.defineComponent({name:"XContainer",__name:"Container",props:Ne,setup(a){const n=a,t=e.useAttrs(),o=e.getCurrentInstance(),l=e.computed(()=>{const s=o?.parent;if(!s)return!1;const i=s.proxy;return i.$options.name==="XContainer"||!!i.flex}),r=e.computed(()=>({"is-fit":n.fit,"is-flex":n.flex&&!n.inline,"is-inline-flex":n.flex&&n.inline,[`is-direction-${n.direction}`]:n.flex&&n.direction!=="row",[`is-wrap-${n.wrap}`]:n.flex&&n.wrap!=="nowrap",[`is-justify-${n.justify}`]:n.flex&&n.justify!=="flex-start",[`is-align-${n.align}`]:n.flex&&n.align!=="flex-start",[`is-align-content-${n.alignContent}`]:n.flex&&n.alignContent!=="stretch","is-grow":n.grow??l.value,"is-shrink":n.shrink,[`is-align-self-${n.alignSelf}`]:l.value&&n.alignSelf!=="auto",[`is-overflow-${n.overflow}`]:!!n.overflow,"is-padding":!!n.padding,"is-pointer":n.autoPointer&&!!t.onClick,"is-gap":!!n.gap})),c=e.computed(()=>{const{width:s,height:i,fit:d}=n;return d?null:{width:s?I(s):void 0,height:i?I(i):void 0}});return(s,i)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.tag),{class:e.normalizeClass(["x-container",r.value]),style:e.normalizeStyle(c.value)},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},8,["class","style"]))}}),Ee={size:{type:String,default:"default"},content:{type:String,default:""},subtitle:{type:String},icon:{type:[String,Object]},border:{type:Boolean},more:{type:Boolean}},ht={class:"x-header__content"},yt={key:0,class:"x-header__actions"},ze=e.defineComponent({name:"XHeader",inheritAttrs:!1,__name:"Header",props:Ee,setup(a){const n=a,t=K(e.toRef(n,"icon")),o=e.useAttrs(),l=e.computed(()=>({[`is-size-${n.size}`]:!!n.size&&n.size!=="default","is-border":n.border,"is-pointer":!!o.onClick}));return(r,c)=>(e.openBlock(),e.createBlock(e.unref(x),{class:e.normalizeClass(["x-header",l.value]),justify:"space-between",align:"center"},{default:e.withCtx(()=>[e.createVNode(e.unref(x),{align:"center",class:e.normalizeClass(["x-header__wrapper",l.value]),grow:"",onClick:e.unref(o).onClick},{default:e.withCtx(()=>[e.unref(t)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(t)),{key:0,class:"x-header__icon",onClick:e.unref(o).onClickIcon||e.unref(o).onClick},null,8,["onClick"])):e.createCommentVNode("",!0),e.createElementVNode("span",ht,[e.renderSlot(r.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(n.content),1)])]),n.more?(e.openBlock(),e.createBlock(e.unref(A),{key:1,class:"x-header__more",icon:e.unref(V.ArrowRight)},null,8,["icon"])):e.createCommentVNode("",!0),n.subtitle||r.$slots.subtitle?(e.openBlock(),e.createElementBlock("span",{key:2,class:"x-header__subtitle",onClick:c[0]||(c[0]=(...s)=>e.unref(o).onClick&&e.unref(o).onClick(...s))},[e.renderSlot(r.$slots,"subtitle",{},()=>[e.createTextVNode(e.toDisplayString(n.subtitle),1)])])):e.createCommentVNode("",!0)]),_:3},8,["class","onClick"]),r.$slots.actions?(e.openBlock(),e.createElementBlock("div",yt,[e.renderSlot(r.$slots,"actions")])):e.createCommentVNode("",!0)]),_:3},8,["class"]))}}),$e={fit:{type:Boolean,default:!1},width:{type:[String,Number]},height:{type:[String,Number]},border:{type:Boolean,default:!0},radius:{type:Boolean,default:!0},card:{type:Boolean},size:{type:String},shadow:{type:String},header:{type:[String,Object]},body:{type:Object},footer:{type:Object}},J=e.defineComponent({name:"XPanel",__name:"Panel",props:$e,setup(a,{expose:n}){const t=a,o=e.ref(),l=e.computed(()=>({"x-panel--card":!!t.card,"x-panel--default":!t.card,[`is-${t.size}`]:!!t.size&&t.size!=="default","is-border":!!t.border,"is-radius":!!t.radius,[`is-shadow-${t.shadow}`]:!!t.shadow&&t.shadow!=="none"})),r=e.computed(()=>t.header===null?null:typeof t.header=="string"?{content:t.header,size:t.size}:{...t.header,size:t.size}),c=e.computed(()=>t.fit||t.height?"auto":void 0);return n({bodyRef:o}),(s,i)=>(e.openBlock(),e.createBlock(e.unref(x),{class:e.normalizeClass(["x-panel",l.value]),direction:"column",fit:t.fit,width:t.width,height:t.height},{default:e.withCtx(()=>[r.value?(e.openBlock(),e.createBlock(e.unref(x),{key:0,flex:!1,class:"x-panel__header"},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"header",{},()=>[e.createVNode(e.unref(ze),e.normalizeProps(e.guardReactiveProps(r.value)),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"title")]),actions:e.withCtx(()=>[e.renderSlot(s.$slots,"actions")]),_:3},16)])]),_:3})):e.createCommentVNode("",!0),e.createVNode(e.unref(x),e.mergeProps({ref_key:"bodyRef",ref:o,flex:!1,overflow:c.value,grow:"",padding:"",class:"x-panel__body"},t.body),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["overflow"]),s.$slots.footer?(e.openBlock(),e.createBlock(e.unref(x),e.mergeProps({key:1,flex:!1,padding:"",class:"x-panel__footer"},t.footer),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"footer")]),_:3},16)):e.createCommentVNode("",!0)]),_:3},8,["class","fit","width","height"]))}}),be="user-select-none";class ce{constructor(n,t={}){this.el=n,this.options=t,this.scope=e.effectScope(),this.scope.run(()=>{this.init()})}scope;dragging=!1;getHandle(){const{selector:n,handle:t}=this.options;return n?this.el.querySelector(n):t}getTarget(){const{target:n="body"}=this.options;return typeof n=="string"?document.querySelector(n):e.unref(n)||document.body}init(){const{el:n,options:t}=this,{disabled:o,delay:l=150,onStart:r,onEnd:c}=t;if(o)return;let s=null;const i=this.getHandle(),d=this.getTarget();let u=n.getBoundingClientRect(),p=null;const{x:g,y:h}=j.useDraggable(n,{initialValue:{x:u.x,y:u.y},...t,handle:i,onStart:(m,k)=>{document.body.classList.add(be),clearTimeout(s),s=setTimeout(()=>{this.dragging=!0,u=n.getBoundingClientRect(),p=d?.getBoundingClientRect(),r&&r(m,k)},l)},onEnd:(m,k)=>{if(clearTimeout(s),document.body.classList.remove(be),this.dragging&&p){this.dragging=!1;const{x:y,y:w}=m,B=this.getPosition(p,u,y,w);c&&c(B,k),p=null}}});e.watch([g,h],()=>{if(this.dragging&&p){const m=this.getPosition(p,u,g.value,h.value);n.style.left=`${m.x}px`,n.style.top=`${m.y}px`}})}getPosition(n,t,o,l){const{edge:r=50}=this.options,c=-t.width+r,s=n.width-r,i=0,d=n.height-r,u=Math.min(s,Math.max(o,c)),p=Math.min(d,Math.max(l,i));return{x:u,y:p}}destory(){this.scope.stop()}}const Te={mounted(a,n){const t=n.value||{},o=new ce(a,t);a.__draggable__=o},updated(a,n){const t=n.value||{};let o=a.__draggable__;o&&!E.isEqual(o.options,t)&&(o.destory(),a.__draggable__=new ce(a,t))},unmounted(a){const n=a.__draggable__;n&&(n.destory(),a.__draggable__=null)}},le="user-select-none";class ue{constructor(n,t={}){this.el=n,this.options=t,this.scope=e.effectScope(),this.scope.run(()=>{this.init()})}scope;resizing=e.ref(!1);direction=e.ref("");MIE=null;cleanMousedown;cleanMouseup;init(){const{el:n,options:t}=this,{disabled:o,onStart:l,onEnd:r}=t;if(o)return;this.MIE=j.useMouseInElement(n),this.cleanMousedown=j.useEventListener(document,"mousedown",()=>{this.direction?.value&&this.MIE&&(this.resizing.value=!0,n.classList.add("is-resizing",`is-${this.direction.value}-resizing`),l&&l(this.direction.value,this.MIE))}),this.cleanMouseup=j.useEventListener(document,"mouseup",()=>{this.resizing.value&&this.direction?.value&&this.MIE&&(n.classList.remove("is-resizing",`is-${this.direction.value}-resizing`),r&&r(this.direction.value,this.MIE)),this.resizing.value=!1}),e.watch(this.direction,i=>{const d=document.body;d.style.cursor=i?`${i}-resize`:"",i?d.classList.add(le):d.classList.remove(le)});const{x:c,y:s}=this.MIE;e.watch([c,s],()=>{this.resizing.value?this.resize():this.direction.value=this.getDirection()})}resize(){const{MIE:n,direction:t,resizing:o,options:l,el:r}=this,c=t?.value||"";if(!n||!o.value||!c)return;const{x:s,y:i,elementX:d,elementY:u,elementHeight:p,elementWidth:g}=n,{onResizing:h}=l,{minWidth:m=0,minHeight:k=0,maxWidth:y=99999,maxHeight:w=99999}=l;if(c.includes("e")){const B=Math.min(Math.max(d.value,m),y);r.style.width=`${B}px`}if(c.includes("s")){const B=Math.min(Math.max(u.value,k),w);r.style.height=`${B}px`}if(c.includes("w")){const B=Math.min(Math.max(g.value-d.value,m),y);r.style.width=`${B}px`,r.style.left=`${s.value}px`}if(c.includes("n")){const B=Math.min(Math.max(p.value-u.value,k),w);this.el.style.height=`${B}px`,this.el.style.top=`${i.value}px`}h&&h(c,n)}getDirection(){if(!this.MIE)return"";const{elementX:n,elementY:t,elementHeight:o,elementWidth:l,isOutside:r}=this.MIE;if(r.value)return"";const{dirs:c=["n","s","w","e"],edge:s=5}=this.options;let i="";return c.includes("n")&&t.value<=s?i+="n":c.includes("s")&&t.value>o.value-s&&(i+="s"),c.includes("w")&&n.value<=s?i+="w":c.includes("e")&&n.value>l.value-s&&(i+="e"),i}destory(){const n=document.body;n.style.cursor="",n.classList.remove(le),this.cleanMousedown&&this.cleanMousedown(),this.cleanMouseup&&this.cleanMouseup(),this.MIE?.stop(),this.scope.stop()}}const pe={mounted(a,n){const t=n.value||{},o=new ue(a,t);a.__resizable__=o},updated(a,n){const t=n.value||{};let o=a.__resizable__;o&&!E.isEqual(o.options,t)&&(o.destory(),a.__resizable__=new ue(a,t))},unmounted(a){const n=a.__resizable__;n&&(n.destory(),a.__resizable__=null)}},Pe={modelValue:{type:Boolean,default:!0},title:{type:String},subtitle:{type:String},icon:{type:[String,Object]},size:{type:String,default:"default"},width:{type:[Number,String],default:"70%"},height:{type:[Number,String],default:"70%"},left:{type:[Number,String]},top:{type:[Number,String]},modal:{type:Boolean,default:!0},draggable:{type:[Boolean,Object],default:!0},resizable:{type:[Boolean,Object]},closable:{type:Boolean,default:!0},maximizable:{type:Boolean,default:!1},minimizable:{type:Boolean,default:!1},mode:{type:String,default:"normal"},content:{type:Object},src:{type:String},componentInstance:{type:Object},beforeClose:{type:Function},submit:{type:[Boolean,String]},cancel:{type:[Boolean,String]},bodyPadding:{type:Boolean,default:!0},primary:{type:Boolean}};let W=1e3;function vt(a,n){const{width:t,height:o}=j.useElementSize(n),l=e.reactive({mode:a.mode||"normal",wrapperWidth:0,wrapperHeight:0,width:0,height:0,top:0,left:0,zIndex:++W,dragging:!1,resizing:!1});return e.watch([t,o],([r,c])=>{l.wrapperWidth=r,l.wrapperHeight=c,l.width=q(a.width,r),l.height=q(a.height,c),l.left=a.left?q(a.left,r)-l.width/2:Math.max(Math.floor((r-l.width)/2),0),l.top=a.top?q(a.top,c):Math.max(Math.floor((c-l.height)/2),0)}),e.watch(l,r=>{W=Math.max(r.zIndex,W)}),{state:l,normal:e.computed(()=>l.mode==="normal"),maximized:e.computed(()=>l.mode==="maximized"),minimized:e.computed(()=>l.mode==="minimized")}}function kt(a,n){const t=e.computed(()=>{const{width:c,height:s,top:i,left:d,zIndex:u}=n;return{width:`${c}px`,height:`${s}px`,top:`${i}px`,left:`${d}px`,zIndex:u}}),o=e.computed(()=>({[`is-${n.mode}`]:!!n.mode,"is-draggable":!!a.draggable,"is-resizable":!!a.resizable,"is-primary":!!a.primary})),l=e.computed(()=>({[`is-${n.mode}`]:!!n.mode,"is-dragging":n.dragging,"is-resizing":n.resizing})),r=e.computed(()=>({zIndex:n.zIndex}));return{styles:t,classes:o,wrapperClass:l,modalStyle:r}}function bt(a,n,t){const o=u=>{n.mode=u,["maximized","minimized","normal"].includes(u)&&t(u),t("modeChange",u)},l=async()=>{(!a.beforeClose||await a.beforeClose())&&(t("update:modelValue",!1),t("close"),t("destroy"))};return{close:l,changeMode:o,show:()=>o("normal"),hide:()=>o("minimized"),active:u=>{const p=u.target.nodeName||"";["INPUT","TEXTAREA","RADIO","CHECKBOX"].includes(p.toUpperCase())||(n.zIndex=Math.max(n.zIndex,++W))},submit:()=>t("submit"),cancel:()=>{t("cancel"),l()}}}function _t(a,n,t,o){return e.computed(()=>{const l=typeof a.draggable=="boolean"?!a.draggable:!!a.draggable?.disabled;return{...E.isObject(a.draggable)?a.draggable:{},disabled:l,target:o,selector:".x-panel__header",onStart(r){n.dragging=!0,n.zIndex=Math.max(n.zIndex,++W),t("dragStart",r)},onMove(r){t("dragging",r)},onEnd(r){if(n.mode==="maximized")return;const{x:c,y:s}=r;n.left=c,n.top=s,n.dragging=!1,t("dragEnd",r)}}})}function Ct(a,n,t){return e.computed(()=>{const o=typeof a.resizable=="boolean"?!a.resizable:!!a.resizable?.disabled;return{minWidth:200,minHeight:150,...E.isObject(a.resizable)?a.resizable:{},disabled:o,dirs:["e","s","w"],onStart(l,r){n.resizing=!0,n.zIndex=Math.max(n.zIndex,++W),t("resizeStart",l,r)},onResizing(l,r){t("resizing",l,r)},onEnd(l,r){n.left=r.elementPositionX.value,n.top=r.elementPositionY.value,n.width=r.elementWidth.value,n.height=r.elementHeight.value,n.resizing=!1,t("resizeEnd",l,r)}}})}function wt(a,n){const t=a.componentInstance;if(!t)return;let o=null;return e.onMounted(()=>{const l=e.unref(n),r=e.unref(l?.bodyRef);o=t.$el,r&&r.$el&&r.$el.appendChild(o)}),e.onUnmounted(()=>{o&&o.parentNode&&o.parentNode.removeChild(o)}),{componentInstance:t}}const xt=["src"],me=e.defineComponent({name:"XDialog",__name:"Dialog",props:Pe,emits:["update:modelValue","open","close","destroy","maximized","minimized","normal","modeChange","dragStart","dragging","dragEnd","resizeStart","resizeEnd","resizing","submit","cancel"],setup(a,{expose:n,emit:t}){const o=a,l=t,r=e.getCurrentInstance(),c=e.ref(),s=e.ref(),{state:i,maximized:d,minimized:u,normal:p}=vt(o,c),{styles:g,classes:h,wrapperClass:m,modalStyle:k}=kt(o,i),{changeMode:y,active:w,close:B,show:b,hide:S,submit:_,cancel:z}=bt(o,i,l),v=_t(o,i,l,c),P=Ct(o,i,l),D=wt(o,s);e.watchEffect(async()=>{o.modelValue&&(await e.nextTick(),r&&l("open",r))});const L=e.computed(()=>s.value?.$el);return n({$vtjEl:L,panelRef:s,state:i,maximized:d,minimized:u,changeMode:y,show:b,hide:S,submit:_,cancel:z,close:B,componentInstance:D}),(M,O)=>o.modelValue?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[e.createElementVNode("div",{ref_key:"wrapper",ref:c,class:e.normalizeClass(["x-dialog__wrapper",e.unref(m)])},[o.modal?(e.openBlock(),e.createElementBlock("div",{key:0,class:"x-dialog__modal",style:e.normalizeStyle(e.unref(k))},null,4)):e.createCommentVNode("",!0),e.withDirectives((e.openBlock(),e.createBlock(e.unref(J),e.mergeProps({ref_key:"panelRef",ref:s,class:["x-dialog",e.unref(h)],card:"",shadow:"always",header:{icon:o.icon,subtitle:o.subtitle},width:"800px",height:"600px",footer:{justify:"space-between",flex:!0,align:"center"},style:e.unref(g),size:o.size,body:{padding:o.bodyPadding},onClick:e.unref(w)},M.$attrs),e.createSlots({title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.title),1)]),actions:e.withCtx(()=>[e.renderSlot(M.$slots,"actions"),o.minimizable?(e.openBlock(),e.createBlock(e.unref(R),{key:0,icon:e.unref(V.Minimize),size:o.size,mode:"icon",type:"primary",background:"hover",onClick:O[0]||(O[0]=X=>e.unref(y)("minimized"))},null,8,["icon","size"])):e.createCommentVNode("",!0),o.maximizable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.unref(p)?(e.openBlock(),e.createBlock(e.unref(R),{key:1,icon:e.unref(V.Maximize),size:o.size,mode:"icon",type:"primary",background:"hover",onClick:O[2]||(O[2]=X=>e.unref(y)("maximized"))},null,8,["icon","size"])):(e.openBlock(),e.createBlock(e.unref(R),{key:0,icon:e.unref(V.Popup),size:o.size,mode:"icon",type:"primary",background:"hover",onClick:O[1]||(O[1]=X=>e.unref(y)("normal"))},null,8,["icon","size"]))],64)):e.createCommentVNode("",!0),o.closable?(e.openBlock(),e.createBlock(e.unref(R),{key:2,icon:e.unref(V.RawClose),size:o.size,mode:"icon",type:"danger",background:"hover",onClick:e.unref(B)},null,8,["icon","size","onClick"])):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(M.$slots,"default",{},()=>[o.content?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.content),{key:0})):e.createCommentVNode("",!0),o.src?(e.openBlock(),e.createElementBlock("iframe",{key:1,src:o.src,class:"x-dialog__frame"},null,8,xt)):e.createCommentVNode("",!0)])]),_:2},[o.cancel||o.submit||M.$slots.footer||M.$slots.extra||M.$slots.handle?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(M.$slots,"footer",{},()=>[e.createVNode(e.unref(x),{align:"center"},{default:e.withCtx(()=>[e.renderSlot(M.$slots,"extra")]),_:3}),e.createVNode(e.unref(x),{align:"center"},{default:e.withCtx(()=>[e.renderSlot(M.$slots,"handle"),o.cancel?(e.openBlock(),e.createBlock(e.unref(f.ElButton),{key:0,type:"default",size:o.size,onClick:e.unref(z)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(typeof o.cancel=="string"?o.cancel:"取消"),1)]),_:1},8,["size","onClick"])):e.createCommentVNode("",!0),o.submit?(e.openBlock(),e.createBlock(e.unref(f.ElButton),{key:1,type:"primary",size:o.size,onClick:e.unref(_)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(typeof o.submit=="string"?o.submit:"确定"),1)]),_:1},8,["size","onClick"])):e.createCommentVNode("",!0)]),_:3})])]),key:"0"}:void 0]),1040,["header","class","style","size","body","onClick"])),[[e.unref(Te),e.unref(v)],[e.unref(pe),e.unref(P)]])],2)])):e.createCommentVNode("",!0)}});function ne(a,n){const t=document.createElement("div"),o=e.createVNode(me,a);o.appContext=n??ne._context,e.render(o,t);const l=()=>{e.render(null,t),t.parentNode?.removeChild(t)};return o.props.onDestroy=()=>{l()},document.body.appendChild(t),{vnode:o,destroy:l}}const Bt=e.createElementVNode("div",{class:"x-mask-sidebar__helper"},null,-1),St=e.defineComponent({__name:"Sidebar",props:{collapsed:{type:Boolean}},setup(a){const n=a;return(t,o)=>e.withDirectives((e.openBlock(),e.createBlock(e.unref(x),{class:e.normalizeClass(["x-mask-sidebar",{"is-collapsed":n.collapsed}]),grow:!1,flex:"",direction:"column"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"brand"),e.createVNode(e.unref(x),{class:"x-mask-sidebar__wrapper",flex:"",grow:"",direction:"column",justify:"space-between",align:"center"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default"),Bt]),_:3})]),_:3},8,["class"])),[[e.unref(pe),{dirs:["e"],disabled:n.collapsed,maxWidth:500,minWidth:200}]])}}),Vt=e.defineComponent({__name:"SwitchBar",props:{collasped:{type:Boolean,default:!1},favorite:{type:Boolean,default:!1},keyword:{}},emits:["update:collasped","update:keyword","update:favorite"],setup(a,{emit:n}){const t=a,o=n,l=e.ref(!1),r=e.ref(""),c=e.ref(!1),s=()=>{l.value=!0},i=()=>{r.value="",l.value=!1,o("update:keyword",r.value)},d=()=>{o("update:collasped",!t.collasped)},u=()=>{o("update:keyword",r.value)},p=()=>{o("update:favorite",c.value)};return(g,h)=>(e.openBlock(),e.createBlock(e.unref(x),{class:"x-mask-switch-bar",justify:"space-between",align:"center"},{default:e.withCtx(()=>[t.collasped?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(x),{key:0,class:"x-mask-switch-bar__left",grow:""},{default:e.withCtx(()=>[l.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(f.ElSwitch),{key:0,modelValue:c.value,"onUpdate:modelValue":h[0]||(h[0]=m=>c.value=m),class:"x-mask-switch-bar__switch","active-icon":e.unref(V.StarFilled),"inactive-icon":e.unref(V.Menu),onChange:p},null,8,["modelValue","active-icon","inactive-icon"])),l.value?(e.openBlock(),e.createBlock(e.unref(f.ElInput),{key:1,modelValue:r.value,"onUpdate:modelValue":h[1]||(h[1]=m=>r.value=m),class:"x-mask-switch-bar__input",size:"small",placeholder:"请输入查询关键字",onInput:u,"prefix-icon":e.unref(V.Search)},{suffix:e.withCtx(()=>[e.createVNode(e.unref(A),{icon:e.unref(V.Close),onClick:i},null,8,["icon"])]),_:1},8,["modelValue","prefix-icon"])):e.createCommentVNode("",!0)]),_:1})),e.createVNode(e.unref(x),{class:e.normalizeClass(["x-mask-switch-bar__right",{"is-collasped":t.collasped}]),flex:"",align:"center",justify:"center"},{default:e.withCtx(()=>[!l.value&&!t.collasped?(e.openBlock(),e.createBlock(e.unref(R),{key:0,icon:e.unref(V.Search),mode:"icon",background:"hover",size:"default",circle:"",onClick:s},null,8,["icon"])):e.createCommentVNode("",!0),t.collasped?(e.openBlock(),e.createBlock(e.unref(R),{key:1,icon:e.unref(V.Expand),mode:"icon",size:"default",background:"hover",onClick:d,circle:""},null,8,["icon"])):e.createCommentVNode("",!0),t.collasped?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(R),{key:2,icon:e.unref(V.Fold),mode:"icon",size:"default",background:"hover",circle:"",onClick:d},null,8,["icon"]))]),_:1},8,["class"])]),_:1}))}}),Nt=["src"],Et={key:0},zt=e.defineComponent({__name:"Brand",props:{collapsed:{type:Boolean,default:!1},logo:{},title:{},url:{}},setup(a){const n=a,t=H.useRouter(),o=()=>{n.url&&t.push(n.url)};return(l,r)=>(e.openBlock(),e.createBlock(e.unref(x),{class:e.normalizeClass(["x-mask-brand",{"is-collapsed":n.collapsed}]),align:"center"},{default:e.withCtx(()=>[e.createVNode(e.unref(x),{class:"x-mask-brand__logo",flex:"",justify:"center",align:"center",onClick:o},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"logo",{},()=>[n.logo?(e.openBlock(),e.createElementBlock("img",{key:0,src:n.logo},null,8,Nt)):e.createCommentVNode("",!0)])]),_:3}),e.createVNode(e.unref(x),{class:"x-mask-brand__title",flex:"",align:"center"},{default:e.withCtx(()=>[n.title?(e.openBlock(),e.createElementBlock("span",Et,[e.renderSlot(l.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(n.title),1)])])):e.createCommentVNode("",!0)]),_:3})]),_:3},8,["class"]))}}),Q="__favorites__",ee="__search__",$t=e.defineComponent({__name:"Menu",props:{collapse:{type:Boolean,default:!1},keyword:{},favorite:{type:Boolean},favorites:{},flatMenus:{},menus:{},active:{}},emits:["select"],setup(a,{emit:n}){const t=a,o=e.computed(()=>t.menus||[]),l=n,r=e.computed(()=>String(t.active?.id)),c=e.computed(()=>[{id:Q,title:"收藏",icon:V.Star,children:t.favorites?.length?t.favorites:[{id:Q+"empty",disabled:!0,title:"暂无收藏菜单"}]}]),s=e.computed(()=>{const d=(t.keyword||"").trim(),u=d?(t.flatMenus||[]).filter(p=>p.title?.includes(d)):[];return[{id:ee,title:"搜索",icon:V.Search,children:u?.length?u:[{id:ee+"empty",disabled:!0,title:"查询匹配不到菜单项"}]}]}),i=d=>{l("select",d)};return(d,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createVNode(e.unref(x),{class:"x-mask-menu",grow:"",flex:!1,overflow:"auto"},{default:e.withCtx(()=>[e.withDirectives(e.createVNode(e.unref(U),{subMenu:{popperClass:"x-mask-menu-popper",teleported:!0,showTimeout:200,hideTimeout:200},data:o.value,"default-icon":e.unref(V.Document),collapse:!0,"collapse-transition":!1,"default-active":r.value,onSelect:i},null,8,["data","default-icon","default-active"]),[[e.vShow,t.collapse]]),e.withDirectives(e.createVNode(e.unref(U),{subMenu:{popperClass:"x-mask-menu-popper",teleported:!0},data:o.value,"default-icon":e.unref(V.Document),collapse:!1,"collapse-transition":!1,"default-active":r.value,onSelect:i},null,8,["data","default-icon","default-active"]),[[e.vShow,!t.collapse]]),o.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(f.ElEmpty),{key:0,description:"暂无菜单数据"}))]),_:1},512),[[e.vShow,!t.favorite&&!t.keyword]]),e.withDirectives(e.createVNode(e.unref(x),{class:"x-mask-menu",grow:"",flex:!1,overflow:"auto"},{default:e.withCtx(()=>[e.withDirectives(e.createVNode(e.unref(U),{class:"x-mask-menu__favorites",subMenu:{popperClass:"x-mask-menu-popper",teleported:!0,showTimeout:200,hideTimeout:200},data:c.value,"default-icon":e.unref(V.Document),collapse:!0,"collapse-transition":!1,"default-active":r.value,"default-openeds":[Q],onSelect:i},null,8,["data","default-icon","default-active","default-openeds"]),[[e.vShow,t.collapse]]),e.withDirectives(e.createVNode(e.unref(U),{class:"x-mask-menu__favorites",subMenu:{popperClass:"x-mask-menu-popper",teleported:!0,showTimeout:200,hideTimeout:200},data:c.value,"default-icon":e.unref(V.Document),collapse:!1,"collapse-transition":!1,"default-active":r.value,"default-openeds":[Q],onSelect:i},null,8,["data","default-icon","default-active","default-openeds"]),[[e.vShow,!t.collapse]])]),_:1},512),[[e.vShow,t.favorite&&!t.keyword]]),t.keyword?e.withDirectives((e.openBlock(),e.createBlock(e.unref(x),{key:0,class:"x-mask-menu",grow:"",flex:!1,overflow:"auto"},{default:e.withCtx(()=>[e.withDirectives(e.createVNode(e.unref(U),{class:"x-mask-menu__search",subMenu:{popperClass:"x-mask-menu-popper",teleported:!0,showTimeout:200,hideTimeout:200},data:s.value,"default-icon":e.unref(V.Document),collapse:!0,"collapse-transition":!1,"default-active":r.value,"default-openeds":[ee],onSelect:i},null,8,["data","default-icon","default-active","default-openeds"]),[[e.vShow,t.collapse]]),e.withDirectives(e.createVNode(e.unref(U),{class:"x-mask-menu__search",subMenu:{popperClass:"x-mask-menu-popper",teleported:!0,showTimeout:200,hideTimeout:200},data:s.value,"default-icon":e.unref(V.Document),collapse:!1,"collapse-transition":!1,"default-active":r.value,"default-openeds":[ee],onSelect:i},null,8,["data","default-icon","default-active","default-openeds"]),[[e.vShow,!t.collapse]])]),_:1},512)),[[e.vShow,!!t.keyword]]):e.createCommentVNode("",!0)],64))}}),Tt="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1711803009570'%20class='icon'%20viewBox='0%200%201280%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1500'%20width='320'%20height='256'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cpath%20d='M557.85%201023l-122-35.4c-12.8-3.6-20-17-16.4-29.8L692.45%2017.4c3.6-12.8%2017-20%2029.8-16.4l122%2035.4c12.8%203.6%2020%2017%2016.4%2029.8L587.65%201006.6c-3.8%2012.8-17%2020.2-29.8%2016.4z%20m-228-224.4l87-92.8c9.2-9.8%208.6-25.4-1.6-34.4L234.05%20512l181.2-159.4c10.2-9%2011-24.6%201.6-34.4l-87-92.8c-9-9.6-24.2-10.2-34-1L7.65%20494.4c-10.2%209.4-10.2%2025.6%200%2035l288.2%20270.2c9.8%209.2%2025%208.8%2034-1z%20m654.4%201.2l288.2-270.2c10.2-9.4%2010.2-25.6%200-35L984.25%20224.2c-9.6-9-24.8-8.6-34%201L863.25%20318c-9.2%209.8-8.6%2025.4%201.6%2034.4L1046.05%20512l-181.2%20159.4c-10.2%209-11%2024.6-1.6%2034.4l87%2092.8c9%209.8%2024.2%2010.2%2034%201.2z'%20fill='%230157fe'%20p-id='1501'%3e%3c/path%3e%3c/svg%3e",De=140,Me={logo:{type:String,default:Tt},title:{type:String,default:"VTJ.PRO"},menus:{type:[Array,Function],default(){return[]}},favorites:{type:[Array,Function],default(){return[]}},menuAdapter:{type:Function},home:{type:[String,Object],default:"/"},tabs:{type:Number,default:20},actions:{type:Array},avatar:{type:String},theme:{type:Boolean},disabled:{type:Boolean},addFavorite:{type:Function},removeFavorite:{type:Function}},fe=Symbol(),ge=Symbol(),Pt={class:"x-mask-tabs__trigger"},Dt={key:1},Mt=["onDragstart","onDragend"],It={key:1},Rt=e.defineComponent({__name:"Tabs",props:{tabs:{},home:{},isActiveTab:{type:Function},value:{},favorites:{}},emits:["click","remove","refresh","toggleFavorite","dialog"],setup(a,{emit:n}){const t=a,o=n,l=u=>{const p=!!t.favorites.find(g=>g===u.menu||g.id===u.menu?.id);return[{icon:V.Refresh,label:"刷新",name:"refresh",value:u},"|",{icon:p?V.StarFilled:V.Star,label:"收藏",name:"favorite",value:u.menu,disabled:!u.menu},"|",{icon:V.CopyDocument,label:"弹窗",name:"dialog",value:u}]},r=u=>{const p=u.paneName;if(p===t.home.id){o("click",t.home);return}const g=t.tabs.find(h=>h.id===p);g&&o("click",g)},c=u=>{const p=t.tabs.find(g=>g.id===u);p&&o("remove",p)},s=u=>{switch(u.name){case"refresh":o("refresh",u.value);break;case"favorite":o("toggleFavorite",u.value);break;case"dialog":o("dialog",u.value);break}},i=(u,p)=>{p.dataTransfer&&(p.dataTransfer.setData("tab",u.id),p.target&&p.target.classList.add("is-dagging"))},d=(u,p)=>{p.target&&p.target.classList.remove("is-dagging")};return(u,p)=>(e.openBlock(),e.createBlock(e.unref(x),{ref:"tabsRef",class:"x-mask-tabs",height:"100%",grow:"",flex:"",justify:"flex-end",direction:"column"},{default:e.withCtx(()=>[e.createVNode(e.unref(f.ElTabs),{type:"card","model-value":t.value,onTabRemove:c,onTabClick:r},{default:e.withCtx(()=>[t.home?(e.openBlock(),e.createBlock(e.unref(f.ElTabPane),{key:0,name:t.home.id},{label:e.withCtx(()=>[e.createElementVNode("div",Pt,[t.home.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(K)(t.home.icon)),{key:0})):e.createCommentVNode("",!0),t.home.title?(e.openBlock(),e.createElementBlock("span",Dt,e.toDisplayString(t.home.title),1)):e.createCommentVNode("",!0)])]),_:1},8,["name"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tabs,g=>(e.openBlock(),e.createBlock(e.unref(f.ElTabPane),{key:g.id,name:g.id,lazy:"",closable:""},{label:e.withCtx(()=>[e.createVNode(e.unref(f.ElPopover),{"open-delay":500,placement:"bottom",trigger:"hover",width:"200px",disabled:g.id!==t.value},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"x-mask-tabs__trigger",draggable:"true",onDragstart:h=>i(g,h),onDragend:h=>d(g,h)},[g.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(K)(g.icon)),{key:0})):e.createCommentVNode("",!0),g.title?(e.openBlock(),e.createElementBlock("span",It,e.toDisplayString(g.title),1)):e.createCommentVNode("",!0)],40,Mt)]),default:e.withCtx(()=>[e.createVNode(e.unref(oe),{items:l(g),mode:"text",size:"small",type:"info",onClick:s},null,8,["items"])]),_:2},1032,["disabled"])]),_:2},1032,["name"]))),128))]),_:1},8,["model-value"])]),_:1},512))}}),jt=e.defineComponent({__name:"ThemeSwitch",setup(a){const n=j.useDark();return(t,o)=>(e.openBlock(),e.createBlock(e.unref(f.ElSwitch),{class:"x-mask-theme-switch",modelValue:e.unref(n),"onUpdate:modelValue":o[0]||(o[0]=l=>e.isRef(n)?n.value=l:null),size:"default","active-action-icon":e.unref(V.Moon),"inactive-action-icon":e.unref(V.Sunny)},null,8,["modelValue","active-action-icon","inactive-action-icon"]))}}),Ot={class:"x-mask-toolbar__menu-item"},Ft=e.defineComponent({__name:"Toolbar",props:{tabs:{default:()=>[]},actions:{},theme:{type:Boolean}},emits:["closeOtherTabs","closeAllTabs","closeTab","clickTab","actionClick","actionCommand"],setup(a,{emit:n}){const t=a,o=n,l=e.computed(()=>{const d=t.tabs.map((u,p)=>({divided:p===0,label:u.title,command:u}));return[{label:"关闭其他",command:"other"},{label:"关闭全部",command:"all"},...d]}),r=d=>{o("closeTab",d.command)},c=d=>{switch(d.command){case"all":o("closeAllTabs");break;case"other":o("closeOtherTabs");break;default:o("clickTab",d.command);break}},s=d=>{o("actionClick",d)},i=(d,u)=>{o("actionCommand",d,u)};return(d,u)=>(e.openBlock(),e.createBlock(e.unref(x),{class:"x-mask-toolbar",align:"center"},{default:e.withCtx(()=>[e.createVNode(e.unref(R),{icon:e.unref(V.MoreFilled),menus:l.value,dropdown:{size:"small"},mode:"icon",circle:"",background:"hover",onCommand:c},{item:e.withCtx(({item:p})=>[e.createElementVNode("span",Ot,[e.createTextVNode(e.toDisplayString(p.label)+" ",1),["other","all"].includes(p.command)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(A),{key:0,onClick:e.withModifiers(g=>r(p),["stop"]),icon:e.unref(V.Close)},null,8,["onClick","icon"]))])]),_:1},8,["icon","menus"]),e.createVNode(e.unref(f.ElDivider),{direction:"vertical"}),t.actions?(e.openBlock(),e.createBlock(e.unref(oe),{key:0,circle:"",mode:"icon",size:"default",background:"hover",items:d.actions,onClick:s,onCommand:i},null,8,["items"])):e.createCommentVNode("",!0),t.actions?(e.openBlock(),e.createBlock(e.unref(f.ElDivider),{key:1,direction:"vertical"})):e.createCommentVNode("",!0),t.theme?(e.openBlock(),e.createBlock(jt,{key:2})):e.createCommentVNode("",!0),t.theme?(e.openBlock(),e.createBlock(e.unref(f.ElDivider),{key:3,direction:"vertical"})):e.createCommentVNode("",!0),e.renderSlot(d.$slots,"default")]),_:3}))}}),At=e.defineComponent({__name:"Avatar",props:{avatar:{}},setup(a){const n=a;return(t,o)=>(e.openBlock(),e.createBlock(e.unref(f.ElPopover),{width:200,"popper-class":"x-mask-avatar__popper",disabled:!t.$slots.default},{reference:e.withCtx(()=>[e.createVNode(e.unref(f.ElAvatar),{class:"x-mask-avatar",shape:"circle",icon:e.unref(V.UserFilled),src:n.avatar,size:26},null,8,["icon","src"])]),default:e.withCtx(()=>[t.$slots.default?e.renderSlot(t.$slots,"default",{key:0}):e.createCommentVNode("",!0)]),_:3},8,["disabled"]))}}),_e=e.defineComponent({__name:"Content",props:{createView:{type:Function},exclude:{}},setup(a){const n=a;return(t,o)=>(e.openBlock(),e.createBlock(e.unref(x),{class:"x-mask__content",flex:!1,grow:"",padding:!1},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default"),e.createVNode(e.unref(H.RouterView),null,{default:e.withCtx(({Component:l,route:r})=>[(e.openBlock(),e.createBlock(e.KeepAlive,{exclude:n.exclude},[l?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.createView(l,r)),{key:r.fullPath})):e.createCommentVNode("",!0)],1032,["exclude"]))]),_:1})]),_:3}))}});function Lt(){const a=e.ref(!1),n=e.ref(""),t=e.ref(!1);return{collapsed:a,keyword:n,favorite:t}}function Xt(a){const n=E.uid();return e.computed(()=>{const t=a.home;return Object.assign({id:n,url:"/",name:"MaskHome",icon:V.HomeFilled,closable:!1},typeof t=="string"?{url:t}:t||{})})}function Ie(a,n){let t=[];return a.forEach(o=>{o=n?n(o):o,o.children?t=t.concat(Ie(o.children,n)):t.push(o)}),t}function Ut(a,n){const t=H.useRouter(),o=e.shallowRef([]),l=e.shallowRef([]),r=e.computed(()=>Ie(o.value,a.menuAdapter)),c=e.computed(()=>E.arrayToMap(r.value,"id")),s=e.ref(null),i=m=>{const k=typeof m=="object"?m.id:m,y=c.value.get(k);if(!y){console.warn("找不到菜单",m);return}const{type:w="route",url:B,title:b,icon:S}=y;if(!B){s.value=y,n("select",y);return}if(w==="route"){E.isUrl(B)||B.startsWith("//")?window.open(B):(s.value=y,t.push(B).catch(_=>_));return}if(w==="window"){window.open(B);return}w==="dialog"&&ne({resizable:!0,bodyPadding:!1,width:"80%",height:"80%",title:b,icon:S,src:B})},d=async()=>{o.value=typeof a.menus=="function"?await a.menus()||[]:a.menus??[],l.value=typeof a.favorites=="function"?await a.favorites()||[]:a.favorites??[]},u=m=>{l.value=[m,...l.value],a.addFavorite&&a.addFavorite(m)},p=m=>{l.value=l.value.filter(k=>k.id!==m.id),a.removeFavorite&&a.removeFavorite(m)},g=m=>!!l.value.find(k=>k===m||k.id===m.id),h=m=>{g(m)?p(m):u(m)};return e.watchEffect(d),{menus:o,favorites:l,flatMenus:r,active:s,select:i,toggleFavorite:h}}function Ht(a,n,t,o,l){const r=H.useRoute(),c=H.useRouter(),s={},i=e.ref([]),d=e.ref(),{width:u}=j.useElementSize(d),p=e.computed(()=>Math.floor(u.value/De)),g=e.computed(()=>i.value.slice(0,p.value).filter(C=>!C.dialog)),h=e.computed(()=>i.value.slice(p.value)),m=C=>t.value.find(N=>N.url===C),k=C=>r.fullPath===C.url,y=C=>l.value.id===C?l.value:i.value.find(N=>N.id===C),w=e.ref(""),B=e.computed(()=>y(w.value)),b=C=>{c.push(C.url).catch(N=>N)},S=C=>{w.value=C.id,r.fullPath!==C.url&&b(C)},_=()=>{b(l.value)},z=C=>{const N=i.value.find($=>$.url===C.url||$.id===C.id);N?S(N):(i.value.unshift(C),S(C))},v=async C=>{const{url:N=r.fullPath,icon:$,title:G="新建标签页"}=C||{},Z=s[N],ae=E.uid(),re=E.upperFirstCamelCase(N);return{id:ae,name:re,url:N,icon:$,title:G,closable:!0,menu:C,...Z?await Z():{}}},P=async C=>{if(await f.ElMessageBox.confirm("是否关闭页签","提示",{type:"warning"}).catch(()=>!1)){if(i.value=i.value.filter($=>$.id!==C.id),w.value===C.id){const $=i.value[0];b($||l.value)}return C}},D=C=>{const N=i.value.findIndex($=>$.id===C.id);if(N>=0){const $=i.value[N];i.value.splice(N,1,Object.assign($,C))}},L=async()=>{if(!await f.ElMessageBox.confirm("是否关闭全部页签","提示",{type:"warning"}).catch(()=>!1))return;const N=i.value;return i.value=[],S(l.value),N},M=async()=>{if(!await f.ElMessageBox.confirm("是否关闭其他页签","提示",{type:"warning"}).catch(()=>!1))return;const N=i.value.filter($=>$.id!==w.value);return i.value=i.value.filter($=>$.id===w.value),N},O=C=>{const N=i.value.filter($=>$.id!==C.id);i.value=[C,...N],S(C)},X=async()=>{await e.nextTick();const C=l.value.url===r.fullPath,N=m(r.fullPath);if(C)w.value=l.value.id;else{const $=await v(N);z($)}await e.nextTick(),o.value=N||null};return e.watch(t,X),e.watch(r,X,{immediate:!0}),e.provide(fe,s),{tabRef:d,tabs:i,showTabs:g,currentTab:B,changeTab:b,removeTab:P,updateTab:D,addTab:z,home:l,tabValue:w,isCurrentTab:k,activeHome:_,activeTab:S,dropdownTabs:h,removeAllTabs:L,removeOtherTabs:M,moveToShow:O}}function Kt(a){const n=new Map,t=e.ref([]),o=e.reactive({}),l=e.getCurrentInstance(),r={},{updateTab:c,isCurrentTab:s,activeHome:i,tabs:d}=a,u=(b,S)=>{const _=S.fullPath;if(n.has(_))return n.get(_);{const z=E.upperFirstCamelCase(_),v={name:z,setup(){const P=e.computed(()=>o[_]||document.body),D=e.computed(()=>!o[_]),L=e.computed(()=>!t.value.includes(z));return e.provide(H.routeLocationKey,e.toRaw({...S})),()=>L.value?e.h(e.Teleport,{to:P.value,disabled:D.value},[e.h(b)]):null}};return n.set(_,v),v}},p=b=>{b.dialog=void 0,delete o[b.url];const S=r[b.id];S&&(S.destroy(),delete r[b.id],c(b))},g=(b=[])=>{b.forEach(S=>{p(S)})},h=async b=>{b.dialog={...b.dialog,onMinimized:()=>{p(b)},onClose:async()=>{p(b),d.value=d.value.filter(_=>_.id!==b.id)}},c(b);const S=ne({title:b.title,icon:b.icon,modal:!1,resizable:!0,draggable:!0,maximizable:!0,minimizable:!0,...b.dialog,onOpen(_){o[b.url]=_.refs.panelRef?.bodyRef?.$el}},l?.appContext);return await e.nextTick(),s(b)&&i(),r[b.id]=S,S},m=async b=>{t.value=[b.name],await e.nextTick(),t.value=[]},k=async b=>{t.value=b.map(S=>S.name),await e.nextTick(),t.value=[]},y=b=>(b.preventDefault(),!1),w=b=>{if(b.dataTransfer){const S=b.dataTransfer.getData("tab"),_=d.value.find(z=>z.id===S);if(_){const{clientX:z,clientY:v}=b;_.dialog={left:z,top:v},h(_)}}},B=b=>!!o[b];return j.useEventListener(document,"dragover",y),j.useEventListener(document,"drop",w),{createView:u,openDialog:h,refresh:m,exclude:t,cleanCache:k,hasDialog:B,closeDialog:p,closeDialogs:g}}const Wt=e.defineComponent({name:"XMask",__name:"Mask",props:Me,emits:["select","actionClick","actionCommand"],setup(a,{emit:n}){const t=a,o=n,l=Xt(t),{collapsed:r,keyword:c,favorite:s}=Lt(),{menus:i,favorites:d,flatMenus:u,active:p,select:g,toggleFavorite:h}=Ut(t,o),{tabRef:m,showTabs:k,currentTab:y,changeTab:w,removeTab:B,tabs:b,updateTab:S,isCurrentTab:_,activeHome:z,removeAllTabs:v,removeOtherTabs:P,dropdownTabs:D,moveToShow:L}=Ht(t,o,u,p,l),{createView:M,openDialog:O,refresh:X,exclude:C,cleanCache:N,closeDialogs:$}=Kt({tabs:b,updateTab:S,isCurrentTab:_,activeHome:z}),G=async T=>{await B(T)&&await N([T])},Z=async()=>{const T=await v();T&&($(T),await N(T))},ae=async()=>{const T=await P();T&&($(T),await N(T))},re=T=>{o("actionClick",T)},qe=(T,F)=>{o("actionCommand",T,F)};return e.provide(ge,{tabs:b,flatMenus:u,favorites:d,updateTab:S,active:p,currentTab:y}),(T,F)=>(e.openBlock(),e.createBlock(e.unref(x),{class:e.normalizeClass(["x-mask",{"is-disabled":t.disabled}]),fit:""},{default:e.withCtx(()=>[t.disabled?(e.openBlock(),e.createBlock(_e,{key:1,createView:e.unref(M),exclude:e.unref(C)},{default:e.withCtx(()=>[T.$slots.default?e.renderSlot(T.$slots,"default",{key:0}):e.createCommentVNode("",!0)]),_:3},8,["createView","exclude"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(St,{collapsed:e.unref(r)},{brand:e.withCtx(()=>[e.createVNode(zt,{logo:t.logo,title:t.title,url:e.unref(l).url,collapsed:e.unref(r)},null,8,["logo","title","url","collapsed"])]),default:e.withCtx(()=>[e.createVNode(Vt,{collasped:e.unref(r),"onUpdate:collasped":F[0]||(F[0]=Y=>e.isRef(r)?r.value=Y:null),favorite:e.unref(s),"onUpdate:favorite":F[1]||(F[1]=Y=>e.isRef(s)?s.value=Y:null),keyword:e.unref(c),"onUpdate:keyword":F[2]||(F[2]=Y=>e.isRef(c)?c.value=Y:null)},null,8,["collasped","favorite","keyword"]),e.createVNode($t,{collapse:e.unref(r),keyword:e.unref(c),favorite:e.unref(s),favorites:e.unref(d),flatMenus:e.unref(u),menus:e.unref(i),active:e.unref(p),onSelect:e.unref(g)},null,8,["collapse","keyword","favorite","favorites","flatMenus","menus","active","onSelect"])]),_:1},8,["collapsed"]),e.createVNode(e.unref(x),{class:"x-mask__main",grow:"",shrink:"",flex:"",direction:"column"},{default:e.withCtx(()=>[e.createVNode(e.unref(x),{class:"x-mask-topbar",justify:"space-between",align:"center"},{default:e.withCtx(()=>[e.createVNode(Rt,{ref_key:"tabRef",ref:m,favorites:e.unref(d),tabs:e.unref(k),home:e.unref(l),value:e.unref(y)?.id,onClick:e.unref(w),onToggleFavorite:e.unref(h),onRemove:G,onDialog:e.unref(O),onRefresh:e.unref(X)},null,8,["favorites","tabs","home","value","onClick","onToggleFavorite","onDialog","onRefresh"]),e.createVNode(Ft,{tabs:e.unref(D),actions:t.actions,theme:t.theme,onCloseOtherTabs:ae,onCloseAllTabs:Z,onCloseTab:G,onClickTab:e.unref(L),onActionClick:re,onActionCommand:qe},{default:e.withCtx(()=>[e.createVNode(At,{avatar:t.avatar},e.createSlots({_:2},[T.$slots.user?{name:"default",fn:e.withCtx(()=>[e.renderSlot(T.$slots,"user")]),key:"0"}:void 0]),1032,["avatar"])]),_:3},8,["tabs","actions","theme","onClickTab"])]),_:3}),e.createVNode(_e,{createView:e.unref(M),exclude:e.unref(C)},{default:e.withCtx(()=>[T.$slots.default?e.renderSlot(T.$slots,"default",{key:0}):e.createCommentVNode("",!0)]),_:3},8,["createView","exclude"])]),_:3})],64))]),_:3},8,["class"]))}});function Yt(a={}){const n=H.useRoute(),t=e.inject(fe,null),o=e.inject(ge,null);if(t){const r=typeof a=="function"?a:async()=>a;t[n.fullPath]=r}return{tab:e.computed(()=>o?o.tabs.value.find(r=>r.url===n.fullPath):null),mask:o}}const qt=e.defineComponent({__name:"SelectEditor",props:{options:{default:()=>[]}},setup(a){const n=a;return(t,o)=>(e.openBlock(),e.createBlock(e.unref(f.ElSelect),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.options,(l,r)=>(e.openBlock(),e.createBlock(e.unref(f.ElOption),e.mergeProps({key:`item_${r}_${l.value}`},l),e.createSlots({_:2},[t.$slots.option?{name:"default",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"option",{option:l})]),key:"0"}:void 0]),1040))),128))]),_:3},16))}}),Jt=e.defineComponent({__name:"CheckboxEditor",props:{options:{default:()=>[]},button:{type:Boolean,default:!1}},setup(a){const n=a,t=e.computed(()=>e.markRaw(n.button?f.ElCheckboxButton:f.ElCheckbox));return(o,l)=>(e.openBlock(),e.createBlock(e.unref(f.ElCheckboxGroup),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.options,(r,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.value),{key:`item_${c}_${r.value}`,label:r.label,value:r.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.label),1)]),_:2},1032,["label","value"]))),128))]),_:1},16))}}),Gt=e.defineComponent({__name:"RadioEditor",props:{options:{default:()=>[]},button:{type:Boolean,default:!1}},setup(a){const n=a,t=e.computed(()=>e.markRaw(n.button?f.ElRadioButton:f.ElRadio));return(o,l)=>(e.openBlock(),e.createBlock(e.unref(f.ElRadioGroup),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.options,(r,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.value),{key:`item_${c}_${r.value}`,label:r.label,value:r.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.label),1)]),_:2},1032,["label","value"]))),128))]),_:1},16))}}),he={none:{component:"div",props:{class:"x-field-none"}},text:{component:f.ElInput,props:{clearable:!0},defaultValue:""},textarea:{component:f.ElInput,props:{type:"textarea",rows:2},defaultValue:""},select:{component:qt,props:{clearable:!0}},checkbox:{component:Jt,props:{},defaultValue:[]},radio:{component:Gt,props:{}},number:{component:f.ElInputNumber,props:{}},date:{component:f.ElDatePicker,props:{}},time:{component:f.ElTimePicker,props:{}},datetime:{component:f.ElDatePicker,props:{type:"datetime"}},switch:{component:f.ElSwitch,props:{}},rate:{component:f.ElRate,props:{}},slider:{component:f.ElSlider,props:{}},cascader:{component:f.ElCascader,props:{}}},Re={name:{type:String},label:{type:String},editor:{type:[String,Object],default:"text"},props:{type:Object},modelValue:{type:[String,Number,Boolean,Object,Array],default(a){return he[a.editor]?.defaultValue}},size:{type:String},width:{type:[String,Number]},tooltipMessage:{type:[Boolean,Object],default:!0},tooltipPosition:{type:[String,Number],default:"outer"},placeholder:{type:String},disabled:{type:Boolean},readonly:{type:Boolean},options:{type:[Array,Function]},visible:{type:[Boolean,Object,Function],default:!0},cascader:{type:[String,Array]},error:{type:String},tip:{type:String},inline:{type:Boolean}};async function Zt(a,n){const t=a.options;return t?typeof t=="function"?await t(n)||[]:t:[]}function Qt(a,n,t,o,l){const r=e.ref([]),c=e.computed(()=>!o||!l?{}:E.toArray(a.cascader).reduce((d,u)=>(d[u]=E.get(l,u),d),{}));return e.watch(c,async i=>{if(t.value){r.value=await Zt(a,i);const d=o?.exposed?.reset;d&&a.name&&d(a.name)}},{immediate:!0}),{editor:e.computed(()=>{const{editor:i="text",placeholder:d,label:u="...",disabled:p,readonly:g}=a,h={...a.props,placeholder:d||(d===null?void 0:`请输入${u}`),disabled:p,readonly:g,options:r.value,onFocus:()=>n("focus"),onBlur:()=>n("blur"),onChange:k=>n("change",k)},m=typeof i=="string"?he[i]:{component:i,props:{}};return E.merge({},m,{props:h})})}}const eo={key:1,class:"el-form-item__error"},to={key:0,class:"x-field__tip"},je=e.defineComponent({name:"XField",__name:"Field",props:Re,emits:["update:modelValue","change","focus","blur"],setup(a,{expose:n,emit:t}){const o=a,l=t,r=e.inject(ye,null),c=e.inject(f.formContextKey,null),s=e.inject(ve,null),i=e.computed(()=>!r?.proxy||!s?o.visible:typeof o.visible=="function"?o.visible(s):E.isObject(o.visible)?Object.entries(o.visible).every(([P,D])=>E.get(s,P)===D):o.visible),d=()=>r?.proxy&&s&&o.name?E.get(s,o.name)??o.modelValue:o.modelValue,u=e.ref(d()),{editor:p}=Qt(o,l,i,r,s),g=e.ref(),h=e.ref(),m=e.computed(()=>o.size||c?.size||"default"),k=e.computed(()=>Object.assign({},r?.props.tooltipMessage||{},typeof o.tooltipMessage=="boolean"?{}:o.tooltipMessage)),y=(v="")=>o.error?o.error:v.includes("is required")?`${o.label||o.name}是必填项!`:v,w=e.computed(()=>{const v=r?.props.tooltipMessage??o.tooltipMessage;return{[`is-tooltip-${o.tooltipPosition}`]:!!v&&!!o.tooltipPosition}}),B=e.computed(()=>{const v=r?.proxy;return{width:o.width?I(o.width):v&&v.inline&&v.inlineColumns?`${100/v.inlineColumns}%`:null}}),b=e.computed(()=>({right:typeof o.tooltipPosition=="number"?`${o.tooltipPosition}px`:void 0})),S=e.computed(()=>({...p.value.props,modelValue:u.value,"onUpdate:modelValue":v=>{u.value=v}}));return e.watch(u,(v,P)=>{i.value&&!E.isEqual(v,P)&&(l("update:modelValue",v),r?.proxy&&s&&o.name&&E.set(s,o.name,v))}),e.watch(()=>!r?.proxy||!o.name||!s?o.modelValue:E.get(s,o.name)??o.modelValue,v=>{i.value&&(u.value=v)},{immediate:!0}),e.watch(i,v=>{r?.proxy&&s&&o.name&&(v?(u.value=d(),E.set(s,o.name,u.value)):(u.value=void 0,E.set(s,o.name,void 0)))},{immediate:!0}),n({fieldValue:u,itemRef:g,editorRef:h,focus:()=>{h.value?.focus&&h.value.focus()},blur:()=>{h.value?.foucs&&h.value.blur()}}),(v,P)=>i.value?(e.openBlock(),e.createBlock(e.unref(f.ElFormItem),e.mergeProps({key:0,class:["x-field",w.value],ref_key:"itemRef",ref:g,prop:o.name,label:v.label,size:m.value,style:B.value},v.$attrs),e.createSlots({error:e.withCtx(({error:D})=>[e.renderSlot(v.$slots,"error",{error:D},()=>[e.unref(r)?.props.tooltipMessage??o.tooltipMessage?(e.openBlock(),e.createElementBlock("div",{key:0,class:"x-field__info",style:e.normalizeStyle(b.value)},[e.createVNode(e.unref(f.ElTooltip),e.mergeProps({content:y(D)},k.value),{default:e.withCtx(()=>[e.createVNode(e.unref(A),{class:"x-field__trigger",icon:e.unref(V.WarningFilled),size:m.value},null,8,["icon","size"])]),_:2},1040,["content"])],4)):(e.openBlock(),e.createElementBlock("div",eo,e.toDisplayString(y(D)),1))])]),default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["x-field__editor_wrap",{"is-inline":o.inline}])},[e.renderSlot(v.$slots,"editor",{editor:S.value},()=>[e.unref(p).component?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(p).component),e.mergeProps({key:0,class:"x-field__editor",ref_key:"editorRef",ref:h,modelValue:u.value,"onUpdate:modelValue":P[0]||(P[0]=D=>u.value=D)},e.unref(p).props),e.createSlots({_:2},[v.$slots.option?{name:"option",fn:e.withCtx(({option:D})=>[e.renderSlot(v.$slots,"option",{option:D})]),key:"0"}:void 0]),1040,["modelValue"])):e.createCommentVNode("",!0)]),o.tip||v.$slots.tip?(e.openBlock(),e.createElementBlock("div",to,[e.renderSlot(v.$slots,"tip",{},()=>[e.createTextVNode(e.toDisplayString(o.tip),1)])])):e.createCommentVNode("",!0)],2),e.renderSlot(v.$slots,"default")]),_:2},[v.$slots.label?{name:"label",fn:e.withCtx(()=>[e.renderSlot(v.$slots,"label")]),key:"0"}:void 0]),1040,["prop","label","size","class","style"])):e.createCommentVNode("",!0)}}),Oe={model:{type:Object,default(){return Object.create(null)}},inline:{type:Boolean},inlineColumns:{type:Number},footer:{type:Boolean,default:!0},submitText:{type:String,default:"提交"},resetText:{type:String,default:"重置"},submitMethod:{type:Function},tooltipMessage:{type:[Object,Boolean],default:void 0}},ye=Symbol("formInstanceKey"),ve=Symbol("formModelKey"),Fe=e.defineComponent({name:"XForm",__name:"Form",props:Oe,emits:["change","submit","reset"],setup(a,{expose:n,emit:t}){const o=a,l=t,r=e.getCurrentInstance(),c=e.ref(),s=e.reactive(o.model||{}),i=e.ref(!1);e.provide(ye,r),e.provide(ve,s),e.watch(()=>o.model,p=>{Object.assign(s,p)},{deep:!0}),e.watch(s,()=>{l("change",e.toRaw(s))});const d=async()=>{await c.value.validate().catch(()=>!1)&&(l("submit",e.toRaw(s)),o.submitMethod&&(i.value=!0,await o.submitMethod(e.toRaw(s)),i.value=!1))},u=p=>{c.value.resetFields(p),l("reset")};return n({formRef:c,model:s,submit:d,reset:u}),(p,g)=>(e.openBlock(),e.createBlock(e.unref(f.ElForm),e.mergeProps({ref_key:"formRef",ref:c,class:"x-form",inline:o.inline,model:s,onKeyup:e.withKeys(d,["enter"]),onSubmit:g[1]||(g[1]=e.withModifiers(()=>{},["stop","prevent"]))},p.$attrs),{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default"),o.footer?(e.openBlock(),e.createBlock(e.unref(je),{key:0,editor:"none",class:"x-form__footer",label:" "},{editor:e.withCtx(()=>[e.renderSlot(p.$slots,"footer",{},()=>[o.submitText?(e.openBlock(),e.createBlock(e.unref(f.ElButton),{key:0,loading:i.value,type:"primary",onClick:d},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.submitText),1)]),_:1},8,["loading"])):e.createCommentVNode("",!0),o.resetText?(e.openBlock(),e.createBlock(e.unref(f.ElButton),{key:1,type:"default",onClick:g[0]||(g[0]=()=>u())},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.resetText),1)]),_:1})):e.createCommentVNode("",!0),e.renderSlot(p.$slots,"action")])]),_:3})):e.createCommentVNode("",!0)]),_:3},16,["inline","model"]))}}),Ae={modelValue:{type:Boolean,default:!0},size:{type:String},formProps:{type:Object},submit:{type:[Boolean,String],default:"确定"},cancel:{type:[Boolean,String],default:"取消"},model:{type:Object,default(){return Object.create(null)}},rules:{type:Object},submitMethod:{type:Function}},oo=e.defineComponent({name:"XDialogForm",__name:"DialogForm",props:Ae,emits:["update:modelValue","submit","close"],setup(a,{expose:n,emit:t}){const o=a,l=t,r=e.ref(),c=e.ref(),s=e.computed(()=>c.value?.$vtjEl),i=()=>{r.value?.submit()},d=()=>{l("update:modelValue",!1),l("close")},u=async h=>{l("submit",h),o.submitMethod?await o.submitMethod(h)&&d():d()},p=e.computed(()=>o.formProps?.disabled?!1:o.submit),g=e.computed(()=>o.formProps?.disabled?!1:o.cancel);return n({$vtjEl:s,formRef:r,dialogRef:c}),(h,m)=>(e.openBlock(),e.createBlock(e.unref(me),e.mergeProps({ref_key:"dialogRef",ref:c,class:"x-dialog-form","model-value":o.modelValue,submit:p.value,cancel:g.value,size:o.size,onSubmit:i,onClose:d,minimizable:!1,maximizable:!1},h.$attrs),e.createSlots({default:e.withCtx(()=>[e.createVNode(e.unref(Fe),e.mergeProps({ref_key:"formRef",ref:r,class:"x-dialog-form__form",footer:!1,"label-width":"80px",size:o.size,model:o.model,rules:o.rules,"submit-method":u},o.formProps),{default:e.withCtx(()=>[e.renderSlot(h.$slots,"default")]),_:3},16,["size","model","rules"])]),_:2},[h.$slots.extra?{name:"extra",fn:e.withCtx(()=>[e.renderSlot(h.$slots,"extra")]),key:"0"}:void 0,h.$slots.handle?{name:"handle",fn:e.withCtx(()=>[e.renderSlot(h.$slots,"handle")]),key:"1"}:void 0,h.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(h.$slots,"footer")]),key:"2"}:void 0]),1040,["model-value","submit","cancel","size"]))}}),Le={items:{type:Array,default(){return[]}},border:{type:Boolean},fit:{type:Boolean},align:{type:String}},no={class:"x-tabs__label-inner"},ao={key:0,class:"x-tabs__actions"},ro=e.defineComponent({name:"XTabs",__name:"Tabs",props:Le,emits:["actionClick","actionCommand"],setup(a,{emit:n}){const t=a,o=n,l=i=>{const{label:d,name:u,value:p,disabled:g,closable:h,lazy:m}=i;return{label:d,name:p??u,disabled:g,closable:h,lazy:m}},r=e.computed(()=>({"is-no-border":!t.border,"is-fit":!!t.fit,[`is-align-${t.align}`]:!!t.align})),c=i=>{o("actionClick",i)},s=i=>{o("actionCommand",i)};return(i,d)=>(e.openBlock(),e.createBlock(e.unref(f.ElTabs),e.mergeProps({class:["x-tabs",r.value]},i.$attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,u=>(e.openBlock(),e.createBlock(e.unref(f.ElTabPane),e.mergeProps({key:u.value??u.name},l(u)),{label:e.withCtx(()=>[e.renderSlot(i.$slots,"label",e.normalizeProps(e.guardReactiveProps(u)),()=>[u.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(K)(u.icon)),{key:0,class:"x-tabs__icon"})):e.createCommentVNode("",!0),e.createElementVNode("div",no,[e.createTextVNode(e.toDisplayString(u.label)+" ",1),u.actions&&[u.name,u.value].includes(i.$attrs.modelValue)?(e.openBlock(),e.createElementBlock("div",ao,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.actions,p=>(e.openBlock(),e.createBlock(e.unref(R),e.mergeProps({mode:"icon",type:"primary",size:"small",circle:""},p,{onClick:c,onCommand:s}),null,16))),256))])):e.createCommentVNode("",!0)])])]),default:e.withCtx(()=>[e.renderSlot(i.$slots,"default",e.normalizeProps(e.guardReactiveProps(u)),()=>[u.component?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.component),e.normalizeProps(e.mergeProps({key:0},u.props)),null,16)):e.createCommentVNode("",!0)])]),_:2},1040))),128))]),_:3},16,["class"]))}}),Xe={direction:{type:String,default:"column"},imageSrc:{type:String},imageWidth:{type:[Number,String]},imageHeight:{type:[Number,String]},icon:{type:[String,Object]},title:{type:String},description:{type:String},actions:{type:Array},actionBarProps:{type:Object},split:{type:Boolean},onImageClick:{type:Function},onTitleClick:{type:Function}},lo={class:"x-data-item__title"},io={key:1,class:"x-data-item__section x-data-item__desc"},so={key:2,class:"x-data-item__section x-data-item__extra"},co={key:3,class:"x-data-item__section x-data-item__actions"},uo=e.defineComponent({name:"XDataItem",__name:"DataItem",props:Xe,emits:["imageClick","titleClick","actionClick","actionCommand"],setup(a,{emit:n}){const t=a,o=n,l=e.computed(()=>{const{imageWidth:p,imageHeight:g}=t;return{width:p?I(p):void 0,height:g?I(g):void 0}}),r=e.computed(()=>({[`is-image-${t.direction}`]:!!t.direction,"is-split":!!t.split})),c=e.computed(()=>({size:"small",mode:"text",justify:"flex-end",type:"info",items:t.actions,...t.actionBarProps})),s=()=>o("imageClick"),i=()=>o("titleClick"),d=p=>o("actionClick",p),u=(p,g)=>o("actionCommand",p,g);return(p,g)=>(e.openBlock(),e.createBlock(e.unref(x),{class:e.normalizeClass(["x-data-item",r.value]),direction:t.direction},{default:e.withCtx(()=>[t.imageSrc||p.$slots.image?(e.openBlock(),e.createBlock(e.unref(x),{key:0,class:"x-data-item__img",autoPointer:!0,onClick:t.onImageClick?s:void 0},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"image",{},()=>[t.imageSrc?(e.openBlock(),e.createBlock(e.unref(f.ElImage),{key:0,style:e.normalizeStyle(l.value),src:t.imageSrc},null,8,["style","src"])):e.createCommentVNode("",!0)])]),_:3},8,["onClick"])):e.createCommentVNode("",!0),e.createVNode(e.unref(x),{class:"x-data-item__content",direction:"column",grow:"",shrink:""},{default:e.withCtx(()=>[t.title||p.$slots.title?(e.openBlock(),e.createBlock(e.unref(x),{key:0,class:"x-data-item__section x-data-item__wrapper",align:"center",autoPointer:!0,onClick:t.onTitleClick?i:void 0},{default:e.withCtx(()=>[t.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(K)(t.icon)),{key:0,class:"x-data-item__icon"})):e.createCommentVNode("",!0),e.createElementVNode("span",lo,[e.renderSlot(p.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])])]),_:3},8,["onClick"])):e.createCommentVNode("",!0),t.description||p.$slots.description?(e.openBlock(),e.createElementBlock("div",io,[e.renderSlot(p.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(t.description),1)])])):e.createCommentVNode("",!0),p.$slots.default?(e.openBlock(),e.createElementBlock("div",so,[e.renderSlot(p.$slots,"default")])):e.createCommentVNode("",!0),t.actions||t.actionBarProps||p.$slots.actions?(e.openBlock(),e.createElementBlock("div",co,[e.renderSlot(p.$slots,"actions",{},()=>[e.createVNode(e.unref(oe),e.mergeProps(c.value,{onClick:d,onCommand:u}),null,16)])])):e.createCommentVNode("",!0)]),_:3})]),_:3},8,["direction","class"]))}}),Ue={option:{type:Object},width:{type:[Number,String],default:"100%"},height:{type:[Number,String],default:"400px"}};function po(){return import("echarts")}function mo(a,n){const t=e.ref(),o=e.shallowRef();return e.onMounted(async()=>{o.value=await po();const l=e.unref(a);l&&(t.value||(t.value=e.markRaw(o.value.init(l))),t.value&&t.value.setOption(n.option||{}))}),e.onUnmounted(()=>{t.value&&t.value.dispose()}),e.watch(()=>n.option,l=>{t.value&&t.value.setOption(l||{})},{deep:!0}),j.useResizeObserver(a,E.debounce(()=>{t.value&&t.value.resize()},150)),{echartsInstance:t,echarts:o}}const fo=e.defineComponent({name:"XChart",__name:"Chart",props:Ue,setup(a,{expose:n}){const t=a,o=e.ref(),{echartsInstance:l,echarts:r}=mo(o,t),c=e.computed(()=>({width:I(t.width),height:I(t.height)}));return n({chartRef:o,echartsInstance:l,echarts:r}),(s,i)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"chartRef",ref:o,style:e.normalizeStyle(c.value)},null,4))}}),He={data:{type:[Object,Function],default(){return[]}},itemHeight:{type:[Number,Function]},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},pager:{type:[Boolean,Object]},page:{type:Number,default:1},pageSize:{type:Number,default:10},dataKey:{type:String},infiniteScroll:{type:[Boolean,Object]}},go={key:0,class:"x-list__loading"},ho={key:1,class:"x-list__nomore"},yo={key:0,class:"x-list__loading"},vo={key:1,class:"x-list__nomore"},ko={key:1,class:"x-list__pager"},bo=e.defineComponent({name:"XList",__name:"List",props:He,emits:["load"],setup(a,{expose:n,emit:t}){const o=a,l=t,r=e.reactive({page:o.page,pageSize:o.pageSize});e.watchEffect(()=>{const{page:_,pageSize:z}=o;Object.assign(r,{page:_,pageSize:z})});const{data:c,loading:s}=Se(o.data,{list:[],total:0},r),i=e.computed(()=>Math.ceil((c.value.total||0)/r.pageSize)),d=e.ref(!1),u=e.ref(),p=e.computed(()=>({width:I(o.width),height:I(o.height)})),g=e.computed(()=>({"is-virtual":!!o.itemHeight})),h=e.computed(()=>{const _={};for(let[z,v]of Object.entries(ie(o.infiniteScroll)))_[`infinite-scroll-${z}`]=v;return(s.value||d.value)&&(_["infinite-scroll-disabled"]=!0),_}),m=e.computed(()=>ie(o.pager,{})),{list:k,containerProps:y,wrapperProps:w,scrollTo:B}=j.useVirtualList(e.computed(()=>c.value.list),{itemHeight:o.itemHeight||0}),b=()=>{!o.infiniteScroll||d.value||(r.page<i.value?(++r.page,l("load",r)):d.value=!0)},S=_=>o.dataKey?_[o.dataKey]:void 0;return n({list:k,scrollTo:B,wrapperRef:u,loading:s,state:r,pageCount:i,nomore:d,data:c,getKey:S}),(_,z)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-list",g.value]),style:e.normalizeStyle(p.value)},[!e.unref(c).total&&!e.unref(s)?e.renderSlot(_.$slots,"empty",{key:0},()=>[e.createVNode(e.unref(f.ElEmpty))]):e.createCommentVNode("",!0),e.createElementVNode("div",e.mergeProps({class:"x-list__content"},e.unref(y)),[o.itemHeight?e.withDirectives((e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0,class:"x-list__wrapper",ref_key:"wrapperRef",ref:u},{...e.unref(w),...h.value}),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(k),(v,P)=>e.renderSlot(_.$slots,"default",e.normalizeProps(e.mergeProps({key:S(v.data)},{item:v.data,index:P})),()=>[e.createElementVNode("div",null,e.toDisplayString(v),1)])),128)),e.unref(s)?(e.openBlock(),e.createElementBlock("div",go,[e.renderSlot(_.$slots,"loading",{},()=>[e.createTextVNode(" 正在加载数据... ")])])):e.createCommentVNode("",!0),d.value?(e.openBlock(),e.createElementBlock("div",ho,[e.renderSlot(_.$slots,"nomore",{},()=>[e.createTextVNode(" 没有更多数据 ")])])):e.createCommentVNode("",!0)],16)),[[e.unref(f.ElInfiniteScroll),b]]):e.withDirectives((e.openBlock(),e.createElementBlock("div",e.mergeProps({key:1,class:"x-list__wrapper"},h.value),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(c).list,(v,P)=>e.renderSlot(_.$slots,"default",e.normalizeProps(e.mergeProps({key:S(v)},{item:v,index:P})),()=>[e.createElementVNode("div",null,e.toDisplayString(v),1)])),128)),e.unref(s)?(e.openBlock(),e.createElementBlock("div",yo,[e.renderSlot(_.$slots,"loading",{},()=>[e.createTextVNode(" 正在加载数据... ")])])):e.createCommentVNode("",!0),d.value?(e.openBlock(),e.createElementBlock("div",vo,[e.renderSlot(_.$slots,"nomore",{},()=>[e.createTextVNode(" 没有更多数据 ")])])):e.createCommentVNode("",!0)],16)),[[e.unref(f.ElInfiniteScroll),b]])],16),o.pager?(e.openBlock(),e.createElementBlock("div",ko,[e.createVNode(e.unref(f.ElPagination),e.mergeProps({small:"",background:"",layout:"prev, pager, next",total:e.unref(c).total,"default-page-size":o.pageSize,"default-current-page":o.page,"current-page":r.page,"onUpdate:currentPage":z[0]||(z[0]=v=>r.page=v),"page-size":r.pageSize,"onUpdate:pageSize":z[1]||(z[1]=v=>r.pageSize=v)},m.value),null,16,["total","default-page-size","default-current-page","current-page","page-size"])])):e.createCommentVNode("",!0)],6))}}),Ke={name:{type:String,default:"VTJ.PRO"},tagline:{type:String,default:"基于 Vue3 + TypeScript 快速打造高生产力的低代码研发平台"},actionText:{type:String,default:"开始设计"},actionLink:{type:String,default:"/@vtj/pro/"}},_o={class:"x-startup"},Co={class:"x-startup__wrapper"},wo={class:"x-startup__name"},xo={class:"clip"},Bo={class:"x-startup__tagline"},So={class:"x-startup__actions"},Vo=e.defineComponent({__name:"Startup",props:Ke,setup(a){const n=a,t=()=>{if(typeof window<"u"){let l=(window.__VTJ_LINK__||{}).href||window.location.pathname+"@vtj/pro/#/";window.location.href=l}};return(o,l)=>(e.openBlock(),e.createElementBlock("div",_o,[e.createElementVNode("div",Co,[e.createElementVNode("div",wo,[e.createElementVNode("span",xo,e.toDisplayString(n.name),1)]),e.createElementVNode("div",Bo,e.toDisplayString(n.tagline),1),e.createElementVNode("div",So,[e.createVNode(e.unref(f.ElButton),{type:"primary",size:"large",round:"",icon:e.unref(V.EditPen),onClick:t},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.actionText),1)]),_:1},8,["icon"])])])]))}}),We={stringProp:{type:String},booleanProp:{type:Boolean},numberProp:{type:Number},selectProp:{type:String},objectProp:{type:Object},arrayProp:{type:Array},iconProp:{type:String},colorProp:{type:String},modelValue:{type:String},syncProp:{type:String}},No={class:"x-test__slot"},Eo={class:"x-test__slot"},zo=e.defineComponent({name:"XTest",__name:"Test",props:We,emits:["click","submit","change","update:modelValue","update:syncProp"],setup(a,{expose:n,emit:t}){const o=a,l=t,r=e.computed(()=>Object.entries(o)),c=e.computed({get(){return o.modelValue},set(h){l("update:modelValue",h)}}),s=e.computed({get(){return o.syncProp},set(h){l("update:syncProp",h)}}),i=e.ref("default inner data"),d=()=>{f.ElMessage.info({message:"触发click事件"}),l("click",o)},u=()=>{f.ElMessage.info({message:"触发submit事件"}),l("submit",o)},p=h=>{i.value=h,l("change",i.value)},g=()=>{p("user click change:"+Date.now())};return n({click:d,submit:u,data:i,change:p}),(h,m)=>(e.openBlock(),e.createBlock(e.unref(J),{class:"x-test",header:"VTJ 低代码测试组件",border:""},{default:e.withCtx(()=>[e.createVNode(e.unref(f.ElDivider),null,{default:e.withCtx(()=>[e.createTextVNode("内部数据")]),_:1}),e.createVNode(e.unref(x),null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value),1)]),_:1}),e.createVNode(e.unref(f.ElDivider),null,{default:e.withCtx(()=>[e.createTextVNode("属性")]),_:1}),e.createVNode(e.unref(f.ElDescriptions),{column:3,border:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,([k,y])=>(e.openBlock(),e.createBlock(e.unref(f.ElDescriptionsItem),{label:k},{default:e.withCtx(()=>[e.createElementVNode("pre",null,e.toDisplayString(JSON.stringify(y,null,2)),1)]),_:2},1032,["label"]))),256))]),_:1}),e.createVNode(e.unref(f.ElDivider),null,{default:e.withCtx(()=>[e.createTextVNode("插槽")]),_:1}),e.createVNode(e.unref(x),{justify:"space-around",flex:"",gap:""},{default:e.withCtx(()=>[e.createVNode(e.unref(J),{header:"default",grow:"",card:""},{default:e.withCtx(()=>[e.createElementVNode("div",No,[e.renderSlot(h.$slots,"default",{props:o,data:i.value},()=>[e.createElementVNode("pre",null,e.toDisplayString(JSON.stringify({props:o,data:i.value},null,2)),1)])])]),_:3}),e.createVNode(e.unref(J),{header:"extra",grow:"",card:""},{default:e.withCtx(()=>[e.createElementVNode("div",Eo,[e.renderSlot(h.$slots,"extra",{props:o,data:i.value},()=>[e.createElementVNode("pre",null,e.toDisplayString(JSON.stringify({props:o,data:i.value},null,2)),1)])])]),_:3})]),_:3}),e.createVNode(e.unref(f.ElDivider),null,{default:e.withCtx(()=>[e.createTextVNode("双向绑定")]),_:1}),e.createVNode(e.unref(x),null,{default:e.withCtx(()=>[e.createVNode(e.unref(f.ElDescriptions),{column:2,border:""},{default:e.withCtx(()=>[e.createVNode(e.unref(f.ElDescriptionsItem),{label:"modelValue"},{default:e.withCtx(()=>[e.createVNode(e.unref(f.ElInput),{modelValue:c.value,"onUpdate:modelValue":m[0]||(m[0]=k=>c.value=k)},null,8,["modelValue"])]),_:1}),e.createVNode(e.unref(f.ElDescriptionsItem),{label:"syncProp"},{default:e.withCtx(()=>[e.createVNode(e.unref(f.ElInput),{modelValue:s.value,"onUpdate:modelValue":m[1]||(m[1]=k=>s.value=k)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e.createVNode(e.unref(f.ElDivider),null,{default:e.withCtx(()=>[e.createTextVNode("事件和方法")]),_:1}),e.createVNode(e.unref(x),null,{default:e.withCtx(()=>[e.createVNode(e.unref(f.ElButton),{onClick:d},{default:e.withCtx(()=>[e.createTextVNode("click")]),_:1}),e.createVNode(e.unref(f.ElButton),{onClick:u},{default:e.withCtx(()=>[e.createTextVNode("submit")]),_:1}),e.createVNode(e.unref(f.ElButton),{onClick:g},{default:e.withCtx(()=>[e.createTextVNode("change")]),_:1})]),_:1})]),_:3}))}}),Ye={units:{type:[String,Object,Array]},unit:{type:String},appendWidth:{type:Number,default:100},withUnit:{type:Boolean,default:!0},format:{type:String},modelValue:{type:[String,Number]},selectProps:{type:Object}},$o=e.defineComponent({name:"XInputUnit",__name:"InputUnit",props:Ye,emits:["update:modelValue","update:unit","change","unit-change"],setup(a,{expose:n,emit:t}){const o=a,l=t,r=e.computed(()=>E.toArray(o.units).map(k=>typeof k=="string"?{label:k,value:k}:k)),c=e.computed(()=>{const m=r.value.map(k=>k.value);return o.unit&&m.push(o.unit),E.dedupArray(m)}),s=e.ref(),i=e.ref(),d=m=>o.format&&m?E.numberFormat(Number(m)||0,o.format):m,u=m=>{if(!o.withUnit||typeof m!="string")return{value:d(m),unit:o.unit};for(const k of c.value){const y=new RegExp(`${k}$`);if(y.test(m))return{value:d(m.toString().replace(y,"")),unit:k}}return{value:d(m),unit:o.unit}},p=()=>{const m=d(i.value),k=s.value;return o.withUnit&&m&&k?`${m}${k}`:m};e.watch(()=>o.modelValue,m=>{const{value:k,unit:y}=u(m);s.value=y,i.value=k},{immediate:!0}),e.watch(i,m=>{l("change",m)});const g=async()=>{const{value:m,unit:k}=u(p());i.value=m,s.value=k,l("update:modelValue",p())},h=()=>{l("unit-change",s.value),g()};return n({parser:u,formatValue:d}),(m,k)=>(e.openBlock(),e.createBlock(e.unref(f.ElInput),{modelValue:i.value,"onUpdate:modelValue":k[1]||(k[1]=y=>i.value=y),modelModifiers:{trim:!0},class:"x-input-unit",onChange:g},e.createSlots({_:2},[r.value.length?{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(f.ElSelect),e.mergeProps({class:"x-input-unit__unit",modelValue:s.value,"onUpdate:modelValue":k[0]||(k[0]=y=>s.value=y),size:m.$attrs.size,style:{width:`${o.appendWidth}px`}},m.$props.selectProps,{onChange:h}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,y=>(e.openBlock(),e.createBlock(e.unref(f.ElOption),{key:y.value,label:y.label,value:y.value},null,8,["label","value"]))),128))]),_:1},16,["modelValue","size","style"])]),key:"0"}:{name:"suffix",fn:e.withCtx(()=>[s.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"x-input-unit__unit"},[e.createElementVNode("span",null,e.toDisplayString(s.value),1)])):e.createCommentVNode("",!0)]),key:"1"}]),1032,["modelValue"]))}});exports.Draggable=ce;exports.INSTALLED_KEY=se;exports.MASK_KEY=ge;exports.Resizable=ue;exports.TAB_CREATORS_KEY=fe;exports.TAB_ITEM_WIDTH=De;exports.VTJ_UI_VERSION=nt;exports.XAction=R;exports.XActionBar=oe;exports.XChart=fo;exports.XContainer=x;exports.XDataItem=uo;exports.XDialog=me;exports.XDialogForm=oo;exports.XField=je;exports.XForm=Fe;exports.XHeader=ze;exports.XIcon=A;exports.XInputUnit=$o;exports.XList=bo;exports.XMask=Wt;exports.XMenu=U;exports.XPanel=J;exports.XStartup=Vo;exports.XTabs=ro;exports.XTest=zo;exports.actionBarProps=Ve;exports.actionProps=de;exports.builtinFieldEditors=he;exports.chartProps=Ue;exports.containerProps=Ne;exports.createDialog=ne;exports.dataItemProps=Xe;exports.defineTab=Yt;exports.dialogFormProps=Ae;exports.dialogProps=Pe;exports.fieldProps=Re;exports.formInstanceKey=ye;exports.formModelKey=ve;exports.formProps=Oe;exports.getSizeValue=I;exports.headerProps=Ee;exports.iconProps=we;exports.iconSizeMap=Ce;exports.inputUnitProps=Ye;exports.listProps=He;exports.makeInstaller=at;exports.maskProps=Me;exports.panelProps=$e;exports.parseSize=q;exports.startupProps=Ke;exports.tabsProps=Le;exports.testProps=We;exports.toObjectProps=ie;exports.useDisabled=te;exports.useIcon=K;exports.useIconProps=Be;exports.useLoader=Se;exports.vDraggable=Te;exports.vResizable=pe;