@fangzhongya/vue-archive 0.0.7 → 0.0.8

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.
Files changed (125) hide show
  1. package/README.md +3 -2
  2. package/dist/node/index.cjs +135 -71
  3. package/dist/node/index.d.cts +8 -0
  4. package/dist/node/index.d.ts +8 -0
  5. package/dist/node/index.js +118 -54
  6. package/dist/node_modules/.pnpm/@fangzhongya_utils@0.0.24/node_modules/@fangzhongya/utils/dist/chunk-LPMR5W6M.cjs +1 -0
  7. package/dist/node_modules/.pnpm/@fangzhongya_utils@0.0.24/node_modules/@fangzhongya/utils/dist/chunk-LPMR5W6M.js +9 -0
  8. package/dist/packages/components/aside/index.vue.cjs +1 -1
  9. package/dist/packages/components/aside/index.vue.js +43 -45
  10. package/dist/packages/components/boxurl/index.vue.cjs +1 -1
  11. package/dist/packages/components/boxurl/index.vue.js +34 -37
  12. package/dist/packages/components/choice/choice.vue.cjs +1 -1
  13. package/dist/packages/components/choice/choice.vue.js +29 -32
  14. package/dist/packages/components/choice/index.vue.cjs +1 -1
  15. package/dist/packages/components/choice/index.vue.js +39 -42
  16. package/dist/packages/components/code/highlight.vue2.cjs +1 -1
  17. package/dist/packages/components/code/highlight.vue2.js +1 -1
  18. package/dist/packages/components/code/index.vue.cjs +1 -1
  19. package/dist/packages/components/code/index.vue.js +79 -87
  20. package/dist/packages/components/compo/ftable.vue.cjs +1 -1
  21. package/dist/packages/components/compo/ftable.vue.js +15 -15
  22. package/dist/packages/components/compo/index.cjs +1 -1
  23. package/dist/packages/components/compo/index.js +86 -97
  24. package/dist/packages/components/compo/index.vue.cjs +1 -1
  25. package/dist/packages/components/compo/index.vue.js +33 -34
  26. package/dist/packages/components/compo/info.vue.cjs +1 -1
  27. package/dist/packages/components/compo/info.vue.js +22 -25
  28. package/dist/packages/components/compo/top.cjs +1 -1
  29. package/dist/packages/components/compo/top.js +21 -21
  30. package/dist/packages/components/main/index.vue.cjs +1 -1
  31. package/dist/packages/components/main/index.vue.js +16 -17
  32. package/dist/packages/components/md/index.vue.cjs +1 -1
  33. package/dist/packages/components/md/index.vue.js +28 -32
  34. package/dist/packages/components/test/index.cjs +1 -1
  35. package/dist/packages/components/test/index.js +39 -42
  36. package/dist/packages/components/test/index.vue.cjs +1 -1
  37. package/dist/packages/components/test/index.vue.js +44 -49
  38. package/dist/packages/components/use/code.cjs +1 -1
  39. package/dist/packages/components/use/code.js +3 -3
  40. package/dist/packages/components/use/index.cjs +1 -1
  41. package/dist/packages/components/use/index.js +1 -1
  42. package/dist/packages/components/use/retrie/choice/index.vue.cjs +1 -1
  43. package/dist/packages/components/use/retrie/choice/index.vue.js +32 -34
  44. package/dist/packages/components/use/retrie/expose/index.vue.cjs +1 -1
  45. package/dist/packages/components/use/retrie/expose/index.vue.js +18 -19
  46. package/dist/packages/components/use/retrie/form/index.vue.cjs +1 -1
  47. package/dist/packages/components/use/retrie/form/index.vue.js +110 -114
  48. package/dist/packages/components/use/retrie/function/index.vue.cjs +2 -2
  49. package/dist/packages/components/use/retrie/function/index.vue.js +1 -4
  50. package/dist/packages/components/use/retrie/input/index.vue.cjs +1 -1
  51. package/dist/packages/components/use/retrie/input/index.vue.js +20 -21
  52. package/dist/packages/components/use/retrie/number/index.vue.cjs +1 -1
  53. package/dist/packages/components/use/retrie/number/index.vue.js +12 -13
  54. package/dist/packages/components/use/retrie/select/index.vue.cjs +1 -1
  55. package/dist/packages/components/use/retrie/select/index.vue.js +21 -23
  56. package/dist/packages/components/use/retrie/slot/index.vue.cjs +1 -1
  57. package/dist/packages/components/use/retrie/slot/index.vue.js +15 -16
  58. package/dist/packages/components/use/retrie/string/index.vue.cjs +1 -1
  59. package/dist/packages/components/use/retrie/string/index.vue.js +14 -15
  60. package/dist/packages/components/use/set-emit.vue.cjs +1 -1
  61. package/dist/packages/components/use/set-emit.vue.js +20 -24
  62. package/dist/packages/components/use/set-expose.vue.cjs +1 -1
  63. package/dist/packages/components/use/set-expose.vue.js +15 -18
  64. package/dist/packages/components/use/set-props.vue.cjs +1 -1
  65. package/dist/packages/components/use/set-props.vue.js +48 -49
  66. package/dist/packages/config.cjs +1 -1
  67. package/dist/packages/config.d.ts +8 -1
  68. package/dist/packages/config.js +1 -1
  69. package/dist/packages/directives/adjust/index copy.d.ts +6 -0
  70. package/dist/packages/directives/adjust/index.cjs +1 -1
  71. package/dist/packages/directives/adjust/index.js +96 -97
  72. package/dist/packages/page/comprops/index.vue2.cjs +1 -1
  73. package/dist/packages/page/comprops/index.vue2.js +65 -71
  74. package/dist/packages/page/index/index.vue2.cjs +1 -1
  75. package/dist/packages/page/index/index.vue2.js +19 -23
  76. package/dist/packages/page/single/index.vue2.cjs +1 -1
  77. package/dist/packages/page/single/index.vue2.js +46 -49
  78. package/dist/packages/router/index.cjs +1 -1
  79. package/dist/packages/router/index.js +44 -46
  80. package/dist/packages/utils/common.cjs +1 -1
  81. package/dist/packages/utils/common.d.ts +4 -0
  82. package/dist/packages/utils/common.js +57 -54
  83. package/dist/packages/utils/glob.cjs +3 -3
  84. package/dist/packages/utils/glob.d.ts +1 -1
  85. package/dist/packages/utils/glob.js +269 -227
  86. package/dist/packages/utils/props.cjs +1 -1
  87. package/dist/packages/utils/props.js +34 -28
  88. package/dist/src/components/common/cs3.d.ts +4 -0
  89. package/dist/src/components/common/index.d.ts +4 -0
  90. package/dist/src/components/cs/expose/index.d.ts +4 -1
  91. package/dist/src/components/cs/expose/src/index.vue.d.ts +4 -1
  92. package/dist/vue-archive.css +1 -1
  93. package/package.json +18 -19
  94. package/dist/node_modules/.pnpm/@fangzhongya_utils@0.0.8-77/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.cjs +0 -1
  95. package/dist/node_modules/.pnpm/@fangzhongya_utils@0.0.8-77/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js +0 -9
  96. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.cjs +0 -0
  97. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js +0 -0
  98. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-5RZYHE3X.cjs +0 -0
  99. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-5RZYHE3X.js +0 -0
  100. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.cjs +0 -0
  101. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.js +0 -0
  102. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-APKFW4LU.cjs +0 -0
  103. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-APKFW4LU.js +0 -0
  104. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.cjs +0 -0
  105. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js +0 -0
  106. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.cjs +0 -0
  107. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js +0 -0
  108. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.cjs +0 -0
  109. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js +0 -0
  110. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.cjs +0 -0
  111. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js +0 -0
  112. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.cjs +0 -0
  113. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js +0 -0
  114. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-VBS6YE6H.cjs +0 -0
  115. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-VBS6YE6H.js +0 -0
  116. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-VKE5JARB.cjs +0 -0
  117. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-VKE5JARB.js +0 -0
  118. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.cjs +0 -0
  119. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js +0 -0
  120. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-XUL6LPTN.cjs +0 -0
  121. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-XUL6LPTN.js +0 -0
  122. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.cjs +0 -0
  123. /package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.8-77 → @fangzhongya_utils@0.0.24}/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js +0 -0
  124. /package/dist/node_modules/.pnpm/{@highlightjs_vue-plugin@2.1_0b670f4f8863792fd47bf820772b9cbf → @highlightjs_vue-plugin@2.1_b586068ec461434c266304f56a34d01a}/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.cjs +0 -0
  125. /package/dist/node_modules/.pnpm/{@highlightjs_vue-plugin@2.1_0b670f4f8863792fd47bf820772b9cbf → @highlightjs_vue-plugin@2.1_b586068ec461434c266304f56a34d01a}/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js +0 -0
@@ -1 +1 @@
1
- "use strict";const B=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.8-77/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.cjs"),z=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.8-77/node_modules/@fangzhongya/utils/dist/chunk-5RZYHE3X.cjs"),D=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.8-77/node_modules/@fangzhongya/utils/dist/chunk-VKE5JARB.cjs"),H=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.8-77/node_modules/@fangzhongya/utils/dist/chunk-VBS6YE6H.cjs"),c=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.8-77/node_modules/@fangzhongya/utils/dist/chunk-XUL6LPTN.cjs"),L=8,w=14,m=1e3,h="px";function A(s){const t=["left","right","top","bottom","width","height"],n={};return t.forEach(e=>{s?n[e]=Number(z.getCss(s,e).replace(/[a-z|A-Z]*$/,"")):n[e]=0}),n}function P(s,t){t||(t=s.parentElement||s);const n=t.childNodes;let e=0,i=n.length;for(;e<n.length;e++){const r=n[e];if(r===s&&(i=e),i<e&&r.nodeType==1)break}return n[e]}function U(s,t){t||(t=s.parentElement||s);const n=t.childNodes;let e=n.length-1,i=-1;for(;e>=0;e--){const r=n[e];if(r===s&&(i=e),i>e&&r.nodeType==1)break}return n[e]}function I(s,t){return t=="bottom"||t=="right"?P(s):U(s)}function R(){const s=document.querySelector(".v-adjust-xux-height");if(s)return s;{const t=document.createElement("div");return t.className="v-adjust-xux-height",t.style.zIndex="100000",t.style.position="fixed",t.style.left="0",t.style.right="0",t.style.height="0",t.style.display="none",t.style.borderBottom="3px dashed #1d8bfa",document.body.appendChild(t),t}}function M(){const s=document.querySelector(".v-adjust-xux-width");if(s)return s;{const t=document.createElement("div");return t.className="v-adjust-xux-width",t.style.zIndex="100000",t.style.position="fixed",t.style.top="0",t.style.bottom="0",t.style.width="0",t.style.display="none",t.style.borderLeft="3px dashed #1d8bfa",document.body.appendChild(t),t}}function W(s){return s=="bottom"||s=="top"?"row-resize":s=="right"||s=="left"?"col-resize":s=="topRight"?"ne-resize":s=="topLeft"?"nw-resize":s=="bottomRight"?"se-resize":s=="bottomLeft"?"sw-resize":""}function Z(s,t){const n=D.splitUpper(s);if(n.length==1)return s=="bottom"||s=="top"?(e,i)=>t&&t()?m:i[s]-e.pageY:s=="right"||s=="left"?(e,i)=>t&&t()?m:i[s]-e.pageX:(e,i)=>t&&t()?m:0;{const e=n[0],i=n[1];return(r,o)=>{if(t&&t())return m;const l=o[e]-r.pageY,f=o[i]-r.pageX;return f<w&&f>0-w&&l<L&&l>0-w?0:m}}}function F(s){if(s=="bottom"||s=="top"){const t=R();return{show:()=>{c.setCss(t,"display","block")},set:n=>{c.setCss(t,"top",n+h)}}}else if(s=="right"||s=="left"){const t=M();return{show:()=>{c.setCss(t,"display","block")},set:n=>{c.setCss(t,"left",n+h)}}}else{const t=M(),n=R();return{show:()=>{c.setCss(t,"display","block"),c.setCss(n,"display","block")},set:(e,i)=>{c.setCss(t,"left",e+h),c.setCss(n,"top",i+h)}}}}function J(s,t){return s=="bottom"?(n,e,i)=>{const r=i.clientY-n.clientY+e.bottom;t(r,0)}:s=="top"?(n,e,i)=>{const r=i.clientY-n.clientY+e.top;t(r,0)}:s=="right"?(n,e,i)=>{const r=i.clientX-n.clientX+e.right;t(r,0)}:s=="left"?(n,e,i)=>{const r=i.clientX-n.clientX+e.left;t(r,0)}:s=="topRight"?(n,e,i)=>{const r=i.clientX-n.clientX+e.right,o=i.clientY-n.clientY+e.top;t(r,o)}:s=="bottomRight"?(n,e,i)=>{const r=i.clientX-n.clientX+e.right,o=i.clientY-n.clientY+e.bottom;t(r,o)}:s=="topLeft"?(n,e,i)=>{const r=i.clientX-n.clientX+e.left,o=i.clientY-n.clientY+e.top;t(r,o)}:s=="bottomLeft"?(n,e,i)=>{const r=i.clientX-n.clientX+e.left,o=i.clientY-n.clientY+e.bottom;t(r,o)}:(n,e,i)=>{const r=i.clientX-n.clientX+e.right,o=i.clientY-n.clientY+e.top;t(r,o)}}function K(s,t,n){return s=="bottom"?(e,i,r,o,l)=>{const f=o.height+i;f>0&&(c.setCss(e,"height",f+h),t&&c.setCss(t,"height",l.height-i+h))}:s=="top"?(e,i,r,o,l)=>{const f=o.height+i;f>0&&(c.setCss(e,"height",f+h),t&&c.setCss(t,"height",l.height-i+h),n&&c.setCss(e,"top",o.top-i+h))}:s=="right"?(e,i,r,o,l)=>{const f=o.width+i;f>0&&(c.setCss(e,"width",f+h),t&&c.setCss(t,"width",l.width-i+h))}:s=="left"?(e,i,r,o,l)=>{const f=o.width+i;f>0&&(c.setCss(e,"width",f+h),t&&c.setCss(t,"width",l.width-i+h),n&&c.setCss(e,"left",o.left-i+h))}:s=="topRight"?(e,i,r,o,l)=>{const f=o.width+i;f>0&&(c.setCss(e,"width",f+h),t&&c.setCss(t,"width",l.width-i+h));const u=o.height+r;u>0&&(c.setCss(e,"height",u+h),t&&c.setCss(t,"height",l.height-r+h),n&&c.setCss(e,"top",o.top-r+h))}:s=="bottomRight"?(e,i,r,o,l)=>{const f=o.width+i;f>0&&(c.setCss(e,"width",f+h),t&&c.setCss(t,"width",l.width-i+h));const u=o.height+r;u>0&&(c.setCss(e,"height",u+h),t&&c.setCss(t,"height",l.height-r+h))}:s=="topLeft"?(e,i,r,o,l)=>{const f=o.width+i;f>0&&(c.setCss(e,"width",f+h),t&&c.setCss(t,"width",l.width-i+h),n&&c.setCss(e,"left",o.left-i+h));const u=o.height+r;u>0&&(c.setCss(e,"height",u+h),t&&c.setCss(t,"height",l.height-r+h),n&&c.setCss(e,"top",o.top-r+h))}:s=="bottomLeft"?(e,i,r,o,l)=>{const f=o.width+i;f>0&&(c.setCss(e,"width",f+h),t&&c.setCss(t,"width",l.width-i+h),n&&c.setCss(e,"left",o.left-i+h));const u=o.height+r;u>0&&(c.setCss(e,"height",u+h),t&&c.setCss(t,"height",l.height-r+h))}:(e,i,r,o,l)=>{}}const $=["bottom","top","right","left","topRight","bottomRight","topLeft","bottomLeft"];function v(s,t,n){var r;t=B.lineToSmallHump(t);let e={};n.adjoin&&(typeof n.adjoin=="boolean"?e.adjoin=I(s,t):typeof n.adjoin=="string"?e.adjoin=(r=s.parentElement)==null?void 0:r.querySelector(n.adjoin):e.adjoin=n.adjoin),e.cursor=W(t),e.domObj=F(t),e.setMousemove=J(t,e.domObj.set),e.setMousedown=o=>{t=="bottom"||t=="top"?e.domObj.set(o.clientY,0):t=="right"||t=="left"?e.domObj.set(o.clientX,0):e.domObj.set(o.clientX,o.clientY),e.domObj.show()},e.setValue=K(t,e.adjoin,n.position),e.setMouseup=(o,l,f,u)=>{let d=0,p=0;t=="bottom"?d=l.clientY-o.clientY:t=="top"?d=o.clientY-l.clientY:t=="right"?d=l.clientX-o.clientX:t=="left"?d=o.clientX-l.clientX:t=="topRight"?(p=o.clientY-l.clientY,d=l.clientX-o.clientX):t=="bottomRight"?(p=l.clientY-o.clientY,d=l.clientX-o.clientX):t=="topLeft"?(p=o.clientY-l.clientY,d=o.clientX-l.clientX):t=="bottomLeft"&&(p=l.clientY-o.clientY,d=o.clientX-l.clientX),e.setValue(s,d,p,f,u)};const i=Z(t,n.getDisabled);return(o,l)=>{const f=i(o,l);if(f<L&&f>0-L)return e}}function G(s,t){return(s.all?$:Object.keys(s)).sort((e,i)=>i.length-e.length).map(e=>{const i=s.all?s.all:s[e];return v(t,e,i)})}const Q={name:"Adjust",mounted(s,t){const n=t.value,e=n.often;if(delete n.often,n&&Object.keys(n).length>0){let i=function(g){let C=!0;for(let a=0;a<o.length;a++){const q=o[a](g,b);if(q)return l=q,p=!0,C=!1,f.cursor=l.cursor,!0}if(C)return p=!1,f.cursor=u,!1},r=function(){f.cursor=u,d=!0,p=!1,c.setCss(R(),"display","none"),c.setCss(M(),"display","none")};const o=G(n,s);let l;const f=document.body.style,u=f.cursor;let d=!0,p=!1,b,Y,x;const N=g=>{d&&(b=s.getBoundingClientRect(),i(g))},S=g=>{d&&r()};let X;const T=g=>{l.setMousemove(X,b,g),e&&l.setMouseup(X,g,Y,x)},V=g=>{p&&l.setMouseup(X,g,Y,x),r()},O=(g,C)=>{p&&(X=g,Y=A(s),x=A(l.adjoin),d=!1,l.setMousedown(g),f.cursor=l.cursor,H.shiftEvent(C,document,T,V))};s.addEventListener("mousemove",N),s.addEventListener("mouseout",S),s.addEventListener("touchstart",g=>{const C=g.changedTouches[0];b=s.getBoundingClientRect(),i(C)&&O(C,"touch")}),s.addEventListener("mousedown",g=>{p&&O(g,"mouse")})}}};module.exports=Q;
1
+ "use strict";const B=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.24/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.cjs"),z=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.24/node_modules/@fangzhongya/utils/dist/chunk-5RZYHE3X.cjs"),D=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.24/node_modules/@fangzhongya/utils/dist/chunk-VKE5JARB.cjs"),H=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.24/node_modules/@fangzhongya/utils/dist/chunk-VBS6YE6H.cjs"),l=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.24/node_modules/@fangzhongya/utils/dist/chunk-XUL6LPTN.cjs"),L=14,w=14,m=1e3,h="px";function A(s){const t=["left","right","top","bottom","width","height"],n={};return t.forEach(e=>{s?n[e]=Number(z.getCss(s,e).replace(/[a-z|A-Z]*$/,"")):n[e]=0}),n}function P(s,t){t||(t=s.parentElement||s);const n=t.childNodes;let e=0,i=n.length;for(;e<n.length;e++){const o=n[e];if(o===s&&(i=e),i<e&&o.nodeType==1)break}return n[e]}function U(s,t){t||(t=s.parentElement||s);const n=t.childNodes;let e=n.length-1,i=-1;for(;e>=0;e--){const o=n[e];if(o===s&&(i=e),i>e&&o.nodeType==1)break}return n[e]}function I(s,t){return t=="bottom"||t=="right"?P(s):U(s)}function R(){const s=document.querySelector(".v-adjust-xux-height");if(s)return s;{const t=document.createElement("div");return t.className="v-adjust-xux-height",t.style.zIndex="100000",t.style.position="fixed",t.style.left="0",t.style.right="0",t.style.height="0",t.style.display="none",t.style.borderBottom="3px dashed #1d8bfa",document.body.appendChild(t),t}}function M(){const s=document.querySelector(".v-adjust-xux-width");if(s)return s;{const t=document.createElement("div");return t.className="v-adjust-xux-width",t.style.zIndex="100000",t.style.position="fixed",t.style.top="0",t.style.bottom="0",t.style.width="0",t.style.display="none",t.style.borderLeft="3px dashed #1d8bfa",document.body.appendChild(t),t}}function W(s){return s=="bottom"||s=="top"?"row-resize":s=="right"||s=="left"?"col-resize":s=="topRight"?"ne-resize":s=="topLeft"?"nw-resize":s=="bottomRight"?"se-resize":s=="bottomLeft"?"sw-resize":""}function Z(s,t){const n=D.splitUpper(s);if(n.length==1)return s=="bottom"||s=="top"?(e,i)=>t&&t()?m:i[s]-e.pageY:s=="right"||s=="left"?(e,i)=>t&&t()?m:i[s]-e.pageX:(e,i)=>t&&t()?m:0;{const e=n[0],i=n[1];return(o,r)=>{if(t&&t())return m;const c=r[e]-o.pageY,f=r[i]-o.pageX;return f<w&&f>0-w&&c<L&&c>0-w?0:m}}}function F(s){if(s=="bottom"||s=="top"){const t=R();return{show:()=>{l.setCss(t,"display","block")},set:n=>{l.setCss(t,"top",n+h)}}}else if(s=="right"||s=="left"){const t=M();return{show:()=>{l.setCss(t,"display","block")},set:n=>{l.setCss(t,"left",n+h)}}}else{const t=M(),n=R();return{show:()=>{l.setCss(t,"display","block"),l.setCss(n,"display","block")},set:(e,i)=>{l.setCss(t,"left",e+h),l.setCss(n,"top",i+h)}}}}function J(s,t){return s=="bottom"?(n,e,i)=>{const o=i.clientY-n.clientY+e.bottom;t(o,0)}:s=="top"?(n,e,i)=>{const o=i.clientY-n.clientY+e.top;t(o,0)}:s=="right"?(n,e,i)=>{const o=i.clientX-n.clientX+e.right;t(o,0)}:s=="left"?(n,e,i)=>{const o=i.clientX-n.clientX+e.left;t(o,0)}:s=="topRight"?(n,e,i)=>{const o=i.clientX-n.clientX+e.right,r=i.clientY-n.clientY+e.top;t(o,r)}:s=="bottomRight"?(n,e,i)=>{const o=i.clientX-n.clientX+e.right,r=i.clientY-n.clientY+e.bottom;t(o,r)}:s=="topLeft"?(n,e,i)=>{const o=i.clientX-n.clientX+e.left,r=i.clientY-n.clientY+e.top;t(o,r)}:s=="bottomLeft"?(n,e,i)=>{const o=i.clientX-n.clientX+e.left,r=i.clientY-n.clientY+e.bottom;t(o,r)}:(n,e,i)=>{const o=i.clientX-n.clientX+e.right,r=i.clientY-n.clientY+e.top;t(o,r)}}function K(s,t,n){return s=="bottom"?(e,i,o,r,c)=>{const f=r.height+i;f>0&&(l.setCss(e,"height",f+h),t&&l.setCss(t,"height",c.height-i+h))}:s=="top"?(e,i,o,r,c)=>{const f=r.height+i;f>0&&(l.setCss(e,"height",f+h),t&&l.setCss(t,"height",c.height-i+h),n&&l.setCss(e,"top",r.top-i+h))}:s=="right"?(e,i,o,r,c)=>{const f=r.width+i;f>0&&(l.setCss(e,"width",f+h),t&&l.setCss(t,"width",c.width-i+h))}:s=="left"?(e,i,o,r,c)=>{const f=r.width+i;f>0&&(l.setCss(e,"width",f+h),t&&l.setCss(t,"width",c.width-i+h),n&&l.setCss(e,"left",r.left-i+h))}:s=="topRight"?(e,i,o,r,c)=>{const f=r.width+i;f>0&&(l.setCss(e,"width",f+h),t&&l.setCss(t,"width",c.width-i+h));const u=r.height+o;u>0&&(l.setCss(e,"height",u+h),t&&l.setCss(t,"height",c.height-o+h),n&&l.setCss(e,"top",r.top-o+h))}:s=="bottomRight"?(e,i,o,r,c)=>{const f=r.width+i;f>0&&(l.setCss(e,"width",f+h),t&&l.setCss(t,"width",c.width-i+h));const u=r.height+o;u>0&&(l.setCss(e,"height",u+h),t&&l.setCss(t,"height",c.height-o+h))}:s=="topLeft"?(e,i,o,r,c)=>{const f=r.width+i;f>0&&(l.setCss(e,"width",f+h),t&&l.setCss(t,"width",c.width-i+h),n&&l.setCss(e,"left",r.left-i+h));const u=r.height+o;u>0&&(l.setCss(e,"height",u+h),t&&l.setCss(t,"height",c.height-o+h),n&&l.setCss(e,"top",r.top-o+h))}:s=="bottomLeft"?(e,i,o,r,c)=>{const f=r.width+i;f>0&&(l.setCss(e,"width",f+h),t&&l.setCss(t,"width",c.width-i+h),n&&l.setCss(e,"left",r.left-i+h));const u=r.height+o;u>0&&(l.setCss(e,"height",u+h),t&&l.setCss(t,"height",c.height-o+h))}:(e,i,o,r,c)=>{}}const $=["bottom","top","right","left","topRight","bottomRight","topLeft","bottomLeft"];function v(s,t,n){t=B.lineToSmallHump(t);let e={};n.adjoin&&(typeof n.adjoin=="boolean"?e.adjoin=I(s,t):typeof n.adjoin=="string"?e.adjoin=s.parentElement?.querySelector(n.adjoin):e.adjoin=n.adjoin),e.cursor=W(t),e.domObj=F(t),e.setMousemove=J(t,e.domObj.set),e.setMousedown=o=>{t=="bottom"||t=="top"?e.domObj.set(o.clientY,0):t=="right"||t=="left"?e.domObj.set(o.clientX,0):e.domObj.set(o.clientX,o.clientY),e.domObj.show()},e.setValue=K(t,e.adjoin,n.position),e.setMouseup=(o,r,c,f)=>{let u=0,d=0;t=="bottom"?u=r.clientY-o.clientY:t=="top"?u=o.clientY-r.clientY:t=="right"?u=r.clientX-o.clientX:t=="left"?u=o.clientX-r.clientX:t=="topRight"?(d=o.clientY-r.clientY,u=r.clientX-o.clientX):t=="bottomRight"?(d=r.clientY-o.clientY,u=r.clientX-o.clientX):t=="topLeft"?(d=o.clientY-r.clientY,u=o.clientX-r.clientX):t=="bottomLeft"&&(d=r.clientY-o.clientY,u=o.clientX-r.clientX),e.setValue(s,u,d,c,f)};const i=Z(t,n.getDisabled);return(o,r)=>{const c=i(o,r);if(c<L&&c>0-L)return e}}function G(s,t){return(s.all?$:Object.keys(s)).sort((e,i)=>i.length-e.length).map(e=>{const i=s.all?s.all:s[e];return v(t,e,i)})}const Q={name:"Adjust",mounted(s,t){const n=t.value,e=n.often;if(delete n.often,n&&Object.keys(n).length>0){let i=function(g){let p=!0;for(let a=0;a<r.length;a++){const q=r[a](g,b);if(q)return c=q,C=!0,p=!1,f.cursor=c.cursor,!0}if(p)return C=!1,f.cursor=u,!1},o=function(){f.cursor=u,d=!0,C=!1,l.setCss(R(),"display","none"),l.setCss(M(),"display","none")};const r=G(n,s);let c;const f=document.body.style,u=f.cursor;let d=!0,C=!1,b,Y,x;const N=g=>{d&&(b=s.getBoundingClientRect(),i(g))},S=g=>{d&&o()};let X;const T=g=>{c.setMousemove(X,b,g),e&&c.setMouseup(X,g,Y,x)},V=g=>{C&&c.setMouseup(X,g,Y,x),o()},O=(g,p)=>{C&&(X=g,Y=A(s),x=A(c.adjoin),d=!1,c.setMousedown(g),f.cursor=c.cursor,H.shiftEvent(p,document,T,V))};s.addEventListener("mousemove",N),s.addEventListener("mouseout",S),s.addEventListener("touchstart",g=>{const p=g.changedTouches[0];b=s.getBoundingClientRect(),i(p)&&O(p,"touch")}),s.addEventListener("mousedown",g=>{C&&O(g,"mouse")})}}};module.exports=Q;
@@ -1,9 +1,9 @@
1
- import { lineToSmallHump as V } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.8-77/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.js";
2
- import { getCss as q } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.8-77/node_modules/@fangzhongya/utils/dist/chunk-5RZYHE3X.js";
3
- import { splitUpper as B } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.8-77/node_modules/@fangzhongya/utils/dist/chunk-VKE5JARB.js";
4
- import { shiftEvent as H } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.8-77/node_modules/@fangzhongya/utils/dist/chunk-VBS6YE6H.js";
5
- import { setCss as c } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.8-77/node_modules/@fangzhongya/utils/dist/chunk-XUL6LPTN.js";
6
- const R = 8, L = 14, b = 1e3, h = "px";
1
+ import { lineToSmallHump as V } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.24/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.js";
2
+ import { getCss as q } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.24/node_modules/@fangzhongya/utils/dist/chunk-5RZYHE3X.js";
3
+ import { splitUpper as B } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.24/node_modules/@fangzhongya/utils/dist/chunk-VKE5JARB.js";
4
+ import { shiftEvent as H } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.24/node_modules/@fangzhongya/utils/dist/chunk-VBS6YE6H.js";
5
+ import { setCss as l } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.24/node_modules/@fangzhongya/utils/dist/chunk-XUL6LPTN.js";
6
+ const R = 14, L = 14, b = 1e3, h = "px";
7
7
  function N(i) {
8
8
  const t = ["left", "right", "top", "bottom", "width", "height"], o = {};
9
9
  return t.forEach((e) => {
@@ -15,8 +15,8 @@ function I(i, t) {
15
15
  const o = t.childNodes;
16
16
  let e = 0, n = o.length;
17
17
  for (; e < o.length; e++) {
18
- const r = o[e];
19
- if (r === i && (n = e), n < e && r.nodeType == 1)
18
+ const s = o[e];
19
+ if (s === i && (n = e), n < e && s.nodeType == 1)
20
20
  break;
21
21
  }
22
22
  return o[e];
@@ -26,8 +26,8 @@ function U(i, t) {
26
26
  const o = t.childNodes;
27
27
  let e = o.length - 1, n = -1;
28
28
  for (; e >= 0; e--) {
29
- const r = o[e];
30
- if (r === i && (n = e), n > e && r.nodeType == 1)
29
+ const s = o[e];
30
+ if (s === i && (n = e), n > e && s.nodeType == 1)
31
31
  break;
32
32
  }
33
33
  return o[e];
@@ -62,11 +62,11 @@ function W(i, t) {
62
62
  return i == "bottom" || i == "top" ? (e, n) => t && t() ? b : n[i] - e.pageY : i == "right" || i == "left" ? (e, n) => t && t() ? b : n[i] - e.pageX : (e, n) => t && t() ? b : 0;
63
63
  {
64
64
  const e = o[0], n = o[1];
65
- return (r, s) => {
65
+ return (s, r) => {
66
66
  if (t && t())
67
67
  return b;
68
- const l = s[e] - r.pageY, f = s[n] - r.pageX;
69
- return f < L && f > 0 - L && l < R && l > 0 - L ? 0 : b;
68
+ const c = r[e] - s.pageY, f = r[n] - s.pageX;
69
+ return f < L && f > 0 - L && c < R && c > 0 - L ? 0 : b;
70
70
  };
71
71
  }
72
72
  }
@@ -75,98 +75,98 @@ function Z(i) {
75
75
  const t = M();
76
76
  return {
77
77
  show: () => {
78
- c(t, "display", "block");
78
+ l(t, "display", "block");
79
79
  },
80
80
  set: (o) => {
81
- c(t, "top", o + h);
81
+ l(t, "top", o + h);
82
82
  }
83
83
  };
84
84
  } else if (i == "right" || i == "left") {
85
85
  const t = O();
86
86
  return {
87
87
  show: () => {
88
- c(t, "display", "block");
88
+ l(t, "display", "block");
89
89
  },
90
90
  set: (o) => {
91
- c(t, "left", o + h);
91
+ l(t, "left", o + h);
92
92
  }
93
93
  };
94
94
  } else {
95
95
  const t = O(), o = M();
96
96
  return {
97
97
  show: () => {
98
- c(t, "display", "block"), c(o, "display", "block");
98
+ l(t, "display", "block"), l(o, "display", "block");
99
99
  },
100
100
  set: (e, n) => {
101
- c(t, "left", e + h), c(o, "top", n + h);
101
+ l(t, "left", e + h), l(o, "top", n + h);
102
102
  }
103
103
  };
104
104
  }
105
105
  }
106
106
  function $(i, t) {
107
107
  return i == "bottom" ? (o, e, n) => {
108
- const r = n.clientY - o.clientY + e.bottom;
109
- t(r, 0);
108
+ const s = n.clientY - o.clientY + e.bottom;
109
+ t(s, 0);
110
110
  } : i == "top" ? (o, e, n) => {
111
- const r = n.clientY - o.clientY + e.top;
112
- t(r, 0);
111
+ const s = n.clientY - o.clientY + e.top;
112
+ t(s, 0);
113
113
  } : i == "right" ? (o, e, n) => {
114
- const r = n.clientX - o.clientX + e.right;
115
- t(r, 0);
114
+ const s = n.clientX - o.clientX + e.right;
115
+ t(s, 0);
116
116
  } : i == "left" ? (o, e, n) => {
117
- const r = n.clientX - o.clientX + e.left;
118
- t(r, 0);
117
+ const s = n.clientX - o.clientX + e.left;
118
+ t(s, 0);
119
119
  } : i == "topRight" ? (o, e, n) => {
120
- const r = n.clientX - o.clientX + e.right, s = n.clientY - o.clientY + e.top;
121
- t(r, s);
120
+ const s = n.clientX - o.clientX + e.right, r = n.clientY - o.clientY + e.top;
121
+ t(s, r);
122
122
  } : i == "bottomRight" ? (o, e, n) => {
123
- const r = n.clientX - o.clientX + e.right, s = n.clientY - o.clientY + e.bottom;
124
- t(r, s);
123
+ const s = n.clientX - o.clientX + e.right, r = n.clientY - o.clientY + e.bottom;
124
+ t(s, r);
125
125
  } : i == "topLeft" ? (o, e, n) => {
126
- const r = n.clientX - o.clientX + e.left, s = n.clientY - o.clientY + e.top;
127
- t(r, s);
126
+ const s = n.clientX - o.clientX + e.left, r = n.clientY - o.clientY + e.top;
127
+ t(s, r);
128
128
  } : i == "bottomLeft" ? (o, e, n) => {
129
- const r = n.clientX - o.clientX + e.left, s = n.clientY - o.clientY + e.bottom;
130
- t(r, s);
129
+ const s = n.clientX - o.clientX + e.left, r = n.clientY - o.clientY + e.bottom;
130
+ t(s, r);
131
131
  } : (o, e, n) => {
132
- const r = n.clientX - o.clientX + e.right, s = n.clientY - o.clientY + e.top;
133
- t(r, s);
132
+ const s = n.clientX - o.clientX + e.right, r = n.clientY - o.clientY + e.top;
133
+ t(s, r);
134
134
  };
135
135
  }
136
136
  function v(i, t, o) {
137
- return i == "bottom" ? (e, n, r, s, l) => {
138
- const f = s.height + n;
139
- f > 0 && (c(e, "height", f + h), t && c(t, "height", l.height - n + h));
140
- } : i == "top" ? (e, n, r, s, l) => {
141
- const f = s.height + n;
142
- f > 0 && (c(e, "height", f + h), t && c(t, "height", l.height - n + h), o && c(e, "top", s.top - n + h));
143
- } : i == "right" ? (e, n, r, s, l) => {
144
- const f = s.width + n;
145
- f > 0 && (c(e, "width", f + h), t && c(t, "width", l.width - n + h));
146
- } : i == "left" ? (e, n, r, s, l) => {
147
- const f = s.width + n;
148
- f > 0 && (c(e, "width", f + h), t && c(t, "width", l.width - n + h), o && c(e, "left", s.left - n + h));
149
- } : i == "topRight" ? (e, n, r, s, l) => {
150
- const f = s.width + n;
151
- f > 0 && (c(e, "width", f + h), t && c(t, "width", l.width - n + h));
152
- const u = s.height + r;
153
- u > 0 && (c(e, "height", u + h), t && c(t, "height", l.height - r + h), o && c(e, "top", s.top - r + h));
154
- } : i == "bottomRight" ? (e, n, r, s, l) => {
155
- const f = s.width + n;
156
- f > 0 && (c(e, "width", f + h), t && c(t, "width", l.width - n + h));
157
- const u = s.height + r;
158
- u > 0 && (c(e, "height", u + h), t && c(t, "height", l.height - r + h));
159
- } : i == "topLeft" ? (e, n, r, s, l) => {
160
- const f = s.width + n;
161
- f > 0 && (c(e, "width", f + h), t && c(t, "width", l.width - n + h), o && c(e, "left", s.left - n + h));
162
- const u = s.height + r;
163
- u > 0 && (c(e, "height", u + h), t && c(t, "height", l.height - r + h), o && c(e, "top", s.top - r + h));
164
- } : i == "bottomLeft" ? (e, n, r, s, l) => {
165
- const f = s.width + n;
166
- f > 0 && (c(e, "width", f + h), t && c(t, "width", l.width - n + h), o && c(e, "left", s.left - n + h));
167
- const u = s.height + r;
168
- u > 0 && (c(e, "height", u + h), t && c(t, "height", l.height - r + h));
169
- } : (e, n, r, s, l) => {
137
+ return i == "bottom" ? (e, n, s, r, c) => {
138
+ const f = r.height + n;
139
+ f > 0 && (l(e, "height", f + h), t && l(t, "height", c.height - n + h));
140
+ } : i == "top" ? (e, n, s, r, c) => {
141
+ const f = r.height + n;
142
+ f > 0 && (l(e, "height", f + h), t && l(t, "height", c.height - n + h), o && l(e, "top", r.top - n + h));
143
+ } : i == "right" ? (e, n, s, r, c) => {
144
+ const f = r.width + n;
145
+ f > 0 && (l(e, "width", f + h), t && l(t, "width", c.width - n + h));
146
+ } : i == "left" ? (e, n, s, r, c) => {
147
+ const f = r.width + n;
148
+ f > 0 && (l(e, "width", f + h), t && l(t, "width", c.width - n + h), o && l(e, "left", r.left - n + h));
149
+ } : i == "topRight" ? (e, n, s, r, c) => {
150
+ const f = r.width + n;
151
+ f > 0 && (l(e, "width", f + h), t && l(t, "width", c.width - n + h));
152
+ const u = r.height + s;
153
+ u > 0 && (l(e, "height", u + h), t && l(t, "height", c.height - s + h), o && l(e, "top", r.top - s + h));
154
+ } : i == "bottomRight" ? (e, n, s, r, c) => {
155
+ const f = r.width + n;
156
+ f > 0 && (l(e, "width", f + h), t && l(t, "width", c.width - n + h));
157
+ const u = r.height + s;
158
+ u > 0 && (l(e, "height", u + h), t && l(t, "height", c.height - s + h));
159
+ } : i == "topLeft" ? (e, n, s, r, c) => {
160
+ const f = r.width + n;
161
+ f > 0 && (l(e, "width", f + h), t && l(t, "width", c.width - n + h), o && l(e, "left", r.left - n + h));
162
+ const u = r.height + s;
163
+ u > 0 && (l(e, "height", u + h), t && l(t, "height", c.height - s + h), o && l(e, "top", r.top - s + h));
164
+ } : i == "bottomLeft" ? (e, n, s, r, c) => {
165
+ const f = r.width + n;
166
+ f > 0 && (l(e, "width", f + h), t && l(t, "width", c.width - n + h), o && l(e, "left", r.left - n + h));
167
+ const u = r.height + s;
168
+ u > 0 && (l(e, "height", u + h), t && l(t, "height", c.height - s + h));
169
+ } : (e, n, s, r, c) => {
170
170
  };
171
171
  }
172
172
  const G = [
@@ -180,19 +180,18 @@ const G = [
180
180
  "bottomLeft"
181
181
  ];
182
182
  function J(i, t, o) {
183
- var r;
184
183
  t = V(t);
185
184
  let e = {};
186
- o.adjoin && (typeof o.adjoin == "boolean" ? e.adjoin = F(i, t) : typeof o.adjoin == "string" ? e.adjoin = (r = i.parentElement) == null ? void 0 : r.querySelector(o.adjoin) : e.adjoin = o.adjoin), e.cursor = P(t), e.domObj = Z(t), e.setMousemove = $(t, e.domObj.set), e.setMousedown = (s) => {
185
+ o.adjoin && (typeof o.adjoin == "boolean" ? e.adjoin = F(i, t) : typeof o.adjoin == "string" ? e.adjoin = i.parentElement?.querySelector(o.adjoin) : e.adjoin = o.adjoin), e.cursor = P(t), e.domObj = Z(t), e.setMousemove = $(t, e.domObj.set), e.setMousedown = (s) => {
187
186
  t == "bottom" || t == "top" ? e.domObj.set(s.clientY, 0) : t == "right" || t == "left" ? e.domObj.set(s.clientX, 0) : e.domObj.set(s.clientX, s.clientY), e.domObj.show();
188
- }, e.setValue = v(t, e.adjoin, o.position), e.setMouseup = (s, l, f, u) => {
189
- let d = 0, p = 0;
190
- t == "bottom" ? d = l.clientY - s.clientY : t == "top" ? d = s.clientY - l.clientY : t == "right" ? d = l.clientX - s.clientX : t == "left" ? d = s.clientX - l.clientX : t == "topRight" ? (p = s.clientY - l.clientY, d = l.clientX - s.clientX) : t == "bottomRight" ? (p = l.clientY - s.clientY, d = l.clientX - s.clientX) : t == "topLeft" ? (p = s.clientY - l.clientY, d = s.clientX - l.clientX) : t == "bottomLeft" && (p = l.clientY - s.clientY, d = s.clientX - l.clientX), e.setValue(i, d, p, f, u);
187
+ }, e.setValue = v(t, e.adjoin, o.position), e.setMouseup = (s, r, c, f) => {
188
+ let u = 0, d = 0;
189
+ t == "bottom" ? u = r.clientY - s.clientY : t == "top" ? u = s.clientY - r.clientY : t == "right" ? u = r.clientX - s.clientX : t == "left" ? u = s.clientX - r.clientX : t == "topRight" ? (d = s.clientY - r.clientY, u = r.clientX - s.clientX) : t == "bottomRight" ? (d = r.clientY - s.clientY, u = r.clientX - s.clientX) : t == "topLeft" ? (d = s.clientY - r.clientY, u = s.clientX - r.clientX) : t == "bottomLeft" && (d = r.clientY - s.clientY, u = s.clientX - r.clientX), e.setValue(i, u, d, c, f);
191
190
  };
192
191
  const n = W(t, o.getDisabled);
193
- return (s, l) => {
194
- const f = n(s, l);
195
- if (f < R && f > 0 - R)
192
+ return (s, r) => {
193
+ const c = n(s, r);
194
+ if (c < R && c > 0 - R)
196
195
  return e;
197
196
  };
198
197
  }
@@ -208,39 +207,39 @@ const k = {
208
207
  const o = t.value, e = o.often;
209
208
  if (delete o.often, o && Object.keys(o).length > 0) {
210
209
  let n = function(g) {
211
- let m = !0;
212
- for (let Y = 0; Y < s.length; Y++) {
213
- const A = s[Y](g, a);
210
+ let p = !0;
211
+ for (let Y = 0; Y < r.length; Y++) {
212
+ const A = r[Y](g, a);
214
213
  if (A)
215
- return l = A, p = !0, m = !1, f.cursor = l.cursor, !0;
214
+ return c = A, m = !0, p = !1, f.cursor = c.cursor, !0;
216
215
  }
217
- if (m)
218
- return p = !1, f.cursor = u, !1;
219
- }, r = function() {
220
- f.cursor = u, d = !0, p = !1, c(M(), "display", "none"), c(O(), "display", "none");
216
+ if (p)
217
+ return m = !1, f.cursor = u, !1;
218
+ }, s = function() {
219
+ f.cursor = u, d = !0, m = !1, l(M(), "display", "none"), l(O(), "display", "none");
221
220
  };
222
- const s = K(o, i);
223
- let l;
221
+ const r = K(o, i);
222
+ let c;
224
223
  const f = document.body.style, u = f.cursor;
225
- let d = !0, p = !1, a, x, w;
224
+ let d = !0, m = !1, a, x, w;
226
225
  const S = (g) => {
227
226
  d && (a = i.getBoundingClientRect(), n(g));
228
227
  }, T = (g) => {
229
- d && r();
228
+ d && s();
230
229
  };
231
230
  let X;
232
231
  const z = (g) => {
233
- l.setMousemove(X, a, g), e && l.setMouseup(X, g, x, w);
232
+ c.setMousemove(X, a, g), e && c.setMouseup(X, g, x, w);
234
233
  }, D = (g) => {
235
- p && l.setMouseup(X, g, x, w), r();
236
- }, C = (g, m) => {
237
- p && (X = g, x = N(i), w = N(l.adjoin), d = !1, l.setMousedown(g), f.cursor = l.cursor, H(m, document, z, D));
234
+ m && c.setMouseup(X, g, x, w), s();
235
+ }, C = (g, p) => {
236
+ m && (X = g, x = N(i), w = N(c.adjoin), d = !1, c.setMousedown(g), f.cursor = c.cursor, H(p, document, z, D));
238
237
  };
239
238
  i.addEventListener("mousemove", S), i.addEventListener("mouseout", T), i.addEventListener("touchstart", (g) => {
240
- const m = g.changedTouches[0];
241
- a = i.getBoundingClientRect(), n(m) && C(m, "touch");
239
+ const p = g.changedTouches[0];
240
+ a = i.getBoundingClientRect(), n(p) && C(p, "touch");
242
241
  }), i.addEventListener("mousedown", (g) => {
243
- p && C(g, "mouse");
242
+ m && C(g, "mouse");
244
243
  });
245
244
  }
246
245
  }
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),_=require("../../components/boxurl/index.vue.cjs"),p=require("../../components/compo/props.vue.cjs"),N=require("../../components/header/index.vue.cjs"),h=require("../../config.cjs"),E=require("../../utils/common.cjs"),u=require("../../utils/glob.cjs"),V={class:"__document-index"},f={class:"index-aside"},x={class:"index-aside-div"},g={class:"choice aside"},k=["onClick"],y={class:"aside-li-name"},C={class:"aside-li-name-name"},q={class:"compo-info-name-li"},B={class:"compo-info-name-li-span"},w={class:"index-body"},D={class:"index-div"},S={class:"index-header"},b={class:"index-main"},O={class:"index-main-top"},P={class:"aside-li-name"},R={class:"aside-li-name-name"},$={class:"compo-info-name-li"},j={class:"compo-info-name-li-span"},z={class:"index-main-div"},F=e.defineComponent({__name:"index",setup(L){const i=h.getConfig("components").map(n=>n.comprops),m=Object.values(u.getComponentPropsObjs()).filter(n=>{for(let o=0;o<i.length;o++){const t=i[o]||"";if(t&&E.isComprops(n.key,t))return!0}});function c(n){const t=new RegExp(n.comprops+"(.+)$").exec("/"+n.value);return t?t[1]:n.value}const a=e.ref(m),s=e.ref(a.value[0]),l=e.ref("");function v(n){s.value=n,d()}function d(){u.getPropsRaws([s.value]).then(n=>{const o=n[0];l.value=o.raw})}return d(),(n,o)=>(e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("div",f,[e.createElementVNode("div",x,[e.createElementVNode("div",g,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(t,A)=>{var r;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["aside-li",{on:t.key==((r=s.value)==null?void 0:r.key)}]),onClick:G=>v(t)},[e.createVNode(_,{value:t},{default:e.withCtx(()=>[e.createElementVNode("div",y,[e.createElementVNode("div",C,e.toDisplayString(c(t)),1)]),e.createElementVNode("div",q,[o[0]||(o[0]=e.createElementVNode("div",{class:"compo-info-name-li-span"}," 文件路径 ",-1)),e.createElementVNode("div",B,e.toDisplayString(t==null?void 0:t.key),1)])]),_:2},1032,["value"])],10,k)}),256))])])]),e.createElementVNode("div",w,[e.createElementVNode("div",D,[e.createElementVNode("div",S,[e.createVNode(N)]),e.createElementVNode("div",b,[e.createElementVNode("div",O,[e.createVNode(_,{value:s.value},{default:e.withCtx(()=>{var t;return[e.createElementVNode("div",P,[e.createElementVNode("div",R,e.toDisplayString(c(s.value)),1)]),e.createElementVNode("div",$,[o[1]||(o[1]=e.createElementVNode("div",{class:"compo-info-name-li-span"}," 文件路径 ",-1)),e.createElementVNode("div",j,e.toDisplayString((t=s.value)==null?void 0:t.key),1)])]}),_:1},8,["value"])]),e.createElementVNode("div",z,[e.createVNode(p,{value:l.value},null,8,["value"])])])])])]))}});module.exports=F;
1
+ "use strict";const e=require("vue"),r=require("../../components/boxurl/index.vue.cjs"),v=require("../../components/compo/props.vue.cjs"),p=require("../../components/header/index.vue.cjs"),N=require("../../config.cjs"),h=require("../../utils/common.cjs"),_=require("../../utils/glob.cjs"),E={class:"__document-index"},V={class:"index-aside"},f={class:"index-aside-div"},x={class:"choice aside"},g=["onClick"],k={class:"aside-li-name"},y={class:"aside-li-name-name"},C={class:"compo-info-name-li"},q={class:"compo-info-name-li-span"},B={class:"index-body"},w={class:"index-div"},D={class:"index-header"},S={class:"index-main"},b={class:"index-main-top"},O={class:"aside-li-name"},P={class:"aside-li-name-name"},R={class:"compo-info-name-li"},$={class:"compo-info-name-li-span"},j={class:"index-main-div"},z=e.defineComponent({__name:"index",setup(F){const i=N.getConfig("components").map(t=>t.comprops),m=Object.values(_.getComponentPropsObjs()).filter(t=>{for(let n=0;n<i.length;n++){const o=i[n]||"";if(o&&h.isComprops(t.key,o))return!0}});function c(t){const o=new RegExp(t.comprops+"(.+)$").exec("/"+t.value);return o?o[1]:t.value}const a=e.ref(m),s=e.ref(a.value[0]),l=e.ref("");function u(t){s.value=t,d()}function d(){_.getPropsRaws([s.value]).then(t=>{const n=t[0];l.value=n.raw})}return d(),(t,n)=>(e.openBlock(),e.createElementBlock("div",E,[e.createElementVNode("div",V,[e.createElementVNode("div",f,[e.createElementVNode("div",x,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(o,L)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["aside-li",{on:o.key==s.value?.key}]),onClick:A=>u(o)},[e.createVNode(r,{value:o},{default:e.withCtx(()=>[e.createElementVNode("div",k,[e.createElementVNode("div",y,e.toDisplayString(c(o)),1)]),e.createElementVNode("div",C,[n[0]||(n[0]=e.createElementVNode("div",{class:"compo-info-name-li-span"}," 文件路径 ",-1)),e.createElementVNode("div",q,e.toDisplayString(o?.key),1)])]),_:2},1032,["value"])],10,g))),256))])])]),e.createElementVNode("div",B,[e.createElementVNode("div",w,[e.createElementVNode("div",D,[e.createVNode(p)]),e.createElementVNode("div",S,[e.createElementVNode("div",b,[e.createVNode(r,{value:s.value},{default:e.withCtx(()=>[e.createElementVNode("div",O,[e.createElementVNode("div",P,e.toDisplayString(c(s.value)),1)]),e.createElementVNode("div",R,[n[1]||(n[1]=e.createElementVNode("div",{class:"compo-info-name-li-span"}," 文件路径 ",-1)),e.createElementVNode("div",$,e.toDisplayString(s.value?.key),1)])]),_:1},8,["value"])]),e.createElementVNode("div",j,[e.createVNode(v,{value:l.value},null,8,["value"])])])])])]))}});module.exports=z;
@@ -1,90 +1,84 @@
1
- import { defineComponent as k, ref as c, createElementBlock as l, openBlock as d, createElementVNode as e, Fragment as C, renderList as y, normalizeClass as w, createVNode as t, withCtx as f, toDisplayString as a } from "vue";
2
- import h from "../../components/boxurl/index.vue.js";
3
- import $ from "../../components/compo/props.vue.js";
4
- import E from "../../components/header/index.vue.js";
5
- import { getConfig as N } from "../../config.js";
6
- import { isComprops as b } from "../../utils/common.js";
7
- import { getComponentPropsObjs as B, getPropsRaws as D } from "../../utils/glob.js";
8
- const O = { class: "__document-index" }, P = { class: "index-aside" }, R = { class: "index-aside-div" }, V = { class: "choice aside" }, j = ["onClick"], z = { class: "aside-li-name" }, F = { class: "aside-li-name-name" }, H = { class: "compo-info-name-li" }, L = { class: "compo-info-name-li-span" }, S = { class: "index-body" }, q = { class: "index-div" }, A = { class: "index-header" }, G = { class: "index-main" }, I = { class: "index-main-top" }, J = { class: "aside-li-name" }, K = { class: "aside-li-name-name" }, M = { class: "compo-info-name-li" }, Q = { class: "compo-info-name-li-span" }, T = { class: "index-main-div" }, te = /* @__PURE__ */ k({
1
+ import { defineComponent as g, ref as c, createElementBlock as l, openBlock as d, createElementVNode as e, Fragment as k, renderList as C, normalizeClass as y, createVNode as t, withCtx as u, toDisplayString as a } from "vue";
2
+ import f from "../../components/boxurl/index.vue.js";
3
+ import w from "../../components/compo/props.vue.js";
4
+ import $ from "../../components/header/index.vue.js";
5
+ import { getConfig as E } from "../../config.js";
6
+ import { isComprops as N } from "../../utils/common.js";
7
+ import { getComponentPropsObjs as b, getPropsRaws as B } from "../../utils/glob.js";
8
+ const D = { class: "__document-index" }, O = { class: "index-aside" }, P = { class: "index-aside-div" }, R = { class: "choice aside" }, V = ["onClick"], j = { class: "aside-li-name" }, z = { class: "aside-li-name-name" }, F = { class: "compo-info-name-li" }, H = { class: "compo-info-name-li-span" }, L = { class: "index-body" }, S = { class: "index-div" }, q = { class: "index-header" }, A = { class: "index-main" }, G = { class: "index-main-top" }, I = { class: "aside-li-name" }, J = { class: "aside-li-name-name" }, K = { class: "compo-info-name-li" }, M = { class: "compo-info-name-li-span" }, Q = { class: "index-main-div" }, ne = /* @__PURE__ */ g({
9
9
  __name: "index",
10
- setup(U) {
11
- const r = N("components").map(
12
- (o) => o.comprops
13
- ), x = Object.values(B()).filter((o) => {
14
- for (let n = 0; n < r.length; n++) {
15
- const s = r[n] || "";
16
- if (s && b(o.key, s))
10
+ setup(T) {
11
+ const r = E("components").map(
12
+ (s) => s.comprops
13
+ ), h = Object.values(b()).filter((s) => {
14
+ for (let o = 0; o < r.length; o++) {
15
+ const i = r[o] || "";
16
+ if (i && N(s.key, i))
17
17
  return !0;
18
18
  }
19
19
  });
20
- function _(o) {
21
- const s = new RegExp(o.comprops + "(.+)$").exec("/" + o.value);
22
- return s ? s[1] : o.value;
20
+ function _(s) {
21
+ const i = new RegExp(s.comprops + "(.+)$").exec("/" + s.value);
22
+ return i ? i[1] : s.value;
23
23
  }
24
- const m = c(x), i = c(m.value[0]), v = c("");
25
- function g(o) {
26
- i.value = o, p();
24
+ const m = c(h), n = c(m.value[0]), v = c("");
25
+ function x(s) {
26
+ n.value = s, p();
27
27
  }
28
28
  function p() {
29
- D([i.value]).then((o) => {
30
- const n = o[0];
31
- v.value = n.raw;
29
+ B([n.value]).then((s) => {
30
+ const o = s[0];
31
+ v.value = o.raw;
32
32
  });
33
33
  }
34
- return p(), (o, n) => (d(), l("div", O, [
35
- e("div", P, [
36
- e("div", R, [
37
- e("div", V, [
38
- (d(!0), l(C, null, y(m.value, (s, W) => {
39
- var u;
40
- return d(), l("div", {
41
- class: w(["aside-li", {
42
- on: s.key == ((u = i.value) == null ? void 0 : u.key)
43
- }]),
44
- onClick: (X) => g(s)
45
- }, [
46
- t(h, { value: s }, {
47
- default: f(() => [
48
- e("div", z, [
49
- e("div", F, a(_(s)), 1)
50
- ]),
51
- e("div", H, [
52
- n[0] || (n[0] = e("div", { class: "compo-info-name-li-span" }, " 文件路径 ", -1)),
53
- e("div", L, a(s == null ? void 0 : s.key), 1)
54
- ])
34
+ return p(), (s, o) => (d(), l("div", D, [
35
+ e("div", O, [
36
+ e("div", P, [
37
+ e("div", R, [
38
+ (d(!0), l(k, null, C(m.value, (i, U) => (d(), l("div", {
39
+ class: y(["aside-li", {
40
+ on: i.key == n.value?.key
41
+ }]),
42
+ onClick: (W) => x(i)
43
+ }, [
44
+ t(f, { value: i }, {
45
+ default: u(() => [
46
+ e("div", j, [
47
+ e("div", z, a(_(i)), 1)
55
48
  ]),
56
- _: 2
57
- }, 1032, ["value"])
58
- ], 10, j);
59
- }), 256))
49
+ e("div", F, [
50
+ o[0] || (o[0] = e("div", { class: "compo-info-name-li-span" }, " 文件路径 ", -1)),
51
+ e("div", H, a(i?.key), 1)
52
+ ])
53
+ ]),
54
+ _: 2
55
+ }, 1032, ["value"])
56
+ ], 10, V))), 256))
60
57
  ])
61
58
  ])
62
59
  ]),
63
- e("div", S, [
64
- e("div", q, [
65
- e("div", A, [
66
- t(E)
60
+ e("div", L, [
61
+ e("div", S, [
62
+ e("div", q, [
63
+ t($)
67
64
  ]),
68
- e("div", G, [
69
- e("div", I, [
70
- t(h, { value: i.value }, {
71
- default: f(() => {
72
- var s;
73
- return [
74
- e("div", J, [
75
- e("div", K, a(_(i.value)), 1)
76
- ]),
77
- e("div", M, [
78
- n[1] || (n[1] = e("div", { class: "compo-info-name-li-span" }, " 文件路径 ", -1)),
79
- e("div", Q, a((s = i.value) == null ? void 0 : s.key), 1)
80
- ])
81
- ];
82
- }),
65
+ e("div", A, [
66
+ e("div", G, [
67
+ t(f, { value: n.value }, {
68
+ default: u(() => [
69
+ e("div", I, [
70
+ e("div", J, a(_(n.value)), 1)
71
+ ]),
72
+ e("div", K, [
73
+ o[1] || (o[1] = e("div", { class: "compo-info-name-li-span" }, " 文件路径 ", -1)),
74
+ e("div", M, a(n.value?.key), 1)
75
+ ])
76
+ ]),
83
77
  _: 1
84
78
  }, 8, ["value"])
85
79
  ]),
86
- e("div", T, [
87
- t($, { value: v.value }, null, 8, ["value"])
80
+ e("div", Q, [
81
+ t(w, { value: v.value }, null, 8, ["value"])
88
82
  ])
89
83
  ])
90
84
  ])
@@ -93,5 +87,5 @@ const O = { class: "__document-index" }, P = { class: "index-aside" }, R = { cla
93
87
  }
94
88
  });
95
89
  export {
96
- te as default
90
+ ne as default
97
91
  };
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),c=require("../../directives/adjust/index.cjs"),d=require("../../components/aside/index.vue.cjs"),r=require("../../components/header/index.vue.cjs"),a=require("../../components/main/index.vue.cjs"),u=require("../../utils/glob.cjs"),_=require("vue-router"),l={class:"__document-index"},v={class:"index-aside"},m={class:"index-aside-div"},h={class:"index-body"},x={class:"index-div"},p={class:"index-header"},q={class:"index-main"},N={class:"index-main-div"},V=e.defineComponent({__name:"index",setup(g){const i=_.useRoute(),n=e.ref({});function s(t){n.value=t}e.watch(()=>{var t;return(t=i.query)==null?void 0:t.id},()=>{o()});function o(){var t;(t=i.query)!=null&&t.id&&(n.value=u.getCompoName(i.query.id+""))}return o(),(t,E)=>(e.openBlock(),e.createElementBlock("div",l,[e.withDirectives((e.openBlock(),e.createElementBlock("div",v,[e.createElementVNode("div",m,[e.createVNode(d,{value:n.value,onChange:s},null,8,["value"])])])),[[e.unref(c),{right:{}}]]),e.createElementVNode("div",h,[e.createElementVNode("div",x,[e.createElementVNode("div",p,[e.createVNode(r)]),e.createElementVNode("div",q,[e.createElementVNode("div",N,[e.createVNode(a,{value:n.value},null,8,["value"])])])])])]))}});module.exports=V;
1
+ "use strict";const e=require("vue"),c=require("../../directives/adjust/index.cjs"),d=require("../../components/aside/index.vue.cjs"),r=require("../../components/header/index.vue.cjs"),a=require("../../components/main/index.vue.cjs"),u=require("../../utils/glob.cjs"),_=require("vue-router"),l={class:"__document-index"},v={class:"index-aside"},m={class:"index-aside-div"},h={class:"index-body"},x={class:"index-div"},p={class:"index-header"},q={class:"index-main"},N={class:"index-main-div"},V=e.defineComponent({__name:"index",setup(g){const n=_.useRoute(),t=e.ref({});function s(o){t.value=o}e.watch(()=>n.query?.id,()=>{i()});function i(){n.query?.id&&(t.value=u.getCompoName(n.query.id+""))}return i(),(o,E)=>(e.openBlock(),e.createElementBlock("div",l,[e.withDirectives((e.openBlock(),e.createElementBlock("div",v,[e.createElementVNode("div",m,[e.createVNode(d,{value:t.value,onChange:s},null,8,["value"])])])),[[e.unref(c),{right:{}}]]),e.createElementVNode("div",h,[e.createElementVNode("div",x,[e.createElementVNode("div",p,[e.createVNode(r)]),e.createElementVNode("div",q,[e.createElementVNode("div",N,[e.createVNode(a,{value:t.value},null,8,["value"])])])])])]))}});module.exports=V;
@@ -1,4 +1,4 @@
1
- import { defineComponent as r, ref as _, watch as m, createElementBlock as d, openBlock as a, withDirectives as l, createElementVNode as i, createVNode as s, unref as u } from "vue";
1
+ import { defineComponent as r, ref as _, watch as m, createElementBlock as d, openBlock as a, withDirectives as l, createElementVNode as e, createVNode as t, unref as u } from "vue";
2
2
  import v from "../../directives/adjust/index.js";
3
3
  import f from "../../components/aside/index.vue.js";
4
4
  import h from "../../components/header/index.vue.js";
@@ -8,28 +8,24 @@ import { useRoute as g } from "vue-router";
8
8
  const y = { class: "__document-index" }, C = { class: "index-aside" }, q = { class: "index-aside-div" }, N = { class: "index-body" }, k = { class: "index-div" }, w = { class: "index-header" }, B = { class: "index-main" }, D = { class: "index-main-div" }, F = /* @__PURE__ */ r({
9
9
  __name: "index",
10
10
  setup(E) {
11
- const t = g(), o = _({});
12
- function c(e) {
13
- o.value = e;
11
+ const o = g(), i = _({});
12
+ function c(n) {
13
+ i.value = n;
14
14
  }
15
15
  m(
16
+ () => o.query?.id,
16
17
  () => {
17
- var e;
18
- return (e = t.query) == null ? void 0 : e.id;
19
- },
20
- () => {
21
- n();
18
+ s();
22
19
  }
23
20
  );
24
- function n() {
25
- var e;
26
- (e = t.query) != null && e.id && (o.value = x(t.query.id + ""));
21
+ function s() {
22
+ o.query?.id && (i.value = x(o.query.id + ""));
27
23
  }
28
- return n(), (e, V) => (a(), d("div", y, [
24
+ return s(), (n, V) => (a(), d("div", y, [
29
25
  l((a(), d("div", C, [
30
- i("div", q, [
31
- s(f, {
32
- value: o.value,
26
+ e("div", q, [
27
+ t(f, {
28
+ value: i.value,
33
29
  onChange: c
34
30
  }, null, 8, ["value"])
35
31
  ])
@@ -38,14 +34,14 @@ const y = { class: "__document-index" }, C = { class: "index-aside" }, q = { cla
38
34
  right: {}
39
35
  }]
40
36
  ]),
41
- i("div", N, [
42
- i("div", k, [
43
- i("div", w, [
44
- s(h)
37
+ e("div", N, [
38
+ e("div", k, [
39
+ e("div", w, [
40
+ t(h)
45
41
  ]),
46
- i("div", B, [
47
- i("div", D, [
48
- s(p, { value: o.value }, null, 8, ["value"])
42
+ e("div", B, [
43
+ e("div", D, [
44
+ t(p, { value: i.value }, null, 8, ["value"])
49
45
  ])
50
46
  ])
51
47
  ])