@almadar/core 8.8.2 → 9.0.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.d.ts +3 -3
- package/dist/builders.js +167 -2
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-5X8HNONp.d.ts → compose-behaviors-9ZKmnI0e.d.ts} +1 -1
- package/dist/factory/index.d.ts +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +168 -3
- package/dist/index.js.map +1 -1
- package/dist/schema-B9mHgRPp.d.ts +47624 -0
- package/dist/types/index.d.ts +6 -6
- package/dist/types/index.js +168 -3
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/schema-mcIpWPzS.d.ts +0 -19771
- package/dist/{trait-BVLBQ9uk.d.ts → trait-C23jbaBB.d.ts} +24 -24
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES, a as ALLOWED_CUSTOM_COMPONENTS, b as AgentDomainCategory, c as AgentDomainCategorySchema, d as AllowedCustomComponent, C as ComputedEventContract, e as ComputedEventContractSchema, f as ComputedEventListener, g as ComputedEventListenerSchema, h as CustomPatternDefinition, i as CustomPatternDefinitionInput, j as CustomPatternDefinitionSchema, k as CustomPatternMap, l as CustomPatternMapInput, m as CustomPatternMapSchema, D as
|
|
3
|
-
import { aY as ServiceParams, bk as Trait, z as Entity, M as EntityRow, a5 as FieldValue, D as DeclaredTraitConfig, bn as TraitConfig, F as EntityField, I as EntityPersistence, bl as TraitCategory, bH as TraitScope } from '../trait-
|
|
4
|
-
export { A as AgentEffect, a as AnimationDef, b as AnimationDefInput, c as AnimationDefSchema, d as ArrayEntityField, e as AssetMap, f as AssetMapInput, g as AssetMapSchema, h as AssetMapping, i as AssetMappingInput, j as AssetMappingSchema, k as AtomicEffect, C as CallServiceConfig, l as CallServiceEffect, m as CheckpointLoadEffect, n as CheckpointSaveEffect, o as ConfigFieldDeclaration, p as ConfigFieldDeclarationSchema, q as DeclaredTraitConfigSchema, r as DerefEffect, s as DespawnEffect, t as DoEffect, E as ENTITY_ROLES, u as Effect, v as EffectInput, w as EffectSchema, x as EmitConfig, y as EmitEffect, B as EntityData, G as EntityFieldInput, H as EntityFieldSchema, J as EntityPersistenceSchema, K as EntityRole, L as EntityRoleSchema, N as EntitySchema, O as EnumEntityField, P as EvaluateConfig, Q as EvaluateEffect, R as Event, S as EventInput, T as EventPayloadField, U as EventPayloadFieldSchema, V as EventSchema, W as EventScope, X as EventScopeSchema, Y as FetchEffect, Z as FetchOptions, _ as FetchResult, $ as Field, a0 as FieldFormat, a1 as FieldFormatSchema, a2 as FieldSchema, a3 as FieldType, a4 as FieldTypeSchema, a6 as ForwardConfig, a7 as ForwardEffect, a8 as GAME_TYPES, a9 as GameType, aa as GameTypeSchema, ab as Guard, ac as GuardInput, ad as GuardSchema, ae as ListenSource, af as ListenSourceSchema, ag as LogEffect, ah as McpServiceDef, ai as McpServiceDefSchema, aj as NavigateEffect, ak as NnConfig, al as NnLayer, am as NotifyEffect, an as OrbitalEntity, ao as OrbitalEntityInput, ap as OrbitalEntitySchema, aq as OrbitalTraitRef, ar as OrbitalTraitRefSchema, as as OsEffect, at as PayloadField, au as PayloadFieldSchema, av as PersistData, aw as PersistEffect, ax as PersistEmitConfig, ay as PresentationType, az as RefEffect, aA as RelationConfig, aB as RelationConfigSchema, aC as RelationEntityField, aD as RenderItemLambda, aE as RenderUIConfig, aF as RenderUIEffect, aG as RenderUINode, aH as RequiredField, aI as RequiredFieldSchema, aJ as ResolvedAsset, aK as ResolvedAssetInput, aL as ResolvedAssetSchema, aM as ResolvedPatternProps, aN as RestAuthConfig, aO as RestAuthConfigSchema, aP as RestServiceDef, aQ as RestServiceDefSchema, aR as SERVICE_TYPES, aS as ScalarEntityField, aT as SemanticAssetRef, aU as SemanticAssetRefInput, aV as SemanticAssetRefSchema, aW as ServiceDefinition, aX as ServiceDefinitionSchema, aZ as ServiceParamsValue, a_ as ServiceRef, a$ as ServiceRefObject, b0 as ServiceRefObjectSchema, b1 as ServiceRefSchema, b2 as ServiceRefStringSchema, b3 as ServiceType, b4 as ServiceTypeSchema, b5 as SetEffect, b6 as SocketEvents, b7 as SocketEventsSchema, b8 as SocketServiceDef, b9 as SocketServiceDefSchema, ba as SpawnEffect, bb as State, bc as StateInput, bd as StateMachine, be as StateMachineInput, bf as StateMachineSchema, bg as StateSchema, bh as SwapEffect, bi as TrainConfig, bj as TrainEffect, bm as TraitCategorySchema, bo as TraitConfigObject, bp as TraitConfigSchema, bq as TraitConfigValue, br as TraitConfigValueSchema, bs as TraitDataEntity, bt as TraitDataEntitySchema, bu as TraitEntityField, bv as TraitEntityFieldSchema, bw as TraitEventContract, bx as TraitEventContractSchema, by as TraitEventListener, bz as TraitEventListenerSchema, bA as TraitInput, bB as TraitRef, bC as TraitRefSchema, bD as TraitReference, bE as TraitReferenceInput, bF as TraitReferenceSchema, bG as TraitSchema, bI as TraitTick, bJ as TraitTickSchema, bK as TraitUIBinding, bL as Transition, bM as TransitionInput, bN as TransitionSchema, bO as TypedEffect, bP as UISlot, bQ as UISlotSchema, bR as UI_SLOTS, bS as VISUAL_STYLES, bT as VisualStyle, bU as VisualStyleSchema, bV as WatchEffect, bW as WatchOptions, bX as atomic, bY as callService, bZ as createAssetKey, b_ as deref, b$ as deriveCollection, c0 as despawn, c1 as doEffects, c2 as emit, c3 as findService, c4 as getDefaultAnimationsForRole, c5 as getServiceNames, c6 as getTraitConfig, c7 as getTraitName, c8 as hasService, c9 as isCircuitEvent, ca as isEffect, cb as isInlineTrait, cc as isMcpService, cd as isRestService, ce as isRuntimeEntity, cf as isSExprEffect, cg as isServiceReference, ch as isServiceReferenceObject, ci as isSingletonEntity, cj as isSocketService, ck as navigate, cl as normalizeTraitRef, cm as notify, cn as parseAssetKey, co as parseServiceRef, cp as persist, cq as ref, cr as renderUI, cs as set, ct as spawn, cu as swap, cv as validateAssetAnimations, cw as watch } from '../trait-
|
|
1
|
+
import { ar as OrbitalSchema, af as Orbital, ay as Page, w as DomainContext, aF as PageTraitRef } from '../schema-B9mHgRPp.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, a as ALLOWED_CUSTOM_COMPONENTS, b as AgentDomainCategory, c as AgentDomainCategorySchema, d as AllowedCustomComponent, C as ComputedEventContract, e as ComputedEventContractSchema, f as ComputedEventListener, g as ComputedEventListenerSchema, h as CustomPatternDefinition, i as CustomPatternDefinitionInput, j as CustomPatternDefinitionSchema, k as CustomPatternMap, l as CustomPatternMapInput, m as CustomPatternMapSchema, D as DensityTokens, n as DensityTokensSchema, o as DesignPreferences, p as DesignPreferencesInput, q as DesignPreferencesSchema, r as DesignTokens, s as DesignTokensInput, t as DesignTokensSchema, u as DomainCategory, v as DomainCategorySchema, x as DomainContextInput, y as DomainContextSchema, z as DomainVocabulary, B as DomainVocabularySchema, E as ElevationTokens, F as ElevationTokensSchema, G as EntityCall, H as EntityCallSchema, I as EntityRef, J as EntityRefSchema, K as EntityRefStringSchema, L as EntitySemanticRole, M as EntitySemanticRoleSchema, N as EventListener, O as EventListenerSchema, P as EventSemanticRole, Q as EventSemanticRoleSchema, R as EventSource, S as EventSourceSchema, T as GameSubCategory, U as GameSubCategorySchema, V as GeometryTokens, W as GeometryTokensSchema, X as IconFamily, Y as IconFamilySchema, Z as IconographyTokens, _ as IconographyTokensSchema, $ as MotionDurationKey, a0 as MotionDurationKeySchema, a1 as MotionDurationPalette, a2 as MotionDurationPaletteSchema, a3 as MotionEasingKey, a4 as MotionEasingKeySchema, a5 as MotionEasingPalette, a6 as MotionEasingPaletteSchema, a7 as MotionIntent, a8 as MotionIntentMap, a9 as MotionIntentMapSchema, aa as MotionIntentSchema, ab as MotionTokens, ac as MotionTokensSchema, ad as NodeClassification, ae as NodeClassificationSchema, ag as OrbitalConfig, ah as OrbitalConfigInput, ai as OrbitalConfigSchema, aj as OrbitalDefinition, ak as OrbitalDefinitionSchema, al as OrbitalInput, am as OrbitalPage, an as OrbitalPageInput, ao as OrbitalPageSchema, ap as OrbitalPageStrictInput, aq as OrbitalPageStrictSchema, at as OrbitalSchemaInput, au as OrbitalSchemaSchema, av as OrbitalSchemaWithTraits, aw as OrbitalUnit, ax as OrbitalUnitSchema, as as OrbitalZodSchema, az as PageRef, aA as PageRefObject, aB as PageRefObjectSchema, aC as PageRefSchema, aD as PageRefStringSchema, aE as PageSchema, aG as PageTraitRefSchema, aH as RelatedLink, aI as RelatedLinkSchema, aJ as SpacingScale, aK as SpacingScaleSchema, aL as StateSemanticRole, aM as StateSemanticRoleSchema, aN as SuggestedGuard, aO as SuggestedGuardSchema, aP as ThemeDefinition, aQ as ThemeDefinitionSchema, aR as ThemeRef, aS as ThemeRefSchema, aT as ThemeRefStringSchema, aU as ThemeTokens, aV as ThemeTokensSchema, aW as ThemeVariant, aX as ThemeVariantSchema, aY as TypeIntent, aZ as TypeIntentMap, a_ as TypeIntentMapSchema, a$ as TypeIntentSchema, b0 as TypeScale, b1 as TypeScaleEntry, b2 as TypeScaleEntrySchema, b3 as TypeScaleSchema, b4 as TypeScaleTokens, b5 as TypeScaleTokensSchema, b6 as TypeSizeKey, b7 as TypeSizeKeySchema, b8 as TypeSlot, b9 as TypeSlotSchema, ba as TypeWeight, bb as TypeWeightSchema, bc as UXHints, bd as UXHintsSchema, be as UseDeclaration, bf as UseDeclarationSchema, bg as UserPersona, bh as UserPersonaInput, bi as UserPersonaSchema, aj as ValidatedOrbital, bj as ViewType, bk as ViewTypeSchema, bl as isEntityCall, bm as isEntityReference, bn as isEntityReferenceAny, bo as isImportedTraitRef, bp as isOrbitalDefinition, bq as isPageReference, br as isPageReferenceObject, bs as isPageReferenceString, bt as isThemeReference, bu as parseEntityRef, bv as parseImportedTraitRef, bw as parseOrbitalSchema, bx as parsePageRef, by as safeParseOrbitalSchema } from '../schema-B9mHgRPp.js';
|
|
3
|
+
import { aY as ServiceParams, bk as Trait, z as Entity, M as EntityRow, a5 as FieldValue, D as DeclaredTraitConfig, bn as TraitConfig, F as EntityField, I as EntityPersistence, bl as TraitCategory, bH as TraitScope } from '../trait-C23jbaBB.js';
|
|
4
|
+
export { A as AgentEffect, a as AnimationDef, b as AnimationDefInput, c as AnimationDefSchema, d as ArrayEntityField, e as AssetMap, f as AssetMapInput, g as AssetMapSchema, h as AssetMapping, i as AssetMappingInput, j as AssetMappingSchema, k as AtomicEffect, C as CallServiceConfig, l as CallServiceEffect, m as CheckpointLoadEffect, n as CheckpointSaveEffect, o as ConfigFieldDeclaration, p as ConfigFieldDeclarationSchema, q as DeclaredTraitConfigSchema, r as DerefEffect, s as DespawnEffect, t as DoEffect, E as ENTITY_ROLES, u as Effect, v as EffectInput, w as EffectSchema, x as EmitConfig, y as EmitEffect, B as EntityData, G as EntityFieldInput, H as EntityFieldSchema, J as EntityPersistenceSchema, K as EntityRole, L as EntityRoleSchema, N as EntitySchema, O as EnumEntityField, P as EvaluateConfig, Q as EvaluateEffect, R as Event, S as EventInput, T as EventPayloadField, U as EventPayloadFieldSchema, V as EventSchema, W as EventScope, X as EventScopeSchema, Y as FetchEffect, Z as FetchOptions, _ as FetchResult, $ as Field, a0 as FieldFormat, a1 as FieldFormatSchema, a2 as FieldSchema, a3 as FieldType, a4 as FieldTypeSchema, a6 as ForwardConfig, a7 as ForwardEffect, a8 as GAME_TYPES, a9 as GameType, aa as GameTypeSchema, ab as Guard, ac as GuardInput, ad as GuardSchema, ae as ListenSource, af as ListenSourceSchema, ag as LogEffect, ah as McpServiceDef, ai as McpServiceDefSchema, aj as NavigateEffect, ak as NnConfig, al as NnLayer, am as NotifyEffect, an as OrbitalEntity, ao as OrbitalEntityInput, ap as OrbitalEntitySchema, aq as OrbitalTraitRef, ar as OrbitalTraitRefSchema, as as OsEffect, at as PayloadField, au as PayloadFieldSchema, av as PersistData, aw as PersistEffect, ax as PersistEmitConfig, ay as PresentationType, az as RefEffect, aA as RelationConfig, aB as RelationConfigSchema, aC as RelationEntityField, aD as RenderItemLambda, aE as RenderUIConfig, aF as RenderUIEffect, aG as RenderUINode, aH as RequiredField, aI as RequiredFieldSchema, aJ as ResolvedAsset, aK as ResolvedAssetInput, aL as ResolvedAssetSchema, aM as ResolvedPatternProps, aN as RestAuthConfig, aO as RestAuthConfigSchema, aP as RestServiceDef, aQ as RestServiceDefSchema, aR as SERVICE_TYPES, aS as ScalarEntityField, aT as SemanticAssetRef, aU as SemanticAssetRefInput, aV as SemanticAssetRefSchema, aW as ServiceDefinition, aX as ServiceDefinitionSchema, aZ as ServiceParamsValue, a_ as ServiceRef, a$ as ServiceRefObject, b0 as ServiceRefObjectSchema, b1 as ServiceRefSchema, b2 as ServiceRefStringSchema, b3 as ServiceType, b4 as ServiceTypeSchema, b5 as SetEffect, b6 as SocketEvents, b7 as SocketEventsSchema, b8 as SocketServiceDef, b9 as SocketServiceDefSchema, ba as SpawnEffect, bb as State, bc as StateInput, bd as StateMachine, be as StateMachineInput, bf as StateMachineSchema, bg as StateSchema, bh as SwapEffect, bi as TrainConfig, bj as TrainEffect, bm as TraitCategorySchema, bo as TraitConfigObject, bp as TraitConfigSchema, bq as TraitConfigValue, br as TraitConfigValueSchema, bs as TraitDataEntity, bt as TraitDataEntitySchema, bu as TraitEntityField, bv as TraitEntityFieldSchema, bw as TraitEventContract, bx as TraitEventContractSchema, by as TraitEventListener, bz as TraitEventListenerSchema, bA as TraitInput, bB as TraitRef, bC as TraitRefSchema, bD as TraitReference, bE as TraitReferenceInput, bF as TraitReferenceSchema, bG as TraitSchema, bI as TraitTick, bJ as TraitTickSchema, bK as TraitUIBinding, bL as Transition, bM as TransitionInput, bN as TransitionSchema, bO as TypedEffect, bP as UISlot, bQ as UISlotSchema, bR as UI_SLOTS, bS as VISUAL_STYLES, bT as VisualStyle, bU as VisualStyleSchema, bV as WatchEffect, bW as WatchOptions, bX as atomic, bY as callService, bZ as createAssetKey, b_ as deref, b$ as deriveCollection, c0 as despawn, c1 as doEffects, c2 as emit, c3 as findService, c4 as getDefaultAnimationsForRole, c5 as getServiceNames, c6 as getTraitConfig, c7 as getTraitName, c8 as hasService, c9 as isCircuitEvent, ca as isEffect, cb as isInlineTrait, cc as isMcpService, cd as isRestService, ce as isRuntimeEntity, cf as isSExprEffect, cg as isServiceReference, ch as isServiceReferenceObject, ci as isSingletonEntity, cj as isSocketService, ck as navigate, cl as normalizeTraitRef, cm as notify, cn as parseAssetKey, co as parseServiceRef, cp as persist, cq as ref, cr as renderUI, cs as set, ct as spawn, cu as swap, cv as validateAssetAnimations, cw as watch } from '../trait-C23jbaBB.js';
|
|
5
5
|
import { c as EventPayloadValue, b as EventPayload, L as LogMeta, S as SExpr } from '../expression-BVRFm0sV.js';
|
|
6
6
|
export { C as CORE_BINDINGS, a as CoreBinding, E as EvalContext, d as Expression, e as ExpressionInput, f as ExpressionSchema, P as ParsedBinding, g as SExprAtom, h as SExprAtomSchema, i as SExprInput, j as SExprSchema, k as collectBindings, l as getArgs, m as getOperator, n as isBinding, o as isSExpr, p as isSExprAtom, q as isSExprCall, r as isValidBinding, s as parseBinding, t as sexpr, w as walkSExpr } from '../expression-BVRFm0sV.js';
|
|
7
7
|
import { z } from 'zod';
|
|
@@ -347,7 +347,7 @@ declare const InteractionModelSchema: z.ZodObject<{
|
|
|
347
347
|
createFlow: "modal" | "none" | "inline" | "page";
|
|
348
348
|
editFlow: "modal" | "none" | "inline" | "page";
|
|
349
349
|
viewFlow: "modal" | "drawer" | "none" | "inline" | "page";
|
|
350
|
-
deleteFlow: "none" | "
|
|
350
|
+
deleteFlow: "none" | "instant" | "confirm";
|
|
351
351
|
listInteraction?: "click-to-view" | "click-to-edit" | "inline-edit" | undefined;
|
|
352
352
|
bulkActions?: boolean | undefined;
|
|
353
353
|
realtime?: boolean | undefined;
|
|
@@ -355,7 +355,7 @@ declare const InteractionModelSchema: z.ZodObject<{
|
|
|
355
355
|
createFlow: "modal" | "none" | "inline" | "page";
|
|
356
356
|
editFlow: "modal" | "none" | "inline" | "page";
|
|
357
357
|
viewFlow: "modal" | "drawer" | "none" | "inline" | "page";
|
|
358
|
-
deleteFlow: "none" | "
|
|
358
|
+
deleteFlow: "none" | "instant" | "confirm";
|
|
359
359
|
listInteraction?: "click-to-view" | "click-to-edit" | "inline-edit" | undefined;
|
|
360
360
|
bulkActions?: boolean | undefined;
|
|
361
361
|
realtime?: boolean | undefined;
|
package/dist/types/index.js
CHANGED
|
@@ -869,19 +869,184 @@ var DesignPreferencesSchema = z.object({
|
|
|
869
869
|
darkMode: z.boolean().optional(),
|
|
870
870
|
uxHints: UXHintsSchema.optional()
|
|
871
871
|
});
|
|
872
|
+
var SpacingScaleSchema = z.object({
|
|
873
|
+
space0: z.string().optional(),
|
|
874
|
+
space1: z.string().optional(),
|
|
875
|
+
space2: z.string().optional(),
|
|
876
|
+
space3: z.string().optional(),
|
|
877
|
+
space4: z.string().optional(),
|
|
878
|
+
space5: z.string().optional(),
|
|
879
|
+
space6: z.string().optional(),
|
|
880
|
+
space7: z.string().optional(),
|
|
881
|
+
space8: z.string().optional(),
|
|
882
|
+
space9: z.string().optional(),
|
|
883
|
+
space10: z.string().optional(),
|
|
884
|
+
space11: z.string().optional(),
|
|
885
|
+
space12: z.string().optional()
|
|
886
|
+
});
|
|
887
|
+
var DensityTokensSchema = z.object({
|
|
888
|
+
spacing: SpacingScaleSchema.optional(),
|
|
889
|
+
buttonHeightSm: z.string().optional(),
|
|
890
|
+
buttonHeightMd: z.string().optional(),
|
|
891
|
+
buttonHeightLg: z.string().optional(),
|
|
892
|
+
inputHeightSm: z.string().optional(),
|
|
893
|
+
inputHeightMd: z.string().optional(),
|
|
894
|
+
inputHeightLg: z.string().optional(),
|
|
895
|
+
rowHeightCompact: z.string().optional(),
|
|
896
|
+
rowHeightNormal: z.string().optional(),
|
|
897
|
+
rowHeightSpacious: z.string().optional(),
|
|
898
|
+
cardPaddingSm: z.string().optional(),
|
|
899
|
+
cardPaddingMd: z.string().optional(),
|
|
900
|
+
cardPaddingLg: z.string().optional(),
|
|
901
|
+
dialogPadding: z.string().optional(),
|
|
902
|
+
sectionGap: z.string().optional()
|
|
903
|
+
});
|
|
904
|
+
var TypeScaleEntrySchema = z.object({
|
|
905
|
+
size: z.string(),
|
|
906
|
+
lineHeight: z.string()
|
|
907
|
+
});
|
|
908
|
+
var TypeSlotSchema = z.enum(["display", "body", "mono"]);
|
|
909
|
+
var TypeSizeKeySchema = z.enum([
|
|
910
|
+
"xs",
|
|
911
|
+
"sm",
|
|
912
|
+
"base",
|
|
913
|
+
"lg",
|
|
914
|
+
"xl",
|
|
915
|
+
"2xl",
|
|
916
|
+
"3xl",
|
|
917
|
+
"4xl",
|
|
918
|
+
"display-1",
|
|
919
|
+
"display-2"
|
|
920
|
+
]);
|
|
921
|
+
var TypeWeightSchema = z.enum(["normal", "medium", "bold"]);
|
|
922
|
+
var TypeIntentSchema = z.object({
|
|
923
|
+
slot: TypeSlotSchema,
|
|
924
|
+
size: TypeSizeKeySchema,
|
|
925
|
+
weight: TypeWeightSchema
|
|
926
|
+
});
|
|
927
|
+
var TypeScaleSchema = z.object({
|
|
928
|
+
xs: TypeScaleEntrySchema.optional(),
|
|
929
|
+
sm: TypeScaleEntrySchema.optional(),
|
|
930
|
+
base: TypeScaleEntrySchema.optional(),
|
|
931
|
+
lg: TypeScaleEntrySchema.optional(),
|
|
932
|
+
xl: TypeScaleEntrySchema.optional(),
|
|
933
|
+
"2xl": TypeScaleEntrySchema.optional(),
|
|
934
|
+
"3xl": TypeScaleEntrySchema.optional(),
|
|
935
|
+
"4xl": TypeScaleEntrySchema.optional(),
|
|
936
|
+
"display-1": TypeScaleEntrySchema.optional(),
|
|
937
|
+
"display-2": TypeScaleEntrySchema.optional()
|
|
938
|
+
});
|
|
939
|
+
var TypeIntentMapSchema = z.object({
|
|
940
|
+
headingMajor: TypeIntentSchema.optional(),
|
|
941
|
+
headingMinor: TypeIntentSchema.optional(),
|
|
942
|
+
bodyEmphasis: TypeIntentSchema.optional(),
|
|
943
|
+
bodyDefault: TypeIntentSchema.optional(),
|
|
944
|
+
bodyQuiet: TypeIntentSchema.optional(),
|
|
945
|
+
caption: TypeIntentSchema.optional(),
|
|
946
|
+
numeric: TypeIntentSchema.optional()
|
|
947
|
+
});
|
|
948
|
+
var TypeScaleTokensSchema = z.object({
|
|
949
|
+
displayFamily: z.string().optional(),
|
|
950
|
+
bodyFamily: z.string().optional(),
|
|
951
|
+
monoFamily: z.string().optional(),
|
|
952
|
+
scale: TypeScaleSchema.optional(),
|
|
953
|
+
intents: TypeIntentMapSchema.optional()
|
|
954
|
+
});
|
|
955
|
+
var MotionDurationKeySchema = z.enum([
|
|
956
|
+
"instant",
|
|
957
|
+
"fast",
|
|
958
|
+
"normal",
|
|
959
|
+
"slow",
|
|
960
|
+
"dramatic"
|
|
961
|
+
]);
|
|
962
|
+
var MotionEasingKeySchema = z.enum([
|
|
963
|
+
"linear",
|
|
964
|
+
"standard",
|
|
965
|
+
"emphasized",
|
|
966
|
+
"spring"
|
|
967
|
+
]);
|
|
968
|
+
var MotionIntentSchema = z.object({
|
|
969
|
+
duration: MotionDurationKeySchema,
|
|
970
|
+
easing: MotionEasingKeySchema
|
|
971
|
+
});
|
|
972
|
+
var MotionDurationPaletteSchema = z.object({
|
|
973
|
+
instant: z.string().optional(),
|
|
974
|
+
fast: z.string().optional(),
|
|
975
|
+
normal: z.string().optional(),
|
|
976
|
+
slow: z.string().optional(),
|
|
977
|
+
dramatic: z.string().optional()
|
|
978
|
+
});
|
|
979
|
+
var MotionEasingPaletteSchema = z.object({
|
|
980
|
+
linear: z.string().optional(),
|
|
981
|
+
standard: z.string().optional(),
|
|
982
|
+
emphasized: z.string().optional(),
|
|
983
|
+
spring: z.string().optional()
|
|
984
|
+
});
|
|
985
|
+
var MotionIntentMapSchema = z.object({
|
|
986
|
+
enter: MotionIntentSchema.optional(),
|
|
987
|
+
exit: MotionIntentSchema.optional(),
|
|
988
|
+
hover: MotionIntentSchema.optional(),
|
|
989
|
+
press: MotionIntentSchema.optional(),
|
|
990
|
+
expand: MotionIntentSchema.optional(),
|
|
991
|
+
transition: MotionIntentSchema.optional()
|
|
992
|
+
});
|
|
993
|
+
var MotionTokensSchema = z.object({
|
|
994
|
+
durations: MotionDurationPaletteSchema.optional(),
|
|
995
|
+
easings: MotionEasingPaletteSchema.optional(),
|
|
996
|
+
intents: MotionIntentMapSchema.optional()
|
|
997
|
+
});
|
|
998
|
+
var IconFamilySchema = z.enum([
|
|
999
|
+
"lucide",
|
|
1000
|
+
"phosphor-outline",
|
|
1001
|
+
"phosphor-fill",
|
|
1002
|
+
"phosphor-duotone",
|
|
1003
|
+
"tabler",
|
|
1004
|
+
"fa-solid"
|
|
1005
|
+
]);
|
|
1006
|
+
var IconographyTokensSchema = z.object({
|
|
1007
|
+
family: IconFamilySchema.optional(),
|
|
1008
|
+
strokeWidth: z.string().optional(),
|
|
1009
|
+
defaultSize: z.string().optional()
|
|
1010
|
+
});
|
|
1011
|
+
var ElevationTokensSchema = z.object({
|
|
1012
|
+
cardElevation: z.string().optional(),
|
|
1013
|
+
popoverElevation: z.string().optional(),
|
|
1014
|
+
dialogElevation: z.string().optional(),
|
|
1015
|
+
toastElevation: z.string().optional()
|
|
1016
|
+
});
|
|
1017
|
+
var GeometryTokensSchema = z.object({
|
|
1018
|
+
radiusContainer: z.string().optional(),
|
|
1019
|
+
radiusInteractive: z.string().optional(),
|
|
1020
|
+
radiusPill: z.string().optional(),
|
|
1021
|
+
borderHairline: z.string().optional(),
|
|
1022
|
+
borderStandard: z.string().optional(),
|
|
1023
|
+
borderHeavy: z.string().optional()
|
|
1024
|
+
});
|
|
872
1025
|
var ThemeTokensSchema = z.object({
|
|
873
1026
|
colors: z.record(z.string(), z.string()).optional(),
|
|
874
1027
|
radii: z.record(z.string(), z.string()).optional(),
|
|
875
1028
|
spacing: z.record(z.string(), z.string()).optional(),
|
|
876
1029
|
typography: z.record(z.string(), z.string()).optional(),
|
|
877
|
-
shadows: z.record(z.string(), z.string()).optional()
|
|
1030
|
+
shadows: z.record(z.string(), z.string()).optional(),
|
|
1031
|
+
density: DensityTokensSchema.optional(),
|
|
1032
|
+
typeScale: TypeScaleTokensSchema.optional(),
|
|
1033
|
+
motion: MotionTokensSchema.optional(),
|
|
1034
|
+
iconography: IconographyTokensSchema.optional(),
|
|
1035
|
+
elevation: ElevationTokensSchema.optional(),
|
|
1036
|
+
geometry: GeometryTokensSchema.optional()
|
|
878
1037
|
});
|
|
879
1038
|
var ThemeVariantSchema = z.object({
|
|
880
1039
|
colors: z.record(z.string(), z.string()).optional(),
|
|
881
1040
|
radii: z.record(z.string(), z.string()).optional(),
|
|
882
1041
|
spacing: z.record(z.string(), z.string()).optional(),
|
|
883
1042
|
typography: z.record(z.string(), z.string()).optional(),
|
|
884
|
-
shadows: z.record(z.string(), z.string()).optional()
|
|
1043
|
+
shadows: z.record(z.string(), z.string()).optional(),
|
|
1044
|
+
density: DensityTokensSchema.optional(),
|
|
1045
|
+
typeScale: TypeScaleTokensSchema.optional(),
|
|
1046
|
+
motion: MotionTokensSchema.optional(),
|
|
1047
|
+
iconography: IconographyTokensSchema.optional(),
|
|
1048
|
+
elevation: ElevationTokensSchema.optional(),
|
|
1049
|
+
geometry: GeometryTokensSchema.optional()
|
|
885
1050
|
});
|
|
886
1051
|
var ThemeDefinitionSchema = z.object({
|
|
887
1052
|
name: z.string().min(1, "Theme name is required"),
|
|
@@ -1640,6 +1805,6 @@ function isKnownValidationErrorCode(code) {
|
|
|
1640
1805
|
return code in KNOWN_VALIDATION_ERROR_CODES;
|
|
1641
1806
|
}
|
|
1642
1807
|
|
|
1643
|
-
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, AgentDomainCategorySchema, AnimationDefSchema, AssetMapSchema, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CORE_BINDINGS, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfigSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, EntityCallSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GAME_TYPES, GameSubCategorySchema, GameTypeSchema, GuardSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, ListenSourceSchema, McpServiceDefSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, ResolvedAssetSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SocketEventsSchema, SocketServiceDefSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SuggestedGuardSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, atomic, callService, collectBindings, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, deref, deriveCollection, despawn, doEffects, emit, findService, getAllPatternTypes, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, inferTsType, isBinding, isCircuitEvent, isEffect, isEntityCall, isEntityReference, isEntityReferenceAny, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isServiceReferenceObject, isSingletonEntity, isSocketService, isThemeReference, isTraitFieldRef, isValidBinding, navigate, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, ref, renderUI, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch };
|
|
1808
|
+
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, AgentDomainCategorySchema, AnimationDefSchema, AssetMapSchema, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CORE_BINDINGS, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfigSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GAME_TYPES, GameSubCategorySchema, GameTypeSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographyTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, ResolvedAssetSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SuggestedGuardSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, atomic, callService, collectBindings, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, deref, deriveCollection, despawn, doEffects, emit, findService, getAllPatternTypes, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, inferTsType, isBinding, isCircuitEvent, isEffect, isEntityCall, isEntityReference, isEntityReferenceAny, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isServiceReferenceObject, isSingletonEntity, isSocketService, isThemeReference, isTraitFieldRef, isValidBinding, navigate, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, ref, renderUI, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch };
|
|
1644
1809
|
//# sourceMappingURL=index.js.map
|
|
1645
1810
|
//# sourceMappingURL=index.js.map
|