@genesislcap/foundation-entity-management 14.26.7 → 14.26.8-alpha-64bb9e2.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.
- package/dist/custom-elements.json +714 -714
- package/package.json +13 -13
|
@@ -122,6 +122,55 @@
|
|
|
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
|
+
},
|
|
125
174
|
{
|
|
126
175
|
"kind": "javascript-module",
|
|
127
176
|
"path": "src/entities/entities.styles.ts",
|
|
@@ -595,1119 +644,917 @@
|
|
|
595
644
|
},
|
|
596
645
|
{
|
|
597
646
|
"kind": "javascript-module",
|
|
598
|
-
"path": "src/
|
|
599
|
-
"declarations": [
|
|
600
|
-
{
|
|
601
|
-
"kind": "variable",
|
|
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)"
|
|
609
|
-
}
|
|
610
|
-
],
|
|
611
|
-
"exports": [
|
|
612
|
-
{
|
|
613
|
-
"kind": "js",
|
|
614
|
-
"name": "loginLayout",
|
|
615
|
-
"declaration": {
|
|
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"
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
]
|
|
629
|
-
},
|
|
630
|
-
{
|
|
631
|
-
"kind": "javascript-module",
|
|
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",
|
|
647
|
+
"path": "src/profiles/editProfileSchema.ts",
|
|
663
648
|
"declarations": [
|
|
664
649
|
{
|
|
665
650
|
"kind": "variable",
|
|
666
|
-
"name": "
|
|
667
|
-
"
|
|
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}"
|
|
668
656
|
}
|
|
669
657
|
],
|
|
670
658
|
"exports": [
|
|
671
659
|
{
|
|
672
660
|
"kind": "js",
|
|
673
|
-
"name": "
|
|
661
|
+
"name": "editProfileFormSchema",
|
|
674
662
|
"declaration": {
|
|
675
|
-
"name": "
|
|
676
|
-
"module": "src/
|
|
663
|
+
"name": "editProfileFormSchema",
|
|
664
|
+
"module": "src/profiles/editProfileSchema.ts"
|
|
677
665
|
}
|
|
678
666
|
}
|
|
679
667
|
]
|
|
680
668
|
},
|
|
681
669
|
{
|
|
682
670
|
"kind": "javascript-module",
|
|
683
|
-
"path": "src/
|
|
671
|
+
"path": "src/profiles/profiles.ts",
|
|
684
672
|
"declarations": [
|
|
685
673
|
{
|
|
686
|
-
"kind": "
|
|
687
|
-
"
|
|
688
|
-
"
|
|
674
|
+
"kind": "class",
|
|
675
|
+
"description": "Main class which defined the profile management functionality",
|
|
676
|
+
"name": "Profiles",
|
|
677
|
+
"members": [
|
|
689
678
|
{
|
|
690
|
-
"
|
|
679
|
+
"kind": "method",
|
|
680
|
+
"name": "readProfileData",
|
|
681
|
+
"privacy": "public",
|
|
682
|
+
"parameters": [
|
|
683
|
+
{
|
|
684
|
+
"name": "profile"
|
|
685
|
+
}
|
|
686
|
+
]
|
|
691
687
|
},
|
|
692
688
|
{
|
|
693
|
-
"
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
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": [
|
|
689
|
+
"kind": "method",
|
|
690
|
+
"name": "confirmDelete",
|
|
691
|
+
"inheritedFrom": {
|
|
692
|
+
"name": "EntityManagement",
|
|
693
|
+
"module": "src/entities/entities.ts"
|
|
694
|
+
}
|
|
695
|
+
},
|
|
731
696
|
{
|
|
732
697
|
"kind": "field",
|
|
733
|
-
"name": "
|
|
698
|
+
"name": "createEvent",
|
|
734
699
|
"type": {
|
|
735
700
|
"text": "string"
|
|
736
701
|
},
|
|
737
|
-
"
|
|
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
|
+
}
|
|
738
708
|
},
|
|
739
709
|
{
|
|
740
710
|
"kind": "field",
|
|
741
|
-
"name": "
|
|
711
|
+
"name": "deleteEvent",
|
|
742
712
|
"type": {
|
|
743
713
|
"text": "string"
|
|
744
714
|
},
|
|
745
|
-
"
|
|
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
|
+
}
|
|
746
721
|
},
|
|
747
722
|
{
|
|
748
723
|
"kind": "field",
|
|
749
|
-
"name": "
|
|
724
|
+
"name": "updateEvent",
|
|
750
725
|
"type": {
|
|
751
726
|
"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"
|
|
752
733
|
}
|
|
753
734
|
},
|
|
754
735
|
{
|
|
755
736
|
"kind": "field",
|
|
756
|
-
"name": "
|
|
737
|
+
"name": "persistColumnStateKey",
|
|
757
738
|
"type": {
|
|
758
|
-
"text": "
|
|
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"
|
|
759
747
|
}
|
|
760
748
|
},
|
|
761
749
|
{
|
|
762
750
|
"kind": "field",
|
|
763
|
-
"name": "
|
|
751
|
+
"name": "updateFormUiSchema",
|
|
764
752
|
"type": {
|
|
765
|
-
"text": "
|
|
753
|
+
"text": "any"
|
|
754
|
+
},
|
|
755
|
+
"default": "editProfileFormSchema",
|
|
756
|
+
"inheritedFrom": {
|
|
757
|
+
"name": "EntityManagement",
|
|
758
|
+
"module": "src/entities/entities.ts"
|
|
766
759
|
}
|
|
767
760
|
},
|
|
768
761
|
{
|
|
769
762
|
"kind": "field",
|
|
770
|
-
"name": "
|
|
763
|
+
"name": "createFormUiSchema",
|
|
771
764
|
"type": {
|
|
772
|
-
"text": "
|
|
765
|
+
"text": "any"
|
|
766
|
+
},
|
|
767
|
+
"default": "editProfileFormSchema",
|
|
768
|
+
"inheritedFrom": {
|
|
769
|
+
"name": "EntityManagement",
|
|
770
|
+
"module": "src/entities/entities.ts"
|
|
773
771
|
}
|
|
774
772
|
},
|
|
775
773
|
{
|
|
776
774
|
"kind": "field",
|
|
777
|
-
"name": "
|
|
775
|
+
"name": "readEventFn",
|
|
778
776
|
"type": {
|
|
779
|
-
"text": "
|
|
777
|
+
"text": "(...args) => {}"
|
|
780
778
|
},
|
|
781
|
-
"
|
|
779
|
+
"inheritedFrom": {
|
|
780
|
+
"name": "EntityManagement",
|
|
781
|
+
"module": "src/entities/entities.ts"
|
|
782
|
+
}
|
|
782
783
|
},
|
|
783
784
|
{
|
|
784
785
|
"kind": "field",
|
|
785
|
-
"name": "
|
|
786
|
+
"name": "resourceName",
|
|
786
787
|
"type": {
|
|
787
|
-
"text": "
|
|
788
|
+
"text": "string"
|
|
788
789
|
},
|
|
789
|
-
"
|
|
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
|
+
}
|
|
790
797
|
},
|
|
791
798
|
{
|
|
792
799
|
"kind": "field",
|
|
793
|
-
"name": "
|
|
800
|
+
"name": "title",
|
|
794
801
|
"type": {
|
|
795
|
-
"text": "
|
|
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"
|
|
796
810
|
}
|
|
797
811
|
},
|
|
798
812
|
{
|
|
799
813
|
"kind": "field",
|
|
800
|
-
"name": "
|
|
814
|
+
"name": "entityLabel",
|
|
801
815
|
"type": {
|
|
802
|
-
"text": "
|
|
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"
|
|
803
824
|
}
|
|
804
825
|
},
|
|
805
826
|
{
|
|
806
827
|
"kind": "field",
|
|
807
|
-
"name": "
|
|
828
|
+
"name": "connect",
|
|
808
829
|
"type": {
|
|
809
|
-
"text": "
|
|
830
|
+
"text": "Connect"
|
|
810
831
|
},
|
|
811
|
-
"
|
|
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
|
+
}
|
|
812
838
|
},
|
|
813
839
|
{
|
|
814
840
|
"kind": "field",
|
|
815
|
-
"name": "
|
|
841
|
+
"name": "readEvent",
|
|
816
842
|
"type": {
|
|
817
843
|
"text": "string"
|
|
844
|
+
},
|
|
845
|
+
"inheritedFrom": {
|
|
846
|
+
"name": "EntityManagement",
|
|
847
|
+
"module": "src/entities/entities.ts"
|
|
818
848
|
}
|
|
819
849
|
},
|
|
820
850
|
{
|
|
821
851
|
"kind": "field",
|
|
822
|
-
"name": "
|
|
852
|
+
"name": "readonly",
|
|
823
853
|
"type": {
|
|
824
|
-
"text": "
|
|
854
|
+
"text": "boolean"
|
|
855
|
+
},
|
|
856
|
+
"inheritedFrom": {
|
|
857
|
+
"name": "EntityManagement",
|
|
858
|
+
"module": "src/entities/entities.ts"
|
|
825
859
|
}
|
|
826
860
|
},
|
|
827
861
|
{
|
|
828
862
|
"kind": "field",
|
|
829
|
-
"name": "
|
|
863
|
+
"name": "columns",
|
|
830
864
|
"type": {
|
|
831
|
-
"text": "
|
|
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"
|
|
832
872
|
}
|
|
833
873
|
},
|
|
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
|
-
},
|
|
869
874
|
{
|
|
870
875
|
"kind": "field",
|
|
871
|
-
"name": "
|
|
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",
|
|
876
|
+
"name": "datasourceConfig",
|
|
887
877
|
"type": {
|
|
888
|
-
"text": "
|
|
878
|
+
"text": "DatasourceConfiguration"
|
|
889
879
|
},
|
|
890
|
-
"
|
|
891
|
-
"
|
|
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
|
+
}
|
|
892
886
|
},
|
|
893
887
|
{
|
|
894
|
-
"
|
|
888
|
+
"kind": "field",
|
|
889
|
+
"name": "formUiSchema",
|
|
895
890
|
"type": {
|
|
896
|
-
"text": "
|
|
891
|
+
"text": "any"
|
|
897
892
|
},
|
|
898
|
-
"
|
|
899
|
-
|
|
893
|
+
"inheritedFrom": {
|
|
894
|
+
"name": "EntityManagement",
|
|
895
|
+
"module": "src/entities/entities.ts"
|
|
896
|
+
}
|
|
900
897
|
},
|
|
901
898
|
{
|
|
902
|
-
"
|
|
899
|
+
"kind": "field",
|
|
900
|
+
"name": "selectedEntity",
|
|
903
901
|
"type": {
|
|
904
|
-
"text": "
|
|
902
|
+
"text": "any"
|
|
905
903
|
},
|
|
906
|
-
"
|
|
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
|
+
}
|
|
907
910
|
},
|
|
908
911
|
{
|
|
909
|
-
"
|
|
912
|
+
"kind": "field",
|
|
913
|
+
"name": "editedEntity",
|
|
910
914
|
"type": {
|
|
911
|
-
"text": "
|
|
915
|
+
"text": "any"
|
|
912
916
|
},
|
|
913
|
-
"
|
|
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
|
+
}
|
|
914
923
|
},
|
|
915
924
|
{
|
|
916
|
-
"
|
|
925
|
+
"kind": "field",
|
|
926
|
+
"name": "submitting",
|
|
917
927
|
"type": {
|
|
918
928
|
"text": "boolean"
|
|
919
929
|
},
|
|
920
|
-
"
|
|
930
|
+
"inheritedFrom": {
|
|
931
|
+
"name": "EntityManagement",
|
|
932
|
+
"module": "src/entities/entities.ts"
|
|
933
|
+
}
|
|
921
934
|
},
|
|
922
|
-
{
|
|
923
|
-
"name": "enable-cell-flashing",
|
|
924
|
-
"type": {
|
|
925
|
-
"text": "boolean"
|
|
926
|
-
},
|
|
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
935
|
{
|
|
1017
936
|
"kind": "field",
|
|
1018
|
-
"name": "
|
|
937
|
+
"name": "editDialogTitle",
|
|
1019
938
|
"type": {
|
|
1020
|
-
"text": "
|
|
939
|
+
"text": "string"
|
|
940
|
+
},
|
|
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"
|
|
1021
945
|
}
|
|
1022
946
|
},
|
|
1023
947
|
{
|
|
1024
948
|
"kind": "field",
|
|
1025
|
-
"name": "
|
|
949
|
+
"name": "editModalVisible",
|
|
1026
950
|
"type": {
|
|
1027
|
-
"text": "
|
|
951
|
+
"text": "boolean"
|
|
952
|
+
},
|
|
953
|
+
"default": "false",
|
|
954
|
+
"inheritedFrom": {
|
|
955
|
+
"name": "EntityManagement",
|
|
956
|
+
"module": "src/entities/entities.ts"
|
|
1028
957
|
}
|
|
1029
958
|
},
|
|
1030
959
|
{
|
|
1031
|
-
"kind": "
|
|
1032
|
-
"name": "
|
|
1033
|
-
"
|
|
1034
|
-
"
|
|
960
|
+
"kind": "method",
|
|
961
|
+
"name": "editModalVisibleChanged",
|
|
962
|
+
"inheritedFrom": {
|
|
963
|
+
"name": "EntityManagement",
|
|
964
|
+
"module": "src/entities/entities.ts"
|
|
1035
965
|
}
|
|
1036
966
|
},
|
|
1037
967
|
{
|
|
1038
968
|
"kind": "field",
|
|
1039
|
-
"name": "
|
|
969
|
+
"name": "editEntityModal",
|
|
1040
970
|
"type": {
|
|
1041
|
-
"text": "
|
|
971
|
+
"text": "any"
|
|
972
|
+
},
|
|
973
|
+
"privacy": "public",
|
|
974
|
+
"inheritedFrom": {
|
|
975
|
+
"name": "EntityManagement",
|
|
976
|
+
"module": "src/entities/entities.ts"
|
|
1042
977
|
}
|
|
1043
978
|
},
|
|
1044
979
|
{
|
|
1045
980
|
"kind": "field",
|
|
1046
|
-
"name": "
|
|
981
|
+
"name": "sizeColumnsToFit",
|
|
1047
982
|
"type": {
|
|
1048
|
-
"text": "
|
|
983
|
+
"text": "boolean"
|
|
984
|
+
},
|
|
985
|
+
"inheritedFrom": {
|
|
986
|
+
"name": "EntityManagement",
|
|
987
|
+
"module": "src/entities/entities.ts"
|
|
1049
988
|
}
|
|
1050
989
|
},
|
|
1051
990
|
{
|
|
1052
991
|
"kind": "field",
|
|
1053
|
-
"name": "
|
|
992
|
+
"name": "enableFilterBar",
|
|
1054
993
|
"type": {
|
|
1055
994
|
"text": "boolean"
|
|
1056
995
|
},
|
|
1057
|
-
"
|
|
996
|
+
"inheritedFrom": {
|
|
997
|
+
"name": "EntityManagement",
|
|
998
|
+
"module": "src/entities/entities.ts"
|
|
999
|
+
}
|
|
1058
1000
|
},
|
|
1059
1001
|
{
|
|
1060
1002
|
"kind": "field",
|
|
1061
|
-
"name": "
|
|
1003
|
+
"name": "enableCellFlashing",
|
|
1062
1004
|
"type": {
|
|
1063
|
-
"text": "
|
|
1005
|
+
"text": "boolean"
|
|
1064
1006
|
},
|
|
1065
|
-
"
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
"name": "onLuminanceToggle"
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
"kind": "method",
|
|
1073
|
-
"name": "loadRemotes"
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
"kind": "method",
|
|
1077
|
-
"name": "selectTemplate"
|
|
1007
|
+
"inheritedFrom": {
|
|
1008
|
+
"name": "EntityManagement",
|
|
1009
|
+
"module": "src/entities/entities.ts"
|
|
1010
|
+
}
|
|
1078
1011
|
},
|
|
1079
1012
|
{
|
|
1080
1013
|
"kind": "method",
|
|
1081
|
-
"name": "
|
|
1082
|
-
"
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
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": [
|
|
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
|
+
}
|
|
1026
|
+
},
|
|
1143
1027
|
{
|
|
1144
1028
|
"kind": "method",
|
|
1145
|
-
"name": "
|
|
1029
|
+
"name": "submitEntityChanges",
|
|
1146
1030
|
"privacy": "public",
|
|
1147
1031
|
"parameters": [
|
|
1148
1032
|
{
|
|
1149
|
-
"name": "
|
|
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"
|
|
1150
1038
|
}
|
|
1151
|
-
]
|
|
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
|
+
}
|
|
1152
1045
|
},
|
|
1153
1046
|
{
|
|
1154
1047
|
"kind": "method",
|
|
1155
|
-
"name": "
|
|
1048
|
+
"name": "readEntity",
|
|
1049
|
+
"privacy": "private",
|
|
1050
|
+
"parameters": [
|
|
1051
|
+
{
|
|
1052
|
+
"name": "e",
|
|
1053
|
+
"type": {
|
|
1054
|
+
"text": "CustomEvent"
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
],
|
|
1156
1058
|
"inheritedFrom": {
|
|
1157
1059
|
"name": "EntityManagement",
|
|
1158
1060
|
"module": "src/entities/entities.ts"
|
|
1159
1061
|
}
|
|
1160
1062
|
},
|
|
1161
1063
|
{
|
|
1162
|
-
"kind": "
|
|
1163
|
-
"name": "
|
|
1064
|
+
"kind": "method",
|
|
1065
|
+
"name": "closeModal",
|
|
1066
|
+
"privacy": "public",
|
|
1067
|
+
"inheritedFrom": {
|
|
1068
|
+
"name": "EntityManagement",
|
|
1069
|
+
"module": "src/entities/entities.ts"
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
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",
|
|
1164
1091
|
"type": {
|
|
1165
1092
|
"text": "string"
|
|
1166
1093
|
},
|
|
1167
|
-
"description": "Name of the
|
|
1168
|
-
"
|
|
1094
|
+
"description": "Name of the backend resource which contain the entities to manage",
|
|
1095
|
+
"fieldName": "resourceName",
|
|
1169
1096
|
"inheritedFrom": {
|
|
1170
1097
|
"name": "EntityManagement",
|
|
1171
1098
|
"module": "src/entities/entities.ts"
|
|
1172
1099
|
}
|
|
1173
1100
|
},
|
|
1174
1101
|
{
|
|
1175
|
-
"
|
|
1176
|
-
"name": "deleteEvent",
|
|
1102
|
+
"name": "readEvent",
|
|
1177
1103
|
"type": {
|
|
1178
1104
|
"text": "string"
|
|
1179
1105
|
},
|
|
1180
|
-
"
|
|
1181
|
-
"
|
|
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",
|
|
1182
1117
|
"inheritedFrom": {
|
|
1183
1118
|
"name": "EntityManagement",
|
|
1184
1119
|
"module": "src/entities/entities.ts"
|
|
1185
1120
|
}
|
|
1186
1121
|
},
|
|
1187
1122
|
{
|
|
1188
|
-
"kind": "field",
|
|
1189
1123
|
"name": "updateEvent",
|
|
1190
1124
|
"type": {
|
|
1191
1125
|
"text": "string"
|
|
1192
1126
|
},
|
|
1193
1127
|
"description": "Name of the event handler on the Genesis server which handles updating the entity",
|
|
1194
|
-
"
|
|
1128
|
+
"fieldName": "updateEvent",
|
|
1195
1129
|
"inheritedFrom": {
|
|
1196
1130
|
"name": "EntityManagement",
|
|
1197
1131
|
"module": "src/entities/entities.ts"
|
|
1198
1132
|
}
|
|
1199
1133
|
},
|
|
1200
1134
|
{
|
|
1201
|
-
"
|
|
1202
|
-
"name": "persistColumnStateKey",
|
|
1135
|
+
"name": "deleteEvent",
|
|
1203
1136
|
"type": {
|
|
1204
1137
|
"text": "string"
|
|
1205
1138
|
},
|
|
1206
|
-
"description": "
|
|
1207
|
-
"
|
|
1208
|
-
"default": "'entity_profiles_management'",
|
|
1139
|
+
"description": "Name of the event handler on the Genesis server which handles deleting the entity",
|
|
1140
|
+
"fieldName": "deleteEvent",
|
|
1209
1141
|
"inheritedFrom": {
|
|
1210
1142
|
"name": "EntityManagement",
|
|
1211
1143
|
"module": "src/entities/entities.ts"
|
|
1212
1144
|
}
|
|
1213
1145
|
},
|
|
1214
1146
|
{
|
|
1215
|
-
"
|
|
1216
|
-
"name": "updateFormUiSchema",
|
|
1147
|
+
"name": "createEvent",
|
|
1217
1148
|
"type": {
|
|
1218
|
-
"text": "
|
|
1149
|
+
"text": "string"
|
|
1219
1150
|
},
|
|
1220
|
-
"
|
|
1151
|
+
"description": "Name of the event handler on the Genesis server which handles creating an entity",
|
|
1152
|
+
"fieldName": "createEvent",
|
|
1221
1153
|
"inheritedFrom": {
|
|
1222
1154
|
"name": "EntityManagement",
|
|
1223
1155
|
"module": "src/entities/entities.ts"
|
|
1224
1156
|
}
|
|
1225
1157
|
},
|
|
1226
1158
|
{
|
|
1227
|
-
"
|
|
1228
|
-
"name": "createFormUiSchema",
|
|
1159
|
+
"name": "title",
|
|
1229
1160
|
"type": {
|
|
1230
|
-
"text": "
|
|
1161
|
+
"text": "string"
|
|
1231
1162
|
},
|
|
1232
|
-
"
|
|
1163
|
+
"description": "Title of the grid",
|
|
1164
|
+
"fieldName": "title",
|
|
1233
1165
|
"inheritedFrom": {
|
|
1234
1166
|
"name": "EntityManagement",
|
|
1235
1167
|
"module": "src/entities/entities.ts"
|
|
1236
1168
|
}
|
|
1237
1169
|
},
|
|
1238
1170
|
{
|
|
1239
|
-
"
|
|
1240
|
-
"name": "readEventFn",
|
|
1171
|
+
"name": "entityLabel",
|
|
1241
1172
|
"type": {
|
|
1242
|
-
"text": "
|
|
1173
|
+
"text": "string"
|
|
1243
1174
|
},
|
|
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",
|
|
1244
1178
|
"inheritedFrom": {
|
|
1245
1179
|
"name": "EntityManagement",
|
|
1246
1180
|
"module": "src/entities/entities.ts"
|
|
1247
1181
|
}
|
|
1248
1182
|
},
|
|
1249
1183
|
{
|
|
1250
|
-
"
|
|
1251
|
-
"name": "resourceName",
|
|
1184
|
+
"name": "persist-column-state-key",
|
|
1252
1185
|
"type": {
|
|
1253
1186
|
"text": "string"
|
|
1254
1187
|
},
|
|
1255
|
-
"description": "
|
|
1256
|
-
"
|
|
1257
|
-
"default": "'ALL_PROFILES'",
|
|
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",
|
|
1258
1190
|
"inheritedFrom": {
|
|
1259
1191
|
"name": "EntityManagement",
|
|
1260
1192
|
"module": "src/entities/entities.ts"
|
|
1261
1193
|
}
|
|
1262
1194
|
},
|
|
1263
1195
|
{
|
|
1264
|
-
"
|
|
1265
|
-
"name": "title",
|
|
1196
|
+
"name": "size-columns-to-fit",
|
|
1266
1197
|
"type": {
|
|
1267
|
-
"text": "
|
|
1198
|
+
"text": "boolean"
|
|
1268
1199
|
},
|
|
1269
|
-
"
|
|
1270
|
-
"privacy": "public",
|
|
1271
|
-
"default": "'Profile Management'",
|
|
1200
|
+
"fieldName": "sizeColumnsToFit",
|
|
1272
1201
|
"inheritedFrom": {
|
|
1273
1202
|
"name": "EntityManagement",
|
|
1274
1203
|
"module": "src/entities/entities.ts"
|
|
1275
1204
|
}
|
|
1276
1205
|
},
|
|
1277
1206
|
{
|
|
1278
|
-
"
|
|
1279
|
-
"name": "entityLabel",
|
|
1207
|
+
"name": "enable-filter-bar",
|
|
1280
1208
|
"type": {
|
|
1281
|
-
"text": "
|
|
1209
|
+
"text": "boolean"
|
|
1282
1210
|
},
|
|
1283
|
-
"
|
|
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",
|
|
1211
|
+
"fieldName": "enableFilterBar",
|
|
1286
1212
|
"inheritedFrom": {
|
|
1287
1213
|
"name": "EntityManagement",
|
|
1288
1214
|
"module": "src/entities/entities.ts"
|
|
1289
1215
|
}
|
|
1290
1216
|
},
|
|
1291
1217
|
{
|
|
1292
|
-
"
|
|
1293
|
-
"name": "connect",
|
|
1218
|
+
"name": "enable-cell-flashing",
|
|
1294
1219
|
"type": {
|
|
1295
|
-
"text": "
|
|
1220
|
+
"text": "boolean"
|
|
1296
1221
|
},
|
|
1297
|
-
"
|
|
1298
|
-
"description": "DI connect object which is used to interact with the backend.",
|
|
1222
|
+
"fieldName": "enableCellFlashing",
|
|
1299
1223
|
"inheritedFrom": {
|
|
1300
1224
|
"name": "EntityManagement",
|
|
1301
1225
|
"module": "src/entities/entities.ts"
|
|
1302
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"
|
|
1303
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": [
|
|
1304
1336
|
{
|
|
1305
1337
|
"kind": "field",
|
|
1306
|
-
"name": "
|
|
1338
|
+
"name": "resourceName",
|
|
1307
1339
|
"type": {
|
|
1308
1340
|
"text": "string"
|
|
1309
1341
|
},
|
|
1310
|
-
"
|
|
1311
|
-
"name": "EntityManagement",
|
|
1312
|
-
"module": "src/entities/entities.ts"
|
|
1313
|
-
}
|
|
1342
|
+
"default": "''"
|
|
1314
1343
|
},
|
|
1315
1344
|
{
|
|
1316
1345
|
"kind": "field",
|
|
1317
|
-
"name": "
|
|
1346
|
+
"name": "title",
|
|
1318
1347
|
"type": {
|
|
1319
|
-
"text": "
|
|
1348
|
+
"text": "string"
|
|
1320
1349
|
},
|
|
1321
|
-
"
|
|
1322
|
-
"name": "EntityManagement",
|
|
1323
|
-
"module": "src/entities/entities.ts"
|
|
1324
|
-
}
|
|
1350
|
+
"default": "''"
|
|
1325
1351
|
},
|
|
1326
1352
|
{
|
|
1327
1353
|
"kind": "field",
|
|
1328
|
-
"name": "
|
|
1354
|
+
"name": "persistColumnStateKey",
|
|
1329
1355
|
"type": {
|
|
1330
|
-
"text": "
|
|
1331
|
-
},
|
|
1332
|
-
"description": "Array which holds the column definitions.",
|
|
1333
|
-
"privacy": "public",
|
|
1334
|
-
"inheritedFrom": {
|
|
1335
|
-
"name": "EntityManagement",
|
|
1336
|
-
"module": "src/entities/entities.ts"
|
|
1356
|
+
"text": "string"
|
|
1337
1357
|
}
|
|
1338
1358
|
},
|
|
1339
1359
|
{
|
|
1340
1360
|
"kind": "field",
|
|
1341
|
-
"name": "
|
|
1361
|
+
"name": "sizeColumnsToFit",
|
|
1342
1362
|
"type": {
|
|
1343
|
-
"text": "
|
|
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"
|
|
1363
|
+
"text": "boolean"
|
|
1350
1364
|
}
|
|
1351
1365
|
},
|
|
1352
1366
|
{
|
|
1353
1367
|
"kind": "field",
|
|
1354
|
-
"name": "
|
|
1368
|
+
"name": "enableFilterBar",
|
|
1355
1369
|
"type": {
|
|
1356
|
-
"text": "
|
|
1357
|
-
},
|
|
1358
|
-
"inheritedFrom": {
|
|
1359
|
-
"name": "EntityManagement",
|
|
1360
|
-
"module": "src/entities/entities.ts"
|
|
1370
|
+
"text": "boolean"
|
|
1361
1371
|
}
|
|
1362
1372
|
},
|
|
1363
1373
|
{
|
|
1364
1374
|
"kind": "field",
|
|
1365
|
-
"name": "
|
|
1375
|
+
"name": "enableCellFlashing",
|
|
1366
1376
|
"type": {
|
|
1367
|
-
"text": "
|
|
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"
|
|
1377
|
+
"text": "boolean"
|
|
1374
1378
|
}
|
|
1375
1379
|
},
|
|
1376
1380
|
{
|
|
1377
1381
|
"kind": "field",
|
|
1378
|
-
"name": "
|
|
1382
|
+
"name": "grid",
|
|
1379
1383
|
"type": {
|
|
1380
|
-
"text": "
|
|
1384
|
+
"text": "ZeroGridPro"
|
|
1381
1385
|
},
|
|
1382
|
-
"
|
|
1383
|
-
"privacy": "public",
|
|
1384
|
-
"inheritedFrom": {
|
|
1385
|
-
"name": "EntityManagement",
|
|
1386
|
-
"module": "src/entities/entities.ts"
|
|
1387
|
-
}
|
|
1386
|
+
"privacy": "public"
|
|
1388
1387
|
},
|
|
1389
1388
|
{
|
|
1390
1389
|
"kind": "field",
|
|
1391
|
-
"name": "
|
|
1390
|
+
"name": "datasource",
|
|
1392
1391
|
"type": {
|
|
1393
|
-
"text": "
|
|
1392
|
+
"text": "GridProGenesisDatasource"
|
|
1394
1393
|
},
|
|
1395
|
-
"
|
|
1396
|
-
"name": "EntityManagement",
|
|
1397
|
-
"module": "src/entities/entities.ts"
|
|
1398
|
-
}
|
|
1394
|
+
"privacy": "public"
|
|
1399
1395
|
},
|
|
1400
1396
|
{
|
|
1401
1397
|
"kind": "field",
|
|
1402
|
-
"name": "
|
|
1398
|
+
"name": "columns",
|
|
1403
1399
|
"type": {
|
|
1404
|
-
"text": "
|
|
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"
|
|
1400
|
+
"text": "ColDef[]"
|
|
1410
1401
|
}
|
|
1411
1402
|
},
|
|
1412
1403
|
{
|
|
1413
1404
|
"kind": "field",
|
|
1414
|
-
"name": "
|
|
1405
|
+
"name": "datasourceConfig",
|
|
1415
1406
|
"type": {
|
|
1416
|
-
"text": "
|
|
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"
|
|
1407
|
+
"text": "DatasourceConfiguration"
|
|
1430
1408
|
}
|
|
1431
1409
|
},
|
|
1432
1410
|
{
|
|
1433
1411
|
"kind": "field",
|
|
1434
|
-
"name": "
|
|
1412
|
+
"name": "actionButtonsConfig",
|
|
1435
1413
|
"type": {
|
|
1436
|
-
"text": "
|
|
1414
|
+
"text": "array"
|
|
1437
1415
|
},
|
|
1438
|
-
"
|
|
1439
|
-
"inheritedFrom": {
|
|
1440
|
-
"name": "EntityManagement",
|
|
1441
|
-
"module": "src/entities/entities.ts"
|
|
1442
|
-
}
|
|
1416
|
+
"default": "[]"
|
|
1443
1417
|
},
|
|
1444
1418
|
{
|
|
1445
1419
|
"kind": "field",
|
|
1446
|
-
"name": "
|
|
1420
|
+
"name": "createEvent",
|
|
1447
1421
|
"type": {
|
|
1448
|
-
"text": "
|
|
1449
|
-
},
|
|
1450
|
-
"inheritedFrom": {
|
|
1451
|
-
"name": "EntityManagement",
|
|
1452
|
-
"module": "src/entities/entities.ts"
|
|
1422
|
+
"text": "string"
|
|
1453
1423
|
}
|
|
1454
1424
|
},
|
|
1455
1425
|
{
|
|
1456
1426
|
"kind": "field",
|
|
1457
|
-
"name": "
|
|
1427
|
+
"name": "deleteEvent",
|
|
1458
1428
|
"type": {
|
|
1459
|
-
"text": "
|
|
1460
|
-
},
|
|
1461
|
-
"inheritedFrom": {
|
|
1462
|
-
"name": "EntityManagement",
|
|
1463
|
-
"module": "src/entities/entities.ts"
|
|
1429
|
+
"text": "string"
|
|
1464
1430
|
}
|
|
1465
1431
|
},
|
|
1466
1432
|
{
|
|
1467
1433
|
"kind": "field",
|
|
1468
|
-
"name": "
|
|
1434
|
+
"name": "updateEvent",
|
|
1469
1435
|
"type": {
|
|
1470
|
-
"text": "
|
|
1471
|
-
},
|
|
1472
|
-
"inheritedFrom": {
|
|
1473
|
-
"name": "EntityManagement",
|
|
1474
|
-
"module": "src/entities/entities.ts"
|
|
1475
|
-
}
|
|
1476
|
-
},
|
|
1477
|
-
{
|
|
1478
|
-
"kind": "method",
|
|
1479
|
-
"name": "deepClone",
|
|
1480
|
-
"return": {
|
|
1481
|
-
"type": {
|
|
1482
|
-
"text": "Node"
|
|
1483
|
-
}
|
|
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"
|
|
1436
|
+
"text": "string"
|
|
1490
1437
|
}
|
|
1491
1438
|
},
|
|
1492
1439
|
{
|
|
1493
1440
|
"kind": "method",
|
|
1494
|
-
"name": "
|
|
1495
|
-
"privacy": "
|
|
1441
|
+
"name": "handleFilterChanged",
|
|
1442
|
+
"privacy": "private",
|
|
1496
1443
|
"parameters": [
|
|
1497
1444
|
{
|
|
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"
|
|
1445
|
+
"name": "e"
|
|
1503
1446
|
}
|
|
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
|
-
}
|
|
1447
|
+
]
|
|
1510
1448
|
},
|
|
1511
1449
|
{
|
|
1512
1450
|
"kind": "method",
|
|
1513
|
-
"name": "
|
|
1451
|
+
"name": "handleFilterCleared",
|
|
1514
1452
|
"privacy": "private",
|
|
1515
1453
|
"parameters": [
|
|
1516
1454
|
{
|
|
1517
|
-
"name": "e"
|
|
1518
|
-
"type": {
|
|
1519
|
-
"text": "CustomEvent"
|
|
1520
|
-
}
|
|
1455
|
+
"name": "e"
|
|
1521
1456
|
}
|
|
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
|
-
}
|
|
1457
|
+
]
|
|
1536
1458
|
},
|
|
1537
1459
|
{
|
|
1538
1460
|
"kind": "method",
|
|
1539
|
-
"name": "
|
|
1461
|
+
"name": "select",
|
|
1540
1462
|
"privacy": "private",
|
|
1541
|
-
"
|
|
1542
|
-
|
|
1543
|
-
|
|
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
|
-
}
|
|
1463
|
+
"parameters": [
|
|
1464
|
+
{
|
|
1465
|
+
"name": "e"
|
|
1466
|
+
}
|
|
1467
|
+
]
|
|
1598
1468
|
},
|
|
1599
1469
|
{
|
|
1600
|
-
"
|
|
1601
|
-
"
|
|
1602
|
-
|
|
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
|
-
}
|
|
1470
|
+
"kind": "method",
|
|
1471
|
+
"name": "create",
|
|
1472
|
+
"privacy": "public"
|
|
1610
1473
|
},
|
|
1611
1474
|
{
|
|
1612
|
-
"
|
|
1613
|
-
"
|
|
1614
|
-
|
|
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
|
-
}
|
|
1475
|
+
"kind": "field",
|
|
1476
|
+
"name": "edit",
|
|
1477
|
+
"privacy": "private"
|
|
1622
1478
|
},
|
|
1623
1479
|
{
|
|
1624
|
-
"
|
|
1480
|
+
"kind": "method",
|
|
1481
|
+
"name": "delete",
|
|
1482
|
+
"parameters": [
|
|
1483
|
+
{
|
|
1484
|
+
"name": "e"
|
|
1485
|
+
}
|
|
1486
|
+
]
|
|
1487
|
+
}
|
|
1488
|
+
],
|
|
1489
|
+
"attributes": [
|
|
1490
|
+
{
|
|
1491
|
+
"name": "resourceName",
|
|
1625
1492
|
"type": {
|
|
1626
1493
|
"text": "string"
|
|
1627
1494
|
},
|
|
1628
|
-
"
|
|
1629
|
-
"fieldName": "
|
|
1630
|
-
"inheritedFrom": {
|
|
1631
|
-
"name": "EntityManagement",
|
|
1632
|
-
"module": "src/entities/entities.ts"
|
|
1633
|
-
}
|
|
1495
|
+
"default": "''",
|
|
1496
|
+
"fieldName": "resourceName"
|
|
1634
1497
|
},
|
|
1635
1498
|
{
|
|
1636
|
-
"name": "
|
|
1499
|
+
"name": "title",
|
|
1637
1500
|
"type": {
|
|
1638
1501
|
"text": "string"
|
|
1639
1502
|
},
|
|
1640
1503
|
"default": "''",
|
|
1641
|
-
"
|
|
1642
|
-
"fieldName": "entityLabel",
|
|
1643
|
-
"inheritedFrom": {
|
|
1644
|
-
"name": "EntityManagement",
|
|
1645
|
-
"module": "src/entities/entities.ts"
|
|
1646
|
-
}
|
|
1504
|
+
"fieldName": "title"
|
|
1647
1505
|
},
|
|
1648
1506
|
{
|
|
1649
1507
|
"name": "persist-column-state-key",
|
|
1650
1508
|
"type": {
|
|
1651
1509
|
"text": "string"
|
|
1652
1510
|
},
|
|
1653
|
-
"
|
|
1654
|
-
"fieldName": "persistColumnStateKey",
|
|
1655
|
-
"inheritedFrom": {
|
|
1656
|
-
"name": "EntityManagement",
|
|
1657
|
-
"module": "src/entities/entities.ts"
|
|
1658
|
-
}
|
|
1511
|
+
"fieldName": "persistColumnStateKey"
|
|
1659
1512
|
},
|
|
1660
1513
|
{
|
|
1661
1514
|
"name": "size-columns-to-fit",
|
|
1662
1515
|
"type": {
|
|
1663
1516
|
"text": "boolean"
|
|
1664
1517
|
},
|
|
1665
|
-
"fieldName": "sizeColumnsToFit"
|
|
1666
|
-
"inheritedFrom": {
|
|
1667
|
-
"name": "EntityManagement",
|
|
1668
|
-
"module": "src/entities/entities.ts"
|
|
1669
|
-
}
|
|
1518
|
+
"fieldName": "sizeColumnsToFit"
|
|
1670
1519
|
},
|
|
1671
1520
|
{
|
|
1672
1521
|
"name": "enable-filter-bar",
|
|
1673
1522
|
"type": {
|
|
1674
1523
|
"text": "boolean"
|
|
1675
1524
|
},
|
|
1676
|
-
"fieldName": "enableFilterBar"
|
|
1677
|
-
"inheritedFrom": {
|
|
1678
|
-
"name": "EntityManagement",
|
|
1679
|
-
"module": "src/entities/entities.ts"
|
|
1680
|
-
}
|
|
1525
|
+
"fieldName": "enableFilterBar"
|
|
1681
1526
|
},
|
|
1682
1527
|
{
|
|
1683
1528
|
"name": "enable-cell-flashing",
|
|
1684
1529
|
"type": {
|
|
1685
1530
|
"text": "boolean"
|
|
1686
1531
|
},
|
|
1687
|
-
"fieldName": "enableCellFlashing"
|
|
1688
|
-
"inheritedFrom": {
|
|
1689
|
-
"name": "EntityManagement",
|
|
1690
|
-
"module": "src/entities/entities.ts"
|
|
1691
|
-
}
|
|
1532
|
+
"fieldName": "enableCellFlashing"
|
|
1692
1533
|
}
|
|
1693
|
-
]
|
|
1534
|
+
],
|
|
1535
|
+
"superclass": {
|
|
1536
|
+
"name": "FASTElement",
|
|
1537
|
+
"package": "@microsoft/fast-element"
|
|
1538
|
+
},
|
|
1539
|
+
"tagName": "entity-list",
|
|
1540
|
+
"customElement": true
|
|
1694
1541
|
}
|
|
1695
1542
|
],
|
|
1696
1543
|
"exports": [
|
|
1697
1544
|
{
|
|
1698
1545
|
"kind": "js",
|
|
1699
|
-
"name": "
|
|
1546
|
+
"name": "List",
|
|
1700
1547
|
"declaration": {
|
|
1701
|
-
"name": "
|
|
1702
|
-
"module": "src/
|
|
1548
|
+
"name": "List",
|
|
1549
|
+
"module": "src/list/list.ts"
|
|
1703
1550
|
}
|
|
1704
1551
|
},
|
|
1705
1552
|
{
|
|
1706
1553
|
"kind": "custom-element-definition",
|
|
1707
|
-
"name": "
|
|
1554
|
+
"name": "entity-list",
|
|
1708
1555
|
"declaration": {
|
|
1709
|
-
"name": "
|
|
1710
|
-
"module": "src/
|
|
1556
|
+
"name": "List",
|
|
1557
|
+
"module": "src/list/list.ts"
|
|
1711
1558
|
}
|
|
1712
1559
|
}
|
|
1713
1560
|
]
|
|
@@ -1733,6 +1580,159 @@
|
|
|
1733
1580
|
}
|
|
1734
1581
|
]
|
|
1735
1582
|
},
|
|
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",
|