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