@genesislcap/foundation-entity-management 15.88.0 → 15.88.1-GENC-0.7
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.
|
@@ -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 flex-wrap: wrap;\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 flex-wrap: wrap;\n }\n\n /*\n * Fills the rest of the title's row, so the toolbar only wraps when it doesn't fit. Filling\n * leaves the part's auto margin no room, so flex-end keeps slotted content right-aligned.\n */\n slot[name='header'] {\n flex: auto;\n justify-content: flex-end;\n }\n\n /* Shrinks in narrow containers so the toolbar wraps instead of clipping its trailing buttons. */\n .search-container [part='search-bar'] {\n flex: 0 1 500px;\n min-width: 200px;\n max-width: calc(100% - calc(var(--design-unit) * 4px));\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 .search-container .custom-buttons-wrapper,\n .search-container .custom-buttons,\n .search-container .crud-buttons-wrapper,\n .search-container .crud-buttons {\n flex-wrap: wrap;\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
|
],
|
|
@@ -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",
|
|
@@ -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",
|
|
@@ -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,iDA4KlB,CAAC"}
|
|
@@ -54,6 +54,7 @@ export const styles = css `
|
|
|
54
54
|
div.header-container {
|
|
55
55
|
display: flex;
|
|
56
56
|
align-items: center;
|
|
57
|
+
flex-wrap: wrap;
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
slot[name='before-header']:not(:has(::slotted(*))),
|
|
@@ -97,10 +98,23 @@ export const styles = css `
|
|
|
97
98
|
gap: calc(var(--design-unit) * 2px);
|
|
98
99
|
flex: 1;
|
|
99
100
|
justify-content: flex-end;
|
|
101
|
+
flex-wrap: wrap;
|
|
100
102
|
}
|
|
101
103
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
+
/*
|
|
105
|
+
* Fills the rest of the title's row, so the toolbar only wraps when it doesn't fit. Filling
|
|
106
|
+
* leaves the part's auto margin no room, so flex-end keeps slotted content right-aligned.
|
|
107
|
+
*/
|
|
108
|
+
slot[name='header'] {
|
|
109
|
+
flex: auto;
|
|
110
|
+
justify-content: flex-end;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* Shrinks in narrow containers so the toolbar wraps instead of clipping its trailing buttons. */
|
|
114
|
+
.search-container [part='search-bar'] {
|
|
115
|
+
flex: 0 1 500px;
|
|
116
|
+
min-width: 200px;
|
|
117
|
+
max-width: calc(100% - calc(var(--design-unit) * 4px));
|
|
104
118
|
margin-left: calc(var(--design-unit) * 4px);
|
|
105
119
|
}
|
|
106
120
|
|
|
@@ -117,6 +131,13 @@ export const styles = css `
|
|
|
117
131
|
justify-content: flex-end;
|
|
118
132
|
}
|
|
119
133
|
|
|
134
|
+
.search-container .custom-buttons-wrapper,
|
|
135
|
+
.search-container .custom-buttons,
|
|
136
|
+
.search-container .crud-buttons-wrapper,
|
|
137
|
+
.search-container .crud-buttons {
|
|
138
|
+
flex-wrap: wrap;
|
|
139
|
+
}
|
|
140
|
+
|
|
120
141
|
.custom-buttons-wrapper-column,
|
|
121
142
|
.custom-buttons-wrapper-top,
|
|
122
143
|
.crud-buttons-wrapper-column,
|
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.88.0",
|
|
4
|
+
"version": "15.88.1-GENC-0.7",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -49,31 +49,31 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@genesislcap/foundation-testing": "15.88.0",
|
|
53
|
-
"@genesislcap/genx": "15.88.0",
|
|
54
|
-
"@genesislcap/ts-builder": "15.88.0",
|
|
55
|
-
"@genesislcap/uvu-playwright-builder": "15.88.0",
|
|
56
|
-
"@genesislcap/vite-builder": "15.88.0",
|
|
57
|
-
"@genesislcap/webpack-builder": "15.88.0"
|
|
52
|
+
"@genesislcap/foundation-testing": "15.88.1-GENC-0.7",
|
|
53
|
+
"@genesislcap/genx": "15.88.1-GENC-0.7",
|
|
54
|
+
"@genesislcap/ts-builder": "15.88.1-GENC-0.7",
|
|
55
|
+
"@genesislcap/uvu-playwright-builder": "15.88.1-GENC-0.7",
|
|
56
|
+
"@genesislcap/vite-builder": "15.88.1-GENC-0.7",
|
|
57
|
+
"@genesislcap/webpack-builder": "15.88.1-GENC-0.7"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"@ag-grid-community/core": "29.2.0",
|
|
61
61
|
"ag-grid-community": "36.2.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@genesislcap/foundation-ai": "15.88.0",
|
|
65
|
-
"@genesislcap/foundation-auth": "15.88.0",
|
|
66
|
-
"@genesislcap/foundation-comms": "15.88.0",
|
|
67
|
-
"@genesislcap/foundation-errors": "15.88.0",
|
|
68
|
-
"@genesislcap/foundation-events": "15.88.0",
|
|
69
|
-
"@genesislcap/foundation-forms": "15.88.0",
|
|
70
|
-
"@genesislcap/foundation-logger": "15.88.0",
|
|
71
|
-
"@genesislcap/foundation-notifications": "15.88.0",
|
|
72
|
-
"@genesislcap/foundation-ui": "15.88.0",
|
|
73
|
-
"@genesislcap/foundation-utils": "15.88.0",
|
|
74
|
-
"@genesislcap/grid-pro": "15.88.0",
|
|
75
|
-
"@genesislcap/rapid-design-system": "15.88.0",
|
|
76
|
-
"@genesislcap/web-core": "15.88.0",
|
|
64
|
+
"@genesislcap/foundation-ai": "15.88.1-GENC-0.7",
|
|
65
|
+
"@genesislcap/foundation-auth": "15.88.1-GENC-0.7",
|
|
66
|
+
"@genesislcap/foundation-comms": "15.88.1-GENC-0.7",
|
|
67
|
+
"@genesislcap/foundation-errors": "15.88.1-GENC-0.7",
|
|
68
|
+
"@genesislcap/foundation-events": "15.88.1-GENC-0.7",
|
|
69
|
+
"@genesislcap/foundation-forms": "15.88.1-GENC-0.7",
|
|
70
|
+
"@genesislcap/foundation-logger": "15.88.1-GENC-0.7",
|
|
71
|
+
"@genesislcap/foundation-notifications": "15.88.1-GENC-0.7",
|
|
72
|
+
"@genesislcap/foundation-ui": "15.88.1-GENC-0.7",
|
|
73
|
+
"@genesislcap/foundation-utils": "15.88.1-GENC-0.7",
|
|
74
|
+
"@genesislcap/grid-pro": "15.88.1-GENC-0.7",
|
|
75
|
+
"@genesislcap/rapid-design-system": "15.88.1-GENC-0.7",
|
|
76
|
+
"@genesislcap/web-core": "15.88.1-GENC-0.7",
|
|
77
77
|
"change-case": "^4.1.2"
|
|
78
78
|
},
|
|
79
79
|
"repository": {
|