@genesislcap/foundation-ui 15.3.3 → 15.3.4-GENC-1475.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1549 -1549
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -956,6 +956,503 @@
|
|
|
956
956
|
}
|
|
957
957
|
]
|
|
958
958
|
},
|
|
959
|
+
{
|
|
960
|
+
"kind": "javascript-module",
|
|
961
|
+
"path": "src/_common/affix-mixin.ts",
|
|
962
|
+
"declarations": [
|
|
963
|
+
{
|
|
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": [
|
|
968
|
+
{
|
|
969
|
+
"kind": "field",
|
|
970
|
+
"name": "prefix",
|
|
971
|
+
"type": {
|
|
972
|
+
"text": "string"
|
|
973
|
+
},
|
|
974
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"kind": "field",
|
|
978
|
+
"name": "suffix",
|
|
979
|
+
"type": {
|
|
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"
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
]
|
|
1002
|
+
}
|
|
1003
|
+
],
|
|
1004
|
+
"exports": [
|
|
1005
|
+
{
|
|
1006
|
+
"kind": "js",
|
|
1007
|
+
"name": "AffixMixin",
|
|
1008
|
+
"declaration": {
|
|
1009
|
+
"name": "AffixMixin",
|
|
1010
|
+
"module": "src/_common/affix-mixin.ts"
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
]
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"kind": "javascript-module",
|
|
1017
|
+
"path": "src/_common/base-file-component.ts",
|
|
1018
|
+
"declarations": [
|
|
1019
|
+
{
|
|
1020
|
+
"kind": "class",
|
|
1021
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
1022
|
+
"name": "BaseFileComponent",
|
|
1023
|
+
"members": [
|
|
1024
|
+
{
|
|
1025
|
+
"kind": "field",
|
|
1026
|
+
"name": "fileInput",
|
|
1027
|
+
"type": {
|
|
1028
|
+
"text": "HTMLInputElement"
|
|
1029
|
+
},
|
|
1030
|
+
"privacy": "public"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"kind": "field",
|
|
1034
|
+
"name": "selectedFile",
|
|
1035
|
+
"type": {
|
|
1036
|
+
"text": "File | null"
|
|
1037
|
+
},
|
|
1038
|
+
"privacy": "protected",
|
|
1039
|
+
"default": "null"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"kind": "field",
|
|
1043
|
+
"name": "label",
|
|
1044
|
+
"type": {
|
|
1045
|
+
"text": "string"
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"kind": "field",
|
|
1050
|
+
"name": "accept",
|
|
1051
|
+
"type": {
|
|
1052
|
+
"text": "string"
|
|
1053
|
+
},
|
|
1054
|
+
"default": "''"
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"kind": "field",
|
|
1058
|
+
"name": "fileSizeLimitBytes",
|
|
1059
|
+
"default": "10_485_760",
|
|
1060
|
+
"type": {
|
|
1061
|
+
"text": "number"
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"kind": "field",
|
|
1066
|
+
"name": "fileName",
|
|
1067
|
+
"type": {
|
|
1068
|
+
"text": "string"
|
|
1069
|
+
},
|
|
1070
|
+
"default": "''"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"kind": "field",
|
|
1074
|
+
"name": "isProcessing",
|
|
1075
|
+
"type": {
|
|
1076
|
+
"text": "boolean"
|
|
1077
|
+
},
|
|
1078
|
+
"default": "false"
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"kind": "method",
|
|
1082
|
+
"name": "handleClick",
|
|
1083
|
+
"privacy": "public",
|
|
1084
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
"kind": "method",
|
|
1088
|
+
"name": "onInputChange",
|
|
1089
|
+
"privacy": "public",
|
|
1090
|
+
"parameters": [
|
|
1091
|
+
{
|
|
1092
|
+
"name": "e",
|
|
1093
|
+
"type": {
|
|
1094
|
+
"text": "Event"
|
|
1095
|
+
},
|
|
1096
|
+
"description": "The change event from the file input"
|
|
1097
|
+
}
|
|
1098
|
+
],
|
|
1099
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"kind": "method",
|
|
1103
|
+
"name": "clearSelection",
|
|
1104
|
+
"privacy": "public",
|
|
1105
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"kind": "method",
|
|
1109
|
+
"name": "getSelectedFile",
|
|
1110
|
+
"privacy": "public",
|
|
1111
|
+
"description": "Gets the currently selected file object",
|
|
1112
|
+
"return": {
|
|
1113
|
+
"type": {
|
|
1114
|
+
"text": ""
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"kind": "method",
|
|
1120
|
+
"name": "showError",
|
|
1121
|
+
"privacy": "protected",
|
|
1122
|
+
"parameters": [
|
|
1123
|
+
{
|
|
1124
|
+
"name": "title",
|
|
1125
|
+
"type": {
|
|
1126
|
+
"text": "string"
|
|
1127
|
+
},
|
|
1128
|
+
"description": "The error title"
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"name": "message",
|
|
1132
|
+
"type": {
|
|
1133
|
+
"text": "string"
|
|
1134
|
+
},
|
|
1135
|
+
"description": "The error message"
|
|
1136
|
+
}
|
|
1137
|
+
],
|
|
1138
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
"kind": "method",
|
|
1142
|
+
"name": "onFileSelected",
|
|
1143
|
+
"privacy": "protected",
|
|
1144
|
+
"return": {
|
|
1145
|
+
"type": {
|
|
1146
|
+
"text": "void"
|
|
1147
|
+
}
|
|
1148
|
+
},
|
|
1149
|
+
"parameters": [
|
|
1150
|
+
{
|
|
1151
|
+
"name": "files",
|
|
1152
|
+
"type": {
|
|
1153
|
+
"text": "File[]"
|
|
1154
|
+
},
|
|
1155
|
+
"description": "The selected file"
|
|
1156
|
+
}
|
|
1157
|
+
],
|
|
1158
|
+
"description": "Abstract method called when a file is selected"
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"kind": "method",
|
|
1162
|
+
"name": "onFileCleared",
|
|
1163
|
+
"privacy": "protected",
|
|
1164
|
+
"return": {
|
|
1165
|
+
"type": {
|
|
1166
|
+
"text": "void"
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
"description": "Abstract method called when file selection is cleared"
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
"kind": "field",
|
|
1173
|
+
"name": "_presentation",
|
|
1174
|
+
"type": {
|
|
1175
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1176
|
+
},
|
|
1177
|
+
"privacy": "private",
|
|
1178
|
+
"default": "void 0",
|
|
1179
|
+
"inheritedFrom": {
|
|
1180
|
+
"name": "FoundationElement",
|
|
1181
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"kind": "field",
|
|
1186
|
+
"name": "$presentation",
|
|
1187
|
+
"type": {
|
|
1188
|
+
"text": "ComponentPresentation | null"
|
|
1189
|
+
},
|
|
1190
|
+
"privacy": "public",
|
|
1191
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1192
|
+
"inheritedFrom": {
|
|
1193
|
+
"name": "FoundationElement",
|
|
1194
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1195
|
+
}
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
"kind": "field",
|
|
1199
|
+
"name": "template",
|
|
1200
|
+
"type": {
|
|
1201
|
+
"text": "ElementViewTemplate | void | null"
|
|
1202
|
+
},
|
|
1203
|
+
"privacy": "public",
|
|
1204
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1205
|
+
"inheritedFrom": {
|
|
1206
|
+
"name": "FoundationElement",
|
|
1207
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1208
|
+
}
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
"kind": "method",
|
|
1212
|
+
"name": "templateChanged",
|
|
1213
|
+
"privacy": "protected",
|
|
1214
|
+
"return": {
|
|
1215
|
+
"type": {
|
|
1216
|
+
"text": "void"
|
|
1217
|
+
}
|
|
1218
|
+
},
|
|
1219
|
+
"inheritedFrom": {
|
|
1220
|
+
"name": "FoundationElement",
|
|
1221
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1222
|
+
}
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"kind": "field",
|
|
1226
|
+
"name": "styles",
|
|
1227
|
+
"type": {
|
|
1228
|
+
"text": "ElementStyles | void | null"
|
|
1229
|
+
},
|
|
1230
|
+
"privacy": "public",
|
|
1231
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1232
|
+
"inheritedFrom": {
|
|
1233
|
+
"name": "FoundationElement",
|
|
1234
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1235
|
+
}
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"kind": "method",
|
|
1239
|
+
"name": "stylesChanged",
|
|
1240
|
+
"privacy": "protected",
|
|
1241
|
+
"return": {
|
|
1242
|
+
"type": {
|
|
1243
|
+
"text": "void"
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
"inheritedFrom": {
|
|
1247
|
+
"name": "FoundationElement",
|
|
1248
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1249
|
+
}
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"kind": "method",
|
|
1253
|
+
"name": "compose",
|
|
1254
|
+
"privacy": "public",
|
|
1255
|
+
"static": true,
|
|
1256
|
+
"return": {
|
|
1257
|
+
"type": {
|
|
1258
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1259
|
+
}
|
|
1260
|
+
},
|
|
1261
|
+
"parameters": [
|
|
1262
|
+
{
|
|
1263
|
+
"name": "this",
|
|
1264
|
+
"type": {
|
|
1265
|
+
"text": "K"
|
|
1266
|
+
}
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
"name": "elementDefinition",
|
|
1270
|
+
"type": {
|
|
1271
|
+
"text": "T"
|
|
1272
|
+
},
|
|
1273
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1274
|
+
}
|
|
1275
|
+
],
|
|
1276
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1277
|
+
"inheritedFrom": {
|
|
1278
|
+
"name": "FoundationElement",
|
|
1279
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
],
|
|
1283
|
+
"events": [
|
|
1284
|
+
{
|
|
1285
|
+
"description": "Fired when file size validation fails. detail: `Error`",
|
|
1286
|
+
"name": "error"
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"description": "Fired when selection is cleared",
|
|
1290
|
+
"name": "clear"
|
|
1291
|
+
}
|
|
1292
|
+
],
|
|
1293
|
+
"attributes": [
|
|
1294
|
+
{
|
|
1295
|
+
"name": "label",
|
|
1296
|
+
"type": {
|
|
1297
|
+
"text": "string"
|
|
1298
|
+
},
|
|
1299
|
+
"fieldName": "label"
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"name": "accept",
|
|
1303
|
+
"type": {
|
|
1304
|
+
"text": "string"
|
|
1305
|
+
},
|
|
1306
|
+
"default": "''",
|
|
1307
|
+
"fieldName": "accept"
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"name": "file-size-limit-bytes",
|
|
1311
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1312
|
+
"resolveInitializer": {
|
|
1313
|
+
"module": "src/_common/base-file-component.ts"
|
|
1314
|
+
},
|
|
1315
|
+
"fieldName": "fileSizeLimitBytes"
|
|
1316
|
+
}
|
|
1317
|
+
],
|
|
1318
|
+
"superclass": {
|
|
1319
|
+
"name": "FoundationElement",
|
|
1320
|
+
"package": "@microsoft/fast-foundation"
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
],
|
|
1324
|
+
"exports": [
|
|
1325
|
+
{
|
|
1326
|
+
"kind": "js",
|
|
1327
|
+
"name": "BaseFileComponent",
|
|
1328
|
+
"declaration": {
|
|
1329
|
+
"name": "BaseFileComponent",
|
|
1330
|
+
"module": "src/_common/base-file-component.ts"
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
]
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
"kind": "javascript-module",
|
|
1337
|
+
"path": "src/_common/field-styles.ts",
|
|
1338
|
+
"declarations": [
|
|
1339
|
+
{
|
|
1340
|
+
"kind": "variable",
|
|
1341
|
+
"name": "sharedFieldStyles",
|
|
1342
|
+
"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`"
|
|
1343
|
+
}
|
|
1344
|
+
],
|
|
1345
|
+
"exports": [
|
|
1346
|
+
{
|
|
1347
|
+
"kind": "js",
|
|
1348
|
+
"name": "sharedFieldStyles",
|
|
1349
|
+
"declaration": {
|
|
1350
|
+
"name": "sharedFieldStyles",
|
|
1351
|
+
"module": "src/_common/field-styles.ts"
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
]
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"kind": "javascript-module",
|
|
1358
|
+
"path": "src/_common/icons.ts",
|
|
1359
|
+
"declarations": [
|
|
1360
|
+
{
|
|
1361
|
+
"kind": "function",
|
|
1362
|
+
"name": "closeIcon",
|
|
1363
|
+
"parameters": [
|
|
1364
|
+
{
|
|
1365
|
+
"name": "slot",
|
|
1366
|
+
"default": "'start'"
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"name": "fill",
|
|
1370
|
+
"default": "'#879ba6'"
|
|
1371
|
+
}
|
|
1372
|
+
]
|
|
1373
|
+
}
|
|
1374
|
+
],
|
|
1375
|
+
"exports": [
|
|
1376
|
+
{
|
|
1377
|
+
"kind": "js",
|
|
1378
|
+
"name": "closeIcon",
|
|
1379
|
+
"declaration": {
|
|
1380
|
+
"name": "closeIcon",
|
|
1381
|
+
"module": "src/_common/icons.ts"
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
]
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"kind": "javascript-module",
|
|
1388
|
+
"path": "src/_common/index.ts",
|
|
1389
|
+
"declarations": [],
|
|
1390
|
+
"exports": [
|
|
1391
|
+
{
|
|
1392
|
+
"kind": "js",
|
|
1393
|
+
"name": "*",
|
|
1394
|
+
"declaration": {
|
|
1395
|
+
"name": "*",
|
|
1396
|
+
"package": "./affix-mixin"
|
|
1397
|
+
}
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
"kind": "js",
|
|
1401
|
+
"name": "*",
|
|
1402
|
+
"declaration": {
|
|
1403
|
+
"name": "*",
|
|
1404
|
+
"package": "./base-file-component"
|
|
1405
|
+
}
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"kind": "js",
|
|
1409
|
+
"name": "*",
|
|
1410
|
+
"declaration": {
|
|
1411
|
+
"name": "*",
|
|
1412
|
+
"package": "./field-styles"
|
|
1413
|
+
}
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
"kind": "js",
|
|
1417
|
+
"name": "*",
|
|
1418
|
+
"declaration": {
|
|
1419
|
+
"name": "*",
|
|
1420
|
+
"package": "./icons"
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
]
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
"kind": "javascript-module",
|
|
1427
|
+
"path": "src/_config/index.ts",
|
|
1428
|
+
"declarations": [],
|
|
1429
|
+
"exports": [
|
|
1430
|
+
{
|
|
1431
|
+
"kind": "js",
|
|
1432
|
+
"name": "*",
|
|
1433
|
+
"declaration": {
|
|
1434
|
+
"name": "*",
|
|
1435
|
+
"package": "./styles"
|
|
1436
|
+
}
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"kind": "js",
|
|
1440
|
+
"name": "*",
|
|
1441
|
+
"declaration": {
|
|
1442
|
+
"name": "*",
|
|
1443
|
+
"package": "./tokens"
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"kind": "js",
|
|
1448
|
+
"name": "*",
|
|
1449
|
+
"declaration": {
|
|
1450
|
+
"name": "*",
|
|
1451
|
+
"package": "./values"
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
]
|
|
1455
|
+
},
|
|
959
1456
|
{
|
|
960
1457
|
"kind": "javascript-module",
|
|
961
1458
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1352,11 +1849,11 @@
|
|
|
1352
1849
|
},
|
|
1353
1850
|
{
|
|
1354
1851
|
"kind": "javascript-module",
|
|
1355
|
-
"path": "src/
|
|
1852
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1356
1853
|
"declarations": [
|
|
1357
1854
|
{
|
|
1358
1855
|
"kind": "function",
|
|
1359
|
-
"name": "
|
|
1856
|
+
"name": "foundationAccordionStyles",
|
|
1360
1857
|
"return": {
|
|
1361
1858
|
"type": {
|
|
1362
1859
|
"text": "ElementStyles"
|
|
@@ -1376,736 +1873,251 @@
|
|
|
1376
1873
|
}
|
|
1377
1874
|
}
|
|
1378
1875
|
]
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
"name": "foundationActionsMenuStyles",
|
|
1383
|
-
"return": {
|
|
1384
|
-
"type": {
|
|
1385
|
-
"text": "ElementStyles"
|
|
1386
|
-
}
|
|
1387
|
-
},
|
|
1388
|
-
"parameters": [
|
|
1389
|
-
{
|
|
1390
|
-
"name": "context",
|
|
1391
|
-
"type": {
|
|
1392
|
-
"text": "ElementDefinitionContext"
|
|
1393
|
-
}
|
|
1394
|
-
},
|
|
1395
|
-
{
|
|
1396
|
-
"name": "definition",
|
|
1397
|
-
"type": {
|
|
1398
|
-
"text": "FoundationElementDefinition"
|
|
1399
|
-
}
|
|
1400
|
-
}
|
|
1401
|
-
]
|
|
1402
|
-
}
|
|
1403
|
-
],
|
|
1404
|
-
"exports": [
|
|
1405
|
-
{
|
|
1406
|
-
"kind": "js",
|
|
1407
|
-
"name": "actionsMenuBaseStyles",
|
|
1408
|
-
"declaration": {
|
|
1409
|
-
"name": "actionsMenuBaseStyles",
|
|
1410
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1411
|
-
}
|
|
1412
|
-
},
|
|
1876
|
+
}
|
|
1877
|
+
],
|
|
1878
|
+
"exports": [
|
|
1413
1879
|
{
|
|
1414
1880
|
"kind": "js",
|
|
1415
|
-
"name": "
|
|
1881
|
+
"name": "foundationAccordionStyles",
|
|
1416
1882
|
"declaration": {
|
|
1417
|
-
"name": "
|
|
1418
|
-
"module": "src/
|
|
1883
|
+
"name": "foundationAccordionStyles",
|
|
1884
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1419
1885
|
}
|
|
1420
1886
|
}
|
|
1421
1887
|
]
|
|
1422
1888
|
},
|
|
1423
1889
|
{
|
|
1424
1890
|
"kind": "javascript-module",
|
|
1425
|
-
"path": "src/
|
|
1891
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1426
1892
|
"declarations": [
|
|
1427
1893
|
{
|
|
1428
1894
|
"kind": "function",
|
|
1429
|
-
"name": "
|
|
1895
|
+
"name": "foundationAccordionTemplate",
|
|
1896
|
+
"return": {
|
|
1897
|
+
"type": {
|
|
1898
|
+
"text": "ViewTemplate<Accordion>"
|
|
1899
|
+
}
|
|
1900
|
+
},
|
|
1430
1901
|
"parameters": [
|
|
1431
1902
|
{
|
|
1432
|
-
"name": "
|
|
1903
|
+
"name": "context",
|
|
1433
1904
|
"type": {
|
|
1434
|
-
"text": "
|
|
1905
|
+
"text": "ElementDefinitionContext"
|
|
1435
1906
|
}
|
|
1436
|
-
}
|
|
1437
|
-
]
|
|
1438
|
-
},
|
|
1439
|
-
{
|
|
1440
|
-
"kind": "function",
|
|
1441
|
-
"name": "singleOptionTemplate",
|
|
1442
|
-
"parameters": [
|
|
1907
|
+
},
|
|
1443
1908
|
{
|
|
1444
|
-
"name": "
|
|
1909
|
+
"name": "definition",
|
|
1445
1910
|
"type": {
|
|
1446
|
-
"text": "
|
|
1911
|
+
"text": "FoundationElementDefinition"
|
|
1447
1912
|
}
|
|
1448
1913
|
}
|
|
1449
1914
|
]
|
|
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
1915
|
}
|
|
1459
1916
|
],
|
|
1460
1917
|
"exports": [
|
|
1461
1918
|
{
|
|
1462
1919
|
"kind": "js",
|
|
1463
|
-
"name": "
|
|
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",
|
|
1920
|
+
"name": "foundationAccordionTemplate",
|
|
1480
1921
|
"declaration": {
|
|
1481
|
-
"name": "
|
|
1482
|
-
"module": "src/
|
|
1922
|
+
"name": "foundationAccordionTemplate",
|
|
1923
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1483
1924
|
}
|
|
1484
1925
|
}
|
|
1485
1926
|
]
|
|
1486
1927
|
},
|
|
1487
1928
|
{
|
|
1488
1929
|
"kind": "javascript-module",
|
|
1489
|
-
"path": "src/
|
|
1930
|
+
"path": "src/accordion/accordion.ts",
|
|
1490
1931
|
"declarations": [
|
|
1491
1932
|
{
|
|
1492
1933
|
"kind": "class",
|
|
1493
1934
|
"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
|
-
},
|
|
1511
|
-
{
|
|
1512
|
-
"kind": "field",
|
|
1513
|
-
"name": "addDefaultActions",
|
|
1514
|
-
"type": {
|
|
1515
|
-
"text": "boolean"
|
|
1516
|
-
},
|
|
1517
|
-
"default": "true"
|
|
1518
|
-
},
|
|
1935
|
+
"name": "Accordion",
|
|
1936
|
+
"superclass": {
|
|
1937
|
+
"name": "FASTAccordion",
|
|
1938
|
+
"package": "@microsoft/fast-foundation"
|
|
1939
|
+
},
|
|
1940
|
+
"tagName": "%%prefix%%-accordion",
|
|
1941
|
+
"customElement": true,
|
|
1942
|
+
"attributes": [
|
|
1519
1943
|
{
|
|
1520
|
-
"
|
|
1521
|
-
"name": "autoCloseOnAction",
|
|
1944
|
+
"name": "expand-mode",
|
|
1522
1945
|
"type": {
|
|
1523
|
-
"text": "
|
|
1946
|
+
"text": "AccordionExpandMode"
|
|
1524
1947
|
},
|
|
1525
|
-
"
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
"type": {
|
|
1531
|
-
"text": "string"
|
|
1532
|
-
}
|
|
1533
|
-
},
|
|
1534
|
-
{
|
|
1535
|
-
"kind": "field",
|
|
1536
|
-
"name": "definition",
|
|
1537
|
-
"type": {
|
|
1538
|
-
"text": "any"
|
|
1948
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1949
|
+
"fieldName": "expandmode",
|
|
1950
|
+
"inheritedFrom": {
|
|
1951
|
+
"name": "Accordion",
|
|
1952
|
+
"module": "src/accordion/accordion.ts"
|
|
1539
1953
|
}
|
|
1540
|
-
}
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
"name": "name",
|
|
1544
|
-
"type": {
|
|
1545
|
-
"text": "string"
|
|
1546
|
-
},
|
|
1547
|
-
"default": "'Actions'"
|
|
1548
|
-
},
|
|
1954
|
+
}
|
|
1955
|
+
],
|
|
1956
|
+
"members": [
|
|
1549
1957
|
{
|
|
1550
1958
|
"kind": "field",
|
|
1551
|
-
"name": "
|
|
1959
|
+
"name": "expandmode",
|
|
1552
1960
|
"type": {
|
|
1553
|
-
"text": "
|
|
1961
|
+
"text": "AccordionExpandMode"
|
|
1554
1962
|
},
|
|
1555
|
-
"
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
"type": {
|
|
1561
|
-
"text": "string"
|
|
1963
|
+
"privacy": "public",
|
|
1964
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1965
|
+
"inheritedFrom": {
|
|
1966
|
+
"name": "Accordion",
|
|
1967
|
+
"module": "src/accordion/accordion.ts"
|
|
1562
1968
|
}
|
|
1563
1969
|
},
|
|
1564
1970
|
{
|
|
1565
1971
|
"kind": "field",
|
|
1566
|
-
"name": "
|
|
1567
|
-
"type": {
|
|
1568
|
-
"text": "boolean"
|
|
1569
|
-
},
|
|
1570
|
-
"default": "false"
|
|
1571
|
-
},
|
|
1572
|
-
{
|
|
1573
|
-
"kind": "field",
|
|
1574
|
-
"name": "hideMenuSingleOption",
|
|
1972
|
+
"name": "activeid",
|
|
1575
1973
|
"type": {
|
|
1576
|
-
"text": "
|
|
1974
|
+
"text": "string | null"
|
|
1577
1975
|
},
|
|
1578
|
-
"
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
"name": "singleOption",
|
|
1583
|
-
"type": {
|
|
1584
|
-
"text": "ActionMenuItem"
|
|
1585
|
-
}
|
|
1586
|
-
},
|
|
1587
|
-
{
|
|
1588
|
-
"kind": "field",
|
|
1589
|
-
"name": "actionsMenu",
|
|
1590
|
-
"type": {
|
|
1591
|
-
"text": "HTMLElement"
|
|
1976
|
+
"privacy": "private",
|
|
1977
|
+
"inheritedFrom": {
|
|
1978
|
+
"name": "Accordion",
|
|
1979
|
+
"module": "src/accordion/accordion.ts"
|
|
1592
1980
|
}
|
|
1593
1981
|
},
|
|
1594
1982
|
{
|
|
1595
1983
|
"kind": "field",
|
|
1596
|
-
"name": "
|
|
1597
|
-
"type": {
|
|
1598
|
-
"text": "HTMLElement"
|
|
1599
|
-
}
|
|
1600
|
-
},
|
|
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
|
-
{
|
|
1684
|
-
"kind": "field",
|
|
1685
|
-
"name": "_presentation",
|
|
1984
|
+
"name": "activeItemIndex",
|
|
1686
1985
|
"type": {
|
|
1687
|
-
"text": "
|
|
1986
|
+
"text": "number"
|
|
1688
1987
|
},
|
|
1689
1988
|
"privacy": "private",
|
|
1690
|
-
"default": "
|
|
1989
|
+
"default": "0",
|
|
1691
1990
|
"inheritedFrom": {
|
|
1692
|
-
"name": "
|
|
1693
|
-
"module": "src/
|
|
1991
|
+
"name": "Accordion",
|
|
1992
|
+
"module": "src/accordion/accordion.ts"
|
|
1694
1993
|
}
|
|
1695
1994
|
},
|
|
1696
1995
|
{
|
|
1697
1996
|
"kind": "field",
|
|
1698
|
-
"name": "
|
|
1997
|
+
"name": "accordionIds",
|
|
1699
1998
|
"type": {
|
|
1700
|
-
"text": "
|
|
1999
|
+
"text": "Array<string | null>"
|
|
1701
2000
|
},
|
|
1702
|
-
"privacy": "
|
|
1703
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2001
|
+
"privacy": "private",
|
|
1704
2002
|
"inheritedFrom": {
|
|
1705
|
-
"name": "
|
|
1706
|
-
"module": "src/
|
|
2003
|
+
"name": "Accordion",
|
|
2004
|
+
"module": "src/accordion/accordion.ts"
|
|
1707
2005
|
}
|
|
1708
2006
|
},
|
|
1709
2007
|
{
|
|
1710
2008
|
"kind": "field",
|
|
1711
|
-
"name": "
|
|
1712
|
-
"
|
|
1713
|
-
"text": "ElementViewTemplate | void | null"
|
|
1714
|
-
},
|
|
1715
|
-
"privacy": "public",
|
|
1716
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
2009
|
+
"name": "change",
|
|
2010
|
+
"privacy": "private",
|
|
1717
2011
|
"inheritedFrom": {
|
|
1718
|
-
"name": "
|
|
1719
|
-
"module": "src/
|
|
2012
|
+
"name": "Accordion",
|
|
2013
|
+
"module": "src/accordion/accordion.ts"
|
|
1720
2014
|
}
|
|
1721
2015
|
},
|
|
1722
2016
|
{
|
|
1723
2017
|
"kind": "method",
|
|
1724
|
-
"name": "
|
|
1725
|
-
"privacy": "
|
|
2018
|
+
"name": "findExpandedItem",
|
|
2019
|
+
"privacy": "private",
|
|
1726
2020
|
"return": {
|
|
1727
2021
|
"type": {
|
|
1728
|
-
"text": "
|
|
2022
|
+
"text": "AccordionItem | null"
|
|
1729
2023
|
}
|
|
1730
2024
|
},
|
|
1731
2025
|
"inheritedFrom": {
|
|
1732
|
-
"name": "
|
|
1733
|
-
"module": "src/
|
|
2026
|
+
"name": "Accordion",
|
|
2027
|
+
"module": "src/accordion/accordion.ts"
|
|
1734
2028
|
}
|
|
1735
2029
|
},
|
|
1736
2030
|
{
|
|
1737
2031
|
"kind": "field",
|
|
1738
|
-
"name": "
|
|
1739
|
-
"
|
|
1740
|
-
"text": "ElementStyles | void | null"
|
|
1741
|
-
},
|
|
1742
|
-
"privacy": "public",
|
|
1743
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
2032
|
+
"name": "setItems",
|
|
2033
|
+
"privacy": "private",
|
|
1744
2034
|
"inheritedFrom": {
|
|
1745
|
-
"name": "
|
|
1746
|
-
"module": "src/
|
|
2035
|
+
"name": "Accordion",
|
|
2036
|
+
"module": "src/accordion/accordion.ts"
|
|
1747
2037
|
}
|
|
1748
2038
|
},
|
|
1749
2039
|
{
|
|
1750
2040
|
"kind": "method",
|
|
1751
|
-
"name": "
|
|
1752
|
-
"privacy": "
|
|
2041
|
+
"name": "resetItems",
|
|
2042
|
+
"privacy": "private",
|
|
1753
2043
|
"return": {
|
|
1754
2044
|
"type": {
|
|
1755
2045
|
"text": "void"
|
|
1756
2046
|
}
|
|
1757
2047
|
},
|
|
1758
2048
|
"inheritedFrom": {
|
|
1759
|
-
"name": "
|
|
1760
|
-
"module": "src/
|
|
1761
|
-
}
|
|
1762
|
-
},
|
|
1763
|
-
{
|
|
1764
|
-
"kind": "method",
|
|
1765
|
-
"name": "compose",
|
|
1766
|
-
"privacy": "public",
|
|
1767
|
-
"static": true,
|
|
1768
|
-
"return": {
|
|
1769
|
-
"type": {
|
|
1770
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1771
|
-
}
|
|
1772
|
-
},
|
|
1773
|
-
"parameters": [
|
|
1774
|
-
{
|
|
1775
|
-
"name": "this",
|
|
1776
|
-
"type": {
|
|
1777
|
-
"text": "K"
|
|
1778
|
-
}
|
|
1779
|
-
},
|
|
1780
|
-
{
|
|
1781
|
-
"name": "elementDefinition",
|
|
1782
|
-
"type": {
|
|
1783
|
-
"text": "T"
|
|
1784
|
-
},
|
|
1785
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1786
|
-
}
|
|
1787
|
-
],
|
|
1788
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1789
|
-
"inheritedFrom": {
|
|
1790
|
-
"name": "FoundationElement",
|
|
1791
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1792
|
-
}
|
|
1793
|
-
}
|
|
1794
|
-
],
|
|
1795
|
-
"attributes": [
|
|
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
|
-
},
|
|
1851
|
-
{
|
|
1852
|
-
"name": "hide-menu-single-option",
|
|
1853
|
-
"type": {
|
|
1854
|
-
"text": "boolean"
|
|
1855
|
-
},
|
|
1856
|
-
"default": "false",
|
|
1857
|
-
"fieldName": "hideMenuSingleOption"
|
|
1858
|
-
}
|
|
1859
|
-
],
|
|
1860
|
-
"superclass": {
|
|
1861
|
-
"name": "FoundationElement",
|
|
1862
|
-
"package": "@microsoft/fast-foundation"
|
|
1863
|
-
},
|
|
1864
|
-
"tagName": "%%prefix%%-actions-menu",
|
|
1865
|
-
"customElement": true
|
|
1866
|
-
},
|
|
1867
|
-
{
|
|
1868
|
-
"kind": "variable",
|
|
1869
|
-
"name": "foundationActionsMenu",
|
|
1870
|
-
"description": "The Foundation Actions Menu",
|
|
1871
|
-
"privacy": "public"
|
|
1872
|
-
}
|
|
1873
|
-
],
|
|
1874
|
-
"exports": [
|
|
1875
|
-
{
|
|
1876
|
-
"kind": "js",
|
|
1877
|
-
"name": "ActionsMenu",
|
|
1878
|
-
"declaration": {
|
|
1879
|
-
"name": "ActionsMenu",
|
|
1880
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1881
|
-
}
|
|
1882
|
-
},
|
|
1883
|
-
{
|
|
1884
|
-
"kind": "js",
|
|
1885
|
-
"name": "foundationActionsMenu",
|
|
1886
|
-
"declaration": {
|
|
1887
|
-
"name": "foundationActionsMenu",
|
|
1888
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1889
|
-
}
|
|
1890
|
-
}
|
|
1891
|
-
]
|
|
1892
|
-
},
|
|
1893
|
-
{
|
|
1894
|
-
"kind": "javascript-module",
|
|
1895
|
-
"path": "src/actions-menu/index.ts",
|
|
1896
|
-
"declarations": [],
|
|
1897
|
-
"exports": [
|
|
1898
|
-
{
|
|
1899
|
-
"kind": "js",
|
|
1900
|
-
"name": "*",
|
|
1901
|
-
"declaration": {
|
|
1902
|
-
"name": "*",
|
|
1903
|
-
"package": "./actions-menu.styles"
|
|
1904
|
-
}
|
|
1905
|
-
},
|
|
1906
|
-
{
|
|
1907
|
-
"kind": "js",
|
|
1908
|
-
"name": "*",
|
|
1909
|
-
"declaration": {
|
|
1910
|
-
"name": "*",
|
|
1911
|
-
"package": "./actions-menu.template"
|
|
1912
|
-
}
|
|
1913
|
-
},
|
|
1914
|
-
{
|
|
1915
|
-
"kind": "js",
|
|
1916
|
-
"name": "*",
|
|
1917
|
-
"declaration": {
|
|
1918
|
-
"name": "*",
|
|
1919
|
-
"package": "./actions-menu"
|
|
1920
|
-
}
|
|
1921
|
-
}
|
|
1922
|
-
]
|
|
1923
|
-
},
|
|
1924
|
-
{
|
|
1925
|
-
"kind": "javascript-module",
|
|
1926
|
-
"path": "src/_common/affix-mixin.ts",
|
|
1927
|
-
"declarations": [
|
|
1928
|
-
{
|
|
1929
|
-
"kind": "mixin",
|
|
1930
|
-
"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.",
|
|
1931
|
-
"name": "AffixMixin",
|
|
1932
|
-
"members": [
|
|
1933
|
-
{
|
|
1934
|
-
"kind": "field",
|
|
1935
|
-
"name": "prefix",
|
|
1936
|
-
"type": {
|
|
1937
|
-
"text": "string"
|
|
1938
|
-
},
|
|
1939
|
-
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
1940
|
-
},
|
|
1941
|
-
{
|
|
1942
|
-
"kind": "field",
|
|
1943
|
-
"name": "suffix",
|
|
1944
|
-
"type": {
|
|
1945
|
-
"text": "string"
|
|
1946
|
-
},
|
|
1947
|
-
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
1948
|
-
},
|
|
1949
|
-
{
|
|
1950
|
-
"kind": "field",
|
|
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",
|
|
1962
|
-
"type": {
|
|
1963
|
-
"text": "TBase"
|
|
2049
|
+
"name": "Accordion",
|
|
2050
|
+
"module": "src/accordion/accordion.ts"
|
|
1964
2051
|
}
|
|
1965
|
-
}
|
|
1966
|
-
]
|
|
1967
|
-
}
|
|
1968
|
-
],
|
|
1969
|
-
"exports": [
|
|
1970
|
-
{
|
|
1971
|
-
"kind": "js",
|
|
1972
|
-
"name": "AffixMixin",
|
|
1973
|
-
"declaration": {
|
|
1974
|
-
"name": "AffixMixin",
|
|
1975
|
-
"module": "src/_common/affix-mixin.ts"
|
|
1976
|
-
}
|
|
1977
|
-
}
|
|
1978
|
-
]
|
|
1979
|
-
},
|
|
1980
|
-
{
|
|
1981
|
-
"kind": "javascript-module",
|
|
1982
|
-
"path": "src/_common/base-file-component.ts",
|
|
1983
|
-
"declarations": [
|
|
1984
|
-
{
|
|
1985
|
-
"kind": "class",
|
|
1986
|
-
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
1987
|
-
"name": "BaseFileComponent",
|
|
1988
|
-
"members": [
|
|
1989
|
-
{
|
|
1990
|
-
"kind": "field",
|
|
1991
|
-
"name": "fileInput",
|
|
1992
|
-
"type": {
|
|
1993
|
-
"text": "HTMLInputElement"
|
|
1994
|
-
},
|
|
1995
|
-
"privacy": "public"
|
|
1996
2052
|
},
|
|
1997
2053
|
{
|
|
1998
2054
|
"kind": "field",
|
|
1999
|
-
"name": "
|
|
2000
|
-
"
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
"default": "null"
|
|
2005
|
-
},
|
|
2006
|
-
{
|
|
2007
|
-
"kind": "field",
|
|
2008
|
-
"name": "label",
|
|
2009
|
-
"type": {
|
|
2010
|
-
"text": "string"
|
|
2055
|
+
"name": "removeItemListeners",
|
|
2056
|
+
"privacy": "private",
|
|
2057
|
+
"inheritedFrom": {
|
|
2058
|
+
"name": "Accordion",
|
|
2059
|
+
"module": "src/accordion/accordion.ts"
|
|
2011
2060
|
}
|
|
2012
2061
|
},
|
|
2013
2062
|
{
|
|
2014
2063
|
"kind": "field",
|
|
2015
|
-
"name": "
|
|
2016
|
-
"
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
},
|
|
2021
|
-
{
|
|
2022
|
-
"kind": "field",
|
|
2023
|
-
"name": "fileSizeLimitBytes",
|
|
2024
|
-
"default": "10_485_760",
|
|
2025
|
-
"type": {
|
|
2026
|
-
"text": "number"
|
|
2064
|
+
"name": "activeItemChange",
|
|
2065
|
+
"privacy": "private",
|
|
2066
|
+
"inheritedFrom": {
|
|
2067
|
+
"name": "Accordion",
|
|
2068
|
+
"module": "src/accordion/accordion.ts"
|
|
2027
2069
|
}
|
|
2028
2070
|
},
|
|
2029
|
-
{
|
|
2030
|
-
"kind": "field",
|
|
2031
|
-
"name": "fileName",
|
|
2032
|
-
"type": {
|
|
2033
|
-
"text": "string"
|
|
2034
|
-
},
|
|
2035
|
-
"default": "''"
|
|
2036
|
-
},
|
|
2037
|
-
{
|
|
2038
|
-
"kind": "field",
|
|
2039
|
-
"name": "isProcessing",
|
|
2040
|
-
"type": {
|
|
2041
|
-
"text": "boolean"
|
|
2042
|
-
},
|
|
2043
|
-
"default": "false"
|
|
2044
|
-
},
|
|
2045
|
-
{
|
|
2046
|
-
"kind": "method",
|
|
2047
|
-
"name": "handleClick",
|
|
2048
|
-
"privacy": "public",
|
|
2049
|
-
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
2050
|
-
},
|
|
2051
2071
|
{
|
|
2052
2072
|
"kind": "method",
|
|
2053
|
-
"name": "
|
|
2054
|
-
"privacy": "
|
|
2055
|
-
"
|
|
2056
|
-
{
|
|
2057
|
-
"
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
2065
|
-
},
|
|
2066
|
-
{
|
|
2067
|
-
"kind": "method",
|
|
2068
|
-
"name": "clearSelection",
|
|
2069
|
-
"privacy": "public",
|
|
2070
|
-
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
2073
|
+
"name": "getItemIds",
|
|
2074
|
+
"privacy": "private",
|
|
2075
|
+
"return": {
|
|
2076
|
+
"type": {
|
|
2077
|
+
"text": "Array<string | null>"
|
|
2078
|
+
}
|
|
2079
|
+
},
|
|
2080
|
+
"inheritedFrom": {
|
|
2081
|
+
"name": "Accordion",
|
|
2082
|
+
"module": "src/accordion/accordion.ts"
|
|
2083
|
+
}
|
|
2071
2084
|
},
|
|
2072
2085
|
{
|
|
2073
2086
|
"kind": "method",
|
|
2074
|
-
"name": "
|
|
2075
|
-
"privacy": "
|
|
2076
|
-
"description": "Gets the currently selected file object",
|
|
2087
|
+
"name": "isSingleExpandMode",
|
|
2088
|
+
"privacy": "private",
|
|
2077
2089
|
"return": {
|
|
2078
2090
|
"type": {
|
|
2079
|
-
"text": ""
|
|
2091
|
+
"text": "boolean"
|
|
2080
2092
|
}
|
|
2093
|
+
},
|
|
2094
|
+
"inheritedFrom": {
|
|
2095
|
+
"name": "Accordion",
|
|
2096
|
+
"module": "src/accordion/accordion.ts"
|
|
2081
2097
|
}
|
|
2082
2098
|
},
|
|
2083
2099
|
{
|
|
2084
|
-
"kind": "
|
|
2085
|
-
"name": "
|
|
2086
|
-
"privacy": "
|
|
2087
|
-
"
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
"description": "The error message"
|
|
2101
|
-
}
|
|
2102
|
-
],
|
|
2103
|
-
"description": "Shows an error notification using the unified error handling system"
|
|
2100
|
+
"kind": "field",
|
|
2101
|
+
"name": "handleItemKeyDown",
|
|
2102
|
+
"privacy": "private",
|
|
2103
|
+
"inheritedFrom": {
|
|
2104
|
+
"name": "Accordion",
|
|
2105
|
+
"module": "src/accordion/accordion.ts"
|
|
2106
|
+
}
|
|
2107
|
+
},
|
|
2108
|
+
{
|
|
2109
|
+
"kind": "field",
|
|
2110
|
+
"name": "handleItemFocus",
|
|
2111
|
+
"privacy": "private",
|
|
2112
|
+
"inheritedFrom": {
|
|
2113
|
+
"name": "Accordion",
|
|
2114
|
+
"module": "src/accordion/accordion.ts"
|
|
2115
|
+
}
|
|
2104
2116
|
},
|
|
2105
2117
|
{
|
|
2106
2118
|
"kind": "method",
|
|
2107
|
-
"name": "
|
|
2108
|
-
"privacy": "
|
|
2119
|
+
"name": "adjust",
|
|
2120
|
+
"privacy": "private",
|
|
2109
2121
|
"return": {
|
|
2110
2122
|
"type": {
|
|
2111
2123
|
"text": "void"
|
|
@@ -2113,25 +2125,30 @@
|
|
|
2113
2125
|
},
|
|
2114
2126
|
"parameters": [
|
|
2115
2127
|
{
|
|
2116
|
-
"name": "
|
|
2128
|
+
"name": "adjustment",
|
|
2117
2129
|
"type": {
|
|
2118
|
-
"text": "
|
|
2119
|
-
}
|
|
2120
|
-
"description": "The selected file"
|
|
2130
|
+
"text": "number"
|
|
2131
|
+
}
|
|
2121
2132
|
}
|
|
2122
2133
|
],
|
|
2123
|
-
"
|
|
2134
|
+
"inheritedFrom": {
|
|
2135
|
+
"name": "Accordion",
|
|
2136
|
+
"module": "src/accordion/accordion.ts"
|
|
2137
|
+
}
|
|
2124
2138
|
},
|
|
2125
2139
|
{
|
|
2126
2140
|
"kind": "method",
|
|
2127
|
-
"name": "
|
|
2128
|
-
"privacy": "
|
|
2141
|
+
"name": "focusItem",
|
|
2142
|
+
"privacy": "private",
|
|
2129
2143
|
"return": {
|
|
2130
2144
|
"type": {
|
|
2131
2145
|
"text": "void"
|
|
2132
2146
|
}
|
|
2133
2147
|
},
|
|
2134
|
-
"
|
|
2148
|
+
"inheritedFrom": {
|
|
2149
|
+
"name": "Accordion",
|
|
2150
|
+
"module": "src/accordion/accordion.ts"
|
|
2151
|
+
}
|
|
2135
2152
|
},
|
|
2136
2153
|
{
|
|
2137
2154
|
"kind": "field",
|
|
@@ -2247,110 +2264,76 @@
|
|
|
2247
2264
|
],
|
|
2248
2265
|
"events": [
|
|
2249
2266
|
{
|
|
2250
|
-
"description": "
|
|
2251
|
-
"name": "
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
}
|
|
2257
|
-
],
|
|
2258
|
-
"attributes": [
|
|
2259
|
-
{
|
|
2260
|
-
"name": "label",
|
|
2261
|
-
"type": {
|
|
2262
|
-
"text": "string"
|
|
2263
|
-
},
|
|
2264
|
-
"fieldName": "label"
|
|
2265
|
-
},
|
|
2266
|
-
{
|
|
2267
|
-
"name": "accept",
|
|
2268
|
-
"type": {
|
|
2269
|
-
"text": "string"
|
|
2270
|
-
},
|
|
2271
|
-
"default": "''",
|
|
2272
|
-
"fieldName": "accept"
|
|
2273
|
-
},
|
|
2274
|
-
{
|
|
2275
|
-
"name": "file-size-limit-bytes",
|
|
2276
|
-
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
2277
|
-
"resolveInitializer": {
|
|
2278
|
-
"module": "src/_common/base-file-component.ts"
|
|
2279
|
-
},
|
|
2280
|
-
"fieldName": "fileSizeLimitBytes"
|
|
2267
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2268
|
+
"name": "change",
|
|
2269
|
+
"inheritedFrom": {
|
|
2270
|
+
"name": "Accordion",
|
|
2271
|
+
"module": "src/accordion/accordion.ts"
|
|
2272
|
+
}
|
|
2281
2273
|
}
|
|
2282
|
-
]
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2274
|
+
]
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
"kind": "variable",
|
|
2278
|
+
"name": "foundationAccordionShadowOptions",
|
|
2279
|
+
"type": {
|
|
2280
|
+
"text": "ShadowRootInit"
|
|
2281
|
+
},
|
|
2282
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2283
|
+
},
|
|
2284
|
+
{
|
|
2285
|
+
"kind": "variable",
|
|
2286
|
+
"name": "defaultAccordionConfig",
|
|
2287
|
+
"type": {
|
|
2288
|
+
"text": "object"
|
|
2289
|
+
},
|
|
2290
|
+
"default": "{}"
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
"kind": "variable",
|
|
2294
|
+
"name": "foundationAccordion",
|
|
2295
|
+
"description": "The Foundation Accordion",
|
|
2296
|
+
"privacy": "public"
|
|
2287
2297
|
}
|
|
2288
2298
|
],
|
|
2289
2299
|
"exports": [
|
|
2290
2300
|
{
|
|
2291
2301
|
"kind": "js",
|
|
2292
|
-
"name": "
|
|
2302
|
+
"name": "Accordion",
|
|
2293
2303
|
"declaration": {
|
|
2294
|
-
"name": "
|
|
2295
|
-
"module": "src/
|
|
2304
|
+
"name": "Accordion",
|
|
2305
|
+
"module": "src/accordion/accordion.ts"
|
|
2296
2306
|
}
|
|
2297
|
-
}
|
|
2298
|
-
]
|
|
2299
|
-
},
|
|
2300
|
-
{
|
|
2301
|
-
"kind": "javascript-module",
|
|
2302
|
-
"path": "src/_common/field-styles.ts",
|
|
2303
|
-
"declarations": [
|
|
2304
|
-
{
|
|
2305
|
-
"kind": "variable",
|
|
2306
|
-
"name": "sharedFieldStyles",
|
|
2307
|
-
"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`"
|
|
2308
|
-
}
|
|
2309
|
-
],
|
|
2310
|
-
"exports": [
|
|
2307
|
+
},
|
|
2311
2308
|
{
|
|
2312
2309
|
"kind": "js",
|
|
2313
|
-
"name": "
|
|
2310
|
+
"name": "foundationAccordionShadowOptions",
|
|
2314
2311
|
"declaration": {
|
|
2315
|
-
"name": "
|
|
2316
|
-
"module": "src/
|
|
2312
|
+
"name": "foundationAccordionShadowOptions",
|
|
2313
|
+
"module": "src/accordion/accordion.ts"
|
|
2317
2314
|
}
|
|
2318
|
-
}
|
|
2319
|
-
]
|
|
2320
|
-
},
|
|
2321
|
-
{
|
|
2322
|
-
"kind": "javascript-module",
|
|
2323
|
-
"path": "src/_common/icons.ts",
|
|
2324
|
-
"declarations": [
|
|
2315
|
+
},
|
|
2325
2316
|
{
|
|
2326
|
-
"kind": "
|
|
2327
|
-
"name": "
|
|
2328
|
-
"
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
{
|
|
2334
|
-
"name": "fill",
|
|
2335
|
-
"default": "'#879ba6'"
|
|
2336
|
-
}
|
|
2337
|
-
]
|
|
2338
|
-
}
|
|
2339
|
-
],
|
|
2340
|
-
"exports": [
|
|
2317
|
+
"kind": "js",
|
|
2318
|
+
"name": "defaultAccordionConfig",
|
|
2319
|
+
"declaration": {
|
|
2320
|
+
"name": "defaultAccordionConfig",
|
|
2321
|
+
"module": "src/accordion/accordion.ts"
|
|
2322
|
+
}
|
|
2323
|
+
},
|
|
2341
2324
|
{
|
|
2342
2325
|
"kind": "js",
|
|
2343
|
-
"name": "
|
|
2326
|
+
"name": "foundationAccordion",
|
|
2344
2327
|
"declaration": {
|
|
2345
|
-
"name": "
|
|
2346
|
-
"module": "src/
|
|
2328
|
+
"name": "foundationAccordion",
|
|
2329
|
+
"module": "src/accordion/accordion.ts"
|
|
2347
2330
|
}
|
|
2348
2331
|
}
|
|
2349
2332
|
]
|
|
2350
2333
|
},
|
|
2351
2334
|
{
|
|
2352
2335
|
"kind": "javascript-module",
|
|
2353
|
-
"path": "src/
|
|
2336
|
+
"path": "src/accordion/index.ts",
|
|
2354
2337
|
"declarations": [],
|
|
2355
2338
|
"exports": [
|
|
2356
2339
|
{
|
|
@@ -2358,15 +2341,7 @@
|
|
|
2358
2341
|
"name": "*",
|
|
2359
2342
|
"declaration": {
|
|
2360
2343
|
"name": "*",
|
|
2361
|
-
"package": "./
|
|
2362
|
-
}
|
|
2363
|
-
},
|
|
2364
|
-
{
|
|
2365
|
-
"kind": "js",
|
|
2366
|
-
"name": "*",
|
|
2367
|
-
"declaration": {
|
|
2368
|
-
"name": "*",
|
|
2369
|
-
"package": "./base-file-component"
|
|
2344
|
+
"package": "./accordion.template"
|
|
2370
2345
|
}
|
|
2371
2346
|
},
|
|
2372
2347
|
{
|
|
@@ -2374,7 +2349,7 @@
|
|
|
2374
2349
|
"name": "*",
|
|
2375
2350
|
"declaration": {
|
|
2376
2351
|
"name": "*",
|
|
2377
|
-
"package": "./
|
|
2352
|
+
"package": "./accordion.styles"
|
|
2378
2353
|
}
|
|
2379
2354
|
},
|
|
2380
2355
|
{
|
|
@@ -2382,122 +2357,210 @@
|
|
|
2382
2357
|
"name": "*",
|
|
2383
2358
|
"declaration": {
|
|
2384
2359
|
"name": "*",
|
|
2385
|
-
"package": "./
|
|
2360
|
+
"package": "./accordion"
|
|
2386
2361
|
}
|
|
2387
2362
|
}
|
|
2388
2363
|
]
|
|
2389
2364
|
},
|
|
2390
2365
|
{
|
|
2391
2366
|
"kind": "javascript-module",
|
|
2392
|
-
"path": "src/
|
|
2367
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2393
2368
|
"declarations": [
|
|
2394
2369
|
{
|
|
2395
|
-
"kind": "
|
|
2396
|
-
"name": "
|
|
2397
|
-
"
|
|
2370
|
+
"kind": "function",
|
|
2371
|
+
"name": "actionsMenuBaseStyles",
|
|
2372
|
+
"return": {
|
|
2373
|
+
"type": {
|
|
2374
|
+
"text": "ElementStyles"
|
|
2375
|
+
}
|
|
2376
|
+
},
|
|
2377
|
+
"parameters": [
|
|
2378
|
+
{
|
|
2379
|
+
"name": "context",
|
|
2380
|
+
"type": {
|
|
2381
|
+
"text": "ElementDefinitionContext"
|
|
2382
|
+
}
|
|
2383
|
+
},
|
|
2384
|
+
{
|
|
2385
|
+
"name": "definition",
|
|
2386
|
+
"type": {
|
|
2387
|
+
"text": "FoundationElementDefinition"
|
|
2388
|
+
}
|
|
2389
|
+
}
|
|
2390
|
+
]
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
"kind": "function",
|
|
2394
|
+
"name": "foundationActionsMenuStyles",
|
|
2395
|
+
"return": {
|
|
2396
|
+
"type": {
|
|
2397
|
+
"text": "ElementStyles"
|
|
2398
|
+
}
|
|
2399
|
+
},
|
|
2400
|
+
"parameters": [
|
|
2401
|
+
{
|
|
2402
|
+
"name": "context",
|
|
2403
|
+
"type": {
|
|
2404
|
+
"text": "ElementDefinitionContext"
|
|
2405
|
+
}
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
"name": "definition",
|
|
2409
|
+
"type": {
|
|
2410
|
+
"text": "FoundationElementDefinition"
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
]
|
|
2398
2414
|
}
|
|
2399
2415
|
],
|
|
2400
2416
|
"exports": [
|
|
2401
2417
|
{
|
|
2402
2418
|
"kind": "js",
|
|
2403
|
-
"name": "
|
|
2419
|
+
"name": "actionsMenuBaseStyles",
|
|
2404
2420
|
"declaration": {
|
|
2405
|
-
"name": "
|
|
2406
|
-
"module": "src/
|
|
2421
|
+
"name": "actionsMenuBaseStyles",
|
|
2422
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2423
|
+
}
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"kind": "js",
|
|
2427
|
+
"name": "foundationActionsMenuStyles",
|
|
2428
|
+
"declaration": {
|
|
2429
|
+
"name": "foundationActionsMenuStyles",
|
|
2430
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2407
2431
|
}
|
|
2408
2432
|
}
|
|
2409
2433
|
]
|
|
2410
2434
|
},
|
|
2411
2435
|
{
|
|
2412
2436
|
"kind": "javascript-module",
|
|
2413
|
-
"path": "src/
|
|
2437
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2414
2438
|
"declarations": [
|
|
2439
|
+
{
|
|
2440
|
+
"kind": "function",
|
|
2441
|
+
"name": "menuTemplate",
|
|
2442
|
+
"parameters": [
|
|
2443
|
+
{
|
|
2444
|
+
"name": "prefix",
|
|
2445
|
+
"type": {
|
|
2446
|
+
"text": "string"
|
|
2447
|
+
}
|
|
2448
|
+
}
|
|
2449
|
+
]
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
"kind": "function",
|
|
2453
|
+
"name": "singleOptionTemplate",
|
|
2454
|
+
"parameters": [
|
|
2455
|
+
{
|
|
2456
|
+
"name": "prefix",
|
|
2457
|
+
"type": {
|
|
2458
|
+
"text": "string"
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
]
|
|
2462
|
+
},
|
|
2415
2463
|
{
|
|
2416
2464
|
"kind": "variable",
|
|
2417
|
-
"name": "
|
|
2465
|
+
"name": "foundationActionsMenuTemplate",
|
|
2418
2466
|
"type": {
|
|
2419
|
-
"text": "ViewTemplate<
|
|
2467
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2420
2468
|
},
|
|
2421
|
-
"default": "html`\n ${(x) =>
|
|
2469
|
+
"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`"
|
|
2422
2470
|
}
|
|
2423
2471
|
],
|
|
2424
2472
|
"exports": [
|
|
2425
2473
|
{
|
|
2426
2474
|
"kind": "js",
|
|
2427
|
-
"name": "
|
|
2475
|
+
"name": "menuTemplate",
|
|
2428
2476
|
"declaration": {
|
|
2429
|
-
"name": "
|
|
2430
|
-
"module": "src/
|
|
2477
|
+
"name": "menuTemplate",
|
|
2478
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2479
|
+
}
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
"kind": "js",
|
|
2483
|
+
"name": "singleOptionTemplate",
|
|
2484
|
+
"declaration": {
|
|
2485
|
+
"name": "singleOptionTemplate",
|
|
2486
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2487
|
+
}
|
|
2488
|
+
},
|
|
2489
|
+
{
|
|
2490
|
+
"kind": "js",
|
|
2491
|
+
"name": "foundationActionsMenuTemplate",
|
|
2492
|
+
"declaration": {
|
|
2493
|
+
"name": "foundationActionsMenuTemplate",
|
|
2494
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2431
2495
|
}
|
|
2432
2496
|
}
|
|
2433
2497
|
]
|
|
2434
2498
|
},
|
|
2435
2499
|
{
|
|
2436
2500
|
"kind": "javascript-module",
|
|
2437
|
-
"path": "src/
|
|
2501
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2438
2502
|
"declarations": [
|
|
2439
2503
|
{
|
|
2440
2504
|
"kind": "class",
|
|
2441
|
-
"description": "
|
|
2442
|
-
"name": "
|
|
2505
|
+
"description": "",
|
|
2506
|
+
"name": "ActionsMenu",
|
|
2443
2507
|
"members": [
|
|
2444
2508
|
{
|
|
2445
2509
|
"kind": "field",
|
|
2446
|
-
"name": "
|
|
2510
|
+
"name": "actions",
|
|
2447
2511
|
"type": {
|
|
2448
|
-
"text": "
|
|
2512
|
+
"text": "ActionMenuItem[]"
|
|
2449
2513
|
}
|
|
2450
2514
|
},
|
|
2451
2515
|
{
|
|
2452
2516
|
"kind": "field",
|
|
2453
|
-
"name": "
|
|
2517
|
+
"name": "isVertical",
|
|
2454
2518
|
"type": {
|
|
2455
|
-
"text": "
|
|
2519
|
+
"text": "boolean"
|
|
2456
2520
|
},
|
|
2457
|
-
"default": "
|
|
2521
|
+
"default": "false"
|
|
2458
2522
|
},
|
|
2459
2523
|
{
|
|
2460
2524
|
"kind": "field",
|
|
2461
|
-
"name": "
|
|
2525
|
+
"name": "addDefaultActions",
|
|
2462
2526
|
"type": {
|
|
2463
2527
|
"text": "boolean"
|
|
2464
|
-
}
|
|
2528
|
+
},
|
|
2529
|
+
"default": "true"
|
|
2465
2530
|
},
|
|
2466
2531
|
{
|
|
2467
2532
|
"kind": "field",
|
|
2468
|
-
"name": "
|
|
2533
|
+
"name": "autoCloseOnAction",
|
|
2469
2534
|
"type": {
|
|
2470
|
-
"text": "
|
|
2535
|
+
"text": "boolean"
|
|
2471
2536
|
},
|
|
2472
|
-
"default": "
|
|
2537
|
+
"default": "true"
|
|
2473
2538
|
},
|
|
2474
2539
|
{
|
|
2475
2540
|
"kind": "field",
|
|
2476
|
-
"name": "
|
|
2541
|
+
"name": "classNames",
|
|
2477
2542
|
"type": {
|
|
2478
|
-
"text": "
|
|
2479
|
-
}
|
|
2480
|
-
"default": "false"
|
|
2543
|
+
"text": "string"
|
|
2544
|
+
}
|
|
2481
2545
|
},
|
|
2482
2546
|
{
|
|
2483
2547
|
"kind": "field",
|
|
2484
|
-
"name": "
|
|
2548
|
+
"name": "definition",
|
|
2485
2549
|
"type": {
|
|
2486
|
-
"text": "
|
|
2487
|
-
}
|
|
2488
|
-
"default": "null"
|
|
2550
|
+
"text": "any"
|
|
2551
|
+
}
|
|
2489
2552
|
},
|
|
2490
2553
|
{
|
|
2491
2554
|
"kind": "field",
|
|
2492
|
-
"name": "
|
|
2555
|
+
"name": "name",
|
|
2493
2556
|
"type": {
|
|
2494
|
-
"text": "
|
|
2557
|
+
"text": "string"
|
|
2495
2558
|
},
|
|
2496
|
-
"default": "
|
|
2559
|
+
"default": "'Actions'"
|
|
2497
2560
|
},
|
|
2498
2561
|
{
|
|
2499
2562
|
"kind": "field",
|
|
2500
|
-
"name": "
|
|
2563
|
+
"name": "open",
|
|
2501
2564
|
"type": {
|
|
2502
2565
|
"text": "boolean"
|
|
2503
2566
|
},
|
|
@@ -2505,15 +2568,14 @@
|
|
|
2505
2568
|
},
|
|
2506
2569
|
{
|
|
2507
2570
|
"kind": "field",
|
|
2508
|
-
"name": "
|
|
2571
|
+
"name": "buttonAppearance",
|
|
2509
2572
|
"type": {
|
|
2510
|
-
"text": "
|
|
2511
|
-
}
|
|
2512
|
-
"default": "[]"
|
|
2573
|
+
"text": "string"
|
|
2574
|
+
}
|
|
2513
2575
|
},
|
|
2514
2576
|
{
|
|
2515
2577
|
"kind": "field",
|
|
2516
|
-
"name": "
|
|
2578
|
+
"name": "hideDisabled",
|
|
2517
2579
|
"type": {
|
|
2518
2580
|
"text": "boolean"
|
|
2519
2581
|
},
|
|
@@ -2521,125 +2583,114 @@
|
|
|
2521
2583
|
},
|
|
2522
2584
|
{
|
|
2523
2585
|
"kind": "field",
|
|
2524
|
-
"name": "
|
|
2525
|
-
"type": {
|
|
2526
|
-
"text": "HTMLTextAreaElement"
|
|
2527
|
-
},
|
|
2528
|
-
"privacy": "public"
|
|
2529
|
-
},
|
|
2530
|
-
{
|
|
2531
|
-
"kind": "field",
|
|
2532
|
-
"name": "stopRecording",
|
|
2586
|
+
"name": "hideMenuSingleOption",
|
|
2533
2587
|
"type": {
|
|
2534
|
-
"text": "
|
|
2588
|
+
"text": "boolean"
|
|
2535
2589
|
},
|
|
2536
|
-
"
|
|
2537
|
-
"default": "null"
|
|
2590
|
+
"default": "false"
|
|
2538
2591
|
},
|
|
2539
2592
|
{
|
|
2540
2593
|
"kind": "field",
|
|
2541
|
-
"name": "
|
|
2594
|
+
"name": "singleOption",
|
|
2542
2595
|
"type": {
|
|
2543
|
-
"text": "
|
|
2544
|
-
}
|
|
2545
|
-
"privacy": "private",
|
|
2546
|
-
"default": "null"
|
|
2596
|
+
"text": "ActionMenuItem"
|
|
2597
|
+
}
|
|
2547
2598
|
},
|
|
2548
2599
|
{
|
|
2549
2600
|
"kind": "field",
|
|
2550
|
-
"name": "
|
|
2601
|
+
"name": "actionsMenu",
|
|
2551
2602
|
"type": {
|
|
2552
|
-
"text": "
|
|
2553
|
-
}
|
|
2554
|
-
"readonly": true
|
|
2603
|
+
"text": "HTMLElement"
|
|
2604
|
+
}
|
|
2555
2605
|
},
|
|
2556
2606
|
{
|
|
2557
2607
|
"kind": "field",
|
|
2558
|
-
"name": "
|
|
2608
|
+
"name": "actionsOpener",
|
|
2559
2609
|
"type": {
|
|
2560
|
-
"text": "
|
|
2561
|
-
}
|
|
2562
|
-
"readonly": true
|
|
2563
|
-
},
|
|
2564
|
-
{
|
|
2565
|
-
"kind": "method",
|
|
2566
|
-
"name": "getFieldLabel",
|
|
2567
|
-
"privacy": "private",
|
|
2568
|
-
"return": {
|
|
2569
|
-
"type": {
|
|
2570
|
-
"text": "string"
|
|
2571
|
-
}
|
|
2572
|
-
},
|
|
2573
|
-
"parameters": [
|
|
2574
|
-
{
|
|
2575
|
-
"name": "fieldName",
|
|
2576
|
-
"type": {
|
|
2577
|
-
"text": "string"
|
|
2578
|
-
}
|
|
2579
|
-
}
|
|
2580
|
-
]
|
|
2610
|
+
"text": "HTMLElement"
|
|
2611
|
+
}
|
|
2581
2612
|
},
|
|
2582
2613
|
{
|
|
2583
2614
|
"kind": "method",
|
|
2584
|
-
"name": "
|
|
2585
|
-
"
|
|
2586
|
-
"type": {
|
|
2587
|
-
"text": "void"
|
|
2588
|
-
}
|
|
2589
|
-
}
|
|
2615
|
+
"name": "updateMenuPosition",
|
|
2616
|
+
"privacy": "private"
|
|
2590
2617
|
},
|
|
2591
2618
|
{
|
|
2592
2619
|
"kind": "method",
|
|
2593
|
-
"name": "
|
|
2594
|
-
"
|
|
2595
|
-
"type": {
|
|
2596
|
-
"text": "void"
|
|
2597
|
-
}
|
|
2598
|
-
},
|
|
2620
|
+
"name": "definitionChanged",
|
|
2621
|
+
"privacy": "protected",
|
|
2599
2622
|
"parameters": [
|
|
2600
2623
|
{
|
|
2601
|
-
"name": "
|
|
2624
|
+
"name": "oldValue",
|
|
2602
2625
|
"type": {
|
|
2603
|
-
"text": "
|
|
2626
|
+
"text": "any"
|
|
2604
2627
|
}
|
|
2605
2628
|
},
|
|
2606
2629
|
{
|
|
2607
|
-
"name": "
|
|
2630
|
+
"name": "newValue",
|
|
2608
2631
|
"type": {
|
|
2609
|
-
"text": "
|
|
2632
|
+
"text": "any"
|
|
2610
2633
|
}
|
|
2611
2634
|
}
|
|
2612
2635
|
]
|
|
2613
2636
|
},
|
|
2614
2637
|
{
|
|
2615
2638
|
"kind": "method",
|
|
2616
|
-
"name": "
|
|
2617
|
-
"
|
|
2618
|
-
"type": {
|
|
2619
|
-
"text": "void"
|
|
2620
|
-
}
|
|
2621
|
-
}
|
|
2639
|
+
"name": "openChanged",
|
|
2640
|
+
"privacy": "protected"
|
|
2622
2641
|
},
|
|
2623
2642
|
{
|
|
2624
2643
|
"kind": "method",
|
|
2625
|
-
"name": "
|
|
2644
|
+
"name": "toggleActionsMenuVisibility"
|
|
2626
2645
|
},
|
|
2627
2646
|
{
|
|
2628
2647
|
"kind": "method",
|
|
2629
|
-
"name": "
|
|
2648
|
+
"name": "onActionMenuItemClick",
|
|
2649
|
+
"parameters": [
|
|
2650
|
+
{
|
|
2651
|
+
"name": "callback",
|
|
2652
|
+
"type": {
|
|
2653
|
+
"text": "(rowData) => void | any"
|
|
2654
|
+
}
|
|
2655
|
+
}
|
|
2656
|
+
]
|
|
2630
2657
|
},
|
|
2631
2658
|
{
|
|
2632
|
-
"kind": "
|
|
2633
|
-
"name": "
|
|
2659
|
+
"kind": "field",
|
|
2660
|
+
"name": "allActions",
|
|
2661
|
+
"type": {
|
|
2662
|
+
"text": "ActionMenuItem[]"
|
|
2663
|
+
},
|
|
2664
|
+
"readonly": true
|
|
2665
|
+
},
|
|
2666
|
+
{
|
|
2667
|
+
"kind": "field",
|
|
2668
|
+
"name": "rowData",
|
|
2669
|
+
"readonly": true
|
|
2634
2670
|
},
|
|
2635
2671
|
{
|
|
2636
2672
|
"kind": "method",
|
|
2637
|
-
"name": "
|
|
2673
|
+
"name": "getLabel",
|
|
2674
|
+
"parameters": [
|
|
2675
|
+
{
|
|
2676
|
+
"name": "name",
|
|
2677
|
+
"type": {
|
|
2678
|
+
"text": "string | ((rowData: any) => string)"
|
|
2679
|
+
}
|
|
2680
|
+
}
|
|
2681
|
+
]
|
|
2638
2682
|
},
|
|
2639
2683
|
{
|
|
2640
2684
|
"kind": "method",
|
|
2641
|
-
"name": "
|
|
2642
|
-
"
|
|
2685
|
+
"name": "getTemplate",
|
|
2686
|
+
"parameters": [
|
|
2687
|
+
{
|
|
2688
|
+
"name": "prefix",
|
|
2689
|
+
"type": {
|
|
2690
|
+
"text": "string"
|
|
2691
|
+
}
|
|
2692
|
+
}
|
|
2693
|
+
]
|
|
2643
2694
|
},
|
|
2644
2695
|
{
|
|
2645
2696
|
"kind": "field",
|
|
@@ -2753,154 +2804,115 @@
|
|
|
2753
2804
|
}
|
|
2754
2805
|
}
|
|
2755
2806
|
],
|
|
2756
|
-
"
|
|
2807
|
+
"attributes": [
|
|
2757
2808
|
{
|
|
2758
|
-
"
|
|
2759
|
-
"
|
|
2809
|
+
"name": "is-vertical",
|
|
2810
|
+
"type": {
|
|
2811
|
+
"text": "boolean"
|
|
2812
|
+
},
|
|
2813
|
+
"default": "false",
|
|
2814
|
+
"fieldName": "isVertical"
|
|
2760
2815
|
},
|
|
2761
2816
|
{
|
|
2762
|
-
"
|
|
2763
|
-
"
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2817
|
+
"name": "add-default-actions",
|
|
2818
|
+
"type": {
|
|
2819
|
+
"text": "boolean"
|
|
2820
|
+
},
|
|
2821
|
+
"default": "true",
|
|
2822
|
+
"fieldName": "addDefaultActions"
|
|
2823
|
+
},
|
|
2767
2824
|
{
|
|
2768
|
-
"name": "
|
|
2825
|
+
"name": "auto-close-on-action",
|
|
2826
|
+
"type": {
|
|
2827
|
+
"text": "boolean"
|
|
2828
|
+
},
|
|
2829
|
+
"default": "true",
|
|
2830
|
+
"fieldName": "autoCloseOnAction"
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
"name": "name",
|
|
2769
2834
|
"type": {
|
|
2770
2835
|
"text": "string"
|
|
2771
2836
|
},
|
|
2772
|
-
"default": "'
|
|
2773
|
-
"fieldName": "
|
|
2837
|
+
"default": "'Actions'",
|
|
2838
|
+
"fieldName": "name"
|
|
2774
2839
|
},
|
|
2775
2840
|
{
|
|
2841
|
+
"name": "open",
|
|
2776
2842
|
"type": {
|
|
2777
2843
|
"text": "boolean"
|
|
2778
2844
|
},
|
|
2779
|
-
"
|
|
2845
|
+
"default": "false",
|
|
2846
|
+
"fieldName": "open"
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
"name": "buttonAppearance",
|
|
2850
|
+
"type": {
|
|
2851
|
+
"text": "string"
|
|
2852
|
+
},
|
|
2853
|
+
"fieldName": "buttonAppearance"
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"name": "hide-disabled",
|
|
2857
|
+
"type": {
|
|
2858
|
+
"text": "boolean"
|
|
2859
|
+
},
|
|
2860
|
+
"default": "false",
|
|
2861
|
+
"fieldName": "hideDisabled"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"name": "hide-menu-single-option",
|
|
2865
|
+
"type": {
|
|
2866
|
+
"text": "boolean"
|
|
2867
|
+
},
|
|
2868
|
+
"default": "false",
|
|
2869
|
+
"fieldName": "hideMenuSingleOption"
|
|
2780
2870
|
}
|
|
2781
2871
|
],
|
|
2782
2872
|
"superclass": {
|
|
2783
2873
|
"name": "FoundationElement",
|
|
2784
2874
|
"package": "@microsoft/fast-foundation"
|
|
2785
2875
|
},
|
|
2786
|
-
"tagName": "%%prefix%%-
|
|
2876
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2787
2877
|
"customElement": true
|
|
2788
2878
|
},
|
|
2789
2879
|
{
|
|
2790
2880
|
"kind": "variable",
|
|
2791
|
-
"name": "
|
|
2792
|
-
"
|
|
2793
|
-
|
|
2794
|
-
},
|
|
2795
|
-
"default": "undefined"
|
|
2796
|
-
},
|
|
2797
|
-
{
|
|
2798
|
-
"kind": "variable",
|
|
2799
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2800
|
-
"type": {
|
|
2801
|
-
"text": "object"
|
|
2802
|
-
},
|
|
2803
|
-
"default": "{}"
|
|
2804
|
-
},
|
|
2805
|
-
{
|
|
2806
|
-
"kind": "variable",
|
|
2807
|
-
"name": "foundationAiCriteriaSearch"
|
|
2881
|
+
"name": "foundationActionsMenu",
|
|
2882
|
+
"description": "The Foundation Actions Menu",
|
|
2883
|
+
"privacy": "public"
|
|
2808
2884
|
}
|
|
2809
2885
|
],
|
|
2810
2886
|
"exports": [
|
|
2811
2887
|
{
|
|
2812
2888
|
"kind": "js",
|
|
2813
|
-
"name": "
|
|
2814
|
-
"declaration": {
|
|
2815
|
-
"name": "AiCriteriaSearch",
|
|
2816
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2817
|
-
}
|
|
2818
|
-
},
|
|
2819
|
-
{
|
|
2820
|
-
"kind": "js",
|
|
2821
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2822
|
-
"declaration": {
|
|
2823
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2824
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2825
|
-
}
|
|
2826
|
-
},
|
|
2827
|
-
{
|
|
2828
|
-
"kind": "js",
|
|
2829
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2889
|
+
"name": "ActionsMenu",
|
|
2830
2890
|
"declaration": {
|
|
2831
|
-
"name": "
|
|
2832
|
-
"module": "src/
|
|
2891
|
+
"name": "ActionsMenu",
|
|
2892
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2833
2893
|
}
|
|
2834
2894
|
},
|
|
2835
2895
|
{
|
|
2836
2896
|
"kind": "js",
|
|
2837
|
-
"name": "
|
|
2897
|
+
"name": "foundationActionsMenu",
|
|
2838
2898
|
"declaration": {
|
|
2839
|
-
"name": "
|
|
2840
|
-
"module": "src/
|
|
2899
|
+
"name": "foundationActionsMenu",
|
|
2900
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2841
2901
|
}
|
|
2842
2902
|
}
|
|
2843
2903
|
]
|
|
2844
2904
|
},
|
|
2845
2905
|
{
|
|
2846
2906
|
"kind": "javascript-module",
|
|
2847
|
-
"path": "src/
|
|
2907
|
+
"path": "src/actions-menu/index.ts",
|
|
2848
2908
|
"declarations": [],
|
|
2849
2909
|
"exports": [
|
|
2850
|
-
{
|
|
2851
|
-
"kind": "js",
|
|
2852
|
-
"name": "AiCriteriaSearch",
|
|
2853
|
-
"declaration": {
|
|
2854
|
-
"name": "AiCriteriaSearch",
|
|
2855
|
-
"module": "./ai-criteria-search"
|
|
2856
|
-
}
|
|
2857
|
-
},
|
|
2858
|
-
{
|
|
2859
|
-
"kind": "js",
|
|
2860
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2861
|
-
"declaration": {
|
|
2862
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2863
|
-
"module": "./ai-criteria-search"
|
|
2864
|
-
}
|
|
2865
|
-
},
|
|
2866
|
-
{
|
|
2867
|
-
"kind": "js",
|
|
2868
|
-
"name": "foundationAiCriteriaSearch",
|
|
2869
|
-
"declaration": {
|
|
2870
|
-
"name": "foundationAiCriteriaSearch",
|
|
2871
|
-
"module": "./ai-criteria-search"
|
|
2872
|
-
}
|
|
2873
|
-
},
|
|
2874
|
-
{
|
|
2875
|
-
"kind": "js",
|
|
2876
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2877
|
-
"declaration": {
|
|
2878
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2879
|
-
"module": "./ai-criteria-search"
|
|
2880
|
-
}
|
|
2881
|
-
},
|
|
2882
|
-
{
|
|
2883
|
-
"kind": "js",
|
|
2884
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2885
|
-
"declaration": {
|
|
2886
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2887
|
-
"module": "./ai-criteria-search.styles"
|
|
2888
|
-
}
|
|
2889
|
-
},
|
|
2890
|
-
{
|
|
2891
|
-
"kind": "js",
|
|
2892
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2893
|
-
"declaration": {
|
|
2894
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2895
|
-
"module": "./ai-criteria-search.template"
|
|
2896
|
-
}
|
|
2897
|
-
},
|
|
2898
2910
|
{
|
|
2899
2911
|
"kind": "js",
|
|
2900
2912
|
"name": "*",
|
|
2901
2913
|
"declaration": {
|
|
2902
2914
|
"name": "*",
|
|
2903
|
-
"package": "./
|
|
2915
|
+
"package": "./actions-menu.styles"
|
|
2904
2916
|
}
|
|
2905
2917
|
},
|
|
2906
2918
|
{
|
|
@@ -2908,7 +2920,7 @@
|
|
|
2908
2920
|
"name": "*",
|
|
2909
2921
|
"declaration": {
|
|
2910
2922
|
"name": "*",
|
|
2911
|
-
"package": "./
|
|
2923
|
+
"package": "./actions-menu.template"
|
|
2912
2924
|
}
|
|
2913
2925
|
},
|
|
2914
2926
|
{
|
|
@@ -2916,157 +2928,64 @@
|
|
|
2916
2928
|
"name": "*",
|
|
2917
2929
|
"declaration": {
|
|
2918
2930
|
"name": "*",
|
|
2919
|
-
"package": "./
|
|
2920
|
-
}
|
|
2921
|
-
}
|
|
2922
|
-
]
|
|
2923
|
-
},
|
|
2924
|
-
{
|
|
2925
|
-
"kind": "javascript-module",
|
|
2926
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2927
|
-
"declarations": [
|
|
2928
|
-
{
|
|
2929
|
-
"kind": "function",
|
|
2930
|
-
"name": "formatValidationErrors",
|
|
2931
|
-
"return": {
|
|
2932
|
-
"type": {
|
|
2933
|
-
"text": "string"
|
|
2934
|
-
}
|
|
2935
|
-
},
|
|
2936
|
-
"parameters": [
|
|
2937
|
-
{
|
|
2938
|
-
"name": "errors",
|
|
2939
|
-
"type": {
|
|
2940
|
-
"text": "ValidationError[]"
|
|
2941
|
-
}
|
|
2942
|
-
}
|
|
2943
|
-
],
|
|
2944
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2945
|
-
},
|
|
2946
|
-
{
|
|
2947
|
-
"kind": "function",
|
|
2948
|
-
"name": "showCriteriaError",
|
|
2949
|
-
"return": {
|
|
2950
|
-
"type": {
|
|
2951
|
-
"text": "void"
|
|
2952
|
-
}
|
|
2953
|
-
},
|
|
2954
|
-
"parameters": [
|
|
2955
|
-
{
|
|
2956
|
-
"name": "title",
|
|
2957
|
-
"type": {
|
|
2958
|
-
"text": "string"
|
|
2959
|
-
},
|
|
2960
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2961
|
-
},
|
|
2962
|
-
{
|
|
2963
|
-
"name": "body",
|
|
2964
|
-
"type": {
|
|
2965
|
-
"text": "string"
|
|
2966
|
-
},
|
|
2967
|
-
"description": "Error message to display"
|
|
2968
|
-
},
|
|
2969
|
-
{
|
|
2970
|
-
"name": "tagName",
|
|
2971
|
-
"type": {
|
|
2972
|
-
"text": "string"
|
|
2973
|
-
},
|
|
2974
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2975
|
-
}
|
|
2976
|
-
],
|
|
2977
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2978
|
-
}
|
|
2979
|
-
],
|
|
2980
|
-
"exports": [
|
|
2981
|
-
{
|
|
2982
|
-
"kind": "js",
|
|
2983
|
-
"name": "formatValidationErrors",
|
|
2984
|
-
"declaration": {
|
|
2985
|
-
"name": "formatValidationErrors",
|
|
2986
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2987
|
-
}
|
|
2988
|
-
},
|
|
2989
|
-
{
|
|
2990
|
-
"kind": "js",
|
|
2991
|
-
"name": "showCriteriaError",
|
|
2992
|
-
"declaration": {
|
|
2993
|
-
"name": "showCriteriaError",
|
|
2994
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2931
|
+
"package": "./actions-menu"
|
|
2995
2932
|
}
|
|
2996
2933
|
}
|
|
2997
2934
|
]
|
|
2998
2935
|
},
|
|
2999
2936
|
{
|
|
3000
2937
|
"kind": "javascript-module",
|
|
3001
|
-
"path": "src/ai-
|
|
2938
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3002
2939
|
"declarations": [
|
|
3003
2940
|
{
|
|
3004
|
-
"kind": "
|
|
3005
|
-
"name": "
|
|
3006
|
-
"
|
|
3007
|
-
"type": {
|
|
3008
|
-
"text": "ElementStyles"
|
|
3009
|
-
}
|
|
3010
|
-
},
|
|
3011
|
-
"parameters": [
|
|
3012
|
-
{
|
|
3013
|
-
"name": "context",
|
|
3014
|
-
"type": {
|
|
3015
|
-
"text": "ElementDefinitionContext"
|
|
3016
|
-
}
|
|
3017
|
-
},
|
|
3018
|
-
{
|
|
3019
|
-
"name": "definition",
|
|
3020
|
-
"type": {
|
|
3021
|
-
"text": "FoundationElementDefinition"
|
|
3022
|
-
}
|
|
3023
|
-
}
|
|
3024
|
-
]
|
|
2941
|
+
"kind": "variable",
|
|
2942
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2943
|
+
"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`"
|
|
3025
2944
|
}
|
|
3026
2945
|
],
|
|
3027
2946
|
"exports": [
|
|
3028
2947
|
{
|
|
3029
2948
|
"kind": "js",
|
|
3030
|
-
"name": "
|
|
2949
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3031
2950
|
"declaration": {
|
|
3032
|
-
"name": "
|
|
3033
|
-
"module": "src/ai-
|
|
2951
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2952
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3034
2953
|
}
|
|
3035
2954
|
}
|
|
3036
2955
|
]
|
|
3037
2956
|
},
|
|
3038
2957
|
{
|
|
3039
2958
|
"kind": "javascript-module",
|
|
3040
|
-
"path": "src/ai-
|
|
2959
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3041
2960
|
"declarations": [
|
|
3042
2961
|
{
|
|
3043
2962
|
"kind": "variable",
|
|
3044
|
-
"name": "
|
|
2963
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3045
2964
|
"type": {
|
|
3046
|
-
"text": "ViewTemplate<
|
|
2965
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3047
2966
|
},
|
|
3048
|
-
"default": "html`\n ${(x) =>
|
|
2967
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3049
2968
|
}
|
|
3050
2969
|
],
|
|
3051
2970
|
"exports": [
|
|
3052
2971
|
{
|
|
3053
2972
|
"kind": "js",
|
|
3054
|
-
"name": "
|
|
2973
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3055
2974
|
"declaration": {
|
|
3056
|
-
"name": "
|
|
3057
|
-
"module": "src/ai-
|
|
2975
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2976
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3058
2977
|
}
|
|
3059
2978
|
}
|
|
3060
2979
|
]
|
|
3061
2980
|
},
|
|
3062
2981
|
{
|
|
3063
2982
|
"kind": "javascript-module",
|
|
3064
|
-
"path": "src/ai-
|
|
2983
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3065
2984
|
"declarations": [
|
|
3066
2985
|
{
|
|
3067
2986
|
"kind": "class",
|
|
3068
|
-
"description": "",
|
|
3069
|
-
"name": "
|
|
2987
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2988
|
+
"name": "AiCriteriaSearch",
|
|
3070
2989
|
"members": [
|
|
3071
2990
|
{
|
|
3072
2991
|
"kind": "field",
|
|
@@ -3077,25 +2996,54 @@
|
|
|
3077
2996
|
},
|
|
3078
2997
|
{
|
|
3079
2998
|
"kind": "field",
|
|
3080
|
-
"name": "
|
|
2999
|
+
"name": "placeholder",
|
|
3081
3000
|
"type": {
|
|
3082
|
-
"text": "
|
|
3001
|
+
"text": "string"
|
|
3083
3002
|
},
|
|
3084
|
-
"
|
|
3085
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3086
|
-
"readonly": true
|
|
3003
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3087
3004
|
},
|
|
3088
3005
|
{
|
|
3089
3006
|
"kind": "field",
|
|
3090
|
-
"name": "
|
|
3007
|
+
"name": "disabled",
|
|
3091
3008
|
"type": {
|
|
3092
|
-
"text": "
|
|
3009
|
+
"text": "boolean"
|
|
3010
|
+
}
|
|
3011
|
+
},
|
|
3012
|
+
{
|
|
3013
|
+
"kind": "field",
|
|
3014
|
+
"name": "inputValue",
|
|
3015
|
+
"type": {
|
|
3016
|
+
"text": "string"
|
|
3017
|
+
},
|
|
3018
|
+
"default": "''"
|
|
3019
|
+
},
|
|
3020
|
+
{
|
|
3021
|
+
"kind": "field",
|
|
3022
|
+
"name": "isInterpreting",
|
|
3023
|
+
"type": {
|
|
3024
|
+
"text": "boolean"
|
|
3025
|
+
},
|
|
3026
|
+
"default": "false"
|
|
3027
|
+
},
|
|
3028
|
+
{
|
|
3029
|
+
"kind": "field",
|
|
3030
|
+
"name": "lastValidCriteria",
|
|
3031
|
+
"type": {
|
|
3032
|
+
"text": "string | null"
|
|
3093
3033
|
},
|
|
3094
3034
|
"default": "null"
|
|
3095
3035
|
},
|
|
3096
3036
|
{
|
|
3097
3037
|
"kind": "field",
|
|
3098
|
-
"name": "
|
|
3038
|
+
"name": "activeGroups",
|
|
3039
|
+
"type": {
|
|
3040
|
+
"text": "CriteriaGroup[]"
|
|
3041
|
+
},
|
|
3042
|
+
"default": "[]"
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
"kind": "field",
|
|
3046
|
+
"name": "showingChips",
|
|
3099
3047
|
"type": {
|
|
3100
3048
|
"text": "boolean"
|
|
3101
3049
|
},
|
|
@@ -3103,15 +3051,15 @@
|
|
|
3103
3051
|
},
|
|
3104
3052
|
{
|
|
3105
3053
|
"kind": "field",
|
|
3106
|
-
"name": "
|
|
3054
|
+
"name": "fieldMetadata",
|
|
3107
3055
|
"type": {
|
|
3108
|
-
"text": "
|
|
3056
|
+
"text": "MetadataDetail[] | string[]"
|
|
3109
3057
|
},
|
|
3110
|
-
"default": "
|
|
3058
|
+
"default": "[]"
|
|
3111
3059
|
},
|
|
3112
3060
|
{
|
|
3113
3061
|
"kind": "field",
|
|
3114
|
-
"name": "
|
|
3062
|
+
"name": "isRecording",
|
|
3115
3063
|
"type": {
|
|
3116
3064
|
"text": "boolean"
|
|
3117
3065
|
},
|
|
@@ -3119,29 +3067,33 @@
|
|
|
3119
3067
|
},
|
|
3120
3068
|
{
|
|
3121
3069
|
"kind": "field",
|
|
3122
|
-
"name": "
|
|
3070
|
+
"name": "textAreaRef",
|
|
3123
3071
|
"type": {
|
|
3124
|
-
"text": "
|
|
3072
|
+
"text": "HTMLTextAreaElement"
|
|
3125
3073
|
},
|
|
3126
|
-
"privacy": "
|
|
3127
|
-
"default": "null"
|
|
3074
|
+
"privacy": "public"
|
|
3128
3075
|
},
|
|
3129
3076
|
{
|
|
3130
3077
|
"kind": "field",
|
|
3131
|
-
"name": "
|
|
3132
|
-
"
|
|
3078
|
+
"name": "stopRecording",
|
|
3079
|
+
"type": {
|
|
3080
|
+
"text": "(() => void) | null"
|
|
3081
|
+
},
|
|
3082
|
+
"privacy": "private",
|
|
3083
|
+
"default": "null"
|
|
3133
3084
|
},
|
|
3134
3085
|
{
|
|
3135
3086
|
"kind": "field",
|
|
3136
|
-
"name": "
|
|
3087
|
+
"name": "speechApplyDebounceTimer",
|
|
3137
3088
|
"type": {
|
|
3138
|
-
"text": "
|
|
3089
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3139
3090
|
},
|
|
3140
|
-
"
|
|
3091
|
+
"privacy": "private",
|
|
3092
|
+
"default": "null"
|
|
3141
3093
|
},
|
|
3142
3094
|
{
|
|
3143
3095
|
"kind": "field",
|
|
3144
|
-
"name": "
|
|
3096
|
+
"name": "speechAvailable",
|
|
3145
3097
|
"type": {
|
|
3146
3098
|
"text": "boolean"
|
|
3147
3099
|
},
|
|
@@ -3149,69 +3101,65 @@
|
|
|
3149
3101
|
},
|
|
3150
3102
|
{
|
|
3151
3103
|
"kind": "field",
|
|
3152
|
-
"name": "
|
|
3104
|
+
"name": "criteriaChips",
|
|
3153
3105
|
"type": {
|
|
3154
|
-
"text": "
|
|
3106
|
+
"text": "CriteriaChip[]"
|
|
3155
3107
|
},
|
|
3156
3108
|
"readonly": true
|
|
3157
3109
|
},
|
|
3158
3110
|
{
|
|
3159
3111
|
"kind": "method",
|
|
3160
|
-
"name": "
|
|
3112
|
+
"name": "getFieldLabel",
|
|
3113
|
+
"privacy": "private",
|
|
3161
3114
|
"return": {
|
|
3162
3115
|
"type": {
|
|
3163
|
-
"text": "
|
|
3116
|
+
"text": "string"
|
|
3164
3117
|
}
|
|
3165
|
-
}
|
|
3166
|
-
},
|
|
3167
|
-
{
|
|
3168
|
-
"kind": "method",
|
|
3169
|
-
"name": "handleClickOutside",
|
|
3170
|
-
"privacy": "private",
|
|
3118
|
+
},
|
|
3171
3119
|
"parameters": [
|
|
3172
3120
|
{
|
|
3173
|
-
"name": "
|
|
3121
|
+
"name": "fieldName",
|
|
3174
3122
|
"type": {
|
|
3175
|
-
"text": "
|
|
3123
|
+
"text": "string"
|
|
3176
3124
|
}
|
|
3177
3125
|
}
|
|
3178
3126
|
]
|
|
3179
3127
|
},
|
|
3180
3128
|
{
|
|
3181
3129
|
"kind": "method",
|
|
3182
|
-
"name": "
|
|
3183
|
-
},
|
|
3184
|
-
{
|
|
3185
|
-
"kind": "method",
|
|
3186
|
-
"name": "refreshStatus",
|
|
3130
|
+
"name": "toggleCriteriaView",
|
|
3187
3131
|
"return": {
|
|
3188
3132
|
"type": {
|
|
3189
|
-
"text": "
|
|
3133
|
+
"text": "void"
|
|
3190
3134
|
}
|
|
3191
3135
|
}
|
|
3192
3136
|
},
|
|
3193
3137
|
{
|
|
3194
3138
|
"kind": "method",
|
|
3195
|
-
"name": "
|
|
3196
|
-
"privacy": "private",
|
|
3139
|
+
"name": "removeChip",
|
|
3197
3140
|
"return": {
|
|
3198
3141
|
"type": {
|
|
3199
|
-
"text": "
|
|
3142
|
+
"text": "void"
|
|
3200
3143
|
}
|
|
3201
3144
|
},
|
|
3202
3145
|
"parameters": [
|
|
3203
3146
|
{
|
|
3204
|
-
"name": "
|
|
3147
|
+
"name": "groupIndex",
|
|
3205
3148
|
"type": {
|
|
3206
|
-
"text": "
|
|
3149
|
+
"text": "number"
|
|
3150
|
+
}
|
|
3151
|
+
},
|
|
3152
|
+
{
|
|
3153
|
+
"name": "clauseIndex",
|
|
3154
|
+
"type": {
|
|
3155
|
+
"text": "number"
|
|
3207
3156
|
}
|
|
3208
3157
|
}
|
|
3209
3158
|
]
|
|
3210
3159
|
},
|
|
3211
3160
|
{
|
|
3212
3161
|
"kind": "method",
|
|
3213
|
-
"name": "
|
|
3214
|
-
"privacy": "private",
|
|
3162
|
+
"name": "clearChips",
|
|
3215
3163
|
"return": {
|
|
3216
3164
|
"type": {
|
|
3217
3165
|
"text": "void"
|
|
@@ -3220,32 +3168,24 @@
|
|
|
3220
3168
|
},
|
|
3221
3169
|
{
|
|
3222
3170
|
"kind": "method",
|
|
3223
|
-
"name": "
|
|
3224
|
-
"privacy": "private",
|
|
3225
|
-
"return": {
|
|
3226
|
-
"type": {
|
|
3227
|
-
"text": "void"
|
|
3228
|
-
}
|
|
3229
|
-
}
|
|
3171
|
+
"name": "handleSubmit"
|
|
3230
3172
|
},
|
|
3231
3173
|
{
|
|
3232
3174
|
"kind": "method",
|
|
3233
|
-
"name": "
|
|
3234
|
-
"privacy": "private",
|
|
3235
|
-
"return": {
|
|
3236
|
-
"type": {
|
|
3237
|
-
"text": "void"
|
|
3238
|
-
}
|
|
3239
|
-
}
|
|
3175
|
+
"name": "handleBlur"
|
|
3240
3176
|
},
|
|
3241
3177
|
{
|
|
3242
3178
|
"kind": "method",
|
|
3243
|
-
"name": "
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3179
|
+
"name": "clear"
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
"kind": "method",
|
|
3183
|
+
"name": "toggleSpeechInput"
|
|
3184
|
+
},
|
|
3185
|
+
{
|
|
3186
|
+
"kind": "method",
|
|
3187
|
+
"name": "clearSpeechApplyDebounce",
|
|
3188
|
+
"privacy": "private"
|
|
3249
3189
|
},
|
|
3250
3190
|
{
|
|
3251
3191
|
"kind": "field",
|
|
@@ -3359,103 +3299,154 @@
|
|
|
3359
3299
|
}
|
|
3360
3300
|
}
|
|
3361
3301
|
],
|
|
3302
|
+
"events": [
|
|
3303
|
+
{
|
|
3304
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3305
|
+
"name": "criteria-changed"
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3309
|
+
"name": "validation-errors"
|
|
3310
|
+
}
|
|
3311
|
+
],
|
|
3312
|
+
"attributes": [
|
|
3313
|
+
{
|
|
3314
|
+
"name": "placeholder",
|
|
3315
|
+
"type": {
|
|
3316
|
+
"text": "string"
|
|
3317
|
+
},
|
|
3318
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3319
|
+
"fieldName": "placeholder"
|
|
3320
|
+
},
|
|
3321
|
+
{
|
|
3322
|
+
"type": {
|
|
3323
|
+
"text": "boolean"
|
|
3324
|
+
},
|
|
3325
|
+
"fieldName": "disabled"
|
|
3326
|
+
}
|
|
3327
|
+
],
|
|
3362
3328
|
"superclass": {
|
|
3363
3329
|
"name": "FoundationElement",
|
|
3364
3330
|
"package": "@microsoft/fast-foundation"
|
|
3365
3331
|
},
|
|
3366
|
-
"tagName": "%%prefix%%-ai-
|
|
3332
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3367
3333
|
"customElement": true
|
|
3368
3334
|
},
|
|
3369
3335
|
{
|
|
3370
3336
|
"kind": "variable",
|
|
3371
|
-
"name": "
|
|
3337
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3338
|
+
"type": {
|
|
3339
|
+
"text": "ShadowRootInit"
|
|
3340
|
+
},
|
|
3341
|
+
"default": "undefined"
|
|
3342
|
+
},
|
|
3343
|
+
{
|
|
3344
|
+
"kind": "variable",
|
|
3345
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3346
|
+
"type": {
|
|
3347
|
+
"text": "object"
|
|
3348
|
+
},
|
|
3349
|
+
"default": "{}"
|
|
3350
|
+
},
|
|
3351
|
+
{
|
|
3352
|
+
"kind": "variable",
|
|
3353
|
+
"name": "foundationAiCriteriaSearch"
|
|
3372
3354
|
}
|
|
3373
3355
|
],
|
|
3374
3356
|
"exports": [
|
|
3375
3357
|
{
|
|
3376
3358
|
"kind": "js",
|
|
3377
|
-
"name": "
|
|
3359
|
+
"name": "AiCriteriaSearch",
|
|
3378
3360
|
"declaration": {
|
|
3379
|
-
"name": "
|
|
3380
|
-
"module": "src/ai-
|
|
3361
|
+
"name": "AiCriteriaSearch",
|
|
3362
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3381
3363
|
}
|
|
3382
3364
|
},
|
|
3383
3365
|
{
|
|
3384
3366
|
"kind": "js",
|
|
3385
|
-
"name": "
|
|
3367
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3386
3368
|
"declaration": {
|
|
3387
|
-
"name": "
|
|
3388
|
-
"module": "src/ai-
|
|
3369
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3370
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3371
|
+
}
|
|
3372
|
+
},
|
|
3373
|
+
{
|
|
3374
|
+
"kind": "js",
|
|
3375
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3376
|
+
"declaration": {
|
|
3377
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3378
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3379
|
+
}
|
|
3380
|
+
},
|
|
3381
|
+
{
|
|
3382
|
+
"kind": "js",
|
|
3383
|
+
"name": "foundationAiCriteriaSearch",
|
|
3384
|
+
"declaration": {
|
|
3385
|
+
"name": "foundationAiCriteriaSearch",
|
|
3386
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3389
3387
|
}
|
|
3390
3388
|
}
|
|
3391
3389
|
]
|
|
3392
3390
|
},
|
|
3393
3391
|
{
|
|
3394
3392
|
"kind": "javascript-module",
|
|
3395
|
-
"path": "src/ai-
|
|
3393
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3396
3394
|
"declarations": [],
|
|
3397
3395
|
"exports": [
|
|
3398
3396
|
{
|
|
3399
3397
|
"kind": "js",
|
|
3400
|
-
"name": "
|
|
3398
|
+
"name": "AiCriteriaSearch",
|
|
3401
3399
|
"declaration": {
|
|
3402
|
-
"name": "
|
|
3403
|
-
"module": "./ai-
|
|
3400
|
+
"name": "AiCriteriaSearch",
|
|
3401
|
+
"module": "./ai-criteria-search"
|
|
3404
3402
|
}
|
|
3405
3403
|
},
|
|
3406
3404
|
{
|
|
3407
3405
|
"kind": "js",
|
|
3408
|
-
"name": "
|
|
3406
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3409
3407
|
"declaration": {
|
|
3410
|
-
"name": "
|
|
3411
|
-
"module": "./ai-
|
|
3408
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3409
|
+
"module": "./ai-criteria-search"
|
|
3412
3410
|
}
|
|
3413
3411
|
},
|
|
3414
3412
|
{
|
|
3415
3413
|
"kind": "js",
|
|
3416
|
-
"name": "
|
|
3414
|
+
"name": "foundationAiCriteriaSearch",
|
|
3417
3415
|
"declaration": {
|
|
3418
|
-
"name": "
|
|
3419
|
-
"module": "./ai-
|
|
3416
|
+
"name": "foundationAiCriteriaSearch",
|
|
3417
|
+
"module": "./ai-criteria-search"
|
|
3420
3418
|
}
|
|
3421
3419
|
},
|
|
3422
3420
|
{
|
|
3423
3421
|
"kind": "js",
|
|
3424
|
-
"name": "
|
|
3422
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3425
3423
|
"declaration": {
|
|
3426
|
-
"name": "
|
|
3427
|
-
"module": "./ai-
|
|
3424
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3425
|
+
"module": "./ai-criteria-search"
|
|
3428
3426
|
}
|
|
3429
3427
|
},
|
|
3430
3428
|
{
|
|
3431
3429
|
"kind": "js",
|
|
3432
|
-
"name": "
|
|
3430
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3433
3431
|
"declaration": {
|
|
3434
|
-
"name": "
|
|
3435
|
-
"module": "./ai-
|
|
3432
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3433
|
+
"module": "./ai-criteria-search.styles"
|
|
3436
3434
|
}
|
|
3437
3435
|
},
|
|
3438
3436
|
{
|
|
3439
3437
|
"kind": "js",
|
|
3440
|
-
"name": "
|
|
3438
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3441
3439
|
"declaration": {
|
|
3442
|
-
"name": "
|
|
3443
|
-
"module": "./ai-
|
|
3440
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3441
|
+
"module": "./ai-criteria-search.template"
|
|
3444
3442
|
}
|
|
3445
|
-
}
|
|
3446
|
-
]
|
|
3447
|
-
},
|
|
3448
|
-
{
|
|
3449
|
-
"kind": "javascript-module",
|
|
3450
|
-
"path": "src/_config/index.ts",
|
|
3451
|
-
"declarations": [],
|
|
3452
|
-
"exports": [
|
|
3443
|
+
},
|
|
3453
3444
|
{
|
|
3454
3445
|
"kind": "js",
|
|
3455
3446
|
"name": "*",
|
|
3456
3447
|
"declaration": {
|
|
3457
3448
|
"name": "*",
|
|
3458
|
-
"package": "./
|
|
3449
|
+
"package": "./validation/criteria-ir"
|
|
3459
3450
|
}
|
|
3460
3451
|
},
|
|
3461
3452
|
{
|
|
@@ -3463,7 +3454,7 @@
|
|
|
3463
3454
|
"name": "*",
|
|
3464
3455
|
"declaration": {
|
|
3465
3456
|
"name": "*",
|
|
3466
|
-
"package": "./
|
|
3457
|
+
"package": "./validation/operator-map"
|
|
3467
3458
|
}
|
|
3468
3459
|
},
|
|
3469
3460
|
{
|
|
@@ -3471,60 +3462,96 @@
|
|
|
3471
3462
|
"name": "*",
|
|
3472
3463
|
"declaration": {
|
|
3473
3464
|
"name": "*",
|
|
3474
|
-
"package": "./
|
|
3465
|
+
"package": "./validation/schema-validator"
|
|
3475
3466
|
}
|
|
3476
3467
|
}
|
|
3477
3468
|
]
|
|
3478
3469
|
},
|
|
3479
3470
|
{
|
|
3480
3471
|
"kind": "javascript-module",
|
|
3481
|
-
"path": "src/
|
|
3472
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3482
3473
|
"declarations": [
|
|
3483
3474
|
{
|
|
3484
3475
|
"kind": "function",
|
|
3485
|
-
"name": "
|
|
3476
|
+
"name": "formatValidationErrors",
|
|
3486
3477
|
"return": {
|
|
3487
3478
|
"type": {
|
|
3488
|
-
"text": "
|
|
3479
|
+
"text": "string"
|
|
3489
3480
|
}
|
|
3490
3481
|
},
|
|
3491
3482
|
"parameters": [
|
|
3492
3483
|
{
|
|
3493
|
-
"name": "
|
|
3484
|
+
"name": "errors",
|
|
3494
3485
|
"type": {
|
|
3495
|
-
"text": "
|
|
3486
|
+
"text": "ValidationError[]"
|
|
3496
3487
|
}
|
|
3488
|
+
}
|
|
3489
|
+
],
|
|
3490
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3491
|
+
},
|
|
3492
|
+
{
|
|
3493
|
+
"kind": "function",
|
|
3494
|
+
"name": "showCriteriaError",
|
|
3495
|
+
"return": {
|
|
3496
|
+
"type": {
|
|
3497
|
+
"text": "void"
|
|
3498
|
+
}
|
|
3499
|
+
},
|
|
3500
|
+
"parameters": [
|
|
3501
|
+
{
|
|
3502
|
+
"name": "title",
|
|
3503
|
+
"type": {
|
|
3504
|
+
"text": "string"
|
|
3505
|
+
},
|
|
3506
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3497
3507
|
},
|
|
3498
3508
|
{
|
|
3499
|
-
"name": "
|
|
3509
|
+
"name": "body",
|
|
3500
3510
|
"type": {
|
|
3501
|
-
"text": "
|
|
3502
|
-
}
|
|
3511
|
+
"text": "string"
|
|
3512
|
+
},
|
|
3513
|
+
"description": "Error message to display"
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"name": "tagName",
|
|
3517
|
+
"type": {
|
|
3518
|
+
"text": "string"
|
|
3519
|
+
},
|
|
3520
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3503
3521
|
}
|
|
3504
|
-
]
|
|
3522
|
+
],
|
|
3523
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3505
3524
|
}
|
|
3506
3525
|
],
|
|
3507
3526
|
"exports": [
|
|
3508
3527
|
{
|
|
3509
3528
|
"kind": "js",
|
|
3510
|
-
"name": "
|
|
3529
|
+
"name": "formatValidationErrors",
|
|
3511
3530
|
"declaration": {
|
|
3512
|
-
"name": "
|
|
3513
|
-
"module": "src/
|
|
3531
|
+
"name": "formatValidationErrors",
|
|
3532
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3533
|
+
}
|
|
3534
|
+
},
|
|
3535
|
+
{
|
|
3536
|
+
"kind": "js",
|
|
3537
|
+
"name": "showCriteriaError",
|
|
3538
|
+
"declaration": {
|
|
3539
|
+
"name": "showCriteriaError",
|
|
3540
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3514
3541
|
}
|
|
3515
3542
|
}
|
|
3516
3543
|
]
|
|
3517
3544
|
},
|
|
3518
3545
|
{
|
|
3519
3546
|
"kind": "javascript-module",
|
|
3520
|
-
"path": "src/
|
|
3547
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3521
3548
|
"declarations": [
|
|
3522
3549
|
{
|
|
3523
3550
|
"kind": "function",
|
|
3524
|
-
"name": "
|
|
3551
|
+
"name": "foundationAiIndicatorStyles",
|
|
3525
3552
|
"return": {
|
|
3526
3553
|
"type": {
|
|
3527
|
-
"text": "
|
|
3554
|
+
"text": "ElementStyles"
|
|
3528
3555
|
}
|
|
3529
3556
|
},
|
|
3530
3557
|
"parameters": [
|
|
@@ -3546,237 +3573,224 @@
|
|
|
3546
3573
|
"exports": [
|
|
3547
3574
|
{
|
|
3548
3575
|
"kind": "js",
|
|
3549
|
-
"name": "
|
|
3576
|
+
"name": "foundationAiIndicatorStyles",
|
|
3550
3577
|
"declaration": {
|
|
3551
|
-
"name": "
|
|
3552
|
-
"module": "src/
|
|
3578
|
+
"name": "foundationAiIndicatorStyles",
|
|
3579
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3553
3580
|
}
|
|
3554
3581
|
}
|
|
3555
3582
|
]
|
|
3556
3583
|
},
|
|
3557
3584
|
{
|
|
3558
3585
|
"kind": "javascript-module",
|
|
3559
|
-
"path": "src/
|
|
3586
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3587
|
+
"declarations": [
|
|
3588
|
+
{
|
|
3589
|
+
"kind": "variable",
|
|
3590
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3591
|
+
"type": {
|
|
3592
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3593
|
+
},
|
|
3594
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3595
|
+
}
|
|
3596
|
+
],
|
|
3597
|
+
"exports": [
|
|
3598
|
+
{
|
|
3599
|
+
"kind": "js",
|
|
3600
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3601
|
+
"declaration": {
|
|
3602
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3603
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3604
|
+
}
|
|
3605
|
+
}
|
|
3606
|
+
]
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
"kind": "javascript-module",
|
|
3610
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3560
3611
|
"declarations": [
|
|
3561
3612
|
{
|
|
3562
3613
|
"kind": "class",
|
|
3563
3614
|
"description": "",
|
|
3564
|
-
"name": "
|
|
3565
|
-
"
|
|
3566
|
-
"name": "FASTAccordion",
|
|
3567
|
-
"package": "@microsoft/fast-foundation"
|
|
3568
|
-
},
|
|
3569
|
-
"tagName": "%%prefix%%-accordion",
|
|
3570
|
-
"customElement": true,
|
|
3571
|
-
"attributes": [
|
|
3615
|
+
"name": "AiIndicator",
|
|
3616
|
+
"members": [
|
|
3572
3617
|
{
|
|
3573
|
-
"
|
|
3618
|
+
"kind": "field",
|
|
3619
|
+
"name": "providerRegistry",
|
|
3574
3620
|
"type": {
|
|
3575
|
-
"text": "
|
|
3576
|
-
},
|
|
3577
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3578
|
-
"fieldName": "expandmode",
|
|
3579
|
-
"inheritedFrom": {
|
|
3580
|
-
"name": "Accordion",
|
|
3581
|
-
"module": "src/accordion/accordion.ts"
|
|
3621
|
+
"text": "AIProviderRegistry"
|
|
3582
3622
|
}
|
|
3583
|
-
}
|
|
3584
|
-
],
|
|
3585
|
-
"members": [
|
|
3623
|
+
},
|
|
3586
3624
|
{
|
|
3587
3625
|
"kind": "field",
|
|
3588
|
-
"name": "
|
|
3626
|
+
"name": "aiProvider",
|
|
3589
3627
|
"type": {
|
|
3590
|
-
"text": "
|
|
3628
|
+
"text": "AIProvider | undefined"
|
|
3591
3629
|
},
|
|
3592
|
-
"privacy": "
|
|
3593
|
-
"description": "
|
|
3594
|
-
"
|
|
3595
|
-
"name": "Accordion",
|
|
3596
|
-
"module": "src/accordion/accordion.ts"
|
|
3597
|
-
}
|
|
3630
|
+
"privacy": "private",
|
|
3631
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3632
|
+
"readonly": true
|
|
3598
3633
|
},
|
|
3599
3634
|
{
|
|
3600
3635
|
"kind": "field",
|
|
3601
|
-
"name": "
|
|
3636
|
+
"name": "status",
|
|
3602
3637
|
"type": {
|
|
3603
|
-
"text": "
|
|
3638
|
+
"text": "AIStatus | null"
|
|
3604
3639
|
},
|
|
3605
|
-
"
|
|
3606
|
-
"inheritedFrom": {
|
|
3607
|
-
"name": "Accordion",
|
|
3608
|
-
"module": "src/accordion/accordion.ts"
|
|
3609
|
-
}
|
|
3640
|
+
"default": "null"
|
|
3610
3641
|
},
|
|
3611
3642
|
{
|
|
3612
3643
|
"kind": "field",
|
|
3613
|
-
"name": "
|
|
3644
|
+
"name": "open",
|
|
3614
3645
|
"type": {
|
|
3615
|
-
"text": "
|
|
3646
|
+
"text": "boolean"
|
|
3616
3647
|
},
|
|
3617
|
-
"
|
|
3618
|
-
"default": "0",
|
|
3619
|
-
"inheritedFrom": {
|
|
3620
|
-
"name": "Accordion",
|
|
3621
|
-
"module": "src/accordion/accordion.ts"
|
|
3622
|
-
}
|
|
3648
|
+
"default": "false"
|
|
3623
3649
|
},
|
|
3624
3650
|
{
|
|
3625
3651
|
"kind": "field",
|
|
3626
|
-
"name": "
|
|
3652
|
+
"name": "state",
|
|
3627
3653
|
"type": {
|
|
3628
|
-
"text": "
|
|
3654
|
+
"text": "AIIndicatorState"
|
|
3629
3655
|
},
|
|
3630
|
-
"
|
|
3631
|
-
"inheritedFrom": {
|
|
3632
|
-
"name": "Accordion",
|
|
3633
|
-
"module": "src/accordion/accordion.ts"
|
|
3634
|
-
}
|
|
3656
|
+
"default": "'none'"
|
|
3635
3657
|
},
|
|
3636
3658
|
{
|
|
3637
3659
|
"kind": "field",
|
|
3638
|
-
"name": "
|
|
3639
|
-
"
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
}
|
|
3660
|
+
"name": "isInstalling",
|
|
3661
|
+
"type": {
|
|
3662
|
+
"text": "boolean"
|
|
3663
|
+
},
|
|
3664
|
+
"default": "false"
|
|
3644
3665
|
},
|
|
3645
3666
|
{
|
|
3646
|
-
"kind": "
|
|
3647
|
-
"name": "
|
|
3667
|
+
"kind": "field",
|
|
3668
|
+
"name": "pollTimer",
|
|
3669
|
+
"type": {
|
|
3670
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3671
|
+
},
|
|
3648
3672
|
"privacy": "private",
|
|
3649
|
-
"
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3673
|
+
"default": "null"
|
|
3674
|
+
},
|
|
3675
|
+
{
|
|
3676
|
+
"kind": "field",
|
|
3677
|
+
"name": "clickOutside",
|
|
3678
|
+
"privacy": "private"
|
|
3679
|
+
},
|
|
3680
|
+
{
|
|
3681
|
+
"kind": "field",
|
|
3682
|
+
"name": "chromeStatusLabel",
|
|
3683
|
+
"type": {
|
|
3684
|
+
"text": "string | null"
|
|
3653
3685
|
},
|
|
3654
|
-
"
|
|
3655
|
-
"name": "Accordion",
|
|
3656
|
-
"module": "src/accordion/accordion.ts"
|
|
3657
|
-
}
|
|
3686
|
+
"readonly": true
|
|
3658
3687
|
},
|
|
3659
3688
|
{
|
|
3660
3689
|
"kind": "field",
|
|
3661
|
-
"name": "
|
|
3662
|
-
"
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3690
|
+
"name": "canInstall",
|
|
3691
|
+
"type": {
|
|
3692
|
+
"text": "boolean"
|
|
3693
|
+
},
|
|
3694
|
+
"readonly": true
|
|
3695
|
+
},
|
|
3696
|
+
{
|
|
3697
|
+
"kind": "field",
|
|
3698
|
+
"name": "isDownloading",
|
|
3699
|
+
"type": {
|
|
3700
|
+
"text": "boolean"
|
|
3701
|
+
},
|
|
3702
|
+
"readonly": true
|
|
3667
3703
|
},
|
|
3668
3704
|
{
|
|
3669
3705
|
"kind": "method",
|
|
3670
|
-
"name": "
|
|
3671
|
-
"privacy": "private",
|
|
3706
|
+
"name": "openChanged",
|
|
3672
3707
|
"return": {
|
|
3673
3708
|
"type": {
|
|
3674
3709
|
"text": "void"
|
|
3675
3710
|
}
|
|
3676
|
-
},
|
|
3677
|
-
"inheritedFrom": {
|
|
3678
|
-
"name": "Accordion",
|
|
3679
|
-
"module": "src/accordion/accordion.ts"
|
|
3680
3711
|
}
|
|
3681
3712
|
},
|
|
3682
3713
|
{
|
|
3683
|
-
"kind": "
|
|
3684
|
-
"name": "
|
|
3714
|
+
"kind": "method",
|
|
3715
|
+
"name": "handleClickOutside",
|
|
3685
3716
|
"privacy": "private",
|
|
3686
|
-
"
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3717
|
+
"parameters": [
|
|
3718
|
+
{
|
|
3719
|
+
"name": "event",
|
|
3720
|
+
"type": {
|
|
3721
|
+
"text": "MouseEvent"
|
|
3722
|
+
}
|
|
3723
|
+
}
|
|
3724
|
+
]
|
|
3690
3725
|
},
|
|
3691
3726
|
{
|
|
3692
|
-
"kind": "
|
|
3693
|
-
"name": "
|
|
3694
|
-
"privacy": "private",
|
|
3695
|
-
"inheritedFrom": {
|
|
3696
|
-
"name": "Accordion",
|
|
3697
|
-
"module": "src/accordion/accordion.ts"
|
|
3698
|
-
}
|
|
3727
|
+
"kind": "method",
|
|
3728
|
+
"name": "toggleDropdown"
|
|
3699
3729
|
},
|
|
3700
3730
|
{
|
|
3701
3731
|
"kind": "method",
|
|
3702
|
-
"name": "
|
|
3703
|
-
"privacy": "private",
|
|
3732
|
+
"name": "refreshStatus",
|
|
3704
3733
|
"return": {
|
|
3705
3734
|
"type": {
|
|
3706
|
-
"text": "
|
|
3735
|
+
"text": "Promise<void>"
|
|
3707
3736
|
}
|
|
3708
|
-
},
|
|
3709
|
-
"inheritedFrom": {
|
|
3710
|
-
"name": "Accordion",
|
|
3711
|
-
"module": "src/accordion/accordion.ts"
|
|
3712
3737
|
}
|
|
3713
3738
|
},
|
|
3714
3739
|
{
|
|
3715
3740
|
"kind": "method",
|
|
3716
|
-
"name": "
|
|
3741
|
+
"name": "deriveState",
|
|
3717
3742
|
"privacy": "private",
|
|
3718
3743
|
"return": {
|
|
3719
3744
|
"type": {
|
|
3720
|
-
"text": "
|
|
3745
|
+
"text": "AIIndicatorState"
|
|
3721
3746
|
}
|
|
3722
3747
|
},
|
|
3723
|
-
"
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3748
|
+
"parameters": [
|
|
3749
|
+
{
|
|
3750
|
+
"name": "s",
|
|
3751
|
+
"type": {
|
|
3752
|
+
"text": "AIStatus | null"
|
|
3753
|
+
}
|
|
3754
|
+
}
|
|
3755
|
+
]
|
|
3727
3756
|
},
|
|
3728
3757
|
{
|
|
3729
|
-
"kind": "
|
|
3730
|
-
"name": "
|
|
3758
|
+
"kind": "method",
|
|
3759
|
+
"name": "maybeStartPolling",
|
|
3731
3760
|
"privacy": "private",
|
|
3732
|
-
"
|
|
3733
|
-
"
|
|
3734
|
-
|
|
3761
|
+
"return": {
|
|
3762
|
+
"type": {
|
|
3763
|
+
"text": "void"
|
|
3764
|
+
}
|
|
3735
3765
|
}
|
|
3736
3766
|
},
|
|
3737
3767
|
{
|
|
3738
|
-
"kind": "
|
|
3739
|
-
"name": "
|
|
3768
|
+
"kind": "method",
|
|
3769
|
+
"name": "startPolling",
|
|
3740
3770
|
"privacy": "private",
|
|
3741
|
-
"
|
|
3742
|
-
"
|
|
3743
|
-
|
|
3771
|
+
"return": {
|
|
3772
|
+
"type": {
|
|
3773
|
+
"text": "void"
|
|
3774
|
+
}
|
|
3744
3775
|
}
|
|
3745
3776
|
},
|
|
3746
3777
|
{
|
|
3747
3778
|
"kind": "method",
|
|
3748
|
-
"name": "
|
|
3779
|
+
"name": "stopPolling",
|
|
3749
3780
|
"privacy": "private",
|
|
3750
3781
|
"return": {
|
|
3751
3782
|
"type": {
|
|
3752
3783
|
"text": "void"
|
|
3753
3784
|
}
|
|
3754
|
-
},
|
|
3755
|
-
"parameters": [
|
|
3756
|
-
{
|
|
3757
|
-
"name": "adjustment",
|
|
3758
|
-
"type": {
|
|
3759
|
-
"text": "number"
|
|
3760
|
-
}
|
|
3761
|
-
}
|
|
3762
|
-
],
|
|
3763
|
-
"inheritedFrom": {
|
|
3764
|
-
"name": "Accordion",
|
|
3765
|
-
"module": "src/accordion/accordion.ts"
|
|
3766
3785
|
}
|
|
3767
3786
|
},
|
|
3768
3787
|
{
|
|
3769
3788
|
"kind": "method",
|
|
3770
|
-
"name": "
|
|
3771
|
-
"privacy": "private",
|
|
3789
|
+
"name": "onInstall",
|
|
3772
3790
|
"return": {
|
|
3773
3791
|
"type": {
|
|
3774
|
-
"text": "void"
|
|
3792
|
+
"text": "Promise<void>"
|
|
3775
3793
|
}
|
|
3776
|
-
},
|
|
3777
|
-
"inheritedFrom": {
|
|
3778
|
-
"name": "Accordion",
|
|
3779
|
-
"module": "src/accordion/accordion.ts"
|
|
3780
3794
|
}
|
|
3781
3795
|
},
|
|
3782
3796
|
{
|
|
@@ -3891,102 +3905,88 @@
|
|
|
3891
3905
|
}
|
|
3892
3906
|
}
|
|
3893
3907
|
],
|
|
3894
|
-
"
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
"name": "change",
|
|
3898
|
-
"inheritedFrom": {
|
|
3899
|
-
"name": "Accordion",
|
|
3900
|
-
"module": "src/accordion/accordion.ts"
|
|
3901
|
-
}
|
|
3902
|
-
}
|
|
3903
|
-
]
|
|
3904
|
-
},
|
|
3905
|
-
{
|
|
3906
|
-
"kind": "variable",
|
|
3907
|
-
"name": "foundationAccordionShadowOptions",
|
|
3908
|
-
"type": {
|
|
3909
|
-
"text": "ShadowRootInit"
|
|
3910
|
-
},
|
|
3911
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3912
|
-
},
|
|
3913
|
-
{
|
|
3914
|
-
"kind": "variable",
|
|
3915
|
-
"name": "defaultAccordionConfig",
|
|
3916
|
-
"type": {
|
|
3917
|
-
"text": "object"
|
|
3908
|
+
"superclass": {
|
|
3909
|
+
"name": "FoundationElement",
|
|
3910
|
+
"package": "@microsoft/fast-foundation"
|
|
3918
3911
|
},
|
|
3919
|
-
"
|
|
3912
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3913
|
+
"customElement": true
|
|
3920
3914
|
},
|
|
3921
3915
|
{
|
|
3922
3916
|
"kind": "variable",
|
|
3923
|
-
"name": "
|
|
3924
|
-
"description": "The Foundation Accordion",
|
|
3925
|
-
"privacy": "public"
|
|
3917
|
+
"name": "foundationAiIndicator"
|
|
3926
3918
|
}
|
|
3927
3919
|
],
|
|
3928
3920
|
"exports": [
|
|
3929
3921
|
{
|
|
3930
3922
|
"kind": "js",
|
|
3931
|
-
"name": "
|
|
3923
|
+
"name": "AiIndicator",
|
|
3932
3924
|
"declaration": {
|
|
3933
|
-
"name": "
|
|
3934
|
-
"module": "src/
|
|
3925
|
+
"name": "AiIndicator",
|
|
3926
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3935
3927
|
}
|
|
3936
3928
|
},
|
|
3937
3929
|
{
|
|
3938
3930
|
"kind": "js",
|
|
3939
|
-
"name": "
|
|
3931
|
+
"name": "foundationAiIndicator",
|
|
3940
3932
|
"declaration": {
|
|
3941
|
-
"name": "
|
|
3942
|
-
"module": "src/
|
|
3933
|
+
"name": "foundationAiIndicator",
|
|
3934
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3935
|
+
}
|
|
3936
|
+
}
|
|
3937
|
+
]
|
|
3938
|
+
},
|
|
3939
|
+
{
|
|
3940
|
+
"kind": "javascript-module",
|
|
3941
|
+
"path": "src/ai-indicator/index.ts",
|
|
3942
|
+
"declarations": [],
|
|
3943
|
+
"exports": [
|
|
3944
|
+
{
|
|
3945
|
+
"kind": "js",
|
|
3946
|
+
"name": "AiIndicator",
|
|
3947
|
+
"declaration": {
|
|
3948
|
+
"name": "AiIndicator",
|
|
3949
|
+
"module": "./ai-indicator"
|
|
3943
3950
|
}
|
|
3944
3951
|
},
|
|
3945
3952
|
{
|
|
3946
3953
|
"kind": "js",
|
|
3947
|
-
"name": "
|
|
3954
|
+
"name": "foundationAiIndicator",
|
|
3948
3955
|
"declaration": {
|
|
3949
|
-
"name": "
|
|
3950
|
-
"module": "
|
|
3956
|
+
"name": "foundationAiIndicator",
|
|
3957
|
+
"module": "./ai-indicator"
|
|
3951
3958
|
}
|
|
3952
3959
|
},
|
|
3953
3960
|
{
|
|
3954
3961
|
"kind": "js",
|
|
3955
|
-
"name": "
|
|
3962
|
+
"name": "type",
|
|
3956
3963
|
"declaration": {
|
|
3957
|
-
"name": "
|
|
3958
|
-
"module": "
|
|
3964
|
+
"name": "type",
|
|
3965
|
+
"module": "./ai-indicator"
|
|
3959
3966
|
}
|
|
3960
|
-
}
|
|
3961
|
-
]
|
|
3962
|
-
},
|
|
3963
|
-
{
|
|
3964
|
-
"kind": "javascript-module",
|
|
3965
|
-
"path": "src/accordion/index.ts",
|
|
3966
|
-
"declarations": [],
|
|
3967
|
-
"exports": [
|
|
3967
|
+
},
|
|
3968
3968
|
{
|
|
3969
3969
|
"kind": "js",
|
|
3970
|
-
"name": "
|
|
3970
|
+
"name": "AIIndicatorState",
|
|
3971
3971
|
"declaration": {
|
|
3972
|
-
"name": "
|
|
3973
|
-
"
|
|
3972
|
+
"name": "AIIndicatorState",
|
|
3973
|
+
"module": "./ai-indicator"
|
|
3974
3974
|
}
|
|
3975
3975
|
},
|
|
3976
3976
|
{
|
|
3977
3977
|
"kind": "js",
|
|
3978
|
-
"name": "
|
|
3978
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3979
3979
|
"declaration": {
|
|
3980
|
-
"name": "
|
|
3981
|
-
"
|
|
3980
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3981
|
+
"module": "./ai-indicator.template"
|
|
3982
3982
|
}
|
|
3983
3983
|
},
|
|
3984
3984
|
{
|
|
3985
3985
|
"kind": "js",
|
|
3986
|
-
"name": "
|
|
3986
|
+
"name": "foundationAiIndicatorStyles",
|
|
3987
3987
|
"declaration": {
|
|
3988
|
-
"name": "
|
|
3989
|
-
"
|
|
3988
|
+
"name": "foundationAiIndicatorStyles",
|
|
3989
|
+
"module": "./ai-indicator.styles"
|
|
3990
3990
|
}
|
|
3991
3991
|
}
|
|
3992
3992
|
]
|
|
@@ -59924,197 +59924,6 @@
|
|
|
59924
59924
|
}
|
|
59925
59925
|
]
|
|
59926
59926
|
},
|
|
59927
|
-
{
|
|
59928
|
-
"kind": "javascript-module",
|
|
59929
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
59930
|
-
"declarations": [],
|
|
59931
|
-
"exports": []
|
|
59932
|
-
},
|
|
59933
|
-
{
|
|
59934
|
-
"kind": "javascript-module",
|
|
59935
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
59936
|
-
"declarations": [
|
|
59937
|
-
{
|
|
59938
|
-
"kind": "function",
|
|
59939
|
-
"name": "groupsToCriteria",
|
|
59940
|
-
"return": {
|
|
59941
|
-
"type": {
|
|
59942
|
-
"text": "string"
|
|
59943
|
-
}
|
|
59944
|
-
},
|
|
59945
|
-
"parameters": [
|
|
59946
|
-
{
|
|
59947
|
-
"name": "groups",
|
|
59948
|
-
"type": {
|
|
59949
|
-
"text": "CriteriaGroup[]"
|
|
59950
|
-
}
|
|
59951
|
-
}
|
|
59952
|
-
],
|
|
59953
|
-
"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."
|
|
59954
|
-
},
|
|
59955
|
-
{
|
|
59956
|
-
"kind": "variable",
|
|
59957
|
-
"name": "STRING_OPERATORS",
|
|
59958
|
-
"type": {
|
|
59959
|
-
"text": "CriteriaOperator[]"
|
|
59960
|
-
},
|
|
59961
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
59962
|
-
},
|
|
59963
|
-
{
|
|
59964
|
-
"kind": "variable",
|
|
59965
|
-
"name": "NUMERIC_OPERATORS",
|
|
59966
|
-
"type": {
|
|
59967
|
-
"text": "CriteriaOperator[]"
|
|
59968
|
-
},
|
|
59969
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
59970
|
-
},
|
|
59971
|
-
{
|
|
59972
|
-
"kind": "variable",
|
|
59973
|
-
"name": "DATE_OPERATORS",
|
|
59974
|
-
"type": {
|
|
59975
|
-
"text": "CriteriaOperator[]"
|
|
59976
|
-
},
|
|
59977
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
59978
|
-
},
|
|
59979
|
-
{
|
|
59980
|
-
"kind": "variable",
|
|
59981
|
-
"name": "DATETIME_OPERATORS",
|
|
59982
|
-
"type": {
|
|
59983
|
-
"text": "CriteriaOperator[]"
|
|
59984
|
-
},
|
|
59985
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
59986
|
-
},
|
|
59987
|
-
{
|
|
59988
|
-
"kind": "variable",
|
|
59989
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
59990
|
-
"type": {
|
|
59991
|
-
"text": "Record<CriteriaOperator, string>"
|
|
59992
|
-
},
|
|
59993
|
-
"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}"
|
|
59994
|
-
}
|
|
59995
|
-
],
|
|
59996
|
-
"exports": [
|
|
59997
|
-
{
|
|
59998
|
-
"kind": "js",
|
|
59999
|
-
"name": "groupsToCriteria",
|
|
60000
|
-
"declaration": {
|
|
60001
|
-
"name": "groupsToCriteria",
|
|
60002
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60003
|
-
}
|
|
60004
|
-
},
|
|
60005
|
-
{
|
|
60006
|
-
"kind": "js",
|
|
60007
|
-
"name": "STRING_OPERATORS",
|
|
60008
|
-
"declaration": {
|
|
60009
|
-
"name": "STRING_OPERATORS",
|
|
60010
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60011
|
-
}
|
|
60012
|
-
},
|
|
60013
|
-
{
|
|
60014
|
-
"kind": "js",
|
|
60015
|
-
"name": "NUMERIC_OPERATORS",
|
|
60016
|
-
"declaration": {
|
|
60017
|
-
"name": "NUMERIC_OPERATORS",
|
|
60018
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60019
|
-
}
|
|
60020
|
-
},
|
|
60021
|
-
{
|
|
60022
|
-
"kind": "js",
|
|
60023
|
-
"name": "DATE_OPERATORS",
|
|
60024
|
-
"declaration": {
|
|
60025
|
-
"name": "DATE_OPERATORS",
|
|
60026
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60027
|
-
}
|
|
60028
|
-
},
|
|
60029
|
-
{
|
|
60030
|
-
"kind": "js",
|
|
60031
|
-
"name": "DATETIME_OPERATORS",
|
|
60032
|
-
"declaration": {
|
|
60033
|
-
"name": "DATETIME_OPERATORS",
|
|
60034
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60035
|
-
}
|
|
60036
|
-
},
|
|
60037
|
-
{
|
|
60038
|
-
"kind": "js",
|
|
60039
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60040
|
-
"declaration": {
|
|
60041
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60042
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60043
|
-
}
|
|
60044
|
-
}
|
|
60045
|
-
]
|
|
60046
|
-
},
|
|
60047
|
-
{
|
|
60048
|
-
"kind": "javascript-module",
|
|
60049
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
60050
|
-
"declarations": [
|
|
60051
|
-
{
|
|
60052
|
-
"kind": "function",
|
|
60053
|
-
"name": "validateClauses",
|
|
60054
|
-
"return": {
|
|
60055
|
-
"type": {
|
|
60056
|
-
"text": "ValidationResult"
|
|
60057
|
-
}
|
|
60058
|
-
},
|
|
60059
|
-
"parameters": [
|
|
60060
|
-
{
|
|
60061
|
-
"name": "clauses",
|
|
60062
|
-
"type": {
|
|
60063
|
-
"text": "CriteriaClause[]"
|
|
60064
|
-
}
|
|
60065
|
-
},
|
|
60066
|
-
{
|
|
60067
|
-
"name": "fieldMetadata",
|
|
60068
|
-
"type": {
|
|
60069
|
-
"text": "MetadataDetail[] | string[]"
|
|
60070
|
-
}
|
|
60071
|
-
}
|
|
60072
|
-
]
|
|
60073
|
-
},
|
|
60074
|
-
{
|
|
60075
|
-
"kind": "function",
|
|
60076
|
-
"name": "validateGroups",
|
|
60077
|
-
"return": {
|
|
60078
|
-
"type": {
|
|
60079
|
-
"text": "GroupsValidationResult"
|
|
60080
|
-
}
|
|
60081
|
-
},
|
|
60082
|
-
"parameters": [
|
|
60083
|
-
{
|
|
60084
|
-
"name": "groups",
|
|
60085
|
-
"type": {
|
|
60086
|
-
"text": "CriteriaGroup[]"
|
|
60087
|
-
}
|
|
60088
|
-
},
|
|
60089
|
-
{
|
|
60090
|
-
"name": "fieldMetadata",
|
|
60091
|
-
"type": {
|
|
60092
|
-
"text": "MetadataDetail[] | string[]"
|
|
60093
|
-
}
|
|
60094
|
-
}
|
|
60095
|
-
],
|
|
60096
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
60097
|
-
}
|
|
60098
|
-
],
|
|
60099
|
-
"exports": [
|
|
60100
|
-
{
|
|
60101
|
-
"kind": "js",
|
|
60102
|
-
"name": "validateClauses",
|
|
60103
|
-
"declaration": {
|
|
60104
|
-
"name": "validateClauses",
|
|
60105
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60106
|
-
}
|
|
60107
|
-
},
|
|
60108
|
-
{
|
|
60109
|
-
"kind": "js",
|
|
60110
|
-
"name": "validateGroups",
|
|
60111
|
-
"declaration": {
|
|
60112
|
-
"name": "validateGroups",
|
|
60113
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60114
|
-
}
|
|
60115
|
-
}
|
|
60116
|
-
]
|
|
60117
|
-
},
|
|
60118
59927
|
{
|
|
60119
59928
|
"kind": "javascript-module",
|
|
60120
59929
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -61487,6 +61296,197 @@
|
|
|
61487
61296
|
"declarations": [],
|
|
61488
61297
|
"exports": []
|
|
61489
61298
|
},
|
|
61299
|
+
{
|
|
61300
|
+
"kind": "javascript-module",
|
|
61301
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
61302
|
+
"declarations": [],
|
|
61303
|
+
"exports": []
|
|
61304
|
+
},
|
|
61305
|
+
{
|
|
61306
|
+
"kind": "javascript-module",
|
|
61307
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
61308
|
+
"declarations": [
|
|
61309
|
+
{
|
|
61310
|
+
"kind": "function",
|
|
61311
|
+
"name": "groupsToCriteria",
|
|
61312
|
+
"return": {
|
|
61313
|
+
"type": {
|
|
61314
|
+
"text": "string"
|
|
61315
|
+
}
|
|
61316
|
+
},
|
|
61317
|
+
"parameters": [
|
|
61318
|
+
{
|
|
61319
|
+
"name": "groups",
|
|
61320
|
+
"type": {
|
|
61321
|
+
"text": "CriteriaGroup[]"
|
|
61322
|
+
}
|
|
61323
|
+
}
|
|
61324
|
+
],
|
|
61325
|
+
"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."
|
|
61326
|
+
},
|
|
61327
|
+
{
|
|
61328
|
+
"kind": "variable",
|
|
61329
|
+
"name": "STRING_OPERATORS",
|
|
61330
|
+
"type": {
|
|
61331
|
+
"text": "CriteriaOperator[]"
|
|
61332
|
+
},
|
|
61333
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
61334
|
+
},
|
|
61335
|
+
{
|
|
61336
|
+
"kind": "variable",
|
|
61337
|
+
"name": "NUMERIC_OPERATORS",
|
|
61338
|
+
"type": {
|
|
61339
|
+
"text": "CriteriaOperator[]"
|
|
61340
|
+
},
|
|
61341
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
61342
|
+
},
|
|
61343
|
+
{
|
|
61344
|
+
"kind": "variable",
|
|
61345
|
+
"name": "DATE_OPERATORS",
|
|
61346
|
+
"type": {
|
|
61347
|
+
"text": "CriteriaOperator[]"
|
|
61348
|
+
},
|
|
61349
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
61350
|
+
},
|
|
61351
|
+
{
|
|
61352
|
+
"kind": "variable",
|
|
61353
|
+
"name": "DATETIME_OPERATORS",
|
|
61354
|
+
"type": {
|
|
61355
|
+
"text": "CriteriaOperator[]"
|
|
61356
|
+
},
|
|
61357
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
61358
|
+
},
|
|
61359
|
+
{
|
|
61360
|
+
"kind": "variable",
|
|
61361
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61362
|
+
"type": {
|
|
61363
|
+
"text": "Record<CriteriaOperator, string>"
|
|
61364
|
+
},
|
|
61365
|
+
"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}"
|
|
61366
|
+
}
|
|
61367
|
+
],
|
|
61368
|
+
"exports": [
|
|
61369
|
+
{
|
|
61370
|
+
"kind": "js",
|
|
61371
|
+
"name": "groupsToCriteria",
|
|
61372
|
+
"declaration": {
|
|
61373
|
+
"name": "groupsToCriteria",
|
|
61374
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61375
|
+
}
|
|
61376
|
+
},
|
|
61377
|
+
{
|
|
61378
|
+
"kind": "js",
|
|
61379
|
+
"name": "STRING_OPERATORS",
|
|
61380
|
+
"declaration": {
|
|
61381
|
+
"name": "STRING_OPERATORS",
|
|
61382
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61383
|
+
}
|
|
61384
|
+
},
|
|
61385
|
+
{
|
|
61386
|
+
"kind": "js",
|
|
61387
|
+
"name": "NUMERIC_OPERATORS",
|
|
61388
|
+
"declaration": {
|
|
61389
|
+
"name": "NUMERIC_OPERATORS",
|
|
61390
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61391
|
+
}
|
|
61392
|
+
},
|
|
61393
|
+
{
|
|
61394
|
+
"kind": "js",
|
|
61395
|
+
"name": "DATE_OPERATORS",
|
|
61396
|
+
"declaration": {
|
|
61397
|
+
"name": "DATE_OPERATORS",
|
|
61398
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61399
|
+
}
|
|
61400
|
+
},
|
|
61401
|
+
{
|
|
61402
|
+
"kind": "js",
|
|
61403
|
+
"name": "DATETIME_OPERATORS",
|
|
61404
|
+
"declaration": {
|
|
61405
|
+
"name": "DATETIME_OPERATORS",
|
|
61406
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61407
|
+
}
|
|
61408
|
+
},
|
|
61409
|
+
{
|
|
61410
|
+
"kind": "js",
|
|
61411
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61412
|
+
"declaration": {
|
|
61413
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61414
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61415
|
+
}
|
|
61416
|
+
}
|
|
61417
|
+
]
|
|
61418
|
+
},
|
|
61419
|
+
{
|
|
61420
|
+
"kind": "javascript-module",
|
|
61421
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
61422
|
+
"declarations": [
|
|
61423
|
+
{
|
|
61424
|
+
"kind": "function",
|
|
61425
|
+
"name": "validateClauses",
|
|
61426
|
+
"return": {
|
|
61427
|
+
"type": {
|
|
61428
|
+
"text": "ValidationResult"
|
|
61429
|
+
}
|
|
61430
|
+
},
|
|
61431
|
+
"parameters": [
|
|
61432
|
+
{
|
|
61433
|
+
"name": "clauses",
|
|
61434
|
+
"type": {
|
|
61435
|
+
"text": "CriteriaClause[]"
|
|
61436
|
+
}
|
|
61437
|
+
},
|
|
61438
|
+
{
|
|
61439
|
+
"name": "fieldMetadata",
|
|
61440
|
+
"type": {
|
|
61441
|
+
"text": "MetadataDetail[] | string[]"
|
|
61442
|
+
}
|
|
61443
|
+
}
|
|
61444
|
+
]
|
|
61445
|
+
},
|
|
61446
|
+
{
|
|
61447
|
+
"kind": "function",
|
|
61448
|
+
"name": "validateGroups",
|
|
61449
|
+
"return": {
|
|
61450
|
+
"type": {
|
|
61451
|
+
"text": "GroupsValidationResult"
|
|
61452
|
+
}
|
|
61453
|
+
},
|
|
61454
|
+
"parameters": [
|
|
61455
|
+
{
|
|
61456
|
+
"name": "groups",
|
|
61457
|
+
"type": {
|
|
61458
|
+
"text": "CriteriaGroup[]"
|
|
61459
|
+
}
|
|
61460
|
+
},
|
|
61461
|
+
{
|
|
61462
|
+
"name": "fieldMetadata",
|
|
61463
|
+
"type": {
|
|
61464
|
+
"text": "MetadataDetail[] | string[]"
|
|
61465
|
+
}
|
|
61466
|
+
}
|
|
61467
|
+
],
|
|
61468
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
61469
|
+
}
|
|
61470
|
+
],
|
|
61471
|
+
"exports": [
|
|
61472
|
+
{
|
|
61473
|
+
"kind": "js",
|
|
61474
|
+
"name": "validateClauses",
|
|
61475
|
+
"declaration": {
|
|
61476
|
+
"name": "validateClauses",
|
|
61477
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61478
|
+
}
|
|
61479
|
+
},
|
|
61480
|
+
{
|
|
61481
|
+
"kind": "js",
|
|
61482
|
+
"name": "validateGroups",
|
|
61483
|
+
"declaration": {
|
|
61484
|
+
"name": "validateGroups",
|
|
61485
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61486
|
+
}
|
|
61487
|
+
}
|
|
61488
|
+
]
|
|
61489
|
+
},
|
|
61490
61490
|
{
|
|
61491
61491
|
"kind": "javascript-module",
|
|
61492
61492
|
"path": "src/environment-indicator/utils/configure.ts",
|