anvero-layout 0.0.0-stage → 3.0.0

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.
Files changed (55) hide show
  1. package/README.md +194 -3
  2. package/dist/components/flexbox/flex-col/index.vue.d.ts +195 -0
  3. package/dist/components/flexbox/flex-item/children.d.ts +8 -0
  4. package/dist/components/flexbox/flex-item/index.vue.d.ts +126 -0
  5. package/dist/components/flexbox/flex-row/index.vue.d.ts +195 -0
  6. package/dist/components/iconify/iconify-button/index.vue.d.ts +39 -0
  7. package/dist/components/iconify/iconify-icon/index.vue.d.ts +39 -0
  8. package/dist/components/iconify/iconify-svg/index.vue.d.ts +17 -0
  9. package/dist/components/page/page-layout/index.vue.d.ts +101 -0
  10. package/dist/components/page/page-layout-breadcrumb/index.vue.d.ts +3 -0
  11. package/dist/components/page/page-layout-header/index.vue.d.ts +19 -0
  12. package/dist/components/page/page-layout-logo/index.vue.d.ts +17 -0
  13. package/dist/components/page/page-layout-menu/index.vue.d.ts +3 -0
  14. package/dist/components/page/page-layout-menu-item/index.vue.d.ts +51 -0
  15. package/dist/components/page/page-layout-setting/composables/useSettingsPanel.d.ts +9 -0
  16. package/dist/components/page/page-layout-setting/composables/useSettingsState.d.ts +7 -0
  17. package/dist/components/page/page-layout-setting/index.vue.d.ts +3 -0
  18. package/dist/components/page/page-layout-setting/widget/BasicSettings.vue.d.ts +3 -0
  19. package/dist/components/page/page-layout-setting/widget/BoxStyleSettings.vue.d.ts +3 -0
  20. package/dist/components/page/page-layout-setting/widget/ColorSettings.vue.d.ts +3 -0
  21. package/dist/components/page/page-layout-setting/widget/ContainerSettings.vue.d.ts +3 -0
  22. package/dist/components/page/page-layout-setting/widget/MenuLayoutSettings.vue.d.ts +3 -0
  23. package/dist/components/page/page-layout-setting/widget/MenuStyleSettings.vue.d.ts +3 -0
  24. package/dist/components/page/page-layout-setting/widget/ThemeSettings.vue.d.ts +3 -0
  25. package/dist/components/page/page-layout-watermark/index.vue.d.ts +105 -0
  26. package/dist/components/page/page-layout-worktab/components/menu-right/index.vue.d.ts +102 -0
  27. package/dist/components/page/page-layout-worktab/index.vue.d.ts +3 -0
  28. package/dist/components/page/page-layout-wrapper/index.vue.d.ts +3 -0
  29. package/dist/components/page/page-main/index.vue.d.ts +55 -0
  30. package/dist/composables/useLayoutTheme.d.ts +7 -0
  31. package/dist/composables/useMenuShared.d.ts +48 -0
  32. package/dist/compositions/dualmenu/components/dual-menu.vue.d.ts +3 -0
  33. package/dist/compositions/dualmenu/index.vue.d.ts +19 -0
  34. package/dist/compositions/horizontal/components/horizontal-menu.vue.d.ts +19 -0
  35. package/dist/compositions/horizontal/components/horizontal-submenu.vue.d.ts +34 -0
  36. package/dist/compositions/horizontal/components/menu-drawer.vue.d.ts +3 -0
  37. package/dist/compositions/horizontal/index.vue.d.ts +19 -0
  38. package/dist/compositions/index.d.ts +10 -0
  39. package/dist/compositions/mixed/components/mixed-menu.vue.d.ts +19 -0
  40. package/dist/compositions/mixed/index.vue.d.ts +19 -0
  41. package/dist/compositions/vertical/index.vue.d.ts +19 -0
  42. package/dist/config.d.ts +80 -0
  43. package/dist/index.d.ts +20 -0
  44. package/dist/index.js +2 -0
  45. package/dist/stores/index.d.ts +4 -0
  46. package/dist/stores/useLayoutMenu.d.ts +18 -0
  47. package/dist/stores/useLayoutRuntime.d.ts +13 -0
  48. package/dist/stores/useLayoutSetting.d.ts +172 -0
  49. package/dist/stores/useLayoutTabs.d.ts +22 -0
  50. package/dist/style.css +2 -0
  51. package/dist/types/global.d.ts +52 -0
  52. package/dist/types/index.d.ts +121 -0
  53. package/dist/utils/colors.d.ts +4 -0
  54. package/dist/utils/router.d.ts +21 -0
  55. package/package.json +59 -6
@@ -0,0 +1,102 @@
1
+ import { type PropType } from "vue";
2
+ export interface MenuItemType {
3
+ /** 菜单项唯一标识 */
4
+ key: string;
5
+ /** 菜单项标签 */
6
+ label: string;
7
+ /** 菜单项图标 */
8
+ icon?: string;
9
+ /** 菜单项是否禁用 */
10
+ disabled?: boolean;
11
+ /** 菜单项是否显示分割线 */
12
+ showLine?: boolean;
13
+ [key: string]: any;
14
+ }
15
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
16
+ /** 菜单项列表 */
17
+ menuItems: {
18
+ type: PropType<MenuItemType[]>;
19
+ required: true;
20
+ };
21
+ /** 菜单宽度 */
22
+ menuWidth: {
23
+ type: NumberConstructor;
24
+ default: number;
25
+ };
26
+ /** 动画持续时间 */
27
+ animationDuration: {
28
+ type: NumberConstructor;
29
+ default: number;
30
+ };
31
+ /** 菜单项高度 */
32
+ itemHeight: {
33
+ type: NumberConstructor;
34
+ default: number;
35
+ };
36
+ /** 边界距离 */
37
+ boundaryDistance: {
38
+ type: NumberConstructor;
39
+ default: number;
40
+ };
41
+ /** 菜单内边距 */
42
+ menuPadding: {
43
+ type: NumberConstructor;
44
+ default: number;
45
+ };
46
+ /** 菜单项水平内边距 */
47
+ itemPaddingX: {
48
+ type: NumberConstructor;
49
+ default: number;
50
+ };
51
+ }>, {
52
+ show: (e: MouseEvent) => void;
53
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
54
+ select: (item: MenuItemType) => any;
55
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
56
+ /** 菜单项列表 */
57
+ menuItems: {
58
+ type: PropType<MenuItemType[]>;
59
+ required: true;
60
+ };
61
+ /** 菜单宽度 */
62
+ menuWidth: {
63
+ type: NumberConstructor;
64
+ default: number;
65
+ };
66
+ /** 动画持续时间 */
67
+ animationDuration: {
68
+ type: NumberConstructor;
69
+ default: number;
70
+ };
71
+ /** 菜单项高度 */
72
+ itemHeight: {
73
+ type: NumberConstructor;
74
+ default: number;
75
+ };
76
+ /** 边界距离 */
77
+ boundaryDistance: {
78
+ type: NumberConstructor;
79
+ default: number;
80
+ };
81
+ /** 菜单内边距 */
82
+ menuPadding: {
83
+ type: NumberConstructor;
84
+ default: number;
85
+ };
86
+ /** 菜单项水平内边距 */
87
+ itemPaddingX: {
88
+ type: NumberConstructor;
89
+ default: number;
90
+ };
91
+ }>> & Readonly<{
92
+ onSelect?: (item: MenuItemType) => any;
93
+ }>, {
94
+ menuWidth: number;
95
+ animationDuration: number;
96
+ itemHeight: number;
97
+ boundaryDistance: number;
98
+ menuPadding: number;
99
+ itemPaddingX: number;
100
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
101
+ declare const _default: typeof __VLS_export;
102
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,55 @@
1
+ declare const __VLS_template: () => {
2
+ __VLS_Slots: {
3
+ header?: (props: {}) => any;
4
+ } & {
5
+ default?: (props: {}) => any;
6
+ } & {
7
+ footer?: (props: {}) => any;
8
+ };
9
+ };
10
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
11
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
+ /** 标题栏文字(header 插槽的简写,两处都提供时插槽优先) */
13
+ title: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ /** 撑满剩余高度:容器变为纵向 flex,内容区滚动(表格页/详情页撑满场景) */
18
+ fill: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ /** 无卡片模式:去内边距、透明底(内容自带卡片如 search 栏 + 表格卡片组合时) */
23
+ plain: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
+ /** 标题栏文字(header 插槽的简写,两处都提供时插槽优先) */
29
+ title: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ /** 撑满剩余高度:容器变为纵向 flex,内容区滚动(表格页/详情页撑满场景) */
34
+ fill: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ /** 无卡片模式:去内边距、透明底(内容自带卡片如 search 栏 + 表格卡片组合时) */
39
+ plain: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ }>> & Readonly<{}>, {
44
+ fill: boolean;
45
+ title: string;
46
+ plain: boolean;
47
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
48
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
49
+ declare const _default: typeof __VLS_export;
50
+ export default _default;
51
+ type __VLS_WithSlots<T, S> = T & {
52
+ new (): {
53
+ $slots: S;
54
+ };
55
+ };
@@ -0,0 +1,7 @@
1
+ import { SystemThemeEnum } from "../types";
2
+ export declare function setupThemeRuntime(): void;
3
+ export declare function useTheme(): {
4
+ setSystemTheme: (theme: SystemThemeEnum, themeMode?: SystemThemeEnum) => void;
5
+ setSystemAutoTheme: () => void;
6
+ switchThemeStyles: (theme: SystemThemeEnum) => void;
7
+ };
@@ -0,0 +1,48 @@
1
+ import { type Ref } from "vue";
2
+ import { type RouteRecordRaw } from "vue-router";
3
+ /**
4
+ * 菜单公共逻辑(vertical 左侧栏 / dualmenu 双列 / 移动端抽屉共用):
5
+ * 菜单类型分支、菜单数据源(按当前路由裁剪)、路由定位、侧栏滚动条样式、回首页。
6
+ * 只搬组织不改语义:字段名与判定规则与原 page-layout-menu/index.vue 一致
7
+ */
8
+ export declare const useMenuShared: () => {
9
+ router: import("vue-router")._RouterClassic;
10
+ showLeftMenu: import("vue").ComputedRef<boolean>;
11
+ isDualMenu: import("vue").ComputedRef<boolean>;
12
+ isDualMenuCollapsed: import("vue").ComputedRef<boolean>;
13
+ routerPath: import("vue").ComputedRef<string>;
14
+ activeTopMenu: import("vue").ComputedRef<RouteRecordRaw>;
15
+ firstLevelMenus: import("vue").ComputedRef<RouteRecordRaw[]>;
16
+ menuList: import("vue").ComputedRef<RouteRecordRaw[]>;
17
+ scrollbarStyle: import("vue").ComputedRef<{
18
+ position: string;
19
+ top: string;
20
+ right: number;
21
+ left: number;
22
+ height: string;
23
+ transform: string;
24
+ transition: string;
25
+ } | {
26
+ transform: string;
27
+ height: string;
28
+ transition: string;
29
+ position?: undefined;
30
+ top?: undefined;
31
+ right?: undefined;
32
+ left?: undefined;
33
+ }>;
34
+ navigateToHome: () => void;
35
+ };
36
+ /** 移动端断点(≤800px):小屏侧栏收进抽屉,进入小屏强制收起 */
37
+ export declare const useMenuMobile: () => {
38
+ isMobile: Ref<boolean, boolean>;
39
+ };
40
+ /**
41
+ * 移动端侧栏抽屉遮罩:menuOpen 打开立即显示、关闭延迟 350ms 隐藏(等收起动画),
42
+ * 桌面端恒隐藏。page-layout-menu 与 dual-menu 共用
43
+ */
44
+ export declare const useMenuMobileModal: (isMobile: Ref<boolean>) => {
45
+ showMobileModal: Ref<boolean, boolean>;
46
+ toggleMenuVisibility: () => void;
47
+ handleMenuClose: () => void;
48
+ };
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,19 @@
1
+ declare const __VLS_template: () => {
2
+ __VLS_Slots: {
3
+ 'header-left'?: (props: {}) => any;
4
+ } & {
5
+ 'header-right'?: (props: {}) => any;
6
+ } & {
7
+ quick?: (props: {}) => any;
8
+ };
9
+ };
10
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
11
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,19 @@
1
+ import { type PropType } from "vue";
2
+ import { type RouteRecordRaw } from "vue-router";
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ /** 菜单列表数据 */
5
+ list: {
6
+ type: PropType<RouteRecordRaw[]>;
7
+ default: () => any[];
8
+ };
9
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
+ /** 菜单列表数据 */
11
+ list: {
12
+ type: PropType<RouteRecordRaw[]>;
13
+ default: () => any[];
14
+ };
15
+ }>> & Readonly<{}>, {
16
+ list: RouteRecordRaw[];
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
@@ -0,0 +1,34 @@
1
+ import { type PropType } from "vue";
2
+ import { type RouteRecordRaw } from "vue-router";
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ item: {
5
+ type: PropType<RouteRecordRaw>;
6
+ required: true;
7
+ };
8
+ theme: {
9
+ type: ObjectConstructor;
10
+ default: () => {};
11
+ };
12
+ level: {
13
+ type: NumberConstructor;
14
+ default: number;
15
+ };
16
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ item: {
18
+ type: PropType<RouteRecordRaw>;
19
+ required: true;
20
+ };
21
+ theme: {
22
+ type: ObjectConstructor;
23
+ default: () => {};
24
+ };
25
+ level: {
26
+ type: NumberConstructor;
27
+ default: number;
28
+ };
29
+ }>> & Readonly<{}>, {
30
+ theme: Record<string, any>;
31
+ level: number;
32
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
+ declare const _default: typeof __VLS_export;
34
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,19 @@
1
+ declare const __VLS_template: () => {
2
+ __VLS_Slots: {
3
+ 'header-left'?: (props: {}) => any;
4
+ } & {
5
+ 'header-right'?: (props: {}) => any;
6
+ } & {
7
+ quick?: (props: {}) => any;
8
+ };
9
+ };
10
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
11
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * 四布局组合汇出口
3
+ *
4
+ * 四布局按 LayoutMap[menuType] 分发,各组合挂自己的
5
+ * 菜单组件:vertical/mixed → PageLayoutMenu(TOP_LEFT 模式内部裁剪二级)、
6
+ * dualmenu → DualMenu、horizontal → MenuDrawer(窄屏抽屉);
7
+ * 顶部类菜单(HorizontalMenu/MixedMenu)仍在 PageLayoutHeader 内按 menuType 分支。
8
+ */
9
+ import type { Component } from "vue";
10
+ export declare const LayoutMap: Record<string, Component>;
@@ -0,0 +1,19 @@
1
+ import { type PropType } from "vue";
2
+ import type { RouteRecordRaw } from "vue-router";
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ /** 菜单列表数据 */
5
+ list: {
6
+ type: PropType<RouteRecordRaw[]>;
7
+ default: () => any[];
8
+ };
9
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
+ /** 菜单列表数据 */
11
+ list: {
12
+ type: PropType<RouteRecordRaw[]>;
13
+ default: () => any[];
14
+ };
15
+ }>> & Readonly<{}>, {
16
+ list: RouteRecordRaw[];
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
@@ -0,0 +1,19 @@
1
+ declare const __VLS_template: () => {
2
+ __VLS_Slots: {
3
+ 'header-left'?: (props: {}) => any;
4
+ } & {
5
+ 'header-right'?: (props: {}) => any;
6
+ } & {
7
+ quick?: (props: {}) => any;
8
+ };
9
+ };
10
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
11
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,19 @@
1
+ declare const __VLS_template: () => {
2
+ __VLS_Slots: {
3
+ 'header-left'?: (props: {}) => any;
4
+ } & {
5
+ 'header-right'?: (props: {}) => any;
6
+ } & {
7
+ quick?: (props: {}) => any;
8
+ };
9
+ };
10
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
11
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,80 @@
1
+ /**
2
+ * layoutart 全局配置(原 config/{index,setting} + config/assets 收敛为单文件)
3
+ *
4
+ * 集中管理系统配置:系统信息、主题样式、菜单布局、颜色方案与设置面板默认值。
5
+ * 预览图片资源直接内联(仅本文件消费);SETTING_DEFAULT_CONFIG 为设置面板/store 共用
6
+ * 默认值(原 getSettingDefaults/resetToDefaults 零引用已删)。
7
+ *
8
+ * @module layoutart/config.ts
9
+ */
10
+ import { ContainerWidthEnum, MenuThemeEnum, MenuTypeEnum, SystemConfig, SystemThemeEnum } from "./types";
11
+ export declare const configImages: {
12
+ /** 系统主题预览图 */
13
+ themeStyles: {
14
+ light: string;
15
+ dark: string;
16
+ system: string;
17
+ };
18
+ /** 菜单布局预览图 */
19
+ menuLayouts: {
20
+ vertical: string;
21
+ horizontal: string;
22
+ mixed: string;
23
+ dualColumn: string;
24
+ };
25
+ /** 菜单风格预览图 */
26
+ menuStyles: {
27
+ design: string;
28
+ dark: string;
29
+ light: string;
30
+ };
31
+ };
32
+ declare const _default: Readonly<SystemConfig>;
33
+ export default _default;
34
+ /**
35
+ * 设置面板默认值(原 config/setting.ts SETTING_DEFAULT_CONFIG)
36
+ */
37
+ export declare const SETTING_DEFAULT_CONFIG: {
38
+ /** 菜单类型 */
39
+ menuType: MenuTypeEnum;
40
+ /** 菜单展开宽度 */
41
+ menuOpenWidth: number;
42
+ /** 菜单是否展开 */
43
+ menuOpen: boolean;
44
+ /** 双菜单是否显示文本 */
45
+ dualMenuShowText: boolean;
46
+ /** 系统主题类型 */
47
+ systemThemeType: SystemThemeEnum;
48
+ /** 系统主题模式 */
49
+ systemThemeMode: SystemThemeEnum;
50
+ /** 菜单风格 */
51
+ menuThemeType: MenuThemeEnum;
52
+ /** 系统主题颜色 */
53
+ systemThemeColor: string;
54
+ /** 是否显示菜单按钮 */
55
+ showMenuButton: boolean;
56
+ /** 是否显示刷新按钮 */
57
+ showRefreshButton: boolean;
58
+ /** 是否显示面包屑 */
59
+ showCrumbs: boolean;
60
+ /** 是否显示工作台标签 */
61
+ showWorkTab: boolean;
62
+ /** 是否显示水印 */
63
+ watermarkVisible: boolean;
64
+ /** 是否唯一展开 */
65
+ uniqueOpened: boolean;
66
+ /** 是否色弱模式 */
67
+ colorWeak: boolean;
68
+ /** 是否刷新 */
69
+ refresh: boolean;
70
+ /** 边框模式 */
71
+ boxBorderMode: boolean;
72
+ /** 页面过渡效果 */
73
+ pageTransition: string;
74
+ /** 标签页样式 */
75
+ tabStyle: string;
76
+ /** 自定义圆角 */
77
+ customRadius: string;
78
+ /** 容器宽度 */
79
+ containerWidth: ContainerWidthEnum;
80
+ };
@@ -0,0 +1,20 @@
1
+ /**
2
+ * anvero-layout:art-design-pro 布局的自包含布局包
3
+ *
4
+ * - 唯一安装方式:`app.use(layoutart)` 零参数
5
+ * 包内跳转由 page-layout 消费口 setup 时经组件内 useRouter 自动获取
6
+ * (宿主 app.use(router) 后组件内天然可用),宿主无需注入任何选项
7
+ * - 对外注册 PageLayout / PageMain / FlexRow / FlexCol / FlexItem + IconifyIcon 六件
8
+ * (flexbox 三件为布局常用工具件;其余布局件内部私有,包内模板显式 import 使用,不注册、不导出)
9
+ * - 消费:`<PageLayout :routes="modules" :settings="{ menuType: 'left' }">` + header-left/right 插槽,
10
+ * 页面内容容器用 `<PageMain>`
11
+ * - 复制到其他工程:包内 import 全部相对路径,无需任何 vite 别名
12
+ */
13
+ import type { Plugin } from "vue";
14
+ import "./types/global";
15
+ import "./styles/tailwind.css";
16
+ import "./styles/index.scss";
17
+ export { useLayoutTabsStore, useLayoutMenuStore, useLayoutSettingStore, useLayoutRuntimeStore } from "./stores";
18
+ export * from "./types";
19
+ declare const _default: Plugin;
20
+ export default _default;