@genesislcap/foundation-zero-grid-pro 14.418.2-alpha-222b313.0 → 14.419.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.
@@ -2028,6 +2028,32 @@
2028
2028
  "module": "src/grid-pro.ts"
2029
2029
  }
2030
2030
  }
2031
+ ],
2032
+ "events": [
2033
+ {
2034
+ "description": "Fired when AG Grid is ready (detail includes the grid-ready event and grid id)",
2035
+ "name": "gridReady",
2036
+ "inheritedFrom": {
2037
+ "name": "GridPro",
2038
+ "module": "src/grid-pro.ts"
2039
+ }
2040
+ },
2041
+ {
2042
+ "description": "Deprecated alias for the grid-ready signal; prefer `gridReady`",
2043
+ "name": "onGridReady",
2044
+ "inheritedFrom": {
2045
+ "name": "GridPro",
2046
+ "module": "src/grid-pro.ts"
2047
+ }
2048
+ },
2049
+ {
2050
+ "description": "Native `Event` from `globalEventListener` when AG Grid fires `gridReady` (`agGridDetails` holds the AG Grid event)",
2051
+ "name": "gridready",
2052
+ "inheritedFrom": {
2053
+ "name": "GridPro",
2054
+ "module": "src/grid-pro.ts"
2055
+ }
2056
+ }
2031
2057
  ]
2032
2058
  },
2033
2059
  {
@@ -0,0 +1,166 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT.
3
+ * Generated from custom-elements manifest.
4
+ */
5
+
6
+ import type React from 'react';
7
+ import type { ZeroDateEditor as ZeroDateEditorWC } from './cell-editors/date.editor';
8
+ import type { ZeroMultiselectEditor as ZeroMultiselectEditorWC } from './cell-editors/multiselect.editor';
9
+ import type { ZeroNumberEditor as ZeroNumberEditorWC } from './cell-editors/number.editor';
10
+ import type { ZeroSelectEditor as ZeroSelectEditorWC } from './cell-editors/select.editor';
11
+ import type { ZeroStringEditor as ZeroStringEditorWC } from './cell-editors/string.editor';
12
+ import type { ZeroAgActionRenderer as ZeroAgActionRendererWC } from './cell-renderers/action.renderer';
13
+ import type { ZeroAgActionsMenuRenderer as ZeroAgActionsMenuRendererWC } from './cell-renderers/actions-menu.renderer';
14
+ import type { ZeroBooleanRenderer as ZeroBooleanRendererWC } from './cell-renderers/boolean.renderer';
15
+ import type { ZeroEditableRenderer as ZeroEditableRendererWC } from './cell-renderers/editable.renderer';
16
+ import type { ZeroIconRenderer as ZeroIconRendererWC } from './cell-renderers/icon.renderer';
17
+ import type { ZeroAgSelectRenderer as ZeroAgSelectRendererWC } from './cell-renderers/select.renderer';
18
+ import type { ZeroStatusPillRenderer as ZeroStatusPillRendererWC } from './cell-renderers/status-pill.renderer';
19
+ import type { ZeroAgTextRenderer as ZeroAgTextRendererWC } from './cell-renderers/text.renderer';
20
+ import type { ZeroGridPro as ZeroGridProWC } from './grid-pro';
21
+
22
+ /** @internal Maps a web component class to its public props only.
23
+ * keyof T skips private/protected members, so this avoids the TS error
24
+ * "property may not be private or protected" on exported anonymous types. */
25
+ type PublicOf<T> = { [K in keyof T]?: T[K] };
26
+
27
+ /** @internal Safe React HTML attributes for web component wrappers.
28
+ * onChange/onInput use method signatures for bivariant parameter checking so both
29
+ * native Event and CustomEvent callbacks are accepted. */
30
+ interface HTMLWCProps extends React.AriaAttributes {
31
+ className?: string; style?: React.CSSProperties; id?: string; slot?: string;
32
+ tabIndex?: number; dir?: string; lang?: string; title?: string;
33
+ onClick?: React.MouseEventHandler<HTMLElement>;
34
+ onDoubleClick?: React.MouseEventHandler<HTMLElement>;
35
+ onContextMenu?: React.MouseEventHandler<HTMLElement>;
36
+ onMouseEnter?: React.MouseEventHandler<HTMLElement>;
37
+ onMouseLeave?: React.MouseEventHandler<HTMLElement>;
38
+ onMouseDown?: React.MouseEventHandler<HTMLElement>;
39
+ onMouseUp?: React.MouseEventHandler<HTMLElement>;
40
+ onMouseMove?: React.MouseEventHandler<HTMLElement>;
41
+ onKeyDown?: React.KeyboardEventHandler<HTMLElement>;
42
+ onKeyUp?: React.KeyboardEventHandler<HTMLElement>;
43
+ onFocus?: React.FocusEventHandler<HTMLElement>;
44
+ onBlur?: React.FocusEventHandler<HTMLElement>;
45
+ onScroll?: React.UIEventHandler<HTMLElement>;
46
+ onWheel?: React.WheelEventHandler<HTMLElement>;
47
+ onChange?(e: Event): void;
48
+ onInput?(e: Event): void;
49
+ }
50
+
51
+ export declare const ZeroGridPro: React.ForwardRefExoticComponent<
52
+ React.PropsWithChildren<
53
+ Omit<PublicOf<ZeroGridProWC>, 'children' | 'style'> &
54
+ HTMLWCProps & {
55
+ onGridReady?: (event: CustomEvent<unknown>) => void;
56
+ onOnGridReady?: (event: CustomEvent<unknown>) => void;
57
+ onGridready?: (event: CustomEvent<unknown>) => void;
58
+ }
59
+ > & React.RefAttributes<ZeroGridProWC>
60
+ >;
61
+
62
+ export declare const ZeroDateEditor: React.ForwardRefExoticComponent<
63
+ React.PropsWithChildren<
64
+ Omit<PublicOf<ZeroDateEditorWC>, 'children' | 'style'> &
65
+ HTMLWCProps & {
66
+ }
67
+ > & React.RefAttributes<ZeroDateEditorWC>
68
+ >;
69
+
70
+ export declare const ZeroMultiselectEditor: React.ForwardRefExoticComponent<
71
+ React.PropsWithChildren<
72
+ Omit<PublicOf<ZeroMultiselectEditorWC>, 'children' | 'style'> &
73
+ HTMLWCProps & {
74
+ }
75
+ > & React.RefAttributes<ZeroMultiselectEditorWC>
76
+ >;
77
+
78
+ export declare const ZeroNumberEditor: React.ForwardRefExoticComponent<
79
+ React.PropsWithChildren<
80
+ Omit<PublicOf<ZeroNumberEditorWC>, 'children' | 'style'> &
81
+ HTMLWCProps & {
82
+ }
83
+ > & React.RefAttributes<ZeroNumberEditorWC>
84
+ >;
85
+
86
+ export declare const ZeroSelectEditor: React.ForwardRefExoticComponent<
87
+ React.PropsWithChildren<
88
+ Omit<PublicOf<ZeroSelectEditorWC>, 'children' | 'style'> &
89
+ HTMLWCProps & {
90
+ }
91
+ > & React.RefAttributes<ZeroSelectEditorWC>
92
+ >;
93
+
94
+ export declare const ZeroStringEditor: React.ForwardRefExoticComponent<
95
+ React.PropsWithChildren<
96
+ Omit<PublicOf<ZeroStringEditorWC>, 'children' | 'style'> &
97
+ HTMLWCProps & {
98
+ }
99
+ > & React.RefAttributes<ZeroStringEditorWC>
100
+ >;
101
+
102
+ export declare const ZeroAgActionRenderer: React.ForwardRefExoticComponent<
103
+ React.PropsWithChildren<
104
+ Omit<PublicOf<ZeroAgActionRendererWC>, 'children' | 'style'> &
105
+ HTMLWCProps & {
106
+ }
107
+ > & React.RefAttributes<ZeroAgActionRendererWC>
108
+ >;
109
+
110
+ export declare const ZeroAgActionsMenuRenderer: React.ForwardRefExoticComponent<
111
+ React.PropsWithChildren<
112
+ Omit<PublicOf<ZeroAgActionsMenuRendererWC>, 'children' | 'style'> &
113
+ HTMLWCProps & {
114
+ }
115
+ > & React.RefAttributes<ZeroAgActionsMenuRendererWC>
116
+ >;
117
+
118
+ export declare const ZeroBooleanRenderer: React.ForwardRefExoticComponent<
119
+ React.PropsWithChildren<
120
+ Omit<PublicOf<ZeroBooleanRendererWC>, 'children' | 'style'> &
121
+ HTMLWCProps & {
122
+ }
123
+ > & React.RefAttributes<ZeroBooleanRendererWC>
124
+ >;
125
+
126
+ export declare const ZeroEditableRenderer: React.ForwardRefExoticComponent<
127
+ React.PropsWithChildren<
128
+ Omit<PublicOf<ZeroEditableRendererWC>, 'children' | 'style'> &
129
+ HTMLWCProps & {
130
+ }
131
+ > & React.RefAttributes<ZeroEditableRendererWC>
132
+ >;
133
+
134
+ export declare const ZeroIconRenderer: React.ForwardRefExoticComponent<
135
+ React.PropsWithChildren<
136
+ Omit<PublicOf<ZeroIconRendererWC>, 'children' | 'style'> &
137
+ HTMLWCProps & {
138
+ }
139
+ > & React.RefAttributes<ZeroIconRendererWC>
140
+ >;
141
+
142
+ export declare const ZeroAgSelectRenderer: React.ForwardRefExoticComponent<
143
+ React.PropsWithChildren<
144
+ Omit<PublicOf<ZeroAgSelectRendererWC>, 'children' | 'style'> &
145
+ HTMLWCProps & {
146
+ }
147
+ > & React.RefAttributes<ZeroAgSelectRendererWC>
148
+ >;
149
+
150
+ export declare const ZeroStatusPillRenderer: React.ForwardRefExoticComponent<
151
+ React.PropsWithChildren<
152
+ Omit<PublicOf<ZeroStatusPillRendererWC>, 'children' | 'style'> &
153
+ HTMLWCProps & {
154
+ }
155
+ > & React.RefAttributes<ZeroStatusPillRendererWC>
156
+ >;
157
+
158
+ export declare const ZeroAgTextRenderer: React.ForwardRefExoticComponent<
159
+ React.PropsWithChildren<
160
+ Omit<PublicOf<ZeroAgTextRendererWC>, 'children' | 'style'> &
161
+ HTMLWCProps & {
162
+ }
163
+ > & React.RefAttributes<ZeroAgTextRendererWC>
164
+ >;
165
+
166
+ export {};
package/dist/react.cjs ADDED
@@ -0,0 +1,76 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT.
3
+ * Generated from custom-elements manifest.
4
+ */
5
+
6
+ 'use strict';
7
+
8
+ const { provideReactWrapper } = require('@microsoft/fast-react-wrapper');
9
+ const React = require('react');
10
+ const { ZeroDateEditor: ZeroDateEditorWC } = require('./esm/cell-editors/date.editor.js');
11
+ const { ZeroMultiselectEditor: ZeroMultiselectEditorWC } = require('./esm/cell-editors/multiselect.editor.js');
12
+ const { ZeroNumberEditor: ZeroNumberEditorWC } = require('./esm/cell-editors/number.editor.js');
13
+ const { ZeroSelectEditor: ZeroSelectEditorWC } = require('./esm/cell-editors/select.editor.js');
14
+ const { ZeroStringEditor: ZeroStringEditorWC } = require('./esm/cell-editors/string.editor.js');
15
+ const { ZeroAgActionRenderer: ZeroAgActionRendererWC } = require('./esm/cell-renderers/action.renderer.js');
16
+ const { ZeroAgActionsMenuRenderer: ZeroAgActionsMenuRendererWC } = require('./esm/cell-renderers/actions-menu.renderer.js');
17
+ const { ZeroBooleanRenderer: ZeroBooleanRendererWC } = require('./esm/cell-renderers/boolean.renderer.js');
18
+ const { ZeroEditableRenderer: ZeroEditableRendererWC } = require('./esm/cell-renderers/editable.renderer.js');
19
+ const { ZeroIconRenderer: ZeroIconRendererWC } = require('./esm/cell-renderers/icon.renderer.js');
20
+ const { ZeroAgSelectRenderer: ZeroAgSelectRendererWC } = require('./esm/cell-renderers/select.renderer.js');
21
+ const { ZeroStatusPillRenderer: ZeroStatusPillRendererWC } = require('./esm/cell-renderers/status-pill.renderer.js');
22
+ const { ZeroAgTextRenderer: ZeroAgTextRendererWC } = require('./esm/cell-renderers/text.renderer.js');
23
+ const { ZeroGridPro: ZeroGridProWC } = require('./esm/grid-pro.js');
24
+
25
+ const { wrap } = provideReactWrapper(React);
26
+
27
+ const ZeroGridPro = wrap(ZeroGridProWC, {
28
+ events: {
29
+ onGridReady: 'gridReady',
30
+ onOnGridReady: 'onGridReady',
31
+ onGridready: 'gridready',
32
+ },
33
+ });
34
+
35
+ const ZeroDateEditor = wrap(ZeroDateEditorWC);
36
+
37
+ const ZeroMultiselectEditor = wrap(ZeroMultiselectEditorWC);
38
+
39
+ const ZeroNumberEditor = wrap(ZeroNumberEditorWC);
40
+
41
+ const ZeroSelectEditor = wrap(ZeroSelectEditorWC);
42
+
43
+ const ZeroStringEditor = wrap(ZeroStringEditorWC);
44
+
45
+ const ZeroAgActionRenderer = wrap(ZeroAgActionRendererWC);
46
+
47
+ const ZeroAgActionsMenuRenderer = wrap(ZeroAgActionsMenuRendererWC);
48
+
49
+ const ZeroBooleanRenderer = wrap(ZeroBooleanRendererWC);
50
+
51
+ const ZeroEditableRenderer = wrap(ZeroEditableRendererWC);
52
+
53
+ const ZeroIconRenderer = wrap(ZeroIconRendererWC);
54
+
55
+ const ZeroAgSelectRenderer = wrap(ZeroAgSelectRendererWC);
56
+
57
+ const ZeroStatusPillRenderer = wrap(ZeroStatusPillRendererWC);
58
+
59
+ const ZeroAgTextRenderer = wrap(ZeroAgTextRendererWC);
60
+
61
+ module.exports = {
62
+ ZeroGridPro,
63
+ ZeroDateEditor,
64
+ ZeroMultiselectEditor,
65
+ ZeroNumberEditor,
66
+ ZeroSelectEditor,
67
+ ZeroStringEditor,
68
+ ZeroAgActionRenderer,
69
+ ZeroAgActionsMenuRenderer,
70
+ ZeroBooleanRenderer,
71
+ ZeroEditableRenderer,
72
+ ZeroIconRenderer,
73
+ ZeroAgSelectRenderer,
74
+ ZeroStatusPillRenderer,
75
+ ZeroAgTextRenderer,
76
+ };
package/dist/react.mjs ADDED
@@ -0,0 +1,57 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT.
3
+ * Generated from custom-elements manifest.
4
+ */
5
+
6
+ import { provideReactWrapper } from '@microsoft/fast-react-wrapper';
7
+ import React from 'react';
8
+ import { ZeroDateEditor as ZeroDateEditorWC } from './esm/cell-editors/date.editor.js';
9
+ import { ZeroMultiselectEditor as ZeroMultiselectEditorWC } from './esm/cell-editors/multiselect.editor.js';
10
+ import { ZeroNumberEditor as ZeroNumberEditorWC } from './esm/cell-editors/number.editor.js';
11
+ import { ZeroSelectEditor as ZeroSelectEditorWC } from './esm/cell-editors/select.editor.js';
12
+ import { ZeroStringEditor as ZeroStringEditorWC } from './esm/cell-editors/string.editor.js';
13
+ import { ZeroAgActionRenderer as ZeroAgActionRendererWC } from './esm/cell-renderers/action.renderer.js';
14
+ import { ZeroAgActionsMenuRenderer as ZeroAgActionsMenuRendererWC } from './esm/cell-renderers/actions-menu.renderer.js';
15
+ import { ZeroBooleanRenderer as ZeroBooleanRendererWC } from './esm/cell-renderers/boolean.renderer.js';
16
+ import { ZeroEditableRenderer as ZeroEditableRendererWC } from './esm/cell-renderers/editable.renderer.js';
17
+ import { ZeroIconRenderer as ZeroIconRendererWC } from './esm/cell-renderers/icon.renderer.js';
18
+ import { ZeroAgSelectRenderer as ZeroAgSelectRendererWC } from './esm/cell-renderers/select.renderer.js';
19
+ import { ZeroStatusPillRenderer as ZeroStatusPillRendererWC } from './esm/cell-renderers/status-pill.renderer.js';
20
+ import { ZeroAgTextRenderer as ZeroAgTextRendererWC } from './esm/cell-renderers/text.renderer.js';
21
+ import { ZeroGridPro as ZeroGridProWC } from './esm/grid-pro.js';
22
+
23
+ const { wrap } = provideReactWrapper(React);
24
+
25
+ export const ZeroGridPro = wrap(ZeroGridProWC, {
26
+ events: {
27
+ onGridReady: 'gridReady',
28
+ onOnGridReady: 'onGridReady',
29
+ onGridready: 'gridready',
30
+ },
31
+ });
32
+
33
+ export const ZeroDateEditor = wrap(ZeroDateEditorWC);
34
+
35
+ export const ZeroMultiselectEditor = wrap(ZeroMultiselectEditorWC);
36
+
37
+ export const ZeroNumberEditor = wrap(ZeroNumberEditorWC);
38
+
39
+ export const ZeroSelectEditor = wrap(ZeroSelectEditorWC);
40
+
41
+ export const ZeroStringEditor = wrap(ZeroStringEditorWC);
42
+
43
+ export const ZeroAgActionRenderer = wrap(ZeroAgActionRendererWC);
44
+
45
+ export const ZeroAgActionsMenuRenderer = wrap(ZeroAgActionsMenuRendererWC);
46
+
47
+ export const ZeroBooleanRenderer = wrap(ZeroBooleanRendererWC);
48
+
49
+ export const ZeroEditableRenderer = wrap(ZeroEditableRendererWC);
50
+
51
+ export const ZeroIconRenderer = wrap(ZeroIconRendererWC);
52
+
53
+ export const ZeroAgSelectRenderer = wrap(ZeroAgSelectRendererWC);
54
+
55
+ export const ZeroStatusPillRenderer = wrap(ZeroStatusPillRendererWC);
56
+
57
+ export const ZeroAgTextRenderer = wrap(ZeroAgTextRendererWC);
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.418.2-alpha-222b313.0",
4
+ "version": "14.419.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -37,17 +37,17 @@
37
37
  }
38
38
  },
39
39
  "devDependencies": {
40
- "@genesislcap/genx": "14.418.2-alpha-222b313.0",
41
- "@genesislcap/rollup-builder": "14.418.2-alpha-222b313.0",
42
- "@genesislcap/ts-builder": "14.418.2-alpha-222b313.0",
43
- "@genesislcap/uvu-playwright-builder": "14.418.2-alpha-222b313.0",
44
- "@genesislcap/vite-builder": "14.418.2-alpha-222b313.0",
45
- "@genesislcap/webpack-builder": "14.418.2-alpha-222b313.0"
40
+ "@genesislcap/genx": "14.419.0",
41
+ "@genesislcap/rollup-builder": "14.419.0",
42
+ "@genesislcap/ts-builder": "14.419.0",
43
+ "@genesislcap/uvu-playwright-builder": "14.419.0",
44
+ "@genesislcap/vite-builder": "14.419.0",
45
+ "@genesislcap/webpack-builder": "14.419.0"
46
46
  },
47
47
  "dependencies": {
48
- "@genesislcap/foundation-ui": "14.418.2-alpha-222b313.0",
49
- "@genesislcap/foundation-zero": "14.418.2-alpha-222b313.0",
50
- "@genesislcap/grid-pro": "14.418.2-alpha-222b313.0",
48
+ "@genesislcap/foundation-ui": "14.419.0",
49
+ "@genesislcap/foundation-zero": "14.419.0",
50
+ "@genesislcap/grid-pro": "14.419.0",
51
51
  "@microsoft/fast-colors": "5.3.1",
52
52
  "@microsoft/fast-components": "2.30.6",
53
53
  "@microsoft/fast-element": "1.14.0",
@@ -56,7 +56,8 @@
56
56
  "peerDependencies": {
57
57
  "@ag-grid-community/client-side-row-model": "29.2.0",
58
58
  "@ag-grid-community/core": "29.2.0",
59
- "@ag-grid-community/csv-export": "29.2.0"
59
+ "@ag-grid-community/csv-export": "29.2.0",
60
+ "@microsoft/fast-react-wrapper": ">=0.3.0"
60
61
  },
61
62
  "repository": {
62
63
  "type": "git",
@@ -67,5 +68,16 @@
67
68
  "access": "public"
68
69
  },
69
70
  "customElements": "dist/custom-elements.json",
70
- "gitHead": "0d2672c05ec4efeab709698bde5a604c0866bda6"
71
+ "exports": {
72
+ ".": {
73
+ "types": "./dist/dts/index.d.ts",
74
+ "default": "./dist/esm/index.js"
75
+ },
76
+ "./react": {
77
+ "types": "./dist/dts/react.d.ts",
78
+ "import": "./dist/react.mjs",
79
+ "require": "./dist/react.cjs"
80
+ }
81
+ },
82
+ "gitHead": "e7590ac8bedb4e7d8cbbcee4100d1b0476591870"
71
83
  }