@genesislcap/foundation-ui 14.374.2-alpha-2b5362b.0 → 14.374.2-alpha-0edcc93.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.
|
@@ -902,238 +902,264 @@
|
|
|
902
902
|
},
|
|
903
903
|
{
|
|
904
904
|
"kind": "javascript-module",
|
|
905
|
-
"path": "src/
|
|
905
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
906
|
+
"declarations": [
|
|
907
|
+
{
|
|
908
|
+
"kind": "function",
|
|
909
|
+
"name": "foundationAccordionItemStyles",
|
|
910
|
+
"return": {
|
|
911
|
+
"type": {
|
|
912
|
+
"text": "ElementStyles"
|
|
913
|
+
}
|
|
914
|
+
},
|
|
915
|
+
"parameters": [
|
|
916
|
+
{
|
|
917
|
+
"name": "context",
|
|
918
|
+
"type": {
|
|
919
|
+
"text": "ElementDefinitionContext"
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"name": "definition",
|
|
924
|
+
"type": {
|
|
925
|
+
"text": "FoundationElementDefinition"
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
]
|
|
929
|
+
}
|
|
930
|
+
],
|
|
931
|
+
"exports": [
|
|
932
|
+
{
|
|
933
|
+
"kind": "js",
|
|
934
|
+
"name": "foundationAccordionItemStyles",
|
|
935
|
+
"declaration": {
|
|
936
|
+
"name": "foundationAccordionItemStyles",
|
|
937
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
]
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"kind": "javascript-module",
|
|
944
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
945
|
+
"declarations": [
|
|
946
|
+
{
|
|
947
|
+
"kind": "function",
|
|
948
|
+
"name": "foundationAccordionItemTemplate",
|
|
949
|
+
"return": {
|
|
950
|
+
"type": {
|
|
951
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
"parameters": [
|
|
955
|
+
{
|
|
956
|
+
"name": "context",
|
|
957
|
+
"type": {
|
|
958
|
+
"text": "ElementDefinitionContext"
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"name": "definition",
|
|
963
|
+
"type": {
|
|
964
|
+
"text": "FoundationElementDefinition"
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
]
|
|
968
|
+
}
|
|
969
|
+
],
|
|
970
|
+
"exports": [
|
|
971
|
+
{
|
|
972
|
+
"kind": "js",
|
|
973
|
+
"name": "foundationAccordionItemTemplate",
|
|
974
|
+
"declaration": {
|
|
975
|
+
"name": "foundationAccordionItemTemplate",
|
|
976
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
]
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"kind": "javascript-module",
|
|
983
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
906
984
|
"declarations": [
|
|
907
985
|
{
|
|
908
986
|
"kind": "class",
|
|
909
|
-
"description": "
|
|
910
|
-
"name": "
|
|
911
|
-
"
|
|
987
|
+
"description": "",
|
|
988
|
+
"name": "AccordionItem",
|
|
989
|
+
"superclass": {
|
|
990
|
+
"name": "FASTAccordionItem",
|
|
991
|
+
"package": "@microsoft/fast-components"
|
|
992
|
+
},
|
|
993
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
994
|
+
"customElement": true,
|
|
995
|
+
"attributes": [
|
|
912
996
|
{
|
|
913
|
-
"
|
|
914
|
-
"name": "fileInput",
|
|
997
|
+
"name": "heading-level",
|
|
915
998
|
"type": {
|
|
916
|
-
"text": "
|
|
999
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
917
1000
|
},
|
|
918
|
-
"
|
|
1001
|
+
"default": "2",
|
|
1002
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1003
|
+
"fieldName": "headinglevel",
|
|
1004
|
+
"inheritedFrom": {
|
|
1005
|
+
"name": "AccordionItem",
|
|
1006
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1007
|
+
}
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"type": {
|
|
1011
|
+
"text": "boolean"
|
|
1012
|
+
},
|
|
1013
|
+
"default": "false",
|
|
1014
|
+
"description": "Expands or collapses the item.",
|
|
1015
|
+
"fieldName": "expanded",
|
|
1016
|
+
"inheritedFrom": {
|
|
1017
|
+
"name": "AccordionItem",
|
|
1018
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1019
|
+
}
|
|
919
1020
|
},
|
|
1021
|
+
{
|
|
1022
|
+
"name": "id",
|
|
1023
|
+
"type": {
|
|
1024
|
+
"text": "string"
|
|
1025
|
+
},
|
|
1026
|
+
"description": "The item ID",
|
|
1027
|
+
"fieldName": "id",
|
|
1028
|
+
"inheritedFrom": {
|
|
1029
|
+
"name": "AccordionItem",
|
|
1030
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
],
|
|
1034
|
+
"members": [
|
|
920
1035
|
{
|
|
921
1036
|
"kind": "field",
|
|
922
|
-
"name": "
|
|
1037
|
+
"name": "headinglevel",
|
|
923
1038
|
"type": {
|
|
924
|
-
"text": "
|
|
1039
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
925
1040
|
},
|
|
926
|
-
"privacy": "
|
|
927
|
-
"default": "
|
|
1041
|
+
"privacy": "public",
|
|
1042
|
+
"default": "2",
|
|
1043
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1044
|
+
"inheritedFrom": {
|
|
1045
|
+
"name": "AccordionItem",
|
|
1046
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1047
|
+
}
|
|
928
1048
|
},
|
|
929
1049
|
{
|
|
930
1050
|
"kind": "field",
|
|
931
|
-
"name": "
|
|
1051
|
+
"name": "expanded",
|
|
932
1052
|
"type": {
|
|
933
|
-
"text": "
|
|
1053
|
+
"text": "boolean"
|
|
1054
|
+
},
|
|
1055
|
+
"privacy": "public",
|
|
1056
|
+
"default": "false",
|
|
1057
|
+
"description": "Expands or collapses the item.",
|
|
1058
|
+
"inheritedFrom": {
|
|
1059
|
+
"name": "AccordionItem",
|
|
1060
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
934
1061
|
}
|
|
935
1062
|
},
|
|
936
1063
|
{
|
|
937
1064
|
"kind": "field",
|
|
938
|
-
"name": "
|
|
1065
|
+
"name": "id",
|
|
939
1066
|
"type": {
|
|
940
1067
|
"text": "string"
|
|
941
1068
|
},
|
|
942
|
-
"
|
|
1069
|
+
"privacy": "public",
|
|
1070
|
+
"description": "The item ID",
|
|
1071
|
+
"inheritedFrom": {
|
|
1072
|
+
"name": "AccordionItem",
|
|
1073
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1074
|
+
}
|
|
943
1075
|
},
|
|
944
1076
|
{
|
|
945
1077
|
"kind": "field",
|
|
946
|
-
"name": "
|
|
947
|
-
"
|
|
948
|
-
"
|
|
949
|
-
"
|
|
1078
|
+
"name": "change",
|
|
1079
|
+
"privacy": "private",
|
|
1080
|
+
"inheritedFrom": {
|
|
1081
|
+
"name": "AccordionItem",
|
|
1082
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
950
1083
|
}
|
|
951
1084
|
},
|
|
952
1085
|
{
|
|
953
1086
|
"kind": "field",
|
|
954
|
-
"name": "
|
|
1087
|
+
"name": "_presentation",
|
|
955
1088
|
"type": {
|
|
956
|
-
"text": "
|
|
1089
|
+
"text": "ComponentPresentation | null | undefined"
|
|
957
1090
|
},
|
|
958
|
-
"
|
|
1091
|
+
"privacy": "private",
|
|
1092
|
+
"default": "void 0",
|
|
1093
|
+
"inheritedFrom": {
|
|
1094
|
+
"name": "FoundationElement",
|
|
1095
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1096
|
+
}
|
|
959
1097
|
},
|
|
960
1098
|
{
|
|
961
1099
|
"kind": "field",
|
|
962
|
-
"name": "
|
|
1100
|
+
"name": "$presentation",
|
|
963
1101
|
"type": {
|
|
964
|
-
"text": "
|
|
1102
|
+
"text": "ComponentPresentation | null"
|
|
965
1103
|
},
|
|
966
|
-
"
|
|
1104
|
+
"privacy": "public",
|
|
1105
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1106
|
+
"inheritedFrom": {
|
|
1107
|
+
"name": "FoundationElement",
|
|
1108
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1109
|
+
}
|
|
967
1110
|
},
|
|
968
1111
|
{
|
|
969
|
-
"kind": "
|
|
970
|
-
"name": "
|
|
1112
|
+
"kind": "field",
|
|
1113
|
+
"name": "template",
|
|
1114
|
+
"type": {
|
|
1115
|
+
"text": "ElementViewTemplate | void | null"
|
|
1116
|
+
},
|
|
971
1117
|
"privacy": "public",
|
|
972
|
-
"description": "
|
|
1118
|
+
"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.",
|
|
1119
|
+
"inheritedFrom": {
|
|
1120
|
+
"name": "FoundationElement",
|
|
1121
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1122
|
+
}
|
|
973
1123
|
},
|
|
974
1124
|
{
|
|
975
1125
|
"kind": "method",
|
|
976
|
-
"name": "
|
|
977
|
-
"privacy": "
|
|
978
|
-
"
|
|
979
|
-
{
|
|
980
|
-
"
|
|
981
|
-
"type": {
|
|
982
|
-
"text": "Event"
|
|
983
|
-
},
|
|
984
|
-
"description": "The change event from the file input"
|
|
1126
|
+
"name": "templateChanged",
|
|
1127
|
+
"privacy": "protected",
|
|
1128
|
+
"return": {
|
|
1129
|
+
"type": {
|
|
1130
|
+
"text": "void"
|
|
985
1131
|
}
|
|
986
|
-
|
|
987
|
-
"
|
|
1132
|
+
},
|
|
1133
|
+
"inheritedFrom": {
|
|
1134
|
+
"name": "FoundationElement",
|
|
1135
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1136
|
+
}
|
|
988
1137
|
},
|
|
989
1138
|
{
|
|
990
|
-
"kind": "
|
|
991
|
-
"name": "
|
|
1139
|
+
"kind": "field",
|
|
1140
|
+
"name": "styles",
|
|
1141
|
+
"type": {
|
|
1142
|
+
"text": "ElementStyles | void | null"
|
|
1143
|
+
},
|
|
992
1144
|
"privacy": "public",
|
|
993
|
-
"description": "
|
|
1145
|
+
"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.",
|
|
1146
|
+
"inheritedFrom": {
|
|
1147
|
+
"name": "FoundationElement",
|
|
1148
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1149
|
+
}
|
|
994
1150
|
},
|
|
995
1151
|
{
|
|
996
1152
|
"kind": "method",
|
|
997
|
-
"name": "
|
|
998
|
-
"privacy": "
|
|
999
|
-
"description": "Gets the currently selected file object",
|
|
1153
|
+
"name": "stylesChanged",
|
|
1154
|
+
"privacy": "protected",
|
|
1000
1155
|
"return": {
|
|
1001
1156
|
"type": {
|
|
1002
|
-
"text": ""
|
|
1157
|
+
"text": "void"
|
|
1003
1158
|
}
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
"name": "showError",
|
|
1009
|
-
"privacy": "protected",
|
|
1010
|
-
"parameters": [
|
|
1011
|
-
{
|
|
1012
|
-
"name": "title",
|
|
1013
|
-
"type": {
|
|
1014
|
-
"text": "string"
|
|
1015
|
-
},
|
|
1016
|
-
"description": "The error title"
|
|
1017
|
-
},
|
|
1018
|
-
{
|
|
1019
|
-
"name": "message",
|
|
1020
|
-
"type": {
|
|
1021
|
-
"text": "string"
|
|
1022
|
-
},
|
|
1023
|
-
"description": "The error message"
|
|
1024
|
-
}
|
|
1025
|
-
],
|
|
1026
|
-
"description": "Shows an error notification using the unified error handling system"
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
"kind": "method",
|
|
1030
|
-
"name": "onFileSelected",
|
|
1031
|
-
"privacy": "protected",
|
|
1032
|
-
"return": {
|
|
1033
|
-
"type": {
|
|
1034
|
-
"text": "void"
|
|
1035
|
-
}
|
|
1036
|
-
},
|
|
1037
|
-
"parameters": [
|
|
1038
|
-
{
|
|
1039
|
-
"name": "files",
|
|
1040
|
-
"type": {
|
|
1041
|
-
"text": "File[]"
|
|
1042
|
-
},
|
|
1043
|
-
"description": "The selected file"
|
|
1044
|
-
}
|
|
1045
|
-
],
|
|
1046
|
-
"description": "Abstract method called when a file is selected"
|
|
1047
|
-
},
|
|
1048
|
-
{
|
|
1049
|
-
"kind": "method",
|
|
1050
|
-
"name": "onFileCleared",
|
|
1051
|
-
"privacy": "protected",
|
|
1052
|
-
"return": {
|
|
1053
|
-
"type": {
|
|
1054
|
-
"text": "void"
|
|
1055
|
-
}
|
|
1056
|
-
},
|
|
1057
|
-
"description": "Abstract method called when file selection is cleared"
|
|
1058
|
-
},
|
|
1059
|
-
{
|
|
1060
|
-
"kind": "field",
|
|
1061
|
-
"name": "_presentation",
|
|
1062
|
-
"type": {
|
|
1063
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1064
|
-
},
|
|
1065
|
-
"privacy": "private",
|
|
1066
|
-
"default": "void 0",
|
|
1067
|
-
"inheritedFrom": {
|
|
1068
|
-
"name": "FoundationElement",
|
|
1069
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1070
|
-
}
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
"kind": "field",
|
|
1074
|
-
"name": "$presentation",
|
|
1075
|
-
"type": {
|
|
1076
|
-
"text": "ComponentPresentation | null"
|
|
1077
|
-
},
|
|
1078
|
-
"privacy": "public",
|
|
1079
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1080
|
-
"inheritedFrom": {
|
|
1081
|
-
"name": "FoundationElement",
|
|
1082
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1083
|
-
}
|
|
1084
|
-
},
|
|
1085
|
-
{
|
|
1086
|
-
"kind": "field",
|
|
1087
|
-
"name": "template",
|
|
1088
|
-
"type": {
|
|
1089
|
-
"text": "ElementViewTemplate | void | null"
|
|
1090
|
-
},
|
|
1091
|
-
"privacy": "public",
|
|
1092
|
-
"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.",
|
|
1093
|
-
"inheritedFrom": {
|
|
1094
|
-
"name": "FoundationElement",
|
|
1095
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1096
|
-
}
|
|
1097
|
-
},
|
|
1098
|
-
{
|
|
1099
|
-
"kind": "method",
|
|
1100
|
-
"name": "templateChanged",
|
|
1101
|
-
"privacy": "protected",
|
|
1102
|
-
"return": {
|
|
1103
|
-
"type": {
|
|
1104
|
-
"text": "void"
|
|
1105
|
-
}
|
|
1106
|
-
},
|
|
1107
|
-
"inheritedFrom": {
|
|
1108
|
-
"name": "FoundationElement",
|
|
1109
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1110
|
-
}
|
|
1111
|
-
},
|
|
1112
|
-
{
|
|
1113
|
-
"kind": "field",
|
|
1114
|
-
"name": "styles",
|
|
1115
|
-
"type": {
|
|
1116
|
-
"text": "ElementStyles | void | null"
|
|
1117
|
-
},
|
|
1118
|
-
"privacy": "public",
|
|
1119
|
-
"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.",
|
|
1120
|
-
"inheritedFrom": {
|
|
1121
|
-
"name": "FoundationElement",
|
|
1122
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1123
|
-
}
|
|
1124
|
-
},
|
|
1125
|
-
{
|
|
1126
|
-
"kind": "method",
|
|
1127
|
-
"name": "stylesChanged",
|
|
1128
|
-
"privacy": "protected",
|
|
1129
|
-
"return": {
|
|
1130
|
-
"type": {
|
|
1131
|
-
"text": "void"
|
|
1132
|
-
}
|
|
1133
|
-
},
|
|
1134
|
-
"inheritedFrom": {
|
|
1135
|
-
"name": "FoundationElement",
|
|
1136
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1159
|
+
},
|
|
1160
|
+
"inheritedFrom": {
|
|
1161
|
+
"name": "FoundationElement",
|
|
1162
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1137
1163
|
}
|
|
1138
1164
|
},
|
|
1139
1165
|
{
|
|
@@ -1168,104 +1194,78 @@
|
|
|
1168
1194
|
}
|
|
1169
1195
|
}
|
|
1170
1196
|
],
|
|
1171
|
-
"
|
|
1172
|
-
{
|
|
1173
|
-
"name": "label",
|
|
1174
|
-
"type": {
|
|
1175
|
-
"text": "string"
|
|
1176
|
-
},
|
|
1177
|
-
"fieldName": "label"
|
|
1178
|
-
},
|
|
1179
|
-
{
|
|
1180
|
-
"name": "accept",
|
|
1181
|
-
"type": {
|
|
1182
|
-
"text": "string"
|
|
1183
|
-
},
|
|
1184
|
-
"default": "''",
|
|
1185
|
-
"fieldName": "accept"
|
|
1186
|
-
},
|
|
1197
|
+
"events": [
|
|
1187
1198
|
{
|
|
1188
|
-
"
|
|
1189
|
-
"
|
|
1190
|
-
"
|
|
1191
|
-
"
|
|
1192
|
-
|
|
1193
|
-
|
|
1199
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1200
|
+
"name": "change",
|
|
1201
|
+
"inheritedFrom": {
|
|
1202
|
+
"name": "AccordionItem",
|
|
1203
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1204
|
+
}
|
|
1194
1205
|
}
|
|
1195
|
-
]
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1206
|
+
]
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"kind": "variable",
|
|
1210
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1211
|
+
"type": {
|
|
1212
|
+
"text": "ShadowRootInit"
|
|
1213
|
+
},
|
|
1214
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"kind": "variable",
|
|
1218
|
+
"name": "defaultAccordionItemConfig",
|
|
1219
|
+
"type": {
|
|
1220
|
+
"text": "object"
|
|
1221
|
+
},
|
|
1222
|
+
"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}"
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"kind": "variable",
|
|
1226
|
+
"name": "foundationAccordionItem",
|
|
1227
|
+
"description": "The Foundation Accordion Item",
|
|
1228
|
+
"privacy": "public"
|
|
1200
1229
|
}
|
|
1201
1230
|
],
|
|
1202
1231
|
"exports": [
|
|
1203
1232
|
{
|
|
1204
1233
|
"kind": "js",
|
|
1205
|
-
"name": "
|
|
1234
|
+
"name": "AccordionItem",
|
|
1206
1235
|
"declaration": {
|
|
1207
|
-
"name": "
|
|
1208
|
-
"module": "src/
|
|
1236
|
+
"name": "AccordionItem",
|
|
1237
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1209
1238
|
}
|
|
1210
|
-
}
|
|
1211
|
-
]
|
|
1212
|
-
},
|
|
1213
|
-
{
|
|
1214
|
-
"kind": "javascript-module",
|
|
1215
|
-
"path": "src/_common/icons.ts",
|
|
1216
|
-
"declarations": [
|
|
1217
|
-
{
|
|
1218
|
-
"kind": "function",
|
|
1219
|
-
"name": "closeIcon",
|
|
1220
|
-
"parameters": [
|
|
1221
|
-
{
|
|
1222
|
-
"name": "slot",
|
|
1223
|
-
"default": "'start'"
|
|
1224
|
-
},
|
|
1225
|
-
{
|
|
1226
|
-
"name": "fill",
|
|
1227
|
-
"default": "'#879ba6'"
|
|
1228
|
-
}
|
|
1229
|
-
]
|
|
1230
|
-
}
|
|
1231
|
-
],
|
|
1232
|
-
"exports": [
|
|
1239
|
+
},
|
|
1233
1240
|
{
|
|
1234
1241
|
"kind": "js",
|
|
1235
|
-
"name": "
|
|
1242
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1236
1243
|
"declaration": {
|
|
1237
|
-
"name": "
|
|
1238
|
-
"module": "src/
|
|
1244
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1245
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1239
1246
|
}
|
|
1240
|
-
}
|
|
1241
|
-
]
|
|
1242
|
-
},
|
|
1243
|
-
{
|
|
1244
|
-
"kind": "javascript-module",
|
|
1245
|
-
"path": "src/_common/index.ts",
|
|
1246
|
-
"declarations": [],
|
|
1247
|
-
"exports": [
|
|
1247
|
+
},
|
|
1248
1248
|
{
|
|
1249
1249
|
"kind": "js",
|
|
1250
|
-
"name": "
|
|
1250
|
+
"name": "defaultAccordionItemConfig",
|
|
1251
1251
|
"declaration": {
|
|
1252
|
-
"name": "
|
|
1253
|
-
"
|
|
1252
|
+
"name": "defaultAccordionItemConfig",
|
|
1253
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1254
1254
|
}
|
|
1255
1255
|
},
|
|
1256
1256
|
{
|
|
1257
1257
|
"kind": "js",
|
|
1258
|
-
"name": "
|
|
1258
|
+
"name": "foundationAccordionItem",
|
|
1259
1259
|
"declaration": {
|
|
1260
|
-
"name": "
|
|
1261
|
-
"
|
|
1260
|
+
"name": "foundationAccordionItem",
|
|
1261
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1262
1262
|
}
|
|
1263
1263
|
}
|
|
1264
1264
|
]
|
|
1265
1265
|
},
|
|
1266
1266
|
{
|
|
1267
1267
|
"kind": "javascript-module",
|
|
1268
|
-
"path": "src/
|
|
1268
|
+
"path": "src/accordion-item/index.ts",
|
|
1269
1269
|
"declarations": [],
|
|
1270
1270
|
"exports": [
|
|
1271
1271
|
{
|
|
@@ -1273,7 +1273,7 @@
|
|
|
1273
1273
|
"name": "*",
|
|
1274
1274
|
"declaration": {
|
|
1275
1275
|
"name": "*",
|
|
1276
|
-
"package": "./
|
|
1276
|
+
"package": "./accordion-item.template"
|
|
1277
1277
|
}
|
|
1278
1278
|
},
|
|
1279
1279
|
{
|
|
@@ -1281,7 +1281,7 @@
|
|
|
1281
1281
|
"name": "*",
|
|
1282
1282
|
"declaration": {
|
|
1283
1283
|
"name": "*",
|
|
1284
|
-
"package": "./
|
|
1284
|
+
"package": "./accordion-item.styles"
|
|
1285
1285
|
}
|
|
1286
1286
|
},
|
|
1287
1287
|
{
|
|
@@ -1289,18 +1289,41 @@
|
|
|
1289
1289
|
"name": "*",
|
|
1290
1290
|
"declaration": {
|
|
1291
1291
|
"name": "*",
|
|
1292
|
-
"package": "./
|
|
1292
|
+
"package": "./accordion-item"
|
|
1293
1293
|
}
|
|
1294
1294
|
}
|
|
1295
1295
|
]
|
|
1296
1296
|
},
|
|
1297
1297
|
{
|
|
1298
1298
|
"kind": "javascript-module",
|
|
1299
|
-
"path": "src/
|
|
1299
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1300
1300
|
"declarations": [
|
|
1301
1301
|
{
|
|
1302
1302
|
"kind": "function",
|
|
1303
|
-
"name": "
|
|
1303
|
+
"name": "actionsMenuBaseStyles",
|
|
1304
|
+
"return": {
|
|
1305
|
+
"type": {
|
|
1306
|
+
"text": "ElementStyles"
|
|
1307
|
+
}
|
|
1308
|
+
},
|
|
1309
|
+
"parameters": [
|
|
1310
|
+
{
|
|
1311
|
+
"name": "context",
|
|
1312
|
+
"type": {
|
|
1313
|
+
"text": "ElementDefinitionContext"
|
|
1314
|
+
}
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
"name": "definition",
|
|
1318
|
+
"type": {
|
|
1319
|
+
"text": "FoundationElementDefinition"
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
]
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"kind": "function",
|
|
1326
|
+
"name": "foundationActionsMenuStyles",
|
|
1304
1327
|
"return": {
|
|
1305
1328
|
"type": {
|
|
1306
1329
|
"text": "ElementStyles"
|
|
@@ -1325,234 +1348,347 @@
|
|
|
1325
1348
|
"exports": [
|
|
1326
1349
|
{
|
|
1327
1350
|
"kind": "js",
|
|
1328
|
-
"name": "
|
|
1351
|
+
"name": "actionsMenuBaseStyles",
|
|
1329
1352
|
"declaration": {
|
|
1330
|
-
"name": "
|
|
1331
|
-
"module": "src/
|
|
1353
|
+
"name": "actionsMenuBaseStyles",
|
|
1354
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
"kind": "js",
|
|
1359
|
+
"name": "foundationActionsMenuStyles",
|
|
1360
|
+
"declaration": {
|
|
1361
|
+
"name": "foundationActionsMenuStyles",
|
|
1362
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1332
1363
|
}
|
|
1333
1364
|
}
|
|
1334
1365
|
]
|
|
1335
1366
|
},
|
|
1336
1367
|
{
|
|
1337
1368
|
"kind": "javascript-module",
|
|
1338
|
-
"path": "src/
|
|
1369
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1339
1370
|
"declarations": [
|
|
1340
1371
|
{
|
|
1341
1372
|
"kind": "function",
|
|
1342
|
-
"name": "
|
|
1343
|
-
"return": {
|
|
1344
|
-
"type": {
|
|
1345
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
1346
|
-
}
|
|
1347
|
-
},
|
|
1373
|
+
"name": "menuTemplate",
|
|
1348
1374
|
"parameters": [
|
|
1349
1375
|
{
|
|
1350
|
-
"name": "
|
|
1376
|
+
"name": "prefix",
|
|
1351
1377
|
"type": {
|
|
1352
|
-
"text": "
|
|
1378
|
+
"text": "string"
|
|
1353
1379
|
}
|
|
1354
|
-
}
|
|
1380
|
+
}
|
|
1381
|
+
]
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
"kind": "function",
|
|
1385
|
+
"name": "singleOptionTemplate",
|
|
1386
|
+
"parameters": [
|
|
1355
1387
|
{
|
|
1356
|
-
"name": "
|
|
1388
|
+
"name": "prefix",
|
|
1357
1389
|
"type": {
|
|
1358
|
-
"text": "
|
|
1390
|
+
"text": "string"
|
|
1359
1391
|
}
|
|
1360
1392
|
}
|
|
1361
1393
|
]
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
"kind": "variable",
|
|
1397
|
+
"name": "foundationActionsMenuTemplate",
|
|
1398
|
+
"type": {
|
|
1399
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
1400
|
+
},
|
|
1401
|
+
"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`"
|
|
1362
1402
|
}
|
|
1363
1403
|
],
|
|
1364
1404
|
"exports": [
|
|
1365
1405
|
{
|
|
1366
1406
|
"kind": "js",
|
|
1367
|
-
"name": "
|
|
1407
|
+
"name": "menuTemplate",
|
|
1368
1408
|
"declaration": {
|
|
1369
|
-
"name": "
|
|
1370
|
-
"module": "src/
|
|
1409
|
+
"name": "menuTemplate",
|
|
1410
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1411
|
+
}
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"kind": "js",
|
|
1415
|
+
"name": "singleOptionTemplate",
|
|
1416
|
+
"declaration": {
|
|
1417
|
+
"name": "singleOptionTemplate",
|
|
1418
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1419
|
+
}
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
"kind": "js",
|
|
1423
|
+
"name": "foundationActionsMenuTemplate",
|
|
1424
|
+
"declaration": {
|
|
1425
|
+
"name": "foundationActionsMenuTemplate",
|
|
1426
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1371
1427
|
}
|
|
1372
1428
|
}
|
|
1373
1429
|
]
|
|
1374
1430
|
},
|
|
1375
1431
|
{
|
|
1376
1432
|
"kind": "javascript-module",
|
|
1377
|
-
"path": "src/
|
|
1433
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1378
1434
|
"declarations": [
|
|
1379
1435
|
{
|
|
1380
1436
|
"kind": "class",
|
|
1381
1437
|
"description": "",
|
|
1382
|
-
"name": "
|
|
1383
|
-
"
|
|
1384
|
-
"name": "FASTAccordionItem",
|
|
1385
|
-
"package": "@microsoft/fast-components"
|
|
1386
|
-
},
|
|
1387
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1388
|
-
"customElement": true,
|
|
1389
|
-
"attributes": [
|
|
1438
|
+
"name": "ActionsMenu",
|
|
1439
|
+
"members": [
|
|
1390
1440
|
{
|
|
1391
|
-
"
|
|
1441
|
+
"kind": "field",
|
|
1442
|
+
"name": "actions",
|
|
1392
1443
|
"type": {
|
|
1393
|
-
"text": "
|
|
1394
|
-
},
|
|
1395
|
-
"default": "2",
|
|
1396
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1397
|
-
"fieldName": "headinglevel",
|
|
1398
|
-
"inheritedFrom": {
|
|
1399
|
-
"name": "AccordionItem",
|
|
1400
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1444
|
+
"text": "ActionMenuItem[]"
|
|
1401
1445
|
}
|
|
1402
1446
|
},
|
|
1403
1447
|
{
|
|
1448
|
+
"kind": "field",
|
|
1449
|
+
"name": "isVertical",
|
|
1404
1450
|
"type": {
|
|
1405
1451
|
"text": "boolean"
|
|
1406
1452
|
},
|
|
1407
|
-
"default": "false"
|
|
1408
|
-
"description": "Expands or collapses the item.",
|
|
1409
|
-
"fieldName": "expanded",
|
|
1410
|
-
"inheritedFrom": {
|
|
1411
|
-
"name": "AccordionItem",
|
|
1412
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1413
|
-
}
|
|
1453
|
+
"default": "false"
|
|
1414
1454
|
},
|
|
1415
|
-
{
|
|
1416
|
-
"name": "id",
|
|
1417
|
-
"type": {
|
|
1418
|
-
"text": "string"
|
|
1419
|
-
},
|
|
1420
|
-
"description": "The item ID",
|
|
1421
|
-
"fieldName": "id",
|
|
1422
|
-
"inheritedFrom": {
|
|
1423
|
-
"name": "AccordionItem",
|
|
1424
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1425
|
-
}
|
|
1426
|
-
}
|
|
1427
|
-
],
|
|
1428
|
-
"members": [
|
|
1429
1455
|
{
|
|
1430
1456
|
"kind": "field",
|
|
1431
|
-
"name": "
|
|
1457
|
+
"name": "addDefaultActions",
|
|
1432
1458
|
"type": {
|
|
1433
|
-
"text": "
|
|
1459
|
+
"text": "boolean"
|
|
1434
1460
|
},
|
|
1435
|
-
"
|
|
1436
|
-
"default": "2",
|
|
1437
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1438
|
-
"inheritedFrom": {
|
|
1439
|
-
"name": "AccordionItem",
|
|
1440
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1441
|
-
}
|
|
1461
|
+
"default": "true"
|
|
1442
1462
|
},
|
|
1443
1463
|
{
|
|
1444
1464
|
"kind": "field",
|
|
1445
|
-
"name": "
|
|
1465
|
+
"name": "autoCloseOnAction",
|
|
1446
1466
|
"type": {
|
|
1447
1467
|
"text": "boolean"
|
|
1448
1468
|
},
|
|
1449
|
-
"
|
|
1450
|
-
"default": "false",
|
|
1451
|
-
"description": "Expands or collapses the item.",
|
|
1452
|
-
"inheritedFrom": {
|
|
1453
|
-
"name": "AccordionItem",
|
|
1454
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1455
|
-
}
|
|
1469
|
+
"default": "true"
|
|
1456
1470
|
},
|
|
1457
1471
|
{
|
|
1458
1472
|
"kind": "field",
|
|
1459
|
-
"name": "
|
|
1473
|
+
"name": "classNames",
|
|
1460
1474
|
"type": {
|
|
1461
1475
|
"text": "string"
|
|
1462
|
-
},
|
|
1463
|
-
"privacy": "public",
|
|
1464
|
-
"description": "The item ID",
|
|
1465
|
-
"inheritedFrom": {
|
|
1466
|
-
"name": "AccordionItem",
|
|
1467
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1468
1476
|
}
|
|
1469
1477
|
},
|
|
1470
1478
|
{
|
|
1471
1479
|
"kind": "field",
|
|
1472
|
-
"name": "
|
|
1473
|
-
"
|
|
1474
|
-
|
|
1475
|
-
"name": "AccordionItem",
|
|
1476
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1480
|
+
"name": "definition",
|
|
1481
|
+
"type": {
|
|
1482
|
+
"text": "any"
|
|
1477
1483
|
}
|
|
1478
1484
|
},
|
|
1479
1485
|
{
|
|
1480
1486
|
"kind": "field",
|
|
1481
|
-
"name": "
|
|
1487
|
+
"name": "name",
|
|
1482
1488
|
"type": {
|
|
1483
|
-
"text": "
|
|
1489
|
+
"text": "string"
|
|
1484
1490
|
},
|
|
1485
|
-
"
|
|
1486
|
-
"default": "void 0",
|
|
1487
|
-
"inheritedFrom": {
|
|
1488
|
-
"name": "FoundationElement",
|
|
1489
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1490
|
-
}
|
|
1491
|
+
"default": "'Actions'"
|
|
1491
1492
|
},
|
|
1492
1493
|
{
|
|
1493
1494
|
"kind": "field",
|
|
1494
|
-
"name": "
|
|
1495
|
+
"name": "open",
|
|
1495
1496
|
"type": {
|
|
1496
|
-
"text": "
|
|
1497
|
+
"text": "boolean"
|
|
1497
1498
|
},
|
|
1498
|
-
"
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1499
|
+
"default": "false"
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "field",
|
|
1503
|
+
"name": "buttonAppearance",
|
|
1504
|
+
"type": {
|
|
1505
|
+
"text": "string"
|
|
1503
1506
|
}
|
|
1504
1507
|
},
|
|
1505
1508
|
{
|
|
1506
1509
|
"kind": "field",
|
|
1507
|
-
"name": "
|
|
1510
|
+
"name": "hideDisabled",
|
|
1508
1511
|
"type": {
|
|
1509
|
-
"text": "
|
|
1512
|
+
"text": "boolean"
|
|
1510
1513
|
},
|
|
1511
|
-
"
|
|
1512
|
-
"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.",
|
|
1513
|
-
"inheritedFrom": {
|
|
1514
|
-
"name": "FoundationElement",
|
|
1515
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1516
|
-
}
|
|
1514
|
+
"default": "false"
|
|
1517
1515
|
},
|
|
1518
1516
|
{
|
|
1519
|
-
"kind": "
|
|
1520
|
-
"name": "
|
|
1521
|
-
"
|
|
1522
|
-
|
|
1523
|
-
"type": {
|
|
1524
|
-
"text": "void"
|
|
1525
|
-
}
|
|
1517
|
+
"kind": "field",
|
|
1518
|
+
"name": "hideMenuSingleOption",
|
|
1519
|
+
"type": {
|
|
1520
|
+
"text": "boolean"
|
|
1526
1521
|
},
|
|
1527
|
-
"
|
|
1528
|
-
|
|
1529
|
-
|
|
1522
|
+
"default": "false"
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"kind": "field",
|
|
1526
|
+
"name": "singleOption",
|
|
1527
|
+
"type": {
|
|
1528
|
+
"text": "ActionMenuItem"
|
|
1530
1529
|
}
|
|
1531
1530
|
},
|
|
1532
1531
|
{
|
|
1533
1532
|
"kind": "field",
|
|
1534
|
-
"name": "
|
|
1533
|
+
"name": "actionsMenu",
|
|
1535
1534
|
"type": {
|
|
1536
|
-
"text": "
|
|
1537
|
-
},
|
|
1538
|
-
"privacy": "public",
|
|
1539
|
-
"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.",
|
|
1540
|
-
"inheritedFrom": {
|
|
1541
|
-
"name": "FoundationElement",
|
|
1542
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1535
|
+
"text": "HTMLElement"
|
|
1543
1536
|
}
|
|
1544
1537
|
},
|
|
1545
1538
|
{
|
|
1546
1539
|
"kind": "method",
|
|
1547
|
-
"name": "
|
|
1540
|
+
"name": "definitionChanged",
|
|
1548
1541
|
"privacy": "protected",
|
|
1549
|
-
"
|
|
1550
|
-
|
|
1551
|
-
"
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1542
|
+
"parameters": [
|
|
1543
|
+
{
|
|
1544
|
+
"name": "oldValue",
|
|
1545
|
+
"type": {
|
|
1546
|
+
"text": "any"
|
|
1547
|
+
}
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
"name": "newValue",
|
|
1551
|
+
"type": {
|
|
1552
|
+
"text": "any"
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
]
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
"kind": "method",
|
|
1559
|
+
"name": "openChanged",
|
|
1560
|
+
"privacy": "protected"
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
"kind": "method",
|
|
1564
|
+
"name": "toggleActionsMenuVisibility"
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
"kind": "method",
|
|
1568
|
+
"name": "onActionMenuItemClick",
|
|
1569
|
+
"parameters": [
|
|
1570
|
+
{
|
|
1571
|
+
"name": "callback",
|
|
1572
|
+
"type": {
|
|
1573
|
+
"text": "(rowData) => void | any"
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
]
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"kind": "field",
|
|
1580
|
+
"name": "allActions",
|
|
1581
|
+
"type": {
|
|
1582
|
+
"text": "ActionMenuItem[]"
|
|
1583
|
+
},
|
|
1584
|
+
"readonly": true
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
"kind": "field",
|
|
1588
|
+
"name": "rowData",
|
|
1589
|
+
"readonly": true
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
"kind": "method",
|
|
1593
|
+
"name": "getLabel",
|
|
1594
|
+
"parameters": [
|
|
1595
|
+
{
|
|
1596
|
+
"name": "name",
|
|
1597
|
+
"type": {
|
|
1598
|
+
"text": "string | ((rowData: any) => string)"
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
]
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"kind": "method",
|
|
1605
|
+
"name": "getTemplate",
|
|
1606
|
+
"parameters": [
|
|
1607
|
+
{
|
|
1608
|
+
"name": "prefix",
|
|
1609
|
+
"type": {
|
|
1610
|
+
"text": "string"
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
]
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
"kind": "field",
|
|
1617
|
+
"name": "_presentation",
|
|
1618
|
+
"type": {
|
|
1619
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1620
|
+
},
|
|
1621
|
+
"privacy": "private",
|
|
1622
|
+
"default": "void 0",
|
|
1623
|
+
"inheritedFrom": {
|
|
1624
|
+
"name": "FoundationElement",
|
|
1625
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1626
|
+
}
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
"kind": "field",
|
|
1630
|
+
"name": "$presentation",
|
|
1631
|
+
"type": {
|
|
1632
|
+
"text": "ComponentPresentation | null"
|
|
1633
|
+
},
|
|
1634
|
+
"privacy": "public",
|
|
1635
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1636
|
+
"inheritedFrom": {
|
|
1637
|
+
"name": "FoundationElement",
|
|
1638
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"kind": "field",
|
|
1643
|
+
"name": "template",
|
|
1644
|
+
"type": {
|
|
1645
|
+
"text": "ElementViewTemplate | void | null"
|
|
1646
|
+
},
|
|
1647
|
+
"privacy": "public",
|
|
1648
|
+
"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.",
|
|
1649
|
+
"inheritedFrom": {
|
|
1650
|
+
"name": "FoundationElement",
|
|
1651
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1652
|
+
}
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
"kind": "method",
|
|
1656
|
+
"name": "templateChanged",
|
|
1657
|
+
"privacy": "protected",
|
|
1658
|
+
"return": {
|
|
1659
|
+
"type": {
|
|
1660
|
+
"text": "void"
|
|
1661
|
+
}
|
|
1662
|
+
},
|
|
1663
|
+
"inheritedFrom": {
|
|
1664
|
+
"name": "FoundationElement",
|
|
1665
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1666
|
+
}
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
"kind": "field",
|
|
1670
|
+
"name": "styles",
|
|
1671
|
+
"type": {
|
|
1672
|
+
"text": "ElementStyles | void | null"
|
|
1673
|
+
},
|
|
1674
|
+
"privacy": "public",
|
|
1675
|
+
"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.",
|
|
1676
|
+
"inheritedFrom": {
|
|
1677
|
+
"name": "FoundationElement",
|
|
1678
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1679
|
+
}
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
"kind": "method",
|
|
1683
|
+
"name": "stylesChanged",
|
|
1684
|
+
"privacy": "protected",
|
|
1685
|
+
"return": {
|
|
1686
|
+
"type": {
|
|
1687
|
+
"text": "void"
|
|
1688
|
+
}
|
|
1689
|
+
},
|
|
1690
|
+
"inheritedFrom": {
|
|
1691
|
+
"name": "FoundationElement",
|
|
1556
1692
|
"module": "src/foundation-element/foundation-element.ts"
|
|
1557
1693
|
}
|
|
1558
1694
|
},
|
|
@@ -1588,78 +1724,107 @@
|
|
|
1588
1724
|
}
|
|
1589
1725
|
}
|
|
1590
1726
|
],
|
|
1591
|
-
"
|
|
1727
|
+
"attributes": [
|
|
1592
1728
|
{
|
|
1593
|
-
"
|
|
1594
|
-
"
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1729
|
+
"name": "is-vertical",
|
|
1730
|
+
"type": {
|
|
1731
|
+
"text": "boolean"
|
|
1732
|
+
},
|
|
1733
|
+
"default": "false",
|
|
1734
|
+
"fieldName": "isVertical"
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
"name": "add-default-actions",
|
|
1738
|
+
"type": {
|
|
1739
|
+
"text": "boolean"
|
|
1740
|
+
},
|
|
1741
|
+
"default": "true",
|
|
1742
|
+
"fieldName": "addDefaultActions"
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"name": "auto-close-on-action",
|
|
1746
|
+
"type": {
|
|
1747
|
+
"text": "boolean"
|
|
1748
|
+
},
|
|
1749
|
+
"default": "true",
|
|
1750
|
+
"fieldName": "autoCloseOnAction"
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
"name": "name",
|
|
1754
|
+
"type": {
|
|
1755
|
+
"text": "string"
|
|
1756
|
+
},
|
|
1757
|
+
"default": "'Actions'",
|
|
1758
|
+
"fieldName": "name"
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
"name": "open",
|
|
1762
|
+
"type": {
|
|
1763
|
+
"text": "boolean"
|
|
1764
|
+
},
|
|
1765
|
+
"default": "false",
|
|
1766
|
+
"fieldName": "open"
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
"name": "buttonAppearance",
|
|
1770
|
+
"type": {
|
|
1771
|
+
"text": "string"
|
|
1772
|
+
},
|
|
1773
|
+
"fieldName": "buttonAppearance"
|
|
1774
|
+
},
|
|
1775
|
+
{
|
|
1776
|
+
"name": "hide-disabled",
|
|
1777
|
+
"type": {
|
|
1778
|
+
"text": "boolean"
|
|
1779
|
+
},
|
|
1780
|
+
"default": "false",
|
|
1781
|
+
"fieldName": "hideDisabled"
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
"name": "hide-menu-single-option",
|
|
1785
|
+
"type": {
|
|
1786
|
+
"text": "boolean"
|
|
1787
|
+
},
|
|
1788
|
+
"default": "false",
|
|
1789
|
+
"fieldName": "hideMenuSingleOption"
|
|
1599
1790
|
}
|
|
1600
|
-
]
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1605
|
-
"type": {
|
|
1606
|
-
"text": "ShadowRootInit"
|
|
1607
|
-
},
|
|
1608
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1609
|
-
},
|
|
1610
|
-
{
|
|
1611
|
-
"kind": "variable",
|
|
1612
|
-
"name": "defaultAccordionItemConfig",
|
|
1613
|
-
"type": {
|
|
1614
|
-
"text": "object"
|
|
1791
|
+
],
|
|
1792
|
+
"superclass": {
|
|
1793
|
+
"name": "FoundationElement",
|
|
1794
|
+
"package": "@microsoft/fast-foundation"
|
|
1615
1795
|
},
|
|
1616
|
-
"
|
|
1796
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
1797
|
+
"customElement": true
|
|
1617
1798
|
},
|
|
1618
1799
|
{
|
|
1619
1800
|
"kind": "variable",
|
|
1620
|
-
"name": "
|
|
1621
|
-
"description": "The Foundation
|
|
1801
|
+
"name": "foundationActionsMenu",
|
|
1802
|
+
"description": "The Foundation Actions Menu",
|
|
1622
1803
|
"privacy": "public"
|
|
1623
1804
|
}
|
|
1624
1805
|
],
|
|
1625
1806
|
"exports": [
|
|
1626
1807
|
{
|
|
1627
1808
|
"kind": "js",
|
|
1628
|
-
"name": "
|
|
1809
|
+
"name": "ActionsMenu",
|
|
1629
1810
|
"declaration": {
|
|
1630
|
-
"name": "
|
|
1631
|
-
"module": "src/
|
|
1811
|
+
"name": "ActionsMenu",
|
|
1812
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1632
1813
|
}
|
|
1633
1814
|
},
|
|
1634
1815
|
{
|
|
1635
1816
|
"kind": "js",
|
|
1636
|
-
"name": "
|
|
1817
|
+
"name": "foundationActionsMenu",
|
|
1637
1818
|
"declaration": {
|
|
1638
|
-
"name": "
|
|
1639
|
-
"module": "src/
|
|
1640
|
-
}
|
|
1641
|
-
},
|
|
1642
|
-
{
|
|
1643
|
-
"kind": "js",
|
|
1644
|
-
"name": "defaultAccordionItemConfig",
|
|
1645
|
-
"declaration": {
|
|
1646
|
-
"name": "defaultAccordionItemConfig",
|
|
1647
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1648
|
-
}
|
|
1649
|
-
},
|
|
1650
|
-
{
|
|
1651
|
-
"kind": "js",
|
|
1652
|
-
"name": "foundationAccordionItem",
|
|
1653
|
-
"declaration": {
|
|
1654
|
-
"name": "foundationAccordionItem",
|
|
1655
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1819
|
+
"name": "foundationActionsMenu",
|
|
1820
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1656
1821
|
}
|
|
1657
1822
|
}
|
|
1658
1823
|
]
|
|
1659
1824
|
},
|
|
1660
1825
|
{
|
|
1661
1826
|
"kind": "javascript-module",
|
|
1662
|
-
"path": "src/
|
|
1827
|
+
"path": "src/actions-menu/index.ts",
|
|
1663
1828
|
"declarations": [],
|
|
1664
1829
|
"exports": [
|
|
1665
1830
|
{
|
|
@@ -1667,7 +1832,7 @@
|
|
|
1667
1832
|
"name": "*",
|
|
1668
1833
|
"declaration": {
|
|
1669
1834
|
"name": "*",
|
|
1670
|
-
"package": "./
|
|
1835
|
+
"package": "./actions-menu.styles"
|
|
1671
1836
|
}
|
|
1672
1837
|
},
|
|
1673
1838
|
{
|
|
@@ -1675,7 +1840,7 @@
|
|
|
1675
1840
|
"name": "*",
|
|
1676
1841
|
"declaration": {
|
|
1677
1842
|
"name": "*",
|
|
1678
|
-
"package": "./
|
|
1843
|
+
"package": "./actions-menu.template"
|
|
1679
1844
|
}
|
|
1680
1845
|
},
|
|
1681
1846
|
{
|
|
@@ -1683,328 +1848,166 @@
|
|
|
1683
1848
|
"name": "*",
|
|
1684
1849
|
"declaration": {
|
|
1685
1850
|
"name": "*",
|
|
1686
|
-
"package": "./
|
|
1687
|
-
}
|
|
1688
|
-
}
|
|
1689
|
-
]
|
|
1690
|
-
},
|
|
1691
|
-
{
|
|
1692
|
-
"kind": "javascript-module",
|
|
1693
|
-
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1694
|
-
"declarations": [
|
|
1695
|
-
{
|
|
1696
|
-
"kind": "function",
|
|
1697
|
-
"name": "actionsMenuBaseStyles",
|
|
1698
|
-
"return": {
|
|
1699
|
-
"type": {
|
|
1700
|
-
"text": "ElementStyles"
|
|
1701
|
-
}
|
|
1702
|
-
},
|
|
1703
|
-
"parameters": [
|
|
1704
|
-
{
|
|
1705
|
-
"name": "context",
|
|
1706
|
-
"type": {
|
|
1707
|
-
"text": "ElementDefinitionContext"
|
|
1708
|
-
}
|
|
1709
|
-
},
|
|
1710
|
-
{
|
|
1711
|
-
"name": "definition",
|
|
1712
|
-
"type": {
|
|
1713
|
-
"text": "FoundationElementDefinition"
|
|
1714
|
-
}
|
|
1715
|
-
}
|
|
1716
|
-
]
|
|
1717
|
-
},
|
|
1718
|
-
{
|
|
1719
|
-
"kind": "function",
|
|
1720
|
-
"name": "foundationActionsMenuStyles",
|
|
1721
|
-
"return": {
|
|
1722
|
-
"type": {
|
|
1723
|
-
"text": "ElementStyles"
|
|
1724
|
-
}
|
|
1725
|
-
},
|
|
1726
|
-
"parameters": [
|
|
1727
|
-
{
|
|
1728
|
-
"name": "context",
|
|
1729
|
-
"type": {
|
|
1730
|
-
"text": "ElementDefinitionContext"
|
|
1731
|
-
}
|
|
1732
|
-
},
|
|
1733
|
-
{
|
|
1734
|
-
"name": "definition",
|
|
1735
|
-
"type": {
|
|
1736
|
-
"text": "FoundationElementDefinition"
|
|
1737
|
-
}
|
|
1738
|
-
}
|
|
1739
|
-
]
|
|
1740
|
-
}
|
|
1741
|
-
],
|
|
1742
|
-
"exports": [
|
|
1743
|
-
{
|
|
1744
|
-
"kind": "js",
|
|
1745
|
-
"name": "actionsMenuBaseStyles",
|
|
1746
|
-
"declaration": {
|
|
1747
|
-
"name": "actionsMenuBaseStyles",
|
|
1748
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1749
|
-
}
|
|
1750
|
-
},
|
|
1751
|
-
{
|
|
1752
|
-
"kind": "js",
|
|
1753
|
-
"name": "foundationActionsMenuStyles",
|
|
1754
|
-
"declaration": {
|
|
1755
|
-
"name": "foundationActionsMenuStyles",
|
|
1756
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1757
|
-
}
|
|
1758
|
-
}
|
|
1759
|
-
]
|
|
1760
|
-
},
|
|
1761
|
-
{
|
|
1762
|
-
"kind": "javascript-module",
|
|
1763
|
-
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1764
|
-
"declarations": [
|
|
1765
|
-
{
|
|
1766
|
-
"kind": "function",
|
|
1767
|
-
"name": "menuTemplate",
|
|
1768
|
-
"parameters": [
|
|
1769
|
-
{
|
|
1770
|
-
"name": "prefix",
|
|
1771
|
-
"type": {
|
|
1772
|
-
"text": "string"
|
|
1773
|
-
}
|
|
1774
|
-
}
|
|
1775
|
-
]
|
|
1776
|
-
},
|
|
1777
|
-
{
|
|
1778
|
-
"kind": "function",
|
|
1779
|
-
"name": "singleOptionTemplate",
|
|
1780
|
-
"parameters": [
|
|
1781
|
-
{
|
|
1782
|
-
"name": "prefix",
|
|
1783
|
-
"type": {
|
|
1784
|
-
"text": "string"
|
|
1785
|
-
}
|
|
1786
|
-
}
|
|
1787
|
-
]
|
|
1788
|
-
},
|
|
1789
|
-
{
|
|
1790
|
-
"kind": "variable",
|
|
1791
|
-
"name": "foundationActionsMenuTemplate",
|
|
1792
|
-
"type": {
|
|
1793
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1794
|
-
},
|
|
1795
|
-
"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`"
|
|
1796
|
-
}
|
|
1797
|
-
],
|
|
1798
|
-
"exports": [
|
|
1799
|
-
{
|
|
1800
|
-
"kind": "js",
|
|
1801
|
-
"name": "menuTemplate",
|
|
1802
|
-
"declaration": {
|
|
1803
|
-
"name": "menuTemplate",
|
|
1804
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1805
|
-
}
|
|
1806
|
-
},
|
|
1807
|
-
{
|
|
1808
|
-
"kind": "js",
|
|
1809
|
-
"name": "singleOptionTemplate",
|
|
1810
|
-
"declaration": {
|
|
1811
|
-
"name": "singleOptionTemplate",
|
|
1812
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1813
|
-
}
|
|
1814
|
-
},
|
|
1815
|
-
{
|
|
1816
|
-
"kind": "js",
|
|
1817
|
-
"name": "foundationActionsMenuTemplate",
|
|
1818
|
-
"declaration": {
|
|
1819
|
-
"name": "foundationActionsMenuTemplate",
|
|
1820
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1851
|
+
"package": "./actions-menu"
|
|
1821
1852
|
}
|
|
1822
1853
|
}
|
|
1823
1854
|
]
|
|
1824
1855
|
},
|
|
1825
1856
|
{
|
|
1826
1857
|
"kind": "javascript-module",
|
|
1827
|
-
"path": "src/
|
|
1858
|
+
"path": "src/_common/base-file-component.ts",
|
|
1828
1859
|
"declarations": [
|
|
1829
1860
|
{
|
|
1830
1861
|
"kind": "class",
|
|
1831
|
-
"description": "",
|
|
1832
|
-
"name": "
|
|
1862
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
1863
|
+
"name": "BaseFileComponent",
|
|
1833
1864
|
"members": [
|
|
1834
1865
|
{
|
|
1835
1866
|
"kind": "field",
|
|
1836
|
-
"name": "
|
|
1837
|
-
"type": {
|
|
1838
|
-
"text": "ActionMenuItem[]"
|
|
1839
|
-
}
|
|
1840
|
-
},
|
|
1841
|
-
{
|
|
1842
|
-
"kind": "field",
|
|
1843
|
-
"name": "isVertical",
|
|
1844
|
-
"type": {
|
|
1845
|
-
"text": "boolean"
|
|
1846
|
-
},
|
|
1847
|
-
"default": "false"
|
|
1848
|
-
},
|
|
1849
|
-
{
|
|
1850
|
-
"kind": "field",
|
|
1851
|
-
"name": "addDefaultActions",
|
|
1867
|
+
"name": "fileInput",
|
|
1852
1868
|
"type": {
|
|
1853
|
-
"text": "
|
|
1869
|
+
"text": "HTMLInputElement"
|
|
1854
1870
|
},
|
|
1855
|
-
"
|
|
1871
|
+
"privacy": "public"
|
|
1856
1872
|
},
|
|
1857
1873
|
{
|
|
1858
1874
|
"kind": "field",
|
|
1859
|
-
"name": "
|
|
1875
|
+
"name": "selectedFile",
|
|
1860
1876
|
"type": {
|
|
1861
|
-
"text": "
|
|
1877
|
+
"text": "File | null"
|
|
1862
1878
|
},
|
|
1863
|
-
"
|
|
1879
|
+
"privacy": "protected",
|
|
1880
|
+
"default": "null"
|
|
1864
1881
|
},
|
|
1865
1882
|
{
|
|
1866
1883
|
"kind": "field",
|
|
1867
|
-
"name": "
|
|
1884
|
+
"name": "label",
|
|
1868
1885
|
"type": {
|
|
1869
1886
|
"text": "string"
|
|
1870
1887
|
}
|
|
1871
1888
|
},
|
|
1872
1889
|
{
|
|
1873
1890
|
"kind": "field",
|
|
1874
|
-
"name": "
|
|
1875
|
-
"type": {
|
|
1876
|
-
"text": "any"
|
|
1877
|
-
}
|
|
1878
|
-
},
|
|
1879
|
-
{
|
|
1880
|
-
"kind": "field",
|
|
1881
|
-
"name": "name",
|
|
1891
|
+
"name": "accept",
|
|
1882
1892
|
"type": {
|
|
1883
1893
|
"text": "string"
|
|
1884
1894
|
},
|
|
1885
|
-
"default": "'
|
|
1886
|
-
},
|
|
1887
|
-
{
|
|
1888
|
-
"kind": "field",
|
|
1889
|
-
"name": "open",
|
|
1890
|
-
"type": {
|
|
1891
|
-
"text": "boolean"
|
|
1892
|
-
},
|
|
1893
|
-
"default": "false"
|
|
1895
|
+
"default": "''"
|
|
1894
1896
|
},
|
|
1895
1897
|
{
|
|
1896
1898
|
"kind": "field",
|
|
1897
|
-
"name": "
|
|
1899
|
+
"name": "fileSizeLimitBytes",
|
|
1900
|
+
"default": "10_485_760",
|
|
1898
1901
|
"type": {
|
|
1899
|
-
"text": "
|
|
1902
|
+
"text": "number"
|
|
1900
1903
|
}
|
|
1901
1904
|
},
|
|
1902
1905
|
{
|
|
1903
1906
|
"kind": "field",
|
|
1904
|
-
"name": "
|
|
1907
|
+
"name": "fileName",
|
|
1905
1908
|
"type": {
|
|
1906
|
-
"text": "
|
|
1909
|
+
"text": "string"
|
|
1907
1910
|
},
|
|
1908
|
-
"default": "
|
|
1911
|
+
"default": "''"
|
|
1909
1912
|
},
|
|
1910
1913
|
{
|
|
1911
1914
|
"kind": "field",
|
|
1912
|
-
"name": "
|
|
1915
|
+
"name": "isProcessing",
|
|
1913
1916
|
"type": {
|
|
1914
1917
|
"text": "boolean"
|
|
1915
1918
|
},
|
|
1916
1919
|
"default": "false"
|
|
1917
1920
|
},
|
|
1918
1921
|
{
|
|
1919
|
-
"kind": "
|
|
1920
|
-
"name": "
|
|
1921
|
-
"
|
|
1922
|
-
|
|
1923
|
-
}
|
|
1924
|
-
},
|
|
1925
|
-
{
|
|
1926
|
-
"kind": "field",
|
|
1927
|
-
"name": "actionsMenu",
|
|
1928
|
-
"type": {
|
|
1929
|
-
"text": "HTMLElement"
|
|
1930
|
-
}
|
|
1922
|
+
"kind": "method",
|
|
1923
|
+
"name": "handleClick",
|
|
1924
|
+
"privacy": "public",
|
|
1925
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1931
1926
|
},
|
|
1932
1927
|
{
|
|
1933
1928
|
"kind": "method",
|
|
1934
|
-
"name": "
|
|
1935
|
-
"privacy": "
|
|
1929
|
+
"name": "onInputChange",
|
|
1930
|
+
"privacy": "public",
|
|
1936
1931
|
"parameters": [
|
|
1937
1932
|
{
|
|
1938
|
-
"name": "
|
|
1939
|
-
"type": {
|
|
1940
|
-
"text": "any"
|
|
1941
|
-
}
|
|
1942
|
-
},
|
|
1943
|
-
{
|
|
1944
|
-
"name": "newValue",
|
|
1933
|
+
"name": "e",
|
|
1945
1934
|
"type": {
|
|
1946
|
-
"text": "
|
|
1947
|
-
}
|
|
1935
|
+
"text": "Event"
|
|
1936
|
+
},
|
|
1937
|
+
"description": "The change event from the file input"
|
|
1948
1938
|
}
|
|
1949
|
-
]
|
|
1939
|
+
],
|
|
1940
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1950
1941
|
},
|
|
1951
1942
|
{
|
|
1952
1943
|
"kind": "method",
|
|
1953
|
-
"name": "
|
|
1954
|
-
"privacy": "
|
|
1944
|
+
"name": "clearSelection",
|
|
1945
|
+
"privacy": "public",
|
|
1946
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1955
1947
|
},
|
|
1956
1948
|
{
|
|
1957
1949
|
"kind": "method",
|
|
1958
|
-
"name": "
|
|
1950
|
+
"name": "getSelectedFile",
|
|
1951
|
+
"privacy": "public",
|
|
1952
|
+
"description": "Gets the currently selected file object",
|
|
1953
|
+
"return": {
|
|
1954
|
+
"type": {
|
|
1955
|
+
"text": ""
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1959
1958
|
},
|
|
1960
1959
|
{
|
|
1961
1960
|
"kind": "method",
|
|
1962
|
-
"name": "
|
|
1961
|
+
"name": "showError",
|
|
1962
|
+
"privacy": "protected",
|
|
1963
1963
|
"parameters": [
|
|
1964
1964
|
{
|
|
1965
|
-
"name": "
|
|
1965
|
+
"name": "title",
|
|
1966
1966
|
"type": {
|
|
1967
|
-
"text": "
|
|
1968
|
-
}
|
|
1967
|
+
"text": "string"
|
|
1968
|
+
},
|
|
1969
|
+
"description": "The error title"
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
"name": "message",
|
|
1973
|
+
"type": {
|
|
1974
|
+
"text": "string"
|
|
1975
|
+
},
|
|
1976
|
+
"description": "The error message"
|
|
1969
1977
|
}
|
|
1970
|
-
]
|
|
1971
|
-
|
|
1972
|
-
{
|
|
1973
|
-
"kind": "field",
|
|
1974
|
-
"name": "allActions",
|
|
1975
|
-
"type": {
|
|
1976
|
-
"text": "ActionMenuItem[]"
|
|
1977
|
-
},
|
|
1978
|
-
"readonly": true
|
|
1979
|
-
},
|
|
1980
|
-
{
|
|
1981
|
-
"kind": "field",
|
|
1982
|
-
"name": "rowData",
|
|
1983
|
-
"readonly": true
|
|
1978
|
+
],
|
|
1979
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
1984
1980
|
},
|
|
1985
1981
|
{
|
|
1986
1982
|
"kind": "method",
|
|
1987
|
-
"name": "
|
|
1983
|
+
"name": "onFileSelected",
|
|
1984
|
+
"privacy": "protected",
|
|
1985
|
+
"return": {
|
|
1986
|
+
"type": {
|
|
1987
|
+
"text": "void"
|
|
1988
|
+
}
|
|
1989
|
+
},
|
|
1988
1990
|
"parameters": [
|
|
1989
1991
|
{
|
|
1990
|
-
"name": "
|
|
1992
|
+
"name": "files",
|
|
1991
1993
|
"type": {
|
|
1992
|
-
"text": "
|
|
1993
|
-
}
|
|
1994
|
+
"text": "File[]"
|
|
1995
|
+
},
|
|
1996
|
+
"description": "The selected file"
|
|
1994
1997
|
}
|
|
1995
|
-
]
|
|
1998
|
+
],
|
|
1999
|
+
"description": "Abstract method called when a file is selected"
|
|
1996
2000
|
},
|
|
1997
2001
|
{
|
|
1998
2002
|
"kind": "method",
|
|
1999
|
-
"name": "
|
|
2000
|
-
"
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
"
|
|
2004
|
-
"text": "string"
|
|
2005
|
-
}
|
|
2003
|
+
"name": "onFileCleared",
|
|
2004
|
+
"privacy": "protected",
|
|
2005
|
+
"return": {
|
|
2006
|
+
"type": {
|
|
2007
|
+
"text": "void"
|
|
2006
2008
|
}
|
|
2007
|
-
|
|
2009
|
+
},
|
|
2010
|
+
"description": "Abstract method called when file selection is cleared"
|
|
2008
2011
|
},
|
|
2009
2012
|
{
|
|
2010
2013
|
"kind": "field",
|
|
@@ -2120,303 +2123,87 @@
|
|
|
2120
2123
|
],
|
|
2121
2124
|
"attributes": [
|
|
2122
2125
|
{
|
|
2123
|
-
"name": "
|
|
2124
|
-
"type": {
|
|
2125
|
-
"text": "boolean"
|
|
2126
|
-
},
|
|
2127
|
-
"default": "false",
|
|
2128
|
-
"fieldName": "isVertical"
|
|
2129
|
-
},
|
|
2130
|
-
{
|
|
2131
|
-
"name": "add-default-actions",
|
|
2132
|
-
"type": {
|
|
2133
|
-
"text": "boolean"
|
|
2134
|
-
},
|
|
2135
|
-
"default": "true",
|
|
2136
|
-
"fieldName": "addDefaultActions"
|
|
2137
|
-
},
|
|
2138
|
-
{
|
|
2139
|
-
"name": "auto-close-on-action",
|
|
2140
|
-
"type": {
|
|
2141
|
-
"text": "boolean"
|
|
2142
|
-
},
|
|
2143
|
-
"default": "true",
|
|
2144
|
-
"fieldName": "autoCloseOnAction"
|
|
2145
|
-
},
|
|
2146
|
-
{
|
|
2147
|
-
"name": "name",
|
|
2126
|
+
"name": "label",
|
|
2148
2127
|
"type": {
|
|
2149
2128
|
"text": "string"
|
|
2150
2129
|
},
|
|
2151
|
-
"
|
|
2152
|
-
"fieldName": "name"
|
|
2153
|
-
},
|
|
2154
|
-
{
|
|
2155
|
-
"name": "open",
|
|
2156
|
-
"type": {
|
|
2157
|
-
"text": "boolean"
|
|
2158
|
-
},
|
|
2159
|
-
"default": "false",
|
|
2160
|
-
"fieldName": "open"
|
|
2130
|
+
"fieldName": "label"
|
|
2161
2131
|
},
|
|
2162
2132
|
{
|
|
2163
|
-
"name": "
|
|
2133
|
+
"name": "accept",
|
|
2164
2134
|
"type": {
|
|
2165
2135
|
"text": "string"
|
|
2166
2136
|
},
|
|
2167
|
-
"
|
|
2168
|
-
|
|
2169
|
-
{
|
|
2170
|
-
"name": "hide-disabled",
|
|
2171
|
-
"type": {
|
|
2172
|
-
"text": "boolean"
|
|
2173
|
-
},
|
|
2174
|
-
"default": "false",
|
|
2175
|
-
"fieldName": "hideDisabled"
|
|
2137
|
+
"default": "''",
|
|
2138
|
+
"fieldName": "accept"
|
|
2176
2139
|
},
|
|
2177
2140
|
{
|
|
2178
|
-
"name": "
|
|
2179
|
-
"
|
|
2180
|
-
|
|
2141
|
+
"name": "file-size-limit-bytes",
|
|
2142
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
2143
|
+
"resolveInitializer": {
|
|
2144
|
+
"module": "src/_common/base-file-component.ts"
|
|
2181
2145
|
},
|
|
2182
|
-
"
|
|
2183
|
-
"fieldName": "hideMenuSingleOption"
|
|
2146
|
+
"fieldName": "fileSizeLimitBytes"
|
|
2184
2147
|
}
|
|
2185
2148
|
],
|
|
2186
2149
|
"superclass": {
|
|
2187
2150
|
"name": "FoundationElement",
|
|
2188
2151
|
"package": "@microsoft/fast-foundation"
|
|
2189
|
-
},
|
|
2190
|
-
"tagName": "%%prefix%%-actions-menu",
|
|
2191
|
-
"customElement": true
|
|
2192
|
-
},
|
|
2193
|
-
{
|
|
2194
|
-
"kind": "variable",
|
|
2195
|
-
"name": "foundationActionsMenu",
|
|
2196
|
-
"description": "The Foundation Actions Menu",
|
|
2197
|
-
"privacy": "public"
|
|
2198
|
-
}
|
|
2199
|
-
],
|
|
2200
|
-
"exports": [
|
|
2201
|
-
{
|
|
2202
|
-
"kind": "js",
|
|
2203
|
-
"name": "ActionsMenu",
|
|
2204
|
-
"declaration": {
|
|
2205
|
-
"name": "ActionsMenu",
|
|
2206
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
2207
|
-
}
|
|
2208
|
-
},
|
|
2209
|
-
{
|
|
2210
|
-
"kind": "js",
|
|
2211
|
-
"name": "foundationActionsMenu",
|
|
2212
|
-
"declaration": {
|
|
2213
|
-
"name": "foundationActionsMenu",
|
|
2214
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
2215
2152
|
}
|
|
2216
2153
|
}
|
|
2217
|
-
]
|
|
2218
|
-
},
|
|
2219
|
-
{
|
|
2220
|
-
"kind": "javascript-module",
|
|
2221
|
-
"path": "src/actions-menu/index.ts",
|
|
2222
|
-
"declarations": [],
|
|
2223
|
-
"exports": [
|
|
2224
|
-
{
|
|
2225
|
-
"kind": "js",
|
|
2226
|
-
"name": "*",
|
|
2227
|
-
"declaration": {
|
|
2228
|
-
"name": "*",
|
|
2229
|
-
"package": "./actions-menu.styles"
|
|
2230
|
-
}
|
|
2231
|
-
},
|
|
2232
|
-
{
|
|
2233
|
-
"kind": "js",
|
|
2234
|
-
"name": "*",
|
|
2235
|
-
"declaration": {
|
|
2236
|
-
"name": "*",
|
|
2237
|
-
"package": "./actions-menu.template"
|
|
2238
|
-
}
|
|
2239
|
-
},
|
|
2240
|
-
{
|
|
2241
|
-
"kind": "js",
|
|
2242
|
-
"name": "*",
|
|
2243
|
-
"declaration": {
|
|
2244
|
-
"name": "*",
|
|
2245
|
-
"package": "./actions-menu"
|
|
2246
|
-
}
|
|
2247
|
-
}
|
|
2248
|
-
]
|
|
2249
|
-
},
|
|
2250
|
-
{
|
|
2251
|
-
"kind": "javascript-module",
|
|
2252
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
2253
|
-
"declarations": [
|
|
2254
|
-
{
|
|
2255
|
-
"kind": "function",
|
|
2256
|
-
"name": "foundationAccordionStyles",
|
|
2257
|
-
"return": {
|
|
2258
|
-
"type": {
|
|
2259
|
-
"text": "ElementStyles"
|
|
2260
|
-
}
|
|
2261
|
-
},
|
|
2262
|
-
"parameters": [
|
|
2263
|
-
{
|
|
2264
|
-
"name": "context",
|
|
2265
|
-
"type": {
|
|
2266
|
-
"text": "ElementDefinitionContext"
|
|
2267
|
-
}
|
|
2268
|
-
},
|
|
2269
|
-
{
|
|
2270
|
-
"name": "definition",
|
|
2271
|
-
"type": {
|
|
2272
|
-
"text": "FoundationElementDefinition"
|
|
2273
|
-
}
|
|
2274
|
-
}
|
|
2275
|
-
]
|
|
2276
|
-
}
|
|
2277
2154
|
],
|
|
2278
2155
|
"exports": [
|
|
2279
2156
|
{
|
|
2280
2157
|
"kind": "js",
|
|
2281
|
-
"name": "
|
|
2282
|
-
"declaration": {
|
|
2283
|
-
"name": "foundationAccordionStyles",
|
|
2284
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
2285
|
-
}
|
|
2286
|
-
}
|
|
2287
|
-
]
|
|
2288
|
-
},
|
|
2289
|
-
{
|
|
2290
|
-
"kind": "javascript-module",
|
|
2291
|
-
"path": "src/accordion/accordion.template.ts",
|
|
2292
|
-
"declarations": [
|
|
2293
|
-
{
|
|
2294
|
-
"kind": "function",
|
|
2295
|
-
"name": "foundationAccordionTemplate",
|
|
2296
|
-
"return": {
|
|
2297
|
-
"type": {
|
|
2298
|
-
"text": "ViewTemplate<Accordion>"
|
|
2299
|
-
}
|
|
2300
|
-
},
|
|
2301
|
-
"parameters": [
|
|
2302
|
-
{
|
|
2303
|
-
"name": "context",
|
|
2304
|
-
"type": {
|
|
2305
|
-
"text": "ElementDefinitionContext"
|
|
2306
|
-
}
|
|
2307
|
-
},
|
|
2308
|
-
{
|
|
2309
|
-
"name": "definition",
|
|
2310
|
-
"type": {
|
|
2311
|
-
"text": "FoundationElementDefinition"
|
|
2312
|
-
}
|
|
2313
|
-
}
|
|
2314
|
-
]
|
|
2315
|
-
}
|
|
2316
|
-
],
|
|
2317
|
-
"exports": [
|
|
2318
|
-
{
|
|
2319
|
-
"kind": "js",
|
|
2320
|
-
"name": "foundationAccordionTemplate",
|
|
2321
|
-
"declaration": {
|
|
2322
|
-
"name": "foundationAccordionTemplate",
|
|
2323
|
-
"module": "src/accordion/accordion.template.ts"
|
|
2324
|
-
}
|
|
2325
|
-
}
|
|
2326
|
-
]
|
|
2327
|
-
},
|
|
2328
|
-
{
|
|
2329
|
-
"kind": "javascript-module",
|
|
2330
|
-
"path": "src/accordion/accordion.ts",
|
|
2331
|
-
"declarations": [
|
|
2332
|
-
{
|
|
2333
|
-
"kind": "class",
|
|
2334
|
-
"description": "",
|
|
2335
|
-
"name": "Accordion",
|
|
2336
|
-
"superclass": {
|
|
2337
|
-
"name": "FASTAccordion",
|
|
2338
|
-
"package": "@microsoft/fast-foundation"
|
|
2339
|
-
},
|
|
2340
|
-
"tagName": "%%prefix%%-accordion",
|
|
2341
|
-
"customElement": true
|
|
2342
|
-
},
|
|
2343
|
-
{
|
|
2344
|
-
"kind": "variable",
|
|
2345
|
-
"name": "foundationAccordionShadowOptions",
|
|
2346
|
-
"type": {
|
|
2347
|
-
"text": "ShadowRootInit"
|
|
2348
|
-
},
|
|
2349
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2350
|
-
},
|
|
2351
|
-
{
|
|
2352
|
-
"kind": "variable",
|
|
2353
|
-
"name": "defaultAccordionConfig",
|
|
2354
|
-
"type": {
|
|
2355
|
-
"text": "object"
|
|
2356
|
-
},
|
|
2357
|
-
"default": "{}"
|
|
2358
|
-
},
|
|
2359
|
-
{
|
|
2360
|
-
"kind": "variable",
|
|
2361
|
-
"name": "foundationAccordion",
|
|
2362
|
-
"description": "The Foundation Accordion",
|
|
2363
|
-
"privacy": "public"
|
|
2364
|
-
}
|
|
2365
|
-
],
|
|
2366
|
-
"exports": [
|
|
2367
|
-
{
|
|
2368
|
-
"kind": "js",
|
|
2369
|
-
"name": "Accordion",
|
|
2370
|
-
"declaration": {
|
|
2371
|
-
"name": "Accordion",
|
|
2372
|
-
"module": "src/accordion/accordion.ts"
|
|
2373
|
-
}
|
|
2374
|
-
},
|
|
2375
|
-
{
|
|
2376
|
-
"kind": "js",
|
|
2377
|
-
"name": "foundationAccordionShadowOptions",
|
|
2378
|
-
"declaration": {
|
|
2379
|
-
"name": "foundationAccordionShadowOptions",
|
|
2380
|
-
"module": "src/accordion/accordion.ts"
|
|
2381
|
-
}
|
|
2382
|
-
},
|
|
2383
|
-
{
|
|
2384
|
-
"kind": "js",
|
|
2385
|
-
"name": "defaultAccordionConfig",
|
|
2386
|
-
"declaration": {
|
|
2387
|
-
"name": "defaultAccordionConfig",
|
|
2388
|
-
"module": "src/accordion/accordion.ts"
|
|
2389
|
-
}
|
|
2390
|
-
},
|
|
2391
|
-
{
|
|
2392
|
-
"kind": "js",
|
|
2393
|
-
"name": "foundationAccordion",
|
|
2158
|
+
"name": "BaseFileComponent",
|
|
2394
2159
|
"declaration": {
|
|
2395
|
-
"name": "
|
|
2396
|
-
"module": "src/
|
|
2160
|
+
"name": "BaseFileComponent",
|
|
2161
|
+
"module": "src/_common/base-file-component.ts"
|
|
2397
2162
|
}
|
|
2398
2163
|
}
|
|
2399
2164
|
]
|
|
2400
2165
|
},
|
|
2401
2166
|
{
|
|
2402
2167
|
"kind": "javascript-module",
|
|
2403
|
-
"path": "src/
|
|
2404
|
-
"declarations": [
|
|
2168
|
+
"path": "src/_common/icons.ts",
|
|
2169
|
+
"declarations": [
|
|
2170
|
+
{
|
|
2171
|
+
"kind": "function",
|
|
2172
|
+
"name": "closeIcon",
|
|
2173
|
+
"parameters": [
|
|
2174
|
+
{
|
|
2175
|
+
"name": "slot",
|
|
2176
|
+
"default": "'start'"
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
"name": "fill",
|
|
2180
|
+
"default": "'#879ba6'"
|
|
2181
|
+
}
|
|
2182
|
+
]
|
|
2183
|
+
}
|
|
2184
|
+
],
|
|
2405
2185
|
"exports": [
|
|
2406
2186
|
{
|
|
2407
2187
|
"kind": "js",
|
|
2408
|
-
"name": "
|
|
2188
|
+
"name": "closeIcon",
|
|
2409
2189
|
"declaration": {
|
|
2410
|
-
"name": "
|
|
2411
|
-
"
|
|
2190
|
+
"name": "closeIcon",
|
|
2191
|
+
"module": "src/_common/icons.ts"
|
|
2412
2192
|
}
|
|
2413
|
-
}
|
|
2193
|
+
}
|
|
2194
|
+
]
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
"kind": "javascript-module",
|
|
2198
|
+
"path": "src/_common/index.ts",
|
|
2199
|
+
"declarations": [],
|
|
2200
|
+
"exports": [
|
|
2414
2201
|
{
|
|
2415
2202
|
"kind": "js",
|
|
2416
2203
|
"name": "*",
|
|
2417
2204
|
"declaration": {
|
|
2418
2205
|
"name": "*",
|
|
2419
|
-
"package": "./
|
|
2206
|
+
"package": "./base-file-component"
|
|
2420
2207
|
}
|
|
2421
2208
|
},
|
|
2422
2209
|
{
|
|
@@ -2424,7 +2211,7 @@
|
|
|
2424
2211
|
"name": "*",
|
|
2425
2212
|
"declaration": {
|
|
2426
2213
|
"name": "*",
|
|
2427
|
-
"package": "./
|
|
2214
|
+
"package": "./icons"
|
|
2428
2215
|
}
|
|
2429
2216
|
}
|
|
2430
2217
|
]
|
|
@@ -4539,6 +4326,219 @@
|
|
|
4539
4326
|
}
|
|
4540
4327
|
]
|
|
4541
4328
|
},
|
|
4329
|
+
{
|
|
4330
|
+
"kind": "javascript-module",
|
|
4331
|
+
"path": "src/_config/index.ts",
|
|
4332
|
+
"declarations": [],
|
|
4333
|
+
"exports": [
|
|
4334
|
+
{
|
|
4335
|
+
"kind": "js",
|
|
4336
|
+
"name": "*",
|
|
4337
|
+
"declaration": {
|
|
4338
|
+
"name": "*",
|
|
4339
|
+
"package": "./styles"
|
|
4340
|
+
}
|
|
4341
|
+
},
|
|
4342
|
+
{
|
|
4343
|
+
"kind": "js",
|
|
4344
|
+
"name": "*",
|
|
4345
|
+
"declaration": {
|
|
4346
|
+
"name": "*",
|
|
4347
|
+
"package": "./tokens"
|
|
4348
|
+
}
|
|
4349
|
+
},
|
|
4350
|
+
{
|
|
4351
|
+
"kind": "js",
|
|
4352
|
+
"name": "*",
|
|
4353
|
+
"declaration": {
|
|
4354
|
+
"name": "*",
|
|
4355
|
+
"package": "./values"
|
|
4356
|
+
}
|
|
4357
|
+
}
|
|
4358
|
+
]
|
|
4359
|
+
},
|
|
4360
|
+
{
|
|
4361
|
+
"kind": "javascript-module",
|
|
4362
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
4363
|
+
"declarations": [
|
|
4364
|
+
{
|
|
4365
|
+
"kind": "function",
|
|
4366
|
+
"name": "foundationAccordionStyles",
|
|
4367
|
+
"return": {
|
|
4368
|
+
"type": {
|
|
4369
|
+
"text": "ElementStyles"
|
|
4370
|
+
}
|
|
4371
|
+
},
|
|
4372
|
+
"parameters": [
|
|
4373
|
+
{
|
|
4374
|
+
"name": "context",
|
|
4375
|
+
"type": {
|
|
4376
|
+
"text": "ElementDefinitionContext"
|
|
4377
|
+
}
|
|
4378
|
+
},
|
|
4379
|
+
{
|
|
4380
|
+
"name": "definition",
|
|
4381
|
+
"type": {
|
|
4382
|
+
"text": "FoundationElementDefinition"
|
|
4383
|
+
}
|
|
4384
|
+
}
|
|
4385
|
+
]
|
|
4386
|
+
}
|
|
4387
|
+
],
|
|
4388
|
+
"exports": [
|
|
4389
|
+
{
|
|
4390
|
+
"kind": "js",
|
|
4391
|
+
"name": "foundationAccordionStyles",
|
|
4392
|
+
"declaration": {
|
|
4393
|
+
"name": "foundationAccordionStyles",
|
|
4394
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
4395
|
+
}
|
|
4396
|
+
}
|
|
4397
|
+
]
|
|
4398
|
+
},
|
|
4399
|
+
{
|
|
4400
|
+
"kind": "javascript-module",
|
|
4401
|
+
"path": "src/accordion/accordion.template.ts",
|
|
4402
|
+
"declarations": [
|
|
4403
|
+
{
|
|
4404
|
+
"kind": "function",
|
|
4405
|
+
"name": "foundationAccordionTemplate",
|
|
4406
|
+
"return": {
|
|
4407
|
+
"type": {
|
|
4408
|
+
"text": "ViewTemplate<Accordion>"
|
|
4409
|
+
}
|
|
4410
|
+
},
|
|
4411
|
+
"parameters": [
|
|
4412
|
+
{
|
|
4413
|
+
"name": "context",
|
|
4414
|
+
"type": {
|
|
4415
|
+
"text": "ElementDefinitionContext"
|
|
4416
|
+
}
|
|
4417
|
+
},
|
|
4418
|
+
{
|
|
4419
|
+
"name": "definition",
|
|
4420
|
+
"type": {
|
|
4421
|
+
"text": "FoundationElementDefinition"
|
|
4422
|
+
}
|
|
4423
|
+
}
|
|
4424
|
+
]
|
|
4425
|
+
}
|
|
4426
|
+
],
|
|
4427
|
+
"exports": [
|
|
4428
|
+
{
|
|
4429
|
+
"kind": "js",
|
|
4430
|
+
"name": "foundationAccordionTemplate",
|
|
4431
|
+
"declaration": {
|
|
4432
|
+
"name": "foundationAccordionTemplate",
|
|
4433
|
+
"module": "src/accordion/accordion.template.ts"
|
|
4434
|
+
}
|
|
4435
|
+
}
|
|
4436
|
+
]
|
|
4437
|
+
},
|
|
4438
|
+
{
|
|
4439
|
+
"kind": "javascript-module",
|
|
4440
|
+
"path": "src/accordion/accordion.ts",
|
|
4441
|
+
"declarations": [
|
|
4442
|
+
{
|
|
4443
|
+
"kind": "class",
|
|
4444
|
+
"description": "",
|
|
4445
|
+
"name": "Accordion",
|
|
4446
|
+
"superclass": {
|
|
4447
|
+
"name": "FASTAccordion",
|
|
4448
|
+
"package": "@microsoft/fast-foundation"
|
|
4449
|
+
},
|
|
4450
|
+
"tagName": "%%prefix%%-accordion",
|
|
4451
|
+
"customElement": true
|
|
4452
|
+
},
|
|
4453
|
+
{
|
|
4454
|
+
"kind": "variable",
|
|
4455
|
+
"name": "foundationAccordionShadowOptions",
|
|
4456
|
+
"type": {
|
|
4457
|
+
"text": "ShadowRootInit"
|
|
4458
|
+
},
|
|
4459
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
4460
|
+
},
|
|
4461
|
+
{
|
|
4462
|
+
"kind": "variable",
|
|
4463
|
+
"name": "defaultAccordionConfig",
|
|
4464
|
+
"type": {
|
|
4465
|
+
"text": "object"
|
|
4466
|
+
},
|
|
4467
|
+
"default": "{}"
|
|
4468
|
+
},
|
|
4469
|
+
{
|
|
4470
|
+
"kind": "variable",
|
|
4471
|
+
"name": "foundationAccordion",
|
|
4472
|
+
"description": "The Foundation Accordion",
|
|
4473
|
+
"privacy": "public"
|
|
4474
|
+
}
|
|
4475
|
+
],
|
|
4476
|
+
"exports": [
|
|
4477
|
+
{
|
|
4478
|
+
"kind": "js",
|
|
4479
|
+
"name": "Accordion",
|
|
4480
|
+
"declaration": {
|
|
4481
|
+
"name": "Accordion",
|
|
4482
|
+
"module": "src/accordion/accordion.ts"
|
|
4483
|
+
}
|
|
4484
|
+
},
|
|
4485
|
+
{
|
|
4486
|
+
"kind": "js",
|
|
4487
|
+
"name": "foundationAccordionShadowOptions",
|
|
4488
|
+
"declaration": {
|
|
4489
|
+
"name": "foundationAccordionShadowOptions",
|
|
4490
|
+
"module": "src/accordion/accordion.ts"
|
|
4491
|
+
}
|
|
4492
|
+
},
|
|
4493
|
+
{
|
|
4494
|
+
"kind": "js",
|
|
4495
|
+
"name": "defaultAccordionConfig",
|
|
4496
|
+
"declaration": {
|
|
4497
|
+
"name": "defaultAccordionConfig",
|
|
4498
|
+
"module": "src/accordion/accordion.ts"
|
|
4499
|
+
}
|
|
4500
|
+
},
|
|
4501
|
+
{
|
|
4502
|
+
"kind": "js",
|
|
4503
|
+
"name": "foundationAccordion",
|
|
4504
|
+
"declaration": {
|
|
4505
|
+
"name": "foundationAccordion",
|
|
4506
|
+
"module": "src/accordion/accordion.ts"
|
|
4507
|
+
}
|
|
4508
|
+
}
|
|
4509
|
+
]
|
|
4510
|
+
},
|
|
4511
|
+
{
|
|
4512
|
+
"kind": "javascript-module",
|
|
4513
|
+
"path": "src/accordion/index.ts",
|
|
4514
|
+
"declarations": [],
|
|
4515
|
+
"exports": [
|
|
4516
|
+
{
|
|
4517
|
+
"kind": "js",
|
|
4518
|
+
"name": "*",
|
|
4519
|
+
"declaration": {
|
|
4520
|
+
"name": "*",
|
|
4521
|
+
"package": "./accordion.template"
|
|
4522
|
+
}
|
|
4523
|
+
},
|
|
4524
|
+
{
|
|
4525
|
+
"kind": "js",
|
|
4526
|
+
"name": "*",
|
|
4527
|
+
"declaration": {
|
|
4528
|
+
"name": "*",
|
|
4529
|
+
"package": "./accordion.styles"
|
|
4530
|
+
}
|
|
4531
|
+
},
|
|
4532
|
+
{
|
|
4533
|
+
"kind": "js",
|
|
4534
|
+
"name": "*",
|
|
4535
|
+
"declaration": {
|
|
4536
|
+
"name": "*",
|
|
4537
|
+
"package": "./accordion"
|
|
4538
|
+
}
|
|
4539
|
+
}
|
|
4540
|
+
]
|
|
4541
|
+
},
|
|
4542
4542
|
{
|
|
4543
4543
|
"kind": "javascript-module",
|
|
4544
4544
|
"path": "src/avatar/avatar.styles.ts",
|
|
@@ -23161,7 +23161,7 @@
|
|
|
23161
23161
|
"type": {
|
|
23162
23162
|
"text": "ElementStyles"
|
|
23163
23163
|
},
|
|
23164
|
-
"default": "css`\n /* Host */\n :host {\n display: inline-block;\n height: 100vh;\n position: absolute;\n width: 100vw;\n }\n\n :host([closed]) {\n display: none;\n }\n\n div.container {\n height: 100%;\n width: 100%;\n }\n\n /* flyout */\n div.flyout {\n background-color: white;\n color: black;\n height: 100%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: transform ${flyoutAnimationTime.toString()}ms ease-in;\n width: 20%;\n z-index: 2001;\n }\n\n :host([position='left']) div.flyout {\n left: 0;\n transform: translateX(0%);\n }\n\n :host([position='right']) div.flyout {\n right: 0;\n transform: translateX(0%);\n }\n\n :host([visuallyhidden][position='left']) div.flyout {\n left: 0;\n transform: translateX(-100%);\n }\n\n :host([visuallyhidden][position='right']) div.flyout {\n right: 0;\n transform: translateX(100%);\n }\n\n div.header {\n
|
|
23164
|
+
"default": "css`\n /* Host */\n :host {\n display: inline-block;\n height: 100vh;\n position: absolute;\n width: 100vw;\n }\n\n :host([closed]) {\n display: none;\n }\n\n div.container {\n height: 100%;\n width: 100%;\n }\n\n /* flyout */\n div.flyout {\n background-color: white;\n color: black;\n height: 100%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: transform ${flyoutAnimationTime.toString()}ms ease-in;\n width: 20%;\n z-index: 2001;\n }\n\n :host([position='left']) div.flyout {\n left: 0;\n transform: translateX(0%);\n }\n\n :host([position='right']) div.flyout {\n right: 0;\n transform: translateX(0%);\n }\n\n :host([visuallyhidden][position='left']) div.flyout {\n left: 0;\n transform: translateX(-100%);\n }\n\n :host([visuallyhidden][position='right']) div.flyout {\n right: 0;\n transform: translateX(100%);\n }\n\n div.header {\n align-items: center;\n display: flex;\n padding: calc(var(--design-unit) * 3px) calc(var(--design-unit) * 2px);\n }\n\n div.title {\n flex-grow: 1;\n }\n\n div.footer {\n bottom: 0;\n position: absolute;\n width: 100%;\n }\n\n /* Background */\n div.background {\n background-color: black;\n height: 100%;\n opacity: 50%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: opacity ${flyoutAnimationTime.toString()}ms linear;\n width: 100%;\n z-index: 2000;\n }\n\n :host([visuallyhidden]) div.background {\n opacity: 0%;\n }\n`"
|
|
23165
23165
|
}
|
|
23166
23166
|
],
|
|
23167
23167
|
"exports": [
|