@jsenv/navi 0.18.26 → 0.18.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 +11 -15
- package/dist/jsenv_navi.js.map +5 -5
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -2335,7 +2335,6 @@ const actionRunEffect = (
|
|
|
2335
2335
|
if (typeof action === "function") {
|
|
2336
2336
|
action = createAction(action);
|
|
2337
2337
|
}
|
|
2338
|
-
let lastTruthyParams;
|
|
2339
2338
|
let actionParamsSignal = computed(() => {
|
|
2340
2339
|
const params = deriveActionParamsFromSignals();
|
|
2341
2340
|
action.debug(
|
|
@@ -2352,9 +2351,6 @@ const actionRunEffect = (
|
|
|
2352
2351
|
);
|
|
2353
2352
|
}
|
|
2354
2353
|
}
|
|
2355
|
-
if (lastTruthyParams === undefined) {
|
|
2356
|
-
lastTruthyParams = params;
|
|
2357
|
-
}
|
|
2358
2354
|
return params;
|
|
2359
2355
|
});
|
|
2360
2356
|
if (debounce) {
|
|
@@ -2395,8 +2391,9 @@ const actionRunEffect = (
|
|
|
2395
2391
|
actionTargetPrevious.abort("abortOnFalsyParams");
|
|
2396
2392
|
return;
|
|
2397
2393
|
}
|
|
2398
|
-
if (
|
|
2399
|
-
|
|
2394
|
+
if (!actionTargetPrevious.params) {
|
|
2395
|
+
// coming from falsy-params state: action may already be cached, avoid unnecessary rerun
|
|
2396
|
+
actionTarget.run({ reason: "params restored from falsy state" });
|
|
2400
2397
|
} else {
|
|
2401
2398
|
actionTarget.rerun({ reason: "params modified" });
|
|
2402
2399
|
}
|
|
@@ -29084,17 +29081,15 @@ const Address = ({
|
|
|
29084
29081
|
});
|
|
29085
29082
|
};
|
|
29086
29083
|
|
|
29087
|
-
const LoadingDots = ({
|
|
29088
|
-
color = "FF156D"
|
|
29089
|
-
}) => {
|
|
29084
|
+
const LoadingDots = () => {
|
|
29090
29085
|
return jsxs("svg", {
|
|
29091
29086
|
viewBox: "0 0 200 200",
|
|
29092
29087
|
width: "100%",
|
|
29093
29088
|
height: "100%",
|
|
29094
29089
|
xmlns: "http://www.w3.org/2000/svg",
|
|
29095
29090
|
children: [jsx("rect", {
|
|
29096
|
-
fill:
|
|
29097
|
-
stroke:
|
|
29091
|
+
fill: "currentColor",
|
|
29092
|
+
stroke: "currentColor",
|
|
29098
29093
|
"stroke-width": "15",
|
|
29099
29094
|
width: "30",
|
|
29100
29095
|
height: "30",
|
|
@@ -29110,8 +29105,8 @@ const LoadingDots = ({
|
|
|
29110
29105
|
begin: "-.4"
|
|
29111
29106
|
})
|
|
29112
29107
|
}), jsx("rect", {
|
|
29113
|
-
fill:
|
|
29114
|
-
stroke:
|
|
29108
|
+
fill: "currentColor",
|
|
29109
|
+
stroke: "currentColor",
|
|
29115
29110
|
"stroke-width": "15",
|
|
29116
29111
|
width: "30",
|
|
29117
29112
|
height: "30",
|
|
@@ -29127,8 +29122,8 @@ const LoadingDots = ({
|
|
|
29127
29122
|
begin: "-.2"
|
|
29128
29123
|
})
|
|
29129
29124
|
}), jsx("rect", {
|
|
29130
|
-
fill:
|
|
29131
|
-
stroke:
|
|
29125
|
+
fill: "currentColor",
|
|
29126
|
+
stroke: "currentColor",
|
|
29132
29127
|
"stroke-width": "15",
|
|
29133
29128
|
width: "30",
|
|
29134
29129
|
height: "30",
|
|
@@ -30136,6 +30131,7 @@ const Meter = ({
|
|
|
30136
30131
|
let children = caption;
|
|
30137
30132
|
if (children === undefined && percentage) {
|
|
30138
30133
|
children = jsx(Quantity, {
|
|
30134
|
+
loading: loading,
|
|
30139
30135
|
unit: "%",
|
|
30140
30136
|
unitSizeRatio: "1",
|
|
30141
30137
|
unitColor: "inherit",
|