themelia-react-ui 1.0.0 → 1.0.1

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 (257) hide show
  1. package/CHANGELOG.md +53 -1
  2. package/README.md +39 -6
  3. package/dist/{accordion-BRWh3BM1.js → accordion-B-5Focs8.js} +2 -2
  4. package/dist/{accordion-BRWh3BM1.js.map → accordion-B-5Focs8.js.map} +1 -1
  5. package/dist/{affordance-geometry.generated-DXl-Zb3Z.js → affordance-geometry.generated-D8Jcfb0G.js} +10 -1
  6. package/dist/affordance-geometry.generated-D8Jcfb0G.js.map +1 -0
  7. package/dist/{ai-artifact-DkOArd3-.js → ai-artifact-B5tPpXnS.js} +5 -5
  8. package/dist/{ai-artifact-DkOArd3-.js.map → ai-artifact-B5tPpXnS.js.map} +1 -1
  9. package/dist/{app-shell-BH_bGcE2.js → app-shell-at8Kt4l_.js} +3 -3
  10. package/dist/{app-shell-BH_bGcE2.js.map → app-shell-at8Kt4l_.js.map} +1 -1
  11. package/dist/{attachment-DsLgNHXt.js → attachment-BO2R47wn.js} +2 -2
  12. package/dist/{attachment-DsLgNHXt.js.map → attachment-BO2R47wn.js.map} +1 -1
  13. package/dist/{auth-BDB1V_2q.js → auth-OFwWSAap.js} +4 -4
  14. package/dist/{auth-BDB1V_2q.js.map → auth-OFwWSAap.js.map} +1 -1
  15. package/dist/{avatar-CsnWaYmt.js → avatar-Bpzty83c.js} +73 -68
  16. package/dist/avatar-Bpzty83c.js.map +1 -0
  17. package/dist/base/accordion.js +1 -1
  18. package/dist/base/attachment.js +1 -1
  19. package/dist/base/avatar.js +1 -1
  20. package/dist/base/cards.js +2 -2
  21. package/dist/base/cascader.js +6 -6
  22. package/dist/base/choice-inputs.js +3 -2
  23. package/dist/base/code-block.js +1 -1
  24. package/dist/base/combobox.js +1 -1
  25. package/dist/base/command.js +1 -1
  26. package/dist/base/date-pickers.js +2 -2
  27. package/dist/base/display.js +1 -1
  28. package/dist/base/feedback.js +4 -3
  29. package/dist/base/forms-numeric.js +1 -1
  30. package/dist/base/forms.js +2 -2
  31. package/dist/base/inline-edit.js +236 -0
  32. package/dist/base/inline-edit.js.map +1 -0
  33. package/dist/base/media-gallery.js +1 -1
  34. package/dist/base/navigation.js +3 -3
  35. package/dist/base/popover-menu.js +1 -1
  36. package/dist/base/popover.js +1 -1
  37. package/dist/base/repeaters.js +4 -4
  38. package/dist/base/sheet.js +1 -1
  39. package/dist/base/sidebar.js +1 -1
  40. package/dist/base/signature-pad.js +3 -3
  41. package/dist/base/skeleton.js +1 -1
  42. package/dist/base/spinner.js +1 -1
  43. package/dist/base/structure.js +1 -1
  44. package/dist/base/text-inputs.js +2 -2
  45. package/dist/base/tree.js +1 -1
  46. package/dist/base/upload-queue.js +1 -1
  47. package/dist/base/upload.js +3 -3
  48. package/dist/base/value-inputs.js +1 -1
  49. package/dist/blocks/admin.js +6 -6
  50. package/dist/blocks/ai.js +6 -6
  51. package/dist/blocks/analytics/usage-card.js +3 -0
  52. package/dist/blocks/analytics.js +361 -360
  53. package/dist/blocks/analytics.js.map +1 -1
  54. package/dist/blocks/collaboration.js +1 -1
  55. package/dist/blocks/commerce/receipt.js +1 -1
  56. package/dist/blocks/commerce.js +15 -15
  57. package/dist/blocks/data-display.js +1 -1
  58. package/dist/blocks/onboarding.js +3 -3
  59. package/dist/blocks/planning.js +311 -0
  60. package/dist/blocks/planning.js.map +1 -0
  61. package/dist/blocks/timelines.js +1 -1
  62. package/dist/{cards-BMB0laLG.js → cards-Cum56XOF.js} +3 -3
  63. package/dist/{cards-BMB0laLG.js.map → cards-Cum56XOF.js.map} +1 -1
  64. package/dist/checkbox-BavDRjF7.js +34 -0
  65. package/dist/checkbox-BavDRjF7.js.map +1 -0
  66. package/dist/{choice-inputs-CavA-SGV.js → choice-inputs-CC7XqPQO.js} +166 -191
  67. package/dist/choice-inputs-CC7XqPQO.js.map +1 -0
  68. package/dist/{code-block-DIlqzoiD.js → code-block-xHKbAJDj.js} +2 -2
  69. package/dist/{code-block-DIlqzoiD.js.map → code-block-xHKbAJDj.js.map} +1 -1
  70. package/dist/{combobox-HDftpzxt.js → combobox-DEbdr-3u.js} +2 -2
  71. package/dist/{combobox-HDftpzxt.js.map → combobox-DEbdr-3u.js.map} +1 -1
  72. package/dist/{combobox-CHD750do.js → combobox-xv3yJbzl.js} +7 -7
  73. package/dist/{combobox-CHD750do.js.map → combobox-xv3yJbzl.js.map} +1 -1
  74. package/dist/{command-D0kWBZfd.js → command-C0xe7u9B.js} +2 -2
  75. package/dist/{command-D0kWBZfd.js.map → command-C0xe7u9B.js.map} +1 -1
  76. package/dist/{comments-CvYeglMS.js → comments-DviPLnwy.js} +8 -8
  77. package/dist/{comments-CvYeglMS.js.map → comments-DviPLnwy.js.map} +1 -1
  78. package/dist/components/base/cards/smart-card.types.d.ts +2 -0
  79. package/dist/components/base/inline-edit/index.d.ts +2 -0
  80. package/dist/components/base/inline-edit/inline-edit.d.ts +81 -0
  81. package/dist/components/base/inline-edit/inline-edit.recipes.d.ts +6 -0
  82. package/dist/components/base/structure/structure.recipes.d.ts +6 -0
  83. package/dist/components/blocks/analytics/index.d.ts +1 -0
  84. package/dist/components/blocks/analytics/usage-card/index.d.ts +3 -0
  85. package/dist/components/blocks/analytics/usage-card/types.d.ts +52 -0
  86. package/dist/components/blocks/analytics/usage-card/usage-card.d.ts +6 -0
  87. package/dist/components/blocks/analytics/usage-card/usage-card.data.d.ts +19 -0
  88. package/dist/components/blocks/analytics/usage-card/usage-card.strings.d.ts +22 -0
  89. package/dist/components/blocks/planning/index.d.ts +3 -0
  90. package/dist/components/blocks/planning/task-card.d.ts +3 -0
  91. package/dist/components/blocks/planning/task-card.strings.d.ts +15 -0
  92. package/dist/components/blocks/planning/task-card.types.d.ts +66 -0
  93. package/dist/{containers-CPNyNo1_.js → containers-6s-ucRQQ.js} +3 -2
  94. package/dist/containers-6s-ucRQQ.js.map +1 -0
  95. package/dist/{data-display-b3d1TfL4.js → data-display-cWIRdeaf.js} +8 -8
  96. package/dist/{data-display-b3d1TfL4.js.map → data-display-cWIRdeaf.js.map} +1 -1
  97. package/dist/{date-picker-DI6kPNof.js → date-picker-CA6ogMQB.js} +5 -5
  98. package/dist/{date-picker-DI6kPNof.js.map → date-picker-CA6ogMQB.js.map} +1 -1
  99. package/dist/{date-pickers-ByP6Cv2z.js → date-pickers-BPIKLdsD.js} +4 -4
  100. package/dist/{date-pickers-ByP6Cv2z.js.map → date-pickers-BPIKLdsD.js.map} +1 -1
  101. package/dist/{display-ByI5tkqy.js → display-CFM5myut.js} +3 -3
  102. package/dist/{display-ByI5tkqy.js.map → display-CFM5myut.js.map} +1 -1
  103. package/dist/features/activities.js +4 -4
  104. package/dist/features/ai-chat.js +4 -4
  105. package/dist/features/async-preview.js +4 -4
  106. package/dist/features/combobox.js +1 -1
  107. package/dist/features/comments.js +1 -1
  108. package/dist/features/data-view.js +5 -5
  109. package/dist/features/email-composer.js +11 -11
  110. package/dist/features/event-calendar.js +2 -2
  111. package/dist/features/event-calendar.js.map +1 -1
  112. package/dist/features/filters.js +1 -1
  113. package/dist/features/global-search.js +6 -6
  114. package/dist/features/map.js +3 -3
  115. package/dist/features/media-library.js +8 -8
  116. package/dist/features/mentions.js +1 -1
  117. package/dist/features/overlays.js +1 -1
  118. package/dist/features/products.js +43 -42
  119. package/dist/features/products.js.map +1 -1
  120. package/dist/features/questionnaire.js +107 -106
  121. package/dist/features/questionnaire.js.map +1 -1
  122. package/dist/features/resource-assignment.js +5 -5
  123. package/dist/features/resource.js +7 -7
  124. package/dist/features/rich-text-editor.js +1 -1
  125. package/dist/features/schema-form.js +11 -11
  126. package/dist/features/schema-form.js.map +1 -1
  127. package/dist/features/suggestions.js +2 -2
  128. package/dist/features/sync.js +2 -2
  129. package/dist/features/table.js +1 -1
  130. package/dist/features/theme-tweaker.js +11 -11
  131. package/dist/feedback-DWUkgEjR.js +233 -0
  132. package/dist/feedback-DWUkgEjR.js.map +1 -0
  133. package/dist/{field-affordance-recipes-CHdUtn2Z.js → field-affordance-recipes-IjzPrCTw.js} +2 -2
  134. package/dist/{field-affordance-recipes-CHdUtn2Z.js.map → field-affordance-recipes-IjzPrCTw.js.map} +1 -1
  135. package/dist/{filters-qtrcv1hf.js → filters-BhsUtsxW.js} +9 -9
  136. package/dist/{filters-qtrcv1hf.js.map → filters-BhsUtsxW.js.map} +1 -1
  137. package/dist/{form-field-C6W-y2hR.js → form-field-Bn7ZH1rA.js} +2 -2
  138. package/dist/{form-field-C6W-y2hR.js.map → form-field-Bn7ZH1rA.js.map} +1 -1
  139. package/dist/{form-sizing-39NohSqn.js → form-sizing-BWs70_a2.js} +4 -3
  140. package/dist/{form-sizing-39NohSqn.js.map → form-sizing-BWs70_a2.js.map} +1 -1
  141. package/dist/{forms-BF-HSbff.js → forms-B7pzS25o.js} +5 -5
  142. package/dist/{forms-BF-HSbff.js.map → forms-B7pzS25o.js.map} +1 -1
  143. package/dist/{forms-numeric-Y15Bg5Nr.js → forms-numeric-BUBxELBv.js} +18 -18
  144. package/dist/{forms-numeric-Y15Bg5Nr.js.map → forms-numeric-BUBxELBv.js.map} +1 -1
  145. package/dist/{header-B8ex54cY.js → header-C59QZyxV.js} +6 -6
  146. package/dist/{header-B8ex54cY.js.map → header-C59QZyxV.js.map} +1 -1
  147. package/dist/{hooks-D6UBVzf2.js → hooks-CM1Vp9Pe.js} +2 -2
  148. package/dist/{hooks-D6UBVzf2.js.map → hooks-CM1Vp9Pe.js.map} +1 -1
  149. package/dist/{input-DMorJiTI.js → input-WwYQZJzG.js} +3 -3
  150. package/dist/{input-DMorJiTI.js.map → input-WwYQZJzG.js.map} +1 -1
  151. package/dist/layout/app-shell.js +1 -1
  152. package/dist/layout/auth.js +1 -1
  153. package/dist/layout/containers.js +1 -1
  154. package/dist/layout/header.js +1 -1
  155. package/dist/layout/hooks.js +1 -1
  156. package/dist/layout/navigation.js +1 -1
  157. package/dist/layout/page.js +1 -1
  158. package/dist/layout/settings.js +1 -1
  159. package/dist/layout/sidebar.js +2 -2
  160. package/dist/layout/workspace.js +1 -1
  161. package/dist/layout.js +10 -10
  162. package/dist/lib/affordance-geometry.generated.d.ts +9 -0
  163. package/dist/{media-gallery-Ca4YmvBi.js → media-gallery-DhDRgnVZ.js} +2 -2
  164. package/dist/{media-gallery-Ca4YmvBi.js.map → media-gallery-DhDRgnVZ.js.map} +1 -1
  165. package/dist/{mentions-CRio8mTm.js → mentions-B8Ko-fhS.js} +4 -4
  166. package/dist/{mentions-CRio8mTm.js.map → mentions-B8Ko-fhS.js.map} +1 -1
  167. package/dist/{message-B5-6LeYl.js → message-COsdEvXT.js} +2 -2
  168. package/dist/{message-B5-6LeYl.js.map → message-COsdEvXT.js.map} +1 -1
  169. package/dist/{navigation-DqEITuD2.js → navigation-BUIn2Qxx.js} +2 -2
  170. package/dist/{navigation-DqEITuD2.js.map → navigation-BUIn2Qxx.js.map} +1 -1
  171. package/dist/{navigation-BTrEb5u4.js → navigation-DBEu4POU.js} +3 -3
  172. package/dist/{navigation-BTrEb5u4.js.map → navigation-DBEu4POU.js.map} +1 -1
  173. package/dist/{navigation-row-recipes-BFpvGPGE.js → navigation-row-recipes-GVh11KiT.js} +2 -2
  174. package/dist/{navigation-row-recipes-BFpvGPGE.js.map → navigation-row-recipes-GVh11KiT.js.map} +1 -1
  175. package/dist/{overlays-DBqV0J_V.js → overlays-B11wZka6.js} +4 -4
  176. package/dist/{overlays-DBqV0J_V.js.map → overlays-B11wZka6.js.map} +1 -1
  177. package/dist/{page-BMBGjJY8.js → page-BV6ioQg3.js} +5 -5
  178. package/dist/{page-BMBGjJY8.js.map → page-BV6ioQg3.js.map} +1 -1
  179. package/dist/{page-header-BH41wCyY.js → page-header-DQRa0jug.js} +2 -2
  180. package/dist/{page-header-BH41wCyY.js.map → page-header-DQRa0jug.js.map} +1 -1
  181. package/dist/{popover-TInGXsjg.js → popover-CoLDEg19.js} +2 -2
  182. package/dist/{popover-TInGXsjg.js.map → popover-CoLDEg19.js.map} +1 -1
  183. package/dist/{popover-menu-BzqXqE72.js → popover-menu-GLIQTJTx.js} +4 -4
  184. package/dist/{popover-menu-BzqXqE72.js.map → popover-menu-GLIQTJTx.js.map} +1 -1
  185. package/dist/progress-BOe8l_FZ.js +168 -0
  186. package/dist/progress-BOe8l_FZ.js.map +1 -0
  187. package/dist/{receipt-DYWTQGEc.js → receipt-BM8xsGFy.js} +3 -3
  188. package/dist/{receipt-DYWTQGEc.js.map → receipt-BM8xsGFy.js.map} +1 -1
  189. package/dist/{rich-text-editor-BZSJchAF.js → rich-text-editor-CoVrTiSv.js} +2 -2
  190. package/dist/{rich-text-editor-BZSJchAF.js.map → rich-text-editor-CoVrTiSv.js.map} +1 -1
  191. package/dist/services/actions.js +1 -1
  192. package/dist/{settings-D9f_wdIC.js → settings-BnCyyPOJ.js} +3 -3
  193. package/dist/{settings-D9f_wdIC.js.map → settings-BnCyyPOJ.js.map} +1 -1
  194. package/dist/{sheet-vOUloJ4O.js → sheet-B-q914Ad.js} +2 -2
  195. package/dist/{sheet-vOUloJ4O.js.map → sheet-B-q914Ad.js.map} +1 -1
  196. package/dist/{sidebar-C3UKkbC5.js → sidebar-C_2p3Tfj.js} +6 -6
  197. package/dist/{sidebar-C3UKkbC5.js.map → sidebar-C_2p3Tfj.js.map} +1 -1
  198. package/dist/{sidebar-CNBKFDRW.js → sidebar-DPR7fmqN.js} +4 -4
  199. package/dist/{sidebar-CNBKFDRW.js.map → sidebar-DPR7fmqN.js.map} +1 -1
  200. package/dist/{skeleton-BvRhK8y-.js → skeleton-CmT1ppqb.js} +2 -2
  201. package/dist/{skeleton-BvRhK8y-.js.map → skeleton-CmT1ppqb.js.map} +1 -1
  202. package/dist/{smart-card-B5FcKODh.js → smart-card-CYLn46e6.js} +119 -118
  203. package/dist/smart-card-CYLn46e6.js.map +1 -0
  204. package/dist/{spinner-JtlFJ7Nc.js → spinner-BY9HbUEh.js} +2 -2
  205. package/dist/{spinner-JtlFJ7Nc.js.map → spinner-BY9HbUEh.js.map} +1 -1
  206. package/dist/{structure-BvW4vG4H.js → structure-MvKVq-oL.js} +13 -13
  207. package/dist/{structure-BvW4vG4H.js.map → structure-MvKVq-oL.js.map} +1 -1
  208. package/dist/{structure.recipes-DjqnBpwz.js → structure.recipes-Bqhf9oIh.js} +2 -2
  209. package/dist/structure.recipes-Bqhf9oIh.js.map +1 -0
  210. package/dist/style.css +1 -1
  211. package/dist/{table-ghtAQ-JJ.js → table-BS39xnlq.js} +6 -6
  212. package/dist/{table-ghtAQ-JJ.js.map → table-BS39xnlq.js.map} +1 -1
  213. package/dist/{tabs-DY09eoZg.js → tabs-B5cNMWiP.js} +2 -2
  214. package/dist/{tabs-DY09eoZg.js.map → tabs-B5cNMWiP.js.map} +1 -1
  215. package/dist/{text-inputs-BhOcedTo.js → text-inputs-Dh9XGyiS.js} +4 -4
  216. package/dist/{text-inputs-BhOcedTo.js.map → text-inputs-Dh9XGyiS.js.map} +1 -1
  217. package/dist/{timelines-CnZ2S_Gr.js → timelines-B9ICkQcV.js} +2 -2
  218. package/dist/{timelines-CnZ2S_Gr.js.map → timelines-B9ICkQcV.js.map} +1 -1
  219. package/dist/{tree-COD9BGdU.js → tree-BdWSaoFT.js} +2 -2
  220. package/dist/{tree-COD9BGdU.js.map → tree-BdWSaoFT.js.map} +1 -1
  221. package/dist/{upload-DIzw1dx1.js → upload-D8Za5x_c.js} +4 -4
  222. package/dist/{upload-DIzw1dx1.js.map → upload-D8Za5x_c.js.map} +1 -1
  223. package/dist/{upload-queue-xRJ3qDmd.js → upload-queue-hIIYBLS7.js} +3 -3
  224. package/dist/{upload-queue-xRJ3qDmd.js.map → upload-queue-hIIYBLS7.js.map} +1 -1
  225. package/dist/usage-card-DnmnJ58D.js +458 -0
  226. package/dist/usage-card-DnmnJ58D.js.map +1 -0
  227. package/dist/{value-inputs-Co1fu-xv.js → value-inputs-DX2dbxjj.js} +7 -7
  228. package/dist/{value-inputs-Co1fu-xv.js.map → value-inputs-DX2dbxjj.js.map} +1 -1
  229. package/dist/{workspace-Cbqz4FzN.js → workspace-C1PZmk8L.js} +4 -4
  230. package/dist/{workspace-Cbqz4FzN.js.map → workspace-C1PZmk8L.js.map} +1 -1
  231. package/docs/consumer-skill/SKILL.md +120 -17
  232. package/docs/consumer-skill/examples/detail.tsx +7 -8
  233. package/docs/consumer-skill/examples/manifest.json +14 -0
  234. package/docs/consumer-skill/examples/planning-usage-edit.tsx +29 -0
  235. package/docs/consumer-skill/examples/scoped-directory.tsx +77 -0
  236. package/docs/consumer-skill/references/composition.md +103 -0
  237. package/docs/consumer-skill/references/design-contract.md +4 -3
  238. package/docs/consumer-skill/references/discovery.md +17 -0
  239. package/docs/consumer-skill/references/installation.md +20 -3
  240. package/docs/consumer-skill/references/integration.md +12 -0
  241. package/docs/consumer-skill/references/public-api.json +452 -229
  242. package/docs/consumer-skill/references/review.md +74 -0
  243. package/docs/consumer-skill/references/tokens.json +1 -1
  244. package/docs/consumer-skill/references/workflows.md +97 -1
  245. package/docs/consumer-skill/scripts/check-composition.mjs +31 -0
  246. package/docs/consumer-skill/scripts/composition-policy.mjs +155 -0
  247. package/docs/consumer-skill/scripts/discovery.mjs +6 -1
  248. package/docs/consumer-skill/scripts/surface-policy.mjs +22 -0
  249. package/package.json +24 -3
  250. package/dist/affordance-geometry.generated-DXl-Zb3Z.js.map +0 -1
  251. package/dist/avatar-CsnWaYmt.js.map +0 -1
  252. package/dist/choice-inputs-CavA-SGV.js.map +0 -1
  253. package/dist/containers-CPNyNo1_.js.map +0 -1
  254. package/dist/feedback-a9j9J-9A.js +0 -391
  255. package/dist/feedback-a9j9J-9A.js.map +0 -1
  256. package/dist/smart-card-B5FcKODh.js.map +0 -1
  257. package/dist/structure.recipes-DjqnBpwz.js.map +0 -1
@@ -3,21 +3,22 @@ import { interpolateString as e, useStrings as t } from "../lib/strings.js";
3
3
  import { t as n } from "../utils-C2EKeIw3.js";
4
4
  import { n as r } from "../buttons-Co6GavvM.js";
5
5
  import { a as i, r as a } from "../typography-Cv8MT-82.js";
6
- import { r as o, t as s } from "../structure-BvW4vG4H.js";
7
- import { r as c } from "../feedback-a9j9J-9A.js";
8
- import { i as l, t as u } from "../overlays-DBqV0J_V.js";
6
+ import { r as o, t as s } from "../structure-MvKVq-oL.js";
7
+ import { t as c } from "../progress-BOe8l_FZ.js";
8
+ import { i as l, t as u } from "../overlays-B11wZka6.js";
9
9
  import { _ as d, g as f } from "../primitives-DKPOGVpj.js";
10
10
  import { n as p } from "../number-BNT_BIzJ.js";
11
11
  import { t as m } from "../badge-BZXZT9wd.js";
12
- import { t as h } from "../input-DMorJiTI.js";
13
- import { d as g } from "../text-inputs-BhOcedTo.js";
14
- import { n as _ } from "../display-ByI5tkqy.js";
15
- import { t as v } from "../form-field-C6W-y2hR.js";
16
- import { c as y, l as b, s as ee } from "../choice-inputs-CavA-SGV.js";
12
+ import { t as h } from "../input-WwYQZJzG.js";
13
+ import { d as g } from "../text-inputs-Dh9XGyiS.js";
14
+ import { n as _ } from "../display-CFM5myut.js";
15
+ import { t as v } from "../form-field-Bn7ZH1rA.js";
16
+ import { c as y, s as ee } from "../choice-inputs-CC7XqPQO.js";
17
+ import { t as b } from "../checkbox-BavDRjF7.js";
17
18
  import { c as x, i as S, n as C, o as w, r as T, t as E, u as D } from "../item-pJ0GsOiJ.js";
18
19
  import { c as O, i as k, n as te, o as A, s as j, t as M } from "../table-DnlAJ-xR.js";
19
- import { g as N, l as P, n as ne } from "../data-display-b3d1TfL4.js";
20
- import { O as re, f as ie } from "../table-ghtAQ-JJ.js";
20
+ import { g as N, l as P, n as ne } from "../data-display-cWIRdeaf.js";
21
+ import { O as re, f as ie } from "../table-BS39xnlq.js";
21
22
  import { Fragment as ae, useCallback as F, useId as oe, useMemo as I, useState as se } from "react";
22
23
  import { Fragment as ce, jsx as L, jsxs as R } from "react/jsx-runtime";
23
24
  import { ArrowLeft as le, ArrowRight as ue, Box as de, ChevronDown as fe, ClipboardCheck as z, Copy as pe, Eye as me, FileText as B, GripVertical as he, Layers3 as ge, ListChecks as _e, ListFilter as ve, PackageCheck as ye, Pencil as V, Plus as H, PlusCircle as U, ReceiptText as be, RefreshCw as xe, Save as Se, Search as W, ShieldCheck as Ce, SlidersHorizontal as G, Trash2 as K, X as q } from "lucide-react";
@@ -529,8 +530,8 @@ function qe({ item: e, actionLabel: t, onSelect: a, actions: o }) {
529
530
  }
530
531
  //#endregion
531
532
  //#region src/components/features/products/components/product-contract-overview.tsx
532
- function Je({ metrics: e = [], terms: a = [], rules: c = [], onOpenContract: l, onEditContract: u, onCreateRule: d, onSelectRule: f, onEditRule: p, onDeleteRule: m, renderRuleActions: h, actions: g, footerSlot: v, empty: y, className: b, strings: ee }) {
533
- let x = t(Ee, ee), S = e.length > 0 || a.length > 0 || c.length > 0, C = l || u || d ? /* @__PURE__ */ R("div", {
533
+ function Je({ metrics: e = [], terms: a = [], rules: c = [], onOpenContract: l, onEditContract: u, onCreateRule: d, onSelectRule: f, onEditRule: p, onDeleteRule: m, renderRuleActions: h, actions: g, footerSlot: v, empty: y, className: ee, strings: b }) {
534
+ let x = t(Ee, b), S = e.length > 0 || a.length > 0 || c.length > 0, C = l || u || d ? /* @__PURE__ */ R("div", {
534
535
  className: "flex items-center gap-space-md",
535
536
  children: [
536
537
  !!d && /* @__PURE__ */ L(r, {
@@ -568,7 +569,7 @@ function Je({ metrics: e = [], terms: a = [], rules: c = [], onOpenContract: l,
568
569
  headerAction: C,
569
570
  footerSlot: v,
570
571
  contentClassName: "mt-1",
571
- className: n("product-contract-overview--component w-full", b),
572
+ className: n("product-contract-overview--component w-full", ee),
572
573
  children: S ? /* @__PURE__ */ R(s, {
573
574
  gap: "xl",
574
575
  children: [
@@ -1341,7 +1342,7 @@ function rt({ options: e = [], onManageOptions: i, onCreateOption: a, onSelectOp
1341
1342
  label: g.manageLabel,
1342
1343
  icon: /* @__PURE__ */ L(G, { className: "size-icon-md" }),
1343
1344
  onClick: i
1344
- }] : []], b = a || i ? /* @__PURE__ */ L(r, {
1345
+ }] : []], ee = a || i ? /* @__PURE__ */ L(r, {
1345
1346
  type: "button",
1346
1347
  tone: "secondary",
1347
1348
  buttonStyle: "ghost",
@@ -1354,7 +1355,7 @@ function rt({ options: e = [], onManageOptions: i, onCreateOption: a, onSelectOp
1354
1355
  title: g.title,
1355
1356
  description: g.description,
1356
1357
  actions: y.length > 0 ? y : void 0,
1357
- headerAction: b,
1358
+ headerAction: ee,
1358
1359
  footerSlot: d,
1359
1360
  contentClassName: "mt-1",
1360
1361
  className: n("product-options-summary--component w-full", m),
@@ -1456,7 +1457,7 @@ function it({ policies: e = [], onCreatePolicy: i, onSelectPolicy: a, onEditPoli
1456
1457
  it.displayName = "ProductPoliciesCard";
1457
1458
  //#endregion
1458
1459
  //#region src/components/features/products/components/product-quote-preview-card.tsx
1459
- function at({ lines: e = [], subtotal: a, tax: o, discount: c, total: l, onOpenQuote: u, onCreateLine: f, onSelectLine: p, onEditLine: m, onDeleteLine: h, renderLineActions: g, actions: v, footerSlot: y, empty: b, className: ee, strings: x }) {
1460
+ function at({ lines: e = [], subtotal: a, tax: o, discount: c, total: l, onOpenQuote: u, onCreateLine: f, onSelectLine: p, onEditLine: m, onDeleteLine: h, renderLineActions: g, actions: v, footerSlot: y, empty: ee, className: b, strings: x }) {
1460
1461
  let O = t(Q, x), k = f || u ? /* @__PURE__ */ R("div", {
1461
1462
  className: "flex items-center gap-space-md",
1462
1463
  children: [!!f && /* @__PURE__ */ L(r, {
@@ -1484,8 +1485,8 @@ function at({ lines: e = [], subtotal: a, tax: o, discount: c, total: l, onOpenQ
1484
1485
  headerAction: k,
1485
1486
  footerSlot: y,
1486
1487
  contentClassName: "mt-1",
1487
- className: n("product-quote-preview-card--component w-full", ee),
1488
- children: e.length === 0 ? b ?? /* @__PURE__ */ L($, {
1488
+ className: n("product-quote-preview-card--component w-full", b),
1489
+ children: e.length === 0 ? ee ?? /* @__PURE__ */ L($, {
1489
1490
  title: O.emptyTitle,
1490
1491
  description: O.emptyDescription,
1491
1492
  action: f ? /* @__PURE__ */ L(r, {
@@ -1585,7 +1586,7 @@ function at({ lines: e = [], subtotal: a, tax: o, discount: c, total: l, onOpenQ
1585
1586
  at.displayName = "ProductQuotePreviewCard";
1586
1587
  //#endregion
1587
1588
  //#region src/components/features/products/components/product-readiness-card.tsx
1588
- function ot({ items: e = [], score: a, scoreLabel: o, summary: l, onCreateReadinessItem: u, onSelectReadinessItem: d, onEditReadinessItem: f, onDeleteReadinessItem: m, renderReadinessItemActions: h, actions: g, footerSlot: v, renderItem: y, empty: b, className: ee, strings: x }) {
1589
+ function ot({ items: e = [], score: a, scoreLabel: o, summary: l, onCreateReadinessItem: u, onSelectReadinessItem: d, onEditReadinessItem: f, onDeleteReadinessItem: m, renderReadinessItemActions: h, actions: g, footerSlot: v, renderItem: y, empty: ee, className: b, strings: x }) {
1589
1590
  let S = t(J, x), C = a === void 0 ? void 0 : Re(a), T = u ? /* @__PURE__ */ L(r, {
1590
1591
  type: "button",
1591
1592
  tone: "secondary",
@@ -1602,7 +1603,7 @@ function ot({ items: e = [], score: a, scoreLabel: o, summary: l, onCreateReadin
1602
1603
  headerAction: T,
1603
1604
  footerSlot: v,
1604
1605
  contentClassName: "mt-1",
1605
- className: n("product-readiness-card--component w-full", ee),
1606
+ className: n("product-readiness-card--component w-full", b),
1606
1607
  children: [
1607
1608
  C !== void 0 && /* @__PURE__ */ R("div", {
1608
1609
  className: "mb-space-lg rounded-radius-md border border-border bg-muted/20 p-surface",
@@ -1634,7 +1635,7 @@ function ot({ items: e = [], score: a, scoreLabel: o, summary: l, onCreateReadin
1634
1635
  className: "mb-space-lg leading-relaxed",
1635
1636
  children: l
1636
1637
  }),
1637
- e.length === 0 ? b ?? /* @__PURE__ */ L($, {
1638
+ e.length === 0 ? ee ?? /* @__PURE__ */ L($, {
1638
1639
  title: S.emptyTitle,
1639
1640
  description: S.emptyDescription,
1640
1641
  action: u ? /* @__PURE__ */ L(r, {
@@ -2088,8 +2089,8 @@ function mt(e, t) {
2088
2089
  }
2089
2090
  ].filter((e) => pt(e.value));
2090
2091
  }
2091
- function ht({ variant: e, metadata: a, optionItems: o = [], media: c, onBack: l, onSelectVariant: u, onEditVariant: d, onDuplicateVariant: f, onDeleteVariant: p, onSelectOption: h, actions: g, headerEnd: v, footerSlot: y, empty: b, renderActions: ee, renderMetadata: x, renderOption: S, className: C, strings: T }) {
2092
- let E = t(Ne, T), D = e ? a ?? mt(e, E.metadata) : [], O = !!(e && (u || d || f || p || ee)), k = /* @__PURE__ */ R("div", {
2092
+ function ht({ variant: e, metadata: a, optionItems: o = [], media: c, onBack: l, onSelectVariant: u, onEditVariant: d, onDuplicateVariant: f, onDeleteVariant: p, onSelectOption: h, actions: g, headerEnd: v, footerSlot: y, empty: ee, renderActions: b, renderMetadata: x, renderOption: S, className: C, strings: T }) {
2093
+ let E = t(Ne, T), D = e ? a ?? mt(e, E.metadata) : [], O = !!(e && (u || d || f || p || b)), k = /* @__PURE__ */ R("div", {
2093
2094
  className: "product-variant-details--header-actions flex items-center gap-space-md",
2094
2095
  children: [!!l && /* @__PURE__ */ L(r, {
2095
2096
  type: "button",
@@ -2104,7 +2105,7 @@ function ht({ variant: e, metadata: a, optionItems: o = [], media: c, onBack: l,
2104
2105
  onEditVariant: d,
2105
2106
  onDuplicateVariant: f,
2106
2107
  onDeleteVariant: p,
2107
- renderVariantActions: ee
2108
+ renderVariantActions: b
2108
2109
  })]
2109
2110
  }), te = e?.options ?? [];
2110
2111
  return /* @__PURE__ */ L(_, {
@@ -2163,7 +2164,7 @@ function ht({ variant: e, metadata: a, optionItems: o = [], media: c, onBack: l,
2163
2164
  }, e.id)) })]
2164
2165
  })
2165
2166
  ]
2166
- }) : b ?? /* @__PURE__ */ L($, {
2167
+ }) : ee ?? /* @__PURE__ */ L($, {
2167
2168
  title: E.emptyTitle,
2168
2169
  description: E.emptyDescription
2169
2170
  })
@@ -2177,8 +2178,8 @@ var gt = (e) => e.map((e) => ({
2177
2178
  label: e.label,
2178
2179
  disabled: e.disabled
2179
2180
  }));
2180
- function _t({ value: e, defaultValue: a, optionFields: o = [], statusOptions: s = [], onValueChange: c, onSubmit: l, onError: u, onCancel: d, onDelete: f, actions: p, headerEnd: m, footerSlot: y, disabled: ee = !1, submitting: x = !1, className: S, strings: C }) {
2181
- let w = t(Pe, C), T = oe(), E = e !== void 0, [D, O] = se(a ?? {}), [k, te] = se(!1), A = (E ? e : D) ?? {}, j = x || k, M = ee || j, N = (e) => {
2181
+ function _t({ value: e, defaultValue: a, optionFields: o = [], statusOptions: s = [], onValueChange: c, onSubmit: l, onError: u, onCancel: d, onDelete: f, actions: p, headerEnd: m, footerSlot: ee, disabled: b = !1, submitting: x = !1, className: S, strings: C }) {
2182
+ let w = t(Pe, C), T = oe(), E = e !== void 0, [D, O] = se(a ?? {}), [k, te] = se(!1), A = (E ? e : D) ?? {}, j = x || k, M = b || j, N = (e) => {
2182
2183
  E || O(e), c?.(e);
2183
2184
  }, P = (e, t) => {
2184
2185
  N({
@@ -2239,7 +2240,7 @@ function _t({ value: e, defaultValue: a, optionFields: o = [], statusOptions: s
2239
2240
  description: w.description,
2240
2241
  actions: p,
2241
2242
  headerEnd: m,
2242
- footerSlot: y ?? (ae ? ie : void 0),
2243
+ footerSlot: ee ?? (ae ? ie : void 0),
2243
2244
  footerDivider: !0,
2244
2245
  contentClassName: "mt-1",
2245
2246
  className: n("product-variant-editor--component @container/product-variant-editor w-full", S),
@@ -2319,7 +2320,7 @@ function _t({ value: e, defaultValue: a, optionFields: o = [], statusOptions: s
2319
2320
  }),
2320
2321
  /* @__PURE__ */ L(v, {
2321
2322
  label: w.fields.status,
2322
- children: s.length > 0 ? /* @__PURE__ */ L(b, {
2323
+ children: s.length > 0 ? /* @__PURE__ */ L(y, {
2323
2324
  options: gt(s),
2324
2325
  value: A.status ?? null,
2325
2326
  onValueChange: (e) => P("status", e ?? ""),
@@ -2357,7 +2358,7 @@ function _t({ value: e, defaultValue: a, optionFields: o = [], statusOptions: s
2357
2358
  return /* @__PURE__ */ L(v, {
2358
2359
  label: e.label,
2359
2360
  helperText: e.helperText,
2360
- children: n ? /* @__PURE__ */ L(b, {
2361
+ children: n ? /* @__PURE__ */ L(y, {
2361
2362
  options: gt(e.choices ?? []),
2362
2363
  value: t || null,
2363
2364
  onValueChange: (t) => ne(e, t),
@@ -2451,8 +2452,8 @@ function Pt(e, t, r, i, a) {
2451
2452
  children: kt(e)
2452
2453
  });
2453
2454
  }
2454
- function Ft({ variants: e = [], optionGroups: o = [], groupByOptionId: c, visibleColumns: l = vt, optionCombinationDisplay: u = yt, cellDisplay: d = bt, selectionMode: f, renderOptionCombination: p, renderCell: h, selectedVariantIds: g, defaultSelectedVariantIds: v = [], onSelectedVariantIdsChange: b, onVariantFieldChange: ee, onVariantFieldBlur: x, onCreateVariant: S, onGenerateVariants: C, onSelectVariant: w, onEditVariant: T, onDuplicateVariant: E, onDeleteVariant: D, onBulkEdit: N, onBulkApply: P, onBulkDelete: ne, renderVariantActions: re, renderBulkActions: ie, actions: oe, headerEnd: ce, footerSlot: le, empty: ue, surface: de = "card", className: fe, strings: z }) {
2455
- let B = t(Ae, z), he = g !== void 0, [ge, ve] = se(v), ye = !!(ie || N || P || ne), U = (f ?? (ye || he || b ? xt : "none")) === "multiple", be = I(() => U ? he ? g : ge : [], [
2455
+ function Ft({ variants: e = [], optionGroups: o = [], groupByOptionId: c, visibleColumns: l = vt, optionCombinationDisplay: u = yt, cellDisplay: d = bt, selectionMode: f, renderOptionCombination: p, renderCell: h, selectedVariantIds: g, defaultSelectedVariantIds: v = [], onSelectedVariantIdsChange: y, onVariantFieldChange: ee, onVariantFieldBlur: x, onCreateVariant: S, onGenerateVariants: C, onSelectVariant: w, onEditVariant: T, onDuplicateVariant: E, onDeleteVariant: D, onBulkEdit: N, onBulkApply: P, onBulkDelete: ne, renderVariantActions: re, renderBulkActions: ie, actions: oe, headerEnd: ce, footerSlot: le, empty: ue, surface: de = "card", className: fe, strings: z }) {
2456
+ let B = t(Ae, z), he = g !== void 0, [ge, ve] = se(v), ye = !!(ie || N || P || ne), U = (f ?? (ye || he || y ? xt : "none")) === "multiple", be = I(() => U ? he ? g : ge : [], [
2456
2457
  ge,
2457
2458
  U,
2458
2459
  he,
@@ -2477,10 +2478,10 @@ function Ft({ variants: e = [], optionGroups: o = [], groupByOptionId: c, visibl
2477
2478
  }), t;
2478
2479
  }, [q, e]), Y = U && ye, Ee = e.length > 0, X = U && Ee && e.every((e) => Ce.has(e.id)), Z = !!(w || T || E || D || re), De = l.filter((e) => G.has(e)).length + +!!U + +!!Z, Q = F((e) => {
2479
2480
  let t = Ot(e, Se);
2480
- he || ve(e), b?.(e, t);
2481
+ he || ve(e), y?.(e, t);
2481
2482
  }, [
2482
2483
  he,
2483
- b,
2484
+ y,
2484
2485
  Se
2485
2486
  ]), Oe = F(() => Q([]), [Q]), ke = F((e, t) => {
2486
2487
  if (!U) return;
@@ -2623,7 +2624,7 @@ function Ft({ variants: e = [], optionGroups: o = [], groupByOptionId: c, visibl
2623
2624
  U && /* @__PURE__ */ L(A, {
2624
2625
  className: "w-14 min-w-14 max-w-14 px-0 py-space-md text-center align-middle",
2625
2626
  style: { width: "3.5rem" },
2626
- children: /* @__PURE__ */ L(y, {
2627
+ children: /* @__PURE__ */ L(b, {
2627
2628
  checked: X,
2628
2629
  onCheckedChange: je,
2629
2630
  "aria-label": B.selectAllLabel,
@@ -2690,10 +2691,10 @@ function Ft({ variants: e = [], optionGroups: o = [], groupByOptionId: c, visibl
2690
2691
  onDelete: D ? () => D(e) : void 0,
2691
2692
  isSelected: f,
2692
2693
  onToggleSelected: U ? (t) => ke(e, t) : void 0
2693
- }, _ = q ? o.filter((e) => e.id !== q.id) : o, v = Tt(e, _), b = q ? wt({
2694
+ }, _ = q ? o.filter((e) => e.id !== q.id) : o, v = Tt(e, _), y = q ? wt({
2694
2695
  ...e,
2695
2696
  name: void 0
2696
- }, _) : wt(e, o), S = b === "-" && q ? wt(e, o) : b, C = Et(v), te = C === St(S), A = (t, r, i = bt) => {
2697
+ }, _) : wt(e, o), S = y === "-" && q ? wt(e, o) : y, C = Et(v), te = C === St(S), A = (t, r, i = bt) => {
2697
2698
  let a = jt(t) && ee ? (i) => ee(e, t, i, Nt(n, t, r, i)) : void 0, o = jt(t) && x ? (i) => x(e, t, i, Nt(n, t, r, i)) : void 0;
2698
2699
  return {
2699
2700
  index: n,
@@ -2776,7 +2777,7 @@ function Ft({ variants: e = [], optionGroups: o = [], groupByOptionId: c, visibl
2776
2777
  U && /* @__PURE__ */ L(k, {
2777
2778
  className: "w-14 min-w-14 max-w-14 px-0 py-space-lg text-center align-middle",
2778
2779
  style: { width: "3.5rem" },
2779
- children: /* @__PURE__ */ L(y, {
2780
+ children: /* @__PURE__ */ L(b, {
2780
2781
  checked: f,
2781
2782
  onCheckedChange: (t) => ke(e, t),
2782
2783
  "aria-label": B.selectRowLabel(n),
@@ -2878,7 +2879,7 @@ function Ft({ variants: e = [], optionGroups: o = [], groupByOptionId: c, visibl
2878
2879
  Ft.displayName = "ProductVariantsBulkTable";
2879
2880
  //#endregion
2880
2881
  //#region src/components/features/products/components/product-variants-manager.tsx
2881
- function It({ optionGroups: e = [], variants: a = [], visibleColumns: o, optionCombinationDisplay: c, cellDisplay: l, selectionMode: u, renderOptionCombination: d, renderCell: f, selectedVariantIds: p, defaultSelectedVariantIds: m, onSelectedVariantIdsChange: h, onVariantFieldChange: g, onVariantFieldBlur: v, collapsedOptionIds: y, defaultCollapsedOptionIds: ee, onCollapsedOptionIdsChange: x, editingOptionId: S, defaultEditingOptionId: C, onEditingOptionIdChange: w, onCreateOption: T, onEditOption: E, onDeleteOption: D, onAddValue: O, onDeleteValue: k, onOptionNameChange: te, onValueLabelChange: A, onDoneEditingOption: j, onSaveEditingOption: M, onCancelEditingOption: N, onToggleUsedForVariants: P, renderOptionActions: ne, renderValue: re, onCreateVariant: ie, onGenerateVariants: ae, onSelectVariant: oe, onEditVariant: ce, onDuplicateVariant: le, onDeleteVariant: ue, onBulkEdit: de, onBulkApply: fe, onBulkDelete: z, renderVariantActions: pe, renderBulkActions: me, groupByOptionId: B, defaultGroupByOptionId: he, onGroupByOptionIdChange: ge, onSearchVariants: _e, onFilterVariants: ye, controlsEnd: V, actions: U, headerEnd: be, footerSlot: Se, className: Ce, strings: G, optionsStrings: K, variantsStrings: q }) {
2882
+ function It({ optionGroups: e = [], variants: a = [], visibleColumns: o, optionCombinationDisplay: c, cellDisplay: l, selectionMode: u, renderOptionCombination: d, renderCell: f, selectedVariantIds: p, defaultSelectedVariantIds: m, onSelectedVariantIdsChange: h, onVariantFieldChange: g, onVariantFieldBlur: v, collapsedOptionIds: ee, defaultCollapsedOptionIds: b, onCollapsedOptionIdsChange: x, editingOptionId: S, defaultEditingOptionId: C, onEditingOptionIdChange: w, onCreateOption: T, onEditOption: E, onDeleteOption: D, onAddValue: O, onDeleteValue: k, onOptionNameChange: te, onValueLabelChange: A, onDoneEditingOption: j, onSaveEditingOption: M, onCancelEditingOption: N, onToggleUsedForVariants: P, renderOptionActions: ne, renderValue: re, onCreateVariant: ie, onGenerateVariants: ae, onSelectVariant: oe, onEditVariant: ce, onDuplicateVariant: le, onDeleteVariant: ue, onBulkEdit: de, onBulkApply: fe, onBulkDelete: z, renderVariantActions: pe, renderBulkActions: me, groupByOptionId: B, defaultGroupByOptionId: he, onGroupByOptionIdChange: ge, onSearchVariants: _e, onFilterVariants: ye, controlsEnd: V, actions: U, headerEnd: be, footerSlot: Se, className: Ce, strings: G, optionsStrings: K, variantsStrings: q }) {
2882
2883
  let J = t(je, G), we = I(() => e.filter((e) => e.usedForVariants !== !1), [e]), Te = we[0]?.id ?? null, Y = B !== void 0, [Ee, X] = se(he ?? Te), Z = B ?? Ee ?? Te, De = I(() => we.map((e) => ({
2883
2884
  value: e.id,
2884
2885
  label: String(typeof e.name == "string" || typeof e.name == "number" ? e.name : e.id)
@@ -2928,8 +2929,8 @@ function It({ optionGroups: e = [], variants: a = [], visibleColumns: o, optionC
2928
2929
  className: "product-variants-manager--options min-w-0 px-surface pb-space-lg",
2929
2930
  children: /* @__PURE__ */ L(nt, {
2930
2931
  optionGroups: e,
2931
- collapsedOptionIds: y,
2932
- defaultCollapsedOptionIds: ee,
2932
+ collapsedOptionIds: ee,
2933
+ defaultCollapsedOptionIds: b,
2933
2934
  onCollapsedOptionIdsChange: x,
2934
2935
  editingOptionId: S,
2935
2936
  defaultEditingOptionId: C,
@@ -2973,7 +2974,7 @@ function It({ optionGroups: e = [], variants: a = [], visibleColumns: o, optionC
2973
2974
  type: "secondary",
2974
2975
  className: "whitespace-nowrap",
2975
2976
  children: J.groupByLabel
2976
- }), De.length > 0 && /* @__PURE__ */ L(b, {
2977
+ }), De.length > 0 && /* @__PURE__ */ L(y, {
2977
2978
  options: De,
2978
2979
  value: Z,
2979
2980
  onValueChange: Q,