angular-slickgrid 8.14.1 → 9.0.1
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 +13 -50
- package/fesm2022/angular-slickgrid.mjs +168 -194
- package/fesm2022/angular-slickgrid.mjs.map +1 -1
- package/i18n/en.json +2 -1
- package/i18n/fr.json +2 -1
- package/{app/modules/angular-slickgrid → library}/components/angular-slickgrid.component.d.ts +9 -9
- package/{app/modules/angular-slickgrid → library}/extensions/slickRowDetailView.d.ts +4 -4
- package/{app/modules/angular-slickgrid → library}/models/angularGridInstance.interface.d.ts +0 -2
- package/library/models/index.d.ts +5 -0
- package/{app/modules/angular-slickgrid → library}/models/rowDetailView.interface.d.ts +1 -1
- package/{app/modules/angular-slickgrid → library}/modules/angular-slickgrid.module.d.ts +1 -1
- package/package.json +22 -33
- package/public_api.d.ts +1 -1
- package/app/modules/angular-slickgrid/models/index.d.ts +0 -5
- package/esm2022/angular-slickgrid.mjs +0 -5
- package/esm2022/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +0 -1407
- package/esm2022/app/modules/angular-slickgrid/constants.mjs +0 -96
- package/esm2022/app/modules/angular-slickgrid/extensions/index.mjs +0 -2
- package/esm2022/app/modules/angular-slickgrid/extensions/slickRowDetailView.mjs +0 -304
- package/esm2022/app/modules/angular-slickgrid/global-grid-options.mjs +0 -263
- package/esm2022/app/modules/angular-slickgrid/index.mjs +0 -8
- package/esm2022/app/modules/angular-slickgrid/models/angularComponentOutput.interface.mjs +0 -2
- package/esm2022/app/modules/angular-slickgrid/models/angularGridInstance.interface.mjs +0 -2
- package/esm2022/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.mjs +0 -2
- package/esm2022/app/modules/angular-slickgrid/models/gridOption.interface.mjs +0 -2
- package/esm2022/app/modules/angular-slickgrid/models/index.mjs +0 -6
- package/esm2022/app/modules/angular-slickgrid/models/rowDetailView.interface.mjs +0 -2
- package/esm2022/app/modules/angular-slickgrid/modules/angular-slickgrid.module.mjs +0 -32
- package/esm2022/app/modules/angular-slickgrid/services/angularUtil.service.mjs +0 -88
- package/esm2022/app/modules/angular-slickgrid/services/container.service.mjs +0 -27
- package/esm2022/app/modules/angular-slickgrid/services/index.mjs +0 -5
- package/esm2022/app/modules/angular-slickgrid/services/translater.service.mjs +0 -45
- package/esm2022/app/modules/angular-slickgrid/services/utilities.mjs +0 -19
- package/esm2022/app/modules/angular-slickgrid/slickgrid-config.mjs +0 -8
- package/esm2022/public_api.mjs +0 -2
- /package/{app/modules/angular-slickgrid → library}/constants.d.ts +0 -0
- /package/{app/modules/angular-slickgrid → library}/extensions/index.d.ts +0 -0
- /package/{app/modules/angular-slickgrid → library}/global-grid-options.d.ts +0 -0
- /package/{app/modules/angular-slickgrid → library}/index.d.ts +0 -0
- /package/{app/modules/angular-slickgrid → library}/models/angularComponentOutput.interface.d.ts +0 -0
- /package/{app/modules/angular-slickgrid → library}/models/externalTestingDependencies.interface.d.ts +0 -0
- /package/{app/modules/angular-slickgrid → library}/models/gridOption.interface.d.ts +0 -0
- /package/{app/modules/angular-slickgrid → library}/services/angularUtil.service.d.ts +0 -0
- /package/{app/modules/angular-slickgrid → library}/services/container.service.d.ts +0 -0
- /package/{app/modules/angular-slickgrid → library}/services/index.d.ts +0 -0
- /package/{app/modules/angular-slickgrid → library}/services/translater.service.d.ts +0 -0
- /package/{app/modules/angular-slickgrid → library}/services/utilities.d.ts +0 -0
- /package/{app/modules/angular-slickgrid → library}/slickgrid-config.d.ts +0 -0
package/README.md
CHANGED
|
@@ -4,22 +4,10 @@
|
|
|
4
4
|
[](http://www.typescriptlang.org/)
|
|
5
5
|
[](https://npmjs.org/package/angular-slickgrid)
|
|
6
6
|
[](https://www.npmjs.com/package/angular-slickgrid)
|
|
7
|
-
|
|
8
|
-
[](https://github.com/ghiscoding/Angular-Slickgrid/actions)
|
|
9
|
-
[](https://www.cypress.io/)
|
|
10
|
-
[](https://vitest.dev/)
|
|
11
|
-
[](https://codecov.io/gh/ghiscoding/Angular-Slickgrid)
|
|
12
|
-
|
|
13
|
-
## Structure Change (happening soon)
|
|
14
|
-
> [!NOTE]
|
|
15
|
-
> Please note that Angular-Slickgrid (and all other supported frameworks) will soon be moved under the [Slickgrid-Universal](https://github.com/ghiscoding/slickgrid-universal) project.
|
|
16
|
-
> This will happen in the next major version, which is expected to happen in May 2025. The installation will remain the same `npm install angular-slickgrid`, it's just the project that will be moved into a more central location (much easier to maintain).
|
|
7
|
+
[](https://github.com/ghiscoding/slickgrid-universal/actions/workflows/test-angular.yml)
|
|
17
8
|
|
|
18
9
|
### Brief introduction
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
### License
|
|
22
|
-
[MIT License](LICENSE)
|
|
10
|
+
Angular-SlickGrid is a custom component created specifically for [Angular](https://angular.dev/) framework, it is a wrapper on top of Slickgrid-Universal library which contains the core functionalities. Slickgrid-Universal is written with TypeScript in browser native code, it is framework agnostic and is a monorepo that includes all Editors, Filters, Extensions and Services related to SlickGrid usage with also a few optional packages (like GraphQL, OData, Export to Excel, ...).
|
|
23
11
|
|
|
24
12
|
## Documentation
|
|
25
13
|
📕 [Documentation](https://ghiscoding.gitbook.io/angular-slickgrid/getting-started/quick-start) website powered by GitBook for version 7+ (_or use the [Wikis](https://github.com/ghiscoding/Angular-Slickgrid/wiki) for older versions_).
|
|
@@ -29,7 +17,7 @@ For common issues, see the [Troubleshooting Section](#troubleshooting-section) b
|
|
|
29
17
|
## Installation
|
|
30
18
|
Available in Stackblitz (Codeflow) below, this can also be used to provide an issue repro.
|
|
31
19
|
|
|
32
|
-
[](https://stackblitz.com/github/ghiscoding/angular-slickgrid-demos)
|
|
33
21
|
|
|
34
22
|
A good starting point is the **[Docs - Quick Start](https://ghiscoding.gitbook.io/angular-slickgrid/getting-started/quick-start)** and/or simply clone the [Angular-Slickgrid Demos](https://github.com/ghiscoding/angular-slickgrid-demos) repository. Please review all documentation and closed issues before opening any new issue, also consider asking installation and/or general questions on [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=slickgrid) unless you think there's a bug with the library.
|
|
35
23
|
|
|
@@ -37,6 +25,9 @@ A good starting point is the **[Docs - Quick Start](https://ghiscoding.gitbook.i
|
|
|
37
25
|
npm install angular-slickgrid
|
|
38
26
|
```
|
|
39
27
|
|
|
28
|
+
## License
|
|
29
|
+
[MIT License](../../LICENSE)
|
|
30
|
+
|
|
40
31
|
#### Basic Grid
|
|
41
32
|
|
|
42
33
|
```ts
|
|
@@ -64,8 +55,8 @@ export class GridComponent implements OnInit {
|
|
|
64
55
|
|
|
65
56
|
```html
|
|
66
57
|
<angular-slickgrid gridId="grid2"
|
|
67
|
-
[
|
|
68
|
-
[
|
|
58
|
+
[columns]="columnDefinitions"
|
|
59
|
+
[options]="gridOptions"
|
|
69
60
|
[dataset]="dataset">
|
|
70
61
|
</angular-slickgrid>
|
|
71
62
|
```
|
|
@@ -118,25 +109,25 @@ Make sure to check out the [Releases](https://github.com/ghiscoding/Angular-Slic
|
|
|
118
109
|
|
|
119
110
|
| Angular-Slickgrid | Angular version | Migration Guide | Notes |
|
|
120
111
|
|-------------------|-----------------|-----------------|-------|
|
|
112
|
+
| 9.x | >=19.0 | [Migration 9.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/migration-to-9.x) | ESM-Only, requires Slickgrid-Universal [9.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v9.0.0) version |
|
|
121
113
|
| 8.x | >=18.0 | [Migration 8.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/migration-to-8.x) | Modern UI / Dark Mode, requires Slickgrid-Universal [5.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v5.0.0) version |
|
|
122
114
|
| 7.x | >=17.0 | [Migration 7.x](https://ghiscoding.gitbook.io/angular-slickgrid/migrations/migration-to-7.x) | merge SlickGrid into Slickgrid-Universal, requires Slickgrid-Universal [4.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v4.0.2) version |
|
|
123
115
|
| 6.x | >=16.0 | [Migration 6.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-6.x) | removal of jQuery (now uses browser native code), requires Slickgrid-Universal [3.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v3.0.0) version |
|
|
124
116
|
| 5.x | >=14.0 | [Migration 5.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-5.x) | removal of jQueryUI, requires Slickgrid-Universal [2.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v2.0.0) version |
|
|
125
117
|
| 4.x | >=13.0 | [Migration 4.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-4.x) | for Ivy build only, requires Slickgrid-Universal [1.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v1.1.1) version |
|
|
126
118
|
| 3.x | >=12.0 | [Migration 3.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-3.x) | the lib now uses [Slickgrid-Universal](https://github.com/ghiscoding/slickgrid-universal) monorepo [v0.19.2](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v0.19.2). Also, IE11 is EOL and no longer supported. |
|
|
127
|
-
| 2.x | 7-11.x | [Migration 2.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-2.x) | support multiple grids on same page |
|
|
119
|
+
| 2.x | 7-11.x | [Migration 2.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-2.x) | support multiple grids on the same page |
|
|
128
120
|
| 1.x | 4-6.x | | |
|
|
129
121
|
|
|
130
122
|
**Note** For a full compatibility table of every Angular-Slickgrid versions with Slickgrid-Universal, please take a look at the [Versions Compatibility Table - Wiki](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Versions-Compatibility-Table).
|
|
131
123
|
|
|
132
|
-
For Angular 12+ see the instructions below - [Angular 12 with WebPack 5 - polyfill issue](#angular-12-with-webpack-5---how-to-fix-polyfill-error).
|
|
133
|
-
|
|
134
124
|
### ngx-translate Compatibility
|
|
135
125
|
|
|
136
|
-
Angular-Slickgrid uses `ngx-translate` library to support Locales, it is also required that is even when using a single Locale. The reason is because, we use `@Optional() TranslateService` in the lib and for that to work, it requires `ngx-translate` to be installed. Once you run the build and if you are using a single Locale then the tree shaking process should remove these optional dependencies. See their version compatibility table below for more info
|
|
126
|
+
Angular-Slickgrid uses [`ngx-translate`](https://github.com/ngx-translate/core) library to support Locales, it is also required that is even when using a single Locale. The reason is because, we use `@Optional() TranslateService` in the lib and for that to work, it requires `ngx-translate` to be installed. Once you run the build and if you are using a single Locale then the tree shaking process should remove these optional dependencies. See their version compatibility table below for more info
|
|
137
127
|
|
|
138
128
|
| Angular Version | @ngx-translate/core |
|
|
139
129
|
|-----------------|---------------------|
|
|
130
|
+
| 19+ | 16.x |
|
|
140
131
|
| 16+ | 15.x |
|
|
141
132
|
| 13+ (Ivy only) | 14.x |
|
|
142
133
|
| 10-13 | 13.x |
|
|
@@ -144,36 +135,8 @@ Angular-Slickgrid uses `ngx-translate` library to support Locales, it is also re
|
|
|
144
135
|
| 7 | 11.x |
|
|
145
136
|
|
|
146
137
|
### Tested with [Vitest](https://vitest.dev/) (Unit Tests) - [Cypress](https://www.cypress.io/) (E2E Tests)
|
|
147
|
-
Slickgrid-Universal
|
|
138
|
+
Slickgrid-Universal & Angular-Slickgrid both have **100%** Unit Test Coverage and also every Angular-Slickgrid Examples are fully tested with [Cypress](https://www.cypress.io/) as E2E tests.
|
|
148
139
|
|
|
149
140
|
## Troubleshooting Section
|
|
150
141
|
|
|
151
|
-
- [Angular 12 with WebPack 5 - how to fix polyfill error](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Versions-Compatibility-Table#angular-12-with-webpack-5---how-to-fix-polyfill-error)
|
|
152
|
-
- [`ngcc` Build Warnings (Angular >=8.0 && <16.0)](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Versions-Compatibility-Table#ngcc-build-warnings-angular-80--160)
|
|
153
142
|
- [`strictTemplates` error](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Versions-Compatibility-Table#stricttemplates-error)
|
|
154
|
-
|
|
155
|
-
## Sponsors
|
|
156
|
-
|
|
157
|
-
Thanks to all my sponsors!
|
|
158
|
-
|
|
159
|
-
<div>
|
|
160
|
-
<span>
|
|
161
|
-
<a href="https://github.com/wundergraph" class="Link" title="Wundergraph" target="_blank"><img src="https://avatars.githubusercontent.com/u/64281914" width="50" height="50" valign="middle" /></a>
|
|
162
|
-
</span>
|
|
163
|
-
|
|
164
|
-
<span>
|
|
165
|
-
<a href="https://github.com/johnsoncodehk" class="Link" title="johnsoncodehk (Volar)" target="_blank"><img src="https://avatars.githubusercontent.com/u/16279759" width="50" height="50" valign="middle" /></a>
|
|
166
|
-
</span>
|
|
167
|
-
|
|
168
|
-
<span>
|
|
169
|
-
<a href="https://github.com/kevinburkett" class="Link" title="kevinburkett" target="_blank"><img class="circle avatar-user" src="https://avatars.githubusercontent.com/u/48218815?s=52&v=4" width="45" height="45" valign="middle" /></a>
|
|
170
|
-
</span>
|
|
171
|
-
|
|
172
|
-
<span>
|
|
173
|
-
<a href="https://github.com/anton-gustafsson" class="Link" title="anton-gustafsson" target="_blank"><img src="https://avatars.githubusercontent.com/u/22906905?s=52&v=4" width="50" height="50" valign="middle" /></a>
|
|
174
|
-
</span>
|
|
175
|
-
|
|
176
|
-
<span>
|
|
177
|
-
<a href="https://github.com/gibson552" class="Link" title="gibson552" target="_blank"><img src="https://avatars.githubusercontent.com/u/84058359?s=52&v=4" width="50" height="50" valign="middle" /></a>
|
|
178
|
-
</span>
|
|
179
|
-
</div>
|