wt-front-shared 1.0.4 → 1.0.6

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 (479) hide show
  1. package/esm2020/lib/core/+state/actions/actions.effects.mjs +10 -10
  2. package/esm2020/lib/core/+state/actions/actions.facade.mjs +3 -3
  3. package/esm2020/lib/core/+state/actions/actions.reducer.mjs +1 -1
  4. package/esm2020/lib/core/+state/actions/behavios/action-send-behavior.mjs +4 -4
  5. package/esm2020/lib/core/+state/base.effects.mjs +1 -1
  6. package/esm2020/lib/core/+state/behavior.mjs +2 -2
  7. package/esm2020/lib/core/+state/cache-data/behavios/get-cache-data-behavior.mjs +4 -4
  8. package/esm2020/lib/core/+state/cache-data/cache-data.effects.mjs +8 -8
  9. package/esm2020/lib/core/+state/cache-data/cache-data.facade.mjs +3 -3
  10. package/esm2020/lib/core/+state/core.actions.mjs +2 -2
  11. package/esm2020/lib/core/+state/core.facade.mjs +3 -3
  12. package/esm2020/lib/core/+state/files/behavios/file-delete-behavior.mjs +4 -4
  13. package/esm2020/lib/core/+state/files/behavios/file-update-behavior.mjs +4 -4
  14. package/esm2020/lib/core/+state/files/behavios/files-load-behavior.mjs +3 -3
  15. package/esm2020/lib/core/+state/files/behavios/files-sort-behavior.mjs +3 -3
  16. package/esm2020/lib/core/+state/files/files.actions.mjs +1 -1
  17. package/esm2020/lib/core/+state/files/files.effects.mjs +11 -11
  18. package/esm2020/lib/core/+state/files/files.facade.mjs +3 -3
  19. package/esm2020/lib/core/+state/files/files.reducer.mjs +2 -2
  20. package/esm2020/lib/core/+state/files/files.selectors.mjs +1 -1
  21. package/esm2020/lib/core/+state/form-delete-file/behavios/form-delete-file-behavior.mjs +3 -3
  22. package/esm2020/lib/core/+state/form-delete-file/form-delete-file.effects.mjs +7 -7
  23. package/esm2020/lib/core/+state/form-delete-file/form-delete-file.facade.mjs +2 -2
  24. package/esm2020/lib/core/+state/form-errors/form-errors.actions.mjs +1 -1
  25. package/esm2020/lib/core/+state/form-errors/form-errors.effects.mjs +1 -1
  26. package/esm2020/lib/core/+state/form-errors/form-errors.facade.mjs +2 -2
  27. package/esm2020/lib/core/+state/form-errors/form-errors.reducer.mjs +3 -3
  28. package/esm2020/lib/core/+state/form-errors/form-errors.selectors.mjs +2 -2
  29. package/esm2020/lib/core/+state/form-validation/behavios/form-validation-check-behavior.mjs +3 -3
  30. package/esm2020/lib/core/+state/form-validation/form-validation.actions.mjs +1 -1
  31. package/esm2020/lib/core/+state/form-validation/form-validation.effects.mjs +6 -6
  32. package/esm2020/lib/core/+state/form-validation/form-validation.facade.mjs +2 -2
  33. package/esm2020/lib/core/+state/form-validation/form-validation.reducer.mjs +3 -3
  34. package/esm2020/lib/core/+state/form-validation/form-validation.selectors.mjs +2 -2
  35. package/esm2020/lib/core/+state/forms/forms.actions.mjs +1 -1
  36. package/esm2020/lib/core/+state/forms/forms.effects.mjs +5 -5
  37. package/esm2020/lib/core/+state/forms/forms.facade.mjs +2 -2
  38. package/esm2020/lib/core/+state/forms/forms.reducer.mjs +2 -2
  39. package/esm2020/lib/core/+state/forms/forms.selectors.mjs +1 -1
  40. package/esm2020/lib/core/+state/index.mjs +36 -36
  41. package/esm2020/lib/core/+state/main/main.actions.mjs +1 -1
  42. package/esm2020/lib/core/+state/main/main.effects.mjs +1 -1
  43. package/esm2020/lib/core/+state/main/main.facade.mjs +1 -1
  44. package/esm2020/lib/core/+state/main/main.reducer.mjs +1 -1
  45. package/esm2020/lib/core/+state/notifications/notifications.effects.mjs +6 -6
  46. package/esm2020/lib/core/+state/notifications/notifications.reducer.mjs +2 -2
  47. package/esm2020/lib/core/+state/publication-messages/behavios/publication-errors-post-behavior.mjs +4 -4
  48. package/esm2020/lib/core/+state/publication-messages/behavios/un-publication-post-behavior.mjs +4 -4
  49. package/esm2020/lib/core/+state/publication-messages/publication-messages.actions.mjs +1 -1
  50. package/esm2020/lib/core/+state/publication-messages/publication-messages.effects.mjs +8 -8
  51. package/esm2020/lib/core/+state/publication-messages/publication-messages.facade.mjs +3 -3
  52. package/esm2020/lib/core/+state/publication-messages/publication-messages.reducer.mjs +1 -1
  53. package/esm2020/lib/core/+state/reports/behavios/reports-entities-data-behavior.mjs +4 -4
  54. package/esm2020/lib/core/+state/reports/behavios/user-behavior-get-behavior.mjs +4 -4
  55. package/esm2020/lib/core/+state/reports/reports.effects.mjs +9 -9
  56. package/esm2020/lib/core/+state/reports/reports.facade.mjs +3 -3
  57. package/esm2020/lib/core/+state/requests/requests.actions.mjs +1 -1
  58. package/esm2020/lib/core/+state/requests/requests.effects.mjs +1 -1
  59. package/esm2020/lib/core/+state/requests/requests.facade.mjs +2 -2
  60. package/esm2020/lib/core/+state/requests/requests.reducer.mjs +3 -3
  61. package/esm2020/lib/core/+state/requests/requests.selectors.mjs +2 -2
  62. package/esm2020/lib/core/+state/router/router.effects.mjs +1 -1
  63. package/esm2020/lib/core/+state/router/router.facade.mjs +2 -2
  64. package/esm2020/lib/core/+state/router/router.selectors.mjs +2 -2
  65. package/esm2020/lib/core/+state/static-data/behavios/static-data-create-behavior.mjs +4 -4
  66. package/esm2020/lib/core/+state/static-data/behavios/static-data-delete-behavior.mjs +4 -4
  67. package/esm2020/lib/core/+state/static-data/behavios/static-data-get-list-behavior.mjs +4 -4
  68. package/esm2020/lib/core/+state/static-data/behavios/static-data-get-list-categories-behavior.mjs +4 -4
  69. package/esm2020/lib/core/+state/static-data/behavios/static-data-update-behavior.mjs +4 -4
  70. package/esm2020/lib/core/+state/static-data/static-data.actions.mjs +1 -1
  71. package/esm2020/lib/core/+state/static-data/static-data.effects.mjs +16 -16
  72. package/esm2020/lib/core/+state/static-data/static-data.facade.mjs +3 -3
  73. package/esm2020/lib/core/+state/static-data/static-data.reducer.mjs +1 -1
  74. package/esm2020/lib/core/+state/tags/behavios/tag-entities-load-behavior.mjs +3 -3
  75. package/esm2020/lib/core/+state/tags/behavios/tags-load-behavior.mjs +3 -3
  76. package/esm2020/lib/core/+state/tags/tags.actions.mjs +1 -1
  77. package/esm2020/lib/core/+state/tags/tags.effects.mjs +8 -8
  78. package/esm2020/lib/core/+state/tags/tags.facade.mjs +3 -3
  79. package/esm2020/lib/core/+state/tags/tags.reducer.mjs +3 -3
  80. package/esm2020/lib/core/+state/tags/tags.selectors.mjs +1 -1
  81. package/esm2020/lib/core/+state/uiUnits/uiUnits.effects.mjs +3 -3
  82. package/esm2020/lib/core/+state/uiUnits/uiUnits.facade.mjs +3 -3
  83. package/esm2020/lib/core/+state/uiUnits/uiUnits.reducer.mjs +2 -2
  84. package/esm2020/lib/core/+state/uiUnits/uiUnits.selectors.mjs +2 -2
  85. package/esm2020/lib/core/+state/update-entities/update-entities.effects.mjs +2 -2
  86. package/esm2020/lib/core/+state/users/behavios/login-send-behavior.mjs +3 -3
  87. package/esm2020/lib/core/+state/users/behavios/refresh-token-behavior.mjs +3 -3
  88. package/esm2020/lib/core/+state/users/users.actions.mjs +1 -1
  89. package/esm2020/lib/core/+state/users/users.effects.mjs +17 -17
  90. package/esm2020/lib/core/+state/users/users.reducer.mjs +2 -2
  91. package/esm2020/lib/core/+state/users/users.selectors.mjs +1 -1
  92. package/esm2020/lib/core/components/access-denied/access-denied.module.mjs +2 -2
  93. package/esm2020/lib/core/components/auto-form/auto-form.module.mjs +21 -21
  94. package/esm2020/lib/core/components/auto-form/components/form-field-file/form-field-file.component.mjs +11 -11
  95. package/esm2020/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.mjs +3 -3
  96. package/esm2020/lib/core/components/auto-form/components/form-field-files/form-field-files.component.mjs +3 -3
  97. package/esm2020/lib/core/components/auto-form/components/form-field-files-show/form-field-files-show.component.mjs +3 -3
  98. package/esm2020/lib/core/components/auto-form/components/form-field-input/form-field-input.component.mjs +4 -4
  99. package/esm2020/lib/core/components/auto-form/components/form-field-input-show/form-field-input-show.component.mjs +2 -2
  100. package/esm2020/lib/core/components/auto-form/components/form-field-select/form-field-select.component.mjs +3 -3
  101. package/esm2020/lib/core/components/auto-form/components/form-field-select-show/form-field-select-show.component.mjs +4 -4
  102. package/esm2020/lib/core/components/auto-form/components/form-field-slide-toggle/form-field-slide-toggle.component.mjs +1 -1
  103. package/esm2020/lib/core/components/auto-form/components/form-field-slide-toggle-show/form-field-slide-toggle-show.component.mjs +1 -1
  104. package/esm2020/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.mjs +4 -4
  105. package/esm2020/lib/core/components/auto-form/components/form-message-box/form-message-box.component.mjs +5 -5
  106. package/esm2020/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.mjs +12 -12
  107. package/esm2020/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.mjs +2 -2
  108. package/esm2020/lib/core/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component.mjs +10 -10
  109. package/esm2020/lib/core/components/auto-form/containers/form-field/form-field.component.mjs +14 -14
  110. package/esm2020/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.mjs +10 -10
  111. package/esm2020/lib/core/components/auto-form/interfaces/form-field.mjs +1 -1
  112. package/esm2020/lib/core/components/button/button.component.mjs +2 -2
  113. package/esm2020/lib/core/components/button/button.module.mjs +3 -3
  114. package/esm2020/lib/core/components/files-upload/constants.mjs +1 -1
  115. package/esm2020/lib/core/components/files-upload/file-list-card/file-list-card.component.mjs +12 -12
  116. package/esm2020/lib/core/components/files-upload/files-upload/files-upload.component.mjs +10 -10
  117. package/esm2020/lib/core/components/files-upload/files-upload-list-images/files-upload-list-images.component.mjs +6 -6
  118. package/esm2020/lib/core/components/files-upload/files-upload.module.mjs +2 -2
  119. package/esm2020/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.mjs +10 -10
  120. package/esm2020/lib/core/components/form-field-error/form-field-error.component.mjs +4 -4
  121. package/esm2020/lib/core/components/form-field-error/form-field-error.module.mjs +2 -2
  122. package/esm2020/lib/core/components/form-field-publish-error/form-field-publish-error.component.mjs +5 -5
  123. package/esm2020/lib/core/components/form-field-publish-error/form-field-publish-error.module.mjs +2 -2
  124. package/esm2020/lib/core/components/image/image.component.mjs +2 -2
  125. package/esm2020/lib/core/components/input-tags/input-tags.module.mjs +3 -3
  126. package/esm2020/lib/core/components/pagination/pagination.module.mjs +2 -2
  127. package/esm2020/lib/core/components/panel/panel.component.mjs +2 -2
  128. package/esm2020/lib/core/components/panel/panel.module.mjs +3 -3
  129. package/esm2020/lib/core/components/tag-cloud/tag-cloud.component.mjs +2 -2
  130. package/esm2020/lib/core/components/tag-cloud/tag-cloud.module.mjs +2 -2
  131. package/esm2020/lib/core/components/text-with-link-more/text-with-link-more.component.mjs +2 -2
  132. package/esm2020/lib/core/dialogs/common-dialog/common-dialog.component.mjs +2 -2
  133. package/esm2020/lib/core/models/http-client-result.mjs +1 -1
  134. package/esm2020/lib/core/services/actions/actions-api.mjs +5 -5
  135. package/esm2020/lib/core/services/actions/actions.service.mjs +8 -8
  136. package/esm2020/lib/core/services/auto-form/auto-form.service.mjs +9 -9
  137. package/esm2020/lib/core/services/base/base-api-service.mjs +3 -3
  138. package/esm2020/lib/core/services/base-auto-form/base-auto-form.service.mjs +2 -2
  139. package/esm2020/lib/core/services/cache-data/cache-data-api.mjs +4 -4
  140. package/esm2020/lib/core/services/cache-data/cache-data.service.mjs +8 -8
  141. package/esm2020/lib/core/services/files/files-api.mjs +3 -3
  142. package/esm2020/lib/core/services/files/files.service.mjs +8 -8
  143. package/esm2020/lib/core/services/form-delete-file/form-delete-file-api.mjs +4 -4
  144. package/esm2020/lib/core/services/form-delete-file/form-delete-file.service.mjs +9 -9
  145. package/esm2020/lib/core/services/form-validation/form-validation-api.mjs +4 -4
  146. package/esm2020/lib/core/services/form-validation/form-validation.service.mjs +8 -8
  147. package/esm2020/lib/core/services/model-services/tags/tags-api.mjs +5 -5
  148. package/esm2020/lib/core/services/model-services/tags/tags.service.mjs +7 -7
  149. package/esm2020/lib/core/services/publish/publish-api.mjs +4 -4
  150. package/esm2020/lib/core/services/publish/publish.service.mjs +9 -9
  151. package/esm2020/lib/core/services/reducer/reducer.service.mjs +1 -1
  152. package/esm2020/lib/core/services/reports/reports-api.mjs +5 -5
  153. package/esm2020/lib/core/services/reports/reports.service.mjs +8 -8
  154. package/esm2020/lib/core/services/router/router.service.mjs +2 -2
  155. package/esm2020/lib/core/services/social/providers/base-login-provider.mjs +1 -1
  156. package/esm2020/lib/core/services/social/providers/fb-login-provider.mjs +1 -1
  157. package/esm2020/lib/core/services/social/providers/login-provider.mjs +1 -1
  158. package/esm2020/lib/core/services/static-data/static-data-api.mjs +4 -4
  159. package/esm2020/lib/core/services/static-data/static-data.service.mjs +8 -8
  160. package/esm2020/lib/core/services/users/users-api.mjs +5 -5
  161. package/esm2020/lib/core/services/users/users.service.mjs +6 -6
  162. package/esm2020/lib/models/endpoints/actions/actions-request-config.mjs +1 -1
  163. package/esm2020/lib/models/endpoints/actions/actions-response.mjs +1 -1
  164. package/esm2020/lib/models/endpoints/actions/send-actions/request/actions-send-request-config.mjs +1 -1
  165. package/esm2020/lib/models/endpoints/actions/send-actions/request/actions-send-request.mjs +2 -2
  166. package/esm2020/lib/models/endpoints/auth/auth-request-config.mjs +1 -1
  167. package/esm2020/lib/models/endpoints/auth/auth-response.mjs +1 -1
  168. package/esm2020/lib/models/endpoints/auth/login-send/request/login-send-create-request.mjs +2 -2
  169. package/esm2020/lib/models/endpoints/auth/login-send/response/login-send-create-201.mjs +1 -1
  170. package/esm2020/lib/models/endpoints/auth/login-send/response/login-send-create-response-factory.mjs +2 -2
  171. package/esm2020/lib/models/endpoints/auth/refresh-token/request/refresh-token-request.mjs +2 -2
  172. package/esm2020/lib/models/endpoints/auth/refresh-token/response/refresh-token-200.mjs +1 -1
  173. package/esm2020/lib/models/endpoints/auth/refresh-token/response/refresh-token-response-factory.mjs +2 -2
  174. package/esm2020/lib/models/endpoints/base-response/response-200.mjs +1 -1
  175. package/esm2020/lib/models/endpoints/cache-data/cache-data-request-config.mjs +1 -1
  176. package/esm2020/lib/models/endpoints/cache-data/cache-data-response.mjs +1 -1
  177. package/esm2020/lib/models/endpoints/cache-data/get-cache-data/request/get-cache-data-request-config.mjs +1 -1
  178. package/esm2020/lib/models/endpoints/cache-data/get-cache-data/request/get-cache-data-request.mjs +2 -2
  179. package/esm2020/lib/models/endpoints/files/files-delete/request/files-delete-request.mjs +2 -2
  180. package/esm2020/lib/models/endpoints/files/files-delete/response/files-delete-200.mjs +1 -1
  181. package/esm2020/lib/models/endpoints/files/files-delete/response/files-delete-response-factory.mjs +2 -2
  182. package/esm2020/lib/models/endpoints/files/files-load/request/files-load-request.mjs +2 -2
  183. package/esm2020/lib/models/endpoints/files/files-load/response/files-load-200.mjs +1 -1
  184. package/esm2020/lib/models/endpoints/files/files-load/response/files-load-response-factory.mjs +2 -2
  185. package/esm2020/lib/models/endpoints/files/files-request-config.mjs +1 -1
  186. package/esm2020/lib/models/endpoints/files/files-response.mjs +1 -1
  187. package/esm2020/lib/models/endpoints/files/files-sort/request/files-sort-request.mjs +2 -2
  188. package/esm2020/lib/models/endpoints/files/files-sort/response/files-sort-200.mjs +1 -1
  189. package/esm2020/lib/models/endpoints/files/files-sort/response/files-sort-response-factory.mjs +2 -2
  190. package/esm2020/lib/models/endpoints/files/files-update/request/files-update-request.mjs +2 -2
  191. package/esm2020/lib/models/endpoints/files/files-update/response/files-update-200.mjs +1 -1
  192. package/esm2020/lib/models/endpoints/files/files-update/response/files-update-response-factory.mjs +2 -2
  193. package/esm2020/lib/models/endpoints/form-delete-file/form-delete-file/request/form-delete-file-request-config.mjs +1 -1
  194. package/esm2020/lib/models/endpoints/form-delete-file/form-delete-file/request/form-delete-file-request.mjs +2 -2
  195. package/esm2020/lib/models/endpoints/form-delete-file/form-delete-file-base-request-config.mjs +1 -1
  196. package/esm2020/lib/models/endpoints/form-delete-file/form-delete-file-base-response.mjs +1 -1
  197. package/esm2020/lib/models/endpoints/form-validation/form-validation-check/request/form-validation-check-request-config.mjs +1 -1
  198. package/esm2020/lib/models/endpoints/form-validation/form-validation-check/request/form-validation-check-request.mjs +2 -2
  199. package/esm2020/lib/models/endpoints/form-validation/form-validation-request-config.mjs +1 -1
  200. package/esm2020/lib/models/endpoints/form-validation/form-validation-response.mjs +1 -1
  201. package/esm2020/lib/models/endpoints/http/response/response.mjs +1 -1
  202. package/esm2020/lib/models/endpoints/publish/publish-post/request/publish-post-request-config.mjs +1 -1
  203. package/esm2020/lib/models/endpoints/publish/publish-post/request/publish-post-request.mjs +2 -2
  204. package/esm2020/lib/models/endpoints/publish/publish-request-config.mjs +1 -1
  205. package/esm2020/lib/models/endpoints/publish/publish-response.mjs +1 -1
  206. package/esm2020/lib/models/endpoints/publish/un-publish-post/request/un-publish-post-config.mjs +1 -1
  207. package/esm2020/lib/models/endpoints/publish/un-publish-post/request/un-publish-post-request.mjs +2 -2
  208. package/esm2020/lib/models/endpoints/reports/enities-report/request/entities-reports-request-config.mjs +1 -1
  209. package/esm2020/lib/models/endpoints/reports/enities-report/request/entities-reports-request.mjs +2 -2
  210. package/esm2020/lib/models/endpoints/reports/reports-request-config.mjs +1 -1
  211. package/esm2020/lib/models/endpoints/reports/reports-response.mjs +1 -1
  212. package/esm2020/lib/models/endpoints/reports/user-behavior-report/request/user-behavior-report-request-config.mjs +1 -1
  213. package/esm2020/lib/models/endpoints/reports/user-behavior-report/request/user-behavior-report-request.mjs +2 -2
  214. package/esm2020/lib/models/endpoints/static-data/static-data-create/request/static-data-create-request-config.mjs +1 -1
  215. package/esm2020/lib/models/endpoints/static-data/static-data-create/request/static-data-create-request.mjs +2 -2
  216. package/esm2020/lib/models/endpoints/static-data/static-data-delete/request/static-data-delete-request-config.mjs +1 -1
  217. package/esm2020/lib/models/endpoints/static-data/static-data-delete/request/static-data-delete-request.mjs +2 -2
  218. package/esm2020/lib/models/endpoints/static-data/static-data-get/request/static-data-get-request-config.mjs +1 -1
  219. package/esm2020/lib/models/endpoints/static-data/static-data-get/request/static-data-get-request.mjs +2 -2
  220. package/esm2020/lib/models/endpoints/static-data/static-data-get-list/request/static-data-get-list-request-config.mjs +1 -1
  221. package/esm2020/lib/models/endpoints/static-data/static-data-get-list/request/static-data-get-list-request.mjs +2 -2
  222. package/esm2020/lib/models/endpoints/static-data/static-data-get-list-categories/request/static-data-get-list-categories-request.mjs +2 -2
  223. package/esm2020/lib/models/endpoints/static-data/static-data-request-config.mjs +1 -1
  224. package/esm2020/lib/models/endpoints/static-data/static-data-response.mjs +1 -1
  225. package/esm2020/lib/models/endpoints/static-data/static-data-sub-routing-get/request/static-data-sub-routing-get-request-config.mjs +1 -1
  226. package/esm2020/lib/models/endpoints/static-data/static-data-sub-routing-get/request/static-data-sub-routing-get-request.mjs +2 -2
  227. package/esm2020/lib/models/endpoints/static-data/static-data-update/request/static-data-update-request-config.mjs +1 -1
  228. package/esm2020/lib/models/endpoints/static-data/static-data-update/request/static-data-update-request.mjs +2 -2
  229. package/esm2020/lib/models/endpoints/tags/tag-entities-load/request/tag-entities-load-request-config.mjs +1 -1
  230. package/esm2020/lib/models/endpoints/tags/tag-entities-load/request/tag-entities-request.mjs +2 -2
  231. package/esm2020/lib/models/endpoints/tags/tags-load/request/tags-load-request.mjs +2 -2
  232. package/esm2020/lib/models/endpoints/tags/tags-load/response/tags-load-200.mjs +1 -1
  233. package/esm2020/lib/models/endpoints/tags/tags-load/response/tags-load-response-factory.mjs +2 -2
  234. package/esm2020/lib/models/endpoints/tags/tags-request-config.mjs +1 -1
  235. package/esm2020/lib/models/endpoints/tags/tags-response.mjs +1 -1
  236. package/esm2020/lib/models/model-adapter/base-model-adapter.mjs +11 -11
  237. package/esm2020/lib/models/models/file/file-scheme.mjs +2 -2
  238. package/esm2020/lib/models/models/publish-message/publish-message-scheme.mjs +4 -4
  239. package/esm2020/lib/models/models/static-data/static-data.model.mjs +1 -1
  240. package/esm2020/lib/models/models/tag/tag-entity-scheme.mjs +4 -4
  241. package/esm2020/lib/models/models/tag/tag-scheme.mjs +4 -4
  242. package/esm2020/lib/models/models/user/user-scheme.mjs +4 -4
  243. package/esm2020/lib/models/schemes/entity-scheme.mjs +1 -1
  244. package/esm2020/public-api.mjs +2 -1
  245. package/fesm2015/wt-front-shared.mjs +543 -72
  246. package/fesm2015/wt-front-shared.mjs.map +1 -1
  247. package/fesm2020/wt-front-shared.mjs +551 -73
  248. package/fesm2020/wt-front-shared.mjs.map +1 -1
  249. package/lib/core/+state/actions/actions.effects.d.ts +5 -5
  250. package/lib/core/+state/actions/actions.facade.d.ts +2 -2
  251. package/lib/core/+state/actions/actions.reducer.d.ts +1 -1
  252. package/lib/core/+state/actions/behavios/action-send-behavior.d.ts +3 -3
  253. package/lib/core/+state/base.effects.d.ts +1 -1
  254. package/lib/core/+state/behavior.d.ts +2 -2
  255. package/lib/core/+state/cache-data/behavios/get-cache-data-behavior.d.ts +3 -3
  256. package/lib/core/+state/cache-data/cache-data.effects.d.ts +4 -4
  257. package/lib/core/+state/cache-data/cache-data.facade.d.ts +2 -2
  258. package/lib/core/+state/core.facade.d.ts +1 -1
  259. package/lib/core/+state/files/behavios/file-delete-behavior.d.ts +3 -3
  260. package/lib/core/+state/files/behavios/file-update-behavior.d.ts +2 -2
  261. package/lib/core/+state/files/behavios/files-load-behavior.d.ts +2 -2
  262. package/lib/core/+state/files/behavios/files-sort-behavior.d.ts +2 -2
  263. package/lib/core/+state/files/files.actions.d.ts +2 -2
  264. package/lib/core/+state/files/files.effects.d.ts +4 -4
  265. package/lib/core/+state/files/files.facade.d.ts +2 -2
  266. package/lib/core/+state/files/files.reducer.d.ts +1 -1
  267. package/lib/core/+state/files/files.selectors.d.ts +1 -1
  268. package/lib/core/+state/form-delete-file/behavios/form-delete-file-behavior.d.ts +3 -3
  269. package/lib/core/+state/form-delete-file/form-delete-file.effects.d.ts +4 -4
  270. package/lib/core/+state/form-delete-file/form-delete-file.facade.d.ts +1 -1
  271. package/lib/core/+state/form-errors/form-errors.actions.d.ts +1 -1
  272. package/lib/core/+state/form-errors/form-errors.effects.d.ts +1 -1
  273. package/lib/core/+state/form-errors/form-errors.facade.d.ts +2 -2
  274. package/lib/core/+state/form-errors/form-errors.reducer.d.ts +1 -1
  275. package/lib/core/+state/form-errors/form-errors.selectors.d.ts +2 -2
  276. package/lib/core/+state/form-validation/behavios/form-validation-check-behavior.d.ts +3 -3
  277. package/lib/core/+state/form-validation/form-validation.actions.d.ts +1 -1
  278. package/lib/core/+state/form-validation/form-validation.effects.d.ts +3 -3
  279. package/lib/core/+state/form-validation/form-validation.facade.d.ts +2 -2
  280. package/lib/core/+state/form-validation/form-validation.reducer.d.ts +1 -1
  281. package/lib/core/+state/form-validation/form-validation.selectors.d.ts +1 -1
  282. package/lib/core/+state/forms/forms.actions.d.ts +1 -1
  283. package/lib/core/+state/forms/forms.effects.d.ts +2 -2
  284. package/lib/core/+state/forms/forms.facade.d.ts +2 -2
  285. package/lib/core/+state/forms/forms.reducer.d.ts +1 -1
  286. package/lib/core/+state/forms/forms.selectors.d.ts +1 -1
  287. package/lib/core/+state/index.d.ts +35 -35
  288. package/lib/core/+state/main/main.actions.d.ts +3 -3
  289. package/lib/core/+state/main/main.effects.d.ts +1 -1
  290. package/lib/core/+state/main/main.facade.d.ts +1 -1
  291. package/lib/core/+state/main/main.reducer.d.ts +1 -1
  292. package/lib/core/+state/notifications/notifications.effects.d.ts +6 -6
  293. package/lib/core/+state/publication-messages/behavios/publication-errors-post-behavior.d.ts +2 -2
  294. package/lib/core/+state/publication-messages/behavios/un-publication-post-behavior.d.ts +2 -2
  295. package/lib/core/+state/publication-messages/publication-messages.actions.d.ts +1 -1
  296. package/lib/core/+state/publication-messages/publication-messages.effects.d.ts +3 -3
  297. package/lib/core/+state/publication-messages/publication-messages.facade.d.ts +2 -2
  298. package/lib/core/+state/publication-messages/publication-messages.reducer.d.ts +1 -1
  299. package/lib/core/+state/reports/behavios/reports-entities-data-behavior.d.ts +3 -3
  300. package/lib/core/+state/reports/behavios/user-behavior-get-behavior.d.ts +3 -3
  301. package/lib/core/+state/reports/reports.effects.d.ts +4 -4
  302. package/lib/core/+state/reports/reports.facade.d.ts +2 -2
  303. package/lib/core/+state/requests/requests.actions.d.ts +1 -1
  304. package/lib/core/+state/requests/requests.effects.d.ts +1 -1
  305. package/lib/core/+state/requests/requests.facade.d.ts +2 -2
  306. package/lib/core/+state/requests/requests.reducer.d.ts +1 -1
  307. package/lib/core/+state/requests/requests.selectors.d.ts +1 -1
  308. package/lib/core/+state/router/router.effects.d.ts +1 -1
  309. package/lib/core/+state/router/router.facade.d.ts +1 -1
  310. package/lib/core/+state/router/router.selectors.d.ts +1 -1
  311. package/lib/core/+state/static-data/behavios/static-data-create-behavior.d.ts +3 -3
  312. package/lib/core/+state/static-data/behavios/static-data-delete-behavior.d.ts +3 -3
  313. package/lib/core/+state/static-data/behavios/static-data-get-list-behavior.d.ts +3 -3
  314. package/lib/core/+state/static-data/behavios/static-data-get-list-categories-behavior.d.ts +3 -3
  315. package/lib/core/+state/static-data/behavios/static-data-update-behavior.d.ts +3 -3
  316. package/lib/core/+state/static-data/static-data.actions.d.ts +3 -3
  317. package/lib/core/+state/static-data/static-data.effects.d.ts +7 -7
  318. package/lib/core/+state/static-data/static-data.facade.d.ts +3 -3
  319. package/lib/core/+state/static-data/static-data.reducer.d.ts +1 -1
  320. package/lib/core/+state/tags/behavios/tag-entities-load-behavior.d.ts +2 -2
  321. package/lib/core/+state/tags/behavios/tags-load-behavior.d.ts +2 -2
  322. package/lib/core/+state/tags/tags.actions.d.ts +3 -3
  323. package/lib/core/+state/tags/tags.effects.d.ts +3 -3
  324. package/lib/core/+state/tags/tags.facade.d.ts +3 -3
  325. package/lib/core/+state/tags/tags.reducer.d.ts +2 -2
  326. package/lib/core/+state/tags/tags.selectors.d.ts +1 -1
  327. package/lib/core/+state/uiUnits/uiUnits.effects.d.ts +2 -2
  328. package/lib/core/+state/uiUnits/uiUnits.reducer.d.ts +1 -1
  329. package/lib/core/+state/uiUnits/uiUnits.selectors.d.ts +1 -1
  330. package/lib/core/+state/update-entities/update-entities.effects.d.ts +1 -1
  331. package/lib/core/+state/users/behavios/login-send-behavior.d.ts +2 -2
  332. package/lib/core/+state/users/behavios/refresh-token-behavior.d.ts +2 -2
  333. package/lib/core/+state/users/users.actions.d.ts +3 -3
  334. package/lib/core/+state/users/users.effects.d.ts +8 -8
  335. package/lib/core/+state/users/users.reducer.d.ts +1 -1
  336. package/lib/core/+state/users/users.selectors.d.ts +1 -1
  337. package/lib/core/components/access-denied/access-denied.module.d.ts +1 -1
  338. package/lib/core/components/auto-form/auto-form.module.d.ts +20 -20
  339. package/lib/core/components/auto-form/components/form-field-file/form-field-file.component.d.ts +7 -7
  340. package/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.d.ts +2 -2
  341. package/lib/core/components/auto-form/components/form-field-files/form-field-files.component.d.ts +2 -2
  342. package/lib/core/components/auto-form/components/form-field-files-show/form-field-files-show.component.d.ts +3 -3
  343. package/lib/core/components/auto-form/components/form-field-input/form-field-input.component.d.ts +2 -2
  344. package/lib/core/components/auto-form/components/form-field-input-show/form-field-input-show.component.d.ts +2 -2
  345. package/lib/core/components/auto-form/components/form-field-select/form-field-select.component.d.ts +2 -2
  346. package/lib/core/components/auto-form/components/form-field-select-show/form-field-select-show.component.d.ts +3 -3
  347. package/lib/core/components/auto-form/components/form-field-slide-toggle/form-field-slide-toggle.component.d.ts +1 -1
  348. package/lib/core/components/auto-form/components/form-field-slide-toggle-show/form-field-slide-toggle-show.component.d.ts +2 -2
  349. package/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.d.ts +3 -3
  350. package/lib/core/components/auto-form/components/form-message-box/form-message-box.component.d.ts +2 -2
  351. package/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.d.ts +6 -6
  352. package/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.d.ts +2 -2
  353. package/lib/core/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component.d.ts +5 -5
  354. package/lib/core/components/auto-form/containers/form-field/form-field.component.d.ts +6 -6
  355. package/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.d.ts +6 -6
  356. package/lib/core/components/auto-form/interfaces/form-field.d.ts +3 -3
  357. package/lib/core/components/button/button.component.d.ts +3 -3
  358. package/lib/core/components/button/button.module.d.ts +2 -2
  359. package/lib/core/components/files-upload/constants.d.ts +1 -1
  360. package/lib/core/components/files-upload/file-list-card/file-list-card.component.d.ts +8 -8
  361. package/lib/core/components/files-upload/files-upload/files-upload.component.d.ts +6 -6
  362. package/lib/core/components/files-upload/files-upload-list-images/files-upload-list-images.component.d.ts +4 -4
  363. package/lib/core/components/files-upload/files-upload.module.d.ts +1 -1
  364. package/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.d.ts +4 -4
  365. package/lib/core/components/form-field-error/form-field-error.component.d.ts +2 -2
  366. package/lib/core/components/form-field-error/form-field-error.module.d.ts +1 -1
  367. package/lib/core/components/form-field-publish-error/form-field-publish-error.component.d.ts +1 -1
  368. package/lib/core/components/form-field-publish-error/form-field-publish-error.module.d.ts +1 -1
  369. package/lib/core/components/image/image.component.d.ts +1 -1
  370. package/lib/core/components/input-tags/input-tags.module.d.ts +2 -2
  371. package/lib/core/components/pagination/pagination.module.d.ts +1 -1
  372. package/lib/core/components/panel/panel.component.d.ts +1 -1
  373. package/lib/core/components/panel/panel.module.d.ts +2 -2
  374. package/lib/core/components/tag-cloud/tag-cloud.component.d.ts +1 -1
  375. package/lib/core/components/tag-cloud/tag-cloud.module.d.ts +1 -1
  376. package/lib/core/models/http-client-result.d.ts +1 -1
  377. package/lib/core/services/actions/actions-api.d.ts +3 -3
  378. package/lib/core/services/actions/actions.service.d.ts +7 -7
  379. package/lib/core/services/auto-form/auto-form.service.d.ts +6 -6
  380. package/lib/core/services/base/base-api-service.d.ts +5 -5
  381. package/lib/core/services/base-auto-form/base-auto-form.service.d.ts +2 -2
  382. package/lib/core/services/cache-data/cache-data-api.d.ts +3 -3
  383. package/lib/core/services/cache-data/cache-data.service.d.ts +7 -7
  384. package/lib/core/services/files/files-api.d.ts +3 -3
  385. package/lib/core/services/files/files.service.d.ts +6 -6
  386. package/lib/core/services/form-delete-file/form-delete-file-api.d.ts +4 -4
  387. package/lib/core/services/form-delete-file/form-delete-file.service.d.ts +7 -7
  388. package/lib/core/services/form-validation/form-validation-api.d.ts +4 -4
  389. package/lib/core/services/form-validation/form-validation.service.d.ts +7 -7
  390. package/lib/core/services/model-services/tags/tags-api.d.ts +2 -2
  391. package/lib/core/services/model-services/tags/tags.service.d.ts +7 -7
  392. package/lib/core/services/publish/publish-api.d.ts +4 -4
  393. package/lib/core/services/publish/publish.service.d.ts +7 -7
  394. package/lib/core/services/reducer/reducer.service.d.ts +2 -2
  395. package/lib/core/services/reports/reports-api.d.ts +3 -3
  396. package/lib/core/services/reports/reports.service.d.ts +7 -7
  397. package/lib/core/services/router/router.service.d.ts +1 -1
  398. package/lib/core/services/social/providers/base-login-provider.d.ts +1 -1
  399. package/lib/core/services/social/providers/login-provider.d.ts +1 -1
  400. package/lib/core/services/static-data/static-data-api.d.ts +3 -3
  401. package/lib/core/services/static-data/static-data.service.d.ts +8 -8
  402. package/lib/core/services/users/users-api.d.ts +3 -3
  403. package/lib/core/services/users/users.service.d.ts +6 -6
  404. package/lib/models/endpoints/actions/actions-request-config.d.ts +1 -1
  405. package/lib/models/endpoints/actions/actions-response.d.ts +1 -1
  406. package/lib/models/endpoints/actions/send-actions/request/actions-send-request-config.d.ts +1 -1
  407. package/lib/models/endpoints/actions/send-actions/request/actions-send-request.d.ts +1 -1
  408. package/lib/models/endpoints/auth/auth-request-config.d.ts +1 -1
  409. package/lib/models/endpoints/auth/auth-response.d.ts +1 -1
  410. package/lib/models/endpoints/auth/login-send/request/login-send-create-request.d.ts +1 -1
  411. package/lib/models/endpoints/auth/login-send/response/login-send-create-201.d.ts +1 -1
  412. package/lib/models/endpoints/auth/refresh-token/request/refresh-token-request.d.ts +1 -1
  413. package/lib/models/endpoints/auth/refresh-token/response/refresh-token-200.d.ts +1 -1
  414. package/lib/models/endpoints/base-response/response-200.d.ts +1 -1
  415. package/lib/models/endpoints/cache-data/cache-data-request-config.d.ts +1 -1
  416. package/lib/models/endpoints/cache-data/cache-data-response.d.ts +1 -1
  417. package/lib/models/endpoints/cache-data/get-cache-data/request/get-cache-data-request-config.d.ts +1 -1
  418. package/lib/models/endpoints/cache-data/get-cache-data/request/get-cache-data-request.d.ts +2 -2
  419. package/lib/models/endpoints/files/files-delete/request/files-delete-request.d.ts +1 -1
  420. package/lib/models/endpoints/files/files-delete/response/files-delete-200.d.ts +1 -1
  421. package/lib/models/endpoints/files/files-load/request/files-load-request.d.ts +1 -1
  422. package/lib/models/endpoints/files/files-load/response/files-load-200.d.ts +1 -1
  423. package/lib/models/endpoints/files/files-request-config.d.ts +1 -1
  424. package/lib/models/endpoints/files/files-response.d.ts +1 -1
  425. package/lib/models/endpoints/files/files-sort/request/files-sort-request.d.ts +1 -1
  426. package/lib/models/endpoints/files/files-sort/response/files-sort-200.d.ts +1 -1
  427. package/lib/models/endpoints/files/files-update/request/files-update-request.d.ts +1 -1
  428. package/lib/models/endpoints/files/files-update/response/files-update-200.d.ts +1 -1
  429. package/lib/models/endpoints/form-delete-file/form-delete-file/request/form-delete-file-request-config.d.ts +2 -2
  430. package/lib/models/endpoints/form-delete-file/form-delete-file/request/form-delete-file-request.d.ts +2 -2
  431. package/lib/models/endpoints/form-delete-file/form-delete-file-base-request-config.d.ts +1 -1
  432. package/lib/models/endpoints/form-delete-file/form-delete-file-base-response.d.ts +1 -1
  433. package/lib/models/endpoints/form-validation/form-validation-check/request/form-validation-check-request-config.d.ts +1 -1
  434. package/lib/models/endpoints/form-validation/form-validation-check/request/form-validation-check-request.d.ts +2 -2
  435. package/lib/models/endpoints/form-validation/form-validation-request-config.d.ts +1 -1
  436. package/lib/models/endpoints/form-validation/form-validation-response.d.ts +1 -1
  437. package/lib/models/endpoints/http/response/response.d.ts +1 -1
  438. package/lib/models/endpoints/publish/publish-post/request/publish-post-request-config.d.ts +1 -1
  439. package/lib/models/endpoints/publish/publish-post/request/publish-post-request.d.ts +1 -1
  440. package/lib/models/endpoints/publish/publish-request-config.d.ts +1 -1
  441. package/lib/models/endpoints/publish/publish-response.d.ts +1 -1
  442. package/lib/models/endpoints/publish/un-publish-post/request/un-publish-post-config.d.ts +1 -1
  443. package/lib/models/endpoints/publish/un-publish-post/request/un-publish-post-request.d.ts +1 -1
  444. package/lib/models/endpoints/reports/enities-report/request/entities-reports-request-config.d.ts +1 -1
  445. package/lib/models/endpoints/reports/enities-report/request/entities-reports-request.d.ts +2 -2
  446. package/lib/models/endpoints/reports/reports-request-config.d.ts +1 -1
  447. package/lib/models/endpoints/reports/reports-response.d.ts +1 -1
  448. package/lib/models/endpoints/reports/user-behavior-report/request/user-behavior-report-request-config.d.ts +1 -1
  449. package/lib/models/endpoints/reports/user-behavior-report/request/user-behavior-report-request.d.ts +3 -3
  450. package/lib/models/endpoints/static-data/static-data-create/request/static-data-create-request-config.d.ts +1 -1
  451. package/lib/models/endpoints/static-data/static-data-create/request/static-data-create-request.d.ts +2 -2
  452. package/lib/models/endpoints/static-data/static-data-delete/request/static-data-delete-request-config.d.ts +1 -1
  453. package/lib/models/endpoints/static-data/static-data-delete/request/static-data-delete-request.d.ts +3 -3
  454. package/lib/models/endpoints/static-data/static-data-get/request/static-data-get-request-config.d.ts +2 -2
  455. package/lib/models/endpoints/static-data/static-data-get/request/static-data-get-request.d.ts +2 -2
  456. package/lib/models/endpoints/static-data/static-data-get-list/request/static-data-get-list-request-config.d.ts +2 -2
  457. package/lib/models/endpoints/static-data/static-data-get-list/request/static-data-get-list-request.d.ts +3 -3
  458. package/lib/models/endpoints/static-data/static-data-get-list-categories/request/static-data-get-list-categories-request.d.ts +2 -2
  459. package/lib/models/endpoints/static-data/static-data-request-config.d.ts +1 -1
  460. package/lib/models/endpoints/static-data/static-data-response.d.ts +1 -1
  461. package/lib/models/endpoints/static-data/static-data-sub-routing-get/request/static-data-sub-routing-get-request-config.d.ts +1 -1
  462. package/lib/models/endpoints/static-data/static-data-sub-routing-get/request/static-data-sub-routing-get-request.d.ts +2 -2
  463. package/lib/models/endpoints/static-data/static-data-update/request/static-data-update-request-config.d.ts +1 -1
  464. package/lib/models/endpoints/static-data/static-data-update/request/static-data-update-request.d.ts +2 -2
  465. package/lib/models/endpoints/tags/tag-entities-load/request/tag-entities-load-request-config.d.ts +1 -1
  466. package/lib/models/endpoints/tags/tag-entities-load/request/tag-entities-request.d.ts +1 -1
  467. package/lib/models/endpoints/tags/tags-load/request/tags-load-request.d.ts +1 -1
  468. package/lib/models/endpoints/tags/tags-load/response/tags-load-200.d.ts +2 -2
  469. package/lib/models/endpoints/tags/tags-request-config.d.ts +1 -1
  470. package/lib/models/endpoints/tags/tags-response.d.ts +1 -1
  471. package/lib/models/model-adapter/base-model-adapter.d.ts +1 -1
  472. package/lib/models/models/publish-message/publish-message-scheme.d.ts +3 -3
  473. package/lib/models/models/static-data/static-data.model.d.ts +1 -1
  474. package/lib/models/models/tag/tag-entity-scheme.d.ts +3 -3
  475. package/lib/models/models/tag/tag-scheme.d.ts +3 -3
  476. package/lib/models/models/user/user-scheme.d.ts +3 -3
  477. package/lib/models/schemes/entity-scheme.d.ts +2 -2
  478. package/package.json +1 -1
  479. package/public-api.d.ts +1 -0
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule, Input, EventEmitter, Output, ViewChild, Inject, InjectionToken, PLATFORM_ID, ElementRef, Directive, Optional, ContentChild, forwardRef, Pipe } from '@angular/core';
3
- import { AccessDeniedComponent as AccessDeniedComponent$1 } from '@shared/components/access-denied/access-denied.component';
2
+ import { Component, ChangeDetectionStrategy, NgModule, Input, EventEmitter, Output, ViewChild, Inject, InjectionToken, PLATFORM_ID, ElementRef, Directive, Optional, ContentChild, forwardRef, Pipe, Injectable } from '@angular/core';
3
+ import { AccessDeniedComponent as AccessDeniedComponent$1 } from '@wt-shared/components/access-denied/access-denied.component';
4
4
  import * as i1 from '@angular/common';
5
5
  import { CommonModule, isPlatformBrowser } from '@angular/common';
6
6
  import * as i6 from '@angular/forms';
@@ -24,89 +24,138 @@ import * as i2$1 from '@angular/material/tooltip';
24
24
  import { MatTooltipModule } from '@angular/material/tooltip';
25
25
  import { MatChipsModule } from '@angular/material/chips';
26
26
  import { MatAutocompleteModule } from '@angular/material/autocomplete';
27
- import * as i8 from '@shared/components/auto-form/containers/form-field/form-field.component';
28
- import { FormFieldComponent } from '@shared/components/auto-form/containers/form-field/form-field.component';
29
- import { FormFieldErrorModule } from '@shared/components/form-field-error/form-field-error.module';
30
- import { SharedSpinnerModule as SharedSpinnerModule$1 } from '@shared/components/spinner/spinner.module';
27
+ import * as i8 from '@wt-shared/components/auto-form/containers/form-field/form-field.component';
28
+ import { FormFieldComponent } from '@wt-shared/components/auto-form/containers/form-field/form-field.component';
29
+ import { FormFieldErrorModule } from '@wt-shared/components/form-field-error/form-field-error.module';
30
+ import { SharedSpinnerModule as SharedSpinnerModule$1 } from '@wt-shared/components/spinner/spinner.module';
31
31
  import * as i2 from '@angular/material/progress-spinner';
32
32
  import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
33
- import { Subject, merge, fromEvent } from 'rxjs';
34
- import { takeUntil, startWith, map } from 'rxjs/operators';
33
+ import { Subject, merge, fromEvent, of } from 'rxjs';
34
+ import { takeUntil, startWith, map, filter as filter$1, switchMap, tap, flatMap, catchError } from 'rxjs/operators';
35
35
  import { filter } from 'rxjs/internal/operators/filter';
36
36
  import * as i1$1 from '@ngrx/store';
37
- import { appearOpacity } from '@shared/core/animations/appearOpacity';
38
- import { untilComponentDestroyed, trackById } from '@shared/core/utils';
37
+ import { createAction, props, createReducer, on, createFeatureSelector, createSelector, select } from '@ngrx/store';
38
+ import { appearOpacity } from '@wt-shared/core/animations/appearOpacity';
39
+ import { untilComponentDestroyed, trackById } from '@wt-shared/core/utils';
39
40
  import * as i5 from '@angular/material/core';
40
41
  import * as i7 from 'ngx-mat-select-search';
41
42
  import { NgxMatSelectSearchModule } from 'ngx-mat-select-search';
42
43
  import { isObject } from 'rxjs/internal-compatibility';
43
- import * as i1$5 from '@shared/state/form-errors';
44
- import * as i2$3 from '@shared/state/forms';
45
- import { appearFromLeft } from '@shared/core/animations/appearFromLeft';
46
- import * as i1$4 from '@shared/state/publication-messages';
47
- import * as i4$2 from '@shared/core/services/auth/authentication.service';
48
- import { ERRORS } from '@shared/components/auto-form/constants/errors';
49
- import * as i1$3 from '@shared/core/services';
50
- import { expandCollapse } from '@shared/core/animations/expandCollapse';
51
- import { appearFromLeftWithDelay } from '@shared/core/animations/appearFromLeftWithDelay';
52
- import * as i2$2 from '@shared/core/services/auto-form/auto-form.service';
53
- import { PublishErrors } from '@shared/constants/publish-errors.const';
54
- import * as i6$2 from '@shared/components/panel/panel.component';
55
- import { PanelComponent as PanelComponent$1 } from '@shared/components/panel/panel.component';
44
+ import * as i1$5 from '@wt-shared/state/form-errors';
45
+ import { FormErrorsFacade, formErrorsReducer } from '@wt-shared/state/form-errors';
46
+ import * as i2$3 from '@wt-shared/state/forms';
47
+ import { FormsFacade, formReducer } from '@wt-shared/state/forms';
48
+ import { appearFromLeft } from '@wt-shared/core/animations/appearFromLeft';
49
+ import * as i1$4 from '@wt-shared/state/publication-messages';
50
+ import { PublicationMessagesFacade, publicationMessagesReducer } from '@wt-shared/state/publication-messages';
51
+ import * as i4$2 from '@wt-shared/core/services/auth/authentication.service';
52
+ import { ERRORS } from '@wt-shared/components/auto-form/constants/errors';
53
+ import * as i1$3 from '@wt-shared/core/services';
54
+ import { expandCollapse } from '@wt-shared/core/animations/expandCollapse';
55
+ import { appearFromLeftWithDelay } from '@wt-shared/core/animations/appearFromLeftWithDelay';
56
+ import * as i2$2 from '@wt-shared/core/services/auto-form/auto-form.service';
57
+ import { PublishErrors } from '@wt-shared/constants/publish-errors.const';
58
+ import * as i6$2 from '@wt-shared/components/panel/panel.component';
59
+ import { PanelComponent as PanelComponent$1 } from '@wt-shared/components/panel/panel.component';
56
60
  import { trigger, transition, animate, keyframes, style } from '@angular/animations';
57
61
  import * as i5$1 from '@angular/material/button';
58
62
  import { MatButtonModule } from '@angular/material/button';
59
- import { AutoFormShowComponent as AutoFormShowComponent$1 } from '@shared/components/auto-form/containers/auto-form-show/auto-form-show.component';
60
- import * as i2$4 from '@shared/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component';
61
- import { AutoFormShowFieldComponent } from '@shared/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component';
62
- import { FormFieldSelectShowComponent } from '@shared/components/auto-form/components/form-field-select-show/form-field-select-show.component';
63
- import { InputType } from '@shared/components/auto-form/interfaces/input-type';
64
- import { IFormFieldFormat } from '@shared/components/auto-form/interfaces/form-field-format';
65
- import { FormFieldFileComponent } from '@shared/components/auto-form/components/form-field-file/form-field-file.component';
66
- import { FormFieldFilesComponent } from '@shared/components/auto-form/components/form-field-files/form-field-files.component';
67
- import { FilesUploadModule as FilesUploadModule$1 } from '@shared/components/files-upload/files-upload.module';
68
- import { FormFieldFileShowComponent } from '@shared/components/auto-form/components/form-field-file-show/form-field-file-show.component';
69
- import { FormFieldSlideToggleShowComponent } from '@shared/components/auto-form/components/form-field-slide-toggle-show/form-field-slide-toggle-show.component';
70
- import { FormFieldInputShowComponent } from '@shared/components/auto-form/components/form-field-input-show/form-field-input-show.component';
71
- import { FormFieldFilesShowComponent } from '@shared/components/auto-form/components/form-field-files-show/form-field-files-show.component';
72
- import { ImageModule as ImageModule$1 } from '@shared/core/components/image/image.module';
73
- import { PanelModule as PanelModule$1 } from '@shared/components/panel/panel.module';
74
- import { ButtonModule as ButtonModule$1 } from '@shared/core/components/button/button.module';
75
- import { SmartProgressBarModule as SmartProgressBarModule$1 } from '@shared/components/smart-progress-bar/smart-progress-bar.module';
76
- import { StarRatingModule as StarRatingModule$1 } from '@shared/components/star-rating/star-rating.module';
77
- import { FormFieldPublishErrorModule as FormFieldPublishErrorModule$1 } from '@shared/components/form-field-publish-error/form-field-publish-error.module';
78
- import { FormFieldTagsComponent } from '@shared/components/auto-form/components/form-field-tags/form-field-tags.component';
79
- import * as i2$5 from '@angular/router';
63
+ import { AutoFormShowComponent as AutoFormShowComponent$1 } from '@wt-shared/components/auto-form/containers/auto-form-show/auto-form-show.component';
64
+ import * as i2$4 from '@wt-shared/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component';
65
+ import { AutoFormShowFieldComponent } from '@wt-shared/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component';
66
+ import { FormFieldSelectShowComponent } from '@wt-shared/components/auto-form/components/form-field-select-show/form-field-select-show.component';
67
+ import { InputType } from '@wt-shared/components/auto-form/interfaces/input-type';
68
+ import { IFormFieldFormat } from '@wt-shared/components/auto-form/interfaces/form-field-format';
69
+ import { FormFieldFileComponent } from '@wt-shared/components/auto-form/components/form-field-file/form-field-file.component';
70
+ import { FormFieldFilesComponent } from '@wt-shared/components/auto-form/components/form-field-files/form-field-files.component';
71
+ import { FilesUploadModule as FilesUploadModule$1 } from '@wt-shared/components/files-upload/files-upload.module';
72
+ import { FormFieldFileShowComponent } from '@wt-shared/components/auto-form/components/form-field-file-show/form-field-file-show.component';
73
+ import { FormFieldSlideToggleShowComponent } from '@wt-shared/components/auto-form/components/form-field-slide-toggle-show/form-field-slide-toggle-show.component';
74
+ import { FormFieldInputShowComponent } from '@wt-shared/components/auto-form/components/form-field-input-show/form-field-input-show.component';
75
+ import { FormFieldFilesShowComponent } from '@wt-shared/components/auto-form/components/form-field-files-show/form-field-files-show.component';
76
+ import { ImageModule as ImageModule$1 } from '@wt-shared/core/components/image/image.module';
77
+ import { PanelModule as PanelModule$1 } from '@wt-shared/components/panel/panel.module';
78
+ import { ButtonModule as ButtonModule$1 } from '@wt-shared/core/components/button/button.module';
79
+ import { SmartProgressBarModule as SmartProgressBarModule$1 } from '@wt-shared/components/smart-progress-bar/smart-progress-bar.module';
80
+ import { StarRatingModule as StarRatingModule$1 } from '@wt-shared/components/star-rating/star-rating.module';
81
+ import { FormFieldPublishErrorModule as FormFieldPublishErrorModule$1 } from '@wt-shared/components/form-field-publish-error/form-field-publish-error.module';
82
+ import { FormFieldTagsComponent } from '@wt-shared/components/auto-form/components/form-field-tags/form-field-tags.component';
83
+ import * as i3$2 from '@angular/router';
80
84
  import { RouterModule } from '@angular/router';
81
- import { SharedIconModule as SharedIconModule$1 } from '@shared/components/icon/icon.module';
85
+ import { SharedIconModule as SharedIconModule$1 } from '@wt-shared/components/icon/icon.module';
82
86
  import { ENTER, COMMA } from '@angular/cdk/keycodes';
83
87
  import { MatLegacyChipsModule } from '@angular/material/legacy-chips';
84
88
  import * as i6$4 from 'ng2-file-upload';
85
89
  import { FileUploader, FileUploadModule } from 'ng2-file-upload';
86
- import * as i3$3 from '@angular/cdk/drag-drop';
90
+ import * as i3$4 from '@angular/cdk/drag-drop';
87
91
  import { moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop';
88
- import { appearFromLeftHideToRight } from '@shared/core/animations/appearFromLeftHideToRight';
89
- import * as i4$3 from '@shared/state/requests';
90
- import { RequestStatus } from '@shared/models/models/request.model';
91
- import * as i1$7 from '@shared/state/files';
92
- import { FileListModeSort as FileListModeSort$1, FileListModeList as FileListModeList$1 } from '@shared/components/files-upload/constants';
93
- import { hideToTopOpacity } from '@shared/core/animations/hideToTopOpacity';
94
- import * as i1$6 from '@shared/state/files/files.facade';
95
- import * as i3$2 from '@shared/core/dialogs/dialog.service';
96
- import * as i2$6 from '@shared/state/notifications';
97
- import { CORE_CONFIG } from '@shared/core/tokens';
92
+ import { appearFromLeftHideToRight } from '@wt-shared/core/animations/appearFromLeftHideToRight';
93
+ import * as i4$3 from '@wt-shared/state/requests';
94
+ import { RequestsFacade, requestsReducer } from '@wt-shared/state/requests';
95
+ import { RequestStatus } from '@wt-shared/models/models/request.model';
96
+ import * as i1$7 from '@wt-shared/state/files';
97
+ import { FilesEffects, FilesFacade, filesReducer } from '@wt-shared/state/files';
98
+ import { FileListModeSort as FileListModeSort$1, FileListModeList as FileListModeList$1 } from '@wt-shared/components/files-upload/constants';
99
+ import { hideToTopOpacity } from '@wt-shared/core/animations/hideToTopOpacity';
100
+ import * as i1$6 from '@wt-shared/state/files/files.facade';
101
+ import * as i3$3 from '@wt-shared/core/dialogs/dialog.service';
102
+ import * as i2$5 from '@wt-shared/state/notifications';
103
+ import { NotificationsFacade, notificationsReducer } from '@wt-shared/state/notifications';
104
+ import { CORE_CONFIG } from '@wt-shared/core/tokens';
98
105
  import * as i5$2 from '@angular/material/progress-bar';
99
106
  import { MatProgressBarModule } from '@angular/material/progress-bar';
100
- import { FormFieldPublishErrorComponent as FormFieldPublishErrorComponent$1 } from '@shared/components/form-field-publish-error/form-field-publish-error.component';
101
- import '@shared/models/models/file';
102
- import { InputTagsComponent as InputTagsComponent$1 } from '@shared/components/input-tags/input-tags.component';
103
- import { ChipsInputModule as ChipsInputModule$1 } from '@shared/components/chips-input/chips-input.module';
104
- import { PaginationComponent as PaginationComponent$1 } from '@shared/components/pagination/pagination.component';
107
+ import { FormFieldPublishErrorComponent as FormFieldPublishErrorComponent$1 } from '@wt-shared/components/form-field-publish-error/form-field-publish-error.component';
108
+ import '@wt-shared/models/models/file';
109
+ import { InputTagsComponent as InputTagsComponent$1 } from '@wt-shared/components/input-tags/input-tags.component';
110
+ import { ChipsInputModule as ChipsInputModule$1 } from '@wt-shared/components/chips-input/chips-input.module';
111
+ import { PaginationComponent as PaginationComponent$1 } from '@wt-shared/components/pagination/pagination.component';
105
112
  import * as i1$8 from '@angular/cdk/platform';
106
- import * as i2$7 from '@angular/material/menu';
113
+ import * as i2$6 from '@angular/material/menu';
107
114
  import { MatMenuModule } from '@angular/material/menu';
108
115
  import * as i1$9 from '@angular/platform-browser';
109
116
  import * as moment from 'moment';
117
+ import * as i1$a from '@ngrx/effects';
118
+ import { createEffect, ofType } from '@ngrx/effects';
119
+ import { LoginSendBehavior } from '@wt-shared/state/users/behavios/login-send-behavior';
120
+ import { RefreshTokenBehavior } from '@wt-shared/state/users/behavios/refresh-token-behavior';
121
+ import * as i3$5 from '@wt-shared/core/services/users/users.service';
122
+ import * as i5$3 from '@wt-shared/core/services/router/router.service';
123
+ import { GlobalEvent } from '@wt-shared/state/core.actions';
124
+ import * as i6$5 from '@wt-shared/core/services/actions/actions.service';
125
+ import { NotificationShowingType } from '@wt-shared/state/notifications/notifications.actions';
126
+ import { NOTIFICATION_LONG_TIMEOUT } from '@wt-shared/constants/constants';
127
+ import { EntityUpdate } from '@wt-shared/state/update-entities/update-entities.actions';
128
+ import { LoadUsersSuccess as LoadUsersSuccess$1, RefreshToken as RefreshToken$1, SetLoaded as SetLoaded$1, RefreshTokenSuccess as RefreshTokenSuccess$1 } from '@wt-shared/state/users/users.actions';
129
+ import { ROUTER_FEATURE_KEY as ROUTER_FEATURE_KEY$1 } from '@wt-shared/state/router/router.reducer';
130
+ import { NotificationsEffects } from '@wt-shared/state/notifications/notifications.effects';
131
+ import { TagsEffects } from '@wt-shared/state/tags/tags.effects';
132
+ import { UiUnitsEffects } from '@wt-shared/state/uiUnits/uiUnits.effects';
133
+ import { MainEffects } from '@wt-shared/state/main/main.effects';
134
+ import { UiUnitsFacade, uiUnitsReducer } from '@wt-shared/state/uiUnits';
135
+ import { RouterFacade } from '@wt-shared/state/router/router.facade';
136
+ import { TagsFacade, tagsReducer } from '@wt-shared/state/tags';
137
+ import { MainFacade, mainReducer } from '@wt-shared/state/main';
138
+ import { FormValidationEffects } from '@wt-shared/state/form-validation/form-validation.effects';
139
+ import { FormValidationFacade, formValidationReducer } from '@wt-shared/state/form-validation';
140
+ import { FormErrorsEffects } from '@wt-shared/state/form-errors/form-errors.effects';
141
+ import { FormsEffects } from '@wt-shared/state/forms/forms.effects';
142
+ import { FormDeleteFileEffects } from '@wt-shared/state/form-delete-file/form-delete-file.effects';
143
+ import { FormDeleteFileFacade } from '@wt-shared/state/form-delete-file';
144
+ import { PublicationMessagesEffects } from '@wt-shared/state/publication-messages/publication-messages.effects';
145
+ import { UpdateEntitiesEffects } from '@wt-shared/state/update-entities/update-entities.effects';
146
+ import { StaticDataEffects } from '@wt-shared/state/static-data/static-data.effects';
147
+ import { StaticDataFacade } from '@wt-shared/state/static-data/static-data.facade';
148
+ import { staticDataReducer } from '@wt-shared/state/static-data/static-data.reducer';
149
+ import { ActionsEffects } from '@wt-shared/state/actions/actions.effects';
150
+ import { ActionsFacade } from '@wt-shared/state/actions/actions.facade';
151
+ import { actionsReducer } from '@wt-shared/state/actions/actions.reducer';
152
+ import { CoreFacade } from '@wt-shared/state/core.facade';
153
+ import { CacheDataEffects } from '@wt-shared/state/cache-data/cache-data.effects';
154
+ import { CacheDataFacade } from '@wt-shared/state/cache-data/cache-data.facade';
155
+ import { cacheDataReducer } from '@wt-shared/state/cache-data/cache-data.reducer';
156
+ import { ReportsFacade } from '@wt-shared/state/reports/reports.facade';
157
+ import { reportsReducer } from '@wt-shared/state/reports/reports.reducer';
158
+ import { ReportsEffects } from '@wt-shared/state/reports/reports.effects';
110
159
 
111
160
  class AccessDeniedComponent {
112
161
  }
@@ -1159,7 +1208,7 @@ class BreadCrumbsComponent {
1159
1208
  }
1160
1209
  }
1161
1210
  BreadCrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BreadCrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1162
- BreadCrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: BreadCrumbsComponent, selector: "shared-bread-crumbs", inputs: { list: "list" }, ngImport: i0, template: "<div class=\"bread-crumbs\" *ngIf=\"list\">\n <ng-container *ngFor=\"let item of list\">\n <ng-container *ngIf=\"item.url\">\n <a [routerLink]=\"item.url\">{{item.title}}</a><span class=\"separate\">/</span>\n </ng-container>\n <ng-container *ngIf=\"!item.url\">\n <span>{{item.title}}</span>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".bread-crumbs{margin-bottom:15px;font-size:12px;opacity:.8}.bread-crumbs .separate{padding:0 5px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$5.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1211
+ BreadCrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: BreadCrumbsComponent, selector: "shared-bread-crumbs", inputs: { list: "list" }, ngImport: i0, template: "<div class=\"bread-crumbs\" *ngIf=\"list\">\n <ng-container *ngFor=\"let item of list\">\n <ng-container *ngIf=\"item.url\">\n <a [routerLink]=\"item.url\">{{item.title}}</a><span class=\"separate\">/</span>\n </ng-container>\n <ng-container *ngIf=\"!item.url\">\n <span>{{item.title}}</span>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".bread-crumbs{margin-bottom:15px;font-size:12px;opacity:.8}.bread-crumbs .separate{padding:0 5px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1163
1212
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BreadCrumbsComponent, decorators: [{
1164
1213
  type: Component,
1165
1214
  args: [{ selector: 'shared-bread-crumbs', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"bread-crumbs\" *ngIf=\"list\">\n <ng-container *ngFor=\"let item of list\">\n <ng-container *ngIf=\"item.url\">\n <a [routerLink]=\"item.url\">{{item.title}}</a><span class=\"separate\">/</span>\n </ng-container>\n <ng-container *ngIf=\"!item.url\">\n <span>{{item.title}}</span>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".bread-crumbs{margin-bottom:15px;font-size:12px;opacity:.8}.bread-crumbs .separate{padding:0 5px}\n"] }]
@@ -1426,12 +1475,12 @@ class FileListCardComponent {
1426
1475
  }
1427
1476
  }
1428
1477
  }
1429
- FileListCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileListCardComponent, deps: [{ token: i1$6.FilesFacade }, { token: i2$6.NotificationsFacade }, { token: i3$2.DialogService }, { token: i0.ChangeDetectorRef }, { token: i4$3.RequestsFacade }], target: i0.ɵɵFactoryTarget.Component });
1478
+ FileListCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileListCardComponent, deps: [{ token: i1$6.FilesFacade }, { token: i2$5.NotificationsFacade }, { token: i3$3.DialogService }, { token: i0.ChangeDetectorRef }, { token: i4$3.RequestsFacade }], target: i0.ɵɵFactoryTarget.Component });
1430
1479
  FileListCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FileListCardComponent, selector: "shared-file-list-card", inputs: { file: "file", section: "section", itemId: "itemId", mode: "mode" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"fuse-card\"\n [ngClass]=\"{'fuse-card-sort': mode === ModeSort}\">\n <div class=\"top-panel\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n <button\n mat-icon-button\n aria-label=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n title=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n class=\"color-green\"\n (click)=\"editFile()\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button mat-icon-button\n aria-label=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n title=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n (click)=\"setMain(file.id, file.main)\"\n [ngClass]=\"{'cursor-no-pointer': file.main}\">\n <mat-icon *ngIf=\"!file.main\">star_border</mat-icon>\n <mat-icon *ngIf=\"file.main\">star</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n title=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n class=\"color-red\"\n (click)=\"fileDelete(file.id)\"\n >\n <mat-icon>delete_outline</mat-icon>\n </button>\n </div>\n <div class=\"image\"\n [ngStyle]=\"{'background-image': file.versions ? 'url(' + file.versions[2] + ')' : 'none'}\"></div>\n <div class=\"p-10 cart-title p-0\"\n [ngClass]=\"{'edit-title': edit, 'empty-title': !file.title}\">\n <div class=\"width100 display-flex-space-between edit-block\"\n [ngClass]=\"{'edit-block-open': edit}\">\n\n <div *ngIf=\"!edit && file?.title\" class=\"h3\">{{file.title}}</div>\n <ng-container *ngIf=\"edit\">\n <textarea type=\"text\"\n placeholder=\"Enter image title...\"\n class=\"edit-textarea\"\n (change)=\"changeTitle($event)\"\n [innerText]=\"file && file.title ? file.title : ''\"></textarea>\n <div class=\"edit-button\">\n <button\n mat-icon-button\n aria-label=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n title=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n class=\"color-green\"\n (click)=\"saveTitle(file)\"\n >\n <mat-icon>check</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n title=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n class=\"color-red\"\n (click)=\"edit = false\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"loading\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: [":host.cdk-drag-placeholder .fuse-card{z-index:1000}.custom-placeholder{background:#ccc;border:dotted 3px #999;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card{margin:5px;position:relative;max-width:250px;min-width:250px;max-height:160px;min-height:160px;cursor:move}.fuse-card.fuse-card-sort{max-width:200px;min-width:200px;padding:5px!important}.fuse-card.fuse-card-sort .top-panel,.fuse-card.fuse-card-sort .cart-title{display:none}.fuse-card.fuse-card-sort .image{width:200px;height:100px}.fuse-card:hover .cart-title,.fuse-card:hover .top-panel{background:rgba(239,239,239,.78);transform:scale(1);margin-top:0;margin-right:0}.fuse-card:hover .cart-title button mat-icon,.fuse-card:hover .top-panel button mat-icon{transform:scale(.8)}.fuse-card:hover .cart-title .h3{font-size:14px}.fuse-card .image{width:250px;height:160px;text-align:center;background-size:cover;background-position:center top;border-radius:6px;overflow:hidden}.fuse-card .top-panel,.fuse-card .cart-title{background:rgba(239,239,239,.5);transition:all .2s linear}.fuse-card .top-panel:hover,.fuse-card .cart-title:hover{background:rgb(239,239,239)}.fuse-card .top-panel{position:absolute;right:0;border-bottom-left-radius:12px;transform:scale(.8);margin-top:-4px;margin-right:-12px}.fuse-card .top-panel button.color-green mat-icon{color:#236126cc}.fuse-card .top-panel button.color-green:hover mat-icon{color:#4caf50}.fuse-card .top-panel button.color-red mat-icon{color:#f44336cc}.fuse-card .top-panel button.color-red:hover mat-icon{color:#f44336}.fuse-card .top-panel button mat-icon{color:#323232cc}.fuse-card .top-panel button mat-icon{transition:all .2s linear;transform:scale(1)}.fuse-card .top-panel button:hover mat-icon{color:#000;transform:scale(1)}.fuse-card .top-panel button mat-icon{font-size:20px}.fuse-card .cart-title{position:absolute;left:0;right:0;bottom:0;font-size:12px;padding:10px;display:flex;transition:all .3s linear;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.fuse-card .cart-title.empty-title{background:transparent}.fuse-card .cart-title.edit-title{background:#fff}.fuse-card .cart-title.edit-title button mat-icon:hover{color:#7f7f7f}.fuse-card .cart-title .h3{flex-grow:1;padding:9px 5px 9px 10px;color:#fff;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transition:all .2s linear;font-size:12px}.fuse-card .cart-title .h3:hover{color:#079be5}.fuse-card .cart-title .edit-block{transition:all .2s linear}.fuse-card .cart-title .edit-block.edit-block-open{background:#f5f5f5}.fuse-card .cart-title textarea.edit-textarea{flex-grow:1;background-color:transparent;border:0;resize:none;padding:5px 0 5px 5px}.fuse-card .cart-title .edit-button{width:40px}.fuse-card .cart-title .edit-button button mat-icon{color:#d0d0d0;transition:all .2s linear}.fuse-card .cart-title .edit-button button mat-icon:hover{color:#fff;box-shadow:0 0 3px}.fuse-card.fuse-card-sort{padding:20px 10px;border-right:solid 1px #ccc;color:#000000de;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:white;font-size:14px;flex-grow:1;flex-basis:0}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i6$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: i5$1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i4$1.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: i4$1.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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1431
1480
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FileListCardComponent, decorators: [{
1432
1481
  type: Component,
1433
1482
  args: [{ selector: 'shared-file-list-card', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"fuse-card\"\n [ngClass]=\"{'fuse-card-sort': mode === ModeSort}\">\n <div class=\"top-panel\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n <button\n mat-icon-button\n aria-label=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n title=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n class=\"color-green\"\n (click)=\"editFile()\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button mat-icon-button\n aria-label=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n title=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n (click)=\"setMain(file.id, file.main)\"\n [ngClass]=\"{'cursor-no-pointer': file.main}\">\n <mat-icon *ngIf=\"!file.main\">star_border</mat-icon>\n <mat-icon *ngIf=\"file.main\">star</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n title=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n class=\"color-red\"\n (click)=\"fileDelete(file.id)\"\n >\n <mat-icon>delete_outline</mat-icon>\n </button>\n </div>\n <div class=\"image\"\n [ngStyle]=\"{'background-image': file.versions ? 'url(' + file.versions[2] + ')' : 'none'}\"></div>\n <div class=\"p-10 cart-title p-0\"\n [ngClass]=\"{'edit-title': edit, 'empty-title': !file.title}\">\n <div class=\"width100 display-flex-space-between edit-block\"\n [ngClass]=\"{'edit-block-open': edit}\">\n\n <div *ngIf=\"!edit && file?.title\" class=\"h3\">{{file.title}}</div>\n <ng-container *ngIf=\"edit\">\n <textarea type=\"text\"\n placeholder=\"Enter image title...\"\n class=\"edit-textarea\"\n (change)=\"changeTitle($event)\"\n [innerText]=\"file && file.title ? file.title : ''\"></textarea>\n <div class=\"edit-button\">\n <button\n mat-icon-button\n aria-label=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n title=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n class=\"color-green\"\n (click)=\"saveTitle(file)\"\n >\n <mat-icon>check</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n title=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n class=\"color-red\"\n (click)=\"edit = false\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"loading\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: [":host.cdk-drag-placeholder .fuse-card{z-index:1000}.custom-placeholder{background:#ccc;border:dotted 3px #999;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card{margin:5px;position:relative;max-width:250px;min-width:250px;max-height:160px;min-height:160px;cursor:move}.fuse-card.fuse-card-sort{max-width:200px;min-width:200px;padding:5px!important}.fuse-card.fuse-card-sort .top-panel,.fuse-card.fuse-card-sort .cart-title{display:none}.fuse-card.fuse-card-sort .image{width:200px;height:100px}.fuse-card:hover .cart-title,.fuse-card:hover .top-panel{background:rgba(239,239,239,.78);transform:scale(1);margin-top:0;margin-right:0}.fuse-card:hover .cart-title button mat-icon,.fuse-card:hover .top-panel button mat-icon{transform:scale(.8)}.fuse-card:hover .cart-title .h3{font-size:14px}.fuse-card .image{width:250px;height:160px;text-align:center;background-size:cover;background-position:center top;border-radius:6px;overflow:hidden}.fuse-card .top-panel,.fuse-card .cart-title{background:rgba(239,239,239,.5);transition:all .2s linear}.fuse-card .top-panel:hover,.fuse-card .cart-title:hover{background:rgb(239,239,239)}.fuse-card .top-panel{position:absolute;right:0;border-bottom-left-radius:12px;transform:scale(.8);margin-top:-4px;margin-right:-12px}.fuse-card .top-panel button.color-green mat-icon{color:#236126cc}.fuse-card .top-panel button.color-green:hover mat-icon{color:#4caf50}.fuse-card .top-panel button.color-red mat-icon{color:#f44336cc}.fuse-card .top-panel button.color-red:hover mat-icon{color:#f44336}.fuse-card .top-panel button mat-icon{color:#323232cc}.fuse-card .top-panel button mat-icon{transition:all .2s linear;transform:scale(1)}.fuse-card .top-panel button:hover mat-icon{color:#000;transform:scale(1)}.fuse-card .top-panel button mat-icon{font-size:20px}.fuse-card .cart-title{position:absolute;left:0;right:0;bottom:0;font-size:12px;padding:10px;display:flex;transition:all .3s linear;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.fuse-card .cart-title.empty-title{background:transparent}.fuse-card .cart-title.edit-title{background:#fff}.fuse-card .cart-title.edit-title button mat-icon:hover{color:#7f7f7f}.fuse-card .cart-title .h3{flex-grow:1;padding:9px 5px 9px 10px;color:#fff;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transition:all .2s linear;font-size:12px}.fuse-card .cart-title .h3:hover{color:#079be5}.fuse-card .cart-title .edit-block{transition:all .2s linear}.fuse-card .cart-title .edit-block.edit-block-open{background:#f5f5f5}.fuse-card .cart-title textarea.edit-textarea{flex-grow:1;background-color:transparent;border:0;resize:none;padding:5px 0 5px 5px}.fuse-card .cart-title .edit-button{width:40px}.fuse-card .cart-title .edit-button button mat-icon{color:#d0d0d0;transition:all .2s linear}.fuse-card .cart-title .edit-button button mat-icon:hover{color:#fff;box-shadow:0 0 3px}.fuse-card.fuse-card-sort{padding:20px 10px;border-right:solid 1px #ccc;color:#000000de;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:white;font-size:14px;flex-grow:1;flex-basis:0}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"] }]
1434
- }], ctorParameters: function () { return [{ type: i1$6.FilesFacade }, { type: i2$6.NotificationsFacade }, { type: i3$2.DialogService }, { type: i0.ChangeDetectorRef }, { type: i4$3.RequestsFacade }]; }, propDecorators: { file: [{
1483
+ }], ctorParameters: function () { return [{ type: i1$6.FilesFacade }, { type: i2$5.NotificationsFacade }, { type: i3$3.DialogService }, { type: i0.ChangeDetectorRef }, { type: i4$3.RequestsFacade }]; }, propDecorators: { file: [{
1435
1484
  type: Input
1436
1485
  }], section: [{
1437
1486
  type: Input
@@ -1509,7 +1558,7 @@ class FilesUploadListImagesComponent {
1509
1558
  }
1510
1559
  }
1511
1560
  FilesUploadListImagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FilesUploadListImagesComponent, deps: [{ token: i1$7.FilesFacade }], target: i0.ɵɵFactoryTarget.Component });
1512
- FilesUploadListImagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FilesUploadListImagesComponent, selector: "shared-files-upload-list-images", inputs: { section: "section", filesType: "filesType", itemId: "itemId", mode: "mode" }, outputs: { changeSort: "changeSort" }, ngImport: i0, template: "<div class=\"cards position-relative\">\n <ng-container *ngIf=\"files$ | async as files; else loading\">\n <div *ngIf=\"files.length\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n class=\"card-list\">\n <!-- trackBy: trackById -->\n <shared-file-list-card\n cdkDrag\n *ngFor=\"let file of files;\"\n @hideToTopOpacity\n [file]=\"file\"\n [section]=\"section\"\n [itemId]=\"itemId\"></shared-file-list-card>\n </div>\n <div *ngIf=\"!files.length\" class=\"empty-list\">\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </div>\n </ng-container>\n</div>\n<ng-template #loading>\n <shared-spinner [overlay]=\"true\"></shared-spinner>\n</ng-template>\n", styles: [".image{text-align:center;background-size:cover;background-position:center top;width:318px;height:200px;border-radius:6px;overflow:hidden}.custom-placeholder{background:#ccc;border:dotted 3px #999;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.cards,.card-list{display:flex;flex-wrap:wrap}.card-list-sort{flex-direction:column;flex-wrap:nowrap;overflow:hidden}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i3$3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: FileListCardComponent, selector: "shared-file-list-card", inputs: ["file", "section", "itemId", "mode"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], animations: [hideToTopOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1561
+ FilesUploadListImagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FilesUploadListImagesComponent, selector: "shared-files-upload-list-images", inputs: { section: "section", filesType: "filesType", itemId: "itemId", mode: "mode" }, outputs: { changeSort: "changeSort" }, ngImport: i0, template: "<div class=\"cards position-relative\">\n <ng-container *ngIf=\"files$ | async as files; else loading\">\n <div *ngIf=\"files.length\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n class=\"card-list\">\n <!-- trackBy: trackById -->\n <shared-file-list-card\n cdkDrag\n *ngFor=\"let file of files;\"\n @hideToTopOpacity\n [file]=\"file\"\n [section]=\"section\"\n [itemId]=\"itemId\"></shared-file-list-card>\n </div>\n <div *ngIf=\"!files.length\" class=\"empty-list\">\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </div>\n </ng-container>\n</div>\n<ng-template #loading>\n <shared-spinner [overlay]=\"true\"></shared-spinner>\n</ng-template>\n", styles: [".image{text-align:center;background-size:cover;background-position:center top;width:318px;height:200px;border-radius:6px;overflow:hidden}.custom-placeholder{background:#ccc;border:dotted 3px #999;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.cards,.card-list{display:flex;flex-wrap:wrap}.card-list-sort{flex-direction:column;flex-wrap:nowrap;overflow:hidden}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$4.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i3$4.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: FileListCardComponent, selector: "shared-file-list-card", inputs: ["file", "section", "itemId", "mode"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], animations: [hideToTopOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1513
1562
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FilesUploadListImagesComponent, decorators: [{
1514
1563
  type: Component,
1515
1564
  args: [{ selector: 'shared-files-upload-list-images', changeDetection: ChangeDetectionStrategy.OnPush, animations: [hideToTopOpacity], template: "<div class=\"cards position-relative\">\n <ng-container *ngIf=\"files$ | async as files; else loading\">\n <div *ngIf=\"files.length\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n class=\"card-list\">\n <!-- trackBy: trackById -->\n <shared-file-list-card\n cdkDrag\n *ngFor=\"let file of files;\"\n @hideToTopOpacity\n [file]=\"file\"\n [section]=\"section\"\n [itemId]=\"itemId\"></shared-file-list-card>\n </div>\n <div *ngIf=\"!files.length\" class=\"empty-list\">\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </div>\n </ng-container>\n</div>\n<ng-template #loading>\n <shared-spinner [overlay]=\"true\"></shared-spinner>\n</ng-template>\n", styles: [".image{text-align:center;background-size:cover;background-position:center top;width:318px;height:200px;border-radius:6px;overflow:hidden}.custom-placeholder{background:#ccc;border:dotted 3px #999;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.cards,.card-list{display:flex;flex-wrap:wrap}.card-list-sort{flex-direction:column;flex-wrap:nowrap;overflow:hidden}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"] }]
@@ -1606,7 +1655,7 @@ class TableFilesUploadingComponent {
1606
1655
  });
1607
1656
  }
1608
1657
  }
1609
- TableFilesUploadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableFilesUploadingComponent, deps: [{ token: i1$7.FilesFacade }, { token: i2$6.NotificationsFacade }, { token: i0.ChangeDetectorRef }, { token: i4$2.AuthenticationService }, { token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
1658
+ TableFilesUploadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableFilesUploadingComponent, deps: [{ token: i1$7.FilesFacade }, { token: i2$5.NotificationsFacade }, { token: i0.ChangeDetectorRef }, { token: i4$2.AuthenticationService }, { token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
1610
1659
  TableFilesUploadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TableFilesUploadingComponent, selector: "shared-table-files-uploading", inputs: { section: "section", itemId: "itemId", haveElevation: "haveElevation" }, outputs: { loadingCompleted: "loadingCompleted" }, ngImport: i0, template: "<div\n class=\"page-layout simple fullwidth fileUploads\"\n fxLayout=\"column\">\n <!-- CONTENT -->\n <div class=\"p-24\"\n [ngClass]=\"{'mat-card mat-elevation-z4': haveElevation}\">\n <div class=\"row\">\n <div class=\"col-md-12\" *ngIf=\"!uploader.queue.length\" [@appearFromLeftHideToRight]>\n <div class=\"h2 mb-24\">\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B</div>\n <div ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n \u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B\n </div>\n <div class=\"p-5\">\n \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B: <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple/><br/>\n </div>\n </div>\n\n <div *ngIf=\"uploader && uploader.queue.length\" [@appearFromLeftHideToRight] class=\"col-md-12\">\n <ng-container *ngIf=\"allProgress$ | async as allProgress\">\n <ng-container *ngIf=\"itemsProgress$ | async as itemsProgress\">\n <ng-container *ngIf=\"allProgress !== 100\">\n <h3>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A</h3>\n <table class=\"table\">\n <thead>\n <tr>\n <th width=\"50%\">\u0424\u0430\u0439\u043B</th>\n <th>\u0420\u0430\u0437\u043C\u0435\u0440</th>\n <th>\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let item of uploader.queue\">\n <tr [@appearFromLeftHideToRight] *ngIf=\"itemsProgress[item?.file?.name] !== 100\">\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td nowrap>{{ item?.file?.size / 1024 / 1024 | number:'.2' }} MB</td>\n <td>\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"itemsProgress[item?.file?.name] || 0\">\n </mat-progress-bar>\n </div>\n </td>\n </tr>\n </ng-container>\n </tbody>\n </table>\n <div>\n <div class=\"progress-block\">\n Queue progress:\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"allProgress\">\n </mat-progress-bar>\n </div>\n </div>\n <!--<div class=\"text-right\">\n <button mat-flat-button color=\"accent\"\n class=\"mr-5\"\n (click)=\"uploader.uploadAll()\"\n [disabled]=\"!uploader.getNotUploadedItems().length\">\n <mat-icon class=\"fs-18\">get_app</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"primary\"\n class=\"mr-5\"\n (click)=\"uploader.cancelAll()\"\n [disabled]=\"!uploader.isUploading\">\n <mat-icon class=\"fs-18\">clear</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"warn\"\n class=\"mr-5\"\n (click)=\"uploader.clearQueue()\"\n [disabled]=\"!uploader.queue.length\">\n <mat-icon class=\"fs-18\">delete_outline</mat-icon>\n \u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n </div>-->\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}.fileUploads{margin-bottom:10px;margin-left:-5px}.fileUploads .mat-card{margin:5px}.nv-file-over{border:dotted 3px red}.cursor-no-pointer{cursor:auto}.table{width:100%}.table tr{line-height:40px;border-top:1px solid #efefef}.table thead{background:#efefef}.table thead th{padding:0 10px}.my-drop-zone{border:dotted 3px lightgray;padding:10px;margin-bottom:10px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "directive", type: i6$4.FileDropDirective, selector: "[ng2FileDrop]", inputs: ["uploader"], outputs: ["fileOver", "onFileDrop"] }, { kind: "directive", type: i6$4.FileSelectDirective, selector: "[ng2FileSelect]", inputs: ["uploader"], outputs: ["onFileSelected"] }, { kind: "directive", type: i4$1.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: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }], animations: [
1611
1660
  hideToTopOpacity,
1612
1661
  appearFromLeftHideToRight
@@ -1617,7 +1666,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1617
1666
  hideToTopOpacity,
1618
1667
  appearFromLeftHideToRight
1619
1668
  ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"page-layout simple fullwidth fileUploads\"\n fxLayout=\"column\">\n <!-- CONTENT -->\n <div class=\"p-24\"\n [ngClass]=\"{'mat-card mat-elevation-z4': haveElevation}\">\n <div class=\"row\">\n <div class=\"col-md-12\" *ngIf=\"!uploader.queue.length\" [@appearFromLeftHideToRight]>\n <div class=\"h2 mb-24\">\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B</div>\n <div ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n \u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B\n </div>\n <div class=\"p-5\">\n \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B: <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple/><br/>\n </div>\n </div>\n\n <div *ngIf=\"uploader && uploader.queue.length\" [@appearFromLeftHideToRight] class=\"col-md-12\">\n <ng-container *ngIf=\"allProgress$ | async as allProgress\">\n <ng-container *ngIf=\"itemsProgress$ | async as itemsProgress\">\n <ng-container *ngIf=\"allProgress !== 100\">\n <h3>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A</h3>\n <table class=\"table\">\n <thead>\n <tr>\n <th width=\"50%\">\u0424\u0430\u0439\u043B</th>\n <th>\u0420\u0430\u0437\u043C\u0435\u0440</th>\n <th>\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let item of uploader.queue\">\n <tr [@appearFromLeftHideToRight] *ngIf=\"itemsProgress[item?.file?.name] !== 100\">\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td nowrap>{{ item?.file?.size / 1024 / 1024 | number:'.2' }} MB</td>\n <td>\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"itemsProgress[item?.file?.name] || 0\">\n </mat-progress-bar>\n </div>\n </td>\n </tr>\n </ng-container>\n </tbody>\n </table>\n <div>\n <div class=\"progress-block\">\n Queue progress:\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"allProgress\">\n </mat-progress-bar>\n </div>\n </div>\n <!--<div class=\"text-right\">\n <button mat-flat-button color=\"accent\"\n class=\"mr-5\"\n (click)=\"uploader.uploadAll()\"\n [disabled]=\"!uploader.getNotUploadedItems().length\">\n <mat-icon class=\"fs-18\">get_app</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"primary\"\n class=\"mr-5\"\n (click)=\"uploader.cancelAll()\"\n [disabled]=\"!uploader.isUploading\">\n <mat-icon class=\"fs-18\">clear</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"warn\"\n class=\"mr-5\"\n (click)=\"uploader.clearQueue()\"\n [disabled]=\"!uploader.queue.length\">\n <mat-icon class=\"fs-18\">delete_outline</mat-icon>\n \u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n </div>-->\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}.fileUploads{margin-bottom:10px;margin-left:-5px}.fileUploads .mat-card{margin:5px}.nv-file-over{border:dotted 3px red}.cursor-no-pointer{cursor:auto}.table{width:100%}.table tr{line-height:40px;border-top:1px solid #efefef}.table thead{background:#efefef}.table thead th{padding:0 10px}.my-drop-zone{border:dotted 3px lightgray;padding:10px;margin-bottom:10px}\n"] }]
1620
- }], ctorParameters: function () { return [{ type: i1$7.FilesFacade }, { type: i2$6.NotificationsFacade }, { type: i0.ChangeDetectorRef }, { type: i4$2.AuthenticationService }, { type: undefined, decorators: [{
1669
+ }], ctorParameters: function () { return [{ type: i1$7.FilesFacade }, { type: i2$5.NotificationsFacade }, { type: i0.ChangeDetectorRef }, { type: i4$2.AuthenticationService }, { type: undefined, decorators: [{
1621
1670
  type: Inject,
1622
1671
  args: [CORE_CONFIG]
1623
1672
  }] }]; }, propDecorators: { section: [{
@@ -2075,7 +2124,7 @@ class PaginationComponent {
2075
2124
  }
2076
2125
  }
2077
2126
  PaginationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2078
- PaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PaginationComponent, selector: "shared-pagination", inputs: { count: "count", perPage: "perPage", page: "page", url: "url" }, usesOnChanges: true, ngImport: i0, template: "<nav aria-label=\"\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F\">\n <ul class=\"pagination\">\n <li *ngFor=\"let pageIndex of pages\" class=\"page-item\">\n <a *ngIf=\"pageIndex !== 0 && page !== pageIndex\" class=\"page-link\" [routerLink]=\"[url]\"\n [queryParams]=\"{p: pageIndex}\">{{pageIndex}}</a>\n <span *ngIf=\"pageIndex === 0\" class=\"page-link\">...</span>\n <span *ngIf=\"page === pageIndex\" class=\"page-link active-page\">{{pageIndex}}</span>\n </li>\n </ul>\n</nav>\n", styles: [".page-link{border:1px solid rgba(222,226,230,.368627451)}.page-link.active-page,.page-link.active-page:hover{background:#1fc6b6;color:#fff!important;-webkit-text-fill-color:white!important}.page-link:hover{background:-webkit-linear-gradient(131deg,#11736a 0%,#1fc6b6 99%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-decoration:none;transition:.5s}.page-item span{color:#666!important;cursor:default}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$5.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2127
+ PaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PaginationComponent, selector: "shared-pagination", inputs: { count: "count", perPage: "perPage", page: "page", url: "url" }, usesOnChanges: true, ngImport: i0, template: "<nav aria-label=\"\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F\">\n <ul class=\"pagination\">\n <li *ngFor=\"let pageIndex of pages\" class=\"page-item\">\n <a *ngIf=\"pageIndex !== 0 && page !== pageIndex\" class=\"page-link\" [routerLink]=\"[url]\"\n [queryParams]=\"{p: pageIndex}\">{{pageIndex}}</a>\n <span *ngIf=\"pageIndex === 0\" class=\"page-link\">...</span>\n <span *ngIf=\"page === pageIndex\" class=\"page-link active-page\">{{pageIndex}}</span>\n </li>\n </ul>\n</nav>\n", styles: [".page-link{border:1px solid rgba(222,226,230,.368627451)}.page-link.active-page,.page-link.active-page:hover{background:#1fc6b6;color:#fff!important;-webkit-text-fill-color:white!important}.page-link:hover{background:-webkit-linear-gradient(131deg,#11736a 0%,#1fc6b6 99%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-decoration:none;transition:.5s}.page-item span{color:#666!important;cursor:default}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2079
2128
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationComponent, decorators: [{
2080
2129
  type: Component,
2081
2130
  args: [{ selector: 'shared-pagination', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav aria-label=\"\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F\">\n <ul class=\"pagination\">\n <li *ngFor=\"let pageIndex of pages\" class=\"page-item\">\n <a *ngIf=\"pageIndex !== 0 && page !== pageIndex\" class=\"page-link\" [routerLink]=\"[url]\"\n [queryParams]=\"{p: pageIndex}\">{{pageIndex}}</a>\n <span *ngIf=\"pageIndex === 0\" class=\"page-link\">...</span>\n <span *ngIf=\"page === pageIndex\" class=\"page-link active-page\">{{pageIndex}}</span>\n </li>\n </ul>\n</nav>\n", styles: [".page-link{border:1px solid rgba(222,226,230,.368627451)}.page-link.active-page,.page-link.active-page:hover{background:#1fc6b6;color:#fff!important;-webkit-text-fill-color:white!important}.page-link:hover{background:-webkit-linear-gradient(131deg,#11736a 0%,#1fc6b6 99%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-decoration:none;transition:.5s}.page-item span{color:#666!important;cursor:default}\n"] }]
@@ -2710,7 +2759,7 @@ class TableMenuComponent {
2710
2759
  }
2711
2760
  }
2712
2761
  TableMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2713
- TableMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TableMenuComponent, selector: "shared-table-menu", outputs: { edit: "edit", delete: "delete" }, ngImport: i0, template: "<mat-icon class=\"cursor-pointer\" [matMenuTriggerFor]=\"menu\">more_vert</mat-icon>\n<mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"editAction()\">\n <mat-icon>edit</mat-icon>\n <span>\u0420\u0435\u0434.</span>\n </button>\n <button mat-menu-item (click)=\"deleteAction()\">\n <mat-icon>delete</mat-icon>\n <span>\u0423\u0434\u0430\u043B\u0438\u0442\u044C</span>\n </button>\n</mat-menu>\n", styles: [""], dependencies: [{ kind: "component", type: i6$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i2$7.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i2$7.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2$7.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }] });
2762
+ TableMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TableMenuComponent, selector: "shared-table-menu", outputs: { edit: "edit", delete: "delete" }, ngImport: i0, template: "<mat-icon class=\"cursor-pointer\" [matMenuTriggerFor]=\"menu\">more_vert</mat-icon>\n<mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"editAction()\">\n <mat-icon>edit</mat-icon>\n <span>\u0420\u0435\u0434.</span>\n </button>\n <button mat-menu-item (click)=\"deleteAction()\">\n <mat-icon>delete</mat-icon>\n <span>\u0423\u0434\u0430\u043B\u0438\u0442\u044C</span>\n </button>\n</mat-menu>\n", styles: [""], dependencies: [{ kind: "component", type: i6$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i2$6.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i2$6.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2$6.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }] });
2714
2763
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableMenuComponent, decorators: [{
2715
2764
  type: Component,
2716
2765
  args: [{ selector: 'shared-table-menu', template: "<mat-icon class=\"cursor-pointer\" [matMenuTriggerFor]=\"menu\">more_vert</mat-icon>\n<mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"editAction()\">\n <mat-icon>edit</mat-icon>\n <span>\u0420\u0435\u0434.</span>\n </button>\n <button mat-menu-item (click)=\"deleteAction()\">\n <mat-icon>delete</mat-icon>\n <span>\u0423\u0434\u0430\u043B\u0438\u0442\u044C</span>\n </button>\n</mat-menu>\n" }]
@@ -2769,7 +2818,7 @@ class TagCloudComponent {
2769
2818
  }
2770
2819
  }
2771
2820
  TagCloudComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagCloudComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2772
- TagCloudComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TagCloudComponent, selector: "shared-tag-cloud", ngImport: i0, template: "<ng-container *ngIf=\"getTags$ | async; let tags;\">\n<aside *ngIf=\"loaded\" class=\"single-sidebar-widget tag_cloud_widget\">\n <h4 class=\"widget_title\">\u0422\u0435\u0433\u0438</h4>\n <ul class=\"tag-list list\">\n <li *ngFor=\"let tag of tags; trackBy: trackByFn\"><a [routerLink]=\"['/tag/' + tag.slug + '.html']\">{{tag.name}}</a></li>\n </ul>\n</aside>\n</ng-container>\n<shared-spinner *ngIf=\"!loaded\" [diameter]=\"30\"></shared-spinner>\n", styles: [".tag-list li:nth-child(3n) a{margin-right:0!important}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "directive", type: i2$5.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2821
+ TagCloudComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TagCloudComponent, selector: "shared-tag-cloud", ngImport: i0, template: "<ng-container *ngIf=\"getTags$ | async; let tags;\">\n<aside *ngIf=\"loaded\" class=\"single-sidebar-widget tag_cloud_widget\">\n <h4 class=\"widget_title\">\u0422\u0435\u0433\u0438</h4>\n <ul class=\"tag-list list\">\n <li *ngFor=\"let tag of tags; trackBy: trackByFn\"><a [routerLink]=\"['/tag/' + tag.slug + '.html']\">{{tag.name}}</a></li>\n </ul>\n</aside>\n</ng-container>\n<shared-spinner *ngIf=\"!loaded\" [diameter]=\"30\"></shared-spinner>\n", styles: [".tag-list li:nth-child(3n) a{margin-right:0!important}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "directive", type: i3$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2773
2822
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagCloudComponent, decorators: [{
2774
2823
  type: Component,
2775
2824
  args: [{ selector: 'shared-tag-cloud', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"getTags$ | async; let tags;\">\n<aside *ngIf=\"loaded\" class=\"single-sidebar-widget tag_cloud_widget\">\n <h4 class=\"widget_title\">\u0422\u0435\u0433\u0438</h4>\n <ul class=\"tag-list list\">\n <li *ngFor=\"let tag of tags; trackBy: trackByFn\"><a [routerLink]=\"['/tag/' + tag.slug + '.html']\">{{tag.name}}</a></li>\n </ul>\n</aside>\n</ng-container>\n<shared-spinner *ngIf=\"!loaded\" [diameter]=\"30\"></shared-spinner>\n", styles: [".tag-list li:nth-child(3n) a{margin-right:0!important}\n"] }]
@@ -2827,7 +2876,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
2827
2876
  }]
2828
2877
  }], ctorParameters: function () { return [{ type: i1$9.DomSanitizer }]; } });
2829
2878
 
2830
- // import {TagModel} from '@shared/models/models/tag';
2879
+ // import {TagModel} from '@wt-shared/models/models/tag';
2831
2880
  class TextWithLinkMoreComponent {
2832
2881
  constructor() {
2833
2882
  this.height = 300;
@@ -2982,6 +3031,435 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
2982
3031
  }]
2983
3032
  }] });
2984
3033
 
3034
+ const LoadUsers = createAction('[Users] Load Users');
3035
+ const LoadUsersSuccess = createAction('[Users] Load Users Success');
3036
+ const LoadUsersFail = createAction('[Users] Load Users Error');
3037
+ const LoginSend = createAction('[Users] Auth Send', props());
3038
+ const LoginSendSuccess = createAction('[Users] Auth Send Success', props());
3039
+ const LoginSendFail = createAction('[Users] Auth Send Error', props());
3040
+ const RefreshToken = createAction('[Users] Refresh Token', props());
3041
+ const RefreshTokenSuccess = createAction('[Users] Refresh Token Success', props());
3042
+ const RefreshTokenFail = createAction('[Users] Refresh Token Error', props());
3043
+ /**
3044
+ *
3045
+ */
3046
+ const SetLoaded = createAction('[Users] Set Loaded');
3047
+
3048
+ class UsersEffects {
3049
+ constructor(actions$, store, usersService, authenticationService, routerService, actionsService, notificationsFacade) {
3050
+ this.actions$ = actions$;
3051
+ this.store = store;
3052
+ this.usersService = usersService;
3053
+ this.authenticationService = authenticationService;
3054
+ this.routerService = routerService;
3055
+ this.actionsService = actionsService;
3056
+ this.notificationsFacade = notificationsFacade;
3057
+ this.GlobalEvent$ = createEffect(() => this.actions$.pipe(ofType(GlobalEvent), filter$1(action => action.payload.action === 'generation-new-password-send-user'), switchMap((actionIn) => {
3058
+ const { action, formValue } = actionIn.payload;
3059
+ const config = {
3060
+ action,
3061
+ actionId: Math.ceil(Math.random() * 100),
3062
+ data: {
3063
+ userId: formValue['id'],
3064
+ salt: formValue['salt'],
3065
+ }
3066
+ };
3067
+ return this.actionsService.sendAction(config)
3068
+ .pipe(tap((r) => {
3069
+ const newPassword = r?.data?.body?.data?.newPassword || '';
3070
+ if (newPassword) {
3071
+ // Update form
3072
+ const field = actionIn.payload.fieldData?.field || '';
3073
+ const entity = actionIn.payload?.entity || '';
3074
+ const entityId = actionIn.payload?.entityId || '';
3075
+ if (field && entity && entityId) {
3076
+ this.store.dispatch(EntityUpdate({
3077
+ payload: {
3078
+ entity: `StaticData`,
3079
+ subeEntity: entity,
3080
+ entityId,
3081
+ updates: { [field]: newPassword }
3082
+ }
3083
+ }));
3084
+ }
3085
+ // Send a notification
3086
+ const payload = {
3087
+ id: config.actionId,
3088
+ type: 'success',
3089
+ text: 'Новый пароль успешно сохранен и выслан на почту',
3090
+ timeout: NOTIFICATION_LONG_TIMEOUT,
3091
+ showingType: NotificationShowingType.TOASTER
3092
+ };
3093
+ this.notificationsFacade.addNotifications(payload);
3094
+ }
3095
+ else {
3096
+ const payload = {
3097
+ id: config.actionId,
3098
+ type: 'error',
3099
+ text: 'Не удалось сгенерировать и отправить новый пароль, попробуйте еще раз',
3100
+ timeout: NOTIFICATION_LONG_TIMEOUT,
3101
+ showingType: NotificationShowingType.TOASTER
3102
+ };
3103
+ this.notificationsFacade.addNotifications(payload);
3104
+ }
3105
+ }));
3106
+ })), { dispatch: false });
3107
+ this.GlobalEvent2$ = createEffect(() => this.actions$.pipe(ofType(GlobalEvent), filter$1(action => action.payload.action === 'generation-new-password'), switchMap((actionIn) => {
3108
+ const { action, formValue } = actionIn.payload;
3109
+ const config = {
3110
+ action,
3111
+ actionId: Math.ceil(Math.random() * 100),
3112
+ data: {
3113
+ newPassword: formValue['password'],
3114
+ salt: formValue['salt'],
3115
+ }
3116
+ };
3117
+ return this.actionsService.sendAction(config)
3118
+ .pipe(tap((r) => {
3119
+ const newPassword = r?.data?.body?.data?.newPassword || '';
3120
+ if (newPassword) {
3121
+ // Update form
3122
+ const field = actionIn.payload.fieldData.field || '';
3123
+ const entity = actionIn.payload?.entity || '';
3124
+ const entityId = actionIn.payload?.entityId || '';
3125
+ if (field && entity && entityId) {
3126
+ this.store.dispatch(EntityUpdate({
3127
+ payload: {
3128
+ entity: `StaticData`,
3129
+ subeEntity: entity,
3130
+ entityId,
3131
+ updates: { [field]: newPassword }
3132
+ }
3133
+ }));
3134
+ }
3135
+ // Send a notification
3136
+ const payload = {
3137
+ id: config.actionId,
3138
+ type: 'success',
3139
+ text: 'Новый пароль успешно сгенерирован. Сохраните форму',
3140
+ timeout: NOTIFICATION_LONG_TIMEOUT,
3141
+ showingType: NotificationShowingType.TOASTER
3142
+ };
3143
+ this.notificationsFacade.addNotifications(payload);
3144
+ }
3145
+ else {
3146
+ const payload = {
3147
+ id: config.actionId,
3148
+ type: 'error',
3149
+ text: 'Не удалось сгенерировать новый пароль, попробуйте еще раз',
3150
+ timeout: NOTIFICATION_LONG_TIMEOUT,
3151
+ showingType: NotificationShowingType.TOASTER
3152
+ };
3153
+ this.notificationsFacade.addNotifications(payload);
3154
+ }
3155
+ }));
3156
+ })), { dispatch: false });
3157
+ this.loginSend$ = createEffect(() => this.actions$.pipe(ofType(LoginSend), switchMap((action) => {
3158
+ const { email, password, formId } = action.payload;
3159
+ const config = {
3160
+ email,
3161
+ password,
3162
+ formId
3163
+ };
3164
+ return this.usersService.loginSend(config)
3165
+ .pipe(flatMap((r) => new LoginSendBehavior(action, r).resolve()));
3166
+ }), catchError(error => of(LoginSendFail(error)))));
3167
+ this.loginSendSuccess$ = createEffect(() => this.actions$.pipe(ofType(LoginSendSuccess), tap((action) => {
3168
+ const { user } = action.payload;
3169
+ this.authenticationService.saveAuthInfo(user);
3170
+ const redirectUrl = this.authenticationService.getRedirectToUrl();
3171
+ this.routerService.goTo(redirectUrl ? [redirectUrl] : '/');
3172
+ })), { dispatch: false });
3173
+ this.refreshToken$ = createEffect(() => this.actions$.pipe(ofType(RefreshToken), switchMap((action) => {
3174
+ const { refreshToken } = action.payload;
3175
+ const config = { refreshToken };
3176
+ return this.usersService.refreshToken(config)
3177
+ .pipe(flatMap((r) => new RefreshTokenBehavior(action, r).resolve()));
3178
+ }), catchError(error => of(RefreshTokenFail(error)))));
3179
+ this.refreshTokenSuccess$ = createEffect(() => this.actions$.pipe(ofType(RefreshTokenSuccess), tap(action => {
3180
+ const { token, refreshToken, tokenExp } = action.payload;
3181
+ this.authenticationService.saveRefreshToken(token, tokenExp, refreshToken);
3182
+ })));
3183
+ }
3184
+ }
3185
+ UsersEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersEffects, deps: [{ token: i1$a.Actions }, { token: i1$1.Store }, { token: i3$5.UsersService }, { token: i4$2.AuthenticationService }, { token: i5$3.RouterService }, { token: i6$5.ActionsService }, { token: i2$5.NotificationsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
3186
+ UsersEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersEffects });
3187
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersEffects, decorators: [{
3188
+ type: Injectable
3189
+ }], ctorParameters: function () { return [{ type: i1$a.Actions }, { type: i1$1.Store }, { type: i3$5.UsersService }, { type: i4$2.AuthenticationService }, { type: i5$3.RouterService }, { type: i6$5.ActionsService }, { type: i2$5.NotificationsFacade }]; } });
3190
+
3191
+ const USERS_FEATURE_KEY = 'users';
3192
+ const initialState$1 = {
3193
+ loaded: false
3194
+ };
3195
+ const _userReducer = createReducer(initialState$1, on(LoadUsersSuccess$1, (state, action) => {
3196
+ return {
3197
+ ...state,
3198
+ loaded: true
3199
+ };
3200
+ }), on(RefreshToken$1, SetLoaded$1, (state, action) => {
3201
+ return {
3202
+ ...state,
3203
+ loaded: false
3204
+ };
3205
+ }), on(RefreshTokenSuccess$1, (state, action) => {
3206
+ console.info('[ refreshTokenSuccess ]');
3207
+ const { token, refreshToken, tokenExp } = action.payload;
3208
+ return {
3209
+ ...state,
3210
+ // data: { ...state.data, token, refreshToken, tokenExp },
3211
+ token,
3212
+ refreshToken,
3213
+ tokenExp,
3214
+ loaded: true
3215
+ };
3216
+ }));
3217
+ function userReducer(state, action) {
3218
+ return _userReducer(state, action);
3219
+ }
3220
+
3221
+ const getUsersState = createFeatureSelector(USERS_FEATURE_KEY);
3222
+ const getLoaded = createSelector(getUsersState, (state) => state.loaded);
3223
+ const getError = createSelector(getUsersState, (state) => {
3224
+ return state;
3225
+ });
3226
+ const getUser = createSelector(getUsersState, (state) => {
3227
+ return state.token ? state : null;
3228
+ });
3229
+ const getUserAuthData = createSelector(getUsersState, (userSate) => {
3230
+ return userSate && { token: userSate.token, uid: userSate.id };
3231
+ });
3232
+ const usersQuery = {
3233
+ getLoaded,
3234
+ getError,
3235
+ getUser,
3236
+ };
3237
+
3238
+ class UsersFacade {
3239
+ constructor(store) {
3240
+ this.store = store;
3241
+ this.loaded$ = this.store.pipe(select(usersQuery.getLoaded));
3242
+ this.getUser$ = this.store.pipe(select(usersQuery.getUser));
3243
+ }
3244
+ loadAll() {
3245
+ this.store.dispatch(LoadUsers());
3246
+ }
3247
+ sendLogin({ email, password, remember, formId }) {
3248
+ const params = {
3249
+ email, password, remember, formId
3250
+ };
3251
+ this.store.dispatch(LoginSend({ payload: params }));
3252
+ }
3253
+ logOut() {
3254
+ console.info('logOut');
3255
+ }
3256
+ refreshToken(refreshToken) {
3257
+ console.info('refreshToken');
3258
+ this.store.dispatch(RefreshToken({ payload: { refreshToken } }));
3259
+ }
3260
+ setLoaded() {
3261
+ this.store.dispatch(SetLoaded());
3262
+ }
3263
+ }
3264
+ UsersFacade.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersFacade, deps: [{ token: i1$1.Store }], target: i0.ɵɵFactoryTarget.Injectable });
3265
+ UsersFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersFacade });
3266
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersFacade, decorators: [{
3267
+ type: Injectable
3268
+ }], ctorParameters: function () { return [{ type: i1$1.Store }]; } });
3269
+
3270
+ class CustomSerializer {
3271
+ serialize(routerState) {
3272
+ let route = routerState.root;
3273
+ let path;
3274
+ while (route.firstChild) {
3275
+ route = route.firstChild;
3276
+ path = route.routeConfig.path;
3277
+ }
3278
+ const { url, root: { queryParams }, } = routerState;
3279
+ const { params } = route;
3280
+ return { url, params, queryParams, path };
3281
+ }
3282
+ }
3283
+
3284
+ const getRouterState = createFeatureSelector(ROUTER_FEATURE_KEY$1);
3285
+ const getRouterUrl = createSelector(getRouterState, (state) => {
3286
+ return state && state.router.url;
3287
+ });
3288
+ const getRouterRoot = createSelector(getRouterState, (state) => {
3289
+ return state && state.router.root;
3290
+ });
3291
+ const getRouterQueryParams = createSelector(getRouterState, (state) => {
3292
+ return state && state.router.root.queryParams;
3293
+ });
3294
+ const getRouterLastRoute = createSelector(getRouterState, (state) => {
3295
+ if (state) {
3296
+ let route = state.router.root;
3297
+ while (route.firstChild) {
3298
+ route = route.firstChild;
3299
+ }
3300
+ return route.url.length ? route.url[0].path : '';
3301
+ }
3302
+ return '';
3303
+ });
3304
+ const getRouterLastRouteParams = createSelector(getRouterState, (state) => {
3305
+ if (state) {
3306
+ let route = state.router.root;
3307
+ while (route.firstChild) {
3308
+ route = route.firstChild;
3309
+ }
3310
+ return route.params;
3311
+ }
3312
+ return '';
3313
+ });
3314
+
3315
+ const Go = createAction('[Router] Go', props());
3316
+ const GoFail = createAction('[Router] Go Error');
3317
+ const SetRouterQueryParams = createAction('[Router] Set Router Query Params', props());
3318
+ const Back = createAction('[Router] Back');
3319
+ const Forward = createAction('[Router] Forward');
3320
+
3321
+ class RouterEffects {
3322
+ /* @Effect({ dispatch: false })
3323
+ setRouterQueryParams$ = this.effect(RouterActionTypes.SetRouterQueryParams, {
3324
+ operatorFunctions: (action: SetRouterQueryParams) => [
3325
+ switchMap(() => this.applySelector(getRouterUrl)),
3326
+ tap((url: string) => {
3327
+ const payload: SetRouterQueryParamsPayload = action.payload;
3328
+ const extras: NavigationExtras = payload.extras;
3329
+ const path = [this.location.path().split('?')[0]];
3330
+ this.router.navigate(path, extras);
3331
+ })
3332
+ ],
3333
+ onError: (action: Go, error) => new GoFail({}, error, action.correlationParams)
3334
+ });*/
3335
+ constructor(actions$, store, router, location) {
3336
+ this.actions$ = actions$;
3337
+ this.store = store;
3338
+ this.router = router;
3339
+ this.location = location;
3340
+ this.go$ = createEffect(() => this.actions$.pipe(ofType(Go), tap((action) => {
3341
+ const payload = action.payload;
3342
+ const path = this.preparePath(payload.path);
3343
+ let extras;
3344
+ if (payload.extras) {
3345
+ extras = payload.extras;
3346
+ }
3347
+ this.router.navigate(path, extras)
3348
+ .then(data => {
3349
+ console.info('[ router ][ navigate ]', path);
3350
+ })
3351
+ .catch(error => {
3352
+ console.error('[ router ][ error ]', error);
3353
+ });
3354
+ })), { dispatch: false });
3355
+ }
3356
+ preparePath(params) {
3357
+ const path = [];
3358
+ let i = 0;
3359
+ while (params.length > i) {
3360
+ const p = params[i];
3361
+ if (typeof p === 'object') {
3362
+ for (const key in p) {
3363
+ if (p.hasOwnProperty(key)) {
3364
+ path.push(p[key]);
3365
+ }
3366
+ }
3367
+ }
3368
+ else {
3369
+ path.push(p);
3370
+ }
3371
+ i++;
3372
+ }
3373
+ return path;
3374
+ }
3375
+ }
3376
+ RouterEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RouterEffects, deps: [{ token: i1$a.Actions }, { token: i1$1.Store }, { token: i3$2.Router }, { token: i1.Location }], target: i0.ɵɵFactoryTarget.Injectable });
3377
+ RouterEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RouterEffects });
3378
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RouterEffects, decorators: [{
3379
+ type: Injectable
3380
+ }], ctorParameters: function () { return [{ type: i1$a.Actions }, { type: i1$1.Store }, { type: i3$2.Router }, { type: i1.Location }]; } });
3381
+
3382
+ const ROUTER_FEATURE_KEY = 'notifications';
3383
+ // @ts-ignore
3384
+ const initialState = { root: null, url: '' };
3385
+ /*
3386
+ const _outerReducer = createReducer(
3387
+ initialState,
3388
+ on(ROUTER_ERROR,
3389
+ ROUTER_CANCEL,
3390
+ ROUTER_NAVIGATION,
3391
+ (state, action) => {
3392
+ return {
3393
+ ...state,
3394
+ ...action.type
3395
+ };
3396
+ }
3397
+ )
3398
+ );
3399
+
3400
+ export function routerReducer(state, action) {
3401
+ return _outerReducer(state, action);
3402
+ }
3403
+ */
3404
+
3405
+ const sharedEffects = [
3406
+ UsersEffects,
3407
+ RouterEffects,
3408
+ NotificationsEffects,
3409
+ FilesEffects,
3410
+ UiUnitsEffects,
3411
+ TagsEffects,
3412
+ MainEffects,
3413
+ StaticDataEffects,
3414
+ FormsEffects,
3415
+ FormValidationEffects,
3416
+ FormErrorsEffects,
3417
+ FormDeleteFileEffects,
3418
+ PublicationMessagesEffects,
3419
+ UpdateEntitiesEffects,
3420
+ ActionsEffects,
3421
+ CacheDataEffects,
3422
+ ReportsEffects
3423
+ ];
3424
+ const sharedFacades = [
3425
+ CoreFacade,
3426
+ UsersFacade,
3427
+ UiUnitsFacade,
3428
+ NotificationsFacade,
3429
+ RouterFacade,
3430
+ FilesFacade,
3431
+ FormsFacade,
3432
+ TagsFacade,
3433
+ MainFacade,
3434
+ StaticDataFacade,
3435
+ FormsFacade,
3436
+ FormValidationFacade,
3437
+ FormErrorsFacade,
3438
+ FormDeleteFileFacade,
3439
+ RequestsFacade,
3440
+ PublicationMessagesFacade,
3441
+ ActionsFacade,
3442
+ CacheDataFacade,
3443
+ ReportsFacade
3444
+ ];
3445
+ const SharedReducer = {
3446
+ requests: requestsReducer,
3447
+ files: filesReducer,
3448
+ formErrors: formErrorsReducer,
3449
+ formValidation: formValidationReducer,
3450
+ forms: formReducer,
3451
+ tags: tagsReducer,
3452
+ main: mainReducer,
3453
+ notifications: notificationsReducer,
3454
+ staticData: staticDataReducer,
3455
+ uiUnits: uiUnitsReducer,
3456
+ users: userReducer,
3457
+ publicationMessages: publicationMessagesReducer,
3458
+ actions: actionsReducer,
3459
+ cacheData: cacheDataReducer,
3460
+ reports: reportsReducer,
3461
+ };
3462
+
2985
3463
  /*
2986
3464
  * Public API Surface of wt-common
2987
3465
  */
@@ -2990,5 +3468,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
2990
3468
  * Generated bundle index. Do not edit.
2991
3469
  */
2992
3470
 
2993
- export { AccessDeniedComponent, AccessDeniedModule, AutoFormMainComponent, AutoFormModule, AutoFormShowComponent, BreadCrumbsComponent, BreadCrumbsModule, ButtonComponent, ButtonModule, ChipsInputComponent, ChipsInputModule, CountFormatPipe, DateFormatPipe, FileListModeList, FileListModeSort, FilesUploadComponent, FilesUploadModule, FormFieldPublishErrorComponent, FormFieldPublishErrorModule, HeaderComponent, HeaderModule, IconComponent, ImageComponent, ImageModule, InputTagsComponent, InputTagsModule, PaginationComponent, PaginationModule, PanelComponent, PanelModule, PhonePipe, PipesModule, STICKY_SIDEBAR_OPTIONS, SafePipe, SharedIconModule, SharedSpinnerModule, SmartProgressBarComponent, SmartProgressBarModule, SpinnerComponent, StarRatingComponent, StarRatingModule, StickySidebarDirective, StickySidebarInnerDirective, StickySidebarModule, TableMenuComponent, TableMenuModule, TagCloudComponent, TagCloudModule, TextWithLinkMoreComponent, TextWithLinkMoreModule, defaultStickySidebarOptions };
3471
+ export { AccessDeniedComponent, AccessDeniedModule, AutoFormMainComponent, AutoFormModule, AutoFormShowComponent, BreadCrumbsComponent, BreadCrumbsModule, ButtonComponent, ButtonModule, ChipsInputComponent, ChipsInputModule, CountFormatPipe, DateFormatPipe, FileListModeList, FileListModeSort, FilesUploadComponent, FilesUploadModule, FormFieldPublishErrorComponent, FormFieldPublishErrorModule, HeaderComponent, HeaderModule, IconComponent, ImageComponent, ImageModule, InputTagsComponent, InputTagsModule, PaginationComponent, PaginationModule, PanelComponent, PanelModule, PhonePipe, PipesModule, STICKY_SIDEBAR_OPTIONS, SafePipe, SharedIconModule, SharedReducer, SharedSpinnerModule, SmartProgressBarComponent, SmartProgressBarModule, SpinnerComponent, StarRatingComponent, StarRatingModule, StickySidebarDirective, StickySidebarInnerDirective, StickySidebarModule, TableMenuComponent, TableMenuModule, TagCloudComponent, TagCloudModule, TextWithLinkMoreComponent, TextWithLinkMoreModule, defaultStickySidebarOptions, sharedEffects, sharedFacades };
2994
3472
  //# sourceMappingURL=wt-front-shared.mjs.map