ngx-techlify-core 11.4.8 → 11.5.2

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 (627) hide show
  1. package/karma.conf.js +44 -0
  2. package/ng-package.json +27 -0
  3. package/package.json +29 -37
  4. package/src/lib/action-popup/action-popup.component.html +21 -0
  5. package/src/lib/action-popup/action-popup.component.scss +0 -0
  6. package/src/lib/action-popup/action-popup.component.spec.ts +25 -0
  7. package/src/lib/action-popup/action-popup.component.ts +31 -0
  8. package/{lib/action-popup/action-popup.model.d.ts → src/lib/action-popup/action-popup.model.ts} +2 -2
  9. package/src/lib/action-popup/action-popup.module.ts +23 -0
  10. package/{lib/action-popup/index.d.ts → src/lib/action-popup/index.ts} +1 -1
  11. package/src/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.ts +10 -0
  12. package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.html +9 -0
  13. package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.scss +0 -0
  14. package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.spec.ts +25 -0
  15. package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.ts +49 -0
  16. package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.module.ts +24 -0
  17. package/src/lib/audit-log/audit-log-list/audit-log-list-routing.module.ts +10 -0
  18. package/src/lib/audit-log/audit-log-list/audit-log-list.component.html +92 -0
  19. package/src/lib/audit-log/audit-log-list/audit-log-list.component.scss +21 -0
  20. package/src/lib/audit-log/audit-log-list/audit-log-list.component.spec.ts +25 -0
  21. package/src/lib/audit-log/audit-log-list/audit-log-list.component.ts +138 -0
  22. package/src/lib/audit-log/audit-log-list/audit-log-list.module.ts +28 -0
  23. package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.ts +10 -0
  24. package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.html +49 -0
  25. package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.scss +0 -0
  26. package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.spec.ts +26 -0
  27. package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.ts +74 -0
  28. package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.ts +24 -0
  29. package/src/lib/audit-log/audit-log-routing.module.ts +18 -0
  30. package/src/lib/audit-log/audit-log-view/audit-log-view-routing.module.ts +10 -0
  31. package/src/lib/audit-log/audit-log-view/audit-log-view.component.html +46 -0
  32. package/src/lib/audit-log/audit-log-view/audit-log-view.component.scss +0 -0
  33. package/src/lib/audit-log/audit-log-view/audit-log-view.component.spec.ts +25 -0
  34. package/src/lib/audit-log/audit-log-view/audit-log-view.component.ts +54 -0
  35. package/src/lib/audit-log/audit-log-view/audit-log-view.module.ts +20 -0
  36. package/src/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.ts +10 -0
  37. package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.html +38 -0
  38. package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.scss +4 -0
  39. package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.spec.ts +25 -0
  40. package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.ts +53 -0
  41. package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.module.ts +20 -0
  42. package/src/lib/audit-log/audit-log.module.ts +20 -0
  43. package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.ts +10 -0
  44. package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.html +4 -0
  45. package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.scss +4 -0
  46. package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.spec.ts +25 -0
  47. package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.ts +28 -0
  48. package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.ts +20 -0
  49. package/src/lib/base-model/index.ts +3 -0
  50. package/src/lib/base-model/techlify-form-component.class.ts +60 -0
  51. package/src/lib/base-model/techlify-listing-component.class.ts +67 -0
  52. package/src/lib/base-model/techlify-service.class.ts +73 -0
  53. package/src/lib/core/alert.service.ts +32 -0
  54. package/src/lib/core/api-prefix.interceptor.ts +22 -0
  55. package/src/lib/core/authentication.guard.ts +34 -0
  56. package/src/lib/core/authentication.service.ts +53 -0
  57. package/src/lib/core/cache.interceptor.ts +59 -0
  58. package/src/lib/core/config.service.ts +52 -0
  59. package/src/lib/core/core.module.ts +44 -0
  60. package/src/lib/core/credentials.service.ts +91 -0
  61. package/{lib/core/dataManager.service.d.ts → src/lib/core/dataManager.service.ts} +76 -22
  62. package/src/lib/core/error-handler.interceptor.ts +43 -0
  63. package/src/lib/core/error-handler.service.ts +61 -0
  64. package/src/lib/core/filter.service.ts +42 -0
  65. package/src/lib/core/form-validator.service.ts +23 -0
  66. package/src/lib/core/header.interceptor.ts +22 -0
  67. package/src/lib/core/http-cache.service.ts +122 -0
  68. package/src/lib/core/http.service.ts +137 -0
  69. package/{lib/core/index.d.ts → src/lib/core/index.ts} +2 -0
  70. package/src/lib/core/logger.service.ts +113 -0
  71. package/src/lib/core/route-reusable-strategy.ts +36 -0
  72. package/src/lib/core/snack/error-snack.html +8 -0
  73. package/src/lib/core/snack/snack.component.ts +19 -0
  74. package/src/lib/core/snack/snack.module.ts +22 -0
  75. package/src/lib/core/snack/snack.scss +18 -0
  76. package/src/lib/core/snack/success-snack.html +8 -0
  77. package/src/lib/core/storage.service.ts +38 -0
  78. package/src/lib/core/techlify-config.model.ts +32 -0
  79. package/src/lib/core/token.interceptor.ts +25 -0
  80. package/src/lib/data-table/data-table.component.html +139 -0
  81. package/src/lib/data-table/data-table.component.scss +54 -0
  82. package/src/lib/data-table/data-table.component.spec.ts +25 -0
  83. package/src/lib/data-table/data-table.component.ts +232 -0
  84. package/{lib/data-table/data-table.model.d.ts → src/lib/data-table/data-table.model.ts} +9 -6
  85. package/src/lib/data-table/data-table.module.ts +23 -0
  86. package/{lib/data-table/index.d.ts → src/lib/data-table/index.ts} +1 -1
  87. package/src/lib/date-validator.ts +12 -0
  88. package/src/lib/document-viewer/document-viewer.component.css +5 -0
  89. package/src/lib/document-viewer/document-viewer.component.html +19 -0
  90. package/src/lib/document-viewer/document-viewer.component.ts +66 -0
  91. package/src/lib/document-viewer/document-viewer.module.ts +22 -0
  92. package/{lib/document-viewer/index.d.ts → src/lib/document-viewer/index.ts} +1 -1
  93. package/src/lib/document-viewer/viewer-config.model.ts +5 -0
  94. package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.ts +25 -0
  95. package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.html +23 -0
  96. package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.scss +4 -0
  97. package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.spec.ts +25 -0
  98. package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.ts +74 -0
  99. package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.ts +22 -0
  100. package/{lib/email-subscription/email-subscription-for-user/index.d.ts → src/lib/email-subscription/email-subscription-for-user/index.ts} +0 -0
  101. package/src/lib/email-subscription/email-subscription-routing.module.ts +10 -0
  102. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.ts +10 -0
  103. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.html +47 -0
  104. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.scss +0 -0
  105. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.spec.ts +25 -0
  106. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.ts +113 -0
  107. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.ts +28 -0
  108. package/{lib/email-subscription/email-subscription-type/email-subscription-type-form/index.d.ts → src/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.ts} +0 -0
  109. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.ts +29 -0
  110. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.html +76 -0
  111. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.scss +4 -0
  112. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.spec.ts +25 -0
  113. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.ts +170 -0
  114. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.ts +26 -0
  115. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.ts +1 -0
  116. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.ts +11 -0
  117. package/src/lib/email-subscription/email-subscription-type/email-subscription-type.module.ts +14 -0
  118. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.ts +10 -0
  119. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.html +38 -0
  120. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.scss +0 -0
  121. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.spec.ts +25 -0
  122. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.ts +113 -0
  123. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.ts +26 -0
  124. package/{lib/email-subscription/email-subscription-user/email-subscription-user-form/index.d.ts → src/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.ts} +0 -0
  125. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.ts +27 -0
  126. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.html +74 -0
  127. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.scss +5 -0
  128. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.spec.ts +25 -0
  129. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.ts +174 -0
  130. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.ts +28 -0
  131. package/{lib/email-subscription/email-subscription-user/email-subscription-user-list/index.d.ts → src/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.ts} +0 -0
  132. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.ts +10 -0
  133. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.html +21 -0
  134. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.scss +0 -0
  135. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.spec.ts +25 -0
  136. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.ts +56 -0
  137. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.ts +24 -0
  138. package/{lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.d.ts → src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.ts} +0 -0
  139. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.ts +11 -0
  140. package/src/lib/email-subscription/email-subscription-user/email-subscription-user.module.ts +14 -0
  141. package/src/lib/email-subscription/email-subscription.module.ts +15 -0
  142. package/src/lib/entity-files/entity-file-form/entity-file-form.component.css +0 -0
  143. package/src/lib/entity-files/entity-file-form/entity-file-form.component.html +45 -0
  144. package/src/lib/entity-files/entity-file-form/entity-file-form.component.ts +172 -0
  145. package/src/lib/entity-files/entity-file.service.ts +46 -0
  146. package/src/lib/entity-files/entity-files-view-all.component.css +0 -0
  147. package/src/lib/entity-files/entity-files-view-all.component.html +236 -0
  148. package/src/lib/entity-files/entity-files-view-all.component.ts +325 -0
  149. package/src/lib/entity-files/entity-files-view-all.module.ts +38 -0
  150. package/src/lib/entity-files/index.ts +2 -0
  151. package/src/lib/export-excel/export-excel-button/export-excel-button.component.html +1 -0
  152. package/src/lib/export-excel/export-excel-button/export-excel-button.component.scss +0 -0
  153. package/src/lib/export-excel/export-excel-button/export-excel-button.component.spec.ts +25 -0
  154. package/src/lib/export-excel/export-excel-button/export-excel-button.component.ts +31 -0
  155. package/src/lib/export-excel/export-excel.module.ts +16 -0
  156. package/src/lib/file-dropper/file-dropper.component.html +41 -0
  157. package/src/lib/file-dropper/file-dropper.component.scss +8 -0
  158. package/src/lib/file-dropper/file-dropper.component.ts +139 -0
  159. package/src/lib/file-dropper/file-dropper.model.ts +10 -0
  160. package/src/lib/file-dropper/file-dropper.module.ts +18 -0
  161. package/{lib/file-dropper/index.d.ts → src/lib/file-dropper/index.ts} +1 -1
  162. package/src/lib/import-csv/data-import/data-import.component.html +11 -0
  163. package/src/lib/import-csv/data-import/data-import.component.scss +0 -0
  164. package/src/lib/import-csv/data-import/data-import.component.spec.ts +28 -0
  165. package/src/lib/import-csv/data-import/data-import.component.ts +16 -0
  166. package/src/lib/import-csv/failed-items-list/failed-items-list.component.html +61 -0
  167. package/src/lib/import-csv/failed-items-list/failed-items-list.component.scss +0 -0
  168. package/src/lib/import-csv/failed-items-list/failed-items-list.component.spec.ts +28 -0
  169. package/src/lib/import-csv/failed-items-list/failed-items-list.component.ts +30 -0
  170. package/src/lib/import-csv/field-mapping/field-mapping.component.html +70 -0
  171. package/src/lib/import-csv/field-mapping/field-mapping.component.scss +15 -0
  172. package/src/lib/import-csv/field-mapping/field-mapping.component.ts +161 -0
  173. package/src/lib/import-csv/import-csv-config.ts +17 -0
  174. package/src/lib/import-csv/import-csv.component.html +71 -0
  175. package/src/lib/import-csv/import-csv.component.scss +15 -0
  176. package/src/lib/import-csv/import-csv.component.spec.ts +28 -0
  177. package/src/lib/import-csv/import-csv.component.ts +198 -0
  178. package/src/lib/import-csv/import-csv.module.ts +43 -0
  179. package/src/lib/import-csv/import-history-list/import-history-list.component.html +43 -0
  180. package/src/lib/import-csv/import-history-list/import-history-list.component.scss +0 -0
  181. package/src/lib/import-csv/import-history-list/import-history-list.component.spec.ts +28 -0
  182. package/src/lib/import-csv/import-history-list/import-history-list.component.ts +74 -0
  183. package/src/lib/import-csv/import-success/import-success.component.html +22 -0
  184. package/src/lib/import-csv/import-success/import-success.component.scss +0 -0
  185. package/src/lib/import-csv/import-success/import-success.component.spec.ts +28 -0
  186. package/src/lib/import-csv/import-success/import-success.component.ts +17 -0
  187. package/{lib/loader/index.d.ts → src/lib/loader/index.ts} +0 -0
  188. package/src/lib/loader/loader.component.html +4 -0
  189. package/src/lib/loader/loader.component.scss +8 -0
  190. package/src/lib/loader/loader.component.spec.ts +73 -0
  191. package/src/lib/loader/loader.component.ts +18 -0
  192. package/src/lib/loader/loader.module.ts +18 -0
  193. package/src/lib/login-history-for-user/login-history-for-user-routing.module.ts +18 -0
  194. package/src/lib/login-history-for-user/login-history-for-user.component.html +31 -0
  195. package/src/lib/login-history-for-user/login-history-for-user.component.scss +4 -0
  196. package/src/lib/login-history-for-user/login-history-for-user.component.spec.ts +25 -0
  197. package/src/lib/login-history-for-user/login-history-for-user.component.ts +94 -0
  198. package/src/lib/login-history-for-user/login-history-for-user.module.ts +26 -0
  199. package/src/lib/material.module.ts +68 -0
  200. package/src/lib/note/comment-form/comment-form.component.html +45 -0
  201. package/src/lib/note/comment-form/comment-form.component.scss +7 -0
  202. package/src/lib/note/comment-form/comment-form.component.spec.ts +24 -0
  203. package/src/lib/note/comment-form/comment-form.component.ts +84 -0
  204. package/{lib/note/index.d.ts → src/lib/note/index.ts} +0 -0
  205. package/src/lib/note/note-form/note-form.component.css +0 -0
  206. package/src/lib/note/note-form/note-form.component.html +26 -0
  207. package/src/lib/note/note-form/note-form.component.spec.ts +25 -0
  208. package/src/lib/note/note-form/note-form.component.ts +93 -0
  209. package/src/lib/note/note-list/note-list.component.css +4 -0
  210. package/src/lib/note/note-list/note-list.component.html +58 -0
  211. package/src/lib/note/note-list/note-list.component.spec.ts +25 -0
  212. package/src/lib/note/note-list/note-list.component.ts +156 -0
  213. package/src/lib/note/note.module.ts +33 -0
  214. package/src/lib/note/note.service.spec.ts +16 -0
  215. package/src/lib/note/note.service.ts +26 -0
  216. package/src/lib/read-more/read-more.component.html +3 -0
  217. package/src/lib/read-more/read-more.component.scss +8 -0
  218. package/src/lib/read-more/read-more.component.spec.ts +24 -0
  219. package/src/lib/read-more/read-more.component.ts +41 -0
  220. package/src/lib/read-more/read-more.module.ts +18 -0
  221. package/src/lib/request-helper/request-helper.service.ts +92 -0
  222. package/src/lib/searchable-selector/index.ts +2 -0
  223. package/src/lib/searchable-selector/mat-select-infinite-scroll.directive.ts +89 -0
  224. package/src/lib/searchable-selector/searchable-selector.component.html +21 -0
  225. package/src/lib/searchable-selector/searchable-selector.component.scss +8 -0
  226. package/src/lib/searchable-selector/searchable-selector.component.spec.ts +25 -0
  227. package/src/lib/searchable-selector/searchable-selector.component.ts +337 -0
  228. package/src/lib/searchable-selector/searchable-selector.module.ts +25 -0
  229. package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.html +4 -0
  230. package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.scss +0 -0
  231. package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.spec.ts +28 -0
  232. package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.ts +25 -0
  233. package/src/lib/techlify-feature/techlify-feature-enabled.directive.ts +71 -0
  234. package/src/lib/techlify-feature/techlify-feature-listing.component.html +65 -0
  235. package/src/lib/techlify-feature/techlify-feature-listing.component.scss +0 -0
  236. package/src/lib/techlify-feature/techlify-feature-listing.component.ts +174 -0
  237. package/src/lib/techlify-feature/techlify-feature.module.ts +28 -0
  238. package/src/lib/techlify-feature/techlify-feature.routing.ts +13 -0
  239. package/src/lib/techlify-feature/techlify-feature.service.ts +23 -0
  240. package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.ts +25 -0
  241. package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.html +18 -0
  242. package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.scss +6 -0
  243. package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.spec.ts +25 -0
  244. package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.ts +308 -0
  245. package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.ts +24 -0
  246. package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.html +8 -0
  247. package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.scss +0 -0
  248. package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.spec.ts +25 -0
  249. package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.ts +180 -0
  250. package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.ts +28 -0
  251. package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.html +78 -0
  252. package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.scss +0 -0
  253. package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.spec.ts +25 -0
  254. package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.ts +113 -0
  255. package/src/lib/techlify-update/techlify-update-form/techlify-update-form.module.ts +25 -0
  256. package/src/lib/techlify-update/techlify-update-history/index.ts +1 -0
  257. package/src/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.ts +21 -0
  258. package/src/lib/techlify-update/techlify-update-history/techlify-update-history.component.html +94 -0
  259. package/src/lib/techlify-update/techlify-update-history/techlify-update-history.component.scss +0 -0
  260. package/src/lib/techlify-update/techlify-update-history/techlify-update-history.component.ts +142 -0
  261. package/src/lib/techlify-update/techlify-update-history/techlify-update-history.module.ts +25 -0
  262. package/src/lib/techlify-update/techlify-update-routing.module.ts +21 -0
  263. package/src/lib/techlify-update/techlify-update.module.ts +27 -0
  264. package/src/lib/techlify-update/techlify-update.service.spec.ts +16 -0
  265. package/src/lib/techlify-update/techlify-update.service.ts +42 -0
  266. package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.html +104 -0
  267. package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.scss +0 -0
  268. package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.spec.ts +25 -0
  269. package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.ts +167 -0
  270. package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.html +39 -0
  271. package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.scss +57 -0
  272. package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.spec.ts +25 -0
  273. package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.ts +76 -0
  274. package/src/lib/techlify-update/update-notifier/update-notifier.component.html +0 -0
  275. package/src/lib/techlify-update/update-notifier/update-notifier.component.scss +3 -0
  276. package/src/lib/techlify-update/update-notifier/update-notifier.component.spec.ts +25 -0
  277. package/src/lib/techlify-update/update-notifier/update-notifier.component.ts +56 -0
  278. package/src/lib/techlify-update/update-notifier/update-notifier.module.ts +27 -0
  279. package/src/lib/techlify-update/update-view/update-view.component.html +63 -0
  280. package/src/lib/techlify-update/update-view/update-view.component.scss +19 -0
  281. package/src/lib/techlify-update/update-view/update-view.component.spec.ts +25 -0
  282. package/src/lib/techlify-update/update-view/update-view.component.ts +36 -0
  283. package/src/lib/techlify-update/update-view/update-view.module.ts +23 -0
  284. package/src/lib/timeline-filter/README.md +60 -0
  285. package/src/lib/timeline-filter/calculate-timeline.ts +109 -0
  286. package/{lib/timeline-filter/index.d.ts → src/lib/timeline-filter/index.ts} +1 -1
  287. package/src/lib/timeline-filter/timeline-filter-routing.module.ts +10 -0
  288. package/src/lib/timeline-filter/timeline-filter.component.html +54 -0
  289. package/src/lib/timeline-filter/timeline-filter.component.scss +0 -0
  290. package/src/lib/timeline-filter/timeline-filter.component.spec.ts +25 -0
  291. package/src/lib/timeline-filter/timeline-filter.component.ts +220 -0
  292. package/src/lib/timeline-filter/timeline-filter.module.ts +22 -0
  293. package/src/lib/timeline-filter/timeline.model.ts +17 -0
  294. package/src/lib/utility/date-utils.service.ts +51 -0
  295. package/{lib/utility/index.d.ts → src/lib/utility/index.ts} +1 -1
  296. package/src/lib/utility/num-items-selector.component.ts +29 -0
  297. package/src/lib/utility/num-items-selector.html +13 -0
  298. package/src/lib/utility/number-selector.component.ts +38 -0
  299. package/src/lib/utility/number-selector.html +6 -0
  300. package/src/lib/utility/utility.module.ts +20 -0
  301. package/{public-api.d.ts → src/public-api.ts} +31 -0
  302. package/src/test.ts +26 -0
  303. package/tsconfig.lib.json +26 -0
  304. package/tsconfig.lib.prod.json +10 -0
  305. package/tsconfig.spec.json +17 -0
  306. package/tslint.json +17 -0
  307. package/bundles/ngx-techlify-core.umd.js +0 -8325
  308. package/bundles/ngx-techlify-core.umd.js.map +0 -1
  309. package/bundles/ngx-techlify-core.umd.min.js +0 -2
  310. package/bundles/ngx-techlify-core.umd.min.js.map +0 -1
  311. package/esm2015/lib/action-popup/action-popup.component.js +0 -32
  312. package/esm2015/lib/action-popup/action-popup.model.js +0 -3
  313. package/esm2015/lib/action-popup/action-popup.module.js +0 -26
  314. package/esm2015/lib/action-popup/index.js +0 -3
  315. package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.js +0 -12
  316. package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model.component.js +0 -49
  317. package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model.module.js +0 -25
  318. package/esm2015/lib/audit-log/audit-log-list/audit-log-list-routing.module.js +0 -12
  319. package/esm2015/lib/audit-log/audit-log-list/audit-log-list.component.js +0 -132
  320. package/esm2015/lib/audit-log/audit-log-list/audit-log-list.module.js +0 -29
  321. package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.js +0 -12
  322. package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.js +0 -67
  323. package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.js +0 -25
  324. package/esm2015/lib/audit-log/audit-log-routing.module.js +0 -19
  325. package/esm2015/lib/audit-log/audit-log-view/audit-log-view-routing.module.js +0 -12
  326. package/esm2015/lib/audit-log/audit-log-view/audit-log-view.component.js +0 -60
  327. package/esm2015/lib/audit-log/audit-log-view/audit-log-view.module.js +0 -21
  328. package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.js +0 -12
  329. package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model.component.js +0 -57
  330. package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model.module.js +0 -21
  331. package/esm2015/lib/audit-log/audit-log.module.js +0 -20
  332. package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.js +0 -12
  333. package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.js +0 -35
  334. package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.js +0 -21
  335. package/esm2015/lib/base-model/index.js +0 -4
  336. package/esm2015/lib/base-model/techlify-form-component.class.js +0 -51
  337. package/esm2015/lib/base-model/techlify-listing-component.class.js +0 -41
  338. package/esm2015/lib/base-model/techlify-service.class.js +0 -64
  339. package/esm2015/lib/core/alert.service.js +0 -40
  340. package/esm2015/lib/core/api-prefix.interceptor.js +0 -28
  341. package/esm2015/lib/core/authentication.guard.js +0 -39
  342. package/esm2015/lib/core/authentication.service.js +0 -59
  343. package/esm2015/lib/core/cache.interceptor.js +0 -60
  344. package/esm2015/lib/core/config.service.js +0 -47
  345. package/esm2015/lib/core/core.module.js +0 -42
  346. package/esm2015/lib/core/credentials.service.js +0 -84
  347. package/esm2015/lib/core/dataManager.service.js +0 -121
  348. package/esm2015/lib/core/error-handler.interceptor.js +0 -53
  349. package/esm2015/lib/core/error-handler.service.js +0 -60
  350. package/esm2015/lib/core/form-validator.service.js +0 -23
  351. package/esm2015/lib/core/header.interceptor.js +0 -22
  352. package/esm2015/lib/core/http-cache.service.js +0 -110
  353. package/esm2015/lib/core/http.service.js +0 -82
  354. package/esm2015/lib/core/index.js +0 -21
  355. package/esm2015/lib/core/logger.service.js +0 -100
  356. package/esm2015/lib/core/route-reusable-strategy.js +0 -35
  357. package/esm2015/lib/core/snack/snack.component.js +0 -33
  358. package/esm2015/lib/core/snack/snack.module.js +0 -25
  359. package/esm2015/lib/core/storage.service.js +0 -37
  360. package/esm2015/lib/core/techlify-config.model.js +0 -28
  361. package/esm2015/lib/core/token.interceptor.js +0 -30
  362. package/esm2015/lib/data-table/data-table.component.js +0 -190
  363. package/esm2015/lib/data-table/data-table.model.js +0 -11
  364. package/esm2015/lib/data-table/data-table.module.js +0 -25
  365. package/esm2015/lib/data-table/index.js +0 -3
  366. package/esm2015/lib/date-validator.js +0 -10
  367. package/esm2015/lib/document-viewer/document-viewer.component.js +0 -58
  368. package/esm2015/lib/document-viewer/document-viewer.module.js +0 -25
  369. package/esm2015/lib/document-viewer/index.js +0 -3
  370. package/esm2015/lib/document-viewer/viewer-config.model.js +0 -3
  371. package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.js +0 -26
  372. package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.js +0 -72
  373. package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.js +0 -23
  374. package/esm2015/lib/email-subscription/email-subscription-for-user/index.js +0 -2
  375. package/esm2015/lib/email-subscription/email-subscription-routing.module.js +0 -12
  376. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.js +0 -12
  377. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.js +0 -102
  378. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.js +0 -28
  379. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.js +0 -2
  380. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.js +0 -28
  381. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.js +0 -153
  382. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.js +0 -27
  383. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.js +0 -2
  384. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.js +0 -12
  385. package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type.module.js +0 -15
  386. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.js +0 -12
  387. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.js +0 -99
  388. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.js +0 -27
  389. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.js +0 -2
  390. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.js +0 -28
  391. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.js +0 -155
  392. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.js +0 -29
  393. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.js +0 -2
  394. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.js +0 -12
  395. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.js +0 -50
  396. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.js +0 -25
  397. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.js +0 -2
  398. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.js +0 -12
  399. package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user.module.js +0 -15
  400. package/esm2015/lib/email-subscription/email-subscription.module.js +0 -15
  401. package/esm2015/lib/entity-files/entity-file-form/entity-file-form.component.js +0 -138
  402. package/esm2015/lib/entity-files/entity-file.service.js +0 -42
  403. package/esm2015/lib/entity-files/entity-files-view-all.component.js +0 -208
  404. package/esm2015/lib/entity-files/entity-files-view-all.module.js +0 -34
  405. package/esm2015/lib/entity-files/index.js +0 -3
  406. package/esm2015/lib/export-excel/export-excel-button/export-excel-button.component.js +0 -32
  407. package/esm2015/lib/export-excel/export-excel.module.js +0 -17
  408. package/esm2015/lib/file-dropper/file-dropper.component.js +0 -122
  409. package/esm2015/lib/file-dropper/file-dropper.model.js +0 -3
  410. package/esm2015/lib/file-dropper/file-dropper.module.js +0 -21
  411. package/esm2015/lib/file-dropper/index.js +0 -3
  412. package/esm2015/lib/import-csv/data-import/data-import.component.js +0 -18
  413. package/esm2015/lib/import-csv/failed-items-list/failed-items-list.component.js +0 -33
  414. package/esm2015/lib/import-csv/field-mapping/field-mapping.component.js +0 -148
  415. package/esm2015/lib/import-csv/import-csv-config.js +0 -2
  416. package/esm2015/lib/import-csv/import-csv.component.js +0 -196
  417. package/esm2015/lib/import-csv/import-csv.module.js +0 -46
  418. package/esm2015/lib/import-csv/import-history-list/import-history-list.component.js +0 -71
  419. package/esm2015/lib/import-csv/import-success/import-success.component.js +0 -19
  420. package/esm2015/lib/loader/index.js +0 -2
  421. package/esm2015/lib/loader/loader.component.js +0 -22
  422. package/esm2015/lib/loader/loader.module.js +0 -21
  423. package/esm2015/lib/login-history-for-user/login-history-for-user-routing.module.js +0 -20
  424. package/esm2015/lib/login-history-for-user/login-history-for-user.component.js +0 -88
  425. package/esm2015/lib/login-history-for-user/login-history-for-user.module.js +0 -27
  426. package/esm2015/lib/material.module.js +0 -60
  427. package/esm2015/lib/note/comment-form/comment-form.component.js +0 -73
  428. package/esm2015/lib/note/index.js +0 -4
  429. package/esm2015/lib/note/note-form/note-form.component.js +0 -81
  430. package/esm2015/lib/note/note-list/note-list.component.js +0 -151
  431. package/esm2015/lib/note/note.module.js +0 -36
  432. package/esm2015/lib/note/note.service.js +0 -31
  433. package/esm2015/lib/read-more/read-more.component.js +0 -43
  434. package/esm2015/lib/read-more/read-more.module.js +0 -21
  435. package/esm2015/lib/searchable-selector/index.js +0 -3
  436. package/esm2015/lib/searchable-selector/mat-select-infinite-scroll.directive.js +0 -81
  437. package/esm2015/lib/searchable-selector/searchable-selector.component.js +0 -307
  438. package/esm2015/lib/searchable-selector/searchable-selector.module.js +0 -28
  439. package/esm2015/lib/techlify-feature/on-off-switch/on-off-switch.component.js +0 -27
  440. package/esm2015/lib/techlify-feature/techlify-feature-enabled.directive.js +0 -78
  441. package/esm2015/lib/techlify-feature/techlify-feature-listing.component.js +0 -177
  442. package/esm2015/lib/techlify-feature/techlify-feature.module.js +0 -30
  443. package/esm2015/lib/techlify-feature/techlify-feature.routing.js +0 -12
  444. package/esm2015/lib/techlify-feature/techlify-feature.service.js +0 -28
  445. package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.js +0 -15
  446. package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.js +0 -269
  447. package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.js +0 -25
  448. package/esm2015/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.js +0 -168
  449. package/esm2015/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.js +0 -29
  450. package/esm2015/lib/techlify-update/techlify-update-form/techlify-update-form.component.js +0 -114
  451. package/esm2015/lib/techlify-update/techlify-update-form/techlify-update-form.module.js +0 -28
  452. package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.js +0 -22
  453. package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history.component.js +0 -143
  454. package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history.module.js +0 -28
  455. package/esm2015/lib/techlify-update/techlify-update-routing.module.js +0 -22
  456. package/esm2015/lib/techlify-update/techlify-update.module.js +0 -30
  457. package/esm2015/lib/techlify-update/techlify-update.service.js +0 -43
  458. package/esm2015/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.js +0 -161
  459. package/esm2015/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.js +0 -82
  460. package/esm2015/lib/techlify-update/update-notifier/update-notifier.component.js +0 -62
  461. package/esm2015/lib/techlify-update/update-notifier/update-notifier.module.js +0 -29
  462. package/esm2015/lib/techlify-update/update-view/update-view.component.js +0 -36
  463. package/esm2015/lib/techlify-update/update-view/update-view.module.js +0 -24
  464. package/esm2015/lib/timeline-filter/calculate-timeline.js +0 -102
  465. package/esm2015/lib/timeline-filter/index.js +0 -4
  466. package/esm2015/lib/timeline-filter/timeline-filter-routing.module.js +0 -12
  467. package/esm2015/lib/timeline-filter/timeline-filter.component.js +0 -213
  468. package/esm2015/lib/timeline-filter/timeline-filter.module.js +0 -23
  469. package/esm2015/lib/timeline-filter/timeline.model.js +0 -18
  470. package/esm2015/lib/utility/date-utils.service.js +0 -48
  471. package/esm2015/lib/utility/index.js +0 -4
  472. package/esm2015/lib/utility/num-items-selector.component.js +0 -30
  473. package/esm2015/lib/utility/number-selector.component.js +0 -38
  474. package/esm2015/lib/utility/utility.module.js +0 -21
  475. package/esm2015/ngx-techlify-core.js +0 -60
  476. package/esm2015/public-api.js +0 -96
  477. package/fesm2015/ngx-techlify-core.js +0 -7039
  478. package/fesm2015/ngx-techlify-core.js.map +0 -1
  479. package/lib/action-popup/action-popup.component.d.ts +0 -14
  480. package/lib/action-popup/action-popup.module.d.ts +0 -2
  481. package/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.d.ts +0 -2
  482. package/lib/audit-log/audit-log-for-model/audit-log-for-model.component.d.ts +0 -12
  483. package/lib/audit-log/audit-log-for-model/audit-log-for-model.module.d.ts +0 -2
  484. package/lib/audit-log/audit-log-list/audit-log-list-routing.module.d.ts +0 -2
  485. package/lib/audit-log/audit-log-list/audit-log-list.component.d.ts +0 -32
  486. package/lib/audit-log/audit-log-list/audit-log-list.module.d.ts +0 -2
  487. package/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.d.ts +0 -2
  488. package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.d.ts +0 -19
  489. package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.d.ts +0 -2
  490. package/lib/audit-log/audit-log-routing.module.d.ts +0 -2
  491. package/lib/audit-log/audit-log-view/audit-log-view-routing.module.d.ts +0 -2
  492. package/lib/audit-log/audit-log-view/audit-log-view.component.d.ts +0 -17
  493. package/lib/audit-log/audit-log-view/audit-log-view.module.d.ts +0 -2
  494. package/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.d.ts +0 -2
  495. package/lib/audit-log/audit-log-view-model/audit-log-view-model.component.d.ts +0 -15
  496. package/lib/audit-log/audit-log-view-model/audit-log-view-model.module.d.ts +0 -2
  497. package/lib/audit-log/audit-log.module.d.ts +0 -2
  498. package/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.d.ts +0 -2
  499. package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.d.ts +0 -11
  500. package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.d.ts +0 -2
  501. package/lib/base-model/index.d.ts +0 -3
  502. package/lib/base-model/techlify-form-component.class.d.ts +0 -43
  503. package/lib/base-model/techlify-listing-component.class.d.ts +0 -47
  504. package/lib/base-model/techlify-service.class.d.ts +0 -52
  505. package/lib/core/alert.service.d.ts +0 -12
  506. package/lib/core/api-prefix.interceptor.d.ts +0 -11
  507. package/lib/core/authentication.guard.d.ts +0 -10
  508. package/lib/core/authentication.service.d.ts +0 -23
  509. package/lib/core/cache.interceptor.d.ts +0 -21
  510. package/lib/core/config.service.d.ts +0 -19
  511. package/lib/core/core.module.d.ts +0 -3
  512. package/lib/core/credentials.service.d.ts +0 -36
  513. package/lib/core/error-handler.interceptor.d.ts +0 -14
  514. package/lib/core/error-handler.service.d.ts +0 -14
  515. package/lib/core/form-validator.service.d.ts +0 -8
  516. package/lib/core/header.interceptor.d.ts +0 -8
  517. package/lib/core/http-cache.service.d.ts +0 -54
  518. package/lib/core/http.service.d.ts +0 -56
  519. package/lib/core/logger.service.d.ts +0 -85
  520. package/lib/core/route-reusable-strategy.d.ts +0 -13
  521. package/lib/core/snack/snack.component.d.ts +0 -8
  522. package/lib/core/snack/snack.module.d.ts +0 -2
  523. package/lib/core/storage.service.d.ts +0 -15
  524. package/lib/core/techlify-config.model.d.ts +0 -18
  525. package/lib/core/token.interceptor.d.ts +0 -11
  526. package/lib/data-table/data-table.component.d.ts +0 -60
  527. package/lib/data-table/data-table.module.d.ts +0 -2
  528. package/lib/date-validator.d.ts +0 -1
  529. package/lib/document-viewer/document-viewer.component.d.ts +0 -16
  530. package/lib/document-viewer/document-viewer.module.d.ts +0 -2
  531. package/lib/document-viewer/viewer-config.model.d.ts +0 -5
  532. package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.d.ts +0 -7
  533. package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.d.ts +0 -17
  534. package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.d.ts +0 -2
  535. package/lib/email-subscription/email-subscription-routing.module.d.ts +0 -2
  536. package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.d.ts +0 -2
  537. package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.d.ts +0 -32
  538. package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.d.ts +0 -2
  539. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.d.ts +0 -9
  540. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.d.ts +0 -30
  541. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.d.ts +0 -2
  542. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.d.ts +0 -1
  543. package/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.d.ts +0 -2
  544. package/lib/email-subscription/email-subscription-type/email-subscription-type.module.d.ts +0 -2
  545. package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.d.ts +0 -2
  546. package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.d.ts +0 -32
  547. package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.d.ts +0 -2
  548. package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.d.ts +0 -9
  549. package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.d.ts +0 -32
  550. package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.d.ts +0 -2
  551. package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.d.ts +0 -2
  552. package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.d.ts +0 -13
  553. package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.d.ts +0 -2
  554. package/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.d.ts +0 -2
  555. package/lib/email-subscription/email-subscription-user/email-subscription-user.module.d.ts +0 -2
  556. package/lib/email-subscription/email-subscription.module.d.ts +0 -2
  557. package/lib/entity-files/entity-file-form/entity-file-form.component.d.ts +0 -34
  558. package/lib/entity-files/entity-file.service.d.ts +0 -10
  559. package/lib/entity-files/entity-files-view-all.component.d.ts +0 -45
  560. package/lib/entity-files/entity-files-view-all.module.d.ts +0 -2
  561. package/lib/entity-files/index.d.ts +0 -2
  562. package/lib/export-excel/export-excel-button/export-excel-button.component.d.ts +0 -8
  563. package/lib/export-excel/export-excel.module.d.ts +0 -2
  564. package/lib/file-dropper/file-dropper.component.d.ts +0 -33
  565. package/lib/file-dropper/file-dropper.model.d.ts +0 -10
  566. package/lib/file-dropper/file-dropper.module.d.ts +0 -2
  567. package/lib/import-csv/data-import/data-import.component.d.ts +0 -6
  568. package/lib/import-csv/failed-items-list/failed-items-list.component.d.ts +0 -12
  569. package/lib/import-csv/field-mapping/field-mapping.component.d.ts +0 -34
  570. package/lib/import-csv/import-csv-config.d.ts +0 -17
  571. package/lib/import-csv/import-csv.component.d.ts +0 -33
  572. package/lib/import-csv/import-csv.module.d.ts +0 -2
  573. package/lib/import-csv/import-history-list/import-history-list.component.d.ts +0 -21
  574. package/lib/import-csv/import-success/import-success.component.d.ts +0 -8
  575. package/lib/loader/loader.component.d.ts +0 -8
  576. package/lib/loader/loader.module.d.ts +0 -2
  577. package/lib/login-history-for-user/login-history-for-user-routing.module.d.ts +0 -2
  578. package/lib/login-history-for-user/login-history-for-user.component.d.ts +0 -23
  579. package/lib/login-history-for-user/login-history-for-user.module.d.ts +0 -2
  580. package/lib/material.module.d.ts +0 -2
  581. package/lib/note/comment-form/comment-form.component.d.ts +0 -22
  582. package/lib/note/note-form/note-form.component.d.ts +0 -27
  583. package/lib/note/note-list/note-list.component.d.ts +0 -28
  584. package/lib/note/note.module.d.ts +0 -2
  585. package/lib/note/note.service.d.ts +0 -9
  586. package/lib/read-more/read-more.component.d.ts +0 -12
  587. package/lib/read-more/read-more.module.d.ts +0 -2
  588. package/lib/searchable-selector/index.d.ts +0 -2
  589. package/lib/searchable-selector/mat-select-infinite-scroll.directive.d.ts +0 -23
  590. package/lib/searchable-selector/searchable-selector.component.d.ts +0 -81
  591. package/lib/searchable-selector/searchable-selector.module.d.ts +0 -2
  592. package/lib/techlify-feature/on-off-switch/on-off-switch.component.d.ts +0 -9
  593. package/lib/techlify-feature/techlify-feature-enabled.directive.d.ts +0 -17
  594. package/lib/techlify-feature/techlify-feature-listing.component.d.ts +0 -37
  595. package/lib/techlify-feature/techlify-feature.module.d.ts +0 -2
  596. package/lib/techlify-feature/techlify-feature.routing.d.ts +0 -2
  597. package/lib/techlify-feature/techlify-feature.service.d.ts +0 -8
  598. package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.d.ts +0 -12
  599. package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.d.ts +0 -76
  600. package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.d.ts +0 -2
  601. package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.d.ts +0 -58
  602. package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.d.ts +0 -2
  603. package/lib/techlify-update/techlify-update-form/techlify-update-form.component.d.ts +0 -30
  604. package/lib/techlify-update/techlify-update-form/techlify-update-form.module.d.ts +0 -2
  605. package/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.d.ts +0 -2
  606. package/lib/techlify-update/techlify-update-history/techlify-update-history.component.d.ts +0 -31
  607. package/lib/techlify-update/techlify-update-history/techlify-update-history.module.d.ts +0 -2
  608. package/lib/techlify-update/techlify-update-routing.module.d.ts +0 -2
  609. package/lib/techlify-update/techlify-update.module.d.ts +0 -2
  610. package/lib/techlify-update/techlify-update.service.d.ts +0 -13
  611. package/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.d.ts +0 -31
  612. package/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.d.ts +0 -25
  613. package/lib/techlify-update/update-notifier/update-notifier.component.d.ts +0 -16
  614. package/lib/techlify-update/update-notifier/update-notifier.module.d.ts +0 -2
  615. package/lib/techlify-update/update-view/update-view.component.d.ts +0 -14
  616. package/lib/techlify-update/update-view/update-view.module.d.ts +0 -2
  617. package/lib/timeline-filter/calculate-timeline.d.ts +0 -6
  618. package/lib/timeline-filter/timeline-filter-routing.module.d.ts +0 -2
  619. package/lib/timeline-filter/timeline-filter.component.d.ts +0 -61
  620. package/lib/timeline-filter/timeline-filter.module.d.ts +0 -2
  621. package/lib/timeline-filter/timeline.model.d.ts +0 -17
  622. package/lib/utility/date-utils.service.d.ts +0 -21
  623. package/lib/utility/num-items-selector.component.d.ts +0 -16
  624. package/lib/utility/number-selector.component.d.ts +0 -20
  625. package/lib/utility/utility.module.d.ts +0 -2
  626. package/ngx-techlify-core.d.ts +0 -59
  627. package/ngx-techlify-core.metadata.json +0 -1
@@ -0,0 +1,28 @@
1
+ /* tslint:disable:no-unused-variable */
2
+ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3
+ import { By } from '@angular/platform-browser';
4
+ import { DebugElement } from '@angular/core';
5
+
6
+ import { DataImportComponent } from './data-import.component';
7
+
8
+ describe('DataImportComponent', () => {
9
+ let component: DataImportComponent;
10
+ let fixture: ComponentFixture<DataImportComponent>;
11
+
12
+ beforeEach(async(() => {
13
+ TestBed.configureTestingModule({
14
+ declarations: [ DataImportComponent ]
15
+ })
16
+ .compileComponents();
17
+ }));
18
+
19
+ beforeEach(() => {
20
+ fixture = TestBed.createComponent(DataImportComponent);
21
+ component = fixture.componentInstance;
22
+ fixture.detectChanges();
23
+ });
24
+
25
+ it('should create', () => {
26
+ expect(component).toBeTruthy();
27
+ });
28
+ });
@@ -0,0 +1,16 @@
1
+ import { Component, Input, OnInit } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'app-data-import',
5
+ templateUrl: './data-import.component.html',
6
+ styleUrls: ['./data-import.component.scss']
7
+ })
8
+ export class DataImportComponent implements OnInit {
9
+ @Input() step: any;
10
+
11
+ constructor() { }
12
+
13
+ ngOnInit() {
14
+ }
15
+
16
+ }
@@ -0,0 +1,61 @@
1
+ <div *ngIf="failedItems.length" class="mt-4" fxLayout="column">
2
+ <div fxLayout="row wrap" class="pb-3">
3
+ <h5 fxFlex="30%" class="primary-color">Summary</h5>
4
+ <div fxFlex="70%" fxLayoutAlign="center center">
5
+ <h5 class="secondary-color">
6
+ <span class="font-weight-bold">{{failedItems.length}}</span>
7
+ </h5>
8
+ <span class="text-muted ml-2"> Error(s) Found In Uploaded File</span>
9
+ </div>
10
+ </div>
11
+
12
+ <div>
13
+ <mat-divider></mat-divider>
14
+ </div>
15
+ <div fxLayout="row wrap" class="pt-3">
16
+ <h5 class="primary-color">Errors</h5>
17
+ <div style="overflow-x: auto;width: 1100px;" class="pt-3">
18
+ <table class="table table-bordered table-striped table-hover table-sm ml-4 w-100">
19
+ <thead>
20
+ <tr>
21
+ <th>#</th>
22
+ <th *ngFor="let field of selectedFields;">{{field?.label}}</th>
23
+ <th class="text-danger">Error</th>
24
+ </tr>
25
+ </thead>
26
+ <tbody>
27
+ <ng-container *ngFor="let timesheet of failedItems; let i=index">
28
+ <tr>
29
+ <td>{{i + 1}}</td>
30
+ <td *ngFor="let field of selectedFields;">
31
+ <ng-container *ngIf="(field.propertyType == 'date' || field.propertyType == 'dateTime')
32
+ &&isValidDate(timesheet[field.property]);else elseProperty;">
33
+ {{ timesheet[field.property] | date: 'MMM d, y, H:mm:ss' }}
34
+ </ng-container>
35
+ <ng-template #elseProperty>
36
+ {{ timesheet[field.property] }}
37
+ </ng-template>
38
+ </td>
39
+ <td class="text-danger">
40
+ {{timesheet?.error}}
41
+ </td>
42
+ </tr>
43
+ </ng-container>
44
+ </tbody>
45
+ </table>
46
+ </div>
47
+ </div>
48
+ <div class="mt-1" fxFlex="100%" fxLayoutAlign="end">
49
+ <button mat-button class="mt-2 mr-2" type="button" (click)="location.back()">
50
+ Close
51
+ </button>
52
+ <button mat-stroked-button class="mt-2 mr-2 primary-color" type="button" (click)="reUpload()">
53
+ <mat-icon>
54
+ <span class="material-icons-outlined">
55
+ file_upload
56
+ </span>
57
+ </mat-icon>
58
+ Re-upload
59
+ </button>
60
+ </div>
61
+ </div>
@@ -0,0 +1,28 @@
1
+ /* tslint:disable:no-unused-variable */
2
+ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3
+ import { By } from '@angular/platform-browser';
4
+ import { DebugElement } from '@angular/core';
5
+
6
+ import { FailedItemsListComponent } from './failed-items-list.component';
7
+
8
+ describe('FailedItemsListComponent', () => {
9
+ let component: FailedItemsListComponent;
10
+ let fixture: ComponentFixture<FailedItemsListComponent>;
11
+
12
+ beforeEach(async(() => {
13
+ TestBed.configureTestingModule({
14
+ declarations: [ FailedItemsListComponent ]
15
+ })
16
+ .compileComponents();
17
+ }));
18
+
19
+ beforeEach(() => {
20
+ fixture = TestBed.createComponent(FailedItemsListComponent);
21
+ component = fixture.componentInstance;
22
+ fixture.detectChanges();
23
+ });
24
+
25
+ it('should create', () => {
26
+ expect(component).toBeTruthy();
27
+ });
28
+ });
@@ -0,0 +1,30 @@
1
+ import { Location } from '@angular/common';
2
+ import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
3
+
4
+ @Component({
5
+ selector: 'app-failed-items-list',
6
+ templateUrl: './failed-items-list.component.html',
7
+ styleUrls: ['./failed-items-list.component.scss']
8
+ })
9
+ export class FailedItemsListComponent implements OnInit {
10
+ @Input() failedItems: any[];
11
+ @Input() selectedFields: any[];
12
+ @Output() onReUpload = new EventEmitter();
13
+
14
+ constructor(
15
+ public location: Location
16
+ ) { }
17
+
18
+ ngOnInit() {
19
+ }
20
+
21
+ isValidDate(d: any): boolean {
22
+ var date = new Date(d);
23
+ return date instanceof Date && !isNaN(date.getTime());
24
+ }
25
+
26
+ reUpload() {
27
+ this.onReUpload.emit(true);
28
+ }
29
+
30
+ }
@@ -0,0 +1,70 @@
1
+ <div fxLayout="column" class="mt-2">
2
+ <div fxLayout="row wrap" class="pb-3">
3
+ <h5 fxFlex="30%" class="primary-color">Summary</h5>
4
+ <div fxFlex="70%" fxLayoutAlign="center center">
5
+ <h5 class="secondary-color">
6
+ <span class="font-weight-bold">{{data.length}}</span>
7
+ </h5>
8
+ <span class="text-muted ml-2"> Records Found In Uploaded File</span>
9
+ </div>
10
+ </div>
11
+
12
+ <div>
13
+ <mat-divider></mat-divider>
14
+ </div>
15
+
16
+ <form [formGroup]="importMappingForm" (ngSubmit)="next()" fxLayout="column" class="pt-3">
17
+ <h5 class="primary-color pb-2">Properties</h5>
18
+ <table style="width: 100%;" class="table table-sm table-striped">
19
+ <tr class="table-header-row">
20
+ <th>Column Headers From File</th>
21
+ <th>Preview Information</th>
22
+ <th>Property</th>
23
+ </tr>
24
+ <ng-container formArrayName="fields">
25
+ <tr *ngFor="let field of fieldsArray.controls; let i=index" [formGroupName]="i">
26
+ <td>{{ field.get('label').value }}</td>
27
+ <td>{{ field.get('value').value }}</td>
28
+ <td>
29
+ <mat-form-field fxFlex="100%" appearance="outline">
30
+ <mat-label>Select Property</mat-label>
31
+ <mat-select placeholder="Select Property" formControlName="property" required
32
+ (selectionChange)="updatePropertyType($event, i)">
33
+ <mat-option *ngFor="let property of properties" [value]="property.value">
34
+ {{property.label}}
35
+ </mat-option>
36
+ </mat-select>
37
+ <mat-error *ngIf="isFieldValid('property', fieldsArray.controls[i])">
38
+ {{getErrorMessage('property', fieldsArray.controls[i])}}
39
+ </mat-error>
40
+ </mat-form-field>
41
+ <button type="button" mat-icon-button (click)="removeField(i)" *ngIf="fieldsArray.length > 1"
42
+ matTooltip="Remove column" matTooltipPosition="right">
43
+ <mat-icon class="text-danger">remove_circle</mat-icon>
44
+ </button>
45
+ </td>
46
+ </tr>
47
+ </ng-container>
48
+ </table>
49
+
50
+ <div class="mt-1" fxFlex="100%" fxLayoutAlign="end">
51
+ <button mat-button class="mt-2 mr-2" type="button" (click)="location.back()">
52
+ Cancel
53
+ </button>
54
+ <button mat-stroked-button class="mt-2 mr-2 primary-color" type="button" (click)="reUpload()">
55
+ <mat-icon>
56
+ <span class="material-icons-outlined">
57
+ file_upload
58
+ </span>
59
+ </mat-icon>
60
+ Re-upload
61
+ </button>
62
+ <button mat-stroked-button class="mt-2 primary-bg text-white" type="submit">
63
+ Next
64
+ <mat-icon>
65
+ chevron_right
66
+ </mat-icon>
67
+ </button>
68
+ </div>
69
+ </form>
70
+ </div>
@@ -0,0 +1,15 @@
1
+ table {
2
+ width: 100%;
3
+ }
4
+
5
+ th,
6
+ td {
7
+ padding: 1%;
8
+ }
9
+
10
+ .table-header-row {
11
+ background-color: #e6e4e4;
12
+ color: black;
13
+ font-weight: bolder;
14
+ }
15
+
@@ -0,0 +1,161 @@
1
+ import { FormValidatorService } from '../../core/form-validator.service';
2
+ import { ChangeDetectorRef, Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
3
+ import { FormArray, FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
4
+ import { Location } from '@angular/common';
5
+ import { ImportCsvConfig } from '../import-csv-config';
6
+
7
+ const errorMessages: any = {
8
+ property: {
9
+ required: "Property is required",
10
+ unavailable: "Duplicate entry"
11
+ },
12
+ };
13
+
14
+ @Component({
15
+ selector: 'app-field-mapping',
16
+ templateUrl: './field-mapping.component.html',
17
+ styleUrls: ['./field-mapping.component.scss']
18
+ })
19
+ export class FieldMappingComponent implements OnInit {
20
+
21
+ importMappingForm: FormGroup;
22
+ @Input() data: any[];
23
+ @Input() config: ImportCsvConfig;
24
+ firstDataArray: any[] = [];
25
+ properties: any[] = [];
26
+ @Output() onSave = new EventEmitter();
27
+ @Output() onReUpload= new EventEmitter();
28
+
29
+ constructor(
30
+ private fb: FormBuilder,
31
+ private formValidatorService: FormValidatorService,
32
+ private changeDetectorRef: ChangeDetectorRef,
33
+ public location: Location
34
+ ) {
35
+ this.createImportMappingForm();
36
+ }
37
+
38
+ ngOnInit() {
39
+ this.properties = this.config.properties;;
40
+ this.reFectorAttributes(this.data[0]);
41
+ }
42
+
43
+ createImportMappingForm() {
44
+ this.importMappingForm = this.fb.group({
45
+ fields: this.fb.array([]),
46
+ });
47
+ }
48
+
49
+ get fieldsArray(): FormArray {
50
+ return this.importMappingForm.get('fields') as FormArray;
51
+ }
52
+
53
+ createField(field: any): FormGroup {
54
+ var fieldForm: FormGroup = this.fb.group({
55
+ id: new FormControl(field.id),
56
+ label: new FormControl(field.label),
57
+ value: new FormControl(field.value),
58
+ property: new FormControl(field.property,
59
+ Validators.compose(
60
+ [
61
+ Validators.required
62
+ ]
63
+ )
64
+ ),
65
+ propertyType: new FormControl(field.propertyType)
66
+ });
67
+ return fieldForm;
68
+ }
69
+
70
+ reFectorAttributes(data) {
71
+ for (var k in data) {
72
+ if (data.hasOwnProperty(k)) {
73
+ var dataValue = {
74
+ id: '',
75
+ label: k,
76
+ value: data[k],
77
+ property: '',
78
+ propertyType: ''
79
+ };
80
+ this.firstDataArray.push(dataValue);
81
+ }
82
+ }
83
+ this.firstDataArray.forEach((element: any, mainIndex: any) => {
84
+ element.id = mainIndex;
85
+ this.properties.find((property: any, index: any) => {
86
+ if (property.label.toLowerCase().includes(element.label.toLowerCase())) {
87
+ element.property = property.value;
88
+ element.propertyType = property.type;
89
+ return element;
90
+ }
91
+ });
92
+ });
93
+ }
94
+
95
+ next() {
96
+ this.importMappingForm.markAllAsTouched();
97
+ if (!this.importMappingForm.valid) {
98
+ return;
99
+ }
100
+ this.onSave.emit(this.importMappingForm.value);
101
+ }
102
+
103
+ /** Method to evaluate form fields*/
104
+ isFieldValid(field: string, form: any) {
105
+ return this.formValidatorService.isFieldValid(field, form);
106
+ }
107
+
108
+ /** Method to find error in form fields*/
109
+ getErrorMessage(field: string, form: any) {
110
+ return this.formValidatorService.getErrorMessage(field, form, errorMessages);
111
+ }
112
+
113
+ ngAfterViewInit(): void {
114
+ //Called after ngAfterContentInit when the component's view has been initialized. Applies to components only.
115
+ //Add 'implements AfterViewInit' to the class.
116
+ setTimeout(x => {
117
+ this.firstDataArray.forEach((element: any) => {
118
+ this.fieldsArray.push(this.createField(element));
119
+ });
120
+ this.changeDetectorRef.detectChanges();
121
+ }, 500);
122
+ }
123
+
124
+ updatePropertyType(event: any, index: any): void {
125
+ var field = this.properties.find((field: any) => field.value == event.value);
126
+ if (field) {
127
+ this.fieldsArray.controls[index].get('propertyType').setValue(field.type);
128
+ this.uniqueValidator();
129
+ }
130
+ }
131
+
132
+ uniqueValidator() {
133
+ this.fieldsArray.value.forEach((field: any, index: any) => {
134
+ var control = this.fieldsArray.controls[index].get('property');
135
+ const isNameUnique = this.fieldsArray.value.find(propertyData =>
136
+ propertyData.property === control.value
137
+ && propertyData.id != this.fieldsArray.controls[index].get('id').value
138
+ )
139
+ ? false
140
+ : true;
141
+ if (!isNameUnique) {
142
+ control.setErrors({ unavailable: true });
143
+ }
144
+ else {
145
+ control.setErrors(null);
146
+ }
147
+ });
148
+ }
149
+
150
+ removeField(index: number) {
151
+ if (index == -1) {
152
+ return;
153
+ }
154
+ this.fieldsArray.removeAt(index);
155
+ }
156
+
157
+ reUpload() {
158
+ this.onReUpload.emit(true);
159
+ }
160
+
161
+ }
@@ -0,0 +1,17 @@
1
+ export declare class ImportCsvConfig {
2
+ apiUrl: string;
3
+ title: string;
4
+ importType: string;
5
+ properties: any[];
6
+ customErrorMessages?: any[]; /** Optional */
7
+ sampleFile?: {
8
+ name: string;
9
+ path: string;
10
+ }; /** Optional */
11
+ viewRouterLink?: string;
12
+ importHistory: {
13
+ isEnabled: boolean;
14
+ type?: string;
15
+ apiUrl?: string;
16
+ }
17
+ }
@@ -0,0 +1,71 @@
1
+ <div fxLayout="column wrap" class="p-4">
2
+ <mat-card fxFlex="100%" fxLayoutAlign="center center" class="p-0">
3
+ <mat-card-content fxFill fxLayout="row wrap" fxLayoutAlign="center center" class="primary-color">
4
+ <h4 fxFlex="20%" class="ml-2">
5
+ Step {{step.step}}: <span class="normal-font-weight">{{step?.title}}</span>
6
+ </h4>
7
+ <h3 fxFlex="80%" fxLayoutAlign="center center" class="text-dark" fxLayoutGap="1rem grid">
8
+ <span>{{config?.title}} Import</span>
9
+ <a *ngIf="config?.sampleFile && currentStep == 1" style="color: inherit;" [download]="config?.sampleFile?.name"
10
+ target="_blank" [href]="config?.sampleFile?.path" matTooltip="Download Sample file" matTooltipPosition="below"
11
+ fxLayoutAlign="center center">
12
+ <button mat-stroked-button class="primary-color">
13
+ <mat-icon>
14
+ download
15
+ </mat-icon>
16
+ Sample File
17
+ </button>
18
+ </a>
19
+ </h3>
20
+ </mat-card-content>
21
+ </mat-card>
22
+ <div fxFlex="100%" class="mt-3">
23
+ <div fxLayout="row wrap" fxLayoutGap="1rem grid" *ngIf="currentStep==1 || currentStep == 2 || currentStep == 4">
24
+ <div fxFlex="100%" fxFlex.gt-sm="0 1 calc(70%-1rem)">
25
+ <mat-card fxFlex="100%">
26
+ <mat-card-content fxLayout="column">
27
+ <div fxFlex="100%">
28
+ <section fxLayout="column" *ngIf="config.importType && !this.fileData.length && !this.failedItems.length">
29
+ <h5 class="primary-color pb-3">File Upload</h5>
30
+ <app-file-dropper fxFill class="mb-2 drop-section" [config]="filesConfig" [fileArray]="filesList"
31
+ (fileChanged)="fileChanged($event)">
32
+ </app-file-dropper>
33
+ <app-import-history-list *ngIf="config.importHistory.isEnabled" [config]="config">
34
+ </app-import-history-list>
35
+ </section>
36
+ <app-field-mapping class="w-100" *ngIf="this.fileData.length > 0 && !this.failedItems.length"
37
+ [data]="fileData" [config]="config" (onSave)="mappingProcessed($event)" (onReUpload)="reUpload()">
38
+ </app-field-mapping>
39
+ <app-failed-items-list class="w-100" *ngIf="this.failedItems.length > 0" [failedItems]="failedItems"
40
+ [selectedFields]="selectedFields" (onReUpload)="reUpload()"></app-failed-items-list>
41
+ </div>
42
+ </mat-card-content>
43
+ </mat-card>
44
+ </div>
45
+ <div fxFlex="100%" fxFlex.gt-sm="30%">
46
+ <mat-card fxFlex="100%">
47
+ <mat-card-content fxLayout="column" fxLayoutAlign="start start">
48
+ <h5 class="primary-color pb-3">Instructions & Requirements</h5>
49
+ <div class="text-muted">
50
+ <p>
51
+ Please use this yyyy-mm-dd date format for all the date fields. Otherwise your date fields will be
52
+ incorrect or not will be accepted. Ex: 2021-09-27
53
+ </p>
54
+ <ng-container *ngIf="config?.customErrorMessages">
55
+ <p *ngFor="let message of config?.customErrorMessages">
56
+ {{message}}
57
+ </p>
58
+ </ng-container>
59
+ </div>
60
+ </mat-card-content>
61
+ </mat-card>
62
+ </div>
63
+ </div>
64
+ <div fxLayout="column wrap" class="p-4" *ngIf="currentStep==3 || currentStep == 5">
65
+ <app-data-import [step]="step" fxLayoutAlign="center center"></app-data-import>
66
+ </div>
67
+ <div fxLayout="column wrap" class="p-4" *ngIf="currentStep == 6">
68
+ <app-import-success [data]="result" [config]="config" fxLayoutAlign="center center"></app-import-success>
69
+ </div>
70
+ </div>
71
+ </div>
@@ -0,0 +1,15 @@
1
+ .drop-section {
2
+ width: 500px !important;
3
+ }
4
+
5
+ .mat-card-title {
6
+ margin: 0px !important;
7
+ }
8
+
9
+ .clickable-card {
10
+ width: 100%;
11
+ }
12
+
13
+ .normal-font-weight {
14
+ font-weight: 200 !important;
15
+ }
@@ -0,0 +1,28 @@
1
+ /* tslint:disable:no-unused-variable */
2
+ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3
+ import { By } from '@angular/platform-browser';
4
+ import { DebugElement } from '@angular/core';
5
+
6
+ import { ImportCsvComponent } from './import-csv.component';
7
+
8
+ describe('ImportDashboardComponent', () => {
9
+ let component: ImportCsvComponent;
10
+ let fixture: ComponentFixture<ImportCsvComponent>;
11
+
12
+ beforeEach(async(() => {
13
+ TestBed.configureTestingModule({
14
+ declarations: [ ImportCsvComponent ]
15
+ })
16
+ .compileComponents();
17
+ }));
18
+
19
+ beforeEach(() => {
20
+ fixture = TestBed.createComponent(ImportCsvComponent);
21
+ component = fixture.componentInstance;
22
+ fixture.detectChanges();
23
+ });
24
+
25
+ it('should create', () => {
26
+ expect(component).toBeTruthy();
27
+ });
28
+ });