@genesislcap/foundation-entity-management 14.78.4-alpha-b87d7d2.0 → 14.78.4-alpha-c15b781.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 +71 -331
- package/dist/dts/entities/entities.d.ts +20 -44
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/entities/entities.template.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts +0 -4
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/dts/list/list.template.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +3 -44
- package/dist/esm/entities/entities.template.js +0 -5
- package/dist/esm/list/list.js +0 -17
- package/dist/esm/list/list.template.js +0 -4
- package/dist/foundation-entity-management.api.json +1 -121
- package/dist/foundation-entity-management.d.ts +20 -44
- package/docs/api/foundation-entity-management.entitymanagement.enablecellflashing.md +0 -7
- package/docs/api/foundation-entity-management.entitymanagement.md +1 -5
- package/docs/api-report.md +1 -4
- package/package.json +13 -13
- package/docs/api/foundation-entity-management.entitymanagement.asyncadd.md +0 -18
- package/docs/api/foundation-entity-management.entitymanagement.asyncremove.md +0 -18
- package/docs/api/foundation-entity-management.entitymanagement.asyncupdate.md +0 -18
- package/docs/api/foundation-entity-management.entitymanagement.enablerowflashing.md +0 -13
|
@@ -87,6 +87,41 @@
|
|
|
87
87
|
}
|
|
88
88
|
]
|
|
89
89
|
},
|
|
90
|
+
{
|
|
91
|
+
"kind": "javascript-module",
|
|
92
|
+
"path": "src/components/components.ts",
|
|
93
|
+
"declarations": [
|
|
94
|
+
{
|
|
95
|
+
"kind": "function",
|
|
96
|
+
"name": "loadRemotes"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"exports": [
|
|
100
|
+
{
|
|
101
|
+
"kind": "js",
|
|
102
|
+
"name": "loadRemotes",
|
|
103
|
+
"declaration": {
|
|
104
|
+
"name": "loadRemotes",
|
|
105
|
+
"module": "src/components/components.ts"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"kind": "javascript-module",
|
|
112
|
+
"path": "src/components/index.ts",
|
|
113
|
+
"declarations": [],
|
|
114
|
+
"exports": [
|
|
115
|
+
{
|
|
116
|
+
"kind": "js",
|
|
117
|
+
"name": "*",
|
|
118
|
+
"declaration": {
|
|
119
|
+
"name": "*",
|
|
120
|
+
"package": "./components"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
},
|
|
90
125
|
{
|
|
91
126
|
"kind": "javascript-module",
|
|
92
127
|
"path": "src/entities/entities.styles.ts",
|
|
@@ -116,7 +151,7 @@
|
|
|
116
151
|
{
|
|
117
152
|
"kind": "variable",
|
|
118
153
|
"name": "template",
|
|
119
|
-
"default": "html<EntityManagement>`\n <div class=\"container\">\n <slot name=\"header\" part=\"header\">${defaultHeader}</slot>\n <entity-list\n title=${(x) => x.title}\n
|
|
154
|
+
"default": "html<EntityManagement>`\n <div class=\"container\">\n <slot name=\"header\" part=\"header\">${defaultHeader}</slot>\n <entity-list\n title=${(x) => x.title}\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n size-columns-to-fit=${(x) => x.sizeColumnsToFit}\n enable-filter-bar=${(x) => x.enableFilterBar}\n resourceName=${(x) => x.resourceName}\n :deleteEvent=${(x) => x.deleteEvent}\n :updateEvent=${(x) => x.updateEvent}\n :gridOptions=${(x) => x.gridOptions}\n :columns=${(x) => x.columns}\n :datasourceConfig=${(x) => x.datasourceConfig}\n data-test-id=\"entity-list\"\n hide-edit=${(x) => x.hideEdit}\n hide-delete=${(x) => x.hideDelete}\n >\n <slot name=\"header\" slot=\"header\">${defaultHeader}</slot>\n </entity-list>\n <zero-modal\n ${ref('editEntityModal')}\n position=${(x) => x.modalPosition}\n :onCloseCallback=${(x) => x.closeModal.bind(x)}\n data-test-id=\"edit-entity-modal\"\n >\n <div slot=\"top\" data-test-id=\"dialog-title\">${(x) => x.editDialogTitle}</div>\n\n <slot name=\"edit\">\n ${when(\n (x) => x.editModalVisible,\n html<EntityManagement>`\n <foundation-form\n part=\"form\"\n resourceName=${(x) => x.formResourceName}\n :data=${(x) => x.editedEntity}\n :uischema=${(x) => x.formUiSchema}\n readonly=${(x) => x.readonly}\n @submit-success=${(x, c) => x.submitEntityChanges(c.event as CustomEvent)}\n @submit-failure=${(x, c) =>\n x.errorSnack((c.event as CustomEvent<{ errors: MessageError[] }>).detail.errors)}\n ></foundation-form>\n `,\n )}\n </slot>\n </zero-modal>\n </div>\n`",
|
|
120
155
|
"description": "Defines the html of the entity component as a ViewTemplate object"
|
|
121
156
|
}
|
|
122
157
|
],
|
|
@@ -225,56 +260,6 @@
|
|
|
225
260
|
"description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
|
|
226
261
|
"privacy": "public"
|
|
227
262
|
},
|
|
228
|
-
{
|
|
229
|
-
"kind": "field",
|
|
230
|
-
"name": "asyncAdd",
|
|
231
|
-
"type": {
|
|
232
|
-
"text": "boolean"
|
|
233
|
-
},
|
|
234
|
-
"default": "false",
|
|
235
|
-
"description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
|
|
236
|
-
"privacy": "public"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"kind": "field",
|
|
240
|
-
"name": "asyncRemove",
|
|
241
|
-
"type": {
|
|
242
|
-
"text": "boolean"
|
|
243
|
-
},
|
|
244
|
-
"default": "false",
|
|
245
|
-
"description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
|
|
246
|
-
"privacy": "public"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"kind": "field",
|
|
250
|
-
"name": "asyncUpdate",
|
|
251
|
-
"type": {
|
|
252
|
-
"text": "boolean"
|
|
253
|
-
},
|
|
254
|
-
"default": "true",
|
|
255
|
-
"description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
|
|
256
|
-
"privacy": "public"
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"kind": "field",
|
|
260
|
-
"name": "enableCellFlashing",
|
|
261
|
-
"type": {
|
|
262
|
-
"text": "boolean"
|
|
263
|
-
},
|
|
264
|
-
"default": "false",
|
|
265
|
-
"description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
|
|
266
|
-
"privacy": "public"
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"kind": "field",
|
|
270
|
-
"name": "enableRowFlashing",
|
|
271
|
-
"type": {
|
|
272
|
-
"text": "boolean"
|
|
273
|
-
},
|
|
274
|
-
"default": "false",
|
|
275
|
-
"description": "If true, will enable row flashing for all rows for `add` async transactions",
|
|
276
|
-
"privacy": "public"
|
|
277
|
-
},
|
|
278
263
|
{
|
|
279
264
|
"kind": "field",
|
|
280
265
|
"name": "persistColumnStateKey",
|
|
@@ -406,6 +391,13 @@
|
|
|
406
391
|
"text": "boolean"
|
|
407
392
|
}
|
|
408
393
|
},
|
|
394
|
+
{
|
|
395
|
+
"kind": "field",
|
|
396
|
+
"name": "enableCellFlashing",
|
|
397
|
+
"type": {
|
|
398
|
+
"text": "boolean"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
409
401
|
{
|
|
410
402
|
"kind": "field",
|
|
411
403
|
"name": "hideEdit",
|
|
@@ -562,51 +554,6 @@
|
|
|
562
554
|
"description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
|
|
563
555
|
"fieldName": "entityLabel"
|
|
564
556
|
},
|
|
565
|
-
{
|
|
566
|
-
"name": "async-add",
|
|
567
|
-
"type": {
|
|
568
|
-
"text": "boolean"
|
|
569
|
-
},
|
|
570
|
-
"default": "false",
|
|
571
|
-
"description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
|
|
572
|
-
"fieldName": "asyncAdd"
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
"name": "async-remove",
|
|
576
|
-
"type": {
|
|
577
|
-
"text": "boolean"
|
|
578
|
-
},
|
|
579
|
-
"default": "false",
|
|
580
|
-
"description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
|
|
581
|
-
"fieldName": "asyncRemove"
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
"name": "async-update",
|
|
585
|
-
"type": {
|
|
586
|
-
"text": "boolean"
|
|
587
|
-
},
|
|
588
|
-
"default": "true",
|
|
589
|
-
"description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
|
|
590
|
-
"fieldName": "asyncUpdate"
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
"name": "enable-cell-flashing",
|
|
594
|
-
"type": {
|
|
595
|
-
"text": "boolean"
|
|
596
|
-
},
|
|
597
|
-
"default": "false",
|
|
598
|
-
"description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
|
|
599
|
-
"fieldName": "enableCellFlashing"
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
"name": "enable-row-flashing",
|
|
603
|
-
"type": {
|
|
604
|
-
"text": "boolean"
|
|
605
|
-
},
|
|
606
|
-
"default": "false",
|
|
607
|
-
"description": "If true, will enable row flashing for all rows for `add` async transactions",
|
|
608
|
-
"fieldName": "enableRowFlashing"
|
|
609
|
-
},
|
|
610
557
|
{
|
|
611
558
|
"name": "persist-column-state-key",
|
|
612
559
|
"type": {
|
|
@@ -629,6 +576,13 @@
|
|
|
629
576
|
},
|
|
630
577
|
"fieldName": "enableFilterBar"
|
|
631
578
|
},
|
|
579
|
+
{
|
|
580
|
+
"name": "enable-cell-flashing",
|
|
581
|
+
"type": {
|
|
582
|
+
"text": "boolean"
|
|
583
|
+
},
|
|
584
|
+
"fieldName": "enableCellFlashing"
|
|
585
|
+
},
|
|
632
586
|
{
|
|
633
587
|
"name": "hide-edit",
|
|
634
588
|
"type": {
|
|
@@ -719,41 +673,6 @@
|
|
|
719
673
|
}
|
|
720
674
|
]
|
|
721
675
|
},
|
|
722
|
-
{
|
|
723
|
-
"kind": "javascript-module",
|
|
724
|
-
"path": "src/components/components.ts",
|
|
725
|
-
"declarations": [
|
|
726
|
-
{
|
|
727
|
-
"kind": "function",
|
|
728
|
-
"name": "loadRemotes"
|
|
729
|
-
}
|
|
730
|
-
],
|
|
731
|
-
"exports": [
|
|
732
|
-
{
|
|
733
|
-
"kind": "js",
|
|
734
|
-
"name": "loadRemotes",
|
|
735
|
-
"declaration": {
|
|
736
|
-
"name": "loadRemotes",
|
|
737
|
-
"module": "src/components/components.ts"
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
]
|
|
741
|
-
},
|
|
742
|
-
{
|
|
743
|
-
"kind": "javascript-module",
|
|
744
|
-
"path": "src/components/index.ts",
|
|
745
|
-
"declarations": [],
|
|
746
|
-
"exports": [
|
|
747
|
-
{
|
|
748
|
-
"kind": "js",
|
|
749
|
-
"name": "*",
|
|
750
|
-
"declaration": {
|
|
751
|
-
"name": "*",
|
|
752
|
-
"package": "./components"
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
]
|
|
756
|
-
},
|
|
757
676
|
{
|
|
758
677
|
"kind": "javascript-module",
|
|
759
678
|
"path": "src/layouts/default.ts",
|
|
@@ -846,7 +765,7 @@
|
|
|
846
765
|
{
|
|
847
766
|
"kind": "variable",
|
|
848
767
|
"name": "listTemplate",
|
|
849
|
-
"default": "html<List>`\n <div class=\"container\">\n ${when(\n (x) => x.enableFilterBar,\n html<List>`\n <zero-filter-bar\n resource=${(x) => x.resourceName}\n only=${(x) => x.columns?.map((colDef) => colDef.field).filter((field) => !!field)}\n labels=${(x) => x.columns?.map((colDef) => colDef.headerName || '')}\n target=\"datasource\"\n ></zero-filter-bar>\n `,\n )}\n <zero-grid-pro\n ${ref('grid')}\n auto-cell-renderer-by-type\n rowSelection=\"single\"\n rowHeight=\"36\"\n headerHeight=\"36\"\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n ?only-template-col-defs=${(x) => !!x.columns}\n suppressCellFocus=\"true\"\n suppressRowDeselection=\"true\"\n
|
|
768
|
+
"default": "html<List>`\n <div class=\"container\">\n ${when(\n (x) => x.enableFilterBar,\n html<List>`\n <zero-filter-bar\n resource=${(x) => x.resourceName}\n only=${(x) => x.columns?.map((colDef) => colDef.field).filter((field) => !!field)}\n labels=${(x) => x.columns?.map((colDef) => colDef.headerName || '')}\n target=\"datasource\"\n ></zero-filter-bar>\n `,\n )}\n <zero-grid-pro\n ${ref('grid')}\n auto-cell-renderer-by-type\n rowSelection=\"single\"\n rowHeight=\"36\"\n headerHeight=\"36\"\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n ?only-template-col-defs=${(x) => !!x.columns}\n suppressCellFocus=\"true\"\n suppressRowDeselection=\"true\"\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n >\n <grid-pro-genesis-datasource\n ${ref('datasource')}\n :deferredGridOptions=${(x) => x.gridOptions}\n criteria=${(x) => x.datasourceConfig?.criteria}\n fields=${(x) => x.datasourceConfig?.fields}\n is-snapshot=${(x) => x.datasourceConfig?.isSnapshot}\n max-rows=${(x) => x.datasourceConfig?.maxRows}\n max-view=${(x) => x.datasourceConfig?.maxView}\n moving-view=${(x) => x.datasourceConfig?.movingView}\n order-by=${(x) => x.datasourceConfig?.orderBy}\n polling-interval=${(x) => x.datasourceConfig?.pollingInterval}\n resource-name=${(x) => x.resourceName}\n reverse=${(x) => x.datasourceConfig?.reverse}\n ></grid-pro-genesis-datasource>\n ${repeat(\n (x) => x.columns,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `,\n )}\n ${repeat(\n (x) => x.actionButtonsConfig,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `,\n )}\n </zero-grid-pro>\n </div>\n`"
|
|
850
769
|
}
|
|
851
770
|
],
|
|
852
771
|
"exports": [
|
|
@@ -906,45 +825,12 @@
|
|
|
906
825
|
"text": "boolean"
|
|
907
826
|
}
|
|
908
827
|
},
|
|
909
|
-
{
|
|
910
|
-
"kind": "field",
|
|
911
|
-
"name": "asyncAdd",
|
|
912
|
-
"type": {
|
|
913
|
-
"text": "boolean"
|
|
914
|
-
},
|
|
915
|
-
"default": "false"
|
|
916
|
-
},
|
|
917
|
-
{
|
|
918
|
-
"kind": "field",
|
|
919
|
-
"name": "asyncRemove",
|
|
920
|
-
"type": {
|
|
921
|
-
"text": "boolean"
|
|
922
|
-
},
|
|
923
|
-
"default": "false"
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
"kind": "field",
|
|
927
|
-
"name": "asyncUpdate",
|
|
928
|
-
"type": {
|
|
929
|
-
"text": "boolean"
|
|
930
|
-
},
|
|
931
|
-
"default": "true"
|
|
932
|
-
},
|
|
933
828
|
{
|
|
934
829
|
"kind": "field",
|
|
935
830
|
"name": "enableCellFlashing",
|
|
936
831
|
"type": {
|
|
937
832
|
"text": "boolean"
|
|
938
|
-
}
|
|
939
|
-
"default": "false"
|
|
940
|
-
},
|
|
941
|
-
{
|
|
942
|
-
"kind": "field",
|
|
943
|
-
"name": "enableRowFlashing",
|
|
944
|
-
"type": {
|
|
945
|
-
"text": "boolean"
|
|
946
|
-
},
|
|
947
|
-
"default": "false"
|
|
833
|
+
}
|
|
948
834
|
},
|
|
949
835
|
{
|
|
950
836
|
"kind": "field",
|
|
@@ -1104,46 +990,13 @@
|
|
|
1104
990
|
},
|
|
1105
991
|
"fieldName": "enableFilterBar"
|
|
1106
992
|
},
|
|
1107
|
-
{
|
|
1108
|
-
"name": "async-add",
|
|
1109
|
-
"type": {
|
|
1110
|
-
"text": "boolean"
|
|
1111
|
-
},
|
|
1112
|
-
"default": "false",
|
|
1113
|
-
"fieldName": "asyncAdd"
|
|
1114
|
-
},
|
|
1115
|
-
{
|
|
1116
|
-
"name": "async-remove",
|
|
1117
|
-
"type": {
|
|
1118
|
-
"text": "boolean"
|
|
1119
|
-
},
|
|
1120
|
-
"default": "false",
|
|
1121
|
-
"fieldName": "asyncRemove"
|
|
1122
|
-
},
|
|
1123
|
-
{
|
|
1124
|
-
"name": "async-update",
|
|
1125
|
-
"type": {
|
|
1126
|
-
"text": "boolean"
|
|
1127
|
-
},
|
|
1128
|
-
"default": "true",
|
|
1129
|
-
"fieldName": "asyncUpdate"
|
|
1130
|
-
},
|
|
1131
993
|
{
|
|
1132
994
|
"name": "enable-cell-flashing",
|
|
1133
995
|
"type": {
|
|
1134
996
|
"text": "boolean"
|
|
1135
997
|
},
|
|
1136
|
-
"default": "false",
|
|
1137
998
|
"fieldName": "enableCellFlashing"
|
|
1138
999
|
},
|
|
1139
|
-
{
|
|
1140
|
-
"name": "enable-row-flashing",
|
|
1141
|
-
"type": {
|
|
1142
|
-
"text": "boolean"
|
|
1143
|
-
},
|
|
1144
|
-
"default": "false",
|
|
1145
|
-
"fieldName": "enableRowFlashing"
|
|
1146
|
-
},
|
|
1147
1000
|
{
|
|
1148
1001
|
"name": "hide-edit",
|
|
1149
1002
|
"type": {
|
|
@@ -1557,76 +1410,6 @@
|
|
|
1557
1410
|
"module": "src/entities/entities.ts"
|
|
1558
1411
|
}
|
|
1559
1412
|
},
|
|
1560
|
-
{
|
|
1561
|
-
"kind": "field",
|
|
1562
|
-
"name": "asyncAdd",
|
|
1563
|
-
"type": {
|
|
1564
|
-
"text": "boolean"
|
|
1565
|
-
},
|
|
1566
|
-
"default": "false",
|
|
1567
|
-
"description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
|
|
1568
|
-
"privacy": "public",
|
|
1569
|
-
"inheritedFrom": {
|
|
1570
|
-
"name": "EntityManagement",
|
|
1571
|
-
"module": "src/entities/entities.ts"
|
|
1572
|
-
}
|
|
1573
|
-
},
|
|
1574
|
-
{
|
|
1575
|
-
"kind": "field",
|
|
1576
|
-
"name": "asyncRemove",
|
|
1577
|
-
"type": {
|
|
1578
|
-
"text": "boolean"
|
|
1579
|
-
},
|
|
1580
|
-
"default": "false",
|
|
1581
|
-
"description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
|
|
1582
|
-
"privacy": "public",
|
|
1583
|
-
"inheritedFrom": {
|
|
1584
|
-
"name": "EntityManagement",
|
|
1585
|
-
"module": "src/entities/entities.ts"
|
|
1586
|
-
}
|
|
1587
|
-
},
|
|
1588
|
-
{
|
|
1589
|
-
"kind": "field",
|
|
1590
|
-
"name": "asyncUpdate",
|
|
1591
|
-
"type": {
|
|
1592
|
-
"text": "boolean"
|
|
1593
|
-
},
|
|
1594
|
-
"default": "true",
|
|
1595
|
-
"description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
|
|
1596
|
-
"privacy": "public",
|
|
1597
|
-
"inheritedFrom": {
|
|
1598
|
-
"name": "EntityManagement",
|
|
1599
|
-
"module": "src/entities/entities.ts"
|
|
1600
|
-
}
|
|
1601
|
-
},
|
|
1602
|
-
{
|
|
1603
|
-
"kind": "field",
|
|
1604
|
-
"name": "enableCellFlashing",
|
|
1605
|
-
"type": {
|
|
1606
|
-
"text": "boolean"
|
|
1607
|
-
},
|
|
1608
|
-
"default": "false",
|
|
1609
|
-
"description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
|
|
1610
|
-
"privacy": "public",
|
|
1611
|
-
"inheritedFrom": {
|
|
1612
|
-
"name": "EntityManagement",
|
|
1613
|
-
"module": "src/entities/entities.ts"
|
|
1614
|
-
}
|
|
1615
|
-
},
|
|
1616
|
-
{
|
|
1617
|
-
"kind": "field",
|
|
1618
|
-
"name": "enableRowFlashing",
|
|
1619
|
-
"type": {
|
|
1620
|
-
"text": "boolean"
|
|
1621
|
-
},
|
|
1622
|
-
"default": "false",
|
|
1623
|
-
"description": "If true, will enable row flashing for all rows for `add` async transactions",
|
|
1624
|
-
"privacy": "public",
|
|
1625
|
-
"inheritedFrom": {
|
|
1626
|
-
"name": "EntityManagement",
|
|
1627
|
-
"module": "src/entities/entities.ts"
|
|
1628
|
-
}
|
|
1629
|
-
},
|
|
1630
1413
|
{
|
|
1631
1414
|
"kind": "field",
|
|
1632
1415
|
"name": "gridOptions",
|
|
@@ -1791,6 +1574,17 @@
|
|
|
1791
1574
|
"module": "src/entities/entities.ts"
|
|
1792
1575
|
}
|
|
1793
1576
|
},
|
|
1577
|
+
{
|
|
1578
|
+
"kind": "field",
|
|
1579
|
+
"name": "enableCellFlashing",
|
|
1580
|
+
"type": {
|
|
1581
|
+
"text": "boolean"
|
|
1582
|
+
},
|
|
1583
|
+
"inheritedFrom": {
|
|
1584
|
+
"name": "EntityManagement",
|
|
1585
|
+
"module": "src/entities/entities.ts"
|
|
1586
|
+
}
|
|
1587
|
+
},
|
|
1794
1588
|
{
|
|
1795
1589
|
"kind": "field",
|
|
1796
1590
|
"name": "hideEdit",
|
|
@@ -2018,39 +1812,34 @@
|
|
|
2018
1812
|
}
|
|
2019
1813
|
},
|
|
2020
1814
|
{
|
|
2021
|
-
"name": "
|
|
1815
|
+
"name": "persist-column-state-key",
|
|
2022
1816
|
"type": {
|
|
2023
|
-
"text": "
|
|
1817
|
+
"text": "string"
|
|
2024
1818
|
},
|
|
2025
|
-
"
|
|
2026
|
-
"
|
|
2027
|
-
"fieldName": "asyncAdd",
|
|
1819
|
+
"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.",
|
|
1820
|
+
"fieldName": "persistColumnStateKey",
|
|
2028
1821
|
"inheritedFrom": {
|
|
2029
1822
|
"name": "EntityManagement",
|
|
2030
1823
|
"module": "src/entities/entities.ts"
|
|
2031
1824
|
}
|
|
2032
1825
|
},
|
|
2033
1826
|
{
|
|
2034
|
-
"name": "
|
|
1827
|
+
"name": "size-columns-to-fit",
|
|
2035
1828
|
"type": {
|
|
2036
1829
|
"text": "boolean"
|
|
2037
1830
|
},
|
|
2038
|
-
"
|
|
2039
|
-
"description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
|
|
2040
|
-
"fieldName": "asyncRemove",
|
|
1831
|
+
"fieldName": "sizeColumnsToFit",
|
|
2041
1832
|
"inheritedFrom": {
|
|
2042
1833
|
"name": "EntityManagement",
|
|
2043
1834
|
"module": "src/entities/entities.ts"
|
|
2044
1835
|
}
|
|
2045
1836
|
},
|
|
2046
1837
|
{
|
|
2047
|
-
"name": "
|
|
1838
|
+
"name": "enable-filter-bar",
|
|
2048
1839
|
"type": {
|
|
2049
1840
|
"text": "boolean"
|
|
2050
1841
|
},
|
|
2051
|
-
"
|
|
2052
|
-
"description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
|
|
2053
|
-
"fieldName": "asyncUpdate",
|
|
1842
|
+
"fieldName": "enableFilterBar",
|
|
2054
1843
|
"inheritedFrom": {
|
|
2055
1844
|
"name": "EntityManagement",
|
|
2056
1845
|
"module": "src/entities/entities.ts"
|
|
@@ -2061,61 +1850,12 @@
|
|
|
2061
1850
|
"type": {
|
|
2062
1851
|
"text": "boolean"
|
|
2063
1852
|
},
|
|
2064
|
-
"default": "false",
|
|
2065
|
-
"description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
|
|
2066
1853
|
"fieldName": "enableCellFlashing",
|
|
2067
1854
|
"inheritedFrom": {
|
|
2068
1855
|
"name": "EntityManagement",
|
|
2069
1856
|
"module": "src/entities/entities.ts"
|
|
2070
1857
|
}
|
|
2071
1858
|
},
|
|
2072
|
-
{
|
|
2073
|
-
"name": "enable-row-flashing",
|
|
2074
|
-
"type": {
|
|
2075
|
-
"text": "boolean"
|
|
2076
|
-
},
|
|
2077
|
-
"default": "false",
|
|
2078
|
-
"description": "If true, will enable row flashing for all rows for `add` async transactions",
|
|
2079
|
-
"fieldName": "enableRowFlashing",
|
|
2080
|
-
"inheritedFrom": {
|
|
2081
|
-
"name": "EntityManagement",
|
|
2082
|
-
"module": "src/entities/entities.ts"
|
|
2083
|
-
}
|
|
2084
|
-
},
|
|
2085
|
-
{
|
|
2086
|
-
"name": "persist-column-state-key",
|
|
2087
|
-
"type": {
|
|
2088
|
-
"text": "string"
|
|
2089
|
-
},
|
|
2090
|
-
"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.",
|
|
2091
|
-
"fieldName": "persistColumnStateKey",
|
|
2092
|
-
"inheritedFrom": {
|
|
2093
|
-
"name": "EntityManagement",
|
|
2094
|
-
"module": "src/entities/entities.ts"
|
|
2095
|
-
}
|
|
2096
|
-
},
|
|
2097
|
-
{
|
|
2098
|
-
"name": "size-columns-to-fit",
|
|
2099
|
-
"type": {
|
|
2100
|
-
"text": "boolean"
|
|
2101
|
-
},
|
|
2102
|
-
"fieldName": "sizeColumnsToFit",
|
|
2103
|
-
"inheritedFrom": {
|
|
2104
|
-
"name": "EntityManagement",
|
|
2105
|
-
"module": "src/entities/entities.ts"
|
|
2106
|
-
}
|
|
2107
|
-
},
|
|
2108
|
-
{
|
|
2109
|
-
"name": "enable-filter-bar",
|
|
2110
|
-
"type": {
|
|
2111
|
-
"text": "boolean"
|
|
2112
|
-
},
|
|
2113
|
-
"fieldName": "enableFilterBar",
|
|
2114
|
-
"inheritedFrom": {
|
|
2115
|
-
"name": "EntityManagement",
|
|
2116
|
-
"module": "src/entities/entities.ts"
|
|
2117
|
-
}
|
|
2118
|
-
},
|
|
2119
1859
|
{
|
|
2120
1860
|
"name": "hide-edit",
|
|
2121
1861
|
"type": {
|
|
@@ -32,8 +32,14 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
32
32
|
deepClone(): Node;
|
|
33
33
|
readonly shouldRunDisconnect: boolean;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
36
|
-
*
|
|
35
|
+
* 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.
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
*
|
|
39
|
+
* Setting this value will set the entity manager to persist the column states through page refreshes etc. An example of what is stored is when the user resizes or reorders columns.
|
|
40
|
+
* This value must be unique for each table in your app otherwise the persisted data will be corrupted.
|
|
41
|
+
* There is an option on the grid for the user to reset the table to the default layout if they wish.
|
|
42
|
+
* If you omit this attribute then nothing is persisted
|
|
37
43
|
* @public
|
|
38
44
|
*/
|
|
39
45
|
readonly shouldRunConnect: boolean;
|
|
@@ -50,6 +56,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
50
56
|
dir: string;
|
|
51
57
|
draggable: boolean;
|
|
52
58
|
hidden: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* The name of the resource in the backend to interact with when dispatching actions from the update/create modal
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
53
63
|
inert: boolean;
|
|
54
64
|
innerText: string;
|
|
55
65
|
lang: string;
|
|
@@ -73,14 +83,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
73
83
|
className: string;
|
|
74
84
|
readonly clientHeight: number;
|
|
75
85
|
readonly clientLeft: number;
|
|
76
|
-
/**
|
|
77
|
-
* Reference to the currently selected entity from the grid.
|
|
78
|
-
*
|
|
79
|
-
* @remarks
|
|
80
|
-
*
|
|
81
|
-
* When the user attempts to initiate functionality such as deleting or editing an entity, the entity which will be deleted/edited is the one which is referenced by this variable
|
|
82
|
-
* @public
|
|
83
|
-
*/
|
|
84
86
|
readonly clientTop: number;
|
|
85
87
|
readonly clientWidth: number;
|
|
86
88
|
id: string;
|
|
@@ -167,7 +169,12 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
167
169
|
isDefaultNamespace(namespace: string): boolean;
|
|
168
170
|
isEqualNode(otherNode: Node): boolean;
|
|
169
171
|
isSameNode(otherNode: Node): boolean;
|
|
170
|
-
lookupNamespaceURI(prefix: string): string;
|
|
172
|
+
lookupNamespaceURI(prefix: string): string; /**
|
|
173
|
+
* Handler for deleting the entity. Added as an event listener on the class when receiving the `delete-entity` event.
|
|
174
|
+
*
|
|
175
|
+
* @param e - CustomEvent where `e.detail` contains data to update the selectedEntity reference with the entity to delete.
|
|
176
|
+
* @internal
|
|
177
|
+
*/
|
|
171
178
|
lookupPrefix(namespace: string): string;
|
|
172
179
|
normalize(): void;
|
|
173
180
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
@@ -234,10 +241,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
234
241
|
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
235
242
|
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
236
243
|
after(...nodes: (string | Node)[]): void;
|
|
237
|
-
before(...nodes: (string | Node)[]): void;
|
|
238
|
-
* Show notifications if the executed event returned an error.
|
|
239
|
-
* @internal
|
|
240
|
-
*/
|
|
244
|
+
before(...nodes: (string | Node)[]): void;
|
|
241
245
|
remove(): void;
|
|
242
246
|
replaceWith(...nodes: (string | Node)[]): void;
|
|
243
247
|
innerHTML: string;
|
|
@@ -443,35 +447,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
443
447
|
* @public
|
|
444
448
|
*/
|
|
445
449
|
entityLabel: string;
|
|
446
|
-
/**
|
|
447
|
-
* Whether to use the `applyTransactionAsync` function for *add* transactions
|
|
448
|
-
* @remarks Defaults to false
|
|
449
|
-
* @public
|
|
450
|
-
*/
|
|
451
|
-
asyncAdd: boolean;
|
|
452
|
-
/**
|
|
453
|
-
* Whether to use the `applyTransactionAsync` function for *remove* transactions
|
|
454
|
-
* @remarks Defaults to false
|
|
455
|
-
* @public
|
|
456
|
-
*/
|
|
457
|
-
asyncRemove: boolean;
|
|
458
|
-
/**
|
|
459
|
-
* Whether to use the `applyTransactionAsync` function for *update* transactions
|
|
460
|
-
* @remarks Defaults to true
|
|
461
|
-
* @public
|
|
462
|
-
*/
|
|
463
|
-
asyncUpdate: boolean;
|
|
464
|
-
/**
|
|
465
|
-
* If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef
|
|
466
|
-
* @remarks Defaults to true
|
|
467
|
-
* @public
|
|
468
|
-
*/
|
|
469
|
-
enableCellFlashing: boolean;
|
|
470
|
-
/**
|
|
471
|
-
* If true, will enable row flashing for all rows for `add` async transactions
|
|
472
|
-
* @public
|
|
473
|
-
*/
|
|
474
|
-
enableRowFlashing: boolean;
|
|
475
450
|
/**
|
|
476
451
|
* 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.
|
|
477
452
|
*
|
|
@@ -536,6 +511,7 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
536
511
|
editEntityModal: any;
|
|
537
512
|
sizeColumnsToFit: boolean;
|
|
538
513
|
enableFilterBar: boolean;
|
|
514
|
+
enableCellFlashing: boolean;
|
|
539
515
|
hideEdit: boolean;
|
|
540
516
|
hideDelete: boolean;
|
|
541
517
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAUzF,OAAO,EAAuB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AAKvF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC,CAAC;;;;;;;;;;IAwFxF
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAUzF,OAAO,EAAuB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AAKvF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC,CAAC;;;;;;;;;;IAwFxF;;;;;;;;;;OAUG;;;;;;;;;;;;;;;IA4BH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDA6KH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAjTL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAKa,gBAAiB,SAAQ,qBAA2B;IAC/D;;;;;;;OAOG;IACM,SAAS,CAAC,OAAO,EAAG,OAAO,CAAC;IAErC;;;OAGG;IACG,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,CAAC,GAAG,IAAI,OAAA,KAAK,EAAE,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAE7C;;;OAGG;IACG,WAAW,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACG,WAAW,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACG,WAAW,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACG,KAAK,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACG,WAAW,EAAE,MAAM,CAAM;IAE/B;;;;;;;;;;OAUG;IAC8C,qBAAqB,EAAE,MAAM,CAAC;IAE/E;;;OAGG;IACS,WAAW,EAAE,WAAW,CAAC;IAErC;;;OAGG;IACS,OAAO,EAAE,MAAM,EAAE,CAAC;IAE9B;;;;;;;OAOG;IACS,gBAAgB,EAAE,uBAAuB,CAAC;IAC1C,YAAY,EAAE,GAAG,CAAC;IAClB,kBAAkB,EAAE,GAAG,CAAC;IACxB,kBAAkB,EAAE,GAAG,CAAC;IAEpC;;;OAGG;IACS,gBAAgB,EAAE,MAAM,CAAC;IAErC;;;;;;;OAOG;IACS,cAAc,EAAE,GAAG,CAAC;IAGhC;;;OAGG;IACS,YAAY,EAAE,GAAG,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IAEpB,mBAAmB,EAAE,GAAG,CAAC;IAErC;;OAEG;IACS,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAS;IAC9C,uBAAuB;IAShB,eAAe,EAAE,GAAG,CAAC;IAEiC,gBAAgB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;IACvC,QAAQ,EAAE,OAAO,CAAS;IACxB,UAAU,EAAE,OAAO,CAAS;IAEjF;;;OAGG;IACoC,aAAa,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAW;IAE5F;;;OAGG;IACG,iBAAiB;IAcvB;;;OAGG;IACM,SAAS,IAAI,IAAI;IAe1B;;;;;;;OAOG;IACU,mBAAmB,CAAC,CAAC,EAAE,WAAW;IAI/C;;;;;OAKG;IACH,OAAO,CAAC,YAAY,CAElB;IAEF;;;;OAIG;IACI,YAAY;IASnB;;;;;OAKG;YACW,UAAU;IA4BxB,OAAO,CAAC,UAAU;IAMX,UAAU;IAKV,eAAe,CAAC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAI7C;;;;;OAKG;IACG,YAAY,CAAC,CAAC,EAAE,WAAW;IAK3B,aAAa;IAoBnB,OAAO,CAAC,sBAAsB;IAgB9B;;;OAGG;IACI,WAAW,CAAC,OAAO,KAAA;IAuB1B;;OAEG;IACI,UAAU,CAAC,KAAK,EAAE,YAAY,EAAE;CAexC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAmB9C;;;GAGG;AACH,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAmB9C;;;GAGG;AACH,eAAO,MAAM,QAAQ,uEA+CpB,CAAC"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -8,11 +8,7 @@ export declare class List extends FASTElement {
|
|
|
8
8
|
persistColumnStateKey: string;
|
|
9
9
|
sizeColumnsToFit: boolean;
|
|
10
10
|
enableFilterBar: boolean;
|
|
11
|
-
asyncAdd: boolean;
|
|
12
|
-
asyncRemove: boolean;
|
|
13
|
-
asyncUpdate: boolean;
|
|
14
11
|
enableCellFlashing: boolean;
|
|
15
|
-
enableRowFlashing: boolean;
|
|
16
12
|
hideEdit: boolean;
|
|
17
13
|
hideDelete: boolean;
|
|
18
14
|
grid: ZeroGridPro;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAC9F,OAAO,EAAuB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAK/D,qBAKa,IAAK,SAAQ,WAAW;IAC7B,YAAY,EAAE,MAAM,CAAM;IAC1B,KAAK,EAAE,MAAM,CAAM;IACwB,qBAAqB,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAC9F,OAAO,EAAuB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAK/D,qBAKa,IAAK,SAAQ,WAAW;IAC7B,YAAY,EAAE,MAAM,CAAM;IAC1B,KAAK,EAAE,MAAM,CAAM;IACwB,qBAAqB,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;IACvC,QAAQ,EAAE,OAAO,CAAS;IACxB,UAAU,EAAE,OAAO,CAAS;IAC1E,IAAI,EAAG,WAAW,CAAC;IACnB,UAAU,EAAG,wBAAwB,CAAC;IACjC,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gBAAgB,EAAE,uBAAuB,CAAC;IAC1C,mBAAmB,QAAM;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IAEhC,iBAAiB;IA4BjB,oBAAoB,IAAI,IAAI;IAQ5B,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;CAGf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY,2DAqDxB,CAAC"}
|
|
@@ -46,35 +46,6 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
46
46
|
* @public
|
|
47
47
|
*/
|
|
48
48
|
this.entityLabel = '';
|
|
49
|
-
/**
|
|
50
|
-
* Whether to use the `applyTransactionAsync` function for *add* transactions
|
|
51
|
-
* @remarks Defaults to false
|
|
52
|
-
* @public
|
|
53
|
-
*/
|
|
54
|
-
this.asyncAdd = false;
|
|
55
|
-
/**
|
|
56
|
-
* Whether to use the `applyTransactionAsync` function for *remove* transactions
|
|
57
|
-
* @remarks Defaults to false
|
|
58
|
-
* @public
|
|
59
|
-
*/
|
|
60
|
-
this.asyncRemove = false;
|
|
61
|
-
/**
|
|
62
|
-
* Whether to use the `applyTransactionAsync` function for *update* transactions
|
|
63
|
-
* @remarks Defaults to true
|
|
64
|
-
* @public
|
|
65
|
-
*/
|
|
66
|
-
this.asyncUpdate = true;
|
|
67
|
-
/**
|
|
68
|
-
* If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef
|
|
69
|
-
* @remarks Defaults to true
|
|
70
|
-
* @public
|
|
71
|
-
*/
|
|
72
|
-
this.enableCellFlashing = false;
|
|
73
|
-
/**
|
|
74
|
-
* If true, will enable row flashing for all rows for `add` async transactions
|
|
75
|
-
* @public
|
|
76
|
-
*/
|
|
77
|
-
this.enableRowFlashing = false;
|
|
78
49
|
this.editModalVisible = false;
|
|
79
50
|
this.hideEdit = false;
|
|
80
51
|
this.hideDelete = false;
|
|
@@ -317,21 +288,6 @@ __decorate([
|
|
|
317
288
|
__decorate([
|
|
318
289
|
attr
|
|
319
290
|
], EntityManagement.prototype, "entityLabel", void 0);
|
|
320
|
-
__decorate([
|
|
321
|
-
attr({ mode: 'boolean', attribute: 'async-add' })
|
|
322
|
-
], EntityManagement.prototype, "asyncAdd", void 0);
|
|
323
|
-
__decorate([
|
|
324
|
-
attr({ mode: 'boolean', attribute: 'async-remove' })
|
|
325
|
-
], EntityManagement.prototype, "asyncRemove", void 0);
|
|
326
|
-
__decorate([
|
|
327
|
-
attr({ mode: 'boolean', attribute: 'async-update' })
|
|
328
|
-
], EntityManagement.prototype, "asyncUpdate", void 0);
|
|
329
|
-
__decorate([
|
|
330
|
-
attr({ mode: 'boolean', attribute: 'enable-cell-flashing' })
|
|
331
|
-
], EntityManagement.prototype, "enableCellFlashing", void 0);
|
|
332
|
-
__decorate([
|
|
333
|
-
attr({ mode: 'boolean', attribute: 'enable-row-flashing' })
|
|
334
|
-
], EntityManagement.prototype, "enableRowFlashing", void 0);
|
|
335
291
|
__decorate([
|
|
336
292
|
attr({ attribute: 'persist-column-state-key' })
|
|
337
293
|
], EntityManagement.prototype, "persistColumnStateKey", void 0);
|
|
@@ -380,6 +336,9 @@ __decorate([
|
|
|
380
336
|
__decorate([
|
|
381
337
|
attr({ mode: 'boolean', attribute: 'enable-filter-bar' })
|
|
382
338
|
], EntityManagement.prototype, "enableFilterBar", void 0);
|
|
339
|
+
__decorate([
|
|
340
|
+
attr({ mode: 'boolean', attribute: 'enable-cell-flashing' })
|
|
341
|
+
], EntityManagement.prototype, "enableCellFlashing", void 0);
|
|
383
342
|
__decorate([
|
|
384
343
|
attr({ mode: 'boolean', attribute: 'hide-edit' })
|
|
385
344
|
], EntityManagement.prototype, "hideEdit", void 0);
|
|
@@ -22,11 +22,6 @@ export const template = html `
|
|
|
22
22
|
<slot name="header" part="header">${defaultHeader}</slot>
|
|
23
23
|
<entity-list
|
|
24
24
|
title=${(x) => x.title}
|
|
25
|
-
async-add=${(x) => x.asyncAdd}
|
|
26
|
-
async-remove=${(x) => x.asyncRemove}
|
|
27
|
-
async-update=${(x) => x.asyncUpdate}
|
|
28
|
-
enable-cell-flashing=${(x) => x.enableCellFlashing}
|
|
29
|
-
enable-row-flashing=${(x) => x.enableRowFlashing}
|
|
30
25
|
persist-column-state-key=${(x) => x.persistColumnStateKey}
|
|
31
26
|
size-columns-to-fit=${(x) => x.sizeColumnsToFit}
|
|
32
27
|
enable-filter-bar=${(x) => x.enableFilterBar}
|
package/dist/esm/list/list.js
CHANGED
|
@@ -9,11 +9,6 @@ let List = class List extends FASTElement {
|
|
|
9
9
|
super(...arguments);
|
|
10
10
|
this.resourceName = '';
|
|
11
11
|
this.title = '';
|
|
12
|
-
this.asyncAdd = false;
|
|
13
|
-
this.asyncRemove = false;
|
|
14
|
-
this.asyncUpdate = true;
|
|
15
|
-
this.enableCellFlashing = false;
|
|
16
|
-
this.enableRowFlashing = false;
|
|
17
12
|
this.hideEdit = false;
|
|
18
13
|
this.hideDelete = false;
|
|
19
14
|
this.actionButtonsConfig = [];
|
|
@@ -85,21 +80,9 @@ __decorate([
|
|
|
85
80
|
__decorate([
|
|
86
81
|
attr({ mode: 'boolean', attribute: 'enable-filter-bar' })
|
|
87
82
|
], List.prototype, "enableFilterBar", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
attr({ mode: 'boolean', attribute: 'async-add' })
|
|
90
|
-
], List.prototype, "asyncAdd", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
attr({ mode: 'boolean', attribute: 'async-remove' })
|
|
93
|
-
], List.prototype, "asyncRemove", void 0);
|
|
94
|
-
__decorate([
|
|
95
|
-
attr({ mode: 'boolean', attribute: 'async-update' })
|
|
96
|
-
], List.prototype, "asyncUpdate", void 0);
|
|
97
83
|
__decorate([
|
|
98
84
|
attr({ mode: 'boolean', attribute: 'enable-cell-flashing' })
|
|
99
85
|
], List.prototype, "enableCellFlashing", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
attr({ mode: 'boolean', attribute: 'enable-row-flashing' })
|
|
102
|
-
], List.prototype, "enableRowFlashing", void 0);
|
|
103
86
|
__decorate([
|
|
104
87
|
attr({ mode: 'boolean', attribute: 'hide-edit' })
|
|
105
88
|
], List.prototype, "hideEdit", void 0);
|
|
@@ -19,11 +19,7 @@ export const listTemplate = html `
|
|
|
19
19
|
?only-template-col-defs=${(x) => !!x.columns}
|
|
20
20
|
suppressCellFocus="true"
|
|
21
21
|
suppressRowDeselection="true"
|
|
22
|
-
async-add=${(x) => x.asyncAdd}
|
|
23
|
-
async-remove=${(x) => x.asyncRemove}
|
|
24
|
-
async-update=${(x) => x.asyncUpdate}
|
|
25
22
|
enable-cell-flashing=${(x) => x.enableCellFlashing}
|
|
26
|
-
enable-row-flashing=${(x) => x.enableRowFlashing}
|
|
27
23
|
>
|
|
28
24
|
<grid-pro-genesis-datasource
|
|
29
25
|
${ref('datasource')}
|
|
@@ -265,96 +265,6 @@
|
|
|
265
265
|
"name": "EntityManagement",
|
|
266
266
|
"preserveMemberOrder": false,
|
|
267
267
|
"members": [
|
|
268
|
-
{
|
|
269
|
-
"kind": "Property",
|
|
270
|
-
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#asyncAdd:member",
|
|
271
|
-
"docComment": "/**\n * Whether to use the `applyTransactionAsync` function for *add* transactions\n *\n * @remarks\n *\n * Defaults to false\n *\n * @public\n */\n",
|
|
272
|
-
"excerptTokens": [
|
|
273
|
-
{
|
|
274
|
-
"kind": "Content",
|
|
275
|
-
"text": "asyncAdd: "
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"kind": "Content",
|
|
279
|
-
"text": "boolean"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"kind": "Content",
|
|
283
|
-
"text": ";"
|
|
284
|
-
}
|
|
285
|
-
],
|
|
286
|
-
"isReadonly": false,
|
|
287
|
-
"isOptional": false,
|
|
288
|
-
"releaseTag": "Public",
|
|
289
|
-
"name": "asyncAdd",
|
|
290
|
-
"propertyTypeTokenRange": {
|
|
291
|
-
"startIndex": 1,
|
|
292
|
-
"endIndex": 2
|
|
293
|
-
},
|
|
294
|
-
"isStatic": false,
|
|
295
|
-
"isProtected": false,
|
|
296
|
-
"isAbstract": false
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"kind": "Property",
|
|
300
|
-
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#asyncRemove:member",
|
|
301
|
-
"docComment": "/**\n * Whether to use the `applyTransactionAsync` function for *remove* transactions\n *\n * @remarks\n *\n * Defaults to false\n *\n * @public\n */\n",
|
|
302
|
-
"excerptTokens": [
|
|
303
|
-
{
|
|
304
|
-
"kind": "Content",
|
|
305
|
-
"text": "asyncRemove: "
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
"kind": "Content",
|
|
309
|
-
"text": "boolean"
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"kind": "Content",
|
|
313
|
-
"text": ";"
|
|
314
|
-
}
|
|
315
|
-
],
|
|
316
|
-
"isReadonly": false,
|
|
317
|
-
"isOptional": false,
|
|
318
|
-
"releaseTag": "Public",
|
|
319
|
-
"name": "asyncRemove",
|
|
320
|
-
"propertyTypeTokenRange": {
|
|
321
|
-
"startIndex": 1,
|
|
322
|
-
"endIndex": 2
|
|
323
|
-
},
|
|
324
|
-
"isStatic": false,
|
|
325
|
-
"isProtected": false,
|
|
326
|
-
"isAbstract": false
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"kind": "Property",
|
|
330
|
-
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#asyncUpdate:member",
|
|
331
|
-
"docComment": "/**\n * Whether to use the `applyTransactionAsync` function for *update* transactions\n *\n * @remarks\n *\n * Defaults to true\n *\n * @public\n */\n",
|
|
332
|
-
"excerptTokens": [
|
|
333
|
-
{
|
|
334
|
-
"kind": "Content",
|
|
335
|
-
"text": "asyncUpdate: "
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"kind": "Content",
|
|
339
|
-
"text": "boolean"
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"kind": "Content",
|
|
343
|
-
"text": ";"
|
|
344
|
-
}
|
|
345
|
-
],
|
|
346
|
-
"isReadonly": false,
|
|
347
|
-
"isOptional": false,
|
|
348
|
-
"releaseTag": "Public",
|
|
349
|
-
"name": "asyncUpdate",
|
|
350
|
-
"propertyTypeTokenRange": {
|
|
351
|
-
"startIndex": 1,
|
|
352
|
-
"endIndex": 2
|
|
353
|
-
},
|
|
354
|
-
"isStatic": false,
|
|
355
|
-
"isProtected": false,
|
|
356
|
-
"isAbstract": false
|
|
357
|
-
},
|
|
358
268
|
{
|
|
359
269
|
"kind": "Method",
|
|
360
270
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#closeModal:member(1)",
|
|
@@ -878,7 +788,7 @@
|
|
|
878
788
|
{
|
|
879
789
|
"kind": "Property",
|
|
880
790
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#enableCellFlashing:member",
|
|
881
|
-
"docComment": "
|
|
791
|
+
"docComment": "",
|
|
882
792
|
"excerptTokens": [
|
|
883
793
|
{
|
|
884
794
|
"kind": "Content",
|
|
@@ -935,36 +845,6 @@
|
|
|
935
845
|
"isProtected": false,
|
|
936
846
|
"isAbstract": false
|
|
937
847
|
},
|
|
938
|
-
{
|
|
939
|
-
"kind": "Property",
|
|
940
|
-
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#enableRowFlashing:member",
|
|
941
|
-
"docComment": "/**\n * If true, will enable row flashing for all rows for `add` async transactions\n *\n * @public\n */\n",
|
|
942
|
-
"excerptTokens": [
|
|
943
|
-
{
|
|
944
|
-
"kind": "Content",
|
|
945
|
-
"text": "enableRowFlashing: "
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
"kind": "Content",
|
|
949
|
-
"text": "boolean"
|
|
950
|
-
},
|
|
951
|
-
{
|
|
952
|
-
"kind": "Content",
|
|
953
|
-
"text": ";"
|
|
954
|
-
}
|
|
955
|
-
],
|
|
956
|
-
"isReadonly": false,
|
|
957
|
-
"isOptional": false,
|
|
958
|
-
"releaseTag": "Public",
|
|
959
|
-
"name": "enableRowFlashing",
|
|
960
|
-
"propertyTypeTokenRange": {
|
|
961
|
-
"startIndex": 1,
|
|
962
|
-
"endIndex": 2
|
|
963
|
-
},
|
|
964
|
-
"isStatic": false,
|
|
965
|
-
"isProtected": false,
|
|
966
|
-
"isAbstract": false
|
|
967
|
-
},
|
|
968
848
|
{
|
|
969
849
|
"kind": "Property",
|
|
970
850
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#entityLabel:member",
|
|
@@ -125,35 +125,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
125
125
|
* @public
|
|
126
126
|
*/
|
|
127
127
|
entityLabel: string;
|
|
128
|
-
/**
|
|
129
|
-
* Whether to use the `applyTransactionAsync` function for *add* transactions
|
|
130
|
-
* @remarks Defaults to false
|
|
131
|
-
* @public
|
|
132
|
-
*/
|
|
133
|
-
asyncAdd: boolean;
|
|
134
|
-
/**
|
|
135
|
-
* Whether to use the `applyTransactionAsync` function for *remove* transactions
|
|
136
|
-
* @remarks Defaults to false
|
|
137
|
-
* @public
|
|
138
|
-
*/
|
|
139
|
-
asyncRemove: boolean;
|
|
140
|
-
/**
|
|
141
|
-
* Whether to use the `applyTransactionAsync` function for *update* transactions
|
|
142
|
-
* @remarks Defaults to true
|
|
143
|
-
* @public
|
|
144
|
-
*/
|
|
145
|
-
asyncUpdate: boolean;
|
|
146
|
-
/**
|
|
147
|
-
* If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef
|
|
148
|
-
* @remarks Defaults to true
|
|
149
|
-
* @public
|
|
150
|
-
*/
|
|
151
|
-
enableCellFlashing: boolean;
|
|
152
|
-
/**
|
|
153
|
-
* If true, will enable row flashing for all rows for `add` async transactions
|
|
154
|
-
* @public
|
|
155
|
-
*/
|
|
156
|
-
enableRowFlashing: boolean;
|
|
157
128
|
/**
|
|
158
129
|
* 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.
|
|
159
130
|
*
|
|
@@ -218,6 +189,7 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
218
189
|
editEntityModal: any;
|
|
219
190
|
sizeColumnsToFit: boolean;
|
|
220
191
|
enableFilterBar: boolean;
|
|
192
|
+
enableCellFlashing: boolean;
|
|
221
193
|
hideEdit: boolean;
|
|
222
194
|
hideDelete: boolean;
|
|
223
195
|
/**
|
|
@@ -297,8 +269,14 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
297
269
|
deepClone(): Node;
|
|
298
270
|
readonly shouldRunDisconnect: boolean;
|
|
299
271
|
/**
|
|
300
|
-
*
|
|
301
|
-
*
|
|
272
|
+
* 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.
|
|
273
|
+
*
|
|
274
|
+
* @remarks
|
|
275
|
+
*
|
|
276
|
+
* Setting this value will set the entity manager to persist the column states through page refreshes etc. An example of what is stored is when the user resizes or reorders columns.
|
|
277
|
+
* This value must be unique for each table in your app otherwise the persisted data will be corrupted.
|
|
278
|
+
* There is an option on the grid for the user to reset the table to the default layout if they wish.
|
|
279
|
+
* If you omit this attribute then nothing is persisted
|
|
302
280
|
* @public
|
|
303
281
|
*/
|
|
304
282
|
readonly shouldRunConnect: boolean;
|
|
@@ -315,6 +293,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
315
293
|
dir: string;
|
|
316
294
|
draggable: boolean;
|
|
317
295
|
hidden: boolean;
|
|
296
|
+
/**
|
|
297
|
+
* The name of the resource in the backend to interact with when dispatching actions from the update/create modal
|
|
298
|
+
* @internal
|
|
299
|
+
*/
|
|
318
300
|
inert: boolean;
|
|
319
301
|
innerText: string;
|
|
320
302
|
lang: string;
|
|
@@ -338,14 +320,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
338
320
|
className: string;
|
|
339
321
|
readonly clientHeight: number;
|
|
340
322
|
readonly clientLeft: number;
|
|
341
|
-
/**
|
|
342
|
-
* Reference to the currently selected entity from the grid.
|
|
343
|
-
*
|
|
344
|
-
* @remarks
|
|
345
|
-
*
|
|
346
|
-
* When the user attempts to initiate functionality such as deleting or editing an entity, the entity which will be deleted/edited is the one which is referenced by this variable
|
|
347
|
-
* @public
|
|
348
|
-
*/
|
|
349
323
|
readonly clientTop: number;
|
|
350
324
|
readonly clientWidth: number;
|
|
351
325
|
id: string;
|
|
@@ -432,7 +406,12 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
432
406
|
isDefaultNamespace(namespace: string): boolean;
|
|
433
407
|
isEqualNode(otherNode: Node): boolean;
|
|
434
408
|
isSameNode(otherNode: Node): boolean;
|
|
435
|
-
lookupNamespaceURI(prefix: string): string;
|
|
409
|
+
lookupNamespaceURI(prefix: string): string; /**
|
|
410
|
+
* Handler for deleting the entity. Added as an event listener on the class when receiving the `delete-entity` event.
|
|
411
|
+
*
|
|
412
|
+
* @param e - CustomEvent where `e.detail` contains data to update the selectedEntity reference with the entity to delete.
|
|
413
|
+
* @internal
|
|
414
|
+
*/
|
|
436
415
|
lookupPrefix(namespace: string): string;
|
|
437
416
|
normalize(): void;
|
|
438
417
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
@@ -499,10 +478,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
499
478
|
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
500
479
|
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
501
480
|
after(...nodes: (string | Node)[]): void;
|
|
502
|
-
before(...nodes: (string | Node)[]): void;
|
|
503
|
-
* Show notifications if the executed event returned an error.
|
|
504
|
-
* @internal
|
|
505
|
-
*/
|
|
481
|
+
before(...nodes: (string | Node)[]): void;
|
|
506
482
|
remove(): void;
|
|
507
483
|
replaceWith(...nodes: (string | Node)[]): void;
|
|
508
484
|
innerHTML: string;
|
|
@@ -4,15 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
## EntityManagement.enableCellFlashing property
|
|
6
6
|
|
|
7
|
-
If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef
|
|
8
|
-
|
|
9
7
|
**Signature:**
|
|
10
8
|
|
|
11
9
|
```typescript
|
|
12
10
|
enableCellFlashing: boolean;
|
|
13
11
|
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Defaults to true
|
|
18
|
-
|
|
@@ -36,9 +36,6 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
36
36
|
|
|
37
37
|
| Property | Modifiers | Type | Description |
|
|
38
38
|
| --- | --- | --- | --- |
|
|
39
|
-
| [asyncAdd](./foundation-entity-management.entitymanagement.asyncadd.md) | | boolean | Whether to use the <code>applyTransactionAsync</code> function for \*add\* transactions |
|
|
40
|
-
| [asyncRemove](./foundation-entity-management.entitymanagement.asyncremove.md) | | boolean | Whether to use the <code>applyTransactionAsync</code> function for \*remove\* transactions |
|
|
41
|
-
| [asyncUpdate](./foundation-entity-management.entitymanagement.asyncupdate.md) | | boolean | Whether to use the <code>applyTransactionAsync</code> function for \*update\* transactions |
|
|
42
39
|
| [columns](./foundation-entity-management.entitymanagement.columns.md) | | ColDef\[\] | Array which holds the column definitions. |
|
|
43
40
|
| [connect](./foundation-entity-management.entitymanagement.connect.md) | <code>protected</code> | Connect | DI connect object which is used to interact with the backend. |
|
|
44
41
|
| [createEvent](./foundation-entity-management.entitymanagement.createevent.md) | | string | Name of the event handler on the Genesis server which handles creating an entity |
|
|
@@ -50,9 +47,8 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
50
47
|
| [editedEntity](./foundation-entity-management.entitymanagement.editedentity.md) | | any | Disables the form while enabled to stop the user dispatching a large number of duplicate events |
|
|
51
48
|
| [editEntityModal](./foundation-entity-management.entitymanagement.editentitymodal.md) | | any | |
|
|
52
49
|
| [editModalVisible](./foundation-entity-management.entitymanagement.editmodalvisible.md) | | boolean | |
|
|
53
|
-
| [enableCellFlashing](./foundation-entity-management.entitymanagement.enablecellflashing.md) | | boolean |
|
|
50
|
+
| [enableCellFlashing](./foundation-entity-management.entitymanagement.enablecellflashing.md) | | boolean | |
|
|
54
51
|
| [enableFilterBar](./foundation-entity-management.entitymanagement.enablefilterbar.md) | | boolean | |
|
|
55
|
-
| [enableRowFlashing](./foundation-entity-management.entitymanagement.enablerowflashing.md) | | boolean | If true, will enable row flashing for all rows for <code>add</code> async transactions |
|
|
56
52
|
| [entityLabel](./foundation-entity-management.entitymanagement.entitylabel.md) | | string | Label for the entity which has usages such as being shown in the title of the modal wen editing the entity |
|
|
57
53
|
| [formUiSchema](./foundation-entity-management.entitymanagement.formuischema.md) | | any | |
|
|
58
54
|
| [gridOptions](./foundation-entity-management.entitymanagement.gridoptions.md) | | GridOptions | GridOptions to be passed down from application |
|
package/docs/api-report.md
CHANGED
|
@@ -40,9 +40,6 @@ export const DynamicTemplate: ViewTemplate<MainApplication>;
|
|
|
40
40
|
//
|
|
41
41
|
// @public
|
|
42
42
|
export class EntityManagement extends EntityManagement_base {
|
|
43
|
-
asyncAdd: boolean;
|
|
44
|
-
asyncRemove: boolean;
|
|
45
|
-
asyncUpdate: boolean;
|
|
46
43
|
// (undocumented)
|
|
47
44
|
closeModal(): void;
|
|
48
45
|
columns: ColDef[];
|
|
@@ -73,10 +70,10 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
73
70
|
editModalVisible: boolean;
|
|
74
71
|
// (undocumented)
|
|
75
72
|
editModalVisibleChanged(): void;
|
|
73
|
+
// (undocumented)
|
|
76
74
|
enableCellFlashing: boolean;
|
|
77
75
|
// (undocumented)
|
|
78
76
|
enableFilterBar: boolean;
|
|
79
|
-
enableRowFlashing: boolean;
|
|
80
77
|
entityLabel: string;
|
|
81
78
|
// @internal
|
|
82
79
|
errorNotify(request: any): void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-entity-management",
|
|
3
3
|
"description": "Genesis Foundation Entity Management",
|
|
4
|
-
"version": "14.78.4-alpha-
|
|
4
|
+
"version": "14.78.4-alpha-c15b781.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -41,21 +41,21 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@genesislcap/foundation-login": "^14.40.0",
|
|
44
|
-
"@genesislcap/foundation-testing": "14.78.4-alpha-
|
|
45
|
-
"@genesislcap/genx": "14.78.4-alpha-
|
|
44
|
+
"@genesislcap/foundation-testing": "14.78.4-alpha-c15b781.0",
|
|
45
|
+
"@genesislcap/genx": "14.78.4-alpha-c15b781.0",
|
|
46
46
|
"rimraf": "^3.0.2"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@ag-grid-community/core": "29.2.0",
|
|
50
|
-
"@genesislcap/foundation-comms": "14.78.4-alpha-
|
|
51
|
-
"@genesislcap/foundation-errors": "14.78.4-alpha-
|
|
52
|
-
"@genesislcap/foundation-forms": "14.78.4-alpha-
|
|
53
|
-
"@genesislcap/foundation-login": "14.78.4-alpha-
|
|
54
|
-
"@genesislcap/foundation-ui": "14.78.4-alpha-
|
|
55
|
-
"@genesislcap/foundation-utils": "14.78.4-alpha-
|
|
56
|
-
"@genesislcap/foundation-zero": "14.78.4-alpha-
|
|
57
|
-
"@genesislcap/foundation-zero-grid-pro": "14.78.4-alpha-
|
|
58
|
-
"@genesislcap/grid-pro": "14.78.4-alpha-
|
|
50
|
+
"@genesislcap/foundation-comms": "14.78.4-alpha-c15b781.0",
|
|
51
|
+
"@genesislcap/foundation-errors": "14.78.4-alpha-c15b781.0",
|
|
52
|
+
"@genesislcap/foundation-forms": "14.78.4-alpha-c15b781.0",
|
|
53
|
+
"@genesislcap/foundation-login": "14.78.4-alpha-c15b781.0",
|
|
54
|
+
"@genesislcap/foundation-ui": "14.78.4-alpha-c15b781.0",
|
|
55
|
+
"@genesislcap/foundation-utils": "14.78.4-alpha-c15b781.0",
|
|
56
|
+
"@genesislcap/foundation-zero": "14.78.4-alpha-c15b781.0",
|
|
57
|
+
"@genesislcap/foundation-zero-grid-pro": "14.78.4-alpha-c15b781.0",
|
|
58
|
+
"@genesislcap/grid-pro": "14.78.4-alpha-c15b781.0",
|
|
59
59
|
"@microsoft/fast-components": "^2.21.3",
|
|
60
60
|
"@microsoft/fast-element": "^1.7.0",
|
|
61
61
|
"@microsoft/fast-foundation": "^2.33.2",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
73
|
"customElements": "dist/custom-elements.json",
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "5e23e23712c79fb9ce4707b6a68a4baef0d9141d"
|
|
75
75
|
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [asyncAdd](./foundation-entity-management.entitymanagement.asyncadd.md)
|
|
4
|
-
|
|
5
|
-
## EntityManagement.asyncAdd property
|
|
6
|
-
|
|
7
|
-
Whether to use the `applyTransactionAsync` function for \*add\* transactions
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
asyncAdd: boolean;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Defaults to false
|
|
18
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [asyncRemove](./foundation-entity-management.entitymanagement.asyncremove.md)
|
|
4
|
-
|
|
5
|
-
## EntityManagement.asyncRemove property
|
|
6
|
-
|
|
7
|
-
Whether to use the `applyTransactionAsync` function for \*remove\* transactions
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
asyncRemove: boolean;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Defaults to false
|
|
18
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [asyncUpdate](./foundation-entity-management.entitymanagement.asyncupdate.md)
|
|
4
|
-
|
|
5
|
-
## EntityManagement.asyncUpdate property
|
|
6
|
-
|
|
7
|
-
Whether to use the `applyTransactionAsync` function for \*update\* transactions
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
asyncUpdate: boolean;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Defaults to true
|
|
18
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [enableRowFlashing](./foundation-entity-management.entitymanagement.enablerowflashing.md)
|
|
4
|
-
|
|
5
|
-
## EntityManagement.enableRowFlashing property
|
|
6
|
-
|
|
7
|
-
If true, will enable row flashing for all rows for `add` async transactions
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
enableRowFlashing: boolean;
|
|
13
|
-
```
|