@feugene/granularity 0.1.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/LICENSE +201 -0
- package/README.md +79 -0
- package/dist/assets/granularity-2oOxNk_f.css +2 -0
- package/dist/chunks/DsAlert-r_Ed-JrB.js +129 -0
- package/dist/chunks/DsAvatar-cyMI8jUi.js +32 -0
- package/dist/chunks/DsBadge-Dnd7_I-K.js +27 -0
- package/dist/chunks/DsBadgeWrap-UgP-TMdA.js +26 -0
- package/dist/chunks/DsBottomNav-Dze5cFVz.js +21 -0
- package/dist/chunks/DsButton-CA18Fha-.js +67 -0
- package/dist/chunks/DsButtonGroup-Ceat9ADe.js +16 -0
- package/dist/chunks/DsCard-GtapCsjq.js +10 -0
- package/dist/chunks/DsCheckbox-Afg94qUm.js +101 -0
- package/dist/chunks/DsCollapse-DWfip4gp.js +144 -0
- package/dist/chunks/DsConfirmDialog-DdUrG-DW.js +87 -0
- package/dist/chunks/DsDataTable-DgBkEgDK.js +91 -0
- package/dist/chunks/DsDialog-BAGAa9DN.js +178 -0
- package/dist/chunks/DsDrawer-gmVF_0I0.js +112 -0
- package/dist/chunks/DsDropdown-BcFjxaMe.js +106 -0
- package/dist/chunks/DsDropdownMenu-CA7259h5.js +218 -0
- package/dist/chunks/DsEmptyState-BdLoQ0-z.js +46 -0
- package/dist/chunks/DsFileUpload-IwtpKocj.js +282 -0
- package/dist/chunks/DsFormField-XVZK7YVU.js +28 -0
- package/dist/chunks/DsFormFile-C5ldcCAs.js +219 -0
- package/dist/chunks/DsFormSection-DmIDIQg7.js +18 -0
- package/dist/chunks/DsIcon-Q-KQGAQU.js +25 -0
- package/dist/chunks/DsImageViewer-C9NZ42St.js +313 -0
- package/dist/chunks/DsInput-DeoAkT6R.js +159 -0
- package/dist/chunks/DsInputTag-DWip_-Cr.js +201 -0
- package/dist/chunks/DsLink-CWpVQ0ij.js +56 -0
- package/dist/chunks/DsList-XI8AAk9b.js +31 -0
- package/dist/chunks/DsLoading-ogfmbPE4.js +53 -0
- package/dist/chunks/DsModal-Bl9r6v33.js +75 -0
- package/dist/chunks/DsNavbar-DJ4bv_MR.js +54 -0
- package/dist/chunks/DsNumberInput-D-m5QoQJ.js +301 -0
- package/dist/chunks/DsPagination-B28ms0hc.js +81 -0
- package/dist/chunks/DsProgressBar-Bkuqudkg.js +27 -0
- package/dist/chunks/DsPromptDialog-DdSca52S.js +133 -0
- package/dist/chunks/DsRadio-x2vmEUCv.js +141 -0
- package/dist/chunks/DsRadioGroup-CzlzJF2E.js +63 -0
- package/dist/chunks/DsSegmented-BwQ8VnOZ.js +250 -0
- package/dist/chunks/DsSelect-DEHGeICn.js +304 -0
- package/dist/chunks/DsSidebar-BNLaBCYD.js +18 -0
- package/dist/chunks/DsSkeleton-BcXabaQ7.js +25 -0
- package/dist/chunks/DsSwitch-DBdjltGz.js +60 -0
- package/dist/chunks/DsTable-apqrsbxV.js +10 -0
- package/dist/chunks/DsTabs-B1kkklFS.js +47 -0
- package/dist/chunks/DsTextarea-DVSsoqi3.js +56 -0
- package/dist/chunks/DsToaster-B9u2x_Ii.js +48 -0
- package/dist/chunks/DsTooltip-BqNVJw2f.js +27 -0
- package/dist/chunks/DsTree-Bz37FcIb.js +602 -0
- package/dist/chunks/DsTreeSelect-CU0aC9Mz.js +319 -0
- package/dist/chunks/_plugin-vue_export-helper-DOgycIVc.js +8 -0
- package/dist/chunks/adapter-BKKNB3Ii.js +4 -0
- package/dist/chunks/arrow-up-B4OlmAKz.js +23 -0
- package/dist/chunks/classTokens-CT1tqF2j.js +6 -0
- package/dist/chunks/componentConfig-CQndJxd1.js +14 -0
- package/dist/chunks/config-4vrmi-D0.js +9 -0
- package/dist/chunks/config-ANT_Zf3l.js +18 -0
- package/dist/chunks/config-B-tMv4PT.js +66 -0
- package/dist/chunks/config-B75oSW74.js +18 -0
- package/dist/chunks/config-B7HAOCA1.js +33 -0
- package/dist/chunks/config-B7yrZO9u.js +18 -0
- package/dist/chunks/config-B98-jCfY.js +9 -0
- package/dist/chunks/config-BDJ2JaFs.js +9 -0
- package/dist/chunks/config-BEzNFZ_R.js +10 -0
- package/dist/chunks/config-BKpHj94n.js +13 -0
- package/dist/chunks/config-BLYxW-WQ.js +9 -0
- package/dist/chunks/config-BS0vLD_L.js +41 -0
- package/dist/chunks/config-BXlW2GSa.js +33 -0
- package/dist/chunks/config-BY6edpDp.js +9 -0
- package/dist/chunks/config-BZDKypuQ.js +8 -0
- package/dist/chunks/config-BeJEy8yN.js +9 -0
- package/dist/chunks/config-BnryTLnh.js +47 -0
- package/dist/chunks/config-BqaCteFh2.js +9 -0
- package/dist/chunks/config-BrwOndwO.js +9 -0
- package/dist/chunks/config-BusLdkqX.js +8 -0
- package/dist/chunks/config-CBo4aVMV.js +8 -0
- package/dist/chunks/config-CLyDbB2M.js +14 -0
- package/dist/chunks/config-CML-WrGM.js +10 -0
- package/dist/chunks/config-CMuBf0u72.js +33 -0
- package/dist/chunks/config-CTGjkM7q.js +140 -0
- package/dist/chunks/config-CVEwIRRR.js +30 -0
- package/dist/chunks/config-Ch0TH9wN.js +42 -0
- package/dist/chunks/config-ClPYX-LP.js +24 -0
- package/dist/chunks/config-DA3cYUSo.js +8 -0
- package/dist/chunks/config-DAiP4yeJ.js +8 -0
- package/dist/chunks/config-DG_de8vE.js +15 -0
- package/dist/chunks/config-DIgvSIEs.js +9 -0
- package/dist/chunks/config-DJ7xDo-q.js +16 -0
- package/dist/chunks/config-DSFnRpu82.js +19 -0
- package/dist/chunks/config-DVHe_id-.js +22 -0
- package/dist/chunks/config-DoT3gzx7.js +9 -0
- package/dist/chunks/config-DuaBaVyF.js +34 -0
- package/dist/chunks/config-F4Bb6hVJ.js +30 -0
- package/dist/chunks/config-G7h6ftb62.js +39 -0
- package/dist/chunks/config-aUoIf7kK.js +28 -0
- package/dist/chunks/config-cKk87ycz2.js +14 -0
- package/dist/chunks/config-kfb3OyGZ.js +24 -0
- package/dist/chunks/config-oDjY8ZrP2.js +8 -0
- package/dist/chunks/config-panSV6Wo.js +9 -0
- package/dist/chunks/config-qlwX-rLq.js +42 -0
- package/dist/chunks/config-tQBoBLph.js +26 -0
- package/dist/chunks/dsBadgeStyles-yLd1GFUa.js +52 -0
- package/dist/chunks/dsButtonStyles-C1c_j958.js +207 -0
- package/dist/chunks/dsDialogStyles-C7QOvzmt.js +11 -0
- package/dist/chunks/dsDropdownStyles-DXGN-A-d.js +37 -0
- package/dist/chunks/dsFormFieldStyles-DspgXEqY.js +9 -0
- package/dist/chunks/dsLoadingStyles-B2ScgHwn.js +16 -0
- package/dist/chunks/dsModalStyles-C7E5kJ1o.js +54 -0
- package/dist/chunks/dsSelectStyles-Bym0uW4f.js +82 -0
- package/dist/chunks/en-CKkdzd7q.js +39 -0
- package/dist/chunks/es-CPXSlGMa.js +39 -0
- package/dist/chunks/fileValidation-gR8aUBMZ.js +193 -0
- package/dist/chunks/granularityI18n-DBuOHekC.js +24 -0
- package/dist/chunks/info-CmLOtVnO.js +26 -0
- package/dist/chunks/loader-circle-DtXjkqR7.js +23 -0
- package/dist/chunks/preset-DBXBjf5u.js +2235 -0
- package/dist/chunks/ru-D7AyvUyA.js +39 -0
- package/dist/chunks/transition-CT9vsWnT.js +1617 -0
- package/dist/chunks/x-circle-BZnfL2nz.js +61 -0
- package/dist/chunks/x-dGjszOU2.js +23 -0
- package/dist/components/DsAlert/index.js +3 -0
- package/dist/components/DsAlert/styles.css +386 -0
- package/dist/components/DsAvatar/index.js +3 -0
- package/dist/components/DsAvatar/styles.css +373 -0
- package/dist/components/DsBadge/index.js +4 -0
- package/dist/components/DsBadge/styles.css +422 -0
- package/dist/components/DsBadgeWrap/index.js +3 -0
- package/dist/components/DsBadgeWrap/styles.css +378 -0
- package/dist/components/DsBottomNav/index.js +3 -0
- package/dist/components/DsBottomNav/styles.css +388 -0
- package/dist/components/DsButton/index.js +4 -0
- package/dist/components/DsButton/styles.css +633 -0
- package/dist/components/DsButton/tokens.css +96 -0
- package/dist/components/DsButtonGroup/index.js +3 -0
- package/dist/components/DsButtonGroup/styles.css +23 -0
- package/dist/components/DsCard/index.js +3 -0
- package/dist/components/DsCard/styles.css +365 -0
- package/dist/components/DsCheckbox/index.js +3 -0
- package/dist/components/DsCheckbox/styles.css +394 -0
- package/dist/components/DsCollapse/index.js +3 -0
- package/dist/components/DsCollapse/styles.css +399 -0
- package/dist/components/DsConfirmDialog/index.js +3 -0
- package/dist/components/DsConfirmDialog/styles.css +595 -0
- package/dist/components/DsDataTable/index.js +3 -0
- package/dist/components/DsDataTable/styles.css +387 -0
- package/dist/components/DsDialog/index.js +3 -0
- package/dist/components/DsDialog/styles.css +592 -0
- package/dist/components/DsDrawer/index.js +3 -0
- package/dist/components/DsDrawer/styles.css +579 -0
- package/dist/components/DsDropdown/index.js +4 -0
- package/dist/components/DsDropdown/styles.css +392 -0
- package/dist/components/DsDropdownMenu/index.js +3 -0
- package/dist/components/DsDropdownMenu/styles.css +430 -0
- package/dist/components/DsEmptyState/index.js +3 -0
- package/dist/components/DsEmptyState/styles.css +380 -0
- package/dist/components/DsFileUpload/index.js +4 -0
- package/dist/components/DsFileUpload/styles.css +403 -0
- package/dist/components/DsFormField/index.js +3 -0
- package/dist/components/DsFormField/styles.css +365 -0
- package/dist/components/DsFormFile/index.js +3 -0
- package/dist/components/DsFormFile/styles.css +555 -0
- package/dist/components/DsFormSection/index.js +3 -0
- package/dist/components/DsFormSection/styles.css +365 -0
- package/dist/components/DsIcon/index.js +3 -0
- package/dist/components/DsIcon/styles.css +20 -0
- package/dist/components/DsIcon/tokens.css +3 -0
- package/dist/components/DsImageViewer/index.js +3 -0
- package/dist/components/DsImageViewer/styles.css +465 -0
- package/dist/components/DsInput/index.js +3 -0
- package/dist/components/DsInput/styles.css +416 -0
- package/dist/components/DsInputTag/index.js +3 -0
- package/dist/components/DsInputTag/styles.css +498 -0
- package/dist/components/DsLink/index.js +3 -0
- package/dist/components/DsLink/styles.css +390 -0
- package/dist/components/DsList/index.js +3 -0
- package/dist/components/DsList/styles.css +376 -0
- package/dist/components/DsLoading/index.js +4 -0
- package/dist/components/DsLoading/styles.css +381 -0
- package/dist/components/DsModal/index.js +4 -0
- package/dist/components/DsModal/styles.css +404 -0
- package/dist/components/DsNavbar/index.js +3 -0
- package/dist/components/DsNavbar/styles.css +549 -0
- package/dist/components/DsNumberInput/index.js +3 -0
- package/dist/components/DsNumberInput/styles.css +428 -0
- package/dist/components/DsPagination/index.js +3 -0
- package/dist/components/DsPagination/styles.css +637 -0
- package/dist/components/DsProgressBar/index.js +3 -0
- package/dist/components/DsProgressBar/styles.css +398 -0
- package/dist/components/DsProgressBar/tokens.css +23 -0
- package/dist/components/DsPromptDialog/index.js +3 -0
- package/dist/components/DsPromptDialog/styles.css +622 -0
- package/dist/components/DsRadio/index.js +3 -0
- package/dist/components/DsRadio/styles.css +558 -0
- package/dist/components/DsRadioGroup/index.js +3 -0
- package/dist/components/DsRadioGroup/styles.css +560 -0
- package/dist/components/DsSegmented/index.js +3 -0
- package/dist/components/DsSegmented/styles.css +422 -0
- package/dist/components/DsSegmented/tokens.css +9 -0
- package/dist/components/DsSelect/index.js +4 -0
- package/dist/components/DsSelect/styles.css +483 -0
- package/dist/components/DsSidebar/index.js +3 -0
- package/dist/components/DsSidebar/styles.css +370 -0
- package/dist/components/DsSkeleton/index.js +3 -0
- package/dist/components/DsSkeleton/styles.css +363 -0
- package/dist/components/DsSwitch/index.js +3 -0
- package/dist/components/DsSwitch/styles.css +393 -0
- package/dist/components/DsTable/index.js +3 -0
- package/dist/components/DsTable/styles.css +369 -0
- package/dist/components/DsTabs/index.js +3 -0
- package/dist/components/DsTabs/styles.css +390 -0
- package/dist/components/DsTextarea/index.js +3 -0
- package/dist/components/DsTextarea/styles.css +382 -0
- package/dist/components/DsToaster/index.js +3 -0
- package/dist/components/DsToaster/styles.css +558 -0
- package/dist/components/DsTooltip/index.js +3 -0
- package/dist/components/DsTooltip/styles.css +388 -0
- package/dist/components/DsTree/index.js +3 -0
- package/dist/components/DsTree/styles.css +375 -0
- package/dist/components/DsTreeSelect/index.js +3 -0
- package/dist/components/DsTreeSelect/styles.css +466 -0
- package/dist/composables/useTheme.js +44 -0
- package/dist/composables/useToast.js +37 -0
- package/dist/directives/autofocus.js +46 -0
- package/dist/directives/autosize.js +62 -0
- package/dist/directives/clickOutside.js +82 -0
- package/dist/directives/dropzone.js +110 -0
- package/dist/directives/globalDirectives.js +0 -0
- package/dist/directives/hotkey.js +104 -0
- package/dist/directives/loading.js +125 -0
- package/dist/directives.js +7 -0
- package/dist/fileValidation.js +2 -0
- package/dist/foundation.css +358 -0
- package/dist/i18n.js +9 -0
- package/dist/index.js +124 -0
- package/dist/package.json +293 -0
- package/dist/styles/base.css +33 -0
- package/dist/styles/themes/dark.css +102 -0
- package/dist/styles/themes/light.css +98 -0
- package/dist/styles/tokens.css +118 -0
- package/dist/styles.css +1134 -0
- package/dist/types/src/components/DsAlert/DsAlert.vue.d.ts +70 -0
- package/dist/types/src/components/DsAlert/config.d.ts +1 -0
- package/dist/types/src/components/DsAlert/index.d.ts +5 -0
- package/dist/types/src/components/DsAlert/safelist.d.ts +1 -0
- package/dist/types/src/components/DsAvatar/DsAvatar.vue.d.ts +53 -0
- package/dist/types/src/components/DsAvatar/config.d.ts +1 -0
- package/dist/types/src/components/DsAvatar/dsAvatarStyles.d.ts +6 -0
- package/dist/types/src/components/DsAvatar/index.d.ts +5 -0
- package/dist/types/src/components/DsAvatar/safelist.d.ts +1 -0
- package/dist/types/src/components/DsBadge/DsBadge.vue.d.ts +54 -0
- package/dist/types/src/components/DsBadge/config.d.ts +1 -0
- package/dist/types/src/components/DsBadge/dsBadgeStyles.d.ts +10 -0
- package/dist/types/src/components/DsBadge/index.d.ts +5 -0
- package/dist/types/src/components/DsBadge/safelist.d.ts +1 -0
- package/dist/types/src/components/DsBadgeWrap/DsBadgeWrap.vue.d.ts +44 -0
- package/dist/types/src/components/DsBadgeWrap/config.d.ts +1 -0
- package/dist/types/src/components/DsBadgeWrap/index.d.ts +4 -0
- package/dist/types/src/components/DsBadgeWrap/safelist.d.ts +1 -0
- package/dist/types/src/components/DsBottomNav/DsBottomNav.vue.d.ts +23 -0
- package/dist/types/src/components/DsBottomNav/config.d.ts +1 -0
- package/dist/types/src/components/DsBottomNav/index.d.ts +5 -0
- package/dist/types/src/components/DsBottomNav/safelist.d.ts +1 -0
- package/dist/types/src/components/DsButton/DsButton.vue.d.ts +70 -0
- package/dist/types/src/components/DsButton/config.d.ts +1 -0
- package/dist/types/src/components/DsButton/dsButtonStyles.d.ts +20 -0
- package/dist/types/src/components/DsButton/index.d.ts +5 -0
- package/dist/types/src/components/DsButton/safelist.d.ts +1 -0
- package/dist/types/src/components/DsButton/styles.css.d.ts +4 -0
- package/dist/types/src/components/DsButtonGroup/DsButtonGroup.vue.d.ts +40 -0
- package/dist/types/src/components/DsButtonGroup/config.d.ts +1 -0
- package/dist/types/src/components/DsButtonGroup/index.d.ts +4 -0
- package/dist/types/src/components/DsButtonGroup/safelist.d.ts +1 -0
- package/dist/types/src/components/DsButtonGroup/styles.css.d.ts +3 -0
- package/dist/types/src/components/DsCard/DsCard.vue.d.ts +13 -0
- package/dist/types/src/components/DsCard/config.d.ts +1 -0
- package/dist/types/src/components/DsCard/index.d.ts +4 -0
- package/dist/types/src/components/DsCard/safelist.d.ts +1 -0
- package/dist/types/src/components/DsCheckbox/DsCheckbox.vue.d.ts +64 -0
- package/dist/types/src/components/DsCheckbox/config.d.ts +1 -0
- package/dist/types/src/components/DsCheckbox/index.d.ts +4 -0
- package/dist/types/src/components/DsCheckbox/safelist.d.ts +1 -0
- package/dist/types/src/components/DsCollapse/DsCollapse.vue.d.ts +59 -0
- package/dist/types/src/components/DsCollapse/DsCollapseItem.vue.d.ts +51 -0
- package/dist/types/src/components/DsCollapse/config.d.ts +1 -0
- package/dist/types/src/components/DsCollapse/dsCollapseContext.d.ts +10 -0
- package/dist/types/src/components/DsCollapse/index.d.ts +7 -0
- package/dist/types/src/components/DsCollapse/safelist.d.ts +1 -0
- package/dist/types/src/components/DsConfirmDialog/DsConfirmDialog.vue.d.ts +93 -0
- package/dist/types/src/components/DsConfirmDialog/config.d.ts +1 -0
- package/dist/types/src/components/DsConfirmDialog/index.d.ts +4 -0
- package/dist/types/src/components/DsConfirmDialog/safelist.d.ts +1 -0
- package/dist/types/src/components/DsDataTable/DsDataTable.vue.d.ts +58 -0
- package/dist/types/src/components/DsDataTable/config.d.ts +1 -0
- package/dist/types/src/components/DsDataTable/index.d.ts +5 -0
- package/dist/types/src/components/DsDataTable/safelist.d.ts +1 -0
- package/dist/types/src/components/DsDialog/DsDialog.vue.d.ts +76 -0
- package/dist/types/src/components/DsDialog/DsDialogCloseButton.vue.d.ts +7 -0
- package/dist/types/src/components/DsDialog/DsDialogFooter.vue.d.ts +41 -0
- package/dist/types/src/components/DsDialog/DsDialogHeader.vue.d.ts +54 -0
- package/dist/types/src/components/DsDialog/config.d.ts +1 -0
- package/dist/types/src/components/DsDialog/dialogShared.d.ts +10 -0
- package/dist/types/src/components/DsDialog/dsDialogStyles.d.ts +1 -0
- package/dist/types/src/components/DsDialog/index.d.ts +4 -0
- package/dist/types/src/components/DsDrawer/DsDrawer.vue.d.ts +61 -0
- package/dist/types/src/components/DsDrawer/config.d.ts +1 -0
- package/dist/types/src/components/DsDrawer/dsDrawerStyles.d.ts +21 -0
- package/dist/types/src/components/DsDrawer/index.d.ts +4 -0
- package/dist/types/src/components/DsDrawer/safelist.d.ts +1 -0
- package/dist/types/src/components/DsDropdown/DsDropdown.vue.d.ts +67 -0
- package/dist/types/src/components/DsDropdown/config.d.ts +1 -0
- package/dist/types/src/components/DsDropdown/dsDropdownStyles.d.ts +6 -0
- package/dist/types/src/components/DsDropdown/index.d.ts +4 -0
- package/dist/types/src/components/DsDropdown/safelist.d.ts +1 -0
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenu.vue.d.ts +78 -0
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuColumn.vue.d.ts +40 -0
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuColumns.vue.d.ts +40 -0
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuDivider.vue.d.ts +30 -0
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuGroup.vue.d.ts +53 -0
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuHeader.vue.d.ts +49 -0
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuItem.vue.d.ts +55 -0
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuList.vue.d.ts +48 -0
- package/dist/types/src/components/DsDropdownMenu/config.d.ts +1 -0
- package/dist/types/src/components/DsDropdownMenu/index.d.ts +14 -0
- package/dist/types/src/components/DsDropdownMenu/safelist.d.ts +1 -0
- package/dist/types/src/components/DsEmptyState/DsEmptyState.vue.d.ts +41 -0
- package/dist/types/src/components/DsEmptyState/config.d.ts +1 -0
- package/dist/types/src/components/DsEmptyState/index.d.ts +4 -0
- package/dist/types/src/components/DsEmptyState/safelist.d.ts +1 -0
- package/dist/types/src/components/DsFileUpload/DsFileUpload.vue.d.ts +136 -0
- package/dist/types/src/components/DsFileUpload/FileValidationError.d.ts +1 -0
- package/dist/types/src/components/DsFileUpload/acceptValidator.d.ts +1 -0
- package/dist/types/src/components/DsFileUpload/config.d.ts +1 -0
- package/dist/types/src/components/DsFileUpload/index.d.ts +5 -0
- package/dist/types/src/components/DsFileUpload/matchAccept.d.ts +1 -0
- package/dist/types/src/components/DsFileUpload/maxSizeMbValidator.d.ts +1 -0
- package/dist/types/src/components/DsFileUpload/runFileValidators.d.ts +2 -0
- package/dist/types/src/components/DsFileUpload/safelist.d.ts +1 -0
- package/dist/types/src/components/DsFileUpload/types.d.ts +1 -0
- package/dist/types/src/components/DsFormField/DsFormField.vue.d.ts +53 -0
- package/dist/types/src/components/DsFormField/config.d.ts +1 -0
- package/dist/types/src/components/DsFormField/dsFormFieldStyles.d.ts +1 -0
- package/dist/types/src/components/DsFormField/index.d.ts +3 -0
- package/dist/types/src/components/DsFormFile/DsFormFile.vue.d.ts +102 -0
- package/dist/types/src/components/DsFormFile/config.d.ts +1 -0
- package/dist/types/src/components/DsFormFile/index.d.ts +5 -0
- package/dist/types/src/components/DsFormFile/safelist.d.ts +1 -0
- package/dist/types/src/components/DsFormSection/DsFormSection.vue.d.ts +41 -0
- package/dist/types/src/components/DsFormSection/config.d.ts +1 -0
- package/dist/types/src/components/DsFormSection/index.d.ts +4 -0
- package/dist/types/src/components/DsFormSection/safelist.d.ts +1 -0
- package/dist/types/src/components/DsIcon/DsIcon.vue.d.ts +26 -0
- package/dist/types/src/components/DsIcon/config.d.ts +1 -0
- package/dist/types/src/components/DsIcon/dsIconStyles.d.ts +2 -0
- package/dist/types/src/components/DsIcon/index.d.ts +5 -0
- package/dist/types/src/components/DsIcon/styles.css.d.ts +5 -0
- package/dist/types/src/components/DsImageViewer/DsImageViewer.vue.d.ts +121 -0
- package/dist/types/src/components/DsImageViewer/config.d.ts +1 -0
- package/dist/types/src/components/DsImageViewer/index.d.ts +4 -0
- package/dist/types/src/components/DsImageViewer/safelist.d.ts +1 -0
- package/dist/types/src/components/DsInput/DsInput.vue.d.ts +109 -0
- package/dist/types/src/components/DsInput/config.d.ts +1 -0
- package/dist/types/src/components/DsInput/dsInputStyles.d.ts +1 -0
- package/dist/types/src/components/DsInput/index.d.ts +5 -0
- package/dist/types/src/components/DsInputTag/DsInputTag.vue.d.ts +123 -0
- package/dist/types/src/components/DsInputTag/config.d.ts +1 -0
- package/dist/types/src/components/DsInputTag/dsInputTagStyles.d.ts +11 -0
- package/dist/types/src/components/DsInputTag/index.d.ts +5 -0
- package/dist/types/src/components/DsInputTag/safelist.d.ts +1 -0
- package/dist/types/src/components/DsLink/DsLink.vue.d.ts +76 -0
- package/dist/types/src/components/DsLink/config.d.ts +1 -0
- package/dist/types/src/components/DsLink/dsLinkStyles.d.ts +10 -0
- package/dist/types/src/components/DsLink/index.d.ts +5 -0
- package/dist/types/src/components/DsLink/safelist.d.ts +1 -0
- package/dist/types/src/components/DsList/DsList.vue.d.ts +40 -0
- package/dist/types/src/components/DsList/DsListItem.vue.d.ts +25 -0
- package/dist/types/src/components/DsList/config.d.ts +1 -0
- package/dist/types/src/components/DsList/index.d.ts +5 -0
- package/dist/types/src/components/DsList/safelist.d.ts +1 -0
- package/dist/types/src/components/DsLoading/DsLoading.vue.d.ts +59 -0
- package/dist/types/src/components/DsLoading/config.d.ts +1 -0
- package/dist/types/src/components/DsLoading/dsLoadingStyles.d.ts +6 -0
- package/dist/types/src/components/DsLoading/index.d.ts +4 -0
- package/dist/types/src/components/DsLoading/safelist.d.ts +1 -0
- package/dist/types/src/components/DsModal/DsModal.vue.d.ts +51 -0
- package/dist/types/src/components/DsModal/config.d.ts +1 -0
- package/dist/types/src/components/DsModal/dsModalStyles.d.ts +17 -0
- package/dist/types/src/components/DsModal/index.d.ts +5 -0
- package/dist/types/src/components/DsModal/safelist.d.ts +1 -0
- package/dist/types/src/components/DsModal/styles.css.d.ts +3 -0
- package/dist/types/src/components/DsNavbar/DsNavbar.vue.d.ts +52 -0
- package/dist/types/src/components/DsNavbar/config.d.ts +1 -0
- package/dist/types/src/components/DsNavbar/index.d.ts +4 -0
- package/dist/types/src/components/DsNavbar/safelist.d.ts +1 -0
- package/dist/types/src/components/DsNumberInput/DsNumberInput.vue.d.ts +135 -0
- package/dist/types/src/components/DsNumberInput/config.d.ts +1 -0
- package/dist/types/src/components/DsNumberInput/dsNumberInputStyles.d.ts +15 -0
- package/dist/types/src/components/DsNumberInput/index.d.ts +5 -0
- package/dist/types/src/components/DsNumberInput/safelist.d.ts +1 -0
- package/dist/types/src/components/DsPagination/DsPagination.vue.d.ts +39 -0
- package/dist/types/src/components/DsPagination/config.d.ts +1 -0
- package/dist/types/src/components/DsPagination/index.d.ts +4 -0
- package/dist/types/src/components/DsPagination/safelist.d.ts +1 -0
- package/dist/types/src/components/DsProgressBar/DsProgressBar.vue.d.ts +36 -0
- package/dist/types/src/components/DsProgressBar/config.d.ts +1 -0
- package/dist/types/src/components/DsProgressBar/dsStyle.d.ts +6 -0
- package/dist/types/src/components/DsProgressBar/index.d.ts +4 -0
- package/dist/types/src/components/DsProgressBar/safelist.d.ts +1 -0
- package/dist/types/src/components/DsPromptDialog/DsPromptDialog.vue.d.ts +108 -0
- package/dist/types/src/components/DsPromptDialog/config.d.ts +1 -0
- package/dist/types/src/components/DsPromptDialog/index.d.ts +4 -0
- package/dist/types/src/components/DsPromptDialog/safelist.d.ts +1 -0
- package/dist/types/src/components/DsPromptDialog/styles.css.d.ts +1 -0
- package/dist/types/src/components/DsRadio/DsRadio.vue.d.ts +94 -0
- package/dist/types/src/components/DsRadio/config.d.ts +1 -0
- package/dist/types/src/components/DsRadio/dsRadioGroupContext.d.ts +10 -0
- package/dist/types/src/components/DsRadio/dsRadioStyles.d.ts +16 -0
- package/dist/types/src/components/DsRadio/index.d.ts +7 -0
- package/dist/types/src/components/DsRadio/safelist.d.ts +1 -0
- package/dist/types/src/components/DsRadioGroup/DsRadioGroup.vue.d.ts +69 -0
- package/dist/types/src/components/DsRadioGroup/config.d.ts +1 -0
- package/dist/types/src/components/DsRadioGroup/index.d.ts +5 -0
- package/dist/types/src/components/DsRadioGroup/safelist.d.ts +1 -0
- package/dist/types/src/components/DsSegmented/DsSegmented.vue.d.ts +77 -0
- package/dist/types/src/components/DsSegmented/config.d.ts +1 -0
- package/dist/types/src/components/DsSegmented/dsSegmentedStyles.d.ts +45 -0
- package/dist/types/src/components/DsSegmented/index.d.ts +5 -0
- package/dist/types/src/components/DsSegmented/safelist.d.ts +1 -0
- package/dist/types/src/components/DsSelect/DsSelect.vue.d.ts +132 -0
- package/dist/types/src/components/DsSelect/config.d.ts +1 -0
- package/dist/types/src/components/DsSelect/dsSelectStyles.d.ts +35 -0
- package/dist/types/src/components/DsSelect/index.d.ts +5 -0
- package/dist/types/src/components/DsSelect/safelist.d.ts +1 -0
- package/dist/types/src/components/DsSelect/styles.css.d.ts +1 -0
- package/dist/types/src/components/DsSidebar/DsSidebar.vue.d.ts +41 -0
- package/dist/types/src/components/DsSidebar/config.d.ts +1 -0
- package/dist/types/src/components/DsSidebar/index.d.ts +4 -0
- package/dist/types/src/components/DsSidebar/safelist.d.ts +1 -0
- package/dist/types/src/components/DsSkeleton/DsSkeleton.vue.d.ts +38 -0
- package/dist/types/src/components/DsSkeleton/config.d.ts +1 -0
- package/dist/types/src/components/DsSkeleton/index.d.ts +4 -0
- package/dist/types/src/components/DsSkeleton/safelist.d.ts +1 -0
- package/dist/types/src/components/DsSwitch/DsSwitch.vue.d.ts +63 -0
- package/dist/types/src/components/DsSwitch/config.d.ts +1 -0
- package/dist/types/src/components/DsSwitch/dsSwitchStyles.d.ts +19 -0
- package/dist/types/src/components/DsSwitch/index.d.ts +5 -0
- package/dist/types/src/components/DsSwitch/safelist.d.ts +1 -0
- package/dist/types/src/components/DsTable/DsTable.vue.d.ts +15 -0
- package/dist/types/src/components/DsTable/config.d.ts +1 -0
- package/dist/types/src/components/DsTable/index.d.ts +4 -0
- package/dist/types/src/components/DsTable/safelist.d.ts +1 -0
- package/dist/types/src/components/DsTabs/DsTabs.vue.d.ts +24 -0
- package/dist/types/src/components/DsTabs/config.d.ts +1 -0
- package/dist/types/src/components/DsTabs/index.d.ts +5 -0
- package/dist/types/src/components/DsTabs/safelist.d.ts +1 -0
- package/dist/types/src/components/DsTextarea/DsTextarea.vue.d.ts +65 -0
- package/dist/types/src/components/DsTextarea/config.d.ts +1 -0
- package/dist/types/src/components/DsTextarea/dsTextareaStyles.d.ts +6 -0
- package/dist/types/src/components/DsTextarea/index.d.ts +5 -0
- package/dist/types/src/components/DsTextarea/safelist.d.ts +1 -0
- package/dist/types/src/components/DsToaster/DsToaster.vue.d.ts +3 -0
- package/dist/types/src/components/DsToaster/config.d.ts +1 -0
- package/dist/types/src/components/DsToaster/index.d.ts +4 -0
- package/dist/types/src/components/DsToaster/safelist.d.ts +1 -0
- package/dist/types/src/components/DsTooltip/DsTooltip.vue.d.ts +41 -0
- package/dist/types/src/components/DsTooltip/config.d.ts +1 -0
- package/dist/types/src/components/DsTooltip/index.d.ts +4 -0
- package/dist/types/src/components/DsTooltip/safelist.d.ts +1 -0
- package/dist/types/src/components/DsTree/DsTree.vue.d.ts +35 -0
- package/dist/types/src/components/DsTree/config.d.ts +1 -0
- package/dist/types/src/components/DsTree/dsTreeDataAdapter.d.ts +14 -0
- package/dist/types/src/components/DsTree/dsTreeInteractionContext.d.ts +31 -0
- package/dist/types/src/components/DsTree/dsTreeProps.d.ts +57 -0
- package/dist/types/src/components/DsTree/dsTreeStore.d.ts +45 -0
- package/dist/types/src/components/DsTree/dsTreeTypes.d.ts +24 -0
- package/dist/types/src/components/DsTree/index.d.ts +6 -0
- package/dist/types/src/components/DsTree/safelist.d.ts +1 -0
- package/dist/types/src/components/DsTreeSelect/DsTreeSelect.vue.d.ts +72 -0
- package/dist/types/src/components/DsTreeSelect/config.d.ts +1 -0
- package/dist/types/src/components/DsTreeSelect/dsTreeSelectStyles.d.ts +9 -0
- package/dist/types/src/components/DsTreeSelect/dsTreeSelectTypes.d.ts +3 -0
- package/dist/types/src/components/DsTreeSelect/index.d.ts +5 -0
- package/dist/types/src/components/DsTreeSelect/safelist.d.ts +1 -0
- package/dist/types/src/components/shared/classTokens.d.ts +1 -0
- package/dist/types/src/composables/useTheme.d.ts +24 -0
- package/dist/types/src/composables/useToast.d.ts +19 -0
- package/dist/types/src/directives/autofocus.d.ts +11 -0
- package/dist/types/src/directives/autosize.d.ts +13 -0
- package/dist/types/src/directives/clickOutside.d.ts +18 -0
- package/dist/types/src/directives/dropzone.d.ts +30 -0
- package/dist/types/src/directives/globalDirectives.d.ts +18 -0
- package/dist/types/src/directives/hotkey.d.ts +25 -0
- package/dist/types/src/directives/index.d.ts +13 -0
- package/dist/types/src/directives/loading.d.ts +38 -0
- package/dist/types/src/fileValidation/FileValidationError.d.ts +7 -0
- package/dist/types/src/fileValidation/acceptValidator.d.ts +2 -0
- package/dist/types/src/fileValidation/allowedExtensionsValidator.d.ts +2 -0
- package/dist/types/src/fileValidation/allowedMimeTypesValidator.d.ts +9 -0
- package/dist/types/src/fileValidation/index.d.ts +11 -0
- package/dist/types/src/fileValidation/matchAccept.d.ts +1 -0
- package/dist/types/src/fileValidation/maxFileSizeBytesValidator.d.ts +2 -0
- package/dist/types/src/fileValidation/maxSizeMbValidator.d.ts +2 -0
- package/dist/types/src/fileValidation/maxTotalSizeBytesValidator.d.ts +2 -0
- package/dist/types/src/fileValidation/runFileValidators.d.ts +7 -0
- package/dist/types/src/fileValidation/types.d.ts +27 -0
- package/dist/types/src/i18n/adapter.d.ts +8 -0
- package/dist/types/src/i18n/index.d.ts +2 -0
- package/dist/types/src/i18n/messages.d.ts +268 -0
- package/dist/types/src/index.d.ts +59 -0
- package/dist/types/src/internal/granularityI18n.d.ts +8 -0
- package/dist/types/src/registry/componentConfig.d.ts +17 -0
- package/dist/types/src/registry/componentCss.d.ts +3 -0
- package/dist/types/src/registry/componentCss.node.d.ts +5 -0
- package/dist/types/src/registry/components.d.ts +56 -0
- package/dist/types/src/registry/safelist.d.ts +11 -0
- package/dist/types/src/theming/themeRegistry.d.ts +19 -0
- package/dist/types/src/theming/themeRegistry.node.d.ts +14 -0
- package/dist/types/src/unocss/preset.d.ts +18 -0
- package/dist/types/src/unocss/preset.node.d.ts +15 -0
- package/dist/types/src/unocss/rules/animation.d.ts +3 -0
- package/dist/types/src/unocss/rules/colorOpacity.d.ts +2 -0
- package/dist/types/src/unocss/rules/filters.d.ts +8 -0
- package/dist/types/src/unocss/rules/spacing.d.ts +8 -0
- package/dist/uno-node.js +103 -0
- package/dist/uno.js +2 -0
- package/package.json +367 -0
- package/web-types.json +100 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { createElementBlock as e, createElementVNode as t, createVNode as n, defineComponent as r, markRaw as i, normalizeClass as a, openBlock as o, renderSlot as s, unref as c, withKeys as l, withModifiers as u } from "vue";
|
|
2
|
+
//#region ~icons/lucide/check
|
|
3
|
+
var d = {
|
|
4
|
+
viewBox: "0 0 24 24",
|
|
5
|
+
width: "1.2em",
|
|
6
|
+
height: "1.2em"
|
|
7
|
+
};
|
|
8
|
+
function f(n, r) {
|
|
9
|
+
return o(), e("svg", d, [...r[0] ||= [t("path", {
|
|
10
|
+
fill: "none",
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
"stroke-linecap": "round",
|
|
13
|
+
"stroke-linejoin": "round",
|
|
14
|
+
"stroke-width": "2",
|
|
15
|
+
d: "M20 6L9 17l-5-5"
|
|
16
|
+
}, null, -1)]]);
|
|
17
|
+
}
|
|
18
|
+
var p = i({
|
|
19
|
+
name: "lucide-check",
|
|
20
|
+
render: f
|
|
21
|
+
}), m = [
|
|
22
|
+
"aria-checked",
|
|
23
|
+
"aria-disabled",
|
|
24
|
+
"tabindex",
|
|
25
|
+
"onKeydown"
|
|
26
|
+
], h = [
|
|
27
|
+
"checked",
|
|
28
|
+
"disabled",
|
|
29
|
+
"name",
|
|
30
|
+
"value",
|
|
31
|
+
"required",
|
|
32
|
+
"form"
|
|
33
|
+
], g = { class: "text-sm text-[var(--muted-fg)]" }, _ = /* @__PURE__ */ r({
|
|
34
|
+
__name: "DsCheckbox",
|
|
35
|
+
props: {
|
|
36
|
+
modelValue: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: !1
|
|
39
|
+
},
|
|
40
|
+
disabled: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
default: !1
|
|
43
|
+
},
|
|
44
|
+
name: { default: void 0 },
|
|
45
|
+
value: { default: "on" },
|
|
46
|
+
required: {
|
|
47
|
+
type: Boolean,
|
|
48
|
+
default: !1
|
|
49
|
+
},
|
|
50
|
+
form: { default: void 0 }
|
|
51
|
+
},
|
|
52
|
+
emits: ["update:modelValue"],
|
|
53
|
+
setup(r, { emit: i }) {
|
|
54
|
+
let d = {
|
|
55
|
+
position: "absolute",
|
|
56
|
+
opacity: "0",
|
|
57
|
+
width: "0",
|
|
58
|
+
height: "0",
|
|
59
|
+
pointerEvents: "none"
|
|
60
|
+
}, f = r, _ = i;
|
|
61
|
+
function v() {
|
|
62
|
+
f.disabled || _("update:modelValue", !f.modelValue);
|
|
63
|
+
}
|
|
64
|
+
function y(e) {
|
|
65
|
+
let t = e;
|
|
66
|
+
return t ? !!t.closest("a,button,input,select,textarea,label,[role=\"button\"],[role=\"link\"]") : !1;
|
|
67
|
+
}
|
|
68
|
+
function b(e) {
|
|
69
|
+
y(e.target) || v();
|
|
70
|
+
}
|
|
71
|
+
return (r, i) => (o(), e("div", {
|
|
72
|
+
class: a(["ds-checkbox inline-flex items-center gap-2 select-none focus-visible:outline-none focus-visible:rounded-[8px] focus-visible:shadow-[0_0_0_2px_var(--ring),0_0_0_4px_var(--bg)]", f.disabled ? "cursor-not-allowed opacity-70" : "cursor-pointer"]),
|
|
73
|
+
role: "checkbox",
|
|
74
|
+
"aria-checked": f.modelValue ? "true" : "false",
|
|
75
|
+
"aria-disabled": f.disabled ? "true" : void 0,
|
|
76
|
+
tabindex: f.disabled ? -1 : 0,
|
|
77
|
+
onClick: b,
|
|
78
|
+
onKeydown: [l(u(v, ["prevent"]), ["space"]), l(u(v, ["prevent"]), ["enter"])]
|
|
79
|
+
}, [
|
|
80
|
+
t("input", {
|
|
81
|
+
type: "checkbox",
|
|
82
|
+
checked: f.modelValue,
|
|
83
|
+
disabled: f.disabled,
|
|
84
|
+
name: f.name,
|
|
85
|
+
value: f.value,
|
|
86
|
+
required: f.required,
|
|
87
|
+
form: f.form,
|
|
88
|
+
tabindex: "-1",
|
|
89
|
+
"aria-hidden": "true",
|
|
90
|
+
style: d
|
|
91
|
+
}, null, 8, h),
|
|
92
|
+
t("span", {
|
|
93
|
+
"aria-hidden": "true",
|
|
94
|
+
class: a(["ds-checkbox-box h-4 w-4 rounded border flex items-center justify-center transition-colors duration-150", f.modelValue ? "border-[var(--primary)] bg-[var(--primary)]" : "border-[var(--brd)] bg-[var(--bg)]"])
|
|
95
|
+
}, [n(c(p), { class: a(["ds-checkbox-icon h-3.5 w-3.5 transition-transform transition-opacity duration-150", f.modelValue ? "opacity-100 scale-100 text-[var(--primary-fg)]" : "opacity-0 scale-75 text-transparent"]) }, null, 8, ["class"])], 2),
|
|
96
|
+
t("span", g, [s(r.$slots, "default")])
|
|
97
|
+
], 42, m));
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
//#endregion
|
|
101
|
+
export { _ as t };
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { t as e } from "./DsCard-GtapCsjq.js";
|
|
2
|
+
import { computed as t, createBlock as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, getCurrentInstance as s, inject as c, markRaw as l, normalizeClass as u, openBlock as d, provide as f, ref as p, renderSlot as m, toDisplayString as h, unref as g, withCtx as _ } from "vue";
|
|
3
|
+
//#region src/components/DsCollapse/dsCollapseContext.ts
|
|
4
|
+
var v = Symbol("DS_COLLAPSE_CONTEXT"), y = /* @__PURE__ */ o({
|
|
5
|
+
__name: "DsCollapse",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: { default: void 0 },
|
|
8
|
+
accordion: {
|
|
9
|
+
type: Boolean,
|
|
10
|
+
default: !1
|
|
11
|
+
},
|
|
12
|
+
disabled: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: !1
|
|
15
|
+
},
|
|
16
|
+
divided: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: !0
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
emits: ["update:modelValue", "change"],
|
|
22
|
+
setup(r, { emit: a }) {
|
|
23
|
+
let o = r, s = a, c = t(() => {
|
|
24
|
+
let e = o.modelValue;
|
|
25
|
+
return o.accordion ? typeof e == "string" || typeof e == "number" ? new Set([e]) : /* @__PURE__ */ new Set() : Array.isArray(e) ? new Set(e) : typeof e == "string" || typeof e == "number" ? new Set([e]) : /* @__PURE__ */ new Set();
|
|
26
|
+
});
|
|
27
|
+
function l(e) {
|
|
28
|
+
s("update:modelValue", e), s("change", e);
|
|
29
|
+
}
|
|
30
|
+
function p(e) {
|
|
31
|
+
if (o.disabled) return;
|
|
32
|
+
if (o.accordion) {
|
|
33
|
+
l(c.value.has(e) ? void 0 : e);
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
let t = Array.isArray(o.modelValue) ? [...o.modelValue] : typeof o.modelValue == "string" || typeof o.modelValue == "number" ? [o.modelValue] : [];
|
|
37
|
+
l(t.includes(e) ? t.filter((t) => t !== e) : [...t, e]);
|
|
38
|
+
}
|
|
39
|
+
return f(v, {
|
|
40
|
+
accordion: t(() => o.accordion),
|
|
41
|
+
disabled: t(() => o.disabled),
|
|
42
|
+
isActive: (e) => c.value.has(e),
|
|
43
|
+
toggle: p
|
|
44
|
+
}), (t, r) => (d(), n(g(e), { "data-ds-collapse": "" }, {
|
|
45
|
+
default: _(() => [i("div", { class: u(o.divided ? "divide-y divide-[var(--brd)]" : "") }, [m(t.$slots, "default")], 2)]),
|
|
46
|
+
_: 3
|
|
47
|
+
}));
|
|
48
|
+
}
|
|
49
|
+
}), b = {
|
|
50
|
+
viewBox: "0 0 24 24",
|
|
51
|
+
width: "1.2em",
|
|
52
|
+
height: "1.2em"
|
|
53
|
+
};
|
|
54
|
+
function x(e, t) {
|
|
55
|
+
return d(), r("svg", b, [...t[0] ||= [i("path", {
|
|
56
|
+
fill: "none",
|
|
57
|
+
stroke: "currentColor",
|
|
58
|
+
"stroke-linecap": "round",
|
|
59
|
+
"stroke-linejoin": "round",
|
|
60
|
+
"stroke-width": "2",
|
|
61
|
+
d: "m6 9l6 6l6-6"
|
|
62
|
+
}, null, -1)]]);
|
|
63
|
+
}
|
|
64
|
+
var S = l({
|
|
65
|
+
name: "lucide-chevron-down",
|
|
66
|
+
render: x
|
|
67
|
+
}), C = {
|
|
68
|
+
"data-ds-collapse-item": "",
|
|
69
|
+
class: "text-[var(--fg)]"
|
|
70
|
+
}, w = { class: "m-0" }, T = ["aria-expanded", "disabled"], E = { class: "min-w-0" }, D = { class: "text-sm font-600" }, O = { class: "overflow-hidden" }, k = { class: "px-4 pb-4 text-sm text-[var(--muted-fg)]" }, A = /* @__PURE__ */ o({
|
|
71
|
+
__name: "DsCollapseItem",
|
|
72
|
+
props: {
|
|
73
|
+
name: { default: void 0 },
|
|
74
|
+
title: { default: void 0 },
|
|
75
|
+
disabled: {
|
|
76
|
+
type: Boolean,
|
|
77
|
+
default: !1
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
setup(e) {
|
|
81
|
+
let n = e, o = c(v);
|
|
82
|
+
if (!o) throw Error("DsCollapseItem must be used inside DsCollapse");
|
|
83
|
+
let l = o, f = s()?.uid ?? Math.random(), _ = t(() => typeof n.name == "string" || typeof n.name == "number" ? n.name : f), y = t(() => l.disabled.value || n.disabled), b = t(() => l.isActive(_.value)), x = `ds-collapse-header-${f}`, A = `ds-collapse-panel-${f}`, j = p(null);
|
|
84
|
+
function M() {
|
|
85
|
+
y.value || l.toggle(_.value);
|
|
86
|
+
}
|
|
87
|
+
function N() {
|
|
88
|
+
let e = j.value?.closest("[data-ds-collapse]");
|
|
89
|
+
return e ? Array.prototype.slice.call(e.querySelectorAll("[data-ds-collapse-trigger]")) : [];
|
|
90
|
+
}
|
|
91
|
+
function P(e) {
|
|
92
|
+
let t = j.value;
|
|
93
|
+
if (!t) return;
|
|
94
|
+
let n = N(), r = n.indexOf(t);
|
|
95
|
+
r === -1 || n.length === 0 || n[(r + e + n.length) % n.length]?.focus();
|
|
96
|
+
}
|
|
97
|
+
function F(e) {
|
|
98
|
+
let t = N();
|
|
99
|
+
t.length !== 0 && (e === "start" ? t[0] : t.at(-1))?.focus();
|
|
100
|
+
}
|
|
101
|
+
function I(e) {
|
|
102
|
+
if (e.key === "ArrowDown") {
|
|
103
|
+
e.preventDefault(), P(1);
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
if (e.key === "ArrowUp") {
|
|
107
|
+
e.preventDefault(), P(-1);
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
if (e.key === "Home") {
|
|
111
|
+
e.preventDefault(), F("start");
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
if (e.key === "End") {
|
|
115
|
+
e.preventDefault(), F("end");
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
(e.key === " " || e.key === "Enter") && (e.preventDefault(), M());
|
|
119
|
+
}
|
|
120
|
+
return (e, t) => (d(), r("div", C, [i("h3", w, [i("button", {
|
|
121
|
+
id: x,
|
|
122
|
+
ref_key: "triggerEl",
|
|
123
|
+
ref: j,
|
|
124
|
+
"data-ds-collapse-trigger": "",
|
|
125
|
+
type: "button",
|
|
126
|
+
"aria-expanded": b.value ? "true" : "false",
|
|
127
|
+
"aria-controls": A,
|
|
128
|
+
disabled: y.value,
|
|
129
|
+
class: u(["w-full px-4 py-3 flex items-center justify-between gap-4 text-left transition-colors duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] disabled:opacity-50 disabled:cursor-not-allowed", y.value ? "" : "hover:bg-[var(--muted)]"]),
|
|
130
|
+
onClick: M,
|
|
131
|
+
onKeydown: I
|
|
132
|
+
}, [i("span", E, [m(e.$slots, "title", {}, () => [i("span", D, h(n.title), 1)])]), a(g(S), {
|
|
133
|
+
"aria-hidden": "true",
|
|
134
|
+
class: u(["h-4 w-4 shrink-0 transition-transform duration-150 text-[var(--muted-fg)]", b.value ? "rotate-180" : ""])
|
|
135
|
+
}, null, 8, ["class"])], 42, T)]), i("div", {
|
|
136
|
+
id: A,
|
|
137
|
+
role: "region",
|
|
138
|
+
"aria-labelledby": x,
|
|
139
|
+
class: u(["grid transition-[grid-template-rows] duration-200", b.value ? "grid-rows-[1fr]" : "grid-rows-[0fr]"])
|
|
140
|
+
}, [i("div", O, [i("div", k, [m(e.$slots, "default")])])], 2)]));
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
//#endregion
|
|
144
|
+
export { y as n, v as r, A as t };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { t as e } from "./DsButton-CA18Fha-.js";
|
|
2
|
+
import { t } from "./DsDialog-BAGAa9DN.js";
|
|
3
|
+
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, openBlock as u, renderSlot as d, toDisplayString as f, withCtx as p } from "vue";
|
|
4
|
+
//#region src/components/DsConfirmDialog/DsConfirmDialog.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var m = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "text-[14px] text-[var(--muted-fg)]"
|
|
8
|
+
}, h = { class: "flex items-center justify-end gap-3" }, g = /* @__PURE__ */ l({
|
|
9
|
+
__name: "DsConfirmDialog",
|
|
10
|
+
props: {
|
|
11
|
+
modelValue: { type: Boolean },
|
|
12
|
+
title: { default: void 0 },
|
|
13
|
+
description: { default: void 0 },
|
|
14
|
+
closeOnBackdrop: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !0
|
|
17
|
+
},
|
|
18
|
+
size: { default: "md" },
|
|
19
|
+
headerConfig: { default: void 0 },
|
|
20
|
+
footerConfig: { default: void 0 },
|
|
21
|
+
buttonSize: { default: void 0 },
|
|
22
|
+
confirmText: { default: void 0 },
|
|
23
|
+
cancelText: { default: void 0 },
|
|
24
|
+
confirmVariant: { default: "primary" },
|
|
25
|
+
confirmTone: { default: "primary" }
|
|
26
|
+
},
|
|
27
|
+
emits: [
|
|
28
|
+
"update:modelValue",
|
|
29
|
+
"confirm",
|
|
30
|
+
"cancel"
|
|
31
|
+
],
|
|
32
|
+
setup(l, { emit: g }) {
|
|
33
|
+
let _ = l, v = n(() => _.title ?? "Confirm"), y = n(() => _.confirmText ?? "Confirm"), b = n(() => _.cancelText ?? "Cancel"), x = g, S = n({
|
|
34
|
+
get: () => _.modelValue,
|
|
35
|
+
set: (e) => x("update:modelValue", e)
|
|
36
|
+
});
|
|
37
|
+
function C() {
|
|
38
|
+
x("cancel"), x("update:modelValue", !1);
|
|
39
|
+
}
|
|
40
|
+
function w() {
|
|
41
|
+
x("confirm"), x("update:modelValue", !1);
|
|
42
|
+
}
|
|
43
|
+
return (n, l) => (u(), r(t, {
|
|
44
|
+
modelValue: S.value,
|
|
45
|
+
"onUpdate:modelValue": l[0] ||= (e) => S.value = e,
|
|
46
|
+
title: v.value,
|
|
47
|
+
size: _.size,
|
|
48
|
+
"close-on-backdrop": _.closeOnBackdrop,
|
|
49
|
+
"header-config": _.headerConfig,
|
|
50
|
+
"footer-config": _.footerConfig
|
|
51
|
+
}, {
|
|
52
|
+
footer: p(() => [d(n.$slots, "footer", {}, () => [o("div", h, [c(e, {
|
|
53
|
+
"data-testid": "ds-confirm-cancel",
|
|
54
|
+
variant: "outline",
|
|
55
|
+
size: _.buttonSize,
|
|
56
|
+
onClick: C
|
|
57
|
+
}, {
|
|
58
|
+
default: p(() => [s(f(b.value), 1)]),
|
|
59
|
+
_: 1
|
|
60
|
+
}, 8, ["size"]), c(e, {
|
|
61
|
+
"data-testid": "ds-confirm-confirm",
|
|
62
|
+
variant: _.confirmVariant,
|
|
63
|
+
tone: _.confirmTone,
|
|
64
|
+
size: _.buttonSize,
|
|
65
|
+
onClick: w
|
|
66
|
+
}, {
|
|
67
|
+
default: p(() => [s(f(y.value), 1)]),
|
|
68
|
+
_: 1
|
|
69
|
+
}, 8, [
|
|
70
|
+
"variant",
|
|
71
|
+
"tone",
|
|
72
|
+
"size"
|
|
73
|
+
])])])]),
|
|
74
|
+
default: p(() => [d(n.$slots, "default", {}, () => [_.description ? (u(), a("div", m, f(_.description), 1)) : i("", !0)])]),
|
|
75
|
+
_: 3
|
|
76
|
+
}, 8, [
|
|
77
|
+
"modelValue",
|
|
78
|
+
"title",
|
|
79
|
+
"size",
|
|
80
|
+
"close-on-backdrop",
|
|
81
|
+
"header-config",
|
|
82
|
+
"footer-config"
|
|
83
|
+
]));
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
//#endregion
|
|
87
|
+
export { g as t };
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { t as e } from "./DsTable-apqrsbxV.js";
|
|
2
|
+
import { t } from "./arrow-up-B4OlmAKz.js";
|
|
3
|
+
import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, markRaw as l, normalizeClass as u, openBlock as d, ref as f, renderList as p, renderSlot as m, toDisplayString as h, unref as g, withCtx as _ } from "vue";
|
|
4
|
+
//#region ~icons/lucide/arrow-down
|
|
5
|
+
var v = {
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
width: "1.2em",
|
|
8
|
+
height: "1.2em"
|
|
9
|
+
};
|
|
10
|
+
function y(e, t) {
|
|
11
|
+
return d(), o("svg", v, [...t[0] ||= [s("path", {
|
|
12
|
+
fill: "none",
|
|
13
|
+
stroke: "currentColor",
|
|
14
|
+
"stroke-linecap": "round",
|
|
15
|
+
"stroke-linejoin": "round",
|
|
16
|
+
"stroke-width": "2",
|
|
17
|
+
d: "M12 5v14m7-7l-7 7l-7-7"
|
|
18
|
+
}, null, -1)]]);
|
|
19
|
+
}
|
|
20
|
+
var b = l({
|
|
21
|
+
name: "lucide-arrow-down",
|
|
22
|
+
render: y
|
|
23
|
+
}), x = { class: "inline-flex items-center gap-2" }, S = ["onClick"], C = { class: "inline-flex" }, w = {
|
|
24
|
+
key: 1,
|
|
25
|
+
class: "text-[var(--muted-fg)]"
|
|
26
|
+
}, T = /* @__PURE__ */ c({
|
|
27
|
+
__name: "DsDataTable",
|
|
28
|
+
props: {
|
|
29
|
+
rows: {},
|
|
30
|
+
columns: {},
|
|
31
|
+
rowKey: { default: "id" },
|
|
32
|
+
initialSortKey: { default: void 0 },
|
|
33
|
+
initialSortDir: { default: "asc" }
|
|
34
|
+
},
|
|
35
|
+
setup(c) {
|
|
36
|
+
let l = c, v = f(l.initialSortKey ?? ""), y = f(l.initialSortDir), T = r(() => {
|
|
37
|
+
let e = [...l.rows];
|
|
38
|
+
if (!v.value) return e;
|
|
39
|
+
let t = v.value, n = y.value;
|
|
40
|
+
return e.sort((e, r) => {
|
|
41
|
+
let i = e[t], a = r[t], o = typeof i == "number" ? i : Number(i), s = typeof a == "number" ? a : Number(a), c = Number.isFinite(o) && Number.isFinite(s) ? o - s : String(i ?? "").localeCompare(String(a ?? ""), void 0, { sensitivity: "base" });
|
|
42
|
+
return n === "asc" ? c : -c;
|
|
43
|
+
}), e;
|
|
44
|
+
});
|
|
45
|
+
function E(e) {
|
|
46
|
+
if (e.sortable) {
|
|
47
|
+
if (v.value !== e.key) {
|
|
48
|
+
v.value = e.key, y.value = "asc";
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
y.value = y.value === "asc" ? "desc" : "asc";
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
function D(e) {
|
|
55
|
+
return e.align === "right" ? "text-right" : "text-left";
|
|
56
|
+
}
|
|
57
|
+
function O(e) {
|
|
58
|
+
let t = l.rowKey;
|
|
59
|
+
return String(e[t] ?? JSON.stringify(e));
|
|
60
|
+
}
|
|
61
|
+
return (r, c) => (d(), i(e, null, {
|
|
62
|
+
head: _(() => [s("tr", null, [(d(!0), o(n, null, p(l.columns, (e) => (d(), o("th", {
|
|
63
|
+
key: e.key,
|
|
64
|
+
class: u(["font-700 text-xs px-4 py-3", D(e)])
|
|
65
|
+
}, [s("div", x, [e.sortable ? (d(), o("button", {
|
|
66
|
+
key: 0,
|
|
67
|
+
type: "button",
|
|
68
|
+
class: "inline-flex items-center gap-2 text-[var(--muted-fg)] hover:text-[var(--fg)] transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] rounded",
|
|
69
|
+
onClick: (t) => E(e)
|
|
70
|
+
}, [s("span", null, h(e.label), 1), s("span", C, [v.value === e.key && y.value === "asc" ? (d(), i(g(t), {
|
|
71
|
+
key: 0,
|
|
72
|
+
class: "h-4 w-4",
|
|
73
|
+
"aria-hidden": "true"
|
|
74
|
+
})) : v.value === e.key && y.value === "desc" ? (d(), i(g(b), {
|
|
75
|
+
key: 1,
|
|
76
|
+
class: "h-4 w-4",
|
|
77
|
+
"aria-hidden": "true"
|
|
78
|
+
})) : a("", !0)])], 8, S)) : (d(), o("span", w, h(e.label), 1))])], 2))), 128))])]),
|
|
79
|
+
default: _(() => [(d(!0), o(n, null, p(T.value, (e) => (d(), o("tr", {
|
|
80
|
+
key: O(e),
|
|
81
|
+
class: "border-t border-[var(--brd)]"
|
|
82
|
+
}, [(d(!0), o(n, null, p(l.columns, (t) => (d(), o("td", {
|
|
83
|
+
key: t.key,
|
|
84
|
+
class: u(["px-4 py-3", D(t)])
|
|
85
|
+
}, [m(r.$slots, `cell-${t.key}`, { row: e }, () => [s("span", null, h(e[t.key]), 1)])], 2))), 128))]))), 128))]),
|
|
86
|
+
_: 3
|
|
87
|
+
}));
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
//#endregion
|
|
91
|
+
export { T as t };
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { t as e } from "./x-dGjszOU2.js";
|
|
2
|
+
import { t } from "./DsButton-CA18Fha-.js";
|
|
3
|
+
import { i as n } from "./transition-CT9vsWnT.js";
|
|
4
|
+
import { t as r } from "./DsModal-Bl9r6v33.js";
|
|
5
|
+
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createSlots as u, createTextVNode as d, createVNode as f, defineComponent as p, guardReactiveProps as m, normalizeClass as h, normalizeProps as g, openBlock as _, renderSlot as v, toDisplayString as y, unref as b, withCtx as x } from "vue";
|
|
6
|
+
//#region src/components/DsDialog/dialogShared.ts
|
|
7
|
+
var S = {
|
|
8
|
+
paddingX: "px-5",
|
|
9
|
+
paddingY: "py-3",
|
|
10
|
+
bordered: !0
|
|
11
|
+
}, C = {
|
|
12
|
+
paddingX: "px-5",
|
|
13
|
+
paddingY: "py-4",
|
|
14
|
+
bordered: !0
|
|
15
|
+
};
|
|
16
|
+
function w(e, t) {
|
|
17
|
+
return {
|
|
18
|
+
paddingX: e?.paddingX ?? t.paddingX,
|
|
19
|
+
paddingY: e?.paddingY ?? t.paddingY,
|
|
20
|
+
bordered: e?.bordered ?? t.bordered
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/components/DsDialog/DsDialogFooter.vue
|
|
25
|
+
var T = /* @__PURE__ */ p({
|
|
26
|
+
__name: "DsDialogFooter",
|
|
27
|
+
props: { config: { default: void 0 } },
|
|
28
|
+
setup(e) {
|
|
29
|
+
let t = e, n = a(() => w(t.config, C)), r = a(() => [
|
|
30
|
+
n.value.paddingX,
|
|
31
|
+
n.value.paddingY,
|
|
32
|
+
n.value.bordered ? "border-t border-[var(--brd)]" : ""
|
|
33
|
+
]);
|
|
34
|
+
return (e, t) => (_(), c("div", {
|
|
35
|
+
"data-ds-dialog-footer": "",
|
|
36
|
+
class: h(r.value)
|
|
37
|
+
}, [v(e.$slots, "default")], 2));
|
|
38
|
+
}
|
|
39
|
+
}), E = /* @__PURE__ */ p({
|
|
40
|
+
__name: "DsDialogCloseButton",
|
|
41
|
+
emits: ["click"],
|
|
42
|
+
setup(n) {
|
|
43
|
+
return (n, r) => (_(), o(t, {
|
|
44
|
+
"data-ds-dialog-close": "",
|
|
45
|
+
variant: "ghost",
|
|
46
|
+
size: "sm",
|
|
47
|
+
square: "",
|
|
48
|
+
"aria-label": "Close",
|
|
49
|
+
onClick: r[0] ||= (e) => n.$emit("click")
|
|
50
|
+
}, {
|
|
51
|
+
default: x(() => [f(b(e), {
|
|
52
|
+
class: "h-4 w-4",
|
|
53
|
+
"aria-hidden": "true"
|
|
54
|
+
})]),
|
|
55
|
+
_: 1
|
|
56
|
+
}));
|
|
57
|
+
}
|
|
58
|
+
}), D = { class: "flex-1 min-w-0 flex items-center" }, O = {
|
|
59
|
+
key: 2,
|
|
60
|
+
class: "flex-1 min-w-0"
|
|
61
|
+
}, k = /* @__PURE__ */ p({
|
|
62
|
+
__name: "DsDialogHeader",
|
|
63
|
+
props: {
|
|
64
|
+
title: { default: void 0 },
|
|
65
|
+
showCloseButton: {
|
|
66
|
+
type: Boolean,
|
|
67
|
+
default: !0
|
|
68
|
+
},
|
|
69
|
+
config: { default: void 0 }
|
|
70
|
+
},
|
|
71
|
+
emits: ["close"],
|
|
72
|
+
setup(e) {
|
|
73
|
+
let t = e, r = a(() => t.title?.trim() || void 0), u = a(() => w(t.config, S)), f = a(() => [
|
|
74
|
+
u.value.paddingX,
|
|
75
|
+
u.value.paddingY,
|
|
76
|
+
u.value.bordered ? "border-b border-[var(--brd)]" : "",
|
|
77
|
+
"flex items-center justify-between gap-4"
|
|
78
|
+
]);
|
|
79
|
+
return (e, a) => (_(), c("div", {
|
|
80
|
+
"data-ds-dialog-header": "",
|
|
81
|
+
class: h(f.value)
|
|
82
|
+
}, [e.$slots.default ? (_(), c(i, { key: 0 }, [r.value ? (_(), o(b(n), {
|
|
83
|
+
key: 0,
|
|
84
|
+
as: "div",
|
|
85
|
+
class: "sr-only"
|
|
86
|
+
}, {
|
|
87
|
+
default: x(() => [d(y(r.value), 1)]),
|
|
88
|
+
_: 1
|
|
89
|
+
})) : s("", !0), l("div", D, [v(e.$slots, "default", { title: r.value })])], 64)) : r.value ? (_(), o(b(n), {
|
|
90
|
+
key: 1,
|
|
91
|
+
as: "div",
|
|
92
|
+
class: "flex-1 min-w-0 text-[14px] font-700"
|
|
93
|
+
}, {
|
|
94
|
+
default: x(() => [d(y(r.value), 1)]),
|
|
95
|
+
_: 1
|
|
96
|
+
})) : (_(), c("div", O)), t.showCloseButton ? (_(), o(E, {
|
|
97
|
+
key: 3,
|
|
98
|
+
onClick: a[0] ||= (t) => e.$emit("close")
|
|
99
|
+
})) : s("", !0)], 2));
|
|
100
|
+
}
|
|
101
|
+
}), A = { class: "overflow-hidden rounded-[inherit]" }, j = { class: "px-5 py-5" }, M = /* @__PURE__ */ p({
|
|
102
|
+
__name: "DsDialog",
|
|
103
|
+
props: {
|
|
104
|
+
modelValue: { type: Boolean },
|
|
105
|
+
title: { default: void 0 },
|
|
106
|
+
closeOnBackdrop: {
|
|
107
|
+
type: Boolean,
|
|
108
|
+
default: !0
|
|
109
|
+
},
|
|
110
|
+
showHeader: {
|
|
111
|
+
type: Boolean,
|
|
112
|
+
default: !0
|
|
113
|
+
},
|
|
114
|
+
showCloseButton: {
|
|
115
|
+
type: Boolean,
|
|
116
|
+
default: !0
|
|
117
|
+
},
|
|
118
|
+
size: { default: "md" },
|
|
119
|
+
headerConfig: { default: void 0 },
|
|
120
|
+
footerConfig: { default: void 0 }
|
|
121
|
+
},
|
|
122
|
+
emits: ["update:modelValue"],
|
|
123
|
+
setup(e, { emit: t }) {
|
|
124
|
+
let i = e, c = t, f = a({
|
|
125
|
+
get: () => i.modelValue,
|
|
126
|
+
set: (e) => c("update:modelValue", e)
|
|
127
|
+
}), p = a(() => i.title?.trim() || void 0);
|
|
128
|
+
function h() {
|
|
129
|
+
f.value = !1;
|
|
130
|
+
}
|
|
131
|
+
return (e, t) => (_(), o(r, {
|
|
132
|
+
modelValue: f.value,
|
|
133
|
+
"onUpdate:modelValue": t[0] ||= (e) => f.value = e,
|
|
134
|
+
size: i.size,
|
|
135
|
+
"close-on-backdrop": i.closeOnBackdrop
|
|
136
|
+
}, {
|
|
137
|
+
default: x(() => [!i.showHeader && p.value ? (_(), o(b(n), {
|
|
138
|
+
key: 0,
|
|
139
|
+
as: "div",
|
|
140
|
+
class: "sr-only"
|
|
141
|
+
}, {
|
|
142
|
+
default: x(() => [d(y(p.value), 1)]),
|
|
143
|
+
_: 1
|
|
144
|
+
})) : s("", !0), l("div", A, [
|
|
145
|
+
i.showHeader ? (_(), o(k, {
|
|
146
|
+
key: 0,
|
|
147
|
+
title: p.value,
|
|
148
|
+
"show-close-button": i.showCloseButton,
|
|
149
|
+
config: i.headerConfig,
|
|
150
|
+
onClose: h
|
|
151
|
+
}, u({ _: 2 }, [e.$slots.header ? {
|
|
152
|
+
name: "default",
|
|
153
|
+
fn: x((t) => [v(e.$slots, "header", g(m(t)))]),
|
|
154
|
+
key: "0"
|
|
155
|
+
} : void 0]), 1032, [
|
|
156
|
+
"title",
|
|
157
|
+
"show-close-button",
|
|
158
|
+
"config"
|
|
159
|
+
])) : s("", !0),
|
|
160
|
+
l("div", j, [v(e.$slots, "default")]),
|
|
161
|
+
e.$slots.footer ? (_(), o(T, {
|
|
162
|
+
key: 1,
|
|
163
|
+
config: i.footerConfig
|
|
164
|
+
}, {
|
|
165
|
+
default: x(() => [v(e.$slots, "footer")]),
|
|
166
|
+
_: 3
|
|
167
|
+
}, 8, ["config"])) : s("", !0)
|
|
168
|
+
])]),
|
|
169
|
+
_: 3
|
|
170
|
+
}, 8, [
|
|
171
|
+
"modelValue",
|
|
172
|
+
"size",
|
|
173
|
+
"close-on-backdrop"
|
|
174
|
+
]));
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
//#endregion
|
|
178
|
+
export { M as t };
|