ngx-techlify-core 11.5.2 → 14.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (801) hide show
  1. package/esm2020/lib/action-popup/action-popup.component.mjs +34 -0
  2. package/esm2020/lib/action-popup/action-popup.model.mjs +3 -0
  3. package/esm2020/lib/action-popup/action-popup.module.mjs +32 -0
  4. package/esm2020/lib/action-popup/index.mjs +3 -0
  5. package/esm2020/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.mjs +18 -0
  6. package/esm2020/lib/audit-log/audit-log-for-model/audit-log-for-model.component.mjs +51 -0
  7. package/esm2020/lib/audit-log/audit-log-for-model/audit-log-for-model.module.mjs +40 -0
  8. package/esm2020/lib/audit-log/audit-log-list/audit-log-list-routing.module.mjs +18 -0
  9. package/esm2020/lib/audit-log/audit-log-list/audit-log-list.component.mjs +139 -0
  10. package/esm2020/lib/audit-log/audit-log-list/audit-log-list.module.mjs +48 -0
  11. package/esm2020/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.mjs +18 -0
  12. package/esm2020/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.mjs +74 -0
  13. package/esm2020/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.mjs +40 -0
  14. package/esm2020/lib/audit-log/audit-log-routing.module.mjs +25 -0
  15. package/esm2020/lib/audit-log/audit-log-view/audit-log-view-routing.module.mjs +18 -0
  16. package/esm2020/lib/audit-log/audit-log-view/audit-log-view.component.mjs +51 -0
  17. package/esm2020/lib/audit-log/audit-log-view/audit-log-view.module.mjs +32 -0
  18. package/esm2020/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.mjs +18 -0
  19. package/esm2020/lib/audit-log/audit-log-view-model/audit-log-view-model.component.mjs +56 -0
  20. package/esm2020/lib/audit-log/audit-log-view-model/audit-log-view-model.module.mjs +32 -0
  21. package/esm2020/lib/audit-log/audit-log.module.mjs +31 -0
  22. package/esm2020/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.mjs +18 -0
  23. package/esm2020/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.mjs +37 -0
  24. package/esm2020/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.mjs +32 -0
  25. package/esm2020/lib/base-model/index.mjs +4 -0
  26. package/esm2020/lib/base-model/techlify-form-component.class.mjs +49 -0
  27. package/esm2020/lib/base-model/techlify-listing-component.class.mjs +41 -0
  28. package/esm2020/lib/base-model/techlify-service.class.mjs +64 -0
  29. package/esm2020/lib/core/alert.service.mjs +38 -0
  30. package/esm2020/lib/core/api-prefix.interceptor.mjs +26 -0
  31. package/esm2020/lib/core/authentication.guard.mjs +35 -0
  32. package/esm2020/lib/core/authentication.service.mjs +54 -0
  33. package/esm2020/lib/core/cache.interceptor.mjs +58 -0
  34. package/esm2020/lib/core/config.service.mjs +45 -0
  35. package/esm2020/lib/core/core.module.mjs +63 -0
  36. package/esm2020/lib/core/credentials.service.mjs +79 -0
  37. package/esm2020/lib/core/dataManager.service.mjs +119 -0
  38. package/esm2020/lib/core/error-handler.interceptor.mjs +48 -0
  39. package/esm2020/lib/core/error-handler.service.mjs +55 -0
  40. package/esm2020/lib/core/filter.service.mjs +37 -0
  41. package/esm2020/lib/core/form-validator.service.mjs +24 -0
  42. package/esm2020/lib/core/header.interceptor.mjs +24 -0
  43. package/esm2020/lib/core/http-cache.service.mjs +107 -0
  44. package/esm2020/lib/core/http.service.mjs +84 -0
  45. package/esm2020/lib/core/index.mjs +22 -0
  46. package/esm2020/lib/core/logger.service.mjs +100 -0
  47. package/esm2020/lib/core/route-reusable-strategy.mjs +36 -0
  48. package/esm2020/lib/core/snack/snack.component.mjs +33 -0
  49. package/esm2020/lib/core/snack/snack.module.mjs +36 -0
  50. package/esm2020/lib/core/storage.service.mjs +38 -0
  51. package/esm2020/lib/core/techlify-config.model.mjs +28 -0
  52. package/esm2020/lib/core/token.interceptor.mjs +28 -0
  53. package/esm2020/lib/data-table/data-table.component.mjs +208 -0
  54. package/esm2020/lib/data-table/data-table.model.mjs +11 -0
  55. package/esm2020/lib/data-table/data-table.module.mjs +36 -0
  56. package/esm2020/lib/data-table/index.mjs +3 -0
  57. package/esm2020/lib/date-validator.mjs +10 -0
  58. package/esm2020/lib/document-viewer/document-viewer.component.mjs +65 -0
  59. package/esm2020/lib/document-viewer/document-viewer.module.mjs +36 -0
  60. package/esm2020/lib/document-viewer/index.mjs +3 -0
  61. package/esm2020/lib/document-viewer/viewer-config.model.mjs +3 -0
  62. package/esm2020/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.mjs +32 -0
  63. package/esm2020/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.mjs +76 -0
  64. package/esm2020/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.mjs +36 -0
  65. package/esm2020/lib/email-subscription/email-subscription-for-user/index.mjs +2 -0
  66. package/esm2020/lib/email-subscription/email-subscription-routing.module.mjs +18 -0
  67. package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.mjs +18 -0
  68. package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.mjs +105 -0
  69. package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.mjs +44 -0
  70. package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.mjs +2 -0
  71. package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.mjs +34 -0
  72. package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.mjs +161 -0
  73. package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.mjs +44 -0
  74. package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.mjs +2 -0
  75. package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.mjs +18 -0
  76. package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type.module.mjs +22 -0
  77. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.mjs +18 -0
  78. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.mjs +101 -0
  79. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.mjs +43 -0
  80. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.mjs +2 -0
  81. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.mjs +34 -0
  82. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.mjs +165 -0
  83. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.mjs +48 -0
  84. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.mjs +2 -0
  85. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.mjs +18 -0
  86. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.mjs +52 -0
  87. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.mjs +40 -0
  88. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.mjs +2 -0
  89. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.mjs +18 -0
  90. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user.module.mjs +22 -0
  91. package/esm2020/lib/email-subscription/email-subscription.module.mjs +22 -0
  92. package/esm2020/lib/entity-files/entity-file-form/entity-file-form.component.mjs +144 -0
  93. package/esm2020/lib/entity-files/entity-file.service.mjs +43 -0
  94. package/esm2020/lib/entity-files/entity-files-view-all.component.mjs +320 -0
  95. package/esm2020/lib/entity-files/entity-files-view-all.module.mjs +66 -0
  96. package/esm2020/lib/entity-files/index.mjs +3 -0
  97. package/esm2020/lib/export-excel/export-excel-button/export-excel-button.component.mjs +32 -0
  98. package/esm2020/lib/export-excel/export-excel.module.mjs +24 -0
  99. package/esm2020/lib/file-dropper/file-dropper.component.mjs +125 -0
  100. package/esm2020/lib/file-dropper/file-dropper.model.mjs +3 -0
  101. package/esm2020/lib/file-dropper/file-dropper.module.mjs +30 -0
  102. package/esm2020/lib/file-dropper/index.mjs +3 -0
  103. package/esm2020/lib/import-csv/data-import/data-import.component.mjs +18 -0
  104. package/esm2020/lib/import-csv/failed-items-list/failed-items-list.component.mjs +35 -0
  105. package/esm2020/lib/import-csv/field-mapping/field-mapping.component.mjs +153 -0
  106. package/esm2020/lib/import-csv/import-csv-config.mjs +2 -0
  107. package/esm2020/lib/import-csv/import-csv.component.mjs +198 -0
  108. package/esm2020/lib/import-csv/import-csv.module.mjs +74 -0
  109. package/esm2020/lib/import-csv/import-history-list/import-history-list.component.mjs +71 -0
  110. package/esm2020/lib/import-csv/import-success/import-success.component.mjs +24 -0
  111. package/esm2020/lib/loader/index.mjs +2 -0
  112. package/esm2020/lib/loader/loader.component.mjs +23 -0
  113. package/esm2020/lib/loader/loader.module.mjs +28 -0
  114. package/esm2020/lib/login-history-for-user/login-history-for-user-routing.module.mjs +26 -0
  115. package/esm2020/lib/login-history-for-user/login-history-for-user.component.mjs +92 -0
  116. package/esm2020/lib/login-history-for-user/login-history-for-user.module.mjs +44 -0
  117. package/esm2020/lib/material.module.mjs +115 -0
  118. package/esm2020/lib/note/comment-form/comment-form.component.mjs +77 -0
  119. package/esm2020/lib/note/index.mjs +4 -0
  120. package/esm2020/lib/note/note-form/note-form.component.mjs +79 -0
  121. package/esm2020/lib/note/note-list/note-list.component.mjs +148 -0
  122. package/esm2020/lib/note/note.module.mjs +54 -0
  123. package/esm2020/lib/note/note.service.mjs +29 -0
  124. package/esm2020/lib/read-more/read-more.component.mjs +43 -0
  125. package/esm2020/lib/read-more/read-more.module.mjs +30 -0
  126. package/esm2020/lib/request-helper/request-helper.service.mjs +106 -0
  127. package/esm2020/lib/searchable-selector/index.mjs +3 -0
  128. package/esm2020/lib/searchable-selector/mat-select-infinite-scroll.directive.mjs +84 -0
  129. package/esm2020/lib/searchable-selector/searchable-selector.component.mjs +350 -0
  130. package/esm2020/lib/searchable-selector/searchable-selector.module.mjs +41 -0
  131. package/esm2020/lib/techlify-feature/on-off-switch/on-off-switch.component.mjs +24 -0
  132. package/esm2020/lib/techlify-feature/techlify-feature-enabled.directive.mjs +73 -0
  133. package/esm2020/lib/techlify-feature/techlify-feature-listing.component.mjs +172 -0
  134. package/esm2020/lib/techlify-feature/techlify-feature.module.mjs +48 -0
  135. package/esm2020/lib/techlify-feature/techlify-feature.routing.mjs +12 -0
  136. package/esm2020/lib/techlify-feature/techlify-feature.service.mjs +26 -0
  137. package/esm2020/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.mjs +15 -0
  138. package/esm2020/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.mjs +285 -0
  139. package/esm2020/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.mjs +38 -0
  140. package/esm2020/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.mjs +180 -0
  141. package/esm2020/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.mjs +46 -0
  142. package/esm2020/lib/techlify-update/techlify-update-form/techlify-update-form.component.mjs +114 -0
  143. package/esm2020/lib/techlify-update/techlify-update-form/techlify-update-form.module.mjs +38 -0
  144. package/esm2020/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.mjs +28 -0
  145. package/esm2020/lib/techlify-update/techlify-update-history/techlify-update-history.component.mjs +144 -0
  146. package/esm2020/lib/techlify-update/techlify-update-history/techlify-update-history.module.mjs +47 -0
  147. package/esm2020/lib/techlify-update/techlify-update-routing.module.mjs +28 -0
  148. package/esm2020/lib/techlify-update/techlify-update.module.mjs +51 -0
  149. package/esm2020/lib/techlify-update/techlify-update.service.mjs +41 -0
  150. package/esm2020/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.mjs +162 -0
  151. package/esm2020/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.mjs +77 -0
  152. package/esm2020/lib/techlify-update/update-notifier/update-notifier.component.mjs +53 -0
  153. package/esm2020/lib/techlify-update/update-notifier/update-notifier.module.mjs +39 -0
  154. package/esm2020/lib/techlify-update/update-view/update-view.component.mjs +38 -0
  155. package/esm2020/lib/techlify-update/update-view/update-view.module.mjs +30 -0
  156. package/esm2020/lib/timeline-filter/calculate-timeline.mjs +101 -0
  157. package/esm2020/lib/timeline-filter/index.mjs +4 -0
  158. package/esm2020/lib/timeline-filter/timeline-filter-routing.module.mjs +18 -0
  159. package/esm2020/lib/timeline-filter/timeline-filter.component.mjs +237 -0
  160. package/esm2020/lib/timeline-filter/timeline-filter.module.mjs +60 -0
  161. package/esm2020/lib/timeline-filter/timeline.model.mjs +18 -0
  162. package/esm2020/lib/utility/date-utils.service.mjs +50 -0
  163. package/esm2020/lib/utility/index.mjs +4 -0
  164. package/esm2020/lib/utility/num-items-selector.component.mjs +31 -0
  165. package/esm2020/lib/utility/number-selector.component.mjs +42 -0
  166. package/esm2020/lib/utility/utility.module.mjs +28 -0
  167. package/esm2020/ngx-techlify-core.mjs +5 -0
  168. package/esm2020/public-api.mjs +97 -0
  169. package/fesm2015/ngx-techlify-core.mjs +7890 -0
  170. package/fesm2015/ngx-techlify-core.mjs.map +1 -0
  171. package/fesm2020/ngx-techlify-core.mjs +7795 -0
  172. package/fesm2020/ngx-techlify-core.mjs.map +1 -0
  173. package/index.d.ts +6 -0
  174. package/lib/action-popup/action-popup.component.d.ts +18 -0
  175. package/lib/action-popup/action-popup.component.d.ts.map +1 -0
  176. package/lib/action-popup/action-popup.model.d.ts +6 -0
  177. package/lib/action-popup/action-popup.model.d.ts.map +1 -0
  178. package/lib/action-popup/action-popup.module.d.ts +11 -0
  179. package/lib/action-popup/action-popup.module.d.ts.map +1 -0
  180. package/lib/action-popup/index.d.ts +3 -0
  181. package/lib/action-popup/index.d.ts.map +1 -0
  182. package/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.d.ts +8 -0
  183. package/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.d.ts.map +1 -0
  184. package/lib/audit-log/audit-log-for-model/audit-log-for-model.component.d.ts +16 -0
  185. package/lib/audit-log/audit-log-for-model/audit-log-for-model.component.d.ts.map +1 -0
  186. package/lib/audit-log/audit-log-for-model/audit-log-for-model.module.d.ts +14 -0
  187. package/lib/audit-log/audit-log-for-model/audit-log-for-model.module.d.ts.map +1 -0
  188. package/lib/audit-log/audit-log-list/audit-log-list-routing.module.d.ts +8 -0
  189. package/lib/audit-log/audit-log-list/audit-log-list-routing.module.d.ts.map +1 -0
  190. package/lib/audit-log/audit-log-list/audit-log-list.component.d.ts +36 -0
  191. package/lib/audit-log/audit-log-list/audit-log-list.component.d.ts.map +1 -0
  192. package/lib/audit-log/audit-log-list/audit-log-list.module.d.ts +16 -0
  193. package/lib/audit-log/audit-log-list/audit-log-list.module.d.ts.map +1 -0
  194. package/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.d.ts +8 -0
  195. package/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.d.ts.map +1 -0
  196. package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.d.ts +23 -0
  197. package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.d.ts.map +1 -0
  198. package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.d.ts +14 -0
  199. package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.d.ts.map +1 -0
  200. package/lib/audit-log/audit-log-routing.module.d.ts +8 -0
  201. package/lib/audit-log/audit-log-routing.module.d.ts.map +1 -0
  202. package/lib/audit-log/audit-log-view/audit-log-view-routing.module.d.ts +8 -0
  203. package/lib/audit-log/audit-log-view/audit-log-view-routing.module.d.ts.map +1 -0
  204. package/lib/audit-log/audit-log-view/audit-log-view.component.d.ts +21 -0
  205. package/lib/audit-log/audit-log-view/audit-log-view.component.d.ts.map +1 -0
  206. package/lib/audit-log/audit-log-view/audit-log-view.module.d.ts +12 -0
  207. package/lib/audit-log/audit-log-view/audit-log-view.module.d.ts.map +1 -0
  208. package/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.d.ts +8 -0
  209. package/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.d.ts.map +1 -0
  210. package/lib/audit-log/audit-log-view-model/audit-log-view-model.component.d.ts +19 -0
  211. package/lib/audit-log/audit-log-view-model/audit-log-view-model.component.d.ts.map +1 -0
  212. package/lib/audit-log/audit-log-view-model/audit-log-view-model.module.d.ts +12 -0
  213. package/lib/audit-log/audit-log-view-model/audit-log-view-model.module.d.ts.map +1 -0
  214. package/lib/audit-log/audit-log.module.d.ts +11 -0
  215. package/lib/audit-log/audit-log.module.d.ts.map +1 -0
  216. package/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.d.ts +8 -0
  217. package/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.d.ts.map +1 -0
  218. package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.d.ts +15 -0
  219. package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.d.ts.map +1 -0
  220. package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.d.ts +12 -0
  221. package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.d.ts.map +1 -0
  222. package/lib/base-model/index.d.ts +4 -0
  223. package/lib/base-model/index.d.ts.map +1 -0
  224. package/lib/base-model/techlify-form-component.class.d.ts +44 -0
  225. package/lib/base-model/techlify-form-component.class.d.ts.map +1 -0
  226. package/lib/base-model/techlify-listing-component.class.d.ts +48 -0
  227. package/lib/base-model/techlify-listing-component.class.d.ts.map +1 -0
  228. package/lib/base-model/techlify-service.class.d.ts +53 -0
  229. package/lib/base-model/techlify-service.class.d.ts.map +1 -0
  230. package/lib/core/alert.service.d.ts +16 -0
  231. package/lib/core/alert.service.d.ts.map +1 -0
  232. package/lib/core/api-prefix.interceptor.d.ts +15 -0
  233. package/lib/core/api-prefix.interceptor.d.ts.map +1 -0
  234. package/lib/core/authentication.guard.d.ts +14 -0
  235. package/lib/core/authentication.guard.d.ts.map +1 -0
  236. package/lib/core/authentication.service.d.ts +27 -0
  237. package/lib/core/authentication.service.d.ts.map +1 -0
  238. package/lib/core/cache.interceptor.d.ts +25 -0
  239. package/lib/core/cache.interceptor.d.ts.map +1 -0
  240. package/lib/core/config.service.d.ts +23 -0
  241. package/lib/core/config.service.d.ts.map +1 -0
  242. package/lib/core/core.module.d.ts +12 -0
  243. package/lib/core/core.module.d.ts.map +1 -0
  244. package/lib/core/credentials.service.d.ts +40 -0
  245. package/lib/core/credentials.service.d.ts.map +1 -0
  246. package/{src/lib/core/dataManager.service.ts → lib/core/dataManager.service.d.ts} +26 -76
  247. package/lib/core/dataManager.service.d.ts.map +1 -0
  248. package/lib/core/error-handler.interceptor.d.ts +18 -0
  249. package/lib/core/error-handler.interceptor.d.ts.map +1 -0
  250. package/lib/core/error-handler.service.d.ts +18 -0
  251. package/lib/core/error-handler.service.d.ts.map +1 -0
  252. package/lib/core/filter.service.d.ts +12 -0
  253. package/lib/core/filter.service.d.ts.map +1 -0
  254. package/lib/core/form-validator.service.d.ts +12 -0
  255. package/lib/core/form-validator.service.d.ts.map +1 -0
  256. package/lib/core/header.interceptor.d.ts +12 -0
  257. package/lib/core/header.interceptor.d.ts.map +1 -0
  258. package/lib/core/http-cache.service.d.ts +58 -0
  259. package/lib/core/http-cache.service.d.ts.map +1 -0
  260. package/lib/core/http.service.d.ts +60 -0
  261. package/lib/core/http.service.d.ts.map +1 -0
  262. package/{src/lib/core/index.ts → lib/core/index.d.ts} +1 -1
  263. package/lib/core/index.d.ts.map +1 -0
  264. package/lib/core/logger.service.d.ts +86 -0
  265. package/lib/core/logger.service.d.ts.map +1 -0
  266. package/lib/core/route-reusable-strategy.d.ts +17 -0
  267. package/lib/core/route-reusable-strategy.d.ts.map +1 -0
  268. package/lib/core/snack/snack.component.d.ts +14 -0
  269. package/lib/core/snack/snack.component.d.ts.map +1 -0
  270. package/lib/core/snack/snack.module.d.ts +11 -0
  271. package/lib/core/snack/snack.module.d.ts.map +1 -0
  272. package/lib/core/storage.service.d.ts +19 -0
  273. package/lib/core/storage.service.d.ts.map +1 -0
  274. package/lib/core/techlify-config.model.d.ts +19 -0
  275. package/lib/core/techlify-config.model.d.ts.map +1 -0
  276. package/lib/core/token.interceptor.d.ts +15 -0
  277. package/lib/core/token.interceptor.d.ts.map +1 -0
  278. package/lib/data-table/data-table.component.d.ts +64 -0
  279. package/lib/data-table/data-table.component.d.ts.map +1 -0
  280. package/{src/lib/data-table/data-table.model.ts → lib/data-table/data-table.model.d.ts} +7 -9
  281. package/lib/data-table/data-table.model.d.ts.map +1 -0
  282. package/lib/data-table/data-table.module.d.ts +12 -0
  283. package/lib/data-table/data-table.module.d.ts.map +1 -0
  284. package/lib/data-table/index.d.ts +3 -0
  285. package/lib/data-table/index.d.ts.map +1 -0
  286. package/lib/date-validator.d.ts +2 -0
  287. package/lib/date-validator.d.ts.map +1 -0
  288. package/lib/document-viewer/document-viewer.component.d.ts +20 -0
  289. package/lib/document-viewer/document-viewer.component.d.ts.map +1 -0
  290. package/lib/document-viewer/document-viewer.module.d.ts +12 -0
  291. package/lib/document-viewer/document-viewer.module.d.ts.map +1 -0
  292. package/lib/document-viewer/index.d.ts +3 -0
  293. package/lib/document-viewer/index.d.ts.map +1 -0
  294. package/lib/document-viewer/viewer-config.model.d.ts +6 -0
  295. package/lib/document-viewer/viewer-config.model.d.ts.map +1 -0
  296. package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.d.ts +13 -0
  297. package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.d.ts.map +1 -0
  298. package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.d.ts +21 -0
  299. package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.d.ts.map +1 -0
  300. package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.d.ts +13 -0
  301. package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.d.ts.map +1 -0
  302. package/{src/lib/email-subscription/email-subscription-for-user/index.ts → lib/email-subscription/email-subscription-for-user/index.d.ts} +1 -0
  303. package/lib/email-subscription/email-subscription-for-user/index.d.ts.map +1 -0
  304. package/lib/email-subscription/email-subscription-routing.module.d.ts +8 -0
  305. package/lib/email-subscription/email-subscription-routing.module.d.ts.map +1 -0
  306. package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.d.ts +8 -0
  307. package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.d.ts.map +1 -0
  308. package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.d.ts +36 -0
  309. package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.d.ts.map +1 -0
  310. package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.d.ts +15 -0
  311. package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.d.ts.map +1 -0
  312. package/{src/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.ts → lib/email-subscription/email-subscription-type/email-subscription-type-form/index.d.ts} +1 -0
  313. package/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.d.ts.map +1 -0
  314. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.d.ts +15 -0
  315. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.d.ts.map +1 -0
  316. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.d.ts +34 -0
  317. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.d.ts.map +1 -0
  318. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.d.ts +15 -0
  319. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.d.ts.map +1 -0
  320. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.d.ts +2 -0
  321. package/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.d.ts.map +1 -0
  322. package/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.d.ts +8 -0
  323. package/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.d.ts.map +1 -0
  324. package/lib/email-subscription/email-subscription-type/email-subscription-type.module.d.ts +9 -0
  325. package/lib/email-subscription/email-subscription-type/email-subscription-type.module.d.ts.map +1 -0
  326. package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.d.ts +8 -0
  327. package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.d.ts.map +1 -0
  328. package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.d.ts +36 -0
  329. package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.d.ts.map +1 -0
  330. package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.d.ts +15 -0
  331. package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.d.ts.map +1 -0
  332. package/{src/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.ts → lib/email-subscription/email-subscription-user/email-subscription-user-form/index.d.ts} +1 -0
  333. package/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.d.ts.map +1 -0
  334. package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.d.ts +15 -0
  335. package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.d.ts.map +1 -0
  336. package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.d.ts +36 -0
  337. package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.d.ts.map +1 -0
  338. package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.d.ts +16 -0
  339. package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.d.ts.map +1 -0
  340. package/{src/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.ts → lib/email-subscription/email-subscription-user/email-subscription-user-list/index.d.ts} +1 -0
  341. package/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.d.ts.map +1 -0
  342. package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.d.ts +8 -0
  343. package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.d.ts.map +1 -0
  344. package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.d.ts +17 -0
  345. package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.d.ts.map +1 -0
  346. package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.d.ts +14 -0
  347. package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.d.ts.map +1 -0
  348. package/{src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.ts → lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.d.ts} +1 -0
  349. package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.d.ts.map +1 -0
  350. package/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.d.ts +8 -0
  351. package/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.d.ts.map +1 -0
  352. package/lib/email-subscription/email-subscription-user/email-subscription-user.module.d.ts +9 -0
  353. package/lib/email-subscription/email-subscription-user/email-subscription-user.module.d.ts.map +1 -0
  354. package/lib/email-subscription/email-subscription.module.d.ts +9 -0
  355. package/lib/email-subscription/email-subscription.module.d.ts.map +1 -0
  356. package/lib/entity-files/entity-file-form/entity-file-form.component.d.ts +42 -0
  357. package/lib/entity-files/entity-file-form/entity-file-form.component.d.ts.map +1 -0
  358. package/lib/entity-files/entity-file.service.d.ts +15 -0
  359. package/lib/entity-files/entity-file.service.d.ts.map +1 -0
  360. package/lib/entity-files/entity-files-view-all.component.d.ts +69 -0
  361. package/lib/entity-files/entity-files-view-all.component.d.ts.map +1 -0
  362. package/lib/entity-files/entity-files-view-all.module.d.ts +20 -0
  363. package/lib/entity-files/entity-files-view-all.module.d.ts.map +1 -0
  364. package/lib/entity-files/index.d.ts +3 -0
  365. package/lib/entity-files/index.d.ts.map +1 -0
  366. package/lib/export-excel/export-excel-button/export-excel-button.component.d.ts +12 -0
  367. package/lib/export-excel/export-excel-button/export-excel-button.component.d.ts.map +1 -0
  368. package/lib/export-excel/export-excel.module.d.ts +10 -0
  369. package/lib/export-excel/export-excel.module.d.ts.map +1 -0
  370. package/lib/file-dropper/file-dropper.component.d.ts +37 -0
  371. package/lib/file-dropper/file-dropper.component.d.ts.map +1 -0
  372. package/lib/file-dropper/file-dropper.model.d.ts +11 -0
  373. package/lib/file-dropper/file-dropper.model.d.ts.map +1 -0
  374. package/lib/file-dropper/file-dropper.module.d.ts +11 -0
  375. package/lib/file-dropper/file-dropper.module.d.ts.map +1 -0
  376. package/lib/file-dropper/index.d.ts +3 -0
  377. package/lib/file-dropper/index.d.ts.map +1 -0
  378. package/lib/import-csv/data-import/data-import.component.d.ts +10 -0
  379. package/lib/import-csv/data-import/data-import.component.d.ts.map +1 -0
  380. package/lib/import-csv/failed-items-list/failed-items-list.component.d.ts +16 -0
  381. package/lib/import-csv/failed-items-list/failed-items-list.component.d.ts.map +1 -0
  382. package/lib/import-csv/field-mapping/field-mapping.component.d.ts +38 -0
  383. package/lib/import-csv/field-mapping/field-mapping.component.d.ts.map +1 -0
  384. package/lib/import-csv/import-csv-config.d.ts +18 -0
  385. package/lib/import-csv/import-csv-config.d.ts.map +1 -0
  386. package/lib/import-csv/import-csv.component.d.ts +37 -0
  387. package/lib/import-csv/import-csv.component.d.ts.map +1 -0
  388. package/lib/import-csv/import-csv.module.d.ts +21 -0
  389. package/lib/import-csv/import-csv.module.d.ts.map +1 -0
  390. package/lib/import-csv/import-history-list/import-history-list.component.d.ts +25 -0
  391. package/lib/import-csv/import-history-list/import-history-list.component.d.ts.map +1 -0
  392. package/lib/import-csv/import-success/import-success.component.d.ts +12 -0
  393. package/lib/import-csv/import-success/import-success.component.d.ts.map +1 -0
  394. package/{src/lib/loader/index.ts → lib/loader/index.d.ts} +1 -0
  395. package/lib/loader/index.d.ts.map +1 -0
  396. package/lib/loader/loader.component.d.ts +12 -0
  397. package/lib/loader/loader.component.d.ts.map +1 -0
  398. package/lib/loader/loader.module.d.ts +10 -0
  399. package/lib/loader/loader.module.d.ts.map +1 -0
  400. package/lib/login-history-for-user/login-history-for-user-routing.module.d.ts +8 -0
  401. package/lib/login-history-for-user/login-history-for-user-routing.module.d.ts.map +1 -0
  402. package/lib/login-history-for-user/login-history-for-user.component.d.ts +27 -0
  403. package/lib/login-history-for-user/login-history-for-user.component.d.ts.map +1 -0
  404. package/lib/login-history-for-user/login-history-for-user.module.d.ts +15 -0
  405. package/lib/login-history-for-user/login-history-for-user.module.d.ts.map +1 -0
  406. package/lib/material.module.d.ts +27 -0
  407. package/lib/material.module.d.ts.map +1 -0
  408. package/lib/note/comment-form/comment-form.component.d.ts +26 -0
  409. package/lib/note/comment-form/comment-form.component.d.ts.map +1 -0
  410. package/{src/lib/note/index.ts → lib/note/index.d.ts} +1 -0
  411. package/lib/note/index.d.ts.map +1 -0
  412. package/lib/note/note-form/note-form.component.d.ts +31 -0
  413. package/lib/note/note-form/note-form.component.d.ts.map +1 -0
  414. package/lib/note/note-list/note-list.component.d.ts +32 -0
  415. package/lib/note/note-list/note-list.component.d.ts.map +1 -0
  416. package/lib/note/note.module.d.ts +17 -0
  417. package/lib/note/note.module.d.ts.map +1 -0
  418. package/lib/note/note.service.d.ts +13 -0
  419. package/lib/note/note.service.d.ts.map +1 -0
  420. package/lib/read-more/read-more.component.d.ts +16 -0
  421. package/lib/read-more/read-more.component.d.ts.map +1 -0
  422. package/lib/read-more/read-more.module.d.ts +11 -0
  423. package/lib/read-more/read-more.module.d.ts.map +1 -0
  424. package/lib/request-helper/request-helper.service.d.ts +41 -0
  425. package/lib/request-helper/request-helper.service.d.ts.map +1 -0
  426. package/lib/searchable-selector/index.d.ts +3 -0
  427. package/lib/searchable-selector/index.d.ts.map +1 -0
  428. package/lib/searchable-selector/mat-select-infinite-scroll.directive.d.ts +27 -0
  429. package/lib/searchable-selector/mat-select-infinite-scroll.directive.d.ts.map +1 -0
  430. package/lib/searchable-selector/searchable-selector.component.d.ts +85 -0
  431. package/lib/searchable-selector/searchable-selector.component.d.ts.map +1 -0
  432. package/lib/searchable-selector/searchable-selector.module.d.ts +13 -0
  433. package/lib/searchable-selector/searchable-selector.module.d.ts.map +1 -0
  434. package/lib/techlify-feature/on-off-switch/on-off-switch.component.d.ts +13 -0
  435. package/lib/techlify-feature/on-off-switch/on-off-switch.component.d.ts.map +1 -0
  436. package/lib/techlify-feature/techlify-feature-enabled.directive.d.ts +21 -0
  437. package/lib/techlify-feature/techlify-feature-enabled.directive.d.ts.map +1 -0
  438. package/lib/techlify-feature/techlify-feature-listing.component.d.ts +41 -0
  439. package/lib/techlify-feature/techlify-feature-listing.component.d.ts.map +1 -0
  440. package/lib/techlify-feature/techlify-feature.module.d.ts +17 -0
  441. package/lib/techlify-feature/techlify-feature.module.d.ts.map +1 -0
  442. package/lib/techlify-feature/techlify-feature.routing.d.ts +3 -0
  443. package/lib/techlify-feature/techlify-feature.routing.d.ts.map +1 -0
  444. package/lib/techlify-feature/techlify-feature.service.d.ts +12 -0
  445. package/lib/techlify-feature/techlify-feature.service.d.ts.map +1 -0
  446. package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.d.ts +13 -0
  447. package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.d.ts.map +1 -0
  448. package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.d.ts +80 -0
  449. package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.d.ts.map +1 -0
  450. package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.d.ts +13 -0
  451. package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.d.ts.map +1 -0
  452. package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.d.ts +62 -0
  453. package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.d.ts.map +1 -0
  454. package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.d.ts +15 -0
  455. package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.d.ts.map +1 -0
  456. package/lib/techlify-update/techlify-update-form/techlify-update-form.component.d.ts +34 -0
  457. package/lib/techlify-update/techlify-update-form/techlify-update-form.component.d.ts.map +1 -0
  458. package/lib/techlify-update/techlify-update-form/techlify-update-form.module.d.ts +13 -0
  459. package/lib/techlify-update/techlify-update-form/techlify-update-form.module.d.ts.map +1 -0
  460. package/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.d.ts +8 -0
  461. package/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.d.ts.map +1 -0
  462. package/lib/techlify-update/techlify-update-history/techlify-update-history.component.d.ts +35 -0
  463. package/lib/techlify-update/techlify-update-history/techlify-update-history.component.d.ts.map +1 -0
  464. package/lib/techlify-update/techlify-update-history/techlify-update-history.module.d.ts +16 -0
  465. package/lib/techlify-update/techlify-update-history/techlify-update-history.module.d.ts.map +1 -0
  466. package/lib/techlify-update/techlify-update-routing.module.d.ts +8 -0
  467. package/lib/techlify-update/techlify-update-routing.module.d.ts.map +1 -0
  468. package/lib/techlify-update/techlify-update.module.d.ts +17 -0
  469. package/lib/techlify-update/techlify-update.module.d.ts.map +1 -0
  470. package/lib/techlify-update/techlify-update.service.d.ts +17 -0
  471. package/lib/techlify-update/techlify-update.service.d.ts.map +1 -0
  472. package/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.d.ts +35 -0
  473. package/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.d.ts.map +1 -0
  474. package/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.d.ts +29 -0
  475. package/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.d.ts.map +1 -0
  476. package/lib/techlify-update/update-notifier/update-notifier.component.d.ts +20 -0
  477. package/lib/techlify-update/update-notifier/update-notifier.component.d.ts.map +1 -0
  478. package/lib/techlify-update/update-notifier/update-notifier.module.d.ts +14 -0
  479. package/lib/techlify-update/update-notifier/update-notifier.module.d.ts.map +1 -0
  480. package/lib/techlify-update/update-view/update-view.component.d.ts +18 -0
  481. package/lib/techlify-update/update-view/update-view.component.d.ts.map +1 -0
  482. package/lib/techlify-update/update-view/update-view.module.d.ts +11 -0
  483. package/lib/techlify-update/update-view/update-view.module.d.ts.map +1 -0
  484. package/lib/timeline-filter/calculate-timeline.d.ts +7 -0
  485. package/lib/timeline-filter/calculate-timeline.d.ts.map +1 -0
  486. package/lib/timeline-filter/index.d.ts +4 -0
  487. package/lib/timeline-filter/index.d.ts.map +1 -0
  488. package/lib/timeline-filter/timeline-filter-routing.module.d.ts +8 -0
  489. package/lib/timeline-filter/timeline-filter-routing.module.d.ts.map +1 -0
  490. package/lib/timeline-filter/timeline-filter.component.d.ts +66 -0
  491. package/lib/timeline-filter/timeline-filter.component.d.ts.map +1 -0
  492. package/lib/timeline-filter/timeline-filter.module.d.ts +19 -0
  493. package/lib/timeline-filter/timeline-filter.module.d.ts.map +1 -0
  494. package/lib/timeline-filter/timeline.model.d.ts +18 -0
  495. package/lib/timeline-filter/timeline.model.d.ts.map +1 -0
  496. package/lib/utility/date-utils.service.d.ts +25 -0
  497. package/lib/utility/date-utils.service.d.ts.map +1 -0
  498. package/{src/lib/utility/index.ts → lib/utility/index.d.ts} +2 -1
  499. package/lib/utility/index.d.ts.map +1 -0
  500. package/lib/utility/num-items-selector.component.d.ts +20 -0
  501. package/lib/utility/num-items-selector.component.d.ts.map +1 -0
  502. package/lib/utility/number-selector.component.d.ts +24 -0
  503. package/lib/utility/number-selector.component.d.ts.map +1 -0
  504. package/lib/utility/utility.module.d.ts +11 -0
  505. package/lib/utility/utility.module.d.ts.map +1 -0
  506. package/ngx-techlify-core.d.ts.map +1 -0
  507. package/package.json +49 -29
  508. package/{src/public-api.ts → public-api.d.ts} +1 -30
  509. package/public-api.d.ts.map +1 -0
  510. package/karma.conf.js +0 -44
  511. package/ng-package.json +0 -27
  512. package/src/lib/action-popup/action-popup.component.html +0 -21
  513. package/src/lib/action-popup/action-popup.component.scss +0 -0
  514. package/src/lib/action-popup/action-popup.component.spec.ts +0 -25
  515. package/src/lib/action-popup/action-popup.component.ts +0 -31
  516. package/src/lib/action-popup/action-popup.model.ts +0 -5
  517. package/src/lib/action-popup/action-popup.module.ts +0 -23
  518. package/src/lib/action-popup/index.ts +0 -2
  519. package/src/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.ts +0 -10
  520. package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.html +0 -9
  521. package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.scss +0 -0
  522. package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.spec.ts +0 -25
  523. package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.ts +0 -49
  524. package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.module.ts +0 -24
  525. package/src/lib/audit-log/audit-log-list/audit-log-list-routing.module.ts +0 -10
  526. package/src/lib/audit-log/audit-log-list/audit-log-list.component.html +0 -92
  527. package/src/lib/audit-log/audit-log-list/audit-log-list.component.scss +0 -21
  528. package/src/lib/audit-log/audit-log-list/audit-log-list.component.spec.ts +0 -25
  529. package/src/lib/audit-log/audit-log-list/audit-log-list.component.ts +0 -138
  530. package/src/lib/audit-log/audit-log-list/audit-log-list.module.ts +0 -28
  531. package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.ts +0 -10
  532. package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.html +0 -49
  533. package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.scss +0 -0
  534. package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.spec.ts +0 -26
  535. package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.ts +0 -74
  536. package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.ts +0 -24
  537. package/src/lib/audit-log/audit-log-routing.module.ts +0 -18
  538. package/src/lib/audit-log/audit-log-view/audit-log-view-routing.module.ts +0 -10
  539. package/src/lib/audit-log/audit-log-view/audit-log-view.component.html +0 -46
  540. package/src/lib/audit-log/audit-log-view/audit-log-view.component.scss +0 -0
  541. package/src/lib/audit-log/audit-log-view/audit-log-view.component.spec.ts +0 -25
  542. package/src/lib/audit-log/audit-log-view/audit-log-view.component.ts +0 -54
  543. package/src/lib/audit-log/audit-log-view/audit-log-view.module.ts +0 -20
  544. package/src/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.ts +0 -10
  545. package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.html +0 -38
  546. package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.scss +0 -4
  547. package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.spec.ts +0 -25
  548. package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.ts +0 -53
  549. package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.module.ts +0 -20
  550. package/src/lib/audit-log/audit-log.module.ts +0 -20
  551. package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.ts +0 -10
  552. package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.html +0 -4
  553. package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.scss +0 -4
  554. package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.spec.ts +0 -25
  555. package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.ts +0 -28
  556. package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.ts +0 -20
  557. package/src/lib/base-model/index.ts +0 -3
  558. package/src/lib/base-model/techlify-form-component.class.ts +0 -60
  559. package/src/lib/base-model/techlify-listing-component.class.ts +0 -67
  560. package/src/lib/base-model/techlify-service.class.ts +0 -73
  561. package/src/lib/core/alert.service.ts +0 -32
  562. package/src/lib/core/api-prefix.interceptor.ts +0 -22
  563. package/src/lib/core/authentication.guard.ts +0 -34
  564. package/src/lib/core/authentication.service.ts +0 -53
  565. package/src/lib/core/cache.interceptor.ts +0 -59
  566. package/src/lib/core/config.service.ts +0 -52
  567. package/src/lib/core/core.module.ts +0 -44
  568. package/src/lib/core/credentials.service.ts +0 -91
  569. package/src/lib/core/error-handler.interceptor.ts +0 -43
  570. package/src/lib/core/error-handler.service.ts +0 -61
  571. package/src/lib/core/filter.service.ts +0 -42
  572. package/src/lib/core/form-validator.service.ts +0 -23
  573. package/src/lib/core/header.interceptor.ts +0 -22
  574. package/src/lib/core/http-cache.service.ts +0 -122
  575. package/src/lib/core/http.service.ts +0 -137
  576. package/src/lib/core/logger.service.ts +0 -113
  577. package/src/lib/core/route-reusable-strategy.ts +0 -36
  578. package/src/lib/core/snack/error-snack.html +0 -8
  579. package/src/lib/core/snack/snack.component.ts +0 -19
  580. package/src/lib/core/snack/snack.module.ts +0 -22
  581. package/src/lib/core/snack/snack.scss +0 -18
  582. package/src/lib/core/snack/success-snack.html +0 -8
  583. package/src/lib/core/storage.service.ts +0 -38
  584. package/src/lib/core/techlify-config.model.ts +0 -32
  585. package/src/lib/core/token.interceptor.ts +0 -25
  586. package/src/lib/data-table/data-table.component.html +0 -139
  587. package/src/lib/data-table/data-table.component.scss +0 -54
  588. package/src/lib/data-table/data-table.component.spec.ts +0 -25
  589. package/src/lib/data-table/data-table.component.ts +0 -232
  590. package/src/lib/data-table/data-table.module.ts +0 -23
  591. package/src/lib/data-table/index.ts +0 -2
  592. package/src/lib/date-validator.ts +0 -12
  593. package/src/lib/document-viewer/document-viewer.component.css +0 -5
  594. package/src/lib/document-viewer/document-viewer.component.html +0 -19
  595. package/src/lib/document-viewer/document-viewer.component.ts +0 -66
  596. package/src/lib/document-viewer/document-viewer.module.ts +0 -22
  597. package/src/lib/document-viewer/index.ts +0 -2
  598. package/src/lib/document-viewer/viewer-config.model.ts +0 -5
  599. package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.ts +0 -25
  600. package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.html +0 -23
  601. package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.scss +0 -4
  602. package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.spec.ts +0 -25
  603. package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.ts +0 -74
  604. package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.ts +0 -22
  605. package/src/lib/email-subscription/email-subscription-routing.module.ts +0 -10
  606. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.ts +0 -10
  607. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.html +0 -47
  608. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.scss +0 -0
  609. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.spec.ts +0 -25
  610. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.ts +0 -113
  611. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.ts +0 -28
  612. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.ts +0 -29
  613. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.html +0 -76
  614. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.scss +0 -4
  615. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.spec.ts +0 -25
  616. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.ts +0 -170
  617. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.ts +0 -26
  618. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.ts +0 -1
  619. package/src/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.ts +0 -11
  620. package/src/lib/email-subscription/email-subscription-type/email-subscription-type.module.ts +0 -14
  621. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.ts +0 -10
  622. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.html +0 -38
  623. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.scss +0 -0
  624. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.spec.ts +0 -25
  625. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.ts +0 -113
  626. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.ts +0 -26
  627. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.ts +0 -27
  628. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.html +0 -74
  629. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.scss +0 -5
  630. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.spec.ts +0 -25
  631. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.ts +0 -174
  632. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.ts +0 -28
  633. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.ts +0 -10
  634. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.html +0 -21
  635. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.scss +0 -0
  636. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.spec.ts +0 -25
  637. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.ts +0 -56
  638. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.ts +0 -24
  639. package/src/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.ts +0 -11
  640. package/src/lib/email-subscription/email-subscription-user/email-subscription-user.module.ts +0 -14
  641. package/src/lib/email-subscription/email-subscription.module.ts +0 -15
  642. package/src/lib/entity-files/entity-file-form/entity-file-form.component.css +0 -0
  643. package/src/lib/entity-files/entity-file-form/entity-file-form.component.html +0 -45
  644. package/src/lib/entity-files/entity-file-form/entity-file-form.component.ts +0 -172
  645. package/src/lib/entity-files/entity-file.service.ts +0 -46
  646. package/src/lib/entity-files/entity-files-view-all.component.css +0 -0
  647. package/src/lib/entity-files/entity-files-view-all.component.html +0 -236
  648. package/src/lib/entity-files/entity-files-view-all.component.ts +0 -325
  649. package/src/lib/entity-files/entity-files-view-all.module.ts +0 -38
  650. package/src/lib/entity-files/index.ts +0 -2
  651. package/src/lib/export-excel/export-excel-button/export-excel-button.component.html +0 -1
  652. package/src/lib/export-excel/export-excel-button/export-excel-button.component.scss +0 -0
  653. package/src/lib/export-excel/export-excel-button/export-excel-button.component.spec.ts +0 -25
  654. package/src/lib/export-excel/export-excel-button/export-excel-button.component.ts +0 -31
  655. package/src/lib/export-excel/export-excel.module.ts +0 -16
  656. package/src/lib/file-dropper/file-dropper.component.html +0 -41
  657. package/src/lib/file-dropper/file-dropper.component.scss +0 -8
  658. package/src/lib/file-dropper/file-dropper.component.ts +0 -139
  659. package/src/lib/file-dropper/file-dropper.model.ts +0 -10
  660. package/src/lib/file-dropper/file-dropper.module.ts +0 -18
  661. package/src/lib/file-dropper/index.ts +0 -2
  662. package/src/lib/import-csv/data-import/data-import.component.html +0 -11
  663. package/src/lib/import-csv/data-import/data-import.component.scss +0 -0
  664. package/src/lib/import-csv/data-import/data-import.component.spec.ts +0 -28
  665. package/src/lib/import-csv/data-import/data-import.component.ts +0 -16
  666. package/src/lib/import-csv/failed-items-list/failed-items-list.component.html +0 -61
  667. package/src/lib/import-csv/failed-items-list/failed-items-list.component.scss +0 -0
  668. package/src/lib/import-csv/failed-items-list/failed-items-list.component.spec.ts +0 -28
  669. package/src/lib/import-csv/failed-items-list/failed-items-list.component.ts +0 -30
  670. package/src/lib/import-csv/field-mapping/field-mapping.component.html +0 -70
  671. package/src/lib/import-csv/field-mapping/field-mapping.component.scss +0 -15
  672. package/src/lib/import-csv/field-mapping/field-mapping.component.ts +0 -161
  673. package/src/lib/import-csv/import-csv-config.ts +0 -17
  674. package/src/lib/import-csv/import-csv.component.html +0 -71
  675. package/src/lib/import-csv/import-csv.component.scss +0 -15
  676. package/src/lib/import-csv/import-csv.component.spec.ts +0 -28
  677. package/src/lib/import-csv/import-csv.component.ts +0 -198
  678. package/src/lib/import-csv/import-csv.module.ts +0 -43
  679. package/src/lib/import-csv/import-history-list/import-history-list.component.html +0 -43
  680. package/src/lib/import-csv/import-history-list/import-history-list.component.scss +0 -0
  681. package/src/lib/import-csv/import-history-list/import-history-list.component.spec.ts +0 -28
  682. package/src/lib/import-csv/import-history-list/import-history-list.component.ts +0 -74
  683. package/src/lib/import-csv/import-success/import-success.component.html +0 -22
  684. package/src/lib/import-csv/import-success/import-success.component.scss +0 -0
  685. package/src/lib/import-csv/import-success/import-success.component.spec.ts +0 -28
  686. package/src/lib/import-csv/import-success/import-success.component.ts +0 -17
  687. package/src/lib/loader/loader.component.html +0 -4
  688. package/src/lib/loader/loader.component.scss +0 -8
  689. package/src/lib/loader/loader.component.spec.ts +0 -73
  690. package/src/lib/loader/loader.component.ts +0 -18
  691. package/src/lib/loader/loader.module.ts +0 -18
  692. package/src/lib/login-history-for-user/login-history-for-user-routing.module.ts +0 -18
  693. package/src/lib/login-history-for-user/login-history-for-user.component.html +0 -31
  694. package/src/lib/login-history-for-user/login-history-for-user.component.scss +0 -4
  695. package/src/lib/login-history-for-user/login-history-for-user.component.spec.ts +0 -25
  696. package/src/lib/login-history-for-user/login-history-for-user.component.ts +0 -94
  697. package/src/lib/login-history-for-user/login-history-for-user.module.ts +0 -26
  698. package/src/lib/material.module.ts +0 -68
  699. package/src/lib/note/comment-form/comment-form.component.html +0 -45
  700. package/src/lib/note/comment-form/comment-form.component.scss +0 -7
  701. package/src/lib/note/comment-form/comment-form.component.spec.ts +0 -24
  702. package/src/lib/note/comment-form/comment-form.component.ts +0 -84
  703. package/src/lib/note/note-form/note-form.component.css +0 -0
  704. package/src/lib/note/note-form/note-form.component.html +0 -26
  705. package/src/lib/note/note-form/note-form.component.spec.ts +0 -25
  706. package/src/lib/note/note-form/note-form.component.ts +0 -93
  707. package/src/lib/note/note-list/note-list.component.css +0 -4
  708. package/src/lib/note/note-list/note-list.component.html +0 -58
  709. package/src/lib/note/note-list/note-list.component.spec.ts +0 -25
  710. package/src/lib/note/note-list/note-list.component.ts +0 -156
  711. package/src/lib/note/note.module.ts +0 -33
  712. package/src/lib/note/note.service.spec.ts +0 -16
  713. package/src/lib/note/note.service.ts +0 -26
  714. package/src/lib/read-more/read-more.component.html +0 -3
  715. package/src/lib/read-more/read-more.component.scss +0 -8
  716. package/src/lib/read-more/read-more.component.spec.ts +0 -24
  717. package/src/lib/read-more/read-more.component.ts +0 -41
  718. package/src/lib/read-more/read-more.module.ts +0 -18
  719. package/src/lib/request-helper/request-helper.service.ts +0 -92
  720. package/src/lib/searchable-selector/index.ts +0 -2
  721. package/src/lib/searchable-selector/mat-select-infinite-scroll.directive.ts +0 -89
  722. package/src/lib/searchable-selector/searchable-selector.component.html +0 -21
  723. package/src/lib/searchable-selector/searchable-selector.component.scss +0 -8
  724. package/src/lib/searchable-selector/searchable-selector.component.spec.ts +0 -25
  725. package/src/lib/searchable-selector/searchable-selector.component.ts +0 -337
  726. package/src/lib/searchable-selector/searchable-selector.module.ts +0 -25
  727. package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.html +0 -4
  728. package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.scss +0 -0
  729. package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.spec.ts +0 -28
  730. package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.ts +0 -25
  731. package/src/lib/techlify-feature/techlify-feature-enabled.directive.ts +0 -71
  732. package/src/lib/techlify-feature/techlify-feature-listing.component.html +0 -65
  733. package/src/lib/techlify-feature/techlify-feature-listing.component.scss +0 -0
  734. package/src/lib/techlify-feature/techlify-feature-listing.component.ts +0 -174
  735. package/src/lib/techlify-feature/techlify-feature.module.ts +0 -28
  736. package/src/lib/techlify-feature/techlify-feature.routing.ts +0 -13
  737. package/src/lib/techlify-feature/techlify-feature.service.ts +0 -23
  738. package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.ts +0 -25
  739. package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.html +0 -18
  740. package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.scss +0 -6
  741. package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.spec.ts +0 -25
  742. package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.ts +0 -308
  743. package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.ts +0 -24
  744. package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.html +0 -8
  745. package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.scss +0 -0
  746. package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.spec.ts +0 -25
  747. package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.ts +0 -180
  748. package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.ts +0 -28
  749. package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.html +0 -78
  750. package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.scss +0 -0
  751. package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.spec.ts +0 -25
  752. package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.ts +0 -113
  753. package/src/lib/techlify-update/techlify-update-form/techlify-update-form.module.ts +0 -25
  754. package/src/lib/techlify-update/techlify-update-history/index.ts +0 -1
  755. package/src/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.ts +0 -21
  756. package/src/lib/techlify-update/techlify-update-history/techlify-update-history.component.html +0 -94
  757. package/src/lib/techlify-update/techlify-update-history/techlify-update-history.component.scss +0 -0
  758. package/src/lib/techlify-update/techlify-update-history/techlify-update-history.component.ts +0 -142
  759. package/src/lib/techlify-update/techlify-update-history/techlify-update-history.module.ts +0 -25
  760. package/src/lib/techlify-update/techlify-update-routing.module.ts +0 -21
  761. package/src/lib/techlify-update/techlify-update.module.ts +0 -27
  762. package/src/lib/techlify-update/techlify-update.service.spec.ts +0 -16
  763. package/src/lib/techlify-update/techlify-update.service.ts +0 -42
  764. package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.html +0 -104
  765. package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.scss +0 -0
  766. package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.spec.ts +0 -25
  767. package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.ts +0 -167
  768. package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.html +0 -39
  769. package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.scss +0 -57
  770. package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.spec.ts +0 -25
  771. package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.ts +0 -76
  772. package/src/lib/techlify-update/update-notifier/update-notifier.component.html +0 -0
  773. package/src/lib/techlify-update/update-notifier/update-notifier.component.scss +0 -3
  774. package/src/lib/techlify-update/update-notifier/update-notifier.component.spec.ts +0 -25
  775. package/src/lib/techlify-update/update-notifier/update-notifier.component.ts +0 -56
  776. package/src/lib/techlify-update/update-notifier/update-notifier.module.ts +0 -27
  777. package/src/lib/techlify-update/update-view/update-view.component.html +0 -63
  778. package/src/lib/techlify-update/update-view/update-view.component.scss +0 -19
  779. package/src/lib/techlify-update/update-view/update-view.component.spec.ts +0 -25
  780. package/src/lib/techlify-update/update-view/update-view.component.ts +0 -36
  781. package/src/lib/techlify-update/update-view/update-view.module.ts +0 -23
  782. package/src/lib/timeline-filter/calculate-timeline.ts +0 -109
  783. package/src/lib/timeline-filter/index.ts +0 -3
  784. package/src/lib/timeline-filter/timeline-filter-routing.module.ts +0 -10
  785. package/src/lib/timeline-filter/timeline-filter.component.html +0 -54
  786. package/src/lib/timeline-filter/timeline-filter.component.scss +0 -0
  787. package/src/lib/timeline-filter/timeline-filter.component.spec.ts +0 -25
  788. package/src/lib/timeline-filter/timeline-filter.component.ts +0 -220
  789. package/src/lib/timeline-filter/timeline-filter.module.ts +0 -22
  790. package/src/lib/timeline-filter/timeline.model.ts +0 -17
  791. package/src/lib/utility/date-utils.service.ts +0 -51
  792. package/src/lib/utility/num-items-selector.component.ts +0 -29
  793. package/src/lib/utility/num-items-selector.html +0 -13
  794. package/src/lib/utility/number-selector.component.ts +0 -38
  795. package/src/lib/utility/number-selector.html +0 -6
  796. package/src/lib/utility/utility.module.ts +0 -20
  797. package/src/test.ts +0 -26
  798. package/tsconfig.lib.json +0 -26
  799. package/tsconfig.lib.prod.json +0 -10
  800. package/tsconfig.spec.json +0 -17
  801. package/tslint.json +0 -17
@@ -0,0 +1,144 @@
1
+ import { Component, Inject } from "@angular/core";
2
+ import { MAT_DIALOG_DATA } from "@angular/material/dialog";
3
+ import { Validators } from "@angular/forms";
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/material/dialog";
6
+ import * as i2 from "../../core/form-validator.service";
7
+ import * as i3 from "@angular/forms";
8
+ import * as i4 from "../entity-file.service";
9
+ import * as i5 from "../../core/alert.service";
10
+ import * as i6 from "@angular/common";
11
+ import * as i7 from "@angular/flex-layout/flex";
12
+ import * as i8 from "../../file-dropper/file-dropper.component";
13
+ import * as i9 from "../../document-viewer/document-viewer.component";
14
+ import * as i10 from "@angular/material/button";
15
+ import * as i11 from "@angular/material/form-field";
16
+ import * as i12 from "@angular/material/input";
17
+ import * as i13 from "../../techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component";
18
+ const errorMessages = {
19
+ url: {
20
+ required: "File is required"
21
+ },
22
+ };
23
+ export class EntityFileFormComponent {
24
+ constructor(dialogRef, data, formValidatorService, fb, entityFileService, alertService) {
25
+ this.dialogRef = dialogRef;
26
+ this.data = data;
27
+ this.formValidatorService = formValidatorService;
28
+ this.fb = fb;
29
+ this.entityFileService = entityFileService;
30
+ this.alertService = alertService;
31
+ this.fileList = [];
32
+ /**
33
+ * Should we allow tagging entity-files?
34
+ */
35
+ this.useTechlifyTags = false;
36
+ this.createForm();
37
+ }
38
+ /** Method to create a form **/
39
+ createForm() {
40
+ //TODO: Finialize and add more validations.
41
+ this.entityFileGroup = this.fb.group({
42
+ id: [''],
43
+ title: [''],
44
+ details: [''],
45
+ entity_type: [''],
46
+ entity_id: [],
47
+ file: ['', Validators.required],
48
+ url: ['', Validators.required],
49
+ file_size: ['', Validators.required],
50
+ tag_ids: [[]]
51
+ });
52
+ }
53
+ ngOnInit() {
54
+ if (this.data.entity) {
55
+ this.entityFileGroup.get('entity_type').setValue(this.data.entity.entity_type);
56
+ this.entityFileGroup.get('entity_id').setValue(this.data.entity.entity_id);
57
+ }
58
+ if (this.data.file) {
59
+ this.updateMode = true;
60
+ this.entityFileGroup.patchValue(this.data.file);
61
+ }
62
+ if (this.data?.hideTitleAndDetails) {
63
+ this.hideTitleAndDetails = this.data?.hideTitleAndDetails;
64
+ }
65
+ if (this.data?.useTechlifyTags) {
66
+ this.useTechlifyTags = this.data?.useTechlifyTags;
67
+ }
68
+ //File dropper config
69
+ this.fileConfig = {
70
+ fileId: "subjectFile",
71
+ containerId: "subjectFileContainer",
72
+ styles: {
73
+ height: "200px"
74
+ },
75
+ multiple: false,
76
+ acceptFile: "*",
77
+ maxSize: 10,
78
+ acceptFileText: "All Files"
79
+ };
80
+ this.viewerConfig = {
81
+ viewerStyle: {
82
+ height: '200px',
83
+ width: '100%'
84
+ }
85
+ };
86
+ }
87
+ //Method to trigger submit
88
+ async submit() {
89
+ this.assignmentFileFirstAttempt = true;
90
+ if (!this.entityFileGroup.valid) {
91
+ return;
92
+ }
93
+ const model = this.entityFileGroup.value;
94
+ if (this.hideTitleAndDetails) {
95
+ model.title = model.file;
96
+ }
97
+ model.tag_ids = model.tag_ids.toString();
98
+ const result = this.updateMode
99
+ ? await this.entityFileService.updateEntityFile(model)
100
+ : await this.entityFileService.createEntityFile(model);
101
+ this.dialogRef.close(result.item);
102
+ this.alertService.addAlert("File submitted successfully", "success");
103
+ }
104
+ async fileChanged(event) {
105
+ this.fileList = event;
106
+ if (this.fileList.length > 0) {
107
+ const result = await this.entityFileService.uploadEntityFile(this.fileList[0]);
108
+ this.entityFileGroup.patchValue(result.item);
109
+ ;
110
+ this.fileList = [];
111
+ }
112
+ }
113
+ async removeFile() {
114
+ if (this.entityFileGroup.value.file) {
115
+ try {
116
+ this.entityFileGroup.patchValue({
117
+ file: "",
118
+ url: ""
119
+ });
120
+ }
121
+ catch (error) {
122
+ this.alertService.addAlert("Unable to remove file, try later", "warn");
123
+ }
124
+ }
125
+ }
126
+ /**Method to evaluate form fields*/
127
+ isFieldValid(field) {
128
+ return this.formValidatorService.isFieldValid(field, this.entityFileGroup, this.assignmentFileFirstAttempt);
129
+ }
130
+ /**Method to find error in form fields*/
131
+ getErrorMessage(field) {
132
+ return this.formValidatorService.getErrorMessage(field, this.entityFileGroup, errorMessages);
133
+ }
134
+ }
135
+ EntityFileFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: EntityFileFormComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }, { token: i2.FormValidatorService }, { token: i3.UntypedFormBuilder }, { token: i4.EntityFileService }, { token: i5.AlertService }], target: i0.ɵɵFactoryTarget.Component });
136
+ EntityFileFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: EntityFileFormComponent, selector: "entity-file-form", ngImport: i0, template: "<form [formGroup]=\"entityFileGroup\" (ngSubmit)=\"submit()\">\r\n <div fxLayout=\"column\" class=\"mat-typography\">\r\n <div mat-dialog-title class=\"text-center\">\r\n <div>Entity File</div>\r\n </div>\r\n <div mat-dialog-content fxLayout=\"column\" fxLayoutAlign.=\"start\">\r\n <ng-container *ngIf=\"!hideTitleAndDetails\">\r\n <mat-form-field>\r\n <input type=\"text\" matInput formControlName=\"title\" placeholder=\"Title\" autocomplete=\"off\">\r\n </mat-form-field>\r\n <mat-form-field>\r\n <textarea matInput formControlName=\"details\" placeholder=\"Details\" autocomplete=\"off\"></textarea>\r\n </mat-form-field>\r\n </ng-container>\r\n <ng-container *ngIf=\"useTechlifyTags\">\r\n <mat-form-field>\r\n <mat-label>Tag</mat-label>\r\n <app-techlify-tagger-tag-form-field modelType=\"entity-file\" formControlName=\"tag_ids\"\r\n [modelId]=\"entityFileGroup.get('id').value\" placeholder=\"Enter new tag\"></app-techlify-tagger-tag-form-field>\r\n </mat-form-field>\r\n </ng-container>\r\n <ng-template #fileUpload>\r\n <section fxFlex=\"100%\">\r\n <div>Entity File*</div>\r\n <app-file-dropper [config]=\"fileConfig\" (fileChanged)=\"fileChanged($event)\" [fileArray]=\"fileList\">\r\n </app-file-dropper>\r\n <div class=\"text-danger\" *ngIf=\"isFieldValid('url')\">\r\n {{getErrorMessage(\"url\")}}\r\n </div>\r\n </section>\r\n </ng-template>\r\n <div fxFlex=\"100%\" class=\"mt-2\" *ngIf=\"entityFileGroup.get('url').value;else fileUpload;\">\r\n <app-document-viewer [file]=\"entityFileGroup.get('file').value\" [fileUrl]=\"entityFileGroup.get('url').value\"\r\n [config]=\"this.viewerConfig\" (remove)=\"removeFile()\" [disableEdit]=\"updateMode\">\r\n </app-document-viewer>\r\n </div>\r\n <div class=\"mt-4 mb-2\" fxLayout=\"row\" fxLayoutGap=\"30px\" fxLayoutAlign=\"end\" fxFlex=\"100%\">\r\n <button mat-raised-button type=\"button\" (click)=\"dialogRef.close()\">\r\n Cancel\r\n </button>\r\n <button mat-raised-button type=\"submit\" color=\"primary\">Save</button>\r\n </div>\r\n </div>\r\n </div>\r\n</form>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i7.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i7.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i7.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i7.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "component", type: i8.FileDropperComponent, selector: "app-file-dropper", inputs: ["fileArray", "config", "styles"], outputs: ["fileChanged"] }, { kind: "component", type: i9.DocumentViewerComponent, selector: "app-document-viewer", inputs: ["config", "file", "fileUrl", "disableEdit"], outputs: ["remove"] }, { kind: "component", type: i10.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i11.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i11.MatLabel, selector: "mat-label" }, { kind: "directive", type: i12.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i13.TechlifyTaggerTagFormFieldComponent, selector: "app-techlify-tagger-tag-form-field", inputs: ["config", "modelType", "modelId", "allTags", "categories", "defaultCreateCategory", "required", "disabled", "value", "placeholder"] }] });
137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: EntityFileFormComponent, decorators: [{
138
+ type: Component,
139
+ args: [{ selector: 'entity-file-form', template: "<form [formGroup]=\"entityFileGroup\" (ngSubmit)=\"submit()\">\r\n <div fxLayout=\"column\" class=\"mat-typography\">\r\n <div mat-dialog-title class=\"text-center\">\r\n <div>Entity File</div>\r\n </div>\r\n <div mat-dialog-content fxLayout=\"column\" fxLayoutAlign.=\"start\">\r\n <ng-container *ngIf=\"!hideTitleAndDetails\">\r\n <mat-form-field>\r\n <input type=\"text\" matInput formControlName=\"title\" placeholder=\"Title\" autocomplete=\"off\">\r\n </mat-form-field>\r\n <mat-form-field>\r\n <textarea matInput formControlName=\"details\" placeholder=\"Details\" autocomplete=\"off\"></textarea>\r\n </mat-form-field>\r\n </ng-container>\r\n <ng-container *ngIf=\"useTechlifyTags\">\r\n <mat-form-field>\r\n <mat-label>Tag</mat-label>\r\n <app-techlify-tagger-tag-form-field modelType=\"entity-file\" formControlName=\"tag_ids\"\r\n [modelId]=\"entityFileGroup.get('id').value\" placeholder=\"Enter new tag\"></app-techlify-tagger-tag-form-field>\r\n </mat-form-field>\r\n </ng-container>\r\n <ng-template #fileUpload>\r\n <section fxFlex=\"100%\">\r\n <div>Entity File*</div>\r\n <app-file-dropper [config]=\"fileConfig\" (fileChanged)=\"fileChanged($event)\" [fileArray]=\"fileList\">\r\n </app-file-dropper>\r\n <div class=\"text-danger\" *ngIf=\"isFieldValid('url')\">\r\n {{getErrorMessage(\"url\")}}\r\n </div>\r\n </section>\r\n </ng-template>\r\n <div fxFlex=\"100%\" class=\"mt-2\" *ngIf=\"entityFileGroup.get('url').value;else fileUpload;\">\r\n <app-document-viewer [file]=\"entityFileGroup.get('file').value\" [fileUrl]=\"entityFileGroup.get('url').value\"\r\n [config]=\"this.viewerConfig\" (remove)=\"removeFile()\" [disableEdit]=\"updateMode\">\r\n </app-document-viewer>\r\n </div>\r\n <div class=\"mt-4 mb-2\" fxLayout=\"row\" fxLayoutGap=\"30px\" fxLayoutAlign=\"end\" fxFlex=\"100%\">\r\n <button mat-raised-button type=\"button\" (click)=\"dialogRef.close()\">\r\n Cancel\r\n </button>\r\n <button mat-raised-button type=\"submit\" color=\"primary\">Save</button>\r\n </div>\r\n </div>\r\n </div>\r\n</form>\r\n" }]
140
+ }], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: undefined, decorators: [{
141
+ type: Inject,
142
+ args: [MAT_DIALOG_DATA]
143
+ }] }, { type: i2.FormValidatorService }, { type: i3.UntypedFormBuilder }, { type: i4.EntityFileService }, { type: i5.AlertService }]; } });
144
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50aXR5LWZpbGUtZm9ybS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL2VudGl0eS1maWxlcy9lbnRpdHktZmlsZS1mb3JtL2VudGl0eS1maWxlLWZvcm0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXRlY2hsaWZ5LWNvcmUvc3JjL2xpYi9lbnRpdHktZmlsZXMvZW50aXR5LWZpbGUtZm9ybS9lbnRpdHktZmlsZS1mb3JtLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxFQUFFLE1BQU0sZ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InRoaXMudmlld2VyQ29uZmlnXCIgKHJlbW92ZSk9XCJyZW1vdmVGaWxlKClcIiBbZGlzYWJsZUVkaXRdPVwidXBkYXRlTW9kZVwiPlxyXG4gICAgICAgIDwvYXBwLWRvY3VtZW50LXZpZXdlcj5cclxuICAgICAgPC9kaXY+XHJcbiAgICAgIDxkaXYgY2xhc3M9XCJtdC00IG1iLTJcIiBmeExheW91dD1cInJvd1wiIGZ4TGF5b3V0R2FwPVwiMzBweFwiIGZ4TGF5b3V0QWxpZ249XCJlbmRcIiBmeEZsZXg9XCIxMDAlXCI+XHJcbiAgICAgICAgPGJ1dHRvbiBtYXQtcmFpc2VkLWJ1dHRvbiB0eXBlPVwiYnV0dG9uXCIgKGNsaWNrKT1cImRpYWxvZ1JlZi5jbG9zZSgpXCI+XHJcbiAgICAgICAgICBDYW5jZWxcclxuICAgICAgICA8L2J1dHRvbj5cclxuICAgICAgICA8YnV0dG9uIG1hdC1yYWlzZWQtYnV0dG9uIHR5cGU9XCJzdWJtaXRcIiBjb2xvcj1cInByaW1hcnlcIj5TYXZlPC9idXR0b24+XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgPC9kaXY+XHJcbiAgPC9kaXY+XHJcbjwvZm9ybT5cclxuIl19
@@ -0,0 +1,43 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../core/http.service";
4
+ export class EntityFileService {
5
+ constructor(http) {
6
+ this.http = http;
7
+ }
8
+ getEntityFiles(filters) {
9
+ return this.http.get(`api/entity-files`, { params: filters }).toPromise();
10
+ }
11
+ createEntityFile(model) {
12
+ return this.http.post("api/entity-files", model).toPromise();
13
+ }
14
+ updateEntityFile(model) {
15
+ return this.http.put(`api/entity-files/${model.id}`, model).toPromise();
16
+ }
17
+ deleteEntityFile(model) {
18
+ return this.http.delete(`api/entity-files/${model.id}`).toPromise();
19
+ }
20
+ uploadEntityFile(file, params) {
21
+ const formData = new FormData();
22
+ formData.append("fileData", file, file.name);
23
+ if (params?.entity_id) {
24
+ formData.append('entity_id', params.entity_id);
25
+ formData.append('entity_type', params.entity_type);
26
+ }
27
+ return this.http
28
+ .skipHeader()
29
+ .post("api/entity-files-upload", formData).toPromise();
30
+ }
31
+ bulkUpdate(model) {
32
+ return this.http.post(`api/entity-files/bulk-update`, model).toPromise();
33
+ }
34
+ }
35
+ EntityFileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: EntityFileService, deps: [{ token: i1.HttpService }], target: i0.ɵɵFactoryTarget.Injectable });
36
+ EntityFileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: EntityFileService, providedIn: 'root' });
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: EntityFileService, decorators: [{
38
+ type: Injectable,
39
+ args: [{
40
+ providedIn: 'root'
41
+ }]
42
+ }], ctorParameters: function () { return [{ type: i1.HttpService }]; } });
43
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50aXR5LWZpbGUuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC10ZWNobGlmeS1jb3JlL3NyYy9saWIvZW50aXR5LWZpbGVzL2VudGl0eS1maWxlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O0FBTTNDLE1BQU0sT0FBTyxpQkFBaUI7SUFFNUIsWUFBb0IsSUFBaUI7UUFBakIsU0FBSSxHQUFKLElBQUksQ0FBYTtJQUFJLENBQUM7SUFFMUMsY0FBYyxDQUFDLE9BQVk7UUFDekIsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyx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