@genesislcap/foundation-forms 14.488.2-FUI-2571.3 → 14.488.2-GENC-1351.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1115 -1775
- package/dist/dts/form.d.ts +0 -77
- package/dist/dts/form.d.ts.map +1 -1
- package/dist/dts/form.styles.d.ts.map +1 -1
- package/dist/dts/form.template.d.ts.map +1 -1
- package/dist/dts/index.d.ts +0 -3
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/CategorizationWrapperRenderer.d.ts.map +1 -1
- package/dist/dts/react.d.ts +0 -10
- package/dist/dts/utils/index.d.ts +0 -1
- package/dist/dts/utils/index.d.ts.map +1 -1
- package/dist/dts/utils/schema-utils.d.ts +0 -12
- package/dist/dts/utils/schema-utils.d.ts.map +1 -1
- package/dist/esm/form.js +1 -120
- package/dist/esm/form.styles.js +2 -9
- package/dist/esm/form.template.js +24 -58
- package/dist/esm/index.js +0 -3
- package/dist/esm/jsonforms/renderers/CategorizationWrapperRenderer.js +45 -1
- package/dist/esm/utils/index.js +0 -1
- package/dist/esm/utils/schema-utils.js +0 -48
- package/dist/foundation-forms.api.json +112 -1227
- package/dist/foundation-forms.d.ts +0 -200
- package/dist/react.cjs +0 -7
- package/dist/react.mjs +0 -6
- package/package.json +15 -15
- package/dist/dts/review.d.ts +0 -34
- package/dist/dts/review.d.ts.map +0 -1
- package/dist/dts/review.styles.d.ts +0 -3
- package/dist/dts/review.styles.d.ts.map +0 -1
- package/dist/dts/review.template.d.ts +0 -6
- package/dist/dts/review.template.d.ts.map +0 -1
- package/dist/dts/utils/review-utils.d.ts +0 -73
- package/dist/dts/utils/review-utils.d.ts.map +0 -1
- package/dist/esm/review.js +0 -63
- package/dist/esm/review.styles.js +0 -93
- package/dist/esm/review.template.js +0 -38
- package/dist/esm/utils/review-utils.js +0 -269
|
@@ -191,36 +191,6 @@
|
|
|
191
191
|
"description": "When enabled, transforms the form into bulk insert mode where multiple records can be added.\nThe JSON schema will be wrapped as an array, and each item will be submitted separately.",
|
|
192
192
|
"privacy": "public"
|
|
193
193
|
},
|
|
194
|
-
{
|
|
195
|
-
"kind": "field",
|
|
196
|
-
"name": "submitButtonText",
|
|
197
|
-
"type": {
|
|
198
|
-
"text": "string"
|
|
199
|
-
},
|
|
200
|
-
"default": "'Submit'",
|
|
201
|
-
"description": "Text to appear on submit button",
|
|
202
|
-
"privacy": "public"
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"kind": "field",
|
|
206
|
-
"name": "bulkSubmitButtonText",
|
|
207
|
-
"type": {
|
|
208
|
-
"text": "string"
|
|
209
|
-
},
|
|
210
|
-
"default": "'Submit All'",
|
|
211
|
-
"description": "Text to appear on submit button in bulk insert mode",
|
|
212
|
-
"privacy": "public"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"kind": "field",
|
|
216
|
-
"name": "resetButtonText",
|
|
217
|
-
"type": {
|
|
218
|
-
"text": "string"
|
|
219
|
-
},
|
|
220
|
-
"default": "'Reset'",
|
|
221
|
-
"description": "Text to appear on reset button",
|
|
222
|
-
"privacy": "public"
|
|
223
|
-
},
|
|
224
194
|
{
|
|
225
195
|
"kind": "field",
|
|
226
196
|
"name": "bulkInsertMinItems",
|
|
@@ -240,44 +210,6 @@
|
|
|
240
210
|
"description": "Maximum number of items allowed in bulk insert mode. If not set, no maximum is enforced.",
|
|
241
211
|
"privacy": "public"
|
|
242
212
|
},
|
|
243
|
-
{
|
|
244
|
-
"kind": "field",
|
|
245
|
-
"name": "showSubmitReview",
|
|
246
|
-
"type": {
|
|
247
|
-
"text": "boolean"
|
|
248
|
-
},
|
|
249
|
-
"description": "When enabled, clicking submit with no validation errors shows a read-only preview\nof the form data before the final submission.",
|
|
250
|
-
"privacy": "public"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"kind": "field",
|
|
254
|
-
"name": "reviewButtonText",
|
|
255
|
-
"type": {
|
|
256
|
-
"text": "string"
|
|
257
|
-
},
|
|
258
|
-
"default": "'Review'",
|
|
259
|
-
"description": "Text to appear on reset button",
|
|
260
|
-
"privacy": "public"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"kind": "field",
|
|
264
|
-
"name": "reviewHeading",
|
|
265
|
-
"type": {
|
|
266
|
-
"text": "string"
|
|
267
|
-
},
|
|
268
|
-
"default": "'Review'",
|
|
269
|
-
"description": "Heading shown at the top of the review panel.",
|
|
270
|
-
"privacy": "public"
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"kind": "field",
|
|
274
|
-
"name": "reviewIdField",
|
|
275
|
-
"type": {
|
|
276
|
-
"text": "string"
|
|
277
|
-
},
|
|
278
|
-
"description": "Name of a top-level data field whose value is shown as an identifier next to the\nreview heading (e.g. a record's primary key). No identifier is shown when unset.",
|
|
279
|
-
"privacy": "public"
|
|
280
|
-
},
|
|
281
213
|
{
|
|
282
214
|
"kind": "field",
|
|
283
215
|
"name": "rowSubmitStatuses",
|
|
@@ -675,33 +607,6 @@
|
|
|
675
607
|
"description": "When enabled, transforms the form into bulk insert mode where multiple records can be added.\nThe JSON schema will be wrapped as an array, and each item will be submitted separately.",
|
|
676
608
|
"fieldName": "bulkInsert"
|
|
677
609
|
},
|
|
678
|
-
{
|
|
679
|
-
"name": "submit-button-text",
|
|
680
|
-
"type": {
|
|
681
|
-
"text": "string"
|
|
682
|
-
},
|
|
683
|
-
"default": "'Submit'",
|
|
684
|
-
"description": "Text to appear on submit button",
|
|
685
|
-
"fieldName": "submitButtonText"
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
"name": "bulk-submit-button-text",
|
|
689
|
-
"type": {
|
|
690
|
-
"text": "string"
|
|
691
|
-
},
|
|
692
|
-
"default": "'Submit All'",
|
|
693
|
-
"description": "Text to appear on submit button in bulk insert mode",
|
|
694
|
-
"fieldName": "bulkSubmitButtonText"
|
|
695
|
-
},
|
|
696
|
-
{
|
|
697
|
-
"name": "reset-button-text",
|
|
698
|
-
"type": {
|
|
699
|
-
"text": "string"
|
|
700
|
-
},
|
|
701
|
-
"default": "'Reset'",
|
|
702
|
-
"description": "Text to appear on reset button",
|
|
703
|
-
"fieldName": "resetButtonText"
|
|
704
|
-
},
|
|
705
610
|
{
|
|
706
611
|
"name": "bulk-insert-min-items",
|
|
707
612
|
"type": {
|
|
@@ -718,40 +623,6 @@
|
|
|
718
623
|
},
|
|
719
624
|
"description": "Maximum number of items allowed in bulk insert mode. If not set, no maximum is enforced.",
|
|
720
625
|
"fieldName": "bulkInsertMaxItems"
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
"name": "show-submit-review",
|
|
724
|
-
"type": {
|
|
725
|
-
"text": "boolean"
|
|
726
|
-
},
|
|
727
|
-
"description": "When enabled, clicking submit with no validation errors shows a read-only preview\nof the form data before the final submission.",
|
|
728
|
-
"fieldName": "showSubmitReview"
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
"name": "review-button-text",
|
|
732
|
-
"type": {
|
|
733
|
-
"text": "string"
|
|
734
|
-
},
|
|
735
|
-
"default": "'Review'",
|
|
736
|
-
"description": "Text to appear on reset button",
|
|
737
|
-
"fieldName": "reviewButtonText"
|
|
738
|
-
},
|
|
739
|
-
{
|
|
740
|
-
"name": "review-heading",
|
|
741
|
-
"type": {
|
|
742
|
-
"text": "string"
|
|
743
|
-
},
|
|
744
|
-
"default": "'Review'",
|
|
745
|
-
"description": "Heading shown at the top of the review panel.",
|
|
746
|
-
"fieldName": "reviewHeading"
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
"name": "review-id-field",
|
|
750
|
-
"type": {
|
|
751
|
-
"text": "string"
|
|
752
|
-
},
|
|
753
|
-
"description": "Name of a top-level data field whose value is shown as an identifier next to the\nreview heading (e.g. a record's primary key). No identifier is shown when unset.",
|
|
754
|
-
"fieldName": "reviewIdField"
|
|
755
626
|
}
|
|
756
627
|
],
|
|
757
628
|
"mixins": [
|
|
@@ -832,30 +703,6 @@
|
|
|
832
703
|
"package": "./form.template"
|
|
833
704
|
}
|
|
834
705
|
},
|
|
835
|
-
{
|
|
836
|
-
"kind": "js",
|
|
837
|
-
"name": "*",
|
|
838
|
-
"declaration": {
|
|
839
|
-
"name": "*",
|
|
840
|
-
"package": "./review"
|
|
841
|
-
}
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
"kind": "js",
|
|
845
|
-
"name": "*",
|
|
846
|
-
"declaration": {
|
|
847
|
-
"name": "*",
|
|
848
|
-
"package": "./review.styles"
|
|
849
|
-
}
|
|
850
|
-
},
|
|
851
|
-
{
|
|
852
|
-
"kind": "js",
|
|
853
|
-
"name": "*",
|
|
854
|
-
"declaration": {
|
|
855
|
-
"name": "*",
|
|
856
|
-
"package": "./review.template"
|
|
857
|
-
}
|
|
858
|
-
},
|
|
859
706
|
{
|
|
860
707
|
"kind": "js",
|
|
861
708
|
"name": "MulticolumnDropdownControlRendererEntry",
|
|
@@ -1028,119 +875,6 @@
|
|
|
1028
875
|
}
|
|
1029
876
|
]
|
|
1030
877
|
},
|
|
1031
|
-
{
|
|
1032
|
-
"kind": "javascript-module",
|
|
1033
|
-
"path": "src/review.styles.ts",
|
|
1034
|
-
"declarations": [],
|
|
1035
|
-
"exports": []
|
|
1036
|
-
},
|
|
1037
|
-
{
|
|
1038
|
-
"kind": "javascript-module",
|
|
1039
|
-
"path": "src/review.template.ts",
|
|
1040
|
-
"declarations": [],
|
|
1041
|
-
"exports": []
|
|
1042
|
-
},
|
|
1043
|
-
{
|
|
1044
|
-
"kind": "javascript-module",
|
|
1045
|
-
"path": "src/review.ts",
|
|
1046
|
-
"declarations": [
|
|
1047
|
-
{
|
|
1048
|
-
"kind": "class",
|
|
1049
|
-
"description": "Read-only preview panel shown by `<foundation-form>` when `show-submit-review` is enabled.\nRenders the reviewed data grouped into sections with a header and a filter field.",
|
|
1050
|
-
"name": "Review",
|
|
1051
|
-
"members": [
|
|
1052
|
-
{
|
|
1053
|
-
"kind": "field",
|
|
1054
|
-
"name": "prefix",
|
|
1055
|
-
"type": {
|
|
1056
|
-
"text": "string"
|
|
1057
|
-
},
|
|
1058
|
-
"default": "'rapid'"
|
|
1059
|
-
},
|
|
1060
|
-
{
|
|
1061
|
-
"kind": "field",
|
|
1062
|
-
"name": "heading",
|
|
1063
|
-
"type": {
|
|
1064
|
-
"text": "string"
|
|
1065
|
-
},
|
|
1066
|
-
"default": "'Review'",
|
|
1067
|
-
"description": "Title shown in the review header.",
|
|
1068
|
-
"privacy": "public"
|
|
1069
|
-
},
|
|
1070
|
-
{
|
|
1071
|
-
"kind": "field",
|
|
1072
|
-
"name": "recordId",
|
|
1073
|
-
"type": {
|
|
1074
|
-
"text": "string"
|
|
1075
|
-
},
|
|
1076
|
-
"description": "Optional identifier shown next to the heading, e.g. a record's primary key.",
|
|
1077
|
-
"privacy": "public"
|
|
1078
|
-
},
|
|
1079
|
-
{
|
|
1080
|
-
"kind": "field",
|
|
1081
|
-
"name": "sections",
|
|
1082
|
-
"type": {
|
|
1083
|
-
"text": "ReviewSection[]"
|
|
1084
|
-
},
|
|
1085
|
-
"default": "[]",
|
|
1086
|
-
"description": "Sections of label/value pairs to render, grouped by their nearest UI schema `Group`.",
|
|
1087
|
-
"privacy": "public"
|
|
1088
|
-
}
|
|
1089
|
-
],
|
|
1090
|
-
"attributes": [
|
|
1091
|
-
{
|
|
1092
|
-
"name": "design-system-prefix",
|
|
1093
|
-
"type": {
|
|
1094
|
-
"text": "string"
|
|
1095
|
-
},
|
|
1096
|
-
"default": "'rapid'",
|
|
1097
|
-
"fieldName": "prefix"
|
|
1098
|
-
},
|
|
1099
|
-
{
|
|
1100
|
-
"name": "heading",
|
|
1101
|
-
"type": {
|
|
1102
|
-
"text": "string"
|
|
1103
|
-
},
|
|
1104
|
-
"default": "'Review'",
|
|
1105
|
-
"description": "Title shown in the review header.",
|
|
1106
|
-
"fieldName": "heading"
|
|
1107
|
-
},
|
|
1108
|
-
{
|
|
1109
|
-
"name": "record-id",
|
|
1110
|
-
"type": {
|
|
1111
|
-
"text": "string"
|
|
1112
|
-
},
|
|
1113
|
-
"description": "Optional identifier shown next to the heading, e.g. a record's primary key.",
|
|
1114
|
-
"fieldName": "recordId"
|
|
1115
|
-
}
|
|
1116
|
-
],
|
|
1117
|
-
"superclass": {
|
|
1118
|
-
"name": "FASTElement",
|
|
1119
|
-
"package": "@microsoft/fast-element"
|
|
1120
|
-
},
|
|
1121
|
-
"tagName": "foundation-form-review",
|
|
1122
|
-
"customElement": true
|
|
1123
|
-
}
|
|
1124
|
-
],
|
|
1125
|
-
"exports": [
|
|
1126
|
-
{
|
|
1127
|
-
"kind": "js",
|
|
1128
|
-
"name": "Review",
|
|
1129
|
-
"declaration": {
|
|
1130
|
-
"name": "Review",
|
|
1131
|
-
"module": "src/review.ts"
|
|
1132
|
-
}
|
|
1133
|
-
},
|
|
1134
|
-
{
|
|
1135
|
-
"kind": "custom-element-definition",
|
|
1136
|
-
"name": "foundation-form-review",
|
|
1137
|
-
"declaration": {
|
|
1138
|
-
"name": "Review",
|
|
1139
|
-
"module": "src/review.ts"
|
|
1140
|
-
}
|
|
1141
|
-
}
|
|
1142
|
-
]
|
|
1143
|
-
},
|
|
1144
878
|
{
|
|
1145
879
|
"kind": "javascript-module",
|
|
1146
880
|
"path": "src/types.ts",
|
|
@@ -2045,472 +1779,453 @@
|
|
|
2045
1779
|
},
|
|
2046
1780
|
{
|
|
2047
1781
|
"kind": "javascript-module",
|
|
2048
|
-
"path": "src/
|
|
1782
|
+
"path": "src/utils/confirmation-dialog-utils.ts",
|
|
1783
|
+
"declarations": [],
|
|
1784
|
+
"exports": []
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
"kind": "javascript-module",
|
|
1788
|
+
"path": "src/utils/csv-parser.ts",
|
|
2049
1789
|
"declarations": [
|
|
2050
1790
|
{
|
|
2051
1791
|
"kind": "function",
|
|
2052
|
-
"name": "
|
|
1792
|
+
"name": "parseCsv",
|
|
1793
|
+
"return": {
|
|
1794
|
+
"type": {
|
|
1795
|
+
"text": ""
|
|
1796
|
+
}
|
|
1797
|
+
},
|
|
2053
1798
|
"parameters": [
|
|
2054
1799
|
{
|
|
2055
|
-
"name": "
|
|
2056
|
-
"default": "'zero'",
|
|
1800
|
+
"name": "content",
|
|
2057
1801
|
"type": {
|
|
2058
1802
|
"text": "string"
|
|
2059
|
-
}
|
|
1803
|
+
},
|
|
1804
|
+
"description": "The CSV content as a string"
|
|
2060
1805
|
}
|
|
2061
|
-
]
|
|
1806
|
+
],
|
|
1807
|
+
"description": "Parses a CSV string into headers and rows using PapaParse.\nHandles quoted fields, escaped quotes, empty values, and mixed line endings.",
|
|
1808
|
+
"privacy": "public"
|
|
2062
1809
|
},
|
|
2063
1810
|
{
|
|
2064
|
-
"kind": "
|
|
2065
|
-
"
|
|
2066
|
-
"
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
{
|
|
2073
|
-
"kind": "field",
|
|
2074
|
-
"name": "control"
|
|
2075
|
-
},
|
|
2076
|
-
{
|
|
2077
|
-
"kind": "field",
|
|
2078
|
-
"name": "schema"
|
|
2079
|
-
},
|
|
2080
|
-
{
|
|
2081
|
-
"kind": "field",
|
|
2082
|
-
"name": "uiSchema"
|
|
2083
|
-
},
|
|
1811
|
+
"kind": "function",
|
|
1812
|
+
"name": "mapCsvToSchema",
|
|
1813
|
+
"return": {
|
|
1814
|
+
"type": {
|
|
1815
|
+
"text": ""
|
|
1816
|
+
}
|
|
1817
|
+
},
|
|
1818
|
+
"parameters": [
|
|
2084
1819
|
{
|
|
2085
|
-
"
|
|
2086
|
-
"name": "isGridView",
|
|
1820
|
+
"name": "csvRows",
|
|
2087
1821
|
"type": {
|
|
2088
|
-
"text": "
|
|
1822
|
+
"text": "Record<string, string>[]"
|
|
2089
1823
|
},
|
|
2090
|
-
"
|
|
1824
|
+
"description": "The parsed CSV rows"
|
|
2091
1825
|
},
|
|
2092
1826
|
{
|
|
2093
|
-
"
|
|
2094
|
-
"name": "gridViewHeaderCells",
|
|
1827
|
+
"name": "schema",
|
|
2095
1828
|
"type": {
|
|
2096
|
-
"text": "
|
|
1829
|
+
"text": "JSONSchema7 | undefined"
|
|
2097
1830
|
},
|
|
2098
|
-
"
|
|
1831
|
+
"description": "The JSON schema defining the fields"
|
|
2099
1832
|
},
|
|
2100
1833
|
{
|
|
2101
|
-
"
|
|
2102
|
-
"
|
|
1834
|
+
"name": "uiSchema",
|
|
1835
|
+
"optional": true,
|
|
2103
1836
|
"type": {
|
|
2104
|
-
"text": "
|
|
1837
|
+
"text": "UiSchema"
|
|
2105
1838
|
},
|
|
2106
|
-
"
|
|
2107
|
-
}
|
|
1839
|
+
"description": "Optional UI schema to map labels to field names on import"
|
|
1840
|
+
}
|
|
1841
|
+
],
|
|
1842
|
+
"description": "Maps CSV rows to schema fields with case-insensitive matching.\nWhen uiSchema is provided, CSV headers can also match UI schema labels.\nConverts values to appropriate types based on schema definition.",
|
|
1843
|
+
"privacy": "public"
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
"kind": "function",
|
|
1847
|
+
"name": "generateCsvTemplate",
|
|
1848
|
+
"return": {
|
|
1849
|
+
"type": {
|
|
1850
|
+
"text": ""
|
|
1851
|
+
}
|
|
1852
|
+
},
|
|
1853
|
+
"parameters": [
|
|
2108
1854
|
{
|
|
2109
|
-
"
|
|
2110
|
-
"
|
|
1855
|
+
"name": "schema",
|
|
1856
|
+
"type": {
|
|
1857
|
+
"text": "JSONSchema7 | undefined"
|
|
1858
|
+
},
|
|
1859
|
+
"description": "The JSON schema defining the fields"
|
|
2111
1860
|
},
|
|
2112
1861
|
{
|
|
2113
|
-
"
|
|
2114
|
-
"
|
|
1862
|
+
"name": "uiSchema",
|
|
1863
|
+
"optional": true,
|
|
1864
|
+
"type": {
|
|
1865
|
+
"text": "UiSchema"
|
|
1866
|
+
},
|
|
1867
|
+
"description": "Optional UI schema to determine field order and visibility"
|
|
2115
1868
|
},
|
|
2116
1869
|
{
|
|
2117
|
-
"
|
|
2118
|
-
"
|
|
2119
|
-
"
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
"text": "number"
|
|
2124
|
-
}
|
|
2125
|
-
}
|
|
2126
|
-
]
|
|
1870
|
+
"name": "includeOptionalFields",
|
|
1871
|
+
"default": "true",
|
|
1872
|
+
"type": {
|
|
1873
|
+
"text": "boolean"
|
|
1874
|
+
},
|
|
1875
|
+
"description": "Whether to include optional fields when no UI schema (default: true)"
|
|
2127
1876
|
},
|
|
2128
1877
|
{
|
|
2129
|
-
"
|
|
2130
|
-
"
|
|
2131
|
-
"
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
"text": "number"
|
|
2136
|
-
},
|
|
2137
|
-
"description": "The row index to submit"
|
|
2138
|
-
}
|
|
2139
|
-
],
|
|
2140
|
-
"description": "Submits a single row by emitting an event that bubbles up to the foundation-form."
|
|
1878
|
+
"name": "includeBom",
|
|
1879
|
+
"default": "true",
|
|
1880
|
+
"type": {
|
|
1881
|
+
"text": "boolean"
|
|
1882
|
+
},
|
|
1883
|
+
"description": "Whether to prepend UTF-8 BOM for Excel compatibility (default: true)"
|
|
2141
1884
|
}
|
|
2142
1885
|
],
|
|
2143
|
-
"
|
|
2144
|
-
|
|
2145
|
-
|
|
1886
|
+
"description": "Generates a CSV template string with headers and sample data based on JSON schema.\nIf a UI schema is provided, it will be used to determine which fields to include\nand in what order. Hidden fields in the UI schema will be excluded.",
|
|
1887
|
+
"privacy": "public"
|
|
1888
|
+
},
|
|
1889
|
+
{
|
|
1890
|
+
"kind": "function",
|
|
1891
|
+
"name": "downloadCsvTemplate",
|
|
1892
|
+
"return": {
|
|
1893
|
+
"type": {
|
|
1894
|
+
"text": "void"
|
|
1895
|
+
}
|
|
2146
1896
|
},
|
|
2147
|
-
"
|
|
2148
|
-
|
|
1897
|
+
"parameters": [
|
|
1898
|
+
{
|
|
1899
|
+
"name": "csvContent",
|
|
1900
|
+
"type": {
|
|
1901
|
+
"text": "string"
|
|
1902
|
+
},
|
|
1903
|
+
"description": "The CSV content to download"
|
|
1904
|
+
},
|
|
1905
|
+
{
|
|
1906
|
+
"name": "fileName",
|
|
1907
|
+
"default": "'template.csv'",
|
|
1908
|
+
"type": {
|
|
1909
|
+
"text": "string"
|
|
1910
|
+
},
|
|
1911
|
+
"description": "The name for the downloaded file (default: 'template.csv')"
|
|
1912
|
+
}
|
|
1913
|
+
],
|
|
1914
|
+
"description": "Triggers a download of the CSV template file in the browser.",
|
|
1915
|
+
"privacy": "public"
|
|
2149
1916
|
}
|
|
2150
1917
|
],
|
|
2151
1918
|
"exports": [
|
|
2152
1919
|
{
|
|
2153
1920
|
"kind": "js",
|
|
2154
|
-
"name": "
|
|
1921
|
+
"name": "parseCsv",
|
|
2155
1922
|
"declaration": {
|
|
2156
|
-
"name": "
|
|
2157
|
-
"module": "src/
|
|
1923
|
+
"name": "parseCsv",
|
|
1924
|
+
"module": "src/utils/csv-parser.ts"
|
|
2158
1925
|
}
|
|
2159
1926
|
},
|
|
2160
1927
|
{
|
|
2161
1928
|
"kind": "js",
|
|
2162
|
-
"name": "
|
|
2163
|
-
"declaration": {
|
|
2164
|
-
"name": "ArrayListWrapper",
|
|
2165
|
-
"module": "src/jsonforms/renderers/ArrayListWrapperRenderer.ts"
|
|
2166
|
-
}
|
|
2167
|
-
},
|
|
2168
|
-
{
|
|
2169
|
-
"kind": "custom-element-definition",
|
|
2170
|
-
"name": "array-list-wrapper",
|
|
1929
|
+
"name": "mapCsvToSchema",
|
|
2171
1930
|
"declaration": {
|
|
2172
|
-
"name": "
|
|
2173
|
-
"module": "src/
|
|
1931
|
+
"name": "mapCsvToSchema",
|
|
1932
|
+
"module": "src/utils/csv-parser.ts"
|
|
2174
1933
|
}
|
|
2175
|
-
}
|
|
2176
|
-
]
|
|
2177
|
-
},
|
|
2178
|
-
{
|
|
2179
|
-
"kind": "javascript-module",
|
|
2180
|
-
"path": "src/jsonforms/renderers/BooleanControlRenderer.ts",
|
|
2181
|
-
"declarations": [
|
|
2182
|
-
{
|
|
2183
|
-
"kind": "function",
|
|
2184
|
-
"name": "BooleanControlRendererTemplate",
|
|
2185
|
-
"parameters": [
|
|
2186
|
-
{
|
|
2187
|
-
"name": "prefix",
|
|
2188
|
-
"default": "'zero'",
|
|
2189
|
-
"type": {
|
|
2190
|
-
"text": "string"
|
|
2191
|
-
}
|
|
2192
|
-
}
|
|
2193
|
-
]
|
|
2194
1934
|
},
|
|
2195
|
-
{
|
|
2196
|
-
"kind": "variable",
|
|
2197
|
-
"name": "BooleanControlEntry",
|
|
2198
|
-
"type": {
|
|
2199
|
-
"text": "RendererEntry"
|
|
2200
|
-
},
|
|
2201
|
-
"default": "{\n renderer: html<DispatchRenderer>`\n ${(x) => BooleanControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(BOOLEAN_CONTROL_RANK, isOneOfBoolean),\n mapper: mapStateToControlProps,\n}"
|
|
2202
|
-
}
|
|
2203
|
-
],
|
|
2204
|
-
"exports": [
|
|
2205
1935
|
{
|
|
2206
1936
|
"kind": "js",
|
|
2207
|
-
"name": "
|
|
1937
|
+
"name": "generateCsvTemplate",
|
|
2208
1938
|
"declaration": {
|
|
2209
|
-
"name": "
|
|
2210
|
-
"module": "src/
|
|
1939
|
+
"name": "generateCsvTemplate",
|
|
1940
|
+
"module": "src/utils/csv-parser.ts"
|
|
2211
1941
|
}
|
|
2212
1942
|
},
|
|
2213
1943
|
{
|
|
2214
1944
|
"kind": "js",
|
|
2215
|
-
"name": "
|
|
1945
|
+
"name": "downloadCsvTemplate",
|
|
2216
1946
|
"declaration": {
|
|
2217
|
-
"name": "
|
|
2218
|
-
"module": "src/
|
|
1947
|
+
"name": "downloadCsvTemplate",
|
|
1948
|
+
"module": "src/utils/csv-parser.ts"
|
|
2219
1949
|
}
|
|
2220
1950
|
}
|
|
2221
1951
|
]
|
|
2222
1952
|
},
|
|
2223
1953
|
{
|
|
2224
1954
|
"kind": "javascript-module",
|
|
2225
|
-
"path": "src/
|
|
1955
|
+
"path": "src/utils/filters.ts",
|
|
1956
|
+
"declarations": [],
|
|
1957
|
+
"exports": []
|
|
1958
|
+
},
|
|
1959
|
+
{
|
|
1960
|
+
"kind": "javascript-module",
|
|
1961
|
+
"path": "src/utils/form-utils.ts",
|
|
2226
1962
|
"declarations": [
|
|
2227
1963
|
{
|
|
2228
1964
|
"kind": "function",
|
|
2229
|
-
"name": "
|
|
1965
|
+
"name": "removeDataPropertiesNotInSchema",
|
|
2230
1966
|
"return": {
|
|
2231
1967
|
"type": {
|
|
2232
|
-
"text": "
|
|
1968
|
+
"text": ""
|
|
2233
1969
|
}
|
|
2234
1970
|
},
|
|
2235
1971
|
"parameters": [
|
|
2236
1972
|
{
|
|
2237
|
-
"name": "
|
|
1973
|
+
"name": "data",
|
|
2238
1974
|
"type": {
|
|
2239
|
-
"text": "
|
|
2240
|
-
}
|
|
1975
|
+
"text": "any"
|
|
1976
|
+
},
|
|
1977
|
+
"description": "The data object to clean"
|
|
2241
1978
|
},
|
|
2242
1979
|
{
|
|
2243
|
-
"name": "
|
|
1980
|
+
"name": "jsonSchema",
|
|
2244
1981
|
"type": {
|
|
2245
|
-
"text": "
|
|
2246
|
-
}
|
|
1982
|
+
"text": "JSONSchema7"
|
|
1983
|
+
},
|
|
1984
|
+
"description": "The JSON schema to validate against"
|
|
2247
1985
|
}
|
|
2248
|
-
]
|
|
1986
|
+
],
|
|
1987
|
+
"description": "Removes data properties that aren't part of the schema"
|
|
1988
|
+
}
|
|
1989
|
+
],
|
|
1990
|
+
"exports": [
|
|
1991
|
+
{
|
|
1992
|
+
"kind": "js",
|
|
1993
|
+
"name": "removeDataPropertiesNotInSchema",
|
|
1994
|
+
"declaration": {
|
|
1995
|
+
"name": "removeDataPropertiesNotInSchema",
|
|
1996
|
+
"module": "src/utils/form-utils.ts"
|
|
1997
|
+
}
|
|
1998
|
+
}
|
|
1999
|
+
]
|
|
2000
|
+
},
|
|
2001
|
+
{
|
|
2002
|
+
"kind": "javascript-module",
|
|
2003
|
+
"path": "src/utils/index.ts",
|
|
2004
|
+
"declarations": [],
|
|
2005
|
+
"exports": [
|
|
2006
|
+
{
|
|
2007
|
+
"kind": "js",
|
|
2008
|
+
"name": "*",
|
|
2009
|
+
"declaration": {
|
|
2010
|
+
"name": "*",
|
|
2011
|
+
"package": "./csv-parser"
|
|
2012
|
+
}
|
|
2249
2013
|
},
|
|
2250
2014
|
{
|
|
2251
|
-
"kind": "
|
|
2252
|
-
"name": "
|
|
2253
|
-
"
|
|
2015
|
+
"kind": "js",
|
|
2016
|
+
"name": "*",
|
|
2017
|
+
"declaration": {
|
|
2018
|
+
"name": "*",
|
|
2019
|
+
"package": "./filters"
|
|
2020
|
+
}
|
|
2254
2021
|
},
|
|
2255
2022
|
{
|
|
2256
|
-
"kind": "
|
|
2257
|
-
"name": "
|
|
2258
|
-
"
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
}
|
|
2263
|
-
]
|
|
2023
|
+
"kind": "js",
|
|
2024
|
+
"name": "*",
|
|
2025
|
+
"declaration": {
|
|
2026
|
+
"name": "*",
|
|
2027
|
+
"package": "./logger"
|
|
2028
|
+
}
|
|
2264
2029
|
},
|
|
2265
|
-
{
|
|
2266
|
-
"kind": "class",
|
|
2267
|
-
"description": "",
|
|
2268
|
-
"name": "CategorizationWrapper",
|
|
2269
|
-
"members": [
|
|
2270
|
-
{
|
|
2271
|
-
"kind": "field",
|
|
2272
|
-
"name": "form"
|
|
2273
|
-
},
|
|
2274
|
-
{
|
|
2275
|
-
"kind": "field",
|
|
2276
|
-
"name": "control"
|
|
2277
|
-
},
|
|
2278
|
-
{
|
|
2279
|
-
"kind": "field",
|
|
2280
|
-
"name": "mountedTabs",
|
|
2281
|
-
"type": {
|
|
2282
|
-
"text": "Set<number>"
|
|
2283
|
-
},
|
|
2284
|
-
"default": "new Set([0])"
|
|
2285
|
-
},
|
|
2286
|
-
{
|
|
2287
|
-
"kind": "field",
|
|
2288
|
-
"name": "activeTabIndex",
|
|
2289
|
-
"type": {
|
|
2290
|
-
"text": "number"
|
|
2291
|
-
},
|
|
2292
|
-
"default": "0"
|
|
2293
|
-
},
|
|
2294
|
-
{
|
|
2295
|
-
"kind": "field",
|
|
2296
|
-
"name": "hasAppliedActiveCategory",
|
|
2297
|
-
"type": {
|
|
2298
|
-
"text": "boolean"
|
|
2299
|
-
},
|
|
2300
|
-
"privacy": "private",
|
|
2301
|
-
"default": "false",
|
|
2302
|
-
"description": "`control` is rebuilt from scratch on every JSONForms state change (every\nkeystroke, validation pass, async default-data update), so `controlChanged`\nfires repeatedly throughout the form's life — not just on first paint.\nApplying `activeCategory` each time would yank the user back to the\nconfigured tab mid-edit (and unmount the open panel). This flag ensures the\ninitial tab is applied once; thereafter the user's own navigation wins."
|
|
2303
|
-
},
|
|
2304
|
-
{
|
|
2305
|
-
"kind": "method",
|
|
2306
|
-
"name": "controlChanged"
|
|
2307
|
-
},
|
|
2308
|
-
{
|
|
2309
|
-
"kind": "method",
|
|
2310
|
-
"name": "isMounted",
|
|
2311
|
-
"return": {
|
|
2312
|
-
"type": {
|
|
2313
|
-
"text": "boolean"
|
|
2314
|
-
}
|
|
2315
|
-
},
|
|
2316
|
-
"parameters": [
|
|
2317
|
-
{
|
|
2318
|
-
"name": "index",
|
|
2319
|
-
"type": {
|
|
2320
|
-
"text": "number"
|
|
2321
|
-
}
|
|
2322
|
-
}
|
|
2323
|
-
]
|
|
2324
|
-
},
|
|
2325
|
-
{
|
|
2326
|
-
"kind": "method",
|
|
2327
|
-
"name": "handleTabChange",
|
|
2328
|
-
"parameters": [
|
|
2329
|
-
{
|
|
2330
|
-
"name": "event",
|
|
2331
|
-
"type": {
|
|
2332
|
-
"text": "Event"
|
|
2333
|
-
}
|
|
2334
|
-
}
|
|
2335
|
-
]
|
|
2336
|
-
},
|
|
2337
|
-
{
|
|
2338
|
-
"kind": "method",
|
|
2339
|
-
"name": "hasCategoryError",
|
|
2340
|
-
"return": {
|
|
2341
|
-
"type": {
|
|
2342
|
-
"text": "boolean"
|
|
2343
|
-
}
|
|
2344
|
-
},
|
|
2345
|
-
"parameters": [
|
|
2346
|
-
{
|
|
2347
|
-
"name": "categoryIndex",
|
|
2348
|
-
"type": {
|
|
2349
|
-
"text": "number"
|
|
2350
|
-
}
|
|
2351
|
-
}
|
|
2352
|
-
]
|
|
2353
|
-
}
|
|
2354
|
-
],
|
|
2355
|
-
"superclass": {
|
|
2356
|
-
"name": "FASTElement",
|
|
2357
|
-
"package": "@microsoft/fast-element"
|
|
2358
|
-
},
|
|
2359
|
-
"tagName": "categorization-wrapper",
|
|
2360
|
-
"customElement": true
|
|
2361
|
-
}
|
|
2362
|
-
],
|
|
2363
|
-
"exports": [
|
|
2364
2030
|
{
|
|
2365
2031
|
"kind": "js",
|
|
2366
|
-
"name": "
|
|
2032
|
+
"name": "*",
|
|
2367
2033
|
"declaration": {
|
|
2368
|
-
"name": "
|
|
2369
|
-
"
|
|
2034
|
+
"name": "*",
|
|
2035
|
+
"package": "./translation"
|
|
2370
2036
|
}
|
|
2371
2037
|
},
|
|
2372
2038
|
{
|
|
2373
2039
|
"kind": "js",
|
|
2374
|
-
"name": "
|
|
2040
|
+
"name": "*",
|
|
2375
2041
|
"declaration": {
|
|
2376
|
-
"name": "
|
|
2377
|
-
"
|
|
2042
|
+
"name": "*",
|
|
2043
|
+
"package": "./validation"
|
|
2378
2044
|
}
|
|
2379
2045
|
},
|
|
2380
2046
|
{
|
|
2381
2047
|
"kind": "js",
|
|
2382
|
-
"name": "
|
|
2048
|
+
"name": "*",
|
|
2383
2049
|
"declaration": {
|
|
2384
|
-
"name": "
|
|
2385
|
-
"
|
|
2050
|
+
"name": "*",
|
|
2051
|
+
"package": "./server-errors"
|
|
2386
2052
|
}
|
|
2387
2053
|
},
|
|
2388
2054
|
{
|
|
2389
2055
|
"kind": "js",
|
|
2390
|
-
"name": "
|
|
2391
|
-
"declaration": {
|
|
2392
|
-
"name": "CategorizationWrapper",
|
|
2393
|
-
"module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
|
|
2394
|
-
}
|
|
2395
|
-
},
|
|
2396
|
-
{
|
|
2397
|
-
"kind": "custom-element-definition",
|
|
2398
|
-
"name": "categorization-wrapper",
|
|
2056
|
+
"name": "*",
|
|
2399
2057
|
"declaration": {
|
|
2400
|
-
"name": "
|
|
2401
|
-
"
|
|
2058
|
+
"name": "*",
|
|
2059
|
+
"package": "./types"
|
|
2402
2060
|
}
|
|
2403
2061
|
}
|
|
2404
2062
|
]
|
|
2405
2063
|
},
|
|
2406
2064
|
{
|
|
2407
2065
|
"kind": "javascript-module",
|
|
2408
|
-
"path": "src/
|
|
2066
|
+
"path": "src/utils/logger.ts",
|
|
2067
|
+
"declarations": [],
|
|
2068
|
+
"exports": []
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
"kind": "javascript-module",
|
|
2072
|
+
"path": "src/utils/schema-utils.ts",
|
|
2073
|
+
"declarations": [],
|
|
2074
|
+
"exports": []
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
"kind": "javascript-module",
|
|
2078
|
+
"path": "src/utils/server-errors.ts",
|
|
2409
2079
|
"declarations": [
|
|
2410
2080
|
{
|
|
2411
2081
|
"kind": "function",
|
|
2412
|
-
"name": "
|
|
2082
|
+
"name": "mapGenesisFieldErrorsToAdditionalErrors",
|
|
2413
2083
|
"return": {
|
|
2414
2084
|
"type": {
|
|
2415
|
-
"text": "
|
|
2085
|
+
"text": "ErrorObject[]"
|
|
2416
2086
|
}
|
|
2417
2087
|
},
|
|
2418
2088
|
"parameters": [
|
|
2419
2089
|
{
|
|
2420
|
-
"name": "
|
|
2090
|
+
"name": "errors",
|
|
2421
2091
|
"type": {
|
|
2422
|
-
"text": "
|
|
2423
|
-
}
|
|
2092
|
+
"text": "GenesisFieldError[] | undefined"
|
|
2093
|
+
},
|
|
2094
|
+
"description": "Genesis ERROR array from an EVENT_NACK response"
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
"name": "schema",
|
|
2098
|
+
"optional": true,
|
|
2099
|
+
"type": {
|
|
2100
|
+
"text": "JSONSchema7"
|
|
2101
|
+
},
|
|
2102
|
+
"description": "JSON schema used to resolve `parentSchema` for each field"
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
"name": "instancePathPrefix",
|
|
2106
|
+
"optional": true,
|
|
2107
|
+
"type": {
|
|
2108
|
+
"text": "string"
|
|
2109
|
+
},
|
|
2110
|
+
"description": "Optional prefix for bulk-insert rows (e.g. `/items/0`)"
|
|
2424
2111
|
}
|
|
2425
|
-
]
|
|
2112
|
+
],
|
|
2113
|
+
"description": "Maps Genesis commitEvent NACK `ERROR[]` entries to JsonForms `ErrorObject[]`\nsuitable for `additionalErrors` on the form core.\n\nOnly entries with a `FIELD` or `PATH` are mapped; generic errors (no field\nassociation) are omitted so callers can still surface them via toast/dialog.",
|
|
2114
|
+
"privacy": "public"
|
|
2115
|
+
}
|
|
2116
|
+
],
|
|
2117
|
+
"exports": [
|
|
2118
|
+
{
|
|
2119
|
+
"kind": "js",
|
|
2120
|
+
"name": "mapGenesisFieldErrorsToAdditionalErrors",
|
|
2121
|
+
"declaration": {
|
|
2122
|
+
"name": "mapGenesisFieldErrorsToAdditionalErrors",
|
|
2123
|
+
"module": "src/utils/server-errors.ts"
|
|
2124
|
+
}
|
|
2125
|
+
}
|
|
2126
|
+
]
|
|
2127
|
+
},
|
|
2128
|
+
{
|
|
2129
|
+
"kind": "javascript-module",
|
|
2130
|
+
"path": "src/utils/translation.ts",
|
|
2131
|
+
"declarations": [],
|
|
2132
|
+
"exports": []
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
"kind": "javascript-module",
|
|
2136
|
+
"path": "src/utils/types.ts",
|
|
2137
|
+
"declarations": [],
|
|
2138
|
+
"exports": []
|
|
2139
|
+
},
|
|
2140
|
+
{
|
|
2141
|
+
"kind": "javascript-module",
|
|
2142
|
+
"path": "src/utils/validation.ts",
|
|
2143
|
+
"declarations": [
|
|
2144
|
+
{
|
|
2145
|
+
"kind": "function",
|
|
2146
|
+
"name": "mustMatch",
|
|
2147
|
+
"parameters": [
|
|
2148
|
+
{
|
|
2149
|
+
"name": "target",
|
|
2150
|
+
"type": {
|
|
2151
|
+
"text": "string"
|
|
2152
|
+
},
|
|
2153
|
+
"description": "any other field"
|
|
2154
|
+
}
|
|
2155
|
+
],
|
|
2156
|
+
"description": "Ensures the value of the current field (the one the validator is on) matches the one of the target field.",
|
|
2157
|
+
"return": {
|
|
2158
|
+
"type": {
|
|
2159
|
+
"text": ""
|
|
2160
|
+
}
|
|
2161
|
+
},
|
|
2162
|
+
"privacy": "public"
|
|
2426
2163
|
},
|
|
2427
2164
|
{
|
|
2428
2165
|
"kind": "function",
|
|
2429
|
-
"name": "
|
|
2166
|
+
"name": "getAnyOfErrorMessage",
|
|
2430
2167
|
"return": {
|
|
2431
2168
|
"type": {
|
|
2432
|
-
"text": "
|
|
2169
|
+
"text": "string"
|
|
2433
2170
|
}
|
|
2434
2171
|
},
|
|
2435
2172
|
"parameters": [
|
|
2436
2173
|
{
|
|
2437
|
-
"name": "
|
|
2174
|
+
"name": "errors",
|
|
2438
2175
|
"type": {
|
|
2439
|
-
"text": "any"
|
|
2176
|
+
"text": "Array<any> | undefined"
|
|
2440
2177
|
}
|
|
2441
2178
|
},
|
|
2442
2179
|
{
|
|
2443
|
-
"name": "
|
|
2180
|
+
"name": "schema",
|
|
2444
2181
|
"type": {
|
|
2445
2182
|
"text": "any"
|
|
2446
2183
|
}
|
|
2447
|
-
}
|
|
2448
|
-
]
|
|
2449
|
-
},
|
|
2450
|
-
{
|
|
2451
|
-
"kind": "function",
|
|
2452
|
-
"name": "ConnectedMultiselectControlRendererTemplate",
|
|
2453
|
-
"parameters": [
|
|
2184
|
+
},
|
|
2454
2185
|
{
|
|
2455
|
-
"name": "
|
|
2456
|
-
"
|
|
2186
|
+
"name": "controlPath",
|
|
2187
|
+
"type": {
|
|
2188
|
+
"text": "string | undefined"
|
|
2189
|
+
}
|
|
2190
|
+
},
|
|
2191
|
+
{
|
|
2192
|
+
"name": "uiCustomMsg",
|
|
2193
|
+
"optional": true,
|
|
2457
2194
|
"type": {
|
|
2458
2195
|
"text": "string"
|
|
2459
2196
|
}
|
|
2460
2197
|
}
|
|
2461
|
-
]
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
"kind": "variable",
|
|
2465
|
-
"name": "ConnectedMultiselectControlRendererEntry",
|
|
2466
|
-
"type": {
|
|
2467
|
-
"text": "RendererEntry"
|
|
2468
|
-
},
|
|
2469
|
-
"default": "{\n renderer: html<DispatchRenderer>`\n ${(x) => ConnectedMultiselectControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(MULTISELECT_CONTROL_RANK, isOneOfOptionMultiselect),\n mapper: mapStateToControlProps,\n}"
|
|
2198
|
+
],
|
|
2199
|
+
"description": "Computes a human-friendly anyOf error message for a given control path.\nPrefers UI schema custom message, then JSON schema errorMessage.anyOf, then a constructed fallback.",
|
|
2200
|
+
"privacy": "public"
|
|
2470
2201
|
}
|
|
2471
2202
|
],
|
|
2472
2203
|
"exports": [
|
|
2473
2204
|
{
|
|
2474
2205
|
"kind": "js",
|
|
2475
|
-
"name": "
|
|
2206
|
+
"name": "mustMatch",
|
|
2476
2207
|
"declaration": {
|
|
2477
|
-
"name": "
|
|
2478
|
-
"module": "src/
|
|
2479
|
-
}
|
|
2480
|
-
},
|
|
2481
|
-
{
|
|
2482
|
-
"kind": "js",
|
|
2483
|
-
"name": "resolveSelectionValue",
|
|
2484
|
-
"declaration": {
|
|
2485
|
-
"name": "resolveSelectionValue",
|
|
2486
|
-
"module": "src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts"
|
|
2487
|
-
}
|
|
2488
|
-
},
|
|
2489
|
-
{
|
|
2490
|
-
"kind": "js",
|
|
2491
|
-
"name": "ConnectedMultiselectControlRendererTemplate",
|
|
2492
|
-
"declaration": {
|
|
2493
|
-
"name": "ConnectedMultiselectControlRendererTemplate",
|
|
2494
|
-
"module": "src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts"
|
|
2208
|
+
"name": "mustMatch",
|
|
2209
|
+
"module": "src/utils/validation.ts"
|
|
2495
2210
|
}
|
|
2496
2211
|
},
|
|
2497
2212
|
{
|
|
2498
2213
|
"kind": "js",
|
|
2499
|
-
"name": "
|
|
2214
|
+
"name": "getAnyOfErrorMessage",
|
|
2500
2215
|
"declaration": {
|
|
2501
|
-
"name": "
|
|
2502
|
-
"module": "src/
|
|
2216
|
+
"name": "getAnyOfErrorMessage",
|
|
2217
|
+
"module": "src/utils/validation.ts"
|
|
2503
2218
|
}
|
|
2504
2219
|
}
|
|
2505
2220
|
]
|
|
2506
2221
|
},
|
|
2507
2222
|
{
|
|
2508
2223
|
"kind": "javascript-module",
|
|
2509
|
-
"path": "src/jsonforms/renderers/
|
|
2224
|
+
"path": "src/jsonforms/renderers/ArrayListWrapperRenderer.ts",
|
|
2510
2225
|
"declarations": [
|
|
2511
2226
|
{
|
|
2512
2227
|
"kind": "function",
|
|
2513
|
-
"name": "
|
|
2228
|
+
"name": "ArrayListWrapperRendererTemplate",
|
|
2514
2229
|
"parameters": [
|
|
2515
2230
|
{
|
|
2516
2231
|
"name": "prefix",
|
|
@@ -2521,80 +2236,30 @@
|
|
|
2521
2236
|
}
|
|
2522
2237
|
]
|
|
2523
2238
|
},
|
|
2524
|
-
{
|
|
2525
|
-
"kind": "variable",
|
|
2526
|
-
"name": "ConnectedSelectControlRendererEntry",
|
|
2527
|
-
"type": {
|
|
2528
|
-
"text": "any"
|
|
2529
|
-
},
|
|
2530
|
-
"default": "{\n renderer: html<DispatchRenderer>`\n ${(x) => ConnectedSelectControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(SELECT_CONTROL_RANK, or(optionIs('allOptionsResourceName'), optionIs('data'))),\n mapper: mapStateToControlProps,\n}"
|
|
2531
|
-
}
|
|
2532
|
-
],
|
|
2533
|
-
"exports": [
|
|
2534
|
-
{
|
|
2535
|
-
"kind": "js",
|
|
2536
|
-
"name": "ConnectedSelectControlRendererTemplate",
|
|
2537
|
-
"declaration": {
|
|
2538
|
-
"name": "ConnectedSelectControlRendererTemplate",
|
|
2539
|
-
"module": "src/jsonforms/renderers/ConnectedSelectControlRenderer.ts"
|
|
2540
|
-
}
|
|
2541
|
-
},
|
|
2542
|
-
{
|
|
2543
|
-
"kind": "js",
|
|
2544
|
-
"name": "ConnectedSelectControlRendererEntry",
|
|
2545
|
-
"declaration": {
|
|
2546
|
-
"name": "ConnectedSelectControlRendererEntry",
|
|
2547
|
-
"module": "src/jsonforms/renderers/ConnectedSelectControlRenderer.ts"
|
|
2548
|
-
}
|
|
2549
|
-
}
|
|
2550
|
-
]
|
|
2551
|
-
},
|
|
2552
|
-
{
|
|
2553
|
-
"kind": "javascript-module",
|
|
2554
|
-
"path": "src/jsonforms/renderers/ControlWrapperRenderer.ts",
|
|
2555
|
-
"declarations": [
|
|
2556
|
-
{
|
|
2557
|
-
"kind": "function",
|
|
2558
|
-
"name": "controlWrapperTemplate",
|
|
2559
|
-
"return": {
|
|
2560
|
-
"type": {
|
|
2561
|
-
"text": "ViewTemplate<DispatchRenderer>"
|
|
2562
|
-
}
|
|
2563
|
-
},
|
|
2564
|
-
"parameters": [
|
|
2565
|
-
{
|
|
2566
|
-
"name": "options",
|
|
2567
|
-
"type": {
|
|
2568
|
-
"text": "ControlWrapperOptions"
|
|
2569
|
-
}
|
|
2570
|
-
}
|
|
2571
|
-
],
|
|
2572
|
-
"description": "Light-DOM-friendly control wrapper that replaces the former `<control-wrapper>`\ncustom element. Renders label, error/description slots, and composes a provided\ninner control template inline within the renderer's template so that bindings\nstay on the `DispatchRenderer` source.",
|
|
2573
|
-
"privacy": "public"
|
|
2574
|
-
},
|
|
2575
2239
|
{
|
|
2576
2240
|
"kind": "class",
|
|
2577
2241
|
"description": "",
|
|
2578
|
-
"name": "
|
|
2242
|
+
"name": "ArrayListWrapper",
|
|
2579
2243
|
"members": [
|
|
2244
|
+
{
|
|
2245
|
+
"kind": "field",
|
|
2246
|
+
"name": "form"
|
|
2247
|
+
},
|
|
2580
2248
|
{
|
|
2581
2249
|
"kind": "field",
|
|
2582
2250
|
"name": "control"
|
|
2583
2251
|
},
|
|
2584
2252
|
{
|
|
2585
2253
|
"kind": "field",
|
|
2586
|
-
"name": "
|
|
2254
|
+
"name": "schema"
|
|
2587
2255
|
},
|
|
2588
2256
|
{
|
|
2589
2257
|
"kind": "field",
|
|
2590
|
-
"name": "
|
|
2591
|
-
"type": {
|
|
2592
|
-
"text": "boolean"
|
|
2593
|
-
}
|
|
2258
|
+
"name": "uiSchema"
|
|
2594
2259
|
},
|
|
2595
2260
|
{
|
|
2596
2261
|
"kind": "field",
|
|
2597
|
-
"name": "
|
|
2262
|
+
"name": "isGridView",
|
|
2598
2263
|
"type": {
|
|
2599
2264
|
"text": "boolean"
|
|
2600
2265
|
},
|
|
@@ -2602,92 +2267,97 @@
|
|
|
2602
2267
|
},
|
|
2603
2268
|
{
|
|
2604
2269
|
"kind": "field",
|
|
2605
|
-
"name": "
|
|
2270
|
+
"name": "gridViewHeaderCells",
|
|
2606
2271
|
"type": {
|
|
2607
|
-
"text": "
|
|
2608
|
-
}
|
|
2272
|
+
"text": "GridHeaderCell[]"
|
|
2273
|
+
},
|
|
2274
|
+
"default": "[]"
|
|
2609
2275
|
},
|
|
2610
2276
|
{
|
|
2611
2277
|
"kind": "field",
|
|
2612
|
-
"name": "
|
|
2613
|
-
"
|
|
2278
|
+
"name": "gridViewUiSchema",
|
|
2279
|
+
"type": {
|
|
2280
|
+
"text": "any"
|
|
2281
|
+
},
|
|
2282
|
+
"default": "null"
|
|
2614
2283
|
},
|
|
2615
2284
|
{
|
|
2616
|
-
"kind": "
|
|
2617
|
-
"name": "
|
|
2618
|
-
"readonly": true
|
|
2285
|
+
"kind": "method",
|
|
2286
|
+
"name": "controlChanged"
|
|
2619
2287
|
},
|
|
2620
2288
|
{
|
|
2621
|
-
"kind": "
|
|
2622
|
-
"name": "
|
|
2623
|
-
"readonly": true
|
|
2289
|
+
"kind": "method",
|
|
2290
|
+
"name": "addItem"
|
|
2624
2291
|
},
|
|
2625
2292
|
{
|
|
2626
|
-
"kind": "
|
|
2627
|
-
"name": "
|
|
2628
|
-
"
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
},
|
|
2637
|
-
"default": "false",
|
|
2638
|
-
"fieldName": "hideLabel"
|
|
2293
|
+
"kind": "method",
|
|
2294
|
+
"name": "deleteItem",
|
|
2295
|
+
"parameters": [
|
|
2296
|
+
{
|
|
2297
|
+
"name": "index",
|
|
2298
|
+
"type": {
|
|
2299
|
+
"text": "number"
|
|
2300
|
+
}
|
|
2301
|
+
}
|
|
2302
|
+
]
|
|
2639
2303
|
},
|
|
2640
2304
|
{
|
|
2641
|
-
"
|
|
2642
|
-
"
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2305
|
+
"kind": "method",
|
|
2306
|
+
"name": "submitRow",
|
|
2307
|
+
"parameters": [
|
|
2308
|
+
{
|
|
2309
|
+
"name": "index",
|
|
2310
|
+
"type": {
|
|
2311
|
+
"text": "number"
|
|
2312
|
+
},
|
|
2313
|
+
"description": "The row index to submit"
|
|
2314
|
+
}
|
|
2315
|
+
],
|
|
2316
|
+
"description": "Submits a single row by emitting an event that bubbles up to the foundation-form."
|
|
2646
2317
|
}
|
|
2647
2318
|
],
|
|
2648
2319
|
"superclass": {
|
|
2649
2320
|
"name": "FASTElement",
|
|
2650
2321
|
"package": "@microsoft/fast-element"
|
|
2651
2322
|
},
|
|
2652
|
-
"
|
|
2653
|
-
"tagName": "control-wrapper",
|
|
2323
|
+
"tagName": "array-list-wrapper",
|
|
2654
2324
|
"customElement": true
|
|
2655
2325
|
}
|
|
2656
2326
|
],
|
|
2657
2327
|
"exports": [
|
|
2658
2328
|
{
|
|
2659
2329
|
"kind": "js",
|
|
2660
|
-
"name": "
|
|
2330
|
+
"name": "ArrayListWrapperRendererTemplate",
|
|
2661
2331
|
"declaration": {
|
|
2662
|
-
"name": "
|
|
2663
|
-
"module": "src/jsonforms/renderers/
|
|
2332
|
+
"name": "ArrayListWrapperRendererTemplate",
|
|
2333
|
+
"module": "src/jsonforms/renderers/ArrayListWrapperRenderer.ts"
|
|
2664
2334
|
}
|
|
2665
2335
|
},
|
|
2666
2336
|
{
|
|
2667
2337
|
"kind": "js",
|
|
2668
|
-
"name": "
|
|
2338
|
+
"name": "ArrayListWrapper",
|
|
2669
2339
|
"declaration": {
|
|
2670
|
-
"name": "
|
|
2671
|
-
"module": "src/jsonforms/renderers/
|
|
2340
|
+
"name": "ArrayListWrapper",
|
|
2341
|
+
"module": "src/jsonforms/renderers/ArrayListWrapperRenderer.ts"
|
|
2672
2342
|
}
|
|
2673
2343
|
},
|
|
2674
2344
|
{
|
|
2675
2345
|
"kind": "custom-element-definition",
|
|
2676
|
-
"name": "
|
|
2346
|
+
"name": "array-list-wrapper",
|
|
2677
2347
|
"declaration": {
|
|
2678
|
-
"name": "
|
|
2679
|
-
"module": "src/jsonforms/renderers/
|
|
2348
|
+
"name": "ArrayListWrapper",
|
|
2349
|
+
"module": "src/jsonforms/renderers/ArrayListWrapperRenderer.ts"
|
|
2680
2350
|
}
|
|
2681
2351
|
}
|
|
2682
2352
|
]
|
|
2683
2353
|
},
|
|
2684
2354
|
{
|
|
2685
2355
|
"kind": "javascript-module",
|
|
2686
|
-
"path": "src/jsonforms/renderers/
|
|
2356
|
+
"path": "src/jsonforms/renderers/BooleanControlRenderer.ts",
|
|
2687
2357
|
"declarations": [
|
|
2688
2358
|
{
|
|
2689
2359
|
"kind": "function",
|
|
2690
|
-
"name": "
|
|
2360
|
+
"name": "BooleanControlRendererTemplate",
|
|
2691
2361
|
"parameters": [
|
|
2692
2362
|
{
|
|
2693
2363
|
"name": "prefix",
|
|
@@ -2700,160 +2370,262 @@
|
|
|
2700
2370
|
},
|
|
2701
2371
|
{
|
|
2702
2372
|
"kind": "variable",
|
|
2703
|
-
"name": "
|
|
2373
|
+
"name": "BooleanControlEntry",
|
|
2704
2374
|
"type": {
|
|
2705
2375
|
"text": "RendererEntry"
|
|
2706
2376
|
},
|
|
2707
|
-
"default": "{\n renderer: html
|
|
2377
|
+
"default": "{\n renderer: html<DispatchRenderer>`\n ${(x) => BooleanControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(BOOLEAN_CONTROL_RANK, isOneOfBoolean),\n mapper: mapStateToControlProps,\n}"
|
|
2708
2378
|
}
|
|
2709
2379
|
],
|
|
2710
2380
|
"exports": [
|
|
2711
2381
|
{
|
|
2712
2382
|
"kind": "js",
|
|
2713
|
-
"name": "
|
|
2383
|
+
"name": "BooleanControlRendererTemplate",
|
|
2714
2384
|
"declaration": {
|
|
2715
|
-
"name": "
|
|
2716
|
-
"module": "src/jsonforms/renderers/
|
|
2385
|
+
"name": "BooleanControlRendererTemplate",
|
|
2386
|
+
"module": "src/jsonforms/renderers/BooleanControlRenderer.ts"
|
|
2717
2387
|
}
|
|
2718
2388
|
},
|
|
2719
2389
|
{
|
|
2720
2390
|
"kind": "js",
|
|
2721
|
-
"name": "
|
|
2391
|
+
"name": "BooleanControlEntry",
|
|
2722
2392
|
"declaration": {
|
|
2723
|
-
"name": "
|
|
2724
|
-
"module": "src/jsonforms/renderers/
|
|
2393
|
+
"name": "BooleanControlEntry",
|
|
2394
|
+
"module": "src/jsonforms/renderers/BooleanControlRenderer.ts"
|
|
2725
2395
|
}
|
|
2726
2396
|
}
|
|
2727
2397
|
]
|
|
2728
2398
|
},
|
|
2729
2399
|
{
|
|
2730
2400
|
"kind": "javascript-module",
|
|
2731
|
-
"path": "src/jsonforms/renderers/
|
|
2401
|
+
"path": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts",
|
|
2732
2402
|
"declarations": [
|
|
2733
2403
|
{
|
|
2734
2404
|
"kind": "function",
|
|
2735
|
-
"name": "
|
|
2405
|
+
"name": "computeCategoryClassName",
|
|
2406
|
+
"return": {
|
|
2407
|
+
"type": {
|
|
2408
|
+
"text": "string"
|
|
2409
|
+
}
|
|
2410
|
+
},
|
|
2736
2411
|
"parameters": [
|
|
2737
2412
|
{
|
|
2738
|
-
"name": "
|
|
2739
|
-
"default": "'zero'",
|
|
2413
|
+
"name": "category",
|
|
2740
2414
|
"type": {
|
|
2741
|
-
"text": "
|
|
2415
|
+
"text": "UiSchemaElement"
|
|
2416
|
+
}
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
"name": "data",
|
|
2420
|
+
"type": {
|
|
2421
|
+
"text": "any"
|
|
2742
2422
|
}
|
|
2743
2423
|
}
|
|
2744
2424
|
]
|
|
2745
2425
|
},
|
|
2746
2426
|
{
|
|
2747
2427
|
"kind": "variable",
|
|
2748
|
-
"name": "
|
|
2749
|
-
"
|
|
2750
|
-
"text": "RendererEntry"
|
|
2751
|
-
},
|
|
2752
|
-
"default": "{\n renderer: html`\n ${(x) => DividerControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(DIVIDER_CONTROL_RANK, (args) => {\n return args.options?.divider === true;\n }),\n mapper: mapStateToControlProps,\n}"
|
|
2753
|
-
}
|
|
2754
|
-
],
|
|
2755
|
-
"exports": [
|
|
2756
|
-
{
|
|
2757
|
-
"kind": "js",
|
|
2758
|
-
"name": "DividerControlRendererTemplate",
|
|
2759
|
-
"declaration": {
|
|
2760
|
-
"name": "DividerControlRendererTemplate",
|
|
2761
|
-
"module": "src/jsonforms/renderers/DividerRenderer.ts"
|
|
2762
|
-
}
|
|
2428
|
+
"name": "tabControlIconStyles",
|
|
2429
|
+
"default": "css`\n .tab-control-icon {\n margin-left: 3px;\n color: #f9644d;\n }\n`"
|
|
2763
2430
|
},
|
|
2764
|
-
{
|
|
2765
|
-
"kind": "js",
|
|
2766
|
-
"name": "DividerControlRenderer",
|
|
2767
|
-
"declaration": {
|
|
2768
|
-
"name": "DividerControlRenderer",
|
|
2769
|
-
"module": "src/jsonforms/renderers/DividerRenderer.ts"
|
|
2770
|
-
}
|
|
2771
|
-
}
|
|
2772
|
-
]
|
|
2773
|
-
},
|
|
2774
|
-
{
|
|
2775
|
-
"kind": "javascript-module",
|
|
2776
|
-
"path": "src/jsonforms/renderers/EnumControlRenderer.ts",
|
|
2777
|
-
"declarations": [
|
|
2778
2431
|
{
|
|
2779
2432
|
"kind": "function",
|
|
2780
|
-
"name": "
|
|
2781
|
-
"return": {
|
|
2782
|
-
"type": {
|
|
2783
|
-
"text": "StatePropsOfControl & OwnPropsOfEnum"
|
|
2784
|
-
}
|
|
2785
|
-
},
|
|
2433
|
+
"name": "CategorizationWrapperRendererTemplate",
|
|
2786
2434
|
"parameters": [
|
|
2787
2435
|
{
|
|
2788
|
-
"name": "
|
|
2789
|
-
"
|
|
2790
|
-
"text": "JsonFormsState"
|
|
2791
|
-
}
|
|
2792
|
-
},
|
|
2793
|
-
{
|
|
2794
|
-
"name": "ownProps",
|
|
2795
|
-
"type": {
|
|
2796
|
-
"text": "OwnPropsOfControl & OwnPropsOfEnum"
|
|
2797
|
-
}
|
|
2436
|
+
"name": "prefix",
|
|
2437
|
+
"default": "'zero'"
|
|
2798
2438
|
}
|
|
2799
2439
|
]
|
|
2800
2440
|
},
|
|
2801
2441
|
{
|
|
2802
|
-
"kind": "
|
|
2803
|
-
"
|
|
2804
|
-
"
|
|
2442
|
+
"kind": "class",
|
|
2443
|
+
"description": "",
|
|
2444
|
+
"name": "CategorizationWrapper",
|
|
2445
|
+
"members": [
|
|
2805
2446
|
{
|
|
2806
|
-
"
|
|
2807
|
-
"
|
|
2447
|
+
"kind": "field",
|
|
2448
|
+
"name": "form"
|
|
2449
|
+
},
|
|
2450
|
+
{
|
|
2451
|
+
"kind": "field",
|
|
2452
|
+
"name": "control"
|
|
2453
|
+
},
|
|
2454
|
+
{
|
|
2455
|
+
"kind": "field",
|
|
2456
|
+
"name": "mountedTabs",
|
|
2808
2457
|
"type": {
|
|
2809
|
-
"text": "
|
|
2810
|
-
}
|
|
2458
|
+
"text": "Set<number>"
|
|
2459
|
+
},
|
|
2460
|
+
"default": "new Set([0])"
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
"kind": "field",
|
|
2464
|
+
"name": "activeTabIndex",
|
|
2465
|
+
"type": {
|
|
2466
|
+
"text": "number"
|
|
2467
|
+
},
|
|
2468
|
+
"default": "0"
|
|
2469
|
+
},
|
|
2470
|
+
{
|
|
2471
|
+
"kind": "field",
|
|
2472
|
+
"name": "hasAppliedActiveCategory",
|
|
2473
|
+
"type": {
|
|
2474
|
+
"text": "boolean"
|
|
2475
|
+
},
|
|
2476
|
+
"privacy": "private",
|
|
2477
|
+
"default": "false",
|
|
2478
|
+
"description": "`control` is rebuilt from scratch on every JSONForms state change (every\nkeystroke, validation pass, async default-data update), so `controlChanged`\nfires repeatedly throughout the form's life — not just on first paint.\nApplying `activeCategory` each time would yank the user back to the\nconfigured tab mid-edit (and unmount the open panel). This flag ensures the\ninitial tab is applied once; thereafter the user's own navigation wins."
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
"kind": "method",
|
|
2482
|
+
"name": "controlChanged"
|
|
2483
|
+
},
|
|
2484
|
+
{
|
|
2485
|
+
"kind": "method",
|
|
2486
|
+
"name": "isMounted",
|
|
2487
|
+
"return": {
|
|
2488
|
+
"type": {
|
|
2489
|
+
"text": "boolean"
|
|
2490
|
+
}
|
|
2491
|
+
},
|
|
2492
|
+
"parameters": [
|
|
2493
|
+
{
|
|
2494
|
+
"name": "index",
|
|
2495
|
+
"type": {
|
|
2496
|
+
"text": "number"
|
|
2497
|
+
}
|
|
2498
|
+
}
|
|
2499
|
+
]
|
|
2500
|
+
},
|
|
2501
|
+
{
|
|
2502
|
+
"kind": "method",
|
|
2503
|
+
"name": "handleTabChange",
|
|
2504
|
+
"parameters": [
|
|
2505
|
+
{
|
|
2506
|
+
"name": "event",
|
|
2507
|
+
"type": {
|
|
2508
|
+
"text": "Event"
|
|
2509
|
+
}
|
|
2510
|
+
}
|
|
2511
|
+
]
|
|
2512
|
+
},
|
|
2513
|
+
{
|
|
2514
|
+
"kind": "method",
|
|
2515
|
+
"name": "hasCategoryError",
|
|
2516
|
+
"return": {
|
|
2517
|
+
"type": {
|
|
2518
|
+
"text": "boolean"
|
|
2519
|
+
}
|
|
2520
|
+
},
|
|
2521
|
+
"parameters": [
|
|
2522
|
+
{
|
|
2523
|
+
"name": "categoryIndex",
|
|
2524
|
+
"type": {
|
|
2525
|
+
"text": "number"
|
|
2526
|
+
}
|
|
2527
|
+
}
|
|
2528
|
+
]
|
|
2811
2529
|
}
|
|
2812
|
-
]
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
"name": "EnumControlRendererEntry",
|
|
2817
|
-
"type": {
|
|
2818
|
-
"text": "RendererEntry"
|
|
2530
|
+
],
|
|
2531
|
+
"superclass": {
|
|
2532
|
+
"name": "FASTElement",
|
|
2533
|
+
"package": "@microsoft/fast-element"
|
|
2819
2534
|
},
|
|
2820
|
-
"
|
|
2535
|
+
"tagName": "categorization-wrapper",
|
|
2536
|
+
"customElement": true
|
|
2821
2537
|
}
|
|
2822
2538
|
],
|
|
2823
2539
|
"exports": [
|
|
2824
2540
|
{
|
|
2825
2541
|
"kind": "js",
|
|
2826
|
-
"name": "
|
|
2542
|
+
"name": "computeCategoryClassName",
|
|
2827
2543
|
"declaration": {
|
|
2828
|
-
"name": "
|
|
2829
|
-
"module": "src/jsonforms/renderers/
|
|
2544
|
+
"name": "computeCategoryClassName",
|
|
2545
|
+
"module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
|
|
2830
2546
|
}
|
|
2831
2547
|
},
|
|
2832
2548
|
{
|
|
2833
2549
|
"kind": "js",
|
|
2834
|
-
"name": "
|
|
2550
|
+
"name": "tabControlIconStyles",
|
|
2835
2551
|
"declaration": {
|
|
2836
|
-
"name": "
|
|
2837
|
-
"module": "src/jsonforms/renderers/
|
|
2552
|
+
"name": "tabControlIconStyles",
|
|
2553
|
+
"module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
|
|
2838
2554
|
}
|
|
2839
2555
|
},
|
|
2840
2556
|
{
|
|
2841
2557
|
"kind": "js",
|
|
2842
|
-
"name": "
|
|
2558
|
+
"name": "CategorizationWrapperRendererTemplate",
|
|
2843
2559
|
"declaration": {
|
|
2844
|
-
"name": "
|
|
2845
|
-
"module": "src/jsonforms/renderers/
|
|
2560
|
+
"name": "CategorizationWrapperRendererTemplate",
|
|
2561
|
+
"module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
|
|
2562
|
+
}
|
|
2563
|
+
},
|
|
2564
|
+
{
|
|
2565
|
+
"kind": "js",
|
|
2566
|
+
"name": "CategorizationWrapper",
|
|
2567
|
+
"declaration": {
|
|
2568
|
+
"name": "CategorizationWrapper",
|
|
2569
|
+
"module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
|
|
2570
|
+
}
|
|
2571
|
+
},
|
|
2572
|
+
{
|
|
2573
|
+
"kind": "custom-element-definition",
|
|
2574
|
+
"name": "categorization-wrapper",
|
|
2575
|
+
"declaration": {
|
|
2576
|
+
"name": "CategorizationWrapper",
|
|
2577
|
+
"module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
|
|
2846
2578
|
}
|
|
2847
2579
|
}
|
|
2848
2580
|
]
|
|
2849
2581
|
},
|
|
2850
2582
|
{
|
|
2851
2583
|
"kind": "javascript-module",
|
|
2852
|
-
"path": "src/jsonforms/renderers/
|
|
2584
|
+
"path": "src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts",
|
|
2853
2585
|
"declarations": [
|
|
2854
2586
|
{
|
|
2855
2587
|
"kind": "function",
|
|
2856
|
-
"name": "
|
|
2588
|
+
"name": "resolveSelectedOptions",
|
|
2589
|
+
"return": {
|
|
2590
|
+
"type": {
|
|
2591
|
+
"text": "any[]"
|
|
2592
|
+
}
|
|
2593
|
+
},
|
|
2594
|
+
"parameters": [
|
|
2595
|
+
{
|
|
2596
|
+
"name": "control",
|
|
2597
|
+
"type": {
|
|
2598
|
+
"text": "any"
|
|
2599
|
+
}
|
|
2600
|
+
}
|
|
2601
|
+
]
|
|
2602
|
+
},
|
|
2603
|
+
{
|
|
2604
|
+
"kind": "function",
|
|
2605
|
+
"name": "resolveSelectionValue",
|
|
2606
|
+
"return": {
|
|
2607
|
+
"type": {
|
|
2608
|
+
"text": "any"
|
|
2609
|
+
}
|
|
2610
|
+
},
|
|
2611
|
+
"parameters": [
|
|
2612
|
+
{
|
|
2613
|
+
"name": "control",
|
|
2614
|
+
"type": {
|
|
2615
|
+
"text": "any"
|
|
2616
|
+
}
|
|
2617
|
+
},
|
|
2618
|
+
{
|
|
2619
|
+
"name": "detail",
|
|
2620
|
+
"type": {
|
|
2621
|
+
"text": "any"
|
|
2622
|
+
}
|
|
2623
|
+
}
|
|
2624
|
+
]
|
|
2625
|
+
},
|
|
2626
|
+
{
|
|
2627
|
+
"kind": "function",
|
|
2628
|
+
"name": "ConnectedMultiselectControlRendererTemplate",
|
|
2857
2629
|
"parameters": [
|
|
2858
2630
|
{
|
|
2859
2631
|
"name": "prefix",
|
|
@@ -2866,41 +2638,55 @@
|
|
|
2866
2638
|
},
|
|
2867
2639
|
{
|
|
2868
2640
|
"kind": "variable",
|
|
2869
|
-
"name": "
|
|
2641
|
+
"name": "ConnectedMultiselectControlRendererEntry",
|
|
2870
2642
|
"type": {
|
|
2871
2643
|
"text": "RendererEntry"
|
|
2872
2644
|
},
|
|
2873
|
-
"default": "{\n renderer: html<DispatchRenderer>`\n ${(x) =>
|
|
2874
|
-
"description": "A JSON Forms renderer that renders enum options as a radio-group.\n\nActivated when the uischema element has `options.radio: true`.\nTakes precedence over other enum renderers due to its higher rank.\n\nOptions are typed via RadioGroupRendererOptions.",
|
|
2875
|
-
"privacy": "public"
|
|
2645
|
+
"default": "{\n renderer: html<DispatchRenderer>`\n ${(x) => ConnectedMultiselectControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(MULTISELECT_CONTROL_RANK, isOneOfOptionMultiselect),\n mapper: mapStateToControlProps,\n}"
|
|
2876
2646
|
}
|
|
2877
2647
|
],
|
|
2878
2648
|
"exports": [
|
|
2879
2649
|
{
|
|
2880
2650
|
"kind": "js",
|
|
2881
|
-
"name": "
|
|
2651
|
+
"name": "resolveSelectedOptions",
|
|
2882
2652
|
"declaration": {
|
|
2883
|
-
"name": "
|
|
2884
|
-
"module": "src/jsonforms/renderers/
|
|
2653
|
+
"name": "resolveSelectedOptions",
|
|
2654
|
+
"module": "src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts"
|
|
2885
2655
|
}
|
|
2886
2656
|
},
|
|
2887
2657
|
{
|
|
2888
2658
|
"kind": "js",
|
|
2889
|
-
"name": "
|
|
2659
|
+
"name": "resolveSelectionValue",
|
|
2890
2660
|
"declaration": {
|
|
2891
|
-
"name": "
|
|
2892
|
-
"module": "src/jsonforms/renderers/
|
|
2661
|
+
"name": "resolveSelectionValue",
|
|
2662
|
+
"module": "src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts"
|
|
2663
|
+
}
|
|
2664
|
+
},
|
|
2665
|
+
{
|
|
2666
|
+
"kind": "js",
|
|
2667
|
+
"name": "ConnectedMultiselectControlRendererTemplate",
|
|
2668
|
+
"declaration": {
|
|
2669
|
+
"name": "ConnectedMultiselectControlRendererTemplate",
|
|
2670
|
+
"module": "src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts"
|
|
2671
|
+
}
|
|
2672
|
+
},
|
|
2673
|
+
{
|
|
2674
|
+
"kind": "js",
|
|
2675
|
+
"name": "ConnectedMultiselectControlRendererEntry",
|
|
2676
|
+
"declaration": {
|
|
2677
|
+
"name": "ConnectedMultiselectControlRendererEntry",
|
|
2678
|
+
"module": "src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts"
|
|
2893
2679
|
}
|
|
2894
2680
|
}
|
|
2895
2681
|
]
|
|
2896
2682
|
},
|
|
2897
2683
|
{
|
|
2898
2684
|
"kind": "javascript-module",
|
|
2899
|
-
"path": "src/jsonforms/renderers/
|
|
2685
|
+
"path": "src/jsonforms/renderers/ConnectedSelectControlRenderer.ts",
|
|
2900
2686
|
"declarations": [
|
|
2901
2687
|
{
|
|
2902
2688
|
"kind": "function",
|
|
2903
|
-
"name": "
|
|
2689
|
+
"name": "ConnectedSelectControlRendererTemplate",
|
|
2904
2690
|
"parameters": [
|
|
2905
2691
|
{
|
|
2906
2692
|
"name": "prefix",
|
|
@@ -2913,84 +2699,171 @@
|
|
|
2913
2699
|
},
|
|
2914
2700
|
{
|
|
2915
2701
|
"kind": "variable",
|
|
2916
|
-
"name": "
|
|
2702
|
+
"name": "ConnectedSelectControlRendererEntry",
|
|
2917
2703
|
"type": {
|
|
2918
|
-
"text": "
|
|
2704
|
+
"text": "any"
|
|
2919
2705
|
},
|
|
2920
|
-
"default": "{\n renderer: html
|
|
2706
|
+
"default": "{\n renderer: html<DispatchRenderer>`\n ${(x) => ConnectedSelectControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(SELECT_CONTROL_RANK, or(optionIs('allOptionsResourceName'), optionIs('data'))),\n mapper: mapStateToControlProps,\n}"
|
|
2921
2707
|
}
|
|
2922
2708
|
],
|
|
2923
2709
|
"exports": [
|
|
2924
2710
|
{
|
|
2925
2711
|
"kind": "js",
|
|
2926
|
-
"name": "
|
|
2712
|
+
"name": "ConnectedSelectControlRendererTemplate",
|
|
2927
2713
|
"declaration": {
|
|
2928
|
-
"name": "
|
|
2929
|
-
"module": "src/jsonforms/renderers/
|
|
2714
|
+
"name": "ConnectedSelectControlRendererTemplate",
|
|
2715
|
+
"module": "src/jsonforms/renderers/ConnectedSelectControlRenderer.ts"
|
|
2930
2716
|
}
|
|
2931
2717
|
},
|
|
2932
2718
|
{
|
|
2933
2719
|
"kind": "js",
|
|
2934
|
-
"name": "
|
|
2720
|
+
"name": "ConnectedSelectControlRendererEntry",
|
|
2935
2721
|
"declaration": {
|
|
2936
|
-
"name": "
|
|
2937
|
-
"module": "src/jsonforms/renderers/
|
|
2722
|
+
"name": "ConnectedSelectControlRendererEntry",
|
|
2723
|
+
"module": "src/jsonforms/renderers/ConnectedSelectControlRenderer.ts"
|
|
2938
2724
|
}
|
|
2939
2725
|
}
|
|
2940
2726
|
]
|
|
2941
2727
|
},
|
|
2942
2728
|
{
|
|
2943
2729
|
"kind": "javascript-module",
|
|
2944
|
-
"path": "src/jsonforms/renderers/
|
|
2730
|
+
"path": "src/jsonforms/renderers/ControlWrapperRenderer.ts",
|
|
2945
2731
|
"declarations": [
|
|
2946
2732
|
{
|
|
2947
2733
|
"kind": "function",
|
|
2948
|
-
"name": "
|
|
2734
|
+
"name": "controlWrapperTemplate",
|
|
2735
|
+
"return": {
|
|
2736
|
+
"type": {
|
|
2737
|
+
"text": "ViewTemplate<DispatchRenderer>"
|
|
2738
|
+
}
|
|
2739
|
+
},
|
|
2949
2740
|
"parameters": [
|
|
2950
2741
|
{
|
|
2951
|
-
"name": "
|
|
2952
|
-
"default": "'zero'",
|
|
2742
|
+
"name": "options",
|
|
2953
2743
|
"type": {
|
|
2954
|
-
"text": "
|
|
2744
|
+
"text": "ControlWrapperOptions"
|
|
2955
2745
|
}
|
|
2956
2746
|
}
|
|
2957
|
-
]
|
|
2747
|
+
],
|
|
2748
|
+
"description": "Light-DOM-friendly control wrapper that replaces the former `<control-wrapper>`\ncustom element. Renders label, error/description slots, and composes a provided\ninner control template inline within the renderer's template so that bindings\nstay on the `DispatchRenderer` source.",
|
|
2749
|
+
"privacy": "public"
|
|
2958
2750
|
},
|
|
2959
2751
|
{
|
|
2960
|
-
"kind": "
|
|
2961
|
-
"
|
|
2962
|
-
"
|
|
2963
|
-
|
|
2752
|
+
"kind": "class",
|
|
2753
|
+
"description": "",
|
|
2754
|
+
"name": "ControlWrapper",
|
|
2755
|
+
"members": [
|
|
2756
|
+
{
|
|
2757
|
+
"kind": "field",
|
|
2758
|
+
"name": "control"
|
|
2759
|
+
},
|
|
2760
|
+
{
|
|
2761
|
+
"kind": "field",
|
|
2762
|
+
"name": "jsonForms"
|
|
2763
|
+
},
|
|
2764
|
+
{
|
|
2765
|
+
"kind": "field",
|
|
2766
|
+
"name": "touched",
|
|
2767
|
+
"type": {
|
|
2768
|
+
"text": "boolean"
|
|
2769
|
+
}
|
|
2770
|
+
},
|
|
2771
|
+
{
|
|
2772
|
+
"kind": "field",
|
|
2773
|
+
"name": "hideLabel",
|
|
2774
|
+
"type": {
|
|
2775
|
+
"text": "boolean"
|
|
2776
|
+
},
|
|
2777
|
+
"default": "false"
|
|
2778
|
+
},
|
|
2779
|
+
{
|
|
2780
|
+
"kind": "field",
|
|
2781
|
+
"name": "prefix",
|
|
2782
|
+
"type": {
|
|
2783
|
+
"text": "string"
|
|
2784
|
+
}
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"kind": "field",
|
|
2788
|
+
"name": "showDescription",
|
|
2789
|
+
"readonly": true
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
"kind": "field",
|
|
2793
|
+
"name": "computedLabel",
|
|
2794
|
+
"readonly": true
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
"kind": "field",
|
|
2798
|
+
"name": "getPrefixedTooltip",
|
|
2799
|
+
"readonly": true
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
"kind": "field",
|
|
2803
|
+
"name": "anyOfError",
|
|
2804
|
+
"readonly": true
|
|
2805
|
+
}
|
|
2806
|
+
],
|
|
2807
|
+
"attributes": [
|
|
2808
|
+
{
|
|
2809
|
+
"name": "hide-label",
|
|
2810
|
+
"type": {
|
|
2811
|
+
"text": "boolean"
|
|
2812
|
+
},
|
|
2813
|
+
"default": "false",
|
|
2814
|
+
"fieldName": "hideLabel"
|
|
2815
|
+
},
|
|
2816
|
+
{
|
|
2817
|
+
"name": "prefix",
|
|
2818
|
+
"type": {
|
|
2819
|
+
"text": "string"
|
|
2820
|
+
},
|
|
2821
|
+
"fieldName": "prefix"
|
|
2822
|
+
}
|
|
2823
|
+
],
|
|
2824
|
+
"superclass": {
|
|
2825
|
+
"name": "FASTElement",
|
|
2826
|
+
"package": "@microsoft/fast-element"
|
|
2964
2827
|
},
|
|
2965
|
-
"
|
|
2828
|
+
"deprecated": "Use `controlWrapperTemplate` instead. The `<control-wrapper>` custom element will be removed in a future major version. Migrate to the light-DOM `controlWrapperTemplate` function which renders inline within the parent renderer's template.",
|
|
2829
|
+
"tagName": "control-wrapper",
|
|
2830
|
+
"customElement": true
|
|
2966
2831
|
}
|
|
2967
2832
|
],
|
|
2968
2833
|
"exports": [
|
|
2969
2834
|
{
|
|
2970
2835
|
"kind": "js",
|
|
2971
|
-
"name": "
|
|
2836
|
+
"name": "controlWrapperTemplate",
|
|
2972
2837
|
"declaration": {
|
|
2973
|
-
"name": "
|
|
2974
|
-
"module": "src/jsonforms/renderers/
|
|
2838
|
+
"name": "controlWrapperTemplate",
|
|
2839
|
+
"module": "src/jsonforms/renderers/ControlWrapperRenderer.ts"
|
|
2975
2840
|
}
|
|
2976
2841
|
},
|
|
2977
2842
|
{
|
|
2978
2843
|
"kind": "js",
|
|
2979
|
-
"name": "
|
|
2844
|
+
"name": "ControlWrapper",
|
|
2980
2845
|
"declaration": {
|
|
2981
|
-
"name": "
|
|
2982
|
-
"module": "src/jsonforms/renderers/
|
|
2846
|
+
"name": "ControlWrapper",
|
|
2847
|
+
"module": "src/jsonforms/renderers/ControlWrapperRenderer.ts"
|
|
2848
|
+
}
|
|
2849
|
+
},
|
|
2850
|
+
{
|
|
2851
|
+
"kind": "custom-element-definition",
|
|
2852
|
+
"name": "control-wrapper",
|
|
2853
|
+
"declaration": {
|
|
2854
|
+
"name": "ControlWrapper",
|
|
2855
|
+
"module": "src/jsonforms/renderers/ControlWrapperRenderer.ts"
|
|
2983
2856
|
}
|
|
2984
2857
|
}
|
|
2985
2858
|
]
|
|
2986
2859
|
},
|
|
2987
2860
|
{
|
|
2988
2861
|
"kind": "javascript-module",
|
|
2989
|
-
"path": "src/jsonforms/renderers/
|
|
2862
|
+
"path": "src/jsonforms/renderers/DateControlRenderer.ts",
|
|
2990
2863
|
"declarations": [
|
|
2991
2864
|
{
|
|
2992
2865
|
"kind": "function",
|
|
2993
|
-
"name": "
|
|
2866
|
+
"name": "DateControlRendererTemplate",
|
|
2994
2867
|
"parameters": [
|
|
2995
2868
|
{
|
|
2996
2869
|
"name": "prefix",
|
|
@@ -3003,120 +2876,423 @@
|
|
|
3003
2876
|
},
|
|
3004
2877
|
{
|
|
3005
2878
|
"kind": "variable",
|
|
3006
|
-
"name": "
|
|
2879
|
+
"name": "DateControlRendererEntry",
|
|
3007
2880
|
"type": {
|
|
3008
2881
|
"text": "RendererEntry"
|
|
3009
2882
|
},
|
|
3010
|
-
"default": "{\n renderer: html`\n ${(x) =>
|
|
2883
|
+
"default": "{\n renderer: html`\n ${(x) => DateControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(DATE_CONTROL_RANK, isOneOfDate),\n mapper: mapStateToControlProps,\n}"
|
|
3011
2884
|
}
|
|
3012
2885
|
],
|
|
3013
2886
|
"exports": [
|
|
3014
2887
|
{
|
|
3015
2888
|
"kind": "js",
|
|
3016
|
-
"name": "
|
|
2889
|
+
"name": "DateControlRendererTemplate",
|
|
3017
2890
|
"declaration": {
|
|
3018
|
-
"name": "
|
|
3019
|
-
"module": "src/jsonforms/renderers/
|
|
2891
|
+
"name": "DateControlRendererTemplate",
|
|
2892
|
+
"module": "src/jsonforms/renderers/DateControlRenderer.ts"
|
|
3020
2893
|
}
|
|
3021
2894
|
},
|
|
3022
2895
|
{
|
|
3023
2896
|
"kind": "js",
|
|
3024
|
-
"name": "
|
|
2897
|
+
"name": "DateControlRendererEntry",
|
|
3025
2898
|
"declaration": {
|
|
3026
|
-
"name": "
|
|
3027
|
-
"module": "src/jsonforms/renderers/
|
|
2899
|
+
"name": "DateControlRendererEntry",
|
|
2900
|
+
"module": "src/jsonforms/renderers/DateControlRenderer.ts"
|
|
3028
2901
|
}
|
|
3029
2902
|
}
|
|
3030
2903
|
]
|
|
3031
2904
|
},
|
|
3032
2905
|
{
|
|
3033
2906
|
"kind": "javascript-module",
|
|
3034
|
-
"path": "src/jsonforms/renderers/
|
|
2907
|
+
"path": "src/jsonforms/renderers/DividerRenderer.ts",
|
|
3035
2908
|
"declarations": [
|
|
3036
2909
|
{
|
|
3037
|
-
"kind": "
|
|
3038
|
-
"name": "
|
|
3039
|
-
"
|
|
2910
|
+
"kind": "function",
|
|
2911
|
+
"name": "DividerControlRendererTemplate",
|
|
2912
|
+
"parameters": [
|
|
2913
|
+
{
|
|
2914
|
+
"name": "prefix",
|
|
2915
|
+
"default": "'zero'",
|
|
2916
|
+
"type": {
|
|
2917
|
+
"text": "string"
|
|
2918
|
+
}
|
|
2919
|
+
}
|
|
2920
|
+
]
|
|
3040
2921
|
},
|
|
3041
2922
|
{
|
|
3042
2923
|
"kind": "variable",
|
|
3043
|
-
"name": "
|
|
2924
|
+
"name": "DividerControlRenderer",
|
|
3044
2925
|
"type": {
|
|
3045
2926
|
"text": "RendererEntry"
|
|
3046
2927
|
},
|
|
3047
|
-
"default": "{\n renderer:
|
|
2928
|
+
"default": "{\n renderer: html`\n ${(x) => DividerControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(DIVIDER_CONTROL_RANK, (args) => {\n return args.options?.divider === true;\n }),\n mapper: mapStateToControlProps,\n}"
|
|
3048
2929
|
}
|
|
3049
2930
|
],
|
|
3050
2931
|
"exports": [
|
|
3051
2932
|
{
|
|
3052
2933
|
"kind": "js",
|
|
3053
|
-
"name": "
|
|
2934
|
+
"name": "DividerControlRendererTemplate",
|
|
3054
2935
|
"declaration": {
|
|
3055
|
-
"name": "
|
|
3056
|
-
"module": "src/jsonforms/renderers/
|
|
2936
|
+
"name": "DividerControlRendererTemplate",
|
|
2937
|
+
"module": "src/jsonforms/renderers/DividerRenderer.ts"
|
|
3057
2938
|
}
|
|
3058
2939
|
},
|
|
3059
2940
|
{
|
|
3060
2941
|
"kind": "js",
|
|
3061
|
-
"name": "
|
|
2942
|
+
"name": "DividerControlRenderer",
|
|
3062
2943
|
"declaration": {
|
|
3063
|
-
"name": "
|
|
3064
|
-
"module": "src/jsonforms/renderers/
|
|
2944
|
+
"name": "DividerControlRenderer",
|
|
2945
|
+
"module": "src/jsonforms/renderers/DividerRenderer.ts"
|
|
3065
2946
|
}
|
|
3066
2947
|
}
|
|
3067
2948
|
]
|
|
3068
2949
|
},
|
|
3069
2950
|
{
|
|
3070
2951
|
"kind": "javascript-module",
|
|
3071
|
-
"path": "src/jsonforms/renderers/
|
|
2952
|
+
"path": "src/jsonforms/renderers/EnumControlRenderer.ts",
|
|
3072
2953
|
"declarations": [
|
|
3073
2954
|
{
|
|
3074
|
-
"kind": "
|
|
3075
|
-
"name": "
|
|
3076
|
-
"
|
|
2955
|
+
"kind": "function",
|
|
2956
|
+
"name": "mapStateToEnumControlProps",
|
|
2957
|
+
"return": {
|
|
2958
|
+
"type": {
|
|
2959
|
+
"text": "StatePropsOfControl & OwnPropsOfEnum"
|
|
2960
|
+
}
|
|
2961
|
+
},
|
|
2962
|
+
"parameters": [
|
|
2963
|
+
{
|
|
2964
|
+
"name": "state",
|
|
2965
|
+
"type": {
|
|
2966
|
+
"text": "JsonFormsState"
|
|
2967
|
+
}
|
|
2968
|
+
},
|
|
2969
|
+
{
|
|
2970
|
+
"name": "ownProps",
|
|
2971
|
+
"type": {
|
|
2972
|
+
"text": "OwnPropsOfControl & OwnPropsOfEnum"
|
|
2973
|
+
}
|
|
2974
|
+
}
|
|
2975
|
+
]
|
|
2976
|
+
},
|
|
2977
|
+
{
|
|
2978
|
+
"kind": "function",
|
|
2979
|
+
"name": "EnumControlRendererTemplate",
|
|
2980
|
+
"parameters": [
|
|
2981
|
+
{
|
|
2982
|
+
"name": "prefix",
|
|
2983
|
+
"default": "'zero'",
|
|
2984
|
+
"type": {
|
|
2985
|
+
"text": "string"
|
|
2986
|
+
}
|
|
2987
|
+
}
|
|
2988
|
+
]
|
|
3077
2989
|
},
|
|
3078
2990
|
{
|
|
3079
2991
|
"kind": "variable",
|
|
3080
|
-
"name": "
|
|
2992
|
+
"name": "EnumControlRendererEntry",
|
|
3081
2993
|
"type": {
|
|
3082
|
-
"text": "
|
|
2994
|
+
"text": "RendererEntry"
|
|
3083
2995
|
},
|
|
3084
|
-
"default": "{\n renderer:
|
|
2996
|
+
"default": "{\n renderer: html`\n ${(x) => EnumControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(ENUM_CONTROL_RANK, isOneOfEnum),\n mapper: mapStateToEnumControlProps,\n}"
|
|
3085
2997
|
}
|
|
3086
2998
|
],
|
|
3087
2999
|
"exports": [
|
|
3088
3000
|
{
|
|
3089
3001
|
"kind": "js",
|
|
3090
|
-
"name": "
|
|
3002
|
+
"name": "mapStateToEnumControlProps",
|
|
3091
3003
|
"declaration": {
|
|
3092
|
-
"name": "
|
|
3093
|
-
"module": "src/jsonforms/renderers/
|
|
3004
|
+
"name": "mapStateToEnumControlProps",
|
|
3005
|
+
"module": "src/jsonforms/renderers/EnumControlRenderer.ts"
|
|
3094
3006
|
}
|
|
3095
3007
|
},
|
|
3096
3008
|
{
|
|
3097
3009
|
"kind": "js",
|
|
3098
|
-
"name": "
|
|
3010
|
+
"name": "EnumControlRendererTemplate",
|
|
3099
3011
|
"declaration": {
|
|
3100
|
-
"name": "
|
|
3101
|
-
"module": "src/jsonforms/renderers/
|
|
3012
|
+
"name": "EnumControlRendererTemplate",
|
|
3013
|
+
"module": "src/jsonforms/renderers/EnumControlRenderer.ts"
|
|
3014
|
+
}
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"kind": "js",
|
|
3018
|
+
"name": "EnumControlRendererEntry",
|
|
3019
|
+
"declaration": {
|
|
3020
|
+
"name": "EnumControlRendererEntry",
|
|
3021
|
+
"module": "src/jsonforms/renderers/EnumControlRenderer.ts"
|
|
3102
3022
|
}
|
|
3103
3023
|
}
|
|
3104
3024
|
]
|
|
3105
3025
|
},
|
|
3106
3026
|
{
|
|
3107
3027
|
"kind": "javascript-module",
|
|
3108
|
-
"path": "src/jsonforms/renderers/
|
|
3028
|
+
"path": "src/jsonforms/renderers/EnumRadioGroupControlRenderer.ts",
|
|
3109
3029
|
"declarations": [
|
|
3110
3030
|
{
|
|
3111
|
-
"kind": "
|
|
3112
|
-
"name": "
|
|
3113
|
-
"
|
|
3031
|
+
"kind": "function",
|
|
3032
|
+
"name": "EnumRadioGroupControlRendererTemplate",
|
|
3033
|
+
"parameters": [
|
|
3034
|
+
{
|
|
3035
|
+
"name": "prefix",
|
|
3036
|
+
"default": "'zero'",
|
|
3037
|
+
"type": {
|
|
3038
|
+
"text": "string"
|
|
3039
|
+
}
|
|
3040
|
+
}
|
|
3041
|
+
]
|
|
3114
3042
|
},
|
|
3115
3043
|
{
|
|
3116
3044
|
"kind": "variable",
|
|
3117
|
-
"name": "
|
|
3045
|
+
"name": "EnumRadioGroupControlRendererEntry",
|
|
3118
3046
|
"type": {
|
|
3119
|
-
"text": "
|
|
3047
|
+
"text": "RendererEntry"
|
|
3048
|
+
},
|
|
3049
|
+
"default": "{\n renderer: html<DispatchRenderer>`\n ${(x) => EnumRadioGroupControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(ENUM_RADIO_GROUP_CONTROL_RANK, optionIs('radio')),\n mapper: mapStateToControlProps,\n}",
|
|
3050
|
+
"description": "A JSON Forms renderer that renders enum options as a radio-group.\n\nActivated when the uischema element has `options.radio: true`.\nTakes precedence over other enum renderers due to its higher rank.\n\nOptions are typed via RadioGroupRendererOptions.",
|
|
3051
|
+
"privacy": "public"
|
|
3052
|
+
}
|
|
3053
|
+
],
|
|
3054
|
+
"exports": [
|
|
3055
|
+
{
|
|
3056
|
+
"kind": "js",
|
|
3057
|
+
"name": "EnumRadioGroupControlRendererTemplate",
|
|
3058
|
+
"declaration": {
|
|
3059
|
+
"name": "EnumRadioGroupControlRendererTemplate",
|
|
3060
|
+
"module": "src/jsonforms/renderers/EnumRadioGroupControlRenderer.ts"
|
|
3061
|
+
}
|
|
3062
|
+
},
|
|
3063
|
+
{
|
|
3064
|
+
"kind": "js",
|
|
3065
|
+
"name": "EnumRadioGroupControlRendererEntry",
|
|
3066
|
+
"declaration": {
|
|
3067
|
+
"name": "EnumRadioGroupControlRendererEntry",
|
|
3068
|
+
"module": "src/jsonforms/renderers/EnumRadioGroupControlRenderer.ts"
|
|
3069
|
+
}
|
|
3070
|
+
}
|
|
3071
|
+
]
|
|
3072
|
+
},
|
|
3073
|
+
{
|
|
3074
|
+
"kind": "javascript-module",
|
|
3075
|
+
"path": "src/jsonforms/renderers/FilterDateControlRenderer.ts",
|
|
3076
|
+
"declarations": [
|
|
3077
|
+
{
|
|
3078
|
+
"kind": "function",
|
|
3079
|
+
"name": "DateControlRendererTemplate",
|
|
3080
|
+
"parameters": [
|
|
3081
|
+
{
|
|
3082
|
+
"name": "prefix",
|
|
3083
|
+
"default": "'zero'",
|
|
3084
|
+
"type": {
|
|
3085
|
+
"text": "string"
|
|
3086
|
+
}
|
|
3087
|
+
}
|
|
3088
|
+
]
|
|
3089
|
+
},
|
|
3090
|
+
{
|
|
3091
|
+
"kind": "variable",
|
|
3092
|
+
"name": "FilterDateControlRendererEntry",
|
|
3093
|
+
"type": {
|
|
3094
|
+
"text": "RendererEntry"
|
|
3095
|
+
},
|
|
3096
|
+
"default": "{\n renderer: html`\n ${(x) => DateControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(DATE_CONTROL_RANK, isOneOfDate),\n mapper: mapStateToControlProps,\n}"
|
|
3097
|
+
}
|
|
3098
|
+
],
|
|
3099
|
+
"exports": [
|
|
3100
|
+
{
|
|
3101
|
+
"kind": "js",
|
|
3102
|
+
"name": "DateControlRendererTemplate",
|
|
3103
|
+
"declaration": {
|
|
3104
|
+
"name": "DateControlRendererTemplate",
|
|
3105
|
+
"module": "src/jsonforms/renderers/FilterDateControlRenderer.ts"
|
|
3106
|
+
}
|
|
3107
|
+
},
|
|
3108
|
+
{
|
|
3109
|
+
"kind": "js",
|
|
3110
|
+
"name": "FilterDateControlRendererEntry",
|
|
3111
|
+
"declaration": {
|
|
3112
|
+
"name": "FilterDateControlRendererEntry",
|
|
3113
|
+
"module": "src/jsonforms/renderers/FilterDateControlRenderer.ts"
|
|
3114
|
+
}
|
|
3115
|
+
}
|
|
3116
|
+
]
|
|
3117
|
+
},
|
|
3118
|
+
{
|
|
3119
|
+
"kind": "javascript-module",
|
|
3120
|
+
"path": "src/jsonforms/renderers/FilterNumberControlRenderer.ts",
|
|
3121
|
+
"declarations": [
|
|
3122
|
+
{
|
|
3123
|
+
"kind": "function",
|
|
3124
|
+
"name": "FilterNumberControlRendererTemplate",
|
|
3125
|
+
"parameters": [
|
|
3126
|
+
{
|
|
3127
|
+
"name": "prefix",
|
|
3128
|
+
"default": "'zero'",
|
|
3129
|
+
"type": {
|
|
3130
|
+
"text": "string"
|
|
3131
|
+
}
|
|
3132
|
+
}
|
|
3133
|
+
]
|
|
3134
|
+
},
|
|
3135
|
+
{
|
|
3136
|
+
"kind": "variable",
|
|
3137
|
+
"name": "FilterNumberControlRendererEntry",
|
|
3138
|
+
"type": {
|
|
3139
|
+
"text": "RendererEntry"
|
|
3140
|
+
},
|
|
3141
|
+
"default": "{\n renderer: html`\n ${(x) => FilterNumberControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(NUMBER_CONTROL_RANK, isOneOfNumber),\n mapper: mapStateToControlProps,\n}"
|
|
3142
|
+
}
|
|
3143
|
+
],
|
|
3144
|
+
"exports": [
|
|
3145
|
+
{
|
|
3146
|
+
"kind": "js",
|
|
3147
|
+
"name": "FilterNumberControlRendererTemplate",
|
|
3148
|
+
"declaration": {
|
|
3149
|
+
"name": "FilterNumberControlRendererTemplate",
|
|
3150
|
+
"module": "src/jsonforms/renderers/FilterNumberControlRenderer.ts"
|
|
3151
|
+
}
|
|
3152
|
+
},
|
|
3153
|
+
{
|
|
3154
|
+
"kind": "js",
|
|
3155
|
+
"name": "FilterNumberControlRendererEntry",
|
|
3156
|
+
"declaration": {
|
|
3157
|
+
"name": "FilterNumberControlRendererEntry",
|
|
3158
|
+
"module": "src/jsonforms/renderers/FilterNumberControlRenderer.ts"
|
|
3159
|
+
}
|
|
3160
|
+
}
|
|
3161
|
+
]
|
|
3162
|
+
},
|
|
3163
|
+
{
|
|
3164
|
+
"kind": "javascript-module",
|
|
3165
|
+
"path": "src/jsonforms/renderers/FilterTimeControlRenderer.ts",
|
|
3166
|
+
"declarations": [
|
|
3167
|
+
{
|
|
3168
|
+
"kind": "function",
|
|
3169
|
+
"name": "TimeControlRendererTemplate",
|
|
3170
|
+
"parameters": [
|
|
3171
|
+
{
|
|
3172
|
+
"name": "prefix",
|
|
3173
|
+
"default": "'zero'",
|
|
3174
|
+
"type": {
|
|
3175
|
+
"text": "string"
|
|
3176
|
+
}
|
|
3177
|
+
}
|
|
3178
|
+
]
|
|
3179
|
+
},
|
|
3180
|
+
{
|
|
3181
|
+
"kind": "variable",
|
|
3182
|
+
"name": "FilterTimeControlRendererEntry",
|
|
3183
|
+
"type": {
|
|
3184
|
+
"text": "RendererEntry"
|
|
3185
|
+
},
|
|
3186
|
+
"default": "{\n renderer: html`\n ${(x) => TimeControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(TIME_CONTROL_RANK, isOneOfTime),\n mapper: mapStateToControlProps,\n}"
|
|
3187
|
+
}
|
|
3188
|
+
],
|
|
3189
|
+
"exports": [
|
|
3190
|
+
{
|
|
3191
|
+
"kind": "js",
|
|
3192
|
+
"name": "TimeControlRendererTemplate",
|
|
3193
|
+
"declaration": {
|
|
3194
|
+
"name": "TimeControlRendererTemplate",
|
|
3195
|
+
"module": "src/jsonforms/renderers/FilterTimeControlRenderer.ts"
|
|
3196
|
+
}
|
|
3197
|
+
},
|
|
3198
|
+
{
|
|
3199
|
+
"kind": "js",
|
|
3200
|
+
"name": "FilterTimeControlRendererEntry",
|
|
3201
|
+
"declaration": {
|
|
3202
|
+
"name": "FilterTimeControlRendererEntry",
|
|
3203
|
+
"module": "src/jsonforms/renderers/FilterTimeControlRenderer.ts"
|
|
3204
|
+
}
|
|
3205
|
+
}
|
|
3206
|
+
]
|
|
3207
|
+
},
|
|
3208
|
+
{
|
|
3209
|
+
"kind": "javascript-module",
|
|
3210
|
+
"path": "src/jsonforms/renderers/InvisibleControlRenderer.ts",
|
|
3211
|
+
"declarations": [
|
|
3212
|
+
{
|
|
3213
|
+
"kind": "variable",
|
|
3214
|
+
"name": "InvisibleControlRendererTemplate",
|
|
3215
|
+
"default": "html<DispatchRenderer>`\n <template>\n <pre\n :value=${(x) => x.control.data || ''}\n id=${(x) => x.control.path}\n data-test-id=${(x) => x.control.path}\n style=\"display: none\"\n ></pre>\n </template>\n`"
|
|
3216
|
+
},
|
|
3217
|
+
{
|
|
3218
|
+
"kind": "variable",
|
|
3219
|
+
"name": "InvisibleControlEntry",
|
|
3220
|
+
"type": {
|
|
3221
|
+
"text": "RendererEntry"
|
|
3222
|
+
},
|
|
3223
|
+
"default": "{\n renderer: InvisibleControlRendererTemplate,\n tester: rankWith(INVISIBLE_CONTROL_RANK, isInvisible),\n mapper: mapStateToControlProps,\n}"
|
|
3224
|
+
}
|
|
3225
|
+
],
|
|
3226
|
+
"exports": [
|
|
3227
|
+
{
|
|
3228
|
+
"kind": "js",
|
|
3229
|
+
"name": "InvisibleControlRendererTemplate",
|
|
3230
|
+
"declaration": {
|
|
3231
|
+
"name": "InvisibleControlRendererTemplate",
|
|
3232
|
+
"module": "src/jsonforms/renderers/InvisibleControlRenderer.ts"
|
|
3233
|
+
}
|
|
3234
|
+
},
|
|
3235
|
+
{
|
|
3236
|
+
"kind": "js",
|
|
3237
|
+
"name": "InvisibleControlEntry",
|
|
3238
|
+
"declaration": {
|
|
3239
|
+
"name": "InvisibleControlEntry",
|
|
3240
|
+
"module": "src/jsonforms/renderers/InvisibleControlRenderer.ts"
|
|
3241
|
+
}
|
|
3242
|
+
}
|
|
3243
|
+
]
|
|
3244
|
+
},
|
|
3245
|
+
{
|
|
3246
|
+
"kind": "javascript-module",
|
|
3247
|
+
"path": "src/jsonforms/renderers/LayoutArrayRenderer.ts",
|
|
3248
|
+
"declarations": [
|
|
3249
|
+
{
|
|
3250
|
+
"kind": "variable",
|
|
3251
|
+
"name": "LayoutArrayRendererTemplate",
|
|
3252
|
+
"default": "html<DispatchRenderer>`\n <template>\n <div style=\"${(x) => (x.control.uischema.options?.border ? borderStyle : '')}\">\n ${controlWrapperTemplate({\n prefix: 'zero',\n innerTemplate: html<DispatchRenderer>`\n <array-list-wrapper :form=${(x) => x} :control=${(x) => x.control}></array-list-wrapper>\n `,\n })}\n </div>\n </template>\n`"
|
|
3253
|
+
},
|
|
3254
|
+
{
|
|
3255
|
+
"kind": "variable",
|
|
3256
|
+
"name": "LayoutArrayRendererEntry",
|
|
3257
|
+
"type": {
|
|
3258
|
+
"text": "any"
|
|
3259
|
+
},
|
|
3260
|
+
"default": "{\n renderer: LayoutArrayRendererTemplate,\n tester: rankWith(LAYOUT_ARRAY_RANK, isArray('object')),\n mapper: mapStateToArrayLayoutProps,\n dispatchMapper: mapDispatchToArrayControlProps,\n}"
|
|
3261
|
+
}
|
|
3262
|
+
],
|
|
3263
|
+
"exports": [
|
|
3264
|
+
{
|
|
3265
|
+
"kind": "js",
|
|
3266
|
+
"name": "LayoutArrayRendererTemplate",
|
|
3267
|
+
"declaration": {
|
|
3268
|
+
"name": "LayoutArrayRendererTemplate",
|
|
3269
|
+
"module": "src/jsonforms/renderers/LayoutArrayRenderer.ts"
|
|
3270
|
+
}
|
|
3271
|
+
},
|
|
3272
|
+
{
|
|
3273
|
+
"kind": "js",
|
|
3274
|
+
"name": "LayoutArrayRendererEntry",
|
|
3275
|
+
"declaration": {
|
|
3276
|
+
"name": "LayoutArrayRendererEntry",
|
|
3277
|
+
"module": "src/jsonforms/renderers/LayoutArrayRenderer.ts"
|
|
3278
|
+
}
|
|
3279
|
+
}
|
|
3280
|
+
]
|
|
3281
|
+
},
|
|
3282
|
+
{
|
|
3283
|
+
"kind": "javascript-module",
|
|
3284
|
+
"path": "src/jsonforms/renderers/LayoutCategorizationRenderer.ts",
|
|
3285
|
+
"declarations": [
|
|
3286
|
+
{
|
|
3287
|
+
"kind": "variable",
|
|
3288
|
+
"name": "LayoutCategorizationRendererTemplate",
|
|
3289
|
+
"default": "html`\n <template>\n <categorization-wrapper :form=${(x) => x} :control=${(x) => x.control}></categorization-wrapper>\n </template>\n`"
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"kind": "variable",
|
|
3293
|
+
"name": "LayoutCategorizationRendererEntry",
|
|
3294
|
+
"type": {
|
|
3295
|
+
"text": "any"
|
|
3120
3296
|
},
|
|
3121
3297
|
"default": "{\n renderer: LayoutCategorizationRendererTemplate,\n tester: rankWith(LAYOUT_CATEGORIZATION_RANK, (uiSchema) => uiSchema.type === 'Categorization'),\n mapper: mapStateToLayoutProps,\n}"
|
|
3122
3298
|
}
|
|
@@ -4782,1039 +4958,203 @@
|
|
|
4782
4958
|
},
|
|
4783
4959
|
{
|
|
4784
4960
|
"kind": "javascript-module",
|
|
4785
|
-
"path": "src/jsonforms/testers/isInvisible.ts",
|
|
4786
|
-
"declarations": [
|
|
4787
|
-
{
|
|
4788
|
-
"kind": "function",
|
|
4789
|
-
"name": "isInvisible",
|
|
4790
|
-
"return": {
|
|
4791
|
-
"type": {
|
|
4792
|
-
"text": "boolean"
|
|
4793
|
-
}
|
|
4794
|
-
},
|
|
4795
|
-
"parameters": [
|
|
4796
|
-
{
|
|
4797
|
-
"name": "uischema",
|
|
4798
|
-
"type": {
|
|
4799
|
-
"text": "UISchemaElement"
|
|
4800
|
-
}
|
|
4801
|
-
},
|
|
4802
|
-
{
|
|
4803
|
-
"name": "schema",
|
|
4804
|
-
"type": {
|
|
4805
|
-
"text": "JsonSchema"
|
|
4806
|
-
}
|
|
4807
|
-
},
|
|
4808
|
-
{
|
|
4809
|
-
"name": "context",
|
|
4810
|
-
"type": {
|
|
4811
|
-
"text": "TesterContext"
|
|
4812
|
-
}
|
|
4813
|
-
}
|
|
4814
|
-
]
|
|
4815
|
-
}
|
|
4816
|
-
],
|
|
4817
|
-
"exports": [
|
|
4818
|
-
{
|
|
4819
|
-
"kind": "js",
|
|
4820
|
-
"name": "isInvisible",
|
|
4821
|
-
"declaration": {
|
|
4822
|
-
"name": "isInvisible",
|
|
4823
|
-
"module": "src/jsonforms/testers/isInvisible.ts"
|
|
4824
|
-
}
|
|
4825
|
-
}
|
|
4826
|
-
]
|
|
4827
|
-
},
|
|
4828
|
-
{
|
|
4829
|
-
"kind": "javascript-module",
|
|
4830
|
-
"path": "src/jsonforms/testers/isOneOfBoolean.ts",
|
|
4831
|
-
"declarations": [
|
|
4832
|
-
{
|
|
4833
|
-
"kind": "variable",
|
|
4834
|
-
"name": "isOneOfBoolean"
|
|
4835
|
-
}
|
|
4836
|
-
],
|
|
4837
|
-
"exports": [
|
|
4838
|
-
{
|
|
4839
|
-
"kind": "js",
|
|
4840
|
-
"name": "isOneOfBoolean",
|
|
4841
|
-
"declaration": {
|
|
4842
|
-
"name": "isOneOfBoolean",
|
|
4843
|
-
"module": "src/jsonforms/testers/isOneOfBoolean.ts"
|
|
4844
|
-
}
|
|
4845
|
-
}
|
|
4846
|
-
]
|
|
4847
|
-
},
|
|
4848
|
-
{
|
|
4849
|
-
"kind": "javascript-module",
|
|
4850
|
-
"path": "src/jsonforms/testers/isOneOfEnum.ts",
|
|
4851
|
-
"declarations": [
|
|
4852
|
-
{
|
|
4853
|
-
"kind": "variable",
|
|
4854
|
-
"name": "isOneOfEnum"
|
|
4855
|
-
}
|
|
4856
|
-
],
|
|
4857
|
-
"exports": [
|
|
4858
|
-
{
|
|
4859
|
-
"kind": "js",
|
|
4860
|
-
"name": "isOneOfEnum",
|
|
4861
|
-
"declaration": {
|
|
4862
|
-
"name": "isOneOfEnum",
|
|
4863
|
-
"module": "src/jsonforms/testers/isOneOfEnum.ts"
|
|
4864
|
-
}
|
|
4865
|
-
}
|
|
4866
|
-
]
|
|
4867
|
-
},
|
|
4868
|
-
{
|
|
4869
|
-
"kind": "javascript-module",
|
|
4870
|
-
"path": "src/jsonforms/testers/isOneOfNumber.ts",
|
|
4871
|
-
"declarations": [
|
|
4872
|
-
{
|
|
4873
|
-
"kind": "function",
|
|
4874
|
-
"name": "isBigDecimal",
|
|
4875
|
-
"return": {
|
|
4876
|
-
"type": {
|
|
4877
|
-
"text": "boolean"
|
|
4878
|
-
}
|
|
4879
|
-
},
|
|
4880
|
-
"parameters": [
|
|
4881
|
-
{
|
|
4882
|
-
"name": "fieldSchema",
|
|
4883
|
-
"type": {
|
|
4884
|
-
"text": "GenesisJsonSchema"
|
|
4885
|
-
}
|
|
4886
|
-
}
|
|
4887
|
-
]
|
|
4888
|
-
},
|
|
4889
|
-
{
|
|
4890
|
-
"kind": "variable",
|
|
4891
|
-
"name": "isOneOfNumber"
|
|
4892
|
-
}
|
|
4893
|
-
],
|
|
4894
|
-
"exports": [
|
|
4895
|
-
{
|
|
4896
|
-
"kind": "js",
|
|
4897
|
-
"name": "isBigDecimal",
|
|
4898
|
-
"declaration": {
|
|
4899
|
-
"name": "isBigDecimal",
|
|
4900
|
-
"module": "src/jsonforms/testers/isOneOfNumber.ts"
|
|
4901
|
-
}
|
|
4902
|
-
},
|
|
4903
|
-
{
|
|
4904
|
-
"kind": "js",
|
|
4905
|
-
"name": "isOneOfNumber",
|
|
4906
|
-
"declaration": {
|
|
4907
|
-
"name": "isOneOfNumber",
|
|
4908
|
-
"module": "src/jsonforms/testers/isOneOfNumber.ts"
|
|
4909
|
-
}
|
|
4910
|
-
}
|
|
4911
|
-
]
|
|
4912
|
-
},
|
|
4913
|
-
{
|
|
4914
|
-
"kind": "javascript-module",
|
|
4915
|
-
"path": "src/jsonforms/testers/isOneOfOptionMultiselect.ts",
|
|
4916
|
-
"declarations": [
|
|
4917
|
-
{
|
|
4918
|
-
"kind": "variable",
|
|
4919
|
-
"name": "isOneOfOptionMultiselect"
|
|
4920
|
-
}
|
|
4921
|
-
],
|
|
4922
|
-
"exports": [
|
|
4923
|
-
{
|
|
4924
|
-
"kind": "js",
|
|
4925
|
-
"name": "isOneOfOptionMultiselect",
|
|
4926
|
-
"declaration": {
|
|
4927
|
-
"name": "isOneOfOptionMultiselect",
|
|
4928
|
-
"module": "src/jsonforms/testers/isOneOfOptionMultiselect.ts"
|
|
4929
|
-
}
|
|
4930
|
-
}
|
|
4931
|
-
]
|
|
4932
|
-
},
|
|
4933
|
-
{
|
|
4934
|
-
"kind": "javascript-module",
|
|
4935
|
-
"path": "src/jsonforms/testers/isTime.ts",
|
|
4936
|
-
"declarations": [
|
|
4937
|
-
{
|
|
4938
|
-
"kind": "variable",
|
|
4939
|
-
"name": "isOneOfTime"
|
|
4940
|
-
}
|
|
4941
|
-
],
|
|
4942
|
-
"exports": [
|
|
4943
|
-
{
|
|
4944
|
-
"kind": "js",
|
|
4945
|
-
"name": "isOneOfTime",
|
|
4946
|
-
"declaration": {
|
|
4947
|
-
"name": "isOneOfTime",
|
|
4948
|
-
"module": "src/jsonforms/testers/isTime.ts"
|
|
4949
|
-
}
|
|
4950
|
-
}
|
|
4951
|
-
]
|
|
4952
|
-
},
|
|
4953
|
-
{
|
|
4954
|
-
"kind": "javascript-module",
|
|
4955
|
-
"path": "src/jsonforms/testers/optionIs.ts",
|
|
4956
|
-
"declarations": [
|
|
4957
|
-
{
|
|
4958
|
-
"kind": "function",
|
|
4959
|
-
"name": "optionIs",
|
|
4960
|
-
"return": {
|
|
4961
|
-
"type": {
|
|
4962
|
-
"text": "Tester"
|
|
4963
|
-
}
|
|
4964
|
-
},
|
|
4965
|
-
"parameters": [
|
|
4966
|
-
{
|
|
4967
|
-
"name": "optionName",
|
|
4968
|
-
"type": {
|
|
4969
|
-
"text": "string"
|
|
4970
|
-
}
|
|
4971
|
-
}
|
|
4972
|
-
]
|
|
4973
|
-
}
|
|
4974
|
-
],
|
|
4975
|
-
"exports": [
|
|
4976
|
-
{
|
|
4977
|
-
"kind": "js",
|
|
4978
|
-
"name": "optionIs",
|
|
4979
|
-
"declaration": {
|
|
4980
|
-
"name": "optionIs",
|
|
4981
|
-
"module": "src/jsonforms/testers/optionIs.ts"
|
|
4982
|
-
}
|
|
4983
|
-
}
|
|
4984
|
-
]
|
|
4985
|
-
},
|
|
4986
|
-
{
|
|
4987
|
-
"kind": "javascript-module",
|
|
4988
|
-
"path": "src/utils/confirmation-dialog-utils.ts",
|
|
4989
|
-
"declarations": [],
|
|
4990
|
-
"exports": []
|
|
4991
|
-
},
|
|
4992
|
-
{
|
|
4993
|
-
"kind": "javascript-module",
|
|
4994
|
-
"path": "src/utils/csv-parser.ts",
|
|
4995
|
-
"declarations": [
|
|
4996
|
-
{
|
|
4997
|
-
"kind": "function",
|
|
4998
|
-
"name": "parseCsv",
|
|
4999
|
-
"return": {
|
|
5000
|
-
"type": {
|
|
5001
|
-
"text": ""
|
|
5002
|
-
}
|
|
5003
|
-
},
|
|
5004
|
-
"parameters": [
|
|
5005
|
-
{
|
|
5006
|
-
"name": "content",
|
|
5007
|
-
"type": {
|
|
5008
|
-
"text": "string"
|
|
5009
|
-
},
|
|
5010
|
-
"description": "The CSV content as a string"
|
|
5011
|
-
}
|
|
5012
|
-
],
|
|
5013
|
-
"description": "Parses a CSV string into headers and rows using PapaParse.\nHandles quoted fields, escaped quotes, empty values, and mixed line endings.",
|
|
5014
|
-
"privacy": "public"
|
|
5015
|
-
},
|
|
5016
|
-
{
|
|
5017
|
-
"kind": "function",
|
|
5018
|
-
"name": "mapCsvToSchema",
|
|
5019
|
-
"return": {
|
|
5020
|
-
"type": {
|
|
5021
|
-
"text": ""
|
|
5022
|
-
}
|
|
5023
|
-
},
|
|
5024
|
-
"parameters": [
|
|
5025
|
-
{
|
|
5026
|
-
"name": "csvRows",
|
|
5027
|
-
"type": {
|
|
5028
|
-
"text": "Record<string, string>[]"
|
|
5029
|
-
},
|
|
5030
|
-
"description": "The parsed CSV rows"
|
|
5031
|
-
},
|
|
5032
|
-
{
|
|
5033
|
-
"name": "schema",
|
|
5034
|
-
"type": {
|
|
5035
|
-
"text": "JSONSchema7 | undefined"
|
|
5036
|
-
},
|
|
5037
|
-
"description": "The JSON schema defining the fields"
|
|
5038
|
-
},
|
|
5039
|
-
{
|
|
5040
|
-
"name": "uiSchema",
|
|
5041
|
-
"optional": true,
|
|
5042
|
-
"type": {
|
|
5043
|
-
"text": "UiSchema"
|
|
5044
|
-
},
|
|
5045
|
-
"description": "Optional UI schema to map labels to field names on import"
|
|
5046
|
-
}
|
|
5047
|
-
],
|
|
5048
|
-
"description": "Maps CSV rows to schema fields with case-insensitive matching.\nWhen uiSchema is provided, CSV headers can also match UI schema labels.\nConverts values to appropriate types based on schema definition.",
|
|
5049
|
-
"privacy": "public"
|
|
5050
|
-
},
|
|
5051
|
-
{
|
|
5052
|
-
"kind": "function",
|
|
5053
|
-
"name": "generateCsvTemplate",
|
|
5054
|
-
"return": {
|
|
5055
|
-
"type": {
|
|
5056
|
-
"text": ""
|
|
5057
|
-
}
|
|
5058
|
-
},
|
|
5059
|
-
"parameters": [
|
|
5060
|
-
{
|
|
5061
|
-
"name": "schema",
|
|
5062
|
-
"type": {
|
|
5063
|
-
"text": "JSONSchema7 | undefined"
|
|
5064
|
-
},
|
|
5065
|
-
"description": "The JSON schema defining the fields"
|
|
5066
|
-
},
|
|
5067
|
-
{
|
|
5068
|
-
"name": "uiSchema",
|
|
5069
|
-
"optional": true,
|
|
5070
|
-
"type": {
|
|
5071
|
-
"text": "UiSchema"
|
|
5072
|
-
},
|
|
5073
|
-
"description": "Optional UI schema to determine field order and visibility"
|
|
5074
|
-
},
|
|
5075
|
-
{
|
|
5076
|
-
"name": "includeOptionalFields",
|
|
5077
|
-
"default": "true",
|
|
5078
|
-
"type": {
|
|
5079
|
-
"text": "boolean"
|
|
5080
|
-
},
|
|
5081
|
-
"description": "Whether to include optional fields when no UI schema (default: true)"
|
|
5082
|
-
},
|
|
5083
|
-
{
|
|
5084
|
-
"name": "includeBom",
|
|
5085
|
-
"default": "true",
|
|
5086
|
-
"type": {
|
|
5087
|
-
"text": "boolean"
|
|
5088
|
-
},
|
|
5089
|
-
"description": "Whether to prepend UTF-8 BOM for Excel compatibility (default: true)"
|
|
5090
|
-
}
|
|
5091
|
-
],
|
|
5092
|
-
"description": "Generates a CSV template string with headers and sample data based on JSON schema.\nIf a UI schema is provided, it will be used to determine which fields to include\nand in what order. Hidden fields in the UI schema will be excluded.",
|
|
5093
|
-
"privacy": "public"
|
|
5094
|
-
},
|
|
5095
|
-
{
|
|
5096
|
-
"kind": "function",
|
|
5097
|
-
"name": "downloadCsvTemplate",
|
|
5098
|
-
"return": {
|
|
5099
|
-
"type": {
|
|
5100
|
-
"text": "void"
|
|
5101
|
-
}
|
|
5102
|
-
},
|
|
5103
|
-
"parameters": [
|
|
5104
|
-
{
|
|
5105
|
-
"name": "csvContent",
|
|
5106
|
-
"type": {
|
|
5107
|
-
"text": "string"
|
|
5108
|
-
},
|
|
5109
|
-
"description": "The CSV content to download"
|
|
5110
|
-
},
|
|
5111
|
-
{
|
|
5112
|
-
"name": "fileName",
|
|
5113
|
-
"default": "'template.csv'",
|
|
5114
|
-
"type": {
|
|
5115
|
-
"text": "string"
|
|
5116
|
-
},
|
|
5117
|
-
"description": "The name for the downloaded file (default: 'template.csv')"
|
|
5118
|
-
}
|
|
5119
|
-
],
|
|
5120
|
-
"description": "Triggers a download of the CSV template file in the browser.",
|
|
5121
|
-
"privacy": "public"
|
|
5122
|
-
}
|
|
5123
|
-
],
|
|
5124
|
-
"exports": [
|
|
5125
|
-
{
|
|
5126
|
-
"kind": "js",
|
|
5127
|
-
"name": "parseCsv",
|
|
5128
|
-
"declaration": {
|
|
5129
|
-
"name": "parseCsv",
|
|
5130
|
-
"module": "src/utils/csv-parser.ts"
|
|
5131
|
-
}
|
|
5132
|
-
},
|
|
5133
|
-
{
|
|
5134
|
-
"kind": "js",
|
|
5135
|
-
"name": "mapCsvToSchema",
|
|
5136
|
-
"declaration": {
|
|
5137
|
-
"name": "mapCsvToSchema",
|
|
5138
|
-
"module": "src/utils/csv-parser.ts"
|
|
5139
|
-
}
|
|
5140
|
-
},
|
|
5141
|
-
{
|
|
5142
|
-
"kind": "js",
|
|
5143
|
-
"name": "generateCsvTemplate",
|
|
5144
|
-
"declaration": {
|
|
5145
|
-
"name": "generateCsvTemplate",
|
|
5146
|
-
"module": "src/utils/csv-parser.ts"
|
|
5147
|
-
}
|
|
5148
|
-
},
|
|
5149
|
-
{
|
|
5150
|
-
"kind": "js",
|
|
5151
|
-
"name": "downloadCsvTemplate",
|
|
5152
|
-
"declaration": {
|
|
5153
|
-
"name": "downloadCsvTemplate",
|
|
5154
|
-
"module": "src/utils/csv-parser.ts"
|
|
5155
|
-
}
|
|
5156
|
-
}
|
|
5157
|
-
]
|
|
5158
|
-
},
|
|
5159
|
-
{
|
|
5160
|
-
"kind": "javascript-module",
|
|
5161
|
-
"path": "src/utils/filters.ts",
|
|
5162
|
-
"declarations": [],
|
|
5163
|
-
"exports": []
|
|
5164
|
-
},
|
|
5165
|
-
{
|
|
5166
|
-
"kind": "javascript-module",
|
|
5167
|
-
"path": "src/utils/form-utils.ts",
|
|
5168
|
-
"declarations": [
|
|
5169
|
-
{
|
|
5170
|
-
"kind": "function",
|
|
5171
|
-
"name": "removeDataPropertiesNotInSchema",
|
|
5172
|
-
"return": {
|
|
5173
|
-
"type": {
|
|
5174
|
-
"text": ""
|
|
5175
|
-
}
|
|
5176
|
-
},
|
|
5177
|
-
"parameters": [
|
|
5178
|
-
{
|
|
5179
|
-
"name": "data",
|
|
5180
|
-
"type": {
|
|
5181
|
-
"text": "any"
|
|
5182
|
-
},
|
|
5183
|
-
"description": "The data object to clean"
|
|
5184
|
-
},
|
|
5185
|
-
{
|
|
5186
|
-
"name": "jsonSchema",
|
|
5187
|
-
"type": {
|
|
5188
|
-
"text": "JSONSchema7"
|
|
5189
|
-
},
|
|
5190
|
-
"description": "The JSON schema to validate against"
|
|
5191
|
-
}
|
|
5192
|
-
],
|
|
5193
|
-
"description": "Removes data properties that aren't part of the schema"
|
|
5194
|
-
}
|
|
5195
|
-
],
|
|
5196
|
-
"exports": [
|
|
5197
|
-
{
|
|
5198
|
-
"kind": "js",
|
|
5199
|
-
"name": "removeDataPropertiesNotInSchema",
|
|
5200
|
-
"declaration": {
|
|
5201
|
-
"name": "removeDataPropertiesNotInSchema",
|
|
5202
|
-
"module": "src/utils/form-utils.ts"
|
|
5203
|
-
}
|
|
5204
|
-
}
|
|
5205
|
-
]
|
|
5206
|
-
},
|
|
5207
|
-
{
|
|
5208
|
-
"kind": "javascript-module",
|
|
5209
|
-
"path": "src/utils/index.ts",
|
|
5210
|
-
"declarations": [],
|
|
5211
|
-
"exports": [
|
|
5212
|
-
{
|
|
5213
|
-
"kind": "js",
|
|
5214
|
-
"name": "*",
|
|
5215
|
-
"declaration": {
|
|
5216
|
-
"name": "*",
|
|
5217
|
-
"package": "./csv-parser"
|
|
5218
|
-
}
|
|
5219
|
-
},
|
|
5220
|
-
{
|
|
5221
|
-
"kind": "js",
|
|
5222
|
-
"name": "*",
|
|
5223
|
-
"declaration": {
|
|
5224
|
-
"name": "*",
|
|
5225
|
-
"package": "./review-utils"
|
|
5226
|
-
}
|
|
5227
|
-
},
|
|
5228
|
-
{
|
|
5229
|
-
"kind": "js",
|
|
5230
|
-
"name": "*",
|
|
5231
|
-
"declaration": {
|
|
5232
|
-
"name": "*",
|
|
5233
|
-
"package": "./filters"
|
|
5234
|
-
}
|
|
5235
|
-
},
|
|
5236
|
-
{
|
|
5237
|
-
"kind": "js",
|
|
5238
|
-
"name": "*",
|
|
5239
|
-
"declaration": {
|
|
5240
|
-
"name": "*",
|
|
5241
|
-
"package": "./logger"
|
|
5242
|
-
}
|
|
5243
|
-
},
|
|
5244
|
-
{
|
|
5245
|
-
"kind": "js",
|
|
5246
|
-
"name": "*",
|
|
5247
|
-
"declaration": {
|
|
5248
|
-
"name": "*",
|
|
5249
|
-
"package": "./translation"
|
|
5250
|
-
}
|
|
5251
|
-
},
|
|
5252
|
-
{
|
|
5253
|
-
"kind": "js",
|
|
5254
|
-
"name": "*",
|
|
5255
|
-
"declaration": {
|
|
5256
|
-
"name": "*",
|
|
5257
|
-
"package": "./validation"
|
|
5258
|
-
}
|
|
5259
|
-
},
|
|
5260
|
-
{
|
|
5261
|
-
"kind": "js",
|
|
5262
|
-
"name": "*",
|
|
5263
|
-
"declaration": {
|
|
5264
|
-
"name": "*",
|
|
5265
|
-
"package": "./server-errors"
|
|
5266
|
-
}
|
|
5267
|
-
},
|
|
5268
|
-
{
|
|
5269
|
-
"kind": "js",
|
|
5270
|
-
"name": "*",
|
|
5271
|
-
"declaration": {
|
|
5272
|
-
"name": "*",
|
|
5273
|
-
"package": "./types"
|
|
5274
|
-
}
|
|
5275
|
-
}
|
|
5276
|
-
]
|
|
5277
|
-
},
|
|
5278
|
-
{
|
|
5279
|
-
"kind": "javascript-module",
|
|
5280
|
-
"path": "src/utils/logger.ts",
|
|
5281
|
-
"declarations": [],
|
|
5282
|
-
"exports": []
|
|
5283
|
-
},
|
|
5284
|
-
{
|
|
5285
|
-
"kind": "javascript-module",
|
|
5286
|
-
"path": "src/utils/review-utils.ts",
|
|
5287
|
-
"declarations": [
|
|
5288
|
-
{
|
|
5289
|
-
"kind": "function",
|
|
5290
|
-
"name": "buildReviewFields",
|
|
5291
|
-
"return": {
|
|
5292
|
-
"type": {
|
|
5293
|
-
"text": "Promise<ReviewField[]>"
|
|
5294
|
-
}
|
|
5295
|
-
},
|
|
5296
|
-
"parameters": [
|
|
5297
|
-
{
|
|
5298
|
-
"name": "data",
|
|
5299
|
-
"type": {
|
|
5300
|
-
"text": "Record<string, any>"
|
|
5301
|
-
}
|
|
5302
|
-
},
|
|
5303
|
-
{
|
|
5304
|
-
"name": "uiSchema",
|
|
5305
|
-
"type": {
|
|
5306
|
-
"text": "any"
|
|
5307
|
-
}
|
|
5308
|
-
},
|
|
5309
|
-
{
|
|
5310
|
-
"name": "schema",
|
|
5311
|
-
"type": {
|
|
5312
|
-
"text": "any"
|
|
5313
|
-
}
|
|
5314
|
-
}
|
|
5315
|
-
],
|
|
5316
|
-
"description": "Flattens `buildReviewSections` output into a single ordered list.\nSection titles are prepended to field labels as \"Title — Field\"."
|
|
5317
|
-
},
|
|
5318
|
-
{
|
|
5319
|
-
"kind": "function",
|
|
5320
|
-
"name": "buildReviewSections",
|
|
5321
|
-
"return": {
|
|
5322
|
-
"type": {
|
|
5323
|
-
"text": "Promise<ReviewSection[]>"
|
|
5324
|
-
}
|
|
5325
|
-
},
|
|
5326
|
-
"parameters": [
|
|
5327
|
-
{
|
|
5328
|
-
"name": "data",
|
|
5329
|
-
"type": {
|
|
5330
|
-
"text": "Record<string, any>"
|
|
5331
|
-
}
|
|
5332
|
-
},
|
|
5333
|
-
{
|
|
5334
|
-
"name": "uiSchema",
|
|
5335
|
-
"type": {
|
|
5336
|
-
"text": "any"
|
|
5337
|
-
}
|
|
5338
|
-
},
|
|
5339
|
-
{
|
|
5340
|
-
"name": "schema",
|
|
5341
|
-
"type": {
|
|
5342
|
-
"text": "any"
|
|
5343
|
-
}
|
|
5344
|
-
}
|
|
5345
|
-
],
|
|
5346
|
-
"description": "Builds the review panel's fields grouped into sections by their nearest `Group` layout.\nUngrouped fields are collected into a single section with a `null` title (rendered with\na placeholder heading). Falls back to a flat, single ungrouped section when no UI schema\nis available.\n\nAsync because connected-select fields backed by `options.allOptionsResourceName` (rather\nthan a static `options.data`) resolve their display label with a criteria-filtered fetch\n— see `resolveResourceOptionLabel`. The UI schema is walked synchronously to collect one\nvalue-resolution promise per field (preserving encounter order), then all promises settle\nin parallel via `Promise.all` before fields are added to their sections — so a slow fetch\nfor one field can't reorder fields that resolved faster."
|
|
5347
|
-
},
|
|
5348
|
-
{
|
|
5349
|
-
"kind": "function",
|
|
5350
|
-
"name": "filterReviewSections",
|
|
5351
|
-
"return": {
|
|
5352
|
-
"type": {
|
|
5353
|
-
"text": "ReviewSection[]"
|
|
5354
|
-
}
|
|
5355
|
-
},
|
|
5356
|
-
"parameters": [
|
|
5357
|
-
{
|
|
5358
|
-
"name": "sections",
|
|
5359
|
-
"type": {
|
|
5360
|
-
"text": "ReviewSection[]"
|
|
5361
|
-
}
|
|
5362
|
-
},
|
|
5363
|
-
{
|
|
5364
|
-
"name": "query",
|
|
5365
|
-
"type": {
|
|
5366
|
-
"text": "string"
|
|
5367
|
-
}
|
|
5368
|
-
}
|
|
5369
|
-
],
|
|
5370
|
-
"description": "Filters review sections down to fields whose label or value contains `query`\n(case-insensitive). Sections left with no matching fields are dropped entirely.\nReturns `sections` unchanged when `query` is blank."
|
|
5371
|
-
},
|
|
5372
|
-
{
|
|
5373
|
-
"kind": "function",
|
|
5374
|
-
"name": "collectReviewFields",
|
|
5375
|
-
"return": {
|
|
5376
|
-
"type": {
|
|
5377
|
-
"text": "void"
|
|
5378
|
-
}
|
|
5379
|
-
},
|
|
5380
|
-
"parameters": [
|
|
5381
|
-
{
|
|
5382
|
-
"name": "element",
|
|
5383
|
-
"type": {
|
|
5384
|
-
"text": "any"
|
|
5385
|
-
}
|
|
5386
|
-
},
|
|
5387
|
-
{
|
|
5388
|
-
"name": "data",
|
|
5389
|
-
"type": {
|
|
5390
|
-
"text": "any"
|
|
5391
|
-
}
|
|
5392
|
-
},
|
|
5393
|
-
{
|
|
5394
|
-
"name": "out",
|
|
5395
|
-
"type": {
|
|
5396
|
-
"text": "ReviewField[]"
|
|
5397
|
-
}
|
|
5398
|
-
},
|
|
5399
|
-
{
|
|
5400
|
-
"name": "groupLabel",
|
|
5401
|
-
"type": {
|
|
5402
|
-
"text": "string | undefined"
|
|
5403
|
-
}
|
|
5404
|
-
},
|
|
5405
|
-
{
|
|
5406
|
-
"name": "schema",
|
|
5407
|
-
"type": {
|
|
5408
|
-
"text": "any"
|
|
5409
|
-
}
|
|
5410
|
-
}
|
|
5411
|
-
],
|
|
5412
|
-
"description": "Recursively walks a UI schema element, collecting visible Control fields into `out`.\nPasses the nearest Group label down so children are labelled \"Group — Field\"."
|
|
5413
|
-
},
|
|
5414
|
-
{
|
|
5415
|
-
"kind": "function",
|
|
5416
|
-
"name": "resolveOptionLabel",
|
|
5417
|
-
"return": {
|
|
5418
|
-
"type": {
|
|
5419
|
-
"text": "string | null"
|
|
5420
|
-
}
|
|
5421
|
-
},
|
|
5422
|
-
"parameters": [
|
|
5423
|
-
{
|
|
5424
|
-
"name": "raw",
|
|
5425
|
-
"type": {
|
|
5426
|
-
"text": "any"
|
|
5427
|
-
}
|
|
5428
|
-
},
|
|
5429
|
-
{
|
|
5430
|
-
"name": "options",
|
|
5431
|
-
"type": {
|
|
5432
|
-
"text": "any"
|
|
5433
|
-
}
|
|
5434
|
-
}
|
|
5435
|
-
],
|
|
5436
|
-
"description": "Looks up the display label for a raw value from `options.data` (used by segmented,\nradio group, connected-select, and enum-with-explicit-data renderers). Honors\n`options.valueField`/`options.labelField` when set, defaulting to `value`/`label`.\nReturns `null` when no match found."
|
|
5437
|
-
},
|
|
5438
|
-
{
|
|
5439
|
-
"kind": "function",
|
|
5440
|
-
"name": "resolveResourceOptionLabel",
|
|
5441
|
-
"return": {
|
|
5442
|
-
"type": {
|
|
5443
|
-
"text": "Promise<string | null>"
|
|
5444
|
-
}
|
|
5445
|
-
},
|
|
5446
|
-
"parameters": [
|
|
5447
|
-
{
|
|
5448
|
-
"name": "raw",
|
|
5449
|
-
"type": {
|
|
5450
|
-
"text": "any"
|
|
5451
|
-
}
|
|
5452
|
-
},
|
|
5453
|
-
{
|
|
5454
|
-
"name": "options",
|
|
5455
|
-
"type": {
|
|
5456
|
-
"text": "any"
|
|
5457
|
-
}
|
|
5458
|
-
}
|
|
5459
|
-
],
|
|
5460
|
-
"description": "Resolves the display label for a connected-select field backed by\n`options.allOptionsResourceName` (a Data Server/Request Server resource) rather than a\nstatic `options.data` array — e.g. `ConnectedSelectControlRenderer` in async/remote mode.\nFetches a single row via a criteria-filtered snapshot matching `valueField === raw`,\nthen reads `labelField` off the returned row. Returns `null` when there's no resource\nto query, the resource can't be reached, or no row matches."
|
|
5461
|
-
},
|
|
5462
|
-
{
|
|
5463
|
-
"kind": "function",
|
|
5464
|
-
"name": "resolveEnumLabel",
|
|
5465
|
-
"return": {
|
|
5466
|
-
"type": {
|
|
5467
|
-
"text": "string | null"
|
|
5468
|
-
}
|
|
5469
|
-
},
|
|
5470
|
-
"parameters": [
|
|
5471
|
-
{
|
|
5472
|
-
"name": "raw",
|
|
5473
|
-
"type": {
|
|
5474
|
-
"text": "any"
|
|
5475
|
-
}
|
|
5476
|
-
},
|
|
5477
|
-
{
|
|
5478
|
-
"name": "fieldName",
|
|
5479
|
-
"type": {
|
|
5480
|
-
"text": "string"
|
|
5481
|
-
}
|
|
5482
|
-
},
|
|
5483
|
-
{
|
|
5484
|
-
"name": "schema",
|
|
5485
|
-
"type": {
|
|
5486
|
-
"text": "any"
|
|
5487
|
-
}
|
|
5488
|
-
}
|
|
5489
|
-
],
|
|
5490
|
-
"description": "For plain enum combobox fields (no options.data), applies the same `capitalCase`\ntransform the renderer uses — e.g. `SEMI_ANNUAL` → `Semi Annual`.\nNavigates the JSON schema via the fieldName path to confirm the field is an enum\nbefore transforming. Returns `null` for non-enum fields."
|
|
5491
|
-
},
|
|
5492
|
-
{
|
|
5493
|
-
"kind": "function",
|
|
5494
|
-
"name": "getDataValueAtPath",
|
|
5495
|
-
"return": {
|
|
5496
|
-
"type": {
|
|
5497
|
-
"text": "any"
|
|
5498
|
-
}
|
|
5499
|
-
},
|
|
5500
|
-
"parameters": [
|
|
5501
|
-
{
|
|
5502
|
-
"name": "data",
|
|
5503
|
-
"type": {
|
|
5504
|
-
"text": "any"
|
|
5505
|
-
}
|
|
5506
|
-
},
|
|
5507
|
-
{
|
|
5508
|
-
"name": "fieldName",
|
|
5509
|
-
"type": {
|
|
5510
|
-
"text": "string"
|
|
5511
|
-
}
|
|
5512
|
-
}
|
|
5513
|
-
],
|
|
5514
|
-
"description": "Navigates a `/properties/`-separated path in data to support nested object scopes\nsuch as `ADDRESS/properties/STREET` produced by Group layout UI schemas."
|
|
5515
|
-
},
|
|
4961
|
+
"path": "src/jsonforms/testers/isInvisible.ts",
|
|
4962
|
+
"declarations": [
|
|
5516
4963
|
{
|
|
5517
4964
|
"kind": "function",
|
|
5518
|
-
"name": "
|
|
4965
|
+
"name": "isInvisible",
|
|
5519
4966
|
"return": {
|
|
5520
4967
|
"type": {
|
|
5521
|
-
"text": "
|
|
4968
|
+
"text": "boolean"
|
|
5522
4969
|
}
|
|
5523
4970
|
},
|
|
5524
4971
|
"parameters": [
|
|
5525
4972
|
{
|
|
5526
|
-
"name": "
|
|
4973
|
+
"name": "uischema",
|
|
5527
4974
|
"type": {
|
|
5528
|
-
"text": "
|
|
4975
|
+
"text": "UISchemaElement"
|
|
4976
|
+
}
|
|
4977
|
+
},
|
|
4978
|
+
{
|
|
4979
|
+
"name": "schema",
|
|
4980
|
+
"type": {
|
|
4981
|
+
"text": "JsonSchema"
|
|
4982
|
+
}
|
|
4983
|
+
},
|
|
4984
|
+
{
|
|
4985
|
+
"name": "context",
|
|
4986
|
+
"type": {
|
|
4987
|
+
"text": "TesterContext"
|
|
5529
4988
|
}
|
|
5530
4989
|
}
|
|
5531
|
-
]
|
|
5532
|
-
"description": "Converts a raw field value to a display string for the review panel.\nArrays of primitives are comma-joined; arrays of objects and plain objects\nare rendered as readable `key: value` lines."
|
|
4990
|
+
]
|
|
5533
4991
|
}
|
|
5534
4992
|
],
|
|
5535
4993
|
"exports": [
|
|
5536
4994
|
{
|
|
5537
4995
|
"kind": "js",
|
|
5538
|
-
"name": "
|
|
5539
|
-
"declaration": {
|
|
5540
|
-
"name": "buildReviewFields",
|
|
5541
|
-
"module": "src/utils/review-utils.ts"
|
|
5542
|
-
}
|
|
5543
|
-
},
|
|
5544
|
-
{
|
|
5545
|
-
"kind": "js",
|
|
5546
|
-
"name": "buildReviewSections",
|
|
5547
|
-
"declaration": {
|
|
5548
|
-
"name": "buildReviewSections",
|
|
5549
|
-
"module": "src/utils/review-utils.ts"
|
|
5550
|
-
}
|
|
5551
|
-
},
|
|
5552
|
-
{
|
|
5553
|
-
"kind": "js",
|
|
5554
|
-
"name": "filterReviewSections",
|
|
5555
|
-
"declaration": {
|
|
5556
|
-
"name": "filterReviewSections",
|
|
5557
|
-
"module": "src/utils/review-utils.ts"
|
|
5558
|
-
}
|
|
5559
|
-
},
|
|
5560
|
-
{
|
|
5561
|
-
"kind": "js",
|
|
5562
|
-
"name": "collectReviewFields",
|
|
5563
|
-
"declaration": {
|
|
5564
|
-
"name": "collectReviewFields",
|
|
5565
|
-
"module": "src/utils/review-utils.ts"
|
|
5566
|
-
}
|
|
5567
|
-
},
|
|
5568
|
-
{
|
|
5569
|
-
"kind": "js",
|
|
5570
|
-
"name": "resolveOptionLabel",
|
|
4996
|
+
"name": "isInvisible",
|
|
5571
4997
|
"declaration": {
|
|
5572
|
-
"name": "
|
|
5573
|
-
"module": "src/
|
|
4998
|
+
"name": "isInvisible",
|
|
4999
|
+
"module": "src/jsonforms/testers/isInvisible.ts"
|
|
5574
5000
|
}
|
|
5575
|
-
}
|
|
5001
|
+
}
|
|
5002
|
+
]
|
|
5003
|
+
},
|
|
5004
|
+
{
|
|
5005
|
+
"kind": "javascript-module",
|
|
5006
|
+
"path": "src/jsonforms/testers/isOneOfBoolean.ts",
|
|
5007
|
+
"declarations": [
|
|
5576
5008
|
{
|
|
5577
|
-
"kind": "
|
|
5578
|
-
"name": "
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
}
|
|
5583
|
-
},
|
|
5009
|
+
"kind": "variable",
|
|
5010
|
+
"name": "isOneOfBoolean"
|
|
5011
|
+
}
|
|
5012
|
+
],
|
|
5013
|
+
"exports": [
|
|
5584
5014
|
{
|
|
5585
5015
|
"kind": "js",
|
|
5586
|
-
"name": "
|
|
5016
|
+
"name": "isOneOfBoolean",
|
|
5587
5017
|
"declaration": {
|
|
5588
|
-
"name": "
|
|
5589
|
-
"module": "src/
|
|
5018
|
+
"name": "isOneOfBoolean",
|
|
5019
|
+
"module": "src/jsonforms/testers/isOneOfBoolean.ts"
|
|
5590
5020
|
}
|
|
5591
|
-
}
|
|
5021
|
+
}
|
|
5022
|
+
]
|
|
5023
|
+
},
|
|
5024
|
+
{
|
|
5025
|
+
"kind": "javascript-module",
|
|
5026
|
+
"path": "src/jsonforms/testers/isOneOfEnum.ts",
|
|
5027
|
+
"declarations": [
|
|
5592
5028
|
{
|
|
5593
|
-
"kind": "
|
|
5594
|
-
"name": "
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
}
|
|
5599
|
-
},
|
|
5029
|
+
"kind": "variable",
|
|
5030
|
+
"name": "isOneOfEnum"
|
|
5031
|
+
}
|
|
5032
|
+
],
|
|
5033
|
+
"exports": [
|
|
5600
5034
|
{
|
|
5601
5035
|
"kind": "js",
|
|
5602
|
-
"name": "
|
|
5036
|
+
"name": "isOneOfEnum",
|
|
5603
5037
|
"declaration": {
|
|
5604
|
-
"name": "
|
|
5605
|
-
"module": "src/
|
|
5038
|
+
"name": "isOneOfEnum",
|
|
5039
|
+
"module": "src/jsonforms/testers/isOneOfEnum.ts"
|
|
5606
5040
|
}
|
|
5607
5041
|
}
|
|
5608
5042
|
]
|
|
5609
5043
|
},
|
|
5610
5044
|
{
|
|
5611
5045
|
"kind": "javascript-module",
|
|
5612
|
-
"path": "src/
|
|
5046
|
+
"path": "src/jsonforms/testers/isOneOfNumber.ts",
|
|
5613
5047
|
"declarations": [
|
|
5614
5048
|
{
|
|
5615
5049
|
"kind": "function",
|
|
5616
|
-
"name": "
|
|
5050
|
+
"name": "isBigDecimal",
|
|
5617
5051
|
"return": {
|
|
5618
5052
|
"type": {
|
|
5619
|
-
"text": "
|
|
5053
|
+
"text": "boolean"
|
|
5620
5054
|
}
|
|
5621
5055
|
},
|
|
5622
5056
|
"parameters": [
|
|
5623
5057
|
{
|
|
5624
|
-
"name": "
|
|
5058
|
+
"name": "fieldSchema",
|
|
5625
5059
|
"type": {
|
|
5626
|
-
"text": "
|
|
5060
|
+
"text": "GenesisJsonSchema"
|
|
5627
5061
|
}
|
|
5628
5062
|
}
|
|
5629
|
-
]
|
|
5630
|
-
"description": "Converts AJV validation errors to the JSON Schema scope strings they correspond to\n(e.g. `#/properties/ADDRESS/properties/STREET`). Used to match errors back to UI\nschema controls for features like categorization-tab error indicators."
|
|
5063
|
+
]
|
|
5631
5064
|
},
|
|
5632
5065
|
{
|
|
5633
|
-
"kind": "
|
|
5634
|
-
"name": "
|
|
5635
|
-
"return": {
|
|
5636
|
-
"type": {
|
|
5637
|
-
"text": "boolean"
|
|
5638
|
-
}
|
|
5639
|
-
},
|
|
5640
|
-
"parameters": [
|
|
5641
|
-
{
|
|
5642
|
-
"name": "uiSchema",
|
|
5643
|
-
"type": {
|
|
5644
|
-
"text": "UiSchemaElement | UiSchema"
|
|
5645
|
-
}
|
|
5646
|
-
},
|
|
5647
|
-
{
|
|
5648
|
-
"name": "errorScopes",
|
|
5649
|
-
"type": {
|
|
5650
|
-
"text": "string[]"
|
|
5651
|
-
}
|
|
5652
|
-
}
|
|
5653
|
-
],
|
|
5654
|
-
"description": "Returns true when `uiSchema` (or any of its descendants) has a scope that appears\nin `errorScopes`. Walks both `elements` and `options.childElements`."
|
|
5066
|
+
"kind": "variable",
|
|
5067
|
+
"name": "isOneOfNumber"
|
|
5655
5068
|
}
|
|
5656
5069
|
],
|
|
5657
5070
|
"exports": [
|
|
5658
5071
|
{
|
|
5659
5072
|
"kind": "js",
|
|
5660
|
-
"name": "
|
|
5073
|
+
"name": "isBigDecimal",
|
|
5661
5074
|
"declaration": {
|
|
5662
|
-
"name": "
|
|
5663
|
-
"module": "src/
|
|
5075
|
+
"name": "isBigDecimal",
|
|
5076
|
+
"module": "src/jsonforms/testers/isOneOfNumber.ts"
|
|
5664
5077
|
}
|
|
5665
5078
|
},
|
|
5666
5079
|
{
|
|
5667
5080
|
"kind": "js",
|
|
5668
|
-
"name": "
|
|
5081
|
+
"name": "isOneOfNumber",
|
|
5669
5082
|
"declaration": {
|
|
5670
|
-
"name": "
|
|
5671
|
-
"module": "src/
|
|
5083
|
+
"name": "isOneOfNumber",
|
|
5084
|
+
"module": "src/jsonforms/testers/isOneOfNumber.ts"
|
|
5672
5085
|
}
|
|
5673
5086
|
}
|
|
5674
5087
|
]
|
|
5675
5088
|
},
|
|
5676
5089
|
{
|
|
5677
5090
|
"kind": "javascript-module",
|
|
5678
|
-
"path": "src/
|
|
5091
|
+
"path": "src/jsonforms/testers/isOneOfOptionMultiselect.ts",
|
|
5679
5092
|
"declarations": [
|
|
5680
5093
|
{
|
|
5681
|
-
"kind": "
|
|
5682
|
-
"name": "
|
|
5683
|
-
"return": {
|
|
5684
|
-
"type": {
|
|
5685
|
-
"text": "ErrorObject[]"
|
|
5686
|
-
}
|
|
5687
|
-
},
|
|
5688
|
-
"parameters": [
|
|
5689
|
-
{
|
|
5690
|
-
"name": "errors",
|
|
5691
|
-
"type": {
|
|
5692
|
-
"text": "GenesisFieldError[] | undefined"
|
|
5693
|
-
},
|
|
5694
|
-
"description": "Genesis ERROR array from an EVENT_NACK response"
|
|
5695
|
-
},
|
|
5696
|
-
{
|
|
5697
|
-
"name": "schema",
|
|
5698
|
-
"optional": true,
|
|
5699
|
-
"type": {
|
|
5700
|
-
"text": "JSONSchema7"
|
|
5701
|
-
},
|
|
5702
|
-
"description": "JSON schema used to resolve `parentSchema` for each field"
|
|
5703
|
-
},
|
|
5704
|
-
{
|
|
5705
|
-
"name": "instancePathPrefix",
|
|
5706
|
-
"optional": true,
|
|
5707
|
-
"type": {
|
|
5708
|
-
"text": "string"
|
|
5709
|
-
},
|
|
5710
|
-
"description": "Optional prefix for bulk-insert rows (e.g. `/items/0`)"
|
|
5711
|
-
}
|
|
5712
|
-
],
|
|
5713
|
-
"description": "Maps Genesis commitEvent NACK `ERROR[]` entries to JsonForms `ErrorObject[]`\nsuitable for `additionalErrors` on the form core.\n\nOnly entries with a `FIELD` or `PATH` are mapped; generic errors (no field\nassociation) are omitted so callers can still surface them via toast/dialog.",
|
|
5714
|
-
"privacy": "public"
|
|
5094
|
+
"kind": "variable",
|
|
5095
|
+
"name": "isOneOfOptionMultiselect"
|
|
5715
5096
|
}
|
|
5716
5097
|
],
|
|
5717
5098
|
"exports": [
|
|
5718
5099
|
{
|
|
5719
5100
|
"kind": "js",
|
|
5720
|
-
"name": "
|
|
5101
|
+
"name": "isOneOfOptionMultiselect",
|
|
5721
5102
|
"declaration": {
|
|
5722
|
-
"name": "
|
|
5723
|
-
"module": "src/
|
|
5103
|
+
"name": "isOneOfOptionMultiselect",
|
|
5104
|
+
"module": "src/jsonforms/testers/isOneOfOptionMultiselect.ts"
|
|
5724
5105
|
}
|
|
5725
5106
|
}
|
|
5726
5107
|
]
|
|
5727
5108
|
},
|
|
5728
5109
|
{
|
|
5729
5110
|
"kind": "javascript-module",
|
|
5730
|
-
"path": "src/
|
|
5731
|
-
"declarations": [
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
"
|
|
5738
|
-
|
|
5111
|
+
"path": "src/jsonforms/testers/isTime.ts",
|
|
5112
|
+
"declarations": [
|
|
5113
|
+
{
|
|
5114
|
+
"kind": "variable",
|
|
5115
|
+
"name": "isOneOfTime"
|
|
5116
|
+
}
|
|
5117
|
+
],
|
|
5118
|
+
"exports": [
|
|
5119
|
+
{
|
|
5120
|
+
"kind": "js",
|
|
5121
|
+
"name": "isOneOfTime",
|
|
5122
|
+
"declaration": {
|
|
5123
|
+
"name": "isOneOfTime",
|
|
5124
|
+
"module": "src/jsonforms/testers/isTime.ts"
|
|
5125
|
+
}
|
|
5126
|
+
}
|
|
5127
|
+
]
|
|
5739
5128
|
},
|
|
5740
5129
|
{
|
|
5741
5130
|
"kind": "javascript-module",
|
|
5742
|
-
"path": "src/
|
|
5131
|
+
"path": "src/jsonforms/testers/optionIs.ts",
|
|
5743
5132
|
"declarations": [
|
|
5744
5133
|
{
|
|
5745
5134
|
"kind": "function",
|
|
5746
|
-
"name": "
|
|
5747
|
-
"parameters": [
|
|
5748
|
-
{
|
|
5749
|
-
"name": "target",
|
|
5750
|
-
"type": {
|
|
5751
|
-
"text": "string"
|
|
5752
|
-
},
|
|
5753
|
-
"description": "any other field"
|
|
5754
|
-
}
|
|
5755
|
-
],
|
|
5756
|
-
"description": "Ensures the value of the current field (the one the validator is on) matches the one of the target field.",
|
|
5757
|
-
"return": {
|
|
5758
|
-
"type": {
|
|
5759
|
-
"text": ""
|
|
5760
|
-
}
|
|
5761
|
-
},
|
|
5762
|
-
"privacy": "public"
|
|
5763
|
-
},
|
|
5764
|
-
{
|
|
5765
|
-
"kind": "function",
|
|
5766
|
-
"name": "getAnyOfErrorMessage",
|
|
5135
|
+
"name": "optionIs",
|
|
5767
5136
|
"return": {
|
|
5768
5137
|
"type": {
|
|
5769
|
-
"text": "
|
|
5138
|
+
"text": "Tester"
|
|
5770
5139
|
}
|
|
5771
5140
|
},
|
|
5772
5141
|
"parameters": [
|
|
5773
5142
|
{
|
|
5774
|
-
"name": "
|
|
5775
|
-
"type": {
|
|
5776
|
-
"text": "Array<any> | undefined"
|
|
5777
|
-
}
|
|
5778
|
-
},
|
|
5779
|
-
{
|
|
5780
|
-
"name": "schema",
|
|
5781
|
-
"type": {
|
|
5782
|
-
"text": "any"
|
|
5783
|
-
}
|
|
5784
|
-
},
|
|
5785
|
-
{
|
|
5786
|
-
"name": "controlPath",
|
|
5787
|
-
"type": {
|
|
5788
|
-
"text": "string | undefined"
|
|
5789
|
-
}
|
|
5790
|
-
},
|
|
5791
|
-
{
|
|
5792
|
-
"name": "uiCustomMsg",
|
|
5793
|
-
"optional": true,
|
|
5143
|
+
"name": "optionName",
|
|
5794
5144
|
"type": {
|
|
5795
5145
|
"text": "string"
|
|
5796
5146
|
}
|
|
5797
5147
|
}
|
|
5798
|
-
]
|
|
5799
|
-
"description": "Computes a human-friendly anyOf error message for a given control path.\nPrefers UI schema custom message, then JSON schema errorMessage.anyOf, then a constructed fallback.",
|
|
5800
|
-
"privacy": "public"
|
|
5148
|
+
]
|
|
5801
5149
|
}
|
|
5802
5150
|
],
|
|
5803
5151
|
"exports": [
|
|
5804
5152
|
{
|
|
5805
5153
|
"kind": "js",
|
|
5806
|
-
"name": "
|
|
5807
|
-
"declaration": {
|
|
5808
|
-
"name": "mustMatch",
|
|
5809
|
-
"module": "src/utils/validation.ts"
|
|
5810
|
-
}
|
|
5811
|
-
},
|
|
5812
|
-
{
|
|
5813
|
-
"kind": "js",
|
|
5814
|
-
"name": "getAnyOfErrorMessage",
|
|
5154
|
+
"name": "optionIs",
|
|
5815
5155
|
"declaration": {
|
|
5816
|
-
"name": "
|
|
5817
|
-
"module": "src/
|
|
5156
|
+
"name": "optionIs",
|
|
5157
|
+
"module": "src/jsonforms/testers/optionIs.ts"
|
|
5818
5158
|
}
|
|
5819
5159
|
}
|
|
5820
5160
|
]
|