@genesislcap/foundation-entity-management 14.24.2 → 14.24.3-bny.21

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 +137 -37
  2. package/dist/dts/entities/entities.d.ts +12 -0
  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 +39 -0
  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",
@@ -1399,6 +1412,17 @@
1399
1412
  "module": "src/entities/entities.ts"
1400
1413
  }
1401
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
+ },
1402
1426
  {
1403
1427
  "kind": "field",
1404
1428
  "name": "editDialogTitle",
@@ -1476,6 +1500,20 @@
1476
1500
  "module": "src/entities/entities.ts"
1477
1501
  }
1478
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
+ },
1479
1517
  {
1480
1518
  "kind": "method",
1481
1519
  "name": "deepClone",
@@ -1510,6 +1548,16 @@
1510
1548
  "module": "src/entities/entities.ts"
1511
1549
  }
1512
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
+ },
1513
1561
  {
1514
1562
  "kind": "method",
1515
1563
  "name": "readEntity",
@@ -1536,6 +1584,23 @@
1536
1584
  "module": "src/entities/entities.ts"
1537
1585
  }
1538
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
+ },
1539
1604
  {
1540
1605
  "kind": "method",
1541
1606
  "name": "confirmDelete",
@@ -1700,6 +1765,19 @@
1700
1765
  "name": "EntityManagement",
1701
1766
  "module": "src/entities/entities.ts"
1702
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
+ }
1703
1781
  }
1704
1782
  ]
1705
1783
  }
@@ -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
  },
@@ -472,6 +472,7 @@ export declare class EntityManagement extends EntityManagement_base {
472
472
  */
473
473
  editedEntity: any;
474
474
  submitting: boolean;
475
+ defaultEntityValues: any;
475
476
  /**
476
477
  * String which contains the text of the popup modal when the user is adding or editing an entity
477
478
  */
@@ -482,6 +483,11 @@ export declare class EntityManagement extends EntityManagement_base {
482
483
  sizeColumnsToFit: boolean;
483
484
  enableFilterBar: boolean;
484
485
  enableCellFlashing: boolean;
486
+ /**
487
+ * Determines where the modal dialog will appear on screen
488
+ * @public
489
+ */
490
+ modalPosition: 'centre' | 'left' | 'right';
485
491
  /**
486
492
  * Set up the web component
487
493
  * @internal
@@ -501,6 +507,11 @@ export declare class EntityManagement extends EntityManagement_base {
501
507
  * @public
502
508
  */
503
509
  submitEntityChanges(e: CustomEvent): Promise<void>;
510
+ /**
511
+ * Show the entity create form
512
+ * @public
513
+ */
514
+ create(): void;
504
515
  /**
505
516
  * Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
506
517
  *
@@ -517,6 +528,7 @@ export declare class EntityManagement extends EntityManagement_base {
517
528
  private editEntity;
518
529
  private readEntity;
519
530
  closeModal(): void;
531
+ criteriaChanged(e: CustomEvent<string>): void;
520
532
  /**
521
533
  * Handler for deleting the entity. Added as an event listener on the class when receiving the `delete-entity` event.
522
534
  *
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AASz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iDAsBlB,CAAC"}
1
+ {"version":3,"file":"entities.styles.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,iDA4BlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C;;;GAGG;AACH,eAAO,MAAM,QAAQ,uEAwCpB,CAAC"}
1
+ {"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAmB9C;;;GAGG;AACH,eAAO,MAAM,QAAQ,uEA2CpB,CAAC"}
@@ -14,7 +14,6 @@ export declare class List extends FASTElement {
14
14
  columns: ColDef[];
15
15
  datasourceConfig: DatasourceConfiguration;
16
16
  actionButtonsConfig: any[];
17
- createEvent: string;
18
17
  deleteEvent: string;
19
18
  updateEvent: string;
20
19
  connectedCallback(): void;
@@ -22,7 +21,6 @@ export declare class List extends FASTElement {
22
21
  private handleFilterChanged;
23
22
  private handleFilterCleared;
24
23
  private select;
25
- create(): void;
26
24
  private edit;
27
25
  delete(e: any): Promise<void>;
28
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAU,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAC9F,OAAO,EAAuB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAI/D,qBAKa,IAAK,SAAQ,WAAW;IAC7B,YAAY,EAAE,MAAM,CAAM;I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gBAAgB,EAAE,uBAAuB,CAAC;IAC1C,mBAAmB,QAAM;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IAEhC,iBAAiB;IA4BjB,oBAAoB,IAAI,IAAI;IAQ5B,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;CAGf"}
@@ -1 +1 @@
1
- {"version":3,"file":"list.styles.d.ts","sourceRoot":"","sources":["../../../src/list/list.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,iDAyBtB,CAAC"}
1
+ {"version":3,"file":"list.styles.d.ts","sourceRoot":"","sources":["../../../src/list/list.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,iDAmBtB,CAAC"}
@@ -1,26 +1,3 @@
1
1
  import { List } from './list';
2
- export declare const buttonCellRenderer: (title: any, clickHandler: any) => {
3
- width: number;
4
- pinned: string;
5
- enableCellChangeFlash: boolean;
6
- cellStyle: {
7
- padding: string;
8
- lineHeight: string;
9
- };
10
- filter: boolean;
11
- suppressFiltersToolPanel: boolean;
12
- suppressColumnsToolPanel: boolean;
13
- headerName: string;
14
- minWidth: number;
15
- maxWidth: number;
16
- cellRendererSelector: (params: any) => {
17
- component: string;
18
- params: {
19
- actionClick: any;
20
- actionName: any;
21
- appearance: string;
22
- };
23
- };
24
- };
25
2
  export declare const listTemplate: import("@microsoft/fast-element").ViewTemplate<List, any>;
26
3
  //# sourceMappingURL=list.template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;CAsB7B,CAAC;AAEH,eAAO,MAAM,YAAY,2DAkExB,CAAC"}
1
+ {"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY,2DAkDxB,CAAC"}
@@ -1,3 +1,29 @@
1
1
  export * from './formatting';
2
2
  export * from './logger';
3
+ /**
4
+ * @public
5
+ */
6
+ export declare const buttonCellRenderer: (title: any, clickHandler: any) => {
7
+ width: number;
8
+ pinned: string;
9
+ enableCellChangeFlash: boolean;
10
+ cellStyle: {
11
+ padding: string;
12
+ lineHeight: string;
13
+ };
14
+ filter: boolean;
15
+ suppressFiltersToolPanel: boolean;
16
+ suppressColumnsToolPanel: boolean;
17
+ headerName: string;
18
+ minWidth: number;
19
+ maxWidth: number;
20
+ cellRendererSelector: (params: any) => {
21
+ component: string;
22
+ params: {
23
+ actionClick: any;
24
+ actionName: any;
25
+ appearance: string;
26
+ };
27
+ };
28
+ };
3
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AAEzB;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;CAsB7B,CAAC"}
@@ -46,6 +46,11 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
46
46
  */
47
47
  this.entityLabel = '';
48
48
  this.editModalVisible = false;
49
+ /**
50
+ * Determines where the modal dialog will appear on screen
51
+ * @public
52
+ */
53
+ this.modalPosition = 'right';
49
54
  /**
50
55
  * Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
51
56
  *
@@ -82,6 +87,7 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
82
87
  }
83
88
  this.addEventListener('edit-entity', this.editEntity);
84
89
  this.addEventListener('read-entity', this.readEntity);
90
+ this.addEventListener('criteria-changed', this.criteriaChanged);
85
91
  });
86
92
  }
87
93
  /**
@@ -114,6 +120,13 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
114
120
  this.closeModal();
115
121
  });
116
122
  }
123
+ /**
124
+ * Show the entity create form
125
+ * @public
126
+ */
127
+ create() {
128
+ this.editEntity();
129
+ }
117
130
  /**
118
131
  * Sets up and opens the model to either edit or add an entity. Added as an event listener on the class when receiving the `edit-entity` event.
119
132
  *
@@ -122,10 +135,10 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
122
135
  */
123
136
  editEntity(e) {
124
137
  return __awaiter(this, void 0, void 0, function* () {
125
- this.editDialogTitle = `${e.detail ? 'Edit' : 'Add'} ${this.entityLabel}`;
126
- this.formUiSchema = e.detail ? this.updateFormUiSchema : this.createFormUiSchema;
127
- this.formResourceName = e.detail ? this.updateEvent : this.createEvent;
128
- if (e.detail) {
138
+ this.editDialogTitle = `${(e === null || e === void 0 ? void 0 : e.detail) ? 'Edit' : 'Add'} ${this.entityLabel}`;
139
+ this.formUiSchema = (e === null || e === void 0 ? void 0 : e.detail) ? this.updateFormUiSchema : this.createFormUiSchema;
140
+ this.formResourceName = (e === null || e === void 0 ? void 0 : e.detail) ? this.updateEvent : this.createEvent;
141
+ if (e === null || e === void 0 ? void 0 : e.detail) {
129
142
  const _a = e.detail, { ROW_REF } = _a, formData = __rest(_a, ["ROW_REF"]);
130
143
  this.editedEntity = formData;
131
144
  if (this.readEventFn) {
@@ -140,7 +153,7 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
140
153
  }
141
154
  }
142
155
  else {
143
- this.editedEntity = {};
156
+ this.editedEntity = Object.assign({}, this.defaultEntityValues);
144
157
  }
145
158
  this.editModalVisible = true;
146
159
  });
@@ -154,6 +167,9 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
154
167
  this.readonly = false;
155
168
  this.editModalVisible = false;
156
169
  }
170
+ criteriaChanged(e) {
171
+ this.datasourceConfig = Object.assign(Object.assign({}, this.datasourceConfig), { criteria: e.detail });
172
+ }
157
173
  /**
158
174
  * Handler for deleting the entity. Added as an event listener on the class when receiving the `delete-entity` event.
159
175
  *
@@ -292,6 +308,9 @@ __decorate([
292
308
  __decorate([
293
309
  observable
294
310
  ], EntityManagement.prototype, "submitting", void 0);
311
+ __decorate([
312
+ observable
313
+ ], EntityManagement.prototype, "defaultEntityValues", void 0);
295
314
  __decorate([
296
315
  observable
297
316
  ], EntityManagement.prototype, "editDialogTitle", void 0);
@@ -307,6 +326,9 @@ __decorate([
307
326
  __decorate([
308
327
  attr({ mode: 'boolean', attribute: 'enable-cell-flashing' })
309
328
  ], EntityManagement.prototype, "enableCellFlashing", void 0);
329
+ __decorate([
330
+ attr({ attribute: 'modal-position' })
331
+ ], EntityManagement.prototype, "modalPosition", void 0);
310
332
  EntityManagement = __decorate([
311
333
  customElement({
312
334
  name: 'entity-management',
@@ -29,4 +29,10 @@ export const styles = css `
29
29
  .title {
30
30
  margin-left: 1px;
31
31
  }
32
+
33
+ :host::part(header) {
34
+ display: flex;
35
+ justify-content: space-between;
36
+ align-items: center;
37
+ }
32
38
  `;
@@ -3,28 +3,40 @@ import { html, ref, when } from '@microsoft/fast-element';
3
3
  import { List } from '../list';
4
4
  List;
5
5
  Form;
6
+ /**
7
+ * Default header for Entity Management screen
8
+ * @internal
9
+ */
10
+ const defaultHeader = html `
11
+ <h3>${(x) => x.title}</h3>
12
+ ${when((x) => x.createEvent, html `
13
+ <zero-button appearance="accent" @click=${(x, y) => x.create()}>Add</zero-button>
14
+ `)}
15
+ `;
6
16
  /**
7
17
  * Defines the html of the entity component as a ViewTemplate object
8
18
  * @typeParam EntityManagement - the {@link EntityManagement | class} the template is defined for
9
19
  */
10
20
  export const template = html `
11
21
  <div class="container">
22
+ <slot name="header" part="header">${defaultHeader}</slot>
12
23
  <entity-list
13
24
  title=${(x) => x.title}
14
25
  persist-column-state-key=${(x) => x.persistColumnStateKey}
15
26
  size-columns-to-fit=${(x) => x.sizeColumnsToFit}
16
27
  enable-filter-bar=${(x) => x.enableFilterBar}
17
28
  resourceName=${(x) => x.resourceName}
18
- :createEvent=${(x) => x.createEvent}
19
29
  :deleteEvent=${(x) => x.deleteEvent}
20
30
  :updateEvent=${(x) => x.updateEvent}
21
31
  :columns=${(x) => x.columns}
22
32
  :datasourceConfig=${(x) => x.datasourceConfig}
23
33
  data-test-id="entity-list"
24
- ></entity-list>
34
+ >
35
+ <slot name="header" slot="header">${defaultHeader}</slot>
36
+ </entity-list>
25
37
  <zero-modal
26
38
  ${ref('editEntityModal')}
27
- position="right"
39
+ position=${(x) => x.modalPosition}
28
40
  :onCloseCallback=${(x) => x.closeModal.bind(x)}
29
41
  data-test-id="edit-entity-modal"
30
42
  >
@@ -33,6 +45,7 @@ export const template = html `
33
45
  <slot name="edit">
34
46
  ${when((x) => x.editModalVisible, html `
35
47
  <foundation-form
48
+ part="form"
36
49
  resourceName=${(x) => x.formResourceName}
37
50
  :data=${(x) => x.editedEntity}
38
51
  :uischema=${(x) => x.formUiSchema}
@@ -1,8 +1,9 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { Events } from '@ag-grid-community/core';
3
3
  import { attr, customElement, FASTElement, observable } from '@microsoft/fast-element';
4
+ import { buttonCellRenderer } from '../utils';
4
5
  import { listStyles } from './list.styles';
5
- import { buttonCellRenderer, listTemplate } from './list.template';
6
+ import { listTemplate } from './list.template';
6
7
  let List = class List extends FASTElement {
7
8
  constructor() {
8
9
  super(...arguments);
@@ -56,9 +57,6 @@ let List = class List extends FASTElement {
56
57
  select(e) {
57
58
  this.$emit('rowSelected', e);
58
59
  }
59
- create() {
60
- this.$emit('edit-entity');
61
- }
62
60
  delete(e) {
63
61
  return __awaiter(this, void 0, void 0, function* () {
64
62
  this.$emit('delete-entity', e);
@@ -92,9 +90,6 @@ __decorate([
92
90
  __decorate([
93
91
  observable
94
92
  ], List.prototype, "actionButtonsConfig", void 0);
95
- __decorate([
96
- observable
97
- ], List.prototype, "createEvent", void 0);
98
93
  __decorate([
99
94
  observable
100
95
  ], List.prototype, "deleteEvent", void 0);
@@ -18,10 +18,4 @@ export const listStyles = css `
18
18
  height: inherit;
19
19
  width: 100%;
20
20
  }
21
-
22
- .heading {
23
- display: flex;
24
- justify-content: space-between;
25
- align-items: center;
26
- }
27
21
  `;
@@ -1,40 +1,5 @@
1
1
  import { html, ref, repeat, when } from '@microsoft/fast-element';
2
- export const buttonCellRenderer = (title, clickHandler) => ({
3
- width: 100,
4
- pinned: 'right',
5
- enableCellChangeFlash: false,
6
- cellStyle: { padding: '0', lineHeight: '25px' },
7
- filter: false,
8
- suppressFiltersToolPanel: true,
9
- suppressColumnsToolPanel: true,
10
- headerName: '',
11
- minWidth: 100,
12
- maxWidth: 100,
13
- cellRendererSelector: (params) => params.node.group
14
- ? undefined
15
- : {
16
- component: 'action',
17
- params: {
18
- actionClick: clickHandler,
19
- actionName: title,
20
- appearance: 'accent',
21
- },
22
- },
23
- });
24
2
  export const listTemplate = html `
25
- <div class="heading">
26
- <h3 data-test-id="title">${(x) => x.title}</h3>
27
- ${when((x) => x.createEvent, html `
28
- <zero-button
29
- appearance="accent"
30
- @click=${(x) => x.create()}
31
- ?disabled="${(x) => x.addDisabled}"
32
- data-test-id="button-create"
33
- >
34
- Add
35
- </zero-button>
36
- `)}
37
- </div>
38
3
  <div class="container">
39
4
  ${when((x) => x.enableFilterBar, html `
40
5
  <zero-filter-bar
@@ -1,2 +1,27 @@
1
1
  export * from './formatting';
2
2
  export * from './logger';
3
+ /**
4
+ * @public
5
+ */
6
+ export const buttonCellRenderer = (title, clickHandler) => ({
7
+ width: 100,
8
+ pinned: 'right',
9
+ enableCellChangeFlash: false,
10
+ cellStyle: { padding: '0', lineHeight: '25px' },
11
+ filter: false,
12
+ suppressFiltersToolPanel: true,
13
+ suppressColumnsToolPanel: true,
14
+ headerName: '',
15
+ minWidth: 100,
16
+ maxWidth: 100,
17
+ cellRendererSelector: (params) => params.node.group
18
+ ? undefined
19
+ : {
20
+ component: 'action',
21
+ params: {
22
+ actionClick: clickHandler,
23
+ actionName: title,
24
+ appearance: 'accent',
25
+ },
26
+ },
27
+ });
@@ -172,6 +172,29 @@
172
172
  "name": "",
173
173
  "preserveMemberOrder": false,
174
174
  "members": [
175
+ {
176
+ "kind": "Variable",
177
+ "canonicalReference": "@genesislcap/foundation-entity-management!buttonCellRenderer:var",
178
+ "docComment": "/**\n * @public\n */\n",
179
+ "excerptTokens": [
180
+ {
181
+ "kind": "Content",
182
+ "text": "buttonCellRenderer: "
183
+ },
184
+ {
185
+ "kind": "Content",
186
+ "text": "(title: any, clickHandler: any) => {\n width: number;\n pinned: string;\n enableCellChangeFlash: boolean;\n cellStyle: {\n padding: string;\n lineHeight: string;\n };\n filter: boolean;\n suppressFiltersToolPanel: boolean;\n suppressColumnsToolPanel: boolean;\n headerName: string;\n minWidth: number;\n maxWidth: number;\n cellRendererSelector: (params: any) => {\n component: string;\n params: {\n actionClick: any;\n actionName: any;\n appearance: string;\n };\n };\n}"
187
+ }
188
+ ],
189
+ "fileUrlPath": "src/utils/index.ts",
190
+ "isReadonly": true,
191
+ "releaseTag": "Public",
192
+ "name": "buttonCellRenderer",
193
+ "variableTypeTokenRange": {
194
+ "startIndex": 1,
195
+ "endIndex": 2
196
+ }
197
+ },
175
198
  {
176
199
  "kind": "TypeAlias",
177
200
  "canonicalReference": "@genesislcap/foundation-entity-management!DatasourceConfiguration:type",
@@ -334,6 +357,37 @@
334
357
  "isProtected": true,
335
358
  "isAbstract": false
336
359
  },
360
+ {
361
+ "kind": "Method",
362
+ "canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#create:member(1)",
363
+ "docComment": "/**\n * Show the entity create form\n *\n * @public\n */\n",
364
+ "excerptTokens": [
365
+ {
366
+ "kind": "Content",
367
+ "text": "create(): "
368
+ },
369
+ {
370
+ "kind": "Content",
371
+ "text": "void"
372
+ },
373
+ {
374
+ "kind": "Content",
375
+ "text": ";"
376
+ }
377
+ ],
378
+ "isStatic": false,
379
+ "returnTypeTokenRange": {
380
+ "startIndex": 1,
381
+ "endIndex": 2
382
+ },
383
+ "releaseTag": "Public",
384
+ "isProtected": false,
385
+ "overloadIndex": 1,
386
+ "parameters": [],
387
+ "isOptional": false,
388
+ "isAbstract": false,
389
+ "name": "create"
390
+ },
337
391
  {
338
392
  "kind": "Property",
339
393
  "canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#createEvent:member",
@@ -394,6 +448,59 @@
394
448
  "isProtected": false,
395
449
  "isAbstract": false
396
450
  },
451
+ {
452
+ "kind": "Method",
453
+ "canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#criteriaChanged:member(1)",
454
+ "docComment": "",
455
+ "excerptTokens": [
456
+ {
457
+ "kind": "Content",
458
+ "text": "criteriaChanged(e: "
459
+ },
460
+ {
461
+ "kind": "Reference",
462
+ "text": "CustomEvent",
463
+ "canonicalReference": "!CustomEvent:interface"
464
+ },
465
+ {
466
+ "kind": "Content",
467
+ "text": "<string>"
468
+ },
469
+ {
470
+ "kind": "Content",
471
+ "text": "): "
472
+ },
473
+ {
474
+ "kind": "Content",
475
+ "text": "void"
476
+ },
477
+ {
478
+ "kind": "Content",
479
+ "text": ";"
480
+ }
481
+ ],
482
+ "isStatic": false,
483
+ "returnTypeTokenRange": {
484
+ "startIndex": 4,
485
+ "endIndex": 5
486
+ },
487
+ "releaseTag": "Public",
488
+ "isProtected": false,
489
+ "overloadIndex": 1,
490
+ "parameters": [
491
+ {
492
+ "parameterName": "e",
493
+ "parameterTypeTokenRange": {
494
+ "startIndex": 1,
495
+ "endIndex": 3
496
+ },
497
+ "isOptional": false
498
+ }
499
+ ],
500
+ "isOptional": false,
501
+ "isAbstract": false,
502
+ "name": "criteriaChanged"
503
+ },
397
504
  {
398
505
  "kind": "Property",
399
506
  "canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#datasourceConfig:member",
@@ -457,6 +564,36 @@
457
564
  "isAbstract": false,
458
565
  "name": "deepClone"
459
566
  },
567
+ {
568
+ "kind": "Property",
569
+ "canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#defaultEntityValues:member",
570
+ "docComment": "",
571
+ "excerptTokens": [
572
+ {
573
+ "kind": "Content",
574
+ "text": "defaultEntityValues: "
575
+ },
576
+ {
577
+ "kind": "Content",
578
+ "text": "any"
579
+ },
580
+ {
581
+ "kind": "Content",
582
+ "text": ";"
583
+ }
584
+ ],
585
+ "isReadonly": false,
586
+ "isOptional": false,
587
+ "releaseTag": "Public",
588
+ "name": "defaultEntityValues",
589
+ "propertyTypeTokenRange": {
590
+ "startIndex": 1,
591
+ "endIndex": 2
592
+ },
593
+ "isStatic": false,
594
+ "isProtected": false,
595
+ "isAbstract": false
596
+ },
460
597
  {
461
598
  "kind": "Property",
462
599
  "canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#deleteEvent:member",
@@ -758,6 +895,36 @@
758
895
  "isProtected": false,
759
896
  "isAbstract": false
760
897
  },
898
+ {
899
+ "kind": "Property",
900
+ "canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#modalPosition:member",
901
+ "docComment": "/**\n * Determines where the modal dialog will appear on screen\n *\n * @public\n */\n",
902
+ "excerptTokens": [
903
+ {
904
+ "kind": "Content",
905
+ "text": "modalPosition: "
906
+ },
907
+ {
908
+ "kind": "Content",
909
+ "text": "'centre' | 'left' | 'right'"
910
+ },
911
+ {
912
+ "kind": "Content",
913
+ "text": ";"
914
+ }
915
+ ],
916
+ "isReadonly": false,
917
+ "isOptional": false,
918
+ "releaseTag": "Public",
919
+ "name": "modalPosition",
920
+ "propertyTypeTokenRange": {
921
+ "startIndex": 1,
922
+ "endIndex": 2
923
+ },
924
+ "isStatic": false,
925
+ "isProtected": false,
926
+ "isAbstract": false
927
+ },
761
928
  {
762
929
  "kind": "Property",
763
930
  "canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#persistColumnStateKey:member",
@@ -18,6 +18,33 @@ import { RouterConfiguration } from '@microsoft/fast-router';
18
18
  import { Session } from '@genesislcap/foundation-comms';
19
19
  import { ViewTemplate } from '@microsoft/fast-element';
20
20
 
21
+ /**
22
+ * @public
23
+ */
24
+ export declare const buttonCellRenderer: (title: any, clickHandler: any) => {
25
+ width: number;
26
+ pinned: string;
27
+ enableCellChangeFlash: boolean;
28
+ cellStyle: {
29
+ padding: string;
30
+ lineHeight: string;
31
+ };
32
+ filter: boolean;
33
+ suppressFiltersToolPanel: boolean;
34
+ suppressColumnsToolPanel: boolean;
35
+ headerName: string;
36
+ minWidth: number;
37
+ maxWidth: number;
38
+ cellRendererSelector: (params: any) => {
39
+ component: string;
40
+ params: {
41
+ actionClick: any;
42
+ actionName: any;
43
+ appearance: string;
44
+ };
45
+ };
46
+ };
47
+
21
48
  /**
22
49
  * The attribute which is set to configure the resource that the entity manager is working with
23
50
  *
@@ -166,6 +193,7 @@ export declare class EntityManagement extends EntityManagement_base {
166
193
  */
167
194
  editedEntity: any;
168
195
  submitting: boolean;
196
+ defaultEntityValues: any;
169
197
  /**
170
198
  * String which contains the text of the popup modal when the user is adding or editing an entity
171
199
  */
@@ -176,6 +204,11 @@ export declare class EntityManagement extends EntityManagement_base {
176
204
  sizeColumnsToFit: boolean;
177
205
  enableFilterBar: boolean;
178
206
  enableCellFlashing: boolean;
207
+ /**
208
+ * Determines where the modal dialog will appear on screen
209
+ * @public
210
+ */
211
+ modalPosition: 'centre' | 'left' | 'right';
179
212
  /**
180
213
  * Set up the web component
181
214
  * @internal
@@ -195,6 +228,11 @@ export declare class EntityManagement extends EntityManagement_base {
195
228
  * @public
196
229
  */
197
230
  submitEntityChanges(e: CustomEvent): Promise<void>;
231
+ /**
232
+ * Show the entity create form
233
+ * @public
234
+ */
235
+ create(): void;
198
236
  /**
199
237
  * Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
200
238
  *
@@ -211,6 +249,7 @@ export declare class EntityManagement extends EntityManagement_base {
211
249
  private editEntity;
212
250
  private readEntity;
213
251
  closeModal(): void;
252
+ criteriaChanged(e: CustomEvent<string>): void;
214
253
  /**
215
254
  * Handler for deleting the entity. Added as an event listener on the class when receiving the `delete-entity` event.
216
255
  *
@@ -0,0 +1,34 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [buttonCellRenderer](./foundation-entity-management.buttoncellrenderer.md)
4
+
5
+ ## buttonCellRenderer variable
6
+
7
+
8
+ **Signature:**
9
+
10
+ ```typescript
11
+ buttonCellRenderer: (title: any, clickHandler: any) => {
12
+ width: number;
13
+ pinned: string;
14
+ enableCellChangeFlash: boolean;
15
+ cellStyle: {
16
+ padding: string;
17
+ lineHeight: string;
18
+ };
19
+ filter: boolean;
20
+ suppressFiltersToolPanel: boolean;
21
+ suppressColumnsToolPanel: boolean;
22
+ headerName: string;
23
+ minWidth: number;
24
+ maxWidth: number;
25
+ cellRendererSelector: (params: any) => {
26
+ component: string;
27
+ params: {
28
+ actionClick: any;
29
+ actionName: any;
30
+ appearance: string;
31
+ };
32
+ };
33
+ }
34
+ ```
@@ -0,0 +1,17 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [create](./foundation-entity-management.entitymanagement.create.md)
4
+
5
+ ## EntityManagement.create() method
6
+
7
+ Show the entity create form
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ create(): void;
13
+ ```
14
+ **Returns:**
15
+
16
+ void
17
+
@@ -0,0 +1,22 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [criteriaChanged](./foundation-entity-management.entitymanagement.criteriachanged.md)
4
+
5
+ ## EntityManagement.criteriaChanged() method
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ criteriaChanged(e: CustomEvent<string>): void;
11
+ ```
12
+
13
+ ## Parameters
14
+
15
+ | Parameter | Type | Description |
16
+ | --- | --- | --- |
17
+ | e | CustomEvent&lt;string&gt; | |
18
+
19
+ **Returns:**
20
+
21
+ void
22
+
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [defaultEntityValues](./foundation-entity-management.entitymanagement.defaultentityvalues.md)
4
+
5
+ ## EntityManagement.defaultEntityValues property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ defaultEntityValues: any;
11
+ ```
@@ -41,6 +41,7 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
41
41
  | [createEvent](./foundation-entity-management.entitymanagement.createevent.md) | | string | Name of the event handler on the Genesis server which handles creating an entity |
42
42
  | [createFormUiSchema](./foundation-entity-management.entitymanagement.createformuischema.md) | | any | |
43
43
  | [datasourceConfig](./foundation-entity-management.entitymanagement.datasourceconfig.md) | | [DatasourceConfiguration](./foundation-entity-management.datasourceconfiguration.md) | The configuration which is used when interacting with the resource on the backend |
44
+ | [defaultEntityValues](./foundation-entity-management.entitymanagement.defaultentityvalues.md) | | any | |
44
45
  | [deleteEvent](./foundation-entity-management.entitymanagement.deleteevent.md) | | string | Name of the event handler on the Genesis server which handles deleting the entity |
45
46
  | [editDialogTitle](./foundation-entity-management.entitymanagement.editdialogtitle.md) | | string | String which contains the text of the popup modal when the user is adding or editing an entity |
46
47
  | [editedEntity](./foundation-entity-management.entitymanagement.editedentity.md) | | any | Disables the form while enabled to stop the user dispatching a large number of duplicate events |
@@ -50,6 +51,7 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
50
51
  | [enableFilterBar](./foundation-entity-management.entitymanagement.enablefilterbar.md) | | boolean | |
51
52
  | [entityLabel](./foundation-entity-management.entitymanagement.entitylabel.md) | | string | Label for the entity which has usages such as being shown in the title of the modal wen editing the entity |
52
53
  | [formUiSchema](./foundation-entity-management.entitymanagement.formuischema.md) | | any | |
54
+ | [modalPosition](./foundation-entity-management.entitymanagement.modalposition.md) | | 'centre' \| 'left' \| 'right' | Determines where the modal dialog will appear on screen |
53
55
  | [persistColumnStateKey](./foundation-entity-management.entitymanagement.persistcolumnstatekey.md) | | string | This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it. |
54
56
  | [readEvent](./foundation-entity-management.entitymanagement.readevent.md) | | string | |
55
57
  | [readEventFn](./foundation-entity-management.entitymanagement.readeventfn.md) | | (...args: any\[\]) =&gt; {} | |
@@ -67,6 +69,8 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
67
69
  | Method | Modifiers | Description |
68
70
  | --- | --- | --- |
69
71
  | [closeModal()](./foundation-entity-management.entitymanagement.closemodal.md) | | |
72
+ | [create()](./foundation-entity-management.entitymanagement.create.md) | | Show the entity create form |
73
+ | [criteriaChanged(e)](./foundation-entity-management.entitymanagement.criteriachanged.md) | | |
70
74
  | [deepClone()](./foundation-entity-management.entitymanagement.deepclone.md) | | Override the deepClone method to ensure that observable attributes are cloned |
71
75
  | [editModalVisibleChanged()](./foundation-entity-management.entitymanagement.editmodalvisiblechanged.md) | | |
72
76
  | [submitEntityChanges(e)](./foundation-entity-management.entitymanagement.submitentitychanges.md) | | Event handler for when the user submits the action for the currently open form, either editing or adding the entity |
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [modalPosition](./foundation-entity-management.entitymanagement.modalposition.md)
4
+
5
+ ## EntityManagement.modalPosition property
6
+
7
+ Determines where the modal dialog will appear on screen
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ modalPosition: 'centre' | 'left' | 'right';
13
+ ```
@@ -17,6 +17,7 @@
17
17
 
18
18
  | Variable | Description |
19
19
  | --- | --- |
20
+ | [buttonCellRenderer](./foundation-entity-management.buttoncellrenderer.md) | |
20
21
  | [getErrorFormat](./foundation-entity-management.geterrorformat.md) | Format the error as a string with a different format depending on whether <code>err</code> has a <code>FIELD</code> property or not |
21
22
  | [logger](./foundation-entity-management.logger.md) | |
22
23
  | [UsersColumnConfig](./foundation-entity-management.userscolumnconfig.md) | Defines the default columns which are present on the user management component |
@@ -24,6 +24,31 @@ import { RouterConfiguration } from '@microsoft/fast-router';
24
24
  import { Session } from '@genesislcap/foundation-comms';
25
25
  import { ViewTemplate } from '@microsoft/fast-element';
26
26
 
27
+ // @public (undocumented)
28
+ export const buttonCellRenderer: (title: any, clickHandler: any) => {
29
+ width: number;
30
+ pinned: string;
31
+ enableCellChangeFlash: boolean;
32
+ cellStyle: {
33
+ padding: string;
34
+ lineHeight: string;
35
+ };
36
+ filter: boolean;
37
+ suppressFiltersToolPanel: boolean;
38
+ suppressColumnsToolPanel: boolean;
39
+ headerName: string;
40
+ minWidth: number;
41
+ maxWidth: number;
42
+ cellRendererSelector: (params: any) => {
43
+ component: string;
44
+ params: {
45
+ actionClick: any;
46
+ actionName: any;
47
+ appearance: string;
48
+ };
49
+ };
50
+ };
51
+
27
52
  // @public
28
53
  export type DatasourceConfiguration = Omit<DatasourceOptions, 'resourceName' | 'request'>;
29
54
 
@@ -42,11 +67,16 @@ export class EntityManagement extends EntityManagement_base {
42
67
  protected connect: Connect;
43
68
  // @internal
44
69
  connectedCallback(): Promise<void>;
70
+ create(): void;
45
71
  createEvent: string;
46
72
  // (undocumented)
47
73
  createFormUiSchema: any;
74
+ // (undocumented)
75
+ criteriaChanged(e: CustomEvent<string>): void;
48
76
  datasourceConfig: DatasourceConfiguration;
49
77
  deepClone(): Node;
78
+ // (undocumented)
79
+ defaultEntityValues: any;
50
80
  // @internal
51
81
  deleteEntity(e: CustomEvent): Promise<void>;
52
82
  deleteEvent: string;
@@ -71,6 +101,7 @@ export class EntityManagement extends EntityManagement_base {
71
101
  formResourceName: string;
72
102
  // (undocumented)
73
103
  formUiSchema: any;
104
+ modalPosition: 'centre' | 'left' | 'right';
74
105
  persistColumnStateKey: string;
75
106
  // (undocumented)
76
107
  readEvent: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-entity-management",
3
3
  "description": "Genesis Foundation Entity Management",
4
- "version": "14.24.2",
4
+ "version": "14.24.3-bny.21",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -39,8 +39,8 @@
39
39
  "test:unit:watch": "watchlist src test -- npm run test:unit"
40
40
  },
41
41
  "devDependencies": {
42
- "@genesislcap/foundation-testing": "^14.24.2",
43
- "@genesislcap/genx": "^14.24.2",
42
+ "@genesislcap/foundation-testing": "14.24.3-bny.21",
43
+ "@genesislcap/genx": "14.24.3-bny.21",
44
44
  "@playwright/test": "^1.18.1",
45
45
  "bulma": "^0.9.3",
46
46
  "c8": "^7.11.0",
@@ -81,15 +81,15 @@
81
81
  "webpack-merge": "^5.7.3"
82
82
  },
83
83
  "dependencies": {
84
- "@genesislcap/foundation-comms": "^14.24.2",
85
- "@genesislcap/foundation-errors": "^14.24.2",
86
- "@genesislcap/foundation-forms": "^14.24.2",
87
- "@genesislcap/foundation-login": "^14.24.2",
88
- "@genesislcap/foundation-ui": "^14.24.2",
89
- "@genesislcap/foundation-utils": "^14.24.2",
90
- "@genesislcap/foundation-zero": "^14.24.2",
91
- "@genesislcap/foundation-zero-grid-pro": "^14.24.2",
92
- "@genesislcap/grid-pro": "^14.24.2",
84
+ "@genesislcap/foundation-comms": "14.24.3-bny.21",
85
+ "@genesislcap/foundation-errors": "14.24.3-bny.21",
86
+ "@genesislcap/foundation-forms": "14.24.3-bny.21",
87
+ "@genesislcap/foundation-login": "14.24.3-bny.21",
88
+ "@genesislcap/foundation-ui": "14.24.3-bny.21",
89
+ "@genesislcap/foundation-utils": "14.24.3-bny.21",
90
+ "@genesislcap/foundation-zero": "14.24.3-bny.21",
91
+ "@genesislcap/foundation-zero-grid-pro": "14.24.3-bny.21",
92
+ "@genesislcap/grid-pro": "14.24.3-bny.21",
93
93
  "@microsoft/fast-components": "^2.21.3",
94
94
  "@microsoft/fast-element": "^1.7.0",
95
95
  "@microsoft/fast-foundation": "^2.33.2",
@@ -114,5 +114,5 @@
114
114
  "access": "public"
115
115
  },
116
116
  "customElements": "dist/custom-elements.json",
117
- "gitHead": "a4cd30274c02f59472b48654d8e749c2e2b28f1d"
117
+ "gitHead": "56ed5cdfc809ddd6dbd99fa51b750ee9618d0e58"
118
118
  }