@bizdoc/core 1.17.25 → 1.17.27

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 (415) hide show
  1. package/assets/bizdoc-schema.json +2 -7
  2. package/esm2020/lib/browse/browse-items.component.mjs +75 -55
  3. package/esm2020/lib/core/models.mjs +1 -1
  4. package/esm2020/lib/cube/pivot/pivot.component.mjs +6 -1
  5. package/esm2020/lib/dashboard/cube/filter/filter.component.mjs +5 -3
  6. package/fesm2015/bizdoc-core.mjs +92 -67
  7. package/fesm2015/bizdoc-core.mjs.map +1 -1
  8. package/fesm2020/bizdoc-core.mjs +92 -67
  9. package/fesm2020/bizdoc-core.mjs.map +1 -1
  10. package/lib/browse/browse-items.component.d.ts +8 -4
  11. package/lib/core/models.d.ts +1 -1
  12. package/package.json +1 -1
  13. package/bizdoc-core.d.ts.map +0 -1
  14. package/lib/admin/admin-dismiss.service.d.ts.map +0 -1
  15. package/lib/admin/admin-menu.component.d.ts.map +0 -1
  16. package/lib/admin/architecture/cube-axes-filter.component.d.ts.map +0 -1
  17. package/lib/admin/architecture/declarations.d.ts.map +0 -1
  18. package/lib/admin/architecture/designer-element.component.d.ts.map +0 -1
  19. package/lib/admin/architecture/designer-privileges.component.d.ts.map +0 -1
  20. package/lib/admin/architecture/designer.base.d.ts.map +0 -1
  21. package/lib/admin/architecture/designer.component.d.ts.map +0 -1
  22. package/lib/admin/architecture/elements/action.component.d.ts.map +0 -1
  23. package/lib/admin/architecture/elements/analysis-view.component.d.ts.map +0 -1
  24. package/lib/admin/architecture/elements/analysis-widget.component.d.ts.map +0 -1
  25. package/lib/admin/architecture/elements/anomaly-rule.component.d.ts.map +0 -1
  26. package/lib/admin/architecture/elements/attribute.component.d.ts.map +0 -1
  27. package/lib/admin/architecture/elements/box-form.component.d.ts.map +0 -1
  28. package/lib/admin/architecture/elements/configuration-datasource.component.d.ts.map +0 -1
  29. package/lib/admin/architecture/elements/control.component.d.ts.map +0 -1
  30. package/lib/admin/architecture/elements/cube-index-utility.component.d.ts.map +0 -1
  31. package/lib/admin/architecture/elements/cube-view.component.d.ts.map +0 -1
  32. package/lib/admin/architecture/elements/cube.component.d.ts.map +0 -1
  33. package/lib/admin/architecture/elements/document-state-widget.component.d.ts.map +0 -1
  34. package/lib/admin/architecture/elements/documents-report.component.d.ts.map +0 -1
  35. package/lib/admin/architecture/elements/documents-widget.component.d.ts.map +0 -1
  36. package/lib/admin/architecture/elements/explore-view.component.d.ts.map +0 -1
  37. package/lib/admin/architecture/elements/folder.component.d.ts.map +0 -1
  38. package/lib/admin/architecture/elements/form-invite.dialog.d.ts.map +0 -1
  39. package/lib/admin/architecture/elements/form.component.d.ts.map +0 -1
  40. package/lib/admin/architecture/elements/guide.component.d.ts.map +0 -1
  41. package/lib/admin/architecture/elements/matrix-view.component.d.ts.map +0 -1
  42. package/lib/admin/architecture/elements/node.component.d.ts.map +0 -1
  43. package/lib/admin/architecture/elements/parallel-view.component.d.ts.map +0 -1
  44. package/lib/admin/architecture/elements/performance-report.component.d.ts.map +0 -1
  45. package/lib/admin/architecture/elements/performance-widget.component.d.ts.map +0 -1
  46. package/lib/admin/architecture/elements/pivot-view.component.d.ts.map +0 -1
  47. package/lib/admin/architecture/elements/policy.component.d.ts.map +0 -1
  48. package/lib/admin/architecture/elements/report.component.d.ts.map +0 -1
  49. package/lib/admin/architecture/elements/return-to-role-action.component.d.ts.map +0 -1
  50. package/lib/admin/architecture/elements/role.component.d.ts.map +0 -1
  51. package/lib/admin/architecture/elements/rule.component.d.ts.map +0 -1
  52. package/lib/admin/architecture/elements/state.component.d.ts.map +0 -1
  53. package/lib/admin/architecture/elements/sum-view.component.d.ts.map +0 -1
  54. package/lib/admin/architecture/elements/tasks-report.component.d.ts.map +0 -1
  55. package/lib/admin/architecture/elements/type.component.d.ts.map +0 -1
  56. package/lib/admin/architecture/elements/usage-report.component.d.ts.map +0 -1
  57. package/lib/admin/architecture/elements/utility.component.d.ts.map +0 -1
  58. package/lib/admin/architecture/elements/view.component.d.ts.map +0 -1
  59. package/lib/admin/architecture/elements/widget.component.d.ts.map +0 -1
  60. package/lib/admin/architecture/icon-picker.component.d.ts.map +0 -1
  61. package/lib/admin/core/ace.input.d.ts.map +0 -1
  62. package/lib/admin/core/color-picker.input.d.ts.map +0 -1
  63. package/lib/admin/core/localized-string.component.d.ts.map +0 -1
  64. package/lib/admin/core/search.input.d.ts.map +0 -1
  65. package/lib/admin/diff/configuration-diff.component.d.ts.map +0 -1
  66. package/lib/admin/document-trace/document-trace.component.d.ts.map +0 -1
  67. package/lib/admin/document-trace/reassign.dialog.d.ts.map +0 -1
  68. package/lib/admin/document-trace/timeline.d.ts.map +0 -1
  69. package/lib/admin/document-trace/trace-element.component.d.ts.map +0 -1
  70. package/lib/admin/form/designer/box-designer.component.d.ts.map +0 -1
  71. package/lib/admin/form/designer/declarations.d.ts.map +0 -1
  72. package/lib/admin/form/designer/properties.component.d.ts.map +0 -1
  73. package/lib/admin/form/designer/section.component.d.ts.map +0 -1
  74. package/lib/admin/form/designer/settings.component.d.ts.map +0 -1
  75. package/lib/admin/form/form.resolve.service.d.ts.map +0 -1
  76. package/lib/admin/form/workflow/node-ref.d.ts.map +0 -1
  77. package/lib/admin/form/workflow/node.component.d.ts.map +0 -1
  78. package/lib/admin/form/workflow/role-node.component.d.ts.map +0 -1
  79. package/lib/admin/form/workflow/workflow.component.d.ts.map +0 -1
  80. package/lib/admin/indices/manage-cube-index.component.d.ts.map +0 -1
  81. package/lib/admin/patterns/patterns.component.d.ts.map +0 -1
  82. package/lib/admin/permissions/permissions.component.d.ts.map +0 -1
  83. package/lib/admin/positions/positions-popup.component.d.ts.map +0 -1
  84. package/lib/admin/positions/positions.component.d.ts.map +0 -1
  85. package/lib/admin/profiler/outofoffice.component.d.ts.map +0 -1
  86. package/lib/admin/profiler/profiler.component.d.ts.map +0 -1
  87. package/lib/admin/system.service.d.ts.map +0 -1
  88. package/lib/admin/utility-ref.d.ts.map +0 -1
  89. package/lib/admin/utility-wrapper.component.d.ts.map +0 -1
  90. package/lib/admin/utility.pane.component.d.ts.map +0 -1
  91. package/lib/app.component.d.ts.map +0 -1
  92. package/lib/bizdoc.module.d.ts.map +0 -1
  93. package/lib/browse/browse-items.component.d.ts.map +0 -1
  94. package/lib/browse/browse.mobile.component.d.ts.map +0 -1
  95. package/lib/browse/browse.pane.component.d.ts.map +0 -1
  96. package/lib/browse/expanded-item/expanded-item.component.d.ts.map +0 -1
  97. package/lib/browse/filter/filter.component.d.ts.map +0 -1
  98. package/lib/browse/folders-menu.component.d.ts.map +0 -1
  99. package/lib/chat/chat-info.d.ts.map +0 -1
  100. package/lib/chat/chat.mobile.component.d.ts.map +0 -1
  101. package/lib/chat/chat.service.d.ts.map +0 -1
  102. package/lib/chat/contacts.component.d.ts.map +0 -1
  103. package/lib/chat/contacts.pane.component.d.ts.map +0 -1
  104. package/lib/chat/conversation.component.d.ts.map +0 -1
  105. package/lib/chat/conversation.pane.component.d.ts.map +0 -1
  106. package/lib/compose/action/action-picker.component.d.ts.map +0 -1
  107. package/lib/compose/action/action-ref.d.ts.map +0 -1
  108. package/lib/compose/action/action.base.d.ts.map +0 -1
  109. package/lib/compose/action/action.dialog.d.ts.map +0 -1
  110. package/lib/compose/action/action.pane.dialog.exp.d.ts.map +0 -1
  111. package/lib/compose/action/assign-action.component.d.ts.map +0 -1
  112. package/lib/compose/action/moveto-action.component.d.ts.map +0 -1
  113. package/lib/compose/action/return-action.component.d.ts.map +0 -1
  114. package/lib/compose/attachments/attachments.component.d.ts.map +0 -1
  115. package/lib/compose/attachments/preview/attachment-preview.component.d.ts.map +0 -1
  116. package/lib/compose/attachments/progress-button.directive.d.ts.map +0 -1
  117. package/lib/compose/box/box.component.d.ts.map +0 -1
  118. package/lib/compose/box/control.component.d.ts.map +0 -1
  119. package/lib/compose/box/row.component.d.ts.map +0 -1
  120. package/lib/compose/can-deactivate-changes.service.d.ts.map +0 -1
  121. package/lib/compose/comments/comment.component.d.ts.map +0 -1
  122. package/lib/compose/comments/comments.component.d.ts.map +0 -1
  123. package/lib/compose/comments/comments.pane.component.d.ts.map +0 -1
  124. package/lib/compose/comments/edit-comment.component.d.ts.map +0 -1
  125. package/lib/compose/comments/edits.component.d.ts.map +0 -1
  126. package/lib/compose/comments/quick-comment.component.exp.d.ts.map +0 -1
  127. package/lib/compose/comments/votes.component.d.ts.map +0 -1
  128. package/lib/compose/compose-resolve.service.d.ts.map +0 -1
  129. package/lib/compose/compose.mobile.component.d.ts.map +0 -1
  130. package/lib/compose/compose.pane.component.d.ts.map +0 -1
  131. package/lib/compose/copy/copy.dialog.d.ts.map +0 -1
  132. package/lib/compose/dismiss.service.d.ts.map +0 -1
  133. package/lib/compose/document-resolver.service.d.ts.map +0 -1
  134. package/lib/compose/document.component.d.ts.map +0 -1
  135. package/lib/compose/document.mobile.component.d.ts.map +0 -1
  136. package/lib/compose/document.pane.component.d.ts.map +0 -1
  137. package/lib/compose/events/events.component.d.ts.map +0 -1
  138. package/lib/compose/form-ref.d.ts.map +0 -1
  139. package/lib/compose/form-selector/form-selector.sheet.d.ts.map +0 -1
  140. package/lib/compose/form.component.d.ts.map +0 -1
  141. package/lib/compose/new-menu.component.d.ts.map +0 -1
  142. package/lib/compose/privilage.directive.d.ts.map +0 -1
  143. package/lib/compose/recipient-resolver.service.d.ts.map +0 -1
  144. package/lib/compose/state.component.d.ts.map +0 -1
  145. package/lib/compose/tag/tags.component.d.ts.map +0 -1
  146. package/lib/compose/trace/flow.component.d.ts.map +0 -1
  147. package/lib/compose/trace/people.component.d.ts.map +0 -1
  148. package/lib/compose/trace/trace.base.d.ts.map +0 -1
  149. package/lib/compose/trace/trace.component.d.ts.map +0 -1
  150. package/lib/compose/trace/trace.pane.component.d.ts.map +0 -1
  151. package/lib/compose/version-compare/version-compare.component.d.ts.map +0 -1
  152. package/lib/compose/version-compare/version-compare.directive.d.ts.map +0 -1
  153. package/lib/compose/version-compare/version.pane.component.d.ts.map +0 -1
  154. package/lib/core/NgComponentOutlet.d.ts.map +0 -1
  155. package/lib/core/account.service.d.ts.map +0 -1
  156. package/lib/core/animated-icon/animated-icon.directive.d.ts.map +0 -1
  157. package/lib/core/animations.d.ts.map +0 -1
  158. package/lib/core/authentication.d.ts.map +0 -1
  159. package/lib/core/avatar/avatar.component.d.ts.map +0 -1
  160. package/lib/core/base.d.ts.map +0 -1
  161. package/lib/core/checkbox.d.ts.map +0 -1
  162. package/lib/core/colors.d.ts.map +0 -1
  163. package/lib/core/component-factory-resolver.d.ts.map +0 -1
  164. package/lib/core/configuration.d.ts.map +0 -1
  165. package/lib/core/datasource.service.d.ts.map +0 -1
  166. package/lib/core/decorators.d.ts.map +0 -1
  167. package/lib/core/fields/address.designer.d.ts.map +0 -1
  168. package/lib/core/fields/address.field.d.ts.map +0 -1
  169. package/lib/core/fields/autocomplete.field.d.ts.map +0 -1
  170. package/lib/core/fields/checkbox.designer.d.ts.map +0 -1
  171. package/lib/core/fields/checkbox.field.d.ts.map +0 -1
  172. package/lib/core/fields/checklist.designer.d.ts.map +0 -1
  173. package/lib/core/fields/checklist.field.d.ts.map +0 -1
  174. package/lib/core/fields/date-range.designer.d.ts.map +0 -1
  175. package/lib/core/fields/date-range.field.d.ts.map +0 -1
  176. package/lib/core/fields/date.designer.d.ts.map +0 -1
  177. package/lib/core/fields/date.field.d.ts.map +0 -1
  178. package/lib/core/fields/expression.field.d.ts.map +0 -1
  179. package/lib/core/fields/file.designer.d.ts.map +0 -1
  180. package/lib/core/fields/file.field.d.ts.map +0 -1
  181. package/lib/core/fields/html.designer.d.ts.map +0 -1
  182. package/lib/core/fields/html.field.d.ts.map +0 -1
  183. package/lib/core/fields/input.designer.d.ts.map +0 -1
  184. package/lib/core/fields/input.field.d.ts.map +0 -1
  185. package/lib/core/fields/localized-string.field.d.ts.map +0 -1
  186. package/lib/core/fields/numeric.designer.d.ts.map +0 -1
  187. package/lib/core/fields/numeric.field.d.ts.map +0 -1
  188. package/lib/core/fields/options.base.d.ts.map +0 -1
  189. package/lib/core/fields/options.component.d.ts.map +0 -1
  190. package/lib/core/fields/radio-button.designer.d.ts.map +0 -1
  191. package/lib/core/fields/radio-button.field.d.ts.map +0 -1
  192. package/lib/core/fields/select.designer.d.ts.map +0 -1
  193. package/lib/core/fields/select.field.d.ts.map +0 -1
  194. package/lib/core/fields/signature.designer.d.ts.map +0 -1
  195. package/lib/core/fields/signature.field.d.ts.map +0 -1
  196. package/lib/core/fields/switch.field.d.ts.map +0 -1
  197. package/lib/core/fields/textarea.designer.d.ts.map +0 -1
  198. package/lib/core/fields/textarea.field.d.ts.map +0 -1
  199. package/lib/core/fields/time.designer.d.ts.map +0 -1
  200. package/lib/core/fields/time.field.d.ts.map +0 -1
  201. package/lib/core/fields/timespan.field.d.ts.map +0 -1
  202. package/lib/core/fields/yesno.designer.d.ts.map +0 -1
  203. package/lib/core/fields/yesno.field.d.ts.map +0 -1
  204. package/lib/core/firebase.service.d.ts.map +0 -1
  205. package/lib/core/functions.d.ts.map +0 -1
  206. package/lib/core/guide/guide.component.d.ts.map +0 -1
  207. package/lib/core/guide/guide.service.d.ts.map +0 -1
  208. package/lib/core/guide/help-tip.component.d.ts.map +0 -1
  209. package/lib/core/http.interceptor.d.ts.map +0 -1
  210. package/lib/core/hub.service.d.ts.map +0 -1
  211. package/lib/core/identity/identity.component.d.ts.map +0 -1
  212. package/lib/core/info/attachment-info.service.d.ts.map +0 -1
  213. package/lib/core/info/document-info.service.d.ts.map +0 -1
  214. package/lib/core/info/location-info.component.d.ts.map +0 -1
  215. package/lib/core/info/map-info.d.ts.map +0 -1
  216. package/lib/core/inputs/address.input.d.ts.map +0 -1
  217. package/lib/core/inputs/auto-complete.input.d.ts.map +0 -1
  218. package/lib/core/inputs/combination-picker-body.d.ts.map +0 -1
  219. package/lib/core/inputs/combination-picker.d.ts.map +0 -1
  220. package/lib/core/inputs/combination-pool.d.ts.map +0 -1
  221. package/lib/core/inputs/file.input.d.ts.map +0 -1
  222. package/lib/core/inputs/select.input.d.ts.map +0 -1
  223. package/lib/core/inputs/signature.input.d.ts.map +0 -1
  224. package/lib/core/inputs/time-picker.d.ts.map +0 -1
  225. package/lib/core/inputs/timespan.input.d.ts.map +0 -1
  226. package/lib/core/layout.component.d.ts.map +0 -1
  227. package/lib/core/lottie-animation.d.ts.map +0 -1
  228. package/lib/core/mailbox.service.d.ts.map +0 -1
  229. package/lib/core/models.d.ts.map +0 -1
  230. package/lib/core/none.component.d.ts.map +0 -1
  231. package/lib/core/pipes/action.pipe.d.ts.map +0 -1
  232. package/lib/core/pipes/calendar.pipe.d.ts.map +0 -1
  233. package/lib/core/pipes/date-format.pipe.d.ts.map +0 -1
  234. package/lib/core/pipes/daterange.pipe.d.ts.map +0 -1
  235. package/lib/core/pipes/difference.pipe.d.ts.map +0 -1
  236. package/lib/core/pipes/duration-format.pipe.d.ts.map +0 -1
  237. package/lib/core/pipes/duration.pipe.d.ts.map +0 -1
  238. package/lib/core/pipes/form.pipe.d.ts.map +0 -1
  239. package/lib/core/pipes/join.pipe.d.ts.map +0 -1
  240. package/lib/core/pipes/localized-string.pipe.d.ts.map +0 -1
  241. package/lib/core/pipes/role.pipe.d.ts.map +0 -1
  242. package/lib/core/pipes/sanitize-html.pipe.d.ts.map +0 -1
  243. package/lib/core/pipes/sort.pipe.d.ts.map +0 -1
  244. package/lib/core/pipes/state.pipe.d.ts.map +0 -1
  245. package/lib/core/pipes/time-ago.pipe.d.ts.map +0 -1
  246. package/lib/core/pipes/translate.pipe.d.ts.map +0 -1
  247. package/lib/core/pipes/type-value.pipe.d.ts.map +0 -1
  248. package/lib/core/pipes/user-name.pipe.d.ts.map +0 -1
  249. package/lib/core/popup/popup-ref.d.ts.map +0 -1
  250. package/lib/core/popup/popup.component.d.ts.map +0 -1
  251. package/lib/core/popup/popup.service.d.ts.map +0 -1
  252. package/lib/core/popup/tooltip.directive.d.ts.map +0 -1
  253. package/lib/core/prompt/ask/ask.dialog.d.ts.map +0 -1
  254. package/lib/core/prompt/mask/mask.component.d.ts.map +0 -1
  255. package/lib/core/prompt.service.d.ts.map +0 -1
  256. package/lib/core/router.d.ts.map +0 -1
  257. package/lib/core/save-changes.dialog.d.ts.map +0 -1
  258. package/lib/core/session.service.d.ts.map +0 -1
  259. package/lib/core/slots/pane-ref.d.ts.map +0 -1
  260. package/lib/core/slots/router.directive.d.ts.map +0 -1
  261. package/lib/core/slots/router.service.d.ts.map +0 -1
  262. package/lib/core/slots/slots.component.d.ts.map +0 -1
  263. package/lib/core/tagging/documents.component.d.ts.map +0 -1
  264. package/lib/core/tagging/edit-input.component.d.ts.map +0 -1
  265. package/lib/core/tagging/emoji.component.d.ts.map +0 -1
  266. package/lib/core/tagging/tagging-item.directive.d.ts.map +0 -1
  267. package/lib/core/tagging/tagging.component-base.d.ts.map +0 -1
  268. package/lib/core/tagging/tagging.directive.d.ts.map +0 -1
  269. package/lib/core/tagging/tagging.pipe.d.ts.map +0 -1
  270. package/lib/core/tagging/users.component.d.ts.map +0 -1
  271. package/lib/core/translate.service.d.ts.map +0 -1
  272. package/lib/core/translations.d.ts.map +0 -1
  273. package/lib/core/window-title.service.d.ts.map +0 -1
  274. package/lib/cube/accum/accum.component.d.ts.map +0 -1
  275. package/lib/cube/chart/chart.component.d.ts.map +0 -1
  276. package/lib/cube/cube-info.service.d.ts.map +0 -1
  277. package/lib/cube/cube-menu.component.d.ts.map +0 -1
  278. package/lib/cube/cube-view.component.d.ts.map +0 -1
  279. package/lib/cube/cube.service.d.ts.map +0 -1
  280. package/lib/cube/declarations.d.ts.map +0 -1
  281. package/lib/cube/explore/document-item.component.d.ts.map +0 -1
  282. package/lib/cube/explore/explore-item.component.d.ts.map +0 -1
  283. package/lib/cube/explore/explore-items.component.d.ts.map +0 -1
  284. package/lib/cube/explore/explore.pane.component.d.ts.map +0 -1
  285. package/lib/cube/explore/item-resolver.service.d.ts.map +0 -1
  286. package/lib/cube/explore/item.pane.component.d.ts.map +0 -1
  287. package/lib/cube/filter/filter-tags.component.exp.d.ts.map +0 -1
  288. package/lib/cube/filter/filter.component.d.ts.map +0 -1
  289. package/lib/cube/grid/grid.component.d.ts.map +0 -1
  290. package/lib/cube/grid/spreadsheet.component.d.ts.map +0 -1
  291. package/lib/cube/matrix/matrix.base.d.ts.map +0 -1
  292. package/lib/cube/matrix/matrix.mobile.component.d.ts.map +0 -1
  293. package/lib/cube/matrix/matrix.pane.component.d.ts.map +0 -1
  294. package/lib/cube/matrix/popup.component.d.ts.map +0 -1
  295. package/lib/cube/matrix/table.component.d.ts.map +0 -1
  296. package/lib/cube/parallel/item.d.ts.map +0 -1
  297. package/lib/cube/parallel/parallel.component.d.ts.map +0 -1
  298. package/lib/cube/pivot/pivot.component.d.ts.map +0 -1
  299. package/lib/cube/sum/sum.component.d.ts.map +0 -1
  300. package/lib/cube/view-base.d.ts.map +0 -1
  301. package/lib/cube/view.mobile.component.d.ts.map +0 -1
  302. package/lib/cube/view.pane.component.d.ts.map +0 -1
  303. package/lib/dashboard/actions/actions.widget.d.ts.map +0 -1
  304. package/lib/dashboard/cube/accum-cube.widget.d.ts.map +0 -1
  305. package/lib/dashboard/cube/compare.widget.d.ts.map +0 -1
  306. package/lib/dashboard/cube/cube-analysis.base.d.ts.map +0 -1
  307. package/lib/dashboard/cube/cube-analysis.widget.d.ts.map +0 -1
  308. package/lib/dashboard/cube/cube-chart.widget.d.ts.map +0 -1
  309. package/lib/dashboard/cube/document-state.widget.d.ts.map +0 -1
  310. package/lib/dashboard/cube/documents.widget.d.ts.map +0 -1
  311. package/lib/dashboard/cube/filter/filter.component.d.ts.map +0 -1
  312. package/lib/dashboard/dashboard.component.d.ts.map +0 -1
  313. package/lib/dashboard/dashboard.pane.component.d.ts.map +0 -1
  314. package/lib/dashboard/recents/recents.widget.d.ts.map +0 -1
  315. package/lib/dashboard/score/activity.widget.d.ts.map +0 -1
  316. package/lib/dashboard/score/compare-groups.widget.d.ts.map +0 -1
  317. package/lib/dashboard/score/peers-performance.widget.d.ts.map +0 -1
  318. package/lib/dashboard/score/pending-results.widget.d.ts.map +0 -1
  319. package/lib/dashboard/score/personal-score.widget.d.ts.map +0 -1
  320. package/lib/dashboard/widget-item.component.d.ts.map +0 -1
  321. package/lib/dashboard/widget-ref.d.ts.map +0 -1
  322. package/lib/designer.module.d.ts.map +0 -1
  323. package/lib/desktop.module.d.ts.map +0 -1
  324. package/lib/home/about/about.dialog.d.ts.map +0 -1
  325. package/lib/home/home-base.component.d.ts.map +0 -1
  326. package/lib/home/home.desktop.component.d.ts.map +0 -1
  327. package/lib/home/home.mobile.component.d.ts.map +0 -1
  328. package/lib/home/notifications/notifications.component.d.ts.map +0 -1
  329. package/lib/home/options/options.component.d.ts.map +0 -1
  330. package/lib/home/outofoffice/outofoffice.component.d.ts.map +0 -1
  331. package/lib/home/sign/sign.component.d.ts.map +0 -1
  332. package/lib/home/tools.component.d.ts.map +0 -1
  333. package/lib/impersonate/impersonate.component.d.ts.map +0 -1
  334. package/lib/mobile.module.d.ts.map +0 -1
  335. package/lib/modules/chart.module.d.ts.map +0 -1
  336. package/lib/modules/circular-gauge.module.d.ts.map +0 -1
  337. package/lib/modules/date.adapter.d.ts.map +0 -1
  338. package/lib/modules/datepicker.intl.d.ts.map +0 -1
  339. package/lib/modules/dayjs.module.d.ts.map +0 -1
  340. package/lib/modules/diagram.module.d.ts.map +0 -1
  341. package/lib/modules/gantt.module.d.ts.map +0 -1
  342. package/lib/modules/grid.module.d.ts.map +0 -1
  343. package/lib/modules/material.module.d.ts.map +0 -1
  344. package/lib/modules/paginator.intl.d.ts.map +0 -1
  345. package/lib/modules/pivot.module.d.ts.map +0 -1
  346. package/lib/modules/schedule.module.d.ts.map +0 -1
  347. package/lib/modules/spreadsheet.module.d.ts.map +0 -1
  348. package/lib/modules/stepper.intl.d.ts.map +0 -1
  349. package/lib/modules/texteditor.module.d.ts.map +0 -1
  350. package/lib/notifications/filter.component.d.ts.map +0 -1
  351. package/lib/notifications/notifications-table.component.d.ts.map +0 -1
  352. package/lib/notifications/notifications.component-base.d.ts.map +0 -1
  353. package/lib/notifications/notifications.mobile.component.d.ts.map +0 -1
  354. package/lib/notifications/notifications.pane.component.d.ts.map +0 -1
  355. package/lib/notifications/notifications.service.d.ts.map +0 -1
  356. package/lib/notifications/types/commented.notification.d.ts.map +0 -1
  357. package/lib/notifications/types/cube-anomaly.notification.d.ts.map +0 -1
  358. package/lib/notifications/types/escalated.notification.d.ts.map +0 -1
  359. package/lib/notifications/types/invite.notification.d.ts.map +0 -1
  360. package/lib/notifications/types/liked.notification.d.ts.map +0 -1
  361. package/lib/notifications/types/long-running-task.notification.d.ts.map +0 -1
  362. package/lib/notifications/types/notification-base.d.ts.map +0 -1
  363. package/lib/notifications/types/nudge.notification.d.ts.map +0 -1
  364. package/lib/notifications/types/state-changed.notification.d.ts.map +0 -1
  365. package/lib/notifications/types/tagged.notification.d.ts.map +0 -1
  366. package/lib/notifications/types/text.notification.d.ts.map +0 -1
  367. package/lib/notifications/types/upcoming-event.notification.d.ts.map +0 -1
  368. package/lib/options/options.component.d.ts.map +0 -1
  369. package/lib/options/options.service.d.ts.map +0 -1
  370. package/lib/reports/arguments-component.d.ts.map +0 -1
  371. package/lib/reports/cube/documents.component.d.ts.map +0 -1
  372. package/lib/reports/cube/grid-documents.component.d.ts.map +0 -1
  373. package/lib/reports/cube/role-performance.component.d.ts.map +0 -1
  374. package/lib/reports/cube/table-documents.component.d.ts.map +0 -1
  375. package/lib/reports/cube/usage-args.component.d.ts.map +0 -1
  376. package/lib/reports/cube/usage-base.d.ts.map +0 -1
  377. package/lib/reports/cube/usage-chart.component.d.ts.map +0 -1
  378. package/lib/reports/cube/usage-pivot.component.d.ts.map +0 -1
  379. package/lib/reports/cube/usage.component.d.ts.map +0 -1
  380. package/lib/reports/report-ref.d.ts.map +0 -1
  381. package/lib/reports/report-viewer.component.d.ts.map +0 -1
  382. package/lib/reports/report.mobile.component.d.ts.map +0 -1
  383. package/lib/reports/report.pane.component.d.ts.map +0 -1
  384. package/lib/reports/reports-menu.component.d.ts.map +0 -1
  385. package/lib/reports/substitution/substitution.component.d.ts.map +0 -1
  386. package/lib/reports/table/table-view.component.d.ts.map +0 -1
  387. package/lib/reports/tasks/tasks.component.d.ts.map +0 -1
  388. package/lib/routes.desktop.d.ts.map +0 -1
  389. package/lib/routes.mobile.d.ts.map +0 -1
  390. package/lib/scheduler/schedule.component.d.ts.map +0 -1
  391. package/lib/scheduler/scheduler.mobile.component.d.ts.map +0 -1
  392. package/lib/scheduler/scheduler.pane.component.d.ts.map +0 -1
  393. package/lib/search/cube.component.d.ts.map +0 -1
  394. package/lib/search/declarations.d.ts.map +0 -1
  395. package/lib/search/document.component.d.ts.map +0 -1
  396. package/lib/search/guide.component.d.ts.map +0 -1
  397. package/lib/search/path.component.d.ts.map +0 -1
  398. package/lib/search/search.service.d.ts.map +0 -1
  399. package/lib/shared.module.d.ts.map +0 -1
  400. package/lib/system.module.d.ts.map +0 -1
  401. package/lib/views/cube/chart.component.d.ts.map +0 -1
  402. package/lib/views/cube/cube-base.d.ts.map +0 -1
  403. package/lib/views/cube/explore.component.d.ts.map +0 -1
  404. package/lib/views/cube/matrix.component.d.ts.map +0 -1
  405. package/lib/views/cube/parallel.component.d.ts.map +0 -1
  406. package/lib/views/cube/pivot.component.d.ts.map +0 -1
  407. package/lib/views/cube/sum.component.d.ts.map +0 -1
  408. package/lib/views/cube/view.component.d.ts.map +0 -1
  409. package/lib/views/document-view-ref.d.ts.map +0 -1
  410. package/lib/views/timeline/timeline.component.exp.d.ts.map +0 -1
  411. package/lib/views/view-item.component.d.ts.map +0 -1
  412. package/lib/views/views.component.d.ts.map +0 -1
  413. package/lib/views/views.mobile.component.d.ts.map +0 -1
  414. package/lib/views/views.pane.component.d.ts.map +0 -1
  415. package/public-api.d.ts.map +0 -1
@@ -5,7 +5,7 @@ import { MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-
5
5
  import { Subject, merge, Observable, of, fromEvent, forkJoin, takeUntil, shareReplay as shareReplay$1, tap as tap$1, map as map$1, BehaviorSubject, interval, takeWhile, filter as filter$1, debounceTime as debounceTime$1, from, first as first$1, throwError, switchMap as switchMap$1, isObservable, startWith as startWith$1, EMPTY } from 'rxjs';
6
6
  import { filter, map, tap, shareReplay, takeUntil as takeUntil$1, debounceTime, switchMap, startWith, first, take, finalize, catchError } from 'rxjs/operators';
7
7
  import { ESCAPE, RIGHT_ARROW, LEFT_ARROW, ENTER, COMMA, UP_ARROW, DOWN_ARROW, SEMICOLON, SPACE } from '@angular/cdk/keycodes';
8
- import * as i5$6 from '@angular/cdk/portal';
8
+ import * as i11$1 from '@angular/cdk/portal';
9
9
  import { TemplatePortal, ComponentPortal, PortalModule } from '@angular/cdk/portal';
10
10
  import * as i1 from '@angular/forms';
11
11
  import { Validators, FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
@@ -7189,37 +7189,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
7189
7189
  type: Injectable
7190
7190
  }], ctorParameters: function () { return [{ type: i1$4.Router }]; } });
7191
7191
 
7192
- /** */
7193
- class CheckboxComponent {
7194
- constructor() {
7195
- this.icon = 'checkbox';
7196
- }
7197
- }
7198
- CheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
7199
- CheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CheckboxComponent, selector: "bizdoc-checkbox", inputs: { checked: "checked", color: "color", icon: "icon" }, host: { classAttribute: "field" }, ngImport: i0, template: `
7200
- <div *ngIf="checked" class="container">
7201
- <mat-icon [color]="color">{{icon == 'checkbox' ? 'check_box' : 'toggle_on'}}</mat-icon>
7202
- <span class="mat-body-1">
7203
- <ng-content></ng-content>
7204
- </span>
7205
- </div>`, isInline: true, styles: [".container{display:flex;align-items:center}.container *{align-self:center}.container :last-child{padding-left:5px;padding-right:5px}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
7206
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CheckboxComponent, decorators: [{
7207
- type: Component,
7208
- args: [{ selector: 'bizdoc-checkbox', template: `
7209
- <div *ngIf="checked" class="container">
7210
- <mat-icon [color]="color">{{icon == 'checkbox' ? 'check_box' : 'toggle_on'}}</mat-icon>
7211
- <span class="mat-body-1">
7212
- <ng-content></ng-content>
7213
- </span>
7214
- </div>`, host: { class: 'field' }, styles: [".container{display:flex;align-items:center}.container *{align-self:center}.container :last-child{padding-left:5px;padding-right:5px}\n"] }]
7215
- }], propDecorators: { checked: [{
7216
- type: Input
7217
- }], color: [{
7218
- type: Input
7219
- }], icon: [{
7220
- type: Input
7221
- }] } });
7222
-
7223
7192
  class StateDirective {
7224
7193
  constructor(session, _element) {
7225
7194
  this._element = _element;
@@ -8230,7 +8199,7 @@ const TAKE = 200, SIZE = 20, HEADER_COLUMN_NAMES = ['number', 'subject', 'value'
8230
8199
  /** browse items component*/
8231
8200
  class BrowseItemsComponent {
8232
8201
  /** browse ctor */
8233
- constructor(_mailbox, _accounts, _cube, _session, _sb, _translate, _cd, _router, _messaging, _config) {
8202
+ constructor(_mailbox, _accounts, _cube, _session, _sb, _translate, _cd, _router, _messaging, _cfr, _config) {
8234
8203
  this._mailbox = _mailbox;
8235
8204
  this._accounts = _accounts;
8236
8205
  this._cube = _cube;
@@ -8240,6 +8209,7 @@ class BrowseItemsComponent {
8240
8209
  this._cd = _cd;
8241
8210
  this._router = _router;
8242
8211
  this._messaging = _messaging;
8212
+ this._cfr = _cfr;
8243
8213
  this._config = _config;
8244
8214
  this.onopen = new EventEmitter();
8245
8215
  this.onview = new EventEmitter();
@@ -8330,7 +8300,7 @@ class BrowseItemsComponent {
8330
8300
  subscribe(e => this.loading = e);
8331
8301
  }
8332
8302
  ngOnChanges(_) {
8333
- this.displayedColumns = this._columns();
8303
+ this._columns();
8334
8304
  this.refresh();
8335
8305
  }
8336
8306
  get folder() {
@@ -8383,6 +8353,15 @@ class BrowseItemsComponent {
8383
8353
  subscribe(r => {
8384
8354
  this.selection.clear();
8385
8355
  this.dataSource = new MatTableDataSource(r);
8356
+ if (this.dataColumns.length) {
8357
+ const { controls } = this._session.profile;
8358
+ r.forEach(i => this.dataColumns.forEach(c => {
8359
+ const { type, name } = c;
8360
+ if (!controls[type])
8361
+ controls[type] = controls.find(c => c.name === type);
8362
+ i[name] = new ComponentPortal(this._cfr.component(controls[type].template));
8363
+ }));
8364
+ }
8386
8365
  this.sort.active = this.sorting;
8387
8366
  this.sort.start = this.direction;
8388
8367
  this.dataSource.sort = this.sort;
@@ -8548,8 +8527,15 @@ class BrowseItemsComponent {
8548
8527
  this.dataSource.filter = '';
8549
8528
  }), map(() => items));
8550
8529
  }
8551
- _add(m) {
8552
- this.dataSource.data.splice(0, 0, m);
8530
+ _add(item) {
8531
+ const { controls } = this._session.profile;
8532
+ this.dataColumns.forEach(c => {
8533
+ const { type, name } = c;
8534
+ if (!controls[type])
8535
+ controls[type] = controls.find(c => c.name === type);
8536
+ item[name] = new ComponentPortal(this._cfr.component(controls[type].template));
8537
+ });
8538
+ this.dataSource.data.splice(0, 0, item);
8553
8539
  this.dataSource.filter = '';
8554
8540
  }
8555
8541
  _remove(item) {
@@ -8559,42 +8545,43 @@ class BrowseItemsComponent {
8559
8545
  this._cd.markForCheck();
8560
8546
  }
8561
8547
  _columns() {
8562
- const columns = ['select'];
8548
+ this.displayedColumns = ['select'];
8563
8549
  if (this.folder && this.folder.columns)
8564
- this._appendcolumns(this.folder.columns, columns);
8550
+ this._addDataColumns(this.folder.columns);
8565
8551
  else if (!this.folder) {
8566
8552
  const folder = this._session.profile.folders.find(f => f.name === 'fav');
8567
8553
  if (folder && folder.columns)
8568
- this._appendcolumns(folder.columns, columns);
8569
- else {
8570
- columns.push('number');
8571
- if (!this.isMobile) {
8572
- columns.push('subject');
8573
- }
8574
- columns.push('value');
8575
- }
8554
+ this._addDataColumns(folder.columns);
8555
+ else
8556
+ defaults();
8576
8557
  }
8577
8558
  else if (this._config.folders && this._config.folders.columns)
8578
- this._appendcolumns(this._config.folders.columns, columns);
8579
- else {
8580
- columns.push('number');
8559
+ this._addDataColumns(this._config.folders.columns);
8560
+ else
8561
+ defaults();
8562
+ this.displayedColumns.push('options');
8563
+ function defaults() {
8564
+ this.displayedColumns.push('number');
8581
8565
  if (!this.isMobile) {
8582
- columns.push('subject');
8566
+ this.displayedColumns.push('subject');
8583
8567
  }
8584
- columns.push('value');
8568
+ this.displayedColumns.push('value');
8585
8569
  }
8586
- columns.push('options');
8587
- return columns;
8588
8570
  }
8589
- _appendcolumns(source, columns) {
8590
- this.customColumns = [];
8591
- source.forEach(c => {
8592
- if (HEADER_COLUMN_NAMES.indexOf(c.name) > -1)
8593
- columns.push(c.name);
8594
- else
8595
- this.customColumns.push(c);
8571
+ _addDataColumns(columns) {
8572
+ this.dataColumns = [];
8573
+ columns.forEach(c => {
8574
+ this.displayedColumns.push(c.name);
8575
+ if (HEADER_COLUMN_NAMES.indexOf(c.name) < 0) {
8576
+ this.dataColumns.push(c);
8577
+ }
8596
8578
  });
8597
8579
  }
8580
+ dataColumnAttached(item, column, componentRef) {
8581
+ const { instance } = componentRef;
8582
+ instance.mode = 'preview';
8583
+ instance.control.setValue(item.model[column.name]);
8584
+ }
8598
8585
  sendAll(action, args) {
8599
8586
  const params = queryParams(args);
8600
8587
  this._forEach(i => this._mailbox.send(i.id, i.version, i.formId, null, action, params, i.read, i.folderId, i.received).
@@ -8623,8 +8610,8 @@ class BrowseItemsComponent {
8623
8610
  this._destroy.complete();
8624
8611
  }
8625
8612
  }
8626
- BrowseItemsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: BrowseItemsComponent, deps: [{ token: MailboxService }, { token: AccountService }, { token: CubeService }, { token: SessionService }, { token: PromptService }, { token: TranslateService }, { token: i0.ChangeDetectorRef }, { token: RouterImpl }, { token: HubService }, { token: BIZDOC_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
8627
- BrowseItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: BrowseItemsComponent, selector: "bizdoc-browse-items", inputs: { folderId: "folderId", filterType: "filterType", filters: "filters" }, outputs: { onopen: "open", onview: "view" }, host: { classAttribute: "bizdoc-browse-items" }, viewQueries: [{ propertyName: "sort", first: true, predicate: MatSort, descendants: true, static: true }, { propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<mat-progress-bar mode=\"query\" [style.visibility]=\"loading ? 'visible':'hidden'\"></mat-progress-bar>\r\n<bizdoc-none *ngIf=\"dataSource?.data.length === 0\" title=\"NoMessages\" [subtitle]=\"!isMobile && folderId === DRAFT ? 'AltN' : null\" icon=\"mail_outline\"></bizdoc-none>\r\n<mat-table cdkDropList class=\"data-table\"\r\n [cdkDropListDisabled]=\"isMobile\"\r\n [cdkDropListData]=\"dataSource?.data\"\r\n cdkDropListConnectedTo=\"folders\"\r\n cdkDropListSortingDisabled\r\n [dataSource]=\"dataSource\" matSort multiTemplateDataRows (matSortChange)=\"sortData()\"\r\n id=\"browse-table\" [@list]=\"dataSource\" [style.display]=\"dataSource?.data.length ?'':'none'\">\r\n <ng-container matColumnDef=\"select\">\r\n <mat-header-cell *matHeaderCellDef>\r\n <div class=\"\"></div>\r\n <mat-checkbox (change)=\"$event ? masterToggle() : null\" [aria-label]=\"'Check'|translate\"\r\n [checked]=\"selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\">\r\n </mat-checkbox>\r\n </mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\">\r\n <mat-checkbox (click)=\"$event.stopPropagation()\" [aria-label]=\"'Check'|translate\"\r\n (change)=\"$event ? selection.toggle(item) : null\"\r\n [checked]=\"selection.isSelected(item)\">\r\n </mat-checkbox>\r\n <!-- drag -->\r\n <!--<button mat-icon-button cdkDragHandle\r\n (mousedown)=\"dragDisabled = false\"\r\n (mouseup)=\"dragDisabled = true\"\r\n (touchstart)=\"dragDisabled = false\"\r\n (touchend)=\"dragDisabled = true\"\r\n class=\"drag hide-xs\" aria-disabled=\"true\">\r\n <mat-icon>drag_indicator</mat-icon>\r\n </button>-->\r\n <button mat-icon-button (click)=\"toggleExpanded(item, $event)\" [bizdocTooltip]=\"'Details' | translate\" [attr.aria-label]=\"'Details' | translate\" class=\"tool\"><mat-icon>{{item == expandedElement ? 'unfold_less' : 'unfold_more'}}</mat-icon></button>\r\n </mat-cell>\r\n </ng-container>\r\n <!-- Number column -->\r\n <ng-container matColumnDef=\"number\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Number' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.number}} </mat-cell>\r\n </ng-container>\r\n\r\n <!-- Subject column -->\r\n <ng-container matColumnDef=\"subject\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Subject' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.subject}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"owner\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Owner' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <bizdoc-identity-name *ngIf=\"item.ownerId\" [identity]=\"item.ownerId\" [by]=\"item.ownerById\"></bizdoc-identity-name>\r\n </mat-cell>\r\n </ng-container>\r\n <ng-container matColumnDef=\"sender\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Sender' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <bizdoc-identity-name *ngIf=\"item.senderId\" [identity]=\"item.senderId\" [by]=\"item.byId\"></bizdoc-identity-name>\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"received\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Received' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.received | amCalendar}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"receivedAgo\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header=\"received\">{{'Received' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\" [bizdocTooltip]=\"item.received | amCalendar\">{{item.received | amTimeAgo}}</mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"replied\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Replied' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.replied | amCalendar}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"issued\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Issued' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.issued | amCalendar}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"issuedAgo\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header=\"issued\">{{'Issued' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\" [bizdocTooltip]=\"item.issued | amCalendar\"> {{item.issued | amTimeAgo}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"state\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header=\"stateId\">{{'Status' | translate }}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <bizdoc-status [stateId]=\"item.stateId\"></bizdoc-status>\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"customColumns\">\r\n <ng-container *ngFor=\"let c of customColumns\" [matColumnDef]=\"c.name\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header> {{c.title}} </mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <ng-container [ngSwitch]=\"c.type\">\r\n <span *ngSwitchCase=\"'Date'\">\r\n {{item.model[c.name] | amCalendar }}\r\n </span>\r\n <span *ngSwitchCase=\"'Decimal'\">\r\n {{item.model[c.name] | number }}\r\n </span>\r\n <span *ngSwitchCase=\"'Boolean'\">\r\n <bizdoc-checkbox [checked]=\"item.model[c.name]\"></bizdoc-checkbox>\r\n </span>\r\n <span *ngSwitchDefault>\r\n {{item.model[c.name]}}z\r\n </span>\r\n </ng-container>\r\n </mat-cell>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <!-- Value column -->\r\n <ng-container matColumnDef=\"value\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Amount' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.value | currency : item.currencyCode : 'symbol' : currencyFormat}} </mat-cell>\r\n </ng-container>\r\n\r\n <!-- options column -->\r\n <ng-container matColumnDef=\"options\">\r\n <mat-header-cell *matHeaderCellDef></mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\">\r\n <button mat-icon-button (click)=\"flag(item, $event)\" [bizdocTooltip]=\"'Flagged'| translate\" [attr.aria-label]=\"'ToggleFlagged' | translate\" class=\"tool\"><mat-icon [class.document-flag]=\"item.flag\">{{item.flag ? 'star' : 'star_border'}}</mat-icon></button>\r\n <button mat-icon-button (click)=\"view(item, $event)\" [bizdocTooltip]=\"'View' | translate\" [attr.aria-label]=\"'View' | translate\" class=\"tool\" *ngIf=\"enableAnalysis\"><mat-icon>data_usage</mat-icon></button>\r\n <button mat-icon-button (click)=\"$event.stopPropagation()\" [matMenuTriggerFor]=\"menu\" [matMenuTriggerData]=\"{item: item}\" [bizdocTooltip]=\"'Options' | translate\" [attr.aria-label]=\"'Options' | translate\" class=\"tool hide-xs\"><mat-icon>more_vert</mat-icon></button>\r\n </mat-cell>\r\n </ng-container>\r\n <!-- Expanded Content Column -->\r\n <ng-container matColumnDef=\"expandedDetail\">\r\n <mat-cell *matCellDef=\"let item\" [attr.colspan]=\"displayedColumns.length\" [@updated]=\"item == updatedElement\"\r\n [class.read-row]=\"item.read\">\r\n <div [@detailExpand]=\"item == expandedElement ? 'expanded' : 'collapsed'\" style=\"width: 100%\">\r\n <bizdoc-expanded-item [model]=\"item\" *ngIf=\"item == expandedElement\"></bizdoc-expanded-item>\r\n </div>\r\n </mat-cell>\r\n </ng-container>\r\n <mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></mat-header-row>\r\n <mat-row @item [@updated]=\"item == updatedElement\"\r\n *matRowDef=\"let item; let dataIndex = dataIndex; columns: displayedColumns;\" class=\"element-row\"\r\n cdkDrag [cdkDragData]=\"item\"\r\n [cdkDragDisabled]=\"dragDisabled\"\r\n (cdkDragReleased)=\"dragDisabled = true\"\r\n [ngClass]=\"{'selecteded-row': selectedElement === item,\r\n 'expanded-row': expandedElement === item,\r\n 'odd-row': dataIndex % 2,\r\n 'read-row': item.read}\" matRipple\r\n (click)=\"open(item, $event)\">\r\n <div *cdkDragPreview>\r\n <button mat-icon-button aria-disabled=\"true\"><mat-icon>drag_indicator</mat-icon></button> <span>#{{item.number}}</span>\r\n </div>\r\n <div *cdkDragPlaceholder>\r\n <!-- none -->\r\n </div>\r\n </mat-row>\r\n <mat-row *matRowDef=\"let item; ; let dataIndex = dataIndex; columns: ['expandedDetail']\"\r\n class=\"detail-row\" matRipple\r\n [ngClass]=\"{ 'selecteded-row': selectedElement === item,\r\n 'odd-row': dataIndex % 2\r\n }\"></mat-row>\r\n</mat-table>\r\n<mat-paginator #paginator [hidePageSize]=\"true\" [pageSize]=\"PAGE_SIZE\" [style.display]=\"!isMobile && dataSource?.data.length>PAGE_SIZE ? '':'none'\"></mat-paginator>\r\n<mat-menu #menu=\"matMenu\">\r\n <ng-template matMenuContent let-item=\"item\">\r\n <button mat-menu-item (click)=\"open(item, $event)\">{{'Open'|translate}}</button>\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"toggleRead(item)\">{{(item.read ?'MarkAsUnread':'MarkAsRead')|translate}}</button>\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"copy(item)\">{{'Copy'| translate}}</button>\r\n </ng-template>\r\n</mat-menu>\r\n", styles: ["#browse-table{width:100%}#browse-table .detail-row{min-height:0}#browse-table .element-row{cursor:pointer}#browse-table .element-row .drag{cursor:move}#browse-table .read-row{font-weight:100}@media screen and (min-width: 600px){.mat-row .tool{opacity:.05}.mat-row:hover .tool{opacity:1}}::ng-deep .mat-column-options{justify-content:end;padding-inline-end:8px}::ng-deep .mat-column-value{justify-content:right}::ng-deep .mat-column-select{white-space:nowrap}::ng-deep .mat-column-number{white-space:nowrap}\n"], dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$2.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i3$1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i3$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i3$1.CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: ["data", "matchSize"] }, { kind: "directive", type: i3$1.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { kind: "directive", type: i3$2.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "component", type: i4$1.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i4$1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i4$1.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i4$1.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i4$1.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i4$1.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i4$1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i4$1.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i4$1.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i4$1.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "directive", type: i5$3.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "component", type: i5$3.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "mat-sort-header", "arrowPosition", "start", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "component", type: i8$1.MatPaginator, selector: "mat-paginator", inputs: ["disabled"], exportAs: ["matPaginator"] }, { kind: "component", type: i7$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: i7.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i9.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i2$2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i11.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i11.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i11.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i11.MatMenuContent, selector: "ng-template[matMenuContent]" }, { kind: "component", type: CheckboxComponent, selector: "bizdoc-checkbox", inputs: ["checked", "color", "icon"] }, { kind: "directive", type: StateDirective, selector: "bizdoc-status", inputs: ["stateId"] }, { kind: "component", type: IdentityName, selector: "bizdoc-identity-name", inputs: ["identity", "by", "chating"] }, { kind: "component", type: NoneComponent, selector: "bizdoc-none", inputs: ["title", "subtitle", "icon"] }, { kind: "component", type: ExpandedItemComponent, selector: "bizdoc-expanded-item", inputs: ["model"], outputs: ["sent"] }, { kind: "directive", type: TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i1$2.DecimalPipe, name: "number" }, { kind: "pipe", type: i1$2.CurrencyPipe, name: "currency" }, { kind: "pipe", type: CalendarPipe, name: "amCalendar" }, { kind: "pipe", type: TimeAgoPipe, name: "amTimeAgo" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], animations: [
8613
+ BrowseItemsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: BrowseItemsComponent, deps: [{ token: MailboxService }, { token: AccountService }, { token: CubeService }, { token: SessionService }, { token: PromptService }, { token: TranslateService }, { token: i0.ChangeDetectorRef }, { token: RouterImpl }, { token: HubService }, { token: BizDocComponentFactoryResolver }, { token: BIZDOC_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
8614
+ BrowseItemsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: BrowseItemsComponent, selector: "bizdoc-browse-items", inputs: { folderId: "folderId", filterType: "filterType", filters: "filters" }, outputs: { onopen: "open", onview: "view" }, host: { classAttribute: "bizdoc-browse-items" }, viewQueries: [{ propertyName: "sort", first: true, predicate: MatSort, descendants: true, static: true }, { propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<mat-progress-bar mode=\"query\" [style.visibility]=\"loading ? 'visible':'hidden'\"></mat-progress-bar>\r\n<bizdoc-none *ngIf=\"dataSource?.data.length === 0\" title=\"NoMessages\" [subtitle]=\"!isMobile && folderId === DRAFT ? 'AltN' : null\" icon=\"mail_outline\"></bizdoc-none>\r\n<mat-table cdkDropList class=\"data-table\"\r\n [cdkDropListDisabled]=\"isMobile\"\r\n [cdkDropListData]=\"dataSource?.data\"\r\n cdkDropListConnectedTo=\"folders\"\r\n cdkDropListSortingDisabled\r\n [dataSource]=\"dataSource\" matSort multiTemplateDataRows (matSortChange)=\"sortData()\"\r\n id=\"browse-table\" [@list]=\"dataSource\" [style.display]=\"dataSource?.data.length ?'':'none'\">\r\n <ng-container matColumnDef=\"select\">\r\n <mat-header-cell *matHeaderCellDef>\r\n <div class=\"\"></div>\r\n <mat-checkbox (change)=\"$event ? masterToggle() : null\" [aria-label]=\"'Check'|translate\"\r\n [checked]=\"selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\">\r\n </mat-checkbox>\r\n </mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\">\r\n <mat-checkbox (click)=\"$event.stopPropagation()\" [aria-label]=\"'Check'|translate\"\r\n (change)=\"$event ? selection.toggle(item) : null\"\r\n [checked]=\"selection.isSelected(item)\">\r\n </mat-checkbox>\r\n <!-- drag -->\r\n <!--<button mat-icon-button cdkDragHandle\r\n (mousedown)=\"dragDisabled = false\"\r\n (mouseup)=\"dragDisabled = true\"\r\n (touchstart)=\"dragDisabled = false\"\r\n (touchend)=\"dragDisabled = true\"\r\n class=\"drag hide-xs\" aria-disabled=\"true\">\r\n <mat-icon>drag_indicator</mat-icon>\r\n </button>-->\r\n <button mat-icon-button (click)=\"toggleExpanded(item, $event)\" [bizdocTooltip]=\"'Details' | translate\" [attr.aria-label]=\"'Details' | translate\" class=\"tool\"><mat-icon>{{item == expandedElement ? 'unfold_less' : 'unfold_more'}}</mat-icon></button>\r\n </mat-cell>\r\n </ng-container>\r\n <!-- Number column -->\r\n <ng-container matColumnDef=\"number\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Number' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.number}} </mat-cell>\r\n </ng-container>\r\n\r\n <!-- Subject column -->\r\n <ng-container matColumnDef=\"subject\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Subject' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.subject}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"owner\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Owner' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <bizdoc-identity-name *ngIf=\"item.ownerId\" [identity]=\"item.ownerId\" [by]=\"item.ownerById\"></bizdoc-identity-name>\r\n </mat-cell>\r\n </ng-container>\r\n <ng-container matColumnDef=\"sender\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Sender' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <bizdoc-identity-name *ngIf=\"item.senderId\" [identity]=\"item.senderId\" [by]=\"item.byId\"></bizdoc-identity-name>\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"received\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Received' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.received | amCalendar}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"receivedAgo\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header=\"received\">{{'Received' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\" [bizdocTooltip]=\"item.received | amCalendar\">{{item.received | amTimeAgo}}</mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"replied\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Replied' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.replied | amCalendar}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"issued\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Issued' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.issued | amCalendar}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"issuedAgo\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header=\"issued\">{{'Issued' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\" [bizdocTooltip]=\"item.issued | amCalendar\"> {{item.issued | amTimeAgo}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"state\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header=\"stateId\">{{'Status' | translate }}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <bizdoc-status [stateId]=\"item.stateId\"></bizdoc-status>\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container *ngFor=\"let c of dataColumns\" [matColumnDef]=\"c.name\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header> {{c.title}} </mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <ng-container (attached)=\"dataColumnAttached(item, c, $event)\"\r\n [cdkPortalOutlet]=\"item[c.name]\"></ng-container>\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <!-- Value column -->\r\n <ng-container matColumnDef=\"value\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Amount' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.value | currency : item.currencyCode : 'symbol' : currencyFormat}} </mat-cell>\r\n </ng-container>\r\n\r\n <!-- options column -->\r\n <ng-container matColumnDef=\"options\">\r\n <mat-header-cell *matHeaderCellDef></mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\">\r\n <button mat-icon-button (click)=\"flag(item, $event)\" [bizdocTooltip]=\"'Flagged'| translate\" [attr.aria-label]=\"'ToggleFlagged' | translate\" class=\"tool\"><mat-icon [class.document-flag]=\"item.flag\">{{item.flag ? 'star' : 'star_border'}}</mat-icon></button>\r\n <button mat-icon-button (click)=\"view(item, $event)\" [bizdocTooltip]=\"'View' | translate\" [attr.aria-label]=\"'View' | translate\" class=\"tool\" *ngIf=\"enableAnalysis\"><mat-icon>data_usage</mat-icon></button>\r\n <button mat-icon-button (click)=\"$event.stopPropagation()\" [matMenuTriggerFor]=\"menu\" [matMenuTriggerData]=\"{item: item}\" [bizdocTooltip]=\"'Options' | translate\" [attr.aria-label]=\"'Options' | translate\" class=\"tool hide-xs\"><mat-icon>more_vert</mat-icon></button>\r\n </mat-cell>\r\n </ng-container>\r\n <!-- Expanded Content Column -->\r\n <ng-container matColumnDef=\"expandedDetail\">\r\n <mat-cell *matCellDef=\"let item\" [attr.colspan]=\"displayedColumns.length\" [@updated]=\"item == updatedElement\"\r\n [class.read-row]=\"item.read\">\r\n <div [@detailExpand]=\"item == expandedElement ? 'expanded' : 'collapsed'\" style=\"width: 100%\">\r\n <bizdoc-expanded-item [model]=\"item\" *ngIf=\"item == expandedElement\"></bizdoc-expanded-item>\r\n </div>\r\n </mat-cell>\r\n </ng-container>\r\n <mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></mat-header-row>\r\n <mat-row @item [@updated]=\"item == updatedElement\"\r\n *matRowDef=\"let item; let dataIndex = dataIndex; columns: displayedColumns;\" class=\"element-row\"\r\n cdkDrag [cdkDragData]=\"item\"\r\n [cdkDragDisabled]=\"dragDisabled\"\r\n (cdkDragReleased)=\"dragDisabled = true\"\r\n [ngClass]=\"{'selecteded-row': selectedElement === item,\r\n 'expanded-row': expandedElement === item,\r\n 'odd-row': dataIndex % 2,\r\n 'read-row': item.read}\" matRipple\r\n (click)=\"open(item, $event)\">\r\n <div *cdkDragPreview>\r\n <button mat-icon-button aria-disabled=\"true\"><mat-icon>drag_indicator</mat-icon></button> <span>#{{item.number}}</span>\r\n </div>\r\n <div *cdkDragPlaceholder>\r\n <!-- none -->\r\n </div>\r\n </mat-row>\r\n <mat-row *matRowDef=\"let item; ; let dataIndex = dataIndex; columns: ['expandedDetail']\"\r\n class=\"detail-row\" matRipple\r\n [ngClass]=\"{ 'selecteded-row': selectedElement === item,\r\n 'odd-row': dataIndex % 2\r\n }\"></mat-row>\r\n</mat-table>\r\n<mat-paginator #paginator [hidePageSize]=\"true\" [pageSize]=\"PAGE_SIZE\" [style.display]=\"!isMobile && dataSource?.data.length>PAGE_SIZE ? '':'none'\"></mat-paginator>\r\n<mat-menu #menu=\"matMenu\">\r\n <ng-template matMenuContent let-item=\"item\">\r\n <button mat-menu-item (click)=\"open(item, $event)\">{{'Open'|translate}}</button>\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"toggleRead(item)\">{{(item.read ?'MarkAsUnread':'MarkAsRead')|translate}}</button>\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"copy(item)\">{{'Copy'| translate}}</button>\r\n </ng-template>\r\n</mat-menu>\r\n", styles: ["#browse-table{width:100%}#browse-table .detail-row{min-height:0}#browse-table .element-row{cursor:pointer}#browse-table .element-row .drag{cursor:move}#browse-table .read-row{font-weight:100}@media screen and (min-width: 600px){.mat-row .tool{opacity:.05}.mat-row:hover .tool{opacity:1}}::ng-deep .mat-column-options{justify-content:end;padding-inline-end:8px}::ng-deep .mat-column-value{justify-content:right}::ng-deep .mat-column-select{white-space:nowrap}::ng-deep .mat-column-number{white-space:nowrap}\n"], dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i11$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i3$1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i3$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i3$1.CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: ["data", "matchSize"] }, { kind: "directive", type: i3$1.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { kind: "directive", type: i3$2.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "component", type: i4$1.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i4$1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i4$1.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i4$1.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i4$1.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i4$1.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i4$1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i4$1.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i4$1.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i4$1.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "directive", type: i5$3.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "component", type: i5$3.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "mat-sort-header", "arrowPosition", "start", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "component", type: i8$1.MatPaginator, selector: "mat-paginator", inputs: ["disabled"], exportAs: ["matPaginator"] }, { kind: "component", type: i7$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: i7.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i9.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i2$2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i11.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i11.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i11.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i11.MatMenuContent, selector: "ng-template[matMenuContent]" }, { kind: "directive", type: StateDirective, selector: "bizdoc-status", inputs: ["stateId"] }, { kind: "component", type: IdentityName, selector: "bizdoc-identity-name", inputs: ["identity", "by", "chating"] }, { kind: "component", type: NoneComponent, selector: "bizdoc-none", inputs: ["title", "subtitle", "icon"] }, { kind: "component", type: ExpandedItemComponent, selector: "bizdoc-expanded-item", inputs: ["model"], outputs: ["sent"] }, { kind: "directive", type: TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i1$2.CurrencyPipe, name: "currency" }, { kind: "pipe", type: CalendarPipe, name: "amCalendar" }, { kind: "pipe", type: TimeAgoPipe, name: "amTimeAgo" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], animations: [
8628
8615
  listAnimation,
8629
8616
  itemAnimation,
8630
8617
  expandListItemAnimation,
@@ -8639,8 +8626,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
8639
8626
  listItemUpdatedAnimation
8640
8627
  ], host: {
8641
8628
  class: 'bizdoc-browse-items'
8642
- }, template: "<mat-progress-bar mode=\"query\" [style.visibility]=\"loading ? 'visible':'hidden'\"></mat-progress-bar>\r\n<bizdoc-none *ngIf=\"dataSource?.data.length === 0\" title=\"NoMessages\" [subtitle]=\"!isMobile && folderId === DRAFT ? 'AltN' : null\" icon=\"mail_outline\"></bizdoc-none>\r\n<mat-table cdkDropList class=\"data-table\"\r\n [cdkDropListDisabled]=\"isMobile\"\r\n [cdkDropListData]=\"dataSource?.data\"\r\n cdkDropListConnectedTo=\"folders\"\r\n cdkDropListSortingDisabled\r\n [dataSource]=\"dataSource\" matSort multiTemplateDataRows (matSortChange)=\"sortData()\"\r\n id=\"browse-table\" [@list]=\"dataSource\" [style.display]=\"dataSource?.data.length ?'':'none'\">\r\n <ng-container matColumnDef=\"select\">\r\n <mat-header-cell *matHeaderCellDef>\r\n <div class=\"\"></div>\r\n <mat-checkbox (change)=\"$event ? masterToggle() : null\" [aria-label]=\"'Check'|translate\"\r\n [checked]=\"selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\">\r\n </mat-checkbox>\r\n </mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\">\r\n <mat-checkbox (click)=\"$event.stopPropagation()\" [aria-label]=\"'Check'|translate\"\r\n (change)=\"$event ? selection.toggle(item) : null\"\r\n [checked]=\"selection.isSelected(item)\">\r\n </mat-checkbox>\r\n <!-- drag -->\r\n <!--<button mat-icon-button cdkDragHandle\r\n (mousedown)=\"dragDisabled = false\"\r\n (mouseup)=\"dragDisabled = true\"\r\n (touchstart)=\"dragDisabled = false\"\r\n (touchend)=\"dragDisabled = true\"\r\n class=\"drag hide-xs\" aria-disabled=\"true\">\r\n <mat-icon>drag_indicator</mat-icon>\r\n </button>-->\r\n <button mat-icon-button (click)=\"toggleExpanded(item, $event)\" [bizdocTooltip]=\"'Details' | translate\" [attr.aria-label]=\"'Details' | translate\" class=\"tool\"><mat-icon>{{item == expandedElement ? 'unfold_less' : 'unfold_more'}}</mat-icon></button>\r\n </mat-cell>\r\n </ng-container>\r\n <!-- Number column -->\r\n <ng-container matColumnDef=\"number\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Number' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.number}} </mat-cell>\r\n </ng-container>\r\n\r\n <!-- Subject column -->\r\n <ng-container matColumnDef=\"subject\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Subject' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.subject}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"owner\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Owner' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <bizdoc-identity-name *ngIf=\"item.ownerId\" [identity]=\"item.ownerId\" [by]=\"item.ownerById\"></bizdoc-identity-name>\r\n </mat-cell>\r\n </ng-container>\r\n <ng-container matColumnDef=\"sender\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Sender' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <bizdoc-identity-name *ngIf=\"item.senderId\" [identity]=\"item.senderId\" [by]=\"item.byId\"></bizdoc-identity-name>\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"received\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Received' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.received | amCalendar}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"receivedAgo\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header=\"received\">{{'Received' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\" [bizdocTooltip]=\"item.received | amCalendar\">{{item.received | amTimeAgo}}</mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"replied\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Replied' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.replied | amCalendar}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"issued\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Issued' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.issued | amCalendar}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"issuedAgo\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header=\"issued\">{{'Issued' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\" [bizdocTooltip]=\"item.issued | amCalendar\"> {{item.issued | amTimeAgo}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"state\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header=\"stateId\">{{'Status' | translate }}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <bizdoc-status [stateId]=\"item.stateId\"></bizdoc-status>\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"customColumns\">\r\n <ng-container *ngFor=\"let c of customColumns\" [matColumnDef]=\"c.name\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header> {{c.title}} </mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <ng-container [ngSwitch]=\"c.type\">\r\n <span *ngSwitchCase=\"'Date'\">\r\n {{item.model[c.name] | amCalendar }}\r\n </span>\r\n <span *ngSwitchCase=\"'Decimal'\">\r\n {{item.model[c.name] | number }}\r\n </span>\r\n <span *ngSwitchCase=\"'Boolean'\">\r\n <bizdoc-checkbox [checked]=\"item.model[c.name]\"></bizdoc-checkbox>\r\n </span>\r\n <span *ngSwitchDefault>\r\n {{item.model[c.name]}}z\r\n </span>\r\n </ng-container>\r\n </mat-cell>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <!-- Value column -->\r\n <ng-container matColumnDef=\"value\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Amount' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.value | currency : item.currencyCode : 'symbol' : currencyFormat}} </mat-cell>\r\n </ng-container>\r\n\r\n <!-- options column -->\r\n <ng-container matColumnDef=\"options\">\r\n <mat-header-cell *matHeaderCellDef></mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\">\r\n <button mat-icon-button (click)=\"flag(item, $event)\" [bizdocTooltip]=\"'Flagged'| translate\" [attr.aria-label]=\"'ToggleFlagged' | translate\" class=\"tool\"><mat-icon [class.document-flag]=\"item.flag\">{{item.flag ? 'star' : 'star_border'}}</mat-icon></button>\r\n <button mat-icon-button (click)=\"view(item, $event)\" [bizdocTooltip]=\"'View' | translate\" [attr.aria-label]=\"'View' | translate\" class=\"tool\" *ngIf=\"enableAnalysis\"><mat-icon>data_usage</mat-icon></button>\r\n <button mat-icon-button (click)=\"$event.stopPropagation()\" [matMenuTriggerFor]=\"menu\" [matMenuTriggerData]=\"{item: item}\" [bizdocTooltip]=\"'Options' | translate\" [attr.aria-label]=\"'Options' | translate\" class=\"tool hide-xs\"><mat-icon>more_vert</mat-icon></button>\r\n </mat-cell>\r\n </ng-container>\r\n <!-- Expanded Content Column -->\r\n <ng-container matColumnDef=\"expandedDetail\">\r\n <mat-cell *matCellDef=\"let item\" [attr.colspan]=\"displayedColumns.length\" [@updated]=\"item == updatedElement\"\r\n [class.read-row]=\"item.read\">\r\n <div [@detailExpand]=\"item == expandedElement ? 'expanded' : 'collapsed'\" style=\"width: 100%\">\r\n <bizdoc-expanded-item [model]=\"item\" *ngIf=\"item == expandedElement\"></bizdoc-expanded-item>\r\n </div>\r\n </mat-cell>\r\n </ng-container>\r\n <mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></mat-header-row>\r\n <mat-row @item [@updated]=\"item == updatedElement\"\r\n *matRowDef=\"let item; let dataIndex = dataIndex; columns: displayedColumns;\" class=\"element-row\"\r\n cdkDrag [cdkDragData]=\"item\"\r\n [cdkDragDisabled]=\"dragDisabled\"\r\n (cdkDragReleased)=\"dragDisabled = true\"\r\n [ngClass]=\"{'selecteded-row': selectedElement === item,\r\n 'expanded-row': expandedElement === item,\r\n 'odd-row': dataIndex % 2,\r\n 'read-row': item.read}\" matRipple\r\n (click)=\"open(item, $event)\">\r\n <div *cdkDragPreview>\r\n <button mat-icon-button aria-disabled=\"true\"><mat-icon>drag_indicator</mat-icon></button> <span>#{{item.number}}</span>\r\n </div>\r\n <div *cdkDragPlaceholder>\r\n <!-- none -->\r\n </div>\r\n </mat-row>\r\n <mat-row *matRowDef=\"let item; ; let dataIndex = dataIndex; columns: ['expandedDetail']\"\r\n class=\"detail-row\" matRipple\r\n [ngClass]=\"{ 'selecteded-row': selectedElement === item,\r\n 'odd-row': dataIndex % 2\r\n }\"></mat-row>\r\n</mat-table>\r\n<mat-paginator #paginator [hidePageSize]=\"true\" [pageSize]=\"PAGE_SIZE\" [style.display]=\"!isMobile && dataSource?.data.length>PAGE_SIZE ? '':'none'\"></mat-paginator>\r\n<mat-menu #menu=\"matMenu\">\r\n <ng-template matMenuContent let-item=\"item\">\r\n <button mat-menu-item (click)=\"open(item, $event)\">{{'Open'|translate}}</button>\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"toggleRead(item)\">{{(item.read ?'MarkAsUnread':'MarkAsRead')|translate}}</button>\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"copy(item)\">{{'Copy'| translate}}</button>\r\n </ng-template>\r\n</mat-menu>\r\n", styles: ["#browse-table{width:100%}#browse-table .detail-row{min-height:0}#browse-table .element-row{cursor:pointer}#browse-table .element-row .drag{cursor:move}#browse-table .read-row{font-weight:100}@media screen and (min-width: 600px){.mat-row .tool{opacity:.05}.mat-row:hover .tool{opacity:1}}::ng-deep .mat-column-options{justify-content:end;padding-inline-end:8px}::ng-deep .mat-column-value{justify-content:right}::ng-deep .mat-column-select{white-space:nowrap}::ng-deep .mat-column-number{white-space:nowrap}\n"] }]
8643
- }], ctorParameters: function () { return [{ type: MailboxService }, { type: AccountService }, { type: CubeService }, { type: SessionService }, { type: PromptService }, { type: TranslateService }, { type: i0.ChangeDetectorRef }, { type: RouterImpl }, { type: HubService }, { type: undefined, decorators: [{
8629
+ }, template: "<mat-progress-bar mode=\"query\" [style.visibility]=\"loading ? 'visible':'hidden'\"></mat-progress-bar>\r\n<bizdoc-none *ngIf=\"dataSource?.data.length === 0\" title=\"NoMessages\" [subtitle]=\"!isMobile && folderId === DRAFT ? 'AltN' : null\" icon=\"mail_outline\"></bizdoc-none>\r\n<mat-table cdkDropList class=\"data-table\"\r\n [cdkDropListDisabled]=\"isMobile\"\r\n [cdkDropListData]=\"dataSource?.data\"\r\n cdkDropListConnectedTo=\"folders\"\r\n cdkDropListSortingDisabled\r\n [dataSource]=\"dataSource\" matSort multiTemplateDataRows (matSortChange)=\"sortData()\"\r\n id=\"browse-table\" [@list]=\"dataSource\" [style.display]=\"dataSource?.data.length ?'':'none'\">\r\n <ng-container matColumnDef=\"select\">\r\n <mat-header-cell *matHeaderCellDef>\r\n <div class=\"\"></div>\r\n <mat-checkbox (change)=\"$event ? masterToggle() : null\" [aria-label]=\"'Check'|translate\"\r\n [checked]=\"selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\">\r\n </mat-checkbox>\r\n </mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\">\r\n <mat-checkbox (click)=\"$event.stopPropagation()\" [aria-label]=\"'Check'|translate\"\r\n (change)=\"$event ? selection.toggle(item) : null\"\r\n [checked]=\"selection.isSelected(item)\">\r\n </mat-checkbox>\r\n <!-- drag -->\r\n <!--<button mat-icon-button cdkDragHandle\r\n (mousedown)=\"dragDisabled = false\"\r\n (mouseup)=\"dragDisabled = true\"\r\n (touchstart)=\"dragDisabled = false\"\r\n (touchend)=\"dragDisabled = true\"\r\n class=\"drag hide-xs\" aria-disabled=\"true\">\r\n <mat-icon>drag_indicator</mat-icon>\r\n </button>-->\r\n <button mat-icon-button (click)=\"toggleExpanded(item, $event)\" [bizdocTooltip]=\"'Details' | translate\" [attr.aria-label]=\"'Details' | translate\" class=\"tool\"><mat-icon>{{item == expandedElement ? 'unfold_less' : 'unfold_more'}}</mat-icon></button>\r\n </mat-cell>\r\n </ng-container>\r\n <!-- Number column -->\r\n <ng-container matColumnDef=\"number\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Number' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.number}} </mat-cell>\r\n </ng-container>\r\n\r\n <!-- Subject column -->\r\n <ng-container matColumnDef=\"subject\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Subject' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.subject}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"owner\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Owner' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <bizdoc-identity-name *ngIf=\"item.ownerId\" [identity]=\"item.ownerId\" [by]=\"item.ownerById\"></bizdoc-identity-name>\r\n </mat-cell>\r\n </ng-container>\r\n <ng-container matColumnDef=\"sender\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Sender' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <bizdoc-identity-name *ngIf=\"item.senderId\" [identity]=\"item.senderId\" [by]=\"item.byId\"></bizdoc-identity-name>\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"received\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Received' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.received | amCalendar}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"receivedAgo\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header=\"received\">{{'Received' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\" [bizdocTooltip]=\"item.received | amCalendar\">{{item.received | amTimeAgo}}</mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"replied\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Replied' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.replied | amCalendar}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"issued\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Issued' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.issued | amCalendar}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"issuedAgo\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header=\"issued\">{{'Issued' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\" [bizdocTooltip]=\"item.issued | amCalendar\"> {{item.issued | amTimeAgo}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"state\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header=\"stateId\">{{'Status' | translate }}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <bizdoc-status [stateId]=\"item.stateId\"></bizdoc-status>\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container *ngFor=\"let c of dataColumns\" [matColumnDef]=\"c.name\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header> {{c.title}} </mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\">\r\n <ng-container (attached)=\"dataColumnAttached(item, c, $event)\"\r\n [cdkPortalOutlet]=\"item[c.name]\"></ng-container>\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <!-- Value column -->\r\n <ng-container matColumnDef=\"value\">\r\n <mat-header-cell *matHeaderCellDef mat-sort-header>{{'Amount' | translate}}</mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\" class=\"data-column\"> {{item.value | currency : item.currencyCode : 'symbol' : currencyFormat}} </mat-cell>\r\n </ng-container>\r\n\r\n <!-- options column -->\r\n <ng-container matColumnDef=\"options\">\r\n <mat-header-cell *matHeaderCellDef></mat-header-cell>\r\n <mat-cell *matCellDef=\"let item\">\r\n <button mat-icon-button (click)=\"flag(item, $event)\" [bizdocTooltip]=\"'Flagged'| translate\" [attr.aria-label]=\"'ToggleFlagged' | translate\" class=\"tool\"><mat-icon [class.document-flag]=\"item.flag\">{{item.flag ? 'star' : 'star_border'}}</mat-icon></button>\r\n <button mat-icon-button (click)=\"view(item, $event)\" [bizdocTooltip]=\"'View' | translate\" [attr.aria-label]=\"'View' | translate\" class=\"tool\" *ngIf=\"enableAnalysis\"><mat-icon>data_usage</mat-icon></button>\r\n <button mat-icon-button (click)=\"$event.stopPropagation()\" [matMenuTriggerFor]=\"menu\" [matMenuTriggerData]=\"{item: item}\" [bizdocTooltip]=\"'Options' | translate\" [attr.aria-label]=\"'Options' | translate\" class=\"tool hide-xs\"><mat-icon>more_vert</mat-icon></button>\r\n </mat-cell>\r\n </ng-container>\r\n <!-- Expanded Content Column -->\r\n <ng-container matColumnDef=\"expandedDetail\">\r\n <mat-cell *matCellDef=\"let item\" [attr.colspan]=\"displayedColumns.length\" [@updated]=\"item == updatedElement\"\r\n [class.read-row]=\"item.read\">\r\n <div [@detailExpand]=\"item == expandedElement ? 'expanded' : 'collapsed'\" style=\"width: 100%\">\r\n <bizdoc-expanded-item [model]=\"item\" *ngIf=\"item == expandedElement\"></bizdoc-expanded-item>\r\n </div>\r\n </mat-cell>\r\n </ng-container>\r\n <mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></mat-header-row>\r\n <mat-row @item [@updated]=\"item == updatedElement\"\r\n *matRowDef=\"let item; let dataIndex = dataIndex; columns: displayedColumns;\" class=\"element-row\"\r\n cdkDrag [cdkDragData]=\"item\"\r\n [cdkDragDisabled]=\"dragDisabled\"\r\n (cdkDragReleased)=\"dragDisabled = true\"\r\n [ngClass]=\"{'selecteded-row': selectedElement === item,\r\n 'expanded-row': expandedElement === item,\r\n 'odd-row': dataIndex % 2,\r\n 'read-row': item.read}\" matRipple\r\n (click)=\"open(item, $event)\">\r\n <div *cdkDragPreview>\r\n <button mat-icon-button aria-disabled=\"true\"><mat-icon>drag_indicator</mat-icon></button> <span>#{{item.number}}</span>\r\n </div>\r\n <div *cdkDragPlaceholder>\r\n <!-- none -->\r\n </div>\r\n </mat-row>\r\n <mat-row *matRowDef=\"let item; ; let dataIndex = dataIndex; columns: ['expandedDetail']\"\r\n class=\"detail-row\" matRipple\r\n [ngClass]=\"{ 'selecteded-row': selectedElement === item,\r\n 'odd-row': dataIndex % 2\r\n }\"></mat-row>\r\n</mat-table>\r\n<mat-paginator #paginator [hidePageSize]=\"true\" [pageSize]=\"PAGE_SIZE\" [style.display]=\"!isMobile && dataSource?.data.length>PAGE_SIZE ? '':'none'\"></mat-paginator>\r\n<mat-menu #menu=\"matMenu\">\r\n <ng-template matMenuContent let-item=\"item\">\r\n <button mat-menu-item (click)=\"open(item, $event)\">{{'Open'|translate}}</button>\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"toggleRead(item)\">{{(item.read ?'MarkAsUnread':'MarkAsRead')|translate}}</button>\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"copy(item)\">{{'Copy'| translate}}</button>\r\n </ng-template>\r\n</mat-menu>\r\n", styles: ["#browse-table{width:100%}#browse-table .detail-row{min-height:0}#browse-table .element-row{cursor:pointer}#browse-table .element-row .drag{cursor:move}#browse-table .read-row{font-weight:100}@media screen and (min-width: 600px){.mat-row .tool{opacity:.05}.mat-row:hover .tool{opacity:1}}::ng-deep .mat-column-options{justify-content:end;padding-inline-end:8px}::ng-deep .mat-column-value{justify-content:right}::ng-deep .mat-column-select{white-space:nowrap}::ng-deep .mat-column-number{white-space:nowrap}\n"] }]
8630
+ }], ctorParameters: function () { return [{ type: MailboxService }, { type: AccountService }, { type: CubeService }, { type: SessionService }, { type: PromptService }, { type: TranslateService }, { type: i0.ChangeDetectorRef }, { type: RouterImpl }, { type: HubService }, { type: BizDocComponentFactoryResolver }, { type: undefined, decorators: [{
8644
8631
  type: Inject,
8645
8632
  args: [BIZDOC_CONFIG]
8646
8633
  }] }]; }, propDecorators: { onopen: [{
@@ -10682,6 +10669,9 @@ class CubePivotComponent {
10682
10669
  dataSource: data,
10683
10670
  emptyCellsTextContent: this.emptyCellsTextContent,
10684
10671
  enableSorting: false,
10672
+ showRowSubTotals: false,
10673
+ showAggregationOnValueField: false,
10674
+ showSubTotals: false,
10685
10675
  formatSettings: this.formatSettings
10686
10676
  };
10687
10677
  }
@@ -10858,6 +10848,8 @@ class CubePivotComponent {
10858
10848
  height: '100%',
10859
10849
  enableValueSorting: false,
10860
10850
  showTooltip: false,
10851
+ showToolbar: false,
10852
+ showGroupingBar: false,
10861
10853
  allowConditionalFormatting: true,
10862
10854
  allowExcelExport: true,
10863
10855
  gridSettings: this.gridSettings,
@@ -12709,6 +12701,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
12709
12701
  type: Output
12710
12702
  }] } });
12711
12703
 
12704
+ /** */
12705
+ class CheckboxComponent {
12706
+ constructor() {
12707
+ this.icon = 'checkbox';
12708
+ }
12709
+ }
12710
+ CheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12711
+ CheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CheckboxComponent, selector: "bizdoc-checkbox", inputs: { checked: "checked", color: "color", icon: "icon" }, host: { classAttribute: "field" }, ngImport: i0, template: `
12712
+ <div *ngIf="checked" class="container">
12713
+ <mat-icon [color]="color">{{icon == 'checkbox' ? 'check_box' : 'toggle_on'}}</mat-icon>
12714
+ <span class="mat-body-1">
12715
+ <ng-content></ng-content>
12716
+ </span>
12717
+ </div>`, isInline: true, styles: [".container{display:flex;align-items:center}.container *{align-self:center}.container :last-child{padding-left:5px;padding-right:5px}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
12718
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CheckboxComponent, decorators: [{
12719
+ type: Component,
12720
+ args: [{ selector: 'bizdoc-checkbox', template: `
12721
+ <div *ngIf="checked" class="container">
12722
+ <mat-icon [color]="color">{{icon == 'checkbox' ? 'check_box' : 'toggle_on'}}</mat-icon>
12723
+ <span class="mat-body-1">
12724
+ <ng-content></ng-content>
12725
+ </span>
12726
+ </div>`, host: { class: 'field' }, styles: [".container{display:flex;align-items:center}.container *{align-self:center}.container :last-child{padding-left:5px;padding-right:5px}\n"] }]
12727
+ }], propDecorators: { checked: [{
12728
+ type: Input
12729
+ }], color: [{
12730
+ type: Input
12731
+ }], icon: [{
12732
+ type: Input
12733
+ }] } });
12734
+
12712
12735
  class DateFormatPipe {
12713
12736
  constructor() {
12714
12737
  dayjs.extend(localizedFormat);
@@ -23697,7 +23720,7 @@ let CubeWidgetFilterComponent = class CubeWidgetFilterComponent {
23697
23720
  this._session = _session;
23698
23721
  this._fb = _fb;
23699
23722
  this.exclude = [];
23700
- const { xAxis, series, exclude, cube: name } = this._widgetRef.options;
23723
+ const { xAxis, series, exclude, filters, cube: name } = this._widgetRef.options;
23701
23724
  this.cube = name;
23702
23725
  if (xAxis) {
23703
23726
  if (isArray(xAxis))
@@ -23717,6 +23740,8 @@ let CubeWidgetFilterComponent = class CubeWidgetFilterComponent {
23717
23740
  else
23718
23741
  this.exclude.push(exclude);
23719
23742
  }
23743
+ if (filters)
23744
+ this.exclude = this.exclude.concat(Object.keys(filters));
23720
23745
  const cube = this._session.profile.cubes.find(c => c.name == name) || this._session.profile.cubes[0], controls = {};
23721
23746
  cube.axes.filter(a => a.selectionMode !== 'None').forEach(a => {
23722
23747
  controls[a.name] = this._fb.control(null);
@@ -23727,7 +23752,7 @@ let CubeWidgetFilterComponent = class CubeWidgetFilterComponent {
23727
23752
  this.axes = this.form.value;
23728
23753
  }
23729
23754
  valuesChange(axes) {
23730
- this.form.reset(axes, { emitEvent: false });
23755
+ this.form.reset(axes);
23731
23756
  }
23732
23757
  };
23733
23758
  CubeWidgetFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CubeWidgetFilterComponent, deps: [{ token: WidgetRef }, { token: SessionService }, { token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
@@ -32459,7 +32484,7 @@ class DesignerItemComponent {
32459
32484
  }
32460
32485
  }
32461
32486
  DesignerItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DesignerItemComponent, deps: [{ token: i0.ElementRef }, { token: i1.FormBuilder }, { token: i2$1.DomSanitizer }, { token: DesignerRef }, { token: BizDocComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
32462
- DesignerItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: DesignerItemComponent, selector: "bizdoc-designer-element", inputs: { privileges: "privileges", icon: "icon", form: "form", view: "view", context: "context" }, outputs: { onContinue: "continue", back: "back", onSave: "save" }, queries: [{ propertyName: "editContent", first: true, predicate: EditContentDirective, descendants: true }, { propertyName: "widgetContent", first: true, predicate: WidgetContentDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: " <!--widget mode -->\r\n<ng-container *ngIf=\"mode === 'widget'; else editing\">\r\n <ng-container *ngIf=\"model.family\">\r\n <img *ngIf=\"svg[model.family]\" class=\"logo\" [src]=\"resource(svg[model.family])\" [bizdocTooltip]=\"model.family\" />\r\n <div *ngIf=\"!svg[model.family]\">{{model.family}}</div>\r\n </ng-container>\r\n <!--options-->\r\n <ng-container (attached)=\"optionsattached($event)\" [cdkPortalOutlet]=\"options\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"widgetContent?.templateRef\"></ng-container>\r\n</ng-container>\r\n<!--add or edit mode-->\r\n<ng-template #editing>\r\n <ng-container *ngIf=\"mode === 'edit'\">\r\n <mat-toolbar>\r\n <button mat-icon-button (click)=\"save()\" [disabled]=\"!form.valid || !form.dirty\" *ngIf=\"!view\"><mat-icon>save</mat-icon></button>\r\n <button mat-icon-button (click)=\"viewoff()\" [bizdocTooltip]=\"'Back'|translate\" *ngIf=\"view\"><mat-icon class=\"mat-icon-rtl-mirror\">keyboard_backspace</mat-icon></button>\r\n </mat-toolbar>\r\n <p *ngIf=\"model.resourceType\" class=\"message\" (click)=\"unlock($event)\" [innerHTML]=\"'UnlockMultilang'|translate\"></p>\r\n </ng-container>\r\n <form autocomplete=\"off\" class=\"column\" (keydown)=\"handleKeyboardEvent($event)\">\r\n <ng-container *ngIf=\"view; else main\">\r\n <h2 class=\"mat-title\">{{context.title|translate}}</h2>\r\n <div class=\"column\">\r\n <ng-container *ngTemplateOutlet=\"view; context: context\"></ng-container>\r\n </div>\r\n </ng-container>\r\n </form>\r\n</ng-template>\r\n<ng-template #main>\r\n <ng-container *ngIf=\"mode === 'edit'\" [formGroup]=\"form\">\r\n <div class=\"row\">\r\n <bizdoc-localized-string #title formControlName=\"title\" [placeholder]=\"'Title'|translate\" required class=\"flex column\"></bizdoc-localized-string>\r\n &nbsp;\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Name'|translate}}</mat-label>\r\n <input matInput formControlName=\"name\" required />\r\n <mat-error *ngIf=\"form.get('name').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Name'|translate)\"></mat-error>\r\n </mat-form-field>\r\n </div>\r\n <bizdoc-icon-picker *ngIf=\"icon\" formControlName=\"icon\" required></bizdoc-icon-picker>\r\n </ng-container>\r\n <ng-container *ngIf=\"mode === 'edit'\" [ngTemplateOutlet]=\"editContent?.templateRef\"></ng-container>\r\n <!--arguments-->\r\n <ng-container *ngIf=\"arguments\" (attached)=\"argumentsattached($event)\" [cdkPortalOutlet]=\"arguments\"></ng-container>\r\n <!--options-->\r\n <ng-container *ngIf=\"options\" (attached)=\"optionsattached($event)\" [cdkPortalOutlet]=\"options\"></ng-container>\r\n <!--privileges-->\r\n <bizdoc-designer-privileges *ngIf=\"form.contains('privileges')\" [form]=\"form.get('privileges')\"></bizdoc-designer-privileges>\r\n <div class=\"row actions\" *ngIf=\"mode === 'add'\">\r\n <span class=\"divider\"></span>\r\n <button mat-stroked-button [disabled]=\"!form.valid\" (click)=\"continue()\" type=\"button\">{{'Continue'|translate}}&nbsp;<mat-icon class=\"mat-icon-rtl-mirror\">double_arrow</mat-icon></button>\r\n </div>\r\n</ng-template>\r\n", styles: ["img.logo{display:block;height:26px}:host{flex:1}form{padding:8px}p.message{margin:5px}:host ::ng-deep .cdk-drag-handle{cursor:move}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i5$6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i8$2.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: i4.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "component", type: i9.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i10$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "component", type: LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "component", type: DesignerPrivilegesComponent, selector: "bizdoc-designer-privileges", inputs: ["form"] }, { kind: "component", type: IconPickerComponent, selector: "bizdoc-icon-picker", inputs: ["value", "required", "disabled"], outputs: ["valueChanges"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] });
32487
+ DesignerItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: DesignerItemComponent, selector: "bizdoc-designer-element", inputs: { privileges: "privileges", icon: "icon", form: "form", view: "view", context: "context" }, outputs: { onContinue: "continue", back: "back", onSave: "save" }, queries: [{ propertyName: "editContent", first: true, predicate: EditContentDirective, descendants: true }, { propertyName: "widgetContent", first: true, predicate: WidgetContentDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: " <!--widget mode -->\r\n<ng-container *ngIf=\"mode === 'widget'; else editing\">\r\n <ng-container *ngIf=\"model.family\">\r\n <img *ngIf=\"svg[model.family]\" class=\"logo\" [src]=\"resource(svg[model.family])\" [bizdocTooltip]=\"model.family\" />\r\n <div *ngIf=\"!svg[model.family]\">{{model.family}}</div>\r\n </ng-container>\r\n <!--options-->\r\n <ng-container (attached)=\"optionsattached($event)\" [cdkPortalOutlet]=\"options\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"widgetContent?.templateRef\"></ng-container>\r\n</ng-container>\r\n<!--add or edit mode-->\r\n<ng-template #editing>\r\n <ng-container *ngIf=\"mode === 'edit'\">\r\n <mat-toolbar>\r\n <button mat-icon-button (click)=\"save()\" [disabled]=\"!form.valid || !form.dirty\" *ngIf=\"!view\"><mat-icon>save</mat-icon></button>\r\n <button mat-icon-button (click)=\"viewoff()\" [bizdocTooltip]=\"'Back'|translate\" *ngIf=\"view\"><mat-icon class=\"mat-icon-rtl-mirror\">keyboard_backspace</mat-icon></button>\r\n </mat-toolbar>\r\n <p *ngIf=\"model.resourceType\" class=\"message\" (click)=\"unlock($event)\" [innerHTML]=\"'UnlockMultilang'|translate\"></p>\r\n </ng-container>\r\n <form autocomplete=\"off\" class=\"column\" (keydown)=\"handleKeyboardEvent($event)\">\r\n <ng-container *ngIf=\"view; else main\">\r\n <h2 class=\"mat-title\">{{context.title|translate}}</h2>\r\n <div class=\"column\">\r\n <ng-container *ngTemplateOutlet=\"view; context: context\"></ng-container>\r\n </div>\r\n </ng-container>\r\n </form>\r\n</ng-template>\r\n<ng-template #main>\r\n <ng-container *ngIf=\"mode === 'edit'\" [formGroup]=\"form\">\r\n <div class=\"row\">\r\n <bizdoc-localized-string #title formControlName=\"title\" [placeholder]=\"'Title'|translate\" required class=\"flex column\"></bizdoc-localized-string>\r\n &nbsp;\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Name'|translate}}</mat-label>\r\n <input matInput formControlName=\"name\" required />\r\n <mat-error *ngIf=\"form.get('name').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Name'|translate)\"></mat-error>\r\n </mat-form-field>\r\n </div>\r\n <bizdoc-icon-picker *ngIf=\"icon\" formControlName=\"icon\" required></bizdoc-icon-picker>\r\n </ng-container>\r\n <ng-container *ngIf=\"mode === 'edit'\" [ngTemplateOutlet]=\"editContent?.templateRef\"></ng-container>\r\n <!--arguments-->\r\n <ng-container *ngIf=\"arguments\" (attached)=\"argumentsattached($event)\" [cdkPortalOutlet]=\"arguments\"></ng-container>\r\n <!--options-->\r\n <ng-container *ngIf=\"options\" (attached)=\"optionsattached($event)\" [cdkPortalOutlet]=\"options\"></ng-container>\r\n <!--privileges-->\r\n <bizdoc-designer-privileges *ngIf=\"form.contains('privileges')\" [form]=\"form.get('privileges')\"></bizdoc-designer-privileges>\r\n <div class=\"row actions\" *ngIf=\"mode === 'add'\">\r\n <span class=\"divider\"></span>\r\n <button mat-stroked-button [disabled]=\"!form.valid\" (click)=\"continue()\" type=\"button\">{{'Continue'|translate}}&nbsp;<mat-icon class=\"mat-icon-rtl-mirror\">double_arrow</mat-icon></button>\r\n </div>\r\n</ng-template>\r\n", styles: ["img.logo{display:block;height:26px}:host{flex:1}form{padding:8px}p.message{margin:5px}:host ::ng-deep .cdk-drag-handle{cursor:move}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i11$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i8$2.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: i4.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "component", type: i9.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i10$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "component", type: LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "component", type: DesignerPrivilegesComponent, selector: "bizdoc-designer-privileges", inputs: ["form"] }, { kind: "component", type: IconPickerComponent, selector: "bizdoc-icon-picker", inputs: ["value", "required", "disabled"], outputs: ["valueChanges"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] });
32463
32488
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DesignerItemComponent, decorators: [{
32464
32489
  type: Component,
32465
32490
  args: [{ selector: 'bizdoc-designer-element', template: " <!--widget mode -->\r\n<ng-container *ngIf=\"mode === 'widget'; else editing\">\r\n <ng-container *ngIf=\"model.family\">\r\n <img *ngIf=\"svg[model.family]\" class=\"logo\" [src]=\"resource(svg[model.family])\" [bizdocTooltip]=\"model.family\" />\r\n <div *ngIf=\"!svg[model.family]\">{{model.family}}</div>\r\n </ng-container>\r\n <!--options-->\r\n <ng-container (attached)=\"optionsattached($event)\" [cdkPortalOutlet]=\"options\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"widgetContent?.templateRef\"></ng-container>\r\n</ng-container>\r\n<!--add or edit mode-->\r\n<ng-template #editing>\r\n <ng-container *ngIf=\"mode === 'edit'\">\r\n <mat-toolbar>\r\n <button mat-icon-button (click)=\"save()\" [disabled]=\"!form.valid || !form.dirty\" *ngIf=\"!view\"><mat-icon>save</mat-icon></button>\r\n <button mat-icon-button (click)=\"viewoff()\" [bizdocTooltip]=\"'Back'|translate\" *ngIf=\"view\"><mat-icon class=\"mat-icon-rtl-mirror\">keyboard_backspace</mat-icon></button>\r\n </mat-toolbar>\r\n <p *ngIf=\"model.resourceType\" class=\"message\" (click)=\"unlock($event)\" [innerHTML]=\"'UnlockMultilang'|translate\"></p>\r\n </ng-container>\r\n <form autocomplete=\"off\" class=\"column\" (keydown)=\"handleKeyboardEvent($event)\">\r\n <ng-container *ngIf=\"view; else main\">\r\n <h2 class=\"mat-title\">{{context.title|translate}}</h2>\r\n <div class=\"column\">\r\n <ng-container *ngTemplateOutlet=\"view; context: context\"></ng-container>\r\n </div>\r\n </ng-container>\r\n </form>\r\n</ng-template>\r\n<ng-template #main>\r\n <ng-container *ngIf=\"mode === 'edit'\" [formGroup]=\"form\">\r\n <div class=\"row\">\r\n <bizdoc-localized-string #title formControlName=\"title\" [placeholder]=\"'Title'|translate\" required class=\"flex column\"></bizdoc-localized-string>\r\n &nbsp;\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Name'|translate}}</mat-label>\r\n <input matInput formControlName=\"name\" required />\r\n <mat-error *ngIf=\"form.get('name').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Name'|translate)\"></mat-error>\r\n </mat-form-field>\r\n </div>\r\n <bizdoc-icon-picker *ngIf=\"icon\" formControlName=\"icon\" required></bizdoc-icon-picker>\r\n </ng-container>\r\n <ng-container *ngIf=\"mode === 'edit'\" [ngTemplateOutlet]=\"editContent?.templateRef\"></ng-container>\r\n <!--arguments-->\r\n <ng-container *ngIf=\"arguments\" (attached)=\"argumentsattached($event)\" [cdkPortalOutlet]=\"arguments\"></ng-container>\r\n <!--options-->\r\n <ng-container *ngIf=\"options\" (attached)=\"optionsattached($event)\" [cdkPortalOutlet]=\"options\"></ng-container>\r\n <!--privileges-->\r\n <bizdoc-designer-privileges *ngIf=\"form.contains('privileges')\" [form]=\"form.get('privileges')\"></bizdoc-designer-privileges>\r\n <div class=\"row actions\" *ngIf=\"mode === 'add'\">\r\n <span class=\"divider\"></span>\r\n <button mat-stroked-button [disabled]=\"!form.valid\" (click)=\"continue()\" type=\"button\">{{'Continue'|translate}}&nbsp;<mat-icon class=\"mat-icon-rtl-mirror\">double_arrow</mat-icon></button>\r\n </div>\r\n</ng-template>\r\n", styles: ["img.logo{display:block;height:26px}:host{flex:1}form{padding:8px}p.message{margin:5px}:host ::ng-deep .cdk-drag-handle{cursor:move}\n"] }]