@almadar/patterns 2.28.0 → 2.28.2
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 +1 -1
- package/dist/index.d.ts +60 -2
- package/dist/index.js +63 -7
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +61 -5
- package/dist/registry.json +61 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -768,6 +768,10 @@ export declare const registry: {
|
|
|
768
768
|
types: string[];
|
|
769
769
|
description: string;
|
|
770
770
|
};
|
|
771
|
+
showSubmit: {
|
|
772
|
+
types: string[];
|
|
773
|
+
description: string;
|
|
774
|
+
};
|
|
771
775
|
title: {
|
|
772
776
|
types: string[];
|
|
773
777
|
description: string;
|
|
@@ -1007,6 +1011,10 @@ export declare const registry: {
|
|
|
1007
1011
|
types: string[];
|
|
1008
1012
|
description: string;
|
|
1009
1013
|
};
|
|
1014
|
+
showSubmit: {
|
|
1015
|
+
types: string[];
|
|
1016
|
+
description: string;
|
|
1017
|
+
};
|
|
1010
1018
|
title: {
|
|
1011
1019
|
types: string[];
|
|
1012
1020
|
description: string;
|
|
@@ -1485,7 +1493,6 @@ export declare const registry: {
|
|
|
1485
1493
|
steps: {
|
|
1486
1494
|
types: string[];
|
|
1487
1495
|
description: string;
|
|
1488
|
-
required: boolean;
|
|
1489
1496
|
items: {
|
|
1490
1497
|
types: string[];
|
|
1491
1498
|
};
|
|
@@ -1576,14 +1583,32 @@ export declare const registry: {
|
|
|
1576
1583
|
onBack: {
|
|
1577
1584
|
types: string[];
|
|
1578
1585
|
description: string;
|
|
1586
|
+
kind: string;
|
|
1587
|
+
emitPayloadSchema: {
|
|
1588
|
+
name: string;
|
|
1589
|
+
type: string;
|
|
1590
|
+
required: boolean;
|
|
1591
|
+
}[];
|
|
1579
1592
|
};
|
|
1580
1593
|
onNext: {
|
|
1581
1594
|
types: string[];
|
|
1582
1595
|
description: string;
|
|
1596
|
+
kind: string;
|
|
1597
|
+
emitPayloadSchema: {
|
|
1598
|
+
name: string;
|
|
1599
|
+
type: string;
|
|
1600
|
+
required: boolean;
|
|
1601
|
+
}[];
|
|
1583
1602
|
};
|
|
1584
1603
|
onComplete: {
|
|
1585
1604
|
types: string[];
|
|
1586
1605
|
description: string;
|
|
1606
|
+
kind: string;
|
|
1607
|
+
emitPayloadSchema: {
|
|
1608
|
+
name: string;
|
|
1609
|
+
type: string;
|
|
1610
|
+
required: boolean;
|
|
1611
|
+
}[];
|
|
1587
1612
|
};
|
|
1588
1613
|
onBackClick: {
|
|
1589
1614
|
types: string[];
|
|
@@ -2878,6 +2903,10 @@ export declare const registry: {
|
|
|
2878
2903
|
types: string[];
|
|
2879
2904
|
description: string;
|
|
2880
2905
|
};
|
|
2906
|
+
disabled: {
|
|
2907
|
+
types: string[];
|
|
2908
|
+
description: string;
|
|
2909
|
+
};
|
|
2881
2910
|
};
|
|
2882
2911
|
};
|
|
2883
2912
|
badge: {
|
|
@@ -18993,6 +19022,10 @@ export declare const PATTERN_REGISTRY: {
|
|
|
18993
19022
|
types: string[];
|
|
18994
19023
|
description: string;
|
|
18995
19024
|
};
|
|
19025
|
+
showSubmit: {
|
|
19026
|
+
types: string[];
|
|
19027
|
+
description: string;
|
|
19028
|
+
};
|
|
18996
19029
|
title: {
|
|
18997
19030
|
types: string[];
|
|
18998
19031
|
description: string;
|
|
@@ -19232,6 +19265,10 @@ export declare const PATTERN_REGISTRY: {
|
|
|
19232
19265
|
types: string[];
|
|
19233
19266
|
description: string;
|
|
19234
19267
|
};
|
|
19268
|
+
showSubmit: {
|
|
19269
|
+
types: string[];
|
|
19270
|
+
description: string;
|
|
19271
|
+
};
|
|
19235
19272
|
title: {
|
|
19236
19273
|
types: string[];
|
|
19237
19274
|
description: string;
|
|
@@ -19710,7 +19747,6 @@ export declare const PATTERN_REGISTRY: {
|
|
|
19710
19747
|
steps: {
|
|
19711
19748
|
types: string[];
|
|
19712
19749
|
description: string;
|
|
19713
|
-
required: boolean;
|
|
19714
19750
|
items: {
|
|
19715
19751
|
types: string[];
|
|
19716
19752
|
};
|
|
@@ -19801,14 +19837,32 @@ export declare const PATTERN_REGISTRY: {
|
|
|
19801
19837
|
onBack: {
|
|
19802
19838
|
types: string[];
|
|
19803
19839
|
description: string;
|
|
19840
|
+
kind: string;
|
|
19841
|
+
emitPayloadSchema: {
|
|
19842
|
+
name: string;
|
|
19843
|
+
type: string;
|
|
19844
|
+
required: boolean;
|
|
19845
|
+
}[];
|
|
19804
19846
|
};
|
|
19805
19847
|
onNext: {
|
|
19806
19848
|
types: string[];
|
|
19807
19849
|
description: string;
|
|
19850
|
+
kind: string;
|
|
19851
|
+
emitPayloadSchema: {
|
|
19852
|
+
name: string;
|
|
19853
|
+
type: string;
|
|
19854
|
+
required: boolean;
|
|
19855
|
+
}[];
|
|
19808
19856
|
};
|
|
19809
19857
|
onComplete: {
|
|
19810
19858
|
types: string[];
|
|
19811
19859
|
description: string;
|
|
19860
|
+
kind: string;
|
|
19861
|
+
emitPayloadSchema: {
|
|
19862
|
+
name: string;
|
|
19863
|
+
type: string;
|
|
19864
|
+
required: boolean;
|
|
19865
|
+
}[];
|
|
19812
19866
|
};
|
|
19813
19867
|
onBackClick: {
|
|
19814
19868
|
types: string[];
|
|
@@ -21103,6 +21157,10 @@ export declare const PATTERN_REGISTRY: {
|
|
|
21103
21157
|
types: string[];
|
|
21104
21158
|
description: string;
|
|
21105
21159
|
};
|
|
21160
|
+
disabled: {
|
|
21161
|
+
types: string[];
|
|
21162
|
+
description: string;
|
|
21163
|
+
};
|
|
21106
21164
|
};
|
|
21107
21165
|
};
|
|
21108
21166
|
badge: {
|
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-05-
|
|
4
|
+
exportedAt: "2026-05-14T15:35:09.962Z",
|
|
5
5
|
patterns: {
|
|
6
6
|
"entity-table": {
|
|
7
7
|
type: "entity-table",
|
|
@@ -1207,6 +1207,12 @@ var patterns_registry_default = {
|
|
|
1207
1207
|
],
|
|
1208
1208
|
description: "Show cancel button (defaults to true for schema forms)"
|
|
1209
1209
|
},
|
|
1210
|
+
showSubmit: {
|
|
1211
|
+
types: [
|
|
1212
|
+
"boolean"
|
|
1213
|
+
],
|
|
1214
|
+
description: "Show submit button (defaults to true for schema forms). Set false when a parent atom owns the submit action externally (e.g. wizard footers)."
|
|
1215
|
+
},
|
|
1210
1216
|
title: {
|
|
1211
1217
|
types: [
|
|
1212
1218
|
"string"
|
|
@@ -1598,6 +1604,12 @@ var patterns_registry_default = {
|
|
|
1598
1604
|
],
|
|
1599
1605
|
description: "Show cancel button (defaults to true for schema forms)"
|
|
1600
1606
|
},
|
|
1607
|
+
showSubmit: {
|
|
1608
|
+
types: [
|
|
1609
|
+
"boolean"
|
|
1610
|
+
],
|
|
1611
|
+
description: "Show submit button (defaults to true for schema forms). Set false when a parent atom owns the submit action externally (e.g. wizard footers)."
|
|
1612
|
+
},
|
|
1601
1613
|
title: {
|
|
1602
1614
|
types: [
|
|
1603
1615
|
"string"
|
|
@@ -2368,7 +2380,6 @@ var patterns_registry_default = {
|
|
|
2368
2380
|
"array"
|
|
2369
2381
|
],
|
|
2370
2382
|
description: "Step definitions (compatible with WizardContainer's WizardStep). A string is shorthand for `{ id: str, title: str }`.",
|
|
2371
|
-
required: true,
|
|
2372
2383
|
items: {
|
|
2373
2384
|
types: [
|
|
2374
2385
|
"object",
|
|
@@ -2500,19 +2511,58 @@ var patterns_registry_default = {
|
|
|
2500
2511
|
types: [
|
|
2501
2512
|
"string"
|
|
2502
2513
|
],
|
|
2503
|
-
description: "Event to emit on Back click"
|
|
2514
|
+
description: "Event to emit on Back click \u2014 emits UI:{onBack} with { currentStep, totalSteps }",
|
|
2515
|
+
kind: "event-ref",
|
|
2516
|
+
emitPayloadSchema: [
|
|
2517
|
+
{
|
|
2518
|
+
name: "currentStep",
|
|
2519
|
+
type: "number",
|
|
2520
|
+
required: true
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
name: "totalSteps",
|
|
2524
|
+
type: "number",
|
|
2525
|
+
required: true
|
|
2526
|
+
}
|
|
2527
|
+
]
|
|
2504
2528
|
},
|
|
2505
2529
|
onNext: {
|
|
2506
2530
|
types: [
|
|
2507
2531
|
"string"
|
|
2508
2532
|
],
|
|
2509
|
-
description: "Event to emit on Next click"
|
|
2533
|
+
description: "Event to emit on Next click \u2014 emits UI:{onNext} with { currentStep, totalSteps }",
|
|
2534
|
+
kind: "event-ref",
|
|
2535
|
+
emitPayloadSchema: [
|
|
2536
|
+
{
|
|
2537
|
+
name: "currentStep",
|
|
2538
|
+
type: "number",
|
|
2539
|
+
required: true
|
|
2540
|
+
},
|
|
2541
|
+
{
|
|
2542
|
+
name: "totalSteps",
|
|
2543
|
+
type: "number",
|
|
2544
|
+
required: true
|
|
2545
|
+
}
|
|
2546
|
+
]
|
|
2510
2547
|
},
|
|
2511
2548
|
onComplete: {
|
|
2512
2549
|
types: [
|
|
2513
2550
|
"string"
|
|
2514
2551
|
],
|
|
2515
|
-
description: "Event to emit on Complete click"
|
|
2552
|
+
description: "Event to emit on Complete click \u2014 emits UI:{onComplete} with { currentStep, totalSteps }",
|
|
2553
|
+
kind: "event-ref",
|
|
2554
|
+
emitPayloadSchema: [
|
|
2555
|
+
{
|
|
2556
|
+
name: "currentStep",
|
|
2557
|
+
type: "number",
|
|
2558
|
+
required: true
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
name: "totalSteps",
|
|
2562
|
+
type: "number",
|
|
2563
|
+
required: true
|
|
2564
|
+
}
|
|
2565
|
+
]
|
|
2516
2566
|
},
|
|
2517
2567
|
onBackClick: {
|
|
2518
2568
|
types: [
|
|
@@ -4665,6 +4715,12 @@ var patterns_registry_default = {
|
|
|
4665
4715
|
"string"
|
|
4666
4716
|
],
|
|
4667
4717
|
description: "Button label text (alternative to children for schema-driven rendering)"
|
|
4718
|
+
},
|
|
4719
|
+
disabled: {
|
|
4720
|
+
types: [
|
|
4721
|
+
"boolean"
|
|
4722
|
+
],
|
|
4723
|
+
description: "Disable the button (greys out, blocks click events)"
|
|
4668
4724
|
}
|
|
4669
4725
|
}
|
|
4670
4726
|
},
|
|
@@ -29998,7 +30054,7 @@ var integrators_registry_default = {
|
|
|
29998
30054
|
// src/component-mapping.json
|
|
29999
30055
|
var component_mapping_default = {
|
|
30000
30056
|
version: "1.0.0",
|
|
30001
|
-
exportedAt: "2026-05-
|
|
30057
|
+
exportedAt: "2026-05-14T15:35:09.962Z",
|
|
30002
30058
|
mappings: {
|
|
30003
30059
|
"page-header": {
|
|
30004
30060
|
component: "PageHeader",
|
|
@@ -31503,7 +31559,7 @@ var component_mapping_default = {
|
|
|
31503
31559
|
// src/event-contracts.json
|
|
31504
31560
|
var event_contracts_default = {
|
|
31505
31561
|
version: "1.0.0",
|
|
31506
|
-
exportedAt: "2026-05-
|
|
31562
|
+
exportedAt: "2026-05-14T15:35:09.962Z",
|
|
31507
31563
|
contracts: {
|
|
31508
31564
|
form: {
|
|
31509
31565
|
emits: [
|