@genesislcap/foundation-entity-management 14.65.2 → 14.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +681 -681
  2. package/package.json +13 -13
@@ -724,7 +724,7 @@
724
724
  },
725
725
  {
726
726
  "kind": "javascript-module",
727
- "path": "src/list/index.ts",
727
+ "path": "src/main/index.ts",
728
728
  "declarations": [],
729
729
  "exports": [
730
730
  {
@@ -732,109 +732,93 @@
732
732
  "name": "*",
733
733
  "declaration": {
734
734
  "name": "*",
735
- "package": "./list"
735
+ "package": "./main.template"
736
736
  }
737
- }
738
- ]
739
- },
740
- {
741
- "kind": "javascript-module",
742
- "path": "src/list/list.styles.ts",
743
- "declarations": [
744
- {
745
- "kind": "variable",
746
- "name": "listStyles",
747
- "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`"
748
- }
749
- ],
750
- "exports": [
737
+ },
751
738
  {
752
739
  "kind": "js",
753
- "name": "listStyles",
740
+ "name": "*",
754
741
  "declaration": {
755
- "name": "listStyles",
756
- "module": "src/list/list.styles.ts"
742
+ "name": "*",
743
+ "package": "./main"
757
744
  }
758
745
  }
759
746
  ]
760
747
  },
761
748
  {
762
749
  "kind": "javascript-module",
763
- "path": "src/list/list.template.ts",
750
+ "path": "src/main/main.styles.ts",
764
751
  "declarations": [
765
752
  {
766
753
  "kind": "variable",
767
- "name": "listTemplate",
768
- "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 :deferredGridOptions=${(x) => x.gridOptions}\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`"
754
+ "name": "MainStyles",
755
+ "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`"
769
756
  }
770
757
  ],
771
758
  "exports": [
772
759
  {
773
760
  "kind": "js",
774
- "name": "listTemplate",
761
+ "name": "MainStyles",
775
762
  "declaration": {
776
- "name": "listTemplate",
777
- "module": "src/list/list.template.ts"
763
+ "name": "MainStyles",
764
+ "module": "src/main/main.styles.ts"
778
765
  }
779
766
  }
780
767
  ]
781
768
  },
782
769
  {
783
770
  "kind": "javascript-module",
784
- "path": "src/list/list.ts",
771
+ "path": "src/main/main.template.ts",
772
+ "declarations": [],
773
+ "exports": []
774
+ },
775
+ {
776
+ "kind": "javascript-module",
777
+ "path": "src/main/main.ts",
785
778
  "declarations": [
786
779
  {
787
780
  "kind": "class",
788
781
  "description": "",
789
- "name": "List",
782
+ "name": "MainApplication",
790
783
  "members": [
791
784
  {
792
785
  "kind": "field",
793
- "name": "resourceName",
794
- "type": {
795
- "text": "string"
796
- },
797
- "default": "''"
798
- },
799
- {
800
- "kind": "field",
801
- "name": "title",
786
+ "name": "config",
802
787
  "type": {
803
- "text": "string"
804
- },
805
- "default": "''"
788
+ "text": "MainRouterConfig"
789
+ }
806
790
  },
807
791
  {
808
792
  "kind": "field",
809
- "name": "persistColumnStateKey",
793
+ "name": "connect",
810
794
  "type": {
811
- "text": "string"
795
+ "text": "Connect"
812
796
  }
813
797
  },
814
798
  {
815
799
  "kind": "field",
816
- "name": "sizeColumnsToFit",
800
+ "name": "session",
817
801
  "type": {
818
- "text": "boolean"
802
+ "text": "Session"
819
803
  }
820
804
  },
821
805
  {
822
806
  "kind": "field",
823
- "name": "enableFilterBar",
807
+ "name": "container",
824
808
  "type": {
825
- "text": "boolean"
809
+ "text": "Container"
826
810
  }
827
811
  },
828
812
  {
829
813
  "kind": "field",
830
- "name": "enableCellFlashing",
814
+ "name": "provider",
831
815
  "type": {
832
- "text": "boolean"
816
+ "text": "any"
833
817
  }
834
818
  },
835
819
  {
836
820
  "kind": "field",
837
- "name": "hideEdit",
821
+ "name": "ready",
838
822
  "type": {
839
823
  "text": "boolean"
840
824
  },
@@ -842,269 +826,234 @@
842
826
  },
843
827
  {
844
828
  "kind": "field",
845
- "name": "hideDelete",
829
+ "name": "data",
846
830
  "type": {
847
- "text": "boolean"
831
+ "text": "any"
848
832
  },
849
- "default": "false"
833
+ "default": "null"
834
+ },
835
+ {
836
+ "kind": "method",
837
+ "name": "onLuminanceToggle"
838
+ },
839
+ {
840
+ "kind": "method",
841
+ "name": "loadRemotes"
842
+ },
843
+ {
844
+ "kind": "method",
845
+ "name": "selectTemplate"
846
+ },
847
+ {
848
+ "kind": "method",
849
+ "name": "registerDIDependencies",
850
+ "privacy": "private"
851
+ }
852
+ ],
853
+ "superclass": {
854
+ "name": "FASTElement",
855
+ "package": "@microsoft/fast-element"
856
+ },
857
+ "customElement": true
858
+ }
859
+ ],
860
+ "exports": [
861
+ {
862
+ "kind": "js",
863
+ "name": "MainApplication",
864
+ "declaration": {
865
+ "name": "MainApplication",
866
+ "module": "src/main/main.ts"
867
+ }
868
+ },
869
+ {
870
+ "kind": "custom-element-definition",
871
+ "declaration": {
872
+ "name": "MainApplication",
873
+ "module": "src/main/main.ts"
874
+ }
875
+ }
876
+ ]
877
+ },
878
+ {
879
+ "kind": "javascript-module",
880
+ "path": "src/profiles/editProfileSchema.ts",
881
+ "declarations": [
882
+ {
883
+ "kind": "variable",
884
+ "name": "editProfileFormSchema",
885
+ "type": {
886
+ "text": "object"
887
+ },
888
+ "default": "{\n type: 'VerticalLayout',\n elements: [\n {\n type: 'Control',\n label: 'Name',\n scope: '#/properties/NAME',\n },\n {\n type: 'Control',\n label: 'Description',\n scope: '#/properties/DESCRIPTION',\n },\n {\n type: 'Control',\n label: 'Status',\n scope: '#/properties/STATUS',\n },\n {\n type: 'Control',\n label: 'Rights',\n scope: '#/properties/RIGHT_CODES',\n options: {\n allOptionsResourceName: 'RIGHT',\n valueField: 'CODE',\n labelField: 'CODE',\n },\n },\n {\n type: 'Control',\n label: 'Users',\n scope: '#/properties/USER_NAMES',\n options: {\n allOptionsResourceName: 'USER',\n valueField: 'USER_NAME',\n labelField: 'USER_NAME',\n },\n },\n ],\n}"
889
+ }
890
+ ],
891
+ "exports": [
892
+ {
893
+ "kind": "js",
894
+ "name": "editProfileFormSchema",
895
+ "declaration": {
896
+ "name": "editProfileFormSchema",
897
+ "module": "src/profiles/editProfileSchema.ts"
898
+ }
899
+ }
900
+ ]
901
+ },
902
+ {
903
+ "kind": "javascript-module",
904
+ "path": "src/profiles/profiles.ts",
905
+ "declarations": [
906
+ {
907
+ "kind": "class",
908
+ "description": "Main class which defined the profile management functionality",
909
+ "name": "Profiles",
910
+ "members": [
911
+ {
912
+ "kind": "method",
913
+ "name": "readProfileData",
914
+ "privacy": "public",
915
+ "parameters": [
916
+ {
917
+ "name": "profile"
918
+ }
919
+ ]
920
+ },
921
+ {
922
+ "kind": "method",
923
+ "name": "confirmDelete",
924
+ "inheritedFrom": {
925
+ "name": "EntityManagement",
926
+ "module": "src/entities/entities.ts"
927
+ }
850
928
  },
851
929
  {
852
930
  "kind": "field",
853
- "name": "grid",
931
+ "name": "createEvent",
854
932
  "type": {
855
- "text": "ZeroGridPro"
933
+ "text": "string"
856
934
  },
857
- "privacy": "public"
935
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
936
+ "privacy": "public",
937
+ "inheritedFrom": {
938
+ "name": "EntityManagement",
939
+ "module": "src/entities/entities.ts"
940
+ }
858
941
  },
859
942
  {
860
943
  "kind": "field",
861
- "name": "datasource",
944
+ "name": "deleteEvent",
862
945
  "type": {
863
- "text": "GridProGenesisDatasource"
946
+ "text": "string"
864
947
  },
865
- "privacy": "public"
948
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
949
+ "privacy": "public",
950
+ "inheritedFrom": {
951
+ "name": "EntityManagement",
952
+ "module": "src/entities/entities.ts"
953
+ }
866
954
  },
867
955
  {
868
956
  "kind": "field",
869
- "name": "gridOptions",
957
+ "name": "updateEvent",
870
958
  "type": {
871
- "text": "GridOptions"
959
+ "text": "string"
960
+ },
961
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
962
+ "privacy": "public",
963
+ "inheritedFrom": {
964
+ "name": "EntityManagement",
965
+ "module": "src/entities/entities.ts"
872
966
  }
873
967
  },
874
968
  {
875
969
  "kind": "field",
876
- "name": "columns",
970
+ "name": "persistColumnStateKey",
877
971
  "type": {
878
- "text": "ColDef[]"
972
+ "text": "string"
973
+ },
974
+ "description": "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.",
975
+ "privacy": "public",
976
+ "default": "'entity_profiles_management'",
977
+ "inheritedFrom": {
978
+ "name": "EntityManagement",
979
+ "module": "src/entities/entities.ts"
879
980
  }
880
981
  },
881
982
  {
882
983
  "kind": "field",
883
- "name": "datasourceConfig",
984
+ "name": "updateFormUiSchema",
884
985
  "type": {
885
- "text": "DatasourceConfiguration"
986
+ "text": "any"
987
+ },
988
+ "default": "editProfileFormSchema",
989
+ "inheritedFrom": {
990
+ "name": "EntityManagement",
991
+ "module": "src/entities/entities.ts"
886
992
  }
887
993
  },
888
994
  {
889
995
  "kind": "field",
890
- "name": "actionButtonsConfig",
996
+ "name": "createFormUiSchema",
891
997
  "type": {
892
- "text": "array"
998
+ "text": "any"
893
999
  },
894
- "default": "[]"
1000
+ "default": "editProfileFormSchema",
1001
+ "inheritedFrom": {
1002
+ "name": "EntityManagement",
1003
+ "module": "src/entities/entities.ts"
1004
+ }
895
1005
  },
896
1006
  {
897
1007
  "kind": "field",
898
- "name": "deleteEvent",
1008
+ "name": "readEventFn",
899
1009
  "type": {
900
- "text": "string"
1010
+ "text": "(...args) => {}"
1011
+ },
1012
+ "inheritedFrom": {
1013
+ "name": "EntityManagement",
1014
+ "module": "src/entities/entities.ts"
901
1015
  }
902
1016
  },
903
1017
  {
904
1018
  "kind": "field",
905
- "name": "updateEvent",
906
- "type": {
907
- "text": "string"
908
- }
909
- },
910
- {
911
- "kind": "method",
912
- "name": "handleFilterChanged",
913
- "privacy": "private",
914
- "parameters": [
915
- {
916
- "name": "e"
917
- }
918
- ]
919
- },
920
- {
921
- "kind": "method",
922
- "name": "handleFilterCleared",
923
- "privacy": "private",
924
- "parameters": [
925
- {
926
- "name": "e"
927
- }
928
- ]
929
- },
930
- {
931
- "kind": "method",
932
- "name": "select",
933
- "privacy": "private",
934
- "parameters": [
935
- {
936
- "name": "e"
937
- }
938
- ]
939
- },
940
- {
941
- "kind": "field",
942
- "name": "edit",
943
- "privacy": "private"
944
- },
945
- {
946
- "kind": "method",
947
- "name": "delete",
948
- "parameters": [
949
- {
950
- "name": "e"
951
- }
952
- ]
953
- }
954
- ],
955
- "attributes": [
956
- {
957
- "name": "resourceName",
1019
+ "name": "resourceName",
958
1020
  "type": {
959
1021
  "text": "string"
960
1022
  },
961
- "default": "''",
962
- "fieldName": "resourceName"
1023
+ "description": "Name of the backend resource which contain the entities to manage",
1024
+ "privacy": "public",
1025
+ "default": "'ALL_PROFILES'",
1026
+ "inheritedFrom": {
1027
+ "name": "EntityManagement",
1028
+ "module": "src/entities/entities.ts"
1029
+ }
963
1030
  },
964
1031
  {
1032
+ "kind": "field",
965
1033
  "name": "title",
966
1034
  "type": {
967
1035
  "text": "string"
968
1036
  },
969
- "default": "''",
970
- "fieldName": "title"
1037
+ "description": "Title of the grid",
1038
+ "privacy": "public",
1039
+ "default": "'Profile Management'",
1040
+ "inheritedFrom": {
1041
+ "name": "EntityManagement",
1042
+ "module": "src/entities/entities.ts"
1043
+ }
971
1044
  },
972
1045
  {
973
- "name": "persist-column-state-key",
1046
+ "kind": "field",
1047
+ "name": "entityLabel",
974
1048
  "type": {
975
1049
  "text": "string"
976
1050
  },
977
- "fieldName": "persistColumnStateKey"
978
- },
979
- {
980
- "name": "size-columns-to-fit",
981
- "type": {
982
- "text": "boolean"
983
- },
984
- "fieldName": "sizeColumnsToFit"
985
- },
986
- {
987
- "name": "enable-filter-bar",
988
- "type": {
989
- "text": "boolean"
990
- },
991
- "fieldName": "enableFilterBar"
992
- },
993
- {
994
- "name": "enable-cell-flashing",
995
- "type": {
996
- "text": "boolean"
997
- },
998
- "fieldName": "enableCellFlashing"
999
- },
1000
- {
1001
- "name": "hide-edit",
1002
- "type": {
1003
- "text": "boolean"
1004
- },
1005
- "default": "false",
1006
- "fieldName": "hideEdit"
1007
- },
1008
- {
1009
- "name": "hide-delete",
1010
- "type": {
1011
- "text": "boolean"
1012
- },
1013
- "default": "false",
1014
- "fieldName": "hideDelete"
1015
- }
1016
- ],
1017
- "superclass": {
1018
- "name": "FASTElement",
1019
- "package": "@microsoft/fast-element"
1020
- },
1021
- "tagName": "entity-list",
1022
- "customElement": true
1023
- }
1024
- ],
1025
- "exports": [
1026
- {
1027
- "kind": "js",
1028
- "name": "List",
1029
- "declaration": {
1030
- "name": "List",
1031
- "module": "src/list/list.ts"
1032
- }
1033
- },
1034
- {
1035
- "kind": "custom-element-definition",
1036
- "name": "entity-list",
1037
- "declaration": {
1038
- "name": "List",
1039
- "module": "src/list/list.ts"
1040
- }
1041
- }
1042
- ]
1043
- },
1044
- {
1045
- "kind": "javascript-module",
1046
- "path": "src/main/index.ts",
1047
- "declarations": [],
1048
- "exports": [
1049
- {
1050
- "kind": "js",
1051
- "name": "*",
1052
- "declaration": {
1053
- "name": "*",
1054
- "package": "./main.template"
1055
- }
1056
- },
1057
- {
1058
- "kind": "js",
1059
- "name": "*",
1060
- "declaration": {
1061
- "name": "*",
1062
- "package": "./main"
1063
- }
1064
- }
1065
- ]
1066
- },
1067
- {
1068
- "kind": "javascript-module",
1069
- "path": "src/main/main.styles.ts",
1070
- "declarations": [
1071
- {
1072
- "kind": "variable",
1073
- "name": "MainStyles",
1074
- "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`"
1075
- }
1076
- ],
1077
- "exports": [
1078
- {
1079
- "kind": "js",
1080
- "name": "MainStyles",
1081
- "declaration": {
1082
- "name": "MainStyles",
1083
- "module": "src/main/main.styles.ts"
1084
- }
1085
- }
1086
- ]
1087
- },
1088
- {
1089
- "kind": "javascript-module",
1090
- "path": "src/main/main.template.ts",
1091
- "declarations": [],
1092
- "exports": []
1093
- },
1094
- {
1095
- "kind": "javascript-module",
1096
- "path": "src/main/main.ts",
1097
- "declarations": [
1098
- {
1099
- "kind": "class",
1100
- "description": "",
1101
- "name": "MainApplication",
1102
- "members": [
1103
- {
1104
- "kind": "field",
1105
- "name": "config",
1106
- "type": {
1107
- "text": "MainRouterConfig"
1051
+ "default": "'Profile'",
1052
+ "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1053
+ "privacy": "public",
1054
+ "inheritedFrom": {
1055
+ "name": "EntityManagement",
1056
+ "module": "src/entities/entities.ts"
1108
1057
  }
1109
1058
  },
1110
1059
  {
@@ -1112,134 +1061,20 @@
1112
1061
  "name": "connect",
1113
1062
  "type": {
1114
1063
  "text": "Connect"
1115
- }
1116
- },
1117
- {
1118
- "kind": "field",
1119
- "name": "session",
1120
- "type": {
1121
- "text": "Session"
1122
- }
1123
- },
1124
- {
1125
- "kind": "field",
1126
- "name": "container",
1127
- "type": {
1128
- "text": "Container"
1129
- }
1130
- },
1131
- {
1132
- "kind": "field",
1133
- "name": "provider",
1134
- "type": {
1135
- "text": "any"
1136
- }
1137
- },
1138
- {
1139
- "kind": "field",
1140
- "name": "ready",
1141
- "type": {
1142
- "text": "boolean"
1143
1064
  },
1144
- "default": "false"
1145
- },
1146
- {
1147
- "kind": "field",
1148
- "name": "data",
1149
- "type": {
1150
- "text": "any"
1151
- },
1152
- "default": "null"
1153
- },
1154
- {
1155
- "kind": "method",
1156
- "name": "onLuminanceToggle"
1157
- },
1158
- {
1159
- "kind": "method",
1160
- "name": "loadRemotes"
1161
- },
1162
- {
1163
- "kind": "method",
1164
- "name": "selectTemplate"
1165
- },
1166
- {
1167
- "kind": "method",
1168
- "name": "registerDIDependencies",
1169
- "privacy": "private"
1170
- }
1171
- ],
1172
- "superclass": {
1173
- "name": "FASTElement",
1174
- "package": "@microsoft/fast-element"
1175
- },
1176
- "customElement": true
1177
- }
1178
- ],
1179
- "exports": [
1180
- {
1181
- "kind": "js",
1182
- "name": "MainApplication",
1183
- "declaration": {
1184
- "name": "MainApplication",
1185
- "module": "src/main/main.ts"
1186
- }
1187
- },
1188
- {
1189
- "kind": "custom-element-definition",
1190
- "declaration": {
1191
- "name": "MainApplication",
1192
- "module": "src/main/main.ts"
1193
- }
1194
- }
1195
- ]
1196
- },
1197
- {
1198
- "kind": "javascript-module",
1199
- "path": "src/profiles/editProfileSchema.ts",
1200
- "declarations": [
1201
- {
1202
- "kind": "variable",
1203
- "name": "editProfileFormSchema",
1204
- "type": {
1205
- "text": "object"
1206
- },
1207
- "default": "{\n type: 'VerticalLayout',\n elements: [\n {\n type: 'Control',\n label: 'Name',\n scope: '#/properties/NAME',\n },\n {\n type: 'Control',\n label: 'Description',\n scope: '#/properties/DESCRIPTION',\n },\n {\n type: 'Control',\n label: 'Status',\n scope: '#/properties/STATUS',\n },\n {\n type: 'Control',\n label: 'Rights',\n scope: '#/properties/RIGHT_CODES',\n options: {\n allOptionsResourceName: 'RIGHT',\n valueField: 'CODE',\n labelField: 'CODE',\n },\n },\n {\n type: 'Control',\n label: 'Users',\n scope: '#/properties/USER_NAMES',\n options: {\n allOptionsResourceName: 'USER',\n valueField: 'USER_NAME',\n labelField: 'USER_NAME',\n },\n },\n ],\n}"
1208
- }
1209
- ],
1210
- "exports": [
1211
- {
1212
- "kind": "js",
1213
- "name": "editProfileFormSchema",
1214
- "declaration": {
1215
- "name": "editProfileFormSchema",
1216
- "module": "src/profiles/editProfileSchema.ts"
1217
- }
1218
- }
1219
- ]
1220
- },
1221
- {
1222
- "kind": "javascript-module",
1223
- "path": "src/profiles/profiles.ts",
1224
- "declarations": [
1225
- {
1226
- "kind": "class",
1227
- "description": "Main class which defined the profile management functionality",
1228
- "name": "Profiles",
1229
- "members": [
1230
- {
1231
- "kind": "method",
1232
- "name": "readProfileData",
1233
- "privacy": "public",
1234
- "parameters": [
1235
- {
1236
- "name": "profile"
1237
- }
1238
- ]
1065
+ "privacy": "protected",
1066
+ "description": "DI connect object which is used to interact with the backend.",
1067
+ "inheritedFrom": {
1068
+ "name": "EntityManagement",
1069
+ "module": "src/entities/entities.ts"
1070
+ }
1239
1071
  },
1240
1072
  {
1241
- "kind": "method",
1242
- "name": "confirmDelete",
1073
+ "kind": "field",
1074
+ "name": "readEvent",
1075
+ "type": {
1076
+ "text": "string"
1077
+ },
1243
1078
  "inheritedFrom": {
1244
1079
  "name": "EntityManagement",
1245
1080
  "module": "src/entities/entities.ts"
@@ -1247,12 +1082,10 @@
1247
1082
  },
1248
1083
  {
1249
1084
  "kind": "field",
1250
- "name": "createEvent",
1085
+ "name": "readonly",
1251
1086
  "type": {
1252
- "text": "string"
1087
+ "text": "boolean"
1253
1088
  },
1254
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
1255
- "privacy": "public",
1256
1089
  "inheritedFrom": {
1257
1090
  "name": "EntityManagement",
1258
1091
  "module": "src/entities/entities.ts"
@@ -1260,11 +1093,11 @@
1260
1093
  },
1261
1094
  {
1262
1095
  "kind": "field",
1263
- "name": "deleteEvent",
1096
+ "name": "gridOptions",
1264
1097
  "type": {
1265
- "text": "string"
1098
+ "text": "GridOptions"
1266
1099
  },
1267
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1100
+ "description": "GridOptions to be passed down from application",
1268
1101
  "privacy": "public",
1269
1102
  "inheritedFrom": {
1270
1103
  "name": "EntityManagement",
@@ -1273,11 +1106,11 @@
1273
1106
  },
1274
1107
  {
1275
1108
  "kind": "field",
1276
- "name": "updateEvent",
1109
+ "name": "columns",
1277
1110
  "type": {
1278
- "text": "string"
1111
+ "text": "ColDef[]"
1279
1112
  },
1280
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
1113
+ "description": "Array which holds the column definitions.",
1281
1114
  "privacy": "public",
1282
1115
  "inheritedFrom": {
1283
1116
  "name": "EntityManagement",
@@ -1286,13 +1119,12 @@
1286
1119
  },
1287
1120
  {
1288
1121
  "kind": "field",
1289
- "name": "persistColumnStateKey",
1122
+ "name": "datasourceConfig",
1290
1123
  "type": {
1291
- "text": "string"
1124
+ "text": "DatasourceConfiguration"
1292
1125
  },
1293
- "description": "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.",
1126
+ "description": "The configuration which is used when interacting with the resource on the backend",
1294
1127
  "privacy": "public",
1295
- "default": "'entity_profiles_management'",
1296
1128
  "inheritedFrom": {
1297
1129
  "name": "EntityManagement",
1298
1130
  "module": "src/entities/entities.ts"
@@ -1300,11 +1132,10 @@
1300
1132
  },
1301
1133
  {
1302
1134
  "kind": "field",
1303
- "name": "updateFormUiSchema",
1135
+ "name": "formUiSchema",
1304
1136
  "type": {
1305
1137
  "text": "any"
1306
1138
  },
1307
- "default": "editProfileFormSchema",
1308
1139
  "inheritedFrom": {
1309
1140
  "name": "EntityManagement",
1310
1141
  "module": "src/entities/entities.ts"
@@ -1312,11 +1143,12 @@
1312
1143
  },
1313
1144
  {
1314
1145
  "kind": "field",
1315
- "name": "createFormUiSchema",
1146
+ "name": "selectedEntity",
1316
1147
  "type": {
1317
1148
  "text": "any"
1318
1149
  },
1319
- "default": "editProfileFormSchema",
1150
+ "description": "Reference to the currently selected entity from the grid.",
1151
+ "privacy": "public",
1320
1152
  "inheritedFrom": {
1321
1153
  "name": "EntityManagement",
1322
1154
  "module": "src/entities/entities.ts"
@@ -1324,10 +1156,12 @@
1324
1156
  },
1325
1157
  {
1326
1158
  "kind": "field",
1327
- "name": "readEventFn",
1159
+ "name": "editedEntity",
1328
1160
  "type": {
1329
- "text": "(...args) => {}"
1161
+ "text": "any"
1330
1162
  },
1163
+ "description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
1164
+ "privacy": "public",
1331
1165
  "inheritedFrom": {
1332
1166
  "name": "EntityManagement",
1333
1167
  "module": "src/entities/entities.ts"
@@ -1335,13 +1169,10 @@
1335
1169
  },
1336
1170
  {
1337
1171
  "kind": "field",
1338
- "name": "resourceName",
1172
+ "name": "submitting",
1339
1173
  "type": {
1340
- "text": "string"
1174
+ "text": "boolean"
1341
1175
  },
1342
- "description": "Name of the backend resource which contain the entities to manage",
1343
- "privacy": "public",
1344
- "default": "'ALL_PROFILES'",
1345
1176
  "inheritedFrom": {
1346
1177
  "name": "EntityManagement",
1347
1178
  "module": "src/entities/entities.ts"
@@ -1349,13 +1180,10 @@
1349
1180
  },
1350
1181
  {
1351
1182
  "kind": "field",
1352
- "name": "title",
1183
+ "name": "defaultEntityValues",
1353
1184
  "type": {
1354
- "text": "string"
1185
+ "text": "any"
1355
1186
  },
1356
- "description": "Title of the grid",
1357
- "privacy": "public",
1358
- "default": "'Profile Management'",
1359
1187
  "inheritedFrom": {
1360
1188
  "name": "EntityManagement",
1361
1189
  "module": "src/entities/entities.ts"
@@ -1363,13 +1191,11 @@
1363
1191
  },
1364
1192
  {
1365
1193
  "kind": "field",
1366
- "name": "entityLabel",
1194
+ "name": "editDialogTitle",
1367
1195
  "type": {
1368
1196
  "text": "string"
1369
1197
  },
1370
- "default": "'Profile'",
1371
- "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1372
- "privacy": "public",
1198
+ "description": "String which contains the text of the popup modal when the user is adding or editing an entity",
1373
1199
  "inheritedFrom": {
1374
1200
  "name": "EntityManagement",
1375
1201
  "module": "src/entities/entities.ts"
@@ -1377,12 +1203,19 @@
1377
1203
  },
1378
1204
  {
1379
1205
  "kind": "field",
1380
- "name": "connect",
1206
+ "name": "editModalVisible",
1381
1207
  "type": {
1382
- "text": "Connect"
1208
+ "text": "boolean"
1383
1209
  },
1384
- "privacy": "protected",
1385
- "description": "DI connect object which is used to interact with the backend.",
1210
+ "default": "false",
1211
+ "inheritedFrom": {
1212
+ "name": "EntityManagement",
1213
+ "module": "src/entities/entities.ts"
1214
+ }
1215
+ },
1216
+ {
1217
+ "kind": "method",
1218
+ "name": "editModalVisibleChanged",
1386
1219
  "inheritedFrom": {
1387
1220
  "name": "EntityManagement",
1388
1221
  "module": "src/entities/entities.ts"
@@ -1390,10 +1223,11 @@
1390
1223
  },
1391
1224
  {
1392
1225
  "kind": "field",
1393
- "name": "readEvent",
1226
+ "name": "editEntityModal",
1394
1227
  "type": {
1395
- "text": "string"
1228
+ "text": "any"
1396
1229
  },
1230
+ "privacy": "public",
1397
1231
  "inheritedFrom": {
1398
1232
  "name": "EntityManagement",
1399
1233
  "module": "src/entities/entities.ts"
@@ -1401,7 +1235,7 @@
1401
1235
  },
1402
1236
  {
1403
1237
  "kind": "field",
1404
- "name": "readonly",
1238
+ "name": "sizeColumnsToFit",
1405
1239
  "type": {
1406
1240
  "text": "boolean"
1407
1241
  },
@@ -1412,12 +1246,10 @@
1412
1246
  },
1413
1247
  {
1414
1248
  "kind": "field",
1415
- "name": "gridOptions",
1249
+ "name": "enableFilterBar",
1416
1250
  "type": {
1417
- "text": "GridOptions"
1251
+ "text": "boolean"
1418
1252
  },
1419
- "description": "GridOptions to be passed down from application",
1420
- "privacy": "public",
1421
1253
  "inheritedFrom": {
1422
1254
  "name": "EntityManagement",
1423
1255
  "module": "src/entities/entities.ts"
@@ -1425,12 +1257,10 @@
1425
1257
  },
1426
1258
  {
1427
1259
  "kind": "field",
1428
- "name": "columns",
1260
+ "name": "enableCellFlashing",
1429
1261
  "type": {
1430
- "text": "ColDef[]"
1262
+ "text": "boolean"
1431
1263
  },
1432
- "description": "Array which holds the column definitions.",
1433
- "privacy": "public",
1434
1264
  "inheritedFrom": {
1435
1265
  "name": "EntityManagement",
1436
1266
  "module": "src/entities/entities.ts"
@@ -1438,12 +1268,11 @@
1438
1268
  },
1439
1269
  {
1440
1270
  "kind": "field",
1441
- "name": "datasourceConfig",
1271
+ "name": "hideEdit",
1442
1272
  "type": {
1443
- "text": "DatasourceConfiguration"
1273
+ "text": "boolean"
1444
1274
  },
1445
- "description": "The configuration which is used when interacting with the resource on the backend",
1446
- "privacy": "public",
1275
+ "default": "false",
1447
1276
  "inheritedFrom": {
1448
1277
  "name": "EntityManagement",
1449
1278
  "module": "src/entities/entities.ts"
@@ -1451,10 +1280,11 @@
1451
1280
  },
1452
1281
  {
1453
1282
  "kind": "field",
1454
- "name": "formUiSchema",
1283
+ "name": "hideDelete",
1455
1284
  "type": {
1456
- "text": "any"
1285
+ "text": "boolean"
1457
1286
  },
1287
+ "default": "false",
1458
1288
  "inheritedFrom": {
1459
1289
  "name": "EntityManagement",
1460
1290
  "module": "src/entities/entities.ts"
@@ -1462,11 +1292,12 @@
1462
1292
  },
1463
1293
  {
1464
1294
  "kind": "field",
1465
- "name": "selectedEntity",
1295
+ "name": "modalPosition",
1466
1296
  "type": {
1467
- "text": "any"
1297
+ "text": "'centre' | 'left' | 'right'"
1468
1298
  },
1469
- "description": "Reference to the currently selected entity from the grid.",
1299
+ "default": "'right'",
1300
+ "description": "Determines where the modal dialog will appear on screen",
1470
1301
  "privacy": "public",
1471
1302
  "inheritedFrom": {
1472
1303
  "name": "EntityManagement",
@@ -1474,12 +1305,14 @@
1474
1305
  }
1475
1306
  },
1476
1307
  {
1477
- "kind": "field",
1478
- "name": "editedEntity",
1479
- "type": {
1480
- "text": "any"
1308
+ "kind": "method",
1309
+ "name": "deepClone",
1310
+ "return": {
1311
+ "type": {
1312
+ "text": "Node"
1313
+ }
1481
1314
  },
1482
- "description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
1315
+ "description": "Override the deepClone method to ensure that observable attributes are cloned",
1483
1316
  "privacy": "public",
1484
1317
  "inheritedFrom": {
1485
1318
  "name": "EntityManagement",
@@ -1487,374 +1320,577 @@
1487
1320
  }
1488
1321
  },
1489
1322
  {
1490
- "kind": "field",
1491
- "name": "submitting",
1323
+ "kind": "method",
1324
+ "name": "submitEntityChanges",
1325
+ "privacy": "public",
1326
+ "parameters": [
1327
+ {
1328
+ "name": "e",
1329
+ "type": {
1330
+ "text": "CustomEvent"
1331
+ },
1332
+ "description": "CustomEvent which contains the payload for the entity to submit to the backend\n\nEmits an event upon error"
1333
+ }
1334
+ ],
1335
+ "description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity",
1336
+ "inheritedFrom": {
1337
+ "name": "EntityManagement",
1338
+ "module": "src/entities/entities.ts"
1339
+ }
1340
+ },
1341
+ {
1342
+ "kind": "method",
1343
+ "name": "readEntity",
1344
+ "privacy": "private",
1345
+ "parameters": [
1346
+ {
1347
+ "name": "e",
1348
+ "type": {
1349
+ "text": "CustomEvent"
1350
+ }
1351
+ }
1352
+ ],
1353
+ "inheritedFrom": {
1354
+ "name": "EntityManagement",
1355
+ "module": "src/entities/entities.ts"
1356
+ }
1357
+ },
1358
+ {
1359
+ "kind": "method",
1360
+ "name": "closeModal",
1361
+ "privacy": "public",
1362
+ "inheritedFrom": {
1363
+ "name": "EntityManagement",
1364
+ "module": "src/entities/entities.ts"
1365
+ }
1366
+ },
1367
+ {
1368
+ "kind": "method",
1369
+ "name": "criteriaChanged",
1370
+ "privacy": "public",
1371
+ "parameters": [
1372
+ {
1373
+ "name": "e",
1374
+ "type": {
1375
+ "text": "CustomEvent<string>"
1376
+ }
1377
+ }
1378
+ ],
1379
+ "inheritedFrom": {
1380
+ "name": "EntityManagement",
1381
+ "module": "src/entities/entities.ts"
1382
+ }
1383
+ },
1384
+ {
1385
+ "kind": "method",
1386
+ "name": "showDeleteConfirmation",
1387
+ "privacy": "private",
1388
+ "inheritedFrom": {
1389
+ "name": "EntityManagement",
1390
+ "module": "src/entities/entities.ts"
1391
+ }
1392
+ }
1393
+ ],
1394
+ "superclass": {
1395
+ "name": "EntityManagement",
1396
+ "module": "/src/entities"
1397
+ },
1398
+ "tagName": "profile-management",
1399
+ "customElement": true,
1400
+ "attributes": [
1401
+ {
1402
+ "name": "resourceName",
1403
+ "type": {
1404
+ "text": "string"
1405
+ },
1406
+ "description": "Name of the backend resource which contain the entities to manage",
1407
+ "fieldName": "resourceName",
1408
+ "inheritedFrom": {
1409
+ "name": "EntityManagement",
1410
+ "module": "src/entities/entities.ts"
1411
+ }
1412
+ },
1413
+ {
1414
+ "name": "readEvent",
1415
+ "type": {
1416
+ "text": "string"
1417
+ },
1418
+ "fieldName": "readEvent",
1419
+ "inheritedFrom": {
1420
+ "name": "EntityManagement",
1421
+ "module": "src/entities/entities.ts"
1422
+ }
1423
+ },
1424
+ {
1492
1425
  "type": {
1493
1426
  "text": "boolean"
1494
1427
  },
1428
+ "fieldName": "readonly",
1495
1429
  "inheritedFrom": {
1496
1430
  "name": "EntityManagement",
1497
1431
  "module": "src/entities/entities.ts"
1498
1432
  }
1499
1433
  },
1500
1434
  {
1501
- "kind": "field",
1502
- "name": "defaultEntityValues",
1435
+ "name": "updateEvent",
1503
1436
  "type": {
1504
- "text": "any"
1437
+ "text": "string"
1438
+ },
1439
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
1440
+ "fieldName": "updateEvent",
1441
+ "inheritedFrom": {
1442
+ "name": "EntityManagement",
1443
+ "module": "src/entities/entities.ts"
1444
+ }
1445
+ },
1446
+ {
1447
+ "name": "deleteEvent",
1448
+ "type": {
1449
+ "text": "string"
1505
1450
  },
1451
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1452
+ "fieldName": "deleteEvent",
1506
1453
  "inheritedFrom": {
1507
1454
  "name": "EntityManagement",
1508
1455
  "module": "src/entities/entities.ts"
1509
1456
  }
1510
1457
  },
1511
1458
  {
1512
- "kind": "field",
1513
- "name": "editDialogTitle",
1459
+ "name": "createEvent",
1514
1460
  "type": {
1515
1461
  "text": "string"
1516
1462
  },
1517
- "description": "String which contains the text of the popup modal when the user is adding or editing an entity",
1463
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
1464
+ "fieldName": "createEvent",
1518
1465
  "inheritedFrom": {
1519
1466
  "name": "EntityManagement",
1520
1467
  "module": "src/entities/entities.ts"
1521
1468
  }
1522
1469
  },
1523
1470
  {
1524
- "kind": "field",
1525
- "name": "editModalVisible",
1471
+ "name": "title",
1526
1472
  "type": {
1527
- "text": "boolean"
1473
+ "text": "string"
1528
1474
  },
1529
- "default": "false",
1475
+ "description": "Title of the grid",
1476
+ "fieldName": "title",
1530
1477
  "inheritedFrom": {
1531
1478
  "name": "EntityManagement",
1532
1479
  "module": "src/entities/entities.ts"
1533
1480
  }
1534
1481
  },
1535
1482
  {
1536
- "kind": "method",
1537
- "name": "editModalVisibleChanged",
1483
+ "name": "entityLabel",
1484
+ "type": {
1485
+ "text": "string"
1486
+ },
1487
+ "default": "''",
1488
+ "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1489
+ "fieldName": "entityLabel",
1538
1490
  "inheritedFrom": {
1539
1491
  "name": "EntityManagement",
1540
1492
  "module": "src/entities/entities.ts"
1541
1493
  }
1542
1494
  },
1543
1495
  {
1544
- "kind": "field",
1545
- "name": "editEntityModal",
1496
+ "name": "persist-column-state-key",
1546
1497
  "type": {
1547
- "text": "any"
1498
+ "text": "string"
1548
1499
  },
1549
- "privacy": "public",
1500
+ "description": "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.",
1501
+ "fieldName": "persistColumnStateKey",
1550
1502
  "inheritedFrom": {
1551
1503
  "name": "EntityManagement",
1552
1504
  "module": "src/entities/entities.ts"
1553
1505
  }
1554
1506
  },
1555
1507
  {
1556
- "kind": "field",
1557
- "name": "sizeColumnsToFit",
1508
+ "name": "size-columns-to-fit",
1558
1509
  "type": {
1559
1510
  "text": "boolean"
1560
1511
  },
1512
+ "fieldName": "sizeColumnsToFit",
1561
1513
  "inheritedFrom": {
1562
1514
  "name": "EntityManagement",
1563
1515
  "module": "src/entities/entities.ts"
1564
1516
  }
1565
1517
  },
1566
1518
  {
1567
- "kind": "field",
1568
- "name": "enableFilterBar",
1519
+ "name": "enable-filter-bar",
1569
1520
  "type": {
1570
1521
  "text": "boolean"
1571
1522
  },
1523
+ "fieldName": "enableFilterBar",
1572
1524
  "inheritedFrom": {
1573
1525
  "name": "EntityManagement",
1574
1526
  "module": "src/entities/entities.ts"
1575
1527
  }
1576
1528
  },
1577
1529
  {
1578
- "kind": "field",
1579
- "name": "enableCellFlashing",
1530
+ "name": "enable-cell-flashing",
1580
1531
  "type": {
1581
1532
  "text": "boolean"
1582
1533
  },
1534
+ "fieldName": "enableCellFlashing",
1583
1535
  "inheritedFrom": {
1584
1536
  "name": "EntityManagement",
1585
1537
  "module": "src/entities/entities.ts"
1586
1538
  }
1587
1539
  },
1588
1540
  {
1589
- "kind": "field",
1590
- "name": "hideEdit",
1541
+ "name": "hide-edit",
1591
1542
  "type": {
1592
1543
  "text": "boolean"
1593
1544
  },
1594
1545
  "default": "false",
1546
+ "fieldName": "hideEdit",
1595
1547
  "inheritedFrom": {
1596
1548
  "name": "EntityManagement",
1597
1549
  "module": "src/entities/entities.ts"
1598
1550
  }
1599
1551
  },
1600
1552
  {
1601
- "kind": "field",
1602
- "name": "hideDelete",
1553
+ "name": "hide-delete",
1603
1554
  "type": {
1604
1555
  "text": "boolean"
1605
1556
  },
1606
1557
  "default": "false",
1558
+ "fieldName": "hideDelete",
1607
1559
  "inheritedFrom": {
1608
1560
  "name": "EntityManagement",
1609
1561
  "module": "src/entities/entities.ts"
1610
1562
  }
1611
1563
  },
1612
1564
  {
1613
- "kind": "field",
1614
- "name": "modalPosition",
1565
+ "name": "modal-position",
1615
1566
  "type": {
1616
1567
  "text": "'centre' | 'left' | 'right'"
1617
1568
  },
1618
1569
  "default": "'right'",
1619
1570
  "description": "Determines where the modal dialog will appear on screen",
1620
- "privacy": "public",
1571
+ "fieldName": "modalPosition",
1621
1572
  "inheritedFrom": {
1622
1573
  "name": "EntityManagement",
1623
1574
  "module": "src/entities/entities.ts"
1624
1575
  }
1576
+ }
1577
+ ]
1578
+ }
1579
+ ],
1580
+ "exports": [
1581
+ {
1582
+ "kind": "js",
1583
+ "name": "Profiles",
1584
+ "declaration": {
1585
+ "name": "Profiles",
1586
+ "module": "src/profiles/profiles.ts"
1587
+ }
1588
+ },
1589
+ {
1590
+ "kind": "custom-element-definition",
1591
+ "name": "profile-management",
1592
+ "declaration": {
1593
+ "name": "Profiles",
1594
+ "module": "src/profiles/profiles.ts"
1595
+ }
1596
+ }
1597
+ ]
1598
+ },
1599
+ {
1600
+ "kind": "javascript-module",
1601
+ "path": "src/routes/config.ts",
1602
+ "declarations": [],
1603
+ "exports": []
1604
+ },
1605
+ {
1606
+ "kind": "javascript-module",
1607
+ "path": "src/routes/index.ts",
1608
+ "declarations": [],
1609
+ "exports": [
1610
+ {
1611
+ "kind": "js",
1612
+ "name": "*",
1613
+ "declaration": {
1614
+ "name": "*",
1615
+ "package": "./config"
1616
+ }
1617
+ }
1618
+ ]
1619
+ },
1620
+ {
1621
+ "kind": "javascript-module",
1622
+ "path": "src/list/index.ts",
1623
+ "declarations": [],
1624
+ "exports": [
1625
+ {
1626
+ "kind": "js",
1627
+ "name": "*",
1628
+ "declaration": {
1629
+ "name": "*",
1630
+ "package": "./list"
1631
+ }
1632
+ }
1633
+ ]
1634
+ },
1635
+ {
1636
+ "kind": "javascript-module",
1637
+ "path": "src/list/list.styles.ts",
1638
+ "declarations": [
1639
+ {
1640
+ "kind": "variable",
1641
+ "name": "listStyles",
1642
+ "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`"
1643
+ }
1644
+ ],
1645
+ "exports": [
1646
+ {
1647
+ "kind": "js",
1648
+ "name": "listStyles",
1649
+ "declaration": {
1650
+ "name": "listStyles",
1651
+ "module": "src/list/list.styles.ts"
1652
+ }
1653
+ }
1654
+ ]
1655
+ },
1656
+ {
1657
+ "kind": "javascript-module",
1658
+ "path": "src/list/list.template.ts",
1659
+ "declarations": [
1660
+ {
1661
+ "kind": "variable",
1662
+ "name": "listTemplate",
1663
+ "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 :deferredGridOptions=${(x) => x.gridOptions}\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`"
1664
+ }
1665
+ ],
1666
+ "exports": [
1667
+ {
1668
+ "kind": "js",
1669
+ "name": "listTemplate",
1670
+ "declaration": {
1671
+ "name": "listTemplate",
1672
+ "module": "src/list/list.template.ts"
1673
+ }
1674
+ }
1675
+ ]
1676
+ },
1677
+ {
1678
+ "kind": "javascript-module",
1679
+ "path": "src/list/list.ts",
1680
+ "declarations": [
1681
+ {
1682
+ "kind": "class",
1683
+ "description": "",
1684
+ "name": "List",
1685
+ "members": [
1686
+ {
1687
+ "kind": "field",
1688
+ "name": "resourceName",
1689
+ "type": {
1690
+ "text": "string"
1691
+ },
1692
+ "default": "''"
1625
1693
  },
1626
1694
  {
1627
- "kind": "method",
1628
- "name": "deepClone",
1629
- "return": {
1630
- "type": {
1631
- "text": "Node"
1632
- }
1695
+ "kind": "field",
1696
+ "name": "title",
1697
+ "type": {
1698
+ "text": "string"
1633
1699
  },
1634
- "description": "Override the deepClone method to ensure that observable attributes are cloned",
1635
- "privacy": "public",
1636
- "inheritedFrom": {
1637
- "name": "EntityManagement",
1638
- "module": "src/entities/entities.ts"
1639
- }
1700
+ "default": "''"
1640
1701
  },
1641
1702
  {
1642
- "kind": "method",
1643
- "name": "submitEntityChanges",
1644
- "privacy": "public",
1645
- "parameters": [
1646
- {
1647
- "name": "e",
1648
- "type": {
1649
- "text": "CustomEvent"
1650
- },
1651
- "description": "CustomEvent which contains the payload for the entity to submit to the backend\n\nEmits an event upon error"
1652
- }
1653
- ],
1654
- "description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity",
1655
- "inheritedFrom": {
1656
- "name": "EntityManagement",
1657
- "module": "src/entities/entities.ts"
1703
+ "kind": "field",
1704
+ "name": "persistColumnStateKey",
1705
+ "type": {
1706
+ "text": "string"
1658
1707
  }
1659
1708
  },
1660
1709
  {
1661
- "kind": "method",
1662
- "name": "readEntity",
1663
- "privacy": "private",
1664
- "parameters": [
1665
- {
1666
- "name": "e",
1667
- "type": {
1668
- "text": "CustomEvent"
1669
- }
1670
- }
1671
- ],
1672
- "inheritedFrom": {
1673
- "name": "EntityManagement",
1674
- "module": "src/entities/entities.ts"
1710
+ "kind": "field",
1711
+ "name": "sizeColumnsToFit",
1712
+ "type": {
1713
+ "text": "boolean"
1675
1714
  }
1676
1715
  },
1677
1716
  {
1678
- "kind": "method",
1679
- "name": "closeModal",
1680
- "privacy": "public",
1681
- "inheritedFrom": {
1682
- "name": "EntityManagement",
1683
- "module": "src/entities/entities.ts"
1717
+ "kind": "field",
1718
+ "name": "enableFilterBar",
1719
+ "type": {
1720
+ "text": "boolean"
1684
1721
  }
1685
1722
  },
1686
1723
  {
1687
- "kind": "method",
1688
- "name": "criteriaChanged",
1689
- "privacy": "public",
1690
- "parameters": [
1691
- {
1692
- "name": "e",
1693
- "type": {
1694
- "text": "CustomEvent<string>"
1695
- }
1696
- }
1697
- ],
1698
- "inheritedFrom": {
1699
- "name": "EntityManagement",
1700
- "module": "src/entities/entities.ts"
1724
+ "kind": "field",
1725
+ "name": "enableCellFlashing",
1726
+ "type": {
1727
+ "text": "boolean"
1701
1728
  }
1702
1729
  },
1703
1730
  {
1704
- "kind": "method",
1705
- "name": "showDeleteConfirmation",
1706
- "privacy": "private",
1707
- "inheritedFrom": {
1708
- "name": "EntityManagement",
1709
- "module": "src/entities/entities.ts"
1710
- }
1711
- }
1712
- ],
1713
- "superclass": {
1714
- "name": "EntityManagement",
1715
- "module": "/src/entities"
1716
- },
1717
- "tagName": "profile-management",
1718
- "customElement": true,
1719
- "attributes": [
1731
+ "kind": "field",
1732
+ "name": "hideEdit",
1733
+ "type": {
1734
+ "text": "boolean"
1735
+ },
1736
+ "default": "false"
1737
+ },
1738
+ {
1739
+ "kind": "field",
1740
+ "name": "hideDelete",
1741
+ "type": {
1742
+ "text": "boolean"
1743
+ },
1744
+ "default": "false"
1745
+ },
1720
1746
  {
1721
- "name": "resourceName",
1747
+ "kind": "field",
1748
+ "name": "grid",
1722
1749
  "type": {
1723
- "text": "string"
1750
+ "text": "ZeroGridPro"
1724
1751
  },
1725
- "description": "Name of the backend resource which contain the entities to manage",
1726
- "fieldName": "resourceName",
1727
- "inheritedFrom": {
1728
- "name": "EntityManagement",
1729
- "module": "src/entities/entities.ts"
1730
- }
1752
+ "privacy": "public"
1731
1753
  },
1732
1754
  {
1733
- "name": "readEvent",
1755
+ "kind": "field",
1756
+ "name": "datasource",
1734
1757
  "type": {
1735
- "text": "string"
1758
+ "text": "GridProGenesisDatasource"
1736
1759
  },
1737
- "fieldName": "readEvent",
1738
- "inheritedFrom": {
1739
- "name": "EntityManagement",
1740
- "module": "src/entities/entities.ts"
1760
+ "privacy": "public"
1761
+ },
1762
+ {
1763
+ "kind": "field",
1764
+ "name": "gridOptions",
1765
+ "type": {
1766
+ "text": "GridOptions"
1741
1767
  }
1742
1768
  },
1743
1769
  {
1770
+ "kind": "field",
1771
+ "name": "columns",
1744
1772
  "type": {
1745
- "text": "boolean"
1746
- },
1747
- "fieldName": "readonly",
1748
- "inheritedFrom": {
1749
- "name": "EntityManagement",
1750
- "module": "src/entities/entities.ts"
1773
+ "text": "ColDef[]"
1751
1774
  }
1752
1775
  },
1753
1776
  {
1754
- "name": "updateEvent",
1777
+ "kind": "field",
1778
+ "name": "datasourceConfig",
1755
1779
  "type": {
1756
- "text": "string"
1757
- },
1758
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
1759
- "fieldName": "updateEvent",
1760
- "inheritedFrom": {
1761
- "name": "EntityManagement",
1762
- "module": "src/entities/entities.ts"
1780
+ "text": "DatasourceConfiguration"
1763
1781
  }
1764
1782
  },
1765
1783
  {
1784
+ "kind": "field",
1785
+ "name": "actionButtonsConfig",
1786
+ "type": {
1787
+ "text": "array"
1788
+ },
1789
+ "default": "[]"
1790
+ },
1791
+ {
1792
+ "kind": "field",
1766
1793
  "name": "deleteEvent",
1767
1794
  "type": {
1768
1795
  "text": "string"
1769
- },
1770
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1771
- "fieldName": "deleteEvent",
1772
- "inheritedFrom": {
1773
- "name": "EntityManagement",
1774
- "module": "src/entities/entities.ts"
1775
1796
  }
1776
1797
  },
1777
1798
  {
1778
- "name": "createEvent",
1799
+ "kind": "field",
1800
+ "name": "updateEvent",
1779
1801
  "type": {
1780
1802
  "text": "string"
1781
- },
1782
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
1783
- "fieldName": "createEvent",
1784
- "inheritedFrom": {
1785
- "name": "EntityManagement",
1786
- "module": "src/entities/entities.ts"
1787
1803
  }
1788
1804
  },
1789
1805
  {
1790
- "name": "title",
1806
+ "kind": "method",
1807
+ "name": "handleFilterChanged",
1808
+ "privacy": "private",
1809
+ "parameters": [
1810
+ {
1811
+ "name": "e"
1812
+ }
1813
+ ]
1814
+ },
1815
+ {
1816
+ "kind": "method",
1817
+ "name": "handleFilterCleared",
1818
+ "privacy": "private",
1819
+ "parameters": [
1820
+ {
1821
+ "name": "e"
1822
+ }
1823
+ ]
1824
+ },
1825
+ {
1826
+ "kind": "method",
1827
+ "name": "select",
1828
+ "privacy": "private",
1829
+ "parameters": [
1830
+ {
1831
+ "name": "e"
1832
+ }
1833
+ ]
1834
+ },
1835
+ {
1836
+ "kind": "field",
1837
+ "name": "edit",
1838
+ "privacy": "private"
1839
+ },
1840
+ {
1841
+ "kind": "method",
1842
+ "name": "delete",
1843
+ "parameters": [
1844
+ {
1845
+ "name": "e"
1846
+ }
1847
+ ]
1848
+ }
1849
+ ],
1850
+ "attributes": [
1851
+ {
1852
+ "name": "resourceName",
1791
1853
  "type": {
1792
1854
  "text": "string"
1793
1855
  },
1794
- "description": "Title of the grid",
1795
- "fieldName": "title",
1796
- "inheritedFrom": {
1797
- "name": "EntityManagement",
1798
- "module": "src/entities/entities.ts"
1799
- }
1856
+ "default": "''",
1857
+ "fieldName": "resourceName"
1800
1858
  },
1801
1859
  {
1802
- "name": "entityLabel",
1860
+ "name": "title",
1803
1861
  "type": {
1804
1862
  "text": "string"
1805
1863
  },
1806
1864
  "default": "''",
1807
- "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1808
- "fieldName": "entityLabel",
1809
- "inheritedFrom": {
1810
- "name": "EntityManagement",
1811
- "module": "src/entities/entities.ts"
1812
- }
1865
+ "fieldName": "title"
1813
1866
  },
1814
1867
  {
1815
1868
  "name": "persist-column-state-key",
1816
1869
  "type": {
1817
1870
  "text": "string"
1818
1871
  },
1819
- "description": "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.",
1820
- "fieldName": "persistColumnStateKey",
1821
- "inheritedFrom": {
1822
- "name": "EntityManagement",
1823
- "module": "src/entities/entities.ts"
1824
- }
1872
+ "fieldName": "persistColumnStateKey"
1825
1873
  },
1826
1874
  {
1827
1875
  "name": "size-columns-to-fit",
1828
1876
  "type": {
1829
1877
  "text": "boolean"
1830
1878
  },
1831
- "fieldName": "sizeColumnsToFit",
1832
- "inheritedFrom": {
1833
- "name": "EntityManagement",
1834
- "module": "src/entities/entities.ts"
1835
- }
1879
+ "fieldName": "sizeColumnsToFit"
1836
1880
  },
1837
1881
  {
1838
1882
  "name": "enable-filter-bar",
1839
1883
  "type": {
1840
1884
  "text": "boolean"
1841
1885
  },
1842
- "fieldName": "enableFilterBar",
1843
- "inheritedFrom": {
1844
- "name": "EntityManagement",
1845
- "module": "src/entities/entities.ts"
1846
- }
1886
+ "fieldName": "enableFilterBar"
1847
1887
  },
1848
1888
  {
1849
1889
  "name": "enable-cell-flashing",
1850
1890
  "type": {
1851
1891
  "text": "boolean"
1852
1892
  },
1853
- "fieldName": "enableCellFlashing",
1854
- "inheritedFrom": {
1855
- "name": "EntityManagement",
1856
- "module": "src/entities/entities.ts"
1857
- }
1893
+ "fieldName": "enableCellFlashing"
1858
1894
  },
1859
1895
  {
1860
1896
  "name": "hide-edit",
@@ -1862,11 +1898,7 @@
1862
1898
  "text": "boolean"
1863
1899
  },
1864
1900
  "default": "false",
1865
- "fieldName": "hideEdit",
1866
- "inheritedFrom": {
1867
- "name": "EntityManagement",
1868
- "module": "src/entities/entities.ts"
1869
- }
1901
+ "fieldName": "hideEdit"
1870
1902
  },
1871
1903
  {
1872
1904
  "name": "hide-delete",
@@ -1874,64 +1906,32 @@
1874
1906
  "text": "boolean"
1875
1907
  },
1876
1908
  "default": "false",
1877
- "fieldName": "hideDelete",
1878
- "inheritedFrom": {
1879
- "name": "EntityManagement",
1880
- "module": "src/entities/entities.ts"
1881
- }
1882
- },
1883
- {
1884
- "name": "modal-position",
1885
- "type": {
1886
- "text": "'centre' | 'left' | 'right'"
1887
- },
1888
- "default": "'right'",
1889
- "description": "Determines where the modal dialog will appear on screen",
1890
- "fieldName": "modalPosition",
1891
- "inheritedFrom": {
1892
- "name": "EntityManagement",
1893
- "module": "src/entities/entities.ts"
1894
- }
1909
+ "fieldName": "hideDelete"
1895
1910
  }
1896
- ]
1911
+ ],
1912
+ "superclass": {
1913
+ "name": "FASTElement",
1914
+ "package": "@microsoft/fast-element"
1915
+ },
1916
+ "tagName": "entity-list",
1917
+ "customElement": true
1897
1918
  }
1898
1919
  ],
1899
1920
  "exports": [
1900
1921
  {
1901
1922
  "kind": "js",
1902
- "name": "Profiles",
1923
+ "name": "List",
1903
1924
  "declaration": {
1904
- "name": "Profiles",
1905
- "module": "src/profiles/profiles.ts"
1925
+ "name": "List",
1926
+ "module": "src/list/list.ts"
1906
1927
  }
1907
1928
  },
1908
1929
  {
1909
1930
  "kind": "custom-element-definition",
1910
- "name": "profile-management",
1911
- "declaration": {
1912
- "name": "Profiles",
1913
- "module": "src/profiles/profiles.ts"
1914
- }
1915
- }
1916
- ]
1917
- },
1918
- {
1919
- "kind": "javascript-module",
1920
- "path": "src/routes/config.ts",
1921
- "declarations": [],
1922
- "exports": []
1923
- },
1924
- {
1925
- "kind": "javascript-module",
1926
- "path": "src/routes/index.ts",
1927
- "declarations": [],
1928
- "exports": [
1929
- {
1930
- "kind": "js",
1931
- "name": "*",
1931
+ "name": "entity-list",
1932
1932
  "declaration": {
1933
- "name": "*",
1934
- "package": "./config"
1933
+ "name": "List",
1934
+ "module": "src/list/list.ts"
1935
1935
  }
1936
1936
  }
1937
1937
  ]