easy-soft-utility 2.7.19 → 2.7.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.
Files changed (46) hide show
  1. package/es/index.d.ts +1 -1
  2. package/es/index.js +1 -1
  3. package/es/utils/accessWayAssist.d.ts +8 -8
  4. package/es/utils/applicationAssist.d.ts +26 -26
  5. package/es/utils/arrayAssist.d.ts +5 -5
  6. package/es/utils/authorityCacheAssist.d.ts +16 -16
  7. package/es/utils/authorityLocalAssist.d.ts +10 -10
  8. package/es/utils/base64.d.ts +11 -11
  9. package/es/utils/cacheAssist.d.ts +77 -77
  10. package/es/utils/calculate.d.ts +5 -5
  11. package/es/utils/checkAssist.d.ts +121 -121
  12. package/es/utils/colorAssist.d.ts +31 -31
  13. package/es/utils/common.d.ts +107 -107
  14. package/es/utils/componentAssist.d.ts +17 -17
  15. package/es/utils/constants.d.ts +192 -192
  16. package/es/utils/convertAssist.d.ts +58 -58
  17. package/es/utils/convertExtraAssist.d.ts +15 -15
  18. package/es/utils/currentOperatorAssist.d.ts +17 -17
  19. package/es/utils/datetime.d.ts +66 -66
  20. package/es/utils/definition.d.ts +4 -4
  21. package/es/utils/dvaAssist.d.ts +43 -43
  22. package/es/utils/formatAssist.d.ts +44 -44
  23. package/es/utils/htmlAssist.d.ts +4 -4
  24. package/es/utils/httpAssist.d.ts +1 -1
  25. package/es/utils/index.d.ts +40 -40
  26. package/es/utils/localMetaDataAssist.d.ts +17 -17
  27. package/es/utils/localStorageAssist.d.ts +57 -57
  28. package/es/utils/lodashTools.d.ts +87 -87
  29. package/es/utils/loggerAssist.d.ts +173 -173
  30. package/es/utils/messagePromptAssist.d.ts +212 -212
  31. package/es/utils/meta.d.ts +85 -85
  32. package/es/utils/modelAssist.d.ts +41 -41
  33. package/es/utils/navigationAssist.d.ts +14 -14
  34. package/es/utils/nearestLocalhostNotify.d.ts +9 -9
  35. package/es/utils/notificationPromptAssist.d.ts +177 -177
  36. package/es/utils/parametersDataAssist.d.ts +16 -16
  37. package/es/utils/progressAssist.d.ts +18 -18
  38. package/es/utils/promptAssist.d.ts +35 -35
  39. package/es/utils/queryString.d.ts +8 -8
  40. package/es/utils/requestAssist.d.ts +218 -218
  41. package/es/utils/runtimeAssist.d.ts +15 -15
  42. package/es/utils/sessionStorageAssist.d.ts +57 -57
  43. package/es/utils/tokenAssist.d.ts +21 -21
  44. package/es/utils/tools.d.ts +21 -21
  45. package/es/utils/userInterfaceGenerate.d.ts +17 -17
  46. package/package.json +32 -32
@@ -1,58 +1,58 @@
1
- /**
2
- * Convert target to Sha1 string
3
- */
4
- export function toSha1(v: any): string;
5
- export function toMd5(target: any): string;
6
- /**
7
- * Convert to number, precision default is null, it mean not set precision
8
- */
9
- export function toNumber(value: any, precision?: null): number;
10
- /**
11
- * Check value in the bound and return result, if value not in the bound, return nearest boundary value
12
- */
13
- export function toBoundary(value: any, min: any, max: any): number;
14
- /**
15
- * Convert to money
16
- */
17
- export function toMoney(target: any): number;
18
- /**
19
- * Convert to percentage string, like '15%'
20
- */
21
- export function toPercentage(value: any): string;
22
- /**
23
- * Convert to string
24
- * @param {*} target
25
- */
26
- export function toString(target: any): string;
27
- /**
28
- * Convert to boolean
29
- */
30
- export function toBoolean(target: any): boolean;
31
- /**
32
- * Convert to upper
33
- */
34
- export function toUpper(target: any): string;
35
- export function toUpperFirst(source: any): string;
36
- /**
37
- * Convert to lower string
38
- * @param {string|null} target
39
- */
40
- export function toLower(target: string | null): string;
41
- /**
42
- * Convert to lower first string
43
- * @param {string|null} target
44
- */
45
- export function toLowerFirst(target: string | null): string;
46
- /**
47
- * Convert to Promise
48
- */
49
- export function toPromise(target: any): any;
50
- /**
51
- * Convert value to number with round mode
52
- */
53
- export function toRound(target: any, decimalPlace: any): number;
54
- /**
55
- * Gets an array of unique array
56
- * @param {Array} array the array will be changed
57
- */
58
- export function toUniqueArray(array: any[]): any[];
1
+ /**
2
+ * Convert target to Sha1 string
3
+ */
4
+ export function toSha1(v: any): string;
5
+ export function toMd5(target: any): string;
6
+ /**
7
+ * Convert to number, precision default is null, it mean not set precision
8
+ */
9
+ export function toNumber(value: any, precision?: null): number;
10
+ /**
11
+ * Check value in the bound and return result, if value not in the bound, return nearest boundary value
12
+ */
13
+ export function toBoundary(value: any, min: any, max: any): number;
14
+ /**
15
+ * Convert to money
16
+ */
17
+ export function toMoney(target: any): number;
18
+ /**
19
+ * Convert to percentage string, like '15%'
20
+ */
21
+ export function toPercentage(value: any): string;
22
+ /**
23
+ * Convert to string
24
+ * @param {*} target
25
+ */
26
+ export function toString(target: any): string;
27
+ /**
28
+ * Convert to boolean
29
+ */
30
+ export function toBoolean(target: any): boolean;
31
+ /**
32
+ * Convert to upper
33
+ */
34
+ export function toUpper(target: any): string;
35
+ export function toUpperFirst(source: any): string;
36
+ /**
37
+ * Convert to lower string
38
+ * @param {string|null} target
39
+ */
40
+ export function toLower(target: string | null): string;
41
+ /**
42
+ * Convert to lower first string
43
+ * @param {string|null} target
44
+ */
45
+ export function toLowerFirst(target: string | null): string;
46
+ /**
47
+ * Convert to Promise
48
+ */
49
+ export function toPromise(target: any): any;
50
+ /**
51
+ * Convert value to number with round mode
52
+ */
53
+ export function toRound(target: any, decimalPlace: any): number;
54
+ /**
55
+ * Gets an array of unique array
56
+ * @param {Array} array the array will be changed
57
+ */
58
+ export function toUniqueArray(array: any[]): any[];
@@ -1,15 +1,15 @@
1
- /**
2
- * Convert to datetime
3
- * @param {Date|string|number} target
4
- */
5
- export function toDatetime(target: Date | string | number): Date;
6
- /**
7
- * Convert target use specified conversion, convert value taken from convertCollection.
8
- * @param {Object} options options
9
- * @param {number} options.target value will be converted
10
- * @param {string} options.convert convert mode, if it not in convertCollection, will return raw data
11
- */
12
- export function to({ target, convert }: {
13
- target: number;
14
- convert: string;
15
- }): any;
1
+ /**
2
+ * Convert to datetime
3
+ * @param {Date|string|number} target
4
+ */
5
+ export function toDatetime(target: Date | string | number): Date;
6
+ /**
7
+ * Convert target use specified conversion, convert value taken from convertCollection.
8
+ * @param {Object} options options
9
+ * @param {number} options.target value will be converted
10
+ * @param {string} options.convert convert mode, if it not in convertCollection, will return raw data
11
+ */
12
+ export function to({ target, convert }: {
13
+ target: number;
14
+ convert: string;
15
+ }): any;
@@ -1,17 +1,17 @@
1
- /**
2
- * Get currentOperator cache key
3
- */
4
- export function getCurrentOperatorCacheKey(): string;
5
- /**
6
- * Get currentOperator cache
7
- */
8
- export function getCurrentOperatorCache(): any;
9
- /**
10
- * Set currentOperator cache
11
- * @param {Object} value the value will cache
12
- */
13
- export function setCurrentOperatorCache(value: Object): void;
14
- /**
15
- * Remove currentOperator cache
16
- */
17
- export function removeCurrentOperatorCache(): void;
1
+ /**
2
+ * Get currentOperator cache key
3
+ */
4
+ export function getCurrentOperatorCacheKey(): string;
5
+ /**
6
+ * Get currentOperator cache
7
+ */
8
+ export function getCurrentOperatorCache(): any;
9
+ /**
10
+ * Set currentOperator cache
11
+ * @param {Object} value the value will cache
12
+ */
13
+ export function setCurrentOperatorCache(value: Object): void;
14
+ /**
15
+ * Remove currentOperator cache
16
+ */
17
+ export function removeCurrentOperatorCache(): void;
@@ -1,66 +1,66 @@
1
- /**
2
- * create dayjs datetime
3
- * @param {string} datetime a datetime string, eg "2020-01-02"
4
- * @param {string} format format string, eg "YYYY-MM-DD"
5
- */
6
- export function createDayJsDatetime(datetime: string, format: string, locale?: string): dayjs.Dayjs;
7
- /**
8
- * Add hour to target time
9
- * @param {Date|string} datetime target time
10
- * @param {number} value
11
- */
12
- export function addHour(datetime: Date | string, value: number): Date;
13
- /**
14
- * Add minute to target time
15
- * @param {Date|string} datetime target time
16
- * @param {number} value
17
- */
18
- export function addMinute(datetime: Date | string, value: number): Date;
19
- /**
20
- * Add second to target time
21
- * @param {Date|string} datetime target time
22
- * @param {number} value
23
- */
24
- export function addSecond(datetime: Date | string, value: number): Date;
25
- /**
26
- * Get current time
27
- */
28
- export function getNow(): Date;
29
- /**
30
- * Compare time less than target
31
- * @param {Date|number|string} time the time will compare.
32
- * @param {Date|number|string} compareTarget compare target.
33
- */
34
- export function compareTimeLessThan(time: Date | number | string, compareTarget: Date | number | string): boolean;
35
- /**
36
- * Compare time greater than target
37
- * @param {Date|number|string} time the time will compare.
38
- * @param {Date|number|string} compareTarget compare target.
39
- */
40
- export function compareTimeGreaterThan(time: Date | number | string, compareTarget: Date | number | string): boolean;
41
- /**
42
- * get time stamp
43
- * @param {Date|string|number|null} time time, if time is null, will use now time.
44
- */
45
- export function getTimeStamp(time?: Date | string | number | null): number;
46
- /**
47
- * Calculate time interval
48
- * @param {Date} startTime start time.
49
- * @param {Date} endTime end time.
50
- */
51
- export function calculateTimeInterval(startTime: Date, endTime: Date): {
52
- day: number;
53
- hour: number;
54
- minute: number;
55
- second: number;
56
- };
57
- export function getDayOfWeek({ data: date }: {
58
- data: any;
59
- }): number;
60
- /**
61
- * Get today in week like '星期日' / '星期一' / '星期二' / '星期三' / '星期四' / '星期五' / '星期六'
62
- */
63
- export function getTodayOfWeek(transferChinese?: boolean): string | number;
64
- export function calculateDateInterval(date: Date | number | string, nowDate: Date | number | string | null, unit: string | null): number;
65
- export function calculateMonthInterval(startMonth: any, endMonth: any): number;
66
- import dayjs from "dayjs";
1
+ /**
2
+ * create dayjs datetime
3
+ * @param {string} datetime a datetime string, eg "2020-01-02"
4
+ * @param {string} format format string, eg "YYYY-MM-DD"
5
+ */
6
+ export function createDayJsDatetime(datetime: string, format: string, locale?: string): dayjs.Dayjs;
7
+ /**
8
+ * Add hour to target time
9
+ * @param {Date|string} datetime target time
10
+ * @param {number} value
11
+ */
12
+ export function addHour(datetime: Date | string, value: number): Date;
13
+ /**
14
+ * Add minute to target time
15
+ * @param {Date|string} datetime target time
16
+ * @param {number} value
17
+ */
18
+ export function addMinute(datetime: Date | string, value: number): Date;
19
+ /**
20
+ * Add second to target time
21
+ * @param {Date|string} datetime target time
22
+ * @param {number} value
23
+ */
24
+ export function addSecond(datetime: Date | string, value: number): Date;
25
+ /**
26
+ * Get current time
27
+ */
28
+ export function getNow(): Date;
29
+ /**
30
+ * Compare time less than target
31
+ * @param {Date|number|string} time the time will compare.
32
+ * @param {Date|number|string} compareTarget compare target.
33
+ */
34
+ export function compareTimeLessThan(time: Date | number | string, compareTarget: Date | number | string): boolean;
35
+ /**
36
+ * Compare time greater than target
37
+ * @param {Date|number|string} time the time will compare.
38
+ * @param {Date|number|string} compareTarget compare target.
39
+ */
40
+ export function compareTimeGreaterThan(time: Date | number | string, compareTarget: Date | number | string): boolean;
41
+ /**
42
+ * get time stamp
43
+ * @param {Date|string|number|null} time time, if time is null, will use now time.
44
+ */
45
+ export function getTimeStamp(time?: Date | string | number | null): number;
46
+ /**
47
+ * Calculate time interval
48
+ * @param {Date} startTime start time.
49
+ * @param {Date} endTime end time.
50
+ */
51
+ export function calculateTimeInterval(startTime: Date, endTime: Date): {
52
+ day: number;
53
+ hour: number;
54
+ minute: number;
55
+ second: number;
56
+ };
57
+ export function getDayOfWeek({ data: date }: {
58
+ data: any;
59
+ }): number;
60
+ /**
61
+ * Get today in week like '星期日' / '星期一' / '星期二' / '星期三' / '星期四' / '星期五' / '星期六'
62
+ */
63
+ export function getTodayOfWeek(transferChinese?: boolean): string | number;
64
+ export function calculateDateInterval(date: Date | number | string, nowDate: Date | number | string | null, unit: string | null): number;
65
+ export function calculateMonthInterval(startMonth: any, endMonth: any): number;
66
+ import dayjs from 'dayjs';
@@ -1,4 +1,4 @@
1
- /**
2
- * Module Package Name
3
- */
4
- export const modulePackageName: "easy-soft-utility";
1
+ /**
2
+ * Module Package Name
3
+ */
4
+ export const modulePackageName: "easy-soft-utility";
@@ -1,43 +1,43 @@
1
- export function tryDoDvaPrepareWork(): void;
2
- /**
3
- * Set the open message display monitor
4
- */
5
- export function setPrepareCallback(callback: any): void;
6
- export function reducerRemoteDataAssist(state: any, action: any): any;
7
- export function reducerNormalDataAssist(state: any, action: any): any;
8
- export function reducerRemoveKeyAssist(state: any, action: any): any;
9
- /**
10
- * get tacitly state, it is for state initialization.
11
- */
12
- export function getTacitlyState(): {
13
- data: {
14
- code: number;
15
- message: string;
16
- dataSuccess: boolean;
17
- data: {};
18
- list: never[];
19
- extra: {};
20
- };
21
- };
22
- export namespace preparationWork {
23
- function prepareCallback(): void;
24
- const setPrepareComplete: boolean;
25
- const prepareExecuteComplete: boolean;
26
- }
27
- export namespace reducerNameCollection {
28
- const reducerNormalData: string;
29
- const reducerRemoteData: string;
30
- const reducerRemoveKey: string;
31
- }
32
- export namespace reducerCollection {
33
- function reducerRemoteData(state: any, action: any): any;
34
- function reducerNormalData(state: any, action: any): any;
35
- function reducerRemoveKey(state: any, action: any): any;
36
- }
37
- export namespace reducerDefaultParameters {
38
- const cacheData: boolean;
39
- }
40
- export namespace handleDefaultParameters {
41
- const callback: null;
42
- const pretreatment: null;
43
- }
1
+ export function tryDoDvaPrepareWork(): void;
2
+ /**
3
+ * Set the open message display monitor
4
+ */
5
+ export function setPrepareCallback(callback: any): void;
6
+ export function reducerRemoteDataAssist(state: any, action: any): any;
7
+ export function reducerNormalDataAssist(state: any, action: any): any;
8
+ export function reducerRemoveKeyAssist(state: any, action: any): any;
9
+ /**
10
+ * get tacitly state, it is for state initialization.
11
+ */
12
+ export function getTacitlyState(): {
13
+ data: {
14
+ code: number;
15
+ message: string;
16
+ dataSuccess: boolean;
17
+ data: {};
18
+ list: never[];
19
+ extra: {};
20
+ };
21
+ };
22
+ export namespace preparationWork {
23
+ function prepareCallback(): void;
24
+ let setPrepareComplete: boolean;
25
+ let prepareExecuteComplete: boolean;
26
+ }
27
+ export namespace reducerNameCollection {
28
+ let reducerNormalData: string;
29
+ let reducerRemoteData: string;
30
+ let reducerRemoveKey: string;
31
+ }
32
+ export namespace reducerCollection {
33
+ function reducerRemoteData(state: any, action: any): any;
34
+ function reducerNormalData(state: any, action: any): any;
35
+ function reducerRemoveKey(state: any, action: any): any;
36
+ }
37
+ export namespace reducerDefaultParameters {
38
+ let cacheData: boolean;
39
+ }
40
+ export namespace handleDefaultParameters {
41
+ let callback: null;
42
+ let pretreatment: null;
43
+ }
@@ -1,44 +1,44 @@
1
- /**
2
- * Format to decimal string like '3.25'
3
- */
4
- export function formatDecimal({ data, places, thousand, decimal, }: {
5
- data: any;
6
- places?: number | undefined;
7
- thousand?: string | undefined;
8
- decimal?: string | undefined;
9
- }): string;
10
- /**
11
- * Format to money string like '$3.25'
12
- */
13
- export function formatMoney({ data: numberSource, places: placesSource, symbol: symbolSource, thousand: thousandSource, decimal: decimalSource, }: {
14
- data: any;
15
- places?: number | undefined;
16
- symbol?: string | undefined;
17
- thousand?: string | undefined;
18
- decimal?: string | undefined;
19
- }): string;
20
- /**
21
- * Format to chinese Yuan like '叁千元整'
22
- */
23
- export function formatMoneyToChinese({ target }: {
24
- target: any;
25
- }): string;
26
- export function formatDatetime({ data: date, format, }: {
27
- data: any;
28
- format?: string | undefined;
29
- }): string;
30
- export function formatTarget({ target, format, option }: {
31
- target: any;
32
- format: any;
33
- option?: {} | undefined;
34
- }): any;
35
- /**
36
- * Format date interval
37
- */
38
- export function formatDateInterval(startTime: any, endTime: any, options?: {}): any;
39
- /**
40
- * 格式化指定时间与当前时间的时间间隔
41
- * @param {Date} time 时间
42
- * @param {Object} options 配置参数
43
- */
44
- export function formatDateIntervalWithNow(time: Date, options?: Object): any;
1
+ /**
2
+ * Format to decimal string like '3.25'
3
+ */
4
+ export function formatDecimal({ data, places, thousand, decimal, }: {
5
+ data: any;
6
+ places?: number | undefined;
7
+ thousand?: string | undefined;
8
+ decimal?: string | undefined;
9
+ }): string;
10
+ /**
11
+ * Format to money string like '$3.25'
12
+ */
13
+ export function formatMoney({ data: numberSource, places: placesSource, symbol: symbolSource, thousand: thousandSource, decimal: decimalSource, }: {
14
+ data: any;
15
+ places?: number | undefined;
16
+ symbol?: string | undefined;
17
+ thousand?: string | undefined;
18
+ decimal?: string | undefined;
19
+ }): string;
20
+ /**
21
+ * Format to chinese Yuan like '叁千元整'
22
+ */
23
+ export function formatMoneyToChinese({ target }: {
24
+ target: any;
25
+ }): string;
26
+ export function formatDatetime({ data: date, format, }: {
27
+ data: any;
28
+ format?: string | undefined;
29
+ }): string;
30
+ export function formatTarget({ target, format, option }: {
31
+ target: any;
32
+ format: any;
33
+ option?: {} | undefined;
34
+ }): any;
35
+ /**
36
+ * Format date interval
37
+ */
38
+ export function formatDateInterval(startTime: any, endTime: any, options?: {}): any;
39
+ /**
40
+ * 格式化指定时间与当前时间的时间间隔
41
+ * @param {Date} time 时间
42
+ * @param {Object} options 配置参数
43
+ */
44
+ export function formatDateIntervalWithNow(time: Date, options?: Object): any;
@@ -1,4 +1,4 @@
1
- /**
2
- * Convert pixel to rem string like '0.25rem', default unit precision is 5, default min pixel is 0, it mean ignore convert less than min pixel
3
- */
4
- export function convertPixelToRem(pixel: any, rootValue: any, unitPrecision?: number, minPixelValue?: number): any;
1
+ /**
2
+ * Convert pixel to rem string like '0.25rem', default unit precision is 5, default min pixel is 0, it mean ignore convert less than min pixel
3
+ */
4
+ export function convertPixelToRem(pixel: any, rootValue: any, unitPrecision?: number, minPixelValue?: number): any;
@@ -1 +1 @@
1
- export function adjustUrl(url: any, prefix?: string): any;
1
+ export function adjustUrl(url: any, prefix?: string): any;
@@ -1,40 +1,40 @@
1
- export * from "./accessWayAssist";
2
- export * from "./applicationAssist";
3
- export * from "./authorityCacheAssist";
4
- export * from "./authorityLocalAssist";
5
- export * from "./base64";
6
- export * from "./cacheAssist";
7
- export * from "./calculate";
8
- export * from "./checkAssist";
9
- export * from "./colorAssist";
10
- export * from "./common";
11
- export * from "./componentAssist";
12
- export * from "./constants";
13
- export * from "./convertAssist";
14
- export * from "./convertExtraAssist";
15
- export * from "./currentOperatorAssist";
16
- export * from "./datetime";
17
- export * from "./dvaAssist";
18
- export * from "./formatAssist";
19
- export * from "./htmlAssist";
20
- export * from "./httpAssist";
21
- export * from "./localMetaDataAssist";
22
- export * from "./localStorageAssist";
23
- export * from "./lodashTools";
24
- export * from "./loggerAssist";
25
- export * from "./messagePromptAssist";
26
- export * from "./meta";
27
- export * from "./modelAssist";
28
- export * from "./navigationAssist";
29
- export * from "./nearestLocalhostNotify";
30
- export * from "./notificationPromptAssist";
31
- export * from "./parametersDataAssist";
32
- export * from "./progressAssist";
33
- export * from "./promptAssist";
34
- export * from "./queryString";
35
- export * from "./requestAssist";
36
- export * from "./runtimeAssist";
37
- export * from "./sessionStorageAssist";
38
- export * from "./tokenAssist";
39
- export * from "./tools";
40
- export * from "./userInterfaceGenerate";
1
+ export * from "./accessWayAssist";
2
+ export * from "./applicationAssist";
3
+ export * from "./authorityCacheAssist";
4
+ export * from "./authorityLocalAssist";
5
+ export * from "./base64";
6
+ export * from "./cacheAssist";
7
+ export * from "./calculate";
8
+ export * from "./checkAssist";
9
+ export * from "./colorAssist";
10
+ export * from "./common";
11
+ export * from "./componentAssist";
12
+ export * from "./constants";
13
+ export * from "./convertAssist";
14
+ export * from "./convertExtraAssist";
15
+ export * from "./currentOperatorAssist";
16
+ export * from "./datetime";
17
+ export * from "./dvaAssist";
18
+ export * from "./formatAssist";
19
+ export * from "./htmlAssist";
20
+ export * from "./httpAssist";
21
+ export * from "./localMetaDataAssist";
22
+ export * from "./localStorageAssist";
23
+ export * from "./lodashTools";
24
+ export * from "./loggerAssist";
25
+ export * from "./messagePromptAssist";
26
+ export * from "./meta";
27
+ export * from "./modelAssist";
28
+ export * from "./navigationAssist";
29
+ export * from "./nearestLocalhostNotify";
30
+ export * from "./notificationPromptAssist";
31
+ export * from "./parametersDataAssist";
32
+ export * from "./progressAssist";
33
+ export * from "./promptAssist";
34
+ export * from "./queryString";
35
+ export * from "./requestAssist";
36
+ export * from "./runtimeAssist";
37
+ export * from "./sessionStorageAssist";
38
+ export * from "./tokenAssist";
39
+ export * from "./tools";
40
+ export * from "./userInterfaceGenerate";
@@ -1,17 +1,17 @@
1
- /**
2
- * Get local meta data cache key
3
- */
4
- export function getLocalMetaDataCacheKey(): string;
5
- /**
6
- * Get local meta data
7
- */
8
- export function getLocalMetaData(): any;
9
- /**
10
- * Set local meta data
11
- * @param {Object} data the date will save to local storage.
12
- */
13
- export function setLocalMetaData(data: Object): void;
14
- /**
15
- * Remove local meta data
16
- */
17
- export function removeLocalMetaData(): void;
1
+ /**
2
+ * Get local meta data cache key
3
+ */
4
+ export function getLocalMetaDataCacheKey(): string;
5
+ /**
6
+ * Get local meta data
7
+ */
8
+ export function getLocalMetaData(): any;
9
+ /**
10
+ * Set local meta data
11
+ * @param {Object} data the date will save to local storage.
12
+ */
13
+ export function setLocalMetaData(data: Object): void;
14
+ /**
15
+ * Remove local meta data
16
+ */
17
+ export function removeLocalMetaData(): void;