@jsenv/navi 0.26.26 → 0.26.28
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/dist/jsenv_navi.js +5 -4
- package/dist/jsenv_navi.js.map +3 -3
- package/package.json +2 -2
package/dist/jsenv_navi.js
CHANGED
|
@@ -5312,7 +5312,6 @@ const generateSignalId = () => {
|
|
|
5312
5312
|
* const childTab = stateSignal(parentTab);
|
|
5313
5313
|
* // childTab follows parentTab changes unless explicitly set
|
|
5314
5314
|
*/
|
|
5315
|
-
const NO_LOCAL_STORAGE = [() => undefined, () => {}, () => {}];
|
|
5316
5315
|
const stateSignal = (defaultValue, options = {}) => {
|
|
5317
5316
|
const {
|
|
5318
5317
|
id,
|
|
@@ -5324,6 +5323,7 @@ const stateSignal = (defaultValue, options = {}) => {
|
|
|
5324
5323
|
persists = false,
|
|
5325
5324
|
debug,
|
|
5326
5325
|
default: staticFallback,
|
|
5326
|
+
ignoreArrayOrder = true,
|
|
5327
5327
|
} = options;
|
|
5328
5328
|
|
|
5329
5329
|
// Check if defaultValue is a signal (dynamic default) or static value
|
|
@@ -5416,15 +5416,15 @@ const stateSignal = (defaultValue, options = {}) => {
|
|
|
5416
5416
|
const dynamicValue = dynamicDefaultSignal.peek();
|
|
5417
5417
|
if (dynamicValue === undefined) {
|
|
5418
5418
|
return !compareTwoJsValues(value, staticDefaultValue, {
|
|
5419
|
-
ignoreArrayOrder
|
|
5419
|
+
ignoreArrayOrder,
|
|
5420
5420
|
});
|
|
5421
5421
|
}
|
|
5422
5422
|
return !compareTwoJsValues(value, dynamicValue, {
|
|
5423
|
-
ignoreArrayOrder
|
|
5423
|
+
ignoreArrayOrder,
|
|
5424
5424
|
});
|
|
5425
5425
|
}
|
|
5426
5426
|
return !compareTwoJsValues(value, staticDefaultValue, {
|
|
5427
|
-
ignoreArrayOrder
|
|
5427
|
+
ignoreArrayOrder,
|
|
5428
5428
|
});
|
|
5429
5429
|
};
|
|
5430
5430
|
|
|
@@ -5670,6 +5670,7 @@ const stateSignal = (defaultValue, options = {}) => {
|
|
|
5670
5670
|
return facadeSignal;
|
|
5671
5671
|
};
|
|
5672
5672
|
|
|
5673
|
+
const NO_LOCAL_STORAGE = [() => undefined, () => {}, () => {}];
|
|
5673
5674
|
const localStorageTypeMap = {
|
|
5674
5675
|
float: "number",
|
|
5675
5676
|
integer: "number",
|