@almadar/std 3.1.2 → 3.1.3
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/behaviors/exports/molecules/std-list.orb +2 -1
- package/behaviors/exports/validation-report.json +18 -0
- package/dist/behaviors/exports/molecules/std-list.orb +2 -1
- package/dist/behaviors/exports/validation-report.json +18 -0
- package/dist/behaviors/functions/index.d.ts +60 -0
- package/dist/behaviors/functions/index.js +6 -6
- package/dist/behaviors/functions/index.js.map +1 -1
- package/dist/behaviors/index.js +6 -6
- package/dist/behaviors/index.js.map +1 -1
- package/dist/exports/molecules/std-list.orb +2 -1
- package/dist/exports/validation-report.json +18 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "std-list",
|
|
4
|
+
"errors": 0,
|
|
5
|
+
"warnings": 1,
|
|
6
|
+
"output": [
|
|
7
|
+
"Loaded 22 services from packages/almadar-patterns/src/services-registry.json",
|
|
8
|
+
"Validating schema: /home/osamah/kflow.ai.builder/packages/almadar-std/behaviors/exports/molecules/std-list.orb",
|
|
9
|
+
"Schema validation warnings:",
|
|
10
|
+
" ⚠️ [CIRCUIT_MODAL_EXIT_INCOMPLETE] orbitals[0].traits[0].transitions[Single(\"deleting\")->CONFIRM_DELETE->browsing]: Transition Single(\"deleting\")--[CONFIRM_DELETE]-->browsing closes modal but doesn't re-render main slot. Main view will show stale content.",
|
|
11
|
+
" 💡 Add render-ui(\"main\", {...}) alongside render-ui(\"modal\", null) to refresh the main view after closing the modal",
|
|
12
|
+
" ⚠️ [CIRCUIT_MODAL_EXIT_INCOMPLETE] orbitals[0].traits[0].transitions[Single(\"deleting\")->CANCEL->browsing]: Transition Single(\"deleting\")--[CANCEL]-->browsing closes modal but doesn't re-render main slot. Main view will show stale content.",
|
|
13
|
+
" 💡 Add render-ui(\"main\", {...}) alongside render-ui(\"modal\", null) to refresh the main view after closing the modal",
|
|
14
|
+
" ⚠️ [CIRCUIT_MODAL_EXIT_INCOMPLETE] orbitals[0].traits[0].transitions[Single(\"deleting\")->CLOSE->browsing]: Transition Single(\"deleting\")--[CLOSE]-->browsing closes modal but doesn't re-render main slot. Main view will show stale content.",
|
|
15
|
+
" 💡 Add render-ui(\"main\", {...}) alongside render-ui(\"modal\", null) to refresh the main view after closing the modal"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "std-list",
|
|
4
|
+
"errors": 0,
|
|
5
|
+
"warnings": 1,
|
|
6
|
+
"output": [
|
|
7
|
+
"Loaded 22 services from packages/almadar-patterns/src/services-registry.json",
|
|
8
|
+
"Validating schema: /home/osamah/kflow.ai.builder/packages/almadar-std/behaviors/exports/molecules/std-list.orb",
|
|
9
|
+
"Schema validation warnings:",
|
|
10
|
+
" ⚠️ [CIRCUIT_MODAL_EXIT_INCOMPLETE] orbitals[0].traits[0].transitions[Single(\"deleting\")->CONFIRM_DELETE->browsing]: Transition Single(\"deleting\")--[CONFIRM_DELETE]-->browsing closes modal but doesn't re-render main slot. Main view will show stale content.",
|
|
11
|
+
" 💡 Add render-ui(\"main\", {...}) alongside render-ui(\"modal\", null) to refresh the main view after closing the modal",
|
|
12
|
+
" ⚠️ [CIRCUIT_MODAL_EXIT_INCOMPLETE] orbitals[0].traits[0].transitions[Single(\"deleting\")->CANCEL->browsing]: Transition Single(\"deleting\")--[CANCEL]-->browsing closes modal but doesn't re-render main slot. Main view will show stale content.",
|
|
13
|
+
" 💡 Add render-ui(\"main\", {...}) alongside render-ui(\"modal\", null) to refresh the main view after closing the modal",
|
|
14
|
+
" ⚠️ [CIRCUIT_MODAL_EXIT_INCOMPLETE] orbitals[0].traits[0].transitions[Single(\"deleting\")->CLOSE->browsing]: Transition Single(\"deleting\")--[CLOSE]-->browsing closes modal but doesn't re-render main slot. Main view will show stale content.",
|
|
15
|
+
" 💡 Add render-ui(\"main\", {...}) alongside render-ui(\"modal\", null) to refresh the main view after closing the modal"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
]
|
|
@@ -40,8 +40,26 @@ interface StdBrowseParams {
|
|
|
40
40
|
pagePath?: string;
|
|
41
41
|
isInitial?: boolean;
|
|
42
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* Build the browse entity.
|
|
45
|
+
*
|
|
46
|
+
* @param {StdBrowseParams} params - Browse configuration parameters
|
|
47
|
+
* @returns {Entity} The configured browse entity
|
|
48
|
+
*/
|
|
43
49
|
declare function stdBrowseEntity(params: StdBrowseParams): Entity;
|
|
50
|
+
/**
|
|
51
|
+
* Build the browse trait.
|
|
52
|
+
*
|
|
53
|
+
* @param {StdBrowseParams} params - Browse configuration parameters
|
|
54
|
+
* @returns {Trait} The configured browse trait
|
|
55
|
+
*/
|
|
44
56
|
declare function stdBrowseTrait(params: StdBrowseParams): Trait;
|
|
57
|
+
/**
|
|
58
|
+
* Build the browse page.
|
|
59
|
+
*
|
|
60
|
+
* @param {StdBrowseParams} params - Browse configuration parameters
|
|
61
|
+
* @returns {Page} The configured browse page
|
|
62
|
+
*/
|
|
45
63
|
declare function stdBrowsePage(params: StdBrowseParams): Page;
|
|
46
64
|
declare function stdBrowse(params: StdBrowseParams): OrbitalDefinition;
|
|
47
65
|
|
|
@@ -496,8 +514,26 @@ interface StdUndoParams {
|
|
|
496
514
|
pagePath?: string;
|
|
497
515
|
isInitial?: boolean;
|
|
498
516
|
}
|
|
517
|
+
/**
|
|
518
|
+
* Build the undo entity.
|
|
519
|
+
*
|
|
520
|
+
* @param {StdUndoParams} params - Undo configuration parameters
|
|
521
|
+
* @returns {Entity} The configured undo entity
|
|
522
|
+
*/
|
|
499
523
|
declare function stdUndoEntity(params: StdUndoParams): Entity;
|
|
524
|
+
/**
|
|
525
|
+
* Build the undo trait.
|
|
526
|
+
*
|
|
527
|
+
* @param {StdUndoParams} params - Undo configuration parameters
|
|
528
|
+
* @returns {Trait} The configured undo trait
|
|
529
|
+
*/
|
|
500
530
|
declare function stdUndoTrait(params: StdUndoParams): Trait;
|
|
531
|
+
/**
|
|
532
|
+
* Build the undo page.
|
|
533
|
+
*
|
|
534
|
+
* @param {StdUndoParams} params - Undo configuration parameters
|
|
535
|
+
* @returns {Page} The configured undo page
|
|
536
|
+
*/
|
|
501
537
|
declare function stdUndoPage(params: StdUndoParams): Page;
|
|
502
538
|
declare function stdUndo(params: StdUndoParams): OrbitalDefinition;
|
|
503
539
|
|
|
@@ -616,6 +652,12 @@ interface StdDisplayParams {
|
|
|
616
652
|
isInitial?: boolean;
|
|
617
653
|
}
|
|
618
654
|
declare function stdDisplayEntity(params: StdDisplayParams): Entity;
|
|
655
|
+
/**
|
|
656
|
+
* Build the display trait.
|
|
657
|
+
*
|
|
658
|
+
* @param {StdDisplayParams} params - Display configuration parameters
|
|
659
|
+
* @returns {Trait} The configured display trait
|
|
660
|
+
*/
|
|
619
661
|
declare function stdDisplayTrait(params: StdDisplayParams): Trait;
|
|
620
662
|
declare function stdDisplayPage(params: StdDisplayParams): Page;
|
|
621
663
|
declare function stdDisplay(params: StdDisplayParams): OrbitalDefinition;
|
|
@@ -1061,8 +1103,26 @@ interface StdScoreBoardParams {
|
|
|
1061
1103
|
pagePath?: string;
|
|
1062
1104
|
isInitial?: boolean;
|
|
1063
1105
|
}
|
|
1106
|
+
/**
|
|
1107
|
+
* Build the score board entity.
|
|
1108
|
+
*
|
|
1109
|
+
* @param {StdScoreBoardParams} params - Score board configuration parameters
|
|
1110
|
+
* @returns {Entity} The configured score board entity
|
|
1111
|
+
*/
|
|
1064
1112
|
declare function stdScoreBoardEntity(params: StdScoreBoardParams): Entity;
|
|
1113
|
+
/**
|
|
1114
|
+
* Build the score board trait.
|
|
1115
|
+
*
|
|
1116
|
+
* @param {StdScoreBoardParams} params - Score board configuration parameters
|
|
1117
|
+
* @returns {Trait} The configured score board trait
|
|
1118
|
+
*/
|
|
1065
1119
|
declare function stdScoreBoardTrait(params: StdScoreBoardParams): Trait;
|
|
1120
|
+
/**
|
|
1121
|
+
* Build the score board page.
|
|
1122
|
+
*
|
|
1123
|
+
* @param {StdScoreBoardParams} params - Score board configuration parameters
|
|
1124
|
+
* @returns {Page} The configured score board page
|
|
1125
|
+
*/
|
|
1066
1126
|
declare function stdScoreBoardPage(params: StdScoreBoardParams): Page;
|
|
1067
1127
|
declare function stdScoreBoard(params: StdScoreBoardParams): OrbitalDefinition;
|
|
1068
1128
|
|
|
@@ -6853,7 +6853,7 @@ function resolve44(params) {
|
|
|
6853
6853
|
listFields: params.listFields ?? nonIdFields.slice(0, 3).map((f) => f.name),
|
|
6854
6854
|
detailFields: params.detailFields ?? nonIdFields.map((f) => f.name),
|
|
6855
6855
|
formFields: params.formFields ?? nonIdFields.map((f) => f.name),
|
|
6856
|
-
persistence: params.persistence ?? "
|
|
6856
|
+
persistence: params.persistence ?? "persistent",
|
|
6857
6857
|
collection: params.collection,
|
|
6858
6858
|
pageTitle: params.pageTitle ?? p,
|
|
6859
6859
|
createButtonLabel: params.createButtonLabel ?? `Create ${entityName}`,
|
|
@@ -7067,7 +7067,7 @@ function resolve45(params) {
|
|
|
7067
7067
|
nonIdFields,
|
|
7068
7068
|
listFields: params.listFields ?? nonIdFields.slice(0, 3).map((f) => f.name),
|
|
7069
7069
|
formFields: params.formFields ?? nonIdFields.map((f) => f.name),
|
|
7070
|
-
persistence: params.persistence ?? "
|
|
7070
|
+
persistence: params.persistence ?? "persistent",
|
|
7071
7071
|
collection: params.collection,
|
|
7072
7072
|
pageTitle: params.pageTitle ?? "Shopping Cart",
|
|
7073
7073
|
addButtonLabel: params.addButtonLabel ?? "Add Item",
|
|
@@ -7262,7 +7262,7 @@ function resolve46(params) {
|
|
|
7262
7262
|
listFields: params.listFields ?? nonIdFields.slice(0, 3).map((f) => f.name),
|
|
7263
7263
|
detailFields: params.detailFields ?? nonIdFields.map((f) => f.name),
|
|
7264
7264
|
formFields: params.formFields ?? nonIdFields.map((f) => f.name),
|
|
7265
|
-
persistence: params.persistence ?? "
|
|
7265
|
+
persistence: params.persistence ?? "persistent",
|
|
7266
7266
|
collection: params.collection,
|
|
7267
7267
|
pageTitle: params.pageTitle ?? p,
|
|
7268
7268
|
createButtonLabel: params.createButtonLabel ?? `Create ${entityName}`,
|
|
@@ -7401,7 +7401,7 @@ function resolve47(params) {
|
|
|
7401
7401
|
nonIdFields,
|
|
7402
7402
|
listFields: params.listFields ?? nonIdFields.slice(0, 3).map((f) => f.name),
|
|
7403
7403
|
formFields: params.formFields ?? nonIdFields.map((f) => f.name),
|
|
7404
|
-
persistence: params.persistence ?? "
|
|
7404
|
+
persistence: params.persistence ?? "persistent",
|
|
7405
7405
|
collection: params.collection,
|
|
7406
7406
|
pageTitle: params.pageTitle ?? `${p} Inventory`,
|
|
7407
7407
|
addLabel: params.addLabel ?? `Add ${entityName}`,
|
|
@@ -7570,7 +7570,7 @@ function resolve48(params) {
|
|
|
7570
7570
|
listFields: params.listFields ?? nonIdFields.slice(0, 3).map((f) => f.name),
|
|
7571
7571
|
formFields: params.formFields ?? nonIdFields.map((f) => f.name),
|
|
7572
7572
|
detailFields: params.detailFields ?? nonIdFields.map((f) => f.name),
|
|
7573
|
-
persistence: params.persistence ?? "
|
|
7573
|
+
persistence: params.persistence ?? "persistent",
|
|
7574
7574
|
collection: params.collection,
|
|
7575
7575
|
pageTitle: params.pageTitle ?? p,
|
|
7576
7576
|
composerTitle: params.composerTitle ?? `New ${entityName}`,
|
|
@@ -7719,7 +7719,7 @@ function resolve49(params) {
|
|
|
7719
7719
|
nonIdFields,
|
|
7720
7720
|
listFields: params.listFields ?? nonIdFields.slice(0, 3).map((f) => f.name),
|
|
7721
7721
|
detailFields: params.detailFields ?? nonIdFields.map((f) => f.name),
|
|
7722
|
-
persistence: params.persistence ?? "
|
|
7722
|
+
persistence: params.persistence ?? "persistent",
|
|
7723
7723
|
collection: params.collection,
|
|
7724
7724
|
pageTitle: params.pageTitle ?? `${p} Picker`,
|
|
7725
7725
|
selectLabel: params.selectLabel ?? `Select ${entityName}`,
|