rappel-ui 1.0.7 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (351) hide show
  1. package/cjs/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/defineProperty.js +1 -0
  2. package/cjs/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/toPrimitive.js +1 -0
  3. package/cjs/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/toPropertyKey.js +1 -0
  4. package/cjs/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/typeof.js +1 -0
  5. package/cjs/_virtual/_plugin-vue_export-helper.js +1 -1
  6. package/cjs/_virtual/_rolldown/runtime.js +1 -0
  7. package/cjs/components/button/index.d.ts +38 -12
  8. package/cjs/components/button/index.js +1 -1
  9. package/cjs/components/button/src/button-group.js +1 -0
  10. package/cjs/components/button/src/button-group.vue_vue_type_script_setup_true_lang.js +1 -0
  11. package/cjs/components/button/src/button.js +1 -0
  12. package/cjs/components/button/src/button.vue_vue_type_script_setup_true_lang.js +1 -0
  13. package/cjs/components/button/src/constants.d.ts +4 -4
  14. package/cjs/components/button/src/constants.js +1 -1
  15. package/cjs/components/button/src/types.d.ts +20 -4
  16. package/cjs/components/button/style/index.js +1 -0
  17. package/cjs/components/button-group/style/css.d.ts +0 -0
  18. package/cjs/components/button-group/style/index.d.ts +0 -0
  19. package/cjs/components/button-group/style/index.js +1 -0
  20. package/cjs/components/colors/index.js +1 -1
  21. package/cjs/components/colors/src/colors.js +1 -0
  22. package/cjs/components/colors/src/colors.vue_vue_type_script_setup_true_lang.js +1 -0
  23. package/cjs/components/colors/src/neutral-color.js +1 -0
  24. package/cjs/components/colors/src/neutral-color.vue_vue_type_script_setup_true_lang.js +1 -0
  25. package/cjs/components/colors/src/primary-color.js +1 -0
  26. package/cjs/components/colors/src/primary-color.vue_vue_type_script_setup_true_lang.js +1 -0
  27. package/cjs/components/colors/src/secondary-color.js +1 -0
  28. package/cjs/components/colors/src/secondary-color.vue_vue_type_script_setup_true_lang.js +1 -0
  29. package/cjs/components/colors/style/index.js +1 -0
  30. package/cjs/components/filter-panel/index.d.ts +74 -0
  31. package/cjs/components/filter-panel/index.js +1 -0
  32. package/cjs/components/filter-panel/src/constants.d.ts +1 -0
  33. package/cjs/components/filter-panel/src/filter-panel.js +1 -0
  34. package/cjs/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.js +1 -0
  35. package/cjs/components/filter-panel/src/types.d.ts +17 -0
  36. package/cjs/components/filter-panel/style/css.d.ts +0 -0
  37. package/cjs/components/filter-panel/style/index.d.ts +0 -0
  38. package/cjs/components/filter-panel/style/index.js +1 -0
  39. package/cjs/components/index.d.ts +4 -0
  40. package/cjs/components/index.js +1 -1
  41. package/cjs/components/input/index.d.ts +1 -1
  42. package/cjs/components/input/index.js +1 -1
  43. package/cjs/components/input/src/input.js +1 -0
  44. package/cjs/components/input/src/input.vue_vue_type_script_setup_true_lang.js +1 -0
  45. package/cjs/components/package.js +1 -0
  46. package/cjs/components/popover/index.d.ts +21 -0
  47. package/cjs/components/popover/index.js +1 -0
  48. package/cjs/components/popover/src/popover.js +1 -0
  49. package/cjs/components/popover/src/popover.vue_vue_type_script_setup_true_lang.js +1 -0
  50. package/cjs/components/popover/src/types.d.ts +4 -0
  51. package/cjs/components/popover/style/css.d.ts +0 -0
  52. package/cjs/components/popover/style/index.d.ts +0 -0
  53. package/cjs/components/svg-icon/index.d.ts +3 -0
  54. package/cjs/components/svg-icon/index.js +1 -0
  55. package/cjs/components/svg-icon/src/svg-icon.js +1 -0
  56. package/cjs/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.js +1 -0
  57. package/cjs/components/svg-icon/src/types.d.ts +8 -0
  58. package/cjs/components/svg-icon/style/css.d.ts +0 -0
  59. package/cjs/components/svg-icon/style/index.d.ts +0 -0
  60. package/cjs/components/svg-icon/style/index.js +1 -0
  61. package/cjs/components/tabs/index.d.ts +2 -2
  62. package/cjs/components/tabs/index.js +1 -1
  63. package/cjs/components/tabs/src/tabs.js +1 -0
  64. package/cjs/components/tooltip/index.d.ts +106 -0
  65. package/cjs/components/tooltip/index.js +1 -0
  66. package/cjs/components/tooltip/src/constants.d.ts +7 -0
  67. package/cjs/components/tooltip/src/constants.js +1 -0
  68. package/cjs/components/tooltip/src/content.js +1 -0
  69. package/cjs/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.js +1 -0
  70. package/cjs/components/tooltip/src/tooltip.js +1 -0
  71. package/cjs/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.js +1 -0
  72. package/cjs/components/tooltip/src/types.d.ts +98 -0
  73. package/cjs/components/tooltip/src/use-emit.d.ts +14 -0
  74. package/cjs/components/tooltip/src/use-emit.js +1 -0
  75. package/cjs/components/tooltip/src/use-tooltip.d.ts +9 -0
  76. package/cjs/components/tooltip/src/use-tooltip.js +1 -0
  77. package/cjs/components/tooltip/style/css.d.ts +0 -0
  78. package/cjs/components/tooltip/style/index.d.ts +0 -0
  79. package/cjs/composables/index.d.ts +7 -5
  80. package/cjs/composables/index.js +1 -0
  81. package/cjs/composables/use-date-format/index.js +1 -0
  82. package/cjs/composables/use-draggable/index.js +1 -0
  83. package/cjs/composables/use-namespace/index.d.ts +8 -7
  84. package/cjs/composables/use-namespace/index.js +1 -1
  85. package/cjs/composables/{useOnceFn.d.ts → use-once-fn/index.d.ts} +1 -1
  86. package/cjs/composables/use-once-fn/index.js +1 -0
  87. package/cjs/composables/use-theme/index.d.ts +7 -0
  88. package/cjs/composables/use-theme/index.js +1 -0
  89. package/cjs/composables/use-time-nodes/index.js +1 -0
  90. package/cjs/composables/use-waterfall-layout/index.js +1 -0
  91. package/cjs/composables/use-z-index/index.d.ts +11 -0
  92. package/cjs/composables/use-z-index/index.js +1 -0
  93. package/cjs/constants/svgLoading.js +2 -2
  94. package/cjs/directives/index.js +1 -0
  95. package/cjs/directives/vDraggable.js +1 -1
  96. package/cjs/directives/vResizable.js +7 -7
  97. package/cjs/directives/vSvgLoading.js +1 -1
  98. package/cjs/index.d.ts +1254 -17
  99. package/cjs/index.js +1 -1
  100. package/cjs/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +1 -0
  101. package/cjs/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +1 -0
  102. package/cjs/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +1 -0
  103. package/cjs/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +1 -0
  104. package/cjs/node_modules/.pnpm/@floating-ui_vue@2.0.1_vue@3.5.26_typescript@5.9.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.js +1 -0
  105. package/cjs/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +1 -0
  106. package/cjs/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +1 -0
  107. package/cjs/rappel-ui/resolver.d.ts +3 -1
  108. package/cjs/rappel-ui/resolver.js +1 -1
  109. package/cjs/svg-icons/constants.d.ts +3 -0
  110. package/cjs/svg-icons/constants.js +1 -0
  111. package/cjs/svg-icons/index.d.ts +1010 -0
  112. package/cjs/svg-icons/index.js +1 -0
  113. package/cjs/svg-icons/types.d.ts +5 -0
  114. package/cjs/theme-chalk/src/base.css +1 -1
  115. package/cjs/theme-chalk/src/button-group.css +1 -0
  116. package/cjs/theme-chalk/src/button.css +1 -1
  117. package/cjs/theme-chalk/src/colors.css +1 -1
  118. package/cjs/theme-chalk/src/filter-panel.css +1 -0
  119. package/cjs/theme-chalk/src/svg-icon.css +1 -0
  120. package/cjs/types/common.d.ts +1 -0
  121. package/cjs/types/component.d.ts +1 -0
  122. package/cjs/types/event.d.ts +1 -0
  123. package/cjs/types/index.d.ts +4 -0
  124. package/cjs/types/theme.d.ts +1 -0
  125. package/cjs/utils/index.js +1 -0
  126. package/cjs/utils/util.d.ts +33 -6
  127. package/cjs/utils/util.js +3 -3
  128. package/cjs/utils/vue/index.d.ts +4 -0
  129. package/cjs/utils/vue/index.js +1 -1
  130. package/es/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/defineProperty.mjs +12 -0
  131. package/es/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/toPrimitive.mjs +14 -0
  132. package/es/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/toPropertyKey.mjs +9 -0
  133. package/es/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/typeof.mjs +11 -0
  134. package/es/_virtual/_plugin-vue_export-helper.mjs +7 -8
  135. package/es/_virtual/_rolldown/runtime.mjs +11 -0
  136. package/es/components/button/index.d.ts +38 -12
  137. package/es/components/button/index.mjs +9 -7
  138. package/es/components/button/src/button-group.mjs +5 -0
  139. package/es/components/button/src/button-group.vue_vue_type_script_setup_true_lang.mjs +25 -0
  140. package/es/components/button/src/button.mjs +5 -0
  141. package/es/components/button/src/button.vue_vue_type_script_setup_true_lang.mjs +140 -0
  142. package/es/components/button/src/constants.d.ts +4 -4
  143. package/es/components/button/src/constants.mjs +20 -5
  144. package/es/components/button/src/types.d.ts +20 -4
  145. package/es/components/button/style/index.mjs +2 -0
  146. package/es/components/button-group/style/css.d.ts +0 -0
  147. package/es/components/button-group/style/index.d.ts +0 -0
  148. package/es/components/button-group/style/index.mjs +2 -0
  149. package/es/components/colors/index.mjs +13 -16
  150. package/es/components/colors/src/colors.mjs +5 -0
  151. package/es/components/colors/src/colors.vue_vue_type_script_setup_true_lang.mjs +21 -0
  152. package/es/components/colors/src/neutral-color.mjs +5 -0
  153. package/es/components/colors/src/neutral-color.vue_vue_type_script_setup_true_lang.mjs +103 -0
  154. package/es/components/colors/src/primary-color.mjs +5 -0
  155. package/es/components/colors/src/primary-color.vue_vue_type_script_setup_true_lang.mjs +38 -0
  156. package/es/components/colors/src/secondary-color.mjs +5 -0
  157. package/es/components/colors/src/secondary-color.vue_vue_type_script_setup_true_lang.mjs +56 -0
  158. package/es/components/colors/style/index.mjs +2 -0
  159. package/es/components/filter-panel/index.d.ts +74 -0
  160. package/es/components/filter-panel/index.mjs +7 -0
  161. package/es/components/filter-panel/src/constants.d.ts +1 -0
  162. package/es/components/filter-panel/src/filter-panel.mjs +5 -0
  163. package/es/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.mjs +130 -0
  164. package/es/components/filter-panel/src/types.d.ts +17 -0
  165. package/es/components/filter-panel/style/css.d.ts +0 -0
  166. package/es/components/filter-panel/style/index.d.ts +0 -0
  167. package/es/components/filter-panel/style/index.mjs +2 -0
  168. package/es/components/index.d.ts +4 -0
  169. package/es/components/index.mjs +32 -14
  170. package/es/components/input/index.d.ts +1 -1
  171. package/es/components/input/index.mjs +7 -7
  172. package/es/components/input/src/input.mjs +5 -0
  173. package/es/components/input/src/input.vue_vue_type_script_setup_true_lang.mjs +21 -0
  174. package/es/components/package.mjs +4 -0
  175. package/es/components/popover/index.d.ts +21 -0
  176. package/es/components/popover/index.mjs +7 -0
  177. package/es/components/popover/src/popover.mjs +5 -0
  178. package/es/components/popover/src/popover.vue_vue_type_script_setup_true_lang.mjs +164 -0
  179. package/es/components/popover/src/types.d.ts +4 -0
  180. package/es/components/popover/style/css.d.ts +0 -0
  181. package/es/components/popover/style/index.d.ts +0 -0
  182. package/es/components/svg-icon/index.d.ts +3 -0
  183. package/es/components/svg-icon/index.mjs +7 -0
  184. package/es/components/svg-icon/src/svg-icon.mjs +5 -0
  185. package/es/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +52 -0
  186. package/es/components/svg-icon/src/types.d.ts +8 -0
  187. package/es/components/svg-icon/style/css.d.ts +0 -0
  188. package/es/components/svg-icon/style/index.d.ts +0 -0
  189. package/es/components/svg-icon/style/index.mjs +2 -0
  190. package/es/components/tabs/index.d.ts +2 -2
  191. package/es/components/tabs/index.mjs +7 -7
  192. package/es/components/tabs/src/tabs.mjs +11 -0
  193. package/es/components/tooltip/index.d.ts +106 -0
  194. package/es/components/tooltip/index.mjs +7 -0
  195. package/es/components/tooltip/src/constants.d.ts +7 -0
  196. package/es/components/tooltip/src/constants.mjs +13 -0
  197. package/es/components/tooltip/src/content.mjs +5 -0
  198. package/es/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.mjs +158 -0
  199. package/es/components/tooltip/src/tooltip.mjs +5 -0
  200. package/es/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.mjs +258 -0
  201. package/es/components/tooltip/src/types.d.ts +98 -0
  202. package/es/components/tooltip/src/use-emit.d.ts +14 -0
  203. package/es/components/tooltip/src/use-emit.mjs +17 -0
  204. package/es/components/tooltip/src/use-tooltip.d.ts +9 -0
  205. package/es/components/tooltip/src/use-tooltip.mjs +103 -0
  206. package/es/components/tooltip/style/css.d.ts +0 -0
  207. package/es/components/tooltip/style/index.d.ts +0 -0
  208. package/es/composables/index.d.ts +7 -5
  209. package/es/composables/index.mjs +9 -0
  210. package/es/composables/use-date-format/index.mjs +20 -0
  211. package/es/composables/use-draggable/index.mjs +61 -0
  212. package/es/composables/use-namespace/index.d.ts +8 -7
  213. package/es/composables/use-namespace/index.mjs +21 -20
  214. package/es/composables/{useOnceFn.d.ts → use-once-fn/index.d.ts} +1 -1
  215. package/es/composables/use-once-fn/index.mjs +30 -0
  216. package/es/composables/use-theme/index.d.ts +7 -0
  217. package/es/composables/use-theme/index.mjs +23 -0
  218. package/es/composables/use-time-nodes/index.mjs +25 -0
  219. package/es/composables/use-waterfall-layout/index.mjs +46 -0
  220. package/es/composables/use-z-index/index.d.ts +11 -0
  221. package/es/composables/use-z-index/index.mjs +17 -0
  222. package/es/constants/svgLoading.mjs +4 -39
  223. package/es/directives/index.mjs +4 -0
  224. package/es/directives/vDraggable.mjs +13 -12
  225. package/es/directives/vResizable.mjs +115 -115
  226. package/es/directives/vSvgLoading.mjs +46 -47
  227. package/es/index.d.ts +1254 -17
  228. package/es/index.mjs +44 -74
  229. package/es/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +276 -0
  230. package/es/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +322 -0
  231. package/es/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +99 -0
  232. package/es/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +101 -0
  233. package/es/node_modules/.pnpm/@floating-ui_vue@2.0.1_vue@3.5.26_typescript@5.9.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs +111 -0
  234. package/es/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +450 -0
  235. package/es/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +121 -0
  236. package/es/rappel-ui/resolver.d.ts +3 -1
  237. package/es/rappel-ui/resolver.mjs +16 -17
  238. package/es/svg-icons/constants.d.ts +3 -0
  239. package/es/svg-icons/constants.mjs +114 -0
  240. package/es/svg-icons/index.d.ts +1010 -0
  241. package/es/svg-icons/index.mjs +72 -0
  242. package/es/svg-icons/types.d.ts +5 -0
  243. package/es/theme-chalk/src/base.css +1 -1
  244. package/es/theme-chalk/src/button-group.css +1 -0
  245. package/es/theme-chalk/src/button.css +1 -1
  246. package/es/theme-chalk/src/colors.css +1 -1
  247. package/es/theme-chalk/src/filter-panel.css +1 -0
  248. package/es/theme-chalk/src/svg-icon.css +1 -0
  249. package/es/types/common.d.ts +1 -0
  250. package/es/types/component.d.ts +1 -0
  251. package/es/types/event.d.ts +1 -0
  252. package/es/types/index.d.ts +4 -0
  253. package/es/types/theme.d.ts +1 -0
  254. package/es/utils/index.mjs +3 -0
  255. package/es/utils/util.d.ts +33 -6
  256. package/es/utils/util.mjs +198 -151
  257. package/es/utils/vue/index.d.ts +4 -0
  258. package/es/utils/vue/index.mjs +33 -32
  259. package/package.json +2 -2
  260. package/theme-chalk/base.css +131 -54
  261. package/theme-chalk/css-vars/_button-group.css +15 -0
  262. package/theme-chalk/css-vars/_button.css +6 -26
  263. package/theme-chalk/css-vars/_colors.css +9 -27
  264. package/theme-chalk/css-vars/_tooltip.css +15 -0
  265. package/theme-chalk/function/_button.css +6 -26
  266. package/theme-chalk/function/index.css +6 -26
  267. package/theme-chalk/index.css +830 -222
  268. package/theme-chalk/mixins/_base.css +15 -0
  269. package/theme-chalk/mixins/_button.css +7 -24
  270. package/theme-chalk/mixins/_tooltip.css +18 -0
  271. package/theme-chalk/mixins/index.css +7 -24
  272. package/theme-chalk/re-button-group.css +68 -0
  273. package/theme-chalk/re-button.css +556 -192
  274. package/theme-chalk/re-colors.css +10 -23
  275. package/theme-chalk/re-filter-panel.css +36 -0
  276. package/theme-chalk/re-popover.css +30 -0
  277. package/theme-chalk/re-svg-icon.css +33 -0
  278. package/theme-chalk/re-tooltip.css +62 -0
  279. package/theme-chalk/root-vars.css +121 -52
  280. package/theme-chalk/src/base.scss +16 -14
  281. package/theme-chalk/src/button-group.scss +63 -0
  282. package/theme-chalk/src/button.scss +50 -21
  283. package/theme-chalk/src/colors.scss +9 -1
  284. package/theme-chalk/src/css-vars/_button-group.scss +12 -0
  285. package/theme-chalk/src/css-vars/_button.scss +44 -3
  286. package/theme-chalk/src/css-vars/_colors.scss +55 -12
  287. package/theme-chalk/src/css-vars/_namespace.scss +3 -1
  288. package/theme-chalk/src/css-vars/_tooltip.scss +23 -0
  289. package/theme-chalk/src/filter-panel.scss +21 -0
  290. package/theme-chalk/src/function/index.scss +55 -47
  291. package/theme-chalk/src/index.scss +8 -3
  292. package/theme-chalk/src/mixins/_base.scss +14 -0
  293. package/theme-chalk/src/mixins/_button.scss +135 -55
  294. package/theme-chalk/src/mixins/_tooltip.scss +37 -0
  295. package/theme-chalk/src/mixins/index.scss +38 -3
  296. package/theme-chalk/src/popover.scss +17 -0
  297. package/theme-chalk/src/root-vars.scss +7 -0
  298. package/theme-chalk/src/svg-icon.scss +19 -0
  299. package/theme-chalk/src/tooltip.scss +61 -0
  300. package/umd/index.js +10 -11
  301. package/cjs/components/button/src/button.d.ts +0 -3
  302. package/cjs/components/button/src/button.vue.js +0 -1
  303. package/cjs/components/button/src/button.vue2.js +0 -1
  304. package/cjs/components/colors/src/colors.vue.js +0 -1
  305. package/cjs/components/colors/src/colors.vue2.js +0 -1
  306. package/cjs/components/colors/src/neutral-color.vue.js +0 -1
  307. package/cjs/components/colors/src/neutral-color.vue2.js +0 -1
  308. package/cjs/components/colors/src/primary-color.vue.js +0 -1
  309. package/cjs/components/colors/src/primary-color.vue2.js +0 -1
  310. package/cjs/components/colors/src/secondary-color.vue.js +0 -1
  311. package/cjs/components/colors/src/secondary-color.vue2.js +0 -1
  312. package/cjs/components/input/src/input.vue.js +0 -1
  313. package/cjs/components/input/src/input.vue2.js +0 -1
  314. package/cjs/components/tabs/src/tabs.vue.js +0 -1
  315. package/cjs/composables/useDateFormat.js +0 -1
  316. package/cjs/composables/useDraggable.js +0 -1
  317. package/cjs/composables/useOnceFn.js +0 -1
  318. package/cjs/composables/useTimeNodes.js +0 -1
  319. package/cjs/composables/useWaterFallLayout.js +0 -1
  320. package/cjs/package.json.js +0 -1
  321. package/es/components/button/src/button.d.ts +0 -3
  322. package/es/components/button/src/button.vue.mjs +0 -74
  323. package/es/components/button/src/button.vue2.mjs +0 -4
  324. package/es/components/colors/src/colors.vue.mjs +0 -21
  325. package/es/components/colors/src/colors.vue2.mjs +0 -4
  326. package/es/components/colors/src/neutral-color.vue.mjs +0 -199
  327. package/es/components/colors/src/neutral-color.vue2.mjs +0 -4
  328. package/es/components/colors/src/primary-color.vue.mjs +0 -38
  329. package/es/components/colors/src/primary-color.vue2.mjs +0 -4
  330. package/es/components/colors/src/secondary-color.vue.mjs +0 -61
  331. package/es/components/colors/src/secondary-color.vue2.mjs +0 -4
  332. package/es/components/input/src/input.vue.mjs +0 -15
  333. package/es/components/input/src/input.vue2.mjs +0 -4
  334. package/es/components/tabs/src/tabs.vue.mjs +0 -17
  335. package/es/composables/useDateFormat.mjs +0 -20
  336. package/es/composables/useDraggable.mjs +0 -55
  337. package/es/composables/useOnceFn.mjs +0 -32
  338. package/es/composables/useTimeNodes.mjs +0 -24
  339. package/es/composables/useWaterFallLayout.mjs +0 -51
  340. package/es/package.json.mjs +0 -4
  341. package/global.d.ts +0 -7
  342. package/theme-chalk/pu-button.css +0 -446
  343. package/theme-chalk/src/common/_function.scss +0 -46
  344. /package/cjs/composables/{useDateFormat.d.ts → use-date-format/index.d.ts} +0 -0
  345. /package/cjs/composables/{useDraggable.d.ts → use-draggable/index.d.ts} +0 -0
  346. /package/cjs/composables/{useTimeNodes.d.ts → use-time-nodes/index.d.ts} +0 -0
  347. /package/cjs/composables/{useWaterFallLayout.d.ts → use-waterfall-layout/index.d.ts} +0 -0
  348. /package/es/composables/{useDateFormat.d.ts → use-date-format/index.d.ts} +0 -0
  349. /package/es/composables/{useDraggable.d.ts → use-draggable/index.d.ts} +0 -0
  350. /package/es/composables/{useTimeNodes.d.ts → use-time-nodes/index.d.ts} +0 -0
  351. /package/es/composables/{useWaterFallLayout.d.ts → use-waterfall-layout/index.d.ts} +0 -0
@@ -0,0 +1,17 @@
1
+ //#region packages/components/tooltip/src/use-emit.ts
2
+ function e(e) {
3
+ return {
4
+ beforeShow: (t) => e("beforeShow", t),
5
+ show: (t) => e("show", t),
6
+ beforeHide: (t) => e("beforeHide", t),
7
+ hide: (t) => e("hide", t),
8
+ beforeEnter: (t) => e("beforeEnter", t),
9
+ beforeLeave: (t) => e("beforeLeave", t),
10
+ enter: (t, n) => e("enter", t, n),
11
+ leave: (t, n) => e("leave", t, n),
12
+ afterEnter: (t) => e("afterEnter", t),
13
+ afterLeave: (t) => e("afterLeave", t)
14
+ };
15
+ }
16
+ //#endregion
17
+ export { e as useEmits };
@@ -0,0 +1,9 @@
1
+ import { EffectScope } from 'vue';
2
+ import { TriggerOptions } from './types';
3
+ export declare function useTooltip({ triggerRef, isExternal, externalActiveRef, externalRef, trigger, floatingRef, open, showDelay, hideDelay, disabled }: TriggerOptions): {
4
+ start: () => void;
5
+ stop: () => void;
6
+ setup: () => {
7
+ scope: EffectScope;
8
+ };
9
+ };
@@ -0,0 +1,103 @@
1
+ import { useDebounceFn as e } from "../../../node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs";
2
+ import { onClickOutside as t, useElementHover as n, useEventListener as r } from "../../../node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs";
3
+ import { effectScope as i, unref as a, watch as o } from "vue";
4
+ //#region packages/components/tooltip/src/use-tooltip.ts
5
+ function s({ triggerRef: s, isExternal: c, externalActiveRef: l, externalRef: u, trigger: d, floatingRef: f, open: p, showDelay: m = 0, hideDelay: h = 0, disabled: g }) {
6
+ let _ = [], v = e(() => {
7
+ p.value = !0;
8
+ }, c ? 0 : m), y = e((e) => {
9
+ p.value = !1, typeof e == "function" && e();
10
+ }, c ? 0 : h), b = () => {
11
+ if (s.value) switch (d) {
12
+ case "click": {
13
+ let e = r(s, "click", v), i = n(f, {
14
+ delayEnter: 0,
15
+ delayLeave: 0,
16
+ triggerOnRemoval: !0
17
+ }), a = t(s, () => {
18
+ !i.value && y();
19
+ });
20
+ _.push(e, a);
21
+ break;
22
+ }
23
+ case "hover": {
24
+ let e = {
25
+ delayEnter: c ? 0 : m,
26
+ delayLeave: c ? 0 : h,
27
+ triggerOnRemoval: !0
28
+ }, t = n(s, e);
29
+ c && p.value && (t.value = !0);
30
+ let r, { stop: i } = o(t, (e) => {
31
+ p.value = e || (r == null ? void 0 : r.value);
32
+ }), { stop: a } = o(f, (i) => {
33
+ if (!i) return;
34
+ r = n(f, e);
35
+ let { stop: a } = o(r, (e) => {
36
+ p.value = e || t.value;
37
+ });
38
+ _.push(a);
39
+ });
40
+ _.push(i, a);
41
+ break;
42
+ }
43
+ case "focus": {
44
+ let e = r(s, "focus", v), i = n(f, {
45
+ delayEnter: 0,
46
+ delayLeave: 0,
47
+ triggerOnRemoval: !0
48
+ }), a = r(s, "blur", () => !i.value && y()), o = t(s, () => !i.value && y());
49
+ _.push(e, a, o);
50
+ break;
51
+ }
52
+ case "contextmenu": {
53
+ let e = r(s, "contextmenu", (e) => {
54
+ e.preventDefault(), v();
55
+ }), i = n(f, {
56
+ delayEnter: 0,
57
+ delayLeave: 0,
58
+ triggerOnRemoval: !0
59
+ }), a = t(s, () => !i.value && y());
60
+ _.push(e, a);
61
+ break;
62
+ }
63
+ }
64
+ }, x = () => {
65
+ _.forEach((e) => e());
66
+ }, S = () => {
67
+ p.value = !1, x();
68
+ };
69
+ return c && o(() => u == null ? void 0 : u.value, (e) => {
70
+ if (!(["click", "contextmenu"].includes(d) && l.value === e)) {
71
+ if (!l.value || !p.value) {
72
+ l.value = e, v();
73
+ return;
74
+ }
75
+ y(() => {
76
+ l.value = e, v();
77
+ });
78
+ }
79
+ }), {
80
+ start: b,
81
+ stop: S,
82
+ setup: () => {
83
+ let e = i();
84
+ return e.run(() => {
85
+ if (p.value) {
86
+ x();
87
+ return;
88
+ }
89
+ if (a(g)) {
90
+ S();
91
+ return;
92
+ }
93
+ b(), o(() => a(g), (e) => {
94
+ e ? S() : b();
95
+ }), o(s, (e) => {
96
+ e && (x(), b());
97
+ });
98
+ }), { scope: e };
99
+ }
100
+ };
101
+ }
102
+ //#endregion
103
+ export { s as useTooltip };
File without changes
File without changes
@@ -1,6 +1,8 @@
1
- export * from './useDraggable';
2
- export * from './useDateFormat';
3
- export * from './useOnceFn';
4
- export * from './useTimeNodes';
5
- export * from './useWaterFallLayout';
1
+ export * from './use-draggable';
2
+ export * from './use-date-format';
3
+ export * from './use-once-fn';
4
+ export * from './use-time-nodes';
5
+ export * from './use-waterfall-layout';
6
6
  export * from './use-namespace';
7
+ export * from './use-z-index';
8
+ export * from './use-theme';
@@ -0,0 +1,9 @@
1
+ import { useDraggable as e } from "./use-draggable/index.mjs";
2
+ import { useDateFormat as t } from "./use-date-format/index.mjs";
3
+ import { useOnceFn as n } from "./use-once-fn/index.mjs";
4
+ import { useTimeNodes as r } from "./use-time-nodes/index.mjs";
5
+ import { useWaterFallLayout as i } from "./use-waterfall-layout/index.mjs";
6
+ import { useNamespace as a } from "./use-namespace/index.mjs";
7
+ import { useZIndex as o } from "./use-z-index/index.mjs";
8
+ import { useTheme as s } from "./use-theme/index.mjs";
9
+ export { t as useDateFormat, e as useDraggable, a as useNamespace, n as useOnceFn, s as useTheme, r as useTimeNodes, i as useWaterFallLayout, o as useZIndex };
@@ -0,0 +1,20 @@
1
+ //#region packages/composables/use-date-format/index.ts
2
+ function e(e, t) {
3
+ let n = e.getFullYear(), r = e.getMonth() + 1, i = e.getDate(), a = e.getHours(), o = e.getMinutes(), s = e.getSeconds(), c = {
4
+ YYYY: String(n),
5
+ YY: String(n).substring(2),
6
+ MM: String(r).padStart(2, "0"),
7
+ M: String(r),
8
+ DD: String(i).padStart(2, "0"),
9
+ D: String(i),
10
+ HH: String(a).padStart(2, "0"),
11
+ H: String(a),
12
+ mm: String(o).padStart(2, "0"),
13
+ m: String(o),
14
+ ss: String(s).padStart(2, "0"),
15
+ s: String(s)
16
+ };
17
+ return t.replace(/(YYYY|YY|MM|M|DD|D|HH|H|mm|m|ss|s)/g, (e) => c[e]);
18
+ }
19
+ //#endregion
20
+ export { e as useDateFormat };
@@ -0,0 +1,61 @@
1
+ //#region packages/composables/use-draggable/index.ts
2
+ function e(e, t) {
3
+ if (!e) return {
4
+ updatePos: () => {},
5
+ cleanup: () => {}
6
+ };
7
+ let n = Object.assign({}, {
8
+ preventDefault: !0,
9
+ customHandler: null,
10
+ autoTopHandler: !1,
11
+ topHandlerHeight: 20,
12
+ isAllHandler: !0
13
+ }, t || {}), r = n.customHandler ? n.customHandler : n.autoTopHandler ? (() => {
14
+ let t = document.createElement("div");
15
+ return t.style.cssText = `user-select:none;height: ${n.topHandlerHeight}px; z-index:3000;cursor: move; position: absolute; top: 0; left: 0;right:0;background-color: transparent;opacity: 1;`, t.classList.add("v-draggable-top-handler"), e.appendChild(t), t;
16
+ })() : e, i = !1, a = 0, o = 0, s = 0, c = 0, l = 0, u = 0, d = 0, f = 0, p = (e) => window.getComputedStyle(e).transform, m = (e) => {
17
+ let t = p(e);
18
+ if (t && t !== "none") {
19
+ let { e, f: n, m41: r, m42: i } = new DOMMatrix(t);
20
+ return {
21
+ x: e || r || 0,
22
+ y: n || i || 0
23
+ };
24
+ }
25
+ return {
26
+ x: 0,
27
+ y: 0
28
+ };
29
+ }, h = () => {
30
+ let t = e.getBoundingClientRect(), { x: n, y: r } = m(e);
31
+ s = n, c = r, l = -t.left + n, u = -t.top + r, d = window.innerWidth - t.right + n, f = window.innerHeight - t.bottom + r;
32
+ }, g = (e) => {
33
+ let t = e.target;
34
+ return !t || t.isContentEditable || t.closest("input, textarea, button, select, a,[contenteditable], [contenteditable=\"true\"]") || [
35
+ "TEXTAREA",
36
+ "INPUT",
37
+ "BUTTON",
38
+ "A",
39
+ "SELECT"
40
+ ].includes(t == null ? void 0 : t.tagName) ? !1 : !!n.isAllHandler || t === r;
41
+ }, _ = (e) => {
42
+ g(e) && (i = !0, n.preventDefault && e.preventDefault(), h(), a = e.clientX - s, o = e.clientY - c, document.removeEventListener("pointermove", v), document.removeEventListener("pointerup", y), document.removeEventListener("pointercancel", y), document.addEventListener("pointermove", v), document.addEventListener("pointerup", y), document.addEventListener("pointercancel", y));
43
+ }, v = (t) => {
44
+ if (!i) return;
45
+ let n = t.clientX - a, r = t.clientY - o;
46
+ n = n < s ? Math.max(n, l) : Math.min(n, d), r = r < c ? Math.max(r, u) : Math.min(r, f), e.style.transform = `translate(${n}px, ${r}px)`, s = n, c = r;
47
+ }, y = () => {
48
+ i = !1, document.removeEventListener("pointermove", v), document.removeEventListener("pointerup", y), document.removeEventListener("pointercancel", y);
49
+ };
50
+ return h(), r.removeEventListener("pointerdown", _), r.addEventListener("pointerdown", _), window.removeEventListener("resize", h), window.addEventListener("resize", h), {
51
+ updatePos: h,
52
+ cleanup: e._cleanup = () => {
53
+ if (y(), r.removeEventListener("pointerdown", _), window.removeEventListener("resize", h), n.autoTopHandler && !n.customHandler) {
54
+ let t = e.querySelector(".v-draggable-top-handler");
55
+ t && t.remove();
56
+ }
57
+ }
58
+ };
59
+ }
60
+ //#endregion
61
+ export { e as useDraggable };
@@ -1,12 +1,13 @@
1
1
  export declare function useNamespace(compName: string): {
2
+ libName: string;
2
3
  prefix: string;
3
4
  statePrefix: string;
4
- n: (name: string) => string;
5
- ng: (name: string, groupName: string) => string;
6
- nm: (name: string, modifier: string) => string;
7
- ngm: (name: string, groupName: string, modifier: string) => string;
8
- ns: (name: string, subName: string) => string;
9
- ngs: (name: string, groupName: string, subName: string) => string;
5
+ n: (name?: string) => string;
6
+ ng: (groupName: string) => string;
7
+ nm: (modifier: string) => string;
8
+ ngm: (groupName: string, modifier: string) => string;
9
+ ns: (subName: string) => string;
10
+ ngs: (groupName: string, subName: string) => string;
10
11
  cls: (name: string, groupName?: string, modifier?: string, subName?: string) => string;
11
- is: (state: string, bool?: boolean | undefined | "") => string;
12
+ is: (state: string, bool?: boolean | undefined) => string;
12
13
  };
@@ -1,21 +1,22 @@
1
- function P(i) {
2
- const t = (n, s, e, r) => {
3
- let c = `re-${n || i}`;
4
- return s && (c += `-${s}`), e && (c += `--${e}`), r && (c += `__${r}`), c.toLowerCase();
5
- };
6
- return {
7
- prefix: "re",
8
- statePrefix: "is",
9
- n: (n) => t(n),
10
- ng: (n, s) => t(n, s),
11
- nm: (n, s) => t(n, "", s),
12
- ngm: (n, s, e) => t(n, s, e),
13
- ns: (n, s) => t(n, "", "", s),
14
- ngs: (n, s, e) => t(n, s, "", e),
15
- cls: t,
16
- is: (n, s = !0) => s ? `is-${n}` : ""
17
- };
1
+ //#region packages/composables/use-namespace/index.ts
2
+ function e(e) {
3
+ let t = (t, n, r, i) => {
4
+ let a = `re-${t || e}`;
5
+ return n && (a += `-${n}`), r && (a += `--${r}`), i && (a += `__${i}`), a.toLowerCase();
6
+ };
7
+ return {
8
+ libName: "rappel-ui",
9
+ prefix: "re",
10
+ statePrefix: "is",
11
+ n: (e = "") => t(e),
12
+ ng: (e) => t("", e),
13
+ nm: (e) => t("", "", e),
14
+ ngm: (e, n) => t("", e, n),
15
+ ns: (e) => t("", "", "", e),
16
+ ngs: (e, n) => t("", e, "", n),
17
+ cls: t,
18
+ is: (e, t = void 0) => t ? `is-${e}` : ""
19
+ };
18
20
  }
19
- export {
20
- P as useNamespace
21
- };
21
+ //#endregion
22
+ export { e as useNamespace };
@@ -21,4 +21,4 @@
21
21
  *
22
22
  * @returns {Promise<any>}
23
23
  */
24
- export declare function useOnceFn(funcName: Function, ...funcParams: any[]): Promise<any>;
24
+ export declare function useOnceFn(funcName: (...args: any[]) => void, ...funcParams: any[]): Promise<any>;
@@ -0,0 +1,30 @@
1
+ import e from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/defineProperty.mjs";
2
+ //#region packages/composables/use-once-fn/index.ts
3
+ var t = class {
4
+ constructor() {
5
+ e(this, "res", void 0), e(this, "isFetching", void 0), e(this, "isSuccess", void 0), e(this, "queues", void 0), this.res = null, this.isFetching = !1, this.isSuccess = !1, this.queues = [];
6
+ }
7
+ useOnceFn(e, ...t) {
8
+ return new Promise((n) => {
9
+ if (this.isSuccess) {
10
+ n(this.res);
11
+ return;
12
+ }
13
+ this.queues.push(n), this.isFetching || (this.isFetching = !0, Promise.resolve(e(...t)).then((e) => {
14
+ this.res = e, this.loopQueues(), this.isSuccess = !0;
15
+ }));
16
+ });
17
+ }
18
+ loopQueues() {
19
+ for (; this.queues.length > 0;) {
20
+ let e = this.queues.shift();
21
+ e == null || e(this.res);
22
+ }
23
+ }
24
+ }, n = {};
25
+ function r(e, ...r) {
26
+ let i = e.toString().replace(/[^a-zA-Z]/g, "");
27
+ return n[i] || (n[i] = new t()), n[i].useOnceFn(e, ...r);
28
+ }
29
+ //#endregion
30
+ export { r as useOnceFn };
@@ -0,0 +1,7 @@
1
+ import { WritableComputedRef, ComputedRef } from 'vue';
2
+ import { Theme } from '@rappel-ui/types';
3
+ export declare function useTheme(theme?: Theme, reverseTheme?: boolean): {
4
+ isDark: WritableComputedRef<boolean>;
5
+ currentTheme: ComputedRef<Theme>;
6
+ toggle: () => void;
7
+ };
@@ -0,0 +1,23 @@
1
+ import { useNamespace as e } from "../use-namespace/index.mjs";
2
+ import { useToggle as t } from "../../node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs";
3
+ import { useDark as n } from "../../node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs";
4
+ import "../index.mjs";
5
+ import { computed as r } from "vue";
6
+ //#region packages/composables/use-theme/index.ts
7
+ var { libName: i } = e(""), a = n({
8
+ storageKey: `${i}-color-scheme`,
9
+ selector: "html",
10
+ attribute: "class",
11
+ valueDark: "dark",
12
+ valueLight: "light"
13
+ });
14
+ function o(e = "light", n = !1) {
15
+ let i = t(a);
16
+ return {
17
+ isDark: a,
18
+ currentTheme: r(() => n ? e === "dark" ? "light" : "dark" : e),
19
+ toggle: i
20
+ };
21
+ }
22
+ //#endregion
23
+ export { o as useTheme };
@@ -0,0 +1,25 @@
1
+ import { useDateFormat as e } from "../use-date-format/index.mjs";
2
+ import "../index.mjs";
3
+ //#region packages/composables/use-time-nodes/index.ts
4
+ function t(t = "00:00", n = "23:00", r = "02:00", i = "HH:mm") {
5
+ let a = (e) => {
6
+ let [t, n, r] = e.split(":").map(Number);
7
+ return [
8
+ t || 0,
9
+ n || 0,
10
+ r || 0
11
+ ];
12
+ }, o = (e) => {
13
+ let [t, n, r] = a(e), i = /* @__PURE__ */ new Date();
14
+ return new Date(i.getFullYear(), i.getMonth() + 1, i.getDate(), t, n, r);
15
+ }, s = (t) => e(t, i), c = (e) => {
16
+ let [t, n, i] = a(r);
17
+ return new Date(e.getTime() + t * 36e5 + n * 6e4 + i * 1e3);
18
+ }, l = [], [u, d, f] = a(r);
19
+ if (u === 0 && d === 0 && f === 0) throw Error("时间步长不能为0");
20
+ let p = o(t), m = o(n);
21
+ for (; p <= m;) l.push(s(p)), p = c(p);
22
+ return { timeNodes: l };
23
+ }
24
+ //#endregion
25
+ export { t as useTimeNodes };
@@ -0,0 +1,46 @@
1
+ import { nextTick as e, ref as t, watch as n } from "vue";
2
+ //#region packages/composables/use-waterfall-layout/index.ts
3
+ function r(r, i) {
4
+ let a = t(3), o = t(2), s = t(2), c = t("#F5F8F8"), l = t("#FFFFFF"), u = t("top 300ms ease-in-out, left 300ms ease-in-out"), d = t(0), f = t(0), p = t(0), m = (e) => document.querySelectorAll(e || i), h = () => {
5
+ r.value.style.position = "relative";
6
+ }, g = () => {
7
+ h(), d.value = r.value.clientWidth;
8
+ }, _ = () => {
9
+ p.value = (d.value - s.value * (a.value - 1)) / a.value;
10
+ }, v = (e) => {
11
+ let t = e % a.value;
12
+ return t === 0 ? 0 : t * (p.value + s.value);
13
+ }, y = (e) => {
14
+ let { style: t, offsetHeight: n } = e;
15
+ return parseFloat(t.top) + n + o.value;
16
+ }, b = (e, t) => e >= a.value ? y(t[e - a.value]) : 0, x = (e) => {
17
+ let t = y(e);
18
+ t > f.value && (f.value = t, r.value.style.height = `${t}px`);
19
+ }, S = t("is-dealed"), C = (e = !1) => {
20
+ let t = m(), n = m(`.${S.value}`), r = 0;
21
+ n.length > 0 && (r = n.length), e && (r = 0, f.value = 0);
22
+ for (let e = r; e < t.length; e++) t[e].style.position = "absolute", t[e].style.transition = u.value, t[e].style.width = `${p.value}px`, t[e].style.backgroundColor = w(e), t[e].style.left = `${v(e)}px`, t[e].style.top = `${b(e, t)}px`, t[e].classList.add(S.value), x(t[e]);
23
+ }, w = (e) => {
24
+ let t = e + 1;
25
+ return a.value % 2 == 0 ? t % 2 == 0 ? l.value : c.value : t % a.value !== 0 && t % a.value % 2 == 0 ? l.value : c.value;
26
+ }, T = (t = !1) => {
27
+ g(), _(), e(() => {
28
+ C(t);
29
+ });
30
+ };
31
+ return n(() => a.value, () => {
32
+ e(() => {
33
+ T(!0);
34
+ });
35
+ }), {
36
+ init: T,
37
+ column: a,
38
+ rowSpacing: o,
39
+ columnSpacing: s,
40
+ oddColumnBgColor: c,
41
+ evenColumnBgColor: l,
42
+ getItems: m
43
+ };
44
+ }
45
+ //#endregion
46
+ export { r as useWaterFallLayout };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * global z-index increment
3
+ * @returns
4
+ */
5
+ export declare function useZIndex(): {
6
+ zIndex: {
7
+ _i: number;
8
+ readonly value: number;
9
+ };
10
+ reset: (val: number) => void;
11
+ };
@@ -0,0 +1,17 @@
1
+ //#region packages/composables/use-z-index/index.ts
2
+ var e = {
3
+ _i: 2e3,
4
+ get value() {
5
+ return this._i++;
6
+ }
7
+ };
8
+ function t() {
9
+ return {
10
+ zIndex: e,
11
+ reset: (t) => {
12
+ e._i = t;
13
+ }
14
+ };
15
+ }
16
+ //#endregion
17
+ export { t as useZIndex };
@@ -1,39 +1,4 @@
1
- const s = `<svg viewBox="0 0 800 800" xmlns="http://www.w3.org/2000/svg">
2
- <style>
3
- @keyframes spin {
4
- to {
5
- transform: rotate(360deg);
6
- }
7
- }
8
-
9
- @keyframes spin2 {
10
- 0% {
11
- stroke-dasharray: 1, 800;
12
- stroke-dashoffset: 0;
13
- }
14
- 50% {
15
- stroke-dasharray: 200, 200;
16
- stroke-dashoffset: 100px;
17
- }
18
- 100% {
19
- stroke-dasharray: 800, 1;
20
- stroke-dashoffset: -800px;
21
- }
22
- }
23
-
24
- .spin2 {
25
- transform-origin: center;
26
- animation: spin2 1.5s ease-in-out infinite,
27
- spin 2s linear infinite;
28
- animation-direction: alternate;
29
- }
30
- </style>
31
- <circle class="spin2" cx="400" cy="400" fill="none"
32
- r="200" stroke-width="40" stroke="#E387FF"
33
- stroke-dasharray="800 1400"
34
- stroke-linecap="round"
35
- />
36
- </svg>`;
37
- export {
38
- s as svgLoadingContent
39
- };
1
+ //#region packages/constants/svgLoading.ts
2
+ var e = "<svg viewBox=\"0 0 800 800\" xmlns=\"http://www.w3.org/2000/svg\">\n<style>\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n@keyframes spin2 {\n 0% {\n stroke-dasharray: 1, 800;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 200, 200;\n stroke-dashoffset: 100px;\n }\n 100% {\n stroke-dasharray: 800, 1;\n stroke-dashoffset: -800px;\n }\n}\n\n.spin2 {\n transform-origin: center;\n animation: spin2 1.5s ease-in-out infinite,\n spin 2s linear infinite;\n animation-direction: alternate;\n}\n</style>\n <circle class=\"spin2\" cx=\"400\" cy=\"400\" fill=\"none\"\n r=\"200\" stroke-width=\"40\" stroke=\"#E387FF\"\n stroke-dasharray=\"800 1400\"\n stroke-linecap=\"round\"\n />\n</svg>";
3
+ //#endregion
4
+ export { e as svgLoadingContent };
@@ -0,0 +1,4 @@
1
+ import { vDraggable as e } from "./vDraggable.mjs";
2
+ import { applyResizable as t, vResizable as n } from "./vResizable.mjs";
3
+ import { vSvgLoading as r } from "./vSvgLoading.mjs";
4
+ export { t as applyResizable, e as vDraggable, n as vResizable, r as vSvgLoading };
@@ -1,13 +1,14 @@
1
- import { useDraggable as a } from "../composables/useDraggable.mjs";
2
- import "vue";
3
- const u = {
4
- mounted(e, o) {
5
- a(e, o.value || {});
6
- },
7
- unmounted(e) {
8
- e._cleanup?.();
9
- }
10
- };
11
- export {
12
- u as vDraggable
1
+ import { useDraggable as e } from "../composables/use-draggable/index.mjs";
2
+ import "../composables/index.mjs";
3
+ //#region packages/directives/vDraggable.ts
4
+ var t = {
5
+ mounted(t, n) {
6
+ e(t, n.value || {});
7
+ },
8
+ unmounted(e) {
9
+ var t;
10
+ (t = e._cleanup) == null || t.call(e);
11
+ }
13
12
  };
13
+ //#endregion
14
+ export { t as vDraggable };