@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';
@@ -7224,37 +7224,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
7224
7224
  type: Injectable
7225
7225
  }], ctorParameters: function () { return [{ type: i1$4.Router }]; } });
7226
7226
 
7227
- /** */
7228
- class CheckboxComponent {
7229
- constructor() {
7230
- this.icon = 'checkbox';
7231
- }
7232
- }
7233
- CheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
7234
- 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: `
7235
- <div *ngIf="checked" class="container">
7236
- <mat-icon [color]="color">{{icon == 'checkbox' ? 'check_box' : 'toggle_on'}}</mat-icon>
7237
- <span class="mat-body-1">
7238
- <ng-content></ng-content>
7239
- </span>
7240
- </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"] }] });
7241
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CheckboxComponent, decorators: [{
7242
- type: Component,
7243
- args: [{ selector: 'bizdoc-checkbox', template: `
7244
- <div *ngIf="checked" class="container">
7245
- <mat-icon [color]="color">{{icon == 'checkbox' ? 'check_box' : 'toggle_on'}}</mat-icon>
7246
- <span class="mat-body-1">
7247
- <ng-content></ng-content>
7248
- </span>
7249
- </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"] }]
7250
- }], propDecorators: { checked: [{
7251
- type: Input
7252
- }], color: [{
7253
- type: Input
7254
- }], icon: [{
7255
- type: Input
7256
- }] } });
7257
-
7258
7227
  class StateDirective {
7259
7228
  constructor(session, _element) {
7260
7229
  this._element = _element;
@@ -8279,7 +8248,7 @@ const TAKE = 200, SIZE = 20, HEADER_COLUMN_NAMES = ['number', 'subject', 'value'
8279
8248
  /** browse items component*/
8280
8249
  class BrowseItemsComponent {
8281
8250
  /** browse ctor */
8282
- constructor(_mailbox, _accounts, _cube, _session, _sb, _translate, _cd, _router, _messaging, _config) {
8251
+ constructor(_mailbox, _accounts, _cube, _session, _sb, _translate, _cd, _router, _messaging, _cfr, _config) {
8283
8252
  this._mailbox = _mailbox;
8284
8253
  this._accounts = _accounts;
8285
8254
  this._cube = _cube;
@@ -8289,6 +8258,7 @@ class BrowseItemsComponent {
8289
8258
  this._cd = _cd;
8290
8259
  this._router = _router;
8291
8260
  this._messaging = _messaging;
8261
+ this._cfr = _cfr;
8292
8262
  this._config = _config;
8293
8263
  this.onopen = new EventEmitter();
8294
8264
  this.onview = new EventEmitter();
@@ -8379,7 +8349,7 @@ class BrowseItemsComponent {
8379
8349
  subscribe(e => this.loading = e);
8380
8350
  }
8381
8351
  ngOnChanges(_) {
8382
- this.displayedColumns = this._columns();
8352
+ this._columns();
8383
8353
  this.refresh();
8384
8354
  }
8385
8355
  get folder() {
@@ -8432,6 +8402,15 @@ class BrowseItemsComponent {
8432
8402
  subscribe(r => {
8433
8403
  this.selection.clear();
8434
8404
  this.dataSource = new MatTableDataSource(r);
8405
+ if (this.dataColumns.length) {
8406
+ const { controls } = this._session.profile;
8407
+ r.forEach(i => this.dataColumns.forEach(c => {
8408
+ const { type, name } = c;
8409
+ if (!controls[type])
8410
+ controls[type] = controls.find(c => c.name === type);
8411
+ i[name] = new ComponentPortal(this._cfr.component(controls[type].template));
8412
+ }));
8413
+ }
8435
8414
  this.sort.active = this.sorting;
8436
8415
  this.sort.start = this.direction;
8437
8416
  this.dataSource.sort = this.sort;
@@ -8597,8 +8576,15 @@ class BrowseItemsComponent {
8597
8576
  this.dataSource.filter = '';
8598
8577
  }), map(() => items));
8599
8578
  }
8600
- _add(m) {
8601
- this.dataSource.data.splice(0, 0, m);
8579
+ _add(item) {
8580
+ const { controls } = this._session.profile;
8581
+ this.dataColumns.forEach(c => {
8582
+ const { type, name } = c;
8583
+ if (!controls[type])
8584
+ controls[type] = controls.find(c => c.name === type);
8585
+ item[name] = new ComponentPortal(this._cfr.component(controls[type].template));
8586
+ });
8587
+ this.dataSource.data.splice(0, 0, item);
8602
8588
  this.dataSource.filter = '';
8603
8589
  }
8604
8590
  _remove(item) {
@@ -8608,42 +8594,43 @@ class BrowseItemsComponent {
8608
8594
  this._cd.markForCheck();
8609
8595
  }
8610
8596
  _columns() {
8611
- const columns = ['select'];
8597
+ this.displayedColumns = ['select'];
8612
8598
  if (this.folder && this.folder.columns)
8613
- this._appendcolumns(this.folder.columns, columns);
8599
+ this._addDataColumns(this.folder.columns);
8614
8600
  else if (!this.folder) {
8615
8601
  const folder = this._session.profile.folders.find(f => f.name === 'fav');
8616
8602
  if (folder && folder.columns)
8617
- this._appendcolumns(folder.columns, columns);
8618
- else {
8619
- columns.push('number');
8620
- if (!this.isMobile) {
8621
- columns.push('subject');
8622
- }
8623
- columns.push('value');
8624
- }
8603
+ this._addDataColumns(folder.columns);
8604
+ else
8605
+ defaults();
8625
8606
  }
8626
8607
  else if (this._config.folders && this._config.folders.columns)
8627
- this._appendcolumns(this._config.folders.columns, columns);
8628
- else {
8629
- columns.push('number');
8608
+ this._addDataColumns(this._config.folders.columns);
8609
+ else
8610
+ defaults();
8611
+ this.displayedColumns.push('options');
8612
+ function defaults() {
8613
+ this.displayedColumns.push('number');
8630
8614
  if (!this.isMobile) {
8631
- columns.push('subject');
8615
+ this.displayedColumns.push('subject');
8632
8616
  }
8633
- columns.push('value');
8617
+ this.displayedColumns.push('value');
8634
8618
  }
8635
- columns.push('options');
8636
- return columns;
8637
8619
  }
8638
- _appendcolumns(source, columns) {
8639
- this.customColumns = [];
8640
- source.forEach(c => {
8641
- if (HEADER_COLUMN_NAMES.indexOf(c.name) > -1)
8642
- columns.push(c.name);
8643
- else
8644
- this.customColumns.push(c);
8620
+ _addDataColumns(columns) {
8621
+ this.dataColumns = [];
8622
+ columns.forEach(c => {
8623
+ this.displayedColumns.push(c.name);
8624
+ if (HEADER_COLUMN_NAMES.indexOf(c.name) < 0) {
8625
+ this.dataColumns.push(c);
8626
+ }
8645
8627
  });
8646
8628
  }
8629
+ dataColumnAttached(item, column, componentRef) {
8630
+ const { instance } = componentRef;
8631
+ instance.mode = 'preview';
8632
+ instance.control.setValue(item.model[column.name]);
8633
+ }
8647
8634
  sendAll(action, args) {
8648
8635
  const params = queryParams(args);
8649
8636
  this._forEach(i => this._mailbox.send(i.id, i.version, i.formId, null, action, params, i.read, i.folderId, i.received).
@@ -8672,8 +8659,8 @@ class BrowseItemsComponent {
8672
8659
  this._destroy.complete();
8673
8660
  }
8674
8661
  }
8675
- 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 });
8676
- 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: [
8662
+ 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 });
8663
+ 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: [
8677
8664
  listAnimation,
8678
8665
  itemAnimation,
8679
8666
  expandListItemAnimation,
@@ -8688,9 +8675,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
8688
8675
  listItemUpdatedAnimation
8689
8676
  ], host: {
8690
8677
  class: 'bizdoc-browse-items'
8691
- }, 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"] }]
8678
+ }, 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"] }]
8692
8679
  }], ctorParameters: function () {
8693
- return [{ type: MailboxService }, { type: AccountService }, { type: CubeService }, { type: SessionService }, { type: PromptService }, { type: TranslateService }, { type: i0.ChangeDetectorRef }, { type: RouterImpl }, { type: HubService }, { type: undefined, decorators: [{
8680
+ 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: [{
8694
8681
  type: Inject,
8695
8682
  args: [BIZDOC_CONFIG]
8696
8683
  }] }];
@@ -10737,6 +10724,9 @@ class CubePivotComponent {
10737
10724
  dataSource: data,
10738
10725
  emptyCellsTextContent: this.emptyCellsTextContent,
10739
10726
  enableSorting: false,
10727
+ showRowSubTotals: false,
10728
+ showAggregationOnValueField: false,
10729
+ showSubTotals: false,
10740
10730
  formatSettings: this.formatSettings
10741
10731
  };
10742
10732
  }
@@ -10915,6 +10905,8 @@ class CubePivotComponent {
10915
10905
  height: '100%',
10916
10906
  enableValueSorting: false,
10917
10907
  showTooltip: false,
10908
+ showToolbar: false,
10909
+ showGroupingBar: false,
10918
10910
  allowConditionalFormatting: true,
10919
10911
  allowExcelExport: true,
10920
10912
  gridSettings: this.gridSettings,
@@ -12775,6 +12767,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
12775
12767
  type: Output
12776
12768
  }] } });
12777
12769
 
12770
+ /** */
12771
+ class CheckboxComponent {
12772
+ constructor() {
12773
+ this.icon = 'checkbox';
12774
+ }
12775
+ }
12776
+ CheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12777
+ 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: `
12778
+ <div *ngIf="checked" class="container">
12779
+ <mat-icon [color]="color">{{icon == 'checkbox' ? 'check_box' : 'toggle_on'}}</mat-icon>
12780
+ <span class="mat-body-1">
12781
+ <ng-content></ng-content>
12782
+ </span>
12783
+ </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"] }] });
12784
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CheckboxComponent, decorators: [{
12785
+ type: Component,
12786
+ args: [{ selector: 'bizdoc-checkbox', template: `
12787
+ <div *ngIf="checked" class="container">
12788
+ <mat-icon [color]="color">{{icon == 'checkbox' ? 'check_box' : 'toggle_on'}}</mat-icon>
12789
+ <span class="mat-body-1">
12790
+ <ng-content></ng-content>
12791
+ </span>
12792
+ </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"] }]
12793
+ }], propDecorators: { checked: [{
12794
+ type: Input
12795
+ }], color: [{
12796
+ type: Input
12797
+ }], icon: [{
12798
+ type: Input
12799
+ }] } });
12800
+
12778
12801
  class DateFormatPipe {
12779
12802
  constructor() {
12780
12803
  dayjs.extend(localizedFormat);
@@ -23862,7 +23885,7 @@ let CubeWidgetFilterComponent = class CubeWidgetFilterComponent {
23862
23885
  this._session = _session;
23863
23886
  this._fb = _fb;
23864
23887
  this.exclude = [];
23865
- const { xAxis, series, exclude, cube: name } = this._widgetRef.options;
23888
+ const { xAxis, series, exclude, filters, cube: name } = this._widgetRef.options;
23866
23889
  this.cube = name;
23867
23890
  if (xAxis) {
23868
23891
  if (isArray(xAxis))
@@ -23882,6 +23905,8 @@ let CubeWidgetFilterComponent = class CubeWidgetFilterComponent {
23882
23905
  else
23883
23906
  this.exclude.push(exclude);
23884
23907
  }
23908
+ if (filters)
23909
+ this.exclude = this.exclude.concat(Object.keys(filters));
23885
23910
  const cube = this._session.profile.cubes.find(c => c.name == name) || this._session.profile.cubes[0], controls = {};
23886
23911
  cube.axes.filter(a => a.selectionMode !== 'None').forEach(a => {
23887
23912
  controls[a.name] = this._fb.control(null);
@@ -23892,7 +23917,7 @@ let CubeWidgetFilterComponent = class CubeWidgetFilterComponent {
23892
23917
  this.axes = this.form.value;
23893
23918
  }
23894
23919
  valuesChange(axes) {
23895
- this.form.reset(axes, { emitEvent: false });
23920
+ this.form.reset(axes);
23896
23921
  }
23897
23922
  };
23898
23923
  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 });
@@ -32712,7 +32737,7 @@ class DesignerItemComponent {
32712
32737
  }
32713
32738
  }
32714
32739
  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 });
32715
- 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" }] });
32740
+ 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" }] });
32716
32741
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DesignerItemComponent, decorators: [{
32717
32742
  type: Component,
32718
32743
  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"] }]