@genesislcap/foundation-zero 14.109.0 → 14.109.1-alpha-cf055218219.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.
@@ -839,194 +839,6 @@
839
839
  }
840
840
  ]
841
841
  },
842
- {
843
- "kind": "javascript-module",
844
- "path": "src/accordion/accordion.stories.ts",
845
- "declarations": [
846
- {
847
- "kind": "variable",
848
- "name": "meta",
849
- "type": {
850
- "text": "Meta"
851
- },
852
- "default": "{\n title: 'Accordion',\n component: 'zero-accordion',\n}"
853
- },
854
- {
855
- "kind": "variable",
856
- "name": "Primary",
857
- "type": {
858
- "text": "StoryObj"
859
- },
860
- "default": "{\n render: () => html`\n <zero-accordion>\n <zero-accordion-item slot=\"item\" id=\"accordion-1\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </zero-accordion-item>\n </zero-accordion>\n `,\n}"
861
- }
862
- ],
863
- "exports": [
864
- {
865
- "kind": "js",
866
- "name": "default",
867
- "declaration": {
868
- "name": "meta",
869
- "module": "src/accordion/accordion.stories.ts"
870
- }
871
- },
872
- {
873
- "kind": "js",
874
- "name": "Primary",
875
- "declaration": {
876
- "name": "Primary",
877
- "module": "src/accordion/accordion.stories.ts"
878
- }
879
- }
880
- ]
881
- },
882
- {
883
- "kind": "javascript-module",
884
- "path": "src/accordion/accordion.styles.ts",
885
- "declarations": [
886
- {
887
- "kind": "function",
888
- "name": "zeroAccordionStyles",
889
- "return": {
890
- "type": {
891
- "text": "ElementStyles"
892
- }
893
- },
894
- "parameters": [
895
- {
896
- "name": "context",
897
- "type": {
898
- "text": "ElementDefinitionContext"
899
- }
900
- },
901
- {
902
- "name": "definition",
903
- "type": {
904
- "text": "FoundationElementDefinition"
905
- }
906
- }
907
- ]
908
- }
909
- ],
910
- "exports": [
911
- {
912
- "kind": "js",
913
- "name": "zeroAccordionStyles",
914
- "declaration": {
915
- "name": "zeroAccordionStyles",
916
- "module": "src/accordion/accordion.styles.ts"
917
- }
918
- }
919
- ]
920
- },
921
- {
922
- "kind": "javascript-module",
923
- "path": "src/accordion/accordion.template.ts",
924
- "declarations": [
925
- {
926
- "kind": "function",
927
- "name": "zeroAccordionTemplate",
928
- "return": {
929
- "type": {
930
- "text": "ViewTemplate<Accordion>"
931
- }
932
- },
933
- "parameters": [
934
- {
935
- "name": "context",
936
- "type": {
937
- "text": "ElementDefinitionContext"
938
- }
939
- },
940
- {
941
- "name": "definition",
942
- "type": {
943
- "text": "FoundationElementDefinition"
944
- }
945
- }
946
- ]
947
- }
948
- ],
949
- "exports": [
950
- {
951
- "kind": "js",
952
- "name": "zeroAccordionTemplate",
953
- "declaration": {
954
- "name": "zeroAccordionTemplate",
955
- "module": "src/accordion/accordion.template.ts"
956
- }
957
- }
958
- ]
959
- },
960
- {
961
- "kind": "javascript-module",
962
- "path": "src/accordion/accordion.ts",
963
- "declarations": [
964
- {
965
- "kind": "class",
966
- "description": "",
967
- "name": "Accordion",
968
- "superclass": {
969
- "name": "FoundationAccordion",
970
- "package": "@genesislcap/foundation-ui"
971
- },
972
- "tagName": "%%prefix%%-card",
973
- "customElement": true
974
- },
975
- {
976
- "kind": "variable",
977
- "name": "zeroAccordion"
978
- }
979
- ],
980
- "exports": [
981
- {
982
- "kind": "js",
983
- "name": "Accordion",
984
- "declaration": {
985
- "name": "Accordion",
986
- "module": "src/accordion/accordion.ts"
987
- }
988
- },
989
- {
990
- "kind": "js",
991
- "name": "zeroAccordion",
992
- "declaration": {
993
- "name": "zeroAccordion",
994
- "module": "src/accordion/accordion.ts"
995
- }
996
- }
997
- ]
998
- },
999
- {
1000
- "kind": "javascript-module",
1001
- "path": "src/accordion/index.ts",
1002
- "declarations": [],
1003
- "exports": [
1004
- {
1005
- "kind": "js",
1006
- "name": "*",
1007
- "declaration": {
1008
- "name": "*",
1009
- "package": "./accordion"
1010
- }
1011
- },
1012
- {
1013
- "kind": "js",
1014
- "name": "*",
1015
- "declaration": {
1016
- "name": "*",
1017
- "package": "./accordion.styles"
1018
- }
1019
- },
1020
- {
1021
- "kind": "js",
1022
- "name": "*",
1023
- "declaration": {
1024
- "name": "*",
1025
- "package": "./accordion.template"
1026
- }
1027
- }
1028
- ]
1029
- },
1030
842
  {
1031
843
  "kind": "javascript-module",
1032
844
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1389,7 +1201,7 @@
1389
1201
  },
1390
1202
  {
1391
1203
  "kind": "javascript-module",
1392
- "path": "src/actions-menu/actions-menu.stories.ts",
1204
+ "path": "src/accordion/accordion.stories.ts",
1393
1205
  "declarations": [
1394
1206
  {
1395
1207
  "kind": "variable",
@@ -1397,23 +1209,15 @@
1397
1209
  "type": {
1398
1210
  "text": "Meta"
1399
1211
  },
1400
- "default": "{\n title: 'Actions Menu',\n component: 'zero-actions-menu',\n}"
1401
- },
1402
- {
1403
- "kind": "variable",
1404
- "name": "Horizontal",
1405
- "type": {
1406
- "text": "StoryObj"
1407
- },
1408
- "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Horizontal Actions',\n },\n render: (args) => html`\n <div style=\"${horizontalStyle}\">\n <zero-actions-menu\n name=\"${args.actionsOpenerText}\"\n .actions=${args.actions}\n ></zero-actions-menu>\n </div>\n `,\n}"
1212
+ "default": "{\n title: 'Accordion',\n component: 'zero-accordion',\n}"
1409
1213
  },
1410
1214
  {
1411
1215
  "kind": "variable",
1412
- "name": "Vertical",
1216
+ "name": "Primary",
1413
1217
  "type": {
1414
1218
  "text": "StoryObj"
1415
1219
  },
1416
- "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Vertical Actions',\n },\n render: ({ actionsOpenerText, actions }) => html`\n <div style=\"${verticalStyle}\">\n <zero-actions-menu\n name=\"${actionsOpenerText}\"\n .actions=${actions}\n is-vertical\n ></zero-actions-menu>\n </div>\n `,\n}"
1220
+ "default": "{\n render: () => html`\n <zero-accordion>\n <zero-accordion-item slot=\"item\" id=\"accordion-1\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </zero-accordion-item>\n </zero-accordion>\n `,\n}"
1417
1221
  }
1418
1222
  ],
1419
1223
  "exports": [
@@ -1422,34 +1226,26 @@
1422
1226
  "name": "default",
1423
1227
  "declaration": {
1424
1228
  "name": "meta",
1425
- "module": "src/actions-menu/actions-menu.stories.ts"
1426
- }
1427
- },
1428
- {
1429
- "kind": "js",
1430
- "name": "Horizontal",
1431
- "declaration": {
1432
- "name": "Horizontal",
1433
- "module": "src/actions-menu/actions-menu.stories.ts"
1229
+ "module": "src/accordion/accordion.stories.ts"
1434
1230
  }
1435
1231
  },
1436
1232
  {
1437
1233
  "kind": "js",
1438
- "name": "Vertical",
1234
+ "name": "Primary",
1439
1235
  "declaration": {
1440
- "name": "Vertical",
1441
- "module": "src/actions-menu/actions-menu.stories.ts"
1236
+ "name": "Primary",
1237
+ "module": "src/accordion/accordion.stories.ts"
1442
1238
  }
1443
1239
  }
1444
1240
  ]
1445
1241
  },
1446
1242
  {
1447
1243
  "kind": "javascript-module",
1448
- "path": "src/actions-menu/actions-menu.styles.ts",
1244
+ "path": "src/accordion/accordion.styles.ts",
1449
1245
  "declarations": [
1450
1246
  {
1451
1247
  "kind": "function",
1452
- "name": "zeroActionsMenuStyles",
1248
+ "name": "zeroAccordionStyles",
1453
1249
  "return": {
1454
1250
  "type": {
1455
1251
  "text": "ElementStyles"
@@ -1474,38 +1270,242 @@
1474
1270
  "exports": [
1475
1271
  {
1476
1272
  "kind": "js",
1477
- "name": "zeroActionsMenuStyles",
1273
+ "name": "zeroAccordionStyles",
1478
1274
  "declaration": {
1479
- "name": "zeroActionsMenuStyles",
1480
- "module": "src/actions-menu/actions-menu.styles.ts"
1275
+ "name": "zeroAccordionStyles",
1276
+ "module": "src/accordion/accordion.styles.ts"
1481
1277
  }
1482
1278
  }
1483
1279
  ]
1484
1280
  },
1485
1281
  {
1486
1282
  "kind": "javascript-module",
1487
- "path": "src/actions-menu/actions-menu.ts",
1283
+ "path": "src/accordion/accordion.template.ts",
1488
1284
  "declarations": [
1489
1285
  {
1490
- "kind": "class",
1491
- "description": "",
1492
- "name": "ActionsMenu",
1493
- "superclass": {
1494
- "name": "FoundationActionsMenu",
1495
- "package": "@genesislcap/foundation-ui"
1286
+ "kind": "function",
1287
+ "name": "zeroAccordionTemplate",
1288
+ "return": {
1289
+ "type": {
1290
+ "text": "ViewTemplate<Accordion>"
1291
+ }
1496
1292
  },
1497
- "tagName": "%%prefix%%-actions-menu",
1498
- "customElement": true,
1499
- "attributes": [
1293
+ "parameters": [
1500
1294
  {
1501
- "name": "is-vertical",
1295
+ "name": "context",
1502
1296
  "type": {
1503
- "text": "boolean"
1504
- },
1505
- "default": "false",
1506
- "fieldName": "isVertical",
1507
- "inheritedFrom": {
1508
- "name": "ActionsMenu",
1297
+ "text": "ElementDefinitionContext"
1298
+ }
1299
+ },
1300
+ {
1301
+ "name": "definition",
1302
+ "type": {
1303
+ "text": "FoundationElementDefinition"
1304
+ }
1305
+ }
1306
+ ]
1307
+ }
1308
+ ],
1309
+ "exports": [
1310
+ {
1311
+ "kind": "js",
1312
+ "name": "zeroAccordionTemplate",
1313
+ "declaration": {
1314
+ "name": "zeroAccordionTemplate",
1315
+ "module": "src/accordion/accordion.template.ts"
1316
+ }
1317
+ }
1318
+ ]
1319
+ },
1320
+ {
1321
+ "kind": "javascript-module",
1322
+ "path": "src/accordion/accordion.ts",
1323
+ "declarations": [
1324
+ {
1325
+ "kind": "class",
1326
+ "description": "",
1327
+ "name": "Accordion",
1328
+ "superclass": {
1329
+ "name": "FoundationAccordion",
1330
+ "package": "@genesislcap/foundation-ui"
1331
+ },
1332
+ "tagName": "%%prefix%%-card",
1333
+ "customElement": true
1334
+ },
1335
+ {
1336
+ "kind": "variable",
1337
+ "name": "zeroAccordion"
1338
+ }
1339
+ ],
1340
+ "exports": [
1341
+ {
1342
+ "kind": "js",
1343
+ "name": "Accordion",
1344
+ "declaration": {
1345
+ "name": "Accordion",
1346
+ "module": "src/accordion/accordion.ts"
1347
+ }
1348
+ },
1349
+ {
1350
+ "kind": "js",
1351
+ "name": "zeroAccordion",
1352
+ "declaration": {
1353
+ "name": "zeroAccordion",
1354
+ "module": "src/accordion/accordion.ts"
1355
+ }
1356
+ }
1357
+ ]
1358
+ },
1359
+ {
1360
+ "kind": "javascript-module",
1361
+ "path": "src/accordion/index.ts",
1362
+ "declarations": [],
1363
+ "exports": [
1364
+ {
1365
+ "kind": "js",
1366
+ "name": "*",
1367
+ "declaration": {
1368
+ "name": "*",
1369
+ "package": "./accordion"
1370
+ }
1371
+ },
1372
+ {
1373
+ "kind": "js",
1374
+ "name": "*",
1375
+ "declaration": {
1376
+ "name": "*",
1377
+ "package": "./accordion.styles"
1378
+ }
1379
+ },
1380
+ {
1381
+ "kind": "js",
1382
+ "name": "*",
1383
+ "declaration": {
1384
+ "name": "*",
1385
+ "package": "./accordion.template"
1386
+ }
1387
+ }
1388
+ ]
1389
+ },
1390
+ {
1391
+ "kind": "javascript-module",
1392
+ "path": "src/actions-menu/actions-menu.stories.ts",
1393
+ "declarations": [
1394
+ {
1395
+ "kind": "variable",
1396
+ "name": "meta",
1397
+ "type": {
1398
+ "text": "Meta"
1399
+ },
1400
+ "default": "{\n title: 'Actions Menu',\n component: 'zero-actions-menu',\n}"
1401
+ },
1402
+ {
1403
+ "kind": "variable",
1404
+ "name": "Horizontal",
1405
+ "type": {
1406
+ "text": "StoryObj"
1407
+ },
1408
+ "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Horizontal Actions',\n },\n render: (args) => html`\n <div style=\"${horizontalStyle}\">\n <zero-actions-menu\n name=\"${args.actionsOpenerText}\"\n .actions=${args.actions}\n ></zero-actions-menu>\n </div>\n `,\n}"
1409
+ },
1410
+ {
1411
+ "kind": "variable",
1412
+ "name": "Vertical",
1413
+ "type": {
1414
+ "text": "StoryObj"
1415
+ },
1416
+ "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Vertical Actions',\n },\n render: ({ actionsOpenerText, actions }) => html`\n <div style=\"${verticalStyle}\">\n <zero-actions-menu\n name=\"${actionsOpenerText}\"\n .actions=${actions}\n is-vertical\n ></zero-actions-menu>\n </div>\n `,\n}"
1417
+ }
1418
+ ],
1419
+ "exports": [
1420
+ {
1421
+ "kind": "js",
1422
+ "name": "default",
1423
+ "declaration": {
1424
+ "name": "meta",
1425
+ "module": "src/actions-menu/actions-menu.stories.ts"
1426
+ }
1427
+ },
1428
+ {
1429
+ "kind": "js",
1430
+ "name": "Horizontal",
1431
+ "declaration": {
1432
+ "name": "Horizontal",
1433
+ "module": "src/actions-menu/actions-menu.stories.ts"
1434
+ }
1435
+ },
1436
+ {
1437
+ "kind": "js",
1438
+ "name": "Vertical",
1439
+ "declaration": {
1440
+ "name": "Vertical",
1441
+ "module": "src/actions-menu/actions-menu.stories.ts"
1442
+ }
1443
+ }
1444
+ ]
1445
+ },
1446
+ {
1447
+ "kind": "javascript-module",
1448
+ "path": "src/actions-menu/actions-menu.styles.ts",
1449
+ "declarations": [
1450
+ {
1451
+ "kind": "function",
1452
+ "name": "zeroActionsMenuStyles",
1453
+ "return": {
1454
+ "type": {
1455
+ "text": "ElementStyles"
1456
+ }
1457
+ },
1458
+ "parameters": [
1459
+ {
1460
+ "name": "context",
1461
+ "type": {
1462
+ "text": "ElementDefinitionContext"
1463
+ }
1464
+ },
1465
+ {
1466
+ "name": "definition",
1467
+ "type": {
1468
+ "text": "FoundationElementDefinition"
1469
+ }
1470
+ }
1471
+ ]
1472
+ }
1473
+ ],
1474
+ "exports": [
1475
+ {
1476
+ "kind": "js",
1477
+ "name": "zeroActionsMenuStyles",
1478
+ "declaration": {
1479
+ "name": "zeroActionsMenuStyles",
1480
+ "module": "src/actions-menu/actions-menu.styles.ts"
1481
+ }
1482
+ }
1483
+ ]
1484
+ },
1485
+ {
1486
+ "kind": "javascript-module",
1487
+ "path": "src/actions-menu/actions-menu.ts",
1488
+ "declarations": [
1489
+ {
1490
+ "kind": "class",
1491
+ "description": "",
1492
+ "name": "ActionsMenu",
1493
+ "superclass": {
1494
+ "name": "FoundationActionsMenu",
1495
+ "package": "@genesislcap/foundation-ui"
1496
+ },
1497
+ "tagName": "%%prefix%%-actions-menu",
1498
+ "customElement": true,
1499
+ "attributes": [
1500
+ {
1501
+ "name": "is-vertical",
1502
+ "type": {
1503
+ "text": "boolean"
1504
+ },
1505
+ "default": "false",
1506
+ "fieldName": "isVertical",
1507
+ "inheritedFrom": {
1508
+ "name": "ActionsMenu",
1509
1509
  "module": "src/actions-menu/actions-menu.ts"
1510
1510
  }
1511
1511
  },
@@ -12969,7 +12969,7 @@
12969
12969
  },
12970
12970
  {
12971
12971
  "kind": "javascript-module",
12972
- "path": "src/file-upload/file-upload.stories.ts",
12972
+ "path": "src/error-dialog/error-dialog.stories.ts",
12973
12973
  "declarations": [
12974
12974
  {
12975
12975
  "kind": "variable",
@@ -12977,7 +12977,7 @@
12977
12977
  "type": {
12978
12978
  "text": "Meta"
12979
12979
  },
12980
- "default": "{\n title: 'File Upload',\n component: 'zero-file-upload',\n}"
12980
+ "default": "{\n title: 'Error Dialog',\n component: 'zero-error-dialog',\n}"
12981
12981
  },
12982
12982
  {
12983
12983
  "kind": "variable",
@@ -12985,7 +12985,7 @@
12985
12985
  "type": {
12986
12986
  "text": "StoryObj"
12987
12987
  },
12988
- "default": "{\n render: () => html`\n <div style=\"min-height: 300px;\">\n <zero-file-upload label=\"Select Files\"></zero-file-upload>\n </div>\n `,\n}"
12988
+ "default": "{\n args: {\n errorText:\n 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet',\n notifyText:\n 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet',\n },\n render: ({ errorText, notifyText }) => html`\n <zero-button @click=\"${() => showDialog(errorText)}\">Show Zero Dialog</zero-button>\n <zero-button @click=\"${() => showDialogNotify(notifyText)}\">\n Show Zero Dialog - Notification\n </zero-button>\n <div id=\"error-dialog-container\"></div>\n `,\n}"
12989
12989
  }
12990
12990
  ],
12991
12991
  "exports": [
@@ -12994,7 +12994,7 @@
12994
12994
  "name": "default",
12995
12995
  "declaration": {
12996
12996
  "name": "meta",
12997
- "module": "src/file-upload/file-upload.stories.ts"
12997
+ "module": "src/error-dialog/error-dialog.stories.ts"
12998
12998
  }
12999
12999
  },
13000
13000
  {
@@ -13002,389 +13002,474 @@
13002
13002
  "name": "Primary",
13003
13003
  "declaration": {
13004
13004
  "name": "Primary",
13005
- "module": "src/file-upload/file-upload.stories.ts"
13006
- }
13007
- }
13008
- ]
13009
- },
13010
- {
13011
- "kind": "javascript-module",
13012
- "path": "src/file-upload/file-upload.styles.ts",
13013
- "declarations": [
13014
- {
13015
- "kind": "variable",
13016
- "name": "zeroFileUploadStyles",
13017
- "default": "css`\n ${foundationFileUploadStyles}\n ::-webkit-scrollbar {\n width: 12px;\n }\n\n ::-webkit-scrollbar-track {\n background: rgb(31 33 38);\n }\n\n ::-webkit-scrollbar-thumb {\n width: 8px;\n border-radius: 10px;\n box-shadow: inset 0 0 6px rgba(0 0 0 / 30%);\n background-color: var(--neutral-color);\n border: 3px solid rgb(31 33 38);\n }\n`"
13018
- }
13019
- ],
13020
- "exports": [
13021
- {
13022
- "kind": "js",
13023
- "name": "zeroFileUploadStyles",
13024
- "declaration": {
13025
- "name": "zeroFileUploadStyles",
13026
- "module": "src/file-upload/file-upload.styles.ts"
13005
+ "module": "src/error-dialog/error-dialog.stories.ts"
13027
13006
  }
13028
13007
  }
13029
13008
  ]
13030
13009
  },
13031
13010
  {
13032
13011
  "kind": "javascript-module",
13033
- "path": "src/file-upload/file-upload.template.ts",
13012
+ "path": "src/error-dialog/error-dialog.ts",
13034
13013
  "declarations": [
13035
- {
13036
- "kind": "variable",
13037
- "name": "fileUploadTemplate",
13038
- "default": "html<FileUpload>`\n ${getPrefixedFileUpload('zero')}\n`"
13039
- }
13040
- ],
13041
- "exports": [
13042
- {
13043
- "kind": "js",
13044
- "name": "fileUploadTemplate",
13045
- "declaration": {
13046
- "name": "fileUploadTemplate",
13047
- "module": "src/file-upload/file-upload.template.ts"
13048
- }
13049
- }
13050
- ]
13051
- },
13052
- {
13053
- "kind": "javascript-module",
13054
- "path": "src/file-upload/file-upload.ts",
13055
- "declarations": [
13056
- {
13057
- "kind": "variable",
13058
- "name": "defaultFileUploadConfig",
13059
- "default": "foundationConfig"
13060
- },
13061
- {
13062
- "kind": "variable",
13063
- "name": "zeroFileUploadShadowOptions",
13064
- "default": "foundationFileUploadShadowOptions"
13065
- },
13066
13014
  {
13067
13015
  "kind": "class",
13068
13016
  "description": "",
13069
- "name": "FileUpload",
13017
+ "name": "ErrorDialog",
13070
13018
  "superclass": {
13071
- "name": "FoundationFileUpload",
13019
+ "name": "FoundationErrorDialog",
13072
13020
  "package": "@genesislcap/foundation-ui"
13073
13021
  },
13074
- "tagName": "%%prefix%%-file-upload",
13022
+ "tagName": "%%prefix%%-error-dialog",
13075
13023
  "customElement": true,
13076
- "attributes": [
13077
- {
13078
- "name": "label",
13079
- "type": {
13080
- "text": "string"
13081
- },
13082
- "fieldName": "label",
13083
- "inheritedFrom": {
13084
- "name": "FileUpload",
13085
- "module": "src/file-upload/file-upload.ts"
13086
- }
13087
- },
13088
- {
13089
- "name": "accept",
13090
- "type": {
13091
- "text": "string"
13092
- },
13093
- "default": "''",
13094
- "fieldName": "accept",
13095
- "inheritedFrom": {
13096
- "name": "FileUpload",
13097
- "module": "src/file-upload/file-upload.ts"
13098
- }
13099
- },
13100
- {
13101
- "name": "file-size-limit-bytes",
13102
- "default": "FILE_SIZE_LIMIT",
13103
- "resolveInitializer": {
13104
- "module": "src/file-upload/file-upload.ts"
13105
- },
13106
- "fieldName": "fileSizeLimitBytes",
13107
- "inheritedFrom": {
13108
- "name": "FileUpload",
13109
- "module": "src/file-upload/file-upload.ts"
13110
- }
13111
- },
13112
- {
13113
- "name": "uploaded-files-resource-name",
13114
- "type": {
13115
- "text": "string"
13116
- },
13117
- "default": "'ALL_FILE_ATTACHMENTS'",
13118
- "fieldName": "uploadedFilesResourceName",
13119
- "inheritedFrom": {
13120
- "name": "FileUpload",
13121
- "module": "src/file-upload/file-upload.ts"
13122
- }
13123
- },
13024
+ "members": [
13124
13025
  {
13125
- "name": "upload-event-name",
13026
+ "kind": "field",
13027
+ "name": "dialog",
13126
13028
  "type": {
13127
- "text": "string"
13029
+ "text": "HTMLElement & { close: () => void; show: () => void }"
13128
13030
  },
13129
- "default": "'gwf/attachment-handler/upload'",
13130
- "fieldName": "uploadEventName",
13031
+ "privacy": "public",
13131
13032
  "inheritedFrom": {
13132
- "name": "FileUpload",
13133
- "module": "src/file-upload/file-upload.ts"
13033
+ "name": "ErrorDialog",
13034
+ "module": "src/error-dialog/error-dialog.ts"
13134
13035
  }
13135
13036
  },
13136
13037
  {
13137
- "name": "field-name",
13038
+ "kind": "field",
13039
+ "name": "error",
13138
13040
  "type": {
13139
- "text": "string"
13041
+ "text": "ErrorStructure"
13140
13042
  },
13141
- "fieldName": "fieldName",
13142
13043
  "inheritedFrom": {
13143
- "name": "FileUpload",
13144
- "module": "src/file-upload/file-upload.ts"
13044
+ "name": "ErrorDialog",
13045
+ "module": "src/error-dialog/error-dialog.ts"
13145
13046
  }
13146
13047
  },
13147
13048
  {
13148
- "name": "entity-id",
13049
+ "kind": "field",
13050
+ "name": "notification",
13149
13051
  "type": {
13150
- "text": "string"
13052
+ "text": "NotificationStructure"
13151
13053
  },
13152
- "fieldName": "entityId",
13153
13054
  "inheritedFrom": {
13154
- "name": "FileUpload",
13155
- "module": "src/file-upload/file-upload.ts"
13055
+ "name": "ErrorDialog",
13056
+ "module": "src/error-dialog/error-dialog.ts"
13156
13057
  }
13157
13058
  },
13158
13059
  {
13159
- "name": "upload-key",
13160
- "type": {
13161
- "text": "string"
13060
+ "kind": "method",
13061
+ "name": "show",
13062
+ "privacy": "public",
13063
+ "return": {
13064
+ "type": {
13065
+ "text": "void"
13066
+ }
13162
13067
  },
13163
- "fieldName": "uploadKey",
13068
+ "description": "Show the Error Dialog.",
13164
13069
  "inheritedFrom": {
13165
- "name": "FileUpload",
13166
- "module": "src/file-upload/file-upload.ts"
13070
+ "name": "ErrorDialog",
13071
+ "module": "src/error-dialog/error-dialog.ts"
13167
13072
  }
13168
13073
  },
13169
13074
  {
13170
- "name": "grid-fields",
13171
- "type": {
13172
- "text": "string"
13173
- },
13174
- "default": "''",
13175
- "fieldName": "gridFields",
13176
- "inheritedFrom": {
13177
- "name": "FileUpload",
13178
- "module": "src/file-upload/file-upload.ts"
13179
- }
13180
- }
13181
- ],
13182
- "members": [
13183
- {
13184
- "kind": "field",
13185
- "name": "fileInput",
13186
- "type": {
13187
- "text": "HTMLInputElement"
13188
- },
13075
+ "kind": "method",
13076
+ "name": "dismiss",
13189
13077
  "privacy": "public",
13078
+ "description": "Dismiss the Error Dialog from display and calls the dismissing action.",
13190
13079
  "inheritedFrom": {
13191
- "name": "FileUpload",
13192
- "module": "src/file-upload/file-upload.ts"
13080
+ "name": "ErrorDialog",
13081
+ "module": "src/error-dialog/error-dialog.ts"
13193
13082
  }
13194
13083
  },
13195
13084
  {
13196
- "kind": "field",
13197
- "name": "acceptedFormats",
13198
- "type": {
13199
- "text": "array"
13085
+ "kind": "method",
13086
+ "name": "closeDialog",
13087
+ "privacy": "public",
13088
+ "return": {
13089
+ "type": {
13090
+ "text": "void"
13091
+ }
13200
13092
  },
13201
- "privacy": "private",
13202
- "default": "[]",
13093
+ "description": "Dismiss the Error Dialog from display.",
13203
13094
  "inheritedFrom": {
13204
- "name": "FileUpload",
13205
- "module": "src/file-upload/file-upload.ts"
13095
+ "name": "ErrorDialog",
13096
+ "module": "src/error-dialog/error-dialog.ts"
13206
13097
  }
13207
13098
  },
13208
13099
  {
13209
13100
  "kind": "field",
13210
- "name": "selectedFiles",
13101
+ "name": "_presentation",
13211
13102
  "type": {
13212
- "text": "File[]"
13103
+ "text": "ComponentPresentation | null | undefined"
13213
13104
  },
13214
13105
  "privacy": "private",
13106
+ "default": "void 0",
13215
13107
  "inheritedFrom": {
13216
- "name": "FileUpload",
13217
- "module": "src/file-upload/file-upload.ts"
13108
+ "name": "FoundationElement",
13109
+ "module": "src/foundation-element/foundation-element.ts"
13218
13110
  }
13219
13111
  },
13220
13112
  {
13221
13113
  "kind": "field",
13222
- "name": "gridCriteria",
13114
+ "name": "$presentation",
13223
13115
  "type": {
13224
- "text": "string"
13116
+ "text": "ComponentPresentation | null"
13225
13117
  },
13118
+ "privacy": "public",
13119
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
13226
13120
  "inheritedFrom": {
13227
- "name": "FileUpload",
13228
- "module": "src/file-upload/file-upload.ts"
13121
+ "name": "FoundationElement",
13122
+ "module": "src/foundation-element/foundation-element.ts"
13229
13123
  }
13230
13124
  },
13231
13125
  {
13232
13126
  "kind": "field",
13233
- "name": "connect",
13127
+ "name": "template",
13234
13128
  "type": {
13235
- "text": "Connect"
13129
+ "text": "ElementViewTemplate | void | null"
13236
13130
  },
13131
+ "privacy": "public",
13132
+ "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.",
13237
13133
  "inheritedFrom": {
13238
- "name": "FileUpload",
13239
- "module": "src/file-upload/file-upload.ts"
13134
+ "name": "FoundationElement",
13135
+ "module": "src/foundation-element/foundation-element.ts"
13240
13136
  }
13241
13137
  },
13242
13138
  {
13243
- "kind": "field",
13244
- "name": "session",
13245
- "type": {
13246
- "text": "Session"
13139
+ "kind": "method",
13140
+ "name": "templateChanged",
13141
+ "privacy": "protected",
13142
+ "return": {
13143
+ "type": {
13144
+ "text": "void"
13145
+ }
13247
13146
  },
13248
13147
  "inheritedFrom": {
13249
- "name": "FileUpload",
13250
- "module": "src/file-upload/file-upload.ts"
13148
+ "name": "FoundationElement",
13149
+ "module": "src/foundation-element/foundation-element.ts"
13251
13150
  }
13252
13151
  },
13253
13152
  {
13254
13153
  "kind": "field",
13255
- "name": "label",
13154
+ "name": "styles",
13256
13155
  "type": {
13257
- "text": "string"
13156
+ "text": "ElementStyles | void | null"
13258
13157
  },
13158
+ "privacy": "public",
13159
+ "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.",
13259
13160
  "inheritedFrom": {
13260
- "name": "FileUpload",
13261
- "module": "src/file-upload/file-upload.ts"
13161
+ "name": "FoundationElement",
13162
+ "module": "src/foundation-element/foundation-element.ts"
13262
13163
  }
13263
13164
  },
13264
13165
  {
13265
- "kind": "field",
13266
- "name": "accept",
13267
- "type": {
13268
- "text": "string"
13166
+ "kind": "method",
13167
+ "name": "stylesChanged",
13168
+ "privacy": "protected",
13169
+ "return": {
13170
+ "type": {
13171
+ "text": "void"
13172
+ }
13269
13173
  },
13270
- "default": "''",
13271
13174
  "inheritedFrom": {
13272
- "name": "FileUpload",
13273
- "module": "src/file-upload/file-upload.ts"
13175
+ "name": "FoundationElement",
13176
+ "module": "src/foundation-element/foundation-element.ts"
13274
13177
  }
13275
13178
  },
13276
13179
  {
13277
13180
  "kind": "method",
13278
- "name": "acceptChanged",
13279
- "inheritedFrom": {
13280
- "name": "FileUpload",
13281
- "module": "src/file-upload/file-upload.ts"
13282
- }
13283
- },
13284
- {
13285
- "kind": "field",
13286
- "name": "fileSizeLimitBytes",
13287
- "default": "104_857_600",
13288
- "type": {
13289
- "text": "number"
13181
+ "name": "compose",
13182
+ "privacy": "public",
13183
+ "static": true,
13184
+ "return": {
13185
+ "type": {
13186
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
13187
+ }
13290
13188
  },
13189
+ "parameters": [
13190
+ {
13191
+ "name": "this",
13192
+ "type": {
13193
+ "text": "K"
13194
+ }
13195
+ },
13196
+ {
13197
+ "name": "elementDefinition",
13198
+ "type": {
13199
+ "text": "T"
13200
+ },
13201
+ "description": "The definition of the element to create the registry\nfunction for."
13202
+ }
13203
+ ],
13204
+ "description": "Defines an element registry function with a set of element definition defaults.",
13205
+ "inheritedFrom": {
13206
+ "name": "FoundationElement",
13207
+ "module": "src/foundation-element/foundation-element.ts"
13208
+ }
13209
+ }
13210
+ ]
13211
+ },
13212
+ {
13213
+ "kind": "variable",
13214
+ "name": "zeroErrorDialog",
13215
+ "description": "The zero ErrorDialog",
13216
+ "privacy": "public"
13217
+ }
13218
+ ],
13219
+ "exports": [
13220
+ {
13221
+ "kind": "js",
13222
+ "name": "ErrorDialog",
13223
+ "declaration": {
13224
+ "name": "ErrorDialog",
13225
+ "module": "src/error-dialog/error-dialog.ts"
13226
+ }
13227
+ },
13228
+ {
13229
+ "kind": "js",
13230
+ "name": "zeroErrorDialog",
13231
+ "declaration": {
13232
+ "name": "zeroErrorDialog",
13233
+ "module": "src/error-dialog/error-dialog.ts"
13234
+ }
13235
+ }
13236
+ ]
13237
+ },
13238
+ {
13239
+ "kind": "javascript-module",
13240
+ "path": "src/error-dialog/index.ts",
13241
+ "declarations": [],
13242
+ "exports": [
13243
+ {
13244
+ "kind": "js",
13245
+ "name": "*",
13246
+ "declaration": {
13247
+ "name": "*",
13248
+ "package": "./error-dialog"
13249
+ }
13250
+ }
13251
+ ]
13252
+ },
13253
+ {
13254
+ "kind": "javascript-module",
13255
+ "path": "src/file-upload/file-upload.stories.ts",
13256
+ "declarations": [
13257
+ {
13258
+ "kind": "variable",
13259
+ "name": "meta",
13260
+ "type": {
13261
+ "text": "Meta"
13262
+ },
13263
+ "default": "{\n title: 'File Upload',\n component: 'zero-file-upload',\n}"
13264
+ },
13265
+ {
13266
+ "kind": "variable",
13267
+ "name": "Primary",
13268
+ "type": {
13269
+ "text": "StoryObj"
13270
+ },
13271
+ "default": "{\n render: () => html`\n <div style=\"min-height: 300px;\">\n <zero-file-upload label=\"Select Files\"></zero-file-upload>\n </div>\n `,\n}"
13272
+ }
13273
+ ],
13274
+ "exports": [
13275
+ {
13276
+ "kind": "js",
13277
+ "name": "default",
13278
+ "declaration": {
13279
+ "name": "meta",
13280
+ "module": "src/file-upload/file-upload.stories.ts"
13281
+ }
13282
+ },
13283
+ {
13284
+ "kind": "js",
13285
+ "name": "Primary",
13286
+ "declaration": {
13287
+ "name": "Primary",
13288
+ "module": "src/file-upload/file-upload.stories.ts"
13289
+ }
13290
+ }
13291
+ ]
13292
+ },
13293
+ {
13294
+ "kind": "javascript-module",
13295
+ "path": "src/file-upload/file-upload.styles.ts",
13296
+ "declarations": [
13297
+ {
13298
+ "kind": "variable",
13299
+ "name": "zeroFileUploadStyles",
13300
+ "default": "css`\n ${foundationFileUploadStyles}\n ::-webkit-scrollbar {\n width: 12px;\n }\n\n ::-webkit-scrollbar-track {\n background: rgb(31 33 38);\n }\n\n ::-webkit-scrollbar-thumb {\n width: 8px;\n border-radius: 10px;\n box-shadow: inset 0 0 6px rgba(0 0 0 / 30%);\n background-color: var(--neutral-color);\n border: 3px solid rgb(31 33 38);\n }\n`"
13301
+ }
13302
+ ],
13303
+ "exports": [
13304
+ {
13305
+ "kind": "js",
13306
+ "name": "zeroFileUploadStyles",
13307
+ "declaration": {
13308
+ "name": "zeroFileUploadStyles",
13309
+ "module": "src/file-upload/file-upload.styles.ts"
13310
+ }
13311
+ }
13312
+ ]
13313
+ },
13314
+ {
13315
+ "kind": "javascript-module",
13316
+ "path": "src/file-upload/file-upload.template.ts",
13317
+ "declarations": [
13318
+ {
13319
+ "kind": "variable",
13320
+ "name": "fileUploadTemplate",
13321
+ "default": "html<FileUpload>`\n ${getPrefixedFileUpload('zero')}\n`"
13322
+ }
13323
+ ],
13324
+ "exports": [
13325
+ {
13326
+ "kind": "js",
13327
+ "name": "fileUploadTemplate",
13328
+ "declaration": {
13329
+ "name": "fileUploadTemplate",
13330
+ "module": "src/file-upload/file-upload.template.ts"
13331
+ }
13332
+ }
13333
+ ]
13334
+ },
13335
+ {
13336
+ "kind": "javascript-module",
13337
+ "path": "src/file-upload/file-upload.ts",
13338
+ "declarations": [
13339
+ {
13340
+ "kind": "variable",
13341
+ "name": "defaultFileUploadConfig",
13342
+ "default": "foundationConfig"
13343
+ },
13344
+ {
13345
+ "kind": "variable",
13346
+ "name": "zeroFileUploadShadowOptions",
13347
+ "default": "foundationFileUploadShadowOptions"
13348
+ },
13349
+ {
13350
+ "kind": "class",
13351
+ "description": "",
13352
+ "name": "FileUpload",
13353
+ "superclass": {
13354
+ "name": "FoundationFileUpload",
13355
+ "package": "@genesislcap/foundation-ui"
13356
+ },
13357
+ "tagName": "%%prefix%%-file-upload",
13358
+ "customElement": true,
13359
+ "attributes": [
13360
+ {
13361
+ "name": "label",
13362
+ "type": {
13363
+ "text": "string"
13364
+ },
13365
+ "fieldName": "label",
13291
13366
  "inheritedFrom": {
13292
13367
  "name": "FileUpload",
13293
13368
  "module": "src/file-upload/file-upload.ts"
13294
13369
  }
13295
13370
  },
13296
13371
  {
13297
- "kind": "field",
13298
- "name": "uploadedFilesResourceName",
13372
+ "name": "accept",
13299
13373
  "type": {
13300
13374
  "text": "string"
13301
13375
  },
13302
- "default": "'ALL_FILE_ATTACHMENTS'",
13376
+ "default": "''",
13377
+ "fieldName": "accept",
13303
13378
  "inheritedFrom": {
13304
13379
  "name": "FileUpload",
13305
13380
  "module": "src/file-upload/file-upload.ts"
13306
13381
  }
13307
13382
  },
13308
13383
  {
13309
- "kind": "field",
13310
- "name": "uploadEventName",
13311
- "type": {
13312
- "text": "string"
13384
+ "name": "file-size-limit-bytes",
13385
+ "default": "FILE_SIZE_LIMIT",
13386
+ "resolveInitializer": {
13387
+ "module": "src/file-upload/file-upload.ts"
13313
13388
  },
13314
- "default": "'gwf/attachment-handler/upload'",
13389
+ "fieldName": "fileSizeLimitBytes",
13315
13390
  "inheritedFrom": {
13316
13391
  "name": "FileUpload",
13317
13392
  "module": "src/file-upload/file-upload.ts"
13318
13393
  }
13319
13394
  },
13320
13395
  {
13321
- "kind": "field",
13322
- "name": "fieldName",
13396
+ "name": "uploaded-files-resource-name",
13323
13397
  "type": {
13324
13398
  "text": "string"
13325
13399
  },
13400
+ "default": "'ALL_FILE_ATTACHMENTS'",
13401
+ "fieldName": "uploadedFilesResourceName",
13326
13402
  "inheritedFrom": {
13327
13403
  "name": "FileUpload",
13328
13404
  "module": "src/file-upload/file-upload.ts"
13329
13405
  }
13330
13406
  },
13331
13407
  {
13332
- "kind": "method",
13333
- "name": "fieldNameChanged",
13408
+ "name": "upload-event-name",
13409
+ "type": {
13410
+ "text": "string"
13411
+ },
13412
+ "default": "'gwf/attachment-handler/upload'",
13413
+ "fieldName": "uploadEventName",
13334
13414
  "inheritedFrom": {
13335
13415
  "name": "FileUpload",
13336
13416
  "module": "src/file-upload/file-upload.ts"
13337
13417
  }
13338
13418
  },
13339
13419
  {
13340
- "kind": "field",
13341
- "name": "entityId",
13420
+ "name": "field-name",
13342
13421
  "type": {
13343
13422
  "text": "string"
13344
13423
  },
13424
+ "fieldName": "fieldName",
13345
13425
  "inheritedFrom": {
13346
13426
  "name": "FileUpload",
13347
13427
  "module": "src/file-upload/file-upload.ts"
13348
13428
  }
13349
13429
  },
13350
13430
  {
13351
- "kind": "method",
13352
- "name": "entityIdChanged",
13431
+ "name": "entity-id",
13432
+ "type": {
13433
+ "text": "string"
13434
+ },
13435
+ "fieldName": "entityId",
13353
13436
  "inheritedFrom": {
13354
13437
  "name": "FileUpload",
13355
13438
  "module": "src/file-upload/file-upload.ts"
13356
13439
  }
13357
13440
  },
13358
13441
  {
13359
- "kind": "field",
13360
- "name": "uploadKey",
13442
+ "name": "upload-key",
13361
13443
  "type": {
13362
13444
  "text": "string"
13363
13445
  },
13446
+ "fieldName": "uploadKey",
13364
13447
  "inheritedFrom": {
13365
13448
  "name": "FileUpload",
13366
13449
  "module": "src/file-upload/file-upload.ts"
13367
13450
  }
13368
13451
  },
13369
13452
  {
13370
- "kind": "field",
13371
- "name": "gridFields",
13453
+ "name": "grid-fields",
13372
13454
  "type": {
13373
13455
  "text": "string"
13374
13456
  },
13375
13457
  "default": "''",
13458
+ "fieldName": "gridFields",
13376
13459
  "inheritedFrom": {
13377
13460
  "name": "FileUpload",
13378
13461
  "module": "src/file-upload/file-upload.ts"
13379
13462
  }
13380
- },
13463
+ }
13464
+ ],
13465
+ "members": [
13381
13466
  {
13382
13467
  "kind": "field",
13383
- "name": "fileName",
13468
+ "name": "fileInput",
13384
13469
  "type": {
13385
- "text": "string"
13470
+ "text": "HTMLInputElement"
13386
13471
  },
13387
- "default": "''",
13472
+ "privacy": "public",
13388
13473
  "inheritedFrom": {
13389
13474
  "name": "FileUpload",
13390
13475
  "module": "src/file-upload/file-upload.ts"
@@ -13392,10 +13477,11 @@
13392
13477
  },
13393
13478
  {
13394
13479
  "kind": "field",
13395
- "name": "uploadedFilesList",
13480
+ "name": "acceptedFormats",
13396
13481
  "type": {
13397
13482
  "text": "array"
13398
13483
  },
13484
+ "privacy": "private",
13399
13485
  "default": "[]",
13400
13486
  "inheritedFrom": {
13401
13487
  "name": "FileUpload",
@@ -13404,11 +13490,11 @@
13404
13490
  },
13405
13491
  {
13406
13492
  "kind": "field",
13407
- "name": "filesGridColumnDefinitions",
13493
+ "name": "selectedFiles",
13408
13494
  "type": {
13409
- "text": "ColumnDefinition[]"
13495
+ "text": "File[]"
13410
13496
  },
13411
- "default": "[]",
13497
+ "privacy": "private",
13412
13498
  "inheritedFrom": {
13413
13499
  "name": "FileUpload",
13414
13500
  "module": "src/file-upload/file-upload.ts"
@@ -13416,124 +13502,55 @@
13416
13502
  },
13417
13503
  {
13418
13504
  "kind": "field",
13419
- "name": "downloadEventName",
13505
+ "name": "gridCriteria",
13420
13506
  "type": {
13421
- "text": "Function"
13507
+ "text": "string"
13422
13508
  },
13423
- "privacy": "public",
13424
13509
  "inheritedFrom": {
13425
13510
  "name": "FileUpload",
13426
13511
  "module": "src/file-upload/file-upload.ts"
13427
13512
  }
13428
13513
  },
13429
13514
  {
13430
- "kind": "method",
13431
- "name": "setupGrid",
13515
+ "kind": "field",
13516
+ "name": "connect",
13517
+ "type": {
13518
+ "text": "Connect"
13519
+ },
13432
13520
  "inheritedFrom": {
13433
13521
  "name": "FileUpload",
13434
13522
  "module": "src/file-upload/file-upload.ts"
13435
13523
  }
13436
13524
  },
13437
13525
  {
13438
- "kind": "method",
13439
- "name": "handleStreamRowOperation",
13440
- "privacy": "private",
13441
- "parameters": [
13442
- {
13443
- "name": "data",
13444
- "type": {
13445
- "text": "Message<any>"
13446
- }
13447
- }
13448
- ],
13449
- "inheritedFrom": {
13450
- "name": "FileUpload",
13451
- "module": "src/file-upload/file-upload.ts"
13452
- }
13453
- },
13454
- {
13455
- "kind": "method",
13456
- "name": "setRowData",
13457
- "inheritedFrom": {
13458
- "name": "FileUpload",
13459
- "module": "src/file-upload/file-upload.ts"
13460
- }
13461
- },
13462
- {
13463
- "kind": "method",
13464
- "name": "setColumnDefs",
13465
- "inheritedFrom": {
13466
- "name": "FileUpload",
13467
- "module": "src/file-upload/file-upload.ts"
13468
- }
13469
- },
13470
- {
13471
- "kind": "method",
13472
- "name": "getDownloadColumn",
13473
- "privacy": "public",
13474
- "inheritedFrom": {
13475
- "name": "FileUpload",
13476
- "module": "src/file-upload/file-upload.ts"
13477
- }
13478
- },
13479
- {
13480
- "kind": "method",
13481
- "name": "getColumnObject",
13482
- "privacy": "public",
13483
- "parameters": [
13484
- {
13485
- "name": "column"
13486
- }
13487
- ],
13488
- "inheritedFrom": {
13489
- "name": "FileUpload",
13490
- "module": "src/file-upload/file-upload.ts"
13491
- }
13492
- },
13493
- {
13494
- "kind": "method",
13495
- "name": "handleClick",
13496
- "privacy": "public",
13497
- "inheritedFrom": {
13498
- "name": "FileUpload",
13499
- "module": "src/file-upload/file-upload.ts"
13500
- }
13501
- },
13502
- {
13503
- "kind": "method",
13504
- "name": "onInputChange",
13505
- "privacy": "public",
13506
- "parameters": [
13507
- {
13508
- "name": "e"
13509
- }
13510
- ],
13526
+ "kind": "field",
13527
+ "name": "session",
13528
+ "type": {
13529
+ "text": "Session"
13530
+ },
13511
13531
  "inheritedFrom": {
13512
13532
  "name": "FileUpload",
13513
13533
  "module": "src/file-upload/file-upload.ts"
13514
13534
  }
13515
13535
  },
13516
13536
  {
13517
- "kind": "method",
13518
- "name": "onFilesSelected",
13519
- "privacy": "public",
13520
- "parameters": [
13521
- {
13522
- "name": "files",
13523
- "type": {
13524
- "text": "File[]"
13525
- }
13526
- }
13527
- ],
13537
+ "kind": "field",
13538
+ "name": "label",
13539
+ "type": {
13540
+ "text": "string"
13541
+ },
13528
13542
  "inheritedFrom": {
13529
13543
  "name": "FileUpload",
13530
13544
  "module": "src/file-upload/file-upload.ts"
13531
13545
  }
13532
13546
  },
13533
13547
  {
13534
- "kind": "method",
13535
- "name": "handleFileUpload",
13536
- "privacy": "public",
13548
+ "kind": "field",
13549
+ "name": "accept",
13550
+ "type": {
13551
+ "text": "string"
13552
+ },
13553
+ "default": "''",
13537
13554
  "inheritedFrom": {
13538
13555
  "name": "FileUpload",
13539
13556
  "module": "src/file-upload/file-upload.ts"
@@ -13541,25 +13558,19 @@
13541
13558
  },
13542
13559
  {
13543
13560
  "kind": "method",
13544
- "name": "handleFileDownload",
13545
- "privacy": "public",
13546
- "parameters": [
13547
- {
13548
- "name": "rowData",
13549
- "type": {
13550
- "text": "any"
13551
- }
13552
- }
13553
- ],
13561
+ "name": "acceptChanged",
13554
13562
  "inheritedFrom": {
13555
13563
  "name": "FileUpload",
13556
13564
  "module": "src/file-upload/file-upload.ts"
13557
13565
  }
13558
13566
  },
13559
13567
  {
13560
- "kind": "method",
13561
- "name": "clearSelection",
13562
- "privacy": "public",
13568
+ "kind": "field",
13569
+ "name": "fileSizeLimitBytes",
13570
+ "default": "104_857_600",
13571
+ "type": {
13572
+ "text": "number"
13573
+ },
13563
13574
  "inheritedFrom": {
13564
13575
  "name": "FileUpload",
13565
13576
  "module": "src/file-upload/file-upload.ts"
@@ -13567,317 +13578,274 @@
13567
13578
  },
13568
13579
  {
13569
13580
  "kind": "field",
13570
- "name": "_presentation",
13581
+ "name": "uploadedFilesResourceName",
13571
13582
  "type": {
13572
- "text": "ComponentPresentation | null | undefined"
13583
+ "text": "string"
13573
13584
  },
13574
- "privacy": "private",
13575
- "default": "void 0",
13585
+ "default": "'ALL_FILE_ATTACHMENTS'",
13576
13586
  "inheritedFrom": {
13577
- "name": "FoundationElement",
13578
- "module": "src/foundation-element/foundation-element.ts"
13587
+ "name": "FileUpload",
13588
+ "module": "src/file-upload/file-upload.ts"
13579
13589
  }
13580
13590
  },
13581
13591
  {
13582
13592
  "kind": "field",
13583
- "name": "$presentation",
13593
+ "name": "uploadEventName",
13584
13594
  "type": {
13585
- "text": "ComponentPresentation | null"
13595
+ "text": "string"
13586
13596
  },
13587
- "privacy": "public",
13588
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
13597
+ "default": "'gwf/attachment-handler/upload'",
13589
13598
  "inheritedFrom": {
13590
- "name": "FoundationElement",
13591
- "module": "src/foundation-element/foundation-element.ts"
13599
+ "name": "FileUpload",
13600
+ "module": "src/file-upload/file-upload.ts"
13592
13601
  }
13593
13602
  },
13594
13603
  {
13595
13604
  "kind": "field",
13596
- "name": "template",
13605
+ "name": "fieldName",
13597
13606
  "type": {
13598
- "text": "ElementViewTemplate | void | null"
13607
+ "text": "string"
13599
13608
  },
13600
- "privacy": "public",
13601
- "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.",
13602
13609
  "inheritedFrom": {
13603
- "name": "FoundationElement",
13604
- "module": "src/foundation-element/foundation-element.ts"
13610
+ "name": "FileUpload",
13611
+ "module": "src/file-upload/file-upload.ts"
13605
13612
  }
13606
13613
  },
13607
13614
  {
13608
13615
  "kind": "method",
13609
- "name": "templateChanged",
13610
- "privacy": "protected",
13611
- "return": {
13612
- "type": {
13613
- "text": "void"
13614
- }
13615
- },
13616
+ "name": "fieldNameChanged",
13616
13617
  "inheritedFrom": {
13617
- "name": "FoundationElement",
13618
- "module": "src/foundation-element/foundation-element.ts"
13618
+ "name": "FileUpload",
13619
+ "module": "src/file-upload/file-upload.ts"
13619
13620
  }
13620
13621
  },
13621
13622
  {
13622
13623
  "kind": "field",
13623
- "name": "styles",
13624
+ "name": "entityId",
13624
13625
  "type": {
13625
- "text": "ElementStyles | void | null"
13626
- },
13627
- "privacy": "public",
13628
- "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.",
13629
- "inheritedFrom": {
13630
- "name": "FoundationElement",
13631
- "module": "src/foundation-element/foundation-element.ts"
13632
- }
13633
- },
13634
- {
13635
- "kind": "method",
13636
- "name": "stylesChanged",
13637
- "privacy": "protected",
13638
- "return": {
13639
- "type": {
13640
- "text": "void"
13641
- }
13626
+ "text": "string"
13642
13627
  },
13643
13628
  "inheritedFrom": {
13644
- "name": "FoundationElement",
13645
- "module": "src/foundation-element/foundation-element.ts"
13629
+ "name": "FileUpload",
13630
+ "module": "src/file-upload/file-upload.ts"
13646
13631
  }
13647
13632
  },
13648
13633
  {
13649
13634
  "kind": "method",
13650
- "name": "compose",
13651
- "privacy": "public",
13652
- "static": true,
13653
- "return": {
13654
- "type": {
13655
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
13656
- }
13657
- },
13658
- "parameters": [
13659
- {
13660
- "name": "this",
13661
- "type": {
13662
- "text": "K"
13663
- }
13664
- },
13665
- {
13666
- "name": "elementDefinition",
13667
- "type": {
13668
- "text": "T"
13669
- },
13670
- "description": "The definition of the element to create the registry\nfunction for."
13671
- }
13672
- ],
13673
- "description": "Defines an element registry function with a set of element definition defaults.",
13635
+ "name": "entityIdChanged",
13674
13636
  "inheritedFrom": {
13675
- "name": "FoundationElement",
13676
- "module": "src/foundation-element/foundation-element.ts"
13677
- }
13678
- }
13679
- ]
13680
- },
13681
- {
13682
- "kind": "variable",
13683
- "name": "zeroFileUpload",
13684
- "description": "The Zero FileUpload",
13685
- "privacy": "public"
13686
- }
13687
- ],
13688
- "exports": [
13689
- {
13690
- "kind": "js",
13691
- "name": "defaultFileUploadConfig",
13692
- "declaration": {
13693
- "name": "defaultFileUploadConfig",
13694
- "module": "src/file-upload/file-upload.ts"
13695
- }
13696
- },
13697
- {
13698
- "kind": "js",
13699
- "name": "zeroFileUploadShadowOptions",
13700
- "declaration": {
13701
- "name": "zeroFileUploadShadowOptions",
13702
- "module": "src/file-upload/file-upload.ts"
13703
- }
13704
- },
13705
- {
13706
- "kind": "js",
13707
- "name": "FileUpload",
13708
- "declaration": {
13709
- "name": "FileUpload",
13710
- "module": "src/file-upload/file-upload.ts"
13711
- }
13712
- },
13713
- {
13714
- "kind": "js",
13715
- "name": "zeroFileUpload",
13716
- "declaration": {
13717
- "name": "zeroFileUpload",
13718
- "module": "src/file-upload/file-upload.ts"
13719
- }
13720
- }
13721
- ]
13722
- },
13723
- {
13724
- "kind": "javascript-module",
13725
- "path": "src/file-upload/index.ts",
13726
- "declarations": [],
13727
- "exports": [
13728
- {
13729
- "kind": "js",
13730
- "name": "*",
13731
- "declaration": {
13732
- "name": "*",
13733
- "package": "./file-upload"
13734
- }
13735
- },
13736
- {
13737
- "kind": "js",
13738
- "name": "*",
13739
- "declaration": {
13740
- "name": "*",
13741
- "package": "./file-upload.styles"
13742
- }
13743
- },
13744
- {
13745
- "kind": "js",
13746
- "name": "zeroFileUploadTemplate",
13747
- "declaration": {
13748
- "name": "foundationFileUploadTemplate",
13749
- "package": "@genesislcap/foundation-ui"
13750
- }
13751
- }
13752
- ]
13753
- },
13754
- {
13755
- "kind": "javascript-module",
13756
- "path": "src/error-dialog/error-dialog.stories.ts",
13757
- "declarations": [
13758
- {
13759
- "kind": "variable",
13760
- "name": "meta",
13761
- "type": {
13762
- "text": "Meta"
13763
- },
13764
- "default": "{\n title: 'Error Dialog',\n component: 'zero-error-dialog',\n}"
13765
- },
13766
- {
13767
- "kind": "variable",
13768
- "name": "Primary",
13769
- "type": {
13770
- "text": "StoryObj"
13771
- },
13772
- "default": "{\n args: {\n errorText:\n 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet',\n notifyText:\n 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet',\n },\n render: ({ errorText, notifyText }) => html`\n <zero-button @click=\"${() => showDialog(errorText)}\">Show Zero Dialog</zero-button>\n <zero-button @click=\"${() => showDialogNotify(notifyText)}\">\n Show Zero Dialog - Notification\n </zero-button>\n <div id=\"error-dialog-container\"></div>\n `,\n}"
13773
- }
13774
- ],
13775
- "exports": [
13776
- {
13777
- "kind": "js",
13778
- "name": "default",
13779
- "declaration": {
13780
- "name": "meta",
13781
- "module": "src/error-dialog/error-dialog.stories.ts"
13782
- }
13783
- },
13784
- {
13785
- "kind": "js",
13786
- "name": "Primary",
13787
- "declaration": {
13788
- "name": "Primary",
13789
- "module": "src/error-dialog/error-dialog.stories.ts"
13790
- }
13791
- }
13792
- ]
13793
- },
13794
- {
13795
- "kind": "javascript-module",
13796
- "path": "src/error-dialog/error-dialog.ts",
13797
- "declarations": [
13798
- {
13799
- "kind": "class",
13800
- "description": "",
13801
- "name": "ErrorDialog",
13802
- "superclass": {
13803
- "name": "FoundationErrorDialog",
13804
- "package": "@genesislcap/foundation-ui"
13805
- },
13806
- "tagName": "%%prefix%%-error-dialog",
13807
- "customElement": true,
13808
- "members": [
13637
+ "name": "FileUpload",
13638
+ "module": "src/file-upload/file-upload.ts"
13639
+ }
13640
+ },
13809
13641
  {
13810
13642
  "kind": "field",
13811
- "name": "dialog",
13643
+ "name": "uploadKey",
13812
13644
  "type": {
13813
- "text": "HTMLElement & { close: () => void; show: () => void }"
13645
+ "text": "string"
13814
13646
  },
13815
- "privacy": "public",
13816
13647
  "inheritedFrom": {
13817
- "name": "ErrorDialog",
13818
- "module": "src/error-dialog/error-dialog.ts"
13648
+ "name": "FileUpload",
13649
+ "module": "src/file-upload/file-upload.ts"
13819
13650
  }
13820
13651
  },
13821
13652
  {
13822
13653
  "kind": "field",
13823
- "name": "error",
13654
+ "name": "gridFields",
13824
13655
  "type": {
13825
- "text": "ErrorStructure"
13656
+ "text": "string"
13826
13657
  },
13658
+ "default": "''",
13827
13659
  "inheritedFrom": {
13828
- "name": "ErrorDialog",
13829
- "module": "src/error-dialog/error-dialog.ts"
13660
+ "name": "FileUpload",
13661
+ "module": "src/file-upload/file-upload.ts"
13830
13662
  }
13831
13663
  },
13832
13664
  {
13833
13665
  "kind": "field",
13834
- "name": "notification",
13666
+ "name": "fileName",
13835
13667
  "type": {
13836
- "text": "NotificationStructure"
13668
+ "text": "string"
13837
13669
  },
13670
+ "default": "''",
13838
13671
  "inheritedFrom": {
13839
- "name": "ErrorDialog",
13840
- "module": "src/error-dialog/error-dialog.ts"
13672
+ "name": "FileUpload",
13673
+ "module": "src/file-upload/file-upload.ts"
13674
+ }
13675
+ },
13676
+ {
13677
+ "kind": "field",
13678
+ "name": "uploadedFilesList",
13679
+ "type": {
13680
+ "text": "array"
13681
+ },
13682
+ "default": "[]",
13683
+ "inheritedFrom": {
13684
+ "name": "FileUpload",
13685
+ "module": "src/file-upload/file-upload.ts"
13686
+ }
13687
+ },
13688
+ {
13689
+ "kind": "field",
13690
+ "name": "filesGridColumnDefinitions",
13691
+ "type": {
13692
+ "text": "ColumnDefinition[]"
13693
+ },
13694
+ "default": "[]",
13695
+ "inheritedFrom": {
13696
+ "name": "FileUpload",
13697
+ "module": "src/file-upload/file-upload.ts"
13698
+ }
13699
+ },
13700
+ {
13701
+ "kind": "field",
13702
+ "name": "downloadEventName",
13703
+ "type": {
13704
+ "text": "Function"
13705
+ },
13706
+ "privacy": "public",
13707
+ "inheritedFrom": {
13708
+ "name": "FileUpload",
13709
+ "module": "src/file-upload/file-upload.ts"
13841
13710
  }
13842
13711
  },
13843
13712
  {
13844
13713
  "kind": "method",
13845
- "name": "show",
13714
+ "name": "setupGrid",
13715
+ "inheritedFrom": {
13716
+ "name": "FileUpload",
13717
+ "module": "src/file-upload/file-upload.ts"
13718
+ }
13719
+ },
13720
+ {
13721
+ "kind": "method",
13722
+ "name": "handleStreamRowOperation",
13723
+ "privacy": "private",
13724
+ "parameters": [
13725
+ {
13726
+ "name": "data",
13727
+ "type": {
13728
+ "text": "Message<any>"
13729
+ }
13730
+ }
13731
+ ],
13732
+ "inheritedFrom": {
13733
+ "name": "FileUpload",
13734
+ "module": "src/file-upload/file-upload.ts"
13735
+ }
13736
+ },
13737
+ {
13738
+ "kind": "method",
13739
+ "name": "setRowData",
13740
+ "inheritedFrom": {
13741
+ "name": "FileUpload",
13742
+ "module": "src/file-upload/file-upload.ts"
13743
+ }
13744
+ },
13745
+ {
13746
+ "kind": "method",
13747
+ "name": "setColumnDefs",
13748
+ "inheritedFrom": {
13749
+ "name": "FileUpload",
13750
+ "module": "src/file-upload/file-upload.ts"
13751
+ }
13752
+ },
13753
+ {
13754
+ "kind": "method",
13755
+ "name": "getDownloadColumn",
13846
13756
  "privacy": "public",
13847
- "return": {
13848
- "type": {
13849
- "text": "void"
13757
+ "inheritedFrom": {
13758
+ "name": "FileUpload",
13759
+ "module": "src/file-upload/file-upload.ts"
13760
+ }
13761
+ },
13762
+ {
13763
+ "kind": "method",
13764
+ "name": "getColumnObject",
13765
+ "privacy": "public",
13766
+ "parameters": [
13767
+ {
13768
+ "name": "column"
13850
13769
  }
13851
- },
13852
- "description": "Show the Error Dialog.",
13770
+ ],
13853
13771
  "inheritedFrom": {
13854
- "name": "ErrorDialog",
13855
- "module": "src/error-dialog/error-dialog.ts"
13772
+ "name": "FileUpload",
13773
+ "module": "src/file-upload/file-upload.ts"
13856
13774
  }
13857
13775
  },
13858
13776
  {
13859
13777
  "kind": "method",
13860
- "name": "dismiss",
13778
+ "name": "handleClick",
13861
13779
  "privacy": "public",
13862
- "description": "Dismiss the Error Dialog from display and calls the dismissing action.",
13863
13780
  "inheritedFrom": {
13864
- "name": "ErrorDialog",
13865
- "module": "src/error-dialog/error-dialog.ts"
13781
+ "name": "FileUpload",
13782
+ "module": "src/file-upload/file-upload.ts"
13866
13783
  }
13867
13784
  },
13868
13785
  {
13869
13786
  "kind": "method",
13870
- "name": "closeDialog",
13787
+ "name": "onInputChange",
13871
13788
  "privacy": "public",
13872
- "return": {
13873
- "type": {
13874
- "text": "void"
13789
+ "parameters": [
13790
+ {
13791
+ "name": "e"
13875
13792
  }
13876
- },
13877
- "description": "Dismiss the Error Dialog from display.",
13793
+ ],
13878
13794
  "inheritedFrom": {
13879
- "name": "ErrorDialog",
13880
- "module": "src/error-dialog/error-dialog.ts"
13795
+ "name": "FileUpload",
13796
+ "module": "src/file-upload/file-upload.ts"
13797
+ }
13798
+ },
13799
+ {
13800
+ "kind": "method",
13801
+ "name": "onFilesSelected",
13802
+ "privacy": "public",
13803
+ "parameters": [
13804
+ {
13805
+ "name": "files",
13806
+ "type": {
13807
+ "text": "File[]"
13808
+ }
13809
+ }
13810
+ ],
13811
+ "inheritedFrom": {
13812
+ "name": "FileUpload",
13813
+ "module": "src/file-upload/file-upload.ts"
13814
+ }
13815
+ },
13816
+ {
13817
+ "kind": "method",
13818
+ "name": "handleFileUpload",
13819
+ "privacy": "public",
13820
+ "inheritedFrom": {
13821
+ "name": "FileUpload",
13822
+ "module": "src/file-upload/file-upload.ts"
13823
+ }
13824
+ },
13825
+ {
13826
+ "kind": "method",
13827
+ "name": "handleFileDownload",
13828
+ "privacy": "public",
13829
+ "parameters": [
13830
+ {
13831
+ "name": "rowData",
13832
+ "type": {
13833
+ "text": "any"
13834
+ }
13835
+ }
13836
+ ],
13837
+ "inheritedFrom": {
13838
+ "name": "FileUpload",
13839
+ "module": "src/file-upload/file-upload.ts"
13840
+ }
13841
+ },
13842
+ {
13843
+ "kind": "method",
13844
+ "name": "clearSelection",
13845
+ "privacy": "public",
13846
+ "inheritedFrom": {
13847
+ "name": "FileUpload",
13848
+ "module": "src/file-upload/file-upload.ts"
13881
13849
  }
13882
13850
  },
13883
13851
  {
@@ -13995,33 +13963,49 @@
13995
13963
  },
13996
13964
  {
13997
13965
  "kind": "variable",
13998
- "name": "zeroErrorDialog",
13999
- "description": "The zero ErrorDialog",
13966
+ "name": "zeroFileUpload",
13967
+ "description": "The Zero FileUpload",
14000
13968
  "privacy": "public"
14001
13969
  }
14002
13970
  ],
14003
13971
  "exports": [
14004
13972
  {
14005
13973
  "kind": "js",
14006
- "name": "ErrorDialog",
13974
+ "name": "defaultFileUploadConfig",
14007
13975
  "declaration": {
14008
- "name": "ErrorDialog",
14009
- "module": "src/error-dialog/error-dialog.ts"
13976
+ "name": "defaultFileUploadConfig",
13977
+ "module": "src/file-upload/file-upload.ts"
14010
13978
  }
14011
13979
  },
14012
13980
  {
14013
13981
  "kind": "js",
14014
- "name": "zeroErrorDialog",
13982
+ "name": "zeroFileUploadShadowOptions",
14015
13983
  "declaration": {
14016
- "name": "zeroErrorDialog",
14017
- "module": "src/error-dialog/error-dialog.ts"
13984
+ "name": "zeroFileUploadShadowOptions",
13985
+ "module": "src/file-upload/file-upload.ts"
13986
+ }
13987
+ },
13988
+ {
13989
+ "kind": "js",
13990
+ "name": "FileUpload",
13991
+ "declaration": {
13992
+ "name": "FileUpload",
13993
+ "module": "src/file-upload/file-upload.ts"
13994
+ }
13995
+ },
13996
+ {
13997
+ "kind": "js",
13998
+ "name": "zeroFileUpload",
13999
+ "declaration": {
14000
+ "name": "zeroFileUpload",
14001
+ "module": "src/file-upload/file-upload.ts"
14018
14002
  }
14019
14003
  }
14020
14004
  ]
14021
14005
  },
14022
14006
  {
14023
14007
  "kind": "javascript-module",
14024
- "path": "src/error-dialog/index.ts",
14008
+ "path": "src/file-upload/index.ts",
14025
14009
  "declarations": [],
14026
14010
  "exports": [
14027
14011
  {
@@ -14029,7 +14013,23 @@
14029
14013
  "name": "*",
14030
14014
  "declaration": {
14031
14015
  "name": "*",
14032
- "package": "./error-dialog"
14016
+ "package": "./file-upload"
14017
+ }
14018
+ },
14019
+ {
14020
+ "kind": "js",
14021
+ "name": "*",
14022
+ "declaration": {
14023
+ "name": "*",
14024
+ "package": "./file-upload.styles"
14025
+ }
14026
+ },
14027
+ {
14028
+ "kind": "js",
14029
+ "name": "zeroFileUploadTemplate",
14030
+ "declaration": {
14031
+ "name": "foundationFileUploadTemplate",
14032
+ "package": "@genesislcap/foundation-ui"
14033
14033
  }
14034
14034
  }
14035
14035
  ]