@genesislcap/foundation-ui 14.409.0-FUI-2495.7 → 14.409.0-FUI-2495.8
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 +380 -380
- package/package.json +19 -19
|
@@ -926,159 +926,185 @@
|
|
|
926
926
|
},
|
|
927
927
|
{
|
|
928
928
|
"kind": "javascript-module",
|
|
929
|
-
"path": "src/
|
|
929
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
930
930
|
"declarations": [
|
|
931
931
|
{
|
|
932
|
-
"kind": "
|
|
933
|
-
"
|
|
934
|
-
"
|
|
935
|
-
|
|
932
|
+
"kind": "function",
|
|
933
|
+
"name": "foundationAccordionItemStyles",
|
|
934
|
+
"return": {
|
|
935
|
+
"type": {
|
|
936
|
+
"text": "ElementStyles"
|
|
937
|
+
}
|
|
938
|
+
},
|
|
939
|
+
"parameters": [
|
|
936
940
|
{
|
|
937
|
-
"
|
|
938
|
-
"name": "fileInput",
|
|
941
|
+
"name": "context",
|
|
939
942
|
"type": {
|
|
940
|
-
"text": "
|
|
941
|
-
}
|
|
942
|
-
"privacy": "public"
|
|
943
|
+
"text": "ElementDefinitionContext"
|
|
944
|
+
}
|
|
943
945
|
},
|
|
944
946
|
{
|
|
945
|
-
"
|
|
946
|
-
"name": "selectedFile",
|
|
947
|
+
"name": "definition",
|
|
947
948
|
"type": {
|
|
948
|
-
"text": "
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
949
|
+
"text": "FoundationElementDefinition"
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
]
|
|
953
|
+
}
|
|
954
|
+
],
|
|
955
|
+
"exports": [
|
|
956
|
+
{
|
|
957
|
+
"kind": "js",
|
|
958
|
+
"name": "foundationAccordionItemStyles",
|
|
959
|
+
"declaration": {
|
|
960
|
+
"name": "foundationAccordionItemStyles",
|
|
961
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
]
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"kind": "javascript-module",
|
|
968
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
969
|
+
"declarations": [
|
|
970
|
+
{
|
|
971
|
+
"kind": "function",
|
|
972
|
+
"name": "foundationAccordionItemTemplate",
|
|
973
|
+
"return": {
|
|
974
|
+
"type": {
|
|
975
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
"parameters": [
|
|
953
979
|
{
|
|
954
|
-
"
|
|
955
|
-
"name": "label",
|
|
980
|
+
"name": "context",
|
|
956
981
|
"type": {
|
|
957
|
-
"text": "
|
|
982
|
+
"text": "ElementDefinitionContext"
|
|
958
983
|
}
|
|
959
984
|
},
|
|
960
985
|
{
|
|
961
|
-
"
|
|
962
|
-
"name": "accept",
|
|
986
|
+
"name": "definition",
|
|
963
987
|
"type": {
|
|
964
|
-
"text": "
|
|
988
|
+
"text": "FoundationElementDefinition"
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
]
|
|
992
|
+
}
|
|
993
|
+
],
|
|
994
|
+
"exports": [
|
|
995
|
+
{
|
|
996
|
+
"kind": "js",
|
|
997
|
+
"name": "foundationAccordionItemTemplate",
|
|
998
|
+
"declaration": {
|
|
999
|
+
"name": "foundationAccordionItemTemplate",
|
|
1000
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
]
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
"kind": "javascript-module",
|
|
1007
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1008
|
+
"declarations": [
|
|
1009
|
+
{
|
|
1010
|
+
"kind": "class",
|
|
1011
|
+
"description": "",
|
|
1012
|
+
"name": "AccordionItem",
|
|
1013
|
+
"superclass": {
|
|
1014
|
+
"name": "FASTAccordionItem",
|
|
1015
|
+
"package": "@microsoft/fast-components"
|
|
1016
|
+
},
|
|
1017
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1018
|
+
"customElement": true,
|
|
1019
|
+
"attributes": [
|
|
1020
|
+
{
|
|
1021
|
+
"name": "heading-level",
|
|
1022
|
+
"type": {
|
|
1023
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
965
1024
|
},
|
|
966
|
-
"default": "
|
|
1025
|
+
"default": "2",
|
|
1026
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1027
|
+
"fieldName": "headinglevel",
|
|
1028
|
+
"inheritedFrom": {
|
|
1029
|
+
"name": "AccordionItem",
|
|
1030
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1031
|
+
}
|
|
967
1032
|
},
|
|
968
1033
|
{
|
|
969
|
-
"kind": "field",
|
|
970
|
-
"name": "fileSizeLimitBytes",
|
|
971
|
-
"default": "10_485_760",
|
|
972
1034
|
"type": {
|
|
973
|
-
"text": "
|
|
1035
|
+
"text": "boolean"
|
|
1036
|
+
},
|
|
1037
|
+
"default": "false",
|
|
1038
|
+
"description": "Expands or collapses the item.",
|
|
1039
|
+
"fieldName": "expanded",
|
|
1040
|
+
"inheritedFrom": {
|
|
1041
|
+
"name": "AccordionItem",
|
|
1042
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
974
1043
|
}
|
|
975
1044
|
},
|
|
976
1045
|
{
|
|
977
|
-
"
|
|
978
|
-
"name": "fileName",
|
|
1046
|
+
"name": "id",
|
|
979
1047
|
"type": {
|
|
980
1048
|
"text": "string"
|
|
981
1049
|
},
|
|
982
|
-
"
|
|
983
|
-
|
|
1050
|
+
"description": "The item ID",
|
|
1051
|
+
"fieldName": "id",
|
|
1052
|
+
"inheritedFrom": {
|
|
1053
|
+
"name": "AccordionItem",
|
|
1054
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
],
|
|
1058
|
+
"members": [
|
|
984
1059
|
{
|
|
985
1060
|
"kind": "field",
|
|
986
|
-
"name": "
|
|
1061
|
+
"name": "headinglevel",
|
|
987
1062
|
"type": {
|
|
988
|
-
"text": "
|
|
1063
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
989
1064
|
},
|
|
990
|
-
"default": "false"
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
"kind": "method",
|
|
994
|
-
"name": "handleClick",
|
|
995
|
-
"privacy": "public",
|
|
996
|
-
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
997
|
-
},
|
|
998
|
-
{
|
|
999
|
-
"kind": "method",
|
|
1000
|
-
"name": "onInputChange",
|
|
1001
1065
|
"privacy": "public",
|
|
1002
|
-
"
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
"description": "The change event from the file input"
|
|
1009
|
-
}
|
|
1010
|
-
],
|
|
1011
|
-
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1012
|
-
},
|
|
1013
|
-
{
|
|
1014
|
-
"kind": "method",
|
|
1015
|
-
"name": "clearSelection",
|
|
1016
|
-
"privacy": "public",
|
|
1017
|
-
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1066
|
+
"default": "2",
|
|
1067
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1068
|
+
"inheritedFrom": {
|
|
1069
|
+
"name": "AccordionItem",
|
|
1070
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1071
|
+
}
|
|
1018
1072
|
},
|
|
1019
1073
|
{
|
|
1020
|
-
"kind": "
|
|
1021
|
-
"name": "
|
|
1074
|
+
"kind": "field",
|
|
1075
|
+
"name": "expanded",
|
|
1076
|
+
"type": {
|
|
1077
|
+
"text": "boolean"
|
|
1078
|
+
},
|
|
1022
1079
|
"privacy": "public",
|
|
1023
|
-
"
|
|
1024
|
-
"
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1080
|
+
"default": "false",
|
|
1081
|
+
"description": "Expands or collapses the item.",
|
|
1082
|
+
"inheritedFrom": {
|
|
1083
|
+
"name": "AccordionItem",
|
|
1084
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1028
1085
|
}
|
|
1029
1086
|
},
|
|
1030
1087
|
{
|
|
1031
|
-
"kind": "
|
|
1032
|
-
"name": "
|
|
1033
|
-
"
|
|
1034
|
-
|
|
1035
|
-
{
|
|
1036
|
-
"name": "title",
|
|
1037
|
-
"type": {
|
|
1038
|
-
"text": "string"
|
|
1039
|
-
},
|
|
1040
|
-
"description": "The error title"
|
|
1041
|
-
},
|
|
1042
|
-
{
|
|
1043
|
-
"name": "message",
|
|
1044
|
-
"type": {
|
|
1045
|
-
"text": "string"
|
|
1046
|
-
},
|
|
1047
|
-
"description": "The error message"
|
|
1048
|
-
}
|
|
1049
|
-
],
|
|
1050
|
-
"description": "Shows an error notification using the unified error handling system"
|
|
1051
|
-
},
|
|
1052
|
-
{
|
|
1053
|
-
"kind": "method",
|
|
1054
|
-
"name": "onFileSelected",
|
|
1055
|
-
"privacy": "protected",
|
|
1056
|
-
"return": {
|
|
1057
|
-
"type": {
|
|
1058
|
-
"text": "void"
|
|
1059
|
-
}
|
|
1088
|
+
"kind": "field",
|
|
1089
|
+
"name": "id",
|
|
1090
|
+
"type": {
|
|
1091
|
+
"text": "string"
|
|
1060
1092
|
},
|
|
1061
|
-
"
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
"description": "The selected file"
|
|
1068
|
-
}
|
|
1069
|
-
],
|
|
1070
|
-
"description": "Abstract method called when a file is selected"
|
|
1093
|
+
"privacy": "public",
|
|
1094
|
+
"description": "The item ID",
|
|
1095
|
+
"inheritedFrom": {
|
|
1096
|
+
"name": "AccordionItem",
|
|
1097
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1098
|
+
}
|
|
1071
1099
|
},
|
|
1072
1100
|
{
|
|
1073
|
-
"kind": "
|
|
1074
|
-
"name": "
|
|
1075
|
-
"privacy": "
|
|
1076
|
-
"
|
|
1077
|
-
"
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
},
|
|
1081
|
-
"description": "Abstract method called when file selection is cleared"
|
|
1101
|
+
"kind": "field",
|
|
1102
|
+
"name": "change",
|
|
1103
|
+
"privacy": "private",
|
|
1104
|
+
"inheritedFrom": {
|
|
1105
|
+
"name": "AccordionItem",
|
|
1106
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1107
|
+
}
|
|
1082
1108
|
},
|
|
1083
1109
|
{
|
|
1084
1110
|
"kind": "field",
|
|
@@ -1192,81 +1218,78 @@
|
|
|
1192
1218
|
}
|
|
1193
1219
|
}
|
|
1194
1220
|
],
|
|
1195
|
-
"
|
|
1196
|
-
{
|
|
1197
|
-
"name": "label",
|
|
1198
|
-
"type": {
|
|
1199
|
-
"text": "string"
|
|
1200
|
-
},
|
|
1201
|
-
"fieldName": "label"
|
|
1202
|
-
},
|
|
1203
|
-
{
|
|
1204
|
-
"name": "accept",
|
|
1205
|
-
"type": {
|
|
1206
|
-
"text": "string"
|
|
1207
|
-
},
|
|
1208
|
-
"default": "''",
|
|
1209
|
-
"fieldName": "accept"
|
|
1210
|
-
},
|
|
1221
|
+
"events": [
|
|
1211
1222
|
{
|
|
1212
|
-
"
|
|
1213
|
-
"
|
|
1214
|
-
"
|
|
1215
|
-
"
|
|
1216
|
-
|
|
1217
|
-
|
|
1223
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1224
|
+
"name": "change",
|
|
1225
|
+
"inheritedFrom": {
|
|
1226
|
+
"name": "AccordionItem",
|
|
1227
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1228
|
+
}
|
|
1218
1229
|
}
|
|
1219
|
-
]
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1230
|
+
]
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"kind": "variable",
|
|
1234
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1235
|
+
"type": {
|
|
1236
|
+
"text": "ShadowRootInit"
|
|
1237
|
+
},
|
|
1238
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
"kind": "variable",
|
|
1242
|
+
"name": "defaultAccordionItemConfig",
|
|
1243
|
+
"type": {
|
|
1244
|
+
"text": "object"
|
|
1245
|
+
},
|
|
1246
|
+
"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}"
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"kind": "variable",
|
|
1250
|
+
"name": "foundationAccordionItem",
|
|
1251
|
+
"description": "The Foundation Accordion Item",
|
|
1252
|
+
"privacy": "public"
|
|
1224
1253
|
}
|
|
1225
1254
|
],
|
|
1226
1255
|
"exports": [
|
|
1227
1256
|
{
|
|
1228
1257
|
"kind": "js",
|
|
1229
|
-
"name": "
|
|
1258
|
+
"name": "AccordionItem",
|
|
1230
1259
|
"declaration": {
|
|
1231
|
-
"name": "
|
|
1232
|
-
"module": "src/
|
|
1260
|
+
"name": "AccordionItem",
|
|
1261
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1233
1262
|
}
|
|
1234
|
-
}
|
|
1235
|
-
]
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
"kind": "javascript-module",
|
|
1239
|
-
"path": "src/_common/icons.ts",
|
|
1240
|
-
"declarations": [
|
|
1263
|
+
},
|
|
1241
1264
|
{
|
|
1242
|
-
"kind": "
|
|
1243
|
-
"name": "
|
|
1244
|
-
"
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
{
|
|
1250
|
-
"name": "fill",
|
|
1251
|
-
"default": "'#879ba6'"
|
|
1252
|
-
}
|
|
1253
|
-
]
|
|
1254
|
-
}
|
|
1255
|
-
],
|
|
1256
|
-
"exports": [
|
|
1265
|
+
"kind": "js",
|
|
1266
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1267
|
+
"declaration": {
|
|
1268
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1269
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1270
|
+
}
|
|
1271
|
+
},
|
|
1257
1272
|
{
|
|
1258
1273
|
"kind": "js",
|
|
1259
|
-
"name": "
|
|
1274
|
+
"name": "defaultAccordionItemConfig",
|
|
1260
1275
|
"declaration": {
|
|
1261
|
-
"name": "
|
|
1262
|
-
"module": "src/
|
|
1276
|
+
"name": "defaultAccordionItemConfig",
|
|
1277
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1278
|
+
}
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"kind": "js",
|
|
1282
|
+
"name": "foundationAccordionItem",
|
|
1283
|
+
"declaration": {
|
|
1284
|
+
"name": "foundationAccordionItem",
|
|
1285
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1263
1286
|
}
|
|
1264
1287
|
}
|
|
1265
1288
|
]
|
|
1266
1289
|
},
|
|
1267
1290
|
{
|
|
1268
1291
|
"kind": "javascript-module",
|
|
1269
|
-
"path": "src/
|
|
1292
|
+
"path": "src/accordion-item/index.ts",
|
|
1270
1293
|
"declarations": [],
|
|
1271
1294
|
"exports": [
|
|
1272
1295
|
{
|
|
@@ -1274,7 +1297,7 @@
|
|
|
1274
1297
|
"name": "*",
|
|
1275
1298
|
"declaration": {
|
|
1276
1299
|
"name": "*",
|
|
1277
|
-
"package": "./
|
|
1300
|
+
"package": "./accordion-item.template"
|
|
1278
1301
|
}
|
|
1279
1302
|
},
|
|
1280
1303
|
{
|
|
@@ -1282,7 +1305,15 @@
|
|
|
1282
1305
|
"name": "*",
|
|
1283
1306
|
"declaration": {
|
|
1284
1307
|
"name": "*",
|
|
1285
|
-
"package": "./
|
|
1308
|
+
"package": "./accordion-item.styles"
|
|
1309
|
+
}
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"kind": "js",
|
|
1313
|
+
"name": "*",
|
|
1314
|
+
"declaration": {
|
|
1315
|
+
"name": "*",
|
|
1316
|
+
"package": "./accordion-item"
|
|
1286
1317
|
}
|
|
1287
1318
|
}
|
|
1288
1319
|
]
|
|
@@ -1848,186 +1879,160 @@
|
|
|
1848
1879
|
},
|
|
1849
1880
|
{
|
|
1850
1881
|
"kind": "javascript-module",
|
|
1851
|
-
"path": "src/
|
|
1882
|
+
"path": "src/_common/base-file-component.ts",
|
|
1852
1883
|
"declarations": [
|
|
1853
1884
|
{
|
|
1854
|
-
"kind": "
|
|
1855
|
-
"
|
|
1856
|
-
"
|
|
1857
|
-
|
|
1858
|
-
"text": "ElementStyles"
|
|
1859
|
-
}
|
|
1860
|
-
},
|
|
1861
|
-
"parameters": [
|
|
1885
|
+
"kind": "class",
|
|
1886
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
1887
|
+
"name": "BaseFileComponent",
|
|
1888
|
+
"members": [
|
|
1862
1889
|
{
|
|
1863
|
-
"
|
|
1890
|
+
"kind": "field",
|
|
1891
|
+
"name": "fileInput",
|
|
1864
1892
|
"type": {
|
|
1865
|
-
"text": "
|
|
1866
|
-
}
|
|
1893
|
+
"text": "HTMLInputElement"
|
|
1894
|
+
},
|
|
1895
|
+
"privacy": "public"
|
|
1867
1896
|
},
|
|
1868
1897
|
{
|
|
1869
|
-
"
|
|
1870
|
-
"
|
|
1871
|
-
"text": "FoundationElementDefinition"
|
|
1872
|
-
}
|
|
1873
|
-
}
|
|
1874
|
-
]
|
|
1875
|
-
}
|
|
1876
|
-
],
|
|
1877
|
-
"exports": [
|
|
1878
|
-
{
|
|
1879
|
-
"kind": "js",
|
|
1880
|
-
"name": "foundationAccordionItemStyles",
|
|
1881
|
-
"declaration": {
|
|
1882
|
-
"name": "foundationAccordionItemStyles",
|
|
1883
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1884
|
-
}
|
|
1885
|
-
}
|
|
1886
|
-
]
|
|
1887
|
-
},
|
|
1888
|
-
{
|
|
1889
|
-
"kind": "javascript-module",
|
|
1890
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1891
|
-
"declarations": [
|
|
1892
|
-
{
|
|
1893
|
-
"kind": "function",
|
|
1894
|
-
"name": "foundationAccordionItemTemplate",
|
|
1895
|
-
"return": {
|
|
1896
|
-
"type": {
|
|
1897
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
1898
|
-
}
|
|
1899
|
-
},
|
|
1900
|
-
"parameters": [
|
|
1901
|
-
{
|
|
1902
|
-
"name": "context",
|
|
1898
|
+
"kind": "field",
|
|
1899
|
+
"name": "selectedFile",
|
|
1903
1900
|
"type": {
|
|
1904
|
-
"text": "
|
|
1905
|
-
}
|
|
1901
|
+
"text": "File | null"
|
|
1902
|
+
},
|
|
1903
|
+
"privacy": "protected",
|
|
1904
|
+
"default": "null"
|
|
1906
1905
|
},
|
|
1907
1906
|
{
|
|
1908
|
-
"
|
|
1907
|
+
"kind": "field",
|
|
1908
|
+
"name": "label",
|
|
1909
1909
|
"type": {
|
|
1910
|
-
"text": "
|
|
1910
|
+
"text": "string"
|
|
1911
1911
|
}
|
|
1912
|
-
}
|
|
1913
|
-
]
|
|
1914
|
-
}
|
|
1915
|
-
],
|
|
1916
|
-
"exports": [
|
|
1917
|
-
{
|
|
1918
|
-
"kind": "js",
|
|
1919
|
-
"name": "foundationAccordionItemTemplate",
|
|
1920
|
-
"declaration": {
|
|
1921
|
-
"name": "foundationAccordionItemTemplate",
|
|
1922
|
-
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1923
|
-
}
|
|
1924
|
-
}
|
|
1925
|
-
]
|
|
1926
|
-
},
|
|
1927
|
-
{
|
|
1928
|
-
"kind": "javascript-module",
|
|
1929
|
-
"path": "src/accordion-item/accordion-item.ts",
|
|
1930
|
-
"declarations": [
|
|
1931
|
-
{
|
|
1932
|
-
"kind": "class",
|
|
1933
|
-
"description": "",
|
|
1934
|
-
"name": "AccordionItem",
|
|
1935
|
-
"superclass": {
|
|
1936
|
-
"name": "FASTAccordionItem",
|
|
1937
|
-
"package": "@microsoft/fast-components"
|
|
1938
|
-
},
|
|
1939
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1940
|
-
"customElement": true,
|
|
1941
|
-
"attributes": [
|
|
1912
|
+
},
|
|
1942
1913
|
{
|
|
1943
|
-
"
|
|
1914
|
+
"kind": "field",
|
|
1915
|
+
"name": "accept",
|
|
1944
1916
|
"type": {
|
|
1945
|
-
"text": "
|
|
1917
|
+
"text": "string"
|
|
1946
1918
|
},
|
|
1947
|
-
"default": "
|
|
1948
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1949
|
-
"fieldName": "headinglevel",
|
|
1950
|
-
"inheritedFrom": {
|
|
1951
|
-
"name": "AccordionItem",
|
|
1952
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1953
|
-
}
|
|
1919
|
+
"default": "''"
|
|
1954
1920
|
},
|
|
1955
1921
|
{
|
|
1956
|
-
"
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
"
|
|
1960
|
-
|
|
1961
|
-
"fieldName": "expanded",
|
|
1962
|
-
"inheritedFrom": {
|
|
1963
|
-
"name": "AccordionItem",
|
|
1964
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1922
|
+
"kind": "field",
|
|
1923
|
+
"name": "fileSizeLimitBytes",
|
|
1924
|
+
"default": "10_485_760",
|
|
1925
|
+
"type": {
|
|
1926
|
+
"text": "number"
|
|
1965
1927
|
}
|
|
1966
1928
|
},
|
|
1967
1929
|
{
|
|
1968
|
-
"
|
|
1930
|
+
"kind": "field",
|
|
1931
|
+
"name": "fileName",
|
|
1969
1932
|
"type": {
|
|
1970
1933
|
"text": "string"
|
|
1971
1934
|
},
|
|
1972
|
-
"
|
|
1973
|
-
|
|
1974
|
-
"inheritedFrom": {
|
|
1975
|
-
"name": "AccordionItem",
|
|
1976
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1977
|
-
}
|
|
1978
|
-
}
|
|
1979
|
-
],
|
|
1980
|
-
"members": [
|
|
1935
|
+
"default": "''"
|
|
1936
|
+
},
|
|
1981
1937
|
{
|
|
1982
1938
|
"kind": "field",
|
|
1983
|
-
"name": "
|
|
1939
|
+
"name": "isProcessing",
|
|
1984
1940
|
"type": {
|
|
1985
|
-
"text": "
|
|
1941
|
+
"text": "boolean"
|
|
1986
1942
|
},
|
|
1943
|
+
"default": "false"
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
"kind": "method",
|
|
1947
|
+
"name": "handleClick",
|
|
1987
1948
|
"privacy": "public",
|
|
1988
|
-
"
|
|
1989
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1990
|
-
"inheritedFrom": {
|
|
1991
|
-
"name": "AccordionItem",
|
|
1992
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1993
|
-
}
|
|
1949
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1994
1950
|
},
|
|
1995
1951
|
{
|
|
1996
|
-
"kind": "
|
|
1997
|
-
"name": "
|
|
1998
|
-
"type": {
|
|
1999
|
-
"text": "boolean"
|
|
2000
|
-
},
|
|
1952
|
+
"kind": "method",
|
|
1953
|
+
"name": "onInputChange",
|
|
2001
1954
|
"privacy": "public",
|
|
2002
|
-
"
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
1955
|
+
"parameters": [
|
|
1956
|
+
{
|
|
1957
|
+
"name": "e",
|
|
1958
|
+
"type": {
|
|
1959
|
+
"text": "Event"
|
|
1960
|
+
},
|
|
1961
|
+
"description": "The change event from the file input"
|
|
1962
|
+
}
|
|
1963
|
+
],
|
|
1964
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
2008
1965
|
},
|
|
2009
1966
|
{
|
|
2010
|
-
"kind": "
|
|
2011
|
-
"name": "
|
|
2012
|
-
"type": {
|
|
2013
|
-
"text": "string"
|
|
2014
|
-
},
|
|
1967
|
+
"kind": "method",
|
|
1968
|
+
"name": "clearSelection",
|
|
2015
1969
|
"privacy": "public",
|
|
2016
|
-
"description": "
|
|
2017
|
-
"inheritedFrom": {
|
|
2018
|
-
"name": "AccordionItem",
|
|
2019
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2020
|
-
}
|
|
1970
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
2021
1971
|
},
|
|
2022
1972
|
{
|
|
2023
|
-
"kind": "
|
|
2024
|
-
"name": "
|
|
2025
|
-
"privacy": "
|
|
2026
|
-
"
|
|
2027
|
-
|
|
2028
|
-
"
|
|
1973
|
+
"kind": "method",
|
|
1974
|
+
"name": "getSelectedFile",
|
|
1975
|
+
"privacy": "public",
|
|
1976
|
+
"description": "Gets the currently selected file object",
|
|
1977
|
+
"return": {
|
|
1978
|
+
"type": {
|
|
1979
|
+
"text": ""
|
|
1980
|
+
}
|
|
2029
1981
|
}
|
|
2030
1982
|
},
|
|
1983
|
+
{
|
|
1984
|
+
"kind": "method",
|
|
1985
|
+
"name": "showError",
|
|
1986
|
+
"privacy": "protected",
|
|
1987
|
+
"parameters": [
|
|
1988
|
+
{
|
|
1989
|
+
"name": "title",
|
|
1990
|
+
"type": {
|
|
1991
|
+
"text": "string"
|
|
1992
|
+
},
|
|
1993
|
+
"description": "The error title"
|
|
1994
|
+
},
|
|
1995
|
+
{
|
|
1996
|
+
"name": "message",
|
|
1997
|
+
"type": {
|
|
1998
|
+
"text": "string"
|
|
1999
|
+
},
|
|
2000
|
+
"description": "The error message"
|
|
2001
|
+
}
|
|
2002
|
+
],
|
|
2003
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
2004
|
+
},
|
|
2005
|
+
{
|
|
2006
|
+
"kind": "method",
|
|
2007
|
+
"name": "onFileSelected",
|
|
2008
|
+
"privacy": "protected",
|
|
2009
|
+
"return": {
|
|
2010
|
+
"type": {
|
|
2011
|
+
"text": "void"
|
|
2012
|
+
}
|
|
2013
|
+
},
|
|
2014
|
+
"parameters": [
|
|
2015
|
+
{
|
|
2016
|
+
"name": "files",
|
|
2017
|
+
"type": {
|
|
2018
|
+
"text": "File[]"
|
|
2019
|
+
},
|
|
2020
|
+
"description": "The selected file"
|
|
2021
|
+
}
|
|
2022
|
+
],
|
|
2023
|
+
"description": "Abstract method called when a file is selected"
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
"kind": "method",
|
|
2027
|
+
"name": "onFileCleared",
|
|
2028
|
+
"privacy": "protected",
|
|
2029
|
+
"return": {
|
|
2030
|
+
"type": {
|
|
2031
|
+
"text": "void"
|
|
2032
|
+
}
|
|
2033
|
+
},
|
|
2034
|
+
"description": "Abstract method called when file selection is cleared"
|
|
2035
|
+
},
|
|
2031
2036
|
{
|
|
2032
2037
|
"kind": "field",
|
|
2033
2038
|
"name": "_presentation",
|
|
@@ -2140,78 +2145,81 @@
|
|
|
2140
2145
|
}
|
|
2141
2146
|
}
|
|
2142
2147
|
],
|
|
2143
|
-
"
|
|
2148
|
+
"attributes": [
|
|
2144
2149
|
{
|
|
2145
|
-
"
|
|
2146
|
-
"
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2150
|
+
"name": "label",
|
|
2151
|
+
"type": {
|
|
2152
|
+
"text": "string"
|
|
2153
|
+
},
|
|
2154
|
+
"fieldName": "label"
|
|
2155
|
+
},
|
|
2156
|
+
{
|
|
2157
|
+
"name": "accept",
|
|
2158
|
+
"type": {
|
|
2159
|
+
"text": "string"
|
|
2160
|
+
},
|
|
2161
|
+
"default": "''",
|
|
2162
|
+
"fieldName": "accept"
|
|
2163
|
+
},
|
|
2164
|
+
{
|
|
2165
|
+
"name": "file-size-limit-bytes",
|
|
2166
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
2167
|
+
"resolveInitializer": {
|
|
2168
|
+
"module": "src/_common/base-file-component.ts"
|
|
2169
|
+
},
|
|
2170
|
+
"fieldName": "fileSizeLimitBytes"
|
|
2151
2171
|
}
|
|
2152
|
-
]
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
"type": {
|
|
2158
|
-
"text": "ShadowRootInit"
|
|
2159
|
-
},
|
|
2160
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2161
|
-
},
|
|
2162
|
-
{
|
|
2163
|
-
"kind": "variable",
|
|
2164
|
-
"name": "defaultAccordionItemConfig",
|
|
2165
|
-
"type": {
|
|
2166
|
-
"text": "object"
|
|
2167
|
-
},
|
|
2168
|
-
"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}"
|
|
2169
|
-
},
|
|
2170
|
-
{
|
|
2171
|
-
"kind": "variable",
|
|
2172
|
-
"name": "foundationAccordionItem",
|
|
2173
|
-
"description": "The Foundation Accordion Item",
|
|
2174
|
-
"privacy": "public"
|
|
2172
|
+
],
|
|
2173
|
+
"superclass": {
|
|
2174
|
+
"name": "FoundationElement",
|
|
2175
|
+
"package": "@microsoft/fast-foundation"
|
|
2176
|
+
}
|
|
2175
2177
|
}
|
|
2176
2178
|
],
|
|
2177
2179
|
"exports": [
|
|
2178
2180
|
{
|
|
2179
2181
|
"kind": "js",
|
|
2180
|
-
"name": "
|
|
2181
|
-
"declaration": {
|
|
2182
|
-
"name": "AccordionItem",
|
|
2183
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2184
|
-
}
|
|
2185
|
-
},
|
|
2186
|
-
{
|
|
2187
|
-
"kind": "js",
|
|
2188
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2182
|
+
"name": "BaseFileComponent",
|
|
2189
2183
|
"declaration": {
|
|
2190
|
-
"name": "
|
|
2191
|
-
"module": "src/
|
|
2184
|
+
"name": "BaseFileComponent",
|
|
2185
|
+
"module": "src/_common/base-file-component.ts"
|
|
2192
2186
|
}
|
|
2193
|
-
}
|
|
2187
|
+
}
|
|
2188
|
+
]
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
"kind": "javascript-module",
|
|
2192
|
+
"path": "src/_common/icons.ts",
|
|
2193
|
+
"declarations": [
|
|
2194
2194
|
{
|
|
2195
|
-
"kind": "
|
|
2196
|
-
"name": "
|
|
2197
|
-
"
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2195
|
+
"kind": "function",
|
|
2196
|
+
"name": "closeIcon",
|
|
2197
|
+
"parameters": [
|
|
2198
|
+
{
|
|
2199
|
+
"name": "slot",
|
|
2200
|
+
"default": "'start'"
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"name": "fill",
|
|
2204
|
+
"default": "'#879ba6'"
|
|
2205
|
+
}
|
|
2206
|
+
]
|
|
2207
|
+
}
|
|
2208
|
+
],
|
|
2209
|
+
"exports": [
|
|
2202
2210
|
{
|
|
2203
2211
|
"kind": "js",
|
|
2204
|
-
"name": "
|
|
2212
|
+
"name": "closeIcon",
|
|
2205
2213
|
"declaration": {
|
|
2206
|
-
"name": "
|
|
2207
|
-
"module": "src/
|
|
2214
|
+
"name": "closeIcon",
|
|
2215
|
+
"module": "src/_common/icons.ts"
|
|
2208
2216
|
}
|
|
2209
2217
|
}
|
|
2210
2218
|
]
|
|
2211
2219
|
},
|
|
2212
2220
|
{
|
|
2213
2221
|
"kind": "javascript-module",
|
|
2214
|
-
"path": "src/
|
|
2222
|
+
"path": "src/_common/index.ts",
|
|
2215
2223
|
"declarations": [],
|
|
2216
2224
|
"exports": [
|
|
2217
2225
|
{
|
|
@@ -2219,15 +2227,7 @@
|
|
|
2219
2227
|
"name": "*",
|
|
2220
2228
|
"declaration": {
|
|
2221
2229
|
"name": "*",
|
|
2222
|
-
"package": "./
|
|
2223
|
-
}
|
|
2224
|
-
},
|
|
2225
|
-
{
|
|
2226
|
-
"kind": "js",
|
|
2227
|
-
"name": "*",
|
|
2228
|
-
"declaration": {
|
|
2229
|
-
"name": "*",
|
|
2230
|
-
"package": "./accordion-item.styles"
|
|
2230
|
+
"package": "./base-file-component"
|
|
2231
2231
|
}
|
|
2232
2232
|
},
|
|
2233
2233
|
{
|
|
@@ -2235,7 +2235,7 @@
|
|
|
2235
2235
|
"name": "*",
|
|
2236
2236
|
"declaration": {
|
|
2237
2237
|
"name": "*",
|
|
2238
|
-
"package": "./
|
|
2238
|
+
"package": "./icons"
|
|
2239
2239
|
}
|
|
2240
2240
|
}
|
|
2241
2241
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-ui",
|
|
3
3
|
"description": "Genesis Foundation UI",
|
|
4
|
-
"version": "14.409.0-FUI-2495.
|
|
4
|
+
"version": "14.409.0-FUI-2495.8",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -85,13 +85,13 @@
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@genesislcap/foundation-testing": "14.409.0-FUI-2495.
|
|
89
|
-
"@genesislcap/genx": "14.409.0-FUI-2495.
|
|
90
|
-
"@genesislcap/rollup-builder": "14.409.0-FUI-2495.
|
|
91
|
-
"@genesislcap/ts-builder": "14.409.0-FUI-2495.
|
|
92
|
-
"@genesislcap/uvu-playwright-builder": "14.409.0-FUI-2495.
|
|
93
|
-
"@genesislcap/vite-builder": "14.409.0-FUI-2495.
|
|
94
|
-
"@genesislcap/webpack-builder": "14.409.0-FUI-2495.
|
|
88
|
+
"@genesislcap/foundation-testing": "14.409.0-FUI-2495.8",
|
|
89
|
+
"@genesislcap/genx": "14.409.0-FUI-2495.8",
|
|
90
|
+
"@genesislcap/rollup-builder": "14.409.0-FUI-2495.8",
|
|
91
|
+
"@genesislcap/ts-builder": "14.409.0-FUI-2495.8",
|
|
92
|
+
"@genesislcap/uvu-playwright-builder": "14.409.0-FUI-2495.8",
|
|
93
|
+
"@genesislcap/vite-builder": "14.409.0-FUI-2495.8",
|
|
94
|
+
"@genesislcap/webpack-builder": "14.409.0-FUI-2495.8",
|
|
95
95
|
"copyfiles": "^2.4.1"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
@@ -100,16 +100,16 @@
|
|
|
100
100
|
"@fortawesome/free-regular-svg-icons": "^6.2.1",
|
|
101
101
|
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
|
102
102
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
|
|
103
|
-
"@genesislcap/expression-builder": "14.409.0-FUI-2495.
|
|
104
|
-
"@genesislcap/foundation-ai": "14.409.0-FUI-2495.
|
|
105
|
-
"@genesislcap/foundation-comms": "14.409.0-FUI-2495.
|
|
106
|
-
"@genesislcap/foundation-criteria": "14.409.0-FUI-2495.
|
|
107
|
-
"@genesislcap/foundation-errors": "14.409.0-FUI-2495.
|
|
108
|
-
"@genesislcap/foundation-events": "14.409.0-FUI-2495.
|
|
109
|
-
"@genesislcap/foundation-logger": "14.409.0-FUI-2495.
|
|
110
|
-
"@genesislcap/foundation-notifications": "14.409.0-FUI-2495.
|
|
111
|
-
"@genesislcap/foundation-user": "14.409.0-FUI-2495.
|
|
112
|
-
"@genesislcap/foundation-utils": "14.409.0-FUI-2495.
|
|
103
|
+
"@genesislcap/expression-builder": "14.409.0-FUI-2495.8",
|
|
104
|
+
"@genesislcap/foundation-ai": "14.409.0-FUI-2495.8",
|
|
105
|
+
"@genesislcap/foundation-comms": "14.409.0-FUI-2495.8",
|
|
106
|
+
"@genesislcap/foundation-criteria": "14.409.0-FUI-2495.8",
|
|
107
|
+
"@genesislcap/foundation-errors": "14.409.0-FUI-2495.8",
|
|
108
|
+
"@genesislcap/foundation-events": "14.409.0-FUI-2495.8",
|
|
109
|
+
"@genesislcap/foundation-logger": "14.409.0-FUI-2495.8",
|
|
110
|
+
"@genesislcap/foundation-notifications": "14.409.0-FUI-2495.8",
|
|
111
|
+
"@genesislcap/foundation-user": "14.409.0-FUI-2495.8",
|
|
112
|
+
"@genesislcap/foundation-utils": "14.409.0-FUI-2495.8",
|
|
113
113
|
"@microsoft/fast-colors": "5.3.1",
|
|
114
114
|
"@microsoft/fast-components": "2.30.6",
|
|
115
115
|
"@microsoft/fast-element": "1.14.0",
|
|
@@ -131,5 +131,5 @@
|
|
|
131
131
|
"access": "public"
|
|
132
132
|
},
|
|
133
133
|
"customElements": "dist/custom-elements.json",
|
|
134
|
-
"gitHead": "
|
|
134
|
+
"gitHead": "812966c213d406bf4a31c74a54287ed1f98539c8"
|
|
135
135
|
}
|