@bizdoc/core 2.5.5 → 2.5.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 (402) hide show
  1. package/assets/themes/brown.min.css +1 -1
  2. package/assets/themes/dark.min.css +1 -1
  3. package/assets/themes/deep-purple-light-blue.min.css +2 -2
  4. package/assets/themes/deep-purple-teal.min.css +1 -1
  5. package/assets/themes/default.min.css +1 -1
  6. package/assets/themes/green.min.css +1 -1
  7. package/assets/themes/indigo.min.css +1 -1
  8. package/esm2022/lib/admin/admin-dismiss.service.mjs +3 -3
  9. package/esm2022/lib/admin/admin-menu.component.mjs +3 -3
  10. package/esm2022/lib/admin/architecture/cube-axes-filter.component.mjs +3 -3
  11. package/esm2022/lib/admin/architecture/designer-element.component.mjs +15 -15
  12. package/esm2022/lib/admin/architecture/designer-privileges.component.mjs +3 -3
  13. package/esm2022/lib/admin/architecture/designer.base.mjs +9 -9
  14. package/esm2022/lib/admin/architecture/designer.component.mjs +3 -3
  15. package/esm2022/lib/admin/architecture/elements/action.component.mjs +3 -3
  16. package/esm2022/lib/admin/architecture/elements/analysis-view.component.mjs +3 -3
  17. package/esm2022/lib/admin/architecture/elements/analysis-widget.component.mjs +3 -3
  18. package/esm2022/lib/admin/architecture/elements/anomaly-rule.component.mjs +3 -3
  19. package/esm2022/lib/admin/architecture/elements/attribute.component.mjs +3 -3
  20. package/esm2022/lib/admin/architecture/elements/box-form.component.mjs +3 -3
  21. package/esm2022/lib/admin/architecture/elements/configuration-datasource.component.mjs +3 -3
  22. package/esm2022/lib/admin/architecture/elements/control.component.mjs +3 -3
  23. package/esm2022/lib/admin/architecture/elements/cube-index-utility.component.mjs +3 -3
  24. package/esm2022/lib/admin/architecture/elements/cube-view.component.mjs +3 -3
  25. package/esm2022/lib/admin/architecture/elements/cube.component.mjs +3 -3
  26. package/esm2022/lib/admin/architecture/elements/document-state-widget.component.mjs +3 -3
  27. package/esm2022/lib/admin/architecture/elements/documents-report.component.mjs +3 -3
  28. package/esm2022/lib/admin/architecture/elements/documents-widget.component.mjs +3 -3
  29. package/esm2022/lib/admin/architecture/elements/explore-view.component.mjs +3 -3
  30. package/esm2022/lib/admin/architecture/elements/folder.component.mjs +3 -3
  31. package/esm2022/lib/admin/architecture/elements/form-invite.dialog.mjs +3 -3
  32. package/esm2022/lib/admin/architecture/elements/form.component.mjs +3 -3
  33. package/esm2022/lib/admin/architecture/elements/guide.component.mjs +3 -3
  34. package/esm2022/lib/admin/architecture/elements/job.component.mjs +3 -3
  35. package/esm2022/lib/admin/architecture/elements/matrix-view.component.mjs +3 -3
  36. package/esm2022/lib/admin/architecture/elements/node.component.mjs +3 -3
  37. package/esm2022/lib/admin/architecture/elements/parallel-view.component.mjs +3 -3
  38. package/esm2022/lib/admin/architecture/elements/performance-report.component.mjs +3 -3
  39. package/esm2022/lib/admin/architecture/elements/performance-widget.component.mjs +3 -3
  40. package/esm2022/lib/admin/architecture/elements/pivot-view.component.mjs +3 -3
  41. package/esm2022/lib/admin/architecture/elements/policy.component.mjs +3 -3
  42. package/esm2022/lib/admin/architecture/elements/report.component.mjs +3 -3
  43. package/esm2022/lib/admin/architecture/elements/return-to-role-action.component.mjs +3 -3
  44. package/esm2022/lib/admin/architecture/elements/role.component.mjs +3 -3
  45. package/esm2022/lib/admin/architecture/elements/rule.component.mjs +3 -3
  46. package/esm2022/lib/admin/architecture/elements/source.component.mjs +3 -3
  47. package/esm2022/lib/admin/architecture/elements/state.component.mjs +3 -3
  48. package/esm2022/lib/admin/architecture/elements/sum-view.component.mjs +3 -3
  49. package/esm2022/lib/admin/architecture/elements/tasks-report.component.mjs +3 -3
  50. package/esm2022/lib/admin/architecture/elements/type.component.mjs +3 -3
  51. package/esm2022/lib/admin/architecture/elements/usage-report.component.mjs +3 -3
  52. package/esm2022/lib/admin/architecture/elements/utility.component.mjs +3 -3
  53. package/esm2022/lib/admin/architecture/elements/view.component.mjs +3 -3
  54. package/esm2022/lib/admin/architecture/elements/widget.component.mjs +3 -3
  55. package/esm2022/lib/admin/architecture/icon-picker.component.mjs +3 -3
  56. package/esm2022/lib/admin/core/ace.input.mjs +3 -3
  57. package/esm2022/lib/admin/core/color-picker.input.mjs +3 -3
  58. package/esm2022/lib/admin/core/localized-string.component.mjs +3 -3
  59. package/esm2022/lib/admin/core/search.input.mjs +3 -3
  60. package/esm2022/lib/admin/diff/configuration-diff.component.mjs +3 -3
  61. package/esm2022/lib/admin/document-trace/document-trace.component.mjs +3 -3
  62. package/esm2022/lib/admin/document-trace/reassign.dialog.mjs +3 -3
  63. package/esm2022/lib/admin/document-trace/trace-element.component.mjs +3 -3
  64. package/esm2022/lib/admin/form/designer/box-designer.component.mjs +3 -3
  65. package/esm2022/lib/admin/form/designer/design-control.component.mjs +3 -3
  66. package/esm2022/lib/admin/form/designer/properties.component.mjs +3 -3
  67. package/esm2022/lib/admin/form/designer/section.component.mjs +3 -3
  68. package/esm2022/lib/admin/form/designer/settings.component.mjs +3 -3
  69. package/esm2022/lib/admin/form/form.resolve.service.mjs +3 -3
  70. package/esm2022/lib/admin/form/workflow/node.component.mjs +3 -3
  71. package/esm2022/lib/admin/form/workflow/role-node.component.mjs +3 -3
  72. package/esm2022/lib/admin/form/workflow/workflow.component.mjs +3 -3
  73. package/esm2022/lib/admin/indices/manage-cube-index.component.mjs +3 -3
  74. package/esm2022/lib/admin/patterns/patterns.component.mjs +3 -3
  75. package/esm2022/lib/admin/permissions/permissions.component.mjs +3 -3
  76. package/esm2022/lib/admin/positions/positions-popup.component.mjs +3 -3
  77. package/esm2022/lib/admin/positions/positions.component.mjs +3 -3
  78. package/esm2022/lib/admin/profiler/outofoffice.component.mjs +3 -3
  79. package/esm2022/lib/admin/profiler/profiler.component.mjs +3 -3
  80. package/esm2022/lib/admin/system.service.mjs +7 -4
  81. package/esm2022/lib/admin/utility-wrapper.component.mjs +3 -3
  82. package/esm2022/lib/admin/utility.pane.component.mjs +3 -3
  83. package/esm2022/lib/app.component.mjs +6 -6
  84. package/esm2022/lib/bizdoc.module.mjs +4 -4
  85. package/esm2022/lib/browse/browse-items.component.mjs +3 -3
  86. package/esm2022/lib/browse/browse.mobile.component.mjs +3 -3
  87. package/esm2022/lib/browse/browse.pane.component.mjs +3 -3
  88. package/esm2022/lib/browse/expanded-item/expanded-item.component.mjs +3 -3
  89. package/esm2022/lib/browse/filter/filter.component.mjs +3 -3
  90. package/esm2022/lib/browse/folders-menu.component.mjs +3 -3
  91. package/esm2022/lib/chat/chat-info.mjs +3 -3
  92. package/esm2022/lib/chat/chat.mobile.component.mjs +3 -3
  93. package/esm2022/lib/chat/chat.service.mjs +3 -3
  94. package/esm2022/lib/chat/contacts.component.mjs +6 -6
  95. package/esm2022/lib/chat/contacts.pane.component.mjs +3 -3
  96. package/esm2022/lib/chat/conversation.component.mjs +3 -3
  97. package/esm2022/lib/chat/conversation.pane.component.mjs +3 -3
  98. package/esm2022/lib/compose/action/action-picker.component.mjs +3 -3
  99. package/esm2022/lib/compose/action/action.dialog.mjs +3 -3
  100. package/esm2022/lib/compose/action/action.pane.dialog.exp.mjs +3 -3
  101. package/esm2022/lib/compose/action/assign-action.component.mjs +3 -3
  102. package/esm2022/lib/compose/action/moveto-action.component.mjs +3 -3
  103. package/esm2022/lib/compose/action/return-action.component.mjs +3 -3
  104. package/esm2022/lib/compose/attachments/attachments.component.mjs +3 -3
  105. package/esm2022/lib/compose/attachments/preview/attachment-preview.component.mjs +3 -3
  106. package/esm2022/lib/compose/attachments/progress-button.directive.mjs +3 -3
  107. package/esm2022/lib/compose/box/box.component.mjs +3 -3
  108. package/esm2022/lib/compose/box/control.component.mjs +3 -3
  109. package/esm2022/lib/compose/box/row.component.mjs +3 -3
  110. package/esm2022/lib/compose/can-deactivate-changes.service.mjs +3 -3
  111. package/esm2022/lib/compose/comments/comment.component.mjs +3 -3
  112. package/esm2022/lib/compose/comments/comments.component.mjs +3 -3
  113. package/esm2022/lib/compose/comments/comments.pane.component.mjs +3 -3
  114. package/esm2022/lib/compose/comments/edit-comment.component.mjs +3 -3
  115. package/esm2022/lib/compose/comments/edits.component.mjs +3 -3
  116. package/esm2022/lib/compose/comments/quick-comment.component.exp.mjs +3 -3
  117. package/esm2022/lib/compose/comments/votes.component.mjs +3 -3
  118. package/esm2022/lib/compose/compose-resolve.service.mjs +3 -3
  119. package/esm2022/lib/compose/compose.mobile.component.mjs +3 -3
  120. package/esm2022/lib/compose/compose.pane.component.mjs +3 -3
  121. package/esm2022/lib/compose/copy/copy.dialog.mjs +3 -3
  122. package/esm2022/lib/compose/dismiss.service.mjs +3 -3
  123. package/esm2022/lib/compose/document-resolve.service.mjs +3 -3
  124. package/esm2022/lib/compose/document-resolver.service.mjs +3 -3
  125. package/esm2022/lib/compose/document.component.mjs +3 -3
  126. package/esm2022/lib/compose/document.mobile.component.mjs +3 -3
  127. package/esm2022/lib/compose/document.pane.component.mjs +3 -3
  128. package/esm2022/lib/compose/events/events.component.mjs +3 -3
  129. package/esm2022/lib/compose/form-selector/form-selector.sheet.mjs +3 -3
  130. package/esm2022/lib/compose/form.component.mjs +3 -3
  131. package/esm2022/lib/compose/new-menu.component.mjs +3 -3
  132. package/esm2022/lib/compose/overlay.component.exp.mjs +3 -3
  133. package/esm2022/lib/compose/privilage.directive.mjs +6 -6
  134. package/esm2022/lib/compose/recipient-resolver.service.mjs +3 -3
  135. package/esm2022/lib/compose/state.component.mjs +3 -3
  136. package/esm2022/lib/compose/tag/tags.component.mjs +3 -3
  137. package/esm2022/lib/compose/trace/flow.component.mjs +3 -3
  138. package/esm2022/lib/compose/trace/people.component.mjs +3 -3
  139. package/esm2022/lib/compose/trace/trace.base.mjs +3 -3
  140. package/esm2022/lib/compose/trace/trace.component.mjs +3 -3
  141. package/esm2022/lib/compose/trace/trace.pane.component.mjs +3 -3
  142. package/esm2022/lib/compose/version-compare/version-compare.component.mjs +3 -3
  143. package/esm2022/lib/compose/version-compare/version-compare.directive.mjs +9 -9
  144. package/esm2022/lib/compose/version-compare/version.pane.component.mjs +3 -3
  145. package/esm2022/lib/core/account.service.mjs +3 -3
  146. package/esm2022/lib/core/animated-icon/animated-icon.directive.mjs +3 -3
  147. package/esm2022/lib/core/avatar/avatar.component.mjs +3 -3
  148. package/esm2022/lib/core/checkbox.mjs +3 -3
  149. package/esm2022/lib/core/component-factory-resolver.mjs +3 -3
  150. package/esm2022/lib/core/datasource.service.mjs +3 -3
  151. package/esm2022/lib/core/document-factory.service.mjs +3 -3
  152. package/esm2022/lib/core/fields/address.designer.mjs +3 -3
  153. package/esm2022/lib/core/fields/address.field.mjs +3 -3
  154. package/esm2022/lib/core/fields/autocomplete.field.mjs +6 -6
  155. package/esm2022/lib/core/fields/axes-picker.designer.mjs +59 -0
  156. package/esm2022/lib/core/fields/axes-picker.field.mjs +34 -0
  157. package/esm2022/lib/core/fields/checkbox.designer.mjs +3 -3
  158. package/esm2022/lib/core/fields/checkbox.field.mjs +3 -3
  159. package/esm2022/lib/core/fields/checklist.designer.mjs +3 -3
  160. package/esm2022/lib/core/fields/checklist.field.mjs +3 -3
  161. package/esm2022/lib/core/fields/date-range.designer.mjs +3 -3
  162. package/esm2022/lib/core/fields/date-range.field.mjs +3 -3
  163. package/esm2022/lib/core/fields/date.designer.mjs +3 -3
  164. package/esm2022/lib/core/fields/date.field.mjs +3 -3
  165. package/esm2022/lib/core/fields/expression.field.mjs +6 -6
  166. package/esm2022/lib/core/fields/file.designer.mjs +3 -3
  167. package/esm2022/lib/core/fields/file.field.mjs +3 -3
  168. package/esm2022/lib/core/fields/html.designer.mjs +3 -3
  169. package/esm2022/lib/core/fields/html.field.mjs +3 -3
  170. package/esm2022/lib/core/fields/input.designer.mjs +3 -3
  171. package/esm2022/lib/core/fields/input.field.mjs +3 -3
  172. package/esm2022/lib/core/fields/localized-string.field.mjs +6 -6
  173. package/esm2022/lib/core/fields/numeric.designer.mjs +3 -3
  174. package/esm2022/lib/core/fields/numeric.field.mjs +3 -3
  175. package/esm2022/lib/core/fields/options.base.mjs +6 -6
  176. package/esm2022/lib/core/fields/options.component.mjs +3 -3
  177. package/esm2022/lib/core/fields/radio-button.designer.mjs +3 -3
  178. package/esm2022/lib/core/fields/radio-button.field.mjs +3 -3
  179. package/esm2022/lib/core/fields/select.designer.mjs +3 -3
  180. package/esm2022/lib/core/fields/select.field.mjs +3 -3
  181. package/esm2022/lib/core/fields/signature.designer.mjs +3 -3
  182. package/esm2022/lib/core/fields/signature.field.mjs +3 -3
  183. package/esm2022/lib/core/fields/switch.field.mjs +3 -3
  184. package/esm2022/lib/core/fields/tags.designer.mjs +3 -3
  185. package/esm2022/lib/core/fields/tags.field.mjs +3 -3
  186. package/esm2022/lib/core/fields/textarea.designer.mjs +3 -3
  187. package/esm2022/lib/core/fields/textarea.field.mjs +3 -3
  188. package/esm2022/lib/core/fields/time.designer.mjs +3 -3
  189. package/esm2022/lib/core/fields/time.field.mjs +3 -3
  190. package/esm2022/lib/core/fields/timespan.field.mjs +6 -6
  191. package/esm2022/lib/core/fields/yesno.designer.mjs +13 -59
  192. package/esm2022/lib/core/fields/yesno.field.mjs +3 -3
  193. package/esm2022/lib/core/guide/guide.component.mjs +3 -3
  194. package/esm2022/lib/core/guide/guide.service.mjs +3 -3
  195. package/esm2022/lib/core/guide/help-tip.component.mjs +3 -3
  196. package/esm2022/lib/core/http.interceptor.mjs +3 -3
  197. package/esm2022/lib/core/hub.service.mjs +3 -3
  198. package/esm2022/lib/core/identity/identity.component.mjs +3 -3
  199. package/esm2022/lib/core/info/attachment-info.service.mjs +3 -3
  200. package/esm2022/lib/core/info/document-info.service.mjs +3 -3
  201. package/esm2022/lib/core/info/location-info.component.mjs +3 -3
  202. package/esm2022/lib/core/info/map-info.mjs +3 -3
  203. package/esm2022/lib/core/inputs/address.input.mjs +3 -3
  204. package/esm2022/lib/core/inputs/auto-complete.input.mjs +3 -3
  205. package/esm2022/lib/core/inputs/combination-picker-body.mjs +3 -3
  206. package/esm2022/lib/core/inputs/combination-picker.mjs +9 -4
  207. package/esm2022/lib/core/inputs/combination-pool.mjs +3 -3
  208. package/esm2022/lib/core/inputs/file.input.mjs +3 -3
  209. package/esm2022/lib/core/inputs/select.input.mjs +3 -3
  210. package/esm2022/lib/core/inputs/signature.input.mjs +3 -3
  211. package/esm2022/lib/core/inputs/time-picker.mjs +3 -3
  212. package/esm2022/lib/core/inputs/timespan.input.mjs +3 -3
  213. package/esm2022/lib/core/layout.component.mjs +3 -3
  214. package/esm2022/lib/core/lottie-animation.mjs +3 -3
  215. package/esm2022/lib/core/mailbox.service.mjs +3 -3
  216. package/esm2022/lib/core/none.component.mjs +3 -3
  217. package/esm2022/lib/core/pipes/action.pipe.mjs +3 -3
  218. package/esm2022/lib/core/pipes/calendar.pipe.mjs +3 -3
  219. package/esm2022/lib/core/pipes/date-format.pipe.mjs +3 -3
  220. package/esm2022/lib/core/pipes/daterange.pipe.mjs +6 -6
  221. package/esm2022/lib/core/pipes/difference.pipe.mjs +3 -3
  222. package/esm2022/lib/core/pipes/duration-format.pipe.mjs +3 -3
  223. package/esm2022/lib/core/pipes/duration.pipe.mjs +3 -3
  224. package/esm2022/lib/core/pipes/form.pipe.mjs +3 -3
  225. package/esm2022/lib/core/pipes/join.pipe.mjs +3 -3
  226. package/esm2022/lib/core/pipes/localized-string.pipe.mjs +3 -3
  227. package/esm2022/lib/core/pipes/role.pipe.mjs +3 -3
  228. package/esm2022/lib/core/pipes/sanitize-html.pipe.mjs +3 -3
  229. package/esm2022/lib/core/pipes/sort.pipe.mjs +9 -9
  230. package/esm2022/lib/core/pipes/state.pipe.mjs +3 -3
  231. package/esm2022/lib/core/pipes/time-ago.pipe.mjs +3 -3
  232. package/esm2022/lib/core/pipes/to-now.pipe.mjs +3 -3
  233. package/esm2022/lib/core/pipes/translate.pipe.mjs +9 -9
  234. package/esm2022/lib/core/pipes/type-value.pipe.mjs +3 -3
  235. package/esm2022/lib/core/pipes/user-name.pipe.mjs +3 -3
  236. package/esm2022/lib/core/popup/popup.component.mjs +3 -3
  237. package/esm2022/lib/core/popup/popup.service.mjs +3 -3
  238. package/esm2022/lib/core/popup/tooltip.directive.mjs +6 -6
  239. package/esm2022/lib/core/prompt/ask/ask.dialog.mjs +3 -3
  240. package/esm2022/lib/core/prompt/mask/mask.component.mjs +3 -3
  241. package/esm2022/lib/core/prompt.service.mjs +3 -3
  242. package/esm2022/lib/core/router.mjs +6 -6
  243. package/esm2022/lib/core/save-changes.dialog.mjs +3 -3
  244. package/esm2022/lib/core/session.service.mjs +3 -3
  245. package/esm2022/lib/core/slots/router.directive.mjs +3 -3
  246. package/esm2022/lib/core/slots/router.service.mjs +3 -3
  247. package/esm2022/lib/core/slots/slots.component.mjs +3 -3
  248. package/esm2022/lib/core/sticky-toolbar.exp.mjs +3 -3
  249. package/esm2022/lib/core/tagging/documents.component.mjs +3 -3
  250. package/esm2022/lib/core/tagging/edit-input.component.mjs +3 -3
  251. package/esm2022/lib/core/tagging/emoji.component.mjs +3 -3
  252. package/esm2022/lib/core/tagging/tagging-item.directive.mjs +3 -3
  253. package/esm2022/lib/core/tagging/tagging.component-base.mjs +3 -3
  254. package/esm2022/lib/core/tagging/tagging.directive.mjs +3 -3
  255. package/esm2022/lib/core/tagging/tagging.pipe.mjs +3 -3
  256. package/esm2022/lib/core/tagging/users.component.mjs +3 -3
  257. package/esm2022/lib/core/translate.service.mjs +3 -3
  258. package/esm2022/lib/core/virtual-tabs.component.exp.mjs +6 -6
  259. package/esm2022/lib/core/window-title.service.mjs +3 -3
  260. package/esm2022/lib/cube/accum/accum.component.mjs +3 -3
  261. package/esm2022/lib/cube/chart/chart.component.mjs +3 -3
  262. package/esm2022/lib/cube/cube-info.service.mjs +3 -3
  263. package/esm2022/lib/cube/cube-menu.component.mjs +3 -3
  264. package/esm2022/lib/cube/cube-view.component.mjs +3 -3
  265. package/esm2022/lib/cube/cube.service.mjs +3 -3
  266. package/esm2022/lib/cube/explore/document-item.component.mjs +3 -3
  267. package/esm2022/lib/cube/explore/explore-item.component.mjs +3 -3
  268. package/esm2022/lib/cube/explore/explore-items.component.mjs +3 -3
  269. package/esm2022/lib/cube/explore/explore.pane.component.mjs +3 -3
  270. package/esm2022/lib/cube/explore/item-resolver.service.mjs +6 -6
  271. package/esm2022/lib/cube/explore/item.pane.component.mjs +3 -3
  272. package/esm2022/lib/cube/filter/filter-tags.component.exp.mjs +3 -3
  273. package/esm2022/lib/cube/filter/filter.component.mjs +3 -3
  274. package/esm2022/lib/cube/grid/grid.component.mjs +3 -3
  275. package/esm2022/lib/cube/matrix/matrix.base.mjs +3 -3
  276. package/esm2022/lib/cube/matrix/matrix.mobile.component.mjs +3 -3
  277. package/esm2022/lib/cube/matrix/matrix.pane.component.mjs +3 -3
  278. package/esm2022/lib/cube/matrix/popup.component.mjs +3 -3
  279. package/esm2022/lib/cube/matrix/table.component.mjs +3 -3
  280. package/esm2022/lib/cube/parallel/parallel.component.mjs +3 -3
  281. package/esm2022/lib/cube/pivot/pivot.component.mjs +3 -3
  282. package/esm2022/lib/cube/spreadsheet/spreadsheet.component.mjs +3 -3
  283. package/esm2022/lib/cube/spreadsheet/spreadsheet.container.exp.mjs +3 -3
  284. package/esm2022/lib/cube/sum/sum.component.mjs +3 -3
  285. package/esm2022/lib/cube/view-base.mjs +3 -3
  286. package/esm2022/lib/cube/view.mobile.component.mjs +3 -3
  287. package/esm2022/lib/cube/view.pane.component.mjs +3 -3
  288. package/esm2022/lib/dashboard/actions/actions.widget.mjs +3 -3
  289. package/esm2022/lib/dashboard/cube/accum-cube.widget.mjs +3 -3
  290. package/esm2022/lib/dashboard/cube/compare.widget.mjs +3 -3
  291. package/esm2022/lib/dashboard/cube/cube-analysis.base.mjs +3 -3
  292. package/esm2022/lib/dashboard/cube/cube-analysis.widget.mjs +3 -3
  293. package/esm2022/lib/dashboard/cube/cube-chart.widget.mjs +3 -3
  294. package/esm2022/lib/dashboard/cube/document-state.widget.mjs +3 -3
  295. package/esm2022/lib/dashboard/cube/documents.widget.mjs +3 -3
  296. package/esm2022/lib/dashboard/cube/filter/filter.component.mjs +3 -3
  297. package/esm2022/lib/dashboard/dashboard.component.mjs +3 -3
  298. package/esm2022/lib/dashboard/dashboard.pane.component.mjs +3 -3
  299. package/esm2022/lib/dashboard/recents/recents.widget.mjs +3 -3
  300. package/esm2022/lib/dashboard/score/activity.widget.mjs +3 -3
  301. package/esm2022/lib/dashboard/score/compare-groups.widget.mjs +3 -3
  302. package/esm2022/lib/dashboard/score/peers-performance.widget.mjs +3 -3
  303. package/esm2022/lib/dashboard/score/pending-results.widget.mjs +3 -3
  304. package/esm2022/lib/dashboard/score/personal-score.widget.mjs +3 -3
  305. package/esm2022/lib/dashboard/widget-item.component.mjs +3 -3
  306. package/esm2022/lib/designer.module.mjs +9 -8
  307. package/esm2022/lib/desktop.module.mjs +4 -4
  308. package/esm2022/lib/home/about/about.dialog.mjs +3 -3
  309. package/esm2022/lib/home/home-base.component.mjs +3 -3
  310. package/esm2022/lib/home/home.desktop.component.mjs +3 -3
  311. package/esm2022/lib/home/home.mobile.component.mjs +3 -3
  312. package/esm2022/lib/home/notifications/notifications.component.mjs +3 -3
  313. package/esm2022/lib/home/options/options.component.mjs +3 -3
  314. package/esm2022/lib/home/outofoffice/outofoffice.component.mjs +3 -3
  315. package/esm2022/lib/home/sign/sign.component.mjs +3 -3
  316. package/esm2022/lib/impersonate/impersonate.component.mjs +3 -3
  317. package/esm2022/lib/mobile.module.mjs +4 -4
  318. package/esm2022/lib/modules/chart.module.mjs +4 -4
  319. package/esm2022/lib/modules/circular-gauge.module.mjs +4 -4
  320. package/esm2022/lib/modules/datepicker.intl.mjs +3 -3
  321. package/esm2022/lib/modules/dayjs.module.mjs +4 -4
  322. package/esm2022/lib/modules/diagram.module.mjs +4 -4
  323. package/esm2022/lib/modules/gantt.module.mjs +4 -4
  324. package/esm2022/lib/modules/grid.module.mjs +4 -4
  325. package/esm2022/lib/modules/linear-gauge.module.mjs +4 -4
  326. package/esm2022/lib/modules/material.module.mjs +4 -4
  327. package/esm2022/lib/modules/paginator.intl.mjs +3 -3
  328. package/esm2022/lib/modules/pivot.module.mjs +4 -4
  329. package/esm2022/lib/modules/schedule.module.mjs +4 -4
  330. package/esm2022/lib/modules/spreadsheet.module.mjs +4 -4
  331. package/esm2022/lib/modules/stepper.intl.mjs +3 -3
  332. package/esm2022/lib/modules/texteditor.module.mjs +4 -4
  333. package/esm2022/lib/notifications/filter.component.mjs +3 -3
  334. package/esm2022/lib/notifications/notifications-table.component.mjs +3 -3
  335. package/esm2022/lib/notifications/notifications.mobile.component.mjs +3 -3
  336. package/esm2022/lib/notifications/notifications.pane.component.mjs +3 -3
  337. package/esm2022/lib/notifications/notifications.service.mjs +3 -3
  338. package/esm2022/lib/notifications/types/commented.notification.mjs +3 -3
  339. package/esm2022/lib/notifications/types/cube-anomaly.notification.mjs +3 -3
  340. package/esm2022/lib/notifications/types/escalated.notification.mjs +3 -3
  341. package/esm2022/lib/notifications/types/invite.notification.mjs +3 -3
  342. package/esm2022/lib/notifications/types/liked.notification.mjs +3 -3
  343. package/esm2022/lib/notifications/types/long-running-task.notification.mjs +3 -3
  344. package/esm2022/lib/notifications/types/notification-base.mjs +3 -3
  345. package/esm2022/lib/notifications/types/nudge.notification.mjs +3 -3
  346. package/esm2022/lib/notifications/types/state-changed.notification.mjs +3 -3
  347. package/esm2022/lib/notifications/types/tagged.notification.mjs +3 -3
  348. package/esm2022/lib/notifications/types/text.notification.mjs +3 -3
  349. package/esm2022/lib/notifications/types/upcoming-event.notification.mjs +3 -3
  350. package/esm2022/lib/options/options.component.mjs +3 -3
  351. package/esm2022/lib/options/options.service.mjs +3 -3
  352. package/esm2022/lib/reports/arguments-component.mjs +3 -3
  353. package/esm2022/lib/reports/cube/documents.component.mjs +3 -3
  354. package/esm2022/lib/reports/cube/grid-documents.component.mjs +3 -3
  355. package/esm2022/lib/reports/cube/performance-hilo.component.mjs +3 -3
  356. package/esm2022/lib/reports/cube/performance-wind.component.mjs +3 -3
  357. package/esm2022/lib/reports/cube/table-documents.component.mjs +3 -3
  358. package/esm2022/lib/reports/cube/usage-args.component.mjs +3 -3
  359. package/esm2022/lib/reports/cube/usage-base.mjs +3 -3
  360. package/esm2022/lib/reports/cube/usage-chart.component.mjs +3 -3
  361. package/esm2022/lib/reports/cube/usage-pivot.component.mjs +3 -3
  362. package/esm2022/lib/reports/cube/usage.component.mjs +3 -3
  363. package/esm2022/lib/reports/report-viewer.component.mjs +3 -3
  364. package/esm2022/lib/reports/report.mobile.component.mjs +3 -3
  365. package/esm2022/lib/reports/report.pane.component.mjs +3 -3
  366. package/esm2022/lib/reports/reports-menu.component.mjs +3 -3
  367. package/esm2022/lib/reports/substitution/substitution.component.mjs +3 -3
  368. package/esm2022/lib/reports/table/table-view.component.mjs +3 -3
  369. package/esm2022/lib/reports/tasks/tasks.component.mjs +3 -3
  370. package/esm2022/lib/scheduler/schedule.component.mjs +3 -3
  371. package/esm2022/lib/scheduler/scheduler.mobile.component.mjs +3 -3
  372. package/esm2022/lib/scheduler/scheduler.pane.component.mjs +3 -3
  373. package/esm2022/lib/search/cube.component.mjs +3 -3
  374. package/esm2022/lib/search/document.component.mjs +3 -3
  375. package/esm2022/lib/search/guide.component.mjs +3 -3
  376. package/esm2022/lib/search/path.component.mjs +3 -3
  377. package/esm2022/lib/search/search.service.mjs +3 -3
  378. package/esm2022/lib/shared.module.mjs +10 -9
  379. package/esm2022/lib/system.module.mjs +4 -4
  380. package/esm2022/lib/views/cube/chart.component.mjs +3 -3
  381. package/esm2022/lib/views/cube/cube-base.mjs +3 -3
  382. package/esm2022/lib/views/cube/explore.component.mjs +3 -3
  383. package/esm2022/lib/views/cube/matrix.component.mjs +3 -3
  384. package/esm2022/lib/views/cube/parallel.component.mjs +3 -3
  385. package/esm2022/lib/views/cube/pivot.component.mjs +3 -3
  386. package/esm2022/lib/views/cube/sum.component.mjs +3 -3
  387. package/esm2022/lib/views/cube/view.component.mjs +3 -3
  388. package/esm2022/lib/views/timeline/timeline.component.mjs +3 -3
  389. package/esm2022/lib/views/view-item.component.mjs +3 -3
  390. package/esm2022/lib/views/views.component.mjs +3 -3
  391. package/esm2022/lib/views/views.mobile.component.mjs +3 -3
  392. package/esm2022/lib/views/views.pane.component.mjs +3 -3
  393. package/fesm2022/bizdoc-core.mjs +1328 -1295
  394. package/fesm2022/bizdoc-core.mjs.map +1 -1
  395. package/lib/admin/system.service.d.ts +4 -0
  396. package/lib/core/fields/axes-picker.designer.d.ts +24 -0
  397. package/lib/core/fields/axes-picker.field.d.ts +18 -0
  398. package/lib/core/fields/yesno.designer.d.ts +2 -4
  399. package/lib/core/inputs/combination-picker.d.ts +3 -0
  400. package/lib/designer.module.d.ts +19 -18
  401. package/lib/shared.module.d.ts +135 -134
  402. package/package.json +1 -1
@@ -35,8 +35,8 @@ let ReturnActionComponent = class ReturnActionComponent {
35
35
  this.form.updateValueAndValidity();
36
36
  }
37
37
  }
38
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ReturnActionComponent, deps: [{ token: i1.FormBuilder }, { token: i2.ActionRef }, { token: i3.SessionService }], target: i0.ɵɵFactoryTarget.Component }); }
39
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0", type: ReturnActionComponent, selector: "ng-component", ngImport: i0, template: "<form autocomplete=\"off\" class=\"column\" [formGroup]=\"form\">\n <mat-form-field>\n <mat-select formControlName=\"recipientId\" cdkFocusInitial [placeholder]=\"'User'|translate\" required>\n @for (r of recipients; track r) {\n <mat-option [value]=\"r.id\">{{r.userId | userName | async }}</mat-option>\n }\n </mat-select>\n @if (form.controls.recipientId.hasError('required')) {\n <mat-error>{{'RequiredErr'|translate:('User'|translate)}}</mat-error>\n }\n </mat-form-field>\n <mat-form-field>\n <textarea matInput cdkTextareaAutosize formControlName=\"note\" [placeholder]=\"'Note'|translate\" maxlength=\"200\">\n </textarea>\n <mat-hint align=\"end\">{{form.controls.note.value?.length || 0}} / {{200}}</mat-hint>\n </mat-form-field>\n</form>\n", dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i6.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "directive", type: i7.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i8.CdkTextareaAutosize, selector: "textarea[cdkTextareaAutosize]", inputs: ["cdkAutosizeMinRows", "cdkAutosizeMaxRows", "cdkTextareaAutosize", "placeholder"], exportAs: ["cdkTextareaAutosize"] }, { kind: "pipe", type: i9.AsyncPipe, name: "async" }, { kind: "pipe", type: i10.TranslatePipe, name: "translate" }, { kind: "pipe", type: i11.UserNamePipe, name: "userName" }] }); }
38
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ReturnActionComponent, deps: [{ token: i1.FormBuilder }, { token: i2.ActionRef }, { token: i3.SessionService }], target: i0.ɵɵFactoryTarget.Component }); }
39
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.1", type: ReturnActionComponent, selector: "ng-component", ngImport: i0, template: "<form autocomplete=\"off\" class=\"column\" [formGroup]=\"form\">\n <mat-form-field>\n <mat-select formControlName=\"recipientId\" cdkFocusInitial [placeholder]=\"'User'|translate\" required>\n @for (r of recipients; track r) {\n <mat-option [value]=\"r.id\">{{r.userId | userName | async }}</mat-option>\n }\n </mat-select>\n @if (form.controls.recipientId.hasError('required')) {\n <mat-error>{{'RequiredErr'|translate:('User'|translate)}}</mat-error>\n }\n </mat-form-field>\n <mat-form-field>\n <textarea matInput cdkTextareaAutosize formControlName=\"note\" [placeholder]=\"'Note'|translate\" maxlength=\"200\">\n </textarea>\n <mat-hint align=\"end\">{{form.controls.note.value?.length || 0}} / {{200}}</mat-hint>\n </mat-form-field>\n</form>\n", dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i6.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "directive", type: i7.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i8.CdkTextareaAutosize, selector: "textarea[cdkTextareaAutosize]", inputs: ["cdkAutosizeMinRows", "cdkAutosizeMaxRows", "cdkTextareaAutosize", "placeholder"], exportAs: ["cdkTextareaAutosize"] }, { kind: "pipe", type: i9.AsyncPipe, name: "async" }, { kind: "pipe", type: i10.TranslatePipe, name: "translate" }, { kind: "pipe", type: i11.UserNamePipe, name: "userName" }] }); }
40
40
  };
41
41
  ReturnActionComponent = __decorate([
42
42
  BizDoc({
@@ -44,7 +44,7 @@ ReturnActionComponent = __decorate([
44
44
  })
45
45
  ], ReturnActionComponent);
46
46
  export { ReturnActionComponent };
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ReturnActionComponent, decorators: [{
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ReturnActionComponent, decorators: [{
48
48
  type: Component,
49
49
  args: [{ template: "<form autocomplete=\"off\" class=\"column\" [formGroup]=\"form\">\n <mat-form-field>\n <mat-select formControlName=\"recipientId\" cdkFocusInitial [placeholder]=\"'User'|translate\" required>\n @for (r of recipients; track r) {\n <mat-option [value]=\"r.id\">{{r.userId | userName | async }}</mat-option>\n }\n </mat-select>\n @if (form.controls.recipientId.hasError('required')) {\n <mat-error>{{'RequiredErr'|translate:('User'|translate)}}</mat-error>\n }\n </mat-form-field>\n <mat-form-field>\n <textarea matInput cdkTextareaAutosize formControlName=\"note\" [placeholder]=\"'Note'|translate\" maxlength=\"200\">\n </textarea>\n <mat-hint align=\"end\">{{form.controls.note.value?.length || 0}} / {{200}}</mat-hint>\n </mat-form-field>\n</form>\n" }]
50
50
  }], ctorParameters: () => [{ type: i1.FormBuilder }, { type: i2.ActionRef }, { type: i3.SessionService }] });
@@ -114,10 +114,10 @@ export class AttachmentsComponent {
114
114
  else
115
115
  this._sb.ask('DeleteFileAsk', 'DeleteFile', { color: 'warn' }).subscribe(ok => ok && task());
116
116
  }
117
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: AttachmentsComponent, deps: [{ token: i1.MailboxService }, { token: i2.SessionService }, { token: i0.ViewContainerRef }, { token: i3.PromptService }, { token: i4.Overlay }, { token: i0.Injector }, { token: i5.Directionality }], target: i0.ɵɵFactoryTarget.Component }); }
118
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0", type: AttachmentsComponent, selector: "bizdoc-attachments", inputs: { model: "model", viewedIndicator: "viewedIndicator", includeDeleted: "includeDeleted" }, usesOnChanges: true, ngImport: i0, template: "@for (a of attachments; track a) {\n <div>\n <button mat-button class=\"attachment-link\" [matMenuTriggerFor]=\"attachment\" [bizdocTooltip]=\"a.time | amCalendar\"\n [progressIndicator]=\"a.progress\">\n @if (viewedIndicator && a.viewed) {\n <mat-icon>done_all</mat-icon>\n }\n <!--[bizdocTooltip]=\"a.viewed | amCalendar\"-->\n <mat-icon>attachment</mat-icon>&nbsp;\n <span [class.deleted]=\"a.deleted\" [class.failed]=\"a.failed\">{{a.fileName}}</span>\n </button>\n <mat-menu #attachment>\n @if (!a.failed) {\n <button mat-menu-item (click)=\"download(a)\">{{\"Download\" | translate}}</button>\n @if (canPreview(a)) {\n <button mat-menu-item (click)=\"preview(a)\"><mat-icon>landscape</mat-icon> {{\"Preview\" | translate}}</button>\n }\n @if (hasVersion(a)) {\n <mat-divider></mat-divider>\n @for (v of getVersions(a); track v) {\n <button mat-menu-item (click)=\"previewOrDownload(v)\">{{v.time | amCalendar}}</button>\n }\n }\n @if (canDelete(a)) {\n <mat-divider></mat-divider>\n <button mat-menu-item (click)=\"discard(a)\">{{\"Discard\" | translate}}</button>\n }\n }\n @if (a.failed) {\n <button mat-menu-item (click)=\"cancel(a)\">{{\"Cancel\" | translate}}</button>\n }\n </mat-menu>\n </div>\n}\n", styles: [":host{display:flex;flex-flow:wrap;position:relative;z-index:0}.attachment-link.failed{color:red}.attachment-link .deleted{text-decoration:line-through}::ng-deep button .progress{background-color:#696969;position:absolute;height:100%}\n"], dependencies: [{ kind: "component", type: i6.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i8.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i9.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i9.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i9.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i10.ProgressDirective, selector: "[progressIndicator]", inputs: ["progressIndicator"] }, { kind: "directive", type: i11.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i12.CalendarPipe, name: "amCalendar" }, { kind: "pipe", type: i13.TranslatePipe, name: "translate" }] }); }
117
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: AttachmentsComponent, deps: [{ token: i1.MailboxService }, { token: i2.SessionService }, { token: i0.ViewContainerRef }, { token: i3.PromptService }, { token: i4.Overlay }, { token: i0.Injector }, { token: i5.Directionality }], target: i0.ɵɵFactoryTarget.Component }); }
118
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.1", type: AttachmentsComponent, selector: "bizdoc-attachments", inputs: { model: "model", viewedIndicator: "viewedIndicator", includeDeleted: "includeDeleted" }, usesOnChanges: true, ngImport: i0, template: "@for (a of attachments; track a) {\n <div>\n <button mat-button class=\"attachment-link\" [matMenuTriggerFor]=\"attachment\" [bizdocTooltip]=\"a.time | amCalendar\"\n [progressIndicator]=\"a.progress\">\n @if (viewedIndicator && a.viewed) {\n <mat-icon>done_all</mat-icon>\n }\n <!--[bizdocTooltip]=\"a.viewed | amCalendar\"-->\n <mat-icon>attachment</mat-icon>&nbsp;\n <span [class.deleted]=\"a.deleted\" [class.failed]=\"a.failed\">{{a.fileName}}</span>\n </button>\n <mat-menu #attachment>\n @if (!a.failed) {\n <button mat-menu-item (click)=\"download(a)\">{{\"Download\" | translate}}</button>\n @if (canPreview(a)) {\n <button mat-menu-item (click)=\"preview(a)\"><mat-icon>landscape</mat-icon> {{\"Preview\" | translate}}</button>\n }\n @if (hasVersion(a)) {\n <mat-divider></mat-divider>\n @for (v of getVersions(a); track v) {\n <button mat-menu-item (click)=\"previewOrDownload(v)\">{{v.time | amCalendar}}</button>\n }\n }\n @if (canDelete(a)) {\n <mat-divider></mat-divider>\n <button mat-menu-item (click)=\"discard(a)\">{{\"Discard\" | translate}}</button>\n }\n }\n @if (a.failed) {\n <button mat-menu-item (click)=\"cancel(a)\">{{\"Cancel\" | translate}}</button>\n }\n </mat-menu>\n </div>\n}\n", styles: [":host{display:flex;flex-flow:wrap;position:relative;z-index:0}.attachment-link.failed{color:red}.attachment-link .deleted{text-decoration:line-through}::ng-deep button .progress{background-color:#696969;position:absolute;height:100%}\n"], dependencies: [{ kind: "component", type: i6.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i8.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i9.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i9.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i9.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i10.ProgressDirective, selector: "[progressIndicator]", inputs: ["progressIndicator"] }, { kind: "directive", type: i11.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i12.CalendarPipe, name: "amCalendar" }, { kind: "pipe", type: i13.TranslatePipe, name: "translate" }] }); }
119
119
  }
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: AttachmentsComponent, decorators: [{
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: AttachmentsComponent, decorators: [{
121
121
  type: Component,
122
122
  args: [{ selector: 'bizdoc-attachments', template: "@for (a of attachments; track a) {\n <div>\n <button mat-button class=\"attachment-link\" [matMenuTriggerFor]=\"attachment\" [bizdocTooltip]=\"a.time | amCalendar\"\n [progressIndicator]=\"a.progress\">\n @if (viewedIndicator && a.viewed) {\n <mat-icon>done_all</mat-icon>\n }\n <!--[bizdocTooltip]=\"a.viewed | amCalendar\"-->\n <mat-icon>attachment</mat-icon>&nbsp;\n <span [class.deleted]=\"a.deleted\" [class.failed]=\"a.failed\">{{a.fileName}}</span>\n </button>\n <mat-menu #attachment>\n @if (!a.failed) {\n <button mat-menu-item (click)=\"download(a)\">{{\"Download\" | translate}}</button>\n @if (canPreview(a)) {\n <button mat-menu-item (click)=\"preview(a)\"><mat-icon>landscape</mat-icon> {{\"Preview\" | translate}}</button>\n }\n @if (hasVersion(a)) {\n <mat-divider></mat-divider>\n @for (v of getVersions(a); track v) {\n <button mat-menu-item (click)=\"previewOrDownload(v)\">{{v.time | amCalendar}}</button>\n }\n }\n @if (canDelete(a)) {\n <mat-divider></mat-divider>\n <button mat-menu-item (click)=\"discard(a)\">{{\"Discard\" | translate}}</button>\n }\n }\n @if (a.failed) {\n <button mat-menu-item (click)=\"cancel(a)\">{{\"Cancel\" | translate}}</button>\n }\n </mat-menu>\n </div>\n}\n", styles: [":host{display:flex;flex-flow:wrap;position:relative;z-index:0}.attachment-link.failed{color:red}.attachment-link .deleted{text-decoration:line-through}::ng-deep button .progress{background-color:#696969;position:absolute;height:100%}\n"] }]
123
123
  }], ctorParameters: () => [{ type: i1.MailboxService }, { type: i2.SessionService }, { type: i0.ViewContainerRef }, { type: i3.PromptService }, { type: i4.Overlay }, { type: i0.Injector }, { type: i5.Directionality }], propDecorators: { model: [{
@@ -96,8 +96,8 @@ export class AttachmentPreview {
96
96
  startExitAnimation() {
97
97
  this.animationState = 'leave';
98
98
  }
99
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: AttachmentPreview, deps: [{ token: i1.Directionality }, { token: i0.Renderer2 }, { token: FILE_PREVIEW_DIALOG_DATA }, { token: i2.DomSanitizer }, { token: i3.MailboxService }, { token: i4.OverlayRef }], target: i0.ɵɵFactoryTarget.Component }); }
100
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0", type: AttachmentPreview, selector: "bizdoc-attachment-preview", host: { listeners: { "document:resize": "resize()", "document:keydown.escape": "close()" } }, viewQueries: [{ propertyName: "obj", first: true, predicate: ["obj"], descendants: true }, { propertyName: "img", first: true, predicate: ["img"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"overlay-content\" [@slideContent]=\"animationState\" (@slideContent.start)=\"onAnimationStart($event)\"\n [dir]=\"dir\" (@slideContent.done)=\"onAnimationDone($event)\">\n @if (!loading) {\n <div class=\"toolbar-wrapper row\" [@slideDown]=\"slideDown\">\n <button mat-icon-button (click)=\"close()\" bizdocTooltip=\"{{'Back' | translate}}\"><mat-icon class=\"mat-icon-rtl-mirror\">keyboard_arrow_left</mat-icon></button>\n <span class=\"mat-body-1\">{{data.file.fileName}}</span>\n <span class=\"divider\"></span>\n <button mat-icon-button (click)=\"rotate()\" bizdocTooltip=\"{{'Rotate' | translate }}\"><mat-icon>screen_rotation</mat-icon></button>\n <button mat-icon-button (click)=\"download()\" bizdocTooltip=\"{{'Download' | translate}}\"><mat-icon>save_alt</mat-icon></button>\n </div>\n }\n @if (loading) {\n <div class=\"spinner-wrapper\">\n <mat-spinner></mat-spinner>\n </div>\n }\n @if (!isImage) {\n <object (load)=\"onLoad($event)\" [data]=\"objectData\" [type]=\"data.file.contentType\" #obj width=\"250\"\n height=\"200\">\n </object>\n }\n @if (isImage) {\n <img (load)=\"onLoad($event)\" [style.opacity]=\"loading ? 0 : 1\" [@fade]=\"loading ? 'fadeOut' : 'fadeIn'\" [src]=\"objectData\" #img>\n }\n</div>\n", styles: [":host{display:flex;flex-direction:column;align-items:center}.spinner-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:-1}img{width:100%;max-width:500px;height:auto}.overlay-content{padding:1em}.overlay-content .toolbar-wrapper{align-items:center;color:#f5f5f5}.divider{flex:1 1 auto}\n"], dependencies: [{ kind: "directive", type: i1.Dir, selector: "[dir]", inputs: ["dir"], outputs: ["dirChange"], exportAs: ["dir"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: i6.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i8.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }], animations: [
99
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: AttachmentPreview, deps: [{ token: i1.Directionality }, { token: i0.Renderer2 }, { token: FILE_PREVIEW_DIALOG_DATA }, { token: i2.DomSanitizer }, { token: i3.MailboxService }, { token: i4.OverlayRef }], target: i0.ɵɵFactoryTarget.Component }); }
100
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.1", type: AttachmentPreview, selector: "bizdoc-attachment-preview", host: { listeners: { "document:resize": "resize()", "document:keydown.escape": "close()" } }, viewQueries: [{ propertyName: "obj", first: true, predicate: ["obj"], descendants: true }, { propertyName: "img", first: true, predicate: ["img"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"overlay-content\" [@slideContent]=\"animationState\" (@slideContent.start)=\"onAnimationStart($event)\"\n [dir]=\"dir\" (@slideContent.done)=\"onAnimationDone($event)\">\n @if (!loading) {\n <div class=\"toolbar-wrapper row\" [@slideDown]=\"slideDown\">\n <button mat-icon-button (click)=\"close()\" bizdocTooltip=\"{{'Back' | translate}}\"><mat-icon class=\"mat-icon-rtl-mirror\">keyboard_arrow_left</mat-icon></button>\n <span class=\"mat-body-1\">{{data.file.fileName}}</span>\n <span class=\"divider\"></span>\n <button mat-icon-button (click)=\"rotate()\" bizdocTooltip=\"{{'Rotate' | translate }}\"><mat-icon>screen_rotation</mat-icon></button>\n <button mat-icon-button (click)=\"download()\" bizdocTooltip=\"{{'Download' | translate}}\"><mat-icon>save_alt</mat-icon></button>\n </div>\n }\n @if (loading) {\n <div class=\"spinner-wrapper\">\n <mat-spinner></mat-spinner>\n </div>\n }\n @if (!isImage) {\n <object (load)=\"onLoad($event)\" [data]=\"objectData\" [type]=\"data.file.contentType\" #obj width=\"250\"\n height=\"200\">\n </object>\n }\n @if (isImage) {\n <img (load)=\"onLoad($event)\" [style.opacity]=\"loading ? 0 : 1\" [@fade]=\"loading ? 'fadeOut' : 'fadeIn'\" [src]=\"objectData\" #img>\n }\n</div>\n", styles: [":host{display:flex;flex-direction:column;align-items:center}.spinner-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:-1}img{width:100%;max-width:500px;height:auto}.overlay-content{padding:1em}.overlay-content .toolbar-wrapper{align-items:center;color:#f5f5f5}.divider{flex:1 1 auto}\n"], dependencies: [{ kind: "directive", type: i1.Dir, selector: "[dir]", inputs: ["dir"], outputs: ["dirChange"], exportAs: ["dir"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: i6.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i8.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }], animations: [
101
101
  trigger('fade', [
102
102
  state('fadeOut', style({ opacity: 0 })),
103
103
  state('fadeIn', style({ opacity: 1 })),
@@ -117,7 +117,7 @@ export class AttachmentPreview {
117
117
  ])
118
118
  ] }); }
119
119
  }
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: AttachmentPreview, decorators: [{
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: AttachmentPreview, decorators: [{
121
121
  type: Component,
122
122
  args: [{ selector: 'bizdoc-attachment-preview', animations: [
123
123
  trigger('fade', [
@@ -13,10 +13,10 @@ export class ProgressDirective {
13
13
  ngOnChanges(_changes) {
14
14
  this.renderer.setStyle(this._progressDiv, 'width', `${this.progressIndicator}%`);
15
15
  }
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ProgressDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
17
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0", type: ProgressDirective, selector: "[progressIndicator]", inputs: { progressIndicator: "progressIndicator" }, usesOnChanges: true, ngImport: i0 }); }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ProgressDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
17
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: ProgressDirective, selector: "[progressIndicator]", inputs: { progressIndicator: "progressIndicator" }, usesOnChanges: true, ngImport: i0 }); }
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ProgressDirective, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ProgressDirective, decorators: [{
20
20
  type: Directive,
21
21
  args: [{ selector: '[progressIndicator]' }]
22
22
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { progressIndicator: [{
@@ -30,14 +30,14 @@ let BoxFormComponent = class BoxFormComponent {
30
30
  data[field.name] !== undefined && instance.control.setValue(data[field.name], { emitEvent: false });
31
31
  group.addControl(field.name, instance.control);
32
32
  }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: BoxFormComponent, deps: [{ token: i1.FormBuilder }, { token: i2.FormRef }], target: i0.ɵɵFactoryTarget.Component }); }
34
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0", type: BoxFormComponent, selector: "ng-component", ngImport: i0, template: "@if (mode !== 'compose') {\n <form>\n @for (s of metadata.sections; track s) {\n <section>\n <h2 class=\"mat-h2\">{{s.title|localizedString}}</h2>\n @switch (s.multiLine) {\n @case (true) {\n @for (r of s.rows; track r) {\n <div class=\"row\">\n @for (f of r.fields; track f) {\n }\n </div>\n }\n }\n @default {\n @for (r of s.rows; track r) {\n <div class=\"row\">\n @for (f of r.fields; track f) {\n <bizdoc-box-control [metadata]=\"f\"\n [mode]=\"mode\"\n [model]=\"data.model[s.name]\"\n [attr.data-field]=\"f.name\"\n [form]=\"form.get(s.name)\"></bizdoc-box-control>\n }\n </div>\n }\n }\n }\n </section>\n }\n </form>\n} @else {\n @if (guide) {\n <bizdoc-help-tip [name]=\"guide\"></bizdoc-help-tip>\n }\n <form [formGroup]=\"form\" autocomplete=\"off\">\n @for (s of metadata.sections; track s) {\n <section [attr.data-section]=\"s.name\">\n <h2 class=\"mat-h2\">{{s.title|localizedString}}</h2>\n @if (s.note) {\n <p class=\"mat-body-1\">{{s.note|localizedString}}</p>\n }\n <hr />\n @switch (s.multiLine) {\n @case (true) {\n <ng-container [formArrayName]=\"s.name\">\n <table class=\"mat-mdc-table\">\n @for (r of s.rows; track r) {\n <thead class=\"\">\n <tr class=\"mat-mdc-row\">\n @for (f of r.fields; track f) {\n <th class=\"mat-mdc-cell\">\n </th>\n }\n </tr>\n </thead>\n }\n @for (r of s.rows; track r) {\n <tbody class=\"\">\n <tr class=\"mat-mdc-row\">\n @for (f of r.fields; track f) {\n <td class=\"mat-mdc-cell\">\n </td>\n }\n <td>\n <button mat-icon-button></button>\n </td>\n </tr>\n </tbody>\n }\n </table>\n </ng-container>\n }\n @default {\n <ng-container [formGroupName]=\"s.name\">\n @for (r of s.rows; track r) {\n <div class=\"row box-row\">\n @for (f of r.fields; track f) {\n <bizdoc-box-control [metadata]=\"f\"\n [mode]=\"mode\"\n [model]=\"data.model[s.name]\"\n [attr.data-field]=\"f.name\"\n [form]=\"form.get(s.name)\"></bizdoc-box-control>\n }\n </div>\n }\n </ng-container>\n }\n }\n </section>\n }\n </form>\n}\n", styles: ["form{padding:8px}section{display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}section .box-row{padding:4px}::ng-deep field{display:flex}\n"], dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: i1.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i4.HelpTipComponent, selector: "bizdoc-help-tip", inputs: ["name"] }, { kind: "component", type: i5.BoxFormControlComponent, selector: "bizdoc-box-control", inputs: ["form", "mode", "model", "metadata"] }, { kind: "pipe", type: i6.LocalizedStringPipe, name: "localizedString" }] }); }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BoxFormComponent, deps: [{ token: i1.FormBuilder }, { token: i2.FormRef }], target: i0.ɵɵFactoryTarget.Component }); }
34
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.1", type: BoxFormComponent, selector: "ng-component", ngImport: i0, template: "@if (mode !== 'compose') {\n <form>\n @for (s of metadata.sections; track s) {\n <section>\n <h2 class=\"mat-h2\">{{s.title|localizedString}}</h2>\n @switch (s.multiLine) {\n @case (true) {\n @for (r of s.rows; track r) {\n <div class=\"row\">\n @for (f of r.fields; track f) {\n }\n </div>\n }\n }\n @default {\n @for (r of s.rows; track r) {\n <div class=\"row\">\n @for (f of r.fields; track f) {\n <bizdoc-box-control [metadata]=\"f\"\n [mode]=\"mode\"\n [model]=\"data.model[s.name]\"\n [attr.data-field]=\"f.name\"\n [form]=\"form.get(s.name)\"></bizdoc-box-control>\n }\n </div>\n }\n }\n }\n </section>\n }\n </form>\n} @else {\n @if (guide) {\n <bizdoc-help-tip [name]=\"guide\"></bizdoc-help-tip>\n }\n <form [formGroup]=\"form\" autocomplete=\"off\">\n @for (s of metadata.sections; track s) {\n <section [attr.data-section]=\"s.name\">\n <h2 class=\"mat-h2\">{{s.title|localizedString}}</h2>\n @if (s.note) {\n <p class=\"mat-body-1\">{{s.note|localizedString}}</p>\n }\n <hr />\n @switch (s.multiLine) {\n @case (true) {\n <ng-container [formArrayName]=\"s.name\">\n <table class=\"mat-mdc-table\">\n @for (r of s.rows; track r) {\n <thead class=\"\">\n <tr class=\"mat-mdc-row\">\n @for (f of r.fields; track f) {\n <th class=\"mat-mdc-cell\">\n </th>\n }\n </tr>\n </thead>\n }\n @for (r of s.rows; track r) {\n <tbody class=\"\">\n <tr class=\"mat-mdc-row\">\n @for (f of r.fields; track f) {\n <td class=\"mat-mdc-cell\">\n </td>\n }\n <td>\n <button mat-icon-button></button>\n </td>\n </tr>\n </tbody>\n }\n </table>\n </ng-container>\n }\n @default {\n <ng-container [formGroupName]=\"s.name\">\n @for (r of s.rows; track r) {\n <div class=\"row box-row\">\n @for (f of r.fields; track f) {\n <bizdoc-box-control [metadata]=\"f\"\n [mode]=\"mode\"\n [model]=\"data.model[s.name]\"\n [attr.data-field]=\"f.name\"\n [form]=\"form.get(s.name)\"></bizdoc-box-control>\n }\n </div>\n }\n </ng-container>\n }\n }\n </section>\n }\n </form>\n}\n", styles: ["form{padding:8px}section{display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}section .box-row{padding:4px}::ng-deep field{display:flex}\n"], dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: i1.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i4.HelpTipComponent, selector: "bizdoc-help-tip", inputs: ["name"] }, { kind: "component", type: i5.BoxFormControlComponent, selector: "bizdoc-box-control", inputs: ["form", "mode", "model", "metadata"] }, { kind: "pipe", type: i6.LocalizedStringPipe, name: "localizedString" }] }); }
35
35
  };
36
36
  BoxFormComponent = __decorate([
37
37
  BizDoc({ selector: 'bizdoc-box-form' })
38
38
  ], BoxFormComponent);
39
39
  export { BoxFormComponent };
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: BoxFormComponent, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BoxFormComponent, decorators: [{
41
41
  type: Component,
42
42
  args: [{ template: "@if (mode !== 'compose') {\n <form>\n @for (s of metadata.sections; track s) {\n <section>\n <h2 class=\"mat-h2\">{{s.title|localizedString}}</h2>\n @switch (s.multiLine) {\n @case (true) {\n @for (r of s.rows; track r) {\n <div class=\"row\">\n @for (f of r.fields; track f) {\n }\n </div>\n }\n }\n @default {\n @for (r of s.rows; track r) {\n <div class=\"row\">\n @for (f of r.fields; track f) {\n <bizdoc-box-control [metadata]=\"f\"\n [mode]=\"mode\"\n [model]=\"data.model[s.name]\"\n [attr.data-field]=\"f.name\"\n [form]=\"form.get(s.name)\"></bizdoc-box-control>\n }\n </div>\n }\n }\n }\n </section>\n }\n </form>\n} @else {\n @if (guide) {\n <bizdoc-help-tip [name]=\"guide\"></bizdoc-help-tip>\n }\n <form [formGroup]=\"form\" autocomplete=\"off\">\n @for (s of metadata.sections; track s) {\n <section [attr.data-section]=\"s.name\">\n <h2 class=\"mat-h2\">{{s.title|localizedString}}</h2>\n @if (s.note) {\n <p class=\"mat-body-1\">{{s.note|localizedString}}</p>\n }\n <hr />\n @switch (s.multiLine) {\n @case (true) {\n <ng-container [formArrayName]=\"s.name\">\n <table class=\"mat-mdc-table\">\n @for (r of s.rows; track r) {\n <thead class=\"\">\n <tr class=\"mat-mdc-row\">\n @for (f of r.fields; track f) {\n <th class=\"mat-mdc-cell\">\n </th>\n }\n </tr>\n </thead>\n }\n @for (r of s.rows; track r) {\n <tbody class=\"\">\n <tr class=\"mat-mdc-row\">\n @for (f of r.fields; track f) {\n <td class=\"mat-mdc-cell\">\n </td>\n }\n <td>\n <button mat-icon-button></button>\n </td>\n </tr>\n </tbody>\n }\n </table>\n </ng-container>\n }\n @default {\n <ng-container [formGroupName]=\"s.name\">\n @for (r of s.rows; track r) {\n <div class=\"row box-row\">\n @for (f of r.fields; track f) {\n <bizdoc-box-control [metadata]=\"f\"\n [mode]=\"mode\"\n [model]=\"data.model[s.name]\"\n [attr.data-field]=\"f.name\"\n [form]=\"form.get(s.name)\"></bizdoc-box-control>\n }\n </div>\n }\n </ng-container>\n }\n }\n </section>\n }\n </form>\n}\n", styles: ["form{padding:8px}section{display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}section .box-row{padding:4px}::ng-deep field{display:flex}\n"] }]
43
43
  }], ctorParameters: () => [{ type: i1.FormBuilder }, { type: i2.FormRef }] });
@@ -22,10 +22,10 @@ export class BoxFormControlComponent {
22
22
  instance.control.setValue(this.model[this.metadata.name], { emitEvent: false });
23
23
  this.form.addControl(this.metadata.name, instance.control, { emitEvent: false });
24
24
  }
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: BoxFormControlComponent, deps: [{ token: BIZDOC_CONFIG }, { token: i0.ViewContainerRef }, { token: i1.BizDocComponentFactoryResolver }, { token: i2.SessionService }], target: i0.ɵɵFactoryTarget.Component }); }
26
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0", type: BoxFormControlComponent, selector: "bizdoc-box-control", inputs: { form: "form", mode: "mode", model: "model", metadata: "metadata" }, host: { properties: { "attr.data-help": "metadata.name" } }, ngImport: i0, template: '', isInline: true, encapsulation: i0.ViewEncapsulation.None }); }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BoxFormControlComponent, deps: [{ token: BIZDOC_CONFIG }, { token: i0.ViewContainerRef }, { token: i1.BizDocComponentFactoryResolver }, { token: i2.SessionService }], target: i0.ɵɵFactoryTarget.Component }); }
26
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.1", type: BoxFormControlComponent, selector: "bizdoc-box-control", inputs: { form: "form", mode: "mode", model: "model", metadata: "metadata" }, host: { properties: { "attr.data-help": "metadata.name" } }, ngImport: i0, template: '', isInline: true, encapsulation: i0.ViewEncapsulation.None }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: BoxFormControlComponent, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BoxFormControlComponent, decorators: [{
29
29
  type: Component,
30
30
  args: [{
31
31
  encapsulation: ViewEncapsulation.None,
@@ -20,10 +20,10 @@ export class BoxFormRowComponent {
20
20
  this.form.addControl(f.name, instance.control);
21
21
  });
22
22
  }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: BoxFormRowComponent, deps: [{ token: i0.ViewContainerRef }, { token: i1.BizDocComponentFactoryResolver }, { token: i2.SessionService }], target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0", type: BoxFormRowComponent, selector: "bizdoc-box-row", inputs: { form: "form", mode: "mode", model: "model", metadata: "metadata" }, ngImport: i0, template: '', isInline: true }); }
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BoxFormRowComponent, deps: [{ token: i0.ViewContainerRef }, { token: i1.BizDocComponentFactoryResolver }, { token: i2.SessionService }], target: i0.ɵɵFactoryTarget.Component }); }
24
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.1", type: BoxFormRowComponent, selector: "bizdoc-box-row", inputs: { form: "form", mode: "mode", model: "model", metadata: "metadata" }, ngImport: i0, template: '', isInline: true }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: BoxFormRowComponent, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BoxFormRowComponent, decorators: [{
27
27
  type: Component,
28
28
  args: [{
29
29
  selector: 'bizdoc-box-row',
@@ -18,10 +18,10 @@ export class CanDeactivateCompose {
18
18
  else
19
19
  return true;
20
20
  }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CanDeactivateCompose, deps: [{ token: i1.PromptService }], target: i0.ɵɵFactoryTarget.Injectable }); }
22
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CanDeactivateCompose }); }
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CanDeactivateCompose, deps: [{ token: i1.PromptService }], target: i0.ɵɵFactoryTarget.Injectable }); }
22
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CanDeactivateCompose }); }
23
23
  }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CanDeactivateCompose, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CanDeactivateCompose, decorators: [{
25
25
  type: Injectable
26
26
  }], ctorParameters: () => [{ type: i1.PromptService }] });
27
27
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FuLWRlYWN0aXZhdGUtY2hhbmdlcy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9jb21wb3NlL2Nhbi1kZWFjdGl2YXRlLWNoYW5nZXMuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzNDLE9BQU8sRUFBYyxFQUFFLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFFdEMsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7QUFHM0MsTUFBTSxPQUFPLG9CQUFvQjtJQUMvQixZQUFvQixHQUFrQjtRQUFsQixRQUFHLEdBQUgsR0FBRyxDQUFlO0lBQ3RDLENBQUM7SUFDRCxhQUFhLENBQUMsU0FBaUM7UUFDN0MsSUFBSSxTQUFTLENBQUMsSUFBSSxDQUFDLEtBQUs7WUFDdEIsT0FBTyxJQUFJLENBQUMsR0FBRyxDQUFDLEdBQUcsQ0FBQyxnQkFBZ0IsRUFBRSxhQUFhLEVBQUUsRUFBRSxJQUFJLEVBQUUsSUFBSSxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsRUFBRSxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLEVBQUUsQ0FBQyxFQUFFO2dCQUN2SSxJQUFJLEVBQUU7b0JBQ0osT0FBTyxTQUFTLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxDQUFDOztvQkFFN0IsT0FBTyxFQUFFLENBQUMsSUFBSSxDQUFDLENBQUM7WUFDcEIsQ0FBQyxDQUFDLENBQUMsQ0FBQzs7WUFDRCxPQUFPLElBQUksQ0FBQztJQUNuQixDQUFDOzhHQVpVLG9CQUFvQjtrSEFBcEIsb0JBQW9COzsyRkFBcEIsb0JBQW9CO2tCQURoQyxVQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBVcmxUcmVlIH0gZnJvbSAnQGFuZ3VsYXIvcm91dGVyJztcclxuaW1wb3J0IHsgQ29tcG9zZU1vYmlsZUNvbXBvbmVudCB9IGZyb20gJy4vY29tcG9zZS5tb2JpbGUuY29tcG9uZW50JztcclxuaW1wb3J0IHsgT2JzZXJ2YWJsZSwgb2YgfSBmcm9tICdyeGpzJztcclxuaW1wb3J0IHsgUHJvbXB0U2VydmljZSB9IGZyb20gJy4uL2NvcmUvcHJvbXB0LnNlcnZpY2UnO1xyXG5pbXBvcnQgeyBzd2l0Y2hNYXAgfSBmcm9tICdyeGpzL29wZXJhdG9ycyc7XHJcblxyXG5ASW5qZWN0YWJsZSgpXHJcbmV4cG9ydCBjbGFzcyBDYW5EZWFjdGl2YXRlQ29tcG9zZSB7XHJcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBfc2I6IFByb21wdFNlcnZpY2UpIHtcclxuICB9XHJcbiAgY2FuRGVhY3RpdmF0ZShjb21wb25lbnQ6IENvbXBvc2VNb2JpbGVDb21wb25lbnQpOiBPYnNlcnZhYmxlPGJvb2xlYW4gfCBVcmxUcmVlPiB8IFByb21pc2U8Ym9vbGVhbiB8IFVybFRyZWU+IHwgYm9vbGVhbiB8IFVybFRyZWUge1xyXG4gICAgaWYgKGNvbXBvbmVudC5mb3JtLmRpcnR5KVxyXG4gICAgICByZXR1cm4gdGhpcy5fc2IuYXNrKCdTYXZlQ2hhbmdlc0FzaycsICdTYXZlQ2hhbmdlcycsIHsgaTE4bjogdHJ1ZSwgY29sb3I6ICdwcmltYXJ5Jywgb2s6ICdTYXZlJywgY2FuY2VsOiAnSWdub3JlJyB9KS5waXBlKHN3aXRjaE1hcChvayA9PiB7XHJcbiAgICAgICAgaWYgKG9rKVxyXG4gICAgICAgICAgcmV0dXJuIGNvbXBvbmVudC5mb3JtLnNhdmUoKTtcclxuICAgICAgICBlbHNlXHJcbiAgICAgICAgICByZXR1cm4gb2YodHJ1ZSk7XHJcbiAgICAgIH0pKTtcclxuICAgIGVsc2UgcmV0dXJuIHRydWU7XHJcbiAgfVxyXG59XHJcbiJdfQ==
@@ -156,10 +156,10 @@ export class CommentComponent {
156
156
  documentId: this.model.documentId
157
157
  });
158
158
  }
159
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CommentComponent, deps: [{ token: i1.SessionService }, { token: i2.PromptService }, { token: i3.TranslateService }, { token: i4.ChatInfo }, { token: i5.AccountService }, { token: i6.Popup }, { token: i7.Overlay }, { token: i8.MailboxService }, { token: i0.ViewContainerRef }, { token: BIZDOC_CONFIG }], target: i0.ɵɵFactoryTarget.Component }); }
160
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0", type: CommentComponent, selector: "bizdoc-comment", inputs: { model: "model", item: "item" }, outputs: { deleted: "deleted", reply: "reply" }, host: { classAttribute: "comment" }, viewQueries: [{ propertyName: "bodyElement", first: true, predicate: ["body"], descendants: true }, { propertyName: "previewTemplate", first: true, predicate: ["previewTemplate"], descendants: true }], ngImport: i0, template: "<div class=\"row\">\n <div class=\"comment-body\" #body>\n <div [innerHTML]=\"item.text|taggingHtml:item.resource\" class=\"comment-text\"></div>\n @if (item.image) {\n <img [src]=\"'data:image/png;base64,'+item.image\" alt=\"\" (click)=\"preview()\" />\n }\n </div>\n @if (me) {\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" class=\"tool\" (click)=\"$event.stopPropagation()\"><mat-icon>more_vert</mat-icon></button>\n }\n <mat-menu #menu>\n <ng-template matMenuContent>\n <button mat-menu-item (click)=\"edit()\">{{'Edit'|translate}}</button>\n <mat-divider></mat-divider>\n <button mat-menu-item (click)=\"delete()\">{{'Delete'|translate}}</button>\n </ng-template>\n </mat-menu>\n</div>\n<div class=\"row\">\n <div class=\"column\">\n <span [innerHTML]=\"name | sanitizeHtml\" (click)=\"chat($event)\"></span>\n <div>\n <small class=\"flex\" bizdocTooltip=\"{{item.edited || item.time | amCalendar }}\">{{item.edited || item.time | amTimeAgo}}</small>\n @if (item.edited) {\n &nbsp;<a (click)=\"edits()\" class=\"modification\">{{'Edited'| translate}}</a>\n }\n @if (!me) {\n &nbsp;<a (click)=\"reply.emit()\" class=\"modification\">{{'Reply'| translate}}</a>\n }\n </div>\n </div>\n @if (voting) {\n <div class=\"comment-actions\">\n @if (item.votes > 0 || item.votes < 0) {\n <a [class.score-negative]=\"item.votes < 0\" class=\"comment-score\" dir=\"ltr\" (click)=\"votes()\" [bizdocTooltip]=\"'Votes'|translate\">{{item.votes}}</a>\n }\n <button mat-icon-button (click)=\"vote(1, $event)\" [class.voted-true]=\"item.voted===1\" [disableRipple]=\"true\"><mat-icon>thumb_up_alt</mat-icon></button>\n <button mat-icon-button (click)=\"vote(-1, $event)\" [class.voted-false]=\"item.voted===-1\" [disableRipple]=\"true\"><mat-icon>thumb_down_alt</mat-icon></button>\n </div>\n }\n</div>\n<ng-template #previewTemplate>\n <img [src]=\"'data:image/png;base64,'+item.image\" alt=\"\" />\n</ng-template>\n", dependencies: [{ kind: "directive", type: i9.Dir, selector: "[dir]", inputs: ["dir"], outputs: ["dirChange"], exportAs: ["dir"] }, { kind: "component", type: i10.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i11.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i12.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i13.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i13.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i13.MatMenuContent, selector: "ng-template[matMenuContent]" }, { kind: "directive", type: i13.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i14.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i15.CalendarPipe, name: "amCalendar" }, { kind: "pipe", type: i16.TimeAgoPipe, name: "amTimeAgo" }, { kind: "pipe", type: i17.TranslatePipe, name: "translate" }, { kind: "pipe", type: i18.SanitizeHtmlPipe, name: "sanitizeHtml" }, { kind: "pipe", type: i19.TaggingPipe, name: "taggingHtml" }] }); }
159
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CommentComponent, deps: [{ token: i1.SessionService }, { token: i2.PromptService }, { token: i3.TranslateService }, { token: i4.ChatInfo }, { token: i5.AccountService }, { token: i6.Popup }, { token: i7.Overlay }, { token: i8.MailboxService }, { token: i0.ViewContainerRef }, { token: BIZDOC_CONFIG }], target: i0.ɵɵFactoryTarget.Component }); }
160
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.1", type: CommentComponent, selector: "bizdoc-comment", inputs: { model: "model", item: "item" }, outputs: { deleted: "deleted", reply: "reply" }, host: { classAttribute: "comment" }, viewQueries: [{ propertyName: "bodyElement", first: true, predicate: ["body"], descendants: true }, { propertyName: "previewTemplate", first: true, predicate: ["previewTemplate"], descendants: true }], ngImport: i0, template: "<div class=\"row\">\n <div class=\"comment-body\" #body>\n <div [innerHTML]=\"item.text|taggingHtml:item.resource\" class=\"comment-text\"></div>\n @if (item.image) {\n <img [src]=\"'data:image/png;base64,'+item.image\" alt=\"\" (click)=\"preview()\" />\n }\n </div>\n @if (me) {\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" class=\"tool\" (click)=\"$event.stopPropagation()\"><mat-icon>more_vert</mat-icon></button>\n }\n <mat-menu #menu>\n <ng-template matMenuContent>\n <button mat-menu-item (click)=\"edit()\">{{'Edit'|translate}}</button>\n <mat-divider></mat-divider>\n <button mat-menu-item (click)=\"delete()\">{{'Delete'|translate}}</button>\n </ng-template>\n </mat-menu>\n</div>\n<div class=\"row\">\n <div class=\"column\">\n <span [innerHTML]=\"name | sanitizeHtml\" (click)=\"chat($event)\"></span>\n <div>\n <small class=\"flex\" bizdocTooltip=\"{{item.edited || item.time | amCalendar }}\">{{item.edited || item.time | amTimeAgo}}</small>\n @if (item.edited) {\n &nbsp;<a (click)=\"edits()\" class=\"modification\">{{'Edited'| translate}}</a>\n }\n @if (!me) {\n &nbsp;<a (click)=\"reply.emit()\" class=\"modification\">{{'Reply'| translate}}</a>\n }\n </div>\n </div>\n @if (voting) {\n <div class=\"comment-actions\">\n @if (item.votes > 0 || item.votes < 0) {\n <a [class.score-negative]=\"item.votes < 0\" class=\"comment-score\" dir=\"ltr\" (click)=\"votes()\" [bizdocTooltip]=\"'Votes'|translate\">{{item.votes}}</a>\n }\n <button mat-icon-button (click)=\"vote(1, $event)\" [class.voted-true]=\"item.voted===1\" [disableRipple]=\"true\"><mat-icon>thumb_up_alt</mat-icon></button>\n <button mat-icon-button (click)=\"vote(-1, $event)\" [class.voted-false]=\"item.voted===-1\" [disableRipple]=\"true\"><mat-icon>thumb_down_alt</mat-icon></button>\n </div>\n }\n</div>\n<ng-template #previewTemplate>\n <img [src]=\"'data:image/png;base64,'+item.image\" alt=\"\" />\n</ng-template>\n", dependencies: [{ kind: "directive", type: i9.Dir, selector: "[dir]", inputs: ["dir"], outputs: ["dirChange"], exportAs: ["dir"] }, { kind: "component", type: i10.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i11.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i12.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i13.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i13.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i13.MatMenuContent, selector: "ng-template[matMenuContent]" }, { kind: "directive", type: i13.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i14.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i15.CalendarPipe, name: "amCalendar" }, { kind: "pipe", type: i16.TimeAgoPipe, name: "amTimeAgo" }, { kind: "pipe", type: i17.TranslatePipe, name: "translate" }, { kind: "pipe", type: i18.SanitizeHtmlPipe, name: "sanitizeHtml" }, { kind: "pipe", type: i19.TaggingPipe, name: "taggingHtml" }] }); }
161
161
  }
162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CommentComponent, decorators: [{
162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CommentComponent, decorators: [{
163
163
  type: Component,
164
164
  args: [{ selector: 'bizdoc-comment', host: {
165
165
  class: 'comment'
@@ -201,10 +201,10 @@ export class CommentsComponent {
201
201
  this.input.text && this.input.text.length &&
202
202
  window.localStorage.setItem(id, this.input.text);
203
203
  }
204
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CommentsComponent, deps: [{ token: i1.AccountService }, { token: i2.SessionService }, { token: i3.PromptService }, { token: i4.TranslateService }, { token: i5.ChatInfo }, { token: i6.MailboxService }, { token: i7.HubService }, { token: BIZDOC_CONFIG }], target: i0.ɵɵFactoryTarget.Component }); }
205
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0", type: CommentsComponent, selector: "bizdoc-comments", inputs: { model: "model" }, outputs: { change: "change" }, host: { classAttribute: "comments" }, viewQueries: [{ propertyName: "threadElement", first: true, predicate: ["thread"], descendants: true, read: ElementRef, static: true }, { propertyName: "input", first: true, predicate: EditInputComponent, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "@if (!model.comments.length) {\n <bizdoc-none icon=\"format_quote\"></bizdoc-none>\n}\n\n<div class=\"column comments-thread\" #thread (scroll)=\"onScroll($event)\">\n @for (c of model.comments; track c.id) {\n <ng-container role=\"listitem\">\n @if (!c.deleted || showDeleted) {\n <bizdoc-comment\n [model]=\"model\"\n [item]=\"c\"\n (reply)=\"reply(c)\"\n (deleted)=\"deleted(c)\">\n </bizdoc-comment>\n } @else {\n <a (click)=\"showDeleted = true\" class=\"comment-deleted\">{{'Deleted' | translate}}</a>\n }\n </ng-container>\n }\n</div>\n\n<div class=\"comments-typing\" [style.visibility]=\"typing ? 'visible': 'hidden'\">{{'Typing' | translate : typing}}</div>\n\n@if (replyName) {\n <div class=\"comments-reply\">\n <span [innerHTML]=\"replyName | sanitizeHtml\" (click)=\"chat($event)\"></span>\n &nbsp; <a class=\"modification\" (click)=\"clearReply()\">{{'Cancel'|translate}}</a>\n </div>\n}\n\n<bizdoc-edit-text (ok)=\"post($event)\" (change)=\"_textChange.next()\"\n placeholder=\"CommentHere\"\n [disabled]=\"sending\" (focus)=\"onFocus()\" (blur)=\"onBlur()\">\n</bizdoc-edit-text>\n", styles: [":host{display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;height:100%}.comments-thread{flex:1 1 auto;overflow:auto;padding:8px 12px 0}.comment-deleted{align-self:center;font-variant:small-caps}.comments-typing,.comments-reply{font-size:12px;padding:0 8px}.comments-reply .modification{font-size:medium}.modification{font-variant:small-caps}\n"], dependencies: [{ kind: "component", type: i8.EditInputComponent, selector: "bizdoc-edit-text", inputs: ["placeholder", "text", "image", "resource", "disabled", "autofocus", "cache"], outputs: ["change", "ok", "focus", "blur"] }, { kind: "component", type: i9.NoneComponent, selector: "bizdoc-none", inputs: ["title", "subtitle", "icon"] }, { kind: "component", type: i10.CommentComponent, selector: "bizdoc-comment", inputs: ["model", "item"], outputs: ["deleted", "reply"] }, { kind: "pipe", type: i11.TranslatePipe, name: "translate" }, { kind: "pipe", type: i12.SanitizeHtmlPipe, name: "sanitizeHtml" }] }); }
204
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CommentsComponent, deps: [{ token: i1.AccountService }, { token: i2.SessionService }, { token: i3.PromptService }, { token: i4.TranslateService }, { token: i5.ChatInfo }, { token: i6.MailboxService }, { token: i7.HubService }, { token: BIZDOC_CONFIG }], target: i0.ɵɵFactoryTarget.Component }); }
205
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.1", type: CommentsComponent, selector: "bizdoc-comments", inputs: { model: "model" }, outputs: { change: "change" }, host: { classAttribute: "comments" }, viewQueries: [{ propertyName: "threadElement", first: true, predicate: ["thread"], descendants: true, read: ElementRef, static: true }, { propertyName: "input", first: true, predicate: EditInputComponent, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "@if (!model.comments.length) {\n <bizdoc-none icon=\"format_quote\"></bizdoc-none>\n}\n\n<div class=\"column comments-thread\" #thread (scroll)=\"onScroll($event)\">\n @for (c of model.comments; track c.id) {\n <ng-container role=\"listitem\">\n @if (!c.deleted || showDeleted) {\n <bizdoc-comment\n [model]=\"model\"\n [item]=\"c\"\n (reply)=\"reply(c)\"\n (deleted)=\"deleted(c)\">\n </bizdoc-comment>\n } @else {\n <a (click)=\"showDeleted = true\" class=\"comment-deleted\">{{'Deleted' | translate}}</a>\n }\n </ng-container>\n }\n</div>\n\n<div class=\"comments-typing\" [style.visibility]=\"typing ? 'visible': 'hidden'\">{{'Typing' | translate : typing}}</div>\n\n@if (replyName) {\n <div class=\"comments-reply\">\n <span [innerHTML]=\"replyName | sanitizeHtml\" (click)=\"chat($event)\"></span>\n &nbsp; <a class=\"modification\" (click)=\"clearReply()\">{{'Cancel'|translate}}</a>\n </div>\n}\n\n<bizdoc-edit-text (ok)=\"post($event)\" (change)=\"_textChange.next()\"\n placeholder=\"CommentHere\"\n [disabled]=\"sending\" (focus)=\"onFocus()\" (blur)=\"onBlur()\">\n</bizdoc-edit-text>\n", styles: [":host{display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;height:100%}.comments-thread{flex:1 1 auto;overflow:auto;padding:8px 12px 0}.comment-deleted{align-self:center;font-variant:small-caps}.comments-typing,.comments-reply{font-size:12px;padding:0 8px}.comments-reply .modification{font-size:medium}.modification{font-variant:small-caps}\n"], dependencies: [{ kind: "component", type: i8.EditInputComponent, selector: "bizdoc-edit-text", inputs: ["placeholder", "text", "image", "resource", "disabled", "autofocus", "cache"], outputs: ["change", "ok", "focus", "blur"] }, { kind: "component", type: i9.NoneComponent, selector: "bizdoc-none", inputs: ["title", "subtitle", "icon"] }, { kind: "component", type: i10.CommentComponent, selector: "bizdoc-comment", inputs: ["model", "item"], outputs: ["deleted", "reply"] }, { kind: "pipe", type: i11.TranslatePipe, name: "translate" }, { kind: "pipe", type: i12.SanitizeHtmlPipe, name: "sanitizeHtml" }] }); }
206
206
  }
207
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CommentsComponent, decorators: [{
207
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CommentsComponent, decorators: [{
208
208
  type: Component,
209
209
  args: [{ selector: 'bizdoc-comments', host: {
210
210
  class: 'comments'
@@ -27,10 +27,10 @@ export class CommentsPaneComponent {
27
27
  this._destroy.next();
28
28
  this._destroy.complete();
29
29
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CommentsPaneComponent, deps: [{ token: i1.TranslateService }, { token: i2.PaneRef }], target: i0.ɵɵFactoryTarget.Component }); }
31
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0", type: CommentsPaneComponent, selector: "ng-component", viewQueries: [{ propertyName: "_comments", first: true, predicate: CommentsComponent, descendants: true, static: true }], ngImport: i0, template: `<bizdoc-comments [model]=model></bizdoc-comments>`, isInline: true, styles: [":host{min-width:320px}\n"], dependencies: [{ kind: "component", type: i3.CommentsComponent, selector: "bizdoc-comments", inputs: ["model"], outputs: ["change"] }] }); }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CommentsPaneComponent, deps: [{ token: i1.TranslateService }, { token: i2.PaneRef }], target: i0.ɵɵFactoryTarget.Component }); }
31
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.1", type: CommentsPaneComponent, selector: "ng-component", viewQueries: [{ propertyName: "_comments", first: true, predicate: CommentsComponent, descendants: true, static: true }], ngImport: i0, template: `<bizdoc-comments [model]=model></bizdoc-comments>`, isInline: true, styles: [":host{min-width:320px}\n"], dependencies: [{ kind: "component", type: i3.CommentsComponent, selector: "bizdoc-comments", inputs: ["model"], outputs: ["change"] }] }); }
32
32
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CommentsPaneComponent, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CommentsPaneComponent, decorators: [{
34
34
  type: Component,
35
35
  args: [{ template: `<bizdoc-comments [model]=model></bizdoc-comments>`, styles: [":host{min-width:320px}\n"] }]
36
36
  }], ctorParameters: () => [{ type: i1.TranslateService }, { type: i2.PaneRef }], propDecorators: { _comments: [{
@@ -19,10 +19,10 @@ export class EditCommentComponent {
19
19
  this._sb.error();
20
20
  });
21
21
  }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: EditCommentComponent, deps: [{ token: i1.PopupRef }, { token: POPUP_DATA }, { token: i2.PromptService }, { token: i3.MailboxService }], target: i0.ɵɵFactoryTarget.Component }); }
23
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0", type: EditCommentComponent, selector: "bizdoc-edit-comment", ngImport: i0, template: "<bizdoc-edit-text (ok)=\"ok($event)\"\r\n [resource]=\"data.resource\"\r\n [text]=\"data.text\"\r\n placeholder=\"CommentHere\"\r\n [image]=\"data.image\"\r\n [disabled]=\"sending\" autofocus></bizdoc-edit-text>\r\n", dependencies: [{ kind: "component", type: i4.EditInputComponent, selector: "bizdoc-edit-text", inputs: ["placeholder", "text", "image", "resource", "disabled", "autofocus", "cache"], outputs: ["change", "ok", "focus", "blur"] }] }); }
22
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: EditCommentComponent, deps: [{ token: i1.PopupRef }, { token: POPUP_DATA }, { token: i2.PromptService }, { token: i3.MailboxService }], target: i0.ɵɵFactoryTarget.Component }); }
23
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.1", type: EditCommentComponent, selector: "bizdoc-edit-comment", ngImport: i0, template: "<bizdoc-edit-text (ok)=\"ok($event)\"\r\n [resource]=\"data.resource\"\r\n [text]=\"data.text\"\r\n placeholder=\"CommentHere\"\r\n [image]=\"data.image\"\r\n [disabled]=\"sending\" autofocus></bizdoc-edit-text>\r\n", dependencies: [{ kind: "component", type: i4.EditInputComponent, selector: "bizdoc-edit-text", inputs: ["placeholder", "text", "image", "resource", "disabled", "autofocus", "cache"], outputs: ["change", "ok", "focus", "blur"] }] }); }
24
24
  }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: EditCommentComponent, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: EditCommentComponent, decorators: [{
26
26
  type: Component,
27
27
  args: [{ selector: 'bizdoc-edit-comment', template: "<bizdoc-edit-text (ok)=\"ok($event)\"\r\n [resource]=\"data.resource\"\r\n [text]=\"data.text\"\r\n placeholder=\"CommentHere\"\r\n [image]=\"data.image\"\r\n [disabled]=\"sending\" autofocus></bizdoc-edit-text>\r\n" }]
28
28
  }], ctorParameters: () => [{ type: i1.PopupRef }, { type: undefined, decorators: [{
@@ -17,10 +17,10 @@ export class CommentEditsComponent {
17
17
  ngOnInit() {
18
18
  this.versions = this._mailbox.edits(this._data.documentId, this._data.id);
19
19
  }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CommentEditsComponent, deps: [{ token: POPUP_DATA }, { token: i1.MailboxService }], target: i0.ɵɵFactoryTarget.Component }); }
21
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0", type: CommentEditsComponent, selector: "bizdoc-comment-edits", ngImport: i0, template: "<span class=\"mat-h2\">{{'History' | translate}}</span>\n\n@for (v of versions | async; track v) {\n <div class=\"comment\">\n <p [innerHTML]=\"v.text|taggingHtml:resource\"></p>\n @if (v.byId || byId) {\n <bizdoc-identity-name class=\"mat-body\" [identity]=\"v.userId\" [by]=\"v.byId\"></bizdoc-identity-name>\n }\n <small>{{v.time | amCalendar}}</small>\n </div>\n}\n", styles: [":host{padding:8px}\n"], dependencies: [{ kind: "component", type: i2.IdentityName, selector: "bizdoc-identity-name", inputs: ["identity", "by", "chating"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.CalendarPipe, name: "amCalendar" }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "pipe", type: i6.TaggingPipe, name: "taggingHtml" }] }); }
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CommentEditsComponent, deps: [{ token: POPUP_DATA }, { token: i1.MailboxService }], target: i0.ɵɵFactoryTarget.Component }); }
21
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.1", type: CommentEditsComponent, selector: "bizdoc-comment-edits", ngImport: i0, template: "<span class=\"mat-h2\">{{'History' | translate}}</span>\n\n@for (v of versions | async; track v) {\n <div class=\"comment\">\n <p [innerHTML]=\"v.text|taggingHtml:resource\"></p>\n @if (v.byId || byId) {\n <bizdoc-identity-name class=\"mat-body\" [identity]=\"v.userId\" [by]=\"v.byId\"></bizdoc-identity-name>\n }\n <small>{{v.time | amCalendar}}</small>\n </div>\n}\n", styles: [":host{padding:8px}\n"], dependencies: [{ kind: "component", type: i2.IdentityName, selector: "bizdoc-identity-name", inputs: ["identity", "by", "chating"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.CalendarPipe, name: "amCalendar" }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "pipe", type: i6.TaggingPipe, name: "taggingHtml" }] }); }
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CommentEditsComponent, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CommentEditsComponent, decorators: [{
24
24
  type: Component,
25
25
  args: [{ selector: 'bizdoc-comment-edits', template: "<span class=\"mat-h2\">{{'History' | translate}}</span>\n\n@for (v of versions | async; track v) {\n <div class=\"comment\">\n <p [innerHTML]=\"v.text|taggingHtml:resource\"></p>\n @if (v.byId || byId) {\n <bizdoc-identity-name class=\"mat-body\" [identity]=\"v.userId\" [by]=\"v.byId\"></bizdoc-identity-name>\n }\n <small>{{v.time | amCalendar}}</small>\n </div>\n}\n", styles: [":host{padding:8px}\n"] }]
26
26
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -51,10 +51,10 @@ export class QuickCommentComponent {
51
51
  this._destroy.next();
52
52
  this._destroy.complete();
53
53
  }
54
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: QuickCommentComponent, deps: [{ token: DOCUMENT_MODEL }, { token: i1.AccountService }, { token: i2.MailboxService }, { token: i3.HubService }, { token: i4.PromptService }], target: i0.ɵɵFactoryTarget.Component }); }
55
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0", type: QuickCommentComponent, selector: "bizdoc-quick-comment", ngImport: i0, template: "<div class=\"comments-typing\" [style.visibility]=\"typing ? 'visible': 'hidden'\">{{'Typing' | translate : typing}}</div>\n<bizdoc-edit-text (ok)=\"post($event)\" (change)=\"_textChange.next()\"\n [disabled]=\"sending\">\n</bizdoc-edit-text>\n@if (model.comments.length) {\n<div>{{(model.comments.length === 1 ? 'OneComment' : 'CommentsCount') | translate: model.comments.length}}</div>\n}\n", styles: [":host{display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.comments-typing{font-size:12px;padding:0 8px}\n"], dependencies: [{ kind: "component", type: i5.EditInputComponent, selector: "bizdoc-edit-text", inputs: ["placeholder", "text", "image", "resource", "disabled", "autofocus", "cache"], outputs: ["change", "ok", "focus", "blur"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
54
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: QuickCommentComponent, deps: [{ token: DOCUMENT_MODEL }, { token: i1.AccountService }, { token: i2.MailboxService }, { token: i3.HubService }, { token: i4.PromptService }], target: i0.ɵɵFactoryTarget.Component }); }
55
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.1", type: QuickCommentComponent, selector: "bizdoc-quick-comment", ngImport: i0, template: "<div class=\"comments-typing\" [style.visibility]=\"typing ? 'visible': 'hidden'\">{{'Typing' | translate : typing}}</div>\n<bizdoc-edit-text (ok)=\"post($event)\" (change)=\"_textChange.next()\"\n [disabled]=\"sending\">\n</bizdoc-edit-text>\n@if (model.comments.length) {\n<div>{{(model.comments.length === 1 ? 'OneComment' : 'CommentsCount') | translate: model.comments.length}}</div>\n}\n", styles: [":host{display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.comments-typing{font-size:12px;padding:0 8px}\n"], dependencies: [{ kind: "component", type: i5.EditInputComponent, selector: "bizdoc-edit-text", inputs: ["placeholder", "text", "image", "resource", "disabled", "autofocus", "cache"], outputs: ["change", "ok", "focus", "blur"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
56
56
  }
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: QuickCommentComponent, decorators: [{
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: QuickCommentComponent, decorators: [{
58
58
  type: Component,
59
59
  args: [{ selector: 'bizdoc-quick-comment', template: "<div class=\"comments-typing\" [style.visibility]=\"typing ? 'visible': 'hidden'\">{{'Typing' | translate : typing}}</div>\n<bizdoc-edit-text (ok)=\"post($event)\" (change)=\"_textChange.next()\"\n [disabled]=\"sending\">\n</bizdoc-edit-text>\n@if (model.comments.length) {\n<div>{{(model.comments.length === 1 ? 'OneComment' : 'CommentsCount') | translate: model.comments.length}}</div>\n}\n", styles: [":host{display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.comments-typing{font-size:12px;padding:0 8px}\n"] }]
60
60
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -29,10 +29,10 @@ export class CommentLikesComponent {
29
29
  this._destroy.next();
30
30
  this._destroy.complete();
31
31
  }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CommentLikesComponent, deps: [{ token: POPUP_DATA }, { token: i1.MailboxService }, { token: i2.HubService }], target: i0.ɵɵFactoryTarget.Component }); }
33
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0", type: CommentLikesComponent, selector: "bizdoc-comment-votes", ngImport: i0, template: "<span class=\"mat-h2\">{{'Votes' | translate}}</span>\n@for (v of votes | async; track v) {\n <div class=\"vote\">\n <bizdoc-identity-name class=\"mat-body\" [identity]=\"v.userId\" [by]=\"v.byId\"></bizdoc-identity-name>\n <button mat-icon-button><mat-icon>{{v.voted === 1 ? 'thumb_up_alt' : 'thumb_down_alt'}}</mat-icon></button>\n <br />\n <small bizdocTooltip=\"{{v.time | amCalendar }}\">{{v.time | amTimeAgo}}</small>\n </div>\n}\n", styles: [":host{padding:8px}\n"], dependencies: [{ kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.IdentityName, selector: "bizdoc-identity-name", inputs: ["identity", "by", "chating"] }, { kind: "directive", type: i6.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i7.AsyncPipe, name: "async" }, { kind: "pipe", type: i8.CalendarPipe, name: "amCalendar" }, { kind: "pipe", type: i9.TimeAgoPipe, name: "amTimeAgo" }, { kind: "pipe", type: i10.TranslatePipe, name: "translate" }] }); }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CommentLikesComponent, deps: [{ token: POPUP_DATA }, { token: i1.MailboxService }, { token: i2.HubService }], target: i0.ɵɵFactoryTarget.Component }); }
33
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.1", type: CommentLikesComponent, selector: "bizdoc-comment-votes", ngImport: i0, template: "<span class=\"mat-h2\">{{'Votes' | translate}}</span>\n@for (v of votes | async; track v) {\n <div class=\"vote\">\n <bizdoc-identity-name class=\"mat-body\" [identity]=\"v.userId\" [by]=\"v.byId\"></bizdoc-identity-name>\n <button mat-icon-button><mat-icon>{{v.voted === 1 ? 'thumb_up_alt' : 'thumb_down_alt'}}</mat-icon></button>\n <br />\n <small bizdocTooltip=\"{{v.time | amCalendar }}\">{{v.time | amTimeAgo}}</small>\n </div>\n}\n", styles: [":host{padding:8px}\n"], dependencies: [{ kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.IdentityName, selector: "bizdoc-identity-name", inputs: ["identity", "by", "chating"] }, { kind: "directive", type: i6.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i7.AsyncPipe, name: "async" }, { kind: "pipe", type: i8.CalendarPipe, name: "amCalendar" }, { kind: "pipe", type: i9.TimeAgoPipe, name: "amTimeAgo" }, { kind: "pipe", type: i10.TranslatePipe, name: "translate" }] }); }
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CommentLikesComponent, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: CommentLikesComponent, decorators: [{
36
36
  type: Component,
37
37
  args: [{ selector: 'bizdoc-comment-votes', template: "<span class=\"mat-h2\">{{'Votes' | translate}}</span>\n@for (v of votes | async; track v) {\n <div class=\"vote\">\n <bizdoc-identity-name class=\"mat-body\" [identity]=\"v.userId\" [by]=\"v.byId\"></bizdoc-identity-name>\n <button mat-icon-button><mat-icon>{{v.voted === 1 ? 'thumb_up_alt' : 'thumb_down_alt'}}</mat-icon></button>\n <br />\n <small bizdocTooltip=\"{{v.time | amCalendar }}\">{{v.time | amTimeAgo}}</small>\n </div>\n}\n", styles: [":host{padding:8px}\n"] }]
38
38
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -25,10 +25,10 @@ export class RecipientResolveService {
25
25
  throw e;
26
26
  }));
27
27
  }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: RecipientResolveService, deps: [{ token: i1.MailboxService }, { token: i2.PromptService }, { token: i3.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
29
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: RecipientResolveService }); }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: RecipientResolveService, deps: [{ token: i1.MailboxService }, { token: i2.PromptService }, { token: i3.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
29
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: RecipientResolveService }); }
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: RecipientResolveService, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: RecipientResolveService, decorators: [{
32
32
  type: Injectable
33
33
  }], ctorParameters: () => [{ type: i1.MailboxService }, { type: i2.PromptService }, { type: i3.Router }] });
34
34
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9zZS1yZXNvbHZlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2NvbXBvc2UvY29tcG9zZS1yZXNvbHZlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUzQyxPQUFPLEVBQUUsVUFBVSxFQUFjLEVBQUUsRUFBRSxNQUFNLE1BQU0sQ0FBQzs7Ozs7QUFJbEQ7cUNBQ3FDO0FBRXJDLE1BQU0sT0FBTyx1QkFBdUI7SUFDbEMsWUFBb0IsUUFBd0IsRUFBVSxHQUFrQixFQUFVLE9BQWU7UUFBN0UsYUFBUSxHQUFSLFFBQVEsQ0FBZ0I7UUFBVSxRQUFHLEdBQUgsR0FBRyxDQUFlO1FBQVUsWUFBTyxHQUFQLE9BQU8sQ0FBUTtJQUVqRyxDQUFDO0lBQ0QsT0FBTyxDQUFDLEtBQTZCO1FBQ25DLE1BQU0sR0FBRyxHQUFHLElBQUksQ0FBQyxPQUFPLENBQUMsb0JBQW9CLEVBQUUsQ0FBQztRQUNoRCxJQUFJLEdBQUcsQ0FBQyxNQUFNLElBQUksR0FBRyxDQUFDLE1BQU0sQ0FBQyxLQUFLLEVBQUUsQ0FBQztZQUNuQyxNQUFNLElBQUksR0FBRyxHQUFHLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQyxNQUFNLENBQUMsQ0FBQztZQUN0QyxJQUFJLElBQUk7Z0JBQ04sT0FBTyxFQUFFLENBQUMsSUFBSSxDQUFDLENBQUM7UUFDcEIsQ0FBQztRQUNELE1BQU0sRUFBRSxHQUFHLEtBQUssQ0FBQyxRQUFRLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxDQUFDLFFBQVEsRUFBRSxDQUFDO1FBQy9DLE9BQU8sSUFBSSxDQUFDLFFBQVEsQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLENBQUMsSUFBSSxDQUFDLFVBQVUsQ0FBQyxDQUFDLENBQUMsRUFBRTtZQUMvQyxJQUFJLENBQUMsR0FBRyxDQUFDLEtBQUssRUFBRSxDQUFDO1lBQ2pCLE1BQU0sQ0FBQyxDQUFDO1FBQ1YsQ0FBQyxDQUFDLENBQUMsQ0FBQztJQUNOLENBQUM7OEdBaEJVLHVCQUF1QjtrSEFBdkIsdUJBQXVCOzsyRkFBdkIsdUJBQXVCO2tCQURuQyxVQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBBY3RpdmF0ZWRSb3V0ZVNuYXBzaG90LCBSb3V0ZXIgfSBmcm9tICdAYW5ndWxhci9yb3V0ZXInO1xyXG5pbXBvcnQgeyBjYXRjaEVycm9yLCBPYnNlcnZhYmxlLCBvZiB9IGZyb20gJ3J4anMnO1xyXG5pbXBvcnQgeyBSZWNpcGllbnRNb2RlbCB9IGZyb20gJy4uL2NvcmUvbW9kZWxzJztcclxuaW1wb3J0IHsgTWFpbGJveFNlcnZpY2UgfSBmcm9tICcuLi9jb3JlL21haWxib3guc2VydmljZSc7XHJcbmltcG9ydCB7IFByb21wdFNlcnZpY2UgfSBmcm9tICcuLi9jb3JlL3Byb21wdC5zZXJ2aWNlJztcclxuLyoqXHJcbiAqIGdldCBtb2RlbCBiZWZvcmUgcm91dGUgbmF2aWdhdGUgKi9cclxuQEluamVjdGFibGUoKVxyXG5leHBvcnQgY2xhc3MgUmVjaXBpZW50UmVzb2x2ZVNlcnZpY2Uge1xyXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgX21haWxib3g6IE1haWxib3hTZXJ2aWNlLCBwcml2YXRlIF9zYjogUHJvbXB0U2VydmljZSwgcHJpdmF0ZSBfcm91dGVyOiBSb3V0ZXIpIHtcclxuXHJcbiAgfVxyXG4gIHJlc29sdmUocm91dGU6IEFjdGl2YXRlZFJvdXRlU25hcHNob3QpOiBPYnNlcnZhYmxlPHZvaWQgfCBSZWNpcGllbnRNb2RlbDxhbnk+PiB7XHJcbiAgICBjb25zdCBuYXYgPSB0aGlzLl9yb3V0ZXIuZ2V0Q3VycmVudE5hdmlnYXRpb24oKTtcclxuICAgIGlmIChuYXYuZXh0cmFzICYmIG5hdi5leHRyYXMuc3RhdGUpIHtcclxuICAgICAgY29uc3QgaXRlbSA9IG5hdi5leHRyYXMuc3RhdGVbJ2l0ZW0nXTtcclxuICAgICAgaWYgKGl0ZW0pXHJcbiAgICAgICAgcmV0dXJuIG9mKGl0ZW0pO1xyXG4gICAgfVxyXG4gICAgY29uc3QgaWQgPSByb3V0ZS5wYXJhbU1hcC5nZXQoJ2lkJykuZGVjb2RlSWQoKTtcclxuICAgIHJldHVybiB0aGlzLl9tYWlsYm94LmdldChpZCkucGlwZShjYXRjaEVycm9yKGUgPT4ge1xyXG4gICAgICB0aGlzLl9zYi5lcnJvcigpO1xyXG4gICAgICB0aHJvdyBlO1xyXG4gICAgfSkpO1xyXG4gIH1cclxufVxyXG4iXX0=
@@ -95,10 +95,10 @@ export class ComposeMobileComponent {
95
95
  this._destroy.next();
96
96
  this._destroy.complete();
97
97
  }
98
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ComposeMobileComponent, deps: [{ token: i1.WindowTitleService }, { token: i2.SessionService }, { token: i3.Router }, { token: i3.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component }); }
99
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0", type: ComposeMobileComponent, selector: "ng-component", viewQueries: [{ propertyName: "form", first: true, predicate: ComposeFormComponent, descendants: true, static: true }, { propertyName: "comments", first: true, predicate: CommentsComponent, descendants: true }, { propertyName: "drawer", first: true, predicate: MatSidenav, descendants: true, static: true }], ngImport: i0, template: "<mat-toolbar class=\"nav-toolbar\">\n @if (page !== undefined) {\n <button mat-icon-button (click)=\"form.back()\" [bizdocTooltip]=\"'Back'|translate\" tabindex=\"1\">\n <mat-icon class=\"mat-icon-rtl-mirror\">arrow_circle_left</mat-icon>\n </button>\n }\n @if (model.draft) {\n <button mat-icon-button color=\"primary\" data-help=\"submit\"\n (click)=\"submit()\" [disabled]=\"!valid||working\" [bizdocTooltip]=\"'Submit' | translate\">\n <mat-icon class=\"mat-icon-rtl-mirror\">send</mat-icon>\n </button>\n }\n @if (form.actions.length === 1) {\n <button mat-icon-button color=\"primary\" [attr.data-help]=\"'action-'+form.actions[0].name\" (click)=\"send(model.actions[0])\" [disabled]=\"!valid||working\" [bizdocTooltip]=\"form.actions[0].title\">\n <mat-icon class=\"mat-icon-rtl-mirror\">{{form.actions[0].icon || 'send'}}</mat-icon>\n </button>\n }\n @else if (form.actions.length > 1) {\n <button mat-icon-button data-help=\"send\" color=\"primary\" [matMenuTriggerFor]=\"actionmenu\" [disabled]=\"!valid||working\" [bizdocTooltip]=\"'Send' | translate\">\n <mat-icon class=\"mat-icon-rtl-mirror\">send</mat-icon>\n </button>\n }\n <!-- action -->\n <mat-menu #actionmenu>\n @for (a of form.actions | sort : 'group'; track a; let i = $index) {\n @if (i > 0 && form.actions[i-1].group !== a.group) {\n <mat-divider></mat-divider>\n }\n <button mat-menu-item (click)=\"send(a.name)\">{{a.title}}</button>\n }\n </mat-menu>\n @if (mode === 'compose') {\n <button mat-icon-button (click)=\"form.save().subscribe()\" data-help=\"save\" [disabled]=\"!dirty||working\" [bizdocTooltip]=\"(model.draft ? 'SaveDraft' : 'Save') | translate\">\n <mat-icon>save</mat-icon>\n </button>\n }\n <button mat-icon-button data-help=\"tag\" (click)=\"form.tag($event)\" [bizdocTooltip]=\"'Tags' | translate\" [disabled]=\"working\"><mat-icon class=\"filled\">{{model.tags && model.tags.length ?'bookmark':'bookmark_border'}}</mat-icon></button>\n <button mat-icon-button data-help=\"flag\" [bizdocTooltip]=\"'Flagged'| translate\" [disabled]=\"working\" (click)=\"form.flag()\"><mat-icon class=\"filled\">{{model.flag ? 'star' : 'star_border'}}</mat-icon></button>\n <button mat-icon-button (click)=\"form.attach()\" data-help=\"attach\" [bizdocTooltip]=\"'AttachFile' | translate\" [disabled]=\"working\"><mat-icon>attach_file</mat-icon></button>\n @if (mode !== 'compose' && !model.completed && model.pending) {\n <button mat-icon-button [disabled]=\"working\" data-help=\"edit\" (click)=\"edit()\" [bizdocTooltip]=\"'Edit' | translate\"><mat-icon>create</mat-icon></button>\n }\n <span class=\"divider\"></span>\n <button mat-icon-button (click)=\"toggle('comments')\" data-help=\"comments\" [bizdocTooltip]=\"'Comments' | translate\" [matBadge]=\"newCommentsCount\" [matBadgeHidden]=\"!newCommentsCount\" matBadgeColor=\"accent\">\n <mat-icon class=\"filled\">format_quote</mat-icon>\n </button>\n @if (enableAnalysis) {\n <button mat-icon-button (click)=\"toggle('views')\" [bizdocTooltip]=\"'View' | translate\" [attr.aria-label]=\"'View' | translate\" class=\"tool\"><mat-icon>data_usage</mat-icon></button>\n }\n <button mat-icon-button [matMenuTriggerFor]=\"optionsMenu\" [bizdocTooltip]=\"'Options' | translate\" [attr.aria-label]=\"'Options' | translate\"><mat-icon>more_vert</mat-icon></button>\n <mat-menu #optionsMenu=\"matMenu\">\n <ng-template matMenuContent>\n <button mat-menu-item (click)=\"form.copy()\" [disabled]=\"working\">\n <!--<mat-icon>content_copy</mat-icon>-->\n <span>{{'Copy' | translate}}</span>\n </button>\n @if (model.draft && !model.issued) {\n <button mat-menu-item (click)=\"discard()\" [disabled]=\"working\">\n <!--<mat-icon>delete_outlined</mat-icon>-->\n <span>{{'Discard' | translate}}</span>\n </button>\n }\n @if (form.help) {\n <mat-divider></mat-divider>\n <button mat-menu-item (click)=\"form.guide(form.help)\">\n <!--<mat-icon>help_outline</mat-icon>-->\n <span>{{'Help' | translate}}</span>\n </button>\n }\n </ng-template>\n </mat-menu>\n</mat-toolbar>\n<mat-sidenav-container class=\"page-container\">\n <mat-sidenav-content>\n <bizdoc-form [model]=model #form (validChange)=\"valid=$event\"\n (workingChange)=\"working=$event\" [page]=\"page\"\n (dirtyChange)=\"dirty=$event\" [mode]=\"mode\"></bizdoc-form>\n </mat-sidenav-content>\n <mat-sidenav mode=\"over\" position=\"end\" [opened]=\"false\" #drawer autoFocus=\"false\" class=\"side-nav\">\n @switch (viewMode) {\n @case ('views') {\n <bizdoc-document-views [model]=\"model\"></bizdoc-document-views>\n }\n @default {\n <bizdoc-comments [model]=\"model\"></bizdoc-comments>\n }\n }\n </mat-sidenav>\n</mat-sidenav-container>\n", styles: [".page-container ::ng-deep form{padding:6px}.side-nav{min-width:280px}\n"], dependencies: [{ kind: "directive", type: i4.MatBadge, selector: "[matBadge]", inputs: ["matBadgeColor", "matBadgeOverlap", "matBadgeDisabled", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { kind: "component", type: i5.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i6.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: i6.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: i6.MatSidenavContent, selector: "mat-sidenav-content" }, { kind: "component", type: i7.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "component", type: i8.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i9.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i10.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i10.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i10.MatMenuContent, selector: "ng-template[matMenuContent]" }, { kind: "directive", type: i10.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: i11.DocumentViewsComponent, selector: "bizdoc-document-views", inputs: ["model"] }, { kind: "component", type: i12.CommentsComponent, selector: "bizdoc-comments", inputs: ["model"], outputs: ["change"] }, { kind: "component", type: i13.ComposeFormComponent, selector: "bizdoc-form", inputs: ["model", "working", "dirty", "valid", "page", "mode", "contacts"], outputs: ["modelChange", "workingChange", "dirtyChange", "validChange", "saved"] }, { kind: "directive", type: i14.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i15.ArraySortPipe, name: "sort" }, { kind: "pipe", type: i16.TranslatePipe, name: "translate" }] }); }
98
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ComposeMobileComponent, deps: [{ token: i1.WindowTitleService }, { token: i2.SessionService }, { token: i3.Router }, { token: i3.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component }); }
99
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.1", type: ComposeMobileComponent, selector: "ng-component", viewQueries: [{ propertyName: "form", first: true, predicate: ComposeFormComponent, descendants: true, static: true }, { propertyName: "comments", first: true, predicate: CommentsComponent, descendants: true }, { propertyName: "drawer", first: true, predicate: MatSidenav, descendants: true, static: true }], ngImport: i0, template: "<mat-toolbar class=\"nav-toolbar\">\n @if (page !== undefined) {\n <button mat-icon-button (click)=\"form.back()\" [bizdocTooltip]=\"'Back'|translate\" tabindex=\"1\">\n <mat-icon class=\"mat-icon-rtl-mirror\">arrow_circle_left</mat-icon>\n </button>\n }\n @if (model.draft) {\n <button mat-icon-button color=\"primary\" data-help=\"submit\"\n (click)=\"submit()\" [disabled]=\"!valid||working\" [bizdocTooltip]=\"'Submit' | translate\">\n <mat-icon class=\"mat-icon-rtl-mirror\">send</mat-icon>\n </button>\n }\n @if (form.actions.length === 1) {\n <button mat-icon-button color=\"primary\" [attr.data-help]=\"'action-'+form.actions[0].name\" (click)=\"send(model.actions[0])\" [disabled]=\"!valid||working\" [bizdocTooltip]=\"form.actions[0].title\">\n <mat-icon class=\"mat-icon-rtl-mirror\">{{form.actions[0].icon || 'send'}}</mat-icon>\n </button>\n }\n @else if (form.actions.length > 1) {\n <button mat-icon-button data-help=\"send\" color=\"primary\" [matMenuTriggerFor]=\"actionmenu\" [disabled]=\"!valid||working\" [bizdocTooltip]=\"'Send' | translate\">\n <mat-icon class=\"mat-icon-rtl-mirror\">send</mat-icon>\n </button>\n }\n <!-- action -->\n <mat-menu #actionmenu>\n @for (a of form.actions | sort : 'group'; track a; let i = $index) {\n @if (i > 0 && form.actions[i-1].group !== a.group) {\n <mat-divider></mat-divider>\n }\n <button mat-menu-item (click)=\"send(a.name)\">{{a.title}}</button>\n }\n </mat-menu>\n @if (mode === 'compose') {\n <button mat-icon-button (click)=\"form.save().subscribe()\" data-help=\"save\" [disabled]=\"!dirty||working\" [bizdocTooltip]=\"(model.draft ? 'SaveDraft' : 'Save') | translate\">\n <mat-icon>save</mat-icon>\n </button>\n }\n <button mat-icon-button data-help=\"tag\" (click)=\"form.tag($event)\" [bizdocTooltip]=\"'Tags' | translate\" [disabled]=\"working\"><mat-icon class=\"filled\">{{model.tags && model.tags.length ?'bookmark':'bookmark_border'}}</mat-icon></button>\n <button mat-icon-button data-help=\"flag\" [bizdocTooltip]=\"'Flagged'| translate\" [disabled]=\"working\" (click)=\"form.flag()\"><mat-icon class=\"filled\">{{model.flag ? 'star' : 'star_border'}}</mat-icon></button>\n <button mat-icon-button (click)=\"form.attach()\" data-help=\"attach\" [bizdocTooltip]=\"'AttachFile' | translate\" [disabled]=\"working\"><mat-icon>attach_file</mat-icon></button>\n @if (mode !== 'compose' && !model.completed && model.pending) {\n <button mat-icon-button [disabled]=\"working\" data-help=\"edit\" (click)=\"edit()\" [bizdocTooltip]=\"'Edit' | translate\"><mat-icon>create</mat-icon></button>\n }\n <span class=\"divider\"></span>\n <button mat-icon-button (click)=\"toggle('comments')\" data-help=\"comments\" [bizdocTooltip]=\"'Comments' | translate\" [matBadge]=\"newCommentsCount\" [matBadgeHidden]=\"!newCommentsCount\" matBadgeColor=\"accent\">\n <mat-icon class=\"filled\">format_quote</mat-icon>\n </button>\n @if (enableAnalysis) {\n <button mat-icon-button (click)=\"toggle('views')\" [bizdocTooltip]=\"'View' | translate\" [attr.aria-label]=\"'View' | translate\" class=\"tool\"><mat-icon>data_usage</mat-icon></button>\n }\n <button mat-icon-button [matMenuTriggerFor]=\"optionsMenu\" [bizdocTooltip]=\"'Options' | translate\" [attr.aria-label]=\"'Options' | translate\"><mat-icon>more_vert</mat-icon></button>\n <mat-menu #optionsMenu=\"matMenu\">\n <ng-template matMenuContent>\n <button mat-menu-item (click)=\"form.copy()\" [disabled]=\"working\">\n <!--<mat-icon>content_copy</mat-icon>-->\n <span>{{'Copy' | translate}}</span>\n </button>\n @if (model.draft && !model.issued) {\n <button mat-menu-item (click)=\"discard()\" [disabled]=\"working\">\n <!--<mat-icon>delete_outlined</mat-icon>-->\n <span>{{'Discard' | translate}}</span>\n </button>\n }\n @if (form.help) {\n <mat-divider></mat-divider>\n <button mat-menu-item (click)=\"form.guide(form.help)\">\n <!--<mat-icon>help_outline</mat-icon>-->\n <span>{{'Help' | translate}}</span>\n </button>\n }\n </ng-template>\n </mat-menu>\n</mat-toolbar>\n<mat-sidenav-container class=\"page-container\">\n <mat-sidenav-content>\n <bizdoc-form [model]=model #form (validChange)=\"valid=$event\"\n (workingChange)=\"working=$event\" [page]=\"page\"\n (dirtyChange)=\"dirty=$event\" [mode]=\"mode\"></bizdoc-form>\n </mat-sidenav-content>\n <mat-sidenav mode=\"over\" position=\"end\" [opened]=\"false\" #drawer autoFocus=\"false\" class=\"side-nav\">\n @switch (viewMode) {\n @case ('views') {\n <bizdoc-document-views [model]=\"model\"></bizdoc-document-views>\n }\n @default {\n <bizdoc-comments [model]=\"model\"></bizdoc-comments>\n }\n }\n </mat-sidenav>\n</mat-sidenav-container>\n", styles: [".page-container ::ng-deep form{padding:6px}.side-nav{min-width:280px}\n"], dependencies: [{ kind: "directive", type: i4.MatBadge, selector: "[matBadge]", inputs: ["matBadgeColor", "matBadgeOverlap", "matBadgeDisabled", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { kind: "component", type: i5.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i6.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: i6.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: i6.MatSidenavContent, selector: "mat-sidenav-content" }, { kind: "component", type: i7.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "component", type: i8.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i9.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i10.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i10.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i10.MatMenuContent, selector: "ng-template[matMenuContent]" }, { kind: "directive", type: i10.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: i11.DocumentViewsComponent, selector: "bizdoc-document-views", inputs: ["model"] }, { kind: "component", type: i12.CommentsComponent, selector: "bizdoc-comments", inputs: ["model"], outputs: ["change"] }, { kind: "component", type: i13.ComposeFormComponent, selector: "bizdoc-form", inputs: ["model", "working", "dirty", "valid", "page", "mode", "contacts"], outputs: ["modelChange", "workingChange", "dirtyChange", "validChange", "saved"] }, { kind: "directive", type: i14.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i15.ArraySortPipe, name: "sort" }, { kind: "pipe", type: i16.TranslatePipe, name: "translate" }] }); }
100
100
  }
101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ComposeMobileComponent, decorators: [{
101
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ComposeMobileComponent, decorators: [{
102
102
  type: Component,
103
103
  args: [{ template: "<mat-toolbar class=\"nav-toolbar\">\n @if (page !== undefined) {\n <button mat-icon-button (click)=\"form.back()\" [bizdocTooltip]=\"'Back'|translate\" tabindex=\"1\">\n <mat-icon class=\"mat-icon-rtl-mirror\">arrow_circle_left</mat-icon>\n </button>\n }\n @if (model.draft) {\n <button mat-icon-button color=\"primary\" data-help=\"submit\"\n (click)=\"submit()\" [disabled]=\"!valid||working\" [bizdocTooltip]=\"'Submit' | translate\">\n <mat-icon class=\"mat-icon-rtl-mirror\">send</mat-icon>\n </button>\n }\n @if (form.actions.length === 1) {\n <button mat-icon-button color=\"primary\" [attr.data-help]=\"'action-'+form.actions[0].name\" (click)=\"send(model.actions[0])\" [disabled]=\"!valid||working\" [bizdocTooltip]=\"form.actions[0].title\">\n <mat-icon class=\"mat-icon-rtl-mirror\">{{form.actions[0].icon || 'send'}}</mat-icon>\n </button>\n }\n @else if (form.actions.length > 1) {\n <button mat-icon-button data-help=\"send\" color=\"primary\" [matMenuTriggerFor]=\"actionmenu\" [disabled]=\"!valid||working\" [bizdocTooltip]=\"'Send' | translate\">\n <mat-icon class=\"mat-icon-rtl-mirror\">send</mat-icon>\n </button>\n }\n <!-- action -->\n <mat-menu #actionmenu>\n @for (a of form.actions | sort : 'group'; track a; let i = $index) {\n @if (i > 0 && form.actions[i-1].group !== a.group) {\n <mat-divider></mat-divider>\n }\n <button mat-menu-item (click)=\"send(a.name)\">{{a.title}}</button>\n }\n </mat-menu>\n @if (mode === 'compose') {\n <button mat-icon-button (click)=\"form.save().subscribe()\" data-help=\"save\" [disabled]=\"!dirty||working\" [bizdocTooltip]=\"(model.draft ? 'SaveDraft' : 'Save') | translate\">\n <mat-icon>save</mat-icon>\n </button>\n }\n <button mat-icon-button data-help=\"tag\" (click)=\"form.tag($event)\" [bizdocTooltip]=\"'Tags' | translate\" [disabled]=\"working\"><mat-icon class=\"filled\">{{model.tags && model.tags.length ?'bookmark':'bookmark_border'}}</mat-icon></button>\n <button mat-icon-button data-help=\"flag\" [bizdocTooltip]=\"'Flagged'| translate\" [disabled]=\"working\" (click)=\"form.flag()\"><mat-icon class=\"filled\">{{model.flag ? 'star' : 'star_border'}}</mat-icon></button>\n <button mat-icon-button (click)=\"form.attach()\" data-help=\"attach\" [bizdocTooltip]=\"'AttachFile' | translate\" [disabled]=\"working\"><mat-icon>attach_file</mat-icon></button>\n @if (mode !== 'compose' && !model.completed && model.pending) {\n <button mat-icon-button [disabled]=\"working\" data-help=\"edit\" (click)=\"edit()\" [bizdocTooltip]=\"'Edit' | translate\"><mat-icon>create</mat-icon></button>\n }\n <span class=\"divider\"></span>\n <button mat-icon-button (click)=\"toggle('comments')\" data-help=\"comments\" [bizdocTooltip]=\"'Comments' | translate\" [matBadge]=\"newCommentsCount\" [matBadgeHidden]=\"!newCommentsCount\" matBadgeColor=\"accent\">\n <mat-icon class=\"filled\">format_quote</mat-icon>\n </button>\n @if (enableAnalysis) {\n <button mat-icon-button (click)=\"toggle('views')\" [bizdocTooltip]=\"'View' | translate\" [attr.aria-label]=\"'View' | translate\" class=\"tool\"><mat-icon>data_usage</mat-icon></button>\n }\n <button mat-icon-button [matMenuTriggerFor]=\"optionsMenu\" [bizdocTooltip]=\"'Options' | translate\" [attr.aria-label]=\"'Options' | translate\"><mat-icon>more_vert</mat-icon></button>\n <mat-menu #optionsMenu=\"matMenu\">\n <ng-template matMenuContent>\n <button mat-menu-item (click)=\"form.copy()\" [disabled]=\"working\">\n <!--<mat-icon>content_copy</mat-icon>-->\n <span>{{'Copy' | translate}}</span>\n </button>\n @if (model.draft && !model.issued) {\n <button mat-menu-item (click)=\"discard()\" [disabled]=\"working\">\n <!--<mat-icon>delete_outlined</mat-icon>-->\n <span>{{'Discard' | translate}}</span>\n </button>\n }\n @if (form.help) {\n <mat-divider></mat-divider>\n <button mat-menu-item (click)=\"form.guide(form.help)\">\n <!--<mat-icon>help_outline</mat-icon>-->\n <span>{{'Help' | translate}}</span>\n </button>\n }\n </ng-template>\n </mat-menu>\n</mat-toolbar>\n<mat-sidenav-container class=\"page-container\">\n <mat-sidenav-content>\n <bizdoc-form [model]=model #form (validChange)=\"valid=$event\"\n (workingChange)=\"working=$event\" [page]=\"page\"\n (dirtyChange)=\"dirty=$event\" [mode]=\"mode\"></bizdoc-form>\n </mat-sidenav-content>\n <mat-sidenav mode=\"over\" position=\"end\" [opened]=\"false\" #drawer autoFocus=\"false\" class=\"side-nav\">\n @switch (viewMode) {\n @case ('views') {\n <bizdoc-document-views [model]=\"model\"></bizdoc-document-views>\n }\n @default {\n <bizdoc-comments [model]=\"model\"></bizdoc-comments>\n }\n }\n </mat-sidenav>\n</mat-sidenav-container>\n", styles: [".page-container ::ng-deep form{padding:6px}.side-nav{min-width:280px}\n"] }]
104
104
  }], ctorParameters: () => [{ type: i1.WindowTitleService }, { type: i2.SessionService }, { type: i3.Router }, { type: i3.ActivatedRoute }], propDecorators: { form: [{