@genesislcap/foundation-forms 14.449.1-alpha-12eee28.0 → 14.450.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +817 -817
- package/package.json +15 -15
|
@@ -951,1106 +951,1106 @@
|
|
|
951
951
|
},
|
|
952
952
|
{
|
|
953
953
|
"kind": "javascript-module",
|
|
954
|
-
"path": "src/
|
|
954
|
+
"path": "src/filters/filters.styles.ts",
|
|
955
|
+
"declarations": [
|
|
956
|
+
{
|
|
957
|
+
"kind": "variable",
|
|
958
|
+
"name": "foundationFiltersStyles"
|
|
959
|
+
}
|
|
960
|
+
],
|
|
961
|
+
"exports": [
|
|
962
|
+
{
|
|
963
|
+
"kind": "js",
|
|
964
|
+
"name": "foundationFiltersStyles",
|
|
965
|
+
"declaration": {
|
|
966
|
+
"name": "foundationFiltersStyles",
|
|
967
|
+
"module": "src/filters/filters.styles.ts"
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
]
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"kind": "javascript-module",
|
|
974
|
+
"path": "src/filters/filters.template.ts",
|
|
955
975
|
"declarations": [],
|
|
956
976
|
"exports": []
|
|
957
977
|
},
|
|
958
978
|
{
|
|
959
979
|
"kind": "javascript-module",
|
|
960
|
-
"path": "src/
|
|
980
|
+
"path": "src/filters/filters.ts",
|
|
961
981
|
"declarations": [
|
|
962
982
|
{
|
|
963
|
-
"kind": "
|
|
964
|
-
"name": "
|
|
965
|
-
"
|
|
966
|
-
"
|
|
967
|
-
"text": ""
|
|
968
|
-
}
|
|
983
|
+
"kind": "variable",
|
|
984
|
+
"name": "filtersRenderers",
|
|
985
|
+
"type": {
|
|
986
|
+
"text": "array"
|
|
969
987
|
},
|
|
970
|
-
"
|
|
971
|
-
|
|
972
|
-
"name": "content",
|
|
973
|
-
"type": {
|
|
974
|
-
"text": "string"
|
|
975
|
-
},
|
|
976
|
-
"description": "The CSV content as a string"
|
|
977
|
-
}
|
|
978
|
-
],
|
|
979
|
-
"description": "Parses a CSV string into headers and rows using PapaParse.\nHandles quoted fields, escaped quotes, empty values, and mixed line endings.",
|
|
988
|
+
"default": "[\n fallbackEntry,\n stringEntry,\n BooleanControlEntry,\n LayoutVertical2ColumnsEntry,\n LayoutRendererEntry,\n FilterNumberControlRendererEntry,\n ConnectedMultiselectControlRendererEntry,\n EnumControlRendererEntry,\n ConnectedSelectControlRendererEntry,\n FilterDateControlRendererEntry,\n FilterTimeControlRendererEntry,\n InvisibleControlEntry,\n]",
|
|
989
|
+
"description": "Set of default renderers used by the foundation-filters.",
|
|
980
990
|
"privacy": "public"
|
|
981
991
|
},
|
|
982
992
|
{
|
|
983
|
-
"kind": "
|
|
984
|
-
"
|
|
985
|
-
"
|
|
986
|
-
|
|
987
|
-
"text": ""
|
|
988
|
-
}
|
|
989
|
-
},
|
|
990
|
-
"parameters": [
|
|
993
|
+
"kind": "class",
|
|
994
|
+
"description": "Foundation filters component for automatically generated filters based on json schema\nobtained from the api, supplied initial data or supplied JSON schema.\nAllowing customisable filters elements using UI schema and set of custom renderers",
|
|
995
|
+
"name": "Filters",
|
|
996
|
+
"members": [
|
|
991
997
|
{
|
|
992
|
-
"
|
|
998
|
+
"kind": "field",
|
|
999
|
+
"name": "kvStorage",
|
|
993
1000
|
"type": {
|
|
994
|
-
"text": "
|
|
995
|
-
}
|
|
996
|
-
"description": "The parsed CSV rows"
|
|
1001
|
+
"text": "KVStorage"
|
|
1002
|
+
}
|
|
997
1003
|
},
|
|
998
1004
|
{
|
|
999
|
-
"
|
|
1005
|
+
"kind": "field",
|
|
1006
|
+
"name": "filterName",
|
|
1000
1007
|
"type": {
|
|
1001
|
-
"text": "
|
|
1008
|
+
"text": "string"
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"kind": "field",
|
|
1013
|
+
"name": "resourceName",
|
|
1014
|
+
"type": {
|
|
1015
|
+
"text": "string"
|
|
1002
1016
|
},
|
|
1003
|
-
"description": "
|
|
1017
|
+
"description": "Name of the backend resource which will provide metadata\nused to generate filters.",
|
|
1018
|
+
"privacy": "public"
|
|
1004
1019
|
},
|
|
1005
1020
|
{
|
|
1006
|
-
"
|
|
1007
|
-
"
|
|
1021
|
+
"kind": "field",
|
|
1022
|
+
"name": "allSavedFilters",
|
|
1008
1023
|
"type": {
|
|
1009
|
-
"text": "
|
|
1024
|
+
"text": "any[]"
|
|
1010
1025
|
},
|
|
1011
|
-
"
|
|
1012
|
-
}
|
|
1013
|
-
],
|
|
1014
|
-
"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.",
|
|
1015
|
-
"privacy": "public"
|
|
1016
|
-
},
|
|
1017
|
-
{
|
|
1018
|
-
"kind": "function",
|
|
1019
|
-
"name": "generateCsvTemplate",
|
|
1020
|
-
"return": {
|
|
1021
|
-
"type": {
|
|
1022
|
-
"text": ""
|
|
1023
|
-
}
|
|
1024
|
-
},
|
|
1025
|
-
"parameters": [
|
|
1026
|
+
"default": "[]"
|
|
1027
|
+
},
|
|
1026
1028
|
{
|
|
1027
|
-
"
|
|
1029
|
+
"kind": "field",
|
|
1030
|
+
"name": "showFilterPersistenceControls",
|
|
1028
1031
|
"type": {
|
|
1029
|
-
"text": "
|
|
1032
|
+
"text": "boolean"
|
|
1030
1033
|
},
|
|
1031
|
-
"description": "
|
|
1034
|
+
"description": "Controls the visibility of the filter persistence controls UI.",
|
|
1035
|
+
"privacy": "public"
|
|
1032
1036
|
},
|
|
1033
1037
|
{
|
|
1034
|
-
"
|
|
1035
|
-
"
|
|
1038
|
+
"kind": "method",
|
|
1039
|
+
"name": "resourceNameChanged",
|
|
1040
|
+
"privacy": "private"
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"kind": "field",
|
|
1044
|
+
"name": "uischema",
|
|
1036
1045
|
"type": {
|
|
1037
1046
|
"text": "UiSchema"
|
|
1038
1047
|
},
|
|
1039
|
-
"description": "
|
|
1048
|
+
"description": "UI schema used to define configuration of the layout and elements in the filters\nCheck UiSchema for possible options.",
|
|
1049
|
+
"privacy": "public"
|
|
1040
1050
|
},
|
|
1041
1051
|
{
|
|
1042
|
-
"
|
|
1043
|
-
"
|
|
1052
|
+
"kind": "field",
|
|
1053
|
+
"name": "renderers",
|
|
1044
1054
|
"type": {
|
|
1045
|
-
"text": "
|
|
1055
|
+
"text": "RendererEntry[]"
|
|
1046
1056
|
},
|
|
1047
|
-
"
|
|
1057
|
+
"default": "[\n fallbackEntry,\n stringEntry,\n BooleanControlEntry,\n LayoutVertical2ColumnsEntry,\n LayoutRendererEntry,\n FilterNumberControlRendererEntry,\n ConnectedMultiselectControlRendererEntry,\n EnumControlRendererEntry,\n ConnectedSelectControlRendererEntry,\n FilterDateControlRendererEntry,\n FilterTimeControlRendererEntry,\n InvisibleControlEntry,\n]",
|
|
1058
|
+
"description": "Allows to provide the main set of renderers used by the form. If not provided, the built-in renderers will be used by default.",
|
|
1059
|
+
"privacy": "public"
|
|
1048
1060
|
},
|
|
1049
1061
|
{
|
|
1050
|
-
"
|
|
1051
|
-
"
|
|
1062
|
+
"kind": "field",
|
|
1063
|
+
"name": "jsonSchema",
|
|
1052
1064
|
"type": {
|
|
1053
|
-
"text": "
|
|
1065
|
+
"text": "JSONSchema7"
|
|
1054
1066
|
},
|
|
1055
|
-
"description": "
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
"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.",
|
|
1059
|
-
"privacy": "public"
|
|
1060
|
-
},
|
|
1061
|
-
{
|
|
1062
|
-
"kind": "function",
|
|
1063
|
-
"name": "downloadCsvTemplate",
|
|
1064
|
-
"return": {
|
|
1065
|
-
"type": {
|
|
1066
|
-
"text": "void"
|
|
1067
|
-
}
|
|
1068
|
-
},
|
|
1069
|
-
"parameters": [
|
|
1067
|
+
"description": "Alternatively to providing Form.resourceName you can hardcode the JSON schema on the client.",
|
|
1068
|
+
"privacy": "public"
|
|
1069
|
+
},
|
|
1070
1070
|
{
|
|
1071
|
-
"
|
|
1071
|
+
"kind": "field",
|
|
1072
|
+
"name": "prefix",
|
|
1072
1073
|
"type": {
|
|
1073
1074
|
"text": "string"
|
|
1074
1075
|
},
|
|
1075
|
-
"
|
|
1076
|
+
"default": "'rapid'",
|
|
1077
|
+
"description": "Name of the design system prefix that will be used in renderers.",
|
|
1078
|
+
"privacy": "public"
|
|
1076
1079
|
},
|
|
1077
1080
|
{
|
|
1078
|
-
"
|
|
1079
|
-
"
|
|
1081
|
+
"kind": "field",
|
|
1082
|
+
"name": "connect",
|
|
1080
1083
|
"type": {
|
|
1081
|
-
"text": "
|
|
1084
|
+
"text": "Connect"
|
|
1082
1085
|
},
|
|
1083
|
-
"
|
|
1084
|
-
}
|
|
1085
|
-
],
|
|
1086
|
-
"description": "Triggers a download of the CSV template file in the browser.",
|
|
1087
|
-
"privacy": "public"
|
|
1088
|
-
}
|
|
1089
|
-
],
|
|
1090
|
-
"exports": [
|
|
1091
|
-
{
|
|
1092
|
-
"kind": "js",
|
|
1093
|
-
"name": "parseCsv",
|
|
1094
|
-
"declaration": {
|
|
1095
|
-
"name": "parseCsv",
|
|
1096
|
-
"module": "src/utils/csv-parser.ts"
|
|
1097
|
-
}
|
|
1098
|
-
},
|
|
1099
|
-
{
|
|
1100
|
-
"kind": "js",
|
|
1101
|
-
"name": "mapCsvToSchema",
|
|
1102
|
-
"declaration": {
|
|
1103
|
-
"name": "mapCsvToSchema",
|
|
1104
|
-
"module": "src/utils/csv-parser.ts"
|
|
1105
|
-
}
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"kind": "js",
|
|
1109
|
-
"name": "generateCsvTemplate",
|
|
1110
|
-
"declaration": {
|
|
1111
|
-
"name": "generateCsvTemplate",
|
|
1112
|
-
"module": "src/utils/csv-parser.ts"
|
|
1113
|
-
}
|
|
1114
|
-
},
|
|
1115
|
-
{
|
|
1116
|
-
"kind": "js",
|
|
1117
|
-
"name": "downloadCsvTemplate",
|
|
1118
|
-
"declaration": {
|
|
1119
|
-
"name": "downloadCsvTemplate",
|
|
1120
|
-
"module": "src/utils/csv-parser.ts"
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
]
|
|
1124
|
-
},
|
|
1125
|
-
{
|
|
1126
|
-
"kind": "javascript-module",
|
|
1127
|
-
"path": "src/utils/filters.ts",
|
|
1128
|
-
"declarations": [],
|
|
1129
|
-
"exports": []
|
|
1130
|
-
},
|
|
1131
|
-
{
|
|
1132
|
-
"kind": "javascript-module",
|
|
1133
|
-
"path": "src/utils/form-utils.ts",
|
|
1134
|
-
"declarations": [
|
|
1135
|
-
{
|
|
1136
|
-
"kind": "function",
|
|
1137
|
-
"name": "removeDataPropertiesNotInSchema",
|
|
1138
|
-
"return": {
|
|
1139
|
-
"type": {
|
|
1140
|
-
"text": ""
|
|
1141
|
-
}
|
|
1142
|
-
},
|
|
1143
|
-
"parameters": [
|
|
1086
|
+
"privacy": "private"
|
|
1087
|
+
},
|
|
1144
1088
|
{
|
|
1089
|
+
"kind": "field",
|
|
1145
1090
|
"name": "data",
|
|
1146
1091
|
"type": {
|
|
1147
1092
|
"text": "any"
|
|
1148
1093
|
},
|
|
1149
|
-
"
|
|
1094
|
+
"default": "{}",
|
|
1095
|
+
"description": "Initial data for the filters.",
|
|
1096
|
+
"privacy": "public"
|
|
1150
1097
|
},
|
|
1151
1098
|
{
|
|
1152
|
-
"
|
|
1099
|
+
"kind": "field",
|
|
1100
|
+
"name": "value",
|
|
1153
1101
|
"type": {
|
|
1154
|
-
"text": "
|
|
1102
|
+
"text": "string"
|
|
1155
1103
|
},
|
|
1156
|
-
"description": "
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
"description": "Removes data properties that aren't part of the schema"
|
|
1160
|
-
}
|
|
1161
|
-
],
|
|
1162
|
-
"exports": [
|
|
1163
|
-
{
|
|
1164
|
-
"kind": "js",
|
|
1165
|
-
"name": "removeDataPropertiesNotInSchema",
|
|
1166
|
-
"declaration": {
|
|
1167
|
-
"name": "removeDataPropertiesNotInSchema",
|
|
1168
|
-
"module": "src/utils/form-utils.ts"
|
|
1169
|
-
}
|
|
1170
|
-
}
|
|
1171
|
-
]
|
|
1172
|
-
},
|
|
1173
|
-
{
|
|
1174
|
-
"kind": "javascript-module",
|
|
1175
|
-
"path": "src/utils/index.ts",
|
|
1176
|
-
"declarations": [],
|
|
1177
|
-
"exports": [
|
|
1178
|
-
{
|
|
1179
|
-
"kind": "js",
|
|
1180
|
-
"name": "*",
|
|
1181
|
-
"declaration": {
|
|
1182
|
-
"name": "*",
|
|
1183
|
-
"package": "./csv-parser"
|
|
1184
|
-
}
|
|
1185
|
-
},
|
|
1186
|
-
{
|
|
1187
|
-
"kind": "js",
|
|
1188
|
-
"name": "*",
|
|
1189
|
-
"declaration": {
|
|
1190
|
-
"name": "*",
|
|
1191
|
-
"package": "./filters"
|
|
1192
|
-
}
|
|
1193
|
-
},
|
|
1194
|
-
{
|
|
1195
|
-
"kind": "js",
|
|
1196
|
-
"name": "*",
|
|
1197
|
-
"declaration": {
|
|
1198
|
-
"name": "*",
|
|
1199
|
-
"package": "./logger"
|
|
1200
|
-
}
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
"kind": "js",
|
|
1204
|
-
"name": "*",
|
|
1205
|
-
"declaration": {
|
|
1206
|
-
"name": "*",
|
|
1207
|
-
"package": "./translation"
|
|
1208
|
-
}
|
|
1209
|
-
},
|
|
1210
|
-
{
|
|
1211
|
-
"kind": "js",
|
|
1212
|
-
"name": "*",
|
|
1213
|
-
"declaration": {
|
|
1214
|
-
"name": "*",
|
|
1215
|
-
"package": "./validation"
|
|
1216
|
-
}
|
|
1217
|
-
},
|
|
1218
|
-
{
|
|
1219
|
-
"kind": "js",
|
|
1220
|
-
"name": "*",
|
|
1221
|
-
"declaration": {
|
|
1222
|
-
"name": "*",
|
|
1223
|
-
"package": "./types"
|
|
1224
|
-
}
|
|
1225
|
-
}
|
|
1226
|
-
]
|
|
1227
|
-
},
|
|
1228
|
-
{
|
|
1229
|
-
"kind": "javascript-module",
|
|
1230
|
-
"path": "src/utils/logger.ts",
|
|
1231
|
-
"declarations": [],
|
|
1232
|
-
"exports": []
|
|
1233
|
-
},
|
|
1234
|
-
{
|
|
1235
|
-
"kind": "javascript-module",
|
|
1236
|
-
"path": "src/utils/schema-utils.ts",
|
|
1237
|
-
"declarations": [],
|
|
1238
|
-
"exports": []
|
|
1239
|
-
},
|
|
1240
|
-
{
|
|
1241
|
-
"kind": "javascript-module",
|
|
1242
|
-
"path": "src/utils/translation.ts",
|
|
1243
|
-
"declarations": [],
|
|
1244
|
-
"exports": []
|
|
1245
|
-
},
|
|
1246
|
-
{
|
|
1247
|
-
"kind": "javascript-module",
|
|
1248
|
-
"path": "src/utils/types.ts",
|
|
1249
|
-
"declarations": [],
|
|
1250
|
-
"exports": []
|
|
1251
|
-
},
|
|
1252
|
-
{
|
|
1253
|
-
"kind": "javascript-module",
|
|
1254
|
-
"path": "src/utils/validation.ts",
|
|
1255
|
-
"declarations": [
|
|
1256
|
-
{
|
|
1257
|
-
"kind": "function",
|
|
1258
|
-
"name": "mustMatch",
|
|
1259
|
-
"parameters": [
|
|
1104
|
+
"description": "Created criteria based on the given data that can be used to filter the data.",
|
|
1105
|
+
"privacy": "public"
|
|
1106
|
+
},
|
|
1260
1107
|
{
|
|
1261
|
-
"
|
|
1108
|
+
"kind": "method",
|
|
1109
|
+
"name": "saveFilter"
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"kind": "method",
|
|
1113
|
+
"name": "deleteFilter"
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"kind": "method",
|
|
1117
|
+
"name": "loadAllSavedFilters"
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"kind": "method",
|
|
1121
|
+
"name": "filterNameChanged",
|
|
1122
|
+
"parameters": [
|
|
1123
|
+
{
|
|
1124
|
+
"name": "oldValue",
|
|
1125
|
+
"type": {
|
|
1126
|
+
"text": "string"
|
|
1127
|
+
}
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"name": "newValue",
|
|
1131
|
+
"type": {
|
|
1132
|
+
"text": "string"
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
]
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"kind": "method",
|
|
1139
|
+
"name": "loadFilterData",
|
|
1140
|
+
"parameters": [
|
|
1141
|
+
{
|
|
1142
|
+
"name": "filterKey",
|
|
1143
|
+
"type": {
|
|
1144
|
+
"text": "string"
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
]
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"kind": "method",
|
|
1151
|
+
"name": "cloneNode",
|
|
1152
|
+
"return": {
|
|
1153
|
+
"type": {
|
|
1154
|
+
"text": "Node"
|
|
1155
|
+
}
|
|
1156
|
+
},
|
|
1157
|
+
"parameters": [
|
|
1158
|
+
{
|
|
1159
|
+
"name": "deep",
|
|
1160
|
+
"optional": true,
|
|
1161
|
+
"type": {
|
|
1162
|
+
"text": "boolean"
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
],
|
|
1166
|
+
"inheritedFrom": {
|
|
1167
|
+
"name": "LifecycleMixin",
|
|
1168
|
+
"module": "src/mixins/lifecycle/lifecycle.ts"
|
|
1169
|
+
}
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
"kind": "method",
|
|
1173
|
+
"name": "deepClone",
|
|
1174
|
+
"return": {
|
|
1175
|
+
"type": {
|
|
1176
|
+
"text": "Node"
|
|
1177
|
+
}
|
|
1178
|
+
},
|
|
1179
|
+
"inheritedFrom": {
|
|
1180
|
+
"name": "LifecycleMixin",
|
|
1181
|
+
"module": "src/mixins/lifecycle/lifecycle.ts"
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"kind": "field",
|
|
1186
|
+
"name": "shouldRunDisconnect",
|
|
1187
|
+
"return": {
|
|
1188
|
+
"type": {
|
|
1189
|
+
"text": ""
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
"readonly": true,
|
|
1193
|
+
"inheritedFrom": {
|
|
1194
|
+
"name": "LifecycleMixin",
|
|
1195
|
+
"module": "src/mixins/lifecycle/lifecycle.ts"
|
|
1196
|
+
}
|
|
1197
|
+
},
|
|
1198
|
+
{
|
|
1199
|
+
"kind": "field",
|
|
1200
|
+
"name": "shouldRunConnect",
|
|
1201
|
+
"return": {
|
|
1202
|
+
"type": {
|
|
1203
|
+
"text": ""
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
"readonly": true,
|
|
1207
|
+
"inheritedFrom": {
|
|
1208
|
+
"name": "LifecycleMixin",
|
|
1209
|
+
"module": "src/mixins/lifecycle/lifecycle.ts"
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"kind": "method",
|
|
1214
|
+
"name": "#_blockLifecycleDueToTokenChange",
|
|
1215
|
+
"return": {
|
|
1216
|
+
"type": {
|
|
1217
|
+
"text": "boolean"
|
|
1218
|
+
}
|
|
1219
|
+
},
|
|
1220
|
+
"parameters": [
|
|
1221
|
+
{
|
|
1222
|
+
"name": "lifecycleType",
|
|
1223
|
+
"type": {
|
|
1224
|
+
"text": "Lifecycletype"
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
],
|
|
1228
|
+
"inheritedFrom": {
|
|
1229
|
+
"name": "LifecycleMixin",
|
|
1230
|
+
"module": "src/mixins/lifecycle/lifecycle.ts"
|
|
1231
|
+
}
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"kind": "field",
|
|
1235
|
+
"name": "_presentation",
|
|
1262
1236
|
"type": {
|
|
1263
|
-
"text": "
|
|
1237
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1264
1238
|
},
|
|
1265
|
-
"
|
|
1239
|
+
"privacy": "private",
|
|
1240
|
+
"default": "void 0",
|
|
1241
|
+
"inheritedFrom": {
|
|
1242
|
+
"name": "FoundationElement",
|
|
1243
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
"kind": "field",
|
|
1248
|
+
"name": "$presentation",
|
|
1249
|
+
"type": {
|
|
1250
|
+
"text": "ComponentPresentation | null"
|
|
1251
|
+
},
|
|
1252
|
+
"privacy": "public",
|
|
1253
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1254
|
+
"inheritedFrom": {
|
|
1255
|
+
"name": "FoundationElement",
|
|
1256
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1257
|
+
}
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
"kind": "field",
|
|
1261
|
+
"name": "template",
|
|
1262
|
+
"type": {
|
|
1263
|
+
"text": "ElementViewTemplate | void | null"
|
|
1264
|
+
},
|
|
1265
|
+
"privacy": "public",
|
|
1266
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1267
|
+
"inheritedFrom": {
|
|
1268
|
+
"name": "FoundationElement",
|
|
1269
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1270
|
+
}
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"kind": "method",
|
|
1274
|
+
"name": "templateChanged",
|
|
1275
|
+
"privacy": "protected",
|
|
1276
|
+
"return": {
|
|
1277
|
+
"type": {
|
|
1278
|
+
"text": "void"
|
|
1279
|
+
}
|
|
1280
|
+
},
|
|
1281
|
+
"inheritedFrom": {
|
|
1282
|
+
"name": "FoundationElement",
|
|
1283
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1284
|
+
}
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"kind": "field",
|
|
1288
|
+
"name": "styles",
|
|
1289
|
+
"type": {
|
|
1290
|
+
"text": "ElementStyles | void | null"
|
|
1291
|
+
},
|
|
1292
|
+
"privacy": "public",
|
|
1293
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1294
|
+
"inheritedFrom": {
|
|
1295
|
+
"name": "FoundationElement",
|
|
1296
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1297
|
+
}
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"kind": "method",
|
|
1301
|
+
"name": "stylesChanged",
|
|
1302
|
+
"privacy": "protected",
|
|
1303
|
+
"return": {
|
|
1304
|
+
"type": {
|
|
1305
|
+
"text": "void"
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
"inheritedFrom": {
|
|
1309
|
+
"name": "FoundationElement",
|
|
1310
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1311
|
+
}
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
"kind": "method",
|
|
1315
|
+
"name": "compose",
|
|
1316
|
+
"privacy": "public",
|
|
1317
|
+
"static": true,
|
|
1318
|
+
"return": {
|
|
1319
|
+
"type": {
|
|
1320
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1321
|
+
}
|
|
1322
|
+
},
|
|
1323
|
+
"parameters": [
|
|
1324
|
+
{
|
|
1325
|
+
"name": "this",
|
|
1326
|
+
"type": {
|
|
1327
|
+
"text": "K"
|
|
1328
|
+
}
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
"name": "elementDefinition",
|
|
1332
|
+
"type": {
|
|
1333
|
+
"text": "T"
|
|
1334
|
+
},
|
|
1335
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1336
|
+
}
|
|
1337
|
+
],
|
|
1338
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1339
|
+
"inheritedFrom": {
|
|
1340
|
+
"name": "FoundationElement",
|
|
1341
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1342
|
+
}
|
|
1266
1343
|
}
|
|
1267
1344
|
],
|
|
1268
|
-
"
|
|
1269
|
-
"return": {
|
|
1270
|
-
"type": {
|
|
1271
|
-
"text": ""
|
|
1272
|
-
}
|
|
1273
|
-
},
|
|
1274
|
-
"privacy": "public"
|
|
1275
|
-
},
|
|
1276
|
-
{
|
|
1277
|
-
"kind": "function",
|
|
1278
|
-
"name": "getAnyOfErrorMessage",
|
|
1279
|
-
"return": {
|
|
1280
|
-
"type": {
|
|
1281
|
-
"text": "string"
|
|
1282
|
-
}
|
|
1283
|
-
},
|
|
1284
|
-
"parameters": [
|
|
1345
|
+
"events": [
|
|
1285
1346
|
{
|
|
1286
|
-
"name": "
|
|
1347
|
+
"name": "change",
|
|
1287
1348
|
"type": {
|
|
1288
|
-
"text": "
|
|
1289
|
-
}
|
|
1349
|
+
"text": "CustomEvent"
|
|
1350
|
+
},
|
|
1351
|
+
"description": "Fired when built criteria (`value`) updates"
|
|
1290
1352
|
},
|
|
1291
1353
|
{
|
|
1292
|
-
"
|
|
1354
|
+
"description": "Fired when filter values are submitted",
|
|
1355
|
+
"name": "submit"
|
|
1356
|
+
}
|
|
1357
|
+
],
|
|
1358
|
+
"attributes": [
|
|
1359
|
+
{
|
|
1360
|
+
"name": "resourceName",
|
|
1293
1361
|
"type": {
|
|
1294
|
-
"text": "
|
|
1295
|
-
}
|
|
1362
|
+
"text": "string"
|
|
1363
|
+
},
|
|
1364
|
+
"description": "Name of the backend resource which will provide metadata\nused to generate filters.",
|
|
1365
|
+
"fieldName": "resourceName"
|
|
1296
1366
|
},
|
|
1297
1367
|
{
|
|
1298
|
-
"name": "
|
|
1368
|
+
"name": "show-filter-persistence-controls",
|
|
1299
1369
|
"type": {
|
|
1300
|
-
"text": "
|
|
1301
|
-
}
|
|
1370
|
+
"text": "boolean"
|
|
1371
|
+
},
|
|
1372
|
+
"description": "Controls the visibility of the filter persistence controls UI.",
|
|
1373
|
+
"fieldName": "showFilterPersistenceControls"
|
|
1302
1374
|
},
|
|
1303
1375
|
{
|
|
1304
|
-
"name": "
|
|
1305
|
-
"optional": true,
|
|
1376
|
+
"name": "design-system-prefix",
|
|
1306
1377
|
"type": {
|
|
1307
1378
|
"text": "string"
|
|
1308
|
-
}
|
|
1379
|
+
},
|
|
1380
|
+
"default": "'rapid'",
|
|
1381
|
+
"description": "Name of the design system prefix that will be used in renderers.",
|
|
1382
|
+
"fieldName": "prefix"
|
|
1309
1383
|
}
|
|
1310
1384
|
],
|
|
1311
|
-
"
|
|
1312
|
-
|
|
1385
|
+
"mixins": [
|
|
1386
|
+
{
|
|
1387
|
+
"name": "LifecycleMixin",
|
|
1388
|
+
"package": "@genesislcap/foundation-utils"
|
|
1389
|
+
}
|
|
1390
|
+
],
|
|
1391
|
+
"superclass": {
|
|
1392
|
+
"name": "FoundationElement",
|
|
1393
|
+
"package": "@microsoft/fast-foundation"
|
|
1394
|
+
},
|
|
1395
|
+
"tagName": "foundation-filters",
|
|
1396
|
+
"customElement": true
|
|
1313
1397
|
}
|
|
1314
1398
|
],
|
|
1315
1399
|
"exports": [
|
|
1316
1400
|
{
|
|
1317
1401
|
"kind": "js",
|
|
1318
|
-
"name": "
|
|
1402
|
+
"name": "filtersRenderers",
|
|
1319
1403
|
"declaration": {
|
|
1320
|
-
"name": "
|
|
1321
|
-
"module": "src/
|
|
1404
|
+
"name": "filtersRenderers",
|
|
1405
|
+
"module": "src/filters/filters.ts"
|
|
1322
1406
|
}
|
|
1323
1407
|
},
|
|
1324
1408
|
{
|
|
1325
1409
|
"kind": "js",
|
|
1326
|
-
"name": "
|
|
1410
|
+
"name": "Filters",
|
|
1327
1411
|
"declaration": {
|
|
1328
|
-
"name": "
|
|
1329
|
-
"module": "src/
|
|
1412
|
+
"name": "Filters",
|
|
1413
|
+
"module": "src/filters/filters.ts"
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
"kind": "custom-element-definition",
|
|
1418
|
+
"name": "foundation-filters",
|
|
1419
|
+
"declaration": {
|
|
1420
|
+
"name": "Filters",
|
|
1421
|
+
"module": "src/filters/filters.ts"
|
|
1330
1422
|
}
|
|
1331
1423
|
}
|
|
1332
1424
|
]
|
|
1333
1425
|
},
|
|
1334
1426
|
{
|
|
1335
1427
|
"kind": "javascript-module",
|
|
1336
|
-
"path": "src/filters/
|
|
1337
|
-
"declarations": [
|
|
1338
|
-
{
|
|
1339
|
-
"kind": "variable",
|
|
1340
|
-
"name": "foundationFiltersStyles"
|
|
1341
|
-
}
|
|
1342
|
-
],
|
|
1428
|
+
"path": "src/filters/index.ts",
|
|
1429
|
+
"declarations": [],
|
|
1343
1430
|
"exports": [
|
|
1344
1431
|
{
|
|
1345
1432
|
"kind": "js",
|
|
1346
|
-
"name": "
|
|
1433
|
+
"name": "*",
|
|
1347
1434
|
"declaration": {
|
|
1348
|
-
"name": "
|
|
1349
|
-
"
|
|
1435
|
+
"name": "*",
|
|
1436
|
+
"package": "./filters"
|
|
1350
1437
|
}
|
|
1351
1438
|
}
|
|
1352
1439
|
]
|
|
1353
1440
|
},
|
|
1354
1441
|
{
|
|
1355
1442
|
"kind": "javascript-module",
|
|
1356
|
-
"path": "src/
|
|
1357
|
-
"declarations": [],
|
|
1358
|
-
"exports": []
|
|
1359
|
-
},
|
|
1360
|
-
{
|
|
1361
|
-
"kind": "javascript-module",
|
|
1362
|
-
"path": "src/filters/filters.ts",
|
|
1443
|
+
"path": "src/jsonforms/json-forms.ts",
|
|
1363
1444
|
"declarations": [
|
|
1364
|
-
{
|
|
1365
|
-
"kind": "variable",
|
|
1366
|
-
"name": "filtersRenderers",
|
|
1367
|
-
"type": {
|
|
1368
|
-
"text": "array"
|
|
1369
|
-
},
|
|
1370
|
-
"default": "[\n fallbackEntry,\n stringEntry,\n BooleanControlEntry,\n LayoutVertical2ColumnsEntry,\n LayoutRendererEntry,\n FilterNumberControlRendererEntry,\n ConnectedMultiselectControlRendererEntry,\n EnumControlRendererEntry,\n ConnectedSelectControlRendererEntry,\n FilterDateControlRendererEntry,\n FilterTimeControlRendererEntry,\n InvisibleControlEntry,\n]",
|
|
1371
|
-
"description": "Set of default renderers used by the foundation-filters.",
|
|
1372
|
-
"privacy": "public"
|
|
1373
|
-
},
|
|
1374
1445
|
{
|
|
1375
1446
|
"kind": "class",
|
|
1376
|
-
"description": "
|
|
1377
|
-
"name": "
|
|
1447
|
+
"description": "JSON Forms host element for schema-driven UI.",
|
|
1448
|
+
"name": "JSONForms",
|
|
1378
1449
|
"members": [
|
|
1379
1450
|
{
|
|
1380
1451
|
"kind": "field",
|
|
1381
|
-
"name": "
|
|
1452
|
+
"name": "_submitted",
|
|
1382
1453
|
"type": {
|
|
1383
|
-
"text": "
|
|
1384
|
-
}
|
|
1454
|
+
"text": "boolean"
|
|
1455
|
+
},
|
|
1456
|
+
"privacy": "private",
|
|
1457
|
+
"default": "false"
|
|
1385
1458
|
},
|
|
1386
1459
|
{
|
|
1387
1460
|
"kind": "field",
|
|
1388
|
-
"name": "
|
|
1461
|
+
"name": "submitted",
|
|
1389
1462
|
"type": {
|
|
1390
|
-
"text": "
|
|
1463
|
+
"text": "boolean"
|
|
1391
1464
|
}
|
|
1392
1465
|
},
|
|
1393
1466
|
{
|
|
1394
1467
|
"kind": "field",
|
|
1395
|
-
"name": "
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
"
|
|
1400
|
-
"privacy": "public"
|
|
1468
|
+
"name": "prefix"
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"kind": "method",
|
|
1472
|
+
"name": "prefixChanged"
|
|
1401
1473
|
},
|
|
1402
1474
|
{
|
|
1403
1475
|
"kind": "field",
|
|
1404
|
-
"name": "
|
|
1405
|
-
"type": {
|
|
1406
|
-
"text": "any[]"
|
|
1407
|
-
},
|
|
1408
|
-
"default": "[]"
|
|
1476
|
+
"name": "jsonforms"
|
|
1409
1477
|
},
|
|
1410
1478
|
{
|
|
1411
1479
|
"kind": "field",
|
|
1412
|
-
"name": "
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
"
|
|
1417
|
-
|
|
1480
|
+
"name": "i18n"
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"kind": "field",
|
|
1484
|
+
"name": "uichemaToUse"
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"kind": "field",
|
|
1488
|
+
"name": "schema"
|
|
1418
1489
|
},
|
|
1419
1490
|
{
|
|
1420
1491
|
"kind": "method",
|
|
1421
|
-
"name": "
|
|
1422
|
-
"privacy": "private"
|
|
1492
|
+
"name": "schemaChanged"
|
|
1423
1493
|
},
|
|
1424
1494
|
{
|
|
1425
1495
|
"kind": "field",
|
|
1426
1496
|
"name": "uischema",
|
|
1427
1497
|
"type": {
|
|
1428
|
-
"text": "
|
|
1429
|
-
}
|
|
1430
|
-
"description": "UI schema used to define configuration of the layout and elements in the filters\nCheck UiSchema for possible options.",
|
|
1431
|
-
"privacy": "public"
|
|
1498
|
+
"text": "UISchemaElement"
|
|
1499
|
+
}
|
|
1432
1500
|
},
|
|
1433
1501
|
{
|
|
1434
|
-
"kind": "
|
|
1435
|
-
"name": "
|
|
1436
|
-
"type": {
|
|
1437
|
-
"text": "RendererEntry[]"
|
|
1438
|
-
},
|
|
1439
|
-
"default": "[\n fallbackEntry,\n stringEntry,\n BooleanControlEntry,\n LayoutVertical2ColumnsEntry,\n LayoutRendererEntry,\n FilterNumberControlRendererEntry,\n ConnectedMultiselectControlRendererEntry,\n EnumControlRendererEntry,\n ConnectedSelectControlRendererEntry,\n FilterDateControlRendererEntry,\n FilterTimeControlRendererEntry,\n InvisibleControlEntry,\n]",
|
|
1440
|
-
"description": "Allows to provide the main set of renderers used by the form. If not provided, the built-in renderers will be used by default.",
|
|
1441
|
-
"privacy": "public"
|
|
1502
|
+
"kind": "method",
|
|
1503
|
+
"name": "uischemaChanged"
|
|
1442
1504
|
},
|
|
1443
1505
|
{
|
|
1444
1506
|
"kind": "field",
|
|
1445
|
-
"name": "
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
"
|
|
1450
|
-
"privacy": "public"
|
|
1507
|
+
"name": "data"
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"kind": "method",
|
|
1511
|
+
"name": "dataChanged"
|
|
1451
1512
|
},
|
|
1452
1513
|
{
|
|
1453
1514
|
"kind": "field",
|
|
1454
|
-
"name": "
|
|
1515
|
+
"name": "renderers",
|
|
1455
1516
|
"type": {
|
|
1456
|
-
"text": "
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
"
|
|
1517
|
+
"text": "JsonFormsRendererRegistryEntry[]"
|
|
1518
|
+
}
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"kind": "method",
|
|
1522
|
+
"name": "renderersChanged"
|
|
1461
1523
|
},
|
|
1462
1524
|
{
|
|
1463
1525
|
"kind": "field",
|
|
1464
|
-
"name": "
|
|
1526
|
+
"name": "validationMode",
|
|
1465
1527
|
"type": {
|
|
1466
|
-
"text": "
|
|
1467
|
-
}
|
|
1468
|
-
|
|
1528
|
+
"text": "ValidationMode"
|
|
1529
|
+
}
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
"kind": "method",
|
|
1533
|
+
"name": "validationModeChanged"
|
|
1469
1534
|
},
|
|
1470
1535
|
{
|
|
1471
1536
|
"kind": "field",
|
|
1472
|
-
"name": "
|
|
1537
|
+
"name": "ajv",
|
|
1473
1538
|
"type": {
|
|
1474
|
-
"text": "
|
|
1475
|
-
}
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
"
|
|
1539
|
+
"text": "Ajv"
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"kind": "method",
|
|
1544
|
+
"name": "ajvChanged"
|
|
1479
1545
|
},
|
|
1480
1546
|
{
|
|
1481
1547
|
"kind": "field",
|
|
1482
|
-
"name": "
|
|
1548
|
+
"name": "readonly",
|
|
1483
1549
|
"type": {
|
|
1484
|
-
"text": "
|
|
1485
|
-
}
|
|
1486
|
-
"description": "Created criteria based on the given data that can be used to filter the data.",
|
|
1487
|
-
"privacy": "public"
|
|
1550
|
+
"text": "boolean"
|
|
1551
|
+
}
|
|
1488
1552
|
},
|
|
1489
1553
|
{
|
|
1490
1554
|
"kind": "method",
|
|
1491
|
-
"name": "
|
|
1555
|
+
"name": "readonlyChanged"
|
|
1492
1556
|
},
|
|
1493
1557
|
{
|
|
1494
|
-
"kind": "
|
|
1495
|
-
"name": "
|
|
1558
|
+
"kind": "field",
|
|
1559
|
+
"name": "config",
|
|
1560
|
+
"type": {
|
|
1561
|
+
"text": "any"
|
|
1562
|
+
}
|
|
1496
1563
|
},
|
|
1497
1564
|
{
|
|
1498
1565
|
"kind": "method",
|
|
1499
|
-
"name": "
|
|
1566
|
+
"name": "configChanged"
|
|
1500
1567
|
},
|
|
1501
1568
|
{
|
|
1502
|
-
"kind": "
|
|
1503
|
-
"name": "
|
|
1504
|
-
"
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
}
|
|
1510
|
-
},
|
|
1511
|
-
{
|
|
1512
|
-
"name": "newValue",
|
|
1513
|
-
"type": {
|
|
1514
|
-
"text": "string"
|
|
1515
|
-
}
|
|
1516
|
-
}
|
|
1517
|
-
]
|
|
1569
|
+
"kind": "field",
|
|
1570
|
+
"name": "rowSubmitStatuses",
|
|
1571
|
+
"type": {
|
|
1572
|
+
"text": "Map<number, BulkRowStatus>"
|
|
1573
|
+
},
|
|
1574
|
+
"default": "new Map()",
|
|
1575
|
+
"description": "Row submit statuses for bulk insert mode.\nPassed from the parent foundation-form."
|
|
1518
1576
|
},
|
|
1519
1577
|
{
|
|
1520
1578
|
"kind": "method",
|
|
1521
|
-
"name": "
|
|
1522
|
-
"parameters": [
|
|
1523
|
-
{
|
|
1524
|
-
"name": "filterKey",
|
|
1525
|
-
"type": {
|
|
1526
|
-
"text": "string"
|
|
1527
|
-
}
|
|
1528
|
-
}
|
|
1529
|
-
]
|
|
1579
|
+
"name": "rowSubmitStatusesChanged"
|
|
1530
1580
|
},
|
|
1531
1581
|
{
|
|
1532
|
-
"kind": "
|
|
1533
|
-
"name": "
|
|
1534
|
-
"
|
|
1535
|
-
"
|
|
1536
|
-
"text": "Node"
|
|
1537
|
-
}
|
|
1582
|
+
"kind": "field",
|
|
1583
|
+
"name": "bulkInsert",
|
|
1584
|
+
"type": {
|
|
1585
|
+
"text": "boolean"
|
|
1538
1586
|
},
|
|
1539
|
-
"
|
|
1540
|
-
|
|
1541
|
-
"name": "deep",
|
|
1542
|
-
"optional": true,
|
|
1543
|
-
"type": {
|
|
1544
|
-
"text": "boolean"
|
|
1545
|
-
}
|
|
1546
|
-
}
|
|
1547
|
-
],
|
|
1548
|
-
"inheritedFrom": {
|
|
1549
|
-
"name": "LifecycleMixin",
|
|
1550
|
-
"module": "src/mixins/lifecycle/lifecycle.ts"
|
|
1551
|
-
}
|
|
1587
|
+
"default": "false",
|
|
1588
|
+
"description": "Whether the form is in bulk insert mode.\nPassed from the parent foundation-form."
|
|
1552
1589
|
},
|
|
1553
1590
|
{
|
|
1554
1591
|
"kind": "method",
|
|
1555
|
-
"name": "
|
|
1556
|
-
"return": {
|
|
1557
|
-
"type": {
|
|
1558
|
-
"text": "Node"
|
|
1559
|
-
}
|
|
1560
|
-
},
|
|
1561
|
-
"inheritedFrom": {
|
|
1562
|
-
"name": "LifecycleMixin",
|
|
1563
|
-
"module": "src/mixins/lifecycle/lifecycle.ts"
|
|
1564
|
-
}
|
|
1592
|
+
"name": "bulkInsertChanged"
|
|
1565
1593
|
},
|
|
1566
1594
|
{
|
|
1567
1595
|
"kind": "field",
|
|
1568
|
-
"name": "
|
|
1569
|
-
"
|
|
1570
|
-
"
|
|
1571
|
-
"text": ""
|
|
1572
|
-
}
|
|
1596
|
+
"name": "props",
|
|
1597
|
+
"type": {
|
|
1598
|
+
"text": "RendererProps"
|
|
1573
1599
|
},
|
|
1574
|
-
"readonly": true
|
|
1575
|
-
"inheritedFrom": {
|
|
1576
|
-
"name": "LifecycleMixin",
|
|
1577
|
-
"module": "src/mixins/lifecycle/lifecycle.ts"
|
|
1578
|
-
}
|
|
1600
|
+
"readonly": true
|
|
1579
1601
|
},
|
|
1580
1602
|
{
|
|
1581
1603
|
"kind": "field",
|
|
1582
|
-
"name": "
|
|
1604
|
+
"name": "dispatch"
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
"kind": "field",
|
|
1608
|
+
"name": "validate",
|
|
1609
|
+
"description": "Performs client-side validation by running the validator defined in the UI schema.",
|
|
1610
|
+
"parameters": [
|
|
1611
|
+
{
|
|
1612
|
+
"description": "the UI schema",
|
|
1613
|
+
"name": "uischema"
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
"description": "the data to validate against (defaults to the current core data)",
|
|
1617
|
+
"name": "data"
|
|
1618
|
+
}
|
|
1619
|
+
],
|
|
1583
1620
|
"return": {
|
|
1584
1621
|
"type": {
|
|
1585
1622
|
"text": ""
|
|
1586
1623
|
}
|
|
1587
|
-
},
|
|
1588
|
-
"readonly": true,
|
|
1589
|
-
"inheritedFrom": {
|
|
1590
|
-
"name": "LifecycleMixin",
|
|
1591
|
-
"module": "src/mixins/lifecycle/lifecycle.ts"
|
|
1592
1624
|
}
|
|
1593
1625
|
},
|
|
1594
1626
|
{
|
|
1595
1627
|
"kind": "method",
|
|
1596
|
-
"name": "
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
"
|
|
1603
|
-
{
|
|
1604
|
-
"name": "lifecycleType",
|
|
1605
|
-
"type": {
|
|
1606
|
-
"text": "Lifecycletype"
|
|
1607
|
-
}
|
|
1608
|
-
}
|
|
1609
|
-
],
|
|
1610
|
-
"inheritedFrom": {
|
|
1611
|
-
"name": "LifecycleMixin",
|
|
1612
|
-
"module": "src/mixins/lifecycle/lifecycle.ts"
|
|
1613
|
-
}
|
|
1628
|
+
"name": "copyUISchemaToClipboard"
|
|
1629
|
+
}
|
|
1630
|
+
],
|
|
1631
|
+
"events": [
|
|
1632
|
+
{
|
|
1633
|
+
"description": "Bubbles from nested dispatch-renderer when a control emits change (e.g. multiselect)",
|
|
1634
|
+
"name": "change"
|
|
1614
1635
|
},
|
|
1615
1636
|
{
|
|
1616
|
-
"
|
|
1617
|
-
"name": "
|
|
1637
|
+
"description": "Fired when bound form data changes",
|
|
1638
|
+
"name": "data-change"
|
|
1639
|
+
}
|
|
1640
|
+
],
|
|
1641
|
+
"attributes": [
|
|
1642
|
+
{
|
|
1618
1643
|
"type": {
|
|
1619
|
-
"text": "
|
|
1644
|
+
"text": "boolean"
|
|
1620
1645
|
},
|
|
1621
|
-
"
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1646
|
+
"fieldName": "readonly"
|
|
1647
|
+
}
|
|
1648
|
+
],
|
|
1649
|
+
"superclass": {
|
|
1650
|
+
"name": "FASTElement",
|
|
1651
|
+
"package": "@microsoft/fast-element"
|
|
1652
|
+
},
|
|
1653
|
+
"tagName": "json-forms",
|
|
1654
|
+
"customElement": true
|
|
1655
|
+
}
|
|
1656
|
+
],
|
|
1657
|
+
"exports": [
|
|
1658
|
+
{
|
|
1659
|
+
"kind": "js",
|
|
1660
|
+
"name": "JSONForms",
|
|
1661
|
+
"declaration": {
|
|
1662
|
+
"name": "JSONForms",
|
|
1663
|
+
"module": "src/jsonforms/json-forms.ts"
|
|
1664
|
+
}
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
"kind": "custom-element-definition",
|
|
1668
|
+
"name": "json-forms",
|
|
1669
|
+
"declaration": {
|
|
1670
|
+
"name": "JSONForms",
|
|
1671
|
+
"module": "src/jsonforms/json-forms.ts"
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
]
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
"kind": "javascript-module",
|
|
1678
|
+
"path": "src/utils/confirmation-dialog-utils.ts",
|
|
1679
|
+
"declarations": [],
|
|
1680
|
+
"exports": []
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"kind": "javascript-module",
|
|
1684
|
+
"path": "src/utils/csv-parser.ts",
|
|
1685
|
+
"declarations": [
|
|
1686
|
+
{
|
|
1687
|
+
"kind": "function",
|
|
1688
|
+
"name": "parseCsv",
|
|
1689
|
+
"return": {
|
|
1690
|
+
"type": {
|
|
1691
|
+
"text": ""
|
|
1692
|
+
}
|
|
1693
|
+
},
|
|
1694
|
+
"parameters": [
|
|
1628
1695
|
{
|
|
1629
|
-
"
|
|
1630
|
-
"name": "$presentation",
|
|
1696
|
+
"name": "content",
|
|
1631
1697
|
"type": {
|
|
1632
|
-
"text": "
|
|
1698
|
+
"text": "string"
|
|
1633
1699
|
},
|
|
1634
|
-
"
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1700
|
+
"description": "The CSV content as a string"
|
|
1701
|
+
}
|
|
1702
|
+
],
|
|
1703
|
+
"description": "Parses a CSV string into headers and rows using PapaParse.\nHandles quoted fields, escaped quotes, empty values, and mixed line endings.",
|
|
1704
|
+
"privacy": "public"
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"kind": "function",
|
|
1708
|
+
"name": "mapCsvToSchema",
|
|
1709
|
+
"return": {
|
|
1710
|
+
"type": {
|
|
1711
|
+
"text": ""
|
|
1712
|
+
}
|
|
1713
|
+
},
|
|
1714
|
+
"parameters": [
|
|
1641
1715
|
{
|
|
1642
|
-
"
|
|
1643
|
-
"name": "template",
|
|
1716
|
+
"name": "csvRows",
|
|
1644
1717
|
"type": {
|
|
1645
|
-
"text": "
|
|
1718
|
+
"text": "Record<string, string>[]"
|
|
1646
1719
|
},
|
|
1647
|
-
"
|
|
1648
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1649
|
-
"inheritedFrom": {
|
|
1650
|
-
"name": "FoundationElement",
|
|
1651
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1652
|
-
}
|
|
1720
|
+
"description": "The parsed CSV rows"
|
|
1653
1721
|
},
|
|
1654
1722
|
{
|
|
1655
|
-
"
|
|
1656
|
-
"
|
|
1657
|
-
|
|
1658
|
-
"return": {
|
|
1659
|
-
"type": {
|
|
1660
|
-
"text": "void"
|
|
1661
|
-
}
|
|
1723
|
+
"name": "schema",
|
|
1724
|
+
"type": {
|
|
1725
|
+
"text": "JSONSchema7 | undefined"
|
|
1662
1726
|
},
|
|
1663
|
-
"
|
|
1664
|
-
"name": "FoundationElement",
|
|
1665
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1666
|
-
}
|
|
1727
|
+
"description": "The JSON schema defining the fields"
|
|
1667
1728
|
},
|
|
1668
1729
|
{
|
|
1669
|
-
"
|
|
1670
|
-
"
|
|
1730
|
+
"name": "uiSchema",
|
|
1731
|
+
"optional": true,
|
|
1732
|
+
"type": {
|
|
1733
|
+
"text": "UiSchema"
|
|
1734
|
+
},
|
|
1735
|
+
"description": "Optional UI schema to map labels to field names on import"
|
|
1736
|
+
}
|
|
1737
|
+
],
|
|
1738
|
+
"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.",
|
|
1739
|
+
"privacy": "public"
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
"kind": "function",
|
|
1743
|
+
"name": "generateCsvTemplate",
|
|
1744
|
+
"return": {
|
|
1745
|
+
"type": {
|
|
1746
|
+
"text": ""
|
|
1747
|
+
}
|
|
1748
|
+
},
|
|
1749
|
+
"parameters": [
|
|
1750
|
+
{
|
|
1751
|
+
"name": "schema",
|
|
1752
|
+
"type": {
|
|
1753
|
+
"text": "JSONSchema7 | undefined"
|
|
1754
|
+
},
|
|
1755
|
+
"description": "The JSON schema defining the fields"
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
"name": "uiSchema",
|
|
1759
|
+
"optional": true,
|
|
1671
1760
|
"type": {
|
|
1672
|
-
"text": "
|
|
1761
|
+
"text": "UiSchema"
|
|
1673
1762
|
},
|
|
1674
|
-
"
|
|
1675
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1676
|
-
"inheritedFrom": {
|
|
1677
|
-
"name": "FoundationElement",
|
|
1678
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1679
|
-
}
|
|
1763
|
+
"description": "Optional UI schema to determine field order and visibility"
|
|
1680
1764
|
},
|
|
1681
1765
|
{
|
|
1682
|
-
"
|
|
1683
|
-
"
|
|
1684
|
-
"
|
|
1685
|
-
|
|
1686
|
-
"type": {
|
|
1687
|
-
"text": "void"
|
|
1688
|
-
}
|
|
1766
|
+
"name": "includeOptionalFields",
|
|
1767
|
+
"default": "true",
|
|
1768
|
+
"type": {
|
|
1769
|
+
"text": "boolean"
|
|
1689
1770
|
},
|
|
1690
|
-
"
|
|
1691
|
-
"name": "FoundationElement",
|
|
1692
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1693
|
-
}
|
|
1771
|
+
"description": "Whether to include optional fields when no UI schema (default: true)"
|
|
1694
1772
|
},
|
|
1695
1773
|
{
|
|
1696
|
-
"
|
|
1697
|
-
"
|
|
1698
|
-
"
|
|
1699
|
-
|
|
1700
|
-
"return": {
|
|
1701
|
-
"type": {
|
|
1702
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1703
|
-
}
|
|
1774
|
+
"name": "includeBom",
|
|
1775
|
+
"default": "true",
|
|
1776
|
+
"type": {
|
|
1777
|
+
"text": "boolean"
|
|
1704
1778
|
},
|
|
1705
|
-
"
|
|
1706
|
-
{
|
|
1707
|
-
"name": "this",
|
|
1708
|
-
"type": {
|
|
1709
|
-
"text": "K"
|
|
1710
|
-
}
|
|
1711
|
-
},
|
|
1712
|
-
{
|
|
1713
|
-
"name": "elementDefinition",
|
|
1714
|
-
"type": {
|
|
1715
|
-
"text": "T"
|
|
1716
|
-
},
|
|
1717
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1718
|
-
}
|
|
1719
|
-
],
|
|
1720
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1721
|
-
"inheritedFrom": {
|
|
1722
|
-
"name": "FoundationElement",
|
|
1723
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1724
|
-
}
|
|
1779
|
+
"description": "Whether to prepend UTF-8 BOM for Excel compatibility (default: true)"
|
|
1725
1780
|
}
|
|
1726
1781
|
],
|
|
1727
|
-
"
|
|
1782
|
+
"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.",
|
|
1783
|
+
"privacy": "public"
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"kind": "function",
|
|
1787
|
+
"name": "downloadCsvTemplate",
|
|
1788
|
+
"return": {
|
|
1789
|
+
"type": {
|
|
1790
|
+
"text": "void"
|
|
1791
|
+
}
|
|
1792
|
+
},
|
|
1793
|
+
"parameters": [
|
|
1728
1794
|
{
|
|
1729
|
-
"name": "
|
|
1795
|
+
"name": "csvContent",
|
|
1730
1796
|
"type": {
|
|
1731
|
-
"text": "
|
|
1797
|
+
"text": "string"
|
|
1732
1798
|
},
|
|
1733
|
-
"description": "
|
|
1799
|
+
"description": "The CSV content to download"
|
|
1734
1800
|
},
|
|
1735
1801
|
{
|
|
1736
|
-
"
|
|
1737
|
-
"
|
|
1738
|
-
}
|
|
1739
|
-
],
|
|
1740
|
-
"attributes": [
|
|
1741
|
-
{
|
|
1742
|
-
"name": "resourceName",
|
|
1802
|
+
"name": "fileName",
|
|
1803
|
+
"default": "'template.csv'",
|
|
1743
1804
|
"type": {
|
|
1744
1805
|
"text": "string"
|
|
1745
1806
|
},
|
|
1746
|
-
"description": "
|
|
1747
|
-
|
|
1748
|
-
|
|
1807
|
+
"description": "The name for the downloaded file (default: 'template.csv')"
|
|
1808
|
+
}
|
|
1809
|
+
],
|
|
1810
|
+
"description": "Triggers a download of the CSV template file in the browser.",
|
|
1811
|
+
"privacy": "public"
|
|
1812
|
+
}
|
|
1813
|
+
],
|
|
1814
|
+
"exports": [
|
|
1815
|
+
{
|
|
1816
|
+
"kind": "js",
|
|
1817
|
+
"name": "parseCsv",
|
|
1818
|
+
"declaration": {
|
|
1819
|
+
"name": "parseCsv",
|
|
1820
|
+
"module": "src/utils/csv-parser.ts"
|
|
1821
|
+
}
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
"kind": "js",
|
|
1825
|
+
"name": "mapCsvToSchema",
|
|
1826
|
+
"declaration": {
|
|
1827
|
+
"name": "mapCsvToSchema",
|
|
1828
|
+
"module": "src/utils/csv-parser.ts"
|
|
1829
|
+
}
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
"kind": "js",
|
|
1833
|
+
"name": "generateCsvTemplate",
|
|
1834
|
+
"declaration": {
|
|
1835
|
+
"name": "generateCsvTemplate",
|
|
1836
|
+
"module": "src/utils/csv-parser.ts"
|
|
1837
|
+
}
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"kind": "js",
|
|
1841
|
+
"name": "downloadCsvTemplate",
|
|
1842
|
+
"declaration": {
|
|
1843
|
+
"name": "downloadCsvTemplate",
|
|
1844
|
+
"module": "src/utils/csv-parser.ts"
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1847
|
+
]
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
"kind": "javascript-module",
|
|
1851
|
+
"path": "src/utils/filters.ts",
|
|
1852
|
+
"declarations": [],
|
|
1853
|
+
"exports": []
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
"kind": "javascript-module",
|
|
1857
|
+
"path": "src/utils/form-utils.ts",
|
|
1858
|
+
"declarations": [
|
|
1859
|
+
{
|
|
1860
|
+
"kind": "function",
|
|
1861
|
+
"name": "removeDataPropertiesNotInSchema",
|
|
1862
|
+
"return": {
|
|
1863
|
+
"type": {
|
|
1864
|
+
"text": ""
|
|
1865
|
+
}
|
|
1866
|
+
},
|
|
1867
|
+
"parameters": [
|
|
1749
1868
|
{
|
|
1750
|
-
"name": "
|
|
1869
|
+
"name": "data",
|
|
1751
1870
|
"type": {
|
|
1752
|
-
"text": "
|
|
1871
|
+
"text": "any"
|
|
1753
1872
|
},
|
|
1754
|
-
"description": "
|
|
1755
|
-
"fieldName": "showFilterPersistenceControls"
|
|
1873
|
+
"description": "The data object to clean"
|
|
1756
1874
|
},
|
|
1757
1875
|
{
|
|
1758
|
-
"name": "
|
|
1876
|
+
"name": "jsonSchema",
|
|
1759
1877
|
"type": {
|
|
1760
|
-
"text": "
|
|
1878
|
+
"text": "JSONSchema7"
|
|
1761
1879
|
},
|
|
1762
|
-
"
|
|
1763
|
-
"description": "Name of the design system prefix that will be used in renderers.",
|
|
1764
|
-
"fieldName": "prefix"
|
|
1765
|
-
}
|
|
1766
|
-
],
|
|
1767
|
-
"mixins": [
|
|
1768
|
-
{
|
|
1769
|
-
"name": "LifecycleMixin",
|
|
1770
|
-
"package": "@genesislcap/foundation-utils"
|
|
1880
|
+
"description": "The JSON schema to validate against"
|
|
1771
1881
|
}
|
|
1772
1882
|
],
|
|
1773
|
-
"
|
|
1774
|
-
"name": "FoundationElement",
|
|
1775
|
-
"package": "@microsoft/fast-foundation"
|
|
1776
|
-
},
|
|
1777
|
-
"tagName": "foundation-filters",
|
|
1778
|
-
"customElement": true
|
|
1883
|
+
"description": "Removes data properties that aren't part of the schema"
|
|
1779
1884
|
}
|
|
1780
1885
|
],
|
|
1781
1886
|
"exports": [
|
|
1782
1887
|
{
|
|
1783
1888
|
"kind": "js",
|
|
1784
|
-
"name": "
|
|
1889
|
+
"name": "removeDataPropertiesNotInSchema",
|
|
1785
1890
|
"declaration": {
|
|
1786
|
-
"name": "
|
|
1787
|
-
"module": "src/
|
|
1891
|
+
"name": "removeDataPropertiesNotInSchema",
|
|
1892
|
+
"module": "src/utils/form-utils.ts"
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
]
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
"kind": "javascript-module",
|
|
1899
|
+
"path": "src/utils/index.ts",
|
|
1900
|
+
"declarations": [],
|
|
1901
|
+
"exports": [
|
|
1902
|
+
{
|
|
1903
|
+
"kind": "js",
|
|
1904
|
+
"name": "*",
|
|
1905
|
+
"declaration": {
|
|
1906
|
+
"name": "*",
|
|
1907
|
+
"package": "./csv-parser"
|
|
1788
1908
|
}
|
|
1789
1909
|
},
|
|
1790
1910
|
{
|
|
1791
1911
|
"kind": "js",
|
|
1792
|
-
"name": "
|
|
1912
|
+
"name": "*",
|
|
1793
1913
|
"declaration": {
|
|
1794
|
-
"name": "
|
|
1795
|
-
"
|
|
1914
|
+
"name": "*",
|
|
1915
|
+
"package": "./filters"
|
|
1796
1916
|
}
|
|
1797
1917
|
},
|
|
1798
1918
|
{
|
|
1799
|
-
"kind": "
|
|
1800
|
-
"name": "
|
|
1919
|
+
"kind": "js",
|
|
1920
|
+
"name": "*",
|
|
1801
1921
|
"declaration": {
|
|
1802
|
-
"name": "
|
|
1803
|
-
"
|
|
1922
|
+
"name": "*",
|
|
1923
|
+
"package": "./logger"
|
|
1924
|
+
}
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
"kind": "js",
|
|
1928
|
+
"name": "*",
|
|
1929
|
+
"declaration": {
|
|
1930
|
+
"name": "*",
|
|
1931
|
+
"package": "./translation"
|
|
1932
|
+
}
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
"kind": "js",
|
|
1936
|
+
"name": "*",
|
|
1937
|
+
"declaration": {
|
|
1938
|
+
"name": "*",
|
|
1939
|
+
"package": "./validation"
|
|
1940
|
+
}
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"kind": "js",
|
|
1944
|
+
"name": "*",
|
|
1945
|
+
"declaration": {
|
|
1946
|
+
"name": "*",
|
|
1947
|
+
"package": "./types"
|
|
1804
1948
|
}
|
|
1805
1949
|
}
|
|
1806
1950
|
]
|
|
1807
1951
|
},
|
|
1808
1952
|
{
|
|
1809
1953
|
"kind": "javascript-module",
|
|
1810
|
-
"path": "src/
|
|
1954
|
+
"path": "src/utils/logger.ts",
|
|
1955
|
+
"declarations": [],
|
|
1956
|
+
"exports": []
|
|
1957
|
+
},
|
|
1958
|
+
{
|
|
1959
|
+
"kind": "javascript-module",
|
|
1960
|
+
"path": "src/utils/schema-utils.ts",
|
|
1961
|
+
"declarations": [],
|
|
1962
|
+
"exports": []
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
"kind": "javascript-module",
|
|
1966
|
+
"path": "src/utils/translation.ts",
|
|
1967
|
+
"declarations": [],
|
|
1968
|
+
"exports": []
|
|
1969
|
+
},
|
|
1970
|
+
{
|
|
1971
|
+
"kind": "javascript-module",
|
|
1972
|
+
"path": "src/utils/types.ts",
|
|
1811
1973
|
"declarations": [],
|
|
1812
|
-
"exports": [
|
|
1813
|
-
{
|
|
1814
|
-
"kind": "js",
|
|
1815
|
-
"name": "*",
|
|
1816
|
-
"declaration": {
|
|
1817
|
-
"name": "*",
|
|
1818
|
-
"package": "./filters"
|
|
1819
|
-
}
|
|
1820
|
-
}
|
|
1821
|
-
]
|
|
1974
|
+
"exports": []
|
|
1822
1975
|
},
|
|
1823
1976
|
{
|
|
1824
1977
|
"kind": "javascript-module",
|
|
1825
|
-
"path": "src/
|
|
1978
|
+
"path": "src/utils/validation.ts",
|
|
1826
1979
|
"declarations": [
|
|
1827
1980
|
{
|
|
1828
|
-
"kind": "
|
|
1829
|
-
"
|
|
1830
|
-
"
|
|
1831
|
-
"members": [
|
|
1981
|
+
"kind": "function",
|
|
1982
|
+
"name": "mustMatch",
|
|
1983
|
+
"parameters": [
|
|
1832
1984
|
{
|
|
1833
|
-
"
|
|
1834
|
-
"name": "_submitted",
|
|
1985
|
+
"name": "target",
|
|
1835
1986
|
"type": {
|
|
1836
|
-
"text": "
|
|
1987
|
+
"text": "string"
|
|
1837
1988
|
},
|
|
1838
|
-
"
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
"
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
"
|
|
1855
|
-
}
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
"name": "jsonforms"
|
|
1859
|
-
},
|
|
1860
|
-
{
|
|
1861
|
-
"kind": "field",
|
|
1862
|
-
"name": "i18n"
|
|
1863
|
-
},
|
|
1864
|
-
{
|
|
1865
|
-
"kind": "field",
|
|
1866
|
-
"name": "uichemaToUse"
|
|
1867
|
-
},
|
|
1868
|
-
{
|
|
1869
|
-
"kind": "field",
|
|
1870
|
-
"name": "schema"
|
|
1871
|
-
},
|
|
1872
|
-
{
|
|
1873
|
-
"kind": "method",
|
|
1874
|
-
"name": "schemaChanged"
|
|
1875
|
-
},
|
|
1876
|
-
{
|
|
1877
|
-
"kind": "field",
|
|
1878
|
-
"name": "uischema",
|
|
1879
|
-
"type": {
|
|
1880
|
-
"text": "UISchemaElement"
|
|
1881
|
-
}
|
|
1882
|
-
},
|
|
1883
|
-
{
|
|
1884
|
-
"kind": "method",
|
|
1885
|
-
"name": "uischemaChanged"
|
|
1886
|
-
},
|
|
1887
|
-
{
|
|
1888
|
-
"kind": "field",
|
|
1889
|
-
"name": "data"
|
|
1890
|
-
},
|
|
1891
|
-
{
|
|
1892
|
-
"kind": "method",
|
|
1893
|
-
"name": "dataChanged"
|
|
1894
|
-
},
|
|
1895
|
-
{
|
|
1896
|
-
"kind": "field",
|
|
1897
|
-
"name": "renderers",
|
|
1898
|
-
"type": {
|
|
1899
|
-
"text": "JsonFormsRendererRegistryEntry[]"
|
|
1900
|
-
}
|
|
1901
|
-
},
|
|
1902
|
-
{
|
|
1903
|
-
"kind": "method",
|
|
1904
|
-
"name": "renderersChanged"
|
|
1905
|
-
},
|
|
1906
|
-
{
|
|
1907
|
-
"kind": "field",
|
|
1908
|
-
"name": "validationMode",
|
|
1909
|
-
"type": {
|
|
1910
|
-
"text": "ValidationMode"
|
|
1911
|
-
}
|
|
1912
|
-
},
|
|
1913
|
-
{
|
|
1914
|
-
"kind": "method",
|
|
1915
|
-
"name": "validationModeChanged"
|
|
1916
|
-
},
|
|
1917
|
-
{
|
|
1918
|
-
"kind": "field",
|
|
1919
|
-
"name": "ajv",
|
|
1920
|
-
"type": {
|
|
1921
|
-
"text": "Ajv"
|
|
1922
|
-
}
|
|
1923
|
-
},
|
|
1924
|
-
{
|
|
1925
|
-
"kind": "method",
|
|
1926
|
-
"name": "ajvChanged"
|
|
1927
|
-
},
|
|
1989
|
+
"description": "any other field"
|
|
1990
|
+
}
|
|
1991
|
+
],
|
|
1992
|
+
"description": "Ensures the value of the current field (the one the validator is on) matches the one of the target field.",
|
|
1993
|
+
"return": {
|
|
1994
|
+
"type": {
|
|
1995
|
+
"text": ""
|
|
1996
|
+
}
|
|
1997
|
+
},
|
|
1998
|
+
"privacy": "public"
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"kind": "function",
|
|
2002
|
+
"name": "getAnyOfErrorMessage",
|
|
2003
|
+
"return": {
|
|
2004
|
+
"type": {
|
|
2005
|
+
"text": "string"
|
|
2006
|
+
}
|
|
2007
|
+
},
|
|
2008
|
+
"parameters": [
|
|
1928
2009
|
{
|
|
1929
|
-
"
|
|
1930
|
-
"name": "readonly",
|
|
2010
|
+
"name": "errors",
|
|
1931
2011
|
"type": {
|
|
1932
|
-
"text": "
|
|
2012
|
+
"text": "Array<any> | undefined"
|
|
1933
2013
|
}
|
|
1934
2014
|
},
|
|
1935
2015
|
{
|
|
1936
|
-
"
|
|
1937
|
-
"name": "readonlyChanged"
|
|
1938
|
-
},
|
|
1939
|
-
{
|
|
1940
|
-
"kind": "field",
|
|
1941
|
-
"name": "config",
|
|
2016
|
+
"name": "schema",
|
|
1942
2017
|
"type": {
|
|
1943
2018
|
"text": "any"
|
|
1944
2019
|
}
|
|
1945
2020
|
},
|
|
1946
2021
|
{
|
|
1947
|
-
"
|
|
1948
|
-
"name": "configChanged"
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
"kind": "field",
|
|
1952
|
-
"name": "rowSubmitStatuses",
|
|
1953
|
-
"type": {
|
|
1954
|
-
"text": "Map<number, BulkRowStatus>"
|
|
1955
|
-
},
|
|
1956
|
-
"default": "new Map()",
|
|
1957
|
-
"description": "Row submit statuses for bulk insert mode.\nPassed from the parent foundation-form."
|
|
1958
|
-
},
|
|
1959
|
-
{
|
|
1960
|
-
"kind": "method",
|
|
1961
|
-
"name": "rowSubmitStatusesChanged"
|
|
1962
|
-
},
|
|
1963
|
-
{
|
|
1964
|
-
"kind": "field",
|
|
1965
|
-
"name": "bulkInsert",
|
|
1966
|
-
"type": {
|
|
1967
|
-
"text": "boolean"
|
|
1968
|
-
},
|
|
1969
|
-
"default": "false",
|
|
1970
|
-
"description": "Whether the form is in bulk insert mode.\nPassed from the parent foundation-form."
|
|
1971
|
-
},
|
|
1972
|
-
{
|
|
1973
|
-
"kind": "method",
|
|
1974
|
-
"name": "bulkInsertChanged"
|
|
1975
|
-
},
|
|
1976
|
-
{
|
|
1977
|
-
"kind": "field",
|
|
1978
|
-
"name": "props",
|
|
2022
|
+
"name": "controlPath",
|
|
1979
2023
|
"type": {
|
|
1980
|
-
"text": "
|
|
1981
|
-
},
|
|
1982
|
-
"readonly": true
|
|
1983
|
-
},
|
|
1984
|
-
{
|
|
1985
|
-
"kind": "field",
|
|
1986
|
-
"name": "dispatch"
|
|
1987
|
-
},
|
|
1988
|
-
{
|
|
1989
|
-
"kind": "field",
|
|
1990
|
-
"name": "validate",
|
|
1991
|
-
"description": "Performs client-side validation by running the validator defined in the UI schema.",
|
|
1992
|
-
"parameters": [
|
|
1993
|
-
{
|
|
1994
|
-
"description": "the UI schema",
|
|
1995
|
-
"name": "uischema"
|
|
1996
|
-
},
|
|
1997
|
-
{
|
|
1998
|
-
"description": "the data to validate against (defaults to the current core data)",
|
|
1999
|
-
"name": "data"
|
|
2000
|
-
}
|
|
2001
|
-
],
|
|
2002
|
-
"return": {
|
|
2003
|
-
"type": {
|
|
2004
|
-
"text": ""
|
|
2005
|
-
}
|
|
2024
|
+
"text": "string | undefined"
|
|
2006
2025
|
}
|
|
2007
2026
|
},
|
|
2008
2027
|
{
|
|
2009
|
-
"
|
|
2010
|
-
"
|
|
2011
|
-
}
|
|
2012
|
-
],
|
|
2013
|
-
"events": [
|
|
2014
|
-
{
|
|
2015
|
-
"description": "Bubbles from nested dispatch-renderer when a control emits change (e.g. multiselect)",
|
|
2016
|
-
"name": "change"
|
|
2017
|
-
},
|
|
2018
|
-
{
|
|
2019
|
-
"description": "Fired when bound form data changes",
|
|
2020
|
-
"name": "data-change"
|
|
2021
|
-
}
|
|
2022
|
-
],
|
|
2023
|
-
"attributes": [
|
|
2024
|
-
{
|
|
2028
|
+
"name": "uiCustomMsg",
|
|
2029
|
+
"optional": true,
|
|
2025
2030
|
"type": {
|
|
2026
|
-
"text": "
|
|
2027
|
-
}
|
|
2028
|
-
"fieldName": "readonly"
|
|
2031
|
+
"text": "string"
|
|
2032
|
+
}
|
|
2029
2033
|
}
|
|
2030
2034
|
],
|
|
2031
|
-
"
|
|
2032
|
-
|
|
2033
|
-
"package": "@microsoft/fast-element"
|
|
2034
|
-
},
|
|
2035
|
-
"tagName": "json-forms",
|
|
2036
|
-
"customElement": true
|
|
2035
|
+
"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.",
|
|
2036
|
+
"privacy": "public"
|
|
2037
2037
|
}
|
|
2038
2038
|
],
|
|
2039
2039
|
"exports": [
|
|
2040
2040
|
{
|
|
2041
2041
|
"kind": "js",
|
|
2042
|
-
"name": "
|
|
2042
|
+
"name": "mustMatch",
|
|
2043
2043
|
"declaration": {
|
|
2044
|
-
"name": "
|
|
2045
|
-
"module": "src/
|
|
2044
|
+
"name": "mustMatch",
|
|
2045
|
+
"module": "src/utils/validation.ts"
|
|
2046
2046
|
}
|
|
2047
2047
|
},
|
|
2048
2048
|
{
|
|
2049
|
-
"kind": "
|
|
2050
|
-
"name": "
|
|
2049
|
+
"kind": "js",
|
|
2050
|
+
"name": "getAnyOfErrorMessage",
|
|
2051
2051
|
"declaration": {
|
|
2052
|
-
"name": "
|
|
2053
|
-
"module": "src/
|
|
2052
|
+
"name": "getAnyOfErrorMessage",
|
|
2053
|
+
"module": "src/utils/validation.ts"
|
|
2054
2054
|
}
|
|
2055
2055
|
}
|
|
2056
2056
|
]
|