@genesislcap/foundation-forms 14.488.1-FUI-2571.1 → 14.488.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 +2 -630
  2. package/dist/dts/form.d.ts +0 -77
  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 +0 -3
  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 +0 -10
  10. package/dist/dts/utils/index.d.ts +0 -1
  11. package/dist/dts/utils/index.d.ts.map +1 -1
  12. package/dist/dts/utils/schema-utils.d.ts +0 -12
  13. package/dist/dts/utils/schema-utils.d.ts.map +1 -1
  14. package/dist/esm/form.js +1 -120
  15. package/dist/esm/form.styles.js +2 -9
  16. package/dist/esm/form.template.js +24 -58
  17. package/dist/esm/index.js +0 -3
  18. package/dist/esm/jsonforms/renderers/CategorizationWrapperRenderer.js +45 -1
  19. package/dist/esm/utils/index.js +0 -1
  20. package/dist/esm/utils/schema-utils.js +0 -48
  21. package/dist/foundation-forms.api.json +13 -1044
  22. package/dist/foundation-forms.d.ts +0 -181
  23. package/dist/react.cjs +0 -7
  24. package/dist/react.mjs +0 -6
  25. package/package.json +15 -15
  26. package/dist/dts/review.d.ts +0 -34
  27. package/dist/dts/review.d.ts.map +0 -1
  28. package/dist/dts/review.styles.d.ts +0 -3
  29. package/dist/dts/review.styles.d.ts.map +0 -1
  30. package/dist/dts/review.template.d.ts +0 -6
  31. package/dist/dts/review.template.d.ts.map +0 -1
  32. package/dist/dts/utils/review-utils.d.ts +0 -55
  33. package/dist/dts/utils/review-utils.d.ts.map +0 -1
  34. package/dist/esm/review.js +0 -63
  35. package/dist/esm/review.styles.js +0 -93
  36. package/dist/esm/review.template.js +0 -38
  37. package/dist/esm/utils/review-utils.js +0 -205
@@ -216,180 +216,6 @@
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
- },
393
219
  {
394
220
  "kind": "TypeAlias",
395
221
  "canonicalReference": "@genesislcap/foundation-forms!BulkRowStatus:type",
@@ -692,120 +518,6 @@
692
518
  "endIndex": 3
693
519
  }
694
520
  },
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
- },
809
521
  {
810
522
  "kind": "TypeAlias",
811
523
  "canonicalReference": "@genesislcap/foundation-forms!ConnectedRenderersOptions:type",
@@ -1591,84 +1303,13 @@
1591
1303
  "name": "downloadCsvTemplate"
1592
1304
  },
1593
1305
  {
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",
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",
1597
1309
  "excerptTokens": [
1598
1310
  {
1599
1311
  "kind": "Content",
1600
- "text": "export declare function filterReviewSections(sections: "
1601
- },
1602
- {
1603
- "kind": "Reference",
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 "
1312
+ "text": "export declare class Filters extends "
1672
1313
  },
1673
1314
  {
1674
1315
  "kind": "Reference",
@@ -2561,36 +2202,6 @@
2561
2202
  "isProtected": false,
2562
2203
  "isAbstract": false
2563
2204
  },
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
- },
2594
2205
  {
2595
2206
  "kind": "Method",
2596
2207
  "canonicalReference": "@genesislcap/foundation-forms!Form#clearRowSubmitStatuses:member(1)",
@@ -2971,36 +2582,6 @@
2971
2582
  "isAbstract": false,
2972
2583
  "name": "reset"
2973
2584
  },
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
- },
3004
2585
  {
3005
2586
  "kind": "Property",
3006
2587
  "canonicalReference": "@genesislcap/foundation-forms!Form#resourceName:member",
@@ -3031,96 +2612,6 @@
3031
2612
  "isProtected": false,
3032
2613
  "isAbstract": false
3033
2614
  },
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
- },
3124
2615
  {
3125
2616
  "kind": "Property",
3126
2617
  "canonicalReference": "@genesislcap/foundation-forms!Form#rowSubmitStatuses:member",
@@ -3225,66 +2716,6 @@
3225
2716
  "isProtected": false,
3226
2717
  "isAbstract": false
3227
2718
  },
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
- },
3288
2719
  {
3289
2720
  "kind": "Method",
3290
2721
  "canonicalReference": "@genesislcap/foundation-forms!Form#submitSingleRow:member(1)",
@@ -3377,71 +2808,26 @@
3377
2808
  "implementsTokenRanges": []
3378
2809
  },
3379
2810
  {
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",
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",
3383
2814
  "excerptTokens": [
3384
2815
  {
3385
2816
  "kind": "Content",
3386
- "text": "export declare function formatValueForReview(value: "
2817
+ "text": "export type FormDataChangeEventDetail = "
3387
2818
  },
3388
2819
  {
3389
2820
  "kind": "Content",
3390
- "text": "any"
2821
+ "text": "{\n data: "
3391
2822
  },
3392
2823
  {
3393
- "kind": "Content",
3394
- "text": "): "
2824
+ "kind": "Reference",
2825
+ "text": "Record",
2826
+ "canonicalReference": "!Record:type"
3395
2827
  },
3396
2828
  {
3397
2829
  "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"
3441
- },
3442
- {
3443
- "kind": "Content",
3444
- "text": "<string, unknown>;\n errors: "
2830
+ "text": "<string, unknown>;\n errors: "
3445
2831
  },
3446
2832
  {
3447
2833
  "kind": "Reference",
@@ -3742,67 +3128,6 @@
3742
3128
  ],
3743
3129
  "name": "getAnyOfErrorMessage"
3744
3130
  },
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
- },
3806
3131
  {
3807
3132
  "kind": "Function",
3808
3133
  "canonicalReference": "@genesislcap/foundation-forms!getVerticalCategorizationHeight:function(1)",
@@ -5031,362 +4356,6 @@
5031
4356
  "endIndex": 2
5032
4357
  }
5033
4358
  },
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
- },
5390
4359
  {
5391
4360
  "kind": "TypeAlias",
5392
4361
  "canonicalReference": "@genesislcap/foundation-forms!RowStatusChangedEventDetail:type",