solid-tom-ui 1.0.2 → 1.0.3

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 (1109) hide show
  1. package/dist/components/avatar/avatar.js.map +1 -0
  2. package/dist/components/badge/badge.js.map +1 -0
  3. package/dist/components/breadcrumb/breadcrumb.js.map +1 -0
  4. package/dist/components/button/button.js.map +1 -0
  5. package/dist/components/carousel/carousel.js +2 -0
  6. package/dist/components/carousel/carousel.js.map +1 -0
  7. package/dist/components/chat-bubble/chatBubble.js.map +1 -0
  8. package/dist/components/checkbox/checkbox.js.map +1 -0
  9. package/dist/components/collapse/collapse.js.map +1 -0
  10. package/dist/components/context-menu/context-menu.js +2 -0
  11. package/dist/components/context-menu/context-menu.js.map +1 -0
  12. package/dist/components/context-menu/context-menu.store.js.map +1 -0
  13. package/dist/components/diff/diff.js.map +1 -0
  14. package/dist/components/divider/divider.js.map +1 -0
  15. package/dist/components/drawer/drawer.js +2 -0
  16. package/dist/components/drawer/drawer.js.map +1 -0
  17. package/dist/components/dropdown/dropdown.js.map +1 -0
  18. package/dist/components/dropdown/dropdown.store.js.map +1 -0
  19. package/dist/components/float-button/float-button.js.map +1 -0
  20. package/dist/components/hover-3d-image/hover-3d-image.js.map +1 -0
  21. package/dist/components/image-preview/image-preview.js +2 -0
  22. package/dist/components/image-preview/image-preview.js.map +1 -0
  23. package/dist/components/indicator/indicator.js.map +1 -0
  24. package/dist/components/input/input.js.map +1 -0
  25. package/dist/components/input/input.utils.js.map +1 -0
  26. package/dist/components/input/variants/input-color.js.map +1 -0
  27. package/dist/components/input/variants/input-date.js.map +1 -0
  28. package/dist/components/input/variants/input-number.js +2 -0
  29. package/dist/components/input/variants/input-number.js.map +1 -0
  30. package/dist/components/input/variants/input-otp.js.map +1 -0
  31. package/dist/components/input/variants/input-password.js +2 -0
  32. package/dist/components/input/variants/input-password.js.map +1 -0
  33. package/dist/components/input/variants/input-radio.js.map +1 -0
  34. package/dist/components/input/variants/input-range.js.map +1 -0
  35. package/dist/components/input/variants/input-text.js +2 -0
  36. package/dist/components/input/variants/input-text.js.map +1 -0
  37. package/dist/components/input/variants/input-textarea.js +2 -0
  38. package/dist/components/input/variants/input-textarea.js.map +1 -0
  39. package/dist/components/loading/loading.js +2 -0
  40. package/dist/components/loading/loading.js.map +1 -0
  41. package/dist/components/mansory/mansory.js.map +1 -0
  42. package/dist/components/menu/menu.js +2 -0
  43. package/dist/components/menu/menu.js.map +1 -0
  44. package/dist/components/modal/modal.js +2 -0
  45. package/dist/components/modal/modal.js.map +1 -0
  46. package/dist/components/modal/modalContext.js.map +1 -0
  47. package/dist/components/pagination/pagination.js +2 -0
  48. package/dist/components/pagination/pagination.js.map +1 -0
  49. package/dist/components/progress-bar/progress-bar.js.map +1 -0
  50. package/dist/components/qr-code/qr-code.js +2 -0
  51. package/dist/components/qr-code/qr-code.js.map +1 -0
  52. package/dist/components/rating/rating.js.map +1 -0
  53. package/dist/components/select/select.js +2 -0
  54. package/dist/components/select/select.js.map +1 -0
  55. package/dist/components/select-zone/select-zone.js.map +1 -0
  56. package/dist/components/skeleton/skeleton.js.map +1 -0
  57. package/dist/components/slider/slider.js.map +1 -0
  58. package/dist/components/splitter/splitter.js.map +1 -0
  59. package/dist/components/steps/steps.js +2 -0
  60. package/dist/components/steps/steps.js.map +1 -0
  61. package/dist/components/swap/swap.js.map +1 -0
  62. package/dist/components/switch/switch.js.map +1 -0
  63. package/dist/components/tab/tab.js +2 -0
  64. package/dist/components/tab/tab.js.map +1 -0
  65. package/dist/components/table/table.js +2 -0
  66. package/dist/components/table/table.js.map +1 -0
  67. package/dist/components/text-rotate/text-rotate.js.map +1 -0
  68. package/dist/components/timeline/timeline.js +2 -0
  69. package/dist/components/timeline/timeline.js.map +1 -0
  70. package/dist/components/toast/icons/ErrorIcon.js.map +1 -0
  71. package/dist/components/toast/icons/IconCircle.js.map +1 -0
  72. package/dist/components/toast/icons/InfoIcon.js.map +1 -0
  73. package/dist/components/toast/icons/LoaderIcon.js.map +1 -0
  74. package/dist/components/toast/icons/SuccessIcon.js.map +1 -0
  75. package/dist/components/toast/icons/WarningIcon.js.map +1 -0
  76. package/dist/components/toast/toast.js +2 -0
  77. package/dist/components/toast/toast.js.map +1 -0
  78. package/dist/components/toast/toast.store.js.map +1 -0
  79. package/dist/components/tooltip/tooltip.js.map +1 -0
  80. package/dist/components/tour/tour.js +9 -0
  81. package/dist/components/tour/tour.js.map +1 -0
  82. package/dist/components/upload/upload.js +2 -0
  83. package/dist/components/upload/upload.js.map +1 -0
  84. package/dist/components/z-index/z-index.context.js.map +1 -0
  85. package/dist/components/z-index/z-index.js.map +1 -0
  86. package/dist/components/z-index/z-index.store.js.map +1 -0
  87. package/dist/components/z-index/z-index.types.js.map +1 -0
  88. package/dist/lib.d.ts +0 -1
  89. package/dist/lib.d.ts.map +1 -1
  90. package/dist/lib.js +1 -0
  91. package/dist/solid-ui.css +1 -1
  92. package/dist/utils/cn.js.map +1 -0
  93. package/dist/utils/element-tracker.js.map +1 -0
  94. package/dist/utils/helper.js.map +1 -0
  95. package/dist/utils/hoc.js.map +1 -0
  96. package/package.json +120 -120
  97. package/dist/_virtual/_rolldown/runtime.js +0 -1
  98. package/dist/components/code-preview/code-preview.d.ts +0 -23
  99. package/dist/components/code-preview/code-preview.d.ts.map +0 -1
  100. package/dist/components/code-preview/index.d.ts +0 -3
  101. package/dist/components/code-preview/index.d.ts.map +0 -1
  102. package/dist/components/iframe/index.d.ts +0 -7
  103. package/dist/components/iframe/index.d.ts.map +0 -1
  104. package/dist/node_modules/.pnpm/@shikijs_core@4.0.2/node_modules/@shikijs/core/dist/index.js +0 -3
  105. package/dist/node_modules/.pnpm/@shikijs_core@4.0.2/node_modules/@shikijs/core/dist/index.js.map +0 -1
  106. package/dist/node_modules/.pnpm/@shikijs_engine-javascript@4.0.2/node_modules/@shikijs/engine-javascript/dist/engine-compile.js +0 -2
  107. package/dist/node_modules/.pnpm/@shikijs_engine-javascript@4.0.2/node_modules/@shikijs/engine-javascript/dist/engine-compile.js.map +0 -1
  108. package/dist/node_modules/.pnpm/@shikijs_engine-javascript@4.0.2/node_modules/@shikijs/engine-javascript/dist/scanner-BFcBmQR1.js +0 -2
  109. package/dist/node_modules/.pnpm/@shikijs_engine-javascript@4.0.2/node_modules/@shikijs/engine-javascript/dist/scanner-BFcBmQR1.js.map +0 -1
  110. package/dist/node_modules/.pnpm/@shikijs_engine-oniguruma@4.0.2/node_modules/@shikijs/engine-oniguruma/dist/index.js +0 -2
  111. package/dist/node_modules/.pnpm/@shikijs_engine-oniguruma@4.0.2/node_modules/@shikijs/engine-oniguruma/dist/index.js.map +0 -1
  112. package/dist/node_modules/.pnpm/@shikijs_engine-oniguruma@4.0.2/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.js +0 -2
  113. package/dist/node_modules/.pnpm/@shikijs_engine-oniguruma@4.0.2/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.js.map +0 -1
  114. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/abap.js +0 -2
  115. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/abap.js.map +0 -1
  116. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/actionscript-3.js +0 -2
  117. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/actionscript-3.js.map +0 -1
  118. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ada.js +0 -2
  119. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ada.js.map +0 -1
  120. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-expression.js +0 -2
  121. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-expression.js.map +0 -1
  122. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-html.js +0 -2
  123. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-html.js.map +0 -1
  124. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-inline-style.js +0 -2
  125. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-inline-style.js.map +0 -1
  126. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-inline-template.js +0 -2
  127. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-inline-template.js.map +0 -1
  128. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-let-declaration.js +0 -2
  129. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-let-declaration.js.map +0 -1
  130. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-template-blocks.js +0 -2
  131. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-template-blocks.js.map +0 -1
  132. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-template.js +0 -2
  133. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-template.js.map +0 -1
  134. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-ts.js +0 -2
  135. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/angular-ts.js.map +0 -1
  136. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/apache.js +0 -2
  137. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/apache.js.map +0 -1
  138. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/apex.js +0 -2
  139. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/apex.js.map +0 -1
  140. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/apl.js +0 -2
  141. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/apl.js.map +0 -1
  142. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/applescript.js +0 -2
  143. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/applescript.js.map +0 -1
  144. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ara.js +0 -2
  145. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ara.js.map +0 -1
  146. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/asciidoc.js +0 -2
  147. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/asciidoc.js.map +0 -1
  148. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/asm.js +0 -2
  149. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/asm.js.map +0 -1
  150. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/astro.js +0 -2
  151. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/astro.js.map +0 -1
  152. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/awk.js +0 -2
  153. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/awk.js.map +0 -1
  154. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ballerina.js +0 -2
  155. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ballerina.js.map +0 -1
  156. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/bat.js +0 -2
  157. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/bat.js.map +0 -1
  158. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/beancount.js +0 -2
  159. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/beancount.js.map +0 -1
  160. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/berry.js +0 -2
  161. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/berry.js.map +0 -1
  162. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/bibtex.js +0 -2
  163. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/bibtex.js.map +0 -1
  164. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/bicep.js +0 -2
  165. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/bicep.js.map +0 -1
  166. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/bird2.js +0 -2
  167. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/bird2.js.map +0 -1
  168. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/blade.js +0 -2
  169. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/blade.js.map +0 -1
  170. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/bsl.js +0 -2
  171. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/bsl.js.map +0 -1
  172. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/c.js +0 -2
  173. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/c.js.map +0 -1
  174. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/c3.js +0 -2
  175. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/c3.js.map +0 -1
  176. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cadence.js +0 -2
  177. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cadence.js.map +0 -1
  178. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cairo.js +0 -2
  179. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cairo.js.map +0 -1
  180. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/clarity.js +0 -2
  181. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/clarity.js.map +0 -1
  182. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/clojure.js +0 -2
  183. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/clojure.js.map +0 -1
  184. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cmake.js +0 -2
  185. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cmake.js.map +0 -1
  186. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cobol.js +0 -2
  187. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cobol.js.map +0 -1
  188. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/codeowners.js +0 -2
  189. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/codeowners.js.map +0 -1
  190. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/codeql.js +0 -2
  191. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/codeql.js.map +0 -1
  192. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/coffee.js +0 -2
  193. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/coffee.js.map +0 -1
  194. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/common-lisp.js +0 -2
  195. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/common-lisp.js.map +0 -1
  196. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/coq.js +0 -2
  197. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/coq.js.map +0 -1
  198. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cpp-macro.js +0 -2
  199. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cpp-macro.js.map +0 -1
  200. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cpp.js +0 -2
  201. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cpp.js.map +0 -1
  202. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/crystal.js +0 -2
  203. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/crystal.js.map +0 -1
  204. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/csharp.js +0 -2
  205. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/csharp.js.map +0 -1
  206. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/css.js +0 -2
  207. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/css.js.map +0 -1
  208. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/csv.js +0 -2
  209. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/csv.js.map +0 -1
  210. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cue.js +0 -2
  211. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cue.js.map +0 -1
  212. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cypher.js +0 -2
  213. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/cypher.js.map +0 -1
  214. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/d.js +0 -2
  215. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/d.js.map +0 -1
  216. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/dart.js +0 -2
  217. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/dart.js.map +0 -1
  218. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/dax.js +0 -2
  219. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/dax.js.map +0 -1
  220. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/desktop.js +0 -2
  221. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/desktop.js.map +0 -1
  222. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/diff.js +0 -2
  223. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/diff.js.map +0 -1
  224. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/docker.js +0 -2
  225. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/docker.js.map +0 -1
  226. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/dotenv.js +0 -2
  227. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/dotenv.js.map +0 -1
  228. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/dream-maker.js +0 -2
  229. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/dream-maker.js.map +0 -1
  230. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/edge.js +0 -2
  231. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/edge.js.map +0 -1
  232. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/elixir.js +0 -2
  233. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/elixir.js.map +0 -1
  234. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/elm.js +0 -2
  235. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/elm.js.map +0 -1
  236. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/emacs-lisp.js +0 -2
  237. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/emacs-lisp.js.map +0 -1
  238. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/erb.js +0 -2
  239. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/erb.js.map +0 -1
  240. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/erlang.js +0 -2
  241. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/erlang.js.map +0 -1
  242. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/es-tag-css.js +0 -2
  243. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/es-tag-css.js.map +0 -1
  244. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/es-tag-glsl.js +0 -2
  245. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/es-tag-glsl.js.map +0 -1
  246. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/es-tag-html.js +0 -2
  247. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/es-tag-html.js.map +0 -1
  248. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/es-tag-sql.js +0 -2
  249. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/es-tag-sql.js.map +0 -1
  250. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/es-tag-xml.js +0 -2
  251. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/es-tag-xml.js.map +0 -1
  252. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/fennel.js +0 -2
  253. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/fennel.js.map +0 -1
  254. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/fish.js +0 -2
  255. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/fish.js.map +0 -1
  256. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/fluent.js +0 -2
  257. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/fluent.js.map +0 -1
  258. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/fortran-fixed-form.js +0 -2
  259. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/fortran-fixed-form.js.map +0 -1
  260. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/fortran-free-form.js +0 -2
  261. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/fortran-free-form.js.map +0 -1
  262. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/fsharp.js +0 -2
  263. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/fsharp.js.map +0 -1
  264. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/gdresource.js +0 -2
  265. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/gdresource.js.map +0 -1
  266. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/gdscript.js +0 -2
  267. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/gdscript.js.map +0 -1
  268. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/gdshader.js +0 -2
  269. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/gdshader.js.map +0 -1
  270. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/genie.js +0 -2
  271. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/genie.js.map +0 -1
  272. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/gherkin.js +0 -2
  273. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/gherkin.js.map +0 -1
  274. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/git-commit.js +0 -2
  275. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/git-commit.js.map +0 -1
  276. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/git-rebase.js +0 -2
  277. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/git-rebase.js.map +0 -1
  278. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/gleam.js +0 -2
  279. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/gleam.js.map +0 -1
  280. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/glimmer-js.js +0 -2
  281. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/glimmer-js.js.map +0 -1
  282. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/glimmer-ts.js +0 -2
  283. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/glimmer-ts.js.map +0 -1
  284. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/glsl.js +0 -2
  285. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/glsl.js.map +0 -1
  286. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/gn.js +0 -2
  287. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/gn.js.map +0 -1
  288. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/gnuplot.js +0 -2
  289. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/gnuplot.js.map +0 -1
  290. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/go.js +0 -2
  291. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/go.js.map +0 -1
  292. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/graphql.js +0 -2
  293. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/graphql.js.map +0 -1
  294. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/groovy.js +0 -2
  295. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/groovy.js.map +0 -1
  296. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/hack.js +0 -2
  297. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/hack.js.map +0 -1
  298. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/haml.js +0 -2
  299. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/haml.js.map +0 -1
  300. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/handlebars.js +0 -2
  301. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/handlebars.js.map +0 -1
  302. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/haskell.js +0 -2
  303. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/haskell.js.map +0 -1
  304. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/haxe.js +0 -2
  305. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/haxe.js.map +0 -1
  306. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/hcl.js +0 -2
  307. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/hcl.js.map +0 -1
  308. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/hjson.js +0 -2
  309. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/hjson.js.map +0 -1
  310. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/hlsl.js +0 -2
  311. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/hlsl.js.map +0 -1
  312. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/html-derivative.js +0 -2
  313. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/html-derivative.js.map +0 -1
  314. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/html.js +0 -2
  315. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/html.js.map +0 -1
  316. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/http.js +0 -2
  317. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/http.js.map +0 -1
  318. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/hurl.js +0 -2
  319. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/hurl.js.map +0 -1
  320. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/hxml.js +0 -2
  321. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/hxml.js.map +0 -1
  322. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/hy.js +0 -2
  323. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/hy.js.map +0 -1
  324. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/imba.js +0 -2
  325. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/imba.js.map +0 -1
  326. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ini.js +0 -2
  327. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ini.js.map +0 -1
  328. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/java.js +0 -2
  329. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/java.js.map +0 -1
  330. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/javascript.js +0 -2
  331. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/javascript.js.map +0 -1
  332. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jinja-html.js +0 -2
  333. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jinja-html.js.map +0 -1
  334. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jinja.js +0 -2
  335. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jinja.js.map +0 -1
  336. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jison.js +0 -2
  337. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jison.js.map +0 -1
  338. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/json.js +0 -2
  339. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/json.js.map +0 -1
  340. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/json5.js +0 -2
  341. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/json5.js.map +0 -1
  342. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jsonc.js +0 -2
  343. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jsonc.js.map +0 -1
  344. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jsonl.js +0 -2
  345. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jsonl.js.map +0 -1
  346. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jsonnet.js +0 -2
  347. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jsonnet.js.map +0 -1
  348. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jssm.js +0 -2
  349. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jssm.js.map +0 -1
  350. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jsx.js +0 -2
  351. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/jsx.js.map +0 -1
  352. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/julia.js +0 -2
  353. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/julia.js.map +0 -1
  354. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/just.js +0 -2
  355. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/just.js.map +0 -1
  356. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/kdl.js +0 -2
  357. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/kdl.js.map +0 -1
  358. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/kotlin.js +0 -2
  359. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/kotlin.js.map +0 -1
  360. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/kusto.js +0 -2
  361. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/kusto.js.map +0 -1
  362. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/latex.js +0 -2
  363. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/latex.js.map +0 -1
  364. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/lean.js +0 -2
  365. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/lean.js.map +0 -1
  366. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/less.js +0 -2
  367. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/less.js.map +0 -1
  368. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/liquid.js +0 -2
  369. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/liquid.js.map +0 -1
  370. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/llvm.js +0 -2
  371. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/llvm.js.map +0 -1
  372. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/log.js +0 -2
  373. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/log.js.map +0 -1
  374. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/logo.js +0 -2
  375. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/logo.js.map +0 -1
  376. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/lua.js +0 -2
  377. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/lua.js.map +0 -1
  378. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/luau.js +0 -2
  379. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/luau.js.map +0 -1
  380. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/make.js +0 -2
  381. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/make.js.map +0 -1
  382. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/markdown-nix.js +0 -2
  383. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/markdown-nix.js.map +0 -1
  384. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/markdown-vue.js +0 -2
  385. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/markdown-vue.js.map +0 -1
  386. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/markdown.js +0 -2
  387. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/markdown.js.map +0 -1
  388. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/marko.js +0 -2
  389. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/marko.js.map +0 -1
  390. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/matlab.js +0 -2
  391. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/matlab.js.map +0 -1
  392. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/mdc.js +0 -2
  393. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/mdc.js.map +0 -1
  394. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/mdx.js +0 -2
  395. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/mdx.js.map +0 -1
  396. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/mermaid.js +0 -2
  397. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/mermaid.js.map +0 -1
  398. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/mipsasm.js +0 -2
  399. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/mipsasm.js.map +0 -1
  400. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/mojo.js +0 -2
  401. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/mojo.js.map +0 -1
  402. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/moonbit.js +0 -2
  403. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/moonbit.js.map +0 -1
  404. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/move.js +0 -2
  405. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/move.js.map +0 -1
  406. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/narrat.js +0 -2
  407. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/narrat.js.map +0 -1
  408. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/nextflow-groovy.js +0 -2
  409. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/nextflow-groovy.js.map +0 -1
  410. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/nextflow.js +0 -2
  411. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/nextflow.js.map +0 -1
  412. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/nginx.js +0 -2
  413. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/nginx.js.map +0 -1
  414. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/nim.js +0 -2
  415. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/nim.js.map +0 -1
  416. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/nix.js +0 -2
  417. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/nix.js.map +0 -1
  418. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/nushell.js +0 -2
  419. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/nushell.js.map +0 -1
  420. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/objective-c.js +0 -2
  421. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/objective-c.js.map +0 -1
  422. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/objective-cpp.js +0 -2
  423. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/objective-cpp.js.map +0 -1
  424. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ocaml.js +0 -2
  425. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ocaml.js.map +0 -1
  426. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/odin.js +0 -2
  427. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/odin.js.map +0 -1
  428. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/openscad.js +0 -2
  429. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/openscad.js.map +0 -1
  430. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/pascal.js +0 -2
  431. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/pascal.js.map +0 -1
  432. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/perl.js +0 -2
  433. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/perl.js.map +0 -1
  434. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/php.js +0 -2
  435. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/php.js.map +0 -1
  436. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/pkl.js +0 -2
  437. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/pkl.js.map +0 -1
  438. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/plsql.js +0 -2
  439. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/plsql.js.map +0 -1
  440. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/po.js +0 -2
  441. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/po.js.map +0 -1
  442. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/polar.js +0 -2
  443. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/polar.js.map +0 -1
  444. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/postcss.js +0 -2
  445. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/postcss.js.map +0 -1
  446. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/powerquery.js +0 -2
  447. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/powerquery.js.map +0 -1
  448. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/powershell.js +0 -2
  449. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/powershell.js.map +0 -1
  450. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/prisma.js +0 -2
  451. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/prisma.js.map +0 -1
  452. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/prolog.js +0 -2
  453. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/prolog.js.map +0 -1
  454. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/proto.js +0 -2
  455. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/proto.js.map +0 -1
  456. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/pug.js +0 -2
  457. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/pug.js.map +0 -1
  458. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/puppet.js +0 -2
  459. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/puppet.js.map +0 -1
  460. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/purescript.js +0 -2
  461. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/purescript.js.map +0 -1
  462. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/python.js +0 -2
  463. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/python.js.map +0 -1
  464. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/qml.js +0 -2
  465. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/qml.js.map +0 -1
  466. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/qmldir.js +0 -2
  467. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/qmldir.js.map +0 -1
  468. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/qss.js +0 -2
  469. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/qss.js.map +0 -1
  470. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/r.js +0 -2
  471. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/r.js.map +0 -1
  472. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/racket.js +0 -2
  473. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/racket.js.map +0 -1
  474. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/raku.js +0 -2
  475. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/raku.js.map +0 -1
  476. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/razor.js +0 -2
  477. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/razor.js.map +0 -1
  478. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/reg.js +0 -2
  479. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/reg.js.map +0 -1
  480. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/regexp.js +0 -2
  481. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/regexp.js.map +0 -1
  482. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/rel.js +0 -2
  483. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/rel.js.map +0 -1
  484. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/riscv.js +0 -2
  485. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/riscv.js.map +0 -1
  486. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ron.js +0 -2
  487. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ron.js.map +0 -1
  488. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/rosmsg.js +0 -2
  489. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/rosmsg.js.map +0 -1
  490. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/rst.js +0 -2
  491. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/rst.js.map +0 -1
  492. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ruby.js +0 -2
  493. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ruby.js.map +0 -1
  494. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/rust.js +0 -2
  495. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/rust.js.map +0 -1
  496. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/sas.js +0 -2
  497. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/sas.js.map +0 -1
  498. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/sass.js +0 -2
  499. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/sass.js.map +0 -1
  500. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/scala.js +0 -2
  501. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/scala.js.map +0 -1
  502. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/scheme.js +0 -2
  503. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/scheme.js.map +0 -1
  504. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/scss.js +0 -2
  505. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/scss.js.map +0 -1
  506. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/sdbl.js +0 -2
  507. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/sdbl.js.map +0 -1
  508. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/shaderlab.js +0 -2
  509. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/shaderlab.js.map +0 -1
  510. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/shellscript.js +0 -2
  511. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/shellscript.js.map +0 -1
  512. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/shellsession.js +0 -2
  513. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/shellsession.js.map +0 -1
  514. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/smalltalk.js +0 -2
  515. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/smalltalk.js.map +0 -1
  516. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/solidity.js +0 -2
  517. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/solidity.js.map +0 -1
  518. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/soy.js +0 -2
  519. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/soy.js.map +0 -1
  520. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/sparql.js +0 -2
  521. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/sparql.js.map +0 -1
  522. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/splunk.js +0 -2
  523. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/splunk.js.map +0 -1
  524. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/sql.js +0 -2
  525. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/sql.js.map +0 -1
  526. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ssh-config.js +0 -2
  527. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ssh-config.js.map +0 -1
  528. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/stata.js +0 -2
  529. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/stata.js.map +0 -1
  530. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/stylus.js +0 -2
  531. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/stylus.js.map +0 -1
  532. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/surrealql.js +0 -2
  533. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/surrealql.js.map +0 -1
  534. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/svelte.js +0 -2
  535. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/svelte.js.map +0 -1
  536. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/swift.js +0 -2
  537. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/swift.js.map +0 -1
  538. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/system-verilog.js +0 -2
  539. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/system-verilog.js.map +0 -1
  540. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/systemd.js +0 -2
  541. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/systemd.js.map +0 -1
  542. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/talonscript.js +0 -2
  543. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/talonscript.js.map +0 -1
  544. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/tasl.js +0 -2
  545. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/tasl.js.map +0 -1
  546. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/tcl.js +0 -2
  547. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/tcl.js.map +0 -1
  548. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/templ.js +0 -2
  549. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/templ.js.map +0 -1
  550. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/terraform.js +0 -2
  551. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/terraform.js.map +0 -1
  552. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/tex.js +0 -2
  553. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/tex.js.map +0 -1
  554. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/toml.js +0 -2
  555. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/toml.js.map +0 -1
  556. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ts-tags.js +0 -2
  557. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/ts-tags.js.map +0 -1
  558. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/tsv.js +0 -2
  559. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/tsv.js.map +0 -1
  560. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/tsx.js +0 -2
  561. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/tsx.js.map +0 -1
  562. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/turtle.js +0 -2
  563. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/turtle.js.map +0 -1
  564. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/twig.js +0 -2
  565. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/twig.js.map +0 -1
  566. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/typescript.js +0 -2
  567. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/typescript.js.map +0 -1
  568. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/typespec.js +0 -2
  569. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/typespec.js.map +0 -1
  570. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/typst.js +0 -2
  571. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/typst.js.map +0 -1
  572. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/v.js +0 -2
  573. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/v.js.map +0 -1
  574. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vala.js +0 -2
  575. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vala.js.map +0 -1
  576. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vb.js +0 -2
  577. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vb.js.map +0 -1
  578. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/verilog.js +0 -2
  579. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/verilog.js.map +0 -1
  580. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vhdl.js +0 -2
  581. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vhdl.js.map +0 -1
  582. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/viml.js +0 -2
  583. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/viml.js.map +0 -1
  584. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vue-directives.js +0 -2
  585. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vue-directives.js.map +0 -1
  586. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vue-html.js +0 -2
  587. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vue-html.js.map +0 -1
  588. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vue-interpolations.js +0 -2
  589. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vue-interpolations.js.map +0 -1
  590. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.js +0 -2
  591. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.js.map +0 -1
  592. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vue-vine.js +0 -2
  593. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vue-vine.js.map +0 -1
  594. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vue.js +0 -2
  595. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vue.js.map +0 -1
  596. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vyper.js +0 -2
  597. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/vyper.js.map +0 -1
  598. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/wasm.js +0 -2
  599. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/wasm.js.map +0 -1
  600. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/wenyan.js +0 -2
  601. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/wenyan.js.map +0 -1
  602. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/wgsl.js +0 -2
  603. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/wgsl.js.map +0 -1
  604. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/wikitext.js +0 -2
  605. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/wikitext.js.map +0 -1
  606. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/wit.js +0 -2
  607. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/wit.js.map +0 -1
  608. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/wolfram.js +0 -2
  609. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/wolfram.js.map +0 -1
  610. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/xml.js +0 -2
  611. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/xml.js.map +0 -1
  612. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/xsl.js +0 -2
  613. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/xsl.js.map +0 -1
  614. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/yaml.js +0 -2
  615. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/yaml.js.map +0 -1
  616. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/zenscript.js +0 -2
  617. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/zenscript.js.map +0 -1
  618. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/zig.js +0 -2
  619. package/dist/node_modules/.pnpm/@shikijs_langs@4.0.2/node_modules/@shikijs/langs/dist/zig.js.map +0 -1
  620. package/dist/node_modules/.pnpm/@shikijs_primitive@4.0.2/node_modules/@shikijs/primitive/dist/index.js +0 -2
  621. package/dist/node_modules/.pnpm/@shikijs_primitive@4.0.2/node_modules/@shikijs/primitive/dist/index.js.map +0 -1
  622. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/andromeeda.js +0 -2
  623. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/andromeeda.js.map +0 -1
  624. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/aurora-x.js +0 -2
  625. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/aurora-x.js.map +0 -1
  626. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/ayu-dark.js +0 -2
  627. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/ayu-dark.js.map +0 -1
  628. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/ayu-light.js +0 -2
  629. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/ayu-light.js.map +0 -1
  630. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/ayu-mirage.js +0 -2
  631. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/ayu-mirage.js.map +0 -1
  632. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +0 -2
  633. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/catppuccin-frappe.js.map +0 -1
  634. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/catppuccin-latte.js +0 -2
  635. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/catppuccin-latte.js.map +0 -1
  636. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +0 -2
  637. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js.map +0 -1
  638. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +0 -2
  639. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/catppuccin-mocha.js.map +0 -1
  640. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/dark-plus.js +0 -2
  641. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/dark-plus.js.map +0 -1
  642. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/dracula-soft.js +0 -2
  643. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/dracula-soft.js.map +0 -1
  644. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/dracula.js +0 -2
  645. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/dracula.js.map +0 -1
  646. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/everforest-dark.js +0 -2
  647. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/everforest-dark.js.map +0 -1
  648. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/everforest-light.js +0 -2
  649. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/everforest-light.js.map +0 -1
  650. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/github-dark-default.js +0 -2
  651. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/github-dark-default.js.map +0 -1
  652. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/github-dark-dimmed.js +0 -2
  653. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/github-dark-dimmed.js.map +0 -1
  654. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/github-dark-high-contrast.js +0 -2
  655. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/github-dark-high-contrast.js.map +0 -1
  656. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/github-dark.js +0 -2
  657. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/github-dark.js.map +0 -1
  658. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/github-light-default.js +0 -2
  659. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/github-light-default.js.map +0 -1
  660. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/github-light-high-contrast.js +0 -2
  661. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/github-light-high-contrast.js.map +0 -1
  662. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/github-light.js +0 -2
  663. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/github-light.js.map +0 -1
  664. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +0 -2
  665. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js.map +0 -1
  666. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +0 -2
  667. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js.map +0 -1
  668. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +0 -2
  669. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js.map +0 -1
  670. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +0 -2
  671. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js.map +0 -1
  672. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +0 -2
  673. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js.map +0 -1
  674. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +0 -2
  675. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js.map +0 -1
  676. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/horizon-bright.js +0 -2
  677. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/horizon-bright.js.map +0 -1
  678. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/horizon.js +0 -2
  679. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/horizon.js.map +0 -1
  680. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/houston.js +0 -2
  681. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/houston.js.map +0 -1
  682. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/kanagawa-dragon.js +0 -2
  683. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/kanagawa-dragon.js.map +0 -1
  684. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/kanagawa-lotus.js +0 -2
  685. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/kanagawa-lotus.js.map +0 -1
  686. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/kanagawa-wave.js +0 -2
  687. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/kanagawa-wave.js.map +0 -1
  688. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/laserwave.js +0 -2
  689. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/laserwave.js.map +0 -1
  690. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/light-plus.js +0 -2
  691. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/light-plus.js.map +0 -1
  692. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/material-theme-darker.js +0 -2
  693. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/material-theme-darker.js.map +0 -1
  694. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/material-theme-lighter.js +0 -2
  695. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/material-theme-lighter.js.map +0 -1
  696. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/material-theme-ocean.js +0 -2
  697. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/material-theme-ocean.js.map +0 -1
  698. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/material-theme-palenight.js +0 -2
  699. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/material-theme-palenight.js.map +0 -1
  700. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/material-theme.js +0 -2
  701. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/material-theme.js.map +0 -1
  702. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/min-dark.js +0 -2
  703. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/min-dark.js.map +0 -1
  704. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/min-light.js +0 -2
  705. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/min-light.js.map +0 -1
  706. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/monokai.js +0 -2
  707. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/monokai.js.map +0 -1
  708. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/night-owl-light.js +0 -2
  709. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/night-owl-light.js.map +0 -1
  710. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/night-owl.js +0 -2
  711. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/night-owl.js.map +0 -1
  712. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/nord.js +0 -2
  713. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/nord.js.map +0 -1
  714. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/one-dark-pro.js +0 -2
  715. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/one-dark-pro.js.map +0 -1
  716. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/one-light.js +0 -2
  717. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/one-light.js.map +0 -1
  718. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/plastic.js +0 -2
  719. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/plastic.js.map +0 -1
  720. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/poimandres.js +0 -2
  721. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/poimandres.js.map +0 -1
  722. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/red.js +0 -2
  723. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/red.js.map +0 -1
  724. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/rose-pine-dawn.js +0 -2
  725. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/rose-pine-dawn.js.map +0 -1
  726. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/rose-pine-moon.js +0 -2
  727. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/rose-pine-moon.js.map +0 -1
  728. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/rose-pine.js +0 -2
  729. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/rose-pine.js.map +0 -1
  730. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/slack-dark.js +0 -2
  731. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/slack-dark.js.map +0 -1
  732. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/slack-ochin.js +0 -2
  733. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/slack-ochin.js.map +0 -1
  734. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/snazzy-light.js +0 -2
  735. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/snazzy-light.js.map +0 -1
  736. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/solarized-dark.js +0 -2
  737. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/solarized-dark.js.map +0 -1
  738. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/solarized-light.js +0 -2
  739. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/solarized-light.js.map +0 -1
  740. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/synthwave-84.js +0 -2
  741. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/synthwave-84.js.map +0 -1
  742. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/tokyo-night.js +0 -2
  743. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/tokyo-night.js.map +0 -1
  744. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/vesper.js +0 -2
  745. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/vesper.js.map +0 -1
  746. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/vitesse-black.js +0 -2
  747. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/vitesse-black.js.map +0 -1
  748. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/vitesse-dark.js +0 -2
  749. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/vitesse-dark.js.map +0 -1
  750. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/vitesse-light.js +0 -2
  751. package/dist/node_modules/.pnpm/@shikijs_themes@4.0.2/node_modules/@shikijs/themes/dist/vitesse-light.js.map +0 -1
  752. package/dist/node_modules/.pnpm/@shikijs_types@4.0.2/node_modules/@shikijs/types/dist/index.js +0 -2
  753. package/dist/node_modules/.pnpm/@shikijs_types@4.0.2/node_modules/@shikijs/types/dist/index.js.map +0 -1
  754. package/dist/node_modules/.pnpm/@shikijs_vscode-textmate@10.0.2/node_modules/@shikijs/vscode-textmate/dist/index.js +0 -4
  755. package/dist/node_modules/.pnpm/@shikijs_vscode-textmate@10.0.2/node_modules/@shikijs/vscode-textmate/dist/index.js.map +0 -1
  756. package/dist/node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.js +0 -2
  757. package/dist/node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.js.map +0 -1
  758. package/dist/node_modules/.pnpm/character-entities-html4@2.1.0/node_modules/character-entities-html4/index.js +0 -2
  759. package/dist/node_modules/.pnpm/character-entities-html4@2.1.0/node_modules/character-entities-html4/index.js.map +0 -1
  760. package/dist/node_modules/.pnpm/character-entities-legacy@3.0.0/node_modules/character-entities-legacy/index.js +0 -2
  761. package/dist/node_modules/.pnpm/character-entities-legacy@3.0.0/node_modules/character-entities-legacy/index.js.map +0 -1
  762. package/dist/node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js +0 -2
  763. package/dist/node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js.map +0 -1
  764. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/comment.js +0 -2
  765. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/comment.js.map +0 -1
  766. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/doctype.js +0 -2
  767. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/doctype.js.map +0 -1
  768. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/element.js +0 -10
  769. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/element.js.map +0 -1
  770. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/index.js +0 -2
  771. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/index.js.map +0 -1
  772. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/raw.js +0 -2
  773. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/raw.js.map +0 -1
  774. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/root.js +0 -2
  775. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/root.js.map +0 -1
  776. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/text.js +0 -2
  777. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/text.js.map +0 -1
  778. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/index.js +0 -2
  779. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/index.js.map +0 -1
  780. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/closing.js +0 -2
  781. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/closing.js.map +0 -1
  782. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/omission.js +0 -2
  783. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/omission.js.map +0 -1
  784. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/opening.js +0 -2
  785. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/opening.js.map +0 -1
  786. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/util/siblings.js +0 -2
  787. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/util/siblings.js.map +0 -1
  788. package/dist/node_modules/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.js +0 -2
  789. package/dist/node_modules/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.js.map +0 -1
  790. package/dist/node_modules/.pnpm/html-void-elements@3.0.0/node_modules/html-void-elements/index.js +0 -2
  791. package/dist/node_modules/.pnpm/html-void-elements@3.0.0/node_modules/html-void-elements/index.js.map +0 -1
  792. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/Icon.js +0 -2
  793. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/Icon.js.map +0 -1
  794. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/context.js +0 -2
  795. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/context.js.map +0 -1
  796. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/defaultAttributes.js +0 -2
  797. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/defaultAttributes.js.map +0 -1
  798. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/arrow-right.js +0 -2
  799. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/arrow-right.js.map +0 -1
  800. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/check.js +0 -2
  801. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/check.js.map +0 -1
  802. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/chevron-down.js +0 -2
  803. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/chevron-down.js.map +0 -1
  804. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/chevron-left.js +0 -2
  805. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/chevron-left.js.map +0 -1
  806. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/chevron-right.js +0 -2
  807. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/chevron-right.js.map +0 -1
  808. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/chevron-up.js +0 -2
  809. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/chevron-up.js.map +0 -1
  810. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/chevrons-up-down.js +0 -2
  811. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/chevrons-up-down.js.map +0 -1
  812. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/circle-alert.js +0 -2
  813. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/circle-alert.js.map +0 -1
  814. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/circle-check-big.js +0 -2
  815. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/circle-check-big.js.map +0 -1
  816. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/circle-check.js +0 -2
  817. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/circle-check.js.map +0 -1
  818. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/circle-x.js +0 -2
  819. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/circle-x.js.map +0 -1
  820. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/clipboard-copy.js +0 -2
  821. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/clipboard-copy.js.map +0 -1
  822. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/clock.js +0 -2
  823. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/clock.js.map +0 -1
  824. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/cloud-upload.js +0 -2
  825. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/cloud-upload.js.map +0 -1
  826. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/eye-off.js +0 -2
  827. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/eye-off.js.map +0 -1
  828. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/eye.js +0 -2
  829. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/eye.js.map +0 -1
  830. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/file-image.js +0 -2
  831. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/file-image.js.map +0 -1
  832. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/file-text.js +0 -2
  833. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/file-text.js.map +0 -1
  834. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/file.js +0 -2
  835. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/file.js.map +0 -1
  836. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/film.js +0 -2
  837. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/film.js.map +0 -1
  838. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/flip-horizontal-2.js +0 -2
  839. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/flip-horizontal-2.js.map +0 -1
  840. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/flip-vertical-2.js +0 -2
  841. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/flip-vertical-2.js.map +0 -1
  842. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/info.js +0 -2
  843. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/info.js.map +0 -1
  844. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/loader.js +0 -2
  845. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/loader.js.map +0 -1
  846. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/maximize-2.js +0 -2
  847. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/maximize-2.js.map +0 -1
  848. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/music.js +0 -2
  849. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/music.js.map +0 -1
  850. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/pin-off.js +0 -2
  851. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/pin-off.js.map +0 -1
  852. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/pin.js +0 -2
  853. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/pin.js.map +0 -1
  854. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/plus.js +0 -2
  855. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/plus.js.map +0 -1
  856. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/refresh-cw.js +0 -2
  857. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/refresh-cw.js.map +0 -1
  858. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/rotate-ccw.js +0 -2
  859. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/rotate-ccw.js.map +0 -1
  860. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/rotate-cw.js +0 -2
  861. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/rotate-cw.js.map +0 -1
  862. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/search.js +0 -2
  863. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/search.js.map +0 -1
  864. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/trash-2.js +0 -2
  865. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/trash-2.js.map +0 -1
  866. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/x.js +0 -2
  867. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/x.js.map +0 -1
  868. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/zoom-in.js +0 -2
  869. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/zoom-in.js.map +0 -1
  870. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/zoom-out.js +0 -2
  871. package/dist/node_modules/.pnpm/lucide-solid@1.8.0_solid-js@1.9.11/node_modules/lucide-solid/dist/source/icons/zoom-out.js.map +0 -1
  872. package/dist/node_modules/.pnpm/oniguruma-parser@0.12.1/node_modules/oniguruma-parser/dist/parser/node-utils.js +0 -2
  873. package/dist/node_modules/.pnpm/oniguruma-parser@0.12.1/node_modules/oniguruma-parser/dist/parser/node-utils.js.map +0 -1
  874. package/dist/node_modules/.pnpm/oniguruma-parser@0.12.1/node_modules/oniguruma-parser/dist/parser/parse.js +0 -2
  875. package/dist/node_modules/.pnpm/oniguruma-parser@0.12.1/node_modules/oniguruma-parser/dist/parser/parse.js.map +0 -1
  876. package/dist/node_modules/.pnpm/oniguruma-parser@0.12.1/node_modules/oniguruma-parser/dist/tokenizer/tokenize.js +0 -34
  877. package/dist/node_modules/.pnpm/oniguruma-parser@0.12.1/node_modules/oniguruma-parser/dist/tokenizer/tokenize.js.map +0 -1
  878. package/dist/node_modules/.pnpm/oniguruma-parser@0.12.1/node_modules/oniguruma-parser/dist/traverser/traverse.js +0 -2
  879. package/dist/node_modules/.pnpm/oniguruma-parser@0.12.1/node_modules/oniguruma-parser/dist/traverser/traverse.js.map +0 -1
  880. package/dist/node_modules/.pnpm/oniguruma-parser@0.12.1/node_modules/oniguruma-parser/dist/utils.js +0 -2
  881. package/dist/node_modules/.pnpm/oniguruma-parser@0.12.1/node_modules/oniguruma-parser/dist/utils.js.map +0 -1
  882. package/dist/node_modules/.pnpm/oniguruma-to-es@4.3.5/node_modules/oniguruma-to-es/dist/esm/index.js +0 -95
  883. package/dist/node_modules/.pnpm/oniguruma-to-es@4.3.5/node_modules/oniguruma-to-es/dist/esm/index.js.map +0 -1
  884. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/babel.js +0 -16
  885. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/babel.js.map +0 -1
  886. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/estree.js +0 -45
  887. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/estree.js.map +0 -1
  888. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/standalone.js +0 -30
  889. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/standalone.js.map +0 -1
  890. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/index.js +0 -2
  891. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/index.js.map +0 -1
  892. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/aria.js +0 -2
  893. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/aria.js.map +0 -1
  894. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/find.js +0 -2
  895. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/find.js.map +0 -1
  896. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/html.js +0 -2
  897. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/html.js.map +0 -1
  898. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/normalize.js +0 -2
  899. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/normalize.js.map +0 -1
  900. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/svg.js +0 -2
  901. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/svg.js.map +0 -1
  902. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -2
  903. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-insensitive-transform.js.map +0 -1
  904. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -2
  905. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.js.map +0 -1
  906. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/create.js +0 -2
  907. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/create.js.map +0 -1
  908. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/defined-info.js +0 -2
  909. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/defined-info.js.map +0 -1
  910. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/info.js +0 -2
  911. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/info.js.map +0 -1
  912. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/merge.js +0 -2
  913. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/merge.js.map +0 -1
  914. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/schema.js +0 -2
  915. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/schema.js.map +0 -1
  916. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/types.js +0 -2
  917. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/types.js.map +0 -1
  918. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xlink.js +0 -2
  919. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xlink.js.map +0 -1
  920. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xml.js +0 -2
  921. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xml.js.map +0 -1
  922. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xmlns.js +0 -2
  923. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xmlns.js.map +0 -1
  924. package/dist/node_modules/.pnpm/regex-recursion@6.0.2/node_modules/regex-recursion/src/index.js +0 -2
  925. package/dist/node_modules/.pnpm/regex-recursion@6.0.2/node_modules/regex-recursion/src/index.js.map +0 -1
  926. package/dist/node_modules/.pnpm/regex-utilities@2.3.0/node_modules/regex-utilities/src/index.js +0 -2
  927. package/dist/node_modules/.pnpm/regex-utilities@2.3.0/node_modules/regex-utilities/src/index.js.map +0 -1
  928. package/dist/node_modules/.pnpm/regex@6.1.0/node_modules/regex/src/atomic.js +0 -17
  929. package/dist/node_modules/.pnpm/regex@6.1.0/node_modules/regex/src/atomic.js.map +0 -1
  930. package/dist/node_modules/.pnpm/regex@6.1.0/node_modules/regex/src/internals.js +0 -1
  931. package/dist/node_modules/.pnpm/regex@6.1.0/node_modules/regex/src/utils-internals.js +0 -2
  932. package/dist/node_modules/.pnpm/regex@6.1.0/node_modules/regex/src/utils-internals.js.map +0 -1
  933. package/dist/node_modules/.pnpm/shiki@4.0.2/node_modules/shiki/dist/bundle-full.js +0 -2
  934. package/dist/node_modules/.pnpm/shiki@4.0.2/node_modules/shiki/dist/bundle-full.js.map +0 -1
  935. package/dist/node_modules/.pnpm/shiki@4.0.2/node_modules/shiki/dist/chunk-CtajNgzt.js +0 -2
  936. package/dist/node_modules/.pnpm/shiki@4.0.2/node_modules/shiki/dist/chunk-CtajNgzt.js.map +0 -1
  937. package/dist/node_modules/.pnpm/shiki@4.0.2/node_modules/shiki/dist/engine-oniguruma.js +0 -2
  938. package/dist/node_modules/.pnpm/shiki@4.0.2/node_modules/shiki/dist/engine-oniguruma.js.map +0 -1
  939. package/dist/node_modules/.pnpm/shiki@4.0.2/node_modules/shiki/dist/index.js +0 -2
  940. package/dist/node_modules/.pnpm/shiki@4.0.2/node_modules/shiki/dist/index.js.map +0 -1
  941. package/dist/node_modules/.pnpm/shiki@4.0.2/node_modules/shiki/dist/langs-bundle-full-DfKZStlK.js +0 -2
  942. package/dist/node_modules/.pnpm/shiki@4.0.2/node_modules/shiki/dist/langs-bundle-full-DfKZStlK.js.map +0 -1
  943. package/dist/node_modules/.pnpm/shiki@4.0.2/node_modules/shiki/dist/themes.js +0 -2
  944. package/dist/node_modules/.pnpm/shiki@4.0.2/node_modules/shiki/dist/themes.js.map +0 -1
  945. package/dist/node_modules/.pnpm/shiki@4.0.2/node_modules/shiki/dist/wasm.js +0 -1
  946. package/dist/node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js +0 -2
  947. package/dist/node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js.map +0 -1
  948. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/constant/dangerous.js +0 -2
  949. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/constant/dangerous.js.map +0 -1
  950. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/core.js +0 -2
  951. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/core.js.map +0 -1
  952. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.js +0 -2
  953. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.js.map +0 -1
  954. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/format-smart.js +0 -2
  955. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/format-smart.js.map +0 -1
  956. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-decimal.js +0 -2
  957. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-decimal.js.map +0 -1
  958. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-hexadecimal.js +0 -2
  959. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-hexadecimal.js.map +0 -1
  960. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-named.js +0 -2
  961. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-named.js.map +0 -1
  962. package/dist/node_modules/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.js +0 -2
  963. package/dist/node_modules/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.js.map +0 -1
  964. package/dist/src/components/avatar/avatar.js.map +0 -1
  965. package/dist/src/components/badge/badge.js.map +0 -1
  966. package/dist/src/components/breadcrumb/breadcrumb.js.map +0 -1
  967. package/dist/src/components/button/button.js.map +0 -1
  968. package/dist/src/components/carousel/carousel.js +0 -2
  969. package/dist/src/components/carousel/carousel.js.map +0 -1
  970. package/dist/src/components/chat-bubble/chatBubble.js.map +0 -1
  971. package/dist/src/components/checkbox/checkbox.js.map +0 -1
  972. package/dist/src/components/code-preview/code-preview.js +0 -2
  973. package/dist/src/components/code-preview/code-preview.js.map +0 -1
  974. package/dist/src/components/collapse/collapse.js.map +0 -1
  975. package/dist/src/components/context-menu/context-menu.js +0 -2
  976. package/dist/src/components/context-menu/context-menu.js.map +0 -1
  977. package/dist/src/components/context-menu/context-menu.store.js.map +0 -1
  978. package/dist/src/components/diff/diff.js.map +0 -1
  979. package/dist/src/components/divider/divider.js.map +0 -1
  980. package/dist/src/components/drawer/drawer.js +0 -2
  981. package/dist/src/components/drawer/drawer.js.map +0 -1
  982. package/dist/src/components/dropdown/dropdown.js.map +0 -1
  983. package/dist/src/components/dropdown/dropdown.store.js.map +0 -1
  984. package/dist/src/components/float-button/float-button.js.map +0 -1
  985. package/dist/src/components/hover-3d-image/hover-3d-image.js.map +0 -1
  986. package/dist/src/components/image-preview/image-preview.js +0 -2
  987. package/dist/src/components/image-preview/image-preview.js.map +0 -1
  988. package/dist/src/components/indicator/indicator.js.map +0 -1
  989. package/dist/src/components/input/input.js.map +0 -1
  990. package/dist/src/components/input/input.utils.js.map +0 -1
  991. package/dist/src/components/input/variants/input-color.js.map +0 -1
  992. package/dist/src/components/input/variants/input-date.js.map +0 -1
  993. package/dist/src/components/input/variants/input-number.js +0 -2
  994. package/dist/src/components/input/variants/input-number.js.map +0 -1
  995. package/dist/src/components/input/variants/input-otp.js.map +0 -1
  996. package/dist/src/components/input/variants/input-password.js +0 -2
  997. package/dist/src/components/input/variants/input-password.js.map +0 -1
  998. package/dist/src/components/input/variants/input-radio.js.map +0 -1
  999. package/dist/src/components/input/variants/input-range.js.map +0 -1
  1000. package/dist/src/components/input/variants/input-text.js +0 -2
  1001. package/dist/src/components/input/variants/input-text.js.map +0 -1
  1002. package/dist/src/components/input/variants/input-textarea.js +0 -2
  1003. package/dist/src/components/input/variants/input-textarea.js.map +0 -1
  1004. package/dist/src/components/loading/loading.js +0 -2
  1005. package/dist/src/components/loading/loading.js.map +0 -1
  1006. package/dist/src/components/mansory/mansory.js.map +0 -1
  1007. package/dist/src/components/menu/menu.js +0 -2
  1008. package/dist/src/components/menu/menu.js.map +0 -1
  1009. package/dist/src/components/modal/modal.js +0 -2
  1010. package/dist/src/components/modal/modal.js.map +0 -1
  1011. package/dist/src/components/modal/modalContext.js.map +0 -1
  1012. package/dist/src/components/pagination/pagination.js +0 -2
  1013. package/dist/src/components/pagination/pagination.js.map +0 -1
  1014. package/dist/src/components/progress-bar/progress-bar.js.map +0 -1
  1015. package/dist/src/components/qr-code/qr-code.js +0 -2
  1016. package/dist/src/components/qr-code/qr-code.js.map +0 -1
  1017. package/dist/src/components/rating/rating.js.map +0 -1
  1018. package/dist/src/components/select/select.js +0 -2
  1019. package/dist/src/components/select/select.js.map +0 -1
  1020. package/dist/src/components/select-zone/select-zone.js.map +0 -1
  1021. package/dist/src/components/skeleton/skeleton.js.map +0 -1
  1022. package/dist/src/components/slider/slider.js.map +0 -1
  1023. package/dist/src/components/splitter/splitter.js.map +0 -1
  1024. package/dist/src/components/steps/steps.js +0 -2
  1025. package/dist/src/components/steps/steps.js.map +0 -1
  1026. package/dist/src/components/swap/swap.js.map +0 -1
  1027. package/dist/src/components/switch/switch.js.map +0 -1
  1028. package/dist/src/components/tab/tab.js +0 -2
  1029. package/dist/src/components/tab/tab.js.map +0 -1
  1030. package/dist/src/components/table/table.js +0 -2
  1031. package/dist/src/components/table/table.js.map +0 -1
  1032. package/dist/src/components/text-rotate/text-rotate.js.map +0 -1
  1033. package/dist/src/components/timeline/timeline.js +0 -2
  1034. package/dist/src/components/timeline/timeline.js.map +0 -1
  1035. package/dist/src/components/toast/icons/ErrorIcon.js.map +0 -1
  1036. package/dist/src/components/toast/icons/IconCircle.js.map +0 -1
  1037. package/dist/src/components/toast/icons/InfoIcon.js.map +0 -1
  1038. package/dist/src/components/toast/icons/LoaderIcon.js.map +0 -1
  1039. package/dist/src/components/toast/icons/SuccessIcon.js.map +0 -1
  1040. package/dist/src/components/toast/icons/WarningIcon.js.map +0 -1
  1041. package/dist/src/components/toast/toast.js +0 -2
  1042. package/dist/src/components/toast/toast.js.map +0 -1
  1043. package/dist/src/components/toast/toast.store.js.map +0 -1
  1044. package/dist/src/components/tooltip/tooltip.js.map +0 -1
  1045. package/dist/src/components/tour/tour.js +0 -9
  1046. package/dist/src/components/tour/tour.js.map +0 -1
  1047. package/dist/src/components/upload/upload.js +0 -2
  1048. package/dist/src/components/upload/upload.js.map +0 -1
  1049. package/dist/src/components/z-index/z-index.context.js.map +0 -1
  1050. package/dist/src/components/z-index/z-index.js.map +0 -1
  1051. package/dist/src/components/z-index/z-index.store.js.map +0 -1
  1052. package/dist/src/components/z-index/z-index.types.js.map +0 -1
  1053. package/dist/src/lib.js +0 -1
  1054. package/dist/src/utils/cn.js.map +0 -1
  1055. package/dist/src/utils/element-tracker.js.map +0 -1
  1056. package/dist/src/utils/helper.js.map +0 -1
  1057. package/dist/src/utils/hoc.js.map +0 -1
  1058. package/dist/src/utils/shiki-highlight.js +0 -2
  1059. package/dist/src/utils/shiki-highlight.js.map +0 -1
  1060. /package/dist/{src/components → components}/avatar/avatar.js +0 -0
  1061. /package/dist/{src/components → components}/badge/badge.js +0 -0
  1062. /package/dist/{src/components → components}/breadcrumb/breadcrumb.js +0 -0
  1063. /package/dist/{src/components → components}/button/button.js +0 -0
  1064. /package/dist/{src/components → components}/chat-bubble/chatBubble.js +0 -0
  1065. /package/dist/{src/components → components}/checkbox/checkbox.js +0 -0
  1066. /package/dist/{src/components → components}/collapse/collapse.js +0 -0
  1067. /package/dist/{src/components → components}/context-menu/context-menu.store.js +0 -0
  1068. /package/dist/{src/components → components}/diff/diff.js +0 -0
  1069. /package/dist/{src/components → components}/divider/divider.js +0 -0
  1070. /package/dist/{src/components → components}/dropdown/dropdown.js +0 -0
  1071. /package/dist/{src/components → components}/dropdown/dropdown.store.js +0 -0
  1072. /package/dist/{src/components → components}/float-button/float-button.js +0 -0
  1073. /package/dist/{src/components → components}/hover-3d-image/hover-3d-image.js +0 -0
  1074. /package/dist/{src/components → components}/indicator/indicator.js +0 -0
  1075. /package/dist/{src/components → components}/input/input.js +0 -0
  1076. /package/dist/{src/components → components}/input/input.utils.js +0 -0
  1077. /package/dist/{src/components → components}/input/variants/input-color.js +0 -0
  1078. /package/dist/{src/components → components}/input/variants/input-date.js +0 -0
  1079. /package/dist/{src/components → components}/input/variants/input-otp.js +0 -0
  1080. /package/dist/{src/components → components}/input/variants/input-radio.js +0 -0
  1081. /package/dist/{src/components → components}/input/variants/input-range.js +0 -0
  1082. /package/dist/{src/components → components}/mansory/mansory.js +0 -0
  1083. /package/dist/{src/components → components}/modal/modalContext.js +0 -0
  1084. /package/dist/{src/components → components}/progress-bar/progress-bar.js +0 -0
  1085. /package/dist/{src/components → components}/rating/rating.js +0 -0
  1086. /package/dist/{src/components → components}/select-zone/select-zone.js +0 -0
  1087. /package/dist/{src/components → components}/skeleton/skeleton.js +0 -0
  1088. /package/dist/{src/components → components}/slider/slider.js +0 -0
  1089. /package/dist/{src/components → components}/splitter/splitter.js +0 -0
  1090. /package/dist/{src/components → components}/swap/swap.js +0 -0
  1091. /package/dist/{src/components → components}/switch/switch.js +0 -0
  1092. /package/dist/{src/components → components}/table/index.js +0 -0
  1093. /package/dist/{src/components → components}/text-rotate/text-rotate.js +0 -0
  1094. /package/dist/{src/components → components}/toast/icons/ErrorIcon.js +0 -0
  1095. /package/dist/{src/components → components}/toast/icons/IconCircle.js +0 -0
  1096. /package/dist/{src/components → components}/toast/icons/InfoIcon.js +0 -0
  1097. /package/dist/{src/components → components}/toast/icons/LoaderIcon.js +0 -0
  1098. /package/dist/{src/components → components}/toast/icons/SuccessIcon.js +0 -0
  1099. /package/dist/{src/components → components}/toast/icons/WarningIcon.js +0 -0
  1100. /package/dist/{src/components → components}/toast/toast.store.js +0 -0
  1101. /package/dist/{src/components → components}/tooltip/tooltip.js +0 -0
  1102. /package/dist/{src/components → components}/z-index/z-index.context.js +0 -0
  1103. /package/dist/{src/components → components}/z-index/z-index.js +0 -0
  1104. /package/dist/{src/components → components}/z-index/z-index.store.js +0 -0
  1105. /package/dist/{src/components → components}/z-index/z-index.types.js +0 -0
  1106. /package/dist/{src/utils → utils}/cn.js +0 -0
  1107. /package/dist/{src/utils → utils}/element-tracker.js +0 -0
  1108. /package/dist/{src/utils → utils}/helper.js +0 -0
  1109. /package/dist/{src/utils → utils}/hoc.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"splitter.js","names":["cn","getColor","children","Component","createContext","createEffect","createMemo","createSignal","createUniqueId","For","JSX","mergeProps","on","onCleanup","Show","useContext","CollapsibleConfig","PanelProps","SplitterContextValue","SplitterOrientation","SplitterProps","SplitterContext","orientation","PanelRegistration","id","props","PanelRegistryContextValue","register","reg","unregister","PanelRegistryContext","renderIcon","icon","Element","CollapseLeft","_tmpl$","CollapseRight","_tmpl$2","CollapseUp","_tmpl$3","CollapseDown","_tmpl$4","clamp","v","min","max","Math","redistributeSizes","sizes","draggerIdx","delta","panelMetas","collapsed","leftIdx","rightIdx","length","next","leftMeta","rightMeta","leftMin","leftMax","rightMin","rightMax","totalAvail","newLeft","newRight","SplitterPanel","rawProps","registry","unregisterPanel","DraggerItemProps","dIdx","getPanelList","getCollapsed","getDraggingIdx","draggerIcon","showCollapsibleIcon","collapsibleIcon","collapse","expand","collapsedControlled","class","onMouseDown","idx","e","MouseEvent","onDblClick","onCollapse","panelIdx","DraggerItem","p","leftResizable","resizable","rightResizable","canResize","isDragging","leftCollapsible","collapsible","rightCollapsible","hasCollapse","isLeftCollapsed","isRightCollapsed","iconAlwaysShow","isH","showBtnNext","cfg","showBtnPrevFull","_el$5","_tmpl$6","_el$6","firstChild","$$dblclick","$$mousedown","_$insert","_c$","_$memo","_$createComponent","when","_el$7","_tmpl$5","$$click","stopPropagation","_c$2","_$effect","_p$","_v$","collapseBtn","_v$2","_$className","t","_$setAttribute","undefined","_el$8","_c$3","_v$3","_v$4","_v$5","dragger","_v$6","draggerBar","Splitter","Panel","lazy","color","const","vertical","setPanelMetas","prev","findIndex","r","filter","resolvedChildren","Provider","value","initSizes","metas","n","size","raw","map","m","defaultSize","hasAll","every","total","reduce","s","definedTotal","undefinedCount","eachUndefined","isCollapsedControlled","Array","isArray","setSizes","collapsedInternal","setCollapsedInternal","draggingIdx","setDraggingIdx","setCollapsed","lazyGhostPos","setLazyGhostPos","controlled","containerRef","HTMLDivElement","cachedContainerSize","observeContainerSize","observer","ResizeObserver","entries","entry","contentRect","width","height","observe","disconnectContainerObserver","disconnect","getContainerSize","getNormalizedSizes","col","visibleTotal","sum","i","dragStartPos","dragStartSizes","dragStartCollapsed","onDraggerMouseDown","preventDefault","clientX","clientY","onResizeStart","index","document","addEventListener","onMouseMove","onMouseUp","applyNewSizes","newSizes","changed","pos","containerSize","deltaPct","leftSumPct","slice","onResize","onResizeEnd","removeEventListener","removeDragListeners","collapsePanel","currentCollapsed","newCollapsed","ghostStyle","CSSProperties","display","left","top","_el$9","_tmpl$7","_el$0","_tmpl$9","_ref$","_$use","each","meta","isCollapsed","panelStyle","rawSizes","normalized","showDragger","hasVisibleLeft","hasVisibleRight","_el$10","_v$7","panel","_v$8","_v$9","_$style","a","onDraggerDoubleClick","_el$1","_tmpl$8","_$p","root","_$delegateEvents"],"sources":["../../../src/components/splitter/splitter.tsx"],"sourcesContent":["import { cn } from '@/utils/cn';\r\nimport { getColor } from '@utils/helper';\r\nimport {\r\n children,\r\n Component,\r\n createContext,\r\n createEffect,\r\n createMemo,\r\n createSignal,\r\n createUniqueId,\r\n For,\r\n JSX,\r\n mergeProps,\r\n on,\r\n onCleanup,\r\n Show,\r\n useContext,\r\n} from 'solid-js';\r\nimport type {\r\n CollapsibleConfig,\r\n PanelProps,\r\n SplitterContextValue,\r\n SplitterOrientation,\r\n SplitterProps,\r\n} from './splitter.types';\r\n\r\nconst SplitterContext = createContext<SplitterContextValue>({ orientation: 'horizontal' });\r\n\r\ntype PanelRegistration = {\r\n id: string;\r\n props: PanelProps;\r\n};\r\n\r\ntype PanelRegistryContextValue = {\r\n register: (reg: PanelRegistration) => void;\r\n unregister: (id: string) => void;\r\n};\r\n\r\nconst PanelRegistryContext = createContext<PanelRegistryContextValue | null>(null);\r\n\r\nfunction renderIcon(icon: JSX.Element | (() => JSX.Element) | undefined): JSX.Element {\r\n if (typeof icon === 'function') return (icon as () => JSX.Element)();\r\n return icon as JSX.Element;\r\n}\r\n\r\nconst CollapseLeft = () => (\r\n <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"currentColor\">\r\n <path d=\"M6 2L3 5l3 3V2z\" />\r\n </svg>\r\n);\r\n\r\nconst CollapseRight = () => (\r\n <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"currentColor\">\r\n <path d=\"M4 2l3 3-3 3V2z\" />\r\n </svg>\r\n);\r\n\r\nconst CollapseUp = () => (\r\n <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"currentColor\">\r\n <path d=\"M2 6l3-3 3 3H2z\" />\r\n </svg>\r\n);\r\n\r\nconst CollapseDown = () => (\r\n <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"currentColor\">\r\n <path d=\"M2 4l3 3 3-3H2z\" />\r\n </svg>\r\n);\r\n\r\nfunction clamp(v: number, min: number, max: number) {\r\n return Math.min(Math.max(v, min), max);\r\n}\r\n\r\nfunction redistributeSizes(\r\n sizes: number[],\r\n draggerIdx: number,\r\n delta: number,\r\n panelMetas: PanelRegistration[],\r\n collapsed: boolean[],\r\n): number[] {\r\n // Tìm panel visible thực sự ở hai phía của dragger.\r\n // Bỏ qua các panel đang collapsed vì chúng bị CSS force về 0 và không\r\n // đóng góp vào tổng width thực tế — redistribute vào chúng sẽ tạo gap.\r\n let leftIdx = draggerIdx;\r\n while (leftIdx >= 0 && collapsed[leftIdx]) leftIdx--;\r\n\r\n let rightIdx = draggerIdx + 1;\r\n while (rightIdx < sizes.length && collapsed[rightIdx]) rightIdx++;\r\n\r\n if (leftIdx < 0 || rightIdx >= sizes.length) return sizes;\r\n\r\n const next = [...sizes];\r\n\r\n const leftMeta = panelMetas[leftIdx]?.props;\r\n const rightMeta = panelMetas[rightIdx]?.props;\r\n\r\n const leftMin = leftMeta?.min ?? 0;\r\n const leftMax = leftMeta?.max ?? 100;\r\n const rightMin = rightMeta?.min ?? 0;\r\n const rightMax = rightMeta?.max ?? 100;\r\n\r\n const totalAvail = next[leftIdx] + next[rightIdx];\r\n\r\n // Clamp newLeft trong khoảng [leftMin, leftMax] và đảm bảo right có đủ chỗ tối thiểu\r\n let newLeft = clamp(next[leftIdx] + delta, leftMin, Math.min(leftMax, totalAvail - rightMin));\r\n let newRight = totalAvail - newLeft;\r\n\r\n // Nếu right vượt quá rightMax, clamp right lại và tính lại left\r\n if (newRight > rightMax) {\r\n newRight = rightMax;\r\n newLeft = totalAvail - newRight;\r\n if (newLeft < leftMin || newLeft > leftMax) return sizes;\r\n }\r\n\r\n if (newRight < rightMin) return sizes;\r\n\r\n next[leftIdx] = newLeft;\r\n next[rightIdx] = newRight;\r\n return next;\r\n}\r\n\r\nexport const SplitterPanel: Component<PanelProps> = rawProps => {\r\n const registry = useContext(PanelRegistryContext);\r\n const id = createUniqueId();\r\n\r\n if (registry) {\r\n registry.register({ id, props: rawProps });\r\n onCleanup(function unregisterPanel() {\r\n registry.unregister(id);\r\n });\r\n }\r\n return null;\r\n};\r\n\r\ntype DraggerItemProps = {\r\n dIdx: number;\r\n getPanelList: () => PanelRegistration[];\r\n getCollapsed: () => boolean[];\r\n getDraggingIdx: () => number | null;\r\n orientation: () => SplitterOrientation;\r\n draggerIcon?: JSX.Element | (() => JSX.Element);\r\n showCollapsibleIcon: () => CollapsibleConfig;\r\n collapsibleIcon?: {\r\n collapse?: JSX.Element | (() => JSX.Element);\r\n expand?: JSX.Element | (() => JSX.Element);\r\n };\r\n collapsedControlled: () => boolean;\r\n class?: SplitterProps['class'];\r\n onMouseDown: (idx: number, e: MouseEvent) => void;\r\n onDblClick: (idx: number) => void;\r\n onCollapse: (panelIdx: number) => void;\r\n};\r\n\r\nconst DraggerItem: Component<DraggerItemProps> = p => {\r\n const dIdx = p.dIdx;\r\n\r\n const leftResizable = createMemo(() => p.getPanelList()[dIdx]?.props.resizable !== false);\r\n const rightResizable = createMemo(() => p.getPanelList()[dIdx + 1]?.props.resizable !== false);\r\n const canResize = createMemo(() => leftResizable() && rightResizable());\r\n const isDragging = createMemo(() => p.getDraggingIdx() === dIdx);\r\n\r\n const leftCollapsible = createMemo(() => p.getPanelList()[dIdx]?.props.collapsible ?? false);\r\n const rightCollapsible = createMemo(() => p.getPanelList()[dIdx + 1]?.props.collapsible ?? false);\r\n const hasCollapse = createMemo(() => leftCollapsible() || rightCollapsible());\r\n\r\n const isLeftCollapsed = createMemo(() => p.getCollapsed()[dIdx] ?? false);\r\n const isRightCollapsed = createMemo(() => p.getCollapsed()[dIdx + 1] ?? false);\r\n\r\n const iconAlwaysShow = createMemo(() => p.showCollapsibleIcon() === true);\r\n const isH = createMemo(() => p.orientation() === 'horizontal');\r\n\r\n const showBtnNext = createMemo(() => {\r\n if (p.collapsedControlled()) return false;\r\n const cfg = p.showCollapsibleIcon();\r\n if (cfg === false) return false;\r\n if (!hasCollapse()) return false;\r\n\r\n return rightCollapsible() || isLeftCollapsed();\r\n });\r\n\r\n const showBtnPrevFull = createMemo(() => {\r\n if (p.collapsedControlled()) return false;\r\n const cfg = p.showCollapsibleIcon();\r\n if (cfg === false) return false;\r\n if (!hasCollapse()) return false;\r\n return leftCollapsible() || isRightCollapsed();\r\n });\r\n\r\n return (\r\n <div\r\n class={cn('sp06', !canResize() && 'sp07', isDragging() && 'sp08', p.class?.dragger)}\r\n onMouseDown={e => p.onMouseDown(dIdx, e)}\r\n onDblClick={() => p.onDblClick(dIdx)}\r\n >\r\n <div class={cn('sp15', p.class?.draggerBar)}>\r\n {p.draggerIcon ? renderIcon(p.draggerIcon) : null}\r\n </div>\r\n\r\n <Show when={showBtnPrevFull()}>\r\n <button\r\n class={cn(\r\n 'sp10',\r\n 'sp11',\r\n iconAlwaysShow() && 'sp13',\r\n\r\n (isLeftCollapsed() || isRightCollapsed()) && 'sp14',\r\n p.class?.collapseBtn,\r\n )}\r\n title={isLeftCollapsed() || isRightCollapsed() ? 'Expand' : 'Collapse'}\r\n onClick={e => {\r\n e.stopPropagation();\r\n\r\n if (isRightCollapsed()) p.onCollapse(dIdx + 1);\r\n else p.onCollapse(dIdx);\r\n }}\r\n >\r\n {isLeftCollapsed()\r\n ? renderIcon(\r\n p.collapsibleIcon?.expand ?? (isH() ? <CollapseRight /> : <CollapseDown />),\r\n )\r\n : isRightCollapsed()\r\n ? renderIcon(p.collapsibleIcon?.expand ?? (isH() ? <CollapseLeft /> : <CollapseUp />))\r\n : renderIcon(\r\n p.collapsibleIcon?.collapse ?? (isH() ? <CollapseLeft /> : <CollapseUp />),\r\n )}\r\n </button>\r\n </Show>\r\n\r\n <Show when={showBtnNext()}>\r\n <button\r\n class={cn(\r\n 'sp10',\r\n 'sp12',\r\n iconAlwaysShow() && 'sp13',\r\n\r\n (isRightCollapsed() || isLeftCollapsed()) && 'sp14',\r\n p.class?.collapseBtn,\r\n )}\r\n title={isRightCollapsed() ? 'Collapse' : 'Expand'}\r\n onClick={e => {\r\n e.stopPropagation();\r\n\r\n if (isLeftCollapsed()) p.onCollapse(dIdx);\r\n else p.onCollapse(dIdx + 1);\r\n }}\r\n >\r\n {isRightCollapsed()\r\n ? renderIcon(p.collapsibleIcon?.expand ?? (isH() ? <CollapseLeft /> : <CollapseUp />))\r\n : isLeftCollapsed()\r\n ? renderIcon(\r\n p.collapsibleIcon?.expand ?? (isH() ? <CollapseRight /> : <CollapseDown />),\r\n )\r\n : renderIcon(\r\n p.collapsibleIcon?.collapse ?? (isH() ? <CollapseRight /> : <CollapseDown />),\r\n )}\r\n </button>\r\n </Show>\r\n </div>\r\n );\r\n};\r\n\r\nexport const Splitter: Component<SplitterProps> & { Panel: Component<PanelProps> } = rawProps => {\r\n const p = mergeProps(\r\n {\r\n orientation: 'horizontal' as SplitterOrientation,\r\n lazy: false,\r\n color: 'primary' as const,\r\n },\r\n rawProps,\r\n );\r\n\r\n const orientation = createMemo<SplitterOrientation>(() =>\r\n p.vertical ? 'vertical' : (p.orientation ?? 'horizontal'),\r\n );\r\n\r\n const [panelMetas, setPanelMetas] = createSignal<PanelRegistration[]>([]);\r\n\r\n const registry: PanelRegistryContextValue = {\r\n register(reg) {\r\n setPanelMetas(prev => {\r\n const idx = prev.findIndex(r => r.id === reg.id);\r\n if (idx >= 0) {\r\n const next = [...prev];\r\n next[idx] = reg;\r\n return next;\r\n }\r\n return [...prev, reg];\r\n });\r\n },\r\n unregister(id) {\r\n setPanelMetas(prev => prev.filter(r => r.id !== id));\r\n },\r\n };\r\n\r\n const resolvedChildren = children(() => (\r\n <PanelRegistryContext.Provider value={registry}>{p.children}</PanelRegistryContext.Provider>\r\n ));\r\n\r\n function initSizes(metas: PanelRegistration[]): number[] {\r\n const n = metas.length;\r\n if (n === 0) return [];\r\n if (p.size && p.size.length === n) return [...p.size];\r\n\r\n const raw = metas.map(m => m.props.size ?? m.props.defaultSize);\r\n const hasAll = raw.every(v => v !== undefined);\r\n if (hasAll) {\r\n const total = raw.reduce((s, v) => s + v!, 0);\r\n return raw.map(v => (v! / total) * 100);\r\n }\r\n\r\n const definedTotal = (raw.filter(v => v !== undefined) as number[]).reduce((s, v) => s + v, 0);\r\n const undefinedCount = raw.filter(v => v === undefined).length;\r\n const eachUndefined = undefinedCount > 0 ? Math.max(0, 100 - definedTotal) / undefinedCount : 0;\r\n return raw.map(v => (v !== undefined ? v : eachUndefined));\r\n }\r\n\r\n const isCollapsedControlled = createMemo(() => Array.isArray(p.collapsed));\r\n\r\n const [sizes, setSizes] = createSignal<number[]>([]);\r\n const [collapsedInternal, setCollapsedInternal] = createSignal<boolean[]>([]);\r\n const [draggingIdx, setDraggingIdx] = createSignal<number | null>(null);\r\n\r\n const collapsed = createMemo(() =>\r\n isCollapsedControlled() ? (p.collapsed as boolean[]) : collapsedInternal(),\r\n );\r\n const setCollapsed = (next: boolean[]) => {\r\n if (!isCollapsedControlled()) setCollapsedInternal(next);\r\n };\r\n\r\n const [lazyGhostPos, setLazyGhostPos] = createSignal<number | null>(null);\r\n\r\n createEffect(\r\n on(panelMetas, metas => {\r\n if (metas.length === 0) return;\r\n setSizes(initSizes(metas));\r\n setCollapsedInternal(metas.map(() => false));\r\n }),\r\n );\r\n\r\n createEffect(\r\n on(\r\n () => p.size,\r\n controlled => {\r\n if (!controlled) return;\r\n if (controlled.length === panelMetas().length) setSizes([...controlled]);\r\n },\r\n ),\r\n );\r\n\r\n let containerRef: HTMLDivElement | undefined;\r\n let cachedContainerSize = 0;\r\n\r\n createEffect(function observeContainerSize() {\r\n if (!containerRef) return;\r\n const isH = orientation() === 'horizontal';\r\n const observer = new ResizeObserver(entries => {\r\n const entry = entries[0];\r\n if (!entry) return;\r\n cachedContainerSize = isH ? entry.contentRect.width : entry.contentRect.height;\r\n });\r\n observer.observe(containerRef);\r\n onCleanup(function disconnectContainerObserver() {\r\n observer.disconnect();\r\n });\r\n });\r\n\r\n function getContainerSize(): number {\r\n return cachedContainerSize;\r\n }\r\n\r\n // Trả về sizes đã normalize: tổng 100% chỉ tính trên panel visible\r\n function getNormalizedSizes(): number[] {\r\n const col = collapsed();\r\n const raw = sizes();\r\n const visibleTotal = raw.reduce((sum, s, i) => sum + (col[i] ? 0 : s), 0);\r\n if (visibleTotal === 0) return raw.map(() => 0);\r\n return raw.map((s, i) => (col[i] ? s : (s / visibleTotal) * 100));\r\n }\r\n\r\n let dragStartPos = 0;\r\n let dragStartSizes: number[] = [];\r\n let dragStartCollapsed: boolean[] = [];\r\n\r\n function onDraggerMouseDown(idx: number, e: MouseEvent) {\r\n const metas = panelMetas();\r\n if (metas[idx]?.props.resizable === false) return;\r\n if (metas[idx + 1]?.props.resizable === false) return;\r\n\r\n e.preventDefault();\r\n setDraggingIdx(idx);\r\n dragStartPos = orientation() === 'horizontal' ? e.clientX : e.clientY;\r\n dragStartSizes = getNormalizedSizes();\r\n dragStartCollapsed = [...collapsed()];\r\n p.onResizeStart?.({ sizes: dragStartSizes, index: idx });\r\n\r\n document.addEventListener('mousemove', onMouseMove);\r\n document.addEventListener('mouseup', onMouseUp);\r\n }\r\n\r\n function applyNewSizes(newSizes: number[], idx: number) {\r\n const col = [...collapsed()];\r\n let changed = false;\r\n if (col[idx] && newSizes[idx] > 0) {\r\n col[idx] = false;\r\n changed = true;\r\n }\r\n if (col[idx + 1] && newSizes[idx + 1] > 0) {\r\n col[idx + 1] = false;\r\n changed = true;\r\n }\r\n if (changed) setCollapsed(col);\r\n setSizes(newSizes);\r\n }\r\n\r\n function onMouseMove(e: MouseEvent) {\r\n const idx = draggingIdx();\r\n if (idx === null) return;\r\n\r\n const pos = orientation() === 'horizontal' ? e.clientX : e.clientY;\r\n const containerSize = getContainerSize();\r\n if (containerSize === 0) return;\r\n\r\n const deltaPct = ((pos - dragStartPos) / containerSize) * 100;\r\n const newSizes = redistributeSizes(\r\n dragStartSizes,\r\n idx,\r\n deltaPct,\r\n panelMetas(),\r\n dragStartCollapsed,\r\n );\r\n\r\n if (p.lazy) {\r\n const leftSumPct = newSizes.slice(0, idx + 1).reduce((s, v) => s + v, 0);\r\n setLazyGhostPos((leftSumPct / 100) * containerSize);\r\n } else {\r\n applyNewSizes(newSizes, idx);\r\n p.onResize?.({ sizes: newSizes, index: idx });\r\n }\r\n }\r\n\r\n function onMouseUp(e: MouseEvent) {\r\n const idx = draggingIdx();\r\n if (idx === null) return;\r\n\r\n if (p.lazy) {\r\n const pos = orientation() === 'horizontal' ? e.clientX : e.clientY;\r\n const containerSize = getContainerSize();\r\n if (containerSize > 0) {\r\n const deltaPct = ((pos - dragStartPos) / containerSize) * 100;\r\n const newSizes = redistributeSizes(\r\n dragStartSizes,\r\n idx,\r\n deltaPct,\r\n panelMetas(),\r\n dragStartCollapsed,\r\n );\r\n applyNewSizes(newSizes, idx);\r\n p.onResize?.({ sizes: newSizes, index: idx });\r\n p.onResizeEnd?.({ sizes: newSizes, index: idx });\r\n }\r\n setLazyGhostPos(null);\r\n } else {\r\n p.onResizeEnd?.({ sizes: sizes(), index: idx });\r\n }\r\n\r\n setDraggingIdx(null);\r\n document.removeEventListener('mousemove', onMouseMove);\r\n document.removeEventListener('mouseup', onMouseUp);\r\n }\r\n\r\n onCleanup(function removeDragListeners() {\r\n document.removeEventListener('mousemove', onMouseMove);\r\n document.removeEventListener('mouseup', onMouseUp);\r\n });\r\n\r\n function collapsePanel(panelIdx: number) {\r\n const metas = panelMetas();\r\n if (!metas[panelIdx]?.props.collapsible) return;\r\n\r\n const currentCollapsed = collapsed();\r\n const newCollapsed = [...currentCollapsed];\r\n\r\n if (currentCollapsed[panelIdx]) {\r\n // Expand: chỉ bỏ collapsed flag — render tự normalize sizes\r\n newCollapsed[panelIdx] = false;\r\n setCollapsed(newCollapsed);\r\n p.onCollapse?.({ sizes: sizes(), collapsed: newCollapsed, index: panelIdx });\r\n } else {\r\n // Collapse: chỉ đánh dấu collapsed — render tự normalize sizes\r\n newCollapsed[panelIdx] = true;\r\n setCollapsed(newCollapsed);\r\n p.onCollapse?.({ sizes: sizes(), collapsed: newCollapsed, index: panelIdx });\r\n }\r\n }\r\n\r\n const ghostStyle = createMemo<JSX.CSSProperties>(() => {\r\n const pos = lazyGhostPos();\r\n\r\n if (pos === null) return { display: 'none' };\r\n return orientation() === 'horizontal'\r\n ? { display: 'block', left: `${pos}px` }\r\n : { display: 'block', top: `${pos}px` };\r\n });\r\n\r\n return (\r\n <SplitterContext.Provider value={{ orientation: orientation() }}>\r\n <div class=\"hidden\">{resolvedChildren()}</div>\r\n\r\n <div\r\n ref={containerRef}\r\n class={cn(\r\n 'sp01',\r\n orientation() === 'vertical' ? 'sp02' : 'sp03',\r\n getColor(p.color),\r\n p.class?.root,\r\n )}\r\n >\r\n <For each={panelMetas()}>\r\n {(meta, idx) => {\r\n const isCollapsed = createMemo(() => collapsed()[idx()] ?? false);\r\n\r\n // Tính normalized size: chia đều 100% cho các panel visible\r\n const panelStyle = createMemo<JSX.CSSProperties>(() => {\r\n if (isCollapsed()) return { display: 'none' };\r\n\r\n const col = collapsed();\r\n const rawSizes = sizes();\r\n\r\n // Tính tổng size của các panel visible\r\n const visibleTotal = rawSizes.reduce((sum, s, i) => sum + (col[i] ? 0 : s), 0);\r\n\r\n const s = rawSizes[idx()] ?? 0;\r\n const normalized = visibleTotal > 0 ? (s / visibleTotal) * 100 : 0;\r\n\r\n return orientation() === 'horizontal'\r\n ? { 'flex-basis': `${normalized}%`, 'min-width': `${meta.props.min ?? 0}%` }\r\n : { 'flex-basis': `${normalized}%`, 'min-height': `${meta.props.min ?? 0}%` };\r\n });\r\n\r\n // Dragger sau panel idx() — ẩn chỉ khi cả hai phía đều không có panel visible.\r\n // Trong controlled mode: ẩn dragger nếu một trong hai panel kề trực tiếp bị ẩn,\r\n // vì nút collapse/expand đã bị tắt và thanh chỉ còn dùng để resize (vô nghĩa khi\r\n // một bên không hiển thị).\r\n const showDragger = createMemo(() => {\r\n if (idx() >= panelMetas().length - 1) return false;\r\n const col = collapsed();\r\n\r\n if (isCollapsedControlled()) {\r\n return !col[idx()] && !(col[idx() + 1] ?? false);\r\n }\r\n\r\n // Tìm panel visible gần nhất bên trái (bao gồm idx())\r\n let hasVisibleLeft = false;\r\n for (let i = idx(); i >= 0; i--) {\r\n if (!col[i]) {\r\n hasVisibleLeft = true;\r\n break;\r\n }\r\n }\r\n // Tìm panel visible gần nhất bên phải (idx()+1 trở đi)\r\n let hasVisibleRight = false;\r\n for (let i = idx() + 1; i < panelMetas().length; i++) {\r\n if (!col[i]) {\r\n hasVisibleRight = true;\r\n break;\r\n }\r\n }\r\n return hasVisibleLeft || hasVisibleRight;\r\n });\r\n\r\n return (\r\n <>\r\n <div\r\n class={cn('sp04', isCollapsed() && 'sp05', meta.props.class, p.class?.panel)}\r\n style={panelStyle()}\r\n data-panel-id={meta.id}\r\n >\r\n {meta.props.children}\r\n </div>\r\n\r\n <Show when={showDragger()}>\r\n <DraggerItem\r\n dIdx={idx()}\r\n getPanelList={panelMetas}\r\n getCollapsed={collapsed}\r\n getDraggingIdx={draggingIdx}\r\n orientation={orientation}\r\n draggerIcon={p.draggerIcon}\r\n showCollapsibleIcon={() => p.showCollapsibleIcon ?? 'auto'}\r\n collapsibleIcon={p.collapsibleIcon}\r\n collapsedControlled={isCollapsedControlled}\r\n class={p.class}\r\n onMouseDown={onDraggerMouseDown}\r\n onDblClick={dIdx => p.onDraggerDoubleClick?.(dIdx, sizes())}\r\n onCollapse={collapsePanel}\r\n />\r\n </Show>\r\n </>\r\n );\r\n }}\r\n </For>\r\n\r\n <Show when={p.lazy}>\r\n <div class=\"sp09\" style={ghostStyle()} />\r\n </Show>\r\n </div>\r\n </SplitterContext.Provider>\r\n );\r\n};\r\n\r\nSplitter.Panel = SplitterPanel;\r\n"],"mappings":"06BA0BMqB,EAAkBjB,EAAoC,CAAEkB,YAAa,aAAc,CAAC,CAYpFQ,EAAuB1B,EAAgD,KAAK,CAElF,SAAS2B,EAAWC,EAAkE,CAEpF,OADI,OAAOA,GAAS,WAAoBA,GAA4B,CAC7DA,EAGT,IAAME,MAAeC,GAIpB,CAEKC,MAAgBC,GAIrB,CAEKC,MAAaC,GAIlB,CAEKC,MAAeC,GAIpB,CAED,SAASC,EAAMC,EAAWC,EAAaC,EAAa,CAClD,OAAOC,KAAKF,IAAIE,KAAKD,IAAIF,EAAGC,EAAI,CAAEC,EAAI,CAGxC,SAASE,EACPC,EACAC,EACAC,EACAC,EACAC,EACU,CAIV,IAAIC,EAAUJ,EACd,KAAOI,GAAW,GAAKD,EAAUC,IAAUA,IAE3C,IAAIC,EAAWL,EAAa,EAC5B,KAAOK,EAAWN,EAAMO,QAAUH,EAAUE,IAAWA,IAEvD,GAAID,EAAU,GAAKC,GAAYN,EAAMO,OAAQ,OAAOP,EAEpD,IAAMQ,EAAO,CAAC,GAAGR,EAAM,CAEjBS,EAAWN,EAAWE,IAAU5B,MAChCiC,EAAYP,EAAWG,IAAW7B,MAElCkC,EAAUF,GAAUb,KAAO,EAC3BgB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,OAAS,OACxCrB,EAASyF,EAAEqD,MAAM,CACjBrD,EAAET,OAAOoL,KACV,CAAA,CAAA,CAAAxB,KAAA,CAAA,EAAA,CAAA,EA+FTjG,EAASC,MAAQ3E,EAAcoM,EAAA,CAAA,YAAA,WAAA,QAAA,CAAA"}
@@ -0,0 +1,2 @@
1
+ import{cn as e}from"../../utils/cn.js";import{getColor as t}from"../../utils/helper.js";import{className as n,createComponent as r,delegateEvents as i,effect as a,insert as o,memo as s,mergeProps as c,setAttribute as l,template as u}from"solid-js/web";import{For as d,Show as f,createMemo as p,mergeProps as m}from"solid-js";import h from"lucide-solid/icons/check";import g from"lucide-solid/icons/arrow-right";var _=u(`<div>`),v=u(`<span class=ste17>`),y=u(`<div class=ste16>`),b=u(`<div><div class=ste18>`),x=u(`<span class=ste11 aria-hidden=true>`),S=u(`<div><div class=ste10><div class=ste18>`),C=u(`<div class=ste13><div>`),w=(e,t,n,r)=>n.includes(e)?`disabled`:r?.includes(e)||e===t?`active`:e<t?`done`:`upcoming`,T=t=>(()=>{var i=_();return o(i,r(f,{get when(){return s(()=>t.status===`done`)()&&!t.icon},get fallback(){return r(f,{get when(){return t.icon},get fallback(){return(()=>{var e=v();return o(e,()=>t.index+1),e})()},get children(){return t.icon}})},get children(){return r(h,{size:16,"stroke-width":3})}})),a(()=>n(i,e(`ste15`,t.class))),i})(),E=t=>(()=>{var i=_();return o(i,r(d,{get each(){return t.items},children:(i,c)=>{let u=()=>w(c(),t.current,t.disabled,t.activeIndex);return[r(f,{get when(){return s(()=>!t.isVertical)()&&c()>0},get children(){var r=_();return a(()=>n(r,e(`ste21 ste22`,`ste-s-${u()}`,t.class?.connector))),r}}),(()=>{var s=b(),d=s.firstChild;return s.$$click=()=>u()!==`disabled`&&t.onStepClick(c()),o(s,r(f,{get when(){return t.isVertical},get children(){var s=y();return o(s,r(T,{get index(){return c()},get status(){return u()},get icon(){return i.icon},get class(){return t.class?.icon}}),null),o(s,r(f,{get when(){return c()<t.items.length-1},get children(){var r=_();return a(()=>n(r,e(`ste21 ste23`,t.class?.connector))),r}}),null),s}}),d),o(s,r(f,{get when(){return!t.isVertical},get children(){return r(T,{get index(){return c()},get status(){return u()},get icon(){return i.icon},get class(){return t.class?.icon}})}}),d),o(d,r(f,{get when(){return i.title},get children(){var r=_();return o(r,()=>i.title),a(()=>n(r,e(`ste19`,t.class?.title))),r}}),null),o(d,r(f,{get when(){return i.description},get children(){var r=_();return o(r,()=>i.description),a(()=>n(r,e(`ste20`,t.class?.description))),r}}),null),a(r=>{var i=e(`ste07 ste08`,`ste-s-${u()}`,t.class?.step),a=u();return i!==r.e&&n(s,r.e=i),a!==r.t&&l(s,`data-status`,r.t=a),r},{e:void 0,t:void 0}),s})()]}})),a(()=>n(i,e(`ste01 ste02`,t.colorClass,t.isVertical?`ste06`:`ste05`,t.class?.root))),i})(),D=t=>(()=>{var i=_();return o(i,r(d,{get each(){return t.items},children:(i,c)=>{let u=()=>w(c(),t.current,t.disabled,t.activeIndex);return[r(f,{get when(){return s(()=>!t.isVertical)()&&c()>0},get children(){var e=x();return o(e,r(g,{size:14,"stroke-width":3,get color(){return u()===`active`||u()===`done`?`var(--color)`:`currentColor`}})),e}}),(()=>{var s=S(),d=s.firstChild,p=d.firstChild;return s.$$click=()=>u()!==`disabled`&&t.onStepClick(c()),o(d,r(T,{get index(){return c()},get status(){return u()},get icon(){return i.icon},get class(){return t.class?.icon}}),p),o(p,r(f,{get when(){return i.title},get children(){var r=_();return o(r,()=>i.title),a(()=>n(r,e(`ste19`,t.class?.title))),r}}),null),o(p,r(f,{get when(){return i.description},get children(){var r=_();return o(r,()=>i.description),a(()=>n(r,e(`ste20`,t.class?.description))),r}}),null),a(r=>{var i=e(`ste07 ste09`,`ste-s-${u()}`,t.class?.step),a=u();return i!==r.e&&n(s,r.e=i),a!==r.t&&l(s,`data-status`,r.t=a),r},{e:void 0,t:void 0}),s})()]}})),a(()=>n(i,e(`ste01 ste03`,t.colorClass,t.isVertical?`ste06`:`ste05`,t.class?.root))),i})(),O=t=>(()=>{var i=_();return o(i,r(d,{get each(){return t.items},children:(i,c)=>{let u=()=>w(c(),t.current,t.disabled,t.activeIndex);return[r(f,{get when(){return s(()=>!t.isVertical)()&&c()>0},get children(){var r=_();return a(()=>n(r,e(`ste21 ste22 ste24`,`ste-s-${u()}`,t.class?.connector))),r}}),(()=>{var s=b(),d=s.firstChild;return s.$$click=()=>u()!==`disabled`&&t.onStepClick(c()),o(s,r(f,{get when(){return t.isVertical},get children(){var i=C(),s=i.firstChild;return o(i,r(f,{get when(){return c()<t.items.length-1},get children(){var r=_();return a(()=>n(r,e(`ste21 ste23`,t.class?.connector))),r}}),null),a(()=>n(s,e(`ste14`,t.class?.icon))),i}}),d),o(s,r(f,{get when(){return!t.isVertical},get children(){var r=_();return a(()=>n(r,e(`ste14`,t.class?.icon))),r}}),d),o(d,r(f,{get when(){return i.title},get children(){var r=_();return o(r,()=>i.title),a(()=>n(r,e(`ste19`,t.class?.title))),r}}),null),o(d,r(f,{get when(){return i.description},get children(){var r=_();return o(r,()=>i.description),a(()=>n(r,e(`ste20`,t.class?.description))),r}}),null),a(r=>{var i=e(`ste07 ste12`,`ste-s-${u()}`,t.class?.step),a=u();return i!==r.e&&n(s,r.e=i),a!==r.t&&l(s,`data-status`,r.t=a),r},{e:void 0,t:void 0}),s})()]}})),a(()=>n(i,e(`ste01 ste04`,t.colorClass,t.isVertical?`ste06`:`ste05`,t.class?.root))),i})(),k=e=>{e=m({type:`default`,orientation:`horizontal`,color:`primary`,disabled:[],items:[]},e);let n=()=>e.current?.()??0,i=p(()=>e.items&&e.items.length>0?e.items:e.total&&e.total>0?Array.from({length:e.total},(e,t)=>({title:`Step ${t+1}`})):[]),a=t=>{e.setCurrent?.(t),e.onChange?.(t)},o=p(()=>({items:i(),current:n(),disabled:e.disabled??[],activeIndex:e.activeIndex,isVertical:e.orientation===`vertical`,colorClass:t(e.color,`color-primary`),onStepClick:a,class:e.class}));return r(f,{get when(){return e.type===`navigation`},get fallback(){return r(f,{get when(){return e.type===`dot`},get fallback(){return r(E,c(o))},get children(){return r(O,c(o))}})},get children(){return r(D,c(o))}})};i([`click`]);export{k as Steps};
2
+ //# sourceMappingURL=steps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"steps.js","names":["BaseColorProps","cn","getColor","ArrowRight","Check","Accessor","Component","createMemo","For","JSX","mergeProps","Setter","Show","StepItem","title","Element","description","icon","StepsProps","type","color","orientation","total","items","current","setCurrent","onChange","index","disabled","activeIndex","class","root","step","connector","StepStatus","getStepStatus","includes","StepIconProps","status","StepIconContent","p","_el$","_tmpl$","_$insert","_$createComponent","when","_$memo","fallback","_el$2","_tmpl$2","children","size","_$effect","_$className","InternalProps","isVertical","colorClass","onStepClick","TypeDefault","_el$3","each","item","i","_el$4","_el$5","_tmpl$4","_el$8","firstChild","$$click","_el$6","_tmpl$3","length","_el$7","_el$9","_el$0","_p$","_v$","_v$2","e","t","_$setAttribute","undefined","TypeNavigation","_el$1","_el$10","_tmpl$5","_el$11","_tmpl$6","_el$12","_el$13","_el$14","_el$15","_v$3","_v$4","TypeDot","_el$16","_el$17","_el$18","_el$23","_el$19","_tmpl$7","_el$20","_el$21","_el$22","_el$24","_el$25","_v$5","_v$6","Steps","resolvedItems","Array","from","_","handleClick","shared","_$mergeProps","_$delegateEvents"],"sources":["../../../src/components/steps/steps.tsx"],"sourcesContent":["import { BaseColorProps } from '@/type';\r\nimport { cn } from '@/utils/cn';\r\nimport { getColor } from '@/utils/helper';\r\nimport ArrowRight from 'lucide-solid/icons/arrow-right';\r\nimport Check from 'lucide-solid/icons/check';\r\nimport { Accessor, Component, createMemo, For, JSX, mergeProps, Setter, Show } from 'solid-js';\r\n\r\n// ─── Types ────────────────────────────────────────────────────────────────────\r\n\r\nexport type StepItem = {\r\n title?: JSX.Element;\r\n description?: JSX.Element;\r\n icon?: JSX.Element;\r\n};\r\n\r\nexport type StepsProps = {\r\n type?: 'default' | 'navigation' | 'dot';\r\n color?: BaseColorProps;\r\n orientation?: 'horizontal' | 'vertical';\r\n total?: number;\r\n items?: StepItem[];\r\n current?: Accessor<number>;\r\n setCurrent?: Setter<number>;\r\n onChange?: (index: number) => void;\r\n disabled?: number[];\r\n activeIndex?: number[];\r\n class?: {\r\n root?: string;\r\n step?: string;\r\n icon?: string;\r\n title?: string;\r\n description?: string;\r\n connector?: string;\r\n };\r\n};\r\n\r\n// ─── Helpers ──────────────────────────────────────────────────────────────────\r\n\r\ntype StepStatus = 'active' | 'done' | 'upcoming' | 'disabled';\r\n\r\nconst getStepStatus = (\r\n index: number,\r\n current: number,\r\n disabled: number[],\r\n activeIndex?: number[],\r\n): StepStatus => {\r\n if (disabled.includes(index)) return 'disabled';\r\n if (activeIndex?.includes(index)) return 'active';\r\n if (index === current) return 'active';\r\n if (index < current) return 'done';\r\n return 'upcoming';\r\n};\r\n\r\n// ─── StepIcon — reusable icon renderer ───────────────────────────────────────\r\n// Renders: checkmark (done, no custom icon) | custom icon | step number\r\n\r\ntype StepIconProps = {\r\n index: number;\r\n status: StepStatus;\r\n icon?: JSX.Element;\r\n class?: string;\r\n};\r\n\r\nconst StepIconContent: Component<StepIconProps> = p => (\r\n <div class={cn('ste15', p.class)}>\r\n <Show\r\n when={p.status === 'done' && !p.icon}\r\n fallback={\r\n <Show when={p.icon} fallback={<span class=\"ste17\">{p.index + 1}</span>}>\r\n {p.icon}\r\n </Show>\r\n }\r\n >\r\n <Check size={16} stroke-width={3} />\r\n </Show>\r\n </div>\r\n);\r\n\r\n// ─── Internal props shared across sub-components ──────────────────────────────\r\n\r\ntype InternalProps = {\r\n items: StepItem[];\r\n current: number;\r\n disabled: number[];\r\n activeIndex?: number[];\r\n isVertical: boolean;\r\n colorClass: string;\r\n onStepClick: (index: number) => void;\r\n class?: StepsProps['class'];\r\n};\r\n\r\n// ─── Sub-component: Default ───────────────────────────────────────────────────\r\n\r\nconst TypeDefault: Component<InternalProps> = p => (\r\n <div class={cn('ste01 ste02', p.colorClass, p.isVertical ? 'ste06' : 'ste05', p.class?.root)}>\r\n <For each={p.items}>\r\n {(item, i) => {\r\n const status = () => getStepStatus(i(), p.current, p.disabled, p.activeIndex);\r\n\r\n return (\r\n <>\r\n {/* Connector nằm giữa hai step (horizontal), trước mỗi step từ index 1 */}\r\n <Show when={!p.isVertical && i() > 0}>\r\n <div class={cn('ste21 ste22', `ste-s-${status()}`, p.class?.connector)} />\r\n </Show>\r\n\r\n <div\r\n class={cn('ste07 ste08', `ste-s-${status()}`, p.class?.step)}\r\n data-status={status()}\r\n onClick={() => status() !== 'disabled' && p.onStepClick(i())}\r\n >\r\n {/* ── Vertical: icon col + connector ── */}\r\n <Show when={p.isVertical}>\r\n <div class=\"ste16\">\r\n <StepIconContent\r\n index={i()}\r\n status={status()}\r\n icon={item.icon}\r\n class={p.class?.icon}\r\n />\r\n <Show when={i() < p.items.length - 1}>\r\n <div class={cn('ste21 ste23', p.class?.connector)} />\r\n </Show>\r\n </div>\r\n </Show>\r\n\r\n {/* ── Horizontal: chỉ icon (connector đã là sibling bên ngoài) ── */}\r\n <Show when={!p.isVertical}>\r\n <StepIconContent\r\n index={i()}\r\n status={status()}\r\n icon={item.icon}\r\n class={p.class?.icon}\r\n />\r\n </Show>\r\n\r\n {/* ── Content ── */}\r\n <div class=\"ste18\">\r\n <Show when={item.title}>\r\n <div class={cn('ste19', p.class?.title)}>{item.title}</div>\r\n </Show>\r\n <Show when={item.description}>\r\n <div class={cn('ste20', p.class?.description)}>{item.description}</div>\r\n </Show>\r\n </div>\r\n </div>\r\n </>\r\n );\r\n }}\r\n </For>\r\n </div>\r\n);\r\n\r\n// ─── Sub-component: Navigation ────────────────────────────────────────────────\r\n\r\nconst TypeNavigation: Component<InternalProps> = p => (\r\n <div class={cn('ste01 ste03', p.colorClass, p.isVertical ? 'ste06' : 'ste05', p.class?.root)}>\r\n <For each={p.items}>\r\n {(item, i) => {\r\n const status = () => getStepStatus(i(), p.current, p.disabled, p.activeIndex);\r\n\r\n return (\r\n <>\r\n {/* Separator giữa các step — horizontal only */}\r\n <Show when={!p.isVertical && i() > 0}>\r\n <span class=\"ste11\" aria-hidden=\"true\">\r\n <ArrowRight\r\n size={14}\r\n stroke-width={3}\r\n color={\r\n status() === 'active' || status() === 'done' ? 'var(--color)' : 'currentColor'\r\n }\r\n />\r\n </span>\r\n </Show>\r\n\r\n <div\r\n class={cn('ste07 ste09', `ste-s-${status()}`, p.class?.step)}\r\n data-status={status()}\r\n onClick={() => status() !== 'disabled' && p.onStepClick(i())}\r\n >\r\n <div class=\"ste10\">\r\n <StepIconContent\r\n index={i()}\r\n status={status()}\r\n icon={item.icon}\r\n class={p.class?.icon}\r\n />\r\n <div class=\"ste18\">\r\n <Show when={item.title}>\r\n <div class={cn('ste19', p.class?.title)}>{item.title}</div>\r\n </Show>\r\n <Show when={item.description}>\r\n <div class={cn('ste20', p.class?.description)}>{item.description}</div>\r\n </Show>\r\n </div>\r\n </div>\r\n </div>\r\n </>\r\n );\r\n }}\r\n </For>\r\n </div>\r\n);\r\n\r\n// ─── Sub-component: Dot ───────────────────────────────────────────────────────\r\n\r\nconst TypeDot: Component<InternalProps> = p => (\r\n <div class={cn('ste01 ste04', p.colorClass, p.isVertical ? 'ste06' : 'ste05', p.class?.root)}>\r\n <For each={p.items}>\r\n {(item, i) => {\r\n const status = () => getStepStatus(i(), p.current, p.disabled, p.activeIndex);\r\n\r\n return (\r\n <>\r\n {/* Connector sibling — horizontal only, trước mỗi step từ index 1 */}\r\n <Show when={!p.isVertical && i() > 0}>\r\n <div class={cn('ste21 ste22 ste24', `ste-s-${status()}`, p.class?.connector)} />\r\n </Show>\r\n\r\n <div\r\n class={cn('ste07 ste12', `ste-s-${status()}`, p.class?.step)}\r\n data-status={status()}\r\n onClick={() => status() !== 'disabled' && p.onStepClick(i())}\r\n >\r\n {/* ── Vertical: dot col + connector ── */}\r\n <Show when={p.isVertical}>\r\n <div class=\"ste13\">\r\n <div class={cn('ste14', p.class?.icon)} />\r\n <Show when={i() < p.items.length - 1}>\r\n <div class={cn('ste21 ste23', p.class?.connector)} />\r\n </Show>\r\n </div>\r\n </Show>\r\n\r\n {/* ── Horizontal: chỉ dot (connector là sibling bên ngoài) ── */}\r\n <Show when={!p.isVertical}>\r\n <div class={cn('ste14', p.class?.icon)} />\r\n </Show>\r\n\r\n {/* Content */}\r\n <div class=\"ste18\">\r\n <Show when={item.title}>\r\n <div class={cn('ste19', p.class?.title)}>{item.title}</div>\r\n </Show>\r\n <Show when={item.description}>\r\n <div class={cn('ste20', p.class?.description)}>{item.description}</div>\r\n </Show>\r\n </div>\r\n </div>\r\n </>\r\n );\r\n }}\r\n </For>\r\n </div>\r\n);\r\n\r\n// ─── Main Component ───────────────────────────────────────────────────────────\r\n\r\nexport const Steps: Component<StepsProps> = p => {\r\n p = mergeProps(\r\n {\r\n type: 'default',\r\n orientation: 'horizontal',\r\n color: 'primary',\r\n disabled: [],\r\n items: [],\r\n } as StepsProps,\r\n p,\r\n );\r\n\r\n const current = () => p.current?.() ?? 0;\r\n\r\n const resolvedItems = createMemo((): StepItem[] => {\r\n if (p.items && p.items.length > 0) return p.items;\r\n if (p.total && p.total > 0)\r\n return Array.from({ length: p.total }, (_, i) => ({ title: `Step ${i + 1}` }));\r\n return [];\r\n });\r\n\r\n const handleClick = (index: number) => {\r\n p.setCurrent?.(index);\r\n p.onChange?.(index);\r\n };\r\n\r\n const shared = createMemo(\r\n (): InternalProps => ({\r\n items: resolvedItems(),\r\n current: current(),\r\n disabled: p.disabled ?? [],\r\n activeIndex: p.activeIndex,\r\n isVertical: p.orientation === 'vertical',\r\n colorClass: getColor(p.color, 'color-primary'),\r\n onStepClick: handleClick,\r\n class: p.class,\r\n }),\r\n );\r\n\r\n return (\r\n <Show\r\n when={p.type === 'navigation'}\r\n fallback={\r\n <Show when={p.type === 'dot'} fallback={<TypeDefault {...shared()} />}>\r\n <TypeDot {...shared()} />\r\n </Show>\r\n }\r\n >\r\n <TypeNavigation {...shared()} />\r\n </Show>\r\n );\r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G0F,EAAGlD,KAAO,CAAEhD,MAAO,QAAQgD,EAAI,IAAK,EAAE,CACzE,EAAE,CACT,CAEImD,EAAetF,GAAkB,CACrCa,EAAEf,aAAaE,EAAM,CACrBa,EAAEd,WAAWC,EAAM,EAGfuF,EAAS3G,OACS,CACpBgB,MAAOsF,GAAe,CACtBrF,QAASA,GAAS,CAClBI,SAAUY,EAAEZ,UAAY,EAAE,CAC1BC,YAAaW,EAAEX,YACf0B,WAAYf,EAAEnB,cAAgB,WAC9BmC,WAAYtD,EAASsC,EAAEpB,MAAO,gBAAgB,CAC9CqC,YAAawD,EACbnF,MAAOU,EAAEV,MACV,EACF,CAED,OAAAc,EACGhC,EAAI,CAAA,IACHiC,MAAI,CAAA,OAAEL,EAAErB,OAAS,cAAY,IAC7B4B,UAAQ,CAAA,OAAAH,EACLhC,EAAI,CAAA,IAACiC,MAAI,CAAA,OAAEL,EAAErB,OAAS,OAAK,IAAE4B,UAAQ,CAAA,OAAAH,EAAGc,EAAWyD,EAAKD,EAAM,CAAA,EAAA,IAAAhE,UAAA,CAAA,OAAAN,EAC5DkD,EAAOqB,EAAKD,EAAM,CAAA,EAAA,CAAA,EAAA,IAAAhE,UAAA,CAAA,OAAAN,EAItBsC,EAAciC,EAAKD,EAAM,CAAA,EAAA,CAAA,EAG9BE,EAAA,CAAA,QAAA,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swap.js","names":["SolidComponent","cn","Component","SwapType","item1","item2","effect","onChange","value","Swap","p","_el$","_tmpl$","_el$2","firstChild","_el$3","nextSibling","_el$4","addEventListener","e","target","checked","_$insert","Element","_$effect","_$className"],"sources":["../../../src/components/swap/swap.tsx"],"sourcesContent":["import { SolidComponent } from '@/type';\r\nimport { cn } from '@/utils/cn';\r\nimport { Component } from 'solid-js';\r\n\r\ntype SwapType = {\r\n item1: SolidComponent;\r\n item2: SolidComponent;\r\n effect?: 'rotate' | 'flip' | 'none';\r\n onChange?: (value: boolean) => void;\r\n};\r\nexport const Swap: Component<SwapType> = p => {\r\n return (\r\n <label\r\n class={cn(\r\n 'swap',\r\n p.effect === 'flip' ? 'swap-flip' : p.effect === 'rotate' ? 'swap-rotate' : '',\r\n )}\r\n >\r\n <input\r\n type=\"checkbox\"\r\n onChange={e => {\r\n p?.onChange?.(e.target.checked);\r\n }}\r\n />\r\n <div class=\"swap-on\">{p.item1 as Element}</div>\r\n <div class=\"swap-off\">{p.item2 as Element}</div>\r\n <div class=\"swap-indeterminate\"></div>\r\n </label>\r\n );\r\n};\r\n"],"mappings":"+OAUaS,EAA4BC,QACvC,CAAA,IAAAC,EAAAC,GAAA,CAAAC,EAAAF,EAAAG,WAAAC,EAAAF,EAAAG,YAAAC,EAAAF,EAAAC,YAKK,OALLH,EAAAK,iBAAA,SASgBC,GAAK,CACbT,GAAGH,WAAWY,EAAEC,OAAOC,QAAQ,EAChC,CAAAC,EAAAP,MAEmBL,EAAEN,MAAgB,CAAAkB,EAAAL,MACjBP,EAAEL,MAAgB,CAAAmB,MAAAC,EAAAd,EAZlCV,EACL,OACAS,EAAEJ,SAAW,OAAS,YAAcI,EAAEJ,SAAW,SAAW,cAAgB,GAC7E,CAAA,CAAA,CAAAK,KAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch.js","names":["cn","cva","VariantProps","Component","createEffect","createSignal","mergeProps","Show","SwitchProps","variants","size","xs","sm","md","lg","xl","color","primary","secondary","accent","neutral","info","success","warning","error","SwitchVariantProps","Switch","props","p","className","defaultChecked","disabled","loading","const","internalChecked","setInternalChecked","isControlled","checked","undefined","syncControlledChecked","mergedDisabled","handleClick","e","MouseEvent","newChecked","onClick","onChange","_el$","_tmpl$2","_el$2","firstChild","$$click","_$insert","_$createComponent","when","children","_el$3","_tmpl$","IconLoading","_$effect","_p$","_v$","_v$2","_v$3","class","root","_v$4","_$setAttribute","t","a","_$className","o","_tmpl$3","_$delegateEvents"],"sources":["../../../src/components/switch/switch.tsx"],"sourcesContent":["import { cn } from '@/utils/cn';\r\nimport { cva, type VariantProps } from 'class-variance-authority';\r\nimport { Component, createEffect, createSignal, mergeProps, Show } from 'solid-js';\r\nimport type { SwitchProps } from './switch.types';\r\n\r\nconst variants = cva('', {\r\n variants: {\r\n size: {\r\n xs: 'h-4 w-7',\r\n sm: 'h-5 w-9',\r\n md: 'h-6 w-11',\r\n lg: 'h-7 w-14',\r\n xl: 'h-8 w-16',\r\n },\r\n color: {\r\n primary: 'bg-primary text-primary',\r\n secondary: 'bg-secondary text-secondary',\r\n accent: 'bg-accent text-accent',\r\n neutral: 'bg-neutral text-neutral',\r\n info: 'bg-info text-info',\r\n success: 'bg-success text-success',\r\n warning: 'bg-warning text-warning',\r\n error: 'bg-error text-error',\r\n },\r\n },\r\n});\r\n\r\nexport type SwitchVariantProps = VariantProps<typeof variants>;\r\n\r\nexport const Switch: Component<SwitchProps> = props => {\r\n const p = mergeProps(\r\n {\r\n className: '',\r\n defaultChecked: false,\r\n disabled: false,\r\n loading: false,\r\n size: 'md' as const,\r\n color: 'primary' as const,\r\n },\r\n props,\r\n );\r\n\r\n const [internalChecked, setInternalChecked] = createSignal(p.defaultChecked);\r\n\r\n const isControlled = () => p.checked !== undefined;\r\n const checked = () => (isControlled() ? p.checked! : internalChecked());\r\n\r\n createEffect(function syncControlledChecked() {\r\n if (isControlled()) {\r\n setInternalChecked(p.checked!);\r\n }\r\n });\r\n\r\n const mergedDisabled = () => p.disabled || p.loading;\r\n\r\n const handleClick = (e: MouseEvent) => {\r\n if (mergedDisabled()) return;\r\n\r\n const newChecked = !checked();\r\n\r\n if (!isControlled()) {\r\n setInternalChecked(newChecked);\r\n }\r\n\r\n p.onClick?.(newChecked);\r\n p.onChange?.(newChecked);\r\n };\r\n\r\n return (\r\n <button\r\n type=\"button\"\r\n role=\"switch\"\r\n aria-checked={checked()}\r\n disabled={mergedDisabled()}\r\n class={cn(\r\n 'sui_switch @container relative flex cursor-pointer items-center rounded-full border-2 border-transparent p-px',\r\n variants({ size: p.size, color: p.color }),\r\n 'transition duration-400',\r\n !checked() && 'bg-gray-300',\r\n mergedDisabled() && 'cursor-not-allowed opacity-50',\r\n p.class?.root,\r\n )}\r\n onClick={handleClick}\r\n >\r\n <div\r\n class={cn(\r\n 'sui_thumb aspect-square h-full rounded-full bg-white transition-transform duration-400 ease-in-out',\r\n\r\n checked() && 'translate-x-[calc(100cqw-100%)]',\r\n )}\r\n >\r\n <Show when={p.loading}>\r\n <span class=\"flex size-full animate-spin\">\r\n <IconLoading />\r\n </span>\r\n </Show>\r\n </div>\r\n </button>\r\n );\r\n};\r\n\r\nconst IconLoading = () => {\r\n return (\r\n <svg class=\"size-full\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\">\r\n <circle class=\"opacity-25\" cx=\"12\" cy=\"12\" r=\"10\" stroke=\"#ccc\" stroke-width=\"4\"></circle>\r\n <path\r\n class=\"opacity-90\"\r\n fill=\"currentColor\"\r\n d=\"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\"\r\n ></path>\r\n </svg>\r\n );\r\n};\r\n"],"mappings":"8tBAKMS,EAAWR,EAAI,GAAI,CACvBQ,SAAU,CACRC,KAAM,CACJC,GAAI,UACJC,GAAI,UACJC,GAAI,WACJC,GAAI,WACJC,GAAI,WACL,CACDC,MAAO,CACLC,QAAS,0BACTC,UAAW,8BACXC,OAAQ,wBACRC,QAAS,0BACTC,KAAM,oBACNC,QAAS,0BACTC,QAAS,0BACTC,MAAO,sBACT,CACF,CACD,CAAC,CAIWE,EAAiCC,GAAS,CACrD,IAAMC,EAAItB,EACR,CACEuB,UAAW,GACXC,eAAgB,GAChBC,SAAU,GACVC,QAAS,GACTtB,KAAM,KACNM,MAAO,UACR,CACDW,EACD,CAEK,CAACO,EAAiBC,GAAsB9B,EAAauB,EAAEE,eAAe,CAEtEM,MAAqBR,EAAES,UAAYC,IAAAA,GACnCD,MAAi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AA,GAAA8B,EAAA9B,IAAAA,GAAA+B,EAAA/B,IAAAA,GAAAiC,EAAAjC,IAAAA,GAAA,CAAA,CAAAS,KAAA,EAYHW,MACJc,GAAA,CAUAC,EAAA,CAAA,QAAA,CAAA"}
@@ -0,0 +1,2 @@
1
+ import{cn as e}from"../../utils/cn.js";import{getColor as t}from"../../utils/helper.js";import{Tooltip as n}from"../tooltip/tooltip.js";import{className as r,createComponent as i,delegateEvents as a,effect as o,insert as s,memo as c,mergeProps as l,setAttribute as u,template as d,use as f}from"solid-js/web";import{cva as p}from"class-variance-authority";import{For as m,Show as h,createEffect as g,createMemo as _,createSignal as v,createUniqueId as y,mergeProps as b,on as x}from"solid-js";import S from"lucide-solid/icons/x";import C from"lucide-solid/icons/pin";import w from"lucide-solid/icons/pin-off";import T from"lucide-solid/icons/plus";var E=d(`<div>New Tab Content`),D=d(`<button title="Add new tab">`),O=d(`<button class=tab12>`),k=d(`<div class=tab15><span>No tabs available`),A=d(`<div><div></div><div>`),j=d(`<div class=tab14>`),ee=d(`<span class=tab06>`),te=d(`<input type=text class=tab16>`),ne=d(`<button class="tab09 tab10">`),M=d(`<button class="tab09 tab11"title="Close tab">`),N=d(`<div class=tab08>`),P=d(`<div>`),F=d(`<span class=tab07>`),I=p(``,{variants:{variants:{lift:``,box:``,border:`rounded-none p-0`},tabPlacement:{horizontal:``,vertical:``},position:{top:``,bottom:``,left:``,right:``}},compoundVariants:[{variants:`lift`,position:`top`,class:`pb-0`},{variants:`lift`,position:`bottom`,class:`pt-0`},{variants:`lift`,tabPlacement:`vertical`,position:`left`,class:`pr-0 overflow-x-hidden`},{variants:`lift`,tabPlacement:`vertical`,position:`right`,class:`pl-0 overflow-x-hidden`}]}),L={tabPlacement:`horizontal`,position:`top`,align:`left`,variants:`box`,canAdd:!0,canPin:!1,canRename:!0,preRender:!1,color:`primary`},R=19,z=a=>{let d=b(L,a),p=y(),[z,B]=v(d.defaultActiveKey||d.items()[0]?.key||``),[V,H]=v(new Set),[U,W]=v(null),[G,K]=v(``),q=_(()=>d.tabPlacement===`vertical`?d.position===`left`||d.position===`right`?d.position:`left`:d.position===`top`||d.position===`bottom`?d.position:`top`),J=_(()=>{let e=d.items(),t=e.filter(e=>e.pinned),n=e.filter(e=>!e.pinned);return[...t,...n]}),Y=_(()=>{let e=d.items(),t=e.some(e=>e.pinned),n=e.some(e=>!e.pinned);return t&&n}),X=_(()=>J().findIndex(e=>!e.pinned));g(x(()=>d.items(),e=>{e.length>0&&!e.find(e=>e.key===z())&&B(e[0].key)})),g(x(z,e=>{e&&!V().has(e)&&H(t=>new Set([...t,e]))}));let re=e=>{e.disabled||(B(e.key),d.onChange?.(e.key))},ie=(e,t)=>{e.button===1&&t.closable!==!1&&(e.preventDefault(),Q(t))},Z=()=>{if(d.onAdd){let e=d.onAdd();e&&(d.setItems(t=>[...t,e]),B(e.key))}else{let e=y(),t={key:e,label:`Tab ${d.items().length+1}`,children:E()};d.setItems(e=>[...e,t]),B(e)}},Q=async e=>{if(e.closable===!1)return;let t=e.label||`Tab ${d.items().findIndex(t=>t.key===e.key)+1}`;if(d.onRemove&&await d.onRemove(e.key,t)===!1)return;let n=d.items(),r=n.findIndex(t=>t.key===e.key);if(z()===e.key){let e=n[r+1]||n[r-1];e&&B(e.key)}d.setItems(t=>t.filter(t=>t.key!==e.key)),H(t=>{let n=new Set(t);return n.delete(e.key),n})},ae=(e,t)=>{t.stopPropagation();let n=!e.pinned;d.setItems(t=>t.map(t=>t.key===e.key?{...t,pinned:n}:t)),d.onPin?.(e.key,n)},oe=(e,t)=>{if(!d.canRename||e.disabled)return;t.stopPropagation();let n=e.label||`Tab ${d.items().findIndex(t=>t.key===e.key)+1}`;W(e.key),K(n)},$=e=>{let t=G().trim();t&&t!==e.label&&(d.setItems(n=>n.map(n=>n.key===e.key?{...n,label:t}:n)),d.onRename?.(e.key,t)),W(null),K(``)},se=(e,t)=>{t.key===`Enter`?(t.preventDefault(),$(e)):t.key===`Escape`&&(t.preventDefault(),W(null),K(``))},ce=e=>{let t=z()===e.key;return(e.pinned||d.preRender)&&V().has(e.key)||t};return(()=>{var a=A(),g=a.firstChild,_=g.nextSibling;return u(a,`id`,p),s(g,i(m,{get each(){return J()},children:(t,a)=>[i(h,{get when(){return c(()=>!!Y())()&&a()===X()},get children(){return j()}}),(()=>{var a=P();return a.$$dblclick=e=>oe(t,e),a.$$mousedown=e=>ie(e,t),a.$$click=()=>re(t),s(a,i(h,{get when(){return t.icon},get children(){var e=ee();return s(e,()=>t.icon),e}}),null),s(a,i(h,{get when(){return U()===t.key},get fallback(){return i(h,{get when(){return d.useTooltip},get fallback(){return(()=>{var e=F();return s(e,()=>t.label||`Tab ${d.items().findIndex(e=>e.key===t.key)+1}`),e})()},get children(){return(()=>{let e=t.label||`Tab ${d.items().findIndex(e=>e.key===t.key)+1}`;if(!(e.length>R))return(()=>{var t=F();return s(t,e),t})();let r=d.tooltipOptions??{};return i(n,l(`customContent`in r&&r.customContent!=null?{type:`default`,position:`top`,color:d?.color,customContent:r.customContent}:{type:`default`,position:`top`,color:d?.color,content:r.content??e},{get children(){var t=F();return s(t,e),t}}))})()}})},get children(){var e=te();return e.$$click=e=>e.stopPropagation(),e.$$keydown=e=>se(t,e),e.addEventListener(`blur`,()=>$(t)),e.$$input=e=>K(e.currentTarget.value),f(e=>setTimeout(()=>{e?.focus(),e?.select()},0),e),o(()=>e.value=G()),e}}),null),s(a,i(h,{get when(){return d.canPin||t.closable!==!1},get children(){var e=N();return s(e,i(h,{get when(){return d.canPin},get children(){var e=ne();return e.$$click=e=>ae(t,e),s(e,i(h,{get when(){return t.pinned},get fallback(){return i(C,{size:12})},get children(){return i(w,{size:12})}})),o(()=>u(e,`title`,t.pinned?`Unpin tab`:`Pin tab`)),e}}),null),s(e,i(h,{get when(){return t.closable!==!1},get children(){var e=M();return e.$$click=e=>{e.stopPropagation(),Q(t)},s(e,i(S,{size:12})),e}}),null),e}}),null),o(()=>r(a,e(`tab03`,U()===t.key&&`bg-base-100`,z()===t.key&&`tab04`,t.pinned&&`tab05`,t.disabled&&`pointer-events-none opacity-50`,d.class?.item))),a})()]}),null),s(g,i(h,{get when(){return d.canAdd},get children(){var t=D();return t.$$click=Z,s(t,i(T,{size:14})),o(()=>r(t,e(`tab12`,d.class?.addButton))),t}}),null),s(_,i(h,{get when(){return d.items().length===0},get children(){var e=k();return e.firstChild,s(e,i(h,{get when(){return d.canAdd},get children(){var e=O();return e.$$click=Z,s(e,i(C,{size:14})),e}}),null),e}}),null),s(_,i(m,{get each(){return d.items()},children:t=>i(h,{get when(){return ce(t)},get children(){var n=P();return s(n,()=>t.children),o(()=>r(n,e(`tab29 size-full`,z()!==t.key&&`hidden`))),n}})}),null),o(n=>{var i=e(`tab01`,t(d.color),`tab${d.variants===`box`?`23`:d.variants===`lift`?`24`:`25`}`,`tab${d.tabPlacement===`horizontal`?`17`:`18`}`,`tab${q()===`top`?`19`:q()===`bottom`?`20`:q()===`left`?`21`:`22`}`,d.class?.root),o=e(`tab02`,`tab${d.align===`left`?`26`:d.align===`center`?`27`:`28`}`,I({variants:d.variants,tabPlacement:d.tabPlacement,position:d.position}),d.class?.header),s=e(`tab13`,d.class?.content);return i!==n.e&&r(a,n.e=i),o!==n.t&&r(g,n.t=o),s!==n.a&&r(_,n.a=s),n},{e:void 0,t:void 0,a:void 0}),a})()};a([`click`,`mousedown`,`dblclick`,`input`,`keydown`]);export{z as Tab};
2
+ //# sourceMappingURL=tab.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab.js","names":["cn","getColor","Tooltip","TooltipDefaultProps","cva","Pin","PinOff","Plus","X","Component","createEffect","createMemo","createSignal","createUniqueId","For","JSX","mergeProps","on","Show","TabItem","TabProps","BaseColorProps","headerVariant","variants","lift","box","border","tabPlacement","horizontal","vertical","position","top","bottom","left","right","compoundVariants","class","DEFAULT_PROPS","const","align","canAdd","canPin","canRename","preRender","color","TOOLTIP_CHAR_THRESHOLD","Tab","props","p","tabRootId","activeKey","setActiveKey","defaultActiveKey","items","key","renderedTabs","setRenderedTabs","Set","editingKey","setEditingKey","editingValue","setEditingValue","computedPosition","sortedItems","pinned","filter","item","unpinned","hasPinnedAndUnpinned","hasPinned","some","hasUnpinned","firstUnpinnedIndex","findIndex","length","find","has","prev","handleTabClick","disabled","onChange","handleMouseDown","e","MouseEvent","button","closable","preventDefault","handleRemoveTab","handleAddTab","onAdd","newItem","setItems","newKey","label","children","_tmpl$","i","onRemove","result","currentItems","currentIndex","nextItem","newSet","delete","handlePinTab","stopPropagation","newPinned","map","onPin","handleDoubleClick","handleRenameSubmit","newLabel","trim","onRename","handleRenameKeyDown","KeyboardEvent","shouldRenderContent","isActive","itemPreRender","_el$2","_tmpl$5","_el$3","firstChild","_el$5","nextSibling","_$setAttribute","_$insert","_$createComponent","each","index","when","_$memo","_tmpl$6","_el$0","_tmpl$10","$$dblclick","$$mousedown","$$click","icon","_el$1","_tmpl$7","Element","fallback","useTooltip","_el$14","_tmpl$11","needsTooltip","_el$15","opts","tooltipOptions","isCustom","customContent","tooltipProps","Omit","type","content","_$mergeProps","_el$16","_el$10","_tmpl$8","$$keydown","addEventListener","$$input","currentTarget","value","_$use","el","setTimeout","focus","select","_$effect","_el$11","_tmpl$1","_el$12","_tmpl$9","size","_el$13","_tmpl$0","_$className","_el$4","_tmpl$2","addButton","_el$6","_tmpl$4","_el$7","_el$8","_tmpl$3","_el$17","_p$","_v$","root","_v$2","header","_v$3","t","a","undefined","_$delegateEvents"],"sources":["../../../src/components/tab/tab.tsx"],"sourcesContent":["import { cn } from '@/utils/cn';\r\nimport { getColor } from '@/utils/helper';\r\nimport { Tooltip } from '@components/tooltip';\r\nimport type { TooltipDefaultProps } from '@components/tooltip';\r\nimport { cva } from 'class-variance-authority';\r\nimport Pin from 'lucide-solid/icons/pin';\r\nimport PinOff from 'lucide-solid/icons/pin-off';\r\nimport Plus from 'lucide-solid/icons/plus';\r\nimport X from 'lucide-solid/icons/x';\r\nimport {\r\n Component,\r\n createEffect,\r\n createMemo,\r\n createSignal,\r\n createUniqueId,\r\n For,\r\n JSX,\r\n mergeProps,\r\n on,\r\n Show,\r\n} from 'solid-js';\r\nimport { TabItem, TabProps } from './tab.types';\r\nimport { BaseColorProps } from '@/type';\r\n\r\nconst headerVariant = cva('', {\r\n variants: {\r\n variants: {\r\n lift: '',\r\n box: '',\r\n border: 'rounded-none p-0',\r\n },\r\n tabPlacement: { horizontal: '', vertical: '' },\r\n position: { top: '', bottom: '', left: '', right: '' },\r\n },\r\n compoundVariants: [\r\n {\r\n variants: 'lift',\r\n position: 'top',\r\n class: 'pb-0',\r\n },\r\n {\r\n variants: 'lift',\r\n position: 'bottom',\r\n class: 'pt-0',\r\n },\r\n {\r\n variants: 'lift',\r\n tabPlacement: 'vertical',\r\n position: 'left',\r\n class: 'pr-0 overflow-x-hidden',\r\n },\r\n {\r\n variants: 'lift',\r\n tabPlacement: 'vertical',\r\n position: 'right',\r\n class: 'pl-0 overflow-x-hidden',\r\n },\r\n ],\r\n});\r\n\r\nconst DEFAULT_PROPS = {\r\n tabPlacement: 'horizontal' as const,\r\n position: 'top' as const,\r\n align: 'left' as const,\r\n variants: 'box' as const,\r\n canAdd: true,\r\n canPin: false,\r\n canRename: true,\r\n preRender: false,\r\n color: 'primary',\r\n};\r\n\r\nconst TOOLTIP_CHAR_THRESHOLD = 19;\r\n\r\nexport const Tab: Component<TabProps> = props => {\r\n const p = mergeProps(DEFAULT_PROPS, props);\r\n const tabRootId = createUniqueId();\r\n\r\n // Active tab key\r\n const [activeKey, setActiveKey] = createSignal<string>(\r\n p.defaultActiveKey || p.items()[0]?.key || '',\r\n );\r\n\r\n // Rendered tabs tracking (for lazy rendering)\r\n const [renderedTabs, setRenderedTabs] = createSignal<Set<string>>(new Set());\r\n\r\n // Editing state for rename feature\r\n const [editingKey, setEditingKey] = createSignal<string | null>(null);\r\n const [editingValue, setEditingValue] = createSignal<string>('');\r\n\r\n // Compute position based on tabPlacement\r\n const computedPosition = createMemo(() => {\r\n if (p.tabPlacement === 'vertical') {\r\n return p.position === 'left' || p.position === 'right' ? p.position : 'left';\r\n }\r\n return p.position === 'top' || p.position === 'bottom' ? p.position : 'top';\r\n });\r\n\r\n // Sort items: pinned first, then unpinned (maintain order within each group)\r\n const sortedItems = createMemo(() => {\r\n const items = p.items();\r\n const pinned = items.filter(item => item.pinned);\r\n const unpinned = items.filter(item => !item.pinned);\r\n return [...pinned, ...unpinned];\r\n });\r\n\r\n // Check if there are both pinned and unpinned items (for separator)\r\n const hasPinnedAndUnpinned = createMemo(() => {\r\n const items = p.items();\r\n const hasPinned = items.some(item => item.pinned);\r\n const hasUnpinned = items.some(item => !item.pinned);\r\n return hasPinned && hasUnpinned;\r\n });\r\n\r\n // Get first unpinned item index in sorted list\r\n const firstUnpinnedIndex = createMemo(() => {\r\n const items = sortedItems();\r\n return items.findIndex(item => !item.pinned);\r\n });\r\n\r\n // Update active key when items change\r\n createEffect(\r\n on(\r\n () => p.items(),\r\n items => {\r\n if (items.length > 0 && !items.find(item => item.key === activeKey())) {\r\n setActiveKey(items[0].key);\r\n }\r\n },\r\n ),\r\n );\r\n\r\n // Mark tab as rendered when it becomes active\r\n createEffect(\r\n on(activeKey, key => {\r\n if (key && !renderedTabs().has(key)) {\r\n setRenderedTabs(prev => new Set([...prev, key]));\r\n }\r\n }),\r\n );\r\n\r\n // Handle tab click\r\n const handleTabClick = (item: TabItem) => {\r\n if (item.disabled) return;\r\n setActiveKey(item.key);\r\n p.onChange?.(item.key);\r\n };\r\n\r\n // Handle middle mouse click to close tab\r\n const handleMouseDown = (e: MouseEvent, item: TabItem) => {\r\n if (e.button === 1 && item.closable !== false) {\r\n e.preventDefault();\r\n handleRemoveTab(item);\r\n }\r\n };\r\n\r\n // Handle add tab\r\n const handleAddTab = () => {\r\n if (p.onAdd) {\r\n const newItem = p.onAdd();\r\n if (newItem) {\r\n p.setItems(prev => [...prev, newItem]);\r\n setActiveKey(newItem.key);\r\n }\r\n } else {\r\n // Default behavior: create a new tab\r\n const newKey = createUniqueId();\r\n const newItem: TabItem = {\r\n key: newKey,\r\n label: `Tab ${p.items().length + 1}`,\r\n children: <div>New Tab Content</div>,\r\n };\r\n p.setItems(prev => [...prev, newItem]);\r\n setActiveKey(newKey);\r\n }\r\n };\r\n\r\n // Handle remove tab\r\n const handleRemoveTab = async (item: TabItem) => {\r\n if (item.closable === false) return;\r\n\r\n const label = item.label || `Tab ${p.items().findIndex(i => i.key === item.key) + 1}`;\r\n\r\n if (p.onRemove) {\r\n const result = await p.onRemove(item.key, label);\r\n if (result === false) return;\r\n }\r\n\r\n const currentItems = p.items();\r\n const currentIndex = currentItems.findIndex(i => i.key === item.key);\r\n\r\n // If removing active tab, switch to adjacent tab\r\n if (activeKey() === item.key) {\r\n const nextItem = currentItems[currentIndex + 1] || currentItems[currentIndex - 1];\r\n if (nextItem) {\r\n setActiveKey(nextItem.key);\r\n }\r\n }\r\n\r\n p.setItems(prev => prev.filter(i => i.key !== item.key));\r\n\r\n // Clean up rendered tabs\r\n setRenderedTabs(prev => {\r\n const newSet = new Set(prev);\r\n newSet.delete(item.key);\r\n return newSet;\r\n });\r\n };\r\n\r\n // Handle pin/unpin tab\r\n const handlePinTab = (item: TabItem, e: MouseEvent) => {\r\n e.stopPropagation();\r\n const newPinned = !item.pinned;\r\n\r\n p.setItems(prev => prev.map(i => (i.key === item.key ? { ...i, pinned: newPinned } : i)));\r\n\r\n p.onPin?.(item.key, newPinned);\r\n };\r\n\r\n // Handle double-click to start editing\r\n const handleDoubleClick = (item: TabItem, e: MouseEvent) => {\r\n if (!p.canRename || item.disabled) return;\r\n e.stopPropagation();\r\n const label = item.label || `Tab ${p.items().findIndex(i => i.key === item.key) + 1}`;\r\n setEditingKey(item.key);\r\n setEditingValue(label);\r\n };\r\n\r\n // Handle rename input blur/submit\r\n const handleRenameSubmit = (item: TabItem) => {\r\n const newLabel = editingValue().trim();\r\n if (newLabel && newLabel !== item.label) {\r\n p.setItems(prev => prev.map(i => (i.key === item.key ? { ...i, label: newLabel } : i)));\r\n p.onRename?.(item.key, newLabel);\r\n }\r\n setEditingKey(null);\r\n setEditingValue('');\r\n };\r\n\r\n // Handle rename input keydown\r\n const handleRenameKeyDown = (item: TabItem, e: KeyboardEvent) => {\r\n if (e.key === 'Enter') {\r\n e.preventDefault();\r\n handleRenameSubmit(item);\r\n } else if (e.key === 'Escape') {\r\n e.preventDefault();\r\n setEditingKey(null);\r\n setEditingValue('');\r\n }\r\n };\r\n\r\n // Check if tab should be rendered\r\n const shouldRenderContent = (item: TabItem) => {\r\n const isActive = activeKey() === item.key;\r\n const itemPreRender = item.pinned ? true : p.preRender;\r\n\r\n if (itemPreRender) {\r\n return renderedTabs().has(item.key) || isActive;\r\n }\r\n return isActive;\r\n };\r\n\r\n return (\r\n <div\r\n id={tabRootId}\r\n class={cn(\r\n 'tab01',\r\n getColor(p.color!),\r\n `tab${p.variants === 'box' ? '23' : p.variants === 'lift' ? '24' : '25'}`,\r\n `tab${p.tabPlacement === 'horizontal' ? '17' : '18'}`,\r\n `tab${computedPosition() === 'top' ? '19' : computedPosition() === 'bottom' ? '20' : computedPosition() === 'left' ? '21' : '22'}`,\r\n p.class?.root,\r\n )}\r\n >\r\n {/* Tab Header */}\r\n <div\r\n class={cn(\r\n 'tab02',\r\n `tab${p.align === 'left' ? '26' : p.align === 'center' ? '27' : '28'}`,\r\n headerVariant({\r\n variants: p.variants,\r\n tabPlacement: p.tabPlacement,\r\n position: p.position,\r\n }),\r\n p.class?.header,\r\n )}\r\n >\r\n <For each={sortedItems()}>\r\n {(item, index) => (\r\n <>\r\n {/* Separator between pinned and unpinned */}\r\n <Show when={hasPinnedAndUnpinned() && index() === firstUnpinnedIndex()}>\r\n <div class=\"tab14\" />\r\n </Show>\r\n\r\n {/* Tab Item */}\r\n <div\r\n class={cn(\r\n 'tab03',\r\n editingKey() === item.key && 'bg-base-100',\r\n activeKey() === item.key && 'tab04',\r\n item.pinned && 'tab05',\r\n item.disabled && 'pointer-events-none opacity-50',\r\n p.class?.item,\r\n )}\r\n onClick={() => handleTabClick(item)}\r\n onMouseDown={e => handleMouseDown(e, item)}\r\n onDblClick={e => handleDoubleClick(item, e)}\r\n >\r\n {/* Tab Icon */}\r\n <Show when={item.icon}>\r\n <span class=\"tab06\">{item.icon as Element}</span>\r\n </Show>\r\n\r\n {/* Tab Label */}\r\n <Show\r\n when={editingKey() === item.key}\r\n fallback={\r\n <Show\r\n when={p.useTooltip}\r\n fallback={\r\n <span class=\"tab07\">\r\n {item.label || `Tab ${p.items().findIndex(i => i.key === item.key) + 1}`}\r\n </span>\r\n }\r\n >\r\n {(() => {\r\n const label =\r\n item.label || `Tab ${p.items().findIndex(i => i.key === item.key) + 1}`;\r\n const needsTooltip = label.length > TOOLTIP_CHAR_THRESHOLD;\r\n if (!needsTooltip) {\r\n return <span class=\"tab07\">{label}</span>;\r\n }\r\n const opts = p.tooltipOptions ?? {};\r\n const isCustom = 'customContent' in opts && opts.customContent != null;\r\n const tooltipProps: Omit<TooltipDefaultProps, 'children'> = isCustom\r\n ? {\r\n type: 'default',\r\n position: 'top' as const,\r\n color: p?.color as BaseColorProps,\r\n customContent: (opts as { customContent: JSX.Element }).customContent,\r\n }\r\n : {\r\n type: 'default',\r\n position: 'top' as const,\r\n color: p?.color as BaseColorProps,\r\n content: (opts as { content?: string }).content ?? label,\r\n };\r\n return (\r\n <Tooltip {...(tooltipProps as TooltipDefaultProps)}>\r\n <span class=\"tab07\">{label}</span>\r\n </Tooltip>\r\n );\r\n })()}\r\n </Show>\r\n }\r\n >\r\n <input\r\n ref={el =>\r\n setTimeout(() => {\r\n el?.focus();\r\n el?.select();\r\n }, 0)\r\n }\r\n type=\"text\"\r\n class=\"tab16\"\r\n value={editingValue()}\r\n onInput={e => setEditingValue(e.currentTarget.value)}\r\n onBlur={() => handleRenameSubmit(item)}\r\n onKeyDown={e => handleRenameKeyDown(item, e)}\r\n onClick={e => e.stopPropagation()}\r\n />\r\n </Show>\r\n\r\n {/* Action Buttons */}\r\n <Show when={p.canPin || item.closable !== false}>\r\n <div class=\"tab08\">\r\n {/* Pin Button */}\r\n <Show when={p.canPin}>\r\n <button\r\n class=\"tab09 tab10\"\r\n onClick={e => handlePinTab(item, e)}\r\n title={item.pinned ? 'Unpin tab' : 'Pin tab'}\r\n >\r\n <Show when={item.pinned} fallback={<Pin size={12} />}>\r\n <PinOff size={12} />\r\n </Show>\r\n </button>\r\n </Show>\r\n\r\n {/* Close Button */}\r\n <Show when={item.closable !== false}>\r\n <button\r\n class=\"tab09 tab11\"\r\n onClick={e => {\r\n e.stopPropagation();\r\n handleRemoveTab(item);\r\n }}\r\n title=\"Close tab\"\r\n >\r\n <X size={12} />\r\n </button>\r\n </Show>\r\n </div>\r\n </Show>\r\n </div>\r\n </>\r\n )}\r\n </For>\r\n\r\n {/* Add Button */}\r\n <Show when={p.canAdd}>\r\n <button\r\n class={cn('tab12', p.class?.addButton)}\r\n onClick={handleAddTab}\r\n title=\"Add new tab\"\r\n >\r\n <Plus size={14} />\r\n </button>\r\n </Show>\r\n </div>\r\n\r\n {/* Tab Content */}\r\n <div class={cn('tab13', p.class?.content)}>\r\n <Show when={p.items().length === 0}>\r\n <div class=\"tab15\">\r\n <span>No tabs available</span>\r\n <Show when={p.canAdd}>\r\n <button class=\"tab12\" onClick={handleAddTab}>\r\n <Pin size={14} />\r\n </button>\r\n </Show>\r\n </div>\r\n </Show>\r\n\r\n <For each={p.items()}>\r\n {item => (\r\n <Show when={shouldRenderContent(item)}>\r\n <div class={cn('tab29 size-full', activeKey() !== item.key && 'hidden')}>\r\n {item.children as Element}\r\n </div>\r\n </Show>\r\n )}\r\n </For>\r\n </div>\r\n </div>\r\n );\r\n};\r\n"],"mappings":"yiCAwBMsB,EAAgBlB,EAAI,GAAI,CAC5BmB,SAAU,CACRA,SAAU,CACRC,KAAM,GACNC,IAAK,GACLC,OAAQ,mBACT,CACDC,aAAc,CAAEC,WAAY,GAAIC,SAAU,GAAI,CAC9CC,SAAU,CAAEC,IAAK,GAA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AAA1G,GAAAgG,EAAA3D,EAAAqE,EAAA1G,EAAA2G,EAAA,CAAAE,IAAAH,EAAAM,GAAAhB,EAAAzD,EAAAmE,EAAAM,EAAAH,EAAA,CAAAE,IAAAL,EAAAO,GAAAjB,EAAAvD,EAAAiE,EAAAO,EAAAF,EAAA,CAAAL,GAAA,CAAA1G,EAAAkH,IAAAA,GAAAF,EAAAE,IAAAA,GAAAD,EAAAC,IAAAA,GAAA,CAAA,CAAA7E,KAAA,EAwB7C8E,EAAA,CAAA,QAAA,YAAA,WAAA,QAAA,UAAA,CAAA"}
@@ -0,0 +1,2 @@
1
+ import{cn as e}from"../../utils/cn.js";import{getColor as t}from"../../utils/helper.js";import{Button as n}from"../button/button.js";import{Pagination as r}from"../pagination/pagination.js";import{Tooltip as i}from"../tooltip/tooltip.js";import{addEventListener as a,className as o,createComponent as s,delegateEvents as c,effect as l,insert as u,memo as d,mergeProps as f,setAttribute as p,setStyleProperty as m,style as h,template as g,use as _}from"solid-js/web";import{For as v,Match as y,Show as b,Switch as ee,createEffect as x,createMemo as S,createSignal as C,createUniqueId as te,mergeProps as ne,on as re,onCleanup as w,onMount as ie}from"solid-js";import ae from"lucide-solid/icons/chevron-right";import{createVirtualizer as oe}from"@tanstack/solid-virtual";import se from"lucide-solid/icons/chevron-down";import{createSolidTable as ce,flexRender as T,getCoreRowModel as le,getFilteredRowModel as ue,getPaginationRowModel as de,getSortedRowModel as fe}from"@tanstack/solid-table";import pe from"lucide-solid/icons/chevrons-up-down";import me from"lucide-solid/icons/chevron-up";var E=g(`<div>`),he=g(`<colgroup>`),ge=g(`<div><table><thead>`),_e=g(`<thead>`),ve=g(`<tr><td class="border-none p-0">`),ye=g(`<tr><td class="border-none py-2"><div class="flex justify-center"><span class="loading loading-dots loading-sm opacity-60">`),be=g(`<tr><td class="border-none py-2"><div class="flex justify-center">`),xe=g(`<tbody>`),Se=g(`<div><div><div><table>`),Ce=g(`<col>`),D=g(`<tr>`),we=g(`<span class=tbe20>`),Te=g(`<span class=tbe19>`),Ee=g(`<th><div><span class=tbe17>`),De=g(`<tr><td>`),Oe=g(`<tr class=tbe31><td class=tbe32>`),ke=g(`<td>`),Ae=g(`<tbody><tr><td class="border-none p-0"><div class="flex h-full items-center justify-center gap-2 opacity-60"><span class=text-base>Sorting</span><span class="loading loading-dots loading-sm text-base-content">`),je=g(`<input type=checkbox class="checkbox checkbox-xs checkbox-primary mx-auto">`),O=g(`<span class=cursor-pointer>`),k=g(`<input type=radio class="radio radio-xs radio-primary">`),Me=g(`<input type=checkbox class="checkbox checkbox-xs checkbox-primary">`),Ne=g(`<span class="tbe24 cursor-pointer">`);function Pe(e){if(e!==void 0)return e===!0?{outer:!0,horizontal:!0,vertical:!0}:e===!1?{outer:!1,horizontal:!1,vertical:!1}:e}function A(e){switch(e){case!0:return{cols:!1,rows:!0};case!1:case void 0:return{cols:!1,rows:!1};default:return e}}var Fe={xs:`tbe02`,sm:`tbe03`,md:`tbe04`,lg:`tbe05`,xl:`tbe06`};function Ie(e){let t=[],n=A(e.zebra);return n.rows&&t.push(`tbe07`),n.cols&&t.push(`tbe08`),e.size&&t.push(Fe[e.size]),t.join(` `)}function Le(e){let t=new Map,n=0,r=null;for(let i of e){let e=i.fixed;(e===!0||e===`start`)&&(t.set(i.id,{fixed:`start`,offset:n,isLastStart:!1,isFirstEnd:!1}),n+=i.width,r=i.id)}let i=0,a=null;for(let n=e.length-1;n>=0;n--){let r=e[n];r.fixed===`end`&&(t.set(r.id,{fixed:`end`,offset:i,isLastStart:!1,isFirstEnd:!1}),i+=r.width,a||=r.id)}if(r){let e=t.get(r);e.isLastStart=!0}if(a){let e=t.get(a);e.isFirstEnd=!0}return t}function Re(e){return typeof e==`number`?`${e}px`:e}var j=`__selection__`;function ze(e){let t,n=!1;return{columns:e.filter(e=>{let r=e.meta;return r?._selection?n?!1:(n=!0,t=r._selection,!0):!0}),selectionOptions:t}}var M=`__expanded__`;function Be(e){for(let t of e){let e=t.meta;if(e?._expanded)return e._expanded}}function N(a){let c=ne({zebra:{rows:!0},size:`md`,enableSorting:!1,enableColumnFilters:!1,resizable:!0,showHeader:!0,color:`info`,rounded:`rounded-sm`},a),g=S(()=>ze(c.columns)),ae=()=>g().selectionOptions,je=()=>g().columns,O=S(()=>Be(c.columns)),k=S(()=>new Set(c.columns.filter(e=>`size`in e).map(e=>`accessorKey`in e?e.accessorKey:`id`in e?e.id:void 0))),Me=()=>c.enableRowSelection===void 0?!!ae():c.enableRowSelection,Ne=()=>{let e=ae();return e?e.type!==`radio`:!0},A=()=>!!O(),[Fe,N]=C(c.defaultExpandedRowKeys??[]),Ve=!1,He=()=>{if(!A())return[];if(c.expandedRowKeys!==void 0)return c.expandedRowKeys;if(c.defaultExpandAllRows&&!Ve){Ve=!0;let e=P.getRowModel().rows.map(e=>e.id);return N(e),e}return Fe()},Ue=e=>He().includes(e);function We(e,t){let n=He(),r=n.includes(e),i=r?n.filter(t=>t!==e):[...n,e];c.expandedRowKeys===void 0&&N(i),c.onExpand?.(!r,t),c.onExpandedRowsChange?.(i)}let[Ge,Ke]=C(c.data);x(re(()=>c.data,e=>Ke(e),{defer:!0}));let P=ce({get data(){return c.getVirtualData?Ge():c.data},get columns(){return je()},getCoreRowModel:le(),getSortedRowModel:fe(),...c.enableColumnFilters&&{getFilteredRowModel:ue()},...c.paginationProps!==void 0&&{getPaginationRowModel:de()},get enableSorting(){return c.enableSorting},isMultiSortEvent:()=>!0,get enableColumnFilters(){return c.enableColumnFilters},get enableRowSelection(){return Me()},get enableMultiRowSelection(){return Ne()},...c.getRowId&&{getRowId:c.getRowId},meta:{_expandApi:{isRowExpanded:Ue,toggleRowExpanded:We}},state:{get sorting(){return c.sorting},get columnFilters(){return c.columnFilters},get globalFilter(){return c.globalFilter},get rowSelection(){return c.rowSelection},get columnVisibility(){return c.columnVisibility},get pagination(){return c.pagination},...c.options?.state||{}},...c.onSortingChange&&{onSortingChange:c.onSortingChange},...c.onColumnFiltersChange&&{onColumnFiltersChange:c.onColumnFiltersChange},...c.onGlobalFilterChange&&{onGlobalFilterChange:c.onGlobalFilterChange},...c.onRowSelectionChange&&{onRowSelectionChange:c.onRowSelectionChange},...c.onColumnVisibilityChange&&{onColumnVisibilityChange:c.onColumnVisibilityChange},...c.options&&(()=>{let{state:e,...t}=c.options;return t})()}),F=()=>Pe(c.border),qe=()=>P.getRowModel().rows.length===0,I=()=>c.columns.some(e=>e.meta?.fixed),L=()=>c.scroll?.x,Je=()=>{let e=L();if(e!==void 0&&!(e===!0||e===`max-content`))return Re(e)},Ye=()=>{let e=L();if(e===void 0)return;if(e===`max-content`)return`max-content`;let t=Q();return`${P.getAllLeafColumns().reduce((e,n)=>n.id===j||n.id===M?e+n.getSize():t?e+(t[n.id]??100):e+(W()[n.id]??n.getSize()),0)}px`},Xe=()=>{let e=c.scroll?.y;if(e!==void 0)return Re(e)},Ze=()=>L()!==void 0||c.scroll?.y!==void 0,Qe=()=>L()!==void 0,R=()=>c.scroll?.y!==void 0,$e=S(()=>{let e=c.virtual;return e?e===!0?{itemSize:40,overscan:5}:{itemSize:e.itemSize??40,overscan:e.overscan??5}:null}),z=()=>!!$e(),B,et,V=oe({get count(){return z()?P.getRowModel().rows.length:0},getScrollElement:()=>z()?B:null,estimateSize:()=>$e()?.itemSize??40,get overscan(){return $e()?.overscan??5},measureElement:e=>{let t=e.getBoundingClientRect().height,n=e.nextElementSibling;return n?.classList.contains(`tbe31`)&&(t+=n.getBoundingClientRect().height),t}}),tt=S(()=>{if(!z())return 0;let e=V.getVirtualItems();return e.length>0?e[0]?.start??0:0}),nt=S(()=>{if(!z())return 0;let e=V.getVirtualItems(),t=V.getTotalSize();return e.length>0?t-(e[e.length-1]?.end??0):0}),[rt,it]=C(!1),at=null;w(function(){at!==null&&clearTimeout(at)});function ot(e,t){if(rt())return;let n=P.getColumn(t);if(!n?.getCanSort())return;it(!0);let r=Date.now();setTimeout(()=>{n.getToggleSortingHandler()?.(e);let t=Date.now()-r,i=Math.max(0,500-t);at=setTimeout(()=>{at=null,it(!1),B&&(B.scrollTop=0)},i)},0)}let st=Promise.resolve(void 0),[H,ct]=C(!1);function lt(){!c.getVirtualData||H()||(ct(!0),c.getVirtualData().then(e=>{Ke(t=>[...t,...e])}).finally(()=>{ct(!1)}))}x(function(){!z()||c.loadingMore!==`auto`||H()||(st=st.then(()=>new Promise(e=>{queueMicrotask(()=>{B&&B.isConnected&&c.getVirtualData&&c.loadingMore===`auto`&&!H()&&B.scrollHeight<=B.clientHeight&&lt(),e()})})))}),x(function(){c.onTableReady?.(P)});function ut(e,t){let n=e.column.columnDef.meta?.onCell;return n?n(e,t):c.onCell?.(e,t)??{}}let U,dt,ft=te(),[W,G]=C({}),[pt,mt]=C(-1),[ht,gt]=C([]),K=S(()=>L()===void 0&&c.resizable!==!1),_t=`thead tr:first-child th:not(.tbe23):not(.tbe22)`;function q(){return P.getAllLeafColumns().filter(e=>e.id!==M&&e.id!==j)}function J(e){return Math.min(e.getSize(),e.columnDef.meta?.minWidth??100)}function vt(){let e=U.querySelectorAll(_t),t=q(),n={};t.forEach((t,r)=>{e[r]&&(n[t.id]=e[r].getBoundingClientRect().width)});let r=Array.from(U.querySelectorAll(`thead tr:first-child th`)).reduce((e,t)=>e+t.getBoundingClientRect().width,0)-U.getBoundingClientRect().width;if(r>0&&t.length>0){let e=t[t.length-1].id;n[e]!==void 0&&(n[e]=Math.max(J(t[t.length-1]),n[e]-r))}return n}function Y(){if(!U)return;let e=U.querySelectorAll(_t),t=q(),n,r;if(R()){let e=et?.getBoundingClientRect(),t=B?.getBoundingClientRect();n=e?.top??0,r=(e?.height??0)+(t?.height??0)}else{let e=U.getBoundingClientRect();n=e.top,r=e.height}let i=[];for(let a=0;a<e.length;a++){let o=t[a];if(!o||o.columnDef.enableResizing===!1)continue;let s=e[a].getBoundingClientRect();i.push({left:s.right,top:n,height:r,colIndex:a})}gt(i)}function yt(e,t){t.preventDefault(),t.stopPropagation();let n=q(),r=n.length-1,i=e===r,a=n[e].id,o=n[r].id,s=vt();G(s);let c=t.clientX,l=s[a]||0,u=J(n[e]);mt(e);let d;if(i){let e=Object.values(s).reduce((e,t)=>e+t,0),t=n.slice(0,r),i=t.reduce((e,t)=>e+J(t),0);d=n=>{let r=n.clientX-c,a=Math.max(u,Math.min(e-i,l+r)),s=e-a,d=t.length>0?s/t.length:s,f={};t.forEach(e=>{f[e.id]=Math.max(J(e),d)}),f[o]=a,G(f),queueMicrotask(()=>Y())}}else{let t=e+1,r=n[t].id,i=s[r]||0,o=J(n[t]);d=e=>{let t=e.clientX-c,n=u-l,s=i-o,d=Math.max(n,Math.min(s,t));G(e=>({...e,[a]:l+d,[r]:i-d})),queueMicrotask(()=>Y())}}let f=()=>{mt(-1),document.removeEventListener(`mousemove`,d),document.removeEventListener(`mouseup`,f),document.documentElement.classList.remove(`tbe-resizing`)};document.addEventListener(`mousemove`,d),document.addEventListener(`mouseup`,f),document.documentElement.classList.add(`tbe-resizing`)}function bt(e,t){t.preventDefault(),t.stopPropagation();let n=q(),r=Object.keys(W()).length>0?W():vt();if(e===n.length-1){let e=n.reduce((e,t)=>e+(r[t.id]??t.getSize()),0)/n.length,t={};n.forEach(n=>{t[n.id]=Math.max(J(n),e)}),G(t)}else{let t=n[e].id,i=n[e+1].id,a=r[t]??n[e].getSize(),o=r[i]??n[e+1].getSize(),s=(a+o)/2,c=Math.max(J(n[e]),s),l=Math.max(J(n[e+1]),a+o-c);G(e=>({...r,...e,[t]:c,[i]:l}))}queueMicrotask(()=>Y())}let X=()=>Object.keys(W()).length>0,Z=S(()=>{if(!X())return null;let e=W();return`${P.getAllLeafColumns().reduce((t,n)=>t+(e[n.id]??n.getSize()),0)}px`}),Q=S(()=>{if(!Qe())return null;let e=q(),t=L(),n=e.filter(e=>k().has(e.id)),r=e.filter(e=>!k().has(e.id)),i=n.reduce((e,t)=>e+t.getSize(),0),a=r.length,o;if(typeof t==`number`){let e=t-i;o=a>0?Math.max(100,e/a):100}else o=100;let s={};return e.forEach(e=>{s[e.id]=k().has(e.id)?e.getSize():o}),s}),xt=()=>k().size>0||X()||Qe(),[St,Ct]=C({});function wt(){if(!U)return;let e=U.querySelectorAll(_t),t=q(),n={};t.forEach((t,r)=>{e[r]&&(n[t.id]=e[r].offsetWidth)}),Ct(n)}let Tt=S(()=>{let e=St();return Object.keys(e).length===0?new Map:Le(P.getAllLeafColumns().map(t=>({id:t.id,fixed:t.columnDef.meta?.fixed,width:e[t.id]||0})))});function Et(e){let t=Tt().get(e);if(t){if(t.fixed===`start`)return{left:`${t.offset}px`};if(t.fixed===`end`)return{right:`${t.offset}px`}}}function Dt(t){let n=Tt().get(t);return n?e(`tbe33`,n.isLastStart&&`tbe34`,n.isFirstEnd&&`tbe35`):``}let Ot={start:`justify-start`,center:`justify-center`,end:`justify-end`},kt={start:`align-start`,center:`align-center`,end:`align-end`},At={start:`text-left`,center:`text-center`,end:`text-right`};function jt(e){return P.getColumn(e)?.columnDef.meta?.align??`start`}function Mt(e){return!!P.getColumn(e)?.columnDef.meta?.tooltip}function $(e,t,n){let r=P.getColumn(e)?.columnDef.meta?.tooltip;if(!r)return n;let a=r.content,o=typeof a==`function`?a(t):a;return s(i,f({type:`portal`},{...r,...o!==void 0&&{content:o},containerId:ft,position:r.position??`top`,class:{root:`tbe-tt-cell`}},{children:n}))}function Nt(e){let t=e.target,n=e=>{let t=e.closest(`table`);return t===U||t===dt},r=t.closest(`th[data-column-id]`);if(r&&n(r)){let t=r.dataset.columnId;if(t)if(z()&&c.enableSorting)ot(e,t);else{let n=P.getColumn(t);n?.getCanSort()&&n.getToggleSortingHandler()?.(e)}return}let i=t.closest(`td.tbe22`);if(i&&n(i)){let e=i.closest(`tr[data-row-id]`);if(e){let t=e.dataset.rowId;if(t!==void 0){let e=P.getRow(t);e?.getCanSelect()&&e.toggleSelected()}}return}let a=t.closest(`td.tbe23`);if(a&&n(a)){let e=a.closest(`tr[data-row-id]`);if(e){let t=e.dataset.rowId;if(t!==void 0){let e=P.getRow(t);if(e){let t=O();(!t?.rowExpandable||t.rowExpandable(e.original,e.index))&&We(e.id,e.original)}}}return}let o=t.closest(`tr[data-row-id]`);if(o&&n(o)&&c.onRowClick){let t=o.dataset.rowId;if(t!==void 0){let n=P.getRow(t);n&&c.onRowClick(n,e)}}}return ie(()=>{if(K()&&(Y(),window.addEventListener(`scroll`,Y,{passive:!0,capture:!0}),w(function(){window.removeEventListener(`scroll`,Y,{capture:!0})})),I()&&wt(),K()||I()){let e=new ResizeObserver(()=>{K()&&Y(),I()&&wt()});e.observe(U),w(function(){e.disconnect()})}if(z()){let e=()=>{if(!c.getVirtualData||c.loadingMore!==`auto`)return;let e=$e(),t=(e?.itemSize??40)*(e?.overscan??5);B.scrollTop+B.clientHeight>=B.scrollHeight-t&&lt()};B.addEventListener(`scroll`,e,{passive:!0}),w(function(){B.removeEventListener(`scroll`,e)})}if(R()){let e=()=>{et&&(et.scrollLeft=B.scrollLeft),K()&&Y()};B.addEventListener(`scroll`,e,{passive:!0}),w(()=>B.removeEventListener(`scroll`,e))}}),(()=>{var i=Se(),a=i.firstChild,g=a.firstChild,S=g.firstChild;return u(i,s(b,{get when(){return d(()=>c.paginationProps!==void 0&&!c.virtual)()&&c.paginationProps?.position===`start`},get children(){return s(r,f(()=>c.paginationProps,{onChange:(e,t)=>{P.setPageIndex(e-1),t!==P.getState().pagination.pageSize&&P.setPageSize(t),c.paginationProps?.onChange?.(e,t)}}))}}),a),u(a,s(b,{get when(){return c.headerPanel},get children(){var t=E();return u(t,()=>c.headerPanel?.()),l(()=>o(t,e(`tbe40`,F()?.outer&&`tbe41`,c.class?.headerPanel))),t}}),g),u(a,s(b,{get when(){return d(()=>!!R())()&&c.showHeader},get children(){var t=ge(),n=t.firstChild,r=n.firstChild;_(e=>et=e,t),n.$$click=Nt;var i=U;return typeof i==`function`?_(i,n):U=n,u(n,s(b,{get when(){return xt()},get children(){var e=he();return u(e,s(v,{get each(){return P.getAllLeafColumns()},children:e=>{let t=()=>e.id===M||e.id===j;return(()=>{var n=Ce();return l(r=>h(n,{...t()?{width:`${e.getSize()}px`}:X()?{width:`${W()[e.id]||e.getSize()}px`}:Q()?{width:`${Q()[e.id]??100}px`}:k().has(e.id)?{width:`${e.getSize()}px`}:{}},r)),n})()}})),e}}),r),u(r,s(v,{get each(){return P.getHeaderGroups()},children:(t,n)=>{let r=P.getHeaderGroups().length,i=new Set(P.getHeaderGroups().slice(0,n()).flatMap(e=>e.headers.filter(e=>e.isPlaceholder&&e.column.getLeafColumns().length===1).map(e=>e.column.id)));return(()=>{var a=D();return u(a,s(v,{get each(){return t.headers},children:t=>{if(i.has(t.column.id))return null;let a=t.isPlaceholder&&t.column.getLeafColumns().length===1,f=a?r-n():1;if(t.isPlaceholder&&!a)return null;let m=t.column.columnDef.meta?.onHeaderCell?.(t)??{};if(m.colSpan===0)return null;let g=m.colSpan??t.colSpan,_=m.rowSpan??(f>1?f:void 0);return(()=>{var n=Ee(),r=n.firstChild,i=r.firstChild;return p(n,`colspan`,g),p(n,`rowspan`,_),u(i,()=>T(t.column.columnDef.header,t.getContext())),u(r,s(b,{get when(){return t.column.getCanSort()},get children(){var e=Te();return u(e,s(ee,{get fallback(){return s(pe,{size:14,"stroke-width":3,color:`var(--color)`})},get children(){return[s(y,{get when(){return t.column.getIsSorted()===`asc`},get children(){return s(me,{size:14,"stroke-width":3,color:`var(--color)`})}}),s(y,{get when(){return t.column.getIsSorted()===`desc`},get children(){return s(se,{size:14,"stroke-width":3,color:`var(--color)`})}})]}}),null),u(e,s(b,{get when(){return d(()=>t.column.getIsSorted()!==!1&&(t.column.getSortIndex()??-1)>=0)()&&P.getState().sorting.length>1},get children(){var e=we();return u(e,()=>(t.column.getSortIndex()??0)+1),e}}),null),e}}),null),l(i=>{var a=e(c.class?.th,t.column.getCanSort()&&`tbe18`,t.column.id===j&&`tbe22`,t.column.id===M&&`tbe23`,Dt(t.column.id)),s=t.column.id,l=Et(t.column.id),u=e(`tbe15`,(k().has(t.column.id)||X())&&t.column.id!==j&&t.column.id!==M&&`tbe16`,t.column.id!==j&&t.column.id!==M&&Ot[jt(t.column.id)]);return a!==i.e&&o(n,i.e=a),s!==i.t&&p(n,`data-column-id`,i.t=s),i.a=h(n,l,i.a),u!==i.o&&o(r,i.o=u),i},{e:void 0,t:void 0,a:void 0,o:void 0}),n})()}})),l(()=>o(a,e(c.class?.tr,c.class?.headerRow))),a})()}})),l(i=>{var a=e(`tbe12`,`tbe14-hdr`),s=e(`tbe01`,Ie(c),F()?.horizontal&&`tbe43`,F()?.vertical&&`tbe44`,xt()&&`table-fixed`,c.class?.table),l={...Z()?{width:Z(),"min-width":Z()}:Ye()?{"min-width":Ye()}:{}},u=e(c.class?.thead,rt()?`pointer-events-none cursor-wait`:``);return a!==i.e&&o(t,i.e=a),s!==i.t&&o(n,i.t=s),i.a=h(n,l,i.a),u!==i.o&&o(r,i.o=u),i},{e:void 0,t:void 0,a:void 0,o:void 0}),t}}),g),_(e=>B=e,g),S.$$click=Nt,_(e=>{dt=e,R()||(U=e)},S),u(S,s(b,{get when(){return xt()},get children(){var e=he();return u(e,s(v,{get each(){return P.getAllLeafColumns()},children:e=>{let t=()=>e.id===M||e.id===j;return(()=>{var n=Ce();return l(r=>h(n,{...t()?{width:`${e.getSize()}px`}:X()?{width:`${W()[e.id]||e.getSize()}px`}:Q()?{width:`${Q()[e.id]??100}px`}:k().has(e.id)?{width:`${e.getSize()}px`}:{}},r)),n})()}})),e}}),null),u(S,s(b,{get when(){return d(()=>!R())()&&c.showHeader},get children(){var t=_e();return u(t,s(v,{get each(){return P.getHeaderGroups()},children:(t,n)=>{let r=P.getHeaderGroups().length,i=new Set(P.getHeaderGroups().slice(0,n()).flatMap(e=>e.headers.filter(e=>e.isPlaceholder&&e.column.getLeafColumns().length===1).map(e=>e.column.id)));return(()=>{var a=D();return u(a,s(v,{get each(){return t.headers},children:t=>{if(i.has(t.column.id))return null;let a=t.isPlaceholder&&t.column.getLeafColumns().length===1,f=a?r-n():1;if(t.isPlaceholder&&!a)return null;let m=t.column.columnDef.meta?.onHeaderCell?.(t)??{};if(m.colSpan===0)return null;let g=m.colSpan??t.colSpan,_=m.rowSpan??(f>1?f:void 0);return(()=>{var n=Ee(),r=n.firstChild,i=r.firstChild;return p(n,`colspan`,g),p(n,`rowspan`,_),u(i,()=>T(t.column.columnDef.header,t.getContext())),u(r,s(b,{get when(){return t.column.getCanSort()},get children(){var e=Te();return u(e,s(ee,{get fallback(){return s(pe,{size:14,"stroke-width":3,color:`var(--color)`})},get children(){return[s(y,{get when(){return t.column.getIsSorted()===`asc`},get children(){return s(me,{size:14,"stroke-width":3,color:`var(--color)`})}}),s(y,{get when(){return t.column.getIsSorted()===`desc`},get children(){return s(se,{size:14,"stroke-width":3,color:`var(--color)`})}})]}}),null),u(e,s(b,{get when(){return d(()=>t.column.getIsSorted()!==!1&&(t.column.getSortIndex()??-1)>=0)()&&P.getState().sorting.length>1},get children(){var e=we();return u(e,()=>(t.column.getSortIndex()??0)+1),e}}),null),e}}),null),l(i=>{var a=e(c.class?.th,t.column.getCanSort()&&`tbe18`,t.column.id===j&&`tbe22`,t.column.id===M&&`tbe23`,Dt(t.column.id)),s=t.column.id,l=Et(t.column.id),u=e(`tbe15`,(k().has(t.column.id)||X())&&t.column.id!==j&&t.column.id!==M&&`tbe16`,t.column.id!==j&&t.column.id!==M&&Ot[jt(t.column.id)]);return a!==i.e&&o(n,i.e=a),s!==i.t&&p(n,`data-column-id`,i.t=s),i.a=h(n,l,i.a),u!==i.o&&o(r,i.o=u),i},{e:void 0,t:void 0,a:void 0,o:void 0}),n})()}})),l(()=>o(a,e(c.class?.tr,c.class?.headerRow))),a})()}})),l(()=>o(t,e(c.class?.thead,rt()?`pointer-events-none cursor-wait`:``))),t}}),null),u(S,s(b,{get when(){return d(()=>!!z())()&&!qe()},get fallback(){return(()=>{var t=xe();return p(t,`id`,ft),u(t,s(b,{get when(){return!qe()},get fallback(){return(()=>{var t=De(),n=t.firstChild;return u(n,()=>c.emptyContent??`No data`),l(t=>{var r=P.getAllColumns().length,i=e(`tbe45`,c.class?.empty);return r!==t.e&&p(n,`colspan`,t.e=r),i!==t.t&&o(n,t.t=i),t},{e:void 0,t:void 0}),t})()},get children(){return s(v,{get each(){return P.getRowModel().rows},children:(t,n)=>{let r=()=>Ue(t.id),i=O();return[(()=>{var i=D();return u(i,s(v,{get each(){return t.getVisibleCells()},children:t=>{let r=t.column.id===j||t.column.id===M,i=r?`start`:jt(t.column.id),a=!r&&Mt(t.column.id),d=ut(t,n());return d.colSpan===0||d.rowSpan===0?null:(()=>{var n=ke();return u(n,s(b,{get when(){return(k().has(t.column.id)||X())&&!r},get fallback(){return $(t.column.id,t.getValue(),T(t.column.columnDef.cell,t.getContext()))},get children(){var n=E();return u(n,()=>$(t.column.id,t.getValue(),T(t.column.columnDef.cell,t.getContext()))),l(()=>o(n,e(`tbe21`,kt[i]))),n}})),l(s=>{var l=e(c.class?.td,t.column.id===j&&`tbe22`,t.column.id===M&&`tbe23`,Dt(t.column.id),a&&`relative`,!r&&At[i]),u={...Et(t.column.id)},f=d.colSpan,m=d.rowSpan;return l!==s.e&&o(n,s.e=l),s.t=h(n,u,s.t),f!==s.a&&p(n,`colspan`,s.a=f),m!==s.o&&p(n,`rowspan`,s.o=m),s},{e:void 0,t:void 0,a:void 0,o:void 0}),n})()}})),l(a=>{var s=e(c.class?.tr,c.class?.bodyRow,t.getIsSelected()&&`tbe27`,r()&&`tbe28`,n()%2==0?`tbe29`:`tbe30`),l=t.id;return s!==a.e&&o(i,a.e=s),l!==a.t&&p(i,`data-row-id`,a.t=l),a},{e:void 0,t:void 0}),i})(),s(b,{get when(){return d(()=>!!A())()&&r()},get children(){var e=Oe(),r=e.firstChild;return u(r,()=>i.expandedRowRender(t.original,n(),0,!0)),l(()=>p(r,`colspan`,t.getVisibleCells().length)),e}})]}})}})),l(()=>o(t,e(c.class?.tbody))),t})()},get children(){return s(b,{get when(){return!rt()},get fallback(){return(()=>{var e=Ae(),t=e.firstChild.firstChild;return l(e=>{var n=P.getAllColumns().length,r=Xe()??`200px`;return n!==e.e&&p(t,`colspan`,e.e=n),r!==e.t&&m(t,`height`,e.t=r),e},{e:void 0,t:void 0}),e})()},get children(){var t=xe();return p(t,`id`,ft),u(t,s(b,{get when(){return tt()>0},get children(){var e=ve(),t=e.firstChild;return l(e=>{var n=P.getAllColumns().length,r=`${tt()}px`;return n!==e.e&&p(t,`colspan`,e.e=n),r!==e.t&&m(t,`height`,e.t=r),e},{e:void 0,t:void 0}),e}}),null),u(t,s(v,{get each(){return V.getVirtualItems()},children:t=>{let n=P.getRowModel().rows[t.index],r=t.index;if(!n)return null;let i=()=>Ue(n.id),a=O(),f;return x(re(i,()=>{queueMicrotask(()=>{f?.isConnected&&f.hasAttribute(`data-index`)&&V.measureElement(f)})},{defer:!0})),[(()=>{var a=D();return _(e=>{f=e,e&&queueMicrotask(()=>{e.isConnected&&V.measureElement(e)})},a),u(a,s(v,{get each(){return n.getVisibleCells()},children:t=>{let n=t.column.id===j||t.column.id===M,r=n?`start`:jt(t.column.id),i=!n&&Mt(t.column.id);return(()=>{var a=ke();return u(a,s(b,{get when(){return(k().has(t.column.id)||X())&&!n},get fallback(){return $(t.column.id,t.getValue(),T(t.column.columnDef.cell,t.getContext()))},get children(){var n=E();return u(n,()=>$(t.column.id,t.getValue(),T(t.column.columnDef.cell,t.getContext()))),l(()=>o(n,e(`tbe21`,kt[r]))),n}})),l(s=>{var l=e(c.class?.td,t.column.id===j&&`tbe22`,t.column.id===M&&`tbe23`,Dt(t.column.id),i&&`relative p-0`,!n&&At[r]),u={...Et(t.column.id)};return l!==s.e&&o(a,s.e=l),s.t=h(a,u,s.t),s},{e:void 0,t:void 0}),a})()}})),l(s=>{var l=t.index,u=e(c.class?.tr,c.class?.bodyRow,n.getIsSelected()&&`tbe27`,i()&&`tbe28`,r%2==0?`tbe29`:`tbe30`),d=n.id;return l!==s.e&&p(a,`data-index`,s.e=l),u!==s.t&&o(a,s.t=u),d!==s.a&&p(a,`data-row-id`,s.a=d),s},{e:void 0,t:void 0,a:void 0}),a})(),s(b,{get when(){return d(()=>!!A())()&&i()},get children(){var e=Oe(),t=e.firstChild;return u(t,()=>a.expandedRowRender(n.original,r,0,!0)),l(()=>p(t,`colspan`,n.getVisibleCells().length)),e}})]}}),null),u(t,s(b,{get when(){return nt()>0},get children(){var e=ve(),t=e.firstChild;return l(e=>{var n=P.getAllColumns().length,r=`${nt()}px`;return n!==e.e&&p(t,`colspan`,e.e=n),r!==e.t&&m(t,`height`,e.t=r),e},{e:void 0,t:void 0}),e}}),null),u(t,s(ee,{get children(){return[s(y,{get when(){return d(()=>c.loadingMore===`auto`)()&&H()},get children(){var e=ye(),t=e.firstChild;return l(()=>p(t,`colspan`,P.getAllColumns().length)),e}}),s(y,{get when(){return c.loadingMore===`manual`},get children(){var e=be(),t=e.firstChild,r=t.firstChild;return u(r,s(n,{variant:`default`,get color(){return c.color},get loading(){return H()},onClick:()=>lt(),get size(){return c.size},children:`Load more`})),l(()=>p(t,`colspan`,P.getAllColumns().length)),e}})]}}),null),l(()=>o(t,c.class?.tbody)),t}})}}),null),u(a,s(b,{get when(){return K()},get children(){return s(v,{get each(){return ht()},children:t=>(()=>{var n=E();return n.$$dblclick=e=>bt(t.colIndex,e),n.$$mousedown=e=>yt(t.colIndex,e),l(r=>{var i=e(`tbe37`,pt()===t.colIndex&&`tbe38`),a=`${t.left}px`,s=`${t.top}px`,c=`${t.height}px`;return i!==r.e&&o(n,r.e=i),a!==r.t&&m(n,`left`,r.t=a),s!==r.a&&m(n,`top`,r.a=s),c!==r.o&&m(n,`height`,r.o=c),r},{e:void 0,t:void 0,a:void 0,o:void 0}),n})()})}}),null),u(a,s(b,{get when(){return c.footerPanel},get children(){var t=E();return u(t,()=>c.footerPanel?.()),l(()=>o(t,e(`tbe40`,F()?.outer&&`border-c3/50 border-t`,c.class?.tfoot))),t}}),null),u(i,s(b,{get when(){return d(()=>c.paginationProps!==void 0&&!c.virtual)()&&(c.paginationProps?.position??`end`)===`end`},get children(){return s(r,f(()=>c.paginationProps,{onChange:(e,t)=>{P.setPageIndex(e-1),t!==P.getState().pagination.pageSize&&P.setPageSize(t),c.paginationProps?.onChange?.(e,t)}}))}}),null),l(n=>{var r=e(`tbe09`,c.paginationProps!==void 0&&`tbe10`),s=e(`tbe11`,F()?.outer&&`tbe42`,K()&&`tbe36`,pt()>=0&&`tbe39`,(I()||R())&&`tbe13`,t(c.color),c.rounded,c.rounded&&`overflow-hidden`,c.class?.root),l={...Je()?{"max-width":Je()}:{},...Qe()&&c.rounded?{"overflow-x":`clip`}:{}},u=e(`tbe12`,Ze()&&`tbe14`),d={...Xe()?{"max-height":Xe()}:{}},f=e(`tbe01`,Ie(c),F()?.horizontal&&`tbe43`,F()?.vertical&&`tbe44`,xt()&&`table-fixed`,c.class?.table),p={...Z()?{width:Z(),"min-width":Z()}:Ye()?{"min-width":Ye()}:{}};return r!==n.e&&o(i,n.e=r),s!==n.t&&o(a,n.t=s),n.a=h(a,l,n.a),u!==n.o&&o(g,n.o=u),n.i=h(g,d,n.i),f!==n.n&&o(S,n.n=f),n.s=h(S,p,n.s),n},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0}),i})()}N.Selection=function(e){let t={type:`checkbox`,hideSelectAll:!1,width:32,...e};return{id:j,size:typeof t.width==`number`?t.width:48,enableSorting:!1,enableResizing:!1,meta:{_selection:t},header:({table:e})=>t.title===void 0?t.type===`radio`||t.hideSelectAll?null:(()=>{var t=je();return a(t,`change`,e.getToggleAllRowsSelectedHandler()),_(t=>{x(function(){t.indeterminate=e.getIsSomeRowsSelected()})},t),l(()=>t.checked=e.getIsAllRowsSelected()),t})():t.title,cell:({row:e})=>{let n=e.index,r=()=>e.getIsSelected(),i=e.original;return t.renderCell?(()=>{var a=O();return a.$$click=t=>{t.stopPropagation(),e.toggleSelected()},u(a,()=>t.renderCell(r(),i,n)),a})():t.type===`radio`?(()=>{var t=k();return t.$$click=e=>e.stopPropagation(),a(t,`change`,e.getToggleSelectedHandler()),l(()=>t.disabled=!e.getCanSelect()),l(()=>t.checked=r()),t})():(()=>{var t=Me();return t.$$click=e=>e.stopPropagation(),a(t,`change`,e.getToggleSelectedHandler()),l(()=>t.disabled=!e.getCanSelect()),l(()=>t.checked=r()),t})()}}},N.Expanded=function(t){return t=ne({width:48},t),{id:M,size:t.width,enableSorting:!1,enableResizing:!1,meta:{_expanded:t},header:()=>null,cell:({row:n,table:r})=>{let i=n.index,a=n.original,o=r.options.meta?._expandApi;if(!(!t.rowExpandable||t.rowExpandable(a,i))||!o)return null;let c=()=>o.isRowExpanded(n.id);return(()=>{var r=Ne();return r.$$click=e=>{e.stopPropagation(),o.toggleRowExpanded(n.id,a)},u(r,s(b,{get when(){return t.expandIcon},get fallback(){return s(ae,{size:16,"stroke-width":2,get class(){return e(`tbe25`,c()&&`tbe26`)}})},get children(){return t.expandIcon(c())}})),r})()}}},c([`click`,`mousedown`,`dblclick`]);export{N as Table};
2
+ //# sourceMappingURL=table.js.map