@wakastellar/ui 3.5.0 → 4.0.0-dev.0

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 (1052) hide show
  1. package/dist/badge-B2Kw7ew3.js +1 -0
  2. package/dist/{badge-BfiocODp.mjs → badge-BvqcaobM.mjs} +9 -9
  3. package/dist/blocks/activity-timeline/index.d.ts +73 -0
  4. package/dist/blocks/antivirus-dashboard/index.d.ts +44 -0
  5. package/dist/blocks/apm-overview/index.d.ts +58 -0
  6. package/dist/blocks/auth-2fa/index.d.ts +38 -0
  7. package/dist/blocks/calendar-view/index.d.ts +56 -0
  8. package/dist/blocks/chat/index.d.ts +112 -0
  9. package/dist/blocks/chat/widget.d.ts +100 -0
  10. package/dist/blocks/chat-interface/index.d.ts +66 -0
  11. package/dist/blocks/checkout-flow/index.d.ts +76 -0
  12. package/dist/blocks/cicd-builder/index.d.ts +47 -0
  13. package/dist/blocks/clamav-service-status/index.d.ts +35 -0
  14. package/dist/blocks/cloud-cost-dashboard/index.d.ts +49 -0
  15. package/dist/blocks/container-orchestrator/index.d.ts +63 -0
  16. package/dist/blocks/dashboard/index.d.ts +95 -0
  17. package/dist/blocks/dashboard-kpi/index.d.ts +69 -0
  18. package/dist/blocks/database-admin/index.d.ts +84 -0
  19. package/dist/blocks/deployment-dashboard/index.d.ts +68 -0
  20. package/dist/blocks/empty-states/index.d.ts +47 -0
  21. package/dist/blocks/error-pages/index.d.ts +55 -0
  22. package/dist/blocks/faq/index.d.ts +54 -0
  23. package/dist/blocks/file-manager/index.d.ts +81 -0
  24. package/dist/blocks/file-scan-uploader/index.d.ts +29 -0
  25. package/dist/blocks/footer/index.d.ts +19 -0
  26. package/dist/blocks/gitops-sync-status/index.d.ts +45 -0
  27. package/dist/blocks/header/index.d.ts +86 -0
  28. package/dist/blocks/headtab/index.d.ts +27 -0
  29. package/dist/blocks/i18n-editor/index.d.ts +63 -0
  30. package/dist/blocks/incident-manager/index.d.ts +44 -0
  31. package/dist/blocks/index.d.ts +58 -0
  32. package/dist/blocks/infrastructure-map/index.d.ts +32 -0
  33. package/dist/blocks/kanban-board/index.d.ts +77 -0
  34. package/dist/blocks/landing/index.d.ts +104 -0
  35. package/dist/blocks/language-selector/index.d.ts +6 -0
  36. package/dist/blocks/layout/index.d.ts +28 -0
  37. package/dist/blocks/login/index.d.ts +42 -0
  38. package/dist/blocks/login/types.d.ts +126 -0
  39. package/dist/blocks/on-call-schedule/index.d.ts +43 -0
  40. package/dist/blocks/player-profile/index.d.ts +78 -0
  41. package/dist/blocks/pricing/index.d.ts +64 -0
  42. package/dist/blocks/profile/index.d.ts +98 -0
  43. package/dist/blocks/quarantine-manager/index.d.ts +27 -0
  44. package/dist/blocks/release-notes/index.d.ts +49 -0
  45. package/dist/blocks/scan-history-log/index.d.ts +28 -0
  46. package/dist/blocks/scan-policy-editor/index.d.ts +27 -0
  47. package/dist/blocks/scan-report-generator/index.d.ts +47 -0
  48. package/dist/blocks/settings/index.d.ts +62 -0
  49. package/dist/blocks/sidebar/index.d.ts +155 -0
  50. package/dist/blocks/signature-database-manager/index.d.ts +39 -0
  51. package/dist/blocks/threat-alert-banner/index.d.ts +26 -0
  52. package/dist/blocks/user-management/index.d.ts +95 -0
  53. package/dist/blocks/waka-doc-shell/index.d.ts +3 -0
  54. package/dist/blocks/waka-doc-shell/types.d.ts +32 -0
  55. package/dist/blocks/wizard/index.d.ts +88 -0
  56. package/dist/charts.cjs.js +1 -1
  57. package/dist/charts.d.ts +17 -1
  58. package/dist/charts.es.js +2 -1
  59. package/dist/{chunk-Cr9pTUWm.mjs → chunk-BJivcVNn.mjs} +6 -5
  60. package/dist/chunk-FDd1SASZ.js +1 -0
  61. package/dist/cli/index.cjs +54 -3
  62. package/dist/cn-Bpd_xIzI.mjs +23 -0
  63. package/dist/cn-DEeiGoUV.js +1 -0
  64. package/dist/components/DataTable/DataTable.d.ts +17 -0
  65. package/dist/components/DataTable/DataTableAdvanced.d.ts +27 -0
  66. package/dist/components/DataTable/DataTableColumnResizer.d.ts +8 -0
  67. package/dist/components/DataTable/DataTableContextMenu.d.ts +47 -0
  68. package/dist/components/DataTable/DataTableEditCell.d.ts +29 -0
  69. package/dist/components/DataTable/DataTableFilters.d.ts +14 -0
  70. package/dist/components/DataTable/DataTableGrouping.d.ts +25 -0
  71. package/dist/components/DataTable/DataTablePagination.d.ts +8 -0
  72. package/dist/components/DataTable/DataTableSelection.d.ts +46 -0
  73. package/dist/components/DataTable/DataTableToolbar.d.ts +14 -0
  74. package/dist/components/DataTable/examples/EditExample.d.ts +2 -0
  75. package/dist/components/DataTable/hooks/useDataTable.d.ts +24 -0
  76. package/dist/components/DataTable/hooks/useDataTableAdvanced.d.ts +38 -0
  77. package/dist/components/DataTable/hooks/useDataTableEdit.d.ts +22 -0
  78. package/dist/components/DataTable/hooks/useDataTableExport.d.ts +15 -0
  79. package/dist/components/DataTable/hooks/useDataTableImport.d.ts +12 -0
  80. package/dist/components/DataTable/hooks/useDataTableTheme.d.ts +16 -0
  81. package/dist/components/DataTable/hooks/useDataTableVirtualization.d.ts +19 -0
  82. package/dist/components/DataTable/hooks/useTableLayout.d.ts +26 -0
  83. package/dist/components/DataTable/index.d.ts +37 -0
  84. package/dist/components/DataTable/types.d.ts +461 -0
  85. package/dist/components/DataTable/utils.d.ts +37 -0
  86. package/dist/components/accordion/index.d.ts +7 -0
  87. package/dist/components/alert/index.d.ts +8 -0
  88. package/dist/components/alert-dialog/index.d.ts +20 -0
  89. package/dist/components/aspect-ratio/index.d.ts +3 -0
  90. package/dist/components/avatar/index.d.ts +6 -0
  91. package/dist/components/badge/index.d.ts +9 -0
  92. package/dist/components/button/index.d.ts +11 -0
  93. package/dist/components/calendar/index.d.ts +18 -0
  94. package/dist/components/card/index.d.ts +46 -0
  95. package/dist/components/checkbox/index.d.ts +4 -0
  96. package/dist/components/code/index.d.ts +49 -0
  97. package/dist/components/collapsible/index.d.ts +5 -0
  98. package/dist/components/command/index.d.ts +83 -0
  99. package/dist/components/context-menu/index.d.ts +27 -0
  100. package/dist/components/dialog/index.d.ts +19 -0
  101. package/dist/components/dropdown-menu/index.d.ts +27 -0
  102. package/dist/components/error-boundary/ErrorBoundary.d.ts +102 -0
  103. package/dist/components/error-boundary/index.d.ts +2 -0
  104. package/dist/components/form/index.d.ts +23 -0
  105. package/dist/components/hover-card/index.d.ts +6 -0
  106. package/dist/components/index.d.ts +257 -0
  107. package/dist/components/input/index.d.ts +19 -0
  108. package/dist/components/input-otp/index.d.ts +51 -0
  109. package/dist/components/label/index.d.ts +5 -0
  110. package/dist/components/language-selector/index.d.ts +40 -0
  111. package/dist/components/menubar/index.d.ts +28 -0
  112. package/dist/components/navigation-menu/index.d.ts +12 -0
  113. package/dist/components/popover/index.d.ts +6 -0
  114. package/dist/components/progress/index.d.ts +4 -0
  115. package/dist/components/radio-group/index.d.ts +5 -0
  116. package/dist/components/scroll-area/index.d.ts +5 -0
  117. package/dist/components/select/index.d.ts +13 -0
  118. package/dist/components/separator/index.d.ts +4 -0
  119. package/dist/components/sheet/index.d.ts +27 -0
  120. package/dist/components/skeleton/index.d.ts +13 -0
  121. package/dist/components/slider/index.d.ts +4 -0
  122. package/dist/components/switch/index.d.ts +4 -0
  123. package/dist/components/table/index.d.ts +21 -0
  124. package/dist/components/tabs/index.d.ts +7 -0
  125. package/dist/components/textarea/index.d.ts +14 -0
  126. package/dist/components/theme-selector/index.d.ts +8 -0
  127. package/dist/components/toast/index.d.ts +15 -0
  128. package/dist/components/toaster/index.d.ts +1 -0
  129. package/dist/components/toggle/index.d.ts +12 -0
  130. package/dist/components/tooltip/index.d.ts +7 -0
  131. package/dist/components/typography/index.d.ts +85 -0
  132. package/dist/components/waka-3d-pie-chart/index.d.ts +67 -0
  133. package/dist/components/waka-achievement-unlock/index.d.ts +83 -0
  134. package/dist/components/waka-activity-feed/index.d.ts +78 -0
  135. package/dist/components/waka-ad-banner/index.d.ts +36 -0
  136. package/dist/components/waka-ad-fallback/index.d.ts +33 -0
  137. package/dist/components/waka-ad-inline/index.d.ts +15 -0
  138. package/dist/components/waka-ad-interstitial/index.d.ts +26 -0
  139. package/dist/components/waka-ad-placeholder/index.d.ts +17 -0
  140. package/dist/components/waka-ad-provider/index.d.ts +103 -0
  141. package/dist/components/waka-ad-sidebar/index.d.ts +18 -0
  142. package/dist/components/waka-ad-sticky-footer/index.d.ts +17 -0
  143. package/dist/components/waka-address-autocomplete/index.d.ts +129 -0
  144. package/dist/components/waka-admincrumb/index.d.ts +55 -0
  145. package/dist/components/waka-alert-panel/index.d.ts +45 -0
  146. package/dist/components/waka-alert-stack/index.d.ts +58 -0
  147. package/dist/components/waka-allocation-matrix/index.d.ts +193 -0
  148. package/dist/components/waka-approval-chain/index.d.ts +43 -0
  149. package/dist/components/waka-artifact-list/index.d.ts +32 -0
  150. package/dist/components/waka-audit-log/index.d.ts +142 -0
  151. package/dist/components/waka-autocomplete/index.d.ts +59 -0
  152. package/dist/components/waka-badge-showcase/index.d.ts +51 -0
  153. package/dist/components/waka-barcode/index.d.ts +27 -0
  154. package/dist/components/waka-biometric-prompt/index.d.ts +84 -0
  155. package/dist/components/waka-bottom-sheet/index.d.ts +61 -0
  156. package/dist/components/waka-breadcrumb/index.d.ts +43 -0
  157. package/dist/components/waka-breadcrumb-path/index.d.ts +46 -0
  158. package/dist/components/waka-budget-burn/index.d.ts +154 -0
  159. package/dist/components/waka-build-matrix/index.d.ts +36 -0
  160. package/dist/components/waka-capacity-planner/index.d.ts +132 -0
  161. package/dist/components/waka-carousel/index.d.ts +105 -0
  162. package/dist/components/waka-cart-summary/index.d.ts +154 -0
  163. package/dist/components/waka-challenge-timer/index.d.ts +86 -0
  164. package/dist/components/waka-charts/WakaAreaChart.d.ts +12 -0
  165. package/dist/components/waka-charts/WakaBarChart.d.ts +12 -0
  166. package/dist/components/waka-charts/WakaChart.d.ts +17 -0
  167. package/dist/components/waka-charts/WakaLineChart.d.ts +12 -0
  168. package/dist/components/waka-charts/WakaMiniChart.d.ts +13 -0
  169. package/dist/components/waka-charts/WakaPieChart.d.ts +12 -0
  170. package/dist/components/waka-charts/WakaSparkline.d.ts +13 -0
  171. package/dist/components/waka-charts/dataTableHelpers.d.ts +37 -0
  172. package/dist/components/waka-charts/hooks/useChartTheme.d.ts +27 -0
  173. package/dist/components/waka-charts/hooks/useRechartsLoader.d.ts +161 -0
  174. package/dist/components/waka-charts/index.d.ts +57 -0
  175. package/dist/components/waka-charts/types.d.ts +302 -0
  176. package/dist/components/waka-chat-bubble/index.d.ts +127 -0
  177. package/dist/components/waka-checklist/index.d.ts +123 -0
  178. package/dist/components/waka-checkout-stepper/index.d.ts +154 -0
  179. package/dist/components/waka-cohort-table/index.d.ts +130 -0
  180. package/dist/components/waka-color-picker/index.d.ts +40 -0
  181. package/dist/components/waka-combo-counter/index.d.ts +53 -0
  182. package/dist/components/waka-combobox/index.d.ts +81 -0
  183. package/dist/components/waka-command-bar/index.d.ts +45 -0
  184. package/dist/components/waka-compare-period/index.d.ts +122 -0
  185. package/dist/components/waka-config-comparator/index.d.ts +37 -0
  186. package/dist/components/waka-connection-matrix/index.d.ts +117 -0
  187. package/dist/components/waka-container-list/index.d.ts +51 -0
  188. package/dist/components/waka-content-recommendation/index.d.ts +23 -0
  189. package/dist/components/waka-contribution-graph/index.d.ts +34 -0
  190. package/dist/components/waka-cost-breakdown/index.d.ts +50 -0
  191. package/dist/components/waka-coupon-input/index.d.ts +105 -0
  192. package/dist/components/waka-credit-activity-feed/index.d.ts +21 -0
  193. package/dist/components/waka-credit-alert/index.d.ts +24 -0
  194. package/dist/components/waka-credit-balance/index.d.ts +30 -0
  195. package/dist/components/waka-credit-balance/types.d.ts +34 -0
  196. package/dist/components/waka-credit-breakdown/index.d.ts +32 -0
  197. package/dist/components/waka-credit-burn-rate/index.d.ts +25 -0
  198. package/dist/components/waka-credit-card-input/index.d.ts +95 -0
  199. package/dist/components/waka-credit-history/index.d.ts +31 -0
  200. package/dist/components/waka-credit-meter/index.d.ts +27 -0
  201. package/dist/components/waka-credit-pricing-pack/index.d.ts +17 -0
  202. package/dist/components/waka-credit-projection/index.d.ts +21 -0
  203. package/dist/components/waka-credit-quota/index.d.ts +25 -0
  204. package/dist/components/waka-credit-receipt/index.d.ts +23 -0
  205. package/dist/components/waka-credit-top-up/index.d.ts +26 -0
  206. package/dist/components/waka-credit-transaction/index.d.ts +22 -0
  207. package/dist/components/waka-credit-transfer-form/index.d.ts +27 -0
  208. package/dist/components/waka-credit-usage-chart/index.d.ts +34 -0
  209. package/dist/components/waka-daily-reward/index.d.ts +76 -0
  210. package/dist/components/waka-database-card/index.d.ts +46 -0
  211. package/dist/components/waka-date-range-picker/index.d.ts +68 -0
  212. package/dist/components/waka-datetime-picker/index.d.ts +135 -0
  213. package/dist/components/waka-datetime-picker.form-integration/index.d.ts +79 -0
  214. package/dist/components/waka-dependency-tree/index.d.ts +38 -0
  215. package/dist/components/waka-deployment-lane/index.d.ts +43 -0
  216. package/dist/components/waka-device-trust/index.d.ts +95 -0
  217. package/dist/components/waka-doc-breadcrumb/index.d.ts +11 -0
  218. package/dist/components/waka-doc-callout/index.d.ts +9 -0
  219. package/dist/components/waka-doc-code-block/index.d.ts +23 -0
  220. package/dist/components/waka-doc-nav/index.d.ts +16 -0
  221. package/dist/components/waka-doc-renderer/index.d.ts +7 -0
  222. package/dist/components/waka-doc-search/index.d.ts +23 -0
  223. package/dist/components/waka-doc-table/index.d.ts +8 -0
  224. package/dist/components/waka-doc-toc/index.d.ts +11 -0
  225. package/dist/components/waka-doc-toolbar/index.d.ts +15 -0
  226. package/dist/components/waka-doc-version/index.d.ts +13 -0
  227. package/dist/components/waka-dock/index.d.ts +49 -0
  228. package/dist/components/waka-drawer/index.d.ts +59 -0
  229. package/dist/components/waka-empty-state/index.d.ts +85 -0
  230. package/dist/components/waka-env-var-editor/index.d.ts +30 -0
  231. package/dist/components/waka-error-shake/index.d.ts +49 -0
  232. package/dist/components/waka-feature-announcement/index.d.ts +112 -0
  233. package/dist/components/waka-feature-flag-row/index.d.ts +45 -0
  234. package/dist/components/waka-file-upload/index.d.ts +49 -0
  235. package/dist/components/waka-floating-nav/index.d.ts +51 -0
  236. package/dist/components/waka-flow-diagram/index.d.ts +71 -0
  237. package/dist/components/waka-funnel-chart/index.d.ts +108 -0
  238. package/dist/components/waka-glow-card/index.d.ts +32 -0
  239. package/dist/components/waka-goal-progress/index.d.ts +139 -0
  240. package/dist/components/waka-haptic-button/index.d.ts +50 -0
  241. package/dist/components/waka-health-pulse/index.d.ts +28 -0
  242. package/dist/components/waka-heatmap/index.d.ts +135 -0
  243. package/dist/components/waka-hotspot/index.d.ts +111 -0
  244. package/dist/components/waka-image/index.d.ts +59 -0
  245. package/dist/components/waka-incident-timeline/index.d.ts +38 -0
  246. package/dist/components/waka-invoice-preview/index.d.ts +137 -0
  247. package/dist/components/waka-kanban/index.d.ts +68 -0
  248. package/dist/components/waka-kpi-dashboard/index.d.ts +80 -0
  249. package/dist/components/waka-kubernetes-overview/index.d.ts +98 -0
  250. package/dist/components/waka-leaderboard/index.d.ts +85 -0
  251. package/dist/components/waka-level-progress/index.d.ts +89 -0
  252. package/dist/components/waka-liquid-button/index.d.ts +46 -0
  253. package/dist/components/waka-loading-orbit/index.d.ts +90 -0
  254. package/dist/components/waka-log-viewer/index.d.ts +38 -0
  255. package/dist/components/waka-loot-box/index.d.ts +87 -0
  256. package/dist/components/waka-magic-link/index.d.ts +34 -0
  257. package/dist/components/waka-magnetic-button/index.d.ts +61 -0
  258. package/dist/components/waka-mention-input/index.d.ts +106 -0
  259. package/dist/components/waka-metric-sparkline/index.d.ts +46 -0
  260. package/dist/components/waka-migration-list/index.d.ts +36 -0
  261. package/dist/components/waka-milestone-road/index.d.ts +91 -0
  262. package/dist/components/waka-modal/index.d.ts +87 -0
  263. package/dist/components/waka-morph-button/index.d.ts +62 -0
  264. package/dist/components/waka-network-topology/index.d.ts +35 -0
  265. package/dist/components/waka-notifications/index.d.ts +40 -0
  266. package/dist/components/waka-number-input/index.d.ts +60 -0
  267. package/dist/components/waka-orbital-menu/index.d.ts +61 -0
  268. package/dist/components/waka-order-tracker/index.d.ts +121 -0
  269. package/dist/components/waka-outstream-video/index.d.ts +24 -0
  270. package/dist/components/waka-pagination/index.d.ts +67 -0
  271. package/dist/components/waka-password-strength/index.d.ts +98 -0
  272. package/dist/components/waka-payment-method-picker/index.d.ts +88 -0
  273. package/dist/components/waka-permission-matrix/index.d.ts +197 -0
  274. package/dist/components/waka-phone-input/index.d.ts +93 -0
  275. package/dist/components/waka-pipeline-view/index.d.ts +49 -0
  276. package/dist/components/waka-player-card/index.d.ts +36 -0
  277. package/dist/components/waka-pod-card/index.d.ts +73 -0
  278. package/dist/components/waka-points-popup/index.d.ts +75 -0
  279. package/dist/components/waka-power-up/index.d.ts +103 -0
  280. package/dist/components/waka-presence-indicator/index.d.ts +188 -0
  281. package/dist/components/waka-pricing-table/index.d.ts +77 -0
  282. package/dist/components/waka-product-card/index.d.ts +81 -0
  283. package/dist/components/waka-progress-onboarding/index.d.ts +97 -0
  284. package/dist/components/waka-pull-to-refresh/index.d.ts +45 -0
  285. package/dist/components/waka-qrcode/index.d.ts +32 -0
  286. package/dist/components/waka-query-explain/index.d.ts +48 -0
  287. package/dist/components/waka-quest-card/index.d.ts +110 -0
  288. package/dist/components/waka-quota-bar/index.d.ts +100 -0
  289. package/dist/components/waka-radar-score/index.d.ts +95 -0
  290. package/dist/components/waka-rank-badge/index.d.ts +58 -0
  291. package/dist/components/waka-rating-input/index.d.ts +110 -0
  292. package/dist/components/waka-reaction-picker/index.d.ts +77 -0
  293. package/dist/components/waka-region-map/index.d.ts +27 -0
  294. package/dist/components/waka-resource-gauge/index.d.ts +78 -0
  295. package/dist/components/waka-resource-pool/index.d.ts +81 -0
  296. package/dist/components/waka-rich-text-editor/index.d.ts +36 -0
  297. package/dist/components/waka-rollback-slider/index.d.ts +79 -0
  298. package/dist/components/waka-sankey-diagram/index.d.ts +120 -0
  299. package/dist/components/waka-schedule-picker/index.d.ts +100 -0
  300. package/dist/components/waka-scratch-card/index.d.ts +87 -0
  301. package/dist/components/waka-season-pass/index.d.ts +65 -0
  302. package/dist/components/waka-secret-card/index.d.ts +43 -0
  303. package/dist/components/waka-security-scan-result/index.d.ts +45 -0
  304. package/dist/components/waka-security-score/index.d.ts +124 -0
  305. package/dist/components/waka-segmented-control/index.d.ts +42 -0
  306. package/dist/components/waka-server-rack/index.d.ts +44 -0
  307. package/dist/components/waka-service-graph/index.d.ts +44 -0
  308. package/dist/components/waka-session-manager/index.d.ts +116 -0
  309. package/dist/components/waka-signature-pad/index.d.ts +87 -0
  310. package/dist/components/waka-skeleton-wave/index.d.ts +79 -0
  311. package/dist/components/waka-skill-tree/index.d.ts +78 -0
  312. package/dist/components/waka-sla-tracker/index.d.ts +65 -0
  313. package/dist/components/waka-slider-range/index.d.ts +88 -0
  314. package/dist/components/waka-spin-wheel/index.d.ts +51 -0
  315. package/dist/components/waka-spinner/index.d.ts +46 -0
  316. package/dist/components/waka-sponsored-badge/index.d.ts +20 -0
  317. package/dist/components/waka-sponsored-card/index.d.ts +25 -0
  318. package/dist/components/waka-sponsored-feed/index.d.ts +31 -0
  319. package/dist/components/waka-spotlight/index.d.ts +47 -0
  320. package/dist/components/waka-stat/index.d.ts +57 -0
  321. package/dist/components/waka-stats-hexagon/index.d.ts +149 -0
  322. package/dist/components/waka-status-matrix/index.d.ts +38 -0
  323. package/dist/components/waka-stepper/index.d.ts +76 -0
  324. package/dist/components/waka-streak-counter/index.d.ts +27 -0
  325. package/dist/components/waka-success-explosion/index.d.ts +51 -0
  326. package/dist/components/waka-swipe-card/index.d.ts +64 -0
  327. package/dist/components/waka-tabs-morph/index.d.ts +66 -0
  328. package/dist/components/waka-tag-input/index.d.ts +134 -0
  329. package/dist/components/waka-team-banner/index.d.ts +122 -0
  330. package/dist/components/waka-terminal-output/index.d.ts +48 -0
  331. package/dist/components/waka-test-report/index.d.ts +60 -0
  332. package/dist/components/waka-theme-creator/index.d.ts +59 -0
  333. package/dist/components/waka-theme-manager/index.d.ts +62 -0
  334. package/dist/components/waka-thread-view/index.d.ts +101 -0
  335. package/dist/components/waka-tilt-card/index.d.ts +36 -0
  336. package/dist/components/waka-time-picker/index.d.ts +51 -0
  337. package/dist/components/waka-timeline/index.d.ts +46 -0
  338. package/dist/components/waka-tooltip-tour/index.d.ts +123 -0
  339. package/dist/components/waka-tour-guide/index.d.ts +127 -0
  340. package/dist/components/waka-tournament-bracket/index.d.ts +101 -0
  341. package/dist/components/waka-trace-viewer/index.d.ts +36 -0
  342. package/dist/components/waka-tree/index.d.ts +67 -0
  343. package/dist/components/waka-treemap-chart/index.d.ts +104 -0
  344. package/dist/components/waka-two-factor-setup/index.d.ts +93 -0
  345. package/dist/components/waka-typewriter/index.d.ts +98 -0
  346. package/dist/components/waka-typing-indicator/index.d.ts +64 -0
  347. package/dist/components/waka-versus-card/index.d.ts +117 -0
  348. package/dist/components/waka-video/index.d.ts +66 -0
  349. package/dist/components/waka-video-ad/index.d.ts +32 -0
  350. package/dist/components/waka-video-call/index.d.ts +170 -0
  351. package/dist/components/waka-video-overlay/index.d.ts +26 -0
  352. package/dist/components/waka-virtual-list/index.d.ts +54 -0
  353. package/dist/components/waka-voice-message/index.d.ts +117 -0
  354. package/dist/components/waka-welcome-modal/index.d.ts +120 -0
  355. package/dist/components/waka-xp-bar/index.d.ts +54 -0
  356. package/dist/context/admincrumb-context.d.ts +34 -0
  357. package/dist/context/index.d.ts +8 -0
  358. package/dist/context/language-context.d.ts +57 -0
  359. package/dist/context/theme-context.d.ts +39 -0
  360. package/dist/context/theme-provider.d.ts +74 -0
  361. package/dist/context/waka-provider.d.ts +50 -0
  362. package/dist/doc.cjs.js +1 -1
  363. package/dist/doc.d.ts +33 -1
  364. package/dist/doc.es.js +5 -4
  365. package/dist/editor.cjs.js +9 -9
  366. package/dist/editor.es.js +1934 -2016
  367. package/dist/exceljs.min-BQi0sACt.js +28 -0
  368. package/dist/{exceljs.min-DL1XYDll.mjs → exceljs.min-M0HhQgNK.mjs} +42 -33
  369. package/dist/export.cjs.js +1 -1
  370. package/dist/export.d.ts +30 -1
  371. package/dist/export.es.js +2 -1
  372. package/dist/hooks/index.d.ts +1 -0
  373. package/dist/hooks/use-toast.d.ts +44 -0
  374. package/dist/hooks/use-translation.d.ts +15 -0
  375. package/dist/hooks/useToast.d.ts +44 -0
  376. package/dist/index.cjs.js +96 -96
  377. package/dist/index.d.ts +38 -1
  378. package/dist/index.es.js +25926 -26088
  379. package/dist/input-B8pxqKEs.mjs +14 -0
  380. package/dist/input-vHHUMve1.js +1 -0
  381. package/dist/lib/i18n.d.ts +4 -0
  382. package/dist/rich-text.cjs.js +1 -1
  383. package/dist/rich-text.d.ts +21 -1
  384. package/dist/rich-text.es.js +2 -1
  385. package/dist/security-ClfRkelC.mjs +120 -0
  386. package/dist/security-DwyLk9h1.js +1 -0
  387. package/dist/{separator-ibN2mycs.mjs → separator-DDQs13_a.mjs} +19 -19
  388. package/dist/separator-DviMy-io.js +1 -0
  389. package/dist/src/blocks/login/index.d.ts +4 -4
  390. package/dist/src/blocks/waka-doc-shell/types.d.ts +3 -3
  391. package/dist/src/cli/utils/remote.d.ts +49 -0
  392. package/dist/src/components/calendar/index.d.ts +10 -0
  393. package/dist/src/components/card/index.d.ts +44 -6
  394. package/dist/src/components/editor/index.d.ts +14 -0
  395. package/dist/src/components/editor/waka-floating-toolbar.d.ts +6 -0
  396. package/dist/src/components/input/index.d.ts +14 -0
  397. package/dist/src/components/skeleton/index.d.ts +12 -1
  398. package/dist/src/components/table/index.d.ts +12 -1
  399. package/dist/src/components/textarea/index.d.ts +9 -0
  400. package/dist/src/components/waka-address-autocomplete/index.d.ts +5 -0
  401. package/dist/src/components/waka-admincrumb/index.d.ts +14 -0
  402. package/dist/src/components/waka-datetime-picker.form-integration/index.d.ts +4 -0
  403. package/dist/src/components/waka-doc-breadcrumb/index.d.ts +3 -3
  404. package/dist/src/components/waka-doc-search/index.d.ts +5 -0
  405. package/dist/src/components/waka-doc-toolbar/index.d.ts +5 -0
  406. package/dist/src/components/waka-dock/index.d.ts +5 -0
  407. package/dist/src/components/waka-haptic-button/index.d.ts +5 -0
  408. package/dist/src/components/waka-hotspot/index.d.ts +5 -0
  409. package/dist/src/components/waka-liquid-button/index.d.ts +5 -0
  410. package/dist/src/components/waka-magnetic-button/index.d.ts +5 -0
  411. package/dist/src/components/waka-modal/index.d.ts +5 -0
  412. package/dist/src/components/waka-tooltip-tour/index.d.ts +5 -0
  413. package/dist/src/components/waka-tour-guide/index.d.ts +5 -0
  414. package/dist/src/stories/editor/EditorStoryWrapper.d.ts +11 -0
  415. package/dist/textarea-C4AbqFOT.mjs +23 -0
  416. package/dist/textarea-jycisJkk.js +1 -0
  417. package/dist/types/index.d.ts +1 -0
  418. package/dist/types/link.d.ts +23 -0
  419. package/dist/types/provider.d.ts +108 -0
  420. package/dist/types-CUCT8Mwf.js +1 -0
  421. package/dist/{types-JnqoLyuv.mjs → types-DXkPQFit.mjs} +212 -214
  422. package/dist/{useDataTableImport-T7ddpN5k.js → useDataTableImport-DNU1m8NO.js} +3 -3
  423. package/dist/{useDataTableImport-BWUFesPi.mjs → useDataTableImport-z5avsB21.mjs} +4 -3
  424. package/dist/utils/cn.d.ts +1 -0
  425. package/dist/utils/datetime-helpers.d.ts +147 -0
  426. package/dist/utils/error-handling.d.ts +190 -0
  427. package/dist/utils/index.d.ts +6 -0
  428. package/dist/utils/logger.d.ts +9 -0
  429. package/dist/utils/security.d.ts +96 -0
  430. package/dist/utils/theme-loader.d.ts +101 -0
  431. package/dist/utils/tweak.d.ts +18 -0
  432. package/dist/waka-doc-renderer-22MUZbyl.js +3 -0
  433. package/dist/{waka-doc-renderer-Cw-Xnyen.mjs → waka-doc-renderer-BZ3DtCzv.mjs} +192 -176
  434. package/dist/waka-editor-plugins-DO4BF3o_.js +1 -0
  435. package/dist/{waka-editor-plugins-DR6tpsUC.mjs → waka-editor-plugins-_0WFrkKK.mjs} +3 -2
  436. package/dist/{waka-rich-text-editor-DgSWiXMW.mjs → waka-rich-text-editor-BbEpfD5b.mjs} +22 -18
  437. package/dist/waka-rich-text-editor-C4b30Ik-.js +1 -0
  438. package/package.json +84 -26
  439. package/src/blocks/activity-timeline/ActivityTimeline.mdx +117 -0
  440. package/src/blocks/activity-timeline/ActivityTimeline.stories.tsx +18 -1
  441. package/src/blocks/antivirus-dashboard/AntivirusDashboard.stories.tsx +8 -0
  442. package/src/blocks/antivirus-dashboard/index.tsx +14 -0
  443. package/src/blocks/apm-overview/APMOverview.stories.tsx +8 -0
  444. package/src/blocks/apm-overview/index.tsx +14 -0
  445. package/src/blocks/auth-2fa/Auth2FA.mdx +85 -0
  446. package/src/blocks/auth-2fa/Auth2FA.stories.tsx +8 -1
  447. package/src/blocks/calendar-view/CalendarView.mdx +101 -0
  448. package/src/blocks/calendar-view/CalendarView.stories.tsx +15 -1
  449. package/src/blocks/chat/Chat.mdx +121 -0
  450. package/src/blocks/chat/Chat.stories.tsx +45 -51
  451. package/src/blocks/chat-interface/ChatInterface.mdx +109 -0
  452. package/src/blocks/chat-interface/ChatInterface.stories.tsx +54 -65
  453. package/src/blocks/checkout-flow/CheckoutFlow.mdx +89 -0
  454. package/src/blocks/checkout-flow/CheckoutFlow.stories.tsx +9 -1
  455. package/src/blocks/cicd-builder/CICDBuilder.stories.tsx +8 -0
  456. package/src/blocks/cicd-builder/index.tsx +14 -0
  457. package/src/blocks/clamav-service-status/ClamAVServiceStatus.stories.tsx +8 -0
  458. package/src/blocks/clamav-service-status/index.tsx +14 -0
  459. package/src/blocks/cloud-cost-dashboard/CloudCostDashboard.stories.tsx +8 -0
  460. package/src/blocks/cloud-cost-dashboard/index.tsx +14 -0
  461. package/src/blocks/container-orchestrator/ContainerOrchestrator.stories.tsx +8 -0
  462. package/src/blocks/container-orchestrator/index.tsx +14 -0
  463. package/src/blocks/dashboard/Dashboard.mdx +105 -0
  464. package/src/blocks/dashboard/Dashboard.stories.tsx +14 -1
  465. package/src/blocks/dashboard-kpi/DashboardKPI.mdx +97 -0
  466. package/src/blocks/dashboard-kpi/DashboardKPI.stories.tsx +11 -1
  467. package/src/blocks/database-admin/DatabaseAdmin.stories.tsx +8 -0
  468. package/src/blocks/database-admin/index.tsx +14 -0
  469. package/src/blocks/deployment-dashboard/DeploymentDashboard.stories.tsx +8 -0
  470. package/src/blocks/deployment-dashboard/index.tsx +14 -0
  471. package/src/blocks/empty-states/EmptyStates.mdx +129 -0
  472. package/src/blocks/empty-states/EmptyStates.stories.tsx +15 -1
  473. package/src/blocks/error-pages/ErrorPages.mdx +129 -0
  474. package/src/blocks/error-pages/ErrorPages.stories.tsx +82 -100
  475. package/src/blocks/faq/FAQ.mdx +113 -0
  476. package/src/blocks/faq/FAQ.stories.tsx +16 -1
  477. package/src/blocks/file-manager/FileManager.mdx +105 -0
  478. package/src/blocks/file-manager/FileManager.stories.tsx +15 -1
  479. package/src/blocks/file-scan-uploader/FileScanUploader.stories.tsx +8 -0
  480. package/src/blocks/file-scan-uploader/index.tsx +14 -0
  481. package/src/blocks/footer/Footer.mdx +101 -0
  482. package/src/blocks/footer/Footer.stories.tsx +38 -46
  483. package/src/blocks/footer/index.tsx +4 -4
  484. package/src/blocks/gitops-sync-status/GitOpsSyncStatus.stories.tsx +8 -0
  485. package/src/blocks/gitops-sync-status/index.tsx +14 -0
  486. package/src/blocks/header/WakaHeader.mdx +97 -0
  487. package/src/blocks/header/WakaHeader.stories.tsx +12 -1
  488. package/src/blocks/headtab/Headtab.mdx +105 -0
  489. package/src/blocks/headtab/Headtab.stories.tsx +12 -1
  490. package/src/blocks/i18n-editor/I18nEditor.mdx +85 -0
  491. package/src/blocks/i18n-editor/I18nEditor.stories.tsx +8 -1
  492. package/src/blocks/incident-manager/IncidentManager.stories.tsx +8 -0
  493. package/src/blocks/incident-manager/index.tsx +14 -0
  494. package/src/blocks/infrastructure-map/InfrastructureMap.stories.tsx +8 -0
  495. package/src/blocks/infrastructure-map/index.tsx +14 -0
  496. package/src/blocks/kanban-board/KanbanBoard.stories.tsx +32 -37
  497. package/src/blocks/kanban-board/WakaKanbanBoard.mdx +93 -0
  498. package/src/blocks/landing/WakaLanding.mdx +85 -0
  499. package/src/blocks/landing/WakaLanding.stories.tsx +49 -57
  500. package/src/blocks/language-selector/LanguageSelector.mdx +89 -0
  501. package/src/blocks/language-selector/LanguageSelector.stories.tsx +12 -1
  502. package/src/blocks/layout/Layout.mdx +85 -0
  503. package/src/blocks/layout/Layout.stories.tsx +11 -1
  504. package/src/blocks/login/Login.mdx +105 -0
  505. package/src/blocks/login/Login.stories.tsx +11 -1
  506. package/src/blocks/login/index.tsx +14 -14
  507. package/src/blocks/on-call-schedule/OnCallSchedule.stories.tsx +8 -0
  508. package/src/blocks/on-call-schedule/index.tsx +14 -0
  509. package/src/blocks/player-profile/PlayerProfile.stories.tsx +8 -0
  510. package/src/blocks/player-profile/index.tsx +14 -0
  511. package/src/blocks/pricing/WakaPricing.mdx +101 -0
  512. package/src/blocks/pricing/WakaPricing.stories.tsx +27 -31
  513. package/src/blocks/profile/Profile.stories.tsx +15 -1
  514. package/src/blocks/profile/WakaProfile.mdx +109 -0
  515. package/src/blocks/profile/index.tsx +5 -6
  516. package/src/blocks/quarantine-manager/QuarantineManager.stories.tsx +8 -0
  517. package/src/blocks/quarantine-manager/index.tsx +14 -0
  518. package/src/blocks/release-notes/ReleaseNotes.mdx +101 -0
  519. package/src/blocks/release-notes/ReleaseNotes.stories.tsx +11 -1
  520. package/src/blocks/scan-history-log/ScanHistoryLog.stories.tsx +8 -0
  521. package/src/blocks/scan-history-log/index.tsx +14 -0
  522. package/src/blocks/scan-policy-editor/ScanPolicyEditor.stories.tsx +8 -0
  523. package/src/blocks/scan-policy-editor/index.tsx +14 -0
  524. package/src/blocks/scan-report-generator/ScanReportGenerator.stories.tsx +8 -0
  525. package/src/blocks/scan-report-generator/index.tsx +14 -0
  526. package/src/blocks/settings/Settings.stories.tsx +13 -1
  527. package/src/blocks/settings/WakaSettings.mdx +89 -0
  528. package/src/blocks/sidebar/WakaSidebar.mdx +101 -0
  529. package/src/blocks/sidebar/WakaSidebar.stories.tsx +12 -1
  530. package/src/blocks/sidebar/index.tsx +0 -2
  531. package/src/blocks/signature-database-manager/SignatureDatabaseManager.stories.tsx +8 -0
  532. package/src/blocks/signature-database-manager/index.tsx +14 -0
  533. package/src/blocks/theme-creator-block/ThemeCreatorBlock.stories.tsx +8 -0
  534. package/src/blocks/theme-creator-block/index.tsx +14 -0
  535. package/src/blocks/threat-alert-banner/ThreatAlertBanner.stories.tsx +8 -0
  536. package/src/blocks/threat-alert-banner/index.tsx +14 -0
  537. package/src/blocks/user-management/UserManagement.stories.tsx +13 -0
  538. package/src/blocks/user-management/index.tsx +14 -0
  539. package/src/blocks/waka-doc-shell/WakaDocShell.mdx +61 -0
  540. package/src/blocks/waka-doc-shell/WakaDocShell.stories.tsx +21 -24
  541. package/src/blocks/waka-doc-shell/types.ts +3 -3
  542. package/src/blocks/wizard/WakaWizard.mdx +117 -0
  543. package/src/blocks/wizard/Wizard.stories.tsx +19 -1
  544. package/src/components/DataTable/DataTable.mdx +87 -0
  545. package/src/components/DataTable/DataTable.stories.tsx +0 -1
  546. package/src/components/MDX_DOCS_GUIDELINE.md +69 -0
  547. package/src/components/accordion/Accordion.mdx +73 -0
  548. package/src/components/accordion/Accordion.stories.tsx +83 -1
  549. package/src/components/alert/Alert.mdx +85 -0
  550. package/src/components/alert/Alert.stories.tsx +78 -7
  551. package/src/components/alert-dialog/AlertDialog.mdx +77 -0
  552. package/src/components/alert-dialog/AlertDialog.stories.tsx +81 -4
  553. package/src/components/aspect-ratio/AspectRatio.mdx +81 -0
  554. package/src/components/aspect-ratio/AspectRatio.stories.tsx +53 -1
  555. package/src/components/avatar/Avatar.mdx +81 -0
  556. package/src/components/avatar/Avatar.stories.tsx +83 -4
  557. package/src/components/badge/Badge.mdx +85 -0
  558. package/src/components/badge/Badge.stories.tsx +106 -5
  559. package/src/components/button/Button.mdx +85 -0
  560. package/src/components/button/Button.stories.tsx +0 -1
  561. package/src/components/calendar/Calendar.mdx +81 -0
  562. package/src/components/calendar/Calendar.stories.tsx +73 -1
  563. package/src/components/calendar/index.tsx +10 -0
  564. package/src/components/card/Card.mdx +85 -0
  565. package/src/components/card/Card.stories.tsx +147 -6
  566. package/src/components/card/index.tsx +51 -24
  567. package/src/components/checkbox/Checkbox.mdx +77 -0
  568. package/src/components/checkbox/Checkbox.stories.tsx +75 -1
  569. package/src/components/code/Code.mdx +103 -0
  570. package/src/components/code/Code.stories.tsx +16 -1
  571. package/src/components/collapsible/Collapsible.mdx +73 -0
  572. package/src/components/collapsible/Collapsible.stories.tsx +86 -1
  573. package/src/components/command/Command.mdx +77 -0
  574. package/src/components/command/Command.stories.tsx +100 -6
  575. package/src/components/context-menu/ContextMenu.mdx +77 -0
  576. package/src/components/context-menu/ContextMenu.stories.tsx +35 -1
  577. package/src/components/dialog/Dialog.mdx +81 -0
  578. package/src/components/dialog/Dialog.stories.tsx +139 -4
  579. package/src/components/dropdown-menu/DropdownMenu.mdx +77 -0
  580. package/src/components/dropdown-menu/DropdownMenu.stories.tsx +62 -3
  581. package/src/components/editor/blocks/waka-slash-menu-block.tsx +39 -74
  582. package/src/components/editor/index.ts +14 -0
  583. package/src/components/editor/waka-dnd-editor.tsx +1 -1
  584. package/src/components/editor/waka-document-editor.tsx +1 -1
  585. package/src/components/editor/waka-editor-plugins.ts +1 -1
  586. package/src/components/editor/waka-floating-toolbar.tsx +116 -58
  587. package/src/components/error-boundary/ErrorBoundary.mdx +61 -0
  588. package/src/components/error-boundary/ErrorBoundary.stories.tsx +1 -2
  589. package/src/components/form/Form.mdx +77 -0
  590. package/src/components/form/Form.stories.tsx +166 -1
  591. package/src/components/hover-card/HoverCard.mdx +77 -0
  592. package/src/components/hover-card/HoverCard.stories.tsx +101 -4
  593. package/src/components/input/Input.mdx +77 -0
  594. package/src/components/input/Input.stories.tsx +4 -3
  595. package/src/components/input/index.tsx +16 -1
  596. package/src/components/input-otp/InputOTP.mdx +91 -0
  597. package/src/components/input-otp/InputOTP.stories.tsx +6 -4
  598. package/src/components/label/Label.mdx +81 -0
  599. package/src/components/label/Label.stories.tsx +41 -1
  600. package/src/components/language-selector/LanguageSelector.mdx +73 -0
  601. package/src/components/language-selector/LanguageSelector.stories.tsx +0 -1
  602. package/src/components/menubar/Menubar.mdx +77 -0
  603. package/src/components/menubar/Menubar.stories.tsx +76 -1
  604. package/src/components/navigation-menu/NavigationMenu.mdx +73 -0
  605. package/src/components/navigation-menu/NavigationMenu.stories.tsx +98 -1
  606. package/src/components/popover/Popover.mdx +81 -0
  607. package/src/components/popover/Popover.stories.tsx +110 -4
  608. package/src/components/progress/Progress.mdx +81 -0
  609. package/src/components/progress/Progress.stories.tsx +53 -2
  610. package/src/components/progress/index.tsx +1 -0
  611. package/src/components/radio-group/RadioGroup.mdx +77 -0
  612. package/src/components/radio-group/RadioGroup.stories.tsx +54 -1
  613. package/src/components/scroll-area/ScrollArea.mdx +77 -0
  614. package/src/components/scroll-area/ScrollArea.stories.tsx +57 -1
  615. package/src/components/select/Select.mdx +81 -0
  616. package/src/components/select/Select.stories.tsx +100 -4
  617. package/src/components/separator/Separator.mdx +81 -0
  618. package/src/components/separator/Separator.stories.tsx +45 -1
  619. package/src/components/sheet/Sheet.mdx +73 -0
  620. package/src/components/sheet/Sheet.stories.tsx +97 -4
  621. package/src/components/skeleton/Skeleton.mdx +77 -0
  622. package/src/components/skeleton/Skeleton.stories.tsx +0 -1
  623. package/src/components/skeleton/index.tsx +13 -4
  624. package/src/components/slider/Slider.mdx +73 -0
  625. package/src/components/slider/Slider.stories.tsx +10 -11
  626. package/src/components/slider/index.tsx +30 -15
  627. package/src/components/switch/Switch.mdx +81 -0
  628. package/src/components/switch/Switch.stories.tsx +66 -7
  629. package/src/components/table/Table.mdx +77 -0
  630. package/src/components/table/Table.stories.tsx +107 -6
  631. package/src/components/table/index.tsx +13 -4
  632. package/src/components/tabs/Tabs.mdx +81 -0
  633. package/src/components/tabs/Tabs.stories.tsx +156 -7
  634. package/src/components/textarea/Textarea.mdx +77 -0
  635. package/src/components/textarea/Textarea.stories.tsx +9 -10
  636. package/src/components/textarea/index.tsx +11 -1
  637. package/src/components/theme-selector/ThemeSelector.mdx +67 -0
  638. package/src/components/theme-selector/ThemeSelector.stories.tsx +0 -1
  639. package/src/components/toast/Toast.mdx +77 -0
  640. package/src/components/toast/Toast.stories.tsx +62 -1
  641. package/src/components/toaster/Toaster.mdx +57 -0
  642. package/src/components/toaster/Toaster.stories.tsx +1 -2
  643. package/src/components/toggle/Toggle.mdx +77 -0
  644. package/src/components/toggle/Toggle.stories.tsx +0 -1
  645. package/src/components/tooltip/Tooltip.mdx +81 -0
  646. package/src/components/tooltip/Tooltip.stories.tsx +48 -1
  647. package/src/components/typography/Typography.mdx +97 -0
  648. package/src/components/typography/Typography.stories.tsx +0 -1
  649. package/src/components/waka-3d-pie-chart/Waka3DPieChart.stories.tsx +24 -14
  650. package/src/components/waka-3d-pie-chart/index.tsx +17 -2
  651. package/src/components/waka-achievement-unlock/WakaAchievementUnlock.stories.tsx +9 -10
  652. package/src/components/waka-achievement-unlock/index.tsx +14 -0
  653. package/src/components/waka-activity-feed/index.tsx +14 -0
  654. package/src/components/waka-ad-banner/WakaAdBanner.stories.tsx +1 -1
  655. package/src/components/waka-ad-banner/index.tsx +14 -0
  656. package/src/components/waka-ad-fallback/index.tsx +14 -0
  657. package/src/components/waka-ad-inline/index.tsx +14 -0
  658. package/src/components/waka-ad-interstitial/index.tsx +14 -0
  659. package/src/components/waka-ad-placeholder/index.tsx +14 -0
  660. package/src/components/waka-ad-provider/index.tsx +15 -1
  661. package/src/components/waka-ad-sidebar/index.tsx +14 -0
  662. package/src/components/waka-ad-sticky-footer/index.tsx +14 -0
  663. package/src/components/waka-address-autocomplete/WakaAddressAutocomplete.mdx +63 -0
  664. package/src/components/waka-address-autocomplete/WakaAddressAutocomplete.stories.tsx +0 -1
  665. package/src/components/waka-address-autocomplete/index.tsx +5 -0
  666. package/src/components/waka-admincrumb/WakaAdmincrumb.stories.tsx +52 -30
  667. package/src/components/waka-admincrumb/index.tsx +14 -0
  668. package/src/components/waka-alert-panel/index.tsx +14 -0
  669. package/src/components/waka-alert-stack/index.tsx +14 -0
  670. package/src/components/waka-allocation-matrix/index.tsx +23 -0
  671. package/src/components/waka-approval-chain/WakaApprovalChain.stories.tsx +15 -17
  672. package/src/components/waka-approval-chain/index.tsx +14 -0
  673. package/src/components/waka-artifact-list/index.tsx +14 -0
  674. package/src/components/waka-audit-log/index.tsx +28 -0
  675. package/src/components/waka-autocomplete/WakaAutocomplete.mdx +83 -0
  676. package/src/components/waka-autocomplete/WakaAutocomplete.stories.tsx +0 -1
  677. package/src/components/waka-badge-showcase/index.tsx +14 -0
  678. package/src/components/waka-barcode/WakaBarcode.mdx +93 -0
  679. package/src/components/waka-barcode/WakaBarcode.stories.tsx +13 -1
  680. package/src/components/waka-biometric-prompt/index.tsx +14 -0
  681. package/src/components/waka-bottom-sheet/WakaBottomSheet.mdx +77 -0
  682. package/src/components/waka-bottom-sheet/WakaBottomSheet.stories.tsx +0 -1
  683. package/src/components/waka-breadcrumb/WakaBreadcrumb.mdx +77 -0
  684. package/src/components/waka-breadcrumb/WakaBreadcrumb.stories.tsx +0 -1
  685. package/src/components/waka-breadcrumb-path/WakaBreadcrumbPath.mdx +63 -0
  686. package/src/components/waka-breadcrumb-path/WakaBreadcrumbPath.stories.tsx +0 -1
  687. package/src/components/waka-budget-burn/index.tsx +15 -1
  688. package/src/components/waka-build-matrix/index.tsx +14 -0
  689. package/src/components/waka-capacity-planner/index.tsx +18 -1
  690. package/src/components/waka-carousel/WakaCarousel.mdx +101 -0
  691. package/src/components/waka-carousel/WakaCarousel.stories.tsx +16 -1
  692. package/src/components/waka-cart-summary/index.tsx +14 -0
  693. package/src/components/waka-challenge-timer/index.tsx +14 -0
  694. package/src/components/waka-charts/WakaAreaChart.stories.tsx +116 -0
  695. package/src/components/waka-charts/WakaBarChart.stories.tsx +137 -0
  696. package/src/components/waka-charts/WakaChart.stories.tsx +135 -0
  697. package/src/components/waka-charts/WakaCharts.mdx +137 -0
  698. package/src/components/waka-charts/WakaCharts.stories.tsx +0 -1
  699. package/src/components/waka-charts/WakaLineChart.stories.tsx +135 -0
  700. package/src/components/waka-charts/WakaMiniChart.stories.tsx +101 -0
  701. package/src/components/waka-charts/WakaPieChart.stories.tsx +114 -0
  702. package/src/components/waka-charts/WakaSparkline.stories.tsx +99 -0
  703. package/src/components/waka-chat-bubble/WakaChatBubble.mdx +69 -0
  704. package/src/components/waka-chat-bubble/WakaChatBubble.stories.tsx +0 -15
  705. package/src/components/waka-checklist/WakaChecklist.mdx +65 -0
  706. package/src/components/waka-checklist/WakaChecklist.stories.tsx +0 -1
  707. package/src/components/waka-checkout-stepper/index.tsx +14 -0
  708. package/src/components/waka-cohort-table/WakaCohortTable.mdx +65 -0
  709. package/src/components/waka-cohort-table/WakaCohortTable.stories.tsx +4 -7
  710. package/src/components/waka-color-picker/WakaColorPicker.mdx +85 -0
  711. package/src/components/waka-color-picker/WakaColorPicker.stories.tsx +0 -1
  712. package/src/components/waka-combo-counter/WakaComboCounter.stories.tsx +1 -1
  713. package/src/components/waka-combo-counter/index.tsx +14 -0
  714. package/src/components/waka-combobox/WakaCombobox.mdx +85 -0
  715. package/src/components/waka-combobox/WakaCombobox.stories.tsx +15 -1
  716. package/src/components/waka-command-bar/WakaCommandBar.mdx +57 -0
  717. package/src/components/waka-command-bar/WakaCommandBar.stories.tsx +2 -6
  718. package/src/components/waka-compare-period/WakaComparePeriod.mdx +65 -0
  719. package/src/components/waka-compare-period/WakaComparePeriod.stories.tsx +35 -20
  720. package/src/components/waka-config-comparator/WakaConfigComparator.mdx +73 -0
  721. package/src/components/waka-config-comparator/WakaConfigComparator.stories.tsx +0 -1
  722. package/src/components/waka-connection-matrix/WakaConnectionMatrix.mdx +61 -0
  723. package/src/components/waka-connection-matrix/WakaConnectionMatrix.stories.tsx +0 -1
  724. package/src/components/waka-container-list/index.tsx +14 -0
  725. package/src/components/waka-content-recommendation/WakaContentRecommendation.stories.tsx +18 -5
  726. package/src/components/waka-content-recommendation/index.tsx +14 -0
  727. package/src/components/waka-contribution-graph/WakaContributionGraph.mdx +101 -0
  728. package/src/components/waka-contribution-graph/WakaContributionGraph.stories.tsx +38 -44
  729. package/src/components/waka-cost-breakdown/WakaCostBreakdown.mdx +101 -0
  730. package/src/components/waka-cost-breakdown/WakaCostBreakdown.stories.tsx +43 -51
  731. package/src/components/waka-coupon-input/WakaCouponInput.mdx +69 -0
  732. package/src/components/waka-coupon-input/WakaCouponInput.stories.tsx +0 -1
  733. package/src/components/waka-credit-activity-feed/WakaCreditActivityFeed.mdx +77 -0
  734. package/src/components/waka-credit-activity-feed/WakaCreditActivityFeed.stories.tsx +15 -1
  735. package/src/components/waka-credit-alert/WakaCreditAlert.mdx +73 -0
  736. package/src/components/waka-credit-alert/WakaCreditAlert.stories.tsx +16 -1
  737. package/src/components/waka-credit-balance/WakaCreditBalance.mdx +81 -0
  738. package/src/components/waka-credit-balance/WakaCreditBalance.stories.tsx +15 -1
  739. package/src/components/waka-credit-breakdown/WakaCreditBreakdown.mdx +73 -0
  740. package/src/components/waka-credit-breakdown/WakaCreditBreakdown.stories.tsx +15 -1
  741. package/src/components/waka-credit-burn-rate/WakaCreditBurnRate.mdx +73 -0
  742. package/src/components/waka-credit-burn-rate/WakaCreditBurnRate.stories.tsx +17 -1
  743. package/src/components/waka-credit-card-input/WakaCreditCardInput.mdx +73 -0
  744. package/src/components/waka-credit-card-input/WakaCreditCardInput.stories.tsx +0 -1
  745. package/src/components/waka-credit-history/WakaCreditHistory.mdx +85 -0
  746. package/src/components/waka-credit-history/WakaCreditHistory.stories.tsx +14 -1
  747. package/src/components/waka-credit-meter/WakaCreditMeter.mdx +81 -0
  748. package/src/components/waka-credit-meter/WakaCreditMeter.stories.tsx +14 -17
  749. package/src/components/waka-credit-pricing-pack/WakaCreditPricingPack.mdx +69 -0
  750. package/src/components/waka-credit-pricing-pack/WakaCreditPricingPack.stories.tsx +13 -1
  751. package/src/components/waka-credit-projection/WakaCreditProjection.mdx +69 -0
  752. package/src/components/waka-credit-projection/WakaCreditProjection.stories.tsx +14 -1
  753. package/src/components/waka-credit-quota/WakaCreditQuota.mdx +73 -0
  754. package/src/components/waka-credit-quota/WakaCreditQuota.stories.tsx +16 -1
  755. package/src/components/waka-credit-receipt/WakaCreditReceipt.mdx +65 -0
  756. package/src/components/waka-credit-receipt/WakaCreditReceipt.stories.tsx +11 -1
  757. package/src/components/waka-credit-top-up/WakaCreditTopUp.mdx +69 -0
  758. package/src/components/waka-credit-top-up/WakaCreditTopUp.stories.tsx +9 -11
  759. package/src/components/waka-credit-transaction/WakaCreditTransaction.mdx +85 -0
  760. package/src/components/waka-credit-transaction/WakaCreditTransaction.stories.tsx +13 -1
  761. package/src/components/waka-credit-transfer-form/WakaCreditTransferForm.mdx +65 -0
  762. package/src/components/waka-credit-transfer-form/WakaCreditTransferForm.stories.tsx +12 -1
  763. package/src/components/waka-credit-usage-chart/WakaCreditUsageChart.mdx +73 -0
  764. package/src/components/waka-credit-usage-chart/WakaCreditUsageChart.stories.tsx +8 -10
  765. package/src/components/waka-daily-reward/WakaDailyReward.stories.tsx +7 -9
  766. package/src/components/waka-daily-reward/index.tsx +16 -0
  767. package/src/components/waka-database-card/index.tsx +14 -0
  768. package/src/components/waka-date-range-picker/WakaDateRangePicker.mdx +97 -0
  769. package/src/components/waka-date-range-picker/WakaDateRangePicker.stories.tsx +15 -1
  770. package/src/components/waka-datetime-picker/WakaDateTimePicker.mdx +109 -0
  771. package/src/components/waka-datetime-picker/WakaDateTimePicker.stories.tsx +15 -1
  772. package/src/components/waka-datetime-picker.form-integration/index.tsx +7 -3
  773. package/src/components/waka-dependency-tree/index.tsx +14 -0
  774. package/src/components/waka-deployment-lane/WakaDeploymentLane.stories.tsx +17 -20
  775. package/src/components/waka-deployment-lane/index.tsx +17 -0
  776. package/src/components/waka-device-trust/index.tsx +14 -0
  777. package/src/components/waka-doc-breadcrumb/WakaDocBreadcrumb.mdx +61 -0
  778. package/src/components/waka-doc-breadcrumb/WakaDocBreadcrumb.stories.tsx +12 -10
  779. package/src/components/waka-doc-breadcrumb/index.tsx +3 -3
  780. package/src/components/waka-doc-callout/WakaDocCallout.mdx +61 -0
  781. package/src/components/waka-doc-callout/WakaDocCallout.stories.tsx +17 -6
  782. package/src/components/waka-doc-code-block/WakaDocCodeBlock.mdx +81 -0
  783. package/src/components/waka-doc-code-block/WakaDocCodeBlock.stories.tsx +56 -1
  784. package/src/components/waka-doc-nav/WakaDocNav.mdx +73 -0
  785. package/src/components/waka-doc-nav/WakaDocNav.stories.tsx +82 -1
  786. package/src/components/waka-doc-nav/index.tsx +26 -16
  787. package/src/components/waka-doc-renderer/WakaDocRenderer.mdx +73 -0
  788. package/src/components/waka-doc-renderer/WakaDocRenderer.stories.tsx +73 -1
  789. package/src/components/waka-doc-search/WakaDocSearch.mdx +75 -0
  790. package/src/components/waka-doc-search/WakaDocSearch.stories.tsx +80 -1
  791. package/src/components/waka-doc-search/index.tsx +6 -0
  792. package/src/components/waka-doc-table/WakaDocTable.mdx +73 -0
  793. package/src/components/waka-doc-table/WakaDocTable.stories.tsx +128 -1
  794. package/src/components/waka-doc-toc/WakaDocToc.mdx +73 -0
  795. package/src/components/waka-doc-toc/WakaDocToc.stories.tsx +84 -10
  796. package/src/components/waka-doc-toolbar/WakaDocToolbar.mdx +75 -0
  797. package/src/components/waka-doc-toolbar/WakaDocToolbar.stories.tsx +13 -1
  798. package/src/components/waka-doc-toolbar/index.tsx +5 -0
  799. package/src/components/waka-doc-version/WakaDocVersion.mdx +73 -0
  800. package/src/components/waka-doc-version/WakaDocVersion.stories.tsx +86 -1
  801. package/src/components/waka-dock/WakaDock.mdx +95 -0
  802. package/src/components/waka-dock/WakaDock.stories.tsx +14 -1
  803. package/src/components/waka-dock/index.tsx +6 -0
  804. package/src/components/waka-drawer/WakaDrawer.mdx +85 -0
  805. package/src/components/waka-drawer/WakaDrawer.stories.tsx +0 -1
  806. package/src/components/waka-empty-state/WakaEmptyState.mdx +69 -0
  807. package/src/components/waka-empty-state/WakaEmptyState.stories.tsx +0 -1
  808. package/src/components/waka-env-var-editor/index.tsx +14 -0
  809. package/src/components/waka-error-shake/WakaErrorShake.mdx +89 -0
  810. package/src/components/waka-error-shake/WakaErrorShake.stories.tsx +0 -1
  811. package/src/components/waka-feature-announcement/WakaFeatureAnnouncement.mdx +61 -0
  812. package/src/components/waka-feature-announcement/WakaFeatureAnnouncement.stories.tsx +0 -1
  813. package/src/components/waka-feature-flag-row/index.tsx +14 -0
  814. package/src/components/waka-file-upload/WakaFileUpload.mdx +81 -0
  815. package/src/components/waka-file-upload/WakaFileUpload.stories.tsx +0 -1
  816. package/src/components/waka-floating-nav/WakaFloatingNav.mdx +61 -0
  817. package/src/components/waka-floating-nav/WakaFloatingNav.stories.tsx +0 -1
  818. package/src/components/waka-flow-diagram/index.tsx +3 -1
  819. package/src/components/waka-funnel-chart/WakaFunnelChart.mdx +97 -0
  820. package/src/components/waka-funnel-chart/WakaFunnelChart.stories.tsx +20 -13
  821. package/src/components/waka-funnel-chart/index.tsx +1 -1
  822. package/src/components/waka-glow-card/WakaGlowCard.mdx +93 -0
  823. package/src/components/waka-glow-card/WakaGlowCard.stories.tsx +0 -1
  824. package/src/components/waka-goal-progress/WakaGoalProgress.mdx +69 -0
  825. package/src/components/waka-goal-progress/WakaGoalProgress.stories.tsx +0 -1
  826. package/src/components/waka-haptic-button/WakaHapticButton.mdx +127 -0
  827. package/src/components/waka-haptic-button/WakaHapticButton.stories.tsx +0 -1
  828. package/src/components/waka-haptic-button/index.tsx +5 -0
  829. package/src/components/waka-health-pulse/WakaHealthPulse.mdx +89 -0
  830. package/src/components/waka-health-pulse/WakaHealthPulse.stories.tsx +27 -30
  831. package/src/components/waka-heatmap/WakaHeatmap.mdx +101 -0
  832. package/src/components/waka-heatmap/WakaHeatmap.stories.tsx +23 -27
  833. package/src/components/waka-heatmap/index.tsx +6 -1
  834. package/src/components/waka-hotspot/WakaHotspot.mdx +67 -0
  835. package/src/components/waka-hotspot/WakaHotspot.stories.tsx +0 -1
  836. package/src/components/waka-hotspot/index.tsx +5 -0
  837. package/src/components/waka-image/WakaImage.mdx +93 -0
  838. package/src/components/waka-image/WakaImage.stories.tsx +6 -4
  839. package/src/components/waka-incident-timeline/WakaIncidentTimeline.mdx +93 -0
  840. package/src/components/waka-incident-timeline/WakaIncidentTimeline.stories.tsx +0 -1
  841. package/src/components/waka-invoice-preview/WakaInvoicePreview.mdx +69 -0
  842. package/src/components/waka-invoice-preview/WakaInvoicePreview.stories.tsx +55 -75
  843. package/src/components/waka-kubernetes-overview/index.tsx +14 -0
  844. package/src/components/waka-leaderboard/WakaLeaderboard.mdx +101 -0
  845. package/src/components/waka-leaderboard/WakaLeaderboard.stories.tsx +0 -1
  846. package/src/components/waka-level-progress/WakaLevelProgress.mdx +85 -0
  847. package/src/components/waka-level-progress/WakaLevelProgress.stories.tsx +0 -1
  848. package/src/components/waka-liquid-button/WakaLiquidButton.mdx +71 -0
  849. package/src/components/waka-liquid-button/WakaLiquidButton.stories.tsx +0 -1
  850. package/src/components/waka-liquid-button/index.tsx +5 -0
  851. package/src/components/waka-loading-orbit/WakaLoadingOrbit.mdx +113 -0
  852. package/src/components/waka-loading-orbit/WakaLoadingOrbit.stories.tsx +0 -1
  853. package/src/components/waka-loading-orbit/index.tsx +1 -1
  854. package/src/components/waka-log-viewer/index.tsx +14 -0
  855. package/src/components/waka-loot-box/index.tsx +20 -0
  856. package/src/components/waka-magic-link/WakaMagicLink.mdx +61 -0
  857. package/src/components/waka-magic-link/WakaMagicLink.stories.tsx +0 -1
  858. package/src/components/waka-magnetic-button/WakaMagneticButton.mdx +67 -0
  859. package/src/components/waka-magnetic-button/WakaMagneticButton.stories.tsx +0 -1
  860. package/src/components/waka-magnetic-button/index.tsx +5 -0
  861. package/src/components/waka-mention-input/WakaMentionInput.mdx +65 -0
  862. package/src/components/waka-mention-input/WakaMentionInput.stories.tsx +1 -3
  863. package/src/components/waka-metric-sparkline/WakaMetricSparkline.mdx +105 -0
  864. package/src/components/waka-metric-sparkline/WakaMetricSparkline.stories.tsx +27 -18
  865. package/src/components/waka-metric-sparkline/index.tsx +3 -3
  866. package/src/components/waka-migration-list/index.tsx +14 -0
  867. package/src/components/waka-milestone-road/index.tsx +15 -1
  868. package/src/components/waka-modal/WakaModal.mdx +95 -0
  869. package/src/components/waka-modal/WakaModal.stories.tsx +0 -1
  870. package/src/components/waka-modal/index.tsx +5 -0
  871. package/src/components/waka-morph-button/WakaMorphButton.mdx +105 -0
  872. package/src/components/waka-morph-button/WakaMorphButton.stories.tsx +0 -1
  873. package/src/components/waka-network-topology/index.tsx +14 -0
  874. package/src/components/waka-notifications/WakaNotifications.mdx +77 -0
  875. package/src/components/waka-notifications/WakaNotifications.stories.tsx +0 -1
  876. package/src/components/waka-number-input/WakaNumberInput.mdx +97 -0
  877. package/src/components/waka-number-input/WakaNumberInput.stories.tsx +14 -1
  878. package/src/components/waka-orbital-menu/index.tsx +21 -3
  879. package/src/components/waka-order-tracker/WakaOrderTracker.stories.tsx +64 -39
  880. package/src/components/waka-order-tracker/index.tsx +14 -0
  881. package/src/components/waka-outstream-video/index.tsx +17 -0
  882. package/src/components/waka-pagination/WakaPagination.mdx +81 -0
  883. package/src/components/waka-pagination/WakaPagination.stories.tsx +0 -1
  884. package/src/components/waka-password-strength/WakaPasswordStrength.mdx +81 -0
  885. package/src/components/waka-password-strength/WakaPasswordStrength.stories.tsx +11 -35
  886. package/src/components/waka-payment-method-picker/index.tsx +14 -0
  887. package/src/components/waka-permission-matrix/index.tsx +28 -0
  888. package/src/components/waka-phone-input/WakaPhoneInput.mdx +65 -0
  889. package/src/components/waka-phone-input/WakaPhoneInput.stories.tsx +0 -1
  890. package/src/components/waka-pipeline-view/WakaPipelineView.stories.tsx +27 -32
  891. package/src/components/waka-pipeline-view/index.tsx +14 -0
  892. package/src/components/waka-player-card/WakaPlayerCard.stories.tsx +0 -3
  893. package/src/components/waka-player-card/index.tsx +17 -3
  894. package/src/components/waka-pod-card/index.tsx +14 -0
  895. package/src/components/waka-points-popup/WakaPointsPopup.stories.tsx +1 -1
  896. package/src/components/waka-points-popup/index.tsx +14 -0
  897. package/src/components/waka-power-up/index.tsx +14 -0
  898. package/src/components/waka-presence-indicator/WakaPresenceIndicator.mdx +73 -0
  899. package/src/components/waka-presence-indicator/WakaPresenceIndicator.stories.tsx +0 -1
  900. package/src/components/waka-pricing-table/WakaPricingTable.mdx +69 -0
  901. package/src/components/waka-pricing-table/WakaPricingTable.stories.tsx +0 -1
  902. package/src/components/waka-product-card/WakaProductCard.stories.tsx +0 -8
  903. package/src/components/waka-product-card/index.tsx +14 -0
  904. package/src/components/waka-progress-onboarding/WakaProgressOnboarding.mdx +69 -0
  905. package/src/components/waka-progress-onboarding/WakaProgressOnboarding.stories.tsx +50 -18
  906. package/src/components/waka-pull-to-refresh/WakaPullToRefresh.stories.tsx +3 -4
  907. package/src/components/waka-pull-to-refresh/index.tsx +16 -2
  908. package/src/components/waka-qrcode/WakaQRCode.mdx +91 -0
  909. package/src/components/waka-qrcode/WakaQRCode.stories.tsx +7 -5
  910. package/src/components/waka-query-explain/index.tsx +14 -0
  911. package/src/components/waka-quest-card/index.tsx +14 -0
  912. package/src/components/waka-quota-bar/WakaQuotaBar.mdx +105 -0
  913. package/src/components/waka-quota-bar/WakaQuotaBar.stories.tsx +0 -1
  914. package/src/components/waka-radar-score/WakaRadarScore.stories.tsx +41 -43
  915. package/src/components/waka-radar-score/index.tsx +16 -1
  916. package/src/components/waka-rank-badge/index.tsx +15 -1
  917. package/src/components/waka-rating-input/WakaRatingInput.mdx +73 -0
  918. package/src/components/waka-rating-input/WakaRatingInput.stories.tsx +0 -1
  919. package/src/components/waka-reaction-picker/index.tsx +14 -0
  920. package/src/components/waka-region-map/index.tsx +14 -0
  921. package/src/components/waka-resource-gauge/WakaResourceGauge.mdx +117 -0
  922. package/src/components/waka-resource-gauge/WakaResourceGauge.stories.tsx +31 -25
  923. package/src/components/waka-resource-gauge/index.tsx +2 -2
  924. package/src/components/waka-resource-pool/WakaResourcePool.mdx +65 -0
  925. package/src/components/waka-resource-pool/WakaResourcePool.stories.tsx +0 -1
  926. package/src/components/waka-resource-pool/index.tsx +3 -1
  927. package/src/components/waka-rich-text-editor/WakaRichTextEditor.mdx +77 -0
  928. package/src/components/waka-rich-text-editor/WakaRichTextEditor.stories.tsx +0 -1
  929. package/src/components/waka-rollback-slider/index.tsx +14 -0
  930. package/src/components/waka-sankey-diagram/WakaSankeyDiagram.stories.tsx +32 -36
  931. package/src/components/waka-sankey-diagram/index.tsx +15 -1
  932. package/src/components/waka-schedule-picker/WakaSchedulePicker.mdx +69 -0
  933. package/src/components/waka-schedule-picker/WakaSchedulePicker.stories.tsx +0 -1
  934. package/src/components/waka-scratch-card/WakaScratchCard.stories.tsx +6 -7
  935. package/src/components/waka-scratch-card/index.tsx +15 -1
  936. package/src/components/waka-season-pass/index.tsx +17 -0
  937. package/src/components/waka-secret-card/WakaSecretCard.mdx +93 -0
  938. package/src/components/waka-secret-card/WakaSecretCard.stories.tsx +0 -1
  939. package/src/components/waka-security-scan-result/index.tsx +26 -3
  940. package/src/components/waka-security-score/index.tsx +14 -0
  941. package/src/components/waka-segmented-control/WakaSegmentedControl.mdx +93 -0
  942. package/src/components/waka-segmented-control/WakaSegmentedControl.stories.tsx +0 -1
  943. package/src/components/waka-server-rack/WakaServerRack.stories.tsx +1 -1
  944. package/src/components/waka-server-rack/index.tsx +14 -0
  945. package/src/components/waka-service-graph/index.tsx +15 -1
  946. package/src/components/waka-session-manager/WakaSessionManager.mdx +65 -0
  947. package/src/components/waka-session-manager/WakaSessionManager.stories.tsx +57 -23
  948. package/src/components/waka-signature-pad/WakaSignaturePad.mdx +89 -0
  949. package/src/components/waka-signature-pad/WakaSignaturePad.stories.tsx +0 -1
  950. package/src/components/waka-signature-pad/index.tsx +1 -1
  951. package/src/components/waka-skeleton-wave/WakaSkeletonWave.mdx +113 -0
  952. package/src/components/waka-skeleton-wave/WakaSkeletonWave.stories.tsx +0 -1
  953. package/src/components/waka-skill-tree/index.tsx +18 -1
  954. package/src/components/waka-slider-range/WakaSliderRange.mdx +69 -0
  955. package/src/components/waka-slider-range/WakaSliderRange.stories.tsx +0 -1
  956. package/src/components/waka-spin-wheel/WakaSpinWheel.stories.tsx +17 -16
  957. package/src/components/waka-spin-wheel/index.tsx +14 -0
  958. package/src/components/waka-spinner/WakaSpinner.stories.tsx +3 -2
  959. package/src/components/waka-spinner/index.tsx +14 -0
  960. package/src/components/waka-sponsored-badge/WakaSponsoredBadge.mdx +81 -0
  961. package/src/components/waka-sponsored-badge/WakaSponsoredBadge.stories.tsx +0 -1
  962. package/src/components/waka-sponsored-card/WakaSponsoredCard.mdx +69 -0
  963. package/src/components/waka-sponsored-card/WakaSponsoredCard.stories.tsx +8 -1
  964. package/src/components/waka-sponsored-feed/WakaSponsoredFeed.mdx +65 -0
  965. package/src/components/waka-sponsored-feed/WakaSponsoredFeed.stories.tsx +8 -1
  966. package/src/components/waka-spotlight/WakaSpotlight.mdx +61 -0
  967. package/src/components/waka-spotlight/WakaSpotlight.stories.tsx +0 -1
  968. package/src/components/waka-stat/WakaStat.mdx +89 -0
  969. package/src/components/waka-stat/WakaStat.stories.tsx +7 -7
  970. package/src/components/waka-stats-hexagon/index.tsx +16 -1
  971. package/src/components/waka-status-matrix/WakaStatusMatrix.mdx +97 -0
  972. package/src/components/waka-status-matrix/WakaStatusMatrix.stories.tsx +12 -7
  973. package/src/components/waka-stepper/WakaStepper.mdx +89 -0
  974. package/src/components/waka-stepper/WakaStepper.stories.tsx +0 -1
  975. package/src/components/waka-streak-counter/WakaStreakCounter.stories.tsx +35 -30
  976. package/src/components/waka-streak-counter/index.tsx +14 -0
  977. package/src/components/waka-success-explosion/WakaSuccessExplosion.mdx +93 -0
  978. package/src/components/waka-success-explosion/WakaSuccessExplosion.stories.tsx +0 -1
  979. package/src/components/waka-success-explosion/index.tsx +2 -2
  980. package/src/components/waka-swipe-card/WakaSwipeCard.stories.tsx +36 -12
  981. package/src/components/waka-swipe-card/index.tsx +14 -0
  982. package/src/components/waka-tabs-morph/WakaTabsMorph.mdx +113 -0
  983. package/src/components/waka-tabs-morph/WakaTabsMorph.stories.tsx +0 -1
  984. package/src/components/waka-tag-input/WakaTagInput.mdx +89 -0
  985. package/src/components/waka-tag-input/WakaTagInput.stories.tsx +0 -1
  986. package/src/components/waka-team-banner/WakaTeamBanner.stories.tsx +49 -20
  987. package/src/components/waka-team-banner/index.tsx +15 -0
  988. package/src/components/waka-terminal-output/WakaTerminalOutput.mdx +93 -0
  989. package/src/components/waka-terminal-output/WakaTerminalOutput.stories.tsx +0 -1
  990. package/src/components/waka-test-report/WakaTestReport.mdx +93 -0
  991. package/src/components/waka-test-report/WakaTestReport.stories.tsx +0 -1
  992. package/src/components/waka-theme-creator/index.tsx +14 -0
  993. package/src/components/waka-theme-manager/index.tsx +14 -0
  994. package/src/components/waka-thread-view/WakaThreadView.mdx +65 -0
  995. package/src/components/waka-thread-view/WakaThreadView.stories.tsx +0 -1
  996. package/src/components/waka-tilt-card/WakaTiltCard.mdx +97 -0
  997. package/src/components/waka-tilt-card/WakaTiltCard.stories.tsx +10 -14
  998. package/src/components/waka-time-picker/WakaTimePicker.mdx +89 -0
  999. package/src/components/waka-time-picker/WakaTimePicker.stories.tsx +14 -1
  1000. package/src/components/waka-timeline/WakaTimeline.mdx +77 -0
  1001. package/src/components/waka-timeline/WakaTimeline.stories.tsx +0 -1
  1002. package/src/components/waka-tooltip-tour/WakaTooltipTour.mdx +59 -0
  1003. package/src/components/waka-tooltip-tour/WakaTooltipTour.stories.tsx +0 -1
  1004. package/src/components/waka-tooltip-tour/index.tsx +5 -0
  1005. package/src/components/waka-tour-guide/WakaTourGuide.mdx +59 -0
  1006. package/src/components/waka-tour-guide/WakaTourGuide.stories.tsx +0 -1
  1007. package/src/components/waka-tour-guide/index.tsx +5 -0
  1008. package/src/components/waka-tournament-bracket/index.tsx +14 -0
  1009. package/src/components/waka-trace-viewer/WakaTraceViewer.mdx +85 -0
  1010. package/src/components/waka-trace-viewer/WakaTraceViewer.stories.tsx +0 -1
  1011. package/src/components/waka-tree/WakaTree.mdx +85 -0
  1012. package/src/components/waka-tree/WakaTree.stories.tsx +6 -4
  1013. package/src/components/waka-treemap-chart/WakaTreemapChart.stories.tsx +22 -11
  1014. package/src/components/waka-treemap-chart/index.tsx +14 -0
  1015. package/src/components/waka-two-factor-setup/WakaTwoFactorSetup.mdx +77 -0
  1016. package/src/components/waka-two-factor-setup/WakaTwoFactorSetup.stories.tsx +0 -1
  1017. package/src/components/waka-typewriter/WakaTypewriter.stories.tsx +7 -8
  1018. package/src/components/waka-typewriter/index.tsx +14 -0
  1019. package/src/components/waka-typing-indicator/WakaTypingIndicator.mdx +77 -0
  1020. package/src/components/waka-typing-indicator/WakaTypingIndicator.stories.tsx +0 -1
  1021. package/src/components/waka-versus-card/index.tsx +14 -0
  1022. package/src/components/waka-video/WakaVideo.mdx +93 -0
  1023. package/src/components/waka-video/WakaVideo.stories.tsx +16 -1
  1024. package/src/components/waka-video-ad/WakaVideoAd.mdx +69 -0
  1025. package/src/components/waka-video-ad/WakaVideoAd.stories.tsx +0 -1
  1026. package/src/components/waka-video-call/WakaVideoCall.mdx +73 -0
  1027. package/src/components/waka-video-call/WakaVideoCall.stories.tsx +0 -1
  1028. package/src/components/waka-video-overlay/WakaVideoOverlay.mdx +61 -0
  1029. package/src/components/waka-video-overlay/WakaVideoOverlay.stories.tsx +0 -1
  1030. package/src/components/waka-voice-message/WakaVoiceMessage.mdx +77 -0
  1031. package/src/components/waka-voice-message/WakaVoiceMessage.stories.tsx +0 -1
  1032. package/src/components/waka-welcome-modal/WakaWelcomeModal.mdx +57 -0
  1033. package/src/components/waka-welcome-modal/WakaWelcomeModal.stories.tsx +1 -2
  1034. package/src/components/waka-xp-bar/index.tsx +14 -0
  1035. package/dist/badge-BbwO7QeZ.js +0 -1
  1036. package/dist/chunk-14q5BKub.js +0 -1
  1037. package/dist/cn-DEtaFQsA.js +0 -1
  1038. package/dist/cn-DUn6aSIQ.mjs +0 -24
  1039. package/dist/exceljs.min-qeIfSCbF.js +0 -28
  1040. package/dist/input-BfaSAGVw.js +0 -1
  1041. package/dist/input-DVr_Qkl8.mjs +0 -14
  1042. package/dist/security-CyBpuklN.mjs +0 -122
  1043. package/dist/security-bFWwDrlg.js +0 -1
  1044. package/dist/separator-NrkltulH.js +0 -1
  1045. package/dist/textarea-CdQWggYG.js +0 -1
  1046. package/dist/textarea-DJDXJ3nd.mjs +0 -23
  1047. package/dist/types-C2St0wOW.js +0 -1
  1048. package/dist/waka-doc-renderer-CTxC7Trf.js +0 -3
  1049. package/dist/waka-editor-plugins-sGSh9hn2.js +0 -1
  1050. package/dist/waka-rich-text-editor-BlIdtknG.js +0 -1
  1051. package/dist/waka-rich-text-editor-D1uA3zbB.js +0 -1
  1052. package/dist/waka-rich-text-editor-DndVJuDw.mjs +0 -2
@@ -1,21 +1,21 @@
1
- import { n as e, t } from "./cn-DUn6aSIQ.mjs";
2
- import * as n from "react";
3
- import { useEffect as r, useMemo as i, useState as a } from "react";
4
- import { Minus as o, TrendingDown as s, TrendingUp as c } from "lucide-react";
5
- import { jsx as l, jsxs as u } from "react/jsx-runtime";
1
+ "use client";
2
+ import { t as e } from "./cn-Bpd_xIzI.mjs";
3
+ import * as t from "react";
4
+ import { useEffect as n, useMemo as r, useState as i } from "react";
5
+ import { Minus as a, TrendingDown as o, TrendingUp as s } from "lucide-react";
6
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
6
7
  //#region src/components/skeleton/index.tsx
7
- e();
8
- function d({ className: e, ...n }) {
9
- return /* @__PURE__ */ l("div", {
10
- className: t("animate-pulse rounded-md bg-muted", e),
8
+ function u({ className: t, ...n }) {
9
+ return /* @__PURE__ */ c("div", {
10
+ className: e("animate-pulse rounded-md bg-muted", t),
11
11
  ...n
12
12
  });
13
13
  }
14
14
  //#endregion
15
15
  //#region src/components/waka-charts/hooks/useRechartsLoader.ts
16
- function f() {
17
- let [e, t] = a(null), [n, i] = a(!0), [o, s] = a(null);
18
- return r(() => {
16
+ function d() {
17
+ let [e, t] = i(null), [r, a] = i(!0), [o, s] = i(null);
18
+ return n(() => {
19
19
  let e = !0;
20
20
  return (async () => {
21
21
  try {
@@ -39,23 +39,23 @@ function f() {
39
39
  defs: "defs",
40
40
  linearGradient: "linearGradient",
41
41
  stop: "stop"
42
- }), i(!1));
42
+ }), a(!1));
43
43
  } catch (t) {
44
- e && (s(t instanceof Error ? t : /* @__PURE__ */ Error("Failed to load Recharts")), i(!1));
44
+ e && (s(t instanceof Error ? t : /* @__PURE__ */ Error("Failed to load Recharts")), a(!1));
45
45
  }
46
46
  })(), () => {
47
47
  e = !1;
48
48
  };
49
49
  }, []), {
50
50
  components: e,
51
- loading: n,
51
+ loading: r,
52
52
  error: o,
53
- isAvailable: !n && !o && e !== null
53
+ isAvailable: !r && !o && e !== null
54
54
  };
55
55
  }
56
56
  //#endregion
57
57
  //#region src/components/waka-charts/hooks/useChartTheme.ts
58
- var p = {
58
+ var f = {
59
59
  colors: [
60
60
  "hsl(var(--chart-1, 220 70% 50%))",
61
61
  "hsl(var(--chart-2, 160 60% 45%))",
@@ -71,21 +71,21 @@ var p = {
71
71
  tooltipBorder: "hsl(var(--border, 220 13% 91%))",
72
72
  fontFamily: "inherit"
73
73
  };
74
- function m(e, t = "default") {
75
- let n = i(() => ({
76
- colors: e?.colors ?? p.colors,
77
- gridColor: e?.gridColor ?? p.gridColor,
78
- axisColor: e?.axisColor ?? p.axisColor,
79
- textColor: e?.textColor ?? p.textColor,
80
- tooltipBackground: e?.tooltipBackground ?? p.tooltipBackground,
81
- tooltipText: e?.tooltipText ?? p.tooltipText,
82
- tooltipBorder: e?.tooltipBorder ?? p.tooltipBorder,
83
- fontFamily: e?.fontFamily ?? p.fontFamily
74
+ function p(e, t = "default") {
75
+ let n = r(() => ({
76
+ colors: e?.colors ?? f.colors,
77
+ gridColor: e?.gridColor ?? f.gridColor,
78
+ axisColor: e?.axisColor ?? f.axisColor,
79
+ textColor: e?.textColor ?? f.textColor,
80
+ tooltipBackground: e?.tooltipBackground ?? f.tooltipBackground,
81
+ tooltipText: e?.tooltipText ?? f.tooltipText,
82
+ tooltipBorder: e?.tooltipBorder ?? f.tooltipBorder,
83
+ fontFamily: e?.fontFamily ?? f.fontFamily
84
84
  }), [e]);
85
85
  return {
86
86
  theme: n,
87
- getColor: i(() => (e) => n.colors[e % n.colors.length], [n.colors]),
88
- tooltipStyles: i(() => ({
87
+ getColor: r(() => (e) => n.colors[e % n.colors.length], [n.colors]),
88
+ tooltipStyles: r(() => ({
89
89
  contentStyle: {
90
90
  backgroundColor: n.tooltipBackground,
91
91
  color: n.tooltipText,
@@ -106,7 +106,7 @@ function m(e, t = "default") {
106
106
  marginBottom: "4px"
107
107
  }
108
108
  }), [n]),
109
- containerClasses: i(() => {
109
+ containerClasses: r(() => {
110
110
  let e = "relative";
111
111
  switch (t) {
112
112
  case "gradient": return `${e} bg-gradient-to-br from-background to-muted/20`;
@@ -119,8 +119,7 @@ function m(e, t = "default") {
119
119
  }
120
120
  //#endregion
121
121
  //#region src/components/waka-charts/WakaChart.tsx
122
- e();
123
- var h = {
122
+ var m = {
124
123
  sm: {
125
124
  width: "100%",
126
125
  height: 150
@@ -141,33 +140,33 @@ var h = {
141
140
  width: "100%",
142
141
  height: 300
143
142
  }
144
- }, g = n.forwardRef(({ children: e, variant: n = "default", size: r = "md", height: i, width: a, theme: o, className: s, style: c, title: p, description: g, loading: v, error: y, responsive: b = !0 }, x) => {
145
- let { components: S, loading: C, error: w, isAvailable: T } = f(), { containerClasses: E } = m(o, n), D = v || C, O = y || (w ? "Recharts non disponible. Installez recharts pour utiliser les graphiques." : null), k = h[r], A = a ?? k.width, j = i ?? k.height;
146
- if (D) return /* @__PURE__ */ u("div", {
143
+ }, h = t.forwardRef(({ children: t, variant: n = "default", size: r = "md", height: i, width: a, theme: o, className: s, style: f, title: h, description: _, loading: v, error: y, responsive: b = !0 }, x) => {
144
+ let { components: S, loading: C, error: w, isAvailable: T } = d(), { containerClasses: E } = p(o, n), D = v || C, O = y || (w ? "Recharts non disponible. Installez recharts pour utiliser les graphiques." : null), k = m[r], A = a ?? k.width, j = i ?? k.height;
145
+ if (D) return /* @__PURE__ */ l("div", {
147
146
  ref: x,
148
- className: t(E, s),
149
- style: c,
150
- children: [p && /* @__PURE__ */ l(_, {
151
- title: p,
152
- description: g
153
- }), /* @__PURE__ */ l(d, {
147
+ className: e(E, s),
148
+ style: f,
149
+ children: [h && /* @__PURE__ */ c(g, {
150
+ title: h,
151
+ description: _
152
+ }), /* @__PURE__ */ c(u, {
154
153
  className: "w-full",
155
154
  style: { height: j }
156
155
  })]
157
156
  });
158
- if (O || !T) return /* @__PURE__ */ u("div", {
157
+ if (O || !T) return /* @__PURE__ */ l("div", {
159
158
  ref: x,
160
- className: t(E, s),
161
- style: c,
162
- children: [p && /* @__PURE__ */ l(_, {
163
- title: p,
164
- description: g
165
- }), /* @__PURE__ */ l("div", {
159
+ className: e(E, s),
160
+ style: f,
161
+ children: [h && /* @__PURE__ */ c(g, {
162
+ title: h,
163
+ description: _
164
+ }), /* @__PURE__ */ c("div", {
166
165
  className: "flex items-center justify-center text-muted-foreground text-sm border border-dashed border-border rounded-lg",
167
166
  style: { height: j },
168
- children: /* @__PURE__ */ u("div", {
167
+ children: /* @__PURE__ */ l("div", {
169
168
  className: "text-center p-4",
170
- children: [/* @__PURE__ */ l("p", { children: O || "Graphique non disponible" }), /* @__PURE__ */ l("p", {
169
+ children: [/* @__PURE__ */ c("p", { children: O || "Graphique non disponible" }), /* @__PURE__ */ c("p", {
171
170
  className: "text-xs mt-1",
172
171
  children: "Installez recharts: pnpm add recharts"
173
172
  })]
@@ -175,34 +174,34 @@ var h = {
175
174
  })]
176
175
  });
177
176
  let { ResponsiveContainer: M } = S;
178
- return /* @__PURE__ */ u("div", {
177
+ return /* @__PURE__ */ l("div", {
179
178
  ref: x,
180
- className: t(E, s),
181
- style: c,
182
- children: [p && /* @__PURE__ */ l(_, {
183
- title: p,
184
- description: g
185
- }), b ? /* @__PURE__ */ l(M, {
179
+ className: e(E, s),
180
+ style: f,
181
+ children: [h && /* @__PURE__ */ c(g, {
182
+ title: h,
183
+ description: _
184
+ }), b ? /* @__PURE__ */ c(M, {
186
185
  width: A,
187
186
  height: j,
188
- children: e(S)
189
- }) : /* @__PURE__ */ l("div", {
187
+ children: t(S)
188
+ }) : /* @__PURE__ */ c("div", {
190
189
  style: {
191
190
  width: A,
192
191
  height: j
193
192
  },
194
- children: e(S)
193
+ children: t(S)
195
194
  })]
196
195
  });
197
196
  });
198
- g.displayName = "WakaChart";
199
- function _({ title: e, description: t }) {
200
- return /* @__PURE__ */ u("div", {
197
+ h.displayName = "WakaChart";
198
+ function g({ title: e, description: t }) {
199
+ return /* @__PURE__ */ l("div", {
201
200
  className: "mb-4",
202
- children: [/* @__PURE__ */ l("h3", {
201
+ children: [/* @__PURE__ */ c("h3", {
203
202
  className: "text-lg font-semibold",
204
203
  children: e
205
- }), t && /* @__PURE__ */ l("p", {
204
+ }), t && /* @__PURE__ */ c("p", {
206
205
  className: "text-sm text-muted-foreground",
207
206
  children: t
208
207
  })]
@@ -210,10 +209,10 @@ function _({ title: e, description: t }) {
210
209
  }
211
210
  //#endregion
212
211
  //#region src/components/waka-charts/WakaBarChart.tsx
213
- var v = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default", size: a = "md", height: o, width: s, animation: c = !0, animationDuration: d = 500, grid: f = !0, tooltip: p = !0, legend: h, axis: _, theme: v, className: y, style: b, title: x, description: S, loading: C, error: w, onClick: T, responsive: E = !0, layout: D = "vertical", stacked: O = !1, radius: k = 4, barSize: A, barGap: j = 4, barCategoryGap: M = "20%" }, N) => {
214
- let { theme: P, getColor: F, tooltipStyles: I } = m(v, i), L = n.useMemo(() => {
212
+ var _ = t.forwardRef(({ data: e, dataKeys: n, series: r, variant: i = "default", size: a = "md", height: o, width: s, animation: u = !0, animationDuration: d = 500, grid: f = !0, tooltip: m = !0, legend: g, axis: _, theme: v, className: y, style: b, title: x, description: S, loading: C, error: w, onClick: T, responsive: E = !0, layout: D = "vertical", stacked: O = !1, radius: k = 4, barSize: A, barGap: j = 4, barCategoryGap: M = "20%" }, N) => {
213
+ let { theme: P, getColor: F, tooltipStyles: I } = p(v, i), L = t.useMemo(() => {
215
214
  if (r && r.length > 0) return r;
216
- if (t && t.length > 0) return t.map((e, t) => ({
215
+ if (n && n.length > 0) return n.map((e, t) => ({
217
216
  dataKey: e,
218
217
  label: e,
219
218
  color: F(t)
@@ -223,23 +222,23 @@ var v = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
223
222
  label: "Value",
224
223
  color: F(0)
225
224
  }];
226
- let n = e[0];
227
- return n ? Object.keys(n).filter((e) => e !== "name" && typeof n[e] == "number").map((e, t) => ({
225
+ let t = e[0];
226
+ return t ? Object.keys(t).filter((e) => e !== "name" && typeof t[e] == "number").map((e, t) => ({
228
227
  dataKey: e,
229
228
  label: e,
230
229
  color: F(t)
231
230
  })) : [];
232
231
  }, [
233
232
  r,
234
- t,
233
+ n,
235
234
  e,
236
235
  F
237
- ]), R = n.useMemo(() => h ? typeof h == "boolean" ? {
238
- enabled: h,
236
+ ]), R = t.useMemo(() => g ? typeof g == "boolean" ? {
237
+ enabled: g,
239
238
  position: "bottom",
240
239
  align: "center"
241
- } : h : null, [h]), z = n.useMemo(() => p ? typeof p == "boolean" ? { enabled: p } : p : null, [p]);
242
- return /* @__PURE__ */ l(g, {
240
+ } : g : null, [g]), z = t.useMemo(() => m ? typeof m == "boolean" ? { enabled: m } : m : null, [m]);
241
+ return /* @__PURE__ */ c(h, {
243
242
  ref: N,
244
243
  variant: i,
245
244
  size: a,
@@ -255,20 +254,20 @@ var v = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
255
254
  responsive: E,
256
255
  children: (t) => {
257
256
  if (!t) return null;
258
- let { BarChart: n, Bar: r, XAxis: i, YAxis: a, CartesianGrid: o, Tooltip: s, Legend: m } = t;
259
- return /* @__PURE__ */ u(n, {
257
+ let { BarChart: n, Bar: r, XAxis: i, YAxis: a, CartesianGrid: o, Tooltip: s, Legend: p } = t;
258
+ return /* @__PURE__ */ l(n, {
260
259
  data: e,
261
260
  layout: D === "horizontal" ? "vertical" : "horizontal",
262
261
  barGap: j,
263
262
  barCategoryGap: M,
264
263
  children: [
265
- f && /* @__PURE__ */ l(o, {
264
+ f && /* @__PURE__ */ c(o, {
266
265
  strokeDasharray: "3 3",
267
266
  stroke: P.gridColor,
268
267
  horizontal: !0,
269
268
  vertical: !1
270
269
  }),
271
- _?.showXAxis !== !1 && /* @__PURE__ */ l(i, {
270
+ _?.showXAxis !== !1 && /* @__PURE__ */ c(i, {
272
271
  dataKey: "name",
273
272
  axisLine: { stroke: P.axisColor },
274
273
  tickLine: { stroke: P.axisColor },
@@ -278,7 +277,7 @@ var v = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
278
277
  },
279
278
  tickFormatter: _?.xAxisFormatter
280
279
  }),
281
- _?.showYAxis !== !1 && /* @__PURE__ */ l(a, {
280
+ _?.showYAxis !== !1 && /* @__PURE__ */ c(a, {
282
281
  axisLine: { stroke: P.axisColor },
283
282
  tickLine: { stroke: P.axisColor },
284
283
  tick: {
@@ -289,16 +288,16 @@ var v = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
289
288
  domain: _?.yAxisDomain,
290
289
  unit: _?.yAxisUnit
291
290
  }),
292
- z?.enabled !== !1 && p && /* @__PURE__ */ l(s, {
291
+ z?.enabled !== !1 && m && /* @__PURE__ */ c(s, {
293
292
  ...I,
294
293
  formatter: z && typeof z != "boolean" && z.formatter ? (t, n) => z.formatter(t, n, e[0]) : (e) => `${z && typeof z != "boolean" && z.valuePrefix || ""}${e}${z && typeof z != "boolean" && z.valueSuffix || ""}`
295
294
  }),
296
- R?.enabled && /* @__PURE__ */ l(m, {
295
+ R?.enabled && /* @__PURE__ */ c(p, {
297
296
  align: R.align,
298
297
  verticalAlign: R.position === "top" ? "top" : "bottom",
299
298
  wrapperStyle: { paddingTop: R.position === "bottom" ? 16 : 0 }
300
299
  }),
301
- L.map((e, t) => /* @__PURE__ */ l(r, {
300
+ L.map((e, t) => /* @__PURE__ */ c(r, {
302
301
  dataKey: e.dataKey,
303
302
  name: e.label,
304
303
  fill: e.color || F(t),
@@ -306,20 +305,20 @@ var v = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
306
305
  stackId: O ? "stack" : void 0,
307
306
  barSize: A,
308
307
  animationDuration: d,
309
- isAnimationActive: c
308
+ isAnimationActive: u
310
309
  }, e.dataKey))
311
310
  ]
312
311
  });
313
312
  }
314
313
  });
315
314
  });
316
- v.displayName = "WakaBarChart";
315
+ _.displayName = "WakaBarChart";
317
316
  //#endregion
318
317
  //#region src/components/waka-charts/WakaLineChart.tsx
319
- var y = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default", size: a = "md", height: o, width: s, animation: c = !0, animationDuration: d = 500, grid: f = !0, tooltip: p = !0, legend: h, axis: _, theme: v, className: y, style: b, title: x, description: S, loading: C, error: w, onClick: T, responsive: E = !0, curve: D = "monotone", dots: O = !0, dotSize: k = 4, activeDot: A = !0, strokeWidth: j = 2 }, M) => {
320
- let { theme: N, getColor: P, tooltipStyles: F } = m(v, i), I = n.useMemo(() => {
318
+ var v = t.forwardRef(({ data: e, dataKeys: n, series: r, variant: i = "default", size: a = "md", height: o, width: s, animation: u = !0, animationDuration: d = 500, grid: f = !0, tooltip: m = !0, legend: g, axis: _, theme: v, className: y, style: b, title: x, description: S, loading: C, error: w, onClick: T, responsive: E = !0, curve: D = "monotone", dots: O = !0, dotSize: k = 4, activeDot: A = !0, strokeWidth: j = 2 }, M) => {
319
+ let { theme: N, getColor: P, tooltipStyles: F } = p(v, i), I = t.useMemo(() => {
321
320
  if (r && r.length > 0) return r;
322
- if (t && t.length > 0) return t.map((e, t) => ({
321
+ if (n && n.length > 0) return n.map((e, t) => ({
323
322
  dataKey: e,
324
323
  label: e,
325
324
  color: P(t),
@@ -331,8 +330,8 @@ var y = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
331
330
  color: P(0),
332
331
  strokeWidth: j
333
332
  }];
334
- let n = e[0];
335
- return n ? Object.keys(n).filter((e) => e !== "name" && typeof n[e] == "number").map((e, t) => ({
333
+ let t = e[0];
334
+ return t ? Object.keys(t).filter((e) => e !== "name" && typeof t[e] == "number").map((e, t) => ({
336
335
  dataKey: e,
337
336
  label: e,
338
337
  color: P(t),
@@ -340,16 +339,16 @@ var y = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
340
339
  })) : [];
341
340
  }, [
342
341
  r,
343
- t,
342
+ n,
344
343
  e,
345
344
  P,
346
345
  j
347
- ]), L = n.useMemo(() => h ? typeof h == "boolean" ? {
348
- enabled: h,
346
+ ]), L = t.useMemo(() => g ? typeof g == "boolean" ? {
347
+ enabled: g,
349
348
  position: "bottom",
350
349
  align: "center"
351
- } : h : null, [h]), R = n.useMemo(() => p ? typeof p == "boolean" ? { enabled: p } : p : null, [p]);
352
- return /* @__PURE__ */ l(g, {
350
+ } : g : null, [g]), R = t.useMemo(() => m ? typeof m == "boolean" ? { enabled: m } : m : null, [m]);
351
+ return /* @__PURE__ */ c(h, {
353
352
  ref: M,
354
353
  variant: i,
355
354
  size: a,
@@ -365,17 +364,17 @@ var y = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
365
364
  responsive: E,
366
365
  children: (t) => {
367
366
  if (!t) return null;
368
- let { LineChart: n, Line: r, XAxis: i, YAxis: a, CartesianGrid: o, Tooltip: s, Legend: m } = t;
369
- return /* @__PURE__ */ u(n, {
367
+ let { LineChart: n, Line: r, XAxis: i, YAxis: a, CartesianGrid: o, Tooltip: s, Legend: p } = t;
368
+ return /* @__PURE__ */ l(n, {
370
369
  data: e,
371
370
  children: [
372
- f && /* @__PURE__ */ l(o, {
371
+ f && /* @__PURE__ */ c(o, {
373
372
  strokeDasharray: "3 3",
374
373
  stroke: N.gridColor,
375
374
  horizontal: !0,
376
375
  vertical: !1
377
376
  }),
378
- _?.showXAxis !== !1 && /* @__PURE__ */ l(i, {
377
+ _?.showXAxis !== !1 && /* @__PURE__ */ c(i, {
379
378
  dataKey: "name",
380
379
  axisLine: { stroke: N.axisColor },
381
380
  tickLine: { stroke: N.axisColor },
@@ -385,7 +384,7 @@ var y = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
385
384
  },
386
385
  tickFormatter: _?.xAxisFormatter
387
386
  }),
388
- _?.showYAxis !== !1 && /* @__PURE__ */ l(a, {
387
+ _?.showYAxis !== !1 && /* @__PURE__ */ c(a, {
389
388
  axisLine: { stroke: N.axisColor },
390
389
  tickLine: { stroke: N.axisColor },
391
390
  tick: {
@@ -396,16 +395,16 @@ var y = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
396
395
  domain: _?.yAxisDomain,
397
396
  unit: _?.yAxisUnit
398
397
  }),
399
- R?.enabled !== !1 && p && /* @__PURE__ */ l(s, {
398
+ R?.enabled !== !1 && m && /* @__PURE__ */ c(s, {
400
399
  ...F,
401
400
  formatter: R && typeof R != "boolean" && R.formatter ? (t, n) => R.formatter(t, n, e[0]) : (e) => `${R && typeof R != "boolean" && R.valuePrefix || ""}${e}${R && typeof R != "boolean" && R.valueSuffix || ""}`
402
401
  }),
403
- L?.enabled && /* @__PURE__ */ l(m, {
402
+ L?.enabled && /* @__PURE__ */ c(p, {
404
403
  align: L.align,
405
404
  verticalAlign: L.position === "top" ? "top" : "bottom",
406
405
  wrapperStyle: { paddingTop: L.position === "bottom" ? 16 : 0 }
407
406
  }),
408
- I.map((e, t) => /* @__PURE__ */ l(r, {
407
+ I.map((e, t) => /* @__PURE__ */ c(r, {
409
408
  dataKey: e.dataKey,
410
409
  name: e.label,
411
410
  stroke: e.color || P(t),
@@ -418,20 +417,20 @@ var y = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
418
417
  } : !1,
419
418
  activeDot: A ? { r: k + 2 } : !1,
420
419
  animationDuration: d,
421
- isAnimationActive: c
420
+ isAnimationActive: u
422
421
  }, e.dataKey))
423
422
  ]
424
423
  });
425
424
  }
426
425
  });
427
426
  });
428
- y.displayName = "WakaLineChart";
427
+ v.displayName = "WakaLineChart";
429
428
  //#endregion
430
429
  //#region src/components/waka-charts/WakaAreaChart.tsx
431
- var b = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default", size: a = "md", height: o, width: s, animation: c = !0, animationDuration: d = 500, grid: f = !0, tooltip: p = !0, legend: h, axis: _, theme: v, className: y, style: b, title: x, description: S, loading: C, error: w, onClick: T, responsive: E = !0, curve: D = "monotone", dots: O = !1, dotSize: k = 4, activeDot: A = !0, strokeWidth: j = 2, stacked: M = !1, fillOpacity: N = .3, gradientDirection: P = "vertical" }, F) => {
432
- let { theme: I, getColor: L, tooltipStyles: R } = m(v, i), z = n.useMemo(() => {
430
+ var y = t.forwardRef(({ data: e, dataKeys: n, series: r, variant: i = "default", size: a = "md", height: o, width: s, animation: u = !0, animationDuration: d = 500, grid: f = !0, tooltip: m = !0, legend: g, axis: _, theme: v, className: y, style: b, title: x, description: S, loading: C, error: w, onClick: T, responsive: E = !0, curve: D = "monotone", dots: O = !1, dotSize: k = 4, activeDot: A = !0, strokeWidth: j = 2, stacked: M = !1, fillOpacity: N = .3, gradientDirection: P = "vertical" }, F) => {
431
+ let { theme: I, getColor: L, tooltipStyles: R } = p(v, i), z = t.useMemo(() => {
433
432
  if (r && r.length > 0) return r;
434
- if (t && t.length > 0) return t.map((e, t) => ({
433
+ if (n && n.length > 0) return n.map((e, t) => ({
435
434
  dataKey: e,
436
435
  label: e,
437
436
  color: L(t),
@@ -445,8 +444,8 @@ var b = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
445
444
  strokeWidth: j,
446
445
  fillOpacity: N
447
446
  }];
448
- let n = e[0];
449
- return n ? Object.keys(n).filter((e) => e !== "name" && typeof n[e] == "number").map((e, t) => ({
447
+ let t = e[0];
448
+ return t ? Object.keys(t).filter((e) => e !== "name" && typeof t[e] == "number").map((e, t) => ({
450
449
  dataKey: e,
451
450
  label: e,
452
451
  color: L(t),
@@ -455,17 +454,17 @@ var b = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
455
454
  })) : [];
456
455
  }, [
457
456
  r,
458
- t,
457
+ n,
459
458
  e,
460
459
  L,
461
460
  j,
462
461
  N
463
- ]), B = n.useMemo(() => h ? typeof h == "boolean" ? {
464
- enabled: h,
462
+ ]), B = t.useMemo(() => g ? typeof g == "boolean" ? {
463
+ enabled: g,
465
464
  position: "bottom",
466
465
  align: "center"
467
- } : h : null, [h]), V = n.useMemo(() => p ? typeof p == "boolean" ? { enabled: p } : p : null, [p]);
468
- return /* @__PURE__ */ l(g, {
466
+ } : g : null, [g]), V = t.useMemo(() => m ? typeof m == "boolean" ? { enabled: m } : m : null, [m]);
467
+ return /* @__PURE__ */ c(h, {
469
468
  ref: F,
470
469
  variant: i,
471
470
  size: a,
@@ -481,36 +480,36 @@ var b = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
481
480
  responsive: E,
482
481
  children: (t) => {
483
482
  if (!t) return null;
484
- let { AreaChart: n, Area: r, XAxis: i, YAxis: a, CartesianGrid: o, Tooltip: s, Legend: m } = t;
485
- return /* @__PURE__ */ u(n, {
483
+ let { AreaChart: n, Area: r, XAxis: i, YAxis: a, CartesianGrid: o, Tooltip: s, Legend: p } = t;
484
+ return /* @__PURE__ */ l(n, {
486
485
  data: e,
487
486
  children: [
488
- /* @__PURE__ */ l("defs", { children: z.map((e, t) => {
487
+ /* @__PURE__ */ c("defs", { children: z.map((e, t) => {
489
488
  let n = e.color || L(t), r = `gradient-${e.dataKey}-${t}`;
490
- return /* @__PURE__ */ u("linearGradient", {
489
+ return /* @__PURE__ */ l("linearGradient", {
491
490
  id: r,
492
491
  x1: "0",
493
492
  y1: "0",
494
493
  x2: P === "horizontal" ? "1" : "0",
495
494
  y2: P === "horizontal" ? "0" : "1",
496
- children: [/* @__PURE__ */ l("stop", {
495
+ children: [/* @__PURE__ */ c("stop", {
497
496
  offset: "5%",
498
497
  stopColor: n,
499
498
  stopOpacity: .8
500
- }), /* @__PURE__ */ l("stop", {
499
+ }), /* @__PURE__ */ c("stop", {
501
500
  offset: "95%",
502
501
  stopColor: n,
503
502
  stopOpacity: .1
504
503
  })]
505
504
  }, r);
506
505
  }) }),
507
- f && /* @__PURE__ */ l(o, {
506
+ f && /* @__PURE__ */ c(o, {
508
507
  strokeDasharray: "3 3",
509
508
  stroke: I.gridColor,
510
509
  horizontal: !0,
511
510
  vertical: !1
512
511
  }),
513
- _?.showXAxis !== !1 && /* @__PURE__ */ l(i, {
512
+ _?.showXAxis !== !1 && /* @__PURE__ */ c(i, {
514
513
  dataKey: "name",
515
514
  axisLine: { stroke: I.axisColor },
516
515
  tickLine: { stroke: I.axisColor },
@@ -520,7 +519,7 @@ var b = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
520
519
  },
521
520
  tickFormatter: _?.xAxisFormatter
522
521
  }),
523
- _?.showYAxis !== !1 && /* @__PURE__ */ l(a, {
522
+ _?.showYAxis !== !1 && /* @__PURE__ */ c(a, {
524
523
  axisLine: { stroke: I.axisColor },
525
524
  tickLine: { stroke: I.axisColor },
526
525
  tick: {
@@ -531,18 +530,18 @@ var b = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
531
530
  domain: _?.yAxisDomain,
532
531
  unit: _?.yAxisUnit
533
532
  }),
534
- V?.enabled !== !1 && p && /* @__PURE__ */ l(s, {
533
+ V?.enabled !== !1 && m && /* @__PURE__ */ c(s, {
535
534
  ...R,
536
535
  formatter: V && typeof V != "boolean" && V.formatter ? (t, n) => V.formatter(t, n, e[0]) : (e) => `${V && typeof V != "boolean" && V.valuePrefix || ""}${e}${V && typeof V != "boolean" && V.valueSuffix || ""}`
537
536
  }),
538
- B?.enabled && /* @__PURE__ */ l(m, {
537
+ B?.enabled && /* @__PURE__ */ c(p, {
539
538
  align: B.align,
540
539
  verticalAlign: B.position === "top" ? "top" : "bottom",
541
540
  wrapperStyle: { paddingTop: B.position === "bottom" ? 16 : 0 }
542
541
  }),
543
542
  z.map((e, t) => {
544
543
  let n = e.color || L(t), i = `gradient-${e.dataKey}-${t}`;
545
- return /* @__PURE__ */ l(r, {
544
+ return /* @__PURE__ */ c(r, {
546
545
  dataKey: e.dataKey,
547
546
  name: e.label,
548
547
  stroke: n,
@@ -556,7 +555,7 @@ var b = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
556
555
  } : !1,
557
556
  stackId: M ? "stack" : void 0,
558
557
  animationDuration: d,
559
- isAnimationActive: c
558
+ isAnimationActive: u
560
559
  }, e.dataKey);
561
560
  })
562
561
  ]
@@ -564,18 +563,18 @@ var b = n.forwardRef(({ data: e, dataKeys: t, series: r, variant: i = "default",
564
563
  }
565
564
  });
566
565
  });
567
- b.displayName = "WakaAreaChart";
566
+ y.displayName = "WakaAreaChart";
568
567
  //#endregion
569
568
  //#region src/components/waka-charts/WakaPieChart.tsx
570
- var x = n.forwardRef(({ data: e, variant: t = "default", size: r = "md", height: i, width: a, animation: o = !0, animationDuration: s = 500, tooltip: c = !0, legend: d = !0, theme: f, className: p, style: h, title: _, description: v, loading: y, error: b, onClick: x, responsive: S = !0, dataKey: C = "value", nameKey: w = "name", innerRadius: T = 0, outerRadius: E = "80%", startAngle: D = 90, endAngle: O = -270, paddingAngle: k = 2, label: A = !1, labelPosition: j = "outside" }, M) => {
571
- let { theme: N, getColor: P, tooltipStyles: F } = m(f, t), I = n.useMemo(() => d ? typeof d == "boolean" ? {
569
+ var b = t.forwardRef(({ data: e, variant: n = "default", size: r = "md", height: i, width: a, animation: o = !0, animationDuration: s = 500, tooltip: u = !0, legend: d = !0, theme: f, className: m, style: g, title: _, description: v, loading: y, error: b, onClick: x, responsive: S = !0, dataKey: C = "value", nameKey: w = "name", innerRadius: T = 0, outerRadius: E = "80%", startAngle: D = 90, endAngle: O = -270, paddingAngle: k = 2, label: A = !1, labelPosition: j = "outside" }, M) => {
570
+ let { theme: N, getColor: P, tooltipStyles: F } = p(f, n), I = t.useMemo(() => d ? typeof d == "boolean" ? {
572
571
  enabled: d,
573
572
  position: "bottom",
574
573
  align: "center"
575
- } : d : null, [d]), L = n.useMemo(() => c ? typeof c == "boolean" ? { enabled: c } : c : null, [c]), R = n.useCallback((e) => {
574
+ } : d : null, [d]), L = t.useMemo(() => u ? typeof u == "boolean" ? { enabled: u } : u : null, [u]), R = t.useCallback((e) => {
576
575
  if (!A) return null;
577
576
  let t = Math.PI / 180, n = j === "inside" ? e.innerRadius + (e.outerRadius - e.innerRadius) * .5 : e.outerRadius * 1.1, r = e.cx + n * Math.cos(-e.midAngle * t), i = e.cy + n * Math.sin(-e.midAngle * t), a = "";
578
- return a = A === "percent" ? `${(e.percent * 100).toFixed(0)}%` : A === "value" ? String(e.value) : A === "name" ? e.name : `${(e.percent * 100).toFixed(0)}%`, /* @__PURE__ */ l("text", {
577
+ return a = A === "percent" ? `${(e.percent * 100).toFixed(0)}%` : A === "value" ? String(e.value) : A === "name" ? e.name : `${(e.percent * 100).toFixed(0)}%`, /* @__PURE__ */ c("text", {
579
578
  x: r,
580
579
  y: i,
581
580
  fill: j === "inside" ? "#fff" : N.textColor,
@@ -589,15 +588,15 @@ var x = n.forwardRef(({ data: e, variant: t = "default", size: r = "md", height:
589
588
  j,
590
589
  N.textColor
591
590
  ]);
592
- return /* @__PURE__ */ l(g, {
591
+ return /* @__PURE__ */ c(h, {
593
592
  ref: M,
594
- variant: t,
593
+ variant: n,
595
594
  size: r,
596
595
  height: i,
597
596
  width: a,
598
597
  theme: f,
599
- className: p,
600
- style: h,
598
+ className: m,
599
+ style: g,
601
600
  title: _,
602
601
  description: v,
603
602
  loading: y,
@@ -606,18 +605,18 @@ var x = n.forwardRef(({ data: e, variant: t = "default", size: r = "md", height:
606
605
  children: (t) => {
607
606
  if (!t) return null;
608
607
  let { PieChart: n, Pie: r, Cell: i, Tooltip: a, Legend: d } = t;
609
- return /* @__PURE__ */ u(n, { children: [
610
- L?.enabled !== !1 && c && /* @__PURE__ */ l(a, {
608
+ return /* @__PURE__ */ l(n, { children: [
609
+ L?.enabled !== !1 && u && /* @__PURE__ */ c(a, {
611
610
  ...F,
612
611
  formatter: L && typeof L != "boolean" && L.formatter ? (t, n) => L.formatter(t, n, e[0]) : (e) => `${L && typeof L != "boolean" && L.valuePrefix || ""}${e}${L && typeof L != "boolean" && L.valueSuffix || ""}`
613
612
  }),
614
- I?.enabled && /* @__PURE__ */ l(d, {
613
+ I?.enabled && /* @__PURE__ */ c(d, {
615
614
  align: I.align,
616
615
  verticalAlign: I.position === "top" ? "top" : "bottom",
617
616
  layout: I.position === "left" || I.position === "right" ? "vertical" : "horizontal",
618
617
  wrapperStyle: { paddingTop: I.position === "bottom" ? 16 : 0 }
619
618
  }),
620
- /* @__PURE__ */ l(r, {
619
+ /* @__PURE__ */ c(r, {
621
620
  data: e,
622
621
  dataKey: C,
623
622
  nameKey: w,
@@ -632,7 +631,7 @@ var x = n.forwardRef(({ data: e, variant: t = "default", size: r = "md", height:
632
631
  isAnimationActive: o,
633
632
  label: A ? R : !1,
634
633
  labelLine: A && j === "outside",
635
- children: e.map((e, t) => /* @__PURE__ */ l(i, {
634
+ children: e.map((e, t) => /* @__PURE__ */ c(i, {
636
635
  fill: P(t),
637
636
  stroke: "transparent"
638
637
  }, `cell-${t}`))
@@ -641,25 +640,25 @@ var x = n.forwardRef(({ data: e, variant: t = "default", size: r = "md", height:
641
640
  }
642
641
  });
643
642
  });
643
+ b.displayName = "WakaPieChart";
644
644
  //#endregion
645
645
  //#region src/components/waka-charts/WakaSparkline.tsx
646
- x.displayName = "WakaPieChart", e();
647
- var S = n.forwardRef(({ data: e, type: r = "line", width: i = 100, height: a = 30, color: o = "hsl(var(--chart-1))", fillColor: s, fillOpacity: c = .3, showMinMax: d = !1, showValue: p = !1, className: m, animation: h = !0 }, g) => {
648
- let { components: _, loading: v, isAvailable: y } = f(), b = n.useMemo(() => e.map((e, t) => ({
646
+ var x = t.forwardRef(({ data: n, type: r = "line", width: i = 100, height: a = 30, color: o = "hsl(var(--chart-1))", fillColor: s, fillOpacity: u = .3, showMinMax: f = !1, showValue: p = !1, className: m, animation: h = !0 }, g) => {
647
+ let { components: _, loading: v, isAvailable: y } = d(), b = t.useMemo(() => n.map((e, t) => ({
649
648
  index: t,
650
649
  value: e
651
- })), [e]), { min: x, max: S, current: w } = n.useMemo(() => {
652
- let t = e.filter((e) => typeof e == "number" && !isNaN(e));
650
+ })), [n]), { min: x, max: C, current: w } = t.useMemo(() => {
651
+ let e = n.filter((e) => typeof e == "number" && !isNaN(e));
653
652
  return {
654
- min: Math.min(...t),
655
- max: Math.max(...t),
656
- current: t[t.length - 1]
653
+ min: Math.min(...e),
654
+ max: Math.max(...e),
655
+ current: e[e.length - 1]
657
656
  };
658
- }, [e]);
659
- if (v) return /* @__PURE__ */ l("div", {
657
+ }, [n]);
658
+ if (v) return /* @__PURE__ */ c("div", {
660
659
  ref: g,
661
- className: t("inline-flex items-center gap-2", m),
662
- children: /* @__PURE__ */ l("div", {
660
+ className: e("inline-flex items-center gap-2", m),
661
+ children: /* @__PURE__ */ c("div", {
663
662
  className: "bg-muted animate-pulse rounded",
664
663
  style: {
665
664
  width: i,
@@ -667,73 +666,73 @@ var S = n.forwardRef(({ data: e, type: r = "line", width: i = 100, height: a = 3
667
666
  }
668
667
  })
669
668
  });
670
- if (!y || !_) return /* @__PURE__ */ u("div", {
669
+ if (!y || !_) return /* @__PURE__ */ l("div", {
671
670
  ref: g,
672
- className: t("inline-flex items-center gap-2", m),
673
- children: [/* @__PURE__ */ l(C, {
674
- data: e,
671
+ className: e("inline-flex items-center gap-2", m),
672
+ children: [/* @__PURE__ */ c(S, {
673
+ data: n,
675
674
  width: i,
676
675
  height: a,
677
676
  color: o,
678
677
  type: r,
679
678
  fillColor: s,
680
- fillOpacity: c
681
- }), p && /* @__PURE__ */ l("span", {
679
+ fillOpacity: u
680
+ }), p && /* @__PURE__ */ c("span", {
682
681
  className: "text-sm font-medium",
683
682
  children: w
684
683
  })]
685
684
  });
686
685
  let { ResponsiveContainer: T, LineChart: E, BarChart: D, AreaChart: O, Line: k, Bar: A, Area: j } = _;
687
- return /* @__PURE__ */ u("div", {
686
+ return /* @__PURE__ */ l("div", {
688
687
  ref: g,
689
- className: t("inline-flex items-center gap-2", m),
688
+ className: e("inline-flex items-center gap-2", m),
690
689
  children: [
691
- /* @__PURE__ */ l("div", {
690
+ /* @__PURE__ */ c("div", {
692
691
  style: {
693
692
  width: i,
694
693
  height: a
695
694
  },
696
- children: /* @__PURE__ */ l(T, {
695
+ children: /* @__PURE__ */ c(T, {
697
696
  width: "100%",
698
697
  height: "100%",
699
- children: r === "bar" ? /* @__PURE__ */ l(D, {
698
+ children: r === "bar" ? /* @__PURE__ */ c(D, {
700
699
  data: b,
701
- children: /* @__PURE__ */ l(A, {
700
+ children: /* @__PURE__ */ c(A, {
702
701
  dataKey: "value",
703
702
  fill: o,
704
703
  radius: 1,
705
704
  isAnimationActive: h
706
705
  })
707
- }) : r === "area" ? /* @__PURE__ */ u(O, {
706
+ }) : r === "area" ? /* @__PURE__ */ l(O, {
708
707
  data: b,
709
- children: [/* @__PURE__ */ l("defs", { children: /* @__PURE__ */ u("linearGradient", {
708
+ children: [/* @__PURE__ */ c("defs", { children: /* @__PURE__ */ l("linearGradient", {
710
709
  id: `sparkline-gradient-${o.replace(/[^a-z0-9]/gi, "")}`,
711
710
  x1: "0",
712
711
  y1: "0",
713
712
  x2: "0",
714
713
  y2: "1",
715
- children: [/* @__PURE__ */ l("stop", {
714
+ children: [/* @__PURE__ */ c("stop", {
716
715
  offset: "5%",
717
716
  stopColor: s || o,
718
717
  stopOpacity: .8
719
- }), /* @__PURE__ */ l("stop", {
718
+ }), /* @__PURE__ */ c("stop", {
720
719
  offset: "95%",
721
720
  stopColor: s || o,
722
721
  stopOpacity: .1
723
722
  })]
724
- }) }), /* @__PURE__ */ l(j, {
723
+ }) }), /* @__PURE__ */ c(j, {
725
724
  type: "monotone",
726
725
  dataKey: "value",
727
726
  stroke: o,
728
727
  fill: `url(#sparkline-gradient-${o.replace(/[^a-z0-9]/gi, "")})`,
729
- fillOpacity: c,
728
+ fillOpacity: u,
730
729
  strokeWidth: 1.5,
731
730
  dot: !1,
732
731
  isAnimationActive: h
733
732
  })]
734
- }) : /* @__PURE__ */ l(E, {
733
+ }) : /* @__PURE__ */ c(E, {
735
734
  data: b,
736
- children: /* @__PURE__ */ l(k, {
735
+ children: /* @__PURE__ */ c(k, {
737
736
  type: "monotone",
738
737
  dataKey: "value",
739
738
  stroke: o,
@@ -744,34 +743,34 @@ var S = n.forwardRef(({ data: e, type: r = "line", width: i = 100, height: a = 3
744
743
  })
745
744
  })
746
745
  }),
747
- d && /* @__PURE__ */ u("div", {
746
+ f && /* @__PURE__ */ l("div", {
748
747
  className: "flex flex-col text-xs text-muted-foreground",
749
- children: [/* @__PURE__ */ u("span", { children: ["↑ ", S] }), /* @__PURE__ */ u("span", { children: ["↓ ", x] })]
748
+ children: [/* @__PURE__ */ l("span", { children: ["↑ ", C] }), /* @__PURE__ */ l("span", { children: ["↓ ", x] })]
750
749
  }),
751
- p && /* @__PURE__ */ l("span", {
750
+ p && /* @__PURE__ */ c("span", {
752
751
  className: "text-sm font-medium",
753
752
  children: w
754
753
  })
755
754
  ]
756
755
  });
757
756
  });
758
- S.displayName = "WakaSparkline";
759
- function C({ data: e, width: t, height: n, color: r, type: i, fillColor: a, fillOpacity: o }) {
760
- let s = t - 4, c = n - 4, d = Math.min(...e), f = Math.max(...e) - d || 1, p = e.map((t, n) => ({
757
+ x.displayName = "WakaSparkline";
758
+ function S({ data: e, width: t, height: n, color: r, type: i, fillColor: a, fillOpacity: o }) {
759
+ let s = t - 4, u = n - 4, d = Math.min(...e), f = Math.max(...e) - d || 1, p = e.map((t, n) => ({
761
760
  x: 2 + n / (e.length - 1 || 1) * s,
762
- y: 2 + c - (t - d) / f * c,
761
+ y: 2 + u - (t - d) / f * u,
763
762
  value: t
764
763
  }));
765
764
  if (i === "bar") {
766
765
  let i = s / e.length - 1;
767
- return /* @__PURE__ */ l("svg", {
766
+ return /* @__PURE__ */ c("svg", {
768
767
  width: t,
769
768
  height: n,
770
769
  children: e.map((e, t) => {
771
- let n = (e - d) / f * c;
772
- return /* @__PURE__ */ l("rect", {
770
+ let n = (e - d) / f * u;
771
+ return /* @__PURE__ */ c("rect", {
773
772
  x: 2 + t * (i + 1),
774
- y: 2 + c - n,
773
+ y: 2 + u - n,
775
774
  width: i,
776
775
  height: n,
777
776
  fill: r,
@@ -781,23 +780,23 @@ function C({ data: e, width: t, height: n, color: r, type: i, fillColor: a, fill
781
780
  });
782
781
  }
783
782
  let m = p.map((e, t) => `${t === 0 ? "M" : "L"} ${e.x} ${e.y}`).join(" ");
784
- return i === "area" ? /* @__PURE__ */ u("svg", {
783
+ return i === "area" ? /* @__PURE__ */ l("svg", {
785
784
  width: t,
786
785
  height: n,
787
- children: [/* @__PURE__ */ l("path", {
786
+ children: [/* @__PURE__ */ c("path", {
788
787
  d: `${m} L ${p[p.length - 1].x} ${n - 2} L 2 ${n - 2} Z`,
789
788
  fill: a || r,
790
789
  fillOpacity: o
791
- }), /* @__PURE__ */ l("path", {
790
+ }), /* @__PURE__ */ c("path", {
792
791
  d: m,
793
792
  fill: "none",
794
793
  stroke: r,
795
794
  strokeWidth: 1.5
796
795
  })]
797
- }) : /* @__PURE__ */ l("svg", {
796
+ }) : /* @__PURE__ */ c("svg", {
798
797
  width: t,
799
798
  height: n,
800
- children: /* @__PURE__ */ l("path", {
799
+ children: /* @__PURE__ */ c("path", {
801
800
  d: m,
802
801
  fill: "none",
803
802
  stroke: r,
@@ -807,12 +806,11 @@ function C({ data: e, width: t, height: n, color: r, type: i, fillColor: a, fill
807
806
  }
808
807
  //#endregion
809
808
  //#region src/components/waka-charts/WakaMiniChart.tsx
810
- e();
811
- var w = n.forwardRef(({ data: e, type: r = "sparkline", width: i = 80, height: a = 24, color: d, showTrend: f = !0, valueFormatter: p, className: m }, h) => {
812
- let g = n.useMemo(() => !e || e.length === 0 ? [] : typeof e[0] == "number" ? e : e.map((e) => {
809
+ var C = t.forwardRef(({ data: n, type: r = "sparkline", width: i = 80, height: u = 24, color: d, showTrend: f = !0, valueFormatter: p, className: m }, h) => {
810
+ let g = t.useMemo(() => !n || n.length === 0 ? [] : typeof n[0] == "number" ? n : n.map((e) => {
813
811
  let t = e.value ?? Object.values(e).find((e) => typeof e == "number");
814
812
  return typeof t == "number" ? t : 0;
815
- }), [e]), { trend: _, trendPercent: v, currentValue: y } = n.useMemo(() => {
813
+ }), [n]), { trend: _, trendPercent: v, currentValue: y } = t.useMemo(() => {
816
814
  if (g.length < 2) return {
817
815
  trend: "neutral",
818
816
  trendPercent: 0,
@@ -824,29 +822,29 @@ var w = n.forwardRef(({ data: e, type: r = "sparkline", width: i = 80, height: a
824
822
  trendPercent: r,
825
823
  currentValue: t
826
824
  };
827
- }, [g]), b = n.useMemo(() => d || (_ === "up" ? "hsl(var(--chart-2, 142 76% 36%))" : _ === "down" ? "hsl(var(--destructive, 0 84% 60%))" : "hsl(var(--muted-foreground, 220 9% 46%))"), [d, _]);
828
- return g.length === 0 ? /* @__PURE__ */ l("div", {
825
+ }, [g]), b = t.useMemo(() => d || (_ === "up" ? "hsl(var(--chart-2, 142 76% 36%))" : _ === "down" ? "hsl(var(--destructive, 0 84% 60%))" : "hsl(var(--muted-foreground, 220 9% 46%))"), [d, _]);
826
+ return g.length === 0 ? /* @__PURE__ */ c("div", {
829
827
  ref: h,
830
- className: t("flex items-center gap-1 text-muted-foreground", m),
831
- children: /* @__PURE__ */ l(o, { className: "h-3 w-3" })
832
- }) : (p ? p(y) : y.toLocaleString(), /* @__PURE__ */ u("div", {
828
+ className: e("flex items-center gap-1 text-muted-foreground", m),
829
+ children: /* @__PURE__ */ c(a, { className: "h-3 w-3" })
830
+ }) : (p ? p(y) : y.toLocaleString(), /* @__PURE__ */ l("div", {
833
831
  ref: h,
834
- className: t("flex items-center gap-2", m),
835
- children: [/* @__PURE__ */ l(S, {
832
+ className: e("flex items-center gap-2", m),
833
+ children: [/* @__PURE__ */ c(x, {
836
834
  data: g,
837
835
  type: r === "sparkline" ? "line" : r,
838
836
  width: i,
839
- height: a,
837
+ height: u,
840
838
  color: b,
841
839
  animation: !1
842
- }), f && /* @__PURE__ */ u("div", {
840
+ }), f && /* @__PURE__ */ l("div", {
843
841
  className: "flex items-center gap-1",
844
842
  children: [
845
- _ === "up" && /* @__PURE__ */ l(c, { className: "h-3 w-3 text-green-600 dark:text-green-400" }),
846
- _ === "down" && /* @__PURE__ */ l(s, { className: "h-3 w-3 text-red-600 dark:text-red-400" }),
847
- _ === "neutral" && /* @__PURE__ */ l(o, { className: "h-3 w-3 text-muted-foreground" }),
848
- /* @__PURE__ */ u("span", {
849
- className: t("text-xs font-medium", _ === "up" && "text-green-600 dark:text-green-400", _ === "down" && "text-red-600 dark:text-red-400", _ === "neutral" && "text-muted-foreground"),
843
+ _ === "up" && /* @__PURE__ */ c(s, { className: "h-3 w-3 text-green-600 dark:text-green-400" }),
844
+ _ === "down" && /* @__PURE__ */ c(o, { className: "h-3 w-3 text-red-600 dark:text-red-400" }),
845
+ _ === "neutral" && /* @__PURE__ */ c(a, { className: "h-3 w-3 text-muted-foreground" }),
846
+ /* @__PURE__ */ l("span", {
847
+ className: e("text-xs font-medium", _ === "up" && "text-green-600 dark:text-green-400", _ === "down" && "text-red-600 dark:text-red-400", _ === "neutral" && "text-muted-foreground"),
850
848
  children: [
851
849
  _ !== "neutral" && (v > 0 ? "+" : ""),
852
850
  v.toFixed(1),
@@ -857,10 +855,10 @@ var w = n.forwardRef(({ data: e, type: r = "sparkline", width: i = 80, height: a
857
855
  })]
858
856
  }));
859
857
  });
860
- w.displayName = "WakaMiniChart";
858
+ C.displayName = "WakaMiniChart";
861
859
  //#endregion
862
860
  //#region src/components/waka-charts/dataTableHelpers.ts
863
- function T(e) {
861
+ function w(e) {
864
862
  let { accessorKey: t, header: n = String(t), chartType: r = "sparkline", width: i = 100, height: a = 24, color: o, showValue: s = !1, valueFormatter: c } = e;
865
863
  return {
866
864
  accessorKey: t,
@@ -890,7 +888,7 @@ function T(e) {
890
888
  }
891
889
  };
892
890
  }
893
- var E = {
891
+ var T = {
894
892
  cell: (e) => {
895
893
  if (!Array.isArray(e)) return null;
896
894
  let t = [];
@@ -905,13 +903,13 @@ var E = {
905
903
  size: 100,
906
904
  enableSorting: !1,
907
905
  enableFiltering: !1
908
- }, D = [
906
+ }, E = [
909
907
  "hsl(var(--chart-1))",
910
908
  "hsl(var(--chart-2))",
911
909
  "hsl(var(--chart-3))",
912
910
  "hsl(var(--chart-4))",
913
911
  "hsl(var(--chart-5))"
914
- ], O = {
912
+ ], D = {
915
913
  sm: {
916
914
  width: "100%",
917
915
  height: 150
@@ -934,4 +932,4 @@ var E = {
934
932
  }
935
933
  };
936
934
  //#endregion
937
- export { w as a, b as c, g as d, m as f, E as i, y as l, d as m, D as n, S as o, f as p, T as r, x as s, O as t, v as u };
935
+ export { C as a, y as c, h as d, p as f, T as i, v as l, u as m, E as n, x as o, d as p, w as r, b as s, D as t, _ as u };