@genesislcap/foundation-entity-management 14.146.1-alpha-0d80785.0 → 14.146.1
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 +3 -22
- 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 +3 -22
- package/docs/api-report.md +0 -2
- package/package.json +16 -16
|
@@ -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
|
|
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 >\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",
|
|
@@ -715,15 +706,6 @@
|
|
|
715
706
|
"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.",
|
|
716
707
|
"fieldName": "persistColumnStateKey"
|
|
717
708
|
},
|
|
718
|
-
{
|
|
719
|
-
"name": "block-scrolling-on-context-menu",
|
|
720
|
-
"type": {
|
|
721
|
-
"text": "boolean"
|
|
722
|
-
},
|
|
723
|
-
"default": "false",
|
|
724
|
-
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
|
|
725
|
-
"fieldName": "blockScrollingOnContextMenu"
|
|
726
|
-
},
|
|
727
709
|
{
|
|
728
710
|
"name": "size-columns-to-fit",
|
|
729
711
|
"type": {
|
|
@@ -836,6 +818,55 @@
|
|
|
836
818
|
}
|
|
837
819
|
]
|
|
838
820
|
},
|
|
821
|
+
{
|
|
822
|
+
"kind": "javascript-module",
|
|
823
|
+
"path": "src/layouts/default.ts",
|
|
824
|
+
"declarations": [
|
|
825
|
+
{
|
|
826
|
+
"kind": "variable",
|
|
827
|
+
"name": "loginLayout",
|
|
828
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"kind": "variable",
|
|
832
|
+
"name": "defaultLayout",
|
|
833
|
+
"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)"
|
|
834
|
+
}
|
|
835
|
+
],
|
|
836
|
+
"exports": [
|
|
837
|
+
{
|
|
838
|
+
"kind": "js",
|
|
839
|
+
"name": "loginLayout",
|
|
840
|
+
"declaration": {
|
|
841
|
+
"name": "loginLayout",
|
|
842
|
+
"module": "src/layouts/default.ts"
|
|
843
|
+
}
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"kind": "js",
|
|
847
|
+
"name": "defaultLayout",
|
|
848
|
+
"declaration": {
|
|
849
|
+
"name": "defaultLayout",
|
|
850
|
+
"module": "src/layouts/default.ts"
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
]
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"kind": "javascript-module",
|
|
857
|
+
"path": "src/layouts/index.ts",
|
|
858
|
+
"declarations": [],
|
|
859
|
+
"exports": [
|
|
860
|
+
{
|
|
861
|
+
"kind": "js",
|
|
862
|
+
"name": "*",
|
|
863
|
+
"declaration": {
|
|
864
|
+
"name": "*",
|
|
865
|
+
"package": "./default"
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
]
|
|
869
|
+
},
|
|
839
870
|
{
|
|
840
871
|
"kind": "javascript-module",
|
|
841
872
|
"path": "src/list/index.ts",
|
|
@@ -879,7 +910,7 @@
|
|
|
879
910
|
{
|
|
880
911
|
"kind": "variable",
|
|
881
912
|
"name": "listTemplate",
|
|
882
|
-
"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
|
|
913
|
+
"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 >\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`"
|
|
883
914
|
}
|
|
884
915
|
],
|
|
885
916
|
"exports": [
|
|
@@ -995,14 +1026,6 @@
|
|
|
995
1026
|
},
|
|
996
1027
|
"default": "false"
|
|
997
1028
|
},
|
|
998
|
-
{
|
|
999
|
-
"kind": "field",
|
|
1000
|
-
"name": "blockScrollingOnContextMenu",
|
|
1001
|
-
"type": {
|
|
1002
|
-
"text": "boolean"
|
|
1003
|
-
},
|
|
1004
|
-
"default": "false"
|
|
1005
|
-
},
|
|
1006
1029
|
{
|
|
1007
1030
|
"kind": "field",
|
|
1008
1031
|
"name": "grid",
|
|
@@ -1221,14 +1244,6 @@
|
|
|
1221
1244
|
},
|
|
1222
1245
|
"default": "false",
|
|
1223
1246
|
"fieldName": "hideDelete"
|
|
1224
|
-
},
|
|
1225
|
-
{
|
|
1226
|
-
"name": "block-scrolling-on-context-menu",
|
|
1227
|
-
"type": {
|
|
1228
|
-
"text": "boolean"
|
|
1229
|
-
},
|
|
1230
|
-
"default": "false",
|
|
1231
|
-
"fieldName": "blockScrollingOnContextMenu"
|
|
1232
1247
|
}
|
|
1233
1248
|
],
|
|
1234
1249
|
"superclass": {
|
|
@@ -1258,55 +1273,6 @@
|
|
|
1258
1273
|
}
|
|
1259
1274
|
]
|
|
1260
1275
|
},
|
|
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
|
-
},
|
|
1310
1276
|
{
|
|
1311
1277
|
"kind": "javascript-module",
|
|
1312
1278
|
"path": "src/main/index.ts",
|
|
@@ -1746,19 +1712,6 @@
|
|
|
1746
1712
|
"module": "src/entities/entities.ts"
|
|
1747
1713
|
}
|
|
1748
1714
|
},
|
|
1749
|
-
{
|
|
1750
|
-
"kind": "field",
|
|
1751
|
-
"name": "blockScrollingOnContextMenu",
|
|
1752
|
-
"type": {
|
|
1753
|
-
"text": "boolean"
|
|
1754
|
-
},
|
|
1755
|
-
"default": "false",
|
|
1756
|
-
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
|
|
1757
|
-
"inheritedFrom": {
|
|
1758
|
-
"name": "EntityManagement",
|
|
1759
|
-
"module": "src/entities/entities.ts"
|
|
1760
|
-
}
|
|
1761
|
-
},
|
|
1762
1715
|
{
|
|
1763
1716
|
"kind": "field",
|
|
1764
1717
|
"name": "gridOptions",
|
|
@@ -2306,19 +2259,6 @@
|
|
|
2306
2259
|
"module": "src/entities/entities.ts"
|
|
2307
2260
|
}
|
|
2308
2261
|
},
|
|
2309
|
-
{
|
|
2310
|
-
"name": "block-scrolling-on-context-menu",
|
|
2311
|
-
"type": {
|
|
2312
|
-
"text": "boolean"
|
|
2313
|
-
},
|
|
2314
|
-
"default": "false",
|
|
2315
|
-
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
|
|
2316
|
-
"fieldName": "blockScrollingOnContextMenu",
|
|
2317
|
-
"inheritedFrom": {
|
|
2318
|
-
"name": "EntityManagement",
|
|
2319
|
-
"module": "src/entities/entities.ts"
|
|
2320
|
-
}
|
|
2321
|
-
},
|
|
2322
2262
|
{
|
|
2323
2263
|
"name": "size-columns-to-fit",
|
|
2324
2264
|
"type": {
|
|
@@ -63,14 +63,8 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
63
63
|
click(): void;
|
|
64
64
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
65
65
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
66
|
-
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
67
|
-
|
|
68
|
-
* @public
|
|
69
|
-
*/
|
|
70
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; /**
|
|
71
|
-
* Array which holds the column definitions.
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
66
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
67
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
74
68
|
readonly attributes: NamedNodeMap;
|
|
75
69
|
readonly classList: DOMTokenList;
|
|
76
70
|
className: string;
|
|
@@ -80,10 +74,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
80
74
|
readonly clientWidth: number;
|
|
81
75
|
id: string;
|
|
82
76
|
readonly localName: string;
|
|
83
|
-
readonly namespaceURI: string;
|
|
84
|
-
* The name of the resource in the backend to interact with when dispatching actions from the update/create modal
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
77
|
+
readonly namespaceURI: string;
|
|
87
78
|
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
88
79
|
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
89
80
|
outerHTML: string;
|
|
@@ -270,10 +261,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
270
261
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
271
262
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
272
263
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
273
|
-
/**
|
|
274
|
-
* Show notifications if the executed event returned an error.
|
|
275
|
-
* @internal
|
|
276
|
-
*/
|
|
277
264
|
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
278
265
|
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
279
266
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
@@ -483,12 +470,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
483
470
|
* @public
|
|
484
471
|
*/
|
|
485
472
|
persistColumnStateKey: string;
|
|
486
|
-
/**
|
|
487
|
-
* If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
|
|
488
|
-
* @remarks Defaults to false
|
|
489
|
-
* @alpha
|
|
490
|
-
*/
|
|
491
|
-
blockScrollingOnContextMenu: boolean;
|
|
492
473
|
/**
|
|
493
474
|
* GridOptions to be passed down from application
|
|
494
475
|
* @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,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAa,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE7E,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,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAa,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE7E,OAAO,EAAu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AU;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,uEAmDpB,CAAC"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -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,wBAAw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;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,2DA0DxB,CAAC"}
|
|
@@ -75,12 +75,6 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
75
75
|
* @public
|
|
76
76
|
*/
|
|
77
77
|
this.enableRowFlashing = false;
|
|
78
|
-
/**
|
|
79
|
-
* If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
|
|
80
|
-
* @remarks Defaults to false
|
|
81
|
-
* @alpha
|
|
82
|
-
*/
|
|
83
|
-
this.blockScrollingOnContextMenu = false;
|
|
84
78
|
/**
|
|
85
79
|
* Array with renderers used by foundation-forms
|
|
86
80
|
* @public
|
|
@@ -384,9 +378,6 @@ __decorate([
|
|
|
384
378
|
__decorate([
|
|
385
379
|
attr({ attribute: 'persist-column-state-key' })
|
|
386
380
|
], EntityManagement.prototype, "persistColumnStateKey", void 0);
|
|
387
|
-
__decorate([
|
|
388
|
-
attr({ attribute: 'block-scrolling-on-context-menu', mode: 'boolean' })
|
|
389
|
-
], EntityManagement.prototype, "blockScrollingOnContextMenu", void 0);
|
|
390
381
|
__decorate([
|
|
391
382
|
observable
|
|
392
383
|
], EntityManagement.prototype, "gridOptions", void 0);
|
|
@@ -62,7 +62,6 @@ export const template = html `
|
|
|
62
62
|
data-test-id="entity-list"
|
|
63
63
|
hide-edit=${(x) => x.hideEdit}
|
|
64
64
|
hide-delete=${(x) => x.hideDelete}
|
|
65
|
-
block-scrolling-on-context-menu=${(x) => x.blockScrollingOnContextMenu}
|
|
66
65
|
>
|
|
67
66
|
<slot name="header" slot="header">${defaultHeader}</slot>
|
|
68
67
|
</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);
|
|
@@ -159,9 +158,6 @@ __decorate([
|
|
|
159
158
|
__decorate([
|
|
160
159
|
attr({ mode: 'boolean', attribute: 'hide-delete' })
|
|
161
160
|
], List.prototype, "hideDelete", void 0);
|
|
162
|
-
__decorate([
|
|
163
|
-
attr({ attribute: 'block-scrolling-on-context-menu', mode: 'boolean' })
|
|
164
|
-
], List.prototype, "blockScrollingOnContextMenu", void 0);
|
|
165
161
|
__decorate([
|
|
166
162
|
observable
|
|
167
163
|
], List.prototype, "gridOptions", void 0);
|
|
@@ -25,7 +25,6 @@ export const listTemplate = html `
|
|
|
25
25
|
async-update=${(x) => x.asyncUpdate}
|
|
26
26
|
enable-cell-flashing=${(x) => x.enableCellFlashing}
|
|
27
27
|
enable-row-flashing=${(x) => x.enableRowFlashing}
|
|
28
|
-
block-scrolling-on-context-menu=${(x) => x.blockScrollingOnContextMenu}
|
|
29
28
|
>
|
|
30
29
|
<grid-pro-genesis-datasource
|
|
31
30
|
${ref('datasource')}
|
|
@@ -168,12 +168,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
168
168
|
* @public
|
|
169
169
|
*/
|
|
170
170
|
persistColumnStateKey: string;
|
|
171
|
-
/**
|
|
172
|
-
* If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
|
|
173
|
-
* @remarks Defaults to false
|
|
174
|
-
* @alpha
|
|
175
|
-
*/
|
|
176
|
-
blockScrollingOnContextMenu: boolean;
|
|
177
171
|
/**
|
|
178
172
|
* GridOptions to be passed down from application
|
|
179
173
|
* @public
|
|
@@ -340,14 +334,8 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
340
334
|
click(): void;
|
|
341
335
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
342
336
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
343
|
-
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
344
|
-
|
|
345
|
-
* @public
|
|
346
|
-
*/
|
|
347
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; /**
|
|
348
|
-
* Array which holds the column definitions.
|
|
349
|
-
* @public
|
|
350
|
-
*/
|
|
337
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
338
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
351
339
|
readonly attributes: NamedNodeMap;
|
|
352
340
|
readonly classList: DOMTokenList;
|
|
353
341
|
className: string;
|
|
@@ -357,10 +345,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
357
345
|
readonly clientWidth: number;
|
|
358
346
|
id: string;
|
|
359
347
|
readonly localName: string;
|
|
360
|
-
readonly namespaceURI: string;
|
|
361
|
-
* The name of the resource in the backend to interact with when dispatching actions from the update/create modal
|
|
362
|
-
* @internal
|
|
363
|
-
*/
|
|
348
|
+
readonly namespaceURI: string;
|
|
364
349
|
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
365
350
|
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
366
351
|
outerHTML: string;
|
|
@@ -547,10 +532,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
547
532
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
548
533
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
549
534
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
550
|
-
/**
|
|
551
|
-
* Show notifications if the executed event returned an error.
|
|
552
|
-
* @internal
|
|
553
|
-
*/
|
|
554
535
|
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
555
536
|
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
556
537
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
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.146.1
|
|
4
|
+
"version": "14.146.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -43,24 +43,24 @@
|
|
|
43
43
|
"test:debug": "genx test --debug"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@genesislcap/foundation-testing": "14.146.1
|
|
47
|
-
"@genesislcap/genx": "14.146.1
|
|
46
|
+
"@genesislcap/foundation-testing": "14.146.1",
|
|
47
|
+
"@genesislcap/genx": "14.146.1",
|
|
48
48
|
"rimraf": "^3.0.2"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@ag-grid-community/core": "29.2.0",
|
|
52
|
-
"@genesislcap/foundation-comms": "14.146.1
|
|
53
|
-
"@genesislcap/foundation-errors": "14.146.1
|
|
54
|
-
"@genesislcap/foundation-events": "14.146.1
|
|
55
|
-
"@genesislcap/foundation-forms": "14.146.1
|
|
56
|
-
"@genesislcap/foundation-logger": "14.146.1
|
|
57
|
-
"@genesislcap/foundation-login": "14.146.1
|
|
58
|
-
"@genesislcap/foundation-notifications": "14.146.1
|
|
59
|
-
"@genesislcap/foundation-ui": "14.146.1
|
|
60
|
-
"@genesislcap/foundation-utils": "14.146.1
|
|
61
|
-
"@genesislcap/foundation-zero": "14.146.1
|
|
62
|
-
"@genesislcap/foundation-zero-grid-pro": "14.146.1
|
|
63
|
-
"@genesislcap/grid-pro": "14.146.1
|
|
52
|
+
"@genesislcap/foundation-comms": "14.146.1",
|
|
53
|
+
"@genesislcap/foundation-errors": "14.146.1",
|
|
54
|
+
"@genesislcap/foundation-events": "14.146.1",
|
|
55
|
+
"@genesislcap/foundation-forms": "14.146.1",
|
|
56
|
+
"@genesislcap/foundation-logger": "14.146.1",
|
|
57
|
+
"@genesislcap/foundation-login": "14.146.1",
|
|
58
|
+
"@genesislcap/foundation-notifications": "14.146.1",
|
|
59
|
+
"@genesislcap/foundation-ui": "14.146.1",
|
|
60
|
+
"@genesislcap/foundation-utils": "14.146.1",
|
|
61
|
+
"@genesislcap/foundation-zero": "14.146.1",
|
|
62
|
+
"@genesislcap/foundation-zero-grid-pro": "14.146.1",
|
|
63
|
+
"@genesislcap/grid-pro": "14.146.1",
|
|
64
64
|
"@microsoft/fast-components": "^2.30.6",
|
|
65
65
|
"@microsoft/fast-element": "^1.12.0",
|
|
66
66
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
78
|
"customElements": "dist/custom-elements.json",
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "9b5c011341bdf33e644021b7ad5839079400b510"
|
|
80
80
|
}
|