@genesislcap/foundation-entity-management 14.26.8-alpha-64bb9e2.0 → 14.27.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 +718 -718
  2. package/package.json +23 -13
@@ -122,55 +122,6 @@
122
122
  }
123
123
  ]
124
124
  },
125
- {
126
- "kind": "javascript-module",
127
- "path": "src/layouts/default.ts",
128
- "declarations": [
129
- {
130
- "kind": "variable",
131
- "name": "loginLayout",
132
- "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss\n)"
133
- },
134
- {
135
- "kind": "variable",
136
- "name": "defaultLayout",
137
- "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)"
138
- }
139
- ],
140
- "exports": [
141
- {
142
- "kind": "js",
143
- "name": "loginLayout",
144
- "declaration": {
145
- "name": "loginLayout",
146
- "module": "src/layouts/default.ts"
147
- }
148
- },
149
- {
150
- "kind": "js",
151
- "name": "defaultLayout",
152
- "declaration": {
153
- "name": "defaultLayout",
154
- "module": "src/layouts/default.ts"
155
- }
156
- }
157
- ]
158
- },
159
- {
160
- "kind": "javascript-module",
161
- "path": "src/layouts/index.ts",
162
- "declarations": [],
163
- "exports": [
164
- {
165
- "kind": "js",
166
- "name": "*",
167
- "declaration": {
168
- "name": "*",
169
- "package": "./default"
170
- }
171
- }
172
- ]
173
- },
174
125
  {
175
126
  "kind": "javascript-module",
176
127
  "path": "src/entities/entities.styles.ts",
@@ -644,917 +595,1119 @@
644
595
  },
645
596
  {
646
597
  "kind": "javascript-module",
647
- "path": "src/profiles/editProfileSchema.ts",
598
+ "path": "src/layouts/default.ts",
648
599
  "declarations": [
649
600
  {
650
601
  "kind": "variable",
651
- "name": "editProfileFormSchema",
652
- "type": {
653
- "text": "object"
654
- },
655
- "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}"
602
+ "name": "loginLayout",
603
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss\n)"
604
+ },
605
+ {
606
+ "kind": "variable",
607
+ "name": "defaultLayout",
608
+ "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)"
656
609
  }
657
610
  ],
658
611
  "exports": [
659
612
  {
660
613
  "kind": "js",
661
- "name": "editProfileFormSchema",
614
+ "name": "loginLayout",
662
615
  "declaration": {
663
- "name": "editProfileFormSchema",
664
- "module": "src/profiles/editProfileSchema.ts"
616
+ "name": "loginLayout",
617
+ "module": "src/layouts/default.ts"
618
+ }
619
+ },
620
+ {
621
+ "kind": "js",
622
+ "name": "defaultLayout",
623
+ "declaration": {
624
+ "name": "defaultLayout",
625
+ "module": "src/layouts/default.ts"
665
626
  }
666
627
  }
667
628
  ]
668
629
  },
669
630
  {
670
631
  "kind": "javascript-module",
671
- "path": "src/profiles/profiles.ts",
632
+ "path": "src/layouts/index.ts",
633
+ "declarations": [],
634
+ "exports": [
635
+ {
636
+ "kind": "js",
637
+ "name": "*",
638
+ "declaration": {
639
+ "name": "*",
640
+ "package": "./default"
641
+ }
642
+ }
643
+ ]
644
+ },
645
+ {
646
+ "kind": "javascript-module",
647
+ "path": "src/list/index.ts",
648
+ "declarations": [],
649
+ "exports": [
650
+ {
651
+ "kind": "js",
652
+ "name": "*",
653
+ "declaration": {
654
+ "name": "*",
655
+ "package": "./list"
656
+ }
657
+ }
658
+ ]
659
+ },
660
+ {
661
+ "kind": "javascript-module",
662
+ "path": "src/list/list.styles.ts",
672
663
  "declarations": [
673
664
  {
674
- "kind": "class",
675
- "description": "Main class which defined the profile management functionality",
676
- "name": "Profiles",
677
- "members": [
665
+ "kind": "variable",
666
+ "name": "listStyles",
667
+ "default": "css`\n :host {\n contain: content;\n }\n\n :host,\n fast-router {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: inherit;\n width: 100%;\n }\n\n .heading {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n`"
668
+ }
669
+ ],
670
+ "exports": [
671
+ {
672
+ "kind": "js",
673
+ "name": "listStyles",
674
+ "declaration": {
675
+ "name": "listStyles",
676
+ "module": "src/list/list.styles.ts"
677
+ }
678
+ }
679
+ ]
680
+ },
681
+ {
682
+ "kind": "javascript-module",
683
+ "path": "src/list/list.template.ts",
684
+ "declarations": [
685
+ {
686
+ "kind": "function",
687
+ "name": "buttonCellRenderer",
688
+ "parameters": [
678
689
  {
679
- "kind": "method",
680
- "name": "readProfileData",
681
- "privacy": "public",
682
- "parameters": [
683
- {
684
- "name": "profile"
685
- }
686
- ]
690
+ "name": "title"
687
691
  },
688
692
  {
689
- "kind": "method",
690
- "name": "confirmDelete",
691
- "inheritedFrom": {
692
- "name": "EntityManagement",
693
- "module": "src/entities/entities.ts"
694
- }
695
- },
693
+ "name": "clickHandler"
694
+ }
695
+ ]
696
+ },
697
+ {
698
+ "kind": "variable",
699
+ "name": "listTemplate",
700
+ "default": "html<List>`\n <div class=\"heading\">\n <h3 data-test-id=\"title\">${(x) => x.title}</h3>\n ${when(\n (x) => x.createEvent,\n html`\n <zero-button\n appearance=\"accent\"\n @click=${(x) => x.create()}\n ?disabled=\"${(x) => x.addDisabled}\"\n data-test-id=\"button-create\"\n >\n Add\n </zero-button>\n `\n )}\n </div>\n <div class=\"container\">\n ${when(\n (x) => x.enableFilterBar,\n html<List>`\n <zero-filter-bar\n resource=${(x) => x.resourceName}\n only=${(x) => x.columns?.map((colDef) => colDef.field).filter((field) => !!field)}\n labels=${(x) => x.columns?.map((colDef) => colDef.headerName || '')}\n target=\"datasource\"\n ></zero-filter-bar>\n `\n )}\n <zero-grid-pro\n ${ref('grid')}\n auto-cell-renderer-by-type\n rowSelection=\"single\"\n rowHeight=\"36\"\n headerHeight=\"36\"\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n ?only-template-col-defs=${(x) => !!x.columns}\n suppressCellFocus=\"true\"\n suppressRowDeselection=\"true\"\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n >\n <grid-pro-genesis-datasource\n ${ref('datasource')}\n resource-name=${(x) => x.resourceName}\n criteria=${(x) => x.datasourceConfig?.criteria}\n fields=${(x) => x.datasourceConfig?.fields}\n is-snapshot=${(x) => x.datasourceConfig?.isSnapshot}\n max-rows=${(x) => x.datasourceConfig?.maxRows}\n max-view=${(x) => x.datasourceConfig?.maxView}\n order-by=${(x) => x.datasourceConfig?.orderBy}\n reverse=${(x) => x.datasourceConfig?.reverse}\n ></grid-pro-genesis-datasource>\n ${repeat(\n (x) => x.columns,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `\n )}\n ${repeat(\n (x) => x.actionButtonsConfig,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `\n )}\n </zero-grid-pro>\n </div>\n`"
701
+ }
702
+ ],
703
+ "exports": [
704
+ {
705
+ "kind": "js",
706
+ "name": "buttonCellRenderer",
707
+ "declaration": {
708
+ "name": "buttonCellRenderer",
709
+ "module": "src/list/list.template.ts"
710
+ }
711
+ },
712
+ {
713
+ "kind": "js",
714
+ "name": "listTemplate",
715
+ "declaration": {
716
+ "name": "listTemplate",
717
+ "module": "src/list/list.template.ts"
718
+ }
719
+ }
720
+ ]
721
+ },
722
+ {
723
+ "kind": "javascript-module",
724
+ "path": "src/list/list.ts",
725
+ "declarations": [
726
+ {
727
+ "kind": "class",
728
+ "description": "",
729
+ "name": "List",
730
+ "members": [
696
731
  {
697
732
  "kind": "field",
698
- "name": "createEvent",
733
+ "name": "resourceName",
699
734
  "type": {
700
735
  "text": "string"
701
736
  },
702
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
703
- "privacy": "public",
704
- "inheritedFrom": {
705
- "name": "EntityManagement",
706
- "module": "src/entities/entities.ts"
707
- }
737
+ "default": "''"
708
738
  },
709
739
  {
710
740
  "kind": "field",
711
- "name": "deleteEvent",
741
+ "name": "title",
712
742
  "type": {
713
743
  "text": "string"
714
744
  },
715
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
716
- "privacy": "public",
717
- "inheritedFrom": {
718
- "name": "EntityManagement",
719
- "module": "src/entities/entities.ts"
720
- }
745
+ "default": "''"
721
746
  },
722
747
  {
723
748
  "kind": "field",
724
- "name": "updateEvent",
749
+ "name": "persistColumnStateKey",
725
750
  "type": {
726
751
  "text": "string"
727
- },
728
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
729
- "privacy": "public",
730
- "inheritedFrom": {
731
- "name": "EntityManagement",
732
- "module": "src/entities/entities.ts"
733
752
  }
734
753
  },
735
754
  {
736
755
  "kind": "field",
737
- "name": "persistColumnStateKey",
756
+ "name": "sizeColumnsToFit",
738
757
  "type": {
739
- "text": "string"
740
- },
741
- "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.",
742
- "privacy": "public",
743
- "default": "'entity_profiles_management'",
744
- "inheritedFrom": {
745
- "name": "EntityManagement",
746
- "module": "src/entities/entities.ts"
758
+ "text": "boolean"
747
759
  }
748
760
  },
749
761
  {
750
762
  "kind": "field",
751
- "name": "updateFormUiSchema",
763
+ "name": "enableFilterBar",
752
764
  "type": {
753
- "text": "any"
754
- },
755
- "default": "editProfileFormSchema",
756
- "inheritedFrom": {
757
- "name": "EntityManagement",
758
- "module": "src/entities/entities.ts"
765
+ "text": "boolean"
759
766
  }
760
767
  },
761
768
  {
762
769
  "kind": "field",
763
- "name": "createFormUiSchema",
770
+ "name": "enableCellFlashing",
764
771
  "type": {
765
- "text": "any"
766
- },
767
- "default": "editProfileFormSchema",
768
- "inheritedFrom": {
769
- "name": "EntityManagement",
770
- "module": "src/entities/entities.ts"
772
+ "text": "boolean"
771
773
  }
772
774
  },
773
775
  {
774
776
  "kind": "field",
775
- "name": "readEventFn",
777
+ "name": "grid",
776
778
  "type": {
777
- "text": "(...args) => {}"
779
+ "text": "ZeroGridPro"
778
780
  },
779
- "inheritedFrom": {
780
- "name": "EntityManagement",
781
- "module": "src/entities/entities.ts"
782
- }
781
+ "privacy": "public"
783
782
  },
784
783
  {
785
784
  "kind": "field",
786
- "name": "resourceName",
785
+ "name": "datasource",
787
786
  "type": {
788
- "text": "string"
787
+ "text": "GridProGenesisDatasource"
789
788
  },
790
- "description": "Name of the backend resource which contain the entities to manage",
791
- "privacy": "public",
792
- "default": "'ALL_PROFILES'",
793
- "inheritedFrom": {
794
- "name": "EntityManagement",
795
- "module": "src/entities/entities.ts"
796
- }
789
+ "privacy": "public"
797
790
  },
798
791
  {
799
792
  "kind": "field",
800
- "name": "title",
793
+ "name": "columns",
801
794
  "type": {
802
- "text": "string"
803
- },
804
- "description": "Title of the grid",
805
- "privacy": "public",
806
- "default": "'Profile Management'",
807
- "inheritedFrom": {
808
- "name": "EntityManagement",
809
- "module": "src/entities/entities.ts"
795
+ "text": "ColDef[]"
810
796
  }
811
797
  },
812
798
  {
813
799
  "kind": "field",
814
- "name": "entityLabel",
800
+ "name": "datasourceConfig",
815
801
  "type": {
816
- "text": "string"
817
- },
818
- "default": "'Profile'",
819
- "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
820
- "privacy": "public",
821
- "inheritedFrom": {
822
- "name": "EntityManagement",
823
- "module": "src/entities/entities.ts"
802
+ "text": "DatasourceConfiguration"
824
803
  }
825
804
  },
826
805
  {
827
806
  "kind": "field",
828
- "name": "connect",
807
+ "name": "actionButtonsConfig",
829
808
  "type": {
830
- "text": "Connect"
809
+ "text": "array"
831
810
  },
832
- "privacy": "protected",
833
- "description": "DI connect object which is used to interact with the backend.",
834
- "inheritedFrom": {
835
- "name": "EntityManagement",
836
- "module": "src/entities/entities.ts"
837
- }
811
+ "default": "[]"
838
812
  },
839
813
  {
840
814
  "kind": "field",
841
- "name": "readEvent",
815
+ "name": "createEvent",
842
816
  "type": {
843
817
  "text": "string"
844
- },
845
- "inheritedFrom": {
846
- "name": "EntityManagement",
847
- "module": "src/entities/entities.ts"
848
818
  }
849
819
  },
850
820
  {
851
821
  "kind": "field",
852
- "name": "readonly",
822
+ "name": "deleteEvent",
853
823
  "type": {
854
- "text": "boolean"
855
- },
856
- "inheritedFrom": {
857
- "name": "EntityManagement",
858
- "module": "src/entities/entities.ts"
824
+ "text": "string"
859
825
  }
860
826
  },
861
827
  {
862
828
  "kind": "field",
863
- "name": "columns",
829
+ "name": "updateEvent",
864
830
  "type": {
865
- "text": "ColDef[]"
866
- },
867
- "description": "Array which holds the column definitions.",
868
- "privacy": "public",
869
- "inheritedFrom": {
870
- "name": "EntityManagement",
871
- "module": "src/entities/entities.ts"
831
+ "text": "string"
872
832
  }
873
833
  },
834
+ {
835
+ "kind": "method",
836
+ "name": "handleFilterChanged",
837
+ "privacy": "private",
838
+ "parameters": [
839
+ {
840
+ "name": "e"
841
+ }
842
+ ]
843
+ },
844
+ {
845
+ "kind": "method",
846
+ "name": "handleFilterCleared",
847
+ "privacy": "private",
848
+ "parameters": [
849
+ {
850
+ "name": "e"
851
+ }
852
+ ]
853
+ },
854
+ {
855
+ "kind": "method",
856
+ "name": "select",
857
+ "privacy": "private",
858
+ "parameters": [
859
+ {
860
+ "name": "e"
861
+ }
862
+ ]
863
+ },
864
+ {
865
+ "kind": "method",
866
+ "name": "create",
867
+ "privacy": "public"
868
+ },
874
869
  {
875
870
  "kind": "field",
876
- "name": "datasourceConfig",
871
+ "name": "edit",
872
+ "privacy": "private"
873
+ },
874
+ {
875
+ "kind": "method",
876
+ "name": "delete",
877
+ "parameters": [
878
+ {
879
+ "name": "e"
880
+ }
881
+ ]
882
+ }
883
+ ],
884
+ "attributes": [
885
+ {
886
+ "name": "resourceName",
877
887
  "type": {
878
- "text": "DatasourceConfiguration"
888
+ "text": "string"
879
889
  },
880
- "description": "The configuration which is used when interacting with the resource on the backend",
881
- "privacy": "public",
882
- "inheritedFrom": {
883
- "name": "EntityManagement",
884
- "module": "src/entities/entities.ts"
885
- }
890
+ "default": "''",
891
+ "fieldName": "resourceName"
886
892
  },
887
893
  {
888
- "kind": "field",
889
- "name": "formUiSchema",
894
+ "name": "title",
890
895
  "type": {
891
- "text": "any"
896
+ "text": "string"
892
897
  },
893
- "inheritedFrom": {
894
- "name": "EntityManagement",
895
- "module": "src/entities/entities.ts"
896
- }
898
+ "default": "''",
899
+ "fieldName": "title"
897
900
  },
898
901
  {
899
- "kind": "field",
900
- "name": "selectedEntity",
902
+ "name": "persist-column-state-key",
901
903
  "type": {
902
- "text": "any"
904
+ "text": "string"
903
905
  },
904
- "description": "Reference to the currently selected entity from the grid.",
905
- "privacy": "public",
906
- "inheritedFrom": {
907
- "name": "EntityManagement",
908
- "module": "src/entities/entities.ts"
909
- }
906
+ "fieldName": "persistColumnStateKey"
910
907
  },
911
908
  {
912
- "kind": "field",
913
- "name": "editedEntity",
909
+ "name": "size-columns-to-fit",
914
910
  "type": {
915
- "text": "any"
911
+ "text": "boolean"
916
912
  },
917
- "description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
918
- "privacy": "public",
919
- "inheritedFrom": {
920
- "name": "EntityManagement",
921
- "module": "src/entities/entities.ts"
922
- }
913
+ "fieldName": "sizeColumnsToFit"
923
914
  },
924
915
  {
925
- "kind": "field",
926
- "name": "submitting",
916
+ "name": "enable-filter-bar",
927
917
  "type": {
928
918
  "text": "boolean"
929
919
  },
930
- "inheritedFrom": {
931
- "name": "EntityManagement",
932
- "module": "src/entities/entities.ts"
933
- }
920
+ "fieldName": "enableFilterBar"
934
921
  },
935
922
  {
936
- "kind": "field",
937
- "name": "editDialogTitle",
923
+ "name": "enable-cell-flashing",
938
924
  "type": {
939
- "text": "string"
925
+ "text": "boolean"
940
926
  },
941
- "description": "String which contains the text of the popup modal when the user is adding or editing an entity",
942
- "inheritedFrom": {
943
- "name": "EntityManagement",
944
- "module": "src/entities/entities.ts"
927
+ "fieldName": "enableCellFlashing"
928
+ }
929
+ ],
930
+ "superclass": {
931
+ "name": "FASTElement",
932
+ "package": "@microsoft/fast-element"
933
+ },
934
+ "tagName": "entity-list",
935
+ "customElement": true
936
+ }
937
+ ],
938
+ "exports": [
939
+ {
940
+ "kind": "js",
941
+ "name": "List",
942
+ "declaration": {
943
+ "name": "List",
944
+ "module": "src/list/list.ts"
945
+ }
946
+ },
947
+ {
948
+ "kind": "custom-element-definition",
949
+ "name": "entity-list",
950
+ "declaration": {
951
+ "name": "List",
952
+ "module": "src/list/list.ts"
953
+ }
954
+ }
955
+ ]
956
+ },
957
+ {
958
+ "kind": "javascript-module",
959
+ "path": "src/main/index.ts",
960
+ "declarations": [],
961
+ "exports": [
962
+ {
963
+ "kind": "js",
964
+ "name": "*",
965
+ "declaration": {
966
+ "name": "*",
967
+ "package": "./main.template"
968
+ }
969
+ },
970
+ {
971
+ "kind": "js",
972
+ "name": "*",
973
+ "declaration": {
974
+ "name": "*",
975
+ "package": "./main"
976
+ }
977
+ }
978
+ ]
979
+ },
980
+ {
981
+ "kind": "javascript-module",
982
+ "path": "src/main/main.styles.ts",
983
+ "declarations": [
984
+ {
985
+ "kind": "variable",
986
+ "name": "MainStyles",
987
+ "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`"
988
+ }
989
+ ],
990
+ "exports": [
991
+ {
992
+ "kind": "js",
993
+ "name": "MainStyles",
994
+ "declaration": {
995
+ "name": "MainStyles",
996
+ "module": "src/main/main.styles.ts"
997
+ }
998
+ }
999
+ ]
1000
+ },
1001
+ {
1002
+ "kind": "javascript-module",
1003
+ "path": "src/main/main.template.ts",
1004
+ "declarations": [],
1005
+ "exports": []
1006
+ },
1007
+ {
1008
+ "kind": "javascript-module",
1009
+ "path": "src/main/main.ts",
1010
+ "declarations": [
1011
+ {
1012
+ "kind": "class",
1013
+ "description": "",
1014
+ "name": "MainApplication",
1015
+ "members": [
1016
+ {
1017
+ "kind": "field",
1018
+ "name": "config",
1019
+ "type": {
1020
+ "text": "MainRouterConfig"
945
1021
  }
946
1022
  },
947
1023
  {
948
1024
  "kind": "field",
949
- "name": "editModalVisible",
1025
+ "name": "connect",
950
1026
  "type": {
951
- "text": "boolean"
952
- },
953
- "default": "false",
954
- "inheritedFrom": {
955
- "name": "EntityManagement",
956
- "module": "src/entities/entities.ts"
1027
+ "text": "Connect"
957
1028
  }
958
1029
  },
959
1030
  {
960
- "kind": "method",
961
- "name": "editModalVisibleChanged",
962
- "inheritedFrom": {
963
- "name": "EntityManagement",
964
- "module": "src/entities/entities.ts"
1031
+ "kind": "field",
1032
+ "name": "session",
1033
+ "type": {
1034
+ "text": "Session"
965
1035
  }
966
1036
  },
967
1037
  {
968
1038
  "kind": "field",
969
- "name": "editEntityModal",
1039
+ "name": "container",
970
1040
  "type": {
971
- "text": "any"
972
- },
973
- "privacy": "public",
974
- "inheritedFrom": {
975
- "name": "EntityManagement",
976
- "module": "src/entities/entities.ts"
1041
+ "text": "Container"
977
1042
  }
978
1043
  },
979
1044
  {
980
1045
  "kind": "field",
981
- "name": "sizeColumnsToFit",
1046
+ "name": "provider",
982
1047
  "type": {
983
- "text": "boolean"
984
- },
985
- "inheritedFrom": {
986
- "name": "EntityManagement",
987
- "module": "src/entities/entities.ts"
1048
+ "text": "any"
988
1049
  }
989
1050
  },
990
1051
  {
991
1052
  "kind": "field",
992
- "name": "enableFilterBar",
1053
+ "name": "ready",
993
1054
  "type": {
994
1055
  "text": "boolean"
995
1056
  },
996
- "inheritedFrom": {
997
- "name": "EntityManagement",
998
- "module": "src/entities/entities.ts"
999
- }
1057
+ "default": "false"
1000
1058
  },
1001
1059
  {
1002
1060
  "kind": "field",
1003
- "name": "enableCellFlashing",
1061
+ "name": "data",
1004
1062
  "type": {
1005
- "text": "boolean"
1063
+ "text": "any"
1006
1064
  },
1007
- "inheritedFrom": {
1008
- "name": "EntityManagement",
1009
- "module": "src/entities/entities.ts"
1010
- }
1065
+ "default": "null"
1011
1066
  },
1012
1067
  {
1013
1068
  "kind": "method",
1014
- "name": "deepClone",
1015
- "return": {
1016
- "type": {
1017
- "text": "Node"
1018
- }
1019
- },
1020
- "description": "Override the deepClone method to ensure that observable attributes are cloned",
1021
- "privacy": "public",
1022
- "inheritedFrom": {
1023
- "name": "EntityManagement",
1024
- "module": "src/entities/entities.ts"
1025
- }
1069
+ "name": "onLuminanceToggle"
1070
+ },
1071
+ {
1072
+ "kind": "method",
1073
+ "name": "loadRemotes"
1074
+ },
1075
+ {
1076
+ "kind": "method",
1077
+ "name": "selectTemplate"
1026
1078
  },
1027
1079
  {
1028
1080
  "kind": "method",
1029
- "name": "submitEntityChanges",
1081
+ "name": "registerDIDependencies",
1082
+ "privacy": "private"
1083
+ }
1084
+ ],
1085
+ "superclass": {
1086
+ "name": "FASTElement",
1087
+ "package": "@microsoft/fast-element"
1088
+ },
1089
+ "customElement": true
1090
+ }
1091
+ ],
1092
+ "exports": [
1093
+ {
1094
+ "kind": "js",
1095
+ "name": "MainApplication",
1096
+ "declaration": {
1097
+ "name": "MainApplication",
1098
+ "module": "src/main/main.ts"
1099
+ }
1100
+ },
1101
+ {
1102
+ "kind": "custom-element-definition",
1103
+ "declaration": {
1104
+ "name": "MainApplication",
1105
+ "module": "src/main/main.ts"
1106
+ }
1107
+ }
1108
+ ]
1109
+ },
1110
+ {
1111
+ "kind": "javascript-module",
1112
+ "path": "src/profiles/editProfileSchema.ts",
1113
+ "declarations": [
1114
+ {
1115
+ "kind": "variable",
1116
+ "name": "editProfileFormSchema",
1117
+ "type": {
1118
+ "text": "object"
1119
+ },
1120
+ "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}"
1121
+ }
1122
+ ],
1123
+ "exports": [
1124
+ {
1125
+ "kind": "js",
1126
+ "name": "editProfileFormSchema",
1127
+ "declaration": {
1128
+ "name": "editProfileFormSchema",
1129
+ "module": "src/profiles/editProfileSchema.ts"
1130
+ }
1131
+ }
1132
+ ]
1133
+ },
1134
+ {
1135
+ "kind": "javascript-module",
1136
+ "path": "src/profiles/profiles.ts",
1137
+ "declarations": [
1138
+ {
1139
+ "kind": "class",
1140
+ "description": "Main class which defined the profile management functionality",
1141
+ "name": "Profiles",
1142
+ "members": [
1143
+ {
1144
+ "kind": "method",
1145
+ "name": "readProfileData",
1030
1146
  "privacy": "public",
1031
1147
  "parameters": [
1032
1148
  {
1033
- "name": "e",
1034
- "type": {
1035
- "text": "CustomEvent"
1036
- },
1037
- "description": "CustomEvent which contains the payload for the entity to submit to the backend\n\nEmits an event upon error"
1038
- }
1039
- ],
1040
- "description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity",
1041
- "inheritedFrom": {
1042
- "name": "EntityManagement",
1043
- "module": "src/entities/entities.ts"
1044
- }
1045
- },
1046
- {
1047
- "kind": "method",
1048
- "name": "readEntity",
1049
- "privacy": "private",
1050
- "parameters": [
1051
- {
1052
- "name": "e",
1053
- "type": {
1054
- "text": "CustomEvent"
1055
- }
1149
+ "name": "profile"
1056
1150
  }
1057
- ],
1058
- "inheritedFrom": {
1059
- "name": "EntityManagement",
1060
- "module": "src/entities/entities.ts"
1061
- }
1151
+ ]
1062
1152
  },
1063
1153
  {
1064
1154
  "kind": "method",
1065
- "name": "closeModal",
1066
- "privacy": "public",
1155
+ "name": "confirmDelete",
1067
1156
  "inheritedFrom": {
1068
1157
  "name": "EntityManagement",
1069
1158
  "module": "src/entities/entities.ts"
1070
1159
  }
1071
1160
  },
1072
1161
  {
1073
- "kind": "method",
1074
- "name": "showDeleteConfirmation",
1075
- "privacy": "private",
1076
- "inheritedFrom": {
1077
- "name": "EntityManagement",
1078
- "module": "src/entities/entities.ts"
1079
- }
1080
- }
1081
- ],
1082
- "superclass": {
1083
- "name": "EntityManagement",
1084
- "module": "/src/entities"
1085
- },
1086
- "tagName": "profile-management",
1087
- "customElement": true,
1088
- "attributes": [
1089
- {
1090
- "name": "resourceName",
1162
+ "kind": "field",
1163
+ "name": "createEvent",
1091
1164
  "type": {
1092
1165
  "text": "string"
1093
1166
  },
1094
- "description": "Name of the backend resource which contain the entities to manage",
1095
- "fieldName": "resourceName",
1167
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
1168
+ "privacy": "public",
1096
1169
  "inheritedFrom": {
1097
1170
  "name": "EntityManagement",
1098
1171
  "module": "src/entities/entities.ts"
1099
1172
  }
1100
1173
  },
1101
1174
  {
1102
- "name": "readEvent",
1175
+ "kind": "field",
1176
+ "name": "deleteEvent",
1103
1177
  "type": {
1104
1178
  "text": "string"
1105
1179
  },
1106
- "fieldName": "readEvent",
1107
- "inheritedFrom": {
1108
- "name": "EntityManagement",
1109
- "module": "src/entities/entities.ts"
1110
- }
1111
- },
1112
- {
1113
- "type": {
1114
- "text": "boolean"
1115
- },
1116
- "fieldName": "readonly",
1180
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1181
+ "privacy": "public",
1117
1182
  "inheritedFrom": {
1118
1183
  "name": "EntityManagement",
1119
1184
  "module": "src/entities/entities.ts"
1120
1185
  }
1121
1186
  },
1122
1187
  {
1188
+ "kind": "field",
1123
1189
  "name": "updateEvent",
1124
1190
  "type": {
1125
1191
  "text": "string"
1126
1192
  },
1127
1193
  "description": "Name of the event handler on the Genesis server which handles updating the entity",
1128
- "fieldName": "updateEvent",
1194
+ "privacy": "public",
1129
1195
  "inheritedFrom": {
1130
1196
  "name": "EntityManagement",
1131
1197
  "module": "src/entities/entities.ts"
1132
1198
  }
1133
1199
  },
1134
1200
  {
1135
- "name": "deleteEvent",
1201
+ "kind": "field",
1202
+ "name": "persistColumnStateKey",
1136
1203
  "type": {
1137
1204
  "text": "string"
1138
1205
  },
1139
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1140
- "fieldName": "deleteEvent",
1206
+ "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.",
1207
+ "privacy": "public",
1208
+ "default": "'entity_profiles_management'",
1141
1209
  "inheritedFrom": {
1142
1210
  "name": "EntityManagement",
1143
1211
  "module": "src/entities/entities.ts"
1144
1212
  }
1145
1213
  },
1146
1214
  {
1147
- "name": "createEvent",
1215
+ "kind": "field",
1216
+ "name": "updateFormUiSchema",
1148
1217
  "type": {
1149
- "text": "string"
1218
+ "text": "any"
1150
1219
  },
1151
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
1152
- "fieldName": "createEvent",
1220
+ "default": "editProfileFormSchema",
1153
1221
  "inheritedFrom": {
1154
1222
  "name": "EntityManagement",
1155
1223
  "module": "src/entities/entities.ts"
1156
1224
  }
1157
1225
  },
1158
1226
  {
1159
- "name": "title",
1227
+ "kind": "field",
1228
+ "name": "createFormUiSchema",
1160
1229
  "type": {
1161
- "text": "string"
1230
+ "text": "any"
1162
1231
  },
1163
- "description": "Title of the grid",
1164
- "fieldName": "title",
1232
+ "default": "editProfileFormSchema",
1165
1233
  "inheritedFrom": {
1166
1234
  "name": "EntityManagement",
1167
1235
  "module": "src/entities/entities.ts"
1168
1236
  }
1169
1237
  },
1170
1238
  {
1171
- "name": "entityLabel",
1239
+ "kind": "field",
1240
+ "name": "readEventFn",
1172
1241
  "type": {
1173
- "text": "string"
1242
+ "text": "(...args) => {}"
1174
1243
  },
1175
- "default": "''",
1176
- "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1177
- "fieldName": "entityLabel",
1178
1244
  "inheritedFrom": {
1179
1245
  "name": "EntityManagement",
1180
1246
  "module": "src/entities/entities.ts"
1181
1247
  }
1182
1248
  },
1183
1249
  {
1184
- "name": "persist-column-state-key",
1250
+ "kind": "field",
1251
+ "name": "resourceName",
1185
1252
  "type": {
1186
1253
  "text": "string"
1187
1254
  },
1188
- "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.",
1189
- "fieldName": "persistColumnStateKey",
1255
+ "description": "Name of the backend resource which contain the entities to manage",
1256
+ "privacy": "public",
1257
+ "default": "'ALL_PROFILES'",
1190
1258
  "inheritedFrom": {
1191
1259
  "name": "EntityManagement",
1192
1260
  "module": "src/entities/entities.ts"
1193
1261
  }
1194
1262
  },
1195
1263
  {
1196
- "name": "size-columns-to-fit",
1264
+ "kind": "field",
1265
+ "name": "title",
1197
1266
  "type": {
1198
- "text": "boolean"
1267
+ "text": "string"
1199
1268
  },
1200
- "fieldName": "sizeColumnsToFit",
1269
+ "description": "Title of the grid",
1270
+ "privacy": "public",
1271
+ "default": "'Profile Management'",
1201
1272
  "inheritedFrom": {
1202
1273
  "name": "EntityManagement",
1203
1274
  "module": "src/entities/entities.ts"
1204
1275
  }
1205
1276
  },
1206
1277
  {
1207
- "name": "enable-filter-bar",
1278
+ "kind": "field",
1279
+ "name": "entityLabel",
1208
1280
  "type": {
1209
- "text": "boolean"
1281
+ "text": "string"
1210
1282
  },
1211
- "fieldName": "enableFilterBar",
1283
+ "default": "'Profile'",
1284
+ "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1285
+ "privacy": "public",
1212
1286
  "inheritedFrom": {
1213
1287
  "name": "EntityManagement",
1214
1288
  "module": "src/entities/entities.ts"
1215
1289
  }
1216
1290
  },
1217
1291
  {
1218
- "name": "enable-cell-flashing",
1292
+ "kind": "field",
1293
+ "name": "connect",
1219
1294
  "type": {
1220
- "text": "boolean"
1295
+ "text": "Connect"
1221
1296
  },
1222
- "fieldName": "enableCellFlashing",
1223
- "inheritedFrom": {
1224
- "name": "EntityManagement",
1225
- "module": "src/entities/entities.ts"
1226
- }
1227
- }
1228
- ]
1229
- }
1230
- ],
1231
- "exports": [
1232
- {
1233
- "kind": "js",
1234
- "name": "Profiles",
1235
- "declaration": {
1236
- "name": "Profiles",
1237
- "module": "src/profiles/profiles.ts"
1238
- }
1239
- },
1240
- {
1241
- "kind": "custom-element-definition",
1242
- "name": "profile-management",
1243
- "declaration": {
1244
- "name": "Profiles",
1245
- "module": "src/profiles/profiles.ts"
1246
- }
1247
- }
1248
- ]
1249
- },
1250
- {
1251
- "kind": "javascript-module",
1252
- "path": "src/list/index.ts",
1253
- "declarations": [],
1254
- "exports": [
1255
- {
1256
- "kind": "js",
1257
- "name": "*",
1258
- "declaration": {
1259
- "name": "*",
1260
- "package": "./list"
1261
- }
1262
- }
1263
- ]
1264
- },
1265
- {
1266
- "kind": "javascript-module",
1267
- "path": "src/list/list.styles.ts",
1268
- "declarations": [
1269
- {
1270
- "kind": "variable",
1271
- "name": "listStyles",
1272
- "default": "css`\n :host {\n contain: content;\n }\n\n :host,\n fast-router {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: inherit;\n width: 100%;\n }\n\n .heading {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n`"
1273
- }
1274
- ],
1275
- "exports": [
1276
- {
1277
- "kind": "js",
1278
- "name": "listStyles",
1279
- "declaration": {
1280
- "name": "listStyles",
1281
- "module": "src/list/list.styles.ts"
1282
- }
1283
- }
1284
- ]
1285
- },
1286
- {
1287
- "kind": "javascript-module",
1288
- "path": "src/list/list.template.ts",
1289
- "declarations": [
1290
- {
1291
- "kind": "function",
1292
- "name": "buttonCellRenderer",
1293
- "parameters": [
1294
- {
1295
- "name": "title"
1296
- },
1297
- {
1298
- "name": "clickHandler"
1299
- }
1300
- ]
1301
- },
1302
- {
1303
- "kind": "variable",
1304
- "name": "listTemplate",
1305
- "default": "html<List>`\n <div class=\"heading\">\n <h3 data-test-id=\"title\">${(x) => x.title}</h3>\n ${when(\n (x) => x.createEvent,\n html`\n <zero-button\n appearance=\"accent\"\n @click=${(x) => x.create()}\n ?disabled=\"${(x) => x.addDisabled}\"\n data-test-id=\"button-create\"\n >\n Add\n </zero-button>\n `\n )}\n </div>\n <div class=\"container\">\n ${when(\n (x) => x.enableFilterBar,\n html<List>`\n <zero-filter-bar\n resource=${(x) => x.resourceName}\n only=${(x) => x.columns?.map((colDef) => colDef.field).filter((field) => !!field)}\n labels=${(x) => x.columns?.map((colDef) => colDef.headerName || '')}\n target=\"datasource\"\n ></zero-filter-bar>\n `\n )}\n <zero-grid-pro\n ${ref('grid')}\n auto-cell-renderer-by-type\n rowSelection=\"single\"\n rowHeight=\"36\"\n headerHeight=\"36\"\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n ?only-template-col-defs=${(x) => !!x.columns}\n suppressCellFocus=\"true\"\n suppressRowDeselection=\"true\"\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n >\n <grid-pro-genesis-datasource\n ${ref('datasource')}\n resource-name=${(x) => x.resourceName}\n criteria=${(x) => x.datasourceConfig?.criteria}\n fields=${(x) => x.datasourceConfig?.fields}\n is-snapshot=${(x) => x.datasourceConfig?.isSnapshot}\n max-rows=${(x) => x.datasourceConfig?.maxRows}\n max-view=${(x) => x.datasourceConfig?.maxView}\n order-by=${(x) => x.datasourceConfig?.orderBy}\n reverse=${(x) => x.datasourceConfig?.reverse}\n ></grid-pro-genesis-datasource>\n ${repeat(\n (x) => x.columns,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `\n )}\n ${repeat(\n (x) => x.actionButtonsConfig,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `\n )}\n </zero-grid-pro>\n </div>\n`"
1306
- }
1307
- ],
1308
- "exports": [
1309
- {
1310
- "kind": "js",
1311
- "name": "buttonCellRenderer",
1312
- "declaration": {
1313
- "name": "buttonCellRenderer",
1314
- "module": "src/list/list.template.ts"
1315
- }
1316
- },
1317
- {
1318
- "kind": "js",
1319
- "name": "listTemplate",
1320
- "declaration": {
1321
- "name": "listTemplate",
1322
- "module": "src/list/list.template.ts"
1323
- }
1324
- }
1325
- ]
1326
- },
1327
- {
1328
- "kind": "javascript-module",
1329
- "path": "src/list/list.ts",
1330
- "declarations": [
1331
- {
1332
- "kind": "class",
1333
- "description": "",
1334
- "name": "List",
1335
- "members": [
1297
+ "privacy": "protected",
1298
+ "description": "DI connect object which is used to interact with the backend.",
1299
+ "inheritedFrom": {
1300
+ "name": "EntityManagement",
1301
+ "module": "src/entities/entities.ts"
1302
+ }
1303
+ },
1336
1304
  {
1337
1305
  "kind": "field",
1338
- "name": "resourceName",
1306
+ "name": "readEvent",
1339
1307
  "type": {
1340
1308
  "text": "string"
1341
1309
  },
1342
- "default": "''"
1310
+ "inheritedFrom": {
1311
+ "name": "EntityManagement",
1312
+ "module": "src/entities/entities.ts"
1313
+ }
1343
1314
  },
1344
1315
  {
1345
1316
  "kind": "field",
1346
- "name": "title",
1317
+ "name": "readonly",
1347
1318
  "type": {
1348
- "text": "string"
1319
+ "text": "boolean"
1349
1320
  },
1350
- "default": "''"
1321
+ "inheritedFrom": {
1322
+ "name": "EntityManagement",
1323
+ "module": "src/entities/entities.ts"
1324
+ }
1351
1325
  },
1352
1326
  {
1353
1327
  "kind": "field",
1354
- "name": "persistColumnStateKey",
1328
+ "name": "columns",
1355
1329
  "type": {
1356
- "text": "string"
1330
+ "text": "ColDef[]"
1331
+ },
1332
+ "description": "Array which holds the column definitions.",
1333
+ "privacy": "public",
1334
+ "inheritedFrom": {
1335
+ "name": "EntityManagement",
1336
+ "module": "src/entities/entities.ts"
1357
1337
  }
1358
1338
  },
1359
1339
  {
1360
1340
  "kind": "field",
1361
- "name": "sizeColumnsToFit",
1341
+ "name": "datasourceConfig",
1362
1342
  "type": {
1363
- "text": "boolean"
1343
+ "text": "DatasourceConfiguration"
1344
+ },
1345
+ "description": "The configuration which is used when interacting with the resource on the backend",
1346
+ "privacy": "public",
1347
+ "inheritedFrom": {
1348
+ "name": "EntityManagement",
1349
+ "module": "src/entities/entities.ts"
1364
1350
  }
1365
1351
  },
1366
1352
  {
1367
1353
  "kind": "field",
1368
- "name": "enableFilterBar",
1354
+ "name": "formUiSchema",
1369
1355
  "type": {
1370
- "text": "boolean"
1356
+ "text": "any"
1357
+ },
1358
+ "inheritedFrom": {
1359
+ "name": "EntityManagement",
1360
+ "module": "src/entities/entities.ts"
1371
1361
  }
1372
1362
  },
1373
1363
  {
1374
1364
  "kind": "field",
1375
- "name": "enableCellFlashing",
1365
+ "name": "selectedEntity",
1376
1366
  "type": {
1377
- "text": "boolean"
1367
+ "text": "any"
1368
+ },
1369
+ "description": "Reference to the currently selected entity from the grid.",
1370
+ "privacy": "public",
1371
+ "inheritedFrom": {
1372
+ "name": "EntityManagement",
1373
+ "module": "src/entities/entities.ts"
1378
1374
  }
1379
1375
  },
1380
1376
  {
1381
1377
  "kind": "field",
1382
- "name": "grid",
1378
+ "name": "editedEntity",
1383
1379
  "type": {
1384
- "text": "ZeroGridPro"
1380
+ "text": "any"
1385
1381
  },
1386
- "privacy": "public"
1382
+ "description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
1383
+ "privacy": "public",
1384
+ "inheritedFrom": {
1385
+ "name": "EntityManagement",
1386
+ "module": "src/entities/entities.ts"
1387
+ }
1387
1388
  },
1388
1389
  {
1389
1390
  "kind": "field",
1390
- "name": "datasource",
1391
+ "name": "submitting",
1391
1392
  "type": {
1392
- "text": "GridProGenesisDatasource"
1393
+ "text": "boolean"
1393
1394
  },
1394
- "privacy": "public"
1395
+ "inheritedFrom": {
1396
+ "name": "EntityManagement",
1397
+ "module": "src/entities/entities.ts"
1398
+ }
1395
1399
  },
1396
1400
  {
1397
1401
  "kind": "field",
1398
- "name": "columns",
1402
+ "name": "editDialogTitle",
1399
1403
  "type": {
1400
- "text": "ColDef[]"
1404
+ "text": "string"
1405
+ },
1406
+ "description": "String which contains the text of the popup modal when the user is adding or editing an entity",
1407
+ "inheritedFrom": {
1408
+ "name": "EntityManagement",
1409
+ "module": "src/entities/entities.ts"
1401
1410
  }
1402
1411
  },
1403
1412
  {
1404
1413
  "kind": "field",
1405
- "name": "datasourceConfig",
1414
+ "name": "editModalVisible",
1406
1415
  "type": {
1407
- "text": "DatasourceConfiguration"
1416
+ "text": "boolean"
1417
+ },
1418
+ "default": "false",
1419
+ "inheritedFrom": {
1420
+ "name": "EntityManagement",
1421
+ "module": "src/entities/entities.ts"
1422
+ }
1423
+ },
1424
+ {
1425
+ "kind": "method",
1426
+ "name": "editModalVisibleChanged",
1427
+ "inheritedFrom": {
1428
+ "name": "EntityManagement",
1429
+ "module": "src/entities/entities.ts"
1408
1430
  }
1409
1431
  },
1410
1432
  {
1411
1433
  "kind": "field",
1412
- "name": "actionButtonsConfig",
1434
+ "name": "editEntityModal",
1413
1435
  "type": {
1414
- "text": "array"
1436
+ "text": "any"
1415
1437
  },
1416
- "default": "[]"
1438
+ "privacy": "public",
1439
+ "inheritedFrom": {
1440
+ "name": "EntityManagement",
1441
+ "module": "src/entities/entities.ts"
1442
+ }
1417
1443
  },
1418
1444
  {
1419
1445
  "kind": "field",
1420
- "name": "createEvent",
1446
+ "name": "sizeColumnsToFit",
1421
1447
  "type": {
1422
- "text": "string"
1448
+ "text": "boolean"
1449
+ },
1450
+ "inheritedFrom": {
1451
+ "name": "EntityManagement",
1452
+ "module": "src/entities/entities.ts"
1423
1453
  }
1424
1454
  },
1425
1455
  {
1426
1456
  "kind": "field",
1427
- "name": "deleteEvent",
1457
+ "name": "enableFilterBar",
1428
1458
  "type": {
1429
- "text": "string"
1459
+ "text": "boolean"
1460
+ },
1461
+ "inheritedFrom": {
1462
+ "name": "EntityManagement",
1463
+ "module": "src/entities/entities.ts"
1430
1464
  }
1431
1465
  },
1432
1466
  {
1433
1467
  "kind": "field",
1434
- "name": "updateEvent",
1468
+ "name": "enableCellFlashing",
1435
1469
  "type": {
1436
- "text": "string"
1470
+ "text": "boolean"
1471
+ },
1472
+ "inheritedFrom": {
1473
+ "name": "EntityManagement",
1474
+ "module": "src/entities/entities.ts"
1437
1475
  }
1438
1476
  },
1439
1477
  {
1440
1478
  "kind": "method",
1441
- "name": "handleFilterChanged",
1442
- "privacy": "private",
1443
- "parameters": [
1444
- {
1445
- "name": "e"
1479
+ "name": "deepClone",
1480
+ "return": {
1481
+ "type": {
1482
+ "text": "Node"
1446
1483
  }
1447
- ]
1484
+ },
1485
+ "description": "Override the deepClone method to ensure that observable attributes are cloned",
1486
+ "privacy": "public",
1487
+ "inheritedFrom": {
1488
+ "name": "EntityManagement",
1489
+ "module": "src/entities/entities.ts"
1490
+ }
1448
1491
  },
1449
1492
  {
1450
1493
  "kind": "method",
1451
- "name": "handleFilterCleared",
1452
- "privacy": "private",
1494
+ "name": "submitEntityChanges",
1495
+ "privacy": "public",
1453
1496
  "parameters": [
1454
1497
  {
1455
- "name": "e"
1498
+ "name": "e",
1499
+ "type": {
1500
+ "text": "CustomEvent"
1501
+ },
1502
+ "description": "CustomEvent which contains the payload for the entity to submit to the backend\n\nEmits an event upon error"
1456
1503
  }
1457
- ]
1504
+ ],
1505
+ "description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity",
1506
+ "inheritedFrom": {
1507
+ "name": "EntityManagement",
1508
+ "module": "src/entities/entities.ts"
1509
+ }
1458
1510
  },
1459
1511
  {
1460
1512
  "kind": "method",
1461
- "name": "select",
1513
+ "name": "readEntity",
1462
1514
  "privacy": "private",
1463
1515
  "parameters": [
1464
1516
  {
1465
- "name": "e"
1517
+ "name": "e",
1518
+ "type": {
1519
+ "text": "CustomEvent"
1520
+ }
1466
1521
  }
1467
- ]
1522
+ ],
1523
+ "inheritedFrom": {
1524
+ "name": "EntityManagement",
1525
+ "module": "src/entities/entities.ts"
1526
+ }
1527
+ },
1528
+ {
1529
+ "kind": "method",
1530
+ "name": "closeModal",
1531
+ "privacy": "public",
1532
+ "inheritedFrom": {
1533
+ "name": "EntityManagement",
1534
+ "module": "src/entities/entities.ts"
1535
+ }
1536
+ },
1537
+ {
1538
+ "kind": "method",
1539
+ "name": "showDeleteConfirmation",
1540
+ "privacy": "private",
1541
+ "inheritedFrom": {
1542
+ "name": "EntityManagement",
1543
+ "module": "src/entities/entities.ts"
1544
+ }
1545
+ }
1546
+ ],
1547
+ "superclass": {
1548
+ "name": "EntityManagement",
1549
+ "module": "/src/entities"
1550
+ },
1551
+ "tagName": "profile-management",
1552
+ "customElement": true,
1553
+ "attributes": [
1554
+ {
1555
+ "name": "resourceName",
1556
+ "type": {
1557
+ "text": "string"
1558
+ },
1559
+ "description": "Name of the backend resource which contain the entities to manage",
1560
+ "fieldName": "resourceName",
1561
+ "inheritedFrom": {
1562
+ "name": "EntityManagement",
1563
+ "module": "src/entities/entities.ts"
1564
+ }
1565
+ },
1566
+ {
1567
+ "name": "readEvent",
1568
+ "type": {
1569
+ "text": "string"
1570
+ },
1571
+ "fieldName": "readEvent",
1572
+ "inheritedFrom": {
1573
+ "name": "EntityManagement",
1574
+ "module": "src/entities/entities.ts"
1575
+ }
1576
+ },
1577
+ {
1578
+ "type": {
1579
+ "text": "boolean"
1580
+ },
1581
+ "fieldName": "readonly",
1582
+ "inheritedFrom": {
1583
+ "name": "EntityManagement",
1584
+ "module": "src/entities/entities.ts"
1585
+ }
1586
+ },
1587
+ {
1588
+ "name": "updateEvent",
1589
+ "type": {
1590
+ "text": "string"
1591
+ },
1592
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
1593
+ "fieldName": "updateEvent",
1594
+ "inheritedFrom": {
1595
+ "name": "EntityManagement",
1596
+ "module": "src/entities/entities.ts"
1597
+ }
1468
1598
  },
1469
1599
  {
1470
- "kind": "method",
1471
- "name": "create",
1472
- "privacy": "public"
1600
+ "name": "deleteEvent",
1601
+ "type": {
1602
+ "text": "string"
1603
+ },
1604
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1605
+ "fieldName": "deleteEvent",
1606
+ "inheritedFrom": {
1607
+ "name": "EntityManagement",
1608
+ "module": "src/entities/entities.ts"
1609
+ }
1473
1610
  },
1474
1611
  {
1475
- "kind": "field",
1476
- "name": "edit",
1477
- "privacy": "private"
1612
+ "name": "createEvent",
1613
+ "type": {
1614
+ "text": "string"
1615
+ },
1616
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
1617
+ "fieldName": "createEvent",
1618
+ "inheritedFrom": {
1619
+ "name": "EntityManagement",
1620
+ "module": "src/entities/entities.ts"
1621
+ }
1478
1622
  },
1479
1623
  {
1480
- "kind": "method",
1481
- "name": "delete",
1482
- "parameters": [
1483
- {
1484
- "name": "e"
1485
- }
1486
- ]
1487
- }
1488
- ],
1489
- "attributes": [
1490
- {
1491
- "name": "resourceName",
1624
+ "name": "title",
1492
1625
  "type": {
1493
1626
  "text": "string"
1494
1627
  },
1495
- "default": "''",
1496
- "fieldName": "resourceName"
1628
+ "description": "Title of the grid",
1629
+ "fieldName": "title",
1630
+ "inheritedFrom": {
1631
+ "name": "EntityManagement",
1632
+ "module": "src/entities/entities.ts"
1633
+ }
1497
1634
  },
1498
1635
  {
1499
- "name": "title",
1636
+ "name": "entityLabel",
1500
1637
  "type": {
1501
1638
  "text": "string"
1502
1639
  },
1503
1640
  "default": "''",
1504
- "fieldName": "title"
1641
+ "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1642
+ "fieldName": "entityLabel",
1643
+ "inheritedFrom": {
1644
+ "name": "EntityManagement",
1645
+ "module": "src/entities/entities.ts"
1646
+ }
1505
1647
  },
1506
1648
  {
1507
1649
  "name": "persist-column-state-key",
1508
1650
  "type": {
1509
1651
  "text": "string"
1510
1652
  },
1511
- "fieldName": "persistColumnStateKey"
1653
+ "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.",
1654
+ "fieldName": "persistColumnStateKey",
1655
+ "inheritedFrom": {
1656
+ "name": "EntityManagement",
1657
+ "module": "src/entities/entities.ts"
1658
+ }
1512
1659
  },
1513
1660
  {
1514
1661
  "name": "size-columns-to-fit",
1515
1662
  "type": {
1516
1663
  "text": "boolean"
1517
1664
  },
1518
- "fieldName": "sizeColumnsToFit"
1665
+ "fieldName": "sizeColumnsToFit",
1666
+ "inheritedFrom": {
1667
+ "name": "EntityManagement",
1668
+ "module": "src/entities/entities.ts"
1669
+ }
1519
1670
  },
1520
1671
  {
1521
1672
  "name": "enable-filter-bar",
1522
1673
  "type": {
1523
1674
  "text": "boolean"
1524
1675
  },
1525
- "fieldName": "enableFilterBar"
1676
+ "fieldName": "enableFilterBar",
1677
+ "inheritedFrom": {
1678
+ "name": "EntityManagement",
1679
+ "module": "src/entities/entities.ts"
1680
+ }
1526
1681
  },
1527
1682
  {
1528
1683
  "name": "enable-cell-flashing",
1529
1684
  "type": {
1530
1685
  "text": "boolean"
1531
1686
  },
1532
- "fieldName": "enableCellFlashing"
1687
+ "fieldName": "enableCellFlashing",
1688
+ "inheritedFrom": {
1689
+ "name": "EntityManagement",
1690
+ "module": "src/entities/entities.ts"
1691
+ }
1533
1692
  }
1534
- ],
1535
- "superclass": {
1536
- "name": "FASTElement",
1537
- "package": "@microsoft/fast-element"
1538
- },
1539
- "tagName": "entity-list",
1540
- "customElement": true
1693
+ ]
1541
1694
  }
1542
1695
  ],
1543
1696
  "exports": [
1544
1697
  {
1545
1698
  "kind": "js",
1546
- "name": "List",
1699
+ "name": "Profiles",
1547
1700
  "declaration": {
1548
- "name": "List",
1549
- "module": "src/list/list.ts"
1701
+ "name": "Profiles",
1702
+ "module": "src/profiles/profiles.ts"
1550
1703
  }
1551
1704
  },
1552
1705
  {
1553
1706
  "kind": "custom-element-definition",
1554
- "name": "entity-list",
1707
+ "name": "profile-management",
1555
1708
  "declaration": {
1556
- "name": "List",
1557
- "module": "src/list/list.ts"
1709
+ "name": "Profiles",
1710
+ "module": "src/profiles/profiles.ts"
1558
1711
  }
1559
1712
  }
1560
1713
  ]
@@ -1580,159 +1733,6 @@
1580
1733
  }
1581
1734
  ]
1582
1735
  },
1583
- {
1584
- "kind": "javascript-module",
1585
- "path": "src/main/index.ts",
1586
- "declarations": [],
1587
- "exports": [
1588
- {
1589
- "kind": "js",
1590
- "name": "*",
1591
- "declaration": {
1592
- "name": "*",
1593
- "package": "./main.template"
1594
- }
1595
- },
1596
- {
1597
- "kind": "js",
1598
- "name": "*",
1599
- "declaration": {
1600
- "name": "*",
1601
- "package": "./main"
1602
- }
1603
- }
1604
- ]
1605
- },
1606
- {
1607
- "kind": "javascript-module",
1608
- "path": "src/main/main.styles.ts",
1609
- "declarations": [
1610
- {
1611
- "kind": "variable",
1612
- "name": "MainStyles",
1613
- "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`"
1614
- }
1615
- ],
1616
- "exports": [
1617
- {
1618
- "kind": "js",
1619
- "name": "MainStyles",
1620
- "declaration": {
1621
- "name": "MainStyles",
1622
- "module": "src/main/main.styles.ts"
1623
- }
1624
- }
1625
- ]
1626
- },
1627
- {
1628
- "kind": "javascript-module",
1629
- "path": "src/main/main.template.ts",
1630
- "declarations": [],
1631
- "exports": []
1632
- },
1633
- {
1634
- "kind": "javascript-module",
1635
- "path": "src/main/main.ts",
1636
- "declarations": [
1637
- {
1638
- "kind": "class",
1639
- "description": "",
1640
- "name": "MainApplication",
1641
- "members": [
1642
- {
1643
- "kind": "field",
1644
- "name": "config",
1645
- "type": {
1646
- "text": "MainRouterConfig"
1647
- }
1648
- },
1649
- {
1650
- "kind": "field",
1651
- "name": "connect",
1652
- "type": {
1653
- "text": "Connect"
1654
- }
1655
- },
1656
- {
1657
- "kind": "field",
1658
- "name": "session",
1659
- "type": {
1660
- "text": "Session"
1661
- }
1662
- },
1663
- {
1664
- "kind": "field",
1665
- "name": "container",
1666
- "type": {
1667
- "text": "Container"
1668
- }
1669
- },
1670
- {
1671
- "kind": "field",
1672
- "name": "provider",
1673
- "type": {
1674
- "text": "any"
1675
- }
1676
- },
1677
- {
1678
- "kind": "field",
1679
- "name": "ready",
1680
- "type": {
1681
- "text": "boolean"
1682
- },
1683
- "default": "false"
1684
- },
1685
- {
1686
- "kind": "field",
1687
- "name": "data",
1688
- "type": {
1689
- "text": "any"
1690
- },
1691
- "default": "null"
1692
- },
1693
- {
1694
- "kind": "method",
1695
- "name": "onLuminanceToggle"
1696
- },
1697
- {
1698
- "kind": "method",
1699
- "name": "loadRemotes"
1700
- },
1701
- {
1702
- "kind": "method",
1703
- "name": "selectTemplate"
1704
- },
1705
- {
1706
- "kind": "method",
1707
- "name": "registerDIDependencies",
1708
- "privacy": "private"
1709
- }
1710
- ],
1711
- "superclass": {
1712
- "name": "FASTElement",
1713
- "package": "@microsoft/fast-element"
1714
- },
1715
- "customElement": true
1716
- }
1717
- ],
1718
- "exports": [
1719
- {
1720
- "kind": "js",
1721
- "name": "MainApplication",
1722
- "declaration": {
1723
- "name": "MainApplication",
1724
- "module": "src/main/main.ts"
1725
- }
1726
- },
1727
- {
1728
- "kind": "custom-element-definition",
1729
- "declaration": {
1730
- "name": "MainApplication",
1731
- "module": "src/main/main.ts"
1732
- }
1733
- }
1734
- ]
1735
- },
1736
1736
  {
1737
1737
  "kind": "javascript-module",
1738
1738
  "path": "src/users/users.template.ts",