ngx-techlify-core 11.4.5 → 11.4.8

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 (341) hide show
  1. package/README.md +24 -24
  2. package/bundles/ngx-techlify-core.umd.js +8023 -7787
  3. package/bundles/ngx-techlify-core.umd.js.map +1 -1
  4. package/bundles/ngx-techlify-core.umd.min.js +1 -16
  5. package/bundles/ngx-techlify-core.umd.min.js.map +1 -1
  6. package/esm2015/lib/action-popup/action-popup.component.js +32 -32
  7. package/esm2015/lib/action-popup/action-popup.model.js +3 -3
  8. package/esm2015/lib/action-popup/action-popup.module.js +26 -26
  9. package/esm2015/lib/action-popup/index.js +3 -3
  10. package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.js +12 -12
  11. package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model.component.js +49 -49
  12. package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model.module.js +25 -25
  13. package/esm2015/lib/audit-log/audit-log-list/audit-log-list-routing.module.js +12 -12
  14. package/esm2015/lib/audit-log/audit-log-list/audit-log-list.component.js +132 -132
  15. package/esm2015/lib/audit-log/audit-log-list/audit-log-list.module.js +29 -29
  16. package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.js +12 -12
  17. package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.js +67 -67
  18. package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.js +25 -25
  19. package/esm2015/lib/audit-log/audit-log-routing.module.js +19 -19
  20. package/esm2015/lib/audit-log/audit-log-view/audit-log-view-routing.module.js +12 -12
  21. package/esm2015/lib/audit-log/audit-log-view/audit-log-view.component.js +60 -60
  22. package/esm2015/lib/audit-log/audit-log-view/audit-log-view.module.js +21 -21
  23. package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.js +12 -12
  24. package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model.component.js +57 -57
  25. package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model.module.js +21 -21
  26. package/esm2015/lib/audit-log/audit-log.module.js +20 -20
  27. package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.js +12 -12
  28. package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.js +35 -35
  29. package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.js +21 -21
  30. package/esm2015/lib/base-model/index.js +4 -0
  31. package/esm2015/lib/base-model/techlify-form-component.class.js +51 -0
  32. package/esm2015/lib/base-model/techlify-listing-component.class.js +41 -0
  33. package/esm2015/lib/base-model/techlify-service.class.js +64 -0
  34. package/esm2015/lib/core/alert.service.js +39 -39
  35. package/esm2015/lib/core/api-prefix.interceptor.js +28 -28
  36. package/esm2015/lib/core/authentication.guard.js +39 -39
  37. package/esm2015/lib/core/authentication.service.js +59 -59
  38. package/esm2015/lib/core/cache.interceptor.js +60 -60
  39. package/esm2015/lib/core/config.service.js +47 -47
  40. package/esm2015/lib/core/core.module.js +42 -42
  41. package/esm2015/lib/core/credentials.service.js +84 -84
  42. package/esm2015/lib/core/dataManager.service.js +120 -120
  43. package/esm2015/lib/core/error-handler.interceptor.js +53 -53
  44. package/esm2015/lib/core/error-handler.service.js +60 -51
  45. package/esm2015/lib/core/form-validator.service.js +23 -23
  46. package/esm2015/lib/core/header.interceptor.js +22 -22
  47. package/esm2015/lib/core/http-cache.service.js +110 -110
  48. package/esm2015/lib/core/http.service.js +82 -82
  49. package/esm2015/lib/core/index.js +21 -21
  50. package/esm2015/lib/core/logger.service.js +100 -100
  51. package/esm2015/lib/core/route-reusable-strategy.js +35 -35
  52. package/esm2015/lib/core/snack/snack.component.js +33 -33
  53. package/esm2015/lib/core/snack/snack.module.js +25 -25
  54. package/esm2015/lib/core/storage.service.js +36 -36
  55. package/esm2015/lib/core/techlify-config.model.js +28 -26
  56. package/esm2015/lib/core/token.interceptor.js +30 -30
  57. package/esm2015/lib/data-table/data-table.component.js +190 -190
  58. package/esm2015/lib/data-table/data-table.model.js +11 -11
  59. package/esm2015/lib/data-table/data-table.module.js +25 -25
  60. package/esm2015/lib/data-table/index.js +3 -3
  61. package/esm2015/lib/date-validator.js +10 -10
  62. package/esm2015/lib/document-viewer/document-viewer.component.js +58 -58
  63. package/esm2015/lib/document-viewer/document-viewer.module.js +25 -25
  64. package/esm2015/lib/document-viewer/index.js +3 -3
  65. package/esm2015/lib/document-viewer/viewer-config.model.js +3 -3
  66. package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.js +26 -26
  67. package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.js +72 -72
  68. package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.js +23 -23
  69. package/esm2015/lib/email-subscription/email-subscription-for-user/index.js +2 -2
  70. package/esm2015/lib/email-subscription/email-subscription-routing.module.js +12 -12
  71. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.js +12 -12
  72. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.js +102 -102
  73. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.js +28 -28
  74. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.js +2 -2
  75. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.js +28 -28
  76. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.js +153 -153
  77. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.js +27 -27
  78. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.js +1 -1
  79. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.js +12 -12
  80. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type.module.js +15 -15
  81. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.js +12 -12
  82. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.js +99 -99
  83. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.js +27 -27
  84. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.js +2 -2
  85. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.js +28 -28
  86. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.js +155 -155
  87. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.js +29 -29
  88. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.js +2 -2
  89. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.js +12 -12
  90. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.js +50 -50
  91. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.js +25 -25
  92. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.js +2 -2
  93. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.js +12 -12
  94. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user.module.js +15 -15
  95. package/esm2015/lib/email-subscription/email-subscription.module.js +15 -15
  96. package/esm2015/lib/entity-files/entity-file-form/entity-file-form.component.js +138 -141
  97. package/esm2015/lib/entity-files/entity-file.service.js +42 -38
  98. package/esm2015/lib/entity-files/entity-files-view-all.component.js +208 -161
  99. package/esm2015/lib/entity-files/entity-files-view-all.module.js +34 -34
  100. package/esm2015/lib/entity-files/index.js +3 -3
  101. package/esm2015/lib/export-excel/export-excel-button/export-excel-button.component.js +32 -32
  102. package/esm2015/lib/export-excel/export-excel.module.js +17 -17
  103. package/esm2015/lib/file-dropper/file-dropper.component.js +122 -122
  104. package/esm2015/lib/file-dropper/file-dropper.model.js +3 -3
  105. package/esm2015/lib/file-dropper/file-dropper.module.js +21 -21
  106. package/esm2015/lib/file-dropper/index.js +3 -3
  107. package/esm2015/lib/import-csv/data-import/data-import.component.js +18 -18
  108. package/esm2015/lib/import-csv/failed-items-list/failed-items-list.component.js +33 -33
  109. package/esm2015/lib/import-csv/field-mapping/field-mapping.component.js +148 -148
  110. package/esm2015/lib/import-csv/import-csv-config.js +2 -2
  111. package/esm2015/lib/import-csv/import-csv.component.js +196 -196
  112. package/esm2015/lib/import-csv/import-csv.module.js +46 -46
  113. package/esm2015/lib/import-csv/import-history-list/import-history-list.component.js +71 -71
  114. package/esm2015/lib/import-csv/import-success/import-success.component.js +19 -19
  115. package/esm2015/lib/loader/index.js +2 -2
  116. package/esm2015/lib/loader/loader.component.js +22 -22
  117. package/esm2015/lib/loader/loader.module.js +21 -21
  118. package/esm2015/lib/login-history-for-user/login-history-for-user-routing.module.js +20 -20
  119. package/esm2015/lib/login-history-for-user/login-history-for-user.component.js +88 -88
  120. package/esm2015/lib/login-history-for-user/login-history-for-user.module.js +27 -27
  121. package/esm2015/lib/material.module.js +60 -60
  122. package/esm2015/lib/note/comment-form/comment-form.component.js +73 -73
  123. package/esm2015/lib/note/index.js +4 -4
  124. package/esm2015/lib/note/note-form/note-form.component.js +81 -81
  125. package/esm2015/lib/note/note-list/note-list.component.js +151 -151
  126. package/esm2015/lib/note/note.module.js +36 -36
  127. package/esm2015/lib/note/note.service.js +31 -31
  128. package/esm2015/lib/read-more/read-more.component.js +43 -43
  129. package/esm2015/lib/read-more/read-more.module.js +21 -21
  130. package/esm2015/lib/searchable-selector/index.js +3 -3
  131. package/esm2015/lib/searchable-selector/mat-select-infinite-scroll.directive.js +81 -81
  132. package/esm2015/lib/searchable-selector/searchable-selector.component.js +307 -307
  133. package/esm2015/lib/searchable-selector/searchable-selector.module.js +28 -28
  134. package/esm2015/lib/techlify-feature/on-off-switch/on-off-switch.component.js +27 -27
  135. package/esm2015/lib/techlify-feature/techlify-feature-enabled.directive.js +78 -78
  136. package/esm2015/lib/techlify-feature/techlify-feature-listing.component.js +177 -177
  137. package/esm2015/lib/techlify-feature/techlify-feature.module.js +30 -30
  138. package/esm2015/lib/techlify-feature/techlify-feature.routing.js +12 -12
  139. package/esm2015/lib/techlify-feature/techlify-feature.service.js +28 -28
  140. package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.js +15 -15
  141. package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.js +269 -269
  142. package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.js +25 -25
  143. package/esm2015/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.js +168 -168
  144. package/esm2015/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.js +29 -29
  145. package/esm2015/lib/techlify-update/techlify-update-form/techlify-update-form.component.js +114 -114
  146. package/esm2015/lib/techlify-update/techlify-update-form/techlify-update-form.module.js +28 -28
  147. package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.js +22 -22
  148. package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history.component.js +143 -143
  149. package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history.module.js +28 -28
  150. package/esm2015/lib/techlify-update/techlify-update-routing.module.js +22 -22
  151. package/esm2015/lib/techlify-update/techlify-update.module.js +30 -30
  152. package/esm2015/lib/techlify-update/techlify-update.service.js +43 -43
  153. package/esm2015/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.js +161 -161
  154. package/esm2015/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.js +82 -82
  155. package/esm2015/lib/techlify-update/update-notifier/update-notifier.component.js +62 -62
  156. package/esm2015/lib/techlify-update/update-notifier/update-notifier.module.js +29 -29
  157. package/esm2015/lib/techlify-update/update-view/update-view.component.js +36 -36
  158. package/esm2015/lib/techlify-update/update-view/update-view.module.js +24 -24
  159. package/esm2015/lib/timeline-filter/calculate-timeline.js +102 -102
  160. package/esm2015/lib/timeline-filter/index.js +4 -4
  161. package/esm2015/lib/timeline-filter/timeline-filter-routing.module.js +12 -12
  162. package/esm2015/lib/timeline-filter/timeline-filter.component.js +213 -213
  163. package/esm2015/lib/timeline-filter/timeline-filter.module.js +23 -23
  164. package/esm2015/lib/timeline-filter/timeline.model.js +18 -18
  165. package/esm2015/lib/utility/date-utils.service.js +48 -48
  166. package/esm2015/lib/utility/index.js +4 -4
  167. package/esm2015/lib/utility/num-items-selector.component.js +29 -29
  168. package/esm2015/lib/utility/number-selector.component.js +38 -38
  169. package/esm2015/lib/utility/utility.module.js +20 -20
  170. package/esm2015/ngx-techlify-core.js +59 -59
  171. package/esm2015/public-api.js +96 -95
  172. package/fesm2015/ngx-techlify-core.js +6880 -6667
  173. package/fesm2015/ngx-techlify-core.js.map +1 -1
  174. package/lib/action-popup/action-popup.component.d.ts +14 -14
  175. package/lib/action-popup/action-popup.model.d.ts +5 -5
  176. package/lib/action-popup/action-popup.module.d.ts +2 -2
  177. package/lib/action-popup/index.d.ts +2 -2
  178. package/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.d.ts +2 -2
  179. package/lib/audit-log/audit-log-for-model/audit-log-for-model.component.d.ts +12 -12
  180. package/lib/audit-log/audit-log-for-model/audit-log-for-model.module.d.ts +2 -2
  181. package/lib/audit-log/audit-log-list/audit-log-list-routing.module.d.ts +2 -2
  182. package/lib/audit-log/audit-log-list/audit-log-list.component.d.ts +32 -32
  183. package/lib/audit-log/audit-log-list/audit-log-list.module.d.ts +2 -2
  184. package/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.d.ts +2 -2
  185. package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.d.ts +19 -19
  186. package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.d.ts +2 -2
  187. package/lib/audit-log/audit-log-routing.module.d.ts +2 -2
  188. package/lib/audit-log/audit-log-view/audit-log-view-routing.module.d.ts +2 -2
  189. package/lib/audit-log/audit-log-view/audit-log-view.component.d.ts +17 -17
  190. package/lib/audit-log/audit-log-view/audit-log-view.module.d.ts +2 -2
  191. package/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.d.ts +2 -2
  192. package/lib/audit-log/audit-log-view-model/audit-log-view-model.component.d.ts +15 -15
  193. package/lib/audit-log/audit-log-view-model/audit-log-view-model.module.d.ts +2 -2
  194. package/lib/audit-log/audit-log.module.d.ts +2 -2
  195. package/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.d.ts +2 -2
  196. package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.d.ts +11 -11
  197. package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.d.ts +2 -2
  198. package/lib/base-model/index.d.ts +3 -0
  199. package/lib/base-model/techlify-form-component.class.d.ts +43 -0
  200. package/lib/base-model/techlify-listing-component.class.d.ts +47 -0
  201. package/lib/base-model/techlify-service.class.d.ts +52 -0
  202. package/lib/core/alert.service.d.ts +12 -12
  203. package/lib/core/api-prefix.interceptor.d.ts +11 -11
  204. package/lib/core/authentication.guard.d.ts +10 -10
  205. package/lib/core/authentication.service.d.ts +23 -23
  206. package/lib/core/cache.interceptor.d.ts +21 -21
  207. package/lib/core/config.service.d.ts +19 -19
  208. package/lib/core/core.module.d.ts +3 -3
  209. package/lib/core/credentials.service.d.ts +36 -36
  210. package/lib/core/dataManager.service.d.ts +70 -70
  211. package/lib/core/error-handler.interceptor.d.ts +14 -14
  212. package/lib/core/error-handler.service.d.ts +14 -12
  213. package/lib/core/form-validator.service.d.ts +8 -8
  214. package/lib/core/header.interceptor.d.ts +8 -8
  215. package/lib/core/http-cache.service.d.ts +54 -54
  216. package/lib/core/http.service.d.ts +56 -56
  217. package/lib/core/index.d.ts +20 -20
  218. package/lib/core/logger.service.d.ts +85 -85
  219. package/lib/core/route-reusable-strategy.d.ts +13 -13
  220. package/lib/core/snack/snack.component.d.ts +8 -8
  221. package/lib/core/snack/snack.module.d.ts +2 -2
  222. package/lib/core/storage.service.d.ts +15 -15
  223. package/lib/core/techlify-config.model.d.ts +18 -17
  224. package/lib/core/token.interceptor.d.ts +11 -11
  225. package/lib/data-table/data-table.component.d.ts +60 -60
  226. package/lib/data-table/data-table.model.d.ts +46 -46
  227. package/lib/data-table/data-table.module.d.ts +2 -2
  228. package/lib/data-table/index.d.ts +2 -2
  229. package/lib/date-validator.d.ts +1 -1
  230. package/lib/document-viewer/document-viewer.component.d.ts +16 -16
  231. package/lib/document-viewer/document-viewer.module.d.ts +2 -2
  232. package/lib/document-viewer/index.d.ts +2 -2
  233. package/lib/document-viewer/viewer-config.model.d.ts +5 -5
  234. package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.d.ts +7 -7
  235. package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.d.ts +17 -17
  236. package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.d.ts +2 -2
  237. package/lib/email-subscription/email-subscription-for-user/index.d.ts +1 -1
  238. package/lib/email-subscription/email-subscription-routing.module.d.ts +2 -2
  239. package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.d.ts +2 -2
  240. package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.d.ts +32 -32
  241. package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.d.ts +2 -2
  242. package/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.d.ts +1 -1
  243. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.d.ts +9 -9
  244. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.d.ts +30 -30
  245. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.d.ts +2 -2
  246. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.d.ts +1 -1
  247. package/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.d.ts +2 -2
  248. package/lib/email-subscription/email-subscription-type/email-subscription-type.module.d.ts +2 -2
  249. package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.d.ts +2 -2
  250. package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.d.ts +32 -32
  251. package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.d.ts +2 -2
  252. package/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.d.ts +1 -1
  253. package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.d.ts +9 -9
  254. package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.d.ts +32 -32
  255. package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.d.ts +2 -2
  256. package/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.d.ts +1 -1
  257. package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.d.ts +2 -2
  258. package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.d.ts +13 -13
  259. package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.d.ts +2 -2
  260. package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.d.ts +1 -1
  261. package/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.d.ts +2 -2
  262. package/lib/email-subscription/email-subscription-user/email-subscription-user.module.d.ts +2 -2
  263. package/lib/email-subscription/email-subscription.module.d.ts +2 -2
  264. package/lib/entity-files/entity-file-form/entity-file-form.component.d.ts +34 -34
  265. package/lib/entity-files/entity-file.service.d.ts +10 -10
  266. package/lib/entity-files/entity-files-view-all.component.d.ts +45 -38
  267. package/lib/entity-files/entity-files-view-all.module.d.ts +2 -2
  268. package/lib/entity-files/index.d.ts +2 -2
  269. package/lib/export-excel/export-excel-button/export-excel-button.component.d.ts +8 -8
  270. package/lib/export-excel/export-excel.module.d.ts +2 -2
  271. package/lib/file-dropper/file-dropper.component.d.ts +33 -33
  272. package/lib/file-dropper/file-dropper.model.d.ts +10 -10
  273. package/lib/file-dropper/file-dropper.module.d.ts +2 -2
  274. package/lib/file-dropper/index.d.ts +2 -2
  275. package/lib/import-csv/data-import/data-import.component.d.ts +6 -6
  276. package/lib/import-csv/failed-items-list/failed-items-list.component.d.ts +12 -12
  277. package/lib/import-csv/field-mapping/field-mapping.component.d.ts +34 -34
  278. package/lib/import-csv/import-csv-config.d.ts +17 -17
  279. package/lib/import-csv/import-csv.component.d.ts +33 -33
  280. package/lib/import-csv/import-csv.module.d.ts +2 -2
  281. package/lib/import-csv/import-history-list/import-history-list.component.d.ts +21 -21
  282. package/lib/import-csv/import-success/import-success.component.d.ts +8 -8
  283. package/lib/loader/index.d.ts +1 -1
  284. package/lib/loader/loader.component.d.ts +8 -8
  285. package/lib/loader/loader.module.d.ts +2 -2
  286. package/lib/login-history-for-user/login-history-for-user-routing.module.d.ts +2 -2
  287. package/lib/login-history-for-user/login-history-for-user.component.d.ts +23 -23
  288. package/lib/login-history-for-user/login-history-for-user.module.d.ts +2 -2
  289. package/lib/material.module.d.ts +2 -2
  290. package/lib/note/comment-form/comment-form.component.d.ts +22 -22
  291. package/lib/note/index.d.ts +3 -3
  292. package/lib/note/note-form/note-form.component.d.ts +27 -27
  293. package/lib/note/note-list/note-list.component.d.ts +28 -28
  294. package/lib/note/note.module.d.ts +2 -2
  295. package/lib/note/note.service.d.ts +9 -9
  296. package/lib/read-more/read-more.component.d.ts +12 -12
  297. package/lib/read-more/read-more.module.d.ts +2 -2
  298. package/lib/searchable-selector/index.d.ts +2 -2
  299. package/lib/searchable-selector/mat-select-infinite-scroll.directive.d.ts +23 -23
  300. package/lib/searchable-selector/searchable-selector.component.d.ts +81 -81
  301. package/lib/searchable-selector/searchable-selector.module.d.ts +2 -2
  302. package/lib/techlify-feature/on-off-switch/on-off-switch.component.d.ts +9 -9
  303. package/lib/techlify-feature/techlify-feature-enabled.directive.d.ts +17 -17
  304. package/lib/techlify-feature/techlify-feature-listing.component.d.ts +37 -37
  305. package/lib/techlify-feature/techlify-feature.module.d.ts +2 -2
  306. package/lib/techlify-feature/techlify-feature.routing.d.ts +2 -2
  307. package/lib/techlify-feature/techlify-feature.service.d.ts +8 -8
  308. package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.d.ts +12 -12
  309. package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.d.ts +76 -76
  310. package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.d.ts +2 -2
  311. package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.d.ts +58 -58
  312. package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.d.ts +2 -2
  313. package/lib/techlify-update/techlify-update-form/techlify-update-form.component.d.ts +30 -30
  314. package/lib/techlify-update/techlify-update-form/techlify-update-form.module.d.ts +2 -2
  315. package/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.d.ts +2 -2
  316. package/lib/techlify-update/techlify-update-history/techlify-update-history.component.d.ts +31 -31
  317. package/lib/techlify-update/techlify-update-history/techlify-update-history.module.d.ts +2 -2
  318. package/lib/techlify-update/techlify-update-routing.module.d.ts +2 -2
  319. package/lib/techlify-update/techlify-update.module.d.ts +2 -2
  320. package/lib/techlify-update/techlify-update.service.d.ts +13 -13
  321. package/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.d.ts +31 -31
  322. package/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.d.ts +25 -25
  323. package/lib/techlify-update/update-notifier/update-notifier.component.d.ts +16 -16
  324. package/lib/techlify-update/update-notifier/update-notifier.module.d.ts +2 -2
  325. package/lib/techlify-update/update-view/update-view.component.d.ts +14 -14
  326. package/lib/techlify-update/update-view/update-view.module.d.ts +2 -2
  327. package/lib/timeline-filter/calculate-timeline.d.ts +6 -6
  328. package/lib/timeline-filter/index.d.ts +3 -3
  329. package/lib/timeline-filter/timeline-filter-routing.module.d.ts +2 -2
  330. package/lib/timeline-filter/timeline-filter.component.d.ts +61 -61
  331. package/lib/timeline-filter/timeline-filter.module.d.ts +2 -2
  332. package/lib/timeline-filter/timeline.model.d.ts +17 -17
  333. package/lib/utility/date-utils.service.d.ts +21 -21
  334. package/lib/utility/index.d.ts +3 -3
  335. package/lib/utility/num-items-selector.component.d.ts +16 -16
  336. package/lib/utility/number-selector.component.d.ts +20 -20
  337. package/lib/utility/utility.module.d.ts +2 -2
  338. package/ngx-techlify-core.d.ts +59 -59
  339. package/ngx-techlify-core.metadata.json +1 -1
  340. package/package.json +1 -1
  341. package/public-api.d.ts +92 -91
@@ -1,14 +1,14 @@
1
- import { OnInit } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- import { ActionPopup } from './action-popup.model';
4
- export declare class ActionPopupComponent implements OnInit {
5
- dialogRef: MatDialogRef<ActionPopupComponent>;
6
- data: ActionPopup;
7
- constructor(dialogRef: MatDialogRef<ActionPopupComponent>, data: ActionPopup);
8
- ngOnInit(): void;
9
- /**Method to close dialog box */
10
- closeDialog(): void;
11
- /**Method to close dialog box with the data given from parent component
12
- */
13
- confirm(): void;
14
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import { ActionPopup } from './action-popup.model';
4
+ export declare class ActionPopupComponent implements OnInit {
5
+ dialogRef: MatDialogRef<ActionPopupComponent>;
6
+ data: ActionPopup;
7
+ constructor(dialogRef: MatDialogRef<ActionPopupComponent>, data: ActionPopup);
8
+ ngOnInit(): void;
9
+ /**Method to close dialog box */
10
+ closeDialog(): void;
11
+ /**Method to close dialog box with the data given from parent component
12
+ */
13
+ confirm(): void;
14
+ }
@@ -1,5 +1,5 @@
1
- export declare class ActionPopup {
2
- name: string;
3
- title: string;
4
- message: string;
5
- }
1
+ export declare class ActionPopup {
2
+ name: string;
3
+ title: string;
4
+ message: string;
5
+ }
@@ -1,2 +1,2 @@
1
- export declare class ActionPopupModule {
2
- }
1
+ export declare class ActionPopupModule {
2
+ }
@@ -1,2 +1,2 @@
1
- export * from './action-popup.component';
2
- export * from './action-popup.model';
1
+ export * from './action-popup.component';
2
+ export * from './action-popup.model';
@@ -1,2 +1,2 @@
1
- export declare class AuditLogForModelRoutingModule {
2
- }
1
+ export declare class AuditLogForModelRoutingModule {
2
+ }
@@ -1,12 +1,12 @@
1
- import { OnInit } from '@angular/core';
2
- import { MatDialog } from '@angular/material/dialog';
3
- export declare class AuditLogForModelComponent implements OnInit {
4
- private dialog;
5
- modelType: string;
6
- modelId: any;
7
- logView: 'recent' | 'all';
8
- constructor(dialog: MatDialog);
9
- ngOnInit(): void;
10
- getLogView(): void;
11
- getLogsView(): void;
12
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ export declare class AuditLogForModelComponent implements OnInit {
4
+ private dialog;
5
+ modelType: string;
6
+ modelId: any;
7
+ logView: 'recent' | 'all';
8
+ constructor(dialog: MatDialog);
9
+ ngOnInit(): void;
10
+ getLogView(): void;
11
+ getLogsView(): void;
12
+ }
@@ -1,2 +1,2 @@
1
- export declare class AuditLogForModelModule {
2
- }
1
+ export declare class AuditLogForModelModule {
2
+ }
@@ -1,2 +1,2 @@
1
- export declare class AuditLogListRoutingModule {
2
- }
1
+ export declare class AuditLogListRoutingModule {
2
+ }
@@ -1,32 +1,32 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { MatSort } from '@angular/material/sort';
4
- import { PageEvent } from '../../data-table/data-table.model';
5
- import { DataManager } from '../../core/dataManager.service';
6
- import { DomSanitizer } from '@angular/platform-browser';
7
- export declare class AuditLogListComponent implements OnInit, OnDestroy {
8
- private dataManager;
9
- private router;
10
- sanitizer: DomSanitizer;
11
- auditLogList: any[];
12
- objectId: any;
13
- objectType: any;
14
- showFilter: boolean;
15
- showExportButtons: boolean;
16
- userId: any;
17
- pageEvent: PageEvent;
18
- filters: any;
19
- displayedColumns: any[];
20
- sort: MatSort;
21
- constructor(dataManager: DataManager, router: Router, sanitizer: DomSanitizer);
22
- ngOnInit(): void;
23
- get excelData(): any[];
24
- changeSort(event: any): void;
25
- logClicked(log: any): void;
26
- initializeData(): Promise<void>;
27
- filterChange(event: any): void;
28
- onScroll(): void;
29
- reload(): void;
30
- getTransformedChanges(log: any): string;
31
- ngOnDestroy(): void;
32
- }
1
+ import { OnInit, OnDestroy } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { MatSort } from '@angular/material/sort';
4
+ import { PageEvent } from '../../data-table/data-table.model';
5
+ import { DataManager } from '../../core/dataManager.service';
6
+ import { DomSanitizer } from '@angular/platform-browser';
7
+ export declare class AuditLogListComponent implements OnInit, OnDestroy {
8
+ private dataManager;
9
+ private router;
10
+ sanitizer: DomSanitizer;
11
+ auditLogList: any[];
12
+ objectId: any;
13
+ objectType: any;
14
+ showFilter: boolean;
15
+ showExportButtons: boolean;
16
+ userId: any;
17
+ pageEvent: PageEvent;
18
+ filters: any;
19
+ displayedColumns: any[];
20
+ sort: MatSort;
21
+ constructor(dataManager: DataManager, router: Router, sanitizer: DomSanitizer);
22
+ ngOnInit(): void;
23
+ get excelData(): any[];
24
+ changeSort(event: any): void;
25
+ logClicked(log: any): void;
26
+ initializeData(): Promise<void>;
27
+ filterChange(event: any): void;
28
+ onScroll(): void;
29
+ reload(): void;
30
+ getTransformedChanges(log: any): string;
31
+ ngOnDestroy(): void;
32
+ }
@@ -1,2 +1,2 @@
1
- export declare class AuditLogListModule {
2
- }
1
+ export declare class AuditLogListModule {
2
+ }
@@ -1,2 +1,2 @@
1
- export declare class AuditLogListFilterRoutingModule {
2
- }
1
+ export declare class AuditLogListFilterRoutingModule {
2
+ }
@@ -1,19 +1,19 @@
1
- import { OnInit, EventEmitter } from '@angular/core';
2
- import { FormGroup, FormBuilder } from '@angular/forms';
3
- import { FormValidatorService } from '../../core/form-validator.service';
4
- export declare class AuditLogListFilterComponent implements OnInit {
5
- private fb;
6
- private formValidatorService;
7
- auditLogFilterForm: FormGroup;
8
- objectId: any;
9
- objectType: any;
10
- valueChange: EventEmitter<any>;
11
- constructor(fb: FormBuilder, formValidatorService: FormValidatorService);
12
- get showObjectFilter(): boolean;
13
- private createForm;
14
- ngOnInit(): void;
15
- resetFieldValue(field: string): void;
16
- getFieldValue(field: string): any;
17
- isFieldValid(field: string): any;
18
- ngOnDestroy(): void;
19
- }
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
+ import { FormGroup, FormBuilder } from '@angular/forms';
3
+ import { FormValidatorService } from '../../core/form-validator.service';
4
+ export declare class AuditLogListFilterComponent implements OnInit {
5
+ private fb;
6
+ private formValidatorService;
7
+ auditLogFilterForm: FormGroup;
8
+ objectId: any;
9
+ objectType: any;
10
+ valueChange: EventEmitter<any>;
11
+ constructor(fb: FormBuilder, formValidatorService: FormValidatorService);
12
+ get showObjectFilter(): boolean;
13
+ private createForm;
14
+ ngOnInit(): void;
15
+ resetFieldValue(field: string): void;
16
+ getFieldValue(field: string): any;
17
+ isFieldValid(field: string): any;
18
+ ngOnDestroy(): void;
19
+ }
@@ -1,2 +1,2 @@
1
- export declare class AuditLogListFilterModule {
2
- }
1
+ export declare class AuditLogListFilterModule {
2
+ }
@@ -1,2 +1,2 @@
1
- export declare class AuditLogRoutingModule {
2
- }
1
+ export declare class AuditLogRoutingModule {
2
+ }
@@ -1,2 +1,2 @@
1
- export declare class AuditLogViewRoutingModule {
2
- }
1
+ export declare class AuditLogViewRoutingModule {
2
+ }
@@ -1,17 +1,17 @@
1
- import { OnInit } from '@angular/core';
2
- import { ActivatedRoute } from '@angular/router';
3
- import { Location } from '@angular/common';
4
- import { DataManager } from '../../core/dataManager.service';
5
- export declare class AuditLogViewComponent implements OnInit {
6
- private dataManager;
7
- private route;
8
- private location;
9
- logInfo: any;
10
- showDeltaChanges: boolean;
11
- changeList: any[];
12
- constructor(dataManager: DataManager, route: ActivatedRoute, location: Location);
13
- ngOnInit(): void;
14
- getTransformedChanges(): void;
15
- fetchLogDetail(logId: any): Promise<void>;
16
- patchDelta(): void;
17
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import { Location } from '@angular/common';
4
+ import { DataManager } from '../../core/dataManager.service';
5
+ export declare class AuditLogViewComponent implements OnInit {
6
+ private dataManager;
7
+ private route;
8
+ private location;
9
+ logInfo: any;
10
+ showDeltaChanges: boolean;
11
+ changeList: any[];
12
+ constructor(dataManager: DataManager, route: ActivatedRoute, location: Location);
13
+ ngOnInit(): void;
14
+ getTransformedChanges(): void;
15
+ fetchLogDetail(logId: any): Promise<void>;
16
+ patchDelta(): void;
17
+ }
@@ -1,2 +1,2 @@
1
- export declare class AuditLogViewModule {
2
- }
1
+ export declare class AuditLogViewModule {
2
+ }
@@ -1,2 +1,2 @@
1
- export declare class AuditLogViewModelRoutingModule {
2
- }
1
+ export declare class AuditLogViewModelRoutingModule {
2
+ }
@@ -1,15 +1,15 @@
1
- import { OnInit } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- import { HttpService } from '../../core/http.service';
4
- export declare class AuditLogViewModelComponent implements OnInit {
5
- dialogRef: MatDialogRef<AuditLogViewModelComponent>;
6
- data: any;
7
- private http;
8
- logInfo: any;
9
- showDeltaChanges: boolean;
10
- changeList: any[];
11
- constructor(dialogRef: MatDialogRef<AuditLogViewModelComponent>, data: any, http: HttpService);
12
- ngOnInit(): void;
13
- getTransformedChanges(): void;
14
- close(): void;
15
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import { HttpService } from '../../core/http.service';
4
+ export declare class AuditLogViewModelComponent implements OnInit {
5
+ dialogRef: MatDialogRef<AuditLogViewModelComponent>;
6
+ data: any;
7
+ private http;
8
+ logInfo: any;
9
+ showDeltaChanges: boolean;
10
+ changeList: any[];
11
+ constructor(dialogRef: MatDialogRef<AuditLogViewModelComponent>, data: any, http: HttpService);
12
+ ngOnInit(): void;
13
+ getTransformedChanges(): void;
14
+ close(): void;
15
+ }
@@ -1,2 +1,2 @@
1
- export declare class AuditLogViewModelModule {
2
- }
1
+ export declare class AuditLogViewModelModule {
2
+ }
@@ -1,2 +1,2 @@
1
- export declare class AuditLogModule {
2
- }
1
+ export declare class AuditLogModule {
2
+ }
@@ -1,2 +1,2 @@
1
- export declare class AuditLogsViewModelRoutingModule {
2
- }
1
+ export declare class AuditLogsViewModelRoutingModule {
2
+ }
@@ -1,11 +1,11 @@
1
- import { OnInit } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- import { Router } from '@angular/router';
4
- import { AuditLogViewModelComponent } from '../audit-log-view-model/audit-log-view-model.component';
5
- export declare class AuditLogsViewModelComponent implements OnInit {
6
- dialogRef: MatDialogRef<AuditLogViewModelComponent>;
7
- data: any;
8
- private router;
9
- constructor(dialogRef: MatDialogRef<AuditLogViewModelComponent>, data: any, router: Router);
10
- ngOnInit(): void;
11
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import { Router } from '@angular/router';
4
+ import { AuditLogViewModelComponent } from '../audit-log-view-model/audit-log-view-model.component';
5
+ export declare class AuditLogsViewModelComponent implements OnInit {
6
+ dialogRef: MatDialogRef<AuditLogViewModelComponent>;
7
+ data: any;
8
+ private router;
9
+ constructor(dialogRef: MatDialogRef<AuditLogViewModelComponent>, data: any, router: Router);
10
+ ngOnInit(): void;
11
+ }
@@ -1,2 +1,2 @@
1
- export declare class AuditLogsViewModelModule {
2
- }
1
+ export declare class AuditLogsViewModelModule {
2
+ }
@@ -0,0 +1,3 @@
1
+ export * from './techlify-form-component.class';
2
+ export * from './techlify-listing-component.class';
3
+ export * from './techlify-service.class';
@@ -0,0 +1,43 @@
1
+ import { FormGroup } from '@angular/forms';
2
+ import { FormValidatorService } from '../core/form-validator.service';
3
+ /**
4
+ * Interface used to ensure we have a consistent structure across our form components
5
+ *
6
+ * It also provides some abstraction of repeated code to reduce our codebase size
7
+ *
8
+ * @todo This should be moved to ngx-techlify-core
9
+ *
10
+ * Advantages of this abstract class
11
+ * - Less code, less maintenance, less bugs
12
+ * - more consistent code
13
+ * - comments on more code
14
+ * - save time, save energy
15
+ */
16
+ export declare abstract class TechlifyFormComponentInterface {
17
+ protected formValidatorService: FormValidatorService;
18
+ form: FormGroup;
19
+ errorMessages: any;
20
+ constructor(formValidatorService: FormValidatorService);
21
+ /**
22
+ * Resets the value of a field in the HTML form
23
+ *
24
+ * @param event
25
+ * @param field
26
+ */
27
+ resetFieldValue(event: any, field: string): void;
28
+ /**
29
+ * Retrieves the value of a field from the HTML form
30
+ *
31
+ * @param field
32
+ * @returns
33
+ */
34
+ getFieldValue(field: string): any;
35
+ /**
36
+ * Method to evaluate form fields
37
+ * */
38
+ isFieldValid(field: string): any;
39
+ /**
40
+ * Method to find error in form fields
41
+ * */
42
+ getErrorMessage(field: string): any;
43
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Interface used to ensure we have a consistent structure across our listing pages
3
+ *
4
+ * @todo This should be moved to ngx-techlify-core
5
+ *
6
+ * Advantages of this abstract class
7
+ * - Less code, less maintenance, less bugs
8
+ * - more consistent code
9
+ * - comments on more code
10
+ * - save time, save energy
11
+ */
12
+ export declare abstract class TechlifyListingControllerInterface {
13
+ models: any[];
14
+ page: number;
15
+ perPage: number;
16
+ lastPage: number;
17
+ isWorking: boolean;
18
+ /**
19
+ * Function that listens for any changes in the form group to apply the filters
20
+ */
21
+ abstract listenForChanges(): void;
22
+ /**
23
+ * Function that loads the main models of the application
24
+ */
25
+ abstract loadData(): void;
26
+ /**
27
+ * Reload all data from page 1
28
+ */
29
+ reload(): void;
30
+ /**
31
+ * Can be called when the user is scrolling,
32
+ * to trigger loading a new page of data
33
+ */
34
+ onScroll(): void;
35
+ /**
36
+ * Function used to pop up the edit form for the model
37
+ *
38
+ * @param model
39
+ */
40
+ abstract editForm(model: any): void;
41
+ /**
42
+ * Function used to pop up the delete form for the model
43
+ *
44
+ * @param model
45
+ */
46
+ abstract deleteForm(model: any): void;
47
+ }
@@ -0,0 +1,52 @@
1
+ import { HttpService } from '../core/http.service';
2
+ /**
3
+ * Interface used to ensure we have a consistent structure across our listing pages
4
+ *
5
+ * @todo This should be moved to ngx-techlify-core
6
+ *
7
+ * Advantages of this abstract class
8
+ * - Less code, less maintenance, less bugs
9
+ * - more consistent code
10
+ * - comments on more code
11
+ * - save time, save energy
12
+ */
13
+ export declare class TechlifyServiceBaseClass {
14
+ protected http: HttpService;
15
+ protected baseUrl: string;
16
+ constructor(http: HttpService, baseUrl: string);
17
+ /**
18
+ * Loads a set of the model this service is for
19
+ *
20
+ * @param filters Restrictors to filter the set of models
21
+ * @returns
22
+ */
23
+ index(filters: any): Promise<Object>;
24
+ /**
25
+ * Add a new record to the database
26
+ *
27
+ * @param model The data of the model to add
28
+ * @returns
29
+ */
30
+ store(model: any): Promise<Object>;
31
+ /**
32
+ * Load a single model record, often with all relations and related data
33
+ *
34
+ * @param modelId ID of the model to load
35
+ * @returns
36
+ */
37
+ show(modelId: any): Promise<Object>;
38
+ /**
39
+ * Update fields of a single existing model
40
+ *
41
+ * @param model Model to update
42
+ * @returns
43
+ */
44
+ update(model: any): Promise<Object>;
45
+ /**
46
+ * Delete a single model
47
+ *
48
+ * @param model Model to delete
49
+ * @returns
50
+ */
51
+ delete(model: any): Promise<Object>;
52
+ }
@@ -1,12 +1,12 @@
1
- import { MatSnackBar } from '@angular/material/snack-bar';
2
- /**
3
- * Service used to manage alerts in the entire system frontend
4
- *
5
- * @author Gokula Prasanna
6
- * @since 20210131
7
- */
8
- export declare class AlertService {
9
- snackBar: MatSnackBar;
10
- constructor(snackBar: MatSnackBar);
11
- addAlert(message: string, alertType: string, duration?: number): void;
12
- }
1
+ import { MatSnackBar } from '@angular/material/snack-bar';
2
+ /**
3
+ * Service used to manage alerts in the entire system frontend
4
+ *
5
+ * @author Gokula Prasanna
6
+ * @since 20210131
7
+ */
8
+ export declare class AlertService {
9
+ snackBar: MatSnackBar;
10
+ constructor(snackBar: MatSnackBar);
11
+ addAlert(message: string, alertType: string, duration?: number): void;
12
+ }
@@ -1,11 +1,11 @@
1
- import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { ConfigService } from './config.service';
4
- /**
5
- * Prefixes all requests not starting with `http[s]` with `environment.serverUrl`.
6
- */
7
- export declare class ApiPrefixInterceptor implements HttpInterceptor {
8
- private configService;
9
- constructor(configService: ConfigService);
10
- intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
11
- }
1
+ import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { ConfigService } from './config.service';
4
+ /**
5
+ * Prefixes all requests not starting with `http[s]` with `environment.serverUrl`.
6
+ */
7
+ export declare class ApiPrefixInterceptor implements HttpInterceptor {
8
+ private configService;
9
+ constructor(configService: ConfigService);
10
+ intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
11
+ }
@@ -1,10 +1,10 @@
1
- import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
2
- import { CredentialsService } from './credentials.service';
3
- export declare class AuthenticationGuard implements CanActivate {
4
- private router;
5
- private credentialsService;
6
- constructor(router: Router, credentialsService: CredentialsService);
7
- canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
8
- canLoad(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
9
- isUserAuthenticated(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
10
- }
1
+ import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
2
+ import { CredentialsService } from './credentials.service';
3
+ export declare class AuthenticationGuard implements CanActivate {
4
+ private router;
5
+ private credentialsService;
6
+ constructor(router: Router, credentialsService: CredentialsService);
7
+ canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
8
+ canLoad(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
9
+ isUserAuthenticated(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
10
+ }
@@ -1,23 +1,23 @@
1
- import { Observable } from 'rxjs';
2
- import { Credentials, CredentialsService } from './credentials.service';
3
- import { HttpService } from './http.service';
4
- /**
5
- * Provides a base for authentication workflow.
6
- * The login/logout methods should be replaced with proper implementation.
7
- */
8
- export declare class AuthenticationService {
9
- private credentialsService;
10
- private http;
11
- constructor(credentialsService: CredentialsService, http: HttpService);
12
- /**
13
- * Authenticates the user.
14
- * @param context The login parameters.
15
- * @return The user credentials.
16
- */
17
- login(context: any): Observable<Credentials>;
18
- /**
19
- * Logs out the user and clear credentials.
20
- * @return True if the user was logged out successfully.
21
- */
22
- logout(): Observable<boolean>;
23
- }
1
+ import { Observable } from 'rxjs';
2
+ import { Credentials, CredentialsService } from './credentials.service';
3
+ import { HttpService } from './http.service';
4
+ /**
5
+ * Provides a base for authentication workflow.
6
+ * The login/logout methods should be replaced with proper implementation.
7
+ */
8
+ export declare class AuthenticationService {
9
+ private credentialsService;
10
+ private http;
11
+ constructor(credentialsService: CredentialsService, http: HttpService);
12
+ /**
13
+ * Authenticates the user.
14
+ * @param context The login parameters.
15
+ * @return The user credentials.
16
+ */
17
+ login(context: any): Observable<Credentials>;
18
+ /**
19
+ * Logs out the user and clear credentials.
20
+ * @return True if the user was logged out successfully.
21
+ */
22
+ logout(): Observable<boolean>;
23
+ }