@elaraai/e3-ui-components 1.0.45 → 1.0.46
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/decision/constraint-format.d.ts.map +1 -1
- package/dist/decision/handle-runtime.d.ts.map +1 -1
- package/dist/experiment/index.d.ts.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ var __privateWrapper = (obj, member, setter, getter) => ({
|
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
var _focused, _cleanup, _setup, _a, _provider, _providerCalled, _b, _online, _cleanup2, _setup2, _c, _gcTimeout, _d, _initialState, _revertState, _cache, _client, _retryer, _defaultOptions, _abortSignalConsumed, _Query_instances, isInitialPausedFetch_fn, dispatch_fn, _e, _client2, _observers, _mutationCache, _retryer2, _Mutation_instances, dispatch_fn2, _f, _mutations, _scopes, _mutationId, _g, _queries, _h, _queryCache, _mutationCache2, _defaultOptions2, _queryDefaults, _mutationDefaults, _mountCount, _unsubscribeFocus, _unsubscribeOnline, _i, _j;
|
|
21
|
-
import { variant, SortedMap, compareFor, EastError, fromEastTypeValue, East, none as none$1, some, OptionType, BooleanType, NullType, ConflictError, equalFor, toEastTypeValue, PatchType, diffFor, applyFor, encodeBeast2For, decodeBeast2For, BlobType, StructType, StringType, walkPatch, pathToString, pathDisplay, printFor, isVariant, prunePatchFor, detectConflictsFor, mergeWithResolutionsFor, validatePatchFor, ArrayType } from "@elaraai/east";
|
|
21
|
+
import { variant, SortedMap, compareFor, EastError, fromEastTypeValue, East, none as none$1, some, OptionType, BooleanType, NullType, ConflictError, equalFor, toEastTypeValue, PatchType, diffFor, applyFor, encodeBeast2For, decodeBeast2For, BlobType, StructType, StringType, walkPatch, pathToString, pathDisplay, printFor, isVariant, prunePatchFor, detectConflictsFor, mergeWithResolutionsFor, validatePatchFor, isEastSet, isEastDict, ArrayType } from "@elaraai/east";
|
|
22
22
|
import { EastTypeType } from "@elaraai/east/internal";
|
|
23
23
|
import { DataBindModeType, DataBindPrimitives, bindPlatformFn, FuncBindPrimitives, FuncErrorType, FuncStatusType, funcBindPlatformFn, RecordBindPrimitives, recordBindPlatformFn, Diff, Ontology, FuncBindHandleType, Experiment, decisionBindPlatformFn, DecisionBindPrimitives, DecisionConstraintType, DiffBindingType, CommitStateType, VerdictType, AnswerType, judgementInputType, DecisionType, DecisionQueue, DecisionJournal, decodeManifest } from "@elaraai/e3-ui/internal";
|
|
24
24
|
import { registerReactiveTracker, registerPlatformImplementation, StateRuntime, getRegisteredPlatformImplementations, boundSliceConfig } from "@elaraai/east-ui-components/platform";
|
|
@@ -61013,9 +61013,9 @@ function rowMatchesAll(row, preds) {
|
|
|
61013
61013
|
case "gte":
|
|
61014
61014
|
return num(v3) != null && num(ov) != null ? num(v3) >= num(ov) : true;
|
|
61015
61015
|
case "in":
|
|
61016
|
-
return ov
|
|
61016
|
+
return isEastSet(ov) ? ov.has(v3) : true;
|
|
61017
61017
|
case "notIn":
|
|
61018
|
-
return ov
|
|
61018
|
+
return isEastSet(ov) ? !ov.has(v3) : true;
|
|
61019
61019
|
default:
|
|
61020
61020
|
return true;
|
|
61021
61021
|
}
|
|
@@ -62109,8 +62109,8 @@ function stableStringify(v3) {
|
|
|
62109
62109
|
return JSON.stringify(v3, (_k, x2) => {
|
|
62110
62110
|
if (typeof x2 === "bigint") return `${x2}n`;
|
|
62111
62111
|
if (x2 instanceof Date) return x2.toISOString();
|
|
62112
|
-
if (x2
|
|
62113
|
-
if (x2
|
|
62112
|
+
if (isEastSet(x2)) return [...x2].sort();
|
|
62113
|
+
if (isEastDict(x2)) return [...x2.entries()].sort((a2, b2) => String(a2[0]).localeCompare(String(b2[0])));
|
|
62114
62114
|
return x2;
|
|
62115
62115
|
});
|
|
62116
62116
|
}
|
|
@@ -62431,7 +62431,7 @@ function formatScalar(v3) {
|
|
|
62431
62431
|
if (v3 instanceof Date) {
|
|
62432
62432
|
return `${v3.toLocaleString("en", { month: "short" })} ${v3.getDate()}`;
|
|
62433
62433
|
}
|
|
62434
|
-
if (v3
|
|
62434
|
+
if (isEastSet(v3)) {
|
|
62435
62435
|
return `{${[...v3].map(formatScalar).join(", ")}}`;
|
|
62436
62436
|
}
|
|
62437
62437
|
if (v3 !== null && typeof v3 === "object" && !v3.type) {
|