@genesislcap/foundation-entity-management 14.26.8-alpha-64bb9e2.0 → 14.26.8-alpha-dd7cee501.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 +13 -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/list/index.ts",
599
+ "declarations": [],
600
+ "exports": [
601
+ {
602
+ "kind": "js",
603
+ "name": "*",
604
+ "declaration": {
605
+ "name": "*",
606
+ "package": "./list"
607
+ }
608
+ }
609
+ ]
610
+ },
611
+ {
612
+ "kind": "javascript-module",
613
+ "path": "src/list/list.styles.ts",
648
614
  "declarations": [
649
615
  {
650
616
  "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}"
617
+ "name": "listStyles",
618
+ "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`"
656
619
  }
657
620
  ],
658
621
  "exports": [
659
622
  {
660
623
  "kind": "js",
661
- "name": "editProfileFormSchema",
624
+ "name": "listStyles",
662
625
  "declaration": {
663
- "name": "editProfileFormSchema",
664
- "module": "src/profiles/editProfileSchema.ts"
626
+ "name": "listStyles",
627
+ "module": "src/list/list.styles.ts"
665
628
  }
666
629
  }
667
630
  ]
668
631
  },
669
632
  {
670
633
  "kind": "javascript-module",
671
- "path": "src/profiles/profiles.ts",
634
+ "path": "src/list/list.template.ts",
672
635
  "declarations": [
673
636
  {
674
- "kind": "class",
675
- "description": "Main class which defined the profile management functionality",
676
- "name": "Profiles",
677
- "members": [
637
+ "kind": "function",
638
+ "name": "buttonCellRenderer",
639
+ "parameters": [
678
640
  {
679
- "kind": "method",
680
- "name": "readProfileData",
681
- "privacy": "public",
682
- "parameters": [
683
- {
684
- "name": "profile"
685
- }
686
- ]
641
+ "name": "title"
687
642
  },
688
643
  {
689
- "kind": "method",
690
- "name": "confirmDelete",
691
- "inheritedFrom": {
692
- "name": "EntityManagement",
693
- "module": "src/entities/entities.ts"
694
- }
695
- },
644
+ "name": "clickHandler"
645
+ }
646
+ ]
647
+ },
648
+ {
649
+ "kind": "variable",
650
+ "name": "listTemplate",
651
+ "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`"
652
+ }
653
+ ],
654
+ "exports": [
655
+ {
656
+ "kind": "js",
657
+ "name": "buttonCellRenderer",
658
+ "declaration": {
659
+ "name": "buttonCellRenderer",
660
+ "module": "src/list/list.template.ts"
661
+ }
662
+ },
663
+ {
664
+ "kind": "js",
665
+ "name": "listTemplate",
666
+ "declaration": {
667
+ "name": "listTemplate",
668
+ "module": "src/list/list.template.ts"
669
+ }
670
+ }
671
+ ]
672
+ },
673
+ {
674
+ "kind": "javascript-module",
675
+ "path": "src/list/list.ts",
676
+ "declarations": [
677
+ {
678
+ "kind": "class",
679
+ "description": "",
680
+ "name": "List",
681
+ "members": [
696
682
  {
697
683
  "kind": "field",
698
- "name": "createEvent",
684
+ "name": "resourceName",
699
685
  "type": {
700
686
  "text": "string"
701
687
  },
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
- }
688
+ "default": "''"
708
689
  },
709
690
  {
710
691
  "kind": "field",
711
- "name": "deleteEvent",
692
+ "name": "title",
712
693
  "type": {
713
694
  "text": "string"
714
695
  },
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
- }
696
+ "default": "''"
721
697
  },
722
698
  {
723
699
  "kind": "field",
724
- "name": "updateEvent",
700
+ "name": "persistColumnStateKey",
725
701
  "type": {
726
702
  "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
703
  }
734
704
  },
735
705
  {
736
706
  "kind": "field",
737
- "name": "persistColumnStateKey",
707
+ "name": "sizeColumnsToFit",
738
708
  "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"
709
+ "text": "boolean"
747
710
  }
748
711
  },
749
712
  {
750
713
  "kind": "field",
751
- "name": "updateFormUiSchema",
714
+ "name": "enableFilterBar",
752
715
  "type": {
753
- "text": "any"
754
- },
755
- "default": "editProfileFormSchema",
756
- "inheritedFrom": {
757
- "name": "EntityManagement",
758
- "module": "src/entities/entities.ts"
716
+ "text": "boolean"
759
717
  }
760
718
  },
761
719
  {
762
720
  "kind": "field",
763
- "name": "createFormUiSchema",
721
+ "name": "enableCellFlashing",
764
722
  "type": {
765
- "text": "any"
766
- },
767
- "default": "editProfileFormSchema",
768
- "inheritedFrom": {
769
- "name": "EntityManagement",
770
- "module": "src/entities/entities.ts"
723
+ "text": "boolean"
771
724
  }
772
725
  },
773
726
  {
774
727
  "kind": "field",
775
- "name": "readEventFn",
728
+ "name": "grid",
776
729
  "type": {
777
- "text": "(...args) => {}"
730
+ "text": "ZeroGridPro"
778
731
  },
779
- "inheritedFrom": {
780
- "name": "EntityManagement",
781
- "module": "src/entities/entities.ts"
782
- }
732
+ "privacy": "public"
783
733
  },
784
734
  {
785
735
  "kind": "field",
786
- "name": "resourceName",
736
+ "name": "datasource",
787
737
  "type": {
788
- "text": "string"
738
+ "text": "GridProGenesisDatasource"
789
739
  },
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
- }
740
+ "privacy": "public"
797
741
  },
798
742
  {
799
743
  "kind": "field",
800
- "name": "title",
744
+ "name": "columns",
801
745
  "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"
746
+ "text": "ColDef[]"
810
747
  }
811
748
  },
812
749
  {
813
750
  "kind": "field",
814
- "name": "entityLabel",
751
+ "name": "datasourceConfig",
815
752
  "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"
753
+ "text": "DatasourceConfiguration"
824
754
  }
825
755
  },
826
756
  {
827
757
  "kind": "field",
828
- "name": "connect",
758
+ "name": "actionButtonsConfig",
829
759
  "type": {
830
- "text": "Connect"
760
+ "text": "array"
831
761
  },
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
- }
762
+ "default": "[]"
838
763
  },
839
764
  {
840
765
  "kind": "field",
841
- "name": "readEvent",
766
+ "name": "createEvent",
842
767
  "type": {
843
768
  "text": "string"
844
- },
845
- "inheritedFrom": {
846
- "name": "EntityManagement",
847
- "module": "src/entities/entities.ts"
848
769
  }
849
770
  },
850
771
  {
851
772
  "kind": "field",
852
- "name": "readonly",
773
+ "name": "deleteEvent",
853
774
  "type": {
854
- "text": "boolean"
855
- },
856
- "inheritedFrom": {
857
- "name": "EntityManagement",
858
- "module": "src/entities/entities.ts"
775
+ "text": "string"
859
776
  }
860
777
  },
861
778
  {
862
779
  "kind": "field",
863
- "name": "columns",
780
+ "name": "updateEvent",
864
781
  "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"
782
+ "text": "string"
872
783
  }
873
784
  },
785
+ {
786
+ "kind": "method",
787
+ "name": "handleFilterChanged",
788
+ "privacy": "private",
789
+ "parameters": [
790
+ {
791
+ "name": "e"
792
+ }
793
+ ]
794
+ },
795
+ {
796
+ "kind": "method",
797
+ "name": "handleFilterCleared",
798
+ "privacy": "private",
799
+ "parameters": [
800
+ {
801
+ "name": "e"
802
+ }
803
+ ]
804
+ },
805
+ {
806
+ "kind": "method",
807
+ "name": "select",
808
+ "privacy": "private",
809
+ "parameters": [
810
+ {
811
+ "name": "e"
812
+ }
813
+ ]
814
+ },
815
+ {
816
+ "kind": "method",
817
+ "name": "create",
818
+ "privacy": "public"
819
+ },
874
820
  {
875
821
  "kind": "field",
876
- "name": "datasourceConfig",
822
+ "name": "edit",
823
+ "privacy": "private"
824
+ },
825
+ {
826
+ "kind": "method",
827
+ "name": "delete",
828
+ "parameters": [
829
+ {
830
+ "name": "e"
831
+ }
832
+ ]
833
+ }
834
+ ],
835
+ "attributes": [
836
+ {
837
+ "name": "resourceName",
877
838
  "type": {
878
- "text": "DatasourceConfiguration"
839
+ "text": "string"
879
840
  },
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
- }
841
+ "default": "''",
842
+ "fieldName": "resourceName"
886
843
  },
887
844
  {
888
- "kind": "field",
889
- "name": "formUiSchema",
845
+ "name": "title",
890
846
  "type": {
891
- "text": "any"
847
+ "text": "string"
892
848
  },
893
- "inheritedFrom": {
894
- "name": "EntityManagement",
895
- "module": "src/entities/entities.ts"
896
- }
849
+ "default": "''",
850
+ "fieldName": "title"
897
851
  },
898
852
  {
899
- "kind": "field",
900
- "name": "selectedEntity",
853
+ "name": "persist-column-state-key",
901
854
  "type": {
902
- "text": "any"
855
+ "text": "string"
903
856
  },
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
- }
857
+ "fieldName": "persistColumnStateKey"
910
858
  },
911
859
  {
912
- "kind": "field",
913
- "name": "editedEntity",
860
+ "name": "size-columns-to-fit",
914
861
  "type": {
915
- "text": "any"
862
+ "text": "boolean"
916
863
  },
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
- }
864
+ "fieldName": "sizeColumnsToFit"
923
865
  },
924
866
  {
925
- "kind": "field",
926
- "name": "submitting",
867
+ "name": "enable-filter-bar",
927
868
  "type": {
928
869
  "text": "boolean"
929
870
  },
930
- "inheritedFrom": {
931
- "name": "EntityManagement",
932
- "module": "src/entities/entities.ts"
933
- }
871
+ "fieldName": "enableFilterBar"
934
872
  },
935
873
  {
936
- "kind": "field",
937
- "name": "editDialogTitle",
874
+ "name": "enable-cell-flashing",
938
875
  "type": {
939
- "text": "string"
876
+ "text": "boolean"
940
877
  },
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"
878
+ "fieldName": "enableCellFlashing"
879
+ }
880
+ ],
881
+ "superclass": {
882
+ "name": "FASTElement",
883
+ "package": "@microsoft/fast-element"
884
+ },
885
+ "tagName": "entity-list",
886
+ "customElement": true
887
+ }
888
+ ],
889
+ "exports": [
890
+ {
891
+ "kind": "js",
892
+ "name": "List",
893
+ "declaration": {
894
+ "name": "List",
895
+ "module": "src/list/list.ts"
896
+ }
897
+ },
898
+ {
899
+ "kind": "custom-element-definition",
900
+ "name": "entity-list",
901
+ "declaration": {
902
+ "name": "List",
903
+ "module": "src/list/list.ts"
904
+ }
905
+ }
906
+ ]
907
+ },
908
+ {
909
+ "kind": "javascript-module",
910
+ "path": "src/main/index.ts",
911
+ "declarations": [],
912
+ "exports": [
913
+ {
914
+ "kind": "js",
915
+ "name": "*",
916
+ "declaration": {
917
+ "name": "*",
918
+ "package": "./main.template"
919
+ }
920
+ },
921
+ {
922
+ "kind": "js",
923
+ "name": "*",
924
+ "declaration": {
925
+ "name": "*",
926
+ "package": "./main"
927
+ }
928
+ }
929
+ ]
930
+ },
931
+ {
932
+ "kind": "javascript-module",
933
+ "path": "src/main/main.styles.ts",
934
+ "declarations": [
935
+ {
936
+ "kind": "variable",
937
+ "name": "MainStyles",
938
+ "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`"
939
+ }
940
+ ],
941
+ "exports": [
942
+ {
943
+ "kind": "js",
944
+ "name": "MainStyles",
945
+ "declaration": {
946
+ "name": "MainStyles",
947
+ "module": "src/main/main.styles.ts"
948
+ }
949
+ }
950
+ ]
951
+ },
952
+ {
953
+ "kind": "javascript-module",
954
+ "path": "src/main/main.template.ts",
955
+ "declarations": [],
956
+ "exports": []
957
+ },
958
+ {
959
+ "kind": "javascript-module",
960
+ "path": "src/main/main.ts",
961
+ "declarations": [
962
+ {
963
+ "kind": "class",
964
+ "description": "",
965
+ "name": "MainApplication",
966
+ "members": [
967
+ {
968
+ "kind": "field",
969
+ "name": "config",
970
+ "type": {
971
+ "text": "MainRouterConfig"
945
972
  }
946
973
  },
947
974
  {
948
975
  "kind": "field",
949
- "name": "editModalVisible",
976
+ "name": "connect",
950
977
  "type": {
951
- "text": "boolean"
952
- },
953
- "default": "false",
954
- "inheritedFrom": {
955
- "name": "EntityManagement",
956
- "module": "src/entities/entities.ts"
978
+ "text": "Connect"
957
979
  }
958
980
  },
959
981
  {
960
- "kind": "method",
961
- "name": "editModalVisibleChanged",
962
- "inheritedFrom": {
963
- "name": "EntityManagement",
964
- "module": "src/entities/entities.ts"
982
+ "kind": "field",
983
+ "name": "session",
984
+ "type": {
985
+ "text": "Session"
965
986
  }
966
987
  },
967
988
  {
968
989
  "kind": "field",
969
- "name": "editEntityModal",
990
+ "name": "container",
970
991
  "type": {
971
- "text": "any"
972
- },
973
- "privacy": "public",
974
- "inheritedFrom": {
975
- "name": "EntityManagement",
976
- "module": "src/entities/entities.ts"
992
+ "text": "Container"
977
993
  }
978
994
  },
979
995
  {
980
996
  "kind": "field",
981
- "name": "sizeColumnsToFit",
997
+ "name": "provider",
982
998
  "type": {
983
- "text": "boolean"
984
- },
985
- "inheritedFrom": {
986
- "name": "EntityManagement",
987
- "module": "src/entities/entities.ts"
999
+ "text": "any"
988
1000
  }
989
1001
  },
990
1002
  {
991
1003
  "kind": "field",
992
- "name": "enableFilterBar",
1004
+ "name": "ready",
993
1005
  "type": {
994
1006
  "text": "boolean"
995
1007
  },
996
- "inheritedFrom": {
997
- "name": "EntityManagement",
998
- "module": "src/entities/entities.ts"
999
- }
1008
+ "default": "false"
1000
1009
  },
1001
1010
  {
1002
1011
  "kind": "field",
1003
- "name": "enableCellFlashing",
1012
+ "name": "data",
1004
1013
  "type": {
1005
- "text": "boolean"
1014
+ "text": "any"
1006
1015
  },
1007
- "inheritedFrom": {
1008
- "name": "EntityManagement",
1009
- "module": "src/entities/entities.ts"
1010
- }
1016
+ "default": "null"
1011
1017
  },
1012
1018
  {
1013
1019
  "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
- }
1020
+ "name": "onLuminanceToggle"
1026
1021
  },
1027
1022
  {
1028
1023
  "kind": "method",
1029
- "name": "submitEntityChanges",
1024
+ "name": "loadRemotes"
1025
+ },
1026
+ {
1027
+ "kind": "method",
1028
+ "name": "selectTemplate"
1029
+ },
1030
+ {
1031
+ "kind": "method",
1032
+ "name": "registerDIDependencies",
1033
+ "privacy": "private"
1034
+ }
1035
+ ],
1036
+ "superclass": {
1037
+ "name": "FASTElement",
1038
+ "package": "@microsoft/fast-element"
1039
+ },
1040
+ "customElement": true
1041
+ }
1042
+ ],
1043
+ "exports": [
1044
+ {
1045
+ "kind": "js",
1046
+ "name": "MainApplication",
1047
+ "declaration": {
1048
+ "name": "MainApplication",
1049
+ "module": "src/main/main.ts"
1050
+ }
1051
+ },
1052
+ {
1053
+ "kind": "custom-element-definition",
1054
+ "declaration": {
1055
+ "name": "MainApplication",
1056
+ "module": "src/main/main.ts"
1057
+ }
1058
+ }
1059
+ ]
1060
+ },
1061
+ {
1062
+ "kind": "javascript-module",
1063
+ "path": "src/layouts/default.ts",
1064
+ "declarations": [
1065
+ {
1066
+ "kind": "variable",
1067
+ "name": "loginLayout",
1068
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss\n)"
1069
+ },
1070
+ {
1071
+ "kind": "variable",
1072
+ "name": "defaultLayout",
1073
+ "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)"
1074
+ }
1075
+ ],
1076
+ "exports": [
1077
+ {
1078
+ "kind": "js",
1079
+ "name": "loginLayout",
1080
+ "declaration": {
1081
+ "name": "loginLayout",
1082
+ "module": "src/layouts/default.ts"
1083
+ }
1084
+ },
1085
+ {
1086
+ "kind": "js",
1087
+ "name": "defaultLayout",
1088
+ "declaration": {
1089
+ "name": "defaultLayout",
1090
+ "module": "src/layouts/default.ts"
1091
+ }
1092
+ }
1093
+ ]
1094
+ },
1095
+ {
1096
+ "kind": "javascript-module",
1097
+ "path": "src/layouts/index.ts",
1098
+ "declarations": [],
1099
+ "exports": [
1100
+ {
1101
+ "kind": "js",
1102
+ "name": "*",
1103
+ "declaration": {
1104
+ "name": "*",
1105
+ "package": "./default"
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",