@genesislcap/foundation-forms 14.496.2-alpha-da9ccbd.0 → 14.497.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.
Files changed (39) hide show
  1. package/dist/custom-elements.json +341 -1
  2. package/dist/dts/filters/filters.d.ts +0 -1
  3. package/dist/dts/filters/filters.d.ts.map +1 -1
  4. package/dist/dts/form.d.ts +94 -1
  5. package/dist/dts/form.d.ts.map +1 -1
  6. package/dist/dts/form.styles.d.ts.map +1 -1
  7. package/dist/dts/form.template.d.ts.map +1 -1
  8. package/dist/dts/index.d.ts +3 -0
  9. package/dist/dts/index.d.ts.map +1 -1
  10. package/dist/dts/jsonforms/renderers/CategorizationWrapperRenderer.d.ts.map +1 -1
  11. package/dist/dts/react.d.ts +10 -0
  12. package/dist/dts/review.d.ts +34 -0
  13. package/dist/dts/review.d.ts.map +1 -0
  14. package/dist/dts/review.styles.d.ts +3 -0
  15. package/dist/dts/review.styles.d.ts.map +1 -0
  16. package/dist/dts/review.template.d.ts +6 -0
  17. package/dist/dts/review.template.d.ts.map +1 -0
  18. package/dist/dts/utils/index.d.ts +1 -0
  19. package/dist/dts/utils/index.d.ts.map +1 -1
  20. package/dist/dts/utils/review-utils.d.ts +82 -0
  21. package/dist/dts/utils/review-utils.d.ts.map +1 -0
  22. package/dist/dts/utils/schema-utils.d.ts +12 -0
  23. package/dist/dts/utils/schema-utils.d.ts.map +1 -1
  24. package/dist/esm/form.js +132 -3
  25. package/dist/esm/form.styles.js +9 -2
  26. package/dist/esm/form.template.js +63 -25
  27. package/dist/esm/index.js +3 -0
  28. package/dist/esm/jsonforms/renderers/CategorizationWrapperRenderer.js +1 -45
  29. package/dist/esm/review.js +63 -0
  30. package/dist/esm/review.styles.js +93 -0
  31. package/dist/esm/review.template.js +39 -0
  32. package/dist/esm/utils/index.js +1 -0
  33. package/dist/esm/utils/review-utils.js +241 -0
  34. package/dist/esm/utils/schema-utils.js +48 -0
  35. package/dist/foundation-forms.api.json +428 -0
  36. package/dist/foundation-forms.d.ts +224 -2
  37. package/dist/react.cjs +7 -0
  38. package/dist/react.mjs +6 -0
  39. package/package.json +15 -15
@@ -2202,6 +2202,36 @@
2202
2202
  "isProtected": false,
2203
2203
  "isAbstract": false
2204
2204
  },
2205
+ {
2206
+ "kind": "Property",
2207
+ "canonicalReference": "@genesislcap/foundation-forms!Form#bulkSubmitButtonText:member",
2208
+ "docComment": "/**\n * Text to appear on submit button in bulk insert mode @default Submit AllS\n *\n * @public\n */\n",
2209
+ "excerptTokens": [
2210
+ {
2211
+ "kind": "Content",
2212
+ "text": "bulkSubmitButtonText: "
2213
+ },
2214
+ {
2215
+ "kind": "Content",
2216
+ "text": "string"
2217
+ },
2218
+ {
2219
+ "kind": "Content",
2220
+ "text": ";"
2221
+ }
2222
+ ],
2223
+ "isReadonly": false,
2224
+ "isOptional": false,
2225
+ "releaseTag": "Public",
2226
+ "name": "bulkSubmitButtonText",
2227
+ "propertyTypeTokenRange": {
2228
+ "startIndex": 1,
2229
+ "endIndex": 2
2230
+ },
2231
+ "isStatic": false,
2232
+ "isProtected": false,
2233
+ "isAbstract": false
2234
+ },
2205
2235
  {
2206
2236
  "kind": "Method",
2207
2237
  "canonicalReference": "@genesislcap/foundation-forms!Form#clearRowSubmitStatuses:member(1)",
@@ -2582,6 +2612,36 @@
2582
2612
  "isAbstract": false,
2583
2613
  "name": "reset"
2584
2614
  },
2615
+ {
2616
+ "kind": "Property",
2617
+ "canonicalReference": "@genesislcap/foundation-forms!Form#resetButtonText:member",
2618
+ "docComment": "/**\n * Text to appear on reset button @default Submit\n *\n * @public\n */\n",
2619
+ "excerptTokens": [
2620
+ {
2621
+ "kind": "Content",
2622
+ "text": "resetButtonText: "
2623
+ },
2624
+ {
2625
+ "kind": "Content",
2626
+ "text": "string"
2627
+ },
2628
+ {
2629
+ "kind": "Content",
2630
+ "text": ";"
2631
+ }
2632
+ ],
2633
+ "isReadonly": false,
2634
+ "isOptional": false,
2635
+ "releaseTag": "Public",
2636
+ "name": "resetButtonText",
2637
+ "propertyTypeTokenRange": {
2638
+ "startIndex": 1,
2639
+ "endIndex": 2
2640
+ },
2641
+ "isStatic": false,
2642
+ "isProtected": false,
2643
+ "isAbstract": false
2644
+ },
2585
2645
  {
2586
2646
  "kind": "Property",
2587
2647
  "canonicalReference": "@genesislcap/foundation-forms!Form#resourceName:member",
@@ -2612,6 +2672,96 @@
2612
2672
  "isProtected": false,
2613
2673
  "isAbstract": false
2614
2674
  },
2675
+ {
2676
+ "kind": "Property",
2677
+ "canonicalReference": "@genesislcap/foundation-forms!Form#reviewButtonText:member",
2678
+ "docComment": "/**\n * Text to appear on reset button\n *\n * @public\n */\n",
2679
+ "excerptTokens": [
2680
+ {
2681
+ "kind": "Content",
2682
+ "text": "reviewButtonText: "
2683
+ },
2684
+ {
2685
+ "kind": "Content",
2686
+ "text": "string"
2687
+ },
2688
+ {
2689
+ "kind": "Content",
2690
+ "text": ";"
2691
+ }
2692
+ ],
2693
+ "isReadonly": false,
2694
+ "isOptional": false,
2695
+ "releaseTag": "Public",
2696
+ "name": "reviewButtonText",
2697
+ "propertyTypeTokenRange": {
2698
+ "startIndex": 1,
2699
+ "endIndex": 2
2700
+ },
2701
+ "isStatic": false,
2702
+ "isProtected": false,
2703
+ "isAbstract": false
2704
+ },
2705
+ {
2706
+ "kind": "Property",
2707
+ "canonicalReference": "@genesislcap/foundation-forms!Form#reviewHeading:member",
2708
+ "docComment": "/**\n * Heading shown at the top of the review panel.\n *\n * @public\n */\n",
2709
+ "excerptTokens": [
2710
+ {
2711
+ "kind": "Content",
2712
+ "text": "reviewHeading: "
2713
+ },
2714
+ {
2715
+ "kind": "Content",
2716
+ "text": "string"
2717
+ },
2718
+ {
2719
+ "kind": "Content",
2720
+ "text": ";"
2721
+ }
2722
+ ],
2723
+ "isReadonly": false,
2724
+ "isOptional": false,
2725
+ "releaseTag": "Public",
2726
+ "name": "reviewHeading",
2727
+ "propertyTypeTokenRange": {
2728
+ "startIndex": 1,
2729
+ "endIndex": 2
2730
+ },
2731
+ "isStatic": false,
2732
+ "isProtected": false,
2733
+ "isAbstract": false
2734
+ },
2735
+ {
2736
+ "kind": "Property",
2737
+ "canonicalReference": "@genesislcap/foundation-forms!Form#reviewIdField:member",
2738
+ "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",
2739
+ "excerptTokens": [
2740
+ {
2741
+ "kind": "Content",
2742
+ "text": "reviewIdField: "
2743
+ },
2744
+ {
2745
+ "kind": "Content",
2746
+ "text": "string"
2747
+ },
2748
+ {
2749
+ "kind": "Content",
2750
+ "text": ";"
2751
+ }
2752
+ ],
2753
+ "isReadonly": false,
2754
+ "isOptional": false,
2755
+ "releaseTag": "Public",
2756
+ "name": "reviewIdField",
2757
+ "propertyTypeTokenRange": {
2758
+ "startIndex": 1,
2759
+ "endIndex": 2
2760
+ },
2761
+ "isStatic": false,
2762
+ "isProtected": false,
2763
+ "isAbstract": false
2764
+ },
2615
2765
  {
2616
2766
  "kind": "Property",
2617
2767
  "canonicalReference": "@genesislcap/foundation-forms!Form#rowSubmitStatuses:member",
@@ -2716,6 +2866,66 @@
2716
2866
  "isProtected": false,
2717
2867
  "isAbstract": false
2718
2868
  },
2869
+ {
2870
+ "kind": "Property",
2871
+ "canonicalReference": "@genesislcap/foundation-forms!Form#showSubmitReview:member",
2872
+ "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",
2873
+ "excerptTokens": [
2874
+ {
2875
+ "kind": "Content",
2876
+ "text": "showSubmitReview: "
2877
+ },
2878
+ {
2879
+ "kind": "Content",
2880
+ "text": "boolean"
2881
+ },
2882
+ {
2883
+ "kind": "Content",
2884
+ "text": ";"
2885
+ }
2886
+ ],
2887
+ "isReadonly": false,
2888
+ "isOptional": false,
2889
+ "releaseTag": "Public",
2890
+ "name": "showSubmitReview",
2891
+ "propertyTypeTokenRange": {
2892
+ "startIndex": 1,
2893
+ "endIndex": 2
2894
+ },
2895
+ "isStatic": false,
2896
+ "isProtected": false,
2897
+ "isAbstract": false
2898
+ },
2899
+ {
2900
+ "kind": "Property",
2901
+ "canonicalReference": "@genesislcap/foundation-forms!Form#submitButtonText:member",
2902
+ "docComment": "/**\n * Text to appear on submit button @default Submit\n *\n * @public\n */\n",
2903
+ "excerptTokens": [
2904
+ {
2905
+ "kind": "Content",
2906
+ "text": "submitButtonText: "
2907
+ },
2908
+ {
2909
+ "kind": "Content",
2910
+ "text": "string"
2911
+ },
2912
+ {
2913
+ "kind": "Content",
2914
+ "text": ";"
2915
+ }
2916
+ ],
2917
+ "isReadonly": false,
2918
+ "isOptional": false,
2919
+ "releaseTag": "Public",
2920
+ "name": "submitButtonText",
2921
+ "propertyTypeTokenRange": {
2922
+ "startIndex": 1,
2923
+ "endIndex": 2
2924
+ },
2925
+ "isStatic": false,
2926
+ "isProtected": false,
2927
+ "isAbstract": false
2928
+ },
2719
2929
  {
2720
2930
  "kind": "Method",
2721
2931
  "canonicalReference": "@genesislcap/foundation-forms!Form#submitSingleRow:member(1)",
@@ -4356,6 +4566,224 @@
4356
4566
  "endIndex": 2
4357
4567
  }
4358
4568
  },
4569
+ {
4570
+ "kind": "Class",
4571
+ "canonicalReference": "@genesislcap/foundation-forms!Review:class",
4572
+ "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",
4573
+ "excerptTokens": [
4574
+ {
4575
+ "kind": "Content",
4576
+ "text": "export declare class Review extends "
4577
+ },
4578
+ {
4579
+ "kind": "Reference",
4580
+ "text": "FASTElement",
4581
+ "canonicalReference": "@microsoft/fast-element!FASTElement:interface"
4582
+ },
4583
+ {
4584
+ "kind": "Content",
4585
+ "text": " "
4586
+ }
4587
+ ],
4588
+ "fileUrlPath": "src/review.ts",
4589
+ "releaseTag": "Public",
4590
+ "isAbstract": false,
4591
+ "name": "Review",
4592
+ "preserveMemberOrder": false,
4593
+ "members": [
4594
+ {
4595
+ "kind": "Property",
4596
+ "canonicalReference": "@genesislcap/foundation-forms!Review#heading:member",
4597
+ "docComment": "/**\n * Title shown in the review header.\n *\n * @public\n */\n",
4598
+ "excerptTokens": [
4599
+ {
4600
+ "kind": "Content",
4601
+ "text": "heading: "
4602
+ },
4603
+ {
4604
+ "kind": "Content",
4605
+ "text": "string"
4606
+ },
4607
+ {
4608
+ "kind": "Content",
4609
+ "text": ";"
4610
+ }
4611
+ ],
4612
+ "isReadonly": false,
4613
+ "isOptional": false,
4614
+ "releaseTag": "Public",
4615
+ "name": "heading",
4616
+ "propertyTypeTokenRange": {
4617
+ "startIndex": 1,
4618
+ "endIndex": 2
4619
+ },
4620
+ "isStatic": false,
4621
+ "isProtected": false,
4622
+ "isAbstract": false
4623
+ },
4624
+ {
4625
+ "kind": "Property",
4626
+ "canonicalReference": "@genesislcap/foundation-forms!Review#prefix:member",
4627
+ "docComment": "",
4628
+ "excerptTokens": [
4629
+ {
4630
+ "kind": "Content",
4631
+ "text": "prefix: "
4632
+ },
4633
+ {
4634
+ "kind": "Content",
4635
+ "text": "string"
4636
+ },
4637
+ {
4638
+ "kind": "Content",
4639
+ "text": ";"
4640
+ }
4641
+ ],
4642
+ "isReadonly": false,
4643
+ "isOptional": false,
4644
+ "releaseTag": "Public",
4645
+ "name": "prefix",
4646
+ "propertyTypeTokenRange": {
4647
+ "startIndex": 1,
4648
+ "endIndex": 2
4649
+ },
4650
+ "isStatic": false,
4651
+ "isProtected": false,
4652
+ "isAbstract": false
4653
+ },
4654
+ {
4655
+ "kind": "Property",
4656
+ "canonicalReference": "@genesislcap/foundation-forms!Review#recordId:member",
4657
+ "docComment": "/**\n * Optional identifier shown next to the heading, e.g. a record's primary key.\n *\n * @public\n */\n",
4658
+ "excerptTokens": [
4659
+ {
4660
+ "kind": "Content",
4661
+ "text": "recordId: "
4662
+ },
4663
+ {
4664
+ "kind": "Content",
4665
+ "text": "string"
4666
+ },
4667
+ {
4668
+ "kind": "Content",
4669
+ "text": ";"
4670
+ }
4671
+ ],
4672
+ "isReadonly": false,
4673
+ "isOptional": false,
4674
+ "releaseTag": "Public",
4675
+ "name": "recordId",
4676
+ "propertyTypeTokenRange": {
4677
+ "startIndex": 1,
4678
+ "endIndex": 2
4679
+ },
4680
+ "isStatic": false,
4681
+ "isProtected": false,
4682
+ "isAbstract": false
4683
+ },
4684
+ {
4685
+ "kind": "Property",
4686
+ "canonicalReference": "@genesislcap/foundation-forms!Review#sections:member",
4687
+ "docComment": "/**\n * Sections of label/value pairs to render, grouped by their nearest UI schema `Group`.\n *\n * @public\n */\n",
4688
+ "excerptTokens": [
4689
+ {
4690
+ "kind": "Content",
4691
+ "text": "sections: "
4692
+ },
4693
+ {
4694
+ "kind": "Reference",
4695
+ "text": "ReviewSection",
4696
+ "canonicalReference": "@genesislcap/foundation-forms!ReviewSection:type"
4697
+ },
4698
+ {
4699
+ "kind": "Content",
4700
+ "text": "[]"
4701
+ },
4702
+ {
4703
+ "kind": "Content",
4704
+ "text": ";"
4705
+ }
4706
+ ],
4707
+ "isReadonly": false,
4708
+ "isOptional": false,
4709
+ "releaseTag": "Public",
4710
+ "name": "sections",
4711
+ "propertyTypeTokenRange": {
4712
+ "startIndex": 1,
4713
+ "endIndex": 3
4714
+ },
4715
+ "isStatic": false,
4716
+ "isProtected": false,
4717
+ "isAbstract": false
4718
+ }
4719
+ ],
4720
+ "extendsTokenRange": {
4721
+ "startIndex": 1,
4722
+ "endIndex": 2
4723
+ },
4724
+ "implementsTokenRanges": []
4725
+ },
4726
+ {
4727
+ "kind": "TypeAlias",
4728
+ "canonicalReference": "@genesislcap/foundation-forms!ReviewField:type",
4729
+ "docComment": "/**\n * @public\n */\n",
4730
+ "excerptTokens": [
4731
+ {
4732
+ "kind": "Content",
4733
+ "text": "export type ReviewField = "
4734
+ },
4735
+ {
4736
+ "kind": "Content",
4737
+ "text": "{\n label: string;\n value: string;\n}"
4738
+ },
4739
+ {
4740
+ "kind": "Content",
4741
+ "text": ";"
4742
+ }
4743
+ ],
4744
+ "fileUrlPath": "src/utils/review-utils.ts",
4745
+ "releaseTag": "Public",
4746
+ "name": "ReviewField",
4747
+ "typeTokenRange": {
4748
+ "startIndex": 1,
4749
+ "endIndex": 2
4750
+ }
4751
+ },
4752
+ {
4753
+ "kind": "TypeAlias",
4754
+ "canonicalReference": "@genesislcap/foundation-forms!ReviewSection:type",
4755
+ "docComment": "/**\n * @public\n */\n",
4756
+ "excerptTokens": [
4757
+ {
4758
+ "kind": "Content",
4759
+ "text": "export type ReviewSection = "
4760
+ },
4761
+ {
4762
+ "kind": "Content",
4763
+ "text": "{\n title: string | null;\n fields: "
4764
+ },
4765
+ {
4766
+ "kind": "Reference",
4767
+ "text": "ReviewField",
4768
+ "canonicalReference": "@genesislcap/foundation-forms!ReviewField:type"
4769
+ },
4770
+ {
4771
+ "kind": "Content",
4772
+ "text": "[];\n}"
4773
+ },
4774
+ {
4775
+ "kind": "Content",
4776
+ "text": ";"
4777
+ }
4778
+ ],
4779
+ "fileUrlPath": "src/utils/review-utils.ts",
4780
+ "releaseTag": "Public",
4781
+ "name": "ReviewSection",
4782
+ "typeTokenRange": {
4783
+ "startIndex": 1,
4784
+ "endIndex": 4
4785
+ }
4786
+ },
4359
4787
  {
4360
4788
  "kind": "TypeAlias",
4361
4789
  "canonicalReference": "@genesislcap/foundation-forms!RowStatusChangedEventDetail:type",