base6-ui 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/BaseLayout/AsideMenu/index.vue.d.ts +4 -0
- package/dist/components/BaseLayout/Default/constants.d.ts +5 -0
- package/dist/components/BaseLayout/Default/hooks/useBaseLayoutContext.d.ts +3 -0
- package/dist/components/BaseLayout/Default/hooks/useLogo.d.ts +5 -0
- package/dist/components/BaseLayout/Default/index.vue.d.ts +65 -0
- package/dist/components/BaseLayout/Default/layoutFooter/index.vue.d.ts +2 -0
- package/dist/components/BaseLayout/Default/layoutHeader/action.vue.d.ts +2 -0
- package/dist/components/BaseLayout/Default/layoutHeader/index.vue.d.ts +2 -0
- package/dist/components/BaseLayout/Default/layoutHeader/title.vue.d.ts +2 -0
- package/dist/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.d.ts +32 -0
- package/dist/components/BaseLayout/Default/layoutMenu/index.vue.d.ts +2 -0
- package/dist/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.d.ts +2 -0
- package/dist/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.d.ts +2 -0
- package/dist/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.d.ts +2 -0
- package/dist/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.d.ts +2 -0
- package/dist/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.d.ts +2 -0
- package/dist/components/BaseLayout/Default/layoutSlider/index.vue.d.ts +2 -0
- package/dist/components/BaseLayout/Default/layoutTab/index.vue.d.ts +2 -0
- package/dist/components/BaseLayout/Default/options.d.ts +3 -0
- package/dist/components/BaseLayout/Default/type.d.ts +41 -0
- package/dist/components/BaseLayout/Header/index.vue.d.ts +19 -0
- package/dist/components/BaseLayout/components/WrapContent.vue.d.ts +22 -0
- package/dist/components/BaseLayout/components/WrapFooter.vue.d.ts +24 -0
- package/dist/components/BaseLayout/components/WrapHeader.vue.d.ts +24 -0
- package/dist/components/BaseLayout/components/WrapSlider.vue.d.ts +24 -0
- package/dist/components/BaseLayout/components/WrapTab.vue.d.ts +24 -0
- package/dist/components/BaseLayout/constants.d.ts +1 -0
- package/dist/components/BaseLayout/index.d.ts +6 -0
- package/dist/components/BaseLayout/index.vue.d.ts +49 -0
- package/dist/components/BaseLayout/layoutCssVar.d.ts +4 -0
- package/dist/components/BaseLayout/options.d.ts +2 -0
- package/dist/components/BaseLayout/type.d.ts +52 -0
- package/dist/components/BaseProductIntroduction/constants.d.ts +2 -0
- package/dist/components/BaseProductIntroduction/cssVar.d.ts +15 -0
- package/dist/components/BaseProductIntroduction/index.d.ts +1 -0
- package/dist/components/BaseProductIntroduction/index.vue.d.ts +6 -0
- package/dist/components/BaseProductIntroduction/type.d.ts +5 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/config/themes/common/light.d.ts +2 -0
- package/dist/config/themes/components/divider/light.d.ts +2 -0
- package/dist/config/themes/components/layout/dark.d.ts +1 -0
- package/dist/config/themes/components/layout/light.d.ts +1 -0
- package/dist/config/themes/token/light.d.ts +2 -0
- package/dist/globalMethods/index.d.ts +2 -0
- package/dist/hooks/useBoolean.d.ts +7 -0
- package/dist/hooks/useContext.d.ts +6 -0
- package/dist/hooks/useMenu.d.ts +34 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/utils.d.ts +3 -0
- package/es/_virtual/virtual_svg-icons-register.mjs +4 -4
- package/es/assets/cover/base-ads.png.mjs +4 -0
- package/es/assets/cover/base-multimodal.png.mjs +4 -0
- package/es/assets/cover/base-studio.png.mjs +4 -0
- package/es/assets/logo/logo-dark-full.svg.mjs +32 -0
- package/es/assets/logo/logo-light-full.svg.mjs +31 -0
- package/es/components/BaseDataTable/index.vue.mjs +2 -2
- package/es/components/BaseDataTable/index.vue2.mjs +1 -1
- package/es/components/BaseDialog/options.mjs +1 -1
- package/es/components/BaseLayout/ASide/index.vue.mjs +3 -3
- package/es/components/BaseLayout/AsideMenu/index.vue.d.ts +4 -0
- package/es/components/BaseLayout/AsideMenu/index.vue.mjs +7 -0
- package/es/components/BaseLayout/AsideMenu/index.vue2.mjs +66 -0
- package/es/components/BaseLayout/Default/constants.d.ts +5 -0
- package/es/components/BaseLayout/Default/constants.mjs +5 -0
- package/es/components/BaseLayout/Default/hooks/useBaseLayoutContext.d.ts +3 -0
- package/es/components/BaseLayout/Default/hooks/useBaseLayoutContext.mjs +11 -0
- package/es/components/BaseLayout/Default/hooks/useLogo.d.ts +5 -0
- package/es/components/BaseLayout/Default/hooks/useLogo.mjs +19 -0
- package/es/components/BaseLayout/Default/index.vue.d.ts +65 -0
- package/es/components/BaseLayout/Default/index.vue.mjs +144 -0
- package/es/components/BaseLayout/Default/layoutFooter/index.vue.d.ts +2 -0
- package/es/components/BaseLayout/Default/layoutFooter/index.vue.mjs +16 -0
- package/es/components/BaseLayout/Default/layoutHeader/action.vue.d.ts +2 -0
- package/es/components/BaseLayout/Default/layoutHeader/action.vue.mjs +7 -0
- package/es/components/BaseLayout/Default/layoutHeader/action.vue2.mjs +82 -0
- package/es/components/BaseLayout/Default/layoutHeader/index.vue.d.ts +2 -0
- package/es/components/BaseLayout/Default/layoutHeader/index.vue.mjs +31 -0
- package/es/components/BaseLayout/Default/layoutHeader/index.vue2.mjs +4 -0
- package/es/components/BaseLayout/Default/layoutHeader/title.vue.d.ts +2 -0
- package/es/components/BaseLayout/Default/layoutHeader/title.vue.mjs +7 -0
- package/es/components/BaseLayout/Default/layoutHeader/title.vue2.mjs +28 -0
- package/es/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.d.ts +32 -0
- package/es/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.mjs +7 -0
- package/es/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue2.mjs +65 -0
- package/es/components/BaseLayout/Default/layoutMenu/index.vue.d.ts +2 -0
- package/es/components/BaseLayout/Default/layoutMenu/index.vue.mjs +4 -0
- package/es/components/BaseLayout/Default/layoutMenu/index.vue2.mjs +23 -0
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.d.ts +2 -0
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.mjs +30 -0
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue2.mjs +4 -0
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.d.ts +2 -0
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.mjs +53 -0
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue2.mjs +4 -0
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.d.ts +2 -0
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.mjs +73 -0
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue2.mjs +4 -0
- package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.d.ts +2 -0
- package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.mjs +39 -0
- package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue2.mjs +4 -0
- package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.d.ts +2 -0
- package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.mjs +100 -0
- package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue2.mjs +4 -0
- package/es/components/BaseLayout/Default/layoutSlider/index.vue.d.ts +2 -0
- package/es/components/BaseLayout/Default/layoutSlider/index.vue.mjs +27 -0
- package/es/components/BaseLayout/Default/layoutSlider/index.vue2.mjs +4 -0
- package/es/components/BaseLayout/Default/layoutTab/index.vue.d.ts +2 -0
- package/es/components/BaseLayout/Default/layoutTab/index.vue.mjs +16 -0
- package/es/components/BaseLayout/Default/options.d.ts +3 -0
- package/es/components/BaseLayout/Default/options.mjs +35 -0
- package/es/components/BaseLayout/Default/type.d.ts +41 -0
- package/es/components/BaseLayout/Header/index.vue.d.ts +19 -0
- package/es/components/BaseLayout/Header/index.vue.mjs +20 -0
- package/es/components/BaseLayout/components/WrapContent.vue.d.ts +22 -0
- package/es/components/BaseLayout/components/WrapContent.vue.mjs +23 -0
- package/es/components/BaseLayout/components/WrapContent.vue2.mjs +4 -0
- package/es/components/BaseLayout/components/WrapFooter.vue.d.ts +24 -0
- package/es/components/BaseLayout/components/WrapFooter.vue.mjs +33 -0
- package/es/components/BaseLayout/components/WrapFooter.vue2.mjs +4 -0
- package/es/components/BaseLayout/components/WrapHeader.vue.d.ts +24 -0
- package/es/components/BaseLayout/components/WrapHeader.vue.mjs +7 -0
- package/es/components/BaseLayout/components/WrapHeader.vue2.mjs +30 -0
- package/es/components/BaseLayout/components/WrapSlider.vue.d.ts +24 -0
- package/es/components/BaseLayout/components/WrapSlider.vue.mjs +24 -0
- package/es/components/BaseLayout/components/WrapSlider.vue2.mjs +4 -0
- package/es/components/BaseLayout/components/WrapTab.vue.d.ts +24 -0
- package/es/components/BaseLayout/components/WrapTab.vue.mjs +34 -0
- package/es/components/BaseLayout/components/WrapTab.vue2.mjs +4 -0
- package/es/components/BaseLayout/constants.d.ts +1 -0
- package/es/components/BaseLayout/constants.mjs +4 -0
- package/es/components/BaseLayout/index.d.ts +6 -0
- package/es/components/BaseLayout/index.module.css.mjs +24 -0
- package/es/components/BaseLayout/index.vue.d.ts +49 -0
- package/es/components/BaseLayout/index.vue.mjs +7 -0
- package/es/components/BaseLayout/index.vue2.mjs +124 -0
- package/es/components/BaseLayout/layoutCssVar.d.ts +4 -0
- package/es/components/BaseLayout/layoutCssVar.mjs +27 -0
- package/es/components/BaseLayout/options.d.ts +2 -0
- package/es/components/BaseLayout/options.mjs +25 -0
- package/es/components/BaseLayout/type.d.ts +52 -0
- package/es/components/BaseProductIntroduction/constants.d.ts +2 -0
- package/es/components/BaseProductIntroduction/constants.mjs +7 -0
- package/es/components/BaseProductIntroduction/cssVar.d.ts +15 -0
- package/es/components/BaseProductIntroduction/cssVar.mjs +80 -0
- package/es/components/BaseProductIntroduction/index.d.ts +1 -0
- package/es/components/BaseProductIntroduction/index.vue.d.ts +6 -0
- package/es/components/BaseProductIntroduction/index.vue.mjs +8 -0
- package/es/components/BaseProductIntroduction/index.vue2.mjs +170 -0
- package/es/components/BaseProductIntroduction/type.d.ts +5 -0
- package/es/components/BaseSelect/index.vue.mjs +8 -5
- package/es/components/BaseSelect/index.vue3.mjs +5 -0
- package/es/components/index.d.ts +1 -0
- package/es/config/themes/common/light.d.ts +2 -0
- package/es/config/themes/common/light.mjs +30 -0
- package/es/config/themes/components/alert/light.mjs +3 -2
- package/es/config/themes/components/button/common.mjs +4 -4
- package/es/config/themes/components/button/dark.mjs +7 -4
- package/es/config/themes/components/button/light.mjs +1 -0
- package/es/config/themes/components/dataTable/dark.mjs +2 -1
- package/es/config/themes/components/dataTable/light.mjs +2 -1
- package/es/config/themes/components/divider/light.d.ts +2 -0
- package/es/config/themes/components/divider/light.mjs +7 -0
- package/es/config/themes/components/input/common.mjs +1 -0
- package/es/config/themes/components/input/dark.mjs +3 -2
- package/es/config/themes/components/layout/dark.d.ts +1 -0
- package/es/config/themes/components/layout/dark.mjs +3 -2
- package/es/config/themes/components/layout/light.d.ts +1 -0
- package/es/config/themes/components/layout/light.mjs +3 -2
- package/es/config/themes/components/menu/dark.mjs +14 -5
- package/es/config/themes/components/menu/light.mjs +11 -2
- package/es/config/themes/index.mjs +8 -6
- package/es/config/themes/light.mjs +40 -36
- package/es/config/themes/token/light.d.ts +2 -0
- package/es/config/themes/token/light.mjs +3 -1
- package/es/globalMethods/index.d.ts +2 -0
- package/es/globalMethods/index.mjs +7 -5
- package/es/hooks/useBoolean.d.ts +7 -0
- package/es/hooks/useBoolean.mjs +26 -0
- package/es/hooks/useContext.d.ts +6 -0
- package/es/hooks/useContext.mjs +30 -0
- package/es/hooks/useMenu.d.ts +34 -0
- package/es/hooks/useMenu.mjs +78 -0
- package/es/index.css +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +53 -38
- package/es/node_modules/.pnpm/@vueuse_core@13.0.0_vue@3.5.13_typescript@5.7.2_/node_modules/@vueuse/core/index.mjs +43 -0
- package/es/node_modules/.pnpm/@vueuse_shared@13.0.0_vue@3.5.13_typescript@5.7.2_/node_modules/@vueuse/shared/index.mjs +29 -0
- package/es/types/utils.d.ts +3 -0
- package/lib/_virtual/_plugin-vue_export-helper.js +1 -1
- package/lib/_virtual/virtual_svg-icons-register.js +1 -1
- package/lib/assets/cover/base-ads.png.js +1 -0
- package/lib/assets/cover/base-multimodal.png.js +1 -0
- package/lib/assets/cover/base-studio.png.js +1 -0
- package/lib/assets/logo/logo-dark-full.svg.js +1 -0
- package/lib/assets/logo/logo-light-full.svg.js +1 -0
- package/lib/components/AppProvider/index.vue.js +1 -1
- package/lib/components/AppProvider/index.vue2.js +1 -1
- package/lib/components/BaseButton/index.vue.js +1 -1
- package/lib/components/BaseButton/index.vue2.js +1 -1
- package/lib/components/BaseDataTable/index.vue.js +1 -1
- package/lib/components/BaseDataTable/index.vue2.js +1 -1
- package/lib/components/BaseDialog/index.vue.js +1 -1
- package/lib/components/BaseDialog/index.vue2.js +1 -1
- package/lib/components/BaseDialog/options.js +1 -1
- package/lib/components/BaseInputNumber/index.vue.js +1 -1
- package/lib/components/BaseInputNumber/index.vue2.js +1 -1
- package/lib/components/BaseLayout/ASide/index.vue.js +1 -1
- package/lib/components/BaseLayout/ASide/index.vue2.js +1 -1
- package/lib/components/BaseLayout/AsideMenu/index.vue.d.ts +4 -0
- package/lib/components/BaseLayout/AsideMenu/index.vue.js +1 -0
- package/lib/components/BaseLayout/AsideMenu/index.vue2.js +1 -0
- package/lib/components/BaseLayout/Default/constants.d.ts +5 -0
- package/lib/components/BaseLayout/Default/constants.js +1 -0
- package/lib/components/BaseLayout/Default/hooks/useBaseLayoutContext.d.ts +3 -0
- package/lib/components/BaseLayout/Default/hooks/useBaseLayoutContext.js +1 -0
- package/lib/components/BaseLayout/Default/hooks/useLogo.d.ts +5 -0
- package/lib/components/BaseLayout/Default/hooks/useLogo.js +1 -0
- package/lib/components/BaseLayout/Default/index.vue.d.ts +65 -0
- package/lib/components/BaseLayout/Default/index.vue.js +1 -0
- package/lib/components/BaseLayout/Default/index.vue2.js +1 -0
- package/lib/components/BaseLayout/Default/layoutFooter/index.vue.d.ts +2 -0
- package/lib/components/BaseLayout/Default/layoutFooter/index.vue.js +1 -0
- package/lib/components/BaseLayout/Default/layoutHeader/action.vue.d.ts +2 -0
- package/lib/components/BaseLayout/Default/layoutHeader/action.vue.js +1 -0
- package/lib/components/BaseLayout/Default/layoutHeader/action.vue2.js +1 -0
- package/lib/components/BaseLayout/Default/layoutHeader/index.vue.d.ts +2 -0
- package/lib/components/BaseLayout/Default/layoutHeader/index.vue.js +1 -0
- package/lib/components/BaseLayout/Default/layoutHeader/index.vue2.js +1 -0
- package/lib/components/BaseLayout/Default/layoutHeader/title.vue.d.ts +2 -0
- package/lib/components/BaseLayout/Default/layoutHeader/title.vue.js +1 -0
- package/lib/components/BaseLayout/Default/layoutHeader/title.vue2.js +1 -0
- package/lib/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.d.ts +32 -0
- package/lib/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.js +1 -0
- package/lib/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue2.js +1 -0
- package/lib/components/BaseLayout/Default/layoutMenu/index.vue.d.ts +2 -0
- package/lib/components/BaseLayout/Default/layoutMenu/index.vue.js +1 -0
- package/lib/components/BaseLayout/Default/layoutMenu/index.vue2.js +1 -0
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.d.ts +2 -0
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.js +1 -0
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue2.js +1 -0
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.d.ts +2 -0
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.js +1 -0
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue2.js +1 -0
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.d.ts +2 -0
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.js +1 -0
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue2.js +1 -0
- package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.d.ts +2 -0
- package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.js +1 -0
- package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue2.js +1 -0
- package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.d.ts +2 -0
- package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.js +1 -0
- package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue2.js +1 -0
- package/lib/components/BaseLayout/Default/layoutSlider/index.vue.d.ts +2 -0
- package/lib/components/BaseLayout/Default/layoutSlider/index.vue.js +1 -0
- package/lib/components/BaseLayout/Default/layoutSlider/index.vue2.js +1 -0
- package/lib/components/BaseLayout/Default/layoutTab/index.vue.d.ts +2 -0
- package/lib/components/BaseLayout/Default/layoutTab/index.vue.js +1 -0
- package/lib/components/BaseLayout/Default/options.d.ts +3 -0
- package/lib/components/BaseLayout/Default/options.js +1 -0
- package/lib/components/BaseLayout/Default/type.d.ts +41 -0
- package/lib/components/BaseLayout/Header/index.vue.d.ts +19 -0
- package/lib/components/BaseLayout/Header/index.vue.js +1 -0
- package/lib/components/BaseLayout/components/WrapContent.vue.d.ts +22 -0
- package/lib/components/BaseLayout/components/WrapContent.vue.js +1 -0
- package/lib/components/BaseLayout/components/WrapContent.vue2.js +1 -0
- package/lib/components/BaseLayout/components/WrapFooter.vue.d.ts +24 -0
- package/lib/components/BaseLayout/components/WrapFooter.vue.js +1 -0
- package/lib/components/BaseLayout/components/WrapFooter.vue2.js +1 -0
- package/lib/components/BaseLayout/components/WrapHeader.vue.d.ts +24 -0
- package/lib/components/BaseLayout/components/WrapHeader.vue.js +1 -0
- package/lib/components/BaseLayout/components/WrapHeader.vue2.js +1 -0
- package/lib/components/BaseLayout/components/WrapSlider.vue.d.ts +24 -0
- package/lib/components/BaseLayout/components/WrapSlider.vue.js +1 -0
- package/lib/components/BaseLayout/components/WrapSlider.vue2.js +1 -0
- package/lib/components/BaseLayout/components/WrapTab.vue.d.ts +24 -0
- package/lib/components/BaseLayout/components/WrapTab.vue.js +1 -0
- package/lib/components/BaseLayout/components/WrapTab.vue2.js +1 -0
- package/lib/components/BaseLayout/constants.d.ts +1 -0
- package/lib/components/BaseLayout/constants.js +1 -0
- package/lib/components/BaseLayout/index.d.ts +6 -0
- package/lib/components/BaseLayout/index.module.css.js +1 -0
- package/lib/components/BaseLayout/index.vue.d.ts +49 -0
- package/lib/components/BaseLayout/index.vue.js +1 -0
- package/lib/components/BaseLayout/index.vue2.js +1 -0
- package/lib/components/BaseLayout/layoutCssVar.d.ts +4 -0
- package/lib/components/BaseLayout/layoutCssVar.js +1 -0
- package/lib/components/BaseLayout/options.d.ts +2 -0
- package/lib/components/BaseLayout/options.js +1 -0
- package/lib/components/BaseLayout/type.d.ts +52 -0
- package/lib/components/BaseProductIntroduction/constants.d.ts +2 -0
- package/lib/components/BaseProductIntroduction/constants.js +1 -0
- package/lib/components/BaseProductIntroduction/cssVar.d.ts +15 -0
- package/lib/components/BaseProductIntroduction/cssVar.js +1 -0
- package/lib/components/BaseProductIntroduction/index.d.ts +1 -0
- package/lib/components/BaseProductIntroduction/index.vue.d.ts +6 -0
- package/lib/components/BaseProductIntroduction/index.vue.js +1 -0
- package/lib/components/BaseProductIntroduction/index.vue2.js +1 -0
- package/lib/components/BaseProductIntroduction/type.d.ts +5 -0
- package/lib/components/BaseProgress/index.js +1 -1
- package/lib/components/BaseRadio/index.vue.js +1 -1
- package/lib/components/BaseRadio/index.vue2.js +1 -1
- package/lib/components/BaseSelect/index.vue.js +1 -1
- package/lib/components/BaseSelect/index.vue3.js +1 -0
- package/lib/components/BaseSlider/index.vue.js +1 -1
- package/lib/components/BaseSlider/index.vue2.js +1 -1
- package/lib/components/BaseSwitch/index.vue.js +1 -1
- package/lib/components/BaseSwitch/index.vue2.js +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/config/themes/color/dark.js +1 -1
- package/lib/config/themes/color/light.js +1 -1
- package/lib/config/themes/common/light.d.ts +2 -0
- package/lib/config/themes/common/light.js +1 -0
- package/lib/config/themes/components/alert/dark.js +1 -1
- package/lib/config/themes/components/alert/light.js +1 -1
- package/lib/config/themes/components/baseComponent/dark.js +1 -1
- package/lib/config/themes/components/baseComponent/light.js +1 -1
- package/lib/config/themes/components/button/common.js +1 -1
- package/lib/config/themes/components/button/dark.js +1 -1
- package/lib/config/themes/components/button/light.js +1 -1
- package/lib/config/themes/components/card/dark.js +1 -1
- package/lib/config/themes/components/card/light.js +1 -1
- package/lib/config/themes/components/charts/dark.js +1 -1
- package/lib/config/themes/components/charts/light.js +1 -1
- package/lib/config/themes/components/checkbox/dark.js +1 -1
- package/lib/config/themes/components/checkbox/light.js +1 -1
- package/lib/config/themes/components/dataTable/dark.js +1 -1
- package/lib/config/themes/components/dataTable/light.js +1 -1
- package/lib/config/themes/components/datePicker/dark.js +1 -1
- package/lib/config/themes/components/datePicker/light.js +1 -1
- package/lib/config/themes/components/dialog/dark.js +1 -1
- package/lib/config/themes/components/dialog/light.js +1 -1
- package/lib/config/themes/components/divider/light.d.ts +2 -0
- package/lib/config/themes/components/divider/light.js +1 -0
- package/lib/config/themes/components/dropdown/dark.js +1 -1
- package/lib/config/themes/components/dropdown/light.js +1 -1
- package/lib/config/themes/components/form/dark.js +1 -1
- package/lib/config/themes/components/form/light.js +1 -1
- package/lib/config/themes/components/input/common.js +1 -1
- package/lib/config/themes/components/input/dark.js +1 -1
- package/lib/config/themes/components/input/light.js +1 -1
- package/lib/config/themes/components/inputNumber/dark.js +1 -1
- package/lib/config/themes/components/inputNumber/light.js +1 -1
- package/lib/config/themes/components/layout/dark.d.ts +1 -0
- package/lib/config/themes/components/layout/dark.js +1 -1
- package/lib/config/themes/components/layout/light.d.ts +1 -0
- package/lib/config/themes/components/layout/light.js +1 -1
- package/lib/config/themes/components/menu/dark.js +1 -1
- package/lib/config/themes/components/menu/light.js +1 -1
- package/lib/config/themes/components/progress/dark.js +1 -1
- package/lib/config/themes/components/progress/light.js +1 -1
- package/lib/config/themes/components/radio/dark.js +1 -1
- package/lib/config/themes/components/radio/light.js +1 -1
- package/lib/config/themes/components/select/dark.js +1 -1
- package/lib/config/themes/components/select/light.js +1 -1
- package/lib/config/themes/components/slider/dark.js +1 -1
- package/lib/config/themes/components/slider/light.js +1 -1
- package/lib/config/themes/components/switch/dark.js +1 -1
- package/lib/config/themes/components/switch/light.js +1 -1
- package/lib/config/themes/components/tag/dark.js +1 -1
- package/lib/config/themes/components/tag/light.js +1 -1
- package/lib/config/themes/components/transfer/dark.js +1 -1
- package/lib/config/themes/components/transfer/light.js +1 -1
- package/lib/config/themes/index.js +1 -1
- package/lib/config/themes/light.js +1 -1
- package/lib/config/themes/token/dark.js +1 -1
- package/lib/config/themes/token/light.d.ts +2 -0
- package/lib/config/themes/token/light.js +1 -1
- package/lib/globalMethods/index.d.ts +2 -0
- package/lib/globalMethods/index.js +1 -1
- package/lib/globalMethods/modules/confirmTip.js +1 -1
- package/lib/globalMethods/modules/message.js +1 -1
- package/lib/hooks/useBoolean.d.ts +7 -0
- package/lib/hooks/useBoolean.js +1 -0
- package/lib/hooks/useContext.d.ts +6 -0
- package/lib/hooks/useContext.js +1 -0
- package/lib/hooks/useMenu.d.ts +34 -0
- package/lib/hooks/useMenu.js +1 -0
- package/lib/hooks/useNaiveConfigProvideContext.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/node_modules/.pnpm/@vueuse_core@13.0.0_vue@3.5.13_typescript@5.7.2_/node_modules/@vueuse/core/index.js +1 -0
- package/lib/node_modules/.pnpm/@vueuse_shared@13.0.0_vue@3.5.13_typescript@5.7.2_/node_modules/@vueuse/shared/index.js +1 -0
- package/lib/types/utils.d.ts +3 -0
- package/package.json +1 -1
- package/readme.md +18 -19
- package/lib/components/BaseSelect/index.vue2.js +0 -1
- /package/es/components/{BaseSelect → BaseLayout/Default}/index.vue2.mjs +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type PropsType = {
|
|
2
|
+
isFixed?: boolean;
|
|
3
|
+
tabClass?: string;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<PropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PropsType> & Readonly<{}>, {
|
|
15
|
+
tabClass: string;
|
|
16
|
+
isFixed: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineComponent as i, computed as c, createElementBlock as u, openBlock as d, Fragment as p, createElementVNode as l, withDirectives as m, normalizeClass as o, renderSlot as f, vShow as b } from "vue";
|
|
2
|
+
import t from "../index.module.css.mjs";
|
|
3
|
+
const C = /* @__PURE__ */ i({
|
|
4
|
+
name: "TabWrap",
|
|
5
|
+
__name: "WrapTab",
|
|
6
|
+
props: {
|
|
7
|
+
isFixed: { type: Boolean, default: !1 },
|
|
8
|
+
tabClass: { default: "" }
|
|
9
|
+
},
|
|
10
|
+
setup(a) {
|
|
11
|
+
const s = a, n = c(() => {
|
|
12
|
+
const e = [];
|
|
13
|
+
return e.push(t["layout-tab"]), s.isFixed && e.push(t["layout-tab-is-fixed"]), e.push(s.tabClass), e;
|
|
14
|
+
}), r = [
|
|
15
|
+
t["layout-tab-placement"],
|
|
16
|
+
"flex-shrink-0 overflow-hidden"
|
|
17
|
+
];
|
|
18
|
+
return (e, h) => (d(), u(p, null, [
|
|
19
|
+
l("div", {
|
|
20
|
+
class: o(n.value)
|
|
21
|
+
}, [
|
|
22
|
+
f(e.$slots, "default")
|
|
23
|
+
], 2),
|
|
24
|
+
m(l("div", {
|
|
25
|
+
class: o(r)
|
|
26
|
+
}, null, 512), [
|
|
27
|
+
[b, a.isFixed]
|
|
28
|
+
])
|
|
29
|
+
], 64));
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
export {
|
|
33
|
+
C as default
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LAYOUT_SCROLL_EL_ID = "__BASE__DEFAULT__SCROLL_EL_ID__";
|
|
@@ -1 +1,7 @@
|
|
|
1
|
+
export { default as BaseLayout } from './index.vue';
|
|
1
2
|
export { default as BaseLayoutAside } from './ASide/index.vue';
|
|
3
|
+
export { default as BaseAsideMenu } from './AsideMenu/index.vue';
|
|
4
|
+
export { default as BaseLayoutHeader } from './Header/index.vue';
|
|
5
|
+
export { default as BaseDefaultLayout } from './Default/index.vue';
|
|
6
|
+
export type { LayoutProps, LayoutMode, LayoutScrollMode } from './type';
|
|
7
|
+
export type { BaseDefaultLayoutProps } from './Default/type';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const l = {
|
|
2
|
+
"layout-header": "_layout-header_11xy9_1",
|
|
3
|
+
"layout-header-placement": "_layout-header-placement_11xy9_2",
|
|
4
|
+
"layout-header-is-fixed": "_layout-header-is-fixed_11xy9_10",
|
|
5
|
+
"layout-tab": "_layout-tab_11xy9_14",
|
|
6
|
+
"layout-tab-is-fixed": "_layout-tab-is-fixed_11xy9_14",
|
|
7
|
+
"layout-tab-placement": "_layout-tab-placement_11xy9_20",
|
|
8
|
+
"layout-content": "_layout-content_11xy9_35",
|
|
9
|
+
"layout-slider": "_layout-slider_11xy9_41",
|
|
10
|
+
"layout-slider-full": "_layout-slider-full_11xy9_48",
|
|
11
|
+
"layout-slider-collapse": "_layout-slider-collapse_11xy9_48",
|
|
12
|
+
"slider-padding-top": "_slider-padding-top_11xy9_64",
|
|
13
|
+
"slider-padding-bottom": "_slider-padding-bottom_11xy9_68",
|
|
14
|
+
"layout-footer": "_layout-footer_11xy9_72",
|
|
15
|
+
"layout-footer-placement": "_layout-footer-placement_11xy9_72",
|
|
16
|
+
"layout-footer-fixed": "_layout-footer-fixed_11xy9_86",
|
|
17
|
+
"left-gap-full": "_left-gap-full_11xy9_94",
|
|
18
|
+
"left-gap-collapsed": "_left-gap-collapsed_11xy9_98",
|
|
19
|
+
"overflow-y-auto": "_overflow-y-auto_11xy9_102",
|
|
20
|
+
"layout-transition-all": "_layout-transition-all_11xy9_106"
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
l as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { LayoutProps } from './type';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
header?(_: {}): any;
|
|
6
|
+
tab?(_: {}): any;
|
|
7
|
+
slider?(_: {}): any;
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
footer?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<LayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LayoutProps> & Readonly<{}>, {
|
|
16
|
+
headerHeight: number;
|
|
17
|
+
contentClass: string;
|
|
18
|
+
headerClass: string;
|
|
19
|
+
footerClass: string;
|
|
20
|
+
mode: import('./type').LayoutMode;
|
|
21
|
+
tabClass: string;
|
|
22
|
+
sliderCollapse: boolean;
|
|
23
|
+
sliderClass: string;
|
|
24
|
+
tabHeight: number;
|
|
25
|
+
sliderWidth: number;
|
|
26
|
+
sliderCollapseWidth: number;
|
|
27
|
+
footerHeight: number;
|
|
28
|
+
scrollMode: import('./type').LayoutScrollMode;
|
|
29
|
+
scrollElId: string;
|
|
30
|
+
scrollWrapperClass: string;
|
|
31
|
+
baseClass: string;
|
|
32
|
+
fixedTop: boolean;
|
|
33
|
+
commonClass: string;
|
|
34
|
+
layoutZIndex: number;
|
|
35
|
+
headerVisible: boolean;
|
|
36
|
+
tabVisible: boolean;
|
|
37
|
+
sliderVisible: boolean;
|
|
38
|
+
fullContent: boolean;
|
|
39
|
+
footerVisible: boolean;
|
|
40
|
+
fixedFooter: boolean;
|
|
41
|
+
footerIsFullWidth: boolean;
|
|
42
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
43
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
44
|
+
export default _default;
|
|
45
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { defineComponent as _, mergeDefaults as E, useSlots as T, computed as o, createElementBlock as j, openBlock as u, normalizeStyle as z, createElementVNode as G, normalizeClass as M, unref as B, createBlock as p, createCommentVNode as l, createVNode as P, withCtx as d, renderSlot as c } from "vue";
|
|
2
|
+
import A from "./components/WrapHeader.vue.mjs";
|
|
3
|
+
import N from "./components/WrapTab.vue.mjs";
|
|
4
|
+
import D from "./components/WrapContent.vue.mjs";
|
|
5
|
+
import O from "./components/WrapSlider.vue.mjs";
|
|
6
|
+
import U from "./components/WrapFooter.vue.mjs";
|
|
7
|
+
import { DEFAULT_LAYOUT_PROPS as R } from "./options.mjs";
|
|
8
|
+
import { getCssVarsByLayoutProps as Y } from "./layoutCssVar.mjs";
|
|
9
|
+
import r from "./index.module.css.mjs";
|
|
10
|
+
const Z = ["id"], te = /* @__PURE__ */ _({
|
|
11
|
+
name: "LayoutMaterial",
|
|
12
|
+
__name: "index",
|
|
13
|
+
props: /* @__PURE__ */ E({
|
|
14
|
+
mode: {},
|
|
15
|
+
scrollMode: {},
|
|
16
|
+
scrollElId: {},
|
|
17
|
+
scrollWrapperClass: {},
|
|
18
|
+
baseClass: {},
|
|
19
|
+
fixedTop: { type: Boolean },
|
|
20
|
+
commonClass: {},
|
|
21
|
+
layoutZIndex: {},
|
|
22
|
+
headerVisible: { type: Boolean },
|
|
23
|
+
headerClass: {},
|
|
24
|
+
headerHeight: {},
|
|
25
|
+
tabVisible: { type: Boolean },
|
|
26
|
+
tabClass: {},
|
|
27
|
+
tabHeight: {},
|
|
28
|
+
sliderVisible: { type: Boolean },
|
|
29
|
+
sliderClass: {},
|
|
30
|
+
sliderCollapse: { type: Boolean },
|
|
31
|
+
sliderWidth: {},
|
|
32
|
+
sliderCollapseWidth: {},
|
|
33
|
+
contentClass: {},
|
|
34
|
+
fullContent: { type: Boolean },
|
|
35
|
+
footerVisible: { type: Boolean },
|
|
36
|
+
footerClass: {},
|
|
37
|
+
fixedFooter: { type: Boolean },
|
|
38
|
+
footerIsFullWidth: { type: Boolean },
|
|
39
|
+
footerHeight: {}
|
|
40
|
+
}, R),
|
|
41
|
+
setup(i) {
|
|
42
|
+
const n = T(), s = i, F = o(() => Y(s)), C = o(() => !!n.header && s.headerVisible), V = o(() => !!n.tab && s.tabVisible), v = o(() => !!n.slider && s.sliderVisible), h = o(() => !!n.footer && s.footerVisible), m = o(() => s.mode === "vertical"), a = o(() => s.mode === "horizontal"), f = o(() => s.scrollMode === "wrapper"), $ = o(() => s.scrollMode === "content"), y = o(() => s.fixedTop || a.value && f.value), t = o(() => v.value ? s.sliderCollapse ? r["left-gap-collapsed"] : r["left-gap-full"] : ""), k = o(() => m.value ? t.value : ""), L = o(() => {
|
|
43
|
+
const e = m.value, b = a.value && f.value && !s.fixedFooter, I = !!(a.value && !s.footerIsFullWidth);
|
|
44
|
+
return e || b || I ? t.value : "";
|
|
45
|
+
}), S = o(() => {
|
|
46
|
+
let e = "";
|
|
47
|
+
return C.value && a.value && (e += r["slider-padding-top"]), h.value && !L.value && (e += ` ${r["slider-padding-bottom"]}`), e;
|
|
48
|
+
}), g = o(() => {
|
|
49
|
+
const e = [];
|
|
50
|
+
return e.push(k.value), e.push(s.commonClass), e.push(s.headerClass), e.join(" ");
|
|
51
|
+
}), x = o(() => {
|
|
52
|
+
const e = [];
|
|
53
|
+
return e.push(t.value), e.push(s.commonClass), e.push(s.tabClass), e.join(" ");
|
|
54
|
+
}), w = o(() => {
|
|
55
|
+
const e = [];
|
|
56
|
+
return e.push(t.value), e.push(s.commonClass), e.push(s.contentClass), $.value && e.push(r["overflow-y-auto"]), e.join(" ");
|
|
57
|
+
}), W = o(() => {
|
|
58
|
+
const e = [];
|
|
59
|
+
return e.push(s.commonClass), e.push(s.sliderClass), e.push(S.value), e.join(" ");
|
|
60
|
+
}), H = o(() => {
|
|
61
|
+
const e = [];
|
|
62
|
+
return m.value && e.push(t.value), a.value && f.value && !s.fixedFooter && e.push(t.value), a.value && !s.footerIsFullWidth && e.push(t.value), e.push(s.commonClass), e.push(s.footerClass), e.join(" ");
|
|
63
|
+
});
|
|
64
|
+
return (e, b) => (u(), j("div", {
|
|
65
|
+
class: "layout-material",
|
|
66
|
+
style: z(F.value)
|
|
67
|
+
}, [
|
|
68
|
+
G("div", {
|
|
69
|
+
id: i.scrollElId ? i.scrollElId : void 0,
|
|
70
|
+
class: M(["layout-content", f.value ? B(r)["overflow-y-auto"] : ""])
|
|
71
|
+
}, [
|
|
72
|
+
C.value ? (u(), p(A, {
|
|
73
|
+
key: 0,
|
|
74
|
+
isFixed: y.value,
|
|
75
|
+
headerClass: g.value
|
|
76
|
+
}, {
|
|
77
|
+
default: d(() => [
|
|
78
|
+
e.$slots.header ? c(e.$slots, "header", { key: 0 }, void 0, !0) : l("", !0)
|
|
79
|
+
]),
|
|
80
|
+
_: 3
|
|
81
|
+
}, 8, ["isFixed", "headerClass"])) : l("", !0),
|
|
82
|
+
V.value ? (u(), p(N, {
|
|
83
|
+
key: 1,
|
|
84
|
+
isFixed: y.value,
|
|
85
|
+
tabClass: x.value
|
|
86
|
+
}, {
|
|
87
|
+
default: d(() => [
|
|
88
|
+
e.$slots.tab ? c(e.$slots, "tab", { key: 0 }, void 0, !0) : l("", !0)
|
|
89
|
+
]),
|
|
90
|
+
_: 3
|
|
91
|
+
}, 8, ["isFixed", "tabClass"])) : l("", !0),
|
|
92
|
+
v.value ? (u(), p(O, {
|
|
93
|
+
key: 2,
|
|
94
|
+
sliderCollapse: i.sliderCollapse,
|
|
95
|
+
sliderClass: W.value
|
|
96
|
+
}, {
|
|
97
|
+
default: d(() => [
|
|
98
|
+
e.$slots.slider ? c(e.$slots, "slider", { key: 0 }, void 0, !0) : l("", !0)
|
|
99
|
+
]),
|
|
100
|
+
_: 3
|
|
101
|
+
}, 8, ["sliderCollapse", "sliderClass"])) : l("", !0),
|
|
102
|
+
P(D, { contentClass: w.value }, {
|
|
103
|
+
default: d(() => [
|
|
104
|
+
c(e.$slots, "default", {}, void 0, !0)
|
|
105
|
+
]),
|
|
106
|
+
_: 3
|
|
107
|
+
}, 8, ["contentClass"]),
|
|
108
|
+
h.value ? (u(), p(U, {
|
|
109
|
+
key: 3,
|
|
110
|
+
footerClass: H.value,
|
|
111
|
+
isFixed: i.fixedFooter
|
|
112
|
+
}, {
|
|
113
|
+
default: d(() => [
|
|
114
|
+
B(n).footer ? c(e.$slots, "footer", { key: 0 }, void 0, !0) : l("", !0)
|
|
115
|
+
]),
|
|
116
|
+
_: 3
|
|
117
|
+
}, 8, ["footerClass", "isFixed"])) : l("", !0)
|
|
118
|
+
], 10, Z)
|
|
119
|
+
], 4));
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
export {
|
|
123
|
+
te as default
|
|
124
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const c = (e) => ({
|
|
2
|
+
"--layout-header-height": `${e.headerHeight}px`,
|
|
3
|
+
"--layout-header-z-index": e.headerZIndex,
|
|
4
|
+
"--layout-tab-height": `${e.tabHeight}px`,
|
|
5
|
+
"--layout-tab-z-index": e.tabZIndex,
|
|
6
|
+
"--layout-slider-width": `${e.sliderWidth}px`,
|
|
7
|
+
"--layout-slider-collapse-width": `${e.sliderCollapseWidth}px`,
|
|
8
|
+
"--layout-slider-z-index": e.sliderZIndex,
|
|
9
|
+
"--layout-footer-height": `${e.footerHeight}px`,
|
|
10
|
+
"--layout-footer-z-index": e.footerZIndex
|
|
11
|
+
}), y = (e) => {
|
|
12
|
+
const { mode: s, layoutZIndex: t, headerHeight: d, tabHeight: a, sliderWidth: o, sliderCollapseWidth: i, footerHeight: r } = e, l = t - 3, h = t - 5, n = s === "vertical" ? t - 1 : t - 4, x = t - 5;
|
|
13
|
+
return c({
|
|
14
|
+
headerHeight: d,
|
|
15
|
+
headerZIndex: l,
|
|
16
|
+
tabHeight: a,
|
|
17
|
+
tabZIndex: h,
|
|
18
|
+
sliderWidth: o,
|
|
19
|
+
sliderCollapseWidth: i,
|
|
20
|
+
sliderZIndex: n,
|
|
21
|
+
footerHeight: r,
|
|
22
|
+
footerZIndex: x
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
y as getCssVarsByLayoutProps
|
|
27
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { LAYOUT_SCROLL_EL_ID as e } from "./constants.mjs";
|
|
2
|
+
import t from "./index.module.css.mjs";
|
|
3
|
+
const i = {
|
|
4
|
+
mode: "vertical",
|
|
5
|
+
scrollMode: "content",
|
|
6
|
+
scrollElId: e,
|
|
7
|
+
commonClass: t["layout-transition-all"],
|
|
8
|
+
fixedTop: !0,
|
|
9
|
+
headerVisible: !0,
|
|
10
|
+
tabVisible: !0,
|
|
11
|
+
sliderVisible: !0,
|
|
12
|
+
sliderCollapse: !1,
|
|
13
|
+
footerVisible: !0,
|
|
14
|
+
footerIsFullWidth: !1,
|
|
15
|
+
fixedFooter: !0,
|
|
16
|
+
layoutZIndex: 100,
|
|
17
|
+
headerHeight: 56,
|
|
18
|
+
tabHeight: 48,
|
|
19
|
+
sliderWidth: 220,
|
|
20
|
+
sliderCollapseWidth: 64,
|
|
21
|
+
footerHeight: 48
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
i as DEFAULT_LAYOUT_PROPS
|
|
25
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { KebabCase } from '../../types/utils';
|
|
2
|
+
interface LayoutHeaderConfig {
|
|
3
|
+
headerVisible?: boolean;
|
|
4
|
+
headerClass?: string;
|
|
5
|
+
headerHeight?: number;
|
|
6
|
+
}
|
|
7
|
+
interface LayoutTabConfig {
|
|
8
|
+
tabVisible?: boolean;
|
|
9
|
+
tabClass?: string;
|
|
10
|
+
tabHeight?: number;
|
|
11
|
+
}
|
|
12
|
+
interface LayoutSliderConfig {
|
|
13
|
+
sliderVisible?: boolean;
|
|
14
|
+
sliderClass?: string;
|
|
15
|
+
sliderCollapse?: boolean;
|
|
16
|
+
sliderWidth?: number;
|
|
17
|
+
sliderCollapseWidth?: number;
|
|
18
|
+
}
|
|
19
|
+
interface LayoutContentConfig {
|
|
20
|
+
contentClass?: string;
|
|
21
|
+
fullContent?: boolean;
|
|
22
|
+
}
|
|
23
|
+
interface LayoutFooterConfig {
|
|
24
|
+
footerVisible?: boolean;
|
|
25
|
+
footerClass?: string;
|
|
26
|
+
fixedFooter?: boolean;
|
|
27
|
+
footerIsFullWidth?: boolean;
|
|
28
|
+
footerHeight?: number;
|
|
29
|
+
}
|
|
30
|
+
export type LayoutMode = 'horizontal' | 'vertical';
|
|
31
|
+
export type LayoutScrollMode = 'wrapper' | 'content';
|
|
32
|
+
interface LayoutBaseConfig {
|
|
33
|
+
mode?: LayoutMode;
|
|
34
|
+
scrollMode?: LayoutScrollMode;
|
|
35
|
+
scrollElId?: string;
|
|
36
|
+
scrollWrapperClass?: string;
|
|
37
|
+
baseClass?: string;
|
|
38
|
+
fixedTop?: boolean;
|
|
39
|
+
commonClass?: string;
|
|
40
|
+
layoutZIndex?: number;
|
|
41
|
+
}
|
|
42
|
+
export type LayoutProps = LayoutBaseConfig & LayoutHeaderConfig & LayoutTabConfig & LayoutSliderConfig & LayoutContentConfig & LayoutFooterConfig & LayoutBaseConfig;
|
|
43
|
+
export type LayoutCssVarsProps = Pick<LayoutProps, 'headerHeight' | 'tabHeight' | 'sliderWidth' | 'sliderCollapseWidth' | 'footerHeight'> & {
|
|
44
|
+
headerZIndex?: number;
|
|
45
|
+
tabZIndex?: number;
|
|
46
|
+
sliderZIndex?: number;
|
|
47
|
+
footerZIndex?: number;
|
|
48
|
+
};
|
|
49
|
+
export type LayoutCssVars<T extends string> = {
|
|
50
|
+
[K in keyof LayoutCssVarsProps as `${T}${KebabCase<K>}`]: string | number;
|
|
51
|
+
};
|
|
52
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const createCardThemeOverrides: (isDarkMode: boolean) => {
|
|
2
|
+
fontSizeMedium: string;
|
|
3
|
+
titleFontSizeMedium: string;
|
|
4
|
+
borderColor: string;
|
|
5
|
+
color: string;
|
|
6
|
+
textColor: string;
|
|
7
|
+
titleTextColor: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const createPopoverCssVar: (isDarkMode: boolean) => {
|
|
10
|
+
'--base-title-color': string;
|
|
11
|
+
'--base-text-color': string;
|
|
12
|
+
'--base-color': string;
|
|
13
|
+
'--base-card-border-hover-color': string;
|
|
14
|
+
height: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import o from "../../config/themes/color/dark.mjs";
|
|
2
|
+
import i from "../../config/themes/color/light.mjs";
|
|
3
|
+
import "../../config/themes/components/alert/light.mjs";
|
|
4
|
+
import "../../config/themes/components/button/light.mjs";
|
|
5
|
+
import "../../config/themes/components/card/light.mjs";
|
|
6
|
+
import "../../config/themes/components/dataTable/light.mjs";
|
|
7
|
+
import "../../config/themes/components/datePicker/light.mjs";
|
|
8
|
+
import "../../config/themes/components/checkbox/light.mjs";
|
|
9
|
+
import "../../config/themes/components/divider/light.mjs";
|
|
10
|
+
import "../../config/themes/components/dialog/light.mjs";
|
|
11
|
+
import "../../config/themes/components/dropdown/light.mjs";
|
|
12
|
+
import "../../config/themes/components/form/light.mjs";
|
|
13
|
+
import "../../config/themes/components/input/light.mjs";
|
|
14
|
+
import "../../config/themes/components/inputNumber/light.mjs";
|
|
15
|
+
import "../../config/themes/components/layout/light.mjs";
|
|
16
|
+
import "../../config/themes/components/menu/light.mjs";
|
|
17
|
+
import "../../config/themes/components/progress/light.mjs";
|
|
18
|
+
import "../../config/themes/components/radio/light.mjs";
|
|
19
|
+
import "../../config/themes/components/select/light.mjs";
|
|
20
|
+
import "../../config/themes/components/slider/light.mjs";
|
|
21
|
+
import "../../config/themes/components/switch/light.mjs";
|
|
22
|
+
import "../../config/themes/components/tag/light.mjs";
|
|
23
|
+
import "../../config/themes/components/transfer/light.mjs";
|
|
24
|
+
import "../../config/themes/components/baseComponent/light.mjs";
|
|
25
|
+
import "../../config/themes/common/light.mjs";
|
|
26
|
+
import "../../config/themes/components/alert/dark.mjs";
|
|
27
|
+
import "../../config/themes/components/button/dark.mjs";
|
|
28
|
+
import "../../config/themes/components/card/dark.mjs";
|
|
29
|
+
import "../../config/themes/components/checkbox/dark.mjs";
|
|
30
|
+
import "../../config/themes/components/dataTable/dark.mjs";
|
|
31
|
+
import "../../config/themes/components/datePicker/dark.mjs";
|
|
32
|
+
import "../../config/themes/components/dialog/dark.mjs";
|
|
33
|
+
import "../../config/themes/components/dropdown/dark.mjs";
|
|
34
|
+
import "../../config/themes/components/form/dark.mjs";
|
|
35
|
+
import "../../config/themes/components/input/dark.mjs";
|
|
36
|
+
import "../../config/themes/components/inputNumber/dark.mjs";
|
|
37
|
+
import "../../config/themes/components/layout/dark.mjs";
|
|
38
|
+
import "../../config/themes/components/menu/dark.mjs";
|
|
39
|
+
import "../../config/themes/components/progress/dark.mjs";
|
|
40
|
+
import "../../config/themes/components/radio/dark.mjs";
|
|
41
|
+
import "../../config/themes/components/select/dark.mjs";
|
|
42
|
+
import "../../config/themes/components/slider/dark.mjs";
|
|
43
|
+
import "../../config/themes/components/switch/dark.mjs";
|
|
44
|
+
import "../../config/themes/components/tag/dark.mjs";
|
|
45
|
+
import "../../config/themes/components/transfer/dark.mjs";
|
|
46
|
+
import "../../config/themes/components/baseComponent/dark.mjs";
|
|
47
|
+
import "../../config/themes/components/charts/dark.mjs";
|
|
48
|
+
import "../../config/themes/components/charts/light.mjs";
|
|
49
|
+
const t = {
|
|
50
|
+
"light-1": "#161C2A",
|
|
51
|
+
"light-3": "#8D9CAF",
|
|
52
|
+
"dark-1": "#FFFFFF",
|
|
53
|
+
"dark-3": "rgba(255,255,255,0.4)"
|
|
54
|
+
}, m = {
|
|
55
|
+
"light-1": "#F3F6FC",
|
|
56
|
+
"dark-1": "rgba(255,255,255,0.08)"
|
|
57
|
+
}, p = {
|
|
58
|
+
"light-2": "#FFFFFF",
|
|
59
|
+
"dark-2": "#111113 "
|
|
60
|
+
}, l = {
|
|
61
|
+
"light-1": "#E0E6EF",
|
|
62
|
+
"dark-1": "#2F3A4B"
|
|
63
|
+
}, tr = (r) => ({
|
|
64
|
+
fontSizeMedium: "12px",
|
|
65
|
+
titleFontSizeMedium: "14px",
|
|
66
|
+
borderColor: l[r ? "dark-1" : "light-1"],
|
|
67
|
+
color: m[r ? "dark-1" : "light-1"],
|
|
68
|
+
textColor: t[r ? "dark-3" : "light-3"],
|
|
69
|
+
titleTextColor: t[r ? "dark-1" : "light-1"]
|
|
70
|
+
}), or = (r) => ({
|
|
71
|
+
"--base-title-color": t[r ? "dark-1" : "light-1"],
|
|
72
|
+
"--base-text-color": t[r ? "dark-3" : "light-3"],
|
|
73
|
+
"--base-color": p[r ? "dark-2" : "light-2"],
|
|
74
|
+
"--base-card-border-hover-color": r ? o["color-primary-6"] : i["color-primary-6"],
|
|
75
|
+
height: "620px"
|
|
76
|
+
});
|
|
77
|
+
export {
|
|
78
|
+
tr as createCardThemeOverrides,
|
|
79
|
+
or as createPopoverCssVar
|
|
80
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BaseProductIntroduction } from './index.vue';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ProductIntroductionProps } from './type';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ProductIntroductionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProductIntroductionProps> & Readonly<{}>, {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|