themelia-react-ui 2.0.4 → 2.0.5

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 (588) hide show
  1. package/CHANGELOG.md +135 -0
  2. package/README.md +113 -18
  3. package/dist/{accordion-96o0pN62.js → accordion-B9MHG0cT.js} +11 -11
  4. package/dist/accordion-B9MHG0cT.js.map +1 -0
  5. package/dist/{action-menu-CHgs8vmj.js → action-menu-Dr8K-ghE.js} +48 -45
  6. package/dist/action-menu-Dr8K-ghE.js.map +1 -0
  7. package/dist/{affordance-geometry.generated-B8yGOr8-.js → affordance-geometry.generated-P-aVJisu.js} +36 -36
  8. package/dist/affordance-geometry.generated-P-aVJisu.js.map +1 -0
  9. package/dist/{ai-artifact-BZUGwBq6.js → ai-artifact-C58tQcBy.js} +210 -174
  10. package/dist/ai-artifact-C58tQcBy.js.map +1 -0
  11. package/dist/app-shell-B_IuNWOo.js +321 -0
  12. package/dist/app-shell-B_IuNWOo.js.map +1 -0
  13. package/dist/{attachment-DkoqHPPl.js → attachment-Dg_69lPS.js} +9 -9
  14. package/dist/{attachment-DkoqHPPl.js.map → attachment-Dg_69lPS.js.map} +1 -1
  15. package/dist/{auth-D2FVZ1MH.js → auth-DTkkshS8.js} +43 -46
  16. package/dist/auth-DTkkshS8.js.map +1 -0
  17. package/dist/{avatar-DWO_HHhB.js → avatar-CeZaFmNH.js} +8 -8
  18. package/dist/avatar-CeZaFmNH.js.map +1 -0
  19. package/dist/{badge-DErMA7ul.js → badge-xIiV_E7f.js} +5 -5
  20. package/dist/{badge-DErMA7ul.js.map → badge-xIiV_E7f.js.map} +1 -1
  21. package/dist/base/accordion.js +1 -1
  22. package/dist/base/action-menu.js +1 -1
  23. package/dist/base/attachment.js +1 -1
  24. package/dist/base/avatar.js +1 -1
  25. package/dist/base/badge.js +1 -1
  26. package/dist/base/batch-action-bar.js +1 -1
  27. package/dist/base/buttons.js +1 -1
  28. package/dist/base/cards.js +2 -2
  29. package/dist/base/carousel.js +3 -3
  30. package/dist/base/cascader.js +2 -372
  31. package/dist/base/chart.js +1 -1
  32. package/dist/base/choice-inputs.js +2 -2
  33. package/dist/base/code-block.js +1 -1
  34. package/dist/base/combobox.js +2 -2
  35. package/dist/base/command.js +1 -1
  36. package/dist/base/copyable.js +1 -1
  37. package/dist/base/date-pickers.js +2 -2
  38. package/dist/base/display.js +6 -6
  39. package/dist/base/feedback.js +3 -3
  40. package/dist/base/forms-numeric.js +1 -1
  41. package/dist/base/forms.js +2 -2
  42. package/dist/base/inline-edit.js +10 -10
  43. package/dist/base/item.js +1 -1
  44. package/dist/base/media-gallery.js +1 -1
  45. package/dist/base/metadata-list.js +1 -1
  46. package/dist/base/navigation.js +7 -7
  47. package/dist/base/popover-menu.js +1 -1
  48. package/dist/base/popover.js +1 -1
  49. package/dist/base/qr-code.js +1 -1
  50. package/dist/base/repeaters.js +12 -12
  51. package/dist/base/repeaters.js.map +1 -1
  52. package/dist/base/sheet.js +1 -1
  53. package/dist/base/sidebar.js +2 -2
  54. package/dist/base/signature-pad.js +7 -7
  55. package/dist/base/signature-pad.js.map +1 -1
  56. package/dist/base/skeleton.js +1 -1
  57. package/dist/base/spinner.js +4 -4
  58. package/dist/base/structure.js +1 -1
  59. package/dist/base/table.js +1 -1
  60. package/dist/base/text-inputs.js +2 -2
  61. package/dist/base/toaster.js +36 -36
  62. package/dist/base/toaster.js.map +1 -1
  63. package/dist/base/tree.js +1 -1
  64. package/dist/base/upload-queue.js +1 -1
  65. package/dist/base/upload.js +3 -3
  66. package/dist/base/value-inputs.js +1 -1
  67. package/dist/{batch-action-bar-CdfIkCsV.js → batch-action-bar-Cb8cuvyy.js} +6 -6
  68. package/dist/batch-action-bar-Cb8cuvyy.js.map +1 -0
  69. package/dist/blocks/admin.js +21 -21
  70. package/dist/blocks/admin.js.map +1 -1
  71. package/dist/blocks/ai.js +230 -216
  72. package/dist/blocks/ai.js.map +1 -1
  73. package/dist/blocks/analytics/usage-card.js +1 -1
  74. package/dist/blocks/analytics.js +325 -306
  75. package/dist/blocks/analytics.js.map +1 -1
  76. package/dist/blocks/collaboration.js +1 -1
  77. package/dist/blocks/commerce/receipt.js +1 -1
  78. package/dist/blocks/commerce.js +1259 -1184
  79. package/dist/blocks/commerce.js.map +1 -1
  80. package/dist/blocks/data-display.js +2 -2
  81. package/dist/blocks/onboarding.js +6 -6
  82. package/dist/blocks/onboarding.js.map +1 -1
  83. package/dist/blocks/planning.js +11 -11
  84. package/dist/blocks/timelines.js +1 -1
  85. package/dist/{breadcrumbs-B-WFKecD.js → breadcrumbs-J-K2kl4c.js} +6 -6
  86. package/dist/{breadcrumbs-B-WFKecD.js.map → breadcrumbs-J-K2kl4c.js.map} +1 -1
  87. package/dist/{button-DkmK-z8E.js → button-S2Cubiiz.js} +3 -3
  88. package/dist/button-S2Cubiiz.js.map +1 -0
  89. package/dist/{buttons-BbfzgczK.js → buttons-BedGfygC.js} +16 -16
  90. package/dist/buttons-BedGfygC.js.map +1 -0
  91. package/dist/cards-rNX1M4Xn.js +69 -0
  92. package/dist/cards-rNX1M4Xn.js.map +1 -0
  93. package/dist/cascader-B1MiqkBq.js +439 -0
  94. package/dist/cascader-B1MiqkBq.js.map +1 -0
  95. package/dist/chart-Darg_0Kv.js +162 -0
  96. package/dist/chart-Darg_0Kv.js.map +1 -0
  97. package/dist/{checkbox-CzYUTPeJ.js → checkbox-fflqmODR.js} +2 -2
  98. package/dist/{checkbox-CzYUTPeJ.js.map → checkbox-fflqmODR.js.map} +1 -1
  99. package/dist/{choice-inputs-JLtij2y4.js → choice-inputs-zUgBZfE4.js} +258 -257
  100. package/dist/choice-inputs-zUgBZfE4.js.map +1 -0
  101. package/dist/{code-block-CGNaUtAE.js → code-block-BzmM9Eig.js} +8 -8
  102. package/dist/code-block-BzmM9Eig.js.map +1 -0
  103. package/dist/{collapsible-Do4G0zcC.js → collapsible-BkAI_XD4.js} +5 -5
  104. package/dist/{collapsible-Do4G0zcC.js.map → collapsible-BkAI_XD4.js.map} +1 -1
  105. package/dist/{collection-content-C0e8SsTm.js → collection-content-gDh1v6O4.js} +3 -3
  106. package/dist/{collection-content-C0e8SsTm.js.map → collection-content-gDh1v6O4.js.map} +1 -1
  107. package/dist/combobox-BEx0vJgF.js +362 -0
  108. package/dist/combobox-BEx0vJgF.js.map +1 -0
  109. package/dist/{combobox-CBJDs6w_.js → combobox-BwzoXFSG.js} +254 -247
  110. package/dist/combobox-BwzoXFSG.js.map +1 -0
  111. package/dist/{command-D8NrBj-b.js → command-CrlPIL6m.js} +11 -11
  112. package/dist/command-CrlPIL6m.js.map +1 -0
  113. package/dist/{comments-Di4w0H_S.js → comments-Dmpp0YIc.js} +29 -29
  114. package/dist/{comments-Di4w0H_S.js.map → comments-Dmpp0YIc.js.map} +1 -1
  115. package/dist/components/base/action-menu/action-menu.d.ts +7 -1
  116. package/dist/components/base/buttons/button-group.recipes.d.ts +2 -2
  117. package/dist/components/base/cards/card.recipes.d.ts +6 -4
  118. package/dist/components/base/cards/partials/card-primitives.d.ts +9 -2
  119. package/dist/components/base/cards/partials/smart-card-header-row.d.ts +3 -1
  120. package/dist/components/base/cards/smart-card.types.d.ts +3 -4
  121. package/dist/components/base/cascader/cascader-panel.d.ts +76 -0
  122. package/dist/components/base/chart/chart.d.ts +6 -1
  123. package/dist/components/base/choice-inputs/choice-types.d.ts +1 -1
  124. package/dist/components/base/combobox/index.d.ts +4 -2
  125. package/dist/components/base/feedback/alert.d.ts +1 -1
  126. package/dist/components/base/forms/form-sizing.d.ts +7 -7
  127. package/dist/components/base/forms/workflow.d.ts +7 -1
  128. package/dist/components/base/forms-numeric/coordinates-input.d.ts +4 -0
  129. package/dist/components/base/metadata-list/metadata-list.d.ts +1 -1
  130. package/dist/components/base/navigation/dropdown-menu.d.ts +1 -1
  131. package/dist/components/base/navigation/page-header/page-header-commands.d.ts +14 -7
  132. package/dist/components/base/navigation/page-header/page-header.d.ts +10 -3
  133. package/dist/components/base/popover/popover.d.ts +3 -3
  134. package/dist/components/base/popover/popover.recipes.d.ts +10 -6
  135. package/dist/components/base/sheet/sheet.d.ts +2 -0
  136. package/dist/components/base/sidebar/index.d.ts +1 -1
  137. package/dist/components/base/sidebar/sidebar.d.ts +27 -5
  138. package/dist/components/base/toaster/index.d.ts +1 -0
  139. package/dist/components/blocks/ai/ai-file-tree/types.d.ts +1 -1
  140. package/dist/components/blocks/ai/ai-tool-call/types.d.ts +3 -1
  141. package/dist/components/blocks/ai/ai.strings.d.ts +2 -0
  142. package/dist/components/blocks/analytics/metric-comparison/metric-comparison.d.ts +2 -0
  143. package/dist/components/blocks/analytics/usage-card/usage-card.strings.d.ts +2 -0
  144. package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +1 -1
  145. package/dist/components/blocks/commerce/cart-summary/types.d.ts +3 -1
  146. package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +1 -1
  147. package/dist/components/blocks/commerce/discount-stack/types.d.ts +3 -1
  148. package/dist/components/blocks/commerce/fulfillment-group/fulfillment-group.d.ts +1 -1
  149. package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +11 -2
  150. package/dist/components/blocks/commerce/index.d.ts +7 -6
  151. package/dist/components/blocks/commerce/inventory-section/inventory-section.d.ts +1 -1
  152. package/dist/components/blocks/commerce/inventory-section/types.d.ts +7 -2
  153. package/dist/components/blocks/commerce/invoice-header/index.d.ts +2 -1
  154. package/dist/components/blocks/commerce/invoice-header/invoice-header.d.ts +1 -1
  155. package/dist/components/blocks/commerce/invoice-header/types.d.ts +20 -6
  156. package/dist/components/blocks/commerce/invoice-line-items/invoice-line-items.d.ts +1 -1
  157. package/dist/components/blocks/commerce/invoice-line-items/types.d.ts +24 -7
  158. package/dist/components/blocks/commerce/invoice-mini/index.d.ts +2 -1
  159. package/dist/components/blocks/commerce/invoice-mini/types.d.ts +7 -1
  160. package/dist/components/blocks/commerce/order-customer/order-customer.d.ts +1 -1
  161. package/dist/components/blocks/commerce/order-customer/types.d.ts +9 -1
  162. package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +1 -1
  163. package/dist/components/blocks/commerce/refund-status/types.d.ts +3 -1
  164. package/dist/components/blocks/commerce/shipment-tracking/shipment-tracking.d.ts +1 -1
  165. package/dist/components/blocks/commerce/shipment-tracking/types.d.ts +3 -1
  166. package/dist/components/blocks/commerce/tax-breakdown/tax-breakdown.d.ts +1 -1
  167. package/dist/components/blocks/commerce/tax-breakdown/types.d.ts +3 -1
  168. package/dist/components/features/activities/activities.types.d.ts +8 -2
  169. package/dist/components/features/activities/partials/activity-marker.d.ts +7 -3
  170. package/dist/components/features/activities/partials/activity-row.d.ts +24 -0
  171. package/dist/components/features/event-calendar/colors.d.ts +2 -2
  172. package/dist/components/features/event-calendar/event-calendar.types.d.ts +4 -0
  173. package/dist/components/features/filters/facets/select-facet.d.ts +2 -1
  174. package/dist/components/features/filters/filters.strings.d.ts +4 -0
  175. package/dist/components/features/filters/filters.types.d.ts +3 -0
  176. package/dist/components/features/filters/partials/filter-editor-header.d.ts +16 -0
  177. package/dist/components/features/filters/partials/filter-popover-content.d.ts +1 -1
  178. package/dist/components/features/filters/partials/nested-filter-options.d.ts +21 -0
  179. package/dist/components/features/filters/partials/regular-filter-content.d.ts +2 -1
  180. package/dist/components/features/filters/utils/filter-utils.d.ts +21 -3
  181. package/dist/components/features/global-search/global-search.types.d.ts +2 -0
  182. package/dist/components/features/global-search/partials/global-search-input.d.ts +10 -0
  183. package/dist/components/features/global-search/partials/global-search-result-row.d.ts +7 -1
  184. package/dist/components/features/media-library/media-library.strings.d.ts +2 -0
  185. package/dist/components/features/media-library/media-library.types.d.ts +14 -4
  186. package/dist/components/features/media-library/partials/media-library-partials.d.ts +1 -1
  187. package/dist/components/features/products/components/product-options-matrix.d.ts +1 -1
  188. package/dist/components/features/products/components/product-variant-editor.d.ts +1 -1
  189. package/dist/components/features/products/components/product-variants-manager.d.ts +1 -1
  190. package/dist/components/features/products/products.strings.d.ts +9 -1
  191. package/dist/components/features/products/products.types.d.ts +43 -6
  192. package/dist/components/features/resource/resource.d.ts +5 -1
  193. package/dist/components/features/resource/resource.types.d.ts +12 -1
  194. package/dist/components/features/rich-text-editor/partials/image-uploads.d.ts +1 -1
  195. package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +12 -2
  196. package/dist/components/features/table/partials/resource-cell.d.ts +22 -5
  197. package/dist/components/features/table/table.types.d.ts +1 -1
  198. package/dist/components/layout/app-shell/app-shell.types.d.ts +35 -6
  199. package/dist/components/layout/app-shell/index.d.ts +1 -1
  200. package/dist/components/layout/app-shell/shell-regions.d.ts +27 -0
  201. package/dist/components/layout/app-shell/sidebar-inset-layout.d.ts +1 -1
  202. package/dist/components/layout/app-shell/stacked-layout.d.ts +1 -1
  203. package/dist/components/layout/app-shell/topbar-sidebar-layout.d.ts +1 -1
  204. package/dist/components/layout/containers/two-column-layout.d.ts +2 -0
  205. package/dist/components/layout/header/header.recipes.d.ts +6 -0
  206. package/dist/components/layout/header/header.types.d.ts +6 -6
  207. package/dist/components/layout/navigation/section-nav/section-nav.d.ts +5 -0
  208. package/dist/components/layout/page/index.d.ts +2 -1
  209. package/dist/components/layout/page/page.d.ts +1 -0
  210. package/dist/components/layout/page/page.strings.d.ts +11 -0
  211. package/dist/components/layout/page/page.types.d.ts +69 -17
  212. package/dist/components/layout/page/partials/page-header.d.ts +1 -1
  213. package/dist/components/layout/settings/settings.d.ts +9 -2
  214. package/dist/components/layout/sidebar/app-sidebar.d.ts +1 -1
  215. package/dist/components/layout/sidebar/components/sidebar-grouped-navigation.d.ts +1 -1
  216. package/dist/components/layout/sidebar/components/sidebar-navigation.d.ts +1 -1
  217. package/dist/components/layout/sidebar/index.d.ts +2 -1
  218. package/dist/components/layout/sidebar/sidebar-navigation-rail.d.ts +36 -0
  219. package/dist/components/layout/sidebar/sidebar.context.d.ts +5 -7
  220. package/dist/components/layout/sidebar/sidebar.types.d.ts +48 -10
  221. package/dist/components/layout/sidebar/sidebar.utils.d.ts +9 -1
  222. package/dist/components/layout/workspace/workspace.types.d.ts +8 -1
  223. package/dist/components/ui/alert-dialog.d.ts +2 -2
  224. package/dist/components/ui/combobox.d.ts +1 -1
  225. package/dist/components/ui/dialog.d.ts +2 -2
  226. package/dist/components/ui/overlay-layer.d.ts +18 -0
  227. package/dist/components/ui/sheet.d.ts +5 -1
  228. package/dist/components/ui/sidebar-state.d.ts +82 -0
  229. package/dist/components/ui/sidebar.d.ts +5 -17
  230. package/dist/{containers-CRmHf7GP.js → containers-CIxwbZt5.js} +26 -18
  231. package/dist/containers-CIxwbZt5.js.map +1 -0
  232. package/dist/{control-group-recipes-DBXmfh2E.js → control-group-recipes-fMuFo0H7.js} +6 -6
  233. package/dist/control-group-recipes-fMuFo0H7.js.map +1 -0
  234. package/dist/{copyable-CnGCZdX4.js → copyable-DIznBqiT.js} +7 -7
  235. package/dist/{copyable-CnGCZdX4.js.map → copyable-DIznBqiT.js.map} +1 -1
  236. package/dist/{data-display-D4oujtx0.js → data-display-BdgCAw8T.js} +268 -277
  237. package/dist/data-display-BdgCAw8T.js.map +1 -0
  238. package/dist/{date-Q7jnXxpk.js → date-Cq8ioE4o.js} +5 -5
  239. package/dist/{date-Q7jnXxpk.js.map → date-Cq8ioE4o.js.map} +1 -1
  240. package/dist/{date-picker-zOt1oNss.js → date-picker-RlIzKom_.js} +446 -437
  241. package/dist/date-picker-RlIzKom_.js.map +1 -0
  242. package/dist/{date-pickers-cj8IXbDC.js → date-pickers-DY-CpXS1.js} +12 -12
  243. package/dist/{date-pickers-cj8IXbDC.js.map → date-pickers-DY-CpXS1.js.map} +1 -1
  244. package/dist/{display-BB4BL_-K.js → display-KsZLw9Ov.js} +9 -9
  245. package/dist/{display-BB4BL_-K.js.map → display-KsZLw9Ov.js.map} +1 -1
  246. package/dist/dropdown-menu-CLs8Lihj.js +194 -0
  247. package/dist/dropdown-menu-CLs8Lihj.js.map +1 -0
  248. package/dist/features/activities.js +302 -253
  249. package/dist/features/activities.js.map +1 -1
  250. package/dist/features/ai-chat.js +15 -14
  251. package/dist/features/ai-chat.js.map +1 -1
  252. package/dist/features/appointment-calendar.js +22 -22
  253. package/dist/features/appointment-calendar.js.map +1 -1
  254. package/dist/features/async-preview.js +11 -10
  255. package/dist/features/async-preview.js.map +1 -1
  256. package/dist/features/combobox.js +1 -1
  257. package/dist/features/comments.js +1 -1
  258. package/dist/features/data-view.js +13 -13
  259. package/dist/features/data-view.js.map +1 -1
  260. package/dist/features/email-composer.js +237 -238
  261. package/dist/features/email-composer.js.map +1 -1
  262. package/dist/features/event-calendar.js +140 -146
  263. package/dist/features/event-calendar.js.map +1 -1
  264. package/dist/features/filters.js +1 -1
  265. package/dist/features/global-search.js +167 -138
  266. package/dist/features/global-search.js.map +1 -1
  267. package/dist/features/kanban.js +6 -7
  268. package/dist/features/kanban.js.map +1 -1
  269. package/dist/features/map.js +269 -260
  270. package/dist/features/map.js.map +1 -1
  271. package/dist/features/media-library.js +375 -326
  272. package/dist/features/media-library.js.map +1 -1
  273. package/dist/features/mentions.js +1 -1
  274. package/dist/features/overlays.js +1 -1
  275. package/dist/features/products.js +1266 -1193
  276. package/dist/features/products.js.map +1 -1
  277. package/dist/features/questionnaire.js +13 -13
  278. package/dist/features/questionnaire.js.map +1 -1
  279. package/dist/features/resource-assignment.js +8 -8
  280. package/dist/features/resource.js +69 -66
  281. package/dist/features/resource.js.map +1 -1
  282. package/dist/features/rich-text-editor.js +2 -2
  283. package/dist/features/schema-form.js +13 -13
  284. package/dist/features/suggestions.js +3 -3
  285. package/dist/features/sync.js +3 -3
  286. package/dist/features/table.js +1 -1
  287. package/dist/features/theme-tweaker.js +94 -95
  288. package/dist/features/theme-tweaker.js.map +1 -1
  289. package/dist/{feedback-DZNL5Lg1.js → feedback-Dm4izqFn.js} +80 -79
  290. package/dist/feedback-Dm4izqFn.js.map +1 -0
  291. package/dist/{field-affordance-recipes-DjwGx8eM.js → field-affordance-recipes-DWcNcOjh.js} +4 -4
  292. package/dist/field-affordance-recipes-DWcNcOjh.js.map +1 -0
  293. package/dist/{filters-BcT-uoFy.js → filters-DzgSJpMK.js} +693 -645
  294. package/dist/filters-DzgSJpMK.js.map +1 -0
  295. package/dist/{form-field-CsgRmdit.js → form-field-BriWAXyg.js} +6 -6
  296. package/dist/{form-field-CsgRmdit.js.map → form-field-BriWAXyg.js.map} +1 -1
  297. package/dist/{form-sizing-NXgjkmBG.js → form-sizing-Bs2qFUeE.js} +4 -4
  298. package/dist/form-sizing-Bs2qFUeE.js.map +1 -0
  299. package/dist/{forms-BV5m5aQF.js → forms-C0RGnJTe.js} +17 -13
  300. package/dist/forms-C0RGnJTe.js.map +1 -0
  301. package/dist/{forms-numeric-Cd33AKbD.js → forms-numeric-DIhghX1Q.js} +86 -82
  302. package/dist/forms-numeric-DIhghX1Q.js.map +1 -0
  303. package/dist/{header-BA697l4a.js → header-DMMxG__r.js} +67 -63
  304. package/dist/header-DMMxG__r.js.map +1 -0
  305. package/dist/header.recipes-BigdJjw1.js +6 -0
  306. package/dist/header.recipes-BigdJjw1.js.map +1 -0
  307. package/dist/{hooks-BQ-L7Uu2.js → hooks-DB6CJ4MR.js} +26 -14
  308. package/dist/hooks-DB6CJ4MR.js.map +1 -0
  309. package/dist/{icon-badge-COWbCCWu.js → icon-badge-DZF-YjQp.js} +4 -4
  310. package/dist/{icon-badge-COWbCCWu.js.map → icon-badge-DZF-YjQp.js.map} +1 -1
  311. package/dist/index.js +4 -5
  312. package/dist/{input-Cdw4k0fb.js → input-CvyDQlY7.js} +8 -8
  313. package/dist/{input-Cdw4k0fb.js.map → input-CvyDQlY7.js.map} +1 -1
  314. package/dist/input-DMBwAZmr.js +21 -0
  315. package/dist/input-DMBwAZmr.js.map +1 -0
  316. package/dist/{item-BvZ2DR_x.js → item-DjCcM18E.js} +16 -16
  317. package/dist/item-DjCcM18E.js.map +1 -0
  318. package/dist/layout/app-shell.js +1 -1
  319. package/dist/layout/auth.js +1 -1
  320. package/dist/layout/containers.js +1 -1
  321. package/dist/layout/header.js +1 -1
  322. package/dist/layout/hooks.js +1 -1
  323. package/dist/layout/navigation.js +1 -1
  324. package/dist/layout/page.js +2 -2
  325. package/dist/layout/settings.js +1 -1
  326. package/dist/layout/sidebar.js +3 -3
  327. package/dist/layout/workspace.js +1 -1
  328. package/dist/layout.js +11 -11
  329. package/dist/lib/affordance-geometry.generated.d.ts +35 -35
  330. package/dist/lib/control-group-recipes.d.ts +5 -5
  331. package/dist/lib/field-affordance-recipes.d.ts +2 -2
  332. package/dist/lib/motion-recipes.d.ts +3 -0
  333. package/dist/lib/navigation-row-recipes.d.ts +7 -7
  334. package/dist/lib/overlay-anatomy-recipes.d.ts +3 -3
  335. package/dist/lib/portal-recipes.d.ts +3 -0
  336. package/dist/lib/token-merge.generated.d.ts +13 -10
  337. package/dist/lib/utils.js +1 -1
  338. package/dist/map-demo-tile.svg +1 -1
  339. package/dist/{media-gallery-CSl5W1Fy.js → media-gallery-C-vChPmE.js} +6 -6
  340. package/dist/{media-gallery-CSl5W1Fy.js.map → media-gallery-C-vChPmE.js.map} +1 -1
  341. package/dist/{mentions-RKOQaaIB.js → mentions-0_4nWuI-.js} +10 -10
  342. package/dist/{mentions-RKOQaaIB.js.map → mentions-0_4nWuI-.js.map} +1 -1
  343. package/dist/{message-INU2xsxu.js → message-g8p7eVtN.js} +7 -7
  344. package/dist/message-g8p7eVtN.js.map +1 -0
  345. package/dist/{metadata-list-qVV7AVxa.js → metadata-list-C3MkU-Om.js} +64 -64
  346. package/dist/metadata-list-C3MkU-Om.js.map +1 -0
  347. package/dist/{motion-recipes-ChBg4HBq.js → motion-recipes-DitYv6P2.js} +10 -2
  348. package/dist/motion-recipes-DitYv6P2.js.map +1 -0
  349. package/dist/navigation-C90-oQFq.js +255 -0
  350. package/dist/navigation-C90-oQFq.js.map +1 -0
  351. package/dist/{navigation-BQNcg1jT.js → navigation-DaRjthVk.js} +101 -82
  352. package/dist/navigation-DaRjthVk.js.map +1 -0
  353. package/dist/{navigation-row-recipes-WZEs-hYo.js → navigation-row-recipes-BGVLvU_O.js} +9 -9
  354. package/dist/navigation-row-recipes-BGVLvU_O.js.map +1 -0
  355. package/dist/{number-E_OiIfJz.js → number-CRU3kGuk.js} +5 -5
  356. package/dist/{number-E_OiIfJz.js.map → number-CRU3kGuk.js.map} +1 -1
  357. package/dist/overflow-tab-bar-IVFVQFV6.js +172 -0
  358. package/dist/overflow-tab-bar-IVFVQFV6.js.map +1 -0
  359. package/dist/overlays-BSgCtM2v.js +1013 -0
  360. package/dist/overlays-BSgCtM2v.js.map +1 -0
  361. package/dist/page-DUUKDAjo.js +331 -0
  362. package/dist/page-DUUKDAjo.js.map +1 -0
  363. package/dist/page-header-commands-7P3sfE9u.js +193 -0
  364. package/dist/page-header-commands-7P3sfE9u.js.map +1 -0
  365. package/dist/{pagination-Ch8X_47u.js → pagination-CgCjElfu.js} +7 -7
  366. package/dist/{pagination-Ch8X_47u.js.map → pagination-CgCjElfu.js.map} +1 -1
  367. package/dist/popover-B85RenIl.js +201 -0
  368. package/dist/popover-B85RenIl.js.map +1 -0
  369. package/dist/{popover-menu-BYaCdFhf.js → popover-menu-DlnQ2zlR.js} +7 -7
  370. package/dist/{popover-menu-BYaCdFhf.js.map → popover-menu-DlnQ2zlR.js.map} +1 -1
  371. package/dist/{popover.recipes-D3j8R8Yp.js → popover.recipes-DdiEp0rd.js} +18 -11
  372. package/dist/popover.recipes-DdiEp0rd.js.map +1 -0
  373. package/dist/portal-recipes-BpsV_iRw.js +9 -0
  374. package/dist/portal-recipes-BpsV_iRw.js.map +1 -0
  375. package/dist/{primitives-Du64iDbb.js → primitives-ByWgGUgt.js} +5 -5
  376. package/dist/{primitives-Du64iDbb.js.map → primitives-ByWgGUgt.js.map} +1 -1
  377. package/dist/primitives.js +4 -4
  378. package/dist/{progress-BvF2oCdV.js → progress-BJhQP9WX.js} +9 -9
  379. package/dist/{progress-BvF2oCdV.js.map → progress-BJhQP9WX.js.map} +1 -1
  380. package/dist/{receipt-D789Jwyy.js → receipt-tOc7B3hw.js} +7 -7
  381. package/dist/receipt-tOc7B3hw.js.map +1 -0
  382. package/dist/{rich-text-CLJEf76s.js → rich-text-Dth5E882.js} +3 -3
  383. package/dist/{rich-text-CLJEf76s.js.map → rich-text-Dth5E882.js.map} +1 -1
  384. package/dist/{rich-text-editor-Cm1dpUpQ.js → rich-text-editor-C1fOjBTd.js} +429 -430
  385. package/dist/rich-text-editor-C1fOjBTd.js.map +1 -0
  386. package/dist/{rich-text-editor-toolbar-L__e4x47.js → rich-text-editor-toolbar-laT3tpBT.js} +32 -28
  387. package/dist/rich-text-editor-toolbar-laT3tpBT.js.map +1 -0
  388. package/dist/{scroll-area-La5RXsEk.js → scroll-area-B0dB2cBi.js} +2 -2
  389. package/dist/{scroll-area-La5RXsEk.js.map → scroll-area-B0dB2cBi.js.map} +1 -1
  390. package/dist/{separator-DAEV0w65.js → separator-Bb17I4pu.js} +2 -2
  391. package/dist/{separator-DAEV0w65.js.map → separator-Bb17I4pu.js.map} +1 -1
  392. package/dist/{separator-GNfPG-90.js → separator-Ct_WSWTJ.js} +3 -3
  393. package/dist/{separator-GNfPG-90.js.map → separator-Ct_WSWTJ.js.map} +1 -1
  394. package/dist/services/actions.js +1 -1
  395. package/dist/{settings-BA2iboic.js → settings-Bar5wiSo.js} +31 -38
  396. package/dist/settings-Bar5wiSo.js.map +1 -0
  397. package/dist/sheet-BGPERY55.js +250 -0
  398. package/dist/sheet-BGPERY55.js.map +1 -0
  399. package/dist/sidebar-D-JYMMbY.js +686 -0
  400. package/dist/sidebar-D-JYMMbY.js.map +1 -0
  401. package/dist/sidebar-f9gRWXIR.js +1001 -0
  402. package/dist/sidebar-f9gRWXIR.js.map +1 -0
  403. package/dist/skeleton-BapcJd9C.js +265 -0
  404. package/dist/skeleton-BapcJd9C.js.map +1 -0
  405. package/dist/smart-card-CW0hjetE.js +617 -0
  406. package/dist/smart-card-CW0hjetE.js.map +1 -0
  407. package/dist/{structure-C0V0_Fyf.js → structure-DuxKl954.js} +2 -2
  408. package/dist/{structure-C0V0_Fyf.js.map → structure-DuxKl954.js.map} +1 -1
  409. package/dist/style.css +1 -1
  410. package/dist/{table-CpvnzJn9.js → table-B4TE7iOV.js} +3 -3
  411. package/dist/{table-CpvnzJn9.js.map → table-B4TE7iOV.js.map} +1 -1
  412. package/dist/{table-DH7rozUv.js → table-CFOWY9pQ.js} +394 -388
  413. package/dist/table-CFOWY9pQ.js.map +1 -0
  414. package/dist/{tabs-eqVsJZWO.js → tabs-e7ko9S2o.js} +11 -11
  415. package/dist/tabs-e7ko9S2o.js.map +1 -0
  416. package/dist/{text-inputs-DXItiR0O.js → text-inputs-B1culiSK.js} +17 -17
  417. package/dist/text-inputs-B1culiSK.js.map +1 -0
  418. package/dist/theme.css +40 -37
  419. package/dist/{timelines-DmtztAY_.js → timelines-D3Sl9ueq.js} +13 -12
  420. package/dist/timelines-D3Sl9ueq.js.map +1 -0
  421. package/dist/tooltip-8wz5S_Zr.js +113 -0
  422. package/dist/tooltip-8wz5S_Zr.js.map +1 -0
  423. package/dist/{tree-CV11PURP.js → tree-CzUJHnFs.js} +8 -8
  424. package/dist/{tree-CV11PURP.js.map → tree-CzUJHnFs.js.map} +1 -1
  425. package/dist/typography/rich-text.js +1 -1
  426. package/dist/{typography-CSyJrh28.js → typography-BQnine1k.js} +12 -12
  427. package/dist/{typography-CSyJrh28.js.map → typography-BQnine1k.js.map} +1 -1
  428. package/dist/typography.js +1 -1
  429. package/dist/ui-provider-C-74NVLc.js +178 -0
  430. package/dist/ui-provider-C-74NVLc.js.map +1 -0
  431. package/dist/ui-provider.js +2 -3
  432. package/dist/{upload-C9SA0X-8.js → upload-BOW6U2tI.js} +25 -24
  433. package/dist/upload-BOW6U2tI.js.map +1 -0
  434. package/dist/{upload-queue-DhQJiSRc.js → upload-queue-qUXn1ykN.js} +16 -14
  435. package/dist/upload-queue-qUXn1ykN.js.map +1 -0
  436. package/dist/{usage-card-DVTRDmGz.js → usage-card-BeSLY0i0.js} +24 -17
  437. package/dist/usage-card-BeSLY0i0.js.map +1 -0
  438. package/dist/{utils-CF3c95Io.js → utils-B6kKb8jB.js} +237 -141
  439. package/dist/utils-B6kKb8jB.js.map +1 -0
  440. package/dist/value-inputs-skdVB2zh.js +980 -0
  441. package/dist/value-inputs-skdVB2zh.js.map +1 -0
  442. package/dist/{value-typography-ClupF0Gz.js → value-typography-uAmWUAL1.js} +2 -2
  443. package/dist/{value-typography-ClupF0Gz.js.map → value-typography-uAmWUAL1.js.map} +1 -1
  444. package/dist/{workspace-9EFVXUyk.js → workspace-DHeHv0qw.js} +50 -49
  445. package/dist/workspace-DHeHv0qw.js.map +1 -0
  446. package/docs/consumer-skill/SKILL.md +4 -3
  447. package/docs/consumer-skill/agents/themelia-ui-designer.md +96 -0
  448. package/docs/consumer-skill/examples/app-layout.tsx +52 -1
  449. package/docs/consumer-skill/examples/commerce-lines.tsx +271 -0
  450. package/docs/consumer-skill/examples/custom-composition.tsx +21 -0
  451. package/docs/consumer-skill/examples/detail.tsx +5 -4
  452. package/docs/consumer-skill/examples/editable-sections.tsx +38 -0
  453. package/docs/consumer-skill/examples/index-table.tsx +4 -4
  454. package/docs/consumer-skill/examples/manifest.json +38 -1
  455. package/docs/consumer-skill/examples/product-media.tsx +41 -0
  456. package/docs/consumer-skill/examples/product-parts.tsx +81 -0
  457. package/docs/consumer-skill/examples/rhf-edit-page.tsx +1 -1
  458. package/docs/consumer-skill/examples/rhf-overlay-form.tsx +24 -11
  459. package/docs/consumer-skill/examples/token-domain-structure.tsx +68 -0
  460. package/docs/consumer-skill/references/agents-md.md +19 -17
  461. package/docs/consumer-skill/references/analytics.md +18 -1
  462. package/docs/consumer-skill/references/commerce-composition.md +97 -0
  463. package/docs/consumer-skill/references/component-contracts.json +7131 -1754
  464. package/docs/consumer-skill/references/composition-mapping.md +17 -3
  465. package/docs/consumer-skill/references/composition.md +159 -31
  466. package/docs/consumer-skill/references/critique-rubric.md +98 -0
  467. package/docs/consumer-skill/references/custom-composition.md +261 -0
  468. package/docs/consumer-skill/references/data-reading.md +79 -0
  469. package/docs/consumer-skill/references/design-contract.md +11 -9
  470. package/docs/consumer-skill/references/discovery.md +27 -3
  471. package/docs/consumer-skill/references/domain-structures.md +124 -0
  472. package/docs/consumer-skill/references/installation.md +15 -4
  473. package/docs/consumer-skill/references/integration.md +35 -0
  474. package/docs/consumer-skill/references/product-composition.md +94 -0
  475. package/docs/consumer-skill/references/public-api.json +2881 -420
  476. package/docs/consumer-skill/references/review.md +39 -2
  477. package/docs/consumer-skill/references/rhf-workflows.md +7 -0
  478. package/docs/consumer-skill/references/screen-archetypes.md +19 -7
  479. package/docs/consumer-skill/references/screen-decisions.md +126 -0
  480. package/docs/consumer-skill/references/theming.md +17 -18
  481. package/docs/consumer-skill/references/tokens.json +9 -9
  482. package/docs/consumer-skill/references/view-craft.md +153 -0
  483. package/docs/consumer-skill/references/view-spec.md +73 -0
  484. package/docs/consumer-skill/references/workflows.md +7 -1
  485. package/docs/consumer-skill/scripts/composition-policy.mjs +39 -3
  486. package/docs/consumer-skill/scripts/composition-schema.mjs +1 -1
  487. package/docs/consumer-skill/scripts/composition.mjs +61 -5
  488. package/docs/consumer-skill/scripts/discovery.mjs +54 -0
  489. package/docs/consumer-skill/scripts/inspect-component.mjs +1 -1
  490. package/docs/consumer-skill/scripts/inspection.mjs +73 -18
  491. package/docs/consumer-skill/scripts/setup-skills.mjs +41 -6
  492. package/docs/consumer-skill/scripts/surface-policy.mjs +5 -5
  493. package/docs/consumer-skills/themelia-components/SKILL.md +14 -13
  494. package/docs/consumer-skills/themelia-composition/SKILL.md +16 -17
  495. package/docs/consumer-skills/themelia-design/SKILL.md +55 -0
  496. package/docs/consumer-skills/themelia-foundation/SKILL.md +2 -1
  497. package/docs/consumer-skills/themelia-tokenization/SKILL.md +24 -17
  498. package/package.json +1 -1
  499. package/dist/accordion-96o0pN62.js.map +0 -1
  500. package/dist/action-menu-CHgs8vmj.js.map +0 -1
  501. package/dist/affordance-geometry.generated-B8yGOr8-.js.map +0 -1
  502. package/dist/ai-artifact-BZUGwBq6.js.map +0 -1
  503. package/dist/app-shell-D63ATkIK.js +0 -237
  504. package/dist/app-shell-D63ATkIK.js.map +0 -1
  505. package/dist/auth-D2FVZ1MH.js.map +0 -1
  506. package/dist/avatar-DWO_HHhB.js.map +0 -1
  507. package/dist/base/cascader.js.map +0 -1
  508. package/dist/batch-action-bar-CdfIkCsV.js.map +0 -1
  509. package/dist/button-DkmK-z8E.js.map +0 -1
  510. package/dist/buttons-BbfzgczK.js.map +0 -1
  511. package/dist/cards-4JTWqvVe.js +0 -68
  512. package/dist/cards-4JTWqvVe.js.map +0 -1
  513. package/dist/chart-C19flDQb.js +0 -155
  514. package/dist/chart-C19flDQb.js.map +0 -1
  515. package/dist/choice-inputs-JLtij2y4.js.map +0 -1
  516. package/dist/code-block-CGNaUtAE.js.map +0 -1
  517. package/dist/combobox-CBJDs6w_.js.map +0 -1
  518. package/dist/combobox-hbhSS18O.js +0 -355
  519. package/dist/combobox-hbhSS18O.js.map +0 -1
  520. package/dist/command-D8NrBj-b.js.map +0 -1
  521. package/dist/containers-CRmHf7GP.js.map +0 -1
  522. package/dist/control-group-recipes-DBXmfh2E.js.map +0 -1
  523. package/dist/data-display-D4oujtx0.js.map +0 -1
  524. package/dist/date-picker-zOt1oNss.js.map +0 -1
  525. package/dist/dropdown-menu-CjY8Vt7W.js +0 -193
  526. package/dist/dropdown-menu-CjY8Vt7W.js.map +0 -1
  527. package/dist/feedback-DZNL5Lg1.js.map +0 -1
  528. package/dist/field-affordance-recipes-DjwGx8eM.js.map +0 -1
  529. package/dist/filters-BcT-uoFy.js.map +0 -1
  530. package/dist/form-sizing-NXgjkmBG.js.map +0 -1
  531. package/dist/forms-BV5m5aQF.js.map +0 -1
  532. package/dist/forms-numeric-Cd33AKbD.js.map +0 -1
  533. package/dist/header-BA697l4a.js.map +0 -1
  534. package/dist/hooks-BQ-L7Uu2.js.map +0 -1
  535. package/dist/input-DOPL5_QE.js +0 -21
  536. package/dist/input-DOPL5_QE.js.map +0 -1
  537. package/dist/item-BvZ2DR_x.js.map +0 -1
  538. package/dist/message-INU2xsxu.js.map +0 -1
  539. package/dist/metadata-list-qVV7AVxa.js.map +0 -1
  540. package/dist/motion-recipes-ChBg4HBq.js.map +0 -1
  541. package/dist/navigation-BQNcg1jT.js.map +0 -1
  542. package/dist/navigation-DLF3E1IC.js +0 -145
  543. package/dist/navigation-DLF3E1IC.js.map +0 -1
  544. package/dist/navigation-row-recipes-WZEs-hYo.js.map +0 -1
  545. package/dist/overflow-tab-bar-CrbqMteP.js +0 -284
  546. package/dist/overflow-tab-bar-CrbqMteP.js.map +0 -1
  547. package/dist/overlays-BlKynmde.js +0 -1004
  548. package/dist/overlays-BlKynmde.js.map +0 -1
  549. package/dist/page-CIwNUtGr.js +0 -227
  550. package/dist/page-CIwNUtGr.js.map +0 -1
  551. package/dist/page-header-commands-DFMlNYzN.js +0 -128
  552. package/dist/page-header-commands-DFMlNYzN.js.map +0 -1
  553. package/dist/popover-uwzX2vo7.js +0 -198
  554. package/dist/popover-uwzX2vo7.js.map +0 -1
  555. package/dist/popover.recipes-D3j8R8Yp.js.map +0 -1
  556. package/dist/receipt-D789Jwyy.js.map +0 -1
  557. package/dist/rich-text-editor-Cm1dpUpQ.js.map +0 -1
  558. package/dist/rich-text-editor-toolbar-L__e4x47.js.map +0 -1
  559. package/dist/settings-BA2iboic.js.map +0 -1
  560. package/dist/sheet-DoAxTb2J.js +0 -213
  561. package/dist/sheet-DoAxTb2J.js.map +0 -1
  562. package/dist/sidebar-ByqKR_W5.js +0 -512
  563. package/dist/sidebar-ByqKR_W5.js.map +0 -1
  564. package/dist/sidebar-D2iSnGJ7.js +0 -619
  565. package/dist/sidebar-D2iSnGJ7.js.map +0 -1
  566. package/dist/skeleton-CUj8O5Bd.js +0 -264
  567. package/dist/skeleton-CUj8O5Bd.js.map +0 -1
  568. package/dist/smart-card-CqkzQsK-.js +0 -614
  569. package/dist/smart-card-CqkzQsK-.js.map +0 -1
  570. package/dist/table-DH7rozUv.js.map +0 -1
  571. package/dist/tabs-eqVsJZWO.js.map +0 -1
  572. package/dist/text-inputs-DXItiR0O.js.map +0 -1
  573. package/dist/theme-scope-BJ6eE2xt.js +0 -50
  574. package/dist/theme-scope-BJ6eE2xt.js.map +0 -1
  575. package/dist/timelines-DmtztAY_.js.map +0 -1
  576. package/dist/tooltip-B4hjKtoV.js +0 -111
  577. package/dist/tooltip-B4hjKtoV.js.map +0 -1
  578. package/dist/ui-provider-CQCuCBcy.js +0 -136
  579. package/dist/ui-provider-CQCuCBcy.js.map +0 -1
  580. package/dist/upload-C9SA0X-8.js.map +0 -1
  581. package/dist/upload-queue-DhQJiSRc.js.map +0 -1
  582. package/dist/usage-card-DVTRDmGz.js.map +0 -1
  583. package/dist/use-mobile-vaLKwgyf.js +0 -15
  584. package/dist/use-mobile-vaLKwgyf.js.map +0 -1
  585. package/dist/utils-CF3c95Io.js.map +0 -1
  586. package/dist/value-inputs-C0o70p-U.js +0 -980
  587. package/dist/value-inputs-C0o70p-U.js.map +0 -1
  588. package/dist/workspace-9EFVXUyk.js.map +0 -1
@@ -1,39 +1,39 @@
1
1
  "use client";
2
- import { s as e, v as t } from "./ui-provider-CQCuCBcy.js";
3
- import { t as n } from "./utils-CF3c95Io.js";
4
- import { n as r } from "./buttons-BbfzgczK.js";
5
- import { c as i, o as a, t as o } from "./typography-CSyJrh28.js";
2
+ import { S as e, d as t } from "./ui-provider-C-74NVLc.js";
3
+ import { t as n } from "./utils-B6kKb8jB.js";
4
+ import { n as r } from "./buttons-BedGfygC.js";
5
+ import { c as i, o as a, t as o } from "./typography-BQnine1k.js";
6
6
  import { t as s } from "./focus-recipes-B653VaLq.js";
7
- import { t as c } from "./structure-C0V0_Fyf.js";
8
- import { i as l } from "./popover.recipes-D3j8R8Yp.js";
9
- import { n as u, t as d } from "./action-menu-CHgs8vmj.js";
7
+ import { t as c } from "./structure-DuxKl954.js";
8
+ import { i as l } from "./popover.recipes-DdiEp0rd.js";
9
+ import { n as u, t as d } from "./action-menu-Dr8K-ghE.js";
10
10
  import { t as f } from "./interaction-recipes-XR9ZpVYL.js";
11
- import { _ as p, c as m, d as h, g, h as _, i as v, l as y, m as b, o as x, p as S, s as C, u as w } from "./primitives-Du64iDbb.js";
11
+ import { _ as p, c as m, d as h, g, h as _, i as v, l as y, m as b, o as x, p as S, s as C, u as w } from "./primitives-ByWgGUgt.js";
12
12
  import { t as T } from "./initials-format-CDoQEOd_.js";
13
- import { n as ee, r as te, t as E } from "./number-E_OiIfJz.js";
14
- import { a as ne, i as re, r as ie, s as ae, t as oe } from "./date-Q7jnXxpk.js";
15
- import { i as se, n as ce, s as le } from "./avatar-DWO_HHhB.js";
16
- import { t as D } from "./badge-DErMA7ul.js";
17
- import { t as ue } from "./batch-action-bar-CdfIkCsV.js";
18
- import { t as de } from "./separator-GNfPG-90.js";
19
- import { t as fe } from "./input-Cdw4k0fb.js";
20
- import { t as pe } from "./checkbox-CzYUTPeJ.js";
21
- import { r as O, t as me } from "./control-group-recipes-DBXmfh2E.js";
22
- import { a as he, c as ge, i as _e, n as ve, o as ye, r as be, s as xe, t as Se } from "./pagination-Ch8X_47u.js";
23
- import { c as Ce, i as we, n as Te, o as Ee, s as De, t as Oe } from "./table-CpvnzJn9.js";
24
- import { s as ke } from "./data-display-D4oujtx0.js";
25
- import k, { createContext as Ae, isValidElement as A, useCallback as j, useContext as je, useEffect as M, useMemo as N, useRef as P, useState as F } from "react";
26
- import { Fragment as Me, jsx as I, jsxs as L } from "react/jsx-runtime";
27
- import { ArrowDown as Ne, ArrowUp as Pe, Calendar as Fe, ChevronLeft as R, ChevronRight as Ie, ChevronsUpDown as Le, Mail as Re, Maximize2 as ze, Minimize2 as Be, PackageOpen as Ve, Settings2 as He } from "lucide-react";
28
- import { flexRender as z, getCoreRowModel as Ue, getFilteredRowModel as We, getSortedRowModel as Ge, useReactTable as Ke } from "@tanstack/react-table";
13
+ import { n as ee, r as te, t as E } from "./number-CRU3kGuk.js";
14
+ import { a as ne, i as re, r as ie, s as ae, t as oe } from "./date-Cq8ioE4o.js";
15
+ import { i as se, n as ce, s as le } from "./avatar-CeZaFmNH.js";
16
+ import { t as D } from "./badge-xIiV_E7f.js";
17
+ import { t as ue } from "./batch-action-bar-Cb8cuvyy.js";
18
+ import { t as de } from "./separator-Ct_WSWTJ.js";
19
+ import { t as fe } from "./input-CvyDQlY7.js";
20
+ import { t as pe } from "./checkbox-fflqmODR.js";
21
+ import { r as O, t as me } from "./control-group-recipes-fMuFo0H7.js";
22
+ import { a as he, c as ge, i as _e, n as ve, o as ye, r as be, s as xe, t as Se } from "./pagination-CgCjElfu.js";
23
+ import { c as k, i as A, n as j, o as Ce, s as we, t as Te } from "./table-B4TE7iOV.js";
24
+ import { s as Ee } from "./data-display-BdgCAw8T.js";
25
+ import M, { createContext as De, isValidElement as N, useCallback as P, useContext as Oe, useEffect as F, useMemo as I, useRef as L, useState as R } from "react";
26
+ import { Fragment as ke, jsx as z, jsxs as B } from "react/jsx-runtime";
27
+ import { ArrowDown as Ae, ArrowUp as je, Calendar as Me, ChevronLeft as V, ChevronRight as Ne, ChevronsUpDown as Pe, Mail as Fe, Maximize2 as Ie, Minimize2 as Le, PackageOpen as Re, Settings2 as ze } from "lucide-react";
28
+ import { flexRender as H, getCoreRowModel as Be, getFilteredRowModel as Ve, getSortedRowModel as He, useReactTable as Ue } from "@tanstack/react-table";
29
29
  //#region src/components/features/table/hooks.ts
30
- var qe = 300;
31
- function B(e) {
30
+ var We = 300;
31
+ function U(e) {
32
32
  return e ? e.querySelector("[data-slot=\"table-container\"]") : null;
33
33
  }
34
- function Je(e, t = {}) {
35
- let { stepPx: n = qe, deps: r = [] } = t, [i, a] = F(!1), [o, s] = F(!1), c = P(0), l = j(() => {
36
- let t = B(e.current);
34
+ function Ge(e, t = {}) {
35
+ let { stepPx: n = We, deps: r = [] } = t, [i, a] = R(!1), [o, s] = R(!1), c = L(0), l = P(() => {
36
+ let t = U(e.current);
37
37
  if (!t) {
38
38
  a(!1), s(!1);
39
39
  return;
@@ -41,10 +41,10 @@ function Je(e, t = {}) {
41
41
  let { scrollLeft: n, scrollWidth: r, clientWidth: i } = t;
42
42
  a(n > 1), s(n + i < r - 1);
43
43
  }, [e]);
44
- M(() => {
44
+ F(() => {
45
45
  let t, n = window.setTimeout(() => {
46
46
  l();
47
- let n = B(e.current);
47
+ let n = U(e.current);
48
48
  if (!n) return;
49
49
  let r = () => {
50
50
  cancelAnimationFrame(c.current), c.current = requestAnimationFrame(l);
@@ -63,8 +63,8 @@ function Je(e, t = {}) {
63
63
  l,
64
64
  ...r
65
65
  ]);
66
- let u = j((t) => {
67
- B(e.current)?.scrollBy({
66
+ let u = P((t) => {
67
+ U(e.current)?.scrollBy({
68
68
  left: t,
69
69
  behavior: "smooth"
70
70
  });
@@ -73,15 +73,15 @@ function Je(e, t = {}) {
73
73
  canScrollLeft: i,
74
74
  canScrollRight: o,
75
75
  scrollBy: u,
76
- scrollLeft: j(() => u(-n), [u, n]),
77
- scrollRight: j(() => u(n), [u, n])
76
+ scrollLeft: P(() => u(-n), [u, n]),
77
+ scrollRight: P(() => u(n), [u, n])
78
78
  };
79
79
  }
80
- var V = /* @__PURE__ */ new Set([
80
+ var W = /* @__PURE__ */ new Set([
81
81
  "",
82
82
  "true",
83
83
  "plaintext-only"
84
- ]), Ye = [
84
+ ]), Ke = [
85
85
  "a[href]",
86
86
  "button:not([disabled])",
87
87
  "input:not([disabled])",
@@ -91,7 +91,7 @@ var V = /* @__PURE__ */ new Set([
91
91
  "[contenteditable]",
92
92
  "[tabindex]:not([tabindex=\"-1\"])"
93
93
  ].join(",");
94
- function H(e) {
94
+ function G(e) {
95
95
  let t = [e];
96
96
  for (let n = 0; n < t.length; n++) for (let r of t[n].querySelectorAll("[aria-controls]:not([aria-expanded=\"false\"])")) for (let n of (r.getAttribute("aria-controls") ?? "").split(/\s+/)) {
97
97
  let r = e.ownerDocument.getElementById(n);
@@ -99,13 +99,13 @@ function H(e) {
99
99
  }
100
100
  return t;
101
101
  }
102
- function Xe(e, t, n) {
103
- let r = P(n);
104
- r.current = n, M(() => {
102
+ function qe(e, t, n) {
103
+ let r = L(n);
104
+ r.current = n, F(() => {
105
105
  if (!e || typeof document > "u") return;
106
106
  let n = document.activeElement, i = document.body.style.overflow;
107
107
  document.body.style.overflow = "hidden";
108
- let a, o = !0, s = (e, t) => t instanceof Node && H(e).some((e) => e.contains(t)), c = (e) => Array.from(e.querySelectorAll(Ye)).filter((e) => (e.tabIndex >= 0 || V.has(e.getAttribute("contenteditable")?.toLowerCase() ?? "false") && !e.hasAttribute("tabindex") && !e.parentElement?.isContentEditable) && !e.matches(":disabled") && !e.closest("[inert], [hidden]") && !["hidden", "collapse"].includes(getComputedStyle(e).visibility) && (e.offsetParent !== null || e === document.activeElement)), l = (e, t) => {
108
+ let a, o = !0, s = (e, t) => t instanceof Node && G(e).some((e) => e.contains(t)), c = (e) => Array.from(e.querySelectorAll(Ke)).filter((e) => (e.tabIndex >= 0 || W.has(e.getAttribute("contenteditable")?.toLowerCase() ?? "false") && !e.hasAttribute("tabindex") && !e.parentElement?.isContentEditable) && !e.matches(":disabled") && !e.closest("[inert], [hidden]") && !["hidden", "collapse"].includes(getComputedStyle(e).visibility) && (e.offsetParent !== null || e === document.activeElement)), l = (e, t) => {
109
109
  let n = e?.closest("[role=\"dialog\"], [role=\"alertdialog\"], [aria-modal=\"true\"]");
110
110
  return !!n && n !== t;
111
111
  }, u = (e) => {
@@ -141,10 +141,10 @@ function Xe(e, t, n) {
141
141
  }
142
142
  //#endregion
143
143
  //#region src/components/features/table/table.strings.ts
144
- var Ze = (e) => {
144
+ var Je = (e) => {
145
145
  let t = e.replace(/[_-]+/g, " ").replace(/\s+/g, " ").trim();
146
146
  return t ? t.replace(/\b\w/g, (e) => e.toUpperCase()) : "Column";
147
- }, U = {
147
+ }, K = {
148
148
  emptyState: {
149
149
  message: "No results found.",
150
150
  ariaLabel: "Empty state"
@@ -161,7 +161,7 @@ var Ze = (e) => {
161
161
  columnVisibility: {
162
162
  title: "Toggle columns",
163
163
  triggerLabel: "Columns",
164
- formatLabel: (e, t) => t && t.trim().length > 0 ? t : Ze(e)
164
+ formatLabel: (e, t) => t && t.trim().length > 0 ? t : Je(e)
165
165
  },
166
166
  toolbar: {
167
167
  scrollLeft: "Scroll left",
@@ -198,25 +198,25 @@ var Ze = (e) => {
198
198
  sortPriority: (e, t, n) => `${e === "asc" ? "Ascending" : "Descending"}, sort priority ${t} of ${n}.`,
199
199
  resizeColumn: (e) => `Resize ${e}`
200
200
  }
201
- }, W = (e, t) => ({
201
+ }, q = (e, t) => ({
202
202
  ...e,
203
203
  ...t
204
- }), Qe = (e) => e ? {
205
- emptyState: W(U.emptyState, e.emptyState),
204
+ }), Ye = (e) => e ? {
205
+ emptyState: q(K.emptyState, e.emptyState),
206
206
  actions: {
207
- ...W(U.actions, e.actions),
207
+ ...q(K.actions, e.actions),
208
208
  ...e.actions?.triggerLabel !== void 0 && e.actions.menuLabel === void 0 ? { menuLabel: e.actions.triggerLabel } : {}
209
209
  },
210
- filter: W(U.filter, e.filter),
211
- columnVisibility: W(U.columnVisibility, e.columnVisibility),
212
- toolbar: W(U.toolbar, e.toolbar),
213
- pagination: W(U.pagination, e.pagination),
214
- selection: W(U.selection, e.selection),
215
- accessibility: W(U.accessibility, e.accessibility)
216
- } : U;
210
+ filter: q(K.filter, e.filter),
211
+ columnVisibility: q(K.columnVisibility, e.columnVisibility),
212
+ toolbar: q(K.toolbar, e.toolbar),
213
+ pagination: q(K.pagination, e.pagination),
214
+ selection: q(K.selection, e.selection),
215
+ accessibility: q(K.accessibility, e.accessibility)
216
+ } : K;
217
217
  //#endregion
218
218
  //#region src/components/features/table/pagination.tsx
219
- function $e(e, t) {
219
+ function Xe(e, t) {
220
220
  if (t <= 7) return Array.from({ length: t }, (e, t) => t + 1);
221
221
  let n = [1];
222
222
  e > 3 && n.push("ellipsis");
@@ -224,13 +224,13 @@ function $e(e, t) {
224
224
  for (let e = r; e <= i; e++) n.push(e);
225
225
  return e < t - 2 && n.push("ellipsis"), n.push(t), n;
226
226
  }
227
- function et(e, t, n) {
227
+ function Ze(e, t, n) {
228
228
  let r = new URLSearchParams();
229
229
  return r.set(n, String(t)), `${e}?${r.toString()}`;
230
230
  }
231
- function tt({ pagination: e, onPageChange: t, labels: r = {}, pageQueryKey: i }) {
231
+ function Qe({ pagination: e, onPageChange: t, labels: r = {}, pageQueryKey: i }) {
232
232
  let a = {
233
- ...U.pagination,
233
+ ...K.pagination,
234
234
  ...r
235
235
  }, o = {
236
236
  navigationLabel: a.ariaLabel,
@@ -239,23 +239,23 @@ function tt({ pagination: e, onPageChange: t, labels: r = {}, pageQueryKey: i })
239
239
  previousLabel: a.previousLabel ?? ge.previousLabel,
240
240
  nextLabel: a.nextLabel ?? ge.nextLabel,
241
241
  morePages: a.morePages ?? ge.morePages
242
- }, s = i ?? "page", c = (e.current_page - 1) * e.per_page + 1, l = Math.min(e.current_page * e.per_page, e.total), u = j((n, r) => {
242
+ }, s = i ?? "page", c = (e.current_page - 1) * e.per_page + 1, l = Math.min(e.current_page * e.per_page, e.total), u = P((n, r) => {
243
243
  r && t?.(n, r, e.path || "");
244
- }, [t, e.path]), d = e.prev_page_url !== null, f = e.next_page_url !== null, p = $e(e.current_page, e.last_page);
245
- return /* @__PURE__ */ L("div", {
244
+ }, [t, e.path]), d = e.prev_page_url !== null, f = e.next_page_url !== null, p = Xe(e.current_page, e.last_page);
245
+ return /* @__PURE__ */ B("div", {
246
246
  className: n("pagination--component", "flex flex-col items-start gap-space-md px-surface py-row-y-lg sm:flex-row sm:items-center sm:justify-between sm:gap-0"),
247
- children: [/* @__PURE__ */ L(g, {
247
+ children: [/* @__PURE__ */ B(g, {
248
248
  size: "xs",
249
249
  className: "tabular-nums tracking-tight",
250
250
  children: [
251
- /* @__PURE__ */ I(E, {
251
+ /* @__PURE__ */ z(E, {
252
252
  value: c,
253
253
  size: "xs",
254
254
  weight: "medium",
255
255
  align: "left"
256
256
  }),
257
257
  "–",
258
- /* @__PURE__ */ I(E, {
258
+ /* @__PURE__ */ z(E, {
259
259
  value: l,
260
260
  size: "xs",
261
261
  weight: "medium",
@@ -264,7 +264,7 @@ function tt({ pagination: e, onPageChange: t, labels: r = {}, pageQueryKey: i })
264
264
  " ",
265
265
  a.of,
266
266
  " ",
267
- /* @__PURE__ */ I(E, {
267
+ /* @__PURE__ */ z(E, {
268
268
  value: e.total,
269
269
  size: "xs",
270
270
  weight: "medium",
@@ -273,13 +273,13 @@ function tt({ pagination: e, onPageChange: t, labels: r = {}, pageQueryKey: i })
273
273
  " ",
274
274
  a.entries
275
275
  ]
276
- }), /* @__PURE__ */ I(xe, {
276
+ }), /* @__PURE__ */ z(xe, {
277
277
  strings: o,
278
278
  className: "mx-0 w-full justify-start sm:w-auto sm:justify-center",
279
- children: /* @__PURE__ */ L(Se, {
279
+ children: /* @__PURE__ */ B(Se, {
280
280
  className: "gap-0 sm:gap-space-2xs",
281
281
  children: [
282
- /* @__PURE__ */ I(be, { children: /* @__PURE__ */ I(ye, {
282
+ /* @__PURE__ */ z(be, { children: /* @__PURE__ */ z(ye, {
283
283
  size: "sm",
284
284
  text: a.previous,
285
285
  href: "#",
@@ -291,18 +291,18 @@ function tt({ pagination: e, onPageChange: t, labels: r = {}, pageQueryKey: i })
291
291
  }) }),
292
292
  p.map((t, n) => {
293
293
  let r = t === "ellipsis", i = r ? `ellipsis-${e.current_page}-${n}` : `page-${t}`;
294
- return /* @__PURE__ */ I(be, { children: r ? /* @__PURE__ */ I(ve, { size: "sm" }) : /* @__PURE__ */ I(_e, {
294
+ return /* @__PURE__ */ z(be, { children: r ? /* @__PURE__ */ z(ve, { size: "sm" }) : /* @__PURE__ */ z(_e, {
295
295
  size: "sm",
296
296
  href: "#",
297
297
  active: t === e.current_page,
298
298
  onClick: (n) => {
299
- n.preventDefault(), u(t, et(e.path, t, s));
299
+ n.preventDefault(), u(t, Ze(e.path, t, s));
300
300
  },
301
301
  className: "size-action-sm text-pxs",
302
302
  children: t
303
303
  }) }, i);
304
304
  }),
305
- /* @__PURE__ */ I(be, { children: /* @__PURE__ */ I(he, {
305
+ /* @__PURE__ */ z(be, { children: /* @__PURE__ */ z(he, {
306
306
  size: "sm",
307
307
  text: a.next,
308
308
  href: "#",
@@ -317,14 +317,14 @@ function tt({ pagination: e, onPageChange: t, labels: r = {}, pageQueryKey: i })
317
317
  })]
318
318
  });
319
319
  }
320
- tt.displayName = "Pagination";
320
+ Qe.displayName = "Pagination";
321
321
  //#endregion
322
322
  //#region src/components/features/table/table-actions.tsx
323
- function nt(e) {
324
- let { row: t, actions: r, menuLabel: i, displayMode: a = "menu", responsiveBreakpoint: o = 1040, strings: s } = e, c = s ?? U, l = i ?? c.actions.menuLabel ?? c.actions.triggerLabel, f = N(() => {
323
+ function $e(e) {
324
+ let { row: t, actions: r, menuLabel: i, displayMode: a = "menu", responsiveBreakpoint: o = 1040, strings: s } = e, c = s ?? K, l = i ?? c.actions.menuLabel ?? c.actions.triggerLabel, f = I(() => {
325
325
  let e = typeof r == "function" ? r(t) : r;
326
326
  return Array.isArray(e) ? e : [];
327
- }, [r, t]), p = N(() => {
327
+ }, [r, t]), p = I(() => {
328
328
  let e = (e) => typeof e == "function" ? e(t) : e;
329
329
  return f.flatMap((t) => {
330
330
  let n = e(t.visible) ?? !0;
@@ -334,8 +334,8 @@ function nt(e) {
334
334
  disabled: e(t.disabled) ?? !1
335
335
  }] : [];
336
336
  });
337
- }, [f, t]), m = p.length > 0, [h, g] = F(!1), _ = p.filter((e) => e.tone !== "destructive"), v = p.filter((e) => e.tone === "destructive"), y = [..._, ...v];
338
- if (M(() => {
337
+ }, [f, t]), m = p.length > 0, [h, g] = R(!1), _ = p.filter((e) => e.tone !== "destructive"), v = p.filter((e) => e.tone === "destructive"), y = [..._, ...v];
338
+ if (F(() => {
339
339
  if (a !== "auto" || !m) {
340
340
  g(!1);
341
341
  return;
@@ -362,44 +362,43 @@ function nt(e) {
362
362
  buttonStyle: e.buttonStyle,
363
363
  onClick: () => e.onClick?.(t)
364
364
  }));
365
- return b === "inline" ? /* @__PURE__ */ I(d, {
365
+ return b === "inline" ? /* @__PURE__ */ z(d, {
366
366
  actions: x,
367
367
  className: n("table-actions--component")
368
- }) : /* @__PURE__ */ I(u, {
368
+ }) : /* @__PURE__ */ z(u, {
369
369
  actions: x,
370
370
  srText: l || c.actions.srLabel,
371
371
  closeOnSelect: !0,
372
- align: "end",
373
- density: "table"
372
+ align: "end"
374
373
  });
375
374
  }
376
- nt.displayName = "DataTableActions";
375
+ $e.displayName = "DataTableActions";
377
376
  //#endregion
378
377
  //#region src/components/features/table/table-helpers.tsx
379
- var rt = (e, t, n) => {
378
+ var et = (e, t, n) => {
380
379
  typeof e == "function" ? t((t) => {
381
380
  let r = e(t);
382
381
  return n && n(r), r;
383
382
  }) : (t(e), n && n(e));
384
- }, it = (e, t, n) => {
383
+ }, tt = (e, t, n) => {
385
384
  typeof e == "function" ? t((t) => {
386
385
  let r = e(t);
387
386
  return n && n(r), r;
388
387
  }) : (t(e), n && n(e));
389
- }, at = (e, t, n) => {
388
+ }, nt = (e, t, n) => {
390
389
  typeof e == "function" ? t((t) => {
391
390
  let r = e(t);
392
391
  return n && n(r), r;
393
392
  }) : (t(e), n && n(e));
394
- }, ot = (e, t, n, r) => {
393
+ }, rt = (e, t, n, r) => {
395
394
  let i = "";
396
395
  return r && (i += "bg-muted "), typeof n == "function" ? i += n(e, t) + " " : n && (i += n + " "), i.trim();
397
- }, st = (e, t, n, r, i) => {
396
+ }, it = (e, t, n, r, i) => {
398
397
  let a = "";
399
398
  return typeof n == "string" ? a = n : n && (a = n(e, t)), r && i ? `${a} sticky start-0 z-10 bg-card shadow-[1px_0_0_0_var(--border)] rtl:shadow-[-1px_0_0_0_var(--border)]` : a;
400
- }, ct = (e) => e.getSelectedRowModel().rows.map((e) => e.original), G = (e, t = U) => /* @__PURE__ */ I("div", {
401
- className: "px-space-sm",
402
- children: /* @__PURE__ */ I(pe, {
399
+ }, at = (e) => e.getSelectedRowModel().rows.map((e) => e.original), J = (e, t = K) => /* @__PURE__ */ z("div", {
400
+ className: "flex items-center px-space-sm",
401
+ children: /* @__PURE__ */ z(pe, {
403
402
  className: "size-icon cursor-pointer disabled:cursor-not-allowed disabled:opacity-50",
404
403
  checked: e.getIsSelected(),
405
404
  disabled: !e.getCanSelect(),
@@ -407,62 +406,63 @@ var rt = (e, t, n) => {
407
406
  onClick: (e) => e.stopPropagation(),
408
407
  "aria-label": t.selection.row(e.index)
409
408
  })
410
- }), K = (e, t = U) => /* @__PURE__ */ I("div", {
411
- className: "px-space-sm",
412
- children: /* @__PURE__ */ I(pe, {
409
+ }), Y = (e, t = K) => /* @__PURE__ */ z("div", {
410
+ className: "flex items-center px-space-sm",
411
+ children: /* @__PURE__ */ z(pe, {
413
412
  className: "size-icon cursor-pointer",
414
413
  checked: e.getIsAllPageRowsSelected(),
415
414
  indeterminate: e.getIsSomePageRowsSelected() && !e.getIsAllPageRowsSelected(),
416
415
  onCheckedChange: (t) => e.toggleAllPageRowsSelected(t === !0),
417
416
  "aria-label": t.selection.selectAll
418
417
  })
419
- }), lt = (e, t = U) => [{
418
+ }), ot = (e, t = K) => [{
420
419
  id: "selection",
421
- header: ({ table: e }) => K(e, t),
422
- cell: ({ row: e }) => G(e, t),
420
+ header: ({ table: e }) => Y(e, t),
421
+ cell: ({ row: e }) => J(e, t),
423
422
  enableSorting: !1,
424
423
  enableResizing: !1,
424
+ enableHiding: !1,
425
425
  size: 40
426
- }, ...e], q = [
426
+ }, ...e], st = [
427
427
  "button, a[href], input, select, textarea, summary, label, [tabindex]",
428
428
  "[role=\"button\"], [role=\"link\"], [role=\"checkbox\"], [role=\"switch\"], [role=\"radio\"]",
429
429
  "[role=\"menuitem\"], [role=\"menuitemcheckbox\"], [role=\"menuitemradio\"], [role=\"tab\"]",
430
430
  "[role=\"combobox\"], [role=\"textbox\"], [role=\"slider\"], [role=\"spinbutton\"]",
431
431
  "[contenteditable]:not([contenteditable=\"false\"])"
432
432
  ].join(",");
433
- function ut({ table: e, onRowClick: t, emptyStateMessage: r, emptyStateAction: i, cellClassName: a = "", rowClassName: o = "", stickyFirstColumn: c = !1, striped: l = !1, strings: u }) {
434
- let d = e.getRowModel().rows, p = r ?? u?.emptyState.message ?? U.emptyState.message;
435
- return d.length ? /* @__PURE__ */ I(Te, { children: d.map((e, r) => {
436
- let i = e.getIsSelected(), u = e.getVisibleCells(), d = ot(e, r, o, i), p = l && r % 2 != 0 ? f.tableStripe : "", m = t ? "cursor-pointer" : "", h = n(d, p, "transition-colors duration-150", `${f.tableRowHover} ${f.tableRowSelected}`, m, t && `focus-visible:outline-none ${s.inset}`, "border-b border-border/60 last:border-b-0");
437
- return /* @__PURE__ */ I(Ce, {
433
+ function ct({ table: e, onRowClick: t, emptyStateMessage: r, emptyStateAction: i, cellClassName: a = "", rowClassName: o = "", stickyFirstColumn: c = !1, striped: l = !1, strings: u }) {
434
+ let d = e.getRowModel().rows, p = r ?? u?.emptyState.message ?? K.emptyState.message;
435
+ return d.length ? /* @__PURE__ */ z(j, { children: d.map((e, r) => {
436
+ let i = e.getIsSelected(), u = e.getVisibleCells(), d = rt(e, r, o, i), p = l && r % 2 != 0 ? f.tableStripe : "", m = t ? "cursor-pointer" : "", h = n(d, p, "transition-colors duration-150", `${f.tableRowHover} ${f.tableRowSelected}`, m, t && `focus-visible:outline-none ${s.inset}`, "border-b border-border/60 last:border-b-0");
437
+ return /* @__PURE__ */ z(k, {
438
438
  "data-state": i ? "selected" : null,
439
439
  className: h,
440
440
  tabIndex: t ? 0 : void 0,
441
441
  onClick: t ? (n) => {
442
442
  if (n.defaultPrevented) return;
443
- let r = n.target, i = r instanceof Element ? r.closest(q) : null;
443
+ let r = n.target, i = r instanceof Element ? r.closest(st) : null;
444
444
  i && i !== n.currentTarget || r instanceof Node && n.currentTarget.contains(r) && t(e.original);
445
445
  } : void 0,
446
446
  onKeyDown: t ? (n) => {
447
447
  n.defaultPrevented || n.target !== n.currentTarget || n.key !== "Enter" && n.key !== " " || (n.preventDefault(), n.repeat || t(e.original));
448
448
  } : void 0,
449
- children: u.map((t, r) => /* @__PURE__ */ I(we, {
450
- className: n(st(t.column.id, e, a, c, r === 0), t.column.columnDef.meta?.align === "end" && "text-right", t.column.columnDef.meta?.align === "center" && "text-center"),
451
- children: z(t.column.columnDef.cell, t.getContext())
449
+ children: u.map((t, r) => /* @__PURE__ */ z(A, {
450
+ className: n(it(t.column.id, e, a, c, r === 0), t.column.columnDef.meta?.align === "end" && "text-right tabular-nums", t.column.columnDef.meta?.align === "center" && "text-center"),
451
+ children: H(t.column.columnDef.cell, t.getContext())
452
452
  }, t.id))
453
453
  }, e.id);
454
- }) }) : /* @__PURE__ */ I(Te, {
454
+ }) }) : /* @__PURE__ */ z(j, {
455
455
  className: "table-body--component",
456
- children: /* @__PURE__ */ I(Ce, {
456
+ children: /* @__PURE__ */ z(k, {
457
457
  className: "hover:bg-transparent",
458
- children: /* @__PURE__ */ I(we, {
458
+ children: /* @__PURE__ */ z(A, {
459
459
  className: "p-0! text-center whitespace-normal",
460
460
  colSpan: e.getAllColumns().length,
461
- children: /* @__PURE__ */ I(ke, {
462
- strings: { ariaLabel: u?.emptyState.ariaLabel ?? U.emptyState.ariaLabel },
461
+ children: /* @__PURE__ */ z(Ee, {
462
+ strings: { ariaLabel: u?.emptyState.ariaLabel ?? K.emptyState.ariaLabel },
463
463
  title: p,
464
464
  description: !1,
465
- media: /* @__PURE__ */ I(Ve, { className: "size-icon" }),
465
+ media: /* @__PURE__ */ z(Re, { className: "size-icon" }),
466
466
  mediaVariant: "icon-soft",
467
467
  actions: i,
468
468
  className: "data-table--empty-state w-[100cqw] max-w-full"
@@ -471,35 +471,35 @@ function ut({ table: e, onRowClick: t, emptyStateMessage: r, emptyStateAction: i
471
471
  })
472
472
  });
473
473
  }
474
- ut.displayName = "DataTableBody";
474
+ ct.displayName = "DataTableBody";
475
475
  //#endregion
476
476
  //#region src/components/features/table/table-header.tsx
477
- function dt({ table: e, enableResizing: t = !1, stickyHeader: i = !1, headerClassName: o = "", cellClassName: c = "", stickyFirstColumn: l = !1, columnGroups: u, headerTransparent: d = !1, strings: p }) {
478
- let m = e.getHeaderGroups(), h = k.useId(), g = e.getState().sorting, _ = i ? n("shadow-[0_1px_0_0_var(--border)]", d ? "bg-background" : "bg-muted") : "", v = (e) => u ? u.find((t) => t.columns.includes(e)) : null;
479
- return /* @__PURE__ */ L(De, {
477
+ function lt({ table: e, enableResizing: t = !1, stickyHeader: i = !1, headerClassName: o = "", cellClassName: c = "", stickyFirstColumn: l = !1, columnGroups: u, headerTransparent: d = !1, strings: p }) {
478
+ let m = e.getHeaderGroups(), h = M.useId(), g = e.getState().sorting, _ = i ? n("shadow-[0_1px_0_0_var(--border)]", d ? "bg-background" : "bg-muted") : "", v = (e) => u ? u.find((t) => t.columns.includes(e)) : null;
479
+ return /* @__PURE__ */ B(we, {
480
480
  className: n(i && "sticky top-0 z-20", o),
481
481
  children: [(() => {
482
482
  if (!u || u.length === 0 || m.length === 0) return null;
483
483
  let e = m[0].headers, t = null, r = 0, i = [];
484
484
  return e.forEach((o, s) => {
485
485
  let c = v(o.id)?.header || "";
486
- c === t ? r++ : (t !== null && r > 0 && i.push(/* @__PURE__ */ I(Ee, {
486
+ c === t ? r++ : (t !== null && r > 0 && i.push(/* @__PURE__ */ z(Ce, {
487
487
  colSpan: r,
488
488
  className: n("border-r border-border/60 bg-muted/50 text-center text-muted-foreground last:border-r-0", _),
489
- children: /* @__PURE__ */ I(a, { children: t || "" })
490
- }, `group-${t}-${i.length}`)), t = c, r = 1), s === e.length - 1 && r > 0 && i.push(/* @__PURE__ */ I(Ee, {
489
+ children: /* @__PURE__ */ z(a, { children: t || "" })
490
+ }, `group-${t}-${i.length}`)), t = c, r = 1), s === e.length - 1 && r > 0 && i.push(/* @__PURE__ */ z(Ce, {
491
491
  colSpan: r,
492
492
  className: n("whitespace-nowrap border-r border-border/60 bg-muted/50 text-center text-muted-foreground last:border-r-0", _),
493
- children: /* @__PURE__ */ I(a, { children: t || "" })
493
+ children: /* @__PURE__ */ z(a, { children: t || "" })
494
494
  }, `group-${t}-${i.length}`));
495
- }), /* @__PURE__ */ I(Ce, {
495
+ }), /* @__PURE__ */ z(k, {
496
496
  className: n("table-header--component", "border-b border-border"),
497
497
  children: i
498
498
  });
499
- })(), m.map((a) => /* @__PURE__ */ I(Ce, {
499
+ })(), m.map((a) => /* @__PURE__ */ z(k, {
500
500
  className: n("border-b border-border/60", d ? "bg-transparent hover:bg-transparent" : `${f.tableHead} ${f.tableRowHover}`),
501
501
  children: a.headers.map((a, o) => {
502
- let u = n(st(a.id, null, c, l, o === 0), "text-muted-foreground font-medium whitespace-nowrap", a.column.columnDef.meta?.align === "end" && "text-right", a.column.columnDef.meta?.align === "center" && "text-center", _, i && l && o === 0 && "z-30", !i && "bg-transparent", t && !(l && o === 0) && "relative"), d = t ? { width: a.getSize() } : void 0, f = `${h}-${encodeURIComponent(a.id)}`, m = a.getResizeHandler(), v = a.getLeafHeaders().filter((e) => e.subHeaders.length === 0), y = v.reduce((e, t) => e + (t.column.columnDef.minSize ?? 20), 0), b = Math.min(2 ** 53 - 1, v.reduce((e, t) => e + (t.column.columnDef.maxSize ?? 2 ** 53 - 1), 0)), x = (t) => {
502
+ let u = n(it(a.id, null, c, l, o === 0), "text-muted-foreground font-medium whitespace-nowrap", a.column.columnDef.meta?.align === "end" && "text-right", a.column.columnDef.meta?.align === "center" && "text-center", _, i && l && o === 0 && "z-30", !i && "bg-transparent", t && !(l && o === 0) && "relative"), d = t || a.column.columnDef.size !== void 0 ? { width: a.getSize() } : void 0, f = `${h}-${encodeURIComponent(a.id)}`, m = a.getResizeHandler(), v = a.getLeafHeaders().filter((e) => e.subHeaders.length === 0), y = v.reduce((e, t) => e + (t.column.columnDef.minSize ?? 20), 0), b = Math.min(2 ** 53 - 1, v.reduce((e, t) => e + (t.column.columnDef.maxSize ?? 2 ** 53 - 1), 0)), x = (t) => {
503
503
  e.setOptions((e) => ({
504
504
  ...e,
505
505
  columnResizeDirection: getComputedStyle(t.currentTarget).direction === "rtl" ? "rtl" : "ltr"
@@ -508,45 +508,45 @@ function dt({ table: e, enableResizing: t = !1, stickyHeader: i = !1, headerClas
508
508
  let e = a.column.columnDef.header;
509
509
  return typeof e == "string" ? e : typeof a.id == "string" ? a.id : "column";
510
510
  })();
511
- return /* @__PURE__ */ I(Ee, {
511
+ return /* @__PURE__ */ z(Ce, {
512
512
  colSpan: a.colSpan,
513
513
  className: u,
514
514
  style: d,
515
515
  "aria-sort": !a.isPlaceholder && a.subHeaders.length === 0 && a.column.getIsSorted() && a.column.getSortIndex() === 0 ? a.column.getIsSorted() === "asc" ? "ascending" : "descending" : void 0,
516
- children: a.isPlaceholder ? null : /* @__PURE__ */ L("div", {
516
+ children: a.isPlaceholder ? null : /* @__PURE__ */ B("div", {
517
517
  className: n(t && a.column.getCanResize() && "pe-action-sm"),
518
518
  children: [(() => {
519
- let e = a.column.getCanSort(), t = a.column.getIsSorted(), i = z(a.column.columnDef.header, a.getContext()), o = t === "asc" ? Pe : t === "desc" ? Ne : Le;
520
- return e ? /* @__PURE__ */ L(r, {
519
+ let e = a.column.getCanSort(), t = a.column.getIsSorted(), i = H(a.column.columnDef.header, a.getContext()), o = t === "asc" ? je : t === "desc" ? Ae : Pe;
520
+ return e ? /* @__PURE__ */ B(r, {
521
521
  type: "button",
522
522
  tone: "secondary",
523
523
  buttonStyle: "ghost",
524
524
  size: "sm",
525
525
  onClick: a.column.getToggleSortingHandler(),
526
- className: n("group -ml-space-sm inline-flex select-none items-center gap-space-sm rounded-inner px-space-sm", "hover:text-foreground transition-colors", `focus-visible:outline-none ${s.edge}`, t && "text-foreground"),
527
- "aria-label": (p?.accessibility.sortColumn ?? U.accessibility.sortColumn)(C),
526
+ className: n("group -ml-space-sm inline-flex select-none items-center gap-space-sm rounded-radius px-space-sm", "text-muted-foreground hover:text-foreground transition-colors", `focus-visible:outline-none ${s.edge}`),
527
+ "aria-label": (p?.accessibility.sortColumn ?? K.accessibility.sortColumn)(C),
528
528
  "aria-describedby": t && g.length > 1 ? f : void 0,
529
529
  children: [
530
530
  i,
531
- t && g.length > 1 && /* @__PURE__ */ I("span", {
531
+ t && g.length > 1 && /* @__PURE__ */ z("span", {
532
532
  id: f,
533
533
  className: "sr-only",
534
- children: (p?.accessibility.sortPriority ?? U.accessibility.sortPriority)(t, a.column.getSortIndex() + 1, g.length)
534
+ children: (p?.accessibility.sortPriority ?? K.accessibility.sortPriority)(t, a.column.getSortIndex() + 1, g.length)
535
535
  }),
536
- /* @__PURE__ */ I(o, {
537
- className: n("size-icon-sm shrink-0 transition-opacity", t ? "opacity-100" : "opacity-30 group-hover:opacity-70"),
536
+ /* @__PURE__ */ z(o, {
537
+ className: n("size-icon-sm shrink-0 transition-opacity", t ? "text-foreground opacity-100" : "opacity-30 group-hover:opacity-70"),
538
538
  "aria-hidden": "true"
539
539
  })
540
540
  ]
541
- }) : /* @__PURE__ */ I("div", {
541
+ }) : /* @__PURE__ */ z("div", {
542
542
  className: n("flex items-center", a.column.columnDef.meta?.align === "end" && "justify-end", a.column.columnDef.meta?.align === "center" && "justify-center"),
543
543
  children: i
544
544
  });
545
- })(), !!t && a.column.getCanResize() && /* @__PURE__ */ I("div", {
545
+ })(), !!t && a.column.getCanResize() && /* @__PURE__ */ z("div", {
546
546
  role: "separator",
547
547
  tabIndex: 0,
548
548
  className: n("absolute inset-y-0 end-0 w-action-sm cursor-col-resize select-none touch-none bg-transparent after:absolute after:inset-y-0 after:end-0 after:w-px after:bg-muted-foreground opacity-0 hover:opacity-100 focus-visible:opacity-100 focus-visible:outline-none focus-visible:after:w-1 focus-visible:after:bg-ring", S && "after:bg-primary-accent!"),
549
- "aria-label": (p?.accessibility.resizeColumn ?? U.accessibility.resizeColumn)(C),
549
+ "aria-label": (p?.accessibility.resizeColumn ?? K.accessibility.resizeColumn)(C),
550
550
  "aria-orientation": "vertical",
551
551
  "aria-valuenow": a.getSize(),
552
552
  "aria-valuemin": y,
@@ -573,10 +573,10 @@ function dt({ table: e, enableResizing: t = !1, stickyHeader: i = !1, headerClas
573
573
  }, a.id))]
574
574
  });
575
575
  }
576
- dt.displayName = "DataTableHeader";
576
+ lt.displayName = "DataTableHeader";
577
577
  //#endregion
578
578
  //#region src/components/features/table/column-visibility-toggle.tsx
579
- function J({ table: e, className: t, align: r = "end", labelVisibility: i = "hidden", strings: a = U }) {
579
+ function X({ table: e, className: t, align: r = "end", labelVisibility: i = "hidden", strings: a = K }) {
580
580
  let o = e.getAllColumns().filter((e) => e.getCanHide());
581
581
  if (o.length === 0) return null;
582
582
  let s = i !== "hidden", c = o.map((e) => {
@@ -591,14 +591,13 @@ function J({ table: e, className: t, align: r = "end", labelVisibility: i = "hid
591
591
  className: "capitalize"
592
592
  };
593
593
  });
594
- return /* @__PURE__ */ I(u, {
594
+ return /* @__PURE__ */ z(u, {
595
595
  actions: c,
596
- icon: He,
596
+ icon: ze,
597
597
  label: a.columnVisibility.triggerLabel,
598
598
  srText: a.columnVisibility.triggerLabel,
599
599
  align: r,
600
600
  width: l.xs,
601
- density: "table",
602
601
  labelVisibility: s ? "responsive" : "hidden",
603
602
  buttonProps: {
604
603
  "aria-label": a.columnVisibility.triggerLabel,
@@ -611,13 +610,13 @@ function J({ table: e, className: t, align: r = "end", labelVisibility: i = "hid
611
610
  preserveOrder: !0
612
611
  });
613
612
  }
614
- J.displayName = "ColumnVisibilityToggle";
613
+ X.displayName = "ColumnVisibilityToggle";
615
614
  //#endregion
616
615
  //#region src/components/features/table/partials/fullscreen-toggle.tsx
617
- var ft = "text-muted-foreground hover:text-foreground disabled:pointer-events-none disabled:opacity-50";
618
- function Y({ fullscreen: e, onFullscreenChange: t, enterLabel: i = "Enter full screen", exitLabel: a = "Exit full screen", className: o }) {
619
- let s = e ? a : i, c = e ? Be : ze;
620
- return /* @__PURE__ */ I(r, {
616
+ var ut = "text-muted-foreground hover:text-foreground disabled:pointer-events-none disabled:opacity-50";
617
+ function dt({ fullscreen: e, onFullscreenChange: t, enterLabel: i = "Enter full screen", exitLabel: a = "Exit full screen", className: o }) {
618
+ let s = e ? a : i, c = e ? Le : Ie;
619
+ return /* @__PURE__ */ z(r, {
621
620
  type: "button",
622
621
  tone: "secondary",
623
622
  buttonStyle: "ghost",
@@ -626,34 +625,34 @@ function Y({ fullscreen: e, onFullscreenChange: t, enterLabel: i = "Enter full s
626
625
  "aria-label": s,
627
626
  "aria-pressed": e,
628
627
  onClick: () => t(!e),
629
- className: n("fullscreen-toggle--component", ft, o),
630
- children: /* @__PURE__ */ I(c, { className: "size-icon-sm" })
628
+ className: n("fullscreen-toggle--component", ut, o),
629
+ children: /* @__PURE__ */ z(c, { className: "size-icon-sm" })
631
630
  });
632
631
  }
633
- Y.displayName = "FullscreenToggle";
632
+ dt.displayName = "FullscreenToggle";
634
633
  //#endregion
635
634
  //#region src/components/features/table/table-toolbar.tsx
636
- var pt = 300, mt = "text-muted-foreground transition-colors duration-150 hover:text-foreground disabled:pointer-events-none disabled:opacity-50";
637
- function ht({ label: e, onClick: t, disabled: i, className: a, children: o }) {
638
- return /* @__PURE__ */ I(r, {
635
+ var ft = 300, pt = "text-muted-foreground transition-colors duration-150 hover:text-foreground disabled:pointer-events-none disabled:opacity-50";
636
+ function mt({ label: e, onClick: t, disabled: i, className: a, children: o }) {
637
+ return /* @__PURE__ */ z(r, {
639
638
  type: "button",
640
639
  tone: "secondary",
641
640
  buttonStyle: "ghost",
642
641
  size: "sm",
643
642
  iconOnly: !0,
644
643
  "aria-label": e,
645
- className: n("table-toolbar--component", mt, O.joinedItem, a),
644
+ className: n("table-toolbar--component", pt, O.joinedItem, a),
646
645
  onClick: t,
647
646
  disabled: i,
648
647
  children: o
649
648
  });
650
649
  }
651
- function X(e) {
650
+ function ht(e) {
652
651
  return e ? e.querySelector("[data-slot=\"table-container\"]") : null;
653
652
  }
654
- function gt({ table: r, tableAreaRef: i, fullscreen: a, onFullscreenChange: o, showFullscreenToggle: s = !1, enableColumnVisibility: c = !1, labelVisibility: l = "hidden", strings: u = U }) {
655
- let { defaultScale: d } = e(), f = t(void 0, d), [p, m] = F(!1), [h, g] = F(!1), _ = P(0), v = P(null), y = j(() => {
656
- let e = X(i.current);
653
+ function gt({ table: r, tableAreaRef: i, fullscreen: a, onFullscreenChange: o, showFullscreenToggle: s = !1, enableColumnVisibility: c = !1, labelVisibility: l = "hidden", strings: u = K }) {
654
+ let { defaultScale: d } = t(), f = e(void 0, d), [p, m] = R(!1), [h, g] = R(!1), _ = L(0), v = L(null), y = P(() => {
655
+ let e = ht(i.current);
657
656
  if (!e) {
658
657
  m(!1), g(!1);
659
658
  return;
@@ -661,9 +660,9 @@ function gt({ table: r, tableAreaRef: i, fullscreen: a, onFullscreenChange: o, s
661
660
  let { scrollLeft: t, scrollWidth: n, clientWidth: r } = e;
662
661
  m(t > 1), g(t + r < n - 1);
663
662
  }, [i]);
664
- M(() => {
663
+ F(() => {
665
664
  let e = window.setTimeout(() => {
666
- let e = X(i.current);
665
+ let e = ht(i.current);
667
666
  if (!e || (y(), typeof ResizeObserver > "u")) return;
668
667
  let t = () => {
669
668
  cancelAnimationFrame(_.current), _.current = requestAnimationFrame(y);
@@ -682,43 +681,43 @@ function gt({ table: r, tableAreaRef: i, fullscreen: a, onFullscreenChange: o, s
682
681
  y,
683
682
  a
684
683
  ]);
685
- let b = j(() => {
686
- X(i.current)?.scrollBy({
684
+ let b = P(() => {
685
+ ht(i.current)?.scrollBy({
687
686
  left: -300,
688
687
  behavior: "smooth"
689
688
  });
690
- }, [i]), x = j(() => {
691
- X(i.current)?.scrollBy({
692
- left: pt,
689
+ }, [i]), x = P(() => {
690
+ ht(i.current)?.scrollBy({
691
+ left: ft,
693
692
  behavior: "smooth"
694
693
  });
695
694
  }, [i]), S = c ? r.getAllColumns().filter((e) => e.getCanHide()) : [], C = p || h, w = S.length > 0, T = s;
696
- return !C && !w && !T ? null : /* @__PURE__ */ L("div", {
695
+ return !C && !w && !T ? null : /* @__PURE__ */ B("div", {
697
696
  className: n(O.joinedFrame, me[f], "bg-card text-card-foreground"),
698
697
  children: [
699
- !!C && /* @__PURE__ */ L(Me, { children: [
700
- /* @__PURE__ */ I(ht, {
698
+ !!C && /* @__PURE__ */ B(ke, { children: [
699
+ /* @__PURE__ */ z(mt, {
701
700
  label: u.toolbar.scrollLeft,
702
701
  onClick: b,
703
702
  disabled: !p,
704
703
  className: O.firstItem,
705
- children: /* @__PURE__ */ I(R, { className: "size-icon-sm" })
704
+ children: /* @__PURE__ */ z(V, { className: "size-icon-sm" })
706
705
  }),
707
- /* @__PURE__ */ I(ht, {
706
+ /* @__PURE__ */ z(mt, {
708
707
  label: u.toolbar.scrollRight,
709
708
  onClick: x,
710
709
  disabled: !h,
711
- children: /* @__PURE__ */ I(Ie, { className: "size-icon-sm" })
710
+ children: /* @__PURE__ */ z(Ne, { className: "size-icon-sm" })
712
711
  }),
713
- (w || T) && /* @__PURE__ */ I("div", { className: "h-4 w-px self-center bg-border" })
712
+ (w || T) && /* @__PURE__ */ z("div", { className: "h-4 w-px self-center bg-border" })
714
713
  ] }),
715
- !!w && /* @__PURE__ */ L(Me, { children: [/* @__PURE__ */ I(J, {
714
+ !!w && /* @__PURE__ */ B(ke, { children: [/* @__PURE__ */ z(X, {
716
715
  table: r,
717
716
  strings: u,
718
717
  labelVisibility: l,
719
718
  className: n(O.joinedItem, "border-0 shadow-none", !C && O.firstItem, !T && O.lastItem)
720
- }), T && /* @__PURE__ */ I("div", { className: "h-4 w-px self-center bg-border" })] }),
721
- T && /* @__PURE__ */ I(Y, {
719
+ }), T && /* @__PURE__ */ z("div", { className: "h-4 w-px self-center bg-border" })] }),
720
+ T && /* @__PURE__ */ z(dt, {
722
721
  fullscreen: a,
723
722
  onFullscreenChange: o,
724
723
  enterLabel: u.toolbar.enterFullscreen,
@@ -731,9 +730,9 @@ function gt({ table: r, tableAreaRef: i, fullscreen: a, onFullscreenChange: o, s
731
730
  gt.displayName = "DataTableToolbar";
732
731
  //#endregion
733
732
  //#region src/components/features/table/data-table.tsx
734
- var _t = Ae("sm");
733
+ var _t = De("sm");
735
734
  function vt() {
736
- return je(_t);
735
+ return Oe(_t);
737
736
  }
738
737
  var yt = {
739
738
  sm: "compact",
@@ -755,12 +754,12 @@ function St(e, t) {
755
754
  filterFn: "includesString"
756
755
  } : e);
757
756
  }
758
- function Ct({ size: r, surface: i = "card", headerTransparent: a = !0, columns: o, data: c, columnGroups: l, rowActions: u, rowActionsMenuLabel: d, rowActionsDisplayMode: f, rowActionsBreakpoint: p, enableSorting: m = !1, enableResizing: h = !1, enableFiltering: g = !1, filterColumn: _, filterPlaceholder: v, manualSorting: y = !1, enableColumnVisibility: b = !1, fullscreen: x, defaultFullscreen: S = !1, onFullscreenChange: C, showFullscreenToggle: w = !1, enableRowSelection: T = !1, enableMultiRowSelection: ee = !0, enableSubRowSelection: te = !1, pagination: E, pageQueryKey: ne, onPageChange: re, onSortingChange: ie, onColumnFiltersChange: ae, onRowClick: oe, onRowSelectionChange: se, stickyHeader: ce = !1, stickyToolbar: le = !1, stickyFirstColumn: D = !1, maxBodyHeight: pe, fillAvailableHeight: O = !1, emptyStateMessage: me, emptyStateAction: he, className: ge = "", rowClassName: _e = "", cellClassName: ve = "", headerClassName: ye = "", wrapperClassName: be = "", innerClassName: xe = "", tableContainerClassName: Se = "", getRowId: Ce, rowSelection: we, sorting: Te, defaultSorting: Ee, columnVisibility: De, defaultColumnVisibility: ke, initialState: k, onColumnVisibilityChange: Ae, strings: A, topbarContent: je, topbarEnd: M, topbarClassName: Ne, toolbarLabelVisibility: Pe = "hidden", footerContent: Fe, selectionToolbar: R, bulkActions: Ie, selectionToolbarClassName: Le, selectionToolbarPlacement: Re = "floating", totalRowCount: ze, storageKey: Be }) {
759
- let { defaultScale: Ve } = e(), He = t(r, Ve), z = N(() => Qe(A), [A]), qe = n("bg-card text-card-foreground", _e), B = me ?? z.emptyState.message, Je = ne ?? "page", V = xt(pe), Ye = Array.isArray(o) && o.length === 2 && Array.isArray(o[1]) ? o[0] : o, H = N(() => Be ? `dt.${Be}.columns` : null, [Be]), Ze = N(() => {
760
- let e = ke ?? k?.columnVisibility ?? {};
761
- if (!H || typeof window > "u") return e;
757
+ function Ct({ size: r, surface: i = "card", headerTransparent: a = !0, columns: o, data: c, columnGroups: l, rowActions: u, rowActionsMenuLabel: d, rowActionsDisplayMode: f, rowActionsBreakpoint: p, enableSorting: m = !1, enableResizing: h = !1, enableFiltering: g = !1, filterColumn: _, filterPlaceholder: v, manualSorting: y = !1, enableColumnVisibility: b = !1, fullscreen: x, defaultFullscreen: S = !1, onFullscreenChange: C, showFullscreenToggle: w = !1, enableRowSelection: T = !1, enableMultiRowSelection: ee = !0, enableSubRowSelection: te = !1, pagination: E, pageQueryKey: ne, onPageChange: re, onSortingChange: ie, onColumnFiltersChange: ae, onRowClick: oe, onRowSelectionChange: se, stickyHeader: ce = !1, stickyToolbar: le = !1, stickyFirstColumn: D = !1, maxBodyHeight: pe, fillAvailableHeight: O = !1, emptyStateMessage: me, emptyStateAction: he, className: ge = "", rowClassName: _e = "", cellClassName: ve = "", headerClassName: ye = "", wrapperClassName: be = "", innerClassName: xe = "", tableContainerClassName: Se = "", getRowId: k, rowSelection: A, sorting: j, defaultSorting: Ce, columnVisibility: we, defaultColumnVisibility: Ee, initialState: M, onColumnVisibilityChange: De, strings: N, topbarContent: Oe, topbarEnd: F, topbarClassName: Ae, toolbarLabelVisibility: je = "hidden", footerContent: Me, selectionToolbar: V, bulkActions: Ne, selectionToolbarClassName: Pe, selectionToolbarPlacement: Fe = "floating", totalRowCount: Ie, storageKey: Le }) {
758
+ let { defaultScale: Re } = t(), ze = e(r, Re), H = I(() => Ye(N), [N]), We = n("bg-card text-card-foreground", _e), U = me ?? H.emptyState.message, Ge = ne ?? "page", W = xt(pe), Ke = Array.isArray(o) && o.length === 2 && Array.isArray(o[1]) ? o[0] : o, G = I(() => Le ? `dt.${Le}.columns` : null, [Le]), Je = I(() => {
759
+ let e = Ee ?? M?.columnVisibility ?? {};
760
+ if (!G || typeof window > "u") return e;
762
761
  try {
763
- let t = window.localStorage.getItem(H);
762
+ let t = window.localStorage.getItem(G);
764
763
  return {
765
764
  ...t ? JSON.parse(t) : {},
766
765
  ...e
@@ -769,59 +768,59 @@ function Ct({ size: r, surface: i = "card", headerTransparent: a = !0, columns:
769
768
  return e;
770
769
  }
771
770
  }, [
772
- ke,
773
- H,
774
- k?.columnVisibility
775
- ]), [U, W] = F(Ee ?? k?.sorting ?? []), [$e, et] = F(k?.columnFilters ?? []), [rt, it] = F(Ze), [at, ot] = F(k?.rowSelection || {}), [st, ct] = F(S), G = Te ?? U, K = De ?? rt, q = we ?? at, J = x ?? st, ft = P(null), Y = P(null), pt = N(() => ({ get current() {
776
- let e = Y.current;
777
- return e?.isConnected ? e : ft.current?.querySelector("thead [role=\"checkbox\"]") ?? null;
778
- } }), []), mt = j((e) => {
779
- e.target instanceof HTMLElement && (Y.current = e.target);
780
- }, []), ht = j((e) => {
781
- let t = typeof e == "function" ? e($e) : e;
782
- et(t), ae?.(t);
783
- }, [$e, ae]), X = j((e) => {
784
- let t = typeof e == "function" ? e(G) : e;
785
- Te === void 0 && W(t), ie?.(t);
771
+ Ee,
772
+ G,
773
+ M?.columnVisibility
774
+ ]), [K, q] = R(Ce ?? M?.sorting ?? []), [Xe, Ze] = R(M?.columnFilters ?? []), [et, tt] = R(Je), [nt, rt] = R(M?.rowSelection || {}), [it, at] = R(S), J = j ?? K, Y = we ?? et, st = A ?? nt, X = x ?? it, ut = L(null), dt = L(null), ft = I(() => ({ get current() {
775
+ let e = dt.current;
776
+ return e?.isConnected ? e : ut.current?.querySelector("thead [role=\"checkbox\"]") ?? null;
777
+ } }), []), pt = P((e) => {
778
+ e.target instanceof HTMLElement && (dt.current = e.target);
779
+ }, []), mt = P((e) => {
780
+ let t = typeof e == "function" ? e(Xe) : e;
781
+ Ze(t), ae?.(t);
782
+ }, [Xe, ae]), ht = P((e) => {
783
+ let t = typeof e == "function" ? e(J) : e;
784
+ j === void 0 && q(t), ie?.(t);
786
785
  }, [
787
- Te,
786
+ j,
788
787
  ie,
789
- G
790
- ]), vt = j((e) => {
791
- let t = typeof e == "function" ? e(K) : e;
792
- if (De === void 0 && it(t), H && typeof window < "u") try {
793
- window.localStorage.setItem(H, JSON.stringify(t));
788
+ J
789
+ ]), vt = P((e) => {
790
+ let t = typeof e == "function" ? e(Y) : e;
791
+ if (we === void 0 && tt(t), G && typeof window < "u") try {
792
+ window.localStorage.setItem(G, JSON.stringify(t));
794
793
  } catch {}
795
- Ae?.(t);
796
- }, [
797
- K,
798
- De,
799
- H,
800
- Ae
801
- ]), Ct = j((e) => {
802
- let t = typeof e == "function" ? e(q) : e;
803
- we === void 0 && ot(t), se?.(t);
794
+ De?.(t);
804
795
  }, [
796
+ Y,
805
797
  we,
798
+ G,
799
+ De
800
+ ]), Ct = P((e) => {
801
+ let t = typeof e == "function" ? e(st) : e;
802
+ A === void 0 && rt(t), se?.(t);
803
+ }, [
804
+ A,
806
805
  se,
807
- q
808
- ]), wt = P(null), Z = j((e) => {
809
- x === void 0 && ct(e), C?.(e);
806
+ st
807
+ ]), wt = L(null), Z = P((e) => {
808
+ x === void 0 && at(e), C?.(e);
810
809
  }, [x, C]);
811
- Xe(J, wt, j(() => Z(!1), [Z]));
812
- let Tt = j((e) => typeof d == "function" ? d(e) : d ?? z.actions.menuLabel, [d, z.actions.menuLabel]), Et = N(() => {
813
- let e = g && _ ? St(Ye, _) : Ye, t = T ? lt(e, z) : e;
810
+ qe(X, wt, P(() => Z(!1), [Z]));
811
+ let Tt = P((e) => typeof d == "function" ? d(e) : d ?? H.actions.menuLabel, [d, H.actions.menuLabel]), Et = I(() => {
812
+ let e = g && _ ? St(Ke, _) : Ke, t = T ? ot(e, H) : e;
814
813
  if (!u) return t;
815
814
  let n = {
816
815
  id: "actions",
817
- header: z.actions.triggerLabel,
818
- cell: ({ row: e }) => /* @__PURE__ */ I(nt, {
816
+ header: H.actions.triggerLabel,
817
+ cell: ({ row: e }) => /* @__PURE__ */ z($e, {
819
818
  row: e.original,
820
819
  actions: u,
821
820
  menuLabel: Tt(e.original),
822
821
  displayMode: f,
823
822
  responsiveBreakpoint: p,
824
- strings: z
823
+ strings: H
825
824
  }),
826
825
  enableSorting: !1,
827
826
  enableHiding: !1,
@@ -829,7 +828,7 @@ function Ct({ size: r, surface: i = "card", headerTransparent: a = !0, columns:
829
828
  };
830
829
  return [...t, n];
831
830
  }, [
832
- Ye,
831
+ Ke,
833
832
  g,
834
833
  _,
835
834
  T,
@@ -837,19 +836,20 @@ function Ct({ size: r, surface: i = "card", headerTransparent: a = !0, columns:
837
836
  Tt,
838
837
  p,
839
838
  f,
840
- z
841
- ]), Q = Ke({
839
+ H
840
+ ]), Q = Ue({
842
841
  data: c,
843
842
  columns: Et,
844
843
  state: {
845
- sorting: G,
846
- columnVisibility: K,
847
- rowSelection: q,
848
- columnFilters: $e
844
+ sorting: J,
845
+ columnVisibility: Y,
846
+ rowSelection: st,
847
+ columnFilters: Xe
849
848
  },
850
849
  enableSorting: m,
851
850
  enableColumnResizing: h,
852
851
  columnResizeMode: "onChange",
852
+ defaultColumn: { size: void 0 },
853
853
  enableColumnFilters: g,
854
854
  manualFiltering: !g,
855
855
  manualSorting: y,
@@ -857,103 +857,103 @@ function Ct({ size: r, surface: i = "card", headerTransparent: a = !0, columns:
857
857
  enableRowSelection: T,
858
858
  enableMultiRowSelection: ee,
859
859
  enableSubRowSelection: te,
860
- onSortingChange: m ? X : void 0,
860
+ onSortingChange: m ? ht : void 0,
861
861
  onRowSelectionChange: T ? Ct : void 0,
862
862
  onColumnVisibilityChange: vt,
863
- onColumnFiltersChange: ht,
864
- getCoreRowModel: Ue(),
865
- getFilteredRowModel: We(),
866
- getSortedRowModel: Ge(),
867
- getRowId: Ce
868
- }), Dt = g && _ ? Q.getAllLeafColumns().find((e) => e.id === _ && e.getCanFilter()) : void 0, Ot = v ?? z.filter.searchPlaceholder, kt = E && E.last_page > 1, At = Q.getSelectedRowModel().rows.map((e) => e.original), $ = At.length, jt = j(() => {
863
+ onColumnFiltersChange: mt,
864
+ getCoreRowModel: Be(),
865
+ getFilteredRowModel: Ve(),
866
+ getSortedRowModel: He(),
867
+ getRowId: k
868
+ }), Dt = g && _ ? Q.getAllLeafColumns().find((e) => e.id === _ && e.getCanFilter()) : void 0, Ot = v ?? H.filter.searchPlaceholder, kt = E && E.last_page > 1, At = Q.getSelectedRowModel().rows.map((e) => e.original), $ = At.length, jt = P(() => {
869
869
  Q.resetRowSelection();
870
- }, [Q]), Mt = ze ?? E?.total ?? c.length, Nt = {
870
+ }, [Q]), Mt = Ie ?? E?.total ?? c.length, Nt = {
871
871
  table: Q,
872
872
  selectedRows: At,
873
873
  selectedRowCount: $,
874
874
  totalRowCount: Mt,
875
- rowSelection: q,
875
+ rowSelection: st,
876
876
  clearSelection: jt
877
877
  }, Pt = (() => {
878
- if (!T || R === null || R === !1) return null;
879
- if (R !== void 0) return $ === 0 ? null : typeof R == "function" ? R(Nt) : R;
880
- let e = $ === 0 ? null : typeof Ie == "function" ? Ie(Nt) : Ie, t = /* @__PURE__ */ I(ue, {
878
+ if (!T || V === null || V === !1) return null;
879
+ if (V !== void 0) return $ === 0 ? null : typeof V == "function" ? V(Nt) : V;
880
+ let e = $ === 0 ? null : typeof Ne == "function" ? Ne(Nt) : Ne, t = /* @__PURE__ */ z(ue, {
881
881
  selectedCount: $,
882
882
  totalCount: Mt,
883
883
  onClear: jt,
884
- placement: Re,
885
- returnFocusRef: pt,
886
- className: n("data-table-selection-toolbar--component", Le),
884
+ placement: Fe,
885
+ returnFocusRef: ft,
886
+ className: n("data-table-selection-toolbar--component", Pe),
887
887
  strings: {
888
- summary: (e, t) => z.selection.summary(e, t ?? Mt),
889
- clear: z.selection.clear,
890
- label: z.selection.label
888
+ summary: (e, t) => H.selection.summary(e, t ?? Mt),
889
+ clear: H.selection.clear,
890
+ label: H.selection.label
891
891
  },
892
892
  children: e
893
893
  });
894
- return Re === "inline" ? /* @__PURE__ */ I("div", {
894
+ return Fe === "inline" ? /* @__PURE__ */ z("div", {
895
895
  "data-slot": "data-table-selection-toolbar",
896
896
  className: "data-table--selection-toolbar px-surface py-row-y empty:hidden",
897
897
  children: t
898
898
  }) : t;
899
- })(), Ft = N(() => {
900
- if (V) return { "--data-table-body-max-height": V };
901
- }, [V]), It = J || O || V !== void 0, Lt = _t.Provider, Rt = bt[He];
902
- return /* @__PURE__ */ I(Lt, {
899
+ })(), Ft = I(() => {
900
+ if (W) return { "--data-table-body-max-height": W };
901
+ }, [W]), It = X || O || W !== void 0, Lt = _t.Provider, Rt = bt[ze];
902
+ return /* @__PURE__ */ z(Lt, {
903
903
  value: Rt,
904
- children: /* @__PURE__ */ L("div", {
904
+ children: /* @__PURE__ */ B("div", {
905
905
  ref: wt,
906
- role: J ? "dialog" : void 0,
907
- "aria-modal": J ? !0 : void 0,
908
- "aria-label": J ? z.accessibility.fullscreenRegion : void 0,
909
- className: n("data-table--component @container/data-table box-border", J ? "fixed inset-0 z-50 bg-background text-foreground flex flex-col overflow-hidden p-surface" : n("w-full min-w-0 max-w-full", O && "flex h-full min-h-0 flex-col", i === "card" && "overflow-hidden rounded-radius border border-border bg-card text-card-foreground shadow-xs", i === "glass" && "rounded-radius overflow-hidden border border-border/60", be)),
906
+ role: X ? "dialog" : void 0,
907
+ "aria-modal": X ? !0 : void 0,
908
+ "aria-label": X ? H.accessibility.fullscreenRegion : void 0,
909
+ className: n("data-table--component @container/data-table box-border", X ? "fixed inset-0 z-50 bg-background text-foreground flex flex-col overflow-hidden p-surface" : n("w-full min-w-0 max-w-full", O && "flex h-full min-h-0 flex-col", i === "card" && "overflow-hidden rounded-surface border border-border bg-card text-card-foreground shadow-xs", i === "glass" && "rounded-surface overflow-hidden border border-border/60", be)),
910
910
  children: [
911
- !!(Dt || je || M || b || w) && /* @__PURE__ */ L("div", {
911
+ !!(Dt || Oe || F || b || w) && /* @__PURE__ */ B("div", {
912
912
  className: n("relative", le && "sticky top-0 z-20 bg-card text-card-foreground"),
913
- children: [/* @__PURE__ */ L("div", {
914
- className: n("data-table-topbar grid gap-space-lg px-surface py-row-y @2xl/data-table:grid-cols-[minmax(0,1fr)_auto] @2xl/data-table:items-end", J ? "mb-space-lg shrink-0" : "mb-0", Ne),
915
- children: [/* @__PURE__ */ L("div", {
913
+ children: [/* @__PURE__ */ B("div", {
914
+ className: n("data-table-topbar grid gap-space-lg px-surface py-surface-sm @2xl/data-table:grid-cols-[minmax(0,1fr)_auto] @2xl/data-table:items-start", X ? "mb-space-lg shrink-0" : "mb-0", Ae),
915
+ children: [/* @__PURE__ */ B("div", {
916
916
  className: "data-table-topbar-left flex min-w-0 flex-col gap-space-md",
917
- children: [je, Dt && /* @__PURE__ */ I("div", {
917
+ children: [Oe, Dt && /* @__PURE__ */ z("div", {
918
918
  className: "min-w-0 max-w-sm",
919
- children: /* @__PURE__ */ I(fe, {
919
+ children: /* @__PURE__ */ z(fe, {
920
920
  "aria-label": Ot,
921
921
  placeholder: Ot,
922
922
  value: Dt.getFilterValue() ?? "",
923
923
  onChange: (e) => Dt.setFilterValue(e.target.value)
924
924
  })
925
925
  })]
926
- }), /* @__PURE__ */ L("div", {
926
+ }), /* @__PURE__ */ B("div", {
927
927
  className: "data-table-topbar-right flex flex-wrap items-center justify-end gap-space-md",
928
- children: [M, /* @__PURE__ */ I(gt, {
928
+ children: [F, /* @__PURE__ */ z(gt, {
929
929
  table: Q,
930
- tableAreaRef: ft,
931
- fullscreen: J,
930
+ tableAreaRef: ut,
931
+ fullscreen: X,
932
932
  onFullscreenChange: Z,
933
933
  showFullscreenToggle: w,
934
934
  enableColumnVisibility: b,
935
- labelVisibility: Pe,
936
- strings: z
935
+ labelVisibility: je,
936
+ strings: H
937
937
  })]
938
938
  })]
939
- }), /* @__PURE__ */ I(de, {})]
939
+ }), /* @__PURE__ */ z(de, {})]
940
940
  }),
941
941
  Pt,
942
- /* @__PURE__ */ I("div", {
943
- ref: ft,
942
+ /* @__PURE__ */ z("div", {
943
+ ref: ut,
944
944
  style: Ft,
945
- onFocus: T ? mt : void 0,
946
- className: n("min-h-0", It ? "overflow-hidden" : xe, (J || O) && "flex-1"),
947
- children: /* @__PURE__ */ L(Oe, {
948
- density: yt[He],
945
+ onFocus: T ? pt : void 0,
946
+ className: n("min-h-0", It ? "overflow-hidden" : xe, (X || O) && "flex-1"),
947
+ children: /* @__PURE__ */ B(Te, {
948
+ density: yt[ze],
949
949
  containerProps: {
950
950
  role: "region",
951
- "aria-label": z.accessibility.scrollRegion
951
+ "aria-label": H.accessibility.scrollRegion
952
952
  },
953
953
  style: h ? { width: Q.getTotalSize() } : void 0,
954
954
  className: n("relative", h && "min-w-full table-fixed", ge),
955
- containerClassName: n(`focus-visible:outline-none ${s.edge}`, It && "overflow-auto", V !== void 0 && "max-h-(--data-table-body-max-height)", (J || O) && "h-full min-h-0", Se),
956
- children: [/* @__PURE__ */ I(dt, {
955
+ containerClassName: n(`focus-visible:outline-none ${s.edge}`, It && "overflow-auto", W !== void 0 && "max-h-(--data-table-body-max-height)", (X || O) && "h-full min-h-0", Se),
956
+ children: [/* @__PURE__ */ z(lt, {
957
957
  enableResizing: h,
958
958
  table: Q,
959
959
  stickyHeader: ce,
@@ -962,29 +962,29 @@ function Ct({ size: r, surface: i = "card", headerTransparent: a = !0, columns:
962
962
  stickyFirstColumn: D,
963
963
  columnGroups: l,
964
964
  headerTransparent: a,
965
- strings: z
966
- }), /* @__PURE__ */ I(ut, {
965
+ strings: H
966
+ }), /* @__PURE__ */ z(ct, {
967
967
  table: Q,
968
968
  onRowClick: oe,
969
- emptyStateMessage: B,
969
+ emptyStateMessage: U,
970
970
  emptyStateAction: he,
971
971
  cellClassName: ve,
972
- rowClassName: qe,
972
+ rowClassName: We,
973
973
  stickyFirstColumn: D,
974
- strings: z
974
+ strings: H
975
975
  })]
976
976
  })
977
977
  }),
978
- !!kt && /* @__PURE__ */ L(Me, { children: [/* @__PURE__ */ I(de, {}), /* @__PURE__ */ I(tt, {
978
+ !!kt && /* @__PURE__ */ B(ke, { children: [/* @__PURE__ */ z(de, {}), /* @__PURE__ */ z(Qe, {
979
979
  pagination: E,
980
980
  onPageChange: re,
981
- pageQueryKey: Je,
982
- labels: z.pagination
981
+ pageQueryKey: Ge,
982
+ labels: H.pagination
983
983
  })] }),
984
- !!Fe && /* @__PURE__ */ I("div", {
984
+ !!Me && /* @__PURE__ */ z("div", {
985
985
  "data-slot": "data-table-footer",
986
986
  className: "data-table--footer border-t border-border/60 px-surface py-row-y",
987
- children: Fe
987
+ children: Me
988
988
  })
989
989
  ]
990
990
  })
@@ -993,14 +993,14 @@ function Ct({ size: r, surface: i = "card", headerTransparent: a = !0, columns:
993
993
  Ct.displayName = "DataTable";
994
994
  //#endregion
995
995
  //#region src/components/features/table/filter-bar.tsx
996
- function wt({ table: e, filterColumn: t, filterPlaceholder: r, enableColumnVisibility: i = !1, customContent: a, strings: o = U }) {
996
+ function wt({ table: e, filterColumn: t, filterPlaceholder: r, enableColumnVisibility: i = !1, customContent: a, strings: o = K }) {
997
997
  if (!t && !i && !a) return null;
998
998
  let s = r ?? o.filter.searchPlaceholder;
999
- return /* @__PURE__ */ L("div", {
999
+ return /* @__PURE__ */ B("div", {
1000
1000
  className: n("filter-bar--component", "flex items-center justify-between p-surface"),
1001
- children: [/* @__PURE__ */ L("div", {
1001
+ children: [/* @__PURE__ */ B("div", {
1002
1002
  className: "flex flex-1 items-center space-x-space-md",
1003
- children: [!!t && /* @__PURE__ */ I(fe, {
1003
+ children: [!!t && /* @__PURE__ */ z(fe, {
1004
1004
  placeholder: s,
1005
1005
  value: e.getColumn(t)?.getFilterValue() ?? "",
1006
1006
  onChange: (n) => {
@@ -1009,7 +1009,7 @@ function wt({ table: e, filterColumn: t, filterPlaceholder: r, enableColumnVisib
1009
1009
  },
1010
1010
  className: "max-w-sm"
1011
1011
  }), a]
1012
- }), !!i && /* @__PURE__ */ I(J, {
1012
+ }), !!i && /* @__PURE__ */ z(X, {
1013
1013
  table: e,
1014
1014
  strings: o,
1015
1015
  labelVisibility: "responsive",
@@ -1027,7 +1027,7 @@ function Tt(e) {
1027
1027
  return e == null;
1028
1028
  }
1029
1029
  function Et(e) {
1030
- return typeof e == "object" && !!e && !Array.isArray(e) && !A(e) && !(e instanceof Date);
1030
+ return typeof e == "object" && !!e && !Array.isArray(e) && !N(e) && !(e instanceof Date);
1031
1031
  }
1032
1032
  function Q(e) {
1033
1033
  return Array.isArray(e);
@@ -1042,7 +1042,7 @@ function Dt(e) {
1042
1042
  }
1043
1043
  function Ot(e) {
1044
1044
  if (e === !1) return null;
1045
- if (A(e)) return e;
1045
+ if (N(e)) return e;
1046
1046
  if (Q(e)) {
1047
1047
  let t = Dt(e);
1048
1048
  return Z(t.value) && Tt(t.display) ? null : t;
@@ -1055,17 +1055,17 @@ function kt(e) {
1055
1055
  function At({ descriptor: e, index: t = 0, emptyLabel: r, className: i, primaryWeight: a = "medium" }) {
1056
1056
  let o = t === 0, s = e.kind ?? (o ? "value" : "secondary"), c = e.value, l = e.display ?? (c instanceof Date ? kt(c) : c), u = e.emptyLabel ?? r, d = n(i, e.className), f = o ? a : "regular";
1057
1057
  switch (s) {
1058
- case "secondary": return /* @__PURE__ */ I(g, {
1058
+ case "secondary": return /* @__PURE__ */ z(g, {
1059
1059
  size: "inherit",
1060
1060
  className: d,
1061
1061
  children: l
1062
1062
  });
1063
- case "muted": return /* @__PURE__ */ I(_, {
1063
+ case "muted": return /* @__PURE__ */ z(_, {
1064
1064
  size: "inherit",
1065
1065
  className: d,
1066
1066
  children: l
1067
1067
  });
1068
- case "name": return /* @__PURE__ */ I(h, {
1068
+ case "name": return /* @__PURE__ */ z(h, {
1069
1069
  type: "inherit",
1070
1070
  value: e.display === void 0 && typeof c == "string" ? c : void 0,
1071
1071
  force: e.force,
@@ -1075,7 +1075,7 @@ function At({ descriptor: e, index: t = 0, emptyLabel: r, className: i, primaryW
1075
1075
  className: d,
1076
1076
  children: e.display
1077
1077
  });
1078
- case "mono": return /* @__PURE__ */ I(b, {
1078
+ case "mono": return /* @__PURE__ */ z(b, {
1079
1079
  type: "inherit",
1080
1080
  size: "inherit",
1081
1081
  weight: f,
@@ -1084,32 +1084,32 @@ function At({ descriptor: e, index: t = 0, emptyLabel: r, className: i, primaryW
1084
1084
  });
1085
1085
  case "link": {
1086
1086
  let t = e.href ?? kt(c);
1087
- return /* @__PURE__ */ I(C, {
1087
+ return /* @__PURE__ */ z(C, {
1088
1088
  href: t,
1089
1089
  emptyLabel: u,
1090
1090
  className: d,
1091
1091
  children: l
1092
1092
  });
1093
1093
  }
1094
- case "email": return /* @__PURE__ */ I(x, {
1094
+ case "email": return /* @__PURE__ */ z(x, {
1095
1095
  value: typeof c == "string" ? c : void 0,
1096
1096
  display: e.display,
1097
1097
  emptyLabel: u,
1098
1098
  className: d
1099
1099
  });
1100
- case "phone": return /* @__PURE__ */ I(m, {
1100
+ case "phone": return /* @__PURE__ */ z(m, {
1101
1101
  value: typeof c == "string" ? c : void 0,
1102
1102
  display: e.display,
1103
1103
  emptyLabel: u,
1104
1104
  className: d
1105
1105
  });
1106
- case "url": return /* @__PURE__ */ I(y, {
1106
+ case "url": return /* @__PURE__ */ z(y, {
1107
1107
  value: typeof c == "string" ? c : void 0,
1108
1108
  display: e.display,
1109
1109
  emptyLabel: u,
1110
1110
  className: d
1111
1111
  });
1112
- case "money": return /* @__PURE__ */ I(te, {
1112
+ case "money": return /* @__PURE__ */ z(te, {
1113
1113
  type: "inherit",
1114
1114
  amount: typeof c == "number" || typeof c == "string" ? c : null,
1115
1115
  currency: e.currency,
@@ -1123,7 +1123,7 @@ function At({ descriptor: e, index: t = 0, emptyLabel: r, className: i, primaryW
1123
1123
  weight: f,
1124
1124
  className: d
1125
1125
  });
1126
- case "number": return /* @__PURE__ */ I(E, {
1126
+ case "number": return /* @__PURE__ */ z(E, {
1127
1127
  type: "inherit",
1128
1128
  value: typeof c == "number" || typeof c == "string" ? c : null,
1129
1129
  locale: e.locale,
@@ -1133,7 +1133,7 @@ function At({ descriptor: e, index: t = 0, emptyLabel: r, className: i, primaryW
1133
1133
  weight: f,
1134
1134
  className: d
1135
1135
  });
1136
- case "percent": return /* @__PURE__ */ I(ee, {
1136
+ case "percent": return /* @__PURE__ */ z(ee, {
1137
1137
  type: "inherit",
1138
1138
  value: typeof c == "number" || typeof c == "string" ? c : null,
1139
1139
  locale: e.locale,
@@ -1144,7 +1144,7 @@ function At({ descriptor: e, index: t = 0, emptyLabel: r, className: i, primaryW
1144
1144
  weight: f,
1145
1145
  className: d
1146
1146
  });
1147
- case "fileSize": return /* @__PURE__ */ I(v, {
1147
+ case "fileSize": return /* @__PURE__ */ z(v, {
1148
1148
  type: "inherit",
1149
1149
  value: typeof c == "number" ? c : null,
1150
1150
  from: e.from,
@@ -1154,7 +1154,7 @@ function At({ descriptor: e, index: t = 0, emptyLabel: r, className: i, primaryW
1154
1154
  weight: f,
1155
1155
  className: d
1156
1156
  });
1157
- case "date": return /* @__PURE__ */ I(oe, {
1157
+ case "date": return /* @__PURE__ */ z(oe, {
1158
1158
  type: "inherit",
1159
1159
  value: c,
1160
1160
  format: e.dateFormat,
@@ -1165,7 +1165,7 @@ function At({ descriptor: e, index: t = 0, emptyLabel: r, className: i, primaryW
1165
1165
  weight: f,
1166
1166
  className: d
1167
1167
  });
1168
- case "time": return /* @__PURE__ */ I(ne, {
1168
+ case "time": return /* @__PURE__ */ z(ne, {
1169
1169
  type: "inherit",
1170
1170
  value: c,
1171
1171
  format: e.timeFormat,
@@ -1175,7 +1175,7 @@ function At({ descriptor: e, index: t = 0, emptyLabel: r, className: i, primaryW
1175
1175
  weight: f,
1176
1176
  className: d
1177
1177
  });
1178
- case "dateTime": return /* @__PURE__ */ I(ie, {
1178
+ case "dateTime": return /* @__PURE__ */ z(ie, {
1179
1179
  type: "inherit",
1180
1180
  value: c,
1181
1181
  format: e.dateFormat,
@@ -1187,7 +1187,7 @@ function At({ descriptor: e, index: t = 0, emptyLabel: r, className: i, primaryW
1187
1187
  weight: f,
1188
1188
  className: d
1189
1189
  });
1190
- case "relativeTime": return /* @__PURE__ */ I(re, {
1190
+ case "relativeTime": return /* @__PURE__ */ z(re, {
1191
1191
  value: c,
1192
1192
  locale: e.dateLocale,
1193
1193
  emptyLabel: u,
@@ -1195,7 +1195,7 @@ function At({ descriptor: e, index: t = 0, emptyLabel: r, className: i, primaryW
1195
1195
  weight: f,
1196
1196
  className: d
1197
1197
  });
1198
- default: return /* @__PURE__ */ I(p, {
1198
+ default: return /* @__PURE__ */ z(p, {
1199
1199
  type: "inherit",
1200
1200
  size: "inherit",
1201
1201
  weight: f,
@@ -1206,7 +1206,7 @@ function At({ descriptor: e, index: t = 0, emptyLabel: r, className: i, primaryW
1206
1206
  }
1207
1207
  function $({ value: e, kind: t, href: r, currency: i, currencyDisplay: a, minimumFractionDigits: o, maximumFractionDigits: s, formatMode: c, locale: l, dateLocale: u, from: d, force: f, options: m, scaled: h, dateFormat: g, datePreset: _, timeFormat: v, emptyLabel: y, fallback: b = "--", missing: x, className: C, children: w }) {
1208
1208
  let T = x ?? Z(e);
1209
- return w === void 0 ? T ? /* @__PURE__ */ I(S, {
1209
+ return w === void 0 ? T ? /* @__PURE__ */ z(S, {
1210
1210
  size: "inherit",
1211
1211
  className: n("cell-value--component", C),
1212
1212
  children: y ?? b
@@ -1234,7 +1234,7 @@ function $({ value: e, kind: t, href: r, currency: i, currencyDisplay: a, minimu
1234
1234
  },
1235
1235
  emptyLabel: y ?? b,
1236
1236
  className: C
1237
- }) : /* @__PURE__ */ I(T ? S : p, {
1237
+ }) : /* @__PURE__ */ z(T ? S : p, {
1238
1238
  type: T ? "secondary" : "inherit",
1239
1239
  size: "inherit",
1240
1240
  className: n("cell-value--component", C),
@@ -1243,18 +1243,18 @@ function $({ value: e, kind: t, href: r, currency: i, currencyDisplay: a, minimu
1243
1243
  }
1244
1244
  function jt({ values: e = [], emptyLabel: t = "--", className: r, itemClassName: i, primaryClassName: a, secondaryClassName: o, primaryWeight: s = "medium" }) {
1245
1245
  let c = e.map(Ot).filter((e) => e !== null).slice(0, 4);
1246
- return c.length === 0 ? /* @__PURE__ */ I(S, {
1246
+ return c.length === 0 ? /* @__PURE__ */ z(S, {
1247
1247
  size: "inherit",
1248
1248
  className: n("cell-stack--component", r),
1249
1249
  children: t
1250
- }) : /* @__PURE__ */ I("div", {
1250
+ }) : /* @__PURE__ */ z("div", {
1251
1251
  className: n("cell-stack--component flex min-w-0 flex-col items-start gap-space-2xs", r),
1252
1252
  children: c.map((e, r) => {
1253
1253
  let c = r === 0, l = n("cell-stack--item min-w-0 max-w-full truncate", !c && "text-xs", i, c ? a : o);
1254
- return A(e) ? /* @__PURE__ */ I("div", {
1254
+ return N(e) ? /* @__PURE__ */ z("div", {
1255
1255
  className: l,
1256
1256
  children: e
1257
- }, r) : /* @__PURE__ */ I("div", {
1257
+ }, r) : /* @__PURE__ */ z("div", {
1258
1258
  className: l,
1259
1259
  children: At({
1260
1260
  descriptor: e,
@@ -1270,7 +1270,7 @@ function jt({ values: e = [], emptyLabel: t = "--", className: r, itemClassName:
1270
1270
  $.displayName = "CellValue", jt.displayName = "CellStack";
1271
1271
  //#endregion
1272
1272
  //#region src/components/features/table/partials/table-link.tsx
1273
- var Mt = ({ className: e, ...t }) => /* @__PURE__ */ I(C, {
1273
+ var Mt = ({ className: e, ...t }) => /* @__PURE__ */ z(C, {
1274
1274
  className: n("table-link--component", "underline decoration-link-color/35 decoration-dotted underline-offset-2 hover:decoration-link-color", e),
1275
1275
  ...t,
1276
1276
  children: t.children
@@ -1280,26 +1280,26 @@ var Mt = ({ className: e, ...t }) => /* @__PURE__ */ I(C, {
1280
1280
  function Nt(e, t) {
1281
1281
  if (e && typeof e == "object" && !("type" in e) && "label" in e) {
1282
1282
  let n = e.icon;
1283
- return /* @__PURE__ */ L(D, {
1283
+ return /* @__PURE__ */ B(D, {
1284
1284
  tone: e.tone ?? "secondary",
1285
1285
  dot: e.dot,
1286
- children: [!!n && /* @__PURE__ */ I(n, { className: "size-icon-sm" }), e.label]
1286
+ children: [!!n && /* @__PURE__ */ z(n, { className: "size-icon-sm" }), e.label]
1287
1287
  }, e.id ?? t);
1288
1288
  }
1289
- return /* @__PURE__ */ I("span", { children: e }, t);
1289
+ return /* @__PURE__ */ z("span", { children: e }, t);
1290
1290
  }
1291
1291
  function Pt(e) {
1292
- return e ? Array.isArray(e) ? /* @__PURE__ */ I("span", {
1292
+ return e ? Array.isArray(e) ? /* @__PURE__ */ z("span", {
1293
1293
  className: "inline-flex min-w-0 flex-wrap items-center gap-x-space-md gap-y-space-2xs",
1294
- children: e.map((e, t) => /* @__PURE__ */ L("span", {
1294
+ children: e.map((e, t) => /* @__PURE__ */ B("span", {
1295
1295
  className: "inline-flex min-w-0 items-center gap-space-sm",
1296
- children: [!!e.label && /* @__PURE__ */ I(i, {
1296
+ children: [!!e.label && /* @__PURE__ */ z(i, {
1297
1297
  tag: "span",
1298
1298
  size: "inherit",
1299
1299
  type: "secondary",
1300
1300
  className: "shrink-0",
1301
1301
  children: e.label
1302
- }), /* @__PURE__ */ I(i, {
1302
+ }), /* @__PURE__ */ z(i, {
1303
1303
  tag: "span",
1304
1304
  size: "inherit",
1305
1305
  type: "secondary",
@@ -1309,122 +1309,128 @@ function Pt(e) {
1309
1309
  }, e.id ?? t))
1310
1310
  }) : e : null;
1311
1311
  }
1312
- function Ft({ title: e, subtitle: t, metadata: r, badges: a = [], imageUrl: l, icon: u = Re, fallback: d, href: f, renderLink: p, emptyLabel: m = "—", className: h, mediaClassName: g, contentClassName: _, titleClassName: v, subtitleClassName: y }) {
1313
- if (!e) return /* @__PURE__ */ I(i, {
1312
+ function Ft({ title: e, subtitle: t, metadata: r, badges: a = [], imageUrl: l, icon: u, fallback: d, href: f, renderLink: p, emptyLabel: m = "—", className: h, mediaShape: g = "circle", mediaClassName: _, contentClassName: v, titleClassName: y, subtitleClassName: b }) {
1313
+ if (!e) return /* @__PURE__ */ z(i, {
1314
1314
  size: "inherit",
1315
1315
  type: "secondary",
1316
1316
  className: h,
1317
1317
  children: m
1318
1318
  });
1319
- let b = typeof e == "string" ? e : void 0, x = b ? T(b, { strategy: "first-words" }) : "", S = /* @__PURE__ */ L(c, {
1320
- render: /* @__PURE__ */ I("span", {}),
1319
+ let x = typeof e == "string" ? e : void 0, S = x ? T(x, { strategy: "first-words" }) : "", C = /* @__PURE__ */ B(c, {
1320
+ render: /* @__PURE__ */ z("span", {}),
1321
1321
  gap: "dense",
1322
- className: n("resource-cell--content", _),
1322
+ className: n("resource-cell--content", v),
1323
1323
  children: [
1324
- /* @__PURE__ */ L(c, {
1325
- render: /* @__PURE__ */ I("span", {}),
1324
+ /* @__PURE__ */ B(c, {
1325
+ render: /* @__PURE__ */ z("span", {}),
1326
1326
  direction: "horizontal",
1327
1327
  gap: "sm",
1328
1328
  wrap: !1,
1329
1329
  className: "resource-cell--title-row",
1330
- children: [/* @__PURE__ */ I(i, {
1330
+ children: [/* @__PURE__ */ z(i, {
1331
1331
  type: "inherit",
1332
1332
  tag: "span",
1333
1333
  size: "inherit",
1334
1334
  weight: "medium",
1335
- className: n("resource-cell--title truncate", v),
1335
+ title: x,
1336
+ className: n("resource-cell--title truncate", y),
1336
1337
  children: e
1337
- }), a.length > 0 && /* @__PURE__ */ I("span", {
1338
+ }), a.length > 0 && /* @__PURE__ */ z("span", {
1338
1339
  className: "resource-cell--badges inline-flex shrink-0 items-center gap-space-sm",
1339
1340
  children: a.map(Nt)
1340
1341
  })]
1341
1342
  }),
1342
- !!t && /* @__PURE__ */ I(i, {
1343
+ !!t && /* @__PURE__ */ z(i, {
1343
1344
  tag: "span",
1344
1345
  size: "inherit",
1345
1346
  type: "secondary",
1346
- className: n("resource-cell--subtitle truncate", y),
1347
+ className: n("resource-cell--subtitle truncate", b),
1347
1348
  children: t
1348
1349
  }),
1349
- !!r && /* @__PURE__ */ I("span", {
1350
+ !!r && /* @__PURE__ */ z("span", {
1350
1351
  className: "resource-cell--metadata min-w-0",
1351
1352
  children: Pt(r)
1352
1353
  })
1353
1354
  ]
1354
- }), C = /* @__PURE__ */ L("span", {
1355
+ }), ee = d != null && d !== !1 && d !== "", te = !!l || !!u || ee, E = g === "square", ne = /* @__PURE__ */ B("span", {
1355
1356
  className: n("resource-cell--component inline-flex min-w-0 items-center gap-space-md", h),
1356
- children: [/* @__PURE__ */ L(ce, {
1357
+ children: [te && /* @__PURE__ */ B(ce, {
1357
1358
  size: "md",
1358
- className: n("resource-cell--media", g),
1359
- children: [!!l && /* @__PURE__ */ I(le, {
1359
+ "data-shape": g,
1360
+ className: n("resource-cell--media", E && "rounded-radius after:rounded-radius", _),
1361
+ children: [!!l && /* @__PURE__ */ z(le, {
1360
1362
  src: l,
1361
- alt: b ?? ""
1362
- }), /* @__PURE__ */ I(se, { children: d || (x ? /* @__PURE__ */ I(w, {
1363
- value: b,
1364
- strategy: "first-words"
1365
- }) : /* @__PURE__ */ I(u, { className: "size-icon" })) })]
1366
- }), S]
1363
+ alt: x ?? "",
1364
+ className: n(E && "rounded-radius")
1365
+ }), /* @__PURE__ */ z(se, {
1366
+ className: n(E && "rounded-radius"),
1367
+ children: ee ? d : u ? /* @__PURE__ */ z(u, { className: "size-icon" }) : S ? /* @__PURE__ */ z(w, {
1368
+ value: x,
1369
+ strategy: "first-words"
1370
+ }) : null
1371
+ })]
1372
+ }), C]
1367
1373
  });
1368
- if (!f) return C;
1369
- let ee = `resource-cell--link inline-flex min-w-0 rounded-inner outline-none ${s.text}`;
1374
+ if (!f) return ne;
1375
+ let re = `resource-cell--link inline-flex min-w-0 rounded-radius outline-none ${s.text}`;
1370
1376
  return p ? p({
1371
1377
  href: f,
1372
- children: C,
1373
- className: ee,
1374
- "aria-label": b
1375
- }) : /* @__PURE__ */ I(o, {
1378
+ children: ne,
1379
+ className: re,
1380
+ "aria-label": x
1381
+ }) : /* @__PURE__ */ z(o, {
1376
1382
  href: f,
1377
1383
  size: "inherit",
1378
1384
  underline: !1,
1379
- className: ee,
1380
- "aria-label": b,
1381
- children: C
1385
+ className: re,
1386
+ "aria-label": x,
1387
+ children: ne
1382
1388
  });
1383
1389
  }
1384
1390
  Ft.displayName = "ResourceCell";
1385
1391
  //#endregion
1386
1392
  //#region src/components/features/table/partials/cell-renderers.tsx
1387
1393
  function It({ value: e, map: t, emptyLabel: r = "—", className: a }) {
1388
- if (!e || !(e in t)) return /* @__PURE__ */ I(i, {
1394
+ if (!e || !(e in t)) return /* @__PURE__ */ z(i, {
1389
1395
  size: "inherit",
1390
1396
  type: "secondary",
1391
1397
  className: n("status-cell--component", a),
1392
1398
  children: r
1393
1399
  });
1394
1400
  let o = t[e], s = o.icon;
1395
- return /* @__PURE__ */ L(D, {
1401
+ return /* @__PURE__ */ B(D, {
1396
1402
  tone: o.tone ?? "secondary",
1397
1403
  className: n("status-cell--component gap-space-sm", a),
1398
- children: [!!s && /* @__PURE__ */ I(s, { className: "size-icon-sm" }), o.label]
1404
+ children: [!!s && /* @__PURE__ */ z(s, { className: "size-icon-sm" }), o.label]
1399
1405
  });
1400
1406
  }
1401
1407
  It.displayName = "StatusCell";
1402
1408
  function Lt({ items: e = [], emptyLabel: t = "—", className: r, badgeClassName: a }) {
1403
1409
  let o = e.filter((e) => !e.hidden);
1404
- return o.length === 0 ? /* @__PURE__ */ I(i, {
1410
+ return o.length === 0 ? /* @__PURE__ */ z(i, {
1405
1411
  size: "inherit",
1406
1412
  type: "secondary",
1407
1413
  className: n("status-cluster-cell--component", r),
1408
1414
  children: t
1409
- }) : /* @__PURE__ */ I("span", {
1415
+ }) : /* @__PURE__ */ z("span", {
1410
1416
  className: n("status-cluster-cell--component inline-flex min-w-0 flex-wrap items-center gap-space-sm", r),
1411
1417
  children: o.map((e, t) => {
1412
1418
  let r = e.icon;
1413
- return /* @__PURE__ */ L(D, {
1419
+ return /* @__PURE__ */ B(D, {
1414
1420
  tone: e.tone ?? "secondary",
1415
1421
  dot: e.dot,
1416
1422
  className: n("shrink-0", a),
1417
- children: [!!r && /* @__PURE__ */ I(r, { className: "size-icon-sm" }), e.label]
1423
+ children: [!!r && /* @__PURE__ */ z(r, { className: "size-icon-sm" }), e.label]
1418
1424
  }, e.id ?? t);
1419
1425
  })
1420
1426
  });
1421
1427
  }
1422
1428
  Lt.displayName = "StatusClusterCell";
1423
- function Rt({ value: e, format: t, preset: r, locale: a, showIcon: o = !1, icon: s = Fe, emptyLabel: c = "—", className: l }) {
1429
+ function Rt({ value: e, format: t, preset: r, locale: a, showIcon: o = !1, icon: s = Me, emptyLabel: c = "—", className: l }) {
1424
1430
  let u = ae(e);
1425
- return u ? /* @__PURE__ */ L("span", {
1431
+ return u ? /* @__PURE__ */ B("span", {
1426
1432
  className: n("date-cell--component inline-flex items-center gap-space-sm", l),
1427
- children: [!!o && /* @__PURE__ */ I(s, { className: "size-icon text-muted-foreground" }), /* @__PURE__ */ I(oe, {
1433
+ children: [!!o && /* @__PURE__ */ z(s, { className: "size-icon text-muted-foreground" }), /* @__PURE__ */ z(oe, {
1428
1434
  value: u,
1429
1435
  format: t,
1430
1436
  preset: r,
@@ -1433,7 +1439,7 @@ function Rt({ value: e, format: t, preset: r, locale: a, showIcon: o = !1, icon:
1433
1439
  size: "inherit",
1434
1440
  type: "secondary"
1435
1441
  })]
1436
- }) : /* @__PURE__ */ I(i, {
1442
+ }) : /* @__PURE__ */ z(i, {
1437
1443
  size: "inherit",
1438
1444
  type: "secondary",
1439
1445
  className: n("date-cell--component", l),
@@ -1441,20 +1447,20 @@ function Rt({ value: e, format: t, preset: r, locale: a, showIcon: o = !1, icon:
1441
1447
  });
1442
1448
  }
1443
1449
  Rt.displayName = "DateCell";
1444
- function zt({ value: e, format: t, preset: r, locale: a, showIcon: o = !1, icon: s = Fe, emptyLabel: c = "—", className: l, primaryClassName: u, secondary: d, secondaryClassName: f }) {
1450
+ function zt({ value: e, format: t, preset: r, locale: a, showIcon: o = !1, icon: s = Me, emptyLabel: c = "—", className: l, primaryClassName: u, secondary: d, secondaryClassName: f }) {
1445
1451
  let p = ae(e);
1446
- if (!p) return /* @__PURE__ */ I(i, {
1452
+ if (!p) return /* @__PURE__ */ z(i, {
1447
1453
  size: "inherit",
1448
1454
  type: "secondary",
1449
1455
  className: n("date-meta-cell--component", l),
1450
1456
  children: c
1451
1457
  });
1452
1458
  let m = typeof d == "function" ? d(p) : d;
1453
- return /* @__PURE__ */ L("span", {
1459
+ return /* @__PURE__ */ B("span", {
1454
1460
  className: n("date-meta-cell--component inline-flex min-w-0 items-start gap-space-sm", l),
1455
- children: [!!o && /* @__PURE__ */ I(s, { className: "mt-space-2xs size-icon shrink-0 text-muted-foreground" }), /* @__PURE__ */ L("span", {
1461
+ children: [!!o && /* @__PURE__ */ z(s, { className: "mt-space-2xs size-icon shrink-0 text-muted-foreground" }), /* @__PURE__ */ B("span", {
1456
1462
  className: "grid min-w-0 gap-space-2xs",
1457
- children: [/* @__PURE__ */ I(oe, {
1463
+ children: [/* @__PURE__ */ z(oe, {
1458
1464
  value: p,
1459
1465
  format: t,
1460
1466
  preset: r,
@@ -1463,7 +1469,7 @@ function zt({ value: e, format: t, preset: r, locale: a, showIcon: o = !1, icon:
1463
1469
  size: "inherit",
1464
1470
  type: "secondary",
1465
1471
  className: n("truncate tabular-nums", u)
1466
- }), !!m && /* @__PURE__ */ I(i, {
1472
+ }), !!m && /* @__PURE__ */ z(i, {
1467
1473
  tag: "span",
1468
1474
  size: "inherit",
1469
1475
  type: "secondary",
@@ -1475,7 +1481,7 @@ function zt({ value: e, format: t, preset: r, locale: a, showIcon: o = !1, icon:
1475
1481
  }
1476
1482
  zt.displayName = "DateMetaCell";
1477
1483
  function Bt({ value: e, currency: t, locale: r, emptyLabel: i = "—", className: a, weight: o = "semibold" }) {
1478
- return /* @__PURE__ */ I(te, {
1484
+ return /* @__PURE__ */ z(te, {
1479
1485
  type: "inherit",
1480
1486
  amount: e,
1481
1487
  currency: t,
@@ -1488,33 +1494,33 @@ function Bt({ value: e, currency: t, locale: r, emptyLabel: i = "—", className
1488
1494
  });
1489
1495
  }
1490
1496
  Bt.displayName = "CurrencyCell";
1491
- function Vt({ name: e, imageUrl: t, icon: r = Re, subtitle: a, emptyLabel: o = "—", className: s }) {
1492
- return !e || e.trim().length === 0 ? /* @__PURE__ */ I(i, {
1497
+ function Vt({ name: e, imageUrl: t, icon: r = Fe, subtitle: a, emptyLabel: o = "—", className: s }) {
1498
+ return !e || e.trim().length === 0 ? /* @__PURE__ */ z(i, {
1493
1499
  size: "inherit",
1494
1500
  type: "secondary",
1495
1501
  className: n("avatar-cell--component", s),
1496
1502
  children: o
1497
- }) : /* @__PURE__ */ L("span", {
1503
+ }) : /* @__PURE__ */ B("span", {
1498
1504
  className: n("avatar-cell--component inline-flex items-center gap-space-md", s),
1499
- children: [/* @__PURE__ */ L(ce, {
1505
+ children: [/* @__PURE__ */ B(ce, {
1500
1506
  size: "sm",
1501
1507
  className: "avatar-cell--avatar",
1502
- children: [!!t && /* @__PURE__ */ I(le, {
1508
+ children: [!!t && /* @__PURE__ */ z(le, {
1503
1509
  src: t,
1504
1510
  alt: e
1505
- }), /* @__PURE__ */ I(se, { children: T(e, { strategy: "first-words" }) ? /* @__PURE__ */ I(w, {
1511
+ }), /* @__PURE__ */ z(se, { children: T(e, { strategy: "first-words" }) ? /* @__PURE__ */ z(w, {
1506
1512
  value: e,
1507
1513
  strategy: "first-words"
1508
- }) : /* @__PURE__ */ I(r, { className: "size-icon" }) })]
1509
- }), /* @__PURE__ */ L("span", {
1514
+ }) : /* @__PURE__ */ z(r, { className: "size-icon" }) })]
1515
+ }), /* @__PURE__ */ B("span", {
1510
1516
  className: "min-w-0 inline-flex flex-col",
1511
- children: [/* @__PURE__ */ I(i, {
1517
+ children: [/* @__PURE__ */ z(i, {
1512
1518
  type: "inherit",
1513
1519
  size: "inherit",
1514
1520
  weight: "medium",
1515
1521
  className: "truncate",
1516
1522
  children: e
1517
- }), !!a && /* @__PURE__ */ I(i, {
1523
+ }), !!a && /* @__PURE__ */ z(i, {
1518
1524
  size: "inherit",
1519
1525
  type: "secondary",
1520
1526
  className: "truncate",
@@ -1525,6 +1531,6 @@ function Vt({ name: e, imageUrl: t, icon: r = Re, subtitle: a, emptyLabel: o = "
1525
1531
  }
1526
1532
  Vt.displayName = "AvatarCell";
1527
1533
  //#endregion
1528
- export { U as A, ot as C, it as D, rt as E, B as M, Je as N, nt as O, st as S, at as T, dt as _, It as a, K as b, Mt as c, wt as d, Ct as f, J as g, Y as h, zt as i, Qe as j, tt as k, jt as l, gt as m, Bt as n, Lt as o, vt as p, Rt as r, Ft as s, Vt as t, $ as u, ut as v, ct as w, G as x, lt as y };
1534
+ export { K as A, rt as C, tt as D, et as E, U as M, Ge as N, $e as O, it as S, nt as T, lt as _, It as a, Y as b, Mt as c, wt as d, Ct as f, X as g, dt as h, zt as i, Ye as j, Qe as k, jt as l, gt as m, Bt as n, Lt as o, vt as p, Rt as r, Ft as s, Vt as t, $ as u, ct as v, at as w, J as x, ot as y };
1529
1535
 
1530
- //# sourceMappingURL=table-DH7rozUv.js.map
1536
+ //# sourceMappingURL=table-CFOWY9pQ.js.map