@genesislcap/foundation-entity-management 14.299.0 → 14.301.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 +29 -0
- package/dist/dts/entities/entities.d.ts +16 -15
- 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 +2 -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 +3 -0
- package/dist/esm/entities/entities.template.js +1 -0
- package/dist/esm/list/list.js +3 -0
- package/dist/esm/list/list.template.js +2 -0
- package/dist/foundation-entity-management.api.json +31 -0
- package/dist/foundation-entity-management.d.ts +17 -14
- package/docs/api/foundation-entity-management.entitymanagement.md +1 -0
- package/docs/api/foundation-entity-management.entitymanagement.statusbarconfig.md +18 -0
- package/docs/api-report.md +2 -0
- package/package.json +21 -21
|
@@ -349,6 +349,15 @@
|
|
|
349
349
|
"description": "GridOptions to be passed down from application",
|
|
350
350
|
"privacy": "public"
|
|
351
351
|
},
|
|
352
|
+
{
|
|
353
|
+
"kind": "field",
|
|
354
|
+
"name": "statusBarConfig",
|
|
355
|
+
"type": {
|
|
356
|
+
"text": "GridProStatusBarConfig"
|
|
357
|
+
},
|
|
358
|
+
"description": "Configuration for the grid status bar components.",
|
|
359
|
+
"privacy": "public"
|
|
360
|
+
},
|
|
352
361
|
{
|
|
353
362
|
"kind": "field",
|
|
354
363
|
"name": "columns",
|
|
@@ -1205,6 +1214,19 @@
|
|
|
1205
1214
|
"module": "src/entities/entities.ts"
|
|
1206
1215
|
}
|
|
1207
1216
|
},
|
|
1217
|
+
{
|
|
1218
|
+
"kind": "field",
|
|
1219
|
+
"name": "statusBarConfig",
|
|
1220
|
+
"type": {
|
|
1221
|
+
"text": "GridProStatusBarConfig"
|
|
1222
|
+
},
|
|
1223
|
+
"description": "Configuration for the grid status bar components.",
|
|
1224
|
+
"privacy": "public",
|
|
1225
|
+
"inheritedFrom": {
|
|
1226
|
+
"name": "EntityManagement",
|
|
1227
|
+
"module": "src/entities/entities.ts"
|
|
1228
|
+
}
|
|
1229
|
+
},
|
|
1208
1230
|
{
|
|
1209
1231
|
"kind": "field",
|
|
1210
1232
|
"name": "columns",
|
|
@@ -2281,6 +2303,13 @@
|
|
|
2281
2303
|
"text": "string"
|
|
2282
2304
|
}
|
|
2283
2305
|
},
|
|
2306
|
+
{
|
|
2307
|
+
"kind": "field",
|
|
2308
|
+
"name": "statusBarConfig",
|
|
2309
|
+
"type": {
|
|
2310
|
+
"text": "GridProStatusBarConfig"
|
|
2311
|
+
}
|
|
2312
|
+
},
|
|
2284
2313
|
{
|
|
2285
2314
|
"kind": "field",
|
|
2286
2315
|
"name": "connect",
|
|
@@ -4,7 +4,7 @@ import type { UiSchema } from '@genesislcap/foundation-forms';
|
|
|
4
4
|
import { RendererEntry } from '@genesislcap/foundation-forms';
|
|
5
5
|
import { Modal } from '@genesislcap/foundation-ui';
|
|
6
6
|
import { AvailableOption, SelectedOption } from '@genesislcap/foundation-ui';
|
|
7
|
-
import type { DatasourceType, GridProCaseType } from '@genesislcap/grid-pro';
|
|
7
|
+
import type { DatasourceType, GridProCaseType, GridProStatusBarConfig } from '@genesislcap/grid-pro';
|
|
8
8
|
import { FASTElement } from '@microsoft/fast-element';
|
|
9
9
|
import { List } from '../list';
|
|
10
10
|
import { CrudMenuPosition, ActionsMenuStyle, ModalFormType, CrudAction } from '../types';
|
|
@@ -72,11 +72,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
72
72
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
73
73
|
readonly attributes: NamedNodeMap;
|
|
74
74
|
readonly classList: DOMTokenList;
|
|
75
|
-
/**
|
|
76
|
-
* Whether to use the `applyTransactionAsync` function for *update* transactions
|
|
77
|
-
* @remarks Defaults to true
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
75
|
className: string;
|
|
81
76
|
readonly clientHeight: number;
|
|
82
77
|
readonly clientLeft: number;
|
|
@@ -173,10 +168,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
173
168
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
174
169
|
readonly ATTRIBUTE_NODE: number;
|
|
175
170
|
readonly CDATA_SECTION_NODE: number;
|
|
176
|
-
readonly COMMENT_NODE: number;
|
|
177
|
-
* Hides delete button
|
|
178
|
-
* @public
|
|
179
|
-
*/
|
|
171
|
+
readonly COMMENT_NODE: number;
|
|
180
172
|
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
181
173
|
readonly DOCUMENT_NODE: number;
|
|
182
174
|
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
@@ -209,7 +201,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
209
201
|
ariaInvalid: string;
|
|
210
202
|
ariaKeyShortcuts: string;
|
|
211
203
|
ariaLabel: string;
|
|
212
|
-
ariaLevel: string;
|
|
204
|
+
ariaLevel: string; /**
|
|
205
|
+
* Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid
|
|
206
|
+
* * @internal
|
|
207
|
+
*/
|
|
213
208
|
ariaLive: string;
|
|
214
209
|
ariaModal: string;
|
|
215
210
|
ariaMultiLine: string;
|
|
@@ -261,10 +256,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
261
256
|
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
262
257
|
readonly style: CSSStyleDeclaration;
|
|
263
258
|
contentEditable: string;
|
|
264
|
-
enterKeyHint: string;
|
|
265
|
-
* Flag which can be used to control when to cache the base criteria when the datasourceConfig changes
|
|
266
|
-
* (we don't want to cache in the case we've set a criteria via the search bar)
|
|
267
|
-
*/
|
|
259
|
+
enterKeyHint: string;
|
|
268
260
|
inputMode: string;
|
|
269
261
|
readonly isContentEditable: boolean;
|
|
270
262
|
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
@@ -547,6 +539,15 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
547
539
|
* @public
|
|
548
540
|
*/
|
|
549
541
|
gridOptions: GridOptions;
|
|
542
|
+
/**
|
|
543
|
+
* Configuration for the grid status bar components.
|
|
544
|
+
* @remarks
|
|
545
|
+
* This requires AG Grid Enterprise module to be enabled.
|
|
546
|
+
* The status bar will only be displayed if the Enterprise module is available.
|
|
547
|
+
* @see https://www.ag-grid.com/javascript-data-grid/component-status-bar/
|
|
548
|
+
* @public
|
|
549
|
+
*/
|
|
550
|
+
statusBarConfig: GridProStatusBarConfig;
|
|
550
551
|
/**
|
|
551
552
|
* Array which holds the column definitions.
|
|
552
553
|
* @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,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrF,OAAO,EACL,OAAO,EACP,iBAAiB,EAEjB,YAAY,EAEb,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAa,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,KAAK,EAAe,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE7E,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrF,OAAO,EACL,OAAO,EACP,iBAAiB,EAEjB,YAAY,EAEb,MAAM,+BAA+B,CAAC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C;;OAEG;IACG,aAAa;IAwBnB,OAAO,CAAC,sBAAsB;IAc9B;;;;OAIG;IACI,QAAQ,CAAC,MAAM,EAAE,QAAQ,GAAG,MAAM,GAAG,QAAQ;IAIpD;;;OAGG;IACI,YAAY,CAAC,IAAI,EAAE,aAAa,GAAG,UAAU,CAAC,MAAM,EAAE,YAAY,CAAC,EAAE,YAAY,EAAE;IA8C1F;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAI3B;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAkC/B;;;OAGG;IACI,gBAAgB,CAAC,KAAK,EAAE,WAAW,CAAC,qBAAqB,CAAC;CASlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiB,gBAAgB,EAAc,MAAM,UAAU,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAoBnD;;GAEG;AACH,eAAO,MAAM,mBAAmB,0BAAsB,gBAAgB,0EAkDrE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,wFAgBlC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,wFAQzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,wFAe3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiB,gBAAgB,EAAc,MAAM,UAAU,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAoBnD;;GAEG;AACH,eAAO,MAAM,mBAAmB,0BAAsB,gBAAgB,0EAkDrE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,wFAgBlC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,wFAQzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,wFAe3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,wFAmE/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,QAAQ,uEAEpB,CAAC"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ColDef, GridOptions } from '@ag-grid-community/core';
|
|
2
2
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
3
3
|
import { GridProGenesisDatasource, ZeroGridPro } from '@genesislcap/foundation-zero-grid-pro';
|
|
4
|
-
import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
4
|
+
import type { GridProCaseType, GridProStatusBarConfig } from '@genesislcap/grid-pro';
|
|
5
5
|
import { DatasourceType } from '@genesislcap/grid-pro';
|
|
6
6
|
import { FASTElement } from '@microsoft/fast-element';
|
|
7
7
|
import type { DatasourceConfiguration } from '../entities/entities';
|
|
@@ -367,6 +367,7 @@ export declare class List extends List_base {
|
|
|
367
367
|
createEvent: string;
|
|
368
368
|
updateEvent: string;
|
|
369
369
|
deleteEvent: string;
|
|
370
|
+
statusBarConfig: GridProStatusBarConfig;
|
|
370
371
|
protected connect: Connect;
|
|
371
372
|
get isServerSideDatasource(): boolean;
|
|
372
373
|
connectedCallback(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAyB,MAAM,yBAAyB,CAAC;AAE1F,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"list.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AGf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AA2DnC,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AA2DnC,eAAO,MAAM,eAAe,4EAoD3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,YAAY,2DAExB,CAAC"}
|
|
@@ -765,6 +765,9 @@ __decorate([
|
|
|
765
765
|
__decorate([
|
|
766
766
|
observable
|
|
767
767
|
], EntityManagement.prototype, "gridOptions", void 0);
|
|
768
|
+
__decorate([
|
|
769
|
+
observable
|
|
770
|
+
], EntityManagement.prototype, "statusBarConfig", void 0);
|
|
768
771
|
__decorate([
|
|
769
772
|
observable
|
|
770
773
|
], EntityManagement.prototype, "columns", void 0);
|
|
@@ -124,6 +124,7 @@ export const getPrefixedEntities = (prefix) => html `
|
|
|
124
124
|
:updateEvent=${(x) => x.updateEvent}
|
|
125
125
|
:createEvent=${(x) => x.createEvent}
|
|
126
126
|
:gridOptions=${(x) => x.gridOptions}
|
|
127
|
+
:statusBarConfig=${(x) => x.statusBarConfig}
|
|
127
128
|
:columns=${(x) => x.columns}
|
|
128
129
|
:datasourceConfig=${(x) => x._datasourceConfig}
|
|
129
130
|
design-system-prefix=${prefix}
|
package/dist/esm/list/list.js
CHANGED
|
@@ -88,6 +88,8 @@ export const getPrefixedList = (prefix) => html `
|
|
|
88
88
|
enable-cell-flashing=${(x) => x.enableCellFlashing}
|
|
89
89
|
enable-row-flashing=${(x) => x.enableRowFlashing}
|
|
90
90
|
header-case-type=${(x) => x.headerCaseType}
|
|
91
|
+
?with-status-bar=${(x) => !!x.statusBarConfig}
|
|
92
|
+
:statusBarConfig=${(x) => x.statusBarConfig}
|
|
91
93
|
@rowClicked="${(x, ctx) => x.handleRowClicked(customEvent(ctx))}"
|
|
92
94
|
@rowDblClicked="${(x, ctx) => x.handleRowDblClicked(customEvent(ctx))}"
|
|
93
95
|
@cellContextMenu="${(x, ctx) => x.handleRowContextMenu(customEvent(ctx))}"
|
|
@@ -1247,6 +1247,37 @@
|
|
|
1247
1247
|
"isProtected": false,
|
|
1248
1248
|
"isAbstract": false
|
|
1249
1249
|
},
|
|
1250
|
+
{
|
|
1251
|
+
"kind": "Property",
|
|
1252
|
+
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#statusBarConfig:member",
|
|
1253
|
+
"docComment": "/**\n * Configuration for the grid status bar components.\n *\n * @remarks\n *\n * This requires AG Grid Enterprise module to be enabled. The status bar will only be displayed if the Enterprise module is available.\n *\n * @see\n *\n * https://www.ag-grid.com/javascript-data-grid/component-status-bar/\n *\n * @public\n */\n",
|
|
1254
|
+
"excerptTokens": [
|
|
1255
|
+
{
|
|
1256
|
+
"kind": "Content",
|
|
1257
|
+
"text": "statusBarConfig: "
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
"kind": "Reference",
|
|
1261
|
+
"text": "GridProStatusBarConfig",
|
|
1262
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProStatusBarConfig:interface"
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"kind": "Content",
|
|
1266
|
+
"text": ";"
|
|
1267
|
+
}
|
|
1268
|
+
],
|
|
1269
|
+
"isReadonly": false,
|
|
1270
|
+
"isOptional": false,
|
|
1271
|
+
"releaseTag": "Public",
|
|
1272
|
+
"name": "statusBarConfig",
|
|
1273
|
+
"propertyTypeTokenRange": {
|
|
1274
|
+
"startIndex": 1,
|
|
1275
|
+
"endIndex": 2
|
|
1276
|
+
},
|
|
1277
|
+
"isStatic": false,
|
|
1278
|
+
"isProtected": false,
|
|
1279
|
+
"isAbstract": false
|
|
1280
|
+
},
|
|
1250
1281
|
{
|
|
1251
1282
|
"kind": "Property",
|
|
1252
1283
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#title:member",
|
|
@@ -14,6 +14,7 @@ import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
|
|
|
14
14
|
import { GridOptions } from '@ag-grid-community/core';
|
|
15
15
|
import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
16
16
|
import { GridProGenesisDatasource } from '@genesislcap/foundation-zero-grid-pro';
|
|
17
|
+
import type { GridProStatusBarConfig } from '@genesislcap/grid-pro';
|
|
17
18
|
import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
|
|
18
19
|
import { Logger } from '@genesislcap/foundation-logger';
|
|
19
20
|
import { MessageError } from '@genesislcap/foundation-comms';
|
|
@@ -260,6 +261,15 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
260
261
|
* @public
|
|
261
262
|
*/
|
|
262
263
|
gridOptions: GridOptions;
|
|
264
|
+
/**
|
|
265
|
+
* Configuration for the grid status bar components.
|
|
266
|
+
* @remarks
|
|
267
|
+
* This requires AG Grid Enterprise module to be enabled.
|
|
268
|
+
* The status bar will only be displayed if the Enterprise module is available.
|
|
269
|
+
* @see https://www.ag-grid.com/javascript-data-grid/component-status-bar/
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
statusBarConfig: GridProStatusBarConfig;
|
|
263
273
|
/**
|
|
264
274
|
* Array which holds the column definitions.
|
|
265
275
|
* @public
|
|
@@ -611,11 +621,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
611
621
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
612
622
|
readonly attributes: NamedNodeMap;
|
|
613
623
|
readonly classList: DOMTokenList;
|
|
614
|
-
/**
|
|
615
|
-
* Whether to use the `applyTransactionAsync` function for *update* transactions
|
|
616
|
-
* @remarks Defaults to true
|
|
617
|
-
* @internal
|
|
618
|
-
*/
|
|
619
624
|
className: string;
|
|
620
625
|
readonly clientHeight: number;
|
|
621
626
|
readonly clientLeft: number;
|
|
@@ -712,10 +717,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
712
717
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
713
718
|
readonly ATTRIBUTE_NODE: number;
|
|
714
719
|
readonly CDATA_SECTION_NODE: number;
|
|
715
|
-
readonly COMMENT_NODE: number;
|
|
716
|
-
* Hides delete button
|
|
717
|
-
* @public
|
|
718
|
-
*/
|
|
720
|
+
readonly COMMENT_NODE: number;
|
|
719
721
|
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
720
722
|
readonly DOCUMENT_NODE: number;
|
|
721
723
|
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
@@ -748,7 +750,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
748
750
|
ariaInvalid: string;
|
|
749
751
|
ariaKeyShortcuts: string;
|
|
750
752
|
ariaLabel: string;
|
|
751
|
-
ariaLevel: string;
|
|
753
|
+
ariaLevel: string; /**
|
|
754
|
+
* Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid
|
|
755
|
+
* * @internal
|
|
756
|
+
*/
|
|
752
757
|
ariaLive: string;
|
|
753
758
|
ariaModal: string;
|
|
754
759
|
ariaMultiLine: string;
|
|
@@ -800,10 +805,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
800
805
|
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
801
806
|
readonly style: CSSStyleDeclaration;
|
|
802
807
|
contentEditable: string;
|
|
803
|
-
enterKeyHint: string;
|
|
804
|
-
* Flag which can be used to control when to cache the base criteria when the datasourceConfig changes
|
|
805
|
-
* (we don't want to cache in the case we've set a criteria via the search bar)
|
|
806
|
-
*/
|
|
808
|
+
enterKeyHint: string;
|
|
807
809
|
inputMode: string;
|
|
808
810
|
readonly isContentEditable: boolean;
|
|
809
811
|
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
@@ -949,6 +951,7 @@ declare class List extends List_base {
|
|
|
949
951
|
createEvent: string;
|
|
950
952
|
updateEvent: string;
|
|
951
953
|
deleteEvent: string;
|
|
954
|
+
statusBarConfig: GridProStatusBarConfig;
|
|
952
955
|
protected connect: Connect;
|
|
953
956
|
get isServerSideDatasource(): boolean;
|
|
954
957
|
connectedCallback(): void;
|
|
@@ -66,6 +66,7 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
66
66
|
| [rowSelection](./foundation-entity-management.entitymanagement.rowselection.md) | | string | This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows. |
|
|
67
67
|
| [searchBarConfig](./foundation-entity-management.entitymanagement.searchbarconfig.md) | | AvailableOption\[\] | Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid \* |
|
|
68
68
|
| [sizeColumnsToFit](./foundation-entity-management.entitymanagement.sizecolumnstofit.md) | | boolean | Resizes columns to take available space |
|
|
69
|
+
| [statusBarConfig](./foundation-entity-management.entitymanagement.statusbarconfig.md) | | GridProStatusBarConfig | Configuration for the grid status bar components. |
|
|
69
70
|
| [title](./foundation-entity-management.entitymanagement.title.md) | | string | Title of the grid |
|
|
70
71
|
| [updateEvent](./foundation-entity-management.entitymanagement.updateevent.md) | | string | Name of the event handler on the Genesis server which handles updating the entity |
|
|
71
72
|
| [updateFormUiSchema](./foundation-entity-management.entitymanagement.updateformuischema.md) | | UiSchema | Enables you to supply a schema to configure an update form. |
|
|
@@ -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) > [statusBarConfig](./foundation-entity-management.entitymanagement.statusbarconfig.md)
|
|
4
|
+
|
|
5
|
+
## EntityManagement.statusBarConfig property
|
|
6
|
+
|
|
7
|
+
Configuration for the grid status bar components.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
statusBarConfig: GridProStatusBarConfig;
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Remarks
|
|
16
|
+
|
|
17
|
+
This requires AG Grid Enterprise module to be enabled. The status bar will only be displayed if the Enterprise module is available.
|
|
18
|
+
|
package/docs/api-report.md
CHANGED
|
@@ -20,6 +20,7 @@ import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
|
|
|
20
20
|
import { GridOptions } from '@ag-grid-community/core';
|
|
21
21
|
import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
22
22
|
import { GridProGenesisDatasource } from '@genesislcap/foundation-zero-grid-pro';
|
|
23
|
+
import type { GridProStatusBarConfig } from '@genesislcap/grid-pro';
|
|
23
24
|
import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
|
|
24
25
|
import { Logger } from '@genesislcap/foundation-logger';
|
|
25
26
|
import { MessageError } from '@genesislcap/foundation-comms';
|
|
@@ -164,6 +165,7 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
164
165
|
// @internal
|
|
165
166
|
get shouldHideEditInColumn(): boolean;
|
|
166
167
|
sizeColumnsToFit: boolean;
|
|
168
|
+
statusBarConfig: GridProStatusBarConfig;
|
|
167
169
|
// @internal
|
|
168
170
|
submitEntityChanges(): Promise<void>;
|
|
169
171
|
// @internal (undocumented)
|
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.301.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -52,29 +52,29 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@genesislcap/foundation-testing": "14.
|
|
56
|
-
"@genesislcap/genx": "14.
|
|
57
|
-
"@genesislcap/rollup-builder": "14.
|
|
58
|
-
"@genesislcap/ts-builder": "14.
|
|
59
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
60
|
-
"@genesislcap/vite-builder": "14.
|
|
61
|
-
"@genesislcap/webpack-builder": "14.
|
|
55
|
+
"@genesislcap/foundation-testing": "14.301.0",
|
|
56
|
+
"@genesislcap/genx": "14.301.0",
|
|
57
|
+
"@genesislcap/rollup-builder": "14.301.0",
|
|
58
|
+
"@genesislcap/ts-builder": "14.301.0",
|
|
59
|
+
"@genesislcap/uvu-playwright-builder": "14.301.0",
|
|
60
|
+
"@genesislcap/vite-builder": "14.301.0",
|
|
61
|
+
"@genesislcap/webpack-builder": "14.301.0",
|
|
62
62
|
"rimraf": "^5.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@ag-grid-community/core": "29.2.0",
|
|
66
|
-
"@genesislcap/foundation-comms": "14.
|
|
67
|
-
"@genesislcap/foundation-errors": "14.
|
|
68
|
-
"@genesislcap/foundation-events": "14.
|
|
69
|
-
"@genesislcap/foundation-forms": "14.
|
|
70
|
-
"@genesislcap/foundation-logger": "14.
|
|
71
|
-
"@genesislcap/foundation-login": "14.
|
|
72
|
-
"@genesislcap/foundation-notifications": "14.
|
|
73
|
-
"@genesislcap/foundation-ui": "14.
|
|
74
|
-
"@genesislcap/foundation-utils": "14.
|
|
75
|
-
"@genesislcap/foundation-zero": "14.
|
|
76
|
-
"@genesislcap/foundation-zero-grid-pro": "14.
|
|
77
|
-
"@genesislcap/grid-pro": "14.
|
|
66
|
+
"@genesislcap/foundation-comms": "14.301.0",
|
|
67
|
+
"@genesislcap/foundation-errors": "14.301.0",
|
|
68
|
+
"@genesislcap/foundation-events": "14.301.0",
|
|
69
|
+
"@genesislcap/foundation-forms": "14.301.0",
|
|
70
|
+
"@genesislcap/foundation-logger": "14.301.0",
|
|
71
|
+
"@genesislcap/foundation-login": "14.301.0",
|
|
72
|
+
"@genesislcap/foundation-notifications": "14.301.0",
|
|
73
|
+
"@genesislcap/foundation-ui": "14.301.0",
|
|
74
|
+
"@genesislcap/foundation-utils": "14.301.0",
|
|
75
|
+
"@genesislcap/foundation-zero": "14.301.0",
|
|
76
|
+
"@genesislcap/foundation-zero-grid-pro": "14.301.0",
|
|
77
|
+
"@genesislcap/grid-pro": "14.301.0",
|
|
78
78
|
"@microsoft/fast-components": "2.30.6",
|
|
79
79
|
"@microsoft/fast-element": "1.14.0",
|
|
80
80
|
"@microsoft/fast-foundation": "2.49.6",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"access": "public"
|
|
92
92
|
},
|
|
93
93
|
"customElements": "dist/custom-elements.json",
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "f4ee6d1554e5c85fa0247cb47bde1048ae108e81"
|
|
95
95
|
}
|