@genesislcap/foundation-entity-management 14.151.2-alpha-6dc6e2c.0 → 14.152.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 +51 -111
- package/dist/dts/entities/entities.d.ts +1 -10
- 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 -1
- 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 +0 -9
- package/dist/esm/entities/entities.template.js +0 -1
- package/dist/esm/list/list.js +0 -4
- package/dist/esm/list/list.template.js +0 -1
- package/dist/foundation-entity-management.d.ts +1 -10
- package/docs/api-report.md +0 -2
- package/package.json +21 -21
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
{
|
|
152
152
|
"kind": "variable",
|
|
153
153
|
"name": "template",
|
|
154
|
-
"default": "html<EntityManagement>`\n <div class=\"container\">\n <slot name=\"header\" part=\"header\">${(x) => x.headerTempalate}</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 header-case-type=${(x) => x.headerCaseType}\n
|
|
154
|
+
"default": "html<EntityManagement>`\n <div class=\"container\">\n <slot name=\"header\" part=\"header\">${(x) => x.headerTempalate}</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 header-case-type=${(x) => x.headerCaseType}\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 :renderers=${(x) => x.formRenderers}\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 ></foundation-form>\n `,\n )}\n </slot>\n </zero-modal>\n </div>\n`",
|
|
155
155
|
"description": "Defines the html of the entity component as a ViewTemplate object"
|
|
156
156
|
}
|
|
157
157
|
],
|
|
@@ -319,15 +319,6 @@
|
|
|
319
319
|
"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.",
|
|
320
320
|
"privacy": "public"
|
|
321
321
|
},
|
|
322
|
-
{
|
|
323
|
-
"kind": "field",
|
|
324
|
-
"name": "blockScrollingOnContextMenu",
|
|
325
|
-
"type": {
|
|
326
|
-
"text": "boolean"
|
|
327
|
-
},
|
|
328
|
-
"default": "false",
|
|
329
|
-
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records"
|
|
330
|
-
},
|
|
331
322
|
{
|
|
332
323
|
"kind": "field",
|
|
333
324
|
"name": "gridOptions",
|
|
@@ -726,15 +717,6 @@
|
|
|
726
717
|
"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.",
|
|
727
718
|
"fieldName": "persistColumnStateKey"
|
|
728
719
|
},
|
|
729
|
-
{
|
|
730
|
-
"name": "block-scrolling-on-context-menu",
|
|
731
|
-
"type": {
|
|
732
|
-
"text": "boolean"
|
|
733
|
-
},
|
|
734
|
-
"default": "false",
|
|
735
|
-
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
|
|
736
|
-
"fieldName": "blockScrollingOnContextMenu"
|
|
737
|
-
},
|
|
738
720
|
{
|
|
739
721
|
"name": "size-columns-to-fit",
|
|
740
722
|
"type": {
|
|
@@ -856,55 +838,6 @@
|
|
|
856
838
|
}
|
|
857
839
|
]
|
|
858
840
|
},
|
|
859
|
-
{
|
|
860
|
-
"kind": "javascript-module",
|
|
861
|
-
"path": "src/layouts/default.ts",
|
|
862
|
-
"declarations": [
|
|
863
|
-
{
|
|
864
|
-
"kind": "variable",
|
|
865
|
-
"name": "loginLayout",
|
|
866
|
-
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
867
|
-
},
|
|
868
|
-
{
|
|
869
|
-
"kind": "variable",
|
|
870
|
-
"name": "defaultLayout",
|
|
871
|
-
"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)"
|
|
872
|
-
}
|
|
873
|
-
],
|
|
874
|
-
"exports": [
|
|
875
|
-
{
|
|
876
|
-
"kind": "js",
|
|
877
|
-
"name": "loginLayout",
|
|
878
|
-
"declaration": {
|
|
879
|
-
"name": "loginLayout",
|
|
880
|
-
"module": "src/layouts/default.ts"
|
|
881
|
-
}
|
|
882
|
-
},
|
|
883
|
-
{
|
|
884
|
-
"kind": "js",
|
|
885
|
-
"name": "defaultLayout",
|
|
886
|
-
"declaration": {
|
|
887
|
-
"name": "defaultLayout",
|
|
888
|
-
"module": "src/layouts/default.ts"
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
]
|
|
892
|
-
},
|
|
893
|
-
{
|
|
894
|
-
"kind": "javascript-module",
|
|
895
|
-
"path": "src/layouts/index.ts",
|
|
896
|
-
"declarations": [],
|
|
897
|
-
"exports": [
|
|
898
|
-
{
|
|
899
|
-
"kind": "js",
|
|
900
|
-
"name": "*",
|
|
901
|
-
"declaration": {
|
|
902
|
-
"name": "*",
|
|
903
|
-
"package": "./default"
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
]
|
|
907
|
-
},
|
|
908
841
|
{
|
|
909
842
|
"kind": "javascript-module",
|
|
910
843
|
"path": "src/list/index.ts",
|
|
@@ -948,7 +881,7 @@
|
|
|
948
881
|
{
|
|
949
882
|
"kind": "variable",
|
|
950
883
|
"name": "listTemplate",
|
|
951
|
-
"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 readOnlyEdit=\"true\"\n tooltipMouseTrack=\"true\"\n tooltipShowDelay=\"0\"\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 header-case-type=${(x) => x.headerCaseType}\n
|
|
884
|
+
"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 readOnlyEdit=\"true\"\n tooltipMouseTrack=\"true\"\n tooltipShowDelay=\"0\"\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 header-case-type=${(x) => x.headerCaseType}\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`"
|
|
952
885
|
}
|
|
953
886
|
],
|
|
954
887
|
"exports": [
|
|
@@ -1071,14 +1004,6 @@
|
|
|
1071
1004
|
"text": "GridProCaseType"
|
|
1072
1005
|
}
|
|
1073
1006
|
},
|
|
1074
|
-
{
|
|
1075
|
-
"kind": "field",
|
|
1076
|
-
"name": "blockScrollingOnContextMenu",
|
|
1077
|
-
"type": {
|
|
1078
|
-
"text": "boolean"
|
|
1079
|
-
},
|
|
1080
|
-
"default": "false"
|
|
1081
|
-
},
|
|
1082
1007
|
{
|
|
1083
1008
|
"kind": "field",
|
|
1084
1009
|
"name": "grid",
|
|
@@ -1304,14 +1229,6 @@
|
|
|
1304
1229
|
"text": "GridProCaseType"
|
|
1305
1230
|
},
|
|
1306
1231
|
"fieldName": "headerCaseType"
|
|
1307
|
-
},
|
|
1308
|
-
{
|
|
1309
|
-
"name": "block-scrolling-on-context-menu",
|
|
1310
|
-
"type": {
|
|
1311
|
-
"text": "boolean"
|
|
1312
|
-
},
|
|
1313
|
-
"default": "false",
|
|
1314
|
-
"fieldName": "blockScrollingOnContextMenu"
|
|
1315
1232
|
}
|
|
1316
1233
|
],
|
|
1317
1234
|
"superclass": {
|
|
@@ -1341,6 +1258,55 @@
|
|
|
1341
1258
|
}
|
|
1342
1259
|
]
|
|
1343
1260
|
},
|
|
1261
|
+
{
|
|
1262
|
+
"kind": "javascript-module",
|
|
1263
|
+
"path": "src/layouts/default.ts",
|
|
1264
|
+
"declarations": [
|
|
1265
|
+
{
|
|
1266
|
+
"kind": "variable",
|
|
1267
|
+
"name": "loginLayout",
|
|
1268
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
"kind": "variable",
|
|
1272
|
+
"name": "defaultLayout",
|
|
1273
|
+
"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)"
|
|
1274
|
+
}
|
|
1275
|
+
],
|
|
1276
|
+
"exports": [
|
|
1277
|
+
{
|
|
1278
|
+
"kind": "js",
|
|
1279
|
+
"name": "loginLayout",
|
|
1280
|
+
"declaration": {
|
|
1281
|
+
"name": "loginLayout",
|
|
1282
|
+
"module": "src/layouts/default.ts"
|
|
1283
|
+
}
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"kind": "js",
|
|
1287
|
+
"name": "defaultLayout",
|
|
1288
|
+
"declaration": {
|
|
1289
|
+
"name": "defaultLayout",
|
|
1290
|
+
"module": "src/layouts/default.ts"
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
]
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
"kind": "javascript-module",
|
|
1297
|
+
"path": "src/layouts/index.ts",
|
|
1298
|
+
"declarations": [],
|
|
1299
|
+
"exports": [
|
|
1300
|
+
{
|
|
1301
|
+
"kind": "js",
|
|
1302
|
+
"name": "*",
|
|
1303
|
+
"declaration": {
|
|
1304
|
+
"name": "*",
|
|
1305
|
+
"package": "./default"
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
]
|
|
1309
|
+
},
|
|
1344
1310
|
{
|
|
1345
1311
|
"kind": "javascript-module",
|
|
1346
1312
|
"path": "src/main/index.ts",
|
|
@@ -1780,19 +1746,6 @@
|
|
|
1780
1746
|
"module": "src/entities/entities.ts"
|
|
1781
1747
|
}
|
|
1782
1748
|
},
|
|
1783
|
-
{
|
|
1784
|
-
"kind": "field",
|
|
1785
|
-
"name": "blockScrollingOnContextMenu",
|
|
1786
|
-
"type": {
|
|
1787
|
-
"text": "boolean"
|
|
1788
|
-
},
|
|
1789
|
-
"default": "false",
|
|
1790
|
-
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
|
|
1791
|
-
"inheritedFrom": {
|
|
1792
|
-
"name": "EntityManagement",
|
|
1793
|
-
"module": "src/entities/entities.ts"
|
|
1794
|
-
}
|
|
1795
|
-
},
|
|
1796
1749
|
{
|
|
1797
1750
|
"kind": "field",
|
|
1798
1751
|
"name": "gridOptions",
|
|
@@ -2355,19 +2308,6 @@
|
|
|
2355
2308
|
"module": "src/entities/entities.ts"
|
|
2356
2309
|
}
|
|
2357
2310
|
},
|
|
2358
|
-
{
|
|
2359
|
-
"name": "block-scrolling-on-context-menu",
|
|
2360
|
-
"type": {
|
|
2361
|
-
"text": "boolean"
|
|
2362
|
-
},
|
|
2363
|
-
"default": "false",
|
|
2364
|
-
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
|
|
2365
|
-
"fieldName": "blockScrollingOnContextMenu",
|
|
2366
|
-
"inheritedFrom": {
|
|
2367
|
-
"name": "EntityManagement",
|
|
2368
|
-
"module": "src/entities/entities.ts"
|
|
2369
|
-
}
|
|
2370
|
-
},
|
|
2371
2311
|
{
|
|
2372
2312
|
"name": "size-columns-to-fit",
|
|
2373
2313
|
"type": {
|
|
@@ -77,10 +77,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
77
77
|
readonly localName: string;
|
|
78
78
|
readonly namespaceURI: string;
|
|
79
79
|
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
80
|
-
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
81
|
-
* The name of the resource in the backend to interact with when dispatching actions from the update/create modal
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
80
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
84
81
|
outerHTML: string;
|
|
85
82
|
readonly ownerDocument: Document;
|
|
86
83
|
readonly part: DOMTokenList;
|
|
@@ -474,12 +471,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
474
471
|
* @public
|
|
475
472
|
*/
|
|
476
473
|
persistColumnStateKey: string;
|
|
477
|
-
/**
|
|
478
|
-
* If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
|
|
479
|
-
* @remarks Defaults to false
|
|
480
|
-
* @alpha
|
|
481
|
-
*/
|
|
482
|
-
blockScrollingOnContextMenu: boolean;
|
|
483
474
|
/**
|
|
484
475
|
* GridOptions to be passed down from application
|
|
485
476
|
* @public
|
|
@@ -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,EAAkB,MAAM,+BAA+B,CAAC;AAC3F,OAAO,EAAa,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EACL,eAAe,EAGf,cAAc,EACf,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAuB,WAAW,EAAwB,MAAM,yBAAyB,CAAC;AAKjG;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC,CAAC
|
|
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;AAC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;;;OAGG;IACoC,aAAa,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAW;IAE5F;;;OAGG;IACG,iBAAiB;IAmBvB;;;OAGG;YACW,yBAAyB;IAwBvC;;;OAGG;IACM,SAAS,IAAI,IAAI;IAmB1B;;;;;;;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;IAKjB,IACI,eAAe,0EAElB;IAEM,aAAa,CAAC,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAmBvD,eAAe,CAAC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAItC,yBAAyB,CAAC,CAAC,EAAE,WAAW;IAiC/C;;;;;OAKG;IACG,YAAY,CAAC,CAAC,EAAE,WAAW;IAK3B,aAAa;IAoBnB,OAAO,CAAC,sBAAsB;IAc9B;;;OAGG;IACI,WAAW,CAAC,OAAO,KAAA;CAkB3B"}
|
|
@@ -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;AAK9C;;;GAGG;AACH,eAAO,MAAM,aAAa,uEAWzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,uEAiB3B,CAAC;AAEF;;;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;AAK9C;;;GAGG;AACH,eAAO,MAAM,aAAa,uEAWzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,uEAiB3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,uEAoDpB,CAAC"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ export declare class List extends FASTElement {
|
|
|
18
18
|
hideEdit: boolean;
|
|
19
19
|
hideDelete: boolean;
|
|
20
20
|
headerCaseType: GridProCaseType;
|
|
21
|
-
blockScrollingOnContextMenu: boolean;
|
|
22
21
|
grid: ZeroGridPro;
|
|
23
22
|
datasource: GridProGenesisDatasource;
|
|
24
23
|
gridOptions: GridOptions;
|
|
@@ -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,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,EAAuB,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AAC7F,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;IAC/B,cAAc,EAAE,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mapp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|
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,2DA2DxB,CAAC"}
|
|
@@ -76,12 +76,6 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
76
76
|
* @public
|
|
77
77
|
*/
|
|
78
78
|
this.enableRowFlashing = false;
|
|
79
|
-
/**
|
|
80
|
-
* If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
|
|
81
|
-
* @remarks Defaults to false
|
|
82
|
-
* @alpha
|
|
83
|
-
*/
|
|
84
|
-
this.blockScrollingOnContextMenu = false;
|
|
85
79
|
/**
|
|
86
80
|
* Array with renderers used by foundation-forms
|
|
87
81
|
* @public
|
|
@@ -416,9 +410,6 @@ __decorate([
|
|
|
416
410
|
__decorate([
|
|
417
411
|
attr({ attribute: 'persist-column-state-key' })
|
|
418
412
|
], EntityManagement.prototype, "persistColumnStateKey", void 0);
|
|
419
|
-
__decorate([
|
|
420
|
-
attr({ attribute: 'block-scrolling-on-context-menu', mode: 'boolean' })
|
|
421
|
-
], EntityManagement.prototype, "blockScrollingOnContextMenu", void 0);
|
|
422
413
|
__decorate([
|
|
423
414
|
observable
|
|
424
415
|
], EntityManagement.prototype, "gridOptions", void 0);
|
|
@@ -63,7 +63,6 @@ export const template = html `
|
|
|
63
63
|
hide-edit=${(x) => x.hideEdit}
|
|
64
64
|
hide-delete=${(x) => x.hideDelete}
|
|
65
65
|
header-case-type=${(x) => x.headerCaseType}
|
|
66
|
-
block-scrolling-on-context-menu=${(x) => x.blockScrollingOnContextMenu}
|
|
67
66
|
>
|
|
68
67
|
<slot name="header" slot="header">${defaultHeader}</slot>
|
|
69
68
|
</entity-list>
|
package/dist/esm/list/list.js
CHANGED
|
@@ -19,7 +19,6 @@ let List = class List extends FASTElement {
|
|
|
19
19
|
this.enableRowFlashing = false;
|
|
20
20
|
this.hideEdit = false;
|
|
21
21
|
this.hideDelete = false;
|
|
22
|
-
this.blockScrollingOnContextMenu = false;
|
|
23
22
|
this.actionButtonsConfig = [];
|
|
24
23
|
this.edit = (e) => {
|
|
25
24
|
this.$emit('edit-entity', e);
|
|
@@ -162,9 +161,6 @@ __decorate([
|
|
|
162
161
|
__decorate([
|
|
163
162
|
attr({ attribute: 'header-case-type' })
|
|
164
163
|
], List.prototype, "headerCaseType", void 0);
|
|
165
|
-
__decorate([
|
|
166
|
-
attr({ attribute: 'block-scrolling-on-context-menu', mode: 'boolean' })
|
|
167
|
-
], List.prototype, "blockScrollingOnContextMenu", void 0);
|
|
168
164
|
__decorate([
|
|
169
165
|
observable
|
|
170
166
|
], List.prototype, "gridOptions", void 0);
|
|
@@ -26,7 +26,6 @@ export const listTemplate = html `
|
|
|
26
26
|
enable-cell-flashing=${(x) => x.enableCellFlashing}
|
|
27
27
|
enable-row-flashing=${(x) => x.enableRowFlashing}
|
|
28
28
|
header-case-type=${(x) => x.headerCaseType}
|
|
29
|
-
block-scrolling-on-context-menu=${(x) => x.blockScrollingOnContextMenu}
|
|
30
29
|
>
|
|
31
30
|
<grid-pro-genesis-datasource
|
|
32
31
|
${ref('datasource')}
|
|
@@ -169,12 +169,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
169
169
|
* @public
|
|
170
170
|
*/
|
|
171
171
|
persistColumnStateKey: string;
|
|
172
|
-
/**
|
|
173
|
-
* If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
|
|
174
|
-
* @remarks Defaults to false
|
|
175
|
-
* @alpha
|
|
176
|
-
*/
|
|
177
|
-
blockScrollingOnContextMenu: boolean;
|
|
178
172
|
/**
|
|
179
173
|
* GridOptions to be passed down from application
|
|
180
174
|
* @public
|
|
@@ -369,10 +363,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
369
363
|
readonly localName: string;
|
|
370
364
|
readonly namespaceURI: string;
|
|
371
365
|
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
372
|
-
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
373
|
-
* The name of the resource in the backend to interact with when dispatching actions from the update/create modal
|
|
374
|
-
* @internal
|
|
375
|
-
*/
|
|
366
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
376
367
|
outerHTML: string;
|
|
377
368
|
readonly ownerDocument: Document;
|
|
378
369
|
readonly part: DOMTokenList;
|
package/docs/api-report.md
CHANGED
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.
|
|
4
|
+
"version": "14.152.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -43,29 +43,29 @@
|
|
|
43
43
|
"test:debug": "genx test --debug"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@genesislcap/foundation-testing": "14.
|
|
47
|
-
"@genesislcap/genx": "14.
|
|
48
|
-
"@genesislcap/rollup-builder": "14.
|
|
49
|
-
"@genesislcap/ts-builder": "14.
|
|
50
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
51
|
-
"@genesislcap/vite-builder": "14.
|
|
52
|
-
"@genesislcap/webpack-builder": "14.
|
|
46
|
+
"@genesislcap/foundation-testing": "14.152.0",
|
|
47
|
+
"@genesislcap/genx": "14.152.0",
|
|
48
|
+
"@genesislcap/rollup-builder": "14.152.0",
|
|
49
|
+
"@genesislcap/ts-builder": "14.152.0",
|
|
50
|
+
"@genesislcap/uvu-playwright-builder": "14.152.0",
|
|
51
|
+
"@genesislcap/vite-builder": "14.152.0",
|
|
52
|
+
"@genesislcap/webpack-builder": "14.152.0",
|
|
53
53
|
"rimraf": "^3.0.2"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@ag-grid-community/core": "29.2.0",
|
|
57
|
-
"@genesislcap/foundation-comms": "14.
|
|
58
|
-
"@genesislcap/foundation-errors": "14.
|
|
59
|
-
"@genesislcap/foundation-events": "14.
|
|
60
|
-
"@genesislcap/foundation-forms": "14.
|
|
61
|
-
"@genesislcap/foundation-logger": "14.
|
|
62
|
-
"@genesislcap/foundation-login": "14.
|
|
63
|
-
"@genesislcap/foundation-notifications": "14.
|
|
64
|
-
"@genesislcap/foundation-ui": "14.
|
|
65
|
-
"@genesislcap/foundation-utils": "14.
|
|
66
|
-
"@genesislcap/foundation-zero": "14.
|
|
67
|
-
"@genesislcap/foundation-zero-grid-pro": "14.
|
|
68
|
-
"@genesislcap/grid-pro": "14.
|
|
57
|
+
"@genesislcap/foundation-comms": "14.152.0",
|
|
58
|
+
"@genesislcap/foundation-errors": "14.152.0",
|
|
59
|
+
"@genesislcap/foundation-events": "14.152.0",
|
|
60
|
+
"@genesislcap/foundation-forms": "14.152.0",
|
|
61
|
+
"@genesislcap/foundation-logger": "14.152.0",
|
|
62
|
+
"@genesislcap/foundation-login": "14.152.0",
|
|
63
|
+
"@genesislcap/foundation-notifications": "14.152.0",
|
|
64
|
+
"@genesislcap/foundation-ui": "14.152.0",
|
|
65
|
+
"@genesislcap/foundation-utils": "14.152.0",
|
|
66
|
+
"@genesislcap/foundation-zero": "14.152.0",
|
|
67
|
+
"@genesislcap/foundation-zero-grid-pro": "14.152.0",
|
|
68
|
+
"@genesislcap/grid-pro": "14.152.0",
|
|
69
69
|
"@microsoft/fast-components": "^2.30.6",
|
|
70
70
|
"@microsoft/fast-element": "^1.12.0",
|
|
71
71
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"access": "public"
|
|
82
82
|
},
|
|
83
83
|
"customElements": "dist/custom-elements.json",
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "f3d0250895a2e94b877e74ed2e2767831ee7b1de"
|
|
85
85
|
}
|