easy-soft-utility 2.4.31 → 2.4.32
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/es/index.js
CHANGED
|
@@ -2509,6 +2509,11 @@ function flushLocalStorage() {
|
|
|
2509
2509
|
var storageKeyCollection$3 = {
|
|
2510
2510
|
accessWayCollection: 'accessWayCollection'
|
|
2511
2511
|
};
|
|
2512
|
+
|
|
2513
|
+
/**
|
|
2514
|
+
* Get access way collection cache
|
|
2515
|
+
* @returns
|
|
2516
|
+
*/
|
|
2512
2517
|
function getAccessWayCollectionCache() {
|
|
2513
2518
|
var result = {};
|
|
2514
2519
|
var key = storageKeyCollection$3.accessWayCollection;
|
|
@@ -2596,9 +2601,9 @@ function setApplicationInitialConfig(config) {
|
|
|
2596
2601
|
|
|
2597
2602
|
/**
|
|
2598
2603
|
* Set application external config list
|
|
2599
|
-
* @param {Array} configs application initial config list
|
|
2604
|
+
* @param {Object|Array} configs application initial config list
|
|
2600
2605
|
*/
|
|
2601
|
-
function setApplicationExternalConfigList() {
|
|
2606
|
+
function setApplicationExternalConfigList(configs) {
|
|
2602
2607
|
if (applicationConfiguration.externalConfigListSetComplete) {
|
|
2603
2608
|
displayTextMessage({
|
|
2604
2609
|
text: buildPromptModuleInfoText$1('setApplicationExternalConfigList -> reset is not allowed, it can be set only once'),
|
|
@@ -2617,10 +2622,7 @@ function setApplicationExternalConfigList() {
|
|
|
2617
2622
|
});
|
|
2618
2623
|
}
|
|
2619
2624
|
var runtimeDataStorage = getRuntimeDataStorage();
|
|
2620
|
-
|
|
2621
|
-
configs[_key] = arguments[_key];
|
|
2622
|
-
}
|
|
2623
|
-
runtimeDataStorage.externalConfigList = configs;
|
|
2625
|
+
runtimeDataStorage.externalConfigList = isArray$2(configs) ? configs : isObject(configs) ? [configs] : [];
|
|
2624
2626
|
applicationConfiguration.externalConfigListSetComplete = true;
|
|
2625
2627
|
}
|
|
2626
2628
|
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
export function setApplicationInitialConfig(config: number): void;
|
|
6
6
|
/**
|
|
7
7
|
* Set application external config list
|
|
8
|
-
* @param {Array} configs application initial config list
|
|
8
|
+
* @param {Object|Array} configs application initial config list
|
|
9
9
|
*/
|
|
10
|
-
export function setApplicationExternalConfigList(
|
|
10
|
+
export function setApplicationExternalConfigList(configs: Object | any[]): void;
|
|
11
11
|
/**
|
|
12
12
|
* Get application initial config
|
|
13
13
|
* @returns
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easy-soft-utility",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.32",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "easy-soft-utility",
|
|
6
6
|
"keywords": [
|
|
@@ -136,5 +136,5 @@
|
|
|
136
136
|
"stylelint-declaration-block-no-ignored-properties": "^2.6.0",
|
|
137
137
|
"webpack": "^5.75.0"
|
|
138
138
|
},
|
|
139
|
-
"gitHead": "
|
|
139
|
+
"gitHead": "3a153e3114ef23d9169ff04f5b3370bdaf9512ad"
|
|
140
140
|
}
|