@almadar/core 11.0.0 → 11.1.0
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/{builders-BhnofAik.d.ts → builders-ZJeyUxCs.d.ts} +302 -241
- package/dist/builders.d.ts +5 -5
- package/dist/builders.js +2 -2
- package/dist/{bus-BrRFWDQK.d.ts → bus-BwqO-o6e.d.ts} +9 -17
- package/dist/{chunk-Y2DYZPP5.js → chunk-5WQ3U7NJ.js} +38 -4
- package/dist/chunk-5WQ3U7NJ.js.map +1 -0
- package/dist/{chunk-3URQAGD7.js → chunk-5YTPYMPZ.js} +5 -4
- package/dist/chunk-5YTPYMPZ.js.map +1 -0
- package/dist/chunk-66Q5VX2F.js +3810 -0
- package/dist/chunk-66Q5VX2F.js.map +1 -0
- package/dist/{chunk-FQLEAMAB.js → chunk-E4T2MQAV.js} +3 -3
- package/dist/{chunk-FQLEAMAB.js.map → chunk-E4T2MQAV.js.map} +1 -1
- package/dist/{chunk-JCD6GLBX.js → chunk-ENOCKYGA.js} +3 -3
- package/dist/{chunk-JCD6GLBX.js.map → chunk-ENOCKYGA.js.map} +1 -1
- package/dist/{chunk-HEXOGHQ4.js → chunk-GF7KCLNR.js} +23 -3
- package/dist/chunk-GF7KCLNR.js.map +1 -0
- package/dist/{chunk-ZEI7C32D.js → chunk-PNGFWLHD.js} +4 -3
- package/dist/chunk-PNGFWLHD.js.map +1 -0
- package/dist/{chunk-UZPYYI37.js → chunk-SNZYN7UA.js} +3520 -1910
- package/dist/{chunk-UZPYYI37.js.map → chunk-SNZYN7UA.js.map} +1 -1
- package/dist/{chunk-F6KHUW7T.js → chunk-TDNQT3M3.js} +3 -3
- package/dist/{chunk-F6KHUW7T.js.map → chunk-TDNQT3M3.js.map} +1 -1
- package/dist/{chunk-MTBEBSNO.js → chunk-Z7BI7DE7.js} +8 -8
- package/dist/chunk-Z7BI7DE7.js.map +1 -0
- package/dist/{effect-wP-IdRt2.d.ts → effect-BLpc68hI.d.ts} +75 -38
- package/dist/{effect-result-DPERsn_v.d.ts → effect-result-AQSZ27vS.d.ts} +19 -4
- package/dist/factory/index.d.ts +2 -2
- package/dist/factory/index.js +3 -3
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +9 -9
- package/dist/fixtures.d.ts +3 -3
- package/dist/fixtures.js +2 -2
- package/dist/i18n/index.js +1 -1
- package/dist/{index-DomgmRBG.d.ts → index-CIlDAOq-.d.ts} +23 -23
- package/dist/index.d.ts +37 -14
- package/dist/index.js +14 -14
- package/dist/kernel-wire.d.ts +2 -2
- package/dist/kernel-wire.js +1 -1
- package/dist/language/validation-codes.json +20 -0
- package/dist/language-data.js +1 -1
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/definitions.d.ts +1 -1
- package/dist/patterns/definitions.js +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/game-font-families.json +13 -0
- package/dist/patterns/index.d.ts +2 -2
- package/dist/patterns/index.js +2 -2
- package/dist/patterns/pattern-tile-geometry.json +1065 -0
- package/dist/patterns/patterns-registry.json +3518 -1908
- package/dist/patterns/registry.json +3518 -1908
- package/dist/{trait-CzG9M89M.d.ts → trait-SNHnODBK.d.ts} +72 -72
- package/dist/types/index.d.ts +8 -8
- package/dist/types/index.js +6 -6
- package/dist/{types-BHlTjwWd.d.ts → types-DSAL7TDM.d.ts} +2 -2
- package/package.json +5 -5
- package/dist/chunk-3URQAGD7.js.map +0 -1
- package/dist/chunk-HEXOGHQ4.js.map +0 -1
- package/dist/chunk-MGLG2XLD.js +0 -3810
- package/dist/chunk-MGLG2XLD.js.map +0 -1
- package/dist/chunk-MTBEBSNO.js.map +0 -1
- package/dist/chunk-Y2DYZPP5.js.map +0 -1
- package/dist/chunk-ZEI7C32D.js.map +0 -1
- package/dist/{domain-CfKPpXCP.d.ts → domain-JuWUUeJ3.d.ts} +51 -51
package/dist/builders.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './effect-
|
|
2
|
-
export {
|
|
3
|
-
import './trait-
|
|
1
|
+
import './effect-BLpc68hI.js';
|
|
2
|
+
export { bP as ComposeConnection, bQ as ComposePage, G as EventWiringEntry, S as LayoutStrategy, bR as MakeAtomOrbitalOpts, bS as MakeAtomOrbitalTraitOverrides, bT as MakeEntityOpts, bU as MakeLayoutTraitOpts, bV as MakeOrbitalWithUsesOpts, bW as MakePageOpts, bX as MakePageRefOpts, bY as MakePageRefOptsTyped, M as MakeTraitRefOpts, bZ as MakeTraitRefOptsTyped, a2 as ORBITAL_VALUE_IMPORT_ALIAS, b_ as applyTraitConfigOverrides, b$ as compose, c0 as connect, c1 as ensureIdField, c2 as extractTrait, c3 as makeAtomOrbital, c4 as makeEntity, c5 as makeLayoutTrait, c6 as makeOrbital, c7 as makeOrbitalWithUses, c8 as makePage, c9 as makePageRef, ca as makeRenderUI, cb as makeSchema, cc as makeSlot, cd as makeTraitRef, ce as mergeOrbitals, bA as orbitalImportFromValue, bI as parseProgram, cf as pipe, cg as plural, ch as wire } from './builders-ZJeyUxCs.js';
|
|
3
|
+
import './trait-SNHnODBK.js';
|
|
4
4
|
import './expression-DirYKz-f.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import './domain-
|
|
7
|
-
import './effect-result-
|
|
6
|
+
import './domain-JuWUUeJ3.js';
|
|
7
|
+
import './effect-result-AQSZ27vS.js';
|
package/dist/builders.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ORBITAL_VALUE_IMPORT_ALIAS, applyTraitConfigOverrides, compose, connect, ensureIdField, extractTrait, makeAtomOrbital, makeEntity, makeLayoutTrait, makeOrbital, makeOrbitalWithUses, makePage, makePageRef, makeRenderUI, makeSchema, makeSlot, makeTraitRef, mergeOrbitals, orbitalImportFromValue, parseProgram, pipe, plural, wire } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { ORBITAL_VALUE_IMPORT_ALIAS, applyTraitConfigOverrides, compose, connect, ensureIdField, extractTrait, makeAtomOrbital, makeEntity, makeLayoutTrait, makeOrbital, makeOrbitalWithUses, makePage, makePageRef, makeRenderUI, makeSchema, makeSlot, makeTraitRef, mergeOrbitals, orbitalImportFromValue, parseProgram, pipe, plural, wire } from './chunk-ENOCKYGA.js';
|
|
2
|
+
import './chunk-PNGFWLHD.js';
|
|
3
3
|
import './chunk-M4S2B5VJ.js';
|
|
4
4
|
import './chunk-FGT5OS2Y.js';
|
|
5
5
|
import './chunk-347APWFM.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { E as EventPayloadValue, c as EventPayload, L as LogMeta, R as RuntimeValue, a as JsonObject, J as JsonValue } from './expression-DirYKz-f.js';
|
|
3
|
-
import { c as EntityRow, i as FieldValue, j as ServiceParams, O as OrbitalId, T as TraitId, b as EventId } from './effect-
|
|
4
|
-
import { V as Viewer, a as EventResponse, E as EventRequest } from './effect-result-
|
|
5
|
-
import { P as PayloadField } from './trait-
|
|
6
|
-
import { J as JsonSchema } from './types-
|
|
3
|
+
import { c as EntityRow, i as FieldValue, j as ServiceParams, O as OrbitalId, T as TraitId, b as EventId } from './effect-BLpc68hI.js';
|
|
4
|
+
import { V as Viewer, H as HostAskCompletion, a as EventResponse, E as EventRequest } from './effect-result-AQSZ27vS.js';
|
|
5
|
+
import { P as PayloadField } from './trait-SNHnODBK.js';
|
|
6
|
+
import { J as JsonSchema } from './types-DSAL7TDM.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Service Contract Types
|
|
@@ -913,17 +913,7 @@ type ClientNavigateTuple = ['navigate', string] | ['navigate', string, Record<st
|
|
|
913
913
|
type ClientNavigateBackTuple = ['navigate-back'];
|
|
914
914
|
/** A `runsOn: client` host-port effect (`auth/sign-out`, `audio/*`) the client host answers; its arguments are resolved. */
|
|
915
915
|
type ClientHostAskTuple = ['host-ask', string, JsonValue[]] | ['host-ask', string, JsonValue[], HostAskCompletion];
|
|
916
|
-
|
|
917
|
-
* The return address of a `host-ask` that declared `emit` routes (EXEC-DIST-13): the host answers once by dispatching
|
|
918
|
-
* the event of the outcome it reached to `trait` (on `entityId` when the frame is a row); an absent route fires nothing.
|
|
919
|
-
*/
|
|
920
|
-
type HostAskCompletion = {
|
|
921
|
-
trait: string;
|
|
922
|
-
entityId?: string;
|
|
923
|
-
key?: string;
|
|
924
|
-
success?: string;
|
|
925
|
-
failure?: string;
|
|
926
|
-
};
|
|
916
|
+
|
|
927
917
|
type ClientEffectTuple = ClientRenderUITuple | ClientNavigateTuple | ClientNavigateBackTuple | ClientHostAskTuple;
|
|
928
918
|
/** Zod twin of `ClientRenderUITuple`. */
|
|
929
919
|
declare const ClientRenderUITupleSchema: z.ZodTuple<[z.ZodLiteral<"render-ui">, z.ZodString, z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>], null>;
|
|
@@ -940,6 +930,7 @@ declare const HostAskCompletionSchema: z.ZodObject<{
|
|
|
940
930
|
key: z.ZodOptional<z.ZodString>;
|
|
941
931
|
success: z.ZodOptional<z.ZodString>;
|
|
942
932
|
failure: z.ZodOptional<z.ZodString>;
|
|
933
|
+
onMessage: z.ZodOptional<z.ZodString>;
|
|
943
934
|
}, z.core.$strict>;
|
|
944
935
|
declare const ClientHostAskTupleSchema: z.ZodUnion<readonly [z.ZodTuple<[z.ZodLiteral<"host-ask">, z.ZodString, z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>], null>, z.ZodTuple<[z.ZodLiteral<"host-ask">, z.ZodString, z.ZodArray<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>, z.ZodObject<{
|
|
945
936
|
trait: z.ZodString;
|
|
@@ -947,6 +938,7 @@ declare const ClientHostAskTupleSchema: z.ZodUnion<readonly [z.ZodTuple<[z.ZodLi
|
|
|
947
938
|
key: z.ZodOptional<z.ZodString>;
|
|
948
939
|
success: z.ZodOptional<z.ZodString>;
|
|
949
940
|
failure: z.ZodOptional<z.ZodString>;
|
|
941
|
+
onMessage: z.ZodOptional<z.ZodString>;
|
|
950
942
|
}, z.core.$strict>], null>]>;
|
|
951
943
|
/** Zod twin of `ClientEffectTuple`. */
|
|
952
944
|
declare const ClientEffectTupleSchema: z.ZodType<ClientEffectTuple>;
|
|
@@ -1118,5 +1110,5 @@ interface LiveBroadcastItem {
|
|
|
1118
1110
|
/** Zod twin of `LiveBroadcastItem`. Third type param `object`, see `BusEventSourceSchema`. */
|
|
1119
1111
|
declare const LiveBroadcastItemSchema: z.ZodType<LiveBroadcastItem, object>;
|
|
1120
1112
|
|
|
1121
|
-
export {
|
|
1122
|
-
export type { BusEvent as B, ClientEffectTuple as C, DeliveryRecord as D, EventStreamItem as E, InboundDelivery as
|
|
1113
|
+
export { PayloadJsonSchemaSchema as $, ANONYMOUS_USER as A, InboundFoundSchema as G, HostAskCompletionSchema as H, InboundOnlySchema as J, InboundRouteSchema as M, LIFECYCLE_EVENTS as N, LiveBroadcastItemSchema as Q, MountSeedSchema as S, NameListSchema as T, OptionalNameSchema as W, OrbitalRegisterResponseSchema as Y, PayloadIssueSchema as _, ROW_SET_MARKER as a3, RawUserClaimsSchema as a5, UNMOUNT_EVENT as aA, ViewerSchema as aD, createLazyService as aF, createTypedEventBus as aG, findPersonaInRoster as aH, isRowSetMarker as aI, normalizeEventKey as aJ, normalizeUserContext as aK, personaFromIdentityRow as aL, resolvePersonaSpec as aM, rowSetMarker as aN, tickEventKey as aO, RowSetRefSchema as aj, ServerTopologySchema as ar, BusEventSourceSchema as d, ClientEffectTupleSchema as e, ClientHostAskTupleSchema as g, ClientNavigateBackTupleSchema as i, ClientNavigateTupleSchema as k, ClientRenderUITupleSchema as m, DeliveryRecordSchema as n, DispatchLogSchema as p, EmittedEventSchema as r, EventStreamItemSchema as v, ExternalInputSchema as y, InboundAnswerSchema as z };
|
|
1114
|
+
export type { BusEvent as B, ClientEffectTuple as C, DeliveryRecord as D, EventStreamItem as E, InboundDelivery as F, InboundAnswer as I, InboundRoute as K, LiveBroadcastItem as L, LazyService as O, LifecycleEvent as P, MountSeed as R, UserContext as U, OperatorValueKinds as V, OrbitalRegisterResponse as X, PayloadIssue as Z, EmittedEvent as a, PersistActionName as a0, PersistenceAdapter as a1, QueryCapabilities as a2, RawUserClaims as a4, RowCommit as a6, RowCommitWrite as a7, RowCompareOp as a8, RowIdPage as a9, Unsubscribe as aB, ViewerAuthority as aC, WriteCapabilities as aE, RowOperator as aa, RowOrder as ab, RowPage as ac, RowPageRequest as ad, RowPredicate as ae, RowQuery as af, RowQueryPage as ag, RowSetMarker as ah, RowSetRef as ai, RowTotalMode as ak, RowValueKind as al, RowWriteBatch as am, RowWriteFailureMode as an, RowWriteOp as ao, RowWriteOutcome as ap, ServerTopology as aq, ServiceAction as as, ServiceActionName as at, ServiceContract as au, ServiceEvents as av, ServiceHostPorts as aw, StoreContract as ax, StoreFilter as ay, StoreFilterOp as az, BusEventListener as b, BusEventSource as c, ClientHostAskTuple as f, ClientNavigateBackTuple as h, ClientNavigateTuple as j, ClientRenderUITuple as l, DispatchLog as o, DispatchRequestOutcome as q, EventEmit as s, EventKey as t, EventListen as u, ExternalInput as w, ExternalInputRequest as x };
|
|
@@ -610,6 +610,7 @@ var en_default = {
|
|
|
610
610
|
mergedFrom: "mergedFrom",
|
|
611
611
|
projectedFrom: "projectedFrom",
|
|
612
612
|
messageSources: "messageSources",
|
|
613
|
+
messages: "messages",
|
|
613
614
|
min: "min",
|
|
614
615
|
mock: "mock",
|
|
615
616
|
modes: "modes",
|
|
@@ -1221,6 +1222,7 @@ var en_default = {
|
|
|
1221
1222
|
"program/inputs": "program/inputs",
|
|
1222
1223
|
"program/live": "program/live",
|
|
1223
1224
|
"program/open": "program/open",
|
|
1225
|
+
"program/navigate": "program/navigate",
|
|
1224
1226
|
"program/close": "program/close",
|
|
1225
1227
|
"program/self": "program/self",
|
|
1226
1228
|
"program/print": "program/print",
|
|
@@ -1339,6 +1341,8 @@ var en_default = {
|
|
|
1339
1341
|
"validate/string": "validate/string",
|
|
1340
1342
|
"validate/url": "validate/url",
|
|
1341
1343
|
"validate/uuid": "validate/uuid",
|
|
1344
|
+
"value/depth": "value/depth",
|
|
1345
|
+
"value/key": "value/key",
|
|
1342
1346
|
"vec/add": "vec/add",
|
|
1343
1347
|
"vec/angle": "vec/angle",
|
|
1344
1348
|
"vec/clamp-length": "vec/clamp-length",
|
|
@@ -1441,7 +1445,26 @@ function createKernelEvaluator(kernel) {
|
|
|
1441
1445
|
},
|
|
1442
1446
|
validatePacks(packs) {
|
|
1443
1447
|
kernel.validatePacks(JSON.stringify(packs));
|
|
1444
|
-
}
|
|
1448
|
+
},
|
|
1449
|
+
expandFxLayer(layerJson, epochNowMs, dimension, tileWidth) {
|
|
1450
|
+
return kernel.expandFxLayer(layerJson, epochNowMs, dimension, tileWidth);
|
|
1451
|
+
},
|
|
1452
|
+
resolveFxView(itemJson, presetsJson) {
|
|
1453
|
+
return kernel.resolveFxView(itemJson, presetsJson);
|
|
1454
|
+
},
|
|
1455
|
+
fxLifecycle(viewJson, epochNowMs, tickMs) {
|
|
1456
|
+
return kernel.fxLifecycle(viewJson, epochNowMs, tickMs);
|
|
1457
|
+
},
|
|
1458
|
+
fxHash01(seed, salt) {
|
|
1459
|
+
return kernel.fxHash01(seed, salt);
|
|
1460
|
+
},
|
|
1461
|
+
skinWorldMatrices: (bonesJson, poseJson) => kernel.skinWorldMatrices(bonesJson, poseJson),
|
|
1462
|
+
skinVertices: (meshJson, bindJson, currentJson) => kernel.skinVertices(meshJson, bindJson, currentJson),
|
|
1463
|
+
skinComposeAffine: (aJson, bJson) => kernel.skinComposeAffine(aJson, bJson),
|
|
1464
|
+
skinInvertAffine: (matrixJson, bone) => kernel.skinInvertAffine(matrixJson, bone),
|
|
1465
|
+
skinApplyAffine: (matrixJson, x, y) => kernel.skinApplyAffine(matrixJson, x, y),
|
|
1466
|
+
skinTriangleAffine: (srcJson, dstJson) => kernel.skinTriangleAffine(srcJson, dstJson),
|
|
1467
|
+
skinVertexBounds: (pointsJson) => kernel.skinVertexBounds(pointsJson)
|
|
1445
1468
|
};
|
|
1446
1469
|
}
|
|
1447
1470
|
var installed;
|
|
@@ -1490,7 +1513,18 @@ function lazyKernelExports(load) {
|
|
|
1490
1513
|
checkMutationAccess: (operation, bindings, row, policy, entityType) => kernel().checkMutationAccess(operation, bindings, row, policy, entityType),
|
|
1491
1514
|
resolveRowBinding: (term, bindings) => kernel().resolveRowBinding(term, bindings),
|
|
1492
1515
|
eventWires: (schemaJson) => kernel().eventWires(schemaJson),
|
|
1493
|
-
validatePacks: (packsJson) => kernel().validatePacks(packsJson)
|
|
1516
|
+
validatePacks: (packsJson) => kernel().validatePacks(packsJson),
|
|
1517
|
+
expandFxLayer: (layer, epoch, dimension, tileWidth) => kernel().expandFxLayer(layer, epoch, dimension, tileWidth),
|
|
1518
|
+
resolveFxView: (item, presets) => kernel().resolveFxView(item, presets),
|
|
1519
|
+
fxLifecycle: (view, epoch, tickMs) => kernel().fxLifecycle(view, epoch, tickMs),
|
|
1520
|
+
fxHash01: (seed, salt) => kernel().fxHash01(seed, salt),
|
|
1521
|
+
skinWorldMatrices: (bones, pose) => kernel().skinWorldMatrices(bones, pose),
|
|
1522
|
+
skinVertices: (mesh, bind, current) => kernel().skinVertices(mesh, bind, current),
|
|
1523
|
+
skinComposeAffine: (a, b) => kernel().skinComposeAffine(a, b),
|
|
1524
|
+
skinInvertAffine: (matrix, bone) => kernel().skinInvertAffine(matrix, bone),
|
|
1525
|
+
skinApplyAffine: (matrix, x, y) => kernel().skinApplyAffine(matrix, x, y),
|
|
1526
|
+
skinTriangleAffine: (src, dst) => kernel().skinTriangleAffine(src, dst),
|
|
1527
|
+
skinVertexBounds: (points) => kernel().skinVertexBounds(points)
|
|
1494
1528
|
};
|
|
1495
1529
|
}
|
|
1496
1530
|
|
|
@@ -2325,5 +2359,5 @@ function reportIdenticalToEnglish(input) {
|
|
|
2325
2359
|
}
|
|
2326
2360
|
|
|
2327
2361
|
export { I18N_SECTIONS, KernelEvalError, KernelEvaluatorNotInstalledError, LOLO_FIRST_TOKEN_KEYWORDS, ORB_NOTATION_KEYS, RTL_LOCALES, aliasMap, applyListenMapping, checkI18nCoverage, createKernelEvaluator, englishTables, eventPayloadOf, getVocabulary, hasKernelEvaluator, installKernelEvaluator, installedLanguages, kernelEvaluator, languageOfLoloFirstToken, languageOfOrbTopLevelKeys, lazyKernelExports, lexLolo, localeAlternates, localeDirection, localeOfPath, localizeLoloSource, localizeMap, localizeOrbValue, parseI18nTables, parseOperatorTables, parseVocabularyPack, pathLocale, registerVocabulary, reportIdenticalToEnglish, toWireValue, vocabularyOperators };
|
|
2328
|
-
//# sourceMappingURL=chunk-
|
|
2329
|
-
//# sourceMappingURL=chunk-
|
|
2362
|
+
//# sourceMappingURL=chunk-5WQ3U7NJ.js.map
|
|
2363
|
+
//# sourceMappingURL=chunk-5WQ3U7NJ.js.map
|