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

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 +190 -290
  2. package/dist/dts/entities/entities.d.ts +0 -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 +2 -0
  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 +23 -0
  10. package/dist/dts/list/list.template.d.ts.map +1 -1
  11. package/dist/dts/utils/index.d.ts +0 -26
  12. package/dist/dts/utils/index.d.ts.map +1 -1
  13. package/dist/esm/entities/entities.js +5 -27
  14. package/dist/esm/entities/entities.styles.js +0 -6
  15. package/dist/esm/entities/entities.template.js +3 -16
  16. package/dist/esm/list/list.js +7 -2
  17. package/dist/esm/list/list.styles.js +6 -0
  18. package/dist/esm/list/list.template.js +35 -0
  19. package/dist/esm/utils/index.js +0 -25
  20. package/dist/foundation-entity-management.api.json +0 -167
  21. package/dist/foundation-entity-management.d.ts +0 -39
  22. package/docs/api/foundation-entity-management.entitymanagement.md +0 -4
  23. package/docs/api/foundation-entity-management.md +0 -1
  24. package/docs/api-report.md +0 -31
  25. package/package.json +13 -13
  26. package/docs/api/foundation-entity-management.buttoncellrenderer.md +0 -34
  27. package/docs/api/foundation-entity-management.entitymanagement.create.md +0 -17
  28. package/docs/api/foundation-entity-management.entitymanagement.criteriachanged.md +0 -22
  29. package/docs/api/foundation-entity-management.entitymanagement.defaultentityvalues.md +0 -11
  30. package/docs/api/foundation-entity-management.entitymanagement.modalposition.md +0 -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\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\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`",
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 <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`",
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`",
155
155
  "description": "Defines the html of the entity component as a ViewTemplate object"
156
156
  }
157
157
  ],
@@ -333,13 +333,6 @@
333
333
  "text": "boolean"
334
334
  }
335
335
  },
336
- {
337
- "kind": "field",
338
- "name": "defaultEntityValues",
339
- "type": {
340
- "text": "any"
341
- }
342
- },
343
336
  {
344
337
  "kind": "field",
345
338
  "name": "editDialogTitle",
@@ -389,16 +382,6 @@
389
382
  "text": "boolean"
390
383
  }
391
384
  },
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
- },
402
385
  {
403
386
  "kind": "method",
404
387
  "name": "deepClone",
@@ -425,12 +408,6 @@
425
408
  ],
426
409
  "description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity"
427
410
  },
428
- {
429
- "kind": "method",
430
- "name": "create",
431
- "privacy": "public",
432
- "description": "Show the entity create form"
433
- },
434
411
  {
435
412
  "kind": "method",
436
413
  "name": "readEntity",
@@ -449,19 +426,6 @@
449
426
  "name": "closeModal",
450
427
  "privacy": "public"
451
428
  },
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
- },
465
429
  {
466
430
  "kind": "method",
467
431
  "name": "confirmDelete",
@@ -564,15 +528,6 @@
564
528
  "text": "boolean"
565
529
  },
566
530
  "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"
576
531
  }
577
532
  ],
578
533
  "mixins": [
@@ -688,6 +643,159 @@
688
643
  }
689
644
  ]
690
645
  },
646
+ {
647
+ "kind": "javascript-module",
648
+ "path": "src/main/index.ts",
649
+ "declarations": [],
650
+ "exports": [
651
+ {
652
+ "kind": "js",
653
+ "name": "*",
654
+ "declaration": {
655
+ "name": "*",
656
+ "package": "./main.template"
657
+ }
658
+ },
659
+ {
660
+ "kind": "js",
661
+ "name": "*",
662
+ "declaration": {
663
+ "name": "*",
664
+ "package": "./main"
665
+ }
666
+ }
667
+ ]
668
+ },
669
+ {
670
+ "kind": "javascript-module",
671
+ "path": "src/main/main.styles.ts",
672
+ "declarations": [
673
+ {
674
+ "kind": "variable",
675
+ "name": "MainStyles",
676
+ "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`"
677
+ }
678
+ ],
679
+ "exports": [
680
+ {
681
+ "kind": "js",
682
+ "name": "MainStyles",
683
+ "declaration": {
684
+ "name": "MainStyles",
685
+ "module": "src/main/main.styles.ts"
686
+ }
687
+ }
688
+ ]
689
+ },
690
+ {
691
+ "kind": "javascript-module",
692
+ "path": "src/main/main.template.ts",
693
+ "declarations": [],
694
+ "exports": []
695
+ },
696
+ {
697
+ "kind": "javascript-module",
698
+ "path": "src/main/main.ts",
699
+ "declarations": [
700
+ {
701
+ "kind": "class",
702
+ "description": "",
703
+ "name": "MainApplication",
704
+ "members": [
705
+ {
706
+ "kind": "field",
707
+ "name": "config",
708
+ "type": {
709
+ "text": "MainRouterConfig"
710
+ }
711
+ },
712
+ {
713
+ "kind": "field",
714
+ "name": "connect",
715
+ "type": {
716
+ "text": "Connect"
717
+ }
718
+ },
719
+ {
720
+ "kind": "field",
721
+ "name": "session",
722
+ "type": {
723
+ "text": "Session"
724
+ }
725
+ },
726
+ {
727
+ "kind": "field",
728
+ "name": "container",
729
+ "type": {
730
+ "text": "Container"
731
+ }
732
+ },
733
+ {
734
+ "kind": "field",
735
+ "name": "provider",
736
+ "type": {
737
+ "text": "any"
738
+ }
739
+ },
740
+ {
741
+ "kind": "field",
742
+ "name": "ready",
743
+ "type": {
744
+ "text": "boolean"
745
+ },
746
+ "default": "false"
747
+ },
748
+ {
749
+ "kind": "field",
750
+ "name": "data",
751
+ "type": {
752
+ "text": "any"
753
+ },
754
+ "default": "null"
755
+ },
756
+ {
757
+ "kind": "method",
758
+ "name": "onLuminanceToggle"
759
+ },
760
+ {
761
+ "kind": "method",
762
+ "name": "loadRemotes"
763
+ },
764
+ {
765
+ "kind": "method",
766
+ "name": "selectTemplate"
767
+ },
768
+ {
769
+ "kind": "method",
770
+ "name": "registerDIDependencies",
771
+ "privacy": "private"
772
+ }
773
+ ],
774
+ "superclass": {
775
+ "name": "FASTElement",
776
+ "package": "@microsoft/fast-element"
777
+ },
778
+ "customElement": true
779
+ }
780
+ ],
781
+ "exports": [
782
+ {
783
+ "kind": "js",
784
+ "name": "MainApplication",
785
+ "declaration": {
786
+ "name": "MainApplication",
787
+ "module": "src/main/main.ts"
788
+ }
789
+ },
790
+ {
791
+ "kind": "custom-element-definition",
792
+ "declaration": {
793
+ "name": "MainApplication",
794
+ "module": "src/main/main.ts"
795
+ }
796
+ }
797
+ ]
798
+ },
691
799
  {
692
800
  "kind": "javascript-module",
693
801
  "path": "src/list/index.ts",
@@ -710,7 +818,7 @@
710
818
  {
711
819
  "kind": "variable",
712
820
  "name": "listStyles",
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`"
821
+ "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`"
714
822
  }
715
823
  ],
716
824
  "exports": [
@@ -728,13 +836,33 @@
728
836
  "kind": "javascript-module",
729
837
  "path": "src/list/list.template.ts",
730
838
  "declarations": [
839
+ {
840
+ "kind": "function",
841
+ "name": "buttonCellRenderer",
842
+ "parameters": [
843
+ {
844
+ "name": "title"
845
+ },
846
+ {
847
+ "name": "clickHandler"
848
+ }
849
+ ]
850
+ },
731
851
  {
732
852
  "kind": "variable",
733
853
  "name": "listTemplate",
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`"
854
+ "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`"
735
855
  }
736
856
  ],
737
857
  "exports": [
858
+ {
859
+ "kind": "js",
860
+ "name": "buttonCellRenderer",
861
+ "declaration": {
862
+ "name": "buttonCellRenderer",
863
+ "module": "src/list/list.template.ts"
864
+ }
865
+ },
738
866
  {
739
867
  "kind": "js",
740
868
  "name": "listTemplate",
@@ -836,6 +964,13 @@
836
964
  },
837
965
  "default": "[]"
838
966
  },
967
+ {
968
+ "kind": "field",
969
+ "name": "createEvent",
970
+ "type": {
971
+ "text": "string"
972
+ }
973
+ },
839
974
  {
840
975
  "kind": "field",
841
976
  "name": "deleteEvent",
@@ -880,6 +1015,11 @@
880
1015
  }
881
1016
  ]
882
1017
  },
1018
+ {
1019
+ "kind": "method",
1020
+ "name": "create",
1021
+ "privacy": "public"
1022
+ },
883
1023
  {
884
1024
  "kind": "field",
885
1025
  "name": "edit",
@@ -968,159 +1108,6 @@
968
1108
  }
969
1109
  ]
970
1110
  },
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
- },
1124
1111
  {
1125
1112
  "kind": "javascript-module",
1126
1113
  "path": "src/profiles/editProfileSchema.ts",
@@ -1412,17 +1399,6 @@
1412
1399
  "module": "src/entities/entities.ts"
1413
1400
  }
1414
1401
  },
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
- },
1426
1402
  {
1427
1403
  "kind": "field",
1428
1404
  "name": "editDialogTitle",
@@ -1500,20 +1476,6 @@
1500
1476
  "module": "src/entities/entities.ts"
1501
1477
  }
1502
1478
  },
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
- },
1517
1479
  {
1518
1480
  "kind": "method",
1519
1481
  "name": "deepClone",
@@ -1548,16 +1510,6 @@
1548
1510
  "module": "src/entities/entities.ts"
1549
1511
  }
1550
1512
  },
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
- },
1561
1513
  {
1562
1514
  "kind": "method",
1563
1515
  "name": "readEntity",
@@ -1584,23 +1536,6 @@
1584
1536
  "module": "src/entities/entities.ts"
1585
1537
  }
1586
1538
  },
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
- },
1604
1539
  {
1605
1540
  "kind": "method",
1606
1541
  "name": "confirmDelete",
@@ -1765,19 +1700,6 @@
1765
1700
  "name": "EntityManagement",
1766
1701
  "module": "src/entities/entities.ts"
1767
1702
  }
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
- }
1781
1703
  }
1782
1704
  ]
1783
1705
  }
@@ -2010,21 +1932,7 @@
2010
1932
  {
2011
1933
  "kind": "javascript-module",
2012
1934
  "path": "src/utils/index.ts",
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
- ],
1935
+ "declarations": [],
2028
1936
  "exports": [
2029
1937
  {
2030
1938
  "kind": "js",
@@ -2041,14 +1949,6 @@
2041
1949
  "name": "*",
2042
1950
  "package": "./logger"
2043
1951
  }
2044
- },
2045
- {
2046
- "kind": "js",
2047
- "name": "buttonCellRenderer",
2048
- "declaration": {
2049
- "name": "buttonCellRenderer",
2050
- "module": "src/utils/index.ts"
2051
- }
2052
1952
  }
2053
1953
  ]
2054
1954
  },
@@ -472,7 +472,6 @@ export declare class EntityManagement extends EntityManagement_base {
472
472
  */
473
473
  editedEntity: any;
474
474
  submitting: boolean;
475
- defaultEntityValues: any;
476
475
  /**
477
476
  * String which contains the text of the popup modal when the user is adding or editing an entity
478
477
  */
@@ -483,11 +482,6 @@ export declare class EntityManagement extends EntityManagement_base {
483
482
  sizeColumnsToFit: boolean;
484
483
  enableFilterBar: boolean;
485
484
  enableCellFlashing: boolean;
486
- /**
487
- * Determines where the modal dialog will appear on screen
488
- * @public
489
- */
490
- modalPosition: 'centre' | 'left' | 'right';
491
485
  /**
492
486
  * Set up the web component
493
487
  * @internal
@@ -507,11 +501,6 @@ export declare class EntityManagement extends EntityManagement_base {
507
501
  * @public
508
502
  */
509
503
  submitEntityChanges(e: CustomEvent): Promise<void>;
510
- /**
511
- * Show the entity create form
512
- * @public
513
- */
514
- create(): void;
515
504
  /**
516
505
  * Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
517
506
  *
@@ -528,7 +517,6 @@ export declare class EntityManagement extends EntityManagement_base {
528
517
  private editEntity;
529
518
  private readEntity;
530
519
  closeModal(): void;
531
- criteriaChanged(e: CustomEvent<string>): void;
532
520
  /**
533
521
  * Handler for deleting the entity. Added as an event listener on the class when receiving the `delete-entity` event.
534
522
  *
@@ -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;AASzF,OAAO,EAAuB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AAKvF;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC,CAAC;;;;;;;;;4EAkFxF;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAnFL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAKa,gBAAiB,SAAQ,qBAA2B;IAC/D;;;;;;;OAOG;IACM,SAAS,CAAC,OAAO,EAAG,OAAO,CAAC;IAErC;;;OAGG;IACG,YAAY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mB,CAAC,CAAC,EAAE,WAAW;IAI/C;;;;;OAKG;IACH,OAAO,CAAC,YAAY,CAElB;IAEF;;;;;OAKG;YACW,UAAU;IA4BxB,OAAO,CAAC,UAAU;IAMX,UAAU;IAKjB;;;;;OAKG;IACG,YAAY,CAAC,CAAC,EAAE,WAAW;YAKnB,aAAa;IAoB3B,OAAO,CAAC,sBAAsB;IAgB9B;;;OAGG;IACI,WAAW,CAAC,OAAO,KAAA;IAuB1B;;OAEG;IACI,UAAU,CAAC,KAAK,EAAE,YAAY,EAAE;CAexC"}
@@ -1 +1 @@
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
+ {"version":3,"file":"entities.styles.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,iDAsBlB,CAAC"}