@almadar/patterns 2.17.2 → 2.18.1
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/component-mapping.json +1 -1
- package/dist/event-contracts.json +22 -2
- package/dist/index.d.ts +71 -386
- package/dist/index.js +107 -338
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +84 -335
- package/dist/registry.json +84 -335
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/patterns-registry.json
|
|
2
2
|
var patterns_registry_default = {
|
|
3
3
|
version: "1.0.0",
|
|
4
|
-
exportedAt: "2026-04-
|
|
4
|
+
exportedAt: "2026-04-25T12:02:50.943Z",
|
|
5
5
|
patterns: {
|
|
6
6
|
"entity-table": {
|
|
7
7
|
type: "entity-table",
|
|
@@ -700,12 +700,6 @@ var patterns_registry_default = {
|
|
|
700
700
|
],
|
|
701
701
|
description: "Panel width (CSS value, e.g., '400px', '50%')"
|
|
702
702
|
},
|
|
703
|
-
entityId: {
|
|
704
|
-
types: [
|
|
705
|
-
"string"
|
|
706
|
-
],
|
|
707
|
-
description: "Entity ID for fetching specific entity"
|
|
708
|
-
},
|
|
709
703
|
displayFields: {
|
|
710
704
|
types: [
|
|
711
705
|
"array"
|
|
@@ -896,11 +890,7 @@ var patterns_registry_default = {
|
|
|
896
890
|
types: [
|
|
897
891
|
"string"
|
|
898
892
|
],
|
|
899
|
-
description: "Form mode
|
|
900
|
-
enumValues: [
|
|
901
|
-
"create",
|
|
902
|
-
"edit"
|
|
903
|
-
]
|
|
893
|
+
description: "Form mode \u2014 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'."
|
|
904
894
|
},
|
|
905
895
|
fields: {
|
|
906
896
|
types: [
|
|
@@ -966,12 +956,6 @@ var patterns_registry_default = {
|
|
|
966
956
|
description: "Event to dispatch on cancel (defaults to 'CANCEL')",
|
|
967
957
|
kind: "event"
|
|
968
958
|
},
|
|
969
|
-
entityId: {
|
|
970
|
-
types: [
|
|
971
|
-
"string"
|
|
972
|
-
],
|
|
973
|
-
description: "Entity ID binding for edit mode (triggers initialData from selectedEntity in compiled code)"
|
|
974
|
-
},
|
|
975
959
|
relationsData: {
|
|
976
960
|
types: [
|
|
977
961
|
"object"
|
|
@@ -1106,11 +1090,7 @@ var patterns_registry_default = {
|
|
|
1106
1090
|
types: [
|
|
1107
1091
|
"string"
|
|
1108
1092
|
],
|
|
1109
|
-
description: "Form mode
|
|
1110
|
-
enumValues: [
|
|
1111
|
-
"create",
|
|
1112
|
-
"edit"
|
|
1113
|
-
]
|
|
1093
|
+
description: "Form mode \u2014 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'."
|
|
1114
1094
|
},
|
|
1115
1095
|
fields: {
|
|
1116
1096
|
types: [
|
|
@@ -1176,12 +1156,6 @@ var patterns_registry_default = {
|
|
|
1176
1156
|
description: "Event to dispatch on cancel (defaults to 'CANCEL')",
|
|
1177
1157
|
kind: "event"
|
|
1178
1158
|
},
|
|
1179
|
-
entityId: {
|
|
1180
|
-
types: [
|
|
1181
|
-
"string"
|
|
1182
|
-
],
|
|
1183
|
-
description: "Entity ID binding for edit mode (triggers initialData from selectedEntity in compiled code)"
|
|
1184
|
-
},
|
|
1185
1159
|
relationsData: {
|
|
1186
1160
|
types: [
|
|
1187
1161
|
"object"
|
|
@@ -2110,188 +2084,36 @@ var patterns_registry_default = {
|
|
|
2110
2084
|
],
|
|
2111
2085
|
typicalSize: "small",
|
|
2112
2086
|
propsSchema: {
|
|
2113
|
-
|
|
2114
|
-
types: [
|
|
2115
|
-
"string"
|
|
2116
|
-
],
|
|
2117
|
-
description: "Entity name for schema-driven integration"
|
|
2118
|
-
},
|
|
2119
|
-
data: {
|
|
2120
|
-
types: [
|
|
2121
|
-
"array"
|
|
2122
|
-
],
|
|
2123
|
-
description: "Data array provided by the trait via render-ui"
|
|
2124
|
-
},
|
|
2125
|
-
className: {
|
|
2126
|
-
types: [
|
|
2127
|
-
"string"
|
|
2128
|
-
],
|
|
2129
|
-
description: "Additional CSS classes"
|
|
2130
|
-
},
|
|
2131
|
-
isLoading: {
|
|
2132
|
-
types: [
|
|
2133
|
-
"boolean"
|
|
2134
|
-
],
|
|
2135
|
-
description: "Loading state indicator"
|
|
2136
|
-
},
|
|
2137
|
-
error: {
|
|
2138
|
-
types: [
|
|
2139
|
-
"object"
|
|
2140
|
-
],
|
|
2141
|
-
description: "Error state"
|
|
2142
|
-
},
|
|
2143
|
-
sortBy: {
|
|
2144
|
-
types: [
|
|
2145
|
-
"string"
|
|
2146
|
-
],
|
|
2147
|
-
description: "Current sort field"
|
|
2148
|
-
},
|
|
2149
|
-
sortDirection: {
|
|
2150
|
-
types: [
|
|
2151
|
-
"string"
|
|
2152
|
-
],
|
|
2153
|
-
description: "Current sort direction"
|
|
2154
|
-
},
|
|
2155
|
-
searchValue: {
|
|
2087
|
+
value: {
|
|
2156
2088
|
types: [
|
|
2157
2089
|
"string"
|
|
2158
2090
|
],
|
|
2159
|
-
description: "
|
|
2160
|
-
|
|
2161
|
-
page: {
|
|
2162
|
-
types: [
|
|
2163
|
-
"number"
|
|
2164
|
-
],
|
|
2165
|
-
description: "Current page number"
|
|
2166
|
-
},
|
|
2167
|
-
pageSize: {
|
|
2168
|
-
types: [
|
|
2169
|
-
"number"
|
|
2170
|
-
],
|
|
2171
|
-
description: "Number of items per page"
|
|
2172
|
-
},
|
|
2173
|
-
totalCount: {
|
|
2174
|
-
types: [
|
|
2175
|
-
"number"
|
|
2176
|
-
],
|
|
2177
|
-
description: "Total number of items"
|
|
2178
|
-
},
|
|
2179
|
-
activeFilters: {
|
|
2180
|
-
types: [
|
|
2181
|
-
"object"
|
|
2182
|
-
],
|
|
2183
|
-
description: "Active filters"
|
|
2184
|
-
},
|
|
2185
|
-
selectedIds: {
|
|
2186
|
-
types: [
|
|
2187
|
-
"array"
|
|
2188
|
-
],
|
|
2189
|
-
description: "Currently selected item IDs"
|
|
2091
|
+
description: "The stat value to display prominently",
|
|
2092
|
+
required: true
|
|
2190
2093
|
},
|
|
2191
2094
|
label: {
|
|
2192
2095
|
types: [
|
|
2193
2096
|
"string"
|
|
2194
2097
|
],
|
|
2195
|
-
description: "
|
|
2196
|
-
|
|
2197
|
-
title: {
|
|
2198
|
-
types: [
|
|
2199
|
-
"string"
|
|
2200
|
-
],
|
|
2201
|
-
description: "Title (alias for label)"
|
|
2202
|
-
},
|
|
2203
|
-
value: {
|
|
2204
|
-
types: [
|
|
2205
|
-
"string",
|
|
2206
|
-
"number",
|
|
2207
|
-
"array",
|
|
2208
|
-
"unknown"
|
|
2209
|
-
],
|
|
2210
|
-
description: "Primary value - accepts array/unknown from generated code (will use first element or length)"
|
|
2211
|
-
},
|
|
2212
|
-
previousValue: {
|
|
2213
|
-
types: [
|
|
2214
|
-
"number"
|
|
2215
|
-
],
|
|
2216
|
-
description: "Previous value for comparison"
|
|
2217
|
-
},
|
|
2218
|
-
currentValue: {
|
|
2219
|
-
types: [
|
|
2220
|
-
"number"
|
|
2221
|
-
],
|
|
2222
|
-
description: "Current value as number for trend calculation"
|
|
2223
|
-
},
|
|
2224
|
-
trend: {
|
|
2225
|
-
types: [
|
|
2226
|
-
"number"
|
|
2227
|
-
],
|
|
2228
|
-
description: "Manual trend percentage (overrides calculation)"
|
|
2098
|
+
description: "Label describing the value",
|
|
2099
|
+
required: true
|
|
2229
2100
|
},
|
|
2230
|
-
|
|
2101
|
+
size: {
|
|
2231
2102
|
types: [
|
|
2232
2103
|
"string"
|
|
2233
2104
|
],
|
|
2234
|
-
description: "
|
|
2105
|
+
description: "Size of the value text",
|
|
2235
2106
|
enumValues: [
|
|
2236
|
-
"
|
|
2237
|
-
"
|
|
2238
|
-
"
|
|
2107
|
+
"sm",
|
|
2108
|
+
"md",
|
|
2109
|
+
"lg"
|
|
2239
2110
|
]
|
|
2240
2111
|
},
|
|
2241
|
-
|
|
2242
|
-
types: [
|
|
2243
|
-
"boolean"
|
|
2244
|
-
],
|
|
2245
|
-
description: "Whether up is good (green) or bad (red)"
|
|
2246
|
-
},
|
|
2247
|
-
icon: {
|
|
2248
|
-
types: [
|
|
2249
|
-
"icon",
|
|
2250
|
-
"string"
|
|
2251
|
-
],
|
|
2252
|
-
description: "Icon to display (Lucide component or icon name string)"
|
|
2253
|
-
},
|
|
2254
|
-
iconBg: {
|
|
2255
|
-
types: [
|
|
2256
|
-
"string"
|
|
2257
|
-
],
|
|
2258
|
-
description: "Icon background color"
|
|
2259
|
-
},
|
|
2260
|
-
iconColor: {
|
|
2261
|
-
types: [
|
|
2262
|
-
"string"
|
|
2263
|
-
],
|
|
2264
|
-
description: "Icon color"
|
|
2265
|
-
},
|
|
2266
|
-
subtitle: {
|
|
2112
|
+
className: {
|
|
2267
2113
|
types: [
|
|
2268
2114
|
"string"
|
|
2269
2115
|
],
|
|
2270
|
-
description: "
|
|
2271
|
-
},
|
|
2272
|
-
action: {
|
|
2273
|
-
types: [
|
|
2274
|
-
"object"
|
|
2275
|
-
],
|
|
2276
|
-
description: "Action button"
|
|
2277
|
-
},
|
|
2278
|
-
metrics: {
|
|
2279
|
-
types: [
|
|
2280
|
-
"array"
|
|
2281
|
-
],
|
|
2282
|
-
description: "Metrics to display (schema format) - accepts readonly for compatibility with generated const arrays"
|
|
2283
|
-
},
|
|
2284
|
-
compact: {
|
|
2285
|
-
types: [
|
|
2286
|
-
"boolean"
|
|
2287
|
-
],
|
|
2288
|
-
description: "Compact display mode"
|
|
2289
|
-
},
|
|
2290
|
-
sparklineData: {
|
|
2291
|
-
types: [
|
|
2292
|
-
"array"
|
|
2293
|
-
],
|
|
2294
|
-
description: "Sparkline data points for an inline trend chart"
|
|
2116
|
+
description: "Additional class names"
|
|
2295
2117
|
}
|
|
2296
2118
|
}
|
|
2297
2119
|
},
|
|
@@ -4108,90 +3930,53 @@ var patterns_registry_default = {
|
|
|
4108
3930
|
],
|
|
4109
3931
|
typicalSize: "small",
|
|
4110
3932
|
propsSchema: {
|
|
4111
|
-
|
|
4112
|
-
types: [
|
|
4113
|
-
"string"
|
|
4114
|
-
],
|
|
4115
|
-
description: "Card title"
|
|
4116
|
-
},
|
|
4117
|
-
subtitle: {
|
|
4118
|
-
types: [
|
|
4119
|
-
"string"
|
|
4120
|
-
],
|
|
4121
|
-
description: "Card subtitle or description"
|
|
4122
|
-
},
|
|
4123
|
-
image: {
|
|
3933
|
+
variant: {
|
|
4124
3934
|
types: [
|
|
4125
3935
|
"string"
|
|
4126
3936
|
],
|
|
4127
|
-
description: "
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
"
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
},
|
|
4135
|
-
children: {
|
|
4136
|
-
types: [
|
|
4137
|
-
"node"
|
|
4138
|
-
],
|
|
4139
|
-
description: "Card content"
|
|
4140
|
-
},
|
|
4141
|
-
onClick: {
|
|
4142
|
-
types: [
|
|
4143
|
-
"function"
|
|
4144
|
-
],
|
|
4145
|
-
description: "Click handler for the entire card"
|
|
3937
|
+
description: "variant prop",
|
|
3938
|
+
enumValues: [
|
|
3939
|
+
"default",
|
|
3940
|
+
"bordered",
|
|
3941
|
+
"elevated",
|
|
3942
|
+
"interactive"
|
|
3943
|
+
]
|
|
4146
3944
|
},
|
|
4147
|
-
|
|
3945
|
+
padding: {
|
|
4148
3946
|
types: [
|
|
4149
3947
|
"string"
|
|
4150
3948
|
],
|
|
4151
|
-
description: "
|
|
3949
|
+
description: "padding prop",
|
|
3950
|
+
enumValues: [
|
|
3951
|
+
"none",
|
|
3952
|
+
"sm",
|
|
3953
|
+
"md",
|
|
3954
|
+
"lg"
|
|
3955
|
+
]
|
|
4152
3956
|
},
|
|
4153
|
-
|
|
3957
|
+
title: {
|
|
4154
3958
|
types: [
|
|
4155
3959
|
"string"
|
|
4156
3960
|
],
|
|
4157
|
-
description: "
|
|
4158
|
-
kind: "event"
|
|
4159
|
-
},
|
|
4160
|
-
isSelected: {
|
|
4161
|
-
types: [
|
|
4162
|
-
"boolean"
|
|
4163
|
-
],
|
|
4164
|
-
description: "Whether the card is selected (highlighted state)"
|
|
3961
|
+
description: "Card title - renders in header if provided"
|
|
4165
3962
|
},
|
|
4166
|
-
|
|
3963
|
+
subtitle: {
|
|
4167
3964
|
types: [
|
|
4168
3965
|
"string"
|
|
4169
3966
|
],
|
|
4170
|
-
description: "Card
|
|
4171
|
-
},
|
|
4172
|
-
level: {
|
|
4173
|
-
types: [
|
|
4174
|
-
"number"
|
|
4175
|
-
],
|
|
4176
|
-
description: "Level indicator"
|
|
4177
|
-
},
|
|
4178
|
-
maxLevel: {
|
|
4179
|
-
types: [
|
|
4180
|
-
"number"
|
|
4181
|
-
],
|
|
4182
|
-
description: "Maximum level"
|
|
3967
|
+
description: "Card subtitle - renders below title"
|
|
4183
3968
|
},
|
|
4184
|
-
|
|
3969
|
+
shadow: {
|
|
4185
3970
|
types: [
|
|
4186
3971
|
"string"
|
|
4187
3972
|
],
|
|
4188
|
-
description: "
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
"
|
|
4193
|
-
|
|
4194
|
-
|
|
3973
|
+
description: "Shadow size override",
|
|
3974
|
+
enumValues: [
|
|
3975
|
+
"none",
|
|
3976
|
+
"sm",
|
|
3977
|
+
"md",
|
|
3978
|
+
"lg"
|
|
3979
|
+
]
|
|
4195
3980
|
}
|
|
4196
3981
|
}
|
|
4197
3982
|
},
|
|
@@ -6352,34 +6137,41 @@ var patterns_registry_default = {
|
|
|
6352
6137
|
typicalSize: "medium",
|
|
6353
6138
|
propsSchema: {
|
|
6354
6139
|
action: {
|
|
6140
|
+
types: [
|
|
6141
|
+
"string"
|
|
6142
|
+
],
|
|
6143
|
+
description: 'Declarative event name. When set, clicking the FAB emits `UI:{action}` via the event bus and (if also provided) calls `onClick`. Mirrors the Button atom\'s `action` prop so schemas can write `{ type: "floating-action-button", action: "INIT" }` uniformly.',
|
|
6144
|
+
kind: "event"
|
|
6145
|
+
},
|
|
6146
|
+
actionPayload: {
|
|
6355
6147
|
types: [
|
|
6356
6148
|
"object"
|
|
6357
6149
|
],
|
|
6358
|
-
description: "
|
|
6150
|
+
description: "Payload to include with the dispatched action event."
|
|
6359
6151
|
},
|
|
6360
6152
|
actions: {
|
|
6361
6153
|
types: [
|
|
6362
6154
|
"array"
|
|
6363
6155
|
],
|
|
6364
|
-
description: "Multiple actions
|
|
6156
|
+
description: "Multiple actions. When provided, the button expands to show all of them."
|
|
6365
6157
|
},
|
|
6366
6158
|
icon: {
|
|
6367
6159
|
types: [
|
|
6368
6160
|
"string"
|
|
6369
6161
|
],
|
|
6370
|
-
description: "Icon name (
|
|
6162
|
+
description: "Icon name (resolves to a Lucide icon by PascalCase / kebab-case lookup)."
|
|
6371
6163
|
},
|
|
6372
6164
|
onClick: {
|
|
6373
6165
|
types: [
|
|
6374
6166
|
"function"
|
|
6375
6167
|
],
|
|
6376
|
-
description: "
|
|
6168
|
+
description: "Optional direct click handler. Runs after the action emit when both are present."
|
|
6377
6169
|
},
|
|
6378
6170
|
variant: {
|
|
6379
6171
|
types: [
|
|
6380
6172
|
"string"
|
|
6381
6173
|
],
|
|
6382
|
-
description: "
|
|
6174
|
+
description: "Visual variant.",
|
|
6383
6175
|
enumValues: [
|
|
6384
6176
|
"primary",
|
|
6385
6177
|
"secondary",
|
|
@@ -6388,6 +6180,12 @@ var patterns_registry_default = {
|
|
|
6388
6180
|
"warning"
|
|
6389
6181
|
]
|
|
6390
6182
|
},
|
|
6183
|
+
label: {
|
|
6184
|
+
types: [
|
|
6185
|
+
"string"
|
|
6186
|
+
],
|
|
6187
|
+
description: "Optional label shown via `aria-label` (visually hidden in single-action mode; rendered as a tooltip beside expanded actions in multi-action mode)."
|
|
6188
|
+
},
|
|
6391
6189
|
position: {
|
|
6392
6190
|
types: [
|
|
6393
6191
|
"string"
|
|
@@ -7000,78 +6798,29 @@ var patterns_registry_default = {
|
|
|
7000
6798
|
],
|
|
7001
6799
|
typicalSize: "large",
|
|
7002
6800
|
propsSchema: {
|
|
7003
|
-
label: {
|
|
7004
|
-
types: [
|
|
7005
|
-
"string"
|
|
7006
|
-
],
|
|
7007
|
-
description: "label prop",
|
|
7008
|
-
required: true
|
|
7009
|
-
},
|
|
7010
|
-
variant: {
|
|
7011
|
-
types: [
|
|
7012
|
-
"string"
|
|
7013
|
-
],
|
|
7014
|
-
description: "variant prop",
|
|
7015
|
-
enumValues: [
|
|
7016
|
-
"primary",
|
|
7017
|
-
"secondary",
|
|
7018
|
-
"ghost",
|
|
7019
|
-
"danger",
|
|
7020
|
-
"success",
|
|
7021
|
-
"warning",
|
|
7022
|
-
"default"
|
|
7023
|
-
]
|
|
7024
|
-
},
|
|
7025
|
-
size: {
|
|
7026
|
-
types: [
|
|
7027
|
-
"string"
|
|
7028
|
-
],
|
|
7029
|
-
description: "size prop",
|
|
7030
|
-
enumValues: [
|
|
7031
|
-
"sm",
|
|
7032
|
-
"md",
|
|
7033
|
-
"lg"
|
|
7034
|
-
]
|
|
7035
|
-
},
|
|
7036
|
-
disabled: {
|
|
7037
|
-
types: [
|
|
7038
|
-
"boolean"
|
|
7039
|
-
],
|
|
7040
|
-
description: "disabled prop"
|
|
7041
|
-
},
|
|
7042
6801
|
onClick: {
|
|
7043
6802
|
types: [
|
|
7044
6803
|
"string"
|
|
7045
6804
|
],
|
|
7046
|
-
description: "
|
|
6805
|
+
description: "Legacy alias for {@link ButtonProps.action} (string event name).",
|
|
6806
|
+
kind: "event"
|
|
7047
6807
|
},
|
|
7048
6808
|
event: {
|
|
7049
6809
|
types: [
|
|
7050
6810
|
"string"
|
|
7051
6811
|
],
|
|
7052
|
-
description: "
|
|
7053
|
-
|
|
7054
|
-
icon: {
|
|
7055
|
-
types: [
|
|
7056
|
-
"string"
|
|
7057
|
-
],
|
|
7058
|
-
description: "icon prop"
|
|
6812
|
+
description: "Legacy alias for {@link ButtonProps.action}.",
|
|
6813
|
+
kind: "event"
|
|
7059
6814
|
},
|
|
7060
6815
|
iconPosition: {
|
|
7061
6816
|
types: [
|
|
7062
6817
|
"string"
|
|
7063
6818
|
],
|
|
7064
|
-
description: "
|
|
6819
|
+
description: "Icon placement \u2014 maps to Button's `icon` (left) or `iconRight` (right).",
|
|
7065
6820
|
enumValues: [
|
|
7066
6821
|
"left",
|
|
7067
6822
|
"right"
|
|
7068
6823
|
]
|
|
7069
|
-
},
|
|
7070
|
-
className: {
|
|
7071
|
-
types: [
|
|
7072
|
-
"string"
|
|
7073
|
-
],
|
|
7074
|
-
description: "className prop"
|
|
7075
6824
|
}
|
|
7076
6825
|
}
|
|
7077
6826
|
},
|
|
@@ -8880,12 +8629,6 @@ var patterns_registry_default = {
|
|
|
8880
8629
|
],
|
|
8881
8630
|
description: "Actions"
|
|
8882
8631
|
},
|
|
8883
|
-
entity: {
|
|
8884
|
-
types: [
|
|
8885
|
-
"string"
|
|
8886
|
-
],
|
|
8887
|
-
description: "Entity name for schema-driven auto-fetch"
|
|
8888
|
-
},
|
|
8889
8632
|
isLoading: {
|
|
8890
8633
|
types: [
|
|
8891
8634
|
"boolean"
|
|
@@ -13516,10 +13259,10 @@ var patterns_registry_default = {
|
|
|
13516
13259
|
propsSchema: {
|
|
13517
13260
|
entity: {
|
|
13518
13261
|
types: [
|
|
13519
|
-
"
|
|
13262
|
+
"object",
|
|
13520
13263
|
"array"
|
|
13521
13264
|
],
|
|
13522
|
-
description: "
|
|
13265
|
+
description: "Schema entity data \u2014 single record or collection, typed against `@almadar/core`'s `EntityRow` so the narrow type declared on the emitting trait's `Event { data : [X] }` flows through to the prop without widening. The generic `T` lets consumers pass a narrower entity (e.g. `CartItem`) and have the `children` render function receive cards typed to that exact shape.",
|
|
13523
13266
|
required: true
|
|
13524
13267
|
},
|
|
13525
13268
|
fields: {
|
|
@@ -13628,7 +13371,7 @@ var patterns_registry_default = {
|
|
|
13628
13371
|
types: [
|
|
13629
13372
|
"function"
|
|
13630
13373
|
],
|
|
13631
|
-
description: "Render prop for custom per-
|
|
13374
|
+
description: "Render prop for custom per-card content, typed to the grid's entity shape `T`. When provided, `fields` and `itemActions` are ignored."
|
|
13632
13375
|
},
|
|
13633
13376
|
renderItem: {
|
|
13634
13377
|
types: [
|
|
@@ -13657,10 +13400,10 @@ var patterns_registry_default = {
|
|
|
13657
13400
|
propsSchema: {
|
|
13658
13401
|
entity: {
|
|
13659
13402
|
types: [
|
|
13660
|
-
"
|
|
13403
|
+
"object",
|
|
13661
13404
|
"array"
|
|
13662
13405
|
],
|
|
13663
|
-
description: "
|
|
13406
|
+
description: "Schema entity data \u2014 single record or collection, typed against `@almadar/core`'s `EntityRow` so the narrow type declared on the emitting trait's `Event { data : [X] }` flows through to the prop without widening. The generic `T` lets consumers pass a narrower entity (e.g. `CartItem`) and have the `children` render function receive items of that exact shape.",
|
|
13664
13407
|
required: true
|
|
13665
13408
|
},
|
|
13666
13409
|
fields: {
|
|
@@ -14557,23 +14300,29 @@ var patterns_registry_default = {
|
|
|
14557
14300
|
propsSchema: {
|
|
14558
14301
|
value: {
|
|
14559
14302
|
types: [
|
|
14303
|
+
"number",
|
|
14560
14304
|
"string"
|
|
14561
14305
|
],
|
|
14562
|
-
description: '
|
|
14306
|
+
description: 'The target value to animate to. Strings are parsed numerically (e.g. "500", "99.9").',
|
|
14563
14307
|
required: true
|
|
14564
14308
|
},
|
|
14565
|
-
|
|
14309
|
+
duration: {
|
|
14310
|
+
types: [
|
|
14311
|
+
"number"
|
|
14312
|
+
],
|
|
14313
|
+
description: "Animation duration in milliseconds"
|
|
14314
|
+
},
|
|
14315
|
+
prefix: {
|
|
14566
14316
|
types: [
|
|
14567
14317
|
"string"
|
|
14568
14318
|
],
|
|
14569
|
-
description: "
|
|
14570
|
-
required: true
|
|
14319
|
+
description: "Text to display before the number"
|
|
14571
14320
|
},
|
|
14572
|
-
|
|
14321
|
+
suffix: {
|
|
14573
14322
|
types: [
|
|
14574
|
-
"
|
|
14323
|
+
"string"
|
|
14575
14324
|
],
|
|
14576
|
-
description: "
|
|
14325
|
+
description: "Text to display after the number"
|
|
14577
14326
|
},
|
|
14578
14327
|
className: {
|
|
14579
14328
|
types: [
|
|
@@ -24724,7 +24473,7 @@ var integrators_registry_default = {
|
|
|
24724
24473
|
// src/component-mapping.json
|
|
24725
24474
|
var component_mapping_default = {
|
|
24726
24475
|
version: "1.0.0",
|
|
24727
|
-
exportedAt: "2026-04-
|
|
24476
|
+
exportedAt: "2026-04-25T12:02:50.943Z",
|
|
24728
24477
|
mappings: {
|
|
24729
24478
|
"page-header": {
|
|
24730
24479
|
component: "PageHeader",
|
|
@@ -26535,7 +26284,7 @@ var component_mapping_default = {
|
|
|
26535
26284
|
// src/event-contracts.json
|
|
26536
26285
|
var event_contracts_default = {
|
|
26537
26286
|
version: "1.0.0",
|
|
26538
|
-
exportedAt: "2026-04-
|
|
26287
|
+
exportedAt: "2026-04-25T12:02:50.943Z",
|
|
26539
26288
|
contracts: {
|
|
26540
26289
|
form: {
|
|
26541
26290
|
emits: [
|
|
@@ -27065,7 +26814,7 @@ var event_contracts_default = {
|
|
|
27065
26814
|
stats: {
|
|
27066
26815
|
emits: [],
|
|
27067
26816
|
requires: [],
|
|
27068
|
-
entityAware:
|
|
26817
|
+
entityAware: false
|
|
27069
26818
|
},
|
|
27070
26819
|
card: {
|
|
27071
26820
|
emits: [
|
|
@@ -27844,6 +27593,26 @@ var event_contracts_default = {
|
|
|
27844
27593
|
],
|
|
27845
27594
|
requires: [],
|
|
27846
27595
|
entityAware: false
|
|
27596
|
+
},
|
|
27597
|
+
"ui-slot-renderer": {
|
|
27598
|
+
emits: [
|
|
27599
|
+
{
|
|
27600
|
+
event: "CLOSE",
|
|
27601
|
+
trigger: "action",
|
|
27602
|
+
payload: {
|
|
27603
|
+
type: "object"
|
|
27604
|
+
}
|
|
27605
|
+
},
|
|
27606
|
+
{
|
|
27607
|
+
event: "CANCEL",
|
|
27608
|
+
trigger: "action",
|
|
27609
|
+
payload: {
|
|
27610
|
+
type: "object"
|
|
27611
|
+
}
|
|
27612
|
+
}
|
|
27613
|
+
],
|
|
27614
|
+
requires: [],
|
|
27615
|
+
entityAware: true
|
|
27847
27616
|
}
|
|
27848
27617
|
}
|
|
27849
27618
|
};
|