@cauca-911/material 21.0.1-beta.4 → 21.0.1-beta.5

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 (238) hide show
  1. package/.eslintrc.json +79 -0
  2. package/README_PACKAGE.md +5 -0
  3. package/karma.conf.js +50 -0
  4. package/ng-package.json +7 -0
  5. package/package.json +2 -17
  6. package/src/assets/i18n/cauca/en-material.json +104 -0
  7. package/src/assets/i18n/cauca/es-material.json +104 -0
  8. package/src/assets/i18n/cauca/fr-material.json +106 -0
  9. package/src/assets/images/loading.gif +0 -0
  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 +142 -0
  18. package/src/lib/components/button/button.component.ts +22 -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 +77 -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 +96 -0
  71. package/src/lib/components/cauca-date-time-picker/components/dialog-date-time-picker/dialog-date-time-picker.component.ts +228 -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 +105 -0
  75. package/src/lib/components/cauca-date-time-picker/components/mobile-time-picker/mobile-time-picker.component.ts +48 -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 +14 -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 +12 -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-vertical/cauca-menu-vertical.component.html +49 -0
  85. package/src/lib/components/deprecated-components/cauca-menu-vertical/cauca-menu-vertical.component.ts +56 -0
  86. package/src/lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.html +11 -0
  87. package/src/lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.scss +4 -0
  88. package/src/lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.spec.ts +39 -0
  89. package/src/lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.ts +20 -0
  90. package/src/lib/components/deprecated-components/cauca-slideshow/cauca-slideshow.component.html +7 -0
  91. package/src/lib/components/deprecated-components/cauca-slideshow/cauca-slideshow.component.scss +41 -0
  92. package/src/lib/components/deprecated-components/cauca-slideshow/cauca-slideshow.component.spec.ts +24 -0
  93. package/src/lib/components/deprecated-components/cauca-slideshow/cauca-slideshow.component.ts +67 -0
  94. package/src/lib/components/deprecated-components/shared/models/menu-item.ts +11 -0
  95. package/src/lib/components/deprecated-components/shared/models/simple-dialog-data.ts +5 -0
  96. package/src/lib/components/dialogs/alert-dialog/alert-dialog.component.html +10 -0
  97. package/src/lib/components/dialogs/alert-dialog/alert-dialog.component.scss +14 -0
  98. package/src/lib/components/dialogs/alert-dialog/alert-dialog.component.spec.ts +90 -0
  99. package/src/lib/components/dialogs/alert-dialog/alert-dialog.component.ts +41 -0
  100. package/src/lib/components/dialogs/confirm-dialog/confirm-dialog.component.html +11 -0
  101. package/src/lib/components/dialogs/confirm-dialog/confirm-dialog.component.scss +29 -0
  102. package/src/lib/components/dialogs/confirm-dialog/confirm-dialog.component.spec.ts +137 -0
  103. package/src/lib/components/dialogs/confirm-dialog/confirm-dialog.component.ts +47 -0
  104. package/src/lib/components/dialogs/delete-dialog/delete-dialog.component.html +17 -0
  105. package/src/lib/components/dialogs/delete-dialog/delete-dialog.component.scss +14 -0
  106. package/src/lib/components/dialogs/delete-dialog/delete-dialog.component.spec.ts +96 -0
  107. package/src/lib/components/dialogs/delete-dialog/delete-dialog.component.ts +40 -0
  108. package/src/lib/components/dialogs/delete-dialog/models/delete-dialog-data.spec.ts +7 -0
  109. package/src/lib/components/dialogs/delete-dialog/models/delete-dialog-data.ts +5 -0
  110. package/src/lib/components/dialogs/dialog-styles.css +9 -0
  111. package/src/lib/components/dialogs/dialog-styles.scss +9 -0
  112. package/src/lib/components/dialogs/error-dialog/error-dialog.component.html +10 -0
  113. package/src/lib/components/dialogs/error-dialog/error-dialog.component.scss +10 -0
  114. package/src/lib/components/dialogs/error-dialog/error-dialog.component.spec.ts +91 -0
  115. package/src/lib/components/dialogs/error-dialog/error-dialog.component.ts +32 -0
  116. package/src/lib/components/dialogs/services/dialog.service.spec.ts +82 -0
  117. package/src/lib/components/dialogs/services/dialog.service.ts +107 -0
  118. package/src/lib/components/dialogs/text-input-dialog/text-input-dialog.component.html +24 -0
  119. package/src/lib/components/dialogs/text-input-dialog/text-input-dialog.component.scss +22 -0
  120. package/src/lib/components/dialogs/text-input-dialog/text-input-dialog.component.spec.ts +126 -0
  121. package/src/lib/components/dialogs/text-input-dialog/text-input-dialog.component.ts +66 -0
  122. package/src/lib/components/inputs/color-picker/color-picker.component.html +9 -0
  123. package/src/lib/components/inputs/color-picker/color-picker.component.scss +0 -0
  124. package/src/lib/components/inputs/color-picker/color-picker.component.spec.ts +29 -0
  125. package/src/lib/components/inputs/color-picker/color-picker.component.ts +111 -0
  126. package/src/lib/components/inputs/date-range-picker/date-range-picker.component.html +13 -0
  127. package/src/lib/components/inputs/date-range-picker/date-range-picker.component.scss +0 -0
  128. package/src/lib/components/inputs/date-range-picker/date-range-picker.component.spec.ts +80 -0
  129. package/src/lib/components/inputs/date-range-picker/date-range-picker.component.ts +46 -0
  130. package/src/lib/components/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.html +40 -0
  131. package/src/lib/components/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.scss +39 -0
  132. package/src/lib/components/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.spec.ts +135 -0
  133. package/src/lib/components/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.ts +263 -0
  134. package/src/lib/components/inputs/password/password-criteria/password-criteria.component.html +6 -0
  135. package/src/lib/components/inputs/password/password-criteria/password-criteria.component.scss +27 -0
  136. package/src/lib/components/inputs/password/password-criteria/password-criteria.component.spec.ts +90 -0
  137. package/src/lib/components/inputs/password/password-criteria/password-criteria.component.ts +17 -0
  138. package/src/lib/components/inputs/password/password-criteria-viewer/password-criteria-viewer.component.html +5 -0
  139. package/src/lib/components/inputs/password/password-criteria-viewer/password-criteria-viewer.component.scss +8 -0
  140. package/src/lib/components/inputs/password/password-criteria-viewer/password-criteria-viewer.component.spec.ts +98 -0
  141. package/src/lib/components/inputs/password/password-criteria-viewer/password-criteria-viewer.component.ts +16 -0
  142. package/src/lib/components/inputs/password/password-input/password-input.component.html +11 -0
  143. package/src/lib/components/inputs/password/password-input/password-input.component.scss +12 -0
  144. package/src/lib/components/inputs/password/password-input/password-input.component.spec.ts +141 -0
  145. package/src/lib/components/inputs/password/password-input/password-input.component.ts +67 -0
  146. package/src/lib/components/inputs/password/password-selection/password-selection.component.html +15 -0
  147. package/src/lib/components/inputs/password/password-selection/password-selection.component.scss +32 -0
  148. package/src/lib/components/inputs/password/password-selection/password-selection.component.spec.ts +138 -0
  149. package/src/lib/components/inputs/password/password-selection/password-selection.component.ts +101 -0
  150. package/src/lib/components/inputs/select-with-search/select-with-search.component.html +19 -0
  151. package/src/lib/components/inputs/select-with-search/select-with-search.component.scss +0 -0
  152. package/src/lib/components/inputs/select-with-search/select-with-search.component.spec.ts +215 -0
  153. package/src/lib/components/inputs/select-with-search/select-with-search.component.ts +108 -0
  154. package/src/lib/components/layout/expandable-panel/expandable-panel.component.html +14 -0
  155. package/src/lib/components/layout/expandable-panel/expandable-panel.component.scss +48 -0
  156. package/src/lib/components/layout/expandable-panel/expandable-panel.component.spec.ts +48 -0
  157. package/src/lib/components/layout/expandable-panel/expandable-panel.component.ts +19 -0
  158. package/src/lib/components/layout/group-container/group-container.component.html +6 -0
  159. package/src/lib/components/layout/group-container/group-container.component.scss +22 -0
  160. package/src/lib/components/layout/group-container/group-container.component.spec.ts +34 -0
  161. package/src/lib/components/layout/group-container/group-container.component.ts +14 -0
  162. package/src/lib/components/layout/menu-expandable-panel/menu-expandable-panel.component.html +13 -0
  163. package/src/lib/components/layout/menu-expandable-panel/menu-expandable-panel.component.scss +27 -0
  164. package/src/lib/components/layout/menu-expandable-panel/menu-expandable-panel.component.spec.ts +144 -0
  165. package/src/lib/components/layout/menu-expandable-panel/menu-expandable-panel.component.ts +52 -0
  166. package/src/lib/components/layout/menu-expandable-panel-item/menu-expandable-panel-item.component.html +4 -0
  167. package/src/lib/components/layout/menu-expandable-panel-item/menu-expandable-panel-item.component.scss +10 -0
  168. package/src/lib/components/layout/menu-expandable-panel-item/menu-expandable-panel-item.component.spec.ts +80 -0
  169. package/src/lib/components/layout/menu-expandable-panel-item/menu-expandable-panel-item.component.ts +28 -0
  170. package/src/lib/components/layout/page-title/page-title.component.html +35 -0
  171. package/src/lib/components/layout/page-title/page-title.component.scss +40 -0
  172. package/src/lib/components/layout/page-title/page-title.component.spec.ts +162 -0
  173. package/src/lib/components/layout/page-title/page-title.component.ts +28 -0
  174. package/src/lib/components/layout/sections/main-section/main-section.component.html +6 -0
  175. package/src/lib/components/layout/sections/main-section/main-section.component.scss +27 -0
  176. package/src/lib/components/layout/sections/main-section/main-section.component.spec.ts +42 -0
  177. package/src/lib/components/layout/sections/main-section/main-section.component.ts +13 -0
  178. package/src/lib/components/layout/sections/section-column/section-column.component.html +3 -0
  179. package/src/lib/components/layout/sections/section-column/section-column.component.scss +18 -0
  180. package/src/lib/components/layout/sections/section-column/section-column.component.spec.ts +35 -0
  181. package/src/lib/components/layout/sections/section-column/section-column.component.ts +12 -0
  182. package/src/lib/components/layout/sections/section-field/section-field.component.html +21 -0
  183. package/src/lib/components/layout/sections/section-field/section-field.component.scss +44 -0
  184. package/src/lib/components/layout/sections/section-field/section-field.component.spec.ts +74 -0
  185. package/src/lib/components/layout/sections/section-field/section-field.component.ts +22 -0
  186. package/src/lib/components/list-paginator/list-paginator.component.html +16 -0
  187. package/src/lib/components/list-paginator/list-paginator.component.scss +46 -0
  188. package/src/lib/components/list-paginator/list-paginator.component.spec.ts +248 -0
  189. package/src/lib/components/list-paginator/list-paginator.component.ts +81 -0
  190. package/src/lib/components/misc/loading-error/loading-error.component.html +11 -0
  191. package/src/lib/components/misc/loading-error/loading-error.component.scss +0 -0
  192. package/src/lib/components/misc/loading-error/loading-error.component.spec.ts +75 -0
  193. package/src/lib/components/misc/loading-error/loading-error.component.ts +18 -0
  194. package/src/lib/components/misc/loading-spinner-indicator/loading-spinner-indicator.component.html +3 -0
  195. package/src/lib/components/misc/loading-spinner-indicator/loading-spinner-indicator.component.scss +0 -0
  196. package/src/lib/components/misc/loading-spinner-indicator/loading-spinner-indicator.component.spec.ts +43 -0
  197. package/src/lib/components/misc/loading-spinner-indicator/loading-spinner-indicator.component.ts +16 -0
  198. package/src/lib/components/misc/snack-bar/snack-bar.component.html +16 -0
  199. package/src/lib/components/misc/snack-bar/snack-bar.component.scss +84 -0
  200. package/src/lib/components/misc/snack-bar/snack-bar.component.spec.ts +136 -0
  201. package/src/lib/components/misc/snack-bar/snack-bar.component.ts +39 -0
  202. package/src/lib/components/notifications/saving-confirmed-box/saving-confirmed-box.component.html +11 -0
  203. package/src/lib/components/notifications/saving-confirmed-box/saving-confirmed-box.component.scss +0 -0
  204. package/src/lib/components/notifications/saving-confirmed-box/saving-confirmed-box.component.spec.ts +67 -0
  205. package/src/lib/components/notifications/saving-confirmed-box/saving-confirmed-box.component.ts +15 -0
  206. package/src/lib/components/notifications/saving-error-box/saving-error-box.component.html +11 -0
  207. package/src/lib/components/notifications/saving-error-box/saving-error-box.component.scss +0 -0
  208. package/src/lib/components/notifications/saving-error-box/saving-error-box.component.spec.ts +77 -0
  209. package/src/lib/components/notifications/saving-error-box/saving-error-box.component.ts +17 -0
  210. package/src/lib/components/presenters/badge/badge.component.html +6 -0
  211. package/src/lib/components/presenters/badge/badge.component.scss +10 -0
  212. package/src/lib/components/presenters/badge/badge.component.spec.ts +41 -0
  213. package/src/lib/components/presenters/badge/badge.component.ts +18 -0
  214. package/src/lib/components/presenters/icon/icon.component.scss +9 -0
  215. package/src/lib/components/presenters/icon/icon.component.spec.ts +38 -0
  216. package/src/lib/components/presenters/icon/icon.component.ts +37 -0
  217. package/src/lib/core/breadcrumb.service.spec.ts +35 -0
  218. package/src/lib/core/breadcrumb.service.ts +24 -0
  219. package/src/lib/core/directives/auto-trim-and-lower.directive.spec.ts +22 -0
  220. package/src/lib/core/directives/auto-trim-and-lower.directive.ts +19 -0
  221. package/src/lib/core/directives/form-error/form-error.module.ts +21 -0
  222. package/src/lib/core/directives/form-error/has-error-root.directive.ts +31 -0
  223. package/src/lib/core/directives/form-error/has-error.directive.ts +95 -0
  224. package/src/lib/core/loading-state.service.spec.ts +57 -0
  225. package/src/lib/core/loading-state.service.ts +44 -0
  226. package/src/lib/core/models/breadcrumb-location.ts +6 -0
  227. package/src/lib/core/models/password-validation.ts +20 -0
  228. package/src/lib/core/validators/password/password-validator.spec.ts +155 -0
  229. package/src/lib/core/validators/password/password-validator.ts +30 -0
  230. package/src/lib/provide-cauca-material.ts +10 -0
  231. package/src/public-api.ts +70 -0
  232. package/src/test.ts +17 -0
  233. package/tsconfig.lib.json +18 -0
  234. package/tsconfig.lib.prod.json +4 -0
  235. package/tsconfig.spec.json +17 -0
  236. package/fesm2022/cauca-911-material.mjs +0 -4323
  237. package/fesm2022/cauca-911-material.mjs.map +0 -1
  238. package/types/cauca-911-material.d.ts +0 -755
@@ -0,0 +1,30 @@
1
+ import { UntypedFormGroup } from '@angular/forms';
2
+ import { PasswordValidation } from '../../models/password-validation';
3
+
4
+ export class PasswordValidator {
5
+ public static readonly passwordMinLength = 13;
6
+
7
+ public static validate(formGroup: UntypedFormGroup): PasswordValidation {
8
+ const password = formGroup.controls['password'].value;
9
+ const confirmedPassword = formGroup.controls['confirmation'].value;
10
+ return new PasswordValidation(
11
+ password.length >= this.passwordMinLength,
12
+ this.hasNumeric(password),
13
+ this.hasLowerCaseAndUpperCase(password),
14
+ this.hasSpecialCharacter(password),
15
+ password && password === confirmedPassword,
16
+ );
17
+ }
18
+
19
+ public static hasLowerCaseAndUpperCase(password: string): boolean {
20
+ return /^(?=.*[a-z])(?=.*[A-Z])/.test(password);
21
+ }
22
+
23
+ public static hasNumeric(password: any): boolean {
24
+ return /(?=.*\d)/.test(password);
25
+ }
26
+
27
+ public static hasSpecialCharacter(password: any): boolean {
28
+ return new RegExp(/[!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?]/).test(password);
29
+ }
30
+ }
@@ -0,0 +1,10 @@
1
+ import { Provider, EnvironmentProviders } from "@angular/core";
2
+ import { provideNativeDateAdapter } from "@angular/material/core";
3
+ import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from "@angular/material/form-field";
4
+
5
+ export function provideCaucaMaterial(): (Provider | EnvironmentProviders)[] {
6
+ return [
7
+ provideNativeDateAdapter(),
8
+ { provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: { appearance: 'outline' } },
9
+ ];
10
+ }
@@ -0,0 +1,70 @@
1
+ /*
2
+ * Public API Surface of cauca-material
3
+ */
4
+
5
+ export * from './lib/cauca-material.service';
6
+ export * from './lib/cauca-material.component';
7
+ export * from './lib/components/cauca-date-time-picker/cauca-date-time-picker.component';
8
+
9
+ export * from './lib/components/buttons/basic-button/basic-button.component';
10
+ export * from './lib/components/buttons/fab-button/fab-button.component';
11
+ export * from './lib/components/buttons/flat-button/flat-button.component';
12
+ export * from './lib/components/buttons/icon-button/icon-button.component';
13
+ export * from './lib/components/buttons/link-button/link-button.component';
14
+ export * from './lib/components/buttons/menu-item/menu-item.component';
15
+ export * from './lib/components/buttons/raised-button/raised-button.component';
16
+ export * from './lib/components/buttons/refresh-button/refresh-button.component';
17
+ export * from './lib/components/buttons/round-button/round-button.component';
18
+ export * from './lib/components/buttons/stroked-button/stroked-button.component';
19
+ export * from './lib/components/button/button.component'
20
+ export * from './lib/components/dialogs/services/dialog.service';
21
+
22
+ export * from './lib/core/models/breadcrumb-location';
23
+ export * from './lib/core/breadcrumb.service';
24
+
25
+ export * from './lib/core/loading-state.service';
26
+ export * from './lib/components/misc/loading-error/loading-error.component';
27
+ export * from './lib/components/misc/loading-spinner-indicator/loading-spinner-indicator.component';
28
+ export * from './lib/components/misc/snack-bar/snack-bar.component';
29
+
30
+ export * from './lib/components/presenters/badge/badge.component';
31
+ export * from './lib/components/presenters/icon/icon.component';
32
+
33
+ export * from './lib/components/list-paginator/list-paginator.component';
34
+
35
+ export * from './lib/components/inputs/password/password-criteria-viewer/password-criteria-viewer.component';
36
+ export * from './lib/components/inputs/password/password-selection/password-selection.component';
37
+ export * from './lib/components/inputs/password/password-input/password-input.component';
38
+ export * from './lib/components/inputs/date-range-picker/date-range-picker.component';
39
+ export * from './lib/components/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component';
40
+ export * from './lib/components/inputs/color-picker/color-picker.component';
41
+ export * from './lib/components/inputs/select-with-search/select-with-search.component';
42
+
43
+ export * from './lib/components/layout/group-container/group-container.component'
44
+ export * from './lib/components/layout/sections/main-section/main-section.component';
45
+ export * from './lib/components/layout/sections/section-column/section-column.component';
46
+ export * from './lib/components/layout/sections/section-field/section-field.component';
47
+ export * from './lib/components/layout/page-title/page-title.component'
48
+ export * from './lib/components/layout/expandable-panel/expandable-panel.component';
49
+ export * from './lib/components/layout/menu-expandable-panel/menu-expandable-panel.component';
50
+ export * from './lib/components/layout/menu-expandable-panel-item/menu-expandable-panel-item.component';
51
+
52
+ export * from './lib/components/notifications/saving-confirmed-box/saving-confirmed-box.component';
53
+ export * from './lib/components/notifications/saving-error-box/saving-error-box.component';
54
+
55
+ export { ConfirmationOptions, ConfirmationResult, InputOptions } from './lib/components/dialogs/services/dialog.service';
56
+
57
+ export * from './lib/core/directives/auto-trim-and-lower.directive';
58
+ export * from './lib/core/directives/form-error/form-error.module';
59
+ export * from './lib/core/directives/form-error/has-error-root.directive';
60
+ export * from './lib/core/directives/form-error/has-error.directive';
61
+
62
+ export * from './lib/provide-cauca-material';
63
+
64
+ /* The following are deprecated components and should not be used in new project */
65
+ // CaucaInputFileComponent should be replaced with the new file picker from Mass Alert.
66
+ export * from './lib/components/deprecated-components/cauca-input-file/cauca-input-file.component';
67
+ export * from './lib/components/deprecated-components/cauca-input-multiple-langue/cauca-input-multiple-langue.component';
68
+ // Dialog service should always be used instead of this one.
69
+ export * from './lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component';
70
+ export * from './lib/components/deprecated-components/cauca-slideshow/cauca-slideshow.component';
package/src/test.ts ADDED
@@ -0,0 +1,17 @@
1
+ // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
+
3
+ import 'zone.js';
4
+ import 'zone.js/testing';
5
+ import { getTestBed } from '@angular/core/testing';
6
+ import { BrowserTestingModule, platformBrowserTesting } from '@angular/platform-browser/testing';
7
+
8
+ // First, initialize the Angular testing environment.
9
+ getTestBed().initTestEnvironment(
10
+ BrowserTestingModule,
11
+ platformBrowserTesting(),
12
+ {
13
+ errorOnUnknownElements: true,
14
+ errorOnUnknownProperties: true,
15
+ teardown: { destroyAfterEach: false }
16
+ }
17
+ );
@@ -0,0 +1,18 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "../../out-tsc/lib",
5
+ "declaration": true,
6
+ "inlineSources": true,
7
+ "types": []
8
+ },
9
+ "angularCompilerOptions": {
10
+ "skipTemplateCodegen": true,
11
+ "strictMetadataEmit": true,
12
+ "enableResourceInlining": true
13
+ },
14
+ "exclude": [
15
+ "src/test.ts",
16
+ "**/*.spec.ts"
17
+ ]
18
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "extends": "./tsconfig.lib.json",
3
+ "angularCompilerOptions": {}
4
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "../../out-tsc/spec",
5
+ "types": [
6
+ "jasmine",
7
+ "node"
8
+ ]
9
+ },
10
+ "files": [
11
+ "src/test.ts"
12
+ ],
13
+ "include": [
14
+ "**/*.spec.ts",
15
+ "**/*.d.ts"
16
+ ]
17
+ }