@genesislcap/foundation-entity-management 14.92.2 → 14.92.3-beta.29253cf.1

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.
@@ -779,41 +779,7 @@
779
779
  },
780
780
  {
781
781
  "kind": "javascript-module",
782
- "path": "src/layouts/default.ts",
783
- "declarations": [
784
- {
785
- "kind": "variable",
786
- "name": "loginLayout",
787
- "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
788
- },
789
- {
790
- "kind": "variable",
791
- "name": "defaultLayout",
792
- "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
793
- }
794
- ],
795
- "exports": [
796
- {
797
- "kind": "js",
798
- "name": "loginLayout",
799
- "declaration": {
800
- "name": "loginLayout",
801
- "module": "src/layouts/default.ts"
802
- }
803
- },
804
- {
805
- "kind": "js",
806
- "name": "defaultLayout",
807
- "declaration": {
808
- "name": "defaultLayout",
809
- "module": "src/layouts/default.ts"
810
- }
811
- }
812
- ]
813
- },
814
- {
815
- "kind": "javascript-module",
816
- "path": "src/layouts/index.ts",
782
+ "path": "src/list/index.ts",
817
783
  "declarations": [],
818
784
  "exports": [
819
785
  {
@@ -821,108 +787,102 @@
821
787
  "name": "*",
822
788
  "declaration": {
823
789
  "name": "*",
824
- "package": "./default"
790
+ "package": "./list"
825
791
  }
826
792
  }
827
793
  ]
828
794
  },
829
795
  {
830
796
  "kind": "javascript-module",
831
- "path": "src/main/index.ts",
832
- "declarations": [],
833
- "exports": [
797
+ "path": "src/list/list.styles.ts",
798
+ "declarations": [
834
799
  {
835
- "kind": "js",
836
- "name": "*",
837
- "declaration": {
838
- "name": "*",
839
- "package": "./main.template"
840
- }
841
- },
800
+ "kind": "variable",
801
+ "name": "listStyles",
802
+ "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`"
803
+ }
804
+ ],
805
+ "exports": [
842
806
  {
843
807
  "kind": "js",
844
- "name": "*",
808
+ "name": "listStyles",
845
809
  "declaration": {
846
- "name": "*",
847
- "package": "./main"
810
+ "name": "listStyles",
811
+ "module": "src/list/list.styles.ts"
848
812
  }
849
813
  }
850
814
  ]
851
815
  },
852
816
  {
853
817
  "kind": "javascript-module",
854
- "path": "src/main/main.styles.ts",
818
+ "path": "src/list/list.template.ts",
855
819
  "declarations": [
856
820
  {
857
821
  "kind": "variable",
858
- "name": "MainStyles",
859
- "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`"
822
+ "name": "listTemplate",
823
+ "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 async-add=${(x) => x.asyncAdd}\n async-remove=${(x) => x.asyncRemove}\n async-update=${(x) => x.asyncUpdate}\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n enable-row-flashing=${(x) => x.enableRowFlashing}\n >\n <grid-pro-genesis-datasource\n ${ref('datasource')}\n :deferredGridOptions=${(x) => x.gridOptions}\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 moving-view=${(x) => x.datasourceConfig?.movingView}\n order-by=${(x) => x.datasourceConfig?.orderBy}\n polling-interval=${(x) => x.datasourceConfig?.pollingInterval}\n resource-name=${(x) => x.resourceName}\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`"
860
824
  }
861
825
  ],
862
826
  "exports": [
863
827
  {
864
828
  "kind": "js",
865
- "name": "MainStyles",
829
+ "name": "listTemplate",
866
830
  "declaration": {
867
- "name": "MainStyles",
868
- "module": "src/main/main.styles.ts"
831
+ "name": "listTemplate",
832
+ "module": "src/list/list.template.ts"
869
833
  }
870
834
  }
871
835
  ]
872
836
  },
873
837
  {
874
838
  "kind": "javascript-module",
875
- "path": "src/main/main.template.ts",
876
- "declarations": [],
877
- "exports": []
878
- },
879
- {
880
- "kind": "javascript-module",
881
- "path": "src/main/main.ts",
839
+ "path": "src/list/list.ts",
882
840
  "declarations": [
883
841
  {
884
842
  "kind": "class",
885
843
  "description": "",
886
- "name": "MainApplication",
844
+ "name": "List",
887
845
  "members": [
888
846
  {
889
847
  "kind": "field",
890
- "name": "config",
848
+ "name": "resourceName",
891
849
  "type": {
892
- "text": "MainRouterConfig"
893
- }
850
+ "text": "string"
851
+ },
852
+ "default": "''"
894
853
  },
895
854
  {
896
855
  "kind": "field",
897
- "name": "connect",
856
+ "name": "title",
898
857
  "type": {
899
- "text": "Connect"
900
- }
858
+ "text": "string"
859
+ },
860
+ "default": "''"
901
861
  },
902
862
  {
903
863
  "kind": "field",
904
- "name": "session",
864
+ "name": "persistColumnStateKey",
905
865
  "type": {
906
- "text": "Session"
866
+ "text": "string"
907
867
  }
908
868
  },
909
869
  {
910
870
  "kind": "field",
911
- "name": "container",
871
+ "name": "sizeColumnsToFit",
912
872
  "type": {
913
- "text": "Container"
873
+ "text": "boolean"
914
874
  }
915
875
  },
916
876
  {
917
877
  "kind": "field",
918
- "name": "provider",
878
+ "name": "enableFilterBar",
919
879
  "type": {
920
- "text": "any"
880
+ "text": "boolean"
921
881
  }
922
882
  },
923
883
  {
924
884
  "kind": "field",
925
- "name": "ready",
885
+ "name": "asyncAdd",
926
886
  "type": {
927
887
  "text": "boolean"
928
888
  },
@@ -930,1062 +890,943 @@
930
890
  },
931
891
  {
932
892
  "kind": "field",
933
- "name": "data",
893
+ "name": "asyncRemove",
934
894
  "type": {
935
- "text": "any"
895
+ "text": "boolean"
936
896
  },
937
- "default": "null"
897
+ "default": "false"
938
898
  },
939
899
  {
940
- "kind": "method",
941
- "name": "onLuminanceToggle"
900
+ "kind": "field",
901
+ "name": "asyncUpdate",
902
+ "type": {
903
+ "text": "boolean"
904
+ },
905
+ "default": "true"
942
906
  },
943
907
  {
944
- "kind": "method",
945
- "name": "loadRemotes"
908
+ "kind": "field",
909
+ "name": "enableCellFlashing",
910
+ "type": {
911
+ "text": "boolean"
912
+ },
913
+ "default": "false"
946
914
  },
947
915
  {
948
- "kind": "method",
949
- "name": "selectTemplate"
916
+ "kind": "field",
917
+ "name": "enableRowFlashing",
918
+ "type": {
919
+ "text": "boolean"
920
+ },
921
+ "default": "false"
950
922
  },
951
923
  {
952
- "kind": "method",
953
- "name": "registerDIDependencies",
954
- "privacy": "private"
955
- }
956
- ],
957
- "superclass": {
958
- "name": "FASTElement",
959
- "package": "@microsoft/fast-element"
960
- },
961
- "customElement": true
962
- }
963
- ],
964
- "exports": [
965
- {
966
- "kind": "js",
967
- "name": "MainApplication",
968
- "declaration": {
969
- "name": "MainApplication",
970
- "module": "src/main/main.ts"
971
- }
972
- },
973
- {
974
- "kind": "custom-element-definition",
975
- "declaration": {
976
- "name": "MainApplication",
977
- "module": "src/main/main.ts"
978
- }
979
- }
980
- ]
981
- },
982
- {
983
- "kind": "javascript-module",
984
- "path": "src/profiles/editProfileSchema.ts",
985
- "declarations": [
986
- {
987
- "kind": "variable",
988
- "name": "editProfileFormSchema",
989
- "type": {
990
- "text": "object"
991
- },
992
- "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}"
993
- }
994
- ],
995
- "exports": [
996
- {
997
- "kind": "js",
998
- "name": "editProfileFormSchema",
999
- "declaration": {
1000
- "name": "editProfileFormSchema",
1001
- "module": "src/profiles/editProfileSchema.ts"
1002
- }
1003
- }
1004
- ]
1005
- },
1006
- {
1007
- "kind": "javascript-module",
1008
- "path": "src/profiles/profiles.ts",
1009
- "declarations": [
1010
- {
1011
- "kind": "class",
1012
- "description": "Main class which defined the profile management functionality",
1013
- "name": "Profiles",
1014
- "members": [
1015
- {
1016
- "kind": "method",
1017
- "name": "readProfileData",
1018
- "privacy": "public",
1019
- "parameters": [
1020
- {
1021
- "name": "profile"
1022
- }
1023
- ]
924
+ "kind": "field",
925
+ "name": "hideEdit",
926
+ "type": {
927
+ "text": "boolean"
928
+ },
929
+ "default": "false"
1024
930
  },
1025
931
  {
1026
- "kind": "method",
1027
- "name": "confirmDelete",
1028
- "inheritedFrom": {
1029
- "name": "EntityManagement",
1030
- "module": "src/entities/entities.ts"
1031
- }
932
+ "kind": "field",
933
+ "name": "hideDelete",
934
+ "type": {
935
+ "text": "boolean"
936
+ },
937
+ "default": "false"
1032
938
  },
1033
939
  {
1034
940
  "kind": "field",
1035
- "name": "createEvent",
941
+ "name": "grid",
1036
942
  "type": {
1037
- "text": "string"
943
+ "text": "ZeroGridPro"
1038
944
  },
1039
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
1040
- "privacy": "public",
1041
- "inheritedFrom": {
1042
- "name": "EntityManagement",
1043
- "module": "src/entities/entities.ts"
1044
- }
945
+ "privacy": "public"
1045
946
  },
1046
947
  {
1047
948
  "kind": "field",
1048
- "name": "deleteEvent",
949
+ "name": "datasource",
1049
950
  "type": {
1050
- "text": "string"
951
+ "text": "GridProGenesisDatasource"
1051
952
  },
1052
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1053
- "privacy": "public",
1054
- "inheritedFrom": {
1055
- "name": "EntityManagement",
1056
- "module": "src/entities/entities.ts"
1057
- }
953
+ "privacy": "public"
1058
954
  },
1059
955
  {
1060
956
  "kind": "field",
1061
- "name": "updateEvent",
957
+ "name": "gridOptions",
1062
958
  "type": {
1063
- "text": "string"
1064
- },
1065
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
1066
- "privacy": "public",
1067
- "inheritedFrom": {
1068
- "name": "EntityManagement",
1069
- "module": "src/entities/entities.ts"
959
+ "text": "GridOptions"
1070
960
  }
1071
961
  },
1072
962
  {
1073
963
  "kind": "field",
1074
- "name": "persistColumnStateKey",
964
+ "name": "columns",
1075
965
  "type": {
1076
- "text": "string"
1077
- },
1078
- "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.",
1079
- "privacy": "public",
1080
- "default": "'entity_profiles_management'",
1081
- "inheritedFrom": {
1082
- "name": "EntityManagement",
1083
- "module": "src/entities/entities.ts"
966
+ "text": "ColDef[]"
1084
967
  }
1085
968
  },
1086
969
  {
1087
970
  "kind": "field",
1088
- "name": "updateFormUiSchema",
971
+ "name": "datasourceConfig",
1089
972
  "type": {
1090
- "text": "any"
1091
- },
1092
- "default": "editProfileFormSchema",
1093
- "inheritedFrom": {
1094
- "name": "EntityManagement",
1095
- "module": "src/entities/entities.ts"
973
+ "text": "DatasourceConfiguration"
1096
974
  }
1097
975
  },
1098
976
  {
1099
977
  "kind": "field",
1100
- "name": "createFormUiSchema",
978
+ "name": "actionButtonsConfig",
1101
979
  "type": {
1102
- "text": "any"
980
+ "text": "array"
1103
981
  },
1104
- "default": "editProfileFormSchema",
1105
- "inheritedFrom": {
1106
- "name": "EntityManagement",
1107
- "module": "src/entities/entities.ts"
1108
- }
982
+ "default": "[]"
1109
983
  },
1110
984
  {
1111
985
  "kind": "field",
1112
- "name": "readEventFn",
986
+ "name": "deleteEvent",
1113
987
  "type": {
1114
- "text": "(...args) => {}"
1115
- },
1116
- "inheritedFrom": {
1117
- "name": "EntityManagement",
1118
- "module": "src/entities/entities.ts"
988
+ "text": "string"
1119
989
  }
1120
990
  },
1121
991
  {
1122
992
  "kind": "field",
1123
- "name": "resourceName",
993
+ "name": "updateEvent",
1124
994
  "type": {
1125
995
  "text": "string"
1126
- },
1127
- "description": "Name of the backend resource which contain the entities to manage",
1128
- "privacy": "public",
1129
- "default": "'ALL_PROFILES'",
1130
- "inheritedFrom": {
1131
- "name": "EntityManagement",
1132
- "module": "src/entities/entities.ts"
1133
996
  }
1134
997
  },
998
+ {
999
+ "kind": "method",
1000
+ "name": "handleFilterChanged",
1001
+ "privacy": "private",
1002
+ "parameters": [
1003
+ {
1004
+ "name": "e"
1005
+ }
1006
+ ]
1007
+ },
1008
+ {
1009
+ "kind": "method",
1010
+ "name": "handleFilterCleared",
1011
+ "privacy": "private",
1012
+ "parameters": [
1013
+ {
1014
+ "name": "e"
1015
+ }
1016
+ ]
1017
+ },
1018
+ {
1019
+ "kind": "method",
1020
+ "name": "select",
1021
+ "privacy": "private",
1022
+ "parameters": [
1023
+ {
1024
+ "name": "e"
1025
+ }
1026
+ ]
1027
+ },
1135
1028
  {
1136
1029
  "kind": "field",
1137
- "name": "title",
1030
+ "name": "edit",
1031
+ "privacy": "private"
1032
+ },
1033
+ {
1034
+ "kind": "method",
1035
+ "name": "delete",
1036
+ "parameters": [
1037
+ {
1038
+ "name": "e"
1039
+ }
1040
+ ]
1041
+ }
1042
+ ],
1043
+ "attributes": [
1044
+ {
1045
+ "name": "resourceName",
1138
1046
  "type": {
1139
1047
  "text": "string"
1140
1048
  },
1141
- "description": "Title of the grid",
1142
- "privacy": "public",
1143
- "default": "'Profile Management'",
1144
- "inheritedFrom": {
1145
- "name": "EntityManagement",
1146
- "module": "src/entities/entities.ts"
1147
- }
1049
+ "default": "''",
1050
+ "fieldName": "resourceName"
1148
1051
  },
1149
1052
  {
1150
- "kind": "field",
1151
- "name": "entityLabel",
1053
+ "name": "title",
1152
1054
  "type": {
1153
1055
  "text": "string"
1154
1056
  },
1155
- "default": "'Profile'",
1156
- "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1157
- "privacy": "public",
1158
- "inheritedFrom": {
1159
- "name": "EntityManagement",
1160
- "module": "src/entities/entities.ts"
1161
- }
1057
+ "default": "''",
1058
+ "fieldName": "title"
1162
1059
  },
1163
1060
  {
1164
- "kind": "field",
1165
- "name": "connect",
1061
+ "name": "persist-column-state-key",
1166
1062
  "type": {
1167
- "text": "Connect"
1063
+ "text": "string"
1168
1064
  },
1169
- "privacy": "protected",
1170
- "description": "DI connect object which is used to interact with the backend.",
1171
- "inheritedFrom": {
1172
- "name": "EntityManagement",
1173
- "module": "src/entities/entities.ts"
1174
- }
1065
+ "fieldName": "persistColumnStateKey"
1175
1066
  },
1176
1067
  {
1177
- "kind": "field",
1178
- "name": "readEvent",
1068
+ "name": "size-columns-to-fit",
1179
1069
  "type": {
1180
- "text": "string"
1070
+ "text": "boolean"
1181
1071
  },
1182
- "inheritedFrom": {
1183
- "name": "EntityManagement",
1184
- "module": "src/entities/entities.ts"
1185
- }
1072
+ "fieldName": "sizeColumnsToFit"
1186
1073
  },
1187
1074
  {
1188
- "kind": "field",
1189
- "name": "readonly",
1075
+ "name": "enable-filter-bar",
1190
1076
  "type": {
1191
1077
  "text": "boolean"
1192
1078
  },
1193
- "inheritedFrom": {
1194
- "name": "EntityManagement",
1195
- "module": "src/entities/entities.ts"
1196
- }
1079
+ "fieldName": "enableFilterBar"
1197
1080
  },
1198
1081
  {
1199
- "kind": "field",
1200
- "name": "asyncAdd",
1082
+ "name": "async-add",
1201
1083
  "type": {
1202
1084
  "text": "boolean"
1203
1085
  },
1204
1086
  "default": "false",
1205
- "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
1206
- "privacy": "public",
1207
- "inheritedFrom": {
1208
- "name": "EntityManagement",
1209
- "module": "src/entities/entities.ts"
1210
- }
1087
+ "fieldName": "asyncAdd"
1211
1088
  },
1212
1089
  {
1213
- "kind": "field",
1214
- "name": "asyncRemove",
1090
+ "name": "async-remove",
1215
1091
  "type": {
1216
1092
  "text": "boolean"
1217
1093
  },
1218
1094
  "default": "false",
1219
- "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
1220
- "privacy": "public",
1221
- "inheritedFrom": {
1222
- "name": "EntityManagement",
1223
- "module": "src/entities/entities.ts"
1224
- }
1095
+ "fieldName": "asyncRemove"
1225
1096
  },
1226
1097
  {
1227
- "kind": "field",
1228
- "name": "asyncUpdate",
1098
+ "name": "async-update",
1229
1099
  "type": {
1230
1100
  "text": "boolean"
1231
1101
  },
1232
1102
  "default": "true",
1233
- "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
1234
- "privacy": "public",
1235
- "inheritedFrom": {
1236
- "name": "EntityManagement",
1237
- "module": "src/entities/entities.ts"
1238
- }
1103
+ "fieldName": "asyncUpdate"
1239
1104
  },
1240
1105
  {
1241
- "kind": "field",
1242
- "name": "enableCellFlashing",
1106
+ "name": "enable-cell-flashing",
1243
1107
  "type": {
1244
1108
  "text": "boolean"
1245
1109
  },
1246
1110
  "default": "false",
1247
- "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
1248
- "privacy": "public",
1249
- "inheritedFrom": {
1250
- "name": "EntityManagement",
1251
- "module": "src/entities/entities.ts"
1252
- }
1111
+ "fieldName": "enableCellFlashing"
1253
1112
  },
1254
1113
  {
1255
- "kind": "field",
1256
- "name": "enableRowFlashing",
1114
+ "name": "enable-row-flashing",
1257
1115
  "type": {
1258
1116
  "text": "boolean"
1259
1117
  },
1260
1118
  "default": "false",
1261
- "description": "If true, will enable row flashing for all rows for `add` async transactions",
1262
- "privacy": "public",
1263
- "inheritedFrom": {
1264
- "name": "EntityManagement",
1265
- "module": "src/entities/entities.ts"
1266
- }
1267
- },
1268
- {
1269
- "kind": "field",
1270
- "name": "gridOptions",
1271
- "type": {
1272
- "text": "GridOptions"
1273
- },
1274
- "description": "GridOptions to be passed down from application",
1275
- "privacy": "public",
1276
- "inheritedFrom": {
1277
- "name": "EntityManagement",
1278
- "module": "src/entities/entities.ts"
1279
- }
1280
- },
1281
- {
1282
- "kind": "field",
1283
- "name": "columns",
1284
- "type": {
1285
- "text": "ColDef[]"
1286
- },
1287
- "description": "Array which holds the column definitions.",
1288
- "privacy": "public",
1289
- "inheritedFrom": {
1290
- "name": "EntityManagement",
1291
- "module": "src/entities/entities.ts"
1292
- }
1119
+ "fieldName": "enableRowFlashing"
1293
1120
  },
1294
1121
  {
1295
- "kind": "field",
1296
- "name": "datasourceConfig",
1122
+ "name": "hide-edit",
1297
1123
  "type": {
1298
- "text": "DatasourceConfiguration"
1124
+ "text": "boolean"
1299
1125
  },
1300
- "description": "The configuration which is used when interacting with the resource on the backend",
1301
- "privacy": "public",
1302
- "inheritedFrom": {
1303
- "name": "EntityManagement",
1304
- "module": "src/entities/entities.ts"
1305
- }
1126
+ "default": "false",
1127
+ "fieldName": "hideEdit"
1306
1128
  },
1307
1129
  {
1308
- "kind": "field",
1309
- "name": "formUiSchema",
1130
+ "name": "hide-delete",
1310
1131
  "type": {
1311
- "text": "any"
1132
+ "text": "boolean"
1312
1133
  },
1313
- "inheritedFrom": {
1314
- "name": "EntityManagement",
1315
- "module": "src/entities/entities.ts"
1316
- }
1317
- },
1318
- {
1319
- "kind": "field",
1320
- "name": "formRenderers",
1321
- "type": {
1322
- "text": "RendererEntry[]"
1323
- },
1324
- "default": "renderers",
1325
- "description": "Array with renderers used by foundation-forms",
1326
- "privacy": "public",
1327
- "inheritedFrom": {
1328
- "name": "EntityManagement",
1329
- "module": "src/entities/entities.ts"
1330
- }
1331
- },
1332
- {
1333
- "kind": "field",
1334
- "name": "selectedEntity",
1335
- "type": {
1336
- "text": "any"
1337
- },
1338
- "description": "Reference to the currently selected entity from the grid.",
1339
- "privacy": "public",
1340
- "inheritedFrom": {
1341
- "name": "EntityManagement",
1342
- "module": "src/entities/entities.ts"
1343
- }
1344
- },
1345
- {
1346
- "kind": "field",
1347
- "name": "editedEntity",
1348
- "type": {
1349
- "text": "any"
1350
- },
1351
- "description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
1352
- "privacy": "public",
1353
- "inheritedFrom": {
1354
- "name": "EntityManagement",
1355
- "module": "src/entities/entities.ts"
1356
- }
1357
- },
1134
+ "default": "false",
1135
+ "fieldName": "hideDelete"
1136
+ }
1137
+ ],
1138
+ "superclass": {
1139
+ "name": "FASTElement",
1140
+ "package": "@microsoft/fast-element"
1141
+ },
1142
+ "tagName": "entity-list",
1143
+ "customElement": true
1144
+ }
1145
+ ],
1146
+ "exports": [
1147
+ {
1148
+ "kind": "js",
1149
+ "name": "List",
1150
+ "declaration": {
1151
+ "name": "List",
1152
+ "module": "src/list/list.ts"
1153
+ }
1154
+ },
1155
+ {
1156
+ "kind": "custom-element-definition",
1157
+ "name": "entity-list",
1158
+ "declaration": {
1159
+ "name": "List",
1160
+ "module": "src/list/list.ts"
1161
+ }
1162
+ }
1163
+ ]
1164
+ },
1165
+ {
1166
+ "kind": "javascript-module",
1167
+ "path": "src/layouts/default.ts",
1168
+ "declarations": [
1169
+ {
1170
+ "kind": "variable",
1171
+ "name": "loginLayout",
1172
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
1173
+ },
1174
+ {
1175
+ "kind": "variable",
1176
+ "name": "defaultLayout",
1177
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
1178
+ }
1179
+ ],
1180
+ "exports": [
1181
+ {
1182
+ "kind": "js",
1183
+ "name": "loginLayout",
1184
+ "declaration": {
1185
+ "name": "loginLayout",
1186
+ "module": "src/layouts/default.ts"
1187
+ }
1188
+ },
1189
+ {
1190
+ "kind": "js",
1191
+ "name": "defaultLayout",
1192
+ "declaration": {
1193
+ "name": "defaultLayout",
1194
+ "module": "src/layouts/default.ts"
1195
+ }
1196
+ }
1197
+ ]
1198
+ },
1199
+ {
1200
+ "kind": "javascript-module",
1201
+ "path": "src/layouts/index.ts",
1202
+ "declarations": [],
1203
+ "exports": [
1204
+ {
1205
+ "kind": "js",
1206
+ "name": "*",
1207
+ "declaration": {
1208
+ "name": "*",
1209
+ "package": "./default"
1210
+ }
1211
+ }
1212
+ ]
1213
+ },
1214
+ {
1215
+ "kind": "javascript-module",
1216
+ "path": "src/main/index.ts",
1217
+ "declarations": [],
1218
+ "exports": [
1219
+ {
1220
+ "kind": "js",
1221
+ "name": "*",
1222
+ "declaration": {
1223
+ "name": "*",
1224
+ "package": "./main.template"
1225
+ }
1226
+ },
1227
+ {
1228
+ "kind": "js",
1229
+ "name": "*",
1230
+ "declaration": {
1231
+ "name": "*",
1232
+ "package": "./main"
1233
+ }
1234
+ }
1235
+ ]
1236
+ },
1237
+ {
1238
+ "kind": "javascript-module",
1239
+ "path": "src/main/main.styles.ts",
1240
+ "declarations": [
1241
+ {
1242
+ "kind": "variable",
1243
+ "name": "MainStyles",
1244
+ "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`"
1245
+ }
1246
+ ],
1247
+ "exports": [
1248
+ {
1249
+ "kind": "js",
1250
+ "name": "MainStyles",
1251
+ "declaration": {
1252
+ "name": "MainStyles",
1253
+ "module": "src/main/main.styles.ts"
1254
+ }
1255
+ }
1256
+ ]
1257
+ },
1258
+ {
1259
+ "kind": "javascript-module",
1260
+ "path": "src/main/main.template.ts",
1261
+ "declarations": [],
1262
+ "exports": []
1263
+ },
1264
+ {
1265
+ "kind": "javascript-module",
1266
+ "path": "src/main/main.ts",
1267
+ "declarations": [
1268
+ {
1269
+ "kind": "class",
1270
+ "description": "",
1271
+ "name": "MainApplication",
1272
+ "members": [
1358
1273
  {
1359
1274
  "kind": "field",
1360
- "name": "submitting",
1275
+ "name": "config",
1361
1276
  "type": {
1362
- "text": "boolean"
1363
- },
1364
- "inheritedFrom": {
1365
- "name": "EntityManagement",
1366
- "module": "src/entities/entities.ts"
1277
+ "text": "MainRouterConfig"
1367
1278
  }
1368
1279
  },
1369
1280
  {
1370
1281
  "kind": "field",
1371
- "name": "defaultEntityValues",
1282
+ "name": "connect",
1372
1283
  "type": {
1373
- "text": "any"
1374
- },
1375
- "inheritedFrom": {
1376
- "name": "EntityManagement",
1377
- "module": "src/entities/entities.ts"
1284
+ "text": "Connect"
1378
1285
  }
1379
1286
  },
1380
1287
  {
1381
1288
  "kind": "field",
1382
- "name": "editDialogTitle",
1289
+ "name": "session",
1383
1290
  "type": {
1384
- "text": "string"
1385
- },
1386
- "description": "String which contains the text of the popup modal when the user is adding or editing an entity",
1387
- "inheritedFrom": {
1388
- "name": "EntityManagement",
1389
- "module": "src/entities/entities.ts"
1291
+ "text": "Session"
1390
1292
  }
1391
1293
  },
1392
1294
  {
1393
1295
  "kind": "field",
1394
- "name": "editModalVisible",
1296
+ "name": "container",
1395
1297
  "type": {
1396
- "text": "boolean"
1397
- },
1398
- "default": "false",
1399
- "inheritedFrom": {
1400
- "name": "EntityManagement",
1401
- "module": "src/entities/entities.ts"
1402
- }
1403
- },
1404
- {
1405
- "kind": "method",
1406
- "name": "editModalVisibleChanged",
1407
- "inheritedFrom": {
1408
- "name": "EntityManagement",
1409
- "module": "src/entities/entities.ts"
1298
+ "text": "Container"
1410
1299
  }
1411
1300
  },
1412
1301
  {
1413
1302
  "kind": "field",
1414
- "name": "editEntityModal",
1303
+ "name": "provider",
1415
1304
  "type": {
1416
1305
  "text": "any"
1417
- },
1418
- "privacy": "public",
1419
- "inheritedFrom": {
1420
- "name": "EntityManagement",
1421
- "module": "src/entities/entities.ts"
1422
1306
  }
1423
1307
  },
1424
1308
  {
1425
1309
  "kind": "field",
1426
- "name": "sizeColumnsToFit",
1427
- "type": {
1428
- "text": "boolean"
1429
- },
1430
- "inheritedFrom": {
1431
- "name": "EntityManagement",
1432
- "module": "src/entities/entities.ts"
1433
- }
1434
- },
1435
- {
1436
- "kind": "field",
1437
- "name": "enableFilterBar",
1438
- "type": {
1439
- "text": "boolean"
1440
- },
1441
- "inheritedFrom": {
1442
- "name": "EntityManagement",
1443
- "module": "src/entities/entities.ts"
1444
- }
1445
- },
1446
- {
1447
- "kind": "field",
1448
- "name": "hideEdit",
1449
- "type": {
1450
- "text": "boolean"
1451
- },
1452
- "default": "false",
1453
- "inheritedFrom": {
1454
- "name": "EntityManagement",
1455
- "module": "src/entities/entities.ts"
1456
- }
1457
- },
1458
- {
1459
- "kind": "field",
1460
- "name": "hideDelete",
1310
+ "name": "ready",
1461
1311
  "type": {
1462
1312
  "text": "boolean"
1463
1313
  },
1464
- "default": "false",
1465
- "inheritedFrom": {
1466
- "name": "EntityManagement",
1467
- "module": "src/entities/entities.ts"
1468
- }
1314
+ "default": "false"
1469
1315
  },
1470
1316
  {
1471
1317
  "kind": "field",
1472
- "name": "modalPosition",
1318
+ "name": "data",
1473
1319
  "type": {
1474
- "text": "'centre' | 'left' | 'right'"
1320
+ "text": "any"
1475
1321
  },
1476
- "default": "'right'",
1477
- "description": "Determines where the modal dialog will appear on screen",
1478
- "privacy": "public",
1479
- "inheritedFrom": {
1480
- "name": "EntityManagement",
1481
- "module": "src/entities/entities.ts"
1482
- }
1322
+ "default": "null"
1483
1323
  },
1484
1324
  {
1485
1325
  "kind": "method",
1486
- "name": "deepClone",
1487
- "return": {
1488
- "type": {
1489
- "text": "Node"
1490
- }
1491
- },
1492
- "description": "Override the deepClone method to ensure that observable attributes are cloned",
1493
- "privacy": "public",
1494
- "inheritedFrom": {
1495
- "name": "EntityManagement",
1496
- "module": "src/entities/entities.ts"
1497
- }
1326
+ "name": "onLuminanceToggle"
1498
1327
  },
1499
1328
  {
1500
1329
  "kind": "method",
1501
- "name": "submitEntityChanges",
1502
- "privacy": "public",
1503
- "parameters": [
1504
- {
1505
- "name": "e",
1506
- "type": {
1507
- "text": "CustomEvent"
1508
- },
1509
- "description": "CustomEvent which contains the payload for the entity to submit to the backend\n\nEmits an event upon error"
1510
- }
1511
- ],
1512
- "description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity",
1513
- "inheritedFrom": {
1514
- "name": "EntityManagement",
1515
- "module": "src/entities/entities.ts"
1516
- }
1330
+ "name": "loadRemotes"
1517
1331
  },
1518
1332
  {
1519
1333
  "kind": "method",
1520
- "name": "readEntity",
1521
- "privacy": "private",
1522
- "parameters": [
1523
- {
1524
- "name": "e",
1525
- "type": {
1526
- "text": "CustomEvent"
1527
- }
1528
- }
1529
- ],
1530
- "inheritedFrom": {
1531
- "name": "EntityManagement",
1532
- "module": "src/entities/entities.ts"
1533
- }
1334
+ "name": "selectTemplate"
1534
1335
  },
1535
1336
  {
1536
1337
  "kind": "method",
1537
- "name": "closeModal",
1538
- "privacy": "public",
1539
- "inheritedFrom": {
1540
- "name": "EntityManagement",
1541
- "module": "src/entities/entities.ts"
1542
- }
1543
- },
1338
+ "name": "registerDIDependencies",
1339
+ "privacy": "private"
1340
+ }
1341
+ ],
1342
+ "superclass": {
1343
+ "name": "FASTElement",
1344
+ "package": "@microsoft/fast-element"
1345
+ },
1346
+ "customElement": true
1347
+ }
1348
+ ],
1349
+ "exports": [
1350
+ {
1351
+ "kind": "js",
1352
+ "name": "MainApplication",
1353
+ "declaration": {
1354
+ "name": "MainApplication",
1355
+ "module": "src/main/main.ts"
1356
+ }
1357
+ },
1358
+ {
1359
+ "kind": "custom-element-definition",
1360
+ "declaration": {
1361
+ "name": "MainApplication",
1362
+ "module": "src/main/main.ts"
1363
+ }
1364
+ }
1365
+ ]
1366
+ },
1367
+ {
1368
+ "kind": "javascript-module",
1369
+ "path": "src/profiles/editProfileSchema.ts",
1370
+ "declarations": [
1371
+ {
1372
+ "kind": "variable",
1373
+ "name": "editProfileFormSchema",
1374
+ "type": {
1375
+ "text": "object"
1376
+ },
1377
+ "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}"
1378
+ }
1379
+ ],
1380
+ "exports": [
1381
+ {
1382
+ "kind": "js",
1383
+ "name": "editProfileFormSchema",
1384
+ "declaration": {
1385
+ "name": "editProfileFormSchema",
1386
+ "module": "src/profiles/editProfileSchema.ts"
1387
+ }
1388
+ }
1389
+ ]
1390
+ },
1391
+ {
1392
+ "kind": "javascript-module",
1393
+ "path": "src/profiles/profiles.ts",
1394
+ "declarations": [
1395
+ {
1396
+ "kind": "class",
1397
+ "description": "Main class which defined the profile management functionality",
1398
+ "name": "Profiles",
1399
+ "members": [
1544
1400
  {
1545
1401
  "kind": "method",
1546
- "name": "criteriaChanged",
1402
+ "name": "readProfileData",
1547
1403
  "privacy": "public",
1548
1404
  "parameters": [
1549
1405
  {
1550
- "name": "e",
1551
- "type": {
1552
- "text": "CustomEvent<string>"
1553
- }
1406
+ "name": "profile"
1554
1407
  }
1555
- ],
1408
+ ]
1409
+ },
1410
+ {
1411
+ "kind": "method",
1412
+ "name": "confirmDelete",
1556
1413
  "inheritedFrom": {
1557
1414
  "name": "EntityManagement",
1558
1415
  "module": "src/entities/entities.ts"
1559
1416
  }
1560
1417
  },
1561
1418
  {
1562
- "kind": "method",
1563
- "name": "submitFailureNotification",
1564
- "privacy": "public",
1565
- "parameters": [
1566
- {
1567
- "name": "e",
1568
- "type": {
1569
- "text": "CustomEvent"
1570
- }
1571
- }
1572
- ],
1419
+ "kind": "field",
1420
+ "name": "createEvent",
1421
+ "type": {
1422
+ "text": "string"
1423
+ },
1424
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
1425
+ "privacy": "public",
1573
1426
  "inheritedFrom": {
1574
1427
  "name": "EntityManagement",
1575
1428
  "module": "src/entities/entities.ts"
1576
1429
  }
1577
1430
  },
1578
1431
  {
1579
- "kind": "method",
1580
- "name": "showDeleteConfirmation",
1581
- "privacy": "private",
1432
+ "kind": "field",
1433
+ "name": "deleteEvent",
1434
+ "type": {
1435
+ "text": "string"
1436
+ },
1437
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1438
+ "privacy": "public",
1582
1439
  "inheritedFrom": {
1583
1440
  "name": "EntityManagement",
1584
1441
  "module": "src/entities/entities.ts"
1585
1442
  }
1586
- }
1587
- ],
1588
- "superclass": {
1589
- "name": "EntityManagement",
1590
- "module": "/src/entities"
1591
- },
1592
- "tagName": "profile-management",
1593
- "customElement": true,
1594
- "attributes": [
1443
+ },
1595
1444
  {
1596
- "name": "resourceName",
1445
+ "kind": "field",
1446
+ "name": "updateEvent",
1597
1447
  "type": {
1598
1448
  "text": "string"
1599
1449
  },
1600
- "description": "Name of the backend resource which contain the entities to manage",
1601
- "fieldName": "resourceName",
1450
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
1451
+ "privacy": "public",
1602
1452
  "inheritedFrom": {
1603
1453
  "name": "EntityManagement",
1604
1454
  "module": "src/entities/entities.ts"
1605
1455
  }
1606
1456
  },
1607
1457
  {
1608
- "name": "readEvent",
1458
+ "kind": "field",
1459
+ "name": "persistColumnStateKey",
1609
1460
  "type": {
1610
1461
  "text": "string"
1611
1462
  },
1612
- "fieldName": "readEvent",
1463
+ "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.",
1464
+ "privacy": "public",
1465
+ "default": "'entity_profiles_management'",
1613
1466
  "inheritedFrom": {
1614
1467
  "name": "EntityManagement",
1615
1468
  "module": "src/entities/entities.ts"
1616
1469
  }
1617
1470
  },
1618
1471
  {
1472
+ "kind": "field",
1473
+ "name": "updateFormUiSchema",
1619
1474
  "type": {
1620
- "text": "boolean"
1475
+ "text": "any"
1621
1476
  },
1622
- "fieldName": "readonly",
1477
+ "default": "editProfileFormSchema",
1623
1478
  "inheritedFrom": {
1624
1479
  "name": "EntityManagement",
1625
1480
  "module": "src/entities/entities.ts"
1626
1481
  }
1627
1482
  },
1628
1483
  {
1629
- "name": "updateEvent",
1484
+ "kind": "field",
1485
+ "name": "createFormUiSchema",
1630
1486
  "type": {
1631
- "text": "string"
1487
+ "text": "any"
1632
1488
  },
1633
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
1634
- "fieldName": "updateEvent",
1489
+ "default": "editProfileFormSchema",
1635
1490
  "inheritedFrom": {
1636
1491
  "name": "EntityManagement",
1637
1492
  "module": "src/entities/entities.ts"
1638
1493
  }
1639
1494
  },
1640
1495
  {
1641
- "name": "deleteEvent",
1496
+ "kind": "field",
1497
+ "name": "readEventFn",
1642
1498
  "type": {
1643
- "text": "string"
1499
+ "text": "(...args) => {}"
1644
1500
  },
1645
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1646
- "fieldName": "deleteEvent",
1647
1501
  "inheritedFrom": {
1648
1502
  "name": "EntityManagement",
1649
1503
  "module": "src/entities/entities.ts"
1650
1504
  }
1651
1505
  },
1652
1506
  {
1653
- "name": "createEvent",
1507
+ "kind": "field",
1508
+ "name": "resourceName",
1654
1509
  "type": {
1655
1510
  "text": "string"
1656
1511
  },
1657
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
1658
- "fieldName": "createEvent",
1512
+ "description": "Name of the backend resource which contain the entities to manage",
1513
+ "privacy": "public",
1514
+ "default": "'ALL_PROFILES'",
1659
1515
  "inheritedFrom": {
1660
1516
  "name": "EntityManagement",
1661
1517
  "module": "src/entities/entities.ts"
1662
1518
  }
1663
1519
  },
1664
1520
  {
1521
+ "kind": "field",
1665
1522
  "name": "title",
1666
1523
  "type": {
1667
1524
  "text": "string"
1668
1525
  },
1669
1526
  "description": "Title of the grid",
1670
- "fieldName": "title",
1527
+ "privacy": "public",
1528
+ "default": "'Profile Management'",
1671
1529
  "inheritedFrom": {
1672
1530
  "name": "EntityManagement",
1673
1531
  "module": "src/entities/entities.ts"
1674
1532
  }
1675
1533
  },
1676
1534
  {
1535
+ "kind": "field",
1677
1536
  "name": "entityLabel",
1678
1537
  "type": {
1679
1538
  "text": "string"
1680
1539
  },
1681
- "default": "''",
1540
+ "default": "'Profile'",
1682
1541
  "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1683
- "fieldName": "entityLabel",
1542
+ "privacy": "public",
1684
1543
  "inheritedFrom": {
1685
1544
  "name": "EntityManagement",
1686
1545
  "module": "src/entities/entities.ts"
1687
1546
  }
1688
1547
  },
1689
1548
  {
1690
- "name": "async-add",
1549
+ "kind": "field",
1550
+ "name": "connect",
1691
1551
  "type": {
1692
- "text": "boolean"
1552
+ "text": "Connect"
1693
1553
  },
1694
- "default": "false",
1695
- "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
1696
- "fieldName": "asyncAdd",
1554
+ "privacy": "protected",
1555
+ "description": "DI connect object which is used to interact with the backend.",
1697
1556
  "inheritedFrom": {
1698
1557
  "name": "EntityManagement",
1699
1558
  "module": "src/entities/entities.ts"
1700
1559
  }
1701
1560
  },
1702
1561
  {
1703
- "name": "async-remove",
1562
+ "kind": "field",
1563
+ "name": "readEvent",
1704
1564
  "type": {
1705
- "text": "boolean"
1565
+ "text": "string"
1706
1566
  },
1707
- "default": "false",
1708
- "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
1709
- "fieldName": "asyncRemove",
1710
1567
  "inheritedFrom": {
1711
1568
  "name": "EntityManagement",
1712
1569
  "module": "src/entities/entities.ts"
1713
1570
  }
1714
1571
  },
1715
1572
  {
1716
- "name": "async-update",
1573
+ "kind": "field",
1574
+ "name": "readonly",
1717
1575
  "type": {
1718
1576
  "text": "boolean"
1719
1577
  },
1720
- "default": "true",
1721
- "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
1722
- "fieldName": "asyncUpdate",
1723
1578
  "inheritedFrom": {
1724
1579
  "name": "EntityManagement",
1725
1580
  "module": "src/entities/entities.ts"
1726
1581
  }
1727
1582
  },
1728
1583
  {
1729
- "name": "enable-cell-flashing",
1584
+ "kind": "field",
1585
+ "name": "asyncAdd",
1730
1586
  "type": {
1731
1587
  "text": "boolean"
1732
1588
  },
1733
1589
  "default": "false",
1734
- "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
1735
- "fieldName": "enableCellFlashing",
1590
+ "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
1591
+ "privacy": "public",
1736
1592
  "inheritedFrom": {
1737
1593
  "name": "EntityManagement",
1738
1594
  "module": "src/entities/entities.ts"
1739
1595
  }
1740
1596
  },
1741
1597
  {
1742
- "name": "enable-row-flashing",
1598
+ "kind": "field",
1599
+ "name": "asyncRemove",
1743
1600
  "type": {
1744
1601
  "text": "boolean"
1745
1602
  },
1746
1603
  "default": "false",
1747
- "description": "If true, will enable row flashing for all rows for `add` async transactions",
1748
- "fieldName": "enableRowFlashing",
1749
- "inheritedFrom": {
1750
- "name": "EntityManagement",
1751
- "module": "src/entities/entities.ts"
1752
- }
1753
- },
1754
- {
1755
- "name": "persist-column-state-key",
1756
- "type": {
1757
- "text": "string"
1758
- },
1759
- "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.",
1760
- "fieldName": "persistColumnStateKey",
1604
+ "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
1605
+ "privacy": "public",
1761
1606
  "inheritedFrom": {
1762
1607
  "name": "EntityManagement",
1763
1608
  "module": "src/entities/entities.ts"
1764
1609
  }
1765
1610
  },
1766
1611
  {
1767
- "name": "size-columns-to-fit",
1612
+ "kind": "field",
1613
+ "name": "asyncUpdate",
1768
1614
  "type": {
1769
1615
  "text": "boolean"
1770
1616
  },
1771
- "fieldName": "sizeColumnsToFit",
1617
+ "default": "true",
1618
+ "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
1619
+ "privacy": "public",
1772
1620
  "inheritedFrom": {
1773
1621
  "name": "EntityManagement",
1774
1622
  "module": "src/entities/entities.ts"
1775
1623
  }
1776
1624
  },
1777
1625
  {
1778
- "name": "enable-filter-bar",
1626
+ "kind": "field",
1627
+ "name": "enableCellFlashing",
1779
1628
  "type": {
1780
1629
  "text": "boolean"
1781
1630
  },
1782
- "fieldName": "enableFilterBar",
1631
+ "default": "false",
1632
+ "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
1633
+ "privacy": "public",
1783
1634
  "inheritedFrom": {
1784
1635
  "name": "EntityManagement",
1785
1636
  "module": "src/entities/entities.ts"
1786
1637
  }
1787
1638
  },
1788
1639
  {
1789
- "name": "hide-edit",
1640
+ "kind": "field",
1641
+ "name": "enableRowFlashing",
1790
1642
  "type": {
1791
1643
  "text": "boolean"
1792
1644
  },
1793
1645
  "default": "false",
1794
- "fieldName": "hideEdit",
1646
+ "description": "If true, will enable row flashing for all rows for `add` async transactions",
1647
+ "privacy": "public",
1795
1648
  "inheritedFrom": {
1796
1649
  "name": "EntityManagement",
1797
1650
  "module": "src/entities/entities.ts"
1798
1651
  }
1799
1652
  },
1800
1653
  {
1801
- "name": "hide-delete",
1654
+ "kind": "field",
1655
+ "name": "gridOptions",
1802
1656
  "type": {
1803
- "text": "boolean"
1657
+ "text": "GridOptions"
1804
1658
  },
1805
- "default": "false",
1806
- "fieldName": "hideDelete",
1659
+ "description": "GridOptions to be passed down from application",
1660
+ "privacy": "public",
1807
1661
  "inheritedFrom": {
1808
1662
  "name": "EntityManagement",
1809
1663
  "module": "src/entities/entities.ts"
1810
1664
  }
1811
1665
  },
1812
1666
  {
1813
- "name": "modal-position",
1667
+ "kind": "field",
1668
+ "name": "columns",
1814
1669
  "type": {
1815
- "text": "'centre' | 'left' | 'right'"
1670
+ "text": "ColDef[]"
1816
1671
  },
1817
- "default": "'right'",
1818
- "description": "Determines where the modal dialog will appear on screen",
1819
- "fieldName": "modalPosition",
1672
+ "description": "Array which holds the column definitions.",
1673
+ "privacy": "public",
1820
1674
  "inheritedFrom": {
1821
1675
  "name": "EntityManagement",
1822
1676
  "module": "src/entities/entities.ts"
1823
- }
1824
- }
1825
- ]
1826
- }
1827
- ],
1828
- "exports": [
1829
- {
1830
- "kind": "js",
1831
- "name": "Profiles",
1832
- "declaration": {
1833
- "name": "Profiles",
1834
- "module": "src/profiles/profiles.ts"
1835
- }
1836
- },
1837
- {
1838
- "kind": "custom-element-definition",
1839
- "name": "profile-management",
1840
- "declaration": {
1841
- "name": "Profiles",
1842
- "module": "src/profiles/profiles.ts"
1843
- }
1844
- }
1845
- ]
1846
- },
1847
- {
1848
- "kind": "javascript-module",
1849
- "path": "src/list/index.ts",
1850
- "declarations": [],
1851
- "exports": [
1852
- {
1853
- "kind": "js",
1854
- "name": "*",
1855
- "declaration": {
1856
- "name": "*",
1857
- "package": "./list"
1858
- }
1859
- }
1860
- ]
1861
- },
1862
- {
1863
- "kind": "javascript-module",
1864
- "path": "src/list/list.styles.ts",
1865
- "declarations": [
1866
- {
1867
- "kind": "variable",
1868
- "name": "listStyles",
1869
- "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`"
1870
- }
1871
- ],
1872
- "exports": [
1873
- {
1874
- "kind": "js",
1875
- "name": "listStyles",
1876
- "declaration": {
1877
- "name": "listStyles",
1878
- "module": "src/list/list.styles.ts"
1879
- }
1880
- }
1881
- ]
1882
- },
1883
- {
1884
- "kind": "javascript-module",
1885
- "path": "src/list/list.template.ts",
1886
- "declarations": [
1887
- {
1888
- "kind": "variable",
1889
- "name": "listTemplate",
1890
- "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 async-add=${(x) => x.asyncAdd}\n async-remove=${(x) => x.asyncRemove}\n async-update=${(x) => x.asyncUpdate}\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n enable-row-flashing=${(x) => x.enableRowFlashing}\n >\n <grid-pro-genesis-datasource\n ${ref('datasource')}\n :deferredGridOptions=${(x) => x.gridOptions}\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 moving-view=${(x) => x.datasourceConfig?.movingView}\n order-by=${(x) => x.datasourceConfig?.orderBy}\n polling-interval=${(x) => x.datasourceConfig?.pollingInterval}\n resource-name=${(x) => x.resourceName}\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`"
1891
- }
1892
- ],
1893
- "exports": [
1894
- {
1895
- "kind": "js",
1896
- "name": "listTemplate",
1897
- "declaration": {
1898
- "name": "listTemplate",
1899
- "module": "src/list/list.template.ts"
1900
- }
1901
- }
1902
- ]
1903
- },
1904
- {
1905
- "kind": "javascript-module",
1906
- "path": "src/list/list.ts",
1907
- "declarations": [
1908
- {
1909
- "kind": "class",
1910
- "description": "",
1911
- "name": "List",
1912
- "members": [
1677
+ }
1678
+ },
1913
1679
  {
1914
1680
  "kind": "field",
1915
- "name": "resourceName",
1681
+ "name": "datasourceConfig",
1916
1682
  "type": {
1917
- "text": "string"
1683
+ "text": "DatasourceConfiguration"
1918
1684
  },
1919
- "default": "''"
1685
+ "description": "The configuration which is used when interacting with the resource on the backend",
1686
+ "privacy": "public",
1687
+ "inheritedFrom": {
1688
+ "name": "EntityManagement",
1689
+ "module": "src/entities/entities.ts"
1690
+ }
1920
1691
  },
1921
1692
  {
1922
1693
  "kind": "field",
1923
- "name": "title",
1694
+ "name": "formUiSchema",
1924
1695
  "type": {
1925
- "text": "string"
1696
+ "text": "any"
1926
1697
  },
1927
- "default": "''"
1698
+ "inheritedFrom": {
1699
+ "name": "EntityManagement",
1700
+ "module": "src/entities/entities.ts"
1701
+ }
1928
1702
  },
1929
1703
  {
1930
1704
  "kind": "field",
1931
- "name": "persistColumnStateKey",
1705
+ "name": "formRenderers",
1932
1706
  "type": {
1933
- "text": "string"
1707
+ "text": "RendererEntry[]"
1708
+ },
1709
+ "default": "renderers",
1710
+ "description": "Array with renderers used by foundation-forms",
1711
+ "privacy": "public",
1712
+ "inheritedFrom": {
1713
+ "name": "EntityManagement",
1714
+ "module": "src/entities/entities.ts"
1934
1715
  }
1935
1716
  },
1936
1717
  {
1937
1718
  "kind": "field",
1938
- "name": "sizeColumnsToFit",
1719
+ "name": "selectedEntity",
1939
1720
  "type": {
1940
- "text": "boolean"
1721
+ "text": "any"
1722
+ },
1723
+ "description": "Reference to the currently selected entity from the grid.",
1724
+ "privacy": "public",
1725
+ "inheritedFrom": {
1726
+ "name": "EntityManagement",
1727
+ "module": "src/entities/entities.ts"
1941
1728
  }
1942
1729
  },
1943
1730
  {
1944
1731
  "kind": "field",
1945
- "name": "enableFilterBar",
1732
+ "name": "editedEntity",
1946
1733
  "type": {
1947
- "text": "boolean"
1734
+ "text": "any"
1735
+ },
1736
+ "description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
1737
+ "privacy": "public",
1738
+ "inheritedFrom": {
1739
+ "name": "EntityManagement",
1740
+ "module": "src/entities/entities.ts"
1948
1741
  }
1949
1742
  },
1950
1743
  {
1951
1744
  "kind": "field",
1952
- "name": "asyncAdd",
1745
+ "name": "submitting",
1953
1746
  "type": {
1954
1747
  "text": "boolean"
1955
1748
  },
1956
- "default": "false"
1749
+ "inheritedFrom": {
1750
+ "name": "EntityManagement",
1751
+ "module": "src/entities/entities.ts"
1752
+ }
1957
1753
  },
1958
1754
  {
1959
1755
  "kind": "field",
1960
- "name": "asyncRemove",
1756
+ "name": "defaultEntityValues",
1961
1757
  "type": {
1962
- "text": "boolean"
1758
+ "text": "any"
1963
1759
  },
1964
- "default": "false"
1760
+ "inheritedFrom": {
1761
+ "name": "EntityManagement",
1762
+ "module": "src/entities/entities.ts"
1763
+ }
1965
1764
  },
1966
1765
  {
1967
1766
  "kind": "field",
1968
- "name": "asyncUpdate",
1767
+ "name": "editDialogTitle",
1768
+ "type": {
1769
+ "text": "string"
1770
+ },
1771
+ "description": "String which contains the text of the popup modal when the user is adding or editing an entity",
1772
+ "inheritedFrom": {
1773
+ "name": "EntityManagement",
1774
+ "module": "src/entities/entities.ts"
1775
+ }
1776
+ },
1777
+ {
1778
+ "kind": "field",
1779
+ "name": "editModalVisible",
1969
1780
  "type": {
1970
1781
  "text": "boolean"
1971
1782
  },
1972
- "default": "true"
1783
+ "default": "false",
1784
+ "inheritedFrom": {
1785
+ "name": "EntityManagement",
1786
+ "module": "src/entities/entities.ts"
1787
+ }
1788
+ },
1789
+ {
1790
+ "kind": "method",
1791
+ "name": "editModalVisibleChanged",
1792
+ "inheritedFrom": {
1793
+ "name": "EntityManagement",
1794
+ "module": "src/entities/entities.ts"
1795
+ }
1973
1796
  },
1974
1797
  {
1975
1798
  "kind": "field",
1976
- "name": "enableCellFlashing",
1799
+ "name": "editEntityModal",
1800
+ "type": {
1801
+ "text": "any"
1802
+ },
1803
+ "privacy": "public",
1804
+ "inheritedFrom": {
1805
+ "name": "EntityManagement",
1806
+ "module": "src/entities/entities.ts"
1807
+ }
1808
+ },
1809
+ {
1810
+ "kind": "field",
1811
+ "name": "sizeColumnsToFit",
1977
1812
  "type": {
1978
1813
  "text": "boolean"
1979
1814
  },
1980
- "default": "false"
1815
+ "inheritedFrom": {
1816
+ "name": "EntityManagement",
1817
+ "module": "src/entities/entities.ts"
1818
+ }
1981
1819
  },
1982
1820
  {
1983
1821
  "kind": "field",
1984
- "name": "enableRowFlashing",
1822
+ "name": "enableFilterBar",
1985
1823
  "type": {
1986
1824
  "text": "boolean"
1987
1825
  },
1988
- "default": "false"
1826
+ "inheritedFrom": {
1827
+ "name": "EntityManagement",
1828
+ "module": "src/entities/entities.ts"
1829
+ }
1989
1830
  },
1990
1831
  {
1991
1832
  "kind": "field",
@@ -1993,7 +1834,11 @@
1993
1834
  "type": {
1994
1835
  "text": "boolean"
1995
1836
  },
1996
- "default": "false"
1837
+ "default": "false",
1838
+ "inheritedFrom": {
1839
+ "name": "EntityManagement",
1840
+ "module": "src/entities/entities.ts"
1841
+ }
1997
1842
  },
1998
1843
  {
1999
1844
  "kind": "field",
@@ -2001,189 +1846,329 @@
2001
1846
  "type": {
2002
1847
  "text": "boolean"
2003
1848
  },
2004
- "default": "false"
1849
+ "default": "false",
1850
+ "inheritedFrom": {
1851
+ "name": "EntityManagement",
1852
+ "module": "src/entities/entities.ts"
1853
+ }
2005
1854
  },
2006
1855
  {
2007
1856
  "kind": "field",
2008
- "name": "grid",
1857
+ "name": "modalPosition",
2009
1858
  "type": {
2010
- "text": "ZeroGridPro"
1859
+ "text": "'centre' | 'left' | 'right'"
2011
1860
  },
2012
- "privacy": "public"
1861
+ "default": "'right'",
1862
+ "description": "Determines where the modal dialog will appear on screen",
1863
+ "privacy": "public",
1864
+ "inheritedFrom": {
1865
+ "name": "EntityManagement",
1866
+ "module": "src/entities/entities.ts"
1867
+ }
1868
+ },
1869
+ {
1870
+ "kind": "method",
1871
+ "name": "deepClone",
1872
+ "return": {
1873
+ "type": {
1874
+ "text": "Node"
1875
+ }
1876
+ },
1877
+ "description": "Override the deepClone method to ensure that observable attributes are cloned",
1878
+ "privacy": "public",
1879
+ "inheritedFrom": {
1880
+ "name": "EntityManagement",
1881
+ "module": "src/entities/entities.ts"
1882
+ }
1883
+ },
1884
+ {
1885
+ "kind": "method",
1886
+ "name": "submitEntityChanges",
1887
+ "privacy": "public",
1888
+ "parameters": [
1889
+ {
1890
+ "name": "e",
1891
+ "type": {
1892
+ "text": "CustomEvent"
1893
+ },
1894
+ "description": "CustomEvent which contains the payload for the entity to submit to the backend\n\nEmits an event upon error"
1895
+ }
1896
+ ],
1897
+ "description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity",
1898
+ "inheritedFrom": {
1899
+ "name": "EntityManagement",
1900
+ "module": "src/entities/entities.ts"
1901
+ }
1902
+ },
1903
+ {
1904
+ "kind": "method",
1905
+ "name": "readEntity",
1906
+ "privacy": "private",
1907
+ "parameters": [
1908
+ {
1909
+ "name": "e",
1910
+ "type": {
1911
+ "text": "CustomEvent"
1912
+ }
1913
+ }
1914
+ ],
1915
+ "inheritedFrom": {
1916
+ "name": "EntityManagement",
1917
+ "module": "src/entities/entities.ts"
1918
+ }
1919
+ },
1920
+ {
1921
+ "kind": "method",
1922
+ "name": "closeModal",
1923
+ "privacy": "public",
1924
+ "inheritedFrom": {
1925
+ "name": "EntityManagement",
1926
+ "module": "src/entities/entities.ts"
1927
+ }
1928
+ },
1929
+ {
1930
+ "kind": "method",
1931
+ "name": "criteriaChanged",
1932
+ "privacy": "public",
1933
+ "parameters": [
1934
+ {
1935
+ "name": "e",
1936
+ "type": {
1937
+ "text": "CustomEvent<string>"
1938
+ }
1939
+ }
1940
+ ],
1941
+ "inheritedFrom": {
1942
+ "name": "EntityManagement",
1943
+ "module": "src/entities/entities.ts"
1944
+ }
2013
1945
  },
2014
1946
  {
2015
- "kind": "field",
2016
- "name": "datasource",
1947
+ "kind": "method",
1948
+ "name": "submitFailureNotification",
1949
+ "privacy": "public",
1950
+ "parameters": [
1951
+ {
1952
+ "name": "e",
1953
+ "type": {
1954
+ "text": "CustomEvent"
1955
+ }
1956
+ }
1957
+ ],
1958
+ "inheritedFrom": {
1959
+ "name": "EntityManagement",
1960
+ "module": "src/entities/entities.ts"
1961
+ }
1962
+ },
1963
+ {
1964
+ "kind": "method",
1965
+ "name": "showDeleteConfirmation",
1966
+ "privacy": "private",
1967
+ "inheritedFrom": {
1968
+ "name": "EntityManagement",
1969
+ "module": "src/entities/entities.ts"
1970
+ }
1971
+ }
1972
+ ],
1973
+ "superclass": {
1974
+ "name": "EntityManagement",
1975
+ "module": "/src/entities"
1976
+ },
1977
+ "tagName": "profile-management",
1978
+ "customElement": true,
1979
+ "attributes": [
1980
+ {
1981
+ "name": "resourceName",
2017
1982
  "type": {
2018
- "text": "GridProGenesisDatasource"
1983
+ "text": "string"
2019
1984
  },
2020
- "privacy": "public"
2021
- },
2022
- {
2023
- "kind": "field",
2024
- "name": "gridOptions",
2025
- "type": {
2026
- "text": "GridOptions"
1985
+ "description": "Name of the backend resource which contain the entities to manage",
1986
+ "fieldName": "resourceName",
1987
+ "inheritedFrom": {
1988
+ "name": "EntityManagement",
1989
+ "module": "src/entities/entities.ts"
2027
1990
  }
2028
1991
  },
2029
1992
  {
2030
- "kind": "field",
2031
- "name": "columns",
1993
+ "name": "readEvent",
2032
1994
  "type": {
2033
- "text": "ColDef[]"
1995
+ "text": "string"
1996
+ },
1997
+ "fieldName": "readEvent",
1998
+ "inheritedFrom": {
1999
+ "name": "EntityManagement",
2000
+ "module": "src/entities/entities.ts"
2034
2001
  }
2035
2002
  },
2036
2003
  {
2037
- "kind": "field",
2038
- "name": "datasourceConfig",
2039
2004
  "type": {
2040
- "text": "DatasourceConfiguration"
2005
+ "text": "boolean"
2006
+ },
2007
+ "fieldName": "readonly",
2008
+ "inheritedFrom": {
2009
+ "name": "EntityManagement",
2010
+ "module": "src/entities/entities.ts"
2041
2011
  }
2042
2012
  },
2043
2013
  {
2044
- "kind": "field",
2045
- "name": "actionButtonsConfig",
2014
+ "name": "updateEvent",
2046
2015
  "type": {
2047
- "text": "array"
2016
+ "text": "string"
2048
2017
  },
2049
- "default": "[]"
2018
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
2019
+ "fieldName": "updateEvent",
2020
+ "inheritedFrom": {
2021
+ "name": "EntityManagement",
2022
+ "module": "src/entities/entities.ts"
2023
+ }
2050
2024
  },
2051
2025
  {
2052
- "kind": "field",
2053
2026
  "name": "deleteEvent",
2054
2027
  "type": {
2055
2028
  "text": "string"
2029
+ },
2030
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
2031
+ "fieldName": "deleteEvent",
2032
+ "inheritedFrom": {
2033
+ "name": "EntityManagement",
2034
+ "module": "src/entities/entities.ts"
2056
2035
  }
2057
2036
  },
2058
2037
  {
2059
- "kind": "field",
2060
- "name": "updateEvent",
2038
+ "name": "createEvent",
2061
2039
  "type": {
2062
2040
  "text": "string"
2041
+ },
2042
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
2043
+ "fieldName": "createEvent",
2044
+ "inheritedFrom": {
2045
+ "name": "EntityManagement",
2046
+ "module": "src/entities/entities.ts"
2063
2047
  }
2064
2048
  },
2065
2049
  {
2066
- "kind": "method",
2067
- "name": "handleFilterChanged",
2068
- "privacy": "private",
2069
- "parameters": [
2070
- {
2071
- "name": "e"
2072
- }
2073
- ]
2074
- },
2075
- {
2076
- "kind": "method",
2077
- "name": "handleFilterCleared",
2078
- "privacy": "private",
2079
- "parameters": [
2080
- {
2081
- "name": "e"
2082
- }
2083
- ]
2084
- },
2085
- {
2086
- "kind": "method",
2087
- "name": "select",
2088
- "privacy": "private",
2089
- "parameters": [
2090
- {
2091
- "name": "e"
2092
- }
2093
- ]
2094
- },
2095
- {
2096
- "kind": "field",
2097
- "name": "edit",
2098
- "privacy": "private"
2099
- },
2100
- {
2101
- "kind": "method",
2102
- "name": "delete",
2103
- "parameters": [
2104
- {
2105
- "name": "e"
2106
- }
2107
- ]
2108
- }
2109
- ],
2110
- "attributes": [
2111
- {
2112
- "name": "resourceName",
2050
+ "name": "title",
2113
2051
  "type": {
2114
2052
  "text": "string"
2115
2053
  },
2116
- "default": "''",
2117
- "fieldName": "resourceName"
2054
+ "description": "Title of the grid",
2055
+ "fieldName": "title",
2056
+ "inheritedFrom": {
2057
+ "name": "EntityManagement",
2058
+ "module": "src/entities/entities.ts"
2059
+ }
2118
2060
  },
2119
2061
  {
2120
- "name": "title",
2062
+ "name": "entityLabel",
2121
2063
  "type": {
2122
2064
  "text": "string"
2123
2065
  },
2124
2066
  "default": "''",
2125
- "fieldName": "title"
2067
+ "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
2068
+ "fieldName": "entityLabel",
2069
+ "inheritedFrom": {
2070
+ "name": "EntityManagement",
2071
+ "module": "src/entities/entities.ts"
2072
+ }
2126
2073
  },
2127
2074
  {
2128
- "name": "persist-column-state-key",
2075
+ "name": "async-add",
2129
2076
  "type": {
2130
- "text": "string"
2077
+ "text": "boolean"
2131
2078
  },
2132
- "fieldName": "persistColumnStateKey"
2079
+ "default": "false",
2080
+ "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
2081
+ "fieldName": "asyncAdd",
2082
+ "inheritedFrom": {
2083
+ "name": "EntityManagement",
2084
+ "module": "src/entities/entities.ts"
2085
+ }
2133
2086
  },
2134
2087
  {
2135
- "name": "size-columns-to-fit",
2088
+ "name": "async-remove",
2136
2089
  "type": {
2137
2090
  "text": "boolean"
2138
2091
  },
2139
- "fieldName": "sizeColumnsToFit"
2092
+ "default": "false",
2093
+ "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
2094
+ "fieldName": "asyncRemove",
2095
+ "inheritedFrom": {
2096
+ "name": "EntityManagement",
2097
+ "module": "src/entities/entities.ts"
2098
+ }
2140
2099
  },
2141
2100
  {
2142
- "name": "enable-filter-bar",
2101
+ "name": "async-update",
2143
2102
  "type": {
2144
2103
  "text": "boolean"
2145
2104
  },
2146
- "fieldName": "enableFilterBar"
2105
+ "default": "true",
2106
+ "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
2107
+ "fieldName": "asyncUpdate",
2108
+ "inheritedFrom": {
2109
+ "name": "EntityManagement",
2110
+ "module": "src/entities/entities.ts"
2111
+ }
2147
2112
  },
2148
2113
  {
2149
- "name": "async-add",
2114
+ "name": "enable-cell-flashing",
2150
2115
  "type": {
2151
2116
  "text": "boolean"
2152
2117
  },
2153
2118
  "default": "false",
2154
- "fieldName": "asyncAdd"
2119
+ "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
2120
+ "fieldName": "enableCellFlashing",
2121
+ "inheritedFrom": {
2122
+ "name": "EntityManagement",
2123
+ "module": "src/entities/entities.ts"
2124
+ }
2155
2125
  },
2156
2126
  {
2157
- "name": "async-remove",
2127
+ "name": "enable-row-flashing",
2158
2128
  "type": {
2159
2129
  "text": "boolean"
2160
2130
  },
2161
2131
  "default": "false",
2162
- "fieldName": "asyncRemove"
2132
+ "description": "If true, will enable row flashing for all rows for `add` async transactions",
2133
+ "fieldName": "enableRowFlashing",
2134
+ "inheritedFrom": {
2135
+ "name": "EntityManagement",
2136
+ "module": "src/entities/entities.ts"
2137
+ }
2163
2138
  },
2164
2139
  {
2165
- "name": "async-update",
2140
+ "name": "persist-column-state-key",
2166
2141
  "type": {
2167
- "text": "boolean"
2142
+ "text": "string"
2168
2143
  },
2169
- "default": "true",
2170
- "fieldName": "asyncUpdate"
2144
+ "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.",
2145
+ "fieldName": "persistColumnStateKey",
2146
+ "inheritedFrom": {
2147
+ "name": "EntityManagement",
2148
+ "module": "src/entities/entities.ts"
2149
+ }
2171
2150
  },
2172
2151
  {
2173
- "name": "enable-cell-flashing",
2152
+ "name": "size-columns-to-fit",
2174
2153
  "type": {
2175
2154
  "text": "boolean"
2176
2155
  },
2177
- "default": "false",
2178
- "fieldName": "enableCellFlashing"
2156
+ "fieldName": "sizeColumnsToFit",
2157
+ "inheritedFrom": {
2158
+ "name": "EntityManagement",
2159
+ "module": "src/entities/entities.ts"
2160
+ }
2179
2161
  },
2180
2162
  {
2181
- "name": "enable-row-flashing",
2163
+ "name": "enable-filter-bar",
2182
2164
  "type": {
2183
2165
  "text": "boolean"
2184
2166
  },
2185
- "default": "false",
2186
- "fieldName": "enableRowFlashing"
2167
+ "fieldName": "enableFilterBar",
2168
+ "inheritedFrom": {
2169
+ "name": "EntityManagement",
2170
+ "module": "src/entities/entities.ts"
2171
+ }
2187
2172
  },
2188
2173
  {
2189
2174
  "name": "hide-edit",
@@ -2191,7 +2176,11 @@
2191
2176
  "text": "boolean"
2192
2177
  },
2193
2178
  "default": "false",
2194
- "fieldName": "hideEdit"
2179
+ "fieldName": "hideEdit",
2180
+ "inheritedFrom": {
2181
+ "name": "EntityManagement",
2182
+ "module": "src/entities/entities.ts"
2183
+ }
2195
2184
  },
2196
2185
  {
2197
2186
  "name": "hide-delete",
@@ -2199,32 +2188,43 @@
2199
2188
  "text": "boolean"
2200
2189
  },
2201
2190
  "default": "false",
2202
- "fieldName": "hideDelete"
2191
+ "fieldName": "hideDelete",
2192
+ "inheritedFrom": {
2193
+ "name": "EntityManagement",
2194
+ "module": "src/entities/entities.ts"
2195
+ }
2196
+ },
2197
+ {
2198
+ "name": "modal-position",
2199
+ "type": {
2200
+ "text": "'centre' | 'left' | 'right'"
2201
+ },
2202
+ "default": "'right'",
2203
+ "description": "Determines where the modal dialog will appear on screen",
2204
+ "fieldName": "modalPosition",
2205
+ "inheritedFrom": {
2206
+ "name": "EntityManagement",
2207
+ "module": "src/entities/entities.ts"
2208
+ }
2203
2209
  }
2204
- ],
2205
- "superclass": {
2206
- "name": "FASTElement",
2207
- "package": "@microsoft/fast-element"
2208
- },
2209
- "tagName": "entity-list",
2210
- "customElement": true
2210
+ ]
2211
2211
  }
2212
2212
  ],
2213
2213
  "exports": [
2214
2214
  {
2215
2215
  "kind": "js",
2216
- "name": "List",
2216
+ "name": "Profiles",
2217
2217
  "declaration": {
2218
- "name": "List",
2219
- "module": "src/list/list.ts"
2218
+ "name": "Profiles",
2219
+ "module": "src/profiles/profiles.ts"
2220
2220
  }
2221
2221
  },
2222
2222
  {
2223
2223
  "kind": "custom-element-definition",
2224
- "name": "entity-list",
2224
+ "name": "profile-management",
2225
2225
  "declaration": {
2226
- "name": "List",
2227
- "module": "src/list/list.ts"
2226
+ "name": "Profiles",
2227
+ "module": "src/profiles/profiles.ts"
2228
2228
  }
2229
2229
  }
2230
2230
  ]