@cauca-911/material 20.2.12 → 20.2.13

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 (246) hide show
  1. package/.eslintrc.json +77 -0
  2. package/README.md +24 -5
  3. package/README_PACKAGE.md +5 -0
  4. package/karma.conf.js +50 -0
  5. package/ng-package.json +7 -0
  6. package/package.json +23 -38
  7. package/{assets → src/assets}/i18n/cauca/en-material.json +104 -104
  8. package/{assets → src/assets}/i18n/cauca/es-material.json +104 -104
  9. package/{assets → src/assets}/i18n/cauca/fr-material.json +106 -106
  10. package/src/lib/cauca-material.component.html +1 -0
  11. package/src/lib/cauca-material.component.spec.ts +29 -0
  12. package/src/lib/cauca-material.component.ts +12 -0
  13. package/src/lib/cauca-material.service.spec.ts +16 -0
  14. package/src/lib/cauca-material.service.ts +7 -0
  15. package/src/lib/components/button/button.component.html +52 -0
  16. package/src/lib/components/button/button.component.scss +6 -0
  17. package/src/lib/components/button/button.component.spec.ts +134 -0
  18. package/src/lib/components/button/button.component.ts +21 -0
  19. package/src/lib/components/buttons/base-button.ts +35 -0
  20. package/src/lib/components/buttons/basic-button/basic-button.component.html +5 -0
  21. package/src/lib/components/buttons/basic-button/basic-button.component.scss +12 -0
  22. package/src/lib/components/buttons/basic-button/basic-button.component.spec.ts +106 -0
  23. package/src/lib/components/buttons/basic-button/basic-button.component.ts +17 -0
  24. package/src/lib/components/buttons/fab-button/fab-button.component.html +3 -0
  25. package/src/lib/components/buttons/fab-button/fab-button.component.scss +12 -0
  26. package/src/lib/components/buttons/fab-button/fab-button.component.spec.ts +82 -0
  27. package/src/lib/components/buttons/fab-button/fab-button.component.ts +16 -0
  28. package/src/lib/components/buttons/flat-button/flat-button.component.html +5 -0
  29. package/src/lib/components/buttons/flat-button/flat-button.component.scss +12 -0
  30. package/src/lib/components/buttons/flat-button/flat-button.component.spec.ts +106 -0
  31. package/src/lib/components/buttons/flat-button/flat-button.component.ts +17 -0
  32. package/src/lib/components/buttons/icon-button/icon-button.component.html +3 -0
  33. package/src/lib/components/buttons/icon-button/icon-button.component.scss +23 -0
  34. package/src/lib/components/buttons/icon-button/icon-button.component.spec.ts +38 -0
  35. package/src/lib/components/buttons/icon-button/icon-button.component.ts +15 -0
  36. package/src/lib/components/buttons/link-button/link-button.component.html +1 -0
  37. package/src/lib/components/buttons/link-button/link-button.component.scss +3 -0
  38. package/src/lib/components/buttons/link-button/link-button.component.spec.ts +97 -0
  39. package/src/lib/components/buttons/link-button/link-button.component.ts +25 -0
  40. package/src/lib/components/buttons/menu-item/menu-item.component.html +5 -0
  41. package/src/lib/components/buttons/menu-item/menu-item.component.scss +6 -0
  42. package/src/lib/components/buttons/menu-item/menu-item.component.spec.ts +66 -0
  43. package/src/lib/components/buttons/menu-item/menu-item.component.ts +19 -0
  44. package/src/lib/components/buttons/raised-button/raised-button.component.html +5 -0
  45. package/src/lib/components/buttons/raised-button/raised-button.component.scss +12 -0
  46. package/src/lib/components/buttons/raised-button/raised-button.component.spec.ts +108 -0
  47. package/src/lib/components/buttons/raised-button/raised-button.component.ts +17 -0
  48. package/src/lib/components/buttons/refresh-button/refresh-button.component.html +1 -0
  49. package/src/lib/components/buttons/refresh-button/refresh-button.component.scss +0 -0
  50. package/src/lib/components/buttons/refresh-button/refresh-button.component.spec.ts +81 -0
  51. package/src/lib/components/buttons/refresh-button/refresh-button.component.ts +19 -0
  52. package/src/lib/components/buttons/round-button/round-button.component.html +3 -0
  53. package/src/lib/components/buttons/round-button/round-button.component.scss +34 -0
  54. package/src/lib/components/buttons/round-button/round-button.component.spec.ts +26 -0
  55. package/src/lib/components/buttons/round-button/round-button.component.ts +14 -0
  56. package/src/lib/components/buttons/stroked-button/stroked-button.component.html +5 -0
  57. package/src/lib/components/buttons/stroked-button/stroked-button.component.scss +23 -0
  58. package/src/lib/components/buttons/stroked-button/stroked-button.component.spec.ts +114 -0
  59. package/src/lib/components/buttons/stroked-button/stroked-button.component.ts +17 -0
  60. package/src/lib/components/cauca-date-time-picker/cauca-date-time-picker.component.html +9 -0
  61. package/src/lib/components/cauca-date-time-picker/cauca-date-time-picker.component.scss +7 -0
  62. package/src/lib/components/cauca-date-time-picker/cauca-date-time-picker.component.spec.ts +68 -0
  63. package/src/lib/components/cauca-date-time-picker/cauca-date-time-picker.component.ts +155 -0
  64. package/src/lib/components/cauca-date-time-picker/components/desktop-time-picker/desktop-time-picker.component.html +6 -0
  65. package/src/lib/components/cauca-date-time-picker/components/desktop-time-picker/desktop-time-picker.component.scss +25 -0
  66. package/src/lib/components/cauca-date-time-picker/components/desktop-time-picker/desktop-time-picker.component.spec.ts +23 -0
  67. package/src/lib/components/cauca-date-time-picker/components/desktop-time-picker/desktop-time-picker.component.ts +23 -0
  68. package/src/lib/components/cauca-date-time-picker/components/dialog-date-time-picker/dialog-date-time-picker.component.html +53 -0
  69. package/src/lib/components/cauca-date-time-picker/components/dialog-date-time-picker/dialog-date-time-picker.component.scss +124 -0
  70. package/src/lib/components/cauca-date-time-picker/components/dialog-date-time-picker/dialog-date-time-picker.component.spec.ts +93 -0
  71. package/src/lib/components/cauca-date-time-picker/components/dialog-date-time-picker/dialog-date-time-picker.component.ts +227 -0
  72. package/src/lib/components/cauca-date-time-picker/components/mobile-time-picker/mobile-time-picker.component.html +9 -0
  73. package/src/lib/components/cauca-date-time-picker/components/mobile-time-picker/mobile-time-picker.component.scss +15 -0
  74. package/src/lib/components/cauca-date-time-picker/components/mobile-time-picker/mobile-time-picker.component.spec.ts +103 -0
  75. package/src/lib/components/cauca-date-time-picker/components/mobile-time-picker/mobile-time-picker.component.ts +47 -0
  76. package/src/lib/components/cauca-date-time-picker/models/dialog-date-time-picker-data.ts +29 -0
  77. package/src/lib/components/deprecated-components/cauca-input-file/cauca-input-file.component.html +11 -0
  78. package/src/lib/components/deprecated-components/cauca-input-file/cauca-input-file.component.scss +3 -0
  79. package/src/lib/components/deprecated-components/cauca-input-file/cauca-input-file.component.ts +87 -0
  80. package/src/lib/components/deprecated-components/cauca-input-multiple-langue/cauca-input-multiple-langue.component.html +8 -0
  81. package/src/lib/components/deprecated-components/cauca-input-multiple-langue/cauca-input-multiple-langue.component.scss +3 -0
  82. package/src/lib/components/deprecated-components/cauca-input-multiple-langue/cauca-input-multiple-langue.component.spec.ts +35 -0
  83. package/src/lib/components/deprecated-components/cauca-input-multiple-langue/cauca-input-multiple-langue.component.ts +57 -0
  84. package/src/lib/components/deprecated-components/cauca-menu-sidebar/cauca-menu-sidebar.component.html +19 -0
  85. package/src/lib/components/deprecated-components/cauca-menu-sidebar/cauca-menu-sidebar.component.scss +142 -0
  86. package/src/lib/components/deprecated-components/cauca-menu-sidebar/cauca-menu-sidebar.component.spec.ts +30 -0
  87. package/src/lib/components/deprecated-components/cauca-menu-sidebar/cauca-menu-sidebar.component.ts +112 -0
  88. package/src/lib/components/deprecated-components/cauca-menu-vertical/cauca-menu-vertical.component.html +26 -0
  89. package/src/lib/components/deprecated-components/cauca-menu-vertical/cauca-menu-vertical.component.scss +52 -0
  90. package/src/lib/components/deprecated-components/cauca-menu-vertical/cauca-menu-vertical.component.spec.ts +28 -0
  91. package/src/lib/components/deprecated-components/cauca-menu-vertical/cauca-menu-vertical.component.ts +53 -0
  92. package/src/lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.html +7 -0
  93. package/src/lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.scss +4 -0
  94. package/src/lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.spec.ts +39 -0
  95. package/src/lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.ts +20 -0
  96. package/src/lib/components/deprecated-components/cauca-slideshow/cauca-slideshow.component.html +7 -0
  97. package/src/lib/components/deprecated-components/cauca-slideshow/cauca-slideshow.component.scss +41 -0
  98. package/src/lib/components/deprecated-components/cauca-slideshow/cauca-slideshow.component.spec.ts +24 -0
  99. package/src/lib/components/deprecated-components/cauca-slideshow/cauca-slideshow.component.ts +67 -0
  100. package/src/lib/components/deprecated-components/shared/models/menu-item.ts +11 -0
  101. package/src/lib/components/deprecated-components/shared/models/simple-dialog-data.ts +5 -0
  102. package/src/lib/components/dialogs/alert-dialog/alert-dialog.component.html +10 -0
  103. package/src/lib/components/dialogs/alert-dialog/alert-dialog.component.scss +14 -0
  104. package/src/lib/components/dialogs/alert-dialog/alert-dialog.component.spec.ts +90 -0
  105. package/src/lib/components/dialogs/alert-dialog/alert-dialog.component.ts +41 -0
  106. package/src/lib/components/dialogs/confirm-dialog/confirm-dialog.component.html +11 -0
  107. package/src/lib/components/dialogs/confirm-dialog/confirm-dialog.component.scss +29 -0
  108. package/src/lib/components/dialogs/confirm-dialog/confirm-dialog.component.spec.ts +137 -0
  109. package/src/lib/components/dialogs/confirm-dialog/confirm-dialog.component.ts +47 -0
  110. package/src/lib/components/dialogs/delete-dialog/delete-dialog.component.html +17 -0
  111. package/src/lib/components/dialogs/delete-dialog/delete-dialog.component.scss +14 -0
  112. package/src/lib/components/dialogs/delete-dialog/delete-dialog.component.spec.ts +96 -0
  113. package/src/lib/components/dialogs/delete-dialog/delete-dialog.component.ts +40 -0
  114. package/src/lib/components/dialogs/delete-dialog/models/delete-dialog-data.spec.ts +7 -0
  115. package/src/lib/components/dialogs/delete-dialog/models/delete-dialog-data.ts +5 -0
  116. package/src/lib/components/dialogs/dialog-styles.css +9 -0
  117. package/src/lib/components/dialogs/dialog-styles.scss +9 -0
  118. package/src/lib/components/dialogs/error-dialog/error-dialog.component.html +10 -0
  119. package/src/lib/components/dialogs/error-dialog/error-dialog.component.scss +10 -0
  120. package/src/lib/components/dialogs/error-dialog/error-dialog.component.spec.ts +91 -0
  121. package/src/lib/components/dialogs/error-dialog/error-dialog.component.ts +32 -0
  122. package/src/lib/components/dialogs/services/dialog.service.spec.ts +82 -0
  123. package/src/lib/components/dialogs/services/dialog.service.ts +107 -0
  124. package/src/lib/components/dialogs/text-input-dialog/text-input-dialog.component.html +24 -0
  125. package/src/lib/components/dialogs/text-input-dialog/text-input-dialog.component.scss +22 -0
  126. package/src/lib/components/dialogs/text-input-dialog/text-input-dialog.component.spec.ts +126 -0
  127. package/src/lib/components/dialogs/text-input-dialog/text-input-dialog.component.ts +66 -0
  128. package/src/lib/components/inputs/color-picker/color-picker.component.html +9 -0
  129. package/src/lib/components/inputs/color-picker/color-picker.component.scss +0 -0
  130. package/src/lib/components/inputs/color-picker/color-picker.component.spec.ts +29 -0
  131. package/src/lib/components/inputs/color-picker/color-picker.component.ts +111 -0
  132. package/src/lib/components/inputs/date-range-picker/date-range-picker.component.html +13 -0
  133. package/src/lib/components/inputs/date-range-picker/date-range-picker.component.scss +0 -0
  134. package/src/lib/components/inputs/date-range-picker/date-range-picker.component.spec.ts +80 -0
  135. package/src/lib/components/inputs/date-range-picker/date-range-picker.component.ts +46 -0
  136. package/src/lib/components/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.html +40 -0
  137. package/src/lib/components/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.scss +39 -0
  138. package/src/lib/components/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.spec.ts +135 -0
  139. package/src/lib/components/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.ts +263 -0
  140. package/src/lib/components/inputs/password/password-criteria/password-criteria.component.html +6 -0
  141. package/src/lib/components/inputs/password/password-criteria/password-criteria.component.scss +27 -0
  142. package/src/lib/components/inputs/password/password-criteria/password-criteria.component.spec.ts +90 -0
  143. package/src/lib/components/inputs/password/password-criteria/password-criteria.component.ts +17 -0
  144. package/src/lib/components/inputs/password/password-criteria-viewer/password-criteria-viewer.component.html +5 -0
  145. package/src/lib/components/inputs/password/password-criteria-viewer/password-criteria-viewer.component.scss +8 -0
  146. package/src/lib/components/inputs/password/password-criteria-viewer/password-criteria-viewer.component.spec.ts +98 -0
  147. package/src/lib/components/inputs/password/password-criteria-viewer/password-criteria-viewer.component.ts +16 -0
  148. package/src/lib/components/inputs/password/password-input/password-input.component.html +11 -0
  149. package/src/lib/components/inputs/password/password-input/password-input.component.scss +12 -0
  150. package/src/lib/components/inputs/password/password-input/password-input.component.spec.ts +141 -0
  151. package/src/lib/components/inputs/password/password-input/password-input.component.ts +67 -0
  152. package/src/lib/components/inputs/password/password-selection/password-selection.component.html +15 -0
  153. package/src/lib/components/inputs/password/password-selection/password-selection.component.scss +32 -0
  154. package/src/lib/components/inputs/password/password-selection/password-selection.component.spec.ts +138 -0
  155. package/src/lib/components/inputs/password/password-selection/password-selection.component.ts +100 -0
  156. package/src/lib/components/inputs/select-with-search/select-with-search.component.html +19 -0
  157. package/src/lib/components/inputs/select-with-search/select-with-search.component.scss +0 -0
  158. package/src/lib/components/inputs/select-with-search/select-with-search.component.spec.ts +213 -0
  159. package/src/lib/components/inputs/select-with-search/select-with-search.component.ts +108 -0
  160. package/src/lib/components/layout/expandable-panel/expandable-panel.component.html +12 -0
  161. package/src/lib/components/layout/expandable-panel/expandable-panel.component.scss +43 -0
  162. package/src/lib/components/layout/expandable-panel/expandable-panel.component.spec.ts +48 -0
  163. package/src/lib/components/layout/expandable-panel/expandable-panel.component.ts +19 -0
  164. package/src/lib/components/layout/group-container/group-container.component.html +6 -0
  165. package/src/lib/components/layout/group-container/group-container.component.scss +22 -0
  166. package/src/lib/components/layout/group-container/group-container.component.spec.ts +34 -0
  167. package/src/lib/components/layout/group-container/group-container.component.ts +14 -0
  168. package/src/lib/components/layout/menu-expandable-panel/menu-expandable-panel.component.html +13 -0
  169. package/src/lib/components/layout/menu-expandable-panel/menu-expandable-panel.component.scss +27 -0
  170. package/src/lib/components/layout/menu-expandable-panel/menu-expandable-panel.component.spec.ts +144 -0
  171. package/src/lib/components/layout/menu-expandable-panel/menu-expandable-panel.component.ts +52 -0
  172. package/src/lib/components/layout/menu-expandable-panel-item/menu-expandable-panel-item.component.html +4 -0
  173. package/src/lib/components/layout/menu-expandable-panel-item/menu-expandable-panel-item.component.scss +10 -0
  174. package/src/lib/components/layout/menu-expandable-panel-item/menu-expandable-panel-item.component.spec.ts +80 -0
  175. package/src/lib/components/layout/menu-expandable-panel-item/menu-expandable-panel-item.component.ts +28 -0
  176. package/src/lib/components/layout/page-title/page-title.component.html +28 -0
  177. package/src/lib/components/layout/page-title/page-title.component.scss +40 -0
  178. package/src/lib/components/layout/page-title/page-title.component.spec.ts +162 -0
  179. package/src/lib/components/layout/page-title/page-title.component.ts +28 -0
  180. package/src/lib/components/layout/sections/main-section/main-section.component.html +6 -0
  181. package/src/lib/components/layout/sections/main-section/main-section.component.scss +27 -0
  182. package/src/lib/components/layout/sections/main-section/main-section.component.spec.ts +42 -0
  183. package/src/lib/components/layout/sections/main-section/main-section.component.ts +13 -0
  184. package/src/lib/components/layout/sections/section-column/section-column.component.html +3 -0
  185. package/src/lib/components/layout/sections/section-column/section-column.component.scss +18 -0
  186. package/src/lib/components/layout/sections/section-column/section-column.component.spec.ts +35 -0
  187. package/src/lib/components/layout/sections/section-column/section-column.component.ts +12 -0
  188. package/src/lib/components/layout/sections/section-field/section-field.component.html +21 -0
  189. package/src/lib/components/layout/sections/section-field/section-field.component.scss +44 -0
  190. package/src/lib/components/layout/sections/section-field/section-field.component.spec.ts +74 -0
  191. package/src/lib/components/layout/sections/section-field/section-field.component.ts +22 -0
  192. package/src/lib/components/list-paginator/list-paginator.component.html +16 -0
  193. package/src/lib/components/list-paginator/list-paginator.component.scss +46 -0
  194. package/src/lib/components/list-paginator/list-paginator.component.spec.ts +248 -0
  195. package/src/lib/components/list-paginator/list-paginator.component.ts +81 -0
  196. package/src/lib/components/misc/loading-error/loading-error.component.html +11 -0
  197. package/src/lib/components/misc/loading-error/loading-error.component.scss +0 -0
  198. package/src/lib/components/misc/loading-error/loading-error.component.spec.ts +75 -0
  199. package/src/lib/components/misc/loading-error/loading-error.component.ts +18 -0
  200. package/src/lib/components/misc/loading-spinner-indicator/loading-spinner-indicator.component.html +3 -0
  201. package/src/lib/components/misc/loading-spinner-indicator/loading-spinner-indicator.component.scss +0 -0
  202. package/src/lib/components/misc/loading-spinner-indicator/loading-spinner-indicator.component.spec.ts +43 -0
  203. package/src/lib/components/misc/loading-spinner-indicator/loading-spinner-indicator.component.ts +16 -0
  204. package/src/lib/components/misc/snack-bar/snack-bar.component.html +16 -0
  205. package/src/lib/components/misc/snack-bar/snack-bar.component.scss +84 -0
  206. package/src/lib/components/misc/snack-bar/snack-bar.component.spec.ts +136 -0
  207. package/src/lib/components/misc/snack-bar/snack-bar.component.ts +39 -0
  208. package/src/lib/components/notifications/saving-confirmed-box/saving-confirmed-box.component.html +11 -0
  209. package/src/lib/components/notifications/saving-confirmed-box/saving-confirmed-box.component.scss +0 -0
  210. package/src/lib/components/notifications/saving-confirmed-box/saving-confirmed-box.component.spec.ts +67 -0
  211. package/src/lib/components/notifications/saving-confirmed-box/saving-confirmed-box.component.ts +15 -0
  212. package/src/lib/components/notifications/saving-error-box/saving-error-box.component.html +11 -0
  213. package/src/lib/components/notifications/saving-error-box/saving-error-box.component.scss +0 -0
  214. package/src/lib/components/notifications/saving-error-box/saving-error-box.component.spec.ts +77 -0
  215. package/src/lib/components/notifications/saving-error-box/saving-error-box.component.ts +17 -0
  216. package/src/lib/components/presenters/badge/badge.component.html +6 -0
  217. package/src/lib/components/presenters/badge/badge.component.scss +10 -0
  218. package/src/lib/components/presenters/badge/badge.component.spec.ts +41 -0
  219. package/src/lib/components/presenters/badge/badge.component.ts +18 -0
  220. package/src/lib/components/presenters/icon/icon.component.scss +9 -0
  221. package/src/lib/components/presenters/icon/icon.component.spec.ts +38 -0
  222. package/src/lib/components/presenters/icon/icon.component.ts +37 -0
  223. package/src/lib/core/breadcrumb.service.spec.ts +35 -0
  224. package/src/lib/core/breadcrumb.service.ts +24 -0
  225. package/src/lib/core/directives/auto-trim-and-lower.directive.spec.ts +22 -0
  226. package/src/lib/core/directives/auto-trim-and-lower.directive.ts +19 -0
  227. package/src/lib/core/directives/form-error/form-error.module.ts +21 -0
  228. package/src/lib/core/directives/form-error/has-error-root.directive.ts +29 -0
  229. package/src/lib/core/directives/form-error/has-error.directive.ts +95 -0
  230. package/src/lib/core/loading-state.service.spec.ts +57 -0
  231. package/src/lib/core/loading-state.service.ts +44 -0
  232. package/src/lib/core/models/breadcrumb-location.ts +6 -0
  233. package/src/lib/core/models/password-validation.ts +20 -0
  234. package/src/lib/core/validators/password/password-validator.spec.ts +155 -0
  235. package/src/lib/core/validators/password/password-validator.ts +30 -0
  236. package/src/lib/provide-cauca-material.ts +10 -0
  237. package/src/public-api.ts +74 -0
  238. package/src/test.ts +17 -0
  239. package/tsconfig.lib.json +22 -0
  240. package/tsconfig.lib.prod.json +4 -0
  241. package/tsconfig.spec.json +17 -0
  242. package/LICENSE +0 -21
  243. package/fesm2022/cauca-911-material.mjs +0 -4640
  244. package/fesm2022/cauca-911-material.mjs.map +0 -1
  245. package/index.d.ts +0 -795
  246. /package/{assets → src/assets}/images/loading.gif +0 -0
package/.eslintrc.json ADDED
@@ -0,0 +1,77 @@
1
+ {
2
+ "extends": "../../.eslintrc.json",
3
+ "ignorePatterns": [
4
+ "!**/*",
5
+ "**/*.spec.ts",
6
+ "**/test.ts",
7
+ "build/**/*",
8
+ "dist/**/*"
9
+ ],
10
+ "overrides": [
11
+ {
12
+ "files": [
13
+ "*.ts"
14
+ ],
15
+ "parserOptions": {
16
+ "project": [
17
+ "projects/cauca-material/tsconfig.lib.json"
18
+ ]
19
+ },
20
+ "rules": {
21
+ "@angular-eslint/component-selector": [
22
+ "error",
23
+ {
24
+ "type": "element",
25
+ "prefix": "cauca"
26
+ }
27
+ ],
28
+ "@angular-eslint/directive-selector": [
29
+ "error",
30
+ {
31
+ "type": "attribute",
32
+ "style": "camelCase"
33
+ }
34
+ ],
35
+ "@angular-eslint/prefer-standalone": "off",
36
+ "@typescript-eslint/consistent-type-definitions": "error",
37
+ "@typescript-eslint/dot-notation": "off",
38
+ "@typescript-eslint/explicit-member-accessibility": [
39
+ "error",
40
+ {
41
+ "accessibility": "explicit"
42
+ }
43
+ ],
44
+ "@typescript-eslint/no-inferrable-types": "off",
45
+ "@typescript-eslint/member-ordering": [
46
+ "error", {
47
+ "default": [
48
+ "signature",
49
+ "public-field",
50
+ "protected-field",
51
+ "private-field",
52
+ ["get", "set"],
53
+ "constructor",
54
+ "public-method",
55
+ "protected-method",
56
+ "private-method"
57
+ ]
58
+ }
59
+ ],
60
+ "brace-style": [
61
+ "error",
62
+ "1tbs"
63
+ ],
64
+ "id-blacklist": "off",
65
+ "id-match": "off",
66
+ "no-underscore-dangle": "off",
67
+ "@angular-eslint/prefer-inject": "off"
68
+ }
69
+ },
70
+ {
71
+ "files": [
72
+ "*.html"
73
+ ],
74
+ "rules": {}
75
+ }
76
+ ]
77
+ }
package/README.md CHANGED
@@ -1,5 +1,24 @@
1
- # @cauca-911/material
2
-
3
- Run `npm install @cauca-911/material --save` to add this library to your project
4
-
5
- ## To use this library, you need to import the module with specific configuration
1
+ # CaucaMaterial
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.6.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project cauca-material` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project cauca-material`.
8
+ > Note: Don't forget to add `--project cauca-material` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build cauca-material` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build cauca-material`, go to the dist folder `cd dist/cauca-material` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test cauca-material` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
@@ -0,0 +1,5 @@
1
+ # @cauca-911/material
2
+
3
+ Run `npm install @cauca-911/material --save` to add this library to your project
4
+
5
+ ## To use this library, you need to import the module with specific configuration
package/karma.conf.js ADDED
@@ -0,0 +1,50 @@
1
+ // Karma configuration file, see link for more information
2
+ // https://karma-runner.github.io/1.0/config/configuration-file.html
3
+
4
+ module.exports = function (config) {
5
+ config.set({
6
+ basePath: '',
7
+ frameworks: ['jasmine', '@angular-devkit/build-angular'],
8
+ plugins: [
9
+ require('karma-jasmine'),
10
+ require('karma-chrome-launcher'),
11
+ require('karma-jasmine-html-reporter'),
12
+ require('karma-coverage'),
13
+ require('@angular-devkit/build-angular/plugins/karma')
14
+ ],
15
+ client: {
16
+ clearContext: false // leave Jasmine Spec Runner output visible in browser
17
+ },
18
+ coverageReporter: {
19
+ dir: 'build/reports/coverage',
20
+ reporters: [
21
+ { type: 'html', subdir: 'report-html' },
22
+ { type: 'lcov', subdir: 'report-lcov' }
23
+ ]
24
+ },
25
+ reporters: ['progress', 'kjhtml', 'coverage'],
26
+ port: 9876,
27
+ colors: true,
28
+ logLevel: config.LOG_INFO,
29
+ autoWatch: true,
30
+ browsers: ['Chrome'],
31
+ customLaunchers: {
32
+ ChromeHeadlessNoSandbox: {
33
+ base: 'ChromeHeadless',
34
+ flags: [
35
+ '--no-sandbox',
36
+ '--disable-setuid-sandbox',
37
+ '--disable-extensions',
38
+ '--disable-web-security',
39
+ '--disable-gpu',
40
+ '--no-proxy-server'
41
+ ]
42
+ }
43
+ },
44
+ singleRun: false,
45
+ restartOnFileChange: true,
46
+ captureTimeout: 120000,
47
+ browserDisconnectTimeout: 20000,
48
+ browserNoActivityTimeout: 120000,
49
+ });
50
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "dest": "../../dist/cauca-material",
4
+ "lib": {
5
+ "entryFile": "src/public-api.ts"
6
+ }
7
+ }
package/package.json CHANGED
@@ -1,39 +1,24 @@
1
- {
2
- "name": "@cauca-911/material",
3
- "version": "20.2.12",
4
- "peerDependencies": {
5
- "@angular/common": ">=20.2.1",
6
- "@angular/core": ">=20.2.1",
7
- "@angular/material": ">=20.2.0",
8
- "@cauca-911/core": ">=20.2.0",
9
- "ngx-mat-select-search": ">=8.0.0",
10
- "ngx-color-picker": ">=20.1.1",
11
- "@fortawesome/angular-fontawesome": "^3.0.0"
12
- },
13
- "homepage": "https://cauca.ca",
14
- "license": "SEE LICENSE IN LICENSE",
15
- "dependencies": {
16
- "tslib": ">=2.6.2"
17
- },
18
- "keywords": [
19
- "CAUCA",
20
- "cauca-material",
21
- "cauca-911/material",
22
- "material"
23
- ],
24
- "module": "fesm2022/cauca-911-material.mjs",
25
- "typings": "index.d.ts",
26
- "exports": {
27
- "./package.json": {
28
- "default": "./package.json"
29
- },
30
- ".": {
31
- "types": "./index.d.ts",
32
- "default": "./fesm2022/cauca-911-material.mjs"
33
- }
34
- },
35
- "sideEffects": false,
36
- "scripts": {
37
- "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with partial compilation mode, before attempting to publish.\\n')\" && exit 1"
38
- }
1
+ {
2
+ "name": "@cauca-911/material",
3
+ "version": "20.2.13",
4
+ "peerDependencies": {
5
+ "@angular/common": ">=20.2.1",
6
+ "@angular/core": ">=20.2.1",
7
+ "@angular/material": ">=20.2.0",
8
+ "@cauca-911/core": ">=20.2.0",
9
+ "ngx-mat-select-search": ">=8.0.0",
10
+ "ngx-color-picker": ">=20.1.1",
11
+ "@fortawesome/angular-fontawesome": "^3.0.0"
12
+ },
13
+ "homepage": "https://cauca.ca",
14
+ "license": "SEE LICENSE IN LICENSE",
15
+ "dependencies": {
16
+ "tslib": ">=2.6.2"
17
+ },
18
+ "keywords": [
19
+ "CAUCA",
20
+ "cauca-material",
21
+ "cauca-911/material",
22
+ "material"
23
+ ]
39
24
  }
@@ -1,104 +1,104 @@
1
- {
2
- "material": {
3
- "ok": "Ok",
4
- "apply": "Apply",
5
- "cancel": "Cancel",
6
- "clear": "Clear",
7
- "description": "The \"@cauca-911/material\" library add many visual component",
8
- "select": "Select",
9
- "dialogTitle": "Data acquisition",
10
- "dialogMessage": "Data acquisition in progress <img src=\"/assets/images/loading.gif\" alt=\"\" width=\"20\" />",
11
- "version": "Version",
12
- "refresh": "Refresh"
13
- },
14
- "ok": "Ok",
15
- "apply": "Apply",
16
- "cancel": "Cancel",
17
- "clear": "Clear",
18
- "description": "The \"@cauca-911/material\" library add many visual component",
19
- "select": "Select",
20
- "dialogTitle": "Data acquisition",
21
- "dialogMessage": "Data acquisition in progress <img src=\"/assets/images/loading.gif\" alt=\"\" width=\"20\" />",
22
- "version": "Version",
23
- "refresh": "Refresh",
24
- "close": "Close",
25
- "copyLink": "Copy link",
26
- "logout": "Logout",
27
- "search": "Search",
28
- "en": "English",
29
- "fr": "French",
30
- "or": "OR",
31
- "errorTitle": "Error",
32
- "edit": "Edit",
33
- "delete": "Delete",
34
- "save": "Save",
35
- "yes": "Yes",
36
- "no": "No",
37
- "dateRangeSelectorLabel": "Dates",
38
- "errorDialog": {
39
- "titleError": "Deletion Error",
40
- "messageError": "An error occurred while deleting \"{{itemName}}\". Please try again later."
41
- },
42
- "savingSuccessNotification": {
43
- "title": "Saving",
44
- "message": "The save was successful."
45
- },
46
- "deleteDialog": {
47
- "titleFemale": "Delete {{itemType}}",
48
- "titleMale": "Delete {{itemType}}",
49
- "message": "Are you sure you want to delete \"{{itemName}}\"?",
50
- "titleError": "Unable to delete",
51
- "messageError": "An error occurred while deleting the item \"{{itemName}}\""
52
- },
53
- "cancelEditionDialog": {
54
- "title": "Cancel confirmation",
55
- "message": "You have unsaved changes, are you sure you want to undo them ?"
56
- },
57
- "validationErrorDialog": {
58
- "title": "Invalid data",
59
- "message": "You cannot save because you have invalid information.",
60
- "messageNext": "You cannot continue because you have invalid information."
61
- },
62
- "alertDialog": {
63
- "errorTitle": "Error",
64
- "noResult": "No results",
65
- "deleteErrorMessage": "An error has occured while deleting item, please try again.",
66
- "genericErrorMessage": "An error has occured, please try again.",
67
- "saveErrorMessage": "An error has occured while saving data, please try again.",
68
- "loadErrorMessage": "An error has occured while loading data, please try again."
69
- },
70
- "generalError": {
71
- "errorAlertTitle": "Error",
72
- "loadingErrorAlertTitle": "Loading error",
73
- "loadingErrorAlertMessage": "An alert has occured while loading date. Please try again.",
74
- "savingErrorAlertTitle": "Saving error",
75
- "savingErrorAlertMessage": "An alert has occured while saving date. Please try again.",
76
- "retryButtonLabel": "Retry"
77
- },
78
- "error": {
79
- "requiredField": "Required field.",
80
- "maxLength": "Value must have less than {{value}} characters.",
81
- "valueMin": "Value below minimum",
82
- "valueMax": "Value over maximum",
83
- "invalidEmail": "Invalid email",
84
- "invalidPhoneNumber": "Invalid phone number",
85
- "min": "Minimum value: {{value}}",
86
- "max": "Maximum value: {{value}}",
87
- "length": "Length must not exceed {{value}} characters.",
88
- "identicalPassword": "Same passwords",
89
- "minimumCharacters": "Minimum 13 characters",
90
- "minimumNumeric": "Minimum 1 numbers (0-9)",
91
- "minimumSpecialCharacter": "Minimum 1 special character (!, @, $, ...)",
92
- "minimumUpperAndLowercase": "Minimum 1 uppercase et 1 lowercase (A, z)"
93
- },
94
- "passwordEdition" : {
95
- "passwordSelection": "Please choose a password.",
96
- "password": "Password",
97
- "passwordConfirmation": "Password confirmation",
98
- "minimumCharacters": "Minimum 13 characters",
99
- "minimumOneNumeric": "Minimum 1 number (0-9)",
100
- "minimumOneSpecialCharacter": "Minimum 1 special character (!, @, $, etc.)",
101
- "needLowerAndUppercase": "Minimum 1 uppercase and 1 lowercase (A, z)",
102
- "equalPasswords": "Same passwords"
103
- }
104
- }
1
+ {
2
+ "material": {
3
+ "ok": "Ok",
4
+ "apply": "Apply",
5
+ "cancel": "Cancel",
6
+ "clear": "Clear",
7
+ "description": "The \"@cauca-911/material\" library add many visual component",
8
+ "select": "Select",
9
+ "dialogTitle": "Data acquisition",
10
+ "dialogMessage": "Data acquisition in progress <img src=\"/assets/images/loading.gif\" alt=\"\" width=\"20\" />",
11
+ "version": "Version",
12
+ "refresh": "Refresh"
13
+ },
14
+ "ok": "Ok",
15
+ "apply": "Apply",
16
+ "cancel": "Cancel",
17
+ "clear": "Clear",
18
+ "description": "The \"@cauca-911/material\" library add many visual component",
19
+ "select": "Select",
20
+ "dialogTitle": "Data acquisition",
21
+ "dialogMessage": "Data acquisition in progress <img src=\"/assets/images/loading.gif\" alt=\"\" width=\"20\" />",
22
+ "version": "Version",
23
+ "refresh": "Refresh",
24
+ "close": "Close",
25
+ "copyLink": "Copy link",
26
+ "logout": "Logout",
27
+ "search": "Search",
28
+ "en": "English",
29
+ "fr": "French",
30
+ "or": "OR",
31
+ "errorTitle": "Error",
32
+ "edit": "Edit",
33
+ "delete": "Delete",
34
+ "save": "Save",
35
+ "yes": "Yes",
36
+ "no": "No",
37
+ "dateRangeSelectorLabel": "Dates",
38
+ "errorDialog": {
39
+ "titleError": "Deletion Error",
40
+ "messageError": "An error occurred while deleting \"{{itemName}}\". Please try again later."
41
+ },
42
+ "savingSuccessNotification": {
43
+ "title": "Saving",
44
+ "message": "The save was successful."
45
+ },
46
+ "deleteDialog": {
47
+ "titleFemale": "Delete {{itemType}}",
48
+ "titleMale": "Delete {{itemType}}",
49
+ "message": "Are you sure you want to delete \"{{itemName}}\"?",
50
+ "titleError": "Unable to delete",
51
+ "messageError": "An error occurred while deleting the item \"{{itemName}}\""
52
+ },
53
+ "cancelEditionDialog": {
54
+ "title": "Cancel confirmation",
55
+ "message": "You have unsaved changes, are you sure you want to undo them ?"
56
+ },
57
+ "validationErrorDialog": {
58
+ "title": "Invalid data",
59
+ "message": "You cannot save because you have invalid information.",
60
+ "messageNext": "You cannot continue because you have invalid information."
61
+ },
62
+ "alertDialog": {
63
+ "errorTitle": "Error",
64
+ "noResult": "No results",
65
+ "deleteErrorMessage": "An error has occured while deleting item, please try again.",
66
+ "genericErrorMessage": "An error has occured, please try again.",
67
+ "saveErrorMessage": "An error has occured while saving data, please try again.",
68
+ "loadErrorMessage": "An error has occured while loading data, please try again."
69
+ },
70
+ "generalError": {
71
+ "errorAlertTitle": "Error",
72
+ "loadingErrorAlertTitle": "Loading error",
73
+ "loadingErrorAlertMessage": "An alert has occured while loading date. Please try again.",
74
+ "savingErrorAlertTitle": "Saving error",
75
+ "savingErrorAlertMessage": "An alert has occured while saving date. Please try again.",
76
+ "retryButtonLabel": "Retry"
77
+ },
78
+ "error": {
79
+ "requiredField": "Required field.",
80
+ "maxLength": "Value must have less than {{value}} characters.",
81
+ "valueMin": "Value below minimum",
82
+ "valueMax": "Value over maximum",
83
+ "invalidEmail": "Invalid email",
84
+ "invalidPhoneNumber": "Invalid phone number",
85
+ "min": "Minimum value: {{value}}",
86
+ "max": "Maximum value: {{value}}",
87
+ "length": "Length must not exceed {{value}} characters.",
88
+ "identicalPassword": "Same passwords",
89
+ "minimumCharacters": "Minimum 13 characters",
90
+ "minimumNumeric": "Minimum 1 numbers (0-9)",
91
+ "minimumSpecialCharacter": "Minimum 1 special character (!, @, $, ...)",
92
+ "minimumUpperAndLowercase": "Minimum 1 uppercase et 1 lowercase (A, z)"
93
+ },
94
+ "passwordEdition" : {
95
+ "passwordSelection": "Please choose a password.",
96
+ "password": "Password",
97
+ "passwordConfirmation": "Password confirmation",
98
+ "minimumCharacters": "Minimum 13 characters",
99
+ "minimumOneNumeric": "Minimum 1 number (0-9)",
100
+ "minimumOneSpecialCharacter": "Minimum 1 special character (!, @, $, etc.)",
101
+ "needLowerAndUppercase": "Minimum 1 uppercase and 1 lowercase (A, z)",
102
+ "equalPasswords": "Same passwords"
103
+ }
104
+ }