@genesislcap/foundation-entity-management 14.146.1-alpha-0d80785.0 → 14.147.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 +50 -54
- package/dist/dts/entities/entities.d.ts +14 -22
- package/dist/dts/entities/entities.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/esm/entities/entities.js +3 -9
- package/dist/esm/entities/entities.template.js +1 -1
- package/dist/esm/list/list.js +2 -3
- package/dist/esm/list/list.template.js +1 -1
- package/dist/foundation-entity-management.api.json +31 -0
- package/dist/foundation-entity-management.d.ts +14 -22
- package/docs/api/foundation-entity-management.entitymanagement.headercasetype.md +18 -0
- package/docs/api/foundation-entity-management.entitymanagement.md +1 -0
- package/docs/api-report.md +2 -2
- package/package.json +21 -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 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",
|
|
@@ -484,6 +475,15 @@
|
|
|
484
475
|
},
|
|
485
476
|
"default": "false"
|
|
486
477
|
},
|
|
478
|
+
{
|
|
479
|
+
"kind": "field",
|
|
480
|
+
"name": "headerCaseType",
|
|
481
|
+
"type": {
|
|
482
|
+
"text": "GridProCaseType"
|
|
483
|
+
},
|
|
484
|
+
"description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
|
|
485
|
+
"privacy": "public"
|
|
486
|
+
},
|
|
487
487
|
{
|
|
488
488
|
"kind": "field",
|
|
489
489
|
"name": "searchBarConfig",
|
|
@@ -715,15 +715,6 @@
|
|
|
715
715
|
"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
716
|
"fieldName": "persistColumnStateKey"
|
|
717
717
|
},
|
|
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
718
|
{
|
|
728
719
|
"name": "size-columns-to-fit",
|
|
729
720
|
"type": {
|
|
@@ -762,6 +753,14 @@
|
|
|
762
753
|
"default": "false",
|
|
763
754
|
"fieldName": "enableSearchBar"
|
|
764
755
|
},
|
|
756
|
+
{
|
|
757
|
+
"name": "header-case-type",
|
|
758
|
+
"type": {
|
|
759
|
+
"text": "GridProCaseType"
|
|
760
|
+
},
|
|
761
|
+
"description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
|
|
762
|
+
"fieldName": "headerCaseType"
|
|
763
|
+
},
|
|
765
764
|
{
|
|
766
765
|
"name": "modal-position",
|
|
767
766
|
"type": {
|
|
@@ -879,7 +878,7 @@
|
|
|
879
878
|
{
|
|
880
879
|
"kind": "variable",
|
|
881
880
|
"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
|
|
881
|
+
"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`"
|
|
883
882
|
}
|
|
884
883
|
],
|
|
885
884
|
"exports": [
|
|
@@ -997,11 +996,10 @@
|
|
|
997
996
|
},
|
|
998
997
|
{
|
|
999
998
|
"kind": "field",
|
|
1000
|
-
"name": "
|
|
999
|
+
"name": "headerCaseType",
|
|
1001
1000
|
"type": {
|
|
1002
|
-
"text": "
|
|
1003
|
-
}
|
|
1004
|
-
"default": "false"
|
|
1001
|
+
"text": "GridProCaseType"
|
|
1002
|
+
}
|
|
1005
1003
|
},
|
|
1006
1004
|
{
|
|
1007
1005
|
"kind": "field",
|
|
@@ -1223,12 +1221,11 @@
|
|
|
1223
1221
|
"fieldName": "hideDelete"
|
|
1224
1222
|
},
|
|
1225
1223
|
{
|
|
1226
|
-
"name": "
|
|
1224
|
+
"name": "header-case-type",
|
|
1227
1225
|
"type": {
|
|
1228
|
-
"text": "
|
|
1226
|
+
"text": "GridProCaseType"
|
|
1229
1227
|
},
|
|
1230
|
-
"
|
|
1231
|
-
"fieldName": "blockScrollingOnContextMenu"
|
|
1228
|
+
"fieldName": "headerCaseType"
|
|
1232
1229
|
}
|
|
1233
1230
|
],
|
|
1234
1231
|
"superclass": {
|
|
@@ -1746,19 +1743,6 @@
|
|
|
1746
1743
|
"module": "src/entities/entities.ts"
|
|
1747
1744
|
}
|
|
1748
1745
|
},
|
|
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
1746
|
{
|
|
1763
1747
|
"kind": "field",
|
|
1764
1748
|
"name": "gridOptions",
|
|
@@ -1973,6 +1957,19 @@
|
|
|
1973
1957
|
"module": "src/entities/entities.ts"
|
|
1974
1958
|
}
|
|
1975
1959
|
},
|
|
1960
|
+
{
|
|
1961
|
+
"kind": "field",
|
|
1962
|
+
"name": "headerCaseType",
|
|
1963
|
+
"type": {
|
|
1964
|
+
"text": "GridProCaseType"
|
|
1965
|
+
},
|
|
1966
|
+
"description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
|
|
1967
|
+
"privacy": "public",
|
|
1968
|
+
"inheritedFrom": {
|
|
1969
|
+
"name": "EntityManagement",
|
|
1970
|
+
"module": "src/entities/entities.ts"
|
|
1971
|
+
}
|
|
1972
|
+
},
|
|
1976
1973
|
{
|
|
1977
1974
|
"kind": "field",
|
|
1978
1975
|
"name": "searchBarConfig",
|
|
@@ -2306,19 +2303,6 @@
|
|
|
2306
2303
|
"module": "src/entities/entities.ts"
|
|
2307
2304
|
}
|
|
2308
2305
|
},
|
|
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
2306
|
{
|
|
2323
2307
|
"name": "size-columns-to-fit",
|
|
2324
2308
|
"type": {
|
|
@@ -2377,6 +2361,18 @@
|
|
|
2377
2361
|
"module": "src/entities/entities.ts"
|
|
2378
2362
|
}
|
|
2379
2363
|
},
|
|
2364
|
+
{
|
|
2365
|
+
"name": "header-case-type",
|
|
2366
|
+
"type": {
|
|
2367
|
+
"text": "GridProCaseType"
|
|
2368
|
+
},
|
|
2369
|
+
"description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
|
|
2370
|
+
"fieldName": "headerCaseType",
|
|
2371
|
+
"inheritedFrom": {
|
|
2372
|
+
"name": "EntityManagement",
|
|
2373
|
+
"module": "src/entities/entities.ts"
|
|
2374
|
+
}
|
|
2375
|
+
},
|
|
2380
2376
|
{
|
|
2381
2377
|
"name": "modal-position",
|
|
2382
2378
|
"type": {
|
|
@@ -2,6 +2,7 @@ import { ColDef, GridOptions } from '@ag-grid-community/core';
|
|
|
2
2
|
import { Connect, DatasourceOptions } from '@genesislcap/foundation-comms';
|
|
3
3
|
import { RendererEntry } from '@genesislcap/foundation-forms';
|
|
4
4
|
import { AvailableOption, SelectedOption } from '@genesislcap/foundation-ui';
|
|
5
|
+
import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
5
6
|
import { FASTElement } from '@microsoft/fast-element';
|
|
6
7
|
/**
|
|
7
8
|
* The attribute which is set to configure the resource that the entity manager is working with
|
|
@@ -63,27 +64,22 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
63
64
|
click(): void;
|
|
64
65
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
65
66
|
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
|
-
*/
|
|
67
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
68
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
74
69
|
readonly attributes: NamedNodeMap;
|
|
75
70
|
readonly classList: DOMTokenList;
|
|
76
71
|
className: string;
|
|
72
|
+
/**
|
|
73
|
+
* The name of the resource in the backend to interact with when dispatching actions from the update/create modal
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
77
76
|
readonly clientHeight: number;
|
|
78
77
|
readonly clientLeft: number;
|
|
79
78
|
readonly clientTop: number;
|
|
80
79
|
readonly clientWidth: number;
|
|
81
80
|
id: string;
|
|
82
81
|
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
|
-
*/
|
|
82
|
+
readonly namespaceURI: string;
|
|
87
83
|
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
88
84
|
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
89
85
|
outerHTML: string;
|
|
@@ -270,10 +266,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
270
266
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
271
267
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
272
268
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
273
|
-
/**
|
|
274
|
-
* Show notifications if the executed event returned an error.
|
|
275
|
-
* @internal
|
|
276
|
-
*/
|
|
277
269
|
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
278
270
|
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
279
271
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
@@ -483,12 +475,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
483
475
|
* @public
|
|
484
476
|
*/
|
|
485
477
|
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
478
|
/**
|
|
493
479
|
* GridOptions to be passed down from application
|
|
494
480
|
* @public
|
|
@@ -549,6 +535,12 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
549
535
|
hideEdit: boolean;
|
|
550
536
|
hideDelete: boolean;
|
|
551
537
|
enableSearchBar: boolean;
|
|
538
|
+
/**
|
|
539
|
+
* The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.
|
|
540
|
+
* @remarks Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
|
|
541
|
+
* @public
|
|
542
|
+
*/
|
|
543
|
+
headerCaseType: GridProCaseType;
|
|
552
544
|
searchBarConfig: AvailableOption[];
|
|
553
545
|
/**
|
|
554
546
|
* Determines where the modal dialog will appear on screen
|
|
@@ -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,KAAK,E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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"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -1,6 +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
5
|
import { FASTElement } from '@microsoft/fast-element';
|
|
5
6
|
import { DatasourceConfiguration } from '../entities/entities';
|
|
6
7
|
export declare class List extends FASTElement {
|
|
@@ -16,7 +17,7 @@ export declare class List extends FASTElement {
|
|
|
16
17
|
enableRowFlashing: boolean;
|
|
17
18
|
hideEdit: boolean;
|
|
18
19
|
hideDelete: boolean;
|
|
19
|
-
|
|
20
|
+
headerCaseType: GridProCaseType;
|
|
20
21
|
grid: ZeroGridPro;
|
|
21
22
|
datasource: GridProGenesisDatasource;
|
|
22
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,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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"}
|
|
@@ -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);
|
|
@@ -444,6 +435,9 @@ __decorate([
|
|
|
444
435
|
__decorate([
|
|
445
436
|
attr({ mode: 'boolean', attribute: 'enable-search-bar' })
|
|
446
437
|
], EntityManagement.prototype, "enableSearchBar", void 0);
|
|
438
|
+
__decorate([
|
|
439
|
+
attr({ attribute: 'header-case-type' })
|
|
440
|
+
], EntityManagement.prototype, "headerCaseType", void 0);
|
|
447
441
|
__decorate([
|
|
448
442
|
observable
|
|
449
443
|
], EntityManagement.prototype, "searchBarConfig", void 0);
|
|
@@ -62,7 +62,7 @@ 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
|
-
|
|
65
|
+
header-case-type=${(x) => x.headerCaseType}
|
|
66
66
|
>
|
|
67
67
|
<slot name="header" slot="header">${defaultHeader}</slot>
|
|
68
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);
|
|
@@ -160,8 +159,8 @@ __decorate([
|
|
|
160
159
|
attr({ mode: 'boolean', attribute: 'hide-delete' })
|
|
161
160
|
], List.prototype, "hideDelete", void 0);
|
|
162
161
|
__decorate([
|
|
163
|
-
attr({ attribute: '
|
|
164
|
-
], List.prototype, "
|
|
162
|
+
attr({ attribute: 'header-case-type' })
|
|
163
|
+
], List.prototype, "headerCaseType", void 0);
|
|
165
164
|
__decorate([
|
|
166
165
|
observable
|
|
167
166
|
], List.prototype, "gridOptions", void 0);
|
|
@@ -25,7 +25,7 @@ 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
|
-
|
|
28
|
+
header-case-type=${(x) => x.headerCaseType}
|
|
29
29
|
>
|
|
30
30
|
<grid-pro-genesis-datasource
|
|
31
31
|
${ref('datasource')}
|
|
@@ -1121,6 +1121,37 @@
|
|
|
1121
1121
|
"isProtected": false,
|
|
1122
1122
|
"isAbstract": false
|
|
1123
1123
|
},
|
|
1124
|
+
{
|
|
1125
|
+
"kind": "Property",
|
|
1126
|
+
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#headerCaseType:member",
|
|
1127
|
+
"docComment": "/**\n * The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.\n *\n * @remarks\n *\n * Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.\n *\n * @public\n */\n",
|
|
1128
|
+
"excerptTokens": [
|
|
1129
|
+
{
|
|
1130
|
+
"kind": "Content",
|
|
1131
|
+
"text": "headerCaseType: "
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"kind": "Reference",
|
|
1135
|
+
"text": "GridProCaseType",
|
|
1136
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProCaseType:enum"
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
"kind": "Content",
|
|
1140
|
+
"text": ";"
|
|
1141
|
+
}
|
|
1142
|
+
],
|
|
1143
|
+
"isReadonly": false,
|
|
1144
|
+
"isOptional": false,
|
|
1145
|
+
"releaseTag": "Public",
|
|
1146
|
+
"name": "headerCaseType",
|
|
1147
|
+
"propertyTypeTokenRange": {
|
|
1148
|
+
"startIndex": 1,
|
|
1149
|
+
"endIndex": 2
|
|
1150
|
+
},
|
|
1151
|
+
"isStatic": false,
|
|
1152
|
+
"isProtected": false,
|
|
1153
|
+
"isAbstract": false
|
|
1154
|
+
},
|
|
1124
1155
|
{
|
|
1125
1156
|
"kind": "Property",
|
|
1126
1157
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#headerTempalate:member",
|
|
@@ -11,6 +11,7 @@ import { FASTElement } from '@microsoft/fast-element';
|
|
|
11
11
|
import { FoundationAnalytics } from '@genesislcap/foundation-comms';
|
|
12
12
|
import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
|
|
13
13
|
import { GridOptions } from '@ag-grid-community/core';
|
|
14
|
+
import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
14
15
|
import { GridProRendererTypes } from '@genesislcap/foundation-zero-grid-pro';
|
|
15
16
|
import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
|
|
16
17
|
import { Logger } from '@genesislcap/foundation-logger';
|
|
@@ -168,12 +169,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
168
169
|
* @public
|
|
169
170
|
*/
|
|
170
171
|
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
172
|
/**
|
|
178
173
|
* GridOptions to be passed down from application
|
|
179
174
|
* @public
|
|
@@ -234,6 +229,12 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
234
229
|
hideEdit: boolean;
|
|
235
230
|
hideDelete: boolean;
|
|
236
231
|
enableSearchBar: boolean;
|
|
232
|
+
/**
|
|
233
|
+
* The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.
|
|
234
|
+
* @remarks Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
237
|
+
headerCaseType: GridProCaseType;
|
|
237
238
|
searchBarConfig: AvailableOption[];
|
|
238
239
|
/**
|
|
239
240
|
* Determines where the modal dialog will appear on screen
|
|
@@ -340,27 +341,22 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
340
341
|
click(): void;
|
|
341
342
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
342
343
|
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
|
-
*/
|
|
344
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
345
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
351
346
|
readonly attributes: NamedNodeMap;
|
|
352
347
|
readonly classList: DOMTokenList;
|
|
353
348
|
className: string;
|
|
349
|
+
/**
|
|
350
|
+
* The name of the resource in the backend to interact with when dispatching actions from the update/create modal
|
|
351
|
+
* @internal
|
|
352
|
+
*/
|
|
354
353
|
readonly clientHeight: number;
|
|
355
354
|
readonly clientLeft: number;
|
|
356
355
|
readonly clientTop: number;
|
|
357
356
|
readonly clientWidth: number;
|
|
358
357
|
id: string;
|
|
359
358
|
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
|
-
*/
|
|
359
|
+
readonly namespaceURI: string;
|
|
364
360
|
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
365
361
|
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
366
362
|
outerHTML: string;
|
|
@@ -547,10 +543,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
547
543
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
548
544
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
549
545
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
550
|
-
/**
|
|
551
|
-
* Show notifications if the executed event returned an error.
|
|
552
|
-
* @internal
|
|
553
|
-
*/
|
|
554
546
|
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
555
547
|
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
556
548
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
@@ -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) > [headerCaseType](./foundation-entity-management.entitymanagement.headercasetype.md)
|
|
4
|
+
|
|
5
|
+
## EntityManagement.headerCaseType property
|
|
6
|
+
|
|
7
|
+
The case type to use for the header names. If not set, the default CONSTANT\_CASE will be used.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
headerCaseType: GridProCaseType;
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Remarks
|
|
16
|
+
|
|
17
|
+
Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
|
|
18
|
+
|
|
@@ -58,6 +58,7 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
58
58
|
| [formRenderers](./foundation-entity-management.entitymanagement.formrenderers.md) | | RendererEntry\[\] | Array with renderers used by foundation-forms |
|
|
59
59
|
| [formUiSchema](./foundation-entity-management.entitymanagement.formuischema.md) | | any | |
|
|
60
60
|
| [gridOptions](./foundation-entity-management.entitymanagement.gridoptions.md) | | GridOptions | GridOptions to be passed down from application |
|
|
61
|
+
| [headerCaseType](./foundation-entity-management.entitymanagement.headercasetype.md) | | GridProCaseType | The case type to use for the header names. If not set, the default CONSTANT\_CASE will be used. |
|
|
61
62
|
| [headerTempalate](./foundation-entity-management.entitymanagement.headertempalate.md) | <code>readonly</code> | import("@microsoft/fast-element").ViewTemplate<[EntityManagement](./foundation-entity-management.entitymanagement.md)<!-- -->, any> | |
|
|
62
63
|
| [hideDelete](./foundation-entity-management.entitymanagement.hidedelete.md) | | boolean | |
|
|
63
64
|
| [hideEdit](./foundation-entity-management.entitymanagement.hideedit.md) | | boolean | |
|
package/docs/api-report.md
CHANGED
|
@@ -17,6 +17,7 @@ import { FASTElement } from '@microsoft/fast-element';
|
|
|
17
17
|
import { FoundationAnalytics } from '@genesislcap/foundation-comms';
|
|
18
18
|
import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
|
|
19
19
|
import { GridOptions } from '@ag-grid-community/core';
|
|
20
|
+
import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
20
21
|
import { GridProRendererTypes } from '@genesislcap/foundation-zero-grid-pro';
|
|
21
22
|
import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
|
|
22
23
|
import { Logger } from '@genesislcap/foundation-logger';
|
|
@@ -45,8 +46,6 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
45
46
|
asyncAdd: boolean;
|
|
46
47
|
asyncRemove: boolean;
|
|
47
48
|
asyncUpdate: boolean;
|
|
48
|
-
// @alpha
|
|
49
|
-
blockScrollingOnContextMenu: boolean;
|
|
50
49
|
// (undocumented)
|
|
51
50
|
closeModal(): void;
|
|
52
51
|
columns: ColDef[];
|
|
@@ -92,6 +91,7 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
92
91
|
// (undocumented)
|
|
93
92
|
formUiSchema: any;
|
|
94
93
|
gridOptions: GridOptions;
|
|
94
|
+
headerCaseType: GridProCaseType;
|
|
95
95
|
// (undocumented)
|
|
96
96
|
get headerTempalate(): ViewTemplate<EntityManagement, any>;
|
|
97
97
|
// (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.147.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -43,24 +43,29 @@
|
|
|
43
43
|
"test:debug": "genx test --debug"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@genesislcap/foundation-testing": "14.
|
|
47
|
-
"@genesislcap/genx": "14.
|
|
46
|
+
"@genesislcap/foundation-testing": "14.147.0",
|
|
47
|
+
"@genesislcap/genx": "14.147.0",
|
|
48
|
+
"@genesislcap/rollup-builder": "14.147.0",
|
|
49
|
+
"@genesislcap/ts-builder": "14.147.0",
|
|
50
|
+
"@genesislcap/uvu-playwright-builder": "14.147.0",
|
|
51
|
+
"@genesislcap/vite-builder": "14.147.0",
|
|
52
|
+
"@genesislcap/webpack-builder": "14.147.0",
|
|
48
53
|
"rimraf": "^3.0.2"
|
|
49
54
|
},
|
|
50
55
|
"dependencies": {
|
|
51
56
|
"@ag-grid-community/core": "29.2.0",
|
|
52
|
-
"@genesislcap/foundation-comms": "14.
|
|
53
|
-
"@genesislcap/foundation-errors": "14.
|
|
54
|
-
"@genesislcap/foundation-events": "14.
|
|
55
|
-
"@genesislcap/foundation-forms": "14.
|
|
56
|
-
"@genesislcap/foundation-logger": "14.
|
|
57
|
-
"@genesislcap/foundation-login": "14.
|
|
58
|
-
"@genesislcap/foundation-notifications": "14.
|
|
59
|
-
"@genesislcap/foundation-ui": "14.
|
|
60
|
-
"@genesislcap/foundation-utils": "14.
|
|
61
|
-
"@genesislcap/foundation-zero": "14.
|
|
62
|
-
"@genesislcap/foundation-zero-grid-pro": "14.
|
|
63
|
-
"@genesislcap/grid-pro": "14.
|
|
57
|
+
"@genesislcap/foundation-comms": "14.147.0",
|
|
58
|
+
"@genesislcap/foundation-errors": "14.147.0",
|
|
59
|
+
"@genesislcap/foundation-events": "14.147.0",
|
|
60
|
+
"@genesislcap/foundation-forms": "14.147.0",
|
|
61
|
+
"@genesislcap/foundation-logger": "14.147.0",
|
|
62
|
+
"@genesislcap/foundation-login": "14.147.0",
|
|
63
|
+
"@genesislcap/foundation-notifications": "14.147.0",
|
|
64
|
+
"@genesislcap/foundation-ui": "14.147.0",
|
|
65
|
+
"@genesislcap/foundation-utils": "14.147.0",
|
|
66
|
+
"@genesislcap/foundation-zero": "14.147.0",
|
|
67
|
+
"@genesislcap/foundation-zero-grid-pro": "14.147.0",
|
|
68
|
+
"@genesislcap/grid-pro": "14.147.0",
|
|
64
69
|
"@microsoft/fast-components": "^2.30.6",
|
|
65
70
|
"@microsoft/fast-element": "^1.12.0",
|
|
66
71
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -76,5 +81,5 @@
|
|
|
76
81
|
"access": "public"
|
|
77
82
|
},
|
|
78
83
|
"customElements": "dist/custom-elements.json",
|
|
79
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "b0d8376acf8f71736cfcedb43fba7311e5d77331"
|
|
80
85
|
}
|