angular-slickgrid 4.1.4 → 4.2.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.
Files changed (242) hide show
  1. package/.browserslistrc +12 -0
  2. package/.codecov.yml +17 -0
  3. package/.editorconfig +18 -0
  4. package/.eslintrc.json +50 -0
  5. package/.github/CODE_OF_CONDUCT.md +76 -0
  6. package/.github/FUNDING.yml +8 -0
  7. package/.github/ISSUE_TEMPLATE/bug_report.yml +54 -0
  8. package/.github/ISSUE_TEMPLATE/config.yml +5 -0
  9. package/.github/ISSUE_TEMPLATE/feature_request.yml +44 -0
  10. package/.github/renovate.json5 +26 -0
  11. package/.github/stale.yml +7 -0
  12. package/.github/workflows/main.yml +83 -0
  13. package/.vscode/extensions.json +9 -0
  14. package/.vscode/launch.json +72 -0
  15. package/.vscode/settings.json +7 -0
  16. package/.vscode/tasks.json +77 -0
  17. package/CHANGELOG.md +1172 -0
  18. package/LICENSE +20 -20
  19. package/README.md +182 -180
  20. package/angular.json +148 -0
  21. package/dist/LICENSE +20 -0
  22. package/dist/README.md +182 -0
  23. package/{angular-slickgrid.d.ts → dist/angular-slickgrid.d.ts} +0 -0
  24. package/{app → dist/app}/modules/angular-slickgrid/components/angular-slickgrid.component.d.ts +0 -0
  25. package/{app → dist/app}/modules/angular-slickgrid/constants.d.ts +0 -0
  26. package/{app → dist/app}/modules/angular-slickgrid/extensions/index.d.ts +0 -0
  27. package/{app → dist/app}/modules/angular-slickgrid/extensions/slickRowDetailView.d.ts +0 -0
  28. package/{app → dist/app}/modules/angular-slickgrid/global-grid-options.d.ts +0 -0
  29. package/{app → dist/app}/modules/angular-slickgrid/index.d.ts +0 -0
  30. package/{app → dist/app}/modules/angular-slickgrid/models/angularComponentOutput.interface.d.ts +0 -0
  31. package/{app → dist/app}/modules/angular-slickgrid/models/angularGridInstance.interface.d.ts +0 -0
  32. package/{app → dist/app}/modules/angular-slickgrid/models/externalTestingDependencies.interface.d.ts +0 -0
  33. package/{app → dist/app}/modules/angular-slickgrid/models/gridOption.interface.d.ts +0 -0
  34. package/{app → dist/app}/modules/angular-slickgrid/models/index.d.ts +0 -0
  35. package/{app → dist/app}/modules/angular-slickgrid/models/rowDetailView.interface.d.ts +0 -0
  36. package/{app → dist/app}/modules/angular-slickgrid/models/slickGrid.interface.d.ts +0 -0
  37. package/{app → dist/app}/modules/angular-slickgrid/modules/angular-slickgrid.module.d.ts +0 -0
  38. package/{app → dist/app}/modules/angular-slickgrid/services/angularUtil.service.d.ts +0 -0
  39. package/{app → dist/app}/modules/angular-slickgrid/services/bsDropdown.service.d.ts +0 -0
  40. package/{app → dist/app}/modules/angular-slickgrid/services/container.service.d.ts +0 -0
  41. package/{app → dist/app}/modules/angular-slickgrid/services/index.d.ts +0 -0
  42. package/{app → dist/app}/modules/angular-slickgrid/services/translater.service.d.ts +0 -0
  43. package/{app → dist/app}/modules/angular-slickgrid/services/utilities.d.ts +0 -0
  44. package/{app → dist/app}/modules/angular-slickgrid/slickgrid-config.d.ts +0 -0
  45. package/{esm2020 → dist/esm2020}/angular-slickgrid.mjs +0 -0
  46. package/dist/esm2020/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +1171 -0
  47. package/{esm2020 → dist/esm2020}/app/modules/angular-slickgrid/constants.mjs +1 -1
  48. package/{esm2020 → dist/esm2020}/app/modules/angular-slickgrid/extensions/index.mjs +1 -1
  49. package/{esm2020 → dist/esm2020}/app/modules/angular-slickgrid/extensions/slickRowDetailView.mjs +2 -2
  50. package/{esm2020 → dist/esm2020}/app/modules/angular-slickgrid/global-grid-options.mjs +1 -1
  51. package/{esm2020 → dist/esm2020}/app/modules/angular-slickgrid/index.mjs +1 -1
  52. package/{esm2020 → dist/esm2020}/app/modules/angular-slickgrid/models/angularComponentOutput.interface.mjs +1 -1
  53. package/dist/esm2020/app/modules/angular-slickgrid/models/angularGridInstance.interface.mjs +2 -0
  54. package/dist/esm2020/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.mjs +2 -0
  55. package/dist/esm2020/app/modules/angular-slickgrid/models/gridOption.interface.mjs +2 -0
  56. package/{esm2020 → dist/esm2020}/app/modules/angular-slickgrid/models/index.mjs +1 -1
  57. package/dist/esm2020/app/modules/angular-slickgrid/models/rowDetailView.interface.mjs +2 -0
  58. package/dist/esm2020/app/modules/angular-slickgrid/models/slickGrid.interface.mjs +2 -0
  59. package/{esm2020 → dist/esm2020}/app/modules/angular-slickgrid/modules/angular-slickgrid.module.mjs +5 -5
  60. package/{esm2020 → dist/esm2020}/app/modules/angular-slickgrid/services/angularUtil.service.mjs +4 -4
  61. package/{esm2020 → dist/esm2020}/app/modules/angular-slickgrid/services/bsDropdown.service.mjs +4 -4
  62. package/{esm2020 → dist/esm2020}/app/modules/angular-slickgrid/services/container.service.mjs +4 -4
  63. package/{esm2020 → dist/esm2020}/app/modules/angular-slickgrid/services/index.mjs +1 -1
  64. package/{esm2020 → dist/esm2020}/app/modules/angular-slickgrid/services/translater.service.mjs +4 -4
  65. package/{esm2020 → dist/esm2020}/app/modules/angular-slickgrid/services/utilities.mjs +1 -1
  66. package/{esm2020 → dist/esm2020}/app/modules/angular-slickgrid/slickgrid-config.mjs +1 -1
  67. package/{esm2020 → dist/esm2020}/public_api.mjs +1 -1
  68. package/{fesm2015 → dist/fesm2015}/angular-slickgrid.mjs +25 -22
  69. package/dist/fesm2015/angular-slickgrid.mjs.map +1 -0
  70. package/{fesm2020 → dist/fesm2020}/angular-slickgrid.mjs +25 -22
  71. package/dist/fesm2020/angular-slickgrid.mjs.map +1 -0
  72. package/{i18n → dist/i18n}/en.json +89 -89
  73. package/{i18n → dist/i18n}/fr.json +90 -90
  74. package/dist/package.json +79 -0
  75. package/{public_api.d.ts → dist/public_api.d.ts} +0 -0
  76. package/global.d.ts +1 -0
  77. package/ngcc.config.js +13 -0
  78. package/package.json +121 -37
  79. package/screenshots/column-picker.png +0 -0
  80. package/screenshots/composite-editor.png +0 -0
  81. package/screenshots/draggable-grouping.png +0 -0
  82. package/screenshots/editors.png +0 -0
  83. package/screenshots/export-to-file.png +0 -0
  84. package/screenshots/filter_and_sort.png +0 -0
  85. package/screenshots/formatters.png +0 -0
  86. package/screenshots/frozen.png +0 -0
  87. package/screenshots/multipleSelectFilter.png +0 -0
  88. package/screenshots/pagination.png +0 -0
  89. package/screenshots/selectFilter.png +0 -0
  90. package/screenshots/singleFilter.png +0 -0
  91. package/src/app/app-routing.module.ts +83 -0
  92. package/src/app/app.component.html +160 -0
  93. package/src/app/app.component.scss +65 -0
  94. package/src/app/app.component.ts +10 -0
  95. package/src/app/app.module.ts +175 -0
  96. package/src/app/examples/custom-angularComponentEditor.ts +184 -0
  97. package/src/app/examples/custom-angularComponentFilter.ts +126 -0
  98. package/src/app/examples/custom-inputEditor.ts +124 -0
  99. package/src/app/examples/custom-inputFilter.ts +142 -0
  100. package/src/app/examples/custom-titleFormatter.component.ts +8 -0
  101. package/src/app/examples/editor-ng-select.component.ts +37 -0
  102. package/src/app/examples/filter-ng-select.component.ts +32 -0
  103. package/src/app/examples/grid-additem.component.html +48 -0
  104. package/src/app/examples/grid-additem.component.ts +272 -0
  105. package/src/app/examples/grid-angular.component.html +79 -0
  106. package/src/app/examples/grid-angular.component.scss +28 -0
  107. package/src/app/examples/grid-angular.component.ts +370 -0
  108. package/src/app/examples/grid-autoheight.component.html +52 -0
  109. package/src/app/examples/grid-autoheight.component.ts +147 -0
  110. package/src/app/examples/grid-basic.component.html +29 -0
  111. package/src/app/examples/grid-basic.component.ts +82 -0
  112. package/src/app/examples/grid-clientside.component.html +51 -0
  113. package/src/app/examples/grid-clientside.component.ts +293 -0
  114. package/src/app/examples/grid-colspan.component.html +39 -0
  115. package/src/app/examples/grid-colspan.component.scss +11 -0
  116. package/src/app/examples/grid-colspan.component.ts +155 -0
  117. package/src/app/examples/grid-composite-editor.component.html +79 -0
  118. package/src/app/examples/grid-composite-editor.component.scss +19 -0
  119. package/src/app/examples/grid-composite-editor.component.ts +948 -0
  120. package/src/app/examples/grid-contextmenu.component.html +62 -0
  121. package/src/app/examples/grid-contextmenu.component.scss +44 -0
  122. package/src/app/examples/grid-contextmenu.component.ts +473 -0
  123. package/src/app/examples/grid-custom-tooltip.component.html +25 -0
  124. package/src/app/examples/grid-custom-tooltip.component.scss +77 -0
  125. package/src/app/examples/grid-custom-tooltip.component.ts +483 -0
  126. package/src/app/examples/grid-draggrouping.component.html +93 -0
  127. package/src/app/examples/grid-draggrouping.component.ts +397 -0
  128. package/src/app/examples/grid-editor.component.html +88 -0
  129. package/src/app/examples/grid-editor.component.ts +699 -0
  130. package/src/app/examples/grid-formatter.component.html +26 -0
  131. package/src/app/examples/grid-formatter.component.ts +162 -0
  132. package/src/app/examples/grid-frozen.component.html +65 -0
  133. package/src/app/examples/grid-frozen.component.scss +11 -0
  134. package/src/app/examples/grid-frozen.component.ts +303 -0
  135. package/src/app/examples/grid-graphql-nopage.component.html +33 -0
  136. package/src/app/examples/grid-graphql-nopage.component.scss +9 -0
  137. package/src/app/examples/grid-graphql-nopage.component.ts +242 -0
  138. package/src/app/examples/grid-graphql.component.html +87 -0
  139. package/src/app/examples/grid-graphql.component.ts +304 -0
  140. package/src/app/examples/grid-grouping.component.html +80 -0
  141. package/src/app/examples/grid-grouping.component.ts +313 -0
  142. package/src/app/examples/grid-headerbutton.component.html +31 -0
  143. package/src/app/examples/grid-headerbutton.component.scss +10 -0
  144. package/src/app/examples/grid-headerbutton.component.ts +233 -0
  145. package/src/app/examples/grid-headermenu.component.html +31 -0
  146. package/src/app/examples/grid-headermenu.component.scss +25 -0
  147. package/src/app/examples/grid-headermenu.component.ts +159 -0
  148. package/src/app/examples/grid-localization.component.html +54 -0
  149. package/src/app/examples/grid-localization.component.ts +293 -0
  150. package/src/app/examples/grid-menu.component.html +37 -0
  151. package/src/app/examples/grid-menu.component.scss +28 -0
  152. package/src/app/examples/grid-menu.component.ts +229 -0
  153. package/src/app/examples/grid-odata.component.html +116 -0
  154. package/src/app/examples/grid-odata.component.ts +441 -0
  155. package/src/app/examples/grid-range.component.html +74 -0
  156. package/src/app/examples/grid-range.component.ts +291 -0
  157. package/src/app/examples/grid-remote.component.html +37 -0
  158. package/src/app/examples/grid-remote.component.ts +153 -0
  159. package/src/app/examples/grid-resize-by-content.component.html +62 -0
  160. package/src/app/examples/grid-resize-by-content.component.scss +19 -0
  161. package/src/app/examples/grid-resize-by-content.component.ts +780 -0
  162. package/src/app/examples/grid-rowdetail.component.html +35 -0
  163. package/src/app/examples/grid-rowdetail.component.ts +205 -0
  164. package/src/app/examples/grid-rowmove.component.html +49 -0
  165. package/src/app/examples/grid-rowmove.component.ts +234 -0
  166. package/src/app/examples/grid-rowselection.component.html +76 -0
  167. package/src/app/examples/grid-rowselection.component.ts +267 -0
  168. package/src/app/examples/grid-state.component.html +36 -0
  169. package/src/app/examples/grid-state.component.ts +259 -0
  170. package/src/app/examples/grid-tabs.component.html +35 -0
  171. package/src/app/examples/grid-tabs.component.ts +115 -0
  172. package/src/app/examples/grid-trading.component.html +58 -0
  173. package/src/app/examples/grid-trading.component.scss +49 -0
  174. package/src/app/examples/grid-trading.component.ts +319 -0
  175. package/src/app/examples/grid-tree-data-hierarchical.component.html +79 -0
  176. package/src/app/examples/grid-tree-data-hierarchical.component.scss +47 -0
  177. package/src/app/examples/grid-tree-data-hierarchical.component.ts +311 -0
  178. package/src/app/examples/grid-tree-data-parent-child.component.html +108 -0
  179. package/src/app/examples/grid-tree-data-parent-child.component.scss +10 -0
  180. package/src/app/examples/grid-tree-data-parent-child.component.ts +351 -0
  181. package/src/app/examples/home.component.html +41 -0
  182. package/src/app/examples/home.component.ts +9 -0
  183. package/src/app/examples/rowdetail-preload.component.ts +10 -0
  184. package/src/app/examples/rowdetail-view.component.html +36 -0
  185. package/src/app/examples/rowdetail-view.component.ts +54 -0
  186. package/src/app/examples/swt-common-grid-pagination.component.ts +156 -0
  187. package/src/app/examples/swt-common-grid-test.component.html +30 -0
  188. package/src/app/examples/swt-common-grid-test.component.ts +219 -0
  189. package/src/app/examples/swt-common-grid.component.ts +436 -0
  190. package/src/app/examples/swt-logger.service.ts +165 -0
  191. package/src/app/modules/angular-slickgrid/components/angular-slickgrid.component.html +4 -0
  192. package/src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts +1395 -0
  193. package/src/app/modules/angular-slickgrid/constants.ts +97 -0
  194. package/src/app/modules/angular-slickgrid/extensions/index.ts +1 -0
  195. package/src/app/modules/angular-slickgrid/extensions/slickRowDetailView.ts +375 -0
  196. package/src/app/modules/angular-slickgrid/global-grid-options.ts +245 -0
  197. package/src/app/modules/angular-slickgrid/index.ts +11 -0
  198. package/src/app/modules/angular-slickgrid/models/angularComponentOutput.interface.ts +6 -0
  199. package/src/app/modules/angular-slickgrid/models/angularGridInstance.interface.ts +68 -0
  200. package/src/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.ts +37 -0
  201. package/src/app/modules/angular-slickgrid/models/gridOption.interface.ts +12 -0
  202. package/src/app/modules/angular-slickgrid/models/index.ts +6 -0
  203. package/src/app/modules/angular-slickgrid/models/rowDetailView.interface.ts +33 -0
  204. package/src/app/modules/angular-slickgrid/models/slickGrid.interface.ts +7 -0
  205. package/src/app/modules/angular-slickgrid/modules/angular-slickgrid.module.ts +37 -0
  206. package/src/app/modules/angular-slickgrid/services/angularUtil.service.ts +48 -0
  207. package/src/app/modules/angular-slickgrid/services/bsDropdown.service.ts +142 -0
  208. package/src/app/modules/angular-slickgrid/services/container.service.ts +24 -0
  209. package/src/app/modules/angular-slickgrid/services/index.ts +5 -0
  210. package/src/app/modules/angular-slickgrid/services/translater.service.ts +38 -0
  211. package/src/app/modules/angular-slickgrid/services/utilities.ts +19 -0
  212. package/src/app/modules/angular-slickgrid/slickgrid-config.ts +10 -0
  213. package/src/app/slickgrid-custom-variables.scss +10 -0
  214. package/src/assets/.gitkeep +0 -0
  215. package/src/assets/data/collection_100_numbers.json +12 -0
  216. package/src/assets/data/collection_500_numbers.json +52 -0
  217. package/src/assets/data/countries.json +245 -0
  218. package/src/assets/data/country_names.json +245 -0
  219. package/src/assets/data/customers_100.json +102 -0
  220. package/src/assets/i18n/en.json +90 -0
  221. package/src/assets/i18n/fr.json +91 -0
  222. package/src/environments/environment.prod.ts +3 -0
  223. package/src/environments/environment.ts +8 -0
  224. package/src/favicon.ico +0 -0
  225. package/src/index.html +18 -0
  226. package/src/main.ts +13 -0
  227. package/src/polyfills.ts +52 -0
  228. package/src/public_api.ts +1 -0
  229. package/src/styles.scss +66 -0
  230. package/src/typings.d.ts +10 -0
  231. package/tsconfig.app.json +25 -0
  232. package/tsconfig.json +40 -0
  233. package/tsconfig.spec.json +23 -0
  234. package/docs/assets/lib/multiple-select/README.md +0 -17
  235. package/esm2020/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +0 -1168
  236. package/esm2020/app/modules/angular-slickgrid/models/angularGridInstance.interface.mjs +0 -2
  237. package/esm2020/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.mjs +0 -2
  238. package/esm2020/app/modules/angular-slickgrid/models/gridOption.interface.mjs +0 -2
  239. package/esm2020/app/modules/angular-slickgrid/models/rowDetailView.interface.mjs +0 -2
  240. package/esm2020/app/modules/angular-slickgrid/models/slickGrid.interface.mjs +0 -2
  241. package/fesm2015/angular-slickgrid.mjs.map +0 -1
  242. package/fesm2020/angular-slickgrid.mjs.map +0 -1
@@ -0,0 +1,12 @@
1
+ # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2
+ # For additional information regarding the format and rule options, please see:
3
+ # https://github.com/browserslist/browserslist#queries
4
+
5
+ # You can see what browsers were selected by your queries by running:
6
+ # npx browserslist
7
+
8
+ > 0.5%
9
+ last 2 versions
10
+ Firefox ESR
11
+ not dead
12
+ not IE 9-11 # For IE 9-11 support, remove 'not'.
package/.codecov.yml ADDED
@@ -0,0 +1,17 @@
1
+ coverage:
2
+ precision: 2
3
+ round: up
4
+ range: "50...95"
5
+
6
+ status:
7
+ project:
8
+ default:
9
+ target: auto
10
+ # Fail the status if coverage drops by >= 3%
11
+ threshold: 3%
12
+ branches: null
13
+ patch:
14
+ default:
15
+ threshold: 5%
16
+ github_checks:
17
+ annotations: false
package/.editorconfig ADDED
@@ -0,0 +1,18 @@
1
+ # http://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ end_of_line = lf
7
+ indent_style = space
8
+ indent_size = 4
9
+ insert_final_newline = false
10
+ trim_trailing_whitespace = true
11
+
12
+ [*]
13
+ indent_style = space
14
+ indent_size = 2
15
+
16
+ [*.md]
17
+ max_line_length = 0
18
+ trim_trailing_whitespace = false
package/.eslintrc.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "root": true,
3
+ "ignorePatterns": [
4
+ "projects/**/*"
5
+ ],
6
+ "overrides": [
7
+ {
8
+ "files": [
9
+ "*.ts"
10
+ ],
11
+ "parserOptions": {
12
+ "project": [
13
+ "tsconfig.json"
14
+ ],
15
+ "createDefaultProgram": true
16
+ },
17
+ "extends": [
18
+ "plugin:@angular-eslint/recommended",
19
+ "plugin:@angular-eslint/template/process-inline-templates"
20
+ ],
21
+ "rules": {
22
+ "@angular-eslint/directive-selector": [
23
+ "error",
24
+ {
25
+ "type": "attribute",
26
+ "prefix": "app",
27
+ "style": "camelCase"
28
+ }
29
+ ],
30
+ "@angular-eslint/component-selector": [
31
+ "error",
32
+ {
33
+ "type": "element",
34
+ "style": "kebab-case"
35
+ }
36
+ ],
37
+ "@angular-eslint/no-output-on-prefix": 0
38
+ }
39
+ },
40
+ {
41
+ "files": [
42
+ "*.html"
43
+ ],
44
+ "extends": [
45
+ "plugin:@angular-eslint/template/recommended"
46
+ ],
47
+ "rules": {}
48
+ }
49
+ ]
50
+ }
@@ -0,0 +1,76 @@
1
+ # Angular-Slickgrid Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, sex characteristics, gender identity and expression,
9
+ level of experience, education, socio-economic status, nationality, personal
10
+ appearance, race, religion, or sexual identity and orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies within all project spaces, and it also applies when
49
+ an individual is representing the project or its community in public spaces.
50
+ Examples of representing a project or community include using an official
51
+ project e-mail address, posting via an official social media account, or acting
52
+ as an appointed representative at an online or offline event. Representation of
53
+ a project may be further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72
+
73
+ [homepage]: https://www.contributor-covenant.org
74
+
75
+ For answers to common questions about this code of conduct, see
76
+ https://www.contributor-covenant.org/faq
@@ -0,0 +1,8 @@
1
+ # These are supported funding model platforms
2
+
3
+ github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4
+ patreon: # Replace with a single Patreon username
5
+ open_collective: # Replace with a single Open Collective username
6
+ ko_fi: ghiscoding
7
+ tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8
+ custom: # Replace with a single custom sponsorship URL
@@ -0,0 +1,54 @@
1
+ name: 🐞 Bug report
2
+ description: Report an issue with Angular-Slickgrid
3
+ labels: [pending triage]
4
+ body:
5
+ - type: markdown
6
+ attributes:
7
+ value: |
8
+ Thanks for taking the time to fill out this bug report!
9
+ - type: textarea
10
+ id: bug-description
11
+ attributes:
12
+ label: Describe the bug
13
+ description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
14
+ placeholder: Bug description
15
+ validations:
16
+ required: true
17
+ - type: textarea
18
+ id: reproduction
19
+ attributes:
20
+ label: Reproduction
21
+ description: Please provide a way to reproduce the problem you ran into. A [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) would be nice unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem.
22
+ placeholder: Reproduction
23
+ validations:
24
+ required: true
25
+ - type: textarea
26
+ id: system-info
27
+ attributes:
28
+ label: Environment Info
29
+ description: versions number of each systems and libs (Angular, Angular-Slickgrid, TypeScript)
30
+ render: shell
31
+ placeholder: |
32
+ Angular (x.y)
33
+ Angular-Slickgrid (x.y)
34
+ TypeScript (x.y)
35
+ Browser(s)
36
+ System OS
37
+ validations:
38
+ required: true
39
+ - type: checkboxes
40
+ id: checkboxes
41
+ attributes:
42
+ label: Validations
43
+ description: Before submitting the issue, please make sure you do the following
44
+ options:
45
+ - label: Follow our [Code of Conduct](https://github.com/ghiscoding/Angular-Slickgrid/blob/master/.github/CODE_OF_CONDUCT.md)
46
+ required: true
47
+ - label: Read the [HOWTO - Step by Step](https://github.com/ghiscoding/angular-slickgrid/wiki/HOWTO---Step-by-Step).
48
+ required: true
49
+ - label: Check that there isn't [already an issue](https://github.com/ghiscoding/Angular-Slickgrid/issues) that reports the same bug to avoid creating a duplicate.
50
+ required: true
51
+ - label: Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/ghiscoding/Angular-Slickgrid/discussions).
52
+ required: true
53
+ - label: The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
54
+ required: true
@@ -0,0 +1,5 @@
1
+ blank_issues_enabled: false
2
+ contact_links:
3
+ - name: Questions & Discussions
4
+ url: https://github.com/ghiscoding/Angular-Slickgrid/discussions
5
+ about: Use GitHub discussions for message-board style questions and discussions.
@@ -0,0 +1,44 @@
1
+ name: 🚀 New feature proposal
2
+ description: Propose a new feature to be added to Angular-Slickgrid
3
+ labels: ['enhancement: pending triage']
4
+ body:
5
+ - type: markdown
6
+ attributes:
7
+ value: |
8
+ Thanks for your interest in the project and taking the time to fill out this feature report!
9
+ - type: textarea
10
+ id: feature-description
11
+ attributes:
12
+ label: Clear and concise description of the problem
13
+ description: 'As a developer using Angular-Slickgrid I want [goal / wish] so that [benefit]. If you intend to submit a PR for this issue, tell us in the description. Thanks!'
14
+ validations:
15
+ required: true
16
+ - type: textarea
17
+ id: suggested-solution
18
+ attributes:
19
+ label: Suggested solution
20
+ description: We could provide following implementation...
21
+ validations:
22
+ required: true
23
+ - type: textarea
24
+ id: alternative
25
+ attributes:
26
+ label: Alternative
27
+ description: Clear and concise description of any alternative solutions or features you've considered.
28
+ - type: textarea
29
+ id: additional-context
30
+ attributes:
31
+ label: Additional context
32
+ description: Any other context or screenshots about the feature request here.
33
+ - type: checkboxes
34
+ id: checkboxes
35
+ attributes:
36
+ label: Validations
37
+ description: Before submitting the issue, please make sure you do the following
38
+ options:
39
+ - label: Follow our [Code of Conduct](https://github.com/ghiscoding/Angular-Slickgrid/blob/master/.github/CODE_OF_CONDUCT.md)
40
+ required: true
41
+ - label: Read the [HOWTO - Step by Step](https://github.com/ghiscoding/angular-slickgrid/wiki/HOWTO---Step-by-Step).
42
+ required: true
43
+ - label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
44
+ required: true
@@ -0,0 +1,26 @@
1
+ {
2
+ extends: ["config:base", "group:allNonMajor"],
3
+ labels: ["dependencies"],
4
+ ignorePaths: ["**/__tests__/**"],
5
+ dependencyDashboard: false,
6
+ node: false,
7
+ pin: false,
8
+ rangeStrategy: "bump",
9
+ packageRules: [
10
+ {
11
+ depTypeList: ["peerDependencies"],
12
+ enabled: false,
13
+ },
14
+ // allow Node14/npm8 until its EOL June 2023
15
+ {
16
+ packageNames: ["node"],
17
+ allowedVersions: "14.17.0",
18
+ },
19
+ {
20
+ packageNames: ["npm"],
21
+ allowedVersions: "6.14.13",
22
+ },
23
+ ],
24
+ schedule: ["on Friday"],
25
+ ignoreDeps: ["typescript"],
26
+ }
@@ -0,0 +1,7 @@
1
+ # Configuration for probot-stale - https://github.com/probot/stale
2
+
3
+ # Number of days of inactivity before an Issue or Pull Request becomes stale
4
+ daysUntilStale: 180
5
+
6
+ # Label to use when marking as stale
7
+ staleLabel: stale
@@ -0,0 +1,83 @@
1
+ name: CI Build
2
+ on:
3
+ # Trigger the workflow on push or pull request,
4
+ # but only for the master branch on Push and any branches on PR
5
+ push:
6
+ branches:
7
+ - master
8
+ pull_request:
9
+ branches:
10
+ - '**'
11
+ env:
12
+ CI: true
13
+ PREFERRED_WORKSPACE_MANAGER: yarn
14
+
15
+ jobs:
16
+ run:
17
+ name: Node ${{ matrix.node }}
18
+ runs-on: ubuntu-latest
19
+
20
+ strategy:
21
+ fail-fast: false
22
+ matrix:
23
+ node: [16]
24
+
25
+ steps:
26
+ - name: Clone repository
27
+ uses: actions/checkout@v3
28
+ with:
29
+ fetch-depth: 3
30
+
31
+ - name: Set Node.js version
32
+ uses: actions/setup-node@v3
33
+ with:
34
+ node-version: ${{ matrix.node }}
35
+
36
+ - run: node --version
37
+ - run: npm --version
38
+
39
+ - name: Install root dependencies
40
+ uses: bahmutov/npm-install@v1
41
+
42
+ - name: Run Project Build
43
+ run: yarn build
44
+
45
+ - name: Run Jest unit tests
46
+ if: "!contains(github.event.head_commit.message, 'chore(release)')"
47
+ run: yarn jest:ci
48
+
49
+ - name: Upload Jest coverage to Codecov
50
+ if: "!contains(github.event.head_commit.message, 'chore(release)')"
51
+ run: bash <(curl -s https://codecov.io/bash)
52
+
53
+ - name: Start server in the background
54
+ run: yarn start &
55
+
56
+ - name: Run Cypress E2E tests
57
+ uses: cypress-io/github-action@v2
58
+ with:
59
+ working-directory: test/cypress
60
+ config-file: cypress.config.js
61
+ wait-on: 'http://localhost:4300'
62
+ browser: chrome
63
+ record: true
64
+ env:
65
+ # pass the Dashboard record key as an environment variable
66
+ CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
67
+ # pass GitHub token to allow accurately detecting a build vs a re-run build
68
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69
+
70
+ - name: Prod Build for GitHub demo website
71
+ run: |
72
+ yarn build:demo
73
+
74
+ # deploy (re-publish) GitHub demo page with a Prod build but only when merging to "master" branch
75
+ # and the commit message contains the text "chore(release)"
76
+ - name: Deploy to gh-pages
77
+ if: |
78
+ github.ref == 'refs/heads/master' &&
79
+ contains(github.event.head_commit.message, 'chore(release)')
80
+ uses: peaceiris/actions-gh-pages@v3
81
+ with:
82
+ github_token: ${{ secrets.GITHUB_TOKEN }}
83
+ publish_dir: ./docs
@@ -0,0 +1,9 @@
1
+ {
2
+ "recommendations": [
3
+ "andys8.jest-snippets",
4
+ "angular.ng-template",
5
+ "editorconfig.editorconfig",
6
+ "msjsdiag.debugger-for-chrome",
7
+ "dbaeumer.vscode-eslint"
8
+ ]
9
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "version": "0.2.0",
3
+ "configurations": [
4
+ {
5
+ "type": "chrome",
6
+ "request": "launch",
7
+ "name": "Chrome Debugger",
8
+ "url": "http://localhost:4300",
9
+ "breakOnLoad": false,
10
+ "webRoot": "${workspaceFolder}"
11
+ },
12
+ {
13
+ "type": "chrome",
14
+ "request": "attach",
15
+ "name": "Attach to Chrome",
16
+ "port": 9222,
17
+ "webRoot": "${workspaceFolder}"
18
+ },
19
+ {
20
+ "type": "node",
21
+ "request": "launch",
22
+ "name": "Jest All Tests",
23
+ "program": "${workspaceFolder}/node_modules/.bin/jest",
24
+ "args": [
25
+ "--runInBand",
26
+ "--config",
27
+ "${workspaceFolder}/test/jest.config.js"
28
+ ],
29
+ "console": "internalConsole",
30
+ "internalConsoleOptions": "neverOpen",
31
+ "windows": {
32
+ "program": "${workspaceFolder}/node_modules/jest/bin/jest",
33
+ }
34
+ },
35
+ {
36
+ "type": "node",
37
+ "request": "launch",
38
+ "name": "Jest Current Spec File",
39
+ "program": "${workspaceFolder}/node_modules/.bin/jest",
40
+ "args": [
41
+ "--runInBand",
42
+ "${fileBasename}",
43
+ "--config",
44
+ "${workspaceFolder}/test/jest.config.js"
45
+ ],
46
+ "console": "internalConsole",
47
+ "internalConsoleOptions": "neverOpen",
48
+ "disableOptimisticBPs": true,
49
+ "windows": {
50
+ "program": "${workspaceFolder}/node_modules/jest/bin/jest",
51
+ }
52
+ },
53
+ {
54
+ "type": "node",
55
+ "request": "launch",
56
+ "name": "Jest Selected Test Name",
57
+ "program": "${workspaceFolder}/node_modules/.bin/jest",
58
+ "args": [
59
+ "${fileBasename}",
60
+ "--config",
61
+ "${workspaceFolder}/test/jest.config.js",
62
+ "-t=${selectedText}$",
63
+ "--watch"
64
+ ],
65
+ "console": "internalConsole",
66
+ "internalConsoleOptions": "neverOpen",
67
+ "windows": {
68
+ "program": "${workspaceFolder}/node_modules/jest/bin/jest",
69
+ }
70
+ }
71
+ ]
72
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "typescript.tsdk": "node_modules\\typescript\\lib",
3
+ "i18n-ally.localesPaths": [
4
+ "docs/assets/i18n",
5
+ "src/assets/i18n"
6
+ ]
7
+ }
@@ -0,0 +1,77 @@
1
+ {
2
+ "version": "2.0.0",
3
+ "tasks": [
4
+ {
5
+ "label": "Build GitHub Prod Demo",
6
+ "type": "shell",
7
+ "command": "yarn run build:demo",
8
+ "problemMatcher": []
9
+ },
10
+ {
11
+ "label": "Build Library",
12
+ "type": "shell",
13
+ "command": "yarn run build",
14
+ "problemMatcher": []
15
+ },
16
+ {
17
+ "label": "Build Library (with E2E Cypress tests, Dev Site must be running)",
18
+ "type": "shell",
19
+ "command": "yarn run build:with-e2e",
20
+ "problemMatcher": []
21
+ },
22
+ {
23
+ "label": "Publish Library to NPM",
24
+ "type": "shell",
25
+ "command": "npm publish dist",
26
+ "problemMatcher": []
27
+ },
28
+ {
29
+ "label": "Publish Library with (Beta Tag) to NPM",
30
+ "type": "shell",
31
+ "command": "npm publish dist --tag beta",
32
+ "problemMatcher": []
33
+ },
34
+ {
35
+ "label": "Start Library Development",
36
+ "type": "shell",
37
+ "command": "yarn start",
38
+ "problemMatcher": []
39
+ },
40
+ {
41
+ "label": "Cypress Open Tool",
42
+ "type": "shell",
43
+ "command": "yarn run cypress",
44
+ "problemMatcher": []
45
+ },
46
+ {
47
+ "label": "Cypress CI",
48
+ "type": "shell",
49
+ "command": "yarn run cypress:ci",
50
+ "problemMatcher": []
51
+ },
52
+ {
53
+ "label": "Run Jest Tests with Coverage",
54
+ "type": "shell",
55
+ "command": "yarn jest:coverage",
56
+ "problemMatcher": []
57
+ },
58
+ {
59
+ "label": "Run Jest Watch",
60
+ "type": "shell",
61
+ "command": "yarn jest:watch",
62
+ "problemMatcher": []
63
+ },
64
+ {
65
+ "label": "Prepare Release as Minor (0.x.0) -- Make sure to NPM Publish DIST folder",
66
+ "type": "shell",
67
+ "command": "yarn run release -- --release-as minor --infile ./CHANGELOG.md",
68
+ "problemMatcher": []
69
+ },
70
+ {
71
+ "label": "Prepare Release as Patch (0.0.x) -- Make sure to NPM Publish DIST folder",
72
+ "type": "shell",
73
+ "command": "yarn run release -- --release-as patch --infile ./CHANGELOG.md",
74
+ "problemMatcher": []
75
+ }
76
+ ]
77
+ }