@persona/design-system 0.7.2 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/dist/Accordion.d.mts +1 -1
- package/dist/AccordionItem.d.mts +1 -1
- package/dist/{Action-Cyo6KCsS.d.mts → Action-B-AiHknZ.d.mts} +3 -3
- package/dist/Action.d.mts +1 -1
- package/dist/AdvancedFilterRuleRow.d.mts +2 -2
- package/dist/AdvancedFilterRulesPopover.d.mts +2 -2
- package/dist/ArrayValueControl.d.mts +1 -1
- package/dist/Attribute.d.mts +3 -3
- package/dist/{Badge-BD0Ut46g.mjs → Badge-COqUjFQu.mjs} +2 -2
- package/dist/{Badge-BD0Ut46g.mjs.map → Badge-COqUjFQu.mjs.map} +1 -1
- package/dist/BooleanValueControl.d.mts +1 -1
- package/dist/{Breadcrumb-CYXkrKXl.d.mts → Breadcrumb-DRFY46ZW.d.mts} +1 -1
- package/dist/Breadcrumb.d.mts +1 -1
- package/dist/{Breadcrumbs-CP7eUYUy.d.mts → Breadcrumbs-DUSbT1I7.d.mts} +2 -2
- package/dist/{Breadcrumbs-CrXfUK1V.mjs → Breadcrumbs-DXS7rU7_.mjs} +5 -5
- package/dist/{Breadcrumbs-CrXfUK1V.mjs.map → Breadcrumbs-DXS7rU7_.mjs.map} +1 -1
- package/dist/Breadcrumbs.d.mts +1 -1
- package/dist/{Button-Dhiund3f.d.mts → Button-xZ6DC5XC.d.mts} +4 -4
- package/dist/Button.d.mts +1 -1
- package/dist/{Calendar-CMeIZ0BO.d.mts → Calendar-dPmo2dkj.d.mts} +1 -1
- package/dist/Calendar.d.mts +1 -1
- package/dist/CalendarBase.d.mts +1 -1
- package/dist/{Card-DCYB_mtR.d.mts → Card-CUeM8Lh8.d.mts} +3 -3
- package/dist/Card.d.mts +1 -1
- package/dist/{CardV2-M3o4BELp.mjs → CardV2-D9p7D7jX.mjs} +9 -7
- package/dist/{CardV2-M3o4BELp.mjs.map → CardV2-D9p7D7jX.mjs.map} +1 -1
- package/dist/{Checkbox-AjL7ucoR.mjs → Checkbox-DQynkc_I.mjs} +3 -3
- package/dist/{Checkbox-AjL7ucoR.mjs.map → Checkbox-DQynkc_I.mjs.map} +1 -1
- package/dist/{Checkbox-fWj7GkBl.d.mts → Checkbox-DoJpxPEz.d.mts} +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/CheckboxGroupField.d.mts +1 -1
- package/dist/ChoicesValueControl.d.mts +1 -1
- package/dist/{Combobox-C2b9u955.mjs → Combobox-C_kCY3P3.mjs} +23 -10
- package/dist/Combobox-C_kCY3P3.mjs.map +1 -0
- package/dist/{Combobox-CC-Osr57.d.mts → Combobox-D7hyf-jA.d.mts} +3 -3
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-Evo0FRxP.d.mts → ComboboxBase-BMCY6O7Y.d.mts} +8 -5
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-CvAc0FT3.d.mts → ComboboxMultiSelect-L0KYMkmm.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-CBm7x0oh.d.mts → ComboboxSingleSelect-v5oNrJ7M.d.mts} +4 -4
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-D_2qMK4y.d.mts → CompactBar-DjFaUAsN.d.mts} +4 -4
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ConfigFormGroup-Cz7GeTYd.mjs → ConfigFormGroup-DLOZOuLf.mjs} +2 -2
- package/dist/{ConfigFormGroup-Cz7GeTYd.mjs.map → ConfigFormGroup-DLOZOuLf.mjs.map} +1 -1
- package/dist/{ControlBar-B7j9sOr9.d.mts → ControlBar-Cegjxa6-.d.mts} +7 -2
- package/dist/ControlBar.d.mts +1 -1
- package/dist/DataTable.d.mts +4 -3
- package/dist/{DateField-BamAk9_w.d.mts → DateField-Dk5ykLdr.d.mts} +2 -2
- package/dist/DateField.d.mts +1 -1
- package/dist/{DatePicker-IgiUI3Wj.mjs → DatePicker-C7z1yodK.mjs} +77 -42
- package/dist/DatePicker-C7z1yodK.mjs.map +1 -0
- package/dist/{DatePicker-C3xNSkPG.d.mts → DatePicker-Dtvv0V45.d.mts} +2 -2
- package/dist/DatePicker.d.mts +1 -1
- package/dist/{DateRangePicker-C4QKMo2a.d.mts → DateRangePicker-HPYsa4wC.d.mts} +3 -3
- package/dist/DateRangePicker.d.mts +1 -1
- package/dist/DateRangeValueControl.d.mts +5 -3
- package/dist/DateValueControl.d.mts +8 -5
- package/dist/{DropdownButton-BWiXLMfD.mjs → DropdownButton-CQrFHOIW.mjs} +3 -3
- package/dist/{DropdownButton-BWiXLMfD.mjs.map → DropdownButton-CQrFHOIW.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-DL5ye-0m.d.mts → DropdownMenu-D1qvgGTZ.d.mts} +2 -2
- package/dist/{DropdownMenu-CuKSNxc9.mjs → DropdownMenu-rm9Nnxn7.mjs} +7 -2
- package/dist/DropdownMenu-rm9Nnxn7.mjs.map +1 -0
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{ErrorProps-BA0-m_Wp.d.mts → ErrorProps-B8-Mqf1W.d.mts} +1 -1
- package/dist/ErrorProps.d.mts +1 -1
- package/dist/{FieldRegistry-bKxrF1gC.d.mts → FieldRegistry-0LmSQ-jc.d.mts} +2 -2
- package/dist/FieldRegistry.d.mts +1 -1
- package/dist/{FilterBar-DhlBLWxw.d.mts → FilterBar-BMM4Swbt.d.mts} +11 -4
- package/dist/FilterBar.d.mts +1 -1
- package/dist/FilterPickerMenu.d.mts +2 -2
- package/dist/FilterPill.d.mts +1 -1
- package/dist/FilterPopover.d.mts +1 -1
- package/dist/FloatValueControl.d.mts +1 -1
- package/dist/{FormControl-DnfZTli_.mjs → FormControl-DXrxoJLl.mjs} +3 -3
- package/dist/{FormControl-DnfZTli_.mjs.map → FormControl-DXrxoJLl.mjs.map} +1 -1
- package/dist/{FormControl-D5xyPkST.d.mts → FormControl-Dg8doZq2.d.mts} +2 -2
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControlLabel.d.mts +1 -1
- package/dist/{FormField-BJZUj6jg.d.mts → FormField-BeLigf9j.d.mts} +2 -2
- package/dist/{FormField-74TPV8-8.mjs → FormField-Crp3F-hv.mjs} +16 -16
- package/dist/{FormField-74TPV8-8.mjs.map → FormField-Crp3F-hv.mjs.map} +1 -1
- package/dist/FormField.d.mts +1 -1
- package/dist/{Grid-DOyYYsvk.mjs → Grid-eMLuyRzV.mjs} +1 -1
- package/dist/{Grid-DOyYYsvk.mjs.map → Grid-eMLuyRzV.mjs.map} +1 -1
- package/dist/{Header-BqEKkEp5.d.mts → Header-DxJ6TfPw.d.mts} +1 -1
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-mOVSuEB8.d.mts → HelperTooltip-DcyrpEZI.d.mts} +2 -2
- package/dist/HelperTooltip.d.mts +1 -1
- package/dist/{HoverCopyableField-CN3gl0ny.mjs → HoverCopyableField-12bBuG-d.mjs} +3 -3
- package/dist/{HoverCopyableField-CN3gl0ny.mjs.map → HoverCopyableField-12bBuG-d.mjs.map} +1 -1
- package/dist/{IconButton-CjPFhpVG.d.mts → IconButton-BUMMN-gH.d.mts} +2 -2
- package/dist/{IconButton-CqTPMhjV.mjs → IconButton-CCLMYWVN.mjs} +1 -1
- package/dist/{IconButton-CqTPMhjV.mjs.map → IconButton-CCLMYWVN.mjs.map} +1 -1
- package/dist/IconButton.d.mts +1 -1
- package/dist/ImageTile.d.mts +1 -1
- package/dist/InlineCombobox.d.mts +1 -1
- package/dist/InlineInput.d.mts +1 -1
- package/dist/{Input-CZ_6KWDN.d.mts → Input-2N2e5JCf.d.mts} +3 -3
- package/dist/{Input-C_3QwAAt.mjs → Input-Cl4o41k4.mjs} +7 -3
- package/dist/Input-Cl4o41k4.mjs.map +1 -0
- package/dist/Input.d.mts +1 -1
- package/dist/{InputProps-lag6BM5h.d.mts → InputProps-TWzig3QO.d.mts} +2 -2
- package/dist/InputProps.d.mts +1 -1
- package/dist/IntegerValueControl.d.mts +1 -1
- package/dist/Link-I9Bklen-.mjs +79 -0
- package/dist/Link-I9Bklen-.mjs.map +1 -0
- package/dist/Link.d.mts +1 -1
- package/dist/{ListBox-nYAdYVQx.d.mts → ListBox-BcoXOt73.d.mts} +3 -3
- package/dist/{ListBox-D4j4LCT3.mjs → ListBox-sqeLBiKS.mjs} +33 -16
- package/dist/ListBox-sqeLBiKS.mjs.map +1 -0
- package/dist/ListBox.d.mts +1 -1
- package/dist/ListBoxField.d.mts +2 -2
- package/dist/{LoadingShimmer-Dizk2sZu.mjs → LoadingShimmer-dRSkdlqD.mjs} +13 -8
- package/dist/LoadingShimmer-dRSkdlqD.mjs.map +1 -0
- package/dist/LoadingShimmer.d.mts +1 -1
- package/dist/{LogicRow-k4ZPtjN0.d.mts → LogicRow-DXywXdYt.d.mts} +3 -3
- package/dist/LogicRow.d.mts +1 -1
- package/dist/MaskedInput.d.mts +1 -1
- package/dist/{Menu-Bu7-KBhp.d.mts → Menu-BekLwm8w.d.mts} +3 -3
- package/dist/{Menu-Cd6oxjAe.mjs → Menu-CwlI7BMN.mjs} +1 -1
- package/dist/{Menu-Cd6oxjAe.mjs.map → Menu-CwlI7BMN.mjs.map} +1 -1
- package/dist/Menu.d.mts +1 -1
- package/dist/{Modal-BN0K8QXi.mjs → Modal-CMiFcXC9.mjs} +6 -4
- package/dist/Modal-CMiFcXC9.mjs.map +1 -0
- package/dist/{Modal-Dwq-QBw_.d.mts → Modal-ymxlGYKt.d.mts} +2 -2
- package/dist/Modal.d.mts +1 -1
- package/dist/{PageHeader-BTtm3hRQ.mjs → PageHeader-D_0p7UK_.mjs} +2 -2
- package/dist/{PageHeader-BTtm3hRQ.mjs.map → PageHeader-D_0p7UK_.mjs.map} +1 -1
- package/dist/PageHeader.d.mts +1 -1
- package/dist/{PageSelector-CeGC84N1.d.mts → PageSelector-Bxulu6vU.d.mts} +3 -3
- package/dist/PageSelector.d.mts +1 -1
- package/dist/{Pagination-CPd4mSnw.mjs → Pagination-Co9CfyFQ.mjs} +5 -5
- package/dist/{Pagination-CPd4mSnw.mjs.map → Pagination-Co9CfyFQ.mjs.map} +1 -1
- package/dist/{Pagination-H-CcXrCD.d.mts → Pagination-Dg-4O7F7.d.mts} +2 -2
- package/dist/Pagination.d.mts +1 -1
- package/dist/{Pii-Dz4woKd8.mjs → Pii-JGV9gP95.mjs} +2 -2
- package/dist/{Pii-Dz4woKd8.mjs.map → Pii-JGV9gP95.mjs.map} +1 -1
- package/dist/{PillShell-BQC-k7Rl.d.mts → PillShell-BA7KK1zS.d.mts} +2 -2
- package/dist/PillShell.d.mts +1 -1
- package/dist/{Popover-opVa9Xhc.mjs → Popover-ZAj03lws.mjs} +15 -2
- package/dist/Popover-ZAj03lws.mjs.map +1 -0
- package/dist/{ProgressIndicator-3A4Aqci6.mjs → ProgressIndicator-CQg08vuA.mjs} +3 -3
- package/dist/ProgressIndicator-CQg08vuA.mjs.map +1 -0
- package/dist/{ProgressIndicator-DbOLOaxJ.d.mts → ProgressIndicator-D85HQGSx.d.mts} +1 -1
- package/dist/ProgressIndicator.d.mts +1 -1
- package/dist/{PseudoClassProps-CHtBNv8B.d.mts → PseudoClassProps-BHs8TX_3.d.mts} +1 -1
- package/dist/PseudoClassProps.d.mts +1 -1
- package/dist/{Radio-Cxt89w8s.mjs → Radio-CYV290JI.mjs} +2 -2
- package/dist/{Radio-Cxt89w8s.mjs.map → Radio-CYV290JI.mjs.map} +1 -1
- package/dist/{RadioGroup-BjrfVPZQ.d.mts → RadioGroup-Cq3KV1TN.d.mts} +1 -1
- package/dist/{RadioGroup-B6Cg1kdm.mjs → RadioGroup-lWMMtu9V.mjs} +2 -2
- package/dist/{RadioGroup-B6Cg1kdm.mjs.map → RadioGroup-lWMMtu9V.mjs.map} +1 -1
- package/dist/RadioGroup.d.mts +1 -1
- package/dist/{RangeCalendar-CPnLaM-J.d.mts → RangeCalendar-Mh7h74Tp.d.mts} +2 -2
- package/dist/RangeCalendar.d.mts +1 -1
- package/dist/RangeCalendarPresets.d.mts +1 -1
- package/dist/{RouterContext-CbvHIl4K.d.mts → RouterContext-B3IU1jb0.d.mts} +2 -2
- package/dist/RouterContext.d.mts +1 -1
- package/dist/{RouterLink-v9AG9fYa.d.mts → RouterLink-CwAqTLC2.d.mts} +2 -2
- package/dist/RouterLink.d.mts +1 -1
- package/dist/RuleEditorFields.d.mts +2 -2
- package/dist/RulesPill.d.mts +1 -1
- package/dist/{SearchInput-CIjwmT8R.d.mts → SearchInput-BGyUUcoz.d.mts} +2 -2
- package/dist/SearchInput.d.mts +1 -1
- package/dist/SectionHeading.d.mts +1 -1
- package/dist/{SegmentedControl-BcwfLuHA.mjs → SegmentedControl-BEbIcV3g.mjs} +3 -3
- package/dist/SegmentedControl-BEbIcV3g.mjs.map +1 -0
- package/dist/{SegmentedControl-Crr_aHAs.d.mts → SegmentedControl-DgDabSgr.d.mts} +1 -1
- package/dist/SegmentedControl.d.mts +1 -1
- package/dist/{Select-CJQeuCiF.d.mts → Select-wqTtGyga.d.mts} +3 -3
- package/dist/{Select-BstCz8P1.mjs → Select-yC2t_gZb.mjs} +10 -8
- package/dist/Select-yC2t_gZb.mjs.map +1 -0
- package/dist/Select.d.mts +1 -1
- package/dist/{Spinner-DplDSBqf.mjs → Spinner-BlAg8_OX.mjs} +1 -1
- package/dist/{Spinner-DplDSBqf.mjs.map → Spinner-BlAg8_OX.mjs.map} +1 -1
- package/dist/{Stack-ChsImaEY.mjs → Stack-Bkn0TUDe.mjs} +1 -1
- package/dist/{Stack-ChsImaEY.mjs.map → Stack-Bkn0TUDe.mjs.map} +1 -1
- package/dist/{Stack-RVptVTVi.d.mts → Stack-CYqjBXe8.d.mts} +1 -1
- package/dist/Stack.d.mts +1 -1
- package/dist/StatusIndicator-DT2zNbkp.mjs +315 -0
- package/dist/StatusIndicator-DT2zNbkp.mjs.map +1 -0
- package/dist/{Sticker-C3Eb13OQ.mjs → Sticker-BLbgJxcH.mjs} +5 -8
- package/dist/Sticker-BLbgJxcH.mjs.map +1 -0
- package/dist/{Sticker-BVX38LKi.d.mts → Sticker-BmyKaxwx.d.mts} +4 -4
- package/dist/Sticker.d.mts +1 -1
- package/dist/StringValueControl.d.mts +1 -1
- package/dist/Tab.d.mts +1 -1
- package/dist/{TabBar-BepWbJHz.mjs → TabBar-Bj84q1Mr.mjs} +4 -7
- package/dist/{TabBar-BepWbJHz.mjs.map → TabBar-Bj84q1Mr.mjs.map} +1 -1
- package/dist/{Table-DFiSWroB.d.mts → Table-DhdHUQ8V.d.mts} +1 -1
- package/dist/{Table-B1gRr2XT.mjs → Table-WqNfjasd.mjs} +22 -3
- package/dist/Table-WqNfjasd.mjs.map +1 -0
- package/dist/Table.d.mts +1 -1
- package/dist/{TableBody-Di9JYHDN.d.mts → TableBody-qoSvQDds.d.mts} +1 -1
- package/dist/TableBody.d.mts +1 -1
- package/dist/{TableBox-DAQ3Plqx.mjs → TableBox-obl64W5Y.mjs} +22 -17
- package/dist/TableBox-obl64W5Y.mjs.map +1 -0
- package/dist/TableBox.d.mts +2 -2
- package/dist/{TableBoxCell-D6h1X5ph.d.mts → TableBoxCell-DzYMx4Ju.d.mts} +6 -6
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/TableBoxField.d.mts +3 -3
- package/dist/{TableBoxRow-C6l6J4mq.d.mts → TableBoxRow-B4rFCvWK.d.mts} +3 -3
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-CsLN1b1J.d.mts → TableBoxRowActions-qMKcVuTL.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/{TableCell-WSDXw79Q.d.mts → TableCell-CGPQRc5g.d.mts} +2 -2
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-BxuPCUQS.mjs → TableControls-RS_ozBsI.mjs} +207 -66
- package/dist/TableControls-RS_ozBsI.mjs.map +1 -0
- package/dist/{TableControls-cswMgBAr.d.mts → TableControls-WP78qtET.d.mts} +4 -3
- package/dist/TableControls.d.mts +1 -1
- package/dist/{TableControlsContext-Cbh8wear.d.mts → TableControlsContext-DZIZSyfX.d.mts} +2 -2
- package/dist/TableControlsContext.d.mts +1 -1
- package/dist/{TableHead-CkL1fEg2.d.mts → TableHead-36j-_oyn.d.mts} +1 -1
- package/dist/TableHead.d.mts +1 -1
- package/dist/{TableHeaderCell-K9Ry6YqO.d.mts → TableHeaderCell-C7gp9j1X.d.mts} +1 -1
- package/dist/TableHeaderCell.d.mts +1 -1
- package/dist/{TableLayout-CYRGIFEl.d.mts → TableLayout-CQqIV0vj.d.mts} +1 -1
- package/dist/TableLayout.d.mts +1 -1
- package/dist/{TableRow-DMHlo1eg.d.mts → TableRow-BJZM8I8i.d.mts} +2 -2
- package/dist/TableRow.d.mts +1 -1
- package/dist/TableTH.d.mts +1 -1
- package/dist/{TableViewConfigurationDropdown-BRbOcVNc.d.mts → TableViewConfigurationDropdown-Dwy_9FBz.d.mts} +2 -2
- package/dist/TableViewConfigurationDropdown.d.mts +1 -1
- package/dist/{TechnicalSticker-_LtE-PRY.mjs → TechnicalSticker-CL0zkOAj.mjs} +1 -1
- package/dist/{TechnicalSticker-_LtE-PRY.mjs.map → TechnicalSticker-CL0zkOAj.mjs.map} +1 -1
- package/dist/{Text-B69gp3X_.d.mts → Text-DbtTa83E.d.mts} +3 -3
- package/dist/Text.d.mts +1 -1
- package/dist/{TextArea-Cjsdl07-.d.mts → TextArea-CbxF6u7z.d.mts} +2 -2
- package/dist/{TextArea-CcxltuBh.mjs → TextArea-CfZr5Sk4.mjs} +2 -2
- package/dist/{TextArea-CcxltuBh.mjs.map → TextArea-CfZr5Sk4.mjs.map} +1 -1
- package/dist/TextArea.d.mts +1 -1
- package/dist/{TextUnderlineTooltip-DDzKLCeX.d.mts → TextUnderlineTooltip-BgLQuK38.d.mts} +2 -2
- package/dist/TextUnderlineTooltip.d.mts +1 -1
- package/dist/Tile.d.mts +1 -1
- package/dist/Toast.d.mts +1 -1
- package/dist/{Toggle-B5sSdb_q.d.mts → Toggle-BYMLrPXk.d.mts} +1 -1
- package/dist/{Toggle-DWbJOwf3.mjs → Toggle-D4ZaUcVt.mjs} +9 -4
- package/dist/Toggle-D4ZaUcVt.mjs.map +1 -0
- package/dist/Toggle.d.mts +1 -1
- package/dist/{Tooltip-x1pFf-Mj.d.mts → Tooltip-4pshzB_i.d.mts} +2 -2
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-BE8FuEQm.d.mts → TruncatedText-O7hE3w0O.d.mts} +1 -1
- package/dist/VersionHistory.d.mts +23 -0
- package/dist/VersionHistoryItem-CIcEgl0K.d.mts +54 -0
- package/dist/VersionHistoryItem.d.mts +2 -0
- package/dist/WizardModal.d.mts +2 -2
- package/dist/{accordionTitleTypography-BYhjSN9t.d.mts → accordionTitleTypography-CNB1w3kn.d.mts} +2 -2
- package/dist/accordionTitleTypography.d.mts +1 -1
- package/dist/assertNever.d.mts +5 -0
- package/dist/{codec-BcgsGCHE.d.mts → codec-BXVBsB8Y.d.mts} +2 -2
- package/dist/codec.d.mts +1 -1
- package/dist/{color-LH7zKfKo.d.mts → color-3UO63ocQ.d.mts} +9 -4
- package/dist/components/Accordion/index.d.mts +1 -1
- package/dist/components/Accordion/index.mjs +1 -1
- package/dist/components/Attribute/index.mjs +2 -2
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Banner/index.mjs +1 -1
- package/dist/components/BottomPanel/index.mjs +5 -3
- package/dist/components/BottomPanel/index.mjs.map +1 -1
- package/dist/components/Breadcrumbs/index.d.mts +1 -1
- package/dist/components/Breadcrumbs/index.mjs +1 -1
- package/dist/components/Button/index.d.mts +2 -2
- package/dist/components/Button/index.mjs +1 -1
- package/dist/components/ButtonGroup/index.mjs +2 -2
- package/dist/components/Card/index.d.mts +2 -2
- package/dist/components/CardV2/index.d.mts +1 -1
- package/dist/components/CardV2/index.mjs +1 -1
- package/dist/components/Checkbox/index.d.mts +1 -1
- package/dist/components/Checkbox/index.mjs +1 -1
- package/dist/components/CodeHighlight/index.mjs +3 -1
- package/dist/components/CodeHighlight/index.mjs.map +1 -1
- package/dist/components/Combobox/index.d.mts +2 -2
- package/dist/components/Combobox/index.mjs +1 -1
- package/dist/components/ConfigFormGroup/index.mjs +2 -2
- package/dist/components/DataTable/TableControls/index.d.mts +19 -19
- package/dist/components/DataTable/TableControls/index.mjs +1 -1
- package/dist/components/DataTable/index.mjs +27 -16
- package/dist/components/DataTable/index.mjs.map +1 -1
- package/dist/components/DataTable/types.d.mts +2 -2
- package/dist/components/DatePicker/index.d.mts +5 -5
- package/dist/components/DatePicker/index.mjs +1 -1
- package/dist/components/DropdownButton/index.mjs +1 -1
- package/dist/components/DropdownMenu/index.d.mts +1 -1
- package/dist/components/DropdownMenu/index.mjs +1 -1
- package/dist/components/FloatingPanel/index.mjs +10 -7
- package/dist/components/FloatingPanel/index.mjs.map +1 -1
- package/dist/components/FormControl/index.d.mts +2 -2
- package/dist/components/FormControl/index.mjs +2 -2
- package/dist/components/FormField/index.d.mts +1 -1
- package/dist/components/FormField/index.mjs +1 -1
- package/dist/components/Grid/index.mjs +1 -1
- package/dist/components/HoverCopyableField/index.mjs +1 -1
- package/dist/components/ImageTile/index.mjs +13 -9
- package/dist/components/ImageTile/index.mjs.map +1 -1
- package/dist/components/Input/index.d.mts +1 -1
- package/dist/components/Input/index.mjs +1 -1
- package/dist/components/Link/index.mjs +1 -78
- package/dist/components/ListBox/index.d.mts +3 -3
- package/dist/components/ListBox/index.mjs +1 -1
- package/dist/components/LoadingShimmer/index.mjs +1 -1
- package/dist/components/MaskedInput/index.mjs +1 -1
- package/dist/components/Menu/index.d.mts +1 -1
- package/dist/components/Menu/index.mjs +1 -1
- package/dist/components/Modal/index.d.mts +1 -1
- package/dist/components/Modal/index.mjs +1 -1
- package/dist/components/PageHeader/index.mjs +1 -1
- package/dist/components/Pagination/index.d.mts +3 -3
- package/dist/components/Pagination/index.mjs +1 -1
- package/dist/components/Pii/index.mjs +1 -1
- package/dist/components/Popover/index.mjs +1 -1
- package/dist/components/ProgressBar/index.mjs +1 -2
- package/dist/components/ProgressBar/index.mjs.map +1 -1
- package/dist/components/ProgressIndicator/index.d.mts +1 -1
- package/dist/components/ProgressIndicator/index.mjs +1 -1
- package/dist/components/Radio/index.mjs +1 -1
- package/dist/components/RadioGroup/index.d.mts +1 -1
- package/dist/components/RadioGroup/index.mjs +1 -1
- package/dist/components/RightPanel/index.mjs +10 -7
- package/dist/components/RightPanel/index.mjs.map +1 -1
- package/dist/components/SegmentedControl/index.d.mts +1 -1
- package/dist/components/SegmentedControl/index.mjs +1 -1
- package/dist/components/Select/index.d.mts +1 -1
- package/dist/components/Select/index.mjs +1 -1
- package/dist/components/Slider/index.mjs +1 -1
- package/dist/components/Slider/index.mjs.map +1 -1
- package/dist/components/SmartTextInput/parser/method-chain/types.d.mts +2 -105
- package/dist/components/SmartTextInput/parser/smart-text/types.d.mts +1 -1
- package/dist/components/Spinner/index.mjs +1 -1
- package/dist/components/Stack/index.d.mts +1 -1
- package/dist/components/Stack/index.mjs +1 -1
- package/dist/components/StatusIndicator/index.mjs +1 -314
- package/dist/components/Sticker/index.d.mts +1 -1
- package/dist/components/Sticker/index.mjs +1 -1
- package/dist/components/TabBar/index.mjs +1 -1
- package/dist/components/Table/index.d.mts +8 -8
- package/dist/components/Table/index.mjs +1 -1
- package/dist/components/TableBox/index.d.mts +2 -2
- package/dist/components/TableBox/index.mjs +1 -1
- package/dist/components/TechnicalSticker/index.mjs +1 -1
- package/dist/components/Text/index.d.mts +1 -1
- package/dist/components/TextArea/index.d.mts +1 -1
- package/dist/components/TextArea/index.mjs +1 -1
- package/dist/components/Tile/index.mjs +2 -2
- package/dist/components/Toast/index.mjs +2 -2
- package/dist/components/Toast/index.mjs.map +1 -1
- package/dist/components/Toggle/index.d.mts +1 -1
- package/dist/components/Toggle/index.mjs +1 -1
- package/dist/components/Tooltip/index.d.mts +3 -3
- package/dist/components/VersionHistory/index.d.mts +3 -0
- package/dist/components/VersionHistory/index.mjs +389 -0
- package/dist/components/VersionHistory/index.mjs.map +1 -0
- package/dist/components/WizardModal/index.mjs +4 -4
- package/dist/compound-expression.d.mts +1 -1
- package/dist/{constants-BpwnTzcv.d.mts → constants-BOxzLX-O.d.mts} +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/{createPath-Bst12Uxr.d.mts → createPath-OeTC9kvS.d.mts} +2 -2
- package/dist/createPath.d.mts +1 -1
- package/dist/{date-filter-CZeChs9T.mjs → date-filter-BnzR6NxT.mjs} +1 -1
- package/dist/{date-filter-CZeChs9T.mjs.map → date-filter-BnzR6NxT.mjs.map} +1 -1
- package/dist/{date-range-rule-value-C4ir2Y8W.d.mts → date-range-rule-value-BRp5Bi7R.d.mts} +2 -2
- package/dist/date-range-rule-value.d.mts +1 -1
- package/dist/{date-rule-intent-gKmuxMVA.d.mts → date-rule-intent-CDBtV0ET.d.mts} +3 -3
- package/dist/date-rule-intent.d.mts +1 -1
- package/dist/display.d.mts +2 -2
- package/dist/fieldPickerOptions.d.mts +2 -2
- package/dist/{filter-size-context-BOpH6pBm.d.mts → filter-size-context-CqvQ190x.d.mts} +2 -2
- package/dist/filter-size-context.d.mts +1 -1
- package/dist/format-date-value.d.mts +5 -0
- package/dist/helpers.d.mts +1 -1
- package/dist/{index-C2-PBfN3.d.mts → index-BXSe73Xn.d.mts} +2 -2
- package/dist/{index-c0aXmZV9.d.mts → index-CyAok7As.d.mts} +2 -2
- package/dist/{index-BXdrzR0c.d.mts → index-wKK9f9La.d.mts} +3 -3
- package/dist/index.d.mts +1 -1
- package/dist/index2.d.mts +1 -1
- package/dist/index3.d.mts +3 -3
- package/dist/index4.d.mts +1 -1
- package/dist/index5.d.mts +14 -14
- package/dist/{input-DVJhMlxU.d.mts → input-C6cyiqm2.d.mts} +3 -3
- package/dist/inputFields.d.mts +10 -10
- package/dist/{intersperse-Bxcrxj2Q.mjs → intersperse-Df9zw7Bk.mjs} +1 -1
- package/dist/{intersperse-Bxcrxj2Q.mjs.map → intersperse-Df9zw7Bk.mjs.map} +1 -1
- package/dist/{jsonSchema-DmdZYC4a.d.mts → jsonSchema-CfGi1bzI.d.mts} +34 -2
- package/dist/lib/PDSProvider.d.mts +2 -2
- package/dist/lib/TruncatedText.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
- package/dist/lib/chainTypes.d.mts +17 -0
- package/dist/lib/chainTypes.mjs +0 -0
- package/dist/lib/color.d.mts +2 -2
- package/dist/lib/color.mjs +18 -11
- package/dist/lib/color.mjs.map +1 -1
- package/dist/lib/customFunctionSchema.d.mts +49 -0
- package/dist/lib/customFunctionSchema.mjs +299 -0
- package/dist/lib/customFunctionSchema.mjs.map +1 -0
- package/dist/lib/date-filter/index.d.mts +2 -2
- package/dist/lib/date-filter/index.mjs +1 -1
- package/dist/lib/jsonSchema.d.mts +2 -2
- package/dist/lib/jsonSchema.mjs +26 -1
- package/dist/lib/jsonSchema.mjs.map +1 -1
- package/dist/lib/jsonSchemaType.d.mts +7 -0
- package/dist/lib/jsonSchemaType.mjs +31 -0
- package/dist/lib/jsonSchemaType.mjs.map +1 -0
- package/dist/lib/letPointerDownReachDocument.d.mts +22 -0
- package/dist/lib/letPointerDownReachDocument.mjs +25 -0
- package/dist/lib/letPointerDownReachDocument.mjs.map +1 -0
- package/dist/lib/message.d.mts +1 -1
- package/dist/lib/methodChain.d.mts +3 -66
- package/dist/lib/methodChain.mjs +1 -237
- package/dist/lib/methodChainNormalize.d.mts +2 -2
- package/dist/lib/methodChainTypes.d.mts +2 -23
- package/dist/lib/objectSchemaTypes.d.mts +1 -1
- package/dist/lib/platformObject.d.mts +38 -0
- package/dist/lib/platformObject.mjs +79 -0
- package/dist/lib/platformObject.mjs.map +1 -0
- package/dist/lib/pseudoClass.d.mts +1 -1
- package/dist/lib/router/adapters/reactRouter.d.mts +1 -1
- package/dist/lib/router/adapters/tanstack.d.mts +1 -1
- package/dist/lib/router/index.d.mts +5 -5
- package/dist/lib/schemaOptions.d.mts +173 -0
- package/dist/lib/schemaOptions.mjs +481 -0
- package/dist/lib/schemaOptions.mjs.map +1 -0
- package/dist/lib/semanticColor.d.mts +1 -1
- package/dist/lib/snakifyPath.d.mts +5 -0
- package/dist/lib/snakifyPath.mjs +11 -0
- package/dist/lib/snakifyPath.mjs.map +1 -0
- package/dist/{message-CKSLIKF0.d.mts → message-CblP0EjG.d.mts} +1 -1
- package/dist/methodChain-DAQxLgxt.mjs +241 -0
- package/dist/methodChain-DAQxLgxt.mjs.map +1 -0
- package/dist/methodChain-Pk1C3i_E.d.mts +66 -0
- package/dist/methodChainTypes-CqWzfx0M.d.mts +23 -0
- package/dist/mixins/focus.d.mts +1 -1
- package/dist/mixins/hoverable.d.mts +2 -2
- package/dist/mixins/input.d.mts +1 -1
- package/dist/mixins/input.mjs +6 -14
- package/dist/mixins/input.mjs.map +1 -1
- package/dist/mixins/menuItem.d.mts +2 -2
- package/dist/mixins/scrollbar.d.mts +10 -0
- package/dist/mixins/scrollbar.mjs +31 -0
- package/dist/mixins/scrollbar.mjs.map +1 -0
- package/dist/mixins/text.d.mts +1 -1
- package/dist/{operators-1_jTgYRX.d.mts → operators-CoXL5Hv6.d.mts} +2 -2
- package/dist/operators.d.mts +1 -1
- package/dist/{palette-CMOEyNPH.d.mts → palette-CxXUs1Fu.d.mts} +3 -3
- package/dist/palette.d.mts +1 -1
- package/dist/patterns/LayoutLoadingShimmer/index.mjs +5 -5
- package/dist/patterns/PageLayout/index.mjs +2 -2
- package/dist/reactRouterFallback.d.mts +1 -1
- package/dist/relative-date-label.d.mts +1 -1
- package/dist/{semantic-BXwNUd4a.d.mts → semantic-CFMBsuiJ.d.mts} +2 -2
- package/dist/{semanticColor-Cru2gSys.d.mts → semanticColor-DuJCmDrH.d.mts} +3 -3
- package/dist/{text-CxIup7HJ.d.mts → text-D8HPjiEX.d.mts} +1 -1
- package/dist/{theme-CW6qlONZ.d.mts → theme-BcaR-Au5.d.mts} +3 -3
- package/dist/theme.d.mts +1 -1
- package/dist/time-range.d.mts +7 -0
- package/dist/tone.d.mts +3 -3
- package/dist/{types-ChkiGhjQ.d.mts → types-BCiq4hGv.d.mts} +1 -1
- package/dist/types-BGMmkUpy.d.mts +105 -0
- package/dist/{types-BEjWTkZV.d.mts → types-C4WUSW3e.d.mts} +7 -2
- package/dist/{types-B-stjYNc.d.mts → types-CkpixGWr.d.mts} +1 -1
- package/dist/{types-YojUycQK.d.mts → types-Cl-w8tYc.d.mts} +1 -1
- package/dist/{types-3iEDsymE.d.mts → types-CoVZwrMW.d.mts} +2 -2
- package/dist/{types-g-aqbnek.d.mts → types-DgyGecdM.d.mts} +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types2.d.mts +1 -1
- package/dist/types3.d.mts +1 -1
- package/dist/types4.d.mts +1 -1
- package/dist/types5.d.mts +1 -1
- package/dist/types6.d.mts +1 -1
- package/dist/{url-state-CHK2N2fA.d.mts → url-state-8j_ef8Uf.d.mts} +2 -2
- package/dist/url-state.d.mts +1 -1
- package/dist/useComboboxFooterAction.d.mts +1 -1
- package/dist/{useFilterStateV2-B26e5iUx.d.mts → useFilterStateV2-CW6eght1.d.mts} +3 -3
- package/dist/useFilterStateV2.d.mts +1 -1
- package/dist/{useFormField-DPFClB5h.d.mts → useFormField-CLRZkUZt.d.mts} +2 -2
- package/dist/{useFormField-BzhMbl5P.mjs → useFormField-XezSxho_.mjs} +2 -2
- package/dist/{useFormField-BzhMbl5P.mjs.map → useFormField-XezSxho_.mjs.map} +1 -1
- package/dist/useFormField.d.mts +1 -1
- package/dist/{useFormGroup-CH3kiXoa.mjs → useFormGroup-C7Cax8zO.mjs} +1 -1
- package/dist/{useFormGroup-CH3kiXoa.mjs.map → useFormGroup-C7Cax8zO.mjs.map} +1 -1
- package/dist/{useLocationPathname-CnRd_Rzn.d.mts → useLocationPathname-DH5Tdq5X.d.mts} +1 -1
- package/dist/useLocationPathname.d.mts +1 -1
- package/dist/{useTableBoxDragAndDrop-DWlG5vhl.d.mts → useTableBoxDragAndDrop-Da4TiYBT.d.mts} +1 -1
- package/dist/useTableBoxDragAndDrop.d.mts +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/dist/{utilities-BcGuP8Fd.d.mts → utilities-DcsbI71T.d.mts} +1 -1
- package/dist/utilities.d.mts +1 -1
- package/dist/utils/storybook.mjs +1 -1
- package/dist/utils/testing.d.mts +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/{validation-B-Om4ANo.d.mts → validation-BgwNghi2.d.mts} +3 -3
- package/dist/validation.d.mts +1 -1
- package/dist/{value-control-resolver-BiyhB8zt.d.mts → value-control-resolver-B0HDRxRN.d.mts} +3 -2
- package/dist/value-control-resolver.d.mts +1 -1
- package/dist/variables/effect.d.mts +1 -1
- package/dist/variables/semantic.d.mts +1 -1
- package/dist/variables/semantic.mjs +15 -18
- package/dist/variables/semantic.mjs.map +1 -1
- package/package.json +23 -4
- package/skills/ui-authoring/COMPONENTS.md +1 -0
- package/dist/Combobox-C2b9u955.mjs.map +0 -1
- package/dist/DatePicker-IgiUI3Wj.mjs.map +0 -1
- package/dist/DropdownMenu-CuKSNxc9.mjs.map +0 -1
- package/dist/Input-C_3QwAAt.mjs.map +0 -1
- package/dist/ListBox-D4j4LCT3.mjs.map +0 -1
- package/dist/LoadingShimmer-Dizk2sZu.mjs.map +0 -1
- package/dist/Modal-BN0K8QXi.mjs.map +0 -1
- package/dist/Popover-opVa9Xhc.mjs.map +0 -1
- package/dist/ProgressIndicator-3A4Aqci6.mjs.map +0 -1
- package/dist/SegmentedControl-BcwfLuHA.mjs.map +0 -1
- package/dist/Select-BstCz8P1.mjs.map +0 -1
- package/dist/Sticker-C3Eb13OQ.mjs.map +0 -1
- package/dist/Table-B1gRr2XT.mjs.map +0 -1
- package/dist/TableBox-DAQ3Plqx.mjs.map +0 -1
- package/dist/TableControls-BxuPCUQS.mjs.map +0 -1
- package/dist/Toggle-DWbJOwf3.mjs.map +0 -1
- package/dist/components/Link/index.mjs.map +0 -1
- package/dist/components/StatusIndicator/index.mjs.map +0 -1
- package/dist/lib/methodChain.mjs.map +0 -1
- /package/dist/{index--p6oQT9I.d.mts → index-B24gUwOx.d.mts} +0 -0
- /package/dist/{index-BCh-G39Y2.d.mts → index-BFnNtGdX.d.mts} +0 -0
- /package/dist/{index-BMBcfD_R.d.mts → index-BNRXMhlr.d.mts} +0 -0
- /package/dist/{index-BO_854F2.d.mts → index-BPiqSRRl.d.mts} +0 -0
- /package/dist/{index-BOn0AAue.d.mts → index-BYd3Btr1.d.mts} +0 -0
- /package/dist/{index-BcsXXrHq.d.mts → index-B_BBnMou.d.mts} +0 -0
- /package/dist/{index-BwFl_eS0.d.mts → index-Bt4QNofW.d.mts} +0 -0
- /package/dist/{index-C-lwXyQ6.d.mts → index-C6HcjJiY.d.mts} +0 -0
- /package/dist/{index-C1o2TFfS.d.mts → index-CEqOS-7M.d.mts} +0 -0
- /package/dist/{index-C3kE54DD.d.mts → index-CIABef8t.d.mts} +0 -0
- /package/dist/{index-CREkvfw9.d.mts → index-CTHojwxd.d.mts} +0 -0
- /package/dist/{index-CRo77wc3.d.mts → index-CjDodOH2.d.mts} +0 -0
- /package/dist/{index-CfCYi7PF.d.mts → index-Cm-1i165.d.mts} +0 -0
- /package/dist/{index-CuYZJcK3.d.mts → index-DB7t8whN.d.mts} +0 -0
- /package/dist/{index-DCTy4zg0.d.mts → index-DBGd4WeR.d.mts} +0 -0
- /package/dist/{index-DWIh4oP5.d.mts → index-DGsJdI5l.d.mts} +0 -0
- /package/dist/{index-De7MV8-j.d.mts → index-DWfPppPU.d.mts} +0 -0
- /package/dist/{index-Dflz2i1X.d.mts → index-DeVKzGce.d.mts} +0 -0
- /package/dist/{index-DgJfEygr.d.mts → index-DedbSZMv.d.mts} +0 -0
- /package/dist/{index-DkrC-i1D.d.mts → index-Deol7ZWO.d.mts} +0 -0
- /package/dist/{index-DrK1_jKY.d.mts → index-Jh0C5PIG.d.mts} +0 -0
- /package/dist/{index-Es5nKSSL.d.mts → index-NKYLt_R9.d.mts} +0 -0
- /package/dist/{index-Wc1llEvP.d.mts → index-VWno75SQ.d.mts} +0 -0
- /package/dist/{index-bHnO4ZKt.d.mts → index-fxXoW-qc.d.mts} +0 -0
- /package/dist/{index-dhjtMp5F.d.mts → index-gVcIuWLd.d.mts} +0 -0
- /package/dist/{index-xmouCHX9.d.mts → index-zeAhjge4.d.mts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jsonSchemaType.mjs","names":[],"sources":["../../lib/jsonSchemaType.ts"],"sourcesContent":["import {\n getNonNullableType,\n isFileType,\n isJsonSchemaArray,\n isJsonSchemaString,\n type JsonSchema,\n type JsonSchemaTypes,\n JsonSchemaAllTypes,\n type JsonSchemaCustomTypes,\n} from './jsonSchema';\n\nexport const getJsonSchemaType = (\n schema: JsonSchema | null,\n): JsonSchemaTypes | JsonSchemaCustomTypes => {\n if (schema == null) {\n return JsonSchemaAllTypes.Unknown;\n }\n\n if ('enum' in schema) {\n return JsonSchemaAllTypes.Enum;\n }\n if ('anyOf' in schema && schema.anyOf.every((group: JsonSchema) => 'enum' in group)) {\n return JsonSchemaAllTypes.GroupedEnum;\n }\n if ('type' in schema) {\n // TODO(PLO-345): Union utilities across all non-`null` types in multi-non-null arrays\n // (e.g. `[\"string\", \"number\", \"null\"]`) once runtime coercion semantics are confirmed.\n if (Array.isArray(schema.type)) {\n const nonNullable = getNonNullableType(schema);\n if (!nonNullable) {\n return JsonSchemaAllTypes.Unknown;\n }\n return getJsonSchemaType({ ...schema, type: nonNullable } as JsonSchema);\n }\n if (schema.type === JsonSchemaAllTypes.String && schema.format === 'date') {\n return JsonSchemaAllTypes.Date;\n }\n if (schema.type === JsonSchemaAllTypes.String && schema.format === 'date-time') {\n return JsonSchemaAllTypes.Datetime;\n }\n if (schema.type === JsonSchemaAllTypes.String && schema.format === 'secret') {\n return JsonSchemaAllTypes.MaskedString;\n }\n if (schema.type === JsonSchemaAllTypes.Array && schema.uniqueItems && 'enum' in schema.items) {\n return JsonSchemaAllTypes.MultiEnum;\n }\n if (schema.type === JsonSchemaAllTypes.Object && isFileType(schema.fieldType)) {\n return JsonSchemaAllTypes.File;\n }\n if (\n schema.type === JsonSchemaAllTypes.Object &&\n typeof schema.fieldType === 'string' &&\n schema.fieldType.startsWith('Field::Relation')\n ) {\n return JsonSchemaAllTypes.Relation;\n }\n if (isJsonSchemaString(schema) && 'oneOf' in schema) {\n return JsonSchemaAllTypes.Enum;\n }\n if (isJsonSchemaArray(schema) && isJsonSchemaString(schema.items) && 'oneOf' in schema.items) {\n return JsonSchemaAllTypes.MultiEnum;\n }\n return schema.type;\n }\n return JsonSchemaAllTypes.Unknown;\n};\n"],"mappings":";;AAWA,MAAa,qBACX,WAC4C;AAC5C,KAAI,UAAU,KACZ,QAAO,mBAAmB;AAG5B,KAAI,UAAU,OACZ,QAAO,mBAAmB;AAE5B,KAAI,WAAW,UAAU,OAAO,MAAM,OAAO,UAAsB,UAAU,MAAM,CACjF,QAAO,mBAAmB;AAE5B,KAAI,UAAU,QAAQ;AAGpB,MAAI,MAAM,QAAQ,OAAO,KAAK,EAAE;GAC9B,MAAM,cAAc,mBAAmB,OAAO;AAC9C,OAAI,CAAC,YACH,QAAO,mBAAmB;AAE5B,UAAO,kBAAkB;IAAE,GAAG;IAAQ,MAAM;IAAa,CAAe;;AAE1E,MAAI,OAAO,SAAS,mBAAmB,UAAU,OAAO,WAAW,OACjE,QAAO,mBAAmB;AAE5B,MAAI,OAAO,SAAS,mBAAmB,UAAU,OAAO,WAAW,YACjE,QAAO,mBAAmB;AAE5B,MAAI,OAAO,SAAS,mBAAmB,UAAU,OAAO,WAAW,SACjE,QAAO,mBAAmB;AAE5B,MAAI,OAAO,SAAS,mBAAmB,SAAS,OAAO,eAAe,UAAU,OAAO,MACrF,QAAO,mBAAmB;AAE5B,MAAI,OAAO,SAAS,mBAAmB,UAAU,WAAW,OAAO,UAAU,CAC3E,QAAO,mBAAmB;AAE5B,MACE,OAAO,SAAS,mBAAmB,UACnC,OAAO,OAAO,cAAc,YAC5B,OAAO,UAAU,WAAW,kBAAkB,CAE9C,QAAO,mBAAmB;AAE5B,MAAI,mBAAmB,OAAO,IAAI,WAAW,OAC3C,QAAO,mBAAmB;AAE5B,MAAI,kBAAkB,OAAO,IAAI,mBAAmB,OAAO,MAAM,IAAI,WAAW,OAAO,MACrF,QAAO,mBAAmB;AAE5B,SAAO,OAAO;;AAEhB,QAAO,mBAAmB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PointerEvent } from "react";
|
|
2
|
+
|
|
3
|
+
//#region lib/letPointerDownReachDocument.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* `onPointerDownCapture` handler for a Radix dismissable layer (Popover,
|
|
6
|
+
* DropdownMenu, ...) that hosts react-aria pressables.
|
|
7
|
+
*
|
|
8
|
+
* react-aria's `usePress` stops `pointerdown` propagation, and React forwards
|
|
9
|
+
* that to the native event, so it never reaches `document`. Radix marks a
|
|
10
|
+
* pointerdown as "inside" during capture and only clears that mark from its
|
|
11
|
+
* `document` listener, so the mark survives and the next outside pointerdown
|
|
12
|
+
* is taken as inside: the layer needs a second outside click to dismiss.
|
|
13
|
+
*
|
|
14
|
+
* This keeps React-level propagation stopped (ancestor `usePress` handlers
|
|
15
|
+
* still skip the event) but lets the native event reach `document`.
|
|
16
|
+
*/
|
|
17
|
+
declare const letPointerDownReachDocument: ({
|
|
18
|
+
nativeEvent
|
|
19
|
+
}: PointerEvent) => void;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { letPointerDownReachDocument };
|
|
22
|
+
//# sourceMappingURL=letPointerDownReachDocument.d.mts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
//#region lib/letPointerDownReachDocument.ts
|
|
2
|
+
/**
|
|
3
|
+
* `onPointerDownCapture` handler for a Radix dismissable layer (Popover,
|
|
4
|
+
* DropdownMenu, ...) that hosts react-aria pressables.
|
|
5
|
+
*
|
|
6
|
+
* react-aria's `usePress` stops `pointerdown` propagation, and React forwards
|
|
7
|
+
* that to the native event, so it never reaches `document`. Radix marks a
|
|
8
|
+
* pointerdown as "inside" during capture and only clears that mark from its
|
|
9
|
+
* `document` listener, so the mark survives and the next outside pointerdown
|
|
10
|
+
* is taken as inside: the layer needs a second outside click to dismiss.
|
|
11
|
+
*
|
|
12
|
+
* This keeps React-level propagation stopped (ancestor `usePress` handlers
|
|
13
|
+
* still skip the event) but lets the native event reach `document`.
|
|
14
|
+
*/
|
|
15
|
+
const letPointerDownReachDocument = ({ nativeEvent }) => {
|
|
16
|
+
if (Object.prototype.hasOwnProperty.call(nativeEvent, "stopPropagation")) return;
|
|
17
|
+
Object.defineProperty(nativeEvent, "stopPropagation", {
|
|
18
|
+
configurable: true,
|
|
19
|
+
value: () => void 0
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { letPointerDownReachDocument };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=letPointerDownReachDocument.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"letPointerDownReachDocument.mjs","names":[],"sources":["../../lib/letPointerDownReachDocument.ts"],"sourcesContent":["import type { PointerEvent as ReactPointerEvent } from 'react';\n\n/**\n * `onPointerDownCapture` handler for a Radix dismissable layer (Popover,\n * DropdownMenu, ...) that hosts react-aria pressables.\n *\n * react-aria's `usePress` stops `pointerdown` propagation, and React forwards\n * that to the native event, so it never reaches `document`. Radix marks a\n * pointerdown as \"inside\" during capture and only clears that mark from its\n * `document` listener, so the mark survives and the next outside pointerdown\n * is taken as inside: the layer needs a second outside click to dismiss.\n *\n * This keeps React-level propagation stopped (ancestor `usePress` handlers\n * still skip the event) but lets the native event reach `document`.\n */\nexport const letPointerDownReachDocument = ({ nativeEvent }: ReactPointerEvent): void => {\n if (Object.prototype.hasOwnProperty.call(nativeEvent, 'stopPropagation')) {\n return;\n }\n Object.defineProperty(nativeEvent, 'stopPropagation', {\n configurable: true,\n value: () => undefined,\n });\n};\n"],"mappings":";;;;;;;;;;;;;;AAeA,MAAa,+BAA+B,EAAE,kBAA2C;AACvF,KAAI,OAAO,UAAU,eAAe,KAAK,aAAa,kBAAkB,CACtE;AAEF,QAAO,eAAe,aAAa,mBAAmB;EACpD,cAAc;EACd,aAAa,KAAA;EACd,CAAC"}
|
package/dist/lib/message.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MessageType } from "../message-
|
|
1
|
+
import { t as MessageType } from "../message-CblP0EjG.mjs";
|
|
2
2
|
export { MessageType };
|
|
@@ -1,66 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
//#region components/SmartTextInput/parser/method-chain/parser.d.ts
|
|
6
|
-
declare class SyntaxError extends Error {
|
|
7
|
-
expected: string[];
|
|
8
|
-
found: string;
|
|
9
|
-
location: {
|
|
10
|
-
start: number;
|
|
11
|
-
end: number;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
//#region lib/methodChain.d.ts
|
|
16
|
-
declare const methodChainCache: {
|
|
17
|
-
[key: string]: Chain;
|
|
18
|
-
};
|
|
19
|
-
declare const MethodChainNodeTypes: {
|
|
20
|
-
readonly Chain: ASTNodeType.Chain;
|
|
21
|
-
readonly String: ASTNodeType.String;
|
|
22
|
-
readonly Number: ASTNodeType.Number;
|
|
23
|
-
readonly Identifier: ASTNodeType.Identifier;
|
|
24
|
-
readonly Function: ASTNodeType.Function;
|
|
25
|
-
readonly CustomFunction: ASTNodeType.CustomFunction;
|
|
26
|
-
readonly Array: ASTNodeType.Array;
|
|
27
|
-
};
|
|
28
|
-
declare const EMPTY_METHOD_CHAIN: Chain;
|
|
29
|
-
type MethodChainLiteral = string | number | (string | number)[];
|
|
30
|
-
declare const isFunctionNode: (node: MethodChainNode) => node is FunctionNode;
|
|
31
|
-
declare const isCustomFunctionNode: (node: MethodChainNode) => node is CustomFunctionNode;
|
|
32
|
-
declare const isIdentifierNode: (node: MethodChainNode) => node is IdentifierNode;
|
|
33
|
-
declare const isStringNode: (node: FunctionParamType) => node is StringNode;
|
|
34
|
-
declare const isArrayNode: (node: FunctionParamType) => node is ArrayNode;
|
|
35
|
-
declare const containsFunctionNode: (methodChain: Chain, ...functionNames: string[]) => boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Returns true if the string contains any function node (e.g. `.at(...)`) when parsed
|
|
38
|
-
* as a method chain. Use this to detect whether a field path must be treated as an
|
|
39
|
-
* opaque key rather than split on `.` for Lodash set/get operations.
|
|
40
|
-
*/
|
|
41
|
-
declare const pathContainsFunctionNode: (path: string) => boolean;
|
|
42
|
-
declare const isEmpty: (methodChain: Chain) => boolean;
|
|
43
|
-
declare const getFunctionParams: (methodChain: Chain, ...functionNames: string[]) => Record<string, MethodChainLiteral[]>;
|
|
44
|
-
declare const removeFunctionNode: (methodChain: Chain, functionName: string) => Chain;
|
|
45
|
-
declare const isValid: (methodChain: string) => boolean;
|
|
46
|
-
/**
|
|
47
|
-
* The parsed chain, or undefined when it will not parse. Callers that read a chain while it is being
|
|
48
|
-
* authored hold half-typed input, where a throw is noise rather than an error.
|
|
49
|
-
*/
|
|
50
|
-
declare const tryParseMethodChain: (methodChain: string) => Chain | undefined;
|
|
51
|
-
/** The object a chain is rooted at: `current_case.inquiries` -> `current_case`. */
|
|
52
|
-
declare const methodChainRootName: (methodChain: string) => string | undefined;
|
|
53
|
-
declare const parseMethodChain: (methodChain: string) => Chain;
|
|
54
|
-
declare const methodChainToString: (methodChain: Chain | StringNode | NumberNode | ArrayNode) => string;
|
|
55
|
-
declare const appendedMethodChain: (parentChain: Chain, appended: string | MethodChainNode) => Chain;
|
|
56
|
-
declare const parseWithPartialOption: (path: string) => {
|
|
57
|
-
methodChain: Chain;
|
|
58
|
-
partial: string;
|
|
59
|
-
valid: boolean;
|
|
60
|
-
};
|
|
61
|
-
declare const pathIsNormative: (path: string) => boolean;
|
|
62
|
-
declare const getSyntaxError: () => typeof SyntaxError;
|
|
63
|
-
declare const methodChainNodeToJsonSchema: (node: StringNode | NumberNode | ArrayNode) => JsonSchema | null;
|
|
64
|
-
//#endregion
|
|
65
|
-
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 };
|
|
66
|
-
//# sourceMappingURL=methodChain.d.mts.map
|
|
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";
|
|
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 };
|
package/dist/lib/methodChain.mjs
CHANGED
|
@@ -1,239 +1,3 @@
|
|
|
1
|
-
import { i as peg$parse, n as peg$SyntaxError } from "../parser-Kxos6siN.mjs";
|
|
2
|
-
import { reportError } from "./errorReporter.mjs";
|
|
3
1
|
import "./jsonSchema.mjs";
|
|
4
|
-
import "../
|
|
5
|
-
import { normalizeChain } from "./methodChainNormalize.mjs";
|
|
6
|
-
import { last } from "lodash-es";
|
|
7
|
-
//#region lib/methodChain.ts
|
|
8
|
-
function assertNever(value) {
|
|
9
|
-
const dump = typeof value === "object" ? JSON.stringify(value) : value;
|
|
10
|
-
reportError(/* @__PURE__ */ new TypeError(`assertNever non-exhaustive match: ${dump}`));
|
|
11
|
-
}
|
|
12
|
-
const methodChainCache = {};
|
|
13
|
-
const MethodChainNodeTypes = {
|
|
14
|
-
Chain: "chain",
|
|
15
|
-
String: "string",
|
|
16
|
-
Number: "number",
|
|
17
|
-
Identifier: "identifier",
|
|
18
|
-
Function: "function",
|
|
19
|
-
CustomFunction: "custom_function",
|
|
20
|
-
Array: "array"
|
|
21
|
-
};
|
|
22
|
-
const EMPTY_METHOD_CHAIN = {
|
|
23
|
-
type: MethodChainNodeTypes.Chain,
|
|
24
|
-
links: []
|
|
25
|
-
};
|
|
26
|
-
const isFunctionNode = (node) => node.type === MethodChainNodeTypes.Function;
|
|
27
|
-
const isCustomFunctionNode = (node) => node.type === MethodChainNodeTypes.CustomFunction;
|
|
28
|
-
const isIdentifierNode = (node) => node.type === MethodChainNodeTypes.Identifier;
|
|
29
|
-
const isStringNode = (node) => node.type === MethodChainNodeTypes.String;
|
|
30
|
-
const isArrayNode = (node) => node.type === MethodChainNodeTypes.Array;
|
|
31
|
-
const containsFunctionNode = (methodChain, ...functionNames) => methodChain.links.some((link) => isFunctionNode(link) && functionNames.includes(link.name));
|
|
32
|
-
/**
|
|
33
|
-
* Returns true if the string contains any function node (e.g. `.at(...)`) when parsed
|
|
34
|
-
* as a method chain. Use this to detect whether a field path must be treated as an
|
|
35
|
-
* opaque key rather than split on `.` for Lodash set/get operations.
|
|
36
|
-
*/
|
|
37
|
-
const pathContainsFunctionNode = (path) => {
|
|
38
|
-
try {
|
|
39
|
-
return parseMethodChain(path).links.some((link) => link.type === MethodChainNodeTypes.Function || link.type === MethodChainNodeTypes.CustomFunction);
|
|
40
|
-
} catch {
|
|
41
|
-
return false;
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
const isEmpty = (methodChain) => methodChain.links.length === 0;
|
|
45
|
-
const getFunctionParams = (methodChain, ...functionNames) => {
|
|
46
|
-
return Object.fromEntries(methodChain.links.filter((link) => isFunctionNode(link)).filter((link) => functionNames.includes(link.name)).map((link) => [link.name, flattenParamsToString(link.params)]));
|
|
47
|
-
};
|
|
48
|
-
const removeFunctionNode = (methodChain, functionName) => {
|
|
49
|
-
return {
|
|
50
|
-
type: MethodChainNodeTypes.Chain,
|
|
51
|
-
links: methodChain.links.filter((link) => link.type !== MethodChainNodeTypes.Function || link.name !== functionName)
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
const flattenParamsToString = (params) => {
|
|
55
|
-
const result = [];
|
|
56
|
-
for (const param of params) switch (param.type) {
|
|
57
|
-
case MethodChainNodeTypes.Chain:
|
|
58
|
-
result.push(...flattenChainToString(param));
|
|
59
|
-
break;
|
|
60
|
-
case MethodChainNodeTypes.String:
|
|
61
|
-
case MethodChainNodeTypes.Number:
|
|
62
|
-
result.push(param.value);
|
|
63
|
-
break;
|
|
64
|
-
case MethodChainNodeTypes.Array:
|
|
65
|
-
result.push(param.items.map((item) => item.value));
|
|
66
|
-
break;
|
|
67
|
-
}
|
|
68
|
-
return result;
|
|
69
|
-
};
|
|
70
|
-
const flattenChainToString = (methodChain) => methodChain.links.map((link) => {
|
|
71
|
-
switch (link.type) {
|
|
72
|
-
case MethodChainNodeTypes.Function:
|
|
73
|
-
case MethodChainNodeTypes.CustomFunction: return flattenParamsToString(link.params);
|
|
74
|
-
case MethodChainNodeTypes.Identifier: return link.name;
|
|
75
|
-
}
|
|
76
|
-
}).flat();
|
|
77
|
-
const isValid = (methodChain) => {
|
|
78
|
-
try {
|
|
79
|
-
parseMethodChain(methodChain);
|
|
80
|
-
return true;
|
|
81
|
-
} catch {
|
|
82
|
-
return false;
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
/**
|
|
86
|
-
* The parsed chain, or undefined when it will not parse. Callers that read a chain while it is being
|
|
87
|
-
* authored hold half-typed input, where a throw is noise rather than an error.
|
|
88
|
-
*/
|
|
89
|
-
const tryParseMethodChain = (methodChain) => {
|
|
90
|
-
try {
|
|
91
|
-
return parseMethodChain(methodChain);
|
|
92
|
-
} catch {
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
/** The object a chain is rooted at: `current_case.inquiries` -> `current_case`. */
|
|
97
|
-
const methodChainRootName = (methodChain) => {
|
|
98
|
-
const [root] = tryParseMethodChain(methodChain)?.links ?? [];
|
|
99
|
-
return root && isIdentifierNode(root) ? root.name : void 0;
|
|
100
|
-
};
|
|
101
|
-
const parseMethodChain = (methodChain) => {
|
|
102
|
-
if (!methodChain || methodChain === "") return EMPTY_METHOD_CHAIN;
|
|
103
|
-
if (!methodChainCache[methodChain]) methodChainCache[methodChain] = normalizeChain(peg$parse(methodChain, { strict: true }));
|
|
104
|
-
return methodChainCache[methodChain];
|
|
105
|
-
};
|
|
106
|
-
const memberToString = (value) => {
|
|
107
|
-
return `'${value.replace(/'/g, "\\'")}'`;
|
|
108
|
-
};
|
|
109
|
-
const expandExponentialNotation = (str) => {
|
|
110
|
-
const match = /^(-?)(\d)(?:\.(\d+))?e([+-]\d+)$/.exec(str);
|
|
111
|
-
if (!match) return str;
|
|
112
|
-
const [, sign, leadingDigit, fractionDigits = "", exponentStr] = match;
|
|
113
|
-
const digits = leadingDigit + fractionDigits;
|
|
114
|
-
const exponent = Number(exponentStr);
|
|
115
|
-
if (exponent < 0) return `${sign}0.${"0".repeat(-exponent - 1)}${digits}`;
|
|
116
|
-
return `${sign}${digits}${"0".repeat(exponent - fractionDigits.length)}`;
|
|
117
|
-
};
|
|
118
|
-
const numberLiteralToString = (value) => {
|
|
119
|
-
if (!Number.isFinite(value)) return `${value}`;
|
|
120
|
-
const str = value.toString();
|
|
121
|
-
return /e/i.test(str) ? expandExponentialNotation(str) : str;
|
|
122
|
-
};
|
|
123
|
-
const methodChainToString = (methodChain) => {
|
|
124
|
-
switch (methodChain.type) {
|
|
125
|
-
case MethodChainNodeTypes.String: return methodChain.value;
|
|
126
|
-
case MethodChainNodeTypes.Number: return numberLiteralToString(methodChain.value);
|
|
127
|
-
case MethodChainNodeTypes.Array: return `[${methodChain.items.map((item) => item.type === MethodChainNodeTypes.String ? memberToString(item.value) : `#${numberLiteralToString(item.value)}`).join(", ")}]`;
|
|
128
|
-
default: {
|
|
129
|
-
const regex = /* @__PURE__ */ new RegExp("^@?[a-zA-Z0-9_-]+$");
|
|
130
|
-
return methodChain.links.map((link, index) => {
|
|
131
|
-
switch (link.type) {
|
|
132
|
-
case MethodChainNodeTypes.Identifier: {
|
|
133
|
-
const fullName = `${link.prefix ?? ""}${link.name}`;
|
|
134
|
-
return index === 0 ? fullName : regex.test(fullName) ? `.${fullName}` : `['${fullName.replace(/'/g, "\\'")}']`;
|
|
135
|
-
}
|
|
136
|
-
case MethodChainNodeTypes.Function: return `.${link.name}(${link.params.map((param) => {
|
|
137
|
-
switch (param.type) {
|
|
138
|
-
case MethodChainNodeTypes.String: return memberToString(param.value);
|
|
139
|
-
case MethodChainNodeTypes.Number: return `#${numberLiteralToString(param.value)}`;
|
|
140
|
-
case MethodChainNodeTypes.Chain:
|
|
141
|
-
case MethodChainNodeTypes.Array: return methodChainToString(param);
|
|
142
|
-
}
|
|
143
|
-
}).join(", ")})`;
|
|
144
|
-
case MethodChainNodeTypes.CustomFunction: {
|
|
145
|
-
const paramStr = link.params.map((param) => {
|
|
146
|
-
switch (param.type) {
|
|
147
|
-
case MethodChainNodeTypes.String: return memberToString(param.value);
|
|
148
|
-
case MethodChainNodeTypes.Number: return `#${numberLiteralToString(param.value)}`;
|
|
149
|
-
case MethodChainNodeTypes.Chain:
|
|
150
|
-
case MethodChainNodeTypes.Array: return methodChainToString(param);
|
|
151
|
-
}
|
|
152
|
-
}).join(", ");
|
|
153
|
-
return [
|
|
154
|
-
index === 0 ? "" : ".",
|
|
155
|
-
`@${link.name}`,
|
|
156
|
-
link.params.length === 0 ? "" : `(${paramStr})`
|
|
157
|
-
].join("");
|
|
158
|
-
}
|
|
159
|
-
default: assertNever(link);
|
|
160
|
-
}
|
|
161
|
-
}).join("");
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
};
|
|
165
|
-
const appendedMethodChain = (parentChain, appended) => {
|
|
166
|
-
const buildNode = (name) => {
|
|
167
|
-
if (name.startsWith("@")) return {
|
|
168
|
-
type: MethodChainNodeTypes.CustomFunction,
|
|
169
|
-
name: name.slice(1),
|
|
170
|
-
params: []
|
|
171
|
-
};
|
|
172
|
-
return {
|
|
173
|
-
type: MethodChainNodeTypes.Identifier,
|
|
174
|
-
name
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
return {
|
|
178
|
-
type: MethodChainNodeTypes.Chain,
|
|
179
|
-
links: [...parentChain.links, typeof appended === "string" ? buildNode(appended) : appended]
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
const parseWithPartialOption = (path) => {
|
|
183
|
-
if (isValid(path)) {
|
|
184
|
-
const methodChain = parseMethodChain(path);
|
|
185
|
-
return {
|
|
186
|
-
methodChain: {
|
|
187
|
-
type: MethodChainNodeTypes.Chain,
|
|
188
|
-
links: methodChain.links.slice(0, methodChain.links.length - 1)
|
|
189
|
-
},
|
|
190
|
-
partial: last(methodChain.links)?.name || "",
|
|
191
|
-
valid: true
|
|
192
|
-
};
|
|
193
|
-
}
|
|
194
|
-
const rawParse = (input) => {
|
|
195
|
-
return normalizeChain(peg$parse(input, { strict: true }));
|
|
196
|
-
};
|
|
197
|
-
try {
|
|
198
|
-
if (path.endsWith(".")) return {
|
|
199
|
-
methodChain: rawParse(path.slice(0, -1)),
|
|
200
|
-
partial: "",
|
|
201
|
-
valid: true
|
|
202
|
-
};
|
|
203
|
-
if (path.lastIndexOf("[") > path.lastIndexOf("]")) {
|
|
204
|
-
const partialString = path.slice(path.lastIndexOf("[") + 2);
|
|
205
|
-
const partialValue = partialString.endsWith("'") ? partialString.slice(0, -1) : partialString;
|
|
206
|
-
return {
|
|
207
|
-
methodChain: rawParse(path.slice(0, path.lastIndexOf("["))),
|
|
208
|
-
partial: partialValue,
|
|
209
|
-
valid: true
|
|
210
|
-
};
|
|
211
|
-
}
|
|
212
|
-
} catch {}
|
|
213
|
-
return {
|
|
214
|
-
methodChain: EMPTY_METHOD_CHAIN,
|
|
215
|
-
partial: path,
|
|
216
|
-
valid: false
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
const pathIsNormative = (path) => {
|
|
220
|
-
return path.split(".").every((part) => /^[a-zA-Z0-9_-]+$/.test(part));
|
|
221
|
-
};
|
|
222
|
-
const getSyntaxError = () => peg$SyntaxError;
|
|
223
|
-
const methodChainNodeToJsonSchema = (node) => {
|
|
224
|
-
if (node.type === MethodChainNodeTypes.String) return { type: "string" };
|
|
225
|
-
else if (node.type === MethodChainNodeTypes.Number) return { type: "number" };
|
|
226
|
-
else if (node.type === MethodChainNodeTypes.Array) if (node.items.length > 0) return {
|
|
227
|
-
type: "array",
|
|
228
|
-
items: node.items[0].type === MethodChainNodeTypes.String ? { type: "string" } : { type: "number" }
|
|
229
|
-
};
|
|
230
|
-
else return {
|
|
231
|
-
type: "array",
|
|
232
|
-
items: { type: "string" }
|
|
233
|
-
};
|
|
234
|
-
return null;
|
|
235
|
-
};
|
|
236
|
-
//#endregion
|
|
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";
|
|
237
3
|
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 };
|
|
238
|
-
|
|
239
|
-
//# sourceMappingURL=methodChain.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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";
|
|
3
3
|
|
|
4
4
|
//#region lib/methodChainNormalize.d.ts
|
|
5
5
|
declare function normalizeArrayItem(item: ASTStringNode | ASTNumberNode): StringNode | NumberNode;
|
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region lib/methodChainTypes.d.ts
|
|
4
|
-
type MethodChainNode = IdentifierNode | FunctionNode | CustomFunctionNode;
|
|
5
|
-
type FunctionParamType = Chain | StringNode | NumberNode | ArrayNode;
|
|
6
|
-
type Chain = Omit<ASTChain, 'children' | 'start' | 'end'> & {
|
|
7
|
-
links: MethodChainNode[];
|
|
8
|
-
};
|
|
9
|
-
type StringNode = Omit<ASTStringNode, 'start' | 'end'>;
|
|
10
|
-
type NumberNode = Omit<ASTNumberNode, 'start' | 'end'>;
|
|
11
|
-
type ArrayNode = Omit<ASTArrayNode, 'children' | 'start' | 'end'> & {
|
|
12
|
-
items: (StringNode | NumberNode)[];
|
|
13
|
-
};
|
|
14
|
-
type IdentifierNode = Omit<ASTIdentifierNode, 'start' | 'end'>;
|
|
15
|
-
type FunctionNode = Omit<ASTFunctionNode, 'children' | 'start' | 'end'> & {
|
|
16
|
-
params: FunctionParamType[];
|
|
17
|
-
};
|
|
18
|
-
type CustomFunctionNode = Omit<ASTCustomFunctionNode, 'children' | 'start' | 'end'> & {
|
|
19
|
-
params: FunctionParamType[];
|
|
20
|
-
};
|
|
21
|
-
//#endregion
|
|
22
|
-
export { ArrayNode, Chain, CustomFunctionNode, FunctionNode, FunctionParamType, IdentifierNode, MethodChainNode, NumberNode, StringNode };
|
|
23
|
-
//# sourceMappingURL=methodChainTypes.d.mts.map
|
|
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";
|
|
2
|
+
export { ArrayNode, Chain, CustomFunctionNode, FunctionNode, FunctionParamType, IdentifierNode, MethodChainNode, NumberNode, StringNode };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as
|
|
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";
|
|
2
2
|
export { CollectionMetaJsonSchema, FunctionConvertedTypeSchema, FunctionGenericParameterSchema, FunctionJsonSchema, FunctionParameterJsonSchema, FunctionReturnTypeJsonSchema, GenericType, ObjectSchemaMap };
|
|
@@ -0,0 +1,38 @@
|
|
|
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";
|
|
2
|
+
|
|
3
|
+
//#region lib/platformObject.d.ts
|
|
4
|
+
interface PlatformObjectJsonSchema extends JsonSchemaObject {
|
|
5
|
+
properties: {
|
|
6
|
+
objectType: {
|
|
7
|
+
const: JsonSchemaObjectKey;
|
|
8
|
+
};
|
|
9
|
+
template?: {
|
|
10
|
+
anyOf: JsonSchemaConst[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
required: string[];
|
|
14
|
+
}
|
|
15
|
+
type PlatformJsonSchema = JsonSchemaCore | PlatformObjectJsonSchema;
|
|
16
|
+
declare const MERGED_SCHEMA_ID = "merged";
|
|
17
|
+
declare const setSchemaPropertyDescriptionResolver: (resolver: (propertyKey: string) => string | undefined) => void;
|
|
18
|
+
declare const injectPropertyDescriptions: (schema: JsonSchemaObject) => JsonSchemaObject;
|
|
19
|
+
declare const isPlatformObjectSchema: (schema: JsonSchema) => schema is PlatformObjectJsonSchema;
|
|
20
|
+
declare const getPlatformObjectTypeFromJsonSchema: (schema: JsonSchema) => JsonSchemaObjectKey | null;
|
|
21
|
+
declare const getPlatformTemplateFromJsonSchema: (schema: JsonSchema) => string[] | null;
|
|
22
|
+
declare const getSpecificType: (schema: PlatformJsonSchema) => string;
|
|
23
|
+
declare const resolveJssRef: (schema: JsonSchemaRef, platformObjectJsonSchema?: ObjectSchemaMap) => JsonSchemaObject;
|
|
24
|
+
declare const getWorkflowObjectKeyFromSchemaRef: (schemaRef: string) => JsonSchemaObjectKey;
|
|
25
|
+
declare const getSchemaId: (workflowObjectKey: JsonSchemaObjectKey | string, identifier?: string) => string;
|
|
26
|
+
declare enum PrimitiveSchemaId {
|
|
27
|
+
String = "/schema/string",
|
|
28
|
+
Array = "/schema/array",
|
|
29
|
+
Number = "/schema/number",
|
|
30
|
+
Boolean = "/schema/boolean",
|
|
31
|
+
Date = "/schema/date",
|
|
32
|
+
Datetime = "/schema/datetime",
|
|
33
|
+
File = "/schema/field/file"
|
|
34
|
+
}
|
|
35
|
+
declare const getSchemaIdForExternalIntegration: (vendor: string, operation: string) => string;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { MERGED_SCHEMA_ID, PlatformJsonSchema, PlatformObjectJsonSchema, PrimitiveSchemaId, getPlatformObjectTypeFromJsonSchema, getPlatformTemplateFromJsonSchema, getSchemaId, getSchemaIdForExternalIntegration, getSpecificType, getWorkflowObjectKeyFromSchemaRef, injectPropertyDescriptions, isPlatformObjectSchema, resolveJssRef, setSchemaPropertyDescriptionResolver };
|
|
38
|
+
//# sourceMappingURL=platformObject.d.mts.map
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { EMPTY_JSON_SCHEMA_OBJECT, isJsonSchemaRef } from "./jsonSchema.mjs";
|
|
2
|
+
import { getJsonSchemaType } from "./jsonSchemaType.mjs";
|
|
3
|
+
import { snakify } from "./snakifyPath.mjs";
|
|
4
|
+
import { snakeCase } from "lodash-es";
|
|
5
|
+
//#region lib/platformObject.ts
|
|
6
|
+
const MERGED_SCHEMA_ID = "merged";
|
|
7
|
+
let schemaPropertyDescriptionResolver = (_propertyKey) => void 0;
|
|
8
|
+
let propertyDescriptionCache = /* @__PURE__ */ new WeakMap();
|
|
9
|
+
const setSchemaPropertyDescriptionResolver = (resolver) => {
|
|
10
|
+
if (resolver === schemaPropertyDescriptionResolver) return;
|
|
11
|
+
schemaPropertyDescriptionResolver = resolver;
|
|
12
|
+
propertyDescriptionCache = /* @__PURE__ */ new WeakMap();
|
|
13
|
+
};
|
|
14
|
+
const injectPropertyDescriptions = (schema) => {
|
|
15
|
+
const cachedSchema = propertyDescriptionCache.get(schema);
|
|
16
|
+
if (cachedSchema) return cachedSchema;
|
|
17
|
+
const schemaWithDescriptions = {
|
|
18
|
+
...schema,
|
|
19
|
+
properties: Object.entries(schema.properties).reduce((acc, [propertyKey, propertySchema]) => ({
|
|
20
|
+
...acc,
|
|
21
|
+
[propertyKey]: {
|
|
22
|
+
...propertySchema,
|
|
23
|
+
description: isJsonSchemaRef(propertySchema) ? `Type: ${propertySchema.description}` : propertySchema.description ?? schemaPropertyDescriptionResolver(propertyKey)
|
|
24
|
+
}
|
|
25
|
+
}), {})
|
|
26
|
+
};
|
|
27
|
+
propertyDescriptionCache.set(schema, schemaWithDescriptions);
|
|
28
|
+
return schemaWithDescriptions;
|
|
29
|
+
};
|
|
30
|
+
const isPlatformObjectSchema = (schema) => {
|
|
31
|
+
return "type" in schema && schema.type === "object" && schema.properties && "objectType" in schema.properties;
|
|
32
|
+
};
|
|
33
|
+
const getPlatformObjectTypeFromJsonSchema = (schema) => {
|
|
34
|
+
return isPlatformObjectSchema(schema) ? schema.properties.objectType.const : null;
|
|
35
|
+
};
|
|
36
|
+
const getPlatformTemplateFromJsonSchema = (schema) => {
|
|
37
|
+
if (!isPlatformObjectSchema(schema)) return null;
|
|
38
|
+
return schema.properties.template?.anyOf.map((jsonSchema) => jsonSchema.const) || null;
|
|
39
|
+
};
|
|
40
|
+
const getSpecificType = (schema) => {
|
|
41
|
+
const platformObjectType = getPlatformObjectTypeFromJsonSchema(schema);
|
|
42
|
+
if (platformObjectType) return platformObjectType;
|
|
43
|
+
return getJsonSchemaType(schema);
|
|
44
|
+
};
|
|
45
|
+
const resolveJssRef = (schema, platformObjectJsonSchema = {}) => {
|
|
46
|
+
return platformObjectJsonSchema[schema.$ref] ? injectPropertyDescriptions(platformObjectJsonSchema[schema.$ref]) : EMPTY_JSON_SCHEMA_OBJECT;
|
|
47
|
+
};
|
|
48
|
+
const getWorkflowObjectKeyFromSchemaRef = (schemaRef) => {
|
|
49
|
+
return schemaRef.split("/").slice(2).slice(0, -1).join("/").replace(/_/g, "-");
|
|
50
|
+
};
|
|
51
|
+
const getSchemaId = (workflowObjectKey, identifier = "") => {
|
|
52
|
+
return [
|
|
53
|
+
"/schema",
|
|
54
|
+
snakify(workflowObjectKey),
|
|
55
|
+
identifier
|
|
56
|
+
].filter(Boolean).join("/");
|
|
57
|
+
};
|
|
58
|
+
let PrimitiveSchemaId = /* @__PURE__ */ function(PrimitiveSchemaId) {
|
|
59
|
+
PrimitiveSchemaId["String"] = "/schema/string";
|
|
60
|
+
PrimitiveSchemaId["Array"] = "/schema/array";
|
|
61
|
+
PrimitiveSchemaId["Number"] = "/schema/number";
|
|
62
|
+
PrimitiveSchemaId["Boolean"] = "/schema/boolean";
|
|
63
|
+
PrimitiveSchemaId["Date"] = "/schema/date";
|
|
64
|
+
PrimitiveSchemaId["Datetime"] = "/schema/datetime";
|
|
65
|
+
PrimitiveSchemaId["File"] = "/schema/field/file";
|
|
66
|
+
return PrimitiveSchemaId;
|
|
67
|
+
}({});
|
|
68
|
+
const getSchemaIdForExternalIntegration = (vendor, operation) => {
|
|
69
|
+
return vendor && operation ? [
|
|
70
|
+
"/schema",
|
|
71
|
+
"external_integration_log",
|
|
72
|
+
snakeCase(vendor),
|
|
73
|
+
operation
|
|
74
|
+
].filter(Boolean).join("/") : "";
|
|
75
|
+
};
|
|
76
|
+
//#endregion
|
|
77
|
+
export { MERGED_SCHEMA_ID, PrimitiveSchemaId, getPlatformObjectTypeFromJsonSchema, getPlatformTemplateFromJsonSchema, getSchemaId, getSchemaIdForExternalIntegration, getSpecificType, getWorkflowObjectKeyFromSchemaRef, injectPropertyDescriptions, isPlatformObjectSchema, resolveJssRef, setSchemaPropertyDescriptionResolver };
|
|
78
|
+
|
|
79
|
+
//# sourceMappingURL=platformObject.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformObject.mjs","names":[],"sources":["../../lib/platformObject.ts"],"sourcesContent":["import { snakeCase } from 'lodash-es';\n\nimport {\n EMPTY_JSON_SCHEMA_OBJECT,\n type JsonSchema,\n type JsonSchemaConst,\n type JsonSchemaCore,\n type JsonSchemaObject,\n type JsonSchemaRef,\n isJsonSchemaRef,\n JsonSchemaTypes,\n type JsonSchemaObjectKey,\n} from './jsonSchema';\nimport { getJsonSchemaType } from './jsonSchemaType';\nimport type { ObjectSchemaMap } from './objectSchemaTypes';\nimport { snakify } from './snakifyPath';\n\nexport interface PlatformObjectJsonSchema extends JsonSchemaObject {\n properties: {\n objectType: {\n const: JsonSchemaObjectKey;\n };\n template?: {\n anyOf: JsonSchemaConst[];\n };\n };\n required: string[];\n}\n\nexport type PlatformJsonSchema = JsonSchemaCore | PlatformObjectJsonSchema;\n\nexport const MERGED_SCHEMA_ID = 'merged';\n\nlet schemaPropertyDescriptionResolver = (_propertyKey: string): string | undefined => undefined;\nlet propertyDescriptionCache = new WeakMap<JsonSchemaObject, JsonSchemaObject>();\n\nexport const setSchemaPropertyDescriptionResolver = (\n resolver: (propertyKey: string) => string | undefined,\n): void => {\n if (resolver === schemaPropertyDescriptionResolver) {\n return;\n }\n schemaPropertyDescriptionResolver = resolver;\n propertyDescriptionCache = new WeakMap();\n};\n\nexport const injectPropertyDescriptions = (schema: JsonSchemaObject): JsonSchemaObject => {\n const cachedSchema = propertyDescriptionCache.get(schema);\n if (cachedSchema) {\n return cachedSchema;\n }\n\n const schemaWithDescriptions = {\n ...schema,\n properties: Object.entries(schema.properties).reduce<JsonSchemaObject['properties']>(\n (acc, [propertyKey, propertySchema]) => ({\n ...acc,\n [propertyKey]: {\n ...propertySchema,\n description: isJsonSchemaRef(propertySchema)\n ? `Type: ${propertySchema.description}`\n : (propertySchema.description ?? schemaPropertyDescriptionResolver(propertyKey)),\n },\n }),\n {},\n ),\n };\n propertyDescriptionCache.set(schema, schemaWithDescriptions);\n return schemaWithDescriptions;\n};\n\nexport const isPlatformObjectSchema = (schema: JsonSchema): schema is PlatformObjectJsonSchema => {\n return (\n 'type' in schema &&\n schema.type === JsonSchemaTypes.Object &&\n schema.properties &&\n 'objectType' in schema.properties\n );\n};\n\nexport const getPlatformObjectTypeFromJsonSchema = (\n schema: JsonSchema,\n): JsonSchemaObjectKey | null => {\n return isPlatformObjectSchema(schema) ? schema.properties.objectType.const : null;\n};\n\nexport const getPlatformTemplateFromJsonSchema = (schema: JsonSchema): string[] | null => {\n if (!isPlatformObjectSchema(schema)) {\n return null;\n }\n return schema.properties.template?.anyOf.map((jsonSchema) => jsonSchema.const) || null;\n};\n\nexport const getSpecificType = (schema: PlatformJsonSchema) => {\n const platformObjectType = getPlatformObjectTypeFromJsonSchema(schema);\n if (platformObjectType) {\n return platformObjectType;\n }\n return getJsonSchemaType(schema);\n};\n\nexport const resolveJssRef = (\n schema: JsonSchemaRef,\n platformObjectJsonSchema: ObjectSchemaMap = {},\n): JsonSchemaObject => {\n return platformObjectJsonSchema[schema.$ref]\n ? injectPropertyDescriptions(platformObjectJsonSchema[schema.$ref])\n : EMPTY_JSON_SCHEMA_OBJECT;\n};\n\n// This is a hack to get the JSON:API name of the Persona object described by the schema\n// returned from the workflows schema controller.\nexport const getWorkflowObjectKeyFromSchemaRef = (schemaRef: string): JsonSchemaObjectKey => {\n return schemaRef\n .split('/') // ['', 'schema', 'object-type', 'object-subtype', 'merged']\n .slice(2) // ['object-type', 'object-subtype', 'merged']\n .slice(0, -1) // ['object-type', 'object-subtype']\n .join('/')\n .replace(/_/g, '-') as JsonSchemaObjectKey;\n};\n\nexport const getSchemaId = (\n workflowObjectKey: JsonSchemaObjectKey | string,\n identifier = '',\n): string => {\n return ['/schema', snakify(workflowObjectKey), identifier].filter(Boolean).join('/');\n};\n\nexport enum PrimitiveSchemaId {\n String = '/schema/string',\n Array = '/schema/array',\n Number = '/schema/number',\n Boolean = '/schema/boolean',\n Date = '/schema/date',\n Datetime = '/schema/datetime',\n File = '/schema/field/file',\n}\n\nexport const getSchemaIdForExternalIntegration = (vendor: string, operation: string): string => {\n return vendor && operation\n ? ['/schema', 'external_integration_log', snakeCase(vendor), operation]\n .filter(Boolean)\n .join('/')\n : '';\n};\n"],"mappings":";;;;;AA+BA,MAAa,mBAAmB;AAEhC,IAAI,qCAAqC,iBAA6C,KAAA;AACtF,IAAI,2CAA2B,IAAI,SAA6C;AAEhF,MAAa,wCACX,aACS;AACT,KAAI,aAAa,kCACf;AAEF,qCAAoC;AACpC,4CAA2B,IAAI,SAAS;;AAG1C,MAAa,8BAA8B,WAA+C;CACxF,MAAM,eAAe,yBAAyB,IAAI,OAAO;AACzD,KAAI,aACF,QAAO;CAGT,MAAM,yBAAyB;EAC7B,GAAG;EACH,YAAY,OAAO,QAAQ,OAAO,WAAW,CAAC,QAC3C,KAAK,CAAC,aAAa,qBAAqB;GACvC,GAAG;IACF,cAAc;IACb,GAAG;IACH,aAAa,gBAAgB,eAAe,GACxC,SAAS,eAAe,gBACvB,eAAe,eAAe,kCAAkC,YAAY;IAClF;GACF,GACD,EAAE,CACH;EACF;AACD,0BAAyB,IAAI,QAAQ,uBAAuB;AAC5D,QAAO;;AAGT,MAAa,0BAA0B,WAA2D;AAChG,QACE,UAAU,UACV,OAAO,SAAA,YACP,OAAO,cACP,gBAAgB,OAAO;;AAI3B,MAAa,uCACX,WAC+B;AAC/B,QAAO,uBAAuB,OAAO,GAAG,OAAO,WAAW,WAAW,QAAQ;;AAG/E,MAAa,qCAAqC,WAAwC;AACxF,KAAI,CAAC,uBAAuB,OAAO,CACjC,QAAO;AAET,QAAO,OAAO,WAAW,UAAU,MAAM,KAAK,eAAe,WAAW,MAAM,IAAI;;AAGpF,MAAa,mBAAmB,WAA+B;CAC7D,MAAM,qBAAqB,oCAAoC,OAAO;AACtE,KAAI,mBACF,QAAO;AAET,QAAO,kBAAkB,OAAO;;AAGlC,MAAa,iBACX,QACA,2BAA4C,EAAE,KACzB;AACrB,QAAO,yBAAyB,OAAO,QACnC,2BAA2B,yBAAyB,OAAO,MAAM,GACjE;;AAKN,MAAa,qCAAqC,cAA2C;AAC3F,QAAO,UACJ,MAAM,IAAI,CACV,MAAM,EAAE,CACR,MAAM,GAAG,GAAG,CACZ,KAAK,IAAI,CACT,QAAQ,MAAM,IAAI;;AAGvB,MAAa,eACX,mBACA,aAAa,OACF;AACX,QAAO;EAAC;EAAW,QAAQ,kBAAkB;EAAE;EAAW,CAAC,OAAO,QAAQ,CAAC,KAAK,IAAI;;AAGtF,IAAY,oBAAL,yBAAA,mBAAA;AACL,mBAAA,YAAA;AACA,mBAAA,WAAA;AACA,mBAAA,YAAA;AACA,mBAAA,aAAA;AACA,mBAAA,UAAA;AACA,mBAAA,cAAA;AACA,mBAAA,UAAA;;KACD;AAED,MAAa,qCAAqC,QAAgB,cAA8B;AAC9F,QAAO,UAAU,YACb;EAAC;EAAW;EAA4B,UAAU,OAAO;EAAE;EAAU,CAClE,OAAO,QAAQ,CACf,KAAK,IAAI,GACZ"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as To, n as RouterAdapter, r as RouterLinkComponentProps, t as NavigateOptions } from "../../types-
|
|
2
|
-
import { n as RouterProvider, r as useRouter, t as RouterContext } from "../../RouterContext-
|
|
3
|
-
import { t as createPath } from "../../createPath-
|
|
4
|
-
import { t as RouterLink } from "../../RouterLink-
|
|
5
|
-
import { t as usePathname } from "../../useLocationPathname-
|
|
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";
|
|
6
6
|
export { NavigateOptions, RouterAdapter, RouterContext, RouterLink, RouterLinkComponentProps, RouterProvider, To, createPath, usePathname, useRouter };
|