@web_xiaobai/business-ui 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/_constant/base.d.ts +2 -0
- package/dist/_cssr/flex.d.ts +4 -0
- package/dist/_enum/index.d.ts +9 -0
- package/dist/_extendThemeOverrides/LayoutAction.d.ts +19 -0
- package/dist/_extendThemeOverrides/LayoutActionUser.d.ts +6 -0
- package/dist/_extendThemeOverrides/PageContainer.d.ts +5 -0
- package/dist/_hooks/boden-use-config-provide-context.d.ts +9 -0
- package/dist/_mixins/use-theme.d.ts +3 -0
- package/dist/_types/_businessTheme.d.ts +8 -0
- package/dist/_types/index.d.ts +3 -0
- package/dist/_utils/cssr.d.ts +4 -0
- package/dist/boden-business-ui.es.js +37068 -0
- package/dist/boden-business-ui.umd.js +4789 -0
- package/dist/components/ConfigProvider/index.d.ts +3 -0
- package/dist/components/ConfigProvider/src/ConfigProvider.d.ts +26 -0
- package/dist/components/ConfigProvider/src/props.d.ts +11 -0
- package/dist/components/ConfigProvider/src/types.d.ts +3 -0
- package/dist/components/LayoutActionLang/index.d.ts +2 -0
- package/dist/components/LayoutActionLang/src/LayoutActionLang.vue.d.ts +10 -0
- package/dist/components/LayoutActionLang/src/props.d.ts +4 -0
- package/dist/components/LayoutActionTheme/index.d.ts +2 -0
- package/dist/components/LayoutActionTheme/src/LayoutActionTheme.vue.d.ts +9 -0
- package/dist/components/LayoutActionTheme/src/props.d.ts +3 -0
- package/dist/components/LayoutActionUser/index.d.ts +3 -0
- package/dist/components/LayoutActionUser/src/LayoutActionUser.vue.d.ts +23 -0
- package/dist/components/LayoutActionUser/src/options.d.ts +6 -0
- package/dist/components/LayoutActionUser/src/props.d.ts +8 -0
- package/dist/components/LayoutActionUser/src/styles/index.cssr.d.ts +2 -0
- package/dist/components/LayoutActionUser/src/useCssVars.d.ts +10 -0
- package/dist/components/LayoutActionUser/styles/_common.d.ts +2 -0
- package/dist/components/LayoutActionUser/styles/dark.d.ts +2 -0
- package/dist/components/LayoutActionUser/styles/index.d.ts +2 -0
- package/dist/components/LayoutActionUser/styles/light.d.ts +2 -0
- package/dist/components/LayoutActionWrap/index.d.ts +1 -0
- package/dist/components/LayoutActionWrap/src/LayoutActionWrap.vue.d.ts +38 -0
- package/dist/components/LayoutActionWrap/src/props.d.ts +8 -0
- package/dist/components/LayoutActionWrap/src/styles/index.cssr.d.ts +2 -0
- package/dist/components/LayoutActionWrap/src/useCssVars.d.ts +23 -0
- package/dist/components/LayoutActionWrap/styles/_common.d.ts +2 -0
- package/dist/components/LayoutActionWrap/styles/dark.d.ts +2 -0
- package/dist/components/LayoutActionWrap/styles/index.d.ts +2 -0
- package/dist/components/LayoutActionWrap/styles/light.d.ts +2 -0
- package/dist/components/LayoutActions/index.d.ts +3 -0
- package/dist/components/LayoutActions/src/LayoutActions.vue.d.ts +28 -0
- package/dist/components/LayoutActions/src/options.d.ts +2 -0
- package/dist/components/LayoutActions/src/props.d.ts +7 -0
- package/dist/components/LayoutActions/src/styles/index.cssr.d.ts +2 -0
- package/dist/components/LayoutHeader/index.d.ts +1 -0
- package/dist/components/LayoutHeader/src/LayoutHeader.vue.d.ts +29 -0
- package/dist/components/LayoutHeader/src/props.d.ts +5 -0
- package/dist/components/LayoutHeader/src/styles/index.cssr.d.ts +2 -0
- package/dist/components/LayoutLogo/index.d.ts +2 -0
- package/dist/components/LayoutLogo/src/LayoutLogo.vue.d.ts +3 -0
- package/dist/components/LayoutLogo/src/props.d.ts +8 -0
- package/dist/components/LayoutSidebar/index.d.ts +1 -0
- package/dist/components/LayoutSidebar/src/LayoutSidebar.d.ts +1397 -0
- package/dist/components/LayoutSidebar/src/props.d.ts +687 -0
- package/dist/components/LayoutSidebar/src/styles/index.cssr.d.ts +2 -0
- package/dist/components/LayoutSidebar/src/types.d.ts +5 -0
- package/dist/components/PageContainer/index.d.ts +1 -0
- package/dist/components/PageContainer/src/PageContainer.vue.d.ts +66 -0
- package/dist/components/PageContainer/src/PageContent.vue.d.ts +22 -0
- package/dist/components/PageContainer/src/PageHeader.vue.d.ts +30 -0
- package/dist/components/PageContainer/src/props.d.ts +26 -0
- package/dist/components/PageContainer/src/styles/index.cssr.d.ts +2 -0
- package/dist/components/PageContainer/src/types.d.ts +3 -0
- package/dist/components/PageContainer/src/useCssVars.d.ts +13 -0
- package/dist/components/PageContainer/styles/_common.d.ts +2 -0
- package/dist/components/PageContainer/styles/dark.d.ts +2 -0
- package/dist/components/PageContainer/styles/index.d.ts +2 -0
- package/dist/components/PageContainer/styles/light.d.ts +2 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/config/index.d.ts +1 -0
- package/dist/config/themes/dark.d.ts +2 -0
- package/dist/config/themes/index.d.ts +2 -0
- package/dist/config/themes/light.d.ts +2 -0
- package/dist/index.d.ts +8 -0
- package/package.json +69 -0
package/README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Vue 3 + TypeScript + Vite
|
|
2
|
+
|
|
3
|
+
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
|
4
|
+
|
|
5
|
+
Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface LayoutActionExtendThemeOverrides {
|
|
2
|
+
color?: string;
|
|
3
|
+
hoverColor?: string;
|
|
4
|
+
disabledColor?: string;
|
|
5
|
+
activeColor?: string;
|
|
6
|
+
border?: string;
|
|
7
|
+
hoverBorder?: string;
|
|
8
|
+
disabledBorder?: string;
|
|
9
|
+
activeBorder?: string;
|
|
10
|
+
textColor?: string;
|
|
11
|
+
hoverTextColor?: string;
|
|
12
|
+
disabledTextColor?: string;
|
|
13
|
+
activeTextColor?: string;
|
|
14
|
+
borderRadius?: string;
|
|
15
|
+
height?: string;
|
|
16
|
+
width?: string;
|
|
17
|
+
fontSize?: string;
|
|
18
|
+
iconSize?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { BodenBusinessThemeOverrides } from '../_types/_businessTheme';
|
|
3
|
+
type BodenBusinessConfigProvideContext = {
|
|
4
|
+
localeRef: Ref<string>;
|
|
5
|
+
darkRef: Ref<boolean>;
|
|
6
|
+
mergedBusinessThemeOverridesRef: Ref<BodenBusinessThemeOverrides>;
|
|
7
|
+
};
|
|
8
|
+
declare function useBodenBusinessConfigProvideContext(): BodenBusinessConfigProvideContext;
|
|
9
|
+
export { useBodenBusinessConfigProvideContext };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PageContainerExtendThemeOverrides } from '../_extendThemeOverrides/PageContainer';
|
|
2
|
+
import { LayoutActionExtendThemeOverrides } from '../_extendThemeOverrides/LayoutAction';
|
|
3
|
+
import { LayoutActionUserExtendThemeOverrides } from '../_extendThemeOverrides/LayoutActionUser';
|
|
4
|
+
export type BodenBusinessThemeOverrides = {
|
|
5
|
+
PageContainer?: PageContainerExtendThemeOverrides;
|
|
6
|
+
LayoutAction?: LayoutActionExtendThemeOverrides;
|
|
7
|
+
LayoutActionUser?: LayoutActionUserExtendThemeOverrides;
|
|
8
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { UnwrapRef } from 'vue';
|
|
2
|
+
export type CamelToKebab<S extends string> = S extends `${infer First}${infer Rest}` ? First extends Lowercase<First> ? `${First}${CamelToKebab<Rest>}` : `-${Lowercase<First>}${CamelToKebab<Rest>}` : S;
|
|
3
|
+
export type ExtractWrappedRef<T> = T extends UnwrapRef<infer R> ? R : never;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const c: import('css-render').createCNode<import('css-render').CSelector>;
|
|
2
|
+
declare const cB: import('css-render').createCNode<string | import('css-render').CLazySelector<string>>, cM: import('css-render').createCNode<string | import('css-render').CLazySelector<string>>, cE: import('css-render').createCNode<string | import('css-render').CLazySelector<string>>;
|
|
3
|
+
declare function createKey<P extends string, S extends string>(prefix: P, suffix: S): S extends "default" ? P : `${P}${Capitalize<S>}`;
|
|
4
|
+
export { c, cB, cM, cE, createKey };
|