@gradient-ui/core 0.8.0 → 1.0.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 +21 -0
- package/README.md +60 -261
- package/dist/BaseOverlay-DgBWbJbs.cjs +1 -0
- package/dist/BaseOverlay-DzJ37TCS.js +216 -0
- package/dist/GAvatar-CN3PHGY_.js +202 -0
- package/dist/GAvatar-Dj6hSgL3.cjs +1 -0
- package/dist/GButton.vue_vue_type_style_index_0_lang-D9qRus1m.js +141 -0
- package/dist/GButton.vue_vue_type_style_index_0_lang-tGLnt3_R.cjs +1 -0
- package/dist/GCheckGroup-B3gZ9p6e.cjs +1 -0
- package/dist/GCheckGroup-DDkxtEj2.js +132 -0
- package/dist/GCheckIndicator-C-adGOcb.cjs +1 -0
- package/dist/GCheckIndicator-yvipPkWi.js +264 -0
- package/dist/GCheckbox.vue_vue_type_script_setup_true_lang-BrQE29bm.js +68 -0
- package/dist/GCheckbox.vue_vue_type_script_setup_true_lang-hjvutORC.cjs +1 -0
- package/dist/GCheckboxGroup.vue_vue_type_script_setup_true_lang-ChPcOQYQ.js +143 -0
- package/dist/GCheckboxGroup.vue_vue_type_script_setup_true_lang-CjPc-fNv.cjs +1 -0
- package/dist/GDropdown-CmBNk0jK.cjs +1 -0
- package/dist/GDropdown-TVH93Obq.js +126 -0
- package/dist/GExpandTransition.vue_vue_type_script_setup_true_lang-Ccl2Cemo.cjs +1 -0
- package/dist/GExpandTransition.vue_vue_type_script_setup_true_lang-ztMeJVQO.js +170 -0
- package/dist/GForm.vue_vue_type_style_index_0_lang-BzOWdjzk.cjs +1 -0
- package/dist/GForm.vue_vue_type_style_index_0_lang-DpPM5snQ.js +149 -0
- package/dist/GGradientMaterial.vue_vue_type_style_index_0_lang-ChRL7BIo.js +119 -0
- package/dist/GGradientMaterial.vue_vue_type_style_index_0_lang-DJcGdEVi.cjs +1 -0
- package/dist/GInput.vue_vue_type_script_setup_true_lang-BHM4W0S8.js +143 -0
- package/dist/GInput.vue_vue_type_script_setup_true_lang-dMjIUhb1.cjs +1 -0
- package/dist/GLoading.vue_vue_type_style_index_0_lang-BNOsRA0v.js +97 -0
- package/dist/GLoading.vue_vue_type_style_index_0_lang-KmMjjwpE.cjs +1 -0
- package/dist/GRadio.vue_vue_type_script_setup_true_lang-DNRTDtF2.cjs +1 -0
- package/dist/GRadio.vue_vue_type_script_setup_true_lang-kE-52Aj1.js +182 -0
- package/dist/GSwitch.vue_vue_type_script_setup_true_lang-BZXxiyLT.js +68 -0
- package/dist/GSwitch.vue_vue_type_script_setup_true_lang-DC8vyW7e.cjs +1 -0
- package/dist/GTable.vue_vue_type_style_index_1_lang-BECleEMi.js +828 -0
- package/dist/GTable.vue_vue_type_style_index_1_lang-DgaYCTxJ.cjs +1 -0
- package/dist/GTextarea.vue_vue_type_script_setup_true_lang-CyuCJwv6.cjs +1 -0
- package/dist/GTextarea.vue_vue_type_script_setup_true_lang-zSTso23Z.js +84 -0
- package/dist/GTransition.vue_vue_type_script_setup_true_lang-CHGSgsZ0.js +143 -0
- package/dist/GTransition.vue_vue_type_script_setup_true_lang-CgELPmMA.cjs +1 -0
- package/dist/GTransitionGroup.vue_vue_type_script_setup_true_lang-CDu6W6-X.js +23 -0
- package/dist/GTransitionGroup.vue_vue_type_script_setup_true_lang-DDh0rXP7.cjs +1 -0
- package/dist/PLA-B2QljfgE.cjs +1 -0
- package/dist/PLA-DePtRzKl.js +10 -0
- package/dist/_plugin-vue_export-helper-B--vMWp3.js +9 -0
- package/dist/_plugin-vue_export-helper-D_jf5u0r.cjs +1 -0
- package/dist/actionSurface-BkFPXb-Z.js +123 -0
- package/dist/actionSurface-Db2TksPm.cjs +1 -0
- package/dist/appScopedState-BCzeQW7Y.js +15 -0
- package/dist/appScopedState-D0zgOLf5.cjs +1 -0
- package/dist/booleanControl-BrOrGYvg.js +71 -0
- package/dist/booleanControl-uPXEckMZ.cjs +1 -0
- package/dist/camelToKebabCase-BFm1Zwmu.cjs +1 -0
- package/dist/camelToKebabCase-nw6sbguT.js +6 -0
- package/dist/clientLifecycle-DlIZRy4I.cjs +1 -0
- package/dist/clientLifecycle-NZQzL_eH.js +12 -0
- package/dist/color-8SkPDCIp.cjs +1 -0
- package/dist/color-WJmhRKJ_.js +26 -0
- package/dist/colorResolver-BBj51UAZ.js +90 -0
- package/dist/colorResolver-C6PTz0S8.cjs +1 -0
- package/dist/component-names.cjs +1 -0
- package/dist/component-names.mjs +79 -0
- package/dist/components/BaseOverlay.cjs +1 -0
- package/dist/components/BaseOverlay.mjs +5 -0
- package/dist/components/GAlert.cjs +1 -0
- package/dist/components/GAlert.mjs +126 -0
- package/dist/components/GAside.cjs +1 -0
- package/dist/components/GAside.mjs +90 -0
- package/dist/components/GAsideGroup.cjs +1 -0
- package/dist/components/GAsideGroup.mjs +99 -0
- package/dist/components/GAsideItem.cjs +1 -0
- package/dist/components/GAsideItem.mjs +123 -0
- package/dist/components/GAvatar.cjs +1 -0
- package/dist/components/GAvatar.mjs +5 -0
- package/dist/components/GAvatarGroup.cjs +1 -0
- package/dist/components/GAvatarGroup.mjs +66 -0
- package/dist/components/GBadge.cjs +1 -0
- package/dist/components/GBadge.mjs +141 -0
- package/dist/components/GButton.cjs +1 -0
- package/dist/components/GButton.mjs +4 -0
- package/dist/components/GCard.cjs +1 -0
- package/dist/components/GCard.mjs +235 -0
- package/dist/components/GCheckbox.cjs +1 -0
- package/dist/components/GCheckbox.mjs +4 -0
- package/dist/components/GCheckboxGroup.cjs +1 -0
- package/dist/components/GCheckboxGroup.mjs +4 -0
- package/dist/components/GChip.cjs +1 -0
- package/dist/components/GChip.mjs +133 -0
- package/dist/components/GCombobox.cjs +1 -0
- package/dist/components/GCombobox.mjs +477 -0
- package/dist/components/GDivider.cjs +1 -0
- package/dist/components/GDivider.mjs +189 -0
- package/dist/components/GDrawer.cjs +1 -0
- package/dist/components/GDrawer.mjs +151 -0
- package/dist/components/GDropdownGroup.cjs +1 -0
- package/dist/components/GDropdownGroup.mjs +24 -0
- package/dist/components/GExpandTransition.cjs +1 -0
- package/dist/components/GExpandTransition.mjs +4 -0
- package/dist/components/GExpansion.cjs +1 -0
- package/dist/components/GExpansion.mjs +321 -0
- package/dist/components/GExpansionGroup.cjs +1 -0
- package/dist/components/GExpansionGroup.mjs +95 -0
- package/dist/components/GFAB.cjs +1 -0
- package/dist/components/GFAB.mjs +142 -0
- package/dist/components/GForm.cjs +1 -0
- package/dist/components/GForm.mjs +4 -0
- package/dist/components/GGradient.cjs +1 -0
- package/dist/components/GGradient.mjs +158 -0
- package/dist/components/GGradientMaterial.cjs +1 -0
- package/dist/components/GGradientMaterial.mjs +4 -0
- package/dist/components/GIcon.cjs +1 -0
- package/dist/components/GIcon.mjs +35 -0
- package/dist/components/GImg.cjs +1 -0
- package/dist/components/GImg.mjs +167 -0
- package/dist/components/GInput.cjs +1 -0
- package/dist/components/GInput.mjs +4 -0
- package/dist/components/GLoading.cjs +1 -0
- package/dist/components/GLoading.mjs +4 -0
- package/dist/components/GMenu.cjs +1 -0
- package/dist/components/GMenu.mjs +274 -0
- package/dist/components/GModal.cjs +1 -0
- package/dist/components/GModal.mjs +141 -0
- package/dist/components/GNavGroup.cjs +1 -0
- package/dist/components/GNavGroup.mjs +99 -0
- package/dist/components/GNavItem.cjs +1 -0
- package/dist/components/GNavItem.mjs +124 -0
- package/dist/components/GNavList.cjs +1 -0
- package/dist/components/GNavList.mjs +82 -0
- package/dist/components/GNavbar.cjs +1 -0
- package/dist/components/GNavbar.mjs +172 -0
- package/dist/components/GNavbarItem.cjs +1 -0
- package/dist/components/GNavbarItem.mjs +120 -0
- package/dist/components/GNavbarMenu.cjs +1 -0
- package/dist/components/GNavbarMenu.mjs +147 -0
- package/dist/components/GNavbarSubItem.cjs +1 -0
- package/dist/components/GNavbarSubItem.mjs +96 -0
- package/dist/components/GProgress.cjs +1 -0
- package/dist/components/GProgress.mjs +135 -0
- package/dist/components/GQuickActions.cjs +1 -0
- package/dist/components/GQuickActions.mjs +157 -0
- package/dist/components/GRadio.cjs +1 -0
- package/dist/components/GRadio.mjs +4 -0
- package/dist/components/GSelect.cjs +1 -0
- package/dist/components/GSelect.mjs +145 -0
- package/dist/components/GSnackbar.cjs +1 -0
- package/dist/components/GSnackbar.mjs +285 -0
- package/dist/components/GSquircle.cjs +1 -0
- package/dist/components/GSquircle.mjs +180 -0
- package/dist/components/GStepPanel.cjs +1 -0
- package/dist/components/GStepPanel.mjs +156 -0
- package/dist/components/GStepper.cjs +1 -0
- package/dist/components/GStepper.mjs +335 -0
- package/dist/components/GStepperActions.cjs +1 -0
- package/dist/components/GStepperActions.mjs +61 -0
- package/dist/components/GSwitch.cjs +1 -0
- package/dist/components/GSwitch.mjs +4 -0
- package/dist/components/GTab.cjs +1 -0
- package/dist/components/GTab.mjs +105 -0
- package/dist/components/GTabList.cjs +1 -0
- package/dist/components/GTabList.mjs +28 -0
- package/dist/components/GTabPanel.cjs +1 -0
- package/dist/components/GTabPanel.mjs +35 -0
- package/dist/components/GTabPanels.cjs +1 -0
- package/dist/components/GTabPanels.mjs +24 -0
- package/dist/components/GTable.cjs +1 -0
- package/dist/components/GTable.mjs +4 -0
- package/dist/components/GTabs.cjs +1 -0
- package/dist/components/GTabs.mjs +73 -0
- package/dist/components/GText.cjs +1 -0
- package/dist/components/GText.mjs +59 -0
- package/dist/components/GTextarea.cjs +1 -0
- package/dist/components/GTextarea.mjs +4 -0
- package/dist/components/GTooltip.cjs +1 -0
- package/dist/components/GTooltip.mjs +65 -0
- package/dist/components/GTransition.cjs +1 -0
- package/dist/components/GTransition.mjs +4 -0
- package/dist/components/GTransitionGroup.cjs +1 -0
- package/dist/components/GTransitionGroup.mjs +4 -0
- package/dist/components.cjs +1 -1
- package/dist/components.mjs +135 -78
- package/dist/context-D_uVf3Ih.cjs +1 -0
- package/dist/context-DmyyyTi-.js +164 -0
- package/dist/context-FLWxn0X1.js +8 -0
- package/dist/context-obVnJalQ.cjs +1 -0
- package/dist/control-B3T1H83D.js +53 -0
- package/dist/control-C5Ws5lp3.cjs +1 -0
- package/dist/controller-DTFaTta0.cjs +1 -0
- package/dist/controller-Dk9Wd1Sr.js +101 -0
- package/dist/createComponentId-CK5eUecc.cjs +1 -0
- package/dist/createComponentId-CrqdDHC3.js +5 -0
- package/dist/createId-t3ke7cZx.js +5 -0
- package/dist/createId-tM8qn_N_.cjs +1 -0
- package/dist/cssTokens-CR4OxIND.js +75 -0
- package/dist/cssTokens-gELrmYNj.cjs +5 -0
- package/dist/defaults-DJ6ZV1Qc.js +51 -0
- package/dist/defaults-aVtmQF-9.cjs +1 -0
- package/dist/density-C3E1eUQ3.cjs +1 -0
- package/dist/density-Ci15Ek7T.js +15 -0
- package/dist/di-BXJSJc_E.js +12 -0
- package/dist/di-Czemfti1.cjs +1 -0
- package/dist/directives.cjs +1 -1
- package/dist/directives.mjs +8 -8
- package/dist/disabled-B_bAKgaM.cjs +1 -0
- package/dist/disabled-CAV056h6.js +12 -0
- package/dist/environment-Dr5kpq3D.cjs +1 -0
- package/dist/environment-o0e-UUbv.js +13 -0
- package/dist/fieldControl-BgVt1Hh1.js +144 -0
- package/dist/fieldControl-CIJMnu2j.cjs +1 -0
- package/dist/floatingTrigger-B_K4a4Fz.cjs +1 -0
- package/dist/floatingTrigger-CyvZ-aQ6.js +275 -0
- package/dist/glass-CJjbKWWO.js +20 -0
- package/dist/glass-CZEblMo2.cjs +1 -0
- package/dist/gradient-Bf_C3oqp.cjs +1 -0
- package/dist/gradient-Cesrzb2-.js +138 -0
- package/dist/gradientMaterial-BEhJP5b1.js +141 -0
- package/dist/gradientMaterial-DrttA9E_.cjs +1 -0
- package/dist/groupContext-C2lbjfsf.cjs +1 -0
- package/dist/groupContext-CBceOY6B.js +14 -0
- package/dist/groupContext-DU6dxh4q.cjs +1 -0
- package/dist/groupContext-vS5bHonI.js +14 -0
- package/dist/head-BMx6G1g4.js +45 -0
- package/dist/head-u-LV2RM9.cjs +2 -0
- package/dist/icon-C1AhpC8p.js +66 -0
- package/dist/icon-DgrRDU9A.cjs +1 -0
- package/dist/id-Cjq3OT0R.js +5 -0
- package/dist/id-EYQallpf.cjs +1 -0
- package/dist/index-71vxBpir.js +53 -0
- package/dist/index-8uDgLBTF.cjs +1 -0
- package/dist/index-BDHATTpo.js +141 -0
- package/dist/index-DQ6stZ3U.js +97 -0
- package/dist/index-Dd_8Hfjk.cjs +1 -0
- package/dist/index-YvJ0cd3f.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +315 -224
- package/dist/item-BiO-0FYg.cjs +1 -0
- package/dist/item-Cm_rJTEH.js +47 -0
- package/dist/layerStack-Bn2nFt2F.cjs +1 -0
- package/dist/layerStack-C926It64.js +86 -0
- package/dist/mask-BGVqqZXk.cjs +1 -0
- package/dist/mask-D4VYR8fo.js +541 -0
- package/dist/material-CkThdnz0.cjs +1 -0
- package/dist/material-Cn0l9r_y.js +182 -0
- package/dist/materialSurface-BZWqxSOo.cjs +1 -0
- package/dist/materialSurface-DKWanYUC.js +57 -0
- package/dist/menuContext-COshJAv-.js +14 -0
- package/dist/menuContext-DqTLm_y8.cjs +1 -0
- package/dist/mount-CqN_WfIk.js +58 -0
- package/dist/mount-qFaEMFZj.cjs +1 -0
- package/dist/palette-CH8mtBoc.js +3779 -0
- package/dist/palette-WOebHg01.cjs +316 -0
- package/dist/plugin.cjs +1 -0
- package/dist/plugin.mjs +27 -0
- package/dist/propsFactory-DT6-QS4L.cjs +1 -0
- package/dist/propsFactory-FM5RGbLN.js +13 -0
- package/dist/px-B-cyF02Z.js +8 -0
- package/dist/px-CVkec5Jf.cjs +1 -0
- package/dist/rounded-BneJO7vz.cjs +1 -0
- package/dist/rounded-CKhFFdmx.js +12 -0
- package/dist/routerLink-BhTEISct.cjs +1 -0
- package/dist/routerLink-p0fsQRNq.js +11 -0
- package/dist/runtime-DBDKFxqD.js +22 -0
- package/dist/runtime-DjqHzhfc.cjs +1 -0
- package/dist/scheme-C0jQNw-v.cjs +299 -0
- package/dist/scheme-Dp9cSd1s.js +1406 -0
- package/dist/selected-CEdYQtXH.cjs +1 -0
- package/dist/selected-DPdzuMh_.js +20 -0
- package/dist/selectionController-Cq7OffKP.js +98 -0
- package/dist/selectionController-D_SzzLi7.cjs +1 -0
- package/dist/selectionModel-B_tgk_Aa.cjs +1 -0
- package/dist/selectionModel-DMATNQOo.js +76 -0
- package/dist/services.cjs +1 -1
- package/dist/services.mjs +10 -3
- package/dist/size-BSjg5E6f.cjs +1 -0
- package/dist/size-C-WH-uPa.js +16 -0
- package/dist/ssr.cjs +1 -0
- package/dist/ssr.mjs +31 -0
- package/dist/state-CUskk7oG.cjs +1 -0
- package/dist/state-zMDQLwyB.js +12 -0
- package/dist/stateIcon-B8wmjxgd.js +98 -0
- package/dist/stateIcon-BxT3Loel.cjs +1 -0
- package/dist/style.css +1 -1
- package/dist/surface-NFdB950M.cjs +1 -0
- package/dist/surface-i-1vm2j3.js +99 -0
- package/dist/surfaceColor-BlDoAKoV.cjs +1 -0
- package/dist/surfaceColor-Cic675ry.js +34 -0
- package/dist/surfaceMaterial-B1a1iV02.js +39 -0
- package/dist/surfaceMaterial-JpbVongH.cjs +1 -0
- package/dist/tagName-D8HI-Yqc.js +40 -0
- package/dist/tagName-EmIHK0fg.cjs +1 -0
- package/dist/teleport-6ZRoZ2JT.js +26 -0
- package/dist/teleport-Bj9Z7LhE.cjs +1 -0
- package/dist/textFieldComponent-Ct4Z0dFr.cjs +1 -0
- package/dist/textFieldComponent-gnbYgrX0.js +217 -0
- package/dist/textFieldControl-Cxnq3lo4.js +80 -0
- package/dist/textFieldControl-D0-pdxIY.cjs +1 -0
- package/dist/theme.cjs +1 -1
- package/dist/theme.mjs +60 -59
- package/dist/tokenInputKeyboard-DBcgGd7c.js +108 -0
- package/dist/tokenInputKeyboard-DqEV34Li.cjs +1 -0
- package/dist/transition-BPMUkgHY.cjs +1 -0
- package/dist/transition-DVGMCo2o.js +108 -0
- package/dist/types/componentNames.d.ts +5 -0
- package/dist/types/components/GGroup/GGroup.vue.d.ts +11 -9
- package/dist/types/components/GGroup/index.d.ts +1 -1
- package/dist/types/components/index.d.ts +55 -53
- package/dist/types/components/transitions/GExpandTransition.vue.d.ts +26 -32
- package/dist/types/components/transitions/GTransition.vue.d.ts +26 -32
- package/dist/types/components/transitions/GTransitionGroup.vue.d.ts +26 -32
- package/dist/types/components/transitions/TransitionExpansion.vue.d.ts +2 -8
- package/dist/types/components/transitions/TransitionOverlay.vue.d.ts +2 -8
- package/dist/types/components/transitions/TransitionRotate.vue.d.ts +2 -8
- package/dist/types/components/transitions/TransitionScale.vue.d.ts +2 -8
- package/dist/types/components/transitions/TransitionStaggerTranslate.vue.d.ts +2 -8
- package/dist/types/components/transitions/index.d.ts +3 -3
- package/dist/types/components/ui/BaseFloating/BaseFloating.vue.d.ts +45 -53
- package/dist/types/components/ui/BaseFloating/index.d.ts +1 -1
- package/dist/types/components/ui/BaseOverlay/BaseOverlay.vue.d.ts +62 -71
- package/dist/types/components/ui/BaseOverlay/index.d.ts +1 -1
- package/dist/types/components/ui/BaseOverlay/types.d.ts +24 -24
- package/dist/types/components/ui/GAction/GAction.vue.d.ts +1 -1
- package/dist/types/components/ui/GAction/index.d.ts +1 -1
- package/dist/types/components/ui/GAction/types.d.ts +15 -15
- package/dist/types/components/ui/GAlert/GAlert.vue.d.ts +177 -183
- package/dist/types/components/ui/GAlert/index.d.ts +1 -1
- package/dist/types/components/ui/GAlert/types.d.ts +151 -151
- package/dist/types/components/ui/GAside/GAside.vue.d.ts +26 -24
- package/dist/types/components/ui/GAside/GAsideGroup.vue.d.ts +11 -9
- package/dist/types/components/ui/GAside/GAsideItem.vue.d.ts +16 -14
- package/dist/types/components/ui/GAside/context.d.ts +2 -2
- package/dist/types/components/ui/GAside/groupContext.d.ts +1 -1
- package/dist/types/components/ui/GAside/index.d.ts +4 -4
- package/dist/types/components/ui/GAside/types.d.ts +28 -28
- package/dist/types/components/ui/GAvatar/GAvatar.vue.d.ts +262 -268
- package/dist/types/components/ui/GAvatar/GAvatarGroup.vue.d.ts +43 -49
- package/dist/types/components/ui/GAvatar/index.d.ts +3 -3
- package/dist/types/components/ui/GAvatar/types.d.ts +163 -163
- package/dist/types/components/ui/GBadge/GBadge.vue.d.ts +367 -373
- package/dist/types/components/ui/GBadge/index.d.ts +2 -2
- package/dist/types/components/ui/GBadge/types.d.ts +153 -153
- package/dist/types/components/ui/GButton/GButton.vue.d.ts +252 -258
- package/dist/types/components/ui/GButton/index.d.ts +2 -2
- package/dist/types/components/ui/GButton/types.d.ts +149 -149
- package/dist/types/components/ui/GCard/GCard.vue.d.ts +215 -221
- package/dist/types/components/ui/GCard/index.d.ts +2 -2
- package/dist/types/components/ui/GCard/types.d.ts +160 -160
- package/dist/types/components/ui/GCheckControl/GCheckControl.vue.d.ts +86 -92
- package/dist/types/components/ui/GCheckControl/GCheckGroup.vue.d.ts +77 -83
- package/dist/types/components/ui/GCheckControl/GCheckIndicator.vue.d.ts +17 -10
- package/dist/types/components/ui/GCheckControl/index.d.ts +3 -3
- package/dist/types/components/ui/GCheckbox/GCheckbox.vue.d.ts +10 -211
- package/dist/types/components/ui/GCheckbox/index.d.ts +2 -2
- package/dist/types/components/ui/GCheckbox/types.d.ts +1 -1
- package/dist/types/components/ui/GCheckboxGroup/GCheckboxGroup.vue.d.ts +12 -10
- package/dist/types/components/ui/GCheckboxGroup/index.d.ts +2 -2
- package/dist/types/components/ui/GCheckboxGroup/types.d.ts +2 -2
- package/dist/types/components/ui/GChip/GChip.vue.d.ts +218 -224
- package/dist/types/components/ui/GChip/index.d.ts +2 -2
- package/dist/types/components/ui/GChip/types.d.ts +140 -140
- package/dist/types/components/ui/GCombobox/GCombobox.vue.d.ts +12 -10
- package/dist/types/components/ui/GCombobox/index.d.ts +2 -2
- package/dist/types/components/ui/GCombobox/types.d.ts +11 -11
- package/dist/types/components/ui/GDivider/GDivider.vue.d.ts +445 -451
- package/dist/types/components/ui/GDivider/index.d.ts +2 -2
- package/dist/types/components/ui/GDivider/types.d.ts +186 -186
- package/dist/types/components/ui/GDrawer/GDrawer.vue.d.ts +135 -141
- package/dist/types/components/ui/GDrawer/index.d.ts +2 -2
- package/dist/types/components/ui/GDrawer/types.d.ts +44 -44
- package/dist/types/components/ui/GDropdown/GDropdown.vue.d.ts +94 -102
- package/dist/types/components/ui/GDropdown/index.d.ts +1 -1
- package/dist/types/components/ui/GDropdown/types.d.ts +40 -40
- package/dist/types/components/ui/GDropdownGroup/GDropdownGroup.vue.d.ts +3 -9
- package/dist/types/components/ui/GDropdownGroup/index.d.ts +2 -2
- package/dist/types/components/ui/GDropdownSelect/GDropdownSelect.vue.d.ts +11 -9
- package/dist/types/components/ui/GDropdownSelect/types.d.ts +2 -2
- package/dist/types/components/ui/GExpansion/GExpansion.vue.d.ts +51 -49
- package/dist/types/components/ui/GExpansion/index.d.ts +1 -1
- package/dist/types/components/ui/GExpansion/types.d.ts +154 -154
- package/dist/types/components/ui/GExpansionGroup/GExpansionGroup.vue.d.ts +17 -15
- package/dist/types/components/ui/GExpansionGroup/index.d.ts +1 -1
- package/dist/types/components/ui/GExpansionGroup/types.d.ts +7 -7
- package/dist/types/components/ui/GFAB/GFAB.vue.d.ts +81 -87
- package/dist/types/components/ui/GFAB/index.d.ts +1 -1
- package/dist/types/components/ui/GFAB/types.d.ts +57 -57
- package/dist/types/components/ui/GFieldBase/GFieldBase.vue.d.ts +64 -70
- package/dist/types/components/ui/GFieldBase/props.d.ts +81 -81
- package/dist/types/components/ui/GForm/GForm.vue.d.ts +32 -40
- package/dist/types/components/ui/GForm/index.d.ts +2 -2
- package/dist/types/components/ui/GForm/types.d.ts +10 -10
- package/dist/types/components/ui/GGradient/GGradient.vue.d.ts +96 -102
- package/dist/types/components/ui/GGradient/GGradientBorderLayer.vue.d.ts +10 -4
- package/dist/types/components/ui/GGradient/index.d.ts +2 -2
- package/dist/types/components/ui/GGradient/types.d.ts +4 -4
- package/dist/types/components/ui/GGradientMaterial/GGradientMaterial.vue.d.ts +84 -90
- package/dist/types/components/ui/GGradientMaterial/index.d.ts +2 -2
- package/dist/types/components/ui/GGradientMaterial/types.d.ts +15 -15
- package/dist/types/components/ui/GIcon/GIcon.vue.d.ts +5 -5
- package/dist/types/components/ui/GIcon/index.d.ts +2 -2
- package/dist/types/components/ui/GIcon/sets/MdiIconSet.vue.d.ts +1 -1
- package/dist/types/components/ui/GIcon/types.d.ts +1 -1
- package/dist/types/components/ui/GIcon.vue.d.ts +2 -2
- package/dist/types/components/ui/GImg/GImg.vue.d.ts +266 -0
- package/dist/types/components/ui/GImg/index.d.ts +2 -0
- package/dist/types/components/ui/GImg/types.d.ts +174 -0
- package/dist/types/components/ui/GInput/GInput.vue.d.ts +14 -323
- package/dist/types/components/ui/GInput/SwitchPassword.vue.d.ts +2 -2
- package/dist/types/components/ui/GInput/index.d.ts +2 -2
- package/dist/types/components/ui/GInput/types.d.ts +2 -2
- package/dist/types/components/ui/GLoading/GLoading.vue.d.ts +30 -36
- package/dist/types/components/ui/GLoading/types.d.ts +9 -9
- package/dist/types/components/ui/GMenu/GMenu.vue.d.ts +18 -24
- package/dist/types/components/ui/GMenu/GSubmenu.vue.d.ts +16 -259
- package/dist/types/components/ui/GMenu/index.d.ts +1 -1
- package/dist/types/components/ui/GMenuItem/GMenuItem.vue.d.ts +89 -95
- package/dist/types/components/ui/GMenuItem/types.d.ts +32 -32
- package/dist/types/components/ui/GModal/GModal.vue.d.ts +139 -145
- package/dist/types/components/ui/GModal/index.d.ts +2 -2
- package/dist/types/components/ui/GModal/types.d.ts +48 -48
- package/dist/types/components/ui/GNavList/GNavGroup.vue.d.ts +11 -9
- package/dist/types/components/ui/GNavList/GNavItem.vue.d.ts +16 -14
- package/dist/types/components/ui/GNavList/GNavList.vue.d.ts +24 -22
- package/dist/types/components/ui/GNavList/context.d.ts +2 -2
- package/dist/types/components/ui/GNavList/groupContext.d.ts +1 -1
- package/dist/types/components/ui/GNavList/index.d.ts +4 -4
- package/dist/types/components/ui/GNavList/types.d.ts +27 -27
- package/dist/types/components/ui/GNavbar/GNavbar.vue.d.ts +16 -14
- package/dist/types/components/ui/GNavbar/GNavbarItem.vue.d.ts +20 -18
- package/dist/types/components/ui/GNavbar/GNavbarMenu.vue.d.ts +20 -18
- package/dist/types/components/ui/GNavbar/GNavbarSubItem.vue.d.ts +14 -12
- package/dist/types/components/ui/GNavbar/context.d.ts +2 -2
- package/dist/types/components/ui/GNavbar/index.d.ts +5 -5
- package/dist/types/components/ui/GNavbar/menuContext.d.ts +1 -1
- package/dist/types/components/ui/GNavbar/types.d.ts +30 -30
- package/dist/types/components/ui/GProgress/GProgress.vue.d.ts +83 -91
- package/dist/types/components/ui/GProgress/index.d.ts +1 -1
- package/dist/types/components/ui/GProgress/types.d.ts +16 -16
- package/dist/types/components/ui/GQuickActions/GQuickActions.vue.d.ts +26 -32
- package/dist/types/components/ui/GQuickActions/index.d.ts +2 -2
- package/dist/types/components/ui/GQuickActions/types.d.ts +3 -3
- package/dist/types/components/ui/GRadio/GRadio.vue.d.ts +12 -10
- package/dist/types/components/ui/GRadio/GRadioItem.vue.d.ts +13 -11
- package/dist/types/components/ui/GRadio/index.d.ts +3 -3
- package/dist/types/components/ui/GRadio/types.d.ts +2 -2
- package/dist/types/components/ui/GSelect/GSelect.vue.d.ts +12 -10
- package/dist/types/components/ui/GSelect/index.d.ts +2 -2
- package/dist/types/components/ui/GSelect/types.d.ts +10 -10
- package/dist/types/components/ui/GSelectItem.vue.d.ts +5 -11
- package/dist/types/components/ui/GSnackbar/GSnackbar.vue.d.ts +411 -417
- package/dist/types/components/ui/GSnackbar/index.d.ts +2 -2
- package/dist/types/components/ui/GSnackbar/types.d.ts +164 -164
- package/dist/types/components/ui/GSquircle/GSquircle.vue.d.ts +8 -14
- package/dist/types/components/ui/GSquircle/index.d.ts +1 -1
- package/dist/types/components/ui/GSquircle/types.d.ts +5 -5
- package/dist/types/components/ui/GStepper/GStepItem.vue.d.ts +8 -6
- package/dist/types/components/ui/GStepper/GStepPanel.vue.d.ts +35 -33
- package/dist/types/components/ui/GStepper/GStepper.vue.d.ts +32 -30
- package/dist/types/components/ui/GStepper/GStepperActions.vue.d.ts +9 -7
- package/dist/types/components/ui/GStepper/context.d.ts +4 -4
- package/dist/types/components/ui/GStepper/index.d.ts +4 -4
- package/dist/types/components/ui/GStepper/types.d.ts +182 -182
- package/dist/types/components/ui/GSwitch/GSwitch.vue.d.ts +10 -211
- package/dist/types/components/ui/GSwitch/index.d.ts +2 -2
- package/dist/types/components/ui/GSwitch/types.d.ts +1 -1
- package/dist/types/components/ui/GTable/GTable.vue.d.ts +61 -59
- package/dist/types/components/ui/GTable/GTableBody.vue.d.ts +8 -6
- package/dist/types/components/ui/GTable/GTableCell.vue.d.ts +9 -7
- package/dist/types/components/ui/GTable/GTableExpandedRow.vue.d.ts +10 -8
- package/dist/types/components/ui/GTable/GTableHead.vue.d.ts +9 -7
- package/dist/types/components/ui/GTable/GTableRow.vue.d.ts +8 -6
- package/dist/types/components/ui/GTable/context.d.ts +1 -1
- package/dist/types/components/ui/GTable/index.d.ts +3 -3
- package/dist/types/components/ui/GTable/types.d.ts +161 -161
- package/dist/types/components/ui/GTable/useTable.d.ts +3 -3
- package/dist/types/components/ui/GTable/useTableExpansion.d.ts +1 -1
- package/dist/types/components/ui/GTable/useTableSpans.d.ts +1 -1
- package/dist/types/components/ui/GTabs/GTab.vue.d.ts +14 -12
- package/dist/types/components/ui/GTabs/GTabList.vue.d.ts +3 -9
- package/dist/types/components/ui/GTabs/GTabPanel.vue.d.ts +9 -7
- package/dist/types/components/ui/GTabs/GTabPanels.vue.d.ts +6 -12
- package/dist/types/components/ui/GTabs/GTabs.vue.d.ts +24 -22
- package/dist/types/components/ui/GTabs/context.d.ts +3 -3
- package/dist/types/components/ui/GTabs/index.d.ts +6 -6
- package/dist/types/components/ui/GTabs/types.d.ts +24 -24
- package/dist/types/components/ui/GText/GText.vue.d.ts +5 -10
- package/dist/types/components/ui/GText/index.d.ts +1 -1
- package/dist/types/components/ui/GText/types.d.ts +1 -1
- package/dist/types/components/ui/GTextarea/GTextarea.vue.d.ts +14 -290
- package/dist/types/components/ui/GTextarea/index.d.ts +2 -2
- package/dist/types/components/ui/GTextarea/types.d.ts +2 -2
- package/dist/types/components/ui/GToggleButton/GToggleButton.vue.d.ts +10 -760
- package/dist/types/components/ui/GToggleButton/index.d.ts +2 -2
- package/dist/types/components/ui/GToggleButton/types.d.ts +127 -127
- package/dist/types/components/ui/GTooltip/GTooltip.vue.d.ts +79 -85
- package/dist/types/components/ui/GTooltip/index.d.ts +1 -1
- package/dist/types/components/ui/GTooltip/types.d.ts +37 -37
- package/dist/types/directives/gradientIcon.d.ts +1 -1
- package/dist/types/directives/gradientText.d.ts +2 -2
- package/dist/types/directives/index.d.ts +13 -13
- package/dist/types/directives/loading.d.ts +5 -5
- package/dist/types/directives/mask.d.ts +1 -1
- package/dist/types/directives/ripple.d.ts +1 -1
- package/dist/types/directives/specular.d.ts +1 -1
- package/dist/types/index.d.ts +13 -17
- package/dist/types/plugin.d.ts +15 -0
- package/dist/types/services/context.d.ts +8 -0
- package/dist/types/services/index.d.ts +4 -2
- package/dist/types/services/runtime.d.ts +5 -0
- package/dist/types/services/useLoading.d.ts +5 -2
- package/dist/types/services/useSnackbar.d.ts +5 -2
- package/dist/types/ssr/index.d.ts +2 -0
- package/dist/types/ssr/use/appScopedState.d.ts +1 -0
- package/dist/types/ssr/use/clientLifecycle.d.ts +2 -0
- package/dist/types/ssr/use/hydration.d.ts +2 -0
- package/dist/types/ssr/use/id.d.ts +1 -0
- package/dist/types/ssr/use/index.d.ts +6 -0
- package/dist/types/ssr/use/teleport.d.ts +11 -0
- package/dist/types/ssr/use/viewport.d.ts +12 -0
- package/dist/types/ssr/utils/environment.d.ts +11 -0
- package/dist/types/ssr/utils/head.d.ts +28 -0
- package/dist/types/ssr/utils/index.d.ts +3 -0
- package/dist/types/ssr/utils/mount.d.ts +21 -0
- package/dist/types/theme/color.d.ts +1 -1
- package/dist/types/theme/colorSystem.d.ts +3 -3
- package/dist/types/theme/cssTokens.d.ts +3 -2
- package/dist/types/theme/default.d.ts +13 -6
- package/dist/types/theme/index.d.ts +7 -6
- package/dist/types/theme/palette.d.ts +1 -1
- package/dist/types/theme/scheme.d.ts +1 -1
- package/dist/types/theme/types.d.ts +1 -1
- package/dist/types/types/CommonTypes.d.ts +2 -2
- package/dist/types/use/PLA.d.ts +1 -1
- package/dist/types/use/actionProps.d.ts +15 -15
- package/dist/types/use/actionSurface.d.ts +45 -45
- package/dist/types/use/appendTarget.d.ts +2 -1
- package/dist/types/use/breakpoints/index.d.ts +10 -1
- package/dist/types/use/check/booleanControl.d.ts +13 -13
- package/dist/types/use/check/index.d.ts +6 -6
- package/dist/types/use/check/optionGroup.d.ts +7 -7
- package/dist/types/use/check/types.d.ts +55 -55
- package/dist/types/use/color.d.ts +2 -2
- package/dist/types/use/colorResolver.d.ts +2 -2
- package/dist/types/use/density.d.ts +1 -1
- package/dist/types/use/expansion/controller.d.ts +1 -1
- package/dist/types/use/expansion/di.d.ts +1 -1
- package/dist/types/use/expansion/index.d.ts +3 -3
- package/dist/types/use/floating.d.ts +18 -18
- package/dist/types/use/floatingLayer.d.ts +1 -1
- package/dist/types/use/form/control.d.ts +1 -1
- package/dist/types/use/form/props.d.ts +25 -25
- package/dist/types/use/form/textFieldComponent.d.ts +1 -3
- package/dist/types/use/form/textFieldControl.d.ts +7 -7
- package/dist/types/use/glass.d.ts +2 -2
- package/dist/types/use/gradient.d.ts +81 -81
- package/dist/types/use/gradientGlow.d.ts +7 -7
- package/dist/types/use/gradientMaterial.d.ts +3 -3
- package/dist/types/use/gradientRuntime.d.ts +2 -2
- package/dist/types/use/gradientRuntimeRegistry.d.ts +1 -1
- package/dist/types/use/gradientSurface.d.ts +5 -5
- package/dist/types/use/group/di.d.ts +1 -1
- package/dist/types/use/group/groupController.d.ts +1 -1
- package/dist/types/use/index.d.ts +23 -22
- package/dist/types/use/input/index.d.ts +4 -4
- package/dist/types/use/input/props.d.ts +71 -71
- package/dist/types/use/layerStack.d.ts +3 -3
- package/dist/types/use/material.d.ts +9 -9
- package/dist/types/use/materialSurface.d.ts +103 -103
- package/dist/types/use/menu.d.ts +5 -5
- package/dist/types/use/menuContext.d.ts +1 -1
- package/dist/types/use/navigation/controller.d.ts +1 -1
- package/dist/types/use/navigation/index.d.ts +4 -4
- package/dist/types/use/navigation/item.d.ts +1 -1
- package/dist/types/use/navigation/keyboard.d.ts +1 -1
- package/dist/types/use/open.d.ts +1 -1
- package/dist/types/use/overlay.d.ts +18 -18
- package/dist/types/use/placement.d.ts +2 -2
- package/dist/types/use/px.d.ts +1 -1
- package/dist/types/use/select/comboboxController.d.ts +9 -9
- package/dist/types/use/select/commit.d.ts +2 -2
- package/dist/types/use/select/controller.d.ts +9 -9
- package/dist/types/use/select/creatable.d.ts +1 -1
- package/dist/types/use/select/fieldControl.d.ts +7 -7
- package/dist/types/use/select/filter.d.ts +1 -1
- package/dist/types/use/select/items.d.ts +1 -1
- package/dist/types/use/select/listboxKeyboard.d.ts +1 -1
- package/dist/types/use/select/menuItems.d.ts +2 -2
- package/dist/types/use/select/menuSlot.d.ts +2 -2
- package/dist/types/use/select/modelFallbackItems.d.ts +2 -2
- package/dist/types/use/select/selection.d.ts +1 -1
- package/dist/types/use/select/selectionController.d.ts +1 -1
- package/dist/types/use/select/selectionSummary.d.ts +1 -1
- package/dist/types/use/select/tokenInputKeyboard.d.ts +1 -1
- package/dist/types/use/selected.d.ts +1 -1
- package/dist/types/use/size.d.ts +2 -2
- package/dist/types/use/state.d.ts +1 -1
- package/dist/types/use/stateIcon.d.ts +1 -1
- package/dist/types/use/stepper/controller.d.ts +1 -1
- package/dist/types/use/stepper/index.d.ts +1 -1
- package/dist/types/use/surface.d.ts +26 -26
- package/dist/types/use/surfaceColor.d.ts +3 -3
- package/dist/types/use/surfaceMaterial.d.ts +8 -8
- package/dist/types/use/textarea/index.d.ts +2 -2
- package/dist/types/use/textarea/props.d.ts +69 -69
- package/dist/types/use/transition.d.ts +5 -5
- package/dist/types/use/variant.d.ts +1 -1
- package/dist/types/utils/createComponentId.d.ts +1 -1
- package/dist/types/utils/createId.d.ts +1 -1
- package/dist/types-BItiZqNo.cjs +1 -0
- package/dist/types-BPZPPi6n.cjs +1 -0
- package/dist/types-BZSR5qEq.js +69 -0
- package/dist/types-CAh-uxuw.js +113 -0
- package/dist/types-Ce2Qoz6Q.js +90 -0
- package/dist/types-DGs8vjIX.cjs +1 -0
- package/dist/types-D_HgEWtj.js +95 -0
- package/dist/types-DmWFHzOk.js +80 -0
- package/dist/types-DsVDdHxP.cjs +1 -0
- package/dist/types-cjs/componentNames.d.cts +5 -0
- package/dist/types-cjs/components/GGroup/GGroup.vue.d.cts +24 -0
- package/dist/types-cjs/components/GGroup/index.d.cts +1 -0
- package/dist/types-cjs/components/GGroup/types.d.cts +0 -0
- package/dist/types-cjs/components/index.d.cts +55 -0
- package/dist/types-cjs/components/transitions/GExpandTransition.vue.d.cts +234 -0
- package/dist/types-cjs/components/transitions/GTransition.vue.d.cts +234 -0
- package/dist/types-cjs/components/transitions/GTransitionGroup.vue.d.cts +218 -0
- package/dist/types-cjs/components/transitions/TransitionExpansion.vue.d.cts +18 -0
- package/dist/types-cjs/components/transitions/TransitionOverlay.vue.d.cts +15 -0
- package/dist/types-cjs/components/transitions/TransitionRotate.vue.d.cts +11 -0
- package/dist/types-cjs/components/transitions/TransitionScale.vue.d.cts +15 -0
- package/dist/types-cjs/components/transitions/TransitionStaggerTranslate.vue.d.cts +11 -0
- package/dist/types-cjs/components/transitions/index.d.cts +3 -0
- package/dist/types-cjs/components/ui/BaseFloating/BaseFloating.vue.d.cts +237 -0
- package/dist/types-cjs/components/ui/BaseFloating/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/BaseFloating/types.d.cts +0 -0
- package/dist/types-cjs/components/ui/BaseOverlay/BaseOverlay.vue.d.cts +228 -0
- package/dist/types-cjs/components/ui/BaseOverlay/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/BaseOverlay/types.d.cts +108 -0
- package/dist/types-cjs/components/ui/GAction/GAction.vue.d.cts +2 -0
- package/dist/types-cjs/components/ui/GAction/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GAction/types.d.cts +33 -0
- package/dist/types-cjs/components/ui/GAlert/GAlert.vue.d.cts +756 -0
- package/dist/types-cjs/components/ui/GAlert/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GAlert/types.d.cts +400 -0
- package/dist/types-cjs/components/ui/GAside/GAside.vue.d.cts +50 -0
- package/dist/types-cjs/components/ui/GAside/GAsideGroup.vue.d.cts +30 -0
- package/dist/types-cjs/components/ui/GAside/GAsideItem.vue.d.cts +37 -0
- package/dist/types-cjs/components/ui/GAside/context.d.cts +15 -0
- package/dist/types-cjs/components/ui/GAside/groupContext.d.cts +7 -0
- package/dist/types-cjs/components/ui/GAside/index.d.cts +4 -0
- package/dist/types-cjs/components/ui/GAside/types.d.cts +273 -0
- package/dist/types-cjs/components/ui/GAvatar/GAvatar.vue.d.cts +867 -0
- package/dist/types-cjs/components/ui/GAvatar/GAvatarGroup.vue.d.cts +188 -0
- package/dist/types-cjs/components/ui/GAvatar/index.d.cts +3 -0
- package/dist/types-cjs/components/ui/GAvatar/types.d.cts +585 -0
- package/dist/types-cjs/components/ui/GBadge/GBadge.vue.d.cts +786 -0
- package/dist/types-cjs/components/ui/GBadge/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GBadge/types.d.cts +422 -0
- package/dist/types-cjs/components/ui/GButton/GButton.vue.d.cts +820 -0
- package/dist/types-cjs/components/ui/GButton/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GButton/types.d.cts +457 -0
- package/dist/types-cjs/components/ui/GCard/GCard.vue.d.cts +943 -0
- package/dist/types-cjs/components/ui/GCard/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GCard/types.d.cts +519 -0
- package/dist/types-cjs/components/ui/GCheckControl/GCheckControl.vue.d.cts +242 -0
- package/dist/types-cjs/components/ui/GCheckControl/GCheckGroup.vue.d.cts +184 -0
- package/dist/types-cjs/components/ui/GCheckControl/GCheckIndicator.vue.d.cts +28 -0
- package/dist/types-cjs/components/ui/GCheckControl/index.d.cts +3 -0
- package/dist/types-cjs/components/ui/GCheckbox/GCheckbox.vue.d.cts +27 -0
- package/dist/types-cjs/components/ui/GCheckbox/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GCheckbox/types.d.cts +1 -0
- package/dist/types-cjs/components/ui/GCheckboxGroup/GCheckboxGroup.vue.d.cts +26 -0
- package/dist/types-cjs/components/ui/GCheckboxGroup/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GCheckboxGroup/types.d.cts +12 -0
- package/dist/types-cjs/components/ui/GChip/GChip.vue.d.cts +731 -0
- package/dist/types-cjs/components/ui/GChip/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GChip/types.d.cts +403 -0
- package/dist/types-cjs/components/ui/GCombobox/GCombobox.vue.d.cts +39 -0
- package/dist/types-cjs/components/ui/GCombobox/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GCombobox/types.d.cts +59 -0
- package/dist/types-cjs/components/ui/GDivider/GDivider.vue.d.cts +959 -0
- package/dist/types-cjs/components/ui/GDivider/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GDivider/types.d.cts +518 -0
- package/dist/types-cjs/components/ui/GDrawer/GDrawer.vue.d.cts +429 -0
- package/dist/types-cjs/components/ui/GDrawer/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GDrawer/types.d.cts +205 -0
- package/dist/types-cjs/components/ui/GDropdown/GDropdown.vue.d.cts +418 -0
- package/dist/types-cjs/components/ui/GDropdown/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GDropdown/types.d.cts +208 -0
- package/dist/types-cjs/components/ui/GDropdownGroup/GDropdownGroup.vue.d.cts +23 -0
- package/dist/types-cjs/components/ui/GDropdownGroup/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GDropdownGroup/types.d.cts +10 -0
- package/dist/types-cjs/components/ui/GDropdownSelect/GDropdownSelect.vue.d.cts +19 -0
- package/dist/types-cjs/components/ui/GDropdownSelect/index.d.cts +0 -0
- package/dist/types-cjs/components/ui/GDropdownSelect/types.d.cts +14 -0
- package/dist/types-cjs/components/ui/GExpansion/GExpansion.vue.d.cts +110 -0
- package/dist/types-cjs/components/ui/GExpansion/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GExpansion/types.d.cts +479 -0
- package/dist/types-cjs/components/ui/GExpansionGroup/GExpansionGroup.vue.d.cts +34 -0
- package/dist/types-cjs/components/ui/GExpansionGroup/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GExpansionGroup/types.d.cts +61 -0
- package/dist/types-cjs/components/ui/GFAB/GFAB.vue.d.cts +415 -0
- package/dist/types-cjs/components/ui/GFAB/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GFAB/types.d.cts +247 -0
- package/dist/types-cjs/components/ui/GFieldBase/GFieldBase.vue.d.cts +312 -0
- package/dist/types-cjs/components/ui/GFieldBase/props.d.cts +256 -0
- package/dist/types-cjs/components/ui/GForm/GForm.vue.d.cts +148 -0
- package/dist/types-cjs/components/ui/GForm/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GForm/types.d.cts +107 -0
- package/dist/types-cjs/components/ui/GGradient/GGradient.vue.d.cts +362 -0
- package/dist/types-cjs/components/ui/GGradient/GGradientBorderLayer.vue.d.cts +17 -0
- package/dist/types-cjs/components/ui/GGradient/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GGradient/types.d.cts +23 -0
- package/dist/types-cjs/components/ui/GGradientMaterial/GGradientMaterial.vue.d.cts +251 -0
- package/dist/types-cjs/components/ui/GGradientMaterial/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GGradientMaterial/types.d.cts +140 -0
- package/dist/types-cjs/components/ui/GIcon/GIcon.vue.d.cts +31 -0
- package/dist/types-cjs/components/ui/GIcon/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GIcon/sets/MdiIconSet.vue.d.cts +3 -0
- package/dist/types-cjs/components/ui/GIcon/types.d.cts +24 -0
- package/dist/types-cjs/components/ui/GIcon.vue.d.cts +6 -0
- package/dist/types-cjs/components/ui/GImg/GImg.vue.d.cts +266 -0
- package/dist/types-cjs/components/ui/GImg/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GImg/types.d.cts +174 -0
- package/dist/types-cjs/components/ui/GInput/GInput.vue.d.cts +33 -0
- package/dist/types-cjs/components/ui/GInput/SwitchPassword.vue.d.cts +9 -0
- package/dist/types-cjs/components/ui/GInput/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GInput/types.d.cts +8 -0
- package/dist/types-cjs/components/ui/GLoading/GLoading.vue.d.cts +128 -0
- package/dist/types-cjs/components/ui/GLoading/types.d.cts +63 -0
- package/dist/types-cjs/components/ui/GMenu/GMenu.vue.d.cts +87 -0
- package/dist/types-cjs/components/ui/GMenu/GSubmenu.vue.d.cts +26 -0
- package/dist/types-cjs/components/ui/GMenu/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GMenu/types.d.cts +0 -0
- package/dist/types-cjs/components/ui/GMenuItem/GMenuItem.vue.d.cts +175 -0
- package/dist/types-cjs/components/ui/GMenuItem/index.d.cts +0 -0
- package/dist/types-cjs/components/ui/GMenuItem/types.d.cts +93 -0
- package/dist/types-cjs/components/ui/GModal/GModal.vue.d.cts +420 -0
- package/dist/types-cjs/components/ui/GModal/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GModal/types.d.cts +198 -0
- package/dist/types-cjs/components/ui/GNavList/GNavGroup.vue.d.cts +30 -0
- package/dist/types-cjs/components/ui/GNavList/GNavItem.vue.d.cts +37 -0
- package/dist/types-cjs/components/ui/GNavList/GNavList.vue.d.cts +42 -0
- package/dist/types-cjs/components/ui/GNavList/context.d.cts +15 -0
- package/dist/types-cjs/components/ui/GNavList/groupContext.d.cts +7 -0
- package/dist/types-cjs/components/ui/GNavList/index.d.cts +4 -0
- package/dist/types-cjs/components/ui/GNavList/types.d.cts +249 -0
- package/dist/types-cjs/components/ui/GNavbar/GNavbar.vue.d.cts +36 -0
- package/dist/types-cjs/components/ui/GNavbar/GNavbarItem.vue.d.cts +41 -0
- package/dist/types-cjs/components/ui/GNavbar/GNavbarMenu.vue.d.cts +43 -0
- package/dist/types-cjs/components/ui/GNavbar/GNavbarSubItem.vue.d.cts +42 -0
- package/dist/types-cjs/components/ui/GNavbar/context.d.cts +17 -0
- package/dist/types-cjs/components/ui/GNavbar/index.d.cts +5 -0
- package/dist/types-cjs/components/ui/GNavbar/menuContext.d.cts +9 -0
- package/dist/types-cjs/components/ui/GNavbar/types.d.cts +330 -0
- package/dist/types-cjs/components/ui/GProgress/GProgress.vue.d.cts +194 -0
- package/dist/types-cjs/components/ui/GProgress/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GProgress/types.d.cts +121 -0
- package/dist/types-cjs/components/ui/GQuickActions/GQuickActions.vue.d.cts +40 -0
- package/dist/types-cjs/components/ui/GQuickActions/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GQuickActions/types.d.cts +19 -0
- package/dist/types-cjs/components/ui/GRadio/GRadio.vue.d.cts +26 -0
- package/dist/types-cjs/components/ui/GRadio/GRadioItem.vue.d.cts +34 -0
- package/dist/types-cjs/components/ui/GRadio/index.d.cts +3 -0
- package/dist/types-cjs/components/ui/GRadio/types.d.cts +12 -0
- package/dist/types-cjs/components/ui/GSelect/GSelect.vue.d.cts +31 -0
- package/dist/types-cjs/components/ui/GSelect/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GSelect/types.d.cts +38 -0
- package/dist/types-cjs/components/ui/GSelectItem.vue.d.cts +43 -0
- package/dist/types-cjs/components/ui/GSnackbar/GSnackbar.vue.d.cts +986 -0
- package/dist/types-cjs/components/ui/GSnackbar/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GSnackbar/types.d.cts +515 -0
- package/dist/types-cjs/components/ui/GSquircle/GSquircle.vue.d.cts +19 -0
- package/dist/types-cjs/components/ui/GSquircle/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GSquircle/types.d.cts +20 -0
- package/dist/types-cjs/components/ui/GStepper/GStepItem.vue.d.cts +18 -0
- package/dist/types-cjs/components/ui/GStepper/GStepPanel.vue.d.cts +78 -0
- package/dist/types-cjs/components/ui/GStepper/GStepper.vue.d.cts +65 -0
- package/dist/types-cjs/components/ui/GStepper/GStepperActions.vue.d.cts +24 -0
- package/dist/types-cjs/components/ui/GStepper/context.d.cts +42 -0
- package/dist/types-cjs/components/ui/GStepper/index.d.cts +4 -0
- package/dist/types-cjs/components/ui/GStepper/types.d.cts +708 -0
- package/dist/types-cjs/components/ui/GSwitch/GSwitch.vue.d.cts +27 -0
- package/dist/types-cjs/components/ui/GSwitch/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GSwitch/types.d.cts +1 -0
- package/dist/types-cjs/components/ui/GTable/GTable.vue.d.cts +193 -0
- package/dist/types-cjs/components/ui/GTable/GTableBody.vue.d.cts +71 -0
- package/dist/types-cjs/components/ui/GTable/GTableCell.vue.d.cts +37 -0
- package/dist/types-cjs/components/ui/GTable/GTableExpandedRow.vue.d.cts +27 -0
- package/dist/types-cjs/components/ui/GTable/GTableHead.vue.d.cts +32 -0
- package/dist/types-cjs/components/ui/GTable/GTableRow.vue.d.cts +42 -0
- package/dist/types-cjs/components/ui/GTable/context.d.cts +25 -0
- package/dist/types-cjs/components/ui/GTable/index.d.cts +3 -0
- package/dist/types-cjs/components/ui/GTable/types.d.cts +670 -0
- package/dist/types-cjs/components/ui/GTable/useTable.d.cts +22 -0
- package/dist/types-cjs/components/ui/GTable/useTableExpansion.d.cts +17 -0
- package/dist/types-cjs/components/ui/GTable/useTableSpans.d.cts +12 -0
- package/dist/types-cjs/components/ui/GTabs/GTab.vue.d.cts +29 -0
- package/dist/types-cjs/components/ui/GTabs/GTabList.vue.d.cts +32 -0
- package/dist/types-cjs/components/ui/GTabs/GTabPanel.vue.d.cts +22 -0
- package/dist/types-cjs/components/ui/GTabs/GTabPanels.vue.d.cts +30 -0
- package/dist/types-cjs/components/ui/GTabs/GTabs.vue.d.cts +42 -0
- package/dist/types-cjs/components/ui/GTabs/context.d.cts +28 -0
- package/dist/types-cjs/components/ui/GTabs/index.d.cts +6 -0
- package/dist/types-cjs/components/ui/GTabs/types.d.cts +214 -0
- package/dist/types-cjs/components/ui/GText/GText.vue.d.cts +12 -0
- package/dist/types-cjs/components/ui/GText/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GText/types.d.cts +8 -0
- package/dist/types-cjs/components/ui/GTextarea/GTextarea.vue.d.cts +33 -0
- package/dist/types-cjs/components/ui/GTextarea/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GTextarea/types.d.cts +6 -0
- package/dist/types-cjs/components/ui/GToggleButton/GToggleButton.vue.d.cts +27 -0
- package/dist/types-cjs/components/ui/GToggleButton/index.d.cts +2 -0
- package/dist/types-cjs/components/ui/GToggleButton/types.d.cts +425 -0
- package/dist/types-cjs/components/ui/GTooltip/GTooltip.vue.d.cts +353 -0
- package/dist/types-cjs/components/ui/GTooltip/index.d.cts +1 -0
- package/dist/types-cjs/components/ui/GTooltip/types.d.cts +179 -0
- package/dist/types-cjs/directives/gradientIcon.d.cts +4 -0
- package/dist/types-cjs/directives/gradientText.d.cts +17 -0
- package/dist/types-cjs/directives/index.d.cts +13 -0
- package/dist/types-cjs/directives/loading.d.cts +19 -0
- package/dist/types-cjs/directives/mask.d.cts +13 -0
- package/dist/types-cjs/directives/ripple.d.cts +30 -0
- package/dist/types-cjs/directives/specular.d.cts +34 -0
- package/dist/types-cjs/directives/tooltip.d.cts +10 -0
- package/dist/types-cjs/index.d.cts +17 -0
- package/dist/types-cjs/package.json +3 -0
- package/dist/types-cjs/plugin.d.cts +15 -0
- package/dist/types-cjs/services/context.d.cts +8 -0
- package/dist/types-cjs/services/index.d.cts +4 -0
- package/dist/types-cjs/services/runtime.d.cts +5 -0
- package/dist/types-cjs/services/useLoading.d.cts +11 -0
- package/dist/types-cjs/services/useSnackbar.d.cts +25 -0
- package/dist/types-cjs/ssr/index.d.cts +2 -0
- package/dist/types-cjs/ssr/use/appScopedState.d.cts +1 -0
- package/dist/types-cjs/ssr/use/clientLifecycle.d.cts +2 -0
- package/dist/types-cjs/ssr/use/hydration.d.cts +2 -0
- package/dist/types-cjs/ssr/use/id.d.cts +1 -0
- package/dist/types-cjs/ssr/use/index.d.cts +6 -0
- package/dist/types-cjs/ssr/use/teleport.d.cts +11 -0
- package/dist/types-cjs/ssr/use/viewport.d.cts +12 -0
- package/dist/types-cjs/ssr/utils/environment.d.cts +11 -0
- package/dist/types-cjs/ssr/utils/head.d.cts +28 -0
- package/dist/types-cjs/ssr/utils/index.d.cts +3 -0
- package/dist/types-cjs/ssr/utils/mount.d.cts +21 -0
- package/dist/types-cjs/theme/color.d.cts +11 -0
- package/dist/types-cjs/theme/colorSeeds.d.cts +22 -0
- package/dist/types-cjs/theme/colorSystem.d.cts +12 -0
- package/dist/types-cjs/theme/cssTokens.d.cts +8 -0
- package/dist/types-cjs/theme/default.d.cts +51 -0
- package/dist/types-cjs/theme/gradient.d.cts +1 -0
- package/dist/types-cjs/theme/index.d.cts +13 -0
- package/dist/types-cjs/theme/palette.d.cts +13 -0
- package/dist/types-cjs/theme/scheme.d.cts +2 -0
- package/dist/types-cjs/theme/types.d.cts +11 -0
- package/dist/types-cjs/types/Colors.d.cts +2 -0
- package/dist/types-cjs/types/CommonTypes.d.cts +26 -0
- package/dist/types-cjs/types/UtilityTypes.d.cts +2 -0
- package/dist/types-cjs/use/PLA.d.cts +101 -0
- package/dist/types-cjs/use/actionProps.d.cts +38 -0
- package/dist/types-cjs/use/actionSurface.d.cts +200 -0
- package/dist/types-cjs/use/appendTarget.d.cts +5 -0
- package/dist/types-cjs/use/bodyScrollLock.d.cts +2 -0
- package/dist/types-cjs/use/booleanProp.d.cts +2 -0
- package/dist/types-cjs/use/breakpoints/index.d.cts +36 -0
- package/dist/types-cjs/use/check/booleanControl.d.cts +61 -0
- package/dist/types-cjs/use/check/groupFocus.d.cts +17 -0
- package/dist/types-cjs/use/check/index.d.cts +6 -0
- package/dist/types-cjs/use/check/optionGroup.d.cts +36 -0
- package/dist/types-cjs/use/check/selection.d.cts +2 -0
- package/dist/types-cjs/use/check/types.d.cts +496 -0
- package/dist/types-cjs/use/color.d.cts +20 -0
- package/dist/types-cjs/use/colorResolver.d.cts +16 -0
- package/dist/types-cjs/use/controllableOpen.d.cts +10 -0
- package/dist/types-cjs/use/defaults.d.cts +12 -0
- package/dist/types-cjs/use/density.d.cts +16 -0
- package/dist/types-cjs/use/disabled.d.cts +12 -0
- package/dist/types-cjs/use/dropdownContext.d.cts +9 -0
- package/dist/types-cjs/use/expansion/controller.d.cts +12 -0
- package/dist/types-cjs/use/expansion/di.d.cts +5 -0
- package/dist/types-cjs/use/expansion/index.d.cts +3 -0
- package/dist/types-cjs/use/expansion/types.d.cts +11 -0
- package/dist/types-cjs/use/floating.d.cts +120 -0
- package/dist/types-cjs/use/floatingDismiss.d.cts +10 -0
- package/dist/types-cjs/use/floatingLayer.d.cts +12 -0
- package/dist/types-cjs/use/floatingTrigger.d.cts +27 -0
- package/dist/types-cjs/use/focused.d.cts +12 -0
- package/dist/types-cjs/use/form/context.d.cts +8 -0
- package/dist/types-cjs/use/form/control.d.cts +21 -0
- package/dist/types-cjs/use/form/fieldKeyboard.d.cts +19 -0
- package/dist/types-cjs/use/form/props.d.cts +121 -0
- package/dist/types-cjs/use/form/textFieldComponent.d.cts +12 -0
- package/dist/types-cjs/use/form/textFieldControl.d.cts +71 -0
- package/dist/types-cjs/use/glass.d.cts +24 -0
- package/dist/types-cjs/use/gradient.d.cts +291 -0
- package/dist/types-cjs/use/gradientGlow.d.cts +48 -0
- package/dist/types-cjs/use/gradientMaterial.d.cts +21 -0
- package/dist/types-cjs/use/gradientRuntime.d.cts +11 -0
- package/dist/types-cjs/use/gradientRuntimeRegistry.d.cts +8 -0
- package/dist/types-cjs/use/gradientSurface.d.cts +50 -0
- package/dist/types-cjs/use/group/di.d.cts +5 -0
- package/dist/types-cjs/use/group/groupController.d.cts +10 -0
- package/dist/types-cjs/use/group/types.d.cts +9 -0
- package/dist/types-cjs/use/highlighted.d.cts +12 -0
- package/dist/types-cjs/use/icon.d.cts +22 -0
- package/dist/types-cjs/use/index.d.cts +23 -0
- package/dist/types-cjs/use/input/control.d.cts +10 -0
- package/dist/types-cjs/use/input/emits.d.cts +8 -0
- package/dist/types-cjs/use/input/index.d.cts +4 -0
- package/dist/types-cjs/use/input/props.d.cts +163 -0
- package/dist/types-cjs/use/items.d.cts +20 -0
- package/dist/types-cjs/use/layerStack.d.cts +15 -0
- package/dist/types-cjs/use/mask/index.d.cts +24 -0
- package/dist/types-cjs/use/material.d.cts +113 -0
- package/dist/types-cjs/use/materialSurface.d.cts +382 -0
- package/dist/types-cjs/use/menu.d.cts +49 -0
- package/dist/types-cjs/use/menuContext.d.cts +6 -0
- package/dist/types-cjs/use/navigation/controller.d.cts +14 -0
- package/dist/types-cjs/use/navigation/index.d.cts +4 -0
- package/dist/types-cjs/use/navigation/item.d.cts +9 -0
- package/dist/types-cjs/use/navigation/keyboard.d.cts +4 -0
- package/dist/types-cjs/use/navigation/types.d.cts +42 -0
- package/dist/types-cjs/use/open.d.cts +2 -0
- package/dist/types-cjs/use/overlay.d.cts +111 -0
- package/dist/types-cjs/use/placement.d.cts +16 -0
- package/dist/types-cjs/use/px.d.cts +4 -0
- package/dist/types-cjs/use/rounded.d.cts +12 -0
- package/dist/types-cjs/use/routerLink.d.cts +10 -0
- package/dist/types-cjs/use/select/comboboxController.d.cts +36 -0
- package/dist/types-cjs/use/select/commit.d.cts +23 -0
- package/dist/types-cjs/use/select/controller.d.cts +23 -0
- package/dist/types-cjs/use/select/creatable.d.cts +18 -0
- package/dist/types-cjs/use/select/fieldControl.d.cts +59 -0
- package/dist/types-cjs/use/select/filter.d.cts +14 -0
- package/dist/types-cjs/use/select/items.d.cts +14 -0
- package/dist/types-cjs/use/select/listboxKeyboard.d.cts +9 -0
- package/dist/types-cjs/use/select/menuItems.d.cts +11 -0
- package/dist/types-cjs/use/select/menuSlot.d.cts +5 -0
- package/dist/types-cjs/use/select/modelFallbackItems.d.cts +12 -0
- package/dist/types-cjs/use/select/search.d.cts +14 -0
- package/dist/types-cjs/use/select/searchFieldControl.d.cts +24 -0
- package/dist/types-cjs/use/select/selection.d.cts +12 -0
- package/dist/types-cjs/use/select/selectionController.d.cts +19 -0
- package/dist/types-cjs/use/select/selectionSummary.d.cts +8 -0
- package/dist/types-cjs/use/select/tokenInputKeyboard.d.cts +11 -0
- package/dist/types-cjs/use/select/types.d.cts +24 -0
- package/dist/types-cjs/use/selected.d.cts +17 -0
- package/dist/types-cjs/use/selectionModel.d.cts +19 -0
- package/dist/types-cjs/use/size.d.cts +16 -0
- package/dist/types-cjs/use/slots.d.cts +15 -0
- package/dist/types-cjs/use/state.d.cts +13 -0
- package/dist/types-cjs/use/stateIcon.d.cts +9 -0
- package/dist/types-cjs/use/stepper/controller.d.cts +20 -0
- package/dist/types-cjs/use/stepper/index.d.cts +1 -0
- package/dist/types-cjs/use/surface.d.cts +128 -0
- package/dist/types-cjs/use/surfaceColor.d.cts +19 -0
- package/dist/types-cjs/use/surfaceMaterial.d.cts +45 -0
- package/dist/types-cjs/use/tagName.d.cts +47 -0
- package/dist/types-cjs/use/textarea/index.d.cts +2 -0
- package/dist/types-cjs/use/textarea/props.d.cts +144 -0
- package/dist/types-cjs/use/transition.d.cts +156 -0
- package/dist/types-cjs/use/variant.d.cts +16 -0
- package/dist/types-cjs/use/visibleProps.d.cts +1 -0
- package/dist/types-cjs/use/zIndex.d.cts +10 -0
- package/dist/types-cjs/utils/camelToKebabCase.d.cts +1 -0
- package/dist/types-cjs/utils/createComponentId.d.cts +1 -0
- package/dist/types-cjs/utils/createId.d.cts +1 -0
- package/dist/types-cjs/utils/propsFactory.d.cts +29 -0
- package/dist/types-l8OJZAJz.cjs +1 -0
- package/dist/use.cjs +1 -1
- package/dist/use.mjs +80 -55
- package/dist/useSnackbar-CGt0lJDk.js +245 -0
- package/dist/useSnackbar-CRUtXt4_.cjs +1 -0
- package/dist/variant-BvBpmTET.cjs +1 -0
- package/dist/variant-Fpx1q_TY.js +15 -0
- package/dist/viewport-BhvdzcLi.cjs +1 -0
- package/dist/viewport-DhX6inI4.js +11 -0
- package/package.json +358 -28
- package/dist/GLoading.vue_vue_type_style_index_0_lang-BbVYszn2.js +0 -468
- package/dist/GLoading.vue_vue_type_style_index_0_lang-DW5X0giH.cjs +0 -1
- package/dist/GSwitch.vue_vue_type_script_setup_true_lang-BPwF9Kug.js +0 -8734
- package/dist/GSwitch.vue_vue_type_script_setup_true_lang-C45EmRhx.cjs +0 -1
- package/dist/camelToKebabCase-BQDotaQm.cjs +0 -316
- package/dist/camelToKebabCase-BWbQb81D.js +0 -3783
- package/dist/default--73FwpwZ.cjs +0 -4
- package/dist/default-DlsS6GI_.js +0 -58
- package/dist/defaults-BlTdRhHs.cjs +0 -1
- package/dist/defaults-DMi34V8q.js +0 -51
- package/dist/index-Cs3XQ3JB.js +0 -97
- package/dist/index-DN5ngVtp.cjs +0 -1
- package/dist/index-DVHKm06w.cjs +0 -1
- package/dist/index-DeFv4BdJ.js +0 -418
- package/dist/mask-669nMf98.js +0 -936
- package/dist/mask-Bh_UkcCe.cjs +0 -1
- package/dist/materialSurface-BbFTyJuA.js +0 -634
- package/dist/materialSurface-DOfA2E9c.cjs +0 -1
- package/dist/scheme-CZ0a0X5e.cjs +0 -299
- package/dist/scheme-Dqwdqg6N.js +0 -1405
- package/dist/surface-C3w1Rz6V.js +0 -291
- package/dist/surface-DB9flb-h.cjs +0 -1
- package/dist/useSnackbar-6OiYxhJA.cjs +0 -1
- package/dist/useSnackbar-BYPu4tJ4.js +0 -922
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { p as parseColor, f as COLOR_SEEDS, b as createPalette, C as COLOR_SHADES } from "./palette-CH8mtBoc.js";
|
|
2
|
+
import { DEFAULT_SEED, createGradientMaterial, DEFAULT_GRADIENT_MORPH_BLEND_MODE } from "@gradient-ui/gradient-engine";
|
|
3
|
+
import { u as useTheme } from "./cssTokens-CR4OxIND.js";
|
|
4
|
+
import { c as camelToKebabCase } from "./camelToKebabCase-nw6sbguT.js";
|
|
5
|
+
import { computed, toValue } from "vue";
|
|
6
|
+
import { b as resolveOnColorValue, r as resolveColorValue, a as resolveGradientValue } from "./colorResolver-BBj51UAZ.js";
|
|
7
|
+
const MATERIAL_RECIPE_BY_KIND = {
|
|
8
|
+
action: "materialAction",
|
|
9
|
+
surface: "materialSurface"
|
|
10
|
+
}, DEFAULT_SHADOW = "var(--g-token-elevation-2)", EMPTY_SHADOW = "none", EMPTY_FILTER = "none", EMPTY_ANIMATION = "none", LIGHT_FOREGROUND = "#ffffff", DARK_FOREGROUND = "#0d0d12", PALETTE_SEEDS = Object.fromEntries(
|
|
11
|
+
Object.entries(COLOR_SEEDS).map(([name, seed]) => [
|
|
12
|
+
camelToKebabCase(name),
|
|
13
|
+
seed
|
|
14
|
+
])
|
|
15
|
+
), COLOR_SHADE_SET = new Set(COLOR_SHADES), SEMANTIC_MATERIAL_SEEDS = {
|
|
16
|
+
error: COLOR_SEEDS.red,
|
|
17
|
+
success: COLOR_SEEDS.green,
|
|
18
|
+
warning: COLOR_SEEDS.orange
|
|
19
|
+
}, resolvePaletteSeed = (color) => {
|
|
20
|
+
if (color in PALETTE_SEEDS) return PALETTE_SEEDS[color];
|
|
21
|
+
const match = color.match(/^(.+)-(\d+)$/);
|
|
22
|
+
if (!match) return null;
|
|
23
|
+
const [, family, shadeValue] = match, seed = PALETTE_SEEDS[family], shade = Number(shadeValue);
|
|
24
|
+
return !seed || !COLOR_SHADE_SET.has(shade) ? null : createPalette(seed)[shade];
|
|
25
|
+
}, resolveMaterialSeed = (color, themeSeed) => color ? parseColor(color) ? color : color === "primary" || color === "main" ? themeSeed : color in SEMANTIC_MATERIAL_SEEDS ? SEMANTIC_MATERIAL_SEEDS[color] : resolvePaletteSeed(color) : themeSeed, toLinear = (value) => {
|
|
26
|
+
const channel = value / 255;
|
|
27
|
+
return channel <= 0.04045 ? channel / 12.92 : ((channel + 0.055) / 1.055) ** 2.4;
|
|
28
|
+
}, getRelativeLuminance = (color) => 0.2126 * toLinear(color.r) + 0.7152 * toLinear(color.g) + 0.0722 * toLinear(color.b), getContrastRatio = (foreground, background) => {
|
|
29
|
+
const foregroundLuminance = getRelativeLuminance(foreground), backgroundLuminance = getRelativeLuminance(background), lighter = Math.max(foregroundLuminance, backgroundLuminance), darker = Math.min(foregroundLuminance, backgroundLuminance);
|
|
30
|
+
return (lighter + 0.05) / (darker + 0.05);
|
|
31
|
+
}, getGradientCenterColor = (material) => {
|
|
32
|
+
var _a, _b, _c;
|
|
33
|
+
const stops = (_a = material.gradient.stops) == null ? void 0 : _a.map((stop) => {
|
|
34
|
+
const color = parseColor(stop.color);
|
|
35
|
+
return color ? { color, position: stop.position } : null;
|
|
36
|
+
}).filter((stop) => stop !== null).sort((first, second) => first.position - second.position);
|
|
37
|
+
if (!(stops != null && stops.length)) return null;
|
|
38
|
+
const targetPosition = 50, nextIndex = stops.findIndex(
|
|
39
|
+
(stop) => stop.position >= targetPosition
|
|
40
|
+
);
|
|
41
|
+
if (nextIndex === -1) return ((_b = stops.at(-1)) == null ? void 0 : _b.color) ?? null;
|
|
42
|
+
if (nextIndex === 0) return ((_c = stops[0]) == null ? void 0 : _c.color) ?? null;
|
|
43
|
+
const previous = stops[nextIndex - 1], next = stops[nextIndex], distance = next.position - previous.position, progress = distance ? (targetPosition - previous.position) / distance : 0;
|
|
44
|
+
return {
|
|
45
|
+
r: previous.color.r + (next.color.r - previous.color.r) * progress,
|
|
46
|
+
g: previous.color.g + (next.color.g - previous.color.g) * progress,
|
|
47
|
+
b: previous.color.b + (next.color.b - previous.color.b) * progress
|
|
48
|
+
};
|
|
49
|
+
}, getGradientForeground = (material, fallback) => {
|
|
50
|
+
const centerColor = getGradientCenterColor(material);
|
|
51
|
+
if (!centerColor) return fallback;
|
|
52
|
+
const bestCandidate = [LIGHT_FOREGROUND, DARK_FOREGROUND].map((color) => {
|
|
53
|
+
const parsed = parseColor(color);
|
|
54
|
+
return parsed ? {
|
|
55
|
+
color,
|
|
56
|
+
contrast: getContrastRatio(parsed, centerColor)
|
|
57
|
+
} : null;
|
|
58
|
+
}).filter(
|
|
59
|
+
(candidate) => !!candidate
|
|
60
|
+
).sort(
|
|
61
|
+
(first, second) => second.contrast - first.contrast
|
|
62
|
+
)[0];
|
|
63
|
+
return (bestCandidate == null ? void 0 : bestCandidate.color) ?? fallback;
|
|
64
|
+
}, createFallbackVars = (color, effects, animations, morphOptions) => ({
|
|
65
|
+
"--g-gradient-material-background": resolveGradientValue(color),
|
|
66
|
+
"--g-gradient-material-color": resolveColorValue(color),
|
|
67
|
+
"--g-gradient-material-foreground": resolveOnColorValue(color),
|
|
68
|
+
"--g-gradient-material-shadow": effects ? DEFAULT_SHADOW : EMPTY_SHADOW,
|
|
69
|
+
"--g-gradient-material-drop-shadow": EMPTY_FILTER,
|
|
70
|
+
"--g-gradient-material-filter": EMPTY_FILTER,
|
|
71
|
+
"--g-gradient-material-morph-blend-mode": (morphOptions == null ? void 0 : morphOptions.blendMode) ?? DEFAULT_GRADIENT_MORPH_BLEND_MODE,
|
|
72
|
+
"--g-gradient-material-animation": animations ? "var(--g-gradient-animation, none)" : EMPTY_ANIMATION,
|
|
73
|
+
"--g-gradient-current": "var(--g-gradient-material-background)",
|
|
74
|
+
"--g-gradient-current-shadow": "var(--g-gradient-material-shadow)",
|
|
75
|
+
"--g-gradient-current-filter": "var(--g-gradient-material-filter)",
|
|
76
|
+
"--g-gradient-current-animation": "var(--g-gradient-material-animation)"
|
|
77
|
+
}), createMaterialVars = (material, effects, animations, color, morphOptions) => {
|
|
78
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
79
|
+
const shadow = (_b = (_a = material.effects) == null ? void 0 : _a.boxShadow) == null ? void 0 : _b.cssVar, dropShadow = (_d = (_c = material.effects) == null ? void 0 : _c.dropShadow) == null ? void 0 : _d.cssVar, morph = (_f = (_e = material.effects) == null ? void 0 : _e.morph) == null ? void 0 : _f.cssVar, animation = (_g = material.animation) == null ? void 0 : _g.cssVar;
|
|
80
|
+
return {
|
|
81
|
+
...material.cssVars,
|
|
82
|
+
"--g-gradient-material-background": `var(${material.gradient.cssVar})`,
|
|
83
|
+
"--g-gradient-material-color": resolveColorValue(color),
|
|
84
|
+
"--g-gradient-material-foreground": getGradientForeground(
|
|
85
|
+
material,
|
|
86
|
+
resolveOnColorValue(color)
|
|
87
|
+
),
|
|
88
|
+
"--g-gradient-material-shadow": effects && shadow ? `var(${shadow})` : EMPTY_SHADOW,
|
|
89
|
+
"--g-gradient-material-drop-shadow": effects && dropShadow ? `var(${dropShadow})` : EMPTY_FILTER,
|
|
90
|
+
"--g-gradient-material-filter": effects && morph ? `var(${morph})` : effects && dropShadow ? `var(${dropShadow})` : EMPTY_FILTER,
|
|
91
|
+
"--g-gradient-material-morph-blend-mode": effects && ((_i = (_h = material.effects) == null ? void 0 : _h.morph) != null && _i.blendModeCssVar) ? `var(${material.effects.morph.blendModeCssVar})` : (morphOptions == null ? void 0 : morphOptions.blendMode) ?? DEFAULT_GRADIENT_MORPH_BLEND_MODE,
|
|
92
|
+
"--g-gradient-material-animation": animations && animation ? `var(${animation})` : EMPTY_ANIMATION,
|
|
93
|
+
"--g-gradient-current": "var(--g-gradient-material-background)",
|
|
94
|
+
"--g-gradient-current-shadow": "var(--g-gradient-material-shadow)",
|
|
95
|
+
"--g-gradient-current-filter": "var(--g-gradient-material-filter)",
|
|
96
|
+
"--g-gradient-current-animation": "var(--g-gradient-material-animation)"
|
|
97
|
+
};
|
|
98
|
+
}, useGradientMaterial = (options = {}) => {
|
|
99
|
+
const theme = useTheme(), kind = computed(() => toValue(options.kind) ?? "surface"), effects = computed(() => !!toValue(options.effects)), animations = computed(() => !!toValue(options.animations)), resolvedColor = computed(() => toValue(options.color)), recipe = computed(() => toValue(options.recipe)), morph = computed(() => toValue(options.morph)), shouldGenerateMaterial = computed(
|
|
100
|
+
() => !!(effects.value || animations.value || recipe.value || morph.value || toValue(options.options))
|
|
101
|
+
), materialSeed = computed(
|
|
102
|
+
() => resolveMaterialSeed(
|
|
103
|
+
resolvedColor.value,
|
|
104
|
+
(theme == null ? void 0 : theme.seed.value) ?? DEFAULT_SEED
|
|
105
|
+
)
|
|
106
|
+
), material = computed(() => {
|
|
107
|
+
if (!shouldGenerateMaterial.value) return null;
|
|
108
|
+
const seed = materialSeed.value;
|
|
109
|
+
return seed ? createGradientMaterial(seed, {
|
|
110
|
+
...toValue(options.options),
|
|
111
|
+
animation: toValue(options.animation),
|
|
112
|
+
animations: animations.value,
|
|
113
|
+
dropShadow: toValue(options.dropShadow),
|
|
114
|
+
effects: effects.value,
|
|
115
|
+
morph: morph.value,
|
|
116
|
+
recipe: recipe.value ?? MATERIAL_RECIPE_BY_KIND[kind.value],
|
|
117
|
+
shadow: toValue(options.shadow)
|
|
118
|
+
}) : null;
|
|
119
|
+
}), gradientMaterialStyles = computed(() => {
|
|
120
|
+
const generatedMaterial = material.value;
|
|
121
|
+
return generatedMaterial ? createMaterialVars(
|
|
122
|
+
generatedMaterial,
|
|
123
|
+
effects.value,
|
|
124
|
+
animations.value,
|
|
125
|
+
resolvedColor.value,
|
|
126
|
+
morph.value
|
|
127
|
+
) : shouldGenerateMaterial.value ? createFallbackVars(
|
|
128
|
+
resolvedColor.value,
|
|
129
|
+
effects.value,
|
|
130
|
+
animations.value,
|
|
131
|
+
morph.value
|
|
132
|
+
) : void 0;
|
|
133
|
+
});
|
|
134
|
+
return {
|
|
135
|
+
gradientMaterial: material,
|
|
136
|
+
gradientMaterialStyles
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
export {
|
|
140
|
+
useGradientMaterial as u
|
|
141
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const palette=require("./palette-WOebHg01.cjs"),gradientEngine=require("@gradient-ui/gradient-engine"),cssTokens=require("./cssTokens-gELrmYNj.cjs"),camelToKebabCase=require("./camelToKebabCase-BFm1Zwmu.cjs"),vue=require("vue"),colorResolver=require("./colorResolver-C6PTz0S8.cjs"),MATERIAL_RECIPE_BY_KIND={action:"materialAction",surface:"materialSurface"},DEFAULT_SHADOW="var(--g-token-elevation-2)",EMPTY_SHADOW="none",EMPTY_FILTER="none",EMPTY_ANIMATION="none",LIGHT_FOREGROUND="#ffffff",DARK_FOREGROUND="#0d0d12",PALETTE_SEEDS=Object.fromEntries(Object.entries(palette.COLOR_SEEDS).map(([name,seed])=>[camelToKebabCase.camelToKebabCase(name),seed])),COLOR_SHADE_SET=new Set(palette.COLOR_SHADES),SEMANTIC_MATERIAL_SEEDS={error:palette.COLOR_SEEDS.red,success:palette.COLOR_SEEDS.green,warning:palette.COLOR_SEEDS.orange},resolvePaletteSeed=color=>{if(color in PALETTE_SEEDS)return PALETTE_SEEDS[color];const match=color.match(/^(.+)-(\d+)$/);if(!match)return null;const[,family,shadeValue]=match,seed=PALETTE_SEEDS[family],shade=Number(shadeValue);return!seed||!COLOR_SHADE_SET.has(shade)?null:palette.createPalette(seed)[shade]},resolveMaterialSeed=(color,themeSeed)=>color?palette.parseColor(color)?color:color==="primary"||color==="main"?themeSeed:color in SEMANTIC_MATERIAL_SEEDS?SEMANTIC_MATERIAL_SEEDS[color]:resolvePaletteSeed(color):themeSeed,toLinear=value=>{const channel=value/255;return channel<=.04045?channel/12.92:((channel+.055)/1.055)**2.4},getRelativeLuminance=color=>.2126*toLinear(color.r)+.7152*toLinear(color.g)+.0722*toLinear(color.b),getContrastRatio=(foreground,background)=>{const foregroundLuminance=getRelativeLuminance(foreground),backgroundLuminance=getRelativeLuminance(background),lighter=Math.max(foregroundLuminance,backgroundLuminance),darker=Math.min(foregroundLuminance,backgroundLuminance);return(lighter+.05)/(darker+.05)},getGradientCenterColor=material=>{var _a,_b,_c;const stops=(_a=material.gradient.stops)==null?void 0:_a.map(stop=>{const color=palette.parseColor(stop.color);return color?{color,position:stop.position}:null}).filter(stop=>stop!==null).sort((first,second)=>first.position-second.position);if(!(stops!=null&&stops.length))return null;const targetPosition=50,nextIndex=stops.findIndex(stop=>stop.position>=targetPosition);if(nextIndex===-1)return((_b=stops.at(-1))==null?void 0:_b.color)??null;if(nextIndex===0)return((_c=stops[0])==null?void 0:_c.color)??null;const previous=stops[nextIndex-1],next=stops[nextIndex],distance=next.position-previous.position,progress=distance?(targetPosition-previous.position)/distance:0;return{r:previous.color.r+(next.color.r-previous.color.r)*progress,g:previous.color.g+(next.color.g-previous.color.g)*progress,b:previous.color.b+(next.color.b-previous.color.b)*progress}},getGradientForeground=(material,fallback)=>{const centerColor=getGradientCenterColor(material);if(!centerColor)return fallback;const bestCandidate=[LIGHT_FOREGROUND,DARK_FOREGROUND].map(color=>{const parsed=palette.parseColor(color);return parsed?{color,contrast:getContrastRatio(parsed,centerColor)}:null}).filter(candidate=>!!candidate).sort((first,second)=>second.contrast-first.contrast)[0];return(bestCandidate==null?void 0:bestCandidate.color)??fallback},createFallbackVars=(color,effects,animations,morphOptions)=>({"--g-gradient-material-background":colorResolver.resolveGradientValue(color),"--g-gradient-material-color":colorResolver.resolveColorValue(color),"--g-gradient-material-foreground":colorResolver.resolveOnColorValue(color),"--g-gradient-material-shadow":effects?DEFAULT_SHADOW:EMPTY_SHADOW,"--g-gradient-material-drop-shadow":EMPTY_FILTER,"--g-gradient-material-filter":EMPTY_FILTER,"--g-gradient-material-morph-blend-mode":(morphOptions==null?void 0:morphOptions.blendMode)??gradientEngine.DEFAULT_GRADIENT_MORPH_BLEND_MODE,"--g-gradient-material-animation":animations?"var(--g-gradient-animation, none)":EMPTY_ANIMATION,"--g-gradient-current":"var(--g-gradient-material-background)","--g-gradient-current-shadow":"var(--g-gradient-material-shadow)","--g-gradient-current-filter":"var(--g-gradient-material-filter)","--g-gradient-current-animation":"var(--g-gradient-material-animation)"}),createMaterialVars=(material,effects,animations,color,morphOptions)=>{var _a,_b,_c,_d,_e,_f,_g,_h,_i;const shadow=(_b=(_a=material.effects)==null?void 0:_a.boxShadow)==null?void 0:_b.cssVar,dropShadow=(_d=(_c=material.effects)==null?void 0:_c.dropShadow)==null?void 0:_d.cssVar,morph=(_f=(_e=material.effects)==null?void 0:_e.morph)==null?void 0:_f.cssVar,animation=(_g=material.animation)==null?void 0:_g.cssVar;return{...material.cssVars,"--g-gradient-material-background":`var(${material.gradient.cssVar})`,"--g-gradient-material-color":colorResolver.resolveColorValue(color),"--g-gradient-material-foreground":getGradientForeground(material,colorResolver.resolveOnColorValue(color)),"--g-gradient-material-shadow":effects&&shadow?`var(${shadow})`:EMPTY_SHADOW,"--g-gradient-material-drop-shadow":effects&&dropShadow?`var(${dropShadow})`:EMPTY_FILTER,"--g-gradient-material-filter":effects&&morph?`var(${morph})`:effects&&dropShadow?`var(${dropShadow})`:EMPTY_FILTER,"--g-gradient-material-morph-blend-mode":effects&&((_i=(_h=material.effects)==null?void 0:_h.morph)!=null&&_i.blendModeCssVar)?`var(${material.effects.morph.blendModeCssVar})`:(morphOptions==null?void 0:morphOptions.blendMode)??gradientEngine.DEFAULT_GRADIENT_MORPH_BLEND_MODE,"--g-gradient-material-animation":animations&&animation?`var(${animation})`:EMPTY_ANIMATION,"--g-gradient-current":"var(--g-gradient-material-background)","--g-gradient-current-shadow":"var(--g-gradient-material-shadow)","--g-gradient-current-filter":"var(--g-gradient-material-filter)","--g-gradient-current-animation":"var(--g-gradient-material-animation)"}},useGradientMaterial=(options={})=>{const theme=cssTokens.useTheme(),kind=vue.computed(()=>vue.toValue(options.kind)??"surface"),effects=vue.computed(()=>!!vue.toValue(options.effects)),animations=vue.computed(()=>!!vue.toValue(options.animations)),resolvedColor=vue.computed(()=>vue.toValue(options.color)),recipe=vue.computed(()=>vue.toValue(options.recipe)),morph=vue.computed(()=>vue.toValue(options.morph)),shouldGenerateMaterial=vue.computed(()=>!!(effects.value||animations.value||recipe.value||morph.value||vue.toValue(options.options))),materialSeed=vue.computed(()=>resolveMaterialSeed(resolvedColor.value,(theme==null?void 0:theme.seed.value)??gradientEngine.DEFAULT_SEED)),material=vue.computed(()=>{if(!shouldGenerateMaterial.value)return null;const seed=materialSeed.value;return seed?gradientEngine.createGradientMaterial(seed,{...vue.toValue(options.options),animation:vue.toValue(options.animation),animations:animations.value,dropShadow:vue.toValue(options.dropShadow),effects:effects.value,morph:morph.value,recipe:recipe.value??MATERIAL_RECIPE_BY_KIND[kind.value],shadow:vue.toValue(options.shadow)}):null}),gradientMaterialStyles=vue.computed(()=>{const generatedMaterial=material.value;return generatedMaterial?createMaterialVars(generatedMaterial,effects.value,animations.value,resolvedColor.value,morph.value):shouldGenerateMaterial.value?createFallbackVars(resolvedColor.value,effects.value,animations.value,morph.value):void 0});return{gradientMaterial:material,gradientMaterialStyles}};exports.useGradientMaterial=useGradientMaterial;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const vue=require("vue"),asideGroupInjectionKey=Symbol("g-aside-group");function provideAsideGroup(context){vue.provide(asideGroupInjectionKey,context)}function useAsideGroupInject(){return vue.inject(asideGroupInjectionKey,null)}exports.provideAsideGroup=provideAsideGroup;exports.useAsideGroupInject=useAsideGroupInject;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { provide, inject } from "vue";
|
|
2
|
+
const asideGroupInjectionKey = Symbol(
|
|
3
|
+
"g-aside-group"
|
|
4
|
+
);
|
|
5
|
+
function provideAsideGroup(context) {
|
|
6
|
+
provide(asideGroupInjectionKey, context);
|
|
7
|
+
}
|
|
8
|
+
function useAsideGroupInject() {
|
|
9
|
+
return inject(asideGroupInjectionKey, null);
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
provideAsideGroup as p,
|
|
13
|
+
useAsideGroupInject as u
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const vue=require("vue"),navGroupInjectionKey=Symbol("g-nav-group");function provideNavGroup(context){vue.provide(navGroupInjectionKey,context)}function useNavGroupInject(){return vue.inject(navGroupInjectionKey,null)}exports.provideNavGroup=provideNavGroup;exports.useNavGroupInject=useNavGroupInject;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { provide, inject } from "vue";
|
|
2
|
+
const navGroupInjectionKey = Symbol(
|
|
3
|
+
"g-nav-group"
|
|
4
|
+
);
|
|
5
|
+
function provideNavGroup(context) {
|
|
6
|
+
provide(navGroupInjectionKey, context);
|
|
7
|
+
}
|
|
8
|
+
function useNavGroupInject() {
|
|
9
|
+
return inject(navGroupInjectionKey, null);
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
provideNavGroup as p,
|
|
13
|
+
useNavGroupInject as u
|
|
14
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { b as createDefaultTheme, e as createTokensCSS } from "./cssTokens-CR4OxIND.js";
|
|
2
|
+
import { DEFAULT_SEED } from "@gradient-ui/gradient-engine";
|
|
3
|
+
const materialClass = "g-theme--material", defaultModeClasses = {
|
|
4
|
+
light: "g-theme--light",
|
|
5
|
+
dark: "g-theme--dark"
|
|
6
|
+
}, createGradientUIHead = (options = {}) => {
|
|
7
|
+
const themeOptions = options.theme ?? {}, mode = themeOptions.mode ?? "light", modeClasses = { ...defaultModeClasses, ...options.modeClasses }, createPalette = (paletteMode) => createDefaultTheme(themeOptions.seed ?? DEFAULT_SEED, paletteMode, {
|
|
8
|
+
applyToDom: !1,
|
|
9
|
+
colors: themeOptions.colors
|
|
10
|
+
}), palettes = {
|
|
11
|
+
light: createPalette("light"),
|
|
12
|
+
dark: createPalette("dark")
|
|
13
|
+
}, createStyle = (id, prefix, key) => {
|
|
14
|
+
const css = (paletteMode, className) => createTokensCSS(palettes[paletteMode].tokens[key], {
|
|
15
|
+
className,
|
|
16
|
+
prefix
|
|
17
|
+
});
|
|
18
|
+
return {
|
|
19
|
+
id,
|
|
20
|
+
...options.nonce ? { nonce: options.nonce } : {},
|
|
21
|
+
textContent: [
|
|
22
|
+
css(mode, materialClass),
|
|
23
|
+
css("light", `${materialClass}.${modeClasses.light}`),
|
|
24
|
+
css("dark", `${materialClass}.${modeClasses.dark}`)
|
|
25
|
+
].join(`
|
|
26
|
+
`)
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
return {
|
|
30
|
+
htmlAttrs: {
|
|
31
|
+
class: [
|
|
32
|
+
materialClass,
|
|
33
|
+
...options.includeModeClass === !1 ? [] : [modeClasses[mode]]
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
style: [
|
|
37
|
+
createStyle("g-theme-style", "theme", "theme"),
|
|
38
|
+
createStyle("g-color-style", "color", "colors"),
|
|
39
|
+
createStyle("g-gradient-style", "gradient", "gradients")
|
|
40
|
+
]
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export {
|
|
44
|
+
createGradientUIHead as c
|
|
45
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const cssTokens=require("./cssTokens-gELrmYNj.cjs"),gradientEngine=require("@gradient-ui/gradient-engine"),materialClass="g-theme--material",defaultModeClasses={light:"g-theme--light",dark:"g-theme--dark"},createGradientUIHead=(options={})=>{const themeOptions=options.theme??{},mode=themeOptions.mode??"light",modeClasses={...defaultModeClasses,...options.modeClasses},createPalette=paletteMode=>cssTokens.createDefaultTheme(themeOptions.seed??gradientEngine.DEFAULT_SEED,paletteMode,{applyToDom:!1,colors:themeOptions.colors}),palettes={light:createPalette("light"),dark:createPalette("dark")},createStyle=(id,prefix,key)=>{const css=(paletteMode,className)=>cssTokens.createTokensCSS(palettes[paletteMode].tokens[key],{className,prefix});return{id,...options.nonce?{nonce:options.nonce}:{},textContent:[css(mode,materialClass),css("light",`${materialClass}.${modeClasses.light}`),css("dark",`${materialClass}.${modeClasses.dark}`)].join(`
|
|
2
|
+
`)}};return{htmlAttrs:{class:[materialClass,...options.includeModeClass===!1?[]:[modeClasses[mode]]]},style:[createStyle("g-theme-style","theme","theme"),createStyle("g-color-style","color","colors"),createStyle("g-gradient-style","gradient","gradients")]}};exports.createGradientUIHead=createGradientUIHead;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createBlock, resolveDynamicComponent, normalizeClass, computed, inject, provide } from "vue";
|
|
2
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
|
+
__name: "MdiIconSet",
|
|
4
|
+
props: {
|
|
5
|
+
icon: {},
|
|
6
|
+
tag: {}
|
|
7
|
+
},
|
|
8
|
+
setup(__props) {
|
|
9
|
+
return (_ctx, _cache) => (openBlock(), createBlock(resolveDynamicComponent(__props.tag), {
|
|
10
|
+
class: normalizeClass(["mdi", `mdi-${__props.icon}`]),
|
|
11
|
+
"aria-hidden": "true"
|
|
12
|
+
}, null, 8, ["class"]));
|
|
13
|
+
}
|
|
14
|
+
}), IconsSymbol = Symbol("gradient-icons"), defaultIcons = {
|
|
15
|
+
defaultSet: "mdi",
|
|
16
|
+
aliases: {},
|
|
17
|
+
sets: {
|
|
18
|
+
mdi: {
|
|
19
|
+
component: _sfc_main
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
function createIcons(options = {}) {
|
|
24
|
+
return {
|
|
25
|
+
defaultSet: options.defaultSet ?? defaultIcons.defaultSet,
|
|
26
|
+
aliases: {
|
|
27
|
+
...defaultIcons.aliases,
|
|
28
|
+
...options.aliases ?? {}
|
|
29
|
+
},
|
|
30
|
+
sets: {
|
|
31
|
+
...defaultIcons.sets,
|
|
32
|
+
...options.sets ?? {}
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function provideIcons(options = {}) {
|
|
37
|
+
provide(IconsSymbol, createIcons(options));
|
|
38
|
+
}
|
|
39
|
+
function installIcons(app, options = {}) {
|
|
40
|
+
app.provide(IconsSymbol, createIcons(options));
|
|
41
|
+
}
|
|
42
|
+
function useIcons() {
|
|
43
|
+
return inject(IconsSymbol, defaultIcons);
|
|
44
|
+
}
|
|
45
|
+
function useIcon(icon) {
|
|
46
|
+
const icons = useIcons();
|
|
47
|
+
return computed(() => {
|
|
48
|
+
let iconValue = icon() ?? "";
|
|
49
|
+
if (iconValue.startsWith("$")) {
|
|
50
|
+
const alias = iconValue.slice(1);
|
|
51
|
+
iconValue = icons.aliases[alias] ?? iconValue;
|
|
52
|
+
}
|
|
53
|
+
const [setName, setIcon] = iconValue.includes(":") ? iconValue.split(":", 2) : [icons.defaultSet, iconValue], set = icons.sets[setName] ?? icons.sets[icons.defaultSet];
|
|
54
|
+
return {
|
|
55
|
+
icon: setIcon ?? iconValue,
|
|
56
|
+
component: set.component
|
|
57
|
+
};
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
export {
|
|
61
|
+
useIcons as a,
|
|
62
|
+
createIcons as c,
|
|
63
|
+
installIcons as i,
|
|
64
|
+
provideIcons as p,
|
|
65
|
+
useIcon as u
|
|
66
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const vue=require("vue"),_sfc_main=vue.defineComponent({__name:"MdiIconSet",props:{icon:{},tag:{}},setup(__props){return(_ctx,_cache)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(__props.tag),{class:vue.normalizeClass(["mdi",`mdi-${__props.icon}`]),"aria-hidden":"true"},null,8,["class"]))}}),IconsSymbol=Symbol("gradient-icons"),defaultIcons={defaultSet:"mdi",aliases:{},sets:{mdi:{component:_sfc_main}}};function createIcons(options={}){return{defaultSet:options.defaultSet??defaultIcons.defaultSet,aliases:{...defaultIcons.aliases,...options.aliases??{}},sets:{...defaultIcons.sets,...options.sets??{}}}}function provideIcons(options={}){vue.provide(IconsSymbol,createIcons(options))}function installIcons(app,options={}){app.provide(IconsSymbol,createIcons(options))}function useIcons(){return vue.inject(IconsSymbol,defaultIcons)}function useIcon(icon){const icons=useIcons();return vue.computed(()=>{let iconValue=icon()??"";if(iconValue.startsWith("$")){const alias=iconValue.slice(1);iconValue=icons.aliases[alias]??iconValue}const[setName,setIcon]=iconValue.includes(":")?iconValue.split(":",2):[icons.defaultSet,iconValue],set=icons.sets[setName]??icons.sets[icons.defaultSet];return{icon:setIcon??iconValue,component:set.component}})}exports.createIcons=createIcons;exports.installIcons=installIcons;exports.provideIcons=provideIcons;exports.useIcon=useIcon;exports.useIcons=useIcons;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const vue=require("vue"),useSsrId=(prefix="g")=>`${prefix}-${(vue.useId()??"").replaceAll(":","")}`;exports.useSsrId=useSsrId;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ref, computed } from "vue";
|
|
2
|
+
import { u as useSsrViewport } from "./viewport-DhX6inI4.js";
|
|
3
|
+
import { o as onClientMounted } from "./clientLifecycle-NZQzL_eH.js";
|
|
4
|
+
const defaultBreakpoints = {
|
|
5
|
+
sm: 600,
|
|
6
|
+
md: 900,
|
|
7
|
+
lg: 1200,
|
|
8
|
+
xl: 1536
|
|
9
|
+
}, resolveBreakpoint = (breakpoints, target) => typeof target == "number" ? target : breakpoints[target] ?? 0, useBreakpoints = (breakpoints = defaultBreakpoints, options = {}) => {
|
|
10
|
+
const viewport = useSsrViewport(), width = ref(options.initialWidth ?? (viewport == null ? void 0 : viewport.width) ?? 0), height = ref(options.initialHeight ?? (viewport == null ? void 0 : viewport.height) ?? 0), updateSize = (clientWindow) => {
|
|
11
|
+
width.value = clientWindow.innerWidth, height.value = clientWindow.innerHeight;
|
|
12
|
+
};
|
|
13
|
+
onClientMounted(({ window: clientWindow }) => {
|
|
14
|
+
const onResize = () => updateSize(clientWindow);
|
|
15
|
+
return onResize(), clientWindow.addEventListener("resize", onResize, { passive: !0 }), () => clientWindow.removeEventListener("resize", onResize);
|
|
16
|
+
});
|
|
17
|
+
const up = (target) => computed(
|
|
18
|
+
() => width.value >= resolveBreakpoint(breakpoints, target)
|
|
19
|
+
), down = (target) => computed(
|
|
20
|
+
() => width.value <= resolveBreakpoint(breakpoints, target)
|
|
21
|
+
), between = (min, max) => computed(() => {
|
|
22
|
+
const minWidth = resolveBreakpoint(breakpoints, min), maxWidth = resolveBreakpoint(breakpoints, max);
|
|
23
|
+
return width.value >= minWidth && width.value <= maxWidth;
|
|
24
|
+
}), name = computed(() => {
|
|
25
|
+
var _a;
|
|
26
|
+
const entries = Object.entries(breakpoints).sort((a, b) => a[1] - b[1]);
|
|
27
|
+
let current = ((_a = entries[0]) == null ? void 0 : _a[0]) ?? "";
|
|
28
|
+
for (const [key, value] of entries)
|
|
29
|
+
width.value >= value && (current = key);
|
|
30
|
+
return current;
|
|
31
|
+
});
|
|
32
|
+
return {
|
|
33
|
+
breakpoints,
|
|
34
|
+
width,
|
|
35
|
+
height,
|
|
36
|
+
name,
|
|
37
|
+
up,
|
|
38
|
+
down,
|
|
39
|
+
between,
|
|
40
|
+
smAndUp: up("sm"),
|
|
41
|
+
smAndDown: down("sm"),
|
|
42
|
+
mdAndUp: up("md"),
|
|
43
|
+
mdAndDown: down("md"),
|
|
44
|
+
lgAndUp: up("lg"),
|
|
45
|
+
lgAndDown: down("lg"),
|
|
46
|
+
xlAndUp: up("xl"),
|
|
47
|
+
xlAndDown: down("xl")
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
defaultBreakpoints as d,
|
|
52
|
+
useBreakpoints as u
|
|
53
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const components_GText=require("./components/GText.cjs"),components_GTabs=require("./components/GTabs.cjs"),components_GTabList=require("./components/GTabList.cjs"),components_GTab=require("./components/GTab.cjs"),components_GTabPanels=require("./components/GTabPanels.cjs"),components_GTabPanel=require("./components/GTabPanel.cjs"),components_GStepper=require("./components/GStepper.cjs"),components_GStepPanel=require("./components/GStepPanel.cjs"),components_GStepperActions=require("./components/GStepperActions.cjs"),GTransition_vue_vue_type_script_setup_true_lang=require("./GTransition.vue_vue_type_script_setup_true_lang-CgELPmMA.cjs"),GExpandTransition_vue_vue_type_script_setup_true_lang=require("./GExpandTransition.vue_vue_type_script_setup_true_lang-Ccl2Cemo.cjs"),GTransitionGroup_vue_vue_type_script_setup_true_lang=require("./GTransitionGroup.vue_vue_type_script_setup_true_lang-DDh0rXP7.cjs"),components_GGradient=require("./components/GGradient.cjs"),GGradientMaterial_vue_vue_type_style_index_0_lang=require("./GGradientMaterial.vue_vue_type_style_index_0_lang-DJcGdEVi.cjs"),components_GAvatar=require("./GAvatar-Dj6hSgL3.cjs"),components_GAvatarGroup=require("./components/GAvatarGroup.cjs"),GButton_vue_vue_type_style_index_0_lang=require("./GButton.vue_vue_type_style_index_0_lang-tGLnt3_R.cjs"),components_GCard=require("./components/GCard.cjs"),components_GChip=require("./components/GChip.cjs"),components_GDivider=require("./components/GDivider.cjs"),GCheckbox_vue_vue_type_script_setup_true_lang=require("./GCheckbox.vue_vue_type_script_setup_true_lang-hjvutORC.cjs"),GCheckboxGroup_vue_vue_type_script_setup_true_lang=require("./GCheckboxGroup.vue_vue_type_script_setup_true_lang-CjPc-fNv.cjs"),components_GSquircle=require("./components/GSquircle.cjs"),components_GFAB=require("./components/GFAB.cjs"),GForm_vue_vue_type_style_index_0_lang=require("./GForm.vue_vue_type_style_index_0_lang-BzOWdjzk.cjs"),components_GQuickActions=require("./components/GQuickActions.cjs"),components_GProgress=require("./components/GProgress.cjs"),GLoading_vue_vue_type_style_index_0_lang=require("./GLoading.vue_vue_type_style_index_0_lang-KmMjjwpE.cjs"),useSnackbar=require("./useSnackbar-CRUtXt4_.cjs"),components_GSnackbar=require("./components/GSnackbar.cjs"),mask=require("./mask-BGVqqZXk.cjs"),GRadio_vue_vue_type_script_setup_true_lang=require("./GRadio.vue_vue_type_script_setup_true_lang-DNRTDtF2.cjs"),components_GAlert=require("./components/GAlert.cjs"),components_GModal=require("./components/GModal.cjs"),components_GDrawer=require("./components/GDrawer.cjs"),components_GExpansion=require("./components/GExpansion.cjs"),components_GExpansionGroup=require("./components/GExpansionGroup.cjs"),components_GTooltip=require("./components/GTooltip.cjs"),components_GMenu=require("./components/GMenu.cjs"),components_GDropdownGroup=require("./components/GDropdownGroup.cjs"),components_BaseOverlay=require("./BaseOverlay-DgBWbJbs.cjs"),components_GNavbar=require("./components/GNavbar.cjs"),components_GNavbarItem=require("./components/GNavbarItem.cjs"),components_GNavbarMenu=require("./components/GNavbarMenu.cjs"),components_GNavbarSubItem=require("./components/GNavbarSubItem.cjs"),components_GNavList=require("./components/GNavList.cjs"),components_GNavGroup=require("./components/GNavGroup.cjs"),components_GNavItem=require("./components/GNavItem.cjs"),components_GAside=require("./components/GAside.cjs"),components_GAsideGroup=require("./components/GAsideGroup.cjs"),components_GAsideItem=require("./components/GAsideItem.cjs"),components_GIcon=require("./components/GIcon.cjs"),components_GImg=require("./components/GImg.cjs"),components_GBadge=require("./components/GBadge.cjs"),GInput_vue_vue_type_script_setup_true_lang=require("./GInput.vue_vue_type_script_setup_true_lang-dMjIUhb1.cjs"),GTable_vue_vue_type_style_index_1_lang=require("./GTable.vue_vue_type_style_index_1_lang-DgaYCTxJ.cjs"),components_GCombobox=require("./components/GCombobox.cjs"),index=require("./index-YvJ0cd3f.cjs"),index$1=require("./index-Dd_8Hfjk.cjs"),GTextarea_vue_vue_type_script_setup_true_lang=require("./GTextarea.vue_vue_type_script_setup_true_lang-CyuCJwv6.cjs"),components_GSelect=require("./components/GSelect.cjs"),GSwitch_vue_vue_type_script_setup_true_lang=require("./GSwitch.vue_vue_type_script_setup_true_lang-DC8vyW7e.cjs"),components=Object.freeze(Object.defineProperty({__proto__:null,BaseOverlay:components_BaseOverlay.BaseOverlay,GAlert:components_GAlert.default,GAside:components_GAside.default,GAsideGroup:components_GAsideGroup.default,GAsideItem:components_GAsideItem.default,GAvatar:components_GAvatar.GAvatar,GAvatarGroup:components_GAvatarGroup.default,GBadge:components_GBadge.default,GButton:GButton_vue_vue_type_style_index_0_lang._sfc_main,GCard:components_GCard.default,GCheckbox:GCheckbox_vue_vue_type_script_setup_true_lang._sfc_main,GCheckboxGroup:GCheckboxGroup_vue_vue_type_script_setup_true_lang._sfc_main,GChip:components_GChip.default,GCombobox:components_GCombobox.default,GDivider:components_GDivider.default,GDrawer:components_GDrawer.default,GDropdownGroup:components_GDropdownGroup.default,GExpandTransition:GExpandTransition_vue_vue_type_script_setup_true_lang._sfc_main,GExpansion:components_GExpansion.default,GExpansionGroup:components_GExpansionGroup.default,GFAB:components_GFAB.default,GForm:GForm_vue_vue_type_style_index_0_lang._sfc_main,GGradient:components_GGradient.default,GGradientMaterial:GGradientMaterial_vue_vue_type_style_index_0_lang._sfc_main,GIcon:components_GIcon.default,GImg:components_GImg.default,GInput:GInput_vue_vue_type_script_setup_true_lang._sfc_main,GLoading:GLoading_vue_vue_type_style_index_0_lang._sfc_main,GMenu:components_GMenu.default,GModal:components_GModal.default,GNavGroup:components_GNavGroup.default,GNavItem:components_GNavItem.default,GNavList:components_GNavList.default,GNavbar:components_GNavbar.default,GNavbarItem:components_GNavbarItem.default,GNavbarMenu:components_GNavbarMenu.default,GNavbarSubItem:components_GNavbarSubItem.default,GProgress:components_GProgress.default,GQuickActions:components_GQuickActions.default,GRadio:GRadio_vue_vue_type_script_setup_true_lang._sfc_main,GSelect:components_GSelect.default,GSnackbar:components_GSnackbar.default,GSquircle:components_GSquircle.default,GStepPanel:components_GStepPanel.default,GStepper:components_GStepper.default,GStepperActions:components_GStepperActions.default,GSwitch:GSwitch_vue_vue_type_script_setup_true_lang._sfc_main,GTab:components_GTab.default,GTabList:components_GTabList.default,GTabPanel:components_GTabPanel.default,GTabPanels:components_GTabPanels.default,GTable:GTable_vue_vue_type_style_index_1_lang._sfc_main,GTabs:components_GTabs.default,GText:components_GText.default,GTextarea:GTextarea_vue_vue_type_script_setup_true_lang._sfc_main,GTooltip:components_GTooltip.default,GTransition:GTransition_vue_vue_type_script_setup_true_lang._sfc_main,GTransitionGroup:GTransitionGroup_vue_vue_type_script_setup_true_lang._sfc_main,applyMask:index.applyMask,defaultBreakpoints:index$1.defaultBreakpoints,defaultMaskTokens:index.defaultMaskTokens,unmaskValue:index.unmaskValue,useBreakpoints:index$1.useBreakpoints,useLoading:useSnackbar.useLoading,useMask:index.useMask,useSnackbar:useSnackbar.useSnackbar,vGradientIcon:mask.gradientIcon,vGradientText:mask.vGradientText,vLoading:mask.loading,vMask:mask.vMask,vRipple:mask.ripple,vSpecular:mask.specular,vTooltip:mask.vTooltip},Symbol.toStringTag,{value:"Module"}));exports.components=components;
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import GText from "./components/GText.mjs";
|
|
2
|
+
import GTabs from "./components/GTabs.mjs";
|
|
3
|
+
import GTabList from "./components/GTabList.mjs";
|
|
4
|
+
import GTab from "./components/GTab.mjs";
|
|
5
|
+
import GTabPanels from "./components/GTabPanels.mjs";
|
|
6
|
+
import GTabPanel from "./components/GTabPanel.mjs";
|
|
7
|
+
import GStepper from "./components/GStepper.mjs";
|
|
8
|
+
import GStepPanel from "./components/GStepPanel.mjs";
|
|
9
|
+
import GStepperActions from "./components/GStepperActions.mjs";
|
|
10
|
+
import { _ as _sfc_main$c } from "./GTransition.vue_vue_type_script_setup_true_lang-CHGSgsZ0.js";
|
|
11
|
+
import { _ as _sfc_main$3 } from "./GExpandTransition.vue_vue_type_script_setup_true_lang-ztMeJVQO.js";
|
|
12
|
+
import { _ as _sfc_main$d } from "./GTransitionGroup.vue_vue_type_script_setup_true_lang-CDu6W6-X.js";
|
|
13
|
+
import GGradient from "./components/GGradient.mjs";
|
|
14
|
+
import { _ as _sfc_main$5 } from "./GGradientMaterial.vue_vue_type_style_index_0_lang-ChRL7BIo.js";
|
|
15
|
+
import { G as GAvatar } from "./GAvatar-CN3PHGY_.js";
|
|
16
|
+
import GAvatarGroup from "./components/GAvatarGroup.mjs";
|
|
17
|
+
import { _ as _sfc_main } from "./GButton.vue_vue_type_style_index_0_lang-D9qRus1m.js";
|
|
18
|
+
import GCard from "./components/GCard.mjs";
|
|
19
|
+
import GChip from "./components/GChip.mjs";
|
|
20
|
+
import GDivider from "./components/GDivider.mjs";
|
|
21
|
+
import { _ as _sfc_main$1 } from "./GCheckbox.vue_vue_type_script_setup_true_lang-BrQE29bm.js";
|
|
22
|
+
import { _ as _sfc_main$2 } from "./GCheckboxGroup.vue_vue_type_script_setup_true_lang-ChPcOQYQ.js";
|
|
23
|
+
import GSquircle from "./components/GSquircle.mjs";
|
|
24
|
+
import GFAB from "./components/GFAB.mjs";
|
|
25
|
+
import { _ as _sfc_main$4 } from "./GForm.vue_vue_type_style_index_0_lang-DpPM5snQ.js";
|
|
26
|
+
import GQuickActions from "./components/GQuickActions.mjs";
|
|
27
|
+
import GProgress from "./components/GProgress.mjs";
|
|
28
|
+
import { _ as _sfc_main$7 } from "./GLoading.vue_vue_type_style_index_0_lang-BNOsRA0v.js";
|
|
29
|
+
import { u as useLoading, b as useSnackbar } from "./useSnackbar-CGt0lJDk.js";
|
|
30
|
+
import GSnackbar from "./components/GSnackbar.mjs";
|
|
31
|
+
import { g as gradientIcon, v as vGradientText, l as loading, a as vMask, r as ripple, s as specular, b as vTooltip } from "./mask-D4VYR8fo.js";
|
|
32
|
+
import { _ as _sfc_main$8 } from "./GRadio.vue_vue_type_script_setup_true_lang-kE-52Aj1.js";
|
|
33
|
+
import GAlert from "./components/GAlert.mjs";
|
|
34
|
+
import GModal from "./components/GModal.mjs";
|
|
35
|
+
import GDrawer from "./components/GDrawer.mjs";
|
|
36
|
+
import GExpansion from "./components/GExpansion.mjs";
|
|
37
|
+
import GExpansionGroup from "./components/GExpansionGroup.mjs";
|
|
38
|
+
import GTooltip from "./components/GTooltip.mjs";
|
|
39
|
+
import GMenu from "./components/GMenu.mjs";
|
|
40
|
+
import GDropdownGroup from "./components/GDropdownGroup.mjs";
|
|
41
|
+
import { B as BaseOverlay } from "./BaseOverlay-DzJ37TCS.js";
|
|
42
|
+
import GNavbar from "./components/GNavbar.mjs";
|
|
43
|
+
import GNavbarItem from "./components/GNavbarItem.mjs";
|
|
44
|
+
import GNavbarMenu from "./components/GNavbarMenu.mjs";
|
|
45
|
+
import GNavbarSubItem from "./components/GNavbarSubItem.mjs";
|
|
46
|
+
import GNavList from "./components/GNavList.mjs";
|
|
47
|
+
import GNavGroup from "./components/GNavGroup.mjs";
|
|
48
|
+
import GNavItem from "./components/GNavItem.mjs";
|
|
49
|
+
import GAside from "./components/GAside.mjs";
|
|
50
|
+
import GAsideGroup from "./components/GAsideGroup.mjs";
|
|
51
|
+
import GAsideItem from "./components/GAsideItem.mjs";
|
|
52
|
+
import GIcon from "./components/GIcon.mjs";
|
|
53
|
+
import GImg from "./components/GImg.mjs";
|
|
54
|
+
import GBadge from "./components/GBadge.mjs";
|
|
55
|
+
import { _ as _sfc_main$6 } from "./GInput.vue_vue_type_script_setup_true_lang-BHM4W0S8.js";
|
|
56
|
+
import { _ as _sfc_main$a } from "./GTable.vue_vue_type_style_index_1_lang-BECleEMi.js";
|
|
57
|
+
import GCombobox from "./components/GCombobox.mjs";
|
|
58
|
+
import { a as applyMask, d as defaultMaskTokens, u as unmaskValue, b as useMask } from "./index-DQ6stZ3U.js";
|
|
59
|
+
import { d as defaultBreakpoints, u as useBreakpoints } from "./index-71vxBpir.js";
|
|
60
|
+
import { _ as _sfc_main$b } from "./GTextarea.vue_vue_type_script_setup_true_lang-zSTso23Z.js";
|
|
61
|
+
import GSelect from "./components/GSelect.mjs";
|
|
62
|
+
import { _ as _sfc_main$9 } from "./GSwitch.vue_vue_type_script_setup_true_lang-BZXxiyLT.js";
|
|
63
|
+
const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
64
|
+
__proto__: null,
|
|
65
|
+
BaseOverlay,
|
|
66
|
+
GAlert,
|
|
67
|
+
GAside,
|
|
68
|
+
GAsideGroup,
|
|
69
|
+
GAsideItem,
|
|
70
|
+
GAvatar,
|
|
71
|
+
GAvatarGroup,
|
|
72
|
+
GBadge,
|
|
73
|
+
GButton: _sfc_main,
|
|
74
|
+
GCard,
|
|
75
|
+
GCheckbox: _sfc_main$1,
|
|
76
|
+
GCheckboxGroup: _sfc_main$2,
|
|
77
|
+
GChip,
|
|
78
|
+
GCombobox,
|
|
79
|
+
GDivider,
|
|
80
|
+
GDrawer,
|
|
81
|
+
GDropdownGroup,
|
|
82
|
+
GExpandTransition: _sfc_main$3,
|
|
83
|
+
GExpansion,
|
|
84
|
+
GExpansionGroup,
|
|
85
|
+
GFAB,
|
|
86
|
+
GForm: _sfc_main$4,
|
|
87
|
+
GGradient,
|
|
88
|
+
GGradientMaterial: _sfc_main$5,
|
|
89
|
+
GIcon,
|
|
90
|
+
GImg,
|
|
91
|
+
GInput: _sfc_main$6,
|
|
92
|
+
GLoading: _sfc_main$7,
|
|
93
|
+
GMenu,
|
|
94
|
+
GModal,
|
|
95
|
+
GNavGroup,
|
|
96
|
+
GNavItem,
|
|
97
|
+
GNavList,
|
|
98
|
+
GNavbar,
|
|
99
|
+
GNavbarItem,
|
|
100
|
+
GNavbarMenu,
|
|
101
|
+
GNavbarSubItem,
|
|
102
|
+
GProgress,
|
|
103
|
+
GQuickActions,
|
|
104
|
+
GRadio: _sfc_main$8,
|
|
105
|
+
GSelect,
|
|
106
|
+
GSnackbar,
|
|
107
|
+
GSquircle,
|
|
108
|
+
GStepPanel,
|
|
109
|
+
GStepper,
|
|
110
|
+
GStepperActions,
|
|
111
|
+
GSwitch: _sfc_main$9,
|
|
112
|
+
GTab,
|
|
113
|
+
GTabList,
|
|
114
|
+
GTabPanel,
|
|
115
|
+
GTabPanels,
|
|
116
|
+
GTable: _sfc_main$a,
|
|
117
|
+
GTabs,
|
|
118
|
+
GText,
|
|
119
|
+
GTextarea: _sfc_main$b,
|
|
120
|
+
GTooltip,
|
|
121
|
+
GTransition: _sfc_main$c,
|
|
122
|
+
GTransitionGroup: _sfc_main$d,
|
|
123
|
+
applyMask,
|
|
124
|
+
defaultBreakpoints,
|
|
125
|
+
defaultMaskTokens,
|
|
126
|
+
unmaskValue,
|
|
127
|
+
useBreakpoints,
|
|
128
|
+
useLoading,
|
|
129
|
+
useMask,
|
|
130
|
+
useSnackbar,
|
|
131
|
+
vGradientIcon: gradientIcon,
|
|
132
|
+
vGradientText,
|
|
133
|
+
vLoading: loading,
|
|
134
|
+
vMask,
|
|
135
|
+
vRipple: ripple,
|
|
136
|
+
vSpecular: specular,
|
|
137
|
+
vTooltip
|
|
138
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
139
|
+
export {
|
|
140
|
+
components as c
|
|
141
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { computed, toValue } from "vue";
|
|
2
|
+
const defaultMaskTokens = {
|
|
3
|
+
"#": {
|
|
4
|
+
pattern: /\d/
|
|
5
|
+
},
|
|
6
|
+
X: {
|
|
7
|
+
pattern: /[0-9a-zа-я]/i
|
|
8
|
+
},
|
|
9
|
+
S: {
|
|
10
|
+
pattern: /[a-zа-я]/i
|
|
11
|
+
},
|
|
12
|
+
A: {
|
|
13
|
+
pattern: /[a-zа-я]/i,
|
|
14
|
+
transform: (value) => value.toLocaleUpperCase()
|
|
15
|
+
},
|
|
16
|
+
a: {
|
|
17
|
+
pattern: /[a-zа-я]/i,
|
|
18
|
+
transform: (value) => value.toLocaleLowerCase()
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
function getTokenEntries(mask, tokens) {
|
|
22
|
+
return [...mask].filter((char) => tokens[char]);
|
|
23
|
+
}
|
|
24
|
+
function stripMask(value, tokens) {
|
|
25
|
+
return [...value].filter(
|
|
26
|
+
(char) => Object.values(tokens).some((token) => token.pattern.test(char))
|
|
27
|
+
).join("");
|
|
28
|
+
}
|
|
29
|
+
function applyMaskPattern(value, mask, tokens, fillLiterals = !0) {
|
|
30
|
+
var _a;
|
|
31
|
+
const chars = [...stripMask(value, tokens)], output = [];
|
|
32
|
+
let valueIndex = 0;
|
|
33
|
+
for (const maskChar of mask) {
|
|
34
|
+
const token = tokens[maskChar];
|
|
35
|
+
if (!token) {
|
|
36
|
+
fillLiterals && valueIndex < chars.length && output.push(maskChar);
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
for (; valueIndex < chars.length; ) {
|
|
40
|
+
const char = chars[valueIndex];
|
|
41
|
+
if (valueIndex += 1, !!token.pattern.test(char)) {
|
|
42
|
+
output.push(((_a = token.transform) == null ? void 0 : _a.call(token, char)) ?? char);
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
if (valueIndex >= chars.length && output.length)
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
return output.join("");
|
|
50
|
+
}
|
|
51
|
+
function resolveMask(value, mask, tokens) {
|
|
52
|
+
if (!Array.isArray(mask)) return mask;
|
|
53
|
+
const rawValue = stripMask(value, tokens);
|
|
54
|
+
return mask.find((maskPattern) => {
|
|
55
|
+
const tokenCount = getTokenEntries(maskPattern, tokens).length;
|
|
56
|
+
return rawValue.length <= tokenCount;
|
|
57
|
+
}) ?? mask.at(-1);
|
|
58
|
+
}
|
|
59
|
+
function applyMask(value, mask, tokens = defaultMaskTokens) {
|
|
60
|
+
const resolvedMask = resolveMask(value, mask, tokens);
|
|
61
|
+
return resolvedMask ? applyMaskPattern(value, resolvedMask, tokens) : value;
|
|
62
|
+
}
|
|
63
|
+
function unmaskValue(value, tokens = defaultMaskTokens) {
|
|
64
|
+
return stripMask(value, tokens);
|
|
65
|
+
}
|
|
66
|
+
function useMask(options) {
|
|
67
|
+
const tokens = computed(() => ({
|
|
68
|
+
...defaultMaskTokens,
|
|
69
|
+
...toValue(options.tokens) ?? {}
|
|
70
|
+
})), isMasked = computed(() => !!toValue(options.mask)), shouldReturnMaskedValue = computed(
|
|
71
|
+
() => toValue(options.returnMaskedValue) ?? !0
|
|
72
|
+
);
|
|
73
|
+
function format(value) {
|
|
74
|
+
return applyMask(value, toValue(options.mask), tokens.value);
|
|
75
|
+
}
|
|
76
|
+
function toModelValue(value) {
|
|
77
|
+
if (!isMasked.value) return value;
|
|
78
|
+
const maskedValue = format(value);
|
|
79
|
+
return shouldReturnMaskedValue.value ? maskedValue : unmaskValue(maskedValue, tokens.value);
|
|
80
|
+
}
|
|
81
|
+
function toDisplayValue(value) {
|
|
82
|
+
return isMasked.value ? format(value) : value;
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
isMasked,
|
|
86
|
+
tokens,
|
|
87
|
+
format,
|
|
88
|
+
toModelValue,
|
|
89
|
+
toDisplayValue
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
export {
|
|
93
|
+
applyMask as a,
|
|
94
|
+
useMask as b,
|
|
95
|
+
defaultMaskTokens as d,
|
|
96
|
+
unmaskValue as u
|
|
97
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const vue=require("vue"),viewport=require("./viewport-BhvdzcLi.cjs"),clientLifecycle=require("./clientLifecycle-DlIZRy4I.cjs"),defaultBreakpoints={sm:600,md:900,lg:1200,xl:1536},resolveBreakpoint=(breakpoints,target)=>typeof target=="number"?target:breakpoints[target]??0,useBreakpoints=(breakpoints=defaultBreakpoints,options={})=>{const viewport$1=viewport.useSsrViewport(),width=vue.ref(options.initialWidth??(viewport$1==null?void 0:viewport$1.width)??0),height=vue.ref(options.initialHeight??(viewport$1==null?void 0:viewport$1.height)??0),updateSize=clientWindow=>{width.value=clientWindow.innerWidth,height.value=clientWindow.innerHeight};clientLifecycle.onClientMounted(({window:clientWindow})=>{const onResize=()=>updateSize(clientWindow);return onResize(),clientWindow.addEventListener("resize",onResize,{passive:!0}),()=>clientWindow.removeEventListener("resize",onResize)});const up=target=>vue.computed(()=>width.value>=resolveBreakpoint(breakpoints,target)),down=target=>vue.computed(()=>width.value<=resolveBreakpoint(breakpoints,target)),between=(min,max)=>vue.computed(()=>{const minWidth=resolveBreakpoint(breakpoints,min),maxWidth=resolveBreakpoint(breakpoints,max);return width.value>=minWidth&&width.value<=maxWidth}),name=vue.computed(()=>{var _a;const entries=Object.entries(breakpoints).sort((a,b)=>a[1]-b[1]);let current=((_a=entries[0])==null?void 0:_a[0])??"";for(const[key,value]of entries)width.value>=value&&(current=key);return current});return{breakpoints,width,height,name,up,down,between,smAndUp:up("sm"),smAndDown:down("sm"),mdAndUp:up("md"),mdAndDown:down("md"),lgAndUp:up("lg"),lgAndDown:down("lg"),xlAndUp:up("xl"),xlAndDown:down("xl")}};exports.defaultBreakpoints=defaultBreakpoints;exports.useBreakpoints=useBreakpoints;
|