@genesislcap/foundation-entity-management 14.200.1-alpha-599cb19.0 → 14.201.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 +514 -262
- package/dist/dts/entities/entities.d.ts +66 -36
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/entities/entities.styles.d.ts.map +1 -1
- package/dist/dts/entities/entities.template.d.ts +10 -0
- package/dist/dts/entities/entities.template.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts +0 -1
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/dts/list/list.template.d.ts.map +1 -1
- package/dist/dts/types.d.ts +12 -0
- package/dist/dts/types.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +111 -10
- package/dist/esm/entities/entities.styles.js +13 -2
- package/dist/esm/entities/entities.template.js +68 -17
- package/dist/esm/list/list.js +0 -4
- package/dist/esm/list/list.template.js +0 -1
- package/dist/esm/types.js +14 -0
- package/dist/foundation-entity-management.api.json +308 -0
- package/dist/foundation-entity-management.d.ts +79 -36
- package/docs/api/foundation-entity-management.entitymanagement.crudactionmenuname.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.crudmenuposition.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.crudmenustyle.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.crudmenuwrapper.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.emitcrud.md +24 -0
- package/docs/api/foundation-entity-management.entitymanagement.hascontentinslot.md +26 -0
- package/docs/api/foundation-entity-management.entitymanagement.hasselectedentity.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.md +9 -0
- package/docs/api/foundation-entity-management.entitymanagement.shouldhidedeleteincolumn.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.shouldhideeditincolumn.md +13 -0
- package/docs/api-report.md +13 -2
- package/package.json +21 -21
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
{
|
|
130
130
|
"kind": "variable",
|
|
131
131
|
"name": "styles",
|
|
132
|
-
"default": "css`\n :host {\n contain: content;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n user-select: none;\n }\n\n :host([modal-position='centre']) .edit-modal {\n overflow-y: auto;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n .header-title {\n color: var(--neutral-foreground-rest);\n font-size: var(--type-ramp-plus-4-font-size);\n font-family: var(--body-font);\n font-weight: 700;\n padding-left: calc(var(--design-unit) * 2px);\n }\n\n .search-container {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .search-container zero-search-bar,\n .search-container rapid-search-bar {\n width: 500px;\n }\n\n .
|
|
132
|
+
"default": "css`\n :host {\n contain: content;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n user-select: none;\n }\n\n :host([modal-position='centre']) .edit-modal {\n overflow-y: auto;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n .header-title {\n color: var(--neutral-foreground-rest);\n font-size: var(--type-ramp-plus-4-font-size);\n font-family: var(--body-font);\n font-weight: 700;\n padding-left: calc(var(--design-unit) * 2px);\n }\n\n .search-container {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .search-container zero-search-bar,\n .search-container rapid-search-bar {\n width: 500px;\n }\n\n .crud-buttons {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .crud-buttons-wrapper {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n justify-content: flex-end;\n }\n\n .crud-buttons-wrapper-bottom {\n padding-top: calc(var(--design-unit) * 2px);\n }\n`",
|
|
133
133
|
"description": "Defines the css of the entity component as an ElementStyles object"
|
|
134
134
|
}
|
|
135
135
|
],
|
|
@@ -148,6 +148,22 @@
|
|
|
148
148
|
"kind": "javascript-module",
|
|
149
149
|
"path": "src/entities/entities.template.ts",
|
|
150
150
|
"declarations": [
|
|
151
|
+
{
|
|
152
|
+
"kind": "function",
|
|
153
|
+
"name": "crudButtonsTemplate",
|
|
154
|
+
"parameters": [
|
|
155
|
+
{
|
|
156
|
+
"name": "prefix"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "position",
|
|
160
|
+
"type": {
|
|
161
|
+
"text": "CrudMenuPosition"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"description": "Default crud buttons for Entity Management screen"
|
|
166
|
+
},
|
|
151
167
|
{
|
|
152
168
|
"kind": "function",
|
|
153
169
|
"name": "getPrefixedEntities",
|
|
@@ -160,6 +176,14 @@
|
|
|
160
176
|
}
|
|
161
177
|
],
|
|
162
178
|
"exports": [
|
|
179
|
+
{
|
|
180
|
+
"kind": "js",
|
|
181
|
+
"name": "crudButtonsTemplate",
|
|
182
|
+
"declaration": {
|
|
183
|
+
"name": "crudButtonsTemplate",
|
|
184
|
+
"module": "src/entities/entities.template.ts"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
163
187
|
{
|
|
164
188
|
"kind": "js",
|
|
165
189
|
"name": "getPrefixedEntities",
|
|
@@ -353,15 +377,6 @@
|
|
|
353
377
|
"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.",
|
|
354
378
|
"privacy": "public"
|
|
355
379
|
},
|
|
356
|
-
{
|
|
357
|
-
"kind": "field",
|
|
358
|
-
"name": "blockScrollingOnContextMenu",
|
|
359
|
-
"type": {
|
|
360
|
-
"text": "boolean"
|
|
361
|
-
},
|
|
362
|
-
"default": "false",
|
|
363
|
-
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records"
|
|
364
|
-
},
|
|
365
380
|
{
|
|
366
381
|
"kind": "field",
|
|
367
382
|
"name": "gridOptions",
|
|
@@ -548,6 +563,86 @@
|
|
|
548
563
|
"description": "Determines where the modal dialog will appear on screen",
|
|
549
564
|
"privacy": "public"
|
|
550
565
|
},
|
|
566
|
+
{
|
|
567
|
+
"kind": "field",
|
|
568
|
+
"name": "crudMenuPosition",
|
|
569
|
+
"type": {
|
|
570
|
+
"text": "CrudMenuPosition"
|
|
571
|
+
},
|
|
572
|
+
"description": "Determines where the buttons will appear",
|
|
573
|
+
"privacy": "public"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"kind": "field",
|
|
577
|
+
"name": "crudMenuStyle",
|
|
578
|
+
"type": {
|
|
579
|
+
"text": "ActionsMenuStyle"
|
|
580
|
+
},
|
|
581
|
+
"description": "Determines the style of the buttons",
|
|
582
|
+
"privacy": "public"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"kind": "field",
|
|
586
|
+
"name": "crudActionMenuName",
|
|
587
|
+
"type": {
|
|
588
|
+
"text": "string"
|
|
589
|
+
},
|
|
590
|
+
"default": "'⋮'",
|
|
591
|
+
"description": "The label of the crud action menu"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"kind": "field",
|
|
595
|
+
"name": "crudMenuWrapper",
|
|
596
|
+
"privacy": "public",
|
|
597
|
+
"description": "The Id of the crud buttons wrapper element"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"kind": "field",
|
|
601
|
+
"name": "shouldHideEditInColumn",
|
|
602
|
+
"type": {
|
|
603
|
+
"text": "boolean"
|
|
604
|
+
},
|
|
605
|
+
"description": "Determines whether the button edit should be hidden in the column",
|
|
606
|
+
"readonly": true
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"kind": "field",
|
|
610
|
+
"name": "shouldHideDeleteInColumn",
|
|
611
|
+
"type": {
|
|
612
|
+
"text": "boolean"
|
|
613
|
+
},
|
|
614
|
+
"description": "Determines whether the button delete should be hidden in the column",
|
|
615
|
+
"readonly": true
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"kind": "field",
|
|
619
|
+
"name": "hasSelectedEntity",
|
|
620
|
+
"type": {
|
|
621
|
+
"text": "boolean"
|
|
622
|
+
},
|
|
623
|
+
"description": "Determines whether there is a selected entity",
|
|
624
|
+
"readonly": true
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"kind": "method",
|
|
628
|
+
"name": "hasContentInSlot",
|
|
629
|
+
"privacy": "public",
|
|
630
|
+
"return": {
|
|
631
|
+
"type": {
|
|
632
|
+
"text": ""
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
"parameters": [
|
|
636
|
+
{
|
|
637
|
+
"name": "slotName",
|
|
638
|
+
"type": {
|
|
639
|
+
"text": "string"
|
|
640
|
+
},
|
|
641
|
+
"description": "The name of the slot to check."
|
|
642
|
+
}
|
|
643
|
+
],
|
|
644
|
+
"description": "Checks if a slot contains any content."
|
|
645
|
+
},
|
|
551
646
|
{
|
|
552
647
|
"kind": "method",
|
|
553
648
|
"name": "deepClone",
|
|
@@ -689,6 +784,21 @@
|
|
|
689
784
|
"kind": "method",
|
|
690
785
|
"name": "showDeleteConfirmation",
|
|
691
786
|
"privacy": "private"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"kind": "method",
|
|
790
|
+
"name": "emitCrud",
|
|
791
|
+
"privacy": "public",
|
|
792
|
+
"parameters": [
|
|
793
|
+
{
|
|
794
|
+
"name": "action",
|
|
795
|
+
"type": {
|
|
796
|
+
"text": "'create' | 'edit' | 'delete'"
|
|
797
|
+
},
|
|
798
|
+
"description": "the action to emit"
|
|
799
|
+
}
|
|
800
|
+
],
|
|
801
|
+
"description": "Emit the CRUD event for the selected entity"
|
|
692
802
|
}
|
|
693
803
|
],
|
|
694
804
|
"attributes": [
|
|
@@ -834,15 +944,6 @@
|
|
|
834
944
|
"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.",
|
|
835
945
|
"fieldName": "persistColumnStateKey"
|
|
836
946
|
},
|
|
837
|
-
{
|
|
838
|
-
"name": "block-scrolling-on-context-menu",
|
|
839
|
-
"type": {
|
|
840
|
-
"text": "boolean"
|
|
841
|
-
},
|
|
842
|
-
"default": "false",
|
|
843
|
-
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
|
|
844
|
-
"fieldName": "blockScrollingOnContextMenu"
|
|
845
|
-
},
|
|
846
947
|
{
|
|
847
948
|
"name": "size-columns-to-fit",
|
|
848
949
|
"type": {
|
|
@@ -898,6 +999,31 @@
|
|
|
898
999
|
"default": "'right'",
|
|
899
1000
|
"description": "Determines where the modal dialog will appear on screen",
|
|
900
1001
|
"fieldName": "modalPosition"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"name": "crud-menu-position",
|
|
1005
|
+
"type": {
|
|
1006
|
+
"text": "CrudMenuPosition"
|
|
1007
|
+
},
|
|
1008
|
+
"description": "Determines where the buttons will appear",
|
|
1009
|
+
"fieldName": "crudMenuPosition"
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"name": "crud-menu-style",
|
|
1013
|
+
"type": {
|
|
1014
|
+
"text": "ActionsMenuStyle"
|
|
1015
|
+
},
|
|
1016
|
+
"description": "Determines the style of the buttons",
|
|
1017
|
+
"fieldName": "crudMenuStyle"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"name": "crud-action-menu-name",
|
|
1021
|
+
"type": {
|
|
1022
|
+
"text": "string"
|
|
1023
|
+
},
|
|
1024
|
+
"default": "'⋮'",
|
|
1025
|
+
"description": "The label of the crud action menu",
|
|
1026
|
+
"fieldName": "crudActionMenuName"
|
|
901
1027
|
}
|
|
902
1028
|
],
|
|
903
1029
|
"mixins": [
|
|
@@ -1013,151 +1139,6 @@
|
|
|
1013
1139
|
}
|
|
1014
1140
|
]
|
|
1015
1141
|
},
|
|
1016
|
-
{
|
|
1017
|
-
"kind": "javascript-module",
|
|
1018
|
-
"path": "src/main/index.ts",
|
|
1019
|
-
"declarations": [],
|
|
1020
|
-
"exports": [
|
|
1021
|
-
{
|
|
1022
|
-
"kind": "js",
|
|
1023
|
-
"name": "*",
|
|
1024
|
-
"declaration": {
|
|
1025
|
-
"name": "*",
|
|
1026
|
-
"package": "./main.template"
|
|
1027
|
-
}
|
|
1028
|
-
},
|
|
1029
|
-
{
|
|
1030
|
-
"kind": "js",
|
|
1031
|
-
"name": "*",
|
|
1032
|
-
"declaration": {
|
|
1033
|
-
"name": "*",
|
|
1034
|
-
"package": "./main"
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
]
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
"kind": "javascript-module",
|
|
1041
|
-
"path": "src/main/main.styles.ts",
|
|
1042
|
-
"declarations": [
|
|
1043
|
-
{
|
|
1044
|
-
"kind": "variable",
|
|
1045
|
-
"name": "MainStyles",
|
|
1046
|
-
"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`"
|
|
1047
|
-
}
|
|
1048
|
-
],
|
|
1049
|
-
"exports": [
|
|
1050
|
-
{
|
|
1051
|
-
"kind": "js",
|
|
1052
|
-
"name": "MainStyles",
|
|
1053
|
-
"declaration": {
|
|
1054
|
-
"name": "MainStyles",
|
|
1055
|
-
"module": "src/main/main.styles.ts"
|
|
1056
|
-
}
|
|
1057
|
-
}
|
|
1058
|
-
]
|
|
1059
|
-
},
|
|
1060
|
-
{
|
|
1061
|
-
"kind": "javascript-module",
|
|
1062
|
-
"path": "src/main/main.template.ts",
|
|
1063
|
-
"declarations": [],
|
|
1064
|
-
"exports": []
|
|
1065
|
-
},
|
|
1066
|
-
{
|
|
1067
|
-
"kind": "javascript-module",
|
|
1068
|
-
"path": "src/main/main.ts",
|
|
1069
|
-
"declarations": [
|
|
1070
|
-
{
|
|
1071
|
-
"kind": "class",
|
|
1072
|
-
"description": "",
|
|
1073
|
-
"name": "MainApplication",
|
|
1074
|
-
"members": [
|
|
1075
|
-
{
|
|
1076
|
-
"kind": "field",
|
|
1077
|
-
"name": "config",
|
|
1078
|
-
"type": {
|
|
1079
|
-
"text": "MainRouterConfig"
|
|
1080
|
-
}
|
|
1081
|
-
},
|
|
1082
|
-
{
|
|
1083
|
-
"kind": "field",
|
|
1084
|
-
"name": "connect",
|
|
1085
|
-
"type": {
|
|
1086
|
-
"text": "Connect"
|
|
1087
|
-
}
|
|
1088
|
-
},
|
|
1089
|
-
{
|
|
1090
|
-
"kind": "field",
|
|
1091
|
-
"name": "session",
|
|
1092
|
-
"type": {
|
|
1093
|
-
"text": "Session"
|
|
1094
|
-
}
|
|
1095
|
-
},
|
|
1096
|
-
{
|
|
1097
|
-
"kind": "field",
|
|
1098
|
-
"name": "container",
|
|
1099
|
-
"type": {
|
|
1100
|
-
"text": "Container"
|
|
1101
|
-
}
|
|
1102
|
-
},
|
|
1103
|
-
{
|
|
1104
|
-
"kind": "field",
|
|
1105
|
-
"name": "provider",
|
|
1106
|
-
"type": {
|
|
1107
|
-
"text": "HTMLElement"
|
|
1108
|
-
}
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
"kind": "field",
|
|
1112
|
-
"name": "ready",
|
|
1113
|
-
"type": {
|
|
1114
|
-
"text": "boolean"
|
|
1115
|
-
},
|
|
1116
|
-
"default": "false"
|
|
1117
|
-
},
|
|
1118
|
-
{
|
|
1119
|
-
"kind": "method",
|
|
1120
|
-
"name": "onLuminanceToggle"
|
|
1121
|
-
},
|
|
1122
|
-
{
|
|
1123
|
-
"kind": "method",
|
|
1124
|
-
"name": "loadRemotes"
|
|
1125
|
-
},
|
|
1126
|
-
{
|
|
1127
|
-
"kind": "method",
|
|
1128
|
-
"name": "selectTemplate"
|
|
1129
|
-
},
|
|
1130
|
-
{
|
|
1131
|
-
"kind": "method",
|
|
1132
|
-
"name": "registerDIDependencies",
|
|
1133
|
-
"privacy": "private"
|
|
1134
|
-
}
|
|
1135
|
-
],
|
|
1136
|
-
"superclass": {
|
|
1137
|
-
"name": "FASTElement",
|
|
1138
|
-
"package": "@microsoft/fast-element"
|
|
1139
|
-
},
|
|
1140
|
-
"customElement": true
|
|
1141
|
-
}
|
|
1142
|
-
],
|
|
1143
|
-
"exports": [
|
|
1144
|
-
{
|
|
1145
|
-
"kind": "js",
|
|
1146
|
-
"name": "MainApplication",
|
|
1147
|
-
"declaration": {
|
|
1148
|
-
"name": "MainApplication",
|
|
1149
|
-
"module": "src/main/main.ts"
|
|
1150
|
-
}
|
|
1151
|
-
},
|
|
1152
|
-
{
|
|
1153
|
-
"kind": "custom-element-definition",
|
|
1154
|
-
"declaration": {
|
|
1155
|
-
"name": "MainApplication",
|
|
1156
|
-
"module": "src/main/main.ts"
|
|
1157
|
-
}
|
|
1158
|
-
}
|
|
1159
|
-
]
|
|
1160
|
-
},
|
|
1161
1142
|
{
|
|
1162
1143
|
"kind": "javascript-module",
|
|
1163
1144
|
"path": "src/list/index.ts",
|
|
@@ -1353,14 +1334,6 @@
|
|
|
1353
1334
|
"text": "GridProCaseType"
|
|
1354
1335
|
}
|
|
1355
1336
|
},
|
|
1356
|
-
{
|
|
1357
|
-
"kind": "field",
|
|
1358
|
-
"name": "blockScrollingOnContextMenu",
|
|
1359
|
-
"type": {
|
|
1360
|
-
"text": "boolean"
|
|
1361
|
-
},
|
|
1362
|
-
"default": "false"
|
|
1363
|
-
},
|
|
1364
1337
|
{
|
|
1365
1338
|
"kind": "field",
|
|
1366
1339
|
"name": "grid",
|
|
@@ -1549,114 +1522,251 @@
|
|
|
1549
1522
|
"fieldName": "enableFilterBar"
|
|
1550
1523
|
},
|
|
1551
1524
|
{
|
|
1552
|
-
"name": "async-add",
|
|
1525
|
+
"name": "async-add",
|
|
1526
|
+
"type": {
|
|
1527
|
+
"text": "boolean"
|
|
1528
|
+
},
|
|
1529
|
+
"default": "false",
|
|
1530
|
+
"fieldName": "asyncAdd"
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
"name": "async-remove",
|
|
1534
|
+
"type": {
|
|
1535
|
+
"text": "boolean"
|
|
1536
|
+
},
|
|
1537
|
+
"default": "false",
|
|
1538
|
+
"fieldName": "asyncRemove"
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"name": "async-update",
|
|
1542
|
+
"type": {
|
|
1543
|
+
"text": "boolean"
|
|
1544
|
+
},
|
|
1545
|
+
"default": "true",
|
|
1546
|
+
"fieldName": "asyncUpdate"
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
"name": "enable-cell-flashing",
|
|
1550
|
+
"type": {
|
|
1551
|
+
"text": "boolean"
|
|
1552
|
+
},
|
|
1553
|
+
"default": "false",
|
|
1554
|
+
"fieldName": "enableCellFlashing"
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"name": "enable-row-flashing",
|
|
1558
|
+
"type": {
|
|
1559
|
+
"text": "boolean"
|
|
1560
|
+
},
|
|
1561
|
+
"default": "false",
|
|
1562
|
+
"fieldName": "enableRowFlashing"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"name": "hide-edit",
|
|
1566
|
+
"type": {
|
|
1567
|
+
"text": "boolean"
|
|
1568
|
+
},
|
|
1569
|
+
"default": "false",
|
|
1570
|
+
"fieldName": "hideEdit"
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
"name": "hide-delete",
|
|
1574
|
+
"type": {
|
|
1575
|
+
"text": "boolean"
|
|
1576
|
+
},
|
|
1577
|
+
"default": "false",
|
|
1578
|
+
"fieldName": "hideDelete"
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"name": "datasource-type",
|
|
1582
|
+
"type": {
|
|
1583
|
+
"text": "DatasourceType"
|
|
1584
|
+
},
|
|
1585
|
+
"default": "'client'",
|
|
1586
|
+
"fieldName": "datasourceType"
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"name": "header-case-type",
|
|
1590
|
+
"type": {
|
|
1591
|
+
"text": "GridProCaseType"
|
|
1592
|
+
},
|
|
1593
|
+
"fieldName": "headerCaseType"
|
|
1594
|
+
}
|
|
1595
|
+
],
|
|
1596
|
+
"mixins": [
|
|
1597
|
+
{
|
|
1598
|
+
"name": "LifecycleMixin",
|
|
1599
|
+
"package": "@genesislcap/foundation-utils"
|
|
1600
|
+
}
|
|
1601
|
+
],
|
|
1602
|
+
"superclass": {
|
|
1603
|
+
"name": "FASTElement",
|
|
1604
|
+
"package": "@microsoft/fast-element"
|
|
1605
|
+
},
|
|
1606
|
+
"tagName": "entity-list",
|
|
1607
|
+
"customElement": true
|
|
1608
|
+
}
|
|
1609
|
+
],
|
|
1610
|
+
"exports": [
|
|
1611
|
+
{
|
|
1612
|
+
"kind": "js",
|
|
1613
|
+
"name": "List",
|
|
1614
|
+
"declaration": {
|
|
1615
|
+
"name": "List",
|
|
1616
|
+
"module": "src/list/list.ts"
|
|
1617
|
+
}
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
"kind": "custom-element-definition",
|
|
1621
|
+
"name": "entity-list",
|
|
1622
|
+
"declaration": {
|
|
1623
|
+
"name": "List",
|
|
1624
|
+
"module": "src/list/list.ts"
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
]
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"kind": "javascript-module",
|
|
1631
|
+
"path": "src/main/index.ts",
|
|
1632
|
+
"declarations": [],
|
|
1633
|
+
"exports": [
|
|
1634
|
+
{
|
|
1635
|
+
"kind": "js",
|
|
1636
|
+
"name": "*",
|
|
1637
|
+
"declaration": {
|
|
1638
|
+
"name": "*",
|
|
1639
|
+
"package": "./main.template"
|
|
1640
|
+
}
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"kind": "js",
|
|
1644
|
+
"name": "*",
|
|
1645
|
+
"declaration": {
|
|
1646
|
+
"name": "*",
|
|
1647
|
+
"package": "./main"
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1650
|
+
]
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
"kind": "javascript-module",
|
|
1654
|
+
"path": "src/main/main.styles.ts",
|
|
1655
|
+
"declarations": [
|
|
1656
|
+
{
|
|
1657
|
+
"kind": "variable",
|
|
1658
|
+
"name": "MainStyles",
|
|
1659
|
+
"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`"
|
|
1660
|
+
}
|
|
1661
|
+
],
|
|
1662
|
+
"exports": [
|
|
1663
|
+
{
|
|
1664
|
+
"kind": "js",
|
|
1665
|
+
"name": "MainStyles",
|
|
1666
|
+
"declaration": {
|
|
1667
|
+
"name": "MainStyles",
|
|
1668
|
+
"module": "src/main/main.styles.ts"
|
|
1669
|
+
}
|
|
1670
|
+
}
|
|
1671
|
+
]
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
"kind": "javascript-module",
|
|
1675
|
+
"path": "src/main/main.template.ts",
|
|
1676
|
+
"declarations": [],
|
|
1677
|
+
"exports": []
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
"kind": "javascript-module",
|
|
1681
|
+
"path": "src/main/main.ts",
|
|
1682
|
+
"declarations": [
|
|
1683
|
+
{
|
|
1684
|
+
"kind": "class",
|
|
1685
|
+
"description": "",
|
|
1686
|
+
"name": "MainApplication",
|
|
1687
|
+
"members": [
|
|
1688
|
+
{
|
|
1689
|
+
"kind": "field",
|
|
1690
|
+
"name": "config",
|
|
1553
1691
|
"type": {
|
|
1554
|
-
"text": "
|
|
1555
|
-
}
|
|
1556
|
-
"default": "false",
|
|
1557
|
-
"fieldName": "asyncAdd"
|
|
1692
|
+
"text": "MainRouterConfig"
|
|
1693
|
+
}
|
|
1558
1694
|
},
|
|
1559
1695
|
{
|
|
1560
|
-
"
|
|
1696
|
+
"kind": "field",
|
|
1697
|
+
"name": "connect",
|
|
1561
1698
|
"type": {
|
|
1562
|
-
"text": "
|
|
1563
|
-
}
|
|
1564
|
-
"default": "false",
|
|
1565
|
-
"fieldName": "asyncRemove"
|
|
1699
|
+
"text": "Connect"
|
|
1700
|
+
}
|
|
1566
1701
|
},
|
|
1567
1702
|
{
|
|
1568
|
-
"
|
|
1703
|
+
"kind": "field",
|
|
1704
|
+
"name": "session",
|
|
1569
1705
|
"type": {
|
|
1570
|
-
"text": "
|
|
1571
|
-
}
|
|
1572
|
-
"default": "true",
|
|
1573
|
-
"fieldName": "asyncUpdate"
|
|
1706
|
+
"text": "Session"
|
|
1707
|
+
}
|
|
1574
1708
|
},
|
|
1575
1709
|
{
|
|
1576
|
-
"
|
|
1710
|
+
"kind": "field",
|
|
1711
|
+
"name": "container",
|
|
1577
1712
|
"type": {
|
|
1578
|
-
"text": "
|
|
1579
|
-
}
|
|
1580
|
-
"default": "false",
|
|
1581
|
-
"fieldName": "enableCellFlashing"
|
|
1713
|
+
"text": "Container"
|
|
1714
|
+
}
|
|
1582
1715
|
},
|
|
1583
1716
|
{
|
|
1584
|
-
"
|
|
1717
|
+
"kind": "field",
|
|
1718
|
+
"name": "provider",
|
|
1585
1719
|
"type": {
|
|
1586
|
-
"text": "
|
|
1587
|
-
}
|
|
1588
|
-
"default": "false",
|
|
1589
|
-
"fieldName": "enableRowFlashing"
|
|
1720
|
+
"text": "HTMLElement"
|
|
1721
|
+
}
|
|
1590
1722
|
},
|
|
1591
1723
|
{
|
|
1592
|
-
"
|
|
1724
|
+
"kind": "field",
|
|
1725
|
+
"name": "ready",
|
|
1593
1726
|
"type": {
|
|
1594
1727
|
"text": "boolean"
|
|
1595
1728
|
},
|
|
1596
|
-
"default": "false"
|
|
1597
|
-
"fieldName": "hideEdit"
|
|
1729
|
+
"default": "false"
|
|
1598
1730
|
},
|
|
1599
1731
|
{
|
|
1600
|
-
"
|
|
1601
|
-
"
|
|
1602
|
-
"text": "boolean"
|
|
1603
|
-
},
|
|
1604
|
-
"default": "false",
|
|
1605
|
-
"fieldName": "hideDelete"
|
|
1732
|
+
"kind": "method",
|
|
1733
|
+
"name": "onLuminanceToggle"
|
|
1606
1734
|
},
|
|
1607
1735
|
{
|
|
1608
|
-
"
|
|
1609
|
-
"
|
|
1610
|
-
"text": "DatasourceType"
|
|
1611
|
-
},
|
|
1612
|
-
"default": "'client'",
|
|
1613
|
-
"fieldName": "datasourceType"
|
|
1736
|
+
"kind": "method",
|
|
1737
|
+
"name": "loadRemotes"
|
|
1614
1738
|
},
|
|
1615
1739
|
{
|
|
1616
|
-
"
|
|
1617
|
-
"
|
|
1618
|
-
"text": "GridProCaseType"
|
|
1619
|
-
},
|
|
1620
|
-
"fieldName": "headerCaseType"
|
|
1740
|
+
"kind": "method",
|
|
1741
|
+
"name": "selectTemplate"
|
|
1621
1742
|
},
|
|
1622
1743
|
{
|
|
1623
|
-
"
|
|
1624
|
-
"
|
|
1625
|
-
|
|
1626
|
-
},
|
|
1627
|
-
"default": "false",
|
|
1628
|
-
"fieldName": "blockScrollingOnContextMenu"
|
|
1629
|
-
}
|
|
1630
|
-
],
|
|
1631
|
-
"mixins": [
|
|
1632
|
-
{
|
|
1633
|
-
"name": "LifecycleMixin",
|
|
1634
|
-
"package": "@genesislcap/foundation-utils"
|
|
1744
|
+
"kind": "method",
|
|
1745
|
+
"name": "registerDIDependencies",
|
|
1746
|
+
"privacy": "private"
|
|
1635
1747
|
}
|
|
1636
1748
|
],
|
|
1637
1749
|
"superclass": {
|
|
1638
1750
|
"name": "FASTElement",
|
|
1639
1751
|
"package": "@microsoft/fast-element"
|
|
1640
1752
|
},
|
|
1641
|
-
"tagName": "entity-list",
|
|
1642
1753
|
"customElement": true
|
|
1643
1754
|
}
|
|
1644
1755
|
],
|
|
1645
1756
|
"exports": [
|
|
1646
1757
|
{
|
|
1647
1758
|
"kind": "js",
|
|
1648
|
-
"name": "
|
|
1759
|
+
"name": "MainApplication",
|
|
1649
1760
|
"declaration": {
|
|
1650
|
-
"name": "
|
|
1651
|
-
"module": "src/
|
|
1761
|
+
"name": "MainApplication",
|
|
1762
|
+
"module": "src/main/main.ts"
|
|
1652
1763
|
}
|
|
1653
1764
|
},
|
|
1654
1765
|
{
|
|
1655
1766
|
"kind": "custom-element-definition",
|
|
1656
|
-
"name": "entity-list",
|
|
1657
1767
|
"declaration": {
|
|
1658
|
-
"name": "
|
|
1659
|
-
"module": "src/
|
|
1768
|
+
"name": "MainApplication",
|
|
1769
|
+
"module": "src/main/main.ts"
|
|
1660
1770
|
}
|
|
1661
1771
|
}
|
|
1662
1772
|
]
|
|
@@ -1989,19 +2099,6 @@
|
|
|
1989
2099
|
"module": "src/entities/entities.ts"
|
|
1990
2100
|
}
|
|
1991
2101
|
},
|
|
1992
|
-
{
|
|
1993
|
-
"kind": "field",
|
|
1994
|
-
"name": "blockScrollingOnContextMenu",
|
|
1995
|
-
"type": {
|
|
1996
|
-
"text": "boolean"
|
|
1997
|
-
},
|
|
1998
|
-
"default": "false",
|
|
1999
|
-
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
|
|
2000
|
-
"inheritedFrom": {
|
|
2001
|
-
"name": "EntityManagement",
|
|
2002
|
-
"module": "src/entities/entities.ts"
|
|
2003
|
-
}
|
|
2004
|
-
},
|
|
2005
2102
|
{
|
|
2006
2103
|
"kind": "field",
|
|
2007
2104
|
"name": "gridOptions",
|
|
@@ -2258,6 +2355,118 @@
|
|
|
2258
2355
|
"module": "src/entities/entities.ts"
|
|
2259
2356
|
}
|
|
2260
2357
|
},
|
|
2358
|
+
{
|
|
2359
|
+
"kind": "field",
|
|
2360
|
+
"name": "crudMenuPosition",
|
|
2361
|
+
"type": {
|
|
2362
|
+
"text": "CrudMenuPosition"
|
|
2363
|
+
},
|
|
2364
|
+
"description": "Determines where the buttons will appear",
|
|
2365
|
+
"privacy": "public",
|
|
2366
|
+
"inheritedFrom": {
|
|
2367
|
+
"name": "EntityManagement",
|
|
2368
|
+
"module": "src/entities/entities.ts"
|
|
2369
|
+
}
|
|
2370
|
+
},
|
|
2371
|
+
{
|
|
2372
|
+
"kind": "field",
|
|
2373
|
+
"name": "crudMenuStyle",
|
|
2374
|
+
"type": {
|
|
2375
|
+
"text": "ActionsMenuStyle"
|
|
2376
|
+
},
|
|
2377
|
+
"description": "Determines the style of the buttons",
|
|
2378
|
+
"privacy": "public",
|
|
2379
|
+
"inheritedFrom": {
|
|
2380
|
+
"name": "EntityManagement",
|
|
2381
|
+
"module": "src/entities/entities.ts"
|
|
2382
|
+
}
|
|
2383
|
+
},
|
|
2384
|
+
{
|
|
2385
|
+
"kind": "field",
|
|
2386
|
+
"name": "crudActionMenuName",
|
|
2387
|
+
"type": {
|
|
2388
|
+
"text": "string"
|
|
2389
|
+
},
|
|
2390
|
+
"default": "'⋮'",
|
|
2391
|
+
"description": "The label of the crud action menu",
|
|
2392
|
+
"inheritedFrom": {
|
|
2393
|
+
"name": "EntityManagement",
|
|
2394
|
+
"module": "src/entities/entities.ts"
|
|
2395
|
+
}
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
"kind": "field",
|
|
2399
|
+
"name": "crudMenuWrapper",
|
|
2400
|
+
"privacy": "public",
|
|
2401
|
+
"description": "The Id of the crud buttons wrapper element",
|
|
2402
|
+
"inheritedFrom": {
|
|
2403
|
+
"name": "EntityManagement",
|
|
2404
|
+
"module": "src/entities/entities.ts"
|
|
2405
|
+
}
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
"kind": "field",
|
|
2409
|
+
"name": "shouldHideEditInColumn",
|
|
2410
|
+
"type": {
|
|
2411
|
+
"text": "boolean"
|
|
2412
|
+
},
|
|
2413
|
+
"description": "Determines whether the button edit should be hidden in the column",
|
|
2414
|
+
"readonly": true,
|
|
2415
|
+
"inheritedFrom": {
|
|
2416
|
+
"name": "EntityManagement",
|
|
2417
|
+
"module": "src/entities/entities.ts"
|
|
2418
|
+
}
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
"kind": "field",
|
|
2422
|
+
"name": "shouldHideDeleteInColumn",
|
|
2423
|
+
"type": {
|
|
2424
|
+
"text": "boolean"
|
|
2425
|
+
},
|
|
2426
|
+
"description": "Determines whether the button delete should be hidden in the column",
|
|
2427
|
+
"readonly": true,
|
|
2428
|
+
"inheritedFrom": {
|
|
2429
|
+
"name": "EntityManagement",
|
|
2430
|
+
"module": "src/entities/entities.ts"
|
|
2431
|
+
}
|
|
2432
|
+
},
|
|
2433
|
+
{
|
|
2434
|
+
"kind": "field",
|
|
2435
|
+
"name": "hasSelectedEntity",
|
|
2436
|
+
"type": {
|
|
2437
|
+
"text": "boolean"
|
|
2438
|
+
},
|
|
2439
|
+
"description": "Determines whether there is a selected entity",
|
|
2440
|
+
"readonly": true,
|
|
2441
|
+
"inheritedFrom": {
|
|
2442
|
+
"name": "EntityManagement",
|
|
2443
|
+
"module": "src/entities/entities.ts"
|
|
2444
|
+
}
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
"kind": "method",
|
|
2448
|
+
"name": "hasContentInSlot",
|
|
2449
|
+
"privacy": "public",
|
|
2450
|
+
"return": {
|
|
2451
|
+
"type": {
|
|
2452
|
+
"text": ""
|
|
2453
|
+
}
|
|
2454
|
+
},
|
|
2455
|
+
"parameters": [
|
|
2456
|
+
{
|
|
2457
|
+
"name": "slotName",
|
|
2458
|
+
"type": {
|
|
2459
|
+
"text": "string"
|
|
2460
|
+
},
|
|
2461
|
+
"description": "The name of the slot to check."
|
|
2462
|
+
}
|
|
2463
|
+
],
|
|
2464
|
+
"description": "Checks if a slot contains any content.",
|
|
2465
|
+
"inheritedFrom": {
|
|
2466
|
+
"name": "EntityManagement",
|
|
2467
|
+
"module": "src/entities/entities.ts"
|
|
2468
|
+
}
|
|
2469
|
+
},
|
|
2261
2470
|
{
|
|
2262
2471
|
"kind": "method",
|
|
2263
2472
|
"name": "deepClone",
|
|
@@ -2447,6 +2656,25 @@
|
|
|
2447
2656
|
"name": "EntityManagement",
|
|
2448
2657
|
"module": "src/entities/entities.ts"
|
|
2449
2658
|
}
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
"kind": "method",
|
|
2662
|
+
"name": "emitCrud",
|
|
2663
|
+
"privacy": "public",
|
|
2664
|
+
"parameters": [
|
|
2665
|
+
{
|
|
2666
|
+
"name": "action",
|
|
2667
|
+
"type": {
|
|
2668
|
+
"text": "'create' | 'edit' | 'delete'"
|
|
2669
|
+
},
|
|
2670
|
+
"description": "the action to emit"
|
|
2671
|
+
}
|
|
2672
|
+
],
|
|
2673
|
+
"description": "Emit the CRUD event for the selected entity",
|
|
2674
|
+
"inheritedFrom": {
|
|
2675
|
+
"name": "EntityManagement",
|
|
2676
|
+
"module": "src/entities/entities.ts"
|
|
2677
|
+
}
|
|
2450
2678
|
}
|
|
2451
2679
|
],
|
|
2452
2680
|
"superclass": {
|
|
@@ -2667,19 +2895,6 @@
|
|
|
2667
2895
|
"module": "src/entities/entities.ts"
|
|
2668
2896
|
}
|
|
2669
2897
|
},
|
|
2670
|
-
{
|
|
2671
|
-
"name": "block-scrolling-on-context-menu",
|
|
2672
|
-
"type": {
|
|
2673
|
-
"text": "boolean"
|
|
2674
|
-
},
|
|
2675
|
-
"default": "false",
|
|
2676
|
-
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
|
|
2677
|
-
"fieldName": "blockScrollingOnContextMenu",
|
|
2678
|
-
"inheritedFrom": {
|
|
2679
|
-
"name": "EntityManagement",
|
|
2680
|
-
"module": "src/entities/entities.ts"
|
|
2681
|
-
}
|
|
2682
|
-
},
|
|
2683
2898
|
{
|
|
2684
2899
|
"name": "size-columns-to-fit",
|
|
2685
2900
|
"type": {
|
|
@@ -2763,6 +2978,43 @@
|
|
|
2763
2978
|
"name": "EntityManagement",
|
|
2764
2979
|
"module": "src/entities/entities.ts"
|
|
2765
2980
|
}
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"name": "crud-menu-position",
|
|
2984
|
+
"type": {
|
|
2985
|
+
"text": "CrudMenuPosition"
|
|
2986
|
+
},
|
|
2987
|
+
"description": "Determines where the buttons will appear",
|
|
2988
|
+
"fieldName": "crudMenuPosition",
|
|
2989
|
+
"inheritedFrom": {
|
|
2990
|
+
"name": "EntityManagement",
|
|
2991
|
+
"module": "src/entities/entities.ts"
|
|
2992
|
+
}
|
|
2993
|
+
},
|
|
2994
|
+
{
|
|
2995
|
+
"name": "crud-menu-style",
|
|
2996
|
+
"type": {
|
|
2997
|
+
"text": "ActionsMenuStyle"
|
|
2998
|
+
},
|
|
2999
|
+
"description": "Determines the style of the buttons",
|
|
3000
|
+
"fieldName": "crudMenuStyle",
|
|
3001
|
+
"inheritedFrom": {
|
|
3002
|
+
"name": "EntityManagement",
|
|
3003
|
+
"module": "src/entities/entities.ts"
|
|
3004
|
+
}
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
"name": "crud-action-menu-name",
|
|
3008
|
+
"type": {
|
|
3009
|
+
"text": "string"
|
|
3010
|
+
},
|
|
3011
|
+
"default": "'⋮'",
|
|
3012
|
+
"description": "The label of the crud action menu",
|
|
3013
|
+
"fieldName": "crudActionMenuName",
|
|
3014
|
+
"inheritedFrom": {
|
|
3015
|
+
"name": "EntityManagement",
|
|
3016
|
+
"module": "src/entities/entities.ts"
|
|
3017
|
+
}
|
|
2766
3018
|
}
|
|
2767
3019
|
]
|
|
2768
3020
|
}
|