@almadar/core 10.55.0 → 10.57.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 +15 -3
- package/dist/builders.js +27 -2
- package/dist/builders.js.map +1 -1
- package/dist/{effect-DxD-XTI8.d.ts → effect-D-_fm4No.d.ts} +35 -6
- package/dist/{entityAccess-JTWGFDja.d.ts → entityAccess-kTNoti84.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory-runtime/index.d.ts +68 -15
- package/dist/factory-runtime/index.js +133 -10
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +49 -10
- package/dist/index.js +352 -13
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/mock/index.js +1 -0
- 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 +187 -13
- package/dist/patterns/index.js +104 -11
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +22 -1
- package/dist/patterns/patterns-registry.json +75 -8
- package/dist/patterns/registry.json +75 -8
- package/dist/patterns/services-registry.json +21 -0
- package/dist/{schema-0C1bXRFm.d.ts → schema-CrUFqWXN.d.ts} +468 -89
- package/dist/{trait-WnYkvPdZ.d.ts → trait-A4_OlY_l.d.ts} +20 -20
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.js +26 -3
- package/dist/types/index.js.map +1 -1
- package/dist/{types-C4YztU2N.d.ts → types-AHD31Gn-.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, cO as isValidPatternType } from '../effect-
|
|
1
|
+
import { A as AnyPatternConfig, h as RenderBinding, F as FieldValue, aY as PatternType } from '../effect-D-_fm4No.js';
|
|
2
|
+
export { aR as PATTERN_TYPES, aV as PatternConfig, aW as PatternProps, aX as PatternPropsMap, cO as isValidPatternType } from '../effect-D-_fm4No.js';
|
|
3
3
|
import { d as EventPayloadValue, a as EventPayload, J as JsonValue } from '../expression-Fk8bQWef.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-07T09:57:06.909Z";
|
|
8
8
|
var patterns = {
|
|
9
9
|
"entity-table": {
|
|
10
10
|
type: "entity-table",
|
|
@@ -3572,14 +3572,32 @@ var patterns = {
|
|
|
3572
3572
|
"string"
|
|
3573
3573
|
]
|
|
3574
3574
|
},
|
|
3575
|
-
|
|
3575
|
+
filterType: {
|
|
3576
3576
|
types: [
|
|
3577
3577
|
"string"
|
|
3578
3578
|
],
|
|
3579
3579
|
enumValues: [
|
|
3580
|
+
"text",
|
|
3581
|
+
"select",
|
|
3582
|
+
"toggle",
|
|
3580
3583
|
"checkbox",
|
|
3584
|
+
"date",
|
|
3585
|
+
"daterange",
|
|
3586
|
+
"date-range"
|
|
3587
|
+
]
|
|
3588
|
+
},
|
|
3589
|
+
type: {
|
|
3590
|
+
types: [
|
|
3591
|
+
"string"
|
|
3592
|
+
],
|
|
3593
|
+
enumValues: [
|
|
3594
|
+
"text",
|
|
3581
3595
|
"select",
|
|
3582
|
-
"toggle"
|
|
3596
|
+
"toggle",
|
|
3597
|
+
"checkbox",
|
|
3598
|
+
"date",
|
|
3599
|
+
"daterange",
|
|
3600
|
+
"date-range"
|
|
3583
3601
|
]
|
|
3584
3602
|
},
|
|
3585
3603
|
options: {
|
|
@@ -10065,14 +10083,32 @@ var patterns = {
|
|
|
10065
10083
|
"string"
|
|
10066
10084
|
]
|
|
10067
10085
|
},
|
|
10068
|
-
|
|
10086
|
+
filterType: {
|
|
10069
10087
|
types: [
|
|
10070
10088
|
"string"
|
|
10071
10089
|
],
|
|
10072
10090
|
enumValues: [
|
|
10091
|
+
"text",
|
|
10092
|
+
"select",
|
|
10093
|
+
"toggle",
|
|
10073
10094
|
"checkbox",
|
|
10095
|
+
"date",
|
|
10096
|
+
"daterange",
|
|
10097
|
+
"date-range"
|
|
10098
|
+
]
|
|
10099
|
+
},
|
|
10100
|
+
type: {
|
|
10101
|
+
types: [
|
|
10102
|
+
"string"
|
|
10103
|
+
],
|
|
10104
|
+
enumValues: [
|
|
10105
|
+
"text",
|
|
10074
10106
|
"select",
|
|
10075
|
-
"toggle"
|
|
10107
|
+
"toggle",
|
|
10108
|
+
"checkbox",
|
|
10109
|
+
"date",
|
|
10110
|
+
"daterange",
|
|
10111
|
+
"date-range"
|
|
10076
10112
|
]
|
|
10077
10113
|
},
|
|
10078
10114
|
options: {
|
|
@@ -17106,6 +17142,21 @@ var patterns = {
|
|
|
17106
17142
|
],
|
|
17107
17143
|
description: "Auto zoom-to-fit after layout settles (default true)",
|
|
17108
17144
|
"default": true
|
|
17145
|
+
},
|
|
17146
|
+
layout: {
|
|
17147
|
+
types: [
|
|
17148
|
+
"string"
|
|
17149
|
+
],
|
|
17150
|
+
description: "Layout mode. force = physics simulation (default); flow = layered left-to-right process flow; tree = top-down hierarchy tiers from the roots; radial = concentric rings by depth (a pure cycle renders as a single ring). Non-force layouts are deterministic.",
|
|
17151
|
+
enumValues: [
|
|
17152
|
+
"force",
|
|
17153
|
+
"flow",
|
|
17154
|
+
"tree",
|
|
17155
|
+
"radial"
|
|
17156
|
+
],
|
|
17157
|
+
"default": "force",
|
|
17158
|
+
synonyms: "layout mode, flow layout, tree layout, radial layout, hierarchy layout",
|
|
17159
|
+
tier: "domain"
|
|
17109
17160
|
}
|
|
17110
17161
|
}
|
|
17111
17162
|
},
|
|
@@ -33060,14 +33111,30 @@ var patterns = {
|
|
|
33060
33111
|
},
|
|
33061
33112
|
range: {
|
|
33062
33113
|
types: [
|
|
33063
|
-
"function"
|
|
33114
|
+
"function",
|
|
33115
|
+
"object"
|
|
33116
|
+
],
|
|
33117
|
+
properties: {
|
|
33118
|
+
from: {
|
|
33119
|
+
types: [
|
|
33120
|
+
"string"
|
|
33121
|
+
]
|
|
33122
|
+
},
|
|
33123
|
+
to: {
|
|
33124
|
+
types: [
|
|
33125
|
+
"string"
|
|
33126
|
+
]
|
|
33127
|
+
}
|
|
33128
|
+
},
|
|
33129
|
+
required: [
|
|
33130
|
+
"from",
|
|
33131
|
+
"to"
|
|
33064
33132
|
]
|
|
33065
33133
|
}
|
|
33066
33134
|
},
|
|
33067
33135
|
required: [
|
|
33068
33136
|
"label",
|
|
33069
|
-
"value"
|
|
33070
|
-
"range"
|
|
33137
|
+
"value"
|
|
33071
33138
|
]
|
|
33072
33139
|
}
|
|
33073
33140
|
},
|
|
@@ -43016,6 +43083,27 @@ var integrators = {
|
|
|
43016
43083
|
summary: "string",
|
|
43017
43084
|
keyPoints: "array"
|
|
43018
43085
|
}
|
|
43086
|
+
},
|
|
43087
|
+
{
|
|
43088
|
+
name: "embed",
|
|
43089
|
+
description: "Generate embeddings for an array of texts",
|
|
43090
|
+
params: [
|
|
43091
|
+
{
|
|
43092
|
+
name: "texts",
|
|
43093
|
+
type: "string[]",
|
|
43094
|
+
required: true,
|
|
43095
|
+
description: "Texts to embed"
|
|
43096
|
+
},
|
|
43097
|
+
{
|
|
43098
|
+
name: "model",
|
|
43099
|
+
type: "string",
|
|
43100
|
+
required: false,
|
|
43101
|
+
description: "Embedding model ID"
|
|
43102
|
+
}
|
|
43103
|
+
],
|
|
43104
|
+
responseShape: {
|
|
43105
|
+
embeddings: "array"
|
|
43106
|
+
}
|
|
43019
43107
|
}
|
|
43020
43108
|
]
|
|
43021
43109
|
},
|
|
@@ -43539,7 +43627,7 @@ var integratorsRegistry = {
|
|
|
43539
43627
|
};
|
|
43540
43628
|
|
|
43541
43629
|
var version$1 = "1.0.0";
|
|
43542
|
-
var exportedAt$1 = "2026-08-
|
|
43630
|
+
var exportedAt$1 = "2026-08-07T09:57:06.909Z";
|
|
43543
43631
|
var mappings = {
|
|
43544
43632
|
"page-header": {
|
|
43545
43633
|
component: "PageHeader",
|
|
@@ -44936,7 +45024,7 @@ var componentMapping = {
|
|
|
44936
45024
|
};
|
|
44937
45025
|
|
|
44938
45026
|
var version = "1.0.0";
|
|
44939
|
-
var exportedAt = "2026-08-
|
|
45027
|
+
var exportedAt = "2026-08-07T09:57:06.909Z";
|
|
44940
45028
|
var contracts = {
|
|
44941
45029
|
form: {
|
|
44942
45030
|
emits: [
|
|
@@ -48846,6 +48934,10 @@ declare const registry: {
|
|
|
48846
48934
|
label: {
|
|
48847
48935
|
types: string[];
|
|
48848
48936
|
};
|
|
48937
|
+
filterType: {
|
|
48938
|
+
types: string[];
|
|
48939
|
+
enumValues: string[];
|
|
48940
|
+
};
|
|
48849
48941
|
type: {
|
|
48850
48942
|
types: string[];
|
|
48851
48943
|
enumValues: string[];
|
|
@@ -52774,6 +52866,10 @@ declare const registry: {
|
|
|
52774
52866
|
label: {
|
|
52775
52867
|
types: string[];
|
|
52776
52868
|
};
|
|
52869
|
+
filterType: {
|
|
52870
|
+
types: string[];
|
|
52871
|
+
enumValues: string[];
|
|
52872
|
+
};
|
|
52777
52873
|
type: {
|
|
52778
52874
|
types: string[];
|
|
52779
52875
|
enumValues: string[];
|
|
@@ -57105,6 +57201,14 @@ declare const registry: {
|
|
|
57105
57201
|
description: string;
|
|
57106
57202
|
default: boolean;
|
|
57107
57203
|
};
|
|
57204
|
+
layout: {
|
|
57205
|
+
types: string[];
|
|
57206
|
+
description: string;
|
|
57207
|
+
enumValues: string[];
|
|
57208
|
+
default: string;
|
|
57209
|
+
synonyms: string;
|
|
57210
|
+
tier: string;
|
|
57211
|
+
};
|
|
57108
57212
|
};
|
|
57109
57213
|
};
|
|
57110
57214
|
"line-chart": {
|
|
@@ -66887,6 +66991,15 @@ declare const registry: {
|
|
|
66887
66991
|
};
|
|
66888
66992
|
range: {
|
|
66889
66993
|
types: string[];
|
|
66994
|
+
properties: {
|
|
66995
|
+
from: {
|
|
66996
|
+
types: string[];
|
|
66997
|
+
};
|
|
66998
|
+
to: {
|
|
66999
|
+
types: string[];
|
|
67000
|
+
};
|
|
67001
|
+
};
|
|
67002
|
+
required: string[];
|
|
66890
67003
|
};
|
|
66891
67004
|
};
|
|
66892
67005
|
required: string[];
|
|
@@ -74842,6 +74955,10 @@ declare const PATTERN_REGISTRY: {
|
|
|
74842
74955
|
label: {
|
|
74843
74956
|
types: string[];
|
|
74844
74957
|
};
|
|
74958
|
+
filterType: {
|
|
74959
|
+
types: string[];
|
|
74960
|
+
enumValues: string[];
|
|
74961
|
+
};
|
|
74845
74962
|
type: {
|
|
74846
74963
|
types: string[];
|
|
74847
74964
|
enumValues: string[];
|
|
@@ -78770,6 +78887,10 @@ declare const PATTERN_REGISTRY: {
|
|
|
78770
78887
|
label: {
|
|
78771
78888
|
types: string[];
|
|
78772
78889
|
};
|
|
78890
|
+
filterType: {
|
|
78891
|
+
types: string[];
|
|
78892
|
+
enumValues: string[];
|
|
78893
|
+
};
|
|
78773
78894
|
type: {
|
|
78774
78895
|
types: string[];
|
|
78775
78896
|
enumValues: string[];
|
|
@@ -83101,6 +83222,14 @@ declare const PATTERN_REGISTRY: {
|
|
|
83101
83222
|
description: string;
|
|
83102
83223
|
default: boolean;
|
|
83103
83224
|
};
|
|
83225
|
+
layout: {
|
|
83226
|
+
types: string[];
|
|
83227
|
+
description: string;
|
|
83228
|
+
enumValues: string[];
|
|
83229
|
+
default: string;
|
|
83230
|
+
synonyms: string;
|
|
83231
|
+
tier: string;
|
|
83232
|
+
};
|
|
83104
83233
|
};
|
|
83105
83234
|
};
|
|
83106
83235
|
"line-chart": {
|
|
@@ -92883,6 +93012,15 @@ declare const PATTERN_REGISTRY: {
|
|
|
92883
93012
|
};
|
|
92884
93013
|
range: {
|
|
92885
93014
|
types: string[];
|
|
93015
|
+
properties: {
|
|
93016
|
+
from: {
|
|
93017
|
+
types: string[];
|
|
93018
|
+
};
|
|
93019
|
+
to: {
|
|
93020
|
+
types: string[];
|
|
93021
|
+
};
|
|
93022
|
+
};
|
|
93023
|
+
required: string[];
|
|
92886
93024
|
};
|
|
92887
93025
|
};
|
|
92888
93026
|
required: string[];
|
|
@@ -98843,6 +98981,7 @@ declare const INTEGRATORS_REGISTRY: {
|
|
|
98843
98981
|
data?: undefined;
|
|
98844
98982
|
summary?: undefined;
|
|
98845
98983
|
keyPoints?: undefined;
|
|
98984
|
+
embeddings?: undefined;
|
|
98846
98985
|
};
|
|
98847
98986
|
} | {
|
|
98848
98987
|
name: string;
|
|
@@ -98862,6 +99001,7 @@ declare const INTEGRATORS_REGISTRY: {
|
|
|
98862
99001
|
data?: undefined;
|
|
98863
99002
|
summary?: undefined;
|
|
98864
99003
|
keyPoints?: undefined;
|
|
99004
|
+
embeddings?: undefined;
|
|
98865
99005
|
};
|
|
98866
99006
|
} | {
|
|
98867
99007
|
name: string;
|
|
@@ -98881,6 +99021,7 @@ declare const INTEGRATORS_REGISTRY: {
|
|
|
98881
99021
|
reasoning?: undefined;
|
|
98882
99022
|
summary?: undefined;
|
|
98883
99023
|
keyPoints?: undefined;
|
|
99024
|
+
embeddings?: undefined;
|
|
98884
99025
|
};
|
|
98885
99026
|
} | {
|
|
98886
99027
|
name: string;
|
|
@@ -98900,6 +99041,27 @@ declare const INTEGRATORS_REGISTRY: {
|
|
|
98900
99041
|
confidence?: undefined;
|
|
98901
99042
|
reasoning?: undefined;
|
|
98902
99043
|
data?: undefined;
|
|
99044
|
+
embeddings?: undefined;
|
|
99045
|
+
};
|
|
99046
|
+
} | {
|
|
99047
|
+
name: string;
|
|
99048
|
+
description: string;
|
|
99049
|
+
params: {
|
|
99050
|
+
name: string;
|
|
99051
|
+
type: string;
|
|
99052
|
+
required: boolean;
|
|
99053
|
+
description: string;
|
|
99054
|
+
}[];
|
|
99055
|
+
responseShape: {
|
|
99056
|
+
embeddings: string;
|
|
99057
|
+
content?: undefined;
|
|
99058
|
+
usage?: undefined;
|
|
99059
|
+
category?: undefined;
|
|
99060
|
+
confidence?: undefined;
|
|
99061
|
+
reasoning?: undefined;
|
|
99062
|
+
data?: undefined;
|
|
99063
|
+
summary?: undefined;
|
|
99064
|
+
keyPoints?: undefined;
|
|
98903
99065
|
};
|
|
98904
99066
|
})[];
|
|
98905
99067
|
};
|
|
@@ -101487,6 +101649,18 @@ declare function isEntityAwarePattern(patternType: string): boolean;
|
|
|
101487
101649
|
* @returns the declared event-key prop names (empty for an unknown pattern)
|
|
101488
101650
|
*/
|
|
101489
101651
|
declare function eventKeyPropsOf(patternType: string): ReadonlySet<string>;
|
|
101652
|
+
/**
|
|
101653
|
+
* A VALUE-INPUT pattern renders its interactive affordance from `value` alone —
|
|
101654
|
+
* a slider thumb, a text box, a select — no label prop required for it to be
|
|
101655
|
+
* visible. The wiring lint's way-on scan needs the distinction: a labelless
|
|
101656
|
+
* button renders nothing (the dead affordance being hunted), while a labelless
|
|
101657
|
+
* slider still renders a draggable control.
|
|
101658
|
+
*
|
|
101659
|
+
* @param patternType - Pattern type to inspect
|
|
101660
|
+
* @returns true when the registry declares both a `value` prop and at least
|
|
101661
|
+
* one event-outlet prop
|
|
101662
|
+
*/
|
|
101663
|
+
declare function isValueInputPattern(patternType: string): boolean;
|
|
101490
101664
|
/**
|
|
101491
101665
|
* Prop names of `patternType` carrying `kind: "event-list"` action-descriptor
|
|
101492
101666
|
* arrays, each mapped to the field inside an item that holds the event key
|
|
@@ -101529,4 +101703,4 @@ declare function isDrawablePattern(patternType: string): boolean;
|
|
|
101529
101703
|
*/
|
|
101530
101704
|
declare function isDrawHostPattern(patternType: string): boolean;
|
|
101531
101705
|
|
|
101532
|
-
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 };
|
|
101706
|
+
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, isValueInputPattern, 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-07T09:57:06.909Z",
|
|
7
7
|
patterns: {
|
|
8
8
|
"entity-table": {
|
|
9
9
|
type: "entity-table",
|
|
@@ -3562,14 +3562,32 @@ var patterns_registry_default = {
|
|
|
3562
3562
|
"string"
|
|
3563
3563
|
]
|
|
3564
3564
|
},
|
|
3565
|
-
|
|
3565
|
+
filterType: {
|
|
3566
3566
|
types: [
|
|
3567
3567
|
"string"
|
|
3568
3568
|
],
|
|
3569
3569
|
enumValues: [
|
|
3570
|
+
"text",
|
|
3571
|
+
"select",
|
|
3572
|
+
"toggle",
|
|
3570
3573
|
"checkbox",
|
|
3574
|
+
"date",
|
|
3575
|
+
"daterange",
|
|
3576
|
+
"date-range"
|
|
3577
|
+
]
|
|
3578
|
+
},
|
|
3579
|
+
type: {
|
|
3580
|
+
types: [
|
|
3581
|
+
"string"
|
|
3582
|
+
],
|
|
3583
|
+
enumValues: [
|
|
3584
|
+
"text",
|
|
3571
3585
|
"select",
|
|
3572
|
-
"toggle"
|
|
3586
|
+
"toggle",
|
|
3587
|
+
"checkbox",
|
|
3588
|
+
"date",
|
|
3589
|
+
"daterange",
|
|
3590
|
+
"date-range"
|
|
3573
3591
|
]
|
|
3574
3592
|
},
|
|
3575
3593
|
options: {
|
|
@@ -10028,14 +10046,32 @@ var patterns_registry_default = {
|
|
|
10028
10046
|
"string"
|
|
10029
10047
|
]
|
|
10030
10048
|
},
|
|
10031
|
-
|
|
10049
|
+
filterType: {
|
|
10032
10050
|
types: [
|
|
10033
10051
|
"string"
|
|
10034
10052
|
],
|
|
10035
10053
|
enumValues: [
|
|
10054
|
+
"text",
|
|
10055
|
+
"select",
|
|
10056
|
+
"toggle",
|
|
10036
10057
|
"checkbox",
|
|
10058
|
+
"date",
|
|
10059
|
+
"daterange",
|
|
10060
|
+
"date-range"
|
|
10061
|
+
]
|
|
10062
|
+
},
|
|
10063
|
+
type: {
|
|
10064
|
+
types: [
|
|
10065
|
+
"string"
|
|
10066
|
+
],
|
|
10067
|
+
enumValues: [
|
|
10068
|
+
"text",
|
|
10037
10069
|
"select",
|
|
10038
|
-
"toggle"
|
|
10070
|
+
"toggle",
|
|
10071
|
+
"checkbox",
|
|
10072
|
+
"date",
|
|
10073
|
+
"daterange",
|
|
10074
|
+
"date-range"
|
|
10039
10075
|
]
|
|
10040
10076
|
},
|
|
10041
10077
|
options: {
|
|
@@ -17042,6 +17078,21 @@ var patterns_registry_default = {
|
|
|
17042
17078
|
],
|
|
17043
17079
|
description: "Auto zoom-to-fit after layout settles (default true)",
|
|
17044
17080
|
default: true
|
|
17081
|
+
},
|
|
17082
|
+
layout: {
|
|
17083
|
+
types: [
|
|
17084
|
+
"string"
|
|
17085
|
+
],
|
|
17086
|
+
description: "Layout mode. force = physics simulation (default); flow = layered left-to-right process flow; tree = top-down hierarchy tiers from the roots; radial = concentric rings by depth (a pure cycle renders as a single ring). Non-force layouts are deterministic.",
|
|
17087
|
+
enumValues: [
|
|
17088
|
+
"force",
|
|
17089
|
+
"flow",
|
|
17090
|
+
"tree",
|
|
17091
|
+
"radial"
|
|
17092
|
+
],
|
|
17093
|
+
default: "force",
|
|
17094
|
+
synonyms: "layout mode, flow layout, tree layout, radial layout, hierarchy layout",
|
|
17095
|
+
tier: "domain"
|
|
17045
17096
|
}
|
|
17046
17097
|
}
|
|
17047
17098
|
},
|
|
@@ -32979,14 +33030,30 @@ var patterns_registry_default = {
|
|
|
32979
33030
|
},
|
|
32980
33031
|
range: {
|
|
32981
33032
|
types: [
|
|
32982
|
-
"function"
|
|
33033
|
+
"function",
|
|
33034
|
+
"object"
|
|
33035
|
+
],
|
|
33036
|
+
properties: {
|
|
33037
|
+
from: {
|
|
33038
|
+
types: [
|
|
33039
|
+
"string"
|
|
33040
|
+
]
|
|
33041
|
+
},
|
|
33042
|
+
to: {
|
|
33043
|
+
types: [
|
|
33044
|
+
"string"
|
|
33045
|
+
]
|
|
33046
|
+
}
|
|
33047
|
+
},
|
|
33048
|
+
required: [
|
|
33049
|
+
"from",
|
|
33050
|
+
"to"
|
|
32983
33051
|
]
|
|
32984
33052
|
}
|
|
32985
33053
|
},
|
|
32986
33054
|
required: [
|
|
32987
33055
|
"label",
|
|
32988
|
-
"value"
|
|
32989
|
-
"range"
|
|
33056
|
+
"value"
|
|
32990
33057
|
]
|
|
32991
33058
|
}
|
|
32992
33059
|
},
|
|
@@ -42906,6 +42973,27 @@ var integrators_registry_default = {
|
|
|
42906
42973
|
summary: "string",
|
|
42907
42974
|
keyPoints: "array"
|
|
42908
42975
|
}
|
|
42976
|
+
},
|
|
42977
|
+
{
|
|
42978
|
+
name: "embed",
|
|
42979
|
+
description: "Generate embeddings for an array of texts",
|
|
42980
|
+
params: [
|
|
42981
|
+
{
|
|
42982
|
+
name: "texts",
|
|
42983
|
+
type: "string[]",
|
|
42984
|
+
required: true,
|
|
42985
|
+
description: "Texts to embed"
|
|
42986
|
+
},
|
|
42987
|
+
{
|
|
42988
|
+
name: "model",
|
|
42989
|
+
type: "string",
|
|
42990
|
+
required: false,
|
|
42991
|
+
description: "Embedding model ID"
|
|
42992
|
+
}
|
|
42993
|
+
],
|
|
42994
|
+
responseShape: {
|
|
42995
|
+
embeddings: "array"
|
|
42996
|
+
}
|
|
42909
42997
|
}
|
|
42910
42998
|
]
|
|
42911
42999
|
},
|
|
@@ -43426,7 +43514,7 @@ var integrators_registry_default = {
|
|
|
43426
43514
|
// src/patterns/component-mapping.json
|
|
43427
43515
|
var component_mapping_default = {
|
|
43428
43516
|
version: "1.0.0",
|
|
43429
|
-
exportedAt: "2026-08-
|
|
43517
|
+
exportedAt: "2026-08-07T09:57:06.909Z",
|
|
43430
43518
|
mappings: {
|
|
43431
43519
|
"page-header": {
|
|
43432
43520
|
component: "PageHeader",
|
|
@@ -44821,7 +44909,7 @@ var component_mapping_default = {
|
|
|
44821
44909
|
// src/patterns/event-contracts.json
|
|
44822
44910
|
var event_contracts_default = {
|
|
44823
44911
|
version: "1.0.0",
|
|
44824
|
-
exportedAt: "2026-08-
|
|
44912
|
+
exportedAt: "2026-08-07T09:57:06.909Z",
|
|
44825
44913
|
contracts: {
|
|
44826
44914
|
form: {
|
|
44827
44915
|
emits: [
|
|
@@ -46709,6 +46797,11 @@ function eventKeyPropsOf(patternType) {
|
|
|
46709
46797
|
eventKeyPropsCache.set(patternType, out);
|
|
46710
46798
|
return out;
|
|
46711
46799
|
}
|
|
46800
|
+
function isValueInputPattern(patternType) {
|
|
46801
|
+
const propsSchema = getPatternDefinition(patternType)?.propsSchema;
|
|
46802
|
+
if (!propsSchema || !("value" in propsSchema)) return false;
|
|
46803
|
+
return eventKeyPropsOf(patternType).size > 0;
|
|
46804
|
+
}
|
|
46712
46805
|
function eventListPropsOf(patternType) {
|
|
46713
46806
|
const cached = eventListPropsCache.get(patternType);
|
|
46714
46807
|
if (cached) return cached;
|
|
@@ -46759,6 +46852,6 @@ function propHostsDrawables(schema) {
|
|
|
46759
46852
|
return false;
|
|
46760
46853
|
}
|
|
46761
46854
|
|
|
46762
|
-
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 };
|
|
46855
|
+
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, isValueInputPattern, patterns_registry_default as patternsRegistry, recommendPatterns, registry, renderUiPatternTypesOf };
|
|
46763
46856
|
//# sourceMappingURL=index.js.map
|
|
46764
46857
|
//# sourceMappingURL=index.js.map
|