@genesislcap/foundation-zero-grid-pro 14.70.2 → 14.70.4-es2021.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,7 +23,7 @@ export const zeroAgActionRenderer = ZeroAgActionRenderer.compose({
|
|
|
23
23
|
class="action-renderer"
|
|
24
24
|
part="action-renderer"
|
|
25
25
|
data-test-id="${(x) => x.dataTestId}"
|
|
26
|
-
?disabled=${(x) =>
|
|
26
|
+
?disabled=${(x) => x.pendingAction || x.isDisabled(x.params?.data)}
|
|
27
27
|
appearance="${(x) => x.params.appearance}"
|
|
28
28
|
@click=${(x) => x.clickHandler()}
|
|
29
29
|
>
|
package/dist/esm/grid-pro.js
CHANGED
|
@@ -27,7 +27,6 @@ export class ZeroGridPro extends GridPro {
|
|
|
27
27
|
* @override
|
|
28
28
|
*/
|
|
29
29
|
set gridOptions(options) {
|
|
30
|
-
var _a, _b;
|
|
31
30
|
options.components = {
|
|
32
31
|
[GridProRendererTypes.action]: ZeroAgActionRenderer,
|
|
33
32
|
[GridProRendererTypes.actionsMenu]: ZeroAgActionsMenuRenderer,
|
|
@@ -35,8 +34,8 @@ export class ZeroGridPro extends GridPro {
|
|
|
35
34
|
};
|
|
36
35
|
const isRapidTheme = this.theme === themeGenesisRapid || this.theme === themeGenesisRapidDark;
|
|
37
36
|
if (isRapidTheme) {
|
|
38
|
-
this.headerHeight =
|
|
39
|
-
this.rowHeight =
|
|
37
|
+
this.headerHeight = options.headerHeight ?? defaultAgHeight;
|
|
38
|
+
this.rowHeight = options.rowHeight ?? defaultAgHeight;
|
|
40
39
|
}
|
|
41
40
|
super.gridOptions = options;
|
|
42
41
|
}
|
|
@@ -44,5 +43,10 @@ export class ZeroGridPro extends GridPro {
|
|
|
44
43
|
// explicitly declaring for extensibility
|
|
45
44
|
export const zeroGridProShadowOptions = foundationGridProShadowOptions;
|
|
46
45
|
export const zeroDefaultGridProConfig = foundationConfig;
|
|
47
|
-
export const zeroGridPro = ZeroGridPro.compose(
|
|
48
|
-
|
|
46
|
+
export const zeroGridPro = ZeroGridPro.compose({
|
|
47
|
+
baseName: 'grid-pro',
|
|
48
|
+
template,
|
|
49
|
+
styles,
|
|
50
|
+
shadowOptions: zeroGridProShadowOptions,
|
|
51
|
+
...zeroDefaultGridProConfig,
|
|
52
|
+
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-zero-grid-pro",
|
|
3
3
|
"description": "Genesis Foundation Zero Grid Pro",
|
|
4
|
-
"version": "14.70.
|
|
4
|
+
"version": "14.70.4-es2021.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
"serve": "genx serve"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@genesislcap/genx": "14.70.
|
|
27
|
+
"@genesislcap/genx": "14.70.4-es2021.1",
|
|
28
28
|
"rimraf": "^3.0.2"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@genesislcap/foundation-comms": "14.70.
|
|
32
|
-
"@genesislcap/foundation-ui": "14.70.
|
|
33
|
-
"@genesislcap/foundation-utils": "14.70.
|
|
34
|
-
"@genesislcap/foundation-zero": "14.70.
|
|
35
|
-
"@genesislcap/grid-pro": "14.70.
|
|
31
|
+
"@genesislcap/foundation-comms": "14.70.4-es2021.1",
|
|
32
|
+
"@genesislcap/foundation-ui": "14.70.4-es2021.1",
|
|
33
|
+
"@genesislcap/foundation-utils": "14.70.4-es2021.1",
|
|
34
|
+
"@genesislcap/foundation-zero": "14.70.4-es2021.1",
|
|
35
|
+
"@genesislcap/grid-pro": "14.70.4-es2021.1",
|
|
36
36
|
"@microsoft/fast-colors": "^5.1.4",
|
|
37
37
|
"@microsoft/fast-components": "^2.21.3",
|
|
38
38
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
56
|
"customElements": "dist/custom-elements.json",
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "5d0d8ee36cfd068cfc6211033b326d0a978cfc05"
|
|
58
58
|
}
|