@fangzhongya/vue-archive 0.1.21 → 0.1.23

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 (341) hide show
  1. package/dist/_virtual/_commonjsHelpers.cjs +1 -0
  2. package/dist/_virtual/_commonjsHelpers.js +6 -0
  3. package/dist/_virtual/_plugin-vue_export-helper.cjs +1 -0
  4. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  5. package/dist/_virtual/common.cjs +1 -0
  6. package/dist/_virtual/common.js +7 -0
  7. package/dist/_virtual/core.cjs +1 -0
  8. package/dist/_virtual/core.js +7 -0
  9. package/dist/index.css +1 -2
  10. package/dist/node_modules/.pnpm/@highlightjs_vue-plugin@2.1_dace39d2ab17d71b087de9a32848566a/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.cjs +1 -0
  11. package/dist/node_modules/.pnpm/@highlightjs_vue-plugin@2.1_dace39d2ab17d71b087de9a32848566a/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js +31 -0
  12. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/common.cjs +1 -0
  13. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/common.js +5 -0
  14. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/core.cjs +1 -0
  15. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/core.js +5 -0
  16. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/common.cjs +1 -0
  17. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/common.js +47 -0
  18. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/core.cjs +3 -0
  19. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/core.js +1063 -0
  20. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/bash.cjs +1 -0
  21. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/bash.js +383 -0
  22. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/c.cjs +1 -0
  23. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/c.js +283 -0
  24. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cpp.cjs +1 -0
  25. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cpp.js +527 -0
  26. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/csharp.cjs +1 -0
  27. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/csharp.js +388 -0
  28. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/css.cjs +1 -0
  29. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/css.js +929 -0
  30. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/diff.cjs +1 -0
  31. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/diff.js +60 -0
  32. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/go.cjs +1 -0
  33. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/go.js +157 -0
  34. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/graphql.cjs +1 -0
  35. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/graphql.js +76 -0
  36. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ini.cjs +1 -0
  37. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ini.js +113 -0
  38. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/java.cjs +1 -0
  39. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/java.js +246 -0
  40. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/javascript.cjs +1 -0
  41. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/javascript.js +664 -0
  42. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/json.cjs +1 -0
  43. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/json.js +44 -0
  44. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/kotlin.cjs +2 -0
  45. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/kotlin.js +248 -0
  46. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/less.cjs +1 -0
  47. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/less.js +998 -0
  48. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lua.cjs +1 -0
  49. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lua.js +65 -0
  50. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/makefile.cjs +1 -0
  51. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/makefile.js +73 -0
  52. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/markdown.cjs +1 -0
  53. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/markdown.js +222 -0
  54. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/objectivec.cjs +1 -0
  55. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/objectivec.js +243 -0
  56. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/perl.cjs +1 -0
  57. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/perl.js +475 -0
  58. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php-template.cjs +1 -0
  59. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php-template.js +53 -0
  60. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php.cjs +2 -0
  61. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php.js +572 -0
  62. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/plaintext.cjs +1 -0
  63. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/plaintext.js +19 -0
  64. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python-repl.cjs +1 -0
  65. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python-repl.js +32 -0
  66. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python.cjs +1 -0
  67. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python.js +405 -0
  68. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/r.cjs +1 -0
  69. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/r.js +213 -0
  70. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ruby.cjs +1 -0
  71. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ruby.js +394 -0
  72. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rust.cjs +1 -0
  73. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rust.js +311 -0
  74. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scss.cjs +1 -0
  75. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scss.js +914 -0
  76. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/shell.cjs +1 -0
  77. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/shell.js +31 -0
  78. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sql.cjs +1 -0
  79. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sql.js +621 -0
  80. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/swift.cjs +1 -0
  81. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/swift.js +805 -0
  82. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/typescript.cjs +1 -0
  83. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/typescript.js +759 -0
  84. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbnet.cjs +1 -0
  85. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbnet.js +128 -0
  86. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/wasm.cjs +1 -0
  87. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/wasm.js +120 -0
  88. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xml.cjs +1 -0
  89. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xml.js +225 -0
  90. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/yaml.cjs +1 -0
  91. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/yaml.js +189 -0
  92. package/dist/packages/components/aside/index.vue.cjs +1 -0
  93. package/dist/packages/components/aside/index.vue.js +98 -0
  94. package/dist/packages/components/aside/index.vue2.cjs +1 -0
  95. package/dist/packages/components/aside/index.vue2.js +4 -0
  96. package/dist/packages/components/boxurl/index.vue.cjs +1 -0
  97. package/dist/packages/components/boxurl/index.vue.js +62 -0
  98. package/dist/packages/components/boxurl/index.vue2.cjs +1 -0
  99. package/dist/packages/components/boxurl/index.vue2.js +4 -0
  100. package/dist/packages/components/choice/choice.vue.cjs +1 -0
  101. package/dist/packages/components/choice/choice.vue.js +46 -0
  102. package/dist/packages/components/choice/choice.vue2.cjs +1 -0
  103. package/dist/packages/components/choice/choice.vue2.js +4 -0
  104. package/dist/packages/components/choice/index.vue.cjs +1 -0
  105. package/dist/packages/components/choice/index.vue.js +87 -0
  106. package/dist/packages/components/choice/index.vue2.cjs +1 -0
  107. package/dist/packages/components/choice/index.vue2.js +4 -0
  108. package/dist/packages/components/code/highlight.vue.cjs +1 -0
  109. package/dist/packages/components/code/highlight.vue.js +16 -0
  110. package/dist/packages/components/code/highlight.vue2.cjs +1 -0
  111. package/dist/packages/components/code/highlight.vue2.js +20 -0
  112. package/dist/packages/components/code/index.vue.cjs +1 -0
  113. package/dist/packages/components/code/index.vue.js +115 -0
  114. package/dist/packages/components/code/index.vue2.cjs +1 -0
  115. package/dist/packages/components/code/index.vue2.js +4 -0
  116. package/dist/packages/components/compo/code.vue.cjs +1 -0
  117. package/dist/packages/components/compo/code.vue.js +21 -0
  118. package/dist/packages/components/compo/code.vue3.cjs +1 -0
  119. package/dist/packages/components/compo/code.vue3.js +5 -0
  120. package/dist/packages/components/compo/ftable.vue.cjs +1 -0
  121. package/dist/packages/components/compo/ftable.vue.js +57 -0
  122. package/dist/packages/components/compo/ftable.vue2.cjs +1 -0
  123. package/dist/packages/components/compo/ftable.vue2.js +4 -0
  124. package/dist/packages/components/compo/index.cjs +1 -0
  125. package/dist/packages/components/compo/index.js +127 -0
  126. package/dist/packages/components/compo/index.vue.cjs +1 -0
  127. package/dist/packages/components/compo/index.vue.js +79 -0
  128. package/dist/packages/components/compo/index.vue2.cjs +1 -0
  129. package/dist/packages/components/compo/index.vue2.js +4 -0
  130. package/dist/packages/components/compo/info-top.vue.cjs +1 -0
  131. package/dist/packages/components/compo/info-top.vue.js +32 -0
  132. package/dist/packages/components/compo/info-top.vue2.cjs +1 -0
  133. package/dist/packages/components/compo/info-top.vue2.js +4 -0
  134. package/dist/packages/components/compo/info.vue.cjs +1 -0
  135. package/dist/packages/components/compo/info.vue.js +41 -0
  136. package/dist/packages/components/compo/info.vue2.cjs +1 -0
  137. package/dist/packages/components/compo/info.vue2.js +4 -0
  138. package/dist/packages/components/compo/props.vue.cjs +1 -0
  139. package/dist/packages/components/compo/props.vue.js +87 -0
  140. package/dist/packages/components/compo/props.vue2.cjs +1 -0
  141. package/dist/packages/components/compo/props.vue2.js +4 -0
  142. package/dist/packages/components/compo/top.cjs +1 -0
  143. package/dist/packages/components/compo/top.js +148 -0
  144. package/dist/packages/components/header/index.vue.cjs +1 -0
  145. package/dist/packages/components/header/index.vue.js +10 -0
  146. package/dist/packages/components/main/index.vue.cjs +1 -0
  147. package/dist/packages/components/main/index.vue.js +68 -0
  148. package/dist/packages/components/main/index.vue2.cjs +1 -0
  149. package/dist/packages/components/main/index.vue2.js +4 -0
  150. package/dist/packages/components/md/index.vue.cjs +1 -0
  151. package/dist/packages/components/md/index.vue.js +56 -0
  152. package/dist/packages/components/md/index.vue2.cjs +1 -0
  153. package/dist/packages/components/md/index.vue2.js +4 -0
  154. package/dist/packages/components/test/index.cjs +1 -0
  155. package/dist/packages/components/test/index.js +105 -0
  156. package/dist/packages/components/test/index.vue.cjs +1 -0
  157. package/dist/packages/components/test/index.vue.js +75 -0
  158. package/dist/packages/components/test/index.vue2.cjs +1 -0
  159. package/dist/packages/components/test/index.vue2.js +4 -0
  160. package/dist/packages/components/test/top.cjs +1 -0
  161. package/dist/packages/components/test/top.js +148 -0
  162. package/dist/packages/components/use/code.cjs +20 -0
  163. package/dist/packages/components/use/code.js +212 -0
  164. package/dist/packages/components/use/code.vue.cjs +1 -0
  165. package/dist/packages/components/use/code.vue.js +66 -0
  166. package/dist/packages/components/use/code.vue2.cjs +1 -0
  167. package/dist/packages/components/use/code.vue2.js +4 -0
  168. package/dist/packages/components/use/edit.cjs +18 -0
  169. package/dist/packages/components/use/edit.js +214 -0
  170. package/dist/packages/components/use/effect.vue.cjs +1 -0
  171. package/dist/packages/components/use/effect.vue.js +12 -0
  172. package/dist/packages/components/use/index.cjs +1 -0
  173. package/dist/packages/components/use/index.js +196 -0
  174. package/dist/packages/components/use/prettier.cjs +1 -0
  175. package/dist/packages/components/use/prettier.js +40 -0
  176. package/dist/packages/components/use/retrie/any/index.vue.cjs +1 -0
  177. package/dist/packages/components/use/retrie/any/index.vue.js +115 -0
  178. package/dist/packages/components/use/retrie/any/index.vue2.cjs +1 -0
  179. package/dist/packages/components/use/retrie/any/index.vue2.js +4 -0
  180. package/dist/packages/components/use/retrie/array/index.vue.cjs +3 -0
  181. package/dist/packages/components/use/retrie/array/index.vue.js +55 -0
  182. package/dist/packages/components/use/retrie/array/index.vue2.cjs +1 -0
  183. package/dist/packages/components/use/retrie/array/index.vue2.js +4 -0
  184. package/dist/packages/components/use/retrie/boolean/index.vue.cjs +1 -0
  185. package/dist/packages/components/use/retrie/boolean/index.vue.js +68 -0
  186. package/dist/packages/components/use/retrie/boolean/index.vue3.cjs +1 -0
  187. package/dist/packages/components/use/retrie/boolean/index.vue3.js +5 -0
  188. package/dist/packages/components/use/retrie/choice/index.vue.cjs +1 -0
  189. package/dist/packages/components/use/retrie/choice/index.vue.js +142 -0
  190. package/dist/packages/components/use/retrie/choice/index.vue3.cjs +1 -0
  191. package/dist/packages/components/use/retrie/choice/index.vue3.js +5 -0
  192. package/dist/packages/components/use/retrie/expose/index.vue.cjs +1 -0
  193. package/dist/packages/components/use/retrie/expose/index.vue.js +63 -0
  194. package/dist/packages/components/use/retrie/expose/index.vue3.cjs +1 -0
  195. package/dist/packages/components/use/retrie/expose/index.vue3.js +5 -0
  196. package/dist/packages/components/use/retrie/form/index.vue.cjs +1 -0
  197. package/dist/packages/components/use/retrie/form/index.vue.js +148 -0
  198. package/dist/packages/components/use/retrie/form/index.vue2.cjs +1 -0
  199. package/dist/packages/components/use/retrie/form/index.vue2.js +4 -0
  200. package/dist/packages/components/use/retrie/function/index.vue.cjs +3 -0
  201. package/dist/packages/components/use/retrie/function/index.vue.js +68 -0
  202. package/dist/packages/components/use/retrie/function/index.vue2.cjs +1 -0
  203. package/dist/packages/components/use/retrie/function/index.vue2.js +4 -0
  204. package/dist/packages/components/use/retrie/index.vue.cjs +1 -0
  205. package/dist/packages/components/use/retrie/index.vue.js +103 -0
  206. package/dist/packages/components/use/retrie/index.vue3.cjs +1 -0
  207. package/dist/packages/components/use/retrie/index.vue3.js +5 -0
  208. package/dist/packages/components/use/retrie/input/editor/editor.cjs +1 -0
  209. package/dist/packages/components/use/retrie/input/editor/editor.js +104 -0
  210. package/dist/packages/components/use/retrie/input/editor/editor.vue.cjs +5 -0
  211. package/dist/packages/components/use/retrie/input/editor/editor.vue.js +59 -0
  212. package/dist/packages/components/use/retrie/input/editor/editor.vue3.cjs +1 -0
  213. package/dist/packages/components/use/retrie/input/editor/editor.vue3.js +5 -0
  214. package/dist/packages/components/use/retrie/input/editor/getExtraLib.cjs +416 -0
  215. package/dist/packages/components/use/retrie/input/editor/getExtraLib.js +427 -0
  216. package/dist/packages/components/use/retrie/input/index.vue.cjs +1 -0
  217. package/dist/packages/components/use/retrie/input/index.vue.js +54 -0
  218. package/dist/packages/components/use/retrie/input/index.vue3.cjs +1 -0
  219. package/dist/packages/components/use/retrie/input/index.vue3.js +5 -0
  220. package/dist/packages/components/use/retrie/input/text.vue.cjs +5 -0
  221. package/dist/packages/components/use/retrie/input/text.vue.js +39 -0
  222. package/dist/packages/components/use/retrie/input/text.vue3.cjs +1 -0
  223. package/dist/packages/components/use/retrie/input/text.vue3.js +5 -0
  224. package/dist/packages/components/use/retrie/number/index.vue.cjs +1 -0
  225. package/dist/packages/components/use/retrie/number/index.vue.js +50 -0
  226. package/dist/packages/components/use/retrie/number/index.vue3.cjs +1 -0
  227. package/dist/packages/components/use/retrie/number/index.vue3.js +5 -0
  228. package/dist/packages/components/use/retrie/object/index.vue.cjs +3 -0
  229. package/dist/packages/components/use/retrie/object/index.vue.js +55 -0
  230. package/dist/packages/components/use/retrie/object/index.vue2.cjs +1 -0
  231. package/dist/packages/components/use/retrie/object/index.vue2.js +4 -0
  232. package/dist/packages/components/use/retrie/other/index.vue.cjs +1 -0
  233. package/dist/packages/components/use/retrie/other/index.vue.js +67 -0
  234. package/dist/packages/components/use/retrie/other/index.vue2.cjs +1 -0
  235. package/dist/packages/components/use/retrie/other/index.vue2.js +4 -0
  236. package/dist/packages/components/use/retrie/select/index.vue.cjs +1 -0
  237. package/dist/packages/components/use/retrie/select/index.vue.js +123 -0
  238. package/dist/packages/components/use/retrie/select/index.vue3.cjs +1 -0
  239. package/dist/packages/components/use/retrie/select/index.vue3.js +5 -0
  240. package/dist/packages/components/use/retrie/slot/index.vue.cjs +1 -0
  241. package/dist/packages/components/use/retrie/slot/index.vue.js +43 -0
  242. package/dist/packages/components/use/retrie/slot/index.vue2.cjs +1 -0
  243. package/dist/packages/components/use/retrie/slot/index.vue2.js +4 -0
  244. package/dist/packages/components/use/retrie/string/index.vue.cjs +1 -0
  245. package/dist/packages/components/use/retrie/string/index.vue.js +53 -0
  246. package/dist/packages/components/use/retrie/string/index.vue3.cjs +1 -0
  247. package/dist/packages/components/use/retrie/string/index.vue3.js +5 -0
  248. package/dist/packages/components/use/set-code.vue.cjs +1 -0
  249. package/dist/packages/components/use/set-code.vue.js +63 -0
  250. package/dist/packages/components/use/set-code.vue2.cjs +1 -0
  251. package/dist/packages/components/use/set-code.vue2.js +4 -0
  252. package/dist/packages/components/use/set-emit.vue.cjs +1 -0
  253. package/dist/packages/components/use/set-emit.vue.js +50 -0
  254. package/dist/packages/components/use/set-emit.vue3.cjs +1 -0
  255. package/dist/packages/components/use/set-emit.vue3.js +5 -0
  256. package/dist/packages/components/use/set-expose.vue.cjs +1 -0
  257. package/dist/packages/components/use/set-expose.vue.js +66 -0
  258. package/dist/packages/components/use/set-expose.vue3.cjs +1 -0
  259. package/dist/packages/components/use/set-expose.vue3.js +5 -0
  260. package/dist/packages/components/use/set-props.vue.cjs +1 -0
  261. package/dist/packages/components/use/set-props.vue.js +71 -0
  262. package/dist/packages/components/use/set-props.vue2.cjs +1 -0
  263. package/dist/packages/components/use/set-props.vue2.js +4 -0
  264. package/dist/packages/components/use/set-slot.vue.cjs +1 -0
  265. package/dist/packages/components/use/set-slot.vue.js +45 -0
  266. package/dist/packages/components/use/set-slot.vue2.cjs +1 -0
  267. package/dist/packages/components/use/set-slot.vue2.js +4 -0
  268. package/dist/packages/components/use/util.cjs +3 -0
  269. package/dist/packages/components/use/util.js +294 -0
  270. package/dist/packages/config.cjs +1 -0
  271. package/dist/packages/config.js +14 -0
  272. package/dist/packages/directives/adjust/index.cjs +1 -0
  273. package/dist/packages/directives/adjust/index.js +246 -0
  274. package/dist/packages/index/index.vue.cjs +1 -0
  275. package/dist/packages/index/index.vue.js +4 -0
  276. package/dist/packages/index/index.vue2.cjs +1 -0
  277. package/dist/packages/index/index.vue2.js +14 -0
  278. package/dist/packages/index.cjs +1 -0
  279. package/dist/packages/index.d.ts +1 -0
  280. package/dist/packages/index.js +20 -0
  281. package/dist/packages/page/compon/index.vue.cjs +1 -0
  282. package/dist/packages/page/compon/index.vue.js +4 -0
  283. package/dist/packages/page/compon/index.vue2.cjs +1 -0
  284. package/dist/packages/page/compon/index.vue2.js +21 -0
  285. package/dist/packages/page/comprops/index.vue.cjs +1 -0
  286. package/dist/packages/page/comprops/index.vue.js +4 -0
  287. package/dist/packages/page/comprops/index.vue2.cjs +1 -0
  288. package/dist/packages/page/comprops/index.vue2.js +91 -0
  289. package/dist/packages/page/develop/index.vue.cjs +1 -0
  290. package/dist/packages/page/develop/index.vue.js +4 -0
  291. package/dist/packages/page/develop/index.vue2.cjs +1 -0
  292. package/dist/packages/page/develop/index.vue2.js +26 -0
  293. package/dist/packages/page/edit/index.vue.cjs +1 -0
  294. package/dist/packages/page/edit/index.vue.js +4 -0
  295. package/dist/packages/page/edit/index.vue2.cjs +1 -0
  296. package/dist/packages/page/edit/index.vue2.js +27 -0
  297. package/dist/packages/page/index/index.vue.cjs +1 -0
  298. package/dist/packages/page/index/index.vue.js +4 -0
  299. package/dist/packages/page/index/index.vue2.cjs +1 -0
  300. package/dist/packages/page/index/index.vue2.js +61 -0
  301. package/dist/packages/page/single/index.vue.cjs +1 -0
  302. package/dist/packages/page/single/index.vue.js +4 -0
  303. package/dist/packages/page/single/index.vue2.cjs +1 -0
  304. package/dist/packages/page/single/index.vue2.js +60 -0
  305. package/dist/packages/page/tests/index.vue.cjs +1 -0
  306. package/dist/packages/page/tests/index.vue.js +4 -0
  307. package/dist/packages/page/tests/index.vue2.cjs +1 -0
  308. package/dist/packages/page/tests/index.vue2.js +67 -0
  309. package/dist/packages/router/file.cjs +1 -0
  310. package/dist/packages/router/file.js +44 -0
  311. package/dist/packages/router/index.cjs +1 -0
  312. package/dist/packages/router/index.js +122 -0
  313. package/dist/packages/utils/annotat.cjs +1 -0
  314. package/dist/packages/utils/annotat.js +322 -0
  315. package/dist/packages/utils/common.cjs +1 -0
  316. package/dist/packages/utils/common.js +200 -0
  317. package/dist/packages/utils/glob.cjs +5 -0
  318. package/dist/packages/utils/glob.js +502 -0
  319. package/dist/packages/utils/index.cjs +1 -0
  320. package/dist/packages/utils/index.js +14 -0
  321. package/dist/packages/utils/props.cjs +1 -0
  322. package/dist/packages/utils/props.js +110 -0
  323. package/dist/packages/utils/storage.cjs +1 -0
  324. package/dist/packages/utils/storage.js +34 -0
  325. package/dist/packages/utils/util.cjs +1 -0
  326. package/dist/packages/utils/util.js +46 -0
  327. package/package.json +5 -5
  328. package/dist/config.cjs +0 -1
  329. package/dist/config.js +0 -11
  330. package/dist/index/index.cjs +0 -1
  331. package/dist/index/index.js +0 -5
  332. package/dist/index/index.vue_vue_type_script_setup_true_lang.cjs +0 -1
  333. package/dist/index/index.vue_vue_type_script_setup_true_lang.js +0 -12
  334. package/dist/index.cjs +0 -1
  335. package/dist/index.js +0 -15
  336. package/dist/router/file.cjs +0 -1
  337. package/dist/router/file.js +0 -32
  338. package/dist/router/index.cjs +0 -1
  339. package/dist/router/index.js +0 -45
  340. package/dist/utils/storage.cjs +0 -1
  341. package/dist/utils/storage.js +0 -23
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),d=require("./retrie/slot/index.vue.cjs"),_={key:0,class:"set-slot"},g=e.defineComponent({__name:"set-slot",props:{list:{type:Array},name:String},emits:["change"],setup(c,{emit:i}){const o=c,a=e.ref([]),u=i;function m(t){return t.name+": ("+t.selectable+") "+t.description}function p(t,n){let r=n.name||"default";u("change",r,t[0])}return(t,n)=>o.list&&o.list.length>0?(e.openBlock(),e.createElementBlock("div",_,[n[0]||(n[0]=e.createElementVNode("div",null,"当前作用域参数使用 scope ,使用 template 来渲染",-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.list,(r,l)=>(e.openBlock(),e.createElementBlock("div",{key:l},[e.createElementVNode("div",null,e.toDisplayString(m(r)),1),e.createElementVNode("div",{class:e.normalizeClass(["form-item",{error:a.value[l]}])},[e.createVNode(d,{onError:s=>{a.value[l]=s},onChange:(...s)=>{p(s,r)},value:r},null,8,["onError","onChange","value"])],2)]))),128))])):e.createCommentVNode("",!0)}});module.exports=g;
@@ -0,0 +1,45 @@
1
+ import { defineComponent as g, ref as _, openBlock as l, createElementBlock as a, createElementVNode as i, Fragment as v, renderList as h, toDisplayString as C, normalizeClass as y, createVNode as k, createCommentVNode as E } from "vue";
2
+ import N from "./retrie/slot/index.vue.js";
3
+ const V = {
4
+ key: 0,
5
+ class: "set-slot"
6
+ }, L = /* @__PURE__ */ g({
7
+ __name: "set-slot",
8
+ props: {
9
+ list: { type: Array },
10
+ name: String
11
+ },
12
+ emits: ["change"],
13
+ setup(c, { emit: u }) {
14
+ const r = c, m = _([]), p = u;
15
+ function d(e) {
16
+ return e.name + ": (" + e.selectable + ") " + e.description;
17
+ }
18
+ function f(e, t) {
19
+ let n = t.name || "default";
20
+ p("change", n, e[0]);
21
+ }
22
+ return (e, t) => r.list && r.list.length > 0 ? (l(), a("div", V, [
23
+ t[0] || (t[0] = i("div", null, "当前作用域参数使用 scope ,使用 template 来渲染", -1)),
24
+ (l(!0), a(v, null, h(r.list, (n, o) => (l(), a("div", { key: o }, [
25
+ i("div", null, C(d(n)), 1),
26
+ i("div", {
27
+ class: y(["form-item", { error: m.value[o] }])
28
+ }, [
29
+ k(N, {
30
+ onError: (s) => {
31
+ m.value[o] = s;
32
+ },
33
+ onChange: (...s) => {
34
+ f(s, n);
35
+ },
36
+ value: n
37
+ }, null, 8, ["onError", "onChange", "value"])
38
+ ], 2)
39
+ ]))), 128))
40
+ ])) : E("", !0);
41
+ }
42
+ });
43
+ export {
44
+ L as default
45
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("./set-slot.vue.cjs");module.exports=e;
@@ -0,0 +1,4 @@
1
+ import f from "./set-slot.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("../../config.cjs"),v=require("@fangzhongya/utils/basic/string/toFunction"),T=require("@fangzhongya/utils/basic/string/firstLower");let o=e=>e;const l=b.getConfig("prettier");l&&Promise.resolve().then(()=>require("./prettier.cjs")).then(e=>{o=e.getFormat});function a(e){return l?o(e,"js"):e.replace(/\;(\s|\n\r)*$/,"")}async function F(e){return e="let a = "+e,(await a(e)).replace(/^let a = /,"")}function j(e){return a(e)}async function w(e){return!/^\s*function/.test(e)&&!/^\s*\([^\)]*\)\s*\=\>/.test(e)?(e="function a"+e,(await a(e)).replace(/^function a/,"")):await a(e)}function $(e){return l?o(e,"html"):e}function O(e){return l?o(e,"ts"):e}function W(e){return l?o(e,"js"):e}function A(e){return l?o(e,"css"):e}function S(e,t=""){let r=(e+"").trim().split(/\n/);return r=r.map(n=>t+n),r.join(`
2
+ `)}function p(e=""){e=e.trim();let t=`[\\s|\\n|\\r]*\\{((.|
3
+ |\r)+?)\\}[\\s|\\n|\\r]*`,n=new RegExp("^"+t+"$").exec(e);return n&&n.length>0?p(n[1]):e}const k=["Boolean","Any","String","Number","Array","Object","Function"];function q(e){return k.includes(e)?T.firstLower(e):e}function C(e){if(typeof e=="string"){let t=!1;return(/^\'(.|\n|\r)*\'$/.test(e)||/^\"(.|\n|\r)*\"$/.test(e)||/^\`(.|\n|\r)*\`$/.test(e))&&(t=!0),t&&(e=e.substring(1,e.length-1)),e+""}else return typeof e=="object"&&e?e.toString():typeof e>"u"||typeof e=="object"&&!e?"":e+""}function x(e){const t=typeof e;if(t=="string"){e=(e+"").replace(/^(\s|\n|r)*/,"").replace(/(\s|\n|r)*$/,"");let r="";return/^\'(.|\n|\r)*\'$/.test(e)||/^\"(.|\n|\r)*\"$/.test(e)||/^\`(.|\n|\r)*\`$/.test(e)?r="string":/^\[(.|\n|\r)*\]$/.test(e)?r="array":/^\{(.|\n|\r)*\}$/.test(e)?r="object":/^[0-9]*$/.test(e)?r="number":e==="true"||e==="false"?r="boolean":e=="undefined"?r="undefined":e=="null"?r="null":e&&(r="string"),r}else return t==="object"?e instanceof Array?"array":t===null?"null":t:t}const c=(e,t)=>{let r=[],n=[],i="";for(let u=0;u<e.length;u++){const s=e[u];s==="["||s==="<"||s==="("?(r.push(s),i+=s):s==="]"&&r.length>0&&r[r.length-1]==="["||s===">"&&r.length>0&&r[r.length-1]==="<"||s===")"&&r.length>0&&r[r.length-1]==="("?(r.pop(),i+=s):s===t&&r.length===0?(n.push(i.trim()),i=""):i+=s}return i.trim()!==""&&n.push(i.trim()),n},L=e=>{let t=[],r=!1,n=!1,i=0;for(let u=0;u<e.length;u++){const s=e[u];if(s==="["||s==="<"||s==="("?(n=!0,t.push(s),s=="["&&(r=!0),i==0&&(i=u)):(s==="]"&&t[t.length-1]==="["||s===">"&&t[t.length-1]==="<"||s===")"&&t[t.length-1]==="(")&&t.pop(),n&&t.length===0)return r&&i+1==u?{top:"Array",type:e.substring(0,i)}:{top:e.substring(0,i),type:e.substring(i+1,u)}}return{top:e,type:""}},g=e=>{if(e)if(e.startsWith("[")&&e.endsWith("]")||e.startsWith("(")&&e.endsWith(")")){const t=e.slice(1,-1).trim();return t?c(t,","):["any"]}else{if(e.startsWith("{")&&e.endsWith("}"))return["Object"];if(e.startsWith("<")&&e.endsWith(">")){const t=e.slice(1,-1).trim();return t?c(t,"|"):["any"]}else return c(e,",")}else return["any"]};function y(e){return e.map(r=>{if(typeof r=="string")return r.toLowerCase()==="array"?"Array<any>":r;if(r.children&&r.children.length>0){const n=y(r.children);return r.value+"<"+n+">"}else{const n=r.value;return n.toLowerCase()==="array"?"Array<any>":n}}).join(" | ")||"any"}function h(e){const t=[];return e.forEach(r=>{const n=L(r);if(n.type){const i=g(n.type),u=h(i);t.push({label:r,value:n.top,children:u})}else t.push(n.top)}),t}function E(e){let t="";return typeof e=="string"?t=e:t=e.value,q(t||"any")}function f(e){const t=e[0]||"any";return E(t)}function d(e){const t=e[0];switch(f(e)){case"string":return'""';case"boolean":return"false";case"number":return"0";case"array":if(typeof t=="string")return"[]";{let n=t.children;if(n&&n.length>0){let i=d([n[0]]);return i=i=="undefined"?"":i,`[${i}]`}else return"[]"}case"object":return"{}";case"function":return"()=>{}";case"any":return'""';default:return"undefined"}}function m(e){const t=Object.prototype.toString.call(e);let n=/^\[[O|o]bject (.*)\]$/.exec(t),i=typeof e;return n&&n.length>0&&(i=n[1].toLowerCase()),i}function B(e,t){const r=m(e),n=f(t);return n&&n!="any"?r==n:!0}const N=["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","implements","interface","let","package","private","protected","public","static","true","false","null","undefined","any","boolean","number","string","object","symbol","unknown","never","void","undefined","null","type","interface","enum","as","is","infer","unique","abstract","readonly","namespace","module","declare","require","get","set","async","await","from","of","package"];Object.defineProperty(exports,"getFunctionFormat",{enumerable:!0,get:()=>v.getFunctionFormat});exports.allReservedWords=N;exports.getDataType=h;exports.getDataTypeType=f;exports.getFunBody=p;exports.getObjType=m;exports.getString=C;exports.getTypeValue=d;exports.isDefaultType=x;exports.isTypeEqual=B;exports.parseTypeDefinition=g;exports.prettierArrFormat=j;exports.prettierCss=A;exports.prettierFormat=a;exports.prettierFunFormat=w;exports.prettierHtml=$;exports.prettierJs=W;exports.prettierObjFormat=F;exports.prettierTs=O;exports.setDataType=y;exports.vueFormat=S;
@@ -0,0 +1,294 @@
1
+ import { getConfig as p } from "../../config.js";
2
+ import { getFunctionFormat as H } from "@fangzhongya/utils/basic/string/toFunction";
3
+ import { firstLower as g } from "@fangzhongya/utils/basic/string/firstLower";
4
+ let l = (e) => e;
5
+ const o = p("prettier");
6
+ o && import("./prettier.js").then((e) => {
7
+ l = e.getFormat;
8
+ });
9
+ function a(e) {
10
+ return o ? l(e, "js") : e.replace(/\;(\s|\n\r)*$/, "");
11
+ }
12
+ async function k(e) {
13
+ return e = "let a = " + e, (await a(e)).replace(/^let a = /, "");
14
+ }
15
+ function A(e) {
16
+ return a(e);
17
+ }
18
+ async function x(e) {
19
+ return !/^\s*function/.test(e) && !/^\s*\([^\)]*\)\s*\=\>/.test(e) ? (e = "function a" + e, (await a(e)).replace(/^function a/, "")) : await a(e);
20
+ }
21
+ function O(e) {
22
+ return o ? l(e, "html") : e;
23
+ }
24
+ function S(e) {
25
+ return o ? l(e, "ts") : e;
26
+ }
27
+ function C(e) {
28
+ return o ? l(e, "js") : e;
29
+ }
30
+ function L(e) {
31
+ return o ? l(e, "css") : e;
32
+ }
33
+ function q(e, t = "") {
34
+ let r = (e + "").trim().split(/\n/);
35
+ return r = r.map((n) => t + n), r.join(`
36
+ `);
37
+ }
38
+ function y(e = "") {
39
+ e = e.trim();
40
+ let t = `[\\s|\\n|\\r]*\\{((.|
41
+ |\r)+?)\\}[\\s|\\n|\\r]*`, n = new RegExp("^" + t + "$").exec(e);
42
+ return n && n.length > 0 ? y(n[1]) : e;
43
+ }
44
+ const h = [
45
+ "Boolean",
46
+ "Any",
47
+ "String",
48
+ "Number",
49
+ "Array",
50
+ "Object",
51
+ "Function"
52
+ ];
53
+ function d(e) {
54
+ return h.includes(e) ? g(e) : e;
55
+ }
56
+ function E(e) {
57
+ if (typeof e == "string") {
58
+ let t = !1;
59
+ return (/^\'(.|\n|\r)*\'$/.test(e) || /^\"(.|\n|\r)*\"$/.test(e) || /^\`(.|\n|\r)*\`$/.test(e)) && (t = !0), t && (e = e.substring(1, e.length - 1)), e + "";
60
+ } else return typeof e == "object" && e ? e.toString() : typeof e > "u" || typeof e == "object" && !e ? "" : e + "";
61
+ }
62
+ function N(e) {
63
+ const t = typeof e;
64
+ if (t == "string") {
65
+ e = (e + "").replace(/^(\s|\n|r)*/, "").replace(/(\s|\n|r)*$/, "");
66
+ let r = "";
67
+ return /^\'(.|\n|\r)*\'$/.test(e) || /^\"(.|\n|\r)*\"$/.test(e) || /^\`(.|\n|\r)*\`$/.test(e) ? r = "string" : /^\[(.|\n|\r)*\]$/.test(e) ? r = "array" : /^\{(.|\n|\r)*\}$/.test(e) ? r = "object" : /^[0-9]*$/.test(e) ? r = "number" : e === "true" || e === "false" ? r = "boolean" : e == "undefined" ? r = "undefined" : e == "null" ? r = "null" : e && (r = "string"), r;
68
+ } else
69
+ return t === "object" ? e instanceof Array ? "array" : t === null ? "null" : t : t;
70
+ }
71
+ const c = (e, t) => {
72
+ let r = [], n = [], i = "";
73
+ for (let u = 0; u < e.length; u++) {
74
+ const s = e[u];
75
+ s === "[" || s === "<" || s === "(" ? (r.push(s), i += s) : s === "]" && r.length > 0 && r[r.length - 1] === "[" || s === ">" && r.length > 0 && r[r.length - 1] === "<" || s === ")" && r.length > 0 && r[r.length - 1] === "(" ? (r.pop(), i += s) : s === t && r.length === 0 ? (n.push(i.trim()), i = "") : i += s;
76
+ }
77
+ return i.trim() !== "" && n.push(i.trim()), n;
78
+ }, m = (e) => {
79
+ let t = [], r = !1, n = !1, i = 0;
80
+ for (let u = 0; u < e.length; u++) {
81
+ const s = e[u];
82
+ if (s === "[" || s === "<" || s === "(" ? (n = !0, t.push(s), s == "[" && (r = !0), i == 0 && (i = u)) : (s === "]" && t[t.length - 1] === "[" || s === ">" && t[t.length - 1] === "<" || s === ")" && t[t.length - 1] === "(") && t.pop(), n && t.length === 0)
83
+ return r && i + 1 == u ? {
84
+ top: "Array",
85
+ type: e.substring(0, i)
86
+ } : {
87
+ top: e.substring(0, i),
88
+ type: e.substring(i + 1, u)
89
+ };
90
+ }
91
+ return {
92
+ top: e,
93
+ type: ""
94
+ };
95
+ }, b = (e) => {
96
+ if (e)
97
+ if (e.startsWith("[") && e.endsWith("]") || e.startsWith("(") && e.endsWith(")")) {
98
+ const t = e.slice(1, -1).trim();
99
+ return t ? c(t, ",") : ["any"];
100
+ } else {
101
+ if (e.startsWith("{") && e.endsWith("}"))
102
+ return ["Object"];
103
+ if (e.startsWith("<") && e.endsWith(">")) {
104
+ const t = e.slice(1, -1).trim();
105
+ return t ? c(t, "|") : ["any"];
106
+ } else
107
+ return c(e, ",");
108
+ }
109
+ else return ["any"];
110
+ };
111
+ function v(e) {
112
+ return e.map((r) => {
113
+ if (typeof r == "string")
114
+ return r.toLowerCase() === "array" ? "Array<any>" : r;
115
+ if (r.children && r.children.length > 0) {
116
+ const n = v(r.children);
117
+ return r.value + "<" + n + ">";
118
+ } else {
119
+ const n = r.value;
120
+ return n.toLowerCase() === "array" ? "Array<any>" : n;
121
+ }
122
+ }).join(" | ") || "any";
123
+ }
124
+ function j(e) {
125
+ const t = [];
126
+ return e.forEach((r) => {
127
+ const n = m(r);
128
+ if (n.type) {
129
+ const i = b(n.type), u = j(i);
130
+ t.push({
131
+ label: r,
132
+ value: n.top,
133
+ children: u
134
+ });
135
+ } else
136
+ t.push(n.top);
137
+ }), t;
138
+ }
139
+ function w(e) {
140
+ let t = "";
141
+ return typeof e == "string" ? t = e : t = e.value, d(t || "any");
142
+ }
143
+ function f(e) {
144
+ const t = e[0] || "any";
145
+ return w(t);
146
+ }
147
+ function T(e) {
148
+ const t = e[0];
149
+ switch (f(e)) {
150
+ case "string":
151
+ return '""';
152
+ case "boolean":
153
+ return "false";
154
+ case "number":
155
+ return "0";
156
+ case "array":
157
+ if (typeof t == "string")
158
+ return "[]";
159
+ {
160
+ let n = t.children;
161
+ if (n && n.length > 0) {
162
+ let i = T([n[0]]);
163
+ return i = i == "undefined" ? "" : i, `[${i}]`;
164
+ } else
165
+ return "[]";
166
+ }
167
+ case "object":
168
+ return "{}";
169
+ case "function":
170
+ return "()=>{}";
171
+ case "any":
172
+ return '""';
173
+ default:
174
+ return "undefined";
175
+ }
176
+ }
177
+ function $(e) {
178
+ const t = Object.prototype.toString.call(e);
179
+ let n = /^\[[O|o]bject (.*)\]$/.exec(t), i = typeof e;
180
+ return n && n.length > 0 && (i = n[1].toLowerCase()), i;
181
+ }
182
+ function z(e, t) {
183
+ const r = $(e), n = f(t);
184
+ return n && n != "any" ? r == n : !0;
185
+ }
186
+ const B = [
187
+ // JavaScript 基本关键字
188
+ "break",
189
+ "case",
190
+ "catch",
191
+ "class",
192
+ "const",
193
+ "continue",
194
+ "debugger",
195
+ "default",
196
+ "delete",
197
+ "do",
198
+ "else",
199
+ "export",
200
+ "extends",
201
+ "finally",
202
+ "for",
203
+ "function",
204
+ "if",
205
+ "import",
206
+ "in",
207
+ "instanceof",
208
+ "new",
209
+ "return",
210
+ "super",
211
+ "switch",
212
+ "this",
213
+ "throw",
214
+ "try",
215
+ "typeof",
216
+ "var",
217
+ "void",
218
+ "while",
219
+ "with",
220
+ "yield",
221
+ // 严格模式下的保留字
222
+ "implements",
223
+ "interface",
224
+ "let",
225
+ "package",
226
+ "private",
227
+ "protected",
228
+ "public",
229
+ "static",
230
+ // 字面量值
231
+ "true",
232
+ "false",
233
+ "null",
234
+ "undefined",
235
+ // TypeScript 特有类型关键字
236
+ "any",
237
+ "boolean",
238
+ "number",
239
+ "string",
240
+ "object",
241
+ "symbol",
242
+ "unknown",
243
+ "never",
244
+ "void",
245
+ "undefined",
246
+ "null",
247
+ // TypeScript 类型操作与定义
248
+ "type",
249
+ "interface",
250
+ "enum",
251
+ "as",
252
+ "is",
253
+ "infer",
254
+ "unique",
255
+ // TypeScript 类修饰符
256
+ "abstract",
257
+ "readonly",
258
+ // TypeScript 模块与声明
259
+ "namespace",
260
+ "module",
261
+ "declare",
262
+ "require",
263
+ // 其他(访问器、未来保留字等)
264
+ "get",
265
+ "set",
266
+ "async",
267
+ "await",
268
+ "from",
269
+ "of",
270
+ "package"
271
+ ];
272
+ export {
273
+ B as allReservedWords,
274
+ j as getDataType,
275
+ f as getDataTypeType,
276
+ y as getFunBody,
277
+ H as getFunctionFormat,
278
+ $ as getObjType,
279
+ E as getString,
280
+ T as getTypeValue,
281
+ N as isDefaultType,
282
+ z as isTypeEqual,
283
+ b as parseTypeDefinition,
284
+ A as prettierArrFormat,
285
+ L as prettierCss,
286
+ a as prettierFormat,
287
+ x as prettierFunFormat,
288
+ O as prettierHtml,
289
+ C as prettierJs,
290
+ k as prettierObjFormat,
291
+ S as prettierTs,
292
+ v as setDataType,
293
+ q as vueFormat
294
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@fangzhongya/utils/basic/object/mergeObject"),n={components:[]};function o(e){return t.mergeObject(n,e,2)}function r(e){return n[e]}exports.getConfig=r;exports.userConfig=o;
@@ -0,0 +1,14 @@
1
+ import { mergeObject as t } from "@fangzhongya/utils/basic/object/mergeObject";
2
+ const o = {
3
+ components: []
4
+ };
5
+ function r(n) {
6
+ return t(o, n, 2);
7
+ }
8
+ function c(n) {
9
+ return o[n];
10
+ }
11
+ export {
12
+ c as getConfig,
13
+ r as userConfig
14
+ };
@@ -0,0 +1 @@
1
+ "use strict";const T=require("@fangzhongya/utils/name/lineToSmallHump"),V=require("@fangzhongya/utils/css/getCss"),H=require("@fangzhongya/utils/basic/string/splitUpper"),U=require("@fangzhongya/utils/dom/getShiftEvent"),r=require("@fangzhongya/utils/css/setCss"),L=14,w=14,C=1e3,h="px";function q(s){const t=["left","right","top","bottom","width","height"],n={};return t.forEach(e=>{s?n[e]=Number(V.getCss(s,e).replace(/[a-z|A-Z]*$/,"")):n[e]=0}),n}function B(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 I(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 F(s,t){return t=="bottom"||t=="right"?B(s):I(s)}function M(){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 R(){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 P(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 W(s,t){const n=H.splitUpper(s);if(n.length==1)return s=="bottom"||s=="top"?(e,i)=>t&&t()?C:i[s]-e.pageY:s=="right"||s=="left"?(e,i)=>t&&t()?C:i[s]-e.pageX:(e,i)=>t&&t()?C:0;{const e=n[0],i=n[1];return(o,l)=>{if(t&&t())return C;const c=l[e]-o.pageY,f=l[i]-o.pageX;return f<w&&f>0-w&&c<L&&c>0-w?0:C}}}function Z(s){if(s=="bottom"||s=="top"){const t=M();return{show:()=>{r.setCss(t,"display","block")},set:n=>{r.setCss(t,"top",n+h)}}}else if(s=="right"||s=="left"){const t=R();return{show:()=>{r.setCss(t,"display","block")},set:n=>{r.setCss(t,"left",n+h)}}}else{const t=R(),n=M();return{show:()=>{r.setCss(t,"display","block"),r.setCss(n,"display","block")},set:(e,i)=>{r.setCss(t,"left",e+h),r.setCss(n,"top",i+h)}}}}function $(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,l=i.clientY-n.clientY+e.top;t(o,l)}:s=="bottomRight"?(n,e,i)=>{const o=i.clientX-n.clientX+e.right,l=i.clientY-n.clientY+e.bottom;t(o,l)}:s=="topLeft"?(n,e,i)=>{const o=i.clientX-n.clientX+e.left,l=i.clientY-n.clientY+e.top;t(o,l)}:s=="bottomLeft"?(n,e,i)=>{const o=i.clientX-n.clientX+e.left,l=i.clientY-n.clientY+e.bottom;t(o,l)}:(n,e,i)=>{const o=i.clientX-n.clientX+e.right,l=i.clientY-n.clientY+e.top;t(o,l)}}function v(s,t,n){return s=="bottom"?(e,i,o,l,c)=>{const f=l.height+i;f>0&&(r.setCss(e,"height",f+h),t&&r.setCss(t,"height",c.height-i+h))}:s=="top"?(e,i,o,l,c)=>{const f=l.height+i;f>0&&(r.setCss(e,"height",f+h),t&&r.setCss(t,"height",c.height-i+h),n&&r.setCss(e,"top",l.top-i+h))}:s=="right"?(e,i,o,l,c)=>{const f=l.width+i;f>0&&(r.setCss(e,"width",f+h),t&&r.setCss(t,"width",c.width-i+h))}:s=="left"?(e,i,o,l,c)=>{const f=l.width+i;f>0&&(r.setCss(e,"width",f+h),t&&r.setCss(t,"width",c.width-i+h),n&&r.setCss(e,"left",l.left-i+h))}:s=="topRight"?(e,i,o,l,c)=>{const f=l.width+i;f>0&&(r.setCss(e,"width",f+h),t&&r.setCss(t,"width",c.width-i+h));const u=l.height+o;u>0&&(r.setCss(e,"height",u+h),t&&r.setCss(t,"height",c.height-o+h),n&&r.setCss(e,"top",l.top-o+h))}:s=="bottomRight"?(e,i,o,l,c)=>{const f=l.width+i;f>0&&(r.setCss(e,"width",f+h),t&&r.setCss(t,"width",c.width-i+h));const u=l.height+o;u>0&&(r.setCss(e,"height",u+h),t&&r.setCss(t,"height",c.height-o+h))}:s=="topLeft"?(e,i,o,l,c)=>{const f=l.width+i;f>0&&(r.setCss(e,"width",f+h),t&&r.setCss(t,"width",c.width-i+h),n&&r.setCss(e,"left",l.left-i+h));const u=l.height+o;u>0&&(r.setCss(e,"height",u+h),t&&r.setCss(t,"height",c.height-o+h),n&&r.setCss(e,"top",l.top-o+h))}:s=="bottomLeft"?(e,i,o,l,c)=>{const f=l.width+i;f>0&&(r.setCss(e,"width",f+h),t&&r.setCss(t,"width",c.width-i+h),n&&r.setCss(e,"left",l.left-i+h));const u=l.height+o;u>0&&(r.setCss(e,"height",u+h),t&&r.setCss(t,"height",c.height-o+h))}:(e,i,o,l,c)=>{}}const G=["bottom","top","right","left","topRight","bottomRight","topLeft","bottomLeft"];function J(s,t,n){t=T.lineToSmallHump(t);let e={};n.adjoin&&(typeof n.adjoin=="boolean"?e.adjoin=F(s,t):typeof n.adjoin=="string"?e.adjoin=s.parentElement?.querySelector(n.adjoin):e.adjoin=n.adjoin),e.cursor=P(t),e.domObj=Z(t),e.setMousemove=$(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=v(t,e.adjoin,n.position),e.setMouseup=(o,l,c,f)=>{let u=0,d=0;t=="bottom"?u=l.clientY-o.clientY:t=="top"?u=o.clientY-l.clientY:t=="right"?u=l.clientX-o.clientX:t=="left"?u=o.clientX-l.clientX:t=="topRight"?(d=o.clientY-l.clientY,u=l.clientX-o.clientX):t=="bottomRight"?(d=l.clientY-o.clientY,u=l.clientX-o.clientX):t=="topLeft"?(d=o.clientY-l.clientY,u=o.clientX-l.clientX):t=="bottomLeft"&&(d=l.clientY-o.clientY,u=o.clientX-l.clientX),e.setValue(s,u,d,c,f)};const i=W(t,n.getDisabled);return(o,l)=>{const c=i(o,l);if(c<L&&c>0-L)return e}}function K(s,t){return(s.all?G:Object.keys(s)).sort((e,i)=>i.length-e.length).map(e=>{const i=s.all?s.all:s[e];return J(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 b=!0;for(let x=0;x<l.length;x++){const O=l[x](g,X);if(O)return c=O,p=!0,b=!1,f.cursor=c.cursor,!0}if(b)return p=!1,f.cursor=u,!1},o=function(){f.cursor=u,d=!0,p=!1,r.setCss(M(),"display","none"),r.setCss(R(),"display","none")};const l=K(n,s);let c;const f=document.body.style,u=f.cursor;let d=!0,p=!1,X,Y,a;const S=g=>{d&&(X=s.getBoundingClientRect(),i(g))},A=g=>{d&&o()};let m;const N=g=>{c.setMousemove(m,X,g),e&&c.setMouseup(m,g,Y,a)},z=g=>{p&&c.setMouseup(m,g,Y,a),o()},D=(g,b)=>{p&&(m=g,Y=q(s),a=q(c.adjoin),d=!1,c.setMousedown(g),f.cursor=c.cursor,U.shiftEvent(b,document,N,z))};s.addEventListener("mousemove",S),s.addEventListener("mouseout",A),s.addEventListener("mousedown",g=>{p&&D(g,"mouse")})}}};module.exports=Q;
@@ -0,0 +1,246 @@
1
+ import { lineToSmallHump as q } from "@fangzhongya/utils/name/lineToSmallHump";
2
+ import { getCss as T } from "@fangzhongya/utils/css/getCss";
3
+ import { splitUpper as B } from "@fangzhongya/utils/basic/string/splitUpper";
4
+ import { shiftEvent as H } from "@fangzhongya/utils/dom/getShiftEvent";
5
+ import { setCss as r } from "@fangzhongya/utils/css/setCss";
6
+ const M = 14, L = 14, m = 1e3, h = "px";
7
+ function A(i) {
8
+ const t = ["left", "right", "top", "bottom", "width", "height"], o = {};
9
+ return t.forEach((e) => {
10
+ i ? o[e] = Number(T(i, e).replace(/[a-z|A-Z]*$/, "")) : o[e] = 0;
11
+ }), o;
12
+ }
13
+ function I(i, t) {
14
+ t || (t = i.parentElement || i);
15
+ const o = t.childNodes;
16
+ let e = 0, n = o.length;
17
+ for (; e < o.length; e++) {
18
+ const s = o[e];
19
+ if (s === i && (n = e), n < e && s.nodeType == 1)
20
+ break;
21
+ }
22
+ return o[e];
23
+ }
24
+ function U(i, t) {
25
+ t || (t = i.parentElement || i);
26
+ const o = t.childNodes;
27
+ let e = o.length - 1, n = -1;
28
+ for (; e >= 0; e--) {
29
+ const s = o[e];
30
+ if (s === i && (n = e), n > e && s.nodeType == 1)
31
+ break;
32
+ }
33
+ return o[e];
34
+ }
35
+ function F(i, t) {
36
+ return t == "bottom" || t == "right" ? I(i) : U(i);
37
+ }
38
+ function R() {
39
+ const i = document.querySelector(".v-adjust-xux-height");
40
+ if (i)
41
+ return i;
42
+ {
43
+ const t = document.createElement("div");
44
+ 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;
45
+ }
46
+ }
47
+ function O() {
48
+ const i = document.querySelector(".v-adjust-xux-width");
49
+ if (i)
50
+ return i;
51
+ {
52
+ const t = document.createElement("div");
53
+ 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;
54
+ }
55
+ }
56
+ function P(i) {
57
+ return i == "bottom" || i == "top" ? "row-resize" : i == "right" || i == "left" ? "col-resize" : i == "topRight" ? "ne-resize" : i == "topLeft" ? "nw-resize" : i == "bottomRight" ? "se-resize" : i == "bottomLeft" ? "sw-resize" : "";
58
+ }
59
+ function W(i, t) {
60
+ const o = B(i);
61
+ if (o.length == 1)
62
+ return i == "bottom" || i == "top" ? (e, n) => t && t() ? m : n[i] - e.pageY : i == "right" || i == "left" ? (e, n) => t && t() ? m : n[i] - e.pageX : (e, n) => t && t() ? m : 0;
63
+ {
64
+ const e = o[0], n = o[1];
65
+ return (s, l) => {
66
+ if (t && t())
67
+ return m;
68
+ const c = l[e] - s.pageY, f = l[n] - s.pageX;
69
+ return f < L && f > 0 - L && c < M && c > 0 - L ? 0 : m;
70
+ };
71
+ }
72
+ }
73
+ function Z(i) {
74
+ if (i == "bottom" || i == "top") {
75
+ const t = R();
76
+ return {
77
+ show: () => {
78
+ r(t, "display", "block");
79
+ },
80
+ set: (o) => {
81
+ r(t, "top", o + h);
82
+ }
83
+ };
84
+ } else if (i == "right" || i == "left") {
85
+ const t = O();
86
+ return {
87
+ show: () => {
88
+ r(t, "display", "block");
89
+ },
90
+ set: (o) => {
91
+ r(t, "left", o + h);
92
+ }
93
+ };
94
+ } else {
95
+ const t = O(), o = R();
96
+ return {
97
+ show: () => {
98
+ r(t, "display", "block"), r(o, "display", "block");
99
+ },
100
+ set: (e, n) => {
101
+ r(t, "left", e + h), r(o, "top", n + h);
102
+ }
103
+ };
104
+ }
105
+ }
106
+ function $(i, t) {
107
+ return i == "bottom" ? (o, e, n) => {
108
+ const s = n.clientY - o.clientY + e.bottom;
109
+ t(s, 0);
110
+ } : i == "top" ? (o, e, n) => {
111
+ const s = n.clientY - o.clientY + e.top;
112
+ t(s, 0);
113
+ } : i == "right" ? (o, e, n) => {
114
+ const s = n.clientX - o.clientX + e.right;
115
+ t(s, 0);
116
+ } : i == "left" ? (o, e, n) => {
117
+ const s = n.clientX - o.clientX + e.left;
118
+ t(s, 0);
119
+ } : i == "topRight" ? (o, e, n) => {
120
+ const s = n.clientX - o.clientX + e.right, l = n.clientY - o.clientY + e.top;
121
+ t(s, l);
122
+ } : i == "bottomRight" ? (o, e, n) => {
123
+ const s = n.clientX - o.clientX + e.right, l = n.clientY - o.clientY + e.bottom;
124
+ t(s, l);
125
+ } : i == "topLeft" ? (o, e, n) => {
126
+ const s = n.clientX - o.clientX + e.left, l = n.clientY - o.clientY + e.top;
127
+ t(s, l);
128
+ } : i == "bottomLeft" ? (o, e, n) => {
129
+ const s = n.clientX - o.clientX + e.left, l = n.clientY - o.clientY + e.bottom;
130
+ t(s, l);
131
+ } : (o, e, n) => {
132
+ const s = n.clientX - o.clientX + e.right, l = n.clientY - o.clientY + e.top;
133
+ t(s, l);
134
+ };
135
+ }
136
+ function G(i, t, o) {
137
+ return i == "bottom" ? (e, n, s, l, c) => {
138
+ const f = l.height + n;
139
+ f > 0 && (r(e, "height", f + h), t && r(t, "height", c.height - n + h));
140
+ } : i == "top" ? (e, n, s, l, c) => {
141
+ const f = l.height + n;
142
+ f > 0 && (r(e, "height", f + h), t && r(t, "height", c.height - n + h), o && r(e, "top", l.top - n + h));
143
+ } : i == "right" ? (e, n, s, l, c) => {
144
+ const f = l.width + n;
145
+ f > 0 && (r(e, "width", f + h), t && r(t, "width", c.width - n + h));
146
+ } : i == "left" ? (e, n, s, l, c) => {
147
+ const f = l.width + n;
148
+ f > 0 && (r(e, "width", f + h), t && r(t, "width", c.width - n + h), o && r(e, "left", l.left - n + h));
149
+ } : i == "topRight" ? (e, n, s, l, c) => {
150
+ const f = l.width + n;
151
+ f > 0 && (r(e, "width", f + h), t && r(t, "width", c.width - n + h));
152
+ const u = l.height + s;
153
+ u > 0 && (r(e, "height", u + h), t && r(t, "height", c.height - s + h), o && r(e, "top", l.top - s + h));
154
+ } : i == "bottomRight" ? (e, n, s, l, c) => {
155
+ const f = l.width + n;
156
+ f > 0 && (r(e, "width", f + h), t && r(t, "width", c.width - n + h));
157
+ const u = l.height + s;
158
+ u > 0 && (r(e, "height", u + h), t && r(t, "height", c.height - s + h));
159
+ } : i == "topLeft" ? (e, n, s, l, c) => {
160
+ const f = l.width + n;
161
+ f > 0 && (r(e, "width", f + h), t && r(t, "width", c.width - n + h), o && r(e, "left", l.left - n + h));
162
+ const u = l.height + s;
163
+ u > 0 && (r(e, "height", u + h), t && r(t, "height", c.height - s + h), o && r(e, "top", l.top - s + h));
164
+ } : i == "bottomLeft" ? (e, n, s, l, c) => {
165
+ const f = l.width + n;
166
+ f > 0 && (r(e, "width", f + h), t && r(t, "width", c.width - n + h), o && r(e, "left", l.left - n + h));
167
+ const u = l.height + s;
168
+ u > 0 && (r(e, "height", u + h), t && r(t, "height", c.height - s + h));
169
+ } : (e, n, s, l, c) => {
170
+ };
171
+ }
172
+ const J = [
173
+ "bottom",
174
+ "top",
175
+ "right",
176
+ "left",
177
+ "topRight",
178
+ "bottomRight",
179
+ "topLeft",
180
+ "bottomLeft"
181
+ ];
182
+ function K(i, t, o) {
183
+ t = q(t);
184
+ let e = {};
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) => {
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();
187
+ }, e.setValue = G(t, e.adjoin, o.position), e.setMouseup = (s, l, c, f) => {
188
+ let u = 0, d = 0;
189
+ t == "bottom" ? u = l.clientY - s.clientY : t == "top" ? u = s.clientY - l.clientY : t == "right" ? u = l.clientX - s.clientX : t == "left" ? u = s.clientX - l.clientX : t == "topRight" ? (d = s.clientY - l.clientY, u = l.clientX - s.clientX) : t == "bottomRight" ? (d = l.clientY - s.clientY, u = l.clientX - s.clientX) : t == "topLeft" ? (d = s.clientY - l.clientY, u = s.clientX - l.clientX) : t == "bottomLeft" && (d = l.clientY - s.clientY, u = s.clientX - l.clientX), e.setValue(i, u, d, c, f);
190
+ };
191
+ const n = W(t, o.getDisabled);
192
+ return (s, l) => {
193
+ const c = n(s, l);
194
+ if (c < M && c > 0 - M)
195
+ return e;
196
+ };
197
+ }
198
+ function Q(i, t) {
199
+ return (i.all ? J : Object.keys(i)).sort((e, n) => n.length - e.length).map((e) => {
200
+ const n = i.all ? i.all : i[e];
201
+ return K(t, e, n);
202
+ });
203
+ }
204
+ const k = {
205
+ name: "Adjust",
206
+ mounted(i, t) {
207
+ const o = t.value, e = o.often;
208
+ if (delete o.often, o && Object.keys(o).length > 0) {
209
+ let n = function(g) {
210
+ let X = !0;
211
+ for (let w = 0; w < l.length; w++) {
212
+ const C = l[w](g, a);
213
+ if (C)
214
+ return c = C, p = !0, X = !1, f.cursor = c.cursor, !0;
215
+ }
216
+ if (X)
217
+ return p = !1, f.cursor = u, !1;
218
+ }, s = function() {
219
+ f.cursor = u, d = !0, p = !1, r(R(), "display", "none"), r(O(), "display", "none");
220
+ };
221
+ const l = Q(o, i);
222
+ let c;
223
+ const f = document.body.style, u = f.cursor;
224
+ let d = !0, p = !1, a, Y, x;
225
+ const N = (g) => {
226
+ d && (a = i.getBoundingClientRect(), n(g));
227
+ }, S = (g) => {
228
+ d && s();
229
+ };
230
+ let b;
231
+ const z = (g) => {
232
+ c.setMousemove(b, a, g), e && c.setMouseup(b, g, Y, x);
233
+ }, D = (g) => {
234
+ p && c.setMouseup(b, g, Y, x), s();
235
+ }, V = (g, X) => {
236
+ p && (b = g, Y = A(i), x = A(c.adjoin), d = !1, c.setMousedown(g), f.cursor = c.cursor, H(X, document, z, D));
237
+ };
238
+ i.addEventListener("mousemove", N), i.addEventListener("mouseout", S), i.addEventListener("mousedown", (g) => {
239
+ p && V(g, "mouse");
240
+ });
241
+ }
242
+ }
243
+ };
244
+ export {
245
+ k as default
246
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("./index.vue2.cjs");module.exports=e;
@@ -0,0 +1,4 @@
1
+ import f from "./index.vue2.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue");;/* empty css */const t=require("vue-router"),r={class:"__document"},n=e.defineComponent({__name:"index",setup(o){return(c,s)=>(e.openBlock(),e.createElementBlock("div",r,[e.createVNode(e.unref(t.RouterView))]))}});module.exports=n;