@genesislcap/foundation-ui 14.488.2-GENC-1351.2 → 14.488.2-GENC-1351.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1351 -1351
- package/dist/dts/react.d.ts +17 -17
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +9 -9
- package/package.json +19 -19
|
@@ -934,44 +934,66 @@
|
|
|
934
934
|
},
|
|
935
935
|
{
|
|
936
936
|
"kind": "javascript-module",
|
|
937
|
-
"path": "src/
|
|
937
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
938
938
|
"declarations": [
|
|
939
939
|
{
|
|
940
|
-
"kind": "
|
|
941
|
-
"
|
|
942
|
-
"
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
"text": "string"
|
|
949
|
-
},
|
|
950
|
-
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
951
|
-
},
|
|
940
|
+
"kind": "function",
|
|
941
|
+
"name": "foundationAccordionItemStyles",
|
|
942
|
+
"return": {
|
|
943
|
+
"type": {
|
|
944
|
+
"text": "ElementStyles"
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
"parameters": [
|
|
952
948
|
{
|
|
953
|
-
"
|
|
954
|
-
"name": "suffix",
|
|
949
|
+
"name": "context",
|
|
955
950
|
"type": {
|
|
956
|
-
"text": "
|
|
957
|
-
}
|
|
958
|
-
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
951
|
+
"text": "ElementDefinitionContext"
|
|
952
|
+
}
|
|
959
953
|
},
|
|
960
954
|
{
|
|
961
|
-
"
|
|
962
|
-
"name": "hideAffixFromScreenReader",
|
|
955
|
+
"name": "definition",
|
|
963
956
|
"type": {
|
|
964
|
-
"text": "
|
|
965
|
-
}
|
|
966
|
-
"default": "false",
|
|
967
|
-
"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."
|
|
957
|
+
"text": "FoundationElementDefinition"
|
|
958
|
+
}
|
|
968
959
|
}
|
|
969
|
-
]
|
|
960
|
+
]
|
|
961
|
+
}
|
|
962
|
+
],
|
|
963
|
+
"exports": [
|
|
964
|
+
{
|
|
965
|
+
"kind": "js",
|
|
966
|
+
"name": "foundationAccordionItemStyles",
|
|
967
|
+
"declaration": {
|
|
968
|
+
"name": "foundationAccordionItemStyles",
|
|
969
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
]
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
"kind": "javascript-module",
|
|
976
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
977
|
+
"declarations": [
|
|
978
|
+
{
|
|
979
|
+
"kind": "function",
|
|
980
|
+
"name": "foundationAccordionItemTemplate",
|
|
981
|
+
"return": {
|
|
982
|
+
"type": {
|
|
983
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
984
|
+
}
|
|
985
|
+
},
|
|
970
986
|
"parameters": [
|
|
971
987
|
{
|
|
972
|
-
"name": "
|
|
988
|
+
"name": "context",
|
|
973
989
|
"type": {
|
|
974
|
-
"text": "
|
|
990
|
+
"text": "ElementDefinitionContext"
|
|
991
|
+
}
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"name": "definition",
|
|
995
|
+
"type": {
|
|
996
|
+
"text": "FoundationElementDefinition"
|
|
975
997
|
}
|
|
976
998
|
}
|
|
977
999
|
]
|
|
@@ -980,169 +1002,117 @@
|
|
|
980
1002
|
"exports": [
|
|
981
1003
|
{
|
|
982
1004
|
"kind": "js",
|
|
983
|
-
"name": "
|
|
1005
|
+
"name": "foundationAccordionItemTemplate",
|
|
984
1006
|
"declaration": {
|
|
985
|
-
"name": "
|
|
986
|
-
"module": "src/
|
|
1007
|
+
"name": "foundationAccordionItemTemplate",
|
|
1008
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
987
1009
|
}
|
|
988
1010
|
}
|
|
989
1011
|
]
|
|
990
1012
|
},
|
|
991
1013
|
{
|
|
992
1014
|
"kind": "javascript-module",
|
|
993
|
-
"path": "src/
|
|
1015
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
994
1016
|
"declarations": [
|
|
995
1017
|
{
|
|
996
1018
|
"kind": "class",
|
|
997
|
-
"description": "
|
|
998
|
-
"name": "
|
|
999
|
-
"
|
|
1019
|
+
"description": "",
|
|
1020
|
+
"name": "AccordionItem",
|
|
1021
|
+
"superclass": {
|
|
1022
|
+
"name": "FASTAccordionItem",
|
|
1023
|
+
"package": "@microsoft/fast-components"
|
|
1024
|
+
},
|
|
1025
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1026
|
+
"customElement": true,
|
|
1027
|
+
"attributes": [
|
|
1000
1028
|
{
|
|
1001
|
-
"
|
|
1002
|
-
"name": "fileInput",
|
|
1029
|
+
"name": "heading-level",
|
|
1003
1030
|
"type": {
|
|
1004
|
-
"text": "
|
|
1031
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1005
1032
|
},
|
|
1006
|
-
"
|
|
1033
|
+
"default": "2",
|
|
1034
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1035
|
+
"fieldName": "headinglevel",
|
|
1036
|
+
"inheritedFrom": {
|
|
1037
|
+
"name": "AccordionItem",
|
|
1038
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1039
|
+
}
|
|
1007
1040
|
},
|
|
1008
1041
|
{
|
|
1009
|
-
"kind": "field",
|
|
1010
|
-
"name": "selectedFile",
|
|
1011
1042
|
"type": {
|
|
1012
|
-
"text": "
|
|
1043
|
+
"text": "boolean"
|
|
1013
1044
|
},
|
|
1014
|
-
"
|
|
1015
|
-
"
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
"type": {
|
|
1021
|
-
"text": "string"
|
|
1045
|
+
"default": "false",
|
|
1046
|
+
"description": "Expands or collapses the item.",
|
|
1047
|
+
"fieldName": "expanded",
|
|
1048
|
+
"inheritedFrom": {
|
|
1049
|
+
"name": "AccordionItem",
|
|
1050
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1022
1051
|
}
|
|
1023
1052
|
},
|
|
1024
1053
|
{
|
|
1025
|
-
"
|
|
1026
|
-
"name": "accept",
|
|
1054
|
+
"name": "id",
|
|
1027
1055
|
"type": {
|
|
1028
1056
|
"text": "string"
|
|
1029
1057
|
},
|
|
1030
|
-
"
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
"default": "10_485_760",
|
|
1036
|
-
"type": {
|
|
1037
|
-
"text": "number"
|
|
1058
|
+
"description": "The item ID",
|
|
1059
|
+
"fieldName": "id",
|
|
1060
|
+
"inheritedFrom": {
|
|
1061
|
+
"name": "AccordionItem",
|
|
1062
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1038
1063
|
}
|
|
1039
|
-
}
|
|
1064
|
+
}
|
|
1065
|
+
],
|
|
1066
|
+
"members": [
|
|
1040
1067
|
{
|
|
1041
1068
|
"kind": "field",
|
|
1042
|
-
"name": "
|
|
1069
|
+
"name": "headinglevel",
|
|
1043
1070
|
"type": {
|
|
1044
|
-
"text": "
|
|
1071
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1045
1072
|
},
|
|
1046
|
-
"
|
|
1073
|
+
"privacy": "public",
|
|
1074
|
+
"default": "2",
|
|
1075
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1076
|
+
"inheritedFrom": {
|
|
1077
|
+
"name": "AccordionItem",
|
|
1078
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1079
|
+
}
|
|
1047
1080
|
},
|
|
1048
1081
|
{
|
|
1049
1082
|
"kind": "field",
|
|
1050
|
-
"name": "
|
|
1083
|
+
"name": "expanded",
|
|
1051
1084
|
"type": {
|
|
1052
1085
|
"text": "boolean"
|
|
1053
1086
|
},
|
|
1054
|
-
"default": "false"
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
"kind": "method",
|
|
1058
|
-
"name": "handleClick",
|
|
1059
|
-
"privacy": "public",
|
|
1060
|
-
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1061
|
-
},
|
|
1062
|
-
{
|
|
1063
|
-
"kind": "method",
|
|
1064
|
-
"name": "onInputChange",
|
|
1065
1087
|
"privacy": "public",
|
|
1066
|
-
"
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
},
|
|
1072
|
-
"description": "The change event from the file input"
|
|
1073
|
-
}
|
|
1074
|
-
],
|
|
1075
|
-
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1076
|
-
},
|
|
1077
|
-
{
|
|
1078
|
-
"kind": "method",
|
|
1079
|
-
"name": "clearSelection",
|
|
1080
|
-
"privacy": "public",
|
|
1081
|
-
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1082
|
-
},
|
|
1083
|
-
{
|
|
1084
|
-
"kind": "method",
|
|
1085
|
-
"name": "getSelectedFile",
|
|
1086
|
-
"privacy": "public",
|
|
1087
|
-
"description": "Gets the currently selected file object",
|
|
1088
|
-
"return": {
|
|
1089
|
-
"type": {
|
|
1090
|
-
"text": ""
|
|
1091
|
-
}
|
|
1088
|
+
"default": "false",
|
|
1089
|
+
"description": "Expands or collapses the item.",
|
|
1090
|
+
"inheritedFrom": {
|
|
1091
|
+
"name": "AccordionItem",
|
|
1092
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1092
1093
|
}
|
|
1093
1094
|
},
|
|
1094
1095
|
{
|
|
1095
|
-
"kind": "
|
|
1096
|
-
"name": "
|
|
1097
|
-
"
|
|
1098
|
-
|
|
1099
|
-
{
|
|
1100
|
-
"name": "title",
|
|
1101
|
-
"type": {
|
|
1102
|
-
"text": "string"
|
|
1103
|
-
},
|
|
1104
|
-
"description": "The error title"
|
|
1105
|
-
},
|
|
1106
|
-
{
|
|
1107
|
-
"name": "message",
|
|
1108
|
-
"type": {
|
|
1109
|
-
"text": "string"
|
|
1110
|
-
},
|
|
1111
|
-
"description": "The error message"
|
|
1112
|
-
}
|
|
1113
|
-
],
|
|
1114
|
-
"description": "Shows an error notification using the unified error handling system"
|
|
1115
|
-
},
|
|
1116
|
-
{
|
|
1117
|
-
"kind": "method",
|
|
1118
|
-
"name": "onFileSelected",
|
|
1119
|
-
"privacy": "protected",
|
|
1120
|
-
"return": {
|
|
1121
|
-
"type": {
|
|
1122
|
-
"text": "void"
|
|
1123
|
-
}
|
|
1096
|
+
"kind": "field",
|
|
1097
|
+
"name": "id",
|
|
1098
|
+
"type": {
|
|
1099
|
+
"text": "string"
|
|
1124
1100
|
},
|
|
1125
|
-
"
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
"description": "The selected file"
|
|
1132
|
-
}
|
|
1133
|
-
],
|
|
1134
|
-
"description": "Abstract method called when a file is selected"
|
|
1101
|
+
"privacy": "public",
|
|
1102
|
+
"description": "The item ID",
|
|
1103
|
+
"inheritedFrom": {
|
|
1104
|
+
"name": "AccordionItem",
|
|
1105
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1106
|
+
}
|
|
1135
1107
|
},
|
|
1136
1108
|
{
|
|
1137
|
-
"kind": "
|
|
1138
|
-
"name": "
|
|
1139
|
-
"privacy": "
|
|
1140
|
-
"
|
|
1141
|
-
"
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
},
|
|
1145
|
-
"description": "Abstract method called when file selection is cleared"
|
|
1109
|
+
"kind": "field",
|
|
1110
|
+
"name": "change",
|
|
1111
|
+
"privacy": "private",
|
|
1112
|
+
"inheritedFrom": {
|
|
1113
|
+
"name": "AccordionItem",
|
|
1114
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1115
|
+
}
|
|
1146
1116
|
},
|
|
1147
1117
|
{
|
|
1148
1118
|
"kind": "field",
|
|
@@ -1258,149 +1228,76 @@
|
|
|
1258
1228
|
],
|
|
1259
1229
|
"events": [
|
|
1260
1230
|
{
|
|
1261
|
-
"description": "
|
|
1262
|
-
"name": "
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
}
|
|
1268
|
-
],
|
|
1269
|
-
"attributes": [
|
|
1270
|
-
{
|
|
1271
|
-
"name": "label",
|
|
1272
|
-
"type": {
|
|
1273
|
-
"text": "string"
|
|
1274
|
-
},
|
|
1275
|
-
"fieldName": "label"
|
|
1276
|
-
},
|
|
1277
|
-
{
|
|
1278
|
-
"name": "accept",
|
|
1279
|
-
"type": {
|
|
1280
|
-
"text": "string"
|
|
1281
|
-
},
|
|
1282
|
-
"default": "''",
|
|
1283
|
-
"fieldName": "accept"
|
|
1284
|
-
},
|
|
1285
|
-
{
|
|
1286
|
-
"name": "file-size-limit-bytes",
|
|
1287
|
-
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1288
|
-
"resolveInitializer": {
|
|
1289
|
-
"module": "src/_common/base-file-component.ts"
|
|
1290
|
-
},
|
|
1291
|
-
"fieldName": "fileSizeLimitBytes"
|
|
1231
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1232
|
+
"name": "change",
|
|
1233
|
+
"inheritedFrom": {
|
|
1234
|
+
"name": "AccordionItem",
|
|
1235
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1236
|
+
}
|
|
1292
1237
|
}
|
|
1293
|
-
]
|
|
1294
|
-
|
|
1295
|
-
"name": "FoundationElement",
|
|
1296
|
-
"package": "@microsoft/fast-foundation"
|
|
1297
|
-
}
|
|
1298
|
-
}
|
|
1299
|
-
],
|
|
1300
|
-
"exports": [
|
|
1301
|
-
{
|
|
1302
|
-
"kind": "js",
|
|
1303
|
-
"name": "BaseFileComponent",
|
|
1304
|
-
"declaration": {
|
|
1305
|
-
"name": "BaseFileComponent",
|
|
1306
|
-
"module": "src/_common/base-file-component.ts"
|
|
1307
|
-
}
|
|
1308
|
-
}
|
|
1309
|
-
]
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
"kind": "javascript-module",
|
|
1313
|
-
"path": "src/_common/field-styles.ts",
|
|
1314
|
-
"declarations": [
|
|
1238
|
+
]
|
|
1239
|
+
},
|
|
1315
1240
|
{
|
|
1316
1241
|
"kind": "variable",
|
|
1317
|
-
"name": "
|
|
1318
|
-
"
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1242
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1243
|
+
"type": {
|
|
1244
|
+
"text": "ShadowRootInit"
|
|
1245
|
+
},
|
|
1246
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1247
|
+
},
|
|
1322
1248
|
{
|
|
1323
|
-
"kind": "
|
|
1324
|
-
"name": "
|
|
1325
|
-
"
|
|
1326
|
-
"
|
|
1327
|
-
|
|
1328
|
-
}
|
|
1329
|
-
}
|
|
1330
|
-
]
|
|
1331
|
-
},
|
|
1332
|
-
{
|
|
1333
|
-
"kind": "javascript-module",
|
|
1334
|
-
"path": "src/_common/icons.ts",
|
|
1335
|
-
"declarations": [
|
|
1249
|
+
"kind": "variable",
|
|
1250
|
+
"name": "defaultAccordionItemConfig",
|
|
1251
|
+
"type": {
|
|
1252
|
+
"text": "object"
|
|
1253
|
+
},
|
|
1254
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
1255
|
+
},
|
|
1336
1256
|
{
|
|
1337
|
-
"kind": "
|
|
1338
|
-
"name": "
|
|
1339
|
-
"
|
|
1340
|
-
|
|
1341
|
-
"name": "slot",
|
|
1342
|
-
"default": "'start'"
|
|
1343
|
-
},
|
|
1344
|
-
{
|
|
1345
|
-
"name": "fill",
|
|
1346
|
-
"default": "'#879ba6'"
|
|
1347
|
-
}
|
|
1348
|
-
]
|
|
1257
|
+
"kind": "variable",
|
|
1258
|
+
"name": "foundationAccordionItem",
|
|
1259
|
+
"description": "The Foundation Accordion Item",
|
|
1260
|
+
"privacy": "public"
|
|
1349
1261
|
}
|
|
1350
1262
|
],
|
|
1351
1263
|
"exports": [
|
|
1352
1264
|
{
|
|
1353
1265
|
"kind": "js",
|
|
1354
|
-
"name": "
|
|
1355
|
-
"declaration": {
|
|
1356
|
-
"name": "closeIcon",
|
|
1357
|
-
"module": "src/_common/icons.ts"
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
]
|
|
1361
|
-
},
|
|
1362
|
-
{
|
|
1363
|
-
"kind": "javascript-module",
|
|
1364
|
-
"path": "src/_common/index.ts",
|
|
1365
|
-
"declarations": [],
|
|
1366
|
-
"exports": [
|
|
1367
|
-
{
|
|
1368
|
-
"kind": "js",
|
|
1369
|
-
"name": "*",
|
|
1266
|
+
"name": "AccordionItem",
|
|
1370
1267
|
"declaration": {
|
|
1371
|
-
"name": "
|
|
1372
|
-
"
|
|
1268
|
+
"name": "AccordionItem",
|
|
1269
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1373
1270
|
}
|
|
1374
1271
|
},
|
|
1375
1272
|
{
|
|
1376
1273
|
"kind": "js",
|
|
1377
|
-
"name": "
|
|
1274
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1378
1275
|
"declaration": {
|
|
1379
|
-
"name": "
|
|
1380
|
-
"
|
|
1276
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1277
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1381
1278
|
}
|
|
1382
1279
|
},
|
|
1383
1280
|
{
|
|
1384
1281
|
"kind": "js",
|
|
1385
|
-
"name": "
|
|
1282
|
+
"name": "defaultAccordionItemConfig",
|
|
1386
1283
|
"declaration": {
|
|
1387
|
-
"name": "
|
|
1388
|
-
"
|
|
1284
|
+
"name": "defaultAccordionItemConfig",
|
|
1285
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1389
1286
|
}
|
|
1390
1287
|
},
|
|
1391
1288
|
{
|
|
1392
1289
|
"kind": "js",
|
|
1393
|
-
"name": "
|
|
1290
|
+
"name": "foundationAccordionItem",
|
|
1394
1291
|
"declaration": {
|
|
1395
|
-
"name": "
|
|
1396
|
-
"
|
|
1292
|
+
"name": "foundationAccordionItem",
|
|
1293
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1397
1294
|
}
|
|
1398
1295
|
}
|
|
1399
1296
|
]
|
|
1400
1297
|
},
|
|
1401
1298
|
{
|
|
1402
1299
|
"kind": "javascript-module",
|
|
1403
|
-
"path": "src/
|
|
1300
|
+
"path": "src/accordion-item/index.ts",
|
|
1404
1301
|
"declarations": [],
|
|
1405
1302
|
"exports": [
|
|
1406
1303
|
{
|
|
@@ -1408,7 +1305,7 @@
|
|
|
1408
1305
|
"name": "*",
|
|
1409
1306
|
"declaration": {
|
|
1410
1307
|
"name": "*",
|
|
1411
|
-
"package": "./
|
|
1308
|
+
"package": "./accordion-item.template"
|
|
1412
1309
|
}
|
|
1413
1310
|
},
|
|
1414
1311
|
{
|
|
@@ -1416,7 +1313,7 @@
|
|
|
1416
1313
|
"name": "*",
|
|
1417
1314
|
"declaration": {
|
|
1418
1315
|
"name": "*",
|
|
1419
|
-
"package": "./
|
|
1316
|
+
"package": "./accordion-item.styles"
|
|
1420
1317
|
}
|
|
1421
1318
|
},
|
|
1422
1319
|
{
|
|
@@ -1424,73 +1321,51 @@
|
|
|
1424
1321
|
"name": "*",
|
|
1425
1322
|
"declaration": {
|
|
1426
1323
|
"name": "*",
|
|
1427
|
-
"package": "./
|
|
1324
|
+
"package": "./accordion-item"
|
|
1428
1325
|
}
|
|
1429
1326
|
}
|
|
1430
1327
|
]
|
|
1431
1328
|
},
|
|
1432
1329
|
{
|
|
1433
1330
|
"kind": "javascript-module",
|
|
1434
|
-
"path": "src/
|
|
1331
|
+
"path": "src/_common/affix-mixin.ts",
|
|
1435
1332
|
"declarations": [
|
|
1436
1333
|
{
|
|
1437
|
-
"kind": "
|
|
1438
|
-
"
|
|
1439
|
-
"
|
|
1440
|
-
|
|
1441
|
-
"text": "ElementStyles"
|
|
1442
|
-
}
|
|
1443
|
-
},
|
|
1444
|
-
"parameters": [
|
|
1334
|
+
"kind": "mixin",
|
|
1335
|
+
"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.",
|
|
1336
|
+
"name": "AffixMixin",
|
|
1337
|
+
"members": [
|
|
1445
1338
|
{
|
|
1446
|
-
"
|
|
1339
|
+
"kind": "field",
|
|
1340
|
+
"name": "prefix",
|
|
1447
1341
|
"type": {
|
|
1448
|
-
"text": "
|
|
1449
|
-
}
|
|
1342
|
+
"text": "string"
|
|
1343
|
+
},
|
|
1344
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
1450
1345
|
},
|
|
1451
1346
|
{
|
|
1452
|
-
"
|
|
1347
|
+
"kind": "field",
|
|
1348
|
+
"name": "suffix",
|
|
1453
1349
|
"type": {
|
|
1454
|
-
"text": "
|
|
1455
|
-
}
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
}
|
|
1459
|
-
],
|
|
1460
|
-
"exports": [
|
|
1461
|
-
{
|
|
1462
|
-
"kind": "js",
|
|
1463
|
-
"name": "foundationAccordionStyles",
|
|
1464
|
-
"declaration": {
|
|
1465
|
-
"name": "foundationAccordionStyles",
|
|
1466
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1467
|
-
}
|
|
1468
|
-
}
|
|
1469
|
-
]
|
|
1470
|
-
},
|
|
1471
|
-
{
|
|
1472
|
-
"kind": "javascript-module",
|
|
1473
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1474
|
-
"declarations": [
|
|
1475
|
-
{
|
|
1476
|
-
"kind": "function",
|
|
1477
|
-
"name": "foundationAccordionTemplate",
|
|
1478
|
-
"return": {
|
|
1479
|
-
"type": {
|
|
1480
|
-
"text": "ViewTemplate<Accordion>"
|
|
1481
|
-
}
|
|
1482
|
-
},
|
|
1483
|
-
"parameters": [
|
|
1350
|
+
"text": "string"
|
|
1351
|
+
},
|
|
1352
|
+
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
1353
|
+
},
|
|
1484
1354
|
{
|
|
1485
|
-
"
|
|
1355
|
+
"kind": "field",
|
|
1356
|
+
"name": "hideAffixFromScreenReader",
|
|
1486
1357
|
"type": {
|
|
1487
|
-
"text": "
|
|
1488
|
-
}
|
|
1489
|
-
|
|
1358
|
+
"text": "boolean"
|
|
1359
|
+
},
|
|
1360
|
+
"default": "false",
|
|
1361
|
+
"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."
|
|
1362
|
+
}
|
|
1363
|
+
],
|
|
1364
|
+
"parameters": [
|
|
1490
1365
|
{
|
|
1491
|
-
"name": "
|
|
1366
|
+
"name": "Base",
|
|
1492
1367
|
"type": {
|
|
1493
|
-
"text": "
|
|
1368
|
+
"text": "TBase"
|
|
1494
1369
|
}
|
|
1495
1370
|
}
|
|
1496
1371
|
]
|
|
@@ -1499,207 +1374,143 @@
|
|
|
1499
1374
|
"exports": [
|
|
1500
1375
|
{
|
|
1501
1376
|
"kind": "js",
|
|
1502
|
-
"name": "
|
|
1377
|
+
"name": "AffixMixin",
|
|
1503
1378
|
"declaration": {
|
|
1504
|
-
"name": "
|
|
1505
|
-
"module": "src/
|
|
1379
|
+
"name": "AffixMixin",
|
|
1380
|
+
"module": "src/_common/affix-mixin.ts"
|
|
1506
1381
|
}
|
|
1507
1382
|
}
|
|
1508
1383
|
]
|
|
1509
1384
|
},
|
|
1510
1385
|
{
|
|
1511
1386
|
"kind": "javascript-module",
|
|
1512
|
-
"path": "src/
|
|
1387
|
+
"path": "src/_common/base-file-component.ts",
|
|
1513
1388
|
"declarations": [
|
|
1514
1389
|
{
|
|
1515
1390
|
"kind": "class",
|
|
1516
|
-
"description": "",
|
|
1517
|
-
"name": "
|
|
1518
|
-
"superclass": {
|
|
1519
|
-
"name": "FASTAccordion",
|
|
1520
|
-
"package": "@microsoft/fast-foundation"
|
|
1521
|
-
},
|
|
1522
|
-
"tagName": "%%prefix%%-accordion",
|
|
1523
|
-
"customElement": true,
|
|
1524
|
-
"attributes": [
|
|
1525
|
-
{
|
|
1526
|
-
"name": "expand-mode",
|
|
1527
|
-
"type": {
|
|
1528
|
-
"text": "AccordionExpandMode"
|
|
1529
|
-
},
|
|
1530
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1531
|
-
"fieldName": "expandmode",
|
|
1532
|
-
"inheritedFrom": {
|
|
1533
|
-
"name": "Accordion",
|
|
1534
|
-
"module": "src/accordion/accordion.ts"
|
|
1535
|
-
}
|
|
1536
|
-
}
|
|
1537
|
-
],
|
|
1391
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
1392
|
+
"name": "BaseFileComponent",
|
|
1538
1393
|
"members": [
|
|
1539
1394
|
{
|
|
1540
1395
|
"kind": "field",
|
|
1541
|
-
"name": "
|
|
1396
|
+
"name": "fileInput",
|
|
1542
1397
|
"type": {
|
|
1543
|
-
"text": "
|
|
1398
|
+
"text": "HTMLInputElement"
|
|
1544
1399
|
},
|
|
1545
|
-
"privacy": "public"
|
|
1546
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1547
|
-
"inheritedFrom": {
|
|
1548
|
-
"name": "Accordion",
|
|
1549
|
-
"module": "src/accordion/accordion.ts"
|
|
1550
|
-
}
|
|
1400
|
+
"privacy": "public"
|
|
1551
1401
|
},
|
|
1552
1402
|
{
|
|
1553
1403
|
"kind": "field",
|
|
1554
|
-
"name": "
|
|
1404
|
+
"name": "selectedFile",
|
|
1555
1405
|
"type": {
|
|
1556
|
-
"text": "
|
|
1406
|
+
"text": "File | null"
|
|
1557
1407
|
},
|
|
1558
|
-
"privacy": "
|
|
1559
|
-
"
|
|
1560
|
-
"name": "Accordion",
|
|
1561
|
-
"module": "src/accordion/accordion.ts"
|
|
1562
|
-
}
|
|
1408
|
+
"privacy": "protected",
|
|
1409
|
+
"default": "null"
|
|
1563
1410
|
},
|
|
1564
1411
|
{
|
|
1565
1412
|
"kind": "field",
|
|
1566
|
-
"name": "
|
|
1413
|
+
"name": "label",
|
|
1567
1414
|
"type": {
|
|
1568
|
-
"text": "
|
|
1569
|
-
},
|
|
1570
|
-
"privacy": "private",
|
|
1571
|
-
"default": "0",
|
|
1572
|
-
"inheritedFrom": {
|
|
1573
|
-
"name": "Accordion",
|
|
1574
|
-
"module": "src/accordion/accordion.ts"
|
|
1415
|
+
"text": "string"
|
|
1575
1416
|
}
|
|
1576
1417
|
},
|
|
1577
1418
|
{
|
|
1578
1419
|
"kind": "field",
|
|
1579
|
-
"name": "
|
|
1420
|
+
"name": "accept",
|
|
1580
1421
|
"type": {
|
|
1581
|
-
"text": "
|
|
1422
|
+
"text": "string"
|
|
1582
1423
|
},
|
|
1583
|
-
"
|
|
1584
|
-
"inheritedFrom": {
|
|
1585
|
-
"name": "Accordion",
|
|
1586
|
-
"module": "src/accordion/accordion.ts"
|
|
1587
|
-
}
|
|
1424
|
+
"default": "''"
|
|
1588
1425
|
},
|
|
1589
1426
|
{
|
|
1590
1427
|
"kind": "field",
|
|
1591
|
-
"name": "
|
|
1592
|
-
"
|
|
1593
|
-
"
|
|
1594
|
-
"
|
|
1595
|
-
"module": "src/accordion/accordion.ts"
|
|
1428
|
+
"name": "fileSizeLimitBytes",
|
|
1429
|
+
"default": "10_485_760",
|
|
1430
|
+
"type": {
|
|
1431
|
+
"text": "number"
|
|
1596
1432
|
}
|
|
1597
1433
|
},
|
|
1598
1434
|
{
|
|
1599
|
-
"kind": "
|
|
1600
|
-
"name": "
|
|
1601
|
-
"
|
|
1602
|
-
|
|
1603
|
-
"type": {
|
|
1604
|
-
"text": "AccordionItem | null"
|
|
1605
|
-
}
|
|
1435
|
+
"kind": "field",
|
|
1436
|
+
"name": "fileName",
|
|
1437
|
+
"type": {
|
|
1438
|
+
"text": "string"
|
|
1606
1439
|
},
|
|
1607
|
-
"
|
|
1608
|
-
"name": "Accordion",
|
|
1609
|
-
"module": "src/accordion/accordion.ts"
|
|
1610
|
-
}
|
|
1440
|
+
"default": "''"
|
|
1611
1441
|
},
|
|
1612
1442
|
{
|
|
1613
1443
|
"kind": "field",
|
|
1614
|
-
"name": "
|
|
1615
|
-
"
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
}
|
|
1444
|
+
"name": "isProcessing",
|
|
1445
|
+
"type": {
|
|
1446
|
+
"text": "boolean"
|
|
1447
|
+
},
|
|
1448
|
+
"default": "false"
|
|
1620
1449
|
},
|
|
1621
1450
|
{
|
|
1622
1451
|
"kind": "method",
|
|
1623
|
-
"name": "
|
|
1624
|
-
"privacy": "
|
|
1625
|
-
"
|
|
1626
|
-
"type": {
|
|
1627
|
-
"text": "void"
|
|
1628
|
-
}
|
|
1629
|
-
},
|
|
1630
|
-
"inheritedFrom": {
|
|
1631
|
-
"name": "Accordion",
|
|
1632
|
-
"module": "src/accordion/accordion.ts"
|
|
1633
|
-
}
|
|
1452
|
+
"name": "handleClick",
|
|
1453
|
+
"privacy": "public",
|
|
1454
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1634
1455
|
},
|
|
1635
1456
|
{
|
|
1636
|
-
"kind": "
|
|
1637
|
-
"name": "
|
|
1638
|
-
"privacy": "
|
|
1639
|
-
"
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1457
|
+
"kind": "method",
|
|
1458
|
+
"name": "onInputChange",
|
|
1459
|
+
"privacy": "public",
|
|
1460
|
+
"parameters": [
|
|
1461
|
+
{
|
|
1462
|
+
"name": "e",
|
|
1463
|
+
"type": {
|
|
1464
|
+
"text": "Event"
|
|
1465
|
+
},
|
|
1466
|
+
"description": "The change event from the file input"
|
|
1467
|
+
}
|
|
1468
|
+
],
|
|
1469
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1643
1470
|
},
|
|
1644
1471
|
{
|
|
1645
|
-
"kind": "
|
|
1646
|
-
"name": "
|
|
1647
|
-
"privacy": "
|
|
1648
|
-
"
|
|
1649
|
-
"name": "Accordion",
|
|
1650
|
-
"module": "src/accordion/accordion.ts"
|
|
1651
|
-
}
|
|
1472
|
+
"kind": "method",
|
|
1473
|
+
"name": "clearSelection",
|
|
1474
|
+
"privacy": "public",
|
|
1475
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1652
1476
|
},
|
|
1653
1477
|
{
|
|
1654
1478
|
"kind": "method",
|
|
1655
|
-
"name": "
|
|
1656
|
-
"privacy": "
|
|
1479
|
+
"name": "getSelectedFile",
|
|
1480
|
+
"privacy": "public",
|
|
1481
|
+
"description": "Gets the currently selected file object",
|
|
1657
1482
|
"return": {
|
|
1658
1483
|
"type": {
|
|
1659
|
-
"text": "
|
|
1484
|
+
"text": ""
|
|
1660
1485
|
}
|
|
1661
|
-
},
|
|
1662
|
-
"inheritedFrom": {
|
|
1663
|
-
"name": "Accordion",
|
|
1664
|
-
"module": "src/accordion/accordion.ts"
|
|
1665
1486
|
}
|
|
1666
1487
|
},
|
|
1667
1488
|
{
|
|
1668
1489
|
"kind": "method",
|
|
1669
|
-
"name": "
|
|
1670
|
-
"privacy": "
|
|
1671
|
-
"
|
|
1672
|
-
|
|
1673
|
-
"
|
|
1490
|
+
"name": "showError",
|
|
1491
|
+
"privacy": "protected",
|
|
1492
|
+
"parameters": [
|
|
1493
|
+
{
|
|
1494
|
+
"name": "title",
|
|
1495
|
+
"type": {
|
|
1496
|
+
"text": "string"
|
|
1497
|
+
},
|
|
1498
|
+
"description": "The error title"
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"name": "message",
|
|
1502
|
+
"type": {
|
|
1503
|
+
"text": "string"
|
|
1504
|
+
},
|
|
1505
|
+
"description": "The error message"
|
|
1674
1506
|
}
|
|
1675
|
-
|
|
1676
|
-
"
|
|
1677
|
-
"name": "Accordion",
|
|
1678
|
-
"module": "src/accordion/accordion.ts"
|
|
1679
|
-
}
|
|
1680
|
-
},
|
|
1681
|
-
{
|
|
1682
|
-
"kind": "field",
|
|
1683
|
-
"name": "handleItemKeyDown",
|
|
1684
|
-
"privacy": "private",
|
|
1685
|
-
"inheritedFrom": {
|
|
1686
|
-
"name": "Accordion",
|
|
1687
|
-
"module": "src/accordion/accordion.ts"
|
|
1688
|
-
}
|
|
1689
|
-
},
|
|
1690
|
-
{
|
|
1691
|
-
"kind": "field",
|
|
1692
|
-
"name": "handleItemFocus",
|
|
1693
|
-
"privacy": "private",
|
|
1694
|
-
"inheritedFrom": {
|
|
1695
|
-
"name": "Accordion",
|
|
1696
|
-
"module": "src/accordion/accordion.ts"
|
|
1697
|
-
}
|
|
1507
|
+
],
|
|
1508
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
1698
1509
|
},
|
|
1699
1510
|
{
|
|
1700
1511
|
"kind": "method",
|
|
1701
|
-
"name": "
|
|
1702
|
-
"privacy": "
|
|
1512
|
+
"name": "onFileSelected",
|
|
1513
|
+
"privacy": "protected",
|
|
1703
1514
|
"return": {
|
|
1704
1515
|
"type": {
|
|
1705
1516
|
"text": "void"
|
|
@@ -1707,30 +1518,25 @@
|
|
|
1707
1518
|
},
|
|
1708
1519
|
"parameters": [
|
|
1709
1520
|
{
|
|
1710
|
-
"name": "
|
|
1521
|
+
"name": "files",
|
|
1711
1522
|
"type": {
|
|
1712
|
-
"text": "
|
|
1713
|
-
}
|
|
1523
|
+
"text": "File[]"
|
|
1524
|
+
},
|
|
1525
|
+
"description": "The selected file"
|
|
1714
1526
|
}
|
|
1715
1527
|
],
|
|
1716
|
-
"
|
|
1717
|
-
"name": "Accordion",
|
|
1718
|
-
"module": "src/accordion/accordion.ts"
|
|
1719
|
-
}
|
|
1528
|
+
"description": "Abstract method called when a file is selected"
|
|
1720
1529
|
},
|
|
1721
1530
|
{
|
|
1722
1531
|
"kind": "method",
|
|
1723
|
-
"name": "
|
|
1724
|
-
"privacy": "
|
|
1532
|
+
"name": "onFileCleared",
|
|
1533
|
+
"privacy": "protected",
|
|
1725
1534
|
"return": {
|
|
1726
1535
|
"type": {
|
|
1727
1536
|
"text": "void"
|
|
1728
1537
|
}
|
|
1729
1538
|
},
|
|
1730
|
-
"
|
|
1731
|
-
"name": "Accordion",
|
|
1732
|
-
"module": "src/accordion/accordion.ts"
|
|
1733
|
-
}
|
|
1539
|
+
"description": "Abstract method called when file selection is cleared"
|
|
1734
1540
|
},
|
|
1735
1541
|
{
|
|
1736
1542
|
"kind": "field",
|
|
@@ -1846,76 +1652,110 @@
|
|
|
1846
1652
|
],
|
|
1847
1653
|
"events": [
|
|
1848
1654
|
{
|
|
1849
|
-
"description": "
|
|
1850
|
-
"name": "
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1655
|
+
"description": "Fired when file size validation fails. detail: `Error`",
|
|
1656
|
+
"name": "error"
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
"description": "Fired when selection is cleared",
|
|
1660
|
+
"name": "clear"
|
|
1855
1661
|
}
|
|
1856
|
-
]
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1662
|
+
],
|
|
1663
|
+
"attributes": [
|
|
1664
|
+
{
|
|
1665
|
+
"name": "label",
|
|
1666
|
+
"type": {
|
|
1667
|
+
"text": "string"
|
|
1668
|
+
},
|
|
1669
|
+
"fieldName": "label"
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
"name": "accept",
|
|
1673
|
+
"type": {
|
|
1674
|
+
"text": "string"
|
|
1675
|
+
},
|
|
1676
|
+
"default": "''",
|
|
1677
|
+
"fieldName": "accept"
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
"name": "file-size-limit-bytes",
|
|
1681
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1682
|
+
"resolveInitializer": {
|
|
1683
|
+
"module": "src/_common/base-file-component.ts"
|
|
1684
|
+
},
|
|
1685
|
+
"fieldName": "fileSizeLimitBytes"
|
|
1686
|
+
}
|
|
1687
|
+
],
|
|
1688
|
+
"superclass": {
|
|
1689
|
+
"name": "FoundationElement",
|
|
1690
|
+
"package": "@microsoft/fast-foundation"
|
|
1691
|
+
}
|
|
1879
1692
|
}
|
|
1880
1693
|
],
|
|
1881
1694
|
"exports": [
|
|
1882
1695
|
{
|
|
1883
1696
|
"kind": "js",
|
|
1884
|
-
"name": "
|
|
1697
|
+
"name": "BaseFileComponent",
|
|
1885
1698
|
"declaration": {
|
|
1886
|
-
"name": "
|
|
1887
|
-
"module": "src/
|
|
1699
|
+
"name": "BaseFileComponent",
|
|
1700
|
+
"module": "src/_common/base-file-component.ts"
|
|
1888
1701
|
}
|
|
1889
|
-
}
|
|
1702
|
+
}
|
|
1703
|
+
]
|
|
1704
|
+
},
|
|
1705
|
+
{
|
|
1706
|
+
"kind": "javascript-module",
|
|
1707
|
+
"path": "src/_common/field-styles.ts",
|
|
1708
|
+
"declarations": [
|
|
1890
1709
|
{
|
|
1891
|
-
"kind": "
|
|
1892
|
-
"name": "
|
|
1893
|
-
"
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
},
|
|
1710
|
+
"kind": "variable",
|
|
1711
|
+
"name": "sharedFieldStyles",
|
|
1712
|
+
"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`"
|
|
1713
|
+
}
|
|
1714
|
+
],
|
|
1715
|
+
"exports": [
|
|
1898
1716
|
{
|
|
1899
1717
|
"kind": "js",
|
|
1900
|
-
"name": "
|
|
1718
|
+
"name": "sharedFieldStyles",
|
|
1901
1719
|
"declaration": {
|
|
1902
|
-
"name": "
|
|
1903
|
-
"module": "src/
|
|
1720
|
+
"name": "sharedFieldStyles",
|
|
1721
|
+
"module": "src/_common/field-styles.ts"
|
|
1904
1722
|
}
|
|
1905
|
-
}
|
|
1723
|
+
}
|
|
1724
|
+
]
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"kind": "javascript-module",
|
|
1728
|
+
"path": "src/_common/icons.ts",
|
|
1729
|
+
"declarations": [
|
|
1730
|
+
{
|
|
1731
|
+
"kind": "function",
|
|
1732
|
+
"name": "closeIcon",
|
|
1733
|
+
"parameters": [
|
|
1734
|
+
{
|
|
1735
|
+
"name": "slot",
|
|
1736
|
+
"default": "'start'"
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
"name": "fill",
|
|
1740
|
+
"default": "'#879ba6'"
|
|
1741
|
+
}
|
|
1742
|
+
]
|
|
1743
|
+
}
|
|
1744
|
+
],
|
|
1745
|
+
"exports": [
|
|
1906
1746
|
{
|
|
1907
1747
|
"kind": "js",
|
|
1908
|
-
"name": "
|
|
1748
|
+
"name": "closeIcon",
|
|
1909
1749
|
"declaration": {
|
|
1910
|
-
"name": "
|
|
1911
|
-
"module": "src/
|
|
1750
|
+
"name": "closeIcon",
|
|
1751
|
+
"module": "src/_common/icons.ts"
|
|
1912
1752
|
}
|
|
1913
1753
|
}
|
|
1914
1754
|
]
|
|
1915
1755
|
},
|
|
1916
1756
|
{
|
|
1917
1757
|
"kind": "javascript-module",
|
|
1918
|
-
"path": "src/
|
|
1758
|
+
"path": "src/_common/index.ts",
|
|
1919
1759
|
"declarations": [],
|
|
1920
1760
|
"exports": [
|
|
1921
1761
|
{
|
|
@@ -1923,7 +1763,7 @@
|
|
|
1923
1763
|
"name": "*",
|
|
1924
1764
|
"declaration": {
|
|
1925
1765
|
"name": "*",
|
|
1926
|
-
"package": "./
|
|
1766
|
+
"package": "./affix-mixin"
|
|
1927
1767
|
}
|
|
1928
1768
|
},
|
|
1929
1769
|
{
|
|
@@ -1931,26 +1771,57 @@
|
|
|
1931
1771
|
"name": "*",
|
|
1932
1772
|
"declaration": {
|
|
1933
1773
|
"name": "*",
|
|
1934
|
-
"package": "./
|
|
1774
|
+
"package": "./base-file-component"
|
|
1775
|
+
}
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"kind": "js",
|
|
1779
|
+
"name": "*",
|
|
1780
|
+
"declaration": {
|
|
1781
|
+
"name": "*",
|
|
1782
|
+
"package": "./field-styles"
|
|
1935
1783
|
}
|
|
1936
1784
|
},
|
|
1937
|
-
{
|
|
1938
|
-
"kind": "js",
|
|
1939
|
-
"name": "*",
|
|
1940
|
-
"declaration": {
|
|
1941
|
-
"name": "*",
|
|
1942
|
-
"package": "./
|
|
1943
|
-
}
|
|
1944
|
-
}
|
|
1945
|
-
]
|
|
1946
|
-
},
|
|
1947
|
-
{
|
|
1948
|
-
"kind": "javascript-module",
|
|
1949
|
-
"path": "src/
|
|
1950
|
-
"declarations": [
|
|
1785
|
+
{
|
|
1786
|
+
"kind": "js",
|
|
1787
|
+
"name": "*",
|
|
1788
|
+
"declaration": {
|
|
1789
|
+
"name": "*",
|
|
1790
|
+
"package": "./icons"
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
]
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
"kind": "javascript-module",
|
|
1797
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1798
|
+
"declarations": [
|
|
1799
|
+
{
|
|
1800
|
+
"kind": "function",
|
|
1801
|
+
"name": "actionsMenuBaseStyles",
|
|
1802
|
+
"return": {
|
|
1803
|
+
"type": {
|
|
1804
|
+
"text": "ElementStyles"
|
|
1805
|
+
}
|
|
1806
|
+
},
|
|
1807
|
+
"parameters": [
|
|
1808
|
+
{
|
|
1809
|
+
"name": "context",
|
|
1810
|
+
"type": {
|
|
1811
|
+
"text": "ElementDefinitionContext"
|
|
1812
|
+
}
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"name": "definition",
|
|
1816
|
+
"type": {
|
|
1817
|
+
"text": "FoundationElementDefinition"
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1820
|
+
]
|
|
1821
|
+
},
|
|
1951
1822
|
{
|
|
1952
1823
|
"kind": "function",
|
|
1953
|
-
"name": "
|
|
1824
|
+
"name": "foundationActionsMenuStyles",
|
|
1954
1825
|
"return": {
|
|
1955
1826
|
"type": {
|
|
1956
1827
|
"text": "ElementStyles"
|
|
@@ -1975,156 +1846,269 @@
|
|
|
1975
1846
|
"exports": [
|
|
1976
1847
|
{
|
|
1977
1848
|
"kind": "js",
|
|
1978
|
-
"name": "
|
|
1849
|
+
"name": "actionsMenuBaseStyles",
|
|
1979
1850
|
"declaration": {
|
|
1980
|
-
"name": "
|
|
1981
|
-
"module": "src/
|
|
1851
|
+
"name": "actionsMenuBaseStyles",
|
|
1852
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1853
|
+
}
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
"kind": "js",
|
|
1857
|
+
"name": "foundationActionsMenuStyles",
|
|
1858
|
+
"declaration": {
|
|
1859
|
+
"name": "foundationActionsMenuStyles",
|
|
1860
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1982
1861
|
}
|
|
1983
1862
|
}
|
|
1984
1863
|
]
|
|
1985
1864
|
},
|
|
1986
1865
|
{
|
|
1987
1866
|
"kind": "javascript-module",
|
|
1988
|
-
"path": "src/
|
|
1867
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1989
1868
|
"declarations": [
|
|
1990
1869
|
{
|
|
1991
1870
|
"kind": "function",
|
|
1992
|
-
"name": "
|
|
1993
|
-
"return": {
|
|
1994
|
-
"type": {
|
|
1995
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
1996
|
-
}
|
|
1997
|
-
},
|
|
1871
|
+
"name": "menuTemplate",
|
|
1998
1872
|
"parameters": [
|
|
1999
1873
|
{
|
|
2000
|
-
"name": "
|
|
1874
|
+
"name": "prefix",
|
|
2001
1875
|
"type": {
|
|
2002
|
-
"text": "
|
|
1876
|
+
"text": "string"
|
|
2003
1877
|
}
|
|
2004
|
-
}
|
|
1878
|
+
}
|
|
1879
|
+
]
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
"kind": "function",
|
|
1883
|
+
"name": "singleOptionTemplate",
|
|
1884
|
+
"parameters": [
|
|
2005
1885
|
{
|
|
2006
|
-
"name": "
|
|
1886
|
+
"name": "prefix",
|
|
2007
1887
|
"type": {
|
|
2008
|
-
"text": "
|
|
1888
|
+
"text": "string"
|
|
2009
1889
|
}
|
|
2010
1890
|
}
|
|
2011
1891
|
]
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"kind": "variable",
|
|
1895
|
+
"name": "foundationActionsMenuTemplate",
|
|
1896
|
+
"type": {
|
|
1897
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
1898
|
+
},
|
|
1899
|
+
"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`"
|
|
2012
1900
|
}
|
|
2013
1901
|
],
|
|
2014
1902
|
"exports": [
|
|
2015
1903
|
{
|
|
2016
1904
|
"kind": "js",
|
|
2017
|
-
"name": "
|
|
1905
|
+
"name": "menuTemplate",
|
|
2018
1906
|
"declaration": {
|
|
2019
|
-
"name": "
|
|
2020
|
-
"module": "src/
|
|
1907
|
+
"name": "menuTemplate",
|
|
1908
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1909
|
+
}
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
"kind": "js",
|
|
1913
|
+
"name": "singleOptionTemplate",
|
|
1914
|
+
"declaration": {
|
|
1915
|
+
"name": "singleOptionTemplate",
|
|
1916
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1917
|
+
}
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
"kind": "js",
|
|
1921
|
+
"name": "foundationActionsMenuTemplate",
|
|
1922
|
+
"declaration": {
|
|
1923
|
+
"name": "foundationActionsMenuTemplate",
|
|
1924
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2021
1925
|
}
|
|
2022
1926
|
}
|
|
2023
1927
|
]
|
|
2024
1928
|
},
|
|
2025
1929
|
{
|
|
2026
1930
|
"kind": "javascript-module",
|
|
2027
|
-
"path": "src/
|
|
1931
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2028
1932
|
"declarations": [
|
|
2029
1933
|
{
|
|
2030
1934
|
"kind": "class",
|
|
2031
1935
|
"description": "",
|
|
2032
|
-
"name": "
|
|
2033
|
-
"
|
|
2034
|
-
"name": "FASTAccordionItem",
|
|
2035
|
-
"package": "@microsoft/fast-components"
|
|
2036
|
-
},
|
|
2037
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2038
|
-
"customElement": true,
|
|
2039
|
-
"attributes": [
|
|
1936
|
+
"name": "ActionsMenu",
|
|
1937
|
+
"members": [
|
|
2040
1938
|
{
|
|
2041
|
-
"
|
|
1939
|
+
"kind": "field",
|
|
1940
|
+
"name": "actions",
|
|
2042
1941
|
"type": {
|
|
2043
|
-
"text": "
|
|
2044
|
-
},
|
|
2045
|
-
"default": "2",
|
|
2046
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2047
|
-
"fieldName": "headinglevel",
|
|
2048
|
-
"inheritedFrom": {
|
|
2049
|
-
"name": "AccordionItem",
|
|
2050
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1942
|
+
"text": "ActionMenuItem[]"
|
|
2051
1943
|
}
|
|
2052
1944
|
},
|
|
2053
1945
|
{
|
|
1946
|
+
"kind": "field",
|
|
1947
|
+
"name": "isVertical",
|
|
2054
1948
|
"type": {
|
|
2055
1949
|
"text": "boolean"
|
|
2056
1950
|
},
|
|
2057
|
-
"default": "false"
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
"
|
|
2061
|
-
|
|
2062
|
-
|
|
1951
|
+
"default": "false"
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
"kind": "field",
|
|
1955
|
+
"name": "addDefaultActions",
|
|
1956
|
+
"type": {
|
|
1957
|
+
"text": "boolean"
|
|
1958
|
+
},
|
|
1959
|
+
"default": "true"
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"kind": "field",
|
|
1963
|
+
"name": "autoCloseOnAction",
|
|
1964
|
+
"type": {
|
|
1965
|
+
"text": "boolean"
|
|
1966
|
+
},
|
|
1967
|
+
"default": "true"
|
|
1968
|
+
},
|
|
1969
|
+
{
|
|
1970
|
+
"kind": "field",
|
|
1971
|
+
"name": "classNames",
|
|
1972
|
+
"type": {
|
|
1973
|
+
"text": "string"
|
|
2063
1974
|
}
|
|
2064
1975
|
},
|
|
2065
1976
|
{
|
|
2066
|
-
"
|
|
1977
|
+
"kind": "field",
|
|
1978
|
+
"name": "definition",
|
|
1979
|
+
"type": {
|
|
1980
|
+
"text": "any"
|
|
1981
|
+
}
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
"kind": "field",
|
|
1985
|
+
"name": "name",
|
|
2067
1986
|
"type": {
|
|
2068
1987
|
"text": "string"
|
|
2069
1988
|
},
|
|
2070
|
-
"
|
|
2071
|
-
|
|
2072
|
-
"inheritedFrom": {
|
|
2073
|
-
"name": "AccordionItem",
|
|
2074
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2075
|
-
}
|
|
2076
|
-
}
|
|
2077
|
-
],
|
|
2078
|
-
"members": [
|
|
1989
|
+
"default": "'Actions'"
|
|
1990
|
+
},
|
|
2079
1991
|
{
|
|
2080
1992
|
"kind": "field",
|
|
2081
|
-
"name": "
|
|
1993
|
+
"name": "open",
|
|
2082
1994
|
"type": {
|
|
2083
|
-
"text": "
|
|
1995
|
+
"text": "boolean"
|
|
2084
1996
|
},
|
|
2085
|
-
"
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
"
|
|
2089
|
-
|
|
2090
|
-
|
|
1997
|
+
"default": "false"
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
"kind": "field",
|
|
2001
|
+
"name": "buttonAppearance",
|
|
2002
|
+
"type": {
|
|
2003
|
+
"text": "string"
|
|
2091
2004
|
}
|
|
2092
2005
|
},
|
|
2093
2006
|
{
|
|
2094
2007
|
"kind": "field",
|
|
2095
|
-
"name": "
|
|
2008
|
+
"name": "hideDisabled",
|
|
2096
2009
|
"type": {
|
|
2097
2010
|
"text": "boolean"
|
|
2098
2011
|
},
|
|
2099
|
-
"
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
"
|
|
2103
|
-
|
|
2104
|
-
|
|
2012
|
+
"default": "false"
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"kind": "field",
|
|
2016
|
+
"name": "hideMenuSingleOption",
|
|
2017
|
+
"type": {
|
|
2018
|
+
"text": "boolean"
|
|
2019
|
+
},
|
|
2020
|
+
"default": "false"
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
"kind": "field",
|
|
2024
|
+
"name": "singleOption",
|
|
2025
|
+
"type": {
|
|
2026
|
+
"text": "ActionMenuItem"
|
|
2105
2027
|
}
|
|
2106
2028
|
},
|
|
2107
2029
|
{
|
|
2108
2030
|
"kind": "field",
|
|
2109
|
-
"name": "
|
|
2031
|
+
"name": "actionsMenu",
|
|
2110
2032
|
"type": {
|
|
2111
|
-
"text": "
|
|
2033
|
+
"text": "HTMLElement"
|
|
2034
|
+
}
|
|
2035
|
+
},
|
|
2036
|
+
{
|
|
2037
|
+
"kind": "method",
|
|
2038
|
+
"name": "definitionChanged",
|
|
2039
|
+
"privacy": "protected",
|
|
2040
|
+
"parameters": [
|
|
2041
|
+
{
|
|
2042
|
+
"name": "oldValue",
|
|
2043
|
+
"type": {
|
|
2044
|
+
"text": "any"
|
|
2045
|
+
}
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
"name": "newValue",
|
|
2049
|
+
"type": {
|
|
2050
|
+
"text": "any"
|
|
2051
|
+
}
|
|
2052
|
+
}
|
|
2053
|
+
]
|
|
2054
|
+
},
|
|
2055
|
+
{
|
|
2056
|
+
"kind": "method",
|
|
2057
|
+
"name": "openChanged",
|
|
2058
|
+
"privacy": "protected"
|
|
2059
|
+
},
|
|
2060
|
+
{
|
|
2061
|
+
"kind": "method",
|
|
2062
|
+
"name": "toggleActionsMenuVisibility"
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
"kind": "method",
|
|
2066
|
+
"name": "onActionMenuItemClick",
|
|
2067
|
+
"parameters": [
|
|
2068
|
+
{
|
|
2069
|
+
"name": "callback",
|
|
2070
|
+
"type": {
|
|
2071
|
+
"text": "(rowData) => void | any"
|
|
2072
|
+
}
|
|
2073
|
+
}
|
|
2074
|
+
]
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
"kind": "field",
|
|
2078
|
+
"name": "allActions",
|
|
2079
|
+
"type": {
|
|
2080
|
+
"text": "ActionMenuItem[]"
|
|
2112
2081
|
},
|
|
2113
|
-
"
|
|
2114
|
-
"description": "The item ID",
|
|
2115
|
-
"inheritedFrom": {
|
|
2116
|
-
"name": "AccordionItem",
|
|
2117
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2118
|
-
}
|
|
2082
|
+
"readonly": true
|
|
2119
2083
|
},
|
|
2120
2084
|
{
|
|
2121
2085
|
"kind": "field",
|
|
2122
|
-
"name": "
|
|
2123
|
-
"
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2086
|
+
"name": "rowData",
|
|
2087
|
+
"readonly": true
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
"kind": "method",
|
|
2091
|
+
"name": "getLabel",
|
|
2092
|
+
"parameters": [
|
|
2093
|
+
{
|
|
2094
|
+
"name": "name",
|
|
2095
|
+
"type": {
|
|
2096
|
+
"text": "string | ((rowData: any) => string)"
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
]
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
"kind": "method",
|
|
2103
|
+
"name": "getTemplate",
|
|
2104
|
+
"parameters": [
|
|
2105
|
+
{
|
|
2106
|
+
"name": "prefix",
|
|
2107
|
+
"type": {
|
|
2108
|
+
"text": "string"
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
2111
|
+
]
|
|
2128
2112
|
},
|
|
2129
2113
|
{
|
|
2130
2114
|
"kind": "field",
|
|
@@ -2238,78 +2222,138 @@
|
|
|
2238
2222
|
}
|
|
2239
2223
|
}
|
|
2240
2224
|
],
|
|
2241
|
-
"
|
|
2225
|
+
"attributes": [
|
|
2242
2226
|
{
|
|
2243
|
-
"
|
|
2244
|
-
"
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2227
|
+
"name": "is-vertical",
|
|
2228
|
+
"type": {
|
|
2229
|
+
"text": "boolean"
|
|
2230
|
+
},
|
|
2231
|
+
"default": "false",
|
|
2232
|
+
"fieldName": "isVertical"
|
|
2233
|
+
},
|
|
2234
|
+
{
|
|
2235
|
+
"name": "add-default-actions",
|
|
2236
|
+
"type": {
|
|
2237
|
+
"text": "boolean"
|
|
2238
|
+
},
|
|
2239
|
+
"default": "true",
|
|
2240
|
+
"fieldName": "addDefaultActions"
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"name": "auto-close-on-action",
|
|
2244
|
+
"type": {
|
|
2245
|
+
"text": "boolean"
|
|
2246
|
+
},
|
|
2247
|
+
"default": "true",
|
|
2248
|
+
"fieldName": "autoCloseOnAction"
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
"name": "name",
|
|
2252
|
+
"type": {
|
|
2253
|
+
"text": "string"
|
|
2254
|
+
},
|
|
2255
|
+
"default": "'Actions'",
|
|
2256
|
+
"fieldName": "name"
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
"name": "open",
|
|
2260
|
+
"type": {
|
|
2261
|
+
"text": "boolean"
|
|
2262
|
+
},
|
|
2263
|
+
"default": "false",
|
|
2264
|
+
"fieldName": "open"
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"name": "buttonAppearance",
|
|
2268
|
+
"type": {
|
|
2269
|
+
"text": "string"
|
|
2270
|
+
},
|
|
2271
|
+
"fieldName": "buttonAppearance"
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"name": "hide-disabled",
|
|
2275
|
+
"type": {
|
|
2276
|
+
"text": "boolean"
|
|
2277
|
+
},
|
|
2278
|
+
"default": "false",
|
|
2279
|
+
"fieldName": "hideDisabled"
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
"name": "hide-menu-single-option",
|
|
2283
|
+
"type": {
|
|
2284
|
+
"text": "boolean"
|
|
2285
|
+
},
|
|
2286
|
+
"default": "false",
|
|
2287
|
+
"fieldName": "hideMenuSingleOption"
|
|
2249
2288
|
}
|
|
2250
|
-
]
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2255
|
-
"type": {
|
|
2256
|
-
"text": "ShadowRootInit"
|
|
2257
|
-
},
|
|
2258
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2259
|
-
},
|
|
2260
|
-
{
|
|
2261
|
-
"kind": "variable",
|
|
2262
|
-
"name": "defaultAccordionItemConfig",
|
|
2263
|
-
"type": {
|
|
2264
|
-
"text": "object"
|
|
2289
|
+
],
|
|
2290
|
+
"superclass": {
|
|
2291
|
+
"name": "FoundationElement",
|
|
2292
|
+
"package": "@microsoft/fast-foundation"
|
|
2265
2293
|
},
|
|
2266
|
-
"
|
|
2294
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2295
|
+
"customElement": true
|
|
2267
2296
|
},
|
|
2268
2297
|
{
|
|
2269
2298
|
"kind": "variable",
|
|
2270
|
-
"name": "
|
|
2271
|
-
"description": "The Foundation
|
|
2299
|
+
"name": "foundationActionsMenu",
|
|
2300
|
+
"description": "The Foundation Actions Menu",
|
|
2272
2301
|
"privacy": "public"
|
|
2273
2302
|
}
|
|
2274
2303
|
],
|
|
2275
2304
|
"exports": [
|
|
2276
2305
|
{
|
|
2277
2306
|
"kind": "js",
|
|
2278
|
-
"name": "
|
|
2307
|
+
"name": "ActionsMenu",
|
|
2279
2308
|
"declaration": {
|
|
2280
|
-
"name": "
|
|
2281
|
-
"module": "src/
|
|
2309
|
+
"name": "ActionsMenu",
|
|
2310
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2282
2311
|
}
|
|
2283
2312
|
},
|
|
2284
2313
|
{
|
|
2285
2314
|
"kind": "js",
|
|
2286
|
-
"name": "
|
|
2315
|
+
"name": "foundationActionsMenu",
|
|
2287
2316
|
"declaration": {
|
|
2288
|
-
"name": "
|
|
2289
|
-
"module": "src/
|
|
2317
|
+
"name": "foundationActionsMenu",
|
|
2318
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2319
|
+
}
|
|
2320
|
+
}
|
|
2321
|
+
]
|
|
2322
|
+
},
|
|
2323
|
+
{
|
|
2324
|
+
"kind": "javascript-module",
|
|
2325
|
+
"path": "src/actions-menu/index.ts",
|
|
2326
|
+
"declarations": [],
|
|
2327
|
+
"exports": [
|
|
2328
|
+
{
|
|
2329
|
+
"kind": "js",
|
|
2330
|
+
"name": "*",
|
|
2331
|
+
"declaration": {
|
|
2332
|
+
"name": "*",
|
|
2333
|
+
"package": "./actions-menu.styles"
|
|
2290
2334
|
}
|
|
2291
2335
|
},
|
|
2292
2336
|
{
|
|
2293
2337
|
"kind": "js",
|
|
2294
|
-
"name": "
|
|
2338
|
+
"name": "*",
|
|
2295
2339
|
"declaration": {
|
|
2296
|
-
"name": "
|
|
2297
|
-
"
|
|
2340
|
+
"name": "*",
|
|
2341
|
+
"package": "./actions-menu.template"
|
|
2298
2342
|
}
|
|
2299
2343
|
},
|
|
2300
2344
|
{
|
|
2301
2345
|
"kind": "js",
|
|
2302
|
-
"name": "
|
|
2346
|
+
"name": "*",
|
|
2303
2347
|
"declaration": {
|
|
2304
|
-
"name": "
|
|
2305
|
-
"
|
|
2348
|
+
"name": "*",
|
|
2349
|
+
"package": "./actions-menu"
|
|
2306
2350
|
}
|
|
2307
2351
|
}
|
|
2308
2352
|
]
|
|
2309
2353
|
},
|
|
2310
2354
|
{
|
|
2311
2355
|
"kind": "javascript-module",
|
|
2312
|
-
"path": "src/
|
|
2356
|
+
"path": "src/_config/index.ts",
|
|
2313
2357
|
"declarations": [],
|
|
2314
2358
|
"exports": [
|
|
2315
2359
|
{
|
|
@@ -2317,7 +2361,7 @@
|
|
|
2317
2361
|
"name": "*",
|
|
2318
2362
|
"declaration": {
|
|
2319
2363
|
"name": "*",
|
|
2320
|
-
"package": "./
|
|
2364
|
+
"package": "./styles"
|
|
2321
2365
|
}
|
|
2322
2366
|
},
|
|
2323
2367
|
{
|
|
@@ -2325,7 +2369,7 @@
|
|
|
2325
2369
|
"name": "*",
|
|
2326
2370
|
"declaration": {
|
|
2327
2371
|
"name": "*",
|
|
2328
|
-
"package": "./
|
|
2372
|
+
"package": "./tokens"
|
|
2329
2373
|
}
|
|
2330
2374
|
},
|
|
2331
2375
|
{
|
|
@@ -2333,111 +2377,122 @@
|
|
|
2333
2377
|
"name": "*",
|
|
2334
2378
|
"declaration": {
|
|
2335
2379
|
"name": "*",
|
|
2336
|
-
"package": "./
|
|
2380
|
+
"package": "./values"
|
|
2337
2381
|
}
|
|
2338
2382
|
}
|
|
2339
2383
|
]
|
|
2340
2384
|
},
|
|
2341
2385
|
{
|
|
2342
2386
|
"kind": "javascript-module",
|
|
2343
|
-
"path": "src/ai-
|
|
2387
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2344
2388
|
"declarations": [
|
|
2345
2389
|
{
|
|
2346
|
-
"kind": "
|
|
2347
|
-
"name": "
|
|
2348
|
-
"
|
|
2349
|
-
"type": {
|
|
2350
|
-
"text": "ElementStyles"
|
|
2351
|
-
}
|
|
2352
|
-
},
|
|
2353
|
-
"parameters": [
|
|
2354
|
-
{
|
|
2355
|
-
"name": "context",
|
|
2356
|
-
"type": {
|
|
2357
|
-
"text": "ElementDefinitionContext"
|
|
2358
|
-
}
|
|
2359
|
-
},
|
|
2360
|
-
{
|
|
2361
|
-
"name": "definition",
|
|
2362
|
-
"type": {
|
|
2363
|
-
"text": "FoundationElementDefinition"
|
|
2364
|
-
}
|
|
2365
|
-
}
|
|
2366
|
-
]
|
|
2390
|
+
"kind": "variable",
|
|
2391
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2392
|
+
"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`"
|
|
2367
2393
|
}
|
|
2368
2394
|
],
|
|
2369
2395
|
"exports": [
|
|
2370
2396
|
{
|
|
2371
2397
|
"kind": "js",
|
|
2372
|
-
"name": "
|
|
2398
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2373
2399
|
"declaration": {
|
|
2374
|
-
"name": "
|
|
2375
|
-
"module": "src/ai-
|
|
2400
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2401
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2376
2402
|
}
|
|
2377
2403
|
}
|
|
2378
2404
|
]
|
|
2379
2405
|
},
|
|
2380
2406
|
{
|
|
2381
2407
|
"kind": "javascript-module",
|
|
2382
|
-
"path": "src/ai-
|
|
2408
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2383
2409
|
"declarations": [
|
|
2384
2410
|
{
|
|
2385
2411
|
"kind": "variable",
|
|
2386
|
-
"name": "
|
|
2412
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2387
2413
|
"type": {
|
|
2388
|
-
"text": "ViewTemplate<
|
|
2414
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2389
2415
|
},
|
|
2390
|
-
"default": "html`\n ${(x) =>
|
|
2416
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2391
2417
|
}
|
|
2392
2418
|
],
|
|
2393
2419
|
"exports": [
|
|
2394
2420
|
{
|
|
2395
2421
|
"kind": "js",
|
|
2396
|
-
"name": "
|
|
2422
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2397
2423
|
"declaration": {
|
|
2398
|
-
"name": "
|
|
2399
|
-
"module": "src/ai-
|
|
2424
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2425
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2400
2426
|
}
|
|
2401
2427
|
}
|
|
2402
2428
|
]
|
|
2403
2429
|
},
|
|
2404
2430
|
{
|
|
2405
2431
|
"kind": "javascript-module",
|
|
2406
|
-
"path": "src/ai-
|
|
2432
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2407
2433
|
"declarations": [
|
|
2408
2434
|
{
|
|
2409
2435
|
"kind": "class",
|
|
2410
|
-
"description": "",
|
|
2411
|
-
"name": "
|
|
2436
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2437
|
+
"name": "AiCriteriaSearch",
|
|
2412
2438
|
"members": [
|
|
2413
2439
|
{
|
|
2414
2440
|
"kind": "field",
|
|
2415
|
-
"name": "providerRegistry",
|
|
2441
|
+
"name": "providerRegistry",
|
|
2442
|
+
"type": {
|
|
2443
|
+
"text": "AIProviderRegistry"
|
|
2444
|
+
}
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
"kind": "field",
|
|
2448
|
+
"name": "placeholder",
|
|
2449
|
+
"type": {
|
|
2450
|
+
"text": "string"
|
|
2451
|
+
},
|
|
2452
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2453
|
+
},
|
|
2454
|
+
{
|
|
2455
|
+
"kind": "field",
|
|
2456
|
+
"name": "disabled",
|
|
2457
|
+
"type": {
|
|
2458
|
+
"text": "boolean"
|
|
2459
|
+
}
|
|
2460
|
+
},
|
|
2461
|
+
{
|
|
2462
|
+
"kind": "field",
|
|
2463
|
+
"name": "inputValue",
|
|
2416
2464
|
"type": {
|
|
2417
|
-
"text": "
|
|
2418
|
-
}
|
|
2465
|
+
"text": "string"
|
|
2466
|
+
},
|
|
2467
|
+
"default": "''"
|
|
2419
2468
|
},
|
|
2420
2469
|
{
|
|
2421
2470
|
"kind": "field",
|
|
2422
|
-
"name": "
|
|
2471
|
+
"name": "isInterpreting",
|
|
2423
2472
|
"type": {
|
|
2424
|
-
"text": "
|
|
2473
|
+
"text": "boolean"
|
|
2425
2474
|
},
|
|
2426
|
-
"
|
|
2427
|
-
"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.",
|
|
2428
|
-
"readonly": true
|
|
2475
|
+
"default": "false"
|
|
2429
2476
|
},
|
|
2430
2477
|
{
|
|
2431
2478
|
"kind": "field",
|
|
2432
|
-
"name": "
|
|
2479
|
+
"name": "lastValidCriteria",
|
|
2433
2480
|
"type": {
|
|
2434
|
-
"text": "
|
|
2481
|
+
"text": "string | null"
|
|
2435
2482
|
},
|
|
2436
2483
|
"default": "null"
|
|
2437
2484
|
},
|
|
2438
2485
|
{
|
|
2439
2486
|
"kind": "field",
|
|
2440
|
-
"name": "
|
|
2487
|
+
"name": "activeGroups",
|
|
2488
|
+
"type": {
|
|
2489
|
+
"text": "CriteriaGroup[]"
|
|
2490
|
+
},
|
|
2491
|
+
"default": "[]"
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
"kind": "field",
|
|
2495
|
+
"name": "showingChips",
|
|
2441
2496
|
"type": {
|
|
2442
2497
|
"text": "boolean"
|
|
2443
2498
|
},
|
|
@@ -2445,15 +2500,15 @@
|
|
|
2445
2500
|
},
|
|
2446
2501
|
{
|
|
2447
2502
|
"kind": "field",
|
|
2448
|
-
"name": "
|
|
2503
|
+
"name": "fieldMetadata",
|
|
2449
2504
|
"type": {
|
|
2450
|
-
"text": "
|
|
2505
|
+
"text": "MetadataDetail[] | string[]"
|
|
2451
2506
|
},
|
|
2452
|
-
"default": "
|
|
2507
|
+
"default": "[]"
|
|
2453
2508
|
},
|
|
2454
2509
|
{
|
|
2455
2510
|
"kind": "field",
|
|
2456
|
-
"name": "
|
|
2511
|
+
"name": "isRecording",
|
|
2457
2512
|
"type": {
|
|
2458
2513
|
"text": "boolean"
|
|
2459
2514
|
},
|
|
@@ -2461,29 +2516,33 @@
|
|
|
2461
2516
|
},
|
|
2462
2517
|
{
|
|
2463
2518
|
"kind": "field",
|
|
2464
|
-
"name": "
|
|
2519
|
+
"name": "textAreaRef",
|
|
2465
2520
|
"type": {
|
|
2466
|
-
"text": "
|
|
2521
|
+
"text": "HTMLTextAreaElement"
|
|
2467
2522
|
},
|
|
2468
|
-
"privacy": "
|
|
2469
|
-
"default": "null"
|
|
2523
|
+
"privacy": "public"
|
|
2470
2524
|
},
|
|
2471
2525
|
{
|
|
2472
2526
|
"kind": "field",
|
|
2473
|
-
"name": "
|
|
2474
|
-
"
|
|
2527
|
+
"name": "stopRecording",
|
|
2528
|
+
"type": {
|
|
2529
|
+
"text": "(() => void) | null"
|
|
2530
|
+
},
|
|
2531
|
+
"privacy": "private",
|
|
2532
|
+
"default": "null"
|
|
2475
2533
|
},
|
|
2476
2534
|
{
|
|
2477
2535
|
"kind": "field",
|
|
2478
|
-
"name": "
|
|
2536
|
+
"name": "speechApplyDebounceTimer",
|
|
2479
2537
|
"type": {
|
|
2480
|
-
"text": "
|
|
2538
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2481
2539
|
},
|
|
2482
|
-
"
|
|
2540
|
+
"privacy": "private",
|
|
2541
|
+
"default": "null"
|
|
2483
2542
|
},
|
|
2484
2543
|
{
|
|
2485
2544
|
"kind": "field",
|
|
2486
|
-
"name": "
|
|
2545
|
+
"name": "speechAvailable",
|
|
2487
2546
|
"type": {
|
|
2488
2547
|
"text": "boolean"
|
|
2489
2548
|
},
|
|
@@ -2491,69 +2550,65 @@
|
|
|
2491
2550
|
},
|
|
2492
2551
|
{
|
|
2493
2552
|
"kind": "field",
|
|
2494
|
-
"name": "
|
|
2553
|
+
"name": "criteriaChips",
|
|
2495
2554
|
"type": {
|
|
2496
|
-
"text": "
|
|
2555
|
+
"text": "CriteriaChip[]"
|
|
2497
2556
|
},
|
|
2498
2557
|
"readonly": true
|
|
2499
2558
|
},
|
|
2500
2559
|
{
|
|
2501
2560
|
"kind": "method",
|
|
2502
|
-
"name": "
|
|
2561
|
+
"name": "getFieldLabel",
|
|
2562
|
+
"privacy": "private",
|
|
2503
2563
|
"return": {
|
|
2504
2564
|
"type": {
|
|
2505
|
-
"text": "
|
|
2565
|
+
"text": "string"
|
|
2506
2566
|
}
|
|
2507
|
-
}
|
|
2508
|
-
},
|
|
2509
|
-
{
|
|
2510
|
-
"kind": "method",
|
|
2511
|
-
"name": "handleClickOutside",
|
|
2512
|
-
"privacy": "private",
|
|
2567
|
+
},
|
|
2513
2568
|
"parameters": [
|
|
2514
2569
|
{
|
|
2515
|
-
"name": "
|
|
2570
|
+
"name": "fieldName",
|
|
2516
2571
|
"type": {
|
|
2517
|
-
"text": "
|
|
2572
|
+
"text": "string"
|
|
2518
2573
|
}
|
|
2519
2574
|
}
|
|
2520
2575
|
]
|
|
2521
2576
|
},
|
|
2522
2577
|
{
|
|
2523
2578
|
"kind": "method",
|
|
2524
|
-
"name": "
|
|
2525
|
-
},
|
|
2526
|
-
{
|
|
2527
|
-
"kind": "method",
|
|
2528
|
-
"name": "refreshStatus",
|
|
2579
|
+
"name": "toggleCriteriaView",
|
|
2529
2580
|
"return": {
|
|
2530
2581
|
"type": {
|
|
2531
|
-
"text": "
|
|
2582
|
+
"text": "void"
|
|
2532
2583
|
}
|
|
2533
2584
|
}
|
|
2534
2585
|
},
|
|
2535
2586
|
{
|
|
2536
2587
|
"kind": "method",
|
|
2537
|
-
"name": "
|
|
2538
|
-
"privacy": "private",
|
|
2588
|
+
"name": "removeChip",
|
|
2539
2589
|
"return": {
|
|
2540
2590
|
"type": {
|
|
2541
|
-
"text": "
|
|
2591
|
+
"text": "void"
|
|
2542
2592
|
}
|
|
2543
2593
|
},
|
|
2544
2594
|
"parameters": [
|
|
2545
2595
|
{
|
|
2546
|
-
"name": "
|
|
2596
|
+
"name": "groupIndex",
|
|
2547
2597
|
"type": {
|
|
2548
|
-
"text": "
|
|
2598
|
+
"text": "number"
|
|
2599
|
+
}
|
|
2600
|
+
},
|
|
2601
|
+
{
|
|
2602
|
+
"name": "clauseIndex",
|
|
2603
|
+
"type": {
|
|
2604
|
+
"text": "number"
|
|
2549
2605
|
}
|
|
2550
2606
|
}
|
|
2551
2607
|
]
|
|
2552
2608
|
},
|
|
2553
2609
|
{
|
|
2554
2610
|
"kind": "method",
|
|
2555
|
-
"name": "
|
|
2556
|
-
"privacy": "private",
|
|
2611
|
+
"name": "clearChips",
|
|
2557
2612
|
"return": {
|
|
2558
2613
|
"type": {
|
|
2559
2614
|
"text": "void"
|
|
@@ -2562,32 +2617,24 @@
|
|
|
2562
2617
|
},
|
|
2563
2618
|
{
|
|
2564
2619
|
"kind": "method",
|
|
2565
|
-
"name": "
|
|
2566
|
-
"privacy": "private",
|
|
2567
|
-
"return": {
|
|
2568
|
-
"type": {
|
|
2569
|
-
"text": "void"
|
|
2570
|
-
}
|
|
2571
|
-
}
|
|
2620
|
+
"name": "handleSubmit"
|
|
2572
2621
|
},
|
|
2573
2622
|
{
|
|
2574
2623
|
"kind": "method",
|
|
2575
|
-
"name": "
|
|
2576
|
-
"privacy": "private",
|
|
2577
|
-
"return": {
|
|
2578
|
-
"type": {
|
|
2579
|
-
"text": "void"
|
|
2580
|
-
}
|
|
2581
|
-
}
|
|
2624
|
+
"name": "handleBlur"
|
|
2582
2625
|
},
|
|
2583
2626
|
{
|
|
2584
2627
|
"kind": "method",
|
|
2585
|
-
"name": "
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2628
|
+
"name": "clear"
|
|
2629
|
+
},
|
|
2630
|
+
{
|
|
2631
|
+
"kind": "method",
|
|
2632
|
+
"name": "toggleSpeechInput"
|
|
2633
|
+
},
|
|
2634
|
+
{
|
|
2635
|
+
"kind": "method",
|
|
2636
|
+
"name": "clearSpeechApplyDebounce",
|
|
2637
|
+
"privacy": "private"
|
|
2591
2638
|
},
|
|
2592
2639
|
{
|
|
2593
2640
|
"kind": "field",
|
|
@@ -2701,296 +2748,520 @@
|
|
|
2701
2748
|
}
|
|
2702
2749
|
}
|
|
2703
2750
|
],
|
|
2751
|
+
"events": [
|
|
2752
|
+
{
|
|
2753
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2754
|
+
"name": "criteria-changed"
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2758
|
+
"name": "validation-errors"
|
|
2759
|
+
}
|
|
2760
|
+
],
|
|
2761
|
+
"attributes": [
|
|
2762
|
+
{
|
|
2763
|
+
"name": "placeholder",
|
|
2764
|
+
"type": {
|
|
2765
|
+
"text": "string"
|
|
2766
|
+
},
|
|
2767
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2768
|
+
"fieldName": "placeholder"
|
|
2769
|
+
},
|
|
2770
|
+
{
|
|
2771
|
+
"type": {
|
|
2772
|
+
"text": "boolean"
|
|
2773
|
+
},
|
|
2774
|
+
"fieldName": "disabled"
|
|
2775
|
+
}
|
|
2776
|
+
],
|
|
2704
2777
|
"superclass": {
|
|
2705
2778
|
"name": "FoundationElement",
|
|
2706
2779
|
"package": "@microsoft/fast-foundation"
|
|
2707
2780
|
},
|
|
2708
|
-
"tagName": "%%prefix%%-ai-
|
|
2781
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2709
2782
|
"customElement": true
|
|
2710
2783
|
},
|
|
2711
2784
|
{
|
|
2712
2785
|
"kind": "variable",
|
|
2713
|
-
"name": "
|
|
2786
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2787
|
+
"type": {
|
|
2788
|
+
"text": "ShadowRootInit"
|
|
2789
|
+
},
|
|
2790
|
+
"default": "undefined"
|
|
2791
|
+
},
|
|
2792
|
+
{
|
|
2793
|
+
"kind": "variable",
|
|
2794
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2795
|
+
"type": {
|
|
2796
|
+
"text": "object"
|
|
2797
|
+
},
|
|
2798
|
+
"default": "{}"
|
|
2799
|
+
},
|
|
2800
|
+
{
|
|
2801
|
+
"kind": "variable",
|
|
2802
|
+
"name": "foundationAiCriteriaSearch"
|
|
2714
2803
|
}
|
|
2715
2804
|
],
|
|
2716
2805
|
"exports": [
|
|
2717
2806
|
{
|
|
2718
2807
|
"kind": "js",
|
|
2719
|
-
"name": "
|
|
2808
|
+
"name": "AiCriteriaSearch",
|
|
2720
2809
|
"declaration": {
|
|
2721
|
-
"name": "
|
|
2722
|
-
"module": "src/ai-
|
|
2810
|
+
"name": "AiCriteriaSearch",
|
|
2811
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2723
2812
|
}
|
|
2724
2813
|
},
|
|
2725
2814
|
{
|
|
2726
2815
|
"kind": "js",
|
|
2727
|
-
"name": "
|
|
2816
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2728
2817
|
"declaration": {
|
|
2729
|
-
"name": "
|
|
2730
|
-
"module": "src/ai-
|
|
2818
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2819
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2820
|
+
}
|
|
2821
|
+
},
|
|
2822
|
+
{
|
|
2823
|
+
"kind": "js",
|
|
2824
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2825
|
+
"declaration": {
|
|
2826
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2827
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2828
|
+
}
|
|
2829
|
+
},
|
|
2830
|
+
{
|
|
2831
|
+
"kind": "js",
|
|
2832
|
+
"name": "foundationAiCriteriaSearch",
|
|
2833
|
+
"declaration": {
|
|
2834
|
+
"name": "foundationAiCriteriaSearch",
|
|
2835
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2731
2836
|
}
|
|
2732
2837
|
}
|
|
2733
2838
|
]
|
|
2734
2839
|
},
|
|
2735
2840
|
{
|
|
2736
2841
|
"kind": "javascript-module",
|
|
2737
|
-
"path": "src/ai-
|
|
2842
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2738
2843
|
"declarations": [],
|
|
2739
2844
|
"exports": [
|
|
2740
2845
|
{
|
|
2741
2846
|
"kind": "js",
|
|
2742
|
-
"name": "
|
|
2847
|
+
"name": "AiCriteriaSearch",
|
|
2743
2848
|
"declaration": {
|
|
2744
|
-
"name": "
|
|
2745
|
-
"module": "./ai-
|
|
2849
|
+
"name": "AiCriteriaSearch",
|
|
2850
|
+
"module": "./ai-criteria-search"
|
|
2746
2851
|
}
|
|
2747
2852
|
},
|
|
2748
2853
|
{
|
|
2749
2854
|
"kind": "js",
|
|
2750
|
-
"name": "
|
|
2855
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2751
2856
|
"declaration": {
|
|
2752
|
-
"name": "
|
|
2753
|
-
"module": "./ai-
|
|
2857
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2858
|
+
"module": "./ai-criteria-search"
|
|
2754
2859
|
}
|
|
2755
2860
|
},
|
|
2756
2861
|
{
|
|
2757
2862
|
"kind": "js",
|
|
2758
|
-
"name": "
|
|
2863
|
+
"name": "foundationAiCriteriaSearch",
|
|
2759
2864
|
"declaration": {
|
|
2760
|
-
"name": "
|
|
2761
|
-
"module": "./ai-
|
|
2865
|
+
"name": "foundationAiCriteriaSearch",
|
|
2866
|
+
"module": "./ai-criteria-search"
|
|
2867
|
+
}
|
|
2868
|
+
},
|
|
2869
|
+
{
|
|
2870
|
+
"kind": "js",
|
|
2871
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2872
|
+
"declaration": {
|
|
2873
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2874
|
+
"module": "./ai-criteria-search"
|
|
2875
|
+
}
|
|
2876
|
+
},
|
|
2877
|
+
{
|
|
2878
|
+
"kind": "js",
|
|
2879
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2880
|
+
"declaration": {
|
|
2881
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2882
|
+
"module": "./ai-criteria-search.styles"
|
|
2883
|
+
}
|
|
2884
|
+
},
|
|
2885
|
+
{
|
|
2886
|
+
"kind": "js",
|
|
2887
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2888
|
+
"declaration": {
|
|
2889
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2890
|
+
"module": "./ai-criteria-search.template"
|
|
2762
2891
|
}
|
|
2763
2892
|
},
|
|
2764
2893
|
{
|
|
2765
2894
|
"kind": "js",
|
|
2766
|
-
"name": "
|
|
2895
|
+
"name": "*",
|
|
2767
2896
|
"declaration": {
|
|
2768
|
-
"name": "
|
|
2769
|
-
"
|
|
2897
|
+
"name": "*",
|
|
2898
|
+
"package": "./validation/criteria-ir"
|
|
2770
2899
|
}
|
|
2771
2900
|
},
|
|
2772
2901
|
{
|
|
2773
2902
|
"kind": "js",
|
|
2774
|
-
"name": "
|
|
2903
|
+
"name": "*",
|
|
2775
2904
|
"declaration": {
|
|
2776
|
-
"name": "
|
|
2777
|
-
"
|
|
2905
|
+
"name": "*",
|
|
2906
|
+
"package": "./validation/operator-map"
|
|
2778
2907
|
}
|
|
2779
2908
|
},
|
|
2780
2909
|
{
|
|
2781
2910
|
"kind": "js",
|
|
2782
|
-
"name": "
|
|
2911
|
+
"name": "*",
|
|
2783
2912
|
"declaration": {
|
|
2784
|
-
"name": "
|
|
2785
|
-
"
|
|
2913
|
+
"name": "*",
|
|
2914
|
+
"package": "./validation/schema-validator"
|
|
2786
2915
|
}
|
|
2787
2916
|
}
|
|
2788
2917
|
]
|
|
2789
2918
|
},
|
|
2790
2919
|
{
|
|
2791
2920
|
"kind": "javascript-module",
|
|
2792
|
-
"path": "src/ai-criteria-search/
|
|
2921
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2793
2922
|
"declarations": [
|
|
2794
2923
|
{
|
|
2795
|
-
"kind": "
|
|
2796
|
-
"name": "
|
|
2797
|
-
"
|
|
2924
|
+
"kind": "function",
|
|
2925
|
+
"name": "formatValidationErrors",
|
|
2926
|
+
"return": {
|
|
2927
|
+
"type": {
|
|
2928
|
+
"text": "string"
|
|
2929
|
+
}
|
|
2930
|
+
},
|
|
2931
|
+
"parameters": [
|
|
2932
|
+
{
|
|
2933
|
+
"name": "errors",
|
|
2934
|
+
"type": {
|
|
2935
|
+
"text": "ValidationError[]"
|
|
2936
|
+
}
|
|
2937
|
+
}
|
|
2938
|
+
],
|
|
2939
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2940
|
+
},
|
|
2941
|
+
{
|
|
2942
|
+
"kind": "function",
|
|
2943
|
+
"name": "showCriteriaError",
|
|
2944
|
+
"return": {
|
|
2945
|
+
"type": {
|
|
2946
|
+
"text": "void"
|
|
2947
|
+
}
|
|
2948
|
+
},
|
|
2949
|
+
"parameters": [
|
|
2950
|
+
{
|
|
2951
|
+
"name": "title",
|
|
2952
|
+
"type": {
|
|
2953
|
+
"text": "string"
|
|
2954
|
+
},
|
|
2955
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2956
|
+
},
|
|
2957
|
+
{
|
|
2958
|
+
"name": "body",
|
|
2959
|
+
"type": {
|
|
2960
|
+
"text": "string"
|
|
2961
|
+
},
|
|
2962
|
+
"description": "Error message to display"
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
"name": "tagName",
|
|
2966
|
+
"type": {
|
|
2967
|
+
"text": "string"
|
|
2968
|
+
},
|
|
2969
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2970
|
+
}
|
|
2971
|
+
],
|
|
2972
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2798
2973
|
}
|
|
2799
2974
|
],
|
|
2800
2975
|
"exports": [
|
|
2801
2976
|
{
|
|
2802
2977
|
"kind": "js",
|
|
2803
|
-
"name": "
|
|
2978
|
+
"name": "formatValidationErrors",
|
|
2804
2979
|
"declaration": {
|
|
2805
|
-
"name": "
|
|
2806
|
-
"module": "src/ai-criteria-search/
|
|
2980
|
+
"name": "formatValidationErrors",
|
|
2981
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2982
|
+
}
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"kind": "js",
|
|
2986
|
+
"name": "showCriteriaError",
|
|
2987
|
+
"declaration": {
|
|
2988
|
+
"name": "showCriteriaError",
|
|
2989
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2807
2990
|
}
|
|
2808
2991
|
}
|
|
2809
2992
|
]
|
|
2810
2993
|
},
|
|
2811
2994
|
{
|
|
2812
2995
|
"kind": "javascript-module",
|
|
2813
|
-
"path": "src/
|
|
2996
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2814
2997
|
"declarations": [
|
|
2815
2998
|
{
|
|
2816
|
-
"kind": "
|
|
2817
|
-
"name": "
|
|
2818
|
-
"
|
|
2819
|
-
"
|
|
2999
|
+
"kind": "function",
|
|
3000
|
+
"name": "foundationAccordionStyles",
|
|
3001
|
+
"return": {
|
|
3002
|
+
"type": {
|
|
3003
|
+
"text": "ElementStyles"
|
|
3004
|
+
}
|
|
2820
3005
|
},
|
|
2821
|
-
"
|
|
3006
|
+
"parameters": [
|
|
3007
|
+
{
|
|
3008
|
+
"name": "context",
|
|
3009
|
+
"type": {
|
|
3010
|
+
"text": "ElementDefinitionContext"
|
|
3011
|
+
}
|
|
3012
|
+
},
|
|
3013
|
+
{
|
|
3014
|
+
"name": "definition",
|
|
3015
|
+
"type": {
|
|
3016
|
+
"text": "FoundationElementDefinition"
|
|
3017
|
+
}
|
|
3018
|
+
}
|
|
3019
|
+
]
|
|
2822
3020
|
}
|
|
2823
3021
|
],
|
|
2824
3022
|
"exports": [
|
|
2825
3023
|
{
|
|
2826
3024
|
"kind": "js",
|
|
2827
|
-
"name": "
|
|
3025
|
+
"name": "foundationAccordionStyles",
|
|
2828
3026
|
"declaration": {
|
|
2829
|
-
"name": "
|
|
2830
|
-
"module": "src/
|
|
3027
|
+
"name": "foundationAccordionStyles",
|
|
3028
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2831
3029
|
}
|
|
2832
3030
|
}
|
|
2833
3031
|
]
|
|
2834
3032
|
},
|
|
2835
3033
|
{
|
|
2836
3034
|
"kind": "javascript-module",
|
|
2837
|
-
"path": "src/
|
|
3035
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2838
3036
|
"declarations": [
|
|
2839
3037
|
{
|
|
2840
|
-
"kind": "
|
|
2841
|
-
"
|
|
2842
|
-
"
|
|
2843
|
-
|
|
3038
|
+
"kind": "function",
|
|
3039
|
+
"name": "foundationAccordionTemplate",
|
|
3040
|
+
"return": {
|
|
3041
|
+
"type": {
|
|
3042
|
+
"text": "ViewTemplate<Accordion>"
|
|
3043
|
+
}
|
|
3044
|
+
},
|
|
3045
|
+
"parameters": [
|
|
2844
3046
|
{
|
|
2845
|
-
"
|
|
2846
|
-
"name": "providerRegistry",
|
|
3047
|
+
"name": "context",
|
|
2847
3048
|
"type": {
|
|
2848
|
-
"text": "
|
|
3049
|
+
"text": "ElementDefinitionContext"
|
|
2849
3050
|
}
|
|
2850
3051
|
},
|
|
2851
3052
|
{
|
|
2852
|
-
"
|
|
2853
|
-
"name": "placeholder",
|
|
2854
|
-
"type": {
|
|
2855
|
-
"text": "string"
|
|
2856
|
-
},
|
|
2857
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2858
|
-
},
|
|
2859
|
-
{
|
|
2860
|
-
"kind": "field",
|
|
2861
|
-
"name": "disabled",
|
|
3053
|
+
"name": "definition",
|
|
2862
3054
|
"type": {
|
|
2863
|
-
"text": "
|
|
3055
|
+
"text": "FoundationElementDefinition"
|
|
2864
3056
|
}
|
|
2865
|
-
}
|
|
3057
|
+
}
|
|
3058
|
+
]
|
|
3059
|
+
}
|
|
3060
|
+
],
|
|
3061
|
+
"exports": [
|
|
3062
|
+
{
|
|
3063
|
+
"kind": "js",
|
|
3064
|
+
"name": "foundationAccordionTemplate",
|
|
3065
|
+
"declaration": {
|
|
3066
|
+
"name": "foundationAccordionTemplate",
|
|
3067
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3068
|
+
}
|
|
3069
|
+
}
|
|
3070
|
+
]
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
"kind": "javascript-module",
|
|
3074
|
+
"path": "src/accordion/accordion.ts",
|
|
3075
|
+
"declarations": [
|
|
3076
|
+
{
|
|
3077
|
+
"kind": "class",
|
|
3078
|
+
"description": "",
|
|
3079
|
+
"name": "Accordion",
|
|
3080
|
+
"superclass": {
|
|
3081
|
+
"name": "FASTAccordion",
|
|
3082
|
+
"package": "@microsoft/fast-foundation"
|
|
3083
|
+
},
|
|
3084
|
+
"tagName": "%%prefix%%-accordion",
|
|
3085
|
+
"customElement": true,
|
|
3086
|
+
"attributes": [
|
|
2866
3087
|
{
|
|
2867
|
-
"
|
|
2868
|
-
"name": "inputValue",
|
|
3088
|
+
"name": "expand-mode",
|
|
2869
3089
|
"type": {
|
|
2870
|
-
"text": "
|
|
3090
|
+
"text": "AccordionExpandMode"
|
|
2871
3091
|
},
|
|
2872
|
-
"
|
|
2873
|
-
|
|
3092
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3093
|
+
"fieldName": "expandmode",
|
|
3094
|
+
"inheritedFrom": {
|
|
3095
|
+
"name": "Accordion",
|
|
3096
|
+
"module": "src/accordion/accordion.ts"
|
|
3097
|
+
}
|
|
3098
|
+
}
|
|
3099
|
+
],
|
|
3100
|
+
"members": [
|
|
2874
3101
|
{
|
|
2875
3102
|
"kind": "field",
|
|
2876
|
-
"name": "
|
|
3103
|
+
"name": "expandmode",
|
|
2877
3104
|
"type": {
|
|
2878
|
-
"text": "
|
|
3105
|
+
"text": "AccordionExpandMode"
|
|
2879
3106
|
},
|
|
2880
|
-
"
|
|
3107
|
+
"privacy": "public",
|
|
3108
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3109
|
+
"inheritedFrom": {
|
|
3110
|
+
"name": "Accordion",
|
|
3111
|
+
"module": "src/accordion/accordion.ts"
|
|
3112
|
+
}
|
|
2881
3113
|
},
|
|
2882
3114
|
{
|
|
2883
3115
|
"kind": "field",
|
|
2884
|
-
"name": "
|
|
3116
|
+
"name": "activeid",
|
|
2885
3117
|
"type": {
|
|
2886
3118
|
"text": "string | null"
|
|
2887
3119
|
},
|
|
2888
|
-
"
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
"type": {
|
|
2894
|
-
"text": "CriteriaGroup[]"
|
|
2895
|
-
},
|
|
2896
|
-
"default": "[]"
|
|
3120
|
+
"privacy": "private",
|
|
3121
|
+
"inheritedFrom": {
|
|
3122
|
+
"name": "Accordion",
|
|
3123
|
+
"module": "src/accordion/accordion.ts"
|
|
3124
|
+
}
|
|
2897
3125
|
},
|
|
2898
3126
|
{
|
|
2899
3127
|
"kind": "field",
|
|
2900
|
-
"name": "
|
|
3128
|
+
"name": "activeItemIndex",
|
|
2901
3129
|
"type": {
|
|
2902
|
-
"text": "
|
|
3130
|
+
"text": "number"
|
|
2903
3131
|
},
|
|
2904
|
-
"
|
|
3132
|
+
"privacy": "private",
|
|
3133
|
+
"default": "0",
|
|
3134
|
+
"inheritedFrom": {
|
|
3135
|
+
"name": "Accordion",
|
|
3136
|
+
"module": "src/accordion/accordion.ts"
|
|
3137
|
+
}
|
|
2905
3138
|
},
|
|
2906
3139
|
{
|
|
2907
3140
|
"kind": "field",
|
|
2908
|
-
"name": "
|
|
3141
|
+
"name": "accordionIds",
|
|
2909
3142
|
"type": {
|
|
2910
|
-
"text": "
|
|
3143
|
+
"text": "Array<string | null>"
|
|
2911
3144
|
},
|
|
2912
|
-
"
|
|
3145
|
+
"privacy": "private",
|
|
3146
|
+
"inheritedFrom": {
|
|
3147
|
+
"name": "Accordion",
|
|
3148
|
+
"module": "src/accordion/accordion.ts"
|
|
3149
|
+
}
|
|
2913
3150
|
},
|
|
2914
3151
|
{
|
|
2915
3152
|
"kind": "field",
|
|
2916
|
-
"name": "
|
|
2917
|
-
"
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
3153
|
+
"name": "change",
|
|
3154
|
+
"privacy": "private",
|
|
3155
|
+
"inheritedFrom": {
|
|
3156
|
+
"name": "Accordion",
|
|
3157
|
+
"module": "src/accordion/accordion.ts"
|
|
3158
|
+
}
|
|
2921
3159
|
},
|
|
2922
3160
|
{
|
|
2923
|
-
"kind": "
|
|
2924
|
-
"name": "
|
|
2925
|
-
"
|
|
2926
|
-
|
|
3161
|
+
"kind": "method",
|
|
3162
|
+
"name": "findExpandedItem",
|
|
3163
|
+
"privacy": "private",
|
|
3164
|
+
"return": {
|
|
3165
|
+
"type": {
|
|
3166
|
+
"text": "AccordionItem | null"
|
|
3167
|
+
}
|
|
2927
3168
|
},
|
|
2928
|
-
"
|
|
3169
|
+
"inheritedFrom": {
|
|
3170
|
+
"name": "Accordion",
|
|
3171
|
+
"module": "src/accordion/accordion.ts"
|
|
3172
|
+
}
|
|
2929
3173
|
},
|
|
2930
3174
|
{
|
|
2931
3175
|
"kind": "field",
|
|
2932
|
-
"name": "
|
|
2933
|
-
"type": {
|
|
2934
|
-
"text": "(() => void) | null"
|
|
2935
|
-
},
|
|
3176
|
+
"name": "setItems",
|
|
2936
3177
|
"privacy": "private",
|
|
2937
|
-
"
|
|
3178
|
+
"inheritedFrom": {
|
|
3179
|
+
"name": "Accordion",
|
|
3180
|
+
"module": "src/accordion/accordion.ts"
|
|
3181
|
+
}
|
|
2938
3182
|
},
|
|
2939
3183
|
{
|
|
2940
|
-
"kind": "
|
|
2941
|
-
"name": "
|
|
2942
|
-
"type": {
|
|
2943
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2944
|
-
},
|
|
3184
|
+
"kind": "method",
|
|
3185
|
+
"name": "resetItems",
|
|
2945
3186
|
"privacy": "private",
|
|
2946
|
-
"
|
|
3187
|
+
"return": {
|
|
3188
|
+
"type": {
|
|
3189
|
+
"text": "void"
|
|
3190
|
+
}
|
|
3191
|
+
},
|
|
3192
|
+
"inheritedFrom": {
|
|
3193
|
+
"name": "Accordion",
|
|
3194
|
+
"module": "src/accordion/accordion.ts"
|
|
3195
|
+
}
|
|
2947
3196
|
},
|
|
2948
3197
|
{
|
|
2949
3198
|
"kind": "field",
|
|
2950
|
-
"name": "
|
|
2951
|
-
"
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
3199
|
+
"name": "removeItemListeners",
|
|
3200
|
+
"privacy": "private",
|
|
3201
|
+
"inheritedFrom": {
|
|
3202
|
+
"name": "Accordion",
|
|
3203
|
+
"module": "src/accordion/accordion.ts"
|
|
3204
|
+
}
|
|
2955
3205
|
},
|
|
2956
3206
|
{
|
|
2957
3207
|
"kind": "field",
|
|
2958
|
-
"name": "
|
|
2959
|
-
"
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
3208
|
+
"name": "activeItemChange",
|
|
3209
|
+
"privacy": "private",
|
|
3210
|
+
"inheritedFrom": {
|
|
3211
|
+
"name": "Accordion",
|
|
3212
|
+
"module": "src/accordion/accordion.ts"
|
|
3213
|
+
}
|
|
2963
3214
|
},
|
|
2964
3215
|
{
|
|
2965
3216
|
"kind": "method",
|
|
2966
|
-
"name": "
|
|
3217
|
+
"name": "getItemIds",
|
|
2967
3218
|
"privacy": "private",
|
|
2968
3219
|
"return": {
|
|
2969
3220
|
"type": {
|
|
2970
|
-
"text": "string"
|
|
3221
|
+
"text": "Array<string | null>"
|
|
2971
3222
|
}
|
|
2972
3223
|
},
|
|
2973
|
-
"
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
"text": "string"
|
|
2978
|
-
}
|
|
2979
|
-
}
|
|
2980
|
-
]
|
|
3224
|
+
"inheritedFrom": {
|
|
3225
|
+
"name": "Accordion",
|
|
3226
|
+
"module": "src/accordion/accordion.ts"
|
|
3227
|
+
}
|
|
2981
3228
|
},
|
|
2982
3229
|
{
|
|
2983
3230
|
"kind": "method",
|
|
2984
|
-
"name": "
|
|
3231
|
+
"name": "isSingleExpandMode",
|
|
3232
|
+
"privacy": "private",
|
|
2985
3233
|
"return": {
|
|
2986
3234
|
"type": {
|
|
2987
|
-
"text": "
|
|
3235
|
+
"text": "boolean"
|
|
2988
3236
|
}
|
|
3237
|
+
},
|
|
3238
|
+
"inheritedFrom": {
|
|
3239
|
+
"name": "Accordion",
|
|
3240
|
+
"module": "src/accordion/accordion.ts"
|
|
3241
|
+
}
|
|
3242
|
+
},
|
|
3243
|
+
{
|
|
3244
|
+
"kind": "field",
|
|
3245
|
+
"name": "handleItemKeyDown",
|
|
3246
|
+
"privacy": "private",
|
|
3247
|
+
"inheritedFrom": {
|
|
3248
|
+
"name": "Accordion",
|
|
3249
|
+
"module": "src/accordion/accordion.ts"
|
|
3250
|
+
}
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"kind": "field",
|
|
3254
|
+
"name": "handleItemFocus",
|
|
3255
|
+
"privacy": "private",
|
|
3256
|
+
"inheritedFrom": {
|
|
3257
|
+
"name": "Accordion",
|
|
3258
|
+
"module": "src/accordion/accordion.ts"
|
|
2989
3259
|
}
|
|
2990
3260
|
},
|
|
2991
3261
|
{
|
|
2992
3262
|
"kind": "method",
|
|
2993
|
-
"name": "
|
|
3263
|
+
"name": "adjust",
|
|
3264
|
+
"privacy": "private",
|
|
2994
3265
|
"return": {
|
|
2995
3266
|
"type": {
|
|
2996
3267
|
"text": "void"
|
|
@@ -2998,49 +3269,31 @@
|
|
|
2998
3269
|
},
|
|
2999
3270
|
"parameters": [
|
|
3000
3271
|
{
|
|
3001
|
-
"name": "
|
|
3002
|
-
"type": {
|
|
3003
|
-
"text": "number"
|
|
3004
|
-
}
|
|
3005
|
-
},
|
|
3006
|
-
{
|
|
3007
|
-
"name": "clauseIndex",
|
|
3272
|
+
"name": "adjustment",
|
|
3008
3273
|
"type": {
|
|
3009
3274
|
"text": "number"
|
|
3010
3275
|
}
|
|
3011
3276
|
}
|
|
3012
|
-
]
|
|
3277
|
+
],
|
|
3278
|
+
"inheritedFrom": {
|
|
3279
|
+
"name": "Accordion",
|
|
3280
|
+
"module": "src/accordion/accordion.ts"
|
|
3281
|
+
}
|
|
3013
3282
|
},
|
|
3014
3283
|
{
|
|
3015
3284
|
"kind": "method",
|
|
3016
|
-
"name": "
|
|
3285
|
+
"name": "focusItem",
|
|
3286
|
+
"privacy": "private",
|
|
3017
3287
|
"return": {
|
|
3018
3288
|
"type": {
|
|
3019
3289
|
"text": "void"
|
|
3020
3290
|
}
|
|
3291
|
+
},
|
|
3292
|
+
"inheritedFrom": {
|
|
3293
|
+
"name": "Accordion",
|
|
3294
|
+
"module": "src/accordion/accordion.ts"
|
|
3021
3295
|
}
|
|
3022
3296
|
},
|
|
3023
|
-
{
|
|
3024
|
-
"kind": "method",
|
|
3025
|
-
"name": "handleSubmit"
|
|
3026
|
-
},
|
|
3027
|
-
{
|
|
3028
|
-
"kind": "method",
|
|
3029
|
-
"name": "handleBlur"
|
|
3030
|
-
},
|
|
3031
|
-
{
|
|
3032
|
-
"kind": "method",
|
|
3033
|
-
"name": "clear"
|
|
3034
|
-
},
|
|
3035
|
-
{
|
|
3036
|
-
"kind": "method",
|
|
3037
|
-
"name": "toggleSpeechInput"
|
|
3038
|
-
},
|
|
3039
|
-
{
|
|
3040
|
-
"kind": "method",
|
|
3041
|
-
"name": "clearSpeechApplyDebounce",
|
|
3042
|
-
"privacy": "private"
|
|
3043
|
-
},
|
|
3044
3297
|
{
|
|
3045
3298
|
"kind": "field",
|
|
3046
3299
|
"name": "_presentation",
|
|
@@ -3155,48 +3408,26 @@
|
|
|
3155
3408
|
],
|
|
3156
3409
|
"events": [
|
|
3157
3410
|
{
|
|
3158
|
-
"description": "
|
|
3159
|
-
"name": "
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
}
|
|
3165
|
-
],
|
|
3166
|
-
"attributes": [
|
|
3167
|
-
{
|
|
3168
|
-
"name": "placeholder",
|
|
3169
|
-
"type": {
|
|
3170
|
-
"text": "string"
|
|
3171
|
-
},
|
|
3172
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3173
|
-
"fieldName": "placeholder"
|
|
3174
|
-
},
|
|
3175
|
-
{
|
|
3176
|
-
"type": {
|
|
3177
|
-
"text": "boolean"
|
|
3178
|
-
},
|
|
3179
|
-
"fieldName": "disabled"
|
|
3411
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3412
|
+
"name": "change",
|
|
3413
|
+
"inheritedFrom": {
|
|
3414
|
+
"name": "Accordion",
|
|
3415
|
+
"module": "src/accordion/accordion.ts"
|
|
3416
|
+
}
|
|
3180
3417
|
}
|
|
3181
|
-
]
|
|
3182
|
-
"superclass": {
|
|
3183
|
-
"name": "FoundationElement",
|
|
3184
|
-
"package": "@microsoft/fast-foundation"
|
|
3185
|
-
},
|
|
3186
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3187
|
-
"customElement": true
|
|
3418
|
+
]
|
|
3188
3419
|
},
|
|
3189
3420
|
{
|
|
3190
3421
|
"kind": "variable",
|
|
3191
|
-
"name": "
|
|
3422
|
+
"name": "foundationAccordionShadowOptions",
|
|
3192
3423
|
"type": {
|
|
3193
3424
|
"text": "ShadowRootInit"
|
|
3194
3425
|
},
|
|
3195
|
-
"default": "
|
|
3426
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3196
3427
|
},
|
|
3197
3428
|
{
|
|
3198
3429
|
"kind": "variable",
|
|
3199
|
-
"name": "
|
|
3430
|
+
"name": "defaultAccordionConfig",
|
|
3200
3431
|
"type": {
|
|
3201
3432
|
"text": "object"
|
|
3202
3433
|
},
|
|
@@ -3204,103 +3435,57 @@
|
|
|
3204
3435
|
},
|
|
3205
3436
|
{
|
|
3206
3437
|
"kind": "variable",
|
|
3207
|
-
"name": "
|
|
3438
|
+
"name": "foundationAccordion",
|
|
3439
|
+
"description": "The Foundation Accordion",
|
|
3440
|
+
"privacy": "public"
|
|
3208
3441
|
}
|
|
3209
3442
|
],
|
|
3210
3443
|
"exports": [
|
|
3211
3444
|
{
|
|
3212
3445
|
"kind": "js",
|
|
3213
|
-
"name": "
|
|
3214
|
-
"declaration": {
|
|
3215
|
-
"name": "AiCriteriaSearch",
|
|
3216
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3217
|
-
}
|
|
3218
|
-
},
|
|
3219
|
-
{
|
|
3220
|
-
"kind": "js",
|
|
3221
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3222
|
-
"declaration": {
|
|
3223
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3224
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3225
|
-
}
|
|
3226
|
-
},
|
|
3227
|
-
{
|
|
3228
|
-
"kind": "js",
|
|
3229
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3230
|
-
"declaration": {
|
|
3231
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3232
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3233
|
-
}
|
|
3234
|
-
},
|
|
3235
|
-
{
|
|
3236
|
-
"kind": "js",
|
|
3237
|
-
"name": "foundationAiCriteriaSearch",
|
|
3238
|
-
"declaration": {
|
|
3239
|
-
"name": "foundationAiCriteriaSearch",
|
|
3240
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3241
|
-
}
|
|
3242
|
-
}
|
|
3243
|
-
]
|
|
3244
|
-
},
|
|
3245
|
-
{
|
|
3246
|
-
"kind": "javascript-module",
|
|
3247
|
-
"path": "src/ai-criteria-search/index.ts",
|
|
3248
|
-
"declarations": [],
|
|
3249
|
-
"exports": [
|
|
3250
|
-
{
|
|
3251
|
-
"kind": "js",
|
|
3252
|
-
"name": "AiCriteriaSearch",
|
|
3253
|
-
"declaration": {
|
|
3254
|
-
"name": "AiCriteriaSearch",
|
|
3255
|
-
"module": "./ai-criteria-search"
|
|
3256
|
-
}
|
|
3257
|
-
},
|
|
3258
|
-
{
|
|
3259
|
-
"kind": "js",
|
|
3260
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3261
|
-
"declaration": {
|
|
3262
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3263
|
-
"module": "./ai-criteria-search"
|
|
3264
|
-
}
|
|
3265
|
-
},
|
|
3266
|
-
{
|
|
3267
|
-
"kind": "js",
|
|
3268
|
-
"name": "foundationAiCriteriaSearch",
|
|
3446
|
+
"name": "Accordion",
|
|
3269
3447
|
"declaration": {
|
|
3270
|
-
"name": "
|
|
3271
|
-
"module": "
|
|
3448
|
+
"name": "Accordion",
|
|
3449
|
+
"module": "src/accordion/accordion.ts"
|
|
3272
3450
|
}
|
|
3273
3451
|
},
|
|
3274
3452
|
{
|
|
3275
3453
|
"kind": "js",
|
|
3276
|
-
"name": "
|
|
3454
|
+
"name": "foundationAccordionShadowOptions",
|
|
3277
3455
|
"declaration": {
|
|
3278
|
-
"name": "
|
|
3279
|
-
"module": "
|
|
3456
|
+
"name": "foundationAccordionShadowOptions",
|
|
3457
|
+
"module": "src/accordion/accordion.ts"
|
|
3280
3458
|
}
|
|
3281
3459
|
},
|
|
3282
3460
|
{
|
|
3283
3461
|
"kind": "js",
|
|
3284
|
-
"name": "
|
|
3462
|
+
"name": "defaultAccordionConfig",
|
|
3285
3463
|
"declaration": {
|
|
3286
|
-
"name": "
|
|
3287
|
-
"module": "
|
|
3464
|
+
"name": "defaultAccordionConfig",
|
|
3465
|
+
"module": "src/accordion/accordion.ts"
|
|
3288
3466
|
}
|
|
3289
3467
|
},
|
|
3290
3468
|
{
|
|
3291
3469
|
"kind": "js",
|
|
3292
|
-
"name": "
|
|
3470
|
+
"name": "foundationAccordion",
|
|
3293
3471
|
"declaration": {
|
|
3294
|
-
"name": "
|
|
3295
|
-
"module": "
|
|
3472
|
+
"name": "foundationAccordion",
|
|
3473
|
+
"module": "src/accordion/accordion.ts"
|
|
3296
3474
|
}
|
|
3297
|
-
}
|
|
3475
|
+
}
|
|
3476
|
+
]
|
|
3477
|
+
},
|
|
3478
|
+
{
|
|
3479
|
+
"kind": "javascript-module",
|
|
3480
|
+
"path": "src/accordion/index.ts",
|
|
3481
|
+
"declarations": [],
|
|
3482
|
+
"exports": [
|
|
3298
3483
|
{
|
|
3299
3484
|
"kind": "js",
|
|
3300
3485
|
"name": "*",
|
|
3301
3486
|
"declaration": {
|
|
3302
3487
|
"name": "*",
|
|
3303
|
-
"package": "./
|
|
3488
|
+
"package": "./accordion.template"
|
|
3304
3489
|
}
|
|
3305
3490
|
},
|
|
3306
3491
|
{
|
|
@@ -3308,7 +3493,7 @@
|
|
|
3308
3493
|
"name": "*",
|
|
3309
3494
|
"declaration": {
|
|
3310
3495
|
"name": "*",
|
|
3311
|
-
"package": "./
|
|
3496
|
+
"package": "./accordion.styles"
|
|
3312
3497
|
}
|
|
3313
3498
|
},
|
|
3314
3499
|
{
|
|
@@ -3316,116 +3501,18 @@
|
|
|
3316
3501
|
"name": "*",
|
|
3317
3502
|
"declaration": {
|
|
3318
3503
|
"name": "*",
|
|
3319
|
-
"package": "./
|
|
3320
|
-
}
|
|
3321
|
-
}
|
|
3322
|
-
]
|
|
3323
|
-
},
|
|
3324
|
-
{
|
|
3325
|
-
"kind": "javascript-module",
|
|
3326
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3327
|
-
"declarations": [
|
|
3328
|
-
{
|
|
3329
|
-
"kind": "function",
|
|
3330
|
-
"name": "formatValidationErrors",
|
|
3331
|
-
"return": {
|
|
3332
|
-
"type": {
|
|
3333
|
-
"text": "string"
|
|
3334
|
-
}
|
|
3335
|
-
},
|
|
3336
|
-
"parameters": [
|
|
3337
|
-
{
|
|
3338
|
-
"name": "errors",
|
|
3339
|
-
"type": {
|
|
3340
|
-
"text": "ValidationError[]"
|
|
3341
|
-
}
|
|
3342
|
-
}
|
|
3343
|
-
],
|
|
3344
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3345
|
-
},
|
|
3346
|
-
{
|
|
3347
|
-
"kind": "function",
|
|
3348
|
-
"name": "showCriteriaError",
|
|
3349
|
-
"return": {
|
|
3350
|
-
"type": {
|
|
3351
|
-
"text": "void"
|
|
3352
|
-
}
|
|
3353
|
-
},
|
|
3354
|
-
"parameters": [
|
|
3355
|
-
{
|
|
3356
|
-
"name": "title",
|
|
3357
|
-
"type": {
|
|
3358
|
-
"text": "string"
|
|
3359
|
-
},
|
|
3360
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3361
|
-
},
|
|
3362
|
-
{
|
|
3363
|
-
"name": "body",
|
|
3364
|
-
"type": {
|
|
3365
|
-
"text": "string"
|
|
3366
|
-
},
|
|
3367
|
-
"description": "Error message to display"
|
|
3368
|
-
},
|
|
3369
|
-
{
|
|
3370
|
-
"name": "tagName",
|
|
3371
|
-
"type": {
|
|
3372
|
-
"text": "string"
|
|
3373
|
-
},
|
|
3374
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3375
|
-
}
|
|
3376
|
-
],
|
|
3377
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3378
|
-
}
|
|
3379
|
-
],
|
|
3380
|
-
"exports": [
|
|
3381
|
-
{
|
|
3382
|
-
"kind": "js",
|
|
3383
|
-
"name": "formatValidationErrors",
|
|
3384
|
-
"declaration": {
|
|
3385
|
-
"name": "formatValidationErrors",
|
|
3386
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3387
|
-
}
|
|
3388
|
-
},
|
|
3389
|
-
{
|
|
3390
|
-
"kind": "js",
|
|
3391
|
-
"name": "showCriteriaError",
|
|
3392
|
-
"declaration": {
|
|
3393
|
-
"name": "showCriteriaError",
|
|
3394
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3504
|
+
"package": "./accordion"
|
|
3395
3505
|
}
|
|
3396
3506
|
}
|
|
3397
3507
|
]
|
|
3398
3508
|
},
|
|
3399
3509
|
{
|
|
3400
3510
|
"kind": "javascript-module",
|
|
3401
|
-
"path": "src/
|
|
3511
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3402
3512
|
"declarations": [
|
|
3403
3513
|
{
|
|
3404
3514
|
"kind": "function",
|
|
3405
|
-
"name": "
|
|
3406
|
-
"return": {
|
|
3407
|
-
"type": {
|
|
3408
|
-
"text": "ElementStyles"
|
|
3409
|
-
}
|
|
3410
|
-
},
|
|
3411
|
-
"parameters": [
|
|
3412
|
-
{
|
|
3413
|
-
"name": "context",
|
|
3414
|
-
"type": {
|
|
3415
|
-
"text": "ElementDefinitionContext"
|
|
3416
|
-
}
|
|
3417
|
-
},
|
|
3418
|
-
{
|
|
3419
|
-
"name": "definition",
|
|
3420
|
-
"type": {
|
|
3421
|
-
"text": "FoundationElementDefinition"
|
|
3422
|
-
}
|
|
3423
|
-
}
|
|
3424
|
-
]
|
|
3425
|
-
},
|
|
3426
|
-
{
|
|
3427
|
-
"kind": "function",
|
|
3428
|
-
"name": "foundationActionsMenuStyles",
|
|
3515
|
+
"name": "foundationAiIndicatorStyles",
|
|
3429
3516
|
"return": {
|
|
3430
3517
|
"type": {
|
|
3431
3518
|
"text": "ElementStyles"
|
|
@@ -3450,151 +3537,91 @@
|
|
|
3450
3537
|
"exports": [
|
|
3451
3538
|
{
|
|
3452
3539
|
"kind": "js",
|
|
3453
|
-
"name": "
|
|
3454
|
-
"declaration": {
|
|
3455
|
-
"name": "actionsMenuBaseStyles",
|
|
3456
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3457
|
-
}
|
|
3458
|
-
},
|
|
3459
|
-
{
|
|
3460
|
-
"kind": "js",
|
|
3461
|
-
"name": "foundationActionsMenuStyles",
|
|
3540
|
+
"name": "foundationAiIndicatorStyles",
|
|
3462
3541
|
"declaration": {
|
|
3463
|
-
"name": "
|
|
3464
|
-
"module": "src/
|
|
3542
|
+
"name": "foundationAiIndicatorStyles",
|
|
3543
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3465
3544
|
}
|
|
3466
3545
|
}
|
|
3467
3546
|
]
|
|
3468
3547
|
},
|
|
3469
3548
|
{
|
|
3470
3549
|
"kind": "javascript-module",
|
|
3471
|
-
"path": "src/
|
|
3550
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3472
3551
|
"declarations": [
|
|
3473
|
-
{
|
|
3474
|
-
"kind": "function",
|
|
3475
|
-
"name": "menuTemplate",
|
|
3476
|
-
"parameters": [
|
|
3477
|
-
{
|
|
3478
|
-
"name": "prefix",
|
|
3479
|
-
"type": {
|
|
3480
|
-
"text": "string"
|
|
3481
|
-
}
|
|
3482
|
-
}
|
|
3483
|
-
]
|
|
3484
|
-
},
|
|
3485
|
-
{
|
|
3486
|
-
"kind": "function",
|
|
3487
|
-
"name": "singleOptionTemplate",
|
|
3488
|
-
"parameters": [
|
|
3489
|
-
{
|
|
3490
|
-
"name": "prefix",
|
|
3491
|
-
"type": {
|
|
3492
|
-
"text": "string"
|
|
3493
|
-
}
|
|
3494
|
-
}
|
|
3495
|
-
]
|
|
3496
|
-
},
|
|
3497
3552
|
{
|
|
3498
3553
|
"kind": "variable",
|
|
3499
|
-
"name": "
|
|
3554
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3500
3555
|
"type": {
|
|
3501
|
-
"text": "ViewTemplate<
|
|
3556
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3502
3557
|
},
|
|
3503
|
-
"default": "html`\n
|
|
3558
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3504
3559
|
}
|
|
3505
3560
|
],
|
|
3506
3561
|
"exports": [
|
|
3507
3562
|
{
|
|
3508
3563
|
"kind": "js",
|
|
3509
|
-
"name": "
|
|
3510
|
-
"declaration": {
|
|
3511
|
-
"name": "menuTemplate",
|
|
3512
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3513
|
-
}
|
|
3514
|
-
},
|
|
3515
|
-
{
|
|
3516
|
-
"kind": "js",
|
|
3517
|
-
"name": "singleOptionTemplate",
|
|
3518
|
-
"declaration": {
|
|
3519
|
-
"name": "singleOptionTemplate",
|
|
3520
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3521
|
-
}
|
|
3522
|
-
},
|
|
3523
|
-
{
|
|
3524
|
-
"kind": "js",
|
|
3525
|
-
"name": "foundationActionsMenuTemplate",
|
|
3564
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3526
3565
|
"declaration": {
|
|
3527
|
-
"name": "
|
|
3528
|
-
"module": "src/
|
|
3566
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3567
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3529
3568
|
}
|
|
3530
3569
|
}
|
|
3531
3570
|
]
|
|
3532
3571
|
},
|
|
3533
3572
|
{
|
|
3534
3573
|
"kind": "javascript-module",
|
|
3535
|
-
"path": "src/
|
|
3574
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3536
3575
|
"declarations": [
|
|
3537
3576
|
{
|
|
3538
3577
|
"kind": "class",
|
|
3539
3578
|
"description": "",
|
|
3540
|
-
"name": "
|
|
3579
|
+
"name": "AiIndicator",
|
|
3541
3580
|
"members": [
|
|
3542
3581
|
{
|
|
3543
3582
|
"kind": "field",
|
|
3544
|
-
"name": "
|
|
3583
|
+
"name": "providerRegistry",
|
|
3545
3584
|
"type": {
|
|
3546
|
-
"text": "
|
|
3585
|
+
"text": "AIProviderRegistry"
|
|
3547
3586
|
}
|
|
3548
3587
|
},
|
|
3549
3588
|
{
|
|
3550
3589
|
"kind": "field",
|
|
3551
|
-
"name": "
|
|
3590
|
+
"name": "aiProvider",
|
|
3552
3591
|
"type": {
|
|
3553
|
-
"text": "
|
|
3592
|
+
"text": "AIProvider | undefined"
|
|
3554
3593
|
},
|
|
3555
|
-
"
|
|
3594
|
+
"privacy": "private",
|
|
3595
|
+
"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.",
|
|
3596
|
+
"readonly": true
|
|
3556
3597
|
},
|
|
3557
3598
|
{
|
|
3558
3599
|
"kind": "field",
|
|
3559
|
-
"name": "
|
|
3600
|
+
"name": "status",
|
|
3560
3601
|
"type": {
|
|
3561
|
-
"text": "
|
|
3602
|
+
"text": "AIStatus | null"
|
|
3562
3603
|
},
|
|
3563
|
-
"default": "
|
|
3604
|
+
"default": "null"
|
|
3564
3605
|
},
|
|
3565
3606
|
{
|
|
3566
3607
|
"kind": "field",
|
|
3567
|
-
"name": "
|
|
3608
|
+
"name": "open",
|
|
3568
3609
|
"type": {
|
|
3569
3610
|
"text": "boolean"
|
|
3570
3611
|
},
|
|
3571
|
-
"default": "
|
|
3572
|
-
},
|
|
3573
|
-
{
|
|
3574
|
-
"kind": "field",
|
|
3575
|
-
"name": "classNames",
|
|
3576
|
-
"type": {
|
|
3577
|
-
"text": "string"
|
|
3578
|
-
}
|
|
3579
|
-
},
|
|
3580
|
-
{
|
|
3581
|
-
"kind": "field",
|
|
3582
|
-
"name": "definition",
|
|
3583
|
-
"type": {
|
|
3584
|
-
"text": "any"
|
|
3585
|
-
}
|
|
3612
|
+
"default": "false"
|
|
3586
3613
|
},
|
|
3587
3614
|
{
|
|
3588
3615
|
"kind": "field",
|
|
3589
|
-
"name": "
|
|
3616
|
+
"name": "state",
|
|
3590
3617
|
"type": {
|
|
3591
|
-
"text": "
|
|
3618
|
+
"text": "AIIndicatorState"
|
|
3592
3619
|
},
|
|
3593
|
-
"default": "'
|
|
3620
|
+
"default": "'none'"
|
|
3594
3621
|
},
|
|
3595
3622
|
{
|
|
3596
3623
|
"kind": "field",
|
|
3597
|
-
"name": "
|
|
3624
|
+
"name": "isInstalling",
|
|
3598
3625
|
"type": {
|
|
3599
3626
|
"text": "boolean"
|
|
3600
3627
|
},
|
|
@@ -3602,117 +3629,133 @@
|
|
|
3602
3629
|
},
|
|
3603
3630
|
{
|
|
3604
3631
|
"kind": "field",
|
|
3605
|
-
"name": "
|
|
3632
|
+
"name": "pollTimer",
|
|
3606
3633
|
"type": {
|
|
3607
|
-
"text": "
|
|
3608
|
-
}
|
|
3634
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3635
|
+
},
|
|
3636
|
+
"privacy": "private",
|
|
3637
|
+
"default": "null"
|
|
3609
3638
|
},
|
|
3610
3639
|
{
|
|
3611
3640
|
"kind": "field",
|
|
3612
|
-
"name": "
|
|
3641
|
+
"name": "clickOutside",
|
|
3642
|
+
"privacy": "private"
|
|
3643
|
+
},
|
|
3644
|
+
{
|
|
3645
|
+
"kind": "field",
|
|
3646
|
+
"name": "chromeStatusLabel",
|
|
3613
3647
|
"type": {
|
|
3614
|
-
"text": "
|
|
3648
|
+
"text": "string | null"
|
|
3615
3649
|
},
|
|
3616
|
-
"
|
|
3650
|
+
"readonly": true
|
|
3617
3651
|
},
|
|
3618
3652
|
{
|
|
3619
3653
|
"kind": "field",
|
|
3620
|
-
"name": "
|
|
3654
|
+
"name": "canInstall",
|
|
3621
3655
|
"type": {
|
|
3622
3656
|
"text": "boolean"
|
|
3623
3657
|
},
|
|
3624
|
-
"
|
|
3658
|
+
"readonly": true
|
|
3625
3659
|
},
|
|
3626
3660
|
{
|
|
3627
3661
|
"kind": "field",
|
|
3628
|
-
"name": "
|
|
3662
|
+
"name": "isDownloading",
|
|
3629
3663
|
"type": {
|
|
3630
|
-
"text": "
|
|
3631
|
-
}
|
|
3664
|
+
"text": "boolean"
|
|
3665
|
+
},
|
|
3666
|
+
"readonly": true
|
|
3632
3667
|
},
|
|
3633
3668
|
{
|
|
3634
|
-
"kind": "
|
|
3635
|
-
"name": "
|
|
3636
|
-
"
|
|
3637
|
-
"
|
|
3669
|
+
"kind": "method",
|
|
3670
|
+
"name": "openChanged",
|
|
3671
|
+
"return": {
|
|
3672
|
+
"type": {
|
|
3673
|
+
"text": "void"
|
|
3674
|
+
}
|
|
3638
3675
|
}
|
|
3639
3676
|
},
|
|
3640
3677
|
{
|
|
3641
3678
|
"kind": "method",
|
|
3642
|
-
"name": "
|
|
3643
|
-
"privacy": "
|
|
3679
|
+
"name": "handleClickOutside",
|
|
3680
|
+
"privacy": "private",
|
|
3644
3681
|
"parameters": [
|
|
3645
3682
|
{
|
|
3646
|
-
"name": "
|
|
3647
|
-
"type": {
|
|
3648
|
-
"text": "any"
|
|
3649
|
-
}
|
|
3650
|
-
},
|
|
3651
|
-
{
|
|
3652
|
-
"name": "newValue",
|
|
3683
|
+
"name": "event",
|
|
3653
3684
|
"type": {
|
|
3654
|
-
"text": "
|
|
3685
|
+
"text": "MouseEvent"
|
|
3655
3686
|
}
|
|
3656
3687
|
}
|
|
3657
3688
|
]
|
|
3658
3689
|
},
|
|
3659
3690
|
{
|
|
3660
3691
|
"kind": "method",
|
|
3661
|
-
"name": "
|
|
3662
|
-
"privacy": "protected"
|
|
3692
|
+
"name": "toggleDropdown"
|
|
3663
3693
|
},
|
|
3664
3694
|
{
|
|
3665
3695
|
"kind": "method",
|
|
3666
|
-
"name": "
|
|
3696
|
+
"name": "refreshStatus",
|
|
3697
|
+
"return": {
|
|
3698
|
+
"type": {
|
|
3699
|
+
"text": "Promise<void>"
|
|
3700
|
+
}
|
|
3701
|
+
}
|
|
3667
3702
|
},
|
|
3668
3703
|
{
|
|
3669
3704
|
"kind": "method",
|
|
3670
|
-
"name": "
|
|
3705
|
+
"name": "deriveState",
|
|
3706
|
+
"privacy": "private",
|
|
3707
|
+
"return": {
|
|
3708
|
+
"type": {
|
|
3709
|
+
"text": "AIIndicatorState"
|
|
3710
|
+
}
|
|
3711
|
+
},
|
|
3671
3712
|
"parameters": [
|
|
3672
3713
|
{
|
|
3673
|
-
"name": "
|
|
3714
|
+
"name": "s",
|
|
3674
3715
|
"type": {
|
|
3675
|
-
"text": "
|
|
3716
|
+
"text": "AIStatus | null"
|
|
3676
3717
|
}
|
|
3677
3718
|
}
|
|
3678
3719
|
]
|
|
3679
3720
|
},
|
|
3680
3721
|
{
|
|
3681
|
-
"kind": "
|
|
3682
|
-
"name": "
|
|
3683
|
-
"
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3722
|
+
"kind": "method",
|
|
3723
|
+
"name": "maybeStartPolling",
|
|
3724
|
+
"privacy": "private",
|
|
3725
|
+
"return": {
|
|
3726
|
+
"type": {
|
|
3727
|
+
"text": "void"
|
|
3728
|
+
}
|
|
3729
|
+
}
|
|
3687
3730
|
},
|
|
3688
3731
|
{
|
|
3689
|
-
"kind": "
|
|
3690
|
-
"name": "
|
|
3691
|
-
"
|
|
3732
|
+
"kind": "method",
|
|
3733
|
+
"name": "startPolling",
|
|
3734
|
+
"privacy": "private",
|
|
3735
|
+
"return": {
|
|
3736
|
+
"type": {
|
|
3737
|
+
"text": "void"
|
|
3738
|
+
}
|
|
3739
|
+
}
|
|
3692
3740
|
},
|
|
3693
3741
|
{
|
|
3694
3742
|
"kind": "method",
|
|
3695
|
-
"name": "
|
|
3696
|
-
"
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
"
|
|
3700
|
-
"text": "string | ((rowData: any) => string)"
|
|
3701
|
-
}
|
|
3743
|
+
"name": "stopPolling",
|
|
3744
|
+
"privacy": "private",
|
|
3745
|
+
"return": {
|
|
3746
|
+
"type": {
|
|
3747
|
+
"text": "void"
|
|
3702
3748
|
}
|
|
3703
|
-
|
|
3749
|
+
}
|
|
3704
3750
|
},
|
|
3705
3751
|
{
|
|
3706
3752
|
"kind": "method",
|
|
3707
|
-
"name": "
|
|
3708
|
-
"
|
|
3709
|
-
{
|
|
3710
|
-
"
|
|
3711
|
-
"type": {
|
|
3712
|
-
"text": "string"
|
|
3713
|
-
}
|
|
3753
|
+
"name": "onInstall",
|
|
3754
|
+
"return": {
|
|
3755
|
+
"type": {
|
|
3756
|
+
"text": "Promise<void>"
|
|
3714
3757
|
}
|
|
3715
|
-
|
|
3758
|
+
}
|
|
3716
3759
|
},
|
|
3717
3760
|
{
|
|
3718
3761
|
"kind": "field",
|
|
@@ -3826,131 +3869,88 @@
|
|
|
3826
3869
|
}
|
|
3827
3870
|
}
|
|
3828
3871
|
],
|
|
3829
|
-
"attributes": [
|
|
3830
|
-
{
|
|
3831
|
-
"name": "is-vertical",
|
|
3832
|
-
"type": {
|
|
3833
|
-
"text": "boolean"
|
|
3834
|
-
},
|
|
3835
|
-
"default": "false",
|
|
3836
|
-
"fieldName": "isVertical"
|
|
3837
|
-
},
|
|
3838
|
-
{
|
|
3839
|
-
"name": "add-default-actions",
|
|
3840
|
-
"type": {
|
|
3841
|
-
"text": "boolean"
|
|
3842
|
-
},
|
|
3843
|
-
"default": "true",
|
|
3844
|
-
"fieldName": "addDefaultActions"
|
|
3845
|
-
},
|
|
3846
|
-
{
|
|
3847
|
-
"name": "auto-close-on-action",
|
|
3848
|
-
"type": {
|
|
3849
|
-
"text": "boolean"
|
|
3850
|
-
},
|
|
3851
|
-
"default": "true",
|
|
3852
|
-
"fieldName": "autoCloseOnAction"
|
|
3853
|
-
},
|
|
3854
|
-
{
|
|
3855
|
-
"name": "name",
|
|
3856
|
-
"type": {
|
|
3857
|
-
"text": "string"
|
|
3858
|
-
},
|
|
3859
|
-
"default": "'Actions'",
|
|
3860
|
-
"fieldName": "name"
|
|
3861
|
-
},
|
|
3862
|
-
{
|
|
3863
|
-
"name": "open",
|
|
3864
|
-
"type": {
|
|
3865
|
-
"text": "boolean"
|
|
3866
|
-
},
|
|
3867
|
-
"default": "false",
|
|
3868
|
-
"fieldName": "open"
|
|
3869
|
-
},
|
|
3870
|
-
{
|
|
3871
|
-
"name": "buttonAppearance",
|
|
3872
|
-
"type": {
|
|
3873
|
-
"text": "string"
|
|
3874
|
-
},
|
|
3875
|
-
"fieldName": "buttonAppearance"
|
|
3876
|
-
},
|
|
3877
|
-
{
|
|
3878
|
-
"name": "hide-disabled",
|
|
3879
|
-
"type": {
|
|
3880
|
-
"text": "boolean"
|
|
3881
|
-
},
|
|
3882
|
-
"default": "false",
|
|
3883
|
-
"fieldName": "hideDisabled"
|
|
3884
|
-
},
|
|
3885
|
-
{
|
|
3886
|
-
"name": "hide-menu-single-option",
|
|
3887
|
-
"type": {
|
|
3888
|
-
"text": "boolean"
|
|
3889
|
-
},
|
|
3890
|
-
"default": "false",
|
|
3891
|
-
"fieldName": "hideMenuSingleOption"
|
|
3892
|
-
}
|
|
3893
|
-
],
|
|
3894
3872
|
"superclass": {
|
|
3895
3873
|
"name": "FoundationElement",
|
|
3896
3874
|
"package": "@microsoft/fast-foundation"
|
|
3897
3875
|
},
|
|
3898
|
-
"tagName": "%%prefix%%-
|
|
3876
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3899
3877
|
"customElement": true
|
|
3900
3878
|
},
|
|
3901
3879
|
{
|
|
3902
3880
|
"kind": "variable",
|
|
3903
|
-
"name": "
|
|
3904
|
-
"description": "The Foundation Actions Menu",
|
|
3905
|
-
"privacy": "public"
|
|
3881
|
+
"name": "foundationAiIndicator"
|
|
3906
3882
|
}
|
|
3907
3883
|
],
|
|
3908
3884
|
"exports": [
|
|
3909
3885
|
{
|
|
3910
3886
|
"kind": "js",
|
|
3911
|
-
"name": "
|
|
3887
|
+
"name": "AiIndicator",
|
|
3912
3888
|
"declaration": {
|
|
3913
|
-
"name": "
|
|
3914
|
-
"module": "src/
|
|
3889
|
+
"name": "AiIndicator",
|
|
3890
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3915
3891
|
}
|
|
3916
3892
|
},
|
|
3917
3893
|
{
|
|
3918
3894
|
"kind": "js",
|
|
3919
|
-
"name": "
|
|
3895
|
+
"name": "foundationAiIndicator",
|
|
3920
3896
|
"declaration": {
|
|
3921
|
-
"name": "
|
|
3922
|
-
"module": "src/
|
|
3897
|
+
"name": "foundationAiIndicator",
|
|
3898
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3923
3899
|
}
|
|
3924
3900
|
}
|
|
3925
3901
|
]
|
|
3926
3902
|
},
|
|
3927
3903
|
{
|
|
3928
3904
|
"kind": "javascript-module",
|
|
3929
|
-
"path": "src/
|
|
3905
|
+
"path": "src/ai-indicator/index.ts",
|
|
3930
3906
|
"declarations": [],
|
|
3931
3907
|
"exports": [
|
|
3932
3908
|
{
|
|
3933
3909
|
"kind": "js",
|
|
3934
|
-
"name": "
|
|
3910
|
+
"name": "AiIndicator",
|
|
3935
3911
|
"declaration": {
|
|
3936
|
-
"name": "
|
|
3937
|
-
"
|
|
3912
|
+
"name": "AiIndicator",
|
|
3913
|
+
"module": "./ai-indicator"
|
|
3938
3914
|
}
|
|
3939
3915
|
},
|
|
3940
3916
|
{
|
|
3941
3917
|
"kind": "js",
|
|
3942
|
-
"name": "
|
|
3918
|
+
"name": "foundationAiIndicator",
|
|
3943
3919
|
"declaration": {
|
|
3944
|
-
"name": "
|
|
3945
|
-
"
|
|
3920
|
+
"name": "foundationAiIndicator",
|
|
3921
|
+
"module": "./ai-indicator"
|
|
3946
3922
|
}
|
|
3947
3923
|
},
|
|
3948
3924
|
{
|
|
3949
3925
|
"kind": "js",
|
|
3950
|
-
"name": "
|
|
3926
|
+
"name": "type",
|
|
3951
3927
|
"declaration": {
|
|
3952
|
-
"name": "
|
|
3953
|
-
"
|
|
3928
|
+
"name": "type",
|
|
3929
|
+
"module": "./ai-indicator"
|
|
3930
|
+
}
|
|
3931
|
+
},
|
|
3932
|
+
{
|
|
3933
|
+
"kind": "js",
|
|
3934
|
+
"name": "AIIndicatorState",
|
|
3935
|
+
"declaration": {
|
|
3936
|
+
"name": "AIIndicatorState",
|
|
3937
|
+
"module": "./ai-indicator"
|
|
3938
|
+
}
|
|
3939
|
+
},
|
|
3940
|
+
{
|
|
3941
|
+
"kind": "js",
|
|
3942
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3943
|
+
"declaration": {
|
|
3944
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3945
|
+
"module": "./ai-indicator.template"
|
|
3946
|
+
}
|
|
3947
|
+
},
|
|
3948
|
+
{
|
|
3949
|
+
"kind": "js",
|
|
3950
|
+
"name": "foundationAiIndicatorStyles",
|
|
3951
|
+
"declaration": {
|
|
3952
|
+
"name": "foundationAiIndicatorStyles",
|
|
3953
|
+
"module": "./ai-indicator.styles"
|
|
3954
3954
|
}
|
|
3955
3955
|
}
|
|
3956
3956
|
]
|