@bryntum/grid-angular-thin 7.3.3 → 7.3.5
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/README.md +32 -55
- package/bundles/bryntum-grid-angular-thin.umd.js +59 -19
- package/bundles/bryntum-grid-angular-thin.umd.js.map +1 -1
- package/esm2015/lib/bryntum-a-i-filter-field.component.js +6 -2
- package/esm2015/lib/bryntum-checklist-filter-combo.component.js +6 -2
- package/esm2015/lib/bryntum-grid-base.component.js +9 -5
- package/esm2015/lib/bryntum-grid-chart-designer.component.js +6 -2
- package/esm2015/lib/bryntum-grid-field-filter-picker-group.component.js +6 -2
- package/esm2015/lib/bryntum-grid-field-filter-picker.component.js +6 -2
- package/esm2015/lib/bryntum-grid.component.js +9 -5
- package/esm2015/lib/bryntum-group-bar.component.js +6 -2
- package/esm2015/lib/bryntum-tree-combo.component.js +6 -2
- package/esm2015/lib/bryntum-tree-grid.component.js +9 -5
- package/fesm2015/bryntum-grid-angular-thin.js +59 -19
- package/fesm2015/bryntum-grid-angular-thin.js.map +1 -1
- package/lib/bryntum-a-i-filter-field.component.d.ts +10 -2
- package/lib/bryntum-checklist-filter-combo.component.d.ts +10 -2
- package/lib/bryntum-grid-base.component.d.ts +11 -4
- package/lib/bryntum-grid-chart-designer.component.d.ts +9 -2
- package/lib/bryntum-grid-field-filter-picker-group.component.d.ts +9 -2
- package/lib/bryntum-grid-field-filter-picker.component.d.ts +9 -2
- package/lib/bryntum-grid.component.d.ts +11 -4
- package/lib/bryntum-group-bar.component.d.ts +9 -2
- package/lib/bryntum-tree-combo.component.d.ts +10 -2
- package/lib/bryntum-tree-grid.component.d.ts +11 -4
- package/package.json +1 -1
- package/src/lib/bryntum-a-i-filter-field.component.ts +11 -1
- package/src/lib/bryntum-checklist-filter-combo.component.ts +11 -1
- package/src/lib/bryntum-grid-base.component.ts +13 -4
- package/src/lib/bryntum-grid-chart-designer.component.ts +10 -1
- package/src/lib/bryntum-grid-field-filter-picker-group.component.ts +10 -1
- package/src/lib/bryntum-grid-field-filter-picker.component.ts +10 -1
- package/src/lib/bryntum-grid.component.ts +13 -4
- package/src/lib/bryntum-group-bar.component.ts +10 -1
- package/src/lib/bryntum-tree-combo.component.ts +11 -1
- package/src/lib/bryntum-tree-grid.component.ts +13 -4
package/README.md
CHANGED
|
@@ -55,38 +55,39 @@ npm install @bryntum/grid-thin@latest
|
|
|
55
55
|
|
|
56
56
|
## Quick Start
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
Update the `src/app/app.ts` file with the following content:
|
|
59
59
|
|
|
60
60
|
```typescript
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
/**
|
|
62
|
+
* App component script
|
|
63
|
+
*/
|
|
64
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation, viewChild } from '@angular/core';
|
|
64
65
|
import { BryntumCoreModule } from '@bryntum/core-angular-thin';
|
|
65
|
-
import { BryntumGridModule } from '@bryntum/grid-angular-thin';
|
|
66
|
-
|
|
67
|
-
import { AppComponent } from './app';
|
|
66
|
+
import { BryntumGridComponent, BryntumGridModule } from '@bryntum/grid-angular-thin';
|
|
67
|
+
import { gridProps } from './demo.config';
|
|
68
68
|
|
|
69
|
-
@
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
BryntumGridModule
|
|
77
|
-
],
|
|
78
|
-
providers : [],
|
|
79
|
-
bootstrap : [AppComponent]
|
|
69
|
+
@Component({
|
|
70
|
+
selector : 'app-root',
|
|
71
|
+
imports : [BryntumCoreModule, BryntumGridModule],
|
|
72
|
+
templateUrl : './app.html',
|
|
73
|
+
styleUrl : './app.scss',
|
|
74
|
+
changeDetection : ChangeDetectionStrategy.OnPush,
|
|
75
|
+
encapsulation : ViewEncapsulation.None
|
|
80
76
|
})
|
|
81
|
-
export class
|
|
77
|
+
export class App {
|
|
78
|
+
|
|
79
|
+
protected readonly gridProps = gridProps;
|
|
80
|
+
|
|
81
|
+
protected readonly gridComponent = viewChild.required(BryntumGridComponent);
|
|
82
|
+
}
|
|
82
83
|
```
|
|
83
84
|
|
|
84
|
-
Create `src/app/
|
|
85
|
+
Create the `src/app/demo.config.ts` file with the following content:
|
|
85
86
|
|
|
86
87
|
```typescript
|
|
87
|
-
import { BryntumGridProps } from '@bryntum/grid-angular-thin';
|
|
88
|
+
import type { BryntumGridProps } from '@bryntum/grid-angular-thin';
|
|
88
89
|
|
|
89
|
-
export const gridProps
|
|
90
|
+
export const gridProps = {
|
|
90
91
|
columns : [
|
|
91
92
|
{
|
|
92
93
|
text : 'Name',
|
|
@@ -149,31 +150,7 @@ export const gridProps: BryntumGridProps = {
|
|
|
149
150
|
{ id : 24, name : 'James O Connor', age : 34, city : 'Dublin', food : 'Irish Stew', color : 'Green' },
|
|
150
151
|
{ id : 25, name : 'Isabelle Chen', age : 31, city : 'Hong Kong', food : 'Dim Sum', color : 'Brown' }
|
|
151
152
|
]
|
|
152
|
-
};
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
Update the `src/app/app.ts` file with the following content:
|
|
156
|
-
|
|
157
|
-
```typescript
|
|
158
|
-
/**
|
|
159
|
-
* App component script
|
|
160
|
-
*/
|
|
161
|
-
import { Component, ViewChild } from '@angular/core';
|
|
162
|
-
import { BryntumGridComponent } from '@bryntum/grid-angular-thin';
|
|
163
|
-
import { gridProps } from './app.config';
|
|
164
|
-
|
|
165
|
-
@Component({
|
|
166
|
-
selector : 'app-root',
|
|
167
|
-
standalone : false,
|
|
168
|
-
templateUrl : './app.html',
|
|
169
|
-
styleUrl : './app.css'
|
|
170
|
-
})
|
|
171
|
-
export class AppComponent {
|
|
172
|
-
|
|
173
|
-
gridProps = gridProps;
|
|
174
|
-
|
|
175
|
-
@ViewChild('grid') gridComponent!: BryntumGridComponent;
|
|
176
|
-
}
|
|
153
|
+
} satisfies BryntumGridProps;
|
|
177
154
|
```
|
|
178
155
|
|
|
179
156
|
Edit the `src/app/app.html` file and replace the content with the following:
|
|
@@ -181,8 +158,8 @@ Edit the `src/app/app.html` file and replace the content with the following:
|
|
|
181
158
|
```html
|
|
182
159
|
<bryntum-grid
|
|
183
160
|
#grid
|
|
184
|
-
[data] = "gridProps.data
|
|
185
|
-
[columns] = "gridProps.columns
|
|
161
|
+
[data] = "gridProps.data"
|
|
162
|
+
[columns] = "gridProps.columns"
|
|
186
163
|
></bryntum-grid>
|
|
187
164
|
```
|
|
188
165
|
|
|
@@ -195,8 +172,8 @@ API packages:
|
|
|
195
172
|
```json
|
|
196
173
|
{
|
|
197
174
|
"dependencies": {
|
|
198
|
-
"@bryntum/core-thin": "7.3.
|
|
199
|
-
"@bryntum/grid-thin": "7.3.
|
|
175
|
+
"@bryntum/core-thin": "7.3.5",
|
|
176
|
+
"@bryntum/grid-thin": "7.3.5"
|
|
200
177
|
}
|
|
201
178
|
}
|
|
202
179
|
```
|
|
@@ -206,8 +183,8 @@ Framework wrapper packages:
|
|
|
206
183
|
```json
|
|
207
184
|
{
|
|
208
185
|
"dependencies": {
|
|
209
|
-
"@bryntum/core-angular-thin": "7.3.
|
|
210
|
-
"@bryntum/grid-angular-thin": "7.3.
|
|
186
|
+
"@bryntum/core-angular-thin": "7.3.5",
|
|
187
|
+
"@bryntum/grid-angular-thin": "7.3.5"
|
|
211
188
|
}
|
|
212
189
|
}
|
|
213
190
|
```
|
|
@@ -217,9 +194,9 @@ Framework wrapper packages:
|
|
|
217
194
|
```typescript
|
|
218
195
|
import { BryntumGridProps } from '@bryntum/grid-angular-thin';
|
|
219
196
|
|
|
220
|
-
const gridProps
|
|
197
|
+
const gridProps = {
|
|
221
198
|
// Grid configuration
|
|
222
|
-
};
|
|
199
|
+
} satisfies BryntumGridProps;
|
|
223
200
|
```
|
|
224
201
|
|
|
225
202
|
### Product Styling
|