@genesislcap/foundation-entity-management 14.18.0 → 14.20.0-bny.19

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.
Files changed (30) hide show
  1. package/dist/custom-elements.json +290 -190
  2. package/dist/dts/entities/entities.d.ts +18 -12
  3. package/dist/dts/entities/entities.d.ts.map +1 -1
  4. package/dist/dts/entities/entities.styles.d.ts.map +1 -1
  5. package/dist/dts/entities/entities.template.d.ts.map +1 -1
  6. package/dist/dts/list/list.d.ts +0 -2
  7. package/dist/dts/list/list.d.ts.map +1 -1
  8. package/dist/dts/list/list.styles.d.ts.map +1 -1
  9. package/dist/dts/list/list.template.d.ts +0 -23
  10. package/dist/dts/list/list.template.d.ts.map +1 -1
  11. package/dist/dts/utils/index.d.ts +26 -0
  12. package/dist/dts/utils/index.d.ts.map +1 -1
  13. package/dist/esm/entities/entities.js +27 -5
  14. package/dist/esm/entities/entities.styles.js +6 -0
  15. package/dist/esm/entities/entities.template.js +16 -3
  16. package/dist/esm/list/list.js +2 -7
  17. package/dist/esm/list/list.styles.js +0 -6
  18. package/dist/esm/list/list.template.js +0 -35
  19. package/dist/esm/utils/index.js +25 -0
  20. package/dist/foundation-entity-management.api.json +167 -0
  21. package/dist/foundation-entity-management.d.ts +45 -12
  22. package/docs/api/foundation-entity-management.buttoncellrenderer.md +34 -0
  23. package/docs/api/foundation-entity-management.entitymanagement.create.md +17 -0
  24. package/docs/api/foundation-entity-management.entitymanagement.criteriachanged.md +22 -0
  25. package/docs/api/foundation-entity-management.entitymanagement.defaultentityvalues.md +11 -0
  26. package/docs/api/foundation-entity-management.entitymanagement.md +4 -0
  27. package/docs/api/foundation-entity-management.entitymanagement.modalposition.md +13 -0
  28. package/docs/api/foundation-entity-management.md +1 -0
  29. package/docs/api-report.md +31 -0
  30. package/package.json +13 -13
@@ -129,7 +129,7 @@
129
129
  {
130
130
  "kind": "variable",
131
131
  "name": "styles",
132
- "default": "css`\n :host {\n contain: content;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n`",
132
+ "default": "css`\n :host {\n contain: content;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n`",
133
133
  "description": "Defines the css of the entity component as an ElementStyles object"
134
134
  }
135
135
  ],
@@ -151,7 +151,7 @@
151
151
  {
152
152
  "kind": "variable",
153
153
  "name": "template",
154
- "default": "html<EntityManagement>`\n <div class=\"container\">\n <entity-list\n title=${(x) => x.title}\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n size-columns-to-fit=${(x) => x.sizeColumnsToFit}\n enable-filter-bar=${(x) => x.enableFilterBar}\n resourceName=${(x) => x.resourceName}\n :createEvent=${(x) => x.createEvent}\n :deleteEvent=${(x) => x.deleteEvent}\n :updateEvent=${(x) => x.updateEvent}\n :columns=${(x) => x.columns}\n :datasourceConfig=${(x) => x.datasourceConfig}\n data-test-id=\"entity-list\"\n ></entity-list>\n <zero-modal\n ${ref('editEntityModal')}\n position=\"right\"\n :onCloseCallback=${(x) => x.closeModal.bind(x)}\n data-test-id=\"edit-entity-modal\"\n >\n <div slot=\"top\" data-test-id=\"dialog-title\">${(x) => x.editDialogTitle}</div>\n\n <slot name=\"edit\">\n ${when(\n (x) => x.editModalVisible,\n html<EntityManagement>`\n <foundation-form\n resourceName=${(x) => x.formResourceName}\n :data=${(x) => x.editedEntity}\n :uischema=${(x) => x.formUiSchema}\n @submit-success=${(x, c) => x.submitEntityChanges(c.event as CustomEvent)}\n @submit-failure=${(x, c) =>\n x.errorSnack((c.event as CustomEvent<{ errors: MessageError[] }>).detail.errors)}\n ></foundation-form>\n `\n )}\n </slot>\n </zero-modal>\n </div>\n`",
154
+ "default": "html<EntityManagement>`\n <div class=\"container\">\n <slot name=\"header\" part=\"header\">${defaultHeader}</slot>\n <entity-list\n title=${(x) => x.title}\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n size-columns-to-fit=${(x) => x.sizeColumnsToFit}\n enable-filter-bar=${(x) => x.enableFilterBar}\n resourceName=${(x) => x.resourceName}\n :deleteEvent=${(x) => x.deleteEvent}\n :updateEvent=${(x) => x.updateEvent}\n :columns=${(x) => x.columns}\n :datasourceConfig=${(x) => x.datasourceConfig}\n data-test-id=\"entity-list\"\n >\n <slot name=\"header\" slot=\"header\">${defaultHeader}</slot>\n </entity-list>\n <zero-modal\n ${ref('editEntityModal')}\n position=${(x) => x.modalPosition}\n :onCloseCallback=${(x) => x.closeModal.bind(x)}\n data-test-id=\"edit-entity-modal\"\n >\n <div slot=\"top\" data-test-id=\"dialog-title\">${(x) => x.editDialogTitle}</div>\n\n <slot name=\"edit\">\n ${when(\n (x) => x.editModalVisible,\n html<EntityManagement>`\n <foundation-form\n part=\"form\"\n resourceName=${(x) => x.formResourceName}\n :data=${(x) => x.editedEntity}\n :uischema=${(x) => x.formUiSchema}\n @submit-success=${(x, c) => x.submitEntityChanges(c.event as CustomEvent)}\n @submit-failure=${(x, c) =>\n x.errorSnack((c.event as CustomEvent<{ errors: MessageError[] }>).detail.errors)}\n ></foundation-form>\n `\n )}\n </slot>\n </zero-modal>\n </div>\n`",
155
155
  "description": "Defines the html of the entity component as a ViewTemplate object"
156
156
  }
157
157
  ],
@@ -333,6 +333,13 @@
333
333
  "text": "boolean"
334
334
  }
335
335
  },
336
+ {
337
+ "kind": "field",
338
+ "name": "defaultEntityValues",
339
+ "type": {
340
+ "text": "any"
341
+ }
342
+ },
336
343
  {
337
344
  "kind": "field",
338
345
  "name": "editDialogTitle",
@@ -382,6 +389,16 @@
382
389
  "text": "boolean"
383
390
  }
384
391
  },
392
+ {
393
+ "kind": "field",
394
+ "name": "modalPosition",
395
+ "type": {
396
+ "text": "'centre' | 'left' | 'right'"
397
+ },
398
+ "default": "'right'",
399
+ "description": "Determines where the modal dialog will appear on screen",
400
+ "privacy": "public"
401
+ },
385
402
  {
386
403
  "kind": "method",
387
404
  "name": "deepClone",
@@ -408,6 +425,12 @@
408
425
  ],
409
426
  "description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity"
410
427
  },
428
+ {
429
+ "kind": "method",
430
+ "name": "create",
431
+ "privacy": "public",
432
+ "description": "Show the entity create form"
433
+ },
411
434
  {
412
435
  "kind": "method",
413
436
  "name": "readEntity",
@@ -426,6 +449,19 @@
426
449
  "name": "closeModal",
427
450
  "privacy": "public"
428
451
  },
452
+ {
453
+ "kind": "method",
454
+ "name": "criteriaChanged",
455
+ "privacy": "public",
456
+ "parameters": [
457
+ {
458
+ "name": "e",
459
+ "type": {
460
+ "text": "CustomEvent<string>"
461
+ }
462
+ }
463
+ ]
464
+ },
429
465
  {
430
466
  "kind": "method",
431
467
  "name": "confirmDelete",
@@ -528,6 +564,15 @@
528
564
  "text": "boolean"
529
565
  },
530
566
  "fieldName": "enableCellFlashing"
567
+ },
568
+ {
569
+ "name": "modal-position",
570
+ "type": {
571
+ "text": "'centre' | 'left' | 'right'"
572
+ },
573
+ "default": "'right'",
574
+ "description": "Determines where the modal dialog will appear on screen",
575
+ "fieldName": "modalPosition"
531
576
  }
532
577
  ],
533
578
  "mixins": [
@@ -665,7 +710,7 @@
665
710
  {
666
711
  "kind": "variable",
667
712
  "name": "listStyles",
668
- "default": "css`\n :host {\n contain: content;\n }\n\n :host,\n fast-router {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: inherit;\n width: 100%;\n }\n\n .heading {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n`"
713
+ "default": "css`\n :host {\n contain: content;\n }\n\n :host,\n fast-router {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: inherit;\n width: 100%;\n }\n`"
669
714
  }
670
715
  ],
671
716
  "exports": [
@@ -683,33 +728,13 @@
683
728
  "kind": "javascript-module",
684
729
  "path": "src/list/list.template.ts",
685
730
  "declarations": [
686
- {
687
- "kind": "function",
688
- "name": "buttonCellRenderer",
689
- "parameters": [
690
- {
691
- "name": "title"
692
- },
693
- {
694
- "name": "clickHandler"
695
- }
696
- ]
697
- },
698
731
  {
699
732
  "kind": "variable",
700
733
  "name": "listTemplate",
701
- "default": "html<List>`\n <div class=\"heading\">\n <h3 data-test-id=\"title\">${(x) => x.title}</h3>\n ${when(\n (x) => x.createEvent,\n html`\n <zero-button\n appearance=\"accent\"\n @click=${(x) => x.create()}\n ?disabled=\"${(x) => x.addDisabled}\"\n data-test-id=\"button-create\"\n >\n Add\n </zero-button>\n `\n )}\n </div>\n <div class=\"container\">\n ${when(\n (x) => x.enableFilterBar,\n html<List>`\n <zero-filter-bar\n resource=${(x) => x.resourceName}\n only=${(x) => x.columns?.map((colDef) => colDef.field).filter((field) => !!field)}\n labels=${(x) => x.columns?.map((colDef) => colDef.headerName || '')}\n target=\"datasource\"\n ></zero-filter-bar>\n `\n )}\n <zero-grid-pro\n ${ref('grid')}\n auto-cell-renderer-by-type\n rowSelection=\"single\"\n rowHeight=\"36\"\n headerHeight=\"36\"\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n ?only-template-col-defs=${(x) => !!x.columns}\n suppressCellFocus=\"true\"\n suppressRowDeselection=\"true\"\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n >\n <grid-pro-genesis-datasource\n ${ref('datasource')}\n resource-name=${(x) => x.resourceName}\n criteria=${(x) => x.datasourceConfig?.criteria}\n fields=${(x) => x.datasourceConfig?.fields}\n is-snapshot=${(x) => x.datasourceConfig?.isSnapshot}\n max-rows=${(x) => x.datasourceConfig?.maxRows}\n max-view=${(x) => x.datasourceConfig?.maxView}\n order-by=${(x) => x.datasourceConfig?.orderBy}\n reverse=${(x) => x.datasourceConfig?.reverse}\n ></grid-pro-genesis-datasource>\n ${repeat(\n (x) => x.columns,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `\n )}\n ${repeat(\n (x) => x.actionButtonsConfig,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `\n )}\n </zero-grid-pro>\n </div>\n`"
734
+ "default": "html<List>`\n <div class=\"container\">\n ${when(\n (x) => x.enableFilterBar,\n html<List>`\n <zero-filter-bar\n resource=${(x) => x.resourceName}\n only=${(x) => x.columns?.map((colDef) => colDef.field).filter((field) => !!field)}\n labels=${(x) => x.columns?.map((colDef) => colDef.headerName || '')}\n target=\"datasource\"\n ></zero-filter-bar>\n `\n )}\n <zero-grid-pro\n ${ref('grid')}\n auto-cell-renderer-by-type\n rowSelection=\"single\"\n rowHeight=\"36\"\n headerHeight=\"36\"\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n ?only-template-col-defs=${(x) => !!x.columns}\n suppressCellFocus=\"true\"\n suppressRowDeselection=\"true\"\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n >\n <grid-pro-genesis-datasource\n ${ref('datasource')}\n resource-name=${(x) => x.resourceName}\n criteria=${(x) => x.datasourceConfig?.criteria}\n fields=${(x) => x.datasourceConfig?.fields}\n is-snapshot=${(x) => x.datasourceConfig?.isSnapshot}\n max-rows=${(x) => x.datasourceConfig?.maxRows}\n max-view=${(x) => x.datasourceConfig?.maxView}\n order-by=${(x) => x.datasourceConfig?.orderBy}\n reverse=${(x) => x.datasourceConfig?.reverse}\n ></grid-pro-genesis-datasource>\n ${repeat(\n (x) => x.columns,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `\n )}\n ${repeat(\n (x) => x.actionButtonsConfig,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `\n )}\n </zero-grid-pro>\n </div>\n`"
702
735
  }
703
736
  ],
704
737
  "exports": [
705
- {
706
- "kind": "js",
707
- "name": "buttonCellRenderer",
708
- "declaration": {
709
- "name": "buttonCellRenderer",
710
- "module": "src/list/list.template.ts"
711
- }
712
- },
713
738
  {
714
739
  "kind": "js",
715
740
  "name": "listTemplate",
@@ -811,13 +836,6 @@
811
836
  },
812
837
  "default": "[]"
813
838
  },
814
- {
815
- "kind": "field",
816
- "name": "createEvent",
817
- "type": {
818
- "text": "string"
819
- }
820
- },
821
839
  {
822
840
  "kind": "field",
823
841
  "name": "deleteEvent",
@@ -862,11 +880,6 @@
862
880
  }
863
881
  ]
864
882
  },
865
- {
866
- "kind": "method",
867
- "name": "create",
868
- "privacy": "public"
869
- },
870
883
  {
871
884
  "kind": "field",
872
885
  "name": "edit",
@@ -955,6 +968,159 @@
955
968
  }
956
969
  ]
957
970
  },
971
+ {
972
+ "kind": "javascript-module",
973
+ "path": "src/main/index.ts",
974
+ "declarations": [],
975
+ "exports": [
976
+ {
977
+ "kind": "js",
978
+ "name": "*",
979
+ "declaration": {
980
+ "name": "*",
981
+ "package": "./main.template"
982
+ }
983
+ },
984
+ {
985
+ "kind": "js",
986
+ "name": "*",
987
+ "declaration": {
988
+ "name": "*",
989
+ "package": "./main"
990
+ }
991
+ }
992
+ ]
993
+ },
994
+ {
995
+ "kind": "javascript-module",
996
+ "path": "src/main/main.styles.ts",
997
+ "declarations": [
998
+ {
999
+ "kind": "variable",
1000
+ "name": "MainStyles",
1001
+ "default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n zero-design-system-provider,\n .dynamic-template,\n foundation-router {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n fast-progress {\n --accent-foreground-rest: #654df9;\n\n height: calc(var(--design-unit) * 1px);\n margin: 0;\n width: 100%;\n }\n`"
1002
+ }
1003
+ ],
1004
+ "exports": [
1005
+ {
1006
+ "kind": "js",
1007
+ "name": "MainStyles",
1008
+ "declaration": {
1009
+ "name": "MainStyles",
1010
+ "module": "src/main/main.styles.ts"
1011
+ }
1012
+ }
1013
+ ]
1014
+ },
1015
+ {
1016
+ "kind": "javascript-module",
1017
+ "path": "src/main/main.template.ts",
1018
+ "declarations": [],
1019
+ "exports": []
1020
+ },
1021
+ {
1022
+ "kind": "javascript-module",
1023
+ "path": "src/main/main.ts",
1024
+ "declarations": [
1025
+ {
1026
+ "kind": "class",
1027
+ "description": "",
1028
+ "name": "MainApplication",
1029
+ "members": [
1030
+ {
1031
+ "kind": "field",
1032
+ "name": "config",
1033
+ "type": {
1034
+ "text": "MainRouterConfig"
1035
+ }
1036
+ },
1037
+ {
1038
+ "kind": "field",
1039
+ "name": "connect",
1040
+ "type": {
1041
+ "text": "Connect"
1042
+ }
1043
+ },
1044
+ {
1045
+ "kind": "field",
1046
+ "name": "session",
1047
+ "type": {
1048
+ "text": "Session"
1049
+ }
1050
+ },
1051
+ {
1052
+ "kind": "field",
1053
+ "name": "container",
1054
+ "type": {
1055
+ "text": "Container"
1056
+ }
1057
+ },
1058
+ {
1059
+ "kind": "field",
1060
+ "name": "provider",
1061
+ "type": {
1062
+ "text": "any"
1063
+ }
1064
+ },
1065
+ {
1066
+ "kind": "field",
1067
+ "name": "ready",
1068
+ "type": {
1069
+ "text": "boolean"
1070
+ },
1071
+ "default": "false"
1072
+ },
1073
+ {
1074
+ "kind": "field",
1075
+ "name": "data",
1076
+ "type": {
1077
+ "text": "any"
1078
+ },
1079
+ "default": "null"
1080
+ },
1081
+ {
1082
+ "kind": "method",
1083
+ "name": "onLuminanceToggle"
1084
+ },
1085
+ {
1086
+ "kind": "method",
1087
+ "name": "loadRemotes"
1088
+ },
1089
+ {
1090
+ "kind": "method",
1091
+ "name": "selectTemplate"
1092
+ },
1093
+ {
1094
+ "kind": "method",
1095
+ "name": "registerDIDependencies",
1096
+ "privacy": "private"
1097
+ }
1098
+ ],
1099
+ "superclass": {
1100
+ "name": "FASTElement",
1101
+ "package": "@microsoft/fast-element"
1102
+ },
1103
+ "customElement": true
1104
+ }
1105
+ ],
1106
+ "exports": [
1107
+ {
1108
+ "kind": "js",
1109
+ "name": "MainApplication",
1110
+ "declaration": {
1111
+ "name": "MainApplication",
1112
+ "module": "src/main/main.ts"
1113
+ }
1114
+ },
1115
+ {
1116
+ "kind": "custom-element-definition",
1117
+ "declaration": {
1118
+ "name": "MainApplication",
1119
+ "module": "src/main/main.ts"
1120
+ }
1121
+ }
1122
+ ]
1123
+ },
958
1124
  {
959
1125
  "kind": "javascript-module",
960
1126
  "path": "src/profiles/editProfileSchema.ts",
@@ -1246,6 +1412,17 @@
1246
1412
  "module": "src/entities/entities.ts"
1247
1413
  }
1248
1414
  },
1415
+ {
1416
+ "kind": "field",
1417
+ "name": "defaultEntityValues",
1418
+ "type": {
1419
+ "text": "any"
1420
+ },
1421
+ "inheritedFrom": {
1422
+ "name": "EntityManagement",
1423
+ "module": "src/entities/entities.ts"
1424
+ }
1425
+ },
1249
1426
  {
1250
1427
  "kind": "field",
1251
1428
  "name": "editDialogTitle",
@@ -1323,6 +1500,20 @@
1323
1500
  "module": "src/entities/entities.ts"
1324
1501
  }
1325
1502
  },
1503
+ {
1504
+ "kind": "field",
1505
+ "name": "modalPosition",
1506
+ "type": {
1507
+ "text": "'centre' | 'left' | 'right'"
1508
+ },
1509
+ "default": "'right'",
1510
+ "description": "Determines where the modal dialog will appear on screen",
1511
+ "privacy": "public",
1512
+ "inheritedFrom": {
1513
+ "name": "EntityManagement",
1514
+ "module": "src/entities/entities.ts"
1515
+ }
1516
+ },
1326
1517
  {
1327
1518
  "kind": "method",
1328
1519
  "name": "deepClone",
@@ -1357,6 +1548,16 @@
1357
1548
  "module": "src/entities/entities.ts"
1358
1549
  }
1359
1550
  },
1551
+ {
1552
+ "kind": "method",
1553
+ "name": "create",
1554
+ "privacy": "public",
1555
+ "description": "Show the entity create form",
1556
+ "inheritedFrom": {
1557
+ "name": "EntityManagement",
1558
+ "module": "src/entities/entities.ts"
1559
+ }
1560
+ },
1360
1561
  {
1361
1562
  "kind": "method",
1362
1563
  "name": "readEntity",
@@ -1383,6 +1584,23 @@
1383
1584
  "module": "src/entities/entities.ts"
1384
1585
  }
1385
1586
  },
1587
+ {
1588
+ "kind": "method",
1589
+ "name": "criteriaChanged",
1590
+ "privacy": "public",
1591
+ "parameters": [
1592
+ {
1593
+ "name": "e",
1594
+ "type": {
1595
+ "text": "CustomEvent<string>"
1596
+ }
1597
+ }
1598
+ ],
1599
+ "inheritedFrom": {
1600
+ "name": "EntityManagement",
1601
+ "module": "src/entities/entities.ts"
1602
+ }
1603
+ },
1386
1604
  {
1387
1605
  "kind": "method",
1388
1606
  "name": "confirmDelete",
@@ -1547,6 +1765,19 @@
1547
1765
  "name": "EntityManagement",
1548
1766
  "module": "src/entities/entities.ts"
1549
1767
  }
1768
+ },
1769
+ {
1770
+ "name": "modal-position",
1771
+ "type": {
1772
+ "text": "'centre' | 'left' | 'right'"
1773
+ },
1774
+ "default": "'right'",
1775
+ "description": "Determines where the modal dialog will appear on screen",
1776
+ "fieldName": "modalPosition",
1777
+ "inheritedFrom": {
1778
+ "name": "EntityManagement",
1779
+ "module": "src/entities/entities.ts"
1780
+ }
1550
1781
  }
1551
1782
  ]
1552
1783
  }
@@ -1570,159 +1801,6 @@
1570
1801
  }
1571
1802
  ]
1572
1803
  },
1573
- {
1574
- "kind": "javascript-module",
1575
- "path": "src/main/index.ts",
1576
- "declarations": [],
1577
- "exports": [
1578
- {
1579
- "kind": "js",
1580
- "name": "*",
1581
- "declaration": {
1582
- "name": "*",
1583
- "package": "./main.template"
1584
- }
1585
- },
1586
- {
1587
- "kind": "js",
1588
- "name": "*",
1589
- "declaration": {
1590
- "name": "*",
1591
- "package": "./main"
1592
- }
1593
- }
1594
- ]
1595
- },
1596
- {
1597
- "kind": "javascript-module",
1598
- "path": "src/main/main.styles.ts",
1599
- "declarations": [
1600
- {
1601
- "kind": "variable",
1602
- "name": "MainStyles",
1603
- "default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n zero-design-system-provider,\n .dynamic-template,\n foundation-router {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n fast-progress {\n --accent-foreground-rest: #654df9;\n\n height: calc(var(--design-unit) * 1px);\n margin: 0;\n width: 100%;\n }\n`"
1604
- }
1605
- ],
1606
- "exports": [
1607
- {
1608
- "kind": "js",
1609
- "name": "MainStyles",
1610
- "declaration": {
1611
- "name": "MainStyles",
1612
- "module": "src/main/main.styles.ts"
1613
- }
1614
- }
1615
- ]
1616
- },
1617
- {
1618
- "kind": "javascript-module",
1619
- "path": "src/main/main.template.ts",
1620
- "declarations": [],
1621
- "exports": []
1622
- },
1623
- {
1624
- "kind": "javascript-module",
1625
- "path": "src/main/main.ts",
1626
- "declarations": [
1627
- {
1628
- "kind": "class",
1629
- "description": "",
1630
- "name": "MainApplication",
1631
- "members": [
1632
- {
1633
- "kind": "field",
1634
- "name": "config",
1635
- "type": {
1636
- "text": "MainRouterConfig"
1637
- }
1638
- },
1639
- {
1640
- "kind": "field",
1641
- "name": "connect",
1642
- "type": {
1643
- "text": "Connect"
1644
- }
1645
- },
1646
- {
1647
- "kind": "field",
1648
- "name": "session",
1649
- "type": {
1650
- "text": "Session"
1651
- }
1652
- },
1653
- {
1654
- "kind": "field",
1655
- "name": "container",
1656
- "type": {
1657
- "text": "Container"
1658
- }
1659
- },
1660
- {
1661
- "kind": "field",
1662
- "name": "provider",
1663
- "type": {
1664
- "text": "any"
1665
- }
1666
- },
1667
- {
1668
- "kind": "field",
1669
- "name": "ready",
1670
- "type": {
1671
- "text": "boolean"
1672
- },
1673
- "default": "false"
1674
- },
1675
- {
1676
- "kind": "field",
1677
- "name": "data",
1678
- "type": {
1679
- "text": "any"
1680
- },
1681
- "default": "null"
1682
- },
1683
- {
1684
- "kind": "method",
1685
- "name": "onLuminanceToggle"
1686
- },
1687
- {
1688
- "kind": "method",
1689
- "name": "loadRemotes"
1690
- },
1691
- {
1692
- "kind": "method",
1693
- "name": "selectTemplate"
1694
- },
1695
- {
1696
- "kind": "method",
1697
- "name": "registerDIDependencies",
1698
- "privacy": "private"
1699
- }
1700
- ],
1701
- "superclass": {
1702
- "name": "FASTElement",
1703
- "package": "@microsoft/fast-element"
1704
- },
1705
- "customElement": true
1706
- }
1707
- ],
1708
- "exports": [
1709
- {
1710
- "kind": "js",
1711
- "name": "MainApplication",
1712
- "declaration": {
1713
- "name": "MainApplication",
1714
- "module": "src/main/main.ts"
1715
- }
1716
- },
1717
- {
1718
- "kind": "custom-element-definition",
1719
- "declaration": {
1720
- "name": "MainApplication",
1721
- "module": "src/main/main.ts"
1722
- }
1723
- }
1724
- ]
1725
- },
1726
1804
  {
1727
1805
  "kind": "javascript-module",
1728
1806
  "path": "src/routes/config.ts",
@@ -1932,7 +2010,21 @@
1932
2010
  {
1933
2011
  "kind": "javascript-module",
1934
2012
  "path": "src/utils/index.ts",
1935
- "declarations": [],
2013
+ "declarations": [
2014
+ {
2015
+ "kind": "function",
2016
+ "name": "buttonCellRenderer",
2017
+ "parameters": [
2018
+ {
2019
+ "name": "title"
2020
+ },
2021
+ {
2022
+ "name": "clickHandler"
2023
+ }
2024
+ ],
2025
+ "privacy": "public"
2026
+ }
2027
+ ],
1936
2028
  "exports": [
1937
2029
  {
1938
2030
  "kind": "js",
@@ -1949,6 +2041,14 @@
1949
2041
  "name": "*",
1950
2042
  "package": "./logger"
1951
2043
  }
2044
+ },
2045
+ {
2046
+ "kind": "js",
2047
+ "name": "buttonCellRenderer",
2048
+ "declaration": {
2049
+ "name": "buttonCellRenderer",
2050
+ "module": "src/utils/index.ts"
2051
+ }
1952
2052
  }
1953
2053
  ]
1954
2054
  },