@almadar/core 10.49.0 → 10.51.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 +13 -3
- package/dist/builders.js.map +1 -1
- package/dist/{effect-DjMRX8sI.d.ts → effect-CqTo1gAF.d.ts} +79 -13
- package/dist/{entityAccess-dYpx6Ipw.d.ts → entityAccess-3QD5qbqw.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +13 -3
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +72 -11
- package/dist/index.js +175 -8
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +12 -5
- package/dist/mock/index.js +21 -5
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +112 -7
- package/dist/patterns/index.js +67 -5
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +39 -2
- package/dist/patterns/registry.json +39 -2
- package/dist/{schema-1bzTH92n.d.ts → schema-h6xcymfn.d.ts} +99 -99
- package/dist/{trait-DkMVtmED.d.ts → trait-CnbGhs6A.d.ts} +31 -23
- package/dist/types/index.d.ts +25 -8
- package/dist/types/index.js +17 -4
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CUdqUyzi.d.ts → types-jWqiZC2S.d.ts} +2 -2
- package/package.json +1 -1
package/dist/patterns/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as AnyPatternConfig, h as RenderBinding, F as FieldValue, aY as PatternType } from '../effect-
|
|
2
|
-
export { aR as PATTERN_TYPES, aV as PatternConfig, aW as PatternProps, aX as PatternPropsMap,
|
|
1
|
+
import { A as AnyPatternConfig, h as RenderBinding, F as FieldValue, aY as PatternType } from '../effect-CqTo1gAF.js';
|
|
2
|
+
export { aR as PATTERN_TYPES, aV as PatternConfig, aW as PatternProps, aX as PatternPropsMap, cO as isValidPatternType } from '../effect-CqTo1gAF.js';
|
|
3
3
|
import { d as EventPayloadValue, a as EventPayload, J as JsonValue } from '../expression-Yf7qvvOs.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
6
6
|
var version$3 = "1.0.0";
|
|
7
|
-
var exportedAt$3 = "2026-08-
|
|
7
|
+
var exportedAt$3 = "2026-08-02T09:00:22.243Z";
|
|
8
8
|
var patterns = {
|
|
9
9
|
"entity-table": {
|
|
10
10
|
type: "entity-table",
|
|
@@ -8626,6 +8626,11 @@ var patterns = {
|
|
|
8626
8626
|
"string"
|
|
8627
8627
|
]
|
|
8628
8628
|
},
|
|
8629
|
+
url: {
|
|
8630
|
+
types: [
|
|
8631
|
+
"string"
|
|
8632
|
+
]
|
|
8633
|
+
},
|
|
8629
8634
|
variant: {
|
|
8630
8635
|
types: [
|
|
8631
8636
|
"string"
|
|
@@ -40040,7 +40045,13 @@ var patterns = {
|
|
|
40040
40045
|
types: [
|
|
40041
40046
|
"string"
|
|
40042
40047
|
],
|
|
40043
|
-
description: "
|
|
40048
|
+
description: "Animation to play. 3D backend: a named GLB clip (matched case-insensitively). 2D painter: when `asset.atlas` resolves to a `SpriteSheetAtlas` manifest, the canonical row of that name (idle/walk/attack/hit/death) plays off the host paint clock; an explicit `frame` rect overrides."
|
|
40049
|
+
},
|
|
40050
|
+
loop: {
|
|
40051
|
+
types: [
|
|
40052
|
+
"boolean"
|
|
40053
|
+
],
|
|
40054
|
+
description: "Override the sheet row's loop flag. The paint clock is wall-time, so one-shot rows hold their final frame — preview pages set `true` to cycle attack/hit/death continuously."
|
|
40044
40055
|
},
|
|
40045
40056
|
flipX: {
|
|
40046
40057
|
types: [
|
|
@@ -40892,6 +40903,11 @@ var patterns = {
|
|
|
40892
40903
|
"string"
|
|
40893
40904
|
]
|
|
40894
40905
|
},
|
|
40906
|
+
loop: {
|
|
40907
|
+
types: [
|
|
40908
|
+
"boolean"
|
|
40909
|
+
]
|
|
40910
|
+
},
|
|
40895
40911
|
flipX: {
|
|
40896
40912
|
types: [
|
|
40897
40913
|
"boolean"
|
|
@@ -42276,6 +42292,22 @@ var patterns = {
|
|
|
42276
42292
|
}
|
|
42277
42293
|
}
|
|
42278
42294
|
},
|
|
42295
|
+
uvs: {
|
|
42296
|
+
types: [
|
|
42297
|
+
"array"
|
|
42298
|
+
],
|
|
42299
|
+
description: "`polyhedron` only: per-vertex `[u, v]` texture coordinates parallel to `vertices`, glTF convention (`v` grows DOWN from the image's top-left). Pairs with `material.map`.",
|
|
42300
|
+
items: {
|
|
42301
|
+
types: [
|
|
42302
|
+
"array"
|
|
42303
|
+
],
|
|
42304
|
+
items: {
|
|
42305
|
+
types: [
|
|
42306
|
+
"number"
|
|
42307
|
+
]
|
|
42308
|
+
}
|
|
42309
|
+
}
|
|
42310
|
+
},
|
|
42279
42311
|
skin: {
|
|
42280
42312
|
types: [
|
|
42281
42313
|
"object"
|
|
@@ -42437,6 +42469,11 @@ var patterns = {
|
|
|
42437
42469
|
"back",
|
|
42438
42470
|
"double"
|
|
42439
42471
|
]
|
|
42472
|
+
},
|
|
42473
|
+
map: {
|
|
42474
|
+
types: [
|
|
42475
|
+
"string"
|
|
42476
|
+
]
|
|
42440
42477
|
}
|
|
42441
42478
|
}
|
|
42442
42479
|
},
|
|
@@ -43502,7 +43539,7 @@ var integratorsRegistry = {
|
|
|
43502
43539
|
};
|
|
43503
43540
|
|
|
43504
43541
|
var version$1 = "1.0.0";
|
|
43505
|
-
var exportedAt$1 = "2026-08-
|
|
43542
|
+
var exportedAt$1 = "2026-08-02T09:00:22.243Z";
|
|
43506
43543
|
var mappings = {
|
|
43507
43544
|
"page-header": {
|
|
43508
43545
|
component: "PageHeader",
|
|
@@ -44899,7 +44936,7 @@ var componentMapping = {
|
|
|
44899
44936
|
};
|
|
44900
44937
|
|
|
44901
44938
|
var version = "1.0.0";
|
|
44902
|
-
var exportedAt = "2026-08-
|
|
44939
|
+
var exportedAt = "2026-08-02T09:00:22.243Z";
|
|
44903
44940
|
var contracts = {
|
|
44904
44941
|
form: {
|
|
44905
44942
|
emits: [
|
|
@@ -51863,6 +51900,9 @@ declare const registry: {
|
|
|
51863
51900
|
event: {
|
|
51864
51901
|
types: string[];
|
|
51865
51902
|
};
|
|
51903
|
+
url: {
|
|
51904
|
+
types: string[];
|
|
51905
|
+
};
|
|
51866
51906
|
variant: {
|
|
51867
51907
|
types: string[];
|
|
51868
51908
|
enumValues: string[];
|
|
@@ -71066,6 +71106,10 @@ declare const registry: {
|
|
|
71066
71106
|
types: string[];
|
|
71067
71107
|
description: string;
|
|
71068
71108
|
};
|
|
71109
|
+
loop: {
|
|
71110
|
+
types: string[];
|
|
71111
|
+
description: string;
|
|
71112
|
+
};
|
|
71069
71113
|
flipX: {
|
|
71070
71114
|
types: string[];
|
|
71071
71115
|
description: string;
|
|
@@ -71559,6 +71603,9 @@ declare const registry: {
|
|
|
71559
71603
|
animation: {
|
|
71560
71604
|
types: string[];
|
|
71561
71605
|
};
|
|
71606
|
+
loop: {
|
|
71607
|
+
types: string[];
|
|
71608
|
+
};
|
|
71562
71609
|
flipX: {
|
|
71563
71610
|
types: string[];
|
|
71564
71611
|
};
|
|
@@ -72421,6 +72468,16 @@ declare const registry: {
|
|
|
72421
72468
|
};
|
|
72422
72469
|
};
|
|
72423
72470
|
};
|
|
72471
|
+
uvs: {
|
|
72472
|
+
types: string[];
|
|
72473
|
+
description: string;
|
|
72474
|
+
items: {
|
|
72475
|
+
types: string[];
|
|
72476
|
+
items: {
|
|
72477
|
+
types: string[];
|
|
72478
|
+
};
|
|
72479
|
+
};
|
|
72480
|
+
};
|
|
72424
72481
|
skin: {
|
|
72425
72482
|
types: string[];
|
|
72426
72483
|
description: string;
|
|
@@ -72512,6 +72569,9 @@ declare const registry: {
|
|
|
72512
72569
|
types: string[];
|
|
72513
72570
|
enumValues: string[];
|
|
72514
72571
|
};
|
|
72572
|
+
map: {
|
|
72573
|
+
types: string[];
|
|
72574
|
+
};
|
|
72515
72575
|
};
|
|
72516
72576
|
};
|
|
72517
72577
|
outline: {
|
|
@@ -77836,6 +77896,9 @@ declare const PATTERN_REGISTRY: {
|
|
|
77836
77896
|
event: {
|
|
77837
77897
|
types: string[];
|
|
77838
77898
|
};
|
|
77899
|
+
url: {
|
|
77900
|
+
types: string[];
|
|
77901
|
+
};
|
|
77839
77902
|
variant: {
|
|
77840
77903
|
types: string[];
|
|
77841
77904
|
enumValues: string[];
|
|
@@ -97039,6 +97102,10 @@ declare const PATTERN_REGISTRY: {
|
|
|
97039
97102
|
types: string[];
|
|
97040
97103
|
description: string;
|
|
97041
97104
|
};
|
|
97105
|
+
loop: {
|
|
97106
|
+
types: string[];
|
|
97107
|
+
description: string;
|
|
97108
|
+
};
|
|
97042
97109
|
flipX: {
|
|
97043
97110
|
types: string[];
|
|
97044
97111
|
description: string;
|
|
@@ -97532,6 +97599,9 @@ declare const PATTERN_REGISTRY: {
|
|
|
97532
97599
|
animation: {
|
|
97533
97600
|
types: string[];
|
|
97534
97601
|
};
|
|
97602
|
+
loop: {
|
|
97603
|
+
types: string[];
|
|
97604
|
+
};
|
|
97535
97605
|
flipX: {
|
|
97536
97606
|
types: string[];
|
|
97537
97607
|
};
|
|
@@ -98394,6 +98464,16 @@ declare const PATTERN_REGISTRY: {
|
|
|
98394
98464
|
};
|
|
98395
98465
|
};
|
|
98396
98466
|
};
|
|
98467
|
+
uvs: {
|
|
98468
|
+
types: string[];
|
|
98469
|
+
description: string;
|
|
98470
|
+
items: {
|
|
98471
|
+
types: string[];
|
|
98472
|
+
items: {
|
|
98473
|
+
types: string[];
|
|
98474
|
+
};
|
|
98475
|
+
};
|
|
98476
|
+
};
|
|
98397
98477
|
skin: {
|
|
98398
98478
|
types: string[];
|
|
98399
98479
|
description: string;
|
|
@@ -98485,6 +98565,9 @@ declare const PATTERN_REGISTRY: {
|
|
|
98485
98565
|
types: string[];
|
|
98486
98566
|
enumValues: string[];
|
|
98487
98567
|
};
|
|
98568
|
+
map: {
|
|
98569
|
+
types: string[];
|
|
98570
|
+
};
|
|
98488
98571
|
};
|
|
98489
98572
|
};
|
|
98490
98573
|
outline: {
|
|
@@ -101384,6 +101467,28 @@ declare function getComponentForPattern(patternType: string): string | null;
|
|
|
101384
101467
|
* @returns true if the pattern is entity-aware
|
|
101385
101468
|
*/
|
|
101386
101469
|
declare function isEntityAwarePattern(patternType: string): boolean;
|
|
101470
|
+
/**
|
|
101471
|
+
* Prop names of `patternType` whose value is a single declared event key
|
|
101472
|
+
* (`kind: "event" | "event-ref" | "callback"`) — `action`, `cancelEvent`,
|
|
101473
|
+
* `retryEvent`, `onRetry`, and every future sibling, straight from the
|
|
101474
|
+
* registry rather than a hand-maintained key list that silently drifts.
|
|
101475
|
+
*
|
|
101476
|
+
* The consumer is the wiring lint: an affordance prop bound to a lifecycle
|
|
101477
|
+
* event key is a control that does nothing when clicked.
|
|
101478
|
+
*
|
|
101479
|
+
* @param patternType - Pattern type to inspect
|
|
101480
|
+
* @returns the declared event-key prop names (empty for an unknown pattern)
|
|
101481
|
+
*/
|
|
101482
|
+
declare function eventKeyPropsOf(patternType: string): ReadonlySet<string>;
|
|
101483
|
+
/**
|
|
101484
|
+
* Prop names of `patternType` carrying `kind: "event-list"` action-descriptor
|
|
101485
|
+
* arrays, each mapped to the field inside an item that holds the event key
|
|
101486
|
+
* (`eventField`, defaulting to `"event"` per {@link PatternPropDef.eventField}).
|
|
101487
|
+
*
|
|
101488
|
+
* @param patternType - Pattern type to inspect
|
|
101489
|
+
* @returns prop name → event field (empty for an unknown pattern)
|
|
101490
|
+
*/
|
|
101491
|
+
declare function eventListPropsOf(patternType: string): ReadonlyMap<string, string>;
|
|
101387
101492
|
/**
|
|
101388
101493
|
* Check if a pattern is a neutral DRAWABLE — a descriptor the canvas draw-host
|
|
101389
101494
|
* paints (draw-sprite / draw-shape / draw-text / draw-sprite-layer /
|
|
@@ -101417,4 +101522,4 @@ declare function isDrawablePattern(patternType: string): boolean;
|
|
|
101417
101522
|
*/
|
|
101418
101523
|
declare function isDrawHostPattern(patternType: string): boolean;
|
|
101419
101524
|
|
|
101420
|
-
export { AnyPatternConfig, COMPONENT_MAPPING, EVENT_CONTRACTS, type EmojiPickPayload, type FormSubmitPayload, INTEGRATORS_REGISTRY, type ItemActionPayload, type LoadMoreRequestPayload, PATTERN_REGISTRY, type PatternCallbackArg, type PatternEntry, type PatternPayloadField, type PatternPropDef, type PatternRecommendation, type PatternSwapGate, PatternType, type PropKind, type RecommendationContext, type RenderUiPayload, type SelectionChangePayload, buildRecommendationContext, collectRenderUiPatternTypes, componentMapping, eventContracts, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, integratorsRegistry, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, patternsRegistry, recommendPatterns, registry, renderUiPatternTypesOf };
|
|
101525
|
+
export { AnyPatternConfig, COMPONENT_MAPPING, EVENT_CONTRACTS, type EmojiPickPayload, type FormSubmitPayload, INTEGRATORS_REGISTRY, type ItemActionPayload, type LoadMoreRequestPayload, PATTERN_REGISTRY, type PatternCallbackArg, type PatternEntry, type PatternPayloadField, type PatternPropDef, type PatternRecommendation, type PatternSwapGate, PatternType, type PropKind, type RecommendationContext, type RenderUiPayload, type SelectionChangePayload, buildRecommendationContext, collectRenderUiPatternTypes, componentMapping, eventContracts, eventKeyPropsOf, eventListPropsOf, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, integratorsRegistry, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, patternsRegistry, recommendPatterns, registry, renderUiPatternTypesOf };
|
package/dist/patterns/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
// src/patterns/patterns-registry.json
|
|
4
4
|
var patterns_registry_default = {
|
|
5
5
|
version: "1.0.0",
|
|
6
|
-
exportedAt: "2026-08-
|
|
6
|
+
exportedAt: "2026-08-02T09:00:22.243Z",
|
|
7
7
|
patterns: {
|
|
8
8
|
"entity-table": {
|
|
9
9
|
type: "entity-table",
|
|
@@ -8593,6 +8593,11 @@ var patterns_registry_default = {
|
|
|
8593
8593
|
"string"
|
|
8594
8594
|
]
|
|
8595
8595
|
},
|
|
8596
|
+
url: {
|
|
8597
|
+
types: [
|
|
8598
|
+
"string"
|
|
8599
|
+
]
|
|
8600
|
+
},
|
|
8596
8601
|
variant: {
|
|
8597
8602
|
types: [
|
|
8598
8603
|
"string"
|
|
@@ -39937,7 +39942,13 @@ var patterns_registry_default = {
|
|
|
39937
39942
|
types: [
|
|
39938
39943
|
"string"
|
|
39939
39944
|
],
|
|
39940
|
-
description: "
|
|
39945
|
+
description: "Animation to play. 3D backend: a named GLB clip (matched case-insensitively). 2D painter: when `asset.atlas` resolves to a `SpriteSheetAtlas` manifest, the canonical row of that name (idle/walk/attack/hit/death) plays off the host paint clock; an explicit `frame` rect overrides."
|
|
39946
|
+
},
|
|
39947
|
+
loop: {
|
|
39948
|
+
types: [
|
|
39949
|
+
"boolean"
|
|
39950
|
+
],
|
|
39951
|
+
description: "Override the sheet row's loop flag. The paint clock is wall-time, so one-shot rows hold their final frame \u2014 preview pages set `true` to cycle attack/hit/death continuously."
|
|
39941
39952
|
},
|
|
39942
39953
|
flipX: {
|
|
39943
39954
|
types: [
|
|
@@ -40789,6 +40800,11 @@ var patterns_registry_default = {
|
|
|
40789
40800
|
"string"
|
|
40790
40801
|
]
|
|
40791
40802
|
},
|
|
40803
|
+
loop: {
|
|
40804
|
+
types: [
|
|
40805
|
+
"boolean"
|
|
40806
|
+
]
|
|
40807
|
+
},
|
|
40792
40808
|
flipX: {
|
|
40793
40809
|
types: [
|
|
40794
40810
|
"boolean"
|
|
@@ -42169,6 +42185,22 @@ var patterns_registry_default = {
|
|
|
42169
42185
|
}
|
|
42170
42186
|
}
|
|
42171
42187
|
},
|
|
42188
|
+
uvs: {
|
|
42189
|
+
types: [
|
|
42190
|
+
"array"
|
|
42191
|
+
],
|
|
42192
|
+
description: "`polyhedron` only: per-vertex `[u, v]` texture coordinates parallel to `vertices`, glTF convention (`v` grows DOWN from the image's top-left). Pairs with `material.map`.",
|
|
42193
|
+
items: {
|
|
42194
|
+
types: [
|
|
42195
|
+
"array"
|
|
42196
|
+
],
|
|
42197
|
+
items: {
|
|
42198
|
+
types: [
|
|
42199
|
+
"number"
|
|
42200
|
+
]
|
|
42201
|
+
}
|
|
42202
|
+
}
|
|
42203
|
+
},
|
|
42172
42204
|
skin: {
|
|
42173
42205
|
types: [
|
|
42174
42206
|
"object"
|
|
@@ -42330,6 +42362,11 @@ var patterns_registry_default = {
|
|
|
42330
42362
|
"back",
|
|
42331
42363
|
"double"
|
|
42332
42364
|
]
|
|
42365
|
+
},
|
|
42366
|
+
map: {
|
|
42367
|
+
types: [
|
|
42368
|
+
"string"
|
|
42369
|
+
]
|
|
42333
42370
|
}
|
|
42334
42371
|
}
|
|
42335
42372
|
},
|
|
@@ -43389,7 +43426,7 @@ var integrators_registry_default = {
|
|
|
43389
43426
|
// src/patterns/component-mapping.json
|
|
43390
43427
|
var component_mapping_default = {
|
|
43391
43428
|
version: "1.0.0",
|
|
43392
|
-
exportedAt: "2026-08-
|
|
43429
|
+
exportedAt: "2026-08-02T09:00:22.243Z",
|
|
43393
43430
|
mappings: {
|
|
43394
43431
|
"page-header": {
|
|
43395
43432
|
component: "PageHeader",
|
|
@@ -44784,7 +44821,7 @@ var component_mapping_default = {
|
|
|
44784
44821
|
// src/patterns/event-contracts.json
|
|
44785
44822
|
var event_contracts_default = {
|
|
44786
44823
|
version: "1.0.0",
|
|
44787
|
-
exportedAt: "2026-08-
|
|
44824
|
+
exportedAt: "2026-08-02T09:00:22.243Z",
|
|
44788
44825
|
contracts: {
|
|
44789
44826
|
form: {
|
|
44790
44827
|
emits: [
|
|
@@ -46651,6 +46688,31 @@ function isEntityAwarePattern(patternType) {
|
|
|
46651
46688
|
if (!propsSchema) return false;
|
|
46652
46689
|
return "entity" in propsSchema;
|
|
46653
46690
|
}
|
|
46691
|
+
var EVENT_OUTLET_KINDS = /* @__PURE__ */ new Set(["event", "event-ref", "callback"]);
|
|
46692
|
+
var eventKeyPropsCache = /* @__PURE__ */ new Map();
|
|
46693
|
+
var eventListPropsCache = /* @__PURE__ */ new Map();
|
|
46694
|
+
function eventKeyPropsOf(patternType) {
|
|
46695
|
+
const cached = eventKeyPropsCache.get(patternType);
|
|
46696
|
+
if (cached) return cached;
|
|
46697
|
+
const propsSchema = getPatternDefinition(patternType)?.propsSchema;
|
|
46698
|
+
const out = /* @__PURE__ */ new Set();
|
|
46699
|
+
for (const [prop, def] of Object.entries(propsSchema ?? {})) {
|
|
46700
|
+
if (def.kind && EVENT_OUTLET_KINDS.has(def.kind)) out.add(prop);
|
|
46701
|
+
}
|
|
46702
|
+
eventKeyPropsCache.set(patternType, out);
|
|
46703
|
+
return out;
|
|
46704
|
+
}
|
|
46705
|
+
function eventListPropsOf(patternType) {
|
|
46706
|
+
const cached = eventListPropsCache.get(patternType);
|
|
46707
|
+
if (cached) return cached;
|
|
46708
|
+
const propsSchema = getPatternDefinition(patternType)?.propsSchema;
|
|
46709
|
+
const out = /* @__PURE__ */ new Map();
|
|
46710
|
+
for (const [prop, def] of Object.entries(propsSchema ?? {})) {
|
|
46711
|
+
if (def.kind === "event-list") out.set(prop, def.eventField ?? "event");
|
|
46712
|
+
}
|
|
46713
|
+
eventListPropsCache.set(patternType, out);
|
|
46714
|
+
return out;
|
|
46715
|
+
}
|
|
46654
46716
|
function isDrawablePattern(patternType) {
|
|
46655
46717
|
const definition = getPatternDefinition(patternType);
|
|
46656
46718
|
if (!definition) return false;
|
|
@@ -46690,6 +46752,6 @@ function propHostsDrawables(schema) {
|
|
|
46690
46752
|
return false;
|
|
46691
46753
|
}
|
|
46692
46754
|
|
|
46693
|
-
export { COMPONENT_MAPPING, EVENT_CONTRACTS, INTEGRATORS_REGISTRY, PATTERN_REGISTRY, PATTERN_TYPES, buildRecommendationContext, collectRenderUiPatternTypes, component_mapping_default as componentMapping, event_contracts_default as eventContracts, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, integrators_registry_default as integratorsRegistry, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, isValidPatternType, patterns_registry_default as patternsRegistry, recommendPatterns, registry, renderUiPatternTypesOf };
|
|
46755
|
+
export { COMPONENT_MAPPING, EVENT_CONTRACTS, INTEGRATORS_REGISTRY, PATTERN_REGISTRY, PATTERN_TYPES, buildRecommendationContext, collectRenderUiPatternTypes, component_mapping_default as componentMapping, event_contracts_default as eventContracts, eventKeyPropsOf, eventListPropsOf, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, integrators_registry_default as integratorsRegistry, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, isValidPatternType, patterns_registry_default as patternsRegistry, recommendPatterns, registry, renderUiPatternTypesOf };
|
|
46694
46756
|
//# sourceMappingURL=index.js.map
|
|
46695
46757
|
//# sourceMappingURL=index.js.map
|