@feugene/granularity 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DsButtonGroup.css +1 -0
- package/dist/DsFormFile.css +1 -0
- package/dist/DsIcon.css +1 -0
- package/dist/DsLoading.css +1 -0
- package/dist/DsSkeleton.css +1 -0
- package/dist/DsTree.css +1 -0
- package/dist/chunks/config-B36QoWkx2.js +8 -0
- package/dist/chunks/config-BG-m3THf.js +17 -0
- package/dist/chunks/config-BNQb1Tdk.js +9 -0
- package/dist/chunks/config-BPuskn3r.js +8 -0
- package/dist/chunks/config-BWJ22IjI2.js +9 -0
- package/dist/chunks/config-BYoxgIeM.js +18 -0
- package/dist/chunks/{config-tQBoBLph.js → config-Bb8NpnGF.js} +14 -6
- package/dist/chunks/config-Bo4SoxQg.js +27 -0
- package/dist/chunks/{config-B-tMv4PT.js → config-BscZj6l42.js} +26 -26
- package/dist/chunks/{config-qlwX-rLq.js → config-C0CVsc4Y.js} +16 -10
- package/dist/chunks/config-C2wd640N.js +9 -0
- package/dist/chunks/{config-CMuBf0u72.js → config-C7KNHOmN.js} +7 -7
- package/dist/chunks/config-CLG4pCF9.js +9 -0
- package/dist/chunks/config-COfLMM02.js +8 -0
- package/dist/chunks/config-C_CXjTfh2.js +9 -0
- package/dist/chunks/config-C_bF_fTb.js +8 -0
- package/dist/chunks/config-CcqnIunr.js +9 -0
- package/dist/chunks/config-Cibru2a2.js +9 -0
- package/dist/chunks/config-CnClbuiL.js +9 -0
- package/dist/chunks/config-CtI_S-zH.js +8 -0
- package/dist/chunks/config-CtgK8aLQ.js +37 -0
- package/dist/chunks/config-CvuvJeih.js +9 -0
- package/dist/chunks/{config-B75oSW74.js → config-CzEeKJ6F2.js} +6 -4
- package/dist/chunks/{config-CTGjkM7q.js → config-D-soL_Ul.js} +45 -36
- package/dist/chunks/config-D3ihNj1i.js +14 -0
- package/dist/chunks/config-D9kbijTN.js +9 -0
- package/dist/chunks/config-DGGgsQ-8.js +47 -0
- package/dist/chunks/{config-G7h6ftb62.js → config-DJxFkysW.js} +10 -9
- package/dist/chunks/config-DN1-oywd.js +13 -0
- package/dist/chunks/config-DO9E5iXl2.js +8 -0
- package/dist/chunks/config-DQdLgKLJ.js +8 -0
- package/dist/chunks/config-DThxz0fj.js +8 -0
- package/dist/chunks/config-DU-WqEnv.js +9 -0
- package/dist/chunks/config-DeL48aIt.js +8 -0
- package/dist/chunks/config-DfTEy9G3.js +14 -0
- package/dist/chunks/config-DoJaEy4X.js +21 -0
- package/dist/chunks/config-DopZCwNe.js +10 -0
- package/dist/chunks/{config-BrwOndwO.js → config-DpluHp1i.js} +2 -3
- package/dist/chunks/config-DrTFt1re.js +8 -0
- package/dist/chunks/config-DwsSjSb4.js +15 -0
- package/dist/chunks/config-E9sOdSx6.js +8 -0
- package/dist/chunks/config-EhfVxSIR.js +9 -0
- package/dist/chunks/config-J_2KglMu.js +8 -0
- package/dist/chunks/config-YyVxx9dW.js +8 -0
- package/dist/chunks/config-Zksyb5FX.js +35 -0
- package/dist/chunks/config-ltfe9Xvy.js +47 -0
- package/dist/chunks/config-udLUeY_k.js +9 -0
- package/dist/chunks/dialogShared-B7Ruf0mn.js +26 -0
- package/dist/chunks/directives-K8Vo0VhP.js +530 -0
- package/dist/chunks/{dsBadgeStyles-yLd1GFUa.js → dsBadgeStyles-2fcy07ls.js} +13 -22
- package/dist/chunks/{dsButtonStyles-C1c_j958.js → dsButtonStyles-xdMl54zJ.js} +46 -70
- package/dist/chunks/{dsDropdownStyles-DXGN-A-d.js → dsDropdownStyles-_XO6eeSE.js} +6 -12
- package/dist/chunks/dsLoadingStyles-lw20OWhs.js +15 -0
- package/dist/chunks/dsModalStyles-DovGcwjh.js +38 -0
- package/dist/chunks/dsSelectStyles-BCrj5Fty.js +40 -0
- package/dist/chunks/{en-CKkdzd7q.js → en-BkL6iabg.js} +3 -1
- package/dist/chunks/{es-CPXSlGMa.js → es-Dh_K9iry.js} +3 -1
- package/dist/chunks/{fileValidation-gR8aUBMZ.js → fileValidation-LFD-vwil.js} +1 -1
- package/dist/chunks/{granularityI18n-DBuOHekC.js → granularityI18n-DYNnonoE.js} +1 -1
- package/dist/chunks/{ru-D7AyvUyA.js → ru-kTbw8Tku.js} +3 -1
- package/dist/chunks/safelist-CQOSs_yj.js +13 -0
- package/dist/chunks/safelist-Gujf4bDO.js +22 -0
- package/dist/chunks/shared-DGhcuSCh.js +124 -0
- package/dist/chunks/{transition-CT9vsWnT.js → transition-BJXMi52x.js} +218 -218
- package/dist/{chunks/DsAlert-r_Ed-JrB.js → components/DsAlert/chunks/DsAlert-2ItscoqG.js} +3 -3
- package/dist/components/DsAlert/index.js +3 -3
- package/dist/{chunks/DsAvatar-cyMI8jUi.js → components/DsAvatar/chunks/DsAvatar-D7tQ9wfl.js} +1 -1
- package/dist/components/DsAvatar/index.js +2 -2
- package/dist/{chunks/DsBadge-Dnd7_I-K.js → components/DsBadge/chunks/DsBadge-B9aZxvZb.js} +1 -1
- package/dist/components/DsBadge/index.js +3 -4
- package/dist/components/DsBadgeWrap/index.js +3 -3
- package/dist/components/DsBottomNav/index.js +3 -3
- package/dist/{chunks/DsButton-CA18Fha-.js → components/DsButton/chunks/DsButton-9cB_fHZt.js} +6 -6
- package/dist/components/DsButton/index.js +5 -4
- package/dist/{chunks/DsButtonGroup-Ceat9ADe.js → components/DsButtonGroup/chunks/DsButtonGroup-DPK1W3Hk.js} +1 -1
- package/dist/components/DsButtonGroup/index.js +3 -3
- package/dist/{chunks/DsCard-GtapCsjq.js → components/DsCard/chunks/DsCard-Bnelx1JF.js} +1 -1
- package/dist/components/DsCard/index.js +3 -3
- package/dist/components/DsCheckbox/chunks/DsCheckbox-B3YN7RYo.js +111 -0
- package/dist/components/DsCheckbox/index.js +3 -3
- package/dist/components/DsCollapse/chunks/DsCollapse-7D6FTuFJ.js +150 -0
- package/dist/components/DsCollapse/index.js +3 -3
- package/dist/components/DsConfirmDialog/chunks/DsConfirmDialog-NkhfmD4Y.js +111 -0
- package/dist/components/DsConfirmDialog/index.js +3 -3
- package/dist/components/DsDataTable/chunks/DsDataTable-nK4XgT1y.js +142 -0
- package/dist/components/DsDataTable/index.js +3 -3
- package/dist/components/DsDialog/chunks/DsDialog-BH23MSq-.js +169 -0
- package/dist/components/DsDialog/index.js +4 -3
- package/dist/components/DsDrawer/chunks/DsDrawer-GW4JyPf_.js +135 -0
- package/dist/components/DsDrawer/index.js +2 -2
- package/dist/{chunks/DsDropdown-BcFjxaMe.js → components/DsDropdown/chunks/DsDropdown-DmR1NWyV.js} +54 -50
- package/dist/components/DsDropdown/index.js +3 -4
- package/dist/{chunks/DsDropdownMenu-CA7259h5.js → components/DsDropdownMenu/chunks/DsDropdownMenu-BlpO8mUO.js} +45 -30
- package/dist/components/DsDropdownMenu/index.js +3 -3
- package/dist/components/DsEmptyState/chunks/DsEmptyState-tKYwSiP1.js +49 -0
- package/dist/components/DsEmptyState/index.js +3 -3
- package/dist/components/DsFileUpload/chunks/DsFileUpload-Dya9vyG0.js +294 -0
- package/dist/components/DsFileUpload/index.js +4 -4
- package/dist/components/DsFormField/index.js +3 -3
- package/dist/components/DsFormFile/chunks/DsFormFile-BFfRuM1G.js +248 -0
- package/dist/components/DsFormFile/index.js +3 -3
- package/dist/components/DsFormSection/chunks/DsFormSection-Dzspqv9R.js +27 -0
- package/dist/components/DsFormSection/index.js +3 -3
- package/dist/components/DsIcon/chunks/DsIcon-Bk6qc4Kh.js +25 -0
- package/dist/components/DsIcon/index.js +3 -3
- package/dist/{chunks/DsImageViewer-C9NZ42St.js → components/DsImageViewer/chunks/DsImageViewer-_LWdAHAd.js} +109 -100
- package/dist/components/DsImageViewer/index.js +3 -3
- package/dist/{chunks/DsInput-DeoAkT6R.js → components/DsInput/chunks/DsInput-B8RhHkKQ.js} +52 -53
- package/dist/components/DsInput/index.js +2 -2
- package/dist/components/DsInputTag/chunks/DsInputTag-DVmvJ0A_.js +214 -0
- package/dist/components/DsInputTag/index.js +2 -2
- package/dist/components/DsLink/chunks/DsLink-DXClMbuX.js +59 -0
- package/dist/components/DsLink/index.js +2 -2
- package/dist/components/DsList/chunks/DsList-BEuPowc2.js +55 -0
- package/dist/components/DsList/index.js +3 -3
- package/dist/{chunks/DsLoading-ogfmbPE4.js → components/DsLoading/chunks/DsLoading-uYpDF-nK.js} +14 -14
- package/dist/components/DsLoading/index.js +3 -4
- package/dist/components/DsModal/chunks/DsModal-B2DLXV7F.js +136 -0
- package/dist/components/DsModal/index.js +4 -4
- package/dist/components/DsNavbar/chunks/DsNavbar-O-ud_du_.js +62 -0
- package/dist/components/DsNavbar/index.js +3 -3
- package/dist/{chunks/DsNumberInput-D-m5QoQJ.js → components/DsNumberInput/chunks/DsNumberInput-BJTpcTRc.js} +70 -56
- package/dist/components/DsNumberInput/index.js +2 -2
- package/dist/{chunks/DsPagination-B28ms0hc.js → components/DsPagination/chunks/DsPagination-hw_-VMRK.js} +33 -21
- package/dist/components/DsPagination/index.js +3 -3
- package/dist/{chunks/DsProgressBar-Bkuqudkg.js → components/DsProgressBar/chunks/DsProgressBar-CgIQj39W.js} +4 -2
- package/dist/components/DsProgressBar/index.js +2 -2
- package/dist/{chunks/DsPromptDialog-DdSca52S.js → components/DsPromptDialog/chunks/DsPromptDialog-_8v3Puaj.js} +42 -17
- package/dist/components/DsPromptDialog/index.js +3 -3
- package/dist/{chunks/DsRadio-x2vmEUCv.js → components/DsRadio/chunks/DsRadio-DKbrUFUZ.js} +21 -15
- package/dist/components/DsRadio/index.js +2 -2
- package/dist/{chunks/DsRadioGroup-CzlzJF2E.js → components/DsRadioGroup/chunks/DsRadioGroup-BQo7Nc5-.js} +13 -10
- package/dist/components/DsRadioGroup/index.js +3 -3
- package/dist/components/DsSegmented/chunks/DsSegmented-SbqzdCNX.js +250 -0
- package/dist/components/DsSegmented/index.js +2 -2
- package/dist/components/DsSelect/chunks/DsSelect-DN-vZIEG.js +314 -0
- package/dist/components/DsSelect/index.js +3 -4
- package/dist/components/DsSidebar/chunks/DsSidebar-DdofI1lo.js +29 -0
- package/dist/components/DsSidebar/index.js +3 -3
- package/dist/{chunks/DsSkeleton-BcXabaQ7.js → components/DsSkeleton/chunks/DsSkeleton-DJSQ4gGR.js} +9 -9
- package/dist/components/DsSkeleton/index.js +3 -3
- package/dist/{chunks/DsSwitch-DBdjltGz.js → components/DsSwitch/chunks/DsSwitch-Dh4_bd6e.js} +8 -4
- package/dist/components/DsSwitch/index.js +2 -2
- package/dist/components/DsTable/chunks/DsTable-C27_FR_h.js +44 -0
- package/dist/components/DsTable/index.js +3 -3
- package/dist/components/DsTabs/chunks/DsTabs-FLWaGtbo.js +98 -0
- package/dist/components/DsTabs/index.js +3 -3
- package/dist/{chunks/DsTextarea-DVSsoqi3.js → components/DsTextarea/chunks/DsTextarea-D61wwTwK.js} +10 -9
- package/dist/components/DsTextarea/index.js +2 -2
- package/dist/components/DsToaster/chunks/DsToaster-KO8wZChw.js +159 -0
- package/dist/components/DsToaster/index.js +2 -2
- package/dist/components/DsTooltip/chunks/DsTooltip-BNkQOtpm.js +37 -0
- package/dist/components/DsTooltip/index.js +3 -3
- package/dist/{chunks/DsTree-Bz37FcIb.js → components/DsTree/chunks/DsTree-DK0aOkKS.js} +19 -7
- package/dist/components/DsTree/index.js +2 -2
- package/dist/components/DsTreeSelect/chunks/DsTreeSelect-BnG-oplE.js +353 -0
- package/dist/components/DsTreeSelect/index.js +2 -2
- package/dist/directives/index.js +2 -0
- package/dist/{fileValidation.js → fileValidation/index.js} +1 -1
- package/dist/granular-provider-node.js +23 -0
- package/dist/granular-provider.js +5 -0
- package/dist/i18n/index.js +9 -0
- package/dist/index.js +147 -115
- package/dist/types/src/components/DsAlert/config.d.ts +1 -1
- package/dist/types/src/components/DsAlert/index.d.ts +0 -1
- package/dist/types/src/components/DsAvatar/config.d.ts +1 -1
- package/dist/types/src/components/DsAvatar/dsAvatarStyles.d.ts +1 -4
- package/dist/types/src/components/DsAvatar/safelist.d.ts +4 -1
- package/dist/types/src/components/DsBadge/config.d.ts +1 -1
- package/dist/types/src/components/DsBadge/dsBadgeStyles.d.ts +4 -1
- package/dist/types/src/components/DsBadge/safelist.d.ts +1 -1
- package/dist/types/src/components/DsBadgeWrap/config.d.ts +1 -1
- package/dist/types/src/components/DsBadgeWrap/index.d.ts +0 -1
- package/dist/types/src/components/DsBottomNav/config.d.ts +1 -1
- package/dist/types/src/components/DsBottomNav/index.d.ts +0 -1
- package/dist/types/src/components/DsButton/config.d.ts +1 -1
- package/dist/types/src/components/DsButton/config.node.d.ts +1 -0
- package/dist/types/src/components/DsButton/dsButtonStyles.d.ts +20 -10
- package/dist/types/src/components/DsButton/index.d.ts +2 -1
- package/dist/types/src/components/DsButton/safelist.d.ts +7 -1
- package/dist/types/src/components/DsButtonGroup/config.d.ts +1 -1
- package/dist/types/src/components/DsButtonGroup/index.d.ts +0 -1
- package/dist/types/src/components/DsCard/config.d.ts +1 -1
- package/dist/types/src/components/DsCard/index.d.ts +0 -1
- package/dist/types/src/components/DsCheckbox/DsCheckbox.vue.d.ts +9 -4
- package/dist/types/src/components/DsCheckbox/config.d.ts +1 -1
- package/dist/types/src/components/DsCheckbox/index.d.ts +1 -1
- package/dist/types/src/components/DsCollapse/DsCollapse.vue.d.ts +12 -4
- package/dist/types/src/components/DsCollapse/DsCollapseItem.vue.d.ts +13 -6
- package/dist/types/src/components/DsCollapse/config.d.ts +1 -1
- package/dist/types/src/components/DsCollapse/index.d.ts +2 -3
- package/dist/types/src/components/DsConfirmDialog/DsConfirmDialog.vue.d.ts +32 -11
- package/dist/types/src/components/DsConfirmDialog/config.d.ts +1 -1
- package/dist/types/src/components/DsConfirmDialog/index.d.ts +1 -1
- package/dist/types/src/components/DsDataTable/DsDataTable.vue.d.ts +35 -42
- package/dist/types/src/components/DsDataTable/config.d.ts +1 -1
- package/dist/types/src/components/DsDataTable/index.d.ts +1 -2
- package/dist/types/src/components/DsDialog/DsDialog.vue.d.ts +24 -14
- package/dist/types/src/components/DsDialog/DsDialogFooter.vue.d.ts +4 -4
- package/dist/types/src/components/DsDialog/DsDialogHeader.vue.d.ts +9 -4
- package/dist/types/src/components/DsDialog/config.d.ts +1 -1
- package/dist/types/src/components/DsDialog/dialogShared.d.ts +6 -1
- package/dist/types/src/components/DsDialog/index.d.ts +6 -3
- package/dist/types/src/components/DsDrawer/DsDrawer.vue.d.ts +27 -11
- package/dist/types/src/components/DsDrawer/config.d.ts +1 -1
- package/dist/types/src/components/DsDrawer/dsDrawerStyles.d.ts +8 -19
- package/dist/types/src/components/DsDrawer/index.d.ts +2 -0
- package/dist/types/src/components/DsDrawer/safelist.d.ts +1 -1
- package/dist/types/src/components/DsDropdown/DsDropdown.vue.d.ts +9 -4
- package/dist/types/src/components/DsDropdown/config.d.ts +1 -1
- package/dist/types/src/components/DsDropdown/dsDropdownStyles.d.ts +2 -1
- package/dist/types/src/components/DsDropdown/index.d.ts +2 -0
- package/dist/types/src/components/DsDropdown/safelist.d.ts +1 -1
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenu.vue.d.ts +12 -4
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuColumn.vue.d.ts +7 -6
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuColumns.vue.d.ts +4 -4
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuDivider.vue.d.ts +4 -4
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuGroup.vue.d.ts +4 -4
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuHeader.vue.d.ts +4 -4
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuItem.vue.d.ts +4 -4
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuList.vue.d.ts +4 -4
- package/dist/types/src/components/DsDropdownMenu/config.d.ts +1 -1
- package/dist/types/src/components/DsDropdownMenu/index.d.ts +8 -4
- package/dist/types/src/components/DsEmptyState/DsEmptyState.vue.d.ts +15 -6
- package/dist/types/src/components/DsEmptyState/config.d.ts +1 -1
- package/dist/types/src/components/DsEmptyState/index.d.ts +1 -1
- package/dist/types/src/components/DsFileUpload/DsFileUpload.vue.d.ts +21 -8
- package/dist/types/src/components/DsFileUpload/config.d.ts +1 -1
- package/dist/types/src/components/DsFileUpload/index.d.ts +1 -1
- package/dist/types/src/components/DsFormField/config.d.ts +1 -1
- package/dist/types/src/components/DsFormField/index.d.ts +1 -1
- package/dist/types/src/components/DsFormFile/DsFormFile.vue.d.ts +13 -7
- package/dist/types/src/components/DsFormFile/config.d.ts +1 -1
- package/dist/types/src/components/DsFormFile/index.d.ts +1 -2
- package/dist/types/src/components/DsFormSection/DsFormSection.vue.d.ts +10 -4
- package/dist/types/src/components/DsFormSection/config.d.ts +1 -1
- package/dist/types/src/components/DsFormSection/index.d.ts +1 -1
- package/dist/types/src/components/DsIcon/DsIcon.vue.d.ts +1 -2
- package/dist/types/src/components/DsIcon/config.d.ts +1 -1
- package/dist/types/src/components/DsIcon/index.d.ts +0 -2
- package/dist/types/src/components/DsImageViewer/DsImageViewer.vue.d.ts +45 -0
- package/dist/types/src/components/DsImageViewer/config.d.ts +1 -1
- package/dist/types/src/components/DsImageViewer/index.d.ts +0 -1
- package/dist/types/src/components/DsInput/config.d.ts +1 -1
- package/dist/types/src/components/DsInput/dsInputStyles.d.ts +17 -1
- package/dist/types/src/components/DsInput/index.d.ts +1 -1
- package/dist/types/src/components/DsInput/safelist.d.ts +1 -0
- package/dist/types/src/components/DsInputTag/DsInputTag.vue.d.ts +15 -5
- package/dist/types/src/components/DsInputTag/config.d.ts +1 -1
- package/dist/types/src/components/DsInputTag/dsInputTagStyles.d.ts +3 -1
- package/dist/types/src/components/DsInputTag/index.d.ts +1 -0
- package/dist/types/src/components/DsInputTag/safelist.d.ts +1 -1
- package/dist/types/src/components/DsLink/DsLink.vue.d.ts +0 -1
- package/dist/types/src/components/DsLink/config.d.ts +1 -1
- package/dist/types/src/components/DsLink/dsLinkStyles.d.ts +6 -1
- package/dist/types/src/components/DsLink/safelist.d.ts +1 -1
- package/dist/types/src/components/DsList/DsList.vue.d.ts +8 -5
- package/dist/types/src/components/DsList/DsListItem.vue.d.ts +39 -6
- package/dist/types/src/components/DsList/config.d.ts +1 -1
- package/dist/types/src/components/DsList/index.d.ts +2 -1
- package/dist/types/src/components/DsLoading/DsLoading.vue.d.ts +18 -5
- package/dist/types/src/components/DsLoading/config.d.ts +1 -1
- package/dist/types/src/components/DsLoading/dsLoadingStyles.d.ts +6 -1
- package/dist/types/src/components/DsLoading/index.d.ts +1 -0
- package/dist/types/src/components/DsLoading/safelist.d.ts +1 -1
- package/dist/types/src/components/DsModal/DsModal.vue.d.ts +17 -10
- package/dist/types/src/components/DsModal/config.d.ts +1 -1
- package/dist/types/src/components/DsModal/dsModalStyles.d.ts +25 -16
- package/dist/types/src/components/DsModal/index.d.ts +4 -2
- package/dist/types/src/components/DsModal/safelist.d.ts +15 -1
- package/dist/types/src/components/DsNavbar/DsNavbar.vue.d.ts +15 -7
- package/dist/types/src/components/DsNavbar/config.d.ts +1 -1
- package/dist/types/src/components/DsNavbar/index.d.ts +1 -1
- package/dist/types/src/components/DsNumberInput/DsNumberInput.vue.d.ts +17 -5
- package/dist/types/src/components/DsNumberInput/config.d.ts +1 -1
- package/dist/types/src/components/DsNumberInput/dsNumberInputStyles.d.ts +5 -1
- package/dist/types/src/components/DsNumberInput/index.d.ts +2 -1
- package/dist/types/src/components/DsNumberInput/safelist.d.ts +1 -1
- package/dist/types/src/components/DsPagination/DsPagination.vue.d.ts +10 -4
- package/dist/types/src/components/DsPagination/config.d.ts +1 -1
- package/dist/types/src/components/DsPagination/index.d.ts +1 -2
- package/dist/types/src/components/DsProgressBar/DsProgressBar.vue.d.ts +11 -4
- package/dist/types/src/components/DsProgressBar/config.d.ts +1 -1
- package/dist/types/src/components/DsProgressBar/config.node.d.ts +1 -0
- package/dist/types/src/components/DsProgressBar/dsStyle.d.ts +0 -4
- package/dist/types/src/components/DsProgressBar/index.d.ts +2 -1
- package/dist/types/src/components/DsProgressBar/safelist.d.ts +4 -1
- package/dist/types/src/components/DsPromptDialog/DsPromptDialog.vue.d.ts +33 -7
- package/dist/types/src/components/DsPromptDialog/config.d.ts +1 -1
- package/dist/types/src/components/DsPromptDialog/index.d.ts +1 -1
- package/dist/types/src/components/DsRadio/DsRadio.vue.d.ts +18 -6
- package/dist/types/src/components/DsRadio/config.d.ts +1 -1
- package/dist/types/src/components/DsRadio/dsRadioStyles.d.ts +9 -2
- package/dist/types/src/components/DsRadio/index.d.ts +1 -1
- package/dist/types/src/components/DsRadio/safelist.d.ts +1 -1
- package/dist/types/src/components/DsRadioGroup/DsRadioGroup.vue.d.ts +16 -6
- package/dist/types/src/components/DsRadioGroup/config.d.ts +1 -1
- package/dist/types/src/components/DsRadioGroup/index.d.ts +1 -2
- package/dist/types/src/components/DsSegmented/DsSegmented.vue.d.ts +10 -4
- package/dist/types/src/components/DsSegmented/config.d.ts +1 -1
- package/dist/types/src/components/DsSegmented/dsSegmentedStyles.d.ts +13 -17
- package/dist/types/src/components/DsSegmented/index.d.ts +1 -0
- package/dist/types/src/components/DsSegmented/safelist.d.ts +17 -1
- package/dist/types/src/components/DsSelect/DsSelect.vue.d.ts +13 -5
- package/dist/types/src/components/DsSelect/config.d.ts +1 -1
- package/dist/types/src/components/DsSelect/dsSelectStyles.d.ts +5 -1
- package/dist/types/src/components/DsSelect/index.d.ts +1 -1
- package/dist/types/src/components/DsSelect/safelist.d.ts +1 -1
- package/dist/types/src/components/DsSidebar/DsSidebar.vue.d.ts +20 -7
- package/dist/types/src/components/DsSidebar/config.d.ts +1 -1
- package/dist/types/src/components/DsSidebar/index.d.ts +1 -2
- package/dist/types/src/components/DsSkeleton/DsSkeleton.vue.d.ts +10 -4
- package/dist/types/src/components/DsSkeleton/config.d.ts +1 -1
- package/dist/types/src/components/DsSkeleton/index.d.ts +1 -2
- package/dist/types/src/components/DsSwitch/DsSwitch.vue.d.ts +10 -5
- package/dist/types/src/components/DsSwitch/config.d.ts +1 -1
- package/dist/types/src/components/DsSwitch/dsSwitchStyles.d.ts +10 -10
- package/dist/types/src/components/DsSwitch/index.d.ts +1 -1
- package/dist/types/src/components/DsSwitch/safelist.d.ts +10 -1
- package/dist/types/src/components/DsTable/DsTable.vue.d.ts +67 -4
- package/dist/types/src/components/DsTable/config.d.ts +1 -1
- package/dist/types/src/components/DsTable/index.d.ts +1 -1
- package/dist/types/src/components/DsTabs/DsTabs.vue.d.ts +4 -3
- package/dist/types/src/components/DsTabs/config.d.ts +1 -1
- package/dist/types/src/components/DsTabs/index.d.ts +1 -2
- package/dist/types/src/components/DsTextarea/DsTextarea.vue.d.ts +16 -1
- package/dist/types/src/components/DsTextarea/config.d.ts +1 -1
- package/dist/types/src/components/DsTextarea/dsTextareaStyles.d.ts +1 -1
- package/dist/types/src/components/DsTextarea/index.d.ts +1 -0
- package/dist/types/src/components/DsTextarea/safelist.d.ts +1 -1
- package/dist/types/src/components/DsToaster/DsToaster.vue.d.ts +41 -1
- package/dist/types/src/components/DsToaster/config.d.ts +1 -1
- package/dist/types/src/components/DsToaster/dsToasterStyles.d.ts +2 -0
- package/dist/types/src/components/DsToaster/index.d.ts +2 -0
- package/dist/types/src/components/DsToaster/safelist.d.ts +1 -1
- package/dist/types/src/components/DsTooltip/DsTooltip.vue.d.ts +5 -4
- package/dist/types/src/components/DsTooltip/config.d.ts +1 -1
- package/dist/types/src/components/DsTooltip/index.d.ts +1 -1
- package/dist/types/src/components/DsTree/config.d.ts +1 -1
- package/dist/types/src/components/DsTree/dsTreeProps.d.ts +6 -0
- package/dist/types/src/components/DsTree/safelist.d.ts +1 -1
- package/dist/types/src/components/DsTreeSelect/DsTreeSelect.vue.d.ts +3 -27
- package/dist/types/src/components/DsTreeSelect/config.d.ts +1 -1
- package/dist/types/src/components/DsTreeSelect/dsTreeSelectStyles.d.ts +2 -1
- package/dist/types/src/components/DsTreeSelect/dsTreeSelectTypes.d.ts +31 -1
- package/dist/types/src/components/DsTreeSelect/index.d.ts +1 -1
- package/dist/types/src/components/DsTreeSelect/safelist.d.ts +1 -1
- package/dist/types/src/composables/useToast.d.ts +4 -0
- package/dist/types/src/directives/globalDirectives.d.ts +1 -1
- package/dist/types/src/granular-provider/index.d.ts +3 -0
- package/dist/types/src/granular-provider/node.d.ts +3 -0
- package/dist/types/src/granular-provider/shared.d.ts +85 -0
- package/dist/types/src/i18n/messages.d.ts +12 -0
- package/dist/types/src/index.d.ts +11 -16
- package/dist/{vue.js → vue/index.js} +6 -2
- package/package.json +72 -142
- package/dist/assets/granularity-2oOxNk_f.css +0 -2
- package/dist/chunks/DsCheckbox-Afg94qUm.js +0 -101
- package/dist/chunks/DsCollapse-DWfip4gp.js +0 -144
- package/dist/chunks/DsConfirmDialog-DdUrG-DW.js +0 -87
- package/dist/chunks/DsDataTable-DgBkEgDK.js +0 -91
- package/dist/chunks/DsDialog-BAGAa9DN.js +0 -178
- package/dist/chunks/DsDrawer-gmVF_0I0.js +0 -112
- package/dist/chunks/DsEmptyState-BdLoQ0-z.js +0 -46
- package/dist/chunks/DsFileUpload-IwtpKocj.js +0 -282
- package/dist/chunks/DsFormFile-C5ldcCAs.js +0 -219
- package/dist/chunks/DsFormSection-DmIDIQg7.js +0 -18
- package/dist/chunks/DsIcon-Q-KQGAQU.js +0 -25
- package/dist/chunks/DsInputTag-DWip_-Cr.js +0 -201
- package/dist/chunks/DsLink-CWpVQ0ij.js +0 -56
- package/dist/chunks/DsList-XI8AAk9b.js +0 -31
- package/dist/chunks/DsModal-Bl9r6v33.js +0 -75
- package/dist/chunks/DsNavbar-DJ4bv_MR.js +0 -54
- package/dist/chunks/DsSegmented-BwQ8VnOZ.js +0 -250
- package/dist/chunks/DsSelect-DEHGeICn.js +0 -304
- package/dist/chunks/DsSidebar-BNLaBCYD.js +0 -18
- package/dist/chunks/DsTable-apqrsbxV.js +0 -10
- package/dist/chunks/DsTabs-B1kkklFS.js +0 -47
- package/dist/chunks/DsToaster-B9u2x_Ii.js +0 -48
- package/dist/chunks/DsTooltip-BqNVJw2f.js +0 -27
- package/dist/chunks/DsTreeSelect-CU0aC9Mz.js +0 -319
- package/dist/chunks/componentConfig-CQndJxd1.js +0 -14
- package/dist/chunks/config-4vrmi-D0.js +0 -9
- package/dist/chunks/config-ANT_Zf3l.js +0 -18
- package/dist/chunks/config-B7HAOCA1.js +0 -33
- package/dist/chunks/config-B7yrZO9u.js +0 -18
- package/dist/chunks/config-B98-jCfY.js +0 -9
- package/dist/chunks/config-BDJ2JaFs.js +0 -9
- package/dist/chunks/config-BEzNFZ_R.js +0 -10
- package/dist/chunks/config-BKpHj94n.js +0 -13
- package/dist/chunks/config-BLYxW-WQ.js +0 -9
- package/dist/chunks/config-BS0vLD_L.js +0 -41
- package/dist/chunks/config-BXlW2GSa.js +0 -33
- package/dist/chunks/config-BY6edpDp.js +0 -9
- package/dist/chunks/config-BZDKypuQ.js +0 -8
- package/dist/chunks/config-BeJEy8yN.js +0 -9
- package/dist/chunks/config-BnryTLnh.js +0 -47
- package/dist/chunks/config-BqaCteFh2.js +0 -9
- package/dist/chunks/config-BusLdkqX.js +0 -8
- package/dist/chunks/config-CBo4aVMV.js +0 -8
- package/dist/chunks/config-CLyDbB2M.js +0 -14
- package/dist/chunks/config-CML-WrGM.js +0 -10
- package/dist/chunks/config-CVEwIRRR.js +0 -30
- package/dist/chunks/config-Ch0TH9wN.js +0 -42
- package/dist/chunks/config-ClPYX-LP.js +0 -24
- package/dist/chunks/config-DA3cYUSo.js +0 -8
- package/dist/chunks/config-DAiP4yeJ.js +0 -8
- package/dist/chunks/config-DG_de8vE.js +0 -15
- package/dist/chunks/config-DIgvSIEs.js +0 -9
- package/dist/chunks/config-DJ7xDo-q.js +0 -16
- package/dist/chunks/config-DSFnRpu82.js +0 -19
- package/dist/chunks/config-DVHe_id-.js +0 -22
- package/dist/chunks/config-DoT3gzx7.js +0 -9
- package/dist/chunks/config-DuaBaVyF.js +0 -34
- package/dist/chunks/config-F4Bb6hVJ.js +0 -30
- package/dist/chunks/config-aUoIf7kK.js +0 -28
- package/dist/chunks/config-cKk87ycz2.js +0 -14
- package/dist/chunks/config-kfb3OyGZ.js +0 -24
- package/dist/chunks/config-oDjY8ZrP2.js +0 -8
- package/dist/chunks/config-panSV6Wo.js +0 -9
- package/dist/chunks/dsDialogStyles-C7QOvzmt.js +0 -11
- package/dist/chunks/dsFormFieldStyles-DspgXEqY.js +0 -9
- package/dist/chunks/dsLoadingStyles-B2ScgHwn.js +0 -16
- package/dist/chunks/dsModalStyles-C7E5kJ1o.js +0 -54
- package/dist/chunks/dsSelectStyles-Bym0uW4f.js +0 -82
- package/dist/chunks/preset-DBXBjf5u.js +0 -2235
- package/dist/components/DsAlert/styles.css +0 -386
- package/dist/components/DsAvatar/styles.css +0 -373
- package/dist/components/DsBadge/styles.css +0 -422
- package/dist/components/DsBadgeWrap/styles.css +0 -378
- package/dist/components/DsBottomNav/styles.css +0 -388
- package/dist/components/DsButton/styles.css +0 -633
- package/dist/components/DsButton/tokens.css +0 -96
- package/dist/components/DsButtonGroup/styles.css +0 -23
- package/dist/components/DsCard/styles.css +0 -365
- package/dist/components/DsCheckbox/styles.css +0 -394
- package/dist/components/DsCollapse/styles.css +0 -399
- package/dist/components/DsConfirmDialog/styles.css +0 -595
- package/dist/components/DsDataTable/styles.css +0 -387
- package/dist/components/DsDialog/styles.css +0 -592
- package/dist/components/DsDrawer/styles.css +0 -579
- package/dist/components/DsDropdown/styles.css +0 -392
- package/dist/components/DsDropdownMenu/styles.css +0 -430
- package/dist/components/DsEmptyState/styles.css +0 -380
- package/dist/components/DsFileUpload/styles.css +0 -403
- package/dist/components/DsFormField/styles.css +0 -365
- package/dist/components/DsFormFile/styles.css +0 -555
- package/dist/components/DsFormSection/styles.css +0 -365
- package/dist/components/DsIcon/styles.css +0 -20
- package/dist/components/DsIcon/tokens.css +0 -3
- package/dist/components/DsImageViewer/styles.css +0 -465
- package/dist/components/DsInput/styles.css +0 -416
- package/dist/components/DsInputTag/styles.css +0 -498
- package/dist/components/DsLink/styles.css +0 -390
- package/dist/components/DsList/styles.css +0 -376
- package/dist/components/DsLoading/styles.css +0 -381
- package/dist/components/DsModal/styles.css +0 -404
- package/dist/components/DsNavbar/styles.css +0 -549
- package/dist/components/DsNumberInput/styles.css +0 -428
- package/dist/components/DsPagination/styles.css +0 -637
- package/dist/components/DsProgressBar/styles.css +0 -398
- package/dist/components/DsProgressBar/tokens.css +0 -23
- package/dist/components/DsPromptDialog/styles.css +0 -622
- package/dist/components/DsRadio/styles.css +0 -558
- package/dist/components/DsRadioGroup/styles.css +0 -560
- package/dist/components/DsSegmented/styles.css +0 -422
- package/dist/components/DsSegmented/tokens.css +0 -9
- package/dist/components/DsSelect/styles.css +0 -483
- package/dist/components/DsSidebar/styles.css +0 -370
- package/dist/components/DsSkeleton/styles.css +0 -363
- package/dist/components/DsSwitch/styles.css +0 -393
- package/dist/components/DsTable/styles.css +0 -369
- package/dist/components/DsTabs/styles.css +0 -390
- package/dist/components/DsTextarea/styles.css +0 -382
- package/dist/components/DsToaster/styles.css +0 -558
- package/dist/components/DsTooltip/styles.css +0 -388
- package/dist/components/DsTree/styles.css +0 -375
- package/dist/components/DsTreeSelect/styles.css +0 -466
- package/dist/composables/useTheme.js +0 -44
- package/dist/composables/useToast.js +0 -37
- package/dist/directives/autofocus.js +0 -46
- package/dist/directives/autosize.js +0 -62
- package/dist/directives/clickOutside.js +0 -82
- package/dist/directives/dropzone.js +0 -110
- package/dist/directives/globalDirectives.js +0 -0
- package/dist/directives/hotkey.js +0 -104
- package/dist/directives/loading.js +0 -125
- package/dist/directives.js +0 -7
- package/dist/foundation.css +0 -358
- package/dist/i18n.js +0 -9
- package/dist/package.json +0 -297
- package/dist/styles/base.css +0 -33
- package/dist/styles/themes/dark.css +0 -102
- package/dist/styles/themes/light.css +0 -98
- package/dist/styles/tokens.css +0 -118
- package/dist/styles.css +0 -1134
- package/dist/types/src/components/DsAlert/safelist.d.ts +0 -1
- package/dist/types/src/components/DsBadgeWrap/safelist.d.ts +0 -1
- package/dist/types/src/components/DsBottomNav/safelist.d.ts +0 -1
- package/dist/types/src/components/DsButton/styles.css.d.ts +0 -4
- package/dist/types/src/components/DsButtonGroup/safelist.d.ts +0 -1
- package/dist/types/src/components/DsButtonGroup/styles.css.d.ts +0 -3
- package/dist/types/src/components/DsCard/safelist.d.ts +0 -1
- package/dist/types/src/components/DsCheckbox/safelist.d.ts +0 -1
- package/dist/types/src/components/DsCollapse/safelist.d.ts +0 -1
- package/dist/types/src/components/DsConfirmDialog/safelist.d.ts +0 -1
- package/dist/types/src/components/DsDataTable/safelist.d.ts +0 -1
- package/dist/types/src/components/DsDropdownMenu/safelist.d.ts +0 -1
- package/dist/types/src/components/DsEmptyState/safelist.d.ts +0 -1
- package/dist/types/src/components/DsFileUpload/safelist.d.ts +0 -1
- package/dist/types/src/components/DsFormField/dsFormFieldStyles.d.ts +0 -1
- package/dist/types/src/components/DsFormFile/safelist.d.ts +0 -1
- package/dist/types/src/components/DsFormSection/safelist.d.ts +0 -1
- package/dist/types/src/components/DsIcon/dsIconStyles.d.ts +0 -2
- package/dist/types/src/components/DsIcon/styles.css.d.ts +0 -5
- package/dist/types/src/components/DsImageViewer/safelist.d.ts +0 -1
- package/dist/types/src/components/DsList/safelist.d.ts +0 -1
- package/dist/types/src/components/DsModal/styles.css.d.ts +0 -3
- package/dist/types/src/components/DsNavbar/safelist.d.ts +0 -1
- package/dist/types/src/components/DsPagination/safelist.d.ts +0 -1
- package/dist/types/src/components/DsPromptDialog/safelist.d.ts +0 -1
- package/dist/types/src/components/DsPromptDialog/styles.css.d.ts +0 -1
- package/dist/types/src/components/DsRadioGroup/safelist.d.ts +0 -1
- package/dist/types/src/components/DsSelect/styles.css.d.ts +0 -1
- package/dist/types/src/components/DsSidebar/safelist.d.ts +0 -1
- package/dist/types/src/components/DsSkeleton/safelist.d.ts +0 -1
- package/dist/types/src/components/DsTable/safelist.d.ts +0 -1
- package/dist/types/src/components/DsTabs/safelist.d.ts +0 -1
- package/dist/types/src/components/DsTooltip/safelist.d.ts +0 -1
- package/dist/types/src/registry/componentConfig.d.ts +0 -17
- package/dist/types/src/registry/componentCss.d.ts +0 -3
- package/dist/types/src/registry/componentCss.node.d.ts +0 -5
- package/dist/types/src/registry/components.d.ts +0 -56
- package/dist/types/src/registry/safelist.d.ts +0 -11
- package/dist/types/src/theming/themeRegistry.d.ts +0 -19
- package/dist/types/src/theming/themeRegistry.node.d.ts +0 -14
- package/dist/types/src/unocss/preset.d.ts +0 -18
- package/dist/types/src/unocss/preset.node.d.ts +0 -15
- package/dist/types/src/unocss/rules/animation.d.ts +0 -3
- package/dist/types/src/unocss/rules/colorOpacity.d.ts +0 -2
- package/dist/types/src/unocss/rules/filters.d.ts +0 -8
- package/dist/types/src/unocss/rules/spacing.d.ts +0 -8
- package/dist/uno-node.js +0 -103
- package/dist/uno.js +0 -2
- package/web-types.json +0 -100
- /package/dist/chunks/{_plugin-vue_export-helper-DOgycIVc.js → _plugin-vue_export-helper-CHO2XVys.js} +0 -0
- /package/dist/chunks/{adapter-BKKNB3Ii.js → adapter-veOBOjv3.js} +0 -0
- /package/dist/chunks/{arrow-up-B4OlmAKz.js → arrow-up-Dv3dC3hu.js} +0 -0
- /package/dist/chunks/{info-CmLOtVnO.js → info-CNJnuTYC.js} +0 -0
- /package/dist/chunks/{loader-circle-DtXjkqR7.js → loader-circle-C5vCCMfB.js} +0 -0
- /package/dist/chunks/{x-dGjszOU2.js → x--kxrj3ez.js} +0 -0
- /package/dist/chunks/{x-circle-BZnfL2nz.js → x-circle-ChJ87u1v.js} +0 -0
- /package/dist/{chunks/DsBadgeWrap-UgP-TMdA.js → components/DsBadgeWrap/chunks/DsBadgeWrap-DO8TjFYg.js} +0 -0
- /package/dist/{chunks/DsBottomNav-Dze5cFVz.js → components/DsBottomNav/chunks/DsBottomNav-NRtHfcmQ.js} +0 -0
- /package/dist/{chunks/DsFormField-XVZK7YVU.js → components/DsFormField/chunks/DsFormField-QvWyAReX.js} +0 -0
- /package/dist/types/src/components/DsDialog/{dsDialogStyles.d.ts → safelist.d.ts} +0 -0
|
@@ -172,7 +172,7 @@ function ie(e, t = (e) => e) {
|
|
|
172
172
|
return a & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : a & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function z(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: i = [] } = {}) {
|
|
176
176
|
let a = (Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e?.ownerDocument) ?? document, o = Array.isArray(e) ? n ? ie(e) : e : F(e);
|
|
177
177
|
i.length > 0 && o.length > 1 && (o = o.filter((e) => !i.includes(e))), r ??= a.activeElement;
|
|
178
178
|
let s = (() => {
|
|
@@ -200,32 +200,32 @@ function ae(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: i = [] }
|
|
|
200
200
|
}
|
|
201
201
|
//#endregion
|
|
202
202
|
//#region ../../node_modules/@headlessui/vue/dist/utils/platform.js
|
|
203
|
-
function
|
|
203
|
+
function ae() {
|
|
204
204
|
return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function oe() {
|
|
207
207
|
return /Android/gi.test(window.navigator.userAgent);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
return
|
|
209
|
+
function se() {
|
|
210
|
+
return ae() || oe();
|
|
211
211
|
}
|
|
212
212
|
//#endregion
|
|
213
213
|
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-document-event.js
|
|
214
|
-
function
|
|
214
|
+
function B(e, t, n) {
|
|
215
215
|
A.isServer || y((r) => {
|
|
216
216
|
document.addEventListener(e, t, n), r(() => document.removeEventListener(e, t, n));
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
219
|
//#endregion
|
|
220
220
|
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-window-event.js
|
|
221
|
-
function
|
|
221
|
+
function ce(e, t, n) {
|
|
222
222
|
A.isServer || y((r) => {
|
|
223
223
|
window.addEventListener(e, t, n), r(() => window.removeEventListener(e, t, n));
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
226
|
//#endregion
|
|
227
227
|
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-outside-click.js
|
|
228
|
-
function
|
|
228
|
+
function le(e, t, n = i(() => !0)) {
|
|
229
229
|
function r(r, i) {
|
|
230
230
|
if (!n.value || r.defaultPrevented) return;
|
|
231
231
|
let a = i(r);
|
|
@@ -241,26 +241,26 @@ function ue(e, t, n = i(() => !0)) {
|
|
|
241
241
|
return !te(a, I.Loose) && a.tabIndex !== -1 && r.preventDefault(), t(r, a);
|
|
242
242
|
}
|
|
243
243
|
let a = h(null);
|
|
244
|
-
|
|
244
|
+
B("pointerdown", (e) => {
|
|
245
245
|
n.value && (a.value = e.composedPath?.call(e)?.[0] || e.target);
|
|
246
|
-
}, !0),
|
|
246
|
+
}, !0), B("mousedown", (e) => {
|
|
247
247
|
n.value && (a.value = e.composedPath?.call(e)?.[0] || e.target);
|
|
248
|
-
}, !0),
|
|
249
|
-
|
|
250
|
-
}, !0),
|
|
248
|
+
}, !0), B("click", (e) => {
|
|
249
|
+
se() || (a.value &&= (r(e, () => a.value), null));
|
|
250
|
+
}, !0), B("touchend", (e) => r(e, () => e.target instanceof HTMLElement ? e.target : null), !0), ce("blur", (e) => r(e, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
|
|
251
251
|
}
|
|
252
252
|
//#endregion
|
|
253
253
|
//#region ../../node_modules/@headlessui/vue/dist/utils/render.js
|
|
254
|
-
var
|
|
255
|
-
function
|
|
254
|
+
var V = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(V || {}), H = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(H || {});
|
|
255
|
+
function U({ visible: e = !0, features: t = 0, ourProps: n, theirProps: r, ...i }) {
|
|
256
256
|
var a;
|
|
257
|
-
let o =
|
|
258
|
-
return e || t & 2 && o.static ?
|
|
257
|
+
let o = fe(r, n), s = Object.assign(i, { props: o });
|
|
258
|
+
return e || t & 2 && o.static ? ue(s) : t & 1 ? E((a = o.unmount) == null || a ? 0 : 1, {
|
|
259
259
|
0() {
|
|
260
260
|
return null;
|
|
261
261
|
},
|
|
262
262
|
1() {
|
|
263
|
-
return
|
|
263
|
+
return ue({
|
|
264
264
|
...i,
|
|
265
265
|
props: {
|
|
266
266
|
...o,
|
|
@@ -269,19 +269,19 @@ function H({ visible: e = !0, features: t = 0, ourProps: n, theirProps: r, ...i
|
|
|
269
269
|
}
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
}) :
|
|
272
|
+
}) : ue(s);
|
|
273
273
|
}
|
|
274
|
-
function
|
|
275
|
-
let { as: o, ...c } =
|
|
274
|
+
function ue({ props: e, attrs: t, slots: n, slot: i, name: a }) {
|
|
275
|
+
let { as: o, ...c } = pe(e, ["unmount", "static"]), l = n.default?.call(n, i), u = {};
|
|
276
276
|
if (i) {
|
|
277
277
|
let e = !1, t = [];
|
|
278
278
|
for (let [n, r] of Object.entries(i)) typeof r == "boolean" && (e = !0), r === !0 && t.push(n);
|
|
279
279
|
e && (u["data-headlessui-state"] = t.join(" "));
|
|
280
280
|
}
|
|
281
281
|
if (o === "template") {
|
|
282
|
-
if (l =
|
|
282
|
+
if (l = de(l ?? []), Object.keys(c).length > 0 || Object.keys(t).length > 0) {
|
|
283
283
|
let [e, ...n] = l ?? [];
|
|
284
|
-
if (!
|
|
284
|
+
if (!me(e) || n.length > 0) throw Error([
|
|
285
285
|
"Passing props on \"template\"!",
|
|
286
286
|
"",
|
|
287
287
|
`The current component <${a} /> is rendering a "template".`,
|
|
@@ -291,7 +291,7 @@ function de({ props: e, attrs: t, slots: n, slot: i, name: a }) {
|
|
|
291
291
|
"You can apply a few solutions:",
|
|
292
292
|
["Add an `as=\"...\"` prop, to ensure that we render an actual element instead of a \"template\".", "Render a single element as the child so that we can forward the props onto that element."].map((e) => ` - ${e}`).join("\n")
|
|
293
293
|
].join("\n"));
|
|
294
|
-
let i =
|
|
294
|
+
let i = fe(e.props ?? {}, c, u), o = r(e, i, !0);
|
|
295
295
|
for (let e in i) e.startsWith("on") && (o.props ||= {}, o.props[e] = i[e]);
|
|
296
296
|
return o;
|
|
297
297
|
}
|
|
@@ -299,10 +299,10 @@ function de({ props: e, attrs: t, slots: n, slot: i, name: a }) {
|
|
|
299
299
|
}
|
|
300
300
|
return s(o, Object.assign({}, c, u), { default: () => l });
|
|
301
301
|
}
|
|
302
|
-
function
|
|
303
|
-
return e.flatMap((e) => e.type === t ?
|
|
302
|
+
function de(e) {
|
|
303
|
+
return e.flatMap((e) => e.type === t ? de(e.children) : [e]);
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function fe(...e) {
|
|
306
306
|
if (e.length === 0) return {};
|
|
307
307
|
if (e.length === 1) return e[0];
|
|
308
308
|
let t = {}, n = {};
|
|
@@ -317,17 +317,17 @@ function pe(...e) {
|
|
|
317
317
|
} });
|
|
318
318
|
return t;
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function pe(e, t = []) {
|
|
321
321
|
let n = Object.assign({}, e);
|
|
322
322
|
for (let e of t) e in n && delete n[e];
|
|
323
323
|
return n;
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function me(e) {
|
|
326
326
|
return e == null ? !1 : typeof e.type == "string" || typeof e.type == "object" || typeof e.type == "function";
|
|
327
327
|
}
|
|
328
328
|
//#endregion
|
|
329
329
|
//#region ../../node_modules/@headlessui/vue/dist/internal/hidden.js
|
|
330
|
-
var
|
|
330
|
+
var W = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(W || {}), he = a({
|
|
331
331
|
name: "Hidden",
|
|
332
332
|
props: {
|
|
333
333
|
as: {
|
|
@@ -342,7 +342,7 @@ var U = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.H
|
|
|
342
342
|
setup(e, { slots: t, attrs: n }) {
|
|
343
343
|
return () => {
|
|
344
344
|
let { features: r, ...i } = e;
|
|
345
|
-
return
|
|
345
|
+
return U({
|
|
346
346
|
ourProps: {
|
|
347
347
|
"aria-hidden": (r & 2) == 2 ? !0 : i["aria-hidden"] ?? void 0,
|
|
348
348
|
hidden: (r & 4) == 4 ? !0 : void 0,
|
|
@@ -369,22 +369,22 @@ var U = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.H
|
|
|
369
369
|
});
|
|
370
370
|
};
|
|
371
371
|
}
|
|
372
|
-
}),
|
|
373
|
-
function
|
|
374
|
-
return
|
|
372
|
+
}), ge = Symbol("Context"), G = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(G || {});
|
|
373
|
+
function _e() {
|
|
374
|
+
return ve() !== null;
|
|
375
375
|
}
|
|
376
|
-
function
|
|
377
|
-
return c(
|
|
376
|
+
function ve() {
|
|
377
|
+
return c(ge, null);
|
|
378
378
|
}
|
|
379
|
-
function
|
|
380
|
-
p(
|
|
379
|
+
function ye(e) {
|
|
380
|
+
p(ge, e);
|
|
381
381
|
}
|
|
382
382
|
//#endregion
|
|
383
383
|
//#region ../../node_modules/@headlessui/vue/dist/keyboard.js
|
|
384
|
-
var
|
|
384
|
+
var be = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(be || {});
|
|
385
385
|
//#endregion
|
|
386
386
|
//#region ../../node_modules/@headlessui/vue/dist/utils/document-ready.js
|
|
387
|
-
function
|
|
387
|
+
function xe(e) {
|
|
388
388
|
function t() {
|
|
389
389
|
document.readyState !== "loading" && (e(), document.removeEventListener("DOMContentLoaded", t));
|
|
390
390
|
}
|
|
@@ -392,32 +392,32 @@ function Se(e) {
|
|
|
392
392
|
}
|
|
393
393
|
//#endregion
|
|
394
394
|
//#region ../../node_modules/@headlessui/vue/dist/utils/active-element-history.js
|
|
395
|
-
var
|
|
396
|
-
|
|
395
|
+
var K = [];
|
|
396
|
+
xe(() => {
|
|
397
397
|
function e(e) {
|
|
398
|
-
e.target instanceof HTMLElement && e.target !== document.body &&
|
|
398
|
+
e.target instanceof HTMLElement && e.target !== document.body && K[0] !== e.target && (K.unshift(e.target), K = K.filter((e) => e != null && e.isConnected), K.splice(10));
|
|
399
399
|
}
|
|
400
400
|
window.addEventListener("click", e, { capture: !0 }), window.addEventListener("mousedown", e, { capture: !0 }), window.addEventListener("focus", e, { capture: !0 }), document.body.addEventListener("click", e, { capture: !0 }), document.body.addEventListener("mousedown", e, { capture: !0 }), document.body.addEventListener("focus", e, { capture: !0 });
|
|
401
401
|
});
|
|
402
402
|
//#endregion
|
|
403
403
|
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-event-listener.js
|
|
404
|
-
function
|
|
404
|
+
function Se(e, t, n, r) {
|
|
405
405
|
A.isServer || y((i) => {
|
|
406
406
|
e ??= window, e.addEventListener(t, n, r), i(() => e.removeEventListener(t, n, r));
|
|
407
407
|
});
|
|
408
408
|
}
|
|
409
409
|
//#endregion
|
|
410
410
|
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-tab-direction.js
|
|
411
|
-
var
|
|
412
|
-
function
|
|
411
|
+
var q = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(q || {});
|
|
412
|
+
function Ce() {
|
|
413
413
|
let e = h(0);
|
|
414
|
-
return
|
|
414
|
+
return ce("keydown", (t) => {
|
|
415
415
|
t.key === "Tab" && (e.value = +!!t.shiftKey);
|
|
416
416
|
}), e;
|
|
417
417
|
}
|
|
418
418
|
//#endregion
|
|
419
419
|
//#region ../../node_modules/@headlessui/vue/dist/components/focus-trap/focus-trap.js
|
|
420
|
-
function
|
|
420
|
+
function we(e) {
|
|
421
421
|
if (!e) return /* @__PURE__ */ new Set();
|
|
422
422
|
if (typeof e == "function") return new Set(e());
|
|
423
423
|
let t = /* @__PURE__ */ new Set();
|
|
@@ -427,7 +427,7 @@ function Te(e) {
|
|
|
427
427
|
}
|
|
428
428
|
return t;
|
|
429
429
|
}
|
|
430
|
-
var
|
|
430
|
+
var Te = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus", e[e.TabLock = 4] = "TabLock", e[e.FocusLock = 8] = "FocusLock", e[e.RestoreFocus = 16] = "RestoreFocus", e[e.All = 30] = "All", e))(Te || {}), J = Object.assign(a({
|
|
431
431
|
name: "FocusTrap",
|
|
432
432
|
props: {
|
|
433
433
|
as: {
|
|
@@ -455,28 +455,28 @@ var Ee = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus"
|
|
|
455
455
|
$el: o
|
|
456
456
|
});
|
|
457
457
|
let c = i(() => j(o)), l = h(!1);
|
|
458
|
-
d(() => l.value = !0), f(() => l.value = !1),
|
|
459
|
-
let u =
|
|
458
|
+
d(() => l.value = !0), f(() => l.value = !1), De({ ownerDocument: c }, i(() => l.value && !!(e.features & 16)));
|
|
459
|
+
let u = Oe({
|
|
460
460
|
ownerDocument: c,
|
|
461
461
|
container: o,
|
|
462
462
|
initialFocus: i(() => e.initialFocus)
|
|
463
463
|
}, i(() => l.value && !!(e.features & 2)));
|
|
464
|
-
|
|
464
|
+
ke({
|
|
465
465
|
ownerDocument: c,
|
|
466
466
|
container: o,
|
|
467
467
|
containers: e.containers,
|
|
468
468
|
previousActiveElement: u
|
|
469
469
|
}, i(() => l.value && !!(e.features & 8)));
|
|
470
|
-
let p =
|
|
470
|
+
let p = Ce();
|
|
471
471
|
function m(e) {
|
|
472
472
|
let t = T(o);
|
|
473
473
|
t && ((e) => e())(() => {
|
|
474
474
|
E(p.value, {
|
|
475
|
-
[
|
|
476
|
-
|
|
475
|
+
[q.Forwards]: () => {
|
|
476
|
+
z(t, N.First, { skipElements: [e.relatedTarget] });
|
|
477
477
|
},
|
|
478
|
-
[
|
|
479
|
-
|
|
478
|
+
[q.Backwards]: () => {
|
|
479
|
+
z(t, N.Last, { skipElements: [e.relatedTarget] });
|
|
480
480
|
}
|
|
481
481
|
});
|
|
482
482
|
});
|
|
@@ -489,12 +489,12 @@ var Ee = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus"
|
|
|
489
489
|
}
|
|
490
490
|
function v(t) {
|
|
491
491
|
if (!l.value) return;
|
|
492
|
-
let n =
|
|
492
|
+
let n = we(e.containers);
|
|
493
493
|
T(o) instanceof HTMLElement && n.add(T(o));
|
|
494
494
|
let r = t.relatedTarget;
|
|
495
|
-
r instanceof HTMLElement && r.dataset.headlessuiFocusGuard !== "true" && (
|
|
496
|
-
[
|
|
497
|
-
[
|
|
495
|
+
r instanceof HTMLElement && r.dataset.headlessuiFocusGuard !== "true" && (Ae(n, r) || (g.value ? z(T(o), E(p.value, {
|
|
496
|
+
[q.Forwards]: () => N.Next,
|
|
497
|
+
[q.Backwards]: () => N.Previous
|
|
498
498
|
}) | N.WrapAround, { relativeTo: t.target }) : t.target instanceof HTMLElement && L(t.target)));
|
|
499
499
|
}
|
|
500
500
|
return () => {
|
|
@@ -504,14 +504,14 @@ var Ee = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus"
|
|
|
504
504
|
onFocusout: v
|
|
505
505
|
}, { features: c, initialFocus: l, containers: u, ...d } = e;
|
|
506
506
|
return s(t, [
|
|
507
|
-
!!(c & 4) && s(
|
|
507
|
+
!!(c & 4) && s(he, {
|
|
508
508
|
as: "button",
|
|
509
509
|
type: "button",
|
|
510
510
|
"data-headlessui-focus-guard": !0,
|
|
511
511
|
onFocus: m,
|
|
512
|
-
features:
|
|
512
|
+
features: W.Focusable
|
|
513
513
|
}),
|
|
514
|
-
|
|
514
|
+
U({
|
|
515
515
|
ourProps: a,
|
|
516
516
|
theirProps: {
|
|
517
517
|
...n,
|
|
@@ -522,27 +522,27 @@ var Ee = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus"
|
|
|
522
522
|
slots: r,
|
|
523
523
|
name: "FocusTrap"
|
|
524
524
|
}),
|
|
525
|
-
!!(c & 4) && s(
|
|
525
|
+
!!(c & 4) && s(he, {
|
|
526
526
|
as: "button",
|
|
527
527
|
type: "button",
|
|
528
528
|
"data-headlessui-focus-guard": !0,
|
|
529
529
|
onFocus: m,
|
|
530
|
-
features:
|
|
530
|
+
features: W.Focusable
|
|
531
531
|
})
|
|
532
532
|
]);
|
|
533
533
|
};
|
|
534
534
|
}
|
|
535
|
-
}), { features:
|
|
536
|
-
function
|
|
537
|
-
let t = h(
|
|
535
|
+
}), { features: Te });
|
|
536
|
+
function Ee(e) {
|
|
537
|
+
let t = h(K.slice());
|
|
538
538
|
return v([e], ([e], [n]) => {
|
|
539
539
|
n === !0 && e === !1 ? b(() => {
|
|
540
540
|
t.value.splice(0);
|
|
541
|
-
}) : n === !1 && e === !0 && (t.value =
|
|
541
|
+
}) : n === !1 && e === !0 && (t.value = K.slice());
|
|
542
542
|
}, { flush: "post" }), () => t.value.find((e) => e != null && e.isConnected) ?? null;
|
|
543
543
|
}
|
|
544
|
-
function
|
|
545
|
-
let n =
|
|
544
|
+
function De({ ownerDocument: e }, t) {
|
|
545
|
+
let n = Ee(t);
|
|
546
546
|
d(() => {
|
|
547
547
|
y(() => {
|
|
548
548
|
t.value || e.value?.activeElement === e.value?.body && L(n());
|
|
@@ -551,7 +551,7 @@ function Oe({ ownerDocument: e }, t) {
|
|
|
551
551
|
t.value && L(n());
|
|
552
552
|
});
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function Oe({ ownerDocument: e, container: t, initialFocus: n }, r) {
|
|
555
555
|
let i = h(null), a = h(!1);
|
|
556
556
|
return d(() => a.value = !0), f(() => a.value = !1), d(() => {
|
|
557
557
|
v([
|
|
@@ -573,7 +573,7 @@ function ke({ ownerDocument: e, container: t, initialFocus: n }, r) {
|
|
|
573
573
|
i.value = r;
|
|
574
574
|
return;
|
|
575
575
|
}
|
|
576
|
-
t ? L(t) :
|
|
576
|
+
t ? L(t) : z(c, N.First | N.NoScroll) === P.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), i.value = e.value?.activeElement;
|
|
577
577
|
});
|
|
578
578
|
}, {
|
|
579
579
|
immediate: !0,
|
|
@@ -581,24 +581,24 @@ function ke({ ownerDocument: e, container: t, initialFocus: n }, r) {
|
|
|
581
581
|
});
|
|
582
582
|
}), i;
|
|
583
583
|
}
|
|
584
|
-
function
|
|
585
|
-
|
|
584
|
+
function ke({ ownerDocument: e, container: t, containers: n, previousActiveElement: r }, i) {
|
|
585
|
+
Se(e.value?.defaultView, "focus", (e) => {
|
|
586
586
|
if (!i.value) return;
|
|
587
|
-
let a =
|
|
587
|
+
let a = we(n);
|
|
588
588
|
T(t) instanceof HTMLElement && a.add(T(t));
|
|
589
589
|
let o = r.value;
|
|
590
590
|
if (!o) return;
|
|
591
591
|
let s = e.target;
|
|
592
|
-
s && s instanceof HTMLElement ?
|
|
592
|
+
s && s instanceof HTMLElement ? Ae(a, s) ? (r.value = s, L(s)) : (e.preventDefault(), e.stopPropagation(), L(o)) : L(r.value);
|
|
593
593
|
}, !0);
|
|
594
594
|
}
|
|
595
|
-
function
|
|
595
|
+
function Ae(e, t) {
|
|
596
596
|
for (let n of e) if (n.contains(t)) return !0;
|
|
597
597
|
return !1;
|
|
598
598
|
}
|
|
599
599
|
//#endregion
|
|
600
600
|
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-store.js
|
|
601
|
-
function
|
|
601
|
+
function je(e) {
|
|
602
602
|
let t = g(e.getSnapshot());
|
|
603
603
|
return f(e.subscribe(() => {
|
|
604
604
|
t.value = e.getSnapshot();
|
|
@@ -606,7 +606,7 @@ function Me(e) {
|
|
|
606
606
|
}
|
|
607
607
|
//#endregion
|
|
608
608
|
//#region ../../node_modules/@headlessui/vue/dist/utils/store.js
|
|
609
|
-
function
|
|
609
|
+
function Me(e, t) {
|
|
610
610
|
let n = e(), r = /* @__PURE__ */ new Set();
|
|
611
611
|
return {
|
|
612
612
|
getSnapshot() {
|
|
@@ -623,7 +623,7 @@ function Ne(e, t) {
|
|
|
623
623
|
}
|
|
624
624
|
//#endregion
|
|
625
625
|
//#region ../../node_modules/@headlessui/vue/dist/hooks/document-overflow/adjust-scrollbar-padding.js
|
|
626
|
-
function
|
|
626
|
+
function Ne() {
|
|
627
627
|
let e;
|
|
628
628
|
return {
|
|
629
629
|
before({ doc: t }) {
|
|
@@ -638,8 +638,8 @@ function Pe() {
|
|
|
638
638
|
}
|
|
639
639
|
//#endregion
|
|
640
640
|
//#region ../../node_modules/@headlessui/vue/dist/hooks/document-overflow/handle-ios-locking.js
|
|
641
|
-
function
|
|
642
|
-
return
|
|
641
|
+
function Pe() {
|
|
642
|
+
return ae() ? { before({ doc: e, d: t, meta: n }) {
|
|
643
643
|
function r(e) {
|
|
644
644
|
return n.containers.flatMap((e) => e()).some((t) => t.contains(e));
|
|
645
645
|
}
|
|
@@ -679,19 +679,19 @@ function Fe() {
|
|
|
679
679
|
}
|
|
680
680
|
//#endregion
|
|
681
681
|
//#region ../../node_modules/@headlessui/vue/dist/hooks/document-overflow/prevent-scroll.js
|
|
682
|
-
function
|
|
682
|
+
function Fe() {
|
|
683
683
|
return { before({ doc: e, d: t }) {
|
|
684
684
|
t.style(e.documentElement, "overflow", "hidden");
|
|
685
685
|
} };
|
|
686
686
|
}
|
|
687
687
|
//#endregion
|
|
688
688
|
//#region ../../node_modules/@headlessui/vue/dist/hooks/document-overflow/overflow-store.js
|
|
689
|
-
function
|
|
689
|
+
function Ie(e) {
|
|
690
690
|
let t = {};
|
|
691
691
|
for (let n of e) Object.assign(t, n(t));
|
|
692
692
|
return t;
|
|
693
693
|
}
|
|
694
|
-
var
|
|
694
|
+
var Y = Me(() => /* @__PURE__ */ new Map(), {
|
|
695
695
|
PUSH(e, t) {
|
|
696
696
|
let n = this.get(e) ?? {
|
|
697
697
|
doc: e,
|
|
@@ -709,11 +709,11 @@ var J = Ne(() => /* @__PURE__ */ new Map(), {
|
|
|
709
709
|
let r = {
|
|
710
710
|
doc: e,
|
|
711
711
|
d: t,
|
|
712
|
-
meta:
|
|
712
|
+
meta: Ie(n)
|
|
713
713
|
}, i = [
|
|
714
|
-
Fe(),
|
|
715
714
|
Pe(),
|
|
716
|
-
|
|
715
|
+
Ne(),
|
|
716
|
+
Fe()
|
|
717
717
|
];
|
|
718
718
|
i.forEach(({ before: e }) => e?.(r)), i.forEach(({ after: e }) => e?.(r));
|
|
719
719
|
},
|
|
@@ -724,47 +724,47 @@ var J = Ne(() => /* @__PURE__ */ new Map(), {
|
|
|
724
724
|
this.delete(e);
|
|
725
725
|
}
|
|
726
726
|
});
|
|
727
|
-
|
|
728
|
-
let e =
|
|
727
|
+
Y.subscribe(() => {
|
|
728
|
+
let e = Y.getSnapshot(), t = /* @__PURE__ */ new Map();
|
|
729
729
|
for (let [n] of e) t.set(n, n.documentElement.style.overflow);
|
|
730
730
|
for (let n of e.values()) {
|
|
731
731
|
let e = t.get(n.doc) === "hidden", r = n.count !== 0;
|
|
732
|
-
(r && !e || !r && e) &&
|
|
732
|
+
(r && !e || !r && e) && Y.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && Y.dispatch("TEARDOWN", n);
|
|
733
733
|
}
|
|
734
734
|
});
|
|
735
735
|
//#endregion
|
|
736
736
|
//#region ../../node_modules/@headlessui/vue/dist/hooks/document-overflow/use-document-overflow.js
|
|
737
|
-
function
|
|
738
|
-
let r =
|
|
737
|
+
function Le(e, t, n) {
|
|
738
|
+
let r = je(Y), a = i(() => {
|
|
739
739
|
let t = e.value ? r.value.get(e.value) : void 0;
|
|
740
740
|
return t ? t.count > 0 : !1;
|
|
741
741
|
});
|
|
742
742
|
return v([e, t], ([e, t], [r], i) => {
|
|
743
743
|
if (!e || !t) return;
|
|
744
|
-
|
|
744
|
+
Y.dispatch("PUSH", e, n);
|
|
745
745
|
let a = !1;
|
|
746
746
|
i(() => {
|
|
747
|
-
a ||= (
|
|
747
|
+
a ||= (Y.dispatch("POP", r ?? e, n), !0);
|
|
748
748
|
});
|
|
749
749
|
}, { immediate: !0 }), a;
|
|
750
750
|
}
|
|
751
751
|
//#endregion
|
|
752
752
|
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-inert.js
|
|
753
|
-
var
|
|
754
|
-
function
|
|
753
|
+
var Re = /* @__PURE__ */ new Map(), X = /* @__PURE__ */ new Map();
|
|
754
|
+
function ze(e, t = h(!0)) {
|
|
755
755
|
y((n) => {
|
|
756
756
|
if (!t.value) return;
|
|
757
757
|
let r = T(e);
|
|
758
758
|
if (!r) return;
|
|
759
759
|
n(function() {
|
|
760
760
|
if (!r) return;
|
|
761
|
-
let e =
|
|
762
|
-
if (e === 1 ?
|
|
763
|
-
let t =
|
|
764
|
-
t && (t["aria-hidden"] === null ? r.removeAttribute("aria-hidden") : r.setAttribute("aria-hidden", t["aria-hidden"]), r.inert = t.inert,
|
|
761
|
+
let e = X.get(r) ?? 1;
|
|
762
|
+
if (e === 1 ? X.delete(r) : X.set(r, e - 1), e !== 1) return;
|
|
763
|
+
let t = Re.get(r);
|
|
764
|
+
t && (t["aria-hidden"] === null ? r.removeAttribute("aria-hidden") : r.setAttribute("aria-hidden", t["aria-hidden"]), r.inert = t.inert, Re.delete(r));
|
|
765
765
|
});
|
|
766
|
-
let i =
|
|
767
|
-
|
|
766
|
+
let i = X.get(r) ?? 0;
|
|
767
|
+
X.set(r, i + 1), i === 0 && (Re.set(r, {
|
|
768
768
|
"aria-hidden": r.getAttribute("aria-hidden"),
|
|
769
769
|
inert: r.inert
|
|
770
770
|
}), r.setAttribute("aria-hidden", "true"), r.inert = !0);
|
|
@@ -772,7 +772,7 @@ function Be(e, t = h(!0)) {
|
|
|
772
772
|
}
|
|
773
773
|
//#endregion
|
|
774
774
|
//#region ../../node_modules/@headlessui/vue/dist/hooks/use-root-containers.js
|
|
775
|
-
function
|
|
775
|
+
function Be({ defaultContainers: e = [], portals: t, mainTreeNodeRef: n } = {}) {
|
|
776
776
|
let r = h(null), i = j(r);
|
|
777
777
|
function a() {
|
|
778
778
|
let n = [];
|
|
@@ -788,8 +788,8 @@ function Ve({ defaultContainers: e = [], portals: t, mainTreeNodeRef: n } = {})
|
|
|
788
788
|
},
|
|
789
789
|
mainTreeNodeRef: r,
|
|
790
790
|
MainTreeNode() {
|
|
791
|
-
return n == null ? s(
|
|
792
|
-
features:
|
|
791
|
+
return n == null ? s(he, {
|
|
792
|
+
features: W.Hidden,
|
|
793
793
|
ref: r
|
|
794
794
|
}) : null;
|
|
795
795
|
}
|
|
@@ -797,11 +797,11 @@ function Ve({ defaultContainers: e = [], portals: t, mainTreeNodeRef: n } = {})
|
|
|
797
797
|
}
|
|
798
798
|
//#endregion
|
|
799
799
|
//#region ../../node_modules/@headlessui/vue/dist/internal/portal-force-root.js
|
|
800
|
-
var
|
|
801
|
-
function
|
|
802
|
-
return c(
|
|
800
|
+
var Ve = Symbol("ForcePortalRootContext");
|
|
801
|
+
function He() {
|
|
802
|
+
return c(Ve, !1);
|
|
803
803
|
}
|
|
804
|
-
var
|
|
804
|
+
var Ue = a({
|
|
805
805
|
name: "ForcePortalRoot",
|
|
806
806
|
props: {
|
|
807
807
|
as: {
|
|
@@ -814,9 +814,9 @@ var We = a({
|
|
|
814
814
|
}
|
|
815
815
|
},
|
|
816
816
|
setup(e, { slots: t, attrs: n }) {
|
|
817
|
-
return p(
|
|
817
|
+
return p(Ve, e.force), () => {
|
|
818
818
|
let { force: r, ...i } = e;
|
|
819
|
-
return
|
|
819
|
+
return U({
|
|
820
820
|
theirProps: i,
|
|
821
821
|
ourProps: {},
|
|
822
822
|
slot: {},
|
|
@@ -826,12 +826,12 @@ var We = a({
|
|
|
826
826
|
});
|
|
827
827
|
};
|
|
828
828
|
}
|
|
829
|
-
}),
|
|
830
|
-
function
|
|
831
|
-
return c(
|
|
829
|
+
}), We = Symbol("StackContext"), Ge = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(Ge || {});
|
|
830
|
+
function Ke() {
|
|
831
|
+
return c(We, () => {});
|
|
832
832
|
}
|
|
833
|
-
function
|
|
834
|
-
let i =
|
|
833
|
+
function qe({ type: e, enabled: t, element: n, onUpdate: r }) {
|
|
834
|
+
let i = Ke();
|
|
835
835
|
function a(...e) {
|
|
836
836
|
r?.(...e), i(...e);
|
|
837
837
|
}
|
|
@@ -844,17 +844,17 @@ function Je({ type: e, enabled: t, element: n, onUpdate: r }) {
|
|
|
844
844
|
});
|
|
845
845
|
}), f(() => {
|
|
846
846
|
t.value && a(1, e, n);
|
|
847
|
-
}), p(
|
|
847
|
+
}), p(We, a);
|
|
848
848
|
}
|
|
849
849
|
//#endregion
|
|
850
850
|
//#region ../../node_modules/@headlessui/vue/dist/components/description/description.js
|
|
851
|
-
var
|
|
852
|
-
function
|
|
853
|
-
let e = c(
|
|
851
|
+
var Je = Symbol("DescriptionContext");
|
|
852
|
+
function Ye() {
|
|
853
|
+
let e = c(Je, null);
|
|
854
854
|
if (e === null) throw Error("Missing parent");
|
|
855
855
|
return e;
|
|
856
856
|
}
|
|
857
|
-
function
|
|
857
|
+
function Xe({ slot: e = h({}), name: t = "Description", props: n = {} } = {}) {
|
|
858
858
|
let r = h([]);
|
|
859
859
|
function a(e) {
|
|
860
860
|
return r.value.push(e), () => {
|
|
@@ -862,14 +862,14 @@ function Ze({ slot: e = h({}), name: t = "Description", props: n = {} } = {}) {
|
|
|
862
862
|
t !== -1 && r.value.splice(t, 1);
|
|
863
863
|
};
|
|
864
864
|
}
|
|
865
|
-
return p(
|
|
865
|
+
return p(Je, {
|
|
866
866
|
register: a,
|
|
867
867
|
slot: e,
|
|
868
868
|
name: t,
|
|
869
869
|
props: n
|
|
870
870
|
}), i(() => r.value.length > 0 ? r.value.join(" ") : void 0);
|
|
871
871
|
}
|
|
872
|
-
a({
|
|
872
|
+
var Ze = a({
|
|
873
873
|
name: "Description",
|
|
874
874
|
props: {
|
|
875
875
|
as: {
|
|
@@ -882,10 +882,10 @@ a({
|
|
|
882
882
|
}
|
|
883
883
|
},
|
|
884
884
|
setup(e, { attrs: t, slots: n }) {
|
|
885
|
-
let r = e.id ?? `headlessui-description-${w()}`, i =
|
|
885
|
+
let r = e.id ?? `headlessui-description-${w()}`, i = Ye();
|
|
886
886
|
return d(() => f(i.register(r))), () => {
|
|
887
887
|
let { name: a = "Description", slot: o = h({}), props: s = {} } = i, { ...c } = e;
|
|
888
|
-
return
|
|
888
|
+
return U({
|
|
889
889
|
ourProps: {
|
|
890
890
|
...Object.entries(s).reduce((e, [t, n]) => Object.assign(e, { [t]: _(n) }), {}),
|
|
891
891
|
id: r
|
|
@@ -927,7 +927,7 @@ var nt = a({
|
|
|
927
927
|
default: "div"
|
|
928
928
|
} },
|
|
929
929
|
setup(e, { slots: t, attrs: r }) {
|
|
930
|
-
let a = h(null), l = i(() => j(a)), u =
|
|
930
|
+
let a = h(null), l = i(() => j(a)), u = He(), p = c(at, null), m = h(u === !0 || p == null ? Qe(a.value) : p.resolveTarget());
|
|
931
931
|
m.value && tt(m.value, (e) => e + 1);
|
|
932
932
|
let g = h(!1);
|
|
933
933
|
d(() => {
|
|
@@ -950,7 +950,7 @@ var nt = a({
|
|
|
950
950
|
ref: a,
|
|
951
951
|
"data-headlessui-portal": ""
|
|
952
952
|
};
|
|
953
|
-
return s(n, { to: m.value },
|
|
953
|
+
return s(n, { to: m.value }, U({
|
|
954
954
|
ourProps: i,
|
|
955
955
|
theirProps: e,
|
|
956
956
|
slot: {},
|
|
@@ -999,7 +999,7 @@ var at = Symbol("PortalGroupContext"), ot = a({
|
|
|
999
999
|
return e.target;
|
|
1000
1000
|
} })), () => {
|
|
1001
1001
|
let { target: r, ...i } = e;
|
|
1002
|
-
return
|
|
1002
|
+
return U({
|
|
1003
1003
|
theirProps: i,
|
|
1004
1004
|
ourProps: {},
|
|
1005
1005
|
slot: {},
|
|
@@ -1010,15 +1010,15 @@ var at = Symbol("PortalGroupContext"), ot = a({
|
|
|
1010
1010
|
};
|
|
1011
1011
|
}
|
|
1012
1012
|
}), st = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(st || {}), ct = Symbol("DialogContext");
|
|
1013
|
-
function
|
|
1013
|
+
function Z(e) {
|
|
1014
1014
|
let t = c(ct, null);
|
|
1015
1015
|
if (t === null) {
|
|
1016
1016
|
let t = /* @__PURE__ */ Error(`<${e} /> is missing a parent <Dialog /> component.`);
|
|
1017
|
-
throw Error.captureStackTrace && Error.captureStackTrace(t,
|
|
1017
|
+
throw Error.captureStackTrace && Error.captureStackTrace(t, Z), t;
|
|
1018
1018
|
}
|
|
1019
1019
|
return t;
|
|
1020
1020
|
}
|
|
1021
|
-
var
|
|
1021
|
+
var Q = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", lt = a({
|
|
1022
1022
|
name: "Dialog",
|
|
1023
1023
|
inheritAttrs: !1,
|
|
1024
1024
|
props: {
|
|
@@ -1036,7 +1036,7 @@ var Z = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", lt = a({
|
|
|
1036
1036
|
},
|
|
1037
1037
|
open: {
|
|
1038
1038
|
type: [Boolean, String],
|
|
1039
|
-
default:
|
|
1039
|
+
default: Q
|
|
1040
1040
|
},
|
|
1041
1041
|
initialFocus: {
|
|
1042
1042
|
type: Object,
|
|
@@ -1057,30 +1057,30 @@ var Z = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", lt = a({
|
|
|
1057
1057
|
d(() => {
|
|
1058
1058
|
u.value = !0;
|
|
1059
1059
|
});
|
|
1060
|
-
let f = !1, m = i(() => e.role === "dialog" || e.role === "alertdialog" ? e.role : (f || (f = !0, console.warn(`Invalid role [${m}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), g = h(0), _ =
|
|
1060
|
+
let f = !1, m = i(() => e.role === "dialog" || e.role === "alertdialog" ? e.role : (f || (f = !0, console.warn(`Invalid role [${m}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), g = h(0), _ = ve(), v = i(() => e.open === Q && _ !== null ? (_.value & G.Open) === G.Open : e.open), b = h(null), x = i(() => j(b));
|
|
1061
1061
|
if (a({
|
|
1062
1062
|
el: b,
|
|
1063
1063
|
$el: b
|
|
1064
|
-
}), !(e.open !==
|
|
1065
|
-
if (typeof v.value != "boolean") throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${v.value ===
|
|
1066
|
-
let S = i(() => u.value && v.value ? 0 : 1), C = i(() => S.value === 0), D = i(() => g.value > 1), O = c(ct, null) !== null, [k, A] = it(), { resolveContainers: M, mainTreeNodeRef: N, MainTreeNode: P } =
|
|
1064
|
+
}), !(e.open !== Q || _ !== null)) throw Error("You forgot to provide an `open` prop to the `Dialog`.");
|
|
1065
|
+
if (typeof v.value != "boolean") throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${v.value === Q ? void 0 : e.open}`);
|
|
1066
|
+
let S = i(() => u.value && v.value ? 0 : 1), C = i(() => S.value === 0), D = i(() => g.value > 1), O = c(ct, null) !== null, [k, A] = it(), { resolveContainers: M, mainTreeNodeRef: N, MainTreeNode: P } = Be({
|
|
1067
1067
|
portals: k,
|
|
1068
1068
|
defaultContainers: [i(() => R.panelRef.value ?? b.value)]
|
|
1069
|
-
}), ee = i(() => D.value ? "parent" : "leaf"), F = i(() => _ === null ? !1 : (_.value &
|
|
1070
|
-
|
|
1069
|
+
}), ee = i(() => D.value ? "parent" : "leaf"), F = i(() => _ === null ? !1 : (_.value & G.Closing) === G.Closing), I = i(() => O || F.value ? !1 : C.value);
|
|
1070
|
+
ze(i(() => Array.from(x.value?.querySelectorAll("body > *") ?? []).find((e) => e.id === "headlessui-portal-root" ? !1 : e.contains(T(N)) && e instanceof HTMLElement) ?? null), I);
|
|
1071
1071
|
let te = i(() => D.value ? !0 : C.value);
|
|
1072
|
-
|
|
1072
|
+
ze(i(() => Array.from(x.value?.querySelectorAll("[data-headlessui-portal]") ?? []).find((e) => e.contains(T(N)) && e instanceof HTMLElement) ?? null), te), qe({
|
|
1073
1073
|
type: "Dialog",
|
|
1074
1074
|
enabled: i(() => S.value === 0),
|
|
1075
1075
|
element: b,
|
|
1076
1076
|
onUpdate: (e, t) => {
|
|
1077
1077
|
if (t === "Dialog") return E(e, {
|
|
1078
|
-
[
|
|
1079
|
-
[
|
|
1078
|
+
[Ge.Add]: () => g.value += 1,
|
|
1079
|
+
[Ge.Remove]: () => --g.value
|
|
1080
1080
|
});
|
|
1081
1081
|
}
|
|
1082
1082
|
});
|
|
1083
|
-
let ne =
|
|
1083
|
+
let ne = Xe({
|
|
1084
1084
|
name: "DialogDescription",
|
|
1085
1085
|
slot: i(() => ({ open: v.value }))
|
|
1086
1086
|
}), L = h(null), R = {
|
|
@@ -1094,13 +1094,13 @@ var Z = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", lt = a({
|
|
|
1094
1094
|
t("close", !1);
|
|
1095
1095
|
}
|
|
1096
1096
|
};
|
|
1097
|
-
p(ct, R),
|
|
1097
|
+
p(ct, R), le(M, (e, t) => {
|
|
1098
1098
|
e.preventDefault(), R.close(), l(() => t?.focus());
|
|
1099
1099
|
}, i(() => !(!C.value || D.value)));
|
|
1100
1100
|
let re = i(() => !(D.value || S.value !== 0));
|
|
1101
|
-
return
|
|
1102
|
-
re.value && (e.defaultPrevented || e.key ===
|
|
1103
|
-
}),
|
|
1101
|
+
return Se(x.value?.defaultView, "keydown", (e) => {
|
|
1102
|
+
re.value && (e.defaultPrevented || e.key === be.Escape && (e.preventDefault(), e.stopPropagation(), R.close()));
|
|
1103
|
+
}), Le(x, i(() => !(F.value || S.value !== 0 || O)), (e) => ({ containers: [...e.containers ?? [], M] })), y((e) => {
|
|
1104
1104
|
if (S.value !== 0) return;
|
|
1105
1105
|
let t = T(b);
|
|
1106
1106
|
if (!t) return;
|
|
@@ -1121,14 +1121,14 @@ var Z = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", lt = a({
|
|
|
1121
1121
|
"aria-labelledby": L.value,
|
|
1122
1122
|
"aria-describedby": ne.value
|
|
1123
1123
|
}, l = { open: S.value === 0 };
|
|
1124
|
-
return s(
|
|
1124
|
+
return s(Ue, { force: !0 }, () => [s(nt, () => s(ot, { target: b.value }, () => s(Ue, { force: !1 }, () => s(J, {
|
|
1125
1125
|
initialFocus: i,
|
|
1126
1126
|
containers: M,
|
|
1127
1127
|
features: C.value ? E(ee.value, {
|
|
1128
|
-
parent:
|
|
1129
|
-
leaf:
|
|
1130
|
-
}) :
|
|
1131
|
-
}, () => s(A, {}, () =>
|
|
1128
|
+
parent: J.features.RestoreFocus,
|
|
1129
|
+
leaf: J.features.All & ~J.features.FocusLock
|
|
1130
|
+
}) : J.features.None
|
|
1131
|
+
}, () => s(A, {}, () => U({
|
|
1132
1132
|
ourProps: c,
|
|
1133
1133
|
theirProps: {
|
|
1134
1134
|
...a,
|
|
@@ -1138,7 +1138,7 @@ var Z = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", lt = a({
|
|
|
1138
1138
|
attrs: n,
|
|
1139
1139
|
slots: r,
|
|
1140
1140
|
visible: S.value === 0,
|
|
1141
|
-
features:
|
|
1141
|
+
features: V.RenderStrategy | V.Static,
|
|
1142
1142
|
name: "Dialog"
|
|
1143
1143
|
})))))), s(P)]);
|
|
1144
1144
|
};
|
|
@@ -1157,13 +1157,13 @@ a({
|
|
|
1157
1157
|
}
|
|
1158
1158
|
},
|
|
1159
1159
|
setup(e, { attrs: t, slots: n }) {
|
|
1160
|
-
let r = e.id ?? `headlessui-dialog-overlay-${w()}`, i =
|
|
1160
|
+
let r = e.id ?? `headlessui-dialog-overlay-${w()}`, i = Z("DialogOverlay");
|
|
1161
1161
|
function a(e) {
|
|
1162
1162
|
e.target === e.currentTarget && (e.preventDefault(), e.stopPropagation(), i.close());
|
|
1163
1163
|
}
|
|
1164
1164
|
return () => {
|
|
1165
1165
|
let { ...o } = e;
|
|
1166
|
-
return
|
|
1166
|
+
return U({
|
|
1167
1167
|
ourProps: {
|
|
1168
1168
|
id: r,
|
|
1169
1169
|
"aria-hidden": !0,
|
|
@@ -1191,7 +1191,7 @@ a({
|
|
|
1191
1191
|
},
|
|
1192
1192
|
inheritAttrs: !1,
|
|
1193
1193
|
setup(e, { attrs: t, slots: n, expose: r }) {
|
|
1194
|
-
let i = e.id ?? `headlessui-dialog-backdrop-${w()}`, a =
|
|
1194
|
+
let i = e.id ?? `headlessui-dialog-backdrop-${w()}`, a = Z("DialogBackdrop"), o = h(null);
|
|
1195
1195
|
return r({
|
|
1196
1196
|
el: o,
|
|
1197
1197
|
$el: o
|
|
@@ -1203,7 +1203,7 @@ a({
|
|
|
1203
1203
|
ref: o,
|
|
1204
1204
|
"aria-hidden": !0
|
|
1205
1205
|
};
|
|
1206
|
-
return s(
|
|
1206
|
+
return s(Ue, { force: !0 }, () => s(nt, () => U({
|
|
1207
1207
|
ourProps: c,
|
|
1208
1208
|
theirProps: {
|
|
1209
1209
|
...t,
|
|
@@ -1230,7 +1230,7 @@ var ut = a({
|
|
|
1230
1230
|
}
|
|
1231
1231
|
},
|
|
1232
1232
|
setup(e, { attrs: t, slots: n, expose: r }) {
|
|
1233
|
-
let i = e.id ?? `headlessui-dialog-panel-${w()}`, a =
|
|
1233
|
+
let i = e.id ?? `headlessui-dialog-panel-${w()}`, a = Z("DialogPanel");
|
|
1234
1234
|
r({
|
|
1235
1235
|
el: a.panelRef,
|
|
1236
1236
|
$el: a.panelRef
|
|
@@ -1240,7 +1240,7 @@ var ut = a({
|
|
|
1240
1240
|
}
|
|
1241
1241
|
return () => {
|
|
1242
1242
|
let { ...r } = e;
|
|
1243
|
-
return
|
|
1243
|
+
return U({
|
|
1244
1244
|
ourProps: {
|
|
1245
1245
|
id: i,
|
|
1246
1246
|
ref: a.panelRef,
|
|
@@ -1267,12 +1267,12 @@ var ut = a({
|
|
|
1267
1267
|
}
|
|
1268
1268
|
},
|
|
1269
1269
|
setup(e, { attrs: t, slots: n }) {
|
|
1270
|
-
let r = e.id ?? `headlessui-dialog-title-${w()}`, i =
|
|
1270
|
+
let r = e.id ?? `headlessui-dialog-title-${w()}`, i = Z("DialogTitle");
|
|
1271
1271
|
return d(() => {
|
|
1272
1272
|
i.setTitleId(r), f(() => i.setTitleId(null));
|
|
1273
1273
|
}), () => {
|
|
1274
1274
|
let { ...a } = e;
|
|
1275
|
-
return
|
|
1275
|
+
return U({
|
|
1276
1276
|
ourProps: { id: r },
|
|
1277
1277
|
theirProps: a,
|
|
1278
1278
|
slot: { open: i.dialogState.value === 0 },
|
|
@@ -1282,10 +1282,10 @@ var ut = a({
|
|
|
1282
1282
|
});
|
|
1283
1283
|
};
|
|
1284
1284
|
}
|
|
1285
|
-
});
|
|
1285
|
+
}), ft = Ze;
|
|
1286
1286
|
//#endregion
|
|
1287
1287
|
//#region ../../node_modules/@headlessui/vue/dist/utils/once.js
|
|
1288
|
-
function
|
|
1288
|
+
function pt(e) {
|
|
1289
1289
|
let t = { called: !1 };
|
|
1290
1290
|
return (...n) => {
|
|
1291
1291
|
if (!t.called) return t.called = !0, e(...n);
|
|
@@ -1293,14 +1293,14 @@ function ft(e) {
|
|
|
1293
1293
|
}
|
|
1294
1294
|
//#endregion
|
|
1295
1295
|
//#region ../../node_modules/@headlessui/vue/dist/components/transitions/utils/transition.js
|
|
1296
|
-
function
|
|
1296
|
+
function mt(e, ...t) {
|
|
1297
1297
|
e && t.length > 0 && e.classList.add(...t);
|
|
1298
1298
|
}
|
|
1299
|
-
function
|
|
1299
|
+
function ht(e, ...t) {
|
|
1300
1300
|
e && t.length > 0 && e.classList.remove(...t);
|
|
1301
1301
|
}
|
|
1302
|
-
var
|
|
1303
|
-
function
|
|
1302
|
+
var gt = ((e) => (e.Finished = "finished", e.Cancelled = "cancelled", e))(gt || {});
|
|
1303
|
+
function _t(e, t) {
|
|
1304
1304
|
let n = x();
|
|
1305
1305
|
if (!e) return n.dispose;
|
|
1306
1306
|
let { transitionDuration: r, transitionDelay: i } = getComputedStyle(e), [a, o] = [r, i].map((e) => {
|
|
@@ -1309,55 +1309,55 @@ function ht(e, t) {
|
|
|
1309
1309
|
});
|
|
1310
1310
|
return a === 0 ? t("finished") : n.setTimeout(() => t("finished"), a + o), n.add(() => t("cancelled")), n.dispose;
|
|
1311
1311
|
}
|
|
1312
|
-
function
|
|
1313
|
-
let o = x(), s = a === void 0 ? () => {} :
|
|
1314
|
-
return
|
|
1315
|
-
|
|
1316
|
-
}), o.add(() =>
|
|
1312
|
+
function vt(e, t, n, r, i, a) {
|
|
1313
|
+
let o = x(), s = a === void 0 ? () => {} : pt(a);
|
|
1314
|
+
return ht(e, ...i), mt(e, ...t, ...n), o.nextFrame(() => {
|
|
1315
|
+
ht(e, ...n), mt(e, ...r), o.add(_t(e, (n) => (ht(e, ...r, ...t), mt(e, ...i), s(n))));
|
|
1316
|
+
}), o.add(() => ht(e, ...t, ...n, ...r, ...i)), o.add(() => s("cancelled")), o.dispose;
|
|
1317
1317
|
}
|
|
1318
1318
|
//#endregion
|
|
1319
1319
|
//#region ../../node_modules/@headlessui/vue/dist/components/transitions/transition.js
|
|
1320
1320
|
function $(e = "") {
|
|
1321
1321
|
return e.split(/\s+/).filter((e) => e.length > 1);
|
|
1322
1322
|
}
|
|
1323
|
-
var
|
|
1324
|
-
function
|
|
1325
|
-
return c(
|
|
1323
|
+
var yt = Symbol("TransitionContext"), bt = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(bt || {});
|
|
1324
|
+
function xt() {
|
|
1325
|
+
return c(yt, null) !== null;
|
|
1326
1326
|
}
|
|
1327
|
-
function
|
|
1328
|
-
let e = c(
|
|
1327
|
+
function St() {
|
|
1328
|
+
let e = c(yt, null);
|
|
1329
1329
|
if (e === null) throw Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
|
|
1330
1330
|
return e;
|
|
1331
1331
|
}
|
|
1332
|
-
function
|
|
1333
|
-
let e = c(
|
|
1332
|
+
function Ct() {
|
|
1333
|
+
let e = c(wt, null);
|
|
1334
1334
|
if (e === null) throw Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
|
|
1335
1335
|
return e;
|
|
1336
1336
|
}
|
|
1337
|
-
var
|
|
1338
|
-
function
|
|
1339
|
-
return "children" in e ?
|
|
1337
|
+
var wt = Symbol("NestingContext");
|
|
1338
|
+
function Tt(e) {
|
|
1339
|
+
return "children" in e ? Tt(e.children) : e.value.filter(({ state: e }) => e === "visible").length > 0;
|
|
1340
1340
|
}
|
|
1341
|
-
function
|
|
1341
|
+
function Et(e) {
|
|
1342
1342
|
let t = h([]), n = h(!1);
|
|
1343
1343
|
d(() => n.value = !0), f(() => n.value = !1);
|
|
1344
|
-
function r(r, i =
|
|
1344
|
+
function r(r, i = H.Hidden) {
|
|
1345
1345
|
let a = t.value.findIndex(({ id: e }) => e === r);
|
|
1346
1346
|
a !== -1 && (E(i, {
|
|
1347
|
-
[
|
|
1347
|
+
[H.Unmount]() {
|
|
1348
1348
|
t.value.splice(a, 1);
|
|
1349
1349
|
},
|
|
1350
|
-
[
|
|
1350
|
+
[H.Hidden]() {
|
|
1351
1351
|
t.value[a].state = "hidden";
|
|
1352
1352
|
}
|
|
1353
|
-
}), !
|
|
1353
|
+
}), !Tt(t) && n.value && e?.());
|
|
1354
1354
|
}
|
|
1355
1355
|
function i(e) {
|
|
1356
1356
|
let n = t.value.find(({ id: t }) => t === e);
|
|
1357
1357
|
return n ? n.state !== "visible" && (n.state = "visible") : t.value.push({
|
|
1358
1358
|
id: e,
|
|
1359
1359
|
state: "visible"
|
|
1360
|
-
}), () => r(e,
|
|
1360
|
+
}), () => r(e, H.Unmount);
|
|
1361
1361
|
}
|
|
1362
1362
|
return {
|
|
1363
1363
|
children: t,
|
|
@@ -1365,7 +1365,7 @@ function wt(e) {
|
|
|
1365
1365
|
unregister: r
|
|
1366
1366
|
};
|
|
1367
1367
|
}
|
|
1368
|
-
var
|
|
1368
|
+
var Dt = V.RenderStrategy, Ot = a({
|
|
1369
1369
|
props: {
|
|
1370
1370
|
as: {
|
|
1371
1371
|
type: [Object, String],
|
|
@@ -1421,36 +1421,36 @@ var Tt = B.RenderStrategy, Et = a({
|
|
|
1421
1421
|
setup(e, { emit: t, attrs: n, slots: r, expose: a }) {
|
|
1422
1422
|
let o = h(0);
|
|
1423
1423
|
function c() {
|
|
1424
|
-
o.value |=
|
|
1424
|
+
o.value |= G.Opening, t("beforeEnter");
|
|
1425
1425
|
}
|
|
1426
1426
|
function l() {
|
|
1427
|
-
o.value &= ~
|
|
1427
|
+
o.value &= ~G.Opening, t("afterEnter");
|
|
1428
1428
|
}
|
|
1429
1429
|
function m() {
|
|
1430
|
-
o.value |=
|
|
1430
|
+
o.value |= G.Closing, t("beforeLeave");
|
|
1431
1431
|
}
|
|
1432
1432
|
function g() {
|
|
1433
|
-
o.value &= ~
|
|
1433
|
+
o.value &= ~G.Closing, t("afterLeave");
|
|
1434
1434
|
}
|
|
1435
|
-
if (!
|
|
1435
|
+
if (!xt() && _e()) return () => s(At, {
|
|
1436
1436
|
...e,
|
|
1437
1437
|
onBeforeEnter: c,
|
|
1438
1438
|
onAfterEnter: l,
|
|
1439
1439
|
onBeforeLeave: m,
|
|
1440
1440
|
onAfterLeave: g
|
|
1441
1441
|
}, r);
|
|
1442
|
-
let _ = h(null), b = i(() => e.unmount ?
|
|
1442
|
+
let _ = h(null), b = i(() => e.unmount ? H.Unmount : H.Hidden);
|
|
1443
1443
|
a({
|
|
1444
1444
|
el: _,
|
|
1445
1445
|
$el: _
|
|
1446
1446
|
});
|
|
1447
|
-
let { show: x, appear: S } =
|
|
1447
|
+
let { show: x, appear: S } = St(), { register: C, unregister: D } = Ct(), O = h(x.value ? "visible" : "hidden"), k = { value: !0 }, j = w(), M = { value: !1 }, N = Et(() => {
|
|
1448
1448
|
!M.value && O.value !== "hidden" && (O.value = "hidden", D(j), g());
|
|
1449
1449
|
});
|
|
1450
1450
|
d(() => {
|
|
1451
1451
|
f(C(j));
|
|
1452
1452
|
}), y(() => {
|
|
1453
|
-
if (b.value ===
|
|
1453
|
+
if (b.value === H.Hidden && j) {
|
|
1454
1454
|
if (x.value && O.value !== "visible") {
|
|
1455
1455
|
O.value = "visible";
|
|
1456
1456
|
return;
|
|
@@ -1472,22 +1472,22 @@ var Tt = B.RenderStrategy, Et = a({
|
|
|
1472
1472
|
});
|
|
1473
1473
|
function R(e) {
|
|
1474
1474
|
let t = k.value && !S.value, n = T(_);
|
|
1475
|
-
!n || !(n instanceof HTMLElement) || t || (M.value = !0, x.value && c(), x.value || m(), e(x.value ?
|
|
1476
|
-
M.value = !1, e ===
|
|
1477
|
-
}) :
|
|
1478
|
-
M.value = !1, e ===
|
|
1475
|
+
!n || !(n instanceof HTMLElement) || t || (M.value = !0, x.value && c(), x.value || m(), e(x.value ? vt(n, P, ee, F, I, (e) => {
|
|
1476
|
+
M.value = !1, e === gt.Finished && l();
|
|
1477
|
+
}) : vt(n, te, ne, L, I, (e) => {
|
|
1478
|
+
M.value = !1, e === gt.Finished && (Tt(N) || (O.value = "hidden", D(j), g()));
|
|
1479
1479
|
})));
|
|
1480
1480
|
}
|
|
1481
1481
|
return d(() => {
|
|
1482
1482
|
v([x], (e, t, n) => {
|
|
1483
1483
|
R(n), k.value = !1;
|
|
1484
1484
|
}, { immediate: !0 });
|
|
1485
|
-
}), p(
|
|
1486
|
-
visible:
|
|
1487
|
-
hidden:
|
|
1485
|
+
}), p(wt, N), ye(i(() => E(O.value, {
|
|
1486
|
+
visible: G.Open,
|
|
1487
|
+
hidden: G.Closed
|
|
1488
1488
|
}) | o.value)), () => {
|
|
1489
1489
|
let { appear: t, show: i, enter: a, enterFrom: o, enterTo: s, entered: c, leave: l, leaveFrom: d, leaveTo: f, ...p } = e, m = { ref: _ };
|
|
1490
|
-
return
|
|
1490
|
+
return U({
|
|
1491
1491
|
theirProps: {
|
|
1492
1492
|
...p,
|
|
1493
1493
|
...S.value && x.value && A.isServer ? { class: u([
|
|
@@ -1501,13 +1501,13 @@ var Tt = B.RenderStrategy, Et = a({
|
|
|
1501
1501
|
slot: {},
|
|
1502
1502
|
slots: r,
|
|
1503
1503
|
attrs: n,
|
|
1504
|
-
features:
|
|
1504
|
+
features: Dt,
|
|
1505
1505
|
visible: O.value === "visible",
|
|
1506
1506
|
name: "TransitionChild"
|
|
1507
1507
|
});
|
|
1508
1508
|
};
|
|
1509
1509
|
}
|
|
1510
|
-
}),
|
|
1510
|
+
}), kt = Ot, At = a({
|
|
1511
1511
|
inheritAttrs: !1,
|
|
1512
1512
|
props: {
|
|
1513
1513
|
as: {
|
|
@@ -1562,11 +1562,11 @@ var Tt = B.RenderStrategy, Et = a({
|
|
|
1562
1562
|
afterLeave: () => !0
|
|
1563
1563
|
},
|
|
1564
1564
|
setup(e, { emit: t, attrs: n, slots: r }) {
|
|
1565
|
-
let a =
|
|
1565
|
+
let a = ve(), o = i(() => e.show === null && a !== null ? (a.value & G.Open) === G.Open : e.show);
|
|
1566
1566
|
y(() => {
|
|
1567
1567
|
if (![!0, !1].includes(o.value)) throw Error("A <Transition /> is used but it is missing a `:show=\"true | false\"` prop.");
|
|
1568
1568
|
});
|
|
1569
|
-
let c = h(o.value ? "visible" : "hidden"), l =
|
|
1569
|
+
let c = h(o.value ? "visible" : "hidden"), l = Et(() => {
|
|
1570
1570
|
c.value = "hidden";
|
|
1571
1571
|
}), u = h(!0), f = {
|
|
1572
1572
|
show: o,
|
|
@@ -1574,10 +1574,10 @@ var Tt = B.RenderStrategy, Et = a({
|
|
|
1574
1574
|
};
|
|
1575
1575
|
return d(() => {
|
|
1576
1576
|
y(() => {
|
|
1577
|
-
u.value = !1, o.value ? c.value = "visible" :
|
|
1577
|
+
u.value = !1, o.value ? c.value = "visible" : Tt(l) || (c.value = "hidden");
|
|
1578
1578
|
});
|
|
1579
|
-
}), p(
|
|
1580
|
-
let i =
|
|
1579
|
+
}), p(wt, l), p(yt, f), () => {
|
|
1580
|
+
let i = pe(e, [
|
|
1581
1581
|
"show",
|
|
1582
1582
|
"appear",
|
|
1583
1583
|
"unmount",
|
|
@@ -1586,7 +1586,7 @@ var Tt = B.RenderStrategy, Et = a({
|
|
|
1586
1586
|
"onAfterEnter",
|
|
1587
1587
|
"onAfterLeave"
|
|
1588
1588
|
]), a = { unmount: e.unmount };
|
|
1589
|
-
return
|
|
1589
|
+
return U({
|
|
1590
1590
|
ourProps: {
|
|
1591
1591
|
...a,
|
|
1592
1592
|
as: "template"
|
|
@@ -1595,7 +1595,7 @@ var Tt = B.RenderStrategy, Et = a({
|
|
|
1595
1595
|
slot: {},
|
|
1596
1596
|
slots: {
|
|
1597
1597
|
...r,
|
|
1598
|
-
default: () => [s(
|
|
1598
|
+
default: () => [s(kt, {
|
|
1599
1599
|
onBeforeEnter: () => t("beforeEnter"),
|
|
1600
1600
|
onAfterEnter: () => t("afterEnter"),
|
|
1601
1601
|
onBeforeLeave: () => t("beforeLeave"),
|
|
@@ -1606,7 +1606,7 @@ var Tt = B.RenderStrategy, Et = a({
|
|
|
1606
1606
|
}, r.default)]
|
|
1607
1607
|
},
|
|
1608
1608
|
attrs: {},
|
|
1609
|
-
features:
|
|
1609
|
+
features: Dt,
|
|
1610
1610
|
visible: c.value === "visible",
|
|
1611
1611
|
name: "Transition"
|
|
1612
1612
|
});
|
|
@@ -1614,4 +1614,4 @@ var Tt = B.RenderStrategy, Et = a({
|
|
|
1614
1614
|
}
|
|
1615
1615
|
});
|
|
1616
1616
|
//#endregion
|
|
1617
|
-
export {
|
|
1617
|
+
export { dt as a, ft as i, Ot as n, lt as o, ut as r, At as t };
|