@almadar/patterns 2.47.0 → 2.49.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/component-mapping.json +1 -1
- package/dist/event-contracts.json +3 -3
- package/dist/index.d.ts +228 -34
- package/dist/index.js +195 -39
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +191 -35
- package/dist/registry.json +191 -35
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-06-
|
|
3
|
+
"exportedAt": "2026-06-18T09:49:37.603Z",
|
|
4
4
|
"patterns": {
|
|
5
5
|
"entity-table": {
|
|
6
6
|
"type": "entity-table",
|
|
@@ -1804,12 +1804,6 @@
|
|
|
1804
1804
|
"message"
|
|
1805
1805
|
]
|
|
1806
1806
|
},
|
|
1807
|
-
"entity": {
|
|
1808
|
-
"types": [
|
|
1809
|
-
"string"
|
|
1810
|
-
],
|
|
1811
|
-
"description": "Entity name for schema-driven auto-fetch"
|
|
1812
|
-
},
|
|
1813
1807
|
"tabs": {
|
|
1814
1808
|
"types": [
|
|
1815
1809
|
"array"
|
|
@@ -7073,6 +7067,12 @@
|
|
|
7073
7067
|
],
|
|
7074
7068
|
"description": "Declarative event key emitted on click for trait dispatch",
|
|
7075
7069
|
"kind": "event"
|
|
7070
|
+
},
|
|
7071
|
+
"loading": {
|
|
7072
|
+
"types": [
|
|
7073
|
+
"boolean"
|
|
7074
|
+
],
|
|
7075
|
+
"description": "Shows a skeleton/spinner overlay while true."
|
|
7076
7076
|
}
|
|
7077
7077
|
}
|
|
7078
7078
|
},
|
|
@@ -7221,6 +7221,12 @@
|
|
|
7221
7221
|
"lg"
|
|
7222
7222
|
],
|
|
7223
7223
|
"default": "md"
|
|
7224
|
+
},
|
|
7225
|
+
"overlay": {
|
|
7226
|
+
"types": [
|
|
7227
|
+
"boolean"
|
|
7228
|
+
],
|
|
7229
|
+
"description": "Renders a centered overlay backdrop instead of inline."
|
|
7224
7230
|
}
|
|
7225
7231
|
}
|
|
7226
7232
|
},
|
|
@@ -7290,6 +7296,18 @@
|
|
|
7290
7296
|
"textarea"
|
|
7291
7297
|
]
|
|
7292
7298
|
},
|
|
7299
|
+
"label": {
|
|
7300
|
+
"types": [
|
|
7301
|
+
"string"
|
|
7302
|
+
],
|
|
7303
|
+
"description": "label prop"
|
|
7304
|
+
},
|
|
7305
|
+
"helperText": {
|
|
7306
|
+
"types": [
|
|
7307
|
+
"string"
|
|
7308
|
+
],
|
|
7309
|
+
"description": "helperText prop"
|
|
7310
|
+
},
|
|
7293
7311
|
"error": {
|
|
7294
7312
|
"types": [
|
|
7295
7313
|
"string"
|
|
@@ -7449,8 +7467,7 @@
|
|
|
7449
7467
|
"types": [
|
|
7450
7468
|
"array"
|
|
7451
7469
|
],
|
|
7452
|
-
"description": "Select options",
|
|
7453
|
-
"required": true,
|
|
7470
|
+
"description": "Select options (flat list)",
|
|
7454
7471
|
"items": {
|
|
7455
7472
|
"types": [
|
|
7456
7473
|
"object"
|
|
@@ -7473,6 +7490,54 @@
|
|
|
7473
7490
|
]
|
|
7474
7491
|
}
|
|
7475
7492
|
},
|
|
7493
|
+
"groups": {
|
|
7494
|
+
"types": [
|
|
7495
|
+
"array"
|
|
7496
|
+
],
|
|
7497
|
+
"description": "Grouped options — rendered as <optgroup> in native mode, sections in rich mode.",
|
|
7498
|
+
"items": {
|
|
7499
|
+
"types": [
|
|
7500
|
+
"object"
|
|
7501
|
+
],
|
|
7502
|
+
"properties": {
|
|
7503
|
+
"label": {
|
|
7504
|
+
"types": [
|
|
7505
|
+
"string"
|
|
7506
|
+
]
|
|
7507
|
+
},
|
|
7508
|
+
"options": {
|
|
7509
|
+
"types": [
|
|
7510
|
+
"array"
|
|
7511
|
+
],
|
|
7512
|
+
"items": {
|
|
7513
|
+
"types": [
|
|
7514
|
+
"object"
|
|
7515
|
+
],
|
|
7516
|
+
"properties": {
|
|
7517
|
+
"value": {
|
|
7518
|
+
"types": [
|
|
7519
|
+
"string"
|
|
7520
|
+
]
|
|
7521
|
+
},
|
|
7522
|
+
"label": {
|
|
7523
|
+
"types": [
|
|
7524
|
+
"string"
|
|
7525
|
+
]
|
|
7526
|
+
}
|
|
7527
|
+
},
|
|
7528
|
+
"required": [
|
|
7529
|
+
"value",
|
|
7530
|
+
"label"
|
|
7531
|
+
]
|
|
7532
|
+
}
|
|
7533
|
+
}
|
|
7534
|
+
},
|
|
7535
|
+
"required": [
|
|
7536
|
+
"label",
|
|
7537
|
+
"options"
|
|
7538
|
+
]
|
|
7539
|
+
}
|
|
7540
|
+
},
|
|
7476
7541
|
"placeholder": {
|
|
7477
7542
|
"types": [
|
|
7478
7543
|
"string"
|
|
@@ -7481,9 +7546,15 @@
|
|
|
7481
7546
|
},
|
|
7482
7547
|
"value": {
|
|
7483
7548
|
"types": [
|
|
7484
|
-
"string"
|
|
7549
|
+
"string",
|
|
7550
|
+
"array"
|
|
7485
7551
|
],
|
|
7486
|
-
"description": "Current value"
|
|
7552
|
+
"description": "Current value (string for single, string[] for multiple)",
|
|
7553
|
+
"items": {
|
|
7554
|
+
"types": [
|
|
7555
|
+
"string"
|
|
7556
|
+
]
|
|
7557
|
+
}
|
|
7487
7558
|
},
|
|
7488
7559
|
"action": {
|
|
7489
7560
|
"types": [
|
|
@@ -7498,12 +7569,43 @@
|
|
|
7498
7569
|
],
|
|
7499
7570
|
"description": "Error message"
|
|
7500
7571
|
},
|
|
7572
|
+
"multiple": {
|
|
7573
|
+
"types": [
|
|
7574
|
+
"boolean"
|
|
7575
|
+
],
|
|
7576
|
+
"description": "Allow selecting multiple values — activates the rich dropdown."
|
|
7577
|
+
},
|
|
7578
|
+
"searchable": {
|
|
7579
|
+
"types": [
|
|
7580
|
+
"boolean"
|
|
7581
|
+
],
|
|
7582
|
+
"description": "Show a search input inside the dropdown — activates the rich dropdown."
|
|
7583
|
+
},
|
|
7584
|
+
"clearable": {
|
|
7585
|
+
"types": [
|
|
7586
|
+
"boolean"
|
|
7587
|
+
],
|
|
7588
|
+
"description": "Show a clear button when a value is selected."
|
|
7589
|
+
},
|
|
7501
7590
|
"onChange": {
|
|
7502
7591
|
"types": [
|
|
7503
7592
|
"function",
|
|
7504
7593
|
"string"
|
|
7505
7594
|
],
|
|
7506
|
-
"description": "onChange handler or declarative event key for trait dispatch"
|
|
7595
|
+
"description": "onChange handler (native ChangeEvent) or declarative event key for trait dispatch"
|
|
7596
|
+
},
|
|
7597
|
+
"onValueChange": {
|
|
7598
|
+
"types": [
|
|
7599
|
+
"function"
|
|
7600
|
+
],
|
|
7601
|
+
"description": "Value-based callback — receives the selected string (or string[] for multiple).",
|
|
7602
|
+
"kind": "callback",
|
|
7603
|
+
"callbackArgs": [
|
|
7604
|
+
{
|
|
7605
|
+
"name": "value",
|
|
7606
|
+
"type": "string"
|
|
7607
|
+
}
|
|
7608
|
+
]
|
|
7507
7609
|
}
|
|
7508
7610
|
}
|
|
7509
7611
|
},
|
|
@@ -8077,6 +8179,18 @@
|
|
|
8077
8179
|
"string"
|
|
8078
8180
|
],
|
|
8079
8181
|
"description": "Additional CSS classes"
|
|
8182
|
+
},
|
|
8183
|
+
"header": {
|
|
8184
|
+
"types": [
|
|
8185
|
+
"node"
|
|
8186
|
+
],
|
|
8187
|
+
"description": "Optional slot rendered above the items."
|
|
8188
|
+
},
|
|
8189
|
+
"footer": {
|
|
8190
|
+
"types": [
|
|
8191
|
+
"node"
|
|
8192
|
+
],
|
|
8193
|
+
"description": "Optional slot rendered below the items."
|
|
8080
8194
|
}
|
|
8081
8195
|
}
|
|
8082
8196
|
},
|
|
@@ -10627,12 +10741,6 @@
|
|
|
10627
10741
|
"propertyRequired": [
|
|
10628
10742
|
"message"
|
|
10629
10743
|
]
|
|
10630
|
-
},
|
|
10631
|
-
"entity": {
|
|
10632
|
-
"types": [
|
|
10633
|
-
"string"
|
|
10634
|
-
],
|
|
10635
|
-
"description": "Entity name for schema-driven auto-fetch (closed circuit)"
|
|
10636
10744
|
}
|
|
10637
10745
|
}
|
|
10638
10746
|
},
|
|
@@ -10861,12 +10969,6 @@
|
|
|
10861
10969
|
"propertyRequired": [
|
|
10862
10970
|
"message"
|
|
10863
10971
|
]
|
|
10864
|
-
},
|
|
10865
|
-
"entity": {
|
|
10866
|
-
"types": [
|
|
10867
|
-
"string"
|
|
10868
|
-
],
|
|
10869
|
-
"description": "Entity name for schema-driven auto-fetch"
|
|
10870
10972
|
}
|
|
10871
10973
|
}
|
|
10872
10974
|
},
|
|
@@ -13642,12 +13744,6 @@
|
|
|
13642
13744
|
]
|
|
13643
13745
|
}
|
|
13644
13746
|
},
|
|
13645
|
-
"entity": {
|
|
13646
|
-
"types": [
|
|
13647
|
-
"string"
|
|
13648
|
-
],
|
|
13649
|
-
"description": "Entity name for schema-driven auto-fetch"
|
|
13650
|
-
},
|
|
13651
13747
|
"isLoading": {
|
|
13652
13748
|
"types": [
|
|
13653
13749
|
"boolean"
|
|
@@ -14116,6 +14212,11 @@
|
|
|
14116
14212
|
"types": [
|
|
14117
14213
|
"number"
|
|
14118
14214
|
]
|
|
14215
|
+
},
|
|
14216
|
+
"modelUrl": {
|
|
14217
|
+
"types": [
|
|
14218
|
+
"asset"
|
|
14219
|
+
]
|
|
14119
14220
|
}
|
|
14120
14221
|
},
|
|
14121
14222
|
"required": [
|
|
@@ -14468,6 +14569,11 @@
|
|
|
14468
14569
|
"types": [
|
|
14469
14570
|
"number"
|
|
14470
14571
|
]
|
|
14572
|
+
},
|
|
14573
|
+
"modelUrl": {
|
|
14574
|
+
"types": [
|
|
14575
|
+
"asset"
|
|
14576
|
+
]
|
|
14471
14577
|
}
|
|
14472
14578
|
},
|
|
14473
14579
|
"required": [
|
|
@@ -14841,6 +14947,11 @@
|
|
|
14841
14947
|
"types": [
|
|
14842
14948
|
"number"
|
|
14843
14949
|
]
|
|
14950
|
+
},
|
|
14951
|
+
"modelUrl": {
|
|
14952
|
+
"types": [
|
|
14953
|
+
"asset"
|
|
14954
|
+
]
|
|
14844
14955
|
}
|
|
14845
14956
|
},
|
|
14846
14957
|
"required": [
|
|
@@ -30359,6 +30470,11 @@
|
|
|
30359
30470
|
"types": [
|
|
30360
30471
|
"number"
|
|
30361
30472
|
]
|
|
30473
|
+
},
|
|
30474
|
+
"modelUrl": {
|
|
30475
|
+
"types": [
|
|
30476
|
+
"asset"
|
|
30477
|
+
]
|
|
30362
30478
|
}
|
|
30363
30479
|
},
|
|
30364
30480
|
"required": [
|
|
@@ -32564,6 +32680,11 @@
|
|
|
32564
32680
|
"types": [
|
|
32565
32681
|
"number"
|
|
32566
32682
|
]
|
|
32683
|
+
},
|
|
32684
|
+
"modelUrl": {
|
|
32685
|
+
"types": [
|
|
32686
|
+
"asset"
|
|
32687
|
+
]
|
|
32567
32688
|
}
|
|
32568
32689
|
},
|
|
32569
32690
|
"required": [
|
|
@@ -34258,6 +34379,11 @@
|
|
|
34258
34379
|
"types": [
|
|
34259
34380
|
"number"
|
|
34260
34381
|
]
|
|
34382
|
+
},
|
|
34383
|
+
"modelUrl": {
|
|
34384
|
+
"types": [
|
|
34385
|
+
"asset"
|
|
34386
|
+
]
|
|
34261
34387
|
}
|
|
34262
34388
|
},
|
|
34263
34389
|
"required": [
|
|
@@ -36724,7 +36850,8 @@
|
|
|
36724
36850
|
"types": [
|
|
36725
36851
|
"asset"
|
|
36726
36852
|
],
|
|
36727
|
-
"description": "Optional tooltip frame image URL"
|
|
36853
|
+
"description": "Optional tooltip frame image URL",
|
|
36854
|
+
"default": ""
|
|
36728
36855
|
},
|
|
36729
36856
|
"className": {
|
|
36730
36857
|
"types": [
|
|
@@ -37399,6 +37526,11 @@
|
|
|
37399
37526
|
"types": [
|
|
37400
37527
|
"number"
|
|
37401
37528
|
]
|
|
37529
|
+
},
|
|
37530
|
+
"modelUrl": {
|
|
37531
|
+
"types": [
|
|
37532
|
+
"asset"
|
|
37533
|
+
]
|
|
37402
37534
|
}
|
|
37403
37535
|
},
|
|
37404
37536
|
"required": [
|
|
@@ -37784,6 +37916,11 @@
|
|
|
37784
37916
|
"types": [
|
|
37785
37917
|
"number"
|
|
37786
37918
|
]
|
|
37919
|
+
},
|
|
37920
|
+
"modelUrl": {
|
|
37921
|
+
"types": [
|
|
37922
|
+
"asset"
|
|
37923
|
+
]
|
|
37787
37924
|
}
|
|
37788
37925
|
},
|
|
37789
37926
|
"required": [
|
|
@@ -43779,6 +43916,11 @@
|
|
|
43779
43916
|
"types": [
|
|
43780
43917
|
"number"
|
|
43781
43918
|
]
|
|
43919
|
+
},
|
|
43920
|
+
"modelUrl": {
|
|
43921
|
+
"types": [
|
|
43922
|
+
"asset"
|
|
43923
|
+
]
|
|
43782
43924
|
}
|
|
43783
43925
|
},
|
|
43784
43926
|
"required": [
|
|
@@ -44233,6 +44375,11 @@
|
|
|
44233
44375
|
"types": [
|
|
44234
44376
|
"number"
|
|
44235
44377
|
]
|
|
44378
|
+
},
|
|
44379
|
+
"modelUrl": {
|
|
44380
|
+
"types": [
|
|
44381
|
+
"asset"
|
|
44382
|
+
]
|
|
44236
44383
|
}
|
|
44237
44384
|
},
|
|
44238
44385
|
"required": [
|
|
@@ -44594,6 +44741,11 @@
|
|
|
44594
44741
|
"types": [
|
|
44595
44742
|
"number"
|
|
44596
44743
|
]
|
|
44744
|
+
},
|
|
44745
|
+
"modelUrl": {
|
|
44746
|
+
"types": [
|
|
44747
|
+
"asset"
|
|
44748
|
+
]
|
|
44597
44749
|
}
|
|
44598
44750
|
},
|
|
44599
44751
|
"required": [
|
|
@@ -44630,25 +44782,29 @@
|
|
|
44630
44782
|
"types": [
|
|
44631
44783
|
"object"
|
|
44632
44784
|
],
|
|
44633
|
-
"description": "Asset loader instance (uses global singleton if not provided)"
|
|
44785
|
+
"description": "Asset loader instance (uses global singleton if not provided)",
|
|
44786
|
+
"nonAuthorable": true
|
|
44634
44787
|
},
|
|
44635
44788
|
"tileRenderer": {
|
|
44636
44789
|
"types": [
|
|
44637
44790
|
"object"
|
|
44638
44791
|
],
|
|
44639
|
-
"description": "Custom tile renderer component"
|
|
44792
|
+
"description": "Custom tile renderer component",
|
|
44793
|
+
"nonAuthorable": true
|
|
44640
44794
|
},
|
|
44641
44795
|
"unitRenderer": {
|
|
44642
44796
|
"types": [
|
|
44643
44797
|
"object"
|
|
44644
44798
|
],
|
|
44645
|
-
"description": "Custom unit renderer component"
|
|
44799
|
+
"description": "Custom unit renderer component",
|
|
44800
|
+
"nonAuthorable": true
|
|
44646
44801
|
},
|
|
44647
44802
|
"featureRenderer": {
|
|
44648
44803
|
"types": [
|
|
44649
44804
|
"object"
|
|
44650
44805
|
],
|
|
44651
|
-
"description": "Custom feature renderer component"
|
|
44806
|
+
"description": "Custom feature renderer component",
|
|
44807
|
+
"nonAuthorable": true
|
|
44652
44808
|
},
|
|
44653
44809
|
"preloadAssets": {
|
|
44654
44810
|
"types": [
|