@genesislcap/grid-pro 14.107.0 → 14.107.1-alpha-afbc4d7.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/dts/datasource/server-side.datasource.d.ts +37 -29
- package/dist/dts/datasource/server-side.datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +51 -30
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro.d.ts +38 -33
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/grid-pro.api.json +597 -1
- package/dist/grid-pro.d.ts +125 -92
- package/docs/api/grid-pro.formatdateextra.md +34 -0
- package/docs/api/grid-pro.getcolumntype.md +33 -0
- package/docs/api/grid-pro.getfilterbyfieldtype.md +33 -0
- package/docs/api/grid-pro.getfilterparamsbyfieldtype.md +33 -0
- package/docs/api/grid-pro.gridproserversidedatasource.md +30 -0
- package/docs/api/grid-pro.gridproserversidedatasource.pagination.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.params.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.rowid.md +14 -0
- package/docs/api/grid-pro.md +7 -0
- package/docs/api/grid-pro.streamdatasource._constructor_.md +23 -0
- package/docs/api/grid-pro.streamdatasource.auth.md +14 -0
- package/docs/api/grid-pro.streamdatasource.connect.md +14 -0
- package/docs/api/grid-pro.streamdatasource.dataserverstream.md +14 -0
- package/docs/api/grid-pro.streamdatasource.md +34 -0
- package/docs/api/grid-pro.streamdatasource.resourceparams.md +14 -0
- package/docs/api/grid-pro.streamdatasource.streamsourceref.md +14 -0
- package/docs/api/grid-pro.streamdatasourceoptions.md +31 -0
- package/docs/api-report.md +2 -0
- package/package.json +9 -9
package/docs/api/grid-pro.md
CHANGED
|
@@ -19,10 +19,12 @@
|
|
|
19
19
|
| [GridProClientSideDatasource](./grid-pro.gridproclientsidedatasource.md) | The Genesis Datasource element, for client-side \| CSRM-compatible data fetching and used exclusively by the GridPro element. |
|
|
20
20
|
| [GridProColumn](./grid-pro.gridprocolumn.md) | The Grid Pro Column element. |
|
|
21
21
|
| [GridProGenesisDatasource](./grid-pro.gridprogenesisdatasource.md) | The Genesis Datasource element, for CSRM-compatible data fetching and used exclusively by the GridPro element. |
|
|
22
|
+
| [GridProServerSideDatasource](./grid-pro.gridproserversidedatasource.md) | **_(ALPHA)_** A Genesis Datasource element, for server-side \| SSRM-compatible data fetching and used exclusively by the GridPro element. |
|
|
22
23
|
| [MultiselectEditor](./grid-pro.multiselecteditor.md) | The AG Multiselect Editor element. |
|
|
23
24
|
| [NumberEditor](./grid-pro.numbereditor.md) | The AG Number Editor element. |
|
|
24
25
|
| [SelectEditor](./grid-pro.selecteditor.md) | The AG Select Editor element. |
|
|
25
26
|
| [SelectRenderer](./grid-pro.selectrenderer.md) | The AG Select Renderer element. |
|
|
27
|
+
| [StreamDatasource](./grid-pro.streamdatasource.md) | **_(ALPHA)_** The IServerSideDatasource implementation, used for SSRM (Server-Side Row Model) in the grid. |
|
|
26
28
|
|
|
27
29
|
## Enumerations
|
|
28
30
|
|
|
@@ -38,6 +40,10 @@
|
|
|
38
40
|
| --- | --- |
|
|
39
41
|
| [dateTimeValueFormatter({ value })](./grid-pro.datetimevalueformatter.md) | Returns a formatted date time value from the Grid Pro cell value. |
|
|
40
42
|
| [dateValueFormatter({ value })](./grid-pro.datevalueformatter.md) | Returns a formatted date value from the Grid Pro cell value. |
|
|
43
|
+
| [formatDateExtra(epoch)](./grid-pro.formatdateextra.md) | **_(ALPHA)_** Returns a formatted date value from an epoch number. |
|
|
44
|
+
| [getColumnType(metadataType)](./grid-pro.getcolumntype.md) | **_(ALPHA)_** Return a column type base on each field's metadata from the selected resource. |
|
|
45
|
+
| [getFilterByFieldType(type)](./grid-pro.getfilterbyfieldtype.md) | **_(ALPHA)_** Returns a filter type based on the Grid Pro field/column type. |
|
|
46
|
+
| [getFilterParamsByFieldType(type)](./grid-pro.getfilterparamsbyfieldtype.md) | **_(ALPHA)_** Returns the filter params based on the Grid Pro field/column type. |
|
|
41
47
|
| [gridProColumns(itemsBinding, includeRenderers)](./grid-pro.gridprocolumns.md) | A directive that renders a set of grid-pro-column elements from a given input binding |
|
|
42
48
|
| [mergeAndDedupColDefWithColumnState(colDefs, columnStates)](./grid-pro.mergeanddedupcoldefwithcolumnstate.md) | Merges two arrays, one of <code>ColDef</code> and one of <code>ColumnState</code>, and deduplicates them. |
|
|
43
49
|
|
|
@@ -116,4 +122,5 @@
|
|
|
116
122
|
| [ActionRendererParams](./grid-pro.actionrendererparams.md) | Parameters for the [GridPro](./grid-pro.gridpro.md) action renderer. |
|
|
117
123
|
| [AgThemeFontFaceMap](./grid-pro.agthemefontfacemap.md) | Type for mapping of a [AgGridTheme](./grid-pro.aggridtheme.md) to a font face. |
|
|
118
124
|
| [GridComponents](./grid-pro.gridcomponents.md) | Grid Pro Components type, used to define the custom components that will be registered in the grid |
|
|
125
|
+
| [StreamDatasourceOptions](./grid-pro.streamdatasourceoptions.md) | **_(ALPHA)_** Type definition for configuration options used for streams. |
|
|
119
126
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [StreamDatasource](./grid-pro.streamdatasource.md) > [(constructor)](./grid-pro.streamdatasource._constructor_.md)
|
|
4
|
+
|
|
5
|
+
## StreamDatasource.(constructor)
|
|
6
|
+
|
|
7
|
+
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
+
>
|
|
9
|
+
|
|
10
|
+
Constructs a new instance of the `StreamDatasource` class
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
constructor(options: StreamDatasourceOptions);
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Parameters
|
|
19
|
+
|
|
20
|
+
| Parameter | Type | Description |
|
|
21
|
+
| --- | --- | --- |
|
|
22
|
+
| options | [StreamDatasourceOptions](./grid-pro.streamdatasourceoptions.md) | |
|
|
23
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [StreamDatasource](./grid-pro.streamdatasource.md) > [auth](./grid-pro.streamdatasource.auth.md)
|
|
4
|
+
|
|
5
|
+
## StreamDatasource.auth property
|
|
6
|
+
|
|
7
|
+
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
+
>
|
|
9
|
+
|
|
10
|
+
**Signature:**
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
auth: Auth;
|
|
14
|
+
```
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [StreamDatasource](./grid-pro.streamdatasource.md) > [connect](./grid-pro.streamdatasource.connect.md)
|
|
4
|
+
|
|
5
|
+
## StreamDatasource.connect property
|
|
6
|
+
|
|
7
|
+
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
+
>
|
|
9
|
+
|
|
10
|
+
**Signature:**
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
connect: Connect;
|
|
14
|
+
```
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [StreamDatasource](./grid-pro.streamdatasource.md) > [dataserverStream](./grid-pro.streamdatasource.dataserverstream.md)
|
|
4
|
+
|
|
5
|
+
## StreamDatasource.dataserverStream property
|
|
6
|
+
|
|
7
|
+
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
+
>
|
|
9
|
+
|
|
10
|
+
**Signature:**
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
dataserverStream: SocketObservable<FilteredDataServerResult>;
|
|
14
|
+
```
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [StreamDatasource](./grid-pro.streamdatasource.md)
|
|
4
|
+
|
|
5
|
+
## StreamDatasource class
|
|
6
|
+
|
|
7
|
+
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
+
>
|
|
9
|
+
|
|
10
|
+
The IServerSideDatasource implementation, used for SSRM (Server-Side Row Model) in the grid.
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
export declare class StreamDatasource implements IServerSideDatasource
|
|
16
|
+
```
|
|
17
|
+
**Implements:** IServerSideDatasource
|
|
18
|
+
|
|
19
|
+
## Constructors
|
|
20
|
+
|
|
21
|
+
| Constructor | Modifiers | Description |
|
|
22
|
+
| --- | --- | --- |
|
|
23
|
+
| [(constructor)(options)](./grid-pro.streamdatasource._constructor_.md) | | **_(ALPHA)_** Constructs a new instance of the <code>StreamDatasource</code> class |
|
|
24
|
+
|
|
25
|
+
## Properties
|
|
26
|
+
|
|
27
|
+
| Property | Modifiers | Type | Description |
|
|
28
|
+
| --- | --- | --- | --- |
|
|
29
|
+
| [auth](./grid-pro.streamdatasource.auth.md) | | Auth | **_(ALPHA)_** |
|
|
30
|
+
| [connect](./grid-pro.streamdatasource.connect.md) | | Connect | **_(ALPHA)_** |
|
|
31
|
+
| [dataserverStream](./grid-pro.streamdatasource.dataserverstream.md) | | SocketObservable<FilteredDataServerResult> | **_(ALPHA)_** |
|
|
32
|
+
| [resourceParams](./grid-pro.streamdatasource.resourceparams.md) | | any | **_(ALPHA)_** |
|
|
33
|
+
| [streamSourceRef](./grid-pro.streamdatasource.streamsourceref.md) | | string | **_(ALPHA)_** |
|
|
34
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [StreamDatasource](./grid-pro.streamdatasource.md) > [resourceParams](./grid-pro.streamdatasource.resourceparams.md)
|
|
4
|
+
|
|
5
|
+
## StreamDatasource.resourceParams property
|
|
6
|
+
|
|
7
|
+
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
+
>
|
|
9
|
+
|
|
10
|
+
**Signature:**
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
resourceParams: any;
|
|
14
|
+
```
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [StreamDatasource](./grid-pro.streamdatasource.md) > [streamSourceRef](./grid-pro.streamdatasource.streamsourceref.md)
|
|
4
|
+
|
|
5
|
+
## StreamDatasource.streamSourceRef property
|
|
6
|
+
|
|
7
|
+
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
+
>
|
|
9
|
+
|
|
10
|
+
**Signature:**
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
streamSourceRef: string;
|
|
14
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [StreamDatasourceOptions](./grid-pro.streamdatasourceoptions.md)
|
|
4
|
+
|
|
5
|
+
## StreamDatasourceOptions type
|
|
6
|
+
|
|
7
|
+
> This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
+
>
|
|
9
|
+
|
|
10
|
+
Type definition for configuration options used for streams.
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
export type StreamDatasourceOptions = {
|
|
16
|
+
stream: SocketObservable<FilteredDataServerResult>;
|
|
17
|
+
resourceName: string;
|
|
18
|
+
resourceParams?: any;
|
|
19
|
+
resourceIndexes?: Map<string, [string]>;
|
|
20
|
+
resourceColDefs?: MetadataDetail[];
|
|
21
|
+
maxRows?: number;
|
|
22
|
+
maxView?: number;
|
|
23
|
+
rowId?: string;
|
|
24
|
+
pagination?: boolean;
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Remarks
|
|
29
|
+
|
|
30
|
+
Used by [StreamDatasource](./grid-pro.streamdatasource.md) constructor to configure options for the stream.
|
|
31
|
+
|
package/docs/api-report.md
CHANGED
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.107.0",
|
|
4
|
+
"version": "14.107.1-alpha-afbc4d7.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"test:debug": "genx test --debug"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@genesislcap/foundation-testing": "14.107.0",
|
|
34
|
-
"@genesislcap/genx": "14.107.0",
|
|
33
|
+
"@genesislcap/foundation-testing": "14.107.1-alpha-afbc4d7.0",
|
|
34
|
+
"@genesislcap/genx": "14.107.1-alpha-afbc4d7.0",
|
|
35
35
|
"rimraf": "^3.0.2"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@genesislcap/foundation-comms": "14.107.0",
|
|
39
|
-
"@genesislcap/foundation-logger": "14.107.0",
|
|
40
|
-
"@genesislcap/foundation-ui": "14.107.0",
|
|
41
|
-
"@genesislcap/foundation-utils": "14.107.0",
|
|
38
|
+
"@genesislcap/foundation-comms": "14.107.1-alpha-afbc4d7.0",
|
|
39
|
+
"@genesislcap/foundation-logger": "14.107.1-alpha-afbc4d7.0",
|
|
40
|
+
"@genesislcap/foundation-ui": "14.107.1-alpha-afbc4d7.0",
|
|
41
|
+
"@genesislcap/foundation-utils": "14.107.1-alpha-afbc4d7.0",
|
|
42
42
|
"@microsoft/fast-colors": "^5.1.4",
|
|
43
43
|
"@microsoft/fast-components": "^2.21.3",
|
|
44
44
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@microsoft/fast-web-utilities": "^5.0.2",
|
|
47
47
|
"dayjs": "^1.11.7",
|
|
48
48
|
"rxjs": "^7.5.4",
|
|
49
|
-
"tslib": "^2.
|
|
49
|
+
"tslib": "^2.6.2"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@ag-grid-community/client-side-row-model": "29.2.0",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
64
|
"customElements": "dist/custom-elements.json",
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "bb64624e9bb6cea2cad088305e8c82d088f20da4"
|
|
66
66
|
}
|