igniteui-angular-extras 18.2.4 → 19.0.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/README.md +38 -0
- package/fesm2022/igniteui-angular-extras.mjs +1233 -1319
- package/fesm2022/igniteui-angular-extras.mjs.map +1 -1
- package/lib/context-menu/chart-dialog/chart-dialog.component.d.ts +1 -1
- package/lib/context-menu/context-menu.component.d.ts +1 -1
- package/lib/context-menu/igx-context-menu.directive.d.ts +1 -1
- package/lib/directives/chart-integration/chart-integration.directive.d.ts +1 -1
- package/lib/directives/conditional-formatting/conditional-formatting.directive.d.ts +1 -1
- package/lib/page-header/page-header.component.d.ts +1 -1
- package/lib/pipes/svg.pipe.d.ts +1 -1
- package/package.json +6 -8
- package/public-api.d.ts +4 -1
- package/esm2022/igniteui-angular-extras.mjs +0 -5
- package/esm2022/images/charts.mjs +0 -408
- package/esm2022/images/conditions.mjs +0 -95
- package/esm2022/lib/context-menu/chart-dialog/chart-dialog.component.mjs +0 -70
- package/esm2022/lib/context-menu/context-menu.component.mjs +0 -176
- package/esm2022/lib/context-menu/igx-context-menu.directive.mjs +0 -154
- package/esm2022/lib/directives/chart-integration/chart-integration.directive.mjs +0 -312
- package/esm2022/lib/directives/chart-integration/chart-types.mjs +0 -28
- package/esm2022/lib/directives/chart-integration/initializers.mjs +0 -103
- package/esm2022/lib/directives/conditional-formatting/conditional-formatting.directive.mjs +0 -307
- package/esm2022/lib/igniteui-angular-extras.module.mjs +0 -116
- package/esm2022/lib/page-header/page-header.component.mjs +0 -14
- package/esm2022/lib/pipes/svg.pipe.mjs +0 -20
- package/esm2022/public-api.mjs +0 -22
- package/lib/igniteui-angular-extras.module.d.ts +0 -16
package/README.md
CHANGED
|
@@ -19,14 +19,52 @@ npm install igniteui-angular-extras
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
2. After the package is installed go ahead and:
|
|
22
|
+
|
|
23
|
+
## Updated Usage
|
|
24
|
+
|
|
25
|
+
### Before Version 19.x
|
|
26
|
+
|
|
27
|
+
In versions prior to 19.x, Ignite UI for Angular Extras required adding the `IgxExtrasModule` to your `app.module.ts` to enable components and directives. After installing the package, you would include the module in your `app.module.ts` as follows:
|
|
28
|
+
|
|
22
29
|
- Add the `IgxExtrasModule` to your app.module.ts
|
|
23
30
|
- Apply `igxChartIntegration`, `igxConditionalFormatting`, `igxContextMenu` directives to your grid:
|
|
24
31
|
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
```typescript
|
|
35
|
+
import { IgxExtrasModule } from 'igniteui-angular-extras';
|
|
36
|
+
|
|
37
|
+
@NgModule({
|
|
38
|
+
declarations: [ ... ],
|
|
39
|
+
imports: [ IgxExtrasModule, ... ],
|
|
40
|
+
bootstrap: [ ... ]
|
|
41
|
+
})
|
|
42
|
+
export class AppModule { }
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
```html
|
|
46
|
+
<igx-grid #grid1 igxChartIntegration igxConditionalFormatting igxContextMenu
|
|
47
|
+
[autoGenerate]="true" [paging]="true" [data]="localData" >
|
|
48
|
+
</igx-grid>
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### After Version 19.x
|
|
52
|
+
|
|
53
|
+
Since version 19.x, Ignite UI for Angular Extras has adopted standalone components and directives, removing the need to add `IgxExtrasModule` to your `app.module.ts`. You can now directly import the required components and directives as standalone elements.
|
|
54
|
+
|
|
55
|
+
```typescript
|
|
56
|
+
import { PageHeaderComponent } from 'igniteui-angular-extras';
|
|
57
|
+
import { IgxChartIntegrationDirective } from 'igniteui-angular-extras';
|
|
58
|
+
import { IgxConditionalFormattingDirective } from 'igniteui-angular-extras';
|
|
59
|
+
import { IgxContextMenuDirective } from 'igniteui-angular-extras';
|
|
60
|
+
```
|
|
61
|
+
|
|
25
62
|
```html
|
|
26
63
|
<igx-grid #grid1 igxChartIntegration igxConditionalFormatting igxContextMenu
|
|
27
64
|
[autoGenerate]="true" [paging]="true" [data]="localData" >
|
|
28
65
|
</igx-grid>
|
|
29
66
|
```
|
|
67
|
+
|
|
30
68
|
3. Execute `npm run start`
|
|
31
69
|
|
|
32
70
|
### Build
|