@genesislcap/foundation-entity-management 14.162.2-alpha-37a3d46.0 → 14.162.2-alpha-bb01329.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 +2 -62
- 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": {
|
|
@@ -948,7 +930,7 @@
|
|
|
948
930
|
{
|
|
949
931
|
"kind": "variable",
|
|
950
932
|
"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 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
|
|
933
|
+
"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 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
934
|
}
|
|
953
935
|
],
|
|
954
936
|
"exports": [
|
|
@@ -1071,14 +1053,6 @@
|
|
|
1071
1053
|
"text": "GridProCaseType"
|
|
1072
1054
|
}
|
|
1073
1055
|
},
|
|
1074
|
-
{
|
|
1075
|
-
"kind": "field",
|
|
1076
|
-
"name": "blockScrollingOnContextMenu",
|
|
1077
|
-
"type": {
|
|
1078
|
-
"text": "boolean"
|
|
1079
|
-
},
|
|
1080
|
-
"default": "false"
|
|
1081
|
-
},
|
|
1082
1056
|
{
|
|
1083
1057
|
"kind": "field",
|
|
1084
1058
|
"name": "grid",
|
|
@@ -1304,14 +1278,6 @@
|
|
|
1304
1278
|
"text": "GridProCaseType"
|
|
1305
1279
|
},
|
|
1306
1280
|
"fieldName": "headerCaseType"
|
|
1307
|
-
},
|
|
1308
|
-
{
|
|
1309
|
-
"name": "block-scrolling-on-context-menu",
|
|
1310
|
-
"type": {
|
|
1311
|
-
"text": "boolean"
|
|
1312
|
-
},
|
|
1313
|
-
"default": "false",
|
|
1314
|
-
"fieldName": "blockScrollingOnContextMenu"
|
|
1315
1281
|
}
|
|
1316
1282
|
],
|
|
1317
1283
|
"superclass": {
|
|
@@ -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;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,M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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":[],"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;IAClE,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;IAEvB,SAAS,CAAC,OAAO,EAAG,OAAO,CAAC;IAErC,iBAAiB;YA6DH,oBAAoB;IA+ClC,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"}
|
|
@@ -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);
|
|
@@ -24,7 +24,6 @@ export const listTemplate = html `
|
|
|
24
24
|
enable-cell-flashing=${(x) => x.enableCellFlashing}
|
|
25
25
|
enable-row-flashing=${(x) => x.enableRowFlashing}
|
|
26
26
|
header-case-type=${(x) => x.headerCaseType}
|
|
27
|
-
block-scrolling-on-context-menu=${(x) => x.blockScrollingOnContextMenu}
|
|
28
27
|
>
|
|
29
28
|
<grid-pro-genesis-datasource
|
|
30
29
|
${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.162.2-alpha-
|
|
4
|
+
"version": "14.162.2-alpha-bb01329.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.162.2-alpha-
|
|
47
|
-
"@genesislcap/genx": "14.162.2-alpha-
|
|
48
|
-
"@genesislcap/rollup-builder": "14.162.2-alpha-
|
|
49
|
-
"@genesislcap/ts-builder": "14.162.2-alpha-
|
|
50
|
-
"@genesislcap/uvu-playwright-builder": "14.162.2-alpha-
|
|
51
|
-
"@genesislcap/vite-builder": "14.162.2-alpha-
|
|
52
|
-
"@genesislcap/webpack-builder": "14.162.2-alpha-
|
|
46
|
+
"@genesislcap/foundation-testing": "14.162.2-alpha-bb01329.0",
|
|
47
|
+
"@genesislcap/genx": "14.162.2-alpha-bb01329.0",
|
|
48
|
+
"@genesislcap/rollup-builder": "14.162.2-alpha-bb01329.0",
|
|
49
|
+
"@genesislcap/ts-builder": "14.162.2-alpha-bb01329.0",
|
|
50
|
+
"@genesislcap/uvu-playwright-builder": "14.162.2-alpha-bb01329.0",
|
|
51
|
+
"@genesislcap/vite-builder": "14.162.2-alpha-bb01329.0",
|
|
52
|
+
"@genesislcap/webpack-builder": "14.162.2-alpha-bb01329.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.162.2-alpha-
|
|
58
|
-
"@genesislcap/foundation-errors": "14.162.2-alpha-
|
|
59
|
-
"@genesislcap/foundation-events": "14.162.2-alpha-
|
|
60
|
-
"@genesislcap/foundation-forms": "14.162.2-alpha-
|
|
61
|
-
"@genesislcap/foundation-logger": "14.162.2-alpha-
|
|
62
|
-
"@genesislcap/foundation-login": "14.162.2-alpha-
|
|
63
|
-
"@genesislcap/foundation-notifications": "14.162.2-alpha-
|
|
64
|
-
"@genesislcap/foundation-ui": "14.162.2-alpha-
|
|
65
|
-
"@genesislcap/foundation-utils": "14.162.2-alpha-
|
|
66
|
-
"@genesislcap/foundation-zero": "14.162.2-alpha-
|
|
67
|
-
"@genesislcap/foundation-zero-grid-pro": "14.162.2-alpha-
|
|
68
|
-
"@genesislcap/grid-pro": "14.162.2-alpha-
|
|
57
|
+
"@genesislcap/foundation-comms": "14.162.2-alpha-bb01329.0",
|
|
58
|
+
"@genesislcap/foundation-errors": "14.162.2-alpha-bb01329.0",
|
|
59
|
+
"@genesislcap/foundation-events": "14.162.2-alpha-bb01329.0",
|
|
60
|
+
"@genesislcap/foundation-forms": "14.162.2-alpha-bb01329.0",
|
|
61
|
+
"@genesislcap/foundation-logger": "14.162.2-alpha-bb01329.0",
|
|
62
|
+
"@genesislcap/foundation-login": "14.162.2-alpha-bb01329.0",
|
|
63
|
+
"@genesislcap/foundation-notifications": "14.162.2-alpha-bb01329.0",
|
|
64
|
+
"@genesislcap/foundation-ui": "14.162.2-alpha-bb01329.0",
|
|
65
|
+
"@genesislcap/foundation-utils": "14.162.2-alpha-bb01329.0",
|
|
66
|
+
"@genesislcap/foundation-zero": "14.162.2-alpha-bb01329.0",
|
|
67
|
+
"@genesislcap/foundation-zero-grid-pro": "14.162.2-alpha-bb01329.0",
|
|
68
|
+
"@genesislcap/grid-pro": "14.162.2-alpha-bb01329.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": "b89eff824ab2a60b81c96a91f730d8cb11e90afd"
|
|
85
85
|
}
|