base6-ui 2.0.7 → 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 +1363 -1
- package/dist/components/data-table/interface.d.ts +19 -8
- package/dist/components/global-header/index.vue.d.ts +3 -2
- package/dist/components/global-header/interface.d.ts +5 -6
- package/dist/components/global-header/title.vue.d.ts +2 -0
- 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 +5 -3
- 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/es/components/data-table/data-table.d.ts +1363 -1
- package/es/components/data-table/data-table.mjs +49 -34
- package/es/components/data-table/interface.d.ts +19 -8
- package/es/components/data-table/interface.mjs +3 -0
- package/es/components/global-header/index.vue.d.ts +3 -2
- package/es/components/global-header/index.vue.mjs +35 -32
- package/es/components/global-header/interface.d.ts +5 -6
- package/es/components/global-header/title.vue.d.ts +2 -0
- package/es/components/global-header/title.vue.mjs +2 -2
- package/es/components/global-header/title.vue2.mjs +34 -30
- package/es/components/index.d.ts +1 -2
- package/es/components/layout/components/{WrapHeader.vue.mjs → WrapHeader.vue2.mjs} +1 -1
- package/es/components/layout/index.vue2.mjs +1 -1
- 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 +5 -3
- 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/lib/components/data-table/data-table.d.ts +1363 -1
- package/lib/components/data-table/data-table.js +1 -1
- package/lib/components/data-table/interface.d.ts +19 -8
- package/lib/components/data-table/interface.js +1 -1
- package/lib/components/global-header/index.vue.d.ts +3 -2
- package/lib/components/global-header/index.vue.js +1 -1
- package/lib/components/global-header/interface.d.ts +5 -6
- package/lib/components/global-header/title.vue.d.ts +2 -0
- 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 -0
- package/lib/components/layout/header/index.vue.js +1 -1
- package/lib/components/layout/index.vue.js +1 -1
- package/lib/components/layout/index.vue2.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 +5 -3
- 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/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 -2
- package/dist/components/product-introduction/interface.d.ts +0 -20
- 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 -2
- package/es/components/product-introduction/index.vue2.mjs +0 -185
- package/es/components/product-introduction/interface.d.ts +0 -20
- 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/layout/components/WrapHeader.vue.js +0 -1
- 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 -2
- 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/interface.d.ts +0 -20
- 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,53 +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: ["boden-data-table
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
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]);
|
|
49
64
|
}
|
|
50
65
|
});
|
|
51
66
|
export {
|
|
52
|
-
|
|
67
|
+
C as default
|
|
53
68
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes, PropType, VNode } from 'vue';
|
|
2
|
-
import { DataTableInst } from 'naive-ui';
|
|
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: {
|
|
4
6
|
headerIconPlacement: {
|
|
5
7
|
type: PropType<"left" | "right">;
|
|
@@ -9,10 +11,13 @@ export declare const bodenDataTableProps: {
|
|
|
9
11
|
type: BooleanConstructor;
|
|
10
12
|
default: boolean;
|
|
11
13
|
};
|
|
14
|
+
footerClass: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
};
|
|
12
17
|
transparent: BooleanConstructor;
|
|
13
18
|
onUnstableColumnResize: PropType<(resizedWidth: number, limitedWidth: number, column: import('naive-ui').DataTableBaseColumn, getColumnWidth: (key: import('naive-ui').DataTableColumnKey) => number | undefined) => void>;
|
|
14
19
|
pagination: {
|
|
15
|
-
readonly type: PropType<false |
|
|
20
|
+
readonly type: PropType<false | PaginationProps>;
|
|
16
21
|
readonly default: false;
|
|
17
22
|
};
|
|
18
23
|
paginateSinglePage: {
|
|
@@ -114,10 +119,10 @@ export declare const bodenDataTableProps: {
|
|
|
114
119
|
getCsvCell: PropType<import('naive-ui').DataTableGetCsvCell>;
|
|
115
120
|
getCsvHeader: PropType<import('naive-ui').DataTableGetCsvHeader>;
|
|
116
121
|
onLoad: PropType<import('naive-ui/es/data-table/src/interface').DataTableOnLoad>;
|
|
117
|
-
'onUpdate:page': PropType<
|
|
118
|
-
onUpdatePage: PropType<
|
|
119
|
-
'onUpdate:pageSize': PropType<
|
|
120
|
-
onUpdatePageSize: PropType<
|
|
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"]>;
|
|
121
126
|
'onUpdate:sorter': PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateSorter>>;
|
|
122
127
|
onUpdateSorter: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateSorter>>;
|
|
123
128
|
'onUpdate:filters': PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateFilters>>;
|
|
@@ -127,8 +132,8 @@ export declare const bodenDataTableProps: {
|
|
|
127
132
|
'onUpdate:expandedRowKeys': PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateExpandedRowKeys>>;
|
|
128
133
|
onUpdateExpandedRowKeys: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateExpandedRowKeys>>;
|
|
129
134
|
onScroll: PropType<(e: Event) => void>;
|
|
130
|
-
onPageChange: PropType<
|
|
131
|
-
onPageSizeChange: PropType<
|
|
135
|
+
onPageChange: PropType<PaginationProps["onUpdate:page"]>;
|
|
136
|
+
onPageSizeChange: PropType<PaginationProps["onUpdate:pageSize"]>;
|
|
132
137
|
onSorterChange: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateSorter> | undefined>;
|
|
133
138
|
onFiltersChange: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateFilters> | undefined>;
|
|
134
139
|
onCheckedRowKeysChange: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateCheckedRowKeys> | undefined>;
|
|
@@ -2853,7 +2858,13 @@ export type BodenDataTableSlots = {
|
|
|
2853
2858
|
default?: () => VNode[];
|
|
2854
2859
|
empty?: () => VNode[];
|
|
2855
2860
|
loading?: () => VNode[];
|
|
2861
|
+
footerLeft?: () => VNode[];
|
|
2856
2862
|
};
|
|
2857
2863
|
export type BodenDataTableInstance = DataTableInst & {
|
|
2858
2864
|
$forwardComponent: DataTableInst;
|
|
2859
2865
|
};
|
|
2866
|
+
export type DataTableInstComplete = DataTableInst & {
|
|
2867
|
+
mergedShowPagination?: boolean;
|
|
2868
|
+
mergedPagination?: PaginationProps;
|
|
2869
|
+
mergedTheme?: MergedTheme<Theme<'DataTable', DataTableThemeVars, DataTableTheme['peers']>>;
|
|
2870
|
+
};
|
|
@@ -8,18 +8,19 @@ declare function __VLS_template(): {
|
|
|
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
10
|
togglePlatform: (key: string) => any;
|
|
11
|
+
toggleLogo: () => any;
|
|
11
12
|
toggleSystemTheme: (event: MouseEvent) => any;
|
|
12
13
|
toggleSystemLang: () => any;
|
|
13
14
|
toggleUserItem: (key: string | number, option: import('naive-ui').MenuOption) => any;
|
|
14
|
-
toggleLogo: () => any;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<BodenGlobalHeaderProps> & Readonly<{
|
|
16
16
|
onTogglePlatform?: ((key: string) => any) | undefined;
|
|
17
|
+
onToggleLogo?: (() => any) | undefined;
|
|
17
18
|
onToggleSystemTheme?: ((event: MouseEvent) => any) | undefined;
|
|
18
19
|
onToggleSystemLang?: (() => any) | undefined;
|
|
19
20
|
onToggleUserItem?: ((key: string | number, option: import('naive-ui').MenuOption) => any) | undefined;
|
|
20
|
-
onToggleLogo?: (() => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
isShowProductIntroduction: boolean;
|
|
23
|
+
productIntroductionTriggerDisabled: boolean;
|
|
23
24
|
isShowPlatformMenus: boolean;
|
|
24
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as S, ref as c, computed as
|
|
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
2
|
import B from "./title.vue.mjs";
|
|
3
|
-
import
|
|
4
|
-
/* empty css
|
|
3
|
+
import L from "../system-actions/index.vue.mjs";
|
|
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,14 +57,15 @@ 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: {},
|
|
@@ -72,8 +73,8 @@ const Oo = /* @__PURE__ */ S({
|
|
|
72
73
|
isShowLogo: { type: Boolean }
|
|
73
74
|
},
|
|
74
75
|
emits: ["toggleSystemTheme", "toggleSystemLang", "toggleUserItem", "toggleLogo", "togglePlatform"],
|
|
75
|
-
setup(
|
|
76
|
-
const
|
|
76
|
+
setup(o, { emit: a }) {
|
|
77
|
+
const l = a, n = c("ADS"), d = I(() => [
|
|
77
78
|
{
|
|
78
79
|
key: "ADS",
|
|
79
80
|
label: "ADS",
|
|
@@ -94,53 +95,55 @@ const Oo = /* @__PURE__ */ S({
|
|
|
94
95
|
}
|
|
95
96
|
]), f = () => {
|
|
96
97
|
}, y = () => {
|
|
97
|
-
|
|
98
|
-
}, h = (
|
|
99
|
-
|
|
98
|
+
l("toggleLogo");
|
|
99
|
+
}, h = (t) => {
|
|
100
|
+
l("togglePlatform", t);
|
|
100
101
|
};
|
|
101
|
-
return (
|
|
102
|
+
return (t, e) => (s(), p(m(P), null, {
|
|
102
103
|
title: i(() => [
|
|
103
104
|
u(B, {
|
|
104
|
-
"is-show-logo":
|
|
105
|
-
"is-show-product-introduction":
|
|
106
|
-
"header-height":
|
|
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,
|
|
107
110
|
onToggleLogo: y,
|
|
108
111
|
onTogglePlatform: h
|
|
109
|
-
},
|
|
110
|
-
|
|
112
|
+
}, w({ _: 2 }, [
|
|
113
|
+
t.$slots.logo ? {
|
|
111
114
|
name: "logo",
|
|
112
115
|
fn: i(() => [
|
|
113
|
-
g(
|
|
116
|
+
g(t.$slots, "logo")
|
|
114
117
|
]),
|
|
115
118
|
key: "0"
|
|
116
119
|
} : void 0
|
|
117
|
-
]), 1032, ["is-show-logo", "is-show-product-introduction", "header-height"])
|
|
120
|
+
]), 1032, ["is-show-logo", "is-show-product-introduction", "header-height", "platformCode", "productIntroductionTriggerDisabled"])
|
|
118
121
|
]),
|
|
119
122
|
default: i(() => [
|
|
120
|
-
g(
|
|
121
|
-
|
|
123
|
+
g(t.$slots, "default", {}, () => [
|
|
124
|
+
o.isShowPlatformMenus ? (s(), p(m(b), {
|
|
122
125
|
key: 0,
|
|
123
126
|
mode: "horizontal",
|
|
124
|
-
value:
|
|
127
|
+
value: n.value,
|
|
125
128
|
"onUpdate:value": [
|
|
126
|
-
|
|
129
|
+
e[0] || (e[0] = (r) => n.value = r),
|
|
127
130
|
f
|
|
128
131
|
],
|
|
129
132
|
options: d.value,
|
|
130
133
|
indent: 18,
|
|
131
134
|
responsive: ""
|
|
132
|
-
}, null, 8, ["value", "options"])) :
|
|
135
|
+
}, null, 8, ["value", "options"])) : T("", !0)
|
|
133
136
|
])
|
|
134
137
|
]),
|
|
135
138
|
actions: i(() => [
|
|
136
|
-
u(m(
|
|
139
|
+
u(m(L), {
|
|
137
140
|
style: { "margin-left": "auto" },
|
|
138
141
|
mode: "horizontal",
|
|
139
|
-
userActionOption:
|
|
140
|
-
userInfo:
|
|
141
|
-
onToggleSystemTheme:
|
|
142
|
-
onToggleSystemLang:
|
|
143
|
-
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))
|
|
144
147
|
}, null, 8, ["userActionOption", "userInfo"])
|
|
145
148
|
]),
|
|
146
149
|
_: 3
|
|
@@ -148,5 +151,5 @@ const Oo = /* @__PURE__ */ S({
|
|
|
148
151
|
}
|
|
149
152
|
});
|
|
150
153
|
export {
|
|
151
|
-
|
|
154
|
+
Ko as default
|
|
152
155
|
};
|
|
@@ -1,13 +1,10 @@
|
|
|
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;
|
|
@@ -32,6 +29,8 @@ export type BodenGlobalHeaderTitleProps = {
|
|
|
32
29
|
headerHeight?: number;
|
|
33
30
|
isShowProductIntroduction?: boolean;
|
|
34
31
|
isShowLogo?: boolean;
|
|
32
|
+
productIntroductionTriggerDisabled?: boolean;
|
|
33
|
+
platformCode?: Array<PLATFORM_ENUM>;
|
|
35
34
|
};
|
|
36
35
|
export type BodenGlobalHeaderTitleSlots = {
|
|
37
36
|
logo?: () => VNode;
|
|
@@ -15,8 +15,10 @@ declare const __VLS_component: import('vue').DefineComponent<BodenGlobalHeaderTi
|
|
|
15
15
|
onTogglePlatform?: ((...args: any[]) => any) | undefined;
|
|
16
16
|
onToggleLogo?: ((...args: any[]) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
+
platformCode: Array<import('../platform-navigation/interface').PLATFORM_ENUM>;
|
|
18
19
|
isShowProductIntroduction: boolean;
|
|
19
20
|
isShowLogo: boolean;
|
|
21
|
+
productIntroductionTriggerDisabled: boolean;
|
|
20
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
24
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./title.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const m = /* @__PURE__ */
|
|
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
|
};
|
|
@@ -1,48 +1,52 @@
|
|
|
1
|
-
import { NDivider as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
const
|
|
1
|
+
import { NDivider as h } from "naive-ui";
|
|
2
|
+
import { defineComponent as v, computed as a, createElementBlock as d, createCommentVNode as t, openBlock as r, createBlock as k, Fragment as C, createVNode as g, unref as P, createSlots as y, withCtx as D, renderSlot as S } from "vue";
|
|
3
|
+
import b from "../platform-navigation/index.vue.mjs";
|
|
4
|
+
import w from "../logo/index.vue.mjs";
|
|
5
|
+
import B from "../../hooks/useNaiveConfigProvideContext.mjs";
|
|
6
|
+
const L = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "boden-global-header-title-container"
|
|
9
|
-
},
|
|
9
|
+
}, H = /* @__PURE__ */ v({
|
|
10
10
|
__name: "title",
|
|
11
11
|
props: {
|
|
12
12
|
headerHeight: {},
|
|
13
13
|
isShowProductIntroduction: { type: Boolean, default: !0 },
|
|
14
|
-
isShowLogo: { type: Boolean, default: !0 }
|
|
14
|
+
isShowLogo: { type: Boolean, default: !0 },
|
|
15
|
+
productIntroductionTriggerDisabled: { type: Boolean, default: !1 },
|
|
16
|
+
platformCode: { default: () => [] }
|
|
15
17
|
},
|
|
16
18
|
emits: ["toggleLogo", "togglePlatform"],
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
19
|
-
const { name:
|
|
20
|
-
return
|
|
19
|
+
setup(o, { emit: s }) {
|
|
20
|
+
const i = o, l = s, m = B(), c = a(() => {
|
|
21
|
+
const { name: e = "light" } = m?.mergedThemeRef.value || {};
|
|
22
|
+
return e !== "light";
|
|
21
23
|
}), u = a(
|
|
22
|
-
() =>
|
|
23
|
-
), f = (
|
|
24
|
-
|
|
24
|
+
() => i.isShowLogo || i.isShowProductIntroduction
|
|
25
|
+
), f = (e) => {
|
|
26
|
+
l("togglePlatform", e);
|
|
25
27
|
};
|
|
26
|
-
return (
|
|
27
|
-
const
|
|
28
|
-
return u.value ? (r(),
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
y: e.headerHeight,
|
|
28
|
+
return (e, n) => {
|
|
29
|
+
const p = h;
|
|
30
|
+
return u.value ? (r(), d("div", L, [
|
|
31
|
+
o.isShowProductIntroduction ? (r(), d(C, { key: 0 }, [
|
|
32
|
+
g(P(b), {
|
|
32
33
|
class: "pl-[20px]",
|
|
34
|
+
y: o.headerHeight,
|
|
35
|
+
platformCode: o.platformCode,
|
|
36
|
+
triggerDisabled: o.productIntroductionTriggerDisabled,
|
|
33
37
|
onTogglePlatform: f
|
|
34
|
-
}, null, 8, ["y"]),
|
|
35
|
-
|
|
38
|
+
}, null, 8, ["y", "platformCode", "triggerDisabled"]),
|
|
39
|
+
g(p, { vertical: "" })
|
|
36
40
|
], 64)) : t("", !0),
|
|
37
|
-
|
|
41
|
+
o.isShowLogo ? (r(), k(w, {
|
|
38
42
|
key: 1,
|
|
39
|
-
isDarkMode:
|
|
40
|
-
onToggleLogo:
|
|
43
|
+
isDarkMode: c.value,
|
|
44
|
+
onToggleLogo: n[0] || (n[0] = (N) => l("toggleLogo"))
|
|
41
45
|
}, y({ _: 2 }, [
|
|
42
|
-
|
|
46
|
+
e.$slots.logo ? {
|
|
43
47
|
name: "default",
|
|
44
|
-
fn:
|
|
45
|
-
|
|
48
|
+
fn: D(() => [
|
|
49
|
+
S(e.$slots, "logo", {}, void 0, !0)
|
|
46
50
|
]),
|
|
47
51
|
key: "0"
|
|
48
52
|
} : void 0
|
|
@@ -52,5 +56,5 @@ const N = {
|
|
|
52
56
|
}
|
|
53
57
|
});
|
|
54
58
|
export {
|
|
55
|
-
|
|
59
|
+
H as default
|
|
56
60
|
};
|
package/es/components/index.d.ts
CHANGED
|
@@ -5,13 +5,12 @@ export * from './config-provider';
|
|
|
5
5
|
export * from './data-table';
|
|
6
6
|
export * from './dialog';
|
|
7
7
|
export * from './input-number';
|
|
8
|
-
export * from './BaseLayout';
|
|
9
8
|
export * from './global-header';
|
|
10
9
|
export * from './layout';
|
|
11
10
|
export * from './logo';
|
|
12
11
|
export * from './nav-icon';
|
|
13
12
|
export * from './radio';
|
|
14
|
-
export * from './
|
|
13
|
+
export * from './platform-navigation';
|
|
15
14
|
export { default as BodenProgress } from './progress';
|
|
16
15
|
export * from './select';
|
|
17
16
|
export * from './slider';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as I, mergeDefaults as _, useSlots as E, computed as o, createElementBlock as T, openBlock as u, normalizeStyle as j, createElementVNode as z, normalizeClass as G, unref as M, createBlock as p, createCommentVNode as l, createVNode as P, withCtx as d, renderSlot as c } from "vue";
|
|
2
|
-
import A from "./components/WrapHeader.
|
|
2
|
+
import A from "./components/WrapHeader.vue2.mjs";
|
|
3
3
|
import N from "./components/WrapTab.vue.mjs";
|
|
4
4
|
import D from "./components/WrapContent.vue.mjs";
|
|
5
5
|
import O from "./components/WrapSlider.vue.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const m = /* @__PURE__ */
|
|
3
|
+
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b2c44205"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,37 +1,39 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { getNavIconStyleCssVar as
|
|
4
|
-
const z = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as v, ref as g, computed as s, createElementBlock as n, openBlock as o, normalizeStyle as k, normalizeClass as y, Fragment as C, renderList as b } from "vue";
|
|
2
|
+
import h from "../../hooks/useNaiveConfigProvideContext.mjs";
|
|
3
|
+
import { getNavIconStyleCssVar as x } from "./cssVar.mjs";
|
|
4
|
+
const z = /* @__PURE__ */ v({
|
|
5
5
|
__name: "index",
|
|
6
6
|
props: {
|
|
7
|
-
active: { type: Boolean, default: !1 }
|
|
7
|
+
active: { type: Boolean, default: !1 },
|
|
8
|
+
disabled: { type: Boolean }
|
|
8
9
|
},
|
|
9
10
|
emits: ["click"],
|
|
10
|
-
setup(
|
|
11
|
-
const a =
|
|
11
|
+
setup(t, { expose: l, emit: r }) {
|
|
12
|
+
const a = t, c = r, i = g(null), d = h(), m = s(() => {
|
|
12
13
|
const {
|
|
13
14
|
name: e = "light"
|
|
14
|
-
} =
|
|
15
|
+
} = d?.mergedThemeRef.value || {};
|
|
15
16
|
return e !== "light";
|
|
16
|
-
}), f =
|
|
17
|
-
a("click", e);
|
|
17
|
+
}), f = s(() => x(m.value)), u = (e) => {
|
|
18
|
+
a.disabled || c("click", e);
|
|
18
19
|
};
|
|
19
|
-
return
|
|
20
|
-
instRef:
|
|
21
|
-
}), (e,
|
|
20
|
+
return l({
|
|
21
|
+
instRef: i
|
|
22
|
+
}), (e, B) => (o(), n("div", {
|
|
22
23
|
ref_key: "instRef",
|
|
23
|
-
ref:
|
|
24
|
-
class:
|
|
24
|
+
ref: i,
|
|
25
|
+
class: y([
|
|
25
26
|
"boden-nav-icon",
|
|
26
27
|
{
|
|
27
|
-
"is-toggle":
|
|
28
|
+
"is-toggle": t.active,
|
|
29
|
+
"is-disabled": t.disabled
|
|
28
30
|
}
|
|
29
31
|
]),
|
|
30
|
-
style:
|
|
32
|
+
style: k(f.value),
|
|
31
33
|
onClick: u
|
|
32
34
|
}, [
|
|
33
|
-
(
|
|
34
|
-
key:
|
|
35
|
+
(o(!0), n(C, null, b(Array(3), (_, p) => (o(), n("span", {
|
|
36
|
+
key: p,
|
|
35
37
|
class: "line"
|
|
36
38
|
}))), 128))
|
|
37
39
|
], 6));
|
package/{lib/components/product-introduction → es/components/platform-navigation}/index.vue.d.ts
RENAMED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
import { BodenPlatformNavigationProps, PLATFORM_ENUM } from './interface';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<BodenPlatformNavigationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
3
|
togglePlatform: (...args: any[]) => void;
|
|
4
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<BodenPlatformNavigationProps> & Readonly<{
|
|
5
5
|
onTogglePlatform?: ((...args: any[]) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
7
|
x: number;
|
|
8
8
|
y: number;
|
|
9
|
+
platformCode: PLATFORM_ENUM[];
|
|
10
|
+
triggerDisabled: boolean;
|
|
9
11
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
10
12
|
triggerInstRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').BodenNavIconProps> & Readonly<{
|
|
11
13
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -2,7 +2,7 @@ import o from "./index.vue2.mjs";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const
|
|
5
|
+
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5775127f"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
i as default
|
|
8
8
|
};
|