@genesislcap/foundation-forms 14.488.1-FUI-2571.1 → 14.488.2-FUI-2571.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1429 -1397
- package/dist/dts/form.d.ts.map +1 -1
- package/dist/dts/utils/review-utils.d.ts +21 -3
- package/dist/dts/utils/review-utils.d.ts.map +1 -1
- package/dist/esm/form.js +1 -1
- package/dist/esm/utils/review-utils.js +122 -58
- package/dist/foundation-forms.api.json +90 -6
- package/dist/foundation-forms.d.ts +22 -3
- package/package.json +15 -15
|
@@ -2045,849 +2045,556 @@
|
|
|
2045
2045
|
},
|
|
2046
2046
|
{
|
|
2047
2047
|
"kind": "javascript-module",
|
|
2048
|
-
"path": "src/
|
|
2049
|
-
"declarations": [],
|
|
2050
|
-
"exports": []
|
|
2051
|
-
},
|
|
2052
|
-
{
|
|
2053
|
-
"kind": "javascript-module",
|
|
2054
|
-
"path": "src/utils/csv-parser.ts",
|
|
2048
|
+
"path": "src/jsonforms/renderers/ArrayListWrapperRenderer.ts",
|
|
2055
2049
|
"declarations": [
|
|
2056
2050
|
{
|
|
2057
2051
|
"kind": "function",
|
|
2058
|
-
"name": "
|
|
2059
|
-
"return": {
|
|
2060
|
-
"type": {
|
|
2061
|
-
"text": ""
|
|
2062
|
-
}
|
|
2063
|
-
},
|
|
2052
|
+
"name": "ArrayListWrapperRendererTemplate",
|
|
2064
2053
|
"parameters": [
|
|
2065
2054
|
{
|
|
2066
|
-
"name": "
|
|
2055
|
+
"name": "prefix",
|
|
2056
|
+
"default": "'zero'",
|
|
2067
2057
|
"type": {
|
|
2068
2058
|
"text": "string"
|
|
2069
|
-
}
|
|
2070
|
-
"description": "The CSV content as a string"
|
|
2059
|
+
}
|
|
2071
2060
|
}
|
|
2072
|
-
]
|
|
2073
|
-
"description": "Parses a CSV string into headers and rows using PapaParse.\nHandles quoted fields, escaped quotes, empty values, and mixed line endings.",
|
|
2074
|
-
"privacy": "public"
|
|
2061
|
+
]
|
|
2075
2062
|
},
|
|
2076
2063
|
{
|
|
2077
|
-
"kind": "
|
|
2078
|
-
"
|
|
2079
|
-
"
|
|
2080
|
-
|
|
2081
|
-
"text": ""
|
|
2082
|
-
}
|
|
2083
|
-
},
|
|
2084
|
-
"parameters": [
|
|
2064
|
+
"kind": "class",
|
|
2065
|
+
"description": "",
|
|
2066
|
+
"name": "ArrayListWrapper",
|
|
2067
|
+
"members": [
|
|
2085
2068
|
{
|
|
2086
|
-
"
|
|
2087
|
-
"
|
|
2088
|
-
"text": "Record<string, string>[]"
|
|
2089
|
-
},
|
|
2090
|
-
"description": "The parsed CSV rows"
|
|
2069
|
+
"kind": "field",
|
|
2070
|
+
"name": "form"
|
|
2091
2071
|
},
|
|
2092
2072
|
{
|
|
2093
|
-
"
|
|
2094
|
-
"
|
|
2095
|
-
"text": "JSONSchema7 | undefined"
|
|
2096
|
-
},
|
|
2097
|
-
"description": "The JSON schema defining the fields"
|
|
2073
|
+
"kind": "field",
|
|
2074
|
+
"name": "control"
|
|
2098
2075
|
},
|
|
2099
2076
|
{
|
|
2100
|
-
"
|
|
2101
|
-
"
|
|
2102
|
-
"type": {
|
|
2103
|
-
"text": "UiSchema"
|
|
2104
|
-
},
|
|
2105
|
-
"description": "Optional UI schema to map labels to field names on import"
|
|
2106
|
-
}
|
|
2107
|
-
],
|
|
2108
|
-
"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.",
|
|
2109
|
-
"privacy": "public"
|
|
2110
|
-
},
|
|
2111
|
-
{
|
|
2112
|
-
"kind": "function",
|
|
2113
|
-
"name": "generateCsvTemplate",
|
|
2114
|
-
"return": {
|
|
2115
|
-
"type": {
|
|
2116
|
-
"text": ""
|
|
2117
|
-
}
|
|
2118
|
-
},
|
|
2119
|
-
"parameters": [
|
|
2120
|
-
{
|
|
2121
|
-
"name": "schema",
|
|
2122
|
-
"type": {
|
|
2123
|
-
"text": "JSONSchema7 | undefined"
|
|
2124
|
-
},
|
|
2125
|
-
"description": "The JSON schema defining the fields"
|
|
2077
|
+
"kind": "field",
|
|
2078
|
+
"name": "schema"
|
|
2126
2079
|
},
|
|
2127
2080
|
{
|
|
2128
|
-
"
|
|
2129
|
-
"
|
|
2130
|
-
"type": {
|
|
2131
|
-
"text": "UiSchema"
|
|
2132
|
-
},
|
|
2133
|
-
"description": "Optional UI schema to determine field order and visibility"
|
|
2081
|
+
"kind": "field",
|
|
2082
|
+
"name": "uiSchema"
|
|
2134
2083
|
},
|
|
2135
2084
|
{
|
|
2136
|
-
"
|
|
2137
|
-
"
|
|
2085
|
+
"kind": "field",
|
|
2086
|
+
"name": "isGridView",
|
|
2138
2087
|
"type": {
|
|
2139
2088
|
"text": "boolean"
|
|
2140
2089
|
},
|
|
2141
|
-
"
|
|
2090
|
+
"default": "false"
|
|
2142
2091
|
},
|
|
2143
2092
|
{
|
|
2144
|
-
"
|
|
2145
|
-
"
|
|
2093
|
+
"kind": "field",
|
|
2094
|
+
"name": "gridViewHeaderCells",
|
|
2146
2095
|
"type": {
|
|
2147
|
-
"text": "
|
|
2096
|
+
"text": "GridHeaderCell[]"
|
|
2148
2097
|
},
|
|
2149
|
-
"
|
|
2150
|
-
}
|
|
2151
|
-
],
|
|
2152
|
-
"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.",
|
|
2153
|
-
"privacy": "public"
|
|
2154
|
-
},
|
|
2155
|
-
{
|
|
2156
|
-
"kind": "function",
|
|
2157
|
-
"name": "downloadCsvTemplate",
|
|
2158
|
-
"return": {
|
|
2159
|
-
"type": {
|
|
2160
|
-
"text": "void"
|
|
2161
|
-
}
|
|
2162
|
-
},
|
|
2163
|
-
"parameters": [
|
|
2098
|
+
"default": "[]"
|
|
2099
|
+
},
|
|
2164
2100
|
{
|
|
2165
|
-
"
|
|
2101
|
+
"kind": "field",
|
|
2102
|
+
"name": "gridViewUiSchema",
|
|
2166
2103
|
"type": {
|
|
2167
|
-
"text": "
|
|
2104
|
+
"text": "any"
|
|
2168
2105
|
},
|
|
2169
|
-
"
|
|
2106
|
+
"default": "null"
|
|
2170
2107
|
},
|
|
2171
2108
|
{
|
|
2172
|
-
"
|
|
2173
|
-
"
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
"
|
|
2109
|
+
"kind": "method",
|
|
2110
|
+
"name": "controlChanged"
|
|
2111
|
+
},
|
|
2112
|
+
{
|
|
2113
|
+
"kind": "method",
|
|
2114
|
+
"name": "addItem"
|
|
2115
|
+
},
|
|
2116
|
+
{
|
|
2117
|
+
"kind": "method",
|
|
2118
|
+
"name": "deleteItem",
|
|
2119
|
+
"parameters": [
|
|
2120
|
+
{
|
|
2121
|
+
"name": "index",
|
|
2122
|
+
"type": {
|
|
2123
|
+
"text": "number"
|
|
2124
|
+
}
|
|
2125
|
+
}
|
|
2126
|
+
]
|
|
2127
|
+
},
|
|
2128
|
+
{
|
|
2129
|
+
"kind": "method",
|
|
2130
|
+
"name": "submitRow",
|
|
2131
|
+
"parameters": [
|
|
2132
|
+
{
|
|
2133
|
+
"name": "index",
|
|
2134
|
+
"type": {
|
|
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."
|
|
2178
2141
|
}
|
|
2179
2142
|
],
|
|
2180
|
-
"
|
|
2181
|
-
|
|
2143
|
+
"superclass": {
|
|
2144
|
+
"name": "FASTElement",
|
|
2145
|
+
"package": "@microsoft/fast-element"
|
|
2146
|
+
},
|
|
2147
|
+
"tagName": "array-list-wrapper",
|
|
2148
|
+
"customElement": true
|
|
2182
2149
|
}
|
|
2183
2150
|
],
|
|
2184
2151
|
"exports": [
|
|
2185
2152
|
{
|
|
2186
2153
|
"kind": "js",
|
|
2187
|
-
"name": "
|
|
2154
|
+
"name": "ArrayListWrapperRendererTemplate",
|
|
2188
2155
|
"declaration": {
|
|
2189
|
-
"name": "
|
|
2190
|
-
"module": "src/
|
|
2156
|
+
"name": "ArrayListWrapperRendererTemplate",
|
|
2157
|
+
"module": "src/jsonforms/renderers/ArrayListWrapperRenderer.ts"
|
|
2191
2158
|
}
|
|
2192
2159
|
},
|
|
2193
2160
|
{
|
|
2194
2161
|
"kind": "js",
|
|
2195
|
-
"name": "
|
|
2162
|
+
"name": "ArrayListWrapper",
|
|
2196
2163
|
"declaration": {
|
|
2197
|
-
"name": "
|
|
2198
|
-
"module": "src/
|
|
2164
|
+
"name": "ArrayListWrapper",
|
|
2165
|
+
"module": "src/jsonforms/renderers/ArrayListWrapperRenderer.ts"
|
|
2166
|
+
}
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
"kind": "custom-element-definition",
|
|
2170
|
+
"name": "array-list-wrapper",
|
|
2171
|
+
"declaration": {
|
|
2172
|
+
"name": "ArrayListWrapper",
|
|
2173
|
+
"module": "src/jsonforms/renderers/ArrayListWrapperRenderer.ts"
|
|
2199
2174
|
}
|
|
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
|
+
]
|
|
2200
2194
|
},
|
|
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": [
|
|
2201
2205
|
{
|
|
2202
2206
|
"kind": "js",
|
|
2203
|
-
"name": "
|
|
2207
|
+
"name": "BooleanControlRendererTemplate",
|
|
2204
2208
|
"declaration": {
|
|
2205
|
-
"name": "
|
|
2206
|
-
"module": "src/
|
|
2209
|
+
"name": "BooleanControlRendererTemplate",
|
|
2210
|
+
"module": "src/jsonforms/renderers/BooleanControlRenderer.ts"
|
|
2207
2211
|
}
|
|
2208
2212
|
},
|
|
2209
2213
|
{
|
|
2210
2214
|
"kind": "js",
|
|
2211
|
-
"name": "
|
|
2215
|
+
"name": "BooleanControlEntry",
|
|
2212
2216
|
"declaration": {
|
|
2213
|
-
"name": "
|
|
2214
|
-
"module": "src/
|
|
2217
|
+
"name": "BooleanControlEntry",
|
|
2218
|
+
"module": "src/jsonforms/renderers/BooleanControlRenderer.ts"
|
|
2215
2219
|
}
|
|
2216
2220
|
}
|
|
2217
2221
|
]
|
|
2218
2222
|
},
|
|
2219
2223
|
{
|
|
2220
2224
|
"kind": "javascript-module",
|
|
2221
|
-
"path": "src/
|
|
2222
|
-
"declarations": [],
|
|
2223
|
-
"exports": []
|
|
2224
|
-
},
|
|
2225
|
-
{
|
|
2226
|
-
"kind": "javascript-module",
|
|
2227
|
-
"path": "src/utils/form-utils.ts",
|
|
2225
|
+
"path": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts",
|
|
2228
2226
|
"declarations": [
|
|
2229
2227
|
{
|
|
2230
2228
|
"kind": "function",
|
|
2231
|
-
"name": "
|
|
2229
|
+
"name": "computeCategoryClassName",
|
|
2232
2230
|
"return": {
|
|
2233
2231
|
"type": {
|
|
2234
|
-
"text": ""
|
|
2232
|
+
"text": "string"
|
|
2235
2233
|
}
|
|
2236
2234
|
},
|
|
2237
2235
|
"parameters": [
|
|
2238
2236
|
{
|
|
2239
|
-
"name": "
|
|
2237
|
+
"name": "category",
|
|
2240
2238
|
"type": {
|
|
2241
|
-
"text": "
|
|
2242
|
-
}
|
|
2243
|
-
"description": "The data object to clean"
|
|
2239
|
+
"text": "UiSchemaElement"
|
|
2240
|
+
}
|
|
2244
2241
|
},
|
|
2245
2242
|
{
|
|
2246
|
-
"name": "
|
|
2243
|
+
"name": "data",
|
|
2247
2244
|
"type": {
|
|
2248
|
-
"text": "
|
|
2249
|
-
}
|
|
2250
|
-
"description": "The JSON schema to validate against"
|
|
2245
|
+
"text": "any"
|
|
2246
|
+
}
|
|
2251
2247
|
}
|
|
2252
|
-
]
|
|
2253
|
-
"description": "Removes data properties that aren't part of the schema"
|
|
2254
|
-
}
|
|
2255
|
-
],
|
|
2256
|
-
"exports": [
|
|
2257
|
-
{
|
|
2258
|
-
"kind": "js",
|
|
2259
|
-
"name": "removeDataPropertiesNotInSchema",
|
|
2260
|
-
"declaration": {
|
|
2261
|
-
"name": "removeDataPropertiesNotInSchema",
|
|
2262
|
-
"module": "src/utils/form-utils.ts"
|
|
2263
|
-
}
|
|
2264
|
-
}
|
|
2265
|
-
]
|
|
2266
|
-
},
|
|
2267
|
-
{
|
|
2268
|
-
"kind": "javascript-module",
|
|
2269
|
-
"path": "src/utils/index.ts",
|
|
2270
|
-
"declarations": [],
|
|
2271
|
-
"exports": [
|
|
2272
|
-
{
|
|
2273
|
-
"kind": "js",
|
|
2274
|
-
"name": "*",
|
|
2275
|
-
"declaration": {
|
|
2276
|
-
"name": "*",
|
|
2277
|
-
"package": "./csv-parser"
|
|
2278
|
-
}
|
|
2248
|
+
]
|
|
2279
2249
|
},
|
|
2280
2250
|
{
|
|
2281
|
-
"kind": "
|
|
2282
|
-
"name": "
|
|
2283
|
-
"
|
|
2284
|
-
"name": "*",
|
|
2285
|
-
"package": "./review-utils"
|
|
2286
|
-
}
|
|
2251
|
+
"kind": "variable",
|
|
2252
|
+
"name": "tabControlIconStyles",
|
|
2253
|
+
"default": "css`\n .tab-control-icon {\n margin-left: 3px;\n color: #f9644d;\n }\n`"
|
|
2287
2254
|
},
|
|
2288
2255
|
{
|
|
2289
|
-
"kind": "
|
|
2290
|
-
"name": "
|
|
2291
|
-
"
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2256
|
+
"kind": "function",
|
|
2257
|
+
"name": "CategorizationWrapperRendererTemplate",
|
|
2258
|
+
"parameters": [
|
|
2259
|
+
{
|
|
2260
|
+
"name": "prefix",
|
|
2261
|
+
"default": "'zero'"
|
|
2262
|
+
}
|
|
2263
|
+
]
|
|
2295
2264
|
},
|
|
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": [
|
|
2296
2364
|
{
|
|
2297
2365
|
"kind": "js",
|
|
2298
|
-
"name": "
|
|
2366
|
+
"name": "computeCategoryClassName",
|
|
2299
2367
|
"declaration": {
|
|
2300
|
-
"name": "
|
|
2301
|
-
"
|
|
2368
|
+
"name": "computeCategoryClassName",
|
|
2369
|
+
"module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
|
|
2302
2370
|
}
|
|
2303
2371
|
},
|
|
2304
2372
|
{
|
|
2305
2373
|
"kind": "js",
|
|
2306
|
-
"name": "
|
|
2374
|
+
"name": "tabControlIconStyles",
|
|
2307
2375
|
"declaration": {
|
|
2308
|
-
"name": "
|
|
2309
|
-
"
|
|
2376
|
+
"name": "tabControlIconStyles",
|
|
2377
|
+
"module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
|
|
2310
2378
|
}
|
|
2311
2379
|
},
|
|
2312
2380
|
{
|
|
2313
2381
|
"kind": "js",
|
|
2314
|
-
"name": "
|
|
2382
|
+
"name": "CategorizationWrapperRendererTemplate",
|
|
2315
2383
|
"declaration": {
|
|
2316
|
-
"name": "
|
|
2317
|
-
"
|
|
2384
|
+
"name": "CategorizationWrapperRendererTemplate",
|
|
2385
|
+
"module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
|
|
2318
2386
|
}
|
|
2319
2387
|
},
|
|
2320
2388
|
{
|
|
2321
2389
|
"kind": "js",
|
|
2322
|
-
"name": "
|
|
2390
|
+
"name": "CategorizationWrapper",
|
|
2323
2391
|
"declaration": {
|
|
2324
|
-
"name": "
|
|
2325
|
-
"
|
|
2392
|
+
"name": "CategorizationWrapper",
|
|
2393
|
+
"module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
|
|
2326
2394
|
}
|
|
2327
2395
|
},
|
|
2328
2396
|
{
|
|
2329
|
-
"kind": "
|
|
2330
|
-
"name": "
|
|
2397
|
+
"kind": "custom-element-definition",
|
|
2398
|
+
"name": "categorization-wrapper",
|
|
2331
2399
|
"declaration": {
|
|
2332
|
-
"name": "
|
|
2333
|
-
"
|
|
2400
|
+
"name": "CategorizationWrapper",
|
|
2401
|
+
"module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
|
|
2334
2402
|
}
|
|
2335
2403
|
}
|
|
2336
2404
|
]
|
|
2337
2405
|
},
|
|
2338
2406
|
{
|
|
2339
2407
|
"kind": "javascript-module",
|
|
2340
|
-
"path": "src/
|
|
2341
|
-
"declarations": [],
|
|
2342
|
-
"exports": []
|
|
2343
|
-
},
|
|
2344
|
-
{
|
|
2345
|
-
"kind": "javascript-module",
|
|
2346
|
-
"path": "src/utils/review-utils.ts",
|
|
2408
|
+
"path": "src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts",
|
|
2347
2409
|
"declarations": [
|
|
2348
2410
|
{
|
|
2349
2411
|
"kind": "function",
|
|
2350
|
-
"name": "
|
|
2412
|
+
"name": "resolveSelectedOptions",
|
|
2351
2413
|
"return": {
|
|
2352
2414
|
"type": {
|
|
2353
|
-
"text": "
|
|
2415
|
+
"text": "any[]"
|
|
2354
2416
|
}
|
|
2355
2417
|
},
|
|
2356
2418
|
"parameters": [
|
|
2357
2419
|
{
|
|
2358
|
-
"name": "
|
|
2359
|
-
"type": {
|
|
2360
|
-
"text": "Record<string, any>"
|
|
2361
|
-
}
|
|
2362
|
-
},
|
|
2363
|
-
{
|
|
2364
|
-
"name": "uiSchema",
|
|
2365
|
-
"type": {
|
|
2366
|
-
"text": "any"
|
|
2367
|
-
}
|
|
2368
|
-
},
|
|
2369
|
-
{
|
|
2370
|
-
"name": "schema",
|
|
2420
|
+
"name": "control",
|
|
2371
2421
|
"type": {
|
|
2372
2422
|
"text": "any"
|
|
2373
2423
|
}
|
|
2374
2424
|
}
|
|
2375
|
-
]
|
|
2376
|
-
"description": "Flattens `buildReviewSections` output into a single ordered list.\nSection titles are prepended to field labels as \"Title — Field\"."
|
|
2425
|
+
]
|
|
2377
2426
|
},
|
|
2378
2427
|
{
|
|
2379
2428
|
"kind": "function",
|
|
2380
|
-
"name": "
|
|
2429
|
+
"name": "resolveSelectionValue",
|
|
2381
2430
|
"return": {
|
|
2382
2431
|
"type": {
|
|
2383
|
-
"text": "
|
|
2432
|
+
"text": "any"
|
|
2384
2433
|
}
|
|
2385
2434
|
},
|
|
2386
2435
|
"parameters": [
|
|
2387
2436
|
{
|
|
2388
|
-
"name": "
|
|
2389
|
-
"type": {
|
|
2390
|
-
"text": "Record<string, any>"
|
|
2391
|
-
}
|
|
2392
|
-
},
|
|
2393
|
-
{
|
|
2394
|
-
"name": "uiSchema",
|
|
2437
|
+
"name": "control",
|
|
2395
2438
|
"type": {
|
|
2396
2439
|
"text": "any"
|
|
2397
2440
|
}
|
|
2398
2441
|
},
|
|
2399
2442
|
{
|
|
2400
|
-
"name": "
|
|
2443
|
+
"name": "detail",
|
|
2401
2444
|
"type": {
|
|
2402
2445
|
"text": "any"
|
|
2403
2446
|
}
|
|
2404
2447
|
}
|
|
2405
|
-
]
|
|
2406
|
-
"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."
|
|
2448
|
+
]
|
|
2407
2449
|
},
|
|
2408
2450
|
{
|
|
2409
2451
|
"kind": "function",
|
|
2410
|
-
"name": "
|
|
2411
|
-
"return": {
|
|
2412
|
-
"type": {
|
|
2413
|
-
"text": "ReviewSection[]"
|
|
2414
|
-
}
|
|
2415
|
-
},
|
|
2452
|
+
"name": "ConnectedMultiselectControlRendererTemplate",
|
|
2416
2453
|
"parameters": [
|
|
2417
2454
|
{
|
|
2418
|
-
"name": "
|
|
2419
|
-
"
|
|
2420
|
-
"text": "ReviewSection[]"
|
|
2421
|
-
}
|
|
2422
|
-
},
|
|
2423
|
-
{
|
|
2424
|
-
"name": "query",
|
|
2455
|
+
"name": "prefix",
|
|
2456
|
+
"default": "'zero'",
|
|
2425
2457
|
"type": {
|
|
2426
2458
|
"text": "string"
|
|
2427
2459
|
}
|
|
2428
2460
|
}
|
|
2429
|
-
]
|
|
2430
|
-
"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."
|
|
2461
|
+
]
|
|
2431
2462
|
},
|
|
2432
2463
|
{
|
|
2433
|
-
"kind": "
|
|
2434
|
-
"name": "
|
|
2435
|
-
"
|
|
2436
|
-
"
|
|
2437
|
-
"text": "void"
|
|
2438
|
-
}
|
|
2464
|
+
"kind": "variable",
|
|
2465
|
+
"name": "ConnectedMultiselectControlRendererEntry",
|
|
2466
|
+
"type": {
|
|
2467
|
+
"text": "RendererEntry"
|
|
2439
2468
|
},
|
|
2440
|
-
"
|
|
2441
|
-
{
|
|
2442
|
-
"name": "element",
|
|
2443
|
-
"type": {
|
|
2444
|
-
"text": "any"
|
|
2445
|
-
}
|
|
2446
|
-
},
|
|
2447
|
-
{
|
|
2448
|
-
"name": "data",
|
|
2449
|
-
"type": {
|
|
2450
|
-
"text": "any"
|
|
2451
|
-
}
|
|
2452
|
-
},
|
|
2453
|
-
{
|
|
2454
|
-
"name": "out",
|
|
2455
|
-
"type": {
|
|
2456
|
-
"text": "ReviewField[]"
|
|
2457
|
-
}
|
|
2458
|
-
},
|
|
2459
|
-
{
|
|
2460
|
-
"name": "groupLabel",
|
|
2461
|
-
"type": {
|
|
2462
|
-
"text": "string | undefined"
|
|
2463
|
-
}
|
|
2464
|
-
},
|
|
2465
|
-
{
|
|
2466
|
-
"name": "schema",
|
|
2467
|
-
"type": {
|
|
2468
|
-
"text": "any"
|
|
2469
|
-
}
|
|
2470
|
-
}
|
|
2471
|
-
],
|
|
2472
|
-
"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\"."
|
|
2473
|
-
},
|
|
2474
|
-
{
|
|
2475
|
-
"kind": "function",
|
|
2476
|
-
"name": "resolveOptionLabel",
|
|
2477
|
-
"return": {
|
|
2478
|
-
"type": {
|
|
2479
|
-
"text": "string | null"
|
|
2480
|
-
}
|
|
2481
|
-
},
|
|
2482
|
-
"parameters": [
|
|
2483
|
-
{
|
|
2484
|
-
"name": "raw",
|
|
2485
|
-
"type": {
|
|
2486
|
-
"text": "any"
|
|
2487
|
-
}
|
|
2488
|
-
},
|
|
2489
|
-
{
|
|
2490
|
-
"name": "options",
|
|
2491
|
-
"type": {
|
|
2492
|
-
"text": "any"
|
|
2493
|
-
}
|
|
2494
|
-
}
|
|
2495
|
-
],
|
|
2496
|
-
"description": "Looks up the display label for a raw value from `options.data` (used by segmented,\nradio group, and enum-with-explicit-data renderers). Returns `null` when no match found."
|
|
2497
|
-
},
|
|
2498
|
-
{
|
|
2499
|
-
"kind": "function",
|
|
2500
|
-
"name": "resolveEnumLabel",
|
|
2501
|
-
"return": {
|
|
2502
|
-
"type": {
|
|
2503
|
-
"text": "string | null"
|
|
2504
|
-
}
|
|
2505
|
-
},
|
|
2506
|
-
"parameters": [
|
|
2507
|
-
{
|
|
2508
|
-
"name": "raw",
|
|
2509
|
-
"type": {
|
|
2510
|
-
"text": "any"
|
|
2511
|
-
}
|
|
2512
|
-
},
|
|
2513
|
-
{
|
|
2514
|
-
"name": "fieldName",
|
|
2515
|
-
"type": {
|
|
2516
|
-
"text": "string"
|
|
2517
|
-
}
|
|
2518
|
-
},
|
|
2519
|
-
{
|
|
2520
|
-
"name": "schema",
|
|
2521
|
-
"type": {
|
|
2522
|
-
"text": "any"
|
|
2523
|
-
}
|
|
2524
|
-
}
|
|
2525
|
-
],
|
|
2526
|
-
"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."
|
|
2527
|
-
},
|
|
2528
|
-
{
|
|
2529
|
-
"kind": "function",
|
|
2530
|
-
"name": "getDataValueAtPath",
|
|
2531
|
-
"return": {
|
|
2532
|
-
"type": {
|
|
2533
|
-
"text": "any"
|
|
2534
|
-
}
|
|
2535
|
-
},
|
|
2536
|
-
"parameters": [
|
|
2537
|
-
{
|
|
2538
|
-
"name": "data",
|
|
2539
|
-
"type": {
|
|
2540
|
-
"text": "any"
|
|
2541
|
-
}
|
|
2542
|
-
},
|
|
2543
|
-
{
|
|
2544
|
-
"name": "fieldName",
|
|
2545
|
-
"type": {
|
|
2546
|
-
"text": "string"
|
|
2547
|
-
}
|
|
2548
|
-
}
|
|
2549
|
-
],
|
|
2550
|
-
"description": "Navigates a `/properties/`-separated path in data to support nested object scopes\nsuch as `ADDRESS/properties/STREET` produced by Group layout UI schemas."
|
|
2551
|
-
},
|
|
2552
|
-
{
|
|
2553
|
-
"kind": "function",
|
|
2554
|
-
"name": "formatValueForReview",
|
|
2555
|
-
"return": {
|
|
2556
|
-
"type": {
|
|
2557
|
-
"text": "string"
|
|
2558
|
-
}
|
|
2559
|
-
},
|
|
2560
|
-
"parameters": [
|
|
2561
|
-
{
|
|
2562
|
-
"name": "value",
|
|
2563
|
-
"type": {
|
|
2564
|
-
"text": "any"
|
|
2565
|
-
}
|
|
2566
|
-
}
|
|
2567
|
-
],
|
|
2568
|
-
"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."
|
|
2469
|
+
"default": "{\n renderer: html<DispatchRenderer>`\n ${(x) => ConnectedMultiselectControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(MULTISELECT_CONTROL_RANK, isOneOfOptionMultiselect),\n mapper: mapStateToControlProps,\n}"
|
|
2569
2470
|
}
|
|
2570
2471
|
],
|
|
2571
2472
|
"exports": [
|
|
2572
2473
|
{
|
|
2573
2474
|
"kind": "js",
|
|
2574
|
-
"name": "
|
|
2575
|
-
"declaration": {
|
|
2576
|
-
"name": "buildReviewFields",
|
|
2577
|
-
"module": "src/utils/review-utils.ts"
|
|
2578
|
-
}
|
|
2579
|
-
},
|
|
2580
|
-
{
|
|
2581
|
-
"kind": "js",
|
|
2582
|
-
"name": "buildReviewSections",
|
|
2583
|
-
"declaration": {
|
|
2584
|
-
"name": "buildReviewSections",
|
|
2585
|
-
"module": "src/utils/review-utils.ts"
|
|
2586
|
-
}
|
|
2587
|
-
},
|
|
2588
|
-
{
|
|
2589
|
-
"kind": "js",
|
|
2590
|
-
"name": "filterReviewSections",
|
|
2591
|
-
"declaration": {
|
|
2592
|
-
"name": "filterReviewSections",
|
|
2593
|
-
"module": "src/utils/review-utils.ts"
|
|
2594
|
-
}
|
|
2595
|
-
},
|
|
2596
|
-
{
|
|
2597
|
-
"kind": "js",
|
|
2598
|
-
"name": "collectReviewFields",
|
|
2599
|
-
"declaration": {
|
|
2600
|
-
"name": "collectReviewFields",
|
|
2601
|
-
"module": "src/utils/review-utils.ts"
|
|
2602
|
-
}
|
|
2603
|
-
},
|
|
2604
|
-
{
|
|
2605
|
-
"kind": "js",
|
|
2606
|
-
"name": "resolveOptionLabel",
|
|
2475
|
+
"name": "resolveSelectedOptions",
|
|
2607
2476
|
"declaration": {
|
|
2608
|
-
"name": "
|
|
2609
|
-
"module": "src/
|
|
2477
|
+
"name": "resolveSelectedOptions",
|
|
2478
|
+
"module": "src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts"
|
|
2610
2479
|
}
|
|
2611
2480
|
},
|
|
2612
2481
|
{
|
|
2613
2482
|
"kind": "js",
|
|
2614
|
-
"name": "
|
|
2483
|
+
"name": "resolveSelectionValue",
|
|
2615
2484
|
"declaration": {
|
|
2616
|
-
"name": "
|
|
2617
|
-
"module": "src/
|
|
2485
|
+
"name": "resolveSelectionValue",
|
|
2486
|
+
"module": "src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts"
|
|
2618
2487
|
}
|
|
2619
2488
|
},
|
|
2620
2489
|
{
|
|
2621
2490
|
"kind": "js",
|
|
2622
|
-
"name": "
|
|
2491
|
+
"name": "ConnectedMultiselectControlRendererTemplate",
|
|
2623
2492
|
"declaration": {
|
|
2624
|
-
"name": "
|
|
2625
|
-
"module": "src/
|
|
2493
|
+
"name": "ConnectedMultiselectControlRendererTemplate",
|
|
2494
|
+
"module": "src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts"
|
|
2626
2495
|
}
|
|
2627
2496
|
},
|
|
2628
2497
|
{
|
|
2629
2498
|
"kind": "js",
|
|
2630
|
-
"name": "
|
|
2499
|
+
"name": "ConnectedMultiselectControlRendererEntry",
|
|
2631
2500
|
"declaration": {
|
|
2632
|
-
"name": "
|
|
2633
|
-
"module": "src/
|
|
2501
|
+
"name": "ConnectedMultiselectControlRendererEntry",
|
|
2502
|
+
"module": "src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts"
|
|
2634
2503
|
}
|
|
2635
2504
|
}
|
|
2636
2505
|
]
|
|
2637
2506
|
},
|
|
2638
2507
|
{
|
|
2639
2508
|
"kind": "javascript-module",
|
|
2640
|
-
"path": "src/
|
|
2509
|
+
"path": "src/jsonforms/renderers/ConnectedSelectControlRenderer.ts",
|
|
2641
2510
|
"declarations": [
|
|
2642
2511
|
{
|
|
2643
2512
|
"kind": "function",
|
|
2644
|
-
"name": "
|
|
2645
|
-
"return": {
|
|
2646
|
-
"type": {
|
|
2647
|
-
"text": "string[]"
|
|
2648
|
-
}
|
|
2649
|
-
},
|
|
2513
|
+
"name": "ConnectedSelectControlRendererTemplate",
|
|
2650
2514
|
"parameters": [
|
|
2651
2515
|
{
|
|
2652
|
-
"name": "
|
|
2516
|
+
"name": "prefix",
|
|
2517
|
+
"default": "'zero'",
|
|
2653
2518
|
"type": {
|
|
2654
|
-
"text": "
|
|
2519
|
+
"text": "string"
|
|
2655
2520
|
}
|
|
2656
2521
|
}
|
|
2657
|
-
]
|
|
2658
|
-
"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."
|
|
2522
|
+
]
|
|
2659
2523
|
},
|
|
2660
2524
|
{
|
|
2661
|
-
"kind": "
|
|
2662
|
-
"name": "
|
|
2663
|
-
"
|
|
2664
|
-
"
|
|
2665
|
-
"text": "boolean"
|
|
2666
|
-
}
|
|
2525
|
+
"kind": "variable",
|
|
2526
|
+
"name": "ConnectedSelectControlRendererEntry",
|
|
2527
|
+
"type": {
|
|
2528
|
+
"text": "any"
|
|
2667
2529
|
},
|
|
2668
|
-
"
|
|
2669
|
-
{
|
|
2670
|
-
"name": "uiSchema",
|
|
2671
|
-
"type": {
|
|
2672
|
-
"text": "UiSchemaElement | UiSchema"
|
|
2673
|
-
}
|
|
2674
|
-
},
|
|
2675
|
-
{
|
|
2676
|
-
"name": "errorScopes",
|
|
2677
|
-
"type": {
|
|
2678
|
-
"text": "string[]"
|
|
2679
|
-
}
|
|
2680
|
-
}
|
|
2681
|
-
],
|
|
2682
|
-
"description": "Returns true when `uiSchema` (or any of its descendants) has a scope that appears\nin `errorScopes`. Walks both `elements` and `options.childElements`."
|
|
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}"
|
|
2683
2531
|
}
|
|
2684
2532
|
],
|
|
2685
2533
|
"exports": [
|
|
2686
2534
|
{
|
|
2687
2535
|
"kind": "js",
|
|
2688
|
-
"name": "
|
|
2536
|
+
"name": "ConnectedSelectControlRendererTemplate",
|
|
2689
2537
|
"declaration": {
|
|
2690
|
-
"name": "
|
|
2691
|
-
"module": "src/
|
|
2538
|
+
"name": "ConnectedSelectControlRendererTemplate",
|
|
2539
|
+
"module": "src/jsonforms/renderers/ConnectedSelectControlRenderer.ts"
|
|
2692
2540
|
}
|
|
2693
2541
|
},
|
|
2694
2542
|
{
|
|
2695
2543
|
"kind": "js",
|
|
2696
|
-
"name": "
|
|
2544
|
+
"name": "ConnectedSelectControlRendererEntry",
|
|
2697
2545
|
"declaration": {
|
|
2698
|
-
"name": "
|
|
2699
|
-
"module": "src/
|
|
2546
|
+
"name": "ConnectedSelectControlRendererEntry",
|
|
2547
|
+
"module": "src/jsonforms/renderers/ConnectedSelectControlRenderer.ts"
|
|
2700
2548
|
}
|
|
2701
2549
|
}
|
|
2702
2550
|
]
|
|
2703
2551
|
},
|
|
2704
2552
|
{
|
|
2705
2553
|
"kind": "javascript-module",
|
|
2706
|
-
"path": "src/
|
|
2554
|
+
"path": "src/jsonforms/renderers/ControlWrapperRenderer.ts",
|
|
2707
2555
|
"declarations": [
|
|
2708
2556
|
{
|
|
2709
2557
|
"kind": "function",
|
|
2710
|
-
"name": "
|
|
2558
|
+
"name": "controlWrapperTemplate",
|
|
2711
2559
|
"return": {
|
|
2712
2560
|
"type": {
|
|
2713
|
-
"text": "
|
|
2561
|
+
"text": "ViewTemplate<DispatchRenderer>"
|
|
2714
2562
|
}
|
|
2715
2563
|
},
|
|
2716
2564
|
"parameters": [
|
|
2717
2565
|
{
|
|
2718
|
-
"name": "
|
|
2719
|
-
"type": {
|
|
2720
|
-
"text": "GenesisFieldError[] | undefined"
|
|
2721
|
-
},
|
|
2722
|
-
"description": "Genesis ERROR array from an EVENT_NACK response"
|
|
2723
|
-
},
|
|
2724
|
-
{
|
|
2725
|
-
"name": "schema",
|
|
2726
|
-
"optional": true,
|
|
2566
|
+
"name": "options",
|
|
2727
2567
|
"type": {
|
|
2728
|
-
"text": "
|
|
2729
|
-
},
|
|
2730
|
-
"description": "JSON schema used to resolve `parentSchema` for each field"
|
|
2731
|
-
},
|
|
2732
|
-
{
|
|
2733
|
-
"name": "instancePathPrefix",
|
|
2734
|
-
"optional": true,
|
|
2735
|
-
"type": {
|
|
2736
|
-
"text": "string"
|
|
2737
|
-
},
|
|
2738
|
-
"description": "Optional prefix for bulk-insert rows (e.g. `/items/0`)"
|
|
2739
|
-
}
|
|
2740
|
-
],
|
|
2741
|
-
"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.",
|
|
2742
|
-
"privacy": "public"
|
|
2743
|
-
}
|
|
2744
|
-
],
|
|
2745
|
-
"exports": [
|
|
2746
|
-
{
|
|
2747
|
-
"kind": "js",
|
|
2748
|
-
"name": "mapGenesisFieldErrorsToAdditionalErrors",
|
|
2749
|
-
"declaration": {
|
|
2750
|
-
"name": "mapGenesisFieldErrorsToAdditionalErrors",
|
|
2751
|
-
"module": "src/utils/server-errors.ts"
|
|
2752
|
-
}
|
|
2753
|
-
}
|
|
2754
|
-
]
|
|
2755
|
-
},
|
|
2756
|
-
{
|
|
2757
|
-
"kind": "javascript-module",
|
|
2758
|
-
"path": "src/utils/translation.ts",
|
|
2759
|
-
"declarations": [],
|
|
2760
|
-
"exports": []
|
|
2761
|
-
},
|
|
2762
|
-
{
|
|
2763
|
-
"kind": "javascript-module",
|
|
2764
|
-
"path": "src/utils/types.ts",
|
|
2765
|
-
"declarations": [],
|
|
2766
|
-
"exports": []
|
|
2767
|
-
},
|
|
2768
|
-
{
|
|
2769
|
-
"kind": "javascript-module",
|
|
2770
|
-
"path": "src/utils/validation.ts",
|
|
2771
|
-
"declarations": [
|
|
2772
|
-
{
|
|
2773
|
-
"kind": "function",
|
|
2774
|
-
"name": "mustMatch",
|
|
2775
|
-
"parameters": [
|
|
2776
|
-
{
|
|
2777
|
-
"name": "target",
|
|
2778
|
-
"type": {
|
|
2779
|
-
"text": "string"
|
|
2780
|
-
},
|
|
2781
|
-
"description": "any other field"
|
|
2782
|
-
}
|
|
2783
|
-
],
|
|
2784
|
-
"description": "Ensures the value of the current field (the one the validator is on) matches the one of the target field.",
|
|
2785
|
-
"return": {
|
|
2786
|
-
"type": {
|
|
2787
|
-
"text": ""
|
|
2788
|
-
}
|
|
2789
|
-
},
|
|
2790
|
-
"privacy": "public"
|
|
2791
|
-
},
|
|
2792
|
-
{
|
|
2793
|
-
"kind": "function",
|
|
2794
|
-
"name": "getAnyOfErrorMessage",
|
|
2795
|
-
"return": {
|
|
2796
|
-
"type": {
|
|
2797
|
-
"text": "string"
|
|
2798
|
-
}
|
|
2799
|
-
},
|
|
2800
|
-
"parameters": [
|
|
2801
|
-
{
|
|
2802
|
-
"name": "errors",
|
|
2803
|
-
"type": {
|
|
2804
|
-
"text": "Array<any> | undefined"
|
|
2805
|
-
}
|
|
2806
|
-
},
|
|
2807
|
-
{
|
|
2808
|
-
"name": "schema",
|
|
2809
|
-
"type": {
|
|
2810
|
-
"text": "any"
|
|
2811
|
-
}
|
|
2812
|
-
},
|
|
2813
|
-
{
|
|
2814
|
-
"name": "controlPath",
|
|
2815
|
-
"type": {
|
|
2816
|
-
"text": "string | undefined"
|
|
2817
|
-
}
|
|
2818
|
-
},
|
|
2819
|
-
{
|
|
2820
|
-
"name": "uiCustomMsg",
|
|
2821
|
-
"optional": true,
|
|
2822
|
-
"type": {
|
|
2823
|
-
"text": "string"
|
|
2568
|
+
"text": "ControlWrapperOptions"
|
|
2824
2569
|
}
|
|
2825
2570
|
}
|
|
2826
2571
|
],
|
|
2827
|
-
"description": "
|
|
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.",
|
|
2828
2573
|
"privacy": "public"
|
|
2829
|
-
}
|
|
2830
|
-
],
|
|
2831
|
-
"exports": [
|
|
2832
|
-
{
|
|
2833
|
-
"kind": "js",
|
|
2834
|
-
"name": "mustMatch",
|
|
2835
|
-
"declaration": {
|
|
2836
|
-
"name": "mustMatch",
|
|
2837
|
-
"module": "src/utils/validation.ts"
|
|
2838
|
-
}
|
|
2839
|
-
},
|
|
2840
|
-
{
|
|
2841
|
-
"kind": "js",
|
|
2842
|
-
"name": "getAnyOfErrorMessage",
|
|
2843
|
-
"declaration": {
|
|
2844
|
-
"name": "getAnyOfErrorMessage",
|
|
2845
|
-
"module": "src/utils/validation.ts"
|
|
2846
|
-
}
|
|
2847
|
-
}
|
|
2848
|
-
]
|
|
2849
|
-
},
|
|
2850
|
-
{
|
|
2851
|
-
"kind": "javascript-module",
|
|
2852
|
-
"path": "src/jsonforms/renderers/ArrayListWrapperRenderer.ts",
|
|
2853
|
-
"declarations": [
|
|
2854
|
-
{
|
|
2855
|
-
"kind": "function",
|
|
2856
|
-
"name": "ArrayListWrapperRendererTemplate",
|
|
2857
|
-
"parameters": [
|
|
2858
|
-
{
|
|
2859
|
-
"name": "prefix",
|
|
2860
|
-
"default": "'zero'",
|
|
2861
|
-
"type": {
|
|
2862
|
-
"text": "string"
|
|
2863
|
-
}
|
|
2864
|
-
}
|
|
2865
|
-
]
|
|
2866
2574
|
},
|
|
2867
2575
|
{
|
|
2868
2576
|
"kind": "class",
|
|
2869
2577
|
"description": "",
|
|
2870
|
-
"name": "
|
|
2578
|
+
"name": "ControlWrapper",
|
|
2871
2579
|
"members": [
|
|
2872
|
-
{
|
|
2873
|
-
"kind": "field",
|
|
2874
|
-
"name": "form"
|
|
2875
|
-
},
|
|
2876
2580
|
{
|
|
2877
2581
|
"kind": "field",
|
|
2878
2582
|
"name": "control"
|
|
2879
2583
|
},
|
|
2880
2584
|
{
|
|
2881
2585
|
"kind": "field",
|
|
2882
|
-
"name": "
|
|
2586
|
+
"name": "jsonForms"
|
|
2883
2587
|
},
|
|
2884
2588
|
{
|
|
2885
2589
|
"kind": "field",
|
|
2886
|
-
"name": "
|
|
2590
|
+
"name": "touched",
|
|
2591
|
+
"type": {
|
|
2592
|
+
"text": "boolean"
|
|
2593
|
+
}
|
|
2887
2594
|
},
|
|
2888
2595
|
{
|
|
2889
2596
|
"kind": "field",
|
|
2890
|
-
"name": "
|
|
2597
|
+
"name": "hideLabel",
|
|
2891
2598
|
"type": {
|
|
2892
2599
|
"text": "boolean"
|
|
2893
2600
|
},
|
|
@@ -2895,97 +2602,92 @@
|
|
|
2895
2602
|
},
|
|
2896
2603
|
{
|
|
2897
2604
|
"kind": "field",
|
|
2898
|
-
"name": "
|
|
2605
|
+
"name": "prefix",
|
|
2899
2606
|
"type": {
|
|
2900
|
-
"text": "
|
|
2901
|
-
}
|
|
2902
|
-
"default": "[]"
|
|
2607
|
+
"text": "string"
|
|
2608
|
+
}
|
|
2903
2609
|
},
|
|
2904
2610
|
{
|
|
2905
2611
|
"kind": "field",
|
|
2906
|
-
"name": "
|
|
2907
|
-
"
|
|
2908
|
-
"text": "any"
|
|
2909
|
-
},
|
|
2910
|
-
"default": "null"
|
|
2612
|
+
"name": "showDescription",
|
|
2613
|
+
"readonly": true
|
|
2911
2614
|
},
|
|
2912
2615
|
{
|
|
2913
|
-
"kind": "
|
|
2914
|
-
"name": "
|
|
2616
|
+
"kind": "field",
|
|
2617
|
+
"name": "computedLabel",
|
|
2618
|
+
"readonly": true
|
|
2915
2619
|
},
|
|
2916
2620
|
{
|
|
2917
|
-
"kind": "
|
|
2918
|
-
"name": "
|
|
2621
|
+
"kind": "field",
|
|
2622
|
+
"name": "getPrefixedTooltip",
|
|
2623
|
+
"readonly": true
|
|
2919
2624
|
},
|
|
2920
2625
|
{
|
|
2921
|
-
"kind": "
|
|
2922
|
-
"name": "
|
|
2923
|
-
"
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2626
|
+
"kind": "field",
|
|
2627
|
+
"name": "anyOfError",
|
|
2628
|
+
"readonly": true
|
|
2629
|
+
}
|
|
2630
|
+
],
|
|
2631
|
+
"attributes": [
|
|
2632
|
+
{
|
|
2633
|
+
"name": "hide-label",
|
|
2634
|
+
"type": {
|
|
2635
|
+
"text": "boolean"
|
|
2636
|
+
},
|
|
2637
|
+
"default": "false",
|
|
2638
|
+
"fieldName": "hideLabel"
|
|
2931
2639
|
},
|
|
2932
2640
|
{
|
|
2933
|
-
"
|
|
2934
|
-
"
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
"type": {
|
|
2939
|
-
"text": "number"
|
|
2940
|
-
},
|
|
2941
|
-
"description": "The row index to submit"
|
|
2942
|
-
}
|
|
2943
|
-
],
|
|
2944
|
-
"description": "Submits a single row by emitting an event that bubbles up to the foundation-form."
|
|
2641
|
+
"name": "prefix",
|
|
2642
|
+
"type": {
|
|
2643
|
+
"text": "string"
|
|
2644
|
+
},
|
|
2645
|
+
"fieldName": "prefix"
|
|
2945
2646
|
}
|
|
2946
2647
|
],
|
|
2947
2648
|
"superclass": {
|
|
2948
2649
|
"name": "FASTElement",
|
|
2949
2650
|
"package": "@microsoft/fast-element"
|
|
2950
2651
|
},
|
|
2951
|
-
"
|
|
2652
|
+
"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.",
|
|
2653
|
+
"tagName": "control-wrapper",
|
|
2952
2654
|
"customElement": true
|
|
2953
2655
|
}
|
|
2954
2656
|
],
|
|
2955
2657
|
"exports": [
|
|
2956
2658
|
{
|
|
2957
2659
|
"kind": "js",
|
|
2958
|
-
"name": "
|
|
2660
|
+
"name": "controlWrapperTemplate",
|
|
2959
2661
|
"declaration": {
|
|
2960
|
-
"name": "
|
|
2961
|
-
"module": "src/jsonforms/renderers/
|
|
2662
|
+
"name": "controlWrapperTemplate",
|
|
2663
|
+
"module": "src/jsonforms/renderers/ControlWrapperRenderer.ts"
|
|
2962
2664
|
}
|
|
2963
2665
|
},
|
|
2964
2666
|
{
|
|
2965
2667
|
"kind": "js",
|
|
2966
|
-
"name": "
|
|
2668
|
+
"name": "ControlWrapper",
|
|
2967
2669
|
"declaration": {
|
|
2968
|
-
"name": "
|
|
2969
|
-
"module": "src/jsonforms/renderers/
|
|
2670
|
+
"name": "ControlWrapper",
|
|
2671
|
+
"module": "src/jsonforms/renderers/ControlWrapperRenderer.ts"
|
|
2970
2672
|
}
|
|
2971
2673
|
},
|
|
2972
2674
|
{
|
|
2973
2675
|
"kind": "custom-element-definition",
|
|
2974
|
-
"name": "
|
|
2676
|
+
"name": "control-wrapper",
|
|
2975
2677
|
"declaration": {
|
|
2976
|
-
"name": "
|
|
2977
|
-
"module": "src/jsonforms/renderers/
|
|
2678
|
+
"name": "ControlWrapper",
|
|
2679
|
+
"module": "src/jsonforms/renderers/ControlWrapperRenderer.ts"
|
|
2978
2680
|
}
|
|
2979
2681
|
}
|
|
2980
2682
|
]
|
|
2981
2683
|
},
|
|
2982
2684
|
{
|
|
2983
2685
|
"kind": "javascript-module",
|
|
2984
|
-
"path": "src/jsonforms/renderers/
|
|
2686
|
+
"path": "src/jsonforms/renderers/DateControlRenderer.ts",
|
|
2985
2687
|
"declarations": [
|
|
2986
2688
|
{
|
|
2987
2689
|
"kind": "function",
|
|
2988
|
-
"name": "
|
|
2690
|
+
"name": "DateControlRendererTemplate",
|
|
2989
2691
|
"parameters": [
|
|
2990
2692
|
{
|
|
2991
2693
|
"name": "prefix",
|
|
@@ -2998,262 +2700,107 @@
|
|
|
2998
2700
|
},
|
|
2999
2701
|
{
|
|
3000
2702
|
"kind": "variable",
|
|
3001
|
-
"name": "
|
|
2703
|
+
"name": "DateControlRendererEntry",
|
|
3002
2704
|
"type": {
|
|
3003
2705
|
"text": "RendererEntry"
|
|
3004
2706
|
},
|
|
3005
|
-
"default": "{\n renderer: html
|
|
2707
|
+
"default": "{\n renderer: html`\n ${(x) => DateControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(DATE_CONTROL_RANK, isOneOfDate),\n mapper: mapStateToControlProps,\n}"
|
|
3006
2708
|
}
|
|
3007
2709
|
],
|
|
3008
2710
|
"exports": [
|
|
3009
2711
|
{
|
|
3010
2712
|
"kind": "js",
|
|
3011
|
-
"name": "
|
|
2713
|
+
"name": "DateControlRendererTemplate",
|
|
3012
2714
|
"declaration": {
|
|
3013
|
-
"name": "
|
|
3014
|
-
"module": "src/jsonforms/renderers/
|
|
2715
|
+
"name": "DateControlRendererTemplate",
|
|
2716
|
+
"module": "src/jsonforms/renderers/DateControlRenderer.ts"
|
|
3015
2717
|
}
|
|
3016
2718
|
},
|
|
3017
2719
|
{
|
|
3018
2720
|
"kind": "js",
|
|
3019
|
-
"name": "
|
|
2721
|
+
"name": "DateControlRendererEntry",
|
|
3020
2722
|
"declaration": {
|
|
3021
|
-
"name": "
|
|
3022
|
-
"module": "src/jsonforms/renderers/
|
|
2723
|
+
"name": "DateControlRendererEntry",
|
|
2724
|
+
"module": "src/jsonforms/renderers/DateControlRenderer.ts"
|
|
3023
2725
|
}
|
|
3024
2726
|
}
|
|
3025
2727
|
]
|
|
3026
2728
|
},
|
|
3027
2729
|
{
|
|
3028
2730
|
"kind": "javascript-module",
|
|
3029
|
-
"path": "src/jsonforms/renderers/
|
|
2731
|
+
"path": "src/jsonforms/renderers/DividerRenderer.ts",
|
|
3030
2732
|
"declarations": [
|
|
3031
2733
|
{
|
|
3032
2734
|
"kind": "function",
|
|
3033
|
-
"name": "
|
|
3034
|
-
"return": {
|
|
3035
|
-
"type": {
|
|
3036
|
-
"text": "string"
|
|
3037
|
-
}
|
|
3038
|
-
},
|
|
2735
|
+
"name": "DividerControlRendererTemplate",
|
|
3039
2736
|
"parameters": [
|
|
3040
2737
|
{
|
|
3041
|
-
"name": "
|
|
3042
|
-
"
|
|
3043
|
-
"text": "UiSchemaElement"
|
|
3044
|
-
}
|
|
3045
|
-
},
|
|
3046
|
-
{
|
|
3047
|
-
"name": "data",
|
|
2738
|
+
"name": "prefix",
|
|
2739
|
+
"default": "'zero'",
|
|
3048
2740
|
"type": {
|
|
3049
|
-
"text": "
|
|
2741
|
+
"text": "string"
|
|
3050
2742
|
}
|
|
3051
2743
|
}
|
|
3052
2744
|
]
|
|
3053
2745
|
},
|
|
3054
2746
|
{
|
|
3055
2747
|
"kind": "variable",
|
|
3056
|
-
"name": "
|
|
3057
|
-
"
|
|
3058
|
-
|
|
3059
|
-
{
|
|
3060
|
-
"kind": "function",
|
|
3061
|
-
"name": "CategorizationWrapperRendererTemplate",
|
|
3062
|
-
"parameters": [
|
|
3063
|
-
{
|
|
3064
|
-
"name": "prefix",
|
|
3065
|
-
"default": "'zero'"
|
|
3066
|
-
}
|
|
3067
|
-
]
|
|
3068
|
-
},
|
|
3069
|
-
{
|
|
3070
|
-
"kind": "class",
|
|
3071
|
-
"description": "",
|
|
3072
|
-
"name": "CategorizationWrapper",
|
|
3073
|
-
"members": [
|
|
3074
|
-
{
|
|
3075
|
-
"kind": "field",
|
|
3076
|
-
"name": "form"
|
|
3077
|
-
},
|
|
3078
|
-
{
|
|
3079
|
-
"kind": "field",
|
|
3080
|
-
"name": "control"
|
|
3081
|
-
},
|
|
3082
|
-
{
|
|
3083
|
-
"kind": "field",
|
|
3084
|
-
"name": "mountedTabs",
|
|
3085
|
-
"type": {
|
|
3086
|
-
"text": "Set<number>"
|
|
3087
|
-
},
|
|
3088
|
-
"default": "new Set([0])"
|
|
3089
|
-
},
|
|
3090
|
-
{
|
|
3091
|
-
"kind": "field",
|
|
3092
|
-
"name": "activeTabIndex",
|
|
3093
|
-
"type": {
|
|
3094
|
-
"text": "number"
|
|
3095
|
-
},
|
|
3096
|
-
"default": "0"
|
|
3097
|
-
},
|
|
3098
|
-
{
|
|
3099
|
-
"kind": "field",
|
|
3100
|
-
"name": "hasAppliedActiveCategory",
|
|
3101
|
-
"type": {
|
|
3102
|
-
"text": "boolean"
|
|
3103
|
-
},
|
|
3104
|
-
"privacy": "private",
|
|
3105
|
-
"default": "false",
|
|
3106
|
-
"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."
|
|
3107
|
-
},
|
|
3108
|
-
{
|
|
3109
|
-
"kind": "method",
|
|
3110
|
-
"name": "controlChanged"
|
|
3111
|
-
},
|
|
3112
|
-
{
|
|
3113
|
-
"kind": "method",
|
|
3114
|
-
"name": "isMounted",
|
|
3115
|
-
"return": {
|
|
3116
|
-
"type": {
|
|
3117
|
-
"text": "boolean"
|
|
3118
|
-
}
|
|
3119
|
-
},
|
|
3120
|
-
"parameters": [
|
|
3121
|
-
{
|
|
3122
|
-
"name": "index",
|
|
3123
|
-
"type": {
|
|
3124
|
-
"text": "number"
|
|
3125
|
-
}
|
|
3126
|
-
}
|
|
3127
|
-
]
|
|
3128
|
-
},
|
|
3129
|
-
{
|
|
3130
|
-
"kind": "method",
|
|
3131
|
-
"name": "handleTabChange",
|
|
3132
|
-
"parameters": [
|
|
3133
|
-
{
|
|
3134
|
-
"name": "event",
|
|
3135
|
-
"type": {
|
|
3136
|
-
"text": "Event"
|
|
3137
|
-
}
|
|
3138
|
-
}
|
|
3139
|
-
]
|
|
3140
|
-
},
|
|
3141
|
-
{
|
|
3142
|
-
"kind": "method",
|
|
3143
|
-
"name": "hasCategoryError",
|
|
3144
|
-
"return": {
|
|
3145
|
-
"type": {
|
|
3146
|
-
"text": "boolean"
|
|
3147
|
-
}
|
|
3148
|
-
},
|
|
3149
|
-
"parameters": [
|
|
3150
|
-
{
|
|
3151
|
-
"name": "categoryIndex",
|
|
3152
|
-
"type": {
|
|
3153
|
-
"text": "number"
|
|
3154
|
-
}
|
|
3155
|
-
}
|
|
3156
|
-
]
|
|
3157
|
-
}
|
|
3158
|
-
],
|
|
3159
|
-
"superclass": {
|
|
3160
|
-
"name": "FASTElement",
|
|
3161
|
-
"package": "@microsoft/fast-element"
|
|
2748
|
+
"name": "DividerControlRenderer",
|
|
2749
|
+
"type": {
|
|
2750
|
+
"text": "RendererEntry"
|
|
3162
2751
|
},
|
|
3163
|
-
"
|
|
3164
|
-
"customElement": true
|
|
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}"
|
|
3165
2753
|
}
|
|
3166
2754
|
],
|
|
3167
2755
|
"exports": [
|
|
3168
2756
|
{
|
|
3169
2757
|
"kind": "js",
|
|
3170
|
-
"name": "
|
|
3171
|
-
"declaration": {
|
|
3172
|
-
"name": "computeCategoryClassName",
|
|
3173
|
-
"module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
|
|
3174
|
-
}
|
|
3175
|
-
},
|
|
3176
|
-
{
|
|
3177
|
-
"kind": "js",
|
|
3178
|
-
"name": "tabControlIconStyles",
|
|
3179
|
-
"declaration": {
|
|
3180
|
-
"name": "tabControlIconStyles",
|
|
3181
|
-
"module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
|
|
3182
|
-
}
|
|
3183
|
-
},
|
|
3184
|
-
{
|
|
3185
|
-
"kind": "js",
|
|
3186
|
-
"name": "CategorizationWrapperRendererTemplate",
|
|
2758
|
+
"name": "DividerControlRendererTemplate",
|
|
3187
2759
|
"declaration": {
|
|
3188
|
-
"name": "
|
|
3189
|
-
"module": "src/jsonforms/renderers/
|
|
2760
|
+
"name": "DividerControlRendererTemplate",
|
|
2761
|
+
"module": "src/jsonforms/renderers/DividerRenderer.ts"
|
|
3190
2762
|
}
|
|
3191
2763
|
},
|
|
3192
2764
|
{
|
|
3193
2765
|
"kind": "js",
|
|
3194
|
-
"name": "
|
|
3195
|
-
"declaration": {
|
|
3196
|
-
"name": "CategorizationWrapper",
|
|
3197
|
-
"module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
|
|
3198
|
-
}
|
|
3199
|
-
},
|
|
3200
|
-
{
|
|
3201
|
-
"kind": "custom-element-definition",
|
|
3202
|
-
"name": "categorization-wrapper",
|
|
2766
|
+
"name": "DividerControlRenderer",
|
|
3203
2767
|
"declaration": {
|
|
3204
|
-
"name": "
|
|
3205
|
-
"module": "src/jsonforms/renderers/
|
|
2768
|
+
"name": "DividerControlRenderer",
|
|
2769
|
+
"module": "src/jsonforms/renderers/DividerRenderer.ts"
|
|
3206
2770
|
}
|
|
3207
2771
|
}
|
|
3208
2772
|
]
|
|
3209
2773
|
},
|
|
3210
2774
|
{
|
|
3211
2775
|
"kind": "javascript-module",
|
|
3212
|
-
"path": "src/jsonforms/renderers/
|
|
2776
|
+
"path": "src/jsonforms/renderers/EnumControlRenderer.ts",
|
|
3213
2777
|
"declarations": [
|
|
3214
2778
|
{
|
|
3215
2779
|
"kind": "function",
|
|
3216
|
-
"name": "
|
|
3217
|
-
"return": {
|
|
3218
|
-
"type": {
|
|
3219
|
-
"text": "any[]"
|
|
3220
|
-
}
|
|
3221
|
-
},
|
|
3222
|
-
"parameters": [
|
|
3223
|
-
{
|
|
3224
|
-
"name": "control",
|
|
3225
|
-
"type": {
|
|
3226
|
-
"text": "any"
|
|
3227
|
-
}
|
|
3228
|
-
}
|
|
3229
|
-
]
|
|
3230
|
-
},
|
|
3231
|
-
{
|
|
3232
|
-
"kind": "function",
|
|
3233
|
-
"name": "resolveSelectionValue",
|
|
2780
|
+
"name": "mapStateToEnumControlProps",
|
|
3234
2781
|
"return": {
|
|
3235
2782
|
"type": {
|
|
3236
|
-
"text": "
|
|
2783
|
+
"text": "StatePropsOfControl & OwnPropsOfEnum"
|
|
3237
2784
|
}
|
|
3238
2785
|
},
|
|
3239
2786
|
"parameters": [
|
|
3240
2787
|
{
|
|
3241
|
-
"name": "
|
|
2788
|
+
"name": "state",
|
|
3242
2789
|
"type": {
|
|
3243
|
-
"text": "
|
|
2790
|
+
"text": "JsonFormsState"
|
|
3244
2791
|
}
|
|
3245
2792
|
},
|
|
3246
2793
|
{
|
|
3247
|
-
"name": "
|
|
2794
|
+
"name": "ownProps",
|
|
3248
2795
|
"type": {
|
|
3249
|
-
"text": "
|
|
2796
|
+
"text": "OwnPropsOfControl & OwnPropsOfEnum"
|
|
3250
2797
|
}
|
|
3251
2798
|
}
|
|
3252
2799
|
]
|
|
3253
2800
|
},
|
|
3254
2801
|
{
|
|
3255
2802
|
"kind": "function",
|
|
3256
|
-
"name": "
|
|
2803
|
+
"name": "EnumControlRendererTemplate",
|
|
3257
2804
|
"parameters": [
|
|
3258
2805
|
{
|
|
3259
2806
|
"name": "prefix",
|
|
@@ -3266,55 +2813,47 @@
|
|
|
3266
2813
|
},
|
|
3267
2814
|
{
|
|
3268
2815
|
"kind": "variable",
|
|
3269
|
-
"name": "
|
|
2816
|
+
"name": "EnumControlRendererEntry",
|
|
3270
2817
|
"type": {
|
|
3271
2818
|
"text": "RendererEntry"
|
|
3272
2819
|
},
|
|
3273
|
-
"default": "{\n renderer: html
|
|
2820
|
+
"default": "{\n renderer: html`\n ${(x) => EnumControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(ENUM_CONTROL_RANK, isOneOfEnum),\n mapper: mapStateToEnumControlProps,\n}"
|
|
3274
2821
|
}
|
|
3275
2822
|
],
|
|
3276
2823
|
"exports": [
|
|
3277
2824
|
{
|
|
3278
2825
|
"kind": "js",
|
|
3279
|
-
"name": "
|
|
3280
|
-
"declaration": {
|
|
3281
|
-
"name": "resolveSelectedOptions",
|
|
3282
|
-
"module": "src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts"
|
|
3283
|
-
}
|
|
3284
|
-
},
|
|
3285
|
-
{
|
|
3286
|
-
"kind": "js",
|
|
3287
|
-
"name": "resolveSelectionValue",
|
|
2826
|
+
"name": "mapStateToEnumControlProps",
|
|
3288
2827
|
"declaration": {
|
|
3289
|
-
"name": "
|
|
3290
|
-
"module": "src/jsonforms/renderers/
|
|
2828
|
+
"name": "mapStateToEnumControlProps",
|
|
2829
|
+
"module": "src/jsonforms/renderers/EnumControlRenderer.ts"
|
|
3291
2830
|
}
|
|
3292
2831
|
},
|
|
3293
2832
|
{
|
|
3294
2833
|
"kind": "js",
|
|
3295
|
-
"name": "
|
|
2834
|
+
"name": "EnumControlRendererTemplate",
|
|
3296
2835
|
"declaration": {
|
|
3297
|
-
"name": "
|
|
3298
|
-
"module": "src/jsonforms/renderers/
|
|
2836
|
+
"name": "EnumControlRendererTemplate",
|
|
2837
|
+
"module": "src/jsonforms/renderers/EnumControlRenderer.ts"
|
|
3299
2838
|
}
|
|
3300
2839
|
},
|
|
3301
2840
|
{
|
|
3302
2841
|
"kind": "js",
|
|
3303
|
-
"name": "
|
|
2842
|
+
"name": "EnumControlRendererEntry",
|
|
3304
2843
|
"declaration": {
|
|
3305
|
-
"name": "
|
|
3306
|
-
"module": "src/jsonforms/renderers/
|
|
2844
|
+
"name": "EnumControlRendererEntry",
|
|
2845
|
+
"module": "src/jsonforms/renderers/EnumControlRenderer.ts"
|
|
3307
2846
|
}
|
|
3308
2847
|
}
|
|
3309
2848
|
]
|
|
3310
2849
|
},
|
|
3311
2850
|
{
|
|
3312
2851
|
"kind": "javascript-module",
|
|
3313
|
-
"path": "src/jsonforms/renderers/
|
|
2852
|
+
"path": "src/jsonforms/renderers/EnumRadioGroupControlRenderer.ts",
|
|
3314
2853
|
"declarations": [
|
|
3315
2854
|
{
|
|
3316
2855
|
"kind": "function",
|
|
3317
|
-
"name": "
|
|
2856
|
+
"name": "EnumRadioGroupControlRendererTemplate",
|
|
3318
2857
|
"parameters": [
|
|
3319
2858
|
{
|
|
3320
2859
|
"name": "prefix",
|
|
@@ -3327,171 +2866,86 @@
|
|
|
3327
2866
|
},
|
|
3328
2867
|
{
|
|
3329
2868
|
"kind": "variable",
|
|
3330
|
-
"name": "
|
|
2869
|
+
"name": "EnumRadioGroupControlRendererEntry",
|
|
3331
2870
|
"type": {
|
|
3332
|
-
"text": "
|
|
2871
|
+
"text": "RendererEntry"
|
|
3333
2872
|
},
|
|
3334
|
-
"default": "{\n renderer: html<DispatchRenderer>`\n ${(x) =>
|
|
2873
|
+
"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}",
|
|
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"
|
|
3335
2876
|
}
|
|
3336
2877
|
],
|
|
3337
2878
|
"exports": [
|
|
3338
2879
|
{
|
|
3339
2880
|
"kind": "js",
|
|
3340
|
-
"name": "
|
|
2881
|
+
"name": "EnumRadioGroupControlRendererTemplate",
|
|
3341
2882
|
"declaration": {
|
|
3342
|
-
"name": "
|
|
3343
|
-
"module": "src/jsonforms/renderers/
|
|
2883
|
+
"name": "EnumRadioGroupControlRendererTemplate",
|
|
2884
|
+
"module": "src/jsonforms/renderers/EnumRadioGroupControlRenderer.ts"
|
|
3344
2885
|
}
|
|
3345
2886
|
},
|
|
3346
2887
|
{
|
|
3347
2888
|
"kind": "js",
|
|
3348
|
-
"name": "
|
|
2889
|
+
"name": "EnumRadioGroupControlRendererEntry",
|
|
3349
2890
|
"declaration": {
|
|
3350
|
-
"name": "
|
|
3351
|
-
"module": "src/jsonforms/renderers/
|
|
2891
|
+
"name": "EnumRadioGroupControlRendererEntry",
|
|
2892
|
+
"module": "src/jsonforms/renderers/EnumRadioGroupControlRenderer.ts"
|
|
3352
2893
|
}
|
|
3353
2894
|
}
|
|
3354
2895
|
]
|
|
3355
2896
|
},
|
|
3356
2897
|
{
|
|
3357
2898
|
"kind": "javascript-module",
|
|
3358
|
-
"path": "src/jsonforms/renderers/
|
|
2899
|
+
"path": "src/jsonforms/renderers/FilterDateControlRenderer.ts",
|
|
3359
2900
|
"declarations": [
|
|
3360
2901
|
{
|
|
3361
2902
|
"kind": "function",
|
|
3362
|
-
"name": "
|
|
3363
|
-
"return": {
|
|
3364
|
-
"type": {
|
|
3365
|
-
"text": "ViewTemplate<DispatchRenderer>"
|
|
3366
|
-
}
|
|
3367
|
-
},
|
|
2903
|
+
"name": "DateControlRendererTemplate",
|
|
3368
2904
|
"parameters": [
|
|
3369
2905
|
{
|
|
3370
|
-
"name": "options",
|
|
3371
|
-
"type": {
|
|
3372
|
-
"text": "ControlWrapperOptions"
|
|
3373
|
-
}
|
|
3374
|
-
}
|
|
3375
|
-
],
|
|
3376
|
-
"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.",
|
|
3377
|
-
"privacy": "public"
|
|
3378
|
-
},
|
|
3379
|
-
{
|
|
3380
|
-
"kind": "class",
|
|
3381
|
-
"description": "",
|
|
3382
|
-
"name": "ControlWrapper",
|
|
3383
|
-
"members": [
|
|
3384
|
-
{
|
|
3385
|
-
"kind": "field",
|
|
3386
|
-
"name": "control"
|
|
3387
|
-
},
|
|
3388
|
-
{
|
|
3389
|
-
"kind": "field",
|
|
3390
|
-
"name": "jsonForms"
|
|
3391
|
-
},
|
|
3392
|
-
{
|
|
3393
|
-
"kind": "field",
|
|
3394
|
-
"name": "touched",
|
|
3395
|
-
"type": {
|
|
3396
|
-
"text": "boolean"
|
|
3397
|
-
}
|
|
3398
|
-
},
|
|
3399
|
-
{
|
|
3400
|
-
"kind": "field",
|
|
3401
|
-
"name": "hideLabel",
|
|
3402
|
-
"type": {
|
|
3403
|
-
"text": "boolean"
|
|
3404
|
-
},
|
|
3405
|
-
"default": "false"
|
|
3406
|
-
},
|
|
3407
|
-
{
|
|
3408
|
-
"kind": "field",
|
|
3409
2906
|
"name": "prefix",
|
|
2907
|
+
"default": "'zero'",
|
|
3410
2908
|
"type": {
|
|
3411
2909
|
"text": "string"
|
|
3412
2910
|
}
|
|
3413
|
-
},
|
|
3414
|
-
{
|
|
3415
|
-
"kind": "field",
|
|
3416
|
-
"name": "showDescription",
|
|
3417
|
-
"readonly": true
|
|
3418
|
-
},
|
|
3419
|
-
{
|
|
3420
|
-
"kind": "field",
|
|
3421
|
-
"name": "computedLabel",
|
|
3422
|
-
"readonly": true
|
|
3423
|
-
},
|
|
3424
|
-
{
|
|
3425
|
-
"kind": "field",
|
|
3426
|
-
"name": "getPrefixedTooltip",
|
|
3427
|
-
"readonly": true
|
|
3428
|
-
},
|
|
3429
|
-
{
|
|
3430
|
-
"kind": "field",
|
|
3431
|
-
"name": "anyOfError",
|
|
3432
|
-
"readonly": true
|
|
3433
|
-
}
|
|
3434
|
-
],
|
|
3435
|
-
"attributes": [
|
|
3436
|
-
{
|
|
3437
|
-
"name": "hide-label",
|
|
3438
|
-
"type": {
|
|
3439
|
-
"text": "boolean"
|
|
3440
|
-
},
|
|
3441
|
-
"default": "false",
|
|
3442
|
-
"fieldName": "hideLabel"
|
|
3443
|
-
},
|
|
3444
|
-
{
|
|
3445
|
-
"name": "prefix",
|
|
3446
|
-
"type": {
|
|
3447
|
-
"text": "string"
|
|
3448
|
-
},
|
|
3449
|
-
"fieldName": "prefix"
|
|
3450
2911
|
}
|
|
3451
|
-
]
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
2912
|
+
]
|
|
2913
|
+
},
|
|
2914
|
+
{
|
|
2915
|
+
"kind": "variable",
|
|
2916
|
+
"name": "FilterDateControlRendererEntry",
|
|
2917
|
+
"type": {
|
|
2918
|
+
"text": "RendererEntry"
|
|
3455
2919
|
},
|
|
3456
|
-
"
|
|
3457
|
-
"tagName": "control-wrapper",
|
|
3458
|
-
"customElement": true
|
|
2920
|
+
"default": "{\n renderer: html`\n ${(x) => DateControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(DATE_CONTROL_RANK, isOneOfDate),\n mapper: mapStateToControlProps,\n}"
|
|
3459
2921
|
}
|
|
3460
2922
|
],
|
|
3461
2923
|
"exports": [
|
|
3462
2924
|
{
|
|
3463
2925
|
"kind": "js",
|
|
3464
|
-
"name": "
|
|
2926
|
+
"name": "DateControlRendererTemplate",
|
|
3465
2927
|
"declaration": {
|
|
3466
|
-
"name": "
|
|
3467
|
-
"module": "src/jsonforms/renderers/
|
|
2928
|
+
"name": "DateControlRendererTemplate",
|
|
2929
|
+
"module": "src/jsonforms/renderers/FilterDateControlRenderer.ts"
|
|
3468
2930
|
}
|
|
3469
2931
|
},
|
|
3470
2932
|
{
|
|
3471
2933
|
"kind": "js",
|
|
3472
|
-
"name": "
|
|
3473
|
-
"declaration": {
|
|
3474
|
-
"name": "ControlWrapper",
|
|
3475
|
-
"module": "src/jsonforms/renderers/ControlWrapperRenderer.ts"
|
|
3476
|
-
}
|
|
3477
|
-
},
|
|
3478
|
-
{
|
|
3479
|
-
"kind": "custom-element-definition",
|
|
3480
|
-
"name": "control-wrapper",
|
|
2934
|
+
"name": "FilterDateControlRendererEntry",
|
|
3481
2935
|
"declaration": {
|
|
3482
|
-
"name": "
|
|
3483
|
-
"module": "src/jsonforms/renderers/
|
|
2936
|
+
"name": "FilterDateControlRendererEntry",
|
|
2937
|
+
"module": "src/jsonforms/renderers/FilterDateControlRenderer.ts"
|
|
3484
2938
|
}
|
|
3485
2939
|
}
|
|
3486
2940
|
]
|
|
3487
2941
|
},
|
|
3488
2942
|
{
|
|
3489
2943
|
"kind": "javascript-module",
|
|
3490
|
-
"path": "src/jsonforms/renderers/
|
|
2944
|
+
"path": "src/jsonforms/renderers/FilterNumberControlRenderer.ts",
|
|
3491
2945
|
"declarations": [
|
|
3492
2946
|
{
|
|
3493
2947
|
"kind": "function",
|
|
3494
|
-
"name": "
|
|
2948
|
+
"name": "FilterNumberControlRendererTemplate",
|
|
3495
2949
|
"parameters": [
|
|
3496
2950
|
{
|
|
3497
2951
|
"name": "prefix",
|
|
@@ -3504,39 +2958,39 @@
|
|
|
3504
2958
|
},
|
|
3505
2959
|
{
|
|
3506
2960
|
"kind": "variable",
|
|
3507
|
-
"name": "
|
|
2961
|
+
"name": "FilterNumberControlRendererEntry",
|
|
3508
2962
|
"type": {
|
|
3509
2963
|
"text": "RendererEntry"
|
|
3510
2964
|
},
|
|
3511
|
-
"default": "{\n renderer: html`\n ${(x) =>
|
|
2965
|
+
"default": "{\n renderer: html`\n ${(x) => FilterNumberControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(NUMBER_CONTROL_RANK, isOneOfNumber),\n mapper: mapStateToControlProps,\n}"
|
|
3512
2966
|
}
|
|
3513
2967
|
],
|
|
3514
2968
|
"exports": [
|
|
3515
2969
|
{
|
|
3516
2970
|
"kind": "js",
|
|
3517
|
-
"name": "
|
|
2971
|
+
"name": "FilterNumberControlRendererTemplate",
|
|
3518
2972
|
"declaration": {
|
|
3519
|
-
"name": "
|
|
3520
|
-
"module": "src/jsonforms/renderers/
|
|
2973
|
+
"name": "FilterNumberControlRendererTemplate",
|
|
2974
|
+
"module": "src/jsonforms/renderers/FilterNumberControlRenderer.ts"
|
|
3521
2975
|
}
|
|
3522
2976
|
},
|
|
3523
2977
|
{
|
|
3524
2978
|
"kind": "js",
|
|
3525
|
-
"name": "
|
|
2979
|
+
"name": "FilterNumberControlRendererEntry",
|
|
3526
2980
|
"declaration": {
|
|
3527
|
-
"name": "
|
|
3528
|
-
"module": "src/jsonforms/renderers/
|
|
2981
|
+
"name": "FilterNumberControlRendererEntry",
|
|
2982
|
+
"module": "src/jsonforms/renderers/FilterNumberControlRenderer.ts"
|
|
3529
2983
|
}
|
|
3530
2984
|
}
|
|
3531
2985
|
]
|
|
3532
2986
|
},
|
|
3533
2987
|
{
|
|
3534
2988
|
"kind": "javascript-module",
|
|
3535
|
-
"path": "src/jsonforms/renderers/
|
|
2989
|
+
"path": "src/jsonforms/renderers/FilterTimeControlRenderer.ts",
|
|
3536
2990
|
"declarations": [
|
|
3537
2991
|
{
|
|
3538
2992
|
"kind": "function",
|
|
3539
|
-
"name": "
|
|
2993
|
+
"name": "TimeControlRendererTemplate",
|
|
3540
2994
|
"parameters": [
|
|
3541
2995
|
{
|
|
3542
2996
|
"name": "prefix",
|
|
@@ -3549,357 +3003,99 @@
|
|
|
3549
3003
|
},
|
|
3550
3004
|
{
|
|
3551
3005
|
"kind": "variable",
|
|
3552
|
-
"name": "
|
|
3006
|
+
"name": "FilterTimeControlRendererEntry",
|
|
3553
3007
|
"type": {
|
|
3554
3008
|
"text": "RendererEntry"
|
|
3555
3009
|
},
|
|
3556
|
-
"default": "{\n renderer: html`\n ${(x) =>
|
|
3010
|
+
"default": "{\n renderer: html`\n ${(x) => TimeControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(TIME_CONTROL_RANK, isOneOfTime),\n mapper: mapStateToControlProps,\n}"
|
|
3557
3011
|
}
|
|
3558
3012
|
],
|
|
3559
3013
|
"exports": [
|
|
3560
3014
|
{
|
|
3561
3015
|
"kind": "js",
|
|
3562
|
-
"name": "
|
|
3016
|
+
"name": "TimeControlRendererTemplate",
|
|
3563
3017
|
"declaration": {
|
|
3564
|
-
"name": "
|
|
3565
|
-
"module": "src/jsonforms/renderers/
|
|
3018
|
+
"name": "TimeControlRendererTemplate",
|
|
3019
|
+
"module": "src/jsonforms/renderers/FilterTimeControlRenderer.ts"
|
|
3566
3020
|
}
|
|
3567
3021
|
},
|
|
3568
3022
|
{
|
|
3569
3023
|
"kind": "js",
|
|
3570
|
-
"name": "
|
|
3024
|
+
"name": "FilterTimeControlRendererEntry",
|
|
3571
3025
|
"declaration": {
|
|
3572
|
-
"name": "
|
|
3573
|
-
"module": "src/jsonforms/renderers/
|
|
3026
|
+
"name": "FilterTimeControlRendererEntry",
|
|
3027
|
+
"module": "src/jsonforms/renderers/FilterTimeControlRenderer.ts"
|
|
3574
3028
|
}
|
|
3575
3029
|
}
|
|
3576
3030
|
]
|
|
3577
3031
|
},
|
|
3578
3032
|
{
|
|
3579
3033
|
"kind": "javascript-module",
|
|
3580
|
-
"path": "src/jsonforms/renderers/
|
|
3034
|
+
"path": "src/jsonforms/renderers/InvisibleControlRenderer.ts",
|
|
3581
3035
|
"declarations": [
|
|
3582
3036
|
{
|
|
3583
|
-
"kind": "
|
|
3584
|
-
"name": "
|
|
3585
|
-
"
|
|
3586
|
-
"type": {
|
|
3587
|
-
"text": "StatePropsOfControl & OwnPropsOfEnum"
|
|
3588
|
-
}
|
|
3589
|
-
},
|
|
3590
|
-
"parameters": [
|
|
3591
|
-
{
|
|
3592
|
-
"name": "state",
|
|
3593
|
-
"type": {
|
|
3594
|
-
"text": "JsonFormsState"
|
|
3595
|
-
}
|
|
3596
|
-
},
|
|
3597
|
-
{
|
|
3598
|
-
"name": "ownProps",
|
|
3599
|
-
"type": {
|
|
3600
|
-
"text": "OwnPropsOfControl & OwnPropsOfEnum"
|
|
3601
|
-
}
|
|
3602
|
-
}
|
|
3603
|
-
]
|
|
3604
|
-
},
|
|
3605
|
-
{
|
|
3606
|
-
"kind": "function",
|
|
3607
|
-
"name": "EnumControlRendererTemplate",
|
|
3608
|
-
"parameters": [
|
|
3609
|
-
{
|
|
3610
|
-
"name": "prefix",
|
|
3611
|
-
"default": "'zero'",
|
|
3612
|
-
"type": {
|
|
3613
|
-
"text": "string"
|
|
3614
|
-
}
|
|
3615
|
-
}
|
|
3616
|
-
]
|
|
3037
|
+
"kind": "variable",
|
|
3038
|
+
"name": "InvisibleControlRendererTemplate",
|
|
3039
|
+
"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`"
|
|
3617
3040
|
},
|
|
3618
3041
|
{
|
|
3619
3042
|
"kind": "variable",
|
|
3620
|
-
"name": "
|
|
3043
|
+
"name": "InvisibleControlEntry",
|
|
3621
3044
|
"type": {
|
|
3622
3045
|
"text": "RendererEntry"
|
|
3623
3046
|
},
|
|
3624
|
-
"default": "{\n renderer:
|
|
3047
|
+
"default": "{\n renderer: InvisibleControlRendererTemplate,\n tester: rankWith(INVISIBLE_CONTROL_RANK, isInvisible),\n mapper: mapStateToControlProps,\n}"
|
|
3625
3048
|
}
|
|
3626
3049
|
],
|
|
3627
3050
|
"exports": [
|
|
3628
3051
|
{
|
|
3629
3052
|
"kind": "js",
|
|
3630
|
-
"name": "
|
|
3631
|
-
"declaration": {
|
|
3632
|
-
"name": "mapStateToEnumControlProps",
|
|
3633
|
-
"module": "src/jsonforms/renderers/EnumControlRenderer.ts"
|
|
3634
|
-
}
|
|
3635
|
-
},
|
|
3636
|
-
{
|
|
3637
|
-
"kind": "js",
|
|
3638
|
-
"name": "EnumControlRendererTemplate",
|
|
3053
|
+
"name": "InvisibleControlRendererTemplate",
|
|
3639
3054
|
"declaration": {
|
|
3640
|
-
"name": "
|
|
3641
|
-
"module": "src/jsonforms/renderers/
|
|
3055
|
+
"name": "InvisibleControlRendererTemplate",
|
|
3056
|
+
"module": "src/jsonforms/renderers/InvisibleControlRenderer.ts"
|
|
3642
3057
|
}
|
|
3643
3058
|
},
|
|
3644
3059
|
{
|
|
3645
3060
|
"kind": "js",
|
|
3646
|
-
"name": "
|
|
3061
|
+
"name": "InvisibleControlEntry",
|
|
3647
3062
|
"declaration": {
|
|
3648
|
-
"name": "
|
|
3649
|
-
"module": "src/jsonforms/renderers/
|
|
3063
|
+
"name": "InvisibleControlEntry",
|
|
3064
|
+
"module": "src/jsonforms/renderers/InvisibleControlRenderer.ts"
|
|
3650
3065
|
}
|
|
3651
3066
|
}
|
|
3652
3067
|
]
|
|
3653
3068
|
},
|
|
3654
3069
|
{
|
|
3655
3070
|
"kind": "javascript-module",
|
|
3656
|
-
"path": "src/jsonforms/renderers/
|
|
3071
|
+
"path": "src/jsonforms/renderers/LayoutArrayRenderer.ts",
|
|
3657
3072
|
"declarations": [
|
|
3658
3073
|
{
|
|
3659
|
-
"kind": "
|
|
3660
|
-
"name": "
|
|
3661
|
-
"
|
|
3662
|
-
{
|
|
3663
|
-
"name": "prefix",
|
|
3664
|
-
"default": "'zero'",
|
|
3665
|
-
"type": {
|
|
3666
|
-
"text": "string"
|
|
3667
|
-
}
|
|
3668
|
-
}
|
|
3669
|
-
]
|
|
3074
|
+
"kind": "variable",
|
|
3075
|
+
"name": "LayoutArrayRendererTemplate",
|
|
3076
|
+
"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`"
|
|
3670
3077
|
},
|
|
3671
3078
|
{
|
|
3672
3079
|
"kind": "variable",
|
|
3673
|
-
"name": "
|
|
3080
|
+
"name": "LayoutArrayRendererEntry",
|
|
3674
3081
|
"type": {
|
|
3675
|
-
"text": "
|
|
3082
|
+
"text": "any"
|
|
3676
3083
|
},
|
|
3677
|
-
"default": "{\n renderer:
|
|
3678
|
-
"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.",
|
|
3679
|
-
"privacy": "public"
|
|
3084
|
+
"default": "{\n renderer: LayoutArrayRendererTemplate,\n tester: rankWith(LAYOUT_ARRAY_RANK, isArray('object')),\n mapper: mapStateToArrayLayoutProps,\n dispatchMapper: mapDispatchToArrayControlProps,\n}"
|
|
3680
3085
|
}
|
|
3681
3086
|
],
|
|
3682
3087
|
"exports": [
|
|
3683
3088
|
{
|
|
3684
3089
|
"kind": "js",
|
|
3685
|
-
"name": "
|
|
3090
|
+
"name": "LayoutArrayRendererTemplate",
|
|
3686
3091
|
"declaration": {
|
|
3687
|
-
"name": "
|
|
3688
|
-
"module": "src/jsonforms/renderers/
|
|
3092
|
+
"name": "LayoutArrayRendererTemplate",
|
|
3093
|
+
"module": "src/jsonforms/renderers/LayoutArrayRenderer.ts"
|
|
3689
3094
|
}
|
|
3690
3095
|
},
|
|
3691
3096
|
{
|
|
3692
3097
|
"kind": "js",
|
|
3693
|
-
"name": "
|
|
3694
|
-
"declaration": {
|
|
3695
|
-
"name": "EnumRadioGroupControlRendererEntry",
|
|
3696
|
-
"module": "src/jsonforms/renderers/EnumRadioGroupControlRenderer.ts"
|
|
3697
|
-
}
|
|
3698
|
-
}
|
|
3699
|
-
]
|
|
3700
|
-
},
|
|
3701
|
-
{
|
|
3702
|
-
"kind": "javascript-module",
|
|
3703
|
-
"path": "src/jsonforms/renderers/FilterDateControlRenderer.ts",
|
|
3704
|
-
"declarations": [
|
|
3705
|
-
{
|
|
3706
|
-
"kind": "function",
|
|
3707
|
-
"name": "DateControlRendererTemplate",
|
|
3708
|
-
"parameters": [
|
|
3709
|
-
{
|
|
3710
|
-
"name": "prefix",
|
|
3711
|
-
"default": "'zero'",
|
|
3712
|
-
"type": {
|
|
3713
|
-
"text": "string"
|
|
3714
|
-
}
|
|
3715
|
-
}
|
|
3716
|
-
]
|
|
3717
|
-
},
|
|
3718
|
-
{
|
|
3719
|
-
"kind": "variable",
|
|
3720
|
-
"name": "FilterDateControlRendererEntry",
|
|
3721
|
-
"type": {
|
|
3722
|
-
"text": "RendererEntry"
|
|
3723
|
-
},
|
|
3724
|
-
"default": "{\n renderer: html`\n ${(x) => DateControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(DATE_CONTROL_RANK, isOneOfDate),\n mapper: mapStateToControlProps,\n}"
|
|
3725
|
-
}
|
|
3726
|
-
],
|
|
3727
|
-
"exports": [
|
|
3728
|
-
{
|
|
3729
|
-
"kind": "js",
|
|
3730
|
-
"name": "DateControlRendererTemplate",
|
|
3731
|
-
"declaration": {
|
|
3732
|
-
"name": "DateControlRendererTemplate",
|
|
3733
|
-
"module": "src/jsonforms/renderers/FilterDateControlRenderer.ts"
|
|
3734
|
-
}
|
|
3735
|
-
},
|
|
3736
|
-
{
|
|
3737
|
-
"kind": "js",
|
|
3738
|
-
"name": "FilterDateControlRendererEntry",
|
|
3739
|
-
"declaration": {
|
|
3740
|
-
"name": "FilterDateControlRendererEntry",
|
|
3741
|
-
"module": "src/jsonforms/renderers/FilterDateControlRenderer.ts"
|
|
3742
|
-
}
|
|
3743
|
-
}
|
|
3744
|
-
]
|
|
3745
|
-
},
|
|
3746
|
-
{
|
|
3747
|
-
"kind": "javascript-module",
|
|
3748
|
-
"path": "src/jsonforms/renderers/FilterNumberControlRenderer.ts",
|
|
3749
|
-
"declarations": [
|
|
3750
|
-
{
|
|
3751
|
-
"kind": "function",
|
|
3752
|
-
"name": "FilterNumberControlRendererTemplate",
|
|
3753
|
-
"parameters": [
|
|
3754
|
-
{
|
|
3755
|
-
"name": "prefix",
|
|
3756
|
-
"default": "'zero'",
|
|
3757
|
-
"type": {
|
|
3758
|
-
"text": "string"
|
|
3759
|
-
}
|
|
3760
|
-
}
|
|
3761
|
-
]
|
|
3762
|
-
},
|
|
3763
|
-
{
|
|
3764
|
-
"kind": "variable",
|
|
3765
|
-
"name": "FilterNumberControlRendererEntry",
|
|
3766
|
-
"type": {
|
|
3767
|
-
"text": "RendererEntry"
|
|
3768
|
-
},
|
|
3769
|
-
"default": "{\n renderer: html`\n ${(x) => FilterNumberControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(NUMBER_CONTROL_RANK, isOneOfNumber),\n mapper: mapStateToControlProps,\n}"
|
|
3770
|
-
}
|
|
3771
|
-
],
|
|
3772
|
-
"exports": [
|
|
3773
|
-
{
|
|
3774
|
-
"kind": "js",
|
|
3775
|
-
"name": "FilterNumberControlRendererTemplate",
|
|
3776
|
-
"declaration": {
|
|
3777
|
-
"name": "FilterNumberControlRendererTemplate",
|
|
3778
|
-
"module": "src/jsonforms/renderers/FilterNumberControlRenderer.ts"
|
|
3779
|
-
}
|
|
3780
|
-
},
|
|
3781
|
-
{
|
|
3782
|
-
"kind": "js",
|
|
3783
|
-
"name": "FilterNumberControlRendererEntry",
|
|
3784
|
-
"declaration": {
|
|
3785
|
-
"name": "FilterNumberControlRendererEntry",
|
|
3786
|
-
"module": "src/jsonforms/renderers/FilterNumberControlRenderer.ts"
|
|
3787
|
-
}
|
|
3788
|
-
}
|
|
3789
|
-
]
|
|
3790
|
-
},
|
|
3791
|
-
{
|
|
3792
|
-
"kind": "javascript-module",
|
|
3793
|
-
"path": "src/jsonforms/renderers/FilterTimeControlRenderer.ts",
|
|
3794
|
-
"declarations": [
|
|
3795
|
-
{
|
|
3796
|
-
"kind": "function",
|
|
3797
|
-
"name": "TimeControlRendererTemplate",
|
|
3798
|
-
"parameters": [
|
|
3799
|
-
{
|
|
3800
|
-
"name": "prefix",
|
|
3801
|
-
"default": "'zero'",
|
|
3802
|
-
"type": {
|
|
3803
|
-
"text": "string"
|
|
3804
|
-
}
|
|
3805
|
-
}
|
|
3806
|
-
]
|
|
3807
|
-
},
|
|
3808
|
-
{
|
|
3809
|
-
"kind": "variable",
|
|
3810
|
-
"name": "FilterTimeControlRendererEntry",
|
|
3811
|
-
"type": {
|
|
3812
|
-
"text": "RendererEntry"
|
|
3813
|
-
},
|
|
3814
|
-
"default": "{\n renderer: html`\n ${(x) => TimeControlRendererTemplate(x.prefix)}\n `,\n tester: rankWith(TIME_CONTROL_RANK, isOneOfTime),\n mapper: mapStateToControlProps,\n}"
|
|
3815
|
-
}
|
|
3816
|
-
],
|
|
3817
|
-
"exports": [
|
|
3818
|
-
{
|
|
3819
|
-
"kind": "js",
|
|
3820
|
-
"name": "TimeControlRendererTemplate",
|
|
3821
|
-
"declaration": {
|
|
3822
|
-
"name": "TimeControlRendererTemplate",
|
|
3823
|
-
"module": "src/jsonforms/renderers/FilterTimeControlRenderer.ts"
|
|
3824
|
-
}
|
|
3825
|
-
},
|
|
3826
|
-
{
|
|
3827
|
-
"kind": "js",
|
|
3828
|
-
"name": "FilterTimeControlRendererEntry",
|
|
3829
|
-
"declaration": {
|
|
3830
|
-
"name": "FilterTimeControlRendererEntry",
|
|
3831
|
-
"module": "src/jsonforms/renderers/FilterTimeControlRenderer.ts"
|
|
3832
|
-
}
|
|
3833
|
-
}
|
|
3834
|
-
]
|
|
3835
|
-
},
|
|
3836
|
-
{
|
|
3837
|
-
"kind": "javascript-module",
|
|
3838
|
-
"path": "src/jsonforms/renderers/InvisibleControlRenderer.ts",
|
|
3839
|
-
"declarations": [
|
|
3840
|
-
{
|
|
3841
|
-
"kind": "variable",
|
|
3842
|
-
"name": "InvisibleControlRendererTemplate",
|
|
3843
|
-
"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`"
|
|
3844
|
-
},
|
|
3845
|
-
{
|
|
3846
|
-
"kind": "variable",
|
|
3847
|
-
"name": "InvisibleControlEntry",
|
|
3848
|
-
"type": {
|
|
3849
|
-
"text": "RendererEntry"
|
|
3850
|
-
},
|
|
3851
|
-
"default": "{\n renderer: InvisibleControlRendererTemplate,\n tester: rankWith(INVISIBLE_CONTROL_RANK, isInvisible),\n mapper: mapStateToControlProps,\n}"
|
|
3852
|
-
}
|
|
3853
|
-
],
|
|
3854
|
-
"exports": [
|
|
3855
|
-
{
|
|
3856
|
-
"kind": "js",
|
|
3857
|
-
"name": "InvisibleControlRendererTemplate",
|
|
3858
|
-
"declaration": {
|
|
3859
|
-
"name": "InvisibleControlRendererTemplate",
|
|
3860
|
-
"module": "src/jsonforms/renderers/InvisibleControlRenderer.ts"
|
|
3861
|
-
}
|
|
3862
|
-
},
|
|
3863
|
-
{
|
|
3864
|
-
"kind": "js",
|
|
3865
|
-
"name": "InvisibleControlEntry",
|
|
3866
|
-
"declaration": {
|
|
3867
|
-
"name": "InvisibleControlEntry",
|
|
3868
|
-
"module": "src/jsonforms/renderers/InvisibleControlRenderer.ts"
|
|
3869
|
-
}
|
|
3870
|
-
}
|
|
3871
|
-
]
|
|
3872
|
-
},
|
|
3873
|
-
{
|
|
3874
|
-
"kind": "javascript-module",
|
|
3875
|
-
"path": "src/jsonforms/renderers/LayoutArrayRenderer.ts",
|
|
3876
|
-
"declarations": [
|
|
3877
|
-
{
|
|
3878
|
-
"kind": "variable",
|
|
3879
|
-
"name": "LayoutArrayRendererTemplate",
|
|
3880
|
-
"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`"
|
|
3881
|
-
},
|
|
3882
|
-
{
|
|
3883
|
-
"kind": "variable",
|
|
3884
|
-
"name": "LayoutArrayRendererEntry",
|
|
3885
|
-
"type": {
|
|
3886
|
-
"text": "any"
|
|
3887
|
-
},
|
|
3888
|
-
"default": "{\n renderer: LayoutArrayRendererTemplate,\n tester: rankWith(LAYOUT_ARRAY_RANK, isArray('object')),\n mapper: mapStateToArrayLayoutProps,\n dispatchMapper: mapDispatchToArrayControlProps,\n}"
|
|
3889
|
-
}
|
|
3890
|
-
],
|
|
3891
|
-
"exports": [
|
|
3892
|
-
{
|
|
3893
|
-
"kind": "js",
|
|
3894
|
-
"name": "LayoutArrayRendererTemplate",
|
|
3895
|
-
"declaration": {
|
|
3896
|
-
"name": "LayoutArrayRendererTemplate",
|
|
3897
|
-
"module": "src/jsonforms/renderers/LayoutArrayRenderer.ts"
|
|
3898
|
-
}
|
|
3899
|
-
},
|
|
3900
|
-
{
|
|
3901
|
-
"kind": "js",
|
|
3902
|
-
"name": "LayoutArrayRendererEntry",
|
|
3098
|
+
"name": "LayoutArrayRendererEntry",
|
|
3903
3099
|
"declaration": {
|
|
3904
3100
|
"name": "LayoutArrayRendererEntry",
|
|
3905
3101
|
"module": "src/jsonforms/renderers/LayoutArrayRenderer.ts"
|
|
@@ -5569,220 +4765,1056 @@
|
|
|
5569
4765
|
"path": "src/jsonforms/testers/isDate.ts",
|
|
5570
4766
|
"declarations": [
|
|
5571
4767
|
{
|
|
5572
|
-
"kind": "variable",
|
|
5573
|
-
"name": "isOneOfDate"
|
|
5574
|
-
}
|
|
5575
|
-
],
|
|
5576
|
-
"exports": [
|
|
4768
|
+
"kind": "variable",
|
|
4769
|
+
"name": "isOneOfDate"
|
|
4770
|
+
}
|
|
4771
|
+
],
|
|
4772
|
+
"exports": [
|
|
4773
|
+
{
|
|
4774
|
+
"kind": "js",
|
|
4775
|
+
"name": "isOneOfDate",
|
|
4776
|
+
"declaration": {
|
|
4777
|
+
"name": "isOneOfDate",
|
|
4778
|
+
"module": "src/jsonforms/testers/isDate.ts"
|
|
4779
|
+
}
|
|
4780
|
+
}
|
|
4781
|
+
]
|
|
4782
|
+
},
|
|
4783
|
+
{
|
|
4784
|
+
"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
|
+
},
|
|
5516
|
+
{
|
|
5517
|
+
"kind": "function",
|
|
5518
|
+
"name": "formatValueForReview",
|
|
5519
|
+
"return": {
|
|
5520
|
+
"type": {
|
|
5521
|
+
"text": "string"
|
|
5522
|
+
}
|
|
5523
|
+
},
|
|
5524
|
+
"parameters": [
|
|
5525
|
+
{
|
|
5526
|
+
"name": "value",
|
|
5527
|
+
"type": {
|
|
5528
|
+
"text": "any"
|
|
5529
|
+
}
|
|
5530
|
+
}
|
|
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."
|
|
5533
|
+
}
|
|
5534
|
+
],
|
|
5535
|
+
"exports": [
|
|
5536
|
+
{
|
|
5537
|
+
"kind": "js",
|
|
5538
|
+
"name": "buildReviewFields",
|
|
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",
|
|
5571
|
+
"declaration": {
|
|
5572
|
+
"name": "resolveOptionLabel",
|
|
5573
|
+
"module": "src/utils/review-utils.ts"
|
|
5574
|
+
}
|
|
5575
|
+
},
|
|
5576
|
+
{
|
|
5577
|
+
"kind": "js",
|
|
5578
|
+
"name": "resolveResourceOptionLabel",
|
|
5579
|
+
"declaration": {
|
|
5580
|
+
"name": "resolveResourceOptionLabel",
|
|
5581
|
+
"module": "src/utils/review-utils.ts"
|
|
5582
|
+
}
|
|
5583
|
+
},
|
|
5584
|
+
{
|
|
5585
|
+
"kind": "js",
|
|
5586
|
+
"name": "resolveEnumLabel",
|
|
5587
|
+
"declaration": {
|
|
5588
|
+
"name": "resolveEnumLabel",
|
|
5589
|
+
"module": "src/utils/review-utils.ts"
|
|
5590
|
+
}
|
|
5591
|
+
},
|
|
5592
|
+
{
|
|
5593
|
+
"kind": "js",
|
|
5594
|
+
"name": "getDataValueAtPath",
|
|
5595
|
+
"declaration": {
|
|
5596
|
+
"name": "getDataValueAtPath",
|
|
5597
|
+
"module": "src/utils/review-utils.ts"
|
|
5598
|
+
}
|
|
5599
|
+
},
|
|
5577
5600
|
{
|
|
5578
5601
|
"kind": "js",
|
|
5579
|
-
"name": "
|
|
5602
|
+
"name": "formatValueForReview",
|
|
5580
5603
|
"declaration": {
|
|
5581
|
-
"name": "
|
|
5582
|
-
"module": "src/
|
|
5604
|
+
"name": "formatValueForReview",
|
|
5605
|
+
"module": "src/utils/review-utils.ts"
|
|
5583
5606
|
}
|
|
5584
5607
|
}
|
|
5585
5608
|
]
|
|
5586
5609
|
},
|
|
5587
5610
|
{
|
|
5588
5611
|
"kind": "javascript-module",
|
|
5589
|
-
"path": "src/
|
|
5612
|
+
"path": "src/utils/schema-utils.ts",
|
|
5590
5613
|
"declarations": [
|
|
5591
5614
|
{
|
|
5592
5615
|
"kind": "function",
|
|
5593
|
-
"name": "
|
|
5616
|
+
"name": "extractErrorScopes",
|
|
5594
5617
|
"return": {
|
|
5595
5618
|
"type": {
|
|
5596
|
-
"text": "
|
|
5619
|
+
"text": "string[]"
|
|
5597
5620
|
}
|
|
5598
5621
|
},
|
|
5599
5622
|
"parameters": [
|
|
5600
5623
|
{
|
|
5601
|
-
"name": "
|
|
5624
|
+
"name": "errors",
|
|
5602
5625
|
"type": {
|
|
5603
|
-
"text": "
|
|
5626
|
+
"text": "ErrorObject[]"
|
|
5604
5627
|
}
|
|
5605
|
-
}
|
|
5628
|
+
}
|
|
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."
|
|
5631
|
+
},
|
|
5632
|
+
{
|
|
5633
|
+
"kind": "function",
|
|
5634
|
+
"name": "uiSchemaHasAnyError",
|
|
5635
|
+
"return": {
|
|
5636
|
+
"type": {
|
|
5637
|
+
"text": "boolean"
|
|
5638
|
+
}
|
|
5639
|
+
},
|
|
5640
|
+
"parameters": [
|
|
5606
5641
|
{
|
|
5607
|
-
"name": "
|
|
5642
|
+
"name": "uiSchema",
|
|
5608
5643
|
"type": {
|
|
5609
|
-
"text": "
|
|
5644
|
+
"text": "UiSchemaElement | UiSchema"
|
|
5610
5645
|
}
|
|
5611
5646
|
},
|
|
5612
5647
|
{
|
|
5613
|
-
"name": "
|
|
5648
|
+
"name": "errorScopes",
|
|
5614
5649
|
"type": {
|
|
5615
|
-
"text": "
|
|
5650
|
+
"text": "string[]"
|
|
5616
5651
|
}
|
|
5617
5652
|
}
|
|
5618
|
-
]
|
|
5619
|
-
|
|
5620
|
-
],
|
|
5621
|
-
"exports": [
|
|
5622
|
-
{
|
|
5623
|
-
"kind": "js",
|
|
5624
|
-
"name": "isInvisible",
|
|
5625
|
-
"declaration": {
|
|
5626
|
-
"name": "isInvisible",
|
|
5627
|
-
"module": "src/jsonforms/testers/isInvisible.ts"
|
|
5628
|
-
}
|
|
5629
|
-
}
|
|
5630
|
-
]
|
|
5631
|
-
},
|
|
5632
|
-
{
|
|
5633
|
-
"kind": "javascript-module",
|
|
5634
|
-
"path": "src/jsonforms/testers/isOneOfBoolean.ts",
|
|
5635
|
-
"declarations": [
|
|
5636
|
-
{
|
|
5637
|
-
"kind": "variable",
|
|
5638
|
-
"name": "isOneOfBoolean"
|
|
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`."
|
|
5639
5655
|
}
|
|
5640
5656
|
],
|
|
5641
5657
|
"exports": [
|
|
5642
5658
|
{
|
|
5643
5659
|
"kind": "js",
|
|
5644
|
-
"name": "
|
|
5660
|
+
"name": "extractErrorScopes",
|
|
5645
5661
|
"declaration": {
|
|
5646
|
-
"name": "
|
|
5647
|
-
"module": "src/
|
|
5662
|
+
"name": "extractErrorScopes",
|
|
5663
|
+
"module": "src/utils/schema-utils.ts"
|
|
5648
5664
|
}
|
|
5649
|
-
}
|
|
5650
|
-
]
|
|
5651
|
-
},
|
|
5652
|
-
{
|
|
5653
|
-
"kind": "javascript-module",
|
|
5654
|
-
"path": "src/jsonforms/testers/isOneOfEnum.ts",
|
|
5655
|
-
"declarations": [
|
|
5656
|
-
{
|
|
5657
|
-
"kind": "variable",
|
|
5658
|
-
"name": "isOneOfEnum"
|
|
5659
|
-
}
|
|
5660
|
-
],
|
|
5661
|
-
"exports": [
|
|
5665
|
+
},
|
|
5662
5666
|
{
|
|
5663
5667
|
"kind": "js",
|
|
5664
|
-
"name": "
|
|
5668
|
+
"name": "uiSchemaHasAnyError",
|
|
5665
5669
|
"declaration": {
|
|
5666
|
-
"name": "
|
|
5667
|
-
"module": "src/
|
|
5670
|
+
"name": "uiSchemaHasAnyError",
|
|
5671
|
+
"module": "src/utils/schema-utils.ts"
|
|
5668
5672
|
}
|
|
5669
5673
|
}
|
|
5670
5674
|
]
|
|
5671
5675
|
},
|
|
5672
5676
|
{
|
|
5673
5677
|
"kind": "javascript-module",
|
|
5674
|
-
"path": "src/
|
|
5678
|
+
"path": "src/utils/server-errors.ts",
|
|
5675
5679
|
"declarations": [
|
|
5676
5680
|
{
|
|
5677
5681
|
"kind": "function",
|
|
5678
|
-
"name": "
|
|
5682
|
+
"name": "mapGenesisFieldErrorsToAdditionalErrors",
|
|
5679
5683
|
"return": {
|
|
5680
5684
|
"type": {
|
|
5681
|
-
"text": "
|
|
5685
|
+
"text": "ErrorObject[]"
|
|
5682
5686
|
}
|
|
5683
5687
|
},
|
|
5684
5688
|
"parameters": [
|
|
5685
5689
|
{
|
|
5686
|
-
"name": "
|
|
5690
|
+
"name": "errors",
|
|
5687
5691
|
"type": {
|
|
5688
|
-
"text": "
|
|
5689
|
-
}
|
|
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`)"
|
|
5690
5711
|
}
|
|
5691
|
-
]
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
"kind": "variable",
|
|
5695
|
-
"name": "isOneOfNumber"
|
|
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"
|
|
5696
5715
|
}
|
|
5697
5716
|
],
|
|
5698
5717
|
"exports": [
|
|
5699
5718
|
{
|
|
5700
5719
|
"kind": "js",
|
|
5701
|
-
"name": "
|
|
5702
|
-
"declaration": {
|
|
5703
|
-
"name": "isBigDecimal",
|
|
5704
|
-
"module": "src/jsonforms/testers/isOneOfNumber.ts"
|
|
5705
|
-
}
|
|
5706
|
-
},
|
|
5707
|
-
{
|
|
5708
|
-
"kind": "js",
|
|
5709
|
-
"name": "isOneOfNumber",
|
|
5720
|
+
"name": "mapGenesisFieldErrorsToAdditionalErrors",
|
|
5710
5721
|
"declaration": {
|
|
5711
|
-
"name": "
|
|
5712
|
-
"module": "src/
|
|
5722
|
+
"name": "mapGenesisFieldErrorsToAdditionalErrors",
|
|
5723
|
+
"module": "src/utils/server-errors.ts"
|
|
5713
5724
|
}
|
|
5714
5725
|
}
|
|
5715
5726
|
]
|
|
5716
5727
|
},
|
|
5717
5728
|
{
|
|
5718
5729
|
"kind": "javascript-module",
|
|
5719
|
-
"path": "src/
|
|
5720
|
-
"declarations": [
|
|
5721
|
-
|
|
5722
|
-
"kind": "variable",
|
|
5723
|
-
"name": "isOneOfOptionMultiselect"
|
|
5724
|
-
}
|
|
5725
|
-
],
|
|
5726
|
-
"exports": [
|
|
5727
|
-
{
|
|
5728
|
-
"kind": "js",
|
|
5729
|
-
"name": "isOneOfOptionMultiselect",
|
|
5730
|
-
"declaration": {
|
|
5731
|
-
"name": "isOneOfOptionMultiselect",
|
|
5732
|
-
"module": "src/jsonforms/testers/isOneOfOptionMultiselect.ts"
|
|
5733
|
-
}
|
|
5734
|
-
}
|
|
5735
|
-
]
|
|
5730
|
+
"path": "src/utils/translation.ts",
|
|
5731
|
+
"declarations": [],
|
|
5732
|
+
"exports": []
|
|
5736
5733
|
},
|
|
5737
5734
|
{
|
|
5738
5735
|
"kind": "javascript-module",
|
|
5739
|
-
"path": "src/
|
|
5740
|
-
"declarations": [
|
|
5741
|
-
|
|
5742
|
-
"kind": "variable",
|
|
5743
|
-
"name": "isOneOfTime"
|
|
5744
|
-
}
|
|
5745
|
-
],
|
|
5746
|
-
"exports": [
|
|
5747
|
-
{
|
|
5748
|
-
"kind": "js",
|
|
5749
|
-
"name": "isOneOfTime",
|
|
5750
|
-
"declaration": {
|
|
5751
|
-
"name": "isOneOfTime",
|
|
5752
|
-
"module": "src/jsonforms/testers/isTime.ts"
|
|
5753
|
-
}
|
|
5754
|
-
}
|
|
5755
|
-
]
|
|
5736
|
+
"path": "src/utils/types.ts",
|
|
5737
|
+
"declarations": [],
|
|
5738
|
+
"exports": []
|
|
5756
5739
|
},
|
|
5757
5740
|
{
|
|
5758
5741
|
"kind": "javascript-module",
|
|
5759
|
-
"path": "src/
|
|
5742
|
+
"path": "src/utils/validation.ts",
|
|
5760
5743
|
"declarations": [
|
|
5761
5744
|
{
|
|
5762
5745
|
"kind": "function",
|
|
5763
|
-
"name": "
|
|
5746
|
+
"name": "mustMatch",
|
|
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.",
|
|
5764
5757
|
"return": {
|
|
5765
5758
|
"type": {
|
|
5766
|
-
"text": "
|
|
5759
|
+
"text": ""
|
|
5760
|
+
}
|
|
5761
|
+
},
|
|
5762
|
+
"privacy": "public"
|
|
5763
|
+
},
|
|
5764
|
+
{
|
|
5765
|
+
"kind": "function",
|
|
5766
|
+
"name": "getAnyOfErrorMessage",
|
|
5767
|
+
"return": {
|
|
5768
|
+
"type": {
|
|
5769
|
+
"text": "string"
|
|
5767
5770
|
}
|
|
5768
5771
|
},
|
|
5769
5772
|
"parameters": [
|
|
5770
5773
|
{
|
|
5771
|
-
"name": "
|
|
5774
|
+
"name": "errors",
|
|
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,
|
|
5772
5794
|
"type": {
|
|
5773
5795
|
"text": "string"
|
|
5774
5796
|
}
|
|
5775
5797
|
}
|
|
5776
|
-
]
|
|
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"
|
|
5777
5801
|
}
|
|
5778
5802
|
],
|
|
5779
5803
|
"exports": [
|
|
5780
5804
|
{
|
|
5781
5805
|
"kind": "js",
|
|
5782
|
-
"name": "
|
|
5806
|
+
"name": "mustMatch",
|
|
5783
5807
|
"declaration": {
|
|
5784
|
-
"name": "
|
|
5785
|
-
"module": "src/
|
|
5808
|
+
"name": "mustMatch",
|
|
5809
|
+
"module": "src/utils/validation.ts"
|
|
5810
|
+
}
|
|
5811
|
+
},
|
|
5812
|
+
{
|
|
5813
|
+
"kind": "js",
|
|
5814
|
+
"name": "getAnyOfErrorMessage",
|
|
5815
|
+
"declaration": {
|
|
5816
|
+
"name": "getAnyOfErrorMessage",
|
|
5817
|
+
"module": "src/utils/validation.ts"
|
|
5786
5818
|
}
|
|
5787
5819
|
}
|
|
5788
5820
|
]
|