@genesislcap/grid-pro 14.307.0 → 14.307.2
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/dts/cell-renderers/status-pill.renderer.d.ts +2 -0
- package/dist/dts/cell-renderers/status-pill.renderer.d.ts.map +1 -1
- package/dist/esm/cell-renderers/status-pill.renderer.js +1 -0
- package/dist/grid-pro.api.json +11 -2
- package/dist/grid-pro.d.ts +2 -0
- package/docs/api/grid-pro.statuspillrendererparams.md +1 -0
- package/docs/api-report.md.api.md +2 -0
- package/package.json +13 -13
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ICellRendererComp, ICellRendererParams } from '@ag-grid-community/core';
|
|
2
|
+
import { CountdownUnit } from '@genesislcap/foundation-ui';
|
|
2
3
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
3
4
|
/**
|
|
4
5
|
* The Status Pill Renderer Styles.
|
|
@@ -21,6 +22,7 @@ export type StatusPillRendererParams = ICellRendererParams & {
|
|
|
21
22
|
text?: string;
|
|
22
23
|
dateCountdown?: number;
|
|
23
24
|
dateCountdownCompletedMessage?: string;
|
|
25
|
+
dateCountdownUnit?: CountdownUnit;
|
|
24
26
|
};
|
|
25
27
|
/**
|
|
26
28
|
* Get a Design System prefixed Status Pill template.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-pill.renderer.d.ts","sourceRoot":"","sources":["../../../src/cell-renderers/status-pill.renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"status-pill.renderer.d.ts","sourceRoot":"","sources":["../../../src/cell-renderers/status-pill.renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D;;;GAGG;AACH,eAAO,MAAM,0BAA0B,iDAOtC,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG,mBAAmB,GAAG;IAC3D,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC,iBAAiB,CAAC,EAAE,aAAa,CAAC;CACnC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,GAAI,eAAc,MAAgB,6DAiB3E,CAAC;AAEF;;;;GAIG;AACH,qBAAa,kBAAmB,SAAQ,iBAAkB,YAAW,iBAAiB;IACxE,MAAM,EAAE,wBAAwB,CAAC;IAE7C,IAAI,CAAC,MAAM,EAAE,wBAAwB;IAIrC,MAAM;IAIN,OAAO,CAAC,MAAM,KAAA;IAKd,OAAO,IAAI,IAAI;CAChB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;6BAIvC,CAAC"}
|
|
@@ -30,6 +30,7 @@ export const getStatusPillRendererTemplate = (designSystem = 'rapid') => {
|
|
|
30
30
|
icon-size="${(x) => { var _a; return (_a = x.params) === null || _a === void 0 ? void 0 : _a.iconSize; }}"
|
|
31
31
|
text-color="${(x) => { var _a; return (_a = x.params) === null || _a === void 0 ? void 0 : _a.textColor; }}"
|
|
32
32
|
text="${(x) => { var _a; return (_a = x.params) === null || _a === void 0 ? void 0 : _a.text; }}"
|
|
33
|
+
date-countdown-unit="${(x) => { var _a; return (_a = x.params) === null || _a === void 0 ? void 0 : _a.dateCountdownUnit; }}"
|
|
33
34
|
date-countdown="${(x) => { var _a; return (_a = x.params) === null || _a === void 0 ? void 0 : _a.dateCountdown; }}"
|
|
34
35
|
date-countdown-completed-message="${(x) => { var _a; return (_a = x.params) === null || _a === void 0 ? void 0 : _a.dateCountdownCompletedMessage; }}"
|
|
35
36
|
>
|
package/dist/grid-pro.api.json
CHANGED
|
@@ -21824,7 +21824,16 @@
|
|
|
21824
21824
|
},
|
|
21825
21825
|
{
|
|
21826
21826
|
"kind": "Content",
|
|
21827
|
-
"text": " & {\n backgroundColor?: string;\n iconName?: string;\n iconSrc?: string;\n iconInitial?: string;\n iconInitialBackgroundColor?: string;\n justifyContent?: string;\n iconSize?: string;\n textColor?: string;\n text?: string;\n dateCountdown?: number;\n dateCountdownCompletedMessage?: string;\n
|
|
21827
|
+
"text": " & {\n backgroundColor?: string;\n iconName?: string;\n iconSrc?: string;\n iconInitial?: string;\n iconInitialBackgroundColor?: string;\n justifyContent?: string;\n iconSize?: string;\n textColor?: string;\n text?: string;\n dateCountdown?: number;\n dateCountdownCompletedMessage?: string;\n dateCountdownUnit?: "
|
|
21828
|
+
},
|
|
21829
|
+
{
|
|
21830
|
+
"kind": "Reference",
|
|
21831
|
+
"text": "CountdownUnit",
|
|
21832
|
+
"canonicalReference": "@genesislcap/foundation-ui!CountdownUnit:type"
|
|
21833
|
+
},
|
|
21834
|
+
{
|
|
21835
|
+
"kind": "Content",
|
|
21836
|
+
"text": ";\n}"
|
|
21828
21837
|
},
|
|
21829
21838
|
{
|
|
21830
21839
|
"kind": "Content",
|
|
@@ -21836,7 +21845,7 @@
|
|
|
21836
21845
|
"name": "StatusPillRendererParams",
|
|
21837
21846
|
"typeTokenRange": {
|
|
21838
21847
|
"startIndex": 1,
|
|
21839
|
-
"endIndex":
|
|
21848
|
+
"endIndex": 5
|
|
21840
21849
|
}
|
|
21841
21850
|
},
|
|
21842
21851
|
{
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { ColumnState } from '@ag-grid-community/core';
|
|
|
8
8
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
9
9
|
import type { Container } from '@microsoft/fast-foundation';
|
|
10
10
|
import { Controller } from '@microsoft/fast-element';
|
|
11
|
+
import { CountdownUnit } from '@genesislcap/foundation-ui';
|
|
11
12
|
import { CSSDesignToken } from '@microsoft/fast-foundation';
|
|
12
13
|
import { CSSVarTokenMap } from '@genesislcap/foundation-ui';
|
|
13
14
|
import { CsvExportParams } from '@ag-grid-community/core';
|
|
@@ -4344,6 +4345,7 @@ export declare type StatusPillRendererParams = ICellRendererParams & {
|
|
|
4344
4345
|
text?: string;
|
|
4345
4346
|
dateCountdown?: number;
|
|
4346
4347
|
dateCountdownCompletedMessage?: string;
|
|
4348
|
+
dateCountdownUnit?: CountdownUnit;
|
|
4347
4349
|
};
|
|
4348
4350
|
|
|
4349
4351
|
/**
|
|
@@ -14,6 +14,7 @@ import { ColumnState } from '@ag-grid-community/core';
|
|
|
14
14
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
15
15
|
import type { Container } from '@microsoft/fast-foundation';
|
|
16
16
|
import { Controller } from '@microsoft/fast-element';
|
|
17
|
+
import { CountdownUnit } from '@genesislcap/foundation-ui';
|
|
17
18
|
import { CSSDesignToken } from '@microsoft/fast-foundation';
|
|
18
19
|
import { CSSVarTokenMap } from '@genesislcap/foundation-ui';
|
|
19
20
|
import { CsvExportParams } from '@ag-grid-community/core';
|
|
@@ -1722,6 +1723,7 @@ export type StatusPillRendererParams = ICellRendererParams & {
|
|
|
1722
1723
|
text?: string;
|
|
1723
1724
|
dateCountdown?: number;
|
|
1724
1725
|
dateCountdownCompletedMessage?: string;
|
|
1726
|
+
dateCountdownUnit?: CountdownUnit;
|
|
1725
1727
|
};
|
|
1726
1728
|
|
|
1727
1729
|
// @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/grid-pro",
|
|
3
3
|
"description": "Genesis Foundation AG Grid",
|
|
4
|
-
"version": "14.307.
|
|
4
|
+
"version": "14.307.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@genesislcap/foundation-testing": "14.307.
|
|
42
|
-
"@genesislcap/genx": "14.307.
|
|
43
|
-
"@genesislcap/rollup-builder": "14.307.
|
|
44
|
-
"@genesislcap/ts-builder": "14.307.
|
|
45
|
-
"@genesislcap/uvu-playwright-builder": "14.307.
|
|
46
|
-
"@genesislcap/vite-builder": "14.307.
|
|
47
|
-
"@genesislcap/webpack-builder": "14.307.
|
|
41
|
+
"@genesislcap/foundation-testing": "14.307.2",
|
|
42
|
+
"@genesislcap/genx": "14.307.2",
|
|
43
|
+
"@genesislcap/rollup-builder": "14.307.2",
|
|
44
|
+
"@genesislcap/ts-builder": "14.307.2",
|
|
45
|
+
"@genesislcap/uvu-playwright-builder": "14.307.2",
|
|
46
|
+
"@genesislcap/vite-builder": "14.307.2",
|
|
47
|
+
"@genesislcap/webpack-builder": "14.307.2"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@genesislcap/foundation-comms": "14.307.
|
|
51
|
-
"@genesislcap/foundation-logger": "14.307.
|
|
52
|
-
"@genesislcap/foundation-ui": "14.307.
|
|
53
|
-
"@genesislcap/foundation-utils": "14.307.
|
|
50
|
+
"@genesislcap/foundation-comms": "14.307.2",
|
|
51
|
+
"@genesislcap/foundation-logger": "14.307.2",
|
|
52
|
+
"@genesislcap/foundation-ui": "14.307.2",
|
|
53
|
+
"@genesislcap/foundation-utils": "14.307.2",
|
|
54
54
|
"@microsoft/fast-colors": "5.3.1",
|
|
55
55
|
"@microsoft/fast-components": "2.30.6",
|
|
56
56
|
"@microsoft/fast-element": "1.14.0",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
77
|
"customElements": "dist/custom-elements.json",
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "a3bfd4199f20640443c512431840c7e8dedc5b4c"
|
|
79
79
|
}
|