base6-ui 2.0.6 → 2.0.8
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/data-table/data-table.d.ts +1372 -1
- package/dist/components/data-table/interface.d.ts +68 -53
- package/dist/components/global-header/index.vue.d.ts +5 -2
- package/dist/components/global-header/interface.d.ts +9 -7
- package/dist/components/global-header/title.vue.d.ts +9 -1
- package/dist/components/index.d.ts +1 -2
- package/dist/components/nav-icon/type.d.ts +1 -0
- package/dist/components/platform-navigation/index.d.ts +2 -0
- package/{es/components/product-introduction → dist/components/platform-navigation}/index.vue.d.ts +8 -2
- package/dist/components/platform-navigation/interface.d.ts +29 -0
- package/dist/config/themes/components/dataTable/common.d.ts +2 -0
- package/dist/index.css +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/locale/lang/en-us.d.ts +6 -4
- package/es/assets/cover/base-studio.png.mjs +2 -2
- package/es/assets/cover/source-robot.png.mjs +4 -0
- package/es/components/data-table/data-table.d.ts +1372 -1
- package/es/components/data-table/data-table.mjs +49 -32
- package/es/components/data-table/interface.d.ts +68 -53
- package/es/components/data-table/interface.mjs +9 -2
- package/es/components/global-header/index.vue.d.ts +5 -2
- package/es/components/global-header/index.vue.mjs +42 -33
- package/es/components/global-header/interface.d.ts +9 -7
- package/es/components/global-header/title.vue.d.ts +9 -1
- package/es/components/global-header/title.vue.mjs +3 -3
- package/es/components/global-header/title.vue2.mjs +39 -30
- package/es/components/index.d.ts +1 -2
- package/es/components/nav-icon/index.vue.mjs +2 -2
- package/es/components/nav-icon/index.vue2.mjs +21 -19
- package/es/components/nav-icon/type.d.ts +1 -0
- package/es/components/platform-navigation/index.d.ts +2 -0
- package/{lib/components/product-introduction → es/components/platform-navigation}/index.vue.d.ts +8 -2
- package/es/components/{product-introduction → platform-navigation}/index.vue.mjs +2 -2
- package/es/components/platform-navigation/index.vue2.mjs +194 -0
- package/es/components/platform-navigation/interface.d.ts +29 -0
- package/es/components/platform-navigation/interface.mjs +4 -0
- package/es/config/themes/components/dataTable/common.d.ts +2 -0
- package/es/config/themes/components/dataTable/common.mjs +11 -0
- package/es/config/themes/components/dataTable/dark.mjs +4 -2
- package/es/config/themes/components/dataTable/light.mjs +4 -2
- package/es/index.css +1 -1
- package/es/index.mjs +79 -89
- package/es/locale/lang/en-us.d.ts +6 -4
- package/es/locale/lang/en-us.mjs +6 -4
- package/es/locale/lang/zh-cn.mjs +6 -4
- package/lib/assets/cover/base-studio.png.js +1 -1
- package/lib/assets/cover/source-robot.png.js +1 -0
- package/lib/components/data-table/data-table.d.ts +1372 -1
- package/lib/components/data-table/data-table.js +1 -1
- package/lib/components/data-table/interface.d.ts +68 -53
- package/lib/components/data-table/interface.js +1 -1
- package/lib/components/global-header/index.vue.d.ts +5 -2
- package/lib/components/global-header/index.vue.js +1 -1
- package/lib/components/global-header/interface.d.ts +9 -7
- package/lib/components/global-header/title.vue.d.ts +9 -1
- package/lib/components/global-header/title.vue.js +1 -1
- package/lib/components/global-header/title.vue2.js +1 -1
- package/lib/components/index.d.ts +1 -2
- package/lib/components/input-number/index.vue.js +1 -1
- package/lib/components/layout/aside/index.vue.js +1 -1
- package/lib/components/layout/components/WrapHeader.vue2.js +1 -1
- package/lib/components/layout/header/index.vue.js +1 -1
- package/lib/components/layout/index.vue.js +1 -1
- package/lib/components/nav-icon/index.vue.js +1 -1
- package/lib/components/nav-icon/index.vue2.js +1 -1
- package/lib/components/nav-icon/type.d.ts +1 -0
- package/lib/components/platform-navigation/index.d.ts +2 -0
- package/{dist/components/product-introduction → lib/components/platform-navigation}/index.vue.d.ts +8 -2
- package/lib/components/platform-navigation/index.vue.js +1 -0
- package/lib/components/platform-navigation/index.vue2.js +1 -0
- package/lib/components/platform-navigation/interface.d.ts +29 -0
- package/lib/components/platform-navigation/interface.js +1 -0
- package/lib/components/radio/index.vue.js +1 -1
- package/lib/components/select/index.vue.js +1 -1
- package/lib/components/slider/index.vue.js +1 -1
- package/lib/components/switch/index.vue.js +1 -1
- package/lib/components/system-actions/index.vue.js +1 -1
- package/lib/config/themes/components/dataTable/common.d.ts +2 -0
- package/lib/config/themes/components/dataTable/common.js +1 -0
- package/lib/config/themes/components/dataTable/dark.js +1 -1
- package/lib/config/themes/components/dataTable/light.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/en-us.d.ts +6 -4
- package/lib/locale/lang/en-us.js +1 -1
- package/lib/locale/lang/zh-cn.js +1 -1
- package/package.json +1 -1
- package/dist/components/BaseLayout/ASide/index.vue.d.ts +0 -23
- package/dist/components/BaseLayout/ASide/type.d.ts +0 -10
- package/dist/components/BaseLayout/AsideMenu/index.vue.d.ts +0 -4
- package/dist/components/BaseLayout/Default/constants.d.ts +0 -5
- package/dist/components/BaseLayout/Default/hooks/useBaseLayoutContext.d.ts +0 -3
- package/dist/components/BaseLayout/Default/hooks/useLogo.d.ts +0 -5
- package/dist/components/BaseLayout/Default/index.vue.d.ts +0 -72
- package/dist/components/BaseLayout/Default/layoutFooter/index.vue.d.ts +0 -2
- package/dist/components/BaseLayout/Default/layoutHeader/action.vue.d.ts +0 -2
- package/dist/components/BaseLayout/Default/layoutHeader/index.vue.d.ts +0 -2
- package/dist/components/BaseLayout/Default/layoutHeader/title.vue.d.ts +0 -2
- package/dist/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.d.ts +0 -32
- package/dist/components/BaseLayout/Default/layoutMenu/index.vue.d.ts +0 -2
- package/dist/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.d.ts +0 -2
- package/dist/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.d.ts +0 -2
- package/dist/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.d.ts +0 -2
- package/dist/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.d.ts +0 -2
- package/dist/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.d.ts +0 -2
- package/dist/components/BaseLayout/Default/layoutSlider/index.vue.d.ts +0 -2
- package/dist/components/BaseLayout/Default/layoutTab/index.vue.d.ts +0 -2
- package/dist/components/BaseLayout/Default/options.d.ts +0 -3
- package/dist/components/BaseLayout/Default/type.d.ts +0 -40
- package/dist/components/BaseLayout/Header/index.vue.d.ts +0 -19
- package/dist/components/BaseLayout/components/WrapContent.vue.d.ts +0 -22
- package/dist/components/BaseLayout/components/WrapFooter.vue.d.ts +0 -24
- package/dist/components/BaseLayout/components/WrapHeader.vue.d.ts +0 -24
- package/dist/components/BaseLayout/components/WrapSlider.vue.d.ts +0 -24
- package/dist/components/BaseLayout/components/WrapTab.vue.d.ts +0 -24
- package/dist/components/BaseLayout/constants.d.ts +0 -1
- package/dist/components/BaseLayout/index.d.ts +0 -7
- package/dist/components/BaseLayout/index.vue.d.ts +0 -49
- package/dist/components/BaseLayout/layoutCssVar.d.ts +0 -4
- package/dist/components/BaseLayout/options.d.ts +0 -2
- package/dist/components/BaseLayout/type.d.ts +0 -52
- package/dist/components/product-introduction/constants.d.ts +0 -2
- package/dist/components/product-introduction/index.d.ts +0 -1
- package/dist/components/product-introduction/types.d.ts +0 -5
- package/dist/hooks/useMenu.d.ts +0 -34
- package/es/components/BaseLayout/ASide/index.vue.d.ts +0 -23
- package/es/components/BaseLayout/ASide/index.vue.mjs +0 -7
- package/es/components/BaseLayout/ASide/index.vue2.mjs +0 -62
- package/es/components/BaseLayout/ASide/type.d.ts +0 -10
- package/es/components/BaseLayout/AsideMenu/index.vue.d.ts +0 -4
- package/es/components/BaseLayout/AsideMenu/index.vue.mjs +0 -7
- package/es/components/BaseLayout/AsideMenu/index.vue2.mjs +0 -66
- package/es/components/BaseLayout/Default/constants.d.ts +0 -5
- package/es/components/BaseLayout/Default/constants.mjs +0 -5
- package/es/components/BaseLayout/Default/hooks/useBaseLayoutContext.d.ts +0 -3
- package/es/components/BaseLayout/Default/hooks/useBaseLayoutContext.mjs +0 -11
- package/es/components/BaseLayout/Default/hooks/useLogo.d.ts +0 -5
- package/es/components/BaseLayout/Default/hooks/useLogo.mjs +0 -19
- package/es/components/BaseLayout/Default/index.vue.d.ts +0 -72
- package/es/components/BaseLayout/Default/index.vue.mjs +0 -7
- package/es/components/BaseLayout/Default/index.vue2.mjs +0 -151
- package/es/components/BaseLayout/Default/layoutFooter/index.vue.d.ts +0 -2
- package/es/components/BaseLayout/Default/layoutHeader/action.vue.d.ts +0 -2
- package/es/components/BaseLayout/Default/layoutHeader/index.vue.d.ts +0 -2
- package/es/components/BaseLayout/Default/layoutHeader/index.vue.mjs +0 -38
- package/es/components/BaseLayout/Default/layoutHeader/index.vue2.mjs +0 -4
- package/es/components/BaseLayout/Default/layoutHeader/title.vue.d.ts +0 -2
- package/es/components/BaseLayout/Default/layoutHeader/title.vue.mjs +0 -7
- package/es/components/BaseLayout/Default/layoutHeader/title.vue2.mjs +0 -29
- package/es/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.d.ts +0 -32
- package/es/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.mjs +0 -7
- package/es/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue2.mjs +0 -65
- package/es/components/BaseLayout/Default/layoutMenu/index.vue.d.ts +0 -2
- package/es/components/BaseLayout/Default/layoutMenu/index.vue.mjs +0 -4
- package/es/components/BaseLayout/Default/layoutMenu/index.vue2.mjs +0 -23
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.d.ts +0 -2
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.mjs +0 -30
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue2.mjs +0 -4
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.d.ts +0 -2
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.mjs +0 -53
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue2.mjs +0 -4
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.d.ts +0 -2
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.mjs +0 -73
- package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue2.mjs +0 -4
- package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.d.ts +0 -2
- package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.mjs +0 -39
- package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue2.mjs +0 -4
- package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.d.ts +0 -2
- package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.mjs +0 -97
- package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue2.mjs +0 -4
- package/es/components/BaseLayout/Default/layoutSlider/index.vue.d.ts +0 -2
- package/es/components/BaseLayout/Default/layoutSlider/index.vue.mjs +0 -31
- package/es/components/BaseLayout/Default/layoutSlider/index.vue2.mjs +0 -4
- package/es/components/BaseLayout/Default/layoutTab/index.vue.d.ts +0 -2
- package/es/components/BaseLayout/Default/options.d.ts +0 -3
- package/es/components/BaseLayout/Default/options.mjs +0 -35
- package/es/components/BaseLayout/Default/type.d.ts +0 -40
- package/es/components/BaseLayout/Header/index.vue.d.ts +0 -19
- package/es/components/BaseLayout/Header/index.vue.mjs +0 -20
- package/es/components/BaseLayout/components/WrapContent.vue.d.ts +0 -22
- package/es/components/BaseLayout/components/WrapContent.vue.mjs +0 -23
- package/es/components/BaseLayout/components/WrapContent.vue2.mjs +0 -4
- package/es/components/BaseLayout/components/WrapFooter.vue.d.ts +0 -24
- package/es/components/BaseLayout/components/WrapFooter.vue.mjs +0 -33
- package/es/components/BaseLayout/components/WrapFooter.vue2.mjs +0 -4
- package/es/components/BaseLayout/components/WrapHeader.vue.d.ts +0 -24
- package/es/components/BaseLayout/components/WrapHeader.vue.mjs +0 -7
- package/es/components/BaseLayout/components/WrapHeader.vue2.mjs +0 -30
- package/es/components/BaseLayout/components/WrapSlider.vue.d.ts +0 -24
- package/es/components/BaseLayout/components/WrapSlider.vue.mjs +0 -24
- package/es/components/BaseLayout/components/WrapSlider.vue2.mjs +0 -4
- package/es/components/BaseLayout/components/WrapTab.vue.d.ts +0 -24
- package/es/components/BaseLayout/components/WrapTab.vue.mjs +0 -34
- package/es/components/BaseLayout/components/WrapTab.vue2.mjs +0 -4
- package/es/components/BaseLayout/constants.d.ts +0 -1
- package/es/components/BaseLayout/constants.mjs +0 -4
- package/es/components/BaseLayout/index.d.ts +0 -7
- package/es/components/BaseLayout/index.module.css.mjs +0 -24
- package/es/components/BaseLayout/index.vue.d.ts +0 -49
- package/es/components/BaseLayout/index.vue.mjs +0 -7
- package/es/components/BaseLayout/index.vue2.mjs +0 -124
- package/es/components/BaseLayout/layoutCssVar.d.ts +0 -4
- package/es/components/BaseLayout/layoutCssVar.mjs +0 -27
- package/es/components/BaseLayout/options.d.ts +0 -2
- package/es/components/BaseLayout/options.mjs +0 -25
- package/es/components/BaseLayout/type.d.ts +0 -52
- package/es/components/product-introduction/constants.d.ts +0 -2
- package/es/components/product-introduction/constants.mjs +0 -7
- package/es/components/product-introduction/index.d.ts +0 -1
- package/es/components/product-introduction/index.vue2.mjs +0 -169
- package/es/components/product-introduction/types.d.ts +0 -5
- package/es/hooks/useBoolean.mjs +0 -26
- package/es/hooks/useContext.mjs +0 -30
- package/es/hooks/useMenu.d.ts +0 -34
- package/es/hooks/useMenu.mjs +0 -78
- package/es/node_modules/.pnpm/@vueuse_core@13.0.0_vue@3.5.22_typescript@5.7.2_/node_modules/@vueuse/core/index.mjs +0 -43
- package/es/node_modules/.pnpm/@vueuse_shared@13.0.0_vue@3.5.22_typescript@5.7.2_/node_modules/@vueuse/shared/index.mjs +0 -29
- package/lib/components/BaseLayout/ASide/index.vue.d.ts +0 -23
- package/lib/components/BaseLayout/ASide/index.vue.js +0 -1
- package/lib/components/BaseLayout/ASide/index.vue2.js +0 -1
- package/lib/components/BaseLayout/ASide/type.d.ts +0 -10
- package/lib/components/BaseLayout/AsideMenu/index.vue.d.ts +0 -4
- package/lib/components/BaseLayout/AsideMenu/index.vue.js +0 -1
- package/lib/components/BaseLayout/AsideMenu/index.vue2.js +0 -1
- package/lib/components/BaseLayout/Default/constants.d.ts +0 -5
- package/lib/components/BaseLayout/Default/constants.js +0 -1
- package/lib/components/BaseLayout/Default/hooks/useBaseLayoutContext.d.ts +0 -3
- package/lib/components/BaseLayout/Default/hooks/useBaseLayoutContext.js +0 -1
- package/lib/components/BaseLayout/Default/hooks/useLogo.d.ts +0 -5
- package/lib/components/BaseLayout/Default/hooks/useLogo.js +0 -1
- package/lib/components/BaseLayout/Default/index.vue.d.ts +0 -72
- package/lib/components/BaseLayout/Default/index.vue.js +0 -1
- package/lib/components/BaseLayout/Default/index.vue2.js +0 -1
- package/lib/components/BaseLayout/Default/layoutFooter/index.vue.d.ts +0 -2
- package/lib/components/BaseLayout/Default/layoutHeader/action.vue.d.ts +0 -2
- package/lib/components/BaseLayout/Default/layoutHeader/index.vue.d.ts +0 -2
- package/lib/components/BaseLayout/Default/layoutHeader/index.vue.js +0 -1
- package/lib/components/BaseLayout/Default/layoutHeader/index.vue2.js +0 -1
- package/lib/components/BaseLayout/Default/layoutHeader/title.vue.d.ts +0 -2
- package/lib/components/BaseLayout/Default/layoutHeader/title.vue.js +0 -1
- package/lib/components/BaseLayout/Default/layoutHeader/title.vue2.js +0 -1
- package/lib/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.d.ts +0 -32
- package/lib/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.js +0 -1
- package/lib/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue2.js +0 -1
- package/lib/components/BaseLayout/Default/layoutMenu/index.vue.d.ts +0 -2
- package/lib/components/BaseLayout/Default/layoutMenu/index.vue.js +0 -1
- package/lib/components/BaseLayout/Default/layoutMenu/index.vue2.js +0 -1
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.d.ts +0 -2
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.js +0 -1
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue2.js +0 -1
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.d.ts +0 -2
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.js +0 -1
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue2.js +0 -1
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.d.ts +0 -2
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.js +0 -1
- package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue2.js +0 -1
- package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.d.ts +0 -2
- package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.js +0 -1
- package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue2.js +0 -1
- package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.d.ts +0 -2
- package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.js +0 -1
- package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue2.js +0 -1
- package/lib/components/BaseLayout/Default/layoutSlider/index.vue.d.ts +0 -2
- package/lib/components/BaseLayout/Default/layoutSlider/index.vue.js +0 -1
- package/lib/components/BaseLayout/Default/layoutSlider/index.vue2.js +0 -1
- package/lib/components/BaseLayout/Default/layoutTab/index.vue.d.ts +0 -2
- package/lib/components/BaseLayout/Default/options.d.ts +0 -3
- package/lib/components/BaseLayout/Default/options.js +0 -1
- package/lib/components/BaseLayout/Default/type.d.ts +0 -40
- package/lib/components/BaseLayout/Header/index.vue.d.ts +0 -19
- package/lib/components/BaseLayout/Header/index.vue.js +0 -1
- package/lib/components/BaseLayout/components/WrapContent.vue.d.ts +0 -22
- package/lib/components/BaseLayout/components/WrapContent.vue.js +0 -1
- package/lib/components/BaseLayout/components/WrapContent.vue2.js +0 -1
- package/lib/components/BaseLayout/components/WrapFooter.vue.d.ts +0 -24
- package/lib/components/BaseLayout/components/WrapFooter.vue.js +0 -1
- package/lib/components/BaseLayout/components/WrapFooter.vue2.js +0 -1
- package/lib/components/BaseLayout/components/WrapHeader.vue.d.ts +0 -24
- package/lib/components/BaseLayout/components/WrapHeader.vue.js +0 -1
- package/lib/components/BaseLayout/components/WrapHeader.vue2.js +0 -1
- package/lib/components/BaseLayout/components/WrapSlider.vue.d.ts +0 -24
- package/lib/components/BaseLayout/components/WrapSlider.vue.js +0 -1
- package/lib/components/BaseLayout/components/WrapSlider.vue2.js +0 -1
- package/lib/components/BaseLayout/components/WrapTab.vue.d.ts +0 -24
- package/lib/components/BaseLayout/components/WrapTab.vue.js +0 -1
- package/lib/components/BaseLayout/components/WrapTab.vue2.js +0 -1
- package/lib/components/BaseLayout/constants.d.ts +0 -1
- package/lib/components/BaseLayout/constants.js +0 -1
- package/lib/components/BaseLayout/index.d.ts +0 -7
- package/lib/components/BaseLayout/index.module.css.js +0 -1
- package/lib/components/BaseLayout/index.vue.d.ts +0 -49
- package/lib/components/BaseLayout/index.vue.js +0 -1
- package/lib/components/BaseLayout/index.vue2.js +0 -1
- package/lib/components/BaseLayout/layoutCssVar.d.ts +0 -4
- package/lib/components/BaseLayout/layoutCssVar.js +0 -1
- package/lib/components/BaseLayout/options.d.ts +0 -2
- package/lib/components/BaseLayout/options.js +0 -1
- package/lib/components/BaseLayout/type.d.ts +0 -52
- package/lib/components/product-introduction/constants.d.ts +0 -2
- package/lib/components/product-introduction/constants.js +0 -1
- package/lib/components/product-introduction/index.d.ts +0 -1
- package/lib/components/product-introduction/index.vue.js +0 -1
- package/lib/components/product-introduction/index.vue2.js +0 -1
- package/lib/components/product-introduction/types.d.ts +0 -5
- package/lib/hooks/useBoolean.js +0 -1
- package/lib/hooks/useContext.js +0 -1
- package/lib/hooks/useMenu.d.ts +0 -34
- package/lib/hooks/useMenu.js +0 -1
- package/lib/node_modules/.pnpm/@vueuse_core@13.0.0_vue@3.5.22_typescript@5.7.2_/node_modules/@vueuse/core/index.js +0 -1
- package/lib/node_modules/.pnpm/@vueuse_shared@13.0.0_vue@3.5.22_typescript@5.7.2_/node_modules/@vueuse/shared/index.js +0 -1
- /package/dist/components/{product-introduction → platform-navigation}/cssVar.d.ts +0 -0
- /package/es/components/{product-introduction → platform-navigation}/cssVar.d.ts +0 -0
- /package/es/components/{product-introduction → platform-navigation}/cssVar.mjs +0 -0
- /package/lib/components/{product-introduction → platform-navigation}/cssVar.d.ts +0 -0
- /package/lib/components/{product-introduction → platform-navigation}/cssVar.js +0 -0
|
@@ -1,51 +1,68 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { NDataTable as c } from "naive-ui";
|
|
3
|
-
import { bodenDataTableProps as
|
|
1
|
+
import { defineComponent as f, createVNode as o, mergeProps as l, ref as g, computed as a } from "vue";
|
|
2
|
+
import { NDataTable as c, NPagination as u } from "naive-ui";
|
|
3
|
+
import { bodenDataTableProps as v } from "./interface.mjs";
|
|
4
4
|
/* empty css */
|
|
5
|
-
const
|
|
6
|
-
name:
|
|
7
|
-
props:
|
|
5
|
+
const p = "BodenDataTable", C = /* @__PURE__ */ f({
|
|
6
|
+
name: p,
|
|
7
|
+
props: v,
|
|
8
8
|
slots: Object,
|
|
9
|
-
setup(
|
|
10
|
-
expose:
|
|
9
|
+
setup(r, {
|
|
10
|
+
expose: s
|
|
11
11
|
}) {
|
|
12
|
-
const
|
|
12
|
+
const t = g(), i = a(() => {
|
|
13
13
|
const e = {};
|
|
14
|
-
return
|
|
14
|
+
return r.transparent && Object.assign(e, {
|
|
15
15
|
tdColor: "#0000",
|
|
16
16
|
thColor: "#0000"
|
|
17
|
-
}),
|
|
18
|
-
})
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
page: (...e) => r.value.page(...e),
|
|
17
|
+
}), r.themeOverrides && Object.assign(e, r.themeOverrides), Object.keys(e).length ? e : void 0;
|
|
18
|
+
}), n = {
|
|
19
|
+
clearFilters: (...e) => t.value.clearFilters(...e),
|
|
20
|
+
clearSorter: (...e) => t.value.clearSorter(...e),
|
|
21
|
+
downloadCsv: (...e) => t.value.downloadCsv(...e),
|
|
22
|
+
filter: (...e) => t.value.filter(...e),
|
|
23
|
+
filters: (...e) => t.value.filters(...e),
|
|
24
|
+
page: (...e) => t.value.page(...e),
|
|
26
25
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
27
26
|
// @ts-ignore: Function overloading
|
|
28
|
-
scrollTo: (...e) =>
|
|
29
|
-
sort: (...e) =>
|
|
27
|
+
scrollTo: (...e) => t.value.scrollTo(...e),
|
|
28
|
+
sort: (...e) => t.value.sort(...e),
|
|
30
29
|
get $forwardComponent() {
|
|
31
|
-
return
|
|
30
|
+
return t.value;
|
|
32
31
|
}
|
|
33
|
-
}),
|
|
34
|
-
|
|
32
|
+
}, d = a(() => t.value?.mergedShowPagination), h = a(() => t.value?.mergedPagination), m = a(() => t.value?.mergedTheme);
|
|
33
|
+
return s(n), {
|
|
34
|
+
nRef: t,
|
|
35
|
+
ThemeOverrides: i,
|
|
36
|
+
mergedShowPagination: d,
|
|
37
|
+
mergedPagination: h,
|
|
38
|
+
mergedTheme: m
|
|
35
39
|
};
|
|
36
40
|
},
|
|
37
41
|
render() {
|
|
38
42
|
const {
|
|
39
|
-
$
|
|
40
|
-
|
|
41
|
-
ThemeOverrides: r
|
|
43
|
+
$props: r,
|
|
44
|
+
ThemeOverrides: s
|
|
42
45
|
} = this;
|
|
43
|
-
return
|
|
44
|
-
class: "
|
|
45
|
-
|
|
46
|
-
|
|
46
|
+
return o("div", {
|
|
47
|
+
class: ["boden-data-table", {
|
|
48
|
+
"h-full": this.flexHeight,
|
|
49
|
+
"is-header-icon-left": r.headerIconPlacement === "left"
|
|
50
|
+
}]
|
|
51
|
+
}, [o(c, l({
|
|
52
|
+
ref: "nRef"
|
|
53
|
+
}, r, {
|
|
54
|
+
class: this.flexHeight ? "h-full" : "",
|
|
55
|
+
themeOverrides: s
|
|
56
|
+
}), this.$slots), this.mergedShowPagination ? o("div", {
|
|
57
|
+
class: ["boden-data-table__footer", this.footerClass]
|
|
58
|
+
}, [this.$slots.footerLeft ? this.$slots.footerLeft() : null, o(u, l({
|
|
59
|
+
theme: this.mergedTheme?.peers?.Pagination,
|
|
60
|
+
themeOverrides: this.mergedTheme?.peerOverrides?.Pagination
|
|
61
|
+
}, this.mergedPagination, {
|
|
62
|
+
disabled: this.loading
|
|
63
|
+
}), null)]) : null]);
|
|
47
64
|
}
|
|
48
65
|
});
|
|
49
66
|
export {
|
|
50
|
-
|
|
67
|
+
C as default
|
|
51
68
|
};
|
|
@@ -1,66 +1,75 @@
|
|
|
1
|
-
import { ExtractPublicPropTypes, VNode } from 'vue';
|
|
2
|
-
import { DataTableInst } from 'naive-ui';
|
|
1
|
+
import { ExtractPublicPropTypes, PropType, VNode } from 'vue';
|
|
2
|
+
import { PaginationProps, DataTableInst } from 'naive-ui';
|
|
3
|
+
import { MergedTheme, Theme } from 'naive-ui/es/_mixins';
|
|
4
|
+
import { DataTableTheme, DataTableThemeVars } from 'naive-ui/es/data-table/styles';
|
|
3
5
|
export declare const bodenDataTableProps: {
|
|
6
|
+
headerIconPlacement: {
|
|
7
|
+
type: PropType<"left" | "right">;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
4
10
|
flexHeight: {
|
|
5
11
|
type: BooleanConstructor;
|
|
6
12
|
default: boolean;
|
|
7
13
|
};
|
|
14
|
+
footerClass: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
};
|
|
8
17
|
transparent: BooleanConstructor;
|
|
9
|
-
onUnstableColumnResize:
|
|
18
|
+
onUnstableColumnResize: PropType<(resizedWidth: number, limitedWidth: number, column: import('naive-ui').DataTableBaseColumn, getColumnWidth: (key: import('naive-ui').DataTableColumnKey) => number | undefined) => void>;
|
|
10
19
|
pagination: {
|
|
11
|
-
readonly type:
|
|
20
|
+
readonly type: PropType<false | PaginationProps>;
|
|
12
21
|
readonly default: false;
|
|
13
22
|
};
|
|
14
23
|
paginateSinglePage: {
|
|
15
24
|
readonly type: BooleanConstructor;
|
|
16
25
|
readonly default: true;
|
|
17
26
|
};
|
|
18
|
-
minHeight:
|
|
19
|
-
maxHeight:
|
|
27
|
+
minHeight: PropType<string | number>;
|
|
28
|
+
maxHeight: PropType<string | number>;
|
|
20
29
|
columns: {
|
|
21
|
-
readonly type:
|
|
30
|
+
readonly type: PropType<import('naive-ui').DataTableColumns<any>>;
|
|
22
31
|
readonly default: () => never[];
|
|
23
32
|
};
|
|
24
|
-
rowClassName:
|
|
25
|
-
rowProps:
|
|
26
|
-
rowKey:
|
|
27
|
-
summary:
|
|
33
|
+
rowClassName: PropType<string | import('naive-ui').DataTableCreateRowClassName<any>>;
|
|
34
|
+
rowProps: PropType<import('naive-ui').DataTableCreateRowProps<any>>;
|
|
35
|
+
rowKey: PropType<import('naive-ui').DataTableCreateRowKey<any>>;
|
|
36
|
+
summary: PropType<import('naive-ui').DataTableCreateSummary<any>>;
|
|
28
37
|
data: {
|
|
29
|
-
readonly type:
|
|
38
|
+
readonly type: PropType<import('naive-ui').DataTableRowData[]>;
|
|
30
39
|
readonly default: () => never[];
|
|
31
40
|
};
|
|
32
41
|
loading: BooleanConstructor;
|
|
33
42
|
bordered: {
|
|
34
|
-
readonly type:
|
|
43
|
+
readonly type: PropType<boolean | undefined>;
|
|
35
44
|
readonly default: undefined;
|
|
36
45
|
};
|
|
37
46
|
bottomBordered: {
|
|
38
|
-
readonly type:
|
|
47
|
+
readonly type: PropType<boolean | undefined>;
|
|
39
48
|
readonly default: undefined;
|
|
40
49
|
};
|
|
41
50
|
striped: BooleanConstructor;
|
|
42
|
-
scrollX:
|
|
51
|
+
scrollX: PropType<string | number>;
|
|
43
52
|
defaultCheckedRowKeys: {
|
|
44
|
-
readonly type:
|
|
53
|
+
readonly type: PropType<import('naive-ui').DataTableRowKey[]>;
|
|
45
54
|
readonly default: () => never[];
|
|
46
55
|
};
|
|
47
|
-
checkedRowKeys:
|
|
56
|
+
checkedRowKeys: PropType<import('naive-ui').DataTableRowKey[]>;
|
|
48
57
|
singleLine: {
|
|
49
58
|
readonly type: BooleanConstructor;
|
|
50
59
|
readonly default: true;
|
|
51
60
|
};
|
|
52
61
|
singleColumn: BooleanConstructor;
|
|
53
62
|
size: {
|
|
54
|
-
readonly type:
|
|
63
|
+
readonly type: PropType<"small" | "medium" | "large">;
|
|
55
64
|
readonly default: "medium";
|
|
56
65
|
};
|
|
57
66
|
remote: BooleanConstructor;
|
|
58
67
|
defaultExpandedRowKeys: {
|
|
59
|
-
readonly type:
|
|
68
|
+
readonly type: PropType<import('naive-ui').DataTableRowKey[]>;
|
|
60
69
|
readonly default: readonly [];
|
|
61
70
|
};
|
|
62
71
|
defaultExpandAll: BooleanConstructor;
|
|
63
|
-
expandedRowKeys:
|
|
72
|
+
expandedRowKeys: PropType<import('naive-ui').DataTableRowKey[]>;
|
|
64
73
|
stickyExpandedRows: BooleanConstructor;
|
|
65
74
|
virtualScroll: BooleanConstructor;
|
|
66
75
|
virtualScrollX: BooleanConstructor;
|
|
@@ -69,13 +78,13 @@ export declare const bodenDataTableProps: {
|
|
|
69
78
|
readonly type: NumberConstructor;
|
|
70
79
|
readonly default: 28;
|
|
71
80
|
};
|
|
72
|
-
heightForRow:
|
|
81
|
+
heightForRow: PropType<import('naive-ui/es/data-table/src/interface').DataTableHeightForRow>;
|
|
73
82
|
minRowHeight: {
|
|
74
83
|
readonly type: NumberConstructor;
|
|
75
84
|
readonly default: 28;
|
|
76
85
|
};
|
|
77
86
|
tableLayout: {
|
|
78
|
-
readonly type:
|
|
87
|
+
readonly type: PropType<"auto" | "fixed">;
|
|
79
88
|
readonly default: "auto";
|
|
80
89
|
};
|
|
81
90
|
allowCheckingNotLoaded: BooleanConstructor;
|
|
@@ -92,43 +101,43 @@ export declare const bodenDataTableProps: {
|
|
|
92
101
|
readonly default: 16;
|
|
93
102
|
};
|
|
94
103
|
summaryPlacement: {
|
|
95
|
-
readonly type:
|
|
104
|
+
readonly type: PropType<"top" | "bottom">;
|
|
96
105
|
readonly default: "bottom";
|
|
97
106
|
};
|
|
98
107
|
paginationBehaviorOnFilter: {
|
|
99
|
-
readonly type:
|
|
108
|
+
readonly type: PropType<"first" | "current">;
|
|
100
109
|
readonly default: "current";
|
|
101
110
|
};
|
|
102
|
-
filterIconPopoverProps:
|
|
103
|
-
scrollbarProps:
|
|
104
|
-
renderCell:
|
|
105
|
-
renderExpandIcon:
|
|
111
|
+
filterIconPopoverProps: PropType<import('naive-ui').PopoverProps>;
|
|
112
|
+
scrollbarProps: PropType<import('naive-ui').ScrollbarProps>;
|
|
113
|
+
renderCell: PropType<(value: any, rowData: object, column: import('naive-ui').DataTableBaseColumn) => import('vue').VNodeChild>;
|
|
114
|
+
renderExpandIcon: PropType<import('naive-ui/es/data-table/src/interface').RenderExpandIcon>;
|
|
106
115
|
spinProps: {
|
|
107
|
-
readonly type:
|
|
116
|
+
readonly type: PropType<import('naive-ui/es/_internal').BaseLoadingExposedProps>;
|
|
108
117
|
readonly default: {};
|
|
109
118
|
};
|
|
110
|
-
getCsvCell:
|
|
111
|
-
getCsvHeader:
|
|
112
|
-
onLoad:
|
|
113
|
-
'onUpdate:page':
|
|
114
|
-
onUpdatePage:
|
|
115
|
-
'onUpdate:pageSize':
|
|
116
|
-
onUpdatePageSize:
|
|
117
|
-
'onUpdate:sorter':
|
|
118
|
-
onUpdateSorter:
|
|
119
|
-
'onUpdate:filters':
|
|
120
|
-
onUpdateFilters:
|
|
121
|
-
'onUpdate:checkedRowKeys':
|
|
122
|
-
onUpdateCheckedRowKeys:
|
|
123
|
-
'onUpdate:expandedRowKeys':
|
|
124
|
-
onUpdateExpandedRowKeys:
|
|
125
|
-
onScroll:
|
|
126
|
-
onPageChange:
|
|
127
|
-
onPageSizeChange:
|
|
128
|
-
onSorterChange:
|
|
129
|
-
onFiltersChange:
|
|
130
|
-
onCheckedRowKeysChange:
|
|
131
|
-
theme:
|
|
119
|
+
getCsvCell: PropType<import('naive-ui').DataTableGetCsvCell>;
|
|
120
|
+
getCsvHeader: PropType<import('naive-ui').DataTableGetCsvHeader>;
|
|
121
|
+
onLoad: PropType<import('naive-ui/es/data-table/src/interface').DataTableOnLoad>;
|
|
122
|
+
'onUpdate:page': PropType<PaginationProps["onUpdate:page"]>;
|
|
123
|
+
onUpdatePage: PropType<PaginationProps["onUpdate:page"]>;
|
|
124
|
+
'onUpdate:pageSize': PropType<PaginationProps["onUpdate:pageSize"]>;
|
|
125
|
+
onUpdatePageSize: PropType<PaginationProps["onUpdate:pageSize"]>;
|
|
126
|
+
'onUpdate:sorter': PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateSorter>>;
|
|
127
|
+
onUpdateSorter: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateSorter>>;
|
|
128
|
+
'onUpdate:filters': PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateFilters>>;
|
|
129
|
+
onUpdateFilters: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateFilters>>;
|
|
130
|
+
'onUpdate:checkedRowKeys': PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateCheckedRowKeys>>;
|
|
131
|
+
onUpdateCheckedRowKeys: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateCheckedRowKeys>>;
|
|
132
|
+
'onUpdate:expandedRowKeys': PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateExpandedRowKeys>>;
|
|
133
|
+
onUpdateExpandedRowKeys: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateExpandedRowKeys>>;
|
|
134
|
+
onScroll: PropType<(e: Event) => void>;
|
|
135
|
+
onPageChange: PropType<PaginationProps["onUpdate:page"]>;
|
|
136
|
+
onPageSizeChange: PropType<PaginationProps["onUpdate:pageSize"]>;
|
|
137
|
+
onSorterChange: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateSorter> | undefined>;
|
|
138
|
+
onFiltersChange: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateFilters> | undefined>;
|
|
139
|
+
onCheckedRowKeysChange: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateCheckedRowKeys> | undefined>;
|
|
140
|
+
theme: PropType<import('naive-ui/es/_mixins').Theme<"DataTable", {
|
|
132
141
|
actionDividerColor: string;
|
|
133
142
|
lineHeight: string;
|
|
134
143
|
borderRadius: string;
|
|
@@ -1033,7 +1042,7 @@ export declare const bodenDataTableProps: {
|
|
|
1033
1042
|
}>;
|
|
1034
1043
|
}>;
|
|
1035
1044
|
}>>;
|
|
1036
|
-
themeOverrides:
|
|
1045
|
+
themeOverrides: PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"DataTable", {
|
|
1037
1046
|
actionDividerColor: string;
|
|
1038
1047
|
lineHeight: string;
|
|
1039
1048
|
borderRadius: string;
|
|
@@ -1938,7 +1947,7 @@ export declare const bodenDataTableProps: {
|
|
|
1938
1947
|
}>;
|
|
1939
1948
|
}>;
|
|
1940
1949
|
}>>>;
|
|
1941
|
-
builtinThemeOverrides:
|
|
1950
|
+
builtinThemeOverrides: PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"DataTable", {
|
|
1942
1951
|
actionDividerColor: string;
|
|
1943
1952
|
lineHeight: string;
|
|
1944
1953
|
borderRadius: string;
|
|
@@ -2849,7 +2858,13 @@ export type BodenDataTableSlots = {
|
|
|
2849
2858
|
default?: () => VNode[];
|
|
2850
2859
|
empty?: () => VNode[];
|
|
2851
2860
|
loading?: () => VNode[];
|
|
2861
|
+
footerLeft?: () => VNode[];
|
|
2852
2862
|
};
|
|
2853
2863
|
export type BodenDataTableInstance = DataTableInst & {
|
|
2854
2864
|
$forwardComponent: DataTableInst;
|
|
2855
2865
|
};
|
|
2866
|
+
export type DataTableInstComplete = DataTableInst & {
|
|
2867
|
+
mergedShowPagination?: boolean;
|
|
2868
|
+
mergedPagination?: PaginationProps;
|
|
2869
|
+
mergedTheme?: MergedTheme<Theme<'DataTable', DataTableThemeVars, DataTableTheme['peers']>>;
|
|
2870
|
+
};
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { dataTableProps as e } from "naive-ui";
|
|
2
|
-
const
|
|
2
|
+
const a = {
|
|
3
3
|
...e,
|
|
4
|
+
headerIconPlacement: {
|
|
5
|
+
type: String,
|
|
6
|
+
default: "left"
|
|
7
|
+
},
|
|
4
8
|
flexHeight: {
|
|
5
9
|
type: Boolean,
|
|
6
10
|
default: !0
|
|
7
11
|
},
|
|
12
|
+
footerClass: {
|
|
13
|
+
type: String
|
|
14
|
+
},
|
|
8
15
|
transparent: Boolean
|
|
9
16
|
};
|
|
10
17
|
export {
|
|
11
|
-
|
|
18
|
+
a as bodenDataTableProps
|
|
12
19
|
};
|
|
@@ -7,17 +7,20 @@ declare function __VLS_template(): {
|
|
|
7
7
|
};
|
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<BodenGlobalHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
10
|
+
togglePlatform: (key: string) => any;
|
|
11
|
+
toggleLogo: () => any;
|
|
10
12
|
toggleSystemTheme: (event: MouseEvent) => any;
|
|
11
13
|
toggleSystemLang: () => any;
|
|
12
14
|
toggleUserItem: (key: string | number, option: import('naive-ui').MenuOption) => any;
|
|
13
|
-
toggleLogo: () => any;
|
|
14
15
|
}, string, import('vue').PublicProps, Readonly<BodenGlobalHeaderProps> & Readonly<{
|
|
16
|
+
onTogglePlatform?: ((key: string) => any) | undefined;
|
|
17
|
+
onToggleLogo?: (() => any) | undefined;
|
|
15
18
|
onToggleSystemTheme?: ((event: MouseEvent) => any) | undefined;
|
|
16
19
|
onToggleSystemLang?: (() => any) | undefined;
|
|
17
20
|
onToggleUserItem?: ((key: string | number, option: import('naive-ui').MenuOption) => any) | undefined;
|
|
18
|
-
onToggleLogo?: (() => any) | undefined;
|
|
19
21
|
}>, {
|
|
20
22
|
isShowProductIntroduction: boolean;
|
|
23
|
+
productIntroductionTriggerDisabled: boolean;
|
|
21
24
|
isShowPlatformMenus: boolean;
|
|
22
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as S, ref as c, computed as I, createBlock as p, openBlock as s, unref as m, withCtx as i, createVNode as u, renderSlot as g, createCommentVNode as T, createSlots as w } from "vue";
|
|
2
|
+
import B from "./title.vue.mjs";
|
|
3
|
+
import L from "../system-actions/index.vue.mjs";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import "../layout/options.mjs";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import
|
|
7
|
+
import P from "../layout/header/index.vue.mjs";
|
|
8
8
|
import "../../config/themes/components/alert/light.mjs";
|
|
9
9
|
import "../../config/themes/components/button/light.mjs";
|
|
10
10
|
import "../../config/themes/components/card/light.mjs";
|
|
@@ -57,23 +57,24 @@ import "../../config/themes/common/dark.mjs";
|
|
|
57
57
|
import "../../config/themes/components/charts/dark.mjs";
|
|
58
58
|
import "../../config/themes/components/charts/light.mjs";
|
|
59
59
|
/* empty css */
|
|
60
|
-
import
|
|
60
|
+
import b from "../layout/aside-menu/aside-menu.mjs";
|
|
61
61
|
import "../layout/aside-menu/props.mjs";
|
|
62
|
-
const
|
|
62
|
+
const Ko = /* @__PURE__ */ S({
|
|
63
63
|
name: "BodenGlobalHeader",
|
|
64
64
|
__name: "index",
|
|
65
65
|
props: {
|
|
66
66
|
isShowPlatformMenus: { type: Boolean, default: !0 },
|
|
67
|
-
|
|
67
|
+
platformCode: {},
|
|
68
|
+
productIntroductionTriggerDisabled: { type: Boolean, default: !1 },
|
|
68
69
|
userActionOption: {},
|
|
69
70
|
userInfo: {},
|
|
70
71
|
headerHeight: {},
|
|
71
72
|
isShowProductIntroduction: { type: Boolean, default: !0 },
|
|
72
73
|
isShowLogo: { type: Boolean }
|
|
73
74
|
},
|
|
74
|
-
emits: ["toggleSystemTheme", "toggleSystemLang", "toggleUserItem", "toggleLogo"],
|
|
75
|
-
setup(
|
|
76
|
-
const n =
|
|
75
|
+
emits: ["toggleSystemTheme", "toggleSystemLang", "toggleUserItem", "toggleLogo", "togglePlatform"],
|
|
76
|
+
setup(o, { emit: a }) {
|
|
77
|
+
const l = a, n = c("ADS"), d = I(() => [
|
|
77
78
|
{
|
|
78
79
|
key: "ADS",
|
|
79
80
|
label: "ADS",
|
|
@@ -92,49 +93,57 @@ const bo = /* @__PURE__ */ g({
|
|
|
92
93
|
routeKey: "",
|
|
93
94
|
routePath: ""
|
|
94
95
|
}
|
|
95
|
-
]),
|
|
96
|
+
]), f = () => {
|
|
97
|
+
}, y = () => {
|
|
98
|
+
l("toggleLogo");
|
|
99
|
+
}, h = (t) => {
|
|
100
|
+
l("togglePlatform", t);
|
|
96
101
|
};
|
|
97
|
-
return (
|
|
102
|
+
return (t, e) => (s(), p(m(P), null, {
|
|
98
103
|
title: i(() => [
|
|
99
|
-
|
|
100
|
-
"is-show-logo":
|
|
101
|
-
"is-show-product-introduction":
|
|
102
|
-
"header-height":
|
|
103
|
-
|
|
104
|
-
|
|
104
|
+
u(B, {
|
|
105
|
+
"is-show-logo": o.isShowLogo,
|
|
106
|
+
"is-show-product-introduction": o.isShowProductIntroduction,
|
|
107
|
+
"header-height": o.headerHeight,
|
|
108
|
+
platformCode: o.platformCode,
|
|
109
|
+
productIntroductionTriggerDisabled: o.productIntroductionTriggerDisabled,
|
|
110
|
+
onToggleLogo: y,
|
|
111
|
+
onTogglePlatform: h
|
|
112
|
+
}, w({ _: 2 }, [
|
|
113
|
+
t.$slots.logo ? {
|
|
105
114
|
name: "logo",
|
|
106
115
|
fn: i(() => [
|
|
107
|
-
|
|
116
|
+
g(t.$slots, "logo")
|
|
108
117
|
]),
|
|
109
118
|
key: "0"
|
|
110
119
|
} : void 0
|
|
111
|
-
]), 1032, ["is-show-logo", "is-show-product-introduction", "header-height"])
|
|
120
|
+
]), 1032, ["is-show-logo", "is-show-product-introduction", "header-height", "platformCode", "productIntroductionTriggerDisabled"])
|
|
112
121
|
]),
|
|
113
122
|
default: i(() => [
|
|
114
|
-
|
|
115
|
-
|
|
123
|
+
g(t.$slots, "default", {}, () => [
|
|
124
|
+
o.isShowPlatformMenus ? (s(), p(m(b), {
|
|
116
125
|
key: 0,
|
|
117
126
|
mode: "horizontal",
|
|
118
127
|
value: n.value,
|
|
119
128
|
"onUpdate:value": [
|
|
120
|
-
|
|
121
|
-
|
|
129
|
+
e[0] || (e[0] = (r) => n.value = r),
|
|
130
|
+
f
|
|
122
131
|
],
|
|
123
|
-
options:
|
|
132
|
+
options: d.value,
|
|
124
133
|
indent: 18,
|
|
125
134
|
responsive: ""
|
|
126
|
-
}, null, 8, ["value", "options"])) :
|
|
135
|
+
}, null, 8, ["value", "options"])) : T("", !0)
|
|
127
136
|
])
|
|
128
137
|
]),
|
|
129
138
|
actions: i(() => [
|
|
130
|
-
|
|
139
|
+
u(m(L), {
|
|
131
140
|
style: { "margin-left": "auto" },
|
|
132
141
|
mode: "horizontal",
|
|
133
|
-
userActionOption:
|
|
134
|
-
userInfo:
|
|
135
|
-
onToggleSystemTheme:
|
|
136
|
-
onToggleSystemLang:
|
|
137
|
-
onToggleUserItem:
|
|
142
|
+
userActionOption: o.userActionOption,
|
|
143
|
+
userInfo: o.userInfo,
|
|
144
|
+
onToggleSystemTheme: e[1] || (e[1] = (r) => t.$emit("toggleSystemTheme", r)),
|
|
145
|
+
onToggleSystemLang: e[2] || (e[2] = (r) => t.$emit("toggleSystemLang")),
|
|
146
|
+
onToggleUserItem: e[3] || (e[3] = (...r) => t.$emit("toggleUserItem", ...r))
|
|
138
147
|
}, null, 8, ["userActionOption", "userInfo"])
|
|
139
148
|
]),
|
|
140
149
|
_: 3
|
|
@@ -142,5 +151,5 @@ const bo = /* @__PURE__ */ g({
|
|
|
142
151
|
}
|
|
143
152
|
});
|
|
144
153
|
export {
|
|
145
|
-
|
|
154
|
+
Ko as default
|
|
146
155
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
|
+
import { PLATFORM_ENUM } from '../platform-navigation/interface';
|
|
2
3
|
import { BodenSystemActionsProps, BodenSystemActionsEmits } from '../system-actions';
|
|
3
|
-
export declare const enum PLATFORM_CODE {
|
|
4
|
-
BASE = 1,
|
|
5
|
-
BLINK = 2,
|
|
6
|
-
ACCOUNT_MANAGEMENT = 3
|
|
7
|
-
}
|
|
8
4
|
export type BodenGlobalHeaderProps = {
|
|
9
5
|
isShowPlatformMenus?: boolean;
|
|
10
|
-
|
|
6
|
+
platformCode?: Array<PLATFORM_ENUM>;
|
|
7
|
+
productIntroductionTriggerDisabled?: boolean;
|
|
11
8
|
} & Omit<BodenSystemActionsProps, 'mode'> & BodenGlobalHeaderTitleProps;
|
|
12
9
|
export type BodenGlobalHeaderSlots = {
|
|
13
10
|
default?: () => VNode;
|
|
14
11
|
logo?: () => VNode;
|
|
15
12
|
};
|
|
16
|
-
export type BodenGlobalHeaderEmits = BodenSystemActionsEmits &
|
|
13
|
+
export type BodenGlobalHeaderEmits = BodenSystemActionsEmits & {
|
|
14
|
+
(e: 'toggleLogo'): void;
|
|
15
|
+
(e: 'togglePlatform', key: string): void;
|
|
16
|
+
};
|
|
17
17
|
export type BodenMenuOptionType = {
|
|
18
18
|
key: string;
|
|
19
19
|
/** The menu label */
|
|
@@ -29,6 +29,8 @@ export type BodenGlobalHeaderTitleProps = {
|
|
|
29
29
|
headerHeight?: number;
|
|
30
30
|
isShowProductIntroduction?: boolean;
|
|
31
31
|
isShowLogo?: boolean;
|
|
32
|
+
productIntroductionTriggerDisabled?: boolean;
|
|
33
|
+
platformCode?: Array<PLATFORM_ENUM>;
|
|
32
34
|
};
|
|
33
35
|
export type BodenGlobalHeaderTitleSlots = {
|
|
34
36
|
logo?: () => VNode;
|
|
@@ -8,9 +8,17 @@ declare function __VLS_template(): {
|
|
|
8
8
|
rootEl: any;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<BodenGlobalHeaderTitleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<BodenGlobalHeaderTitleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
togglePlatform: (...args: any[]) => void;
|
|
13
|
+
toggleLogo: (...args: any[]) => void;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<BodenGlobalHeaderTitleProps> & Readonly<{
|
|
15
|
+
onTogglePlatform?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
onToggleLogo?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
platformCode: Array<import('../platform-navigation/interface').PLATFORM_ENUM>;
|
|
12
19
|
isShowProductIntroduction: boolean;
|
|
13
20
|
isShowLogo: boolean;
|
|
21
|
+
productIntroductionTriggerDisabled: boolean;
|
|
14
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
24
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./title.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4ba88c64"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|