@maxtropy/v-components 0.1.17-beta.2 → 0.1.17-beta.21

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.
@@ -68,7 +68,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
68
68
  __epPropKey: true;
69
69
  };
70
70
  fullscreen: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
71
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("confirm" | "cancel")[], "confirm" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
71
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "confirm")[], "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
72
72
  size: {
73
73
  type: PropType<ModalSizeType>;
74
74
  default: string;
@@ -137,8 +137,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
137
137
  };
138
138
  fullscreen: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
139
139
  }>> & {
140
- onConfirm?: ((...args: any[]) => any) | undefined;
141
140
  onCancel?: ((...args: any[]) => any) | undefined;
141
+ onConfirm?: ((...args: any[]) => any) | undefined;
142
142
  }, {
143
143
  title: string;
144
144
  center: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -6,7 +6,7 @@ type OptionType = {
6
6
  divided?: boolean;
7
7
  icon?: string | Component;
8
8
  };
9
- declare const _default: import("vue").DefineComponent<{
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
10
10
  type: {
11
11
  type: PropType<"" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed">;
12
12
  validator: (value: string) => boolean;
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
22
22
  };
23
23
  options: {
24
24
  type: PropType<OptionType[]>;
25
- required: true;
25
+ default: () => never[];
26
26
  };
27
27
  perIcon: {
28
28
  type: PropType<string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
@@ -48,7 +48,7 @@ declare const _default: import("vue").DefineComponent<{
48
48
  };
49
49
  options: {
50
50
  type: PropType<OptionType[]>;
51
- required: true;
51
+ default: () => never[];
52
52
  };
53
53
  perIcon: {
54
54
  type: PropType<string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
@@ -62,7 +62,15 @@ declare const _default: import("vue").DefineComponent<{
62
62
  link: boolean;
63
63
  type: "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed";
64
64
  disabled: boolean;
65
+ options: OptionType[];
65
66
  menuName: string;
66
67
  perIcon: string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
67
- }, {}>;
68
+ }, {}>, {
69
+ default?(_: {}): any;
70
+ }>;
68
71
  export default _default;
72
+ type __VLS_WithTemplateSlots<T, S> = T & {
73
+ new (): {
74
+ $slots: S;
75
+ };
76
+ };
@@ -1,13 +1,15 @@
1
1
  import MxDropdown from './MxDropdown.vue';
2
+ import DropdownMenu from './MxDropDownMenu.vue';
3
+ import DropdownItem from './MxDropDownItem.vue';
2
4
  declare module 'vue' {
3
5
  interface GlobalComponents {
4
6
  MxDropdown: typeof MxDropdown;
5
- MxDropDownMenu: typeof MxDropDownMenu;
6
- MxDropDownItem: typeof MxDropDownItem;
7
+ MxDropdownMenu: typeof DropdownMenu;
8
+ MxDropdownItem: typeof DropdownItem;
7
9
  }
8
10
  }
9
11
  export default MxDropdown;
10
- export declare const MxDropDownMenu: {
12
+ export declare const MxDropdownMenu: {
11
13
  new (...args: any[]): {
12
14
  $: import("vue").ComponentInternalInstance;
13
15
  $data: {};
@@ -97,7 +99,7 @@ export declare const MxDropDownMenu: {
97
99
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
98
100
  $slots: Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
99
101
  });
100
- export declare const MxDropDownItem: {
102
+ export declare const MxDropdownItem: {
101
103
  new (...args: any[]): {
102
104
  $: import("vue").ComponentInternalInstance;
103
105
  $data: {};
@@ -15,7 +15,8 @@ import BasicLayout from './basiclayout';
15
15
  import AuthorizedPermission from './authorizedpermission';
16
16
  import { usePermission, useStaffTitle, useIntegratedAuthorityList } from '../utils/hooks';
17
17
  import MxTooltip from './tooltip';
18
- import MxDropdown, { MxDropDownItem, MxDropDownMenu } from './dropdown';
18
+ import MxPopover from './popover';
19
+ import MxDropdown, { MxDropdownItem, MxDropdownMenu } from './dropdown';
19
20
  import MxDialog from './dialog';
20
21
  import MxAlert from './alert';
21
22
  import MxTabs, { MxTabPane } from './tabs';
@@ -41,8 +42,4 @@ import MxFormContent from './formContent';
41
42
  import MxFormTitle from './formTitle';
42
43
  import MxSubContent from './subContent';
43
44
  import MxAutocomplete from './autocomplete';
44
- export { MxInput, MxInputNumber, MxButton, MxSwitch, MxSelect, MxOption, MxOptionGroup, MxRadio, MxRadioGroup, MxRadioButton, MxCheckbox, MxCheckboxButton, MxCheckboxGroup, SwitchStaff, HeadNavigation, SiderMenu, UserContent, SystemContent, BreadCrumb, BasicLayout, AuthorizedPermission, usePermission, useStaffTitle, useIntegratedAuthorityList, MxTooltip, MxDropdown, MxDropDownItem, MxDropDownMenu, MxAlert, MxDialog, MxSlider, MxDatePicker, MxTimePicker, MxPopconfirm, MxTree, MxTreeSelect, MxUpload, MxEllipsisSpan, MxEmpty, MxSteps, MxStep, MxTag, MxTable, MxTableColumn, MxPagination, MxForm, MxFormItem, MxTabs, MxTabPane, MxTimeSelect, MxCascader, MxFilter, MxWrapper, MxFormContent, MxFormTitle, MxSubContent, MxAutocomplete, };
45
- declare const _default: {
46
- install: any;
47
- };
48
- export default _default;
45
+ export { MxInput, MxInputNumber, MxButton, MxSwitch, MxSelect, MxOption, MxOptionGroup, MxRadio, MxRadioGroup, MxRadioButton, MxCheckbox, MxCheckboxButton, MxCheckboxGroup, SwitchStaff, HeadNavigation, SiderMenu, UserContent, SystemContent, BreadCrumb, BasicLayout, AuthorizedPermission, usePermission, useStaffTitle, useIntegratedAuthorityList, MxTooltip, MxPopover, MxDropdown, MxDropdownItem, MxDropdownMenu, MxAlert, MxDialog, MxSlider, MxDatePicker, MxTimePicker, MxPopconfirm, MxTree, MxTreeSelect, MxUpload, MxEllipsisSpan, MxEmpty, MxSteps, MxStep, MxTag, MxTable, MxTableColumn, MxPagination, MxForm, MxFormItem, MxTabs, MxTabPane, MxTimeSelect, MxCascader, MxFilter, MxWrapper, MxFormContent, MxFormTitle, MxSubContent, MxAutocomplete, };
@@ -0,0 +1,31 @@
1
+ import type { PropType } from 'vue';
2
+ import type { LoadingSize } from '../types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ text: {
5
+ type: PropType<string | undefined>;
6
+ default: undefined;
7
+ };
8
+ size: {
9
+ type: PropType<LoadingSize>;
10
+ default: string;
11
+ validator: (value: LoadingSize) => boolean;
12
+ };
13
+ }, {
14
+ containerSize: import("vue").ComputedRef<16 | 20 | 32>;
15
+ dotSize: import("vue").ComputedRef<6 | 9 | 12>;
16
+ textSize: import("vue").ComputedRef<12 | 14 | 16>;
17
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ text: {
19
+ type: PropType<string | undefined>;
20
+ default: undefined;
21
+ };
22
+ size: {
23
+ type: PropType<LoadingSize>;
24
+ default: string;
25
+ validator: (value: LoadingSize) => boolean;
26
+ };
27
+ }>>, {
28
+ text: string | undefined;
29
+ size: LoadingSize;
30
+ }, {}>;
31
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare function addLoadingStyles(): void;
@@ -0,0 +1,8 @@
1
+ import { DirectiveBinding } from 'vue';
2
+ import { LoadingBinding } from './types';
3
+ export declare const loadingDirective: {
4
+ beforeMount(el: HTMLElement, binding: DirectiveBinding<LoadingBinding>): void;
5
+ mounted(el: HTMLElement, binding: DirectiveBinding<LoadingBinding>): void;
6
+ updated(el: HTMLElement, binding: DirectiveBinding<LoadingBinding>): void;
7
+ unmounted(el: HTMLElement): void;
8
+ };
@@ -0,0 +1,7 @@
1
+ import { Plugin } from 'vue';
2
+ declare const Loading: Plugin;
3
+ declare module 'vue' {
4
+ interface GlobalComponents {
5
+ }
6
+ }
7
+ export default Loading;
@@ -0,0 +1,4 @@
1
+ import { App } from 'vue';
2
+ export declare const loadingService: {
3
+ install(app: App, options?: any): void;
4
+ };
@@ -0,0 +1,17 @@
1
+ export type LoadingBinding = boolean | undefined;
2
+ export type LoadingSize = 'small' | 'middle' | 'large';
3
+ export interface LoadingOptions {
4
+ text?: string;
5
+ background?: string;
6
+ size?: LoadingSize;
7
+ }
8
+ export interface LoadingServiceOptions {
9
+ text?: string;
10
+ background?: string;
11
+ fullscreen?: boolean;
12
+ target?: HTMLElement | string;
13
+ size?: LoadingSize;
14
+ }
15
+ export interface LoadingServiceInstance {
16
+ close: () => void;
17
+ }
@@ -36,8 +36,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
36
36
  persistent: BooleanConstructor;
37
37
  width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>;
38
38
  }>> & {
39
- onConfirm?: ((e: MouseEvent) => any) | undefined;
40
39
  onCancel?: ((e: MouseEvent) => any) | undefined;
40
+ onConfirm?: ((e: MouseEvent) => any) | undefined;
41
41
  }, {
42
42
  width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
43
43
  icon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
@@ -0,0 +1,22 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ popperClass: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ popperClass: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ }>>, {
12
+ popperClass: string;
13
+ }, {}>, {
14
+ reference?(_: {}): any;
15
+ default?(_: {}): any;
16
+ }>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,7 @@
1
+ import MxPopover from './MxPopover.vue';
2
+ declare module 'vue' {
3
+ interface GlobalComponents {
4
+ MxPopover: typeof MxPopover;
5
+ }
6
+ }
7
+ export default MxPopover;
@@ -1,4 +1,7 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Partial<Record<NonNullable<string | number>, (_: {}) => any>>>;
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
2
+ focus: () => void | undefined;
3
+ blur: () => void | undefined;
4
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Partial<Record<NonNullable<string | number>, (_: {}) => any>>>;
2
5
  export default _default;
3
6
  type __VLS_WithTemplateSlots<T, S> = T & {
4
7
  new (): {
@@ -62,8 +62,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}
62
62
  }>) => void)[] | undefined;
63
63
  class?: unknown;
64
64
  style?: unknown;
65
- readonly icon?: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
66
65
  readonly load?: import("element-plus/es/components/tree/src/tree.type.js").LoadFunction | undefined;
66
+ readonly icon?: string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
67
67
  readonly emptyText?: string | undefined;
68
68
  "onCurrent-change"?: ((...args: any[]) => any) | undefined;
69
69
  readonly nodeKey?: string | undefined;
@@ -1,4 +1,77 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Partial<Record<NonNullable<string | number>, (_: any) => any>>>;
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
2
+ selectTreeRef: import("vue").Ref<({
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: {
6
+ [x: string]: any;
7
+ [x: number]: any;
8
+ [x: symbol]: any;
9
+ } | {
10
+ [x: string]: any;
11
+ [x: number]: any;
12
+ [x: symbol]: any;
13
+ };
14
+ $attrs: {
15
+ [x: string]: unknown;
16
+ };
17
+ $refs: {
18
+ [x: string]: unknown;
19
+ };
20
+ $slots: Readonly<{
21
+ [name: string]: import("vue").Slot<any> | undefined;
22
+ }>;
23
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
24
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
25
+ $emit: (event: string, ...args: any[]) => void;
26
+ $el: any;
27
+ $options: import("vue").ComponentOptionsBase<Readonly<any>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
+ [key: string]: any;
29
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {} | {
30
+ [x: string]: any;
31
+ }, {}, string, {}> & {
32
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
33
+ created?: ((() => void) | (() => void)[]) | undefined;
34
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
35
+ mounted?: ((() => void) | (() => void)[]) | undefined;
36
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
37
+ updated?: ((() => void) | (() => void)[]) | undefined;
38
+ activated?: ((() => void) | (() => void)[]) | undefined;
39
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
40
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
41
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
42
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
43
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
44
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
45
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
46
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
47
+ };
48
+ $forceUpdate: () => void;
49
+ $nextTick: typeof import("vue").nextTick;
50
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
51
+ } & Readonly<any> & import("vue").ShallowUnwrapRef<() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
52
+ [key: string]: any;
53
+ }>> & {} & import("vue").ComponentCustomProperties & {}) | undefined>;
54
+ focus: () => any;
55
+ blur: () => any;
56
+ filter: (value: string) => any;
57
+ getCheckedNodes: (leafOnly?: boolean | undefined) => any;
58
+ setCheckedNodes: (nodes: any[], leafOnly?: boolean | undefined) => any;
59
+ getCheckedKeys: (leafOnly?: boolean | undefined) => any;
60
+ setCheckedKeys: (keys: any[], leafOnly?: boolean | undefined) => any;
61
+ setChecked: (key: any, checked: boolean, deep: boolean) => any;
62
+ getHalfCheckedNodes: () => any;
63
+ getHalfCheckedKeys: () => any;
64
+ updateKeyChildren: (key: any, data: any[]) => any;
65
+ getNode: (key: any) => any;
66
+ remove: (key: any) => any;
67
+ append: (data: any, parentKey?: any) => any;
68
+ insertBefore: (data: any, refKey: any) => any;
69
+ insertAfter: (data: any, refKey: any) => any;
70
+ setCurrentKey: (key: any) => any;
71
+ getCurrentKey: () => any;
72
+ setCurrentNode: (node: any) => any;
73
+ getCurrentNode: () => any;
74
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Partial<Record<NonNullable<string | number>, (_: any) => any>>>;
2
75
  export default _default;
3
76
  type __VLS_WithTemplateSlots<T, S> = T & {
4
77
  new (): {
@@ -87,8 +87,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
87
87
  };
88
88
  }>>, {
89
89
  onChange: (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
90
- disabled: boolean;
91
90
  drag: boolean;
91
+ disabled: boolean;
92
92
  beforeUpload: (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript").Awaitable<boolean | void | Blob | File | null | undefined>;
93
93
  beforeRemove: (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => import("element-plus/es/utils/typescript").Awaitable<boolean>;
94
94
  onPreview: (uploadFile: import("element-plus").UploadFile) => void;
@@ -1,4 +1,5 @@
1
1
  import { App } from 'vue';
2
+ import './global.d.ts';
2
3
  declare function install(app: App): void;
3
4
  declare const _default: {
4
5
  install: typeof install;
@@ -3,13 +3,17 @@ import './common/css-vars.scss';
3
3
  import './dark/css-vars.scss';
4
4
  import './light/css-vars.scss';
5
5
  import './yellow-light/css-vars.scss';
6
- declare enum Themes {
6
+ import { RouteLocationNormalized } from 'vue-router';
7
+ export declare enum Themes {
7
8
  DARK = "dark",
8
9
  LIGHT = "light",
9
10
  YELLOWLIGHT = "yellow-light",
10
11
  SAPPHIRE = "sapphire",
11
12
  JUNTONG = "juntong"
12
13
  }
13
- declare const THEME_STORE_KEY = "mxTheme";
14
- declare const useTheme: (targetTheme: Themes) => void;
15
- export { themeClass, Themes, THEME_STORE_KEY, useTheme };
14
+ export declare const THEME_STORE_KEY = "mxTheme";
15
+ export declare const useTheme: (targetTheme: Themes) => void;
16
+ export declare function setPageScopedTheme(theme: string): void;
17
+ export declare function clearPageScopedTheme(): void;
18
+ export { themeClass };
19
+ export declare function handleThemeBeforeEach(to: RouteLocationNormalized): void;
@@ -1,4 +1,31 @@
1
1
  import type { Router } from 'vue-router';
2
+ declare enum MicroAppNameEnum {
3
+ CC = "ms-cc",
4
+ DC = "ms-dc",
5
+ DS = "ms-ds",
6
+ IDS = "ms-ids"
7
+ }
8
+ declare enum IsvAppNameEnum {
9
+ WO = "ms-wo",
10
+ JI = "ms-ji",
11
+ AI = "ms-ai",
12
+ ZM = "ms-zm",
13
+ PA = "ms-pa",
14
+ RT = "ms-rt",
15
+ BA = "ms-ba",
16
+ EC = "ms-ec",
17
+ CA = "ms-ca",
18
+ EN = "ms-en",
19
+ GP = "ms-gp",
20
+ PR = "ms-pr"
21
+ }
22
+ export declare const MicroAppList: ({
23
+ appName: MicroAppNameEnum;
24
+ rawWindowName: string;
25
+ } | {
26
+ appName: IsvAppNameEnum;
27
+ rawWindowName: string;
28
+ })[];
2
29
  export declare function getBase(): string;
3
30
  export declare function getMicroAppBaseRoute(): string;
4
31
  export declare function microAppRewrite(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxtropy/v-components",
3
- "version": "0.1.17-beta.2",
3
+ "version": "0.1.17-beta.21",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -18,7 +18,7 @@
18
18
  "scripts": {
19
19
  "build:components": "rimraf dist && vue-tsc && vite build",
20
20
  "start": "vitepress dev docs --no-cache ",
21
- "build": "vitepress build docs",
21
+ "build": "NODE_OPTIONS='--max-old-space-size=4096' vitepress build docs",
22
22
  "docs:serve": "vitepress serve docs",
23
23
  "prepare": "husky install",
24
24
  "release": "npm run commit patch",
@@ -1,7 +0,0 @@
1
- export declare enum Themes {
2
- DARK = "dark",
3
- LIGHT = "light",
4
- YELLOWLIGHT = "yellow-light",
5
- SAPPHIRE = "sapphire",
6
- JUNTONG = "juntong"
7
- }