@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,9 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
//#region src/components/DsDropdownMenu/safelist.ts
|
|
3
|
+
var t = /* @__PURE__ */ "p-0,w-full,divide-y,divide-[var(--brd)],border-t,border-[var(--brd)],border-b,text-left,text-center,text-right,px-4,py-2,text-[11px],tracking-wide,text-[var(--muted-fg)],uppercase,justify-start,justify-center,justify-end,text-[var(--ds-danger)],text-[var(--fg)],cursor-not-allowed,opacity-60,pointer-events-none,hover:bg-[var(--accent)],hover:text-[var(--accent-fg)],min-h-[40px],py-2.5,flex,items-center,gap-2,text-[13px],transition-colors,duration-150,focus:outline-none,focus-visible:ring-2,focus-visible:ring-[var(--ring)],mx-2,grid,divide-x,grid-cols-2,grid-cols-3,grid-cols-4,px-3".split(","), n = e(import.meta.url, {
|
|
4
|
+
name: "DsDropdownMenu",
|
|
5
|
+
dependencies: ["DsDropdown"],
|
|
6
|
+
safelist: t
|
|
7
|
+
});
|
|
8
|
+
//#endregion
|
|
9
|
+
export { t as n, n as t };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
//#region src/components/DsAlert/safelist.ts
|
|
3
|
+
var t = /* @__PURE__ */ "rounded-[var(--ds-radius-lg)],border,px-4,py-3,flex,items-start,gap-3,mt-0.5,h-5,w-5,text-[var(--ds-alert-icon-color)],min-w-0,flex-1,text-[14px],font-700,text-[var(--ds-alert-title-color)],text-[13px],text-[var(--ds-alert-text-color)],-mr-1,-mt-1,rounded-[var(--ds-radius-md)],p-1,text-[var(--ds-alert-close-color)],transition-colors,hover:text-[var(--ds-alert-close-hover-color)],h-4,w-4".split(","), n = e(import.meta.url, {
|
|
4
|
+
name: "DsAlert",
|
|
5
|
+
safelist: t
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as n, n as t };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
import { r as t } from "./dsDropdownStyles-DXGN-A-d.js";
|
|
3
|
+
//#region src/components/DsDropdown/config.ts
|
|
4
|
+
var n = e(import.meta.url, {
|
|
5
|
+
name: "DsDropdown",
|
|
6
|
+
safelist: t
|
|
7
|
+
});
|
|
8
|
+
//#endregion
|
|
9
|
+
export { n as t };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
import { t } from "./classTokens-CT1tqF2j.js";
|
|
3
|
+
//#region src/components/DsNumberInput/dsNumberInputStyles.ts
|
|
4
|
+
var n = "relative w-full overflow-hidden rounded-md border bg-[var(--bg)] transition-colors duration-150 focus-within:ring-2 focus-within:ring-[var(--ring)]", r = "w-full bg-transparent text-[var(--fg)] placeholder:text-[var(--muted-fg)] focus:placeholder:text-transparent focus:outline-none disabled:cursor-not-allowed", i = [
|
|
5
|
+
"absolute inset-y-0 left-0 flex items-center justify-center border-r border-[var(--brd)] px-2 text-[var(--muted-fg)] pointer-events-none select-none truncate",
|
|
6
|
+
"absolute inset-y-0 flex items-center justify-center border-l border-[var(--brd)] px-2 text-[var(--muted-fg)] pointer-events-none select-none truncate",
|
|
7
|
+
"absolute inset-y-0 flex items-center justify-center border-l border-[var(--brd)]",
|
|
8
|
+
"flex flex-col justify-center gap-1",
|
|
9
|
+
"h-4 w-7 inline-flex items-center justify-center rounded text-[10px] text-[var(--muted-fg)] hover:bg-[var(--muted)] active:bg-[var(--muted)] disabled:opacity-50 disabled:cursor-not-allowed",
|
|
10
|
+
"absolute inset-y-0 flex items-stretch justify-center border-r border-[var(--brd)]",
|
|
11
|
+
"h-full w-full inline-flex items-center justify-center text-[var(--muted-fg)] hover:bg-[var(--muted)] active:bg-[var(--muted)] disabled:opacity-50 disabled:cursor-not-allowed focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
|
|
12
|
+
"absolute inset-y-0 flex items-stretch justify-center border-l border-[var(--brd)]"
|
|
13
|
+
], a = {
|
|
14
|
+
xs: "h-7 px-2.5 text-[12px]",
|
|
15
|
+
sm: "h-8 px-3 text-[13px]",
|
|
16
|
+
md: "h-10 px-3 text-[14px]",
|
|
17
|
+
lg: "h-11 px-4 text-[16px]"
|
|
18
|
+
}, o = {
|
|
19
|
+
left: "text-left",
|
|
20
|
+
center: "text-center",
|
|
21
|
+
right: "text-right"
|
|
22
|
+
}, s = {
|
|
23
|
+
default: "border-[var(--brd)]",
|
|
24
|
+
success: "border-[var(--ds-success)] focus-within:ring-[var(--ds-success)]",
|
|
25
|
+
warning: "border-[var(--ds-warning)] focus-within:ring-[var(--ds-warning)]",
|
|
26
|
+
danger: "border-[var(--ds-danger)] focus-within:ring-[var(--ds-danger)]"
|
|
27
|
+
};
|
|
28
|
+
function c(e) {
|
|
29
|
+
return [e.disabled ? "opacity-50 cursor-not-allowed" : "", s[e.state]].filter(Boolean).join(" ");
|
|
30
|
+
}
|
|
31
|
+
function l(e) {
|
|
32
|
+
return [a[e.size], o[e.textAlign]].join(" ");
|
|
33
|
+
}
|
|
34
|
+
var u = [...new Set([
|
|
35
|
+
...t(n),
|
|
36
|
+
...t(r),
|
|
37
|
+
...Object.values(a).flatMap(t),
|
|
38
|
+
...Object.values(o).flatMap(t),
|
|
39
|
+
...Object.values(s).flatMap(t),
|
|
40
|
+
...t("opacity-50 cursor-not-allowed"),
|
|
41
|
+
...i.flatMap(t)
|
|
42
|
+
])], d = e(import.meta.url, {
|
|
43
|
+
name: "DsNumberInput",
|
|
44
|
+
safelist: u
|
|
45
|
+
});
|
|
46
|
+
//#endregion
|
|
47
|
+
export { c as i, l as n, u as r, d as t };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
//#region src/components/DsToaster/safelist.ts
|
|
3
|
+
var t = /* @__PURE__ */ "fixed,right-4,top-4,z-50,grid,w-[360px],max-w-[calc(100vw-2rem)],gap-3,rounded-[var(--ds-radius-lg)],border,border-[var(--brd)],bg-[var(--card)],px-4,py-3,shadow-[var(--ds-shadow-2)],flex,items-start,h-5,w-5,mt-0.5,min-w-0,flex-1,text-[13px],font-700,ds-muted,h-4,w-4".split(","), n = e(import.meta.url, {
|
|
4
|
+
name: "DsToaster",
|
|
5
|
+
dependencies: ["DsButton"],
|
|
6
|
+
safelist: t
|
|
7
|
+
});
|
|
8
|
+
//#endregion
|
|
9
|
+
export { t as n, n as t };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
//#region src/components/DsTabs/safelist.ts
|
|
3
|
+
var t = /* @__PURE__ */ "inline-flex flex-wrap gap-1 rounded-[var(--ds-radius-lg)] border border-[var(--brd)] bg-[var(--muted)] p-1 h-9 px-3 rounded-[10px] text-sm font-600 transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] bg-[var(--card)] text-[var(--fg)] text-[var(--muted-fg)] hover:text-[var(--fg)] hover:bg-[color-mix(in_srgb,var(--card)_70%,transparent)] items-center gap-2 text-[11px] px-1.5 py-0.5 rounded-full bg-[var(--secondary)] text-[var(--secondary-fg)]".split(" "), n = e(import.meta.url, {
|
|
4
|
+
name: "DsTabs",
|
|
5
|
+
safelist: t
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as n, n as t };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
//#region src/components/DsCheckbox/safelist.ts
|
|
3
|
+
var t = /* @__PURE__ */ "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)] cursor-not-allowed opacity-70 cursor-pointer h-4 w-4 rounded border flex justify-center transition-colors duration-150 border-[var(--primary)] bg-[var(--primary)] border-[var(--brd)] bg-[var(--bg)] h-3.5 w-3.5 transition-transform transition-opacity opacity-100 scale-100 text-[var(--primary-fg)] opacity-0 scale-75 text-transparent text-sm text-[var(--muted-fg)]".split(" "), n = e(import.meta.url, {
|
|
4
|
+
name: "DsCheckbox",
|
|
5
|
+
safelist: t
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as n, n as t };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
import { t } from "./classTokens-CT1tqF2j.js";
|
|
3
|
+
var n = [...new Set([...[
|
|
4
|
+
"border-r border-[var(--sidebar-brd)] bg-[var(--sidebar)] text-[var(--sidebar-fg)]",
|
|
5
|
+
"border-b border-[var(--sidebar-brd)] px-4 py-4",
|
|
6
|
+
"text-[14px] ds-muted",
|
|
7
|
+
"text-[18px] font-700",
|
|
8
|
+
"p-3"
|
|
9
|
+
].flatMap(t)])], r = e(import.meta.url, {
|
|
10
|
+
name: "DsSidebar",
|
|
11
|
+
safelist: n
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { n, r as t };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
import { i as t } from "./dsButtonStyles-C1c_j958.js";
|
|
3
|
+
//#region src/components/DsButton/config.ts
|
|
4
|
+
var n = e(import.meta.url, {
|
|
5
|
+
name: "DsButton",
|
|
6
|
+
safelist: t,
|
|
7
|
+
cssFiles: ["./tokens.css"]
|
|
8
|
+
});
|
|
9
|
+
//#endregion
|
|
10
|
+
export { n as t };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
import { t } from "./classTokens-CT1tqF2j.js";
|
|
3
|
+
//#region src/components/DsTreeSelect/dsTreeSelectStyles.ts
|
|
4
|
+
var n = {
|
|
5
|
+
xs: "h-7 px-2.5 text-[12px]",
|
|
6
|
+
sm: "h-8 px-3 text-[13px]",
|
|
7
|
+
md: "h-10 px-3 text-[14px]",
|
|
8
|
+
lg: "h-11 px-4 text-[16px]"
|
|
9
|
+
}, r = {
|
|
10
|
+
default: "border-[var(--brd)]",
|
|
11
|
+
success: "border-[var(--ds-success)] focus-visible:ring-[var(--ds-success)]",
|
|
12
|
+
warning: "border-[var(--ds-warning)] focus-visible:ring-[var(--ds-warning)]",
|
|
13
|
+
danger: "border-[var(--ds-danger)] focus-visible:ring-[var(--ds-danger)]"
|
|
14
|
+
};
|
|
15
|
+
function i(e) {
|
|
16
|
+
return [
|
|
17
|
+
n[e.size],
|
|
18
|
+
"pr-9",
|
|
19
|
+
e.invalid ? r.danger : r[e.state]
|
|
20
|
+
].join(" ");
|
|
21
|
+
}
|
|
22
|
+
var a = "rounded-[var(--ds-radius-xl)] border border-[var(--brd)] bg-[var(--card)] text-[var(--card-fg)] shadow-[var(--ds-shadow-2)] overflow-hidden", o = [...new Set([
|
|
23
|
+
...Object.values(n).flatMap(t),
|
|
24
|
+
...Object.values(r).flatMap(t),
|
|
25
|
+
"pr-9",
|
|
26
|
+
...t(a)
|
|
27
|
+
])], s = e(import.meta.url, {
|
|
28
|
+
name: "DsTreeSelect",
|
|
29
|
+
safelist: o,
|
|
30
|
+
dependencies: ["DsInput", "DsTree"]
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
export { o as i, i as n, a as r, s as t };
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
import { t } from "./classTokens-CT1tqF2j.js";
|
|
3
|
+
//#region src/components/DsSegmented/dsSegmentedStyles.ts
|
|
4
|
+
var n = "relative inline-grid min-w-0 grid-flow-col items-stretch rounded-[var(--ds-segmented-radius)] p-[var(--ds-segmented-padding)] transition-colors duration-150", r = {
|
|
5
|
+
pills: "border border-[var(--ds-segmented-track-brd)] bg-[var(--ds-segmented-track-bg)] text-[var(--ds-segmented-item-color)]",
|
|
6
|
+
button: "border border-[var(--ds-segmented-track-brd)] bg-[var(--ds-segmented-track-bg)] text-[var(--ds-segmented-item-color)] shadow-[var(--ds-segmented-track-shadow)]"
|
|
7
|
+
}, i = "w-full", a = "pointer-events-none absolute left-0 top-0 rounded-[calc(var(--ds-segmented-radius)-var(--ds-segmented-padding))] transition-[transform,width,height,opacity] ease-out", o = {
|
|
8
|
+
pills: "border border-[var(--ds-segmented-indicator-brd)] bg-[var(--ds-segmented-indicator-bg)] shadow-[var(--ds-segmented-indicator-shadow)]",
|
|
9
|
+
button: "border border-[var(--ds-segmented-indicator-brd)] bg-[var(--ds-segmented-indicator-bg)] shadow-[var(--ds-segmented-indicator-shadow)]"
|
|
10
|
+
}, s = "group/segmented-item relative z-[1] inline-flex min-h-[var(--ds-segmented-min-height)] min-w-0 items-center justify-center gap-2 rounded-[calc(var(--ds-segmented-radius)-var(--ds-segmented-padding))] px-[var(--ds-segmented-item-px)] py-[var(--ds-segmented-item-py)] text-[length:var(--ds-segmented-font-size)] leading-[var(--ds-segmented-line-height)] font-[var(--ds-segmented-font-weight)] text-[var(--ds-segmented-item-color)] transition-colors duration-150 select-none focus:outline-none focus-visible:shadow-[0_0_0_2px_var(--ring),0_0_0_4px_var(--bg)]", c = {
|
|
11
|
+
pills: "",
|
|
12
|
+
button: ""
|
|
13
|
+
}, l = "text-[var(--ds-segmented-item-selected-color)]", u = "cursor-not-allowed opacity-50", d = "cursor-pointer hover:text-[var(--ds-segmented-item-hover-color)]", f = "truncate", p = "h-4 w-4 shrink-0", m = "gap-0", h = {
|
|
14
|
+
xs: {
|
|
15
|
+
"--ds-segmented-radius": "9999px",
|
|
16
|
+
"--ds-segmented-padding": "4px",
|
|
17
|
+
"--ds-segmented-item-px": "10px",
|
|
18
|
+
"--ds-segmented-item-py": "4px",
|
|
19
|
+
"--ds-segmented-font-size": "0.75rem",
|
|
20
|
+
"--ds-segmented-line-height": "1rem",
|
|
21
|
+
"--ds-segmented-font-weight": "600",
|
|
22
|
+
"--ds-segmented-min-height": "24px"
|
|
23
|
+
},
|
|
24
|
+
sm: {
|
|
25
|
+
"--ds-segmented-radius": "9999px",
|
|
26
|
+
"--ds-segmented-padding": "4px",
|
|
27
|
+
"--ds-segmented-item-px": "12px",
|
|
28
|
+
"--ds-segmented-item-py": "6px",
|
|
29
|
+
"--ds-segmented-font-size": "0.75rem",
|
|
30
|
+
"--ds-segmented-line-height": "1rem",
|
|
31
|
+
"--ds-segmented-font-weight": "600",
|
|
32
|
+
"--ds-segmented-min-height": "28px"
|
|
33
|
+
},
|
|
34
|
+
md: {
|
|
35
|
+
"--ds-segmented-radius": "9999px",
|
|
36
|
+
"--ds-segmented-padding": "4px",
|
|
37
|
+
"--ds-segmented-item-px": "14px",
|
|
38
|
+
"--ds-segmented-item-py": "8px",
|
|
39
|
+
"--ds-segmented-font-size": "0.875rem",
|
|
40
|
+
"--ds-segmented-line-height": "1.25rem",
|
|
41
|
+
"--ds-segmented-font-weight": "600",
|
|
42
|
+
"--ds-segmented-min-height": "40px"
|
|
43
|
+
},
|
|
44
|
+
lg: {
|
|
45
|
+
"--ds-segmented-radius": "9999px",
|
|
46
|
+
"--ds-segmented-padding": "4px",
|
|
47
|
+
"--ds-segmented-item-px": "16px",
|
|
48
|
+
"--ds-segmented-item-py": "10px",
|
|
49
|
+
"--ds-segmented-font-size": "0.9375rem",
|
|
50
|
+
"--ds-segmented-line-height": "1.25rem",
|
|
51
|
+
"--ds-segmented-font-weight": "600",
|
|
52
|
+
"--ds-segmented-min-height": "46px"
|
|
53
|
+
}
|
|
54
|
+
}, g = {
|
|
55
|
+
pills: {
|
|
56
|
+
"--ds-segmented-track-bg": "var(--muted)",
|
|
57
|
+
"--ds-segmented-track-brd": "var(--brd)",
|
|
58
|
+
"--ds-segmented-track-shadow": "none",
|
|
59
|
+
"--ds-segmented-indicator-bg": "var(--card)",
|
|
60
|
+
"--ds-segmented-indicator-brd": "color-mix(in srgb, var(--card) 84%, var(--brd) 16%)",
|
|
61
|
+
"--ds-segmented-indicator-shadow": "var(--ds-shadow-1), var(--ds-segmented-indicator-highlight-shadow, 0 0 0 0 transparent)",
|
|
62
|
+
"--ds-segmented-item-color": "var(--muted-fg)",
|
|
63
|
+
"--ds-segmented-item-selected-color": "var(--fg)",
|
|
64
|
+
"--ds-segmented-item-hover-color": "var(--fg)"
|
|
65
|
+
},
|
|
66
|
+
button: {
|
|
67
|
+
"--ds-segmented-track-bg": "var(--card)",
|
|
68
|
+
"--ds-segmented-track-brd": "var(--brd)",
|
|
69
|
+
"--ds-segmented-track-shadow": "var(--ds-shadow-1)",
|
|
70
|
+
"--ds-segmented-indicator-bg": "var(--primary)",
|
|
71
|
+
"--ds-segmented-indicator-brd": "color-mix(in srgb, var(--primary) 88%, var(--brd) 12%)",
|
|
72
|
+
"--ds-segmented-indicator-shadow": "var(--ds-shadow-2)",
|
|
73
|
+
"--ds-segmented-item-color": "var(--muted-fg)",
|
|
74
|
+
"--ds-segmented-item-selected-color": "var(--primary-fg)",
|
|
75
|
+
"--ds-segmented-item-hover-color": "var(--fg)"
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
function _(e) {
|
|
79
|
+
return [
|
|
80
|
+
n,
|
|
81
|
+
r[e.variant],
|
|
82
|
+
e.block ? i : "",
|
|
83
|
+
e.disabled ? "opacity-70" : ""
|
|
84
|
+
].filter(Boolean).join(" ");
|
|
85
|
+
}
|
|
86
|
+
function v(e) {
|
|
87
|
+
return {
|
|
88
|
+
...h[e.size],
|
|
89
|
+
...g[e.variant]
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
function y(e) {
|
|
93
|
+
return [a, o[e]].join(" ");
|
|
94
|
+
}
|
|
95
|
+
function b(e) {
|
|
96
|
+
return [
|
|
97
|
+
s,
|
|
98
|
+
c[e.variant],
|
|
99
|
+
e.selected ? l : "",
|
|
100
|
+
e.disabled ? u : d,
|
|
101
|
+
e.iconOnly ? m : ""
|
|
102
|
+
].filter(Boolean).join(" ");
|
|
103
|
+
}
|
|
104
|
+
var x = {
|
|
105
|
+
rootBaseClass: t(n),
|
|
106
|
+
rootVariantClassMap: Object.values(r).flatMap(t),
|
|
107
|
+
rootBlockClass: t(i),
|
|
108
|
+
indicatorBaseClass: t(a),
|
|
109
|
+
indicatorVariantClassMap: Object.values(o).flatMap(t),
|
|
110
|
+
itemBaseClass: t(s),
|
|
111
|
+
itemVariantClassMap: Object.values(c).flatMap(t),
|
|
112
|
+
itemSelectedClass: t(l),
|
|
113
|
+
itemDisabledClass: t(u),
|
|
114
|
+
itemEnabledClass: t(d),
|
|
115
|
+
itemLabelClass: t(f),
|
|
116
|
+
itemIconClass: t(p),
|
|
117
|
+
iconOnlyClass: t(m),
|
|
118
|
+
extra: t("opacity-70")
|
|
119
|
+
}, S = [...new Set([
|
|
120
|
+
...x.rootBaseClass,
|
|
121
|
+
...x.rootVariantClassMap,
|
|
122
|
+
...x.rootBlockClass,
|
|
123
|
+
...x.indicatorBaseClass,
|
|
124
|
+
...x.indicatorVariantClassMap,
|
|
125
|
+
...x.itemBaseClass,
|
|
126
|
+
...x.itemVariantClassMap,
|
|
127
|
+
...x.itemSelectedClass,
|
|
128
|
+
...x.itemDisabledClass,
|
|
129
|
+
...x.itemEnabledClass,
|
|
130
|
+
...x.itemLabelClass,
|
|
131
|
+
...x.itemIconClass,
|
|
132
|
+
...x.iconOnlyClass,
|
|
133
|
+
...x.extra
|
|
134
|
+
])], C = f, w = p, T = e(import.meta.url, {
|
|
135
|
+
name: "DsSegmented",
|
|
136
|
+
safelist: S,
|
|
137
|
+
cssFiles: ["./tokens.css"]
|
|
138
|
+
});
|
|
139
|
+
//#endregion
|
|
140
|
+
export { C as a, S as c, w as i, y as n, _ as o, b as r, v as s, T as t };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
//#region src/components/DsDataTable/safelist.ts
|
|
3
|
+
var t = [
|
|
4
|
+
"font-700",
|
|
5
|
+
"text-xs",
|
|
6
|
+
"px-4",
|
|
7
|
+
"py-3",
|
|
8
|
+
"text-left",
|
|
9
|
+
"text-right",
|
|
10
|
+
"inline-flex",
|
|
11
|
+
"items-center",
|
|
12
|
+
"gap-2",
|
|
13
|
+
"text-[var(--muted-fg)]",
|
|
14
|
+
"hover:text-[var(--fg)]",
|
|
15
|
+
"transition-colors",
|
|
16
|
+
"focus:outline-none",
|
|
17
|
+
"focus-visible:ring-2",
|
|
18
|
+
"focus-visible:ring-[var(--ring)]",
|
|
19
|
+
"rounded",
|
|
20
|
+
"h-4",
|
|
21
|
+
"w-4",
|
|
22
|
+
"border-t",
|
|
23
|
+
"border-[var(--brd)]"
|
|
24
|
+
], n = e(import.meta.url, {
|
|
25
|
+
name: "DsDataTable",
|
|
26
|
+
safelist: t,
|
|
27
|
+
dependencies: ["DsTable"]
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
export { t as n, n as t };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
import { t } from "./classTokens-CT1tqF2j.js";
|
|
3
|
+
//#region src/components/DsLink/dsLinkStyles.ts
|
|
4
|
+
var n = {
|
|
5
|
+
sm: "text-sm",
|
|
6
|
+
md: "text-[14px]",
|
|
7
|
+
lg: "text-base"
|
|
8
|
+
}, r = {
|
|
9
|
+
primary: "text-[var(--primary)] visited:text-[var(--primary)] hover:text-[var(--primary-hover)] active:text-[var(--primary-active)]",
|
|
10
|
+
default: "text-[var(--fg)] hover:text-[var(--primary)] active:text-[var(--primary-active)]",
|
|
11
|
+
muted: "text-[var(--muted-fg)] hover:text-[var(--fg)] active:text-[var(--fg)]",
|
|
12
|
+
danger: "text-[var(--ds-danger)] hover:text-[var(--ds-danger-hover)] active:text-[var(--ds-danger-active)]"
|
|
13
|
+
};
|
|
14
|
+
function i(e, t) {
|
|
15
|
+
return t ? "no-underline" : e === "always" ? "underline underline-offset-4" : e === "none" ? "no-underline" : "no-underline hover:underline hover:underline-offset-4";
|
|
16
|
+
}
|
|
17
|
+
function a(e) {
|
|
18
|
+
return e ? "cursor-not-allowed opacity-60 text-[var(--muted-fg)]" : "";
|
|
19
|
+
}
|
|
20
|
+
function o(e) {
|
|
21
|
+
return [
|
|
22
|
+
n[e.size],
|
|
23
|
+
i(e.underline, e.disabled),
|
|
24
|
+
r[e.variant],
|
|
25
|
+
a(e.disabled)
|
|
26
|
+
].filter(Boolean).join(" ");
|
|
27
|
+
}
|
|
28
|
+
var s = [...new Set([
|
|
29
|
+
...Object.values(n).flatMap(t),
|
|
30
|
+
...[
|
|
31
|
+
"no-underline",
|
|
32
|
+
"underline underline-offset-4",
|
|
33
|
+
"no-underline hover:underline hover:underline-offset-4"
|
|
34
|
+
].flatMap(t),
|
|
35
|
+
...Object.values(r).flatMap(t),
|
|
36
|
+
...t("cursor-not-allowed opacity-60 text-[var(--muted-fg)]")
|
|
37
|
+
])], c = e(import.meta.url, {
|
|
38
|
+
name: "DsLink",
|
|
39
|
+
safelist: s
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
export { o as n, s as r, c as t };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
//#region src/components/DsList/safelist.ts
|
|
3
|
+
var t = [
|
|
4
|
+
"divide-y",
|
|
5
|
+
"divide-[var(--brd)]",
|
|
6
|
+
"px-4",
|
|
7
|
+
"py-3",
|
|
8
|
+
"flex",
|
|
9
|
+
"items-start",
|
|
10
|
+
"justify-between",
|
|
11
|
+
"gap-4",
|
|
12
|
+
"min-w-0",
|
|
13
|
+
"text-[13px]",
|
|
14
|
+
"font-700",
|
|
15
|
+
"ds-muted",
|
|
16
|
+
"mt-0.5",
|
|
17
|
+
"shrink-0"
|
|
18
|
+
], n = e(import.meta.url, {
|
|
19
|
+
name: "DsList",
|
|
20
|
+
safelist: t,
|
|
21
|
+
dependencies: ["DsCard"]
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { t as n, n as t };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
//#region src/components/DsBottomNav/safelist.ts
|
|
3
|
+
var t = /* @__PURE__ */ "fixed.bottom-0.left-0.right-0.border-t.border-[var(--brd)].bg-[var(--bg)].px-2.pb-[env(safe-area-inset-bottom)].sm:hidden.h-14.flex.items-center.justify-around.min-w-[44px].min-h-[44px].px-3.rounded-md.text-sm.font-600.transition-colors.focus:outline-none.focus-visible:ring-2.focus-visible:ring-[var(--ring)].text-[var(--primary)].text-[var(--muted-fg)].hover:text-[var(--fg)]".split("."), n = e(import.meta.url, {
|
|
4
|
+
name: "DsBottomNav",
|
|
5
|
+
safelist: t
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as n, n as t };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
//#region src/components/DsImageViewer/safelist.ts
|
|
3
|
+
var t = /* @__PURE__ */ "fixed.inset-0.overflow-hidden.duration-120.duration-130.duration-150.duration-180.ease-in.ease-out.opacity-0.opacity-100.scale-98.scale-100.absolute.bg-black/60.backdrop-blur-sm.relative.z-10.h-full.w-full.outline-none.pointer-events-none.inset-x-0.top-0.z-30.px-3.py-3.sm:px-6.pointer-events-auto.flex.items-center.justify-between.justify-center.gap-1.gap-2.gap-3.rounded-full.bg-black/35.py-1.text-xs.font-600.text-white/95.sm:text-sm.font-700.h-11.w-11.border.border-white/20.text-white.transition-colors.hover:bg-black/55.focus-visible:outline-none.focus-visible:ring-2.focus-visible:ring-white/80.text-lg.leading-none.px-16.py-16.sm:px-24.sm:py-20.left-3.top-1/2.z-20.h-12.w-12.-translate-y-1/2.sm:left-6.text-xl.right-3.sm:right-6.max-h-full.max-w-full.select-none.object-contain.will-change-transform.transition-transform.rounded-[var(--ds-radius-xl)].bg-black/25.px-4.text-sm.text-white/80.bottom-0.pb-3.sm:pb-6.mx-auto.max-w-max.p-1.min-w-11.px-2.hover:bg-white/10.mx-1.h-6.w-px.bg-white/25".split("."), n = e(import.meta.url, {
|
|
4
|
+
name: "DsImageViewer",
|
|
5
|
+
safelist: t
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as n, n as t };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
//#region src/components/DsCard/safelist.ts
|
|
3
|
+
var t = [
|
|
4
|
+
"rounded-[var(--ds-radius-lg)]",
|
|
5
|
+
"border",
|
|
6
|
+
"border-[var(--brd)]",
|
|
7
|
+
"bg-[var(--card)]",
|
|
8
|
+
"text-[var(--card-fg)]",
|
|
9
|
+
"shadow-sm"
|
|
10
|
+
], n = e(import.meta.url, {
|
|
11
|
+
name: "DsCard",
|
|
12
|
+
safelist: t
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { t as n, n as t };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
//#region src/components/DsFormSection/safelist.ts
|
|
3
|
+
var t = [
|
|
4
|
+
"grid",
|
|
5
|
+
"gap-4",
|
|
6
|
+
"text-[14px]",
|
|
7
|
+
"font-700",
|
|
8
|
+
"mt-1",
|
|
9
|
+
"text-[13px]",
|
|
10
|
+
"ds-muted"
|
|
11
|
+
], n = e(import.meta.url, {
|
|
12
|
+
name: "DsFormSection",
|
|
13
|
+
safelist: t
|
|
14
|
+
});
|
|
15
|
+
//#endregion
|
|
16
|
+
export { t as n, n as t };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
//#region src/components/DsTable/safelist.ts
|
|
3
|
+
var t = [
|
|
4
|
+
"overflow-x-auto",
|
|
5
|
+
"rounded-[var(--ds-radius-lg)]",
|
|
6
|
+
"border",
|
|
7
|
+
"border-[var(--brd)]",
|
|
8
|
+
"bg-[var(--card)]",
|
|
9
|
+
"min-w-full",
|
|
10
|
+
"text-sm",
|
|
11
|
+
"bg-[var(--muted)]",
|
|
12
|
+
"text-[var(--muted-fg)]",
|
|
13
|
+
"text-[var(--fg)]"
|
|
14
|
+
], n = e(import.meta.url, {
|
|
15
|
+
name: "DsTable",
|
|
16
|
+
safelist: t
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { t as n, n as t };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
import { t } from "./classTokens-CT1tqF2j.js";
|
|
3
|
+
var n = [...new Set([...[
|
|
4
|
+
"inline-block",
|
|
5
|
+
"relative w-full rounded-[var(--ds-radius-lg)] border border-dashed border-[var(--brd)] bg-[var(--card)] px-5 py-6 outline-none transition",
|
|
6
|
+
"opacity-60 cursor-not-allowed",
|
|
7
|
+
"cursor-pointer hover:bg-[var(--muted)] focus-visible:ring-2 focus-visible:ring-[var(--ring)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--bg)]",
|
|
8
|
+
"border-[var(--ring)] bg-[var(--muted)]",
|
|
9
|
+
"flex items-start gap-4",
|
|
10
|
+
"h-12 w-12 shrink-0 rounded-[12px] bg-[var(--muted)] border border-[var(--brd)] flex items-center justify-center",
|
|
11
|
+
"h-6 w-6 text-[var(--muted-fg)]",
|
|
12
|
+
"min-w-0",
|
|
13
|
+
"text-[14px] font-700",
|
|
14
|
+
"mt-1 text-[13px] ds-muted",
|
|
15
|
+
"mt-3 space-y-1",
|
|
16
|
+
"font-600"
|
|
17
|
+
].flatMap(t)])], r = e(import.meta.url, {
|
|
18
|
+
name: "DsFileUpload",
|
|
19
|
+
safelist: n
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { n, r as t };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
//#region src/components/DsCollapse/safelist.ts
|
|
3
|
+
var t = /* @__PURE__ */ "divide-y.divide-[var(--brd)].text-[var(--fg)].m-0.w-full.px-4.py-3.pb-4.flex.items-center.justify-between.gap-4.text-left.transition-colors.transition-transform.transition-[grid-template-rows].duration-150.duration-200.focus:outline-none.focus-visible:ring-2.focus-visible:ring-[var(--ring)].disabled:opacity-50.disabled:cursor-not-allowed.hover:bg-[var(--muted)].min-w-0.text-sm.font-600.h-4.w-4.shrink-0.text-[var(--muted-fg)].rotate-180.grid.grid-rows-[1fr].grid-rows-[0fr].overflow-hidden".split("."), n = e(import.meta.url, {
|
|
4
|
+
name: "DsCollapse",
|
|
5
|
+
safelist: t,
|
|
6
|
+
dependencies: ["DsCard"]
|
|
7
|
+
});
|
|
8
|
+
//#endregion
|
|
9
|
+
export { t as n, n as t };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
//#region src/components/DsFormFile/safelist.ts
|
|
3
|
+
var t = [
|
|
4
|
+
"rounded-[var(--ds-radius-md)]",
|
|
5
|
+
"opacity-60",
|
|
6
|
+
"cursor-not-allowed",
|
|
7
|
+
"absolute",
|
|
8
|
+
"opacity-0",
|
|
9
|
+
"w-px",
|
|
10
|
+
"h-px",
|
|
11
|
+
"pointer-events-none",
|
|
12
|
+
"flex",
|
|
13
|
+
"flex-col",
|
|
14
|
+
"gap-2",
|
|
15
|
+
"flex-wrap",
|
|
16
|
+
"items-center",
|
|
17
|
+
"gap-3",
|
|
18
|
+
"i-lucide-upload",
|
|
19
|
+
"ml-2",
|
|
20
|
+
"i-lucide-x",
|
|
21
|
+
"text-sm",
|
|
22
|
+
"text-[var(--muted-fg)]",
|
|
23
|
+
"truncate",
|
|
24
|
+
"max-w-[240px]",
|
|
25
|
+
"text-xs",
|
|
26
|
+
"hover:text-[var(--fg)]",
|
|
27
|
+
"text-[var(--ds-danger)]"
|
|
28
|
+
], n = e(import.meta.url, {
|
|
29
|
+
name: "DsFormFile",
|
|
30
|
+
dependencies: ["DsButton"],
|
|
31
|
+
safelist: t
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
export { t as n, n as t };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
//#region src/components/DsEmptyState/safelist.ts
|
|
3
|
+
var t = [
|
|
4
|
+
"rounded-[var(--ds-radius-lg)]",
|
|
5
|
+
"border",
|
|
6
|
+
"border-[var(--brd)]",
|
|
7
|
+
"bg-[var(--card)]",
|
|
8
|
+
"p-6",
|
|
9
|
+
"text-center",
|
|
10
|
+
"flex",
|
|
11
|
+
"justify-center",
|
|
12
|
+
"h-12",
|
|
13
|
+
"w-12",
|
|
14
|
+
"rounded-[12px]",
|
|
15
|
+
"bg-[var(--muted)]",
|
|
16
|
+
"items-center",
|
|
17
|
+
"h-6",
|
|
18
|
+
"w-6",
|
|
19
|
+
"text-[var(--muted-fg)]",
|
|
20
|
+
"mt-4",
|
|
21
|
+
"text-[14px]",
|
|
22
|
+
"font-700",
|
|
23
|
+
"mt-1",
|
|
24
|
+
"text-[13px]"
|
|
25
|
+
], n = e(import.meta.url, {
|
|
26
|
+
name: "DsEmptyState",
|
|
27
|
+
safelist: t
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
export { t as n, n as t };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { t as e } from "./componentConfig-CQndJxd1.js";
|
|
2
|
+
import { t } from "./classTokens-CT1tqF2j.js";
|
|
3
|
+
//#region src/components/DsDrawer/dsDrawerStyles.ts
|
|
4
|
+
var n = {
|
|
5
|
+
sm: "w-[360px] max-w-[90vw]",
|
|
6
|
+
md: "w-[420px] max-w-[92vw]",
|
|
7
|
+
lg: "w-[560px] max-w-[94vw]",
|
|
8
|
+
full: "w-[100vw]"
|
|
9
|
+
}, r = {
|
|
10
|
+
left: "left-0 border-r",
|
|
11
|
+
right: "right-0 border-l"
|
|
12
|
+
}, i = {
|
|
13
|
+
left: "-translate-x-full",
|
|
14
|
+
right: "translate-x-full"
|
|
15
|
+
};
|
|
16
|
+
function a(e) {
|
|
17
|
+
return [
|
|
18
|
+
r[e.side],
|
|
19
|
+
n[e.size],
|
|
20
|
+
"border-[var(--brd)]",
|
|
21
|
+
"bg-[var(--card)] text-[var(--card-fg)]",
|
|
22
|
+
"shadow-[var(--ds-shadow-2)] outline-none"
|
|
23
|
+
].join(" ");
|
|
24
|
+
}
|
|
25
|
+
function o(e) {
|
|
26
|
+
return i[e];
|
|
27
|
+
}
|
|
28
|
+
var s = [...new Set([
|
|
29
|
+
...Object.values(r).flatMap(t),
|
|
30
|
+
...Object.values(n).flatMap(t),
|
|
31
|
+
...Object.values(i).flatMap(t),
|
|
32
|
+
...t("border-[var(--brd)] bg-[var(--card)] text-[var(--card-fg)] shadow-[var(--ds-shadow-2)] outline-none")
|
|
33
|
+
])], c = e(import.meta.url, {
|
|
34
|
+
name: "DsDrawer",
|
|
35
|
+
dependencies: ["DsButton"],
|
|
36
|
+
safelist: s
|
|
37
|
+
});
|
|
38
|
+
//#endregion
|
|
39
|
+
export { s as i, a as n, o as r, c as t };
|