@genesislcap/foundation-ui 15.15.1 → 15.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1094 -1094
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -958,44 +958,66 @@
|
|
|
958
958
|
},
|
|
959
959
|
{
|
|
960
960
|
"kind": "javascript-module",
|
|
961
|
-
"path": "src/
|
|
961
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
962
962
|
"declarations": [
|
|
963
963
|
{
|
|
964
|
-
"kind": "
|
|
965
|
-
"
|
|
966
|
-
"
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
"text": "string"
|
|
973
|
-
},
|
|
974
|
-
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
975
|
-
},
|
|
964
|
+
"kind": "function",
|
|
965
|
+
"name": "foundationAccordionItemStyles",
|
|
966
|
+
"return": {
|
|
967
|
+
"type": {
|
|
968
|
+
"text": "ElementStyles"
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
"parameters": [
|
|
976
972
|
{
|
|
977
|
-
"
|
|
978
|
-
"name": "suffix",
|
|
973
|
+
"name": "context",
|
|
979
974
|
"type": {
|
|
980
|
-
"text": "
|
|
981
|
-
}
|
|
982
|
-
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
975
|
+
"text": "ElementDefinitionContext"
|
|
976
|
+
}
|
|
983
977
|
},
|
|
984
978
|
{
|
|
985
|
-
"
|
|
986
|
-
"name": "hideAffixFromScreenReader",
|
|
979
|
+
"name": "definition",
|
|
987
980
|
"type": {
|
|
988
|
-
"text": "
|
|
989
|
-
}
|
|
990
|
-
"default": "false",
|
|
991
|
-
"description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
|
|
981
|
+
"text": "FoundationElementDefinition"
|
|
982
|
+
}
|
|
992
983
|
}
|
|
993
|
-
]
|
|
984
|
+
]
|
|
985
|
+
}
|
|
986
|
+
],
|
|
987
|
+
"exports": [
|
|
988
|
+
{
|
|
989
|
+
"kind": "js",
|
|
990
|
+
"name": "foundationAccordionItemStyles",
|
|
991
|
+
"declaration": {
|
|
992
|
+
"name": "foundationAccordionItemStyles",
|
|
993
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
]
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"kind": "javascript-module",
|
|
1000
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1001
|
+
"declarations": [
|
|
1002
|
+
{
|
|
1003
|
+
"kind": "function",
|
|
1004
|
+
"name": "foundationAccordionItemTemplate",
|
|
1005
|
+
"return": {
|
|
1006
|
+
"type": {
|
|
1007
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
994
1010
|
"parameters": [
|
|
995
1011
|
{
|
|
996
|
-
"name": "
|
|
1012
|
+
"name": "context",
|
|
997
1013
|
"type": {
|
|
998
|
-
"text": "
|
|
1014
|
+
"text": "ElementDefinitionContext"
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "definition",
|
|
1019
|
+
"type": {
|
|
1020
|
+
"text": "FoundationElementDefinition"
|
|
999
1021
|
}
|
|
1000
1022
|
}
|
|
1001
1023
|
]
|
|
@@ -1004,169 +1026,117 @@
|
|
|
1004
1026
|
"exports": [
|
|
1005
1027
|
{
|
|
1006
1028
|
"kind": "js",
|
|
1007
|
-
"name": "
|
|
1029
|
+
"name": "foundationAccordionItemTemplate",
|
|
1008
1030
|
"declaration": {
|
|
1009
|
-
"name": "
|
|
1010
|
-
"module": "src/
|
|
1031
|
+
"name": "foundationAccordionItemTemplate",
|
|
1032
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1011
1033
|
}
|
|
1012
1034
|
}
|
|
1013
1035
|
]
|
|
1014
1036
|
},
|
|
1015
1037
|
{
|
|
1016
1038
|
"kind": "javascript-module",
|
|
1017
|
-
"path": "src/
|
|
1039
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1018
1040
|
"declarations": [
|
|
1019
1041
|
{
|
|
1020
1042
|
"kind": "class",
|
|
1021
|
-
"description": "
|
|
1022
|
-
"name": "
|
|
1023
|
-
"
|
|
1043
|
+
"description": "",
|
|
1044
|
+
"name": "AccordionItem",
|
|
1045
|
+
"superclass": {
|
|
1046
|
+
"name": "FASTAccordionItem",
|
|
1047
|
+
"package": "@microsoft/fast-components"
|
|
1048
|
+
},
|
|
1049
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1050
|
+
"customElement": true,
|
|
1051
|
+
"attributes": [
|
|
1024
1052
|
{
|
|
1025
|
-
"
|
|
1026
|
-
"name": "fileInput",
|
|
1053
|
+
"name": "heading-level",
|
|
1027
1054
|
"type": {
|
|
1028
|
-
"text": "
|
|
1055
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1029
1056
|
},
|
|
1030
|
-
"
|
|
1057
|
+
"default": "2",
|
|
1058
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1059
|
+
"fieldName": "headinglevel",
|
|
1060
|
+
"inheritedFrom": {
|
|
1061
|
+
"name": "AccordionItem",
|
|
1062
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1063
|
+
}
|
|
1031
1064
|
},
|
|
1032
1065
|
{
|
|
1033
|
-
"kind": "field",
|
|
1034
|
-
"name": "selectedFile",
|
|
1035
1066
|
"type": {
|
|
1036
|
-
"text": "
|
|
1067
|
+
"text": "boolean"
|
|
1037
1068
|
},
|
|
1038
|
-
"
|
|
1039
|
-
"
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
"type": {
|
|
1045
|
-
"text": "string"
|
|
1069
|
+
"default": "false",
|
|
1070
|
+
"description": "Expands or collapses the item.",
|
|
1071
|
+
"fieldName": "expanded",
|
|
1072
|
+
"inheritedFrom": {
|
|
1073
|
+
"name": "AccordionItem",
|
|
1074
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1046
1075
|
}
|
|
1047
1076
|
},
|
|
1048
1077
|
{
|
|
1049
|
-
"
|
|
1050
|
-
"name": "accept",
|
|
1078
|
+
"name": "id",
|
|
1051
1079
|
"type": {
|
|
1052
1080
|
"text": "string"
|
|
1053
1081
|
},
|
|
1054
|
-
"
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
"default": "10_485_760",
|
|
1060
|
-
"type": {
|
|
1061
|
-
"text": "number"
|
|
1082
|
+
"description": "The item ID",
|
|
1083
|
+
"fieldName": "id",
|
|
1084
|
+
"inheritedFrom": {
|
|
1085
|
+
"name": "AccordionItem",
|
|
1086
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1062
1087
|
}
|
|
1063
|
-
}
|
|
1088
|
+
}
|
|
1089
|
+
],
|
|
1090
|
+
"members": [
|
|
1064
1091
|
{
|
|
1065
1092
|
"kind": "field",
|
|
1066
|
-
"name": "
|
|
1093
|
+
"name": "headinglevel",
|
|
1067
1094
|
"type": {
|
|
1068
|
-
"text": "
|
|
1095
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1069
1096
|
},
|
|
1070
|
-
"
|
|
1097
|
+
"privacy": "public",
|
|
1098
|
+
"default": "2",
|
|
1099
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1100
|
+
"inheritedFrom": {
|
|
1101
|
+
"name": "AccordionItem",
|
|
1102
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1103
|
+
}
|
|
1071
1104
|
},
|
|
1072
1105
|
{
|
|
1073
1106
|
"kind": "field",
|
|
1074
|
-
"name": "
|
|
1107
|
+
"name": "expanded",
|
|
1075
1108
|
"type": {
|
|
1076
1109
|
"text": "boolean"
|
|
1077
1110
|
},
|
|
1078
|
-
"default": "false"
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
"kind": "method",
|
|
1082
|
-
"name": "handleClick",
|
|
1083
|
-
"privacy": "public",
|
|
1084
|
-
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1085
|
-
},
|
|
1086
|
-
{
|
|
1087
|
-
"kind": "method",
|
|
1088
|
-
"name": "onInputChange",
|
|
1089
1111
|
"privacy": "public",
|
|
1090
|
-
"
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
},
|
|
1096
|
-
"description": "The change event from the file input"
|
|
1097
|
-
}
|
|
1098
|
-
],
|
|
1099
|
-
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1100
|
-
},
|
|
1101
|
-
{
|
|
1102
|
-
"kind": "method",
|
|
1103
|
-
"name": "clearSelection",
|
|
1104
|
-
"privacy": "public",
|
|
1105
|
-
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"kind": "method",
|
|
1109
|
-
"name": "getSelectedFile",
|
|
1110
|
-
"privacy": "public",
|
|
1111
|
-
"description": "Gets the currently selected file object",
|
|
1112
|
-
"return": {
|
|
1113
|
-
"type": {
|
|
1114
|
-
"text": ""
|
|
1115
|
-
}
|
|
1112
|
+
"default": "false",
|
|
1113
|
+
"description": "Expands or collapses the item.",
|
|
1114
|
+
"inheritedFrom": {
|
|
1115
|
+
"name": "AccordionItem",
|
|
1116
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1116
1117
|
}
|
|
1117
1118
|
},
|
|
1118
1119
|
{
|
|
1119
|
-
"kind": "
|
|
1120
|
-
"name": "
|
|
1121
|
-
"
|
|
1122
|
-
|
|
1123
|
-
{
|
|
1124
|
-
"name": "title",
|
|
1125
|
-
"type": {
|
|
1126
|
-
"text": "string"
|
|
1127
|
-
},
|
|
1128
|
-
"description": "The error title"
|
|
1129
|
-
},
|
|
1130
|
-
{
|
|
1131
|
-
"name": "message",
|
|
1132
|
-
"type": {
|
|
1133
|
-
"text": "string"
|
|
1134
|
-
},
|
|
1135
|
-
"description": "The error message"
|
|
1136
|
-
}
|
|
1137
|
-
],
|
|
1138
|
-
"description": "Shows an error notification using the unified error handling system"
|
|
1139
|
-
},
|
|
1140
|
-
{
|
|
1141
|
-
"kind": "method",
|
|
1142
|
-
"name": "onFileSelected",
|
|
1143
|
-
"privacy": "protected",
|
|
1144
|
-
"return": {
|
|
1145
|
-
"type": {
|
|
1146
|
-
"text": "void"
|
|
1147
|
-
}
|
|
1120
|
+
"kind": "field",
|
|
1121
|
+
"name": "id",
|
|
1122
|
+
"type": {
|
|
1123
|
+
"text": "string"
|
|
1148
1124
|
},
|
|
1149
|
-
"
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
"description": "The selected file"
|
|
1156
|
-
}
|
|
1157
|
-
],
|
|
1158
|
-
"description": "Abstract method called when a file is selected"
|
|
1125
|
+
"privacy": "public",
|
|
1126
|
+
"description": "The item ID",
|
|
1127
|
+
"inheritedFrom": {
|
|
1128
|
+
"name": "AccordionItem",
|
|
1129
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1130
|
+
}
|
|
1159
1131
|
},
|
|
1160
1132
|
{
|
|
1161
|
-
"kind": "
|
|
1162
|
-
"name": "
|
|
1163
|
-
"privacy": "
|
|
1164
|
-
"
|
|
1165
|
-
"
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
},
|
|
1169
|
-
"description": "Abstract method called when file selection is cleared"
|
|
1133
|
+
"kind": "field",
|
|
1134
|
+
"name": "change",
|
|
1135
|
+
"privacy": "private",
|
|
1136
|
+
"inheritedFrom": {
|
|
1137
|
+
"name": "AccordionItem",
|
|
1138
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1139
|
+
}
|
|
1170
1140
|
},
|
|
1171
1141
|
{
|
|
1172
1142
|
"kind": "field",
|
|
@@ -1282,149 +1252,76 @@
|
|
|
1282
1252
|
],
|
|
1283
1253
|
"events": [
|
|
1284
1254
|
{
|
|
1285
|
-
"description": "
|
|
1286
|
-
"name": "
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
}
|
|
1292
|
-
],
|
|
1293
|
-
"attributes": [
|
|
1294
|
-
{
|
|
1295
|
-
"name": "label",
|
|
1296
|
-
"type": {
|
|
1297
|
-
"text": "string"
|
|
1298
|
-
},
|
|
1299
|
-
"fieldName": "label"
|
|
1300
|
-
},
|
|
1301
|
-
{
|
|
1302
|
-
"name": "accept",
|
|
1303
|
-
"type": {
|
|
1304
|
-
"text": "string"
|
|
1305
|
-
},
|
|
1306
|
-
"default": "''",
|
|
1307
|
-
"fieldName": "accept"
|
|
1308
|
-
},
|
|
1309
|
-
{
|
|
1310
|
-
"name": "file-size-limit-bytes",
|
|
1311
|
-
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1312
|
-
"resolveInitializer": {
|
|
1313
|
-
"module": "src/_common/base-file-component.ts"
|
|
1314
|
-
},
|
|
1315
|
-
"fieldName": "fileSizeLimitBytes"
|
|
1255
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1256
|
+
"name": "change",
|
|
1257
|
+
"inheritedFrom": {
|
|
1258
|
+
"name": "AccordionItem",
|
|
1259
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1260
|
+
}
|
|
1316
1261
|
}
|
|
1317
|
-
]
|
|
1318
|
-
|
|
1319
|
-
"name": "FoundationElement",
|
|
1320
|
-
"package": "@microsoft/fast-foundation"
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
],
|
|
1324
|
-
"exports": [
|
|
1325
|
-
{
|
|
1326
|
-
"kind": "js",
|
|
1327
|
-
"name": "BaseFileComponent",
|
|
1328
|
-
"declaration": {
|
|
1329
|
-
"name": "BaseFileComponent",
|
|
1330
|
-
"module": "src/_common/base-file-component.ts"
|
|
1331
|
-
}
|
|
1332
|
-
}
|
|
1333
|
-
]
|
|
1334
|
-
},
|
|
1335
|
-
{
|
|
1336
|
-
"kind": "javascript-module",
|
|
1337
|
-
"path": "src/_common/field-styles.ts",
|
|
1338
|
-
"declarations": [
|
|
1262
|
+
]
|
|
1263
|
+
},
|
|
1339
1264
|
{
|
|
1340
1265
|
"kind": "variable",
|
|
1341
|
-
"name": "
|
|
1342
|
-
"
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1266
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1267
|
+
"type": {
|
|
1268
|
+
"text": "ShadowRootInit"
|
|
1269
|
+
},
|
|
1270
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1271
|
+
},
|
|
1346
1272
|
{
|
|
1347
|
-
"kind": "
|
|
1348
|
-
"name": "
|
|
1349
|
-
"
|
|
1350
|
-
"
|
|
1351
|
-
|
|
1352
|
-
}
|
|
1353
|
-
}
|
|
1354
|
-
]
|
|
1355
|
-
},
|
|
1356
|
-
{
|
|
1357
|
-
"kind": "javascript-module",
|
|
1358
|
-
"path": "src/_common/icons.ts",
|
|
1359
|
-
"declarations": [
|
|
1273
|
+
"kind": "variable",
|
|
1274
|
+
"name": "defaultAccordionItemConfig",
|
|
1275
|
+
"type": {
|
|
1276
|
+
"text": "object"
|
|
1277
|
+
},
|
|
1278
|
+
"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}"
|
|
1279
|
+
},
|
|
1360
1280
|
{
|
|
1361
|
-
"kind": "
|
|
1362
|
-
"name": "
|
|
1363
|
-
"
|
|
1364
|
-
|
|
1365
|
-
"name": "slot",
|
|
1366
|
-
"default": "'start'"
|
|
1367
|
-
},
|
|
1368
|
-
{
|
|
1369
|
-
"name": "fill",
|
|
1370
|
-
"default": "'#879ba6'"
|
|
1371
|
-
}
|
|
1372
|
-
]
|
|
1281
|
+
"kind": "variable",
|
|
1282
|
+
"name": "foundationAccordionItem",
|
|
1283
|
+
"description": "The Foundation Accordion Item",
|
|
1284
|
+
"privacy": "public"
|
|
1373
1285
|
}
|
|
1374
1286
|
],
|
|
1375
1287
|
"exports": [
|
|
1376
1288
|
{
|
|
1377
1289
|
"kind": "js",
|
|
1378
|
-
"name": "
|
|
1379
|
-
"declaration": {
|
|
1380
|
-
"name": "closeIcon",
|
|
1381
|
-
"module": "src/_common/icons.ts"
|
|
1382
|
-
}
|
|
1383
|
-
}
|
|
1384
|
-
]
|
|
1385
|
-
},
|
|
1386
|
-
{
|
|
1387
|
-
"kind": "javascript-module",
|
|
1388
|
-
"path": "src/_common/index.ts",
|
|
1389
|
-
"declarations": [],
|
|
1390
|
-
"exports": [
|
|
1391
|
-
{
|
|
1392
|
-
"kind": "js",
|
|
1393
|
-
"name": "*",
|
|
1290
|
+
"name": "AccordionItem",
|
|
1394
1291
|
"declaration": {
|
|
1395
|
-
"name": "
|
|
1396
|
-
"
|
|
1292
|
+
"name": "AccordionItem",
|
|
1293
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1397
1294
|
}
|
|
1398
1295
|
},
|
|
1399
1296
|
{
|
|
1400
1297
|
"kind": "js",
|
|
1401
|
-
"name": "
|
|
1298
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1402
1299
|
"declaration": {
|
|
1403
|
-
"name": "
|
|
1404
|
-
"
|
|
1300
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1301
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1405
1302
|
}
|
|
1406
1303
|
},
|
|
1407
1304
|
{
|
|
1408
1305
|
"kind": "js",
|
|
1409
|
-
"name": "
|
|
1306
|
+
"name": "defaultAccordionItemConfig",
|
|
1410
1307
|
"declaration": {
|
|
1411
|
-
"name": "
|
|
1412
|
-
"
|
|
1308
|
+
"name": "defaultAccordionItemConfig",
|
|
1309
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1413
1310
|
}
|
|
1414
1311
|
},
|
|
1415
1312
|
{
|
|
1416
1313
|
"kind": "js",
|
|
1417
|
-
"name": "
|
|
1314
|
+
"name": "foundationAccordionItem",
|
|
1418
1315
|
"declaration": {
|
|
1419
|
-
"name": "
|
|
1420
|
-
"
|
|
1316
|
+
"name": "foundationAccordionItem",
|
|
1317
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1421
1318
|
}
|
|
1422
1319
|
}
|
|
1423
1320
|
]
|
|
1424
1321
|
},
|
|
1425
1322
|
{
|
|
1426
1323
|
"kind": "javascript-module",
|
|
1427
|
-
"path": "src/
|
|
1324
|
+
"path": "src/accordion-item/index.ts",
|
|
1428
1325
|
"declarations": [],
|
|
1429
1326
|
"exports": [
|
|
1430
1327
|
{
|
|
@@ -1432,7 +1329,7 @@
|
|
|
1432
1329
|
"name": "*",
|
|
1433
1330
|
"declaration": {
|
|
1434
1331
|
"name": "*",
|
|
1435
|
-
"package": "./
|
|
1332
|
+
"package": "./accordion-item.template"
|
|
1436
1333
|
}
|
|
1437
1334
|
},
|
|
1438
1335
|
{
|
|
@@ -1440,7 +1337,7 @@
|
|
|
1440
1337
|
"name": "*",
|
|
1441
1338
|
"declaration": {
|
|
1442
1339
|
"name": "*",
|
|
1443
|
-
"package": "./
|
|
1340
|
+
"package": "./accordion-item.styles"
|
|
1444
1341
|
}
|
|
1445
1342
|
},
|
|
1446
1343
|
{
|
|
@@ -1448,73 +1345,51 @@
|
|
|
1448
1345
|
"name": "*",
|
|
1449
1346
|
"declaration": {
|
|
1450
1347
|
"name": "*",
|
|
1451
|
-
"package": "./
|
|
1348
|
+
"package": "./accordion-item"
|
|
1452
1349
|
}
|
|
1453
1350
|
}
|
|
1454
1351
|
]
|
|
1455
1352
|
},
|
|
1456
1353
|
{
|
|
1457
1354
|
"kind": "javascript-module",
|
|
1458
|
-
"path": "src/
|
|
1355
|
+
"path": "src/_common/affix-mixin.ts",
|
|
1459
1356
|
"declarations": [
|
|
1460
1357
|
{
|
|
1461
|
-
"kind": "
|
|
1462
|
-
"
|
|
1463
|
-
"
|
|
1464
|
-
|
|
1465
|
-
"text": "ElementStyles"
|
|
1466
|
-
}
|
|
1467
|
-
},
|
|
1468
|
-
"parameters": [
|
|
1358
|
+
"kind": "mixin",
|
|
1359
|
+
"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.",
|
|
1360
|
+
"name": "AffixMixin",
|
|
1361
|
+
"members": [
|
|
1469
1362
|
{
|
|
1470
|
-
"
|
|
1363
|
+
"kind": "field",
|
|
1364
|
+
"name": "prefix",
|
|
1471
1365
|
"type": {
|
|
1472
|
-
"text": "
|
|
1473
|
-
}
|
|
1366
|
+
"text": "string"
|
|
1367
|
+
},
|
|
1368
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
1474
1369
|
},
|
|
1475
1370
|
{
|
|
1476
|
-
"
|
|
1371
|
+
"kind": "field",
|
|
1372
|
+
"name": "suffix",
|
|
1477
1373
|
"type": {
|
|
1478
|
-
"text": "
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
}
|
|
1483
|
-
],
|
|
1484
|
-
"exports": [
|
|
1485
|
-
{
|
|
1486
|
-
"kind": "js",
|
|
1487
|
-
"name": "foundationAccordionItemStyles",
|
|
1488
|
-
"declaration": {
|
|
1489
|
-
"name": "foundationAccordionItemStyles",
|
|
1490
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1491
|
-
}
|
|
1492
|
-
}
|
|
1493
|
-
]
|
|
1494
|
-
},
|
|
1495
|
-
{
|
|
1496
|
-
"kind": "javascript-module",
|
|
1497
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1498
|
-
"declarations": [
|
|
1499
|
-
{
|
|
1500
|
-
"kind": "function",
|
|
1501
|
-
"name": "foundationAccordionItemTemplate",
|
|
1502
|
-
"return": {
|
|
1503
|
-
"type": {
|
|
1504
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
1505
|
-
}
|
|
1506
|
-
},
|
|
1507
|
-
"parameters": [
|
|
1374
|
+
"text": "string"
|
|
1375
|
+
},
|
|
1376
|
+
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
1377
|
+
},
|
|
1508
1378
|
{
|
|
1509
|
-
"
|
|
1379
|
+
"kind": "field",
|
|
1380
|
+
"name": "hideAffixFromScreenReader",
|
|
1510
1381
|
"type": {
|
|
1511
|
-
"text": "
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1382
|
+
"text": "boolean"
|
|
1383
|
+
},
|
|
1384
|
+
"default": "false",
|
|
1385
|
+
"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."
|
|
1386
|
+
}
|
|
1387
|
+
],
|
|
1388
|
+
"parameters": [
|
|
1514
1389
|
{
|
|
1515
|
-
"name": "
|
|
1390
|
+
"name": "Base",
|
|
1516
1391
|
"type": {
|
|
1517
|
-
"text": "
|
|
1392
|
+
"text": "TBase"
|
|
1518
1393
|
}
|
|
1519
1394
|
}
|
|
1520
1395
|
]
|
|
@@ -1523,117 +1398,169 @@
|
|
|
1523
1398
|
"exports": [
|
|
1524
1399
|
{
|
|
1525
1400
|
"kind": "js",
|
|
1526
|
-
"name": "
|
|
1401
|
+
"name": "AffixMixin",
|
|
1527
1402
|
"declaration": {
|
|
1528
|
-
"name": "
|
|
1529
|
-
"module": "src/
|
|
1403
|
+
"name": "AffixMixin",
|
|
1404
|
+
"module": "src/_common/affix-mixin.ts"
|
|
1530
1405
|
}
|
|
1531
1406
|
}
|
|
1532
1407
|
]
|
|
1533
1408
|
},
|
|
1534
1409
|
{
|
|
1535
1410
|
"kind": "javascript-module",
|
|
1536
|
-
"path": "src/
|
|
1411
|
+
"path": "src/_common/base-file-component.ts",
|
|
1537
1412
|
"declarations": [
|
|
1538
1413
|
{
|
|
1539
1414
|
"kind": "class",
|
|
1540
|
-
"description": "",
|
|
1541
|
-
"name": "
|
|
1542
|
-
"
|
|
1543
|
-
"name": "FASTAccordionItem",
|
|
1544
|
-
"package": "@microsoft/fast-components"
|
|
1545
|
-
},
|
|
1546
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1547
|
-
"customElement": true,
|
|
1548
|
-
"attributes": [
|
|
1415
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
1416
|
+
"name": "BaseFileComponent",
|
|
1417
|
+
"members": [
|
|
1549
1418
|
{
|
|
1550
|
-
"
|
|
1419
|
+
"kind": "field",
|
|
1420
|
+
"name": "fileInput",
|
|
1551
1421
|
"type": {
|
|
1552
|
-
"text": "
|
|
1422
|
+
"text": "HTMLInputElement"
|
|
1553
1423
|
},
|
|
1554
|
-
"
|
|
1555
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1556
|
-
"fieldName": "headinglevel",
|
|
1557
|
-
"inheritedFrom": {
|
|
1558
|
-
"name": "AccordionItem",
|
|
1559
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1560
|
-
}
|
|
1424
|
+
"privacy": "public"
|
|
1561
1425
|
},
|
|
1562
1426
|
{
|
|
1427
|
+
"kind": "field",
|
|
1428
|
+
"name": "selectedFile",
|
|
1563
1429
|
"type": {
|
|
1564
|
-
"text": "
|
|
1430
|
+
"text": "File | null"
|
|
1565
1431
|
},
|
|
1566
|
-
"
|
|
1567
|
-
"
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1432
|
+
"privacy": "protected",
|
|
1433
|
+
"default": "null"
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"kind": "field",
|
|
1437
|
+
"name": "label",
|
|
1438
|
+
"type": {
|
|
1439
|
+
"text": "string"
|
|
1572
1440
|
}
|
|
1573
1441
|
},
|
|
1574
1442
|
{
|
|
1575
|
-
"
|
|
1443
|
+
"kind": "field",
|
|
1444
|
+
"name": "accept",
|
|
1576
1445
|
"type": {
|
|
1577
1446
|
"text": "string"
|
|
1578
1447
|
},
|
|
1579
|
-
"
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1448
|
+
"default": "''"
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
"kind": "field",
|
|
1452
|
+
"name": "fileSizeLimitBytes",
|
|
1453
|
+
"default": "10_485_760",
|
|
1454
|
+
"type": {
|
|
1455
|
+
"text": "number"
|
|
1584
1456
|
}
|
|
1585
|
-
}
|
|
1586
|
-
],
|
|
1587
|
-
"members": [
|
|
1457
|
+
},
|
|
1588
1458
|
{
|
|
1589
1459
|
"kind": "field",
|
|
1590
|
-
"name": "
|
|
1460
|
+
"name": "fileName",
|
|
1591
1461
|
"type": {
|
|
1592
|
-
"text": "
|
|
1462
|
+
"text": "string"
|
|
1593
1463
|
},
|
|
1594
|
-
"
|
|
1595
|
-
"default": "2",
|
|
1596
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1597
|
-
"inheritedFrom": {
|
|
1598
|
-
"name": "AccordionItem",
|
|
1599
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1600
|
-
}
|
|
1464
|
+
"default": "''"
|
|
1601
1465
|
},
|
|
1602
1466
|
{
|
|
1603
1467
|
"kind": "field",
|
|
1604
|
-
"name": "
|
|
1468
|
+
"name": "isProcessing",
|
|
1605
1469
|
"type": {
|
|
1606
1470
|
"text": "boolean"
|
|
1607
1471
|
},
|
|
1472
|
+
"default": "false"
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"kind": "method",
|
|
1476
|
+
"name": "handleClick",
|
|
1608
1477
|
"privacy": "public",
|
|
1609
|
-
"
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1478
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
"kind": "method",
|
|
1482
|
+
"name": "onInputChange",
|
|
1483
|
+
"privacy": "public",
|
|
1484
|
+
"parameters": [
|
|
1485
|
+
{
|
|
1486
|
+
"name": "e",
|
|
1487
|
+
"type": {
|
|
1488
|
+
"text": "Event"
|
|
1489
|
+
},
|
|
1490
|
+
"description": "The change event from the file input"
|
|
1491
|
+
}
|
|
1492
|
+
],
|
|
1493
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
"kind": "method",
|
|
1497
|
+
"name": "clearSelection",
|
|
1498
|
+
"privacy": "public",
|
|
1499
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "method",
|
|
1503
|
+
"name": "getSelectedFile",
|
|
1504
|
+
"privacy": "public",
|
|
1505
|
+
"description": "Gets the currently selected file object",
|
|
1506
|
+
"return": {
|
|
1507
|
+
"type": {
|
|
1508
|
+
"text": ""
|
|
1509
|
+
}
|
|
1614
1510
|
}
|
|
1615
1511
|
},
|
|
1616
1512
|
{
|
|
1617
|
-
"kind": "
|
|
1618
|
-
"name": "
|
|
1619
|
-
"
|
|
1620
|
-
|
|
1513
|
+
"kind": "method",
|
|
1514
|
+
"name": "showError",
|
|
1515
|
+
"privacy": "protected",
|
|
1516
|
+
"parameters": [
|
|
1517
|
+
{
|
|
1518
|
+
"name": "title",
|
|
1519
|
+
"type": {
|
|
1520
|
+
"text": "string"
|
|
1521
|
+
},
|
|
1522
|
+
"description": "The error title"
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"name": "message",
|
|
1526
|
+
"type": {
|
|
1527
|
+
"text": "string"
|
|
1528
|
+
},
|
|
1529
|
+
"description": "The error message"
|
|
1530
|
+
}
|
|
1531
|
+
],
|
|
1532
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"kind": "method",
|
|
1536
|
+
"name": "onFileSelected",
|
|
1537
|
+
"privacy": "protected",
|
|
1538
|
+
"return": {
|
|
1539
|
+
"type": {
|
|
1540
|
+
"text": "void"
|
|
1541
|
+
}
|
|
1621
1542
|
},
|
|
1622
|
-
"
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1543
|
+
"parameters": [
|
|
1544
|
+
{
|
|
1545
|
+
"name": "files",
|
|
1546
|
+
"type": {
|
|
1547
|
+
"text": "File[]"
|
|
1548
|
+
},
|
|
1549
|
+
"description": "The selected file"
|
|
1550
|
+
}
|
|
1551
|
+
],
|
|
1552
|
+
"description": "Abstract method called when a file is selected"
|
|
1628
1553
|
},
|
|
1629
1554
|
{
|
|
1630
|
-
"kind": "
|
|
1631
|
-
"name": "
|
|
1632
|
-
"privacy": "
|
|
1633
|
-
"
|
|
1634
|
-
"
|
|
1635
|
-
|
|
1636
|
-
|
|
1555
|
+
"kind": "method",
|
|
1556
|
+
"name": "onFileCleared",
|
|
1557
|
+
"privacy": "protected",
|
|
1558
|
+
"return": {
|
|
1559
|
+
"type": {
|
|
1560
|
+
"text": "void"
|
|
1561
|
+
}
|
|
1562
|
+
},
|
|
1563
|
+
"description": "Abstract method called when file selection is cleared"
|
|
1637
1564
|
},
|
|
1638
1565
|
{
|
|
1639
1566
|
"kind": "field",
|
|
@@ -1749,76 +1676,110 @@
|
|
|
1749
1676
|
],
|
|
1750
1677
|
"events": [
|
|
1751
1678
|
{
|
|
1752
|
-
"description": "
|
|
1753
|
-
"name": "
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1679
|
+
"description": "Fired when file size validation fails. detail: `Error`",
|
|
1680
|
+
"name": "error"
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"description": "Fired when selection is cleared",
|
|
1684
|
+
"name": "clear"
|
|
1758
1685
|
}
|
|
1759
|
-
]
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1686
|
+
],
|
|
1687
|
+
"attributes": [
|
|
1688
|
+
{
|
|
1689
|
+
"name": "label",
|
|
1690
|
+
"type": {
|
|
1691
|
+
"text": "string"
|
|
1692
|
+
},
|
|
1693
|
+
"fieldName": "label"
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
"name": "accept",
|
|
1697
|
+
"type": {
|
|
1698
|
+
"text": "string"
|
|
1699
|
+
},
|
|
1700
|
+
"default": "''",
|
|
1701
|
+
"fieldName": "accept"
|
|
1702
|
+
},
|
|
1703
|
+
{
|
|
1704
|
+
"name": "file-size-limit-bytes",
|
|
1705
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1706
|
+
"resolveInitializer": {
|
|
1707
|
+
"module": "src/_common/base-file-component.ts"
|
|
1708
|
+
},
|
|
1709
|
+
"fieldName": "fileSizeLimitBytes"
|
|
1710
|
+
}
|
|
1711
|
+
],
|
|
1712
|
+
"superclass": {
|
|
1713
|
+
"name": "FoundationElement",
|
|
1714
|
+
"package": "@microsoft/fast-foundation"
|
|
1715
|
+
}
|
|
1782
1716
|
}
|
|
1783
1717
|
],
|
|
1784
1718
|
"exports": [
|
|
1785
1719
|
{
|
|
1786
1720
|
"kind": "js",
|
|
1787
|
-
"name": "
|
|
1721
|
+
"name": "BaseFileComponent",
|
|
1788
1722
|
"declaration": {
|
|
1789
|
-
"name": "
|
|
1790
|
-
"module": "src/
|
|
1723
|
+
"name": "BaseFileComponent",
|
|
1724
|
+
"module": "src/_common/base-file-component.ts"
|
|
1791
1725
|
}
|
|
1792
|
-
}
|
|
1726
|
+
}
|
|
1727
|
+
]
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
"kind": "javascript-module",
|
|
1731
|
+
"path": "src/_common/field-styles.ts",
|
|
1732
|
+
"declarations": [
|
|
1793
1733
|
{
|
|
1794
|
-
"kind": "
|
|
1795
|
-
"name": "
|
|
1796
|
-
"
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
},
|
|
1734
|
+
"kind": "variable",
|
|
1735
|
+
"name": "sharedFieldStyles",
|
|
1736
|
+
"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`"
|
|
1737
|
+
}
|
|
1738
|
+
],
|
|
1739
|
+
"exports": [
|
|
1801
1740
|
{
|
|
1802
1741
|
"kind": "js",
|
|
1803
|
-
"name": "
|
|
1742
|
+
"name": "sharedFieldStyles",
|
|
1804
1743
|
"declaration": {
|
|
1805
|
-
"name": "
|
|
1806
|
-
"module": "src/
|
|
1744
|
+
"name": "sharedFieldStyles",
|
|
1745
|
+
"module": "src/_common/field-styles.ts"
|
|
1807
1746
|
}
|
|
1808
|
-
}
|
|
1747
|
+
}
|
|
1748
|
+
]
|
|
1749
|
+
},
|
|
1750
|
+
{
|
|
1751
|
+
"kind": "javascript-module",
|
|
1752
|
+
"path": "src/_common/icons.ts",
|
|
1753
|
+
"declarations": [
|
|
1754
|
+
{
|
|
1755
|
+
"kind": "function",
|
|
1756
|
+
"name": "closeIcon",
|
|
1757
|
+
"parameters": [
|
|
1758
|
+
{
|
|
1759
|
+
"name": "slot",
|
|
1760
|
+
"default": "'start'"
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"name": "fill",
|
|
1764
|
+
"default": "'#879ba6'"
|
|
1765
|
+
}
|
|
1766
|
+
]
|
|
1767
|
+
}
|
|
1768
|
+
],
|
|
1769
|
+
"exports": [
|
|
1809
1770
|
{
|
|
1810
1771
|
"kind": "js",
|
|
1811
|
-
"name": "
|
|
1772
|
+
"name": "closeIcon",
|
|
1812
1773
|
"declaration": {
|
|
1813
|
-
"name": "
|
|
1814
|
-
"module": "src/
|
|
1774
|
+
"name": "closeIcon",
|
|
1775
|
+
"module": "src/_common/icons.ts"
|
|
1815
1776
|
}
|
|
1816
1777
|
}
|
|
1817
1778
|
]
|
|
1818
1779
|
},
|
|
1819
1780
|
{
|
|
1820
1781
|
"kind": "javascript-module",
|
|
1821
|
-
"path": "src/
|
|
1782
|
+
"path": "src/_common/index.ts",
|
|
1822
1783
|
"declarations": [],
|
|
1823
1784
|
"exports": [
|
|
1824
1785
|
{
|
|
@@ -1826,7 +1787,7 @@
|
|
|
1826
1787
|
"name": "*",
|
|
1827
1788
|
"declaration": {
|
|
1828
1789
|
"name": "*",
|
|
1829
|
-
"package": "./
|
|
1790
|
+
"package": "./affix-mixin"
|
|
1830
1791
|
}
|
|
1831
1792
|
},
|
|
1832
1793
|
{
|
|
@@ -1834,7 +1795,7 @@
|
|
|
1834
1795
|
"name": "*",
|
|
1835
1796
|
"declaration": {
|
|
1836
1797
|
"name": "*",
|
|
1837
|
-
"package": "./
|
|
1798
|
+
"package": "./base-file-component"
|
|
1838
1799
|
}
|
|
1839
1800
|
},
|
|
1840
1801
|
{
|
|
@@ -1842,7 +1803,15 @@
|
|
|
1842
1803
|
"name": "*",
|
|
1843
1804
|
"declaration": {
|
|
1844
1805
|
"name": "*",
|
|
1845
|
-
"package": "./
|
|
1806
|
+
"package": "./field-styles"
|
|
1807
|
+
}
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
"kind": "js",
|
|
1811
|
+
"name": "*",
|
|
1812
|
+
"declaration": {
|
|
1813
|
+
"name": "*",
|
|
1814
|
+
"package": "./icons"
|
|
1846
1815
|
}
|
|
1847
1816
|
}
|
|
1848
1817
|
]
|
|
@@ -2420,275 +2389,239 @@
|
|
|
2420
2389
|
},
|
|
2421
2390
|
{
|
|
2422
2391
|
"kind": "javascript-module",
|
|
2423
|
-
"path": "src/
|
|
2392
|
+
"path": "src/_config/index.ts",
|
|
2393
|
+
"declarations": [],
|
|
2394
|
+
"exports": [
|
|
2395
|
+
{
|
|
2396
|
+
"kind": "js",
|
|
2397
|
+
"name": "*",
|
|
2398
|
+
"declaration": {
|
|
2399
|
+
"name": "*",
|
|
2400
|
+
"package": "./styles"
|
|
2401
|
+
}
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
"kind": "js",
|
|
2405
|
+
"name": "*",
|
|
2406
|
+
"declaration": {
|
|
2407
|
+
"name": "*",
|
|
2408
|
+
"package": "./tokens"
|
|
2409
|
+
}
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"kind": "js",
|
|
2413
|
+
"name": "*",
|
|
2414
|
+
"declaration": {
|
|
2415
|
+
"name": "*",
|
|
2416
|
+
"package": "./values"
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2419
|
+
]
|
|
2420
|
+
},
|
|
2421
|
+
{
|
|
2422
|
+
"kind": "javascript-module",
|
|
2423
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2424
2424
|
"declarations": [
|
|
2425
2425
|
{
|
|
2426
|
-
"kind": "
|
|
2427
|
-
"name": "
|
|
2428
|
-
"
|
|
2429
|
-
"type": {
|
|
2430
|
-
"text": "ElementStyles"
|
|
2431
|
-
}
|
|
2432
|
-
},
|
|
2433
|
-
"parameters": [
|
|
2434
|
-
{
|
|
2435
|
-
"name": "context",
|
|
2436
|
-
"type": {
|
|
2437
|
-
"text": "ElementDefinitionContext"
|
|
2438
|
-
}
|
|
2439
|
-
},
|
|
2440
|
-
{
|
|
2441
|
-
"name": "definition",
|
|
2442
|
-
"type": {
|
|
2443
|
-
"text": "FoundationElementDefinition"
|
|
2444
|
-
}
|
|
2445
|
-
}
|
|
2446
|
-
]
|
|
2426
|
+
"kind": "variable",
|
|
2427
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2428
|
+
"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`"
|
|
2447
2429
|
}
|
|
2448
2430
|
],
|
|
2449
2431
|
"exports": [
|
|
2450
2432
|
{
|
|
2451
2433
|
"kind": "js",
|
|
2452
|
-
"name": "
|
|
2434
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2453
2435
|
"declaration": {
|
|
2454
|
-
"name": "
|
|
2455
|
-
"module": "src/
|
|
2436
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2437
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2456
2438
|
}
|
|
2457
2439
|
}
|
|
2458
2440
|
]
|
|
2459
2441
|
},
|
|
2460
2442
|
{
|
|
2461
|
-
"kind": "javascript-module",
|
|
2462
|
-
"path": "src/
|
|
2463
|
-
"declarations": [
|
|
2464
|
-
{
|
|
2465
|
-
"kind": "
|
|
2466
|
-
"name": "
|
|
2467
|
-
"
|
|
2468
|
-
"
|
|
2469
|
-
"text": "ViewTemplate<Accordion>"
|
|
2470
|
-
}
|
|
2443
|
+
"kind": "javascript-module",
|
|
2444
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2445
|
+
"declarations": [
|
|
2446
|
+
{
|
|
2447
|
+
"kind": "variable",
|
|
2448
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2449
|
+
"type": {
|
|
2450
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2471
2451
|
},
|
|
2472
|
-
"
|
|
2473
|
-
{
|
|
2474
|
-
"name": "context",
|
|
2475
|
-
"type": {
|
|
2476
|
-
"text": "ElementDefinitionContext"
|
|
2477
|
-
}
|
|
2478
|
-
},
|
|
2479
|
-
{
|
|
2480
|
-
"name": "definition",
|
|
2481
|
-
"type": {
|
|
2482
|
-
"text": "FoundationElementDefinition"
|
|
2483
|
-
}
|
|
2484
|
-
}
|
|
2485
|
-
]
|
|
2452
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2486
2453
|
}
|
|
2487
2454
|
],
|
|
2488
2455
|
"exports": [
|
|
2489
2456
|
{
|
|
2490
2457
|
"kind": "js",
|
|
2491
|
-
"name": "
|
|
2458
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2492
2459
|
"declaration": {
|
|
2493
|
-
"name": "
|
|
2494
|
-
"module": "src/
|
|
2460
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2461
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2495
2462
|
}
|
|
2496
2463
|
}
|
|
2497
2464
|
]
|
|
2498
2465
|
},
|
|
2499
2466
|
{
|
|
2500
2467
|
"kind": "javascript-module",
|
|
2501
|
-
"path": "src/
|
|
2468
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2502
2469
|
"declarations": [
|
|
2503
2470
|
{
|
|
2504
2471
|
"kind": "class",
|
|
2505
|
-
"description": "",
|
|
2506
|
-
"name": "
|
|
2507
|
-
"
|
|
2508
|
-
"name": "FASTAccordion",
|
|
2509
|
-
"package": "@microsoft/fast-foundation"
|
|
2510
|
-
},
|
|
2511
|
-
"tagName": "%%prefix%%-accordion",
|
|
2512
|
-
"customElement": true,
|
|
2513
|
-
"attributes": [
|
|
2472
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2473
|
+
"name": "AiCriteriaSearch",
|
|
2474
|
+
"members": [
|
|
2514
2475
|
{
|
|
2515
|
-
"
|
|
2476
|
+
"kind": "field",
|
|
2477
|
+
"name": "providerRegistry",
|
|
2516
2478
|
"type": {
|
|
2517
|
-
"text": "
|
|
2518
|
-
},
|
|
2519
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2520
|
-
"fieldName": "expandmode",
|
|
2521
|
-
"inheritedFrom": {
|
|
2522
|
-
"name": "Accordion",
|
|
2523
|
-
"module": "src/accordion/accordion.ts"
|
|
2479
|
+
"text": "AIProviderRegistry"
|
|
2524
2480
|
}
|
|
2525
|
-
}
|
|
2526
|
-
],
|
|
2527
|
-
"members": [
|
|
2481
|
+
},
|
|
2528
2482
|
{
|
|
2529
2483
|
"kind": "field",
|
|
2530
|
-
"name": "
|
|
2484
|
+
"name": "placeholder",
|
|
2531
2485
|
"type": {
|
|
2532
|
-
"text": "
|
|
2486
|
+
"text": "string"
|
|
2533
2487
|
},
|
|
2534
|
-
"
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2488
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2489
|
+
},
|
|
2490
|
+
{
|
|
2491
|
+
"kind": "field",
|
|
2492
|
+
"name": "disabled",
|
|
2493
|
+
"type": {
|
|
2494
|
+
"text": "boolean"
|
|
2539
2495
|
}
|
|
2540
2496
|
},
|
|
2541
2497
|
{
|
|
2542
2498
|
"kind": "field",
|
|
2543
|
-
"name": "
|
|
2499
|
+
"name": "inputValue",
|
|
2544
2500
|
"type": {
|
|
2545
|
-
"text": "string
|
|
2501
|
+
"text": "string"
|
|
2546
2502
|
},
|
|
2547
|
-
"
|
|
2548
|
-
"inheritedFrom": {
|
|
2549
|
-
"name": "Accordion",
|
|
2550
|
-
"module": "src/accordion/accordion.ts"
|
|
2551
|
-
}
|
|
2503
|
+
"default": "''"
|
|
2552
2504
|
},
|
|
2553
2505
|
{
|
|
2554
2506
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2507
|
+
"name": "isInterpreting",
|
|
2556
2508
|
"type": {
|
|
2557
|
-
"text": "
|
|
2509
|
+
"text": "boolean"
|
|
2558
2510
|
},
|
|
2559
|
-
"
|
|
2560
|
-
"default": "0",
|
|
2561
|
-
"inheritedFrom": {
|
|
2562
|
-
"name": "Accordion",
|
|
2563
|
-
"module": "src/accordion/accordion.ts"
|
|
2564
|
-
}
|
|
2511
|
+
"default": "false"
|
|
2565
2512
|
},
|
|
2566
2513
|
{
|
|
2567
2514
|
"kind": "field",
|
|
2568
|
-
"name": "
|
|
2515
|
+
"name": "lastValidCriteria",
|
|
2569
2516
|
"type": {
|
|
2570
|
-
"text": "
|
|
2517
|
+
"text": "string | null"
|
|
2571
2518
|
},
|
|
2572
|
-
"
|
|
2573
|
-
"inheritedFrom": {
|
|
2574
|
-
"name": "Accordion",
|
|
2575
|
-
"module": "src/accordion/accordion.ts"
|
|
2576
|
-
}
|
|
2519
|
+
"default": "null"
|
|
2577
2520
|
},
|
|
2578
2521
|
{
|
|
2579
2522
|
"kind": "field",
|
|
2580
|
-
"name": "
|
|
2581
|
-
"
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
}
|
|
2523
|
+
"name": "activeGroups",
|
|
2524
|
+
"type": {
|
|
2525
|
+
"text": "CriteriaGroup[]"
|
|
2526
|
+
},
|
|
2527
|
+
"default": "[]"
|
|
2586
2528
|
},
|
|
2587
2529
|
{
|
|
2588
|
-
"kind": "
|
|
2589
|
-
"name": "
|
|
2590
|
-
"
|
|
2591
|
-
|
|
2592
|
-
"type": {
|
|
2593
|
-
"text": "AccordionItem | null"
|
|
2594
|
-
}
|
|
2530
|
+
"kind": "field",
|
|
2531
|
+
"name": "showingChips",
|
|
2532
|
+
"type": {
|
|
2533
|
+
"text": "boolean"
|
|
2595
2534
|
},
|
|
2596
|
-
"
|
|
2597
|
-
"name": "Accordion",
|
|
2598
|
-
"module": "src/accordion/accordion.ts"
|
|
2599
|
-
}
|
|
2535
|
+
"default": "false"
|
|
2600
2536
|
},
|
|
2601
2537
|
{
|
|
2602
2538
|
"kind": "field",
|
|
2603
|
-
"name": "
|
|
2604
|
-
"
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
}
|
|
2539
|
+
"name": "fieldMetadata",
|
|
2540
|
+
"type": {
|
|
2541
|
+
"text": "MetadataDetail[] | string[]"
|
|
2542
|
+
},
|
|
2543
|
+
"default": "[]"
|
|
2609
2544
|
},
|
|
2610
2545
|
{
|
|
2611
|
-
"kind": "
|
|
2612
|
-
"name": "
|
|
2613
|
-
"
|
|
2614
|
-
|
|
2615
|
-
"type": {
|
|
2616
|
-
"text": "void"
|
|
2617
|
-
}
|
|
2546
|
+
"kind": "field",
|
|
2547
|
+
"name": "isRecording",
|
|
2548
|
+
"type": {
|
|
2549
|
+
"text": "boolean"
|
|
2618
2550
|
},
|
|
2619
|
-
"
|
|
2620
|
-
"name": "Accordion",
|
|
2621
|
-
"module": "src/accordion/accordion.ts"
|
|
2622
|
-
}
|
|
2551
|
+
"default": "false"
|
|
2623
2552
|
},
|
|
2624
2553
|
{
|
|
2625
2554
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2555
|
+
"name": "textAreaRef",
|
|
2556
|
+
"type": {
|
|
2557
|
+
"text": "HTMLTextAreaElement"
|
|
2558
|
+
},
|
|
2559
|
+
"privacy": "public"
|
|
2560
|
+
},
|
|
2561
|
+
{
|
|
2562
|
+
"kind": "field",
|
|
2563
|
+
"name": "stopRecording",
|
|
2564
|
+
"type": {
|
|
2565
|
+
"text": "(() => void) | null"
|
|
2566
|
+
},
|
|
2627
2567
|
"privacy": "private",
|
|
2628
|
-
"
|
|
2629
|
-
"name": "Accordion",
|
|
2630
|
-
"module": "src/accordion/accordion.ts"
|
|
2631
|
-
}
|
|
2568
|
+
"default": "null"
|
|
2632
2569
|
},
|
|
2633
2570
|
{
|
|
2634
2571
|
"kind": "field",
|
|
2635
|
-
"name": "
|
|
2572
|
+
"name": "speechApplyDebounceTimer",
|
|
2573
|
+
"type": {
|
|
2574
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2575
|
+
},
|
|
2636
2576
|
"privacy": "private",
|
|
2637
|
-
"
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2577
|
+
"default": "null"
|
|
2578
|
+
},
|
|
2579
|
+
{
|
|
2580
|
+
"kind": "field",
|
|
2581
|
+
"name": "speechAvailable",
|
|
2582
|
+
"type": {
|
|
2583
|
+
"text": "boolean"
|
|
2584
|
+
},
|
|
2585
|
+
"readonly": true
|
|
2586
|
+
},
|
|
2587
|
+
{
|
|
2588
|
+
"kind": "field",
|
|
2589
|
+
"name": "criteriaChips",
|
|
2590
|
+
"type": {
|
|
2591
|
+
"text": "CriteriaChip[]"
|
|
2592
|
+
},
|
|
2593
|
+
"readonly": true
|
|
2641
2594
|
},
|
|
2642
2595
|
{
|
|
2643
2596
|
"kind": "method",
|
|
2644
|
-
"name": "
|
|
2597
|
+
"name": "getFieldLabel",
|
|
2645
2598
|
"privacy": "private",
|
|
2646
2599
|
"return": {
|
|
2647
2600
|
"type": {
|
|
2648
|
-
"text": "
|
|
2601
|
+
"text": "string"
|
|
2649
2602
|
}
|
|
2650
2603
|
},
|
|
2651
|
-
"
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2604
|
+
"parameters": [
|
|
2605
|
+
{
|
|
2606
|
+
"name": "fieldName",
|
|
2607
|
+
"type": {
|
|
2608
|
+
"text": "string"
|
|
2609
|
+
}
|
|
2610
|
+
}
|
|
2611
|
+
]
|
|
2655
2612
|
},
|
|
2656
2613
|
{
|
|
2657
2614
|
"kind": "method",
|
|
2658
|
-
"name": "
|
|
2659
|
-
"privacy": "private",
|
|
2615
|
+
"name": "toggleCriteriaView",
|
|
2660
2616
|
"return": {
|
|
2661
2617
|
"type": {
|
|
2662
|
-
"text": "
|
|
2618
|
+
"text": "void"
|
|
2663
2619
|
}
|
|
2664
|
-
},
|
|
2665
|
-
"inheritedFrom": {
|
|
2666
|
-
"name": "Accordion",
|
|
2667
|
-
"module": "src/accordion/accordion.ts"
|
|
2668
|
-
}
|
|
2669
|
-
},
|
|
2670
|
-
{
|
|
2671
|
-
"kind": "field",
|
|
2672
|
-
"name": "handleItemKeyDown",
|
|
2673
|
-
"privacy": "private",
|
|
2674
|
-
"inheritedFrom": {
|
|
2675
|
-
"name": "Accordion",
|
|
2676
|
-
"module": "src/accordion/accordion.ts"
|
|
2677
|
-
}
|
|
2678
|
-
},
|
|
2679
|
-
{
|
|
2680
|
-
"kind": "field",
|
|
2681
|
-
"name": "handleItemFocus",
|
|
2682
|
-
"privacy": "private",
|
|
2683
|
-
"inheritedFrom": {
|
|
2684
|
-
"name": "Accordion",
|
|
2685
|
-
"module": "src/accordion/accordion.ts"
|
|
2686
2620
|
}
|
|
2687
2621
|
},
|
|
2688
2622
|
{
|
|
2689
2623
|
"kind": "method",
|
|
2690
|
-
"name": "
|
|
2691
|
-
"privacy": "private",
|
|
2624
|
+
"name": "removeChip",
|
|
2692
2625
|
"return": {
|
|
2693
2626
|
"type": {
|
|
2694
2627
|
"text": "void"
|
|
@@ -2696,31 +2629,49 @@
|
|
|
2696
2629
|
},
|
|
2697
2630
|
"parameters": [
|
|
2698
2631
|
{
|
|
2699
|
-
"name": "
|
|
2632
|
+
"name": "groupIndex",
|
|
2633
|
+
"type": {
|
|
2634
|
+
"text": "number"
|
|
2635
|
+
}
|
|
2636
|
+
},
|
|
2637
|
+
{
|
|
2638
|
+
"name": "clauseIndex",
|
|
2700
2639
|
"type": {
|
|
2701
2640
|
"text": "number"
|
|
2702
2641
|
}
|
|
2703
2642
|
}
|
|
2704
|
-
]
|
|
2705
|
-
"inheritedFrom": {
|
|
2706
|
-
"name": "Accordion",
|
|
2707
|
-
"module": "src/accordion/accordion.ts"
|
|
2708
|
-
}
|
|
2643
|
+
]
|
|
2709
2644
|
},
|
|
2710
2645
|
{
|
|
2711
2646
|
"kind": "method",
|
|
2712
|
-
"name": "
|
|
2713
|
-
"privacy": "private",
|
|
2647
|
+
"name": "clearChips",
|
|
2714
2648
|
"return": {
|
|
2715
2649
|
"type": {
|
|
2716
2650
|
"text": "void"
|
|
2717
2651
|
}
|
|
2718
|
-
},
|
|
2719
|
-
"inheritedFrom": {
|
|
2720
|
-
"name": "Accordion",
|
|
2721
|
-
"module": "src/accordion/accordion.ts"
|
|
2722
2652
|
}
|
|
2723
2653
|
},
|
|
2654
|
+
{
|
|
2655
|
+
"kind": "method",
|
|
2656
|
+
"name": "handleSubmit"
|
|
2657
|
+
},
|
|
2658
|
+
{
|
|
2659
|
+
"kind": "method",
|
|
2660
|
+
"name": "handleBlur"
|
|
2661
|
+
},
|
|
2662
|
+
{
|
|
2663
|
+
"kind": "method",
|
|
2664
|
+
"name": "clear"
|
|
2665
|
+
},
|
|
2666
|
+
{
|
|
2667
|
+
"kind": "method",
|
|
2668
|
+
"name": "toggleSpeechInput"
|
|
2669
|
+
},
|
|
2670
|
+
{
|
|
2671
|
+
"kind": "method",
|
|
2672
|
+
"name": "clearSpeechApplyDebounce",
|
|
2673
|
+
"privacy": "private"
|
|
2674
|
+
},
|
|
2724
2675
|
{
|
|
2725
2676
|
"kind": "field",
|
|
2726
2677
|
"name": "_presentation",
|
|
@@ -2835,26 +2786,48 @@
|
|
|
2835
2786
|
],
|
|
2836
2787
|
"events": [
|
|
2837
2788
|
{
|
|
2838
|
-
"description": "
|
|
2839
|
-
"name": "
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2789
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2790
|
+
"name": "criteria-changed"
|
|
2791
|
+
},
|
|
2792
|
+
{
|
|
2793
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2794
|
+
"name": "validation-errors"
|
|
2844
2795
|
}
|
|
2845
|
-
]
|
|
2796
|
+
],
|
|
2797
|
+
"attributes": [
|
|
2798
|
+
{
|
|
2799
|
+
"name": "placeholder",
|
|
2800
|
+
"type": {
|
|
2801
|
+
"text": "string"
|
|
2802
|
+
},
|
|
2803
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2804
|
+
"fieldName": "placeholder"
|
|
2805
|
+
},
|
|
2806
|
+
{
|
|
2807
|
+
"type": {
|
|
2808
|
+
"text": "boolean"
|
|
2809
|
+
},
|
|
2810
|
+
"fieldName": "disabled"
|
|
2811
|
+
}
|
|
2812
|
+
],
|
|
2813
|
+
"superclass": {
|
|
2814
|
+
"name": "FoundationElement",
|
|
2815
|
+
"package": "@microsoft/fast-foundation"
|
|
2816
|
+
},
|
|
2817
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2818
|
+
"customElement": true
|
|
2846
2819
|
},
|
|
2847
2820
|
{
|
|
2848
2821
|
"kind": "variable",
|
|
2849
|
-
"name": "
|
|
2822
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2850
2823
|
"type": {
|
|
2851
2824
|
"text": "ShadowRootInit"
|
|
2852
2825
|
},
|
|
2853
|
-
"default": "
|
|
2826
|
+
"default": "undefined"
|
|
2854
2827
|
},
|
|
2855
2828
|
{
|
|
2856
2829
|
"kind": "variable",
|
|
2857
|
-
"name": "
|
|
2830
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2858
2831
|
"type": {
|
|
2859
2832
|
"text": "object"
|
|
2860
2833
|
},
|
|
@@ -2862,57 +2835,103 @@
|
|
|
2862
2835
|
},
|
|
2863
2836
|
{
|
|
2864
2837
|
"kind": "variable",
|
|
2865
|
-
"name": "
|
|
2866
|
-
"description": "The Foundation Accordion",
|
|
2867
|
-
"privacy": "public"
|
|
2838
|
+
"name": "foundationAiCriteriaSearch"
|
|
2868
2839
|
}
|
|
2869
2840
|
],
|
|
2870
2841
|
"exports": [
|
|
2871
2842
|
{
|
|
2872
2843
|
"kind": "js",
|
|
2873
|
-
"name": "
|
|
2844
|
+
"name": "AiCriteriaSearch",
|
|
2874
2845
|
"declaration": {
|
|
2875
|
-
"name": "
|
|
2876
|
-
"module": "src/
|
|
2846
|
+
"name": "AiCriteriaSearch",
|
|
2847
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2877
2848
|
}
|
|
2878
2849
|
},
|
|
2879
2850
|
{
|
|
2880
2851
|
"kind": "js",
|
|
2881
|
-
"name": "
|
|
2852
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2882
2853
|
"declaration": {
|
|
2883
|
-
"name": "
|
|
2884
|
-
"module": "src/
|
|
2854
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2855
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2885
2856
|
}
|
|
2886
2857
|
},
|
|
2887
2858
|
{
|
|
2888
2859
|
"kind": "js",
|
|
2889
|
-
"name": "
|
|
2860
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2890
2861
|
"declaration": {
|
|
2891
|
-
"name": "
|
|
2892
|
-
"module": "src/
|
|
2862
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2863
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2893
2864
|
}
|
|
2894
2865
|
},
|
|
2895
2866
|
{
|
|
2896
2867
|
"kind": "js",
|
|
2897
|
-
"name": "
|
|
2868
|
+
"name": "foundationAiCriteriaSearch",
|
|
2898
2869
|
"declaration": {
|
|
2899
|
-
"name": "
|
|
2900
|
-
"module": "src/
|
|
2870
|
+
"name": "foundationAiCriteriaSearch",
|
|
2871
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2901
2872
|
}
|
|
2902
2873
|
}
|
|
2903
2874
|
]
|
|
2904
2875
|
},
|
|
2905
2876
|
{
|
|
2906
2877
|
"kind": "javascript-module",
|
|
2907
|
-
"path": "src/
|
|
2878
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2908
2879
|
"declarations": [],
|
|
2909
2880
|
"exports": [
|
|
2881
|
+
{
|
|
2882
|
+
"kind": "js",
|
|
2883
|
+
"name": "AiCriteriaSearch",
|
|
2884
|
+
"declaration": {
|
|
2885
|
+
"name": "AiCriteriaSearch",
|
|
2886
|
+
"module": "./ai-criteria-search"
|
|
2887
|
+
}
|
|
2888
|
+
},
|
|
2889
|
+
{
|
|
2890
|
+
"kind": "js",
|
|
2891
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2892
|
+
"declaration": {
|
|
2893
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2894
|
+
"module": "./ai-criteria-search"
|
|
2895
|
+
}
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
"kind": "js",
|
|
2899
|
+
"name": "foundationAiCriteriaSearch",
|
|
2900
|
+
"declaration": {
|
|
2901
|
+
"name": "foundationAiCriteriaSearch",
|
|
2902
|
+
"module": "./ai-criteria-search"
|
|
2903
|
+
}
|
|
2904
|
+
},
|
|
2905
|
+
{
|
|
2906
|
+
"kind": "js",
|
|
2907
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2908
|
+
"declaration": {
|
|
2909
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2910
|
+
"module": "./ai-criteria-search"
|
|
2911
|
+
}
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"kind": "js",
|
|
2915
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2916
|
+
"declaration": {
|
|
2917
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2918
|
+
"module": "./ai-criteria-search.styles"
|
|
2919
|
+
}
|
|
2920
|
+
},
|
|
2921
|
+
{
|
|
2922
|
+
"kind": "js",
|
|
2923
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2924
|
+
"declaration": {
|
|
2925
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2926
|
+
"module": "./ai-criteria-search.template"
|
|
2927
|
+
}
|
|
2928
|
+
},
|
|
2910
2929
|
{
|
|
2911
2930
|
"kind": "js",
|
|
2912
2931
|
"name": "*",
|
|
2913
2932
|
"declaration": {
|
|
2914
2933
|
"name": "*",
|
|
2915
|
-
"package": "./
|
|
2934
|
+
"package": "./validation/criteria-ir"
|
|
2916
2935
|
}
|
|
2917
2936
|
},
|
|
2918
2937
|
{
|
|
@@ -2920,7 +2939,7 @@
|
|
|
2920
2939
|
"name": "*",
|
|
2921
2940
|
"declaration": {
|
|
2922
2941
|
"name": "*",
|
|
2923
|
-
"package": "./
|
|
2942
|
+
"package": "./validation/operator-map"
|
|
2924
2943
|
}
|
|
2925
2944
|
},
|
|
2926
2945
|
{
|
|
@@ -2928,64 +2947,157 @@
|
|
|
2928
2947
|
"name": "*",
|
|
2929
2948
|
"declaration": {
|
|
2930
2949
|
"name": "*",
|
|
2931
|
-
"package": "./
|
|
2950
|
+
"package": "./validation/schema-validator"
|
|
2932
2951
|
}
|
|
2933
2952
|
}
|
|
2934
2953
|
]
|
|
2935
2954
|
},
|
|
2936
2955
|
{
|
|
2937
2956
|
"kind": "javascript-module",
|
|
2938
|
-
"path": "src/ai-criteria-search/
|
|
2957
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2939
2958
|
"declarations": [
|
|
2940
2959
|
{
|
|
2941
|
-
"kind": "
|
|
2942
|
-
"name": "
|
|
2943
|
-
"
|
|
2960
|
+
"kind": "function",
|
|
2961
|
+
"name": "formatValidationErrors",
|
|
2962
|
+
"return": {
|
|
2963
|
+
"type": {
|
|
2964
|
+
"text": "string"
|
|
2965
|
+
}
|
|
2966
|
+
},
|
|
2967
|
+
"parameters": [
|
|
2968
|
+
{
|
|
2969
|
+
"name": "errors",
|
|
2970
|
+
"type": {
|
|
2971
|
+
"text": "ValidationError[]"
|
|
2972
|
+
}
|
|
2973
|
+
}
|
|
2974
|
+
],
|
|
2975
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2976
|
+
},
|
|
2977
|
+
{
|
|
2978
|
+
"kind": "function",
|
|
2979
|
+
"name": "showCriteriaError",
|
|
2980
|
+
"return": {
|
|
2981
|
+
"type": {
|
|
2982
|
+
"text": "void"
|
|
2983
|
+
}
|
|
2984
|
+
},
|
|
2985
|
+
"parameters": [
|
|
2986
|
+
{
|
|
2987
|
+
"name": "title",
|
|
2988
|
+
"type": {
|
|
2989
|
+
"text": "string"
|
|
2990
|
+
},
|
|
2991
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"name": "body",
|
|
2995
|
+
"type": {
|
|
2996
|
+
"text": "string"
|
|
2997
|
+
},
|
|
2998
|
+
"description": "Error message to display"
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"name": "tagName",
|
|
3002
|
+
"type": {
|
|
3003
|
+
"text": "string"
|
|
3004
|
+
},
|
|
3005
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3006
|
+
}
|
|
3007
|
+
],
|
|
3008
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3009
|
+
}
|
|
3010
|
+
],
|
|
3011
|
+
"exports": [
|
|
3012
|
+
{
|
|
3013
|
+
"kind": "js",
|
|
3014
|
+
"name": "formatValidationErrors",
|
|
3015
|
+
"declaration": {
|
|
3016
|
+
"name": "formatValidationErrors",
|
|
3017
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3018
|
+
}
|
|
3019
|
+
},
|
|
3020
|
+
{
|
|
3021
|
+
"kind": "js",
|
|
3022
|
+
"name": "showCriteriaError",
|
|
3023
|
+
"declaration": {
|
|
3024
|
+
"name": "showCriteriaError",
|
|
3025
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3026
|
+
}
|
|
3027
|
+
}
|
|
3028
|
+
]
|
|
3029
|
+
},
|
|
3030
|
+
{
|
|
3031
|
+
"kind": "javascript-module",
|
|
3032
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3033
|
+
"declarations": [
|
|
3034
|
+
{
|
|
3035
|
+
"kind": "function",
|
|
3036
|
+
"name": "foundationAiIndicatorStyles",
|
|
3037
|
+
"return": {
|
|
3038
|
+
"type": {
|
|
3039
|
+
"text": "ElementStyles"
|
|
3040
|
+
}
|
|
3041
|
+
},
|
|
3042
|
+
"parameters": [
|
|
3043
|
+
{
|
|
3044
|
+
"name": "context",
|
|
3045
|
+
"type": {
|
|
3046
|
+
"text": "ElementDefinitionContext"
|
|
3047
|
+
}
|
|
3048
|
+
},
|
|
3049
|
+
{
|
|
3050
|
+
"name": "definition",
|
|
3051
|
+
"type": {
|
|
3052
|
+
"text": "FoundationElementDefinition"
|
|
3053
|
+
}
|
|
3054
|
+
}
|
|
3055
|
+
]
|
|
2944
3056
|
}
|
|
2945
3057
|
],
|
|
2946
3058
|
"exports": [
|
|
2947
3059
|
{
|
|
2948
3060
|
"kind": "js",
|
|
2949
|
-
"name": "
|
|
3061
|
+
"name": "foundationAiIndicatorStyles",
|
|
2950
3062
|
"declaration": {
|
|
2951
|
-
"name": "
|
|
2952
|
-
"module": "src/ai-
|
|
3063
|
+
"name": "foundationAiIndicatorStyles",
|
|
3064
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2953
3065
|
}
|
|
2954
3066
|
}
|
|
2955
3067
|
]
|
|
2956
3068
|
},
|
|
2957
3069
|
{
|
|
2958
3070
|
"kind": "javascript-module",
|
|
2959
|
-
"path": "src/ai-
|
|
3071
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2960
3072
|
"declarations": [
|
|
2961
3073
|
{
|
|
2962
3074
|
"kind": "variable",
|
|
2963
|
-
"name": "
|
|
3075
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2964
3076
|
"type": {
|
|
2965
|
-
"text": "ViewTemplate<
|
|
3077
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2966
3078
|
},
|
|
2967
|
-
"default": "html`\n ${(x) =>
|
|
3079
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2968
3080
|
}
|
|
2969
3081
|
],
|
|
2970
3082
|
"exports": [
|
|
2971
3083
|
{
|
|
2972
3084
|
"kind": "js",
|
|
2973
|
-
"name": "
|
|
3085
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2974
3086
|
"declaration": {
|
|
2975
|
-
"name": "
|
|
2976
|
-
"module": "src/ai-
|
|
3087
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3088
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2977
3089
|
}
|
|
2978
3090
|
}
|
|
2979
3091
|
]
|
|
2980
3092
|
},
|
|
2981
3093
|
{
|
|
2982
3094
|
"kind": "javascript-module",
|
|
2983
|
-
"path": "src/ai-
|
|
3095
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2984
3096
|
"declarations": [
|
|
2985
3097
|
{
|
|
2986
3098
|
"kind": "class",
|
|
2987
|
-
"description": "
|
|
2988
|
-
"name": "
|
|
3099
|
+
"description": "",
|
|
3100
|
+
"name": "AiIndicator",
|
|
2989
3101
|
"members": [
|
|
2990
3102
|
{
|
|
2991
3103
|
"kind": "field",
|
|
@@ -2996,54 +3108,25 @@
|
|
|
2996
3108
|
},
|
|
2997
3109
|
{
|
|
2998
3110
|
"kind": "field",
|
|
2999
|
-
"name": "
|
|
3000
|
-
"type": {
|
|
3001
|
-
"text": "string"
|
|
3002
|
-
},
|
|
3003
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
3004
|
-
},
|
|
3005
|
-
{
|
|
3006
|
-
"kind": "field",
|
|
3007
|
-
"name": "disabled",
|
|
3008
|
-
"type": {
|
|
3009
|
-
"text": "boolean"
|
|
3010
|
-
}
|
|
3011
|
-
},
|
|
3012
|
-
{
|
|
3013
|
-
"kind": "field",
|
|
3014
|
-
"name": "inputValue",
|
|
3015
|
-
"type": {
|
|
3016
|
-
"text": "string"
|
|
3017
|
-
},
|
|
3018
|
-
"default": "''"
|
|
3019
|
-
},
|
|
3020
|
-
{
|
|
3021
|
-
"kind": "field",
|
|
3022
|
-
"name": "isInterpreting",
|
|
3111
|
+
"name": "aiProvider",
|
|
3023
3112
|
"type": {
|
|
3024
|
-
"text": "
|
|
3113
|
+
"text": "AIProvider | undefined"
|
|
3025
3114
|
},
|
|
3026
|
-
"
|
|
3115
|
+
"privacy": "private",
|
|
3116
|
+
"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.",
|
|
3117
|
+
"readonly": true
|
|
3027
3118
|
},
|
|
3028
3119
|
{
|
|
3029
3120
|
"kind": "field",
|
|
3030
|
-
"name": "
|
|
3121
|
+
"name": "status",
|
|
3031
3122
|
"type": {
|
|
3032
|
-
"text": "
|
|
3123
|
+
"text": "AIStatus | null"
|
|
3033
3124
|
},
|
|
3034
3125
|
"default": "null"
|
|
3035
3126
|
},
|
|
3036
3127
|
{
|
|
3037
3128
|
"kind": "field",
|
|
3038
|
-
"name": "
|
|
3039
|
-
"type": {
|
|
3040
|
-
"text": "CriteriaGroup[]"
|
|
3041
|
-
},
|
|
3042
|
-
"default": "[]"
|
|
3043
|
-
},
|
|
3044
|
-
{
|
|
3045
|
-
"kind": "field",
|
|
3046
|
-
"name": "showingChips",
|
|
3129
|
+
"name": "open",
|
|
3047
3130
|
"type": {
|
|
3048
3131
|
"text": "boolean"
|
|
3049
3132
|
},
|
|
@@ -3051,15 +3134,15 @@
|
|
|
3051
3134
|
},
|
|
3052
3135
|
{
|
|
3053
3136
|
"kind": "field",
|
|
3054
|
-
"name": "
|
|
3137
|
+
"name": "state",
|
|
3055
3138
|
"type": {
|
|
3056
|
-
"text": "
|
|
3139
|
+
"text": "AIIndicatorState"
|
|
3057
3140
|
},
|
|
3058
|
-
"default": "
|
|
3141
|
+
"default": "'none'"
|
|
3059
3142
|
},
|
|
3060
3143
|
{
|
|
3061
3144
|
"kind": "field",
|
|
3062
|
-
"name": "
|
|
3145
|
+
"name": "isInstalling",
|
|
3063
3146
|
"type": {
|
|
3064
3147
|
"text": "boolean"
|
|
3065
3148
|
},
|
|
@@ -3067,33 +3150,29 @@
|
|
|
3067
3150
|
},
|
|
3068
3151
|
{
|
|
3069
3152
|
"kind": "field",
|
|
3070
|
-
"name": "
|
|
3153
|
+
"name": "pollTimer",
|
|
3071
3154
|
"type": {
|
|
3072
|
-
"text": "
|
|
3155
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3073
3156
|
},
|
|
3074
|
-
"privacy": "
|
|
3157
|
+
"privacy": "private",
|
|
3158
|
+
"default": "null"
|
|
3075
3159
|
},
|
|
3076
3160
|
{
|
|
3077
3161
|
"kind": "field",
|
|
3078
|
-
"name": "
|
|
3079
|
-
"
|
|
3080
|
-
"text": "(() => void) | null"
|
|
3081
|
-
},
|
|
3082
|
-
"privacy": "private",
|
|
3083
|
-
"default": "null"
|
|
3162
|
+
"name": "clickOutside",
|
|
3163
|
+
"privacy": "private"
|
|
3084
3164
|
},
|
|
3085
3165
|
{
|
|
3086
3166
|
"kind": "field",
|
|
3087
|
-
"name": "
|
|
3167
|
+
"name": "chromeStatusLabel",
|
|
3088
3168
|
"type": {
|
|
3089
|
-
"text": "
|
|
3169
|
+
"text": "string | null"
|
|
3090
3170
|
},
|
|
3091
|
-
"
|
|
3092
|
-
"default": "null"
|
|
3171
|
+
"readonly": true
|
|
3093
3172
|
},
|
|
3094
3173
|
{
|
|
3095
3174
|
"kind": "field",
|
|
3096
|
-
"name": "
|
|
3175
|
+
"name": "canInstall",
|
|
3097
3176
|
"type": {
|
|
3098
3177
|
"text": "boolean"
|
|
3099
3178
|
},
|
|
@@ -3101,65 +3180,69 @@
|
|
|
3101
3180
|
},
|
|
3102
3181
|
{
|
|
3103
3182
|
"kind": "field",
|
|
3104
|
-
"name": "
|
|
3183
|
+
"name": "isDownloading",
|
|
3105
3184
|
"type": {
|
|
3106
|
-
"text": "
|
|
3185
|
+
"text": "boolean"
|
|
3107
3186
|
},
|
|
3108
3187
|
"readonly": true
|
|
3109
3188
|
},
|
|
3110
3189
|
{
|
|
3111
3190
|
"kind": "method",
|
|
3112
|
-
"name": "
|
|
3113
|
-
"privacy": "private",
|
|
3191
|
+
"name": "openChanged",
|
|
3114
3192
|
"return": {
|
|
3115
3193
|
"type": {
|
|
3116
|
-
"text": "
|
|
3194
|
+
"text": "void"
|
|
3117
3195
|
}
|
|
3118
|
-
}
|
|
3196
|
+
}
|
|
3197
|
+
},
|
|
3198
|
+
{
|
|
3199
|
+
"kind": "method",
|
|
3200
|
+
"name": "handleClickOutside",
|
|
3201
|
+
"privacy": "private",
|
|
3119
3202
|
"parameters": [
|
|
3120
3203
|
{
|
|
3121
|
-
"name": "
|
|
3204
|
+
"name": "event",
|
|
3122
3205
|
"type": {
|
|
3123
|
-
"text": "
|
|
3206
|
+
"text": "MouseEvent"
|
|
3124
3207
|
}
|
|
3125
3208
|
}
|
|
3126
3209
|
]
|
|
3127
3210
|
},
|
|
3128
3211
|
{
|
|
3129
3212
|
"kind": "method",
|
|
3130
|
-
"name": "
|
|
3213
|
+
"name": "toggleDropdown"
|
|
3214
|
+
},
|
|
3215
|
+
{
|
|
3216
|
+
"kind": "method",
|
|
3217
|
+
"name": "refreshStatus",
|
|
3131
3218
|
"return": {
|
|
3132
3219
|
"type": {
|
|
3133
|
-
"text": "void"
|
|
3220
|
+
"text": "Promise<void>"
|
|
3134
3221
|
}
|
|
3135
3222
|
}
|
|
3136
3223
|
},
|
|
3137
3224
|
{
|
|
3138
3225
|
"kind": "method",
|
|
3139
|
-
"name": "
|
|
3226
|
+
"name": "deriveState",
|
|
3227
|
+
"privacy": "private",
|
|
3140
3228
|
"return": {
|
|
3141
3229
|
"type": {
|
|
3142
|
-
"text": "
|
|
3230
|
+
"text": "AIIndicatorState"
|
|
3143
3231
|
}
|
|
3144
3232
|
},
|
|
3145
3233
|
"parameters": [
|
|
3146
3234
|
{
|
|
3147
|
-
"name": "
|
|
3148
|
-
"type": {
|
|
3149
|
-
"text": "number"
|
|
3150
|
-
}
|
|
3151
|
-
},
|
|
3152
|
-
{
|
|
3153
|
-
"name": "clauseIndex",
|
|
3235
|
+
"name": "s",
|
|
3154
3236
|
"type": {
|
|
3155
|
-
"text": "
|
|
3237
|
+
"text": "AIStatus | null"
|
|
3156
3238
|
}
|
|
3157
3239
|
}
|
|
3158
3240
|
]
|
|
3159
3241
|
},
|
|
3160
3242
|
{
|
|
3161
3243
|
"kind": "method",
|
|
3162
|
-
"name": "
|
|
3244
|
+
"name": "maybeStartPolling",
|
|
3245
|
+
"privacy": "private",
|
|
3163
3246
|
"return": {
|
|
3164
3247
|
"type": {
|
|
3165
3248
|
"text": "void"
|
|
@@ -3168,24 +3251,32 @@
|
|
|
3168
3251
|
},
|
|
3169
3252
|
{
|
|
3170
3253
|
"kind": "method",
|
|
3171
|
-
"name": "
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
"kind": "method",
|
|
3179
|
-
"name": "clear"
|
|
3254
|
+
"name": "startPolling",
|
|
3255
|
+
"privacy": "private",
|
|
3256
|
+
"return": {
|
|
3257
|
+
"type": {
|
|
3258
|
+
"text": "void"
|
|
3259
|
+
}
|
|
3260
|
+
}
|
|
3180
3261
|
},
|
|
3181
3262
|
{
|
|
3182
3263
|
"kind": "method",
|
|
3183
|
-
"name": "
|
|
3264
|
+
"name": "stopPolling",
|
|
3265
|
+
"privacy": "private",
|
|
3266
|
+
"return": {
|
|
3267
|
+
"type": {
|
|
3268
|
+
"text": "void"
|
|
3269
|
+
}
|
|
3270
|
+
}
|
|
3184
3271
|
},
|
|
3185
3272
|
{
|
|
3186
3273
|
"kind": "method",
|
|
3187
|
-
"name": "
|
|
3188
|
-
"
|
|
3274
|
+
"name": "onInstall",
|
|
3275
|
+
"return": {
|
|
3276
|
+
"type": {
|
|
3277
|
+
"text": "Promise<void>"
|
|
3278
|
+
}
|
|
3279
|
+
}
|
|
3189
3280
|
},
|
|
3190
3281
|
{
|
|
3191
3282
|
"kind": "field",
|
|
@@ -3299,259 +3390,141 @@
|
|
|
3299
3390
|
}
|
|
3300
3391
|
}
|
|
3301
3392
|
],
|
|
3302
|
-
"events": [
|
|
3303
|
-
{
|
|
3304
|
-
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3305
|
-
"name": "criteria-changed"
|
|
3306
|
-
},
|
|
3307
|
-
{
|
|
3308
|
-
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3309
|
-
"name": "validation-errors"
|
|
3310
|
-
}
|
|
3311
|
-
],
|
|
3312
|
-
"attributes": [
|
|
3313
|
-
{
|
|
3314
|
-
"name": "placeholder",
|
|
3315
|
-
"type": {
|
|
3316
|
-
"text": "string"
|
|
3317
|
-
},
|
|
3318
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3319
|
-
"fieldName": "placeholder"
|
|
3320
|
-
},
|
|
3321
|
-
{
|
|
3322
|
-
"type": {
|
|
3323
|
-
"text": "boolean"
|
|
3324
|
-
},
|
|
3325
|
-
"fieldName": "disabled"
|
|
3326
|
-
}
|
|
3327
|
-
],
|
|
3328
3393
|
"superclass": {
|
|
3329
|
-
"name": "FoundationElement",
|
|
3330
|
-
"package": "@microsoft/fast-foundation"
|
|
3331
|
-
},
|
|
3332
|
-
"tagName": "%%prefix%%-ai-
|
|
3333
|
-
"customElement": true
|
|
3334
|
-
},
|
|
3335
|
-
{
|
|
3336
|
-
"kind": "variable",
|
|
3337
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3338
|
-
"type": {
|
|
3339
|
-
"text": "ShadowRootInit"
|
|
3340
|
-
},
|
|
3341
|
-
"default": "undefined"
|
|
3342
|
-
},
|
|
3343
|
-
{
|
|
3344
|
-
"kind": "variable",
|
|
3345
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3346
|
-
"type": {
|
|
3347
|
-
"text": "object"
|
|
3348
|
-
},
|
|
3349
|
-
"default": "{}"
|
|
3350
|
-
},
|
|
3351
|
-
{
|
|
3352
|
-
"kind": "variable",
|
|
3353
|
-
"name": "foundationAiCriteriaSearch"
|
|
3354
|
-
}
|
|
3355
|
-
],
|
|
3356
|
-
"exports": [
|
|
3357
|
-
{
|
|
3358
|
-
"kind": "js",
|
|
3359
|
-
"name": "AiCriteriaSearch",
|
|
3360
|
-
"declaration": {
|
|
3361
|
-
"name": "AiCriteriaSearch",
|
|
3362
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3363
|
-
}
|
|
3364
|
-
},
|
|
3365
|
-
{
|
|
3366
|
-
"kind": "js",
|
|
3367
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3368
|
-
"declaration": {
|
|
3369
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3370
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3371
|
-
}
|
|
3394
|
+
"name": "FoundationElement",
|
|
3395
|
+
"package": "@microsoft/fast-foundation"
|
|
3396
|
+
},
|
|
3397
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3398
|
+
"customElement": true
|
|
3372
3399
|
},
|
|
3400
|
+
{
|
|
3401
|
+
"kind": "variable",
|
|
3402
|
+
"name": "foundationAiIndicator"
|
|
3403
|
+
}
|
|
3404
|
+
],
|
|
3405
|
+
"exports": [
|
|
3373
3406
|
{
|
|
3374
3407
|
"kind": "js",
|
|
3375
|
-
"name": "
|
|
3408
|
+
"name": "AiIndicator",
|
|
3376
3409
|
"declaration": {
|
|
3377
|
-
"name": "
|
|
3378
|
-
"module": "src/ai-
|
|
3410
|
+
"name": "AiIndicator",
|
|
3411
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3379
3412
|
}
|
|
3380
3413
|
},
|
|
3381
3414
|
{
|
|
3382
3415
|
"kind": "js",
|
|
3383
|
-
"name": "
|
|
3416
|
+
"name": "foundationAiIndicator",
|
|
3384
3417
|
"declaration": {
|
|
3385
|
-
"name": "
|
|
3386
|
-
"module": "src/ai-
|
|
3418
|
+
"name": "foundationAiIndicator",
|
|
3419
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3387
3420
|
}
|
|
3388
3421
|
}
|
|
3389
3422
|
]
|
|
3390
3423
|
},
|
|
3391
3424
|
{
|
|
3392
3425
|
"kind": "javascript-module",
|
|
3393
|
-
"path": "src/ai-
|
|
3426
|
+
"path": "src/ai-indicator/index.ts",
|
|
3394
3427
|
"declarations": [],
|
|
3395
3428
|
"exports": [
|
|
3396
3429
|
{
|
|
3397
3430
|
"kind": "js",
|
|
3398
|
-
"name": "
|
|
3399
|
-
"declaration": {
|
|
3400
|
-
"name": "AiCriteriaSearch",
|
|
3401
|
-
"module": "./ai-criteria-search"
|
|
3402
|
-
}
|
|
3403
|
-
},
|
|
3404
|
-
{
|
|
3405
|
-
"kind": "js",
|
|
3406
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3407
|
-
"declaration": {
|
|
3408
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3409
|
-
"module": "./ai-criteria-search"
|
|
3410
|
-
}
|
|
3411
|
-
},
|
|
3412
|
-
{
|
|
3413
|
-
"kind": "js",
|
|
3414
|
-
"name": "foundationAiCriteriaSearch",
|
|
3415
|
-
"declaration": {
|
|
3416
|
-
"name": "foundationAiCriteriaSearch",
|
|
3417
|
-
"module": "./ai-criteria-search"
|
|
3418
|
-
}
|
|
3419
|
-
},
|
|
3420
|
-
{
|
|
3421
|
-
"kind": "js",
|
|
3422
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3431
|
+
"name": "AiIndicator",
|
|
3423
3432
|
"declaration": {
|
|
3424
|
-
"name": "
|
|
3425
|
-
"module": "./ai-
|
|
3433
|
+
"name": "AiIndicator",
|
|
3434
|
+
"module": "./ai-indicator"
|
|
3426
3435
|
}
|
|
3427
3436
|
},
|
|
3428
3437
|
{
|
|
3429
3438
|
"kind": "js",
|
|
3430
|
-
"name": "
|
|
3439
|
+
"name": "foundationAiIndicator",
|
|
3431
3440
|
"declaration": {
|
|
3432
|
-
"name": "
|
|
3433
|
-
"module": "./ai-
|
|
3441
|
+
"name": "foundationAiIndicator",
|
|
3442
|
+
"module": "./ai-indicator"
|
|
3434
3443
|
}
|
|
3435
3444
|
},
|
|
3436
3445
|
{
|
|
3437
3446
|
"kind": "js",
|
|
3438
|
-
"name": "
|
|
3447
|
+
"name": "type",
|
|
3439
3448
|
"declaration": {
|
|
3440
|
-
"name": "
|
|
3441
|
-
"module": "./ai-
|
|
3449
|
+
"name": "type",
|
|
3450
|
+
"module": "./ai-indicator"
|
|
3442
3451
|
}
|
|
3443
3452
|
},
|
|
3444
3453
|
{
|
|
3445
3454
|
"kind": "js",
|
|
3446
|
-
"name": "
|
|
3455
|
+
"name": "AIIndicatorState",
|
|
3447
3456
|
"declaration": {
|
|
3448
|
-
"name": "
|
|
3449
|
-
"
|
|
3457
|
+
"name": "AIIndicatorState",
|
|
3458
|
+
"module": "./ai-indicator"
|
|
3450
3459
|
}
|
|
3451
3460
|
},
|
|
3452
3461
|
{
|
|
3453
3462
|
"kind": "js",
|
|
3454
|
-
"name": "
|
|
3463
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3455
3464
|
"declaration": {
|
|
3456
|
-
"name": "
|
|
3457
|
-
"
|
|
3465
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3466
|
+
"module": "./ai-indicator.template"
|
|
3458
3467
|
}
|
|
3459
3468
|
},
|
|
3460
3469
|
{
|
|
3461
3470
|
"kind": "js",
|
|
3462
|
-
"name": "
|
|
3471
|
+
"name": "foundationAiIndicatorStyles",
|
|
3463
3472
|
"declaration": {
|
|
3464
|
-
"name": "
|
|
3465
|
-
"
|
|
3473
|
+
"name": "foundationAiIndicatorStyles",
|
|
3474
|
+
"module": "./ai-indicator.styles"
|
|
3466
3475
|
}
|
|
3467
3476
|
}
|
|
3468
3477
|
]
|
|
3469
3478
|
},
|
|
3470
3479
|
{
|
|
3471
3480
|
"kind": "javascript-module",
|
|
3472
|
-
"path": "src/
|
|
3481
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3473
3482
|
"declarations": [
|
|
3474
3483
|
{
|
|
3475
3484
|
"kind": "function",
|
|
3476
|
-
"name": "
|
|
3485
|
+
"name": "foundationAccordionStyles",
|
|
3477
3486
|
"return": {
|
|
3478
3487
|
"type": {
|
|
3479
|
-
"text": "
|
|
3488
|
+
"text": "ElementStyles"
|
|
3480
3489
|
}
|
|
3481
3490
|
},
|
|
3482
3491
|
"parameters": [
|
|
3483
3492
|
{
|
|
3484
|
-
"name": "
|
|
3493
|
+
"name": "context",
|
|
3485
3494
|
"type": {
|
|
3486
|
-
"text": "
|
|
3495
|
+
"text": "ElementDefinitionContext"
|
|
3487
3496
|
}
|
|
3488
|
-
}
|
|
3489
|
-
],
|
|
3490
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3491
|
-
},
|
|
3492
|
-
{
|
|
3493
|
-
"kind": "function",
|
|
3494
|
-
"name": "showCriteriaError",
|
|
3495
|
-
"return": {
|
|
3496
|
-
"type": {
|
|
3497
|
-
"text": "void"
|
|
3498
|
-
}
|
|
3499
|
-
},
|
|
3500
|
-
"parameters": [
|
|
3501
|
-
{
|
|
3502
|
-
"name": "title",
|
|
3503
|
-
"type": {
|
|
3504
|
-
"text": "string"
|
|
3505
|
-
},
|
|
3506
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3507
|
-
},
|
|
3508
|
-
{
|
|
3509
|
-
"name": "body",
|
|
3510
|
-
"type": {
|
|
3511
|
-
"text": "string"
|
|
3512
|
-
},
|
|
3513
|
-
"description": "Error message to display"
|
|
3514
3497
|
},
|
|
3515
3498
|
{
|
|
3516
|
-
"name": "
|
|
3499
|
+
"name": "definition",
|
|
3517
3500
|
"type": {
|
|
3518
|
-
"text": "
|
|
3519
|
-
}
|
|
3520
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3501
|
+
"text": "FoundationElementDefinition"
|
|
3502
|
+
}
|
|
3521
3503
|
}
|
|
3522
|
-
]
|
|
3523
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3504
|
+
]
|
|
3524
3505
|
}
|
|
3525
3506
|
],
|
|
3526
3507
|
"exports": [
|
|
3527
3508
|
{
|
|
3528
3509
|
"kind": "js",
|
|
3529
|
-
"name": "
|
|
3530
|
-
"declaration": {
|
|
3531
|
-
"name": "formatValidationErrors",
|
|
3532
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3533
|
-
}
|
|
3534
|
-
},
|
|
3535
|
-
{
|
|
3536
|
-
"kind": "js",
|
|
3537
|
-
"name": "showCriteriaError",
|
|
3510
|
+
"name": "foundationAccordionStyles",
|
|
3538
3511
|
"declaration": {
|
|
3539
|
-
"name": "
|
|
3540
|
-
"module": "src/
|
|
3512
|
+
"name": "foundationAccordionStyles",
|
|
3513
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3541
3514
|
}
|
|
3542
3515
|
}
|
|
3543
3516
|
]
|
|
3544
3517
|
},
|
|
3545
3518
|
{
|
|
3546
3519
|
"kind": "javascript-module",
|
|
3547
|
-
"path": "src/
|
|
3520
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3548
3521
|
"declarations": [
|
|
3549
3522
|
{
|
|
3550
3523
|
"kind": "function",
|
|
3551
|
-
"name": "
|
|
3524
|
+
"name": "foundationAccordionTemplate",
|
|
3552
3525
|
"return": {
|
|
3553
3526
|
"type": {
|
|
3554
|
-
"text": "
|
|
3527
|
+
"text": "ViewTemplate<Accordion>"
|
|
3555
3528
|
}
|
|
3556
3529
|
},
|
|
3557
3530
|
"parameters": [
|
|
@@ -3573,224 +3546,237 @@
|
|
|
3573
3546
|
"exports": [
|
|
3574
3547
|
{
|
|
3575
3548
|
"kind": "js",
|
|
3576
|
-
"name": "
|
|
3577
|
-
"declaration": {
|
|
3578
|
-
"name": "foundationAiIndicatorStyles",
|
|
3579
|
-
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3580
|
-
}
|
|
3581
|
-
}
|
|
3582
|
-
]
|
|
3583
|
-
},
|
|
3584
|
-
{
|
|
3585
|
-
"kind": "javascript-module",
|
|
3586
|
-
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3587
|
-
"declarations": [
|
|
3588
|
-
{
|
|
3589
|
-
"kind": "variable",
|
|
3590
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3591
|
-
"type": {
|
|
3592
|
-
"text": "ViewTemplate<AiIndicator>"
|
|
3593
|
-
},
|
|
3594
|
-
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3595
|
-
}
|
|
3596
|
-
],
|
|
3597
|
-
"exports": [
|
|
3598
|
-
{
|
|
3599
|
-
"kind": "js",
|
|
3600
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3549
|
+
"name": "foundationAccordionTemplate",
|
|
3601
3550
|
"declaration": {
|
|
3602
|
-
"name": "
|
|
3603
|
-
"module": "src/
|
|
3551
|
+
"name": "foundationAccordionTemplate",
|
|
3552
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3604
3553
|
}
|
|
3605
3554
|
}
|
|
3606
3555
|
]
|
|
3607
3556
|
},
|
|
3608
3557
|
{
|
|
3609
3558
|
"kind": "javascript-module",
|
|
3610
|
-
"path": "src/
|
|
3559
|
+
"path": "src/accordion/accordion.ts",
|
|
3611
3560
|
"declarations": [
|
|
3612
3561
|
{
|
|
3613
3562
|
"kind": "class",
|
|
3614
3563
|
"description": "",
|
|
3615
|
-
"name": "
|
|
3616
|
-
"
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
},
|
|
3624
|
-
{
|
|
3625
|
-
"kind": "field",
|
|
3626
|
-
"name": "aiProvider",
|
|
3627
|
-
"type": {
|
|
3628
|
-
"text": "AIProvider | undefined"
|
|
3629
|
-
},
|
|
3630
|
-
"privacy": "private",
|
|
3631
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3632
|
-
"readonly": true
|
|
3633
|
-
},
|
|
3564
|
+
"name": "Accordion",
|
|
3565
|
+
"superclass": {
|
|
3566
|
+
"name": "FASTAccordion",
|
|
3567
|
+
"package": "@microsoft/fast-foundation"
|
|
3568
|
+
},
|
|
3569
|
+
"tagName": "%%prefix%%-accordion",
|
|
3570
|
+
"customElement": true,
|
|
3571
|
+
"attributes": [
|
|
3634
3572
|
{
|
|
3635
|
-
"
|
|
3636
|
-
"name": "status",
|
|
3573
|
+
"name": "expand-mode",
|
|
3637
3574
|
"type": {
|
|
3638
|
-
"text": "
|
|
3575
|
+
"text": "AccordionExpandMode"
|
|
3639
3576
|
},
|
|
3640
|
-
"
|
|
3641
|
-
|
|
3577
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3578
|
+
"fieldName": "expandmode",
|
|
3579
|
+
"inheritedFrom": {
|
|
3580
|
+
"name": "Accordion",
|
|
3581
|
+
"module": "src/accordion/accordion.ts"
|
|
3582
|
+
}
|
|
3583
|
+
}
|
|
3584
|
+
],
|
|
3585
|
+
"members": [
|
|
3642
3586
|
{
|
|
3643
3587
|
"kind": "field",
|
|
3644
|
-
"name": "
|
|
3588
|
+
"name": "expandmode",
|
|
3645
3589
|
"type": {
|
|
3646
|
-
"text": "
|
|
3590
|
+
"text": "AccordionExpandMode"
|
|
3647
3591
|
},
|
|
3648
|
-
"
|
|
3592
|
+
"privacy": "public",
|
|
3593
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3594
|
+
"inheritedFrom": {
|
|
3595
|
+
"name": "Accordion",
|
|
3596
|
+
"module": "src/accordion/accordion.ts"
|
|
3597
|
+
}
|
|
3649
3598
|
},
|
|
3650
3599
|
{
|
|
3651
3600
|
"kind": "field",
|
|
3652
|
-
"name": "
|
|
3601
|
+
"name": "activeid",
|
|
3653
3602
|
"type": {
|
|
3654
|
-
"text": "
|
|
3603
|
+
"text": "string | null"
|
|
3655
3604
|
},
|
|
3656
|
-
"
|
|
3605
|
+
"privacy": "private",
|
|
3606
|
+
"inheritedFrom": {
|
|
3607
|
+
"name": "Accordion",
|
|
3608
|
+
"module": "src/accordion/accordion.ts"
|
|
3609
|
+
}
|
|
3657
3610
|
},
|
|
3658
3611
|
{
|
|
3659
3612
|
"kind": "field",
|
|
3660
|
-
"name": "
|
|
3613
|
+
"name": "activeItemIndex",
|
|
3661
3614
|
"type": {
|
|
3662
|
-
"text": "
|
|
3615
|
+
"text": "number"
|
|
3663
3616
|
},
|
|
3664
|
-
"
|
|
3617
|
+
"privacy": "private",
|
|
3618
|
+
"default": "0",
|
|
3619
|
+
"inheritedFrom": {
|
|
3620
|
+
"name": "Accordion",
|
|
3621
|
+
"module": "src/accordion/accordion.ts"
|
|
3622
|
+
}
|
|
3665
3623
|
},
|
|
3666
3624
|
{
|
|
3667
3625
|
"kind": "field",
|
|
3668
|
-
"name": "
|
|
3626
|
+
"name": "accordionIds",
|
|
3669
3627
|
"type": {
|
|
3670
|
-
"text": "
|
|
3628
|
+
"text": "Array<string | null>"
|
|
3671
3629
|
},
|
|
3672
3630
|
"privacy": "private",
|
|
3673
|
-
"
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
"name": "clickOutside",
|
|
3678
|
-
"privacy": "private"
|
|
3631
|
+
"inheritedFrom": {
|
|
3632
|
+
"name": "Accordion",
|
|
3633
|
+
"module": "src/accordion/accordion.ts"
|
|
3634
|
+
}
|
|
3679
3635
|
},
|
|
3680
3636
|
{
|
|
3681
3637
|
"kind": "field",
|
|
3682
|
-
"name": "
|
|
3683
|
-
"
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3638
|
+
"name": "change",
|
|
3639
|
+
"privacy": "private",
|
|
3640
|
+
"inheritedFrom": {
|
|
3641
|
+
"name": "Accordion",
|
|
3642
|
+
"module": "src/accordion/accordion.ts"
|
|
3643
|
+
}
|
|
3687
3644
|
},
|
|
3688
3645
|
{
|
|
3689
|
-
"kind": "
|
|
3690
|
-
"name": "
|
|
3691
|
-
"
|
|
3692
|
-
|
|
3646
|
+
"kind": "method",
|
|
3647
|
+
"name": "findExpandedItem",
|
|
3648
|
+
"privacy": "private",
|
|
3649
|
+
"return": {
|
|
3650
|
+
"type": {
|
|
3651
|
+
"text": "AccordionItem | null"
|
|
3652
|
+
}
|
|
3693
3653
|
},
|
|
3694
|
-
"
|
|
3654
|
+
"inheritedFrom": {
|
|
3655
|
+
"name": "Accordion",
|
|
3656
|
+
"module": "src/accordion/accordion.ts"
|
|
3657
|
+
}
|
|
3695
3658
|
},
|
|
3696
3659
|
{
|
|
3697
3660
|
"kind": "field",
|
|
3698
|
-
"name": "
|
|
3699
|
-
"
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3661
|
+
"name": "setItems",
|
|
3662
|
+
"privacy": "private",
|
|
3663
|
+
"inheritedFrom": {
|
|
3664
|
+
"name": "Accordion",
|
|
3665
|
+
"module": "src/accordion/accordion.ts"
|
|
3666
|
+
}
|
|
3703
3667
|
},
|
|
3704
3668
|
{
|
|
3705
3669
|
"kind": "method",
|
|
3706
|
-
"name": "
|
|
3670
|
+
"name": "resetItems",
|
|
3671
|
+
"privacy": "private",
|
|
3707
3672
|
"return": {
|
|
3708
3673
|
"type": {
|
|
3709
3674
|
"text": "void"
|
|
3710
3675
|
}
|
|
3676
|
+
},
|
|
3677
|
+
"inheritedFrom": {
|
|
3678
|
+
"name": "Accordion",
|
|
3679
|
+
"module": "src/accordion/accordion.ts"
|
|
3711
3680
|
}
|
|
3712
3681
|
},
|
|
3713
3682
|
{
|
|
3714
|
-
"kind": "
|
|
3715
|
-
"name": "
|
|
3683
|
+
"kind": "field",
|
|
3684
|
+
"name": "removeItemListeners",
|
|
3716
3685
|
"privacy": "private",
|
|
3717
|
-
"
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
"text": "MouseEvent"
|
|
3722
|
-
}
|
|
3723
|
-
}
|
|
3724
|
-
]
|
|
3686
|
+
"inheritedFrom": {
|
|
3687
|
+
"name": "Accordion",
|
|
3688
|
+
"module": "src/accordion/accordion.ts"
|
|
3689
|
+
}
|
|
3725
3690
|
},
|
|
3726
3691
|
{
|
|
3727
|
-
"kind": "
|
|
3728
|
-
"name": "
|
|
3692
|
+
"kind": "field",
|
|
3693
|
+
"name": "activeItemChange",
|
|
3694
|
+
"privacy": "private",
|
|
3695
|
+
"inheritedFrom": {
|
|
3696
|
+
"name": "Accordion",
|
|
3697
|
+
"module": "src/accordion/accordion.ts"
|
|
3698
|
+
}
|
|
3729
3699
|
},
|
|
3730
3700
|
{
|
|
3731
3701
|
"kind": "method",
|
|
3732
|
-
"name": "
|
|
3702
|
+
"name": "getItemIds",
|
|
3703
|
+
"privacy": "private",
|
|
3733
3704
|
"return": {
|
|
3734
3705
|
"type": {
|
|
3735
|
-
"text": "
|
|
3706
|
+
"text": "Array<string | null>"
|
|
3736
3707
|
}
|
|
3708
|
+
},
|
|
3709
|
+
"inheritedFrom": {
|
|
3710
|
+
"name": "Accordion",
|
|
3711
|
+
"module": "src/accordion/accordion.ts"
|
|
3737
3712
|
}
|
|
3738
3713
|
},
|
|
3739
3714
|
{
|
|
3740
3715
|
"kind": "method",
|
|
3741
|
-
"name": "
|
|
3716
|
+
"name": "isSingleExpandMode",
|
|
3742
3717
|
"privacy": "private",
|
|
3743
3718
|
"return": {
|
|
3744
3719
|
"type": {
|
|
3745
|
-
"text": "
|
|
3720
|
+
"text": "boolean"
|
|
3746
3721
|
}
|
|
3747
3722
|
},
|
|
3748
|
-
"
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
"text": "AIStatus | null"
|
|
3753
|
-
}
|
|
3754
|
-
}
|
|
3755
|
-
]
|
|
3723
|
+
"inheritedFrom": {
|
|
3724
|
+
"name": "Accordion",
|
|
3725
|
+
"module": "src/accordion/accordion.ts"
|
|
3726
|
+
}
|
|
3756
3727
|
},
|
|
3757
3728
|
{
|
|
3758
|
-
"kind": "
|
|
3759
|
-
"name": "
|
|
3729
|
+
"kind": "field",
|
|
3730
|
+
"name": "handleItemKeyDown",
|
|
3760
3731
|
"privacy": "private",
|
|
3761
|
-
"
|
|
3762
|
-
"
|
|
3763
|
-
|
|
3764
|
-
}
|
|
3732
|
+
"inheritedFrom": {
|
|
3733
|
+
"name": "Accordion",
|
|
3734
|
+
"module": "src/accordion/accordion.ts"
|
|
3765
3735
|
}
|
|
3766
3736
|
},
|
|
3767
3737
|
{
|
|
3768
|
-
"kind": "
|
|
3769
|
-
"name": "
|
|
3738
|
+
"kind": "field",
|
|
3739
|
+
"name": "handleItemFocus",
|
|
3770
3740
|
"privacy": "private",
|
|
3771
|
-
"
|
|
3772
|
-
"
|
|
3773
|
-
|
|
3774
|
-
}
|
|
3741
|
+
"inheritedFrom": {
|
|
3742
|
+
"name": "Accordion",
|
|
3743
|
+
"module": "src/accordion/accordion.ts"
|
|
3775
3744
|
}
|
|
3776
3745
|
},
|
|
3777
3746
|
{
|
|
3778
3747
|
"kind": "method",
|
|
3779
|
-
"name": "
|
|
3748
|
+
"name": "adjust",
|
|
3780
3749
|
"privacy": "private",
|
|
3781
3750
|
"return": {
|
|
3782
3751
|
"type": {
|
|
3783
3752
|
"text": "void"
|
|
3784
3753
|
}
|
|
3754
|
+
},
|
|
3755
|
+
"parameters": [
|
|
3756
|
+
{
|
|
3757
|
+
"name": "adjustment",
|
|
3758
|
+
"type": {
|
|
3759
|
+
"text": "number"
|
|
3760
|
+
}
|
|
3761
|
+
}
|
|
3762
|
+
],
|
|
3763
|
+
"inheritedFrom": {
|
|
3764
|
+
"name": "Accordion",
|
|
3765
|
+
"module": "src/accordion/accordion.ts"
|
|
3785
3766
|
}
|
|
3786
3767
|
},
|
|
3787
3768
|
{
|
|
3788
3769
|
"kind": "method",
|
|
3789
|
-
"name": "
|
|
3770
|
+
"name": "focusItem",
|
|
3771
|
+
"privacy": "private",
|
|
3790
3772
|
"return": {
|
|
3791
3773
|
"type": {
|
|
3792
|
-
"text": "
|
|
3774
|
+
"text": "void"
|
|
3793
3775
|
}
|
|
3776
|
+
},
|
|
3777
|
+
"inheritedFrom": {
|
|
3778
|
+
"name": "Accordion",
|
|
3779
|
+
"module": "src/accordion/accordion.ts"
|
|
3794
3780
|
}
|
|
3795
3781
|
},
|
|
3796
3782
|
{
|
|
@@ -3905,88 +3891,102 @@
|
|
|
3905
3891
|
}
|
|
3906
3892
|
}
|
|
3907
3893
|
],
|
|
3908
|
-
"
|
|
3909
|
-
|
|
3910
|
-
|
|
3894
|
+
"events": [
|
|
3895
|
+
{
|
|
3896
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3897
|
+
"name": "change",
|
|
3898
|
+
"inheritedFrom": {
|
|
3899
|
+
"name": "Accordion",
|
|
3900
|
+
"module": "src/accordion/accordion.ts"
|
|
3901
|
+
}
|
|
3902
|
+
}
|
|
3903
|
+
]
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"kind": "variable",
|
|
3907
|
+
"name": "foundationAccordionShadowOptions",
|
|
3908
|
+
"type": {
|
|
3909
|
+
"text": "ShadowRootInit"
|
|
3911
3910
|
},
|
|
3912
|
-
"
|
|
3913
|
-
"customElement": true
|
|
3911
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3914
3912
|
},
|
|
3915
3913
|
{
|
|
3916
3914
|
"kind": "variable",
|
|
3917
|
-
"name": "
|
|
3915
|
+
"name": "defaultAccordionConfig",
|
|
3916
|
+
"type": {
|
|
3917
|
+
"text": "object"
|
|
3918
|
+
},
|
|
3919
|
+
"default": "{}"
|
|
3920
|
+
},
|
|
3921
|
+
{
|
|
3922
|
+
"kind": "variable",
|
|
3923
|
+
"name": "foundationAccordion",
|
|
3924
|
+
"description": "The Foundation Accordion",
|
|
3925
|
+
"privacy": "public"
|
|
3918
3926
|
}
|
|
3919
3927
|
],
|
|
3920
3928
|
"exports": [
|
|
3921
3929
|
{
|
|
3922
3930
|
"kind": "js",
|
|
3923
|
-
"name": "
|
|
3931
|
+
"name": "Accordion",
|
|
3924
3932
|
"declaration": {
|
|
3925
|
-
"name": "
|
|
3926
|
-
"module": "src/
|
|
3933
|
+
"name": "Accordion",
|
|
3934
|
+
"module": "src/accordion/accordion.ts"
|
|
3927
3935
|
}
|
|
3928
3936
|
},
|
|
3929
3937
|
{
|
|
3930
3938
|
"kind": "js",
|
|
3931
|
-
"name": "
|
|
3932
|
-
"declaration": {
|
|
3933
|
-
"name": "foundationAiIndicator",
|
|
3934
|
-
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3935
|
-
}
|
|
3936
|
-
}
|
|
3937
|
-
]
|
|
3938
|
-
},
|
|
3939
|
-
{
|
|
3940
|
-
"kind": "javascript-module",
|
|
3941
|
-
"path": "src/ai-indicator/index.ts",
|
|
3942
|
-
"declarations": [],
|
|
3943
|
-
"exports": [
|
|
3944
|
-
{
|
|
3945
|
-
"kind": "js",
|
|
3946
|
-
"name": "AiIndicator",
|
|
3939
|
+
"name": "foundationAccordionShadowOptions",
|
|
3947
3940
|
"declaration": {
|
|
3948
|
-
"name": "
|
|
3949
|
-
"module": "
|
|
3941
|
+
"name": "foundationAccordionShadowOptions",
|
|
3942
|
+
"module": "src/accordion/accordion.ts"
|
|
3950
3943
|
}
|
|
3951
3944
|
},
|
|
3952
3945
|
{
|
|
3953
3946
|
"kind": "js",
|
|
3954
|
-
"name": "
|
|
3947
|
+
"name": "defaultAccordionConfig",
|
|
3955
3948
|
"declaration": {
|
|
3956
|
-
"name": "
|
|
3957
|
-
"module": "
|
|
3949
|
+
"name": "defaultAccordionConfig",
|
|
3950
|
+
"module": "src/accordion/accordion.ts"
|
|
3958
3951
|
}
|
|
3959
3952
|
},
|
|
3960
3953
|
{
|
|
3961
3954
|
"kind": "js",
|
|
3962
|
-
"name": "
|
|
3955
|
+
"name": "foundationAccordion",
|
|
3963
3956
|
"declaration": {
|
|
3964
|
-
"name": "
|
|
3965
|
-
"module": "
|
|
3957
|
+
"name": "foundationAccordion",
|
|
3958
|
+
"module": "src/accordion/accordion.ts"
|
|
3966
3959
|
}
|
|
3967
|
-
}
|
|
3960
|
+
}
|
|
3961
|
+
]
|
|
3962
|
+
},
|
|
3963
|
+
{
|
|
3964
|
+
"kind": "javascript-module",
|
|
3965
|
+
"path": "src/accordion/index.ts",
|
|
3966
|
+
"declarations": [],
|
|
3967
|
+
"exports": [
|
|
3968
3968
|
{
|
|
3969
3969
|
"kind": "js",
|
|
3970
|
-
"name": "
|
|
3970
|
+
"name": "*",
|
|
3971
3971
|
"declaration": {
|
|
3972
|
-
"name": "
|
|
3973
|
-
"
|
|
3972
|
+
"name": "*",
|
|
3973
|
+
"package": "./accordion.template"
|
|
3974
3974
|
}
|
|
3975
3975
|
},
|
|
3976
3976
|
{
|
|
3977
3977
|
"kind": "js",
|
|
3978
|
-
"name": "
|
|
3978
|
+
"name": "*",
|
|
3979
3979
|
"declaration": {
|
|
3980
|
-
"name": "
|
|
3981
|
-
"
|
|
3980
|
+
"name": "*",
|
|
3981
|
+
"package": "./accordion.styles"
|
|
3982
3982
|
}
|
|
3983
3983
|
},
|
|
3984
3984
|
{
|
|
3985
3985
|
"kind": "js",
|
|
3986
|
-
"name": "
|
|
3986
|
+
"name": "*",
|
|
3987
3987
|
"declaration": {
|
|
3988
|
-
"name": "
|
|
3989
|
-
"
|
|
3988
|
+
"name": "*",
|
|
3989
|
+
"package": "./accordion"
|
|
3990
3990
|
}
|
|
3991
3991
|
}
|
|
3992
3992
|
]
|