@genesislcap/foundation-entity-management 15.73.0 → 15.75.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 +53 -53
- package/dist/dts/components/components.d.ts +1 -1
- package/dist/dts/entities/entities.styles.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts +2 -3
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/esm/components/components.js +4 -4
- package/dist/esm/entities/entities.styles.js +0 -1
- package/dist/esm/list/list.js +1 -1
- package/dist/esm/main/main.styles.js +2 -2
- package/dist/esm/main/main.template.js +4 -4
- package/dist/esm/routes/demo/entity-management.js +4 -4
- package/dist/esm/routes/demo/entity-management.template.js +13 -13
- package/dist/foundation-entity-management.api.json +2 -2
- package/dist/foundation-entity-management.d.ts +3 -3
- package/package.json +20 -26
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
{
|
|
132
132
|
"kind": "variable",
|
|
133
133
|
"name": "styles",
|
|
134
|
-
"default": "css`\n :host {\n contain: content;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n user-select: none;\n padding: 0 calc(var(--design-unit) * 2px);\n }\n\n .header-title {\n color: var(--neutral-foreground-rest);\n font-size: var(--type-ramp-plus-4-font-size);\n font-family: var(--body-font);\n font-weight: 700;\n padding: 0 calc(var(--design-unit) * 2px);\n }\n\n :host::part(before-header),\n :host::part(before-footer) {\n justify-content: flex-start;\n }\n\n :host::part(header),\n :host::part(footer) {\n margin-left: auto;\n }\n\n :host::part(header),\n :host::part(after-header),\n :host::part(footer),\n :host::part(after-footer) {\n display: flex;\n user-select: none;\n }\n\n div.footer-container {\n display: flex;\n align-items: center;\n }\n\n div.header-container {\n display: flex;\n align-items: center;\n }\n\n slot[name='before-header']:not(:has(::slotted(*))),\n slot[name='after-header']:not(:has(::slotted(*))),\n slot[name='before-footer']:not(:has(::slotted(*))),\n slot[name='after-footer']:not(:has(::slotted(*))) {\n display: none;\n }\n\n :host::part(after-header),\n :host::part(after-footer) {\n justify-content: flex-end;\n }\n\n :host([modal-position='centre']) .edit-modal {\n overflow-y: auto;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n min-height: 400px;\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n .search-container {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n flex: 1;\n justify-content: flex-end;\n }\n\n .search-container
|
|
134
|
+
"default": "css`\n :host {\n contain: content;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n user-select: none;\n padding: 0 calc(var(--design-unit) * 2px);\n }\n\n .header-title {\n color: var(--neutral-foreground-rest);\n font-size: var(--type-ramp-plus-4-font-size);\n font-family: var(--body-font);\n font-weight: 700;\n padding: 0 calc(var(--design-unit) * 2px);\n }\n\n :host::part(before-header),\n :host::part(before-footer) {\n justify-content: flex-start;\n }\n\n :host::part(header),\n :host::part(footer) {\n margin-left: auto;\n }\n\n :host::part(header),\n :host::part(after-header),\n :host::part(footer),\n :host::part(after-footer) {\n display: flex;\n user-select: none;\n }\n\n div.footer-container {\n display: flex;\n align-items: center;\n }\n\n div.header-container {\n display: flex;\n align-items: center;\n }\n\n slot[name='before-header']:not(:has(::slotted(*))),\n slot[name='after-header']:not(:has(::slotted(*))),\n slot[name='before-footer']:not(:has(::slotted(*))),\n slot[name='after-footer']:not(:has(::slotted(*))) {\n display: none;\n }\n\n :host::part(after-header),\n :host::part(after-footer) {\n justify-content: flex-end;\n }\n\n :host([modal-position='centre']) .edit-modal {\n overflow-y: auto;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n min-height: 400px;\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n .search-container {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n flex: 1;\n justify-content: flex-end;\n }\n\n .search-container rapid-search-bar {\n width: 500px;\n margin-left: calc(var(--design-unit) * 4px);\n }\n\n .custom-buttons,\n .crud-buttons {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .custom-buttons-wrapper,\n .crud-buttons-wrapper {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n justify-content: flex-end;\n }\n\n .custom-buttons-wrapper-column,\n .custom-buttons-wrapper-top,\n .crud-buttons-wrapper-column,\n .crud-buttons-wrapper-top {\n padding: calc(var(--design-unit) * 2px) 0;\n }\n\n .crud-buttons-wrapper-bottom {\n padding: calc(var(--design-unit) * 2px);\n }\n\n .custom-buttons-wrapper-bottom {\n padding: calc(var(--design-unit) * 2px) 0;\n }\n\n .filter-button {\n margin-left: calc(var(--design-unit) * 2px);\n }\n\n .main-content {\n height: 100%;\n display: flex;\n }\n\n .filters-modal {\n overflow-y: auto;\n }\n\n .filters-modal foundation-filters {\n min-height: 400px;\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n .grid-content-area {\n display: flex;\n flex-direction: column;\n flex: 1;\n height: 100%;\n }\n`",
|
|
135
135
|
"description": "Defines the css of the entity component as an ElementStyles object"
|
|
136
136
|
}
|
|
137
137
|
],
|
|
@@ -3260,7 +3260,7 @@
|
|
|
3260
3260
|
"kind": "field",
|
|
3261
3261
|
"name": "grid",
|
|
3262
3262
|
"type": {
|
|
3263
|
-
"text": "
|
|
3263
|
+
"text": "GridPro"
|
|
3264
3264
|
},
|
|
3265
3265
|
"privacy": "public"
|
|
3266
3266
|
},
|
|
@@ -3824,6 +3824,55 @@
|
|
|
3824
3824
|
}
|
|
3825
3825
|
]
|
|
3826
3826
|
},
|
|
3827
|
+
{
|
|
3828
|
+
"kind": "javascript-module",
|
|
3829
|
+
"path": "src/layouts/default.ts",
|
|
3830
|
+
"declarations": [
|
|
3831
|
+
{
|
|
3832
|
+
"kind": "variable",
|
|
3833
|
+
"name": "loginLayout",
|
|
3834
|
+
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
3835
|
+
},
|
|
3836
|
+
{
|
|
3837
|
+
"kind": "variable",
|
|
3838
|
+
"name": "defaultLayout",
|
|
3839
|
+
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
3840
|
+
}
|
|
3841
|
+
],
|
|
3842
|
+
"exports": [
|
|
3843
|
+
{
|
|
3844
|
+
"kind": "js",
|
|
3845
|
+
"name": "loginLayout",
|
|
3846
|
+
"declaration": {
|
|
3847
|
+
"name": "loginLayout",
|
|
3848
|
+
"module": "src/layouts/default.ts"
|
|
3849
|
+
}
|
|
3850
|
+
},
|
|
3851
|
+
{
|
|
3852
|
+
"kind": "js",
|
|
3853
|
+
"name": "defaultLayout",
|
|
3854
|
+
"declaration": {
|
|
3855
|
+
"name": "defaultLayout",
|
|
3856
|
+
"module": "src/layouts/default.ts"
|
|
3857
|
+
}
|
|
3858
|
+
}
|
|
3859
|
+
]
|
|
3860
|
+
},
|
|
3861
|
+
{
|
|
3862
|
+
"kind": "javascript-module",
|
|
3863
|
+
"path": "src/layouts/index.ts",
|
|
3864
|
+
"declarations": [],
|
|
3865
|
+
"exports": [
|
|
3866
|
+
{
|
|
3867
|
+
"kind": "js",
|
|
3868
|
+
"name": "*",
|
|
3869
|
+
"declaration": {
|
|
3870
|
+
"name": "*",
|
|
3871
|
+
"package": "./default"
|
|
3872
|
+
}
|
|
3873
|
+
}
|
|
3874
|
+
]
|
|
3875
|
+
},
|
|
3827
3876
|
{
|
|
3828
3877
|
"kind": "javascript-module",
|
|
3829
3878
|
"path": "src/main/index.ts",
|
|
@@ -3854,7 +3903,7 @@
|
|
|
3854
3903
|
{
|
|
3855
3904
|
"kind": "variable",
|
|
3856
3905
|
"name": "MainStyles",
|
|
3857
|
-
"default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n
|
|
3906
|
+
"default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n rapid-design-system-provider,\n .dynamic-template,\n foundation-router {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n fast-progress {\n --accent-foreground-rest: #654df9;\n\n height: calc(var(--design-unit) * 1px);\n margin: 0;\n width: 100%;\n }\n`"
|
|
3858
3907
|
}
|
|
3859
3908
|
],
|
|
3860
3909
|
"exports": [
|
|
@@ -3989,55 +4038,6 @@
|
|
|
3989
4038
|
}
|
|
3990
4039
|
]
|
|
3991
4040
|
},
|
|
3992
|
-
{
|
|
3993
|
-
"kind": "javascript-module",
|
|
3994
|
-
"path": "src/layouts/default.ts",
|
|
3995
|
-
"declarations": [
|
|
3996
|
-
{
|
|
3997
|
-
"kind": "variable",
|
|
3998
|
-
"name": "loginLayout",
|
|
3999
|
-
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
4000
|
-
},
|
|
4001
|
-
{
|
|
4002
|
-
"kind": "variable",
|
|
4003
|
-
"name": "defaultLayout",
|
|
4004
|
-
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
4005
|
-
}
|
|
4006
|
-
],
|
|
4007
|
-
"exports": [
|
|
4008
|
-
{
|
|
4009
|
-
"kind": "js",
|
|
4010
|
-
"name": "loginLayout",
|
|
4011
|
-
"declaration": {
|
|
4012
|
-
"name": "loginLayout",
|
|
4013
|
-
"module": "src/layouts/default.ts"
|
|
4014
|
-
}
|
|
4015
|
-
},
|
|
4016
|
-
{
|
|
4017
|
-
"kind": "js",
|
|
4018
|
-
"name": "defaultLayout",
|
|
4019
|
-
"declaration": {
|
|
4020
|
-
"name": "defaultLayout",
|
|
4021
|
-
"module": "src/layouts/default.ts"
|
|
4022
|
-
}
|
|
4023
|
-
}
|
|
4024
|
-
]
|
|
4025
|
-
},
|
|
4026
|
-
{
|
|
4027
|
-
"kind": "javascript-module",
|
|
4028
|
-
"path": "src/layouts/index.ts",
|
|
4029
|
-
"declarations": [],
|
|
4030
|
-
"exports": [
|
|
4031
|
-
{
|
|
4032
|
-
"kind": "js",
|
|
4033
|
-
"name": "*",
|
|
4034
|
-
"declaration": {
|
|
4035
|
-
"name": "*",
|
|
4036
|
-
"package": "./default"
|
|
4037
|
-
}
|
|
4038
|
-
}
|
|
4039
|
-
]
|
|
4040
|
-
},
|
|
4041
4041
|
{
|
|
4042
4042
|
"kind": "javascript-module",
|
|
4043
4043
|
"path": "src/utils/custom-actions-utils.ts",
|
|
@@ -4316,7 +4316,7 @@
|
|
|
4316
4316
|
"type": {
|
|
4317
4317
|
"text": "ViewTemplate"
|
|
4318
4318
|
},
|
|
4319
|
-
"default": "html<EntityManagementDemo>`\n <
|
|
4319
|
+
"default": "html<EntityManagementDemo>`\n <rapid-tabs>\n <span slot=\"start\">Entity Management</span>\n <rapid-tab data-test-id=\"profiles\" slot=\"tab\">Counterparty</rapid-tab>\n <rapid-tab data-test-id=\"profiles-with-confirmation\" slot=\"tab\">\n Counterparty with Confirmation\n </rapid-tab>\n <rapid-tab-panel slot=\"tabpanel\">\n <rapid-notification-listener>\n <entity-management\n resourceName=\"ALL_COUNTERPARTYS\"\n title=\"Counterparty Management\"\n updateEvent=\"EVENT_COUNTERPARTY_MODIFY\"\n deleteEvent=\"EVENT_COUNTERPARTY_DELETE\"\n createEvent=\"EVENT_COUNTERPARTY_INSERT\"\n ></entity-management>\n </rapid-notification-listener>\n </rapid-tab-panel>\n <rapid-tab-panel slot=\"tabpanel\">\n <rapid-notification-listener>\n <entity-management\n resourceName=\"ALL_COUNTERPARTYS\"\n title=\"Counterparty Management with Confirmation\"\n updateEvent=\"EVENT_COUNTERPARTY_MODIFY\"\n deleteEvent=\"EVENT_COUNTERPARTY_DELETE\"\n createEvent=\"EVENT_COUNTERPARTY_INSERT\"\n confirmation-message=\"Are you sure you want to submit this form? This action cannot be undone.\"\n ></entity-management>\n </rapid-notification-listener>\n </rapid-tab-panel>\n </rapid-tabs>\n`"
|
|
4320
4320
|
}
|
|
4321
4321
|
],
|
|
4322
4322
|
"exports": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.styles.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"entities.styles.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,iDAuJlB,CAAC"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { CellEditRequestEvent } from '@ag-grid-community/core';
|
|
2
2
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
3
|
-
import type { GridProGenesisDatasource, ZeroGridPro } from '@genesislcap/foundation-zero-grid-pro';
|
|
4
3
|
import { DatasourceType } from '@genesislcap/grid-pro';
|
|
5
|
-
import type { GridProCaseType, GridProStatusBarConfig, GridOptionsConfig } from '@genesislcap/grid-pro';
|
|
4
|
+
import type { GridPro, GridProCaseType, GridProGenesisDatasource, GridProStatusBarConfig, GridOptionsConfig } from '@genesislcap/grid-pro';
|
|
6
5
|
import { GenesisElement } from '@genesislcap/web-core';
|
|
7
6
|
import type { CellContextMenuEvent, RowClickedEvent, RowDoubleClickedEvent, RowSelectedEvent, SelectionChangedEvent } from 'ag-grid-community';
|
|
8
7
|
import type { DatasourceConfiguration } from '../entities/entities';
|
|
@@ -436,7 +435,7 @@ export declare class List extends List_base {
|
|
|
436
435
|
hideDelete: boolean;
|
|
437
436
|
datasourceType: DatasourceType;
|
|
438
437
|
headerCaseType: GridProCaseType;
|
|
439
|
-
grid:
|
|
438
|
+
grid: GridPro;
|
|
440
439
|
datasource: GridProGenesisDatasource;
|
|
441
440
|
gridOptions: GridOptionsConfig;
|
|
442
441
|
columns: GridColDef[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAAE,cAAc,EAA2C,MAAM,uBAAuB,CAAC;AAChG,OAAO,KAAK,EACV,OAAO,EACP,eAAe,EACf,wBAAwB,EACxB,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAIL,cAAc,EAIf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EACf,qBAAqB,EACrB,gBAAgB,EAChB,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,KAAK,EACV,YAAY,EAEZ,UAAU,EAGX,MAAM,UAAU,CAAC;;;;;;;;kBA8DQ,CAAC;;;;;;;;8BA8BZ,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA4BF,CAAC;4IAGI,CAAC;wFAM/B,CAAF;+IAEyE,CAAA;2FAK3D,CAAC;;;;;;;;;;;;;;;;;;;;;;;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;IAIhE,oBAAoB,CAAC,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAC,GAAG,IAAI;IAIhE,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,iBAAiB,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC;IAIlD,sBAAsB,CAAC,CAAC,EAAE,WAAW,CAAC,qBAAqB,CAAC;IAI5D,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;IAId,OAAO,CAAC,kBAAkB,CAGxB;CACH"}
|
|
@@ -3,16 +3,16 @@ import { FoundationRouter } from '@genesislcap/foundation-ui';
|
|
|
3
3
|
/**
|
|
4
4
|
* TODO: Think about sharing import functions across micro frontends.
|
|
5
5
|
*/
|
|
6
|
-
function
|
|
6
|
+
function loadRapidDesignSystem() {
|
|
7
7
|
return import(
|
|
8
8
|
/* webpackMode: "lazy" */
|
|
9
|
-
'@genesislcap/
|
|
9
|
+
'@genesislcap/rapid-design-system');
|
|
10
10
|
}
|
|
11
11
|
export function loadRemotes() {
|
|
12
12
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13
|
-
const {
|
|
13
|
+
const { registerRapidDesignSystem } = yield loadRapidDesignSystem();
|
|
14
14
|
return {
|
|
15
|
-
|
|
15
|
+
RapidDesignSystem: registerRapidDesignSystem(),
|
|
16
16
|
};
|
|
17
17
|
});
|
|
18
18
|
}
|
package/dist/esm/list/list.js
CHANGED
|
@@ -10,7 +10,7 @@ import { listTemplate } from './list.template';
|
|
|
10
10
|
/**
|
|
11
11
|
* Reads a cell value through whichever AG Grid API generation the hosting grid exposes:
|
|
12
12
|
* `getCellValue(params)` on AG Grid v36 (`GridPro`, the default `<prefix>-grid-pro`), `getValue(colKey,
|
|
13
|
-
* rowNode)` on v29 (`GridProLegacy
|
|
13
|
+
* rowNode)` on v29 (`GridProLegacy`).
|
|
14
14
|
*/
|
|
15
15
|
const readCellValue = (api, colKey, rowNode) => {
|
|
16
16
|
var _a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { mixinRobotoFont } from '@genesislcap/
|
|
1
|
+
import { mixinRobotoFont } from '@genesislcap/rapid-design-system';
|
|
2
2
|
import { css } from '@genesislcap/web-core';
|
|
3
3
|
export const MainStyles = css `
|
|
4
4
|
${mixinRobotoFont()}
|
|
@@ -7,7 +7,7 @@ export const MainStyles = css `
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
:host,
|
|
10
|
-
|
|
10
|
+
rapid-design-system-provider,
|
|
11
11
|
.dynamic-template,
|
|
12
12
|
foundation-router {
|
|
13
13
|
display: flex;
|
|
@@ -3,9 +3,9 @@ import { html, ref } from '@genesislcap/web-core';
|
|
|
3
3
|
* @internal
|
|
4
4
|
*/
|
|
5
5
|
export const DynamicTemplate = html `
|
|
6
|
-
<
|
|
6
|
+
<rapid-design-system-provider ${ref('provider')}>
|
|
7
7
|
<div class="dynamic-template">${(x) => x.selectTemplate()}</div>
|
|
8
|
-
</
|
|
8
|
+
</rapid-design-system-provider>
|
|
9
9
|
`;
|
|
10
10
|
/**
|
|
11
11
|
* @internal
|
|
@@ -17,12 +17,12 @@ export const LoadingTemplate = html `
|
|
|
17
17
|
* @internal
|
|
18
18
|
*/
|
|
19
19
|
export const MainTemplate = html `
|
|
20
|
-
<
|
|
20
|
+
<rapid-design-system-provider data-test-id="design-system-provider">
|
|
21
21
|
<div class="dynamic-template">
|
|
22
22
|
<foundation-router
|
|
23
23
|
@luminance-icon-clicked=${(x) => x.onLuminanceToggle()}
|
|
24
24
|
:config=${(x) => x.config}
|
|
25
25
|
></foundation-router>
|
|
26
26
|
</div>
|
|
27
|
-
</
|
|
27
|
+
</rapid-design-system-provider>
|
|
28
28
|
`;
|
|
@@ -10,17 +10,17 @@ EntityManagementDemo = __decorate([
|
|
|
10
10
|
name: 'entity-management-demo',
|
|
11
11
|
template: EntityManagementDemoTemplate,
|
|
12
12
|
styles: css `
|
|
13
|
-
|
|
13
|
+
rapid-tabs {
|
|
14
14
|
padding-top: 8px;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
rapid-tab-panel {
|
|
18
18
|
padding: 0 15px 15px;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
:host,
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
rapid-tabs,
|
|
23
|
+
rapid-tab-panel {
|
|
24
24
|
height: 100%;
|
|
25
25
|
}
|
|
26
26
|
`,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { html } from '@genesislcap/web-core';
|
|
2
2
|
export const EntityManagementDemoTemplate = html `
|
|
3
|
-
<
|
|
3
|
+
<rapid-tabs>
|
|
4
4
|
<span slot="start">Entity Management</span>
|
|
5
|
-
<
|
|
6
|
-
<
|
|
5
|
+
<rapid-tab data-test-id="profiles" slot="tab">Counterparty</rapid-tab>
|
|
6
|
+
<rapid-tab data-test-id="profiles-with-confirmation" slot="tab">
|
|
7
7
|
Counterparty with Confirmation
|
|
8
|
-
</
|
|
9
|
-
<
|
|
10
|
-
<
|
|
8
|
+
</rapid-tab>
|
|
9
|
+
<rapid-tab-panel slot="tabpanel">
|
|
10
|
+
<rapid-notification-listener>
|
|
11
11
|
<entity-management
|
|
12
12
|
resourceName="ALL_COUNTERPARTYS"
|
|
13
13
|
title="Counterparty Management"
|
|
@@ -15,10 +15,10 @@ export const EntityManagementDemoTemplate = html `
|
|
|
15
15
|
deleteEvent="EVENT_COUNTERPARTY_DELETE"
|
|
16
16
|
createEvent="EVENT_COUNTERPARTY_INSERT"
|
|
17
17
|
></entity-management>
|
|
18
|
-
</
|
|
19
|
-
</
|
|
20
|
-
<
|
|
21
|
-
<
|
|
18
|
+
</rapid-notification-listener>
|
|
19
|
+
</rapid-tab-panel>
|
|
20
|
+
<rapid-tab-panel slot="tabpanel">
|
|
21
|
+
<rapid-notification-listener>
|
|
22
22
|
<entity-management
|
|
23
23
|
resourceName="ALL_COUNTERPARTYS"
|
|
24
24
|
title="Counterparty Management with Confirmation"
|
|
@@ -27,7 +27,7 @@ export const EntityManagementDemoTemplate = html `
|
|
|
27
27
|
createEvent="EVENT_COUNTERPARTY_INSERT"
|
|
28
28
|
confirmation-message="Are you sure you want to submit this form? This action cannot be undone."
|
|
29
29
|
></entity-management>
|
|
30
|
-
</
|
|
31
|
-
</
|
|
32
|
-
</
|
|
30
|
+
</rapid-notification-listener>
|
|
31
|
+
</rapid-tab-panel>
|
|
32
|
+
</rapid-tabs>
|
|
33
33
|
`;
|
|
@@ -3995,8 +3995,8 @@
|
|
|
3995
3995
|
},
|
|
3996
3996
|
{
|
|
3997
3997
|
"kind": "Reference",
|
|
3998
|
-
"text": "
|
|
3999
|
-
"canonicalReference": "@genesislcap/
|
|
3998
|
+
"text": "GridPro",
|
|
3999
|
+
"canonicalReference": "@genesislcap/grid-pro!GridPro:class"
|
|
4000
4000
|
},
|
|
4001
4001
|
{
|
|
4002
4002
|
"kind": "Content",
|
|
@@ -15,8 +15,9 @@ import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
|
|
|
15
15
|
import { FoundationRouterConfiguration } from '@genesislcap/foundation-ui';
|
|
16
16
|
import { GenesisElement } from '@genesislcap/web-core';
|
|
17
17
|
import type { GridOptionsConfig } from '@genesislcap/grid-pro';
|
|
18
|
+
import type { GridPro } from '@genesislcap/grid-pro';
|
|
18
19
|
import { GridProCaseType } from '@genesislcap/grid-pro';
|
|
19
|
-
import type { GridProGenesisDatasource } from '@genesislcap/
|
|
20
|
+
import type { GridProGenesisDatasource } from '@genesislcap/grid-pro';
|
|
20
21
|
import { GridProStatusBarConfig } from '@genesislcap/grid-pro';
|
|
21
22
|
import { InterfaceSymbol } from '@microsoft/fast-foundation';
|
|
22
23
|
import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
|
|
@@ -39,7 +40,6 @@ import { UiSchemaElementType } from '@genesislcap/foundation-forms';
|
|
|
39
40
|
import { UiSchemaOptions } from '@genesislcap/foundation-forms';
|
|
40
41
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
41
42
|
import { ViewTemplate as ViewTemplate_2 } from '@genesislcap/web-core';
|
|
42
|
-
import type { ZeroGridPro } from '@genesislcap/foundation-zero-grid-pro';
|
|
43
43
|
|
|
44
44
|
export declare enum ActionsMenuStyle {
|
|
45
45
|
Default = "default",
|
|
@@ -1461,7 +1461,7 @@ export declare class List extends List_base {
|
|
|
1461
1461
|
hideDelete: boolean;
|
|
1462
1462
|
datasourceType: DatasourceType;
|
|
1463
1463
|
headerCaseType: GridProCaseType;
|
|
1464
|
-
grid:
|
|
1464
|
+
grid: GridPro;
|
|
1465
1465
|
datasource: GridProGenesisDatasource;
|
|
1466
1466
|
gridOptions: GridOptionsConfig;
|
|
1467
1467
|
columns: GridColDef[];
|
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": "15.
|
|
4
|
+
"version": "15.75.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -15,11 +15,6 @@
|
|
|
15
15
|
"genx": {
|
|
16
16
|
"app": {
|
|
17
17
|
"rootElement": "foundation-entity-management"
|
|
18
|
-
},
|
|
19
|
-
"federation": {
|
|
20
|
-
"remotes": [
|
|
21
|
-
"@genesislcap/foundation-zero"
|
|
22
|
-
]
|
|
23
18
|
}
|
|
24
19
|
},
|
|
25
20
|
"scripts": {
|
|
@@ -54,32 +49,31 @@
|
|
|
54
49
|
}
|
|
55
50
|
},
|
|
56
51
|
"devDependencies": {
|
|
57
|
-
"@genesislcap/foundation-testing": "15.
|
|
58
|
-
"@genesislcap/genx": "15.
|
|
59
|
-
"@genesislcap/ts-builder": "15.
|
|
60
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
61
|
-
"@genesislcap/vite-builder": "15.
|
|
62
|
-
"@genesislcap/webpack-builder": "15.
|
|
52
|
+
"@genesislcap/foundation-testing": "15.75.0",
|
|
53
|
+
"@genesislcap/genx": "15.75.0",
|
|
54
|
+
"@genesislcap/ts-builder": "15.75.0",
|
|
55
|
+
"@genesislcap/uvu-playwright-builder": "15.75.0",
|
|
56
|
+
"@genesislcap/vite-builder": "15.75.0",
|
|
57
|
+
"@genesislcap/webpack-builder": "15.75.0"
|
|
63
58
|
},
|
|
64
59
|
"peerDependencies": {
|
|
65
60
|
"@ag-grid-community/core": "29.2.0",
|
|
66
61
|
"ag-grid-community": "36.2.0"
|
|
67
62
|
},
|
|
68
63
|
"dependencies": {
|
|
69
|
-
"@genesislcap/foundation-ai": "15.
|
|
70
|
-
"@genesislcap/foundation-auth": "15.
|
|
71
|
-
"@genesislcap/foundation-comms": "15.
|
|
72
|
-
"@genesislcap/foundation-errors": "15.
|
|
73
|
-
"@genesislcap/foundation-events": "15.
|
|
74
|
-
"@genesislcap/foundation-forms": "15.
|
|
75
|
-
"@genesislcap/foundation-logger": "15.
|
|
76
|
-
"@genesislcap/foundation-notifications": "15.
|
|
77
|
-
"@genesislcap/foundation-ui": "15.
|
|
78
|
-
"@genesislcap/foundation-utils": "15.
|
|
79
|
-
"@genesislcap/
|
|
80
|
-
"@genesislcap/
|
|
81
|
-
"@genesislcap/
|
|
82
|
-
"@genesislcap/web-core": "15.73.0",
|
|
64
|
+
"@genesislcap/foundation-ai": "15.75.0",
|
|
65
|
+
"@genesislcap/foundation-auth": "15.75.0",
|
|
66
|
+
"@genesislcap/foundation-comms": "15.75.0",
|
|
67
|
+
"@genesislcap/foundation-errors": "15.75.0",
|
|
68
|
+
"@genesislcap/foundation-events": "15.75.0",
|
|
69
|
+
"@genesislcap/foundation-forms": "15.75.0",
|
|
70
|
+
"@genesislcap/foundation-logger": "15.75.0",
|
|
71
|
+
"@genesislcap/foundation-notifications": "15.75.0",
|
|
72
|
+
"@genesislcap/foundation-ui": "15.75.0",
|
|
73
|
+
"@genesislcap/foundation-utils": "15.75.0",
|
|
74
|
+
"@genesislcap/grid-pro": "15.75.0",
|
|
75
|
+
"@genesislcap/rapid-design-system": "15.75.0",
|
|
76
|
+
"@genesislcap/web-core": "15.75.0",
|
|
83
77
|
"change-case": "^4.1.2"
|
|
84
78
|
},
|
|
85
79
|
"repository": {
|