@genesislcap/foundation-forms 14.488.0 → 14.488.1-FUI-2571.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.
Files changed (37) hide show
  1. package/dist/custom-elements.json +630 -2
  2. package/dist/dts/form.d.ts +77 -0
  3. package/dist/dts/form.d.ts.map +1 -1
  4. package/dist/dts/form.styles.d.ts.map +1 -1
  5. package/dist/dts/form.template.d.ts.map +1 -1
  6. package/dist/dts/index.d.ts +3 -0
  7. package/dist/dts/index.d.ts.map +1 -1
  8. package/dist/dts/jsonforms/renderers/CategorizationWrapperRenderer.d.ts.map +1 -1
  9. package/dist/dts/react.d.ts +10 -0
  10. package/dist/dts/review.d.ts +34 -0
  11. package/dist/dts/review.d.ts.map +1 -0
  12. package/dist/dts/review.styles.d.ts +3 -0
  13. package/dist/dts/review.styles.d.ts.map +1 -0
  14. package/dist/dts/review.template.d.ts +6 -0
  15. package/dist/dts/review.template.d.ts.map +1 -0
  16. package/dist/dts/utils/index.d.ts +1 -0
  17. package/dist/dts/utils/index.d.ts.map +1 -1
  18. package/dist/dts/utils/review-utils.d.ts +55 -0
  19. package/dist/dts/utils/review-utils.d.ts.map +1 -0
  20. package/dist/dts/utils/schema-utils.d.ts +12 -0
  21. package/dist/dts/utils/schema-utils.d.ts.map +1 -1
  22. package/dist/esm/form.js +120 -1
  23. package/dist/esm/form.styles.js +9 -2
  24. package/dist/esm/form.template.js +58 -24
  25. package/dist/esm/index.js +3 -0
  26. package/dist/esm/jsonforms/renderers/CategorizationWrapperRenderer.js +1 -45
  27. package/dist/esm/review.js +63 -0
  28. package/dist/esm/review.styles.js +93 -0
  29. package/dist/esm/review.template.js +38 -0
  30. package/dist/esm/utils/index.js +1 -0
  31. package/dist/esm/utils/review-utils.js +205 -0
  32. package/dist/esm/utils/schema-utils.js +48 -0
  33. package/dist/foundation-forms.api.json +1044 -13
  34. package/dist/foundation-forms.d.ts +181 -0
  35. package/dist/react.cjs +7 -0
  36. package/dist/react.mjs +6 -0
  37. package/package.json +15 -15
@@ -216,6 +216,180 @@
216
216
  "endIndex": 6
217
217
  }
218
218
  },
219
+ {
220
+ "kind": "Function",
221
+ "canonicalReference": "@genesislcap/foundation-forms!buildReviewFields:function(1)",
222
+ "docComment": "/**\n * Flattens `buildReviewSections` output into a single ordered list. Section titles are prepended to field labels as \"Title — Field\".\n */\n",
223
+ "excerptTokens": [
224
+ {
225
+ "kind": "Content",
226
+ "text": "export declare function buildReviewFields(data: "
227
+ },
228
+ {
229
+ "kind": "Reference",
230
+ "text": "Record",
231
+ "canonicalReference": "!Record:type"
232
+ },
233
+ {
234
+ "kind": "Content",
235
+ "text": "<string, any>"
236
+ },
237
+ {
238
+ "kind": "Content",
239
+ "text": ", uiSchema: "
240
+ },
241
+ {
242
+ "kind": "Content",
243
+ "text": "any"
244
+ },
245
+ {
246
+ "kind": "Content",
247
+ "text": ", schema: "
248
+ },
249
+ {
250
+ "kind": "Content",
251
+ "text": "any"
252
+ },
253
+ {
254
+ "kind": "Content",
255
+ "text": "): "
256
+ },
257
+ {
258
+ "kind": "Reference",
259
+ "text": "ReviewField",
260
+ "canonicalReference": "@genesislcap/foundation-forms!ReviewField:type"
261
+ },
262
+ {
263
+ "kind": "Content",
264
+ "text": "[]"
265
+ },
266
+ {
267
+ "kind": "Content",
268
+ "text": ";"
269
+ }
270
+ ],
271
+ "fileUrlPath": "src/utils/review-utils.ts",
272
+ "returnTypeTokenRange": {
273
+ "startIndex": 8,
274
+ "endIndex": 10
275
+ },
276
+ "releaseTag": "Public",
277
+ "overloadIndex": 1,
278
+ "parameters": [
279
+ {
280
+ "parameterName": "data",
281
+ "parameterTypeTokenRange": {
282
+ "startIndex": 1,
283
+ "endIndex": 3
284
+ },
285
+ "isOptional": false
286
+ },
287
+ {
288
+ "parameterName": "uiSchema",
289
+ "parameterTypeTokenRange": {
290
+ "startIndex": 4,
291
+ "endIndex": 5
292
+ },
293
+ "isOptional": false
294
+ },
295
+ {
296
+ "parameterName": "schema",
297
+ "parameterTypeTokenRange": {
298
+ "startIndex": 6,
299
+ "endIndex": 7
300
+ },
301
+ "isOptional": false
302
+ }
303
+ ],
304
+ "name": "buildReviewFields"
305
+ },
306
+ {
307
+ "kind": "Function",
308
+ "canonicalReference": "@genesislcap/foundation-forms!buildReviewSections:function(1)",
309
+ "docComment": "/**\n * Builds the review panel's fields grouped into sections by their nearest `Group` layout. Ungrouped fields are collected into a single section with a `null` title (rendered with a placeholder heading). Falls back to a flat, single ungrouped section when no UI schema is available.\n */\n",
310
+ "excerptTokens": [
311
+ {
312
+ "kind": "Content",
313
+ "text": "export declare function buildReviewSections(data: "
314
+ },
315
+ {
316
+ "kind": "Reference",
317
+ "text": "Record",
318
+ "canonicalReference": "!Record:type"
319
+ },
320
+ {
321
+ "kind": "Content",
322
+ "text": "<string, any>"
323
+ },
324
+ {
325
+ "kind": "Content",
326
+ "text": ", uiSchema: "
327
+ },
328
+ {
329
+ "kind": "Content",
330
+ "text": "any"
331
+ },
332
+ {
333
+ "kind": "Content",
334
+ "text": ", schema: "
335
+ },
336
+ {
337
+ "kind": "Content",
338
+ "text": "any"
339
+ },
340
+ {
341
+ "kind": "Content",
342
+ "text": "): "
343
+ },
344
+ {
345
+ "kind": "Reference",
346
+ "text": "ReviewSection",
347
+ "canonicalReference": "@genesislcap/foundation-forms!ReviewSection:type"
348
+ },
349
+ {
350
+ "kind": "Content",
351
+ "text": "[]"
352
+ },
353
+ {
354
+ "kind": "Content",
355
+ "text": ";"
356
+ }
357
+ ],
358
+ "fileUrlPath": "src/utils/review-utils.ts",
359
+ "returnTypeTokenRange": {
360
+ "startIndex": 8,
361
+ "endIndex": 10
362
+ },
363
+ "releaseTag": "Public",
364
+ "overloadIndex": 1,
365
+ "parameters": [
366
+ {
367
+ "parameterName": "data",
368
+ "parameterTypeTokenRange": {
369
+ "startIndex": 1,
370
+ "endIndex": 3
371
+ },
372
+ "isOptional": false
373
+ },
374
+ {
375
+ "parameterName": "uiSchema",
376
+ "parameterTypeTokenRange": {
377
+ "startIndex": 4,
378
+ "endIndex": 5
379
+ },
380
+ "isOptional": false
381
+ },
382
+ {
383
+ "parameterName": "schema",
384
+ "parameterTypeTokenRange": {
385
+ "startIndex": 6,
386
+ "endIndex": 7
387
+ },
388
+ "isOptional": false
389
+ }
390
+ ],
391
+ "name": "buildReviewSections"
392
+ },
219
393
  {
220
394
  "kind": "TypeAlias",
221
395
  "canonicalReference": "@genesislcap/foundation-forms!BulkRowStatus:type",
@@ -518,6 +692,120 @@
518
692
  "endIndex": 3
519
693
  }
520
694
  },
695
+ {
696
+ "kind": "Function",
697
+ "canonicalReference": "@genesislcap/foundation-forms!collectReviewFields:function(1)",
698
+ "docComment": "/**\n * Recursively walks a UI schema element, collecting visible Control fields into `out`. Passes the nearest Group label down so children are labelled \"Group — Field\".\n */\n",
699
+ "excerptTokens": [
700
+ {
701
+ "kind": "Content",
702
+ "text": "export declare function collectReviewFields(element: "
703
+ },
704
+ {
705
+ "kind": "Content",
706
+ "text": "any"
707
+ },
708
+ {
709
+ "kind": "Content",
710
+ "text": ", data: "
711
+ },
712
+ {
713
+ "kind": "Content",
714
+ "text": "any"
715
+ },
716
+ {
717
+ "kind": "Content",
718
+ "text": ", out: "
719
+ },
720
+ {
721
+ "kind": "Reference",
722
+ "text": "ReviewField",
723
+ "canonicalReference": "@genesislcap/foundation-forms!ReviewField:type"
724
+ },
725
+ {
726
+ "kind": "Content",
727
+ "text": "[]"
728
+ },
729
+ {
730
+ "kind": "Content",
731
+ "text": ", groupLabel: "
732
+ },
733
+ {
734
+ "kind": "Content",
735
+ "text": "string | undefined"
736
+ },
737
+ {
738
+ "kind": "Content",
739
+ "text": ", schema: "
740
+ },
741
+ {
742
+ "kind": "Content",
743
+ "text": "any"
744
+ },
745
+ {
746
+ "kind": "Content",
747
+ "text": "): "
748
+ },
749
+ {
750
+ "kind": "Content",
751
+ "text": "void"
752
+ },
753
+ {
754
+ "kind": "Content",
755
+ "text": ";"
756
+ }
757
+ ],
758
+ "fileUrlPath": "src/utils/review-utils.ts",
759
+ "returnTypeTokenRange": {
760
+ "startIndex": 12,
761
+ "endIndex": 13
762
+ },
763
+ "releaseTag": "Public",
764
+ "overloadIndex": 1,
765
+ "parameters": [
766
+ {
767
+ "parameterName": "element",
768
+ "parameterTypeTokenRange": {
769
+ "startIndex": 1,
770
+ "endIndex": 2
771
+ },
772
+ "isOptional": false
773
+ },
774
+ {
775
+ "parameterName": "data",
776
+ "parameterTypeTokenRange": {
777
+ "startIndex": 3,
778
+ "endIndex": 4
779
+ },
780
+ "isOptional": false
781
+ },
782
+ {
783
+ "parameterName": "out",
784
+ "parameterTypeTokenRange": {
785
+ "startIndex": 5,
786
+ "endIndex": 7
787
+ },
788
+ "isOptional": false
789
+ },
790
+ {
791
+ "parameterName": "groupLabel",
792
+ "parameterTypeTokenRange": {
793
+ "startIndex": 8,
794
+ "endIndex": 9
795
+ },
796
+ "isOptional": false
797
+ },
798
+ {
799
+ "parameterName": "schema",
800
+ "parameterTypeTokenRange": {
801
+ "startIndex": 10,
802
+ "endIndex": 11
803
+ },
804
+ "isOptional": false
805
+ }
806
+ ],
807
+ "name": "collectReviewFields"
808
+ },
521
809
  {
522
810
  "kind": "TypeAlias",
523
811
  "canonicalReference": "@genesislcap/foundation-forms!ConnectedRenderersOptions:type",
@@ -1303,17 +1591,88 @@
1303
1591
  "name": "downloadCsvTemplate"
1304
1592
  },
1305
1593
  {
1306
- "kind": "Class",
1307
- "canonicalReference": "@genesislcap/foundation-forms!Filters:class",
1308
- "docComment": "/**\n * Foundation filters component for automatically generated filters based on json schema obtained from the api, supplied initial data or supplied JSON schema. Allowing customisable filters elements using UI schema and set of custom renderers\n *\n * @fires change - Fired when built criteria (`value`) updates @fires submit - Fired when filter values are submitted. detail: `FilterSubmitEventDetail`\n *\n * @public\n */\n",
1594
+ "kind": "Function",
1595
+ "canonicalReference": "@genesislcap/foundation-forms!filterReviewSections:function(1)",
1596
+ "docComment": "/**\n * Filters review sections down to fields whose label or value contains `query` (case-insensitive). Sections left with no matching fields are dropped entirely. Returns `sections` unchanged when `query` is blank.\n */\n",
1309
1597
  "excerptTokens": [
1310
1598
  {
1311
1599
  "kind": "Content",
1312
- "text": "export declare class Filters extends "
1600
+ "text": "export declare function filterReviewSections(sections: "
1313
1601
  },
1314
1602
  {
1315
1603
  "kind": "Reference",
1316
- "text": "Filters_base",
1604
+ "text": "ReviewSection",
1605
+ "canonicalReference": "@genesislcap/foundation-forms!ReviewSection:type"
1606
+ },
1607
+ {
1608
+ "kind": "Content",
1609
+ "text": "[]"
1610
+ },
1611
+ {
1612
+ "kind": "Content",
1613
+ "text": ", query: "
1614
+ },
1615
+ {
1616
+ "kind": "Content",
1617
+ "text": "string"
1618
+ },
1619
+ {
1620
+ "kind": "Content",
1621
+ "text": "): "
1622
+ },
1623
+ {
1624
+ "kind": "Reference",
1625
+ "text": "ReviewSection",
1626
+ "canonicalReference": "@genesislcap/foundation-forms!ReviewSection:type"
1627
+ },
1628
+ {
1629
+ "kind": "Content",
1630
+ "text": "[]"
1631
+ },
1632
+ {
1633
+ "kind": "Content",
1634
+ "text": ";"
1635
+ }
1636
+ ],
1637
+ "fileUrlPath": "src/utils/review-utils.ts",
1638
+ "returnTypeTokenRange": {
1639
+ "startIndex": 6,
1640
+ "endIndex": 8
1641
+ },
1642
+ "releaseTag": "Public",
1643
+ "overloadIndex": 1,
1644
+ "parameters": [
1645
+ {
1646
+ "parameterName": "sections",
1647
+ "parameterTypeTokenRange": {
1648
+ "startIndex": 1,
1649
+ "endIndex": 3
1650
+ },
1651
+ "isOptional": false
1652
+ },
1653
+ {
1654
+ "parameterName": "query",
1655
+ "parameterTypeTokenRange": {
1656
+ "startIndex": 4,
1657
+ "endIndex": 5
1658
+ },
1659
+ "isOptional": false
1660
+ }
1661
+ ],
1662
+ "name": "filterReviewSections"
1663
+ },
1664
+ {
1665
+ "kind": "Class",
1666
+ "canonicalReference": "@genesislcap/foundation-forms!Filters:class",
1667
+ "docComment": "/**\n * Foundation filters component for automatically generated filters based on json schema obtained from the api, supplied initial data or supplied JSON schema. Allowing customisable filters elements using UI schema and set of custom renderers\n *\n * @fires change - Fired when built criteria (`value`) updates @fires submit - Fired when filter values are submitted. detail: `FilterSubmitEventDetail`\n *\n * @public\n */\n",
1668
+ "excerptTokens": [
1669
+ {
1670
+ "kind": "Content",
1671
+ "text": "export declare class Filters extends "
1672
+ },
1673
+ {
1674
+ "kind": "Reference",
1675
+ "text": "Filters_base",
1317
1676
  "canonicalReference": "@genesislcap/foundation-forms!~Filters_base"
1318
1677
  },
1319
1678
  {
@@ -2202,6 +2561,36 @@
2202
2561
  "isProtected": false,
2203
2562
  "isAbstract": false
2204
2563
  },
2564
+ {
2565
+ "kind": "Property",
2566
+ "canonicalReference": "@genesislcap/foundation-forms!Form#bulkSubmitButtonText:member",
2567
+ "docComment": "/**\n * Text to appear on submit button in bulk insert mode @default Submit AllS\n *\n * @public\n */\n",
2568
+ "excerptTokens": [
2569
+ {
2570
+ "kind": "Content",
2571
+ "text": "bulkSubmitButtonText: "
2572
+ },
2573
+ {
2574
+ "kind": "Content",
2575
+ "text": "string"
2576
+ },
2577
+ {
2578
+ "kind": "Content",
2579
+ "text": ";"
2580
+ }
2581
+ ],
2582
+ "isReadonly": false,
2583
+ "isOptional": false,
2584
+ "releaseTag": "Public",
2585
+ "name": "bulkSubmitButtonText",
2586
+ "propertyTypeTokenRange": {
2587
+ "startIndex": 1,
2588
+ "endIndex": 2
2589
+ },
2590
+ "isStatic": false,
2591
+ "isProtected": false,
2592
+ "isAbstract": false
2593
+ },
2205
2594
  {
2206
2595
  "kind": "Method",
2207
2596
  "canonicalReference": "@genesislcap/foundation-forms!Form#clearRowSubmitStatuses:member(1)",
@@ -2582,6 +2971,36 @@
2582
2971
  "isAbstract": false,
2583
2972
  "name": "reset"
2584
2973
  },
2974
+ {
2975
+ "kind": "Property",
2976
+ "canonicalReference": "@genesislcap/foundation-forms!Form#resetButtonText:member",
2977
+ "docComment": "/**\n * Text to appear on reset button @default Submit\n *\n * @public\n */\n",
2978
+ "excerptTokens": [
2979
+ {
2980
+ "kind": "Content",
2981
+ "text": "resetButtonText: "
2982
+ },
2983
+ {
2984
+ "kind": "Content",
2985
+ "text": "string"
2986
+ },
2987
+ {
2988
+ "kind": "Content",
2989
+ "text": ";"
2990
+ }
2991
+ ],
2992
+ "isReadonly": false,
2993
+ "isOptional": false,
2994
+ "releaseTag": "Public",
2995
+ "name": "resetButtonText",
2996
+ "propertyTypeTokenRange": {
2997
+ "startIndex": 1,
2998
+ "endIndex": 2
2999
+ },
3000
+ "isStatic": false,
3001
+ "isProtected": false,
3002
+ "isAbstract": false
3003
+ },
2585
3004
  {
2586
3005
  "kind": "Property",
2587
3006
  "canonicalReference": "@genesislcap/foundation-forms!Form#resourceName:member",
@@ -2612,6 +3031,96 @@
2612
3031
  "isProtected": false,
2613
3032
  "isAbstract": false
2614
3033
  },
3034
+ {
3035
+ "kind": "Property",
3036
+ "canonicalReference": "@genesislcap/foundation-forms!Form#reviewButtonText:member",
3037
+ "docComment": "/**\n * Text to appear on reset button\n *\n * @public\n */\n",
3038
+ "excerptTokens": [
3039
+ {
3040
+ "kind": "Content",
3041
+ "text": "reviewButtonText: "
3042
+ },
3043
+ {
3044
+ "kind": "Content",
3045
+ "text": "string"
3046
+ },
3047
+ {
3048
+ "kind": "Content",
3049
+ "text": ";"
3050
+ }
3051
+ ],
3052
+ "isReadonly": false,
3053
+ "isOptional": false,
3054
+ "releaseTag": "Public",
3055
+ "name": "reviewButtonText",
3056
+ "propertyTypeTokenRange": {
3057
+ "startIndex": 1,
3058
+ "endIndex": 2
3059
+ },
3060
+ "isStatic": false,
3061
+ "isProtected": false,
3062
+ "isAbstract": false
3063
+ },
3064
+ {
3065
+ "kind": "Property",
3066
+ "canonicalReference": "@genesislcap/foundation-forms!Form#reviewHeading:member",
3067
+ "docComment": "/**\n * Heading shown at the top of the review panel.\n *\n * @public\n */\n",
3068
+ "excerptTokens": [
3069
+ {
3070
+ "kind": "Content",
3071
+ "text": "reviewHeading: "
3072
+ },
3073
+ {
3074
+ "kind": "Content",
3075
+ "text": "string"
3076
+ },
3077
+ {
3078
+ "kind": "Content",
3079
+ "text": ";"
3080
+ }
3081
+ ],
3082
+ "isReadonly": false,
3083
+ "isOptional": false,
3084
+ "releaseTag": "Public",
3085
+ "name": "reviewHeading",
3086
+ "propertyTypeTokenRange": {
3087
+ "startIndex": 1,
3088
+ "endIndex": 2
3089
+ },
3090
+ "isStatic": false,
3091
+ "isProtected": false,
3092
+ "isAbstract": false
3093
+ },
3094
+ {
3095
+ "kind": "Property",
3096
+ "canonicalReference": "@genesislcap/foundation-forms!Form#reviewIdField:member",
3097
+ "docComment": "/**\n * Name of a top-level data field whose value is shown as an identifier next to the review heading (e.g. a record's primary key). No identifier is shown when unset.\n *\n * @public\n */\n",
3098
+ "excerptTokens": [
3099
+ {
3100
+ "kind": "Content",
3101
+ "text": "reviewIdField: "
3102
+ },
3103
+ {
3104
+ "kind": "Content",
3105
+ "text": "string"
3106
+ },
3107
+ {
3108
+ "kind": "Content",
3109
+ "text": ";"
3110
+ }
3111
+ ],
3112
+ "isReadonly": false,
3113
+ "isOptional": false,
3114
+ "releaseTag": "Public",
3115
+ "name": "reviewIdField",
3116
+ "propertyTypeTokenRange": {
3117
+ "startIndex": 1,
3118
+ "endIndex": 2
3119
+ },
3120
+ "isStatic": false,
3121
+ "isProtected": false,
3122
+ "isAbstract": false
3123
+ },
2615
3124
  {
2616
3125
  "kind": "Property",
2617
3126
  "canonicalReference": "@genesislcap/foundation-forms!Form#rowSubmitStatuses:member",
@@ -2716,6 +3225,66 @@
2716
3225
  "isProtected": false,
2717
3226
  "isAbstract": false
2718
3227
  },
3228
+ {
3229
+ "kind": "Property",
3230
+ "canonicalReference": "@genesislcap/foundation-forms!Form#showSubmitReview:member",
3231
+ "docComment": "/**\n * When enabled, clicking submit with no validation errors shows a read-only preview of the form data before the final submission.\n *\n * @public\n */\n",
3232
+ "excerptTokens": [
3233
+ {
3234
+ "kind": "Content",
3235
+ "text": "showSubmitReview: "
3236
+ },
3237
+ {
3238
+ "kind": "Content",
3239
+ "text": "boolean"
3240
+ },
3241
+ {
3242
+ "kind": "Content",
3243
+ "text": ";"
3244
+ }
3245
+ ],
3246
+ "isReadonly": false,
3247
+ "isOptional": false,
3248
+ "releaseTag": "Public",
3249
+ "name": "showSubmitReview",
3250
+ "propertyTypeTokenRange": {
3251
+ "startIndex": 1,
3252
+ "endIndex": 2
3253
+ },
3254
+ "isStatic": false,
3255
+ "isProtected": false,
3256
+ "isAbstract": false
3257
+ },
3258
+ {
3259
+ "kind": "Property",
3260
+ "canonicalReference": "@genesislcap/foundation-forms!Form#submitButtonText:member",
3261
+ "docComment": "/**\n * Text to appear on submit button @default Submit\n *\n * @public\n */\n",
3262
+ "excerptTokens": [
3263
+ {
3264
+ "kind": "Content",
3265
+ "text": "submitButtonText: "
3266
+ },
3267
+ {
3268
+ "kind": "Content",
3269
+ "text": "string"
3270
+ },
3271
+ {
3272
+ "kind": "Content",
3273
+ "text": ";"
3274
+ }
3275
+ ],
3276
+ "isReadonly": false,
3277
+ "isOptional": false,
3278
+ "releaseTag": "Public",
3279
+ "name": "submitButtonText",
3280
+ "propertyTypeTokenRange": {
3281
+ "startIndex": 1,
3282
+ "endIndex": 2
3283
+ },
3284
+ "isStatic": false,
3285
+ "isProtected": false,
3286
+ "isAbstract": false
3287
+ },
2719
3288
  {
2720
3289
  "kind": "Method",
2721
3290
  "canonicalReference": "@genesislcap/foundation-forms!Form#submitSingleRow:member(1)",
@@ -2808,22 +3377,67 @@
2808
3377
  "implementsTokenRanges": []
2809
3378
  },
2810
3379
  {
2811
- "kind": "TypeAlias",
2812
- "canonicalReference": "@genesislcap/foundation-forms!FormDataChangeEventDetail:type",
2813
- "docComment": "/**\n * Detail payload for the `data-change` event fired by {@link Form} and `JSONForms` whenever the bound form data changes.\n *\n * @public\n */\n",
3380
+ "kind": "Function",
3381
+ "canonicalReference": "@genesislcap/foundation-forms!formatValueForReview:function(1)",
3382
+ "docComment": "/**\n * Converts a raw field value to a display string for the review panel. Arrays of primitives are comma-joined; arrays of objects and plain objects are rendered as readable `key: value` lines.\n */\n",
2814
3383
  "excerptTokens": [
2815
3384
  {
2816
3385
  "kind": "Content",
2817
- "text": "export type FormDataChangeEventDetail = "
3386
+ "text": "export declare function formatValueForReview(value: "
2818
3387
  },
2819
3388
  {
2820
3389
  "kind": "Content",
2821
- "text": "{\n data: "
3390
+ "text": "any"
2822
3391
  },
2823
3392
  {
2824
- "kind": "Reference",
2825
- "text": "Record",
2826
- "canonicalReference": "!Record:type"
3393
+ "kind": "Content",
3394
+ "text": "): "
3395
+ },
3396
+ {
3397
+ "kind": "Content",
3398
+ "text": "string"
3399
+ },
3400
+ {
3401
+ "kind": "Content",
3402
+ "text": ";"
3403
+ }
3404
+ ],
3405
+ "fileUrlPath": "src/utils/review-utils.ts",
3406
+ "returnTypeTokenRange": {
3407
+ "startIndex": 3,
3408
+ "endIndex": 4
3409
+ },
3410
+ "releaseTag": "Public",
3411
+ "overloadIndex": 1,
3412
+ "parameters": [
3413
+ {
3414
+ "parameterName": "value",
3415
+ "parameterTypeTokenRange": {
3416
+ "startIndex": 1,
3417
+ "endIndex": 2
3418
+ },
3419
+ "isOptional": false
3420
+ }
3421
+ ],
3422
+ "name": "formatValueForReview"
3423
+ },
3424
+ {
3425
+ "kind": "TypeAlias",
3426
+ "canonicalReference": "@genesislcap/foundation-forms!FormDataChangeEventDetail:type",
3427
+ "docComment": "/**\n * Detail payload for the `data-change` event fired by {@link Form} and `JSONForms` whenever the bound form data changes.\n *\n * @public\n */\n",
3428
+ "excerptTokens": [
3429
+ {
3430
+ "kind": "Content",
3431
+ "text": "export type FormDataChangeEventDetail = "
3432
+ },
3433
+ {
3434
+ "kind": "Content",
3435
+ "text": "{\n data: "
3436
+ },
3437
+ {
3438
+ "kind": "Reference",
3439
+ "text": "Record",
3440
+ "canonicalReference": "!Record:type"
2827
3441
  },
2828
3442
  {
2829
3443
  "kind": "Content",
@@ -3128,6 +3742,67 @@
3128
3742
  ],
3129
3743
  "name": "getAnyOfErrorMessage"
3130
3744
  },
3745
+ {
3746
+ "kind": "Function",
3747
+ "canonicalReference": "@genesislcap/foundation-forms!getDataValueAtPath:function(1)",
3748
+ "docComment": "/**\n * Navigates a `/properties/`-separated path in data to support nested object scopes such as `ADDRESS/properties/STREET` produced by Group layout UI schemas.\n */\n",
3749
+ "excerptTokens": [
3750
+ {
3751
+ "kind": "Content",
3752
+ "text": "export declare function getDataValueAtPath(data: "
3753
+ },
3754
+ {
3755
+ "kind": "Content",
3756
+ "text": "any"
3757
+ },
3758
+ {
3759
+ "kind": "Content",
3760
+ "text": ", fieldName: "
3761
+ },
3762
+ {
3763
+ "kind": "Content",
3764
+ "text": "string"
3765
+ },
3766
+ {
3767
+ "kind": "Content",
3768
+ "text": "): "
3769
+ },
3770
+ {
3771
+ "kind": "Content",
3772
+ "text": "any"
3773
+ },
3774
+ {
3775
+ "kind": "Content",
3776
+ "text": ";"
3777
+ }
3778
+ ],
3779
+ "fileUrlPath": "src/utils/review-utils.ts",
3780
+ "returnTypeTokenRange": {
3781
+ "startIndex": 5,
3782
+ "endIndex": 6
3783
+ },
3784
+ "releaseTag": "Public",
3785
+ "overloadIndex": 1,
3786
+ "parameters": [
3787
+ {
3788
+ "parameterName": "data",
3789
+ "parameterTypeTokenRange": {
3790
+ "startIndex": 1,
3791
+ "endIndex": 2
3792
+ },
3793
+ "isOptional": false
3794
+ },
3795
+ {
3796
+ "parameterName": "fieldName",
3797
+ "parameterTypeTokenRange": {
3798
+ "startIndex": 3,
3799
+ "endIndex": 4
3800
+ },
3801
+ "isOptional": false
3802
+ }
3803
+ ],
3804
+ "name": "getDataValueAtPath"
3805
+ },
3131
3806
  {
3132
3807
  "kind": "Function",
3133
3808
  "canonicalReference": "@genesislcap/foundation-forms!getVerticalCategorizationHeight:function(1)",
@@ -4356,6 +5031,362 @@
4356
5031
  "endIndex": 2
4357
5032
  }
4358
5033
  },
5034
+ {
5035
+ "kind": "Function",
5036
+ "canonicalReference": "@genesislcap/foundation-forms!resolveEnumLabel:function(1)",
5037
+ "docComment": "/**\n * For plain enum combobox fields (no options.data), applies the same `capitalCase` transform the renderer uses — e.g. `SEMI_ANNUAL` → `Semi Annual`. Navigates the JSON schema via the fieldName path to confirm the field is an enum before transforming. Returns `null` for non-enum fields.\n */\n",
5038
+ "excerptTokens": [
5039
+ {
5040
+ "kind": "Content",
5041
+ "text": "export declare function resolveEnumLabel(raw: "
5042
+ },
5043
+ {
5044
+ "kind": "Content",
5045
+ "text": "any"
5046
+ },
5047
+ {
5048
+ "kind": "Content",
5049
+ "text": ", fieldName: "
5050
+ },
5051
+ {
5052
+ "kind": "Content",
5053
+ "text": "string"
5054
+ },
5055
+ {
5056
+ "kind": "Content",
5057
+ "text": ", schema: "
5058
+ },
5059
+ {
5060
+ "kind": "Content",
5061
+ "text": "any"
5062
+ },
5063
+ {
5064
+ "kind": "Content",
5065
+ "text": "): "
5066
+ },
5067
+ {
5068
+ "kind": "Content",
5069
+ "text": "string | null"
5070
+ },
5071
+ {
5072
+ "kind": "Content",
5073
+ "text": ";"
5074
+ }
5075
+ ],
5076
+ "fileUrlPath": "src/utils/review-utils.ts",
5077
+ "returnTypeTokenRange": {
5078
+ "startIndex": 7,
5079
+ "endIndex": 8
5080
+ },
5081
+ "releaseTag": "Public",
5082
+ "overloadIndex": 1,
5083
+ "parameters": [
5084
+ {
5085
+ "parameterName": "raw",
5086
+ "parameterTypeTokenRange": {
5087
+ "startIndex": 1,
5088
+ "endIndex": 2
5089
+ },
5090
+ "isOptional": false
5091
+ },
5092
+ {
5093
+ "parameterName": "fieldName",
5094
+ "parameterTypeTokenRange": {
5095
+ "startIndex": 3,
5096
+ "endIndex": 4
5097
+ },
5098
+ "isOptional": false
5099
+ },
5100
+ {
5101
+ "parameterName": "schema",
5102
+ "parameterTypeTokenRange": {
5103
+ "startIndex": 5,
5104
+ "endIndex": 6
5105
+ },
5106
+ "isOptional": false
5107
+ }
5108
+ ],
5109
+ "name": "resolveEnumLabel"
5110
+ },
5111
+ {
5112
+ "kind": "Function",
5113
+ "canonicalReference": "@genesislcap/foundation-forms!resolveOptionLabel:function(1)",
5114
+ "docComment": "/**\n * Looks up the display label for a raw value from `options.data` (used by segmented, radio group, and enum-with-explicit-data renderers). Returns `null` when no match found.\n */\n",
5115
+ "excerptTokens": [
5116
+ {
5117
+ "kind": "Content",
5118
+ "text": "export declare function resolveOptionLabel(raw: "
5119
+ },
5120
+ {
5121
+ "kind": "Content",
5122
+ "text": "any"
5123
+ },
5124
+ {
5125
+ "kind": "Content",
5126
+ "text": ", options: "
5127
+ },
5128
+ {
5129
+ "kind": "Content",
5130
+ "text": "any"
5131
+ },
5132
+ {
5133
+ "kind": "Content",
5134
+ "text": "): "
5135
+ },
5136
+ {
5137
+ "kind": "Content",
5138
+ "text": "string | null"
5139
+ },
5140
+ {
5141
+ "kind": "Content",
5142
+ "text": ";"
5143
+ }
5144
+ ],
5145
+ "fileUrlPath": "src/utils/review-utils.ts",
5146
+ "returnTypeTokenRange": {
5147
+ "startIndex": 5,
5148
+ "endIndex": 6
5149
+ },
5150
+ "releaseTag": "Public",
5151
+ "overloadIndex": 1,
5152
+ "parameters": [
5153
+ {
5154
+ "parameterName": "raw",
5155
+ "parameterTypeTokenRange": {
5156
+ "startIndex": 1,
5157
+ "endIndex": 2
5158
+ },
5159
+ "isOptional": false
5160
+ },
5161
+ {
5162
+ "parameterName": "options",
5163
+ "parameterTypeTokenRange": {
5164
+ "startIndex": 3,
5165
+ "endIndex": 4
5166
+ },
5167
+ "isOptional": false
5168
+ }
5169
+ ],
5170
+ "name": "resolveOptionLabel"
5171
+ },
5172
+ {
5173
+ "kind": "Class",
5174
+ "canonicalReference": "@genesislcap/foundation-forms!Review:class",
5175
+ "docComment": "/**\n * Read-only preview panel shown by `<foundation-form>` when `show-submit-review` is enabled. Renders the reviewed data grouped into sections with a header and a filter field.\n *\n * @public\n */\n",
5176
+ "excerptTokens": [
5177
+ {
5178
+ "kind": "Content",
5179
+ "text": "export declare class Review extends "
5180
+ },
5181
+ {
5182
+ "kind": "Reference",
5183
+ "text": "FASTElement",
5184
+ "canonicalReference": "@microsoft/fast-element!FASTElement:interface"
5185
+ },
5186
+ {
5187
+ "kind": "Content",
5188
+ "text": " "
5189
+ }
5190
+ ],
5191
+ "fileUrlPath": "src/review.ts",
5192
+ "releaseTag": "Public",
5193
+ "isAbstract": false,
5194
+ "name": "Review",
5195
+ "preserveMemberOrder": false,
5196
+ "members": [
5197
+ {
5198
+ "kind": "Property",
5199
+ "canonicalReference": "@genesislcap/foundation-forms!Review#heading:member",
5200
+ "docComment": "/**\n * Title shown in the review header.\n *\n * @public\n */\n",
5201
+ "excerptTokens": [
5202
+ {
5203
+ "kind": "Content",
5204
+ "text": "heading: "
5205
+ },
5206
+ {
5207
+ "kind": "Content",
5208
+ "text": "string"
5209
+ },
5210
+ {
5211
+ "kind": "Content",
5212
+ "text": ";"
5213
+ }
5214
+ ],
5215
+ "isReadonly": false,
5216
+ "isOptional": false,
5217
+ "releaseTag": "Public",
5218
+ "name": "heading",
5219
+ "propertyTypeTokenRange": {
5220
+ "startIndex": 1,
5221
+ "endIndex": 2
5222
+ },
5223
+ "isStatic": false,
5224
+ "isProtected": false,
5225
+ "isAbstract": false
5226
+ },
5227
+ {
5228
+ "kind": "Property",
5229
+ "canonicalReference": "@genesislcap/foundation-forms!Review#prefix:member",
5230
+ "docComment": "",
5231
+ "excerptTokens": [
5232
+ {
5233
+ "kind": "Content",
5234
+ "text": "prefix: "
5235
+ },
5236
+ {
5237
+ "kind": "Content",
5238
+ "text": "string"
5239
+ },
5240
+ {
5241
+ "kind": "Content",
5242
+ "text": ";"
5243
+ }
5244
+ ],
5245
+ "isReadonly": false,
5246
+ "isOptional": false,
5247
+ "releaseTag": "Public",
5248
+ "name": "prefix",
5249
+ "propertyTypeTokenRange": {
5250
+ "startIndex": 1,
5251
+ "endIndex": 2
5252
+ },
5253
+ "isStatic": false,
5254
+ "isProtected": false,
5255
+ "isAbstract": false
5256
+ },
5257
+ {
5258
+ "kind": "Property",
5259
+ "canonicalReference": "@genesislcap/foundation-forms!Review#recordId:member",
5260
+ "docComment": "/**\n * Optional identifier shown next to the heading, e.g. a record's primary key.\n *\n * @public\n */\n",
5261
+ "excerptTokens": [
5262
+ {
5263
+ "kind": "Content",
5264
+ "text": "recordId: "
5265
+ },
5266
+ {
5267
+ "kind": "Content",
5268
+ "text": "string"
5269
+ },
5270
+ {
5271
+ "kind": "Content",
5272
+ "text": ";"
5273
+ }
5274
+ ],
5275
+ "isReadonly": false,
5276
+ "isOptional": false,
5277
+ "releaseTag": "Public",
5278
+ "name": "recordId",
5279
+ "propertyTypeTokenRange": {
5280
+ "startIndex": 1,
5281
+ "endIndex": 2
5282
+ },
5283
+ "isStatic": false,
5284
+ "isProtected": false,
5285
+ "isAbstract": false
5286
+ },
5287
+ {
5288
+ "kind": "Property",
5289
+ "canonicalReference": "@genesislcap/foundation-forms!Review#sections:member",
5290
+ "docComment": "/**\n * Sections of label/value pairs to render, grouped by their nearest UI schema `Group`.\n *\n * @public\n */\n",
5291
+ "excerptTokens": [
5292
+ {
5293
+ "kind": "Content",
5294
+ "text": "sections: "
5295
+ },
5296
+ {
5297
+ "kind": "Reference",
5298
+ "text": "ReviewSection",
5299
+ "canonicalReference": "@genesislcap/foundation-forms!ReviewSection:type"
5300
+ },
5301
+ {
5302
+ "kind": "Content",
5303
+ "text": "[]"
5304
+ },
5305
+ {
5306
+ "kind": "Content",
5307
+ "text": ";"
5308
+ }
5309
+ ],
5310
+ "isReadonly": false,
5311
+ "isOptional": false,
5312
+ "releaseTag": "Public",
5313
+ "name": "sections",
5314
+ "propertyTypeTokenRange": {
5315
+ "startIndex": 1,
5316
+ "endIndex": 3
5317
+ },
5318
+ "isStatic": false,
5319
+ "isProtected": false,
5320
+ "isAbstract": false
5321
+ }
5322
+ ],
5323
+ "extendsTokenRange": {
5324
+ "startIndex": 1,
5325
+ "endIndex": 2
5326
+ },
5327
+ "implementsTokenRanges": []
5328
+ },
5329
+ {
5330
+ "kind": "TypeAlias",
5331
+ "canonicalReference": "@genesislcap/foundation-forms!ReviewField:type",
5332
+ "docComment": "",
5333
+ "excerptTokens": [
5334
+ {
5335
+ "kind": "Content",
5336
+ "text": "export type ReviewField = "
5337
+ },
5338
+ {
5339
+ "kind": "Content",
5340
+ "text": "{\n label: string;\n value: string;\n}"
5341
+ },
5342
+ {
5343
+ "kind": "Content",
5344
+ "text": ";"
5345
+ }
5346
+ ],
5347
+ "fileUrlPath": "src/utils/review-utils.ts",
5348
+ "releaseTag": "Public",
5349
+ "name": "ReviewField",
5350
+ "typeTokenRange": {
5351
+ "startIndex": 1,
5352
+ "endIndex": 2
5353
+ }
5354
+ },
5355
+ {
5356
+ "kind": "TypeAlias",
5357
+ "canonicalReference": "@genesislcap/foundation-forms!ReviewSection:type",
5358
+ "docComment": "",
5359
+ "excerptTokens": [
5360
+ {
5361
+ "kind": "Content",
5362
+ "text": "export type ReviewSection = "
5363
+ },
5364
+ {
5365
+ "kind": "Content",
5366
+ "text": "{\n title: string | null;\n fields: "
5367
+ },
5368
+ {
5369
+ "kind": "Reference",
5370
+ "text": "ReviewField",
5371
+ "canonicalReference": "@genesislcap/foundation-forms!ReviewField:type"
5372
+ },
5373
+ {
5374
+ "kind": "Content",
5375
+ "text": "[];\n}"
5376
+ },
5377
+ {
5378
+ "kind": "Content",
5379
+ "text": ";"
5380
+ }
5381
+ ],
5382
+ "fileUrlPath": "src/utils/review-utils.ts",
5383
+ "releaseTag": "Public",
5384
+ "name": "ReviewSection",
5385
+ "typeTokenRange": {
5386
+ "startIndex": 1,
5387
+ "endIndex": 4
5388
+ }
5389
+ },
4359
5390
  {
4360
5391
  "kind": "TypeAlias",
4361
5392
  "canonicalReference": "@genesislcap/foundation-forms!RowStatusChangedEventDetail:type",