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,185 +0,0 @@
|
|
|
1
|
-
import { NPopover as V, NCard as z, NButton as A } from "naive-ui";
|
|
2
|
-
import { defineComponent as L, mergeDefaults as U, ref as h, computed as v, resolveComponent as E, createElementBlock as u, openBlock as c, createVNode as d, createBlock as b, withModifiers as y, normalizeStyle as M, withCtx as p, createElementVNode as e, toDisplayString as m, unref as F, Fragment as g, renderList as P, createCommentVNode as j, createTextVNode as C, Teleport as q, withDirectives as G, vShow as H } from "vue";
|
|
3
|
-
import J from "../nav-icon/index.vue.mjs";
|
|
4
|
-
import { useLocale as K } from "../../hooks/useLocale.mjs";
|
|
5
|
-
import Q from "../../hooks/useNaiveConfigProvideContext.mjs";
|
|
6
|
-
import W from "../../assets/cover/base-ads.png.mjs";
|
|
7
|
-
import X from "../../assets/cover/base-studio.png.mjs";
|
|
8
|
-
import Y from "../../assets/cover/base-multimodal.png.mjs";
|
|
9
|
-
import Z from "../../assets/cover/source-robot.png.mjs";
|
|
10
|
-
import { createCardThemeOverrides as oo, createPopoverCssVar as eo } from "./cssVar.mjs";
|
|
11
|
-
import { DEFAULT_PRODUCT_INTRODUCTION_PROPS as to } from "./constants.mjs";
|
|
12
|
-
const no = { class: "header" }, io = { class: "content-wrap" }, ro = { class: "content-item-header" }, so = { class: "icon" }, co = ["onClick"], lo = { class: "description" }, ao = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "content-child-wrap"
|
|
15
|
-
}, uo = ["src"], po = { class: "to-use" }, mo = { class: "boden-product-introduction-panel-mask" }, wo = /* @__PURE__ */ L({
|
|
16
|
-
__name: "index",
|
|
17
|
-
props: /* @__PURE__ */ U({
|
|
18
|
-
x: {},
|
|
19
|
-
y: {}
|
|
20
|
-
}, to),
|
|
21
|
-
emits: ["togglePlatform"],
|
|
22
|
-
setup(f, { emit: I }) {
|
|
23
|
-
const D = I, w = Q(), { t: o } = K(), a = h(null), n = h(!1), l = v(() => {
|
|
24
|
-
const {
|
|
25
|
-
name: r = "light"
|
|
26
|
-
} = w?.mergedThemeRef.value || {};
|
|
27
|
-
return r !== "light";
|
|
28
|
-
}), B = [
|
|
29
|
-
{
|
|
30
|
-
key: "base",
|
|
31
|
-
title: o("boden.productIntroduction.BasePlatform"),
|
|
32
|
-
description: o("boden.productIntroduction.BasePlatformDescription"),
|
|
33
|
-
icon: `logo-base${l.value ? "-dark" : ""}`,
|
|
34
|
-
children: [
|
|
35
|
-
{
|
|
36
|
-
key: "ads",
|
|
37
|
-
title: o("boden.productIntroduction.AdsPlatform"),
|
|
38
|
-
description: o("boden.productIntroduction.AdsPlatformDescription"),
|
|
39
|
-
icon: W
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
key: "studio",
|
|
43
|
-
title: o("boden.productIntroduction.StudioPlatform"),
|
|
44
|
-
description: o("boden.productIntroduction.StudioPlatformDescription"),
|
|
45
|
-
icon: X
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
key: "omni",
|
|
49
|
-
title: o("boden.productIntroduction.OmniPlatform"),
|
|
50
|
-
description: o("boden.productIntroduction.OmniPlatformDescription"),
|
|
51
|
-
icon: Y
|
|
52
|
-
}
|
|
53
|
-
]
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
key: "blink",
|
|
57
|
-
title: o("boden.productIntroduction.BlinkPlatform"),
|
|
58
|
-
description: o("boden.productIntroduction.BlinkPlatformDescription"),
|
|
59
|
-
icon: `logo-base${l.value ? "-dark" : ""}`
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
key: "source",
|
|
63
|
-
title: o("boden.productIntroduction.SourcePlatform"),
|
|
64
|
-
description: o("boden.productIntroduction.SourcePlatformDescription"),
|
|
65
|
-
icon: `logo-base${l.value ? "-dark" : ""}`,
|
|
66
|
-
children: [
|
|
67
|
-
{
|
|
68
|
-
key: "robot",
|
|
69
|
-
title: o("boden.productIntroduction.RobotPlatform"),
|
|
70
|
-
description: o("boden.productIntroduction.RobotPlatformDescription"),
|
|
71
|
-
icon: Z
|
|
72
|
-
}
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
], N = v(() => oo(l.value)), R = v(() => eo(l.value)), S = () => {
|
|
76
|
-
n.value = !n.value;
|
|
77
|
-
}, k = (r) => {
|
|
78
|
-
D("togglePlatform", r);
|
|
79
|
-
}, x = (r) => {
|
|
80
|
-
a.value && a.value.instRef && a.value.instRef.contains(r.target) || (n.value = !1);
|
|
81
|
-
};
|
|
82
|
-
return (r, i) => {
|
|
83
|
-
const _ = E("svg-icon"), O = A, T = z, $ = V;
|
|
84
|
-
return c(), u("div", null, [
|
|
85
|
-
d(J, {
|
|
86
|
-
ref_key: "triggerInstRef",
|
|
87
|
-
ref: a,
|
|
88
|
-
active: n.value,
|
|
89
|
-
onClick: y(S, ["stop"])
|
|
90
|
-
}, null, 8, ["active"]),
|
|
91
|
-
d($, {
|
|
92
|
-
"content-class": "boden-product-introduction-panel-popover",
|
|
93
|
-
trigger: "manual",
|
|
94
|
-
show: n.value,
|
|
95
|
-
"onUpdate:show": i[2] || (i[2] = (t) => n.value = t),
|
|
96
|
-
style: M(R.value),
|
|
97
|
-
"show-arrow": !1,
|
|
98
|
-
width: 1058,
|
|
99
|
-
scrollable: "",
|
|
100
|
-
x: f.x,
|
|
101
|
-
y: f.y,
|
|
102
|
-
"theme-overrides": { padding: "0", space: "0", borderRadius: "3px" },
|
|
103
|
-
onClickoutside: x
|
|
104
|
-
}, {
|
|
105
|
-
default: p(() => [
|
|
106
|
-
e("div", {
|
|
107
|
-
class: "boden-product-introduction-panel",
|
|
108
|
-
onClick: i[1] || (i[1] = y(() => {
|
|
109
|
-
}, ["stop"]))
|
|
110
|
-
}, [
|
|
111
|
-
e("div", no, [
|
|
112
|
-
e("div", null, m(F(o)("boden.productIntroduction.allProducts")), 1),
|
|
113
|
-
d(_, {
|
|
114
|
-
icon: "operate-close",
|
|
115
|
-
size: "16",
|
|
116
|
-
onClick: i[0] || (i[0] = (t) => n.value = !1)
|
|
117
|
-
})
|
|
118
|
-
]),
|
|
119
|
-
e("div", io, [
|
|
120
|
-
(c(), u(g, null, P(B, (t) => e("div", {
|
|
121
|
-
key: t.key,
|
|
122
|
-
class: "content-item"
|
|
123
|
-
}, [
|
|
124
|
-
e("div", ro, [
|
|
125
|
-
e("div", so, [
|
|
126
|
-
d(_, {
|
|
127
|
-
icon: t.icon,
|
|
128
|
-
size: "32"
|
|
129
|
-
}, null, 8, ["icon"])
|
|
130
|
-
]),
|
|
131
|
-
e("div", {
|
|
132
|
-
class: "title",
|
|
133
|
-
onClick: (s) => k(t.key)
|
|
134
|
-
}, m(t.title), 9, co),
|
|
135
|
-
e("div", lo, m(t.description), 1)
|
|
136
|
-
]),
|
|
137
|
-
t.children && t.children.length ? (c(), u("div", ao, [
|
|
138
|
-
(c(!0), u(g, null, P(t.children, (s) => (c(), b(T, {
|
|
139
|
-
key: s.key,
|
|
140
|
-
title: s.title,
|
|
141
|
-
"theme-overrides": N.value
|
|
142
|
-
}, {
|
|
143
|
-
cover: p(() => [
|
|
144
|
-
e("img", {
|
|
145
|
-
src: s.icon,
|
|
146
|
-
alt: ""
|
|
147
|
-
}, null, 8, uo)
|
|
148
|
-
]),
|
|
149
|
-
default: p(() => [
|
|
150
|
-
C(" " + m(s.description) + " ", 1),
|
|
151
|
-
e("div", po, [
|
|
152
|
-
d(O, {
|
|
153
|
-
round: "",
|
|
154
|
-
size: "tiny",
|
|
155
|
-
type: "primary",
|
|
156
|
-
onClick: (vo) => k(s.key)
|
|
157
|
-
}, {
|
|
158
|
-
default: p(() => [...i[3] || (i[3] = [
|
|
159
|
-
C("开始使用", -1)
|
|
160
|
-
])]),
|
|
161
|
-
_: 1
|
|
162
|
-
}, 8, ["onClick"])
|
|
163
|
-
])
|
|
164
|
-
]),
|
|
165
|
-
_: 2
|
|
166
|
-
}, 1032, ["title", "theme-overrides"]))), 128))
|
|
167
|
-
])) : j("", !0)
|
|
168
|
-
])), 64))
|
|
169
|
-
])
|
|
170
|
-
])
|
|
171
|
-
]),
|
|
172
|
-
_: 1
|
|
173
|
-
}, 8, ["show", "style", "x", "y"]),
|
|
174
|
-
(c(), b(q, { to: "body" }, [
|
|
175
|
-
G(e("div", mo, null, 512), [
|
|
176
|
-
[H, n.value]
|
|
177
|
-
])
|
|
178
|
-
]))
|
|
179
|
-
]);
|
|
180
|
-
};
|
|
181
|
-
}
|
|
182
|
-
});
|
|
183
|
-
export {
|
|
184
|
-
wo as default
|
|
185
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { PopoverProps } from 'naive-ui';
|
|
2
|
-
export type BodenProductIntroductionProps = {
|
|
3
|
-
x?: PopoverProps['x'];
|
|
4
|
-
y?: PopoverProps['y'];
|
|
5
|
-
};
|
|
6
|
-
export type SubProductItem = {
|
|
7
|
-
key: string;
|
|
8
|
-
title: string;
|
|
9
|
-
description: string;
|
|
10
|
-
imgSrc: string;
|
|
11
|
-
href?: string;
|
|
12
|
-
};
|
|
13
|
-
export type ProductItem = {
|
|
14
|
-
key: string;
|
|
15
|
-
title: string;
|
|
16
|
-
description: string;
|
|
17
|
-
svgIcon: string;
|
|
18
|
-
href?: string;
|
|
19
|
-
children?: Array<SubProductItem>;
|
|
20
|
-
};
|
package/es/hooks/useBoolean.mjs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ref as s } from "vue";
|
|
2
|
-
function r(t = !1) {
|
|
3
|
-
const o = s(t);
|
|
4
|
-
function e(l) {
|
|
5
|
-
o.value = l;
|
|
6
|
-
}
|
|
7
|
-
function n() {
|
|
8
|
-
e(!0);
|
|
9
|
-
}
|
|
10
|
-
function u() {
|
|
11
|
-
e(!1);
|
|
12
|
-
}
|
|
13
|
-
function f() {
|
|
14
|
-
e(!o.value);
|
|
15
|
-
}
|
|
16
|
-
return {
|
|
17
|
-
bool: o,
|
|
18
|
-
setBool: e,
|
|
19
|
-
setTrue: n,
|
|
20
|
-
setFalse: u,
|
|
21
|
-
toggle: f
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
r as default
|
|
26
|
-
};
|
package/es/hooks/useContext.mjs
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { inject as i, provide as s } from "vue";
|
|
2
|
-
function j(n, e) {
|
|
3
|
-
const { useProvide: o, useInject: r } = f(n);
|
|
4
|
-
function t(...u) {
|
|
5
|
-
const c = e(...u);
|
|
6
|
-
return o(c);
|
|
7
|
-
}
|
|
8
|
-
return {
|
|
9
|
-
// 在父组件注册provide
|
|
10
|
-
setupStore: t,
|
|
11
|
-
// 在子组件使用
|
|
12
|
-
useStore: r
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
function f(n) {
|
|
16
|
-
const e = Symbol(n);
|
|
17
|
-
function o(t) {
|
|
18
|
-
return s(e, t), t;
|
|
19
|
-
}
|
|
20
|
-
function r() {
|
|
21
|
-
return i(e);
|
|
22
|
-
}
|
|
23
|
-
return {
|
|
24
|
-
useProvide: o,
|
|
25
|
-
useInject: r
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
export {
|
|
29
|
-
j as default
|
|
30
|
-
};
|
package/es/hooks/useMenu.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { MenuOption } from 'naive-ui';
|
|
2
|
-
import { BaseDefaultLayoutProps, BaseMenuOptionType } from '../components/BaseLayout/Default/type';
|
|
3
|
-
export declare function useMenu(layoutConfig: BaseDefaultLayoutProps): {
|
|
4
|
-
selectedKey: import('vue').ComputedRef<string>;
|
|
5
|
-
renderIcon: (optionsOption: MenuOption) => string | number | boolean | void | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
}> | import('vue').VNodeArrayChildren | null;
|
|
8
|
-
};
|
|
9
|
-
export declare function useMixMenu(layoutConfig: BaseDefaultLayoutProps): {
|
|
10
|
-
allMenus: import('vue').ShallowRef<BaseMenuOptionType[], BaseMenuOptionType[]>;
|
|
11
|
-
firstLevelMenus: import('vue').ComputedRef<BaseMenuOptionType[]>;
|
|
12
|
-
childLevelMenus: import('vue').ComputedRef<BaseMenuOptionType[]>;
|
|
13
|
-
isActiveFirstLevelMenuHasChildren: import('vue').ComputedRef<boolean>;
|
|
14
|
-
activeFirstLevelMenuKey: import('vue').Ref<string, string>;
|
|
15
|
-
setActiveFirstLevelMenuKey: (key: string) => void;
|
|
16
|
-
getActiveFirstLevelMenuKey: () => void;
|
|
17
|
-
};
|
|
18
|
-
export declare const setupMixMenuContext: (layoutConfig: BaseDefaultLayoutProps) => {
|
|
19
|
-
allMenus: import('vue').ShallowRef<BaseMenuOptionType[], BaseMenuOptionType[]>;
|
|
20
|
-
firstLevelMenus: import('vue').ComputedRef<BaseMenuOptionType[]>;
|
|
21
|
-
childLevelMenus: import('vue').ComputedRef<BaseMenuOptionType[]>;
|
|
22
|
-
isActiveFirstLevelMenuHasChildren: import('vue').ComputedRef<boolean>;
|
|
23
|
-
activeFirstLevelMenuKey: import('vue').Ref<string, string>;
|
|
24
|
-
setActiveFirstLevelMenuKey: (key: string) => void;
|
|
25
|
-
getActiveFirstLevelMenuKey: () => void;
|
|
26
|
-
}, useMixMenuContext: () => {
|
|
27
|
-
allMenus: import('vue').ShallowRef<BaseMenuOptionType[], BaseMenuOptionType[]>;
|
|
28
|
-
firstLevelMenus: import('vue').ComputedRef<BaseMenuOptionType[]>;
|
|
29
|
-
childLevelMenus: import('vue').ComputedRef<BaseMenuOptionType[]>;
|
|
30
|
-
isActiveFirstLevelMenuHasChildren: import('vue').ComputedRef<boolean>;
|
|
31
|
-
activeFirstLevelMenuKey: import('vue').Ref<string, string>;
|
|
32
|
-
setActiveFirstLevelMenuKey: (key: string) => void;
|
|
33
|
-
getActiveFirstLevelMenuKey: () => void;
|
|
34
|
-
};
|
package/es/hooks/useMenu.mjs
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { computed as a, ref as d, shallowRef as f, watch as M } from "vue";
|
|
2
|
-
import h from "./useContext.mjs";
|
|
3
|
-
function L(s) {
|
|
4
|
-
const o = a(() => {
|
|
5
|
-
const { hideInMenu: t, activeMenu: u } = s.curRoute?.meta, n = s.curRoute?.name;
|
|
6
|
-
return (t ? u : n) || n;
|
|
7
|
-
}), c = a(() => {
|
|
8
|
-
const t = new Set(o.value.split("_"));
|
|
9
|
-
t.add(o.value);
|
|
10
|
-
const u = Array.from(t), n = [];
|
|
11
|
-
for (let r = 0; r < u.length; r++) {
|
|
12
|
-
const e = u[r], i = l(s.menuList, e);
|
|
13
|
-
i && n.push(i);
|
|
14
|
-
}
|
|
15
|
-
return n;
|
|
16
|
-
}), l = (t, u) => {
|
|
17
|
-
for (let n = 0; n < t.length; n++) {
|
|
18
|
-
const r = t[n];
|
|
19
|
-
if (r.key === u) return r;
|
|
20
|
-
const { children: e } = r;
|
|
21
|
-
if (!Array.isArray(e)) continue;
|
|
22
|
-
const i = l(e, u);
|
|
23
|
-
if (i) return i;
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
return {
|
|
27
|
-
selectedKey: o,
|
|
28
|
-
renderIcon: (t) => {
|
|
29
|
-
const u = c.value.map((e) => e.key).indexOf(t.key);
|
|
30
|
-
if (u < 0) {
|
|
31
|
-
const { icon: e } = t;
|
|
32
|
-
return e ? e() : void 0;
|
|
33
|
-
}
|
|
34
|
-
const { activeIcon: n, icon: r } = c.value[u];
|
|
35
|
-
return n ? n() : r ? r() : void 0;
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function p(s) {
|
|
40
|
-
const { selectedKey: o } = L(s), c = d("");
|
|
41
|
-
function l(e) {
|
|
42
|
-
c.value = e;
|
|
43
|
-
}
|
|
44
|
-
function m() {
|
|
45
|
-
const [e] = o.value.split("_");
|
|
46
|
-
l(e);
|
|
47
|
-
}
|
|
48
|
-
const t = f(s.menuList), u = a(
|
|
49
|
-
() => s.menuList.map((e) => {
|
|
50
|
-
const { children: i, ...v } = e;
|
|
51
|
-
return v;
|
|
52
|
-
})
|
|
53
|
-
), n = a(
|
|
54
|
-
() => s.menuList.find((e) => e.key === c.value)?.children || []
|
|
55
|
-
), r = a(() => c.value ? !!t.value.find((i) => i.key === c.value)?.children?.length : !1);
|
|
56
|
-
return M(
|
|
57
|
-
() => s.curRoute?.name,
|
|
58
|
-
() => {
|
|
59
|
-
m();
|
|
60
|
-
},
|
|
61
|
-
{ immediate: !0 }
|
|
62
|
-
), {
|
|
63
|
-
allMenus: t,
|
|
64
|
-
firstLevelMenus: u,
|
|
65
|
-
childLevelMenus: n,
|
|
66
|
-
isActiveFirstLevelMenuHasChildren: r,
|
|
67
|
-
activeFirstLevelMenuKey: c,
|
|
68
|
-
setActiveFirstLevelMenuKey: l,
|
|
69
|
-
getActiveFirstLevelMenuKey: m
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
const { setupStore: y, useStore: A } = h("mix-menu", p);
|
|
73
|
-
export {
|
|
74
|
-
y as setupMixMenuContext,
|
|
75
|
-
L as useMenu,
|
|
76
|
-
p as useMixMenu,
|
|
77
|
-
A as useMixMenuContext
|
|
78
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { makeDestructurable as p, camelize as f } from "../../../../@vueuse_shared@13.0.0_vue@3.5.22_typescript@5.7.2_/node_modules/@vueuse/shared/index.mjs";
|
|
2
|
-
import { shallowRef as d, defineComponent as i } from "vue";
|
|
3
|
-
function h(r = {}) {
|
|
4
|
-
const {
|
|
5
|
-
inheritAttrs: t = !0
|
|
6
|
-
} = r, e = d(), l = /* @__PURE__ */ i({
|
|
7
|
-
setup(s, { slots: o }) {
|
|
8
|
-
return () => {
|
|
9
|
-
e.value = o.default;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}), u = /* @__PURE__ */ i({
|
|
13
|
-
inheritAttrs: t,
|
|
14
|
-
props: r.props,
|
|
15
|
-
setup(s, { attrs: o, slots: c }) {
|
|
16
|
-
return () => {
|
|
17
|
-
var a;
|
|
18
|
-
if (!e.value && process.env.NODE_ENV !== "production")
|
|
19
|
-
throw new Error("[VueUse] Failed to find the definition of reusable template");
|
|
20
|
-
const n = (a = e.value) == null ? void 0 : a.call(e, {
|
|
21
|
-
...r.props == null ? m(o) : s,
|
|
22
|
-
$slots: c
|
|
23
|
-
});
|
|
24
|
-
return t && n?.length === 1 ? n[0] : n;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
return p(
|
|
29
|
-
{ define: l, reuse: u },
|
|
30
|
-
[l, u]
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
function m(r) {
|
|
34
|
-
const t = {};
|
|
35
|
-
for (const e in r)
|
|
36
|
-
t[f(e)] = r[e];
|
|
37
|
-
return t;
|
|
38
|
-
}
|
|
39
|
-
export {
|
|
40
|
-
f as camelize,
|
|
41
|
-
h as createReusableTemplate,
|
|
42
|
-
p as makeDestructurable
|
|
43
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import "vue";
|
|
2
|
-
function i(t, n) {
|
|
3
|
-
if (typeof Symbol < "u") {
|
|
4
|
-
const e = { ...t };
|
|
5
|
-
return Object.defineProperty(e, Symbol.iterator, {
|
|
6
|
-
enumerable: !1,
|
|
7
|
-
value() {
|
|
8
|
-
let o = 0;
|
|
9
|
-
return {
|
|
10
|
-
next: () => ({
|
|
11
|
-
value: n[o++],
|
|
12
|
-
done: o > n.length
|
|
13
|
-
})
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
}), e;
|
|
17
|
-
} else
|
|
18
|
-
return Object.assign([...n], t);
|
|
19
|
-
}
|
|
20
|
-
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
21
|
-
function c(t) {
|
|
22
|
-
const n = /* @__PURE__ */ Object.create(null);
|
|
23
|
-
return (e) => n[e] || (n[e] = t(e));
|
|
24
|
-
}
|
|
25
|
-
const r = /-(\w)/g, a = c((t) => t.replace(r, (n, e) => e ? e.toUpperCase() : ""));
|
|
26
|
-
export {
|
|
27
|
-
a as camelize,
|
|
28
|
-
i as makeDestructurable
|
|
29
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BaseLayoutASidePropsType } from './type';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
|
-
slots: {
|
|
5
|
-
header?(_: {}): any;
|
|
6
|
-
default?(_: {}): any;
|
|
7
|
-
default?(_: {}): any;
|
|
8
|
-
footer?(_: {}): any;
|
|
9
|
-
};
|
|
10
|
-
refs: {};
|
|
11
|
-
rootEl: HTMLElement;
|
|
12
|
-
};
|
|
13
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: import('vue').DefineComponent<BaseLayoutASidePropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseLayoutASidePropsType> & Readonly<{}>, {
|
|
15
|
-
contentScrollable: boolean;
|
|
16
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
17
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
-
export default _default;
|
|
19
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
-
new (): {
|
|
21
|
-
$slots: S;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=require("../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-c445f597"]]);exports.default=u;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("naive-ui"),e=require("vue"),d=require("../../../hooks/useNaiveConfigProvideContext.js"),u=e.defineComponent({__name:"index",props:{logoClass:{},logoStyle:{},contentClass:{},contentStyle:{},contentScrollable:{type:Boolean,default:!0},footerClass:{},footerStyle:{}},setup(t){const{mergedThemeOverridesRef:a}=d.default(),o=e.shallowRef({}),s=e.shallowRef({}),r=e.shallowRef({});return e.watch(()=>a?.value?.Layout,l=>{l&&(o.value={"--n-color":l.siderColor||void 0})},{immediate:!0}),(l,c)=>{const n=i.NScrollbar;return e.openBlock(),e.createElementBlock("aside",e.mergeProps({class:"h-full w-full flex-col-stretch base-layout-aside",style:o.value},l.$attrs),[e.createElementVNode("div",{class:e.normalizeClass(["base-layout-aside-logo-wrap",t.logoClass]),style:e.normalizeStyle([s.value,t.logoStyle])},[e.renderSlot(l.$slots,"header",{},void 0,!0)],6),e.createElementVNode("div",{class:e.normalizeClass(["h-full flex-1",t.contentClass]),style:e.normalizeStyle(t.contentStyle)},[t.contentScrollable?(e.openBlock(),e.createBlock(n,{key:0},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{},void 0,!0)]),_:3})):e.renderSlot(l.$slots,"default",{key:1},void 0,!0)],6),e.createElementVNode("div",{class:e.normalizeClass(["base-layout-aside-footer",t.footerClass]),style:e.normalizeStyle([r.value,t.footerStyle])},[e.renderSlot(l.$slots,"footer",{},void 0,!0)],6)],16)}}});exports.default=u;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'vue';
|
|
2
|
-
export type BaseLayoutASidePropsType = {
|
|
3
|
-
logoClass?: string;
|
|
4
|
-
logoStyle?: CSSProperties | string;
|
|
5
|
-
contentClass?: string;
|
|
6
|
-
contentStyle?: CSSProperties | string;
|
|
7
|
-
contentScrollable?: boolean;
|
|
8
|
-
footerClass?: string;
|
|
9
|
-
footerStyle?: CSSProperties | string;
|
|
10
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<Partial<import('naive-ui/es/menu/src/Menu').MenuSetupProps>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Partial<import('naive-ui/es/menu/src/Menu').MenuSetupProps>> & Readonly<{}>, {
|
|
2
|
-
readonly indent: number;
|
|
3
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
4
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=require("../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-006b6011"]]);exports.default=u;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("naive-ui"),e=require("vue"),l=e.defineComponent({__name:"index",props:{options:{},collapsed:{type:Boolean},collapsedWidth:{},iconSize:{},collapsedIconSize:{},rootIndent:{},indent:{default:32},labelField:{},keyField:{},childrenField:{},disabledField:{},defaultExpandAll:{type:Boolean},defaultExpandedKeys:{},expandedKeys:{},value:{},defaultValue:{},mode:{},watchProps:{},disabled:{type:Boolean},show:{type:Boolean},inverted:{type:Boolean},"onUpdate:expandedKeys":{},onUpdateExpandedKeys:{},onUpdateValue:{},"onUpdate:value":{},expandIcon:{},renderIcon:{},renderLabel:{},renderExtra:{},dropdownProps:{},accordion:{type:Boolean},nodeProps:{},dropdownPlacement:{},responsive:{type:Boolean},items:{},onOpenNamesChange:{},onSelect:{},onExpandedNamesChange:{},expandedNames:{},defaultExpandedNames:{},theme:{},themeOverrides:{},builtinThemeOverrides:{}},setup(o){const n=o,d=e.computed(()=>({"--n-side-menu-bar":`-${n.indent/2}px`,"--n-side-menu-indent":`${n.indent}px`}));return(s,p)=>{const a=t.NMenu;return e.openBlock(),e.createBlock(a,e.mergeProps(n,{class:"base-aside-menu",style:d.value}),null,16,["style"])}}});exports.default=l;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { LAYOUT_SCROLL_EL_ID } from '../constants';
|
|
2
|
-
export declare const DARK_CLASS = "dark";
|
|
3
|
-
export declare const LAYOUT_HEADER_MENU_ID = "__BASE__DEFAULT__LAYOUT__HEADER_MENU__";
|
|
4
|
-
export declare const LAYOUT_SLIDER_HEADER_ID = "__BASE__DEFAULT__LAYOUT__SLIDER_HEADER__";
|
|
5
|
-
export declare const LAYOUT_SLIDER_MENU_ID = "__BASE__DEFAULT__LAYOUT__SLIDER_MENU__";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _="__BASE__DEFAULT__LAYOUT__HEADER_MENU__",E="__BASE__DEFAULT__LAYOUT__SLIDER_MENU__";exports.LAYOUT_HEADER_MENU_ID=_;exports.LAYOUT_SLIDER_MENU_ID=E;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),e=require("../options.js");function o(){return t.inject(e.defaultLayoutProviderInjectKey,{layoutConfig:e.DefaultLayoutPropsInDefault,userInfo:e.DefaultLayoutPropsInDefault.userInfo})}exports.default=o;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),l=require("../../../../hooks/useBoolean.js"),n=require("./useBaseLayoutContext.js"),e=require("../../../../assets/logo/logo-light-full.svg.js"),a=require("../../../../assets/logo/logo-dark-full.svg.js");function c(){const{isDarkMode:o}=n.default(),{bool:t,setBool:u}=l.default(!1),r=s.computed(()=>{if(!t.value)return o.value?a.default:e.default});return{setIsUseIcon:u,LogoLightFull:e.default,currentLogoComponent:r}}exports.useLogoHook=c;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { MenuOption } from 'naive-ui';
|
|
2
|
-
import { BaseDefaultLayoutProps, BaseDefaultLayoutMode } from './type';
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
attrs: Partial<{}>;
|
|
5
|
-
slots: {
|
|
6
|
-
header?(_: {}): any;
|
|
7
|
-
default?(_: {}): any;
|
|
8
|
-
slider?(_: {}): any;
|
|
9
|
-
footer?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
refs: {};
|
|
12
|
-
rootEl: HTMLDivElement;
|
|
13
|
-
};
|
|
14
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import('vue').DefineComponent<BaseDefaultLayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
toggleSystemTheme: (...args: any[]) => void;
|
|
17
|
-
toggleSystemLang: (...args: any[]) => void;
|
|
18
|
-
toggleUserItem: (...args: any[]) => void;
|
|
19
|
-
toggleLogo: (...args: any[]) => void;
|
|
20
|
-
toggleMenuItem: (...args: any[]) => void;
|
|
21
|
-
toggleMixMenuItem: (...args: any[]) => void;
|
|
22
|
-
}, string, import('vue').PublicProps, Readonly<BaseDefaultLayoutProps> & Readonly<{
|
|
23
|
-
onToggleSystemTheme?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
onToggleSystemLang?: ((...args: any[]) => any) | undefined;
|
|
25
|
-
onToggleUserItem?: ((...args: any[]) => any) | undefined;
|
|
26
|
-
onToggleLogo?: ((...args: any[]) => any) | undefined;
|
|
27
|
-
onToggleMenuItem?: ((...args: any[]) => any) | undefined;
|
|
28
|
-
onToggleMixMenuItem?: ((...args: any[]) => any) | undefined;
|
|
29
|
-
}>, {
|
|
30
|
-
contentClass: string;
|
|
31
|
-
headerClass: string;
|
|
32
|
-
footerClass: string;
|
|
33
|
-
tabClass: string;
|
|
34
|
-
headerHeight: number;
|
|
35
|
-
mode: BaseDefaultLayoutMode;
|
|
36
|
-
sliderCollapse: boolean;
|
|
37
|
-
sliderClass: string;
|
|
38
|
-
tabHeight: number;
|
|
39
|
-
sliderWidth: number;
|
|
40
|
-
sliderCollapseWidth: number;
|
|
41
|
-
footerHeight: number;
|
|
42
|
-
scrollMode: import('..').LayoutScrollMode;
|
|
43
|
-
scrollElId: string;
|
|
44
|
-
scrollWrapperClass: string;
|
|
45
|
-
baseClass: string;
|
|
46
|
-
fixedTop: boolean;
|
|
47
|
-
commonClass: string;
|
|
48
|
-
layoutZIndex: number;
|
|
49
|
-
headerVisible: boolean;
|
|
50
|
-
tabVisible: boolean;
|
|
51
|
-
sliderVisible: boolean;
|
|
52
|
-
fullContent: boolean;
|
|
53
|
-
footerVisible: boolean;
|
|
54
|
-
fixedFooter: boolean;
|
|
55
|
-
footerIsFullWidth: boolean;
|
|
56
|
-
userActionOption: (MenuOption | import('naive-ui').MenuGroupOption | import('naive-ui').MenuDividerOption | import('naive-ui/es/menu/src/interface').MenuRenderOption)[];
|
|
57
|
-
userInfo: import('../../system-actions/interface').UserInfoType;
|
|
58
|
-
sliderMixWidth: number;
|
|
59
|
-
sliderMixCollapseWidth: number;
|
|
60
|
-
sliderMixChildMenuWidth: number;
|
|
61
|
-
mixSliderFixed: boolean;
|
|
62
|
-
reverseHorizontalMix: boolean;
|
|
63
|
-
menuList: import('./type').BaseMenuOptionType[];
|
|
64
|
-
curRoute: any;
|
|
65
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
66
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
67
|
-
export default _default;
|
|
68
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
69
|
-
new (): {
|
|
70
|
-
$slots: S;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=require("../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-8da8ff01"]]);exports.default=u;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),L=require("../index.vue.js"),H=require("./layoutHeader/index.vue.js"),z=require("./layoutSlider/index.vue.js"),f=require("./options.js"),q=require("../../../hooks/useNaiveConfigProvideContext.js"),F=require("../../../hooks/useMenu.js"),T=e.defineComponent({__name:"index",props:e.mergeDefaults({scrollMode:{},scrollElId:{},scrollWrapperClass:{},baseClass:{},fixedTop:{type:Boolean},commonClass:{},layoutZIndex:{},headerVisible:{type:Boolean},headerClass:{},headerHeight:{},tabVisible:{type:Boolean},tabClass:{},tabHeight:{},sliderVisible:{type:Boolean},sliderClass:{},sliderCollapse:{type:Boolean},sliderWidth:{},sliderCollapseWidth:{},contentClass:{},fullContent:{type:Boolean},footerVisible:{type:Boolean},footerClass:{},fixedFooter:{type:Boolean},footerIsFullWidth:{type:Boolean},footerHeight:{},mode:{},curRoute:{},sliderMixWidth:{},sliderMixCollapseWidth:{},sliderMixChildMenuWidth:{},mixSliderFixed:{type:Boolean},menuList:{},reverseHorizontalMix:{type:Boolean},userActionOption:{},userInfo:{}},{...f.DefaultLayoutPropsInDefault,menuList:()=>[],userActionOption:()=>[],userInfo:()=>({name:""})}),emits:["toggleLogo","toggleMenuItem","toggleMixMenuItem","toggleSystemLang","toggleSystemTheme","toggleUserItem"],setup(o,{emit:m}){const v=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./layoutMenu/index.vue.js"))),l=o,s=m,x=q.default(),{childLevelMenus:c}=F.setupMixMenuContext(l),M=e.computed(()=>{const{name:t="light"}=x?.mergedThemeRef.value||{};return t!=="light"}),p=e.computed(()=>{const t="vertical";return l.mode.includes(t)?t:"horizontal"}),C=e.computed(()=>l.mode!=="horizontal"),d=e.computed(()=>l.mode==="horizontal-mix"),n=e.computed(()=>l.mode==="vertical-mix"),b=()=>{const{reverseHorizontalMix:t}=l,{sliderCollapseWidth:i,sliderMixCollapseWidth:a,sliderMixChildMenuWidth:u}=l;if(d.value&&t)return i;let r=n.value||d.value?a:i;return n.value&&l.mixSliderFixed&&c.value.length&&(r+=u),r},h=e.computed(()=>b());function y(){const{reverseHorizontalMix:t}=l,{sliderWidth:i,sliderMixChildMenuWidth:a,sliderMixWidth:u}=l;if(d.value&&t)return i;let r=n.value||d.value?u:i;return n.value&&l.mixSliderFixed&&c.value.length&&(r+=a),r}const g=e.computed(()=>y()),I=()=>{s("toggleLogo")},W=(t,i)=>{s("toggleMenuItem",t,i)},S=(t,i)=>{s("toggleMixMenuItem",t,i)},B=t=>{s("toggleSystemTheme",t)},w=()=>{s("toggleSystemLang")},V=(t,i)=>{s("toggleUserItem",t,i)};return e.provide(f.defaultLayoutProviderInjectKey,{layoutConfig:l,isDarkMode:M,userActionOption:l.userActionOption,userInfo:l.userInfo,_sliderCollapseWidth:h,_sliderWidth:g,toggleLogo:I,toggleMenuItem:W,toggleMixMenuItem:S,toggleSystemLang:w,toggleSystemTheme:B,toggleUserItem:V}),(t,i)=>(e.openBlock(),e.createBlock(L.default,{mode:p.value,"scroll-mode":o.scrollMode,"scroll-el-id":o.scrollElId,"fixed-top":o.fixedTop,"header-visible":o.headerVisible,"header-height":o.headerHeight,"tab-visible":o.tabVisible,"tab-height":o.tabHeight,"slider-visible":C.value,"slider-class":o.sliderClass,"slider-collapse":o.sliderCollapse,"slider-width":g.value,"slider-collapse-width":h.value,"footer-visible":o.footerVisible,"fixed-footer":o.fixedFooter,"footer-is-full-width":o.footerIsFullWidth,"footer-height":o.footerHeight},{header:e.withCtx(()=>[e.renderSlot(t.$slots,"header",{},()=>[e.createVNode(H.default)],!0)]),slider:e.withCtx(()=>[e.renderSlot(t.$slots,"slider",{},()=>[e.createVNode(z.default)],!0)]),footer:e.withCtx(()=>[e.renderSlot(t.$slots,"footer",{},void 0,!0)]),default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},void 0,!0),e.createVNode(e.unref(v))]),_:3},8,["mode","scroll-mode","scroll-el-id","fixed-top","header-visible","header-height","tab-visible","tab-height","slider-visible","slider-class","slider-collapse","slider-width","slider-collapse-width","footer-visible","fixed-footer","footer-is-full-width","footer-height"]))}});exports.default=T;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../Header/index.vue.js"),a=require("./title.vue.js"),c=require("../constants.js"),d=require("../../../system-actions/index.vue.js"),f=require("../hooks/useBaseLayoutContext.js"),g=["id"],m=e.defineComponent({name:"GlobalHeader",__name:"index",setup(_){const{layoutConfig:t,userActionOption:o,userInfo:n,toggleSystemTheme:r,toggleSystemLang:u,toggleUserItem:l}=f.default(),s=e.computed(()=>!(t.mode.indexOf("vertical")>-1));return(h,p)=>(e.openBlock(),e.createBlock(i.default,null,{headerTitle:e.withCtx(()=>[s.value?(e.openBlock(),e.createBlock(a.default,{key:0})):e.createCommentVNode("",!0)]),headerActions:e.withCtx(()=>[e.createVNode(d.default,{mode:"horizontal",userActionOption:e.unref(o),userInfo:e.unref(n),onToggleSystemTheme:e.unref(r),onToggleSystemLang:e.unref(u),onToggleUserItem:e.unref(l)},null,8,["userActionOption","userInfo","onToggleSystemTheme","onToggleSystemLang","onToggleUserItem"])]),default:e.withCtx(()=>[e.createElementVNode("div",{id:e.unref(c.LAYOUT_HEADER_MENU_ID),class:"h-full flex-y-center flex-1-hidden pl-[16px]"},null,8,g)]),_:1}))}});exports.default=m;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|