@persona/design-system 0.8.0 → 0.8.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 (542) hide show
  1. package/CHANGELOG.md +241 -0
  2. package/dist/Accordion.d.mts +1 -1
  3. package/dist/AccordionItem.d.mts +1 -1
  4. package/dist/{Action-B-AiHknZ.d.mts → Action-BwYS9qaG.d.mts} +3 -3
  5. package/dist/Action.d.mts +1 -1
  6. package/dist/AdvancedFilterRuleRow.d.mts +4 -2
  7. package/dist/AdvancedFilterRulesPopover.d.mts +5 -3
  8. package/dist/ArrayValueControl.d.mts +1 -1
  9. package/dist/Attribute.d.mts +3 -3
  10. package/dist/{Badge-COqUjFQu.mjs → Badge-D-5tbZDw.mjs} +2 -2
  11. package/dist/{Badge-COqUjFQu.mjs.map → Badge-D-5tbZDw.mjs.map} +1 -1
  12. package/dist/BooleanValueControl.d.mts +1 -1
  13. package/dist/{Breadcrumb-DRFY46ZW.d.mts → Breadcrumb-BADja8tn.d.mts} +1 -1
  14. package/dist/Breadcrumb.d.mts +1 -1
  15. package/dist/{Breadcrumbs-DXS7rU7_.mjs → Breadcrumbs-CNpM0aXm.mjs} +5 -5
  16. package/dist/{Breadcrumbs-DXS7rU7_.mjs.map → Breadcrumbs-CNpM0aXm.mjs.map} +1 -1
  17. package/dist/{Breadcrumbs-DUSbT1I7.d.mts → Breadcrumbs-CxP7ktfM.d.mts} +2 -2
  18. package/dist/Breadcrumbs.d.mts +1 -1
  19. package/dist/{Button-xZ6DC5XC.d.mts → Button-CnswHEJ2.d.mts} +4 -4
  20. package/dist/Button.d.mts +1 -1
  21. package/dist/{Calendar-dPmo2dkj.d.mts → Calendar-Cke5IlMI.d.mts} +1 -1
  22. package/dist/Calendar.d.mts +1 -1
  23. package/dist/CalendarBase.d.mts +1 -1
  24. package/dist/{Card-CUeM8Lh8.d.mts → Card-Bp6L08H4.d.mts} +3 -3
  25. package/dist/Card.d.mts +1 -1
  26. package/dist/{CardV2-D9p7D7jX.mjs → CardV2-DEW6mw_o.mjs} +7 -7
  27. package/dist/{CardV2-D9p7D7jX.mjs.map → CardV2-DEW6mw_o.mjs.map} +1 -1
  28. package/dist/{Checkbox-DoJpxPEz.d.mts → Checkbox-DUXws1Os.d.mts} +1 -1
  29. package/dist/{Checkbox-DQynkc_I.mjs → Checkbox-GibG2pg5.mjs} +3 -3
  30. package/dist/{Checkbox-DQynkc_I.mjs.map → Checkbox-GibG2pg5.mjs.map} +1 -1
  31. package/dist/Checkbox.d.mts +1 -1
  32. package/dist/CheckboxGroupField-DzdOYIjo.d.mts +25 -0
  33. package/dist/CheckboxGroupField.d.mts +2 -25
  34. package/dist/ChoicesValueControl.d.mts +1 -1
  35. package/dist/{Combobox-C_kCY3P3.mjs → Combobox-CCDoNF9Y.mjs} +9 -9
  36. package/dist/{Combobox-C_kCY3P3.mjs.map → Combobox-CCDoNF9Y.mjs.map} +1 -1
  37. package/dist/{Combobox-D7hyf-jA.d.mts → Combobox-CnxmKUQf.d.mts} +3 -3
  38. package/dist/Combobox.d.mts +2 -2
  39. package/dist/{ComboboxBase-BMCY6O7Y.d.mts → ComboboxBase-CtNrsPO9.d.mts} +6 -6
  40. package/dist/ComboboxBase.d.mts +1 -1
  41. package/dist/{ComboboxMultiSelect-L0KYMkmm.d.mts → ComboboxMultiSelect-CMH6iVu4.d.mts} +2 -2
  42. package/dist/ComboboxMultiSelect.d.mts +1 -1
  43. package/dist/{ComboboxSingleSelect-v5oNrJ7M.d.mts → ComboboxSingleSelect-BLPbLmMY.d.mts} +4 -4
  44. package/dist/ComboboxSingleSelect.d.mts +1 -1
  45. package/dist/{CompactBar-DjFaUAsN.d.mts → CompactBar-BwKIIlWz.d.mts} +3 -3
  46. package/dist/CompactBar.d.mts +1 -1
  47. package/dist/{ConfigFormGroup-DLOZOuLf.mjs → ConfigFormGroup-BQXN2Pgj.mjs} +2 -2
  48. package/dist/{ConfigFormGroup-DLOZOuLf.mjs.map → ConfigFormGroup-BQXN2Pgj.mjs.map} +1 -1
  49. package/dist/{ControlBar-Cegjxa6-.d.mts → ControlBar-BJUY6GOX.d.mts} +2 -2
  50. package/dist/ControlBar.d.mts +1 -1
  51. package/dist/DataTable.d.mts +3 -3
  52. package/dist/{DateField-Dk5ykLdr.d.mts → DateField-BojOHfrv.d.mts} +2 -2
  53. package/dist/DateField.d.mts +1 -1
  54. package/dist/{DatePicker-Dtvv0V45.d.mts → DatePicker-BHVx_i_F.d.mts} +2 -2
  55. package/dist/{DatePicker-C7z1yodK.mjs → DatePicker-LPIJrc0n.mjs} +6 -6
  56. package/dist/{DatePicker-C7z1yodK.mjs.map → DatePicker-LPIJrc0n.mjs.map} +1 -1
  57. package/dist/DatePicker.d.mts +1 -1
  58. package/dist/{DateRangePicker-HPYsa4wC.d.mts → DateRangePicker-CelDK_44.d.mts} +3 -3
  59. package/dist/DateRangePicker.d.mts +1 -1
  60. package/dist/DateRangeValueControl.d.mts +2 -2
  61. package/dist/DateValueControl.d.mts +1 -1
  62. package/dist/{DropdownButton-CQrFHOIW.mjs → DropdownButton-i5Dmxiq1.mjs} +3 -3
  63. package/dist/{DropdownButton-CQrFHOIW.mjs.map → DropdownButton-i5Dmxiq1.mjs.map} +1 -1
  64. package/dist/DropdownButton.d.mts +2 -2
  65. package/dist/{DropdownMenu-D1qvgGTZ.d.mts → DropdownMenu-YtLxcNWt.d.mts} +2 -2
  66. package/dist/{DropdownMenu-rm9Nnxn7.mjs → DropdownMenu-j8NWbAvM.mjs} +2 -2
  67. package/dist/{DropdownMenu-rm9Nnxn7.mjs.map → DropdownMenu-j8NWbAvM.mjs.map} +1 -1
  68. package/dist/DropdownMenu.d.mts +1 -1
  69. package/dist/{ErrorProps-B8-Mqf1W.d.mts → ErrorProps-6dRdJ4QQ.d.mts} +1 -1
  70. package/dist/ErrorProps.d.mts +1 -1
  71. package/dist/{FieldRegistry-0LmSQ-jc.d.mts → FieldRegistry-DqO8HiYb.d.mts} +2 -2
  72. package/dist/FieldRegistry.d.mts +1 -1
  73. package/dist/{FilterBar-BMM4Swbt.d.mts → FilterBar-CpAA2Ozk.d.mts} +4 -4
  74. package/dist/FilterBar.d.mts +1 -1
  75. package/dist/FilterPickerMenu.d.mts +2 -2
  76. package/dist/FilterPill.d.mts +1 -1
  77. package/dist/FilterPopover.d.mts +8 -2
  78. package/dist/FloatValueControl.d.mts +1 -1
  79. package/dist/{FormControl-Dg8doZq2.d.mts → FormControl-B-s6G9mp.d.mts} +2 -2
  80. package/dist/{FormControl-DXrxoJLl.mjs → FormControl-bDxFF0hl.mjs} +3 -3
  81. package/dist/{FormControl-DXrxoJLl.mjs.map → FormControl-bDxFF0hl.mjs.map} +1 -1
  82. package/dist/FormControl.d.mts +1 -1
  83. package/dist/FormControlLabel.d.mts +1 -1
  84. package/dist/{FormField-BeLigf9j.d.mts → FormField-D3k-f3-f.d.mts} +2 -2
  85. package/dist/{FormField-Crp3F-hv.mjs → FormField-DbcqNcx2.mjs} +16 -16
  86. package/dist/{FormField-Crp3F-hv.mjs.map → FormField-DbcqNcx2.mjs.map} +1 -1
  87. package/dist/FormField.d.mts +1 -1
  88. package/dist/{Grid-eMLuyRzV.mjs → Grid-CeH9E5Ai.mjs} +1 -1
  89. package/dist/{Grid-eMLuyRzV.mjs.map → Grid-CeH9E5Ai.mjs.map} +1 -1
  90. package/dist/{Header-DxJ6TfPw.d.mts → Header-2K49LYkR.d.mts} +1 -1
  91. package/dist/Header.d.mts +1 -1
  92. package/dist/{HelperTooltip-DcyrpEZI.d.mts → HelperTooltip-CTHUM2nC.d.mts} +2 -2
  93. package/dist/HelperTooltip.d.mts +1 -1
  94. package/dist/HighlightedText.d.mts +61 -0
  95. package/dist/{HoverCopyableField-12bBuG-d.mjs → HoverCopyableField-BARZLhfO.mjs} +3 -3
  96. package/dist/{HoverCopyableField-12bBuG-d.mjs.map → HoverCopyableField-BARZLhfO.mjs.map} +1 -1
  97. package/dist/{IconButton-CCLMYWVN.mjs → IconButton-BHFCjvzs.mjs} +1 -1
  98. package/dist/{IconButton-CCLMYWVN.mjs.map → IconButton-BHFCjvzs.mjs.map} +1 -1
  99. package/dist/{IconButton-BUMMN-gH.d.mts → IconButton-D5hx405r.d.mts} +2 -2
  100. package/dist/IconButton.d.mts +1 -1
  101. package/dist/ImageTile.d.mts +1 -1
  102. package/dist/InlineCombobox.d.mts +1 -1
  103. package/dist/InlineInput.d.mts +1 -1
  104. package/dist/{Input-Cl4o41k4.mjs → Input-BQN97Hzm.mjs} +3 -3
  105. package/dist/{Input-Cl4o41k4.mjs.map → Input-BQN97Hzm.mjs.map} +1 -1
  106. package/dist/{Input-2N2e5JCf.d.mts → Input-BQbcIiVj.d.mts} +3 -3
  107. package/dist/Input.d.mts +1 -1
  108. package/dist/{InputProps-TWzig3QO.d.mts → InputProps-DT1ZReZS.d.mts} +2 -2
  109. package/dist/InputProps.d.mts +1 -1
  110. package/dist/IntegerValueControl.d.mts +1 -1
  111. package/dist/{Link-I9Bklen-.mjs → Link-Bzm4AL5J.mjs} +1 -1
  112. package/dist/{Link-I9Bklen-.mjs.map → Link-Bzm4AL5J.mjs.map} +1 -1
  113. package/dist/Link.d.mts +1 -1
  114. package/dist/{ListBox-BcoXOt73.d.mts → ListBox-CdqRwBvA.d.mts} +7 -7
  115. package/dist/{ListBox-sqeLBiKS.mjs → ListBox-DOqN9DNl.mjs} +9 -9
  116. package/dist/{ListBox-sqeLBiKS.mjs.map → ListBox-DOqN9DNl.mjs.map} +1 -1
  117. package/dist/ListBox.d.mts +1 -1
  118. package/dist/ListBoxField-Bl2WLplO.d.mts +51 -0
  119. package/dist/ListBoxField.d.mts +2 -51
  120. package/dist/{LoadingShimmer-dRSkdlqD.mjs → LoadingShimmer-Ds7rvIUN.mjs} +1 -1
  121. package/dist/{LoadingShimmer-dRSkdlqD.mjs.map → LoadingShimmer-Ds7rvIUN.mjs.map} +1 -1
  122. package/dist/LoadingShimmer.d.mts +1 -1
  123. package/dist/{LogicRow-DXywXdYt.d.mts → LogicRow-CwMAn1sh.d.mts} +3 -3
  124. package/dist/LogicRow.d.mts +1 -1
  125. package/dist/MaskedInput.d.mts +1 -1
  126. package/dist/{Menu-BekLwm8w.d.mts → Menu-CUN9bmc1.d.mts} +3 -3
  127. package/dist/{Menu-CwlI7BMN.mjs → Menu-DjW2b3Wk.mjs} +1 -1
  128. package/dist/{Menu-CwlI7BMN.mjs.map → Menu-DjW2b3Wk.mjs.map} +1 -1
  129. package/dist/Menu.d.mts +1 -1
  130. package/dist/{MiddleTruncatedText-CO58jrNF.mjs → MiddleTruncatedText-DoTyfMem.mjs} +2 -2
  131. package/dist/{MiddleTruncatedText-CO58jrNF.mjs.map → MiddleTruncatedText-DoTyfMem.mjs.map} +1 -1
  132. package/dist/{Modal-ymxlGYKt.d.mts → Modal-CGXJGrKg.d.mts} +2 -2
  133. package/dist/{Modal-CMiFcXC9.mjs → Modal-DHLPK65-.mjs} +4 -4
  134. package/dist/{Modal-CMiFcXC9.mjs.map → Modal-DHLPK65-.mjs.map} +1 -1
  135. package/dist/Modal.d.mts +1 -1
  136. package/dist/{PageHeader-D_0p7UK_.mjs → PageHeader-eI4RM_uL.mjs} +2 -2
  137. package/dist/{PageHeader-D_0p7UK_.mjs.map → PageHeader-eI4RM_uL.mjs.map} +1 -1
  138. package/dist/PageHeader.d.mts +1 -1
  139. package/dist/{PageSelector-Bxulu6vU.d.mts → PageSelector-kAfYxEky.d.mts} +3 -3
  140. package/dist/PageSelector.d.mts +1 -1
  141. package/dist/{Pagination-Co9CfyFQ.mjs → Pagination-6BDOn9bX.mjs} +6 -6
  142. package/dist/Pagination-6BDOn9bX.mjs.map +1 -0
  143. package/dist/{Pagination-Dg-4O7F7.d.mts → Pagination-Bhr7xyd2.d.mts} +2 -2
  144. package/dist/Pagination.d.mts +1 -1
  145. package/dist/{Pii-JGV9gP95.mjs → Pii-DhL1gblz.mjs} +2 -2
  146. package/dist/{Pii-JGV9gP95.mjs.map → Pii-DhL1gblz.mjs.map} +1 -1
  147. package/dist/{PillShell-BA7KK1zS.d.mts → PillShell-CVJL1k5I.d.mts} +2 -2
  148. package/dist/PillShell.d.mts +1 -1
  149. package/dist/{Popover-ZAj03lws.mjs → Popover-CbYaWrAy.mjs} +1 -1
  150. package/dist/{Popover-ZAj03lws.mjs.map → Popover-CbYaWrAy.mjs.map} +1 -1
  151. package/dist/{ProgressIndicator-CQg08vuA.mjs → ProgressIndicator-BpF3XLn3.mjs} +1 -1
  152. package/dist/{ProgressIndicator-CQg08vuA.mjs.map → ProgressIndicator-BpF3XLn3.mjs.map} +1 -1
  153. package/dist/{ProgressIndicator-D85HQGSx.d.mts → ProgressIndicator-CYyM6OSx.d.mts} +1 -1
  154. package/dist/ProgressIndicator.d.mts +1 -1
  155. package/dist/{PseudoClassProps-BHs8TX_3.d.mts → PseudoClassProps-BOVN6Etr.d.mts} +1 -1
  156. package/dist/PseudoClassProps.d.mts +1 -1
  157. package/dist/{Radio-CYV290JI.mjs → Radio-DPaX-9LH.mjs} +2 -2
  158. package/dist/{Radio-CYV290JI.mjs.map → Radio-DPaX-9LH.mjs.map} +1 -1
  159. package/dist/{RadioGroup-Cq3KV1TN.d.mts → RadioGroup-C0l0pdEt.d.mts} +1 -1
  160. package/dist/{RadioGroup-lWMMtu9V.mjs → RadioGroup-D7f4m2Uc.mjs} +2 -2
  161. package/dist/{RadioGroup-lWMMtu9V.mjs.map → RadioGroup-D7f4m2Uc.mjs.map} +1 -1
  162. package/dist/RadioGroup.d.mts +1 -1
  163. package/dist/{RangeCalendar-Mh7h74Tp.d.mts → RangeCalendar-BJn9V3iN.d.mts} +2 -2
  164. package/dist/RangeCalendar.d.mts +1 -1
  165. package/dist/RangeCalendarPresets.d.mts +1 -1
  166. package/dist/{RouterContext-B3IU1jb0.d.mts → RouterContext-BLrzYlJ_.d.mts} +2 -2
  167. package/dist/RouterContext.d.mts +1 -1
  168. package/dist/{RouterLink-CwAqTLC2.d.mts → RouterLink-BHXjhqps.d.mts} +2 -2
  169. package/dist/RouterLink.d.mts +1 -1
  170. package/dist/RuleEditorFields.d.mts +4 -2
  171. package/dist/RulesPill.d.mts +1 -1
  172. package/dist/{SearchInput-BGyUUcoz.d.mts → SearchInput-Buh8LdIL.d.mts} +2 -2
  173. package/dist/SearchInput.d.mts +1 -1
  174. package/dist/SectionHeading.d.mts +1 -1
  175. package/dist/{SegmentedControl-DgDabSgr.d.mts → SegmentedControl-B9qLyIIW.d.mts} +1 -1
  176. package/dist/{SegmentedControl-BEbIcV3g.mjs → SegmentedControl-zEvBtVj0.mjs} +2 -2
  177. package/dist/{SegmentedControl-BEbIcV3g.mjs.map → SegmentedControl-zEvBtVj0.mjs.map} +1 -1
  178. package/dist/SegmentedControl.d.mts +1 -1
  179. package/dist/{Select-yC2t_gZb.mjs → Select-BoZuM_e9.mjs} +6 -6
  180. package/dist/{Select-yC2t_gZb.mjs.map → Select-BoZuM_e9.mjs.map} +1 -1
  181. package/dist/{Select-wqTtGyga.d.mts → Select-Cv_9PLOt.d.mts} +3 -3
  182. package/dist/Select.d.mts +1 -1
  183. package/dist/SmartTextInput.d.mts +107 -0
  184. package/dist/SmartTextInputCodeDialog.d.mts +18 -0
  185. package/dist/SmartTextInputField.d.mts +25 -0
  186. package/dist/SmartTextInputFunctionDialog.d.mts +37 -0
  187. package/dist/SmartTextInputListbox.d.mts +26 -0
  188. package/dist/SmartTextInputPopover.d.mts +45 -0
  189. package/dist/{Spinner-BlAg8_OX.mjs → Spinner-CarSRiBF.mjs} +1 -1
  190. package/dist/{Spinner-BlAg8_OX.mjs.map → Spinner-CarSRiBF.mjs.map} +1 -1
  191. package/dist/{Stack-Bkn0TUDe.mjs → Stack-CEPzs4Pb.mjs} +1 -1
  192. package/dist/{Stack-Bkn0TUDe.mjs.map → Stack-CEPzs4Pb.mjs.map} +1 -1
  193. package/dist/{Stack-CYqjBXe8.d.mts → Stack-XzBzPvSV.d.mts} +1 -1
  194. package/dist/Stack.d.mts +1 -1
  195. package/dist/{StatusIndicator-DT2zNbkp.mjs → StatusIndicator-bEnMWV_S.mjs} +1 -1
  196. package/dist/{StatusIndicator-DT2zNbkp.mjs.map → StatusIndicator-bEnMWV_S.mjs.map} +1 -1
  197. package/dist/{Sticker-BLbgJxcH.mjs → Sticker-B-fU8lgu.mjs} +3 -3
  198. package/dist/{Sticker-BLbgJxcH.mjs.map → Sticker-B-fU8lgu.mjs.map} +1 -1
  199. package/dist/{Sticker-BmyKaxwx.d.mts → Sticker-DGfNuxUK.d.mts} +4 -4
  200. package/dist/Sticker.d.mts +1 -1
  201. package/dist/StringValueControl.d.mts +1 -1
  202. package/dist/Tab.d.mts +1 -1
  203. package/dist/{TabBar-Bj84q1Mr.mjs → TabBar-BSl5v5aa.mjs} +3 -3
  204. package/dist/{TabBar-Bj84q1Mr.mjs.map → TabBar-BSl5v5aa.mjs.map} +1 -1
  205. package/dist/{Table-DhdHUQ8V.d.mts → Table-B2V5tlfA.d.mts} +1 -1
  206. package/dist/{Table-WqNfjasd.mjs → Table-msXj0glu.mjs} +2 -2
  207. package/dist/{Table-WqNfjasd.mjs.map → Table-msXj0glu.mjs.map} +1 -1
  208. package/dist/Table.d.mts +1 -1
  209. package/dist/{TableBody-qoSvQDds.d.mts → TableBody-SlQe4Jyp.d.mts} +1 -1
  210. package/dist/TableBody.d.mts +1 -1
  211. package/dist/{TableBox-obl64W5Y.mjs → TableBox-CF1_Fk0j.mjs} +9 -9
  212. package/dist/{TableBox-obl64W5Y.mjs.map → TableBox-CF1_Fk0j.mjs.map} +1 -1
  213. package/dist/TableBox.d.mts +2 -2
  214. package/dist/{TableBoxCell-DzYMx4Ju.d.mts → TableBoxCell-BRhGeUnO.d.mts} +6 -6
  215. package/dist/TableBoxCell.d.mts +1 -1
  216. package/dist/TableBoxField-Cq9M1upV.d.mts +103 -0
  217. package/dist/TableBoxField.d.mts +2 -103
  218. package/dist/{TableBoxRow-B4rFCvWK.d.mts → TableBoxRow-DZzRYoID.d.mts} +3 -3
  219. package/dist/TableBoxRow.d.mts +1 -1
  220. package/dist/{TableBoxRowActions-qMKcVuTL.d.mts → TableBoxRowActions-4-j3flJq.d.mts} +2 -2
  221. package/dist/TableBoxRowActions.d.mts +1 -1
  222. package/dist/{TableCell-CGPQRc5g.d.mts → TableCell-D5Sqb6iO.d.mts} +2 -2
  223. package/dist/TableCell.d.mts +1 -1
  224. package/dist/{TableControls-WP78qtET.d.mts → TableControls-B-LakH-8.d.mts} +3 -3
  225. package/dist/{TableControls-RS_ozBsI.mjs → TableControls-CqW_nyBY.mjs} +98 -31
  226. package/dist/TableControls-CqW_nyBY.mjs.map +1 -0
  227. package/dist/TableControls.d.mts +1 -1
  228. package/dist/{TableControlsContext-DZIZSyfX.d.mts → TableControlsContext-Dh1YVmBM.d.mts} +2 -2
  229. package/dist/TableControlsContext.d.mts +1 -1
  230. package/dist/{TableHead-36j-_oyn.d.mts → TableHead-BCrVa0BY.d.mts} +1 -1
  231. package/dist/TableHead.d.mts +1 -1
  232. package/dist/{TableHeaderCell-C7gp9j1X.d.mts → TableHeaderCell-CcEkDozs.d.mts} +1 -1
  233. package/dist/TableHeaderCell.d.mts +1 -1
  234. package/dist/{TableLayout-CQqIV0vj.d.mts → TableLayout-Bhj1QBBz.d.mts} +1 -1
  235. package/dist/TableLayout.d.mts +1 -1
  236. package/dist/{TableRow-BJZM8I8i.d.mts → TableRow-Cy1y7b9S.d.mts} +2 -2
  237. package/dist/TableRow.d.mts +1 -1
  238. package/dist/TableTH.d.mts +1 -1
  239. package/dist/{TableViewConfigurationDropdown-Dwy_9FBz.d.mts → TableViewConfigurationDropdown-BzygLtGm.d.mts} +2 -2
  240. package/dist/TableViewConfigurationDropdown.d.mts +1 -1
  241. package/dist/{TechnicalSticker-CL0zkOAj.mjs → TechnicalSticker-B6T7cHHc.mjs} +2 -2
  242. package/dist/{TechnicalSticker-CL0zkOAj.mjs.map → TechnicalSticker-B6T7cHHc.mjs.map} +1 -1
  243. package/dist/{Text-DbtTa83E.d.mts → Text-BVGJ-Nlw.d.mts} +3 -3
  244. package/dist/Text.d.mts +1 -1
  245. package/dist/{TextArea-CbxF6u7z.d.mts → TextArea-Bzj593VO.d.mts} +2 -2
  246. package/dist/{TextArea-CfZr5Sk4.mjs → TextArea-C1CmFRiz.mjs} +2 -2
  247. package/dist/{TextArea-CfZr5Sk4.mjs.map → TextArea-C1CmFRiz.mjs.map} +1 -1
  248. package/dist/TextArea.d.mts +1 -1
  249. package/dist/{TextUnderlineTooltip-BgLQuK38.d.mts → TextUnderlineTooltip-CgFmtqF_.d.mts} +2 -2
  250. package/dist/TextUnderlineTooltip.d.mts +1 -1
  251. package/dist/Tile.d.mts +1 -1
  252. package/dist/Toast.d.mts +1 -1
  253. package/dist/{Toggle-D4ZaUcVt.mjs → Toggle-CntyMUPJ.mjs} +2 -2
  254. package/dist/{Toggle-D4ZaUcVt.mjs.map → Toggle-CntyMUPJ.mjs.map} +1 -1
  255. package/dist/{Toggle-BYMLrPXk.d.mts → Toggle-bSu1xAaq.d.mts} +1 -1
  256. package/dist/Toggle.d.mts +1 -1
  257. package/dist/{Tooltip-4pshzB_i.d.mts → Tooltip-Duw4Fz1t.d.mts} +2 -2
  258. package/dist/Tooltip.d.mts +1 -1
  259. package/dist/{TruncatedText-O7hE3w0O.d.mts → TruncatedText-CbTpX_R1.d.mts} +1 -1
  260. package/dist/VersionHistory.d.mts +1 -1
  261. package/dist/{VersionHistoryItem-CIcEgl0K.d.mts → VersionHistoryItem-D05QYej7.d.mts} +1 -1
  262. package/dist/VersionHistoryItem.d.mts +1 -1
  263. package/dist/WizardModal.d.mts +3 -3
  264. package/dist/{accordionTitleTypography-CNB1w3kn.d.mts → accordionTitleTypography-Leehcmb3.d.mts} +2 -2
  265. package/dist/accordionTitleTypography.d.mts +1 -1
  266. package/dist/chainTypes-D8SGRGba.d.mts +17 -0
  267. package/dist/{codec-BXVBsB8Y.d.mts → codec-Vsztf4fe.d.mts} +2 -2
  268. package/dist/codec.d.mts +1 -1
  269. package/dist/{color-3UO63ocQ.d.mts → color-CrlF3pba.d.mts} +2 -2
  270. package/dist/components/Accordion/index.d.mts +1 -1
  271. package/dist/components/Accordion/index.mjs +1 -1
  272. package/dist/components/Attribute/index.mjs +2 -2
  273. package/dist/components/Badge/index.mjs +1 -1
  274. package/dist/components/Banner/index.mjs +1 -1
  275. package/dist/components/BottomPanel/index.mjs +3 -3
  276. package/dist/components/Breadcrumbs/index.d.mts +1 -1
  277. package/dist/components/Breadcrumbs/index.mjs +1 -1
  278. package/dist/components/Button/index.d.mts +2 -2
  279. package/dist/components/Button/index.mjs +1 -1
  280. package/dist/components/ButtonGroup/index.mjs +2 -2
  281. package/dist/components/Card/index.d.mts +2 -2
  282. package/dist/components/CardV2/index.d.mts +1 -1
  283. package/dist/components/CardV2/index.mjs +1 -1
  284. package/dist/components/Checkbox/index.d.mts +1 -1
  285. package/dist/components/Checkbox/index.mjs +1 -1
  286. package/dist/components/CodeHighlight/index.mjs +1 -1
  287. package/dist/components/Combobox/index.d.mts +2 -2
  288. package/dist/components/Combobox/index.mjs +1 -1
  289. package/dist/components/ConfigFormGroup/index.mjs +2 -2
  290. package/dist/components/DataTable/TableControls/index.d.mts +19 -19
  291. package/dist/components/DataTable/TableControls/index.mjs +1 -1
  292. package/dist/components/DataTable/index.mjs +11 -11
  293. package/dist/components/DataTable/types.d.mts +2 -2
  294. package/dist/components/DatePicker/index.d.mts +5 -5
  295. package/dist/components/DatePicker/index.mjs +1 -1
  296. package/dist/components/DropdownButton/index.mjs +1 -1
  297. package/dist/components/DropdownMenu/index.d.mts +1 -1
  298. package/dist/components/DropdownMenu/index.mjs +1 -1
  299. package/dist/components/FloatingPanel/index.mjs +2 -2
  300. package/dist/components/FormControl/index.d.mts +2 -2
  301. package/dist/components/FormControl/index.mjs +2 -2
  302. package/dist/components/FormField/index.d.mts +6 -6
  303. package/dist/components/FormField/index.mjs +1 -1
  304. package/dist/components/Grid/index.mjs +1 -1
  305. package/dist/components/HoverCopyableField/index.mjs +1 -1
  306. package/dist/components/ImageTile/index.mjs +5 -5
  307. package/dist/components/Input/index.d.mts +1 -1
  308. package/dist/components/Input/index.mjs +1 -1
  309. package/dist/components/Link/index.mjs +1 -1
  310. package/dist/components/ListBox/index.d.mts +3 -3
  311. package/dist/components/ListBox/index.mjs +1 -1
  312. package/dist/components/LoadingShimmer/index.mjs +1 -1
  313. package/dist/components/MaskedInput/index.mjs +1 -1
  314. package/dist/components/Menu/index.d.mts +1 -1
  315. package/dist/components/Menu/index.mjs +1 -1
  316. package/dist/components/Modal/index.d.mts +1 -1
  317. package/dist/components/Modal/index.mjs +1 -1
  318. package/dist/components/PageHeader/index.mjs +1 -1
  319. package/dist/components/Pagination/index.d.mts +3 -3
  320. package/dist/components/Pagination/index.mjs +1 -1
  321. package/dist/components/Pii/index.mjs +1 -1
  322. package/dist/components/Popover/index.mjs +1 -1
  323. package/dist/components/ProgressIndicator/index.d.mts +1 -1
  324. package/dist/components/ProgressIndicator/index.mjs +1 -1
  325. package/dist/components/Radio/index.mjs +1 -1
  326. package/dist/components/RadioGroup/index.d.mts +1 -1
  327. package/dist/components/RadioGroup/index.mjs +1 -1
  328. package/dist/components/RightPanel/index.mjs +3 -3
  329. package/dist/components/SegmentedControl/index.d.mts +1 -1
  330. package/dist/components/SegmentedControl/index.mjs +1 -1
  331. package/dist/components/Select/index.d.mts +1 -1
  332. package/dist/components/Select/index.mjs +1 -1
  333. package/dist/components/SmartTextInput/index.d.mts +5 -0
  334. package/dist/components/SmartTextInput/index.mjs +2035 -0
  335. package/dist/components/SmartTextInput/index.mjs.map +1 -0
  336. package/dist/components/SmartTextInput/parser/method-chain/parser.mjs +1 -1
  337. package/dist/components/SmartTextInput/parser/method-chain/types.d.mts +1 -1
  338. package/dist/components/SmartTextInput/parser/smart-text/parser.mjs +1 -1
  339. package/dist/components/SmartTextInput/parser/smart-text/types.d.mts +3 -72
  340. package/dist/components/Spinner/index.mjs +1 -1
  341. package/dist/components/Stack/index.d.mts +1 -1
  342. package/dist/components/Stack/index.mjs +1 -1
  343. package/dist/components/StatusIndicator/index.mjs +1 -1
  344. package/dist/components/Sticker/index.d.mts +1 -1
  345. package/dist/components/Sticker/index.mjs +1 -1
  346. package/dist/components/TabBar/index.mjs +1 -1
  347. package/dist/components/Table/index.d.mts +8 -8
  348. package/dist/components/Table/index.mjs +1 -1
  349. package/dist/components/TableBox/index.d.mts +2 -2
  350. package/dist/components/TableBox/index.mjs +1 -1
  351. package/dist/components/TechnicalSticker/index.mjs +1 -1
  352. package/dist/components/Text/index.d.mts +1 -1
  353. package/dist/components/TextArea/index.d.mts +1 -1
  354. package/dist/components/TextArea/index.mjs +1 -1
  355. package/dist/components/Tile/index.mjs +2 -2
  356. package/dist/components/Toast/index.mjs +1 -1
  357. package/dist/components/Toggle/index.d.mts +1 -1
  358. package/dist/components/Toggle/index.mjs +1 -1
  359. package/dist/components/Tooltip/index.d.mts +3 -3
  360. package/dist/components/VersionHistory/index.d.mts +1 -1
  361. package/dist/components/VersionHistory/index.mjs +7 -7
  362. package/dist/compound-expression.d.mts +1 -1
  363. package/dist/{constants-BOxzLX-O.d.mts → constants-CQUCM6__.d.mts} +1 -1
  364. package/dist/constants.d.mts +1 -1
  365. package/dist/{createPath-OeTC9kvS.d.mts → createPath-Bq7wYGt_.d.mts} +2 -2
  366. package/dist/createPath.d.mts +1 -1
  367. package/dist/{date-filter-BnzR6NxT.mjs → date-filter-D6IfCkwp.mjs} +1 -1
  368. package/dist/{date-filter-BnzR6NxT.mjs.map → date-filter-D6IfCkwp.mjs.map} +1 -1
  369. package/dist/{date-range-rule-value-BRp5Bi7R.d.mts → date-range-rule-value-DVhMQP4-.d.mts} +2 -2
  370. package/dist/date-range-rule-value.d.mts +1 -1
  371. package/dist/{date-rule-intent-CDBtV0ET.d.mts → date-rule-intent-BwQ6OTVD.d.mts} +3 -3
  372. package/dist/date-rule-intent.d.mts +1 -1
  373. package/dist/display.d.mts +1 -1
  374. package/dist/fieldPickerOptions.d.mts +2 -2
  375. package/dist/{filter-size-context-CqvQ190x.d.mts → filter-size-context-BjTzcZwZ.d.mts} +2 -2
  376. package/dist/filter-size-context.d.mts +1 -1
  377. package/dist/helpers.d.mts +1 -1
  378. package/dist/{index-BXSe73Xn.d.mts → index-BFIFjR7Q.d.mts} +2 -2
  379. package/dist/{index-wKK9f9La.d.mts → index-BhDvrF4l.d.mts} +4 -4
  380. package/dist/{index-CyAok7As.d.mts → index-C-xpEL8b.d.mts} +2 -2
  381. package/dist/index-xmouCHX9.d.mts +1 -0
  382. package/dist/index.d.mts +1 -1
  383. package/dist/index2.d.mts +1 -1
  384. package/dist/index3.d.mts +3 -3
  385. package/dist/index4.d.mts +1 -1
  386. package/dist/index5.d.mts +14 -14
  387. package/dist/{input-C6cyiqm2.d.mts → input-DpHBIUpP.d.mts} +3 -3
  388. package/dist/inputFields-BVDurw3L.d.mts +71 -0
  389. package/dist/inputFields.d.mts +2 -71
  390. package/dist/{intersperse-Df9zw7Bk.mjs → intersperse-bvY2gibK.mjs} +1 -1
  391. package/dist/{intersperse-Df9zw7Bk.mjs.map → intersperse-bvY2gibK.mjs.map} +1 -1
  392. package/dist/{jsonSchema-CfGi1bzI.d.mts → jsonSchema-Bl-qzgrr.d.mts} +1 -1
  393. package/dist/lib/MiddleTruncatedText.mjs +1 -1
  394. package/dist/lib/PDSProvider.d.mts +2 -2
  395. package/dist/lib/TruncatedText.d.mts +1 -1
  396. package/dist/lib/TruncatedText.mjs +1 -1
  397. package/dist/lib/TruncatedText.mjs.map +1 -1
  398. package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
  399. package/dist/lib/TruncatedTextWithTooltip.mjs +1 -1
  400. package/dist/lib/TruncatedTextWithTooltip.mjs.map +1 -1
  401. package/dist/lib/chainTypes.d.mts +2 -17
  402. package/dist/lib/color.d.mts +1 -1
  403. package/dist/lib/customFunctionSchema.d.mts +1 -1
  404. package/dist/lib/date-filter/index.d.mts +2 -2
  405. package/dist/lib/date-filter/index.mjs +1 -1
  406. package/dist/lib/jsonSchema.d.mts +1 -1
  407. package/dist/lib/jsonSchemaType.d.mts +1 -1
  408. package/dist/lib/message.d.mts +1 -1
  409. package/dist/lib/methodChain.d.mts +2 -2
  410. package/dist/lib/methodChain.mjs +1 -2
  411. package/dist/lib/methodChainNormalize.d.mts +2 -2
  412. package/dist/lib/methodChainTypes.d.mts +1 -1
  413. package/dist/lib/objectSchemaTypes.d.mts +1 -1
  414. package/dist/lib/platformObject.d.mts +1 -1
  415. package/dist/lib/pseudoClass.d.mts +1 -1
  416. package/dist/lib/router/adapters/reactRouter.d.mts +1 -1
  417. package/dist/lib/router/adapters/tanstack.d.mts +1 -1
  418. package/dist/lib/router/index.d.mts +5 -5
  419. package/dist/lib/schemaOptions.d.mts +2 -173
  420. package/dist/lib/schemaOptions.mjs +1 -1
  421. package/dist/lib/semanticColor.d.mts +1 -1
  422. package/dist/lib/useChain.d.mts +2 -0
  423. package/dist/lib/useChain.mjs +2 -0
  424. package/dist/listbox-options-BjOkovND.d.mts +38 -0
  425. package/dist/listbox-options.d.mts +2 -0
  426. package/dist/{message-CblP0EjG.d.mts → message-w_1-kTDE.d.mts} +1 -1
  427. package/dist/{methodChain-Pk1C3i_E.d.mts → methodChain-B5vZEOff.d.mts} +4 -4
  428. package/dist/{methodChain-DAQxLgxt.mjs → methodChain-L_h8Z8Bx.mjs} +2 -2
  429. package/dist/{methodChain-DAQxLgxt.mjs.map → methodChain-L_h8Z8Bx.mjs.map} +1 -1
  430. package/dist/{methodChainTypes-CqWzfx0M.d.mts → methodChainTypes-BVkTI8MX.d.mts} +2 -2
  431. package/dist/mixins/focus.d.mts +1 -1
  432. package/dist/mixins/hoverable.d.mts +2 -2
  433. package/dist/mixins/input.d.mts +1 -1
  434. package/dist/mixins/menuItem.d.mts +2 -2
  435. package/dist/mixins/scrollbar.d.mts +1 -1
  436. package/dist/mixins/text.d.mts +1 -1
  437. package/dist/{operators-CoXL5Hv6.d.mts → operators-BG82-g3M.d.mts} +9 -3
  438. package/dist/operators.d.mts +2 -2
  439. package/dist/{palette-CxXUs1Fu.d.mts → palette-C8tyI81D.d.mts} +3 -3
  440. package/dist/palette.d.mts +1 -1
  441. package/dist/{parser-Kxos6siN.mjs → parser-BeTiVjRs.mjs} +3 -2
  442. package/dist/{parser-Kxos6siN.mjs.map → parser-BeTiVjRs.mjs.map} +1 -1
  443. package/dist/patterns/LayoutLoadingShimmer/index.mjs +5 -5
  444. package/dist/patterns/PageLayout/index.mjs +2 -2
  445. package/dist/{components → patterns}/WizardModal/index.mjs +5 -5
  446. package/dist/patterns/WizardModal/index.mjs.map +1 -0
  447. package/dist/reactRouterFallback.d.mts +1 -1
  448. package/dist/relative-date-label.d.mts +1 -1
  449. package/dist/safe-parse.d.mts +23 -0
  450. package/dist/schemaOptions-DGca6x7E.d.mts +173 -0
  451. package/dist/{semantic-CFMBsuiJ.d.mts → semantic-D1661f_6.d.mts} +1 -1
  452. package/dist/{semanticColor-DuJCmDrH.d.mts → semanticColor-Bg0H3RUL.d.mts} +3 -3
  453. package/dist/{text-D8HPjiEX.d.mts → text-Iw9DKpbZ.d.mts} +1 -1
  454. package/dist/{theme-BcaR-Au5.d.mts → theme-BB1B6Wkz.d.mts} +3 -3
  455. package/dist/theme.d.mts +1 -1
  456. package/dist/tone.d.mts +3 -3
  457. package/dist/tree.d.mts +9 -0
  458. package/dist/{types-CoVZwrMW.d.mts → types-B0ilOIfE.d.mts} +2 -2
  459. package/dist/types-BYRTxB0a.d.mts +72 -0
  460. package/dist/{types-BCiq4hGv.d.mts → types-CI2bPi02.d.mts} +1 -1
  461. package/dist/types-Cs6CdZCO.d.mts +83 -0
  462. package/dist/{types-CkpixGWr.d.mts → types-D1DijcJv.d.mts} +1 -1
  463. package/dist/{types-Cl-w8tYc.d.mts → types-DZTbvdpO.d.mts} +1 -1
  464. package/dist/{types-DgyGecdM.d.mts → types-DdTu747j.d.mts} +1 -1
  465. package/dist/{types-C4WUSW3e.d.mts → types-Dy3lZv9z.d.mts} +2 -2
  466. package/dist/{types-BGMmkUpy.d.mts → types-M-rsm1Km.d.mts} +1 -1
  467. package/dist/types.d.mts +1 -1
  468. package/dist/types2.d.mts +1 -1
  469. package/dist/types3.d.mts +1 -1
  470. package/dist/types4.d.mts +1 -1
  471. package/dist/types5.d.mts +1 -1
  472. package/dist/types6.d.mts +1 -1
  473. package/dist/types7.d.mts +2 -0
  474. package/dist/{url-state-8j_ef8Uf.d.mts → url-state-DWA7UFxS.d.mts} +2 -2
  475. package/dist/url-state.d.mts +1 -1
  476. package/dist/useChain-CEsXE2Bx.d.mts +77 -0
  477. package/dist/useChain-CKqYGdx4.mjs +4589 -0
  478. package/dist/useChain-CKqYGdx4.mjs.map +1 -0
  479. package/dist/useChainAtCursor.d.mts +87 -0
  480. package/dist/useCodeChainFunctionPanel.d.mts +26 -0
  481. package/dist/useComboboxFooterAction.d.mts +1 -1
  482. package/dist/{useFilterStateV2-CW6eght1.d.mts → useFilterStateV2-DoJ9lyJx.d.mts} +3 -3
  483. package/dist/useFilterStateV2.d.mts +1 -1
  484. package/dist/{useFormField-XezSxho_.mjs → useFormField-BAmkdxtA.mjs} +2 -2
  485. package/dist/{useFormField-XezSxho_.mjs.map → useFormField-BAmkdxtA.mjs.map} +1 -1
  486. package/dist/{useFormField-CLRZkUZt.d.mts → useFormField-BtnAYcHV.d.mts} +2 -2
  487. package/dist/useFormField.d.mts +1 -1
  488. package/dist/{useFormGroup-C7Cax8zO.mjs → useFormGroup-BZayb9fZ.mjs} +1 -1
  489. package/dist/{useFormGroup-C7Cax8zO.mjs.map → useFormGroup-BZayb9fZ.mjs.map} +1 -1
  490. package/dist/{useLocationPathname-DH5Tdq5X.d.mts → useLocationPathname-pLyLOrAi.d.mts} +1 -1
  491. package/dist/useLocationPathname.d.mts +1 -1
  492. package/dist/{useTableBoxDragAndDrop-Da4TiYBT.d.mts → useTableBoxDragAndDrop-wjc_LCpC.d.mts} +1 -1
  493. package/dist/useTableBoxDragAndDrop.d.mts +1 -1
  494. package/dist/useTruncation.d.mts +1 -1
  495. package/dist/{utilities-DcsbI71T.d.mts → utilities-DL18UdPs.d.mts} +1 -1
  496. package/dist/utilities.d.mts +1 -1
  497. package/dist/utils/storybook.mjs +1 -1
  498. package/dist/utils/testing.d.mts +1 -1
  499. package/dist/utils.d.mts +1 -1
  500. package/dist/utils4.d.mts +111 -0
  501. package/dist/{validation-BgwNghi2.d.mts → validation-PeVTwtd-.d.mts} +3 -3
  502. package/dist/validation.d.mts +1 -1
  503. package/dist/validation2.d.mts +64 -0
  504. package/dist/{value-control-resolver-B0HDRxRN.d.mts → value-control-resolver-Cx_wXQFv.d.mts} +2 -2
  505. package/dist/value-control-resolver.d.mts +1 -1
  506. package/dist/variables/effect.d.mts +1 -1
  507. package/dist/variables/semantic.d.mts +1 -1
  508. package/llms.txt +1 -1
  509. package/package.json +10 -3
  510. package/skills/ui-authoring/COMPONENTS.md +0 -1
  511. package/skills/ui-authoring/PATTERNS.md +1 -0
  512. package/dist/Pagination-Co9CfyFQ.mjs.map +0 -1
  513. package/dist/TableControls-RS_ozBsI.mjs.map +0 -1
  514. package/dist/components/WizardModal/index.mjs.map +0 -1
  515. /package/dist/{index-B24gUwOx.d.mts → index-7in8TPrM.d.mts} +0 -0
  516. /package/dist/{index-BFnNtGdX.d.mts → index-BCq_fh4A2.d.mts} +0 -0
  517. /package/dist/{index-BNRXMhlr.d.mts → index-BINnViIh.d.mts} +0 -0
  518. /package/dist/{index-BPiqSRRl.d.mts → index-BMBcfD_R.d.mts} +0 -0
  519. /package/dist/{index-BYd3Btr1.d.mts → index-BOn0AAue.d.mts} +0 -0
  520. /package/dist/{index-B_BBnMou.d.mts → index-BcsXXrHq.d.mts} +0 -0
  521. /package/dist/{index-Bt4QNofW.d.mts → index-BjgW3E7y.d.mts} +0 -0
  522. /package/dist/{index-C6HcjJiY.d.mts → index-BwXb5CoQ.d.mts} +0 -0
  523. /package/dist/{index-CEqOS-7M.d.mts → index-C3usUse7.d.mts} +0 -0
  524. /package/dist/{index-CIABef8t.d.mts → index-C9achTF6.d.mts} +0 -0
  525. /package/dist/{index-CTHojwxd.d.mts → index-CCKHlTA4.d.mts} +0 -0
  526. /package/dist/{index-CjDodOH2.d.mts → index-CFuHCx9T.d.mts} +0 -0
  527. /package/dist/{index-Cm-1i165.d.mts → index-CP2eJYlK.d.mts} +0 -0
  528. /package/dist/{index-CoUVmp_Q.d.mts → index-CWB6exYm.d.mts} +0 -0
  529. /package/dist/{index-DB7t8whN.d.mts → index-CryTAIZM.d.mts} +0 -0
  530. /package/dist/{index-DBGd4WeR.d.mts → index-CuYZJcK3.d.mts} +0 -0
  531. /package/dist/{index-DGsJdI5l.d.mts → index-CuheJfs-.d.mts} +0 -0
  532. /package/dist/{index-DWfPppPU.d.mts → index-D-9tW2r5.d.mts} +0 -0
  533. /package/dist/{index-DeVKzGce.d.mts → index-D9XihFV1.d.mts} +0 -0
  534. /package/dist/{index-DedbSZMv.d.mts → index-Dflz2i1X.d.mts} +0 -0
  535. /package/dist/{index-Jh0C5PIG.d.mts → index-DjOaHFU3.d.mts} +0 -0
  536. /package/dist/{index-NKYLt_R9.d.mts → index-DkrC-i1D.d.mts} +0 -0
  537. /package/dist/{index-Qwqzz3XM.d.mts → index-DrK1_jKY.d.mts} +0 -0
  538. /package/dist/{index-VWno75SQ.d.mts → index-Iujpc9_6.d.mts} +0 -0
  539. /package/dist/{index-fxXoW-qc.d.mts → index-e6k85DKM.d.mts} +0 -0
  540. /package/dist/{index-gVcIuWLd.d.mts → index-gpCH5158.d.mts} +0 -0
  541. /package/dist/{index-zeAhjge4.d.mts → index-irNqT1qQ2.d.mts} +0 -0
  542. /package/dist/{components → patterns}/WizardModal/index.d.mts +0 -0
@@ -19,9 +19,9 @@ const TruncatedText = ({ children, titleBehavior = "conditional", ...props }) =>
19
19
  const ref = useRef(null);
20
20
  const { isOverflowWidth } = useIsOverflow(ref);
21
21
  return /* @__PURE__ */ jsx(OverflowEllipsisSpan, {
22
- ref,
23
22
  title: isOverflowWidth || titleBehavior === "always" ? ref.current?.textContent ?? "" : void 0,
24
23
  ...props,
24
+ ref,
25
25
  children
26
26
  });
27
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TruncatedText.mjs","names":[],"sources":["../../lib/TruncatedText.tsx"],"sourcesContent":["import { type ComponentPropsWithoutRef, type FC, useRef } from 'react';\nimport styled from 'styled-components';\n\nimport { useIsOverflow } from 'design-system/lib/useIsOverflow';\n\nexport const OverflowEllipsisSpan = styled.span`\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n`;\n\nexport interface TruncatedTextProps extends ComponentPropsWithoutRef<'span'> {\n titleBehavior?: 'always' | 'conditional';\n}\n\n/**\n * Truncates the text if it is too long to fit in the container.\n *\n * The text truncation is CSS-driven, but we use JavaScript to detect when truncation\n * happens so we can set a title attribute dynamically.\n */\nexport const TruncatedText: FC<TruncatedTextProps> = ({\n children,\n titleBehavior = 'conditional',\n ...props\n}) => {\n const ref = useRef<HTMLSpanElement>(null);\n const { isOverflowWidth } = useIsOverflow(ref);\n\n return (\n <OverflowEllipsisSpan\n ref={ref}\n title={\n isOverflowWidth || titleBehavior === 'always' ? (ref.current?.textContent ?? '') : undefined\n }\n {...props}\n >\n {children}\n </OverflowEllipsisSpan>\n );\n};\n\nexport default TruncatedText;\n"],"mappings":";;;;;AAKA,MAAa,uBAAuB,OAAO,IAAI;;;;;;;;;;;;AAiB/C,MAAa,iBAAyC,EACpD,UACA,gBAAgB,eAChB,GAAG,YACC;CACJ,MAAM,MAAM,OAAwB,KAAK;CACzC,MAAM,EAAE,oBAAoB,cAAc,IAAI;AAE9C,QACE,oBAAC,sBAAD;EACO;EACL,OACE,mBAAmB,kBAAkB,WAAY,IAAI,SAAS,eAAe,KAAM,KAAA;EAErF,GAAI;EAEH;EACoB,CAAA"}
1
+ {"version":3,"file":"TruncatedText.mjs","names":[],"sources":["../../lib/TruncatedText.tsx"],"sourcesContent":["import { type ComponentPropsWithoutRef, type FC, useRef } from 'react';\nimport styled from 'styled-components';\n\nimport { useIsOverflow } from 'design-system/lib/useIsOverflow';\n\nexport const OverflowEllipsisSpan = styled.span`\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n`;\n\nexport interface TruncatedTextProps extends ComponentPropsWithoutRef<'span'> {\n titleBehavior?: 'always' | 'conditional';\n}\n\n/**\n * Truncates the text if it is too long to fit in the container.\n *\n * The text truncation is CSS-driven, but we use JavaScript to detect when truncation\n * happens so we can set a title attribute dynamically.\n */\nexport const TruncatedText: FC<TruncatedTextProps> = ({\n children,\n titleBehavior = 'conditional',\n ...props\n}) => {\n const ref = useRef<HTMLSpanElement>(null);\n const { isOverflowWidth } = useIsOverflow(ref);\n\n return (\n <OverflowEllipsisSpan\n title={\n isOverflowWidth || titleBehavior === 'always' ? (ref.current?.textContent ?? '') : undefined\n }\n {...props}\n // After the spread so a `ref` prop (React 19, e.g. `ref: null` from a `styled()` wrapper) can't\n // replace the ref used for overflow detection.\n ref={ref}\n >\n {children}\n </OverflowEllipsisSpan>\n );\n};\n\nexport default TruncatedText;\n"],"mappings":";;;;;AAKA,MAAa,uBAAuB,OAAO,IAAI;;;;;;;;;;;;AAiB/C,MAAa,iBAAyC,EACpD,UACA,gBAAgB,eAChB,GAAG,YACC;CACJ,MAAM,MAAM,OAAwB,KAAK;CACzC,MAAM,EAAE,oBAAoB,cAAc,IAAI;AAE9C,QACE,oBAAC,sBAAD;EACE,OACE,mBAAmB,kBAAkB,WAAY,IAAI,SAAS,eAAe,KAAM,KAAA;EAErF,GAAI;EAGC;EAEJ;EACoB,CAAA"}
@@ -1,4 +1,4 @@
1
- import { n as Tooltip } from "../Tooltip-4pshzB_i.mjs";
1
+ import { n as Tooltip } from "../Tooltip-Duw4Fz1t.mjs";
2
2
  import { ComponentProps, ComponentPropsWithoutRef, FC } from "react";
3
3
 
4
4
  //#region lib/TruncatedTextWithTooltip.d.ts
@@ -13,8 +13,8 @@ const TruncatedTextWithTooltip = ({ children, tooltipProps = {}, ...props }) =>
13
13
  const { isOverflowWidth } = useIsOverflow(ref);
14
14
  return /* @__PURE__ */ jsx(Tooltip, {
15
15
  trigger: /* @__PURE__ */ jsx(OverflowEllipsisSpan, {
16
- ref,
17
16
  ...props,
17
+ ref,
18
18
  children
19
19
  }),
20
20
  disabled: !isOverflowWidth,
@@ -1 +1 @@
1
- {"version":3,"file":"TruncatedTextWithTooltip.mjs","names":[],"sources":["../../lib/TruncatedTextWithTooltip.tsx"],"sourcesContent":["import { type ComponentProps, type ComponentPropsWithoutRef, type FC, useRef } from 'react';\n\nimport Tooltip from 'design-system/components/Tooltip';\nimport { OverflowEllipsisSpan } from 'design-system/lib/TruncatedText';\nimport { useIsOverflow } from 'design-system/lib/useIsOverflow';\n\ninterface TruncatedTextWithTooltipProps extends ComponentPropsWithoutRef<'span'> {\n tooltipProps?: Pick<ComponentProps<typeof Tooltip>, 'side' | 'zIndex' | 'maxWidth'>;\n}\n\n/**\n * Truncates the text if it is too long to fit in the container and shows a tooltip if the text\n * is truncated.\n */\nexport const TruncatedTextWithTooltip: FC<TruncatedTextWithTooltipProps> = ({\n children,\n tooltipProps = {},\n ...props\n}) => {\n const ref = useRef<HTMLSpanElement>(null);\n const { isOverflowWidth } = useIsOverflow(ref);\n\n return (\n <Tooltip\n trigger={\n <OverflowEllipsisSpan ref={ref} {...props}>\n {children}\n </OverflowEllipsisSpan>\n }\n disabled={!isOverflowWidth}\n {...tooltipProps}\n >\n {children}\n </Tooltip>\n );\n};\n\nexport default TruncatedTextWithTooltip;\n"],"mappings":";;;;;;;;;;AAcA,MAAa,4BAA+D,EAC1E,UACA,eAAe,EAAE,EACjB,GAAG,YACC;CACJ,MAAM,MAAM,OAAwB,KAAK;CACzC,MAAM,EAAE,oBAAoB,cAAc,IAAI;AAE9C,QACE,oBAAC,SAAD;EACE,SACE,oBAAC,sBAAD;GAA2B;GAAK,GAAI;GACjC;GACoB,CAAA;EAEzB,UAAU,CAAC;EACX,GAAI;EAEH;EACO,CAAA"}
1
+ {"version":3,"file":"TruncatedTextWithTooltip.mjs","names":[],"sources":["../../lib/TruncatedTextWithTooltip.tsx"],"sourcesContent":["import { type ComponentProps, type ComponentPropsWithoutRef, type FC, useRef } from 'react';\n\nimport Tooltip from 'design-system/components/Tooltip';\nimport { OverflowEllipsisSpan } from 'design-system/lib/TruncatedText';\nimport { useIsOverflow } from 'design-system/lib/useIsOverflow';\n\ninterface TruncatedTextWithTooltipProps extends ComponentPropsWithoutRef<'span'> {\n tooltipProps?: Pick<ComponentProps<typeof Tooltip>, 'side' | 'zIndex' | 'maxWidth'>;\n}\n\n/**\n * Truncates the text if it is too long to fit in the container and shows a tooltip if the text\n * is truncated.\n */\nexport const TruncatedTextWithTooltip: FC<TruncatedTextWithTooltipProps> = ({\n children,\n tooltipProps = {},\n ...props\n}) => {\n const ref = useRef<HTMLSpanElement>(null);\n const { isOverflowWidth } = useIsOverflow(ref);\n\n return (\n <Tooltip\n trigger={\n <OverflowEllipsisSpan {...props} ref={ref}>\n {children}\n </OverflowEllipsisSpan>\n }\n disabled={!isOverflowWidth}\n {...tooltipProps}\n >\n {children}\n </Tooltip>\n );\n};\n\nexport default TruncatedTextWithTooltip;\n"],"mappings":";;;;;;;;;;AAcA,MAAa,4BAA+D,EAC1E,UACA,eAAe,EAAE,EACjB,GAAG,YACC;CACJ,MAAM,MAAM,OAAwB,KAAK;CACzC,MAAM,EAAE,oBAAoB,cAAc,IAAI;AAE9C,QACE,oBAAC,SAAD;EACE,SACE,oBAAC,sBAAD;GAAsB,GAAI;GAAY;GACnC;GACoB,CAAA;EAEzB,UAAU,CAAC;EACX,GAAI;EAEH;EACO,CAAA"}
@@ -1,17 +1,2 @@
1
- import { n as JsonSchema } from "../jsonSchema-CfGi1bzI.mjs";
2
- import { n as Chain } from "../methodChainTypes-CqWzfx0M.mjs";
3
- import { Option } from "./schemaOptions.mjs";
4
-
5
- //#region lib/chainTypes.d.ts
6
- interface ChainRoot {
7
- chain: Chain;
8
- label: string;
9
- schema: JsonSchema;
10
- }
11
- interface PossibleChainSchema extends Option {
12
- parentSchema: JsonSchema;
13
- returnType: string;
14
- }
15
- //#endregion
16
- export { ChainRoot, PossibleChainSchema };
17
- //# sourceMappingURL=chainTypes.d.mts.map
1
+ import { n as PossibleChainSchema, t as ChainRoot } from "../chainTypes-D8SGRGba.mjs";
2
+ export { ChainRoot, PossibleChainSchema };
@@ -1,2 +1,2 @@
1
- import { a as transparent, i as opaqueOver, n as PdsColor, o as withAlpha, r as opacityOf, t as CssColor } from "../color-3UO63ocQ.mjs";
1
+ import { a as transparent, i as opaqueOver, n as PdsColor, o as withAlpha, r as opacityOf, t as CssColor } from "../color-CrlF3pba.mjs";
2
2
  export { CssColor, PdsColor, opacityOf, opaqueOver, transparent, withAlpha };
@@ -1,4 +1,4 @@
1
- import { n as JsonSchema, st as FunctionJsonSchema } from "../jsonSchema-CfGi1bzI.mjs";
1
+ import { n as JsonSchema, st as FunctionJsonSchema } from "../jsonSchema-Bl-qzgrr.mjs";
2
2
 
3
3
  //#region lib/customFunctionSchema.d.ts
4
4
  declare const RECEIVER_PARAM_KEY = "previous";
@@ -1,3 +1,3 @@
1
- import { a as DateFilterPreset, c as RelativeDateFilterValue, n as AbsoluteDateRange, o as DateFilterValue } from "../../types-Cl-w8tYc.mjs";
2
- import { a as selectedPresetFor, i as resolveDateFilterValue, r as parseDateFilterValue } from "../../codec-BXVBsB8Y.mjs";
1
+ import { a as DateFilterPreset, c as RelativeDateFilterValue, n as AbsoluteDateRange, o as DateFilterValue } from "../../types-DZTbvdpO.mjs";
2
+ import { a as selectedPresetFor, i as resolveDateFilterValue, r as parseDateFilterValue } from "../../codec-Vsztf4fe.mjs";
3
3
  export { AbsoluteDateRange, DateFilterPreset, DateFilterValue, RelativeDateFilterValue, parseDateFilterValue, resolveDateFilterValue, selectedPresetFor };
@@ -1,2 +1,2 @@
1
- import { i as selectedPresetFor, n as parseDateFilterValue, r as resolveDateFilterValue } from "../../date-filter-BnzR6NxT.mjs";
1
+ import { i as selectedPresetFor, n as parseDateFilterValue, r as resolveDateFilterValue } from "../../date-filter-D6IfCkwp.mjs";
2
2
  export { parseDateFilterValue, resolveDateFilterValue, selectedPresetFor };
@@ -1,2 +1,2 @@
1
- import { $ as isNonPrimitiveSchema, A as getNonNullableRefSchema, B as isJsonSchemaArray, C as JsonSchemaString, D as functionParametersFromJsonSchema, E as extendSchema, F as isFileField, G as isJsonSchemaInteger, H as isJsonSchemaChoices, I as isFileSchema, J as isJsonSchemaPlatformObject, K as isJsonSchemaNumber, L as isFileType, M as humanizeSchemaType, N as isArrayWithFileItems, O as genericArrayItemSchema, P as isConvertedTypeSchema, Q as isJsonType, R as isFunctionSchema, S as JsonSchemaRef, T as JsonSchemaTypes, U as isJsonSchemaDate, V as isJsonSchemaBoolean, W as isJsonSchemaDateTime, X as isJsonSchemaSecret, Y as isJsonSchemaRef, Z as isJsonSchemaString, _ as JsonSchemaNull, a as JsonSchemaArray, b as JsonSchemaObjectKey, c as JsonSchemaBasicTypes, d as JsonSchemaCore, et as isOneOfSchema, f as JsonSchemaCustomTypes, g as JsonSchemaInteger, h as JsonSchemaFieldTypeRegistry, i as JsonSchemaAnyOf, j as getNonNullableType, k as getArrayItemType, l as JsonSchemaBoolean, m as JsonSchemaFieldType, n as JsonSchema, nt as isPrecedingSchema, o as JsonSchemaBase, p as JsonSchemaEmpty, q as isJsonSchemaObject, r as JsonSchemaAllTypes, rt as isSchemaTypeAllowed, s as JsonSchemaBasic, t as EMPTY_JSON_SCHEMA_OBJECT, tt as isOneOfStringSchema, u as JsonSchemaConst, v as JsonSchemaNumber, w as JsonSchemaStringifiableTypes, x as JsonSchemaObjectKeyRegistry, y as JsonSchemaObject, z as isGenericParameterSchema } from "../jsonSchema-CfGi1bzI.mjs";
1
+ import { $ as isNonPrimitiveSchema, A as getNonNullableRefSchema, B as isJsonSchemaArray, C as JsonSchemaString, D as functionParametersFromJsonSchema, E as extendSchema, F as isFileField, G as isJsonSchemaInteger, H as isJsonSchemaChoices, I as isFileSchema, J as isJsonSchemaPlatformObject, K as isJsonSchemaNumber, L as isFileType, M as humanizeSchemaType, N as isArrayWithFileItems, O as genericArrayItemSchema, P as isConvertedTypeSchema, Q as isJsonType, R as isFunctionSchema, S as JsonSchemaRef, T as JsonSchemaTypes, U as isJsonSchemaDate, V as isJsonSchemaBoolean, W as isJsonSchemaDateTime, X as isJsonSchemaSecret, Y as isJsonSchemaRef, Z as isJsonSchemaString, _ as JsonSchemaNull, a as JsonSchemaArray, b as JsonSchemaObjectKey, c as JsonSchemaBasicTypes, d as JsonSchemaCore, et as isOneOfSchema, f as JsonSchemaCustomTypes, g as JsonSchemaInteger, h as JsonSchemaFieldTypeRegistry, i as JsonSchemaAnyOf, j as getNonNullableType, k as getArrayItemType, l as JsonSchemaBoolean, m as JsonSchemaFieldType, n as JsonSchema, nt as isPrecedingSchema, o as JsonSchemaBase, p as JsonSchemaEmpty, q as isJsonSchemaObject, r as JsonSchemaAllTypes, rt as isSchemaTypeAllowed, s as JsonSchemaBasic, t as EMPTY_JSON_SCHEMA_OBJECT, tt as isOneOfStringSchema, u as JsonSchemaConst, v as JsonSchemaNumber, w as JsonSchemaStringifiableTypes, x as JsonSchemaObjectKeyRegistry, y as JsonSchemaObject, z as isGenericParameterSchema } from "../jsonSchema-Bl-qzgrr.mjs";
2
2
  export { EMPTY_JSON_SCHEMA_OBJECT, JsonSchema, JsonSchemaAllTypes, JsonSchemaAnyOf, JsonSchemaArray, JsonSchemaBase, JsonSchemaBasic, JsonSchemaBasicTypes, JsonSchemaBoolean, JsonSchemaConst, JsonSchemaCore, JsonSchemaCustomTypes, JsonSchemaEmpty, JsonSchemaFieldType, JsonSchemaFieldTypeRegistry, JsonSchemaInteger, JsonSchemaNull, JsonSchemaNumber, JsonSchemaObject, JsonSchemaObjectKey, JsonSchemaObjectKeyRegistry, JsonSchemaRef, JsonSchemaString, JsonSchemaStringifiableTypes, JsonSchemaTypes, extendSchema, functionParametersFromJsonSchema, genericArrayItemSchema, getArrayItemType, getNonNullableRefSchema, getNonNullableType, humanizeSchemaType, isArrayWithFileItems, isConvertedTypeSchema, isFileField, isFileSchema, isFileType, isFunctionSchema, isGenericParameterSchema, isJsonSchemaArray, isJsonSchemaBoolean, isJsonSchemaChoices, isJsonSchemaDate, isJsonSchemaDateTime, isJsonSchemaInteger, isJsonSchemaNumber, isJsonSchemaObject, isJsonSchemaPlatformObject, isJsonSchemaRef, isJsonSchemaSecret, isJsonSchemaString, isJsonType, isNonPrimitiveSchema, isOneOfSchema, isOneOfStringSchema, isPrecedingSchema, isSchemaTypeAllowed };
@@ -1,4 +1,4 @@
1
- import { T as JsonSchemaTypes, f as JsonSchemaCustomTypes, n as JsonSchema } from "../jsonSchema-CfGi1bzI.mjs";
1
+ import { T as JsonSchemaTypes, f as JsonSchemaCustomTypes, n as JsonSchema } from "../jsonSchema-Bl-qzgrr.mjs";
2
2
 
3
3
  //#region lib/jsonSchemaType.d.ts
4
4
  declare const getJsonSchemaType: (schema: JsonSchema | null) => JsonSchemaTypes | JsonSchemaCustomTypes;
@@ -1,2 +1,2 @@
1
- import { t as MessageType } from "../message-CblP0EjG.mjs";
1
+ import { t as MessageType } from "../message-w_1-kTDE.mjs";
2
2
  export { MessageType };
@@ -1,3 +1,3 @@
1
- import { C as tryParseMethodChain, S as removeFunctionNode, _ as methodChainToString, a as getFunctionParams, b as pathContainsFunctionNode, c as isCustomFunctionNode, d as isIdentifierNode, f as isStringNode, g as methodChainRootName, h as methodChainNodeToJsonSchema, i as containsFunctionNode, l as isEmpty, m as methodChainCache, n as MethodChainNodeTypes, o as getSyntaxError, p as isValid, r as appendedMethodChain, s as isArrayNode, t as EMPTY_METHOD_CHAIN, u as isFunctionNode, v as parseMethodChain, x as pathIsNormative, y as parseWithPartialOption } from "../methodChain-Pk1C3i_E.mjs";
2
- import { a as FunctionParamType, c as NumberNode, i as FunctionNode, l as StringNode, n as Chain, o as IdentifierNode, r as CustomFunctionNode, s as MethodChainNode, t as ArrayNode } from "../methodChainTypes-CqWzfx0M.mjs";
1
+ import { C as tryParseMethodChain, S as removeFunctionNode, _ as methodChainToString, a as getFunctionParams, b as pathContainsFunctionNode, c as isCustomFunctionNode, d as isIdentifierNode, f as isStringNode, g as methodChainRootName, h as methodChainNodeToJsonSchema, i as containsFunctionNode, l as isEmpty, m as methodChainCache, n as MethodChainNodeTypes, o as getSyntaxError, p as isValid, r as appendedMethodChain, s as isArrayNode, t as EMPTY_METHOD_CHAIN, u as isFunctionNode, v as parseMethodChain, x as pathIsNormative, y as parseWithPartialOption } from "../methodChain-B5vZEOff.mjs";
2
+ import { a as FunctionParamType, c as NumberNode, i as FunctionNode, l as StringNode, n as Chain, o as IdentifierNode, r as CustomFunctionNode, s as MethodChainNode, t as ArrayNode } from "../methodChainTypes-BVkTI8MX.mjs";
3
3
  export { ArrayNode, Chain, CustomFunctionNode, EMPTY_METHOD_CHAIN, FunctionNode, FunctionParamType, IdentifierNode, MethodChainNode, MethodChainNodeTypes, NumberNode, StringNode, appendedMethodChain, containsFunctionNode, getFunctionParams, getSyntaxError, isArrayNode, isCustomFunctionNode, isEmpty, isFunctionNode, isIdentifierNode, isStringNode, isValid, methodChainCache, methodChainNodeToJsonSchema, methodChainRootName, methodChainToString, parseMethodChain, parseWithPartialOption, pathContainsFunctionNode, pathIsNormative, removeFunctionNode, tryParseMethodChain };
@@ -1,3 +1,2 @@
1
- import "./jsonSchema.mjs";
2
- import { C as tryParseMethodChain, S as removeFunctionNode, _ as methodChainToString, a as getFunctionParams, b as pathContainsFunctionNode, c as isCustomFunctionNode, d as isIdentifierNode, f as isStringNode, g as methodChainRootName, h as methodChainNodeToJsonSchema, i as containsFunctionNode, l as isEmpty, m as methodChainCache, n as MethodChainNodeTypes, o as getSyntaxError, p as isValid, r as appendedMethodChain, s as isArrayNode, t as EMPTY_METHOD_CHAIN, u as isFunctionNode, v as parseMethodChain, x as pathIsNormative, y as parseWithPartialOption } from "../methodChain-DAQxLgxt.mjs";
1
+ import { C as tryParseMethodChain, S as removeFunctionNode, _ as methodChainToString, a as getFunctionParams, b as pathContainsFunctionNode, c as isCustomFunctionNode, d as isIdentifierNode, f as isStringNode, g as methodChainRootName, h as methodChainNodeToJsonSchema, i as containsFunctionNode, l as isEmpty, m as methodChainCache, n as MethodChainNodeTypes, o as getSyntaxError, p as isValid, r as appendedMethodChain, s as isArrayNode, t as EMPTY_METHOD_CHAIN, u as isFunctionNode, v as parseMethodChain, x as pathIsNormative, y as parseWithPartialOption } from "../methodChain-L_h8Z8Bx.mjs";
3
2
  export { EMPTY_METHOD_CHAIN, MethodChainNodeTypes, appendedMethodChain, containsFunctionNode, getFunctionParams, getSyntaxError, isArrayNode, isCustomFunctionNode, isEmpty, isFunctionNode, isIdentifierNode, isStringNode, isValid, methodChainCache, methodChainNodeToJsonSchema, methodChainRootName, methodChainToString, parseMethodChain, parseWithPartialOption, pathContainsFunctionNode, pathIsNormative, removeFunctionNode, tryParseMethodChain };
@@ -1,5 +1,5 @@
1
- import { d as ASTNumberNode, m as ASTStringNode, n as ASTChain, t as ASTArrayNode } from "../types-BGMmkUpy.mjs";
2
- import { a as FunctionParamType, c as NumberNode, l as StringNode, n as Chain } from "../methodChainTypes-CqWzfx0M.mjs";
1
+ import { d as ASTNumberNode, m as ASTStringNode, n as ASTChain, t as ASTArrayNode } from "../types-M-rsm1Km.mjs";
2
+ import { a as FunctionParamType, c as NumberNode, l as StringNode, n as Chain } from "../methodChainTypes-BVkTI8MX.mjs";
3
3
 
4
4
  //#region lib/methodChainNormalize.d.ts
5
5
  declare function normalizeArrayItem(item: ASTStringNode | ASTNumberNode): StringNode | NumberNode;
@@ -1,2 +1,2 @@
1
- import { a as FunctionParamType, c as NumberNode, i as FunctionNode, l as StringNode, n as Chain, o as IdentifierNode, r as CustomFunctionNode, s as MethodChainNode, t as ArrayNode } from "../methodChainTypes-CqWzfx0M.mjs";
1
+ import { a as FunctionParamType, c as NumberNode, i as FunctionNode, l as StringNode, n as Chain, o as IdentifierNode, r as CustomFunctionNode, s as MethodChainNode, t as ArrayNode } from "../methodChainTypes-BVkTI8MX.mjs";
2
2
  export { ArrayNode, Chain, CustomFunctionNode, FunctionNode, FunctionParamType, IdentifierNode, MethodChainNode, NumberNode, StringNode };
@@ -1,2 +1,2 @@
1
- import { at as FunctionConvertedTypeSchema, ct as FunctionParameterJsonSchema, dt as ObjectSchemaMap, it as CollectionMetaJsonSchema, lt as FunctionReturnTypeJsonSchema, ot as FunctionGenericParameterSchema, st as FunctionJsonSchema, ut as GenericType } from "../jsonSchema-CfGi1bzI.mjs";
1
+ import { at as FunctionConvertedTypeSchema, ct as FunctionParameterJsonSchema, dt as ObjectSchemaMap, it as CollectionMetaJsonSchema, lt as FunctionReturnTypeJsonSchema, ot as FunctionGenericParameterSchema, st as FunctionJsonSchema, ut as GenericType } from "../jsonSchema-Bl-qzgrr.mjs";
2
2
  export { CollectionMetaJsonSchema, FunctionConvertedTypeSchema, FunctionGenericParameterSchema, FunctionJsonSchema, FunctionParameterJsonSchema, FunctionReturnTypeJsonSchema, GenericType, ObjectSchemaMap };
@@ -1,4 +1,4 @@
1
- import { S as JsonSchemaRef, b as JsonSchemaObjectKey, d as JsonSchemaCore, dt as ObjectSchemaMap, n as JsonSchema, u as JsonSchemaConst, y as JsonSchemaObject } from "../jsonSchema-CfGi1bzI.mjs";
1
+ import { S as JsonSchemaRef, b as JsonSchemaObjectKey, d as JsonSchemaCore, dt as ObjectSchemaMap, n as JsonSchema, u as JsonSchemaConst, y as JsonSchemaObject } from "../jsonSchema-Bl-qzgrr.mjs";
2
2
 
3
3
  //#region lib/platformObject.d.ts
4
4
  interface PlatformObjectJsonSchema extends JsonSchemaObject {
@@ -1,4 +1,4 @@
1
- import { t as PseudoClassProps } from "../PseudoClassProps-BHs8TX_3.mjs";
1
+ import { t as PseudoClassProps } from "../PseudoClassProps-BOVN6Etr.mjs";
2
2
 
3
3
  //#region lib/pseudoClass.d.ts
4
4
  declare const isDisabled: ({
@@ -1,4 +1,4 @@
1
- import { n as RouterAdapter } from "../../../types-CkpixGWr.mjs";
1
+ import { n as RouterAdapter } from "../../../types-D1DijcJv.mjs";
2
2
  import { FC, PropsWithChildren } from "react";
3
3
 
4
4
  //#region lib/router/adapters/reactRouter.d.ts
@@ -1,4 +1,4 @@
1
- import { n as RouterAdapter } from "../../../types-CkpixGWr.mjs";
1
+ import { n as RouterAdapter } from "../../../types-D1DijcJv.mjs";
2
2
  import { FC, PropsWithChildren } from "react";
3
3
 
4
4
  //#region lib/router/adapters/tanstack.d.ts
@@ -1,6 +1,6 @@
1
- import { i as To, n as RouterAdapter, r as RouterLinkComponentProps, t as NavigateOptions } from "../../types-CkpixGWr.mjs";
2
- import { n as RouterProvider, r as useRouter, t as RouterContext } from "../../RouterContext-B3IU1jb0.mjs";
3
- import { t as createPath } from "../../createPath-OeTC9kvS.mjs";
4
- import { t as RouterLink } from "../../RouterLink-CwAqTLC2.mjs";
5
- import { t as usePathname } from "../../useLocationPathname-DH5Tdq5X.mjs";
1
+ import { i as To, n as RouterAdapter, r as RouterLinkComponentProps, t as NavigateOptions } from "../../types-D1DijcJv.mjs";
2
+ import { n as RouterProvider, r as useRouter, t as RouterContext } from "../../RouterContext-BLrzYlJ_.mjs";
3
+ import { t as createPath } from "../../createPath-Bq7wYGt_.mjs";
4
+ import { t as RouterLink } from "../../RouterLink-BHXjhqps.mjs";
5
+ import { t as usePathname } from "../../useLocationPathname-pLyLOrAi.mjs";
6
6
  export { NavigateOptions, RouterAdapter, RouterContext, RouterLink, RouterLinkComponentProps, RouterProvider, To, createPath, usePathname, useRouter };
@@ -1,173 +1,2 @@
1
- import { T as JsonSchemaTypes, b as JsonSchemaObjectKey, c as JsonSchemaBasicTypes, dt as ObjectSchemaMap, f as JsonSchemaCustomTypes, n as JsonSchema, st as FunctionJsonSchema, y as JsonSchemaObject } from "../jsonSchema-CfGi1bzI.mjs";
2
- import { n as Chain, s as MethodChainNode } from "../methodChainTypes-CqWzfx0M.mjs";
3
-
4
- //#region lib/schemaOptions.d.ts
5
- type VariableSchemaObject = {
6
- value: string;
7
- schema?: JsonSchema | null;
8
- isVariable?: boolean;
9
- };
10
- type Option = {
11
- label: string;
12
- value: string;
13
- property: string;
14
- schema: JsonSchema | FunctionJsonSchema;
15
- methodChain: Chain | null;
16
- utility?: boolean;
17
- workflowObjectKey?: string;
18
- isVariable?: boolean;
19
- };
20
- /**
21
- * Extracts the top-level platform-object key from a schema's `$ref`/`$id`/
22
- * `objectKey`/`objectType.const` markers. Collapses subtypes to their root
23
- * (`/schema/verification/document/merged` -> `verification`) because callers
24
- * compare against top-level `ApiModel` values.
25
- */
26
- declare const extractPlatformObjectKey: (schema: JsonSchema | null | undefined, platformObjectJsonSchema?: ObjectSchemaMap) => string | null;
27
- type PossibleType = JsonSchemaTypes | JsonSchemaCustomTypes | JsonSchemaObjectKey;
28
- type PossibleArrayType = JsonSchemaBasicTypes | JsonSchemaTypes.Object | JsonSchemaObjectKey;
29
- declare const isValidOption: (schema: JsonSchema, allowedFieldPaths: string[], disallowedFieldPaths: string[], allowedTypes: PossibleType[], allowedArrayTypes: PossibleArrayType[], path: string[] | undefined, platformObjectJsonSchema: ObjectSchemaMap) => boolean;
30
- declare const getSchemaOptions: ({
31
- option,
32
- optionFilters,
33
- platformObjectJsonSchema,
34
- primitiveUtilities,
35
- digPrimitives
36
- }: {
37
- option: Pick<Option, "schema" | "methodChain">;
38
- optionFilters?: OptionFilters;
39
- platformObjectJsonSchema: ObjectSchemaMap;
40
- primitiveUtilities: ObjectSchemaMap;
41
- digPrimitives?: boolean;
42
- }) => Option[];
43
- declare const formatDisplayValue: (value: any) => string;
44
- /**
45
- * Resolves the schema at a dotted path (e.g. "account.birthDate").
46
- * Tries direct key lookup first, then traverses into nested object .properties by path part.
47
- * Normalizes kebab/snake at each level for key lookup.
48
- */
49
- declare function getSchemaByPath(properties: Record<string, JsonSchema> | null | undefined, path: string): JsonSchema | undefined;
50
- declare const getSchemaForFieldPath: ({
51
- path,
52
- initialSchema,
53
- platformObjectJsonSchema,
54
- primitiveUtilities
55
- }: {
56
- path: string;
57
- initialSchema: JsonSchema;
58
- platformObjectJsonSchema?: ObjectSchemaMap;
59
- primitiveUtilities?: ObjectSchemaMap;
60
- }) => {
61
- schema: JsonSchema | null;
62
- propertyName: string | null;
63
- };
64
- /**
65
- * Get the schema for a variable path from usableObjects.
66
- */
67
- declare const getSchemaForVariablePath: ({
68
- path,
69
- usableObjects
70
- }: {
71
- path: string;
72
- usableObjects: VariableSchemaObject[];
73
- }) => {
74
- schema: JsonSchema | null;
75
- propertyName: string | null;
76
- };
77
- declare const nextLinkSchema: ({
78
- currentSchema,
79
- nextLink,
80
- platformObjectJsonSchema,
81
- primitiveUtilities
82
- }: {
83
- currentSchema: JsonSchema | null;
84
- nextLink: MethodChainNode;
85
- platformObjectJsonSchema: ObjectSchemaMap;
86
- primitiveUtilities: ObjectSchemaMap;
87
- }) => JsonSchema | null;
88
- /**
89
- * Returns the FunctionJsonSchema for `functionName` within `parentSchema`, checking both
90
- * primitive utilities (e.g. array/string methods) and direct object properties.
91
- * Returns null if not found or not a function schema.
92
- */
93
- declare const getFunctionSchemaForNode: ({
94
- parentSchema,
95
- functionName,
96
- isCustomFunction,
97
- platformObjectJsonSchema,
98
- primitiveUtilities
99
- }: {
100
- parentSchema: JsonSchema;
101
- functionName: string;
102
- isCustomFunction: boolean;
103
- platformObjectJsonSchema: ObjectSchemaMap;
104
- primitiveUtilities: ObjectSchemaMap;
105
- }) => FunctionJsonSchema | null;
106
- declare const isTypeMatch: ({
107
- fieldJsonSchema,
108
- types,
109
- platformObjectJsonSchema,
110
- arrayTypes,
111
- traversedSchemaIds
112
- }: {
113
- fieldJsonSchema: JsonSchema;
114
- types: PossibleType[];
115
- platformObjectJsonSchema: ObjectSchemaMap;
116
- arrayTypes?: PossibleArrayType[];
117
- traversedSchemaIds?: Set<string>;
118
- }) => boolean;
119
- interface OptionFilters {
120
- allowedArrayTypes?: PossibleArrayType[];
121
- allowedFieldPaths?: string[];
122
- allowedTypes?: PossibleType[];
123
- disallowedFieldPaths?: string[];
124
- fieldPathsAreStrictMatch?: boolean;
125
- requiredPropertyShape?: string[];
126
- }
127
- declare const hasRequiredPropertyShape: (schema: JsonSchema, requiredPropertyShape: string[], platformObjectJsonSchema?: ObjectSchemaMap, checkRecursively?: boolean) => boolean;
128
- declare const getOptionForValue: ({
129
- value,
130
- jsonSchema,
131
- schemaForFieldPath
132
- }: {
133
- value: string;
134
- jsonSchema: JsonSchema;
135
- schemaForFieldPath: (path: string, initialSchema: JsonSchema) => {
136
- schema: JsonSchema | null;
137
- propertyName: string | null;
138
- };
139
- }) => Option | null;
140
- declare const validatePath: ({
141
- path,
142
- jsonSchema,
143
- platformObjectJsonSchema,
144
- primitiveUtilities,
145
- optionFilters
146
- }: {
147
- path: string;
148
- jsonSchema: JsonSchema;
149
- platformObjectJsonSchema: ObjectSchemaMap;
150
- primitiveUtilities: ObjectSchemaMap;
151
- optionFilters?: OptionFilters;
152
- }) => {
153
- valid: boolean;
154
- schemaOptions: Option[];
155
- partial: string;
156
- };
157
- /**
158
- * Given a method chain that corresponds to the passed schema, find the right-most indentifier that
159
- * is a platform object and split the method chain on that identifier, with the platform object on
160
- * the left side.
161
- *
162
- * This function is used to optimize a method chain into two parts, left side for server resolution
163
- * and right side for client resolution.
164
- *
165
- * For example:
166
- * current_case.fields.field_a -> ['current_case', 'fields.field_a']
167
- * current_case.inquiries.first.id -> ['current_case.inquiries.first', 'id']
168
- * current_case.account.fields.field_b -> ['current_case.account', 'fields.field_b']
169
- */
170
- declare const splitAtNearestParentObject: (chain: Chain, currentSchema: JsonSchemaObject, platformSchemaMap: ObjectSchemaMap, primitiveUtilities: ObjectSchemaMap) => [leftChain: Chain, rightChain: Chain];
171
- //#endregion
172
- export { Option, OptionFilters, extractPlatformObjectKey, formatDisplayValue, getFunctionSchemaForNode, getOptionForValue, getSchemaByPath, getSchemaForFieldPath, getSchemaForVariablePath, getSchemaOptions, hasRequiredPropertyShape, isTypeMatch, isValidOption, nextLinkSchema, splitAtNearestParentObject, validatePath };
173
- //# sourceMappingURL=schemaOptions.d.mts.map
1
+ import { a as getFunctionSchemaForNode, c as getSchemaForFieldPath, d as hasRequiredPropertyShape, f as isTypeMatch, g as validatePath, h as splitAtNearestParentObject, i as formatDisplayValue, l as getSchemaForVariablePath, m as nextLinkSchema, n as OptionFilters, o as getOptionForValue, p as isValidOption, r as extractPlatformObjectKey, s as getSchemaByPath, t as Option, u as getSchemaOptions } from "../schemaOptions-DGca6x7E.mjs";
2
+ export { Option, OptionFilters, extractPlatformObjectKey, formatDisplayValue, getFunctionSchemaForNode, getOptionForValue, getSchemaByPath, getSchemaForFieldPath, getSchemaForVariablePath, getSchemaOptions, hasRequiredPropertyShape, isTypeMatch, isValidOption, nextLinkSchema, splitAtNearestParentObject, validatePath };
@@ -1,6 +1,6 @@
1
1
  import { EMPTY_JSON_SCHEMA_OBJECT, JsonSchemaAllTypes, JsonSchemaStringifiableTypes, genericArrayItemSchema, getNonNullableRefSchema, getNonNullableType, isConvertedTypeSchema, isFileType, isFunctionSchema, isGenericParameterSchema, isJsonSchemaArray, isJsonSchemaDate, isJsonSchemaDateTime, isJsonSchemaObject, isJsonSchemaRef, isJsonSchemaString, isJsonType, isPrecedingSchema } from "./jsonSchema.mjs";
2
2
  import { getJsonSchemaType } from "./jsonSchemaType.mjs";
3
- import { _ as methodChainToString, d as isIdentifierNode, f as isStringNode, n as MethodChainNodeTypes, p as isValid, r as appendedMethodChain, t as EMPTY_METHOD_CHAIN, u as isFunctionNode, v as parseMethodChain, w as assertNever, y as parseWithPartialOption } from "../methodChain-DAQxLgxt.mjs";
3
+ import { _ as methodChainToString, d as isIdentifierNode, f as isStringNode, n as MethodChainNodeTypes, p as isValid, r as appendedMethodChain, t as EMPTY_METHOD_CHAIN, u as isFunctionNode, v as parseMethodChain, w as assertNever, y as parseWithPartialOption } from "../methodChain-L_h8Z8Bx.mjs";
4
4
  import { MERGED_SCHEMA_ID, getPlatformObjectTypeFromJsonSchema, getSchemaId, resolveJssRef } from "./platformObject.mjs";
5
5
  import { compact, flatten, last, sortBy, trim } from "lodash-es";
6
6
  //#region lib/schemaOptions.ts
@@ -1,2 +1,2 @@
1
- import { a as semanticTokens, i as semanticOnly, n as SemanticFallback, r as semanticColor, t as MaybeSemanticTheme } from "../semanticColor-DuJCmDrH.mjs";
1
+ import { a as semanticTokens, i as semanticOnly, n as SemanticFallback, r as semanticColor, t as MaybeSemanticTheme } from "../semanticColor-Bg0H3RUL.mjs";
2
2
  export { MaybeSemanticTheme, SemanticFallback, semanticColor, semanticOnly, semanticTokens };
@@ -0,0 +1,2 @@
1
+ import { n as useChain, r as useChainSchema, t as chainRootsFromSchemaProperties } from "../useChain-CEsXE2Bx.mjs";
2
+ export { chainRootsFromSchemaProperties, useChain as default, useChainSchema };
@@ -0,0 +1,2 @@
1
+ import { n as useChain, r as useChainSchema, t as chainRootsFromSchemaProperties } from "../useChain-CKqYGdx4.mjs";
2
+ export { chainRootsFromSchemaProperties, useChain as default, useChainSchema };
@@ -0,0 +1,38 @@
1
+ import { n as PossibleChainSchema } from "./chainTypes-D8SGRGba.mjs";
2
+ import { a as Mode, u as ValueType } from "./types-Cs6CdZCO.mjs";
3
+
4
+ //#region components/SmartTextInput/listbox-options.d.ts
5
+ type MethodChainOption = {
6
+ id: string;
7
+ type: 'method-chain-option';
8
+ ariaLabel: string;
9
+ label: string;
10
+ returnType: string | undefined;
11
+ description: string | undefined;
12
+ interactive: boolean;
13
+ disabled: boolean;
14
+ };
15
+ type ContextMenuOption = {
16
+ id: string;
17
+ type: 'context-menu-option';
18
+ ariaLabel: string;
19
+ label: string;
20
+ returnType: string;
21
+ description: string | undefined;
22
+ interactive: boolean;
23
+ disabled: boolean;
24
+ };
25
+ type SmartTextInputOption = ContextMenuOption | MethodChainOption;
26
+ declare const EXIT_METHOD_CHAIN_VALUE_TYPE_OPTION: MethodChainOption;
27
+ declare const isContextMenuOption: (item: SmartTextInputOption) => item is ContextMenuOption;
28
+ declare const isMethodChainOption: (item: SmartTextInputOption) => item is MethodChainOption;
29
+ type ContextMenuExamples = {
30
+ code?: string;
31
+ handlebars?: string;
32
+ methodChain?: string;
33
+ };
34
+ declare const getContextMenuOptions: (valueIsEmpty: boolean, allowedValueType: ValueType | undefined, allowedInterpolationModes: (Mode.MethodChain | Mode.Code)[] | undefined, examples?: ContextMenuExamples) => ContextMenuOption[];
35
+ declare const getMethodChainOptions: (options: PossibleChainSchema[]) => MethodChainOption[];
36
+ //#endregion
37
+ export { SmartTextInputOption as a, isContextMenuOption as c, MethodChainOption as i, isMethodChainOption as l, ContextMenuOption as n, getContextMenuOptions as o, EXIT_METHOD_CHAIN_VALUE_TYPE_OPTION as r, getMethodChainOptions as s, ContextMenuExamples as t };
38
+ //# sourceMappingURL=listbox-options-BjOkovND.d.mts.map
@@ -0,0 +1,2 @@
1
+ import { a as SmartTextInputOption, c as isContextMenuOption, i as MethodChainOption, l as isMethodChainOption, n as ContextMenuOption, o as getContextMenuOptions, r as EXIT_METHOD_CHAIN_VALUE_TYPE_OPTION, s as getMethodChainOptions, t as ContextMenuExamples } from "./listbox-options-BjOkovND.mjs";
2
+ export { ContextMenuExamples, ContextMenuOption, EXIT_METHOD_CHAIN_VALUE_TYPE_OPTION, MethodChainOption, SmartTextInputOption, getContextMenuOptions, getMethodChainOptions, isContextMenuOption, isMethodChainOption };
@@ -6,4 +6,4 @@ declare enum MessageType {
6
6
  }
7
7
  //#endregion
8
8
  export { MessageType as t };
9
- //# sourceMappingURL=message-CblP0EjG.d.mts.map
9
+ //# sourceMappingURL=message-w_1-kTDE.d.mts.map
@@ -1,6 +1,6 @@
1
- import { u as ASTNodeType } from "./types-BGMmkUpy.mjs";
2
- import { n as JsonSchema } from "./jsonSchema-CfGi1bzI.mjs";
3
- import { a as FunctionParamType, c as NumberNode, i as FunctionNode, l as StringNode, n as Chain, o as IdentifierNode, r as CustomFunctionNode, s as MethodChainNode, t as ArrayNode } from "./methodChainTypes-CqWzfx0M.mjs";
1
+ import { u as ASTNodeType } from "./types-M-rsm1Km.mjs";
2
+ import { n as JsonSchema } from "./jsonSchema-Bl-qzgrr.mjs";
3
+ import { a as FunctionParamType, c as NumberNode, i as FunctionNode, l as StringNode, n as Chain, o as IdentifierNode, r as CustomFunctionNode, s as MethodChainNode, t as ArrayNode } from "./methodChainTypes-BVkTI8MX.mjs";
4
4
 
5
5
  //#region components/SmartTextInput/parser/method-chain/parser.d.ts
6
6
  declare class SyntaxError extends Error {
@@ -63,4 +63,4 @@ declare const getSyntaxError: () => typeof SyntaxError;
63
63
  declare const methodChainNodeToJsonSchema: (node: StringNode | NumberNode | ArrayNode) => JsonSchema | null;
64
64
  //#endregion
65
65
  export { tryParseMethodChain as C, removeFunctionNode as S, methodChainToString as _, getFunctionParams as a, pathContainsFunctionNode as b, isCustomFunctionNode as c, isIdentifierNode as d, isStringNode as f, methodChainRootName as g, methodChainNodeToJsonSchema as h, containsFunctionNode as i, isEmpty as l, methodChainCache as m, MethodChainNodeTypes as n, getSyntaxError as o, isValid as p, appendedMethodChain as r, isArrayNode as s, EMPTY_METHOD_CHAIN as t, isFunctionNode as u, parseMethodChain as v, pathIsNormative as x, parseWithPartialOption as y };
66
- //# sourceMappingURL=methodChain-Pk1C3i_E.d.mts.map
66
+ //# sourceMappingURL=methodChain-B5vZEOff.d.mts.map
@@ -1,4 +1,4 @@
1
- import { i as peg$parse, n as peg$SyntaxError } from "./parser-Kxos6siN.mjs";
1
+ import { i as peg$parse, n as peg$SyntaxError } from "./parser-BeTiVjRs.mjs";
2
2
  import "./lib/jsonSchema.mjs";
3
3
  import { reportError } from "./lib/errorReporter.mjs";
4
4
  import "./components/SmartTextInput/parser/method-chain/types.mjs";
@@ -238,4 +238,4 @@ const methodChainNodeToJsonSchema = (node) => {
238
238
  //#endregion
239
239
  export { tryParseMethodChain as C, removeFunctionNode as S, methodChainToString as _, getFunctionParams as a, pathContainsFunctionNode as b, isCustomFunctionNode as c, isIdentifierNode as d, isStringNode as f, methodChainRootName as g, methodChainNodeToJsonSchema as h, containsFunctionNode as i, isEmpty$1 as l, methodChainCache as m, MethodChainNodeTypes as n, getSyntaxError as o, isValid as p, appendedMethodChain as r, isArrayNode as s, EMPTY_METHOD_CHAIN as t, isFunctionNode as u, parseMethodChain as v, assertNever as w, pathIsNormative as x, parseWithPartialOption as y };
240
240
 
241
- //# sourceMappingURL=methodChain-DAQxLgxt.mjs.map
241
+ //# sourceMappingURL=methodChain-L_h8Z8Bx.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"methodChain-DAQxLgxt.mjs","names":["isEmpty","updatedParse","UpdatedSyntaxError"],"sources":["../lib/assertNever.ts","../lib/methodChain.ts"],"sourcesContent":["import { reportError } from './errorReporter';\n\n// @ts-expect-error Returns never so the compiler checks exhaustiveness, but doesn't throw so a malformed\n// value degrades instead of breaking render.\nexport function assertNever(value: never): never {\n const dump = typeof value === 'object' ? JSON.stringify(value) : value;\n reportError(new TypeError(`assertNever non-exhaustive match: ${dump}`));\n}\n","import { last } from 'lodash-es';\n\nimport {\n parse as updatedParse,\n SyntaxError as UpdatedSyntaxError,\n} from '@persona/design-system/components/SmartTextInput/parser/method-chain/parser';\nimport { ASTNodeType } from '@persona/design-system/components/SmartTextInput/parser/method-chain/types';\n\nimport { assertNever } from './assertNever';\nimport { type JsonSchema, JsonSchemaTypes } from './jsonSchema';\nimport { normalizeChain } from './methodChainNormalize';\nimport type {\n Chain,\n FunctionNode,\n CustomFunctionNode,\n IdentifierNode,\n StringNode,\n NumberNode,\n ArrayNode,\n FunctionParamType,\n MethodChainNode,\n} from './methodChainTypes';\n\n// Re-export types for backward compatibility\nexport {\n Chain,\n FunctionNode,\n CustomFunctionNode,\n IdentifierNode,\n StringNode,\n NumberNode,\n ArrayNode,\n FunctionParamType,\n MethodChainNode,\n};\n\nexport const methodChainCache: { [key: string]: Chain } = {};\n\nexport const MethodChainNodeTypes = {\n Chain: ASTNodeType.Chain,\n String: ASTNodeType.String,\n Number: ASTNodeType.Number,\n Identifier: ASTNodeType.Identifier,\n Function: ASTNodeType.Function,\n CustomFunction: ASTNodeType.CustomFunction,\n Array: ASTNodeType.Array,\n} as const;\n\nexport const EMPTY_METHOD_CHAIN: Chain = {\n type: MethodChainNodeTypes.Chain,\n links: [],\n};\n\ntype MethodChainLiteral = string | number | (string | number)[];\n\nexport const isFunctionNode = (node: MethodChainNode): node is FunctionNode =>\n node.type === MethodChainNodeTypes.Function;\n\nexport const isCustomFunctionNode = (node: MethodChainNode): node is CustomFunctionNode =>\n node.type === MethodChainNodeTypes.CustomFunction;\n\nexport const isIdentifierNode = (node: MethodChainNode): node is IdentifierNode =>\n node.type === MethodChainNodeTypes.Identifier;\n\nexport const isStringNode = (node: FunctionParamType): node is StringNode =>\n node.type === MethodChainNodeTypes.String;\n\nexport const isArrayNode = (node: FunctionParamType): node is ArrayNode =>\n node.type === MethodChainNodeTypes.Array;\n\nexport const containsFunctionNode = (methodChain: Chain, ...functionNames: string[]): boolean =>\n methodChain.links.some((link) => isFunctionNode(link) && functionNames.includes(link.name));\n\n/**\n * Returns true if the string contains any function node (e.g. `.at(...)`) when parsed\n * as a method chain. Use this to detect whether a field path must be treated as an\n * opaque key rather than split on `.` for Lodash set/get operations.\n */\nexport const pathContainsFunctionNode = (path: string): boolean => {\n try {\n const chain = parseMethodChain(path);\n return chain.links.some(\n (link) =>\n link.type === MethodChainNodeTypes.Function ||\n link.type === MethodChainNodeTypes.CustomFunction,\n );\n } catch {\n return false;\n }\n};\n\nexport const isEmpty = (methodChain: Chain): boolean => methodChain.links.length === 0;\n\nexport const getFunctionParams = (\n methodChain: Chain,\n ...functionNames: string[]\n): Record<string, MethodChainLiteral[]> => {\n return Object.fromEntries(\n methodChain.links\n .filter((link) => isFunctionNode(link))\n .filter((link) => functionNames.includes(link.name))\n .map((link) => [link.name, flattenParamsToString(link.params)]),\n );\n};\n\nexport const removeFunctionNode = (methodChain: Chain, functionName: string): Chain => {\n return {\n type: MethodChainNodeTypes.Chain,\n links: methodChain.links.filter(\n (link) => link.type !== MethodChainNodeTypes.Function || link.name !== functionName,\n ),\n };\n};\n\nconst flattenParamsToString = (params: FunctionParamType[]): MethodChainLiteral[] => {\n const result: MethodChainLiteral[] = [];\n\n for (const param of params) {\n switch (param.type) {\n case MethodChainNodeTypes.Chain:\n result.push(...flattenChainToString(param));\n break;\n case MethodChainNodeTypes.String:\n case MethodChainNodeTypes.Number:\n result.push(param.value);\n break;\n case MethodChainNodeTypes.Array:\n result.push(param.items.map((item) => item.value));\n break;\n }\n }\n\n return result;\n};\n\nconst flattenChainToString = (methodChain: Chain): MethodChainLiteral[] =>\n methodChain.links\n .map((link) => {\n switch (link.type) {\n case MethodChainNodeTypes.Function:\n case MethodChainNodeTypes.CustomFunction:\n return flattenParamsToString(link.params);\n case MethodChainNodeTypes.Identifier:\n return link.name;\n }\n })\n .flat();\n\nexport const isValid = (methodChain: string): boolean => {\n try {\n parseMethodChain(methodChain);\n return true;\n } catch {\n return false;\n }\n};\n\n/**\n * The parsed chain, or undefined when it will not parse. Callers that read a chain while it is being\n * authored hold half-typed input, where a throw is noise rather than an error.\n */\nexport const tryParseMethodChain = (methodChain: string): Chain | undefined => {\n try {\n return parseMethodChain(methodChain);\n } catch {\n return undefined;\n }\n};\n\n/** The object a chain is rooted at: `current_case.inquiries` -> `current_case`. */\nexport const methodChainRootName = (methodChain: string): string | undefined => {\n const [root] = tryParseMethodChain(methodChain)?.links ?? [];\n return root && isIdentifierNode(root) ? root.name : undefined;\n};\n\nexport const parseMethodChain = (methodChain: string): Chain => {\n if (!methodChain || methodChain === '') {\n return EMPTY_METHOD_CHAIN;\n }\n\n if (!methodChainCache[methodChain]) {\n methodChainCache[methodChain] = normalizeChain(updatedParse(methodChain, { strict: true }));\n }\n return methodChainCache[methodChain];\n};\n\nconst memberToString = (value: string): string => {\n return `'${value.replace(/'/g, \"\\\\'\")}'`;\n};\n\n// Number#toString gives the shortest decimal string that round-trips back to the same\n// float64, but for magnitudes below 1e-6 (or above 1e21) it switches to exponential\n// notation (e.g. `0.0000001` -> \"1e-7\"), which the method chain grammar's plain-decimal\n// literal can't parse. Expand that exponential form back into plain decimal by shifting\n// its digits, rather than capping fraction digits (e.g. via toLocaleString), which silently\n// rounds magnitudes below the cap to \"0\" instead of reproducing them.\nconst expandExponentialNotation = (str: string): string => {\n const match = /^(-?)(\\d)(?:\\.(\\d+))?e([+-]\\d+)$/.exec(str);\n if (!match) {\n return str;\n }\n const [, sign, leadingDigit, fractionDigits = '', exponentStr] = match;\n const digits = leadingDigit + fractionDigits;\n const exponent = Number(exponentStr);\n\n if (exponent < 0) {\n return `${sign}0.${'0'.repeat(-exponent - 1)}${digits}`;\n }\n // Positive exponential notation only appears at exponent >= 21 (Number#toString's own\n // threshold), while a double's mantissa never carries more than 17 significant digits,\n // so the exponent always reaches past the end of `digits` — there's no case where the\n // decimal point lands inside them.\n return `${sign}${digits}${'0'.repeat(exponent - fractionDigits.length)}`;\n};\n\nconst numberLiteralToString = (value: number): string => {\n // The grammar has no literal for Infinity/NaN; render/label call sites have no way to\n // recover from a throw, so fall back to JS's own string form instead of crashing them.\n if (!Number.isFinite(value)) {\n return `${value}`;\n }\n\n const str = value.toString();\n return /e/i.test(str) ? expandExponentialNotation(str) : str;\n};\n\nexport const methodChainToString = (\n methodChain: Chain | StringNode | NumberNode | ArrayNode,\n): string => {\n switch (methodChain.type) {\n case MethodChainNodeTypes.String:\n return methodChain.value;\n case MethodChainNodeTypes.Number:\n return numberLiteralToString(methodChain.value);\n case MethodChainNodeTypes.Array:\n return `[${methodChain.items\n .map((item) =>\n item.type === MethodChainNodeTypes.String\n ? memberToString(item.value)\n : `#${numberLiteralToString(item.value)}`,\n )\n .join(', ')}]`;\n default: {\n const regex = new RegExp('^@?[a-zA-Z0-9_-]+$');\n return methodChain.links\n .map((link, index) => {\n switch (link.type) {\n case MethodChainNodeTypes.Identifier: {\n const fullName = `${link.prefix ?? ''}${link.name}`;\n return index === 0\n ? fullName\n : regex.test(fullName)\n ? `.${fullName}`\n : `['${fullName.replace(/'/g, \"\\\\'\")}']`;\n }\n case MethodChainNodeTypes.Function: {\n return `.${link.name}(${link.params\n .map((param) => {\n switch (param.type) {\n case MethodChainNodeTypes.String:\n return memberToString(param.value);\n case MethodChainNodeTypes.Number:\n return `#${numberLiteralToString(param.value)}`;\n case MethodChainNodeTypes.Chain:\n case MethodChainNodeTypes.Array:\n return methodChainToString(param);\n }\n })\n .join(', ')})`;\n }\n case MethodChainNodeTypes.CustomFunction: {\n const paramStr = link.params\n .map((param) => {\n switch (param.type) {\n case MethodChainNodeTypes.String:\n return memberToString(param.value);\n case MethodChainNodeTypes.Number:\n return `#${numberLiteralToString(param.value)}`;\n case MethodChainNodeTypes.Chain:\n case MethodChainNodeTypes.Array:\n return methodChainToString(param);\n }\n })\n .join(', ');\n return [\n index === 0 ? '' : '.',\n `@${link.name}`,\n link.params.length === 0 ? '' : `(${paramStr})`,\n ].join('');\n }\n default:\n assertNever(link);\n }\n })\n .join('');\n }\n }\n};\n\nexport const appendedMethodChain = (\n parentChain: Chain,\n appended: string | MethodChainNode,\n): Chain => {\n const buildNode = (name: string): MethodChainNode => {\n if (name.startsWith('@')) {\n return { type: MethodChainNodeTypes.CustomFunction, name: name.slice(1), params: [] };\n }\n return { type: MethodChainNodeTypes.Identifier, name };\n };\n\n return {\n type: MethodChainNodeTypes.Chain,\n links: [...parentChain.links, typeof appended === 'string' ? buildNode(appended) : appended],\n };\n};\n\nexport const parseWithPartialOption = (\n path: string,\n): { methodChain: Chain; partial: string; valid: boolean } => {\n if (isValid(path)) {\n const methodChain = parseMethodChain(path);\n\n return {\n methodChain: {\n type: MethodChainNodeTypes.Chain,\n links: methodChain.links.slice(0, methodChain.links.length - 1),\n },\n partial: last(methodChain.links)?.name || '',\n valid: true,\n };\n }\n\n const rawParse = (input: string): Chain => {\n return normalizeChain(updatedParse(input, { strict: true }));\n };\n\n try {\n if (path.endsWith('.')) {\n return {\n methodChain: rawParse(path.slice(0, -1)),\n partial: '',\n valid: true,\n };\n }\n\n if (path.lastIndexOf('[') > path.lastIndexOf(']')) {\n const partialString = path.slice(path.lastIndexOf('[') + 2);\n const partialValue = partialString.endsWith(\"'\") ? partialString.slice(0, -1) : partialString;\n return {\n methodChain: rawParse(path.slice(0, path.lastIndexOf('['))),\n partial: partialValue,\n valid: true,\n };\n }\n } catch {\n /* empty */\n }\n\n return {\n methodChain: EMPTY_METHOD_CHAIN,\n partial: path,\n valid: false,\n };\n};\n\n// Check if the path can be parsed as legacy method chain format.\n// Normative means all the name parts are\n// 1. delimited by only dots and\n// 2. only contain alphanumeric characters, underscores, and hyphens.\nexport const pathIsNormative = (path: string): boolean => {\n return path.split('.').every((part) => /^[a-zA-Z0-9_-]+$/.test(part));\n};\nexport const getSyntaxError = (): typeof UpdatedSyntaxError => UpdatedSyntaxError;\n\nexport const methodChainNodeToJsonSchema = (\n node: StringNode | NumberNode | ArrayNode,\n): JsonSchema | null => {\n if (node.type === MethodChainNodeTypes.String) {\n return {\n type: JsonSchemaTypes.String,\n };\n } else if (node.type === MethodChainNodeTypes.Number) {\n return {\n type: JsonSchemaTypes.Number,\n };\n } else if (node.type === MethodChainNodeTypes.Array) {\n // Determine the items schema based on the first item type\n // For simplicity, assume all items are the same type\n if (node.items.length > 0) {\n const firstItem = node.items[0];\n const itemSchema: JsonSchema =\n firstItem.type === MethodChainNodeTypes.String\n ? { type: JsonSchemaTypes.String }\n : { type: JsonSchemaTypes.Number };\n\n return {\n type: JsonSchemaTypes.Array,\n items: itemSchema,\n };\n } else {\n return {\n type: JsonSchemaTypes.Array,\n items: { type: JsonSchemaTypes.String },\n };\n }\n }\n\n return null;\n};\n"],"mappings":";;;;;;;AAIA,SAAgB,YAAY,OAAqB;CAC/C,MAAM,OAAO,OAAO,UAAU,WAAW,KAAK,UAAU,MAAM,GAAG;AACjE,6BAAY,IAAI,UAAU,qCAAqC,OAAO,CAAC;;;;AC8BzE,MAAa,mBAA6C,EAAE;AA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ACpB,QAAO;GACL,aAAa,SAAS,KAAK,MAAM,GAAG,GAAG,CAAC;GACxC,SAAS;GACT,OAAO;GACR;AAGH,MAAI,KAAK,YAAY,IAAI,GAAG,KAAK,YAAY,IAAI,EAAE;GACjD,MAAM,gBAAgB,KAAK,MAAM,KAAK,YAAY,IAAI,GAAG,EAAE;GAC3D,MAAM,eAAe,cAAc,SAAS,IAAI,GAAG,cAAc,MAAM,GAAG,GAAG,GAAG;AAChF,UAAO;IACL,aAAa,SAAS,KAAK,MAAM,GAAG,KAAK,YAAY,IAAI,CAAC,CAAC;IAC3D,SAAS;IACT,OAAO;IACR;;SAEG;AAIR,QAAO;EACL,aAAa;EACb,SAAS;EACT,OAAO;EACR;;AAOH,MAAa,mBAAmB,SAA0B;AACxD,QAAO,KAAK,MAAM,IAAI,CAAC,OAAO,SAAS,mBAAmB,KAAK,KAAK,CAAC;;AAEvE,MAAa,uBAAkDC;AAE/D,MAAa,+BACX,SACsB;AACtB,KAAI,KAAK,SAAS,qBAAqB,OACrC,QAAO,EACL,MAAA,UACD;UACQ,KAAK,SAAS,qBAAqB,OAC5C,QAAO,EACL,MAAA,UACD;UACQ,KAAK,SAAS,qBAAqB,MAG5C,KAAI,KAAK,MAAM,SAAS,EAOtB,QAAO;EACL,MAAA;EACA,OARgB,KAAK,MAAM,GAEjB,SAAS,qBAAqB,SACpC,EAAE,MAAA,UAA8B,GAChC,EAAE,MAAA,UAA8B;EAKrC;KAED,QAAO;EACL,MAAA;EACA,OAAO,EAAE,MAAA,UAA8B;EACxC;AAIL,QAAO"}
1
+ {"version":3,"file":"methodChain-L_h8Z8Bx.mjs","names":["isEmpty","updatedParse","UpdatedSyntaxError"],"sources":["../lib/assertNever.ts","../lib/methodChain.ts"],"sourcesContent":["import { reportError } from './errorReporter';\n\n// @ts-expect-error Returns never so the compiler checks exhaustiveness, but doesn't throw so a malformed\n// value degrades instead of breaking render.\nexport function assertNever(value: never): never {\n const dump = typeof value === 'object' ? JSON.stringify(value) : value;\n reportError(new TypeError(`assertNever non-exhaustive match: ${dump}`));\n}\n","import { last } from 'lodash-es';\n\nimport {\n parse as updatedParse,\n SyntaxError as UpdatedSyntaxError,\n} from '@persona/design-system/components/SmartTextInput/parser/method-chain/parser';\nimport { ASTNodeType } from '@persona/design-system/components/SmartTextInput/parser/method-chain/types';\n\nimport { assertNever } from './assertNever';\nimport { type JsonSchema, JsonSchemaTypes } from './jsonSchema';\nimport { normalizeChain } from './methodChainNormalize';\nimport type {\n Chain,\n FunctionNode,\n CustomFunctionNode,\n IdentifierNode,\n StringNode,\n NumberNode,\n ArrayNode,\n FunctionParamType,\n MethodChainNode,\n} from './methodChainTypes';\n\n// Re-export types for backward compatibility\nexport {\n Chain,\n FunctionNode,\n CustomFunctionNode,\n IdentifierNode,\n StringNode,\n NumberNode,\n ArrayNode,\n FunctionParamType,\n MethodChainNode,\n};\n\nexport const methodChainCache: { [key: string]: Chain } = {};\n\nexport const MethodChainNodeTypes = {\n Chain: ASTNodeType.Chain,\n String: ASTNodeType.String,\n Number: ASTNodeType.Number,\n Identifier: ASTNodeType.Identifier,\n Function: ASTNodeType.Function,\n CustomFunction: ASTNodeType.CustomFunction,\n Array: ASTNodeType.Array,\n} as const;\n\nexport const EMPTY_METHOD_CHAIN: Chain = {\n type: MethodChainNodeTypes.Chain,\n links: [],\n};\n\ntype MethodChainLiteral = string | number | (string | number)[];\n\nexport const isFunctionNode = (node: MethodChainNode): node is FunctionNode =>\n node.type === MethodChainNodeTypes.Function;\n\nexport const isCustomFunctionNode = (node: MethodChainNode): node is CustomFunctionNode =>\n node.type === MethodChainNodeTypes.CustomFunction;\n\nexport const isIdentifierNode = (node: MethodChainNode): node is IdentifierNode =>\n node.type === MethodChainNodeTypes.Identifier;\n\nexport const isStringNode = (node: FunctionParamType): node is StringNode =>\n node.type === MethodChainNodeTypes.String;\n\nexport const isArrayNode = (node: FunctionParamType): node is ArrayNode =>\n node.type === MethodChainNodeTypes.Array;\n\nexport const containsFunctionNode = (methodChain: Chain, ...functionNames: string[]): boolean =>\n methodChain.links.some((link) => isFunctionNode(link) && functionNames.includes(link.name));\n\n/**\n * Returns true if the string contains any function node (e.g. `.at(...)`) when parsed\n * as a method chain. Use this to detect whether a field path must be treated as an\n * opaque key rather than split on `.` for Lodash set/get operations.\n */\nexport const pathContainsFunctionNode = (path: string): boolean => {\n try {\n const chain = parseMethodChain(path);\n return chain.links.some(\n (link) =>\n link.type === MethodChainNodeTypes.Function ||\n link.type === MethodChainNodeTypes.CustomFunction,\n );\n } catch {\n return false;\n }\n};\n\nexport const isEmpty = (methodChain: Chain): boolean => methodChain.links.length === 0;\n\nexport const getFunctionParams = (\n methodChain: Chain,\n ...functionNames: string[]\n): Record<string, MethodChainLiteral[]> => {\n return Object.fromEntries(\n methodChain.links\n .filter((link) => isFunctionNode(link))\n .filter((link) => functionNames.includes(link.name))\n .map((link) => [link.name, flattenParamsToString(link.params)]),\n );\n};\n\nexport const removeFunctionNode = (methodChain: Chain, functionName: string): Chain => {\n return {\n type: MethodChainNodeTypes.Chain,\n links: methodChain.links.filter(\n (link) => link.type !== MethodChainNodeTypes.Function || link.name !== functionName,\n ),\n };\n};\n\nconst flattenParamsToString = (params: FunctionParamType[]): MethodChainLiteral[] => {\n const result: MethodChainLiteral[] = [];\n\n for (const param of params) {\n switch (param.type) {\n case MethodChainNodeTypes.Chain:\n result.push(...flattenChainToString(param));\n break;\n case MethodChainNodeTypes.String:\n case MethodChainNodeTypes.Number:\n result.push(param.value);\n break;\n case MethodChainNodeTypes.Array:\n result.push(param.items.map((item) => item.value));\n break;\n }\n }\n\n return result;\n};\n\nconst flattenChainToString = (methodChain: Chain): MethodChainLiteral[] =>\n methodChain.links\n .map((link) => {\n switch (link.type) {\n case MethodChainNodeTypes.Function:\n case MethodChainNodeTypes.CustomFunction:\n return flattenParamsToString(link.params);\n case MethodChainNodeTypes.Identifier:\n return link.name;\n }\n })\n .flat();\n\nexport const isValid = (methodChain: string): boolean => {\n try {\n parseMethodChain(methodChain);\n return true;\n } catch {\n return false;\n }\n};\n\n/**\n * The parsed chain, or undefined when it will not parse. Callers that read a chain while it is being\n * authored hold half-typed input, where a throw is noise rather than an error.\n */\nexport const tryParseMethodChain = (methodChain: string): Chain | undefined => {\n try {\n return parseMethodChain(methodChain);\n } catch {\n return undefined;\n }\n};\n\n/** The object a chain is rooted at: `current_case.inquiries` -> `current_case`. */\nexport const methodChainRootName = (methodChain: string): string | undefined => {\n const [root] = tryParseMethodChain(methodChain)?.links ?? [];\n return root && isIdentifierNode(root) ? root.name : undefined;\n};\n\nexport const parseMethodChain = (methodChain: string): Chain => {\n if (!methodChain || methodChain === '') {\n return EMPTY_METHOD_CHAIN;\n }\n\n if (!methodChainCache[methodChain]) {\n methodChainCache[methodChain] = normalizeChain(updatedParse(methodChain, { strict: true }));\n }\n return methodChainCache[methodChain];\n};\n\nconst memberToString = (value: string): string => {\n return `'${value.replace(/'/g, \"\\\\'\")}'`;\n};\n\n// Number#toString gives the shortest decimal string that round-trips back to the same\n// float64, but for magnitudes below 1e-6 (or above 1e21) it switches to exponential\n// notation (e.g. `0.0000001` -> \"1e-7\"), which the method chain grammar's plain-decimal\n// literal can't parse. Expand that exponential form back into plain decimal by shifting\n// its digits, rather than capping fraction digits (e.g. via toLocaleString), which silently\n// rounds magnitudes below the cap to \"0\" instead of reproducing them.\nconst expandExponentialNotation = (str: string): string => {\n const match = /^(-?)(\\d)(?:\\.(\\d+))?e([+-]\\d+)$/.exec(str);\n if (!match) {\n return str;\n }\n const [, sign, leadingDigit, fractionDigits = '', exponentStr] = match;\n const digits = leadingDigit + fractionDigits;\n const exponent = Number(exponentStr);\n\n if (exponent < 0) {\n return `${sign}0.${'0'.repeat(-exponent - 1)}${digits}`;\n }\n // Positive exponential notation only appears at exponent >= 21 (Number#toString's own\n // threshold), while a double's mantissa never carries more than 17 significant digits,\n // so the exponent always reaches past the end of `digits` — there's no case where the\n // decimal point lands inside them.\n return `${sign}${digits}${'0'.repeat(exponent - fractionDigits.length)}`;\n};\n\nconst numberLiteralToString = (value: number): string => {\n // The grammar has no literal for Infinity/NaN; render/label call sites have no way to\n // recover from a throw, so fall back to JS's own string form instead of crashing them.\n if (!Number.isFinite(value)) {\n return `${value}`;\n }\n\n const str = value.toString();\n return /e/i.test(str) ? expandExponentialNotation(str) : str;\n};\n\nexport const methodChainToString = (\n methodChain: Chain | StringNode | NumberNode | ArrayNode,\n): string => {\n switch (methodChain.type) {\n case MethodChainNodeTypes.String:\n return methodChain.value;\n case MethodChainNodeTypes.Number:\n return numberLiteralToString(methodChain.value);\n case MethodChainNodeTypes.Array:\n return `[${methodChain.items\n .map((item) =>\n item.type === MethodChainNodeTypes.String\n ? memberToString(item.value)\n : `#${numberLiteralToString(item.value)}`,\n )\n .join(', ')}]`;\n default: {\n const regex = new RegExp('^@?[a-zA-Z0-9_-]+$');\n return methodChain.links\n .map((link, index) => {\n switch (link.type) {\n case MethodChainNodeTypes.Identifier: {\n const fullName = `${link.prefix ?? ''}${link.name}`;\n return index === 0\n ? fullName\n : regex.test(fullName)\n ? `.${fullName}`\n : `['${fullName.replace(/'/g, \"\\\\'\")}']`;\n }\n case MethodChainNodeTypes.Function: {\n return `.${link.name}(${link.params\n .map((param) => {\n switch (param.type) {\n case MethodChainNodeTypes.String:\n return memberToString(param.value);\n case MethodChainNodeTypes.Number:\n return `#${numberLiteralToString(param.value)}`;\n case MethodChainNodeTypes.Chain:\n case MethodChainNodeTypes.Array:\n return methodChainToString(param);\n }\n })\n .join(', ')})`;\n }\n case MethodChainNodeTypes.CustomFunction: {\n const paramStr = link.params\n .map((param) => {\n switch (param.type) {\n case MethodChainNodeTypes.String:\n return memberToString(param.value);\n case MethodChainNodeTypes.Number:\n return `#${numberLiteralToString(param.value)}`;\n case MethodChainNodeTypes.Chain:\n case MethodChainNodeTypes.Array:\n return methodChainToString(param);\n }\n })\n .join(', ');\n return [\n index === 0 ? '' : '.',\n `@${link.name}`,\n link.params.length === 0 ? '' : `(${paramStr})`,\n ].join('');\n }\n default:\n assertNever(link);\n }\n })\n .join('');\n }\n }\n};\n\nexport const appendedMethodChain = (\n parentChain: Chain,\n appended: string | MethodChainNode,\n): Chain => {\n const buildNode = (name: string): MethodChainNode => {\n if (name.startsWith('@')) {\n return { type: MethodChainNodeTypes.CustomFunction, name: name.slice(1), params: [] };\n }\n return { type: MethodChainNodeTypes.Identifier, name };\n };\n\n return {\n type: MethodChainNodeTypes.Chain,\n links: [...parentChain.links, typeof appended === 'string' ? buildNode(appended) : appended],\n };\n};\n\nexport const parseWithPartialOption = (\n path: string,\n): { methodChain: Chain; partial: string; valid: boolean } => {\n if (isValid(path)) {\n const methodChain = parseMethodChain(path);\n\n return {\n methodChain: {\n type: MethodChainNodeTypes.Chain,\n links: methodChain.links.slice(0, methodChain.links.length - 1),\n },\n partial: last(methodChain.links)?.name || '',\n valid: true,\n };\n }\n\n const rawParse = (input: string): Chain => {\n return normalizeChain(updatedParse(input, { strict: true }));\n };\n\n try {\n if (path.endsWith('.')) {\n return {\n methodChain: rawParse(path.slice(0, -1)),\n partial: '',\n valid: true,\n };\n }\n\n if (path.lastIndexOf('[') > path.lastIndexOf(']')) {\n const partialString = path.slice(path.lastIndexOf('[') + 2);\n const partialValue = partialString.endsWith(\"'\") ? partialString.slice(0, -1) : partialString;\n return {\n methodChain: rawParse(path.slice(0, path.lastIndexOf('['))),\n partial: partialValue,\n valid: true,\n };\n }\n } catch {\n /* empty */\n }\n\n return {\n methodChain: EMPTY_METHOD_CHAIN,\n partial: path,\n valid: false,\n };\n};\n\n// Check if the path can be parsed as legacy method chain format.\n// Normative means all the name parts are\n// 1. delimited by only dots and\n// 2. only contain alphanumeric characters, underscores, and hyphens.\nexport const pathIsNormative = (path: string): boolean => {\n return path.split('.').every((part) => /^[a-zA-Z0-9_-]+$/.test(part));\n};\nexport const getSyntaxError = (): typeof UpdatedSyntaxError => UpdatedSyntaxError;\n\nexport const methodChainNodeToJsonSchema = (\n node: StringNode | NumberNode | ArrayNode,\n): JsonSchema | null => {\n if (node.type === MethodChainNodeTypes.String) {\n return {\n type: JsonSchemaTypes.String,\n };\n } else if (node.type === MethodChainNodeTypes.Number) {\n return {\n type: JsonSchemaTypes.Number,\n };\n } else if (node.type === MethodChainNodeTypes.Array) {\n // Determine the items schema based on the first item type\n // For simplicity, assume all items are the same type\n if (node.items.length > 0) {\n const firstItem = node.items[0];\n const itemSchema: JsonSchema =\n firstItem.type === MethodChainNodeTypes.String\n ? { type: JsonSchemaTypes.String }\n : { type: JsonSchemaTypes.Number };\n\n return {\n type: JsonSchemaTypes.Array,\n items: itemSchema,\n };\n } else {\n return {\n type: JsonSchemaTypes.Array,\n items: { type: JsonSchemaTypes.String },\n };\n }\n }\n\n return null;\n};\n"],"mappings":";;;;;;;AAIA,SAAgB,YAAY,OAAqB;CAC/C,MAAM,OAAO,OAAO,UAAU,WAAW,KAAK,UAAU,MAAM,GAAG;AACjE,6BAAY,IAAI,UAAU,qCAAqC,OAAO,CAAC;;;;AC8BzE,MAAa,mBAA6C,EAAE;AAE5D,MAAa,uBAAuB;CAClC,OAAA;CACA,QAAA;CACA,QAAA;CACA,YAAA;CACA,UAAA;CACA,gBAAA;CACA,OAAA;CACD;AAED,MAAa,qBAA4B;CACvC,MAAM,qBAAqB;CAC3B,OAAO,EAAE;CACV;AAID,MAAa,kBAAkB,SAC7B,KAAK,SAAS,qBAAqB;AAErC,MAAa,wBAAwB,SACnC,KAAK,SAAS,qBAAqB;AAErC,MAAa,oBAAoB,SAC/B,KAAK,SAAS,qBAAqB;AAErC,MAAa,gBAAgB,SAC3B,KAAK,SAAS,qBAAqB;AAErC,MAAa,eAAe,SAC1B,KAAK,SAAS,qBAAqB;AAErC,MAAa,wBAAwB,aAAoB,GAAG,kBAC1D,YAAY,MAAM,MAAM,SAAS,eAAe,KAAK,IAAI,cAAc,SAAS,KAAK,KAAK,CAAC;;;;;;AAO7F,MAAa,4BAA4B,SAA0B;AACjE,KAAI;AAEF,SADc,iBAAiB,KACnB,CAAC,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B;AACtB,KAAI,KAAK,SAAS,qBAAqB,OACrC,QAAO,EACL,MAAA,UACD;UACQ,KAAK,SAAS,qBAAqB,OAC5C,QAAO,EACL,MAAA,UACD;UACQ,KAAK,SAAS,qBAAqB,MAG5C,KAAI,KAAK,MAAM,SAAS,EAOtB,QAAO;EACL,MAAA;EACA,OARgB,KAAK,MAAM,GAEjB,SAAS,qBAAqB,SACpC,EAAE,MAAA,UAA8B,GAChC,EAAE,MAAA,UAA8B;EAKrC;KAED,QAAO;EACL,MAAA;EACA,OAAO,EAAE,MAAA,UAA8B;EACxC;AAIL,QAAO"}
@@ -1,4 +1,4 @@
1
- import { c as ASTIdentifierNode, d as ASTNumberNode, m as ASTStringNode, n as ASTChain, o as ASTFunctionNode, r as ASTCustomFunctionNode, t as ASTArrayNode } from "./types-BGMmkUpy.mjs";
1
+ import { c as ASTIdentifierNode, d as ASTNumberNode, m as ASTStringNode, n as ASTChain, o as ASTFunctionNode, r as ASTCustomFunctionNode, t as ASTArrayNode } from "./types-M-rsm1Km.mjs";
2
2
 
3
3
  //#region lib/methodChainTypes.d.ts
4
4
  type MethodChainNode = IdentifierNode | FunctionNode | CustomFunctionNode;
@@ -20,4 +20,4 @@ type CustomFunctionNode = Omit<ASTCustomFunctionNode, 'children' | 'start' | 'en
20
20
  };
21
21
  //#endregion
22
22
  export { FunctionParamType as a, NumberNode as c, FunctionNode as i, StringNode as l, Chain as n, IdentifierNode as o, CustomFunctionNode as r, MethodChainNode as s, ArrayNode as t };
23
- //# sourceMappingURL=methodChainTypes-CqWzfx0M.d.mts.map
23
+ //# sourceMappingURL=methodChainTypes-BVkTI8MX.d.mts.map
@@ -1,4 +1,4 @@
1
- import { t as PseudoClassProps } from "../PseudoClassProps-BHs8TX_3.mjs";
1
+ import { t as PseudoClassProps } from "../PseudoClassProps-BOVN6Etr.mjs";
2
2
  import * as _$styled_components0 from "styled-components";
3
3
 
4
4
  //#region mixins/focus.d.ts