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