@genesislcap/foundation-entity-management 14.79.0 → 14.79.2-alpha-ca658e8.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 +345 -85
- package/dist/dts/entities/entities.d.ts +44 -20
- 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 +4 -0
- 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 +44 -3
- package/dist/esm/entities/entities.template.js +5 -0
- package/dist/esm/list/list.js +17 -0
- package/dist/esm/list/list.template.js +4 -0
- package/dist/foundation-entity-management.api.json +121 -1
- package/dist/foundation-entity-management.d.ts +44 -20
- package/docs/api/foundation-entity-management.entitymanagement.asyncadd.md +18 -0
- package/docs/api/foundation-entity-management.entitymanagement.asyncremove.md +18 -0
- package/docs/api/foundation-entity-management.entitymanagement.asyncupdate.md +18 -0
- package/docs/api/foundation-entity-management.entitymanagement.enablecellflashing.md +7 -0
- package/docs/api/foundation-entity-management.entitymanagement.enablerowflashing.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.md +5 -1
- package/docs/api-report.md +4 -1
- package/package.json +13 -13
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
{
|
|
117
117
|
"kind": "variable",
|
|
118
118
|
"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 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`",
|
|
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 async-add=${(x) => x.asyncAdd}\n async-remove=${(x) => x.asyncRemove}\n async-update=${(x) => x.asyncUpdate}\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n enable-row-flashing=${(x) => x.enableRowFlashing}\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
120
|
"description": "Defines the html of the entity component as a ViewTemplate object"
|
|
121
121
|
}
|
|
122
122
|
],
|
|
@@ -225,6 +225,56 @@
|
|
|
225
225
|
"description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
|
|
226
226
|
"privacy": "public"
|
|
227
227
|
},
|
|
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
|
+
},
|
|
228
278
|
{
|
|
229
279
|
"kind": "field",
|
|
230
280
|
"name": "persistColumnStateKey",
|
|
@@ -356,13 +406,6 @@
|
|
|
356
406
|
"text": "boolean"
|
|
357
407
|
}
|
|
358
408
|
},
|
|
359
|
-
{
|
|
360
|
-
"kind": "field",
|
|
361
|
-
"name": "enableCellFlashing",
|
|
362
|
-
"type": {
|
|
363
|
-
"text": "boolean"
|
|
364
|
-
}
|
|
365
|
-
},
|
|
366
409
|
{
|
|
367
410
|
"kind": "field",
|
|
368
411
|
"name": "hideEdit",
|
|
@@ -519,6 +562,51 @@
|
|
|
519
562
|
"description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
|
|
520
563
|
"fieldName": "entityLabel"
|
|
521
564
|
},
|
|
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
|
+
},
|
|
522
610
|
{
|
|
523
611
|
"name": "persist-column-state-key",
|
|
524
612
|
"type": {
|
|
@@ -541,13 +629,6 @@
|
|
|
541
629
|
},
|
|
542
630
|
"fieldName": "enableFilterBar"
|
|
543
631
|
},
|
|
544
|
-
{
|
|
545
|
-
"name": "enable-cell-flashing",
|
|
546
|
-
"type": {
|
|
547
|
-
"text": "boolean"
|
|
548
|
-
},
|
|
549
|
-
"fieldName": "enableCellFlashing"
|
|
550
|
-
},
|
|
551
632
|
{
|
|
552
633
|
"name": "hide-edit",
|
|
553
634
|
"type": {
|
|
@@ -673,55 +754,6 @@
|
|
|
673
754
|
}
|
|
674
755
|
]
|
|
675
756
|
},
|
|
676
|
-
{
|
|
677
|
-
"kind": "javascript-module",
|
|
678
|
-
"path": "src/layouts/default.ts",
|
|
679
|
-
"declarations": [
|
|
680
|
-
{
|
|
681
|
-
"kind": "variable",
|
|
682
|
-
"name": "loginLayout",
|
|
683
|
-
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
684
|
-
},
|
|
685
|
-
{
|
|
686
|
-
"kind": "variable",
|
|
687
|
-
"name": "defaultLayout",
|
|
688
|
-
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
689
|
-
}
|
|
690
|
-
],
|
|
691
|
-
"exports": [
|
|
692
|
-
{
|
|
693
|
-
"kind": "js",
|
|
694
|
-
"name": "loginLayout",
|
|
695
|
-
"declaration": {
|
|
696
|
-
"name": "loginLayout",
|
|
697
|
-
"module": "src/layouts/default.ts"
|
|
698
|
-
}
|
|
699
|
-
},
|
|
700
|
-
{
|
|
701
|
-
"kind": "js",
|
|
702
|
-
"name": "defaultLayout",
|
|
703
|
-
"declaration": {
|
|
704
|
-
"name": "defaultLayout",
|
|
705
|
-
"module": "src/layouts/default.ts"
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
]
|
|
709
|
-
},
|
|
710
|
-
{
|
|
711
|
-
"kind": "javascript-module",
|
|
712
|
-
"path": "src/layouts/index.ts",
|
|
713
|
-
"declarations": [],
|
|
714
|
-
"exports": [
|
|
715
|
-
{
|
|
716
|
-
"kind": "js",
|
|
717
|
-
"name": "*",
|
|
718
|
-
"declaration": {
|
|
719
|
-
"name": "*",
|
|
720
|
-
"package": "./default"
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
]
|
|
724
|
-
},
|
|
725
757
|
{
|
|
726
758
|
"kind": "javascript-module",
|
|
727
759
|
"path": "src/list/index.ts",
|
|
@@ -765,7 +797,7 @@
|
|
|
765
797
|
{
|
|
766
798
|
"kind": "variable",
|
|
767
799
|
"name": "listTemplate",
|
|
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`"
|
|
800
|
+
"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 async-add=${(x) => x.asyncAdd}\n async-remove=${(x) => x.asyncRemove}\n async-update=${(x) => x.asyncUpdate}\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n enable-row-flashing=${(x) => x.enableRowFlashing}\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`"
|
|
769
801
|
}
|
|
770
802
|
],
|
|
771
803
|
"exports": [
|
|
@@ -825,12 +857,45 @@
|
|
|
825
857
|
"text": "boolean"
|
|
826
858
|
}
|
|
827
859
|
},
|
|
860
|
+
{
|
|
861
|
+
"kind": "field",
|
|
862
|
+
"name": "asyncAdd",
|
|
863
|
+
"type": {
|
|
864
|
+
"text": "boolean"
|
|
865
|
+
},
|
|
866
|
+
"default": "false"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"kind": "field",
|
|
870
|
+
"name": "asyncRemove",
|
|
871
|
+
"type": {
|
|
872
|
+
"text": "boolean"
|
|
873
|
+
},
|
|
874
|
+
"default": "false"
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"kind": "field",
|
|
878
|
+
"name": "asyncUpdate",
|
|
879
|
+
"type": {
|
|
880
|
+
"text": "boolean"
|
|
881
|
+
},
|
|
882
|
+
"default": "true"
|
|
883
|
+
},
|
|
828
884
|
{
|
|
829
885
|
"kind": "field",
|
|
830
886
|
"name": "enableCellFlashing",
|
|
831
887
|
"type": {
|
|
832
888
|
"text": "boolean"
|
|
833
|
-
}
|
|
889
|
+
},
|
|
890
|
+
"default": "false"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"kind": "field",
|
|
894
|
+
"name": "enableRowFlashing",
|
|
895
|
+
"type": {
|
|
896
|
+
"text": "boolean"
|
|
897
|
+
},
|
|
898
|
+
"default": "false"
|
|
834
899
|
},
|
|
835
900
|
{
|
|
836
901
|
"kind": "field",
|
|
@@ -990,13 +1055,46 @@
|
|
|
990
1055
|
},
|
|
991
1056
|
"fieldName": "enableFilterBar"
|
|
992
1057
|
},
|
|
1058
|
+
{
|
|
1059
|
+
"name": "async-add",
|
|
1060
|
+
"type": {
|
|
1061
|
+
"text": "boolean"
|
|
1062
|
+
},
|
|
1063
|
+
"default": "false",
|
|
1064
|
+
"fieldName": "asyncAdd"
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"name": "async-remove",
|
|
1068
|
+
"type": {
|
|
1069
|
+
"text": "boolean"
|
|
1070
|
+
},
|
|
1071
|
+
"default": "false",
|
|
1072
|
+
"fieldName": "asyncRemove"
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"name": "async-update",
|
|
1076
|
+
"type": {
|
|
1077
|
+
"text": "boolean"
|
|
1078
|
+
},
|
|
1079
|
+
"default": "true",
|
|
1080
|
+
"fieldName": "asyncUpdate"
|
|
1081
|
+
},
|
|
993
1082
|
{
|
|
994
1083
|
"name": "enable-cell-flashing",
|
|
995
1084
|
"type": {
|
|
996
1085
|
"text": "boolean"
|
|
997
1086
|
},
|
|
1087
|
+
"default": "false",
|
|
998
1088
|
"fieldName": "enableCellFlashing"
|
|
999
1089
|
},
|
|
1090
|
+
{
|
|
1091
|
+
"name": "enable-row-flashing",
|
|
1092
|
+
"type": {
|
|
1093
|
+
"text": "boolean"
|
|
1094
|
+
},
|
|
1095
|
+
"default": "false",
|
|
1096
|
+
"fieldName": "enableRowFlashing"
|
|
1097
|
+
},
|
|
1000
1098
|
{
|
|
1001
1099
|
"name": "hide-edit",
|
|
1002
1100
|
"type": {
|
|
@@ -1041,6 +1139,55 @@
|
|
|
1041
1139
|
}
|
|
1042
1140
|
]
|
|
1043
1141
|
},
|
|
1142
|
+
{
|
|
1143
|
+
"kind": "javascript-module",
|
|
1144
|
+
"path": "src/layouts/default.ts",
|
|
1145
|
+
"declarations": [
|
|
1146
|
+
{
|
|
1147
|
+
"kind": "variable",
|
|
1148
|
+
"name": "loginLayout",
|
|
1149
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"kind": "variable",
|
|
1153
|
+
"name": "defaultLayout",
|
|
1154
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
1155
|
+
}
|
|
1156
|
+
],
|
|
1157
|
+
"exports": [
|
|
1158
|
+
{
|
|
1159
|
+
"kind": "js",
|
|
1160
|
+
"name": "loginLayout",
|
|
1161
|
+
"declaration": {
|
|
1162
|
+
"name": "loginLayout",
|
|
1163
|
+
"module": "src/layouts/default.ts"
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"kind": "js",
|
|
1168
|
+
"name": "defaultLayout",
|
|
1169
|
+
"declaration": {
|
|
1170
|
+
"name": "defaultLayout",
|
|
1171
|
+
"module": "src/layouts/default.ts"
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
]
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"kind": "javascript-module",
|
|
1178
|
+
"path": "src/layouts/index.ts",
|
|
1179
|
+
"declarations": [],
|
|
1180
|
+
"exports": [
|
|
1181
|
+
{
|
|
1182
|
+
"kind": "js",
|
|
1183
|
+
"name": "*",
|
|
1184
|
+
"declaration": {
|
|
1185
|
+
"name": "*",
|
|
1186
|
+
"package": "./default"
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
]
|
|
1190
|
+
},
|
|
1044
1191
|
{
|
|
1045
1192
|
"kind": "javascript-module",
|
|
1046
1193
|
"path": "src/main/index.ts",
|
|
@@ -1410,6 +1557,76 @@
|
|
|
1410
1557
|
"module": "src/entities/entities.ts"
|
|
1411
1558
|
}
|
|
1412
1559
|
},
|
|
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
|
+
},
|
|
1413
1630
|
{
|
|
1414
1631
|
"kind": "field",
|
|
1415
1632
|
"name": "gridOptions",
|
|
@@ -1574,17 +1791,6 @@
|
|
|
1574
1791
|
"module": "src/entities/entities.ts"
|
|
1575
1792
|
}
|
|
1576
1793
|
},
|
|
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
|
-
},
|
|
1588
1794
|
{
|
|
1589
1795
|
"kind": "field",
|
|
1590
1796
|
"name": "hideEdit",
|
|
@@ -1812,34 +2018,39 @@
|
|
|
1812
2018
|
}
|
|
1813
2019
|
},
|
|
1814
2020
|
{
|
|
1815
|
-
"name": "
|
|
2021
|
+
"name": "async-add",
|
|
1816
2022
|
"type": {
|
|
1817
|
-
"text": "
|
|
2023
|
+
"text": "boolean"
|
|
1818
2024
|
},
|
|
1819
|
-
"
|
|
1820
|
-
"
|
|
2025
|
+
"default": "false",
|
|
2026
|
+
"description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
|
|
2027
|
+
"fieldName": "asyncAdd",
|
|
1821
2028
|
"inheritedFrom": {
|
|
1822
2029
|
"name": "EntityManagement",
|
|
1823
2030
|
"module": "src/entities/entities.ts"
|
|
1824
2031
|
}
|
|
1825
2032
|
},
|
|
1826
2033
|
{
|
|
1827
|
-
"name": "
|
|
2034
|
+
"name": "async-remove",
|
|
1828
2035
|
"type": {
|
|
1829
2036
|
"text": "boolean"
|
|
1830
2037
|
},
|
|
1831
|
-
"
|
|
2038
|
+
"default": "false",
|
|
2039
|
+
"description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
|
|
2040
|
+
"fieldName": "asyncRemove",
|
|
1832
2041
|
"inheritedFrom": {
|
|
1833
2042
|
"name": "EntityManagement",
|
|
1834
2043
|
"module": "src/entities/entities.ts"
|
|
1835
2044
|
}
|
|
1836
2045
|
},
|
|
1837
2046
|
{
|
|
1838
|
-
"name": "
|
|
2047
|
+
"name": "async-update",
|
|
1839
2048
|
"type": {
|
|
1840
2049
|
"text": "boolean"
|
|
1841
2050
|
},
|
|
1842
|
-
"
|
|
2051
|
+
"default": "true",
|
|
2052
|
+
"description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
|
|
2053
|
+
"fieldName": "asyncUpdate",
|
|
1843
2054
|
"inheritedFrom": {
|
|
1844
2055
|
"name": "EntityManagement",
|
|
1845
2056
|
"module": "src/entities/entities.ts"
|
|
@@ -1850,12 +2061,61 @@
|
|
|
1850
2061
|
"type": {
|
|
1851
2062
|
"text": "boolean"
|
|
1852
2063
|
},
|
|
2064
|
+
"default": "false",
|
|
2065
|
+
"description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
|
|
1853
2066
|
"fieldName": "enableCellFlashing",
|
|
1854
2067
|
"inheritedFrom": {
|
|
1855
2068
|
"name": "EntityManagement",
|
|
1856
2069
|
"module": "src/entities/entities.ts"
|
|
1857
2070
|
}
|
|
1858
2071
|
},
|
|
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
|
+
},
|
|
1859
2119
|
{
|
|
1860
2120
|
"name": "hide-edit",
|
|
1861
2121
|
"type": {
|
|
@@ -32,14 +32,8 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
32
32
|
deepClone(): Node;
|
|
33
33
|
readonly shouldRunDisconnect: boolean;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
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
|
|
35
|
+
* Whether to use the `applyTransactionAsync` function for *add* transactions
|
|
36
|
+
* @remarks Defaults to false
|
|
43
37
|
* @public
|
|
44
38
|
*/
|
|
45
39
|
readonly shouldRunConnect: boolean;
|
|
@@ -56,10 +50,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
56
50
|
dir: string;
|
|
57
51
|
draggable: boolean;
|
|
58
52
|
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
|
-
*/
|
|
63
53
|
inert: boolean;
|
|
64
54
|
innerText: string;
|
|
65
55
|
lang: string;
|
|
@@ -83,6 +73,14 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
83
73
|
className: string;
|
|
84
74
|
readonly clientHeight: number;
|
|
85
75
|
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
|
+
*/
|
|
86
84
|
readonly clientTop: number;
|
|
87
85
|
readonly clientWidth: number;
|
|
88
86
|
id: string;
|
|
@@ -169,12 +167,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
169
167
|
isDefaultNamespace(namespace: string): boolean;
|
|
170
168
|
isEqualNode(otherNode: Node): boolean;
|
|
171
169
|
isSameNode(otherNode: Node): boolean;
|
|
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
|
-
*/
|
|
170
|
+
lookupNamespaceURI(prefix: string): string;
|
|
178
171
|
lookupPrefix(namespace: string): string;
|
|
179
172
|
normalize(): void;
|
|
180
173
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
@@ -241,7 +234,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
241
234
|
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
242
235
|
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
243
236
|
after(...nodes: (string | Node)[]): void;
|
|
244
|
-
before(...nodes: (string | Node)[]): void;
|
|
237
|
+
before(...nodes: (string | Node)[]): void; /**
|
|
238
|
+
* Show notifications if the executed event returned an error.
|
|
239
|
+
* @internal
|
|
240
|
+
*/
|
|
245
241
|
remove(): void;
|
|
246
242
|
replaceWith(...nodes: (string | Node)[]): void;
|
|
247
243
|
innerHTML: string;
|
|
@@ -447,6 +443,35 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
447
443
|
* @public
|
|
448
444
|
*/
|
|
449
445
|
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;
|
|
450
475
|
/**
|
|
451
476
|
* 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.
|
|
452
477
|
*
|
|
@@ -511,7 +536,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
511
536
|
editEntityModal: any;
|
|
512
537
|
sizeColumnsToFit: boolean;
|
|
513
538
|
enableFilterBar: boolean;
|
|
514
|
-
enableCellFlashing: boolean;
|
|
515
539
|
hideEdit: boolean;
|
|
516
540
|
hideDelete: boolean;
|
|
517
541
|
/**
|
|
@@ -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;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0EH;;;;;;;OAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CAiNH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/XL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;OAIG;IACgD,QAAQ,UAAS;IAEpE;;;;OAIG;IACmD,WAAW,UAAS;IAE1E;;;;OAIG;IACmD,WAAW,UAAQ;IAEzE;;;;OAIG;IAC2D,kBAAkB,UAAS;IAEzF;;;OAGG;IAC0D,iBAAiB,UAAS;IAEvF;;;;;;;;;;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;IACjC,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,uEAoDpB,CAAC"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -8,7 +8,11 @@ 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;
|
|
11
14
|
enableCellFlashing: boolean;
|
|
15
|
+
enableRowFlashing: boolean;
|
|
12
16
|
hideEdit: boolean;
|
|
13
17
|
hideDelete: boolean;
|
|
14
18
|
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;IACjC,QAAQ,UAAS;IACd,WAAW,UAAS;IACpB,WAAW,UAAQ;IACX,kBAAkB,UAAS;IAC5B,iBAAiB,UAAS;IACpC,QAAQ,UAAS;IACf,UAAU,UAAS;IACjE,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,2DAyDxB,CAAC"}
|
|
@@ -46,6 +46,35 @@ 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;
|
|
49
78
|
this.editModalVisible = false;
|
|
50
79
|
this.hideEdit = false;
|
|
51
80
|
this.hideDelete = false;
|
|
@@ -288,6 +317,21 @@ __decorate([
|
|
|
288
317
|
__decorate([
|
|
289
318
|
attr
|
|
290
319
|
], 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);
|
|
291
335
|
__decorate([
|
|
292
336
|
attr({ attribute: 'persist-column-state-key' })
|
|
293
337
|
], EntityManagement.prototype, "persistColumnStateKey", void 0);
|
|
@@ -336,9 +380,6 @@ __decorate([
|
|
|
336
380
|
__decorate([
|
|
337
381
|
attr({ mode: 'boolean', attribute: 'enable-filter-bar' })
|
|
338
382
|
], EntityManagement.prototype, "enableFilterBar", void 0);
|
|
339
|
-
__decorate([
|
|
340
|
-
attr({ mode: 'boolean', attribute: 'enable-cell-flashing' })
|
|
341
|
-
], EntityManagement.prototype, "enableCellFlashing", void 0);
|
|
342
383
|
__decorate([
|
|
343
384
|
attr({ mode: 'boolean', attribute: 'hide-edit' })
|
|
344
385
|
], EntityManagement.prototype, "hideEdit", void 0);
|
|
@@ -22,6 +22,11 @@ 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}
|
|
25
30
|
persist-column-state-key=${(x) => x.persistColumnStateKey}
|
|
26
31
|
size-columns-to-fit=${(x) => x.sizeColumnsToFit}
|
|
27
32
|
enable-filter-bar=${(x) => x.enableFilterBar}
|
package/dist/esm/list/list.js
CHANGED
|
@@ -9,6 +9,11 @@ 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;
|
|
12
17
|
this.hideEdit = false;
|
|
13
18
|
this.hideDelete = false;
|
|
14
19
|
this.actionButtonsConfig = [];
|
|
@@ -80,9 +85,21 @@ __decorate([
|
|
|
80
85
|
__decorate([
|
|
81
86
|
attr({ mode: 'boolean', attribute: 'enable-filter-bar' })
|
|
82
87
|
], 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);
|
|
83
97
|
__decorate([
|
|
84
98
|
attr({ mode: 'boolean', attribute: 'enable-cell-flashing' })
|
|
85
99
|
], List.prototype, "enableCellFlashing", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
attr({ mode: 'boolean', attribute: 'enable-row-flashing' })
|
|
102
|
+
], List.prototype, "enableRowFlashing", void 0);
|
|
86
103
|
__decorate([
|
|
87
104
|
attr({ mode: 'boolean', attribute: 'hide-edit' })
|
|
88
105
|
], List.prototype, "hideEdit", void 0);
|
|
@@ -19,7 +19,11 @@ 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}
|
|
22
25
|
enable-cell-flashing=${(x) => x.enableCellFlashing}
|
|
26
|
+
enable-row-flashing=${(x) => x.enableRowFlashing}
|
|
23
27
|
>
|
|
24
28
|
<grid-pro-genesis-datasource
|
|
25
29
|
${ref('datasource')}
|
|
@@ -265,6 +265,96 @@
|
|
|
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
|
+
},
|
|
268
358
|
{
|
|
269
359
|
"kind": "Method",
|
|
270
360
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#closeModal:member(1)",
|
|
@@ -788,7 +878,7 @@
|
|
|
788
878
|
{
|
|
789
879
|
"kind": "Property",
|
|
790
880
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#enableCellFlashing:member",
|
|
791
|
-
"docComment": "",
|
|
881
|
+
"docComment": "/**\n * If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef\n *\n * @remarks\n *\n * Defaults to true\n *\n * @public\n */\n",
|
|
792
882
|
"excerptTokens": [
|
|
793
883
|
{
|
|
794
884
|
"kind": "Content",
|
|
@@ -845,6 +935,36 @@
|
|
|
845
935
|
"isProtected": false,
|
|
846
936
|
"isAbstract": false
|
|
847
937
|
},
|
|
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
|
+
},
|
|
848
968
|
{
|
|
849
969
|
"kind": "Property",
|
|
850
970
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#entityLabel:member",
|
|
@@ -125,6 +125,35 @@ 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;
|
|
128
157
|
/**
|
|
129
158
|
* 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.
|
|
130
159
|
*
|
|
@@ -189,7 +218,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
189
218
|
editEntityModal: any;
|
|
190
219
|
sizeColumnsToFit: boolean;
|
|
191
220
|
enableFilterBar: boolean;
|
|
192
|
-
enableCellFlashing: boolean;
|
|
193
221
|
hideEdit: boolean;
|
|
194
222
|
hideDelete: boolean;
|
|
195
223
|
/**
|
|
@@ -269,14 +297,8 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
269
297
|
deepClone(): Node;
|
|
270
298
|
readonly shouldRunDisconnect: boolean;
|
|
271
299
|
/**
|
|
272
|
-
*
|
|
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
|
|
300
|
+
* Whether to use the `applyTransactionAsync` function for *add* transactions
|
|
301
|
+
* @remarks Defaults to false
|
|
280
302
|
* @public
|
|
281
303
|
*/
|
|
282
304
|
readonly shouldRunConnect: boolean;
|
|
@@ -293,10 +315,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
293
315
|
dir: string;
|
|
294
316
|
draggable: boolean;
|
|
295
317
|
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
|
-
*/
|
|
300
318
|
inert: boolean;
|
|
301
319
|
innerText: string;
|
|
302
320
|
lang: string;
|
|
@@ -320,6 +338,14 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
320
338
|
className: string;
|
|
321
339
|
readonly clientHeight: number;
|
|
322
340
|
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
|
+
*/
|
|
323
349
|
readonly clientTop: number;
|
|
324
350
|
readonly clientWidth: number;
|
|
325
351
|
id: string;
|
|
@@ -406,12 +432,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
406
432
|
isDefaultNamespace(namespace: string): boolean;
|
|
407
433
|
isEqualNode(otherNode: Node): boolean;
|
|
408
434
|
isSameNode(otherNode: Node): boolean;
|
|
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
|
-
*/
|
|
435
|
+
lookupNamespaceURI(prefix: string): string;
|
|
415
436
|
lookupPrefix(namespace: string): string;
|
|
416
437
|
normalize(): void;
|
|
417
438
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
@@ -478,7 +499,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
478
499
|
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
479
500
|
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
480
501
|
after(...nodes: (string | Node)[]): void;
|
|
481
|
-
before(...nodes: (string | Node)[]): void;
|
|
502
|
+
before(...nodes: (string | Node)[]): void; /**
|
|
503
|
+
* Show notifications if the executed event returned an error.
|
|
504
|
+
* @internal
|
|
505
|
+
*/
|
|
482
506
|
remove(): void;
|
|
483
507
|
replaceWith(...nodes: (string | Node)[]): void;
|
|
484
508
|
innerHTML: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
|
|
@@ -4,8 +4,15 @@
|
|
|
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
|
+
|
|
7
9
|
**Signature:**
|
|
8
10
|
|
|
9
11
|
```typescript
|
|
10
12
|
enableCellFlashing: boolean;
|
|
11
13
|
```
|
|
14
|
+
|
|
15
|
+
## Remarks
|
|
16
|
+
|
|
17
|
+
Defaults to true
|
|
18
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
```
|
|
@@ -36,6 +36,9 @@ 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 |
|
|
39
42
|
| [columns](./foundation-entity-management.entitymanagement.columns.md) | | ColDef\[\] | Array which holds the column definitions. |
|
|
40
43
|
| [connect](./foundation-entity-management.entitymanagement.connect.md) | <code>protected</code> | Connect | DI connect object which is used to interact with the backend. |
|
|
41
44
|
| [createEvent](./foundation-entity-management.entitymanagement.createevent.md) | | string | Name of the event handler on the Genesis server which handles creating an entity |
|
|
@@ -47,8 +50,9 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
47
50
|
| [editedEntity](./foundation-entity-management.entitymanagement.editedentity.md) | | any | Disables the form while enabled to stop the user dispatching a large number of duplicate events |
|
|
48
51
|
| [editEntityModal](./foundation-entity-management.entitymanagement.editentitymodal.md) | | any | |
|
|
49
52
|
| [editModalVisible](./foundation-entity-management.entitymanagement.editmodalvisible.md) | | boolean | |
|
|
50
|
-
| [enableCellFlashing](./foundation-entity-management.entitymanagement.enablecellflashing.md) | | boolean |
|
|
53
|
+
| [enableCellFlashing](./foundation-entity-management.entitymanagement.enablecellflashing.md) | | boolean | If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef |
|
|
51
54
|
| [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 |
|
|
52
56
|
| [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 |
|
|
53
57
|
| [formUiSchema](./foundation-entity-management.entitymanagement.formuischema.md) | | any | |
|
|
54
58
|
| [gridOptions](./foundation-entity-management.entitymanagement.gridoptions.md) | | GridOptions | GridOptions to be passed down from application |
|
package/docs/api-report.md
CHANGED
|
@@ -40,6 +40,9 @@ 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;
|
|
43
46
|
// (undocumented)
|
|
44
47
|
closeModal(): void;
|
|
45
48
|
columns: ColDef[];
|
|
@@ -70,10 +73,10 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
70
73
|
editModalVisible: boolean;
|
|
71
74
|
// (undocumented)
|
|
72
75
|
editModalVisibleChanged(): void;
|
|
73
|
-
// (undocumented)
|
|
74
76
|
enableCellFlashing: boolean;
|
|
75
77
|
// (undocumented)
|
|
76
78
|
enableFilterBar: boolean;
|
|
79
|
+
enableRowFlashing: boolean;
|
|
77
80
|
entityLabel: string;
|
|
78
81
|
// @internal
|
|
79
82
|
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.79.0",
|
|
4
|
+
"version": "14.79.2-alpha-ca658e8.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.79.0",
|
|
45
|
-
"@genesislcap/genx": "14.79.0",
|
|
44
|
+
"@genesislcap/foundation-testing": "14.79.2-alpha-ca658e8.0",
|
|
45
|
+
"@genesislcap/genx": "14.79.2-alpha-ca658e8.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.79.0",
|
|
51
|
-
"@genesislcap/foundation-errors": "14.79.0",
|
|
52
|
-
"@genesislcap/foundation-forms": "14.79.0",
|
|
53
|
-
"@genesislcap/foundation-login": "14.79.0",
|
|
54
|
-
"@genesislcap/foundation-ui": "14.79.0",
|
|
55
|
-
"@genesislcap/foundation-utils": "14.79.0",
|
|
56
|
-
"@genesislcap/foundation-zero": "14.79.0",
|
|
57
|
-
"@genesislcap/foundation-zero-grid-pro": "14.79.0",
|
|
58
|
-
"@genesislcap/grid-pro": "14.79.0",
|
|
50
|
+
"@genesislcap/foundation-comms": "14.79.2-alpha-ca658e8.0",
|
|
51
|
+
"@genesislcap/foundation-errors": "14.79.2-alpha-ca658e8.0",
|
|
52
|
+
"@genesislcap/foundation-forms": "14.79.2-alpha-ca658e8.0",
|
|
53
|
+
"@genesislcap/foundation-login": "14.79.2-alpha-ca658e8.0",
|
|
54
|
+
"@genesislcap/foundation-ui": "14.79.2-alpha-ca658e8.0",
|
|
55
|
+
"@genesislcap/foundation-utils": "14.79.2-alpha-ca658e8.0",
|
|
56
|
+
"@genesislcap/foundation-zero": "14.79.2-alpha-ca658e8.0",
|
|
57
|
+
"@genesislcap/foundation-zero-grid-pro": "14.79.2-alpha-ca658e8.0",
|
|
58
|
+
"@genesislcap/grid-pro": "14.79.2-alpha-ca658e8.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": "661e12b401aacf5b3f1c11e50d4d22dbeda577d9"
|
|
75
75
|
}
|