@genesislcap/foundation-ui 15.30.1 → 15.30.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1324 -1324
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +18 -18
|
@@ -958,44 +958,27 @@
|
|
|
958
958
|
},
|
|
959
959
|
{
|
|
960
960
|
"kind": "javascript-module",
|
|
961
|
-
"path": "src/
|
|
961
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
962
962
|
"declarations": [
|
|
963
963
|
{
|
|
964
|
-
"kind": "
|
|
965
|
-
"
|
|
966
|
-
"
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
"text": "string"
|
|
973
|
-
},
|
|
974
|
-
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
975
|
-
},
|
|
964
|
+
"kind": "function",
|
|
965
|
+
"name": "foundationAccordionItemStyles",
|
|
966
|
+
"return": {
|
|
967
|
+
"type": {
|
|
968
|
+
"text": "ElementStyles"
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
"parameters": [
|
|
976
972
|
{
|
|
977
|
-
"
|
|
978
|
-
"name": "suffix",
|
|
973
|
+
"name": "context",
|
|
979
974
|
"type": {
|
|
980
|
-
"text": "
|
|
981
|
-
}
|
|
982
|
-
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
975
|
+
"text": "ElementDefinitionContext"
|
|
976
|
+
}
|
|
983
977
|
},
|
|
984
978
|
{
|
|
985
|
-
"
|
|
986
|
-
"name": "hideAffixFromScreenReader",
|
|
987
|
-
"type": {
|
|
988
|
-
"text": "boolean"
|
|
989
|
-
},
|
|
990
|
-
"default": "false",
|
|
991
|
-
"description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
|
|
992
|
-
}
|
|
993
|
-
],
|
|
994
|
-
"parameters": [
|
|
995
|
-
{
|
|
996
|
-
"name": "Base",
|
|
979
|
+
"name": "definition",
|
|
997
980
|
"type": {
|
|
998
|
-
"text": "
|
|
981
|
+
"text": "FoundationElementDefinition"
|
|
999
982
|
}
|
|
1000
983
|
}
|
|
1001
984
|
]
|
|
@@ -1004,271 +987,195 @@
|
|
|
1004
987
|
"exports": [
|
|
1005
988
|
{
|
|
1006
989
|
"kind": "js",
|
|
1007
|
-
"name": "
|
|
990
|
+
"name": "foundationAccordionItemStyles",
|
|
1008
991
|
"declaration": {
|
|
1009
|
-
"name": "
|
|
1010
|
-
"module": "src/
|
|
992
|
+
"name": "foundationAccordionItemStyles",
|
|
993
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1011
994
|
}
|
|
1012
995
|
}
|
|
1013
996
|
]
|
|
1014
997
|
},
|
|
1015
998
|
{
|
|
1016
999
|
"kind": "javascript-module",
|
|
1017
|
-
"path": "src/
|
|
1000
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1018
1001
|
"declarations": [
|
|
1019
|
-
{
|
|
1020
|
-
"kind": "variable",
|
|
1021
|
-
"name": "alertFlashPhaseProperty",
|
|
1022
|
-
"type": {
|
|
1023
|
-
"text": "string"
|
|
1024
|
-
},
|
|
1025
|
-
"default": "'--alert-flash-t'",
|
|
1026
|
-
"description": "Custom property carrying the shared alert flash phase, ramping 0 → 1 → 0.\n\nAlerting surfaces sample this rather than running animations of their own, because independent\nCSS animations start whenever their element started and drift apart. Registered as an\ninheritable `<number>` on the document, so it reaches into shadow trees — a grid row deep inside\na component's shadow DOM stays in step with a tab header in the light DOM.",
|
|
1027
|
-
"privacy": "public"
|
|
1028
|
-
},
|
|
1029
|
-
{
|
|
1030
|
-
"kind": "variable",
|
|
1031
|
-
"name": "alertFlashDurationProperty",
|
|
1032
|
-
"type": {
|
|
1033
|
-
"text": "string"
|
|
1034
|
-
},
|
|
1035
|
-
"default": "'--alert-flash-duration'",
|
|
1036
|
-
"description": "Custom property setting how long one flash cycle takes. Set it on `:root` to retime every\nalerting surface at once.",
|
|
1037
|
-
"privacy": "public"
|
|
1038
|
-
},
|
|
1039
1002
|
{
|
|
1040
1003
|
"kind": "function",
|
|
1041
|
-
"name": "
|
|
1004
|
+
"name": "foundationAccordionItemTemplate",
|
|
1042
1005
|
"return": {
|
|
1043
1006
|
"type": {
|
|
1044
|
-
"text": "
|
|
1007
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1045
1008
|
}
|
|
1046
1009
|
},
|
|
1047
|
-
"
|
|
1048
|
-
|
|
1010
|
+
"parameters": [
|
|
1011
|
+
{
|
|
1012
|
+
"name": "context",
|
|
1013
|
+
"type": {
|
|
1014
|
+
"text": "ElementDefinitionContext"
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "definition",
|
|
1019
|
+
"type": {
|
|
1020
|
+
"text": "FoundationElementDefinition"
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
]
|
|
1049
1024
|
}
|
|
1050
1025
|
],
|
|
1051
1026
|
"exports": [
|
|
1052
1027
|
{
|
|
1053
1028
|
"kind": "js",
|
|
1054
|
-
"name": "
|
|
1055
|
-
"declaration": {
|
|
1056
|
-
"name": "alertFlashPhaseProperty",
|
|
1057
|
-
"module": "src/_common/alert-flash-clock.ts"
|
|
1058
|
-
}
|
|
1059
|
-
},
|
|
1060
|
-
{
|
|
1061
|
-
"kind": "js",
|
|
1062
|
-
"name": "alertFlashDurationProperty",
|
|
1063
|
-
"declaration": {
|
|
1064
|
-
"name": "alertFlashDurationProperty",
|
|
1065
|
-
"module": "src/_common/alert-flash-clock.ts"
|
|
1066
|
-
}
|
|
1067
|
-
},
|
|
1068
|
-
{
|
|
1069
|
-
"kind": "js",
|
|
1070
|
-
"name": "installAlertFlashClock",
|
|
1029
|
+
"name": "foundationAccordionItemTemplate",
|
|
1071
1030
|
"declaration": {
|
|
1072
|
-
"name": "
|
|
1073
|
-
"module": "src/
|
|
1031
|
+
"name": "foundationAccordionItemTemplate",
|
|
1032
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1074
1033
|
}
|
|
1075
1034
|
}
|
|
1076
1035
|
]
|
|
1077
1036
|
},
|
|
1078
1037
|
{
|
|
1079
1038
|
"kind": "javascript-module",
|
|
1080
|
-
"path": "src/
|
|
1039
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1081
1040
|
"declarations": [
|
|
1082
1041
|
{
|
|
1083
1042
|
"kind": "class",
|
|
1084
|
-
"description": "
|
|
1085
|
-
"name": "
|
|
1086
|
-
"
|
|
1043
|
+
"description": "",
|
|
1044
|
+
"name": "AccordionItem",
|
|
1045
|
+
"superclass": {
|
|
1046
|
+
"name": "FASTAccordionItem",
|
|
1047
|
+
"package": "@microsoft/fast-components"
|
|
1048
|
+
},
|
|
1049
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1050
|
+
"customElement": true,
|
|
1051
|
+
"attributes": [
|
|
1087
1052
|
{
|
|
1088
|
-
"
|
|
1089
|
-
"name": "fileInput",
|
|
1053
|
+
"name": "heading-level",
|
|
1090
1054
|
"type": {
|
|
1091
|
-
"text": "
|
|
1055
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1092
1056
|
},
|
|
1093
|
-
"
|
|
1057
|
+
"default": "2",
|
|
1058
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1059
|
+
"fieldName": "headinglevel",
|
|
1060
|
+
"inheritedFrom": {
|
|
1061
|
+
"name": "AccordionItem",
|
|
1062
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1063
|
+
}
|
|
1094
1064
|
},
|
|
1095
1065
|
{
|
|
1096
|
-
"kind": "field",
|
|
1097
|
-
"name": "selectedFile",
|
|
1098
1066
|
"type": {
|
|
1099
|
-
"text": "
|
|
1067
|
+
"text": "boolean"
|
|
1100
1068
|
},
|
|
1101
|
-
"
|
|
1102
|
-
"
|
|
1069
|
+
"default": "false",
|
|
1070
|
+
"description": "Expands or collapses the item.",
|
|
1071
|
+
"fieldName": "expanded",
|
|
1072
|
+
"inheritedFrom": {
|
|
1073
|
+
"name": "AccordionItem",
|
|
1074
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1075
|
+
}
|
|
1103
1076
|
},
|
|
1104
1077
|
{
|
|
1105
|
-
"
|
|
1106
|
-
"name": "label",
|
|
1078
|
+
"name": "id",
|
|
1107
1079
|
"type": {
|
|
1108
1080
|
"text": "string"
|
|
1081
|
+
},
|
|
1082
|
+
"description": "The item ID",
|
|
1083
|
+
"fieldName": "id",
|
|
1084
|
+
"inheritedFrom": {
|
|
1085
|
+
"name": "AccordionItem",
|
|
1086
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1109
1087
|
}
|
|
1110
|
-
}
|
|
1088
|
+
}
|
|
1089
|
+
],
|
|
1090
|
+
"members": [
|
|
1111
1091
|
{
|
|
1112
1092
|
"kind": "field",
|
|
1113
|
-
"name": "
|
|
1093
|
+
"name": "headinglevel",
|
|
1114
1094
|
"type": {
|
|
1115
|
-
"text": "
|
|
1095
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1116
1096
|
},
|
|
1117
|
-
"
|
|
1097
|
+
"privacy": "public",
|
|
1098
|
+
"default": "2",
|
|
1099
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1100
|
+
"inheritedFrom": {
|
|
1101
|
+
"name": "AccordionItem",
|
|
1102
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1103
|
+
}
|
|
1118
1104
|
},
|
|
1119
1105
|
{
|
|
1120
1106
|
"kind": "field",
|
|
1121
|
-
"name": "
|
|
1122
|
-
"default": "10_485_760",
|
|
1107
|
+
"name": "expanded",
|
|
1123
1108
|
"type": {
|
|
1124
|
-
"text": "
|
|
1109
|
+
"text": "boolean"
|
|
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"
|
|
1125
1117
|
}
|
|
1126
1118
|
},
|
|
1127
1119
|
{
|
|
1128
1120
|
"kind": "field",
|
|
1129
|
-
"name": "
|
|
1121
|
+
"name": "id",
|
|
1130
1122
|
"type": {
|
|
1131
1123
|
"text": "string"
|
|
1132
1124
|
},
|
|
1133
|
-
"
|
|
1125
|
+
"privacy": "public",
|
|
1126
|
+
"description": "The item ID",
|
|
1127
|
+
"inheritedFrom": {
|
|
1128
|
+
"name": "AccordionItem",
|
|
1129
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1130
|
+
}
|
|
1134
1131
|
},
|
|
1135
1132
|
{
|
|
1136
1133
|
"kind": "field",
|
|
1137
|
-
"name": "
|
|
1134
|
+
"name": "change",
|
|
1135
|
+
"privacy": "private",
|
|
1136
|
+
"inheritedFrom": {
|
|
1137
|
+
"name": "AccordionItem",
|
|
1138
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
"kind": "field",
|
|
1143
|
+
"name": "_presentation",
|
|
1138
1144
|
"type": {
|
|
1139
|
-
"text": "
|
|
1145
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1140
1146
|
},
|
|
1141
|
-
"
|
|
1147
|
+
"privacy": "private",
|
|
1148
|
+
"default": "void 0",
|
|
1149
|
+
"inheritedFrom": {
|
|
1150
|
+
"name": "FoundationElement",
|
|
1151
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1152
|
+
}
|
|
1142
1153
|
},
|
|
1143
1154
|
{
|
|
1144
|
-
"kind": "
|
|
1145
|
-
"name": "
|
|
1155
|
+
"kind": "field",
|
|
1156
|
+
"name": "$presentation",
|
|
1157
|
+
"type": {
|
|
1158
|
+
"text": "ComponentPresentation | null"
|
|
1159
|
+
},
|
|
1146
1160
|
"privacy": "public",
|
|
1147
|
-
"description": "
|
|
1161
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1162
|
+
"inheritedFrom": {
|
|
1163
|
+
"name": "FoundationElement",
|
|
1164
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1165
|
+
}
|
|
1148
1166
|
},
|
|
1149
1167
|
{
|
|
1150
|
-
"kind": "
|
|
1151
|
-
"name": "
|
|
1168
|
+
"kind": "field",
|
|
1169
|
+
"name": "template",
|
|
1170
|
+
"type": {
|
|
1171
|
+
"text": "ElementViewTemplate | void | null"
|
|
1172
|
+
},
|
|
1152
1173
|
"privacy": "public",
|
|
1153
|
-
"
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
},
|
|
1159
|
-
"description": "The change event from the file input"
|
|
1160
|
-
}
|
|
1161
|
-
],
|
|
1162
|
-
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1163
|
-
},
|
|
1164
|
-
{
|
|
1165
|
-
"kind": "method",
|
|
1166
|
-
"name": "clearSelection",
|
|
1167
|
-
"privacy": "public",
|
|
1168
|
-
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1169
|
-
},
|
|
1170
|
-
{
|
|
1171
|
-
"kind": "method",
|
|
1172
|
-
"name": "getSelectedFile",
|
|
1173
|
-
"privacy": "public",
|
|
1174
|
-
"description": "Gets the currently selected file object",
|
|
1175
|
-
"return": {
|
|
1176
|
-
"type": {
|
|
1177
|
-
"text": ""
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
{
|
|
1182
|
-
"kind": "method",
|
|
1183
|
-
"name": "showError",
|
|
1184
|
-
"privacy": "protected",
|
|
1185
|
-
"parameters": [
|
|
1186
|
-
{
|
|
1187
|
-
"name": "title",
|
|
1188
|
-
"type": {
|
|
1189
|
-
"text": "string"
|
|
1190
|
-
},
|
|
1191
|
-
"description": "The error title"
|
|
1192
|
-
},
|
|
1193
|
-
{
|
|
1194
|
-
"name": "message",
|
|
1195
|
-
"type": {
|
|
1196
|
-
"text": "string"
|
|
1197
|
-
},
|
|
1198
|
-
"description": "The error message"
|
|
1199
|
-
}
|
|
1200
|
-
],
|
|
1201
|
-
"description": "Shows an error notification using the unified error handling system"
|
|
1202
|
-
},
|
|
1203
|
-
{
|
|
1204
|
-
"kind": "method",
|
|
1205
|
-
"name": "onFileSelected",
|
|
1206
|
-
"privacy": "protected",
|
|
1207
|
-
"return": {
|
|
1208
|
-
"type": {
|
|
1209
|
-
"text": "void"
|
|
1210
|
-
}
|
|
1211
|
-
},
|
|
1212
|
-
"parameters": [
|
|
1213
|
-
{
|
|
1214
|
-
"name": "files",
|
|
1215
|
-
"type": {
|
|
1216
|
-
"text": "File[]"
|
|
1217
|
-
},
|
|
1218
|
-
"description": "The selected file"
|
|
1219
|
-
}
|
|
1220
|
-
],
|
|
1221
|
-
"description": "Abstract method called when a file is selected"
|
|
1222
|
-
},
|
|
1223
|
-
{
|
|
1224
|
-
"kind": "method",
|
|
1225
|
-
"name": "onFileCleared",
|
|
1226
|
-
"privacy": "protected",
|
|
1227
|
-
"return": {
|
|
1228
|
-
"type": {
|
|
1229
|
-
"text": "void"
|
|
1230
|
-
}
|
|
1231
|
-
},
|
|
1232
|
-
"description": "Abstract method called when file selection is cleared"
|
|
1233
|
-
},
|
|
1234
|
-
{
|
|
1235
|
-
"kind": "field",
|
|
1236
|
-
"name": "_presentation",
|
|
1237
|
-
"type": {
|
|
1238
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1239
|
-
},
|
|
1240
|
-
"privacy": "private",
|
|
1241
|
-
"default": "void 0",
|
|
1242
|
-
"inheritedFrom": {
|
|
1243
|
-
"name": "FoundationElement",
|
|
1244
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1245
|
-
}
|
|
1246
|
-
},
|
|
1247
|
-
{
|
|
1248
|
-
"kind": "field",
|
|
1249
|
-
"name": "$presentation",
|
|
1250
|
-
"type": {
|
|
1251
|
-
"text": "ComponentPresentation | null"
|
|
1252
|
-
},
|
|
1253
|
-
"privacy": "public",
|
|
1254
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1255
|
-
"inheritedFrom": {
|
|
1256
|
-
"name": "FoundationElement",
|
|
1257
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1258
|
-
}
|
|
1259
|
-
},
|
|
1260
|
-
{
|
|
1261
|
-
"kind": "field",
|
|
1262
|
-
"name": "template",
|
|
1263
|
-
"type": {
|
|
1264
|
-
"text": "ElementViewTemplate | void | null"
|
|
1265
|
-
},
|
|
1266
|
-
"privacy": "public",
|
|
1267
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1268
|
-
"inheritedFrom": {
|
|
1269
|
-
"name": "FoundationElement",
|
|
1270
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1271
|
-
}
|
|
1174
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1175
|
+
"inheritedFrom": {
|
|
1176
|
+
"name": "FoundationElement",
|
|
1177
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1178
|
+
}
|
|
1272
1179
|
},
|
|
1273
1180
|
{
|
|
1274
1181
|
"kind": "method",
|
|
@@ -1345,110 +1252,76 @@
|
|
|
1345
1252
|
],
|
|
1346
1253
|
"events": [
|
|
1347
1254
|
{
|
|
1348
|
-
"description": "
|
|
1349
|
-
"name": "
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
}
|
|
1355
|
-
],
|
|
1356
|
-
"attributes": [
|
|
1357
|
-
{
|
|
1358
|
-
"name": "label",
|
|
1359
|
-
"type": {
|
|
1360
|
-
"text": "string"
|
|
1361
|
-
},
|
|
1362
|
-
"fieldName": "label"
|
|
1363
|
-
},
|
|
1364
|
-
{
|
|
1365
|
-
"name": "accept",
|
|
1366
|
-
"type": {
|
|
1367
|
-
"text": "string"
|
|
1368
|
-
},
|
|
1369
|
-
"default": "''",
|
|
1370
|
-
"fieldName": "accept"
|
|
1371
|
-
},
|
|
1372
|
-
{
|
|
1373
|
-
"name": "file-size-limit-bytes",
|
|
1374
|
-
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1375
|
-
"resolveInitializer": {
|
|
1376
|
-
"module": "src/_common/base-file-component.ts"
|
|
1377
|
-
},
|
|
1378
|
-
"fieldName": "fileSizeLimitBytes"
|
|
1255
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1256
|
+
"name": "change",
|
|
1257
|
+
"inheritedFrom": {
|
|
1258
|
+
"name": "AccordionItem",
|
|
1259
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1260
|
+
}
|
|
1379
1261
|
}
|
|
1380
|
-
]
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1262
|
+
]
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"kind": "variable",
|
|
1266
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1267
|
+
"type": {
|
|
1268
|
+
"text": "ShadowRootInit"
|
|
1269
|
+
},
|
|
1270
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"kind": "variable",
|
|
1274
|
+
"name": "defaultAccordionItemConfig",
|
|
1275
|
+
"type": {
|
|
1276
|
+
"text": "object"
|
|
1277
|
+
},
|
|
1278
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"kind": "variable",
|
|
1282
|
+
"name": "foundationAccordionItem",
|
|
1283
|
+
"description": "The Foundation Accordion Item",
|
|
1284
|
+
"privacy": "public"
|
|
1385
1285
|
}
|
|
1386
1286
|
],
|
|
1387
1287
|
"exports": [
|
|
1388
1288
|
{
|
|
1389
1289
|
"kind": "js",
|
|
1390
|
-
"name": "
|
|
1290
|
+
"name": "AccordionItem",
|
|
1391
1291
|
"declaration": {
|
|
1392
|
-
"name": "
|
|
1393
|
-
"module": "src/
|
|
1292
|
+
"name": "AccordionItem",
|
|
1293
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1394
1294
|
}
|
|
1395
|
-
}
|
|
1396
|
-
]
|
|
1397
|
-
},
|
|
1398
|
-
{
|
|
1399
|
-
"kind": "javascript-module",
|
|
1400
|
-
"path": "src/_common/field-styles.ts",
|
|
1401
|
-
"declarations": [
|
|
1402
|
-
{
|
|
1403
|
-
"kind": "variable",
|
|
1404
|
-
"name": "sharedFieldStyles",
|
|
1405
|
-
"default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
|
|
1406
|
-
}
|
|
1407
|
-
],
|
|
1408
|
-
"exports": [
|
|
1295
|
+
},
|
|
1409
1296
|
{
|
|
1410
1297
|
"kind": "js",
|
|
1411
|
-
"name": "
|
|
1298
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1412
1299
|
"declaration": {
|
|
1413
|
-
"name": "
|
|
1414
|
-
"module": "src/
|
|
1300
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1301
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1415
1302
|
}
|
|
1416
|
-
}
|
|
1417
|
-
]
|
|
1418
|
-
},
|
|
1419
|
-
{
|
|
1420
|
-
"kind": "javascript-module",
|
|
1421
|
-
"path": "src/_common/icons.ts",
|
|
1422
|
-
"declarations": [
|
|
1303
|
+
},
|
|
1423
1304
|
{
|
|
1424
|
-
"kind": "
|
|
1425
|
-
"name": "
|
|
1426
|
-
"
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
{
|
|
1432
|
-
"name": "fill",
|
|
1433
|
-
"default": "'#879ba6'"
|
|
1434
|
-
}
|
|
1435
|
-
]
|
|
1436
|
-
}
|
|
1437
|
-
],
|
|
1438
|
-
"exports": [
|
|
1305
|
+
"kind": "js",
|
|
1306
|
+
"name": "defaultAccordionItemConfig",
|
|
1307
|
+
"declaration": {
|
|
1308
|
+
"name": "defaultAccordionItemConfig",
|
|
1309
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1439
1312
|
{
|
|
1440
1313
|
"kind": "js",
|
|
1441
|
-
"name": "
|
|
1314
|
+
"name": "foundationAccordionItem",
|
|
1442
1315
|
"declaration": {
|
|
1443
|
-
"name": "
|
|
1444
|
-
"module": "src/
|
|
1316
|
+
"name": "foundationAccordionItem",
|
|
1317
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1445
1318
|
}
|
|
1446
1319
|
}
|
|
1447
1320
|
]
|
|
1448
1321
|
},
|
|
1449
1322
|
{
|
|
1450
1323
|
"kind": "javascript-module",
|
|
1451
|
-
"path": "src/
|
|
1324
|
+
"path": "src/accordion-item/index.ts",
|
|
1452
1325
|
"declarations": [],
|
|
1453
1326
|
"exports": [
|
|
1454
1327
|
{
|
|
@@ -1456,7 +1329,7 @@
|
|
|
1456
1329
|
"name": "*",
|
|
1457
1330
|
"declaration": {
|
|
1458
1331
|
"name": "*",
|
|
1459
|
-
"package": "./
|
|
1332
|
+
"package": "./accordion-item.template"
|
|
1460
1333
|
}
|
|
1461
1334
|
},
|
|
1462
1335
|
{
|
|
@@ -1464,7 +1337,7 @@
|
|
|
1464
1337
|
"name": "*",
|
|
1465
1338
|
"declaration": {
|
|
1466
1339
|
"name": "*",
|
|
1467
|
-
"package": "./
|
|
1340
|
+
"package": "./accordion-item.styles"
|
|
1468
1341
|
}
|
|
1469
1342
|
},
|
|
1470
1343
|
{
|
|
@@ -1472,50 +1345,51 @@
|
|
|
1472
1345
|
"name": "*",
|
|
1473
1346
|
"declaration": {
|
|
1474
1347
|
"name": "*",
|
|
1475
|
-
"package": "./
|
|
1348
|
+
"package": "./accordion-item"
|
|
1476
1349
|
}
|
|
1477
|
-
}
|
|
1350
|
+
}
|
|
1351
|
+
]
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"kind": "javascript-module",
|
|
1355
|
+
"path": "src/_common/affix-mixin.ts",
|
|
1356
|
+
"declarations": [
|
|
1478
1357
|
{
|
|
1479
|
-
"kind": "
|
|
1480
|
-
"
|
|
1481
|
-
"
|
|
1482
|
-
|
|
1483
|
-
"package": "./field-styles"
|
|
1484
|
-
}
|
|
1485
|
-
},
|
|
1486
|
-
{
|
|
1487
|
-
"kind": "js",
|
|
1488
|
-
"name": "*",
|
|
1489
|
-
"declaration": {
|
|
1490
|
-
"name": "*",
|
|
1491
|
-
"package": "./icons"
|
|
1492
|
-
}
|
|
1493
|
-
}
|
|
1494
|
-
]
|
|
1495
|
-
},
|
|
1496
|
-
{
|
|
1497
|
-
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1499
|
-
"declarations": [
|
|
1500
|
-
{
|
|
1501
|
-
"kind": "function",
|
|
1502
|
-
"name": "foundationAccordionItemStyles",
|
|
1503
|
-
"return": {
|
|
1504
|
-
"type": {
|
|
1505
|
-
"text": "ElementStyles"
|
|
1506
|
-
}
|
|
1507
|
-
},
|
|
1508
|
-
"parameters": [
|
|
1358
|
+
"kind": "mixin",
|
|
1359
|
+
"description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
|
|
1360
|
+
"name": "AffixMixin",
|
|
1361
|
+
"members": [
|
|
1509
1362
|
{
|
|
1510
|
-
"
|
|
1363
|
+
"kind": "field",
|
|
1364
|
+
"name": "prefix",
|
|
1511
1365
|
"type": {
|
|
1512
|
-
"text": "
|
|
1513
|
-
}
|
|
1366
|
+
"text": "string"
|
|
1367
|
+
},
|
|
1368
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
1514
1369
|
},
|
|
1515
1370
|
{
|
|
1516
|
-
"
|
|
1371
|
+
"kind": "field",
|
|
1372
|
+
"name": "suffix",
|
|
1517
1373
|
"type": {
|
|
1518
|
-
"text": "
|
|
1374
|
+
"text": "string"
|
|
1375
|
+
},
|
|
1376
|
+
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
"kind": "field",
|
|
1380
|
+
"name": "hideAffixFromScreenReader",
|
|
1381
|
+
"type": {
|
|
1382
|
+
"text": "boolean"
|
|
1383
|
+
},
|
|
1384
|
+
"default": "false",
|
|
1385
|
+
"description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
|
|
1386
|
+
}
|
|
1387
|
+
],
|
|
1388
|
+
"parameters": [
|
|
1389
|
+
{
|
|
1390
|
+
"name": "Base",
|
|
1391
|
+
"type": {
|
|
1392
|
+
"text": "TBase"
|
|
1519
1393
|
}
|
|
1520
1394
|
}
|
|
1521
1395
|
]
|
|
@@ -1524,189 +1398,265 @@
|
|
|
1524
1398
|
"exports": [
|
|
1525
1399
|
{
|
|
1526
1400
|
"kind": "js",
|
|
1527
|
-
"name": "
|
|
1401
|
+
"name": "AffixMixin",
|
|
1528
1402
|
"declaration": {
|
|
1529
|
-
"name": "
|
|
1530
|
-
"module": "src/
|
|
1403
|
+
"name": "AffixMixin",
|
|
1404
|
+
"module": "src/_common/affix-mixin.ts"
|
|
1531
1405
|
}
|
|
1532
1406
|
}
|
|
1533
1407
|
]
|
|
1534
1408
|
},
|
|
1535
1409
|
{
|
|
1536
1410
|
"kind": "javascript-module",
|
|
1537
|
-
"path": "src/
|
|
1411
|
+
"path": "src/_common/alert-flash-clock.ts",
|
|
1538
1412
|
"declarations": [
|
|
1413
|
+
{
|
|
1414
|
+
"kind": "variable",
|
|
1415
|
+
"name": "alertFlashPhaseProperty",
|
|
1416
|
+
"type": {
|
|
1417
|
+
"text": "string"
|
|
1418
|
+
},
|
|
1419
|
+
"default": "'--alert-flash-t'",
|
|
1420
|
+
"description": "Custom property carrying the shared alert flash phase, ramping 0 → 1 → 0.\n\nAlerting surfaces sample this rather than running animations of their own, because independent\nCSS animations start whenever their element started and drift apart. Registered as an\ninheritable `<number>` on the document, so it reaches into shadow trees — a grid row deep inside\na component's shadow DOM stays in step with a tab header in the light DOM.",
|
|
1421
|
+
"privacy": "public"
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
"kind": "variable",
|
|
1425
|
+
"name": "alertFlashDurationProperty",
|
|
1426
|
+
"type": {
|
|
1427
|
+
"text": "string"
|
|
1428
|
+
},
|
|
1429
|
+
"default": "'--alert-flash-duration'",
|
|
1430
|
+
"description": "Custom property setting how long one flash cycle takes. Set it on `:root` to retime every\nalerting surface at once.",
|
|
1431
|
+
"privacy": "public"
|
|
1432
|
+
},
|
|
1539
1433
|
{
|
|
1540
1434
|
"kind": "function",
|
|
1541
|
-
"name": "
|
|
1435
|
+
"name": "installAlertFlashClock",
|
|
1542
1436
|
"return": {
|
|
1543
1437
|
"type": {
|
|
1544
|
-
"text": "
|
|
1438
|
+
"text": "void"
|
|
1545
1439
|
}
|
|
1546
1440
|
},
|
|
1547
|
-
"
|
|
1548
|
-
|
|
1549
|
-
"name": "context",
|
|
1550
|
-
"type": {
|
|
1551
|
-
"text": "ElementDefinitionContext"
|
|
1552
|
-
}
|
|
1553
|
-
},
|
|
1554
|
-
{
|
|
1555
|
-
"name": "definition",
|
|
1556
|
-
"type": {
|
|
1557
|
-
"text": "FoundationElementDefinition"
|
|
1558
|
-
}
|
|
1559
|
-
}
|
|
1560
|
-
]
|
|
1441
|
+
"description": "Starts the document-level clock that alert flashes sample.\n\nSafe to call repeatedly and from any number of components — the first call does the work. Called\nautomatically by the components that flash, so apps only need this to start the clock earlier.\n\nDoes nothing where `CSS.registerProperty` or constructable stylesheets are unavailable, which\nleaves alerting surfaces on their static fallback colour rather than breaking them.",
|
|
1442
|
+
"privacy": "public"
|
|
1561
1443
|
}
|
|
1562
1444
|
],
|
|
1563
1445
|
"exports": [
|
|
1564
1446
|
{
|
|
1565
1447
|
"kind": "js",
|
|
1566
|
-
"name": "
|
|
1448
|
+
"name": "alertFlashPhaseProperty",
|
|
1567
1449
|
"declaration": {
|
|
1568
|
-
"name": "
|
|
1569
|
-
"module": "src/
|
|
1450
|
+
"name": "alertFlashPhaseProperty",
|
|
1451
|
+
"module": "src/_common/alert-flash-clock.ts"
|
|
1452
|
+
}
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"kind": "js",
|
|
1456
|
+
"name": "alertFlashDurationProperty",
|
|
1457
|
+
"declaration": {
|
|
1458
|
+
"name": "alertFlashDurationProperty",
|
|
1459
|
+
"module": "src/_common/alert-flash-clock.ts"
|
|
1460
|
+
}
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
"kind": "js",
|
|
1464
|
+
"name": "installAlertFlashClock",
|
|
1465
|
+
"declaration": {
|
|
1466
|
+
"name": "installAlertFlashClock",
|
|
1467
|
+
"module": "src/_common/alert-flash-clock.ts"
|
|
1570
1468
|
}
|
|
1571
1469
|
}
|
|
1572
1470
|
]
|
|
1573
1471
|
},
|
|
1574
1472
|
{
|
|
1575
1473
|
"kind": "javascript-module",
|
|
1576
|
-
"path": "src/
|
|
1474
|
+
"path": "src/_common/base-file-component.ts",
|
|
1577
1475
|
"declarations": [
|
|
1578
1476
|
{
|
|
1579
1477
|
"kind": "class",
|
|
1580
|
-
"description": "",
|
|
1581
|
-
"name": "
|
|
1582
|
-
"
|
|
1583
|
-
"name": "FASTAccordionItem",
|
|
1584
|
-
"package": "@microsoft/fast-components"
|
|
1585
|
-
},
|
|
1586
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1587
|
-
"customElement": true,
|
|
1588
|
-
"attributes": [
|
|
1478
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
1479
|
+
"name": "BaseFileComponent",
|
|
1480
|
+
"members": [
|
|
1589
1481
|
{
|
|
1590
|
-
"
|
|
1482
|
+
"kind": "field",
|
|
1483
|
+
"name": "fileInput",
|
|
1591
1484
|
"type": {
|
|
1592
|
-
"text": "
|
|
1485
|
+
"text": "HTMLInputElement"
|
|
1593
1486
|
},
|
|
1594
|
-
"
|
|
1595
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1596
|
-
"fieldName": "headinglevel",
|
|
1597
|
-
"inheritedFrom": {
|
|
1598
|
-
"name": "AccordionItem",
|
|
1599
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1600
|
-
}
|
|
1487
|
+
"privacy": "public"
|
|
1601
1488
|
},
|
|
1602
1489
|
{
|
|
1490
|
+
"kind": "field",
|
|
1491
|
+
"name": "selectedFile",
|
|
1603
1492
|
"type": {
|
|
1604
|
-
"text": "
|
|
1493
|
+
"text": "File | null"
|
|
1605
1494
|
},
|
|
1606
|
-
"
|
|
1607
|
-
"
|
|
1608
|
-
"fieldName": "expanded",
|
|
1609
|
-
"inheritedFrom": {
|
|
1610
|
-
"name": "AccordionItem",
|
|
1611
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1612
|
-
}
|
|
1495
|
+
"privacy": "protected",
|
|
1496
|
+
"default": "null"
|
|
1613
1497
|
},
|
|
1614
1498
|
{
|
|
1615
|
-
"
|
|
1499
|
+
"kind": "field",
|
|
1500
|
+
"name": "label",
|
|
1616
1501
|
"type": {
|
|
1617
1502
|
"text": "string"
|
|
1618
|
-
},
|
|
1619
|
-
"description": "The item ID",
|
|
1620
|
-
"fieldName": "id",
|
|
1621
|
-
"inheritedFrom": {
|
|
1622
|
-
"name": "AccordionItem",
|
|
1623
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1624
1503
|
}
|
|
1625
|
-
}
|
|
1626
|
-
],
|
|
1627
|
-
"members": [
|
|
1504
|
+
},
|
|
1628
1505
|
{
|
|
1629
1506
|
"kind": "field",
|
|
1630
|
-
"name": "
|
|
1507
|
+
"name": "accept",
|
|
1631
1508
|
"type": {
|
|
1632
|
-
"text": "
|
|
1509
|
+
"text": "string"
|
|
1633
1510
|
},
|
|
1634
|
-
"
|
|
1635
|
-
"default": "2",
|
|
1636
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1637
|
-
"inheritedFrom": {
|
|
1638
|
-
"name": "AccordionItem",
|
|
1639
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1640
|
-
}
|
|
1511
|
+
"default": "''"
|
|
1641
1512
|
},
|
|
1642
1513
|
{
|
|
1643
1514
|
"kind": "field",
|
|
1644
|
-
"name": "
|
|
1515
|
+
"name": "fileSizeLimitBytes",
|
|
1516
|
+
"default": "10_485_760",
|
|
1645
1517
|
"type": {
|
|
1646
|
-
"text": "
|
|
1647
|
-
},
|
|
1648
|
-
"privacy": "public",
|
|
1649
|
-
"default": "false",
|
|
1650
|
-
"description": "Expands or collapses the item.",
|
|
1651
|
-
"inheritedFrom": {
|
|
1652
|
-
"name": "AccordionItem",
|
|
1653
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1518
|
+
"text": "number"
|
|
1654
1519
|
}
|
|
1655
1520
|
},
|
|
1656
1521
|
{
|
|
1657
1522
|
"kind": "field",
|
|
1658
|
-
"name": "
|
|
1523
|
+
"name": "fileName",
|
|
1659
1524
|
"type": {
|
|
1660
1525
|
"text": "string"
|
|
1661
1526
|
},
|
|
1662
|
-
"
|
|
1663
|
-
"description": "The item ID",
|
|
1664
|
-
"inheritedFrom": {
|
|
1665
|
-
"name": "AccordionItem",
|
|
1666
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1667
|
-
}
|
|
1668
|
-
},
|
|
1669
|
-
{
|
|
1670
|
-
"kind": "field",
|
|
1671
|
-
"name": "change",
|
|
1672
|
-
"privacy": "private",
|
|
1673
|
-
"inheritedFrom": {
|
|
1674
|
-
"name": "AccordionItem",
|
|
1675
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1676
|
-
}
|
|
1527
|
+
"default": "''"
|
|
1677
1528
|
},
|
|
1678
1529
|
{
|
|
1679
1530
|
"kind": "field",
|
|
1680
|
-
"name": "
|
|
1531
|
+
"name": "isProcessing",
|
|
1681
1532
|
"type": {
|
|
1682
|
-
"text": "
|
|
1533
|
+
"text": "boolean"
|
|
1683
1534
|
},
|
|
1684
|
-
"
|
|
1685
|
-
"default": "void 0",
|
|
1686
|
-
"inheritedFrom": {
|
|
1687
|
-
"name": "FoundationElement",
|
|
1688
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1689
|
-
}
|
|
1535
|
+
"default": "false"
|
|
1690
1536
|
},
|
|
1691
1537
|
{
|
|
1692
|
-
"kind": "
|
|
1693
|
-
"name": "
|
|
1694
|
-
"type": {
|
|
1695
|
-
"text": "ComponentPresentation | null"
|
|
1696
|
-
},
|
|
1538
|
+
"kind": "method",
|
|
1539
|
+
"name": "handleClick",
|
|
1697
1540
|
"privacy": "public",
|
|
1698
|
-
"description": "
|
|
1699
|
-
"inheritedFrom": {
|
|
1700
|
-
"name": "FoundationElement",
|
|
1701
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1702
|
-
}
|
|
1541
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1703
1542
|
},
|
|
1704
1543
|
{
|
|
1705
|
-
"kind": "
|
|
1706
|
-
"name": "
|
|
1707
|
-
"
|
|
1708
|
-
|
|
1709
|
-
|
|
1544
|
+
"kind": "method",
|
|
1545
|
+
"name": "onInputChange",
|
|
1546
|
+
"privacy": "public",
|
|
1547
|
+
"parameters": [
|
|
1548
|
+
{
|
|
1549
|
+
"name": "e",
|
|
1550
|
+
"type": {
|
|
1551
|
+
"text": "Event"
|
|
1552
|
+
},
|
|
1553
|
+
"description": "The change event from the file input"
|
|
1554
|
+
}
|
|
1555
|
+
],
|
|
1556
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
"kind": "method",
|
|
1560
|
+
"name": "clearSelection",
|
|
1561
|
+
"privacy": "public",
|
|
1562
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"kind": "method",
|
|
1566
|
+
"name": "getSelectedFile",
|
|
1567
|
+
"privacy": "public",
|
|
1568
|
+
"description": "Gets the currently selected file object",
|
|
1569
|
+
"return": {
|
|
1570
|
+
"type": {
|
|
1571
|
+
"text": ""
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"kind": "method",
|
|
1577
|
+
"name": "showError",
|
|
1578
|
+
"privacy": "protected",
|
|
1579
|
+
"parameters": [
|
|
1580
|
+
{
|
|
1581
|
+
"name": "title",
|
|
1582
|
+
"type": {
|
|
1583
|
+
"text": "string"
|
|
1584
|
+
},
|
|
1585
|
+
"description": "The error title"
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"name": "message",
|
|
1589
|
+
"type": {
|
|
1590
|
+
"text": "string"
|
|
1591
|
+
},
|
|
1592
|
+
"description": "The error message"
|
|
1593
|
+
}
|
|
1594
|
+
],
|
|
1595
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
"kind": "method",
|
|
1599
|
+
"name": "onFileSelected",
|
|
1600
|
+
"privacy": "protected",
|
|
1601
|
+
"return": {
|
|
1602
|
+
"type": {
|
|
1603
|
+
"text": "void"
|
|
1604
|
+
}
|
|
1605
|
+
},
|
|
1606
|
+
"parameters": [
|
|
1607
|
+
{
|
|
1608
|
+
"name": "files",
|
|
1609
|
+
"type": {
|
|
1610
|
+
"text": "File[]"
|
|
1611
|
+
},
|
|
1612
|
+
"description": "The selected file"
|
|
1613
|
+
}
|
|
1614
|
+
],
|
|
1615
|
+
"description": "Abstract method called when a file is selected"
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
"kind": "method",
|
|
1619
|
+
"name": "onFileCleared",
|
|
1620
|
+
"privacy": "protected",
|
|
1621
|
+
"return": {
|
|
1622
|
+
"type": {
|
|
1623
|
+
"text": "void"
|
|
1624
|
+
}
|
|
1625
|
+
},
|
|
1626
|
+
"description": "Abstract method called when file selection is cleared"
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
"kind": "field",
|
|
1630
|
+
"name": "_presentation",
|
|
1631
|
+
"type": {
|
|
1632
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1633
|
+
},
|
|
1634
|
+
"privacy": "private",
|
|
1635
|
+
"default": "void 0",
|
|
1636
|
+
"inheritedFrom": {
|
|
1637
|
+
"name": "FoundationElement",
|
|
1638
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"kind": "field",
|
|
1643
|
+
"name": "$presentation",
|
|
1644
|
+
"type": {
|
|
1645
|
+
"text": "ComponentPresentation | null"
|
|
1646
|
+
},
|
|
1647
|
+
"privacy": "public",
|
|
1648
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1649
|
+
"inheritedFrom": {
|
|
1650
|
+
"name": "FoundationElement",
|
|
1651
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1652
|
+
}
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
"kind": "field",
|
|
1656
|
+
"name": "template",
|
|
1657
|
+
"type": {
|
|
1658
|
+
"text": "ElementViewTemplate | void | null"
|
|
1659
|
+
},
|
|
1710
1660
|
"privacy": "public",
|
|
1711
1661
|
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1712
1662
|
"inheritedFrom": {
|
|
@@ -1789,76 +1739,110 @@
|
|
|
1789
1739
|
],
|
|
1790
1740
|
"events": [
|
|
1791
1741
|
{
|
|
1792
|
-
"description": "
|
|
1793
|
-
"name": "
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1742
|
+
"description": "Fired when file size validation fails. detail: `Error`",
|
|
1743
|
+
"name": "error"
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"description": "Fired when selection is cleared",
|
|
1747
|
+
"name": "clear"
|
|
1798
1748
|
}
|
|
1799
|
-
]
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1749
|
+
],
|
|
1750
|
+
"attributes": [
|
|
1751
|
+
{
|
|
1752
|
+
"name": "label",
|
|
1753
|
+
"type": {
|
|
1754
|
+
"text": "string"
|
|
1755
|
+
},
|
|
1756
|
+
"fieldName": "label"
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"name": "accept",
|
|
1760
|
+
"type": {
|
|
1761
|
+
"text": "string"
|
|
1762
|
+
},
|
|
1763
|
+
"default": "''",
|
|
1764
|
+
"fieldName": "accept"
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"name": "file-size-limit-bytes",
|
|
1768
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1769
|
+
"resolveInitializer": {
|
|
1770
|
+
"module": "src/_common/base-file-component.ts"
|
|
1771
|
+
},
|
|
1772
|
+
"fieldName": "fileSizeLimitBytes"
|
|
1773
|
+
}
|
|
1774
|
+
],
|
|
1775
|
+
"superclass": {
|
|
1776
|
+
"name": "FoundationElement",
|
|
1777
|
+
"package": "@microsoft/fast-foundation"
|
|
1778
|
+
}
|
|
1822
1779
|
}
|
|
1823
1780
|
],
|
|
1824
1781
|
"exports": [
|
|
1825
1782
|
{
|
|
1826
1783
|
"kind": "js",
|
|
1827
|
-
"name": "
|
|
1784
|
+
"name": "BaseFileComponent",
|
|
1828
1785
|
"declaration": {
|
|
1829
|
-
"name": "
|
|
1830
|
-
"module": "src/
|
|
1786
|
+
"name": "BaseFileComponent",
|
|
1787
|
+
"module": "src/_common/base-file-component.ts"
|
|
1831
1788
|
}
|
|
1832
|
-
}
|
|
1789
|
+
}
|
|
1790
|
+
]
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
"kind": "javascript-module",
|
|
1794
|
+
"path": "src/_common/field-styles.ts",
|
|
1795
|
+
"declarations": [
|
|
1833
1796
|
{
|
|
1834
|
-
"kind": "
|
|
1835
|
-
"name": "
|
|
1836
|
-
"
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
},
|
|
1797
|
+
"kind": "variable",
|
|
1798
|
+
"name": "sharedFieldStyles",
|
|
1799
|
+
"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`"
|
|
1800
|
+
}
|
|
1801
|
+
],
|
|
1802
|
+
"exports": [
|
|
1841
1803
|
{
|
|
1842
1804
|
"kind": "js",
|
|
1843
|
-
"name": "
|
|
1805
|
+
"name": "sharedFieldStyles",
|
|
1844
1806
|
"declaration": {
|
|
1845
|
-
"name": "
|
|
1846
|
-
"module": "src/
|
|
1807
|
+
"name": "sharedFieldStyles",
|
|
1808
|
+
"module": "src/_common/field-styles.ts"
|
|
1847
1809
|
}
|
|
1848
|
-
}
|
|
1810
|
+
}
|
|
1811
|
+
]
|
|
1812
|
+
},
|
|
1813
|
+
{
|
|
1814
|
+
"kind": "javascript-module",
|
|
1815
|
+
"path": "src/_common/icons.ts",
|
|
1816
|
+
"declarations": [
|
|
1817
|
+
{
|
|
1818
|
+
"kind": "function",
|
|
1819
|
+
"name": "closeIcon",
|
|
1820
|
+
"parameters": [
|
|
1821
|
+
{
|
|
1822
|
+
"name": "slot",
|
|
1823
|
+
"default": "'start'"
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
"name": "fill",
|
|
1827
|
+
"default": "'#879ba6'"
|
|
1828
|
+
}
|
|
1829
|
+
]
|
|
1830
|
+
}
|
|
1831
|
+
],
|
|
1832
|
+
"exports": [
|
|
1849
1833
|
{
|
|
1850
1834
|
"kind": "js",
|
|
1851
|
-
"name": "
|
|
1835
|
+
"name": "closeIcon",
|
|
1852
1836
|
"declaration": {
|
|
1853
|
-
"name": "
|
|
1854
|
-
"module": "src/
|
|
1837
|
+
"name": "closeIcon",
|
|
1838
|
+
"module": "src/_common/icons.ts"
|
|
1855
1839
|
}
|
|
1856
1840
|
}
|
|
1857
1841
|
]
|
|
1858
1842
|
},
|
|
1859
1843
|
{
|
|
1860
1844
|
"kind": "javascript-module",
|
|
1861
|
-
"path": "src/
|
|
1845
|
+
"path": "src/_common/index.ts",
|
|
1862
1846
|
"declarations": [],
|
|
1863
1847
|
"exports": [
|
|
1864
1848
|
{
|
|
@@ -1866,7 +1850,7 @@
|
|
|
1866
1850
|
"name": "*",
|
|
1867
1851
|
"declaration": {
|
|
1868
1852
|
"name": "*",
|
|
1869
|
-
"package": "./
|
|
1853
|
+
"package": "./affix-mixin"
|
|
1870
1854
|
}
|
|
1871
1855
|
},
|
|
1872
1856
|
{
|
|
@@ -1874,7 +1858,7 @@
|
|
|
1874
1858
|
"name": "*",
|
|
1875
1859
|
"declaration": {
|
|
1876
1860
|
"name": "*",
|
|
1877
|
-
"package": "./
|
|
1861
|
+
"package": "./alert-flash-clock"
|
|
1878
1862
|
}
|
|
1879
1863
|
},
|
|
1880
1864
|
{
|
|
@@ -1882,122 +1866,226 @@
|
|
|
1882
1866
|
"name": "*",
|
|
1883
1867
|
"declaration": {
|
|
1884
1868
|
"name": "*",
|
|
1885
|
-
"package": "./
|
|
1869
|
+
"package": "./base-file-component"
|
|
1886
1870
|
}
|
|
1887
|
-
}
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
"kind": "js",
|
|
1874
|
+
"name": "*",
|
|
1875
|
+
"declaration": {
|
|
1876
|
+
"name": "*",
|
|
1877
|
+
"package": "./field-styles"
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
"kind": "js",
|
|
1882
|
+
"name": "*",
|
|
1883
|
+
"declaration": {
|
|
1884
|
+
"name": "*",
|
|
1885
|
+
"package": "./icons"
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
]
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
1891
|
"kind": "javascript-module",
|
|
1892
|
-
"path": "src/
|
|
1892
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1893
1893
|
"declarations": [
|
|
1894
1894
|
{
|
|
1895
|
-
"kind": "
|
|
1896
|
-
"name": "
|
|
1897
|
-
"
|
|
1895
|
+
"kind": "function",
|
|
1896
|
+
"name": "actionsMenuBaseStyles",
|
|
1897
|
+
"return": {
|
|
1898
|
+
"type": {
|
|
1899
|
+
"text": "ElementStyles"
|
|
1900
|
+
}
|
|
1901
|
+
},
|
|
1902
|
+
"parameters": [
|
|
1903
|
+
{
|
|
1904
|
+
"name": "context",
|
|
1905
|
+
"type": {
|
|
1906
|
+
"text": "ElementDefinitionContext"
|
|
1907
|
+
}
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"name": "definition",
|
|
1911
|
+
"type": {
|
|
1912
|
+
"text": "FoundationElementDefinition"
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
]
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
"kind": "function",
|
|
1919
|
+
"name": "foundationActionsMenuStyles",
|
|
1920
|
+
"return": {
|
|
1921
|
+
"type": {
|
|
1922
|
+
"text": "ElementStyles"
|
|
1923
|
+
}
|
|
1924
|
+
},
|
|
1925
|
+
"parameters": [
|
|
1926
|
+
{
|
|
1927
|
+
"name": "context",
|
|
1928
|
+
"type": {
|
|
1929
|
+
"text": "ElementDefinitionContext"
|
|
1930
|
+
}
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
"name": "definition",
|
|
1934
|
+
"type": {
|
|
1935
|
+
"text": "FoundationElementDefinition"
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
]
|
|
1898
1939
|
}
|
|
1899
1940
|
],
|
|
1900
1941
|
"exports": [
|
|
1901
1942
|
{
|
|
1902
1943
|
"kind": "js",
|
|
1903
|
-
"name": "
|
|
1944
|
+
"name": "actionsMenuBaseStyles",
|
|
1904
1945
|
"declaration": {
|
|
1905
|
-
"name": "
|
|
1906
|
-
"module": "src/
|
|
1946
|
+
"name": "actionsMenuBaseStyles",
|
|
1947
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1948
|
+
}
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
"kind": "js",
|
|
1952
|
+
"name": "foundationActionsMenuStyles",
|
|
1953
|
+
"declaration": {
|
|
1954
|
+
"name": "foundationActionsMenuStyles",
|
|
1955
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1907
1956
|
}
|
|
1908
1957
|
}
|
|
1909
1958
|
]
|
|
1910
1959
|
},
|
|
1911
1960
|
{
|
|
1912
1961
|
"kind": "javascript-module",
|
|
1913
|
-
"path": "src/
|
|
1962
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1914
1963
|
"declarations": [
|
|
1964
|
+
{
|
|
1965
|
+
"kind": "function",
|
|
1966
|
+
"name": "menuTemplate",
|
|
1967
|
+
"parameters": [
|
|
1968
|
+
{
|
|
1969
|
+
"name": "prefix",
|
|
1970
|
+
"type": {
|
|
1971
|
+
"text": "string"
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
]
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
"kind": "function",
|
|
1978
|
+
"name": "singleOptionTemplate",
|
|
1979
|
+
"parameters": [
|
|
1980
|
+
{
|
|
1981
|
+
"name": "prefix",
|
|
1982
|
+
"type": {
|
|
1983
|
+
"text": "string"
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
]
|
|
1987
|
+
},
|
|
1915
1988
|
{
|
|
1916
1989
|
"kind": "variable",
|
|
1917
|
-
"name": "
|
|
1990
|
+
"name": "foundationActionsMenuTemplate",
|
|
1918
1991
|
"type": {
|
|
1919
|
-
"text": "ViewTemplate<
|
|
1992
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
1920
1993
|
},
|
|
1921
|
-
"default": "html`\n ${(x) =>
|
|
1994
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1922
1995
|
}
|
|
1923
1996
|
],
|
|
1924
1997
|
"exports": [
|
|
1925
1998
|
{
|
|
1926
1999
|
"kind": "js",
|
|
1927
|
-
"name": "
|
|
2000
|
+
"name": "menuTemplate",
|
|
1928
2001
|
"declaration": {
|
|
1929
|
-
"name": "
|
|
1930
|
-
"module": "src/
|
|
2002
|
+
"name": "menuTemplate",
|
|
2003
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2004
|
+
}
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
"kind": "js",
|
|
2008
|
+
"name": "singleOptionTemplate",
|
|
2009
|
+
"declaration": {
|
|
2010
|
+
"name": "singleOptionTemplate",
|
|
2011
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2012
|
+
}
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"kind": "js",
|
|
2016
|
+
"name": "foundationActionsMenuTemplate",
|
|
2017
|
+
"declaration": {
|
|
2018
|
+
"name": "foundationActionsMenuTemplate",
|
|
2019
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1931
2020
|
}
|
|
1932
2021
|
}
|
|
1933
2022
|
]
|
|
1934
2023
|
},
|
|
1935
2024
|
{
|
|
1936
2025
|
"kind": "javascript-module",
|
|
1937
|
-
"path": "src/
|
|
2026
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1938
2027
|
"declarations": [
|
|
1939
2028
|
{
|
|
1940
2029
|
"kind": "class",
|
|
1941
|
-
"description": "
|
|
1942
|
-
"name": "
|
|
2030
|
+
"description": "",
|
|
2031
|
+
"name": "ActionsMenu",
|
|
1943
2032
|
"members": [
|
|
1944
2033
|
{
|
|
1945
2034
|
"kind": "field",
|
|
1946
|
-
"name": "
|
|
2035
|
+
"name": "actions",
|
|
1947
2036
|
"type": {
|
|
1948
|
-
"text": "
|
|
2037
|
+
"text": "ActionMenuItem[]"
|
|
1949
2038
|
}
|
|
1950
2039
|
},
|
|
1951
2040
|
{
|
|
1952
2041
|
"kind": "field",
|
|
1953
|
-
"name": "
|
|
2042
|
+
"name": "isVertical",
|
|
1954
2043
|
"type": {
|
|
1955
|
-
"text": "
|
|
2044
|
+
"text": "boolean"
|
|
1956
2045
|
},
|
|
1957
|
-
"default": "
|
|
2046
|
+
"default": "false"
|
|
1958
2047
|
},
|
|
1959
2048
|
{
|
|
1960
2049
|
"kind": "field",
|
|
1961
|
-
"name": "
|
|
2050
|
+
"name": "addDefaultActions",
|
|
1962
2051
|
"type": {
|
|
1963
2052
|
"text": "boolean"
|
|
1964
|
-
}
|
|
2053
|
+
},
|
|
2054
|
+
"default": "true"
|
|
1965
2055
|
},
|
|
1966
2056
|
{
|
|
1967
2057
|
"kind": "field",
|
|
1968
|
-
"name": "
|
|
2058
|
+
"name": "autoCloseOnAction",
|
|
1969
2059
|
"type": {
|
|
1970
|
-
"text": "
|
|
2060
|
+
"text": "boolean"
|
|
1971
2061
|
},
|
|
1972
|
-
"default": "
|
|
2062
|
+
"default": "true"
|
|
1973
2063
|
},
|
|
1974
2064
|
{
|
|
1975
2065
|
"kind": "field",
|
|
1976
|
-
"name": "
|
|
2066
|
+
"name": "classNames",
|
|
1977
2067
|
"type": {
|
|
1978
|
-
"text": "
|
|
1979
|
-
}
|
|
1980
|
-
"default": "false"
|
|
2068
|
+
"text": "string"
|
|
2069
|
+
}
|
|
1981
2070
|
},
|
|
1982
2071
|
{
|
|
1983
2072
|
"kind": "field",
|
|
1984
|
-
"name": "
|
|
2073
|
+
"name": "definition",
|
|
1985
2074
|
"type": {
|
|
1986
|
-
"text": "
|
|
1987
|
-
}
|
|
1988
|
-
"default": "null"
|
|
2075
|
+
"text": "any"
|
|
2076
|
+
}
|
|
1989
2077
|
},
|
|
1990
2078
|
{
|
|
1991
2079
|
"kind": "field",
|
|
1992
|
-
"name": "
|
|
2080
|
+
"name": "name",
|
|
1993
2081
|
"type": {
|
|
1994
|
-
"text": "
|
|
2082
|
+
"text": "string"
|
|
1995
2083
|
},
|
|
1996
|
-
"default": "
|
|
2084
|
+
"default": "'Actions'"
|
|
1997
2085
|
},
|
|
1998
2086
|
{
|
|
1999
2087
|
"kind": "field",
|
|
2000
|
-
"name": "
|
|
2088
|
+
"name": "open",
|
|
2001
2089
|
"type": {
|
|
2002
2090
|
"text": "boolean"
|
|
2003
2091
|
},
|
|
@@ -2005,15 +2093,14 @@
|
|
|
2005
2093
|
},
|
|
2006
2094
|
{
|
|
2007
2095
|
"kind": "field",
|
|
2008
|
-
"name": "
|
|
2096
|
+
"name": "buttonAppearance",
|
|
2009
2097
|
"type": {
|
|
2010
|
-
"text": "
|
|
2011
|
-
}
|
|
2012
|
-
"default": "[]"
|
|
2098
|
+
"text": "string"
|
|
2099
|
+
}
|
|
2013
2100
|
},
|
|
2014
2101
|
{
|
|
2015
2102
|
"kind": "field",
|
|
2016
|
-
"name": "
|
|
2103
|
+
"name": "hideDisabled",
|
|
2017
2104
|
"type": {
|
|
2018
2105
|
"text": "boolean"
|
|
2019
2106
|
},
|
|
@@ -2021,484 +2108,328 @@
|
|
|
2021
2108
|
},
|
|
2022
2109
|
{
|
|
2023
2110
|
"kind": "field",
|
|
2024
|
-
"name": "
|
|
2111
|
+
"name": "hideMenuSingleOption",
|
|
2025
2112
|
"type": {
|
|
2026
|
-
"text": "
|
|
2113
|
+
"text": "boolean"
|
|
2027
2114
|
},
|
|
2028
|
-
"
|
|
2115
|
+
"default": "false"
|
|
2029
2116
|
},
|
|
2030
2117
|
{
|
|
2031
2118
|
"kind": "field",
|
|
2032
|
-
"name": "
|
|
2119
|
+
"name": "singleOption",
|
|
2033
2120
|
"type": {
|
|
2034
|
-
"text": "
|
|
2035
|
-
}
|
|
2036
|
-
"privacy": "private",
|
|
2037
|
-
"default": "null"
|
|
2121
|
+
"text": "ActionMenuItem"
|
|
2122
|
+
}
|
|
2038
2123
|
},
|
|
2039
2124
|
{
|
|
2040
2125
|
"kind": "field",
|
|
2041
|
-
"name": "
|
|
2126
|
+
"name": "actionsMenu",
|
|
2042
2127
|
"type": {
|
|
2043
|
-
"text": "
|
|
2044
|
-
}
|
|
2045
|
-
"privacy": "private",
|
|
2046
|
-
"default": "null"
|
|
2128
|
+
"text": "HTMLElement"
|
|
2129
|
+
}
|
|
2047
2130
|
},
|
|
2048
2131
|
{
|
|
2049
2132
|
"kind": "field",
|
|
2050
|
-
"name": "
|
|
2133
|
+
"name": "actionsOpener",
|
|
2051
2134
|
"type": {
|
|
2052
|
-
"text": "
|
|
2053
|
-
}
|
|
2054
|
-
"readonly": true
|
|
2135
|
+
"text": "HTMLElement"
|
|
2136
|
+
}
|
|
2055
2137
|
},
|
|
2056
2138
|
{
|
|
2057
|
-
"kind": "
|
|
2058
|
-
"name": "
|
|
2059
|
-
"
|
|
2060
|
-
"text": "CriteriaChip[]"
|
|
2061
|
-
},
|
|
2062
|
-
"readonly": true
|
|
2139
|
+
"kind": "method",
|
|
2140
|
+
"name": "updateMenuPosition",
|
|
2141
|
+
"privacy": "private"
|
|
2063
2142
|
},
|
|
2064
2143
|
{
|
|
2065
2144
|
"kind": "method",
|
|
2066
|
-
"name": "
|
|
2067
|
-
"privacy": "
|
|
2068
|
-
"return": {
|
|
2069
|
-
"type": {
|
|
2070
|
-
"text": "string"
|
|
2071
|
-
}
|
|
2072
|
-
},
|
|
2145
|
+
"name": "definitionChanged",
|
|
2146
|
+
"privacy": "protected",
|
|
2073
2147
|
"parameters": [
|
|
2074
2148
|
{
|
|
2075
|
-
"name": "
|
|
2149
|
+
"name": "oldValue",
|
|
2076
2150
|
"type": {
|
|
2077
|
-
"text": "
|
|
2151
|
+
"text": "any"
|
|
2152
|
+
}
|
|
2153
|
+
},
|
|
2154
|
+
{
|
|
2155
|
+
"name": "newValue",
|
|
2156
|
+
"type": {
|
|
2157
|
+
"text": "any"
|
|
2078
2158
|
}
|
|
2079
2159
|
}
|
|
2080
2160
|
]
|
|
2081
2161
|
},
|
|
2082
2162
|
{
|
|
2083
2163
|
"kind": "method",
|
|
2084
|
-
"name": "
|
|
2085
|
-
"
|
|
2086
|
-
"type": {
|
|
2087
|
-
"text": "void"
|
|
2088
|
-
}
|
|
2089
|
-
}
|
|
2164
|
+
"name": "openChanged",
|
|
2165
|
+
"privacy": "protected"
|
|
2090
2166
|
},
|
|
2091
2167
|
{
|
|
2092
2168
|
"kind": "method",
|
|
2093
|
-
"name": "
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
},
|
|
2169
|
+
"name": "toggleActionsMenuVisibility"
|
|
2170
|
+
},
|
|
2171
|
+
{
|
|
2172
|
+
"kind": "method",
|
|
2173
|
+
"name": "onActionMenuItemClick",
|
|
2099
2174
|
"parameters": [
|
|
2100
2175
|
{
|
|
2101
|
-
"name": "
|
|
2102
|
-
"type": {
|
|
2103
|
-
"text": "number"
|
|
2104
|
-
}
|
|
2105
|
-
},
|
|
2106
|
-
{
|
|
2107
|
-
"name": "clauseIndex",
|
|
2176
|
+
"name": "callback",
|
|
2108
2177
|
"type": {
|
|
2109
|
-
"text": "
|
|
2178
|
+
"text": "(rowData) => void | any"
|
|
2110
2179
|
}
|
|
2111
2180
|
}
|
|
2112
2181
|
]
|
|
2113
2182
|
},
|
|
2114
|
-
{
|
|
2115
|
-
"kind": "method",
|
|
2116
|
-
"name": "clearChips",
|
|
2117
|
-
"return": {
|
|
2118
|
-
"type": {
|
|
2119
|
-
"text": "void"
|
|
2120
|
-
}
|
|
2121
|
-
}
|
|
2122
|
-
},
|
|
2123
|
-
{
|
|
2124
|
-
"kind": "method",
|
|
2125
|
-
"name": "handleSubmit"
|
|
2126
|
-
},
|
|
2127
|
-
{
|
|
2128
|
-
"kind": "method",
|
|
2129
|
-
"name": "handleBlur"
|
|
2130
|
-
},
|
|
2131
|
-
{
|
|
2132
|
-
"kind": "method",
|
|
2133
|
-
"name": "clear"
|
|
2134
|
-
},
|
|
2135
|
-
{
|
|
2136
|
-
"kind": "method",
|
|
2137
|
-
"name": "toggleSpeechInput"
|
|
2138
|
-
},
|
|
2139
|
-
{
|
|
2140
|
-
"kind": "method",
|
|
2141
|
-
"name": "clearSpeechApplyDebounce",
|
|
2142
|
-
"privacy": "private"
|
|
2143
|
-
},
|
|
2144
2183
|
{
|
|
2145
2184
|
"kind": "field",
|
|
2146
|
-
"name": "
|
|
2147
|
-
"type": {
|
|
2148
|
-
"text": "ComponentPresentation | null | undefined"
|
|
2149
|
-
},
|
|
2150
|
-
"privacy": "private",
|
|
2151
|
-
"default": "void 0",
|
|
2152
|
-
"inheritedFrom": {
|
|
2153
|
-
"name": "FoundationElement",
|
|
2154
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2155
|
-
}
|
|
2156
|
-
},
|
|
2157
|
-
{
|
|
2158
|
-
"kind": "field",
|
|
2159
|
-
"name": "$presentation",
|
|
2160
|
-
"type": {
|
|
2161
|
-
"text": "ComponentPresentation | null"
|
|
2162
|
-
},
|
|
2163
|
-
"privacy": "public",
|
|
2164
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2165
|
-
"inheritedFrom": {
|
|
2166
|
-
"name": "FoundationElement",
|
|
2167
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2168
|
-
}
|
|
2169
|
-
},
|
|
2170
|
-
{
|
|
2171
|
-
"kind": "field",
|
|
2172
|
-
"name": "template",
|
|
2185
|
+
"name": "allActions",
|
|
2173
2186
|
"type": {
|
|
2174
|
-
"text": "
|
|
2175
|
-
},
|
|
2176
|
-
"privacy": "public",
|
|
2177
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
2178
|
-
"inheritedFrom": {
|
|
2179
|
-
"name": "FoundationElement",
|
|
2180
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2181
|
-
}
|
|
2182
|
-
},
|
|
2183
|
-
{
|
|
2184
|
-
"kind": "method",
|
|
2185
|
-
"name": "templateChanged",
|
|
2186
|
-
"privacy": "protected",
|
|
2187
|
-
"return": {
|
|
2188
|
-
"type": {
|
|
2189
|
-
"text": "void"
|
|
2190
|
-
}
|
|
2187
|
+
"text": "ActionMenuItem[]"
|
|
2191
2188
|
},
|
|
2192
|
-
"
|
|
2193
|
-
"name": "FoundationElement",
|
|
2194
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2195
|
-
}
|
|
2189
|
+
"readonly": true
|
|
2196
2190
|
},
|
|
2197
2191
|
{
|
|
2198
2192
|
"kind": "field",
|
|
2199
|
-
"name": "
|
|
2200
|
-
"
|
|
2201
|
-
"text": "ElementStyles | void | null"
|
|
2202
|
-
},
|
|
2203
|
-
"privacy": "public",
|
|
2204
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
2205
|
-
"inheritedFrom": {
|
|
2206
|
-
"name": "FoundationElement",
|
|
2207
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2208
|
-
}
|
|
2193
|
+
"name": "rowData",
|
|
2194
|
+
"readonly": true
|
|
2209
2195
|
},
|
|
2210
2196
|
{
|
|
2211
2197
|
"kind": "method",
|
|
2212
|
-
"name": "
|
|
2213
|
-
"
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
"
|
|
2198
|
+
"name": "getLabel",
|
|
2199
|
+
"parameters": [
|
|
2200
|
+
{
|
|
2201
|
+
"name": "name",
|
|
2202
|
+
"type": {
|
|
2203
|
+
"text": "string | ((rowData: any) => string)"
|
|
2204
|
+
}
|
|
2217
2205
|
}
|
|
2218
|
-
|
|
2219
|
-
"inheritedFrom": {
|
|
2220
|
-
"name": "FoundationElement",
|
|
2221
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2222
|
-
}
|
|
2206
|
+
]
|
|
2223
2207
|
},
|
|
2224
2208
|
{
|
|
2225
2209
|
"kind": "method",
|
|
2226
|
-
"name": "
|
|
2227
|
-
"privacy": "public",
|
|
2228
|
-
"static": true,
|
|
2229
|
-
"return": {
|
|
2230
|
-
"type": {
|
|
2231
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2232
|
-
}
|
|
2233
|
-
},
|
|
2210
|
+
"name": "getTemplate",
|
|
2234
2211
|
"parameters": [
|
|
2235
2212
|
{
|
|
2236
|
-
"name": "
|
|
2213
|
+
"name": "prefix",
|
|
2237
2214
|
"type": {
|
|
2238
|
-
"text": "
|
|
2215
|
+
"text": "string"
|
|
2239
2216
|
}
|
|
2240
|
-
},
|
|
2241
|
-
{
|
|
2242
|
-
"name": "elementDefinition",
|
|
2243
|
-
"type": {
|
|
2244
|
-
"text": "T"
|
|
2245
|
-
},
|
|
2246
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
2247
2217
|
}
|
|
2248
|
-
]
|
|
2249
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2250
|
-
"inheritedFrom": {
|
|
2251
|
-
"name": "FoundationElement",
|
|
2252
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2253
|
-
}
|
|
2254
|
-
}
|
|
2255
|
-
],
|
|
2256
|
-
"events": [
|
|
2257
|
-
{
|
|
2258
|
-
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2259
|
-
"name": "criteria-changed"
|
|
2260
|
-
},
|
|
2261
|
-
{
|
|
2262
|
-
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2263
|
-
"name": "validation-errors"
|
|
2264
|
-
}
|
|
2265
|
-
],
|
|
2266
|
-
"attributes": [
|
|
2267
|
-
{
|
|
2268
|
-
"name": "placeholder",
|
|
2269
|
-
"type": {
|
|
2270
|
-
"text": "string"
|
|
2271
|
-
},
|
|
2272
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2273
|
-
"fieldName": "placeholder"
|
|
2218
|
+
]
|
|
2274
2219
|
},
|
|
2275
2220
|
{
|
|
2276
|
-
"
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
},
|
|
2289
|
-
{
|
|
2290
|
-
"kind": "variable",
|
|
2291
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2292
|
-
"type": {
|
|
2293
|
-
"text": "ShadowRootInit"
|
|
2294
|
-
},
|
|
2295
|
-
"default": "undefined"
|
|
2296
|
-
},
|
|
2297
|
-
{
|
|
2298
|
-
"kind": "variable",
|
|
2299
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2300
|
-
"type": {
|
|
2301
|
-
"text": "object"
|
|
2302
|
-
},
|
|
2303
|
-
"default": "{}"
|
|
2304
|
-
},
|
|
2305
|
-
{
|
|
2306
|
-
"kind": "variable",
|
|
2307
|
-
"name": "foundationAiCriteriaSearch"
|
|
2308
|
-
}
|
|
2309
|
-
],
|
|
2310
|
-
"exports": [
|
|
2311
|
-
{
|
|
2312
|
-
"kind": "js",
|
|
2313
|
-
"name": "AiCriteriaSearch",
|
|
2314
|
-
"declaration": {
|
|
2315
|
-
"name": "AiCriteriaSearch",
|
|
2316
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2317
|
-
}
|
|
2318
|
-
},
|
|
2319
|
-
{
|
|
2320
|
-
"kind": "js",
|
|
2321
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2322
|
-
"declaration": {
|
|
2323
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2324
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2325
|
-
}
|
|
2326
|
-
},
|
|
2327
|
-
{
|
|
2328
|
-
"kind": "js",
|
|
2329
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2330
|
-
"declaration": {
|
|
2331
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2332
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2333
|
-
}
|
|
2334
|
-
},
|
|
2335
|
-
{
|
|
2336
|
-
"kind": "js",
|
|
2337
|
-
"name": "foundationAiCriteriaSearch",
|
|
2338
|
-
"declaration": {
|
|
2339
|
-
"name": "foundationAiCriteriaSearch",
|
|
2340
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2341
|
-
}
|
|
2342
|
-
}
|
|
2343
|
-
]
|
|
2344
|
-
},
|
|
2345
|
-
{
|
|
2346
|
-
"kind": "javascript-module",
|
|
2347
|
-
"path": "src/ai-criteria-search/index.ts",
|
|
2348
|
-
"declarations": [],
|
|
2349
|
-
"exports": [
|
|
2350
|
-
{
|
|
2351
|
-
"kind": "js",
|
|
2352
|
-
"name": "AiCriteriaSearch",
|
|
2353
|
-
"declaration": {
|
|
2354
|
-
"name": "AiCriteriaSearch",
|
|
2355
|
-
"module": "./ai-criteria-search"
|
|
2356
|
-
}
|
|
2357
|
-
},
|
|
2358
|
-
{
|
|
2359
|
-
"kind": "js",
|
|
2360
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2361
|
-
"declaration": {
|
|
2362
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2363
|
-
"module": "./ai-criteria-search"
|
|
2364
|
-
}
|
|
2365
|
-
},
|
|
2366
|
-
{
|
|
2367
|
-
"kind": "js",
|
|
2368
|
-
"name": "foundationAiCriteriaSearch",
|
|
2369
|
-
"declaration": {
|
|
2370
|
-
"name": "foundationAiCriteriaSearch",
|
|
2371
|
-
"module": "./ai-criteria-search"
|
|
2372
|
-
}
|
|
2373
|
-
},
|
|
2374
|
-
{
|
|
2375
|
-
"kind": "js",
|
|
2376
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2377
|
-
"declaration": {
|
|
2378
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2379
|
-
"module": "./ai-criteria-search"
|
|
2380
|
-
}
|
|
2381
|
-
},
|
|
2382
|
-
{
|
|
2383
|
-
"kind": "js",
|
|
2384
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2385
|
-
"declaration": {
|
|
2386
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2387
|
-
"module": "./ai-criteria-search.styles"
|
|
2388
|
-
}
|
|
2389
|
-
},
|
|
2390
|
-
{
|
|
2391
|
-
"kind": "js",
|
|
2392
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2393
|
-
"declaration": {
|
|
2394
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2395
|
-
"module": "./ai-criteria-search.template"
|
|
2396
|
-
}
|
|
2397
|
-
},
|
|
2398
|
-
{
|
|
2399
|
-
"kind": "js",
|
|
2400
|
-
"name": "*",
|
|
2401
|
-
"declaration": {
|
|
2402
|
-
"name": "*",
|
|
2403
|
-
"package": "./validation/criteria-ir"
|
|
2404
|
-
}
|
|
2405
|
-
},
|
|
2406
|
-
{
|
|
2407
|
-
"kind": "js",
|
|
2408
|
-
"name": "*",
|
|
2409
|
-
"declaration": {
|
|
2410
|
-
"name": "*",
|
|
2411
|
-
"package": "./validation/operator-map"
|
|
2412
|
-
}
|
|
2413
|
-
},
|
|
2414
|
-
{
|
|
2415
|
-
"kind": "js",
|
|
2416
|
-
"name": "*",
|
|
2417
|
-
"declaration": {
|
|
2418
|
-
"name": "*",
|
|
2419
|
-
"package": "./validation/schema-validator"
|
|
2420
|
-
}
|
|
2421
|
-
}
|
|
2422
|
-
]
|
|
2423
|
-
},
|
|
2424
|
-
{
|
|
2425
|
-
"kind": "javascript-module",
|
|
2426
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2427
|
-
"declarations": [
|
|
2428
|
-
{
|
|
2429
|
-
"kind": "function",
|
|
2430
|
-
"name": "formatValidationErrors",
|
|
2431
|
-
"return": {
|
|
2432
|
-
"type": {
|
|
2433
|
-
"text": "string"
|
|
2434
|
-
}
|
|
2435
|
-
},
|
|
2436
|
-
"parameters": [
|
|
2221
|
+
"kind": "field",
|
|
2222
|
+
"name": "_presentation",
|
|
2223
|
+
"type": {
|
|
2224
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2225
|
+
},
|
|
2226
|
+
"privacy": "private",
|
|
2227
|
+
"default": "void 0",
|
|
2228
|
+
"inheritedFrom": {
|
|
2229
|
+
"name": "FoundationElement",
|
|
2230
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2231
|
+
}
|
|
2232
|
+
},
|
|
2437
2233
|
{
|
|
2438
|
-
"
|
|
2234
|
+
"kind": "field",
|
|
2235
|
+
"name": "$presentation",
|
|
2439
2236
|
"type": {
|
|
2440
|
-
"text": "
|
|
2237
|
+
"text": "ComponentPresentation | null"
|
|
2238
|
+
},
|
|
2239
|
+
"privacy": "public",
|
|
2240
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2241
|
+
"inheritedFrom": {
|
|
2242
|
+
"name": "FoundationElement",
|
|
2243
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2244
|
+
}
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"kind": "field",
|
|
2248
|
+
"name": "template",
|
|
2249
|
+
"type": {
|
|
2250
|
+
"text": "ElementViewTemplate | void | null"
|
|
2251
|
+
},
|
|
2252
|
+
"privacy": "public",
|
|
2253
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
2254
|
+
"inheritedFrom": {
|
|
2255
|
+
"name": "FoundationElement",
|
|
2256
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2257
|
+
}
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
"kind": "method",
|
|
2261
|
+
"name": "templateChanged",
|
|
2262
|
+
"privacy": "protected",
|
|
2263
|
+
"return": {
|
|
2264
|
+
"type": {
|
|
2265
|
+
"text": "void"
|
|
2266
|
+
}
|
|
2267
|
+
},
|
|
2268
|
+
"inheritedFrom": {
|
|
2269
|
+
"name": "FoundationElement",
|
|
2270
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2271
|
+
}
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"kind": "field",
|
|
2275
|
+
"name": "styles",
|
|
2276
|
+
"type": {
|
|
2277
|
+
"text": "ElementStyles | void | null"
|
|
2278
|
+
},
|
|
2279
|
+
"privacy": "public",
|
|
2280
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
2281
|
+
"inheritedFrom": {
|
|
2282
|
+
"name": "FoundationElement",
|
|
2283
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
"kind": "method",
|
|
2288
|
+
"name": "stylesChanged",
|
|
2289
|
+
"privacy": "protected",
|
|
2290
|
+
"return": {
|
|
2291
|
+
"type": {
|
|
2292
|
+
"text": "void"
|
|
2293
|
+
}
|
|
2294
|
+
},
|
|
2295
|
+
"inheritedFrom": {
|
|
2296
|
+
"name": "FoundationElement",
|
|
2297
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2298
|
+
}
|
|
2299
|
+
},
|
|
2300
|
+
{
|
|
2301
|
+
"kind": "method",
|
|
2302
|
+
"name": "compose",
|
|
2303
|
+
"privacy": "public",
|
|
2304
|
+
"static": true,
|
|
2305
|
+
"return": {
|
|
2306
|
+
"type": {
|
|
2307
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2308
|
+
}
|
|
2309
|
+
},
|
|
2310
|
+
"parameters": [
|
|
2311
|
+
{
|
|
2312
|
+
"name": "this",
|
|
2313
|
+
"type": {
|
|
2314
|
+
"text": "K"
|
|
2315
|
+
}
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
"name": "elementDefinition",
|
|
2319
|
+
"type": {
|
|
2320
|
+
"text": "T"
|
|
2321
|
+
},
|
|
2322
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
2323
|
+
}
|
|
2324
|
+
],
|
|
2325
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2326
|
+
"inheritedFrom": {
|
|
2327
|
+
"name": "FoundationElement",
|
|
2328
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2441
2329
|
}
|
|
2442
2330
|
}
|
|
2443
2331
|
],
|
|
2444
|
-
"
|
|
2445
|
-
},
|
|
2446
|
-
{
|
|
2447
|
-
"kind": "function",
|
|
2448
|
-
"name": "showCriteriaError",
|
|
2449
|
-
"return": {
|
|
2450
|
-
"type": {
|
|
2451
|
-
"text": "void"
|
|
2452
|
-
}
|
|
2453
|
-
},
|
|
2454
|
-
"parameters": [
|
|
2332
|
+
"attributes": [
|
|
2455
2333
|
{
|
|
2456
|
-
"name": "
|
|
2334
|
+
"name": "is-vertical",
|
|
2457
2335
|
"type": {
|
|
2458
|
-
"text": "
|
|
2336
|
+
"text": "boolean"
|
|
2459
2337
|
},
|
|
2460
|
-
"
|
|
2338
|
+
"default": "false",
|
|
2339
|
+
"fieldName": "isVertical"
|
|
2461
2340
|
},
|
|
2462
2341
|
{
|
|
2463
|
-
"name": "
|
|
2342
|
+
"name": "add-default-actions",
|
|
2343
|
+
"type": {
|
|
2344
|
+
"text": "boolean"
|
|
2345
|
+
},
|
|
2346
|
+
"default": "true",
|
|
2347
|
+
"fieldName": "addDefaultActions"
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
"name": "auto-close-on-action",
|
|
2351
|
+
"type": {
|
|
2352
|
+
"text": "boolean"
|
|
2353
|
+
},
|
|
2354
|
+
"default": "true",
|
|
2355
|
+
"fieldName": "autoCloseOnAction"
|
|
2356
|
+
},
|
|
2357
|
+
{
|
|
2358
|
+
"name": "name",
|
|
2464
2359
|
"type": {
|
|
2465
2360
|
"text": "string"
|
|
2466
2361
|
},
|
|
2467
|
-
"
|
|
2362
|
+
"default": "'Actions'",
|
|
2363
|
+
"fieldName": "name"
|
|
2468
2364
|
},
|
|
2469
2365
|
{
|
|
2470
|
-
"name": "
|
|
2366
|
+
"name": "open",
|
|
2367
|
+
"type": {
|
|
2368
|
+
"text": "boolean"
|
|
2369
|
+
},
|
|
2370
|
+
"default": "false",
|
|
2371
|
+
"fieldName": "open"
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
"name": "buttonAppearance",
|
|
2471
2375
|
"type": {
|
|
2472
2376
|
"text": "string"
|
|
2473
2377
|
},
|
|
2474
|
-
"
|
|
2378
|
+
"fieldName": "buttonAppearance"
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
"name": "hide-disabled",
|
|
2382
|
+
"type": {
|
|
2383
|
+
"text": "boolean"
|
|
2384
|
+
},
|
|
2385
|
+
"default": "false",
|
|
2386
|
+
"fieldName": "hideDisabled"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"name": "hide-menu-single-option",
|
|
2390
|
+
"type": {
|
|
2391
|
+
"text": "boolean"
|
|
2392
|
+
},
|
|
2393
|
+
"default": "false",
|
|
2394
|
+
"fieldName": "hideMenuSingleOption"
|
|
2475
2395
|
}
|
|
2476
2396
|
],
|
|
2477
|
-
"
|
|
2397
|
+
"superclass": {
|
|
2398
|
+
"name": "FoundationElement",
|
|
2399
|
+
"package": "@microsoft/fast-foundation"
|
|
2400
|
+
},
|
|
2401
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2402
|
+
"customElement": true
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"kind": "variable",
|
|
2406
|
+
"name": "foundationActionsMenu",
|
|
2407
|
+
"description": "The Foundation Actions Menu",
|
|
2408
|
+
"privacy": "public"
|
|
2478
2409
|
}
|
|
2479
2410
|
],
|
|
2480
2411
|
"exports": [
|
|
2481
2412
|
{
|
|
2482
2413
|
"kind": "js",
|
|
2483
|
-
"name": "
|
|
2414
|
+
"name": "ActionsMenu",
|
|
2484
2415
|
"declaration": {
|
|
2485
|
-
"name": "
|
|
2486
|
-
"module": "src/
|
|
2416
|
+
"name": "ActionsMenu",
|
|
2417
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2487
2418
|
}
|
|
2488
2419
|
},
|
|
2489
2420
|
{
|
|
2490
2421
|
"kind": "js",
|
|
2491
|
-
"name": "
|
|
2422
|
+
"name": "foundationActionsMenu",
|
|
2492
2423
|
"declaration": {
|
|
2493
|
-
"name": "
|
|
2494
|
-
"module": "src/
|
|
2424
|
+
"name": "foundationActionsMenu",
|
|
2425
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2495
2426
|
}
|
|
2496
2427
|
}
|
|
2497
2428
|
]
|
|
2498
2429
|
},
|
|
2499
2430
|
{
|
|
2500
2431
|
"kind": "javascript-module",
|
|
2501
|
-
"path": "src/
|
|
2432
|
+
"path": "src/actions-menu/index.ts",
|
|
2502
2433
|
"declarations": [],
|
|
2503
2434
|
"exports": [
|
|
2504
2435
|
{
|
|
@@ -2506,7 +2437,7 @@
|
|
|
2506
2437
|
"name": "*",
|
|
2507
2438
|
"declaration": {
|
|
2508
2439
|
"name": "*",
|
|
2509
|
-
"package": "./styles"
|
|
2440
|
+
"package": "./actions-menu.styles"
|
|
2510
2441
|
}
|
|
2511
2442
|
},
|
|
2512
2443
|
{
|
|
@@ -2514,7 +2445,7 @@
|
|
|
2514
2445
|
"name": "*",
|
|
2515
2446
|
"declaration": {
|
|
2516
2447
|
"name": "*",
|
|
2517
|
-
"package": "./
|
|
2448
|
+
"package": "./actions-menu.template"
|
|
2518
2449
|
}
|
|
2519
2450
|
},
|
|
2520
2451
|
{
|
|
@@ -2522,82 +2453,64 @@
|
|
|
2522
2453
|
"name": "*",
|
|
2523
2454
|
"declaration": {
|
|
2524
2455
|
"name": "*",
|
|
2525
|
-
"package": "./
|
|
2456
|
+
"package": "./actions-menu"
|
|
2526
2457
|
}
|
|
2527
2458
|
}
|
|
2528
2459
|
]
|
|
2529
2460
|
},
|
|
2530
2461
|
{
|
|
2531
2462
|
"kind": "javascript-module",
|
|
2532
|
-
"path": "src/ai-
|
|
2463
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2533
2464
|
"declarations": [
|
|
2534
2465
|
{
|
|
2535
|
-
"kind": "
|
|
2536
|
-
"name": "
|
|
2537
|
-
"
|
|
2538
|
-
"type": {
|
|
2539
|
-
"text": "ElementStyles"
|
|
2540
|
-
}
|
|
2541
|
-
},
|
|
2542
|
-
"parameters": [
|
|
2543
|
-
{
|
|
2544
|
-
"name": "context",
|
|
2545
|
-
"type": {
|
|
2546
|
-
"text": "ElementDefinitionContext"
|
|
2547
|
-
}
|
|
2548
|
-
},
|
|
2549
|
-
{
|
|
2550
|
-
"name": "definition",
|
|
2551
|
-
"type": {
|
|
2552
|
-
"text": "FoundationElementDefinition"
|
|
2553
|
-
}
|
|
2554
|
-
}
|
|
2555
|
-
]
|
|
2466
|
+
"kind": "variable",
|
|
2467
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2468
|
+
"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`"
|
|
2556
2469
|
}
|
|
2557
2470
|
],
|
|
2558
2471
|
"exports": [
|
|
2559
2472
|
{
|
|
2560
2473
|
"kind": "js",
|
|
2561
|
-
"name": "
|
|
2474
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2562
2475
|
"declaration": {
|
|
2563
|
-
"name": "
|
|
2564
|
-
"module": "src/ai-
|
|
2476
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2477
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2565
2478
|
}
|
|
2566
2479
|
}
|
|
2567
2480
|
]
|
|
2568
2481
|
},
|
|
2569
2482
|
{
|
|
2570
2483
|
"kind": "javascript-module",
|
|
2571
|
-
"path": "src/ai-
|
|
2484
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2572
2485
|
"declarations": [
|
|
2573
2486
|
{
|
|
2574
2487
|
"kind": "variable",
|
|
2575
|
-
"name": "
|
|
2488
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2576
2489
|
"type": {
|
|
2577
|
-
"text": "ViewTemplate<
|
|
2490
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2578
2491
|
},
|
|
2579
|
-
"default": "html`\n ${(x) =>
|
|
2492
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2580
2493
|
}
|
|
2581
2494
|
],
|
|
2582
2495
|
"exports": [
|
|
2583
2496
|
{
|
|
2584
2497
|
"kind": "js",
|
|
2585
|
-
"name": "
|
|
2498
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2586
2499
|
"declaration": {
|
|
2587
|
-
"name": "
|
|
2588
|
-
"module": "src/ai-
|
|
2500
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2501
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2589
2502
|
}
|
|
2590
2503
|
}
|
|
2591
2504
|
]
|
|
2592
2505
|
},
|
|
2593
2506
|
{
|
|
2594
2507
|
"kind": "javascript-module",
|
|
2595
|
-
"path": "src/ai-
|
|
2508
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2596
2509
|
"declarations": [
|
|
2597
2510
|
{
|
|
2598
2511
|
"kind": "class",
|
|
2599
|
-
"description": "",
|
|
2600
|
-
"name": "
|
|
2512
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2513
|
+
"name": "AiCriteriaSearch",
|
|
2601
2514
|
"members": [
|
|
2602
2515
|
{
|
|
2603
2516
|
"kind": "field",
|
|
@@ -2608,25 +2521,54 @@
|
|
|
2608
2521
|
},
|
|
2609
2522
|
{
|
|
2610
2523
|
"kind": "field",
|
|
2611
|
-
"name": "
|
|
2524
|
+
"name": "placeholder",
|
|
2612
2525
|
"type": {
|
|
2613
|
-
"text": "
|
|
2526
|
+
"text": "string"
|
|
2614
2527
|
},
|
|
2615
|
-
"
|
|
2616
|
-
"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.",
|
|
2617
|
-
"readonly": true
|
|
2528
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2618
2529
|
},
|
|
2619
2530
|
{
|
|
2620
2531
|
"kind": "field",
|
|
2621
|
-
"name": "
|
|
2532
|
+
"name": "disabled",
|
|
2622
2533
|
"type": {
|
|
2623
|
-
"text": "
|
|
2534
|
+
"text": "boolean"
|
|
2535
|
+
}
|
|
2536
|
+
},
|
|
2537
|
+
{
|
|
2538
|
+
"kind": "field",
|
|
2539
|
+
"name": "inputValue",
|
|
2540
|
+
"type": {
|
|
2541
|
+
"text": "string"
|
|
2542
|
+
},
|
|
2543
|
+
"default": "''"
|
|
2544
|
+
},
|
|
2545
|
+
{
|
|
2546
|
+
"kind": "field",
|
|
2547
|
+
"name": "isInterpreting",
|
|
2548
|
+
"type": {
|
|
2549
|
+
"text": "boolean"
|
|
2550
|
+
},
|
|
2551
|
+
"default": "false"
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
"kind": "field",
|
|
2555
|
+
"name": "lastValidCriteria",
|
|
2556
|
+
"type": {
|
|
2557
|
+
"text": "string | null"
|
|
2624
2558
|
},
|
|
2625
2559
|
"default": "null"
|
|
2626
2560
|
},
|
|
2627
2561
|
{
|
|
2628
2562
|
"kind": "field",
|
|
2629
|
-
"name": "
|
|
2563
|
+
"name": "activeGroups",
|
|
2564
|
+
"type": {
|
|
2565
|
+
"text": "CriteriaGroup[]"
|
|
2566
|
+
},
|
|
2567
|
+
"default": "[]"
|
|
2568
|
+
},
|
|
2569
|
+
{
|
|
2570
|
+
"kind": "field",
|
|
2571
|
+
"name": "showingChips",
|
|
2630
2572
|
"type": {
|
|
2631
2573
|
"text": "boolean"
|
|
2632
2574
|
},
|
|
@@ -2634,15 +2576,15 @@
|
|
|
2634
2576
|
},
|
|
2635
2577
|
{
|
|
2636
2578
|
"kind": "field",
|
|
2637
|
-
"name": "
|
|
2579
|
+
"name": "fieldMetadata",
|
|
2638
2580
|
"type": {
|
|
2639
|
-
"text": "
|
|
2581
|
+
"text": "MetadataDetail[] | string[]"
|
|
2640
2582
|
},
|
|
2641
|
-
"default": "
|
|
2583
|
+
"default": "[]"
|
|
2642
2584
|
},
|
|
2643
2585
|
{
|
|
2644
2586
|
"kind": "field",
|
|
2645
|
-
"name": "
|
|
2587
|
+
"name": "isRecording",
|
|
2646
2588
|
"type": {
|
|
2647
2589
|
"text": "boolean"
|
|
2648
2590
|
},
|
|
@@ -2650,29 +2592,33 @@
|
|
|
2650
2592
|
},
|
|
2651
2593
|
{
|
|
2652
2594
|
"kind": "field",
|
|
2653
|
-
"name": "
|
|
2595
|
+
"name": "textAreaRef",
|
|
2654
2596
|
"type": {
|
|
2655
|
-
"text": "
|
|
2597
|
+
"text": "HTMLTextAreaElement"
|
|
2656
2598
|
},
|
|
2657
|
-
"privacy": "
|
|
2658
|
-
"default": "null"
|
|
2599
|
+
"privacy": "public"
|
|
2659
2600
|
},
|
|
2660
2601
|
{
|
|
2661
2602
|
"kind": "field",
|
|
2662
|
-
"name": "
|
|
2663
|
-
"
|
|
2603
|
+
"name": "stopRecording",
|
|
2604
|
+
"type": {
|
|
2605
|
+
"text": "(() => void) | null"
|
|
2606
|
+
},
|
|
2607
|
+
"privacy": "private",
|
|
2608
|
+
"default": "null"
|
|
2664
2609
|
},
|
|
2665
2610
|
{
|
|
2666
2611
|
"kind": "field",
|
|
2667
|
-
"name": "
|
|
2612
|
+
"name": "speechApplyDebounceTimer",
|
|
2668
2613
|
"type": {
|
|
2669
|
-
"text": "
|
|
2614
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2670
2615
|
},
|
|
2671
|
-
"
|
|
2616
|
+
"privacy": "private",
|
|
2617
|
+
"default": "null"
|
|
2672
2618
|
},
|
|
2673
2619
|
{
|
|
2674
2620
|
"kind": "field",
|
|
2675
|
-
"name": "
|
|
2621
|
+
"name": "speechAvailable",
|
|
2676
2622
|
"type": {
|
|
2677
2623
|
"text": "boolean"
|
|
2678
2624
|
},
|
|
@@ -2680,69 +2626,65 @@
|
|
|
2680
2626
|
},
|
|
2681
2627
|
{
|
|
2682
2628
|
"kind": "field",
|
|
2683
|
-
"name": "
|
|
2629
|
+
"name": "criteriaChips",
|
|
2684
2630
|
"type": {
|
|
2685
|
-
"text": "
|
|
2631
|
+
"text": "CriteriaChip[]"
|
|
2686
2632
|
},
|
|
2687
2633
|
"readonly": true
|
|
2688
2634
|
},
|
|
2689
2635
|
{
|
|
2690
2636
|
"kind": "method",
|
|
2691
|
-
"name": "
|
|
2637
|
+
"name": "getFieldLabel",
|
|
2638
|
+
"privacy": "private",
|
|
2692
2639
|
"return": {
|
|
2693
2640
|
"type": {
|
|
2694
|
-
"text": "
|
|
2641
|
+
"text": "string"
|
|
2695
2642
|
}
|
|
2696
|
-
}
|
|
2697
|
-
},
|
|
2698
|
-
{
|
|
2699
|
-
"kind": "method",
|
|
2700
|
-
"name": "handleClickOutside",
|
|
2701
|
-
"privacy": "private",
|
|
2643
|
+
},
|
|
2702
2644
|
"parameters": [
|
|
2703
2645
|
{
|
|
2704
|
-
"name": "
|
|
2646
|
+
"name": "fieldName",
|
|
2705
2647
|
"type": {
|
|
2706
|
-
"text": "
|
|
2648
|
+
"text": "string"
|
|
2707
2649
|
}
|
|
2708
2650
|
}
|
|
2709
2651
|
]
|
|
2710
2652
|
},
|
|
2711
2653
|
{
|
|
2712
2654
|
"kind": "method",
|
|
2713
|
-
"name": "
|
|
2714
|
-
},
|
|
2715
|
-
{
|
|
2716
|
-
"kind": "method",
|
|
2717
|
-
"name": "refreshStatus",
|
|
2655
|
+
"name": "toggleCriteriaView",
|
|
2718
2656
|
"return": {
|
|
2719
2657
|
"type": {
|
|
2720
|
-
"text": "
|
|
2658
|
+
"text": "void"
|
|
2721
2659
|
}
|
|
2722
2660
|
}
|
|
2723
2661
|
},
|
|
2724
2662
|
{
|
|
2725
2663
|
"kind": "method",
|
|
2726
|
-
"name": "
|
|
2727
|
-
"privacy": "private",
|
|
2664
|
+
"name": "removeChip",
|
|
2728
2665
|
"return": {
|
|
2729
2666
|
"type": {
|
|
2730
|
-
"text": "
|
|
2667
|
+
"text": "void"
|
|
2731
2668
|
}
|
|
2732
2669
|
},
|
|
2733
2670
|
"parameters": [
|
|
2734
2671
|
{
|
|
2735
|
-
"name": "
|
|
2672
|
+
"name": "groupIndex",
|
|
2736
2673
|
"type": {
|
|
2737
|
-
"text": "
|
|
2674
|
+
"text": "number"
|
|
2675
|
+
}
|
|
2676
|
+
},
|
|
2677
|
+
{
|
|
2678
|
+
"name": "clauseIndex",
|
|
2679
|
+
"type": {
|
|
2680
|
+
"text": "number"
|
|
2738
2681
|
}
|
|
2739
2682
|
}
|
|
2740
2683
|
]
|
|
2741
2684
|
},
|
|
2742
2685
|
{
|
|
2743
2686
|
"kind": "method",
|
|
2744
|
-
"name": "
|
|
2745
|
-
"privacy": "private",
|
|
2687
|
+
"name": "clearChips",
|
|
2746
2688
|
"return": {
|
|
2747
2689
|
"type": {
|
|
2748
2690
|
"text": "void"
|
|
@@ -2751,32 +2693,24 @@
|
|
|
2751
2693
|
},
|
|
2752
2694
|
{
|
|
2753
2695
|
"kind": "method",
|
|
2754
|
-
"name": "
|
|
2755
|
-
"privacy": "private",
|
|
2756
|
-
"return": {
|
|
2757
|
-
"type": {
|
|
2758
|
-
"text": "void"
|
|
2759
|
-
}
|
|
2760
|
-
}
|
|
2696
|
+
"name": "handleSubmit"
|
|
2761
2697
|
},
|
|
2762
2698
|
{
|
|
2763
2699
|
"kind": "method",
|
|
2764
|
-
"name": "
|
|
2765
|
-
"privacy": "private",
|
|
2766
|
-
"return": {
|
|
2767
|
-
"type": {
|
|
2768
|
-
"text": "void"
|
|
2769
|
-
}
|
|
2770
|
-
}
|
|
2700
|
+
"name": "handleBlur"
|
|
2771
2701
|
},
|
|
2772
2702
|
{
|
|
2773
2703
|
"kind": "method",
|
|
2774
|
-
"name": "
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2704
|
+
"name": "clear"
|
|
2705
|
+
},
|
|
2706
|
+
{
|
|
2707
|
+
"kind": "method",
|
|
2708
|
+
"name": "toggleSpeechInput"
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
"kind": "method",
|
|
2712
|
+
"name": "clearSpeechApplyDebounce",
|
|
2713
|
+
"privacy": "private"
|
|
2780
2714
|
},
|
|
2781
2715
|
{
|
|
2782
2716
|
"kind": "field",
|
|
@@ -2890,291 +2824,365 @@
|
|
|
2890
2824
|
}
|
|
2891
2825
|
}
|
|
2892
2826
|
],
|
|
2827
|
+
"events": [
|
|
2828
|
+
{
|
|
2829
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2830
|
+
"name": "criteria-changed"
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2834
|
+
"name": "validation-errors"
|
|
2835
|
+
}
|
|
2836
|
+
],
|
|
2837
|
+
"attributes": [
|
|
2838
|
+
{
|
|
2839
|
+
"name": "placeholder",
|
|
2840
|
+
"type": {
|
|
2841
|
+
"text": "string"
|
|
2842
|
+
},
|
|
2843
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2844
|
+
"fieldName": "placeholder"
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
"type": {
|
|
2848
|
+
"text": "boolean"
|
|
2849
|
+
},
|
|
2850
|
+
"fieldName": "disabled"
|
|
2851
|
+
}
|
|
2852
|
+
],
|
|
2893
2853
|
"superclass": {
|
|
2894
2854
|
"name": "FoundationElement",
|
|
2895
2855
|
"package": "@microsoft/fast-foundation"
|
|
2896
2856
|
},
|
|
2897
|
-
"tagName": "%%prefix%%-ai-
|
|
2857
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2898
2858
|
"customElement": true
|
|
2899
2859
|
},
|
|
2900
2860
|
{
|
|
2901
2861
|
"kind": "variable",
|
|
2902
|
-
"name": "
|
|
2862
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2863
|
+
"type": {
|
|
2864
|
+
"text": "ShadowRootInit"
|
|
2865
|
+
},
|
|
2866
|
+
"default": "undefined"
|
|
2867
|
+
},
|
|
2868
|
+
{
|
|
2869
|
+
"kind": "variable",
|
|
2870
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2871
|
+
"type": {
|
|
2872
|
+
"text": "object"
|
|
2873
|
+
},
|
|
2874
|
+
"default": "{}"
|
|
2875
|
+
},
|
|
2876
|
+
{
|
|
2877
|
+
"kind": "variable",
|
|
2878
|
+
"name": "foundationAiCriteriaSearch"
|
|
2903
2879
|
}
|
|
2904
2880
|
],
|
|
2905
2881
|
"exports": [
|
|
2906
2882
|
{
|
|
2907
2883
|
"kind": "js",
|
|
2908
|
-
"name": "
|
|
2884
|
+
"name": "AiCriteriaSearch",
|
|
2909
2885
|
"declaration": {
|
|
2910
|
-
"name": "
|
|
2911
|
-
"module": "src/ai-
|
|
2886
|
+
"name": "AiCriteriaSearch",
|
|
2887
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2912
2888
|
}
|
|
2913
2889
|
},
|
|
2914
2890
|
{
|
|
2915
2891
|
"kind": "js",
|
|
2916
|
-
"name": "
|
|
2892
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2917
2893
|
"declaration": {
|
|
2918
|
-
"name": "
|
|
2919
|
-
"module": "src/ai-
|
|
2894
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2895
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2896
|
+
}
|
|
2897
|
+
},
|
|
2898
|
+
{
|
|
2899
|
+
"kind": "js",
|
|
2900
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2901
|
+
"declaration": {
|
|
2902
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2903
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2904
|
+
}
|
|
2905
|
+
},
|
|
2906
|
+
{
|
|
2907
|
+
"kind": "js",
|
|
2908
|
+
"name": "foundationAiCriteriaSearch",
|
|
2909
|
+
"declaration": {
|
|
2910
|
+
"name": "foundationAiCriteriaSearch",
|
|
2911
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2920
2912
|
}
|
|
2921
2913
|
}
|
|
2922
2914
|
]
|
|
2923
2915
|
},
|
|
2924
2916
|
{
|
|
2925
2917
|
"kind": "javascript-module",
|
|
2926
|
-
"path": "src/ai-
|
|
2918
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2927
2919
|
"declarations": [],
|
|
2928
2920
|
"exports": [
|
|
2929
2921
|
{
|
|
2930
2922
|
"kind": "js",
|
|
2931
|
-
"name": "
|
|
2923
|
+
"name": "AiCriteriaSearch",
|
|
2924
|
+
"declaration": {
|
|
2925
|
+
"name": "AiCriteriaSearch",
|
|
2926
|
+
"module": "./ai-criteria-search"
|
|
2927
|
+
}
|
|
2928
|
+
},
|
|
2929
|
+
{
|
|
2930
|
+
"kind": "js",
|
|
2931
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2932
|
+
"declaration": {
|
|
2933
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2934
|
+
"module": "./ai-criteria-search"
|
|
2935
|
+
}
|
|
2936
|
+
},
|
|
2937
|
+
{
|
|
2938
|
+
"kind": "js",
|
|
2939
|
+
"name": "foundationAiCriteriaSearch",
|
|
2940
|
+
"declaration": {
|
|
2941
|
+
"name": "foundationAiCriteriaSearch",
|
|
2942
|
+
"module": "./ai-criteria-search"
|
|
2943
|
+
}
|
|
2944
|
+
},
|
|
2945
|
+
{
|
|
2946
|
+
"kind": "js",
|
|
2947
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2932
2948
|
"declaration": {
|
|
2933
|
-
"name": "
|
|
2934
|
-
"module": "./ai-
|
|
2949
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2950
|
+
"module": "./ai-criteria-search"
|
|
2935
2951
|
}
|
|
2936
2952
|
},
|
|
2937
2953
|
{
|
|
2938
2954
|
"kind": "js",
|
|
2939
|
-
"name": "
|
|
2955
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2940
2956
|
"declaration": {
|
|
2941
|
-
"name": "
|
|
2942
|
-
"module": "./ai-
|
|
2957
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2958
|
+
"module": "./ai-criteria-search.styles"
|
|
2943
2959
|
}
|
|
2944
2960
|
},
|
|
2945
2961
|
{
|
|
2946
2962
|
"kind": "js",
|
|
2947
|
-
"name": "
|
|
2963
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2948
2964
|
"declaration": {
|
|
2949
|
-
"name": "
|
|
2950
|
-
"module": "./ai-
|
|
2965
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2966
|
+
"module": "./ai-criteria-search.template"
|
|
2951
2967
|
}
|
|
2952
2968
|
},
|
|
2953
2969
|
{
|
|
2954
2970
|
"kind": "js",
|
|
2955
|
-
"name": "
|
|
2971
|
+
"name": "*",
|
|
2956
2972
|
"declaration": {
|
|
2957
|
-
"name": "
|
|
2958
|
-
"
|
|
2973
|
+
"name": "*",
|
|
2974
|
+
"package": "./validation/criteria-ir"
|
|
2959
2975
|
}
|
|
2960
2976
|
},
|
|
2961
2977
|
{
|
|
2962
2978
|
"kind": "js",
|
|
2963
|
-
"name": "
|
|
2979
|
+
"name": "*",
|
|
2964
2980
|
"declaration": {
|
|
2965
|
-
"name": "
|
|
2966
|
-
"
|
|
2981
|
+
"name": "*",
|
|
2982
|
+
"package": "./validation/operator-map"
|
|
2967
2983
|
}
|
|
2968
2984
|
},
|
|
2969
2985
|
{
|
|
2970
2986
|
"kind": "js",
|
|
2971
|
-
"name": "
|
|
2987
|
+
"name": "*",
|
|
2972
2988
|
"declaration": {
|
|
2973
|
-
"name": "
|
|
2974
|
-
"
|
|
2989
|
+
"name": "*",
|
|
2990
|
+
"package": "./validation/schema-validator"
|
|
2975
2991
|
}
|
|
2976
2992
|
}
|
|
2977
2993
|
]
|
|
2978
2994
|
},
|
|
2979
2995
|
{
|
|
2980
2996
|
"kind": "javascript-module",
|
|
2981
|
-
"path": "src/
|
|
2997
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2982
2998
|
"declarations": [
|
|
2983
2999
|
{
|
|
2984
3000
|
"kind": "function",
|
|
2985
|
-
"name": "
|
|
3001
|
+
"name": "formatValidationErrors",
|
|
2986
3002
|
"return": {
|
|
2987
3003
|
"type": {
|
|
2988
|
-
"text": "
|
|
3004
|
+
"text": "string"
|
|
2989
3005
|
}
|
|
2990
3006
|
},
|
|
2991
3007
|
"parameters": [
|
|
2992
3008
|
{
|
|
2993
|
-
"name": "
|
|
2994
|
-
"type": {
|
|
2995
|
-
"text": "ElementDefinitionContext"
|
|
2996
|
-
}
|
|
2997
|
-
},
|
|
2998
|
-
{
|
|
2999
|
-
"name": "definition",
|
|
3009
|
+
"name": "errors",
|
|
3000
3010
|
"type": {
|
|
3001
|
-
"text": "
|
|
3011
|
+
"text": "ValidationError[]"
|
|
3002
3012
|
}
|
|
3003
3013
|
}
|
|
3004
|
-
]
|
|
3014
|
+
],
|
|
3015
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3005
3016
|
},
|
|
3006
3017
|
{
|
|
3007
3018
|
"kind": "function",
|
|
3008
|
-
"name": "
|
|
3019
|
+
"name": "showCriteriaError",
|
|
3009
3020
|
"return": {
|
|
3010
3021
|
"type": {
|
|
3011
|
-
"text": "
|
|
3022
|
+
"text": "void"
|
|
3012
3023
|
}
|
|
3013
3024
|
},
|
|
3014
3025
|
"parameters": [
|
|
3015
3026
|
{
|
|
3016
|
-
"name": "
|
|
3027
|
+
"name": "title",
|
|
3017
3028
|
"type": {
|
|
3018
|
-
"text": "
|
|
3019
|
-
}
|
|
3029
|
+
"text": "string"
|
|
3030
|
+
},
|
|
3031
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3020
3032
|
},
|
|
3021
3033
|
{
|
|
3022
|
-
"name": "
|
|
3034
|
+
"name": "body",
|
|
3023
3035
|
"type": {
|
|
3024
|
-
"text": "
|
|
3025
|
-
}
|
|
3036
|
+
"text": "string"
|
|
3037
|
+
},
|
|
3038
|
+
"description": "Error message to display"
|
|
3039
|
+
},
|
|
3040
|
+
{
|
|
3041
|
+
"name": "tagName",
|
|
3042
|
+
"type": {
|
|
3043
|
+
"text": "string"
|
|
3044
|
+
},
|
|
3045
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3026
3046
|
}
|
|
3027
|
-
]
|
|
3047
|
+
],
|
|
3048
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3028
3049
|
}
|
|
3029
3050
|
],
|
|
3030
3051
|
"exports": [
|
|
3031
3052
|
{
|
|
3032
3053
|
"kind": "js",
|
|
3033
|
-
"name": "
|
|
3054
|
+
"name": "formatValidationErrors",
|
|
3034
3055
|
"declaration": {
|
|
3035
|
-
"name": "
|
|
3036
|
-
"module": "src/
|
|
3056
|
+
"name": "formatValidationErrors",
|
|
3057
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3037
3058
|
}
|
|
3038
3059
|
},
|
|
3039
3060
|
{
|
|
3040
3061
|
"kind": "js",
|
|
3041
|
-
"name": "
|
|
3062
|
+
"name": "showCriteriaError",
|
|
3042
3063
|
"declaration": {
|
|
3043
|
-
"name": "
|
|
3044
|
-
"module": "src/
|
|
3064
|
+
"name": "showCriteriaError",
|
|
3065
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3045
3066
|
}
|
|
3046
3067
|
}
|
|
3047
3068
|
]
|
|
3048
3069
|
},
|
|
3049
3070
|
{
|
|
3050
3071
|
"kind": "javascript-module",
|
|
3051
|
-
"path": "src/
|
|
3072
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3052
3073
|
"declarations": [
|
|
3053
3074
|
{
|
|
3054
3075
|
"kind": "function",
|
|
3055
|
-
"name": "
|
|
3076
|
+
"name": "foundationAiIndicatorStyles",
|
|
3077
|
+
"return": {
|
|
3078
|
+
"type": {
|
|
3079
|
+
"text": "ElementStyles"
|
|
3080
|
+
}
|
|
3081
|
+
},
|
|
3056
3082
|
"parameters": [
|
|
3057
3083
|
{
|
|
3058
|
-
"name": "
|
|
3084
|
+
"name": "context",
|
|
3059
3085
|
"type": {
|
|
3060
|
-
"text": "
|
|
3086
|
+
"text": "ElementDefinitionContext"
|
|
3061
3087
|
}
|
|
3062
|
-
}
|
|
3063
|
-
]
|
|
3064
|
-
},
|
|
3065
|
-
{
|
|
3066
|
-
"kind": "function",
|
|
3067
|
-
"name": "singleOptionTemplate",
|
|
3068
|
-
"parameters": [
|
|
3088
|
+
},
|
|
3069
3089
|
{
|
|
3070
|
-
"name": "
|
|
3090
|
+
"name": "definition",
|
|
3071
3091
|
"type": {
|
|
3072
|
-
"text": "
|
|
3092
|
+
"text": "FoundationElementDefinition"
|
|
3073
3093
|
}
|
|
3074
3094
|
}
|
|
3075
3095
|
]
|
|
3076
|
-
},
|
|
3077
|
-
{
|
|
3078
|
-
"kind": "variable",
|
|
3079
|
-
"name": "foundationActionsMenuTemplate",
|
|
3080
|
-
"type": {
|
|
3081
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
3082
|
-
},
|
|
3083
|
-
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
3084
3096
|
}
|
|
3085
3097
|
],
|
|
3086
3098
|
"exports": [
|
|
3087
3099
|
{
|
|
3088
3100
|
"kind": "js",
|
|
3089
|
-
"name": "
|
|
3101
|
+
"name": "foundationAiIndicatorStyles",
|
|
3090
3102
|
"declaration": {
|
|
3091
|
-
"name": "
|
|
3092
|
-
"module": "src/
|
|
3103
|
+
"name": "foundationAiIndicatorStyles",
|
|
3104
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3093
3105
|
}
|
|
3094
|
-
}
|
|
3106
|
+
}
|
|
3107
|
+
]
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
"kind": "javascript-module",
|
|
3111
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3112
|
+
"declarations": [
|
|
3095
3113
|
{
|
|
3096
|
-
"kind": "
|
|
3097
|
-
"name": "
|
|
3098
|
-
"
|
|
3099
|
-
"
|
|
3100
|
-
|
|
3101
|
-
}
|
|
3102
|
-
}
|
|
3114
|
+
"kind": "variable",
|
|
3115
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3116
|
+
"type": {
|
|
3117
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3118
|
+
},
|
|
3119
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3120
|
+
}
|
|
3121
|
+
],
|
|
3122
|
+
"exports": [
|
|
3103
3123
|
{
|
|
3104
3124
|
"kind": "js",
|
|
3105
|
-
"name": "
|
|
3125
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3106
3126
|
"declaration": {
|
|
3107
|
-
"name": "
|
|
3108
|
-
"module": "src/
|
|
3127
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3128
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3109
3129
|
}
|
|
3110
3130
|
}
|
|
3111
3131
|
]
|
|
3112
3132
|
},
|
|
3113
3133
|
{
|
|
3114
3134
|
"kind": "javascript-module",
|
|
3115
|
-
"path": "src/
|
|
3135
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3116
3136
|
"declarations": [
|
|
3117
3137
|
{
|
|
3118
3138
|
"kind": "class",
|
|
3119
3139
|
"description": "",
|
|
3120
|
-
"name": "
|
|
3140
|
+
"name": "AiIndicator",
|
|
3121
3141
|
"members": [
|
|
3122
3142
|
{
|
|
3123
3143
|
"kind": "field",
|
|
3124
|
-
"name": "
|
|
3144
|
+
"name": "providerRegistry",
|
|
3125
3145
|
"type": {
|
|
3126
|
-
"text": "
|
|
3146
|
+
"text": "AIProviderRegistry"
|
|
3127
3147
|
}
|
|
3128
3148
|
},
|
|
3129
3149
|
{
|
|
3130
3150
|
"kind": "field",
|
|
3131
|
-
"name": "
|
|
3151
|
+
"name": "aiProvider",
|
|
3132
3152
|
"type": {
|
|
3133
|
-
"text": "
|
|
3153
|
+
"text": "AIProvider | undefined"
|
|
3134
3154
|
},
|
|
3135
|
-
"
|
|
3155
|
+
"privacy": "private",
|
|
3156
|
+
"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.",
|
|
3157
|
+
"readonly": true
|
|
3136
3158
|
},
|
|
3137
3159
|
{
|
|
3138
3160
|
"kind": "field",
|
|
3139
|
-
"name": "
|
|
3161
|
+
"name": "status",
|
|
3140
3162
|
"type": {
|
|
3141
|
-
"text": "
|
|
3163
|
+
"text": "AIStatus | null"
|
|
3142
3164
|
},
|
|
3143
|
-
"default": "
|
|
3165
|
+
"default": "null"
|
|
3144
3166
|
},
|
|
3145
3167
|
{
|
|
3146
3168
|
"kind": "field",
|
|
3147
|
-
"name": "
|
|
3169
|
+
"name": "open",
|
|
3148
3170
|
"type": {
|
|
3149
3171
|
"text": "boolean"
|
|
3150
3172
|
},
|
|
3151
|
-
"default": "
|
|
3152
|
-
},
|
|
3153
|
-
{
|
|
3154
|
-
"kind": "field",
|
|
3155
|
-
"name": "classNames",
|
|
3156
|
-
"type": {
|
|
3157
|
-
"text": "string"
|
|
3158
|
-
}
|
|
3159
|
-
},
|
|
3160
|
-
{
|
|
3161
|
-
"kind": "field",
|
|
3162
|
-
"name": "definition",
|
|
3163
|
-
"type": {
|
|
3164
|
-
"text": "any"
|
|
3165
|
-
}
|
|
3173
|
+
"default": "false"
|
|
3166
3174
|
},
|
|
3167
3175
|
{
|
|
3168
3176
|
"kind": "field",
|
|
3169
|
-
"name": "
|
|
3177
|
+
"name": "state",
|
|
3170
3178
|
"type": {
|
|
3171
|
-
"text": "
|
|
3179
|
+
"text": "AIIndicatorState"
|
|
3172
3180
|
},
|
|
3173
|
-
"default": "'
|
|
3181
|
+
"default": "'none'"
|
|
3174
3182
|
},
|
|
3175
3183
|
{
|
|
3176
3184
|
"kind": "field",
|
|
3177
|
-
"name": "
|
|
3185
|
+
"name": "isInstalling",
|
|
3178
3186
|
"type": {
|
|
3179
3187
|
"text": "boolean"
|
|
3180
3188
|
},
|
|
@@ -3182,129 +3190,133 @@
|
|
|
3182
3190
|
},
|
|
3183
3191
|
{
|
|
3184
3192
|
"kind": "field",
|
|
3185
|
-
"name": "
|
|
3186
|
-
"type": {
|
|
3187
|
-
"text": "string"
|
|
3188
|
-
}
|
|
3189
|
-
},
|
|
3190
|
-
{
|
|
3191
|
-
"kind": "field",
|
|
3192
|
-
"name": "hideDisabled",
|
|
3193
|
+
"name": "pollTimer",
|
|
3193
3194
|
"type": {
|
|
3194
|
-
"text": "
|
|
3195
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3195
3196
|
},
|
|
3196
|
-
"
|
|
3197
|
+
"privacy": "private",
|
|
3198
|
+
"default": "null"
|
|
3197
3199
|
},
|
|
3198
3200
|
{
|
|
3199
3201
|
"kind": "field",
|
|
3200
|
-
"name": "
|
|
3201
|
-
"
|
|
3202
|
-
"text": "boolean"
|
|
3203
|
-
},
|
|
3204
|
-
"default": "false"
|
|
3202
|
+
"name": "clickOutside",
|
|
3203
|
+
"privacy": "private"
|
|
3205
3204
|
},
|
|
3206
3205
|
{
|
|
3207
3206
|
"kind": "field",
|
|
3208
|
-
"name": "
|
|
3207
|
+
"name": "chromeStatusLabel",
|
|
3209
3208
|
"type": {
|
|
3210
|
-
"text": "
|
|
3211
|
-
}
|
|
3209
|
+
"text": "string | null"
|
|
3210
|
+
},
|
|
3211
|
+
"readonly": true
|
|
3212
3212
|
},
|
|
3213
3213
|
{
|
|
3214
3214
|
"kind": "field",
|
|
3215
|
-
"name": "
|
|
3215
|
+
"name": "canInstall",
|
|
3216
3216
|
"type": {
|
|
3217
|
-
"text": "
|
|
3218
|
-
}
|
|
3217
|
+
"text": "boolean"
|
|
3218
|
+
},
|
|
3219
|
+
"readonly": true
|
|
3219
3220
|
},
|
|
3220
3221
|
{
|
|
3221
3222
|
"kind": "field",
|
|
3222
|
-
"name": "
|
|
3223
|
+
"name": "isDownloading",
|
|
3223
3224
|
"type": {
|
|
3224
|
-
"text": "
|
|
3225
|
-
}
|
|
3225
|
+
"text": "boolean"
|
|
3226
|
+
},
|
|
3227
|
+
"readonly": true
|
|
3226
3228
|
},
|
|
3227
3229
|
{
|
|
3228
3230
|
"kind": "method",
|
|
3229
|
-
"name": "
|
|
3230
|
-
"
|
|
3231
|
+
"name": "openChanged",
|
|
3232
|
+
"return": {
|
|
3233
|
+
"type": {
|
|
3234
|
+
"text": "void"
|
|
3235
|
+
}
|
|
3236
|
+
}
|
|
3231
3237
|
},
|
|
3232
3238
|
{
|
|
3233
3239
|
"kind": "method",
|
|
3234
|
-
"name": "
|
|
3235
|
-
"privacy": "
|
|
3240
|
+
"name": "handleClickOutside",
|
|
3241
|
+
"privacy": "private",
|
|
3236
3242
|
"parameters": [
|
|
3237
3243
|
{
|
|
3238
|
-
"name": "
|
|
3239
|
-
"type": {
|
|
3240
|
-
"text": "any"
|
|
3241
|
-
}
|
|
3242
|
-
},
|
|
3243
|
-
{
|
|
3244
|
-
"name": "newValue",
|
|
3244
|
+
"name": "event",
|
|
3245
3245
|
"type": {
|
|
3246
|
-
"text": "
|
|
3246
|
+
"text": "MouseEvent"
|
|
3247
3247
|
}
|
|
3248
3248
|
}
|
|
3249
3249
|
]
|
|
3250
3250
|
},
|
|
3251
3251
|
{
|
|
3252
3252
|
"kind": "method",
|
|
3253
|
-
"name": "
|
|
3254
|
-
"privacy": "protected"
|
|
3253
|
+
"name": "toggleDropdown"
|
|
3255
3254
|
},
|
|
3256
3255
|
{
|
|
3257
3256
|
"kind": "method",
|
|
3258
|
-
"name": "
|
|
3257
|
+
"name": "refreshStatus",
|
|
3258
|
+
"return": {
|
|
3259
|
+
"type": {
|
|
3260
|
+
"text": "Promise<void>"
|
|
3261
|
+
}
|
|
3262
|
+
}
|
|
3259
3263
|
},
|
|
3260
3264
|
{
|
|
3261
3265
|
"kind": "method",
|
|
3262
|
-
"name": "
|
|
3266
|
+
"name": "deriveState",
|
|
3267
|
+
"privacy": "private",
|
|
3268
|
+
"return": {
|
|
3269
|
+
"type": {
|
|
3270
|
+
"text": "AIIndicatorState"
|
|
3271
|
+
}
|
|
3272
|
+
},
|
|
3263
3273
|
"parameters": [
|
|
3264
3274
|
{
|
|
3265
|
-
"name": "
|
|
3275
|
+
"name": "s",
|
|
3266
3276
|
"type": {
|
|
3267
|
-
"text": "
|
|
3277
|
+
"text": "AIStatus | null"
|
|
3268
3278
|
}
|
|
3269
3279
|
}
|
|
3270
3280
|
]
|
|
3271
3281
|
},
|
|
3272
3282
|
{
|
|
3273
|
-
"kind": "
|
|
3274
|
-
"name": "
|
|
3275
|
-
"
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3283
|
+
"kind": "method",
|
|
3284
|
+
"name": "maybeStartPolling",
|
|
3285
|
+
"privacy": "private",
|
|
3286
|
+
"return": {
|
|
3287
|
+
"type": {
|
|
3288
|
+
"text": "void"
|
|
3289
|
+
}
|
|
3290
|
+
}
|
|
3279
3291
|
},
|
|
3280
3292
|
{
|
|
3281
|
-
"kind": "
|
|
3282
|
-
"name": "
|
|
3283
|
-
"
|
|
3293
|
+
"kind": "method",
|
|
3294
|
+
"name": "startPolling",
|
|
3295
|
+
"privacy": "private",
|
|
3296
|
+
"return": {
|
|
3297
|
+
"type": {
|
|
3298
|
+
"text": "void"
|
|
3299
|
+
}
|
|
3300
|
+
}
|
|
3284
3301
|
},
|
|
3285
3302
|
{
|
|
3286
3303
|
"kind": "method",
|
|
3287
|
-
"name": "
|
|
3288
|
-
"
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
"
|
|
3292
|
-
"text": "string | ((rowData: any) => string)"
|
|
3293
|
-
}
|
|
3304
|
+
"name": "stopPolling",
|
|
3305
|
+
"privacy": "private",
|
|
3306
|
+
"return": {
|
|
3307
|
+
"type": {
|
|
3308
|
+
"text": "void"
|
|
3294
3309
|
}
|
|
3295
|
-
|
|
3310
|
+
}
|
|
3296
3311
|
},
|
|
3297
3312
|
{
|
|
3298
3313
|
"kind": "method",
|
|
3299
|
-
"name": "
|
|
3300
|
-
"
|
|
3301
|
-
{
|
|
3302
|
-
"
|
|
3303
|
-
"type": {
|
|
3304
|
-
"text": "string"
|
|
3305
|
-
}
|
|
3314
|
+
"name": "onInstall",
|
|
3315
|
+
"return": {
|
|
3316
|
+
"type": {
|
|
3317
|
+
"text": "Promise<void>"
|
|
3306
3318
|
}
|
|
3307
|
-
|
|
3319
|
+
}
|
|
3308
3320
|
},
|
|
3309
3321
|
{
|
|
3310
3322
|
"kind": "field",
|
|
@@ -3418,131 +3430,88 @@
|
|
|
3418
3430
|
}
|
|
3419
3431
|
}
|
|
3420
3432
|
],
|
|
3421
|
-
"attributes": [
|
|
3422
|
-
{
|
|
3423
|
-
"name": "is-vertical",
|
|
3424
|
-
"type": {
|
|
3425
|
-
"text": "boolean"
|
|
3426
|
-
},
|
|
3427
|
-
"default": "false",
|
|
3428
|
-
"fieldName": "isVertical"
|
|
3429
|
-
},
|
|
3430
|
-
{
|
|
3431
|
-
"name": "add-default-actions",
|
|
3432
|
-
"type": {
|
|
3433
|
-
"text": "boolean"
|
|
3434
|
-
},
|
|
3435
|
-
"default": "true",
|
|
3436
|
-
"fieldName": "addDefaultActions"
|
|
3437
|
-
},
|
|
3438
|
-
{
|
|
3439
|
-
"name": "auto-close-on-action",
|
|
3440
|
-
"type": {
|
|
3441
|
-
"text": "boolean"
|
|
3442
|
-
},
|
|
3443
|
-
"default": "true",
|
|
3444
|
-
"fieldName": "autoCloseOnAction"
|
|
3445
|
-
},
|
|
3446
|
-
{
|
|
3447
|
-
"name": "name",
|
|
3448
|
-
"type": {
|
|
3449
|
-
"text": "string"
|
|
3450
|
-
},
|
|
3451
|
-
"default": "'Actions'",
|
|
3452
|
-
"fieldName": "name"
|
|
3453
|
-
},
|
|
3454
|
-
{
|
|
3455
|
-
"name": "open",
|
|
3456
|
-
"type": {
|
|
3457
|
-
"text": "boolean"
|
|
3458
|
-
},
|
|
3459
|
-
"default": "false",
|
|
3460
|
-
"fieldName": "open"
|
|
3461
|
-
},
|
|
3462
|
-
{
|
|
3463
|
-
"name": "buttonAppearance",
|
|
3464
|
-
"type": {
|
|
3465
|
-
"text": "string"
|
|
3466
|
-
},
|
|
3467
|
-
"fieldName": "buttonAppearance"
|
|
3468
|
-
},
|
|
3469
|
-
{
|
|
3470
|
-
"name": "hide-disabled",
|
|
3471
|
-
"type": {
|
|
3472
|
-
"text": "boolean"
|
|
3473
|
-
},
|
|
3474
|
-
"default": "false",
|
|
3475
|
-
"fieldName": "hideDisabled"
|
|
3476
|
-
},
|
|
3477
|
-
{
|
|
3478
|
-
"name": "hide-menu-single-option",
|
|
3479
|
-
"type": {
|
|
3480
|
-
"text": "boolean"
|
|
3481
|
-
},
|
|
3482
|
-
"default": "false",
|
|
3483
|
-
"fieldName": "hideMenuSingleOption"
|
|
3484
|
-
}
|
|
3485
|
-
],
|
|
3486
3433
|
"superclass": {
|
|
3487
3434
|
"name": "FoundationElement",
|
|
3488
3435
|
"package": "@microsoft/fast-foundation"
|
|
3489
3436
|
},
|
|
3490
|
-
"tagName": "%%prefix%%-
|
|
3437
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3491
3438
|
"customElement": true
|
|
3492
3439
|
},
|
|
3493
3440
|
{
|
|
3494
3441
|
"kind": "variable",
|
|
3495
|
-
"name": "
|
|
3496
|
-
"description": "The Foundation Actions Menu",
|
|
3497
|
-
"privacy": "public"
|
|
3442
|
+
"name": "foundationAiIndicator"
|
|
3498
3443
|
}
|
|
3499
3444
|
],
|
|
3500
3445
|
"exports": [
|
|
3501
3446
|
{
|
|
3502
3447
|
"kind": "js",
|
|
3503
|
-
"name": "
|
|
3448
|
+
"name": "AiIndicator",
|
|
3504
3449
|
"declaration": {
|
|
3505
|
-
"name": "
|
|
3506
|
-
"module": "src/
|
|
3450
|
+
"name": "AiIndicator",
|
|
3451
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3507
3452
|
}
|
|
3508
3453
|
},
|
|
3509
3454
|
{
|
|
3510
3455
|
"kind": "js",
|
|
3511
|
-
"name": "
|
|
3456
|
+
"name": "foundationAiIndicator",
|
|
3512
3457
|
"declaration": {
|
|
3513
|
-
"name": "
|
|
3514
|
-
"module": "src/
|
|
3458
|
+
"name": "foundationAiIndicator",
|
|
3459
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3515
3460
|
}
|
|
3516
3461
|
}
|
|
3517
3462
|
]
|
|
3518
3463
|
},
|
|
3519
3464
|
{
|
|
3520
3465
|
"kind": "javascript-module",
|
|
3521
|
-
"path": "src/
|
|
3466
|
+
"path": "src/ai-indicator/index.ts",
|
|
3522
3467
|
"declarations": [],
|
|
3523
3468
|
"exports": [
|
|
3524
3469
|
{
|
|
3525
3470
|
"kind": "js",
|
|
3526
|
-
"name": "
|
|
3471
|
+
"name": "AiIndicator",
|
|
3527
3472
|
"declaration": {
|
|
3528
|
-
"name": "
|
|
3529
|
-
"
|
|
3473
|
+
"name": "AiIndicator",
|
|
3474
|
+
"module": "./ai-indicator"
|
|
3530
3475
|
}
|
|
3531
3476
|
},
|
|
3532
3477
|
{
|
|
3533
3478
|
"kind": "js",
|
|
3534
|
-
"name": "
|
|
3479
|
+
"name": "foundationAiIndicator",
|
|
3535
3480
|
"declaration": {
|
|
3536
|
-
"name": "
|
|
3537
|
-
"
|
|
3481
|
+
"name": "foundationAiIndicator",
|
|
3482
|
+
"module": "./ai-indicator"
|
|
3538
3483
|
}
|
|
3539
3484
|
},
|
|
3540
3485
|
{
|
|
3541
3486
|
"kind": "js",
|
|
3542
|
-
"name": "
|
|
3487
|
+
"name": "type",
|
|
3543
3488
|
"declaration": {
|
|
3544
|
-
"name": "
|
|
3545
|
-
"
|
|
3489
|
+
"name": "type",
|
|
3490
|
+
"module": "./ai-indicator"
|
|
3491
|
+
}
|
|
3492
|
+
},
|
|
3493
|
+
{
|
|
3494
|
+
"kind": "js",
|
|
3495
|
+
"name": "AIIndicatorState",
|
|
3496
|
+
"declaration": {
|
|
3497
|
+
"name": "AIIndicatorState",
|
|
3498
|
+
"module": "./ai-indicator"
|
|
3499
|
+
}
|
|
3500
|
+
},
|
|
3501
|
+
{
|
|
3502
|
+
"kind": "js",
|
|
3503
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3504
|
+
"declaration": {
|
|
3505
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3506
|
+
"module": "./ai-indicator.template"
|
|
3507
|
+
}
|
|
3508
|
+
},
|
|
3509
|
+
{
|
|
3510
|
+
"kind": "js",
|
|
3511
|
+
"name": "foundationAiIndicatorStyles",
|
|
3512
|
+
"declaration": {
|
|
3513
|
+
"name": "foundationAiIndicatorStyles",
|
|
3514
|
+
"module": "./ai-indicator.styles"
|
|
3546
3515
|
}
|
|
3547
3516
|
}
|
|
3548
3517
|
]
|
|
@@ -4062,6 +4031,37 @@
|
|
|
4062
4031
|
}
|
|
4063
4032
|
]
|
|
4064
4033
|
},
|
|
4034
|
+
{
|
|
4035
|
+
"kind": "javascript-module",
|
|
4036
|
+
"path": "src/_config/index.ts",
|
|
4037
|
+
"declarations": [],
|
|
4038
|
+
"exports": [
|
|
4039
|
+
{
|
|
4040
|
+
"kind": "js",
|
|
4041
|
+
"name": "*",
|
|
4042
|
+
"declaration": {
|
|
4043
|
+
"name": "*",
|
|
4044
|
+
"package": "./styles"
|
|
4045
|
+
}
|
|
4046
|
+
},
|
|
4047
|
+
{
|
|
4048
|
+
"kind": "js",
|
|
4049
|
+
"name": "*",
|
|
4050
|
+
"declaration": {
|
|
4051
|
+
"name": "*",
|
|
4052
|
+
"package": "./tokens"
|
|
4053
|
+
}
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
"kind": "js",
|
|
4057
|
+
"name": "*",
|
|
4058
|
+
"declaration": {
|
|
4059
|
+
"name": "*",
|
|
4060
|
+
"package": "./values"
|
|
4061
|
+
}
|
|
4062
|
+
}
|
|
4063
|
+
]
|
|
4064
|
+
},
|
|
4065
4065
|
{
|
|
4066
4066
|
"kind": "javascript-module",
|
|
4067
4067
|
"path": "src/anchor/anchor.styles.ts",
|