@kengic/vue 0.26.6-beta.1 → 0.26.6-beta.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +54495 -21298
- package/dist/src/apis/WMS/Controllers/DescriptionController/List.d.ts +4 -4
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +1 -1
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +2 -2
- package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +1 -1
- package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +14 -14
- package/dist/src/apis/WMS/Controllers/WorkstationController/List.d.ts +1 -1
- package/dist/src/apis/WMS/models.d.ts +51 -45
- package/dist/src/components-next/KgVarConfig/KgVarConfig.d.ts +2 -0
- package/dist/src/components-next/KgVarConfig/index.d.ts +1 -0
- package/dist/src/components-next/index.d.ts +1 -0
- package/dist/src/index.d.ts +2 -0
- package/package.json +5 -4
- package/dist/src/project/src/api/index.d.ts +0 -3
- package/dist/src/project/src/api/sys/model/menuModel.d.ts +0 -15
- package/dist/src/project/src/api/sys/model/uploadModel.d.ts +0 -5
- package/dist/src/project/src/api/sys/model/userModel.d.ts +0 -46
- package/dist/src/project/src/components/Dropdown/index.d.ts +0 -1
- package/dist/src/project/src/components/Dropdown/src/typing.d.ts +0 -9
- package/dist/src/project/src/components/index.d.ts +0 -1
- package/dist/src/project/src/enums/CompTypeEnum.d.ts +0 -19
- package/dist/src/project/src/enums/DateTypeEnum.d.ts +0 -8
- package/dist/src/project/src/enums/appEnum.d.ts +0 -40
- package/dist/src/project/src/enums/breakpointEnum.d.ts +0 -18
- package/dist/src/project/src/enums/cacheEnum.d.ts +0 -18
- package/dist/src/project/src/enums/exceptionEnum.d.ts +0 -17
- package/dist/src/project/src/enums/httpEnum.d.ts +0 -38
- package/dist/src/project/src/enums/index.d.ts +0 -13
- package/dist/src/project/src/enums/jeecgEnum.d.ts +0 -16
- package/dist/src/project/src/enums/menuEnum.d.ts +0 -35
- package/dist/src/project/src/enums/pageEnum.d.ts +0 -14
- package/dist/src/project/src/enums/roleEnum.d.ts +0 -4
- package/dist/src/project/src/enums/sizeEnum.d.ts +0 -18
- package/dist/src/project/src/hooks/index.d.ts +0 -1
- package/dist/src/project/src/hooks/web/useI18n.d.ts +0 -13
- package/dist/src/project/src/index.d.ts +0 -13
- package/dist/src/project/src/locales/helper.d.ts +0 -5
- package/dist/src/project/src/locales/index.d.ts +0 -3
- package/dist/src/project/src/locales/setupI18n.d.ts +0 -4
- package/dist/src/project/src/locales/useLocale.d.ts +0 -10
- package/dist/src/project/src/settings/componentSetting.d.ts +0 -44
- package/dist/src/project/src/settings/designSetting.d.ts +0 -6
- package/dist/src/project/src/settings/encryptionSetting.d.ts +0 -6
- package/dist/src/project/src/settings/index.d.ts +0 -3
- package/dist/src/project/src/store/index.d.ts +0 -1
- package/dist/src/project/src/store/modules/index.d.ts +0 -1
- package/dist/src/project/src/store/modules/locale.d.ts +0 -38
- package/dist/src/project/src/utils/cache/index.d.ts +0 -7
- package/dist/src/project/src/utils/cache/memory.d.ts +0 -22
- package/dist/src/project/src/utils/cache/persistent.d.ts +0 -33
- package/dist/src/project/src/utils/cache/storageCache.d.ts +0 -8
- package/dist/src/project/src/utils/cipher.d.ts +0 -19
- package/dist/src/project/src/utils/env.d.ts +0 -34
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* JInput组件类型
|
3
|
-
*/
|
4
|
-
export declare enum JInputTypeEnum {
|
5
|
-
JINPUT_QUERY_LIKE = "like",
|
6
|
-
JINPUT_QUERY_NE = "ne",
|
7
|
-
JINPUT_QUERY_GE = "ge",
|
8
|
-
JINPUT_QUERY_LE = "le"
|
9
|
-
}
|
10
|
-
/**
|
11
|
-
* 面板设计器需要的常量定义
|
12
|
-
*/
|
13
|
-
export declare enum JDragConfigEnum {
|
14
|
-
DRAG_BASE_URL = "drag-base-url",
|
15
|
-
DRAG_CACHE_PREFIX = "drag-cache:"
|
16
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @description: menu type
|
3
|
-
*/
|
4
|
-
export declare enum MenuTypeEnum {
|
5
|
-
SIDEBAR = "sidebar",
|
6
|
-
MIX_SIDEBAR = "mix-sidebar",
|
7
|
-
MIX = "mix",
|
8
|
-
TOP_MENU = "top-menu"
|
9
|
-
}
|
10
|
-
export declare enum TriggerEnum {
|
11
|
-
NONE = "NONE",
|
12
|
-
FOOTER = "FOOTER",
|
13
|
-
HEADER = "HEADER"
|
14
|
-
}
|
15
|
-
export declare type Mode = 'vertical' | 'vertical-right' | 'horizontal' | 'inline';
|
16
|
-
export declare enum MenuModeEnum {
|
17
|
-
VERTICAL = "vertical",
|
18
|
-
HORIZONTAL = "horizontal",
|
19
|
-
VERTICAL_RIGHT = "vertical-right",
|
20
|
-
INLINE = "inline"
|
21
|
-
}
|
22
|
-
export declare enum MenuSplitTyeEnum {
|
23
|
-
NONE = 0,
|
24
|
-
TOP = 1,
|
25
|
-
LEFT = 2
|
26
|
-
}
|
27
|
-
export declare enum TopMenuAlignEnum {
|
28
|
-
CENTER = "center",
|
29
|
-
START = "start",
|
30
|
-
END = "end"
|
31
|
-
}
|
32
|
-
export declare enum MixSidebarTriggerEnum {
|
33
|
-
HOVER = "hover",
|
34
|
-
CLICK = "click"
|
35
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
export declare enum PageEnum {
|
2
|
-
BASE_LOGIN = "/login",
|
3
|
-
BASE_HOME = "/home",
|
4
|
-
ERROR_PAGE = "/exception",
|
5
|
-
ERROR_LOG_PAGE = "/error-log/list",
|
6
|
-
OAUTH2_LOGIN_PAGE_PATH = "/oauth2-app/login",
|
7
|
-
LABEL = "/wms/business-manager/print-manager/label",
|
8
|
-
/** 打印模板:物料标签. */
|
9
|
-
PRINT_TEMPLATE_ITEM = "/wms/print-template/item",
|
10
|
-
/** 打印模板:备料标签. */
|
11
|
-
PRINT_TEMPLATE_SPARE = "/wms/print-template/spare",
|
12
|
-
/** 打印模板:出库订单. */
|
13
|
-
PRINT_TEMPLATE_ORDER = "/wms/print-template/order"
|
14
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
export declare enum SizeEnum {
|
2
|
-
DEFAULT = "default",
|
3
|
-
SMALL = "small",
|
4
|
-
LARGE = "large"
|
5
|
-
}
|
6
|
-
export declare enum SizeNumberEnum {
|
7
|
-
DEFAULT = 48,
|
8
|
-
SMALL = 16,
|
9
|
-
LARGE = 64
|
10
|
-
}
|
11
|
-
export declare enum ScreenSizeEnum {
|
12
|
-
XS = 480,
|
13
|
-
SM = 576,
|
14
|
-
MD = 768,
|
15
|
-
LG = 992,
|
16
|
-
XL = 1200
|
17
|
-
}
|
18
|
-
export declare const sizeMap: Map<SizeEnum, SizeNumberEnum>;
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './web/useI18n';
|
@@ -1,13 +0,0 @@
|
|
1
|
-
declare type I18nGlobalTranslation = {
|
2
|
-
(key: string): string;
|
3
|
-
(key: string, locale: string): string;
|
4
|
-
(key: string, locale: string, list: unknown[]): string;
|
5
|
-
(key: string, locale: string, named: Record<string, unknown>): string;
|
6
|
-
(key: string, list: unknown[]): string;
|
7
|
-
(key: string, named: Record<string, unknown>): string;
|
8
|
-
};
|
9
|
-
export declare function useI18n(namespace?: string): {
|
10
|
-
t: I18nGlobalTranslation;
|
11
|
-
};
|
12
|
-
export declare const t: (key: string) => string;
|
13
|
-
export {};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
export * from './api';
|
2
|
-
export * from './components';
|
3
|
-
export * from './enums';
|
4
|
-
export * from './hooks';
|
5
|
-
export * from './locales';
|
6
|
-
export * from './settings';
|
7
|
-
export * from './store';
|
8
|
-
export * from './utils/cache/index';
|
9
|
-
export * from './utils/cache/memory';
|
10
|
-
export * from './utils/cache/persistent';
|
11
|
-
export * from './utils/cache/storageCache';
|
12
|
-
export * from './utils/cipher';
|
13
|
-
export * from './utils/env';
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import { LocaleType } from '../../types';
|
2
|
-
export declare const loadLocalePool: LocaleType[];
|
3
|
-
export declare function setHtmlPageLang(locale: LocaleType): void;
|
4
|
-
export declare function setLoadLocalePool(cb: (loadLocalePool: LocaleType[]) => void): void;
|
5
|
-
export declare function genMessage(langs: Record<string, Record<string, any>>, prefix?: string): Recordable<any>;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Multi-language related operations
|
3
|
-
*/
|
4
|
-
import { LocaleType } from '../../types';
|
5
|
-
export declare function useLocale(): {
|
6
|
-
getLocale: import("vue").ComputedRef<LocaleType>;
|
7
|
-
getShowLocalePicker: import("vue").ComputedRef<boolean>;
|
8
|
-
changeLocale: (locale: LocaleType) => Promise<LocaleType | undefined>;
|
9
|
-
getAntdLocale: import("vue").ComputedRef<any>;
|
10
|
-
};
|
@@ -1,44 +0,0 @@
|
|
1
|
-
export declare const componentSetting: {
|
2
|
-
table: {
|
3
|
-
fetchSetting: {
|
4
|
-
pageField: string;
|
5
|
-
sizeField: string;
|
6
|
-
listField: string;
|
7
|
-
totalField: string;
|
8
|
-
};
|
9
|
-
pageSizeOptions: string[];
|
10
|
-
defaultSize: string;
|
11
|
-
defaultPageSize: number;
|
12
|
-
defaultSortFn: (sortInfo: any) => string | {
|
13
|
-
column: any;
|
14
|
-
order: string;
|
15
|
-
} | {
|
16
|
-
sortInfoString: string;
|
17
|
-
} | {
|
18
|
-
sortInfoString?: undefined;
|
19
|
-
};
|
20
|
-
defaultFilterFn: (data: Partial<Recordable<string[]>>) => Partial<Recordable<string[]>>;
|
21
|
-
};
|
22
|
-
scrollbar: {
|
23
|
-
native: boolean;
|
24
|
-
};
|
25
|
-
form: {
|
26
|
-
labelCol: {
|
27
|
-
xs: {
|
28
|
-
span: number;
|
29
|
-
};
|
30
|
-
sm: {
|
31
|
-
span: number;
|
32
|
-
};
|
33
|
-
};
|
34
|
-
wrapperCol: {
|
35
|
-
xs: {
|
36
|
-
span: number;
|
37
|
-
};
|
38
|
-
sm: {
|
39
|
-
span: number;
|
40
|
-
};
|
41
|
-
};
|
42
|
-
colon: boolean;
|
43
|
-
};
|
44
|
-
};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { ThemeEnum } from '../enums';
|
2
|
-
export declare const prefixCls = "jeecg";
|
3
|
-
export declare const darkMode = ThemeEnum.LIGHT;
|
4
|
-
export declare const APP_PRESET_COLOR_LIST: string[];
|
5
|
-
export declare const HEADER_PRESET_BG_COLOR_LIST: string[];
|
6
|
-
export declare const SIDE_BAR_BG_COLOR_LIST: string[];
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './modules';
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './locale';
|
@@ -1,38 +0,0 @@
|
|
1
|
-
import { LocaleSetting, LocaleType } from '../../../types';
|
2
|
-
interface LocaleState {
|
3
|
-
localInfo: LocaleSetting;
|
4
|
-
pathTitleMap: Record<string, string>;
|
5
|
-
}
|
6
|
-
export declare const _useLocaleStore: import("pinia").StoreDefinition<"app-locale", LocaleState, {
|
7
|
-
getShowPicker(): boolean;
|
8
|
-
getLocale(): LocaleType;
|
9
|
-
getPathTitle: (state: {
|
10
|
-
localInfo: {
|
11
|
-
showPicker: boolean;
|
12
|
-
locale: LocaleType;
|
13
|
-
fallback: LocaleType;
|
14
|
-
availableLocales: LocaleType[];
|
15
|
-
};
|
16
|
-
pathTitleMap: Record<string, string>;
|
17
|
-
} & import("pinia").PiniaCustomStateProperties<LocaleState>) => (path: string) => string;
|
18
|
-
}, {
|
19
|
-
setLocaleInfo(info: Partial<LocaleSetting>): void;
|
20
|
-
setPathTitle(path: string, title: string): void;
|
21
|
-
}>;
|
22
|
-
export declare function useLocaleStore(): import("pinia").Store<"app-locale", LocaleState, {
|
23
|
-
getShowPicker(): boolean;
|
24
|
-
getLocale(): LocaleType;
|
25
|
-
getPathTitle: (state: {
|
26
|
-
localInfo: {
|
27
|
-
showPicker: boolean;
|
28
|
-
locale: LocaleType;
|
29
|
-
fallback: LocaleType;
|
30
|
-
availableLocales: LocaleType[];
|
31
|
-
};
|
32
|
-
pathTitleMap: Record<string, string>;
|
33
|
-
} & import("pinia").PiniaCustomStateProperties<LocaleState>) => (path: string) => string;
|
34
|
-
}, {
|
35
|
-
setLocaleInfo(info: Partial<LocaleSetting>): void;
|
36
|
-
setPathTitle(path: string, title: string): void;
|
37
|
-
}>;
|
38
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { CreateStorageParams } from './storageCache';
|
2
|
-
export declare type Options = Partial<CreateStorageParams>;
|
3
|
-
export declare const WebStorage: any;
|
4
|
-
export declare const createStorage: (storage?: Storage, options?: Options) => any;
|
5
|
-
export declare const createSessionStorage: (options?: Options) => any;
|
6
|
-
export declare const createLocalStorage: (options?: Options) => any;
|
7
|
-
export default WebStorage;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
export interface Cache<V = any> {
|
2
|
-
value?: V;
|
3
|
-
timeoutId?: ReturnType<typeof setTimeout>;
|
4
|
-
time?: number;
|
5
|
-
alive?: number;
|
6
|
-
}
|
7
|
-
export declare class Memory<T = any, V = any> {
|
8
|
-
private cache;
|
9
|
-
private alive;
|
10
|
-
constructor(alive?: number);
|
11
|
-
get getCache(): { [key in keyof T]?: Cache<V> | undefined; };
|
12
|
-
setCache(cache: {
|
13
|
-
[key in keyof T]?: Cache<V>;
|
14
|
-
}): void;
|
15
|
-
get<K extends keyof T>(key: K): { [key in keyof T]?: Cache<V> | undefined; }[K];
|
16
|
-
set<K extends keyof T>(key: K, value: V, expires?: number): V;
|
17
|
-
remove<K extends keyof T>(key: K): V | undefined;
|
18
|
-
resetCache(cache: {
|
19
|
-
[K in keyof T]: Cache;
|
20
|
-
}): void;
|
21
|
-
clear(): void;
|
22
|
-
}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import type { RouteLocationNormalized } from 'vue-router';
|
2
|
-
import { SysUserWarehouseDTO } from '../../../../apis/WMS/models';
|
3
|
-
import { LoginInfo, ProjectConfig, UserInfo } from '../../../types';
|
4
|
-
import { DB_DICT_DATA_KEY, LOCK_INFO_KEY, LOGIN_INFO_KEY, MULTIPLE_TABS_KEY, PROJ_CFG_KEY, ROLES_KEY, TENANT_ID, TOKEN_KEY, USER_INFO_KEY, USER_WAREHOUSE_KEY } from '../../enums';
|
5
|
-
interface BasicStore {
|
6
|
-
[TOKEN_KEY]: string | number | null | undefined;
|
7
|
-
[USER_INFO_KEY]: UserInfo;
|
8
|
-
[ROLES_KEY]: string[];
|
9
|
-
[USER_WAREHOUSE_KEY]: SysUserWarehouseDTO[];
|
10
|
-
[LOCK_INFO_KEY]: LockInfo;
|
11
|
-
[PROJ_CFG_KEY]: ProjectConfig;
|
12
|
-
[MULTIPLE_TABS_KEY]: RouteLocationNormalized[];
|
13
|
-
[DB_DICT_DATA_KEY]: string;
|
14
|
-
[TENANT_ID]: string;
|
15
|
-
[LOGIN_INFO_KEY]: LoginInfo;
|
16
|
-
}
|
17
|
-
declare type LocalStore = BasicStore;
|
18
|
-
declare type SessionStore = BasicStore;
|
19
|
-
export declare type BasicKeys = keyof BasicStore;
|
20
|
-
declare type LocalKeys = keyof LocalStore;
|
21
|
-
declare type SessionKeys = keyof SessionStore;
|
22
|
-
export declare class Persistent {
|
23
|
-
static getLocal<T>(key: LocalKeys): Nullable<T>;
|
24
|
-
static setLocal(key: LocalKeys, value: LocalStore[LocalKeys], immediate?: boolean): void;
|
25
|
-
static removeLocal(key: LocalKeys, immediate?: boolean): void;
|
26
|
-
static clearLocal(immediate?: boolean): void;
|
27
|
-
static getSession<T>(key: SessionKeys): Nullable<T>;
|
28
|
-
static setSession(key: SessionKeys, value: SessionStore[SessionKeys], immediate?: boolean): void;
|
29
|
-
static removeSession(key: SessionKeys, immediate?: boolean): void;
|
30
|
-
static clearSession(immediate?: boolean): void;
|
31
|
-
static clearAll(immediate?: boolean): void;
|
32
|
-
}
|
33
|
-
export {};
|
@@ -1,19 +0,0 @@
|
|
1
|
-
export interface EncryptionParams {
|
2
|
-
key: string;
|
3
|
-
iv: string;
|
4
|
-
}
|
5
|
-
export declare class AesEncryption {
|
6
|
-
private key;
|
7
|
-
private iv;
|
8
|
-
constructor(opt?: Partial<EncryptionParams>);
|
9
|
-
get getOptions(): {
|
10
|
-
mode: any;
|
11
|
-
padding: any;
|
12
|
-
iv: any;
|
13
|
-
};
|
14
|
-
encryptByAES(cipherText: string): string;
|
15
|
-
decryptByAES(cipherText: string): string;
|
16
|
-
}
|
17
|
-
export declare function encryptByBase64(cipherText: string): string;
|
18
|
-
export declare function decodeByBase64(cipherText: string): string;
|
19
|
-
export declare function encryptByMd5(password: string): string;
|
@@ -1,34 +0,0 @@
|
|
1
|
-
export declare function getCommonStoragePrefix(): string;
|
2
|
-
export declare function getStorageShortName(): string;
|
3
|
-
export declare function getAppEnvConfig(): {
|
4
|
-
VITE_GLOB_APP_TITLE: string;
|
5
|
-
VITE_GLOB_API_URL: string;
|
6
|
-
VITE_USE_MOCK: string;
|
7
|
-
VITE_GLOB_APP_SHORT_NAME: string;
|
8
|
-
VITE_GLOB_API_URL_PREFIX: string | undefined;
|
9
|
-
VITE_GLOB_APP_OPEN_SSO: string;
|
10
|
-
VITE_GLOB_APP_OPEN_QIANKUN: string;
|
11
|
-
VITE_GLOB_APP_CAS_BASE_URL: string;
|
12
|
-
VITE_GLOB_DOMAIN_URL: string;
|
13
|
-
VITE_GLOB_ONLINE_VIEW_URL: string | undefined;
|
14
|
-
};
|
15
|
-
/**
|
16
|
-
* @description: Development mode
|
17
|
-
*/
|
18
|
-
export declare const devMode = "development";
|
19
|
-
/**
|
20
|
-
* @description: Production mode
|
21
|
-
*/
|
22
|
-
export declare const prodMode = "production";
|
23
|
-
/**
|
24
|
-
* @description: Is it a development mode
|
25
|
-
* @returns:
|
26
|
-
* @example:
|
27
|
-
*/
|
28
|
-
export declare function isDevMode(): boolean;
|
29
|
-
/**
|
30
|
-
* @description: Is it a production mode
|
31
|
-
* @returns:
|
32
|
-
* @example:
|
33
|
-
*/
|
34
|
-
export declare function isProdMode(): boolean;
|