@genesislcap/foundation-ui 15.23.3 → 15.24.0-FUI-2603.10
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 +1455 -1455
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +18 -18
|
@@ -958,27 +958,44 @@
|
|
|
958
958
|
},
|
|
959
959
|
{
|
|
960
960
|
"kind": "javascript-module",
|
|
961
|
-
"path": "src/
|
|
961
|
+
"path": "src/_common/affix-mixin.ts",
|
|
962
962
|
"declarations": [
|
|
963
963
|
{
|
|
964
|
-
"kind": "
|
|
965
|
-
"
|
|
966
|
-
"
|
|
967
|
-
|
|
968
|
-
"text": "ElementStyles"
|
|
969
|
-
}
|
|
970
|
-
},
|
|
971
|
-
"parameters": [
|
|
964
|
+
"kind": "mixin",
|
|
965
|
+
"description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
|
|
966
|
+
"name": "AffixMixin",
|
|
967
|
+
"members": [
|
|
972
968
|
{
|
|
973
|
-
"
|
|
969
|
+
"kind": "field",
|
|
970
|
+
"name": "prefix",
|
|
974
971
|
"type": {
|
|
975
|
-
"text": "
|
|
976
|
-
}
|
|
972
|
+
"text": "string"
|
|
973
|
+
},
|
|
974
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
977
975
|
},
|
|
978
976
|
{
|
|
979
|
-
"
|
|
977
|
+
"kind": "field",
|
|
978
|
+
"name": "suffix",
|
|
980
979
|
"type": {
|
|
981
|
-
"text": "
|
|
980
|
+
"text": "string"
|
|
981
|
+
},
|
|
982
|
+
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"kind": "field",
|
|
986
|
+
"name": "hideAffixFromScreenReader",
|
|
987
|
+
"type": {
|
|
988
|
+
"text": "boolean"
|
|
989
|
+
},
|
|
990
|
+
"default": "false",
|
|
991
|
+
"description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
|
|
992
|
+
}
|
|
993
|
+
],
|
|
994
|
+
"parameters": [
|
|
995
|
+
{
|
|
996
|
+
"name": "Base",
|
|
997
|
+
"type": {
|
|
998
|
+
"text": "TBase"
|
|
982
999
|
}
|
|
983
1000
|
}
|
|
984
1001
|
]
|
|
@@ -987,157 +1004,233 @@
|
|
|
987
1004
|
"exports": [
|
|
988
1005
|
{
|
|
989
1006
|
"kind": "js",
|
|
990
|
-
"name": "
|
|
1007
|
+
"name": "AffixMixin",
|
|
991
1008
|
"declaration": {
|
|
992
|
-
"name": "
|
|
993
|
-
"module": "src/
|
|
1009
|
+
"name": "AffixMixin",
|
|
1010
|
+
"module": "src/_common/affix-mixin.ts"
|
|
994
1011
|
}
|
|
995
1012
|
}
|
|
996
1013
|
]
|
|
997
1014
|
},
|
|
998
1015
|
{
|
|
999
1016
|
"kind": "javascript-module",
|
|
1000
|
-
"path": "src/
|
|
1017
|
+
"path": "src/_common/alert-flash-clock.ts",
|
|
1001
1018
|
"declarations": [
|
|
1019
|
+
{
|
|
1020
|
+
"kind": "variable",
|
|
1021
|
+
"name": "alertFlashPhaseProperty",
|
|
1022
|
+
"type": {
|
|
1023
|
+
"text": "string"
|
|
1024
|
+
},
|
|
1025
|
+
"default": "'--alert-flash-t'",
|
|
1026
|
+
"description": "Custom property carrying the shared alert flash phase, ramping 0 → 1 → 0.\n\nAlerting surfaces sample this rather than running animations of their own, because independent\nCSS animations start whenever their element started and drift apart. Registered as an\ninheritable `<number>` on the document, so it reaches into shadow trees — a grid row deep inside\na component's shadow DOM stays in step with a tab header in the light DOM.",
|
|
1027
|
+
"privacy": "public"
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"kind": "variable",
|
|
1031
|
+
"name": "alertFlashDurationProperty",
|
|
1032
|
+
"type": {
|
|
1033
|
+
"text": "string"
|
|
1034
|
+
},
|
|
1035
|
+
"default": "'--alert-flash-duration'",
|
|
1036
|
+
"description": "Custom property setting how long one flash cycle takes. Set it on `:root` to retime every\nalerting surface at once.",
|
|
1037
|
+
"privacy": "public"
|
|
1038
|
+
},
|
|
1002
1039
|
{
|
|
1003
1040
|
"kind": "function",
|
|
1004
|
-
"name": "
|
|
1041
|
+
"name": "installAlertFlashClock",
|
|
1005
1042
|
"return": {
|
|
1006
1043
|
"type": {
|
|
1007
|
-
"text": "
|
|
1044
|
+
"text": "void"
|
|
1008
1045
|
}
|
|
1009
1046
|
},
|
|
1010
|
-
"
|
|
1011
|
-
|
|
1012
|
-
"name": "context",
|
|
1013
|
-
"type": {
|
|
1014
|
-
"text": "ElementDefinitionContext"
|
|
1015
|
-
}
|
|
1016
|
-
},
|
|
1017
|
-
{
|
|
1018
|
-
"name": "definition",
|
|
1019
|
-
"type": {
|
|
1020
|
-
"text": "FoundationElementDefinition"
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
]
|
|
1047
|
+
"description": "Starts the document-level clock that alert flashes sample.\n\nSafe to call repeatedly and from any number of components — the first call does the work. Called\nautomatically by the components that flash, so apps only need this to start the clock earlier.\n\nDoes nothing where `CSS.registerProperty` or constructable stylesheets are unavailable, which\nleaves alerting surfaces on their static fallback colour rather than breaking them.",
|
|
1048
|
+
"privacy": "public"
|
|
1024
1049
|
}
|
|
1025
1050
|
],
|
|
1026
1051
|
"exports": [
|
|
1027
1052
|
{
|
|
1028
1053
|
"kind": "js",
|
|
1029
|
-
"name": "
|
|
1054
|
+
"name": "alertFlashPhaseProperty",
|
|
1030
1055
|
"declaration": {
|
|
1031
|
-
"name": "
|
|
1032
|
-
"module": "src/
|
|
1056
|
+
"name": "alertFlashPhaseProperty",
|
|
1057
|
+
"module": "src/_common/alert-flash-clock.ts"
|
|
1058
|
+
}
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"kind": "js",
|
|
1062
|
+
"name": "alertFlashDurationProperty",
|
|
1063
|
+
"declaration": {
|
|
1064
|
+
"name": "alertFlashDurationProperty",
|
|
1065
|
+
"module": "src/_common/alert-flash-clock.ts"
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
"kind": "js",
|
|
1070
|
+
"name": "installAlertFlashClock",
|
|
1071
|
+
"declaration": {
|
|
1072
|
+
"name": "installAlertFlashClock",
|
|
1073
|
+
"module": "src/_common/alert-flash-clock.ts"
|
|
1033
1074
|
}
|
|
1034
1075
|
}
|
|
1035
1076
|
]
|
|
1036
1077
|
},
|
|
1037
1078
|
{
|
|
1038
1079
|
"kind": "javascript-module",
|
|
1039
|
-
"path": "src/
|
|
1080
|
+
"path": "src/_common/base-file-component.ts",
|
|
1040
1081
|
"declarations": [
|
|
1041
1082
|
{
|
|
1042
1083
|
"kind": "class",
|
|
1043
|
-
"description": "",
|
|
1044
|
-
"name": "
|
|
1045
|
-
"
|
|
1046
|
-
"name": "FASTAccordionItem",
|
|
1047
|
-
"package": "@microsoft/fast-components"
|
|
1048
|
-
},
|
|
1049
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1050
|
-
"customElement": true,
|
|
1051
|
-
"attributes": [
|
|
1084
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
1085
|
+
"name": "BaseFileComponent",
|
|
1086
|
+
"members": [
|
|
1052
1087
|
{
|
|
1053
|
-
"
|
|
1088
|
+
"kind": "field",
|
|
1089
|
+
"name": "fileInput",
|
|
1054
1090
|
"type": {
|
|
1055
|
-
"text": "
|
|
1091
|
+
"text": "HTMLInputElement"
|
|
1056
1092
|
},
|
|
1057
|
-
"
|
|
1058
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1059
|
-
"fieldName": "headinglevel",
|
|
1060
|
-
"inheritedFrom": {
|
|
1061
|
-
"name": "AccordionItem",
|
|
1062
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1063
|
-
}
|
|
1093
|
+
"privacy": "public"
|
|
1064
1094
|
},
|
|
1065
1095
|
{
|
|
1096
|
+
"kind": "field",
|
|
1097
|
+
"name": "selectedFile",
|
|
1066
1098
|
"type": {
|
|
1067
|
-
"text": "
|
|
1099
|
+
"text": "File | null"
|
|
1068
1100
|
},
|
|
1069
|
-
"
|
|
1070
|
-
"
|
|
1071
|
-
"fieldName": "expanded",
|
|
1072
|
-
"inheritedFrom": {
|
|
1073
|
-
"name": "AccordionItem",
|
|
1074
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1075
|
-
}
|
|
1101
|
+
"privacy": "protected",
|
|
1102
|
+
"default": "null"
|
|
1076
1103
|
},
|
|
1077
1104
|
{
|
|
1078
|
-
"
|
|
1105
|
+
"kind": "field",
|
|
1106
|
+
"name": "label",
|
|
1079
1107
|
"type": {
|
|
1080
1108
|
"text": "string"
|
|
1081
|
-
},
|
|
1082
|
-
"description": "The item ID",
|
|
1083
|
-
"fieldName": "id",
|
|
1084
|
-
"inheritedFrom": {
|
|
1085
|
-
"name": "AccordionItem",
|
|
1086
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1087
1109
|
}
|
|
1088
|
-
}
|
|
1089
|
-
],
|
|
1090
|
-
"members": [
|
|
1110
|
+
},
|
|
1091
1111
|
{
|
|
1092
1112
|
"kind": "field",
|
|
1093
|
-
"name": "
|
|
1113
|
+
"name": "accept",
|
|
1094
1114
|
"type": {
|
|
1095
|
-
"text": "
|
|
1115
|
+
"text": "string"
|
|
1096
1116
|
},
|
|
1097
|
-
"
|
|
1098
|
-
"default": "2",
|
|
1099
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1100
|
-
"inheritedFrom": {
|
|
1101
|
-
"name": "AccordionItem",
|
|
1102
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1103
|
-
}
|
|
1117
|
+
"default": "''"
|
|
1104
1118
|
},
|
|
1105
1119
|
{
|
|
1106
1120
|
"kind": "field",
|
|
1107
|
-
"name": "
|
|
1121
|
+
"name": "fileSizeLimitBytes",
|
|
1122
|
+
"default": "10_485_760",
|
|
1108
1123
|
"type": {
|
|
1109
|
-
"text": "
|
|
1110
|
-
},
|
|
1111
|
-
"privacy": "public",
|
|
1112
|
-
"default": "false",
|
|
1113
|
-
"description": "Expands or collapses the item.",
|
|
1114
|
-
"inheritedFrom": {
|
|
1115
|
-
"name": "AccordionItem",
|
|
1116
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1124
|
+
"text": "number"
|
|
1117
1125
|
}
|
|
1118
1126
|
},
|
|
1119
1127
|
{
|
|
1120
1128
|
"kind": "field",
|
|
1121
|
-
"name": "
|
|
1129
|
+
"name": "fileName",
|
|
1122
1130
|
"type": {
|
|
1123
1131
|
"text": "string"
|
|
1124
1132
|
},
|
|
1125
|
-
"
|
|
1126
|
-
"description": "The item ID",
|
|
1127
|
-
"inheritedFrom": {
|
|
1128
|
-
"name": "AccordionItem",
|
|
1129
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1130
|
-
}
|
|
1133
|
+
"default": "''"
|
|
1131
1134
|
},
|
|
1132
1135
|
{
|
|
1133
1136
|
"kind": "field",
|
|
1134
|
-
"name": "
|
|
1135
|
-
"
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1137
|
+
"name": "isProcessing",
|
|
1138
|
+
"type": {
|
|
1139
|
+
"text": "boolean"
|
|
1140
|
+
},
|
|
1141
|
+
"default": "false"
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"kind": "method",
|
|
1145
|
+
"name": "handleClick",
|
|
1146
|
+
"privacy": "public",
|
|
1147
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"kind": "method",
|
|
1151
|
+
"name": "onInputChange",
|
|
1152
|
+
"privacy": "public",
|
|
1153
|
+
"parameters": [
|
|
1154
|
+
{
|
|
1155
|
+
"name": "e",
|
|
1156
|
+
"type": {
|
|
1157
|
+
"text": "Event"
|
|
1158
|
+
},
|
|
1159
|
+
"description": "The change event from the file input"
|
|
1160
|
+
}
|
|
1161
|
+
],
|
|
1162
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
"kind": "method",
|
|
1166
|
+
"name": "clearSelection",
|
|
1167
|
+
"privacy": "public",
|
|
1168
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"kind": "method",
|
|
1172
|
+
"name": "getSelectedFile",
|
|
1173
|
+
"privacy": "public",
|
|
1174
|
+
"description": "Gets the currently selected file object",
|
|
1175
|
+
"return": {
|
|
1176
|
+
"type": {
|
|
1177
|
+
"text": ""
|
|
1178
|
+
}
|
|
1139
1179
|
}
|
|
1140
1180
|
},
|
|
1181
|
+
{
|
|
1182
|
+
"kind": "method",
|
|
1183
|
+
"name": "showError",
|
|
1184
|
+
"privacy": "protected",
|
|
1185
|
+
"parameters": [
|
|
1186
|
+
{
|
|
1187
|
+
"name": "title",
|
|
1188
|
+
"type": {
|
|
1189
|
+
"text": "string"
|
|
1190
|
+
},
|
|
1191
|
+
"description": "The error title"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"name": "message",
|
|
1195
|
+
"type": {
|
|
1196
|
+
"text": "string"
|
|
1197
|
+
},
|
|
1198
|
+
"description": "The error message"
|
|
1199
|
+
}
|
|
1200
|
+
],
|
|
1201
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
1202
|
+
},
|
|
1203
|
+
{
|
|
1204
|
+
"kind": "method",
|
|
1205
|
+
"name": "onFileSelected",
|
|
1206
|
+
"privacy": "protected",
|
|
1207
|
+
"return": {
|
|
1208
|
+
"type": {
|
|
1209
|
+
"text": "void"
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1212
|
+
"parameters": [
|
|
1213
|
+
{
|
|
1214
|
+
"name": "files",
|
|
1215
|
+
"type": {
|
|
1216
|
+
"text": "File[]"
|
|
1217
|
+
},
|
|
1218
|
+
"description": "The selected file"
|
|
1219
|
+
}
|
|
1220
|
+
],
|
|
1221
|
+
"description": "Abstract method called when a file is selected"
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"kind": "method",
|
|
1225
|
+
"name": "onFileCleared",
|
|
1226
|
+
"privacy": "protected",
|
|
1227
|
+
"return": {
|
|
1228
|
+
"type": {
|
|
1229
|
+
"text": "void"
|
|
1230
|
+
}
|
|
1231
|
+
},
|
|
1232
|
+
"description": "Abstract method called when file selection is cleared"
|
|
1233
|
+
},
|
|
1141
1234
|
{
|
|
1142
1235
|
"kind": "field",
|
|
1143
1236
|
"name": "_presentation",
|
|
@@ -1252,76 +1345,157 @@
|
|
|
1252
1345
|
],
|
|
1253
1346
|
"events": [
|
|
1254
1347
|
{
|
|
1255
|
-
"description": "
|
|
1256
|
-
"name": "
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1348
|
+
"description": "Fired when file size validation fails. detail: `Error`",
|
|
1349
|
+
"name": "error"
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
"description": "Fired when selection is cleared",
|
|
1353
|
+
"name": "clear"
|
|
1261
1354
|
}
|
|
1262
|
-
]
|
|
1263
|
-
|
|
1355
|
+
],
|
|
1356
|
+
"attributes": [
|
|
1357
|
+
{
|
|
1358
|
+
"name": "label",
|
|
1359
|
+
"type": {
|
|
1360
|
+
"text": "string"
|
|
1361
|
+
},
|
|
1362
|
+
"fieldName": "label"
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
"name": "accept",
|
|
1366
|
+
"type": {
|
|
1367
|
+
"text": "string"
|
|
1368
|
+
},
|
|
1369
|
+
"default": "''",
|
|
1370
|
+
"fieldName": "accept"
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"name": "file-size-limit-bytes",
|
|
1374
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1375
|
+
"resolveInitializer": {
|
|
1376
|
+
"module": "src/_common/base-file-component.ts"
|
|
1377
|
+
},
|
|
1378
|
+
"fieldName": "fileSizeLimitBytes"
|
|
1379
|
+
}
|
|
1380
|
+
],
|
|
1381
|
+
"superclass": {
|
|
1382
|
+
"name": "FoundationElement",
|
|
1383
|
+
"package": "@microsoft/fast-foundation"
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
],
|
|
1387
|
+
"exports": [
|
|
1264
1388
|
{
|
|
1265
|
-
"kind": "
|
|
1266
|
-
"name": "
|
|
1267
|
-
"
|
|
1268
|
-
"
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
}
|
|
1389
|
+
"kind": "js",
|
|
1390
|
+
"name": "BaseFileComponent",
|
|
1391
|
+
"declaration": {
|
|
1392
|
+
"name": "BaseFileComponent",
|
|
1393
|
+
"module": "src/_common/base-file-component.ts"
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
]
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"kind": "javascript-module",
|
|
1400
|
+
"path": "src/_common/field-styles.ts",
|
|
1401
|
+
"declarations": [
|
|
1272
1402
|
{
|
|
1273
1403
|
"kind": "variable",
|
|
1274
|
-
"name": "
|
|
1275
|
-
"
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
},
|
|
1404
|
+
"name": "sharedFieldStyles",
|
|
1405
|
+
"default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
|
|
1406
|
+
}
|
|
1407
|
+
],
|
|
1408
|
+
"exports": [
|
|
1280
1409
|
{
|
|
1281
|
-
"kind": "
|
|
1282
|
-
"name": "
|
|
1283
|
-
"
|
|
1284
|
-
|
|
1410
|
+
"kind": "js",
|
|
1411
|
+
"name": "sharedFieldStyles",
|
|
1412
|
+
"declaration": {
|
|
1413
|
+
"name": "sharedFieldStyles",
|
|
1414
|
+
"module": "src/_common/field-styles.ts"
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
]
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"kind": "javascript-module",
|
|
1421
|
+
"path": "src/_common/icons.ts",
|
|
1422
|
+
"declarations": [
|
|
1423
|
+
{
|
|
1424
|
+
"kind": "function",
|
|
1425
|
+
"name": "closeIcon",
|
|
1426
|
+
"parameters": [
|
|
1427
|
+
{
|
|
1428
|
+
"name": "slot",
|
|
1429
|
+
"default": "'start'"
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
"name": "fill",
|
|
1433
|
+
"default": "'#879ba6'"
|
|
1434
|
+
}
|
|
1435
|
+
]
|
|
1285
1436
|
}
|
|
1286
1437
|
],
|
|
1287
1438
|
"exports": [
|
|
1288
1439
|
{
|
|
1289
1440
|
"kind": "js",
|
|
1290
|
-
"name": "
|
|
1441
|
+
"name": "closeIcon",
|
|
1291
1442
|
"declaration": {
|
|
1292
|
-
"name": "
|
|
1293
|
-
"module": "src/
|
|
1443
|
+
"name": "closeIcon",
|
|
1444
|
+
"module": "src/_common/icons.ts"
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
]
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
"kind": "javascript-module",
|
|
1451
|
+
"path": "src/_common/index.ts",
|
|
1452
|
+
"declarations": [],
|
|
1453
|
+
"exports": [
|
|
1454
|
+
{
|
|
1455
|
+
"kind": "js",
|
|
1456
|
+
"name": "*",
|
|
1457
|
+
"declaration": {
|
|
1458
|
+
"name": "*",
|
|
1459
|
+
"package": "./affix-mixin"
|
|
1294
1460
|
}
|
|
1295
1461
|
},
|
|
1296
1462
|
{
|
|
1297
1463
|
"kind": "js",
|
|
1298
|
-
"name": "
|
|
1464
|
+
"name": "*",
|
|
1299
1465
|
"declaration": {
|
|
1300
|
-
"name": "
|
|
1301
|
-
"
|
|
1466
|
+
"name": "*",
|
|
1467
|
+
"package": "./alert-flash-clock"
|
|
1302
1468
|
}
|
|
1303
1469
|
},
|
|
1304
1470
|
{
|
|
1305
1471
|
"kind": "js",
|
|
1306
|
-
"name": "
|
|
1472
|
+
"name": "*",
|
|
1307
1473
|
"declaration": {
|
|
1308
|
-
"name": "
|
|
1309
|
-
"
|
|
1474
|
+
"name": "*",
|
|
1475
|
+
"package": "./base-file-component"
|
|
1310
1476
|
}
|
|
1311
1477
|
},
|
|
1312
1478
|
{
|
|
1313
1479
|
"kind": "js",
|
|
1314
|
-
"name": "
|
|
1480
|
+
"name": "*",
|
|
1315
1481
|
"declaration": {
|
|
1316
|
-
"name": "
|
|
1317
|
-
"
|
|
1482
|
+
"name": "*",
|
|
1483
|
+
"package": "./field-styles"
|
|
1484
|
+
}
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"kind": "js",
|
|
1488
|
+
"name": "*",
|
|
1489
|
+
"declaration": {
|
|
1490
|
+
"name": "*",
|
|
1491
|
+
"package": "./icons"
|
|
1318
1492
|
}
|
|
1319
1493
|
}
|
|
1320
1494
|
]
|
|
1321
1495
|
},
|
|
1322
1496
|
{
|
|
1323
1497
|
"kind": "javascript-module",
|
|
1324
|
-
"path": "src/
|
|
1498
|
+
"path": "src/_config/index.ts",
|
|
1325
1499
|
"declarations": [],
|
|
1326
1500
|
"exports": [
|
|
1327
1501
|
{
|
|
@@ -1329,7 +1503,7 @@
|
|
|
1329
1503
|
"name": "*",
|
|
1330
1504
|
"declaration": {
|
|
1331
1505
|
"name": "*",
|
|
1332
|
-
"package": "./
|
|
1506
|
+
"package": "./styles"
|
|
1333
1507
|
}
|
|
1334
1508
|
},
|
|
1335
1509
|
{
|
|
@@ -1337,7 +1511,7 @@
|
|
|
1337
1511
|
"name": "*",
|
|
1338
1512
|
"declaration": {
|
|
1339
1513
|
"name": "*",
|
|
1340
|
-
"package": "./
|
|
1514
|
+
"package": "./tokens"
|
|
1341
1515
|
}
|
|
1342
1516
|
},
|
|
1343
1517
|
{
|
|
@@ -1345,18 +1519,18 @@
|
|
|
1345
1519
|
"name": "*",
|
|
1346
1520
|
"declaration": {
|
|
1347
1521
|
"name": "*",
|
|
1348
|
-
"package": "./
|
|
1522
|
+
"package": "./values"
|
|
1349
1523
|
}
|
|
1350
1524
|
}
|
|
1351
1525
|
]
|
|
1352
1526
|
},
|
|
1353
1527
|
{
|
|
1354
1528
|
"kind": "javascript-module",
|
|
1355
|
-
"path": "src/
|
|
1529
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1356
1530
|
"declarations": [
|
|
1357
1531
|
{
|
|
1358
1532
|
"kind": "function",
|
|
1359
|
-
"name": "
|
|
1533
|
+
"name": "foundationAccordionItemStyles",
|
|
1360
1534
|
"return": {
|
|
1361
1535
|
"type": {
|
|
1362
1536
|
"text": "ElementStyles"
|
|
@@ -1376,13 +1550,29 @@
|
|
|
1376
1550
|
}
|
|
1377
1551
|
}
|
|
1378
1552
|
]
|
|
1379
|
-
}
|
|
1553
|
+
}
|
|
1554
|
+
],
|
|
1555
|
+
"exports": [
|
|
1556
|
+
{
|
|
1557
|
+
"kind": "js",
|
|
1558
|
+
"name": "foundationAccordionItemStyles",
|
|
1559
|
+
"declaration": {
|
|
1560
|
+
"name": "foundationAccordionItemStyles",
|
|
1561
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
]
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
"kind": "javascript-module",
|
|
1568
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1569
|
+
"declarations": [
|
|
1380
1570
|
{
|
|
1381
1571
|
"kind": "function",
|
|
1382
|
-
"name": "
|
|
1572
|
+
"name": "foundationAccordionItemTemplate",
|
|
1383
1573
|
"return": {
|
|
1384
1574
|
"type": {
|
|
1385
|
-
"text": "
|
|
1575
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1386
1576
|
}
|
|
1387
1577
|
},
|
|
1388
1578
|
"parameters": [
|
|
@@ -1404,282 +1594,118 @@
|
|
|
1404
1594
|
"exports": [
|
|
1405
1595
|
{
|
|
1406
1596
|
"kind": "js",
|
|
1407
|
-
"name": "
|
|
1408
|
-
"declaration": {
|
|
1409
|
-
"name": "actionsMenuBaseStyles",
|
|
1410
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1411
|
-
}
|
|
1412
|
-
},
|
|
1413
|
-
{
|
|
1414
|
-
"kind": "js",
|
|
1415
|
-
"name": "foundationActionsMenuStyles",
|
|
1597
|
+
"name": "foundationAccordionItemTemplate",
|
|
1416
1598
|
"declaration": {
|
|
1417
|
-
"name": "
|
|
1418
|
-
"module": "src/
|
|
1599
|
+
"name": "foundationAccordionItemTemplate",
|
|
1600
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1419
1601
|
}
|
|
1420
1602
|
}
|
|
1421
1603
|
]
|
|
1422
1604
|
},
|
|
1423
1605
|
{
|
|
1424
1606
|
"kind": "javascript-module",
|
|
1425
|
-
"path": "src/
|
|
1426
|
-
"declarations": [
|
|
1427
|
-
{
|
|
1428
|
-
"kind": "function",
|
|
1429
|
-
"name": "menuTemplate",
|
|
1430
|
-
"parameters": [
|
|
1431
|
-
{
|
|
1432
|
-
"name": "prefix",
|
|
1433
|
-
"type": {
|
|
1434
|
-
"text": "string"
|
|
1435
|
-
}
|
|
1436
|
-
}
|
|
1437
|
-
]
|
|
1438
|
-
},
|
|
1439
|
-
{
|
|
1440
|
-
"kind": "function",
|
|
1441
|
-
"name": "singleOptionTemplate",
|
|
1442
|
-
"parameters": [
|
|
1443
|
-
{
|
|
1444
|
-
"name": "prefix",
|
|
1445
|
-
"type": {
|
|
1446
|
-
"text": "string"
|
|
1447
|
-
}
|
|
1448
|
-
}
|
|
1449
|
-
]
|
|
1450
|
-
},
|
|
1451
|
-
{
|
|
1452
|
-
"kind": "variable",
|
|
1453
|
-
"name": "foundationActionsMenuTemplate",
|
|
1454
|
-
"type": {
|
|
1455
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1456
|
-
},
|
|
1457
|
-
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1458
|
-
}
|
|
1459
|
-
],
|
|
1460
|
-
"exports": [
|
|
1461
|
-
{
|
|
1462
|
-
"kind": "js",
|
|
1463
|
-
"name": "menuTemplate",
|
|
1464
|
-
"declaration": {
|
|
1465
|
-
"name": "menuTemplate",
|
|
1466
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1467
|
-
}
|
|
1468
|
-
},
|
|
1469
|
-
{
|
|
1470
|
-
"kind": "js",
|
|
1471
|
-
"name": "singleOptionTemplate",
|
|
1472
|
-
"declaration": {
|
|
1473
|
-
"name": "singleOptionTemplate",
|
|
1474
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1475
|
-
}
|
|
1476
|
-
},
|
|
1477
|
-
{
|
|
1478
|
-
"kind": "js",
|
|
1479
|
-
"name": "foundationActionsMenuTemplate",
|
|
1480
|
-
"declaration": {
|
|
1481
|
-
"name": "foundationActionsMenuTemplate",
|
|
1482
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1483
|
-
}
|
|
1484
|
-
}
|
|
1485
|
-
]
|
|
1486
|
-
},
|
|
1487
|
-
{
|
|
1488
|
-
"kind": "javascript-module",
|
|
1489
|
-
"path": "src/actions-menu/actions-menu.ts",
|
|
1607
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1490
1608
|
"declarations": [
|
|
1491
1609
|
{
|
|
1492
1610
|
"kind": "class",
|
|
1493
1611
|
"description": "",
|
|
1494
|
-
"name": "
|
|
1495
|
-
"
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
},
|
|
1503
|
-
{
|
|
1504
|
-
"kind": "field",
|
|
1505
|
-
"name": "isVertical",
|
|
1506
|
-
"type": {
|
|
1507
|
-
"text": "boolean"
|
|
1508
|
-
},
|
|
1509
|
-
"default": "false"
|
|
1510
|
-
},
|
|
1612
|
+
"name": "AccordionItem",
|
|
1613
|
+
"superclass": {
|
|
1614
|
+
"name": "FASTAccordionItem",
|
|
1615
|
+
"package": "@microsoft/fast-components"
|
|
1616
|
+
},
|
|
1617
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1618
|
+
"customElement": true,
|
|
1619
|
+
"attributes": [
|
|
1511
1620
|
{
|
|
1512
|
-
"
|
|
1513
|
-
"name": "addDefaultActions",
|
|
1621
|
+
"name": "heading-level",
|
|
1514
1622
|
"type": {
|
|
1515
|
-
"text": "
|
|
1623
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1516
1624
|
},
|
|
1517
|
-
"default": "
|
|
1625
|
+
"default": "2",
|
|
1626
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1627
|
+
"fieldName": "headinglevel",
|
|
1628
|
+
"inheritedFrom": {
|
|
1629
|
+
"name": "AccordionItem",
|
|
1630
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1631
|
+
}
|
|
1518
1632
|
},
|
|
1519
1633
|
{
|
|
1520
|
-
"kind": "field",
|
|
1521
|
-
"name": "autoCloseOnAction",
|
|
1522
1634
|
"type": {
|
|
1523
1635
|
"text": "boolean"
|
|
1524
1636
|
},
|
|
1525
|
-
"default": "
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
"
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
"text": "string"
|
|
1532
|
-
}
|
|
1533
|
-
},
|
|
1534
|
-
{
|
|
1535
|
-
"kind": "field",
|
|
1536
|
-
"name": "definition",
|
|
1537
|
-
"type": {
|
|
1538
|
-
"text": "any"
|
|
1637
|
+
"default": "false",
|
|
1638
|
+
"description": "Expands or collapses the item.",
|
|
1639
|
+
"fieldName": "expanded",
|
|
1640
|
+
"inheritedFrom": {
|
|
1641
|
+
"name": "AccordionItem",
|
|
1642
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1539
1643
|
}
|
|
1540
1644
|
},
|
|
1541
1645
|
{
|
|
1542
|
-
"
|
|
1543
|
-
"name": "name",
|
|
1646
|
+
"name": "id",
|
|
1544
1647
|
"type": {
|
|
1545
1648
|
"text": "string"
|
|
1546
1649
|
},
|
|
1547
|
-
"
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
"type": {
|
|
1553
|
-
"text": "boolean"
|
|
1554
|
-
},
|
|
1555
|
-
"default": "false"
|
|
1556
|
-
},
|
|
1557
|
-
{
|
|
1558
|
-
"kind": "field",
|
|
1559
|
-
"name": "buttonAppearance",
|
|
1560
|
-
"type": {
|
|
1561
|
-
"text": "string"
|
|
1650
|
+
"description": "The item ID",
|
|
1651
|
+
"fieldName": "id",
|
|
1652
|
+
"inheritedFrom": {
|
|
1653
|
+
"name": "AccordionItem",
|
|
1654
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1562
1655
|
}
|
|
1563
|
-
}
|
|
1656
|
+
}
|
|
1657
|
+
],
|
|
1658
|
+
"members": [
|
|
1564
1659
|
{
|
|
1565
1660
|
"kind": "field",
|
|
1566
|
-
"name": "
|
|
1661
|
+
"name": "headinglevel",
|
|
1567
1662
|
"type": {
|
|
1568
|
-
"text": "
|
|
1663
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1569
1664
|
},
|
|
1570
|
-
"
|
|
1665
|
+
"privacy": "public",
|
|
1666
|
+
"default": "2",
|
|
1667
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1668
|
+
"inheritedFrom": {
|
|
1669
|
+
"name": "AccordionItem",
|
|
1670
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1671
|
+
}
|
|
1571
1672
|
},
|
|
1572
1673
|
{
|
|
1573
1674
|
"kind": "field",
|
|
1574
|
-
"name": "
|
|
1675
|
+
"name": "expanded",
|
|
1575
1676
|
"type": {
|
|
1576
1677
|
"text": "boolean"
|
|
1577
1678
|
},
|
|
1578
|
-
"
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
"
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
"text": "ActionMenuItem"
|
|
1679
|
+
"privacy": "public",
|
|
1680
|
+
"default": "false",
|
|
1681
|
+
"description": "Expands or collapses the item.",
|
|
1682
|
+
"inheritedFrom": {
|
|
1683
|
+
"name": "AccordionItem",
|
|
1684
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1585
1685
|
}
|
|
1586
1686
|
},
|
|
1587
1687
|
{
|
|
1588
1688
|
"kind": "field",
|
|
1589
|
-
"name": "
|
|
1689
|
+
"name": "id",
|
|
1590
1690
|
"type": {
|
|
1591
|
-
"text": "
|
|
1691
|
+
"text": "string"
|
|
1692
|
+
},
|
|
1693
|
+
"privacy": "public",
|
|
1694
|
+
"description": "The item ID",
|
|
1695
|
+
"inheritedFrom": {
|
|
1696
|
+
"name": "AccordionItem",
|
|
1697
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1592
1698
|
}
|
|
1593
1699
|
},
|
|
1594
1700
|
{
|
|
1595
1701
|
"kind": "field",
|
|
1596
|
-
"name": "
|
|
1597
|
-
"
|
|
1598
|
-
|
|
1702
|
+
"name": "change",
|
|
1703
|
+
"privacy": "private",
|
|
1704
|
+
"inheritedFrom": {
|
|
1705
|
+
"name": "AccordionItem",
|
|
1706
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1599
1707
|
}
|
|
1600
1708
|
},
|
|
1601
|
-
{
|
|
1602
|
-
"kind": "method",
|
|
1603
|
-
"name": "updateMenuPosition",
|
|
1604
|
-
"privacy": "private"
|
|
1605
|
-
},
|
|
1606
|
-
{
|
|
1607
|
-
"kind": "method",
|
|
1608
|
-
"name": "definitionChanged",
|
|
1609
|
-
"privacy": "protected",
|
|
1610
|
-
"parameters": [
|
|
1611
|
-
{
|
|
1612
|
-
"name": "oldValue",
|
|
1613
|
-
"type": {
|
|
1614
|
-
"text": "any"
|
|
1615
|
-
}
|
|
1616
|
-
},
|
|
1617
|
-
{
|
|
1618
|
-
"name": "newValue",
|
|
1619
|
-
"type": {
|
|
1620
|
-
"text": "any"
|
|
1621
|
-
}
|
|
1622
|
-
}
|
|
1623
|
-
]
|
|
1624
|
-
},
|
|
1625
|
-
{
|
|
1626
|
-
"kind": "method",
|
|
1627
|
-
"name": "openChanged",
|
|
1628
|
-
"privacy": "protected"
|
|
1629
|
-
},
|
|
1630
|
-
{
|
|
1631
|
-
"kind": "method",
|
|
1632
|
-
"name": "toggleActionsMenuVisibility"
|
|
1633
|
-
},
|
|
1634
|
-
{
|
|
1635
|
-
"kind": "method",
|
|
1636
|
-
"name": "onActionMenuItemClick",
|
|
1637
|
-
"parameters": [
|
|
1638
|
-
{
|
|
1639
|
-
"name": "callback",
|
|
1640
|
-
"type": {
|
|
1641
|
-
"text": "(rowData) => void | any"
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
]
|
|
1645
|
-
},
|
|
1646
|
-
{
|
|
1647
|
-
"kind": "field",
|
|
1648
|
-
"name": "allActions",
|
|
1649
|
-
"type": {
|
|
1650
|
-
"text": "ActionMenuItem[]"
|
|
1651
|
-
},
|
|
1652
|
-
"readonly": true
|
|
1653
|
-
},
|
|
1654
|
-
{
|
|
1655
|
-
"kind": "field",
|
|
1656
|
-
"name": "rowData",
|
|
1657
|
-
"readonly": true
|
|
1658
|
-
},
|
|
1659
|
-
{
|
|
1660
|
-
"kind": "method",
|
|
1661
|
-
"name": "getLabel",
|
|
1662
|
-
"parameters": [
|
|
1663
|
-
{
|
|
1664
|
-
"name": "name",
|
|
1665
|
-
"type": {
|
|
1666
|
-
"text": "string | ((rowData: any) => string)"
|
|
1667
|
-
}
|
|
1668
|
-
}
|
|
1669
|
-
]
|
|
1670
|
-
},
|
|
1671
|
-
{
|
|
1672
|
-
"kind": "method",
|
|
1673
|
-
"name": "getTemplate",
|
|
1674
|
-
"parameters": [
|
|
1675
|
-
{
|
|
1676
|
-
"name": "prefix",
|
|
1677
|
-
"type": {
|
|
1678
|
-
"text": "string"
|
|
1679
|
-
}
|
|
1680
|
-
}
|
|
1681
|
-
]
|
|
1682
|
-
},
|
|
1683
1709
|
{
|
|
1684
1710
|
"kind": "field",
|
|
1685
1711
|
"name": "_presentation",
|
|
@@ -1792,107 +1818,78 @@
|
|
|
1792
1818
|
}
|
|
1793
1819
|
}
|
|
1794
1820
|
],
|
|
1795
|
-
"
|
|
1796
|
-
{
|
|
1797
|
-
"name": "is-vertical",
|
|
1798
|
-
"type": {
|
|
1799
|
-
"text": "boolean"
|
|
1800
|
-
},
|
|
1801
|
-
"default": "false",
|
|
1802
|
-
"fieldName": "isVertical"
|
|
1803
|
-
},
|
|
1804
|
-
{
|
|
1805
|
-
"name": "add-default-actions",
|
|
1806
|
-
"type": {
|
|
1807
|
-
"text": "boolean"
|
|
1808
|
-
},
|
|
1809
|
-
"default": "true",
|
|
1810
|
-
"fieldName": "addDefaultActions"
|
|
1811
|
-
},
|
|
1812
|
-
{
|
|
1813
|
-
"name": "auto-close-on-action",
|
|
1814
|
-
"type": {
|
|
1815
|
-
"text": "boolean"
|
|
1816
|
-
},
|
|
1817
|
-
"default": "true",
|
|
1818
|
-
"fieldName": "autoCloseOnAction"
|
|
1819
|
-
},
|
|
1820
|
-
{
|
|
1821
|
-
"name": "name",
|
|
1822
|
-
"type": {
|
|
1823
|
-
"text": "string"
|
|
1824
|
-
},
|
|
1825
|
-
"default": "'Actions'",
|
|
1826
|
-
"fieldName": "name"
|
|
1827
|
-
},
|
|
1828
|
-
{
|
|
1829
|
-
"name": "open",
|
|
1830
|
-
"type": {
|
|
1831
|
-
"text": "boolean"
|
|
1832
|
-
},
|
|
1833
|
-
"default": "false",
|
|
1834
|
-
"fieldName": "open"
|
|
1835
|
-
},
|
|
1836
|
-
{
|
|
1837
|
-
"name": "buttonAppearance",
|
|
1838
|
-
"type": {
|
|
1839
|
-
"text": "string"
|
|
1840
|
-
},
|
|
1841
|
-
"fieldName": "buttonAppearance"
|
|
1842
|
-
},
|
|
1843
|
-
{
|
|
1844
|
-
"name": "hide-disabled",
|
|
1845
|
-
"type": {
|
|
1846
|
-
"text": "boolean"
|
|
1847
|
-
},
|
|
1848
|
-
"default": "false",
|
|
1849
|
-
"fieldName": "hideDisabled"
|
|
1850
|
-
},
|
|
1821
|
+
"events": [
|
|
1851
1822
|
{
|
|
1852
|
-
"
|
|
1853
|
-
"
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1823
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1824
|
+
"name": "change",
|
|
1825
|
+
"inheritedFrom": {
|
|
1826
|
+
"name": "AccordionItem",
|
|
1827
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1828
|
+
}
|
|
1858
1829
|
}
|
|
1859
|
-
]
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1830
|
+
]
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"kind": "variable",
|
|
1834
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1835
|
+
"type": {
|
|
1836
|
+
"text": "ShadowRootInit"
|
|
1863
1837
|
},
|
|
1864
|
-
"
|
|
1865
|
-
"customElement": true
|
|
1838
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1866
1839
|
},
|
|
1867
1840
|
{
|
|
1868
1841
|
"kind": "variable",
|
|
1869
|
-
"name": "
|
|
1870
|
-
"
|
|
1842
|
+
"name": "defaultAccordionItemConfig",
|
|
1843
|
+
"type": {
|
|
1844
|
+
"text": "object"
|
|
1845
|
+
},
|
|
1846
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"kind": "variable",
|
|
1850
|
+
"name": "foundationAccordionItem",
|
|
1851
|
+
"description": "The Foundation Accordion Item",
|
|
1871
1852
|
"privacy": "public"
|
|
1872
1853
|
}
|
|
1873
1854
|
],
|
|
1874
1855
|
"exports": [
|
|
1875
1856
|
{
|
|
1876
1857
|
"kind": "js",
|
|
1877
|
-
"name": "
|
|
1858
|
+
"name": "AccordionItem",
|
|
1878
1859
|
"declaration": {
|
|
1879
|
-
"name": "
|
|
1880
|
-
"module": "src/
|
|
1860
|
+
"name": "AccordionItem",
|
|
1861
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1881
1862
|
}
|
|
1882
1863
|
},
|
|
1883
1864
|
{
|
|
1884
1865
|
"kind": "js",
|
|
1885
|
-
"name": "
|
|
1866
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1886
1867
|
"declaration": {
|
|
1887
|
-
"name": "
|
|
1888
|
-
"module": "src/
|
|
1868
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1869
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1870
|
+
}
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
"kind": "js",
|
|
1874
|
+
"name": "defaultAccordionItemConfig",
|
|
1875
|
+
"declaration": {
|
|
1876
|
+
"name": "defaultAccordionItemConfig",
|
|
1877
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
"kind": "js",
|
|
1882
|
+
"name": "foundationAccordionItem",
|
|
1883
|
+
"declaration": {
|
|
1884
|
+
"name": "foundationAccordionItem",
|
|
1885
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1889
1886
|
}
|
|
1890
1887
|
}
|
|
1891
1888
|
]
|
|
1892
1889
|
},
|
|
1893
1890
|
{
|
|
1894
1891
|
"kind": "javascript-module",
|
|
1895
|
-
"path": "src/
|
|
1892
|
+
"path": "src/accordion-item/index.ts",
|
|
1896
1893
|
"declarations": [],
|
|
1897
1894
|
"exports": [
|
|
1898
1895
|
{
|
|
@@ -1900,7 +1897,7 @@
|
|
|
1900
1897
|
"name": "*",
|
|
1901
1898
|
"declaration": {
|
|
1902
1899
|
"name": "*",
|
|
1903
|
-
"package": "./
|
|
1900
|
+
"package": "./accordion-item.template"
|
|
1904
1901
|
}
|
|
1905
1902
|
},
|
|
1906
1903
|
{
|
|
@@ -1908,7 +1905,7 @@
|
|
|
1908
1905
|
"name": "*",
|
|
1909
1906
|
"declaration": {
|
|
1910
1907
|
"name": "*",
|
|
1911
|
-
"package": "./
|
|
1908
|
+
"package": "./accordion-item.styles"
|
|
1912
1909
|
}
|
|
1913
1910
|
},
|
|
1914
1911
|
{
|
|
@@ -1916,51 +1913,34 @@
|
|
|
1916
1913
|
"name": "*",
|
|
1917
1914
|
"declaration": {
|
|
1918
1915
|
"name": "*",
|
|
1919
|
-
"package": "./
|
|
1916
|
+
"package": "./accordion-item"
|
|
1920
1917
|
}
|
|
1921
1918
|
}
|
|
1922
1919
|
]
|
|
1923
1920
|
},
|
|
1924
1921
|
{
|
|
1925
1922
|
"kind": "javascript-module",
|
|
1926
|
-
"path": "src/
|
|
1923
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1927
1924
|
"declarations": [
|
|
1928
1925
|
{
|
|
1929
|
-
"kind": "
|
|
1930
|
-
"
|
|
1931
|
-
"
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
"text": "string"
|
|
1938
|
-
},
|
|
1939
|
-
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
1940
|
-
},
|
|
1926
|
+
"kind": "function",
|
|
1927
|
+
"name": "foundationAccordionStyles",
|
|
1928
|
+
"return": {
|
|
1929
|
+
"type": {
|
|
1930
|
+
"text": "ElementStyles"
|
|
1931
|
+
}
|
|
1932
|
+
},
|
|
1933
|
+
"parameters": [
|
|
1941
1934
|
{
|
|
1942
|
-
"
|
|
1943
|
-
"name": "suffix",
|
|
1935
|
+
"name": "context",
|
|
1944
1936
|
"type": {
|
|
1945
|
-
"text": "
|
|
1946
|
-
}
|
|
1947
|
-
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
1937
|
+
"text": "ElementDefinitionContext"
|
|
1938
|
+
}
|
|
1948
1939
|
},
|
|
1949
1940
|
{
|
|
1950
|
-
"
|
|
1951
|
-
"name": "hideAffixFromScreenReader",
|
|
1952
|
-
"type": {
|
|
1953
|
-
"text": "boolean"
|
|
1954
|
-
},
|
|
1955
|
-
"default": "false",
|
|
1956
|
-
"description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
|
|
1957
|
-
}
|
|
1958
|
-
],
|
|
1959
|
-
"parameters": [
|
|
1960
|
-
{
|
|
1961
|
-
"name": "Base",
|
|
1941
|
+
"name": "definition",
|
|
1962
1942
|
"type": {
|
|
1963
|
-
"text": "
|
|
1943
|
+
"text": "FoundationElementDefinition"
|
|
1964
1944
|
}
|
|
1965
1945
|
}
|
|
1966
1946
|
]
|
|
@@ -1969,206 +1949,246 @@
|
|
|
1969
1949
|
"exports": [
|
|
1970
1950
|
{
|
|
1971
1951
|
"kind": "js",
|
|
1972
|
-
"name": "
|
|
1952
|
+
"name": "foundationAccordionStyles",
|
|
1973
1953
|
"declaration": {
|
|
1974
|
-
"name": "
|
|
1975
|
-
"module": "src/
|
|
1954
|
+
"name": "foundationAccordionStyles",
|
|
1955
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1976
1956
|
}
|
|
1977
1957
|
}
|
|
1978
1958
|
]
|
|
1979
1959
|
},
|
|
1980
1960
|
{
|
|
1981
1961
|
"kind": "javascript-module",
|
|
1982
|
-
"path": "src/
|
|
1962
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1983
1963
|
"declarations": [
|
|
1984
|
-
{
|
|
1985
|
-
"kind": "variable",
|
|
1986
|
-
"name": "alertFlashPhaseProperty",
|
|
1987
|
-
"type": {
|
|
1988
|
-
"text": "string"
|
|
1989
|
-
},
|
|
1990
|
-
"default": "'--alert-flash-t'",
|
|
1991
|
-
"description": "Custom property carrying the shared alert flash phase, ramping 0 → 1 → 0.\n\nAlerting surfaces sample this rather than running animations of their own, because independent\nCSS animations start whenever their element started and drift apart. Registered as an\ninheritable `<number>` on the document, so it reaches into shadow trees — a grid row deep inside\na component's shadow DOM stays in step with a tab header in the light DOM.",
|
|
1992
|
-
"privacy": "public"
|
|
1993
|
-
},
|
|
1994
|
-
{
|
|
1995
|
-
"kind": "variable",
|
|
1996
|
-
"name": "alertFlashDurationProperty",
|
|
1997
|
-
"type": {
|
|
1998
|
-
"text": "string"
|
|
1999
|
-
},
|
|
2000
|
-
"default": "'--alert-flash-duration'",
|
|
2001
|
-
"description": "Custom property setting how long one flash cycle takes. Set it on `:root` to retime every\nalerting surface at once.",
|
|
2002
|
-
"privacy": "public"
|
|
2003
|
-
},
|
|
2004
1964
|
{
|
|
2005
1965
|
"kind": "function",
|
|
2006
|
-
"name": "
|
|
1966
|
+
"name": "foundationAccordionTemplate",
|
|
2007
1967
|
"return": {
|
|
2008
1968
|
"type": {
|
|
2009
|
-
"text": "
|
|
1969
|
+
"text": "ViewTemplate<Accordion>"
|
|
2010
1970
|
}
|
|
2011
1971
|
},
|
|
2012
|
-
"
|
|
2013
|
-
|
|
1972
|
+
"parameters": [
|
|
1973
|
+
{
|
|
1974
|
+
"name": "context",
|
|
1975
|
+
"type": {
|
|
1976
|
+
"text": "ElementDefinitionContext"
|
|
1977
|
+
}
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
"name": "definition",
|
|
1981
|
+
"type": {
|
|
1982
|
+
"text": "FoundationElementDefinition"
|
|
1983
|
+
}
|
|
1984
|
+
}
|
|
1985
|
+
]
|
|
2014
1986
|
}
|
|
2015
1987
|
],
|
|
2016
1988
|
"exports": [
|
|
2017
1989
|
{
|
|
2018
1990
|
"kind": "js",
|
|
2019
|
-
"name": "
|
|
2020
|
-
"declaration": {
|
|
2021
|
-
"name": "alertFlashPhaseProperty",
|
|
2022
|
-
"module": "src/_common/alert-flash-clock.ts"
|
|
2023
|
-
}
|
|
2024
|
-
},
|
|
2025
|
-
{
|
|
2026
|
-
"kind": "js",
|
|
2027
|
-
"name": "alertFlashDurationProperty",
|
|
2028
|
-
"declaration": {
|
|
2029
|
-
"name": "alertFlashDurationProperty",
|
|
2030
|
-
"module": "src/_common/alert-flash-clock.ts"
|
|
2031
|
-
}
|
|
2032
|
-
},
|
|
2033
|
-
{
|
|
2034
|
-
"kind": "js",
|
|
2035
|
-
"name": "installAlertFlashClock",
|
|
1991
|
+
"name": "foundationAccordionTemplate",
|
|
2036
1992
|
"declaration": {
|
|
2037
|
-
"name": "
|
|
2038
|
-
"module": "src/
|
|
1993
|
+
"name": "foundationAccordionTemplate",
|
|
1994
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2039
1995
|
}
|
|
2040
1996
|
}
|
|
2041
1997
|
]
|
|
2042
1998
|
},
|
|
2043
1999
|
{
|
|
2044
2000
|
"kind": "javascript-module",
|
|
2045
|
-
"path": "src/
|
|
2001
|
+
"path": "src/accordion/accordion.ts",
|
|
2046
2002
|
"declarations": [
|
|
2047
2003
|
{
|
|
2048
2004
|
"kind": "class",
|
|
2049
|
-
"description": "
|
|
2050
|
-
"name": "
|
|
2005
|
+
"description": "",
|
|
2006
|
+
"name": "Accordion",
|
|
2007
|
+
"superclass": {
|
|
2008
|
+
"name": "FASTAccordion",
|
|
2009
|
+
"package": "@microsoft/fast-foundation"
|
|
2010
|
+
},
|
|
2011
|
+
"tagName": "%%prefix%%-accordion",
|
|
2012
|
+
"customElement": true,
|
|
2013
|
+
"attributes": [
|
|
2014
|
+
{
|
|
2015
|
+
"name": "expand-mode",
|
|
2016
|
+
"type": {
|
|
2017
|
+
"text": "AccordionExpandMode"
|
|
2018
|
+
},
|
|
2019
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2020
|
+
"fieldName": "expandmode",
|
|
2021
|
+
"inheritedFrom": {
|
|
2022
|
+
"name": "Accordion",
|
|
2023
|
+
"module": "src/accordion/accordion.ts"
|
|
2024
|
+
}
|
|
2025
|
+
}
|
|
2026
|
+
],
|
|
2051
2027
|
"members": [
|
|
2052
2028
|
{
|
|
2053
2029
|
"kind": "field",
|
|
2054
|
-
"name": "
|
|
2030
|
+
"name": "expandmode",
|
|
2055
2031
|
"type": {
|
|
2056
|
-
"text": "
|
|
2032
|
+
"text": "AccordionExpandMode"
|
|
2057
2033
|
},
|
|
2058
|
-
"privacy": "public"
|
|
2034
|
+
"privacy": "public",
|
|
2035
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2036
|
+
"inheritedFrom": {
|
|
2037
|
+
"name": "Accordion",
|
|
2038
|
+
"module": "src/accordion/accordion.ts"
|
|
2039
|
+
}
|
|
2059
2040
|
},
|
|
2060
2041
|
{
|
|
2061
2042
|
"kind": "field",
|
|
2062
|
-
"name": "
|
|
2043
|
+
"name": "activeid",
|
|
2063
2044
|
"type": {
|
|
2064
|
-
"text": "
|
|
2045
|
+
"text": "string | null"
|
|
2065
2046
|
},
|
|
2066
|
-
"privacy": "
|
|
2067
|
-
"
|
|
2047
|
+
"privacy": "private",
|
|
2048
|
+
"inheritedFrom": {
|
|
2049
|
+
"name": "Accordion",
|
|
2050
|
+
"module": "src/accordion/accordion.ts"
|
|
2051
|
+
}
|
|
2068
2052
|
},
|
|
2069
2053
|
{
|
|
2070
2054
|
"kind": "field",
|
|
2071
|
-
"name": "
|
|
2055
|
+
"name": "activeItemIndex",
|
|
2072
2056
|
"type": {
|
|
2073
|
-
"text": "
|
|
2057
|
+
"text": "number"
|
|
2058
|
+
},
|
|
2059
|
+
"privacy": "private",
|
|
2060
|
+
"default": "0",
|
|
2061
|
+
"inheritedFrom": {
|
|
2062
|
+
"name": "Accordion",
|
|
2063
|
+
"module": "src/accordion/accordion.ts"
|
|
2074
2064
|
}
|
|
2075
2065
|
},
|
|
2076
2066
|
{
|
|
2077
2067
|
"kind": "field",
|
|
2078
|
-
"name": "
|
|
2068
|
+
"name": "accordionIds",
|
|
2079
2069
|
"type": {
|
|
2080
|
-
"text": "string"
|
|
2070
|
+
"text": "Array<string | null>"
|
|
2081
2071
|
},
|
|
2082
|
-
"
|
|
2072
|
+
"privacy": "private",
|
|
2073
|
+
"inheritedFrom": {
|
|
2074
|
+
"name": "Accordion",
|
|
2075
|
+
"module": "src/accordion/accordion.ts"
|
|
2076
|
+
}
|
|
2083
2077
|
},
|
|
2084
2078
|
{
|
|
2085
2079
|
"kind": "field",
|
|
2086
|
-
"name": "
|
|
2087
|
-
"
|
|
2088
|
-
"
|
|
2089
|
-
"
|
|
2080
|
+
"name": "change",
|
|
2081
|
+
"privacy": "private",
|
|
2082
|
+
"inheritedFrom": {
|
|
2083
|
+
"name": "Accordion",
|
|
2084
|
+
"module": "src/accordion/accordion.ts"
|
|
2090
2085
|
}
|
|
2091
2086
|
},
|
|
2092
2087
|
{
|
|
2093
|
-
"kind": "
|
|
2094
|
-
"name": "
|
|
2095
|
-
"
|
|
2096
|
-
|
|
2088
|
+
"kind": "method",
|
|
2089
|
+
"name": "findExpandedItem",
|
|
2090
|
+
"privacy": "private",
|
|
2091
|
+
"return": {
|
|
2092
|
+
"type": {
|
|
2093
|
+
"text": "AccordionItem | null"
|
|
2094
|
+
}
|
|
2097
2095
|
},
|
|
2098
|
-
"
|
|
2096
|
+
"inheritedFrom": {
|
|
2097
|
+
"name": "Accordion",
|
|
2098
|
+
"module": "src/accordion/accordion.ts"
|
|
2099
|
+
}
|
|
2099
2100
|
},
|
|
2100
2101
|
{
|
|
2101
2102
|
"kind": "field",
|
|
2102
|
-
"name": "
|
|
2103
|
-
"
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2103
|
+
"name": "setItems",
|
|
2104
|
+
"privacy": "private",
|
|
2105
|
+
"inheritedFrom": {
|
|
2106
|
+
"name": "Accordion",
|
|
2107
|
+
"module": "src/accordion/accordion.ts"
|
|
2108
|
+
}
|
|
2107
2109
|
},
|
|
2108
2110
|
{
|
|
2109
2111
|
"kind": "method",
|
|
2110
|
-
"name": "
|
|
2111
|
-
"privacy": "
|
|
2112
|
-
"
|
|
2112
|
+
"name": "resetItems",
|
|
2113
|
+
"privacy": "private",
|
|
2114
|
+
"return": {
|
|
2115
|
+
"type": {
|
|
2116
|
+
"text": "void"
|
|
2117
|
+
}
|
|
2118
|
+
},
|
|
2119
|
+
"inheritedFrom": {
|
|
2120
|
+
"name": "Accordion",
|
|
2121
|
+
"module": "src/accordion/accordion.ts"
|
|
2122
|
+
}
|
|
2113
2123
|
},
|
|
2114
2124
|
{
|
|
2115
|
-
"kind": "
|
|
2116
|
-
"name": "
|
|
2117
|
-
"privacy": "
|
|
2118
|
-
"
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
"text": "Event"
|
|
2123
|
-
},
|
|
2124
|
-
"description": "The change event from the file input"
|
|
2125
|
-
}
|
|
2126
|
-
],
|
|
2127
|
-
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
2125
|
+
"kind": "field",
|
|
2126
|
+
"name": "removeItemListeners",
|
|
2127
|
+
"privacy": "private",
|
|
2128
|
+
"inheritedFrom": {
|
|
2129
|
+
"name": "Accordion",
|
|
2130
|
+
"module": "src/accordion/accordion.ts"
|
|
2131
|
+
}
|
|
2128
2132
|
},
|
|
2129
2133
|
{
|
|
2130
|
-
"kind": "
|
|
2131
|
-
"name": "
|
|
2132
|
-
"privacy": "
|
|
2133
|
-
"
|
|
2134
|
+
"kind": "field",
|
|
2135
|
+
"name": "activeItemChange",
|
|
2136
|
+
"privacy": "private",
|
|
2137
|
+
"inheritedFrom": {
|
|
2138
|
+
"name": "Accordion",
|
|
2139
|
+
"module": "src/accordion/accordion.ts"
|
|
2140
|
+
}
|
|
2134
2141
|
},
|
|
2135
2142
|
{
|
|
2136
2143
|
"kind": "method",
|
|
2137
|
-
"name": "
|
|
2138
|
-
"privacy": "
|
|
2139
|
-
"description": "Gets the currently selected file object",
|
|
2144
|
+
"name": "getItemIds",
|
|
2145
|
+
"privacy": "private",
|
|
2140
2146
|
"return": {
|
|
2141
2147
|
"type": {
|
|
2142
|
-
"text": ""
|
|
2148
|
+
"text": "Array<string | null>"
|
|
2143
2149
|
}
|
|
2150
|
+
},
|
|
2151
|
+
"inheritedFrom": {
|
|
2152
|
+
"name": "Accordion",
|
|
2153
|
+
"module": "src/accordion/accordion.ts"
|
|
2144
2154
|
}
|
|
2145
2155
|
},
|
|
2146
2156
|
{
|
|
2147
2157
|
"kind": "method",
|
|
2148
|
-
"name": "
|
|
2149
|
-
"privacy": "
|
|
2150
|
-
"
|
|
2151
|
-
{
|
|
2152
|
-
"
|
|
2153
|
-
"type": {
|
|
2154
|
-
"text": "string"
|
|
2155
|
-
},
|
|
2156
|
-
"description": "The error title"
|
|
2157
|
-
},
|
|
2158
|
-
{
|
|
2159
|
-
"name": "message",
|
|
2160
|
-
"type": {
|
|
2161
|
-
"text": "string"
|
|
2162
|
-
},
|
|
2163
|
-
"description": "The error message"
|
|
2158
|
+
"name": "isSingleExpandMode",
|
|
2159
|
+
"privacy": "private",
|
|
2160
|
+
"return": {
|
|
2161
|
+
"type": {
|
|
2162
|
+
"text": "boolean"
|
|
2164
2163
|
}
|
|
2165
|
-
|
|
2166
|
-
"
|
|
2164
|
+
},
|
|
2165
|
+
"inheritedFrom": {
|
|
2166
|
+
"name": "Accordion",
|
|
2167
|
+
"module": "src/accordion/accordion.ts"
|
|
2168
|
+
}
|
|
2169
|
+
},
|
|
2170
|
+
{
|
|
2171
|
+
"kind": "field",
|
|
2172
|
+
"name": "handleItemKeyDown",
|
|
2173
|
+
"privacy": "private",
|
|
2174
|
+
"inheritedFrom": {
|
|
2175
|
+
"name": "Accordion",
|
|
2176
|
+
"module": "src/accordion/accordion.ts"
|
|
2177
|
+
}
|
|
2178
|
+
},
|
|
2179
|
+
{
|
|
2180
|
+
"kind": "field",
|
|
2181
|
+
"name": "handleItemFocus",
|
|
2182
|
+
"privacy": "private",
|
|
2183
|
+
"inheritedFrom": {
|
|
2184
|
+
"name": "Accordion",
|
|
2185
|
+
"module": "src/accordion/accordion.ts"
|
|
2186
|
+
}
|
|
2167
2187
|
},
|
|
2168
2188
|
{
|
|
2169
2189
|
"kind": "method",
|
|
2170
|
-
"name": "
|
|
2171
|
-
"privacy": "
|
|
2190
|
+
"name": "adjust",
|
|
2191
|
+
"privacy": "private",
|
|
2172
2192
|
"return": {
|
|
2173
2193
|
"type": {
|
|
2174
2194
|
"text": "void"
|
|
@@ -2176,25 +2196,30 @@
|
|
|
2176
2196
|
},
|
|
2177
2197
|
"parameters": [
|
|
2178
2198
|
{
|
|
2179
|
-
"name": "
|
|
2199
|
+
"name": "adjustment",
|
|
2180
2200
|
"type": {
|
|
2181
|
-
"text": "
|
|
2182
|
-
}
|
|
2183
|
-
"description": "The selected file"
|
|
2201
|
+
"text": "number"
|
|
2202
|
+
}
|
|
2184
2203
|
}
|
|
2185
2204
|
],
|
|
2186
|
-
"
|
|
2205
|
+
"inheritedFrom": {
|
|
2206
|
+
"name": "Accordion",
|
|
2207
|
+
"module": "src/accordion/accordion.ts"
|
|
2208
|
+
}
|
|
2187
2209
|
},
|
|
2188
2210
|
{
|
|
2189
2211
|
"kind": "method",
|
|
2190
|
-
"name": "
|
|
2191
|
-
"privacy": "
|
|
2212
|
+
"name": "focusItem",
|
|
2213
|
+
"privacy": "private",
|
|
2192
2214
|
"return": {
|
|
2193
2215
|
"type": {
|
|
2194
2216
|
"text": "void"
|
|
2195
2217
|
}
|
|
2196
2218
|
},
|
|
2197
|
-
"
|
|
2219
|
+
"inheritedFrom": {
|
|
2220
|
+
"name": "Accordion",
|
|
2221
|
+
"module": "src/accordion/accordion.ts"
|
|
2222
|
+
}
|
|
2198
2223
|
},
|
|
2199
2224
|
{
|
|
2200
2225
|
"kind": "field",
|
|
@@ -2310,134 +2335,84 @@
|
|
|
2310
2335
|
],
|
|
2311
2336
|
"events": [
|
|
2312
2337
|
{
|
|
2313
|
-
"description": "
|
|
2314
|
-
"name": "
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
}
|
|
2320
|
-
],
|
|
2321
|
-
"attributes": [
|
|
2322
|
-
{
|
|
2323
|
-
"name": "label",
|
|
2324
|
-
"type": {
|
|
2325
|
-
"text": "string"
|
|
2326
|
-
},
|
|
2327
|
-
"fieldName": "label"
|
|
2328
|
-
},
|
|
2329
|
-
{
|
|
2330
|
-
"name": "accept",
|
|
2331
|
-
"type": {
|
|
2332
|
-
"text": "string"
|
|
2333
|
-
},
|
|
2334
|
-
"default": "''",
|
|
2335
|
-
"fieldName": "accept"
|
|
2336
|
-
},
|
|
2337
|
-
{
|
|
2338
|
-
"name": "file-size-limit-bytes",
|
|
2339
|
-
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
2340
|
-
"resolveInitializer": {
|
|
2341
|
-
"module": "src/_common/base-file-component.ts"
|
|
2342
|
-
},
|
|
2343
|
-
"fieldName": "fileSizeLimitBytes"
|
|
2338
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2339
|
+
"name": "change",
|
|
2340
|
+
"inheritedFrom": {
|
|
2341
|
+
"name": "Accordion",
|
|
2342
|
+
"module": "src/accordion/accordion.ts"
|
|
2343
|
+
}
|
|
2344
2344
|
}
|
|
2345
|
-
]
|
|
2346
|
-
|
|
2347
|
-
"name": "FoundationElement",
|
|
2348
|
-
"package": "@microsoft/fast-foundation"
|
|
2349
|
-
}
|
|
2350
|
-
}
|
|
2351
|
-
],
|
|
2352
|
-
"exports": [
|
|
2345
|
+
]
|
|
2346
|
+
},
|
|
2353
2347
|
{
|
|
2354
|
-
"kind": "
|
|
2355
|
-
"name": "
|
|
2356
|
-
"
|
|
2357
|
-
"
|
|
2358
|
-
|
|
2359
|
-
}
|
|
2360
|
-
}
|
|
2361
|
-
]
|
|
2362
|
-
},
|
|
2363
|
-
{
|
|
2364
|
-
"kind": "javascript-module",
|
|
2365
|
-
"path": "src/_common/field-styles.ts",
|
|
2366
|
-
"declarations": [
|
|
2348
|
+
"kind": "variable",
|
|
2349
|
+
"name": "foundationAccordionShadowOptions",
|
|
2350
|
+
"type": {
|
|
2351
|
+
"text": "ShadowRootInit"
|
|
2352
|
+
},
|
|
2353
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2354
|
+
},
|
|
2367
2355
|
{
|
|
2368
2356
|
"kind": "variable",
|
|
2369
|
-
"name": "
|
|
2370
|
-
"
|
|
2357
|
+
"name": "defaultAccordionConfig",
|
|
2358
|
+
"type": {
|
|
2359
|
+
"text": "object"
|
|
2360
|
+
},
|
|
2361
|
+
"default": "{}"
|
|
2362
|
+
},
|
|
2363
|
+
{
|
|
2364
|
+
"kind": "variable",
|
|
2365
|
+
"name": "foundationAccordion",
|
|
2366
|
+
"description": "The Foundation Accordion",
|
|
2367
|
+
"privacy": "public"
|
|
2371
2368
|
}
|
|
2372
2369
|
],
|
|
2373
2370
|
"exports": [
|
|
2374
2371
|
{
|
|
2375
2372
|
"kind": "js",
|
|
2376
|
-
"name": "
|
|
2373
|
+
"name": "Accordion",
|
|
2377
2374
|
"declaration": {
|
|
2378
|
-
"name": "
|
|
2379
|
-
"module": "src/
|
|
2375
|
+
"name": "Accordion",
|
|
2376
|
+
"module": "src/accordion/accordion.ts"
|
|
2380
2377
|
}
|
|
2381
|
-
}
|
|
2382
|
-
]
|
|
2383
|
-
},
|
|
2384
|
-
{
|
|
2385
|
-
"kind": "javascript-module",
|
|
2386
|
-
"path": "src/_common/icons.ts",
|
|
2387
|
-
"declarations": [
|
|
2388
|
-
{
|
|
2389
|
-
"kind": "function",
|
|
2390
|
-
"name": "closeIcon",
|
|
2391
|
-
"parameters": [
|
|
2392
|
-
{
|
|
2393
|
-
"name": "slot",
|
|
2394
|
-
"default": "'start'"
|
|
2395
|
-
},
|
|
2396
|
-
{
|
|
2397
|
-
"name": "fill",
|
|
2398
|
-
"default": "'#879ba6'"
|
|
2399
|
-
}
|
|
2400
|
-
]
|
|
2401
|
-
}
|
|
2402
|
-
],
|
|
2403
|
-
"exports": [
|
|
2378
|
+
},
|
|
2404
2379
|
{
|
|
2405
2380
|
"kind": "js",
|
|
2406
|
-
"name": "
|
|
2381
|
+
"name": "foundationAccordionShadowOptions",
|
|
2407
2382
|
"declaration": {
|
|
2408
|
-
"name": "
|
|
2409
|
-
"module": "src/
|
|
2383
|
+
"name": "foundationAccordionShadowOptions",
|
|
2384
|
+
"module": "src/accordion/accordion.ts"
|
|
2410
2385
|
}
|
|
2411
|
-
}
|
|
2412
|
-
]
|
|
2413
|
-
},
|
|
2414
|
-
{
|
|
2415
|
-
"kind": "javascript-module",
|
|
2416
|
-
"path": "src/_common/index.ts",
|
|
2417
|
-
"declarations": [],
|
|
2418
|
-
"exports": [
|
|
2386
|
+
},
|
|
2419
2387
|
{
|
|
2420
2388
|
"kind": "js",
|
|
2421
|
-
"name": "
|
|
2389
|
+
"name": "defaultAccordionConfig",
|
|
2422
2390
|
"declaration": {
|
|
2423
|
-
"name": "
|
|
2424
|
-
"
|
|
2391
|
+
"name": "defaultAccordionConfig",
|
|
2392
|
+
"module": "src/accordion/accordion.ts"
|
|
2425
2393
|
}
|
|
2426
2394
|
},
|
|
2427
2395
|
{
|
|
2428
2396
|
"kind": "js",
|
|
2429
|
-
"name": "
|
|
2397
|
+
"name": "foundationAccordion",
|
|
2430
2398
|
"declaration": {
|
|
2431
|
-
"name": "
|
|
2432
|
-
"
|
|
2399
|
+
"name": "foundationAccordion",
|
|
2400
|
+
"module": "src/accordion/accordion.ts"
|
|
2433
2401
|
}
|
|
2434
|
-
}
|
|
2402
|
+
}
|
|
2403
|
+
]
|
|
2404
|
+
},
|
|
2405
|
+
{
|
|
2406
|
+
"kind": "javascript-module",
|
|
2407
|
+
"path": "src/accordion/index.ts",
|
|
2408
|
+
"declarations": [],
|
|
2409
|
+
"exports": [
|
|
2435
2410
|
{
|
|
2436
2411
|
"kind": "js",
|
|
2437
2412
|
"name": "*",
|
|
2438
2413
|
"declaration": {
|
|
2439
2414
|
"name": "*",
|
|
2440
|
-
"package": "./
|
|
2415
|
+
"package": "./accordion.template"
|
|
2441
2416
|
}
|
|
2442
2417
|
},
|
|
2443
2418
|
{
|
|
@@ -2445,7 +2420,7 @@
|
|
|
2445
2420
|
"name": "*",
|
|
2446
2421
|
"declaration": {
|
|
2447
2422
|
"name": "*",
|
|
2448
|
-
"package": "./
|
|
2423
|
+
"package": "./accordion.styles"
|
|
2449
2424
|
}
|
|
2450
2425
|
},
|
|
2451
2426
|
{
|
|
@@ -2453,122 +2428,210 @@
|
|
|
2453
2428
|
"name": "*",
|
|
2454
2429
|
"declaration": {
|
|
2455
2430
|
"name": "*",
|
|
2456
|
-
"package": "./
|
|
2431
|
+
"package": "./accordion"
|
|
2457
2432
|
}
|
|
2458
2433
|
}
|
|
2459
2434
|
]
|
|
2460
2435
|
},
|
|
2461
2436
|
{
|
|
2462
2437
|
"kind": "javascript-module",
|
|
2463
|
-
"path": "src/
|
|
2438
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2464
2439
|
"declarations": [
|
|
2465
2440
|
{
|
|
2466
|
-
"kind": "
|
|
2467
|
-
"name": "
|
|
2468
|
-
"
|
|
2441
|
+
"kind": "function",
|
|
2442
|
+
"name": "actionsMenuBaseStyles",
|
|
2443
|
+
"return": {
|
|
2444
|
+
"type": {
|
|
2445
|
+
"text": "ElementStyles"
|
|
2446
|
+
}
|
|
2447
|
+
},
|
|
2448
|
+
"parameters": [
|
|
2449
|
+
{
|
|
2450
|
+
"name": "context",
|
|
2451
|
+
"type": {
|
|
2452
|
+
"text": "ElementDefinitionContext"
|
|
2453
|
+
}
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
"name": "definition",
|
|
2457
|
+
"type": {
|
|
2458
|
+
"text": "FoundationElementDefinition"
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
]
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
"kind": "function",
|
|
2465
|
+
"name": "foundationActionsMenuStyles",
|
|
2466
|
+
"return": {
|
|
2467
|
+
"type": {
|
|
2468
|
+
"text": "ElementStyles"
|
|
2469
|
+
}
|
|
2470
|
+
},
|
|
2471
|
+
"parameters": [
|
|
2472
|
+
{
|
|
2473
|
+
"name": "context",
|
|
2474
|
+
"type": {
|
|
2475
|
+
"text": "ElementDefinitionContext"
|
|
2476
|
+
}
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
"name": "definition",
|
|
2480
|
+
"type": {
|
|
2481
|
+
"text": "FoundationElementDefinition"
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
]
|
|
2469
2485
|
}
|
|
2470
2486
|
],
|
|
2471
2487
|
"exports": [
|
|
2472
2488
|
{
|
|
2473
2489
|
"kind": "js",
|
|
2474
|
-
"name": "
|
|
2490
|
+
"name": "actionsMenuBaseStyles",
|
|
2475
2491
|
"declaration": {
|
|
2476
|
-
"name": "
|
|
2477
|
-
"module": "src/
|
|
2492
|
+
"name": "actionsMenuBaseStyles",
|
|
2493
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2494
|
+
}
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
"kind": "js",
|
|
2498
|
+
"name": "foundationActionsMenuStyles",
|
|
2499
|
+
"declaration": {
|
|
2500
|
+
"name": "foundationActionsMenuStyles",
|
|
2501
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2478
2502
|
}
|
|
2479
2503
|
}
|
|
2480
2504
|
]
|
|
2481
2505
|
},
|
|
2482
2506
|
{
|
|
2483
2507
|
"kind": "javascript-module",
|
|
2484
|
-
"path": "src/
|
|
2508
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2485
2509
|
"declarations": [
|
|
2510
|
+
{
|
|
2511
|
+
"kind": "function",
|
|
2512
|
+
"name": "menuTemplate",
|
|
2513
|
+
"parameters": [
|
|
2514
|
+
{
|
|
2515
|
+
"name": "prefix",
|
|
2516
|
+
"type": {
|
|
2517
|
+
"text": "string"
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
]
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
"kind": "function",
|
|
2524
|
+
"name": "singleOptionTemplate",
|
|
2525
|
+
"parameters": [
|
|
2526
|
+
{
|
|
2527
|
+
"name": "prefix",
|
|
2528
|
+
"type": {
|
|
2529
|
+
"text": "string"
|
|
2530
|
+
}
|
|
2531
|
+
}
|
|
2532
|
+
]
|
|
2533
|
+
},
|
|
2486
2534
|
{
|
|
2487
2535
|
"kind": "variable",
|
|
2488
|
-
"name": "
|
|
2536
|
+
"name": "foundationActionsMenuTemplate",
|
|
2489
2537
|
"type": {
|
|
2490
|
-
"text": "ViewTemplate<
|
|
2538
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2491
2539
|
},
|
|
2492
|
-
"default": "html`\n ${(x) =>
|
|
2540
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
2493
2541
|
}
|
|
2494
2542
|
],
|
|
2495
2543
|
"exports": [
|
|
2496
2544
|
{
|
|
2497
2545
|
"kind": "js",
|
|
2498
|
-
"name": "
|
|
2546
|
+
"name": "menuTemplate",
|
|
2499
2547
|
"declaration": {
|
|
2500
|
-
"name": "
|
|
2501
|
-
"module": "src/
|
|
2548
|
+
"name": "menuTemplate",
|
|
2549
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2550
|
+
}
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
"kind": "js",
|
|
2554
|
+
"name": "singleOptionTemplate",
|
|
2555
|
+
"declaration": {
|
|
2556
|
+
"name": "singleOptionTemplate",
|
|
2557
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
"kind": "js",
|
|
2562
|
+
"name": "foundationActionsMenuTemplate",
|
|
2563
|
+
"declaration": {
|
|
2564
|
+
"name": "foundationActionsMenuTemplate",
|
|
2565
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2502
2566
|
}
|
|
2503
2567
|
}
|
|
2504
2568
|
]
|
|
2505
2569
|
},
|
|
2506
2570
|
{
|
|
2507
2571
|
"kind": "javascript-module",
|
|
2508
|
-
"path": "src/
|
|
2572
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2509
2573
|
"declarations": [
|
|
2510
2574
|
{
|
|
2511
2575
|
"kind": "class",
|
|
2512
|
-
"description": "
|
|
2513
|
-
"name": "
|
|
2576
|
+
"description": "",
|
|
2577
|
+
"name": "ActionsMenu",
|
|
2514
2578
|
"members": [
|
|
2515
2579
|
{
|
|
2516
2580
|
"kind": "field",
|
|
2517
|
-
"name": "
|
|
2581
|
+
"name": "actions",
|
|
2518
2582
|
"type": {
|
|
2519
|
-
"text": "
|
|
2583
|
+
"text": "ActionMenuItem[]"
|
|
2520
2584
|
}
|
|
2521
2585
|
},
|
|
2522
2586
|
{
|
|
2523
2587
|
"kind": "field",
|
|
2524
|
-
"name": "
|
|
2588
|
+
"name": "isVertical",
|
|
2525
2589
|
"type": {
|
|
2526
|
-
"text": "
|
|
2590
|
+
"text": "boolean"
|
|
2527
2591
|
},
|
|
2528
|
-
"default": "
|
|
2592
|
+
"default": "false"
|
|
2529
2593
|
},
|
|
2530
2594
|
{
|
|
2531
2595
|
"kind": "field",
|
|
2532
|
-
"name": "
|
|
2596
|
+
"name": "addDefaultActions",
|
|
2533
2597
|
"type": {
|
|
2534
2598
|
"text": "boolean"
|
|
2535
|
-
}
|
|
2599
|
+
},
|
|
2600
|
+
"default": "true"
|
|
2536
2601
|
},
|
|
2537
2602
|
{
|
|
2538
2603
|
"kind": "field",
|
|
2539
|
-
"name": "
|
|
2604
|
+
"name": "autoCloseOnAction",
|
|
2540
2605
|
"type": {
|
|
2541
|
-
"text": "
|
|
2606
|
+
"text": "boolean"
|
|
2542
2607
|
},
|
|
2543
|
-
"default": "
|
|
2608
|
+
"default": "true"
|
|
2544
2609
|
},
|
|
2545
2610
|
{
|
|
2546
2611
|
"kind": "field",
|
|
2547
|
-
"name": "
|
|
2612
|
+
"name": "classNames",
|
|
2548
2613
|
"type": {
|
|
2549
|
-
"text": "
|
|
2550
|
-
}
|
|
2551
|
-
"default": "false"
|
|
2614
|
+
"text": "string"
|
|
2615
|
+
}
|
|
2552
2616
|
},
|
|
2553
2617
|
{
|
|
2554
2618
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2619
|
+
"name": "definition",
|
|
2556
2620
|
"type": {
|
|
2557
|
-
"text": "
|
|
2558
|
-
}
|
|
2559
|
-
"default": "null"
|
|
2621
|
+
"text": "any"
|
|
2622
|
+
}
|
|
2560
2623
|
},
|
|
2561
2624
|
{
|
|
2562
2625
|
"kind": "field",
|
|
2563
|
-
"name": "
|
|
2626
|
+
"name": "name",
|
|
2564
2627
|
"type": {
|
|
2565
|
-
"text": "
|
|
2628
|
+
"text": "string"
|
|
2566
2629
|
},
|
|
2567
|
-
"default": "
|
|
2630
|
+
"default": "'Actions'"
|
|
2568
2631
|
},
|
|
2569
2632
|
{
|
|
2570
2633
|
"kind": "field",
|
|
2571
|
-
"name": "
|
|
2634
|
+
"name": "open",
|
|
2572
2635
|
"type": {
|
|
2573
2636
|
"text": "boolean"
|
|
2574
2637
|
},
|
|
@@ -2576,15 +2639,14 @@
|
|
|
2576
2639
|
},
|
|
2577
2640
|
{
|
|
2578
2641
|
"kind": "field",
|
|
2579
|
-
"name": "
|
|
2642
|
+
"name": "buttonAppearance",
|
|
2580
2643
|
"type": {
|
|
2581
|
-
"text": "
|
|
2582
|
-
}
|
|
2583
|
-
"default": "[]"
|
|
2644
|
+
"text": "string"
|
|
2645
|
+
}
|
|
2584
2646
|
},
|
|
2585
2647
|
{
|
|
2586
2648
|
"kind": "field",
|
|
2587
|
-
"name": "
|
|
2649
|
+
"name": "hideDisabled",
|
|
2588
2650
|
"type": {
|
|
2589
2651
|
"text": "boolean"
|
|
2590
2652
|
},
|
|
@@ -2592,125 +2654,114 @@
|
|
|
2592
2654
|
},
|
|
2593
2655
|
{
|
|
2594
2656
|
"kind": "field",
|
|
2595
|
-
"name": "
|
|
2596
|
-
"type": {
|
|
2597
|
-
"text": "HTMLTextAreaElement"
|
|
2598
|
-
},
|
|
2599
|
-
"privacy": "public"
|
|
2600
|
-
},
|
|
2601
|
-
{
|
|
2602
|
-
"kind": "field",
|
|
2603
|
-
"name": "stopRecording",
|
|
2657
|
+
"name": "hideMenuSingleOption",
|
|
2604
2658
|
"type": {
|
|
2605
|
-
"text": "
|
|
2659
|
+
"text": "boolean"
|
|
2606
2660
|
},
|
|
2607
|
-
"
|
|
2608
|
-
"default": "null"
|
|
2661
|
+
"default": "false"
|
|
2609
2662
|
},
|
|
2610
2663
|
{
|
|
2611
2664
|
"kind": "field",
|
|
2612
|
-
"name": "
|
|
2665
|
+
"name": "singleOption",
|
|
2613
2666
|
"type": {
|
|
2614
|
-
"text": "
|
|
2615
|
-
}
|
|
2616
|
-
"privacy": "private",
|
|
2617
|
-
"default": "null"
|
|
2667
|
+
"text": "ActionMenuItem"
|
|
2668
|
+
}
|
|
2618
2669
|
},
|
|
2619
2670
|
{
|
|
2620
2671
|
"kind": "field",
|
|
2621
|
-
"name": "
|
|
2672
|
+
"name": "actionsMenu",
|
|
2622
2673
|
"type": {
|
|
2623
|
-
"text": "
|
|
2624
|
-
}
|
|
2625
|
-
"readonly": true
|
|
2674
|
+
"text": "HTMLElement"
|
|
2675
|
+
}
|
|
2626
2676
|
},
|
|
2627
2677
|
{
|
|
2628
2678
|
"kind": "field",
|
|
2629
|
-
"name": "
|
|
2679
|
+
"name": "actionsOpener",
|
|
2630
2680
|
"type": {
|
|
2631
|
-
"text": "
|
|
2632
|
-
}
|
|
2633
|
-
"readonly": true
|
|
2634
|
-
},
|
|
2635
|
-
{
|
|
2636
|
-
"kind": "method",
|
|
2637
|
-
"name": "getFieldLabel",
|
|
2638
|
-
"privacy": "private",
|
|
2639
|
-
"return": {
|
|
2640
|
-
"type": {
|
|
2641
|
-
"text": "string"
|
|
2642
|
-
}
|
|
2643
|
-
},
|
|
2644
|
-
"parameters": [
|
|
2645
|
-
{
|
|
2646
|
-
"name": "fieldName",
|
|
2647
|
-
"type": {
|
|
2648
|
-
"text": "string"
|
|
2649
|
-
}
|
|
2650
|
-
}
|
|
2651
|
-
]
|
|
2681
|
+
"text": "HTMLElement"
|
|
2682
|
+
}
|
|
2652
2683
|
},
|
|
2653
2684
|
{
|
|
2654
2685
|
"kind": "method",
|
|
2655
|
-
"name": "
|
|
2656
|
-
"
|
|
2657
|
-
"type": {
|
|
2658
|
-
"text": "void"
|
|
2659
|
-
}
|
|
2660
|
-
}
|
|
2686
|
+
"name": "updateMenuPosition",
|
|
2687
|
+
"privacy": "private"
|
|
2661
2688
|
},
|
|
2662
2689
|
{
|
|
2663
2690
|
"kind": "method",
|
|
2664
|
-
"name": "
|
|
2665
|
-
"
|
|
2666
|
-
"type": {
|
|
2667
|
-
"text": "void"
|
|
2668
|
-
}
|
|
2669
|
-
},
|
|
2691
|
+
"name": "definitionChanged",
|
|
2692
|
+
"privacy": "protected",
|
|
2670
2693
|
"parameters": [
|
|
2671
2694
|
{
|
|
2672
|
-
"name": "
|
|
2695
|
+
"name": "oldValue",
|
|
2673
2696
|
"type": {
|
|
2674
|
-
"text": "
|
|
2697
|
+
"text": "any"
|
|
2675
2698
|
}
|
|
2676
2699
|
},
|
|
2677
2700
|
{
|
|
2678
|
-
"name": "
|
|
2701
|
+
"name": "newValue",
|
|
2679
2702
|
"type": {
|
|
2680
|
-
"text": "
|
|
2703
|
+
"text": "any"
|
|
2681
2704
|
}
|
|
2682
2705
|
}
|
|
2683
2706
|
]
|
|
2684
2707
|
},
|
|
2685
2708
|
{
|
|
2686
2709
|
"kind": "method",
|
|
2687
|
-
"name": "
|
|
2688
|
-
"
|
|
2689
|
-
"type": {
|
|
2690
|
-
"text": "void"
|
|
2691
|
-
}
|
|
2692
|
-
}
|
|
2710
|
+
"name": "openChanged",
|
|
2711
|
+
"privacy": "protected"
|
|
2693
2712
|
},
|
|
2694
2713
|
{
|
|
2695
2714
|
"kind": "method",
|
|
2696
|
-
"name": "
|
|
2715
|
+
"name": "toggleActionsMenuVisibility"
|
|
2697
2716
|
},
|
|
2698
2717
|
{
|
|
2699
2718
|
"kind": "method",
|
|
2700
|
-
"name": "
|
|
2719
|
+
"name": "onActionMenuItemClick",
|
|
2720
|
+
"parameters": [
|
|
2721
|
+
{
|
|
2722
|
+
"name": "callback",
|
|
2723
|
+
"type": {
|
|
2724
|
+
"text": "(rowData) => void | any"
|
|
2725
|
+
}
|
|
2726
|
+
}
|
|
2727
|
+
]
|
|
2701
2728
|
},
|
|
2702
2729
|
{
|
|
2703
|
-
"kind": "
|
|
2704
|
-
"name": "
|
|
2730
|
+
"kind": "field",
|
|
2731
|
+
"name": "allActions",
|
|
2732
|
+
"type": {
|
|
2733
|
+
"text": "ActionMenuItem[]"
|
|
2734
|
+
},
|
|
2735
|
+
"readonly": true
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
"kind": "field",
|
|
2739
|
+
"name": "rowData",
|
|
2740
|
+
"readonly": true
|
|
2705
2741
|
},
|
|
2706
2742
|
{
|
|
2707
2743
|
"kind": "method",
|
|
2708
|
-
"name": "
|
|
2744
|
+
"name": "getLabel",
|
|
2745
|
+
"parameters": [
|
|
2746
|
+
{
|
|
2747
|
+
"name": "name",
|
|
2748
|
+
"type": {
|
|
2749
|
+
"text": "string | ((rowData: any) => string)"
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
]
|
|
2709
2753
|
},
|
|
2710
2754
|
{
|
|
2711
2755
|
"kind": "method",
|
|
2712
|
-
"name": "
|
|
2713
|
-
"
|
|
2756
|
+
"name": "getTemplate",
|
|
2757
|
+
"parameters": [
|
|
2758
|
+
{
|
|
2759
|
+
"name": "prefix",
|
|
2760
|
+
"type": {
|
|
2761
|
+
"text": "string"
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
]
|
|
2714
2765
|
},
|
|
2715
2766
|
{
|
|
2716
2767
|
"kind": "field",
|
|
@@ -2824,252 +2875,107 @@
|
|
|
2824
2875
|
}
|
|
2825
2876
|
}
|
|
2826
2877
|
],
|
|
2827
|
-
"events": [
|
|
2828
|
-
{
|
|
2829
|
-
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2830
|
-
"name": "criteria-changed"
|
|
2831
|
-
},
|
|
2832
|
-
{
|
|
2833
|
-
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2834
|
-
"name": "validation-errors"
|
|
2835
|
-
}
|
|
2836
|
-
],
|
|
2837
2878
|
"attributes": [
|
|
2838
2879
|
{
|
|
2839
|
-
"name": "
|
|
2880
|
+
"name": "is-vertical",
|
|
2840
2881
|
"type": {
|
|
2841
|
-
"text": "
|
|
2882
|
+
"text": "boolean"
|
|
2842
2883
|
},
|
|
2843
|
-
"default": "
|
|
2844
|
-
"fieldName": "
|
|
2884
|
+
"default": "false",
|
|
2885
|
+
"fieldName": "isVertical"
|
|
2845
2886
|
},
|
|
2846
2887
|
{
|
|
2888
|
+
"name": "add-default-actions",
|
|
2847
2889
|
"type": {
|
|
2848
2890
|
"text": "boolean"
|
|
2849
2891
|
},
|
|
2850
|
-
"
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
"superclass": {
|
|
2854
|
-
"name": "FoundationElement",
|
|
2855
|
-
"package": "@microsoft/fast-foundation"
|
|
2856
|
-
},
|
|
2857
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2858
|
-
"customElement": true
|
|
2859
|
-
},
|
|
2860
|
-
{
|
|
2861
|
-
"kind": "variable",
|
|
2862
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2863
|
-
"type": {
|
|
2864
|
-
"text": "ShadowRootInit"
|
|
2865
|
-
},
|
|
2866
|
-
"default": "undefined"
|
|
2867
|
-
},
|
|
2868
|
-
{
|
|
2869
|
-
"kind": "variable",
|
|
2870
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2871
|
-
"type": {
|
|
2872
|
-
"text": "object"
|
|
2873
|
-
},
|
|
2874
|
-
"default": "{}"
|
|
2875
|
-
},
|
|
2876
|
-
{
|
|
2877
|
-
"kind": "variable",
|
|
2878
|
-
"name": "foundationAiCriteriaSearch"
|
|
2879
|
-
}
|
|
2880
|
-
],
|
|
2881
|
-
"exports": [
|
|
2882
|
-
{
|
|
2883
|
-
"kind": "js",
|
|
2884
|
-
"name": "AiCriteriaSearch",
|
|
2885
|
-
"declaration": {
|
|
2886
|
-
"name": "AiCriteriaSearch",
|
|
2887
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2888
|
-
}
|
|
2889
|
-
},
|
|
2890
|
-
{
|
|
2891
|
-
"kind": "js",
|
|
2892
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2893
|
-
"declaration": {
|
|
2894
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2895
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2896
|
-
}
|
|
2897
|
-
},
|
|
2898
|
-
{
|
|
2899
|
-
"kind": "js",
|
|
2900
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2901
|
-
"declaration": {
|
|
2902
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2903
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2904
|
-
}
|
|
2905
|
-
},
|
|
2906
|
-
{
|
|
2907
|
-
"kind": "js",
|
|
2908
|
-
"name": "foundationAiCriteriaSearch",
|
|
2909
|
-
"declaration": {
|
|
2910
|
-
"name": "foundationAiCriteriaSearch",
|
|
2911
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2912
|
-
}
|
|
2913
|
-
}
|
|
2914
|
-
]
|
|
2915
|
-
},
|
|
2916
|
-
{
|
|
2917
|
-
"kind": "javascript-module",
|
|
2918
|
-
"path": "src/ai-criteria-search/index.ts",
|
|
2919
|
-
"declarations": [],
|
|
2920
|
-
"exports": [
|
|
2921
|
-
{
|
|
2922
|
-
"kind": "js",
|
|
2923
|
-
"name": "AiCriteriaSearch",
|
|
2924
|
-
"declaration": {
|
|
2925
|
-
"name": "AiCriteriaSearch",
|
|
2926
|
-
"module": "./ai-criteria-search"
|
|
2927
|
-
}
|
|
2928
|
-
},
|
|
2929
|
-
{
|
|
2930
|
-
"kind": "js",
|
|
2931
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2932
|
-
"declaration": {
|
|
2933
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2934
|
-
"module": "./ai-criteria-search"
|
|
2935
|
-
}
|
|
2936
|
-
},
|
|
2937
|
-
{
|
|
2938
|
-
"kind": "js",
|
|
2939
|
-
"name": "foundationAiCriteriaSearch",
|
|
2940
|
-
"declaration": {
|
|
2941
|
-
"name": "foundationAiCriteriaSearch",
|
|
2942
|
-
"module": "./ai-criteria-search"
|
|
2943
|
-
}
|
|
2944
|
-
},
|
|
2945
|
-
{
|
|
2946
|
-
"kind": "js",
|
|
2947
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2948
|
-
"declaration": {
|
|
2949
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2950
|
-
"module": "./ai-criteria-search"
|
|
2951
|
-
}
|
|
2952
|
-
},
|
|
2953
|
-
{
|
|
2954
|
-
"kind": "js",
|
|
2955
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2956
|
-
"declaration": {
|
|
2957
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2958
|
-
"module": "./ai-criteria-search.styles"
|
|
2959
|
-
}
|
|
2960
|
-
},
|
|
2961
|
-
{
|
|
2962
|
-
"kind": "js",
|
|
2963
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2964
|
-
"declaration": {
|
|
2965
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2966
|
-
"module": "./ai-criteria-search.template"
|
|
2967
|
-
}
|
|
2968
|
-
},
|
|
2969
|
-
{
|
|
2970
|
-
"kind": "js",
|
|
2971
|
-
"name": "*",
|
|
2972
|
-
"declaration": {
|
|
2973
|
-
"name": "*",
|
|
2974
|
-
"package": "./validation/criteria-ir"
|
|
2975
|
-
}
|
|
2976
|
-
},
|
|
2977
|
-
{
|
|
2978
|
-
"kind": "js",
|
|
2979
|
-
"name": "*",
|
|
2980
|
-
"declaration": {
|
|
2981
|
-
"name": "*",
|
|
2982
|
-
"package": "./validation/operator-map"
|
|
2983
|
-
}
|
|
2984
|
-
},
|
|
2985
|
-
{
|
|
2986
|
-
"kind": "js",
|
|
2987
|
-
"name": "*",
|
|
2988
|
-
"declaration": {
|
|
2989
|
-
"name": "*",
|
|
2990
|
-
"package": "./validation/schema-validator"
|
|
2991
|
-
}
|
|
2992
|
-
}
|
|
2993
|
-
]
|
|
2994
|
-
},
|
|
2995
|
-
{
|
|
2996
|
-
"kind": "javascript-module",
|
|
2997
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2998
|
-
"declarations": [
|
|
2999
|
-
{
|
|
3000
|
-
"kind": "function",
|
|
3001
|
-
"name": "formatValidationErrors",
|
|
3002
|
-
"return": {
|
|
3003
|
-
"type": {
|
|
3004
|
-
"text": "string"
|
|
3005
|
-
}
|
|
3006
|
-
},
|
|
3007
|
-
"parameters": [
|
|
2892
|
+
"default": "true",
|
|
2893
|
+
"fieldName": "addDefaultActions"
|
|
2894
|
+
},
|
|
3008
2895
|
{
|
|
3009
|
-
"name": "
|
|
2896
|
+
"name": "auto-close-on-action",
|
|
3010
2897
|
"type": {
|
|
3011
|
-
"text": "
|
|
3012
|
-
}
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
},
|
|
3017
|
-
{
|
|
3018
|
-
"kind": "function",
|
|
3019
|
-
"name": "showCriteriaError",
|
|
3020
|
-
"return": {
|
|
3021
|
-
"type": {
|
|
3022
|
-
"text": "void"
|
|
3023
|
-
}
|
|
3024
|
-
},
|
|
3025
|
-
"parameters": [
|
|
2898
|
+
"text": "boolean"
|
|
2899
|
+
},
|
|
2900
|
+
"default": "true",
|
|
2901
|
+
"fieldName": "autoCloseOnAction"
|
|
2902
|
+
},
|
|
3026
2903
|
{
|
|
3027
|
-
"name": "
|
|
2904
|
+
"name": "name",
|
|
3028
2905
|
"type": {
|
|
3029
2906
|
"text": "string"
|
|
3030
2907
|
},
|
|
3031
|
-
"
|
|
2908
|
+
"default": "'Actions'",
|
|
2909
|
+
"fieldName": "name"
|
|
3032
2910
|
},
|
|
3033
2911
|
{
|
|
3034
|
-
"name": "
|
|
2912
|
+
"name": "open",
|
|
3035
2913
|
"type": {
|
|
3036
|
-
"text": "
|
|
2914
|
+
"text": "boolean"
|
|
3037
2915
|
},
|
|
3038
|
-
"
|
|
2916
|
+
"default": "false",
|
|
2917
|
+
"fieldName": "open"
|
|
3039
2918
|
},
|
|
3040
2919
|
{
|
|
3041
|
-
"name": "
|
|
2920
|
+
"name": "buttonAppearance",
|
|
3042
2921
|
"type": {
|
|
3043
2922
|
"text": "string"
|
|
3044
2923
|
},
|
|
3045
|
-
"
|
|
2924
|
+
"fieldName": "buttonAppearance"
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
"name": "hide-disabled",
|
|
2928
|
+
"type": {
|
|
2929
|
+
"text": "boolean"
|
|
2930
|
+
},
|
|
2931
|
+
"default": "false",
|
|
2932
|
+
"fieldName": "hideDisabled"
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"name": "hide-menu-single-option",
|
|
2936
|
+
"type": {
|
|
2937
|
+
"text": "boolean"
|
|
2938
|
+
},
|
|
2939
|
+
"default": "false",
|
|
2940
|
+
"fieldName": "hideMenuSingleOption"
|
|
3046
2941
|
}
|
|
3047
2942
|
],
|
|
3048
|
-
"
|
|
2943
|
+
"superclass": {
|
|
2944
|
+
"name": "FoundationElement",
|
|
2945
|
+
"package": "@microsoft/fast-foundation"
|
|
2946
|
+
},
|
|
2947
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2948
|
+
"customElement": true
|
|
2949
|
+
},
|
|
2950
|
+
{
|
|
2951
|
+
"kind": "variable",
|
|
2952
|
+
"name": "foundationActionsMenu",
|
|
2953
|
+
"description": "The Foundation Actions Menu",
|
|
2954
|
+
"privacy": "public"
|
|
3049
2955
|
}
|
|
3050
2956
|
],
|
|
3051
2957
|
"exports": [
|
|
3052
2958
|
{
|
|
3053
2959
|
"kind": "js",
|
|
3054
|
-
"name": "
|
|
2960
|
+
"name": "ActionsMenu",
|
|
3055
2961
|
"declaration": {
|
|
3056
|
-
"name": "
|
|
3057
|
-
"module": "src/
|
|
2962
|
+
"name": "ActionsMenu",
|
|
2963
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3058
2964
|
}
|
|
3059
2965
|
},
|
|
3060
2966
|
{
|
|
3061
2967
|
"kind": "js",
|
|
3062
|
-
"name": "
|
|
2968
|
+
"name": "foundationActionsMenu",
|
|
3063
2969
|
"declaration": {
|
|
3064
|
-
"name": "
|
|
3065
|
-
"module": "src/
|
|
2970
|
+
"name": "foundationActionsMenu",
|
|
2971
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3066
2972
|
}
|
|
3067
2973
|
}
|
|
3068
2974
|
]
|
|
3069
2975
|
},
|
|
3070
2976
|
{
|
|
3071
2977
|
"kind": "javascript-module",
|
|
3072
|
-
"path": "src/
|
|
2978
|
+
"path": "src/actions-menu/index.ts",
|
|
3073
2979
|
"declarations": [],
|
|
3074
2980
|
"exports": [
|
|
3075
2981
|
{
|
|
@@ -3077,7 +2983,7 @@
|
|
|
3077
2983
|
"name": "*",
|
|
3078
2984
|
"declaration": {
|
|
3079
2985
|
"name": "*",
|
|
3080
|
-
"package": "./styles"
|
|
2986
|
+
"package": "./actions-menu.styles"
|
|
3081
2987
|
}
|
|
3082
2988
|
},
|
|
3083
2989
|
{
|
|
@@ -3085,7 +2991,7 @@
|
|
|
3085
2991
|
"name": "*",
|
|
3086
2992
|
"declaration": {
|
|
3087
2993
|
"name": "*",
|
|
3088
|
-
"package": "./
|
|
2994
|
+
"package": "./actions-menu.template"
|
|
3089
2995
|
}
|
|
3090
2996
|
},
|
|
3091
2997
|
{
|
|
@@ -3093,282 +2999,215 @@
|
|
|
3093
2999
|
"name": "*",
|
|
3094
3000
|
"declaration": {
|
|
3095
3001
|
"name": "*",
|
|
3096
|
-
"package": "./
|
|
3002
|
+
"package": "./actions-menu"
|
|
3097
3003
|
}
|
|
3098
3004
|
}
|
|
3099
|
-
]
|
|
3100
|
-
},
|
|
3101
|
-
{
|
|
3102
|
-
"kind": "javascript-module",
|
|
3103
|
-
"path": "src/
|
|
3104
|
-
"declarations": [
|
|
3105
|
-
{
|
|
3106
|
-
"kind": "
|
|
3107
|
-
"name": "
|
|
3108
|
-
"
|
|
3109
|
-
"type": {
|
|
3110
|
-
"text": "ElementStyles"
|
|
3111
|
-
}
|
|
3112
|
-
},
|
|
3113
|
-
"parameters": [
|
|
3114
|
-
{
|
|
3115
|
-
"name": "context",
|
|
3116
|
-
"type": {
|
|
3117
|
-
"text": "ElementDefinitionContext"
|
|
3118
|
-
}
|
|
3119
|
-
},
|
|
3120
|
-
{
|
|
3121
|
-
"name": "definition",
|
|
3122
|
-
"type": {
|
|
3123
|
-
"text": "FoundationElementDefinition"
|
|
3124
|
-
}
|
|
3125
|
-
}
|
|
3126
|
-
]
|
|
3005
|
+
]
|
|
3006
|
+
},
|
|
3007
|
+
{
|
|
3008
|
+
"kind": "javascript-module",
|
|
3009
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3010
|
+
"declarations": [
|
|
3011
|
+
{
|
|
3012
|
+
"kind": "variable",
|
|
3013
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3014
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
3127
3015
|
}
|
|
3128
3016
|
],
|
|
3129
3017
|
"exports": [
|
|
3130
3018
|
{
|
|
3131
3019
|
"kind": "js",
|
|
3132
|
-
"name": "
|
|
3020
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3133
3021
|
"declaration": {
|
|
3134
|
-
"name": "
|
|
3135
|
-
"module": "src/
|
|
3022
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3023
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3136
3024
|
}
|
|
3137
3025
|
}
|
|
3138
3026
|
]
|
|
3139
3027
|
},
|
|
3140
3028
|
{
|
|
3141
3029
|
"kind": "javascript-module",
|
|
3142
|
-
"path": "src/
|
|
3030
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3143
3031
|
"declarations": [
|
|
3144
3032
|
{
|
|
3145
|
-
"kind": "
|
|
3146
|
-
"name": "
|
|
3147
|
-
"
|
|
3148
|
-
"
|
|
3149
|
-
"text": "ViewTemplate<Accordion>"
|
|
3150
|
-
}
|
|
3033
|
+
"kind": "variable",
|
|
3034
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3035
|
+
"type": {
|
|
3036
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3151
3037
|
},
|
|
3152
|
-
"
|
|
3153
|
-
{
|
|
3154
|
-
"name": "context",
|
|
3155
|
-
"type": {
|
|
3156
|
-
"text": "ElementDefinitionContext"
|
|
3157
|
-
}
|
|
3158
|
-
},
|
|
3159
|
-
{
|
|
3160
|
-
"name": "definition",
|
|
3161
|
-
"type": {
|
|
3162
|
-
"text": "FoundationElementDefinition"
|
|
3163
|
-
}
|
|
3164
|
-
}
|
|
3165
|
-
]
|
|
3038
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3166
3039
|
}
|
|
3167
3040
|
],
|
|
3168
3041
|
"exports": [
|
|
3169
3042
|
{
|
|
3170
3043
|
"kind": "js",
|
|
3171
|
-
"name": "
|
|
3044
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3172
3045
|
"declaration": {
|
|
3173
|
-
"name": "
|
|
3174
|
-
"module": "src/
|
|
3046
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3047
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3175
3048
|
}
|
|
3176
3049
|
}
|
|
3177
3050
|
]
|
|
3178
3051
|
},
|
|
3179
3052
|
{
|
|
3180
3053
|
"kind": "javascript-module",
|
|
3181
|
-
"path": "src/
|
|
3054
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3182
3055
|
"declarations": [
|
|
3183
3056
|
{
|
|
3184
3057
|
"kind": "class",
|
|
3185
|
-
"description": "",
|
|
3186
|
-
"name": "
|
|
3187
|
-
"
|
|
3188
|
-
"name": "FASTAccordion",
|
|
3189
|
-
"package": "@microsoft/fast-foundation"
|
|
3190
|
-
},
|
|
3191
|
-
"tagName": "%%prefix%%-accordion",
|
|
3192
|
-
"customElement": true,
|
|
3193
|
-
"attributes": [
|
|
3058
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3059
|
+
"name": "AiCriteriaSearch",
|
|
3060
|
+
"members": [
|
|
3194
3061
|
{
|
|
3195
|
-
"
|
|
3062
|
+
"kind": "field",
|
|
3063
|
+
"name": "providerRegistry",
|
|
3196
3064
|
"type": {
|
|
3197
|
-
"text": "
|
|
3198
|
-
},
|
|
3199
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3200
|
-
"fieldName": "expandmode",
|
|
3201
|
-
"inheritedFrom": {
|
|
3202
|
-
"name": "Accordion",
|
|
3203
|
-
"module": "src/accordion/accordion.ts"
|
|
3065
|
+
"text": "AIProviderRegistry"
|
|
3204
3066
|
}
|
|
3205
|
-
}
|
|
3206
|
-
],
|
|
3207
|
-
"members": [
|
|
3067
|
+
},
|
|
3208
3068
|
{
|
|
3209
3069
|
"kind": "field",
|
|
3210
|
-
"name": "
|
|
3070
|
+
"name": "placeholder",
|
|
3211
3071
|
"type": {
|
|
3212
|
-
"text": "
|
|
3072
|
+
"text": "string"
|
|
3213
3073
|
},
|
|
3214
|
-
"
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3074
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3075
|
+
},
|
|
3076
|
+
{
|
|
3077
|
+
"kind": "field",
|
|
3078
|
+
"name": "disabled",
|
|
3079
|
+
"type": {
|
|
3080
|
+
"text": "boolean"
|
|
3219
3081
|
}
|
|
3220
3082
|
},
|
|
3221
3083
|
{
|
|
3222
3084
|
"kind": "field",
|
|
3223
|
-
"name": "
|
|
3085
|
+
"name": "inputValue",
|
|
3224
3086
|
"type": {
|
|
3225
|
-
"text": "string
|
|
3087
|
+
"text": "string"
|
|
3226
3088
|
},
|
|
3227
|
-
"
|
|
3228
|
-
"inheritedFrom": {
|
|
3229
|
-
"name": "Accordion",
|
|
3230
|
-
"module": "src/accordion/accordion.ts"
|
|
3231
|
-
}
|
|
3089
|
+
"default": "''"
|
|
3232
3090
|
},
|
|
3233
3091
|
{
|
|
3234
3092
|
"kind": "field",
|
|
3235
|
-
"name": "
|
|
3093
|
+
"name": "isInterpreting",
|
|
3236
3094
|
"type": {
|
|
3237
|
-
"text": "
|
|
3095
|
+
"text": "boolean"
|
|
3238
3096
|
},
|
|
3239
|
-
"
|
|
3240
|
-
"default": "0",
|
|
3241
|
-
"inheritedFrom": {
|
|
3242
|
-
"name": "Accordion",
|
|
3243
|
-
"module": "src/accordion/accordion.ts"
|
|
3244
|
-
}
|
|
3097
|
+
"default": "false"
|
|
3245
3098
|
},
|
|
3246
3099
|
{
|
|
3247
3100
|
"kind": "field",
|
|
3248
|
-
"name": "
|
|
3101
|
+
"name": "lastValidCriteria",
|
|
3249
3102
|
"type": {
|
|
3250
|
-
"text": "
|
|
3103
|
+
"text": "string | null"
|
|
3251
3104
|
},
|
|
3252
|
-
"
|
|
3253
|
-
"inheritedFrom": {
|
|
3254
|
-
"name": "Accordion",
|
|
3255
|
-
"module": "src/accordion/accordion.ts"
|
|
3256
|
-
}
|
|
3105
|
+
"default": "null"
|
|
3257
3106
|
},
|
|
3258
3107
|
{
|
|
3259
3108
|
"kind": "field",
|
|
3260
|
-
"name": "
|
|
3261
|
-
"
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
}
|
|
3109
|
+
"name": "activeGroups",
|
|
3110
|
+
"type": {
|
|
3111
|
+
"text": "CriteriaGroup[]"
|
|
3112
|
+
},
|
|
3113
|
+
"default": "[]"
|
|
3266
3114
|
},
|
|
3267
3115
|
{
|
|
3268
|
-
"kind": "
|
|
3269
|
-
"name": "
|
|
3270
|
-
"
|
|
3271
|
-
|
|
3272
|
-
"type": {
|
|
3273
|
-
"text": "AccordionItem | null"
|
|
3274
|
-
}
|
|
3116
|
+
"kind": "field",
|
|
3117
|
+
"name": "showingChips",
|
|
3118
|
+
"type": {
|
|
3119
|
+
"text": "boolean"
|
|
3275
3120
|
},
|
|
3276
|
-
"
|
|
3277
|
-
"name": "Accordion",
|
|
3278
|
-
"module": "src/accordion/accordion.ts"
|
|
3279
|
-
}
|
|
3121
|
+
"default": "false"
|
|
3280
3122
|
},
|
|
3281
3123
|
{
|
|
3282
3124
|
"kind": "field",
|
|
3283
|
-
"name": "
|
|
3284
|
-
"
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
}
|
|
3125
|
+
"name": "fieldMetadata",
|
|
3126
|
+
"type": {
|
|
3127
|
+
"text": "MetadataDetail[] | string[]"
|
|
3128
|
+
},
|
|
3129
|
+
"default": "[]"
|
|
3289
3130
|
},
|
|
3290
3131
|
{
|
|
3291
|
-
"kind": "
|
|
3292
|
-
"name": "
|
|
3293
|
-
"
|
|
3294
|
-
|
|
3295
|
-
"type": {
|
|
3296
|
-
"text": "void"
|
|
3297
|
-
}
|
|
3132
|
+
"kind": "field",
|
|
3133
|
+
"name": "isRecording",
|
|
3134
|
+
"type": {
|
|
3135
|
+
"text": "boolean"
|
|
3298
3136
|
},
|
|
3299
|
-
"
|
|
3300
|
-
"name": "Accordion",
|
|
3301
|
-
"module": "src/accordion/accordion.ts"
|
|
3302
|
-
}
|
|
3137
|
+
"default": "false"
|
|
3303
3138
|
},
|
|
3304
3139
|
{
|
|
3305
3140
|
"kind": "field",
|
|
3306
|
-
"name": "
|
|
3141
|
+
"name": "textAreaRef",
|
|
3142
|
+
"type": {
|
|
3143
|
+
"text": "HTMLTextAreaElement"
|
|
3144
|
+
},
|
|
3145
|
+
"privacy": "public"
|
|
3146
|
+
},
|
|
3147
|
+
{
|
|
3148
|
+
"kind": "field",
|
|
3149
|
+
"name": "stopRecording",
|
|
3150
|
+
"type": {
|
|
3151
|
+
"text": "(() => void) | null"
|
|
3152
|
+
},
|
|
3307
3153
|
"privacy": "private",
|
|
3308
|
-
"
|
|
3309
|
-
"name": "Accordion",
|
|
3310
|
-
"module": "src/accordion/accordion.ts"
|
|
3311
|
-
}
|
|
3154
|
+
"default": "null"
|
|
3312
3155
|
},
|
|
3313
3156
|
{
|
|
3314
3157
|
"kind": "field",
|
|
3315
|
-
"name": "
|
|
3158
|
+
"name": "speechApplyDebounceTimer",
|
|
3159
|
+
"type": {
|
|
3160
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3161
|
+
},
|
|
3316
3162
|
"privacy": "private",
|
|
3317
|
-
"
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3163
|
+
"default": "null"
|
|
3164
|
+
},
|
|
3165
|
+
{
|
|
3166
|
+
"kind": "field",
|
|
3167
|
+
"name": "speechAvailable",
|
|
3168
|
+
"type": {
|
|
3169
|
+
"text": "boolean"
|
|
3170
|
+
},
|
|
3171
|
+
"readonly": true
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"kind": "field",
|
|
3175
|
+
"name": "criteriaChips",
|
|
3176
|
+
"type": {
|
|
3177
|
+
"text": "CriteriaChip[]"
|
|
3178
|
+
},
|
|
3179
|
+
"readonly": true
|
|
3321
3180
|
},
|
|
3322
3181
|
{
|
|
3323
3182
|
"kind": "method",
|
|
3324
|
-
"name": "
|
|
3183
|
+
"name": "getFieldLabel",
|
|
3325
3184
|
"privacy": "private",
|
|
3326
3185
|
"return": {
|
|
3327
3186
|
"type": {
|
|
3328
|
-
"text": "
|
|
3187
|
+
"text": "string"
|
|
3329
3188
|
}
|
|
3330
3189
|
},
|
|
3331
|
-
"
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3190
|
+
"parameters": [
|
|
3191
|
+
{
|
|
3192
|
+
"name": "fieldName",
|
|
3193
|
+
"type": {
|
|
3194
|
+
"text": "string"
|
|
3195
|
+
}
|
|
3196
|
+
}
|
|
3197
|
+
]
|
|
3335
3198
|
},
|
|
3336
3199
|
{
|
|
3337
3200
|
"kind": "method",
|
|
3338
|
-
"name": "
|
|
3339
|
-
"privacy": "private",
|
|
3201
|
+
"name": "toggleCriteriaView",
|
|
3340
3202
|
"return": {
|
|
3341
3203
|
"type": {
|
|
3342
|
-
"text": "
|
|
3204
|
+
"text": "void"
|
|
3343
3205
|
}
|
|
3344
|
-
},
|
|
3345
|
-
"inheritedFrom": {
|
|
3346
|
-
"name": "Accordion",
|
|
3347
|
-
"module": "src/accordion/accordion.ts"
|
|
3348
|
-
}
|
|
3349
|
-
},
|
|
3350
|
-
{
|
|
3351
|
-
"kind": "field",
|
|
3352
|
-
"name": "handleItemKeyDown",
|
|
3353
|
-
"privacy": "private",
|
|
3354
|
-
"inheritedFrom": {
|
|
3355
|
-
"name": "Accordion",
|
|
3356
|
-
"module": "src/accordion/accordion.ts"
|
|
3357
|
-
}
|
|
3358
|
-
},
|
|
3359
|
-
{
|
|
3360
|
-
"kind": "field",
|
|
3361
|
-
"name": "handleItemFocus",
|
|
3362
|
-
"privacy": "private",
|
|
3363
|
-
"inheritedFrom": {
|
|
3364
|
-
"name": "Accordion",
|
|
3365
|
-
"module": "src/accordion/accordion.ts"
|
|
3366
3206
|
}
|
|
3367
3207
|
},
|
|
3368
3208
|
{
|
|
3369
3209
|
"kind": "method",
|
|
3370
|
-
"name": "
|
|
3371
|
-
"privacy": "private",
|
|
3210
|
+
"name": "removeChip",
|
|
3372
3211
|
"return": {
|
|
3373
3212
|
"type": {
|
|
3374
3213
|
"text": "void"
|
|
@@ -3376,31 +3215,49 @@
|
|
|
3376
3215
|
},
|
|
3377
3216
|
"parameters": [
|
|
3378
3217
|
{
|
|
3379
|
-
"name": "
|
|
3218
|
+
"name": "groupIndex",
|
|
3219
|
+
"type": {
|
|
3220
|
+
"text": "number"
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
"name": "clauseIndex",
|
|
3380
3225
|
"type": {
|
|
3381
3226
|
"text": "number"
|
|
3382
3227
|
}
|
|
3383
3228
|
}
|
|
3384
|
-
]
|
|
3385
|
-
"inheritedFrom": {
|
|
3386
|
-
"name": "Accordion",
|
|
3387
|
-
"module": "src/accordion/accordion.ts"
|
|
3388
|
-
}
|
|
3229
|
+
]
|
|
3389
3230
|
},
|
|
3390
3231
|
{
|
|
3391
3232
|
"kind": "method",
|
|
3392
|
-
"name": "
|
|
3393
|
-
"privacy": "private",
|
|
3233
|
+
"name": "clearChips",
|
|
3394
3234
|
"return": {
|
|
3395
3235
|
"type": {
|
|
3396
3236
|
"text": "void"
|
|
3397
3237
|
}
|
|
3398
|
-
},
|
|
3399
|
-
"inheritedFrom": {
|
|
3400
|
-
"name": "Accordion",
|
|
3401
|
-
"module": "src/accordion/accordion.ts"
|
|
3402
3238
|
}
|
|
3403
3239
|
},
|
|
3240
|
+
{
|
|
3241
|
+
"kind": "method",
|
|
3242
|
+
"name": "handleSubmit"
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"kind": "method",
|
|
3246
|
+
"name": "handleBlur"
|
|
3247
|
+
},
|
|
3248
|
+
{
|
|
3249
|
+
"kind": "method",
|
|
3250
|
+
"name": "clear"
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"kind": "method",
|
|
3254
|
+
"name": "toggleSpeechInput"
|
|
3255
|
+
},
|
|
3256
|
+
{
|
|
3257
|
+
"kind": "method",
|
|
3258
|
+
"name": "clearSpeechApplyDebounce",
|
|
3259
|
+
"privacy": "private"
|
|
3260
|
+
},
|
|
3404
3261
|
{
|
|
3405
3262
|
"kind": "field",
|
|
3406
3263
|
"name": "_presentation",
|
|
@@ -3515,26 +3372,48 @@
|
|
|
3515
3372
|
],
|
|
3516
3373
|
"events": [
|
|
3517
3374
|
{
|
|
3518
|
-
"description": "
|
|
3519
|
-
"name": "
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3375
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3376
|
+
"name": "criteria-changed"
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3380
|
+
"name": "validation-errors"
|
|
3524
3381
|
}
|
|
3525
|
-
]
|
|
3382
|
+
],
|
|
3383
|
+
"attributes": [
|
|
3384
|
+
{
|
|
3385
|
+
"name": "placeholder",
|
|
3386
|
+
"type": {
|
|
3387
|
+
"text": "string"
|
|
3388
|
+
},
|
|
3389
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3390
|
+
"fieldName": "placeholder"
|
|
3391
|
+
},
|
|
3392
|
+
{
|
|
3393
|
+
"type": {
|
|
3394
|
+
"text": "boolean"
|
|
3395
|
+
},
|
|
3396
|
+
"fieldName": "disabled"
|
|
3397
|
+
}
|
|
3398
|
+
],
|
|
3399
|
+
"superclass": {
|
|
3400
|
+
"name": "FoundationElement",
|
|
3401
|
+
"package": "@microsoft/fast-foundation"
|
|
3402
|
+
},
|
|
3403
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3404
|
+
"customElement": true
|
|
3526
3405
|
},
|
|
3527
3406
|
{
|
|
3528
3407
|
"kind": "variable",
|
|
3529
|
-
"name": "
|
|
3408
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3530
3409
|
"type": {
|
|
3531
3410
|
"text": "ShadowRootInit"
|
|
3532
3411
|
},
|
|
3533
|
-
"default": "
|
|
3412
|
+
"default": "undefined"
|
|
3534
3413
|
},
|
|
3535
3414
|
{
|
|
3536
3415
|
"kind": "variable",
|
|
3537
|
-
"name": "
|
|
3416
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3538
3417
|
"type": {
|
|
3539
3418
|
"text": "object"
|
|
3540
3419
|
},
|
|
@@ -3542,57 +3421,103 @@
|
|
|
3542
3421
|
},
|
|
3543
3422
|
{
|
|
3544
3423
|
"kind": "variable",
|
|
3545
|
-
"name": "
|
|
3546
|
-
"description": "The Foundation Accordion",
|
|
3547
|
-
"privacy": "public"
|
|
3424
|
+
"name": "foundationAiCriteriaSearch"
|
|
3548
3425
|
}
|
|
3549
3426
|
],
|
|
3550
3427
|
"exports": [
|
|
3551
3428
|
{
|
|
3552
3429
|
"kind": "js",
|
|
3553
|
-
"name": "
|
|
3430
|
+
"name": "AiCriteriaSearch",
|
|
3554
3431
|
"declaration": {
|
|
3555
|
-
"name": "
|
|
3556
|
-
"module": "src/
|
|
3432
|
+
"name": "AiCriteriaSearch",
|
|
3433
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3557
3434
|
}
|
|
3558
3435
|
},
|
|
3559
3436
|
{
|
|
3560
3437
|
"kind": "js",
|
|
3561
|
-
"name": "
|
|
3438
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3562
3439
|
"declaration": {
|
|
3563
|
-
"name": "
|
|
3564
|
-
"module": "src/
|
|
3440
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3441
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3565
3442
|
}
|
|
3566
3443
|
},
|
|
3567
3444
|
{
|
|
3568
3445
|
"kind": "js",
|
|
3569
|
-
"name": "
|
|
3446
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3570
3447
|
"declaration": {
|
|
3571
|
-
"name": "
|
|
3572
|
-
"module": "src/
|
|
3448
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3449
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3573
3450
|
}
|
|
3574
3451
|
},
|
|
3575
3452
|
{
|
|
3576
3453
|
"kind": "js",
|
|
3577
|
-
"name": "
|
|
3454
|
+
"name": "foundationAiCriteriaSearch",
|
|
3578
3455
|
"declaration": {
|
|
3579
|
-
"name": "
|
|
3580
|
-
"module": "src/
|
|
3456
|
+
"name": "foundationAiCriteriaSearch",
|
|
3457
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3581
3458
|
}
|
|
3582
3459
|
}
|
|
3583
3460
|
]
|
|
3584
3461
|
},
|
|
3585
3462
|
{
|
|
3586
3463
|
"kind": "javascript-module",
|
|
3587
|
-
"path": "src/
|
|
3464
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3588
3465
|
"declarations": [],
|
|
3589
3466
|
"exports": [
|
|
3467
|
+
{
|
|
3468
|
+
"kind": "js",
|
|
3469
|
+
"name": "AiCriteriaSearch",
|
|
3470
|
+
"declaration": {
|
|
3471
|
+
"name": "AiCriteriaSearch",
|
|
3472
|
+
"module": "./ai-criteria-search"
|
|
3473
|
+
}
|
|
3474
|
+
},
|
|
3475
|
+
{
|
|
3476
|
+
"kind": "js",
|
|
3477
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3478
|
+
"declaration": {
|
|
3479
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3480
|
+
"module": "./ai-criteria-search"
|
|
3481
|
+
}
|
|
3482
|
+
},
|
|
3483
|
+
{
|
|
3484
|
+
"kind": "js",
|
|
3485
|
+
"name": "foundationAiCriteriaSearch",
|
|
3486
|
+
"declaration": {
|
|
3487
|
+
"name": "foundationAiCriteriaSearch",
|
|
3488
|
+
"module": "./ai-criteria-search"
|
|
3489
|
+
}
|
|
3490
|
+
},
|
|
3491
|
+
{
|
|
3492
|
+
"kind": "js",
|
|
3493
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3494
|
+
"declaration": {
|
|
3495
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3496
|
+
"module": "./ai-criteria-search"
|
|
3497
|
+
}
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
"kind": "js",
|
|
3501
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3502
|
+
"declaration": {
|
|
3503
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3504
|
+
"module": "./ai-criteria-search.styles"
|
|
3505
|
+
}
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
"kind": "js",
|
|
3509
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3510
|
+
"declaration": {
|
|
3511
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3512
|
+
"module": "./ai-criteria-search.template"
|
|
3513
|
+
}
|
|
3514
|
+
},
|
|
3590
3515
|
{
|
|
3591
3516
|
"kind": "js",
|
|
3592
3517
|
"name": "*",
|
|
3593
3518
|
"declaration": {
|
|
3594
3519
|
"name": "*",
|
|
3595
|
-
"package": "./
|
|
3520
|
+
"package": "./validation/criteria-ir"
|
|
3596
3521
|
}
|
|
3597
3522
|
},
|
|
3598
3523
|
{
|
|
@@ -3600,7 +3525,7 @@
|
|
|
3600
3525
|
"name": "*",
|
|
3601
3526
|
"declaration": {
|
|
3602
3527
|
"name": "*",
|
|
3603
|
-
"package": "./
|
|
3528
|
+
"package": "./validation/operator-map"
|
|
3604
3529
|
}
|
|
3605
3530
|
},
|
|
3606
3531
|
{
|
|
@@ -3608,7 +3533,82 @@
|
|
|
3608
3533
|
"name": "*",
|
|
3609
3534
|
"declaration": {
|
|
3610
3535
|
"name": "*",
|
|
3611
|
-
"package": "./
|
|
3536
|
+
"package": "./validation/schema-validator"
|
|
3537
|
+
}
|
|
3538
|
+
}
|
|
3539
|
+
]
|
|
3540
|
+
},
|
|
3541
|
+
{
|
|
3542
|
+
"kind": "javascript-module",
|
|
3543
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3544
|
+
"declarations": [
|
|
3545
|
+
{
|
|
3546
|
+
"kind": "function",
|
|
3547
|
+
"name": "formatValidationErrors",
|
|
3548
|
+
"return": {
|
|
3549
|
+
"type": {
|
|
3550
|
+
"text": "string"
|
|
3551
|
+
}
|
|
3552
|
+
},
|
|
3553
|
+
"parameters": [
|
|
3554
|
+
{
|
|
3555
|
+
"name": "errors",
|
|
3556
|
+
"type": {
|
|
3557
|
+
"text": "ValidationError[]"
|
|
3558
|
+
}
|
|
3559
|
+
}
|
|
3560
|
+
],
|
|
3561
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3562
|
+
},
|
|
3563
|
+
{
|
|
3564
|
+
"kind": "function",
|
|
3565
|
+
"name": "showCriteriaError",
|
|
3566
|
+
"return": {
|
|
3567
|
+
"type": {
|
|
3568
|
+
"text": "void"
|
|
3569
|
+
}
|
|
3570
|
+
},
|
|
3571
|
+
"parameters": [
|
|
3572
|
+
{
|
|
3573
|
+
"name": "title",
|
|
3574
|
+
"type": {
|
|
3575
|
+
"text": "string"
|
|
3576
|
+
},
|
|
3577
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3578
|
+
},
|
|
3579
|
+
{
|
|
3580
|
+
"name": "body",
|
|
3581
|
+
"type": {
|
|
3582
|
+
"text": "string"
|
|
3583
|
+
},
|
|
3584
|
+
"description": "Error message to display"
|
|
3585
|
+
},
|
|
3586
|
+
{
|
|
3587
|
+
"name": "tagName",
|
|
3588
|
+
"type": {
|
|
3589
|
+
"text": "string"
|
|
3590
|
+
},
|
|
3591
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3592
|
+
}
|
|
3593
|
+
],
|
|
3594
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3595
|
+
}
|
|
3596
|
+
],
|
|
3597
|
+
"exports": [
|
|
3598
|
+
{
|
|
3599
|
+
"kind": "js",
|
|
3600
|
+
"name": "formatValidationErrors",
|
|
3601
|
+
"declaration": {
|
|
3602
|
+
"name": "formatValidationErrors",
|
|
3603
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3604
|
+
}
|
|
3605
|
+
},
|
|
3606
|
+
{
|
|
3607
|
+
"kind": "js",
|
|
3608
|
+
"name": "showCriteriaError",
|
|
3609
|
+
"declaration": {
|
|
3610
|
+
"name": "showCriteriaError",
|
|
3611
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3612
3612
|
}
|
|
3613
3613
|
}
|
|
3614
3614
|
]
|
|
@@ -60120,197 +60120,6 @@
|
|
|
60120
60120
|
}
|
|
60121
60121
|
]
|
|
60122
60122
|
},
|
|
60123
|
-
{
|
|
60124
|
-
"kind": "javascript-module",
|
|
60125
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
60126
|
-
"declarations": [],
|
|
60127
|
-
"exports": []
|
|
60128
|
-
},
|
|
60129
|
-
{
|
|
60130
|
-
"kind": "javascript-module",
|
|
60131
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
60132
|
-
"declarations": [
|
|
60133
|
-
{
|
|
60134
|
-
"kind": "function",
|
|
60135
|
-
"name": "groupsToCriteria",
|
|
60136
|
-
"return": {
|
|
60137
|
-
"type": {
|
|
60138
|
-
"text": "string"
|
|
60139
|
-
}
|
|
60140
|
-
},
|
|
60141
|
-
"parameters": [
|
|
60142
|
-
{
|
|
60143
|
-
"name": "groups",
|
|
60144
|
-
"type": {
|
|
60145
|
-
"text": "CriteriaGroup[]"
|
|
60146
|
-
}
|
|
60147
|
-
}
|
|
60148
|
-
],
|
|
60149
|
-
"description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
|
|
60150
|
-
},
|
|
60151
|
-
{
|
|
60152
|
-
"kind": "variable",
|
|
60153
|
-
"name": "STRING_OPERATORS",
|
|
60154
|
-
"type": {
|
|
60155
|
-
"text": "CriteriaOperator[]"
|
|
60156
|
-
},
|
|
60157
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
60158
|
-
},
|
|
60159
|
-
{
|
|
60160
|
-
"kind": "variable",
|
|
60161
|
-
"name": "NUMERIC_OPERATORS",
|
|
60162
|
-
"type": {
|
|
60163
|
-
"text": "CriteriaOperator[]"
|
|
60164
|
-
},
|
|
60165
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
60166
|
-
},
|
|
60167
|
-
{
|
|
60168
|
-
"kind": "variable",
|
|
60169
|
-
"name": "DATE_OPERATORS",
|
|
60170
|
-
"type": {
|
|
60171
|
-
"text": "CriteriaOperator[]"
|
|
60172
|
-
},
|
|
60173
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
60174
|
-
},
|
|
60175
|
-
{
|
|
60176
|
-
"kind": "variable",
|
|
60177
|
-
"name": "DATETIME_OPERATORS",
|
|
60178
|
-
"type": {
|
|
60179
|
-
"text": "CriteriaOperator[]"
|
|
60180
|
-
},
|
|
60181
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
60182
|
-
},
|
|
60183
|
-
{
|
|
60184
|
-
"kind": "variable",
|
|
60185
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60186
|
-
"type": {
|
|
60187
|
-
"text": "Record<CriteriaOperator, string>"
|
|
60188
|
-
},
|
|
60189
|
-
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
60190
|
-
}
|
|
60191
|
-
],
|
|
60192
|
-
"exports": [
|
|
60193
|
-
{
|
|
60194
|
-
"kind": "js",
|
|
60195
|
-
"name": "groupsToCriteria",
|
|
60196
|
-
"declaration": {
|
|
60197
|
-
"name": "groupsToCriteria",
|
|
60198
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60199
|
-
}
|
|
60200
|
-
},
|
|
60201
|
-
{
|
|
60202
|
-
"kind": "js",
|
|
60203
|
-
"name": "STRING_OPERATORS",
|
|
60204
|
-
"declaration": {
|
|
60205
|
-
"name": "STRING_OPERATORS",
|
|
60206
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60207
|
-
}
|
|
60208
|
-
},
|
|
60209
|
-
{
|
|
60210
|
-
"kind": "js",
|
|
60211
|
-
"name": "NUMERIC_OPERATORS",
|
|
60212
|
-
"declaration": {
|
|
60213
|
-
"name": "NUMERIC_OPERATORS",
|
|
60214
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60215
|
-
}
|
|
60216
|
-
},
|
|
60217
|
-
{
|
|
60218
|
-
"kind": "js",
|
|
60219
|
-
"name": "DATE_OPERATORS",
|
|
60220
|
-
"declaration": {
|
|
60221
|
-
"name": "DATE_OPERATORS",
|
|
60222
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60223
|
-
}
|
|
60224
|
-
},
|
|
60225
|
-
{
|
|
60226
|
-
"kind": "js",
|
|
60227
|
-
"name": "DATETIME_OPERATORS",
|
|
60228
|
-
"declaration": {
|
|
60229
|
-
"name": "DATETIME_OPERATORS",
|
|
60230
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60231
|
-
}
|
|
60232
|
-
},
|
|
60233
|
-
{
|
|
60234
|
-
"kind": "js",
|
|
60235
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60236
|
-
"declaration": {
|
|
60237
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60238
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60239
|
-
}
|
|
60240
|
-
}
|
|
60241
|
-
]
|
|
60242
|
-
},
|
|
60243
|
-
{
|
|
60244
|
-
"kind": "javascript-module",
|
|
60245
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
60246
|
-
"declarations": [
|
|
60247
|
-
{
|
|
60248
|
-
"kind": "function",
|
|
60249
|
-
"name": "validateClauses",
|
|
60250
|
-
"return": {
|
|
60251
|
-
"type": {
|
|
60252
|
-
"text": "ValidationResult"
|
|
60253
|
-
}
|
|
60254
|
-
},
|
|
60255
|
-
"parameters": [
|
|
60256
|
-
{
|
|
60257
|
-
"name": "clauses",
|
|
60258
|
-
"type": {
|
|
60259
|
-
"text": "CriteriaClause[]"
|
|
60260
|
-
}
|
|
60261
|
-
},
|
|
60262
|
-
{
|
|
60263
|
-
"name": "fieldMetadata",
|
|
60264
|
-
"type": {
|
|
60265
|
-
"text": "MetadataDetail[] | string[]"
|
|
60266
|
-
}
|
|
60267
|
-
}
|
|
60268
|
-
]
|
|
60269
|
-
},
|
|
60270
|
-
{
|
|
60271
|
-
"kind": "function",
|
|
60272
|
-
"name": "validateGroups",
|
|
60273
|
-
"return": {
|
|
60274
|
-
"type": {
|
|
60275
|
-
"text": "GroupsValidationResult"
|
|
60276
|
-
}
|
|
60277
|
-
},
|
|
60278
|
-
"parameters": [
|
|
60279
|
-
{
|
|
60280
|
-
"name": "groups",
|
|
60281
|
-
"type": {
|
|
60282
|
-
"text": "CriteriaGroup[]"
|
|
60283
|
-
}
|
|
60284
|
-
},
|
|
60285
|
-
{
|
|
60286
|
-
"name": "fieldMetadata",
|
|
60287
|
-
"type": {
|
|
60288
|
-
"text": "MetadataDetail[] | string[]"
|
|
60289
|
-
}
|
|
60290
|
-
}
|
|
60291
|
-
],
|
|
60292
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
60293
|
-
}
|
|
60294
|
-
],
|
|
60295
|
-
"exports": [
|
|
60296
|
-
{
|
|
60297
|
-
"kind": "js",
|
|
60298
|
-
"name": "validateClauses",
|
|
60299
|
-
"declaration": {
|
|
60300
|
-
"name": "validateClauses",
|
|
60301
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60302
|
-
}
|
|
60303
|
-
},
|
|
60304
|
-
{
|
|
60305
|
-
"kind": "js",
|
|
60306
|
-
"name": "validateGroups",
|
|
60307
|
-
"declaration": {
|
|
60308
|
-
"name": "validateGroups",
|
|
60309
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60310
|
-
}
|
|
60311
|
-
}
|
|
60312
|
-
]
|
|
60313
|
-
},
|
|
60314
60123
|
{
|
|
60315
60124
|
"kind": "javascript-module",
|
|
60316
60125
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -61683,6 +61492,197 @@
|
|
|
61683
61492
|
"declarations": [],
|
|
61684
61493
|
"exports": []
|
|
61685
61494
|
},
|
|
61495
|
+
{
|
|
61496
|
+
"kind": "javascript-module",
|
|
61497
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
61498
|
+
"declarations": [],
|
|
61499
|
+
"exports": []
|
|
61500
|
+
},
|
|
61501
|
+
{
|
|
61502
|
+
"kind": "javascript-module",
|
|
61503
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
61504
|
+
"declarations": [
|
|
61505
|
+
{
|
|
61506
|
+
"kind": "function",
|
|
61507
|
+
"name": "groupsToCriteria",
|
|
61508
|
+
"return": {
|
|
61509
|
+
"type": {
|
|
61510
|
+
"text": "string"
|
|
61511
|
+
}
|
|
61512
|
+
},
|
|
61513
|
+
"parameters": [
|
|
61514
|
+
{
|
|
61515
|
+
"name": "groups",
|
|
61516
|
+
"type": {
|
|
61517
|
+
"text": "CriteriaGroup[]"
|
|
61518
|
+
}
|
|
61519
|
+
}
|
|
61520
|
+
],
|
|
61521
|
+
"description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
|
|
61522
|
+
},
|
|
61523
|
+
{
|
|
61524
|
+
"kind": "variable",
|
|
61525
|
+
"name": "STRING_OPERATORS",
|
|
61526
|
+
"type": {
|
|
61527
|
+
"text": "CriteriaOperator[]"
|
|
61528
|
+
},
|
|
61529
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
61530
|
+
},
|
|
61531
|
+
{
|
|
61532
|
+
"kind": "variable",
|
|
61533
|
+
"name": "NUMERIC_OPERATORS",
|
|
61534
|
+
"type": {
|
|
61535
|
+
"text": "CriteriaOperator[]"
|
|
61536
|
+
},
|
|
61537
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
61538
|
+
},
|
|
61539
|
+
{
|
|
61540
|
+
"kind": "variable",
|
|
61541
|
+
"name": "DATE_OPERATORS",
|
|
61542
|
+
"type": {
|
|
61543
|
+
"text": "CriteriaOperator[]"
|
|
61544
|
+
},
|
|
61545
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
61546
|
+
},
|
|
61547
|
+
{
|
|
61548
|
+
"kind": "variable",
|
|
61549
|
+
"name": "DATETIME_OPERATORS",
|
|
61550
|
+
"type": {
|
|
61551
|
+
"text": "CriteriaOperator[]"
|
|
61552
|
+
},
|
|
61553
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
61554
|
+
},
|
|
61555
|
+
{
|
|
61556
|
+
"kind": "variable",
|
|
61557
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61558
|
+
"type": {
|
|
61559
|
+
"text": "Record<CriteriaOperator, string>"
|
|
61560
|
+
},
|
|
61561
|
+
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
61562
|
+
}
|
|
61563
|
+
],
|
|
61564
|
+
"exports": [
|
|
61565
|
+
{
|
|
61566
|
+
"kind": "js",
|
|
61567
|
+
"name": "groupsToCriteria",
|
|
61568
|
+
"declaration": {
|
|
61569
|
+
"name": "groupsToCriteria",
|
|
61570
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61571
|
+
}
|
|
61572
|
+
},
|
|
61573
|
+
{
|
|
61574
|
+
"kind": "js",
|
|
61575
|
+
"name": "STRING_OPERATORS",
|
|
61576
|
+
"declaration": {
|
|
61577
|
+
"name": "STRING_OPERATORS",
|
|
61578
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61579
|
+
}
|
|
61580
|
+
},
|
|
61581
|
+
{
|
|
61582
|
+
"kind": "js",
|
|
61583
|
+
"name": "NUMERIC_OPERATORS",
|
|
61584
|
+
"declaration": {
|
|
61585
|
+
"name": "NUMERIC_OPERATORS",
|
|
61586
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61587
|
+
}
|
|
61588
|
+
},
|
|
61589
|
+
{
|
|
61590
|
+
"kind": "js",
|
|
61591
|
+
"name": "DATE_OPERATORS",
|
|
61592
|
+
"declaration": {
|
|
61593
|
+
"name": "DATE_OPERATORS",
|
|
61594
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61595
|
+
}
|
|
61596
|
+
},
|
|
61597
|
+
{
|
|
61598
|
+
"kind": "js",
|
|
61599
|
+
"name": "DATETIME_OPERATORS",
|
|
61600
|
+
"declaration": {
|
|
61601
|
+
"name": "DATETIME_OPERATORS",
|
|
61602
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61603
|
+
}
|
|
61604
|
+
},
|
|
61605
|
+
{
|
|
61606
|
+
"kind": "js",
|
|
61607
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61608
|
+
"declaration": {
|
|
61609
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61610
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61611
|
+
}
|
|
61612
|
+
}
|
|
61613
|
+
]
|
|
61614
|
+
},
|
|
61615
|
+
{
|
|
61616
|
+
"kind": "javascript-module",
|
|
61617
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
61618
|
+
"declarations": [
|
|
61619
|
+
{
|
|
61620
|
+
"kind": "function",
|
|
61621
|
+
"name": "validateClauses",
|
|
61622
|
+
"return": {
|
|
61623
|
+
"type": {
|
|
61624
|
+
"text": "ValidationResult"
|
|
61625
|
+
}
|
|
61626
|
+
},
|
|
61627
|
+
"parameters": [
|
|
61628
|
+
{
|
|
61629
|
+
"name": "clauses",
|
|
61630
|
+
"type": {
|
|
61631
|
+
"text": "CriteriaClause[]"
|
|
61632
|
+
}
|
|
61633
|
+
},
|
|
61634
|
+
{
|
|
61635
|
+
"name": "fieldMetadata",
|
|
61636
|
+
"type": {
|
|
61637
|
+
"text": "MetadataDetail[] | string[]"
|
|
61638
|
+
}
|
|
61639
|
+
}
|
|
61640
|
+
]
|
|
61641
|
+
},
|
|
61642
|
+
{
|
|
61643
|
+
"kind": "function",
|
|
61644
|
+
"name": "validateGroups",
|
|
61645
|
+
"return": {
|
|
61646
|
+
"type": {
|
|
61647
|
+
"text": "GroupsValidationResult"
|
|
61648
|
+
}
|
|
61649
|
+
},
|
|
61650
|
+
"parameters": [
|
|
61651
|
+
{
|
|
61652
|
+
"name": "groups",
|
|
61653
|
+
"type": {
|
|
61654
|
+
"text": "CriteriaGroup[]"
|
|
61655
|
+
}
|
|
61656
|
+
},
|
|
61657
|
+
{
|
|
61658
|
+
"name": "fieldMetadata",
|
|
61659
|
+
"type": {
|
|
61660
|
+
"text": "MetadataDetail[] | string[]"
|
|
61661
|
+
}
|
|
61662
|
+
}
|
|
61663
|
+
],
|
|
61664
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
61665
|
+
}
|
|
61666
|
+
],
|
|
61667
|
+
"exports": [
|
|
61668
|
+
{
|
|
61669
|
+
"kind": "js",
|
|
61670
|
+
"name": "validateClauses",
|
|
61671
|
+
"declaration": {
|
|
61672
|
+
"name": "validateClauses",
|
|
61673
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61674
|
+
}
|
|
61675
|
+
},
|
|
61676
|
+
{
|
|
61677
|
+
"kind": "js",
|
|
61678
|
+
"name": "validateGroups",
|
|
61679
|
+
"declaration": {
|
|
61680
|
+
"name": "validateGroups",
|
|
61681
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61682
|
+
}
|
|
61683
|
+
}
|
|
61684
|
+
]
|
|
61685
|
+
},
|
|
61686
61686
|
{
|
|
61687
61687
|
"kind": "javascript-module",
|
|
61688
61688
|
"path": "src/environment-indicator/utils/configure.ts",
|