@gradient-ui/core 0.8.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +24 -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
package/dist/mask-Bh_UkcCe.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const y=require("./surface-DB9flb-h.cjs"),de=require("@gradient-ui/gradient-engine"),o=require("vue"),b=require("./GLoading.vue_vue_type_style_index_0_lang-DW5X0giH.cjs"),_=require("@floating-ui/vue"),M=require("./index-DN5ngVtp.cjs"),O="var(--g-gradient-current, var(--g-gradient-main))",pe="135deg";function fe(){return new WeakMap}function Y(e){const t=fe();function n(i){const s=t.get(i);if(s){for(const[a,u]of s.targets)be(a,u);t.delete(i)}}function r(i,s){const a=ge(s,e);if(n(i),a.disabled)return;const u=ve(i,a.selector),c={targets:new Map};for(const l of u)c.targets.set(l,_e(l)),ke(l,a.gradient);t.set(i,c)}return{mounted(i,s){r(i,s.value)},updated(i,s){r(i,s.value)},unmounted(i){n(i)}}}function ge(e,t){if(typeof e=="string")return{gradient:y.resolveGradientValue(e),disabled:!1,selector:t};if(!e)return{gradient:O,disabled:!1,selector:t};const n=me(e);return{gradient:e.gradient??(n.length?ye(n,e.direction):void 0)??y.resolveGradientValue(e.state??e.color)??O,disabled:e.disabled??!1,selector:e.selector??t}}function me(e){var t;return(t=e.colors)!=null&&t.length?e.colors:[e.from,e.to].filter(n=>!!n)}function ye(e,t=pe){const n=e.length===1?[e[0],e[0]]:e;return de.createLinearGradient(n.map(r=>y.resolveColorValue(r)),t)}function ve(e,t){if(!t)return[e];const n=[];return e.matches(t)&&n.push(e),n.push(...Array.from(e.querySelectorAll(t))),n}function _e(e){return{backgroundClip:e.style.backgroundClip,backgroundImage:e.style.backgroundImage,color:e.style.color,webkitBackgroundClip:e.style.getPropertyValue("-webkit-background-clip"),webkitTextFillColor:e.style.getPropertyValue("-webkit-text-fill-color")}}function be(e,t){e.style.backgroundClip=t.backgroundClip,e.style.backgroundImage=t.backgroundImage,e.style.color=t.color,e.style.setProperty("-webkit-background-clip",t.webkitBackgroundClip),e.style.setProperty("-webkit-text-fill-color",t.webkitTextFillColor)}function ke(e,t){e.style.backgroundImage=t,e.style.backgroundClip="text",e.style.color="transparent",e.style.setProperty("-webkit-background-clip","text"),e.style.setProperty("-webkit-text-fill-color","transparent")}const he=Y(),Ee=Y(".mdi");function xe(e){const t=e==null?void 0:e.isVisible;return typeof t=="object"&&t!==null&&"value"in t?!!t.value:!!t}const we={active:!1,text:"Loading...",noText:!1,color:"primary",dark:!1,opacity:void 0,blur:void 0,progressView:"glow"};function Le(e,t={}){const n=typeof e=="object"&&e!==null?e:{},r=typeof e=="boolean"?e:n.active??n.value??!1;return{...we,...n,active:r,dark:n.dark??!!t.dark,noText:n.noText??!!t.noText}}function J(e){return JSON.stringify({text:e.text,noText:e.noText,color:e.color,dark:e.dark,opacity:e.opacity,blur:e.blur,progressView:e.progressView})}function Te(e){return["relative","absolute","fixed","sticky"].includes(getComputedStyle(e).position)}function Ce(e){Te(e)||(e.style.position="relative")}function P(e){var n,r;const t=e.__gLoading__;t&&((n=t.app)==null||n.unmount(),(r=t.container)==null||r.remove(),t.app=void 0,t.container=void 0,t.component=void 0,t.optionsKey=void 0,e.style.position=t.originalPosition)}function Pe(e){const t=e.__gLoading__;if(t){if(!t.component){P(e);return}t.component.hide()}}function Be(e,t){const n=e.__gLoading__;if(!n)return;Ce(e);const r=document.createElement("div");r.className="g-loading__container";const i=o.createApp(b._sfc_main,{text:t.text,noText:t.noText,color:t.color,dark:t.dark,opacity:t.opacity,blur:t.blur,progressView:t.progressView,onClose:()=>{xe(n.component)||P(e)}});n.app=i,n.container=r,n.optionsKey=J(t),e.appendChild(r),n.component=i.mount(r),n.component.show()}function I(e,t,n){var a;const r=e.__gLoading__;if(!r)return;const i=Le(t,n),s=J(i);if(!i.active){Pe(e);return}if(r.app&&r.optionsKey===s){(a=r.component)==null||a.show();return}P(e),Be(e,i)}const $e={mounted(e,t){e.__gLoading__={originalPosition:e.style.position},I(e,t.value,t.modifiers)},updated(e,t){t.value===t.oldValue&&(typeof t.value!="object"||t.value===null)||I(e,t.value,t.modifiers)},unmounted(e){P(e),delete e.__gLoading__}},h={center:!1,color:"currentcolor",disabled:!1,duration:520,easing:"var(--g-token-easing-standard)",opacity:.16};function Z(e){if(typeof e=="boolean")return{...h,disabled:!e};if(typeof e=="string")return{...h,color:y.resolveColorValue(e)};const t=e!=null&&e.color?y.resolveColorValue(e.color):h.color;return{...h,...e,color:t}}function Se(e){getComputedStyle(e).position==="static"&&(e.style.position="relative")}function Ve(e){return typeof e=="number"?`${e}ms`:e}function De(e){if(typeof e=="number")return e;const t=e.trim();if(t.endsWith("ms"))return Number.parseFloat(t);if(t.endsWith("s"))return Number.parseFloat(t)*1e3;const n=Number.parseFloat(t);return Number.isNaN(n)?Number(h.duration):n}function Fe(e,t,n){const r=e.getBoundingClientRect(),i=Math.hypot(r.width,r.height)*2,s=t.x-r.left-i/2,a=t.y-r.top-i/2,u=document.createElement("span"),c=document.createElement("span");return u.className="g-ripple__container",u.style.setProperty("--g-ripple-color",n.color),u.style.setProperty("--g-ripple-duration",Ve(n.duration)),u.style.setProperty("--g-ripple-easing",n.easing),u.style.setProperty("--g-ripple-opacity",String(n.opacity)),c.className="g-ripple__animation",c.style.width=`${i}px`,c.style.height=`${i}px`,c.style.left=`${s}px`,c.style.top=`${a}px`,u.appendChild(c),e.appendChild(u),u}function Ne(e,t){var n;t.remove(),(n=e.__gRipple__)==null||n.ripples.delete(t)}function Q(e){const t=e.__gRipple__;if(t){for(const n of t.ripples)n.remove();t.ripples.clear()}}function R(e){const t=e.getBoundingClientRect();return{x:t.left+t.width/2,y:t.top+t.height/2}}function Ae(e){return e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true"||e.classList.contains("g-button_disabled")}function z(e,t,n){var i;if(n.disabled||Ae(e))return;Se(e);const r=Fe(e,t,n);(i=e.__gRipple__)==null||i.ripples.add(r),window.setTimeout(()=>Ne(e,r),De(n.duration))}function Me(e,t){if(e.__gRipple__){ee(e,t);return}const n=Z(t),r={originalPosition:e.style.position,options:n,onKeyDown:i=>{i.key!=="Enter"&&i.key!==" "||z(e,R(e),r.options)},onPointerDown:i=>{i.button!==0||e.hasAttribute("disabled")||z(e,r.options.center?R(e):{x:i.clientX,y:i.clientY},r.options)},ripples:new Set};e.addEventListener("pointerdown",r.onPointerDown),e.addEventListener("keydown",r.onKeyDown),e.__gRipple__=r}function ee(e,t){const n=e.__gRipple__;n&&(n.options=Z(t),n.options.disabled&&Q(e))}function Oe(e){const t=e.__gRipple__;t&&(e.removeEventListener("pointerdown",t.onPointerDown),e.removeEventListener("keydown",t.onKeyDown),Q(e),e.style.position=t.originalPosition,delete e.__gRipple__)}const Ie={mounted(e,t){Me(e,t.value)},updated(e,t){ee(e,t.value)},unmounted(e){Oe(e)}},T={color:"var(--g-color, var(--g-gradient-material-color, currentcolor))",disabled:!1,duration:180,easing:"var(--g-token-easing-standard)",opacity:.28,size:"140px"};function te(e){if(typeof e=="boolean")return{...T,disabled:!e};if(typeof e=="string")return{...T,color:y.resolveColorValue(e)};const t=e!=null&&e.color?y.resolveColorValue(e.color):T.color;return{...T,...e,color:t}}function Re(e){getComputedStyle(e).position==="static"&&(e.style.position="relative")}function ze(e){return typeof e=="number"?`${e}px`:e}function Ge(e){return typeof e=="number"?`${e}ms`:e}function Ue(e){return e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true"||e.classList.contains("g-button_disabled")}function ne(e,t){e.style.setProperty("--g-specular-color",t.color),e.style.setProperty("--g-specular-size",ze(t.size)),e.style.setProperty("--g-specular-duration",Ge(t.duration)),e.style.setProperty("--g-specular-easing",t.easing),e.style.setProperty("--g-specular-max-opacity",String(t.opacity))}function G(e,t,n){const r=e.getBoundingClientRect();e.style.setProperty("--g-specular-x",`${t-r.left}px`),e.style.setProperty("--g-specular-y",`${n-r.top}px`)}function U(e){const t=e.getBoundingClientRect();e.style.setProperty("--g-specular-x",`${t.width/2}px`),e.style.setProperty("--g-specular-y",`${t.height/2}px`)}function K(e){const t=e.__gSpecular__;!t||t.options.disabled||Ue(e)||e.setAttribute("data-g-specular-active","true")}function C(e){e.removeAttribute("data-g-specular-active")}function Ke(){const e=document.createElement("span"),t=document.createElement("span");return e.className="g-specular__container",t.className="g-specular__highlight",e.appendChild(t),{containerEl:e,highlightEl:t}}function W(e,t){if(e.__gSpecular__){We(e,t);return}const n=te(t),{containerEl:r,highlightEl:i}=Ke();Re(e),ne(e,n),U(e),e.classList.add("g-specular"),e.appendChild(r);const s={containerEl:r,highlightEl:i,options:n,originalPosition:e.style.position,onBlur:()=>C(e),onFocus:()=>{U(e),K(e)},onPointerEnter:a=>{G(e,a.clientX,a.clientY),K(e)},onPointerLeave:()=>C(e),onPointerMove:a=>{G(e,a.clientX,a.clientY)}};e.addEventListener("blur",s.onBlur),e.addEventListener("focus",s.onFocus),e.addEventListener("pointerenter",s.onPointerEnter),e.addEventListener("pointerleave",s.onPointerLeave),e.addEventListener("pointermove",s.onPointerMove),e.__gSpecular__=s}function We(e,t){const n=e.__gSpecular__;n&&(n.options=te(t),ne(e,n.options),n.options.disabled&&C(e))}function q(e){const t=e.__gSpecular__;t&&(e.removeEventListener("blur",t.onBlur),e.removeEventListener("focus",t.onFocus),e.removeEventListener("pointerenter",t.onPointerEnter),e.removeEventListener("pointerleave",t.onPointerLeave),e.removeEventListener("pointermove",t.onPointerMove),t.containerEl.remove(),e.classList.remove("g-specular"),C(e),e.style.position=t.originalPosition,e.style.removeProperty("--g-specular-color"),e.style.removeProperty("--g-specular-duration"),e.style.removeProperty("--g-specular-easing"),e.style.removeProperty("--g-specular-max-opacity"),e.style.removeProperty("--g-specular-size"),e.style.removeProperty("--g-specular-x"),e.style.removeProperty("--g-specular-y"),delete e.__gSpecular__)}const qe={mounted(e,t){t.value!==!1&&W(e,t.value)},updated(e,t){if(t.value===!1){q(e);return}W(e,t.value)},unmounted(e){q(e)}},N=y.propsFactory({...b.makeTransitionProps(),modelValue:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},strategy:{type:String,default:"absolute"},offset:{type:Number,default:8},shift:{type:Boolean,default:!0},flip:{type:Boolean,default:!0},sameWidth:{type:Boolean,default:!1},referenceFullWidth:{type:Boolean,default:!1},appendTo:{type:String,default:""},zIndexBase:{type:Number,default:1e3},disabled:Boolean,content:String,reference:Object}),He=e=>{const t=o.ref(null),n=o.ref(null),r=o.computed(()=>{const l=[];return e.offset&&l.push(_.offset(e.offset)),e.flip&&l.push(_.flip()),e.shift&&l.push(_.shift({padding:4,crossAxis:!0})),e.sameWidth&&l.push(_.size({apply({rects:d,elements:p}){Object.assign(p.floating.style,{width:`${d.reference.width}px`})}})),l}),{x:i,y:s,strategy:a,placement:u,update:c}=_.useFloating(t,n,{...e,middleware:r,whileElementsMounted:_.autoUpdate});return{reference:t,floating:n,x:i,y:s,strategy:a,placement:u,update:c}};function oe(e){const t=o.computed(()=>!!e),n=o.computed(()=>e||"body");return{hasAppendTarget:t,appendTarget:n}}function re(e,t){const n=o.computed(()=>e.modelValue!==void 0),r=o.ref(e.defaultOpen??!1);return{open:o.computed({get(){return n.value?e.modelValue??!1:r.value},set(s){n.value||(r.value=s),t("update:modelValue",s)}}),isControlled:n}}function je(e){return e instanceof HTMLElement}function Xe(e){return!!e&&typeof e=="object"&&"$el"in e}function H(e){return e?je(e)?e:Xe(e)?e.$el:null:null}function Ye({open:e,reference:t,floating:n,escapeKey:r=!0,outsideClick:i=!0}){if(!e||!t||!n)throw new Error("useDismiss: open, reference, and floating are required");const s=u=>{if(!i)return;const c=H(t.value),l=H(n.value),d=u.target;c&&l&&!c.contains(d)&&!l.contains(d)&&(e.value=!1)},a=u=>{r&&u.key==="Escape"&&(e.value=!1)};o.onMounted(()=>{document.addEventListener("click",s),document.addEventListener("keydown",a)}),o.onBeforeUnmount(()=>{document.removeEventListener("click",s),document.removeEventListener("keydown",a)})}let Je=0;const m=[],ie=o.ref(null);function j(e){const t=m.find(i=>i.id===e);if(!t)return;const r=m.filter(i=>i.kind===t.kind).findIndex(i=>i.id===e);return t.base+r+1}function D(){const e=[...m].reverse().find(t=>t.kind==="overlay"&&t.open.value);ie.value=(e==null?void 0:e.id)??null}function X(e){const t=m.findIndex(r=>r.id===e);if(t===-1)return;const[n]=m.splice(t,1);m.push(n),D()}function se(e){const{open:t,base:n=1e3,kind:r="floating"}=e,i=++Je,s=o.ref();function a(){m.findIndex(g=>g.id===i)===-1?m.push({id:i,kind:r,base:n,open:t}):X(i),s.value=j(i),D()}function u(){const p=m.findIndex(g=>g.id===i);p!==-1&&m.splice(p,1),s.value=void 0,D()}function c(){t.value&&(X(i),s.value=j(i))}const l=o.computed(()=>{var g;return((g=m.filter(v=>v.kind===r).at(-1))==null?void 0:g.id)===i}),d=o.computed(()=>r==="overlay"&&ie.value===i);return o.watch(t,p=>{p?a():u()},{immediate:!0}),o.onBeforeUnmount(()=>{u()}),{id:i,zIndex:s,isTop:l,isTopOverlay:d,bringToFront:c}}const Ze=o.defineComponent({__name:"BaseFloating",props:N(),emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=o.toRef(n,"reference"),i=t,{open:s}=re(n,i),{hasAppendTarget:a,appendTarget:u}=oe(n.appendTo),c=o.ref(!1),l=o.computed(()=>s.value||c.value),{reference:d,floating:p,x:g,y:v,strategy:B,update:$}=He(n);Ye({open:s,reference:d,floating:p});const{zIndex:E}=se({open:l,base:n.zIndexBase,kind:"floating"}),k=o.computed(()=>({position:B.value,top:v.value!=null?`${v.value}px`:"",left:g.value!=null?`${g.value}px`:"",minWidth:n.sameWidth&&d.value instanceof HTMLElement?`${d.value.offsetWidth}px`:void 0,zIndex:E.value}));function S(f){f&&("$el"in f||f instanceof HTMLElement)?d.value=f:(d.value=n.reference,$())}function x(){c.value=!0}function w(){c.value=!1}function L(){c.value=!1}return o.watch(r,f=>{f&&(d.value=f)},{deep:!0,immediate:!0}),(f,V)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass(["base-floating__reference",{"base-floating__reference_full":n.referenceFullWidth}])},[o.renderSlot(f.$slots,"reference",{ref:S},void 0,!0)],2),o.unref(a)?(o.openBlock(),o.createBlock(o.Teleport,{key:0,to:o.unref(u)},[o.createVNode(o.unref(b._sfc_main$1),{transition:n.transition,name:"scale",onBeforeLeave:x,onAfterLeave:w,onLeaveCancelled:L},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",{ref_key:"floating",ref:p,style:o.normalizeStyle(k.value)},[o.renderSlot(f.$slots,"default",{},void 0,!0)],4),[[o.vShow,o.unref(s)]])]),_:3},8,["transition"])],8,["to"])):(o.openBlock(),o.createBlock(o.unref(b._sfc_main$1),{key:1,transition:n.transition,name:"scale",onBeforeLeave:x,onAfterLeave:w,onLeaveCancelled:L},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",{ref_key:"floating",ref:p,style:o.normalizeStyle(k.value)},[o.renderSlot(f.$slots,"default",{},void 0,!0)],4),[[o.vShow,o.unref(s)]])]),_:3},8,["transition"]))],64))}}),ae=b._export_sfc(Ze,[["__scopeId","data-v-d9f4cacd"]]),Qe=y.propsFactory({...N(),openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0}});function ue(e,t){const{click:n,hover:r,focus:i,contextmenu:s,disabled:a=!1}=t;let u=null,c=null;function l(){u&&clearTimeout(u),c&&clearTimeout(c),u=null,c=null}function d(f,V=0){if(l(),V===0){e.value=f;return}const A=window.setTimeout(()=>{e.value=f},V);f?u=A:c=A}const p=typeof r=="object"?r:{},g=p.openDelay??0,v=p.closeDelay??0;function B(){a||!n||(e.value=!e.value)}function $(f){a||!s||(f.preventDefault(),e.value=!0)}function E(){a||!r||d(!0,g)}function k(){r&&d(!1,v)}function S(){a||!i||(e.value=!0)}function x(){i&&(e.value=!1)}o.onBeforeUnmount(l);const w=o.computed(()=>({...n?{onClick:B}:{},...s?{onContextmenu:$}:{},...r?{onMouseenter:E,onMouseleave:k}:{},...i?{onFocus:S,onBlur:x}:{}})),L=o.computed(()=>({...r?{onMouseenter:E,onMouseleave:k}:{}}));return{triggerAttrs:w,floatingAttrs:L}}const et={class:"g-tooltip__content"},tt=o.defineComponent({__name:"GTooltip",props:Qe(),setup(e,{expose:t}){const n=e,r=o.ref(!1),i=o.computed(()=>n.transition??{name:"scale-only",scale:.96}),{triggerAttrs:s,floatingAttrs:a}=ue(r,{hover:{openDelay:n.openDelay,closeDelay:n.closeDelay},focus:!0});function u(){r.value=!1}function c(){r.value=!0}return t({hide:u,show:c,open:r}),(l,d)=>(o.openBlock(),o.createBlock(o.unref(ae),o.mergeProps(n,{"model-value":r.value,"onUpdate:modelValue":d[0]||(d[0]=p=>r.value=p),transition:i.value}),o.createSlots({default:o.withCtx(()=>[o.createElementVNode("div",o.mergeProps({class:"g-tooltip"},o.unref(a),{role:"tooltip"}),[d[1]||(d[1]=o.createElementVNode("div",{class:"g-tooltip__underlay"},null,-1)),o.createElementVNode("span",et,o.toDisplayString(n.content),1)],16)]),_:2},[l.$slots.default?{name:"reference",fn:o.withCtx(({ref:p})=>[o.createElementVNode("div",o.mergeProps({ref:p,class:"g-tooltip__trigger",tabindex:"0"},o.unref(s)),[o.renderSlot(l.$slots,"default",{},void 0,!0)],16)]),key:"0"}:void 0]),1040,["model-value","transition"]))}}),ce=b._export_sfc(tt,[["__scopeId","data-v-578012d6"]]),nt={mounted(e,t){if(!t.value)return;const n=typeof t.value=="string"?{content:t.value}:t.value,r=o.ref(!1),i=document.createElement("div");document.body.appendChild(i);const s=o.ref(null),a=o.createApp({setup(){return()=>o.h(ce,{...n,reference:e,ref:l=>{l&&(s.value=l)}},{reference:({ref:l})=>(l(e),e)})}});a.mount(i);const u=()=>{s.value&&s.value.show()},c=()=>{s.value&&s.value.hide()};e.addEventListener("mouseenter",u),e.addEventListener("mouseleave",c),e.addEventListener("focus",u),e.addEventListener("blur",c),e.__tooltip__={app:a,container:i,open:r,cleanup(){e.removeEventListener("mouseenter",u),e.removeEventListener("mouseleave",c),e.removeEventListener("focus",u),e.removeEventListener("blur",c),a.unmount(),i.remove()}}},unmounted(e){var t;(t=e.__tooltip__)==null||t.cleanup()}};function ot(e){return typeof e=="string"||Array.isArray(e)||e===void 0?{mask:e}:e}function le(e){return e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement?e:e.querySelector("input, textarea")}function F(e,t){const n=le(e);if(!n)return;const r=ot(t.value),i={...M.defaultMaskTokens,...r.tokens??{}},s=M.applyMask(n.value,r.mask,i);n.value!==s&&(n.value=s)}function rt(e,t){const n=le(e);if(!n)return;const r=()=>{e._gMaskFormatting||(e._gMaskFormatting=!0,F(e,t),n.dispatchEvent(new Event("input",{bubbles:!0})),e._gMaskFormatting=!1)};n.addEventListener("input",r),e._gMaskCleanup=()=>{n.removeEventListener("input",r)},F(e,t)}const it={mounted:rt,updated(e,t){F(e,t)},beforeUnmount(e){var t;(t=e._gMaskCleanup)==null||t.call(e),delete e._gMaskCleanup,delete e._gMaskFormatting}};exports.BaseFloating=ae;exports.GTooltip=ce;exports.gradientIcon=Ee;exports.loading=$e;exports.makeFloatingProps=N;exports.ripple=Ie;exports.specular=qe;exports.useAppendTarget=oe;exports.useControllableOpen=re;exports.useLayerStack=se;exports.useTriggerFactory=ue;exports.vGradientText=he;exports.vMask=it;exports.vTooltip=nt;
|
|
@@ -1,634 +0,0 @@
|
|
|
1
|
-
import { defineComponent as q, openBlock as z, createBlock as X, resolveDynamicComponent as J, normalizeClass as Q, computed as o, inject as Z, provide as ee, toRef as $, toValue as s, watch as ae, onBeforeUnmount as te } from "vue";
|
|
2
|
-
import { p as f, g as ne, l as D, n as L, o as re, j as k, c as x, r as I, b as oe, q as ie, e as se, h as le, s as de, i as ce, d as ue, k as ge, a as me } from "./surface-C3w1Rz6V.js";
|
|
3
|
-
import "@mdi/js";
|
|
4
|
-
import { p as G, h as b, b as ve, f as fe, C as he } from "./camelToKebabCase-BWbQb81D.js";
|
|
5
|
-
import { DEFAULT_SEED as Se, createGradientMaterial as we, DEFAULT_GRADIENT_MORPH_BLEND_MODE as N } from "@gradient-ui/gradient-engine";
|
|
6
|
-
import { u as pe } from "./default-DlsS6GI_.js";
|
|
7
|
-
const ye = /* @__PURE__ */ q({
|
|
8
|
-
__name: "MdiIconSet",
|
|
9
|
-
props: {
|
|
10
|
-
icon: {},
|
|
11
|
-
tag: {}
|
|
12
|
-
},
|
|
13
|
-
setup(e) {
|
|
14
|
-
return (a, t) => (z(), X(J(e.tag), {
|
|
15
|
-
class: Q(["mdi", `mdi-${e.icon}`]),
|
|
16
|
-
"aria-hidden": "true"
|
|
17
|
-
}, null, 8, ["class"]));
|
|
18
|
-
}
|
|
19
|
-
}), E = Symbol("gradient-icons"), _ = {
|
|
20
|
-
defaultSet: "mdi",
|
|
21
|
-
aliases: {},
|
|
22
|
-
sets: {
|
|
23
|
-
mdi: {
|
|
24
|
-
component: ye
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
function V(e = {}) {
|
|
29
|
-
return {
|
|
30
|
-
defaultSet: e.defaultSet ?? _.defaultSet,
|
|
31
|
-
aliases: {
|
|
32
|
-
..._.aliases,
|
|
33
|
-
...e.aliases ?? {}
|
|
34
|
-
},
|
|
35
|
-
sets: {
|
|
36
|
-
..._.sets,
|
|
37
|
-
...e.sets ?? {}
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function la(e = {}) {
|
|
42
|
-
ee(E, V(e));
|
|
43
|
-
}
|
|
44
|
-
function da(e, a = {}) {
|
|
45
|
-
e.provide(E, V(a));
|
|
46
|
-
}
|
|
47
|
-
function Me() {
|
|
48
|
-
return Z(E, _);
|
|
49
|
-
}
|
|
50
|
-
function ca(e) {
|
|
51
|
-
const a = Me();
|
|
52
|
-
return o(() => {
|
|
53
|
-
let t = e() ?? "";
|
|
54
|
-
if (t.startsWith("$")) {
|
|
55
|
-
const l = t.slice(1);
|
|
56
|
-
t = a.aliases[l] ?? t;
|
|
57
|
-
}
|
|
58
|
-
const [r, n] = t.includes(":") ? t.split(":", 2) : [a.defaultSet, t], i = a.sets[r] ?? a.sets[a.defaultSet];
|
|
59
|
-
return {
|
|
60
|
-
icon: n ?? t,
|
|
61
|
-
component: i.component
|
|
62
|
-
};
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
const be = f({
|
|
66
|
-
placement: {
|
|
67
|
-
type: String,
|
|
68
|
-
default: "bottom"
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
function _e(e, a) {
|
|
72
|
-
return o(() => `${a}_${e.placement}`);
|
|
73
|
-
}
|
|
74
|
-
const Ce = f({
|
|
75
|
-
active: Boolean,
|
|
76
|
-
...D(),
|
|
77
|
-
glow: [Boolean, Number, String],
|
|
78
|
-
animateGlow: Boolean,
|
|
79
|
-
shadow: Boolean,
|
|
80
|
-
...ne()
|
|
81
|
-
});
|
|
82
|
-
function ua(e, a = "g-gradient") {
|
|
83
|
-
const t = L(e, a), r = re(e, a);
|
|
84
|
-
return {
|
|
85
|
-
glowClasses: o(() => ({
|
|
86
|
-
[t.value]: !0,
|
|
87
|
-
[r.value]: !0,
|
|
88
|
-
[`${a}_active`]: e.active,
|
|
89
|
-
[`${a}_glow`]: e.glow,
|
|
90
|
-
[`${a}_animate-glow`]: e.animateGlow,
|
|
91
|
-
[`${a}_shadow`]: e.shadow
|
|
92
|
-
}))
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
const Be = f({
|
|
96
|
-
rootTag: {
|
|
97
|
-
type: String,
|
|
98
|
-
default: "div"
|
|
99
|
-
},
|
|
100
|
-
interactive: {
|
|
101
|
-
type: Boolean,
|
|
102
|
-
default: !0
|
|
103
|
-
},
|
|
104
|
-
borderRadius: {
|
|
105
|
-
type: [Number, String],
|
|
106
|
-
default: 4
|
|
107
|
-
},
|
|
108
|
-
inheritWidth: Boolean,
|
|
109
|
-
surfaceFill: {
|
|
110
|
-
type: String,
|
|
111
|
-
default: "transparent"
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
function ga(e) {
|
|
115
|
-
const a = k($(e, "borderRadius")), t = o(
|
|
116
|
-
() => `g-gradient_surface-${e.surfaceFill}`
|
|
117
|
-
);
|
|
118
|
-
return {
|
|
119
|
-
interactionClass: o(
|
|
120
|
-
() => e.interactive ? "g-gradient_interactive" : ""
|
|
121
|
-
),
|
|
122
|
-
surfaceBorderRadius: a,
|
|
123
|
-
surfaceFillClass: t
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
const Re = {
|
|
127
|
-
action: "materialAction",
|
|
128
|
-
surface: "materialSurface"
|
|
129
|
-
}, $e = "var(--g-token-elevation-2)", F = "none", C = "none", W = "none", ke = "#ffffff", Ge = "#0d0d12", B = Object.fromEntries(
|
|
130
|
-
Object.entries(b).map(([e, a]) => [
|
|
131
|
-
fe(e),
|
|
132
|
-
a
|
|
133
|
-
])
|
|
134
|
-
), Ee = new Set(he), A = {
|
|
135
|
-
error: b.red,
|
|
136
|
-
success: b.green,
|
|
137
|
-
warning: b.orange
|
|
138
|
-
}, Pe = (e) => {
|
|
139
|
-
if (e in B) return B[e];
|
|
140
|
-
const a = e.match(/^(.+)-(\d+)$/);
|
|
141
|
-
if (!a) return null;
|
|
142
|
-
const [, t, r] = a, n = B[t], i = Number(r);
|
|
143
|
-
return !n || !Ee.has(i) ? null : ve(n)[i];
|
|
144
|
-
}, Ae = (e, a) => e ? G(e) ? e : e === "primary" || e === "main" ? a : e in A ? A[e] : Pe(e) : a, R = (e) => {
|
|
145
|
-
const a = e / 255;
|
|
146
|
-
return a <= 0.04045 ? a / 12.92 : ((a + 0.055) / 1.055) ** 2.4;
|
|
147
|
-
}, O = (e) => 0.2126 * R(e.r) + 0.7152 * R(e.g) + 0.0722 * R(e.b), Oe = (e, a) => {
|
|
148
|
-
const t = O(e), r = O(a), n = Math.max(t, r), i = Math.min(t, r);
|
|
149
|
-
return (n + 0.05) / (i + 0.05);
|
|
150
|
-
}, Te = (e) => {
|
|
151
|
-
var c, m, v;
|
|
152
|
-
const a = (c = e.gradient.stops) == null ? void 0 : c.map((g) => {
|
|
153
|
-
const u = G(g.color);
|
|
154
|
-
return u ? { color: u, position: g.position } : null;
|
|
155
|
-
}).filter((g) => g !== null).sort((g, u) => g.position - u.position);
|
|
156
|
-
if (!(a != null && a.length)) return null;
|
|
157
|
-
const t = 50, r = a.findIndex(
|
|
158
|
-
(g) => g.position >= t
|
|
159
|
-
);
|
|
160
|
-
if (r === -1) return ((m = a.at(-1)) == null ? void 0 : m.color) ?? null;
|
|
161
|
-
if (r === 0) return ((v = a[0]) == null ? void 0 : v.color) ?? null;
|
|
162
|
-
const n = a[r - 1], i = a[r], l = i.position - n.position, d = l ? (t - n.position) / l : 0;
|
|
163
|
-
return {
|
|
164
|
-
r: n.color.r + (i.color.r - n.color.r) * d,
|
|
165
|
-
g: n.color.g + (i.color.g - n.color.g) * d,
|
|
166
|
-
b: n.color.b + (i.color.b - n.color.b) * d
|
|
167
|
-
};
|
|
168
|
-
}, De = (e, a) => {
|
|
169
|
-
const t = Te(e);
|
|
170
|
-
if (!t) return a;
|
|
171
|
-
const n = [ke, Ge].map((i) => {
|
|
172
|
-
const l = G(i);
|
|
173
|
-
return l ? {
|
|
174
|
-
color: i,
|
|
175
|
-
contrast: Oe(l, t)
|
|
176
|
-
} : null;
|
|
177
|
-
}).filter(
|
|
178
|
-
(i) => !!i
|
|
179
|
-
).sort(
|
|
180
|
-
(i, l) => l.contrast - i.contrast
|
|
181
|
-
)[0];
|
|
182
|
-
return (n == null ? void 0 : n.color) ?? a;
|
|
183
|
-
}, Le = (e, a, t, r) => ({
|
|
184
|
-
"--g-gradient-material-background": oe(e),
|
|
185
|
-
"--g-gradient-material-color": I(e),
|
|
186
|
-
"--g-gradient-material-foreground": x(e),
|
|
187
|
-
"--g-gradient-material-shadow": a ? $e : F,
|
|
188
|
-
"--g-gradient-material-drop-shadow": C,
|
|
189
|
-
"--g-gradient-material-filter": C,
|
|
190
|
-
"--g-gradient-material-morph-blend-mode": (r == null ? void 0 : r.blendMode) ?? N,
|
|
191
|
-
"--g-gradient-material-animation": t ? "var(--g-gradient-animation, none)" : W,
|
|
192
|
-
"--g-gradient-current": "var(--g-gradient-material-background)",
|
|
193
|
-
"--g-gradient-current-shadow": "var(--g-gradient-material-shadow)",
|
|
194
|
-
"--g-gradient-current-filter": "var(--g-gradient-material-filter)",
|
|
195
|
-
"--g-gradient-current-animation": "var(--g-gradient-material-animation)"
|
|
196
|
-
}), xe = (e, a, t, r, n) => {
|
|
197
|
-
var m, v, g, u, h, S, w, p, y;
|
|
198
|
-
const i = (v = (m = e.effects) == null ? void 0 : m.boxShadow) == null ? void 0 : v.cssVar, l = (u = (g = e.effects) == null ? void 0 : g.dropShadow) == null ? void 0 : u.cssVar, d = (S = (h = e.effects) == null ? void 0 : h.morph) == null ? void 0 : S.cssVar, c = (w = e.animation) == null ? void 0 : w.cssVar;
|
|
199
|
-
return {
|
|
200
|
-
...e.cssVars,
|
|
201
|
-
"--g-gradient-material-background": `var(${e.gradient.cssVar})`,
|
|
202
|
-
"--g-gradient-material-color": I(r),
|
|
203
|
-
"--g-gradient-material-foreground": De(
|
|
204
|
-
e,
|
|
205
|
-
x(r)
|
|
206
|
-
),
|
|
207
|
-
"--g-gradient-material-shadow": a && i ? `var(${i})` : F,
|
|
208
|
-
"--g-gradient-material-drop-shadow": a && l ? `var(${l})` : C,
|
|
209
|
-
"--g-gradient-material-filter": a && d ? `var(${d})` : a && l ? `var(${l})` : C,
|
|
210
|
-
"--g-gradient-material-morph-blend-mode": a && ((y = (p = e.effects) == null ? void 0 : p.morph) != null && y.blendModeCssVar) ? `var(${e.effects.morph.blendModeCssVar})` : (n == null ? void 0 : n.blendMode) ?? N,
|
|
211
|
-
"--g-gradient-material-animation": t && c ? `var(${c})` : W,
|
|
212
|
-
"--g-gradient-current": "var(--g-gradient-material-background)",
|
|
213
|
-
"--g-gradient-current-shadow": "var(--g-gradient-material-shadow)",
|
|
214
|
-
"--g-gradient-current-filter": "var(--g-gradient-material-filter)",
|
|
215
|
-
"--g-gradient-current-animation": "var(--g-gradient-material-animation)"
|
|
216
|
-
};
|
|
217
|
-
}, j = (e = {}) => {
|
|
218
|
-
const a = pe(), t = o(() => s(e.kind) ?? "surface"), r = o(() => !!s(e.effects)), n = o(() => !!s(e.animations)), i = o(() => s(e.color)), l = o(() => s(e.recipe)), d = o(() => s(e.morph)), c = o(
|
|
219
|
-
() => !!(r.value || n.value || l.value || d.value || s(e.options))
|
|
220
|
-
), m = o(
|
|
221
|
-
() => Ae(
|
|
222
|
-
i.value,
|
|
223
|
-
(a == null ? void 0 : a.seed.value) ?? Se
|
|
224
|
-
)
|
|
225
|
-
), v = o(() => {
|
|
226
|
-
if (!c.value) return null;
|
|
227
|
-
const u = m.value;
|
|
228
|
-
return u ? we(u, {
|
|
229
|
-
...s(e.options),
|
|
230
|
-
animation: s(e.animation),
|
|
231
|
-
animations: n.value,
|
|
232
|
-
dropShadow: s(e.dropShadow),
|
|
233
|
-
effects: r.value,
|
|
234
|
-
morph: d.value,
|
|
235
|
-
recipe: l.value ?? Re[t.value],
|
|
236
|
-
shadow: s(e.shadow)
|
|
237
|
-
}) : null;
|
|
238
|
-
}), g = o(() => {
|
|
239
|
-
const u = v.value;
|
|
240
|
-
return u ? xe(
|
|
241
|
-
u,
|
|
242
|
-
r.value,
|
|
243
|
-
n.value,
|
|
244
|
-
i.value,
|
|
245
|
-
d.value
|
|
246
|
-
) : c.value ? Le(
|
|
247
|
-
i.value,
|
|
248
|
-
r.value,
|
|
249
|
-
n.value,
|
|
250
|
-
d.value
|
|
251
|
-
) : void 0;
|
|
252
|
-
});
|
|
253
|
-
return {
|
|
254
|
-
gradientMaterial: v,
|
|
255
|
-
gradientMaterialStyles: g
|
|
256
|
-
};
|
|
257
|
-
}, Ie = f({
|
|
258
|
-
...D(),
|
|
259
|
-
...de(),
|
|
260
|
-
...le(),
|
|
261
|
-
...be({
|
|
262
|
-
placement: "center"
|
|
263
|
-
}),
|
|
264
|
-
borderRadius: {
|
|
265
|
-
type: [Number, String],
|
|
266
|
-
default: 4
|
|
267
|
-
},
|
|
268
|
-
borderWidth: {
|
|
269
|
-
type: [Number, String],
|
|
270
|
-
default: 1
|
|
271
|
-
},
|
|
272
|
-
color: String,
|
|
273
|
-
state: String,
|
|
274
|
-
materialKind: {
|
|
275
|
-
type: String,
|
|
276
|
-
default: "action"
|
|
277
|
-
},
|
|
278
|
-
gradientRecipe: String
|
|
279
|
-
}), Ne = f({
|
|
280
|
-
...Ie(),
|
|
281
|
-
...Ce(),
|
|
282
|
-
...Be()
|
|
283
|
-
});
|
|
284
|
-
function ma(e) {
|
|
285
|
-
const a = k($(e, "borderWidth")), t = k($(e, "borderRadius")), r = o(() => a.value ? `calc(${t.value} + ${a.value})` : t.value), n = L(e, "g-gradient"), i = _e(e, "g-gradient"), l = ie(e, "g-gradient"), d = se(
|
|
286
|
-
() => e.color ?? e.state
|
|
287
|
-
), c = o(
|
|
288
|
-
() => Number.parseFloat(String(e.borderWidth)) > 0
|
|
289
|
-
), { gradientMaterial: m, gradientMaterialStyles: v } = j({
|
|
290
|
-
color: () => e.color ?? e.state,
|
|
291
|
-
kind: () => e.materialKind,
|
|
292
|
-
recipe: () => c.value ? e.gradientRecipe : void 0,
|
|
293
|
-
options: () => c.value ? {} : void 0
|
|
294
|
-
}), g = o(() => ({
|
|
295
|
-
[n.value]: !0,
|
|
296
|
-
[i.value]: !0,
|
|
297
|
-
[l.value]: !0,
|
|
298
|
-
"g-gradient_inherit-width": e.inheritWidth,
|
|
299
|
-
[`g-gradient_${e.state}`]: e.state
|
|
300
|
-
})), u = o(() => ({
|
|
301
|
-
"--g-border-radius": t.value,
|
|
302
|
-
"--g-border-width": a.value
|
|
303
|
-
})), h = o(() => [
|
|
304
|
-
c.value && v.value ? v.value : { "--g-gradient-current": d.value },
|
|
305
|
-
u.value
|
|
306
|
-
]);
|
|
307
|
-
return {
|
|
308
|
-
borderWidthPx: a,
|
|
309
|
-
borderRadiusPx: t,
|
|
310
|
-
containerBorderRadius: r,
|
|
311
|
-
gradientMaterial: m,
|
|
312
|
-
resolvedGradient: d,
|
|
313
|
-
gradientClasses: g,
|
|
314
|
-
gradientStyles: h
|
|
315
|
-
};
|
|
316
|
-
}
|
|
317
|
-
const Ve = "data-gradient-engine-style", Fe = "data-gradient-engine-svg", We = /* @__PURE__ */ new Map(), je = /* @__PURE__ */ new Map(), P = () => typeof document < "u", U = (e, a, t) => {
|
|
318
|
-
const r = e.get(a);
|
|
319
|
-
if (r)
|
|
320
|
-
return r.count += 1, () => {
|
|
321
|
-
r.count -= 1, r.count <= 0 && (r.element.remove(), e.delete(a));
|
|
322
|
-
};
|
|
323
|
-
const n = t();
|
|
324
|
-
return document.head.append(n), e.set(a, {
|
|
325
|
-
count: 1,
|
|
326
|
-
element: n
|
|
327
|
-
}), () => {
|
|
328
|
-
const i = e.get(a);
|
|
329
|
-
i && (i.count -= 1, i.count <= 0 && (i.element.remove(), e.delete(a)));
|
|
330
|
-
};
|
|
331
|
-
}, Ue = (e, a) => !P() || !a.trim() ? () => {
|
|
332
|
-
} : U(We, e, () => {
|
|
333
|
-
const t = document.createElement("style");
|
|
334
|
-
return t.setAttribute(Ve, e), t.textContent = a, t;
|
|
335
|
-
}), He = (e, a) => !P() || !a.trim() ? () => {
|
|
336
|
-
} : U(je, e, () => {
|
|
337
|
-
const t = document.createElement("div");
|
|
338
|
-
return t.setAttribute(Fe, e), t.style.position = "absolute", t.style.width = "0", t.style.height = "0", t.style.overflow = "hidden", t.innerHTML = a, t;
|
|
339
|
-
}), Ke = (e) => {
|
|
340
|
-
var r, n;
|
|
341
|
-
if (!P())
|
|
342
|
-
return {
|
|
343
|
-
dispose: () => {
|
|
344
|
-
},
|
|
345
|
-
id: e.id
|
|
346
|
-
};
|
|
347
|
-
const a = Ue(e.id, e.cssText), t = (n = (r = e.effects) == null ? void 0 : r.morph) != null && n.svg ? He(`${e.id}-morph`, e.effects.morph.svg) : () => {
|
|
348
|
-
};
|
|
349
|
-
return {
|
|
350
|
-
dispose: () => {
|
|
351
|
-
t(), a();
|
|
352
|
-
},
|
|
353
|
-
id: e.id
|
|
354
|
-
};
|
|
355
|
-
}, Ye = (e = {}) => {
|
|
356
|
-
let a = null;
|
|
357
|
-
const t = o(() => !!s(e.enabled)), r = o(() => s(e.material) ?? null), n = o(
|
|
358
|
-
() => {
|
|
359
|
-
var d, c;
|
|
360
|
-
return !!s(e.morph) && !!((c = (d = r.value) == null ? void 0 : d.morphBlobs) != null && c.length);
|
|
361
|
-
}
|
|
362
|
-
), i = o(
|
|
363
|
-
() => {
|
|
364
|
-
var d;
|
|
365
|
-
return n.value ? ((d = r.value) == null ? void 0 : d.morphBlobs) ?? [] : [];
|
|
366
|
-
}
|
|
367
|
-
), l = () => {
|
|
368
|
-
a == null || a.dispose(), a = null;
|
|
369
|
-
};
|
|
370
|
-
return ae(
|
|
371
|
-
() => {
|
|
372
|
-
var d;
|
|
373
|
-
return [t.value, (d = r.value) == null ? void 0 : d.id];
|
|
374
|
-
},
|
|
375
|
-
() => {
|
|
376
|
-
l(), t.value && r.value && (a = Ke(r.value));
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
immediate: !0
|
|
380
|
-
}
|
|
381
|
-
), te(l), {
|
|
382
|
-
morphBlobs: i,
|
|
383
|
-
morphEnabled: n
|
|
384
|
-
};
|
|
385
|
-
}, qe = (e = "g-material") => {
|
|
386
|
-
const a = o(() => [`${e}__material-glow`]), t = o(() => [
|
|
387
|
-
`${e}__material-glow-base`
|
|
388
|
-
]), r = o(() => [
|
|
389
|
-
`${e}__material-glow-morph`
|
|
390
|
-
]), n = o(() => [
|
|
391
|
-
`${e}__material-glow-morph-blob`
|
|
392
|
-
]), i = o(() => [
|
|
393
|
-
`${e}__material-morph`
|
|
394
|
-
]), l = o(() => [
|
|
395
|
-
`${e}__material-morph-blob`
|
|
396
|
-
]);
|
|
397
|
-
return {
|
|
398
|
-
materialContentClasses: o(() => [
|
|
399
|
-
`${e}__material-content`
|
|
400
|
-
]),
|
|
401
|
-
materialGlowBaseClasses: t,
|
|
402
|
-
materialGlowClasses: a,
|
|
403
|
-
materialGlowMorphBlobClasses: n,
|
|
404
|
-
materialGlowMorphClasses: r,
|
|
405
|
-
materialMorphBlobClasses: l,
|
|
406
|
-
materialMorphClasses: i
|
|
407
|
-
};
|
|
408
|
-
}, ze = f({
|
|
409
|
-
materialKind: {
|
|
410
|
-
type: String,
|
|
411
|
-
default: "surface"
|
|
412
|
-
},
|
|
413
|
-
gradientRecipe: String,
|
|
414
|
-
borderRadius: {
|
|
415
|
-
type: [Number, String],
|
|
416
|
-
default: 8
|
|
417
|
-
},
|
|
418
|
-
padding: {
|
|
419
|
-
type: [Number, String],
|
|
420
|
-
default: 0
|
|
421
|
-
},
|
|
422
|
-
shadow: Boolean,
|
|
423
|
-
dropShadow: Boolean,
|
|
424
|
-
morph: Boolean,
|
|
425
|
-
animationOptions: Object,
|
|
426
|
-
shadowOptions: Object,
|
|
427
|
-
dropShadowOptions: Object,
|
|
428
|
-
morphOptions: Object
|
|
429
|
-
}), Xe = (e) => typeof e == "number" ? `${e}ms` : e, Je = (e) => ({
|
|
430
|
-
"--g-gradient-morph-blob-color": e.color,
|
|
431
|
-
"--g-gradient-morph-x": `${e.dx}%`,
|
|
432
|
-
"--g-gradient-morph-x2": `${e.dx2}%`,
|
|
433
|
-
"--g-gradient-morph-y": `${e.dy}%`,
|
|
434
|
-
"--g-gradient-morph-y2": `${e.dy2}%`,
|
|
435
|
-
"--g-gradient-morph-origin-x": e.originX,
|
|
436
|
-
"--g-gradient-morph-origin-y": e.originY,
|
|
437
|
-
"--g-gradient-morph-animation": e.animationName,
|
|
438
|
-
"--g-gradient-morph-blur": `${e.blur}px`,
|
|
439
|
-
"--g-gradient-morph-opacity": e.opacity,
|
|
440
|
-
"--g-gradient-morph-rotate-mid": `${e.rotateMid}deg`,
|
|
441
|
-
"--g-gradient-morph-rotate-to": `${e.rotateTo}deg`,
|
|
442
|
-
"--g-gradient-morph-scale-mid": e.scaleMid,
|
|
443
|
-
"--g-gradient-morph-scale": e.scaleTo,
|
|
444
|
-
animationDelay: `${e.delay}ms`,
|
|
445
|
-
animationDuration: Xe(e.duration),
|
|
446
|
-
left: `${e.x}%`,
|
|
447
|
-
top: `${e.y}%`,
|
|
448
|
-
width: `${e.size}%`
|
|
449
|
-
}), Qe = (e) => typeof e == "object" ? e : e ? {} : void 0, T = (e) => e == null ? "" : typeof e == "number" ? `${e}px` : /^\d+(\.\d+)?$/.test(e) ? `${e}px` : e, Ze = (e = {}) => {
|
|
450
|
-
const a = o(() => e.baseClass ?? "g-material"), {
|
|
451
|
-
materialContentClasses: t,
|
|
452
|
-
materialGlowBaseClasses: r,
|
|
453
|
-
materialGlowClasses: n,
|
|
454
|
-
materialGlowMorphBlobClasses: i,
|
|
455
|
-
materialGlowMorphClasses: l,
|
|
456
|
-
materialMorphBlobClasses: d,
|
|
457
|
-
materialMorphClasses: c
|
|
458
|
-
} = qe(a.value), m = o(() => T(s(e.borderRadius))), v = o(() => T(s(e.padding))), g = o(
|
|
459
|
-
() => Qe(s(e.morph))
|
|
460
|
-
), u = o(() => !!g.value), h = o(
|
|
461
|
-
() => !!(s(e.effects) || s(e.shadow) || s(e.dropShadow) || u.value)
|
|
462
|
-
), S = o(() => !!s(e.animations)), { gradientMaterial: w, gradientMaterialStyles: p } = j({
|
|
463
|
-
color: () => s(e.color) ?? s(e.state),
|
|
464
|
-
kind: () => s(e.kind),
|
|
465
|
-
recipe: () => s(e.recipe),
|
|
466
|
-
effects: h,
|
|
467
|
-
animations: S,
|
|
468
|
-
shadow: () => s(e.shadow),
|
|
469
|
-
dropShadow: () => s(e.dropShadow),
|
|
470
|
-
animation: () => s(e.animation),
|
|
471
|
-
morph: g,
|
|
472
|
-
options: () => s(e.options)
|
|
473
|
-
}), { morphBlobs: y, morphEnabled: H } = Ye({
|
|
474
|
-
enabled: () => !!(S.value || u.value),
|
|
475
|
-
material: w,
|
|
476
|
-
morph: u
|
|
477
|
-
}), K = o(() => [`${a.value}_surface`]), Y = o(() => {
|
|
478
|
-
const M = {
|
|
479
|
-
...p.value ?? {}
|
|
480
|
-
};
|
|
481
|
-
return m.value && (M["--g-gradient-material-radius"] = m.value), v.value && (M["--g-gradient-material-padding"] = v.value), Object.keys(M).length ? M : void 0;
|
|
482
|
-
});
|
|
483
|
-
return {
|
|
484
|
-
getMorphBlobStyle: Je,
|
|
485
|
-
gradientMaterial: w,
|
|
486
|
-
materialClasses: K,
|
|
487
|
-
materialContentClasses: t,
|
|
488
|
-
materialGlowBaseClasses: r,
|
|
489
|
-
materialGlowClasses: n,
|
|
490
|
-
materialGlowMorphBlobClasses: i,
|
|
491
|
-
materialGlowMorphClasses: l,
|
|
492
|
-
materialMorphBlobClasses: d,
|
|
493
|
-
materialMorphClasses: c,
|
|
494
|
-
materialStyles: Y,
|
|
495
|
-
morphBlobs: y,
|
|
496
|
-
morphEnabled: H
|
|
497
|
-
};
|
|
498
|
-
}, ea = (e, a) => {
|
|
499
|
-
const t = o(
|
|
500
|
-
() => s(a.variant) === "gradient"
|
|
501
|
-
), r = o(
|
|
502
|
-
() => s(e.morphOptions) ?? s(e.morph)
|
|
503
|
-
), n = o(() => a.morphScope === "always" || t.value ? r.value : !1), i = o(() => !!n.value), l = o(
|
|
504
|
-
() => !!(t.value || s(e.shadow) || s(e.dropShadow) || s(e.shadowOptions) || s(e.dropShadowOptions) || i.value)
|
|
505
|
-
), d = o(
|
|
506
|
-
() => !!(t.value && s(e.animationOptions))
|
|
507
|
-
), c = o(
|
|
508
|
-
() => t.value || i.value
|
|
509
|
-
);
|
|
510
|
-
return {
|
|
511
|
-
...Ze({
|
|
512
|
-
baseClass: a.baseClass,
|
|
513
|
-
color: a.color,
|
|
514
|
-
state: a.state,
|
|
515
|
-
kind: a.kind,
|
|
516
|
-
recipe: () => c.value ? s(e.gradientRecipe) : void 0,
|
|
517
|
-
effects: l,
|
|
518
|
-
animations: d,
|
|
519
|
-
shadow: () => s(e.shadowOptions),
|
|
520
|
-
dropShadow: () => s(e.dropShadowOptions),
|
|
521
|
-
animation: () => t.value ? s(e.animationOptions) : void 0,
|
|
522
|
-
morph: n,
|
|
523
|
-
options: a.options
|
|
524
|
-
}),
|
|
525
|
-
hasMaterialAnimations: d,
|
|
526
|
-
hasMaterialEffects: l,
|
|
527
|
-
hasMaterialSurface: t,
|
|
528
|
-
hasMorph: i,
|
|
529
|
-
resolvedMorph: n
|
|
530
|
-
};
|
|
531
|
-
}, va = f({
|
|
532
|
-
tag: String,
|
|
533
|
-
href: String,
|
|
534
|
-
target: String,
|
|
535
|
-
rel: String
|
|
536
|
-
});
|
|
537
|
-
function aa(e) {
|
|
538
|
-
const a = o(() => !!e.href && !e.disabled), t = o(
|
|
539
|
-
() => a.value ? {
|
|
540
|
-
href: e.href,
|
|
541
|
-
target: e.target,
|
|
542
|
-
rel: e.rel ?? (e.target === "_blank" ? "noopener noreferrer" : void 0)
|
|
543
|
-
} : {}
|
|
544
|
-
);
|
|
545
|
-
return {
|
|
546
|
-
isLink: a,
|
|
547
|
-
linkAttrs: t
|
|
548
|
-
};
|
|
549
|
-
}
|
|
550
|
-
function fa(e, a) {
|
|
551
|
-
const { isLink: t, linkAttrs: r } = aa(e), n = o(
|
|
552
|
-
() => e.tag ?? (t.value ? "a" : a)
|
|
553
|
-
), i = o(() => n.value === "a" && t.value), l = o(
|
|
554
|
-
() => i.value ? r.value : {
|
|
555
|
-
type: n.value === "button" ? "button" : void 0,
|
|
556
|
-
disabled: n.value === "button" ? e.disabled : void 0
|
|
557
|
-
}
|
|
558
|
-
);
|
|
559
|
-
return {
|
|
560
|
-
tagName: n,
|
|
561
|
-
tagAttrs: l
|
|
562
|
-
};
|
|
563
|
-
}
|
|
564
|
-
const ha = f({
|
|
565
|
-
...ze(),
|
|
566
|
-
...me(),
|
|
567
|
-
...Ne({
|
|
568
|
-
borderWidth: void 0,
|
|
569
|
-
borderRadius: void 0,
|
|
570
|
-
interactive: !1
|
|
571
|
-
})
|
|
572
|
-
}), Sa = (e, a, t = {}) => {
|
|
573
|
-
const { colorStyles: r, resolvedColor: n, resolvedState: i } = ce(e), { glassStyles: l } = ue(e), d = ea(e, {
|
|
574
|
-
baseClass: a,
|
|
575
|
-
color: n,
|
|
576
|
-
state: i,
|
|
577
|
-
kind: t.kind ?? "surface",
|
|
578
|
-
variant: () => e.variant,
|
|
579
|
-
morphScope: "always"
|
|
580
|
-
}), c = o(() => [
|
|
581
|
-
r.value,
|
|
582
|
-
d.materialStyles.value,
|
|
583
|
-
e.variant === "glass" ? l.value : void 0
|
|
584
|
-
]), m = o(() => ({
|
|
585
|
-
animateGlow: e.animateGlow,
|
|
586
|
-
borderRadius: e.borderRadius,
|
|
587
|
-
borderWidth: e.borderWidth ?? (e.glow || e.animateGlow || e.variant === "outlined" || e.variant === "glass" ? 1 : 0),
|
|
588
|
-
color: n.value,
|
|
589
|
-
glow: e.glow,
|
|
590
|
-
gradientRecipe: e.gradientRecipe,
|
|
591
|
-
inheritWidth: !0,
|
|
592
|
-
interactive: !1,
|
|
593
|
-
placement: e.placement,
|
|
594
|
-
rounded: !1,
|
|
595
|
-
// The material owns elevation; the frame only owns the real border/glow.
|
|
596
|
-
shadow: !1,
|
|
597
|
-
state: i.value,
|
|
598
|
-
surfaceFill: "transparent"
|
|
599
|
-
}));
|
|
600
|
-
return {
|
|
601
|
-
...d,
|
|
602
|
-
...ge(a),
|
|
603
|
-
resolvedColor: n,
|
|
604
|
-
resolvedState: i,
|
|
605
|
-
materialFrameProps: m,
|
|
606
|
-
surfaceStyles: c
|
|
607
|
-
};
|
|
608
|
-
};
|
|
609
|
-
export {
|
|
610
|
-
ha as a,
|
|
611
|
-
va as b,
|
|
612
|
-
V as c,
|
|
613
|
-
Ue as d,
|
|
614
|
-
Ke as e,
|
|
615
|
-
He as f,
|
|
616
|
-
j as g,
|
|
617
|
-
Ye as h,
|
|
618
|
-
da as i,
|
|
619
|
-
ca as j,
|
|
620
|
-
Me as k,
|
|
621
|
-
Ze as l,
|
|
622
|
-
ze as m,
|
|
623
|
-
qe as n,
|
|
624
|
-
Sa as o,
|
|
625
|
-
la as p,
|
|
626
|
-
fa as q,
|
|
627
|
-
ma as r,
|
|
628
|
-
ua as s,
|
|
629
|
-
ga as t,
|
|
630
|
-
aa as u,
|
|
631
|
-
Ne as v,
|
|
632
|
-
ea as w,
|
|
633
|
-
Ce as x
|
|
634
|
-
};
|