@televet/kibble-ui 4.0.0-beta.129 → 4.0.0-beta.13
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/README.md +0 -40
- package/dist/chunks/alert.types-Bnf8isvq.js +2 -0
- package/dist/chunks/alert.types-Bnf8isvq.js.map +1 -0
- package/dist/chunks/alert.types-kskv5PHB.js +170 -0
- package/dist/chunks/alert.types-kskv5PHB.js.map +1 -0
- package/dist/chunks/avatar.component-Coq-0l7p.js +2 -0
- package/dist/chunks/avatar.component-Coq-0l7p.js.map +1 -0
- package/dist/chunks/avatar.component-DzvE2D-d.js +307 -0
- package/dist/chunks/avatar.component-DzvE2D-d.js.map +1 -0
- package/dist/chunks/avatar.types-Bmt5Uhfb.js.map +1 -1
- package/dist/chunks/avatar.types-LQ1Bn8a3.js +13 -0
- package/dist/chunks/avatar.types-LQ1Bn8a3.js.map +1 -0
- package/dist/chunks/avatarGroup.component-D-U0aMDv.js +71 -0
- package/dist/chunks/avatarGroup.component-D-U0aMDv.js.map +1 -0
- package/dist/chunks/avatarGroup.component-DES1ekL9.js +2 -0
- package/dist/chunks/avatarGroup.component-DES1ekL9.js.map +1 -0
- package/dist/chunks/{button.component-Br9jCpBx.js → button.component-BiW8RE1U.js} +10 -10
- package/dist/chunks/button.component-BiW8RE1U.js.map +1 -0
- package/dist/chunks/button.component-Dufh_y5v.js +2 -0
- package/dist/chunks/button.component-Dufh_y5v.js.map +1 -0
- package/dist/chunks/{button.types-BKXZNvN1.js → button.types-CujqF5RD.js} +7 -9
- package/dist/chunks/button.types-CujqF5RD.js.map +1 -0
- package/dist/chunks/{button.types-Bl1awbi0.js → button.types-DsLMGraz.js} +2 -2
- package/dist/chunks/button.types-DsLMGraz.js.map +1 -0
- package/dist/chunks/buttonGroup.component-DcCHtB7Q.js +67 -0
- package/dist/chunks/buttonGroup.component-DcCHtB7Q.js.map +1 -0
- package/dist/chunks/buttonGroup.component-sM0NngWF.js +2 -0
- package/dist/chunks/buttonGroup.component-sM0NngWF.js.map +1 -0
- package/dist/chunks/card.component-HX-4Y0j7.js +51 -0
- package/dist/chunks/card.component-HX-4Y0j7.js.map +1 -0
- package/dist/chunks/card.component-ZIoJIWVV.js +2 -0
- package/dist/chunks/card.component-ZIoJIWVV.js.map +1 -0
- package/dist/chunks/{theme.provider-Din1M63M.js → chakra-BqBkjpvZ.js} +11283 -10816
- package/dist/chunks/chakra-BqBkjpvZ.js.map +1 -0
- package/dist/chunks/chakra-DmF8Cxqs.js +5 -0
- package/dist/chunks/chakra-DmF8Cxqs.js.map +1 -0
- package/dist/chunks/characterCounter.component-BXxyn_IB.js +2 -0
- package/dist/chunks/characterCounter.component-BXxyn_IB.js.map +1 -0
- package/dist/chunks/characterCounter.component-DhiMcztY.js +108 -0
- package/dist/chunks/characterCounter.component-DhiMcztY.js.map +1 -0
- package/dist/chunks/checkbox.component-DQVpdkqO.js +2 -0
- package/dist/chunks/checkbox.component-DQVpdkqO.js.map +1 -0
- package/dist/chunks/checkbox.component-DgyH37fL.js +90 -0
- package/dist/chunks/checkbox.component-DgyH37fL.js.map +1 -0
- package/dist/chunks/checkbox.records-DJfdKuOe.js +2 -0
- package/dist/chunks/checkbox.records-DJfdKuOe.js.map +1 -0
- package/dist/chunks/checkbox.records-JWbKQ684.js +14 -0
- package/dist/chunks/checkbox.records-JWbKQ684.js.map +1 -0
- package/dist/chunks/checkboxGroup.component-C8cndZPg.js +51 -0
- package/dist/chunks/checkboxGroup.component-C8cndZPg.js.map +1 -0
- package/dist/chunks/checkboxGroup.component-CcjCexJ4.js +2 -0
- package/dist/chunks/checkboxGroup.component-CcjCexJ4.js.map +1 -0
- package/dist/chunks/conversationCard.component-CcWQpwrW.js +2 -0
- package/dist/chunks/conversationCard.component-CcWQpwrW.js.map +1 -0
- package/dist/chunks/{conversationCard.component-F4TRYMIP.js → conversationCard.component-DKIHpfpL.js} +173 -120
- package/dist/chunks/conversationCard.component-DKIHpfpL.js.map +1 -0
- package/dist/chunks/date-1NFv48Qu.js +3598 -0
- package/dist/chunks/date-1NFv48Qu.js.map +1 -0
- package/dist/chunks/date-Du64Exix.js +15 -0
- package/dist/chunks/date-Du64Exix.js.map +1 -0
- package/dist/chunks/datePicker.component-BthgWsMj.js +2 -0
- package/dist/chunks/datePicker.component-BthgWsMj.js.map +1 -0
- package/dist/chunks/datePicker.component-Q_KcgvIw.js +749 -0
- package/dist/chunks/datePicker.component-Q_KcgvIw.js.map +1 -0
- package/dist/chunks/dnd-4IMP_kRN.js +6 -0
- package/dist/chunks/dnd-4IMP_kRN.js.map +1 -0
- package/dist/chunks/{sortableList.component-CjfPYcdW.js → dnd-DDR6viHX.js} +887 -978
- package/dist/chunks/dnd-DDR6viHX.js.map +1 -0
- package/dist/chunks/heading.component-B8niLTxz.js +10 -0
- package/dist/chunks/heading.component-B8niLTxz.js.map +1 -0
- package/dist/chunks/heading.component-CExbjSBi.js +2 -0
- package/dist/chunks/heading.component-CExbjSBi.js.map +1 -0
- package/dist/chunks/icon.component-B-BWWGO3.js +42 -0
- package/dist/chunks/icon.component-B-BWWGO3.js.map +1 -0
- package/dist/chunks/icon.component-Bmtf4XKw.js +2 -0
- package/dist/chunks/icon.component-Bmtf4XKw.js.map +1 -0
- package/dist/chunks/icon.types-2obj_NKG.js.map +1 -1
- package/dist/chunks/icon.types-DLbVfMjG.js.map +1 -1
- package/dist/chunks/link.component-COhBuuX3.js +58 -0
- package/dist/chunks/link.component-COhBuuX3.js.map +1 -0
- package/dist/chunks/link.component-DZnXQz1W.js +2 -0
- package/dist/chunks/link.component-DZnXQz1W.js.map +1 -0
- package/dist/chunks/menu.component-BEj878EN.js +2 -0
- package/dist/chunks/menu.component-BEj878EN.js.map +1 -0
- package/dist/chunks/menu.component-CR9SH_jk.js +390 -0
- package/dist/chunks/menu.component-CR9SH_jk.js.map +1 -0
- package/dist/chunks/modal.types-ChWBgALC.js +146 -0
- package/dist/chunks/modal.types-ChWBgALC.js.map +1 -0
- package/dist/chunks/modal.types-CofEmV4v.js +2 -0
- package/dist/chunks/modal.types-CofEmV4v.js.map +1 -0
- package/dist/chunks/notificationCounter.component-BH6anjzq.js +2 -0
- package/dist/chunks/notificationCounter.component-BH6anjzq.js.map +1 -0
- package/dist/chunks/{notificationCounter.component-BzhAKrKR.js → notificationCounter.component-CSuqzMTF.js} +15 -10
- package/dist/chunks/notificationCounter.component-CSuqzMTF.js.map +1 -0
- package/dist/chunks/popover.component-C1e_jTLD.js +2 -0
- package/dist/chunks/popover.component-C1e_jTLD.js.map +1 -0
- package/dist/chunks/popover.component-CzYfOF7z.js +221 -0
- package/dist/chunks/popover.component-CzYfOF7z.js.map +1 -0
- package/dist/chunks/popover.recipe-DnCuZJd3.js +123 -0
- package/dist/chunks/popover.recipe-DnCuZJd3.js.map +1 -0
- package/dist/chunks/popover.recipe-Pfz3evii.js +2 -0
- package/dist/chunks/popover.recipe-Pfz3evii.js.map +1 -0
- package/dist/chunks/popover.types-BF2KRf_I.js.map +1 -1
- package/dist/chunks/popover.types-C-V7Diw4.js +12 -0
- package/dist/chunks/popover.types-C-V7Diw4.js.map +1 -0
- package/dist/chunks/radio.records-BxCn4oUd.js +2 -0
- package/dist/chunks/radio.records-BxCn4oUd.js.map +1 -0
- package/dist/chunks/radio.records-Cc3kP4Vn.js +14 -0
- package/dist/chunks/radio.records-Cc3kP4Vn.js.map +1 -0
- package/dist/chunks/radioGroup.component-B1ZdhI8z.js +2 -0
- package/dist/chunks/radioGroup.component-B1ZdhI8z.js.map +1 -0
- package/dist/chunks/radioGroup.component-CsmHziwM.js +151 -0
- package/dist/chunks/radioGroup.component-CsmHziwM.js.map +1 -0
- package/dist/chunks/ratingDots.component-DFHojz_X.js +155 -0
- package/dist/chunks/ratingDots.component-DFHojz_X.js.map +1 -0
- package/dist/chunks/ratingDots.component-HugaFu0D.js +2 -0
- package/dist/chunks/ratingDots.component-HugaFu0D.js.map +1 -0
- package/dist/chunks/select.component-HI7aJx11.js +129 -0
- package/dist/chunks/select.component-HI7aJx11.js.map +1 -0
- package/dist/chunks/select.component-h5lPMmWB.js +2 -0
- package/dist/chunks/select.component-h5lPMmWB.js.map +1 -0
- package/dist/chunks/sortableList.component-B2hSRuex.js +2 -0
- package/dist/chunks/sortableList.component-B2hSRuex.js.map +1 -0
- package/dist/chunks/sortableList.component-DAIHsGEA.js +145 -0
- package/dist/chunks/sortableList.component-DAIHsGEA.js.map +1 -0
- package/dist/chunks/spinner.component-CUuidnSK.js +2 -0
- package/dist/chunks/spinner.component-CUuidnSK.js.map +1 -0
- package/dist/chunks/{spinner.component-vkhAVeU1.js → spinner.component-D5tkelNc.js} +19 -21
- package/dist/chunks/spinner.component-D5tkelNc.js.map +1 -0
- package/dist/chunks/spinner.types-BCLN5-H2.js.map +1 -1
- package/dist/chunks/spinner.types-g7cTFJkb.js.map +1 -1
- package/dist/chunks/styledAvatar.types-Cj3j5vXC.js +2 -0
- package/dist/chunks/styledAvatar.types-Cj3j5vXC.js.map +1 -0
- package/dist/chunks/{styledAvatar.types-TEOKzzqn.js → styledAvatar.types-DbSO8s7o.js} +19 -6
- package/dist/chunks/styledAvatar.types-DbSO8s7o.js.map +1 -0
- package/dist/chunks/switch.component-B1fXLRiO.js +53 -0
- package/dist/chunks/switch.component-B1fXLRiO.js.map +1 -0
- package/dist/chunks/switch.component-PH9nS7eN.js +2 -0
- package/dist/chunks/switch.component-PH9nS7eN.js.map +1 -0
- package/dist/chunks/tabs.component-6iPTLCx6.js +2 -0
- package/dist/chunks/tabs.component-6iPTLCx6.js.map +1 -0
- package/dist/chunks/tabs.component-DaUZITBw.js +87 -0
- package/dist/chunks/tabs.component-DaUZITBw.js.map +1 -0
- package/dist/chunks/tag.component-A__B03TA.js +66 -0
- package/dist/chunks/tag.component-A__B03TA.js.map +1 -0
- package/dist/chunks/tag.component-BjOfy3Bw.js +2 -0
- package/dist/chunks/tag.component-BjOfy3Bw.js.map +1 -0
- package/dist/chunks/tag.types-B-pzEt1I.js.map +1 -1
- package/dist/chunks/tag.types-BnDFgTvb.js.map +1 -1
- package/dist/chunks/tagBlock.component-Bx_hcjU4.js +2 -0
- package/dist/chunks/tagBlock.component-Bx_hcjU4.js.map +1 -0
- package/dist/chunks/{tagBlock.component-xwy8mG6_.js → tagBlock.component-Ch60_R7X.js} +36 -20
- package/dist/chunks/tagBlock.component-Ch60_R7X.js.map +1 -0
- package/dist/chunks/text.component-CBa_saMP.js +2 -0
- package/dist/chunks/text.component-CBa_saMP.js.map +1 -0
- package/dist/chunks/text.component-XYjOAc2s.js +10 -0
- package/dist/chunks/text.component-XYjOAc2s.js.map +1 -0
- package/dist/chunks/textInput.component-CdPvTnhj.js +2 -0
- package/dist/chunks/textInput.component-CdPvTnhj.js.map +1 -0
- package/dist/chunks/textInput.component-LjDvSnBy.js +98 -0
- package/dist/chunks/textInput.component-LjDvSnBy.js.map +1 -0
- package/dist/chunks/textarea.component-C7l9zJKx.js +51 -0
- package/dist/chunks/textarea.component-C7l9zJKx.js.map +1 -0
- package/dist/chunks/textarea.component-CKEdjCAq.js +2 -0
- package/dist/chunks/textarea.component-CKEdjCAq.js.map +1 -0
- package/dist/chunks/timePicker.component-BLYPjS1u.js +2 -0
- package/dist/chunks/timePicker.component-BLYPjS1u.js.map +1 -0
- package/dist/chunks/timePicker.component-DFT36RN_.js +246 -0
- package/dist/chunks/timePicker.component-DFT36RN_.js.map +1 -0
- package/dist/chunks/timeRange.component-CzJjkQzN.js +2 -0
- package/dist/chunks/timeRange.component-CzJjkQzN.js.map +1 -0
- package/dist/chunks/timeRange.component-KETq7cDb.js +17 -0
- package/dist/chunks/timeRange.component-KETq7cDb.js.map +1 -0
- package/dist/chunks/timestamp.component-CuqY4euh.js +2 -0
- package/dist/chunks/timestamp.component-CuqY4euh.js.map +1 -0
- package/dist/chunks/timestamp.component-D764INLm.js +37 -0
- package/dist/chunks/timestamp.component-D764INLm.js.map +1 -0
- package/dist/chunks/tooltip.component-C3v2m2T2.js +70 -0
- package/dist/chunks/tooltip.component-C3v2m2T2.js.map +1 -0
- package/dist/chunks/tooltip.component-qWFa28S5.js +2 -0
- package/dist/chunks/tooltip.component-qWFa28S5.js.map +1 -0
- package/dist/chunks/typography-Cqrokog3.js.map +1 -1
- package/dist/chunks/typography-CtiaGoJG.js.map +1 -1
- package/dist/chunks/typography.records-BPYXVuvi.js +2 -0
- package/dist/chunks/typography.records-BPYXVuvi.js.map +1 -0
- package/dist/chunks/typography.records-CG4wIBxE.js +24 -0
- package/dist/chunks/typography.records-CG4wIBxE.js.map +1 -0
- package/dist/chunks/useIconTextSizeMap-BK-pUrQv.js.map +1 -1
- package/dist/chunks/useIconTextSizeMap-BXmABb54.js.map +1 -1
- package/dist/chunks/vendor-BBfll6i3.js +11757 -0
- package/dist/chunks/vendor-BBfll6i3.js.map +1 -0
- package/dist/chunks/vendor-D-x6W6ez.js +57 -0
- package/dist/chunks/vendor-D-x6W6ez.js.map +1 -0
- package/dist/chunks/withFormControl-C7uVEpxe.js +2 -0
- package/dist/chunks/withFormControl-C7uVEpxe.js.map +1 -0
- package/dist/chunks/withFormControl-DSNvvAPD.js +149 -0
- package/dist/chunks/withFormControl-DSNvvAPD.js.map +1 -0
- package/dist/chunks/withTruncation-BskZBBVs.js +2 -0
- package/dist/chunks/withTruncation-BskZBBVs.js.map +1 -0
- package/dist/chunks/{withTruncation-DLR1Illa.js → withTruncation-C2xFKhgB.js} +28 -21
- package/dist/chunks/withTruncation-C2xFKhgB.js.map +1 -0
- package/dist/cjs/components/Alert/index.cjs +1 -1
- package/dist/cjs/components/Avatar/index.cjs +1 -1
- package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
- package/dist/cjs/components/Button/index.cjs +1 -1
- package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
- package/dist/cjs/components/Card/index.cjs +1 -1
- package/dist/cjs/components/Card/index.cjs.map +1 -1
- package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
- package/dist/cjs/components/Checkbox/index.cjs +1 -1
- package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
- package/dist/cjs/components/DatePicker/index.cjs +1 -1
- package/dist/cjs/components/Heading/index.cjs +1 -1
- package/dist/cjs/components/Icon/generated/index.cjs +1 -1
- package/dist/cjs/components/Icon/generated/index.cjs.map +1 -1
- package/dist/cjs/components/Icon/index.cjs +1 -1
- package/dist/cjs/components/Link/index.cjs +1 -1
- package/dist/cjs/components/Menu/index.cjs +1 -1
- package/dist/cjs/components/Modal/index.cjs +1 -1
- package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
- package/dist/cjs/components/NotificationCounter/index.cjs.map +1 -1
- package/dist/cjs/components/Picture/index.cjs +1 -1
- package/dist/cjs/components/Picture/index.cjs.map +1 -1
- package/dist/cjs/components/Popover/index.cjs +1 -1
- package/dist/cjs/components/RadioGroup/index.cjs +1 -1
- package/dist/cjs/components/RatingDots/index.cjs +1 -1
- package/dist/cjs/components/Select/index.cjs +1 -1
- package/dist/cjs/components/SortableList/index.cjs +1 -1
- package/dist/cjs/components/Spinner/index.cjs +1 -1
- package/dist/cjs/components/Swatch/index.cjs +1 -1
- package/dist/cjs/components/Swatch/index.cjs.map +1 -1
- package/dist/cjs/components/Switch/index.cjs +1 -1
- package/dist/cjs/components/Tabs/index.cjs +1 -1
- package/dist/cjs/components/Tag/index.cjs +1 -1
- package/dist/cjs/components/Text/index.cjs +1 -1
- package/dist/cjs/components/TextInput/index.cjs +1 -1
- package/dist/cjs/components/Textarea/index.cjs +1 -1
- package/dist/cjs/components/TimePicker/index.cjs +1 -1
- package/dist/cjs/components/TimeRange/index.cjs +1 -1
- package/dist/cjs/components/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/hocs/index.cjs +1 -1
- package/dist/cjs/hocs/index.cjs.map +1 -1
- package/dist/cjs/hooks/index.cjs +1 -1
- package/dist/cjs/hooks/index.cjs.map +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/{components → patterns}/ConversationCard/index.cjs +1 -1
- package/dist/cjs/{components → patterns}/StyledAvatar/index.cjs +1 -1
- package/dist/cjs/{components → patterns}/TagBlock/index.cjs +1 -1
- package/dist/cjs/{components → patterns}/Timestamp/index.cjs +1 -1
- package/dist/cjs/patterns/index.cjs +2 -0
- package/dist/cjs/shared/types/index.cjs +1 -1
- package/dist/cjs/shared/types/index.cjs.map +1 -1
- package/dist/cjs/theme/index.cjs +23 -1
- package/dist/cjs/theme/index.cjs.map +1 -1
- package/dist/cjs/theme/semanticTokens/index.cjs +1 -1
- package/dist/cjs/theme/semanticTokens/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/colors/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/generated/index.cjs +2 -0
- package/dist/esm/components/Alert/index.js +1 -1
- package/dist/esm/components/Avatar/index.js +2 -2
- package/dist/esm/components/AvatarGroup/index.js +1 -1
- package/dist/esm/components/Button/index.js +2 -2
- package/dist/esm/components/ButtonGroup/index.js +1 -1
- package/dist/esm/components/Card/index.js +4 -4
- package/dist/esm/components/Card/index.js.map +1 -1
- package/dist/esm/components/CharacterCounter/index.js +1 -1
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/CheckboxGroup/index.js +1 -1
- package/dist/esm/components/DatePicker/index.js +1 -1
- package/dist/esm/components/Heading/index.js +1 -1
- package/dist/esm/components/Icon/generated/index.js +1632 -401
- package/dist/esm/components/Icon/generated/index.js.map +1 -1
- package/dist/esm/components/Icon/index.js +1 -1
- package/dist/esm/components/Link/index.js +1 -1
- package/dist/esm/components/Menu/index.js +1 -1
- package/dist/esm/components/Modal/index.js +1 -1
- package/dist/esm/components/NotificationCounter/index.js +9 -4
- package/dist/esm/components/NotificationCounter/index.js.map +1 -1
- package/dist/esm/components/Picture/index.js +16 -1
- package/dist/esm/components/Picture/index.js.map +1 -1
- package/dist/esm/components/Popover/index.js +2 -2
- package/dist/esm/components/RadioGroup/index.js +2 -3
- package/dist/esm/components/RatingDots/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/SortableList/index.js +1 -1
- package/dist/esm/components/Spinner/index.js +1 -1
- package/dist/esm/components/Swatch/index.js +62 -3
- package/dist/esm/components/Swatch/index.js.map +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +2 -4
- package/dist/esm/components/Tag/index.js +1 -1
- package/dist/esm/components/Text/index.js +1 -1
- package/dist/esm/components/TextInput/index.js +1 -1
- package/dist/esm/components/Textarea/index.js +1 -1
- package/dist/esm/components/TimePicker/index.js +1 -1
- package/dist/esm/components/TimeRange/index.js +1 -1
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +95 -121
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/hocs/index.js +35 -4
- package/dist/esm/hocs/index.js.map +1 -1
- package/dist/esm/hooks/index.js +17 -8
- package/dist/esm/hooks/index.js.map +1 -1
- package/dist/esm/index.js +100 -144
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{components → patterns}/ConversationCard/index.js +1 -1
- package/dist/esm/{components → patterns}/StyledAvatar/index.js +1 -1
- package/dist/esm/{components → patterns}/TagBlock/index.js +1 -1
- package/dist/esm/patterns/Timestamp/index.js +5 -0
- package/dist/esm/patterns/index.js +13 -0
- package/dist/esm/patterns/index.js.map +1 -0
- package/dist/esm/shared/types/index.js +15 -6
- package/dist/esm/shared/types/index.js.map +1 -1
- package/dist/esm/theme/index.js +2608 -4
- package/dist/esm/theme/index.js.map +1 -1
- package/dist/esm/theme/semanticTokens/index.js +0 -2
- package/dist/esm/theme/semanticTokens/index.js.map +1 -1
- package/dist/esm/theme/tokens/colors/index.js.map +1 -1
- package/dist/esm/theme/tokens/generated/index.js +2 -0
- package/dist/esm/theme/tokens/generated/index.js.map +1 -0
- package/dist/types/components/Alert/alert.component.d.ts +13 -5
- package/dist/types/components/Alert/alert.recipe.d.ts +1 -1
- package/dist/types/components/Alert/alert.records.d.ts +5 -0
- package/dist/types/components/Alert/alert.types.d.ts +1 -1
- package/dist/types/components/Alert/components/AlertButton/alertButton.component.d.ts +1 -1
- package/dist/types/components/Alert.d.ts +2 -0
- package/dist/types/components/Avatar/avatar.recipe.d.ts +2 -2
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +1 -1
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.types.d.ts +1 -1
- package/dist/types/components/Avatar.d.ts +2 -0
- package/dist/types/components/AvatarGroup.d.ts +2 -0
- package/dist/types/components/Button/button.component.d.ts +3 -2
- package/dist/types/components/Button/button.recipe.d.ts +1 -1
- package/dist/types/components/Button/button.types.d.ts +2 -2
- package/dist/types/components/Button.d.ts +2 -0
- package/dist/types/components/ButtonGroup/buttonGroup.types.d.ts +1 -1
- package/dist/types/components/ButtonGroup.d.ts +2 -0
- package/dist/types/components/Card/card.component.d.ts +1 -1
- package/dist/types/components/Card.d.ts +2 -0
- package/dist/types/components/CharacterCounter.d.ts +2 -0
- package/dist/types/components/Checkbox/checkbox.component.d.ts +3 -4
- package/dist/types/components/Checkbox/checkbox.recipe.d.ts +1 -9
- package/dist/types/components/Checkbox.d.ts +2 -0
- package/dist/types/components/CheckboxGroup/checkboxGroup.component.d.ts +1 -1
- package/dist/types/components/CheckboxGroup.d.ts +2 -0
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.recipe.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.types.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts +2 -2
- package/dist/types/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.d.ts +1 -1
- package/dist/types/components/DatePicker/context/datePicker.context.d.ts +1 -1
- package/dist/types/components/DatePicker/datePicker.component.d.ts +1 -1
- package/dist/types/components/DatePicker/datePicker.types.d.ts +3 -3
- package/dist/types/components/DatePicker.d.ts +2 -0
- package/dist/types/components/Heading/heading.component.d.ts +3 -3
- package/dist/types/components/Heading/heading.types.d.ts +1 -1
- package/dist/types/components/Heading.d.ts +2 -0
- package/dist/types/components/Icon/generated/AlertCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalBird.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalCat.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalCow.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalDog.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalHorse.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalMouse.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalPig.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalSnake.d.ts +1 -1
- package/dist/types/components/Icon/generated/Archive.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowDown.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowDownRight.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowLeft.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowRight.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowUp.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowsIn.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowsOut.d.ts +1 -1
- package/dist/types/components/Icon/generated/Article.d.ts +1 -1
- package/dist/types/components/Icon/generated/Award.d.ts +1 -1
- package/dist/types/components/Icon/generated/Bank.d.ts +1 -1
- package/dist/types/components/Icon/generated/Bell.d.ts +1 -1
- package/dist/types/components/Icon/generated/BellCancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/Bone.d.ts +1 -1
- package/dist/types/components/Icon/generated/Bookmark.d.ts +1 -1
- package/dist/types/components/Icon/generated/BulkSelect.d.ts +1 -1
- package/dist/types/components/Icon/generated/Buttons.d.ts +1 -1
- package/dist/types/components/Icon/generated/CalendarCheck.d.ts +1 -1
- package/dist/types/components/Icon/generated/CalendarDate.d.ts +1 -1
- package/dist/types/components/Icon/generated/CalendarInfo.d.ts +1 -1
- package/dist/types/components/Icon/generated/CalendarPen.d.ts +1 -1
- package/dist/types/components/Icon/generated/CalendarPlus.d.ts +1 -1
- package/dist/types/components/Icon/generated/Camera.d.ts +1 -1
- package/dist/types/components/Icon/generated/CameraOff.d.ts +1 -1
- package/dist/types/components/Icon/generated/Cancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/CaretDown.d.ts +1 -1
- package/dist/types/components/Icon/generated/CaretUp.d.ts +1 -1
- package/dist/types/components/Icon/generated/Cellphone.d.ts +1 -1
- package/dist/types/components/Icon/generated/CellphoneCancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChainLink.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChatBubble.d.ts +1 -1
- package/dist/types/components/Icon/generated/Checkmark.d.ts +1 -1
- package/dist/types/components/Icon/generated/CheckmarkBox.d.ts +1 -1
- package/dist/types/components/Icon/generated/CheckmarkCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChevronDown.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChevronLeft.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChevronRight.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChevronUp.d.ts +1 -1
- package/dist/types/components/Icon/generated/Clinic.d.ts +1 -1
- package/dist/types/components/Icon/generated/Clock.d.ts +1 -1
- package/dist/types/components/Icon/generated/Close.d.ts +1 -1
- package/dist/types/components/Icon/generated/CloseCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/CloseCircleSolid.d.ts +1 -1
- package/dist/types/components/Icon/generated/Code.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCard.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoAmex.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoDiners.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoDiscover.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoGeneric.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoJcb.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoMastercard.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoUnionpay.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoVisa.d.ts +1 -1
- package/dist/types/components/Icon/generated/Cut.d.ts +1 -1
- package/dist/types/components/Icon/generated/Dollar.d.ts +1 -1
- package/dist/types/components/Icon/generated/DollarCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/DotsHorizontal.d.ts +1 -1
- package/dist/types/components/Icon/generated/DotsVertical.d.ts +1 -1
- package/dist/types/components/Icon/generated/DoubleArrowCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/Download.d.ts +1 -1
- package/dist/types/components/Icon/generated/EmailSend.d.ts +1 -1
- package/dist/types/components/Icon/generated/Envelope.d.ts +1 -1
- package/dist/types/components/Icon/generated/EnvelopeCancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/ExternalLink.d.ts +1 -1
- package/dist/types/components/Icon/generated/EyeOpen.d.ts +1 -1
- package/dist/types/components/Icon/generated/EyeSlash.d.ts +1 -1
- package/dist/types/components/Icon/generated/Eyedropper.d.ts +1 -1
- package/dist/types/components/Icon/generated/FileHealth.d.ts +1 -1
- package/dist/types/components/Icon/generated/Filter.d.ts +1 -1
- package/dist/types/components/Icon/generated/Form.d.ts +1 -1
- package/dist/types/components/Icon/generated/Gear.d.ts +1 -1
- package/dist/types/components/Icon/generated/Gif.d.ts +1 -1
- package/dist/types/components/Icon/generated/Grid.d.ts +1 -1
- package/dist/types/components/Icon/generated/Hashtag.d.ts +1 -1
- package/dist/types/components/Icon/generated/Health.d.ts +1 -1
- package/dist/types/components/Icon/generated/Heart.d.ts +1 -1
- package/dist/types/components/Icon/generated/HeartSolid.d.ts +1 -1
- package/dist/types/components/Icon/generated/House.d.ts +1 -1
- package/dist/types/components/Icon/generated/Image.d.ts +1 -1
- package/dist/types/components/Icon/generated/InfoCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/Input.d.ts +1 -1
- package/dist/types/components/Icon/generated/Invoice.d.ts +1 -1
- package/dist/types/components/Icon/generated/KanbanBoard.d.ts +1 -1
- package/dist/types/components/Icon/generated/List.d.ts +1 -1
- package/dist/types/components/Icon/generated/Liveagent.d.ts +1 -1
- package/dist/types/components/Icon/generated/Loader.d.ts +1 -1
- package/dist/types/components/Icon/generated/LocationMarker.d.ts +1 -1
- package/dist/types/components/Icon/generated/Lock.d.ts +1 -1
- package/dist/types/components/Icon/generated/Logo.d.ts +1 -1
- package/dist/types/components/Icon/generated/Loudspeaker.d.ts +1 -1
- package/dist/types/components/Icon/generated/Magic.d.ts +1 -1
- package/dist/types/components/Icon/generated/MagnifyingGlass.d.ts +1 -1
- package/dist/types/components/Icon/generated/Mailbox.d.ts +1 -1
- package/dist/types/components/Icon/generated/Menu.d.ts +1 -1
- package/dist/types/components/Icon/generated/Message.d.ts +1 -1
- package/dist/types/components/Icon/generated/MessageDetail.d.ts +1 -1
- package/dist/types/components/Icon/generated/MessageWarning.d.ts +1 -1
- package/dist/types/components/Icon/generated/Messages.d.ts +1 -1
- package/dist/types/components/Icon/generated/Microphone.d.ts +1 -1
- package/dist/types/components/Icon/generated/MicrophoneMute.d.ts +1 -1
- package/dist/types/components/Icon/generated/Minus.d.ts +1 -1
- package/dist/types/components/Icon/generated/MoveDown.d.ts +1 -1
- package/dist/types/components/Icon/generated/MoveLeft.d.ts +1 -1
- package/dist/types/components/Icon/generated/MoveRight.d.ts +1 -1
- package/dist/types/components/Icon/generated/MoveUp.d.ts +1 -1
- package/dist/types/components/Icon/generated/Notification.d.ts +1 -1
- package/dist/types/components/Icon/generated/Package.d.ts +1 -1
- package/dist/types/components/Icon/generated/Paperclip.d.ts +1 -1
- package/dist/types/components/Icon/generated/Pause.d.ts +1 -1
- package/dist/types/components/Icon/generated/Paw.d.ts +1 -1
- package/dist/types/components/Icon/generated/Pen.d.ts +1 -1
- package/dist/types/components/Icon/generated/PenSquare.d.ts +1 -1
- package/dist/types/components/Icon/generated/Person.d.ts +1 -1
- package/dist/types/components/Icon/generated/PersonAdd.d.ts +1 -1
- package/dist/types/components/Icon/generated/PersonCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/Phone.d.ts +1 -1
- package/dist/types/components/Icon/generated/PhoneButtons.d.ts +1 -1
- package/dist/types/components/Icon/generated/PhoneCancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/Pill.d.ts +1 -1
- package/dist/types/components/Icon/generated/Pin.d.ts +1 -1
- package/dist/types/components/Icon/generated/PinCancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/Play.d.ts +1 -1
- package/dist/types/components/Icon/generated/Plus.d.ts +1 -1
- package/dist/types/components/Icon/generated/Popup.d.ts +1 -1
- package/dist/types/components/Icon/generated/Printer.d.ts +1 -1
- package/dist/types/components/Icon/generated/QuestionMark.d.ts +1 -1
- package/dist/types/components/Icon/generated/QuestionMarkCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/QuestionMarkCircleSolid.d.ts +1 -1
- package/dist/types/components/Icon/generated/Record.d.ts +1 -1
- package/dist/types/components/Icon/generated/Report.d.ts +1 -1
- package/dist/types/components/Icon/generated/Ribbon.d.ts +1 -1
- package/dist/types/components/Icon/generated/Robot.d.ts +1 -1
- package/dist/types/components/Icon/generated/Send.d.ts +1 -1
- package/dist/types/components/Icon/generated/Sliders.d.ts +1 -1
- package/dist/types/components/Icon/generated/SmileyFace.d.ts +1 -1
- package/dist/types/components/Icon/generated/Sort.d.ts +1 -1
- package/dist/types/components/Icon/generated/Star.d.ts +1 -1
- package/dist/types/components/Icon/generated/StarCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/StarSolid.d.ts +1 -1
- package/dist/types/components/Icon/generated/Stop.d.ts +1 -1
- package/dist/types/components/Icon/generated/StopRecording.d.ts +1 -1
- package/dist/types/components/Icon/generated/Support.d.ts +1 -1
- package/dist/types/components/Icon/generated/Table.d.ts +1 -1
- package/dist/types/components/Icon/generated/Tag.d.ts +1 -1
- package/dist/types/components/Icon/generated/Target.d.ts +1 -1
- package/dist/types/components/Icon/generated/TargetSolid.d.ts +1 -1
- package/dist/types/components/Icon/generated/TaskList.d.ts +1 -1
- package/dist/types/components/Icon/generated/Team.d.ts +1 -1
- package/dist/types/components/Icon/generated/ThumbsDown.d.ts +1 -1
- package/dist/types/components/Icon/generated/ThumbsUp.d.ts +1 -1
- package/dist/types/components/Icon/generated/Transfer.d.ts +1 -1
- package/dist/types/components/Icon/generated/Trashcan.d.ts +1 -1
- package/dist/types/components/Icon/generated/TwoSquares.d.ts +1 -1
- package/dist/types/components/Icon/generated/Upload.d.ts +1 -1
- package/dist/types/components/Icon/generated/VideoCamera.d.ts +1 -1
- package/dist/types/components/Icon/generated/WarningSign.d.ts +1 -1
- package/dist/types/components/Icon/generated/Website.d.ts +1 -1
- package/dist/types/components/Icon/generated/Wrench.d.ts +1 -1
- package/dist/types/components/Icon/generated/index.d.ts +1 -1
- package/dist/types/components/Icon/generated.d.ts +2 -0
- package/dist/types/components/Icon/icon.component.d.ts +3 -2
- package/dist/types/components/Icon.d.ts +2 -0
- package/dist/types/components/Link/components/LinkIcon/linkIcon.component.d.ts +3 -3
- package/dist/types/components/Link.d.ts +2 -0
- package/dist/types/components/Menu/components/MenuButton/menuButton.components.d.ts +1 -1
- package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +7 -8
- package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.d.ts +1 -1
- package/dist/types/components/Menu/menu.component.d.ts +2 -2
- package/dist/types/components/Menu.d.ts +2 -0
- package/dist/types/components/Modal/modal.component.d.ts +1 -2
- package/dist/types/components/Modal/modal.recipe.d.ts +10 -2
- package/dist/types/components/Modal.d.ts +2 -0
- package/dist/types/components/NotificationCounter.d.ts +2 -0
- package/dist/types/components/Picture.d.ts +2 -0
- package/dist/types/components/Popover/popover.component.d.ts +5 -6
- package/dist/types/components/Popover/popover.recipe.d.ts +1 -1
- package/dist/types/components/Popover.d.ts +2 -0
- package/dist/types/components/RadioGroup/components/Radio/radio.component.d.ts +5 -9
- package/dist/types/components/RadioGroup/index.d.ts +0 -2
- package/dist/types/components/RadioGroup/radioGroup.component.d.ts +9 -3
- package/dist/types/components/RadioGroup/radioGroup.recipe.d.ts +1 -9
- package/dist/types/components/RadioGroup.d.ts +2 -0
- package/dist/types/components/RatingDots/components/RatingDot/ratingDot.component.d.ts +1 -1
- package/dist/types/components/RatingDots/components/RatingDot/ratingDot.recipe.d.ts +1 -1
- package/dist/types/components/RatingDots/ratingDots.component.d.ts +1 -2
- package/dist/types/components/RatingDots.d.ts +2 -0
- package/dist/types/components/Select/select.component.d.ts +4 -9
- package/dist/types/components/Select/select.types.d.ts +1 -2
- package/dist/types/components/Select.d.ts +2 -0
- package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.component.d.ts +1 -1
- package/dist/types/components/SortableList/index.d.ts +0 -1
- package/dist/types/components/SortableList/sortableList.component.d.ts +2 -2
- package/dist/types/components/SortableList.d.ts +2 -0
- package/dist/types/components/Spinner/spinner.component.d.ts +1 -1
- package/dist/types/components/Spinner/spinner.recipe.d.ts +1 -1
- package/dist/types/components/Spinner.d.ts +2 -0
- package/dist/types/components/Swatch/swatch.component.d.ts +1 -1
- package/dist/types/components/Swatch.d.ts +2 -0
- package/dist/types/components/Switch/switch.component.d.ts +4 -5
- package/dist/types/components/Switch/switch.recipe.d.ts +2 -2
- package/dist/types/components/Switch.d.ts +2 -0
- package/dist/types/components/Tabs/components/Tab/tab.component.d.ts +1 -1
- package/dist/types/components/Tabs/index.d.ts +0 -2
- package/dist/types/components/Tabs/tabs.component.d.ts +1 -1
- package/dist/types/components/Tabs/tabs.recipe.d.ts +1 -1
- package/dist/types/components/Tabs.d.ts +2 -0
- package/dist/types/components/Tag/tag.component.d.ts +3 -3
- package/dist/types/components/Tag/tag.recipe.d.ts +1 -1
- package/dist/types/components/Tag.d.ts +2 -0
- package/dist/types/components/Text/text.component.d.ts +3 -3
- package/dist/types/components/Text/text.recipe.d.ts +1 -0
- package/dist/types/components/Text/text.types.d.ts +1 -1
- package/dist/types/components/Text.d.ts +2 -0
- package/dist/types/components/TextInput/textInput.component.d.ts +4 -4
- package/dist/types/components/TextInput.d.ts +2 -0
- package/dist/types/components/Textarea/textarea.component.d.ts +4 -4
- package/dist/types/components/Textarea.d.ts +2 -0
- package/dist/types/components/TimePicker/components/TimeList/timeList.component.d.ts +1 -1
- package/dist/types/components/TimePicker/components/TimeOption/timeOption.component.d.ts +2 -2
- package/dist/types/components/TimePicker/timePicker.component.d.ts +1 -1
- package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
- package/dist/types/components/TimePicker.d.ts +2 -0
- package/dist/types/components/TimeRange.d.ts +2 -0
- package/dist/types/components/Tooltip/tooltip.component.d.ts +2 -4
- package/dist/types/components/Tooltip.d.ts +2 -0
- package/dist/types/components/index.d.ts +1 -9
- package/dist/types/components.d.ts +2 -0
- package/dist/types/hocs/withDarkMode/index.d.ts +2 -1
- package/dist/types/hocs/withFormControl/withFormControl.d.ts +1 -2
- package/dist/types/hocs/withFormControl/withFormControl.types.d.ts +1 -1
- package/dist/types/hocs/withLightMode/index.d.ts +2 -1
- package/dist/types/hocs/withTruncation.d.ts +1 -1
- package/dist/types/hocs.d.ts +2 -0
- package/dist/types/hooks/index.d.ts +0 -2
- package/dist/types/hooks/useColorMode/index.d.ts +2 -4
- package/dist/types/hooks.d.ts +2 -0
- package/dist/types/index.d.ts +0 -2
- package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +1 -1
- package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +2 -2
- package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +3 -3
- package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +2 -2
- package/dist/types/{components → patterns}/ConversationCard/conversationCard.component.d.ts +1 -1
- package/dist/types/patterns/ConversationCard.d.ts +2 -0
- package/dist/types/{components → patterns}/StyledAvatar/styledAvatar.component.d.ts +1 -1
- package/dist/types/patterns/StyledAvatar.d.ts +2 -0
- package/dist/types/{components → patterns}/TagBlock/tagBlock.component.d.ts +1 -1
- package/dist/types/patterns/TagBlock.d.ts +2 -0
- package/dist/types/{components → patterns}/Timestamp/timestamp.component.d.ts +2 -2
- package/dist/types/patterns/Timestamp.d.ts +2 -0
- package/dist/types/patterns/index.d.ts +4 -0
- package/dist/types/patterns.d.ts +2 -0
- package/dist/types/shared/types/theme.d.ts +1 -2
- package/dist/types/shared/types.d.ts +2 -0
- package/dist/types/shared/utils/sizes.d.ts +1 -1
- package/dist/types/theme/index.d.ts +5 -2
- package/dist/types/theme/providers/theme.provider.d.ts +3 -4
- package/dist/types/theme/semanticTokens/index.d.ts +0 -1
- package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +1 -5
- package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +2 -10
- package/dist/types/theme/semanticTokens/semanticTokens.types.d.ts +2 -2
- package/dist/types/theme/semanticTokens/utils/getSemanticColorToken.d.ts +2 -2
- package/dist/types/theme/semanticTokens.d.ts +2 -0
- package/dist/types/theme/theme.config.d.ts +0 -1
- package/dist/types/theme/theme.types.d.ts +22 -0
- package/dist/types/theme/tokens/blurs/blurs.types.d.ts +1 -1
- package/dist/types/theme/tokens/blurs.d.ts +2 -0
- package/dist/types/theme/tokens/borders/borders.types.d.ts +2 -2
- package/dist/types/theme/tokens/borders.d.ts +2 -0
- package/dist/types/theme/tokens/colors/colors.types.d.ts +2 -2
- package/dist/types/theme/tokens/colors.d.ts +2 -0
- package/dist/types/theme/tokens/generated/conditions.gen.d.ts +262 -0
- package/dist/types/theme/tokens/generated/index.d.ts +5 -0
- package/dist/types/theme/tokens/generated/prop-types.gen.d.ts +329 -0
- package/dist/types/theme/tokens/generated/recipes.gen.d.ts +1525 -0
- package/dist/types/theme/tokens/generated/system.gen.d.ts +693 -0
- package/dist/types/theme/tokens/generated/token.gen.d.ts +1896 -0
- package/dist/types/theme/tokens/generated.d.ts +2 -0
- package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
- package/dist/types/theme/tokens/shadows/shadows.types.d.ts +2 -2
- package/dist/types/theme/tokens/shadows.d.ts +2 -0
- package/dist/types/theme/tokens/sizes/sizes.config.d.ts +2 -16
- package/dist/types/theme/tokens/sizes/sizes.types.d.ts +2 -2
- package/dist/types/theme/tokens/sizes.d.ts +2 -0
- package/dist/types/theme/tokens/spacing/spacing.config.d.ts +3 -3
- package/dist/types/theme/tokens/spacing/spacing.types.d.ts +1 -1
- package/dist/types/theme/tokens/spacing.d.ts +2 -0
- package/dist/types/theme/tokens/transitions/transitions.config.d.ts +2 -2
- package/dist/types/theme/tokens/transitions/transitions.types.d.ts +2 -2
- package/dist/types/theme/tokens/transitions.d.ts +2 -0
- package/dist/types/theme/tokens/typography/typography.config.d.ts +71 -26
- package/dist/types/theme/tokens/typography/typography.types.d.ts +5 -5
- package/dist/types/theme/tokens/typography.d.ts +2 -0
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +10 -10
- package/dist/types/theme/tokens/zIndices/zIndices.types.d.ts +1 -1
- package/dist/types/theme/tokens/zIndices.d.ts +2 -0
- package/dist/types/theme/tokens.d.ts +2 -0
- package/dist/types/theme.d.ts +2 -0
- package/package.json +56 -65
- package/dist/chunks/IconLogo-C4aZqkn1.js +0 -2
- package/dist/chunks/IconLogo-C4aZqkn1.js.map +0 -1
- package/dist/chunks/IconLogo-UpYiHEKq.js +0 -50
- package/dist/chunks/IconLogo-UpYiHEKq.js.map +0 -1
- package/dist/chunks/alert.types-CEvBY7aM.js +0 -2
- package/dist/chunks/alert.types-CEvBY7aM.js.map +0 -1
- package/dist/chunks/alert.types-kAvlVPfo.js +0 -139
- package/dist/chunks/alert.types-kAvlVPfo.js.map +0 -1
- package/dist/chunks/attr-BMs6szZx.js +0 -2
- package/dist/chunks/attr-BMs6szZx.js.map +0 -1
- package/dist/chunks/attr-sm10PXOd.js +0 -5
- package/dist/chunks/attr-sm10PXOd.js.map +0 -1
- package/dist/chunks/avatar.component-DGfWk-0y.js +0 -394
- package/dist/chunks/avatar.component-DGfWk-0y.js.map +0 -1
- package/dist/chunks/avatar.component-Dv96XFOF.js +0 -2
- package/dist/chunks/avatar.component-Dv96XFOF.js.map +0 -1
- package/dist/chunks/avatar.types-C6dZZjdi.js +0 -6
- package/dist/chunks/avatar.types-C6dZZjdi.js.map +0 -1
- package/dist/chunks/avatarGroup.component-BZNCUbR4.js +0 -67
- package/dist/chunks/avatarGroup.component-BZNCUbR4.js.map +0 -1
- package/dist/chunks/avatarGroup.component-CfSBCJKG.js +0 -2
- package/dist/chunks/avatarGroup.component-CfSBCJKG.js.map +0 -1
- package/dist/chunks/box-Baq7UBls.js +0 -2
- package/dist/chunks/box-Baq7UBls.js.map +0 -1
- package/dist/chunks/box-Ck9I7FYv.js +0 -7
- package/dist/chunks/box-Ck9I7FYv.js.map +0 -1
- package/dist/chunks/button.component-Br9jCpBx.js.map +0 -1
- package/dist/chunks/button.component-CsJxgblU.js +0 -2
- package/dist/chunks/button.component-CsJxgblU.js.map +0 -1
- package/dist/chunks/button.types-BKXZNvN1.js.map +0 -1
- package/dist/chunks/button.types-Bl1awbi0.js.map +0 -1
- package/dist/chunks/buttonGroup.component-B6Ebjoh6.js +0 -2
- package/dist/chunks/buttonGroup.component-B6Ebjoh6.js.map +0 -1
- package/dist/chunks/buttonGroup.component-Hf7tGheU.js +0 -68
- package/dist/chunks/buttonGroup.component-Hf7tGheU.js.map +0 -1
- package/dist/chunks/card.component-BTiT4hHy.js +0 -2
- package/dist/chunks/card.component-BTiT4hHy.js.map +0 -1
- package/dist/chunks/card.component-D41Jhrj7.js +0 -58
- package/dist/chunks/card.component-D41Jhrj7.js.map +0 -1
- package/dist/chunks/card.types-Cixp7ouC.js +0 -5
- package/dist/chunks/card.types-Cixp7ouC.js.map +0 -1
- package/dist/chunks/card.types-MvkQTTZF.js +0 -2
- package/dist/chunks/card.types-MvkQTTZF.js.map +0 -1
- package/dist/chunks/characterCounter.component-DXmly18j.js +0 -2
- package/dist/chunks/characterCounter.component-DXmly18j.js.map +0 -1
- package/dist/chunks/characterCounter.component-ox9jRwSj.js +0 -84
- package/dist/chunks/characterCounter.component-ox9jRwSj.js.map +0 -1
- package/dist/chunks/checkbox.anatomy-BJmDPPss.js +0 -2
- package/dist/chunks/checkbox.anatomy-BJmDPPss.js.map +0 -1
- package/dist/chunks/checkbox.anatomy-Cay-Mr3g.js +0 -256
- package/dist/chunks/checkbox.anatomy-Cay-Mr3g.js.map +0 -1
- package/dist/chunks/checkbox.component-Wke7fO3F.js +0 -260
- package/dist/chunks/checkbox.component-Wke7fO3F.js.map +0 -1
- package/dist/chunks/checkbox.component-u7MR3n4o.js +0 -2
- package/dist/chunks/checkbox.component-u7MR3n4o.js.map +0 -1
- package/dist/chunks/checkboxGroup.component-BTWYKZIw.js +0 -52
- package/dist/chunks/checkboxGroup.component-BTWYKZIw.js.map +0 -1
- package/dist/chunks/checkboxGroup.component-CNnlDoOR.js +0 -2
- package/dist/chunks/checkboxGroup.component-CNnlDoOR.js.map +0 -1
- package/dist/chunks/config-BFcXpdZo.js +0 -2
- package/dist/chunks/config-BFcXpdZo.js.map +0 -1
- package/dist/chunks/config-DlTdf-Yt.js +0 -57
- package/dist/chunks/config-DlTdf-Yt.js.map +0 -1
- package/dist/chunks/conversationCard.component-D5UsucDp.js +0 -2
- package/dist/chunks/conversationCard.component-D5UsucDp.js.map +0 -1
- package/dist/chunks/conversationCard.component-F4TRYMIP.js.map +0 -1
- package/dist/chunks/create-recipe-context-D7FewUR4.js +0 -62
- package/dist/chunks/create-recipe-context-D7FewUR4.js.map +0 -1
- package/dist/chunks/create-recipe-context-sESms8Eo.js +0 -2
- package/dist/chunks/create-recipe-context-sESms8Eo.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-BJmsuxih.js +0 -97
- package/dist/chunks/create-slot-recipe-context-BJmsuxih.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js +0 -2
- package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js.map +0 -1
- package/dist/chunks/datePicker.component-7v8Bqmkg.js +0 -3019
- package/dist/chunks/datePicker.component-7v8Bqmkg.js.map +0 -1
- package/dist/chunks/datePicker.component-CBYLerCE.js +0 -15
- package/dist/chunks/datePicker.component-CBYLerCE.js.map +0 -1
- package/dist/chunks/dialog-BeivYfW7.js +0 -2
- package/dist/chunks/dialog-BeivYfW7.js.map +0 -1
- package/dist/chunks/dialog-HKVwK8-N.js +0 -136
- package/dist/chunks/dialog-HKVwK8-N.js.map +0 -1
- package/dist/chunks/divider.types-0j5qRXed.js +0 -47
- package/dist/chunks/divider.types-0j5qRXed.js.map +0 -1
- package/dist/chunks/divider.types-CK5oFy-i.js +0 -2
- package/dist/chunks/divider.types-CK5oFy-i.js.map +0 -1
- package/dist/chunks/empty-B5_AO6Pg.js +0 -2
- package/dist/chunks/empty-B5_AO6Pg.js.map +0 -1
- package/dist/chunks/empty-BU2EAux9.js +0 -8
- package/dist/chunks/empty-BU2EAux9.js.map +0 -1
- package/dist/chunks/factory-Ctbv0Ozn.js +0 -500
- package/dist/chunks/factory-Ctbv0Ozn.js.map +0 -1
- package/dist/chunks/factory-D6tdBUPG.js +0 -3
- package/dist/chunks/factory-D6tdBUPG.js.map +0 -1
- package/dist/chunks/flex-D14H6HbP.js +0 -2
- package/dist/chunks/flex-D14H6HbP.js.map +0 -1
- package/dist/chunks/flex-smlF8uQG.js +0 -40
- package/dist/chunks/flex-smlF8uQG.js.map +0 -1
- package/dist/chunks/float-DYLtz2A6.js +0 -64
- package/dist/chunks/float-DYLtz2A6.js.map +0 -1
- package/dist/chunks/float-OQXnYWBw.js +0 -2
- package/dist/chunks/float-OQXnYWBw.js.map +0 -1
- package/dist/chunks/format-BRt-TIiQ.js +0 -2
- package/dist/chunks/format-BRt-TIiQ.js.map +0 -1
- package/dist/chunks/format-DgHM6wFr.js +0 -1275
- package/dist/chunks/format-DgHM6wFr.js.map +0 -1
- package/dist/chunks/grid-item-BBt_-NiB.js +0 -91
- package/dist/chunks/grid-item-BBt_-NiB.js.map +0 -1
- package/dist/chunks/grid-item-BfAkrDSq.js +0 -2
- package/dist/chunks/grid-item-BfAkrDSq.js.map +0 -1
- package/dist/chunks/group-Cv7AQw1b.js +0 -2
- package/dist/chunks/group-Cv7AQw1b.js.map +0 -1
- package/dist/chunks/group-DPCVolOl.js +0 -139
- package/dist/chunks/group-DPCVolOl.js.map +0 -1
- package/dist/chunks/h-stack-Bjx9hlJo.js +0 -2
- package/dist/chunks/h-stack-Bjx9hlJo.js.map +0 -1
- package/dist/chunks/h-stack-Ce6JSBK2.js +0 -12
- package/dist/chunks/h-stack-Ce6JSBK2.js.map +0 -1
- package/dist/chunks/heading.component-BMvc5kM8.js +0 -2
- package/dist/chunks/heading.component-BMvc5kM8.js.map +0 -1
- package/dist/chunks/heading.component-Cgi_rt8Q.js +0 -12
- package/dist/chunks/heading.component-Cgi_rt8Q.js.map +0 -1
- package/dist/chunks/icon-button-DTZOklQ9.js +0 -119
- package/dist/chunks/icon-button-DTZOklQ9.js.map +0 -1
- package/dist/chunks/icon-button-DtjZ-SdQ.js +0 -2
- package/dist/chunks/icon-button-DtjZ-SdQ.js.map +0 -1
- package/dist/chunks/icon.component-B6R8-DRk.js +0 -2
- package/dist/chunks/icon.component-B6R8-DRk.js.map +0 -1
- package/dist/chunks/icon.component-S_qFWBRf.js +0 -32
- package/dist/chunks/icon.component-S_qFWBRf.js.map +0 -1
- package/dist/chunks/icons-BXxdrBrf.js +0 -216
- package/dist/chunks/icons-BXxdrBrf.js.map +0 -1
- package/dist/chunks/icons-CTpAjbC-.js +0 -2
- package/dist/chunks/icons-CTpAjbC-.js.map +0 -1
- package/dist/chunks/index-1syExFDc.js +0 -1328
- package/dist/chunks/index-1syExFDc.js.map +0 -1
- package/dist/chunks/index-4eV_IBpJ.js +0 -70
- package/dist/chunks/index-4eV_IBpJ.js.map +0 -1
- package/dist/chunks/index-50yAcekU.js +0 -371
- package/dist/chunks/index-50yAcekU.js.map +0 -1
- package/dist/chunks/index-AafzY9XD.js +0 -389
- package/dist/chunks/index-AafzY9XD.js.map +0 -1
- package/dist/chunks/index-BR7peqZO.js +0 -2
- package/dist/chunks/index-BR7peqZO.js.map +0 -1
- package/dist/chunks/index-BZO9oWt_.js +0 -444
- package/dist/chunks/index-BZO9oWt_.js.map +0 -1
- package/dist/chunks/index-C9d2jvcj.js +0 -7859
- package/dist/chunks/index-C9d2jvcj.js.map +0 -1
- package/dist/chunks/index-CHIISuTq.js +0 -3
- package/dist/chunks/index-CHIISuTq.js.map +0 -1
- package/dist/chunks/index-CIWHjZGL.js +0 -1189
- package/dist/chunks/index-CIWHjZGL.js.map +0 -1
- package/dist/chunks/index-CS8X6LiC.js +0 -2
- package/dist/chunks/index-CS8X6LiC.js.map +0 -1
- package/dist/chunks/index-ChpoK9RR.js +0 -290
- package/dist/chunks/index-ChpoK9RR.js.map +0 -1
- package/dist/chunks/index-CtXUprYH.js +0 -2
- package/dist/chunks/index-CtXUprYH.js.map +0 -1
- package/dist/chunks/index-CxYbW27D.js +0 -375
- package/dist/chunks/index-CxYbW27D.js.map +0 -1
- package/dist/chunks/index-D6LpzELR.js +0 -257
- package/dist/chunks/index-D6LpzELR.js.map +0 -1
- package/dist/chunks/index-DAWHN3cH.js +0 -86
- package/dist/chunks/index-DAWHN3cH.js.map +0 -1
- package/dist/chunks/index-DBk0LkcO.js +0 -2
- package/dist/chunks/index-DBk0LkcO.js.map +0 -1
- package/dist/chunks/index-DD49WSSW.js +0 -2
- package/dist/chunks/index-DD49WSSW.js.map +0 -1
- package/dist/chunks/index-DLX5_Po7.js +0 -10
- package/dist/chunks/index-DLX5_Po7.js.map +0 -1
- package/dist/chunks/index-DOXzraja.js +0 -2
- package/dist/chunks/index-DOXzraja.js.map +0 -1
- package/dist/chunks/index-DSedXH1s.js +0 -2
- package/dist/chunks/index-DSedXH1s.js.map +0 -1
- package/dist/chunks/index-DbTEJc-K.js +0 -2
- package/dist/chunks/index-DbTEJc-K.js.map +0 -1
- package/dist/chunks/index-DlJs9pM6.js +0 -1195
- package/dist/chunks/index-DlJs9pM6.js.map +0 -1
- package/dist/chunks/index-DowO8Ued.js +0 -2
- package/dist/chunks/index-DowO8Ued.js.map +0 -1
- package/dist/chunks/index-LDZVYRQt.js +0 -141
- package/dist/chunks/index-LDZVYRQt.js.map +0 -1
- package/dist/chunks/index-P9qG5HsO.js +0 -2
- package/dist/chunks/index-P9qG5HsO.js.map +0 -1
- package/dist/chunks/index-QTIBH1Or.js +0 -2
- package/dist/chunks/index-QTIBH1Or.js.map +0 -1
- package/dist/chunks/invertToken-DkyAF_BY.js +0 -10
- package/dist/chunks/invertToken-DkyAF_BY.js.map +0 -1
- package/dist/chunks/invertToken-Em3s32gh.js +0 -2
- package/dist/chunks/invertToken-Em3s32gh.js.map +0 -1
- package/dist/chunks/isSymbol-BQN49XhJ.js +0 -67
- package/dist/chunks/isSymbol-BQN49XhJ.js.map +0 -1
- package/dist/chunks/isSymbol-BdGeV_e0.js +0 -2
- package/dist/chunks/isSymbol-BdGeV_e0.js.map +0 -1
- package/dist/chunks/jsx-runtime-BjDatQAs.js +0 -23
- package/dist/chunks/jsx-runtime-BjDatQAs.js.map +0 -1
- package/dist/chunks/jsx-runtime-C5mzlN2N.js +0 -285
- package/dist/chunks/jsx-runtime-C5mzlN2N.js.map +0 -1
- package/dist/chunks/link.component--UJiv0xU.js +0 -36
- package/dist/chunks/link.component--UJiv0xU.js.map +0 -1
- package/dist/chunks/link.component-BCY_f6zw.js +0 -2
- package/dist/chunks/link.component-BCY_f6zw.js.map +0 -1
- package/dist/chunks/list-C_LmDoyW.js +0 -2
- package/dist/chunks/list-C_LmDoyW.js.map +0 -1
- package/dist/chunks/list-DqH5ttQG.js +0 -20
- package/dist/chunks/list-DqH5ttQG.js.map +0 -1
- package/dist/chunks/logo.types-R7sXqcB4.js +0 -2
- package/dist/chunks/logo.types-R7sXqcB4.js.map +0 -1
- package/dist/chunks/logo.types-jb-f-Z1C.js +0 -45
- package/dist/chunks/logo.types-jb-f-Z1C.js.map +0 -1
- package/dist/chunks/menu.component-BPggXzkH.js +0 -599
- package/dist/chunks/menu.component-BPggXzkH.js.map +0 -1
- package/dist/chunks/menu.component-OwlCMqw2.js +0 -2
- package/dist/chunks/menu.component-OwlCMqw2.js.map +0 -1
- package/dist/chunks/modal.types-4zzWdH2-.js +0 -95
- package/dist/chunks/modal.types-4zzWdH2-.js.map +0 -1
- package/dist/chunks/modal.types-BiEPKa2t.js +0 -2
- package/dist/chunks/modal.types-BiEPKa2t.js.map +0 -1
- package/dist/chunks/notificationCounter.component-BhZcuBmr.js +0 -2
- package/dist/chunks/notificationCounter.component-BhZcuBmr.js.map +0 -1
- package/dist/chunks/notificationCounter.component-BzhAKrKR.js.map +0 -1
- package/dist/chunks/notificationCounter.types-B_-siNfi.js +0 -2
- package/dist/chunks/notificationCounter.types-B_-siNfi.js.map +0 -1
- package/dist/chunks/notificationCounter.types-Dm4PSN2Y.js +0 -6
- package/dist/chunks/notificationCounter.types-Dm4PSN2Y.js.map +0 -1
- package/dist/chunks/omit-C-j4TrF5.js +0 -10
- package/dist/chunks/omit-C-j4TrF5.js.map +0 -1
- package/dist/chunks/omit-DqNeoZ8h.js +0 -2
- package/dist/chunks/omit-DqNeoZ8h.js.map +0 -1
- package/dist/chunks/picture.component-C2C2r_BU.js +0 -2
- package/dist/chunks/picture.component-C2C2r_BU.js.map +0 -1
- package/dist/chunks/picture.component-DECGd77u.js +0 -22
- package/dist/chunks/picture.component-DECGd77u.js.map +0 -1
- package/dist/chunks/pinInput.types-Bz0HF7PQ.js +0 -145
- package/dist/chunks/pinInput.types-Bz0HF7PQ.js.map +0 -1
- package/dist/chunks/pinInput.types-DoQJLvWY.js +0 -2
- package/dist/chunks/pinInput.types-DoQJLvWY.js.map +0 -1
- package/dist/chunks/popover-root-provider-C-Z3nqiD.js +0 -43
- package/dist/chunks/popover-root-provider-C-Z3nqiD.js.map +0 -1
- package/dist/chunks/popover-root-provider-C2iwUZJn.js +0 -2
- package/dist/chunks/popover-root-provider-C2iwUZJn.js.map +0 -1
- package/dist/chunks/popover.component-B1NHpxuL.js +0 -2
- package/dist/chunks/popover.component-B1NHpxuL.js.map +0 -1
- package/dist/chunks/popover.component-BOUBKQSa.js +0 -196
- package/dist/chunks/popover.component-BOUBKQSa.js.map +0 -1
- package/dist/chunks/popover.recipe-CQYAiRTB.js +0 -2
- package/dist/chunks/popover.recipe-CQYAiRTB.js.map +0 -1
- package/dist/chunks/popover.recipe-qpxHK0Qz.js +0 -241
- package/dist/chunks/popover.recipe-qpxHK0Qz.js.map +0 -1
- package/dist/chunks/popover.types-D1O-Ehsz.js +0 -7
- package/dist/chunks/popover.types-D1O-Ehsz.js.map +0 -1
- package/dist/chunks/provider-ClCAdPxy.js +0 -47
- package/dist/chunks/provider-ClCAdPxy.js.map +0 -1
- package/dist/chunks/provider-NDo8kOkE.js +0 -2
- package/dist/chunks/provider-NDo8kOkE.js.map +0 -1
- package/dist/chunks/radioGroup.types-BEIDLWVD.js +0 -2
- package/dist/chunks/radioGroup.types-BEIDLWVD.js.map +0 -1
- package/dist/chunks/radioGroup.types-CaOuRCIT.js +0 -219
- package/dist/chunks/radioGroup.types-CaOuRCIT.js.map +0 -1
- package/dist/chunks/ratingDots.component-BSxsE3Ri.js +0 -138
- package/dist/chunks/ratingDots.component-BSxsE3Ri.js.map +0 -1
- package/dist/chunks/ratingDots.component-TPth4wKQ.js +0 -2
- package/dist/chunks/ratingDots.component-TPth4wKQ.js.map +0 -1
- package/dist/chunks/render-strategy-C_zp9LNQ.js +0 -2
- package/dist/chunks/render-strategy-C_zp9LNQ.js.map +0 -1
- package/dist/chunks/render-strategy-dTkof8Jm.js +0 -12
- package/dist/chunks/render-strategy-dTkof8Jm.js.map +0 -1
- package/dist/chunks/select.component-91EorPLw.js +0 -2
- package/dist/chunks/select.component-91EorPLw.js.map +0 -1
- package/dist/chunks/select.component-CiPijmQE.js +0 -1054
- package/dist/chunks/select.component-CiPijmQE.js.map +0 -1
- package/dist/chunks/sortableList.component-CPYA3KKy.js +0 -6
- package/dist/chunks/sortableList.component-CPYA3KKy.js.map +0 -1
- package/dist/chunks/sortableList.component-CjfPYcdW.js.map +0 -1
- package/dist/chunks/spinner-BWqSIW6m.js +0 -8
- package/dist/chunks/spinner-BWqSIW6m.js.map +0 -1
- package/dist/chunks/spinner-BnpL14kK.js +0 -2
- package/dist/chunks/spinner-BnpL14kK.js.map +0 -1
- package/dist/chunks/spinner.component-CzOv8dIY.js +0 -2
- package/dist/chunks/spinner.component-CzOv8dIY.js.map +0 -1
- package/dist/chunks/spinner.component-vkhAVeU1.js.map +0 -1
- package/dist/chunks/stack-BKu3hWEQ.js +0 -2
- package/dist/chunks/stack-BKu3hWEQ.js.map +0 -1
- package/dist/chunks/stack-Dnuh5Zgf.js +0 -85
- package/dist/chunks/stack-Dnuh5Zgf.js.map +0 -1
- package/dist/chunks/styledAvatar.types-9huVpPvU.js +0 -2
- package/dist/chunks/styledAvatar.types-9huVpPvU.js.map +0 -1
- package/dist/chunks/styledAvatar.types-TEOKzzqn.js.map +0 -1
- package/dist/chunks/swatch.types-CtRInwzo.js +0 -67
- package/dist/chunks/swatch.types-CtRInwzo.js.map +0 -1
- package/dist/chunks/swatch.types-qncm_zG6.js +0 -2
- package/dist/chunks/swatch.types-qncm_zG6.js.map +0 -1
- package/dist/chunks/switch.component-B8gX8Te0.js +0 -154
- package/dist/chunks/switch.component-B8gX8Te0.js.map +0 -1
- package/dist/chunks/switch.component-CJ3nDOQj.js +0 -2
- package/dist/chunks/switch.component-CJ3nDOQj.js.map +0 -1
- package/dist/chunks/tab.types-D2Y_KCOG.js +0 -2
- package/dist/chunks/tab.types-D2Y_KCOG.js.map +0 -1
- package/dist/chunks/tab.types-eHuXLv2i.js +0 -616
- package/dist/chunks/tab.types-eHuXLv2i.js.map +0 -1
- package/dist/chunks/tag.component-BAH11mPX.js +0 -82
- package/dist/chunks/tag.component-BAH11mPX.js.map +0 -1
- package/dist/chunks/tag.component-DcEASytC.js +0 -2
- package/dist/chunks/tag.component-DcEASytC.js.map +0 -1
- package/dist/chunks/tagBlock.component-lQeyNLgK.js +0 -2
- package/dist/chunks/tagBlock.component-lQeyNLgK.js.map +0 -1
- package/dist/chunks/tagBlock.component-xwy8mG6_.js.map +0 -1
- package/dist/chunks/text.component-nhTe7fy0.js +0 -12
- package/dist/chunks/text.component-nhTe7fy0.js.map +0 -1
- package/dist/chunks/text.component-waIIFgwB.js +0 -2
- package/dist/chunks/text.component-waIIFgwB.js.map +0 -1
- package/dist/chunks/textInput.component-Bw1lEr8q.js +0 -2
- package/dist/chunks/textInput.component-Bw1lEr8q.js.map +0 -1
- package/dist/chunks/textInput.component-GBvY3agL.js +0 -169
- package/dist/chunks/textInput.component-GBvY3agL.js.map +0 -1
- package/dist/chunks/textarea.component-DDYGwqlz.js +0 -2
- package/dist/chunks/textarea.component-DDYGwqlz.js.map +0 -1
- package/dist/chunks/textarea.component-DPI4Y1tG.js +0 -79
- package/dist/chunks/textarea.component-DPI4Y1tG.js.map +0 -1
- package/dist/chunks/theme-BFbOz0Jj.js +0 -2
- package/dist/chunks/theme-BFbOz0Jj.js.map +0 -1
- package/dist/chunks/theme-BOK659O0.js +0 -5
- package/dist/chunks/theme-BOK659O0.js.map +0 -1
- package/dist/chunks/theme.provider-Din1M63M.js.map +0 -1
- package/dist/chunks/theme.provider-fEXubEDT.js +0 -28
- package/dist/chunks/theme.provider-fEXubEDT.js.map +0 -1
- package/dist/chunks/timePicker.component-3lHlD-Sl.js +0 -2
- package/dist/chunks/timePicker.component-3lHlD-Sl.js.map +0 -1
- package/dist/chunks/timePicker.component-B-zof_x8.js +0 -209
- package/dist/chunks/timePicker.component-B-zof_x8.js.map +0 -1
- package/dist/chunks/timeRange.component-CrHyiWyg.js +0 -18
- package/dist/chunks/timeRange.component-CrHyiWyg.js.map +0 -1
- package/dist/chunks/timeRange.component-l8jhl4Vv.js +0 -2
- package/dist/chunks/timeRange.component-l8jhl4Vv.js.map +0 -1
- package/dist/chunks/timestamp.component-B1UUyLk6.js +0 -2
- package/dist/chunks/timestamp.component-B1UUyLk6.js.map +0 -1
- package/dist/chunks/timestamp.component-Cm2EcVTa.js +0 -51
- package/dist/chunks/timestamp.component-Cm2EcVTa.js.map +0 -1
- package/dist/chunks/toaster.records-CDCJPDWP.js +0 -2
- package/dist/chunks/toaster.records-CDCJPDWP.js.map +0 -1
- package/dist/chunks/toaster.records-DjNU8CFN.js +0 -822
- package/dist/chunks/toaster.records-DjNU8CFN.js.map +0 -1
- package/dist/chunks/tooltip.component-BlX3B2Di.js +0 -2
- package/dist/chunks/tooltip.component-BlX3B2Di.js.map +0 -1
- package/dist/chunks/tooltip.component-CZjm8G_B.js +0 -492
- package/dist/chunks/tooltip.component-CZjm8G_B.js.map +0 -1
- package/dist/chunks/typography.records-CSy2LmDd.js +0 -2
- package/dist/chunks/typography.records-CSy2LmDd.js.map +0 -1
- package/dist/chunks/typography.records-Cq-V6T7j.js +0 -66
- package/dist/chunks/typography.records-Cq-V6T7j.js.map +0 -1
- package/dist/chunks/use-breakpoint-MQ7agQJe.js +0 -72
- package/dist/chunks/use-breakpoint-MQ7agQJe.js.map +0 -1
- package/dist/chunks/use-breakpoint-uBg4-8yY.js +0 -2
- package/dist/chunks/use-breakpoint-uBg4-8yY.js.map +0 -1
- package/dist/chunks/use-field-context-CArmgHPP.js +0 -2
- package/dist/chunks/use-field-context-CArmgHPP.js.map +0 -1
- package/dist/chunks/use-field-context-DF-c50-r.js +0 -12
- package/dist/chunks/use-field-context-DF-c50-r.js.map +0 -1
- package/dist/chunks/use-locale-context-D0LByRu9.js +0 -22
- package/dist/chunks/use-locale-context-D0LByRu9.js.map +0 -1
- package/dist/chunks/use-locale-context-DMynFc1_.js +0 -2301
- package/dist/chunks/use-locale-context-DMynFc1_.js.map +0 -1
- package/dist/chunks/use-radio-group-9-qfzljd.js +0 -2
- package/dist/chunks/use-radio-group-9-qfzljd.js.map +0 -1
- package/dist/chunks/use-radio-group-DdVEhdry.js +0 -16
- package/dist/chunks/use-radio-group-DdVEhdry.js.map +0 -1
- package/dist/chunks/use-recipe-DaPWl_pL.js +0 -2
- package/dist/chunks/use-recipe-DaPWl_pL.js.map +0 -1
- package/dist/chunks/use-recipe-d63ABaZ3.js +0 -13
- package/dist/chunks/use-recipe-d63ABaZ3.js.map +0 -1
- package/dist/chunks/use-slot-recipe-8liupslO.js +0 -2
- package/dist/chunks/use-slot-recipe-8liupslO.js.map +0 -1
- package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +0 -13
- package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +0 -1
- package/dist/chunks/usePortalContentRef-CTrvBQ7I.js +0 -2
- package/dist/chunks/usePortalContentRef-CTrvBQ7I.js.map +0 -1
- package/dist/chunks/usePortalContentRef-DO_jc4W9.js +0 -10
- package/dist/chunks/usePortalContentRef-DO_jc4W9.js.map +0 -1
- package/dist/chunks/v-stack-BZT7R_9f.js +0 -12
- package/dist/chunks/v-stack-BZT7R_9f.js.map +0 -1
- package/dist/chunks/v-stack-DxjgpeJ0.js +0 -2
- package/dist/chunks/v-stack-DxjgpeJ0.js.map +0 -1
- package/dist/chunks/walk-object-BrTExCqQ.js +0 -2
- package/dist/chunks/walk-object-BrTExCqQ.js.map +0 -1
- package/dist/chunks/walk-object-_CL3Bkm9.js +0 -28
- package/dist/chunks/walk-object-_CL3Bkm9.js.map +0 -1
- package/dist/chunks/withDarkMode-B9LErG-p.js +0 -2
- package/dist/chunks/withDarkMode-B9LErG-p.js.map +0 -1
- package/dist/chunks/withDarkMode-BE00aGRV.js +0 -21
- package/dist/chunks/withDarkMode-BE00aGRV.js.map +0 -1
- package/dist/chunks/withFormControl-6X6RWCqX.js +0 -360
- package/dist/chunks/withFormControl-6X6RWCqX.js.map +0 -1
- package/dist/chunks/withFormControl-COwU1OTv.js +0 -2
- package/dist/chunks/withFormControl-COwU1OTv.js.map +0 -1
- package/dist/chunks/withLightMode-UfFl5ry6.js +0 -20
- package/dist/chunks/withLightMode-UfFl5ry6.js.map +0 -1
- package/dist/chunks/withLightMode-fys9Cbqw.js +0 -2
- package/dist/chunks/withLightMode-fys9Cbqw.js.map +0 -1
- package/dist/chunks/withTruncation-BY4-q1lB.js +0 -2
- package/dist/chunks/withTruncation-BY4-q1lB.js.map +0 -1
- package/dist/chunks/withTruncation-DLR1Illa.js.map +0 -1
- package/dist/chunks/wrap-B8tBNeBY.js +0 -45
- package/dist/chunks/wrap-B8tBNeBY.js.map +0 -1
- package/dist/chunks/wrap-CNn1kyJX.js +0 -2
- package/dist/chunks/wrap-CNn1kyJX.js.map +0 -1
- package/dist/cjs/chakra/index.cjs +0 -2
- package/dist/cjs/chakra/index.cjs.map +0 -1
- package/dist/cjs/cli/generate-theme-types.cjs +0 -6
- package/dist/cjs/cli/generate-theme-types.cjs.map +0 -1
- package/dist/cjs/cli/postinstall.cjs +0 -3
- package/dist/cjs/cli/postinstall.cjs.map +0 -1
- package/dist/cjs/components/Divider/index.cjs +0 -2
- package/dist/cjs/components/Logo/generated/index.cjs +0 -2
- package/dist/cjs/components/Logo/index.cjs +0 -2
- package/dist/cjs/components/PinInput/index.cjs +0 -2
- package/dist/cjs/components/TagBlock/index.cjs.map +0 -1
- package/dist/cjs/components/Timestamp/index.cjs.map +0 -1
- package/dist/cjs/components/Toast/index.cjs +0 -2
- package/dist/cjs/components/Toast/index.cjs.map +0 -1
- package/dist/cjs/hocs/withDarkMode/index.cjs +0 -2
- package/dist/cjs/hocs/withDarkMode/index.cjs.map +0 -1
- package/dist/cjs/hocs/withLightMode/index.cjs +0 -2
- package/dist/cjs/hocs/withLightMode/index.cjs.map +0 -1
- package/dist/cjs/hooks/useBreakpoint/index.cjs +0 -2
- package/dist/cjs/hooks/useBreakpoint/index.cjs.map +0 -1
- package/dist/cjs/hooks/useColorMode/index.cjs +0 -2
- package/dist/cjs/hooks/useColorMode/index.cjs.map +0 -1
- package/dist/cjs/hooks/useColorModeValue/index.cjs +0 -2
- package/dist/cjs/hooks/useColorModeValue/index.cjs.map +0 -1
- package/dist/cjs/hooks/useDeviceType/index.cjs +0 -2
- package/dist/cjs/hooks/useDeviceType/index.cjs.map +0 -1
- package/dist/cjs/shared/index.cjs +0 -2
- package/dist/cjs/shared/index.cjs.map +0 -1
- package/dist/cjs/shared/records/index.cjs +0 -2
- package/dist/cjs/shared/records/index.cjs.map +0 -1
- package/dist/esm/chakra/index.js +0 -3252
- package/dist/esm/chakra/index.js.map +0 -1
- package/dist/esm/cli/generate-theme-types.js +0 -22
- package/dist/esm/cli/generate-theme-types.js.map +0 -1
- package/dist/esm/cli/postinstall.js +0 -19
- package/dist/esm/cli/postinstall.js.map +0 -1
- package/dist/esm/components/Divider/index.js +0 -8
- package/dist/esm/components/Logo/generated/index.js +0 -6
- package/dist/esm/components/Logo/index.js +0 -6
- package/dist/esm/components/PinInput/index.js +0 -6
- package/dist/esm/components/PinInput/index.js.map +0 -1
- package/dist/esm/components/StyledAvatar/index.js.map +0 -1
- package/dist/esm/components/TagBlock/index.js.map +0 -1
- package/dist/esm/components/Timestamp/index.js +0 -5
- package/dist/esm/components/Timestamp/index.js.map +0 -1
- package/dist/esm/components/Toast/index.js +0 -59
- package/dist/esm/components/Toast/index.js.map +0 -1
- package/dist/esm/hocs/withDarkMode/index.js +0 -5
- package/dist/esm/hocs/withDarkMode/index.js.map +0 -1
- package/dist/esm/hocs/withLightMode/index.js +0 -5
- package/dist/esm/hocs/withLightMode/index.js.map +0 -1
- package/dist/esm/hooks/useBreakpoint/index.js +0 -12
- package/dist/esm/hooks/useBreakpoint/index.js.map +0 -1
- package/dist/esm/hooks/useColorMode/index.js +0 -19
- package/dist/esm/hooks/useColorMode/index.js.map +0 -1
- package/dist/esm/hooks/useColorModeValue/index.js +0 -9
- package/dist/esm/hooks/useColorModeValue/index.js.map +0 -1
- package/dist/esm/hooks/useDeviceType/index.js +0 -12
- package/dist/esm/hooks/useDeviceType/index.js.map +0 -1
- package/dist/esm/shared/index.js +0 -11
- package/dist/esm/shared/index.js.map +0 -1
- package/dist/esm/shared/records/index.js +0 -18
- package/dist/esm/shared/records/index.js.map +0 -1
- package/dist/types/chakra/index.d.ts +0 -53
- package/dist/types/cli/generate-theme-types.d.ts +0 -2
- package/dist/types/cli/postinstall.d.ts +0 -2
- package/dist/types/components/Divider/divider.component.d.ts +0 -4
- package/dist/types/components/Divider/divider.types.d.ts +0 -6
- package/dist/types/components/Divider/index.d.ts +0 -2
- package/dist/types/components/Icon/generated/AiMicrophone.d.ts +0 -10
- package/dist/types/components/Logo/generated/FullLogo.d.ts +0 -10
- package/dist/types/components/Logo/generated/IconLogo.d.ts +0 -10
- package/dist/types/components/Logo/generated/index.d.ts +0 -4
- package/dist/types/components/Logo/index.d.ts +0 -2
- package/dist/types/components/Logo/logo.component.d.ts +0 -9
- package/dist/types/components/Logo/logo.recipe.d.ts +0 -24
- package/dist/types/components/Logo/logo.types.d.ts +0 -4
- package/dist/types/components/PinInput/index.d.ts +0 -2
- package/dist/types/components/PinInput/pinInput.component.d.ts +0 -12
- package/dist/types/components/PinInput/pinInput.recipe.d.ts +0 -21
- package/dist/types/components/PinInput/pinInput.types.d.ts +0 -2
- package/dist/types/components/RadioGroup/radioGroup.types.d.ts +0 -2
- package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +0 -12
- package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +0 -7
- package/dist/types/components/Toast/components/Toaster/toaster.records.d.ts +0 -11
- package/dist/types/components/Toast/components/Toaster/toaster.types.d.ts +0 -12
- package/dist/types/components/Toast/index.d.ts +0 -2
- package/dist/types/components/Toast/toast.component.d.ts +0 -14
- package/dist/types/components/Toast/toast.recipe.d.ts +0 -21
- package/dist/types/components/Toast/toast.types.d.ts +0 -19
- package/dist/types/components/Toast/useToast.d.ts +0 -3
- package/dist/types/components/Tooltip/tooltip.recipe.d.ts +0 -1
- package/dist/types/hocs/withDarkMode/withDarkMode.d.ts +0 -2
- package/dist/types/hocs/withLightMode/withLightMode.d.ts +0 -2
- package/dist/types/hooks/useBreakpoint/index.d.ts +0 -1
- package/dist/types/hooks/useDeviceType/index.d.ts +0 -3
- package/dist/types/hooks/usePortalContentRef.d.ts +0 -6
- package/dist/types/shared/index.d.ts +0 -1
- package/dist/types/shared/records/index.d.ts +0 -1
- package/dist/types/shared/records/status.d.ts +0 -5
- /package/dist/cjs/{components → patterns}/ConversationCard/index.cjs.map +0 -0
- /package/dist/cjs/{components/Divider → patterns/StyledAvatar}/index.cjs.map +0 -0
- /package/dist/cjs/{components/Logo/generated → patterns/TagBlock}/index.cjs.map +0 -0
- /package/dist/cjs/{components/Logo → patterns/Timestamp}/index.cjs.map +0 -0
- /package/dist/cjs/{components/PinInput → patterns}/index.cjs.map +0 -0
- /package/dist/cjs/{components/StyledAvatar → theme/tokens/generated}/index.cjs.map +0 -0
- /package/dist/esm/{components → patterns}/ConversationCard/index.js.map +0 -0
- /package/dist/esm/{components/Divider → patterns/StyledAvatar}/index.js.map +0 -0
- /package/dist/esm/{components/Logo/generated → patterns/TagBlock}/index.js.map +0 -0
- /package/dist/esm/{components/Logo → patterns/Timestamp}/index.js.map +0 -0
- /package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +0 -0
- /package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +0 -0
- /package/dist/types/{components → patterns}/ConversationCard/index.d.ts +0 -0
- /package/dist/types/{components → patterns}/StyledAvatar/index.d.ts +0 -0
- /package/dist/types/{components → patterns}/StyledAvatar/styledAvatar.types.d.ts +0 -0
- /package/dist/types/{components → patterns}/TagBlock/index.d.ts +0 -0
- /package/dist/types/{components → patterns}/TagBlock/tagBlock.types.d.ts +0 -0
- /package/dist/types/{components → patterns}/Timestamp/index.d.ts +0 -0
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import { B as Kn } from "./button.component-Br9jCpBx.js";
|
|
5
|
-
import { W as Un } from "./text.component-nhTe7fy0.js";
|
|
6
|
-
import { F as Wn } from "./flex-smlF8uQG.js";
|
|
7
|
-
import { L as Hn, a as Vn } from "./list-DqH5ttQG.js";
|
|
8
|
-
function qn() {
|
|
1
|
+
import M, { useLayoutEffect as Ln, useEffect as I, useRef as T, useMemo as A, useCallback as F, useState as X, memo as Pn, useReducer as kn, createContext as Ke, useContext as ve, forwardRef as zn, cloneElement as Bn } from "react";
|
|
2
|
+
import { bO as ze } from "./vendor-BBfll6i3.js";
|
|
3
|
+
function Fn() {
|
|
9
4
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
10
5
|
t[n] = arguments[n];
|
|
11
|
-
return
|
|
6
|
+
return A(
|
|
12
7
|
() => (r) => {
|
|
13
8
|
t.forEach((o) => o(r));
|
|
14
9
|
},
|
|
@@ -16,38 +11,38 @@ function qn() {
|
|
|
16
11
|
t
|
|
17
12
|
);
|
|
18
13
|
}
|
|
19
|
-
const
|
|
20
|
-
function
|
|
14
|
+
const lt = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
|
|
15
|
+
function Re(e) {
|
|
21
16
|
const t = Object.prototype.toString.call(e);
|
|
22
17
|
return t === "[object Window]" || // In Electron context the Window object serializes to [object global]
|
|
23
18
|
t === "[object global]";
|
|
24
19
|
}
|
|
25
|
-
function
|
|
20
|
+
function St(e) {
|
|
26
21
|
return "nodeType" in e;
|
|
27
22
|
}
|
|
28
|
-
function
|
|
23
|
+
function $(e) {
|
|
29
24
|
var t, n;
|
|
30
|
-
return e ?
|
|
25
|
+
return e ? Re(e) ? e : St(e) && (t = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? t : window : window;
|
|
31
26
|
}
|
|
32
|
-
function
|
|
27
|
+
function Rt(e) {
|
|
33
28
|
const {
|
|
34
29
|
Document: t
|
|
35
|
-
} =
|
|
30
|
+
} = $(e);
|
|
36
31
|
return e instanceof t;
|
|
37
32
|
}
|
|
38
|
-
function
|
|
39
|
-
return
|
|
33
|
+
function Ue(e) {
|
|
34
|
+
return Re(e) ? !1 : e instanceof $(e).HTMLElement;
|
|
40
35
|
}
|
|
41
|
-
function
|
|
42
|
-
return e instanceof
|
|
36
|
+
function Gt(e) {
|
|
37
|
+
return e instanceof $(e).SVGElement;
|
|
43
38
|
}
|
|
44
|
-
function
|
|
45
|
-
return e ?
|
|
39
|
+
function Ee(e) {
|
|
40
|
+
return e ? Re(e) ? e.document : St(e) ? Rt(e) ? e : Ue(e) || Gt(e) ? e.ownerDocument : document : document : document;
|
|
46
41
|
}
|
|
47
|
-
const
|
|
48
|
-
function
|
|
49
|
-
const t =
|
|
50
|
-
return
|
|
42
|
+
const _ = lt ? Ln : I;
|
|
43
|
+
function ct(e) {
|
|
44
|
+
const t = T(e);
|
|
45
|
+
return _(() => {
|
|
51
46
|
t.current = e;
|
|
52
47
|
}), F(function() {
|
|
53
48
|
for (var n = arguments.length, r = new Array(n), o = 0; o < n; o++)
|
|
@@ -55,24 +50,24 @@ function ut(e) {
|
|
|
55
50
|
return t.current == null ? void 0 : t.current(...r);
|
|
56
51
|
}, []);
|
|
57
52
|
}
|
|
58
|
-
function
|
|
59
|
-
const e =
|
|
53
|
+
function Xn() {
|
|
54
|
+
const e = T(null), t = F((r, o) => {
|
|
60
55
|
e.current = setInterval(r, o);
|
|
61
56
|
}, []), n = F(() => {
|
|
62
57
|
e.current !== null && (clearInterval(e.current), e.current = null);
|
|
63
58
|
}, []);
|
|
64
59
|
return [t, n];
|
|
65
60
|
}
|
|
66
|
-
function
|
|
61
|
+
function $e(e, t) {
|
|
67
62
|
t === void 0 && (t = [e]);
|
|
68
|
-
const n =
|
|
69
|
-
return
|
|
63
|
+
const n = T(e);
|
|
64
|
+
return _(() => {
|
|
70
65
|
n.current !== e && (n.current = e);
|
|
71
66
|
}, t), n;
|
|
72
67
|
}
|
|
73
|
-
function
|
|
74
|
-
const n =
|
|
75
|
-
return
|
|
68
|
+
function We(e, t) {
|
|
69
|
+
const n = T();
|
|
70
|
+
return A(
|
|
76
71
|
() => {
|
|
77
72
|
const r = e(n.current);
|
|
78
73
|
return n.current = r, r;
|
|
@@ -81,8 +76,8 @@ function He(e, t) {
|
|
|
81
76
|
[...t]
|
|
82
77
|
);
|
|
83
78
|
}
|
|
84
|
-
function
|
|
85
|
-
const t =
|
|
79
|
+
function nt(e) {
|
|
80
|
+
const t = ct(e), n = T(null), r = F(
|
|
86
81
|
(o) => {
|
|
87
82
|
o !== n.current && t?.(o, n.current), n.current = o;
|
|
88
83
|
},
|
|
@@ -91,30 +86,30 @@ function rt(e) {
|
|
|
91
86
|
);
|
|
92
87
|
return [n, r];
|
|
93
88
|
}
|
|
94
|
-
function
|
|
95
|
-
const t =
|
|
96
|
-
return
|
|
89
|
+
function rt(e) {
|
|
90
|
+
const t = T();
|
|
91
|
+
return I(() => {
|
|
97
92
|
t.current = e;
|
|
98
93
|
}, [e]), t.current;
|
|
99
94
|
}
|
|
100
|
-
let
|
|
101
|
-
function
|
|
102
|
-
return
|
|
95
|
+
let bt = {};
|
|
96
|
+
function He(e, t) {
|
|
97
|
+
return A(() => {
|
|
103
98
|
if (t)
|
|
104
99
|
return t;
|
|
105
|
-
const n =
|
|
106
|
-
return
|
|
100
|
+
const n = bt[e] == null ? 0 : bt[e] + 1;
|
|
101
|
+
return bt[e] = n, e + "-" + n;
|
|
107
102
|
}, [e, t]);
|
|
108
103
|
}
|
|
109
|
-
function
|
|
104
|
+
function _t(e) {
|
|
110
105
|
return function(t) {
|
|
111
106
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
|
|
112
107
|
r[o - 1] = arguments[o];
|
|
113
108
|
return r.reduce((i, s) => {
|
|
114
109
|
const a = Object.entries(s);
|
|
115
|
-
for (const [l,
|
|
110
|
+
for (const [l, u] of a) {
|
|
116
111
|
const d = i[l];
|
|
117
|
-
d != null && (i[l] = d + e *
|
|
112
|
+
d != null && (i[l] = d + e * u);
|
|
118
113
|
}
|
|
119
114
|
return i;
|
|
120
115
|
}, {
|
|
@@ -122,28 +117,28 @@ function on(e) {
|
|
|
122
117
|
});
|
|
123
118
|
};
|
|
124
119
|
}
|
|
125
|
-
const
|
|
126
|
-
function
|
|
120
|
+
const Se = /* @__PURE__ */ _t(1), je = /* @__PURE__ */ _t(-1);
|
|
121
|
+
function $n(e) {
|
|
127
122
|
return "clientX" in e && "clientY" in e;
|
|
128
123
|
}
|
|
129
|
-
function
|
|
124
|
+
function ut(e) {
|
|
130
125
|
if (!e)
|
|
131
126
|
return !1;
|
|
132
127
|
const {
|
|
133
128
|
KeyboardEvent: t
|
|
134
|
-
} =
|
|
129
|
+
} = $(e.target);
|
|
135
130
|
return t && e instanceof t;
|
|
136
131
|
}
|
|
137
|
-
function
|
|
132
|
+
function jn(e) {
|
|
138
133
|
if (!e)
|
|
139
134
|
return !1;
|
|
140
135
|
const {
|
|
141
136
|
TouchEvent: t
|
|
142
|
-
} =
|
|
137
|
+
} = $(e.target);
|
|
143
138
|
return t && e instanceof t;
|
|
144
139
|
}
|
|
145
|
-
function
|
|
146
|
-
if (
|
|
140
|
+
function ot(e) {
|
|
141
|
+
if (jn(e)) {
|
|
147
142
|
if (e.touches && e.touches.length) {
|
|
148
143
|
const {
|
|
149
144
|
clientX: t,
|
|
@@ -164,7 +159,7 @@ function it(e) {
|
|
|
164
159
|
};
|
|
165
160
|
}
|
|
166
161
|
}
|
|
167
|
-
return
|
|
162
|
+
return $n(e) ? {
|
|
168
163
|
x: e.clientX,
|
|
169
164
|
y: e.clientY
|
|
170
165
|
} : null;
|
|
@@ -208,24 +203,24 @@ const be = /* @__PURE__ */ Object.freeze({
|
|
|
208
203
|
return t + " " + n + "ms " + r;
|
|
209
204
|
}
|
|
210
205
|
}
|
|
211
|
-
}),
|
|
212
|
-
function
|
|
213
|
-
return e.matches(
|
|
206
|
+
}), Bt = "a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";
|
|
207
|
+
function Yn(e) {
|
|
208
|
+
return e.matches(Bt) ? e : e.querySelector(Bt);
|
|
214
209
|
}
|
|
215
|
-
const
|
|
210
|
+
const Kn = {
|
|
216
211
|
display: "none"
|
|
217
212
|
};
|
|
218
|
-
function
|
|
213
|
+
function Un(e) {
|
|
219
214
|
let {
|
|
220
215
|
id: t,
|
|
221
216
|
value: n
|
|
222
217
|
} = e;
|
|
223
218
|
return M.createElement("div", {
|
|
224
219
|
id: t,
|
|
225
|
-
style:
|
|
220
|
+
style: Kn
|
|
226
221
|
}, n);
|
|
227
222
|
}
|
|
228
|
-
function
|
|
223
|
+
function Wn(e) {
|
|
229
224
|
let {
|
|
230
225
|
id: t,
|
|
231
226
|
announcement: n,
|
|
@@ -253,8 +248,8 @@ function tr(e) {
|
|
|
253
248
|
"aria-atomic": !0
|
|
254
249
|
}, n);
|
|
255
250
|
}
|
|
256
|
-
function
|
|
257
|
-
const [e, t] =
|
|
251
|
+
function Hn() {
|
|
252
|
+
const [e, t] = X("");
|
|
258
253
|
return {
|
|
259
254
|
announce: F((r) => {
|
|
260
255
|
r != null && t(r);
|
|
@@ -262,17 +257,17 @@ function nr() {
|
|
|
262
257
|
announcement: e
|
|
263
258
|
};
|
|
264
259
|
}
|
|
265
|
-
const
|
|
266
|
-
function
|
|
267
|
-
const t =
|
|
268
|
-
|
|
260
|
+
const Qt = /* @__PURE__ */ Ke(null);
|
|
261
|
+
function Vn(e) {
|
|
262
|
+
const t = ve(Qt);
|
|
263
|
+
I(() => {
|
|
269
264
|
if (!t)
|
|
270
265
|
throw new Error("useDndMonitor must be used within a children of <DndContext>");
|
|
271
266
|
return t(e);
|
|
272
267
|
}, [e, t]);
|
|
273
268
|
}
|
|
274
|
-
function
|
|
275
|
-
const [e] =
|
|
269
|
+
function qn() {
|
|
270
|
+
const [e] = X(() => /* @__PURE__ */ new Set()), t = F((r) => (e.add(r), () => e.delete(r)), [e]);
|
|
276
271
|
return [F((r) => {
|
|
277
272
|
let {
|
|
278
273
|
type: o,
|
|
@@ -284,13 +279,13 @@ function or() {
|
|
|
284
279
|
});
|
|
285
280
|
}, [e]), t];
|
|
286
281
|
}
|
|
287
|
-
const
|
|
282
|
+
const Jn = {
|
|
288
283
|
draggable: `
|
|
289
284
|
To pick up a draggable item, press the space bar.
|
|
290
285
|
While dragging, use the arrow keys to move the item.
|
|
291
286
|
Press space again to drop the item in its new position, or press escape to cancel.
|
|
292
287
|
`
|
|
293
|
-
},
|
|
288
|
+
}, Gn = {
|
|
294
289
|
onDragStart(e) {
|
|
295
290
|
let {
|
|
296
291
|
active: t
|
|
@@ -318,63 +313,63 @@ const ir = {
|
|
|
318
313
|
return "Dragging was cancelled. Draggable item " + t.id + " was dropped.";
|
|
319
314
|
}
|
|
320
315
|
};
|
|
321
|
-
function
|
|
316
|
+
function _n(e) {
|
|
322
317
|
let {
|
|
323
|
-
announcements: t =
|
|
318
|
+
announcements: t = Gn,
|
|
324
319
|
container: n,
|
|
325
320
|
hiddenTextDescribedById: r,
|
|
326
|
-
screenReaderInstructions: o =
|
|
321
|
+
screenReaderInstructions: o = Jn
|
|
327
322
|
} = e;
|
|
328
323
|
const {
|
|
329
324
|
announce: i,
|
|
330
325
|
announcement: s
|
|
331
|
-
} =
|
|
332
|
-
if (
|
|
333
|
-
|
|
334
|
-
}, []),
|
|
335
|
-
onDragStart(
|
|
326
|
+
} = Hn(), a = He("DndLiveRegion"), [l, u] = X(!1);
|
|
327
|
+
if (I(() => {
|
|
328
|
+
u(!0);
|
|
329
|
+
}, []), Vn(A(() => ({
|
|
330
|
+
onDragStart(c) {
|
|
336
331
|
let {
|
|
337
332
|
active: g
|
|
338
|
-
} =
|
|
333
|
+
} = c;
|
|
339
334
|
i(t.onDragStart({
|
|
340
335
|
active: g
|
|
341
336
|
}));
|
|
342
337
|
},
|
|
343
|
-
onDragMove(
|
|
338
|
+
onDragMove(c) {
|
|
344
339
|
let {
|
|
345
340
|
active: g,
|
|
346
341
|
over: f
|
|
347
|
-
} =
|
|
342
|
+
} = c;
|
|
348
343
|
t.onDragMove && i(t.onDragMove({
|
|
349
344
|
active: g,
|
|
350
345
|
over: f
|
|
351
346
|
}));
|
|
352
347
|
},
|
|
353
|
-
onDragOver(
|
|
348
|
+
onDragOver(c) {
|
|
354
349
|
let {
|
|
355
350
|
active: g,
|
|
356
351
|
over: f
|
|
357
|
-
} =
|
|
352
|
+
} = c;
|
|
358
353
|
i(t.onDragOver({
|
|
359
354
|
active: g,
|
|
360
355
|
over: f
|
|
361
356
|
}));
|
|
362
357
|
},
|
|
363
|
-
onDragEnd(
|
|
358
|
+
onDragEnd(c) {
|
|
364
359
|
let {
|
|
365
360
|
active: g,
|
|
366
361
|
over: f
|
|
367
|
-
} =
|
|
362
|
+
} = c;
|
|
368
363
|
i(t.onDragEnd({
|
|
369
364
|
active: g,
|
|
370
365
|
over: f
|
|
371
366
|
}));
|
|
372
367
|
},
|
|
373
|
-
onDragCancel(
|
|
368
|
+
onDragCancel(c) {
|
|
374
369
|
let {
|
|
375
370
|
active: g,
|
|
376
371
|
over: f
|
|
377
|
-
} =
|
|
372
|
+
} = c;
|
|
378
373
|
i(t.onDragCancel({
|
|
379
374
|
active: g,
|
|
380
375
|
over: f
|
|
@@ -382,23 +377,23 @@ function ar(e) {
|
|
|
382
377
|
}
|
|
383
378
|
}), [i, t])), !l)
|
|
384
379
|
return null;
|
|
385
|
-
const d = M.createElement(M.Fragment, null, M.createElement(
|
|
380
|
+
const d = M.createElement(M.Fragment, null, M.createElement(Un, {
|
|
386
381
|
id: r,
|
|
387
382
|
value: o.draggable
|
|
388
|
-
}), M.createElement(
|
|
383
|
+
}), M.createElement(Wn, {
|
|
389
384
|
id: a,
|
|
390
385
|
announcement: s
|
|
391
386
|
}));
|
|
392
|
-
return n ?
|
|
387
|
+
return n ? ze.createPortal(d, n) : d;
|
|
393
388
|
}
|
|
394
389
|
var P;
|
|
395
390
|
(function(e) {
|
|
396
391
|
e.DragStart = "dragStart", e.DragMove = "dragMove", e.DragEnd = "dragEnd", e.DragCancel = "dragCancel", e.DragOver = "dragOver", e.RegisterDroppable = "registerDroppable", e.SetDroppableDisabled = "setDroppableDisabled", e.UnregisterDroppable = "unregisterDroppable";
|
|
397
392
|
})(P || (P = {}));
|
|
398
|
-
function
|
|
393
|
+
function it() {
|
|
399
394
|
}
|
|
400
|
-
function
|
|
401
|
-
return
|
|
395
|
+
function Io(e, t) {
|
|
396
|
+
return A(
|
|
402
397
|
() => ({
|
|
403
398
|
sensor: e,
|
|
404
399
|
options: t ?? {}
|
|
@@ -407,24 +402,24 @@ function Kt(e, t) {
|
|
|
407
402
|
[e, t]
|
|
408
403
|
);
|
|
409
404
|
}
|
|
410
|
-
function
|
|
405
|
+
function To() {
|
|
411
406
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
412
407
|
t[n] = arguments[n];
|
|
413
|
-
return
|
|
408
|
+
return A(
|
|
414
409
|
() => [...t].filter((r) => r != null),
|
|
415
410
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
416
411
|
[...t]
|
|
417
412
|
);
|
|
418
413
|
}
|
|
419
|
-
const
|
|
414
|
+
const Q = /* @__PURE__ */ Object.freeze({
|
|
420
415
|
x: 0,
|
|
421
416
|
y: 0
|
|
422
417
|
});
|
|
423
|
-
function
|
|
418
|
+
function Qn(e, t) {
|
|
424
419
|
return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
|
|
425
420
|
}
|
|
426
|
-
function
|
|
427
|
-
const n =
|
|
421
|
+
function Zn(e, t) {
|
|
422
|
+
const n = ot(e);
|
|
428
423
|
if (!n)
|
|
429
424
|
return "0 0";
|
|
430
425
|
const r = {
|
|
@@ -433,7 +428,7 @@ function ur(e, t) {
|
|
|
433
428
|
};
|
|
434
429
|
return r.x + "% " + r.y + "%";
|
|
435
430
|
}
|
|
436
|
-
function
|
|
431
|
+
function er(e, t) {
|
|
437
432
|
let {
|
|
438
433
|
data: {
|
|
439
434
|
value: n
|
|
@@ -445,7 +440,7 @@ function dr(e, t) {
|
|
|
445
440
|
} = t;
|
|
446
441
|
return n - r;
|
|
447
442
|
}
|
|
448
|
-
function
|
|
443
|
+
function tr(e, t) {
|
|
449
444
|
let {
|
|
450
445
|
data: {
|
|
451
446
|
value: n
|
|
@@ -457,7 +452,7 @@ function fr(e, t) {
|
|
|
457
452
|
} = t;
|
|
458
453
|
return r - n;
|
|
459
454
|
}
|
|
460
|
-
function
|
|
455
|
+
function Ft(e) {
|
|
461
456
|
let {
|
|
462
457
|
left: t,
|
|
463
458
|
top: n,
|
|
@@ -478,45 +473,45 @@ function Ut(e) {
|
|
|
478
473
|
y: n + r
|
|
479
474
|
}];
|
|
480
475
|
}
|
|
481
|
-
function
|
|
476
|
+
function Zt(e, t) {
|
|
482
477
|
if (!e || e.length === 0)
|
|
483
478
|
return null;
|
|
484
479
|
const [n] = e;
|
|
485
480
|
return n[t];
|
|
486
481
|
}
|
|
487
|
-
const
|
|
482
|
+
const nr = (e) => {
|
|
488
483
|
let {
|
|
489
484
|
collisionRect: t,
|
|
490
485
|
droppableRects: n,
|
|
491
486
|
droppableContainers: r
|
|
492
487
|
} = e;
|
|
493
|
-
const o =
|
|
488
|
+
const o = Ft(t), i = [];
|
|
494
489
|
for (const s of r) {
|
|
495
490
|
const {
|
|
496
491
|
id: a
|
|
497
492
|
} = s, l = n.get(a);
|
|
498
493
|
if (l) {
|
|
499
|
-
const
|
|
494
|
+
const u = Ft(l), d = o.reduce((g, f, w) => g + Qn(u[w], f), 0), c = Number((d / 4).toFixed(4));
|
|
500
495
|
i.push({
|
|
501
496
|
id: a,
|
|
502
497
|
data: {
|
|
503
498
|
droppableContainer: s,
|
|
504
|
-
value:
|
|
499
|
+
value: c
|
|
505
500
|
}
|
|
506
501
|
});
|
|
507
502
|
}
|
|
508
503
|
}
|
|
509
|
-
return i.sort(
|
|
504
|
+
return i.sort(er);
|
|
510
505
|
};
|
|
511
|
-
function
|
|
506
|
+
function rr(e, t) {
|
|
512
507
|
const n = Math.max(t.top, e.top), r = Math.max(t.left, e.left), o = Math.min(t.left + t.width, e.left + e.width), i = Math.min(t.top + t.height, e.top + e.height), s = o - r, a = i - n;
|
|
513
508
|
if (r < o && n < i) {
|
|
514
|
-
const l = t.width * t.height,
|
|
515
|
-
return Number(
|
|
509
|
+
const l = t.width * t.height, u = e.width * e.height, d = s * a, c = d / (l + u - d);
|
|
510
|
+
return Number(c.toFixed(4));
|
|
516
511
|
}
|
|
517
512
|
return 0;
|
|
518
513
|
}
|
|
519
|
-
const
|
|
514
|
+
const or = (e) => {
|
|
520
515
|
let {
|
|
521
516
|
collisionRect: t,
|
|
522
517
|
droppableRects: n,
|
|
@@ -528,7 +523,7 @@ const vr = (e) => {
|
|
|
528
523
|
id: s
|
|
529
524
|
} = i, a = n.get(s);
|
|
530
525
|
if (a) {
|
|
531
|
-
const l =
|
|
526
|
+
const l = rr(a, t);
|
|
532
527
|
l > 0 && o.push({
|
|
533
528
|
id: s,
|
|
534
529
|
data: {
|
|
@@ -538,22 +533,22 @@ const vr = (e) => {
|
|
|
538
533
|
});
|
|
539
534
|
}
|
|
540
535
|
}
|
|
541
|
-
return o.sort(
|
|
536
|
+
return o.sort(tr);
|
|
542
537
|
};
|
|
543
|
-
function
|
|
538
|
+
function ir(e, t, n) {
|
|
544
539
|
return {
|
|
545
540
|
...e,
|
|
546
541
|
scaleX: t && n ? t.width / n.width : 1,
|
|
547
542
|
scaleY: t && n ? t.height / n.height : 1
|
|
548
543
|
};
|
|
549
544
|
}
|
|
550
|
-
function
|
|
545
|
+
function en(e, t) {
|
|
551
546
|
return e && t ? {
|
|
552
547
|
x: e.left - t.left,
|
|
553
548
|
y: e.top - t.top
|
|
554
|
-
} :
|
|
549
|
+
} : Q;
|
|
555
550
|
}
|
|
556
|
-
function
|
|
551
|
+
function sr(e) {
|
|
557
552
|
return function(n) {
|
|
558
553
|
for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
559
554
|
o[i - 1] = arguments[i];
|
|
@@ -568,8 +563,8 @@ function br(e) {
|
|
|
568
563
|
});
|
|
569
564
|
};
|
|
570
565
|
}
|
|
571
|
-
const
|
|
572
|
-
function
|
|
566
|
+
const ar = /* @__PURE__ */ sr(1);
|
|
567
|
+
function tn(e) {
|
|
573
568
|
if (e.startsWith("matrix3d(")) {
|
|
574
569
|
const t = e.slice(9, -1).split(/, /);
|
|
575
570
|
return {
|
|
@@ -589,8 +584,8 @@ function cn(e) {
|
|
|
589
584
|
}
|
|
590
585
|
return null;
|
|
591
586
|
}
|
|
592
|
-
function
|
|
593
|
-
const r =
|
|
587
|
+
function lr(e, t, n) {
|
|
588
|
+
const r = tn(t);
|
|
594
589
|
if (!r)
|
|
595
590
|
return e;
|
|
596
591
|
const {
|
|
@@ -598,28 +593,28 @@ function yr(e, t, n) {
|
|
|
598
593
|
scaleY: i,
|
|
599
594
|
x: s,
|
|
600
595
|
y: a
|
|
601
|
-
} = r, l = e.left - s - (1 - o) * parseFloat(n),
|
|
596
|
+
} = r, l = e.left - s - (1 - o) * parseFloat(n), u = e.top - a - (1 - i) * parseFloat(n.slice(n.indexOf(" ") + 1)), d = o ? e.width / o : e.width, c = i ? e.height / i : e.height;
|
|
602
597
|
return {
|
|
603
598
|
width: d,
|
|
604
|
-
height:
|
|
605
|
-
top:
|
|
599
|
+
height: c,
|
|
600
|
+
top: u,
|
|
606
601
|
right: l + d,
|
|
607
|
-
bottom:
|
|
602
|
+
bottom: u + c,
|
|
608
603
|
left: l
|
|
609
604
|
};
|
|
610
605
|
}
|
|
611
|
-
const
|
|
606
|
+
const cr = {
|
|
612
607
|
ignoreTransform: !1
|
|
613
608
|
};
|
|
614
|
-
function
|
|
615
|
-
t === void 0 && (t =
|
|
609
|
+
function Ae(e, t) {
|
|
610
|
+
t === void 0 && (t = cr);
|
|
616
611
|
let n = e.getBoundingClientRect();
|
|
617
612
|
if (t.ignoreTransform) {
|
|
618
613
|
const {
|
|
619
|
-
transform:
|
|
614
|
+
transform: u,
|
|
620
615
|
transformOrigin: d
|
|
621
|
-
} =
|
|
622
|
-
|
|
616
|
+
} = $(e).getComputedStyle(e);
|
|
617
|
+
u && (n = lr(n, u, d));
|
|
623
618
|
}
|
|
624
619
|
const {
|
|
625
620
|
top: r,
|
|
@@ -638,12 +633,12 @@ function Oe(e, t) {
|
|
|
638
633
|
right: l
|
|
639
634
|
};
|
|
640
635
|
}
|
|
641
|
-
function
|
|
642
|
-
return
|
|
636
|
+
function Xt(e) {
|
|
637
|
+
return Ae(e, {
|
|
643
638
|
ignoreTransform: !0
|
|
644
639
|
});
|
|
645
640
|
}
|
|
646
|
-
function
|
|
641
|
+
function ur(e) {
|
|
647
642
|
const t = e.innerWidth, n = e.innerHeight;
|
|
648
643
|
return {
|
|
649
644
|
top: 0,
|
|
@@ -654,62 +649,62 @@ function xr(e) {
|
|
|
654
649
|
height: n
|
|
655
650
|
};
|
|
656
651
|
}
|
|
657
|
-
function
|
|
658
|
-
return t === void 0 && (t =
|
|
652
|
+
function dr(e, t) {
|
|
653
|
+
return t === void 0 && (t = $(e).getComputedStyle(e)), t.position === "fixed";
|
|
659
654
|
}
|
|
660
|
-
function
|
|
661
|
-
t === void 0 && (t =
|
|
655
|
+
function fr(e, t) {
|
|
656
|
+
t === void 0 && (t = $(e).getComputedStyle(e));
|
|
662
657
|
const n = /(auto|scroll|overlay)/;
|
|
663
658
|
return ["overflow", "overflowX", "overflowY"].some((o) => {
|
|
664
659
|
const i = t[o];
|
|
665
660
|
return typeof i == "string" ? n.test(i) : !1;
|
|
666
661
|
});
|
|
667
662
|
}
|
|
668
|
-
function
|
|
663
|
+
function dt(e, t) {
|
|
669
664
|
const n = [];
|
|
670
665
|
function r(o) {
|
|
671
666
|
if (t != null && n.length >= t || !o)
|
|
672
667
|
return n;
|
|
673
|
-
if (
|
|
668
|
+
if (Rt(o) && o.scrollingElement != null && !n.includes(o.scrollingElement))
|
|
674
669
|
return n.push(o.scrollingElement), n;
|
|
675
|
-
if (!
|
|
670
|
+
if (!Ue(o) || Gt(o) || n.includes(o))
|
|
676
671
|
return n;
|
|
677
|
-
const i =
|
|
678
|
-
return o !== e &&
|
|
672
|
+
const i = $(e).getComputedStyle(o);
|
|
673
|
+
return o !== e && fr(o, i) && n.push(o), dr(o, i) ? n : r(o.parentNode);
|
|
679
674
|
}
|
|
680
675
|
return e ? r(e) : n;
|
|
681
676
|
}
|
|
682
|
-
function
|
|
683
|
-
const [t] =
|
|
677
|
+
function nn(e) {
|
|
678
|
+
const [t] = dt(e, 1);
|
|
684
679
|
return t ?? null;
|
|
685
680
|
}
|
|
686
|
-
function
|
|
687
|
-
return !
|
|
681
|
+
function mt(e) {
|
|
682
|
+
return !lt || !e ? null : Re(e) ? e : St(e) ? Rt(e) || e === Ee(e).scrollingElement ? window : Ue(e) ? e : null : null;
|
|
688
683
|
}
|
|
689
|
-
function
|
|
690
|
-
return
|
|
684
|
+
function rn(e) {
|
|
685
|
+
return Re(e) ? e.scrollX : e.scrollLeft;
|
|
691
686
|
}
|
|
692
|
-
function
|
|
693
|
-
return
|
|
687
|
+
function on(e) {
|
|
688
|
+
return Re(e) ? e.scrollY : e.scrollTop;
|
|
694
689
|
}
|
|
695
|
-
function
|
|
690
|
+
function xt(e) {
|
|
696
691
|
return {
|
|
697
|
-
x:
|
|
698
|
-
y:
|
|
692
|
+
x: rn(e),
|
|
693
|
+
y: on(e)
|
|
699
694
|
};
|
|
700
695
|
}
|
|
701
696
|
var k;
|
|
702
697
|
(function(e) {
|
|
703
698
|
e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
|
|
704
699
|
})(k || (k = {}));
|
|
705
|
-
function
|
|
706
|
-
return !
|
|
700
|
+
function sn(e) {
|
|
701
|
+
return !lt || !e ? !1 : e === document.scrollingElement;
|
|
707
702
|
}
|
|
708
|
-
function
|
|
703
|
+
function an(e) {
|
|
709
704
|
const t = {
|
|
710
705
|
x: 0,
|
|
711
706
|
y: 0
|
|
712
|
-
}, n =
|
|
707
|
+
}, n = sn(e) ? {
|
|
713
708
|
height: window.innerHeight,
|
|
714
709
|
width: window.innerWidth
|
|
715
710
|
} : {
|
|
@@ -728,24 +723,24 @@ function hn(e) {
|
|
|
728
723
|
minScroll: t
|
|
729
724
|
};
|
|
730
725
|
}
|
|
731
|
-
const
|
|
726
|
+
const gr = {
|
|
732
727
|
x: 0.2,
|
|
733
728
|
y: 0.2
|
|
734
729
|
};
|
|
735
|
-
function
|
|
730
|
+
function hr(e, t, n, r, o) {
|
|
736
731
|
let {
|
|
737
732
|
top: i,
|
|
738
733
|
left: s,
|
|
739
734
|
right: a,
|
|
740
735
|
bottom: l
|
|
741
736
|
} = n;
|
|
742
|
-
r === void 0 && (r = 10), o === void 0 && (o =
|
|
737
|
+
r === void 0 && (r = 10), o === void 0 && (o = gr);
|
|
743
738
|
const {
|
|
744
|
-
isTop:
|
|
739
|
+
isTop: u,
|
|
745
740
|
isBottom: d,
|
|
746
|
-
isLeft:
|
|
741
|
+
isLeft: c,
|
|
747
742
|
isRight: g
|
|
748
|
-
} =
|
|
743
|
+
} = an(e), f = {
|
|
749
744
|
x: 0,
|
|
750
745
|
y: 0
|
|
751
746
|
}, w = {
|
|
@@ -755,12 +750,12 @@ function Rr(e, t, n, r, o) {
|
|
|
755
750
|
height: t.height * o.y,
|
|
756
751
|
width: t.width * o.x
|
|
757
752
|
};
|
|
758
|
-
return !
|
|
753
|
+
return !u && i <= t.top + h.height ? (f.y = k.Backward, w.y = r * Math.abs((t.top + h.height - i) / h.height)) : !d && l >= t.bottom - h.height && (f.y = k.Forward, w.y = r * Math.abs((t.bottom - h.height - l) / h.height)), !g && a >= t.right - h.width ? (f.x = k.Forward, w.x = r * Math.abs((t.right - h.width - a) / h.width)) : !c && s <= t.left + h.width && (f.x = k.Backward, w.x = r * Math.abs((t.left + h.width - s) / h.width)), {
|
|
759
754
|
direction: f,
|
|
760
755
|
speed: w
|
|
761
756
|
};
|
|
762
757
|
}
|
|
763
|
-
function
|
|
758
|
+
function vr(e) {
|
|
764
759
|
if (e === document.scrollingElement) {
|
|
765
760
|
const {
|
|
766
761
|
innerWidth: i,
|
|
@@ -790,17 +785,17 @@ function Er(e) {
|
|
|
790
785
|
height: e.clientHeight
|
|
791
786
|
};
|
|
792
787
|
}
|
|
793
|
-
function
|
|
794
|
-
return e.reduce((t, n) =>
|
|
788
|
+
function ln(e) {
|
|
789
|
+
return e.reduce((t, n) => Se(t, xt(n)), Q);
|
|
795
790
|
}
|
|
796
|
-
function
|
|
797
|
-
return e.reduce((t, n) => t +
|
|
791
|
+
function pr(e) {
|
|
792
|
+
return e.reduce((t, n) => t + rn(n), 0);
|
|
798
793
|
}
|
|
799
|
-
function
|
|
800
|
-
return e.reduce((t, n) => t +
|
|
794
|
+
function br(e) {
|
|
795
|
+
return e.reduce((t, n) => t + on(n), 0);
|
|
801
796
|
}
|
|
802
|
-
function
|
|
803
|
-
if (t === void 0 && (t =
|
|
797
|
+
function cn(e, t) {
|
|
798
|
+
if (t === void 0 && (t = Ae), !e)
|
|
804
799
|
return;
|
|
805
800
|
const {
|
|
806
801
|
top: n,
|
|
@@ -808,24 +803,24 @@ function pn(e, t) {
|
|
|
808
803
|
bottom: o,
|
|
809
804
|
right: i
|
|
810
805
|
} = t(e);
|
|
811
|
-
|
|
806
|
+
nn(e) && (o <= 0 || i <= 0 || n >= window.innerHeight || r >= window.innerWidth) && e.scrollIntoView({
|
|
812
807
|
block: "center",
|
|
813
808
|
inline: "center"
|
|
814
809
|
});
|
|
815
810
|
}
|
|
816
|
-
const
|
|
817
|
-
class
|
|
811
|
+
const mr = [["x", ["left", "right"], pr], ["y", ["top", "bottom"], br]];
|
|
812
|
+
class Et {
|
|
818
813
|
constructor(t, n) {
|
|
819
814
|
this.rect = void 0, this.width = void 0, this.height = void 0, this.top = void 0, this.bottom = void 0, this.right = void 0, this.left = void 0;
|
|
820
|
-
const r =
|
|
815
|
+
const r = dt(n), o = ln(r);
|
|
821
816
|
this.rect = {
|
|
822
817
|
...t
|
|
823
818
|
}, this.width = t.width, this.height = t.height;
|
|
824
|
-
for (const [i, s, a] of
|
|
819
|
+
for (const [i, s, a] of mr)
|
|
825
820
|
for (const l of s)
|
|
826
821
|
Object.defineProperty(this, l, {
|
|
827
822
|
get: () => {
|
|
828
|
-
const
|
|
823
|
+
const u = a(r), d = o[i] - u;
|
|
829
824
|
return this.rect[l] + d;
|
|
830
825
|
},
|
|
831
826
|
enumerable: !0
|
|
@@ -835,7 +830,7 @@ class At {
|
|
|
835
830
|
});
|
|
836
831
|
}
|
|
837
832
|
}
|
|
838
|
-
class
|
|
833
|
+
class Be {
|
|
839
834
|
constructor(t) {
|
|
840
835
|
this.target = void 0, this.listeners = [], this.removeAll = () => {
|
|
841
836
|
this.listeners.forEach((n) => {
|
|
@@ -849,13 +844,13 @@ class Fe {
|
|
|
849
844
|
(o = this.target) == null || o.addEventListener(t, n, r), this.listeners.push([t, n, r]);
|
|
850
845
|
}
|
|
851
846
|
}
|
|
852
|
-
function
|
|
847
|
+
function yr(e) {
|
|
853
848
|
const {
|
|
854
849
|
EventTarget: t
|
|
855
|
-
} =
|
|
856
|
-
return e instanceof t ? e :
|
|
850
|
+
} = $(e);
|
|
851
|
+
return e instanceof t ? e : Ee(e);
|
|
857
852
|
}
|
|
858
|
-
function
|
|
853
|
+
function yt(e, t) {
|
|
859
854
|
const n = Math.abs(e.x), r = Math.abs(e.y);
|
|
860
855
|
return typeof t == "number" ? Math.sqrt(n ** 2 + r ** 2) > t : "x" in t && "y" in t ? n > t.x && r > t.y : "x" in t ? n > t.x : "y" in t ? r > t.y : !1;
|
|
861
856
|
}
|
|
@@ -863,21 +858,21 @@ var q;
|
|
|
863
858
|
(function(e) {
|
|
864
859
|
e.Click = "click", e.DragStart = "dragstart", e.Keydown = "keydown", e.ContextMenu = "contextmenu", e.Resize = "resize", e.SelectionChange = "selectionchange", e.VisibilityChange = "visibilitychange";
|
|
865
860
|
})(q || (q = {}));
|
|
866
|
-
function
|
|
861
|
+
function $t(e) {
|
|
867
862
|
e.preventDefault();
|
|
868
863
|
}
|
|
869
|
-
function
|
|
864
|
+
function wr(e) {
|
|
870
865
|
e.stopPropagation();
|
|
871
866
|
}
|
|
872
867
|
var D;
|
|
873
868
|
(function(e) {
|
|
874
869
|
e.Space = "Space", e.Down = "ArrowDown", e.Right = "ArrowRight", e.Left = "ArrowLeft", e.Up = "ArrowUp", e.Esc = "Escape", e.Enter = "Enter", e.Tab = "Tab";
|
|
875
870
|
})(D || (D = {}));
|
|
876
|
-
const
|
|
871
|
+
const un = {
|
|
877
872
|
start: [D.Space, D.Enter],
|
|
878
873
|
cancel: [D.Esc],
|
|
879
874
|
end: [D.Space, D.Enter, D.Tab]
|
|
880
|
-
},
|
|
875
|
+
}, xr = (e, t) => {
|
|
881
876
|
let {
|
|
882
877
|
currentCoordinates: n
|
|
883
878
|
} = t;
|
|
@@ -904,7 +899,7 @@ const bn = {
|
|
|
904
899
|
};
|
|
905
900
|
}
|
|
906
901
|
};
|
|
907
|
-
class
|
|
902
|
+
class dn {
|
|
908
903
|
constructor(t) {
|
|
909
904
|
this.props = void 0, this.autoScrollEnabled = !1, this.referenceCoordinates = void 0, this.listeners = void 0, this.windowListeners = void 0, this.props = t;
|
|
910
905
|
const {
|
|
@@ -912,7 +907,7 @@ class It {
|
|
|
912
907
|
target: n
|
|
913
908
|
}
|
|
914
909
|
} = t;
|
|
915
|
-
this.props = t, this.listeners = new
|
|
910
|
+
this.props = t, this.listeners = new Be(Ee(n)), this.windowListeners = new Be($(n)), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleCancel = this.handleCancel.bind(this), this.attach();
|
|
916
911
|
}
|
|
917
912
|
attach() {
|
|
918
913
|
this.handleStart(), this.windowListeners.add(q.Resize, this.handleCancel), this.windowListeners.add(q.VisibilityChange, this.handleCancel), setTimeout(() => this.listeners.add(q.Keydown, this.handleKeyDown));
|
|
@@ -922,17 +917,17 @@ class It {
|
|
|
922
917
|
activeNode: t,
|
|
923
918
|
onStart: n
|
|
924
919
|
} = this.props, r = t.node.current;
|
|
925
|
-
r &&
|
|
920
|
+
r && cn(r), n(Q);
|
|
926
921
|
}
|
|
927
922
|
handleKeyDown(t) {
|
|
928
|
-
if (
|
|
923
|
+
if (ut(t)) {
|
|
929
924
|
const {
|
|
930
925
|
active: n,
|
|
931
926
|
context: r,
|
|
932
927
|
options: o
|
|
933
928
|
} = this.props, {
|
|
934
|
-
keyboardCodes: i =
|
|
935
|
-
coordinateGetter: s =
|
|
929
|
+
keyboardCodes: i = un,
|
|
930
|
+
coordinateGetter: s = xr,
|
|
936
931
|
scrollBehavior: a = "smooth"
|
|
937
932
|
} = o, {
|
|
938
933
|
code: l
|
|
@@ -946,19 +941,19 @@ class It {
|
|
|
946
941
|
return;
|
|
947
942
|
}
|
|
948
943
|
const {
|
|
949
|
-
collisionRect:
|
|
950
|
-
} = r.current, d =
|
|
951
|
-
x:
|
|
952
|
-
y:
|
|
953
|
-
} :
|
|
944
|
+
collisionRect: u
|
|
945
|
+
} = r.current, d = u ? {
|
|
946
|
+
x: u.left,
|
|
947
|
+
y: u.top
|
|
948
|
+
} : Q;
|
|
954
949
|
this.referenceCoordinates || (this.referenceCoordinates = d);
|
|
955
|
-
const
|
|
950
|
+
const c = s(t, {
|
|
956
951
|
active: n,
|
|
957
952
|
context: r.current,
|
|
958
953
|
currentCoordinates: d
|
|
959
954
|
});
|
|
960
|
-
if (
|
|
961
|
-
const g =
|
|
955
|
+
if (c) {
|
|
956
|
+
const g = je(c, d), f = {
|
|
962
957
|
x: 0,
|
|
963
958
|
y: 0
|
|
964
959
|
}, {
|
|
@@ -969,44 +964,44 @@ class It {
|
|
|
969
964
|
isTop: b,
|
|
970
965
|
isRight: m,
|
|
971
966
|
isLeft: p,
|
|
972
|
-
isBottom:
|
|
973
|
-
maxScroll:
|
|
967
|
+
isBottom: C,
|
|
968
|
+
maxScroll: S,
|
|
974
969
|
minScroll: R
|
|
975
|
-
} =
|
|
976
|
-
x: Math.min(v === D.Right ? y.right - y.width / 2 : y.right, Math.max(v === D.Right ? y.left : y.left + y.width / 2,
|
|
977
|
-
y: Math.min(v === D.Down ? y.bottom - y.height / 2 : y.bottom, Math.max(v === D.Down ? y.top : y.top + y.height / 2,
|
|
978
|
-
},
|
|
979
|
-
if (
|
|
980
|
-
const
|
|
970
|
+
} = an(h), y = vr(h), x = {
|
|
971
|
+
x: Math.min(v === D.Right ? y.right - y.width / 2 : y.right, Math.max(v === D.Right ? y.left : y.left + y.width / 2, c.x)),
|
|
972
|
+
y: Math.min(v === D.Down ? y.bottom - y.height / 2 : y.bottom, Math.max(v === D.Down ? y.top : y.top + y.height / 2, c.y))
|
|
973
|
+
}, N = v === D.Right && !m || v === D.Left && !p, L = v === D.Down && !C || v === D.Up && !b;
|
|
974
|
+
if (N && x.x !== c.x) {
|
|
975
|
+
const O = h.scrollLeft + g.x, J = v === D.Right && O <= S.x || v === D.Left && O >= R.x;
|
|
981
976
|
if (J && !g.y) {
|
|
982
977
|
h.scrollTo({
|
|
983
|
-
left:
|
|
978
|
+
left: O,
|
|
984
979
|
behavior: a
|
|
985
980
|
});
|
|
986
981
|
return;
|
|
987
982
|
}
|
|
988
|
-
J ? f.x = h.scrollLeft -
|
|
983
|
+
J ? f.x = h.scrollLeft - O : f.x = v === D.Right ? h.scrollLeft - S.x : h.scrollLeft - R.x, f.x && h.scrollBy({
|
|
989
984
|
left: -f.x,
|
|
990
985
|
behavior: a
|
|
991
986
|
});
|
|
992
987
|
break;
|
|
993
|
-
} else if (L && x.y !==
|
|
994
|
-
const
|
|
988
|
+
} else if (L && x.y !== c.y) {
|
|
989
|
+
const O = h.scrollTop + g.y, J = v === D.Down && O <= S.y || v === D.Up && O >= R.y;
|
|
995
990
|
if (J && !g.x) {
|
|
996
991
|
h.scrollTo({
|
|
997
|
-
top:
|
|
992
|
+
top: O,
|
|
998
993
|
behavior: a
|
|
999
994
|
});
|
|
1000
995
|
return;
|
|
1001
996
|
}
|
|
1002
|
-
J ? f.y = h.scrollTop -
|
|
997
|
+
J ? f.y = h.scrollTop - O : f.y = v === D.Down ? h.scrollTop - S.y : h.scrollTop - R.y, f.y && h.scrollBy({
|
|
1003
998
|
top: -f.y,
|
|
1004
999
|
behavior: a
|
|
1005
1000
|
});
|
|
1006
1001
|
break;
|
|
1007
1002
|
}
|
|
1008
1003
|
}
|
|
1009
|
-
this.handleMove(t,
|
|
1004
|
+
this.handleMove(t, Se(je(c, this.referenceCoordinates), f));
|
|
1010
1005
|
}
|
|
1011
1006
|
}
|
|
1012
1007
|
}
|
|
@@ -1032,11 +1027,11 @@ class It {
|
|
|
1032
1027
|
this.listeners.removeAll(), this.windowListeners.removeAll();
|
|
1033
1028
|
}
|
|
1034
1029
|
}
|
|
1035
|
-
|
|
1030
|
+
dn.activators = [{
|
|
1036
1031
|
eventName: "onKeyDown",
|
|
1037
1032
|
handler: (e, t, n) => {
|
|
1038
1033
|
let {
|
|
1039
|
-
keyboardCodes: r =
|
|
1034
|
+
keyboardCodes: r = un,
|
|
1040
1035
|
onActivation: o
|
|
1041
1036
|
} = t, {
|
|
1042
1037
|
active: i
|
|
@@ -1053,22 +1048,22 @@ It.activators = [{
|
|
|
1053
1048
|
return !1;
|
|
1054
1049
|
}
|
|
1055
1050
|
}];
|
|
1056
|
-
function
|
|
1051
|
+
function jt(e) {
|
|
1057
1052
|
return !!(e && "distance" in e);
|
|
1058
1053
|
}
|
|
1059
|
-
function
|
|
1054
|
+
function Yt(e) {
|
|
1060
1055
|
return !!(e && "delay" in e);
|
|
1061
1056
|
}
|
|
1062
|
-
class
|
|
1057
|
+
class At {
|
|
1063
1058
|
constructor(t, n, r) {
|
|
1064
1059
|
var o;
|
|
1065
|
-
r === void 0 && (r =
|
|
1060
|
+
r === void 0 && (r = yr(t.event.target)), this.props = void 0, this.events = void 0, this.autoScrollEnabled = !0, this.document = void 0, this.activated = !1, this.initialCoordinates = void 0, this.timeoutId = null, this.listeners = void 0, this.documentListeners = void 0, this.windowListeners = void 0, this.props = t, this.events = n;
|
|
1066
1061
|
const {
|
|
1067
1062
|
event: i
|
|
1068
1063
|
} = t, {
|
|
1069
1064
|
target: s
|
|
1070
1065
|
} = i;
|
|
1071
|
-
this.props = t, this.events = n, this.document =
|
|
1066
|
+
this.props = t, this.events = n, this.document = Ee(s), this.documentListeners = new Be(this.document), this.listeners = new Be(r), this.windowListeners = new Be($(s)), this.initialCoordinates = (o = ot(i)) != null ? o : Q, this.handleStart = this.handleStart.bind(this), this.handleMove = this.handleMove.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.removeTextSelection = this.removeTextSelection.bind(this), this.attach();
|
|
1072
1067
|
}
|
|
1073
1068
|
attach() {
|
|
1074
1069
|
const {
|
|
@@ -1082,18 +1077,18 @@ class Ot {
|
|
|
1082
1077
|
} = this;
|
|
1083
1078
|
if (this.listeners.add(t.move.name, this.handleMove, {
|
|
1084
1079
|
passive: !1
|
|
1085
|
-
}), this.listeners.add(t.end.name, this.handleEnd), t.cancel && this.listeners.add(t.cancel.name, this.handleCancel), this.windowListeners.add(q.Resize, this.handleCancel), this.windowListeners.add(q.DragStart,
|
|
1080
|
+
}), this.listeners.add(t.end.name, this.handleEnd), t.cancel && this.listeners.add(t.cancel.name, this.handleCancel), this.windowListeners.add(q.Resize, this.handleCancel), this.windowListeners.add(q.DragStart, $t), this.windowListeners.add(q.VisibilityChange, this.handleCancel), this.windowListeners.add(q.ContextMenu, $t), this.documentListeners.add(q.Keydown, this.handleKeydown), n) {
|
|
1086
1081
|
if (r != null && r({
|
|
1087
1082
|
event: this.props.event,
|
|
1088
1083
|
activeNode: this.props.activeNode,
|
|
1089
1084
|
options: this.props.options
|
|
1090
1085
|
}))
|
|
1091
1086
|
return this.handleStart();
|
|
1092
|
-
if (
|
|
1087
|
+
if (Yt(n)) {
|
|
1093
1088
|
this.timeoutId = setTimeout(this.handleStart, n.delay), this.handlePending(n);
|
|
1094
1089
|
return;
|
|
1095
1090
|
}
|
|
1096
|
-
if (
|
|
1091
|
+
if (jt(n)) {
|
|
1097
1092
|
this.handlePending(n);
|
|
1098
1093
|
return;
|
|
1099
1094
|
}
|
|
@@ -1116,7 +1111,7 @@ class Ot {
|
|
|
1116
1111
|
} = this, {
|
|
1117
1112
|
onStart: n
|
|
1118
1113
|
} = this.props;
|
|
1119
|
-
t && (this.activated = !0, this.documentListeners.add(q.Click,
|
|
1114
|
+
t && (this.activated = !0, this.documentListeners.add(q.Click, wr, {
|
|
1120
1115
|
capture: !0
|
|
1121
1116
|
}), this.removeTextSelection(), this.documentListeners.add(q.SelectionChange, this.removeTextSelection), n(t));
|
|
1122
1117
|
}
|
|
@@ -1134,17 +1129,17 @@ class Ot {
|
|
|
1134
1129
|
} = i;
|
|
1135
1130
|
if (!o)
|
|
1136
1131
|
return;
|
|
1137
|
-
const l = (n =
|
|
1132
|
+
const l = (n = ot(t)) != null ? n : Q, u = je(o, l);
|
|
1138
1133
|
if (!r && a) {
|
|
1139
|
-
if (
|
|
1140
|
-
if (a.tolerance != null &&
|
|
1134
|
+
if (jt(a)) {
|
|
1135
|
+
if (a.tolerance != null && yt(u, a.tolerance))
|
|
1141
1136
|
return this.handleCancel();
|
|
1142
|
-
if (
|
|
1137
|
+
if (yt(u, a.distance))
|
|
1143
1138
|
return this.handleStart();
|
|
1144
1139
|
}
|
|
1145
|
-
if (
|
|
1140
|
+
if (Yt(a) && yt(u, a.tolerance))
|
|
1146
1141
|
return this.handleCancel();
|
|
1147
|
-
this.handlePending(a,
|
|
1142
|
+
this.handlePending(a, u);
|
|
1148
1143
|
return;
|
|
1149
1144
|
}
|
|
1150
1145
|
t.cancelable && t.preventDefault(), s(l);
|
|
@@ -1171,7 +1166,7 @@ class Ot {
|
|
|
1171
1166
|
(t = this.document.getSelection()) == null || t.removeAllRanges();
|
|
1172
1167
|
}
|
|
1173
1168
|
}
|
|
1174
|
-
const
|
|
1169
|
+
const Dr = {
|
|
1175
1170
|
cancel: {
|
|
1176
1171
|
name: "pointercancel"
|
|
1177
1172
|
},
|
|
@@ -1182,15 +1177,15 @@ const Lr = {
|
|
|
1182
1177
|
name: "pointerup"
|
|
1183
1178
|
}
|
|
1184
1179
|
};
|
|
1185
|
-
class
|
|
1180
|
+
class fn extends At {
|
|
1186
1181
|
constructor(t) {
|
|
1187
1182
|
const {
|
|
1188
1183
|
event: n
|
|
1189
|
-
} = t, r =
|
|
1190
|
-
super(t,
|
|
1184
|
+
} = t, r = Ee(n.target);
|
|
1185
|
+
super(t, Dr, r);
|
|
1191
1186
|
}
|
|
1192
1187
|
}
|
|
1193
|
-
|
|
1188
|
+
fn.activators = [{
|
|
1194
1189
|
eventName: "onPointerDown",
|
|
1195
1190
|
handler: (e, t) => {
|
|
1196
1191
|
let {
|
|
@@ -1203,7 +1198,7 @@ Nt.activators = [{
|
|
|
1203
1198
|
}), !0);
|
|
1204
1199
|
}
|
|
1205
1200
|
}];
|
|
1206
|
-
const
|
|
1201
|
+
const Cr = {
|
|
1207
1202
|
move: {
|
|
1208
1203
|
name: "mousemove"
|
|
1209
1204
|
},
|
|
@@ -1211,16 +1206,16 @@ const Pr = {
|
|
|
1211
1206
|
name: "mouseup"
|
|
1212
1207
|
}
|
|
1213
1208
|
};
|
|
1214
|
-
var
|
|
1209
|
+
var Dt;
|
|
1215
1210
|
(function(e) {
|
|
1216
1211
|
e[e.RightClick = 2] = "RightClick";
|
|
1217
|
-
})(
|
|
1218
|
-
class
|
|
1212
|
+
})(Dt || (Dt = {}));
|
|
1213
|
+
class Sr extends At {
|
|
1219
1214
|
constructor(t) {
|
|
1220
|
-
super(t,
|
|
1215
|
+
super(t, Cr, Ee(t.event.target));
|
|
1221
1216
|
}
|
|
1222
1217
|
}
|
|
1223
|
-
|
|
1218
|
+
Sr.activators = [{
|
|
1224
1219
|
eventName: "onMouseDown",
|
|
1225
1220
|
handler: (e, t) => {
|
|
1226
1221
|
let {
|
|
@@ -1228,12 +1223,12 @@ kr.activators = [{
|
|
|
1228
1223
|
} = e, {
|
|
1229
1224
|
onActivation: r
|
|
1230
1225
|
} = t;
|
|
1231
|
-
return n.button ===
|
|
1226
|
+
return n.button === Dt.RightClick ? !1 : (r?.({
|
|
1232
1227
|
event: n
|
|
1233
1228
|
}), !0);
|
|
1234
1229
|
}
|
|
1235
1230
|
}];
|
|
1236
|
-
const
|
|
1231
|
+
const wt = {
|
|
1237
1232
|
cancel: {
|
|
1238
1233
|
name: "touchcancel"
|
|
1239
1234
|
},
|
|
@@ -1244,22 +1239,22 @@ const xt = {
|
|
|
1244
1239
|
name: "touchend"
|
|
1245
1240
|
}
|
|
1246
1241
|
};
|
|
1247
|
-
class
|
|
1242
|
+
class Rr extends At {
|
|
1248
1243
|
constructor(t) {
|
|
1249
|
-
super(t,
|
|
1244
|
+
super(t, wt);
|
|
1250
1245
|
}
|
|
1251
1246
|
static setup() {
|
|
1252
|
-
return window.addEventListener(
|
|
1247
|
+
return window.addEventListener(wt.move.name, t, {
|
|
1253
1248
|
capture: !1,
|
|
1254
1249
|
passive: !1
|
|
1255
1250
|
}), function() {
|
|
1256
|
-
window.removeEventListener(
|
|
1251
|
+
window.removeEventListener(wt.move.name, t);
|
|
1257
1252
|
};
|
|
1258
1253
|
function t() {
|
|
1259
1254
|
}
|
|
1260
1255
|
}
|
|
1261
1256
|
}
|
|
1262
|
-
|
|
1257
|
+
Rr.activators = [{
|
|
1263
1258
|
eventName: "onTouchStart",
|
|
1264
1259
|
handler: (e, t) => {
|
|
1265
1260
|
let {
|
|
@@ -1275,77 +1270,77 @@ zr.activators = [{
|
|
|
1275
1270
|
}), !0);
|
|
1276
1271
|
}
|
|
1277
1272
|
}];
|
|
1278
|
-
var
|
|
1273
|
+
var Fe;
|
|
1279
1274
|
(function(e) {
|
|
1280
1275
|
e[e.Pointer = 0] = "Pointer", e[e.DraggableRect = 1] = "DraggableRect";
|
|
1281
|
-
})(
|
|
1282
|
-
var
|
|
1276
|
+
})(Fe || (Fe = {}));
|
|
1277
|
+
var st;
|
|
1283
1278
|
(function(e) {
|
|
1284
1279
|
e[e.TreeOrder = 0] = "TreeOrder", e[e.ReversedTreeOrder = 1] = "ReversedTreeOrder";
|
|
1285
|
-
})(
|
|
1286
|
-
function
|
|
1280
|
+
})(st || (st = {}));
|
|
1281
|
+
function Er(e) {
|
|
1287
1282
|
let {
|
|
1288
1283
|
acceleration: t,
|
|
1289
|
-
activator: n =
|
|
1284
|
+
activator: n = Fe.Pointer,
|
|
1290
1285
|
canScroll: r,
|
|
1291
1286
|
draggingRect: o,
|
|
1292
1287
|
enabled: i,
|
|
1293
1288
|
interval: s = 5,
|
|
1294
|
-
order: a =
|
|
1289
|
+
order: a = st.TreeOrder,
|
|
1295
1290
|
pointerCoordinates: l,
|
|
1296
|
-
scrollableAncestors:
|
|
1291
|
+
scrollableAncestors: u,
|
|
1297
1292
|
scrollableAncestorRects: d,
|
|
1298
|
-
delta:
|
|
1293
|
+
delta: c,
|
|
1299
1294
|
threshold: g
|
|
1300
1295
|
} = e;
|
|
1301
|
-
const f =
|
|
1302
|
-
delta:
|
|
1296
|
+
const f = Or({
|
|
1297
|
+
delta: c,
|
|
1303
1298
|
disabled: !i
|
|
1304
|
-
}), [w, h] =
|
|
1299
|
+
}), [w, h] = Xn(), v = T({
|
|
1305
1300
|
x: 0,
|
|
1306
1301
|
y: 0
|
|
1307
|
-
}), b =
|
|
1302
|
+
}), b = T({
|
|
1308
1303
|
x: 0,
|
|
1309
1304
|
y: 0
|
|
1310
|
-
}), m =
|
|
1305
|
+
}), m = A(() => {
|
|
1311
1306
|
switch (n) {
|
|
1312
|
-
case
|
|
1307
|
+
case Fe.Pointer:
|
|
1313
1308
|
return l ? {
|
|
1314
1309
|
top: l.y,
|
|
1315
1310
|
bottom: l.y,
|
|
1316
1311
|
left: l.x,
|
|
1317
1312
|
right: l.x
|
|
1318
1313
|
} : null;
|
|
1319
|
-
case
|
|
1314
|
+
case Fe.DraggableRect:
|
|
1320
1315
|
return o;
|
|
1321
1316
|
}
|
|
1322
|
-
}, [n, o, l]), p =
|
|
1317
|
+
}, [n, o, l]), p = T(null), C = F(() => {
|
|
1323
1318
|
const R = p.current;
|
|
1324
1319
|
if (!R)
|
|
1325
1320
|
return;
|
|
1326
1321
|
const y = v.current.x * b.current.x, x = v.current.y * b.current.y;
|
|
1327
1322
|
R.scrollBy(y, x);
|
|
1328
|
-
}, []),
|
|
1329
|
-
|
|
1323
|
+
}, []), S = A(() => a === st.TreeOrder ? [...u].reverse() : u, [a, u]);
|
|
1324
|
+
I(
|
|
1330
1325
|
() => {
|
|
1331
|
-
if (!i || !
|
|
1326
|
+
if (!i || !u.length || !m) {
|
|
1332
1327
|
h();
|
|
1333
1328
|
return;
|
|
1334
1329
|
}
|
|
1335
|
-
for (const R of
|
|
1330
|
+
for (const R of S) {
|
|
1336
1331
|
if (r?.(R) === !1)
|
|
1337
1332
|
continue;
|
|
1338
|
-
const y =
|
|
1333
|
+
const y = u.indexOf(R), x = d[y];
|
|
1339
1334
|
if (!x)
|
|
1340
1335
|
continue;
|
|
1341
1336
|
const {
|
|
1342
|
-
direction:
|
|
1337
|
+
direction: N,
|
|
1343
1338
|
speed: L
|
|
1344
|
-
} =
|
|
1345
|
-
for (const
|
|
1346
|
-
f[
|
|
1339
|
+
} = hr(R, x, m, t, g);
|
|
1340
|
+
for (const O of ["x", "y"])
|
|
1341
|
+
f[O][N[O]] || (L[O] = 0, N[O] = 0);
|
|
1347
1342
|
if (L.x > 0 || L.y > 0) {
|
|
1348
|
-
h(), p.current = R, w(
|
|
1343
|
+
h(), p.current = R, w(C, s), v.current = L, b.current = N;
|
|
1349
1344
|
return;
|
|
1350
1345
|
}
|
|
1351
1346
|
}
|
|
@@ -1360,7 +1355,7 @@ function jr(e) {
|
|
|
1360
1355
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1361
1356
|
[
|
|
1362
1357
|
t,
|
|
1363
|
-
|
|
1358
|
+
C,
|
|
1364
1359
|
r,
|
|
1365
1360
|
h,
|
|
1366
1361
|
i,
|
|
@@ -1370,15 +1365,15 @@ function jr(e) {
|
|
|
1370
1365
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1371
1366
|
JSON.stringify(f),
|
|
1372
1367
|
w,
|
|
1373
|
-
|
|
1374
|
-
|
|
1368
|
+
u,
|
|
1369
|
+
S,
|
|
1375
1370
|
d,
|
|
1376
1371
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1377
1372
|
JSON.stringify(g)
|
|
1378
1373
|
]
|
|
1379
1374
|
);
|
|
1380
1375
|
}
|
|
1381
|
-
const
|
|
1376
|
+
const Ar = {
|
|
1382
1377
|
x: {
|
|
1383
1378
|
[k.Backward]: !1,
|
|
1384
1379
|
[k.Forward]: !1
|
|
@@ -1388,15 +1383,15 @@ const Br = {
|
|
|
1388
1383
|
[k.Forward]: !1
|
|
1389
1384
|
}
|
|
1390
1385
|
};
|
|
1391
|
-
function
|
|
1386
|
+
function Or(e) {
|
|
1392
1387
|
let {
|
|
1393
1388
|
delta: t,
|
|
1394
1389
|
disabled: n
|
|
1395
1390
|
} = e;
|
|
1396
|
-
const r =
|
|
1397
|
-
return
|
|
1391
|
+
const r = rt(t);
|
|
1392
|
+
return We((o) => {
|
|
1398
1393
|
if (n || !r || !o)
|
|
1399
|
-
return
|
|
1394
|
+
return Ar;
|
|
1400
1395
|
const i = {
|
|
1401
1396
|
x: Math.sign(t.x - r.x),
|
|
1402
1397
|
y: Math.sign(t.y - r.y)
|
|
@@ -1413,15 +1408,15 @@ function Fr(e) {
|
|
|
1413
1408
|
};
|
|
1414
1409
|
}, [n, t, r]);
|
|
1415
1410
|
}
|
|
1416
|
-
function
|
|
1411
|
+
function Ir(e, t) {
|
|
1417
1412
|
const n = t != null ? e.get(t) : void 0, r = n ? n.node.current : null;
|
|
1418
|
-
return
|
|
1413
|
+
return We((o) => {
|
|
1419
1414
|
var i;
|
|
1420
1415
|
return t == null ? null : (i = r ?? o) != null ? i : null;
|
|
1421
1416
|
}, [r, t]);
|
|
1422
1417
|
}
|
|
1423
|
-
function
|
|
1424
|
-
return
|
|
1418
|
+
function Tr(e, t) {
|
|
1419
|
+
return A(() => e.reduce((n, r) => {
|
|
1425
1420
|
const {
|
|
1426
1421
|
sensor: o
|
|
1427
1422
|
} = r, i = o.activators.map((s) => ({
|
|
@@ -1431,31 +1426,31 @@ function $r(e, t) {
|
|
|
1431
1426
|
return [...n, ...i];
|
|
1432
1427
|
}, []), [e, t]);
|
|
1433
1428
|
}
|
|
1434
|
-
var
|
|
1429
|
+
var Ye;
|
|
1435
1430
|
(function(e) {
|
|
1436
1431
|
e[e.Always = 0] = "Always", e[e.BeforeDragging = 1] = "BeforeDragging", e[e.WhileDragging = 2] = "WhileDragging";
|
|
1437
|
-
})(
|
|
1432
|
+
})(Ye || (Ye = {}));
|
|
1438
1433
|
var Ct;
|
|
1439
1434
|
(function(e) {
|
|
1440
1435
|
e.Optimized = "optimized";
|
|
1441
1436
|
})(Ct || (Ct = {}));
|
|
1442
|
-
const
|
|
1443
|
-
function
|
|
1437
|
+
const Kt = /* @__PURE__ */ new Map();
|
|
1438
|
+
function Nr(e, t) {
|
|
1444
1439
|
let {
|
|
1445
1440
|
dragging: n,
|
|
1446
1441
|
dependencies: r,
|
|
1447
1442
|
config: o
|
|
1448
1443
|
} = t;
|
|
1449
|
-
const [i, s] =
|
|
1444
|
+
const [i, s] = X(null), {
|
|
1450
1445
|
frequency: a,
|
|
1451
1446
|
measure: l,
|
|
1452
|
-
strategy:
|
|
1453
|
-
} = o, d =
|
|
1447
|
+
strategy: u
|
|
1448
|
+
} = o, d = T(e), c = v(), g = $e(c), f = F(function(b) {
|
|
1454
1449
|
b === void 0 && (b = []), !g.current && s((m) => m === null ? b : m.concat(b.filter((p) => !m.includes(p))));
|
|
1455
|
-
}, [g]), w =
|
|
1456
|
-
if (
|
|
1457
|
-
return
|
|
1458
|
-
if (!b || b ===
|
|
1450
|
+
}, [g]), w = T(null), h = We((b) => {
|
|
1451
|
+
if (c && !n)
|
|
1452
|
+
return Kt;
|
|
1453
|
+
if (!b || b === Kt || d.current !== e || i != null) {
|
|
1459
1454
|
const m = /* @__PURE__ */ new Map();
|
|
1460
1455
|
for (let p of e) {
|
|
1461
1456
|
if (!p)
|
|
@@ -1464,63 +1459,63 @@ function Yr(e, t) {
|
|
|
1464
1459
|
m.set(p.id, p.rect.current);
|
|
1465
1460
|
continue;
|
|
1466
1461
|
}
|
|
1467
|
-
const
|
|
1468
|
-
p.rect.current =
|
|
1462
|
+
const C = p.node.current, S = C ? new Et(l(C), C) : null;
|
|
1463
|
+
p.rect.current = S, S && m.set(p.id, S);
|
|
1469
1464
|
}
|
|
1470
1465
|
return m;
|
|
1471
1466
|
}
|
|
1472
1467
|
return b;
|
|
1473
|
-
}, [e, i, n,
|
|
1474
|
-
return
|
|
1468
|
+
}, [e, i, n, c, l]);
|
|
1469
|
+
return I(() => {
|
|
1475
1470
|
d.current = e;
|
|
1476
|
-
}, [e]),
|
|
1471
|
+
}, [e]), I(
|
|
1477
1472
|
() => {
|
|
1478
|
-
|
|
1473
|
+
c || f();
|
|
1479
1474
|
},
|
|
1480
1475
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1481
|
-
[n,
|
|
1482
|
-
),
|
|
1476
|
+
[n, c]
|
|
1477
|
+
), I(
|
|
1483
1478
|
() => {
|
|
1484
1479
|
i && i.length > 0 && s(null);
|
|
1485
1480
|
},
|
|
1486
1481
|
//eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1487
1482
|
[JSON.stringify(i)]
|
|
1488
|
-
),
|
|
1483
|
+
), I(
|
|
1489
1484
|
() => {
|
|
1490
|
-
|
|
1485
|
+
c || typeof a != "number" || w.current !== null || (w.current = setTimeout(() => {
|
|
1491
1486
|
f(), w.current = null;
|
|
1492
1487
|
}, a));
|
|
1493
1488
|
},
|
|
1494
1489
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1495
|
-
[a,
|
|
1490
|
+
[a, c, f, ...r]
|
|
1496
1491
|
), {
|
|
1497
1492
|
droppableRects: h,
|
|
1498
1493
|
measureDroppableContainers: f,
|
|
1499
1494
|
measuringScheduled: i != null
|
|
1500
1495
|
};
|
|
1501
1496
|
function v() {
|
|
1502
|
-
switch (
|
|
1503
|
-
case
|
|
1497
|
+
switch (u) {
|
|
1498
|
+
case Ye.Always:
|
|
1504
1499
|
return !1;
|
|
1505
|
-
case
|
|
1500
|
+
case Ye.BeforeDragging:
|
|
1506
1501
|
return n;
|
|
1507
1502
|
default:
|
|
1508
1503
|
return !n;
|
|
1509
1504
|
}
|
|
1510
1505
|
}
|
|
1511
1506
|
}
|
|
1512
|
-
function
|
|
1513
|
-
return
|
|
1507
|
+
function Ot(e, t) {
|
|
1508
|
+
return We((n) => e ? n || (typeof t == "function" ? t(e) : e) : null, [t, e]);
|
|
1514
1509
|
}
|
|
1515
|
-
function
|
|
1516
|
-
return
|
|
1510
|
+
function Mr(e, t) {
|
|
1511
|
+
return Ot(e, t);
|
|
1517
1512
|
}
|
|
1518
|
-
function
|
|
1513
|
+
function Lr(e) {
|
|
1519
1514
|
let {
|
|
1520
1515
|
callback: t,
|
|
1521
1516
|
disabled: n
|
|
1522
1517
|
} = e;
|
|
1523
|
-
const r =
|
|
1518
|
+
const r = ct(t), o = A(() => {
|
|
1524
1519
|
if (n || typeof window > "u" || typeof window.MutationObserver > "u")
|
|
1525
1520
|
return;
|
|
1526
1521
|
const {
|
|
@@ -1528,14 +1523,14 @@ function Ur(e) {
|
|
|
1528
1523
|
} = window;
|
|
1529
1524
|
return new i(r);
|
|
1530
1525
|
}, [r, n]);
|
|
1531
|
-
return
|
|
1526
|
+
return I(() => () => o?.disconnect(), [o]), o;
|
|
1532
1527
|
}
|
|
1533
|
-
function
|
|
1528
|
+
function ft(e) {
|
|
1534
1529
|
let {
|
|
1535
1530
|
callback: t,
|
|
1536
1531
|
disabled: n
|
|
1537
1532
|
} = e;
|
|
1538
|
-
const r =
|
|
1533
|
+
const r = ct(t), o = A(
|
|
1539
1534
|
() => {
|
|
1540
1535
|
if (n || typeof window > "u" || typeof window.ResizeObserver > "u")
|
|
1541
1536
|
return;
|
|
@@ -1547,75 +1542,75 @@ function gt(e) {
|
|
|
1547
1542
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1548
1543
|
[n]
|
|
1549
1544
|
);
|
|
1550
|
-
return
|
|
1545
|
+
return I(() => () => o?.disconnect(), [o]), o;
|
|
1551
1546
|
}
|
|
1552
|
-
function
|
|
1553
|
-
return new
|
|
1547
|
+
function Pr(e) {
|
|
1548
|
+
return new Et(Ae(e), e);
|
|
1554
1549
|
}
|
|
1555
|
-
function
|
|
1556
|
-
t === void 0 && (t =
|
|
1557
|
-
const [r, o] =
|
|
1550
|
+
function Ut(e, t, n) {
|
|
1551
|
+
t === void 0 && (t = Pr);
|
|
1552
|
+
const [r, o] = X(null);
|
|
1558
1553
|
function i() {
|
|
1559
1554
|
o((l) => {
|
|
1560
1555
|
if (!e)
|
|
1561
1556
|
return null;
|
|
1562
1557
|
if (e.isConnected === !1) {
|
|
1563
|
-
var
|
|
1564
|
-
return (
|
|
1558
|
+
var u;
|
|
1559
|
+
return (u = l ?? n) != null ? u : null;
|
|
1565
1560
|
}
|
|
1566
1561
|
const d = t(e);
|
|
1567
1562
|
return JSON.stringify(l) === JSON.stringify(d) ? l : d;
|
|
1568
1563
|
});
|
|
1569
1564
|
}
|
|
1570
|
-
const s =
|
|
1565
|
+
const s = Lr({
|
|
1571
1566
|
callback(l) {
|
|
1572
1567
|
if (e)
|
|
1573
|
-
for (const
|
|
1568
|
+
for (const u of l) {
|
|
1574
1569
|
const {
|
|
1575
1570
|
type: d,
|
|
1576
|
-
target:
|
|
1577
|
-
} =
|
|
1578
|
-
if (d === "childList" &&
|
|
1571
|
+
target: c
|
|
1572
|
+
} = u;
|
|
1573
|
+
if (d === "childList" && c instanceof HTMLElement && c.contains(e)) {
|
|
1579
1574
|
i();
|
|
1580
1575
|
break;
|
|
1581
1576
|
}
|
|
1582
1577
|
}
|
|
1583
1578
|
}
|
|
1584
|
-
}), a =
|
|
1579
|
+
}), a = ft({
|
|
1585
1580
|
callback: i
|
|
1586
1581
|
});
|
|
1587
|
-
return
|
|
1582
|
+
return _(() => {
|
|
1588
1583
|
i(), e ? (a?.observe(e), s?.observe(document.body, {
|
|
1589
1584
|
childList: !0,
|
|
1590
1585
|
subtree: !0
|
|
1591
1586
|
})) : (a?.disconnect(), s?.disconnect());
|
|
1592
1587
|
}, [e]), r;
|
|
1593
1588
|
}
|
|
1594
|
-
function
|
|
1595
|
-
const t =
|
|
1596
|
-
return
|
|
1589
|
+
function kr(e) {
|
|
1590
|
+
const t = Ot(e);
|
|
1591
|
+
return en(e, t);
|
|
1597
1592
|
}
|
|
1598
|
-
const
|
|
1599
|
-
function
|
|
1600
|
-
const t =
|
|
1601
|
-
return
|
|
1593
|
+
const Wt = [];
|
|
1594
|
+
function zr(e) {
|
|
1595
|
+
const t = T(e), n = We((r) => e ? r && r !== Wt && e && t.current && e.parentNode === t.current.parentNode ? r : dt(e) : Wt, [e]);
|
|
1596
|
+
return I(() => {
|
|
1602
1597
|
t.current = e;
|
|
1603
1598
|
}, [e]), n;
|
|
1604
1599
|
}
|
|
1605
|
-
function
|
|
1606
|
-
const [t, n] =
|
|
1607
|
-
const s =
|
|
1608
|
-
s && n((a) => a ? (a.set(s,
|
|
1600
|
+
function Br(e) {
|
|
1601
|
+
const [t, n] = X(null), r = T(e), o = F((i) => {
|
|
1602
|
+
const s = mt(i.target);
|
|
1603
|
+
s && n((a) => a ? (a.set(s, xt(s)), new Map(a)) : null);
|
|
1609
1604
|
}, []);
|
|
1610
|
-
return
|
|
1605
|
+
return I(() => {
|
|
1611
1606
|
const i = r.current;
|
|
1612
1607
|
if (e !== i) {
|
|
1613
1608
|
s(i);
|
|
1614
1609
|
const a = e.map((l) => {
|
|
1615
|
-
const
|
|
1616
|
-
return
|
|
1610
|
+
const u = mt(l);
|
|
1611
|
+
return u ? (u.addEventListener("scroll", o, {
|
|
1617
1612
|
passive: !0
|
|
1618
|
-
}), [
|
|
1613
|
+
}), [u, xt(u)]) : null;
|
|
1619
1614
|
}).filter((l) => l != null);
|
|
1620
1615
|
n(a.length ? new Map(a) : null), r.current = e;
|
|
1621
1616
|
}
|
|
@@ -1624,30 +1619,30 @@ function qr(e) {
|
|
|
1624
1619
|
};
|
|
1625
1620
|
function s(a) {
|
|
1626
1621
|
a.forEach((l) => {
|
|
1627
|
-
const
|
|
1628
|
-
|
|
1622
|
+
const u = mt(l);
|
|
1623
|
+
u?.removeEventListener("scroll", o);
|
|
1629
1624
|
});
|
|
1630
1625
|
}
|
|
1631
|
-
}, [o, e]),
|
|
1626
|
+
}, [o, e]), A(() => e.length ? t ? Array.from(t.values()).reduce((i, s) => Se(i, s), Q) : ln(e) : Q, [e, t]);
|
|
1632
1627
|
}
|
|
1633
|
-
function
|
|
1628
|
+
function Ht(e, t) {
|
|
1634
1629
|
t === void 0 && (t = []);
|
|
1635
|
-
const n =
|
|
1636
|
-
return
|
|
1630
|
+
const n = T(null);
|
|
1631
|
+
return I(
|
|
1637
1632
|
() => {
|
|
1638
1633
|
n.current = null;
|
|
1639
1634
|
},
|
|
1640
1635
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1641
1636
|
t
|
|
1642
|
-
),
|
|
1643
|
-
const r = e !==
|
|
1637
|
+
), I(() => {
|
|
1638
|
+
const r = e !== Q;
|
|
1644
1639
|
r && !n.current && (n.current = e), !r && n.current && (n.current = null);
|
|
1645
|
-
}, [e]), n.current ?
|
|
1640
|
+
}, [e]), n.current ? je(e, n.current) : Q;
|
|
1646
1641
|
}
|
|
1647
|
-
function
|
|
1648
|
-
|
|
1642
|
+
function Fr(e) {
|
|
1643
|
+
I(
|
|
1649
1644
|
() => {
|
|
1650
|
-
if (!
|
|
1645
|
+
if (!lt)
|
|
1651
1646
|
return;
|
|
1652
1647
|
const t = e.map((n) => {
|
|
1653
1648
|
let {
|
|
@@ -1670,8 +1665,8 @@ function _r(e) {
|
|
|
1670
1665
|
})
|
|
1671
1666
|
);
|
|
1672
1667
|
}
|
|
1673
|
-
function
|
|
1674
|
-
return
|
|
1668
|
+
function Xr(e, t) {
|
|
1669
|
+
return A(() => e.reduce((n, r) => {
|
|
1675
1670
|
let {
|
|
1676
1671
|
eventName: o,
|
|
1677
1672
|
handler: i
|
|
@@ -1681,84 +1676,84 @@ function Jr(e, t) {
|
|
|
1681
1676
|
}, n;
|
|
1682
1677
|
}, {}), [e, t]);
|
|
1683
1678
|
}
|
|
1684
|
-
function
|
|
1685
|
-
return
|
|
1679
|
+
function gn(e) {
|
|
1680
|
+
return A(() => e ? ur(e) : null, [e]);
|
|
1686
1681
|
}
|
|
1687
|
-
const
|
|
1688
|
-
function
|
|
1689
|
-
t === void 0 && (t =
|
|
1690
|
-
const [n] = e, r =
|
|
1682
|
+
const Vt = [];
|
|
1683
|
+
function $r(e, t) {
|
|
1684
|
+
t === void 0 && (t = Ae);
|
|
1685
|
+
const [n] = e, r = gn(n ? $(n) : null), [o, i] = X(Vt);
|
|
1691
1686
|
function s() {
|
|
1692
|
-
i(() => e.length ? e.map((l) =>
|
|
1687
|
+
i(() => e.length ? e.map((l) => sn(l) ? r : new Et(t(l), l)) : Vt);
|
|
1693
1688
|
}
|
|
1694
|
-
const a =
|
|
1689
|
+
const a = ft({
|
|
1695
1690
|
callback: s
|
|
1696
1691
|
});
|
|
1697
|
-
return
|
|
1692
|
+
return _(() => {
|
|
1698
1693
|
a?.disconnect(), s(), e.forEach((l) => a?.observe(l));
|
|
1699
1694
|
}, [e]), o;
|
|
1700
1695
|
}
|
|
1701
|
-
function
|
|
1696
|
+
function hn(e) {
|
|
1702
1697
|
if (!e)
|
|
1703
1698
|
return null;
|
|
1704
1699
|
if (e.children.length > 1)
|
|
1705
1700
|
return e;
|
|
1706
1701
|
const t = e.children[0];
|
|
1707
|
-
return
|
|
1702
|
+
return Ue(t) ? t : e;
|
|
1708
1703
|
}
|
|
1709
|
-
function
|
|
1704
|
+
function jr(e) {
|
|
1710
1705
|
let {
|
|
1711
1706
|
measure: t
|
|
1712
1707
|
} = e;
|
|
1713
|
-
const [n, r] =
|
|
1708
|
+
const [n, r] = X(null), o = F((u) => {
|
|
1714
1709
|
for (const {
|
|
1715
1710
|
target: d
|
|
1716
|
-
} of
|
|
1717
|
-
if (
|
|
1718
|
-
r((
|
|
1711
|
+
} of u)
|
|
1712
|
+
if (Ue(d)) {
|
|
1713
|
+
r((c) => {
|
|
1719
1714
|
const g = t(d);
|
|
1720
|
-
return
|
|
1721
|
-
...
|
|
1715
|
+
return c ? {
|
|
1716
|
+
...c,
|
|
1722
1717
|
width: g.width,
|
|
1723
1718
|
height: g.height
|
|
1724
1719
|
} : g;
|
|
1725
1720
|
});
|
|
1726
1721
|
break;
|
|
1727
1722
|
}
|
|
1728
|
-
}, [t]), i =
|
|
1723
|
+
}, [t]), i = ft({
|
|
1729
1724
|
callback: o
|
|
1730
|
-
}), s = F((
|
|
1731
|
-
const d =
|
|
1725
|
+
}), s = F((u) => {
|
|
1726
|
+
const d = hn(u);
|
|
1732
1727
|
i?.disconnect(), d && i?.observe(d), r(d ? t(d) : null);
|
|
1733
|
-
}, [t, i]), [a, l] =
|
|
1734
|
-
return
|
|
1728
|
+
}, [t, i]), [a, l] = nt(s);
|
|
1729
|
+
return A(() => ({
|
|
1735
1730
|
nodeRef: a,
|
|
1736
1731
|
rect: n,
|
|
1737
1732
|
setRef: l
|
|
1738
1733
|
}), [n, a, l]);
|
|
1739
1734
|
}
|
|
1740
|
-
const
|
|
1741
|
-
sensor:
|
|
1735
|
+
const Yr = [{
|
|
1736
|
+
sensor: fn,
|
|
1742
1737
|
options: {}
|
|
1743
1738
|
}, {
|
|
1744
|
-
sensor:
|
|
1739
|
+
sensor: dn,
|
|
1745
1740
|
options: {}
|
|
1746
|
-
}],
|
|
1741
|
+
}], Kr = {
|
|
1747
1742
|
current: {}
|
|
1748
|
-
},
|
|
1743
|
+
}, tt = {
|
|
1749
1744
|
draggable: {
|
|
1750
|
-
measure:
|
|
1745
|
+
measure: Xt
|
|
1751
1746
|
},
|
|
1752
1747
|
droppable: {
|
|
1753
|
-
measure:
|
|
1754
|
-
strategy:
|
|
1748
|
+
measure: Xt,
|
|
1749
|
+
strategy: Ye.WhileDragging,
|
|
1755
1750
|
frequency: Ct.Optimized
|
|
1756
1751
|
},
|
|
1757
1752
|
dragOverlay: {
|
|
1758
|
-
measure:
|
|
1753
|
+
measure: Ae
|
|
1759
1754
|
}
|
|
1760
1755
|
};
|
|
1761
|
-
class
|
|
1756
|
+
class Xe extends Map {
|
|
1762
1757
|
get(t) {
|
|
1763
1758
|
var n;
|
|
1764
1759
|
return t != null && (n = super.get(t)) != null ? n : void 0;
|
|
@@ -1779,7 +1774,7 @@ class $e extends Map {
|
|
|
1779
1774
|
return (n = (r = this.get(t)) == null ? void 0 : r.node.current) != null ? n : void 0;
|
|
1780
1775
|
}
|
|
1781
1776
|
}
|
|
1782
|
-
const
|
|
1777
|
+
const Ur = {
|
|
1783
1778
|
activatorEvent: null,
|
|
1784
1779
|
active: null,
|
|
1785
1780
|
activeNode: null,
|
|
@@ -1788,22 +1783,22 @@ const to = {
|
|
|
1788
1783
|
containerNodeRect: null,
|
|
1789
1784
|
draggableNodes: /* @__PURE__ */ new Map(),
|
|
1790
1785
|
droppableRects: /* @__PURE__ */ new Map(),
|
|
1791
|
-
droppableContainers: /* @__PURE__ */ new
|
|
1786
|
+
droppableContainers: /* @__PURE__ */ new Xe(),
|
|
1792
1787
|
over: null,
|
|
1793
1788
|
dragOverlay: {
|
|
1794
1789
|
nodeRef: {
|
|
1795
1790
|
current: null
|
|
1796
1791
|
},
|
|
1797
1792
|
rect: null,
|
|
1798
|
-
setRef:
|
|
1793
|
+
setRef: it
|
|
1799
1794
|
},
|
|
1800
1795
|
scrollableAncestors: [],
|
|
1801
1796
|
scrollableAncestorRects: [],
|
|
1802
|
-
measuringConfiguration:
|
|
1803
|
-
measureDroppableContainers:
|
|
1797
|
+
measuringConfiguration: tt,
|
|
1798
|
+
measureDroppableContainers: it,
|
|
1804
1799
|
windowRect: null,
|
|
1805
1800
|
measuringScheduled: !1
|
|
1806
|
-
},
|
|
1801
|
+
}, vn = {
|
|
1807
1802
|
activatorEvent: null,
|
|
1808
1803
|
activators: [],
|
|
1809
1804
|
active: null,
|
|
@@ -1811,12 +1806,12 @@ const to = {
|
|
|
1811
1806
|
ariaDescribedById: {
|
|
1812
1807
|
draggable: ""
|
|
1813
1808
|
},
|
|
1814
|
-
dispatch:
|
|
1809
|
+
dispatch: it,
|
|
1815
1810
|
draggableNodes: /* @__PURE__ */ new Map(),
|
|
1816
1811
|
over: null,
|
|
1817
|
-
measureDroppableContainers:
|
|
1818
|
-
},
|
|
1819
|
-
function
|
|
1812
|
+
measureDroppableContainers: it
|
|
1813
|
+
}, Ve = /* @__PURE__ */ Ke(vn), pn = /* @__PURE__ */ Ke(Ur);
|
|
1814
|
+
function Wr() {
|
|
1820
1815
|
return {
|
|
1821
1816
|
draggable: {
|
|
1822
1817
|
active: null,
|
|
@@ -1831,11 +1826,11 @@ function no() {
|
|
|
1831
1826
|
}
|
|
1832
1827
|
},
|
|
1833
1828
|
droppable: {
|
|
1834
|
-
containers: new
|
|
1829
|
+
containers: new Xe()
|
|
1835
1830
|
}
|
|
1836
1831
|
};
|
|
1837
1832
|
}
|
|
1838
|
-
function
|
|
1833
|
+
function Hr(e, t) {
|
|
1839
1834
|
switch (t.type) {
|
|
1840
1835
|
case P.DragStart:
|
|
1841
1836
|
return {
|
|
@@ -1879,7 +1874,7 @@ function ro(e, t) {
|
|
|
1879
1874
|
element: n
|
|
1880
1875
|
} = t, {
|
|
1881
1876
|
id: r
|
|
1882
|
-
} = n, o = new
|
|
1877
|
+
} = n, o = new Xe(e.droppable.containers);
|
|
1883
1878
|
return o.set(r, n), {
|
|
1884
1879
|
...e,
|
|
1885
1880
|
droppable: {
|
|
@@ -1896,7 +1891,7 @@ function ro(e, t) {
|
|
|
1896
1891
|
} = t, i = e.droppable.containers.get(n);
|
|
1897
1892
|
if (!i || r !== i.key)
|
|
1898
1893
|
return e;
|
|
1899
|
-
const s = new
|
|
1894
|
+
const s = new Xe(e.droppable.containers);
|
|
1900
1895
|
return s.set(n, {
|
|
1901
1896
|
...i,
|
|
1902
1897
|
disabled: o
|
|
@@ -1915,7 +1910,7 @@ function ro(e, t) {
|
|
|
1915
1910
|
} = t, o = e.droppable.containers.get(n);
|
|
1916
1911
|
if (!o || r !== o.key)
|
|
1917
1912
|
return e;
|
|
1918
|
-
const i = new
|
|
1913
|
+
const i = new Xe(e.droppable.containers);
|
|
1919
1914
|
return i.delete(n), {
|
|
1920
1915
|
...e,
|
|
1921
1916
|
droppable: {
|
|
@@ -1928,7 +1923,7 @@ function ro(e, t) {
|
|
|
1928
1923
|
return e;
|
|
1929
1924
|
}
|
|
1930
1925
|
}
|
|
1931
|
-
function
|
|
1926
|
+
function Vr(e) {
|
|
1932
1927
|
let {
|
|
1933
1928
|
disabled: t
|
|
1934
1929
|
} = e;
|
|
@@ -1936,27 +1931,27 @@ function oo(e) {
|
|
|
1936
1931
|
active: n,
|
|
1937
1932
|
activatorEvent: r,
|
|
1938
1933
|
draggableNodes: o
|
|
1939
|
-
} =
|
|
1940
|
-
return
|
|
1934
|
+
} = ve(Ve), i = rt(r), s = rt(n?.id);
|
|
1935
|
+
return I(() => {
|
|
1941
1936
|
if (!t && !r && i && s != null) {
|
|
1942
|
-
if (!
|
|
1937
|
+
if (!ut(i) || document.activeElement === i.target)
|
|
1943
1938
|
return;
|
|
1944
1939
|
const a = o.get(s);
|
|
1945
1940
|
if (!a)
|
|
1946
1941
|
return;
|
|
1947
1942
|
const {
|
|
1948
1943
|
activatorNode: l,
|
|
1949
|
-
node:
|
|
1944
|
+
node: u
|
|
1950
1945
|
} = a;
|
|
1951
|
-
if (!l.current && !
|
|
1946
|
+
if (!l.current && !u.current)
|
|
1952
1947
|
return;
|
|
1953
1948
|
requestAnimationFrame(() => {
|
|
1954
|
-
for (const d of [l.current,
|
|
1949
|
+
for (const d of [l.current, u.current]) {
|
|
1955
1950
|
if (!d)
|
|
1956
1951
|
continue;
|
|
1957
|
-
const
|
|
1958
|
-
if (
|
|
1959
|
-
|
|
1952
|
+
const c = Yn(d);
|
|
1953
|
+
if (c) {
|
|
1954
|
+
c.focus();
|
|
1960
1955
|
break;
|
|
1961
1956
|
}
|
|
1962
1957
|
}
|
|
@@ -1964,7 +1959,7 @@ function oo(e) {
|
|
|
1964
1959
|
}
|
|
1965
1960
|
}, [r, t, o, s, i]), null;
|
|
1966
1961
|
}
|
|
1967
|
-
function
|
|
1962
|
+
function bn(e, t) {
|
|
1968
1963
|
let {
|
|
1969
1964
|
transform: n,
|
|
1970
1965
|
...r
|
|
@@ -1974,19 +1969,19 @@ function Dn(e, t) {
|
|
|
1974
1969
|
...r
|
|
1975
1970
|
}), n) : n;
|
|
1976
1971
|
}
|
|
1977
|
-
function
|
|
1978
|
-
return
|
|
1972
|
+
function qr(e) {
|
|
1973
|
+
return A(
|
|
1979
1974
|
() => ({
|
|
1980
1975
|
draggable: {
|
|
1981
|
-
...
|
|
1976
|
+
...tt.draggable,
|
|
1982
1977
|
...e?.draggable
|
|
1983
1978
|
},
|
|
1984
1979
|
droppable: {
|
|
1985
|
-
...
|
|
1980
|
+
...tt.droppable,
|
|
1986
1981
|
...e?.droppable
|
|
1987
1982
|
},
|
|
1988
1983
|
dragOverlay: {
|
|
1989
|
-
...
|
|
1984
|
+
...tt.dragOverlay,
|
|
1990
1985
|
...e?.dragOverlay
|
|
1991
1986
|
}
|
|
1992
1987
|
}),
|
|
@@ -1994,104 +1989,104 @@ function io(e) {
|
|
|
1994
1989
|
[e?.draggable, e?.droppable, e?.dragOverlay]
|
|
1995
1990
|
);
|
|
1996
1991
|
}
|
|
1997
|
-
function
|
|
1992
|
+
function Jr(e) {
|
|
1998
1993
|
let {
|
|
1999
1994
|
activeNode: t,
|
|
2000
1995
|
measure: n,
|
|
2001
1996
|
initialRect: r,
|
|
2002
1997
|
config: o = !0
|
|
2003
1998
|
} = e;
|
|
2004
|
-
const i =
|
|
1999
|
+
const i = T(!1), {
|
|
2005
2000
|
x: s,
|
|
2006
2001
|
y: a
|
|
2007
2002
|
} = typeof o == "boolean" ? {
|
|
2008
2003
|
x: o,
|
|
2009
2004
|
y: o
|
|
2010
2005
|
} : o;
|
|
2011
|
-
|
|
2006
|
+
_(() => {
|
|
2012
2007
|
if (!s && !a || !t) {
|
|
2013
2008
|
i.current = !1;
|
|
2014
2009
|
return;
|
|
2015
2010
|
}
|
|
2016
2011
|
if (i.current || !r)
|
|
2017
2012
|
return;
|
|
2018
|
-
const
|
|
2019
|
-
if (!
|
|
2013
|
+
const u = t?.node.current;
|
|
2014
|
+
if (!u || u.isConnected === !1)
|
|
2020
2015
|
return;
|
|
2021
|
-
const d = n(
|
|
2022
|
-
if (s || (
|
|
2023
|
-
const g =
|
|
2016
|
+
const d = n(u), c = en(d, r);
|
|
2017
|
+
if (s || (c.x = 0), a || (c.y = 0), i.current = !0, Math.abs(c.x) > 0 || Math.abs(c.y) > 0) {
|
|
2018
|
+
const g = nn(u);
|
|
2024
2019
|
g && g.scrollBy({
|
|
2025
|
-
top:
|
|
2026
|
-
left:
|
|
2020
|
+
top: c.y,
|
|
2021
|
+
left: c.x
|
|
2027
2022
|
});
|
|
2028
2023
|
}
|
|
2029
2024
|
}, [t, s, a, r, n]);
|
|
2030
2025
|
}
|
|
2031
|
-
const
|
|
2032
|
-
...
|
|
2026
|
+
const gt = /* @__PURE__ */ Ke({
|
|
2027
|
+
...Q,
|
|
2033
2028
|
scaleX: 1,
|
|
2034
2029
|
scaleY: 1
|
|
2035
2030
|
});
|
|
2036
|
-
var
|
|
2031
|
+
var he;
|
|
2037
2032
|
(function(e) {
|
|
2038
2033
|
e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
|
|
2039
|
-
})(
|
|
2040
|
-
const
|
|
2034
|
+
})(he || (he = {}));
|
|
2035
|
+
const No = /* @__PURE__ */ Pn(function(t) {
|
|
2041
2036
|
var n, r, o, i;
|
|
2042
2037
|
let {
|
|
2043
2038
|
id: s,
|
|
2044
2039
|
accessibility: a,
|
|
2045
2040
|
autoScroll: l = !0,
|
|
2046
|
-
children:
|
|
2047
|
-
sensors: d =
|
|
2048
|
-
collisionDetection:
|
|
2041
|
+
children: u,
|
|
2042
|
+
sensors: d = Yr,
|
|
2043
|
+
collisionDetection: c = or,
|
|
2049
2044
|
measuring: g,
|
|
2050
2045
|
modifiers: f,
|
|
2051
2046
|
...w
|
|
2052
2047
|
} = t;
|
|
2053
|
-
const h =
|
|
2048
|
+
const h = kn(Hr, void 0, Wr), [v, b] = h, [m, p] = qn(), [C, S] = X(he.Uninitialized), R = C === he.Initialized, {
|
|
2054
2049
|
draggable: {
|
|
2055
2050
|
active: y,
|
|
2056
2051
|
nodes: x,
|
|
2057
|
-
translate:
|
|
2052
|
+
translate: N
|
|
2058
2053
|
},
|
|
2059
2054
|
droppable: {
|
|
2060
2055
|
containers: L
|
|
2061
2056
|
}
|
|
2062
|
-
} = v,
|
|
2057
|
+
} = v, O = y != null ? x.get(y) : null, J = T({
|
|
2063
2058
|
initial: null,
|
|
2064
2059
|
translated: null
|
|
2065
|
-
}), G =
|
|
2066
|
-
var
|
|
2060
|
+
}), G = A(() => {
|
|
2061
|
+
var B;
|
|
2067
2062
|
return y != null ? {
|
|
2068
2063
|
id: y,
|
|
2069
2064
|
// It's possible for the active node to unmount while dragging
|
|
2070
|
-
data: (
|
|
2065
|
+
data: (B = O?.data) != null ? B : Kr,
|
|
2071
2066
|
rect: J
|
|
2072
2067
|
} : null;
|
|
2073
|
-
}, [y,
|
|
2074
|
-
droppableRects:
|
|
2075
|
-
measureDroppableContainers:
|
|
2076
|
-
measuringScheduled:
|
|
2077
|
-
} =
|
|
2068
|
+
}, [y, O]), Z = T(null), [Oe, qe] = X(null), [Y, Je] = X(null), re = $e(w, Object.values(w)), Ie = He("DndDescribedBy", s), Ge = A(() => L.getEnabled(), [L]), j = qr(g), {
|
|
2069
|
+
droppableRects: oe,
|
|
2070
|
+
measureDroppableContainers: pe,
|
|
2071
|
+
measuringScheduled: Te
|
|
2072
|
+
} = Nr(Ge, {
|
|
2078
2073
|
dragging: R,
|
|
2079
|
-
dependencies: [
|
|
2080
|
-
config:
|
|
2081
|
-
}), H =
|
|
2082
|
-
|
|
2074
|
+
dependencies: [N.x, N.y],
|
|
2075
|
+
config: j.droppable
|
|
2076
|
+
}), H = Ir(x, y), _e = A(() => Y ? ot(Y) : null, [Y]), le = Mn(), ie = Mr(H, j.draggable.measure);
|
|
2077
|
+
Jr({
|
|
2083
2078
|
activeNode: y != null ? x.get(y) : null,
|
|
2084
|
-
config:
|
|
2085
|
-
initialRect:
|
|
2086
|
-
measure:
|
|
2079
|
+
config: le.layoutShiftCompensation,
|
|
2080
|
+
initialRect: ie,
|
|
2081
|
+
measure: j.draggable.measure
|
|
2087
2082
|
});
|
|
2088
|
-
const
|
|
2083
|
+
const E = Ut(H, j.draggable.measure, ie), Ne = Ut(H ? H.parentElement : null), ee = T({
|
|
2089
2084
|
activatorEvent: null,
|
|
2090
2085
|
active: null,
|
|
2091
2086
|
activeNode: H,
|
|
2092
2087
|
collisionRect: null,
|
|
2093
2088
|
collisions: null,
|
|
2094
|
-
droppableRects:
|
|
2089
|
+
droppableRects: oe,
|
|
2095
2090
|
draggableNodes: x,
|
|
2096
2091
|
draggingNode: null,
|
|
2097
2092
|
draggingNodeRect: null,
|
|
@@ -2099,105 +2094,105 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2099
2094
|
over: null,
|
|
2100
2095
|
scrollableAncestors: [],
|
|
2101
2096
|
scrollAdjustedTranslate: null
|
|
2102
|
-
}),
|
|
2103
|
-
measure:
|
|
2104
|
-
}),
|
|
2097
|
+
}), me = L.getNodeFor((n = ee.current.over) == null ? void 0 : n.id), se = jr({
|
|
2098
|
+
measure: j.dragOverlay.measure
|
|
2099
|
+
}), ye = (r = se.nodeRef.current) != null ? r : H, we = R ? (o = se.rect) != null ? o : E : null, It = !!(se.nodeRef.current && se.rect), Tt = kr(It ? null : E), ht = gn(ye ? $(ye) : null), ce = zr(R ? me ?? H : null), Qe = $r(ce), Ze = bn(f, {
|
|
2105
2100
|
transform: {
|
|
2106
|
-
x:
|
|
2107
|
-
y:
|
|
2101
|
+
x: N.x - Tt.x,
|
|
2102
|
+
y: N.y - Tt.y,
|
|
2108
2103
|
scaleX: 1,
|
|
2109
2104
|
scaleY: 1
|
|
2110
2105
|
},
|
|
2111
2106
|
activatorEvent: Y,
|
|
2112
2107
|
active: G,
|
|
2113
|
-
activeNodeRect:
|
|
2114
|
-
containerNodeRect:
|
|
2115
|
-
draggingNodeRect:
|
|
2116
|
-
over:
|
|
2117
|
-
overlayNodeRect:
|
|
2118
|
-
scrollableAncestors:
|
|
2119
|
-
scrollableAncestorRects:
|
|
2120
|
-
windowRect:
|
|
2121
|
-
}),
|
|
2108
|
+
activeNodeRect: E,
|
|
2109
|
+
containerNodeRect: Ne,
|
|
2110
|
+
draggingNodeRect: we,
|
|
2111
|
+
over: ee.current.over,
|
|
2112
|
+
overlayNodeRect: se.rect,
|
|
2113
|
+
scrollableAncestors: ce,
|
|
2114
|
+
scrollableAncestorRects: Qe,
|
|
2115
|
+
windowRect: ht
|
|
2116
|
+
}), Nt = _e ? Se(_e, N) : null, Mt = Br(ce), Rn = Ht(Mt), En = Ht(Mt, [E]), xe = Se(Ze, Rn), De = we ? ar(we, Ze) : null, Me = G && De ? c({
|
|
2122
2117
|
active: G,
|
|
2123
|
-
collisionRect:
|
|
2124
|
-
droppableRects:
|
|
2118
|
+
collisionRect: De,
|
|
2119
|
+
droppableRects: oe,
|
|
2125
2120
|
droppableContainers: Ge,
|
|
2126
|
-
pointerCoordinates:
|
|
2127
|
-
}) : null,
|
|
2128
|
-
(
|
|
2121
|
+
pointerCoordinates: Nt
|
|
2122
|
+
}) : null, Lt = Zt(Me, "id"), [ue, Pt] = X(null), An = It ? Ze : Se(Ze, En), On = ir(An, (i = ue?.rect) != null ? i : null, E), vt = T(null), kt = F(
|
|
2123
|
+
(B, K) => {
|
|
2129
2124
|
let {
|
|
2130
2125
|
sensor: U,
|
|
2131
|
-
options:
|
|
2126
|
+
options: de
|
|
2132
2127
|
} = K;
|
|
2133
|
-
if (
|
|
2128
|
+
if (Z.current == null)
|
|
2134
2129
|
return;
|
|
2135
|
-
const V = x.get(
|
|
2130
|
+
const V = x.get(Z.current);
|
|
2136
2131
|
if (!V)
|
|
2137
2132
|
return;
|
|
2138
|
-
const W =
|
|
2139
|
-
active:
|
|
2133
|
+
const W = B.nativeEvent, te = new U({
|
|
2134
|
+
active: Z.current,
|
|
2140
2135
|
activeNode: V,
|
|
2141
2136
|
event: W,
|
|
2142
|
-
options:
|
|
2137
|
+
options: de,
|
|
2143
2138
|
// Sensors need to be instantiated with refs for arguments that change over time
|
|
2144
2139
|
// otherwise they are frozen in time with the stale arguments
|
|
2145
|
-
context:
|
|
2140
|
+
context: ee,
|
|
2146
2141
|
onAbort(z) {
|
|
2147
2142
|
if (!x.get(z))
|
|
2148
2143
|
return;
|
|
2149
2144
|
const {
|
|
2150
|
-
onDragAbort:
|
|
2151
|
-
} =
|
|
2145
|
+
onDragAbort: ne
|
|
2146
|
+
} = re.current, ae = {
|
|
2152
2147
|
id: z
|
|
2153
2148
|
};
|
|
2154
|
-
|
|
2149
|
+
ne?.(ae), m({
|
|
2155
2150
|
type: "onDragAbort",
|
|
2156
|
-
event:
|
|
2151
|
+
event: ae
|
|
2157
2152
|
});
|
|
2158
2153
|
},
|
|
2159
|
-
onPending(z,
|
|
2154
|
+
onPending(z, fe, ne, ae) {
|
|
2160
2155
|
if (!x.get(z))
|
|
2161
2156
|
return;
|
|
2162
2157
|
const {
|
|
2163
|
-
onDragPending:
|
|
2164
|
-
} =
|
|
2158
|
+
onDragPending: Pe
|
|
2159
|
+
} = re.current, ge = {
|
|
2165
2160
|
id: z,
|
|
2166
|
-
constraint:
|
|
2167
|
-
initialCoordinates:
|
|
2168
|
-
offset:
|
|
2161
|
+
constraint: fe,
|
|
2162
|
+
initialCoordinates: ne,
|
|
2163
|
+
offset: ae
|
|
2169
2164
|
};
|
|
2170
|
-
|
|
2165
|
+
Pe?.(ge), m({
|
|
2171
2166
|
type: "onDragPending",
|
|
2172
|
-
event:
|
|
2167
|
+
event: ge
|
|
2173
2168
|
});
|
|
2174
2169
|
},
|
|
2175
2170
|
onStart(z) {
|
|
2176
|
-
const
|
|
2177
|
-
if (
|
|
2171
|
+
const fe = Z.current;
|
|
2172
|
+
if (fe == null)
|
|
2178
2173
|
return;
|
|
2179
|
-
const
|
|
2180
|
-
if (!
|
|
2174
|
+
const ne = x.get(fe);
|
|
2175
|
+
if (!ne)
|
|
2181
2176
|
return;
|
|
2182
2177
|
const {
|
|
2183
|
-
onDragStart:
|
|
2184
|
-
} =
|
|
2178
|
+
onDragStart: ae
|
|
2179
|
+
} = re.current, Le = {
|
|
2185
2180
|
activatorEvent: W,
|
|
2186
2181
|
active: {
|
|
2187
|
-
id:
|
|
2188
|
-
data:
|
|
2182
|
+
id: fe,
|
|
2183
|
+
data: ne.data,
|
|
2189
2184
|
rect: J
|
|
2190
2185
|
}
|
|
2191
2186
|
};
|
|
2192
|
-
|
|
2193
|
-
|
|
2187
|
+
ze.unstable_batchedUpdates(() => {
|
|
2188
|
+
ae?.(Le), S(he.Initializing), b({
|
|
2194
2189
|
type: P.DragStart,
|
|
2195
2190
|
initialCoordinates: z,
|
|
2196
|
-
active:
|
|
2191
|
+
active: fe
|
|
2197
2192
|
}), m({
|
|
2198
2193
|
type: "onDragStart",
|
|
2199
|
-
event:
|
|
2200
|
-
}),
|
|
2194
|
+
event: Le
|
|
2195
|
+
}), qe(vt.current), Je(W);
|
|
2201
2196
|
});
|
|
2202
2197
|
},
|
|
2203
2198
|
onMove(z) {
|
|
@@ -2209,38 +2204,38 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2209
2204
|
onEnd: Ce(P.DragEnd),
|
|
2210
2205
|
onCancel: Ce(P.DragCancel)
|
|
2211
2206
|
});
|
|
2212
|
-
|
|
2207
|
+
vt.current = te;
|
|
2213
2208
|
function Ce(z) {
|
|
2214
2209
|
return async function() {
|
|
2215
2210
|
const {
|
|
2216
|
-
active:
|
|
2217
|
-
collisions:
|
|
2218
|
-
over:
|
|
2219
|
-
scrollAdjustedTranslate:
|
|
2220
|
-
} =
|
|
2221
|
-
let
|
|
2222
|
-
if (
|
|
2211
|
+
active: ne,
|
|
2212
|
+
collisions: ae,
|
|
2213
|
+
over: Le,
|
|
2214
|
+
scrollAdjustedTranslate: Pe
|
|
2215
|
+
} = ee.current;
|
|
2216
|
+
let ge = null;
|
|
2217
|
+
if (ne && Pe) {
|
|
2223
2218
|
const {
|
|
2224
|
-
cancelDrop:
|
|
2225
|
-
} =
|
|
2226
|
-
|
|
2219
|
+
cancelDrop: ke
|
|
2220
|
+
} = re.current;
|
|
2221
|
+
ge = {
|
|
2227
2222
|
activatorEvent: W,
|
|
2228
|
-
active:
|
|
2229
|
-
collisions:
|
|
2230
|
-
delta:
|
|
2231
|
-
over:
|
|
2232
|
-
}, z === P.DragEnd && typeof
|
|
2223
|
+
active: ne,
|
|
2224
|
+
collisions: ae,
|
|
2225
|
+
delta: Pe,
|
|
2226
|
+
over: Le
|
|
2227
|
+
}, z === P.DragEnd && typeof ke == "function" && await Promise.resolve(ke(ge)) && (z = P.DragCancel);
|
|
2233
2228
|
}
|
|
2234
|
-
|
|
2229
|
+
Z.current = null, ze.unstable_batchedUpdates(() => {
|
|
2235
2230
|
b({
|
|
2236
2231
|
type: z
|
|
2237
|
-
}),
|
|
2238
|
-
const
|
|
2239
|
-
if (
|
|
2240
|
-
const
|
|
2241
|
-
|
|
2242
|
-
type:
|
|
2243
|
-
event:
|
|
2232
|
+
}), S(he.Uninitialized), Pt(null), qe(null), Je(null), vt.current = null;
|
|
2233
|
+
const ke = z === P.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
2234
|
+
if (ge) {
|
|
2235
|
+
const pt = re.current[ke];
|
|
2236
|
+
pt?.(ge), m({
|
|
2237
|
+
type: ke,
|
|
2238
|
+
event: ge
|
|
2244
2239
|
});
|
|
2245
2240
|
}
|
|
2246
2241
|
});
|
|
@@ -2249,75 +2244,75 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2249
2244
|
},
|
|
2250
2245
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2251
2246
|
[x]
|
|
2252
|
-
),
|
|
2253
|
-
const V = U.nativeEvent, W = x.get(
|
|
2247
|
+
), In = F((B, K) => (U, de) => {
|
|
2248
|
+
const V = U.nativeEvent, W = x.get(de);
|
|
2254
2249
|
if (
|
|
2255
2250
|
// Another sensor is already instantiating
|
|
2256
|
-
|
|
2251
|
+
Z.current !== null || // No active draggable
|
|
2257
2252
|
!W || // Event has already been captured
|
|
2258
2253
|
V.dndKit || V.defaultPrevented
|
|
2259
2254
|
)
|
|
2260
2255
|
return;
|
|
2261
|
-
const
|
|
2256
|
+
const te = {
|
|
2262
2257
|
active: W
|
|
2263
2258
|
};
|
|
2264
|
-
|
|
2259
|
+
B(U, K.options, te) === !0 && (V.dndKit = {
|
|
2265
2260
|
capturedBy: K.sensor
|
|
2266
|
-
},
|
|
2267
|
-
}, [x,
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
}, [
|
|
2261
|
+
}, Z.current = de, kt(U, K));
|
|
2262
|
+
}, [x, kt]), zt = Tr(d, In);
|
|
2263
|
+
Fr(d), _(() => {
|
|
2264
|
+
E && C === he.Initializing && S(he.Initialized);
|
|
2265
|
+
}, [E, C]), I(
|
|
2271
2266
|
() => {
|
|
2272
2267
|
const {
|
|
2273
|
-
onDragMove:
|
|
2274
|
-
} =
|
|
2268
|
+
onDragMove: B
|
|
2269
|
+
} = re.current, {
|
|
2275
2270
|
active: K,
|
|
2276
2271
|
activatorEvent: U,
|
|
2277
|
-
collisions:
|
|
2272
|
+
collisions: de,
|
|
2278
2273
|
over: V
|
|
2279
|
-
} =
|
|
2274
|
+
} = ee.current;
|
|
2280
2275
|
if (!K || !U)
|
|
2281
2276
|
return;
|
|
2282
2277
|
const W = {
|
|
2283
2278
|
active: K,
|
|
2284
2279
|
activatorEvent: U,
|
|
2285
|
-
collisions:
|
|
2280
|
+
collisions: de,
|
|
2286
2281
|
delta: {
|
|
2287
|
-
x:
|
|
2288
|
-
y:
|
|
2282
|
+
x: xe.x,
|
|
2283
|
+
y: xe.y
|
|
2289
2284
|
},
|
|
2290
2285
|
over: V
|
|
2291
2286
|
};
|
|
2292
|
-
|
|
2293
|
-
|
|
2287
|
+
ze.unstable_batchedUpdates(() => {
|
|
2288
|
+
B?.(W), m({
|
|
2294
2289
|
type: "onDragMove",
|
|
2295
2290
|
event: W
|
|
2296
2291
|
});
|
|
2297
2292
|
});
|
|
2298
2293
|
},
|
|
2299
2294
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2300
|
-
[
|
|
2301
|
-
),
|
|
2295
|
+
[xe.x, xe.y]
|
|
2296
|
+
), I(
|
|
2302
2297
|
() => {
|
|
2303
2298
|
const {
|
|
2304
|
-
active:
|
|
2299
|
+
active: B,
|
|
2305
2300
|
activatorEvent: K,
|
|
2306
2301
|
collisions: U,
|
|
2307
|
-
droppableContainers:
|
|
2302
|
+
droppableContainers: de,
|
|
2308
2303
|
scrollAdjustedTranslate: V
|
|
2309
|
-
} =
|
|
2310
|
-
if (!
|
|
2304
|
+
} = ee.current;
|
|
2305
|
+
if (!B || Z.current == null || !K || !V)
|
|
2311
2306
|
return;
|
|
2312
2307
|
const {
|
|
2313
2308
|
onDragOver: W
|
|
2314
|
-
} =
|
|
2315
|
-
id:
|
|
2316
|
-
rect:
|
|
2317
|
-
data:
|
|
2318
|
-
disabled:
|
|
2309
|
+
} = re.current, te = de.get(Lt), Ce = te && te.rect.current ? {
|
|
2310
|
+
id: te.id,
|
|
2311
|
+
rect: te.rect.current,
|
|
2312
|
+
data: te.data,
|
|
2313
|
+
disabled: te.disabled
|
|
2319
2314
|
} : null, z = {
|
|
2320
|
-
active:
|
|
2315
|
+
active: B,
|
|
2321
2316
|
activatorEvent: K,
|
|
2322
2317
|
collisions: U,
|
|
2323
2318
|
delta: {
|
|
@@ -2326,89 +2321,89 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2326
2321
|
},
|
|
2327
2322
|
over: Ce
|
|
2328
2323
|
};
|
|
2329
|
-
|
|
2330
|
-
|
|
2324
|
+
ze.unstable_batchedUpdates(() => {
|
|
2325
|
+
Pt(Ce), W?.(z), m({
|
|
2331
2326
|
type: "onDragOver",
|
|
2332
2327
|
event: z
|
|
2333
2328
|
});
|
|
2334
2329
|
});
|
|
2335
2330
|
},
|
|
2336
2331
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2337
|
-
[
|
|
2338
|
-
),
|
|
2339
|
-
|
|
2332
|
+
[Lt]
|
|
2333
|
+
), _(() => {
|
|
2334
|
+
ee.current = {
|
|
2340
2335
|
activatorEvent: Y,
|
|
2341
2336
|
active: G,
|
|
2342
2337
|
activeNode: H,
|
|
2343
|
-
collisionRect:
|
|
2344
|
-
collisions:
|
|
2345
|
-
droppableRects:
|
|
2338
|
+
collisionRect: De,
|
|
2339
|
+
collisions: Me,
|
|
2340
|
+
droppableRects: oe,
|
|
2346
2341
|
draggableNodes: x,
|
|
2347
|
-
draggingNode:
|
|
2348
|
-
draggingNodeRect:
|
|
2342
|
+
draggingNode: ye,
|
|
2343
|
+
draggingNodeRect: we,
|
|
2349
2344
|
droppableContainers: L,
|
|
2350
|
-
over:
|
|
2351
|
-
scrollableAncestors:
|
|
2352
|
-
scrollAdjustedTranslate:
|
|
2345
|
+
over: ue,
|
|
2346
|
+
scrollableAncestors: ce,
|
|
2347
|
+
scrollAdjustedTranslate: xe
|
|
2353
2348
|
}, J.current = {
|
|
2354
|
-
initial:
|
|
2355
|
-
translated:
|
|
2349
|
+
initial: we,
|
|
2350
|
+
translated: De
|
|
2356
2351
|
};
|
|
2357
|
-
}, [G, H,
|
|
2358
|
-
...
|
|
2359
|
-
delta:
|
|
2360
|
-
draggingRect:
|
|
2361
|
-
pointerCoordinates:
|
|
2362
|
-
scrollableAncestors:
|
|
2363
|
-
scrollableAncestorRects:
|
|
2352
|
+
}, [G, H, Me, De, x, ye, we, oe, L, ue, ce, xe]), Er({
|
|
2353
|
+
...le,
|
|
2354
|
+
delta: N,
|
|
2355
|
+
draggingRect: De,
|
|
2356
|
+
pointerCoordinates: Nt,
|
|
2357
|
+
scrollableAncestors: ce,
|
|
2358
|
+
scrollableAncestorRects: Qe
|
|
2364
2359
|
});
|
|
2365
|
-
const
|
|
2360
|
+
const Tn = A(() => ({
|
|
2366
2361
|
active: G,
|
|
2367
2362
|
activeNode: H,
|
|
2368
|
-
activeNodeRect:
|
|
2363
|
+
activeNodeRect: E,
|
|
2369
2364
|
activatorEvent: Y,
|
|
2370
|
-
collisions:
|
|
2371
|
-
containerNodeRect:
|
|
2372
|
-
dragOverlay:
|
|
2365
|
+
collisions: Me,
|
|
2366
|
+
containerNodeRect: Ne,
|
|
2367
|
+
dragOverlay: se,
|
|
2373
2368
|
draggableNodes: x,
|
|
2374
2369
|
droppableContainers: L,
|
|
2375
|
-
droppableRects:
|
|
2376
|
-
over:
|
|
2377
|
-
measureDroppableContainers:
|
|
2378
|
-
scrollableAncestors:
|
|
2379
|
-
scrollableAncestorRects:
|
|
2380
|
-
measuringConfiguration:
|
|
2381
|
-
measuringScheduled:
|
|
2382
|
-
windowRect:
|
|
2383
|
-
}), [G, H,
|
|
2370
|
+
droppableRects: oe,
|
|
2371
|
+
over: ue,
|
|
2372
|
+
measureDroppableContainers: pe,
|
|
2373
|
+
scrollableAncestors: ce,
|
|
2374
|
+
scrollableAncestorRects: Qe,
|
|
2375
|
+
measuringConfiguration: j,
|
|
2376
|
+
measuringScheduled: Te,
|
|
2377
|
+
windowRect: ht
|
|
2378
|
+
}), [G, H, E, Y, Me, Ne, se, x, L, oe, ue, pe, ce, Qe, j, Te, ht]), Nn = A(() => ({
|
|
2384
2379
|
activatorEvent: Y,
|
|
2385
|
-
activators:
|
|
2380
|
+
activators: zt,
|
|
2386
2381
|
active: G,
|
|
2387
|
-
activeNodeRect:
|
|
2382
|
+
activeNodeRect: E,
|
|
2388
2383
|
ariaDescribedById: {
|
|
2389
|
-
draggable:
|
|
2384
|
+
draggable: Ie
|
|
2390
2385
|
},
|
|
2391
2386
|
dispatch: b,
|
|
2392
2387
|
draggableNodes: x,
|
|
2393
|
-
over:
|
|
2394
|
-
measureDroppableContainers:
|
|
2395
|
-
}), [Y,
|
|
2396
|
-
return M.createElement(
|
|
2388
|
+
over: ue,
|
|
2389
|
+
measureDroppableContainers: pe
|
|
2390
|
+
}), [Y, zt, G, E, b, Ie, x, ue, pe]);
|
|
2391
|
+
return M.createElement(Qt.Provider, {
|
|
2397
2392
|
value: p
|
|
2398
|
-
}, M.createElement(
|
|
2399
|
-
value:
|
|
2400
|
-
}, M.createElement(
|
|
2401
|
-
value:
|
|
2402
|
-
}, M.createElement(
|
|
2403
|
-
value:
|
|
2404
|
-
},
|
|
2393
|
+
}, M.createElement(Ve.Provider, {
|
|
2394
|
+
value: Nn
|
|
2395
|
+
}, M.createElement(pn.Provider, {
|
|
2396
|
+
value: Tn
|
|
2397
|
+
}, M.createElement(gt.Provider, {
|
|
2398
|
+
value: On
|
|
2399
|
+
}, u)), M.createElement(Vr, {
|
|
2405
2400
|
disabled: a?.restoreFocus === !1
|
|
2406
|
-
})), M.createElement(
|
|
2401
|
+
})), M.createElement(_n, {
|
|
2407
2402
|
...a,
|
|
2408
|
-
hiddenTextDescribedById:
|
|
2403
|
+
hiddenTextDescribedById: Ie
|
|
2409
2404
|
}));
|
|
2410
|
-
function
|
|
2411
|
-
const
|
|
2405
|
+
function Mn() {
|
|
2406
|
+
const B = Oe?.autoScrollEnabled === !1, K = typeof l == "object" ? l.enabled === !1 : l === !1, U = R && !B && !K;
|
|
2412
2407
|
return typeof l == "object" ? {
|
|
2413
2408
|
...l,
|
|
2414
2409
|
enabled: U
|
|
@@ -2416,118 +2411,118 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2416
2411
|
enabled: U
|
|
2417
2412
|
};
|
|
2418
2413
|
}
|
|
2419
|
-
}),
|
|
2420
|
-
function
|
|
2414
|
+
}), Gr = /* @__PURE__ */ Ke(null), qt = "button", _r = "Draggable";
|
|
2415
|
+
function Qr(e) {
|
|
2421
2416
|
let {
|
|
2422
2417
|
id: t,
|
|
2423
2418
|
data: n,
|
|
2424
2419
|
disabled: r = !1,
|
|
2425
2420
|
attributes: o
|
|
2426
2421
|
} = e;
|
|
2427
|
-
const i =
|
|
2422
|
+
const i = He(_r), {
|
|
2428
2423
|
activators: s,
|
|
2429
2424
|
activatorEvent: a,
|
|
2430
2425
|
active: l,
|
|
2431
|
-
activeNodeRect:
|
|
2426
|
+
activeNodeRect: u,
|
|
2432
2427
|
ariaDescribedById: d,
|
|
2433
|
-
draggableNodes:
|
|
2428
|
+
draggableNodes: c,
|
|
2434
2429
|
over: g
|
|
2435
|
-
} =
|
|
2436
|
-
role: f =
|
|
2430
|
+
} = ve(Ve), {
|
|
2431
|
+
role: f = qt,
|
|
2437
2432
|
roleDescription: w = "draggable",
|
|
2438
2433
|
tabIndex: h = 0
|
|
2439
|
-
} = o ?? {}, v = l?.id === t, b =
|
|
2440
|
-
|
|
2441
|
-
() => (
|
|
2434
|
+
} = o ?? {}, v = l?.id === t, b = ve(v ? gt : Gr), [m, p] = nt(), [C, S] = nt(), R = Xr(s, t), y = $e(n);
|
|
2435
|
+
_(
|
|
2436
|
+
() => (c.set(t, {
|
|
2442
2437
|
id: t,
|
|
2443
2438
|
key: i,
|
|
2444
2439
|
node: m,
|
|
2445
|
-
activatorNode:
|
|
2440
|
+
activatorNode: C,
|
|
2446
2441
|
data: y
|
|
2447
2442
|
}), () => {
|
|
2448
|
-
const
|
|
2449
|
-
|
|
2443
|
+
const N = c.get(t);
|
|
2444
|
+
N && N.key === i && c.delete(t);
|
|
2450
2445
|
}),
|
|
2451
2446
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2452
|
-
[
|
|
2447
|
+
[c, t]
|
|
2453
2448
|
);
|
|
2454
|
-
const x =
|
|
2449
|
+
const x = A(() => ({
|
|
2455
2450
|
role: f,
|
|
2456
2451
|
tabIndex: h,
|
|
2457
2452
|
"aria-disabled": r,
|
|
2458
|
-
"aria-pressed": v && f ===
|
|
2453
|
+
"aria-pressed": v && f === qt ? !0 : void 0,
|
|
2459
2454
|
"aria-roledescription": w,
|
|
2460
2455
|
"aria-describedby": d.draggable
|
|
2461
2456
|
}), [r, f, h, v, w, d.draggable]);
|
|
2462
2457
|
return {
|
|
2463
2458
|
active: l,
|
|
2464
2459
|
activatorEvent: a,
|
|
2465
|
-
activeNodeRect:
|
|
2460
|
+
activeNodeRect: u,
|
|
2466
2461
|
attributes: x,
|
|
2467
2462
|
isDragging: v,
|
|
2468
2463
|
listeners: r ? void 0 : R,
|
|
2469
2464
|
node: m,
|
|
2470
2465
|
over: g,
|
|
2471
2466
|
setNodeRef: p,
|
|
2472
|
-
setActivatorNodeRef:
|
|
2467
|
+
setActivatorNodeRef: S,
|
|
2473
2468
|
transform: b
|
|
2474
2469
|
};
|
|
2475
2470
|
}
|
|
2476
|
-
function
|
|
2477
|
-
return
|
|
2471
|
+
function mn() {
|
|
2472
|
+
return ve(pn);
|
|
2478
2473
|
}
|
|
2479
|
-
const
|
|
2474
|
+
const Zr = "Droppable", eo = {
|
|
2480
2475
|
timeout: 25
|
|
2481
2476
|
};
|
|
2482
|
-
function
|
|
2477
|
+
function to(e) {
|
|
2483
2478
|
let {
|
|
2484
2479
|
data: t,
|
|
2485
2480
|
disabled: n = !1,
|
|
2486
2481
|
id: r,
|
|
2487
2482
|
resizeObserverConfig: o
|
|
2488
2483
|
} = e;
|
|
2489
|
-
const i =
|
|
2484
|
+
const i = He(Zr), {
|
|
2490
2485
|
active: s,
|
|
2491
2486
|
dispatch: a,
|
|
2492
2487
|
over: l,
|
|
2493
|
-
measureDroppableContainers:
|
|
2494
|
-
} =
|
|
2488
|
+
measureDroppableContainers: u
|
|
2489
|
+
} = ve(Ve), d = T({
|
|
2495
2490
|
disabled: n
|
|
2496
|
-
}),
|
|
2491
|
+
}), c = T(!1), g = T(null), f = T(null), {
|
|
2497
2492
|
disabled: w,
|
|
2498
2493
|
updateMeasurementsFor: h,
|
|
2499
2494
|
timeout: v
|
|
2500
2495
|
} = {
|
|
2501
|
-
...
|
|
2496
|
+
...eo,
|
|
2502
2497
|
...o
|
|
2503
|
-
}, b =
|
|
2498
|
+
}, b = $e(h ?? r), m = F(
|
|
2504
2499
|
() => {
|
|
2505
|
-
if (!
|
|
2506
|
-
|
|
2500
|
+
if (!c.current) {
|
|
2501
|
+
c.current = !0;
|
|
2507
2502
|
return;
|
|
2508
2503
|
}
|
|
2509
2504
|
f.current != null && clearTimeout(f.current), f.current = setTimeout(() => {
|
|
2510
|
-
|
|
2505
|
+
u(Array.isArray(b.current) ? b.current : [b.current]), f.current = null;
|
|
2511
2506
|
}, v);
|
|
2512
2507
|
},
|
|
2513
2508
|
//eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2514
2509
|
[v]
|
|
2515
|
-
), p =
|
|
2510
|
+
), p = ft({
|
|
2516
2511
|
callback: m,
|
|
2517
2512
|
disabled: w || !s
|
|
2518
|
-
}),
|
|
2519
|
-
p && (
|
|
2520
|
-
}, [p]), [
|
|
2521
|
-
return
|
|
2522
|
-
!p || !
|
|
2523
|
-
}, [
|
|
2513
|
+
}), C = F((x, N) => {
|
|
2514
|
+
p && (N && (p.unobserve(N), c.current = !1), x && p.observe(x));
|
|
2515
|
+
}, [p]), [S, R] = nt(C), y = $e(t);
|
|
2516
|
+
return I(() => {
|
|
2517
|
+
!p || !S.current || (p.disconnect(), c.current = !1, p.observe(S.current));
|
|
2518
|
+
}, [S, p]), I(
|
|
2524
2519
|
() => (a({
|
|
2525
2520
|
type: P.RegisterDroppable,
|
|
2526
2521
|
element: {
|
|
2527
2522
|
id: r,
|
|
2528
2523
|
key: i,
|
|
2529
2524
|
disabled: n,
|
|
2530
|
-
node:
|
|
2525
|
+
node: S,
|
|
2531
2526
|
rect: g,
|
|
2532
2527
|
data: y
|
|
2533
2528
|
}
|
|
@@ -2538,7 +2533,7 @@ function ho(e) {
|
|
|
2538
2533
|
})),
|
|
2539
2534
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2540
2535
|
[r]
|
|
2541
|
-
),
|
|
2536
|
+
), I(() => {
|
|
2542
2537
|
n !== d.current.disabled && (a({
|
|
2543
2538
|
type: P.SetDroppableDisabled,
|
|
2544
2539
|
id: r,
|
|
@@ -2549,52 +2544,52 @@ function ho(e) {
|
|
|
2549
2544
|
active: s,
|
|
2550
2545
|
rect: g,
|
|
2551
2546
|
isOver: l?.id === r,
|
|
2552
|
-
node:
|
|
2547
|
+
node: S,
|
|
2553
2548
|
over: l,
|
|
2554
2549
|
setNodeRef: R
|
|
2555
2550
|
};
|
|
2556
2551
|
}
|
|
2557
|
-
function
|
|
2552
|
+
function no(e) {
|
|
2558
2553
|
let {
|
|
2559
2554
|
animation: t,
|
|
2560
2555
|
children: n
|
|
2561
2556
|
} = e;
|
|
2562
|
-
const [r, o] =
|
|
2563
|
-
return !n && !r && a && o(a),
|
|
2557
|
+
const [r, o] = X(null), [i, s] = X(null), a = rt(n);
|
|
2558
|
+
return !n && !r && a && o(a), _(() => {
|
|
2564
2559
|
if (!i)
|
|
2565
2560
|
return;
|
|
2566
|
-
const l = r?.key,
|
|
2567
|
-
if (l == null ||
|
|
2561
|
+
const l = r?.key, u = r?.props.id;
|
|
2562
|
+
if (l == null || u == null) {
|
|
2568
2563
|
o(null);
|
|
2569
2564
|
return;
|
|
2570
2565
|
}
|
|
2571
|
-
Promise.resolve(t(
|
|
2566
|
+
Promise.resolve(t(u, i)).then(() => {
|
|
2572
2567
|
o(null);
|
|
2573
2568
|
});
|
|
2574
|
-
}, [t, r, i]), M.createElement(M.Fragment, null, n, r ?
|
|
2569
|
+
}, [t, r, i]), M.createElement(M.Fragment, null, n, r ? Bn(r, {
|
|
2575
2570
|
ref: s
|
|
2576
2571
|
}) : null);
|
|
2577
2572
|
}
|
|
2578
|
-
const
|
|
2573
|
+
const ro = {
|
|
2579
2574
|
x: 0,
|
|
2580
2575
|
y: 0,
|
|
2581
2576
|
scaleX: 1,
|
|
2582
2577
|
scaleY: 1
|
|
2583
2578
|
};
|
|
2584
|
-
function
|
|
2579
|
+
function oo(e) {
|
|
2585
2580
|
let {
|
|
2586
2581
|
children: t
|
|
2587
2582
|
} = e;
|
|
2588
|
-
return M.createElement(
|
|
2589
|
-
value:
|
|
2590
|
-
}, M.createElement(
|
|
2591
|
-
value:
|
|
2583
|
+
return M.createElement(Ve.Provider, {
|
|
2584
|
+
value: vn
|
|
2585
|
+
}, M.createElement(gt.Provider, {
|
|
2586
|
+
value: ro
|
|
2592
2587
|
}, t));
|
|
2593
2588
|
}
|
|
2594
|
-
const
|
|
2589
|
+
const io = {
|
|
2595
2590
|
position: "fixed",
|
|
2596
2591
|
touchAction: "none"
|
|
2597
|
-
},
|
|
2592
|
+
}, so = (e) => ut(e) ? "transform 250ms ease" : void 0, ao = /* @__PURE__ */ zn((e, t) => {
|
|
2598
2593
|
let {
|
|
2599
2594
|
as: n,
|
|
2600
2595
|
activatorEvent: r,
|
|
@@ -2603,23 +2598,23 @@ const mo = {
|
|
|
2603
2598
|
className: s,
|
|
2604
2599
|
rect: a,
|
|
2605
2600
|
style: l,
|
|
2606
|
-
transform:
|
|
2607
|
-
transition: d =
|
|
2601
|
+
transform: u,
|
|
2602
|
+
transition: d = so
|
|
2608
2603
|
} = e;
|
|
2609
2604
|
if (!a)
|
|
2610
2605
|
return null;
|
|
2611
|
-
const
|
|
2612
|
-
...
|
|
2606
|
+
const c = o ? u : {
|
|
2607
|
+
...u,
|
|
2613
2608
|
scaleX: 1,
|
|
2614
2609
|
scaleY: 1
|
|
2615
2610
|
}, g = {
|
|
2616
|
-
...
|
|
2611
|
+
...io,
|
|
2617
2612
|
width: a.width,
|
|
2618
2613
|
height: a.height,
|
|
2619
2614
|
top: a.top,
|
|
2620
2615
|
left: a.left,
|
|
2621
|
-
transform: be.Transform.toString(
|
|
2622
|
-
transformOrigin: o && r ?
|
|
2616
|
+
transform: be.Transform.toString(c),
|
|
2617
|
+
transformOrigin: o && r ? Zn(r, a) : void 0,
|
|
2623
2618
|
transition: typeof d == "function" ? d(r) : d,
|
|
2624
2619
|
...l
|
|
2625
2620
|
};
|
|
@@ -2628,7 +2623,7 @@ const mo = {
|
|
|
2628
2623
|
style: g,
|
|
2629
2624
|
ref: t
|
|
2630
2625
|
}, i);
|
|
2631
|
-
}),
|
|
2626
|
+
}), lo = (e) => (t) => {
|
|
2632
2627
|
let {
|
|
2633
2628
|
active: n,
|
|
2634
2629
|
dragOverlay: r
|
|
@@ -2644,11 +2639,11 @@ const mo = {
|
|
|
2644
2639
|
for (const [a, l] of Object.entries(i.dragOverlay))
|
|
2645
2640
|
l !== void 0 && r.node.style.setProperty(a, l);
|
|
2646
2641
|
return s != null && s.active && n.node.classList.add(s.active), s != null && s.dragOverlay && r.node.classList.add(s.dragOverlay), function() {
|
|
2647
|
-
for (const [l,
|
|
2648
|
-
n.node.style.setProperty(l,
|
|
2642
|
+
for (const [l, u] of Object.entries(o))
|
|
2643
|
+
n.node.style.setProperty(l, u);
|
|
2649
2644
|
s != null && s.active && n.node.classList.remove(s.active);
|
|
2650
2645
|
};
|
|
2651
|
-
},
|
|
2646
|
+
}, co = (e) => {
|
|
2652
2647
|
let {
|
|
2653
2648
|
transform: {
|
|
2654
2649
|
initial: t,
|
|
@@ -2660,11 +2655,11 @@ const mo = {
|
|
|
2660
2655
|
}, {
|
|
2661
2656
|
transform: be.Transform.toString(n)
|
|
2662
2657
|
}];
|
|
2663
|
-
},
|
|
2658
|
+
}, uo = {
|
|
2664
2659
|
duration: 250,
|
|
2665
2660
|
easing: "ease",
|
|
2666
|
-
keyframes:
|
|
2667
|
-
sideEffects: /* @__PURE__ */
|
|
2661
|
+
keyframes: co,
|
|
2662
|
+
sideEffects: /* @__PURE__ */ lo({
|
|
2668
2663
|
styles: {
|
|
2669
2664
|
active: {
|
|
2670
2665
|
opacity: "0"
|
|
@@ -2672,14 +2667,14 @@ const mo = {
|
|
|
2672
2667
|
}
|
|
2673
2668
|
})
|
|
2674
2669
|
};
|
|
2675
|
-
function
|
|
2670
|
+
function fo(e) {
|
|
2676
2671
|
let {
|
|
2677
2672
|
config: t,
|
|
2678
2673
|
draggableNodes: n,
|
|
2679
2674
|
droppableContainers: r,
|
|
2680
2675
|
measuringConfiguration: o
|
|
2681
2676
|
} = e;
|
|
2682
|
-
return
|
|
2677
|
+
return ct((i, s) => {
|
|
2683
2678
|
if (t === null)
|
|
2684
2679
|
return;
|
|
2685
2680
|
const a = n.get(i);
|
|
@@ -2688,16 +2683,16 @@ function So(e) {
|
|
|
2688
2683
|
const l = a.node.current;
|
|
2689
2684
|
if (!l)
|
|
2690
2685
|
return;
|
|
2691
|
-
const
|
|
2692
|
-
if (!
|
|
2686
|
+
const u = hn(s);
|
|
2687
|
+
if (!u)
|
|
2693
2688
|
return;
|
|
2694
2689
|
const {
|
|
2695
2690
|
transform: d
|
|
2696
|
-
} =
|
|
2697
|
-
if (!
|
|
2691
|
+
} = $(s).getComputedStyle(s), c = tn(d);
|
|
2692
|
+
if (!c)
|
|
2698
2693
|
return;
|
|
2699
|
-
const g = typeof t == "function" ? t :
|
|
2700
|
-
return
|
|
2694
|
+
const g = typeof t == "function" ? t : go(t);
|
|
2695
|
+
return cn(l, o.draggable.measure), g({
|
|
2701
2696
|
active: {
|
|
2702
2697
|
id: i,
|
|
2703
2698
|
data: a.data,
|
|
@@ -2707,22 +2702,22 @@ function So(e) {
|
|
|
2707
2702
|
draggableNodes: n,
|
|
2708
2703
|
dragOverlay: {
|
|
2709
2704
|
node: s,
|
|
2710
|
-
rect: o.dragOverlay.measure(
|
|
2705
|
+
rect: o.dragOverlay.measure(u)
|
|
2711
2706
|
},
|
|
2712
2707
|
droppableContainers: r,
|
|
2713
2708
|
measuringConfiguration: o,
|
|
2714
|
-
transform:
|
|
2709
|
+
transform: c
|
|
2715
2710
|
});
|
|
2716
2711
|
});
|
|
2717
2712
|
}
|
|
2718
|
-
function
|
|
2713
|
+
function go(e) {
|
|
2719
2714
|
const {
|
|
2720
2715
|
duration: t,
|
|
2721
2716
|
easing: n,
|
|
2722
2717
|
sideEffects: r,
|
|
2723
2718
|
keyframes: o
|
|
2724
2719
|
} = {
|
|
2725
|
-
...
|
|
2720
|
+
...uo,
|
|
2726
2721
|
...e
|
|
2727
2722
|
};
|
|
2728
2723
|
return (i) => {
|
|
@@ -2730,22 +2725,22 @@ function Co(e) {
|
|
|
2730
2725
|
active: s,
|
|
2731
2726
|
dragOverlay: a,
|
|
2732
2727
|
transform: l,
|
|
2733
|
-
...
|
|
2728
|
+
...u
|
|
2734
2729
|
} = i;
|
|
2735
2730
|
if (!t)
|
|
2736
2731
|
return;
|
|
2737
2732
|
const d = {
|
|
2738
2733
|
x: a.rect.left - s.rect.left,
|
|
2739
2734
|
y: a.rect.top - s.rect.top
|
|
2740
|
-
},
|
|
2735
|
+
}, c = {
|
|
2741
2736
|
scaleX: l.scaleX !== 1 ? s.rect.width * l.scaleX / a.rect.width : 1,
|
|
2742
2737
|
scaleY: l.scaleY !== 1 ? s.rect.height * l.scaleY / a.rect.height : 1
|
|
2743
2738
|
}, g = {
|
|
2744
2739
|
x: l.x - d.x,
|
|
2745
2740
|
y: l.y - d.y,
|
|
2746
|
-
...
|
|
2741
|
+
...c
|
|
2747
2742
|
}, f = o({
|
|
2748
|
-
...
|
|
2743
|
+
...u,
|
|
2749
2744
|
active: s,
|
|
2750
2745
|
dragOverlay: a,
|
|
2751
2746
|
transform: {
|
|
@@ -2758,7 +2753,7 @@ function Co(e) {
|
|
|
2758
2753
|
const v = r?.({
|
|
2759
2754
|
active: s,
|
|
2760
2755
|
dragOverlay: a,
|
|
2761
|
-
...
|
|
2756
|
+
...u
|
|
2762
2757
|
}), b = a.node.animate(f, {
|
|
2763
2758
|
duration: t,
|
|
2764
2759
|
easing: n,
|
|
@@ -2771,14 +2766,14 @@ function Co(e) {
|
|
|
2771
2766
|
});
|
|
2772
2767
|
};
|
|
2773
2768
|
}
|
|
2774
|
-
let
|
|
2775
|
-
function
|
|
2776
|
-
return
|
|
2769
|
+
let Jt = 0;
|
|
2770
|
+
function ho(e) {
|
|
2771
|
+
return A(() => {
|
|
2777
2772
|
if (e != null)
|
|
2778
|
-
return
|
|
2773
|
+
return Jt++, Jt;
|
|
2779
2774
|
}, [e]);
|
|
2780
2775
|
}
|
|
2781
|
-
const
|
|
2776
|
+
const Mo = /* @__PURE__ */ M.memo((e) => {
|
|
2782
2777
|
let {
|
|
2783
2778
|
adjustScale: t = !1,
|
|
2784
2779
|
children: n,
|
|
@@ -2788,11 +2783,11 @@ const Eo = /* @__PURE__ */ M.memo((e) => {
|
|
|
2788
2783
|
modifiers: s,
|
|
2789
2784
|
wrapperElement: a = "div",
|
|
2790
2785
|
className: l,
|
|
2791
|
-
zIndex:
|
|
2786
|
+
zIndex: u = 999
|
|
2792
2787
|
} = e;
|
|
2793
2788
|
const {
|
|
2794
2789
|
activatorEvent: d,
|
|
2795
|
-
active:
|
|
2790
|
+
active: c,
|
|
2796
2791
|
activeNodeRect: g,
|
|
2797
2792
|
containerNodeRect: f,
|
|
2798
2793
|
draggableNodes: w,
|
|
@@ -2801,59 +2796,59 @@ const Eo = /* @__PURE__ */ M.memo((e) => {
|
|
|
2801
2796
|
over: b,
|
|
2802
2797
|
measuringConfiguration: m,
|
|
2803
2798
|
scrollableAncestors: p,
|
|
2804
|
-
scrollableAncestorRects:
|
|
2805
|
-
windowRect:
|
|
2806
|
-
} =
|
|
2799
|
+
scrollableAncestorRects: C,
|
|
2800
|
+
windowRect: S
|
|
2801
|
+
} = mn(), R = ve(gt), y = ho(c?.id), x = bn(s, {
|
|
2807
2802
|
activatorEvent: d,
|
|
2808
|
-
active:
|
|
2803
|
+
active: c,
|
|
2809
2804
|
activeNodeRect: g,
|
|
2810
2805
|
containerNodeRect: f,
|
|
2811
2806
|
draggingNodeRect: v.rect,
|
|
2812
2807
|
over: b,
|
|
2813
2808
|
overlayNodeRect: v.rect,
|
|
2814
2809
|
scrollableAncestors: p,
|
|
2815
|
-
scrollableAncestorRects:
|
|
2810
|
+
scrollableAncestorRects: C,
|
|
2816
2811
|
transform: R,
|
|
2817
|
-
windowRect:
|
|
2818
|
-
}),
|
|
2812
|
+
windowRect: S
|
|
2813
|
+
}), N = Ot(g), L = fo({
|
|
2819
2814
|
config: r,
|
|
2820
2815
|
draggableNodes: w,
|
|
2821
2816
|
droppableContainers: h,
|
|
2822
2817
|
measuringConfiguration: m
|
|
2823
|
-
}),
|
|
2824
|
-
return M.createElement(
|
|
2818
|
+
}), O = N ? v.setRef : void 0;
|
|
2819
|
+
return M.createElement(oo, null, M.createElement(no, {
|
|
2825
2820
|
animation: L
|
|
2826
|
-
},
|
|
2821
|
+
}, c && y ? M.createElement(ao, {
|
|
2827
2822
|
key: y,
|
|
2828
|
-
id:
|
|
2829
|
-
ref:
|
|
2823
|
+
id: c.id,
|
|
2824
|
+
ref: O,
|
|
2830
2825
|
as: a,
|
|
2831
2826
|
activatorEvent: d,
|
|
2832
2827
|
adjustScale: t,
|
|
2833
2828
|
className: l,
|
|
2834
2829
|
transition: i,
|
|
2835
|
-
rect:
|
|
2830
|
+
rect: N,
|
|
2836
2831
|
style: {
|
|
2837
|
-
zIndex:
|
|
2832
|
+
zIndex: u,
|
|
2838
2833
|
...o
|
|
2839
2834
|
},
|
|
2840
2835
|
transform: x
|
|
2841
2836
|
}, n) : null));
|
|
2842
2837
|
});
|
|
2843
|
-
function
|
|
2838
|
+
function yn(e, t, n) {
|
|
2844
2839
|
const r = e.slice();
|
|
2845
2840
|
return r.splice(n < 0 ? r.length + n : n, 0, r.splice(t, 1)[0]), r;
|
|
2846
2841
|
}
|
|
2847
|
-
function
|
|
2842
|
+
function vo(e, t) {
|
|
2848
2843
|
return e.reduce((n, r, o) => {
|
|
2849
2844
|
const i = t.get(r);
|
|
2850
2845
|
return i && (n[o] = i), n;
|
|
2851
2846
|
}, Array(e.length));
|
|
2852
2847
|
}
|
|
2853
|
-
function
|
|
2848
|
+
function et(e) {
|
|
2854
2849
|
return e !== null && e >= 0;
|
|
2855
2850
|
}
|
|
2856
|
-
function
|
|
2851
|
+
function po(e, t) {
|
|
2857
2852
|
if (e === t)
|
|
2858
2853
|
return !0;
|
|
2859
2854
|
if (e.length !== t.length)
|
|
@@ -2863,88 +2858,88 @@ function Io(e, t) {
|
|
|
2863
2858
|
return !1;
|
|
2864
2859
|
return !0;
|
|
2865
2860
|
}
|
|
2866
|
-
function
|
|
2861
|
+
function bo(e) {
|
|
2867
2862
|
return typeof e == "boolean" ? {
|
|
2868
2863
|
draggable: e,
|
|
2869
2864
|
droppable: e
|
|
2870
2865
|
} : e;
|
|
2871
2866
|
}
|
|
2872
|
-
const
|
|
2867
|
+
const wn = (e) => {
|
|
2873
2868
|
let {
|
|
2874
2869
|
rects: t,
|
|
2875
2870
|
activeIndex: n,
|
|
2876
2871
|
overIndex: r,
|
|
2877
2872
|
index: o
|
|
2878
2873
|
} = e;
|
|
2879
|
-
const i =
|
|
2874
|
+
const i = yn(t, r, n), s = t[o], a = i[o];
|
|
2880
2875
|
return !a || !s ? null : {
|
|
2881
2876
|
x: a.left - s.left,
|
|
2882
2877
|
y: a.top - s.top,
|
|
2883
2878
|
scaleX: a.width / s.width,
|
|
2884
2879
|
scaleY: a.height / s.height
|
|
2885
2880
|
};
|
|
2886
|
-
},
|
|
2881
|
+
}, xn = "Sortable", Dn = /* @__PURE__ */ M.createContext({
|
|
2887
2882
|
activeIndex: -1,
|
|
2888
|
-
containerId:
|
|
2883
|
+
containerId: xn,
|
|
2889
2884
|
disableTransforms: !1,
|
|
2890
2885
|
items: [],
|
|
2891
2886
|
overIndex: -1,
|
|
2892
2887
|
useDragOverlay: !1,
|
|
2893
2888
|
sortedRects: [],
|
|
2894
|
-
strategy:
|
|
2889
|
+
strategy: wn,
|
|
2895
2890
|
disabled: {
|
|
2896
2891
|
draggable: !1,
|
|
2897
2892
|
droppable: !1
|
|
2898
2893
|
}
|
|
2899
2894
|
});
|
|
2900
|
-
function
|
|
2895
|
+
function Lo(e) {
|
|
2901
2896
|
let {
|
|
2902
2897
|
children: t,
|
|
2903
2898
|
id: n,
|
|
2904
2899
|
items: r,
|
|
2905
|
-
strategy: o =
|
|
2900
|
+
strategy: o = wn,
|
|
2906
2901
|
disabled: i = !1
|
|
2907
2902
|
} = e;
|
|
2908
2903
|
const {
|
|
2909
2904
|
active: s,
|
|
2910
2905
|
dragOverlay: a,
|
|
2911
2906
|
droppableRects: l,
|
|
2912
|
-
over:
|
|
2907
|
+
over: u,
|
|
2913
2908
|
measureDroppableContainers: d
|
|
2914
|
-
} =
|
|
2915
|
-
|
|
2909
|
+
} = mn(), c = He(xn, n), g = a.rect !== null, f = A(() => r.map((R) => typeof R == "object" && "id" in R ? R.id : R), [r]), w = s != null, h = s ? f.indexOf(s.id) : -1, v = u ? f.indexOf(u.id) : -1, b = T(f), m = !po(f, b.current), p = v !== -1 && h === -1 || m, C = bo(i);
|
|
2910
|
+
_(() => {
|
|
2916
2911
|
m && w && d(f);
|
|
2917
|
-
}, [m, f, w, d]),
|
|
2912
|
+
}, [m, f, w, d]), I(() => {
|
|
2918
2913
|
b.current = f;
|
|
2919
2914
|
}, [f]);
|
|
2920
|
-
const
|
|
2915
|
+
const S = A(
|
|
2921
2916
|
() => ({
|
|
2922
2917
|
activeIndex: h,
|
|
2923
|
-
containerId:
|
|
2924
|
-
disabled:
|
|
2918
|
+
containerId: c,
|
|
2919
|
+
disabled: C,
|
|
2925
2920
|
disableTransforms: p,
|
|
2926
2921
|
items: f,
|
|
2927
2922
|
overIndex: v,
|
|
2928
2923
|
useDragOverlay: g,
|
|
2929
|
-
sortedRects:
|
|
2924
|
+
sortedRects: vo(f, l),
|
|
2930
2925
|
strategy: o
|
|
2931
2926
|
}),
|
|
2932
2927
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2933
|
-
[h,
|
|
2928
|
+
[h, c, C.draggable, C.droppable, p, f, v, l, g, o]
|
|
2934
2929
|
);
|
|
2935
|
-
return M.createElement(
|
|
2936
|
-
value:
|
|
2930
|
+
return M.createElement(Dn.Provider, {
|
|
2931
|
+
value: S
|
|
2937
2932
|
}, t);
|
|
2938
2933
|
}
|
|
2939
|
-
const
|
|
2934
|
+
const mo = (e) => {
|
|
2940
2935
|
let {
|
|
2941
2936
|
id: t,
|
|
2942
2937
|
items: n,
|
|
2943
2938
|
activeIndex: r,
|
|
2944
2939
|
overIndex: o
|
|
2945
2940
|
} = e;
|
|
2946
|
-
return
|
|
2947
|
-
},
|
|
2941
|
+
return yn(n, r, o).indexOf(t);
|
|
2942
|
+
}, yo = (e) => {
|
|
2948
2943
|
let {
|
|
2949
2944
|
containerId: t,
|
|
2950
2945
|
isSorting: n,
|
|
@@ -2954,62 +2949,62 @@ const To = (e) => {
|
|
|
2954
2949
|
newIndex: s,
|
|
2955
2950
|
previousItems: a,
|
|
2956
2951
|
previousContainerId: l,
|
|
2957
|
-
transition:
|
|
2952
|
+
transition: u
|
|
2958
2953
|
} = e;
|
|
2959
|
-
return !
|
|
2960
|
-
},
|
|
2954
|
+
return !u || !r || a !== i && o === s ? !1 : n ? !0 : s !== o && t === l;
|
|
2955
|
+
}, wo = {
|
|
2961
2956
|
duration: 200,
|
|
2962
2957
|
easing: "ease"
|
|
2963
|
-
},
|
|
2964
|
-
property:
|
|
2958
|
+
}, Cn = "transform", xo = /* @__PURE__ */ be.Transition.toString({
|
|
2959
|
+
property: Cn,
|
|
2965
2960
|
duration: 0,
|
|
2966
2961
|
easing: "linear"
|
|
2967
|
-
}),
|
|
2962
|
+
}), Do = {
|
|
2968
2963
|
roleDescription: "sortable"
|
|
2969
2964
|
};
|
|
2970
|
-
function
|
|
2965
|
+
function Co(e) {
|
|
2971
2966
|
let {
|
|
2972
2967
|
disabled: t,
|
|
2973
2968
|
index: n,
|
|
2974
2969
|
node: r,
|
|
2975
2970
|
rect: o
|
|
2976
2971
|
} = e;
|
|
2977
|
-
const [i, s] =
|
|
2978
|
-
return
|
|
2972
|
+
const [i, s] = X(null), a = T(n);
|
|
2973
|
+
return _(() => {
|
|
2979
2974
|
if (!t && n !== a.current && r.current) {
|
|
2980
2975
|
const l = o.current;
|
|
2981
2976
|
if (l) {
|
|
2982
|
-
const
|
|
2977
|
+
const u = Ae(r.current, {
|
|
2983
2978
|
ignoreTransform: !0
|
|
2984
2979
|
}), d = {
|
|
2985
|
-
x: l.left -
|
|
2986
|
-
y: l.top -
|
|
2987
|
-
scaleX: l.width /
|
|
2988
|
-
scaleY: l.height /
|
|
2980
|
+
x: l.left - u.left,
|
|
2981
|
+
y: l.top - u.top,
|
|
2982
|
+
scaleX: l.width / u.width,
|
|
2983
|
+
scaleY: l.height / u.height
|
|
2989
2984
|
};
|
|
2990
2985
|
(d.x || d.y) && s(d);
|
|
2991
2986
|
}
|
|
2992
2987
|
}
|
|
2993
2988
|
n !== a.current && (a.current = n);
|
|
2994
|
-
}, [t, n, r, o]),
|
|
2989
|
+
}, [t, n, r, o]), I(() => {
|
|
2995
2990
|
i && s(null);
|
|
2996
2991
|
}, [i]), i;
|
|
2997
2992
|
}
|
|
2998
|
-
function
|
|
2993
|
+
function Po(e) {
|
|
2999
2994
|
let {
|
|
3000
|
-
animateLayoutChanges: t =
|
|
2995
|
+
animateLayoutChanges: t = yo,
|
|
3001
2996
|
attributes: n,
|
|
3002
2997
|
disabled: r,
|
|
3003
2998
|
data: o,
|
|
3004
|
-
getNewIndex: i =
|
|
2999
|
+
getNewIndex: i = mo,
|
|
3005
3000
|
id: s,
|
|
3006
3001
|
strategy: a,
|
|
3007
3002
|
resizeObserverConfig: l,
|
|
3008
|
-
transition:
|
|
3003
|
+
transition: u = wo
|
|
3009
3004
|
} = e;
|
|
3010
3005
|
const {
|
|
3011
3006
|
items: d,
|
|
3012
|
-
containerId:
|
|
3007
|
+
containerId: c,
|
|
3013
3008
|
activeIndex: g,
|
|
3014
3009
|
disabled: f,
|
|
3015
3010
|
disableTransforms: w,
|
|
@@ -3017,131 +3012,131 @@ function jo(e) {
|
|
|
3017
3012
|
overIndex: v,
|
|
3018
3013
|
useDragOverlay: b,
|
|
3019
3014
|
strategy: m
|
|
3020
|
-
} =
|
|
3015
|
+
} = ve(Dn), p = So(r, f), C = d.indexOf(s), S = A(() => ({
|
|
3021
3016
|
sortable: {
|
|
3022
|
-
containerId:
|
|
3023
|
-
index:
|
|
3017
|
+
containerId: c,
|
|
3018
|
+
index: C,
|
|
3024
3019
|
items: d
|
|
3025
3020
|
},
|
|
3026
3021
|
...o
|
|
3027
|
-
}), [
|
|
3022
|
+
}), [c, o, C, d]), R = A(() => d.slice(d.indexOf(s)), [d, s]), {
|
|
3028
3023
|
rect: y,
|
|
3029
3024
|
node: x,
|
|
3030
|
-
isOver:
|
|
3025
|
+
isOver: N,
|
|
3031
3026
|
setNodeRef: L
|
|
3032
|
-
} =
|
|
3027
|
+
} = to({
|
|
3033
3028
|
id: s,
|
|
3034
|
-
data:
|
|
3029
|
+
data: S,
|
|
3035
3030
|
disabled: p.droppable,
|
|
3036
3031
|
resizeObserverConfig: {
|
|
3037
3032
|
updateMeasurementsFor: R,
|
|
3038
3033
|
...l
|
|
3039
3034
|
}
|
|
3040
3035
|
}), {
|
|
3041
|
-
active:
|
|
3036
|
+
active: O,
|
|
3042
3037
|
activatorEvent: J,
|
|
3043
3038
|
activeNodeRect: G,
|
|
3044
|
-
attributes:
|
|
3045
|
-
setNodeRef:
|
|
3046
|
-
listeners:
|
|
3039
|
+
attributes: Z,
|
|
3040
|
+
setNodeRef: Oe,
|
|
3041
|
+
listeners: qe,
|
|
3047
3042
|
isDragging: Y,
|
|
3048
3043
|
over: Je,
|
|
3049
|
-
setActivatorNodeRef:
|
|
3050
|
-
transform:
|
|
3051
|
-
} =
|
|
3044
|
+
setActivatorNodeRef: re,
|
|
3045
|
+
transform: Ie
|
|
3046
|
+
} = Qr({
|
|
3052
3047
|
id: s,
|
|
3053
|
-
data:
|
|
3048
|
+
data: S,
|
|
3054
3049
|
attributes: {
|
|
3055
|
-
...
|
|
3050
|
+
...Do,
|
|
3056
3051
|
...n
|
|
3057
3052
|
},
|
|
3058
3053
|
disabled: p.draggable
|
|
3059
|
-
}), Ge =
|
|
3054
|
+
}), Ge = Fn(L, Oe), j = !!O, oe = j && !w && et(g) && et(v), pe = !b && Y, Te = pe && oe ? Ie : null, _e = oe ? Te ?? (a ?? m)({
|
|
3060
3055
|
rects: h,
|
|
3061
3056
|
activeNodeRect: G,
|
|
3062
3057
|
activeIndex: g,
|
|
3063
3058
|
overIndex: v,
|
|
3064
|
-
index:
|
|
3065
|
-
}) : null,
|
|
3059
|
+
index: C
|
|
3060
|
+
}) : null, le = et(g) && et(v) ? i({
|
|
3066
3061
|
id: s,
|
|
3067
3062
|
items: d,
|
|
3068
3063
|
activeIndex: g,
|
|
3069
3064
|
overIndex: v
|
|
3070
|
-
}) :
|
|
3071
|
-
activeId:
|
|
3065
|
+
}) : C, ie = O?.id, E = T({
|
|
3066
|
+
activeId: ie,
|
|
3072
3067
|
items: d,
|
|
3073
|
-
newIndex:
|
|
3074
|
-
containerId:
|
|
3075
|
-
}),
|
|
3076
|
-
active:
|
|
3077
|
-
containerId:
|
|
3068
|
+
newIndex: le,
|
|
3069
|
+
containerId: c
|
|
3070
|
+
}), Ne = d !== E.current.items, ee = t({
|
|
3071
|
+
active: O,
|
|
3072
|
+
containerId: c,
|
|
3078
3073
|
isDragging: Y,
|
|
3079
|
-
isSorting:
|
|
3074
|
+
isSorting: j,
|
|
3080
3075
|
id: s,
|
|
3081
|
-
index:
|
|
3076
|
+
index: C,
|
|
3082
3077
|
items: d,
|
|
3083
|
-
newIndex:
|
|
3084
|
-
previousItems:
|
|
3085
|
-
previousContainerId:
|
|
3086
|
-
transition:
|
|
3087
|
-
wasDragging:
|
|
3088
|
-
}),
|
|
3089
|
-
disabled: !
|
|
3090
|
-
index:
|
|
3078
|
+
newIndex: E.current.newIndex,
|
|
3079
|
+
previousItems: E.current.items,
|
|
3080
|
+
previousContainerId: E.current.containerId,
|
|
3081
|
+
transition: u,
|
|
3082
|
+
wasDragging: E.current.activeId != null
|
|
3083
|
+
}), me = Co({
|
|
3084
|
+
disabled: !ee,
|
|
3085
|
+
index: C,
|
|
3091
3086
|
node: x,
|
|
3092
3087
|
rect: y
|
|
3093
3088
|
});
|
|
3094
|
-
return
|
|
3095
|
-
|
|
3096
|
-
}, [
|
|
3097
|
-
if (
|
|
3089
|
+
return I(() => {
|
|
3090
|
+
j && E.current.newIndex !== le && (E.current.newIndex = le), c !== E.current.containerId && (E.current.containerId = c), d !== E.current.items && (E.current.items = d);
|
|
3091
|
+
}, [j, le, c, d]), I(() => {
|
|
3092
|
+
if (ie === E.current.activeId)
|
|
3098
3093
|
return;
|
|
3099
|
-
if (
|
|
3100
|
-
|
|
3094
|
+
if (ie != null && E.current.activeId == null) {
|
|
3095
|
+
E.current.activeId = ie;
|
|
3101
3096
|
return;
|
|
3102
3097
|
}
|
|
3103
|
-
const
|
|
3104
|
-
|
|
3098
|
+
const ye = setTimeout(() => {
|
|
3099
|
+
E.current.activeId = ie;
|
|
3105
3100
|
}, 50);
|
|
3106
|
-
return () => clearTimeout(
|
|
3107
|
-
}, [
|
|
3108
|
-
active:
|
|
3101
|
+
return () => clearTimeout(ye);
|
|
3102
|
+
}, [ie]), {
|
|
3103
|
+
active: O,
|
|
3109
3104
|
activeIndex: g,
|
|
3110
|
-
attributes:
|
|
3111
|
-
data:
|
|
3105
|
+
attributes: Z,
|
|
3106
|
+
data: S,
|
|
3112
3107
|
rect: y,
|
|
3113
|
-
index:
|
|
3114
|
-
newIndex:
|
|
3108
|
+
index: C,
|
|
3109
|
+
newIndex: le,
|
|
3115
3110
|
items: d,
|
|
3116
|
-
isOver:
|
|
3117
|
-
isSorting:
|
|
3111
|
+
isOver: N,
|
|
3112
|
+
isSorting: j,
|
|
3118
3113
|
isDragging: Y,
|
|
3119
|
-
listeners:
|
|
3114
|
+
listeners: qe,
|
|
3120
3115
|
node: x,
|
|
3121
3116
|
overIndex: v,
|
|
3122
3117
|
over: Je,
|
|
3123
3118
|
setNodeRef: Ge,
|
|
3124
|
-
setActivatorNodeRef:
|
|
3119
|
+
setActivatorNodeRef: re,
|
|
3125
3120
|
setDroppableNodeRef: L,
|
|
3126
|
-
setDraggableNodeRef:
|
|
3127
|
-
transform:
|
|
3128
|
-
transition:
|
|
3121
|
+
setDraggableNodeRef: Oe,
|
|
3122
|
+
transform: me ?? _e,
|
|
3123
|
+
transition: se()
|
|
3129
3124
|
};
|
|
3130
|
-
function
|
|
3125
|
+
function se() {
|
|
3131
3126
|
if (
|
|
3132
3127
|
// Temporarily disable transitions for a single frame to set up derived transforms
|
|
3133
|
-
|
|
3134
|
-
|
|
3128
|
+
me || // Or to prevent items jumping to back to their "new" position when items change
|
|
3129
|
+
Ne && E.current.newIndex === C
|
|
3135
3130
|
)
|
|
3136
|
-
return
|
|
3137
|
-
if (!(
|
|
3131
|
+
return xo;
|
|
3132
|
+
if (!(pe && !ut(J) || !u) && (j || ee))
|
|
3138
3133
|
return be.Transition.toString({
|
|
3139
|
-
...
|
|
3140
|
-
property:
|
|
3134
|
+
...u,
|
|
3135
|
+
property: Cn
|
|
3141
3136
|
});
|
|
3142
3137
|
}
|
|
3143
3138
|
}
|
|
3144
|
-
function
|
|
3139
|
+
function So(e, t) {
|
|
3145
3140
|
var n, r;
|
|
3146
3141
|
return typeof e == "boolean" ? {
|
|
3147
3142
|
draggable: e,
|
|
@@ -3152,13 +3147,13 @@ function Bo(e, t) {
|
|
|
3152
3147
|
droppable: (r = e?.droppable) != null ? r : t.droppable
|
|
3153
3148
|
};
|
|
3154
3149
|
}
|
|
3155
|
-
function
|
|
3150
|
+
function at(e) {
|
|
3156
3151
|
if (!e)
|
|
3157
3152
|
return !1;
|
|
3158
3153
|
const t = e.data.current;
|
|
3159
3154
|
return !!(t && "sortable" in t && typeof t.sortable == "object" && "containerId" in t.sortable && "items" in t.sortable && "index" in t.sortable);
|
|
3160
3155
|
}
|
|
3161
|
-
const
|
|
3156
|
+
const Ro = [D.Down, D.Right, D.Up, D.Left], ko = (e, t) => {
|
|
3162
3157
|
let {
|
|
3163
3158
|
context: {
|
|
3164
3159
|
active: n,
|
|
@@ -3169,159 +3164,73 @@ const Fo = [D.Down, D.Right, D.Up, D.Left], Xo = (e, t) => {
|
|
|
3169
3164
|
scrollableAncestors: a
|
|
3170
3165
|
}
|
|
3171
3166
|
} = t;
|
|
3172
|
-
if (
|
|
3167
|
+
if (Ro.includes(e.code)) {
|
|
3173
3168
|
if (e.preventDefault(), !n || !r)
|
|
3174
3169
|
return;
|
|
3175
3170
|
const l = [];
|
|
3176
|
-
i.getEnabled().forEach((
|
|
3177
|
-
if (!
|
|
3171
|
+
i.getEnabled().forEach((c) => {
|
|
3172
|
+
if (!c || c != null && c.disabled)
|
|
3178
3173
|
return;
|
|
3179
|
-
const g = o.get(
|
|
3174
|
+
const g = o.get(c.id);
|
|
3180
3175
|
if (g)
|
|
3181
3176
|
switch (e.code) {
|
|
3182
3177
|
case D.Down:
|
|
3183
|
-
r.top < g.top && l.push(
|
|
3178
|
+
r.top < g.top && l.push(c);
|
|
3184
3179
|
break;
|
|
3185
3180
|
case D.Up:
|
|
3186
|
-
r.top > g.top && l.push(
|
|
3181
|
+
r.top > g.top && l.push(c);
|
|
3187
3182
|
break;
|
|
3188
3183
|
case D.Left:
|
|
3189
|
-
r.left > g.left && l.push(
|
|
3184
|
+
r.left > g.left && l.push(c);
|
|
3190
3185
|
break;
|
|
3191
3186
|
case D.Right:
|
|
3192
|
-
r.left < g.left && l.push(
|
|
3187
|
+
r.left < g.left && l.push(c);
|
|
3193
3188
|
break;
|
|
3194
3189
|
}
|
|
3195
3190
|
});
|
|
3196
|
-
const
|
|
3191
|
+
const u = nr({
|
|
3197
3192
|
collisionRect: r,
|
|
3198
3193
|
droppableRects: o,
|
|
3199
3194
|
droppableContainers: l
|
|
3200
3195
|
});
|
|
3201
|
-
let d =
|
|
3202
|
-
if (d === s?.id &&
|
|
3203
|
-
const
|
|
3204
|
-
if (w && f &&
|
|
3205
|
-
const v =
|
|
3196
|
+
let d = Zt(u, "id");
|
|
3197
|
+
if (d === s?.id && u.length > 1 && (d = u[1].id), d != null) {
|
|
3198
|
+
const c = i.get(n.id), g = i.get(d), f = g ? o.get(g.id) : null, w = g?.node.current;
|
|
3199
|
+
if (w && f && c && g) {
|
|
3200
|
+
const v = dt(w).some((R, y) => a[y] !== R), b = Sn(c, g), m = Eo(c, g), p = v || !b ? {
|
|
3206
3201
|
x: 0,
|
|
3207
3202
|
y: 0
|
|
3208
3203
|
} : {
|
|
3209
3204
|
x: m ? r.width - f.width : 0,
|
|
3210
3205
|
y: m ? r.height - f.height : 0
|
|
3211
|
-
},
|
|
3206
|
+
}, C = {
|
|
3212
3207
|
x: f.left,
|
|
3213
3208
|
y: f.top
|
|
3214
3209
|
};
|
|
3215
|
-
return p.x && p.y ?
|
|
3210
|
+
return p.x && p.y ? C : je(C, p);
|
|
3216
3211
|
}
|
|
3217
3212
|
}
|
|
3218
3213
|
}
|
|
3219
3214
|
};
|
|
3220
|
-
function
|
|
3221
|
-
return !
|
|
3215
|
+
function Sn(e, t) {
|
|
3216
|
+
return !at(e) || !at(t) ? !1 : e.data.current.sortable.containerId === t.data.current.sortable.containerId;
|
|
3222
3217
|
}
|
|
3223
|
-
function
|
|
3224
|
-
return !
|
|
3218
|
+
function Eo(e, t) {
|
|
3219
|
+
return !at(e) || !at(t) || !Sn(e, t) ? !1 : e.data.current.sortable.index < t.data.current.sortable.index;
|
|
3225
3220
|
}
|
|
3226
|
-
const On = Ee({
|
|
3227
|
-
attributes: void 0,
|
|
3228
|
-
listeners: void 0,
|
|
3229
|
-
ref() {
|
|
3230
|
-
}
|
|
3231
|
-
}), Yo = ({ ...e }) => {
|
|
3232
|
-
const { attributes: t, listeners: n, ref: r } = ce(On), o = Mt();
|
|
3233
|
-
return /* @__PURE__ */ _.jsx(
|
|
3234
|
-
Kn,
|
|
3235
|
-
{
|
|
3236
|
-
className: "SortableList__DragHandle",
|
|
3237
|
-
"data-testid": "kibble-sortable-list-drag-handle",
|
|
3238
|
-
ref: r,
|
|
3239
|
-
cursor: o.activatorEvent ? "grabbing" : "grab",
|
|
3240
|
-
iconName: "grid",
|
|
3241
|
-
size: "sm",
|
|
3242
|
-
variant: "ghostNeutral",
|
|
3243
|
-
...t,
|
|
3244
|
-
...n,
|
|
3245
|
-
...e
|
|
3246
|
-
}
|
|
3247
|
-
);
|
|
3248
|
-
}, nn = ({
|
|
3249
|
-
content: e,
|
|
3250
|
-
hideHandle: t,
|
|
3251
|
-
id: n,
|
|
3252
|
-
itemProps: r
|
|
3253
|
-
}) => {
|
|
3254
|
-
const { attributes: o, isDragging: i, listeners: s, setNodeRef: a, setActivatorNodeRef: l, transform: c, transition: d } = jo({
|
|
3255
|
-
id: n
|
|
3256
|
-
}), u = E(
|
|
3257
|
-
() => ({
|
|
3258
|
-
attributes: o,
|
|
3259
|
-
listeners: s,
|
|
3260
|
-
ref: l
|
|
3261
|
-
}),
|
|
3262
|
-
[o, s, l]
|
|
3263
|
-
);
|
|
3264
|
-
return /* @__PURE__ */ _.jsx(On.Provider, { value: u, children: /* @__PURE__ */ _.jsx(
|
|
3265
|
-
Hn,
|
|
3266
|
-
{
|
|
3267
|
-
className: "SortableList__Item",
|
|
3268
|
-
"data-testid": "kibble-sortable-list-item",
|
|
3269
|
-
ref: a,
|
|
3270
|
-
...r,
|
|
3271
|
-
listStyleType: "none",
|
|
3272
|
-
...i && { opacity: 0.4 },
|
|
3273
|
-
transition: d,
|
|
3274
|
-
transform: be.Translate.toString(c),
|
|
3275
|
-
children: /* @__PURE__ */ _.jsxs(Wn, { alignItems: "center", gap: 2, width: "100%", children: [
|
|
3276
|
-
!t && /* @__PURE__ */ _.jsx(Yo, {}),
|
|
3277
|
-
typeof e == "string" ? /* @__PURE__ */ _.jsx(Un, { size: "sm", children: e }) : e
|
|
3278
|
-
] })
|
|
3279
|
-
}
|
|
3280
|
-
) });
|
|
3281
|
-
}, Go = ({
|
|
3282
|
-
hideHandle: e = !1,
|
|
3283
|
-
items: t,
|
|
3284
|
-
itemsProps: n,
|
|
3285
|
-
onChange: r,
|
|
3286
|
-
...o
|
|
3287
|
-
}) => {
|
|
3288
|
-
const [i, s] = B(null), a = E(() => t.find((c) => c.id === i?.id), [i, t]), l = lr(
|
|
3289
|
-
Kt(Nt),
|
|
3290
|
-
Kt(It, {
|
|
3291
|
-
coordinateGetter: Xo
|
|
3292
|
-
})
|
|
3293
|
-
);
|
|
3294
|
-
return /* @__PURE__ */ _.jsx(
|
|
3295
|
-
ao,
|
|
3296
|
-
{
|
|
3297
|
-
sensors: l,
|
|
3298
|
-
onDragStart: ({ active: c }) => {
|
|
3299
|
-
s(c);
|
|
3300
|
-
},
|
|
3301
|
-
onDragEnd: ({ active: c, over: d }) => {
|
|
3302
|
-
if (d && c.id !== d?.id) {
|
|
3303
|
-
const u = t.findIndex(({ id: f }) => f === c.id), g = t.findIndex(({ id: f }) => f === d.id);
|
|
3304
|
-
r(Lt(t, u, g));
|
|
3305
|
-
}
|
|
3306
|
-
s(null);
|
|
3307
|
-
},
|
|
3308
|
-
onDragCancel: () => s(null),
|
|
3309
|
-
children: /* @__PURE__ */ _.jsx(No, { items: t, children: /* @__PURE__ */ _.jsxs(Vn, { className: "SortableList", "data-testid": "kibble-sortable-list", gap: 2, ...o, children: [
|
|
3310
|
-
t.map((c) => /* @__PURE__ */ _.jsx(nn, { ...c, itemProps: n, hideHandle: e }, c.id)),
|
|
3311
|
-
a && /* @__PURE__ */ _.jsx(Eo, { dropAnimation: Ko, children: /* @__PURE__ */ _.jsx(nn, { ...a, itemProps: n, hideHandle: e }) })
|
|
3312
|
-
] }) })
|
|
3313
|
-
}
|
|
3314
|
-
);
|
|
3315
|
-
}, Ko = {
|
|
3316
|
-
sideEffects: Sn({
|
|
3317
|
-
styles: {
|
|
3318
|
-
active: {
|
|
3319
|
-
opacity: "0.4"
|
|
3320
|
-
}
|
|
3321
|
-
}
|
|
3322
|
-
})
|
|
3323
|
-
};
|
|
3324
3221
|
export {
|
|
3325
|
-
|
|
3222
|
+
be as C,
|
|
3223
|
+
No as D,
|
|
3224
|
+
dn as K,
|
|
3225
|
+
fn as P,
|
|
3226
|
+
Lo as S,
|
|
3227
|
+
Po as a,
|
|
3228
|
+
To as b,
|
|
3229
|
+
Io as c,
|
|
3230
|
+
Mo as d,
|
|
3231
|
+
lo as e,
|
|
3232
|
+
yn as f,
|
|
3233
|
+
ko as s,
|
|
3234
|
+
mn as u
|
|
3326
3235
|
};
|
|
3327
|
-
//# sourceMappingURL=
|
|
3236
|
+
//# sourceMappingURL=dnd-DDR6viHX.js.map
|