angular-slickgrid 4.2.0 → 4.2.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.
Files changed (232) hide show
  1. package/{dist/angular-slickgrid.d.ts → angular-slickgrid.d.ts} +0 -0
  2. package/{dist/app → app}/modules/angular-slickgrid/components/angular-slickgrid.component.d.ts +0 -0
  3. package/{dist/app → app}/modules/angular-slickgrid/constants.d.ts +0 -0
  4. package/{dist/app → app}/modules/angular-slickgrid/extensions/index.d.ts +0 -0
  5. package/{dist/app → app}/modules/angular-slickgrid/extensions/slickRowDetailView.d.ts +0 -0
  6. package/{dist/app → app}/modules/angular-slickgrid/global-grid-options.d.ts +0 -0
  7. package/{dist/app → app}/modules/angular-slickgrid/index.d.ts +0 -0
  8. package/{dist/app → app}/modules/angular-slickgrid/models/angularComponentOutput.interface.d.ts +0 -0
  9. package/{dist/app → app}/modules/angular-slickgrid/models/angularGridInstance.interface.d.ts +0 -0
  10. package/{dist/app → app}/modules/angular-slickgrid/models/externalTestingDependencies.interface.d.ts +0 -0
  11. package/{dist/app → app}/modules/angular-slickgrid/models/gridOption.interface.d.ts +0 -0
  12. package/{dist/app → app}/modules/angular-slickgrid/models/index.d.ts +0 -0
  13. package/{dist/app → app}/modules/angular-slickgrid/models/rowDetailView.interface.d.ts +0 -0
  14. package/{dist/app → app}/modules/angular-slickgrid/models/slickGrid.interface.d.ts +0 -0
  15. package/{dist/app → app}/modules/angular-slickgrid/modules/angular-slickgrid.module.d.ts +0 -0
  16. package/{dist/app → app}/modules/angular-slickgrid/services/angularUtil.service.d.ts +0 -0
  17. package/{dist/app → app}/modules/angular-slickgrid/services/bsDropdown.service.d.ts +0 -0
  18. package/{dist/app → app}/modules/angular-slickgrid/services/container.service.d.ts +0 -0
  19. package/{dist/app → app}/modules/angular-slickgrid/services/index.d.ts +0 -0
  20. package/{dist/app → app}/modules/angular-slickgrid/services/translater.service.d.ts +0 -0
  21. package/{dist/app → app}/modules/angular-slickgrid/services/utilities.d.ts +0 -0
  22. package/{dist/app → app}/modules/angular-slickgrid/slickgrid-config.d.ts +0 -0
  23. package/docs/assets/lib/multiple-select/README.md +17 -0
  24. package/{dist/esm2020 → esm2020}/angular-slickgrid.mjs +0 -0
  25. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +0 -0
  26. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/constants.mjs +0 -0
  27. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/extensions/index.mjs +0 -0
  28. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/extensions/slickRowDetailView.mjs +0 -0
  29. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/global-grid-options.mjs +0 -0
  30. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/index.mjs +0 -0
  31. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/models/angularComponentOutput.interface.mjs +0 -0
  32. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/models/angularGridInstance.interface.mjs +0 -0
  33. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.mjs +0 -0
  34. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/models/gridOption.interface.mjs +0 -0
  35. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/models/index.mjs +0 -0
  36. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/models/rowDetailView.interface.mjs +0 -0
  37. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/models/slickGrid.interface.mjs +0 -0
  38. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/modules/angular-slickgrid.module.mjs +0 -0
  39. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/services/angularUtil.service.mjs +0 -0
  40. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/services/bsDropdown.service.mjs +0 -0
  41. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/services/container.service.mjs +0 -0
  42. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/services/index.mjs +0 -0
  43. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/services/translater.service.mjs +0 -0
  44. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/services/utilities.mjs +0 -0
  45. package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/slickgrid-config.mjs +0 -0
  46. package/{dist/esm2020 → esm2020}/public_api.mjs +0 -0
  47. package/{dist/fesm2015 → fesm2015}/angular-slickgrid.mjs +0 -0
  48. package/{dist/fesm2015 → fesm2015}/angular-slickgrid.mjs.map +0 -0
  49. package/{dist/fesm2020 → fesm2020}/angular-slickgrid.mjs +0 -0
  50. package/{dist/fesm2020 → fesm2020}/angular-slickgrid.mjs.map +0 -0
  51. package/{dist/i18n → i18n}/en.json +0 -0
  52. package/{dist/i18n → i18n}/fr.json +0 -0
  53. package/package.json +25 -110
  54. package/{dist/public_api.d.ts → public_api.d.ts} +0 -0
  55. package/.browserslistrc +0 -12
  56. package/.codecov.yml +0 -17
  57. package/.editorconfig +0 -18
  58. package/.eslintrc.json +0 -50
  59. package/.github/CODE_OF_CONDUCT.md +0 -76
  60. package/.github/FUNDING.yml +0 -8
  61. package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -54
  62. package/.github/ISSUE_TEMPLATE/config.yml +0 -5
  63. package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -44
  64. package/.github/renovate.json5 +0 -26
  65. package/.github/stale.yml +0 -7
  66. package/.github/workflows/main.yml +0 -83
  67. package/.vscode/extensions.json +0 -9
  68. package/.vscode/launch.json +0 -72
  69. package/.vscode/settings.json +0 -7
  70. package/.vscode/tasks.json +0 -77
  71. package/CHANGELOG.md +0 -1172
  72. package/angular.json +0 -148
  73. package/dist/LICENSE +0 -20
  74. package/dist/README.md +0 -182
  75. package/dist/package.json +0 -79
  76. package/global.d.ts +0 -1
  77. package/ngcc.config.js +0 -13
  78. package/screenshots/column-picker.png +0 -0
  79. package/screenshots/composite-editor.png +0 -0
  80. package/screenshots/draggable-grouping.png +0 -0
  81. package/screenshots/editors.png +0 -0
  82. package/screenshots/export-to-file.png +0 -0
  83. package/screenshots/filter_and_sort.png +0 -0
  84. package/screenshots/formatters.png +0 -0
  85. package/screenshots/frozen.png +0 -0
  86. package/screenshots/multipleSelectFilter.png +0 -0
  87. package/screenshots/pagination.png +0 -0
  88. package/screenshots/selectFilter.png +0 -0
  89. package/screenshots/singleFilter.png +0 -0
  90. package/src/app/app-routing.module.ts +0 -83
  91. package/src/app/app.component.html +0 -160
  92. package/src/app/app.component.scss +0 -65
  93. package/src/app/app.component.ts +0 -10
  94. package/src/app/app.module.ts +0 -175
  95. package/src/app/examples/custom-angularComponentEditor.ts +0 -184
  96. package/src/app/examples/custom-angularComponentFilter.ts +0 -126
  97. package/src/app/examples/custom-inputEditor.ts +0 -124
  98. package/src/app/examples/custom-inputFilter.ts +0 -142
  99. package/src/app/examples/custom-titleFormatter.component.ts +0 -8
  100. package/src/app/examples/editor-ng-select.component.ts +0 -37
  101. package/src/app/examples/filter-ng-select.component.ts +0 -32
  102. package/src/app/examples/grid-additem.component.html +0 -48
  103. package/src/app/examples/grid-additem.component.ts +0 -272
  104. package/src/app/examples/grid-angular.component.html +0 -79
  105. package/src/app/examples/grid-angular.component.scss +0 -28
  106. package/src/app/examples/grid-angular.component.ts +0 -370
  107. package/src/app/examples/grid-autoheight.component.html +0 -52
  108. package/src/app/examples/grid-autoheight.component.ts +0 -147
  109. package/src/app/examples/grid-basic.component.html +0 -29
  110. package/src/app/examples/grid-basic.component.ts +0 -82
  111. package/src/app/examples/grid-clientside.component.html +0 -51
  112. package/src/app/examples/grid-clientside.component.ts +0 -293
  113. package/src/app/examples/grid-colspan.component.html +0 -39
  114. package/src/app/examples/grid-colspan.component.scss +0 -11
  115. package/src/app/examples/grid-colspan.component.ts +0 -155
  116. package/src/app/examples/grid-composite-editor.component.html +0 -79
  117. package/src/app/examples/grid-composite-editor.component.scss +0 -19
  118. package/src/app/examples/grid-composite-editor.component.ts +0 -948
  119. package/src/app/examples/grid-contextmenu.component.html +0 -62
  120. package/src/app/examples/grid-contextmenu.component.scss +0 -44
  121. package/src/app/examples/grid-contextmenu.component.ts +0 -473
  122. package/src/app/examples/grid-custom-tooltip.component.html +0 -25
  123. package/src/app/examples/grid-custom-tooltip.component.scss +0 -77
  124. package/src/app/examples/grid-custom-tooltip.component.ts +0 -483
  125. package/src/app/examples/grid-draggrouping.component.html +0 -93
  126. package/src/app/examples/grid-draggrouping.component.ts +0 -397
  127. package/src/app/examples/grid-editor.component.html +0 -88
  128. package/src/app/examples/grid-editor.component.ts +0 -699
  129. package/src/app/examples/grid-formatter.component.html +0 -26
  130. package/src/app/examples/grid-formatter.component.ts +0 -162
  131. package/src/app/examples/grid-frozen.component.html +0 -65
  132. package/src/app/examples/grid-frozen.component.scss +0 -11
  133. package/src/app/examples/grid-frozen.component.ts +0 -303
  134. package/src/app/examples/grid-graphql-nopage.component.html +0 -33
  135. package/src/app/examples/grid-graphql-nopage.component.scss +0 -9
  136. package/src/app/examples/grid-graphql-nopage.component.ts +0 -242
  137. package/src/app/examples/grid-graphql.component.html +0 -87
  138. package/src/app/examples/grid-graphql.component.ts +0 -304
  139. package/src/app/examples/grid-grouping.component.html +0 -80
  140. package/src/app/examples/grid-grouping.component.ts +0 -313
  141. package/src/app/examples/grid-headerbutton.component.html +0 -31
  142. package/src/app/examples/grid-headerbutton.component.scss +0 -10
  143. package/src/app/examples/grid-headerbutton.component.ts +0 -233
  144. package/src/app/examples/grid-headermenu.component.html +0 -31
  145. package/src/app/examples/grid-headermenu.component.scss +0 -25
  146. package/src/app/examples/grid-headermenu.component.ts +0 -159
  147. package/src/app/examples/grid-localization.component.html +0 -54
  148. package/src/app/examples/grid-localization.component.ts +0 -293
  149. package/src/app/examples/grid-menu.component.html +0 -37
  150. package/src/app/examples/grid-menu.component.scss +0 -28
  151. package/src/app/examples/grid-menu.component.ts +0 -229
  152. package/src/app/examples/grid-odata.component.html +0 -116
  153. package/src/app/examples/grid-odata.component.ts +0 -441
  154. package/src/app/examples/grid-range.component.html +0 -74
  155. package/src/app/examples/grid-range.component.ts +0 -291
  156. package/src/app/examples/grid-remote.component.html +0 -37
  157. package/src/app/examples/grid-remote.component.ts +0 -153
  158. package/src/app/examples/grid-resize-by-content.component.html +0 -62
  159. package/src/app/examples/grid-resize-by-content.component.scss +0 -19
  160. package/src/app/examples/grid-resize-by-content.component.ts +0 -780
  161. package/src/app/examples/grid-rowdetail.component.html +0 -35
  162. package/src/app/examples/grid-rowdetail.component.ts +0 -205
  163. package/src/app/examples/grid-rowmove.component.html +0 -49
  164. package/src/app/examples/grid-rowmove.component.ts +0 -234
  165. package/src/app/examples/grid-rowselection.component.html +0 -76
  166. package/src/app/examples/grid-rowselection.component.ts +0 -267
  167. package/src/app/examples/grid-state.component.html +0 -36
  168. package/src/app/examples/grid-state.component.ts +0 -259
  169. package/src/app/examples/grid-tabs.component.html +0 -35
  170. package/src/app/examples/grid-tabs.component.ts +0 -115
  171. package/src/app/examples/grid-trading.component.html +0 -58
  172. package/src/app/examples/grid-trading.component.scss +0 -49
  173. package/src/app/examples/grid-trading.component.ts +0 -319
  174. package/src/app/examples/grid-tree-data-hierarchical.component.html +0 -79
  175. package/src/app/examples/grid-tree-data-hierarchical.component.scss +0 -47
  176. package/src/app/examples/grid-tree-data-hierarchical.component.ts +0 -311
  177. package/src/app/examples/grid-tree-data-parent-child.component.html +0 -108
  178. package/src/app/examples/grid-tree-data-parent-child.component.scss +0 -10
  179. package/src/app/examples/grid-tree-data-parent-child.component.ts +0 -351
  180. package/src/app/examples/home.component.html +0 -41
  181. package/src/app/examples/home.component.ts +0 -9
  182. package/src/app/examples/rowdetail-preload.component.ts +0 -10
  183. package/src/app/examples/rowdetail-view.component.html +0 -36
  184. package/src/app/examples/rowdetail-view.component.ts +0 -54
  185. package/src/app/examples/swt-common-grid-pagination.component.ts +0 -156
  186. package/src/app/examples/swt-common-grid-test.component.html +0 -30
  187. package/src/app/examples/swt-common-grid-test.component.ts +0 -219
  188. package/src/app/examples/swt-common-grid.component.ts +0 -436
  189. package/src/app/examples/swt-logger.service.ts +0 -165
  190. package/src/app/modules/angular-slickgrid/components/angular-slickgrid.component.html +0 -4
  191. package/src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts +0 -1395
  192. package/src/app/modules/angular-slickgrid/constants.ts +0 -97
  193. package/src/app/modules/angular-slickgrid/extensions/index.ts +0 -1
  194. package/src/app/modules/angular-slickgrid/extensions/slickRowDetailView.ts +0 -375
  195. package/src/app/modules/angular-slickgrid/global-grid-options.ts +0 -245
  196. package/src/app/modules/angular-slickgrid/index.ts +0 -11
  197. package/src/app/modules/angular-slickgrid/models/angularComponentOutput.interface.ts +0 -6
  198. package/src/app/modules/angular-slickgrid/models/angularGridInstance.interface.ts +0 -68
  199. package/src/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.ts +0 -37
  200. package/src/app/modules/angular-slickgrid/models/gridOption.interface.ts +0 -12
  201. package/src/app/modules/angular-slickgrid/models/index.ts +0 -6
  202. package/src/app/modules/angular-slickgrid/models/rowDetailView.interface.ts +0 -33
  203. package/src/app/modules/angular-slickgrid/models/slickGrid.interface.ts +0 -7
  204. package/src/app/modules/angular-slickgrid/modules/angular-slickgrid.module.ts +0 -37
  205. package/src/app/modules/angular-slickgrid/services/angularUtil.service.ts +0 -48
  206. package/src/app/modules/angular-slickgrid/services/bsDropdown.service.ts +0 -142
  207. package/src/app/modules/angular-slickgrid/services/container.service.ts +0 -24
  208. package/src/app/modules/angular-slickgrid/services/index.ts +0 -5
  209. package/src/app/modules/angular-slickgrid/services/translater.service.ts +0 -38
  210. package/src/app/modules/angular-slickgrid/services/utilities.ts +0 -19
  211. package/src/app/modules/angular-slickgrid/slickgrid-config.ts +0 -10
  212. package/src/app/slickgrid-custom-variables.scss +0 -10
  213. package/src/assets/.gitkeep +0 -0
  214. package/src/assets/data/collection_100_numbers.json +0 -12
  215. package/src/assets/data/collection_500_numbers.json +0 -52
  216. package/src/assets/data/countries.json +0 -245
  217. package/src/assets/data/country_names.json +0 -245
  218. package/src/assets/data/customers_100.json +0 -102
  219. package/src/assets/i18n/en.json +0 -90
  220. package/src/assets/i18n/fr.json +0 -91
  221. package/src/environments/environment.prod.ts +0 -3
  222. package/src/environments/environment.ts +0 -8
  223. package/src/favicon.ico +0 -0
  224. package/src/index.html +0 -18
  225. package/src/main.ts +0 -13
  226. package/src/polyfills.ts +0 -52
  227. package/src/public_api.ts +0 -1
  228. package/src/styles.scss +0 -66
  229. package/src/typings.d.ts +0 -10
  230. package/tsconfig.app.json +0 -25
  231. package/tsconfig.json +0 -40
  232. package/tsconfig.spec.json +0 -23
package/angular.json DELETED
@@ -1,148 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
- "version": 1,
4
- "newProjectRoot": "projects",
5
- "projects": {
6
- "angular-slickgrid": {
7
- "root": "",
8
- "sourceRoot": "src",
9
- "projectType": "library",
10
- "architect": {
11
- "build": {
12
- "builder": "@angular-devkit/build-angular:browser",
13
- "options": {
14
- "outputPath": "docs",
15
- "index": "src/index.html",
16
- "main": "src/main.ts",
17
- "polyfills": "src/polyfills.ts",
18
- "tsConfig": "tsconfig.app.json",
19
- "allowedCommonJsDependencies": [
20
- "assign-deep",
21
- "excel-builder-webpacker",
22
- "stream"
23
- ],
24
- "assets": [
25
- "src/assets",
26
- "src/favicon.ico",
27
- {
28
- "glob": "**/*",
29
- "input": "src/assets/i18n",
30
- "output": "/assets/i18n"
31
- },
32
- {
33
- "glob": "*",
34
- "input": "src/assets/i18n",
35
- "output": "/assets/i18n"
36
- },
37
- {
38
- "glob": "*/",
39
- "input": "src/assets/i18n",
40
- "output": "/assets/i18n"
41
- },
42
- {
43
- "glob": "**/*",
44
- "input": "src/assets/i18n",
45
- "output": "/assets/i18n"
46
- }
47
- ],
48
- "styles": [
49
- "node_modules/bootstrap/dist/css/bootstrap.css",
50
- "node_modules/flatpickr/dist/flatpickr.min.css",
51
- "node_modules/font-awesome/css/font-awesome.css",
52
- "node_modules/multiple-select-modified/src/multiple-select.css",
53
- "node_modules/@ng-select/ng-select/themes/default.theme.css",
54
- "src/app/slickgrid-custom-variables.scss",
55
- "src/styles.scss"
56
- ],
57
- "scripts": [
58
- "node_modules/jquery/dist/jquery.js",
59
- "node_modules/jquery-ui-dist/jquery-ui.min.js",
60
- "node_modules/slickgrid/lib/jquery.event.drag-2.3.0.js",
61
- "node_modules/bootstrap/dist/js/bootstrap.js",
62
- "node_modules/multiple-select-modified/src/multiple-select.js"
63
- ],
64
- "vendorChunk": true,
65
- "extractLicenses": false,
66
- "buildOptimizer": false,
67
- "sourceMap": true,
68
- "optimization": false,
69
- "namedChunks": true
70
- },
71
- "configurations": {
72
- "development": {
73
- "budgets": [
74
- {
75
- "type": "anyComponentStyle",
76
- "maximumWarning": "150kb"
77
- }
78
- ],
79
- "outputHashing": "all",
80
- "extractLicenses": true,
81
- "fileReplacements": [
82
- {
83
- "replace": "src/environments/environment.ts",
84
- "with": "src/environments/environment.dev.ts"
85
- }
86
- ]
87
- },
88
- "production": {
89
- "budgets": [
90
- {
91
- "type": "anyComponentStyle",
92
- "maximumWarning": "50kb"
93
- }
94
- ],
95
- "optimization": true,
96
- "outputHashing": "all",
97
- "sourceMap": false,
98
- "namedChunks": false,
99
- "aot": false,
100
- "extractLicenses": true,
101
- "vendorChunk": false,
102
- "fileReplacements": [
103
- {
104
- "replace": "src/environments/environment.ts",
105
- "with": "src/environments/environment.prod.ts"
106
- }
107
- ]
108
- }
109
- }
110
- },
111
- "serve": {
112
- "builder": "@angular-devkit/build-angular:dev-server",
113
- "options": {
114
- "browserTarget": "angular-slickgrid:build"
115
- },
116
- "configurations": {
117
- "production": {
118
- "browserTarget": "angular-slickgrid:build:production"
119
- }
120
- }
121
- },
122
- "lint": {
123
- "builder": "@angular-eslint/builder:lint",
124
- "options": {
125
- "lintFilePatterns": [
126
- "src/**/*.ts",
127
- "src/**/*.html"
128
- ]
129
- }
130
- }
131
- }
132
- }
133
- },
134
- "defaultProject": "angular-slickgrid",
135
- "schematics": {
136
- "@schematics/angular:component": {
137
- "prefix": "app",
138
- "style": "scss"
139
- },
140
- "@schematics/angular:directive": {
141
- "prefix": "app"
142
- }
143
- },
144
- "cli": {
145
- "packageManager": "yarn",
146
- "defaultCollection": "@angular-eslint/schematics"
147
- }
148
- }
package/dist/LICENSE DELETED
@@ -1,20 +0,0 @@
1
- Copyright (c) 2017-present, Angular-Slickgrid - Ghislain B.
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/dist/README.md DELETED
@@ -1,182 +0,0 @@
1
- # Angular-Slickgrid
2
-
3
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
- [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](http://www.typescriptlang.org/)
5
- [![npm version](https://badge.fury.io/js/angular-slickgrid.svg)](//npmjs.com/package/angular-slickgrid)
6
- [![NPM downloads](https://img.shields.io/npm/dy/angular-slickgrid.svg)](https://npmjs.org/package/angular-slickgrid)
7
-
8
- [![Actions Status](https://github.com/ghiscoding/Angular-Slickgrid/workflows/CI%20Build/badge.svg)](https://github.com/ghiscoding/Angular-Slickgrid/actions)
9
- [![Cypress.io](https://img.shields.io/badge/tested%20with-Cypress-04C38E.svg)](https://www.cypress.io/)
10
- [![jest](https://jestjs.io/img/jest-badge.svg)](https://github.com/facebook/jest)
11
- [![codecov](https://codecov.io/gh/ghiscoding/Angular-Slickgrid/branch/master/graph/badge.svg)](https://codecov.io/gh/ghiscoding/Angular-Slickgrid)
12
-
13
- ### Brief introduction
14
- One of the best javascript datagrid [SlickGrid](https://github.com/mleibman/SlickGrid) which was originally developed by @mleibman is now available to Angular. I have used a few datagrids and SlickGrid beats most of them in terms of functionalities and performance (it can easily deal with even a million row). We will be using the [6pac/SlickGrid](https://github.com/6pac/SlickGrid/) fork, it is the most active fork since the original author @mleibman stopped working on his original repo. Also worth knowing that I have contributed a lot to the 6pac/SlickGrid fork for the benefit of Angular-Slickgrid... also a reminder, this is a wrapper of a jQuery lib (SlickGrid) and a big portion of the lib (like Editors, Filters and others) are written in jQuery/JavaScript, so just keep that in mind and it also mean that jQuery is a dependency.
15
-
16
- ### License
17
- [MIT License](LICENSE)
18
-
19
- ### NPM Package
20
- [Angular-Slickgrid on NPM](https://www.npmjs.com/package/angular-slickgrid)
21
-
22
- ### Demo page
23
- `Angular-Slickgrid` works with all `Bootstrap` versions, you can see a demo of each one below. There are also 2 new styling Themes, Material & Salesforce which are also available. You can also use different SVG icons, you may want to look at the [Wiki - SVG Icons](https://github.com/ghiscoding/Angular-Slickgrid/wiki/SVG-Icons)
24
- - [Bootstrap 5 demo](https://ghiscoding.github.io/Angular-Slickgrid) / [examples repo](https://github.com/ghiscoding/angular-slickgrid-demos/tree/master/bootstrap5-demo-with-translate)
25
- - [Bootstrap 4 demo](https://ghiscoding.github.io/angular-slickgrid-demos) / [examples repo](https://github.com/ghiscoding/angular-slickgrid-demos/tree/master/bootstrap4-demo-with-translate)
26
-
27
- #### Working Demo
28
- For a complete & working local demo (30+ examples), you can (and should) clone the [Angular-Slickgrid Demos](https://github.com/ghiscoding/angular-slickgrid-demos) repository to get started. That repo is updated frequently and is used to update the GitHub demo page for both the [Bootstrap 5 demo](https://ghiscoding.github.io/Angular-Slickgrid) and [Bootstrap 4 demo](https://ghiscoding.github.io/angular-slickgrid-demos).
29
- ```bash
30
- git clone https://github.com/ghiscoding/angular-slickgrid-demos
31
- cd bootstrap4-demo-with-translate # or any of the 4 demos
32
- npm install
33
- npm start
34
- ```
35
-
36
- ### Like it? :star: it
37
- You like to use **Angular-Slickgrid**? Be sure to upvote :star:, maybe support me with cafeine :coffee: and feel free to contribute. 👷👷‍♀️
38
-
39
- <a href='https://ko-fi.com/ghiscoding' target='_blank'><img height='32' style='border:0px;height:32px;' src='https://az743702.vo.msecnd.net/cdn/kofi3.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' />
40
-
41
- ## Latest News & Releases
42
- Check out the [Releases](https://github.com/ghiscoding/Angular-Slickgrid/releases) section for all latest News & Releases.
43
-
44
- ## Angular Compatibility
45
- - version `1.x.x` for Angular 4-6
46
- - version `2.x.x` for Angular 7-11
47
- - version `3.x.x` for Angular 12+ and RxJS 7+ ([migration guide to 3.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-3.x))
48
- - build `target` got bumped to `ES2018` for modern browser **only**
49
- - IE11 is EOL and **no longer supported**, if you still need to support it stay with version 2.x
50
- - uses new [Slickgrid-Universal](https://github.com/ghiscoding/slickgrid-universal) monorepo
51
- - last version is [v3.3.2](https://github.com/ghiscoding/Angular-Slickgrid/releases/tag/v3.3.2) compatible **only** with Slickgrid-Universal [v0.19.2](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v0.19.2)
52
- - Slickgrid-Universal 1.x versions only works with Angular-Slickgrid 4.x
53
- - version `4.x.x` for Angular 13+, RxJS 7+ and **Ivy ONLY** ([migration guide to 4.x](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Migration-to-4.x))
54
- - for Ivy build only (no more UMD bundle & output >= ES2017), IE is EOL and definitely out of the picture (finally).
55
-
56
- For Angular 12+ see the instructions below - [Angular 12 with WebPack 5 - polyfill issue](https://github.com/ghiscoding/Angular-Slickgrid#angular-12-with-webpack-5---how-to-fix-polyfill-error)
57
-
58
- ### ngx-translate Compatibility
59
-
60
- If you are facing any issues with `ngx-translate` library while building your Angular Project. You need to make sure that `@ngx-translate/core` is part of your dependencies, that is also true even when using a single Locale, that is because it is a `peerDependency` of Angular-Slickgrid. The reason is because, we use `@Optional() TranslateService` in the lib and for that to work, we still need it to be installed, but don't worry it should still be removed by the tree shaking process after a running a production build. See their version compatibility table below
61
-
62
- | Angular Version | @ngx-translate/core |
63
- |-----------------|---------------------|
64
- | 13+ (Ivy only) | 14.x+ |
65
- | 10-13 | 13.x+ |
66
- | 8-9 | 12.x+ |
67
- | 7 | 11.x+ |
68
-
69
- ### Build Warnings (Angular 8+)
70
- You might get warnings about SlickGrid while doing a production build, most of them are fine and the best way to fix them, is to simply remove/ignore the warnings, all you have to do is to add a file named `ngcc.config.js` in your project root (same location as the `angular.json` file) with the following content (you can also see this [commit](https://github.com/ghiscoding/angular-slickgrid-demos/commit/1fe8092bcd2e99ede5ab048f4a7ebe6254e4bee0) which fixes the Angular-Slickgrid-Demos prod build):
71
- ```js
72
- module.exports = {
73
- packages: {
74
- 'angular-slickgrid': {
75
- ignorableDeepImportMatchers: [
76
- /assign-deep/,
77
- /slickgrid\//,
78
- /flatpickr/,
79
- /dequal/,
80
- /jquery-ui\//,
81
- ]
82
- },
83
- }
84
- };
85
- ```
86
- You should also add `Angular-Slickgrid` as an allowed CommonJS dependency to your `angular.json` file to silence the warnings.
87
- ```json
88
- "options": {
89
- "allowedCommonJsDependencies": ["angular-slickgrid"]
90
- }
91
- ```
92
-
93
- ### Angular 12 with WebPack 5 - how to fix polyfill error
94
- Since Angular 12 switched to WebPack 5, you might get some new errors and you will need to add some polyfills manually to get the Excel Builder (Excel Export) to work.
95
-
96
- #### The error you might get
97
-
98
- ```text
99
- BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
100
- This is no longer the case. Verify if you need this module and configure a polyfill for it.
101
- ```
102
-
103
- #### Steps to fix it
104
- 1. `npm install stream-browserify`
105
- 2. Add a path mapping in `tsconfig.json`:
106
- ```
107
- {
108
- ...
109
- "compilerOptions": {
110
- "paths": {
111
- "stream": [ "./node_modules/stream-browserify" ]
112
- },
113
- ```
114
- 3. Add `stream` to `allowedCommonJsDependencies` in `angular.json`:
115
- ```
116
- "options": {
117
- "allowedCommonJsDependencies": [
118
- "assign-deep",
119
- "excel-builder-webpacker",
120
- "jquery-ui",
121
- "stream"
122
- ],
123
- ```
124
-
125
- ### Fully Tested with [Jest](https://jestjs.io/) (Unit Tests) - [Cypress](https://www.cypress.io/) (E2E Tests)
126
- Angular-Slickgrid and Slickgrid-Universal both have **100%** Unit Test Coverage, we are talking about +15,000 lines of code (+3,750 unit tests) that are fully tested with [Jest](https://jestjs.io/). On the UI side, all Angular-Slickgrid Examples are tested with [Cypress](https://www.cypress.io/), there are over +500 Cypress E2E tests.
127
-
128
- ## Installation
129
- Refer to the **[Wiki - HOWTO Step by Step](https://github.com/ghiscoding/angular-slickgrid/wiki/HOWTO---Step-by-Step)** and/or clone the [Angular-Slickgrid Demos](https://github.com/ghiscoding/angular-slickgrid-demos) repository. Please don't open any issue unless you have followed these steps (from the Wiki), and if any of the steps are incorrect or confusing, then please let me know.
130
-
131
- **NOTE:** if you have any question, please consider asking installation and/or general questions on [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=slickgrid)
132
-
133
- #### How to load data with `HttpClient`?
134
- You might notice that all demos are coded with mocked dataset in each of the examples, that is mainly for demo purposes, but you might be wondering how to connect this with an `HttpClient`? Easy... just replace the mocked data, assigned to the `dataset` property, by your `HttpClient` call it and that's it. The `dataset` property can be changed or refreshed at any time, which is why you can use local data and/or connect it to a `Promise` or an `Observable` with `HttpClient` (internally it's just a SETTER that refreshes the grid). See [Example 24](https://ghiscoding.github.io/Angular-Slickgrid/#/gridtabs) for a demo showing how to load a JSON file with `HttpClient`.
135
-
136
- ## Wiki / Documentation
137
- The Wiki is where all the documentation and instructions will go, so please consult the [Angular-Slickgrid - Wiki](https://github.com/ghiscoding/Angular-Slickgrid/wiki) before opening any issues. The [Wiki - HOWTO](https://github.com/ghiscoding/Angular-Slickgrid/wiki/HOWTO---Step-by-Step) is a great place to start with. You can also take a look at the [Demo page](https://ghiscoding.github.io/Angular-Slickgrid), it includes sample for most of the features and it keeps growing (so you might want to consult it whenever a new version comes out).
138
-
139
- ## Main features
140
- You can see some screenshots below and the instructions down below and if that is not enough for you to decide, head over to the [Wiki - Main Features](https://github.com/ghiscoding/Angular-Slickgrid/wiki).
141
-
142
- ## Missing features
143
- What if `Angular-Slickgrid` is missing feature(s) compare to the original core library [6pac/SlickGrid](https://github.com/6pac/SlickGrid/)?
144
-
145
- Fear not, and just simply reference the `SlickGrid` and `DataView` objects, just like in the core lib, those are exposed through Event Emitters. For more info continue reading on [Wiki - SlickGrid & DataView objects](/ghiscoding/Angular-Slickgrid/wiki/SlickGrid-&-DataView-Objects) and [Wiki - Grid & DataView Events](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Grid-&-DataView-Events)
146
-
147
-
148
- ## Screenshots
149
-
150
- Screenshots from the demo app with the `Bootstrap` theme.
151
-
152
- _Note that the styling changed a bit, the best is to simply head over to the [Live Demo](https://ghiscoding.github.io/Angular-Slickgrid) page._
153
-
154
- ### Slickgrid example with Formatters (last column shown is a custom Formatter)
155
-
156
- #### _You can also see the Grid Menu opened (aka hambuger menu)_
157
-
158
- ![Default Slickgrid Example](/screenshots/formatters.png)
159
-
160
- ### Filters and Multi-Column Sort
161
-
162
- ![Filter and Sort](/screenshots/filter_and_sort.png)
163
-
164
- ### Inline Editing
165
-
166
- ![Editors](/screenshots/editors.png)
167
-
168
- ### Pinned (aka frozen) Columns/Rows
169
-
170
- ![Pinned Columns/Rows](/screenshots/frozen.png)
171
-
172
- ### Draggable Grouping & Aggregators
173
-
174
- ![Draggable Grouping](/screenshots/draggable-grouping.png)
175
-
176
- ### Slickgrid Example with Server Side (Filter/Sort/Pagination)
177
- #### Comes with OData & GraphQL support (you can implement custom ones too)
178
-
179
- ![Slickgrid Server Side](/screenshots/pagination.png)
180
-
181
- ### Composite Editor Modal Windows
182
- ![Composite Editor Modal](/screenshots/composite-editor.png)
package/dist/package.json DELETED
@@ -1,79 +0,0 @@
1
- {
2
- "name": "angular-slickgrid",
3
- "version": "4.2.0",
4
- "description": "Slickgrid components made available in Angular",
5
- "keywords": [
6
- "angular",
7
- "plugin",
8
- "datagrid",
9
- "datatable",
10
- "slickgrid"
11
- ],
12
- "license": "MIT",
13
- "author": "Ghislain B.",
14
- "homepage": "https://ghiscoding.github.io/Angular-Slickgrid/",
15
- "bugs": {
16
- "url": "https://github.com/ghiscoding/Angular-Slickgrid/issues"
17
- },
18
- "repository": {
19
- "type": "git",
20
- "url": "http://github.com/ghiscoding/angular-slickgrid"
21
- },
22
- "main": "src/app/modules/angular-slickgrid/index",
23
- "private": false,
24
- "comments": {
25
- "new-release": "1- build library (ng-packagr), 2- 'prepare-release' (npm script) & publish to npm, typically 'npm publish dist' works if it does not then run script 'pack-lib' and 'npm publish [tar file]'"
26
- },
27
- "funding": {
28
- "type": "ko_fi",
29
- "url": "https://ko-fi.com/ghiscoding"
30
- },
31
- "dependencies": {
32
- "@slickgrid-universal/common": "^1.3.0",
33
- "@slickgrid-universal/custom-footer-component": "^1.3.0",
34
- "@slickgrid-universal/empty-warning-component": "^1.3.0",
35
- "@slickgrid-universal/event-pub-sub": "^1.3.0",
36
- "@slickgrid-universal/pagination-component": "^1.3.0",
37
- "@slickgrid-universal/row-detail-view-plugin": "^1.3.0",
38
- "@slickgrid-universal/rxjs-observable": "^1.3.0",
39
- "@types/dompurify": "^2.3.3",
40
- "@types/jquery": "^3.5.14",
41
- "dequal": "^2.0.2",
42
- "dompurify": "^2.3.8",
43
- "font-awesome": "^4.7.0",
44
- "jquery": "^3.6.0",
45
- "moment-mini": "^2.24.0",
46
- "rxjs": "^7.5.5",
47
- "tslib": "^2.3.0"
48
- },
49
- "peerDependencies": {
50
- "@ngx-translate/core": ">=14.0.0"
51
- },
52
- "engines": {
53
- "node": ">=14.17.0",
54
- "npm": ">=6.14.13"
55
- },
56
- "resolutions": {
57
- "caniuse-lite": "1.0.30001356"
58
- },
59
- "module": "fesm2015/angular-slickgrid.mjs",
60
- "es2020": "fesm2020/angular-slickgrid.mjs",
61
- "esm2020": "esm2020/angular-slickgrid.mjs",
62
- "fesm2020": "fesm2020/angular-slickgrid.mjs",
63
- "fesm2015": "fesm2015/angular-slickgrid.mjs",
64
- "typings": "angular-slickgrid.d.ts",
65
- "exports": {
66
- "./package.json": {
67
- "default": "./package.json"
68
- },
69
- ".": {
70
- "types": "./angular-slickgrid.d.ts",
71
- "esm2020": "./esm2020/angular-slickgrid.mjs",
72
- "es2020": "./fesm2020/angular-slickgrid.mjs",
73
- "es2015": "./fesm2015/angular-slickgrid.mjs",
74
- "node": "./fesm2015/angular-slickgrid.mjs",
75
- "default": "./fesm2020/angular-slickgrid.mjs"
76
- }
77
- },
78
- "sideEffects": false
79
- }
package/global.d.ts DELETED
@@ -1 +0,0 @@
1
- import 'jest-extended';
package/ngcc.config.js DELETED
@@ -1,13 +0,0 @@
1
- module.exports = {
2
- packages: {
3
- 'angular-slickgrid': {
4
- ignorableDeepImportMatchers: [
5
- /slickgrid\//,
6
- /flatpickr/,
7
- /assign-deep/,
8
- /dequal/,
9
- /jquery-ui-dist\//,
10
- ]
11
- },
12
- }
13
- };
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,83 +0,0 @@
1
- import { HomeComponent } from './examples/home.component';
2
- import { GridAddItemComponent } from './examples/grid-additem.component';
3
- import { GridAngularComponent } from './examples/grid-angular.component';
4
- import { GridAutoHeightComponent } from './examples/grid-autoheight.component';
5
- import { GridBasicComponent } from './examples/grid-basic.component';
6
- import { GridClientSideComponent } from './examples/grid-clientside.component';
7
- import { GridColspanComponent } from './examples/grid-colspan.component';
8
- import { GridCompositeEditorComponent } from './examples/grid-composite-editor.component';
9
- import { GridContextMenuComponent } from './examples/grid-contextmenu.component';
10
- import { GridCustomTooltipComponent } from './examples/grid-custom-tooltip.component';
11
- import { GridDraggableGroupingComponent } from './examples/grid-draggrouping.component';
12
- import { GridEditorComponent } from './examples/grid-editor.component';
13
- import { GridFormatterComponent } from './examples/grid-formatter.component';
14
- import { GridFrozenComponent } from './examples/grid-frozen.component';
15
- import { GridGraphqlComponent } from './examples/grid-graphql.component';
16
- import { GridGraphqlWithoutPaginationComponent } from './examples/grid-graphql-nopage.component';
17
- import { GridGroupingComponent } from './examples/grid-grouping.component';
18
- import { GridHeaderButtonComponent } from './examples/grid-headerbutton.component';
19
- import { GridHeaderMenuComponent } from './examples/grid-headermenu.component';
20
- import { GridLocalizationComponent } from './examples/grid-localization.component';
21
- import { GridMenuComponent } from './examples/grid-menu.component';
22
- import { GridOdataComponent } from './examples/grid-odata.component';
23
- import { GridRangeComponent } from './examples/grid-range.component';
24
- import { GridRemoteComponent } from './examples/grid-remote.component';
25
- import { GridResizeByContentComponent } from './examples/grid-resize-by-content.component';
26
- import { GridRowDetailComponent } from './examples/grid-rowdetail.component';
27
- import { GridRowMoveComponent } from './examples/grid-rowmove.component';
28
- import { GridRowSelectionComponent } from './examples/grid-rowselection.component';
29
- import { GridStateComponent } from './examples/grid-state.component';
30
- import { GridTabsComponent } from './examples/grid-tabs.component';
31
- import { GridTradingComponent } from './examples/grid-trading.component';
32
- import { GridTreeDataHierarchicalComponent } from './examples/grid-tree-data-hierarchical.component';
33
- import { GridTreeDataParentChildComponent } from './examples/grid-tree-data-parent-child.component';
34
- import { SwtCommonGridTestComponent } from './examples/swt-common-grid-test.component';
35
-
36
- import { NgModule } from '@angular/core';
37
- import { Routes, RouterModule } from '@angular/router';
38
- import { TranslateModule } from '@ngx-translate/core';
39
-
40
- const routes: Routes = [
41
- { path: 'home', component: HomeComponent },
42
- { path: 'angular-components', component: GridAngularComponent },
43
- { path: 'additem', component: GridAddItemComponent },
44
- { path: 'autoheight', component: GridAutoHeightComponent },
45
- { path: 'basic', component: GridBasicComponent },
46
- { path: 'colspan', component: GridColspanComponent },
47
- { path: 'composite-editor', component: GridCompositeEditorComponent },
48
- { path: 'context', component: GridContextMenuComponent },
49
- { path: 'custom-tooltip', component: GridCustomTooltipComponent },
50
- { path: 'editor', component: GridEditorComponent },
51
- { path: 'formatter', component: GridFormatterComponent },
52
- { path: 'frozen', component: GridFrozenComponent },
53
- { path: 'headerbutton', component: GridHeaderButtonComponent },
54
- { path: 'headermenu', component: GridHeaderMenuComponent },
55
- { path: 'gridgraphql', component: GridGraphqlComponent },
56
- { path: 'graphql-nopage', component: GridGraphqlWithoutPaginationComponent },
57
- { path: 'gridmenu', component: GridMenuComponent },
58
- { path: 'gridstate', component: GridStateComponent },
59
- { path: 'gridtabs', component: GridTabsComponent },
60
- { path: 'draggrouping', component: GridDraggableGroupingComponent },
61
- { path: 'grouping', component: GridGroupingComponent },
62
- { path: 'localization', component: GridLocalizationComponent },
63
- { path: 'clientside', component: GridClientSideComponent },
64
- { path: 'odata', component: GridOdataComponent },
65
- { path: 'range', component: GridRangeComponent },
66
- { path: 'remote', component: GridRemoteComponent },
67
- { path: 'resize-by-content', component: GridResizeByContentComponent },
68
- { path: 'rowdetail', component: GridRowDetailComponent },
69
- { path: 'rowmove', component: GridRowMoveComponent },
70
- { path: 'selection', component: GridRowSelectionComponent },
71
- { path: 'trading', component: GridTradingComponent },
72
- { path: 'tree-data-parent-child', component: GridTreeDataParentChildComponent },
73
- { path: 'tree-data-hierarchical', component: GridTreeDataHierarchicalComponent },
74
- { path: 'swt', component: SwtCommonGridTestComponent },
75
- { path: '', redirectTo: '/trading', pathMatch: 'full' },
76
- { path: '**', redirectTo: '/trading', pathMatch: 'full' }
77
- ];
78
-
79
- @NgModule({
80
- imports: [RouterModule.forRoot(routes, { useHash: true, relativeLinkResolution: 'legacy' }), TranslateModule],
81
- exports: [RouterModule, TranslateModule],
82
- })
83
- export class AppRoutingRoutingModule { }