@toolmain/components 1.2.9 → 1.2.11

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/index.d.ts CHANGED
@@ -184,6 +184,11 @@ export declare type AnimateDir = "left" | "top" | "bottom" | "right" | "self" |
184
184
 
185
185
  declare type ArrMutKeys = "splice" | "push" | "pop" | "shift" | "unshift";
186
186
 
187
+ /**
188
+ * 异步回调函数类型
189
+ */
190
+ declare type AsyncCallBackFn = (...arg: any[]) => Promise<void>;
191
+
187
192
  /**
188
193
  * 组件实例数据,包含元数据
189
194
  */
@@ -814,6 +819,12 @@ export declare function getModel(url: string, onProgress?: (progress: LoadProgre
814
819
 
815
820
  export declare function gradientColor(startColorHex: string, endColorHex: string, step: number): Array<string>;
816
821
 
822
+ export declare enum HandleEv {
823
+ AFTER_SHOW = "after_show",
824
+ AFTER_HIDE = "after_hide",
825
+ AFTER_STICK = "after_stick"
826
+ }
827
+
817
828
  /**
818
829
  * translate hex color to rgb color array
819
830
  */
@@ -1442,7 +1453,7 @@ export declare const Spinner: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, Com
1442
1453
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1443
1454
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1444
1455
 
1445
- declare enum Status {
1456
+ export declare enum Status {
1446
1457
  NORMAL = "NORMAL",
1447
1458
  HIDDEN = "HIDDEN"
1448
1459
  }
@@ -1607,6 +1618,29 @@ export declare const useElement: <T extends Record<string, unknown> & VNodeProps
1607
1618
  updateProps: (prop: T) => void;
1608
1619
  };
1609
1620
 
1621
+ export declare const useHandle: (data: {
1622
+ config: Ref<ScaleConfig>;
1623
+ targetEle: Readonly<ShallowRef<HTMLElement | null>>;
1624
+ dragOffset: Reactive<DragOffset>;
1625
+ parent?: HTMLElement;
1626
+ }) => {
1627
+ getTarget: () => HTMLElement | null;
1628
+ setStatus: (s: Status) => void;
1629
+ getStatus: () => Status;
1630
+ show: (animate?: boolean, dir?: AnimateDir) => Promise<void>;
1631
+ autoHide: (animate?: boolean) => Promise<void>;
1632
+ autoStick: (animate?: boolean) => Promise<void>;
1633
+ stickTo: (dir: AnimateDir, animate?: boolean) => Promise<void>;
1634
+ hideTo: (dir: AnimateDir, animate?: boolean) => Promise<void>;
1635
+ moveTo: (animate: boolean | undefined, dir: AnimateDir, hooks?: MoveHook) => Promise<void>;
1636
+ dispose: () => void;
1637
+ registerBeforeHideHook: (hook: AsyncCallBackFn) => void;
1638
+ registerBeforeStickHook: (hook: AsyncCallBackFn) => void;
1639
+ on: (e: HandleEv, cb: CallBackFn) => void;
1640
+ setTargetParent: (targetParent: HTMLElement | null | undefined) => void;
1641
+ getTargetParent: () => HTMLElement;
1642
+ };
1643
+
1610
1644
  export declare function useKeyboard(): {
1611
1645
  ev: EventBus_2< {
1612
1646
  [x: string]: any;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(`*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.i-ep\\:close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M764.288 214.592L512 466.88L259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512L214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ep\\:delete{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ep\\:info-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296c-44.096 0-108.992 44.736-148.48 101.504c0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04c67.84 0 107.904-43.648 147.456-100.416z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ep\\:loading{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ep\\:search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m795.904 750.72l124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704a352 352 0 0 0 0 704'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ic\\:baseline-content-copy{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ic\\:outline-check{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}[i-ep\\:info-filled~="default:"]:default{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296c-44.096 0-108.992 44.736-148.48 101.504c0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04c67.84 0 107.904-43.648 147.456-100.416z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-0,[top~="0"]{top:0}[line-clamp~="1"]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1}.z-100{z-index:100}.grid{display:grid}[rows~="4"]{grid-template-rows:repeat(4,minmax(0,1fr))}.mt-20px{margin-top:20px}.contents{display:contents}.hidden{display:none}.h-100\\%,.h-full{height:100%}.max-h-500px{max-height:500px}.w-100\\%,.w100\\%{width:100%}.w-50\\%{width:50%}.flex{display:flex}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer{cursor:pointer}.resize,[resize=""]{resize:both}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-10px,.gap10px{gap:10px}.gap-1rem{gap:1rem}.gap-5px,.gap5px{gap:5px}.gap3px{gap:3px}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.border,[border=""]{border-width:1px}.hover\\:border-color-\\#1c8bd4:hover{--un-border-opacity:1;border-color:rgb(28 139 212 / var(--un-border-opacity))}.hover\\:border-dashed:hover{border-style:dashed}.hover\\:bg-gray-500:hover{--un-bg-opacity:1;background-color:rgb(107 114 128 / var(--un-bg-opacity))}[stroke-width~="18"]{stroke-width:18px}[stroke-width~="27"]{stroke-width:27px}.p-10px{padding:10px}.p0\\!{padding:0!important}.px,[px=""]{padding-left:1rem;padding-right:1rem}.px-10px{padding-left:10px;padding-right:10px}.px-20px{padding-left:20px;padding-right:20px}.py-10px{padding-top:10px;padding-bottom:10px}.text-12px{font-size:12px}.text-16px{font-size:16px}.text-30px{font-size:30px}.c-\\#000{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.c-\\#fff{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.c-red{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity))}.hover\\:c-\\#1c8bd4:hover{--un-text-opacity:1;color:rgb(28 139 212 / var(--un-text-opacity))}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[duration~="20"]{transition-duration:20ms}.comp-affix .comp-affix-inner[data-v-4c40ccd8]{transition:box-shadow .3s;border-radius:1rem}.comp-affix .comp-affix-inner.fix[data-v-4c40ccd8]{position:fixed;box-shadow:var(--el-box-shadow);background-color:var(--el-card-bg-color)}.p-t[data-v-2dbd22ac],.p-r[data-v-2dbd22ac],.p-b[data-v-2dbd22ac],.p-l[data-v-2dbd22ac],.p-lt[data-v-2dbd22ac],.p-rt[data-v-2dbd22ac],.p-lb[data-v-2dbd22ac],.p-rb[data-v-2dbd22ac]{z-index:var(--dc02cff8);position:absolute}.p-b[data-v-2dbd22ac],.p-t[data-v-2dbd22ac],.p-r[data-v-2dbd22ac],.p-l[data-v-2dbd22ac]{background-color:transparent;border-radius:4px}.p-b[data-v-2dbd22ac],.p-t[data-v-2dbd22ac]{height:4px;left:4px;right:4px}.p-r[data-v-2dbd22ac],.p-l[data-v-2dbd22ac]{width:4px;top:4px;bottom:4px}.p-lt[data-v-2dbd22ac],.p-rt[data-v-2dbd22ac],.p-lb[data-v-2dbd22ac],.p-rb[data-v-2dbd22ac]{width:0;height:0}.p-b[data-v-2dbd22ac]{bottom:0;cursor:ns-resize}.p-t[data-v-2dbd22ac]{top:0;cursor:ns-resize}.p-r[data-v-2dbd22ac]{right:0;cursor:ew-resize}.p-l[data-v-2dbd22ac]{left:0;cursor:ew-resize}.p-lt[data-v-2dbd22ac]{left:0;top:0;cursor:nwse-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.p-rt[data-v-2dbd22ac]{right:0;top:0;cursor:nesw-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.p-lb[data-v-2dbd22ac]{left:0;bottom:0;cursor:nesw-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.p-rb[data-v-2dbd22ac]{right:0;bottom:0;cursor:nwse-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.dragContainer[data-v-f5de5f52]{display:flex;flex-direction:column;transform-origin:0 0}.dragContainer>.dragHeader[data-v-f5de5f52]{flex-shrink:0;display:flex}.dragContainer>.scaleContent[data-v-f5de5f52]{flex:1;overflow:hidden;position:relative;display:flex}.dragMask[data-v-f5de5f52]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100}[data-v-73acf5a1] .el-input-number,[data-v-c08698cc] .el-input-number{width:100%}.wrap[data-v-3be83448]{background-size:100% 100%;background-repeat:no-repeat}[data-v-3be83448] .el-progress-bar__innerText{height:100%}[data-v-3be83448] .el-progress-bar__outer{border:solid 2px #fff}.close[data-v-99c38864]{position:absolute;right:0;top:0;border-top-right-radius:8px;background:red;width:20px;height:20px;border-bottom-left-radius:8px}.tipWrap[data-v-99c38864]{color:#fff;position:absolute;right:10px;top:10px;width:330px;padding:3px 6px;border-radius:8px;box-sizing:border-box;border:1px solid #707070;position:fixed;background-color:#0000001f;transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;overflow-wrap:break-word;overflow:hidden;z-index:101}.tipWrap .oneline[data-v-99c38864]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-v-99c38864] .el-progress-bar__innerText{height:100%}[data-v-99c38864] .el-progress-bar__outer{border:solid 2px #fff}.name[data-v-29cba2b4]{background:linear-gradient(313deg,#3525d6,#5072ff);box-shadow:0 .25rem 1.25rem #0000001c,0 .25rem 1.25rem #3930dc4d;border-radius:1.5rem;filter:blur(0px);padding:10px 20px}.threeWrap[data-v-dad10b5b]{position:relative;flex:1;flex-shrink:0;width:100%;height:100%}.dialog-panel[data-v-2473c0f7]{--dialog-padding: 1rem;--el-card-padding: var(--dialog-padding);flex:1;display:flex;flex-direction:column;overflow:hidden}.spin-element[data-v-cbef7acf]{--load-visible-color: transparent;animation:spin-cbef7acf 2s linear infinite;transform-origin:center;transition:color .25s;color:var(--load-visible-color)}.spin-element.show[data-v-cbef7acf]{--load-visible-color: var(--el-color-primary)}@keyframes spin-cbef7acf{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.components-wrapper[data-v-d7791a1a]{cursor:pointer;display:grid;grid-template-columns:repeat(var(--3ac8731b),1fr);gap:5px}.components-wrapper .el-card[data-v-d7791a1a]{--el-card-padding: 5px}`)),document.head.appendChild(a)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(`*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.i-ep\\:close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M764.288 214.592L512 466.88L259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512L214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ep\\:delete{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ep\\:info-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296c-44.096 0-108.992 44.736-148.48 101.504c0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04c67.84 0 107.904-43.648 147.456-100.416z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ep\\:loading{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ep\\:search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m795.904 750.72l124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704a352 352 0 0 0 0 704'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ic\\:baseline-content-copy{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ic\\:outline-check{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}[i-ep\\:info-filled~="default:"]:default{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296c-44.096 0-108.992 44.736-148.48 101.504c0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04c67.84 0 107.904-43.648 147.456-100.416z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-0,[top~="0"]{top:0}[line-clamp~="1"]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1}.z-100{z-index:100}.grid{display:grid}[rows~="4"]{grid-template-rows:repeat(4,minmax(0,1fr))}.mt-20px{margin-top:20px}.contents{display:contents}.hidden{display:none}.h-100\\%,.h-full{height:100%}.max-h-500px{max-height:500px}.w-100\\%,.w100\\%{width:100%}.w-50\\%{width:50%}.flex{display:flex}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer{cursor:pointer}.resize,[resize=""]{resize:both}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-10px,.gap10px{gap:10px}.gap-1rem{gap:1rem}.gap-5px,.gap5px{gap:5px}.gap3px{gap:3px}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.border,[border=""]{border-width:1px}.hover\\:border-color-\\#1c8bd4:hover{--un-border-opacity:1;border-color:rgb(28 139 212 / var(--un-border-opacity))}.hover\\:border-dashed:hover{border-style:dashed}.hover\\:bg-gray-500:hover{--un-bg-opacity:1;background-color:rgb(107 114 128 / var(--un-bg-opacity))}[stroke-width~="18"]{stroke-width:18px}[stroke-width~="27"]{stroke-width:27px}.p-10px{padding:10px}.p0\\!{padding:0!important}.px,[px=""]{padding-left:1rem;padding-right:1rem}.px-10px{padding-left:10px;padding-right:10px}.px-20px{padding-left:20px;padding-right:20px}.py-10px{padding-top:10px;padding-bottom:10px}.text-12px{font-size:12px}.text-16px{font-size:16px}.text-30px{font-size:30px}.c-\\#000{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.c-\\#fff{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.c-red{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity))}.hover\\:c-\\#1c8bd4:hover{--un-text-opacity:1;color:rgb(28 139 212 / var(--un-text-opacity))}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[duration~="20"]{transition-duration:20ms}.comp-affix .comp-affix-inner[data-v-4c40ccd8]{transition:box-shadow .3s;border-radius:1rem}.comp-affix .comp-affix-inner.fix[data-v-4c40ccd8]{position:fixed;box-shadow:var(--el-box-shadow);background-color:var(--el-card-bg-color)}.p-t[data-v-a741011d],.p-r[data-v-a741011d],.p-b[data-v-a741011d],.p-l[data-v-a741011d],.p-lt[data-v-a741011d],.p-rt[data-v-a741011d],.p-lb[data-v-a741011d],.p-rb[data-v-a741011d]{z-index:var(--4f09a435);position:absolute}.p-b[data-v-a741011d],.p-t[data-v-a741011d],.p-r[data-v-a741011d],.p-l[data-v-a741011d]{background-color:transparent;border-radius:4px}.p-b[data-v-a741011d],.p-t[data-v-a741011d]{height:4px;left:4px;right:4px}.p-r[data-v-a741011d],.p-l[data-v-a741011d]{width:4px;top:4px;bottom:4px}.p-lt[data-v-a741011d],.p-rt[data-v-a741011d],.p-lb[data-v-a741011d],.p-rb[data-v-a741011d]{width:0;height:0}.p-b[data-v-a741011d]{bottom:0;cursor:ns-resize}.p-t[data-v-a741011d]{top:0;cursor:ns-resize}.p-r[data-v-a741011d]{right:0;cursor:ew-resize}.p-l[data-v-a741011d]{left:0;cursor:ew-resize}.p-lt[data-v-a741011d]{left:0;top:0;cursor:nwse-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.p-rt[data-v-a741011d]{right:0;top:0;cursor:nesw-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.p-lb[data-v-a741011d]{left:0;bottom:0;cursor:nesw-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.p-rb[data-v-a741011d]{right:0;bottom:0;cursor:nwse-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.dragContainer[data-v-bfb069f0]{display:flex;flex-direction:column;transform-origin:0 0}.dragContainer>.dragHeader[data-v-bfb069f0]{flex-shrink:0;display:flex}.dragContainer>.scaleContent[data-v-bfb069f0]{flex:1;overflow:hidden;position:relative;display:flex}.dragMask[data-v-bfb069f0]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100}[data-v-73acf5a1] .el-input-number,[data-v-c08698cc] .el-input-number{width:100%}.wrap[data-v-3be83448]{background-size:100% 100%;background-repeat:no-repeat}[data-v-3be83448] .el-progress-bar__innerText{height:100%}[data-v-3be83448] .el-progress-bar__outer{border:solid 2px #fff}.close[data-v-99c38864]{position:absolute;right:0;top:0;border-top-right-radius:8px;background:red;width:20px;height:20px;border-bottom-left-radius:8px}.tipWrap[data-v-99c38864]{color:#fff;position:absolute;right:10px;top:10px;width:330px;padding:3px 6px;border-radius:8px;box-sizing:border-box;border:1px solid #707070;position:fixed;background-color:#0000001f;transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;overflow-wrap:break-word;overflow:hidden;z-index:101}.tipWrap .oneline[data-v-99c38864]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-v-99c38864] .el-progress-bar__innerText{height:100%}[data-v-99c38864] .el-progress-bar__outer{border:solid 2px #fff}.name[data-v-29cba2b4]{background:linear-gradient(313deg,#3525d6,#5072ff);box-shadow:0 .25rem 1.25rem #0000001c,0 .25rem 1.25rem #3930dc4d;border-radius:1.5rem;filter:blur(0px);padding:10px 20px}.threeWrap[data-v-dad10b5b]{position:relative;flex:1;flex-shrink:0;width:100%;height:100%}.dialog-panel[data-v-2473c0f7]{--dialog-padding: 1rem;--el-card-padding: var(--dialog-padding);flex:1;display:flex;flex-direction:column;overflow:hidden}.spin-element[data-v-cbef7acf]{--load-visible-color: transparent;animation:spin-cbef7acf 2s linear infinite;transform-origin:center;transition:color .25s;color:var(--load-visible-color)}.spin-element.show[data-v-cbef7acf]{--load-visible-color: var(--el-color-primary)}@keyframes spin-cbef7acf{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.components-wrapper[data-v-d7791a1a]{cursor:pointer;display:grid;grid-template-columns:repeat(var(--3ac8731b),1fr);gap:5px}.components-wrapper .el-card[data-v-d7791a1a]{--el-card-padding: 5px}`)),document.head.appendChild(a)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
2
  import { defineComponent as lt, useTemplateRef as Jn, shallowRef as Xt, computed as Ke, reactive as It, onMounted as Bt, onBeforeUnmount as Qr, createElementBlock as te, openBlock as X, normalizeStyle as lr, normalizeClass as Wo, createElementVNode as H, renderSlot as vn, useCssVars as ul, createCommentVNode as tn, Fragment as rn, renderList as Gt, withDirectives as Jo, vShow as Zo, unref as T, ref as Mt, toValue as Xr, watch as jt, toRef as Fo, createBlock as Je, Teleport as Ec, withCtx as z, createVNode as L, Transition as Tc, resolveDynamicComponent as eo, cloneVNode as Cc, h as oe, isVNode as dl, render as Pc, mergeProps as oa, resolveComponent as xi, createTextVNode as pt, toDisplayString as gt, shallowReactive as ms, toRaw as Si, withModifiers as gs, toHandlers as pl, isRef as Gr, watchEffect as Lc, markRaw as _e, createSlots as Ei, normalizeProps as Mc, guardReactiveProps as kc, effectScope as Oc, isReactive as Ac } from "vue";
3
3
  import { px as st, useEvent as fn, z as Ic, getStyleValue as Ti, isBoolean as ys, isNumber as On, toNumber as Ue, useFlip as Rc, merge as Dc, isUndefined as nn, resolvePath as vs, useDialog as Nc, msg as Vc, uniqueId as to, isString as Yr, useCopy as jc, cloneDeep as An } from "@toolmain/shared";
4
4
  import { useElementBounding as Qo, useIntersectionObserver as bs, useThrottleFn as fl, useDebounceFn as hl } from "@vueuse/core";
@@ -292,7 +292,7 @@ const Cu = ["onMousedown"], Pu = /* @__PURE__ */ lt({
292
292
  },
293
293
  setup(s) {
294
294
  ul((n) => ({
295
- dc02cff8: t.value
295
+ "4f09a435": t.value
296
296
  }));
297
297
  const e = s, t = Ke(() => e.config.normal ? void 0 : Ic.ABSOLUTE);
298
298
  return (n, r) => n.scale ? (X(!0), te(rn, { key: 0 }, Gt(n.scale.pointer, (o) => Jo((X(), te("i", {
@@ -303,7 +303,7 @@ const Cu = ["onMousedown"], Pu = /* @__PURE__ */ lt({
303
303
  [Zo, n.config.scalable]
304
304
  ])), 128)) : tn("", !0);
305
305
  }
306
- }), Lu = /* @__PURE__ */ Yt(Pu, [["__scopeId", "data-v-2dbd22ac"]]), Io = (s) => {
306
+ }), Lu = /* @__PURE__ */ Yt(Pu, [["__scopeId", "data-v-a741011d"]]), Io = (s) => {
307
307
  if (!s) return {};
308
308
  const e = {};
309
309
  for (const [t, n] of Object.entries(s))
@@ -879,7 +879,7 @@ const Ou = (s) => {
879
879
  ], 8, ["disabled"]))
880
880
  ], 4));
881
881
  }
882
- }), mb = /* @__PURE__ */ Yt(Au, [["__scopeId", "data-v-f5de5f52"]]), gb = /* @__PURE__ */ lt({
882
+ }), mb = /* @__PURE__ */ Yt(Au, [["__scopeId", "data-v-bfb069f0"]]), gb = /* @__PURE__ */ lt({
883
883
  __name: "index",
884
884
  setup(s) {
885
885
  return (e, t) => (X(), Je(T(Bc), null, {
@@ -20131,6 +20131,7 @@ export {
20131
20131
  $b as EpLibrary,
20132
20132
  Hb as EpLibraryUI,
20133
20133
  zb as GeneralLibrary,
20134
+ $o as HandleEv,
20134
20135
  _t as KeyCode,
20135
20136
  $t as LightType,
20136
20137
  Kp as Lights,
@@ -20145,6 +20146,7 @@ export {
20145
20146
  Xp as Scene,
20146
20147
  Ch as Shell,
20147
20148
  Bb as Spinner,
20149
+ Il as Status,
20148
20150
  Nb as ThreePanel,
20149
20151
  ob as VarState,
20150
20152
  Rb as a2r,
@@ -20163,6 +20165,7 @@ export {
20163
20165
  kp as useCollider,
20164
20166
  Rl as useDebugger,
20165
20167
  Ob as useElement,
20168
+ ku as useHandle,
20166
20169
  Iu as useKeyboard,
20167
20170
  Ou as useScale,
20168
20171
  rb as useVarState
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toolmain/components",
3
- "version": "1.2.9",
3
+ "version": "1.2.11",
4
4
  "description": "Convient components base on vue3",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -37,8 +37,8 @@
37
37
  "dependencies": {
38
38
  "dexie": "^4.2.0",
39
39
  "three-mesh-bvh": "^0.9.1",
40
- "@toolmain/shared": "^1.2.7",
41
- "@toolmain/libs": "^1.1.6"
40
+ "@toolmain/shared": "^1.2.8",
41
+ "@toolmain/libs": "^1.1.7"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/three": "^0.179.0",