@televet/kibble-ui 4.0.1 → 5.0.0-beta.hotfix.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/alert.types-BKSqs9qY.js +2 -0
- package/dist/chunks/alert.types-BKSqs9qY.js.map +1 -0
- package/dist/chunks/alert.types-C_ygg7fh.js +141 -0
- package/dist/chunks/alert.types-C_ygg7fh.js.map +1 -0
- package/dist/chunks/anatomy-BkGk10kB.js +2 -0
- package/dist/chunks/anatomy-BkGk10kB.js.map +1 -0
- package/dist/chunks/anatomy-zd4ecEFD.js +280 -0
- package/dist/chunks/anatomy-zd4ecEFD.js.map +1 -0
- package/dist/chunks/avatar.component-B1HGlwVW.js +2 -0
- package/dist/chunks/avatar.component-B1HGlwVW.js.map +1 -0
- package/dist/chunks/avatar.component-C-365mx3.js +404 -0
- package/dist/chunks/avatar.component-C-365mx3.js.map +1 -0
- package/dist/chunks/avatar.records-CxLCvZfG.js +2 -0
- package/dist/chunks/avatar.records-CxLCvZfG.js.map +1 -0
- package/dist/chunks/{index-Cv06PsSJ.js → avatar.records-EoZmO3VR.js} +21 -13
- package/dist/chunks/avatar.records-EoZmO3VR.js.map +1 -0
- package/dist/chunks/avatarGroup.component-B-ZOhj7i.js +75 -0
- package/dist/chunks/avatarGroup.component-B-ZOhj7i.js.map +1 -0
- package/dist/chunks/avatarGroup.component-CTBfGiSm.js +2 -0
- package/dist/chunks/avatarGroup.component-CTBfGiSm.js.map +1 -0
- package/dist/chunks/button.component-BO6oee_V.js +69 -0
- package/dist/chunks/button.component-BO6oee_V.js.map +1 -0
- package/dist/chunks/button.component-DjdgBXDC.js +2 -0
- package/dist/chunks/button.component-DjdgBXDC.js.map +1 -0
- package/dist/chunks/button.recipe-Bb0lptGi.js +613 -0
- package/dist/chunks/button.recipe-Bb0lptGi.js.map +1 -0
- package/dist/chunks/button.recipe-flk0XJTS.js +2 -0
- package/dist/chunks/button.recipe-flk0XJTS.js.map +1 -0
- package/dist/chunks/button.types-3lHElsln.js +2 -0
- package/dist/chunks/button.types-3lHElsln.js.map +1 -0
- package/dist/chunks/{button.types-BKXZNvN1.js → button.types-C9PpvmYR.js} +14 -9
- package/dist/chunks/button.types-C9PpvmYR.js.map +1 -0
- package/dist/chunks/buttonGroup.component-CowJsbr7.js +2 -0
- package/dist/chunks/buttonGroup.component-CowJsbr7.js.map +1 -0
- package/dist/chunks/buttonGroup.component-DUK2FgFn.js +70 -0
- package/dist/chunks/buttonGroup.component-DUK2FgFn.js.map +1 -0
- package/dist/chunks/calendar.component-CHIhplfO.js +18 -0
- package/dist/chunks/calendar.component-CHIhplfO.js.map +1 -0
- package/dist/chunks/calendar.component-tOoK1NrU.js +2 -0
- package/dist/chunks/calendar.component-tOoK1NrU.js.map +1 -0
- package/dist/chunks/card.component-B1AznjWF.js +55 -0
- package/dist/chunks/card.component-B1AznjWF.js.map +1 -0
- package/dist/chunks/card.component-BmBiYbMV.js +2 -0
- package/dist/chunks/card.component-BmBiYbMV.js.map +1 -0
- package/dist/chunks/center-Dmlzv1BW.js +20 -0
- package/dist/chunks/center-Dmlzv1BW.js.map +1 -0
- package/dist/chunks/center-kk61ArhQ.js +2 -0
- package/dist/chunks/center-kk61ArhQ.js.map +1 -0
- package/dist/chunks/characterCounter.component-CKDigkoD.js +2 -0
- package/dist/chunks/characterCounter.component-CKDigkoD.js.map +1 -0
- package/dist/chunks/characterCounter.component-Ch3P3GqC.js +82 -0
- package/dist/chunks/characterCounter.component-Ch3P3GqC.js.map +1 -0
- package/dist/chunks/{checkbox.anatomy-DC8fJdkY.js → checkbox.anatomy-BzZ0IkUF.js} +22 -22
- package/dist/chunks/{checkbox.anatomy-DC8fJdkY.js.map → checkbox.anatomy-BzZ0IkUF.js.map} +1 -1
- package/dist/chunks/{checkbox.anatomy-BNdLT4Qf.js → checkbox.anatomy-DM39E2Q9.js} +2 -2
- package/dist/chunks/{checkbox.anatomy-BNdLT4Qf.js.map → checkbox.anatomy-DM39E2Q9.js.map} +1 -1
- package/dist/chunks/checkbox.component-CiA3Z1zR.js +2 -0
- package/dist/chunks/{checkbox.component-DNOkXggb.js.map → checkbox.component-CiA3Z1zR.js.map} +1 -1
- package/dist/chunks/checkbox.component-DE35wBj-.js +269 -0
- package/dist/chunks/{checkbox.component-Dhjcu89D.js.map → checkbox.component-DE35wBj-.js.map} +1 -1
- package/dist/chunks/checkboxGroup.component-BGBd-roJ.js +2 -0
- package/dist/chunks/checkboxGroup.component-BGBd-roJ.js.map +1 -0
- package/dist/chunks/checkboxGroup.component-CYwGlktu.js +53 -0
- package/dist/chunks/checkboxGroup.component-CYwGlktu.js.map +1 -0
- package/dist/chunks/{config-B3QABP1-.js → config-Djkl1N81.js} +4 -4
- package/dist/chunks/{config-B3QABP1-.js.map → config-Djkl1N81.js.map} +1 -1
- package/dist/chunks/conversationCard.component-BrDGshOG.js +2 -0
- package/dist/chunks/conversationCard.component-BrDGshOG.js.map +1 -0
- package/dist/chunks/conversationCard.component-CMdqD3yN.js +331 -0
- package/dist/chunks/conversationCard.component-CMdqD3yN.js.map +1 -0
- package/dist/chunks/{create-recipe-context-CrEKmpj8.js → create-recipe-context-DfQ-MTih.js} +9 -9
- package/dist/chunks/{create-recipe-context-CrEKmpj8.js.map → create-recipe-context-DfQ-MTih.js.map} +1 -1
- package/dist/chunks/create-slot-recipe-context-D_FXDJGp.js +104 -0
- package/dist/chunks/create-slot-recipe-context-D_FXDJGp.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-HXE1VazG.js +2 -0
- package/dist/chunks/create-slot-recipe-context-HXE1VazG.js.map +1 -0
- package/dist/chunks/datePicker.component-C6cD1_HR.js +2 -0
- package/dist/chunks/datePicker.component-C6cD1_HR.js.map +1 -0
- package/dist/chunks/datePicker.component-eHU7IZgC.js +166 -0
- package/dist/chunks/datePicker.component-eHU7IZgC.js.map +1 -0
- package/dist/chunks/datePicker.provider-BWHE-9FA.js +3009 -0
- package/dist/chunks/datePicker.provider-BWHE-9FA.js.map +1 -0
- package/dist/chunks/datePicker.provider-DgarjPPd.js +15 -0
- package/dist/chunks/datePicker.provider-DgarjPPd.js.map +1 -0
- package/dist/chunks/dateTimePicker.component-Byjxg2lJ.js +317 -0
- package/dist/chunks/dateTimePicker.component-Byjxg2lJ.js.map +1 -0
- package/dist/chunks/dateTimePicker.component-REz9iX4S.js +2 -0
- package/dist/chunks/dateTimePicker.component-REz9iX4S.js.map +1 -0
- package/dist/chunks/{dialog-C51vaoYf.js → dialog-B9jifvV4.js} +37 -36
- package/dist/chunks/{dialog-C51vaoYf.js.map → dialog-B9jifvV4.js.map} +1 -1
- package/dist/chunks/dialog-CZFwddWp.js +2 -0
- package/dist/chunks/{dialog-BPhjKQkb.js.map → dialog-CZFwddWp.js.map} +1 -1
- package/dist/chunks/divider.component-BX3zyB7O.js +2 -0
- package/dist/chunks/divider.component-BX3zyB7O.js.map +1 -0
- package/dist/chunks/divider.component-CFOh4Nw3.js +45 -0
- package/dist/chunks/divider.component-CFOh4Nw3.js.map +1 -0
- package/dist/chunks/divider.types-6MEkMNbx.js +7 -0
- package/dist/chunks/divider.types-6MEkMNbx.js.map +1 -0
- package/dist/chunks/divider.types-DBNcs0IR.js +2 -0
- package/dist/chunks/divider.types-DBNcs0IR.js.map +1 -0
- package/dist/chunks/{empty-BU2EAux9.js → empty-DNH84khx.js} +3 -3
- package/dist/chunks/{empty-BU2EAux9.js.map → empty-DNH84khx.js.map} +1 -1
- package/dist/chunks/field.anatomy-Bhj7Mlr7.js +2 -0
- package/dist/chunks/field.anatomy-Bhj7Mlr7.js.map +1 -0
- package/dist/chunks/field.anatomy-C37GEr2p.js +16 -0
- package/dist/chunks/field.anatomy-C37GEr2p.js.map +1 -0
- package/dist/chunks/{format-BRt-TIiQ.js → format-CK7Imh-5.js} +2 -2
- package/dist/chunks/{format-BRt-TIiQ.js.map → format-CK7Imh-5.js.map} +1 -1
- package/dist/chunks/{format-DgHM6wFr.js → format-CqTHHSak.js} +3 -1
- package/dist/chunks/{format-DgHM6wFr.js.map → format-CqTHHSak.js.map} +1 -1
- package/dist/chunks/grid-item-BmCSQ38y.js +78 -0
- package/dist/chunks/grid-item-BmCSQ38y.js.map +1 -0
- package/dist/chunks/grid-item-CH3dbZHL.js +2 -0
- package/dist/chunks/grid-item-CH3dbZHL.js.map +1 -0
- package/dist/chunks/heading.component-7ikcgDco.js +18 -0
- package/dist/chunks/heading.component-7ikcgDco.js.map +1 -0
- package/dist/chunks/heading.component-DMAQO_-m.js +2 -0
- package/dist/chunks/heading.component-DMAQO_-m.js.map +1 -0
- package/dist/chunks/{icon-button-5UcFiA_W.js → icon-button-CcZMCNUJ.js} +3 -3
- package/dist/chunks/{icon-button-5UcFiA_W.js.map → icon-button-CcZMCNUJ.js.map} +1 -1
- package/dist/chunks/icon.component-B1hr5lLa.js +2 -0
- package/dist/chunks/icon.component-B1hr5lLa.js.map +1 -0
- package/dist/chunks/icon.component-PV_nHBId.js +32 -0
- package/dist/chunks/icon.component-PV_nHBId.js.map +1 -0
- package/dist/chunks/{icons-DQ5FafZQ.js → icons-CoSqruIn.js} +5 -5
- package/dist/chunks/{icons-DQ5FafZQ.js.map → icons-CoSqruIn.js.map} +1 -1
- package/dist/chunks/index-B-OGBT0w.js +2 -0
- package/dist/chunks/{index-BEfEzWJx.js.map → index-B-OGBT0w.js.map} +1 -1
- package/dist/chunks/index-B3xJnxjd.js +371 -0
- package/dist/chunks/index-B3xJnxjd.js.map +1 -0
- package/dist/chunks/index-BFUdiDZp.js +2 -0
- package/dist/chunks/{index-2glJ2faJ.js.map → index-BFUdiDZp.js.map} +1 -1
- package/dist/chunks/{index-CVJXrcei.js → index-BGd_2-DY.js} +29 -27
- package/dist/chunks/{index-CVJXrcei.js.map → index-BGd_2-DY.js.map} +1 -1
- package/dist/chunks/index-BXv9lkZC.js +4 -0
- package/dist/chunks/index-BXv9lkZC.js.map +1 -0
- package/dist/chunks/index-BbZjRFzg.js +265 -0
- package/dist/chunks/index-BbZjRFzg.js.map +1 -0
- package/dist/chunks/{index-CYXurbh4.js → index-BgFImxxe.js} +27 -25
- package/dist/chunks/{index-CYXurbh4.js.map → index-BgFImxxe.js.map} +1 -1
- package/dist/chunks/index-BoulS5Zg.js +2 -0
- package/dist/chunks/index-BoulS5Zg.js.map +1 -0
- package/dist/chunks/index-BrJtqTzN.js +4115 -0
- package/dist/chunks/index-BrJtqTzN.js.map +1 -0
- package/dist/chunks/index-C9UYIjEB.js +1584 -0
- package/dist/chunks/index-C9UYIjEB.js.map +1 -0
- package/dist/chunks/index-CQURjLlA.js +3 -0
- package/dist/chunks/index-CQURjLlA.js.map +1 -0
- package/dist/chunks/{index-BXJJKHzT.js → index-CbVKVxMW.js} +54 -52
- package/dist/chunks/{index-BXJJKHzT.js.map → index-CbVKVxMW.js.map} +1 -1
- package/dist/chunks/{index-CWhDtS-n.js → index-Cxrrsmf-.js} +17 -16
- package/dist/chunks/{index-CWhDtS-n.js.map → index-Cxrrsmf-.js.map} +1 -1
- package/dist/chunks/{index-BZBgTxer.js → index-D0DKQnEK.js} +11 -11
- package/dist/chunks/{index-BZBgTxer.js.map → index-D0DKQnEK.js.map} +1 -1
- package/dist/chunks/index-D1RhzPVz.js +984 -0
- package/dist/chunks/index-D1RhzPVz.js.map +1 -0
- package/dist/chunks/index-D3Q0mQNf.js +325 -0
- package/dist/chunks/index-D3Q0mQNf.js.map +1 -0
- package/dist/chunks/index-D6HBfqAu.js +2 -0
- package/dist/chunks/index-D6HBfqAu.js.map +1 -0
- package/dist/chunks/index-D6c4fMjg.js +2 -0
- package/dist/chunks/index-D6c4fMjg.js.map +1 -0
- package/dist/chunks/{index-CfqoBQoP.js → index-D7QT9KIZ.js} +9 -9
- package/dist/chunks/{index-CfqoBQoP.js.map → index-D7QT9KIZ.js.map} +1 -1
- package/dist/chunks/{index-WYcfOUFA.js → index-DIszpWqO.js} +2 -2
- package/dist/chunks/{index-WYcfOUFA.js.map → index-DIszpWqO.js.map} +1 -1
- package/dist/chunks/{index-D0HCo_Ly.js → index-DLe40do7.js} +2 -2
- package/dist/chunks/{index-D0HCo_Ly.js.map → index-DLe40do7.js.map} +1 -1
- package/dist/chunks/index-DS4KlAkI.js +371 -0
- package/dist/chunks/index-DS4KlAkI.js.map +1 -0
- package/dist/chunks/{index-nNZWP0FQ.js → index-DTVestnf.js} +2 -2
- package/dist/chunks/{index-nNZWP0FQ.js.map → index-DTVestnf.js.map} +1 -1
- package/dist/chunks/index-DVyODQn6.js +8 -0
- package/dist/chunks/index-DVyODQn6.js.map +1 -0
- package/dist/chunks/index-D_vndwae.js +3 -0
- package/dist/chunks/index-D_vndwae.js.map +1 -0
- package/dist/chunks/index-DfzXSlq1.js +2477 -0
- package/dist/chunks/index-DfzXSlq1.js.map +1 -0
- package/dist/chunks/{index-BhSvtzbY.js → index-QVc_GVoE.js} +13 -13
- package/dist/chunks/{index-BhSvtzbY.js.map → index-QVc_GVoE.js.map} +1 -1
- package/dist/chunks/index-Ts8g8jZd.js +2 -0
- package/dist/chunks/index-Ts8g8jZd.js.map +1 -0
- package/dist/chunks/index-_913FPya.js +2 -0
- package/dist/chunks/{index-A_vmTNU7.js.map → index-_913FPya.js.map} +1 -1
- package/dist/chunks/index-fHSGm2nC.js +1044 -0
- package/dist/chunks/index-fHSGm2nC.js.map +1 -0
- package/dist/chunks/{index-eNFIsSpE.js → index-kpOEHtZZ.js} +2 -2
- package/dist/chunks/{index-eNFIsSpE.js.map → index-kpOEHtZZ.js.map} +1 -1
- package/dist/chunks/index-rSq6Bry6.js +2 -0
- package/dist/chunks/{index-DAI6_P9H.js.map → index-rSq6Bry6.js.map} +1 -1
- package/dist/chunks/{index-BhPrz8Zu.js → index-wV4hG2vI.js} +19 -19
- package/dist/chunks/{index-BhPrz8Zu.js.map → index-wV4hG2vI.js.map} +1 -1
- package/dist/chunks/index-yh2QitBe.js +2 -0
- package/dist/chunks/index-yh2QitBe.js.map +1 -0
- package/dist/chunks/input-group-CFelIL63.js +78 -0
- package/dist/chunks/input-group-CFelIL63.js.map +1 -0
- package/dist/chunks/input-group-DUdSDk4o.js +2 -0
- package/dist/chunks/input-group-DUdSDk4o.js.map +1 -0
- package/dist/chunks/isToday-BgNkHh5t.js +2 -0
- package/dist/chunks/isToday-BgNkHh5t.js.map +1 -0
- package/dist/chunks/isToday-iCYsPDMT.js +23 -0
- package/dist/chunks/isToday-iCYsPDMT.js.map +1 -0
- package/dist/chunks/link.component--URNKuK2.js +44 -0
- package/dist/chunks/link.component--URNKuK2.js.map +1 -0
- package/dist/chunks/link.component-_YXG8MDq.js +2 -0
- package/dist/chunks/link.component-_YXG8MDq.js.map +1 -0
- package/dist/chunks/{list-D22V_L58.js → list-DTRn3TmT.js} +2 -2
- package/dist/chunks/{list-D22V_L58.js.map → list-DTRn3TmT.js.map} +1 -1
- package/dist/chunks/{list-DwRM9eA_.js → list-v83ZN2MC.js} +2 -2
- package/dist/chunks/{list-DwRM9eA_.js.map → list-v83ZN2MC.js.map} +1 -1
- package/dist/chunks/logo.types-88a31xCx.js +2 -0
- package/dist/chunks/logo.types-88a31xCx.js.map +1 -0
- package/dist/chunks/logo.types-C5GwpHjM.js +51 -0
- package/dist/chunks/logo.types-C5GwpHjM.js.map +1 -0
- package/dist/chunks/menu.component-D4-4xRDj.js +2 -0
- package/dist/chunks/menu.component-D4-4xRDj.js.map +1 -0
- package/dist/chunks/menu.component-DwTen8Uv.js +704 -0
- package/dist/chunks/menu.component-DwTen8Uv.js.map +1 -0
- package/dist/chunks/modal.types-74os4Bqi.js +2 -0
- package/dist/chunks/modal.types-74os4Bqi.js.map +1 -0
- package/dist/chunks/modal.types-B0rK6xJy.js +115 -0
- package/dist/chunks/modal.types-B0rK6xJy.js.map +1 -0
- package/dist/chunks/{notificationCounter.component-Lu4_Owvr.js → notificationCounter.component-BexkISUl.js} +37 -18
- package/dist/chunks/notificationCounter.component-BexkISUl.js.map +1 -0
- package/dist/chunks/notificationCounter.component-DJpUXeXm.js +2 -0
- package/dist/chunks/notificationCounter.component-DJpUXeXm.js.map +1 -0
- package/dist/chunks/numberInput.component-DIABzNV6.js +2 -0
- package/dist/chunks/numberInput.component-DIABzNV6.js.map +1 -0
- package/dist/chunks/numberInput.component-RCwUUzmH.js +227 -0
- package/dist/chunks/numberInput.component-RCwUUzmH.js.map +1 -0
- package/dist/chunks/picture.component-BA2hgdZy.js +2 -0
- package/dist/chunks/picture.component-BA2hgdZy.js.map +1 -0
- package/dist/chunks/picture.component-DzdHIFN_.js +28 -0
- package/dist/chunks/picture.component-DzdHIFN_.js.map +1 -0
- package/dist/chunks/pinInput.types-BCzsoF9r.js +2 -0
- package/dist/chunks/{pinInput.types-Cqm1Px5l.js.map → pinInput.types-BCzsoF9r.js.map} +1 -1
- package/dist/chunks/pinInput.types-CcaAN6P2.js +155 -0
- package/dist/chunks/{pinInput.types-CcN0aX_i.js.map → pinInput.types-CcaAN6P2.js.map} +1 -1
- package/dist/chunks/popover-C7aj8Iwj.js +2 -0
- package/dist/chunks/popover-C7aj8Iwj.js.map +1 -0
- package/dist/chunks/popover-pd70xkY_.js +111 -0
- package/dist/chunks/popover-pd70xkY_.js.map +1 -0
- package/dist/chunks/popover-root-provider-CZDbUJ2K.js +2 -0
- package/dist/chunks/{popover-root-provider-ZB5BcrXn.js.map → popover-root-provider-CZDbUJ2K.js.map} +1 -1
- package/dist/chunks/popover-root-provider-DR0Iuda1.js +44 -0
- package/dist/chunks/{popover-root-provider-CkW1eCBQ.js.map → popover-root-provider-DR0Iuda1.js.map} +1 -1
- package/dist/chunks/popover.component-BBp_5m8e.js +2 -0
- package/dist/chunks/popover.component-BBp_5m8e.js.map +1 -0
- package/dist/chunks/popover.component-DEOUdSu3.js +220 -0
- package/dist/chunks/popover.component-DEOUdSu3.js.map +1 -0
- package/dist/chunks/popover.recipe-B9bkpDfc.js +126 -0
- package/dist/chunks/popover.recipe-B9bkpDfc.js.map +1 -0
- package/dist/chunks/popover.recipe-Czy8Aeft.js +2 -0
- package/dist/chunks/popover.recipe-Czy8Aeft.js.map +1 -0
- package/dist/chunks/popover.types-CQJj3uOX.js +7 -0
- package/dist/chunks/popover.types-CQJj3uOX.js.map +1 -0
- package/dist/chunks/popover.types-ChA9ccQ2.js +2 -0
- package/dist/chunks/popover.types-ChA9ccQ2.js.map +1 -0
- package/dist/chunks/progress-value-text-CFVhPKYk.js +2 -0
- package/dist/chunks/progress-value-text-CFVhPKYk.js.map +1 -0
- package/dist/chunks/progress-value-text-DZkUF2cO.js +58 -0
- package/dist/chunks/progress-value-text-DZkUF2cO.js.map +1 -0
- package/dist/chunks/radioGroup.types-C7A8mLMz.js +2 -0
- package/dist/chunks/radioGroup.types-C7A8mLMz.js.map +1 -0
- package/dist/chunks/radioGroup.types-DJ68ERdO.js +228 -0
- package/dist/chunks/radioGroup.types-DJ68ERdO.js.map +1 -0
- package/dist/chunks/radiomark-Cj0NEJeE.js +2 -0
- package/dist/chunks/radiomark-Cj0NEJeE.js.map +1 -0
- package/dist/chunks/radiomark-DdwVpBDT.js +22 -0
- package/dist/chunks/radiomark-DdwVpBDT.js.map +1 -0
- package/dist/chunks/radiomark.component-D_7wT5VA.js +11 -0
- package/dist/chunks/radiomark.component-D_7wT5VA.js.map +1 -0
- package/dist/chunks/radiomark.component-YJNr68s7.js +2 -0
- package/dist/chunks/radiomark.component-YJNr68s7.js.map +1 -0
- package/dist/chunks/rating-group-CfwdAW9a.js +133 -0
- package/dist/chunks/rating-group-CfwdAW9a.js.map +1 -0
- package/dist/chunks/rating-group-D8QA23q6.js +2 -0
- package/dist/chunks/rating-group-D8QA23q6.js.map +1 -0
- package/dist/chunks/rating.component-BsuGbcxP.js +2 -0
- package/dist/chunks/rating.component-BsuGbcxP.js.map +1 -0
- package/dist/chunks/rating.component-ChzcvUl6.js +70 -0
- package/dist/chunks/rating.component-ChzcvUl6.js.map +1 -0
- package/dist/chunks/ratingDots.component-CVjSZ9JJ.js +2 -0
- package/dist/chunks/ratingDots.component-CVjSZ9JJ.js.map +1 -0
- package/dist/chunks/ratingDots.component-D9WQGVcj.js +147 -0
- package/dist/chunks/ratingDots.component-D9WQGVcj.js.map +1 -0
- package/dist/chunks/{render-strategy-CfHUEDVm.js → render-strategy-kPh1pd2U.js} +2 -2
- package/dist/chunks/{render-strategy-CfHUEDVm.js.map → render-strategy-kPh1pd2U.js.map} +1 -1
- package/dist/chunks/{render-strategy-Dr73HbQf.js → render-strategy-munDZLwL.js} +2 -2
- package/dist/chunks/{render-strategy-Dr73HbQf.js.map → render-strategy-munDZLwL.js.map} +1 -1
- package/dist/chunks/select.component-B4mAPqzN.js +1099 -0
- package/dist/chunks/select.component-B4mAPqzN.js.map +1 -0
- package/dist/chunks/select.component-CCNxMGvb.js +2 -0
- package/dist/chunks/select.component-CCNxMGvb.js.map +1 -0
- package/dist/chunks/{sortableList.component-vxiA7bvr.js → sortableList.component-BlwtnxVj.js} +3 -3
- package/dist/chunks/{sortableList.component-vxiA7bvr.js.map → sortableList.component-BlwtnxVj.js.map} +1 -1
- package/dist/chunks/{sortableList.component-i4dJ9oHN.js → sortableList.component-XfURY7C2.js} +384 -379
- package/dist/chunks/{sortableList.component-i4dJ9oHN.js.map → sortableList.component-XfURY7C2.js.map} +1 -1
- package/dist/chunks/spinner-B9ytCKVs.js +8 -0
- package/dist/chunks/{spinner-C31ZWQmA.js.map → spinner-B9ytCKVs.js.map} +1 -1
- package/dist/chunks/{spinner.component-DPYj17HK.js → spinner.component-B3dkvoO9.js} +53 -45
- package/dist/chunks/spinner.component-B3dkvoO9.js.map +1 -0
- package/dist/chunks/spinner.component-DuW1_IWM.js +2 -0
- package/dist/chunks/spinner.component-DuW1_IWM.js.map +1 -0
- package/dist/chunks/styledAvatar.types-CcP-Vl9c.js +2 -0
- package/dist/chunks/styledAvatar.types-CcP-Vl9c.js.map +1 -0
- package/dist/chunks/styledAvatar.types-cR6PNPxA.js +69 -0
- package/dist/chunks/styledAvatar.types-cR6PNPxA.js.map +1 -0
- package/dist/chunks/swatch.types-AZLB8OWG.js +2 -0
- package/dist/chunks/swatch.types-AZLB8OWG.js.map +1 -0
- package/dist/chunks/{swatch.types-CXlghcLw.js → swatch.types-CkrkMi11.js} +21 -20
- package/dist/chunks/swatch.types-CkrkMi11.js.map +1 -0
- package/dist/chunks/switch.component-CgzCLoTB.js +2 -0
- package/dist/chunks/{switch.component-Cke7O8gk.js.map → switch.component-CgzCLoTB.js.map} +1 -1
- package/dist/chunks/switch.component-CpV7mnhR.js +155 -0
- package/dist/chunks/{switch.component-C88jBbo_.js.map → switch.component-CpV7mnhR.js.map} +1 -1
- package/dist/chunks/{tab.types-DCkus0y2.js → tab.types-DaJfFBvr.js} +136 -117
- package/dist/chunks/{tab.types-DCkus0y2.js.map → tab.types-DaJfFBvr.js.map} +1 -1
- package/dist/chunks/tab.types-DwPEP_5N.js +2 -0
- package/dist/chunks/{tab.types-DpmXyw5C.js.map → tab.types-DwPEP_5N.js.map} +1 -1
- package/dist/chunks/tag.component-B7V76XfM.js +84 -0
- package/dist/chunks/tag.component-B7V76XfM.js.map +1 -0
- package/dist/chunks/tag.component-C98Wf07v.js +2 -0
- package/dist/chunks/tag.component-C98Wf07v.js.map +1 -0
- package/dist/chunks/tagBlock.component-BGEvRu81.js +2 -0
- package/dist/chunks/tagBlock.component-BGEvRu81.js.map +1 -0
- package/dist/chunks/tagBlock.component-Cor6eakc.js +170 -0
- package/dist/chunks/tagBlock.component-Cor6eakc.js.map +1 -0
- package/dist/chunks/text.component-CdTyTFds.js +12 -0
- package/dist/chunks/text.component-CdTyTFds.js.map +1 -0
- package/dist/chunks/text.component-CeioUl0G.js +2 -0
- package/dist/chunks/text.component-CeioUl0G.js.map +1 -0
- package/dist/chunks/textInput.component-BC0Hi8R_.js +108 -0
- package/dist/chunks/textInput.component-BC0Hi8R_.js.map +1 -0
- package/dist/chunks/textInput.component-C1vwy6pL.js +2 -0
- package/dist/chunks/textInput.component-C1vwy6pL.js.map +1 -0
- package/dist/chunks/textarea.component-D15hA9Jb.js +2 -0
- package/dist/chunks/{textarea.component-Dk2IMKkr.js.map → textarea.component-D15hA9Jb.js.map} +1 -1
- package/dist/chunks/textarea.component-axjxiv82.js +96 -0
- package/dist/chunks/{textarea.component-BYexywy1.js.map → textarea.component-axjxiv82.js.map} +1 -1
- package/dist/chunks/{theme.provider-w_I9S10D.js → theme.provider-BD7qyu-B.js} +1405 -1339
- package/dist/chunks/theme.provider-BD7qyu-B.js.map +1 -0
- package/dist/chunks/theme.provider-DFwAy7tr.js +28 -0
- package/dist/chunks/theme.provider-DFwAy7tr.js.map +1 -0
- package/dist/chunks/timePicker.component-Cz2XxVL6.js +2 -0
- package/dist/chunks/timePicker.component-Cz2XxVL6.js.map +1 -0
- package/dist/chunks/timePicker.component-u34pHrzr.js +220 -0
- package/dist/chunks/timePicker.component-u34pHrzr.js.map +1 -0
- package/dist/chunks/timeRange.component-BiA1VWQ8.js +19 -0
- package/dist/chunks/timeRange.component-BiA1VWQ8.js.map +1 -0
- package/dist/chunks/timeRange.component-tU_nCTmS.js +2 -0
- package/dist/chunks/timeRange.component-tU_nCTmS.js.map +1 -0
- package/dist/chunks/timestamp.component-DBmc7D23.js +36 -0
- package/dist/chunks/timestamp.component-DBmc7D23.js.map +1 -0
- package/dist/chunks/timestamp.component-DYZHgaas.js +2 -0
- package/dist/chunks/timestamp.component-DYZHgaas.js.map +1 -0
- package/dist/chunks/toaster.records-CDSkoMuU.js +2 -0
- package/dist/chunks/{toaster.records-eCXbM85Z.js.map → toaster.records-CDSkoMuU.js.map} +1 -1
- package/dist/chunks/{toaster.records-oryzm5Go.js → toaster.records-Cb3hbtuY.js} +103 -102
- package/dist/chunks/{toaster.records-oryzm5Go.js.map → toaster.records-Cb3hbtuY.js.map} +1 -1
- package/dist/chunks/tooltip.component-BkFDi5yK.js +2 -0
- package/dist/chunks/{tooltip.component-CATpCSkf.js.map → tooltip.component-BkFDi5yK.js.map} +1 -1
- package/dist/chunks/{tooltip.component-mjdP7nPN.js → tooltip.component-C_NS-AoH.js} +126 -103
- package/dist/chunks/{tooltip.component-mjdP7nPN.js.map → tooltip.component-C_NS-AoH.js.map} +1 -1
- package/dist/chunks/{typography.records-CpYV1kns.js → typography.records-BEd2lI_g.js} +10 -22
- package/dist/chunks/typography.records-BEd2lI_g.js.map +1 -0
- package/dist/chunks/typography.records-Cg_lT1Z3.js +2 -0
- package/dist/chunks/typography.records-Cg_lT1Z3.js.map +1 -0
- package/dist/chunks/{use-field-context-BTxME29X.js → use-field-context-Cm29IQ7H.js} +2 -2
- package/dist/chunks/{use-field-context-BTxME29X.js.map → use-field-context-Cm29IQ7H.js.map} +1 -1
- package/dist/chunks/{use-field-context-RQeEcNpb.js → use-field-context-DrC9mrDd.js} +2 -2
- package/dist/chunks/{use-field-context-RQeEcNpb.js.map → use-field-context-DrC9mrDd.js.map} +1 -1
- package/dist/chunks/use-locale-context-Bw4Gg9Z0.js +738 -0
- package/dist/chunks/use-locale-context-Bw4Gg9Z0.js.map +1 -0
- package/dist/chunks/use-locale-context-ym21RUxU.js +22 -0
- package/dist/chunks/use-locale-context-ym21RUxU.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/withFormControl-DePFf9SY.js +367 -0
- package/dist/chunks/withFormControl-DePFf9SY.js.map +1 -0
- package/dist/chunks/withFormControl-wZA87Sd4.js +2 -0
- package/dist/chunks/withFormControl-wZA87Sd4.js.map +1 -0
- package/dist/chunks/withTruncation-DE3FFPE7.js +2 -0
- package/dist/chunks/withTruncation-DE3FFPE7.js.map +1 -0
- package/dist/chunks/withTruncation-DTCfQ2yk.js +92 -0
- package/dist/chunks/withTruncation-DTCfQ2yk.js.map +1 -0
- package/dist/chunks/{wrap-CRNL4bE6.js → wrap-Cu5ZEseD.js} +2 -2
- package/dist/chunks/{wrap-CRNL4bE6.js.map → wrap-Cu5ZEseD.js.map} +1 -1
- package/dist/cjs/chakra/index.cjs +2 -2
- package/dist/cjs/chakra/index.cjs.map +1 -1
- 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/Calendar/index.cjs +2 -0
- package/dist/cjs/components/Calendar/index.cjs.map +1 -0
- package/dist/cjs/components/Card/index.cjs +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/ConversationCard/index.cjs +1 -1
- package/dist/cjs/components/DatePicker/index.cjs +1 -1
- package/dist/cjs/components/DateTimePicker/index.cjs +2 -0
- package/dist/cjs/components/DateTimePicker/index.cjs.map +1 -0
- package/dist/cjs/components/Divider/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/Logo/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/NumberInput/index.cjs +2 -0
- package/dist/cjs/components/NumberInput/index.cjs.map +1 -0
- package/dist/cjs/components/Picture/index.cjs +1 -1
- package/dist/cjs/components/PinInput/index.cjs +1 -1
- package/dist/cjs/components/Popover/index.cjs +1 -1
- package/dist/cjs/components/Progress/index.cjs +2 -0
- package/dist/cjs/components/Progress/index.cjs.map +1 -0
- package/dist/cjs/components/RadioGroup/index.cjs +1 -1
- package/dist/cjs/components/Radiomark/index.cjs +2 -0
- package/dist/cjs/components/Radiomark/index.cjs.map +1 -0
- package/dist/cjs/components/Rating/index.cjs +2 -0
- package/dist/cjs/components/Rating/index.cjs.map +1 -0
- 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/StyledAvatar/index.cjs +1 -1
- package/dist/cjs/components/Swatch/index.cjs +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/TagBlock/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/Timestamp/index.cjs +1 -1
- package/dist/cjs/components/Toast/index.cjs +1 -1
- package/dist/cjs/components/Toast/index.cjs.map +1 -1
- package/dist/cjs/components/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/hooks/useBreakpoint/index.cjs.map +1 -1
- package/dist/cjs/hooks/useColorMode/index.cjs.map +1 -1
- package/dist/cjs/hooks/useColorModeValue/index.cjs.map +1 -1
- package/dist/cjs/hooks/useDeviceType/index.cjs.map +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/theme/index.cjs +1 -1
- package/dist/cjs/theme/semanticTokens/index.cjs +1 -1
- package/dist/cjs/theme/semanticTokens/index.cjs.map +1 -1
- package/dist/esm/chakra/index.js +1682 -1997
- package/dist/esm/chakra/index.js.map +1 -1
- package/dist/esm/components/Alert/index.js +1 -1
- package/dist/esm/components/Avatar/index.js +1 -1
- 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/Calendar/index.js +5 -0
- package/dist/esm/components/Calendar/index.js.map +1 -0
- package/dist/esm/components/Card/index.js +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/ConversationCard/index.js +1 -1
- package/dist/esm/components/DatePicker/index.js +4 -3
- package/dist/esm/components/DatePicker/index.js.map +1 -1
- package/dist/esm/components/DateTimePicker/index.js +7 -0
- package/dist/esm/components/DateTimePicker/index.js.map +1 -0
- package/dist/esm/components/Divider/index.js +6 -5
- package/dist/esm/components/Divider/index.js.map +1 -1
- package/dist/esm/components/Heading/index.js +1 -1
- package/dist/esm/components/Icon/generated/index.js +556 -342
- 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/Logo/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 +1 -1
- package/dist/esm/components/NumberInput/index.js +5 -0
- package/dist/esm/components/NumberInput/index.js.map +1 -0
- package/dist/esm/components/Picture/index.js +1 -1
- package/dist/esm/components/PinInput/index.js +1 -1
- package/dist/esm/components/Popover/index.js +2 -2
- package/dist/esm/components/Progress/index.js +57 -0
- package/dist/esm/components/Progress/index.js.map +1 -0
- package/dist/esm/components/RadioGroup/index.js +1 -1
- package/dist/esm/components/Radiomark/index.js +5 -0
- package/dist/esm/components/Radiomark/index.js.map +1 -0
- package/dist/esm/components/Rating/index.js +5 -0
- package/dist/esm/components/Rating/index.js.map +1 -0
- 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/StyledAvatar/index.js +1 -1
- package/dist/esm/components/Swatch/index.js +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +1 -1
- package/dist/esm/components/Tag/index.js +1 -1
- package/dist/esm/components/TagBlock/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/Timestamp/index.js +1 -1
- package/dist/esm/components/Toast/index.js +26 -23
- package/dist/esm/components/Toast/index.js.map +1 -1
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +131 -117
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/hooks/useBreakpoint/index.js.map +1 -1
- package/dist/esm/hooks/useColorMode/index.js.map +1 -1
- package/dist/esm/hooks/useColorModeValue/index.js.map +1 -1
- package/dist/esm/hooks/useDeviceType/index.js.map +1 -1
- package/dist/esm/index.js +148 -134
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/theme/index.js +1 -1
- package/dist/esm/theme/semanticTokens/index.js +4 -4
- package/dist/esm/theme/semanticTokens/index.js.map +1 -1
- package/dist/types/chakra/index.d.ts +2 -4
- package/dist/types/components/Alert/alert.component.d.ts +28 -1
- package/dist/types/components/Alert/alert.recipe.d.ts +3 -2
- package/dist/types/components/Alert/components/AlertButton/alertButton.component.d.ts +12 -1
- package/dist/types/components/Avatar/avatar.component.d.ts +30 -2
- package/dist/types/components/Avatar/avatar.recipe.d.ts +3 -2
- package/dist/types/components/Avatar/avatar.records.d.ts +2 -0
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +9 -1
- package/dist/types/components/Avatar/components/AvatarRemoveButton/avatarRemoveButton.component.d.ts +15 -6
- package/dist/types/components/Avatar/components/AvatarTooltipTriggerWrapper/avatarTooltipTriggerWrapper.component.d.ts +2 -0
- package/dist/types/components/AvatarGroup/avatarGroup.component.d.ts +27 -3
- package/dist/types/components/Button/button.component.d.ts +14 -1
- package/dist/types/components/Button/button.recipe.d.ts +3 -1
- package/dist/types/components/Button/button.types.d.ts +2 -2
- package/dist/types/components/ButtonGroup/buttonGroup.component.d.ts +12 -1
- package/dist/types/components/Calendar/calendar.component.d.ts +19 -0
- package/dist/types/components/Calendar/index.d.ts +1 -0
- package/dist/types/components/Card/card.component.d.ts +41 -1
- package/dist/types/components/CharacterCounter/characterCounter.component.d.ts +9 -1
- package/dist/types/components/Checkbox/checkbox.component.d.ts +19 -2
- package/dist/types/components/Checkbox/checkbox.recipe.d.ts +3 -2
- package/dist/types/components/Checkbox/checkbox.types.d.ts +4 -0
- package/dist/types/components/Checkbox/index.d.ts +1 -0
- package/dist/types/components/CheckboxGroup/checkboxGroup.component.d.ts +12 -2
- package/dist/types/components/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +11 -1
- package/dist/types/components/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +22 -1
- package/dist/types/components/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +8 -1
- package/dist/types/components/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +8 -1
- package/dist/types/components/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +12 -1
- package/dist/types/components/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +7 -1
- package/dist/types/components/ConversationCard/conversationCard.component.d.ts +29 -1
- package/dist/types/components/DatePicker/components/DatePickerCalendar/datePickerCalendar.component.d.ts +10 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.d.ts +11 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.recipe.d.ts +5 -4
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.types.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerFooter/datePickerFooter.component.d.ts +9 -0
- package/dist/types/components/DatePicker/components/DatePickerHeader/datePickerHeader.component.d.ts +15 -1
- package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts +6 -1
- package/dist/types/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.d.ts +11 -1
- package/dist/types/components/DatePicker/context/datePicker.context.d.ts +3 -0
- package/dist/types/components/DatePicker/context/datePicker.provider.d.ts +10 -1
- package/dist/types/components/DatePicker/datePicker.component.d.ts +25 -11
- package/dist/types/components/DatePicker/datePicker.types.d.ts +18 -0
- package/dist/types/components/DatePicker/hooks/useComputeCornerRoundingFlags.d.ts +10 -0
- package/dist/types/components/DatePicker/utils/getDayVariant.d.ts +12 -0
- package/dist/types/components/DateTimePicker/components/DateTimePickerCustomView/dateTimePickerCustomView.component.d.ts +7 -0
- package/dist/types/components/DateTimePicker/components/DateTimePickerQuickOptions/dateTimePickerQuickOptions.component.d.ts +14 -0
- package/dist/types/components/DateTimePicker/components/DateTimePickerRangeSelector/dateTimePickerRangeSelector.component.d.ts +10 -0
- package/dist/types/components/DateTimePicker/dateTimePicker.component.d.ts +33 -0
- package/dist/types/components/DateTimePicker/dateTimePicker.records.d.ts +8 -0
- package/dist/types/components/DateTimePicker/dateTimePicker.types.d.ts +11 -0
- package/dist/types/components/DateTimePicker/index.d.ts +2 -0
- package/dist/types/components/DateTimePicker/utils/quickOptions.d.ts +13 -0
- package/dist/types/components/Divider/divider.component.d.ts +7 -2
- package/dist/types/components/Heading/heading.component.d.ts +12 -0
- package/dist/types/components/Icon/generated/Backspace.d.ts +10 -0
- package/dist/types/components/Icon/generated/CaretLeft.d.ts +10 -0
- package/dist/types/components/Icon/generated/CheckList.d.ts +10 -0
- package/dist/types/components/Icon/generated/Globe.d.ts +10 -0
- package/dist/types/components/Icon/generated/InputAlt.d.ts +10 -0
- package/dist/types/components/Icon/generated/LightBulb.d.ts +10 -0
- package/dist/types/components/Icon/generated/SelectDropDown.d.ts +10 -0
- package/dist/types/components/Icon/generated/TextArea.d.ts +10 -0
- package/dist/types/components/Icon/generated/TextBlock.d.ts +10 -0
- package/dist/types/components/Icon/generated/index.d.ts +1 -1
- package/dist/types/components/Icon/icon.component.d.ts +10 -0
- package/dist/types/components/Link/components/LinkIcon/linkIcon.component.d.ts +7 -0
- package/dist/types/components/Link/link.component.d.ts +19 -0
- package/dist/types/components/Logo/logo.component.d.ts +14 -1
- package/dist/types/components/Menu/components/MenuButton/menuButton.component.d.ts +22 -0
- package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +34 -5
- package/dist/types/components/Menu/components/MenuList/menuList.types.d.ts +18 -0
- package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.component.d.ts +17 -0
- package/dist/types/components/Menu/index.d.ts +4 -0
- package/dist/types/components/Menu/menu.component.d.ts +22 -19
- package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
- package/dist/types/components/Menu/menu.types.d.ts +17 -0
- package/dist/types/components/Modal/components/ModalFooter/modalFooter.component.d.ts +24 -1
- package/dist/types/components/Modal/modal.component.d.ts +46 -1
- package/dist/types/components/Modal/modal.recipe.d.ts +2 -2
- package/dist/types/components/NotificationCounter/notificationCounter.component.d.ts +19 -1
- package/dist/types/components/NotificationCounter/notificationCounter.records.d.ts +5 -0
- package/dist/types/components/NumberInput/index.d.ts +2 -0
- package/dist/types/components/NumberInput/numberInput.component.d.ts +40 -0
- package/dist/types/components/NumberInput/numberInput.recipe.d.ts +21 -0
- package/dist/types/components/NumberInput/numberInput.types.d.ts +4 -0
- package/dist/types/components/Picture/picture.component.d.ts +9 -1
- package/dist/types/components/PinInput/pinInput.component.d.ts +19 -1
- package/dist/types/components/PinInput/pinInput.recipe.d.ts +1 -1
- package/dist/types/components/Popover/components/PopoverFooter/popoverFooter.component.d.ts +26 -1
- package/dist/types/components/Popover/components/PopoverHeader/popoverHeader.component.d.ts +19 -1
- package/dist/types/components/Popover/popover.component.d.ts +45 -2
- package/dist/types/components/Popover/popover.recipe.d.ts +4 -3
- package/dist/types/components/Popover/popover.types.d.ts +1 -1
- package/dist/types/components/Progress/index.d.ts +2 -0
- package/dist/types/components/Progress/progress.component.d.ts +26 -0
- package/dist/types/components/Progress/progress.recipe.d.ts +38 -0
- package/dist/types/components/Progress/progress.types.d.ts +9 -0
- package/dist/types/components/RadioGroup/components/Radio/radio.component.d.ts +15 -0
- package/dist/types/components/RadioGroup/radioGroup.component.d.ts +22 -2
- package/dist/types/components/RadioGroup/radioGroup.recipe.d.ts +4 -2
- package/dist/types/components/Radiomark/index.d.ts +1 -0
- package/dist/types/components/Radiomark/radiomark.component.d.ts +12 -0
- package/dist/types/components/Radiomark/radiomark.recipe.d.ts +2 -0
- package/dist/types/components/Rating/index.d.ts +1 -0
- package/dist/types/components/Rating/rating.component.d.ts +37 -0
- package/dist/types/components/Rating/rating.recipe.d.ts +10 -0
- package/dist/types/components/RatingDots/components/RatingDot/ratingDot.component.d.ts +10 -1
- package/dist/types/components/RatingDots/ratingDots.component.d.ts +12 -0
- package/dist/types/components/Select/components/SelectItemContent/selectItemContent.component.d.ts +6 -0
- package/dist/types/components/Select/components/SelectTrigger/selectTrigger.component.d.ts +7 -2
- package/dist/types/components/Select/select.component.d.ts +53 -3
- package/dist/types/components/Select/select.types.d.ts +3 -0
- package/dist/types/components/SortableList/components/SortableListDragHandle/sortableListDragHandle.component.d.ts +1 -1
- package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.component.d.ts +13 -1
- package/dist/types/components/SortableList/sortableList.component.d.ts +13 -1
- package/dist/types/components/Spinner/spinner.component.d.ts +28 -2
- package/dist/types/components/Spinner/spinner.recipe.d.ts +16 -1
- package/dist/types/components/StyledAvatar/styledAvatar.component.d.ts +10 -1
- package/dist/types/components/StyledAvatar/styledAvatar.types.d.ts +1 -1
- package/dist/types/components/Swatch/swatch.component.d.ts +10 -1
- package/dist/types/components/Switch/switch.component.d.ts +15 -0
- package/dist/types/components/Switch/switch.recipe.d.ts +3 -2
- package/dist/types/components/Tabs/components/Tab/tab.component.d.ts +14 -1
- package/dist/types/components/Tabs/tabs.component.d.ts +17 -2
- package/dist/types/components/Tabs/tabs.recipe.d.ts +3 -2
- package/dist/types/components/Tag/tag.component.d.ts +31 -0
- package/dist/types/components/Tag/tag.recipe.d.ts +3 -2
- package/dist/types/components/TagBlock/tagBlock.component.d.ts +34 -1
- package/dist/types/components/Text/text.component.d.ts +13 -0
- package/dist/types/components/TextInput/textInput.component.d.ts +28 -0
- package/dist/types/components/Textarea/textarea.component.d.ts +13 -0
- package/dist/types/components/TimePicker/components/TimeList/timeList.component.d.ts +10 -1
- package/dist/types/components/TimePicker/components/TimeOption/timeOption.component.d.ts +9 -1
- package/dist/types/components/TimePicker/timePicker.component.d.ts +19 -1
- package/dist/types/components/TimeRange/timeRange.component.d.ts +12 -1
- package/dist/types/components/Timestamp/timestamp.component.d.ts +18 -1
- package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +12 -1
- package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +6 -1
- package/dist/types/components/Toast/toast.component.d.ts +19 -1
- package/dist/types/components/Toast/toast.recipe.d.ts +3 -2
- package/dist/types/components/Toast/toast.types.d.ts +13 -0
- package/dist/types/components/Toast/useToast.d.ts +5 -0
- package/dist/types/components/Tooltip/tooltip.component.d.ts +26 -0
- package/dist/types/components/Tooltip/tooltip.recipe.d.ts +10 -1
- package/dist/types/components/index.d.ts +5 -0
- package/dist/types/hocs/withFormControl/withFormControl.d.ts +44 -0
- package/dist/types/hocs/withTruncation.d.ts +8 -0
- package/dist/types/hooks/useBreakpoint/index.d.ts +4 -0
- package/dist/types/hooks/useColorMode/index.d.ts +39 -0
- package/dist/types/hooks/useColorModeValue/index.d.ts +6 -0
- package/dist/types/hooks/useDeviceType/index.d.ts +4 -0
- package/dist/types/hooks/useIconTextSizeMap.d.ts +5 -0
- package/dist/types/shared/components/withVariantStory.d.ts +6 -0
- package/dist/types/shared/types/index.d.ts +1 -0
- package/dist/types/theme/providers/theme.provider.d.ts +1 -0
- package/dist/types/theme/recipes/List/list.recipe.d.ts +14 -0
- package/dist/types/theme/recipes/Table/table.recipe.d.ts +29 -0
- package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +91 -82
- package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +182 -164
- package/dist/types/theme/semanticTokens/semanticTokens.types.d.ts +4 -3
- package/dist/types/theme/tokens/sizes/sizes.config.d.ts +2 -2
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +10 -10
- package/package.json +21 -18
- package/dist/chunks/alert.types-De_IDZNV.js +0 -2
- package/dist/chunks/alert.types-De_IDZNV.js.map +0 -1
- package/dist/chunks/alert.types-NkOwCG0-.js +0 -139
- package/dist/chunks/alert.types-NkOwCG0-.js.map +0 -1
- package/dist/chunks/avatar.component-CqFsGMt6.js +0 -2
- package/dist/chunks/avatar.component-CqFsGMt6.js.map +0 -1
- package/dist/chunks/avatar.component-lHszPWEi.js +0 -394
- package/dist/chunks/avatar.component-lHszPWEi.js.map +0 -1
- package/dist/chunks/avatarGroup.component-BPYIE5NT.js +0 -2
- package/dist/chunks/avatarGroup.component-BPYIE5NT.js.map +0 -1
- package/dist/chunks/avatarGroup.component-EFxRAKiJ.js +0 -67
- package/dist/chunks/avatarGroup.component-EFxRAKiJ.js.map +0 -1
- package/dist/chunks/button.component-BE20YKDd.js +0 -67
- package/dist/chunks/button.component-BE20YKDd.js.map +0 -1
- package/dist/chunks/button.component-DAv5WxDc.js +0 -2
- package/dist/chunks/button.component-DAv5WxDc.js.map +0 -1
- package/dist/chunks/button.recipe-7PSQJbyz.js +0 -2
- package/dist/chunks/button.recipe-7PSQJbyz.js.map +0 -1
- package/dist/chunks/button.recipe-ClmsjdZI.js +0 -910
- package/dist/chunks/button.recipe-ClmsjdZI.js.map +0 -1
- package/dist/chunks/button.types-BKXZNvN1.js.map +0 -1
- package/dist/chunks/button.types-Bl1awbi0.js +0 -2
- package/dist/chunks/button.types-Bl1awbi0.js.map +0 -1
- package/dist/chunks/buttonGroup.component-CQBXYOhq.js +0 -2
- package/dist/chunks/buttonGroup.component-CQBXYOhq.js.map +0 -1
- package/dist/chunks/buttonGroup.component-CheBkHw6.js +0 -68
- package/dist/chunks/buttonGroup.component-CheBkHw6.js.map +0 -1
- package/dist/chunks/card.component-BZxC19F_.js +0 -2
- package/dist/chunks/card.component-BZxC19F_.js.map +0 -1
- package/dist/chunks/card.component-DJcYzMX1.js +0 -58
- package/dist/chunks/card.component-DJcYzMX1.js.map +0 -1
- package/dist/chunks/characterCounter.component-C6ZwdIiA.js +0 -84
- package/dist/chunks/characterCounter.component-C6ZwdIiA.js.map +0 -1
- package/dist/chunks/characterCounter.component-D0ccCiBG.js +0 -2
- package/dist/chunks/characterCounter.component-D0ccCiBG.js.map +0 -1
- package/dist/chunks/checkbox.component-DNOkXggb.js +0 -260
- package/dist/chunks/checkbox.component-Dhjcu89D.js +0 -2
- package/dist/chunks/checkboxGroup.component-BNKJqMKi.js +0 -52
- package/dist/chunks/checkboxGroup.component-BNKJqMKi.js.map +0 -1
- package/dist/chunks/checkboxGroup.component-M-nvlAbK.js +0 -2
- package/dist/chunks/checkboxGroup.component-M-nvlAbK.js.map +0 -1
- package/dist/chunks/conversationCard.component-BRJbMpwH.js +0 -2
- package/dist/chunks/conversationCard.component-BRJbMpwH.js.map +0 -1
- package/dist/chunks/conversationCard.component-DmSuBQ4_.js +0 -330
- package/dist/chunks/conversationCard.component-DmSuBQ4_.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-CViypfwB.js +0 -2
- package/dist/chunks/create-slot-recipe-context-CViypfwB.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-CrlT_nGQ.js +0 -97
- package/dist/chunks/create-slot-recipe-context-CrlT_nGQ.js.map +0 -1
- package/dist/chunks/datePicker.component-BOsFZiDy.js +0 -15
- package/dist/chunks/datePicker.component-BOsFZiDy.js.map +0 -1
- package/dist/chunks/datePicker.component-Dzh4WccC.js +0 -3019
- package/dist/chunks/datePicker.component-Dzh4WccC.js.map +0 -1
- package/dist/chunks/dialog-BPhjKQkb.js +0 -2
- package/dist/chunks/divider.types-Dht8eAh4.js +0 -2
- package/dist/chunks/divider.types-Dht8eAh4.js.map +0 -1
- package/dist/chunks/divider.types-ZN_wlva7.js +0 -47
- package/dist/chunks/divider.types-ZN_wlva7.js.map +0 -1
- package/dist/chunks/grid-item-DPdTp_nI.js +0 -94
- package/dist/chunks/grid-item-DPdTp_nI.js.map +0 -1
- package/dist/chunks/grid-item-qnuioQmr.js +0 -2
- package/dist/chunks/grid-item-qnuioQmr.js.map +0 -1
- package/dist/chunks/heading.component-C_cdAGTd.js +0 -2
- package/dist/chunks/heading.component-C_cdAGTd.js.map +0 -1
- package/dist/chunks/heading.component-SiJnYLOw.js +0 -12
- package/dist/chunks/heading.component-SiJnYLOw.js.map +0 -1
- package/dist/chunks/icon.component-Bhnf2n1O.js +0 -2
- package/dist/chunks/icon.component-Bhnf2n1O.js.map +0 -1
- package/dist/chunks/icon.component-C5bgxAD2.js +0 -32
- package/dist/chunks/icon.component-C5bgxAD2.js.map +0 -1
- package/dist/chunks/index-2glJ2faJ.js +0 -2
- package/dist/chunks/index-7Jpijbq_.js +0 -3
- package/dist/chunks/index-7Jpijbq_.js.map +0 -1
- package/dist/chunks/index-A_vmTNU7.js +0 -2
- package/dist/chunks/index-BEfEzWJx.js +0 -2
- package/dist/chunks/index-Bm5QBNWR.js +0 -8190
- package/dist/chunks/index-Bm5QBNWR.js.map +0 -1
- package/dist/chunks/index-Cv06PsSJ.js.map +0 -1
- package/dist/chunks/index-DA90Dqf9.js +0 -1362
- package/dist/chunks/index-DA90Dqf9.js.map +0 -1
- package/dist/chunks/index-DAI6_P9H.js +0 -2
- package/dist/chunks/index-DMcwHRZ5.js +0 -11
- package/dist/chunks/index-DMcwHRZ5.js.map +0 -1
- package/dist/chunks/index-jnwdAJ25.js +0 -2
- package/dist/chunks/index-jnwdAJ25.js.map +0 -1
- package/dist/chunks/link.component-CvR5CbiT.js +0 -36
- package/dist/chunks/link.component-CvR5CbiT.js.map +0 -1
- package/dist/chunks/link.component-yUJIJbIP.js +0 -2
- package/dist/chunks/link.component-yUJIJbIP.js.map +0 -1
- package/dist/chunks/logo.types-DF4eLSR9.js +0 -45
- package/dist/chunks/logo.types-DF4eLSR9.js.map +0 -1
- package/dist/chunks/logo.types-Zt-yfFAQ.js +0 -2
- package/dist/chunks/logo.types-Zt-yfFAQ.js.map +0 -1
- package/dist/chunks/menu.component-DylZiPAE.js +0 -2
- package/dist/chunks/menu.component-DylZiPAE.js.map +0 -1
- package/dist/chunks/menu.component-xhHsHlGT.js +0 -599
- package/dist/chunks/menu.component-xhHsHlGT.js.map +0 -1
- package/dist/chunks/modal.types-CBos7aXO.js +0 -2
- package/dist/chunks/modal.types-CBos7aXO.js.map +0 -1
- package/dist/chunks/modal.types-CkQIOPTa.js +0 -95
- package/dist/chunks/modal.types-CkQIOPTa.js.map +0 -1
- package/dist/chunks/notificationCounter.component-Lu4_Owvr.js.map +0 -1
- package/dist/chunks/notificationCounter.component-gp2ULnY_.js +0 -2
- package/dist/chunks/notificationCounter.component-gp2ULnY_.js.map +0 -1
- package/dist/chunks/picture.component-CKK-SMvr.js +0 -22
- package/dist/chunks/picture.component-CKK-SMvr.js.map +0 -1
- package/dist/chunks/picture.component-CR6e0wRG.js +0 -2
- package/dist/chunks/picture.component-CR6e0wRG.js.map +0 -1
- package/dist/chunks/pinInput.types-CcN0aX_i.js +0 -145
- package/dist/chunks/pinInput.types-Cqm1Px5l.js +0 -2
- package/dist/chunks/popover-root-provider-CkW1eCBQ.js +0 -43
- package/dist/chunks/popover-root-provider-ZB5BcrXn.js +0 -2
- package/dist/chunks/popover.component-BjS13k9K.js +0 -2
- package/dist/chunks/popover.component-BjS13k9K.js.map +0 -1
- package/dist/chunks/popover.component-C4WKxh4d.js +0 -196
- package/dist/chunks/popover.component-C4WKxh4d.js.map +0 -1
- package/dist/chunks/popover.recipe-Bx25Jhgs.js +0 -2
- package/dist/chunks/popover.recipe-Bx25Jhgs.js.map +0 -1
- package/dist/chunks/popover.recipe-C2nbfvL6.js +0 -241
- package/dist/chunks/popover.recipe-C2nbfvL6.js.map +0 -1
- package/dist/chunks/popover.types-BF2KRf_I.js +0 -2
- package/dist/chunks/popover.types-BF2KRf_I.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/radioGroup.types-CZA7RcAn.js +0 -2
- package/dist/chunks/radioGroup.types-CZA7RcAn.js.map +0 -1
- package/dist/chunks/radioGroup.types-Dld5lmgo.js +0 -231
- package/dist/chunks/radioGroup.types-Dld5lmgo.js.map +0 -1
- package/dist/chunks/ratingDots.component-DcrCudac.js +0 -2
- package/dist/chunks/ratingDots.component-DcrCudac.js.map +0 -1
- package/dist/chunks/ratingDots.component-G4GMWvFy.js +0 -138
- package/dist/chunks/ratingDots.component-G4GMWvFy.js.map +0 -1
- package/dist/chunks/select.component-BTWHWvZV.js +0 -1058
- package/dist/chunks/select.component-BTWHWvZV.js.map +0 -1
- package/dist/chunks/select.component-Dyc1yQPO.js +0 -2
- package/dist/chunks/select.component-Dyc1yQPO.js.map +0 -1
- package/dist/chunks/spinner-C31ZWQmA.js +0 -8
- package/dist/chunks/spinner.component-CVVOuFka.js +0 -2
- package/dist/chunks/spinner.component-CVVOuFka.js.map +0 -1
- package/dist/chunks/spinner.component-DPYj17HK.js.map +0 -1
- package/dist/chunks/styledAvatar.types-CMpyDxAM.js +0 -2
- package/dist/chunks/styledAvatar.types-CMpyDxAM.js.map +0 -1
- package/dist/chunks/styledAvatar.types-CS07Zk7c.js +0 -51
- package/dist/chunks/styledAvatar.types-CS07Zk7c.js.map +0 -1
- package/dist/chunks/swatch.types-CXlghcLw.js.map +0 -1
- package/dist/chunks/swatch.types-jaI0KFHU.js +0 -2
- package/dist/chunks/swatch.types-jaI0KFHU.js.map +0 -1
- package/dist/chunks/switch.component-C88jBbo_.js +0 -2
- package/dist/chunks/switch.component-Cke7O8gk.js +0 -154
- package/dist/chunks/tab.types-DpmXyw5C.js +0 -2
- package/dist/chunks/tag.component-79aRVI7u.js +0 -82
- package/dist/chunks/tag.component-79aRVI7u.js.map +0 -1
- package/dist/chunks/tag.component-CAWh9OYa.js +0 -2
- package/dist/chunks/tag.component-CAWh9OYa.js.map +0 -1
- package/dist/chunks/tagBlock.component-Dn7coOgp.js +0 -2
- package/dist/chunks/tagBlock.component-Dn7coOgp.js.map +0 -1
- package/dist/chunks/tagBlock.component-vLA90b5S.js +0 -169
- package/dist/chunks/tagBlock.component-vLA90b5S.js.map +0 -1
- package/dist/chunks/text.component-CHpMvCFa.js +0 -2
- package/dist/chunks/text.component-CHpMvCFa.js.map +0 -1
- package/dist/chunks/text.component-D9w-u_dB.js +0 -12
- package/dist/chunks/text.component-D9w-u_dB.js.map +0 -1
- package/dist/chunks/textInput.component-Dpxb2RI-.js +0 -169
- package/dist/chunks/textInput.component-Dpxb2RI-.js.map +0 -1
- package/dist/chunks/textInput.component-Dx_Ktcmr.js +0 -2
- package/dist/chunks/textInput.component-Dx_Ktcmr.js.map +0 -1
- package/dist/chunks/textarea.component-BYexywy1.js +0 -2
- package/dist/chunks/textarea.component-Dk2IMKkr.js +0 -79
- package/dist/chunks/theme.provider-XYBMZJTB.js +0 -28
- package/dist/chunks/theme.provider-XYBMZJTB.js.map +0 -1
- package/dist/chunks/theme.provider-w_I9S10D.js.map +0 -1
- package/dist/chunks/timePicker.component-Bbd3BOA6.js +0 -209
- package/dist/chunks/timePicker.component-Bbd3BOA6.js.map +0 -1
- package/dist/chunks/timePicker.component-DcNgUFGj.js +0 -2
- package/dist/chunks/timePicker.component-DcNgUFGj.js.map +0 -1
- package/dist/chunks/timeRange.component-BBhPc2LP.js +0 -18
- package/dist/chunks/timeRange.component-BBhPc2LP.js.map +0 -1
- package/dist/chunks/timeRange.component-Bb-xDHWT.js +0 -2
- package/dist/chunks/timeRange.component-Bb-xDHWT.js.map +0 -1
- package/dist/chunks/timestamp.component-CrY5t68x.js +0 -2
- package/dist/chunks/timestamp.component-CrY5t68x.js.map +0 -1
- package/dist/chunks/timestamp.component-m0FTjlAi.js +0 -51
- package/dist/chunks/timestamp.component-m0FTjlAi.js.map +0 -1
- package/dist/chunks/toaster.records-eCXbM85Z.js +0 -2
- package/dist/chunks/tooltip.component-CATpCSkf.js +0 -2
- package/dist/chunks/typography.records-CpYV1kns.js.map +0 -1
- package/dist/chunks/typography.records-Dbw3sz4i.js +0 -2
- package/dist/chunks/typography.records-Dbw3sz4i.js.map +0 -1
- package/dist/chunks/use-locale-context-CazVZ4Kg.js +0 -2315
- package/dist/chunks/use-locale-context-CazVZ4Kg.js.map +0 -1
- package/dist/chunks/use-locale-context-Dv7DQ_mn.js +0 -22
- package/dist/chunks/use-locale-context-Dv7DQ_mn.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/withFormControl-BdiccBy5.js +0 -2
- package/dist/chunks/withFormControl-BdiccBy5.js.map +0 -1
- package/dist/chunks/withFormControl-CRXVopOk.js +0 -361
- package/dist/chunks/withFormControl-CRXVopOk.js.map +0 -1
- package/dist/chunks/withTruncation-C9XLf_j6.js +0 -67
- package/dist/chunks/withTruncation-C9XLf_j6.js.map +0 -1
- package/dist/chunks/withTruncation-Ddr3jvAO.js +0 -2
- package/dist/chunks/withTruncation-Ddr3jvAO.js.map +0 -1
- package/dist/types/components/Menu/components/MenuButton/menuButton.components.d.ts +0 -9
- package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.d.ts +0 -10
- package/dist/types/shared/utils/argTypes.d.ts +0 -6
|
@@ -0,0 +1,1584 @@
|
|
|
1
|
+
import { j as it } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { ac as Kt, M as Gt, n as Jt, ak as Qt, b2 as Zt, r as pt, z as $t, K as te, b3 as ee, f as ne, b4 as oe, am as ie, L as re, al as se } from "./index-fHSGm2nC.js";
|
|
3
|
+
import { useState as ce, useSyncExternalStore as ae, useEffect as le, Children as fe, useCallback as ue, useRef as zt } from "react";
|
|
4
|
+
import { u as de, r as me, a as pe, b as ge, c as he, g as xe } from "./use-locale-context-Bw4Gg9Z0.js";
|
|
5
|
+
const Yn = (t) => {
|
|
6
|
+
const { children: e, disabled: n } = t, [o, i] = ce(t.container?.current), r = ae(
|
|
7
|
+
we,
|
|
8
|
+
() => !1,
|
|
9
|
+
() => !0
|
|
10
|
+
), { getRootNode: s } = de();
|
|
11
|
+
if (le(() => {
|
|
12
|
+
i(() => t.container?.current);
|
|
13
|
+
}, [t.container]), r || n) return /* @__PURE__ */ it.jsx(it.Fragment, { children: e });
|
|
14
|
+
const c = o ?? ye(s);
|
|
15
|
+
return /* @__PURE__ */ it.jsx(it.Fragment, { children: fe.map(e, (a) => me.createPortal(a, c)) });
|
|
16
|
+
}, ye = (t) => {
|
|
17
|
+
const e = t?.(), n = e.getRootNode();
|
|
18
|
+
return Kt(n) ? n : Gt(e).body;
|
|
19
|
+
}, we = () => () => {
|
|
20
|
+
}, [qn, Xn] = pe({
|
|
21
|
+
name: "PresenceContext",
|
|
22
|
+
hookName: "usePresenceContext",
|
|
23
|
+
providerName: "<PresenceProvider />"
|
|
24
|
+
}), Kn = (t) => ge()(t, [
|
|
25
|
+
"immediate",
|
|
26
|
+
"lazyMount",
|
|
27
|
+
"onExitComplete",
|
|
28
|
+
"present",
|
|
29
|
+
"skipAnimationOnMount",
|
|
30
|
+
"unmountOnExit"
|
|
31
|
+
]);
|
|
32
|
+
function ve(t, e) {
|
|
33
|
+
const { state: n, send: o, context: i } = t, r = n.matches("mounted", "unmountSuspended");
|
|
34
|
+
return {
|
|
35
|
+
skip: !i.get("initial"),
|
|
36
|
+
present: r,
|
|
37
|
+
setNode(s) {
|
|
38
|
+
s && o({ type: "NODE.SET", node: s });
|
|
39
|
+
},
|
|
40
|
+
unmount() {
|
|
41
|
+
o({ type: "UNMOUNT" });
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
var be = Jt({
|
|
46
|
+
props({ props: t }) {
|
|
47
|
+
return { ...t, present: !!t.present };
|
|
48
|
+
},
|
|
49
|
+
initialState({ prop: t }) {
|
|
50
|
+
return t("present") ? "mounted" : "unmounted";
|
|
51
|
+
},
|
|
52
|
+
refs() {
|
|
53
|
+
return {
|
|
54
|
+
node: null,
|
|
55
|
+
styles: null
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
context({ bindable: t }) {
|
|
59
|
+
return {
|
|
60
|
+
unmountAnimationName: t(() => ({ defaultValue: null })),
|
|
61
|
+
prevAnimationName: t(() => ({ defaultValue: null })),
|
|
62
|
+
present: t(() => ({ defaultValue: !1 })),
|
|
63
|
+
initial: t(() => ({
|
|
64
|
+
sync: !0,
|
|
65
|
+
defaultValue: !1
|
|
66
|
+
}))
|
|
67
|
+
};
|
|
68
|
+
},
|
|
69
|
+
exit: ["clearInitial", "cleanupNode"],
|
|
70
|
+
watch({ track: t, action: e, prop: n }) {
|
|
71
|
+
t([() => n("present")], () => {
|
|
72
|
+
e(["setInitial", "syncPresence"]);
|
|
73
|
+
});
|
|
74
|
+
},
|
|
75
|
+
on: {
|
|
76
|
+
"NODE.SET": {
|
|
77
|
+
actions: ["setNode", "setStyles"]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
states: {
|
|
81
|
+
mounted: {
|
|
82
|
+
on: {
|
|
83
|
+
UNMOUNT: {
|
|
84
|
+
target: "unmounted",
|
|
85
|
+
actions: ["clearPrevAnimationName", "invokeOnExitComplete"]
|
|
86
|
+
},
|
|
87
|
+
"UNMOUNT.SUSPEND": {
|
|
88
|
+
target: "unmountSuspended"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
unmountSuspended: {
|
|
93
|
+
effects: ["trackAnimationEvents"],
|
|
94
|
+
on: {
|
|
95
|
+
MOUNT: {
|
|
96
|
+
target: "mounted",
|
|
97
|
+
actions: ["setPrevAnimationName"]
|
|
98
|
+
},
|
|
99
|
+
UNMOUNT: {
|
|
100
|
+
target: "unmounted",
|
|
101
|
+
actions: ["clearPrevAnimationName", "invokeOnExitComplete"]
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
unmounted: {
|
|
106
|
+
on: {
|
|
107
|
+
MOUNT: {
|
|
108
|
+
target: "mounted",
|
|
109
|
+
actions: ["setPrevAnimationName"]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
implementations: {
|
|
115
|
+
actions: {
|
|
116
|
+
setInitial: ({ context: t }) => {
|
|
117
|
+
t.get("initial") || queueMicrotask(() => {
|
|
118
|
+
t.set("initial", !0);
|
|
119
|
+
});
|
|
120
|
+
},
|
|
121
|
+
clearInitial: ({ context: t }) => {
|
|
122
|
+
t.set("initial", !1);
|
|
123
|
+
},
|
|
124
|
+
cleanupNode: ({ refs: t }) => {
|
|
125
|
+
t.set("node", null), t.set("styles", null);
|
|
126
|
+
},
|
|
127
|
+
invokeOnExitComplete: ({ prop: t }) => {
|
|
128
|
+
t("onExitComplete")?.();
|
|
129
|
+
},
|
|
130
|
+
setNode: ({ refs: t, event: e }) => {
|
|
131
|
+
t.set("node", e.node);
|
|
132
|
+
},
|
|
133
|
+
setStyles: ({ refs: t, event: e }) => {
|
|
134
|
+
t.set("styles", $t(e.node));
|
|
135
|
+
},
|
|
136
|
+
syncPresence: ({ context: t, refs: e, send: n, prop: o }) => {
|
|
137
|
+
const i = o("present");
|
|
138
|
+
if (i)
|
|
139
|
+
return n({ type: "MOUNT", src: "presence.changed" });
|
|
140
|
+
const r = e.get("node");
|
|
141
|
+
if (!i && r?.ownerDocument.visibilityState === "hidden")
|
|
142
|
+
return n({ type: "UNMOUNT", src: "visibilitychange" });
|
|
143
|
+
pt(() => {
|
|
144
|
+
const s = rt(e.get("styles"));
|
|
145
|
+
t.set("unmountAnimationName", s), s === "none" || s === t.get("prevAnimationName") || e.get("styles")?.display === "none" || e.get("styles")?.animationDuration === "0s" ? n({ type: "UNMOUNT", src: "presence.changed" }) : n({ type: "UNMOUNT.SUSPEND" });
|
|
146
|
+
});
|
|
147
|
+
},
|
|
148
|
+
setPrevAnimationName: ({ context: t, refs: e }) => {
|
|
149
|
+
pt(() => {
|
|
150
|
+
t.set("prevAnimationName", rt(e.get("styles")));
|
|
151
|
+
});
|
|
152
|
+
},
|
|
153
|
+
clearPrevAnimationName: ({ context: t }) => {
|
|
154
|
+
t.set("prevAnimationName", null);
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
effects: {
|
|
158
|
+
trackAnimationEvents: ({ context: t, refs: e, send: n }) => {
|
|
159
|
+
const o = e.get("node");
|
|
160
|
+
if (!o) return;
|
|
161
|
+
const i = (c) => {
|
|
162
|
+
(c.composedPath?.()?.[0] ?? c.target) === o && t.set("prevAnimationName", rt(e.get("styles")));
|
|
163
|
+
}, r = (c) => {
|
|
164
|
+
const a = rt(e.get("styles"));
|
|
165
|
+
te(c) === o && a === t.get("unmountAnimationName") && n({ type: "UNMOUNT", src: "animationend" });
|
|
166
|
+
};
|
|
167
|
+
o.addEventListener("animationstart", i), o.addEventListener("animationcancel", r), o.addEventListener("animationend", r);
|
|
168
|
+
const s = Qt(o, { animationFillMode: "forwards" });
|
|
169
|
+
return () => {
|
|
170
|
+
o.removeEventListener("animationstart", i), o.removeEventListener("animationcancel", r), o.removeEventListener("animationend", r), Zt(() => s());
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
function rt(t) {
|
|
177
|
+
return t?.animationName || "none";
|
|
178
|
+
}
|
|
179
|
+
he()(["onExitComplete", "present", "immediate"]);
|
|
180
|
+
function Ae(t, e = {}) {
|
|
181
|
+
const { sync: n = !1 } = e, o = Oe(t);
|
|
182
|
+
return ue(
|
|
183
|
+
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
|
|
184
|
+
(...i) => n ? queueMicrotask(() => o.current?.(...i)) : o.current?.(...i),
|
|
185
|
+
[n, o]
|
|
186
|
+
);
|
|
187
|
+
}
|
|
188
|
+
function Oe(t) {
|
|
189
|
+
const e = zt(t);
|
|
190
|
+
return e.current = t, e;
|
|
191
|
+
}
|
|
192
|
+
const Gn = (t = {}) => {
|
|
193
|
+
const { lazyMount: e, unmountOnExit: n, present: o, skipAnimationOnMount: i = !1, ...r } = t, s = zt(!1), c = {
|
|
194
|
+
...r,
|
|
195
|
+
present: o,
|
|
196
|
+
onExitComplete: Ae(t.onExitComplete)
|
|
197
|
+
}, a = xe(be, c), l = ve(a);
|
|
198
|
+
l.present && (s.current = !0);
|
|
199
|
+
const d = !l.present && !s.current && e || n && !l.present && s.current, f = () => ({
|
|
200
|
+
"data-state": l.skip && i ? void 0 : o ? "open" : "closed",
|
|
201
|
+
hidden: !l.present
|
|
202
|
+
});
|
|
203
|
+
return {
|
|
204
|
+
ref: l.setNode,
|
|
205
|
+
getPresenceProps: f,
|
|
206
|
+
present: l.present,
|
|
207
|
+
unmounted: d
|
|
208
|
+
};
|
|
209
|
+
}, Pe = ["top", "right", "bottom", "left"], Y = Math.min, S = Math.max, ct = Math.round, st = Math.floor, $ = (t) => ({
|
|
210
|
+
x: t,
|
|
211
|
+
y: t
|
|
212
|
+
}), Se = {
|
|
213
|
+
left: "right",
|
|
214
|
+
right: "left",
|
|
215
|
+
bottom: "top",
|
|
216
|
+
top: "bottom"
|
|
217
|
+
}, Ee = {
|
|
218
|
+
start: "end",
|
|
219
|
+
end: "start"
|
|
220
|
+
};
|
|
221
|
+
function gt(t, e, n) {
|
|
222
|
+
return S(t, Y(e, n));
|
|
223
|
+
}
|
|
224
|
+
function B(t, e) {
|
|
225
|
+
return typeof t == "function" ? t(e) : t;
|
|
226
|
+
}
|
|
227
|
+
function U(t) {
|
|
228
|
+
return t.split("-")[0];
|
|
229
|
+
}
|
|
230
|
+
function Q(t) {
|
|
231
|
+
return t.split("-")[1];
|
|
232
|
+
}
|
|
233
|
+
function yt(t) {
|
|
234
|
+
return t === "x" ? "y" : "x";
|
|
235
|
+
}
|
|
236
|
+
function wt(t) {
|
|
237
|
+
return t === "y" ? "height" : "width";
|
|
238
|
+
}
|
|
239
|
+
const Re = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
240
|
+
function k(t) {
|
|
241
|
+
return Re.has(U(t)) ? "y" : "x";
|
|
242
|
+
}
|
|
243
|
+
function vt(t) {
|
|
244
|
+
return yt(k(t));
|
|
245
|
+
}
|
|
246
|
+
function Ce(t, e, n) {
|
|
247
|
+
n === void 0 && (n = !1);
|
|
248
|
+
const o = Q(t), i = vt(t), r = wt(i);
|
|
249
|
+
let s = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
|
|
250
|
+
return e.reference[r] > e.floating[r] && (s = at(s)), [s, at(s)];
|
|
251
|
+
}
|
|
252
|
+
function Ne(t) {
|
|
253
|
+
const e = at(t);
|
|
254
|
+
return [ht(t), e, ht(e)];
|
|
255
|
+
}
|
|
256
|
+
function ht(t) {
|
|
257
|
+
return t.replace(/start|end/g, (e) => Ee[e]);
|
|
258
|
+
}
|
|
259
|
+
const St = ["left", "right"], Et = ["right", "left"], Me = ["top", "bottom"], Te = ["bottom", "top"];
|
|
260
|
+
function De(t, e, n) {
|
|
261
|
+
switch (t) {
|
|
262
|
+
case "top":
|
|
263
|
+
case "bottom":
|
|
264
|
+
return n ? e ? Et : St : e ? St : Et;
|
|
265
|
+
case "left":
|
|
266
|
+
case "right":
|
|
267
|
+
return e ? Me : Te;
|
|
268
|
+
default:
|
|
269
|
+
return [];
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
function Le(t, e, n, o) {
|
|
273
|
+
const i = Q(t);
|
|
274
|
+
let r = De(U(t), n === "start", o);
|
|
275
|
+
return i && (r = r.map((s) => s + "-" + i), e && (r = r.concat(r.map(ht)))), r;
|
|
276
|
+
}
|
|
277
|
+
function at(t) {
|
|
278
|
+
return t.replace(/left|right|bottom|top/g, (e) => Se[e]);
|
|
279
|
+
}
|
|
280
|
+
function ke(t) {
|
|
281
|
+
return {
|
|
282
|
+
top: 0,
|
|
283
|
+
right: 0,
|
|
284
|
+
bottom: 0,
|
|
285
|
+
left: 0,
|
|
286
|
+
...t
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
function Ft(t) {
|
|
290
|
+
return typeof t != "number" ? ke(t) : {
|
|
291
|
+
top: t,
|
|
292
|
+
right: t,
|
|
293
|
+
bottom: t,
|
|
294
|
+
left: t
|
|
295
|
+
};
|
|
296
|
+
}
|
|
297
|
+
function lt(t) {
|
|
298
|
+
const {
|
|
299
|
+
x: e,
|
|
300
|
+
y: n,
|
|
301
|
+
width: o,
|
|
302
|
+
height: i
|
|
303
|
+
} = t;
|
|
304
|
+
return {
|
|
305
|
+
width: o,
|
|
306
|
+
height: i,
|
|
307
|
+
top: n,
|
|
308
|
+
left: e,
|
|
309
|
+
right: e + o,
|
|
310
|
+
bottom: n + i,
|
|
311
|
+
x: e,
|
|
312
|
+
y: n
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
function Rt(t, e, n) {
|
|
316
|
+
let {
|
|
317
|
+
reference: o,
|
|
318
|
+
floating: i
|
|
319
|
+
} = t;
|
|
320
|
+
const r = k(e), s = vt(e), c = wt(s), a = U(e), l = r === "y", d = o.x + o.width / 2 - i.width / 2, f = o.y + o.height / 2 - i.height / 2, m = o[c] / 2 - i[c] / 2;
|
|
321
|
+
let u;
|
|
322
|
+
switch (a) {
|
|
323
|
+
case "top":
|
|
324
|
+
u = {
|
|
325
|
+
x: d,
|
|
326
|
+
y: o.y - i.height
|
|
327
|
+
};
|
|
328
|
+
break;
|
|
329
|
+
case "bottom":
|
|
330
|
+
u = {
|
|
331
|
+
x: d,
|
|
332
|
+
y: o.y + o.height
|
|
333
|
+
};
|
|
334
|
+
break;
|
|
335
|
+
case "right":
|
|
336
|
+
u = {
|
|
337
|
+
x: o.x + o.width,
|
|
338
|
+
y: f
|
|
339
|
+
};
|
|
340
|
+
break;
|
|
341
|
+
case "left":
|
|
342
|
+
u = {
|
|
343
|
+
x: o.x - i.width,
|
|
344
|
+
y: f
|
|
345
|
+
};
|
|
346
|
+
break;
|
|
347
|
+
default:
|
|
348
|
+
u = {
|
|
349
|
+
x: o.x,
|
|
350
|
+
y: o.y
|
|
351
|
+
};
|
|
352
|
+
}
|
|
353
|
+
switch (Q(e)) {
|
|
354
|
+
case "start":
|
|
355
|
+
u[s] -= m * (n && l ? -1 : 1);
|
|
356
|
+
break;
|
|
357
|
+
case "end":
|
|
358
|
+
u[s] += m * (n && l ? -1 : 1);
|
|
359
|
+
break;
|
|
360
|
+
}
|
|
361
|
+
return u;
|
|
362
|
+
}
|
|
363
|
+
const $e = async (t, e, n) => {
|
|
364
|
+
const {
|
|
365
|
+
placement: o = "bottom",
|
|
366
|
+
strategy: i = "absolute",
|
|
367
|
+
middleware: r = [],
|
|
368
|
+
platform: s
|
|
369
|
+
} = n, c = r.filter(Boolean), a = await (s.isRTL == null ? void 0 : s.isRTL(e));
|
|
370
|
+
let l = await s.getElementRects({
|
|
371
|
+
reference: t,
|
|
372
|
+
floating: e,
|
|
373
|
+
strategy: i
|
|
374
|
+
}), {
|
|
375
|
+
x: d,
|
|
376
|
+
y: f
|
|
377
|
+
} = Rt(l, o, a), m = o, u = {}, p = 0;
|
|
378
|
+
for (let g = 0; g < c.length; g++) {
|
|
379
|
+
const {
|
|
380
|
+
name: h,
|
|
381
|
+
fn: x
|
|
382
|
+
} = c[g], {
|
|
383
|
+
x: y,
|
|
384
|
+
y: w,
|
|
385
|
+
data: v,
|
|
386
|
+
reset: b
|
|
387
|
+
} = await x({
|
|
388
|
+
x: d,
|
|
389
|
+
y: f,
|
|
390
|
+
initialPlacement: o,
|
|
391
|
+
placement: m,
|
|
392
|
+
strategy: i,
|
|
393
|
+
middlewareData: u,
|
|
394
|
+
rects: l,
|
|
395
|
+
platform: s,
|
|
396
|
+
elements: {
|
|
397
|
+
reference: t,
|
|
398
|
+
floating: e
|
|
399
|
+
}
|
|
400
|
+
});
|
|
401
|
+
d = y ?? d, f = w ?? f, u = {
|
|
402
|
+
...u,
|
|
403
|
+
[h]: {
|
|
404
|
+
...u[h],
|
|
405
|
+
...v
|
|
406
|
+
}
|
|
407
|
+
}, b && p <= 50 && (p++, typeof b == "object" && (b.placement && (m = b.placement), b.rects && (l = b.rects === !0 ? await s.getElementRects({
|
|
408
|
+
reference: t,
|
|
409
|
+
floating: e,
|
|
410
|
+
strategy: i
|
|
411
|
+
}) : b.rects), {
|
|
412
|
+
x: d,
|
|
413
|
+
y: f
|
|
414
|
+
} = Rt(l, m, a)), g = -1);
|
|
415
|
+
}
|
|
416
|
+
return {
|
|
417
|
+
x: d,
|
|
418
|
+
y: f,
|
|
419
|
+
placement: m,
|
|
420
|
+
strategy: i,
|
|
421
|
+
middlewareData: u
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
async function et(t, e) {
|
|
425
|
+
var n;
|
|
426
|
+
e === void 0 && (e = {});
|
|
427
|
+
const {
|
|
428
|
+
x: o,
|
|
429
|
+
y: i,
|
|
430
|
+
platform: r,
|
|
431
|
+
rects: s,
|
|
432
|
+
elements: c,
|
|
433
|
+
strategy: a
|
|
434
|
+
} = t, {
|
|
435
|
+
boundary: l = "clippingAncestors",
|
|
436
|
+
rootBoundary: d = "viewport",
|
|
437
|
+
elementContext: f = "floating",
|
|
438
|
+
altBoundary: m = !1,
|
|
439
|
+
padding: u = 0
|
|
440
|
+
} = B(e, t), p = Ft(u), h = c[m ? f === "floating" ? "reference" : "floating" : f], x = lt(await r.getClippingRect({
|
|
441
|
+
element: (n = await (r.isElement == null ? void 0 : r.isElement(h))) == null || n ? h : h.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(c.floating)),
|
|
442
|
+
boundary: l,
|
|
443
|
+
rootBoundary: d,
|
|
444
|
+
strategy: a
|
|
445
|
+
})), y = f === "floating" ? {
|
|
446
|
+
x: o,
|
|
447
|
+
y: i,
|
|
448
|
+
width: s.floating.width,
|
|
449
|
+
height: s.floating.height
|
|
450
|
+
} : s.reference, w = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c.floating)), v = await (r.isElement == null ? void 0 : r.isElement(w)) ? await (r.getScale == null ? void 0 : r.getScale(w)) || {
|
|
451
|
+
x: 1,
|
|
452
|
+
y: 1
|
|
453
|
+
} : {
|
|
454
|
+
x: 1,
|
|
455
|
+
y: 1
|
|
456
|
+
}, b = lt(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
457
|
+
elements: c,
|
|
458
|
+
rect: y,
|
|
459
|
+
offsetParent: w,
|
|
460
|
+
strategy: a
|
|
461
|
+
}) : y);
|
|
462
|
+
return {
|
|
463
|
+
top: (x.top - b.top + p.top) / v.y,
|
|
464
|
+
bottom: (b.bottom - x.bottom + p.bottom) / v.y,
|
|
465
|
+
left: (x.left - b.left + p.left) / v.x,
|
|
466
|
+
right: (b.right - x.right + p.right) / v.x
|
|
467
|
+
};
|
|
468
|
+
}
|
|
469
|
+
const ze = (t) => ({
|
|
470
|
+
name: "arrow",
|
|
471
|
+
options: t,
|
|
472
|
+
async fn(e) {
|
|
473
|
+
const {
|
|
474
|
+
x: n,
|
|
475
|
+
y: o,
|
|
476
|
+
placement: i,
|
|
477
|
+
rects: r,
|
|
478
|
+
platform: s,
|
|
479
|
+
elements: c,
|
|
480
|
+
middlewareData: a
|
|
481
|
+
} = e, {
|
|
482
|
+
element: l,
|
|
483
|
+
padding: d = 0
|
|
484
|
+
} = B(t, e) || {};
|
|
485
|
+
if (l == null)
|
|
486
|
+
return {};
|
|
487
|
+
const f = Ft(d), m = {
|
|
488
|
+
x: n,
|
|
489
|
+
y: o
|
|
490
|
+
}, u = vt(i), p = wt(u), g = await s.getDimensions(l), h = u === "y", x = h ? "top" : "left", y = h ? "bottom" : "right", w = h ? "clientHeight" : "clientWidth", v = r.reference[p] + r.reference[u] - m[u] - r.floating[p], b = m[u] - r.reference[u], P = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l));
|
|
491
|
+
let A = P ? P[w] : 0;
|
|
492
|
+
(!A || !await (s.isElement == null ? void 0 : s.isElement(P))) && (A = c.floating[w] || r.floating[p]);
|
|
493
|
+
const W = v / 2 - b / 2, D = A / 2 - g[p] / 2 - 1, R = Y(f[x], D), I = Y(f[y], D), L = R, _ = A - g[p] - I, O = A / 2 - g[p] / 2 + W, X = gt(L, O, _), H = !a.arrow && Q(i) != null && O !== X && r.reference[p] / 2 - (O < L ? R : I) - g[p] / 2 < 0, C = H ? O < L ? O - L : O - _ : 0;
|
|
494
|
+
return {
|
|
495
|
+
[u]: m[u] + C,
|
|
496
|
+
data: {
|
|
497
|
+
[u]: X,
|
|
498
|
+
centerOffset: O - X - C,
|
|
499
|
+
...H && {
|
|
500
|
+
alignmentOffset: C
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
reset: H
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
}), Fe = function(t) {
|
|
507
|
+
return t === void 0 && (t = {}), {
|
|
508
|
+
name: "flip",
|
|
509
|
+
options: t,
|
|
510
|
+
async fn(e) {
|
|
511
|
+
var n, o;
|
|
512
|
+
const {
|
|
513
|
+
placement: i,
|
|
514
|
+
middlewareData: r,
|
|
515
|
+
rects: s,
|
|
516
|
+
initialPlacement: c,
|
|
517
|
+
platform: a,
|
|
518
|
+
elements: l
|
|
519
|
+
} = e, {
|
|
520
|
+
mainAxis: d = !0,
|
|
521
|
+
crossAxis: f = !0,
|
|
522
|
+
fallbackPlacements: m,
|
|
523
|
+
fallbackStrategy: u = "bestFit",
|
|
524
|
+
fallbackAxisSideDirection: p = "none",
|
|
525
|
+
flipAlignment: g = !0,
|
|
526
|
+
...h
|
|
527
|
+
} = B(t, e);
|
|
528
|
+
if ((n = r.arrow) != null && n.alignmentOffset)
|
|
529
|
+
return {};
|
|
530
|
+
const x = U(i), y = k(c), w = U(c) === c, v = await (a.isRTL == null ? void 0 : a.isRTL(l.floating)), b = m || (w || !g ? [at(c)] : Ne(c)), P = p !== "none";
|
|
531
|
+
!m && P && b.push(...Le(c, g, p, v));
|
|
532
|
+
const A = [c, ...b], W = await et(e, h), D = [];
|
|
533
|
+
let R = ((o = r.flip) == null ? void 0 : o.overflows) || [];
|
|
534
|
+
if (d && D.push(W[x]), f) {
|
|
535
|
+
const O = Ce(i, s, v);
|
|
536
|
+
D.push(W[O[0]], W[O[1]]);
|
|
537
|
+
}
|
|
538
|
+
if (R = [...R, {
|
|
539
|
+
placement: i,
|
|
540
|
+
overflows: D
|
|
541
|
+
}], !D.every((O) => O <= 0)) {
|
|
542
|
+
var I, L;
|
|
543
|
+
const O = (((I = r.flip) == null ? void 0 : I.index) || 0) + 1, X = A[O];
|
|
544
|
+
if (X && (!(f === "alignment" ? y !== k(X) : !1) || // We leave the current main axis only if every placement on that axis
|
|
545
|
+
// overflows the main axis.
|
|
546
|
+
R.every((N) => k(N.placement) === y ? N.overflows[0] > 0 : !0)))
|
|
547
|
+
return {
|
|
548
|
+
data: {
|
|
549
|
+
index: O,
|
|
550
|
+
overflows: R
|
|
551
|
+
},
|
|
552
|
+
reset: {
|
|
553
|
+
placement: X
|
|
554
|
+
}
|
|
555
|
+
};
|
|
556
|
+
let H = (L = R.filter((C) => C.overflows[0] <= 0).sort((C, N) => C.overflows[1] - N.overflows[1])[0]) == null ? void 0 : L.placement;
|
|
557
|
+
if (!H)
|
|
558
|
+
switch (u) {
|
|
559
|
+
case "bestFit": {
|
|
560
|
+
var _;
|
|
561
|
+
const C = (_ = R.filter((N) => {
|
|
562
|
+
if (P) {
|
|
563
|
+
const j = k(N.placement);
|
|
564
|
+
return j === y || // Create a bias to the `y` side axis due to horizontal
|
|
565
|
+
// reading directions favoring greater width.
|
|
566
|
+
j === "y";
|
|
567
|
+
}
|
|
568
|
+
return !0;
|
|
569
|
+
}).map((N) => [N.placement, N.overflows.filter((j) => j > 0).reduce((j, Xt) => j + Xt, 0)]).sort((N, j) => N[1] - j[1])[0]) == null ? void 0 : _[0];
|
|
570
|
+
C && (H = C);
|
|
571
|
+
break;
|
|
572
|
+
}
|
|
573
|
+
case "initialPlacement":
|
|
574
|
+
H = c;
|
|
575
|
+
break;
|
|
576
|
+
}
|
|
577
|
+
if (i !== H)
|
|
578
|
+
return {
|
|
579
|
+
reset: {
|
|
580
|
+
placement: H
|
|
581
|
+
}
|
|
582
|
+
};
|
|
583
|
+
}
|
|
584
|
+
return {};
|
|
585
|
+
}
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
function Ct(t, e) {
|
|
589
|
+
return {
|
|
590
|
+
top: t.top - e.height,
|
|
591
|
+
right: t.right - e.width,
|
|
592
|
+
bottom: t.bottom - e.height,
|
|
593
|
+
left: t.left - e.width
|
|
594
|
+
};
|
|
595
|
+
}
|
|
596
|
+
function Nt(t) {
|
|
597
|
+
return Pe.some((e) => t[e] >= 0);
|
|
598
|
+
}
|
|
599
|
+
const We = function(t) {
|
|
600
|
+
return t === void 0 && (t = {}), {
|
|
601
|
+
name: "hide",
|
|
602
|
+
options: t,
|
|
603
|
+
async fn(e) {
|
|
604
|
+
const {
|
|
605
|
+
rects: n
|
|
606
|
+
} = e, {
|
|
607
|
+
strategy: o = "referenceHidden",
|
|
608
|
+
...i
|
|
609
|
+
} = B(t, e);
|
|
610
|
+
switch (o) {
|
|
611
|
+
case "referenceHidden": {
|
|
612
|
+
const r = await et(e, {
|
|
613
|
+
...i,
|
|
614
|
+
elementContext: "reference"
|
|
615
|
+
}), s = Ct(r, n.reference);
|
|
616
|
+
return {
|
|
617
|
+
data: {
|
|
618
|
+
referenceHiddenOffsets: s,
|
|
619
|
+
referenceHidden: Nt(s)
|
|
620
|
+
}
|
|
621
|
+
};
|
|
622
|
+
}
|
|
623
|
+
case "escaped": {
|
|
624
|
+
const r = await et(e, {
|
|
625
|
+
...i,
|
|
626
|
+
altBoundary: !0
|
|
627
|
+
}), s = Ct(r, n.floating);
|
|
628
|
+
return {
|
|
629
|
+
data: {
|
|
630
|
+
escapedOffsets: s,
|
|
631
|
+
escaped: Nt(s)
|
|
632
|
+
}
|
|
633
|
+
};
|
|
634
|
+
}
|
|
635
|
+
default:
|
|
636
|
+
return {};
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
};
|
|
640
|
+
}, Wt = /* @__PURE__ */ new Set(["left", "top"]);
|
|
641
|
+
async function He(t, e) {
|
|
642
|
+
const {
|
|
643
|
+
placement: n,
|
|
644
|
+
platform: o,
|
|
645
|
+
elements: i
|
|
646
|
+
} = t, r = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), s = U(n), c = Q(n), a = k(n) === "y", l = Wt.has(s) ? -1 : 1, d = r && a ? -1 : 1, f = B(e, t);
|
|
647
|
+
let {
|
|
648
|
+
mainAxis: m,
|
|
649
|
+
crossAxis: u,
|
|
650
|
+
alignmentAxis: p
|
|
651
|
+
} = typeof f == "number" ? {
|
|
652
|
+
mainAxis: f,
|
|
653
|
+
crossAxis: 0,
|
|
654
|
+
alignmentAxis: null
|
|
655
|
+
} : {
|
|
656
|
+
mainAxis: f.mainAxis || 0,
|
|
657
|
+
crossAxis: f.crossAxis || 0,
|
|
658
|
+
alignmentAxis: f.alignmentAxis
|
|
659
|
+
};
|
|
660
|
+
return c && typeof p == "number" && (u = c === "end" ? p * -1 : p), a ? {
|
|
661
|
+
x: u * d,
|
|
662
|
+
y: m * l
|
|
663
|
+
} : {
|
|
664
|
+
x: m * l,
|
|
665
|
+
y: u * d
|
|
666
|
+
};
|
|
667
|
+
}
|
|
668
|
+
const Ve = function(t) {
|
|
669
|
+
return t === void 0 && (t = 0), {
|
|
670
|
+
name: "offset",
|
|
671
|
+
options: t,
|
|
672
|
+
async fn(e) {
|
|
673
|
+
var n, o;
|
|
674
|
+
const {
|
|
675
|
+
x: i,
|
|
676
|
+
y: r,
|
|
677
|
+
placement: s,
|
|
678
|
+
middlewareData: c
|
|
679
|
+
} = e, a = await He(e, t);
|
|
680
|
+
return s === ((n = c.offset) == null ? void 0 : n.placement) && (o = c.arrow) != null && o.alignmentOffset ? {} : {
|
|
681
|
+
x: i + a.x,
|
|
682
|
+
y: r + a.y,
|
|
683
|
+
data: {
|
|
684
|
+
...a,
|
|
685
|
+
placement: s
|
|
686
|
+
}
|
|
687
|
+
};
|
|
688
|
+
}
|
|
689
|
+
};
|
|
690
|
+
}, Be = function(t) {
|
|
691
|
+
return t === void 0 && (t = {}), {
|
|
692
|
+
name: "shift",
|
|
693
|
+
options: t,
|
|
694
|
+
async fn(e) {
|
|
695
|
+
const {
|
|
696
|
+
x: n,
|
|
697
|
+
y: o,
|
|
698
|
+
placement: i
|
|
699
|
+
} = e, {
|
|
700
|
+
mainAxis: r = !0,
|
|
701
|
+
crossAxis: s = !1,
|
|
702
|
+
limiter: c = {
|
|
703
|
+
fn: (h) => {
|
|
704
|
+
let {
|
|
705
|
+
x,
|
|
706
|
+
y
|
|
707
|
+
} = h;
|
|
708
|
+
return {
|
|
709
|
+
x,
|
|
710
|
+
y
|
|
711
|
+
};
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
...a
|
|
715
|
+
} = B(t, e), l = {
|
|
716
|
+
x: n,
|
|
717
|
+
y: o
|
|
718
|
+
}, d = await et(e, a), f = k(U(i)), m = yt(f);
|
|
719
|
+
let u = l[m], p = l[f];
|
|
720
|
+
if (r) {
|
|
721
|
+
const h = m === "y" ? "top" : "left", x = m === "y" ? "bottom" : "right", y = u + d[h], w = u - d[x];
|
|
722
|
+
u = gt(y, u, w);
|
|
723
|
+
}
|
|
724
|
+
if (s) {
|
|
725
|
+
const h = f === "y" ? "top" : "left", x = f === "y" ? "bottom" : "right", y = p + d[h], w = p - d[x];
|
|
726
|
+
p = gt(y, p, w);
|
|
727
|
+
}
|
|
728
|
+
const g = c.fn({
|
|
729
|
+
...e,
|
|
730
|
+
[m]: u,
|
|
731
|
+
[f]: p
|
|
732
|
+
});
|
|
733
|
+
return {
|
|
734
|
+
...g,
|
|
735
|
+
data: {
|
|
736
|
+
x: g.x - n,
|
|
737
|
+
y: g.y - o,
|
|
738
|
+
enabled: {
|
|
739
|
+
[m]: r,
|
|
740
|
+
[f]: s
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
};
|
|
744
|
+
}
|
|
745
|
+
};
|
|
746
|
+
}, Ue = function(t) {
|
|
747
|
+
return t === void 0 && (t = {}), {
|
|
748
|
+
options: t,
|
|
749
|
+
fn(e) {
|
|
750
|
+
const {
|
|
751
|
+
x: n,
|
|
752
|
+
y: o,
|
|
753
|
+
placement: i,
|
|
754
|
+
rects: r,
|
|
755
|
+
middlewareData: s
|
|
756
|
+
} = e, {
|
|
757
|
+
offset: c = 0,
|
|
758
|
+
mainAxis: a = !0,
|
|
759
|
+
crossAxis: l = !0
|
|
760
|
+
} = B(t, e), d = {
|
|
761
|
+
x: n,
|
|
762
|
+
y: o
|
|
763
|
+
}, f = k(i), m = yt(f);
|
|
764
|
+
let u = d[m], p = d[f];
|
|
765
|
+
const g = B(c, e), h = typeof g == "number" ? {
|
|
766
|
+
mainAxis: g,
|
|
767
|
+
crossAxis: 0
|
|
768
|
+
} : {
|
|
769
|
+
mainAxis: 0,
|
|
770
|
+
crossAxis: 0,
|
|
771
|
+
...g
|
|
772
|
+
};
|
|
773
|
+
if (a) {
|
|
774
|
+
const w = m === "y" ? "height" : "width", v = r.reference[m] - r.floating[w] + h.mainAxis, b = r.reference[m] + r.reference[w] - h.mainAxis;
|
|
775
|
+
u < v ? u = v : u > b && (u = b);
|
|
776
|
+
}
|
|
777
|
+
if (l) {
|
|
778
|
+
var x, y;
|
|
779
|
+
const w = m === "y" ? "width" : "height", v = Wt.has(U(i)), b = r.reference[f] - r.floating[w] + (v && ((x = s.offset) == null ? void 0 : x[f]) || 0) + (v ? 0 : h.crossAxis), P = r.reference[f] + r.reference[w] + (v ? 0 : ((y = s.offset) == null ? void 0 : y[f]) || 0) - (v ? h.crossAxis : 0);
|
|
780
|
+
p < b ? p = b : p > P && (p = P);
|
|
781
|
+
}
|
|
782
|
+
return {
|
|
783
|
+
[m]: u,
|
|
784
|
+
[f]: p
|
|
785
|
+
};
|
|
786
|
+
}
|
|
787
|
+
};
|
|
788
|
+
}, Ie = function(t) {
|
|
789
|
+
return t === void 0 && (t = {}), {
|
|
790
|
+
name: "size",
|
|
791
|
+
options: t,
|
|
792
|
+
async fn(e) {
|
|
793
|
+
var n, o;
|
|
794
|
+
const {
|
|
795
|
+
placement: i,
|
|
796
|
+
rects: r,
|
|
797
|
+
platform: s,
|
|
798
|
+
elements: c
|
|
799
|
+
} = e, {
|
|
800
|
+
apply: a = () => {
|
|
801
|
+
},
|
|
802
|
+
...l
|
|
803
|
+
} = B(t, e), d = await et(e, l), f = U(i), m = Q(i), u = k(i) === "y", {
|
|
804
|
+
width: p,
|
|
805
|
+
height: g
|
|
806
|
+
} = r.floating;
|
|
807
|
+
let h, x;
|
|
808
|
+
f === "top" || f === "bottom" ? (h = f, x = m === (await (s.isRTL == null ? void 0 : s.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (x = f, h = m === "end" ? "top" : "bottom");
|
|
809
|
+
const y = g - d.top - d.bottom, w = p - d.left - d.right, v = Y(g - d[h], y), b = Y(p - d[x], w), P = !e.middlewareData.shift;
|
|
810
|
+
let A = v, W = b;
|
|
811
|
+
if ((n = e.middlewareData.shift) != null && n.enabled.x && (W = w), (o = e.middlewareData.shift) != null && o.enabled.y && (A = y), P && !m) {
|
|
812
|
+
const R = S(d.left, 0), I = S(d.right, 0), L = S(d.top, 0), _ = S(d.bottom, 0);
|
|
813
|
+
u ? W = p - 2 * (R !== 0 || I !== 0 ? R + I : S(d.left, d.right)) : A = g - 2 * (L !== 0 || _ !== 0 ? L + _ : S(d.top, d.bottom));
|
|
814
|
+
}
|
|
815
|
+
await a({
|
|
816
|
+
...e,
|
|
817
|
+
availableWidth: W,
|
|
818
|
+
availableHeight: A
|
|
819
|
+
});
|
|
820
|
+
const D = await s.getDimensions(c.floating);
|
|
821
|
+
return p !== D.width || g !== D.height ? {
|
|
822
|
+
reset: {
|
|
823
|
+
rects: !0
|
|
824
|
+
}
|
|
825
|
+
} : {};
|
|
826
|
+
}
|
|
827
|
+
};
|
|
828
|
+
};
|
|
829
|
+
function ft() {
|
|
830
|
+
return typeof window < "u";
|
|
831
|
+
}
|
|
832
|
+
function Z(t) {
|
|
833
|
+
return Ht(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
834
|
+
}
|
|
835
|
+
function E(t) {
|
|
836
|
+
var e;
|
|
837
|
+
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
838
|
+
}
|
|
839
|
+
function F(t) {
|
|
840
|
+
var e;
|
|
841
|
+
return (e = (Ht(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
842
|
+
}
|
|
843
|
+
function Ht(t) {
|
|
844
|
+
return ft() ? t instanceof Node || t instanceof E(t).Node : !1;
|
|
845
|
+
}
|
|
846
|
+
function M(t) {
|
|
847
|
+
return ft() ? t instanceof Element || t instanceof E(t).Element : !1;
|
|
848
|
+
}
|
|
849
|
+
function z(t) {
|
|
850
|
+
return ft() ? t instanceof HTMLElement || t instanceof E(t).HTMLElement : !1;
|
|
851
|
+
}
|
|
852
|
+
function Mt(t) {
|
|
853
|
+
return !ft() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof E(t).ShadowRoot;
|
|
854
|
+
}
|
|
855
|
+
const _e = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
856
|
+
function ot(t) {
|
|
857
|
+
const {
|
|
858
|
+
overflow: e,
|
|
859
|
+
overflowX: n,
|
|
860
|
+
overflowY: o,
|
|
861
|
+
display: i
|
|
862
|
+
} = T(t);
|
|
863
|
+
return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !_e.has(i);
|
|
864
|
+
}
|
|
865
|
+
const je = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
866
|
+
function Ye(t) {
|
|
867
|
+
return je.has(Z(t));
|
|
868
|
+
}
|
|
869
|
+
const qe = [":popover-open", ":modal"];
|
|
870
|
+
function ut(t) {
|
|
871
|
+
return qe.some((e) => {
|
|
872
|
+
try {
|
|
873
|
+
return t.matches(e);
|
|
874
|
+
} catch {
|
|
875
|
+
return !1;
|
|
876
|
+
}
|
|
877
|
+
});
|
|
878
|
+
}
|
|
879
|
+
const Xe = ["transform", "translate", "scale", "rotate", "perspective"], Ke = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Ge = ["paint", "layout", "strict", "content"];
|
|
880
|
+
function bt(t) {
|
|
881
|
+
const e = At(), n = M(t) ? T(t) : t;
|
|
882
|
+
return Xe.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || Ke.some((o) => (n.willChange || "").includes(o)) || Ge.some((o) => (n.contain || "").includes(o));
|
|
883
|
+
}
|
|
884
|
+
function Je(t) {
|
|
885
|
+
let e = q(t);
|
|
886
|
+
for (; z(e) && !J(e); ) {
|
|
887
|
+
if (bt(e))
|
|
888
|
+
return e;
|
|
889
|
+
if (ut(e))
|
|
890
|
+
return null;
|
|
891
|
+
e = q(e);
|
|
892
|
+
}
|
|
893
|
+
return null;
|
|
894
|
+
}
|
|
895
|
+
function At() {
|
|
896
|
+
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
897
|
+
}
|
|
898
|
+
const Qe = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
899
|
+
function J(t) {
|
|
900
|
+
return Qe.has(Z(t));
|
|
901
|
+
}
|
|
902
|
+
function T(t) {
|
|
903
|
+
return E(t).getComputedStyle(t);
|
|
904
|
+
}
|
|
905
|
+
function dt(t) {
|
|
906
|
+
return M(t) ? {
|
|
907
|
+
scrollLeft: t.scrollLeft,
|
|
908
|
+
scrollTop: t.scrollTop
|
|
909
|
+
} : {
|
|
910
|
+
scrollLeft: t.scrollX,
|
|
911
|
+
scrollTop: t.scrollY
|
|
912
|
+
};
|
|
913
|
+
}
|
|
914
|
+
function q(t) {
|
|
915
|
+
if (Z(t) === "html")
|
|
916
|
+
return t;
|
|
917
|
+
const e = (
|
|
918
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
919
|
+
t.assignedSlot || // DOM Element detected.
|
|
920
|
+
t.parentNode || // ShadowRoot detected.
|
|
921
|
+
Mt(t) && t.host || // Fallback.
|
|
922
|
+
F(t)
|
|
923
|
+
);
|
|
924
|
+
return Mt(e) ? e.host : e;
|
|
925
|
+
}
|
|
926
|
+
function Vt(t) {
|
|
927
|
+
const e = q(t);
|
|
928
|
+
return J(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : z(e) && ot(e) ? e : Vt(e);
|
|
929
|
+
}
|
|
930
|
+
function nt(t, e, n) {
|
|
931
|
+
var o;
|
|
932
|
+
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
933
|
+
const i = Vt(t), r = i === ((o = t.ownerDocument) == null ? void 0 : o.body), s = E(i);
|
|
934
|
+
if (r) {
|
|
935
|
+
const c = xt(s);
|
|
936
|
+
return e.concat(s, s.visualViewport || [], ot(i) ? i : [], c && n ? nt(c) : []);
|
|
937
|
+
}
|
|
938
|
+
return e.concat(i, nt(i, [], n));
|
|
939
|
+
}
|
|
940
|
+
function xt(t) {
|
|
941
|
+
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
942
|
+
}
|
|
943
|
+
function Bt(t) {
|
|
944
|
+
const e = T(t);
|
|
945
|
+
let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
|
|
946
|
+
const i = z(t), r = i ? t.offsetWidth : n, s = i ? t.offsetHeight : o, c = ct(n) !== r || ct(o) !== s;
|
|
947
|
+
return c && (n = r, o = s), {
|
|
948
|
+
width: n,
|
|
949
|
+
height: o,
|
|
950
|
+
$: c
|
|
951
|
+
};
|
|
952
|
+
}
|
|
953
|
+
function Ot(t) {
|
|
954
|
+
return M(t) ? t : t.contextElement;
|
|
955
|
+
}
|
|
956
|
+
function G(t) {
|
|
957
|
+
const e = Ot(t);
|
|
958
|
+
if (!z(e))
|
|
959
|
+
return $(1);
|
|
960
|
+
const n = e.getBoundingClientRect(), {
|
|
961
|
+
width: o,
|
|
962
|
+
height: i,
|
|
963
|
+
$: r
|
|
964
|
+
} = Bt(e);
|
|
965
|
+
let s = (r ? ct(n.width) : n.width) / o, c = (r ? ct(n.height) : n.height) / i;
|
|
966
|
+
return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
967
|
+
x: s,
|
|
968
|
+
y: c
|
|
969
|
+
};
|
|
970
|
+
}
|
|
971
|
+
const Ze = /* @__PURE__ */ $(0);
|
|
972
|
+
function Ut(t) {
|
|
973
|
+
const e = E(t);
|
|
974
|
+
return !At() || !e.visualViewport ? Ze : {
|
|
975
|
+
x: e.visualViewport.offsetLeft,
|
|
976
|
+
y: e.visualViewport.offsetTop
|
|
977
|
+
};
|
|
978
|
+
}
|
|
979
|
+
function tn(t, e, n) {
|
|
980
|
+
return e === void 0 && (e = !1), !n || e && n !== E(t) ? !1 : e;
|
|
981
|
+
}
|
|
982
|
+
function K(t, e, n, o) {
|
|
983
|
+
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
984
|
+
const i = t.getBoundingClientRect(), r = Ot(t);
|
|
985
|
+
let s = $(1);
|
|
986
|
+
e && (o ? M(o) && (s = G(o)) : s = G(t));
|
|
987
|
+
const c = tn(r, n, o) ? Ut(r) : $(0);
|
|
988
|
+
let a = (i.left + c.x) / s.x, l = (i.top + c.y) / s.y, d = i.width / s.x, f = i.height / s.y;
|
|
989
|
+
if (r) {
|
|
990
|
+
const m = E(r), u = o && M(o) ? E(o) : o;
|
|
991
|
+
let p = m, g = xt(p);
|
|
992
|
+
for (; g && o && u !== p; ) {
|
|
993
|
+
const h = G(g), x = g.getBoundingClientRect(), y = T(g), w = x.left + (g.clientLeft + parseFloat(y.paddingLeft)) * h.x, v = x.top + (g.clientTop + parseFloat(y.paddingTop)) * h.y;
|
|
994
|
+
a *= h.x, l *= h.y, d *= h.x, f *= h.y, a += w, l += v, p = E(g), g = xt(p);
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
return lt({
|
|
998
|
+
width: d,
|
|
999
|
+
height: f,
|
|
1000
|
+
x: a,
|
|
1001
|
+
y: l
|
|
1002
|
+
});
|
|
1003
|
+
}
|
|
1004
|
+
function Pt(t, e) {
|
|
1005
|
+
const n = dt(t).scrollLeft;
|
|
1006
|
+
return e ? e.left + n : K(F(t)).left + n;
|
|
1007
|
+
}
|
|
1008
|
+
function It(t, e, n) {
|
|
1009
|
+
n === void 0 && (n = !1);
|
|
1010
|
+
const o = t.getBoundingClientRect(), i = o.left + e.scrollLeft - (n ? 0 : (
|
|
1011
|
+
// RTL <body> scrollbar.
|
|
1012
|
+
Pt(t, o)
|
|
1013
|
+
)), r = o.top + e.scrollTop;
|
|
1014
|
+
return {
|
|
1015
|
+
x: i,
|
|
1016
|
+
y: r
|
|
1017
|
+
};
|
|
1018
|
+
}
|
|
1019
|
+
function en(t) {
|
|
1020
|
+
let {
|
|
1021
|
+
elements: e,
|
|
1022
|
+
rect: n,
|
|
1023
|
+
offsetParent: o,
|
|
1024
|
+
strategy: i
|
|
1025
|
+
} = t;
|
|
1026
|
+
const r = i === "fixed", s = F(o), c = e ? ut(e.floating) : !1;
|
|
1027
|
+
if (o === s || c && r)
|
|
1028
|
+
return n;
|
|
1029
|
+
let a = {
|
|
1030
|
+
scrollLeft: 0,
|
|
1031
|
+
scrollTop: 0
|
|
1032
|
+
}, l = $(1);
|
|
1033
|
+
const d = $(0), f = z(o);
|
|
1034
|
+
if ((f || !f && !r) && ((Z(o) !== "body" || ot(s)) && (a = dt(o)), z(o))) {
|
|
1035
|
+
const u = K(o);
|
|
1036
|
+
l = G(o), d.x = u.x + o.clientLeft, d.y = u.y + o.clientTop;
|
|
1037
|
+
}
|
|
1038
|
+
const m = s && !f && !r ? It(s, a, !0) : $(0);
|
|
1039
|
+
return {
|
|
1040
|
+
width: n.width * l.x,
|
|
1041
|
+
height: n.height * l.y,
|
|
1042
|
+
x: n.x * l.x - a.scrollLeft * l.x + d.x + m.x,
|
|
1043
|
+
y: n.y * l.y - a.scrollTop * l.y + d.y + m.y
|
|
1044
|
+
};
|
|
1045
|
+
}
|
|
1046
|
+
function nn(t) {
|
|
1047
|
+
return Array.from(t.getClientRects());
|
|
1048
|
+
}
|
|
1049
|
+
function on(t) {
|
|
1050
|
+
const e = F(t), n = dt(t), o = t.ownerDocument.body, i = S(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), r = S(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
|
|
1051
|
+
let s = -n.scrollLeft + Pt(t);
|
|
1052
|
+
const c = -n.scrollTop;
|
|
1053
|
+
return T(o).direction === "rtl" && (s += S(e.clientWidth, o.clientWidth) - i), {
|
|
1054
|
+
width: i,
|
|
1055
|
+
height: r,
|
|
1056
|
+
x: s,
|
|
1057
|
+
y: c
|
|
1058
|
+
};
|
|
1059
|
+
}
|
|
1060
|
+
function rn(t, e) {
|
|
1061
|
+
const n = E(t), o = F(t), i = n.visualViewport;
|
|
1062
|
+
let r = o.clientWidth, s = o.clientHeight, c = 0, a = 0;
|
|
1063
|
+
if (i) {
|
|
1064
|
+
r = i.width, s = i.height;
|
|
1065
|
+
const l = At();
|
|
1066
|
+
(!l || l && e === "fixed") && (c = i.offsetLeft, a = i.offsetTop);
|
|
1067
|
+
}
|
|
1068
|
+
return {
|
|
1069
|
+
width: r,
|
|
1070
|
+
height: s,
|
|
1071
|
+
x: c,
|
|
1072
|
+
y: a
|
|
1073
|
+
};
|
|
1074
|
+
}
|
|
1075
|
+
const sn = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
1076
|
+
function cn(t, e) {
|
|
1077
|
+
const n = K(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, r = z(t) ? G(t) : $(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, a = i * r.x, l = o * r.y;
|
|
1078
|
+
return {
|
|
1079
|
+
width: s,
|
|
1080
|
+
height: c,
|
|
1081
|
+
x: a,
|
|
1082
|
+
y: l
|
|
1083
|
+
};
|
|
1084
|
+
}
|
|
1085
|
+
function Tt(t, e, n) {
|
|
1086
|
+
let o;
|
|
1087
|
+
if (e === "viewport")
|
|
1088
|
+
o = rn(t, n);
|
|
1089
|
+
else if (e === "document")
|
|
1090
|
+
o = on(F(t));
|
|
1091
|
+
else if (M(e))
|
|
1092
|
+
o = cn(e, n);
|
|
1093
|
+
else {
|
|
1094
|
+
const i = Ut(t);
|
|
1095
|
+
o = {
|
|
1096
|
+
x: e.x - i.x,
|
|
1097
|
+
y: e.y - i.y,
|
|
1098
|
+
width: e.width,
|
|
1099
|
+
height: e.height
|
|
1100
|
+
};
|
|
1101
|
+
}
|
|
1102
|
+
return lt(o);
|
|
1103
|
+
}
|
|
1104
|
+
function _t(t, e) {
|
|
1105
|
+
const n = q(t);
|
|
1106
|
+
return n === e || !M(n) || J(n) ? !1 : T(n).position === "fixed" || _t(n, e);
|
|
1107
|
+
}
|
|
1108
|
+
function an(t, e) {
|
|
1109
|
+
const n = e.get(t);
|
|
1110
|
+
if (n)
|
|
1111
|
+
return n;
|
|
1112
|
+
let o = nt(t, [], !1).filter((c) => M(c) && Z(c) !== "body"), i = null;
|
|
1113
|
+
const r = T(t).position === "fixed";
|
|
1114
|
+
let s = r ? q(t) : t;
|
|
1115
|
+
for (; M(s) && !J(s); ) {
|
|
1116
|
+
const c = T(s), a = bt(s);
|
|
1117
|
+
!a && c.position === "fixed" && (i = null), (r ? !a && !i : !a && c.position === "static" && !!i && sn.has(i.position) || ot(s) && !a && _t(t, s)) ? o = o.filter((d) => d !== s) : i = c, s = q(s);
|
|
1118
|
+
}
|
|
1119
|
+
return e.set(t, o), o;
|
|
1120
|
+
}
|
|
1121
|
+
function ln(t) {
|
|
1122
|
+
let {
|
|
1123
|
+
element: e,
|
|
1124
|
+
boundary: n,
|
|
1125
|
+
rootBoundary: o,
|
|
1126
|
+
strategy: i
|
|
1127
|
+
} = t;
|
|
1128
|
+
const s = [...n === "clippingAncestors" ? ut(e) ? [] : an(e, this._c) : [].concat(n), o], c = s[0], a = s.reduce((l, d) => {
|
|
1129
|
+
const f = Tt(e, d, i);
|
|
1130
|
+
return l.top = S(f.top, l.top), l.right = Y(f.right, l.right), l.bottom = Y(f.bottom, l.bottom), l.left = S(f.left, l.left), l;
|
|
1131
|
+
}, Tt(e, c, i));
|
|
1132
|
+
return {
|
|
1133
|
+
width: a.right - a.left,
|
|
1134
|
+
height: a.bottom - a.top,
|
|
1135
|
+
x: a.left,
|
|
1136
|
+
y: a.top
|
|
1137
|
+
};
|
|
1138
|
+
}
|
|
1139
|
+
function fn(t) {
|
|
1140
|
+
const {
|
|
1141
|
+
width: e,
|
|
1142
|
+
height: n
|
|
1143
|
+
} = Bt(t);
|
|
1144
|
+
return {
|
|
1145
|
+
width: e,
|
|
1146
|
+
height: n
|
|
1147
|
+
};
|
|
1148
|
+
}
|
|
1149
|
+
function un(t, e, n) {
|
|
1150
|
+
const o = z(e), i = F(e), r = n === "fixed", s = K(t, !0, r, e);
|
|
1151
|
+
let c = {
|
|
1152
|
+
scrollLeft: 0,
|
|
1153
|
+
scrollTop: 0
|
|
1154
|
+
};
|
|
1155
|
+
const a = $(0);
|
|
1156
|
+
function l() {
|
|
1157
|
+
a.x = Pt(i);
|
|
1158
|
+
}
|
|
1159
|
+
if (o || !o && !r)
|
|
1160
|
+
if ((Z(e) !== "body" || ot(i)) && (c = dt(e)), o) {
|
|
1161
|
+
const u = K(e, !0, r, e);
|
|
1162
|
+
a.x = u.x + e.clientLeft, a.y = u.y + e.clientTop;
|
|
1163
|
+
} else i && l();
|
|
1164
|
+
r && !o && i && l();
|
|
1165
|
+
const d = i && !o && !r ? It(i, c) : $(0), f = s.left + c.scrollLeft - a.x - d.x, m = s.top + c.scrollTop - a.y - d.y;
|
|
1166
|
+
return {
|
|
1167
|
+
x: f,
|
|
1168
|
+
y: m,
|
|
1169
|
+
width: s.width,
|
|
1170
|
+
height: s.height
|
|
1171
|
+
};
|
|
1172
|
+
}
|
|
1173
|
+
function mt(t) {
|
|
1174
|
+
return T(t).position === "static";
|
|
1175
|
+
}
|
|
1176
|
+
function Dt(t, e) {
|
|
1177
|
+
if (!z(t) || T(t).position === "fixed")
|
|
1178
|
+
return null;
|
|
1179
|
+
if (e)
|
|
1180
|
+
return e(t);
|
|
1181
|
+
let n = t.offsetParent;
|
|
1182
|
+
return F(t) === n && (n = n.ownerDocument.body), n;
|
|
1183
|
+
}
|
|
1184
|
+
function jt(t, e) {
|
|
1185
|
+
const n = E(t);
|
|
1186
|
+
if (ut(t))
|
|
1187
|
+
return n;
|
|
1188
|
+
if (!z(t)) {
|
|
1189
|
+
let i = q(t);
|
|
1190
|
+
for (; i && !J(i); ) {
|
|
1191
|
+
if (M(i) && !mt(i))
|
|
1192
|
+
return i;
|
|
1193
|
+
i = q(i);
|
|
1194
|
+
}
|
|
1195
|
+
return n;
|
|
1196
|
+
}
|
|
1197
|
+
let o = Dt(t, e);
|
|
1198
|
+
for (; o && Ye(o) && mt(o); )
|
|
1199
|
+
o = Dt(o, e);
|
|
1200
|
+
return o && J(o) && mt(o) && !bt(o) ? n : o || Je(t) || n;
|
|
1201
|
+
}
|
|
1202
|
+
const dn = async function(t) {
|
|
1203
|
+
const e = this.getOffsetParent || jt, n = this.getDimensions, o = await n(t.floating);
|
|
1204
|
+
return {
|
|
1205
|
+
reference: un(t.reference, await e(t.floating), t.strategy),
|
|
1206
|
+
floating: {
|
|
1207
|
+
x: 0,
|
|
1208
|
+
y: 0,
|
|
1209
|
+
width: o.width,
|
|
1210
|
+
height: o.height
|
|
1211
|
+
}
|
|
1212
|
+
};
|
|
1213
|
+
};
|
|
1214
|
+
function mn(t) {
|
|
1215
|
+
return T(t).direction === "rtl";
|
|
1216
|
+
}
|
|
1217
|
+
const pn = {
|
|
1218
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: en,
|
|
1219
|
+
getDocumentElement: F,
|
|
1220
|
+
getClippingRect: ln,
|
|
1221
|
+
getOffsetParent: jt,
|
|
1222
|
+
getElementRects: dn,
|
|
1223
|
+
getClientRects: nn,
|
|
1224
|
+
getDimensions: fn,
|
|
1225
|
+
getScale: G,
|
|
1226
|
+
isElement: M,
|
|
1227
|
+
isRTL: mn
|
|
1228
|
+
};
|
|
1229
|
+
function Yt(t, e) {
|
|
1230
|
+
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
1231
|
+
}
|
|
1232
|
+
function gn(t, e) {
|
|
1233
|
+
let n = null, o;
|
|
1234
|
+
const i = F(t);
|
|
1235
|
+
function r() {
|
|
1236
|
+
var c;
|
|
1237
|
+
clearTimeout(o), (c = n) == null || c.disconnect(), n = null;
|
|
1238
|
+
}
|
|
1239
|
+
function s(c, a) {
|
|
1240
|
+
c === void 0 && (c = !1), a === void 0 && (a = 1), r();
|
|
1241
|
+
const l = t.getBoundingClientRect(), {
|
|
1242
|
+
left: d,
|
|
1243
|
+
top: f,
|
|
1244
|
+
width: m,
|
|
1245
|
+
height: u
|
|
1246
|
+
} = l;
|
|
1247
|
+
if (c || e(), !m || !u)
|
|
1248
|
+
return;
|
|
1249
|
+
const p = st(f), g = st(i.clientWidth - (d + m)), h = st(i.clientHeight - (f + u)), x = st(d), w = {
|
|
1250
|
+
rootMargin: -p + "px " + -g + "px " + -h + "px " + -x + "px",
|
|
1251
|
+
threshold: S(0, Y(1, a)) || 1
|
|
1252
|
+
};
|
|
1253
|
+
let v = !0;
|
|
1254
|
+
function b(P) {
|
|
1255
|
+
const A = P[0].intersectionRatio;
|
|
1256
|
+
if (A !== a) {
|
|
1257
|
+
if (!v)
|
|
1258
|
+
return s();
|
|
1259
|
+
A ? s(!1, A) : o = setTimeout(() => {
|
|
1260
|
+
s(!1, 1e-7);
|
|
1261
|
+
}, 1e3);
|
|
1262
|
+
}
|
|
1263
|
+
A === 1 && !Yt(l, t.getBoundingClientRect()) && s(), v = !1;
|
|
1264
|
+
}
|
|
1265
|
+
try {
|
|
1266
|
+
n = new IntersectionObserver(b, {
|
|
1267
|
+
...w,
|
|
1268
|
+
// Handle <iframe>s
|
|
1269
|
+
root: i.ownerDocument
|
|
1270
|
+
});
|
|
1271
|
+
} catch {
|
|
1272
|
+
n = new IntersectionObserver(b, w);
|
|
1273
|
+
}
|
|
1274
|
+
n.observe(t);
|
|
1275
|
+
}
|
|
1276
|
+
return s(!0), r;
|
|
1277
|
+
}
|
|
1278
|
+
function hn(t, e, n, o) {
|
|
1279
|
+
o === void 0 && (o = {});
|
|
1280
|
+
const {
|
|
1281
|
+
ancestorScroll: i = !0,
|
|
1282
|
+
ancestorResize: r = !0,
|
|
1283
|
+
elementResize: s = typeof ResizeObserver == "function",
|
|
1284
|
+
layoutShift: c = typeof IntersectionObserver == "function",
|
|
1285
|
+
animationFrame: a = !1
|
|
1286
|
+
} = o, l = Ot(t), d = i || r ? [...l ? nt(l) : [], ...nt(e)] : [];
|
|
1287
|
+
d.forEach((x) => {
|
|
1288
|
+
i && x.addEventListener("scroll", n, {
|
|
1289
|
+
passive: !0
|
|
1290
|
+
}), r && x.addEventListener("resize", n);
|
|
1291
|
+
});
|
|
1292
|
+
const f = l && c ? gn(l, n) : null;
|
|
1293
|
+
let m = -1, u = null;
|
|
1294
|
+
s && (u = new ResizeObserver((x) => {
|
|
1295
|
+
let [y] = x;
|
|
1296
|
+
y && y.target === l && u && (u.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
|
|
1297
|
+
var w;
|
|
1298
|
+
(w = u) == null || w.observe(e);
|
|
1299
|
+
})), n();
|
|
1300
|
+
}), l && !a && u.observe(l), u.observe(e));
|
|
1301
|
+
let p, g = a ? K(t) : null;
|
|
1302
|
+
a && h();
|
|
1303
|
+
function h() {
|
|
1304
|
+
const x = K(t);
|
|
1305
|
+
g && !Yt(g, x) && n(), g = x, p = requestAnimationFrame(h);
|
|
1306
|
+
}
|
|
1307
|
+
return n(), () => {
|
|
1308
|
+
var x;
|
|
1309
|
+
d.forEach((y) => {
|
|
1310
|
+
i && y.removeEventListener("scroll", n), r && y.removeEventListener("resize", n);
|
|
1311
|
+
}), f?.(), (x = u) == null || x.disconnect(), u = null, a && cancelAnimationFrame(p);
|
|
1312
|
+
};
|
|
1313
|
+
}
|
|
1314
|
+
const xn = Ve, yn = Be, wn = Fe, vn = Ie, bn = We, An = ze, On = Ue, Pn = (t, e, n) => {
|
|
1315
|
+
const o = /* @__PURE__ */ new Map(), i = {
|
|
1316
|
+
platform: pn,
|
|
1317
|
+
...n
|
|
1318
|
+
}, r = {
|
|
1319
|
+
...i.platform,
|
|
1320
|
+
_c: o
|
|
1321
|
+
};
|
|
1322
|
+
return $e(t, e, {
|
|
1323
|
+
...i,
|
|
1324
|
+
platform: r
|
|
1325
|
+
});
|
|
1326
|
+
};
|
|
1327
|
+
function Lt(t = 0, e = 0, n = 0, o = 0) {
|
|
1328
|
+
if (typeof DOMRect == "function")
|
|
1329
|
+
return new DOMRect(t, e, n, o);
|
|
1330
|
+
const i = {
|
|
1331
|
+
x: t,
|
|
1332
|
+
y: e,
|
|
1333
|
+
width: n,
|
|
1334
|
+
height: o,
|
|
1335
|
+
top: e,
|
|
1336
|
+
right: t + n,
|
|
1337
|
+
bottom: e + o,
|
|
1338
|
+
left: t
|
|
1339
|
+
};
|
|
1340
|
+
return { ...i, toJSON: () => i };
|
|
1341
|
+
}
|
|
1342
|
+
function Sn(t) {
|
|
1343
|
+
if (!t) return Lt();
|
|
1344
|
+
const { x: e, y: n, width: o, height: i } = t;
|
|
1345
|
+
return Lt(e, n, o, i);
|
|
1346
|
+
}
|
|
1347
|
+
function En(t, e) {
|
|
1348
|
+
return {
|
|
1349
|
+
contextElement: ne(t) ? t : void 0,
|
|
1350
|
+
getBoundingClientRect: () => {
|
|
1351
|
+
const n = t, o = e?.(n);
|
|
1352
|
+
return o || !n ? Sn(o) : n.getBoundingClientRect();
|
|
1353
|
+
}
|
|
1354
|
+
};
|
|
1355
|
+
}
|
|
1356
|
+
var tt = (t) => ({ variable: t, reference: `var(${t})` }), V = {
|
|
1357
|
+
arrowSize: tt("--arrow-size"),
|
|
1358
|
+
arrowSizeHalf: tt("--arrow-size-half"),
|
|
1359
|
+
arrowBg: tt("--arrow-background"),
|
|
1360
|
+
transformOrigin: tt("--transform-origin"),
|
|
1361
|
+
arrowOffset: tt("--arrow-offset")
|
|
1362
|
+
}, Rn = (t) => ({
|
|
1363
|
+
top: "bottom center",
|
|
1364
|
+
"top-start": t ? `${t.x}px bottom` : "left bottom",
|
|
1365
|
+
"top-end": t ? `${t.x}px bottom` : "right bottom",
|
|
1366
|
+
bottom: "top center",
|
|
1367
|
+
"bottom-start": t ? `${t.x}px top` : "top left",
|
|
1368
|
+
"bottom-end": t ? `${t.x}px top` : "top right",
|
|
1369
|
+
left: "right center",
|
|
1370
|
+
"left-start": t ? `right ${t.y}px` : "right top",
|
|
1371
|
+
"left-end": t ? `right ${t.y}px` : "right bottom",
|
|
1372
|
+
right: "left center",
|
|
1373
|
+
"right-start": t ? `left ${t.y}px` : "left top",
|
|
1374
|
+
"right-end": t ? `left ${t.y}px` : "left bottom"
|
|
1375
|
+
}), Cn = {
|
|
1376
|
+
name: "transformOrigin",
|
|
1377
|
+
fn({ placement: t, elements: e, middlewareData: n }) {
|
|
1378
|
+
const { arrow: o } = n, i = Rn(o)[t], { floating: r } = e;
|
|
1379
|
+
return r.style.setProperty(V.transformOrigin.variable, i), {
|
|
1380
|
+
data: { transformOrigin: i }
|
|
1381
|
+
};
|
|
1382
|
+
}
|
|
1383
|
+
}, Nn = {
|
|
1384
|
+
name: "rects",
|
|
1385
|
+
fn({ rects: t }) {
|
|
1386
|
+
return {
|
|
1387
|
+
data: t
|
|
1388
|
+
};
|
|
1389
|
+
}
|
|
1390
|
+
}, Mn = (t) => {
|
|
1391
|
+
if (t)
|
|
1392
|
+
return {
|
|
1393
|
+
name: "shiftArrow",
|
|
1394
|
+
fn({ placement: e, middlewareData: n }) {
|
|
1395
|
+
if (!n.arrow) return {};
|
|
1396
|
+
const { x: o, y: i } = n.arrow, r = e.split("-")[0];
|
|
1397
|
+
return Object.assign(t.style, {
|
|
1398
|
+
left: o != null ? `${o}px` : "",
|
|
1399
|
+
top: i != null ? `${i}px` : "",
|
|
1400
|
+
[r]: `calc(100% + ${V.arrowOffset.reference})`
|
|
1401
|
+
}), {};
|
|
1402
|
+
}
|
|
1403
|
+
};
|
|
1404
|
+
};
|
|
1405
|
+
function Tn(t) {
|
|
1406
|
+
const [e, n] = t.split("-");
|
|
1407
|
+
return { side: e, align: n, hasAlign: n != null };
|
|
1408
|
+
}
|
|
1409
|
+
function Jn(t) {
|
|
1410
|
+
return t.split("-")[0];
|
|
1411
|
+
}
|
|
1412
|
+
var Dn = {
|
|
1413
|
+
strategy: "absolute",
|
|
1414
|
+
placement: "bottom",
|
|
1415
|
+
listeners: !0,
|
|
1416
|
+
gutter: 8,
|
|
1417
|
+
flip: !0,
|
|
1418
|
+
slide: !0,
|
|
1419
|
+
overlap: !1,
|
|
1420
|
+
sameWidth: !1,
|
|
1421
|
+
fitViewport: !1,
|
|
1422
|
+
overflowPadding: 8,
|
|
1423
|
+
arrowPadding: 4
|
|
1424
|
+
};
|
|
1425
|
+
function kt(t, e) {
|
|
1426
|
+
const n = t.devicePixelRatio || 1;
|
|
1427
|
+
return Math.round(e * n) / n;
|
|
1428
|
+
}
|
|
1429
|
+
function qt(t) {
|
|
1430
|
+
return ie(t.boundary);
|
|
1431
|
+
}
|
|
1432
|
+
function Ln(t, e) {
|
|
1433
|
+
if (t)
|
|
1434
|
+
return An({
|
|
1435
|
+
element: t,
|
|
1436
|
+
padding: e.arrowPadding
|
|
1437
|
+
});
|
|
1438
|
+
}
|
|
1439
|
+
function kn(t, e) {
|
|
1440
|
+
if (!oe(e.offset ?? e.gutter))
|
|
1441
|
+
return xn(({ placement: n }) => {
|
|
1442
|
+
const o = (t?.clientHeight || 0) / 2, i = e.offset?.mainAxis ?? e.gutter, r = typeof i == "number" ? i + o : i ?? o, { hasAlign: s } = Tn(n), c = s ? void 0 : e.shift, a = e.offset?.crossAxis ?? c;
|
|
1443
|
+
return se({
|
|
1444
|
+
crossAxis: a,
|
|
1445
|
+
mainAxis: r,
|
|
1446
|
+
alignmentAxis: e.shift
|
|
1447
|
+
});
|
|
1448
|
+
});
|
|
1449
|
+
}
|
|
1450
|
+
function $n(t) {
|
|
1451
|
+
if (t.flip)
|
|
1452
|
+
return wn({
|
|
1453
|
+
boundary: qt(t),
|
|
1454
|
+
padding: t.overflowPadding,
|
|
1455
|
+
fallbackPlacements: t.flip === !0 ? void 0 : t.flip
|
|
1456
|
+
});
|
|
1457
|
+
}
|
|
1458
|
+
function zn(t) {
|
|
1459
|
+
if (!(!t.slide && !t.overlap))
|
|
1460
|
+
return yn({
|
|
1461
|
+
boundary: qt(t),
|
|
1462
|
+
mainAxis: t.slide,
|
|
1463
|
+
crossAxis: t.overlap,
|
|
1464
|
+
padding: t.overflowPadding,
|
|
1465
|
+
limiter: On()
|
|
1466
|
+
});
|
|
1467
|
+
}
|
|
1468
|
+
function Fn(t) {
|
|
1469
|
+
return vn({
|
|
1470
|
+
padding: t.overflowPadding,
|
|
1471
|
+
apply({ elements: e, rects: n, availableHeight: o, availableWidth: i }) {
|
|
1472
|
+
const r = e.floating, s = Math.round(n.reference.width);
|
|
1473
|
+
i = Math.floor(i), o = Math.floor(o), r.style.setProperty("--reference-width", `${s}px`), r.style.setProperty("--available-width", `${i}px`), r.style.setProperty("--available-height", `${o}px`);
|
|
1474
|
+
}
|
|
1475
|
+
});
|
|
1476
|
+
}
|
|
1477
|
+
function Wn(t) {
|
|
1478
|
+
if (t.hideWhenDetached)
|
|
1479
|
+
return bn({ strategy: "referenceHidden", boundary: t.boundary?.() ?? "clippingAncestors" });
|
|
1480
|
+
}
|
|
1481
|
+
function Hn(t) {
|
|
1482
|
+
return t ? t === !0 ? { ancestorResize: !0, ancestorScroll: !0, elementResize: !0, layoutShift: !0 } : t : {};
|
|
1483
|
+
}
|
|
1484
|
+
function Vn(t, e, n = {}) {
|
|
1485
|
+
const o = En(t, n.getAnchorRect);
|
|
1486
|
+
if (!e || !o) return;
|
|
1487
|
+
const i = Object.assign({}, Dn, n), r = e.querySelector("[data-part=arrow]"), s = [
|
|
1488
|
+
kn(r, i),
|
|
1489
|
+
$n(i),
|
|
1490
|
+
zn(i),
|
|
1491
|
+
Ln(r, i),
|
|
1492
|
+
Mn(r),
|
|
1493
|
+
Cn,
|
|
1494
|
+
Fn(i),
|
|
1495
|
+
Wn(i),
|
|
1496
|
+
Nn
|
|
1497
|
+
], { placement: c, strategy: a, onComplete: l, onPositioned: d } = i, f = async () => {
|
|
1498
|
+
if (!o || !e) return;
|
|
1499
|
+
const g = await Pn(o, e, {
|
|
1500
|
+
placement: c,
|
|
1501
|
+
middleware: s,
|
|
1502
|
+
strategy: a
|
|
1503
|
+
});
|
|
1504
|
+
l?.(g), d?.({ placed: !0 });
|
|
1505
|
+
const h = re(e), x = kt(h, g.x), y = kt(h, g.y);
|
|
1506
|
+
e.style.setProperty("--x", `${x}px`), e.style.setProperty("--y", `${y}px`), i.hideWhenDetached && (g.middlewareData.hide?.referenceHidden ? (e.style.setProperty("visibility", "hidden"), e.style.setProperty("pointer-events", "none")) : (e.style.removeProperty("visibility"), e.style.removeProperty("pointer-events")));
|
|
1507
|
+
const w = e.firstElementChild;
|
|
1508
|
+
if (w) {
|
|
1509
|
+
const v = $t(w);
|
|
1510
|
+
e.style.setProperty("--z-index", v.zIndex);
|
|
1511
|
+
}
|
|
1512
|
+
}, m = async () => {
|
|
1513
|
+
n.updatePosition ? (await n.updatePosition({ updatePosition: f, floatingElement: e }), d?.({ placed: !0 })) : await f();
|
|
1514
|
+
}, u = Hn(i.listeners), p = i.listeners ? hn(o, e, m, u) : ee;
|
|
1515
|
+
return m(), () => {
|
|
1516
|
+
p?.(), d?.({ placed: !1 });
|
|
1517
|
+
};
|
|
1518
|
+
}
|
|
1519
|
+
function Qn(t, e, n = {}) {
|
|
1520
|
+
const { defer: o, ...i } = n, r = o ? pt : (c) => c(), s = [];
|
|
1521
|
+
return s.push(
|
|
1522
|
+
r(() => {
|
|
1523
|
+
const c = typeof t == "function" ? t() : t, a = typeof e == "function" ? e() : e;
|
|
1524
|
+
s.push(Vn(c, a, i));
|
|
1525
|
+
})
|
|
1526
|
+
), () => {
|
|
1527
|
+
s.forEach((c) => c?.());
|
|
1528
|
+
};
|
|
1529
|
+
}
|
|
1530
|
+
var Bn = {
|
|
1531
|
+
bottom: "rotate(45deg)",
|
|
1532
|
+
left: "rotate(135deg)",
|
|
1533
|
+
top: "rotate(225deg)",
|
|
1534
|
+
right: "rotate(315deg)"
|
|
1535
|
+
};
|
|
1536
|
+
function Zn(t = {}) {
|
|
1537
|
+
const { placement: e, sameWidth: n, fitViewport: o, strategy: i = "absolute" } = t;
|
|
1538
|
+
return {
|
|
1539
|
+
arrow: {
|
|
1540
|
+
position: "absolute",
|
|
1541
|
+
width: V.arrowSize.reference,
|
|
1542
|
+
height: V.arrowSize.reference,
|
|
1543
|
+
[V.arrowSizeHalf.variable]: `calc(${V.arrowSize.reference} / 2)`,
|
|
1544
|
+
[V.arrowOffset.variable]: `calc(${V.arrowSizeHalf.reference} * -1)`
|
|
1545
|
+
},
|
|
1546
|
+
arrowTip: {
|
|
1547
|
+
// @ts-expect-error - Fix this
|
|
1548
|
+
transform: e ? Bn[e.split("-")[0]] : void 0,
|
|
1549
|
+
background: V.arrowBg.reference,
|
|
1550
|
+
top: "0",
|
|
1551
|
+
left: "0",
|
|
1552
|
+
width: "100%",
|
|
1553
|
+
height: "100%",
|
|
1554
|
+
position: "absolute",
|
|
1555
|
+
zIndex: "inherit"
|
|
1556
|
+
},
|
|
1557
|
+
floating: {
|
|
1558
|
+
position: i,
|
|
1559
|
+
isolation: "isolate",
|
|
1560
|
+
minWidth: n ? void 0 : "max-content",
|
|
1561
|
+
width: n ? "var(--reference-width)" : void 0,
|
|
1562
|
+
maxWidth: o ? "var(--available-width)" : void 0,
|
|
1563
|
+
maxHeight: o ? "var(--available-height)" : void 0,
|
|
1564
|
+
pointerEvents: e ? void 0 : "none",
|
|
1565
|
+
top: "0px",
|
|
1566
|
+
left: "0px",
|
|
1567
|
+
// move off-screen if placement is not defined
|
|
1568
|
+
transform: e ? "translate3d(var(--x), var(--y), 0)" : "translate3d(0, -100vh, 0)",
|
|
1569
|
+
zIndex: "var(--z-index)"
|
|
1570
|
+
}
|
|
1571
|
+
};
|
|
1572
|
+
}
|
|
1573
|
+
export {
|
|
1574
|
+
Yn as P,
|
|
1575
|
+
Zn as a,
|
|
1576
|
+
Jn as b,
|
|
1577
|
+
Gn as c,
|
|
1578
|
+
qn as d,
|
|
1579
|
+
Ae as e,
|
|
1580
|
+
Qn as g,
|
|
1581
|
+
Kn as s,
|
|
1582
|
+
Xn as u
|
|
1583
|
+
};
|
|
1584
|
+
//# sourceMappingURL=index-C9UYIjEB.js.map
|