@bizdoc/core 1.13.11 → 1.13.12

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 (1212) hide show
  1. package/LICENSE.md +1 -0
  2. package/karma.conf.js +44 -0
  3. package/ng-package.json +11 -0
  4. package/package.json +78 -78
  5. package/src/lib/admin/admin-dismiss.service.ts +24 -0
  6. package/src/lib/admin/admin-menu.component.html +18 -0
  7. package/src/lib/admin/admin-menu.component.ts +20 -0
  8. package/src/lib/admin/core/ace.input.ts +133 -0
  9. package/src/lib/admin/core/color-picker.input.scss +17 -0
  10. package/src/lib/admin/core/color-picker.input.ts +175 -0
  11. package/src/lib/admin/core/search.input.ts +32 -0
  12. package/src/lib/admin/diff/_configuration-diff-theme.scss +72 -0
  13. package/src/lib/admin/diff/configuration-diff.component.html +24 -0
  14. package/src/lib/admin/diff/configuration-diff.component.scss +16 -0
  15. package/src/lib/admin/diff/configuration-diff.component.ts +552 -0
  16. package/src/lib/admin/document-trace/_timeline-theme.scss +70 -0
  17. package/src/lib/admin/document-trace/document-trace.component.html +55 -0
  18. package/src/lib/admin/document-trace/document-trace.component.scss +10 -0
  19. package/src/lib/admin/document-trace/document-trace.component.ts +471 -0
  20. package/src/lib/admin/document-trace/reassign.dialog.html +24 -0
  21. package/src/lib/admin/document-trace/reassign.dialog.ts +34 -0
  22. package/src/lib/admin/document-trace/timeline.ts +45 -0
  23. package/src/lib/admin/document-trace/trace-element.component.html +57 -0
  24. package/src/lib/admin/document-trace/trace-element.component.scss +21 -0
  25. package/src/lib/admin/document-trace/trace-element.component.ts +106 -0
  26. package/src/lib/admin/form/form.resolve.service.ts +13 -0
  27. package/src/lib/admin/form/form.service.ts +23 -0
  28. package/src/lib/admin/form/workflow/node-ref.ts +8 -0
  29. package/src/lib/admin/form/workflow/node.component.html +36 -0
  30. package/src/lib/admin/form/workflow/node.component.scss +4 -0
  31. package/src/lib/admin/form/workflow/node.component.ts +129 -0
  32. package/src/lib/admin/form/workflow/role-node.component.html +40 -0
  33. package/src/lib/admin/form/workflow/role-node.component.ts +66 -0
  34. package/src/lib/admin/form/workflow/tools.component.exp.ts +13 -0
  35. package/src/lib/admin/form/workflow/tools.component.html +1 -0
  36. package/src/lib/admin/form/workflow/workflow.component.html +73 -0
  37. package/src/lib/admin/form/workflow/workflow.component.scss +52 -0
  38. package/src/lib/admin/form/workflow/workflow.component.ts +400 -0
  39. package/src/lib/admin/indices/manage-cube-index.component.html +35 -0
  40. package/src/lib/admin/indices/manage-cube-index.component.scss +16 -0
  41. package/src/lib/admin/indices/manage-cube-index.component.ts +155 -0
  42. package/src/lib/admin/patterns/patterns.component.html +70 -0
  43. package/src/lib/admin/patterns/patterns.component.ts +166 -0
  44. package/src/lib/admin/permissions/permissions.component.html +21 -0
  45. package/src/lib/admin/permissions/permissions.component.scss +7 -0
  46. package/src/lib/admin/permissions/permissions.component.ts +89 -0
  47. package/src/lib/admin/positions/positions-popup.component.html +23 -0
  48. package/src/lib/admin/positions/positions-popup.component.ts +68 -0
  49. package/src/lib/admin/positions/positions.component.html +148 -0
  50. package/src/lib/admin/positions/positions.component.scss +14 -0
  51. package/src/lib/admin/positions/positions.component.ts +463 -0
  52. package/src/lib/admin/profiler/profiler.component.html +109 -0
  53. package/src/lib/admin/profiler/profiler.component.scss +22 -0
  54. package/src/lib/admin/profiler/profiler.component.ts +268 -0
  55. package/src/lib/admin/utility-ref.ts +44 -0
  56. package/src/lib/admin/utility-wrapper.component.ts +52 -0
  57. package/src/lib/admin/utility.pane.component.ts +49 -0
  58. package/src/lib/app.component.ts +89 -0
  59. package/src/lib/bizdoc.module.ts +71 -0
  60. package/src/lib/browse/_browse-theme.scss +86 -0
  61. package/src/lib/browse/browse-items.component.html +171 -0
  62. package/src/lib/browse/browse-items.component.scss +52 -0
  63. package/src/lib/browse/browse-items.component.ts +455 -0
  64. package/src/lib/browse/browse.mobile.component.html +33 -0
  65. package/src/lib/browse/browse.mobile.component.ts +90 -0
  66. package/src/lib/browse/browse.pane.component.html +43 -0
  67. package/src/lib/browse/browse.pane.component.scss +4 -0
  68. package/src/lib/browse/browse.pane.component.ts +141 -0
  69. package/src/lib/browse/expanded-item/expanded-item.component.html +38 -0
  70. package/src/lib/browse/expanded-item/expanded-item.component.scss +35 -0
  71. package/src/lib/browse/expanded-item/expanded-item.component.ts +333 -0
  72. package/src/lib/browse/filter/filter.component.html +50 -0
  73. package/src/lib/browse/filter/filter.component.scss +10 -0
  74. package/src/lib/browse/filter/filter.component.ts +156 -0
  75. package/src/lib/browse/folders-menu.component.html +20 -0
  76. package/src/lib/browse/folders-menu.component.scss +15 -0
  77. package/src/lib/browse/folders-menu.component.ts +42 -0
  78. package/src/lib/chat/_chat-theme.scss +95 -0
  79. package/src/lib/chat/chat-info.ts +76 -0
  80. package/src/lib/chat/chat-pool.component.exp.ts +117 -0
  81. package/src/lib/chat/chat-pool.component.html +13 -0
  82. package/src/lib/chat/chat-pool.component.scss +10 -0
  83. package/src/lib/chat/chat.mobile.component.html +6 -0
  84. package/src/lib/chat/chat.mobile.component.scss +8 -0
  85. package/src/lib/chat/chat.mobile.component.ts +18 -0
  86. package/src/lib/chat/chat.service.ts +128 -0
  87. package/src/lib/chat/contacts.component.html +37 -0
  88. package/src/lib/chat/contacts.component.scss +49 -0
  89. package/src/lib/chat/contacts.component.ts +88 -0
  90. package/src/lib/chat/contacts.pane.component.ts +25 -0
  91. package/src/lib/chat/conversation.component.html +28 -0
  92. package/src/lib/chat/conversation.component.scss +14 -0
  93. package/src/lib/chat/conversation.component.ts +186 -0
  94. package/src/lib/chat/conversation.pane.component.ts +46 -0
  95. package/src/lib/compose/_compose-theme.scss +63 -0
  96. package/src/lib/compose/action/action-picker.component.html +25 -0
  97. package/src/lib/compose/action/action-picker.component.scss +4 -0
  98. package/src/lib/compose/action/action-picker.component.ts +72 -0
  99. package/src/lib/compose/action/action-ref.ts +19 -0
  100. package/src/lib/compose/action/action.base.ts +58 -0
  101. package/src/lib/compose/action/action.dialog.html +17 -0
  102. package/src/lib/compose/action/action.dialog.scss +1 -0
  103. package/src/lib/compose/action/action.dialog.ts +57 -0
  104. package/src/lib/compose/action/action.pane.dialog.exp.ts +77 -0
  105. package/src/lib/compose/action/action.pane.dialog.html +12 -0
  106. package/src/lib/compose/action/assign-action.component.html +35 -0
  107. package/src/lib/compose/action/assign-action.component.ts +77 -0
  108. package/src/lib/compose/action/return-action.component.html +13 -0
  109. package/src/lib/compose/action/return-action.component.ts +38 -0
  110. package/src/lib/compose/attachments/attachments.component.html +23 -0
  111. package/src/lib/compose/attachments/attachments.component.scss +21 -0
  112. package/src/lib/compose/attachments/attachments.component.ts +114 -0
  113. package/src/lib/compose/attachments/preview/attachment-preview.component.html +15 -0
  114. package/src/lib/compose/attachments/preview/attachment-preview.component.scss +36 -0
  115. package/src/lib/compose/attachments/preview/attachment-preview.component.ts +140 -0
  116. package/src/lib/compose/attachments/progress-button.directive.ts +18 -0
  117. package/src/lib/compose/can-deactivate-changes.service.ts +22 -0
  118. package/src/lib/compose/comments/_comments-theme.scss +82 -0
  119. package/src/lib/compose/comments/comment.component.html +36 -0
  120. package/src/lib/compose/comments/comment.component.ts +160 -0
  121. package/src/lib/compose/comments/comments.component.html +27 -0
  122. package/src/lib/compose/comments/comments.component.scss +33 -0
  123. package/src/lib/compose/comments/comments.component.ts +220 -0
  124. package/src/lib/compose/comments/comments.pane.component.ts +41 -0
  125. package/src/lib/compose/comments/edit-comment.component.html +3 -0
  126. package/src/lib/compose/comments/edit-comment.component.ts +35 -0
  127. package/src/lib/compose/comments/edits.component.html +7 -0
  128. package/src/lib/compose/comments/edits.component.ts +33 -0
  129. package/src/lib/compose/comments/quick-comment.component.exp.ts +60 -0
  130. package/src/lib/compose/comments/quick-comment.component.html +5 -0
  131. package/src/lib/compose/comments/quick-comment.component.scss +11 -0
  132. package/src/lib/compose/comments/votes.component.html +7 -0
  133. package/src/lib/compose/comments/votes.component.ts +38 -0
  134. package/src/lib/compose/compose-resolve.service.ts +42 -0
  135. package/src/lib/compose/compose.mobile.component.html +67 -0
  136. package/src/lib/compose/compose.mobile.component.scss +14 -0
  137. package/src/lib/compose/compose.mobile.component.ts +97 -0
  138. package/src/lib/compose/compose.pane.component.html +67 -0
  139. package/src/lib/compose/compose.pane.component.scss +6 -0
  140. package/src/lib/compose/compose.pane.component.ts +187 -0
  141. package/src/lib/compose/copy/copy.dialog.html +21 -0
  142. package/src/lib/compose/copy/copy.dialog.ts +40 -0
  143. package/src/lib/compose/dismiss.service.ts +26 -0
  144. package/src/lib/compose/document-resolver.service.ts +13 -0
  145. package/src/lib/compose/document.component.html +5 -0
  146. package/src/lib/compose/document.component.ts +41 -0
  147. package/src/lib/compose/document.mobile.component.ts +20 -0
  148. package/src/lib/compose/document.pane.component.ts +22 -0
  149. package/src/lib/compose/events/events.component.html +6 -0
  150. package/src/lib/compose/events/events.component.ts +21 -0
  151. package/src/lib/compose/form-ref.ts +53 -0
  152. package/src/lib/compose/form-selector/form-selector.sheet.html +10 -0
  153. package/src/lib/compose/form-selector/form-selector.sheet.ts +74 -0
  154. package/src/lib/compose/form.component.html +13 -0
  155. package/src/lib/compose/form.component.ts +446 -0
  156. package/src/lib/compose/maps/maps.component.html +3 -0
  157. package/src/lib/compose/maps/maps.component.ts +22 -0
  158. package/src/lib/compose/new-menu.component.html +13 -0
  159. package/src/lib/compose/new-menu.component.scss +11 -0
  160. package/src/lib/compose/new-menu.component.ts +106 -0
  161. package/src/lib/compose/privilage.directive.ts +43 -0
  162. package/src/lib/compose/recipient-resolver.service.ts +15 -0
  163. package/src/lib/compose/save-changes.dialog.html +13 -0
  164. package/src/lib/compose/save-changes.dialog.ts +10 -0
  165. package/src/lib/compose/state.component.ts +29 -0
  166. package/src/lib/compose/tag/tags.component.html +22 -0
  167. package/src/lib/compose/tag/tags.component.scss +1 -0
  168. package/src/lib/compose/tag/tags.component.ts +83 -0
  169. package/src/lib/compose/trace/flow.component.html +19 -0
  170. package/src/lib/compose/trace/flow.component.scss +7 -0
  171. package/src/lib/compose/trace/flow.component.ts +695 -0
  172. package/src/lib/compose/trace/people.component.ts +33 -0
  173. package/src/lib/compose/trace/trace.base.ts +72 -0
  174. package/src/lib/compose/trace/trace.component.html +57 -0
  175. package/src/lib/compose/trace/trace.component.scss +21 -0
  176. package/src/lib/compose/trace/trace.component.ts +368 -0
  177. package/src/lib/compose/trace/trace.pane.component.html +3 -0
  178. package/src/lib/compose/trace/trace.pane.component.scss +5 -0
  179. package/src/lib/compose/trace/trace.pane.component.ts +47 -0
  180. package/src/lib/compose/version-compare/_compare-theme.scss +147 -0
  181. package/src/lib/compose/version-compare/version-compare.component.ts +49 -0
  182. package/src/lib/compose/version-compare/version-compare.directive.ts +292 -0
  183. package/src/lib/compose/version-compare/version.pane.component.html +19 -0
  184. package/src/lib/compose/version-compare/version.pane.component.scss +8 -0
  185. package/src/lib/compose/version-compare/version.pane.component.ts +53 -0
  186. package/src/lib/core/NgComponentOutlet.ts +31 -0
  187. package/src/lib/core/account.service.ts +30 -0
  188. package/src/lib/core/animated-icon/animated-icon.directive.html +3 -0
  189. package/src/lib/core/animated-icon/animated-icon.directive.scss +12 -0
  190. package/src/lib/core/animated-icon/animated-icon.directive.ts +41 -0
  191. package/src/lib/core/animations.ts +207 -0
  192. package/src/lib/core/authentication.ts +7 -0
  193. package/src/lib/core/avatar/_avatar-theme.scss +60 -0
  194. package/src/lib/core/avatar/avatar.component.html +6 -0
  195. package/src/lib/core/avatar/avatar.component.ts +108 -0
  196. package/src/lib/core/base.ts +47 -0
  197. package/src/lib/core/can-activate.service.exp.ts +31 -0
  198. package/src/lib/core/colors.ts +322 -0
  199. package/src/lib/core/component-factory-resolver.ts +67 -0
  200. package/src/lib/core/configuration.ts +121 -0
  201. package/src/lib/core/controls/_daterange-theme.scss +16 -0
  202. package/src/lib/core/controls/address.input.ts +163 -0
  203. package/src/lib/core/controls/auto-complete.input.ts +218 -0
  204. package/src/lib/core/controls/combination-picker-body.html +34 -0
  205. package/src/lib/core/controls/combination-picker-body.scss +40 -0
  206. package/src/lib/core/controls/combination-picker-body.ts +194 -0
  207. package/src/lib/core/controls/combination-picker.html +6 -0
  208. package/src/lib/core/controls/combination-picker.scss +9 -0
  209. package/src/lib/core/controls/combination-picker.ts +243 -0
  210. package/src/lib/core/controls/combination-pool.html +10 -0
  211. package/src/lib/core/controls/combination-pool.scss +35 -0
  212. package/src/lib/core/controls/combination-pool.ts +92 -0
  213. package/src/lib/core/controls/file.input.html +48 -0
  214. package/src/lib/core/controls/file.input.scss +40 -0
  215. package/src/lib/core/controls/file.input.ts +363 -0
  216. package/src/lib/core/controls/select.input.ts +211 -0
  217. package/src/lib/core/controls/time-picker.html +4 -0
  218. package/src/lib/core/controls/time-picker.ts +199 -0
  219. package/src/lib/core/controls/timespan.input.ts +175 -0
  220. package/src/lib/core/datasource.service.ts +80 -0
  221. package/src/lib/core/decorators.ts +56 -0
  222. package/src/lib/core/firebase.service.ts +55 -0
  223. package/src/lib/core/functions.ts +241 -0
  224. package/src/lib/core/guide/_guide-theme.scss +197 -0
  225. package/src/lib/core/guide/guide.component.html +20 -0
  226. package/src/lib/core/guide/guide.component.ts +210 -0
  227. package/src/lib/core/guide/guide.service.ts +98 -0
  228. package/src/lib/core/http.interceptor.ts +80 -0
  229. package/src/lib/core/hub.service.ts +202 -0
  230. package/src/lib/core/identity/identity.component.html +2 -0
  231. package/src/lib/core/identity/identity.component.ts +57 -0
  232. package/src/lib/core/info/attachment-info.service.ts +48 -0
  233. package/src/lib/core/info/document-info.service.ts +14 -0
  234. package/src/lib/core/info/location-info.component.scss +13 -0
  235. package/src/lib/core/info/location-info.component.ts +64 -0
  236. package/src/lib/core/info/map-info.ts +33 -0
  237. package/src/lib/core/layout/autocomplete.field.ts +41 -0
  238. package/src/lib/core/layout/checkbox.field.ts +21 -0
  239. package/src/lib/core/layout/checkbox.scss +13 -0
  240. package/src/lib/core/layout/checkbox.ts +21 -0
  241. package/src/lib/core/layout/date-range.field.ts +32 -0
  242. package/src/lib/core/layout/date.field.ts +26 -0
  243. package/src/lib/core/layout/expression.field.ts +26 -0
  244. package/src/lib/core/layout/file.field.ts +27 -0
  245. package/src/lib/core/layout/html.field.ts +28 -0
  246. package/src/lib/core/layout/input.base.ts +12 -0
  247. package/src/lib/core/layout/input.field.ts +43 -0
  248. package/src/lib/core/layout/layout.component.scss +9 -0
  249. package/src/lib/core/layout/layout.component.ts +189 -0
  250. package/src/lib/core/layout/numeric.field.ts +24 -0
  251. package/src/lib/core/layout/select.field.ts +52 -0
  252. package/src/lib/core/layout/switch.field.ts +21 -0
  253. package/src/lib/core/layout/textarea.field.ts +21 -0
  254. package/src/lib/core/layout/timespan.field.ts +25 -0
  255. package/src/lib/core/lottie-animation.ts +37 -0
  256. package/src/lib/core/mailbox.service.ts +453 -0
  257. package/src/lib/core/models.ts +681 -0
  258. package/src/lib/core/none.component.scss +26 -0
  259. package/src/lib/core/none.component.ts +28 -0
  260. package/src/lib/core/pipes/action.pipe.ts +18 -0
  261. package/src/lib/core/pipes/calendar.pipe.ts +84 -0
  262. package/src/lib/core/pipes/date-format.pipe.ts +12 -0
  263. package/src/lib/core/pipes/daterange.pipe.ts +45 -0
  264. package/src/lib/core/pipes/difference.pipe.ts +9 -0
  265. package/src/lib/core/pipes/duration-format.pipe.ts +42 -0
  266. package/src/lib/core/pipes/duration.pipe.ts +13 -0
  267. package/src/lib/core/pipes/form.pipe.ts +19 -0
  268. package/src/lib/core/pipes/join.pipe.ts +10 -0
  269. package/src/lib/core/pipes/role.pipe.ts +19 -0
  270. package/src/lib/core/pipes/sanitize-html.pipe.ts +10 -0
  271. package/src/lib/core/pipes/sort.pipe.ts +34 -0
  272. package/src/lib/core/pipes/state.pipe.ts +19 -0
  273. package/src/lib/core/pipes/time-ago.pipe.ts +59 -0
  274. package/src/lib/core/pipes/translate.pipe.ts +22 -0
  275. package/src/lib/core/pipes/type-value.pipe.ts +37 -0
  276. package/src/lib/core/pipes/user-name.pipe.ts +14 -0
  277. package/src/lib/core/popup/_popup-theme.scss +363 -0
  278. package/src/lib/core/popup/popup-ref.ts +19 -0
  279. package/src/lib/core/popup/popup.component.html +6 -0
  280. package/src/lib/core/popup/popup.component.ts +40 -0
  281. package/src/lib/core/popup/popup.service.ts +156 -0
  282. package/src/lib/core/popup/tooltip.directive.ts +58 -0
  283. package/src/lib/core/prompt/ask/ask.dialog.html +6 -0
  284. package/src/lib/core/prompt/ask/ask.dialog.ts +35 -0
  285. package/src/lib/core/prompt/mask/mask.component.html +1 -0
  286. package/src/lib/core/prompt/mask/mask.component.scss +14 -0
  287. package/src/lib/core/prompt/mask/mask.component.ts +15 -0
  288. package/src/lib/core/prompt.service.ts +81 -0
  289. package/src/lib/core/router.ts +29 -0
  290. package/src/lib/core/session.service.ts +255 -0
  291. package/src/lib/core/slots/_slots-theme.scss +140 -0
  292. package/src/lib/core/slots/extended-tab.component.exp.ts +35 -0
  293. package/src/lib/core/slots/extended-tab.component.html +0 -0
  294. package/src/lib/core/slots/intro.pane.component.exp.ts +23 -0
  295. package/src/lib/core/slots/intro.pane.component.html +22 -0
  296. package/src/lib/core/slots/intro.pane.component.scss +8 -0
  297. package/src/lib/core/slots/pane-ref.ts +162 -0
  298. package/src/lib/core/slots/router.directive.ts +55 -0
  299. package/src/lib/core/slots/router.service.ts +54 -0
  300. package/src/lib/core/slots/slot.component.exp.ts +49 -0
  301. package/src/lib/core/slots/slot.component.html +15 -0
  302. package/src/lib/core/slots/slot.component.scss +18 -0
  303. package/src/lib/core/slots/slots.component.html +67 -0
  304. package/src/lib/core/slots/slots.component.scss +163 -0
  305. package/src/lib/core/slots/slots.component.ts +1171 -0
  306. package/src/lib/core/tagging/documents.component.html +11 -0
  307. package/src/lib/core/tagging/documents.component.ts +19 -0
  308. package/src/lib/core/tagging/edit-input.component.html +41 -0
  309. package/src/lib/core/tagging/edit-input.component.scss +21 -0
  310. package/src/lib/core/tagging/edit-input.component.ts +211 -0
  311. package/src/lib/core/tagging/emoji.component.ts +23 -0
  312. package/src/lib/core/tagging/tagging-item.directive.ts +34 -0
  313. package/src/lib/core/tagging/tagging.component-base.ts +29 -0
  314. package/src/lib/core/tagging/tagging.component.scss +22 -0
  315. package/src/lib/core/tagging/tagging.directive.ts +130 -0
  316. package/src/lib/core/tagging/tagging.pipe.ts +76 -0
  317. package/src/lib/core/tagging/users.component.html +13 -0
  318. package/src/lib/core/tagging/users.component.ts +28 -0
  319. package/src/lib/core/translate.service.ts +103 -0
  320. package/src/lib/core/translations.ts +1104 -0
  321. package/src/lib/core/window-title.service.ts +54 -0
  322. package/src/lib/cube/accum/accum.component.html +16 -0
  323. package/src/lib/cube/accum/accum.component.ts +265 -0
  324. package/src/lib/cube/chart/chart.component.html +32 -0
  325. package/src/lib/cube/chart/chart.component.ts +329 -0
  326. package/src/lib/cube/cube-info.service.ts +135 -0
  327. package/src/lib/cube/cube-menu.component.html +13 -0
  328. package/src/lib/cube/cube-menu.component.ts +18 -0
  329. package/src/lib/cube/cube-view.component.html +66 -0
  330. package/src/lib/cube/cube-view.component.ts +186 -0
  331. package/src/lib/cube/cube.service.ts +483 -0
  332. package/src/lib/cube/declarations.ts +24 -0
  333. package/src/lib/cube/explore/document-item.component.ts +28 -0
  334. package/src/lib/cube/explore/explore-item.component.scss +4 -0
  335. package/src/lib/cube/explore/explore-item.component.ts +23 -0
  336. package/src/lib/cube/explore/explore-items.component.html +25 -0
  337. package/src/lib/cube/explore/explore-items.component.scss +7 -0
  338. package/src/lib/cube/explore/explore-items.component.ts +185 -0
  339. package/src/lib/cube/explore/explore.pane.component.html +12 -0
  340. package/src/lib/cube/explore/explore.pane.component.ts +75 -0
  341. package/src/lib/cube/explore/item-resolver.service.ts +24 -0
  342. package/src/lib/cube/explore/item.pane.component.html +3 -0
  343. package/src/lib/cube/explore/item.pane.component.ts +23 -0
  344. package/src/lib/cube/filter/filter-tags.component.exp.ts +70 -0
  345. package/src/lib/cube/filter/filter-tags.component.html +11 -0
  346. package/src/lib/cube/filter/filter-tags.component.scss +0 -0
  347. package/src/lib/cube/filter/filter-tags.component.spec.ts +25 -0
  348. package/src/lib/cube/filter/filter.component.html +25 -0
  349. package/src/lib/cube/filter/filter.component.scss +8 -0
  350. package/src/lib/cube/filter/filter.component.ts +116 -0
  351. package/src/lib/cube/grid/grid.component.html +29 -0
  352. package/src/lib/cube/grid/grid.component.scss +10 -0
  353. package/src/lib/cube/grid/grid.component.ts +223 -0
  354. package/src/lib/cube/grid/spreadsheet.component.ts +380 -0
  355. package/src/lib/cube/matrix/_matrix.theme.scss +86 -0
  356. package/src/lib/cube/matrix/matrix.base.ts +149 -0
  357. package/src/lib/cube/matrix/matrix.mobile.component.html +28 -0
  358. package/src/lib/cube/matrix/matrix.mobile.component.ts +60 -0
  359. package/src/lib/cube/matrix/matrix.pane.component.html +34 -0
  360. package/src/lib/cube/matrix/matrix.pane.component.scss +10 -0
  361. package/src/lib/cube/matrix/matrix.pane.component.ts +71 -0
  362. package/src/lib/cube/matrix/popup.component.html +32 -0
  363. package/src/lib/cube/matrix/popup.component.scss +7 -0
  364. package/src/lib/cube/matrix/popup.component.ts +57 -0
  365. package/src/lib/cube/matrix/table.component.html +43 -0
  366. package/src/lib/cube/matrix/table.component.scss +21 -0
  367. package/src/lib/cube/matrix/table.component.ts +514 -0
  368. package/src/lib/cube/parallel/item.ts +47 -0
  369. package/src/lib/cube/parallel/parallel.component.html +17 -0
  370. package/src/lib/cube/parallel/parallel.component.scss +13 -0
  371. package/src/lib/cube/parallel/parallel.component.ts +167 -0
  372. package/src/lib/cube/pivot/pivot.component.html +14 -0
  373. package/src/lib/cube/pivot/pivot.component.ts +514 -0
  374. package/src/lib/cube/sum/_sum.theme.scss +63 -0
  375. package/src/lib/cube/sum/sum.component.html +60 -0
  376. package/src/lib/cube/sum/sum.component.scss +94 -0
  377. package/src/lib/cube/sum/sum.component.ts +438 -0
  378. package/src/lib/cube/view-base.ts +82 -0
  379. package/src/lib/cube/view.mobile.component.html +38 -0
  380. package/src/lib/cube/view.mobile.component.scss +9 -0
  381. package/src/lib/cube/view.mobile.component.ts +115 -0
  382. package/src/lib/cube/view.pane.component.html +25 -0
  383. package/src/lib/cube/view.pane.component.scss +12 -0
  384. package/src/lib/cube/view.pane.component.ts +76 -0
  385. package/src/lib/dashboard/_table.widget.scss +19 -0
  386. package/src/lib/dashboard/actions/actions.widget.html +6 -0
  387. package/src/lib/dashboard/actions/actions.widget.ts +118 -0
  388. package/src/lib/dashboard/cube/accum-cube.widget.html +15 -0
  389. package/src/lib/dashboard/cube/accum-cube.widget.ts +154 -0
  390. package/src/lib/dashboard/cube/cube-analysis.base.ts +113 -0
  391. package/src/lib/dashboard/cube/cube-analysis.widget.ts +44 -0
  392. package/src/lib/dashboard/cube/cube-chart.widget.html +7 -0
  393. package/src/lib/dashboard/cube/cube-chart.widget.ts +144 -0
  394. package/src/lib/dashboard/cube/documents.widget.html +19 -0
  395. package/src/lib/dashboard/cube/documents.widget.ts +57 -0
  396. package/src/lib/dashboard/cube/filter/filter.component.html +3 -0
  397. package/src/lib/dashboard/cube/filter/filter.component.ts +51 -0
  398. package/src/lib/dashboard/cube/gauge.component.exp.ts +18 -0
  399. package/src/lib/dashboard/dashboard.component.html +18 -0
  400. package/src/lib/dashboard/dashboard.component.scss +36 -0
  401. package/src/lib/dashboard/dashboard.component.ts +45 -0
  402. package/src/lib/dashboard/dashboard.pane.component.ts +19 -0
  403. package/src/lib/dashboard/recents/recents.widget.html +32 -0
  404. package/src/lib/dashboard/recents/recents.widget.scss +9 -0
  405. package/src/lib/dashboard/recents/recents.widget.ts +89 -0
  406. package/src/lib/dashboard/score/activity.widget.html +9 -0
  407. package/src/lib/dashboard/score/activity.widget.ts +164 -0
  408. package/src/lib/dashboard/score/compare-departments.widget.html +8 -0
  409. package/src/lib/dashboard/score/compare-departments.widget.ts +210 -0
  410. package/src/lib/dashboard/score/peers-performance.widget.html +23 -0
  411. package/src/lib/dashboard/score/peers-performance.widget.ts +254 -0
  412. package/src/lib/dashboard/score/pending-results.widget.html +29 -0
  413. package/src/lib/dashboard/score/pending-results.widget.ts +57 -0
  414. package/src/lib/dashboard/score/personal-score.widget.html +18 -0
  415. package/src/lib/dashboard/score/personal-score.widget.ts +225 -0
  416. package/src/lib/dashboard/widget-item.component.ts +90 -0
  417. package/src/lib/dashboard/widget-ref.ts +20 -0
  418. package/src/lib/desktop.module.ts +98 -0
  419. package/src/lib/home/_home-theme.scss +156 -0
  420. package/src/lib/home/about/about.dialog.html +19 -0
  421. package/src/lib/home/about/about.dialog.ts +18 -0
  422. package/src/lib/home/home-base.component.ts +100 -0
  423. package/src/lib/home/home.desktop.component.html +87 -0
  424. package/src/lib/home/home.desktop.component.scss +66 -0
  425. package/src/lib/home/home.desktop.component.ts +188 -0
  426. package/src/lib/home/home.mobile.component.html +81 -0
  427. package/src/lib/home/home.mobile.component.scss +49 -0
  428. package/src/lib/home/home.mobile.component.ts +105 -0
  429. package/src/lib/home/notifications/notifications.component.html +18 -0
  430. package/src/lib/home/notifications/notifications.component.scss +36 -0
  431. package/src/lib/home/notifications/notifications.component.ts +55 -0
  432. package/src/lib/home/options/options.component.html +41 -0
  433. package/src/lib/home/options/options.component.scss +16 -0
  434. package/src/lib/home/options/options.component.ts +95 -0
  435. package/src/lib/home/outofoffice/outofoffice.component.html +5 -0
  436. package/src/lib/home/outofoffice/outofoffice.component.scss +10 -0
  437. package/src/lib/home/outofoffice/outofoffice.component.ts +33 -0
  438. package/src/lib/home/progress-bar.directive.exp.ts +24 -0
  439. package/src/lib/home/search.service.ts +87 -0
  440. package/src/lib/home/sign/sign.component.html +15 -0
  441. package/src/lib/home/sign/sign.component.ts +42 -0
  442. package/src/lib/home/submenu.directive.exp.ts +43 -0
  443. package/src/lib/home/tools.component.html +27 -0
  444. package/src/lib/home/tools.component.scss +15 -0
  445. package/src/lib/home/tools.component.ts +72 -0
  446. package/src/lib/home/welcome/welcome.dialog.exp.ts +35 -0
  447. package/src/lib/home/welcome/welcome.dialog.html +14 -0
  448. package/src/lib/impersonate/impersonate.component.html +17 -0
  449. package/src/lib/impersonate/impersonate.component.scss +3 -0
  450. package/src/lib/impersonate/impersonate.component.spec.ts +24 -0
  451. package/src/lib/impersonate/impersonate.component.ts +60 -0
  452. package/src/lib/mobile.module.ts +39 -0
  453. package/src/lib/modules/chart.module.ts +37 -0
  454. package/src/lib/modules/circular-gauge.module.ts +11 -0
  455. package/src/lib/modules/date.adapter.ts +31 -0
  456. package/src/lib/modules/datepicker.intl.ts +35 -0
  457. package/src/lib/modules/diagram.module.ts +20 -0
  458. package/src/lib/modules/gantt.module.ts +12 -0
  459. package/src/lib/modules/grid.module.ts +16 -0
  460. package/src/lib/modules/material.module.ts +104 -0
  461. package/src/lib/modules/paginator.intl.ts +16 -0
  462. package/src/lib/modules/pivot.module.ts +13 -0
  463. package/src/lib/modules/schedule.module.ts +12 -0
  464. package/src/lib/modules/spreadsheet.module.ts +17 -0
  465. package/src/lib/modules/stepper.intl.ts +12 -0
  466. package/src/lib/modules/texteditor.module.ts +16 -0
  467. package/src/lib/notifications/filter.component.html +6 -0
  468. package/src/lib/notifications/filter.component.ts +16 -0
  469. package/src/lib/notifications/notifications-table.component.html +54 -0
  470. package/src/lib/notifications/notifications-table.component.scss +14 -0
  471. package/src/lib/notifications/notifications-table.component.ts +94 -0
  472. package/src/lib/notifications/notifications.component-base.ts +49 -0
  473. package/src/lib/notifications/notifications.mobile.component.ts +13 -0
  474. package/src/lib/notifications/notifications.pane.component.ts +16 -0
  475. package/src/lib/notifications/notifications.service.ts +66 -0
  476. package/src/lib/notifications/types/commented.notification.html +14 -0
  477. package/src/lib/notifications/types/commented.notification.ts +51 -0
  478. package/src/lib/notifications/types/cube-anomaly.notification.ts +51 -0
  479. package/src/lib/notifications/types/escalated.notification.ts +36 -0
  480. package/src/lib/notifications/types/liked.notification.ts +49 -0
  481. package/src/lib/notifications/types/long-running-task.notification.ts +23 -0
  482. package/src/lib/notifications/types/notification-base.ts +37 -0
  483. package/src/lib/notifications/types/nudge.notification.ts +32 -0
  484. package/src/lib/notifications/types/state-changed.notification.ts +27 -0
  485. package/src/lib/notifications/types/tagged.notification.ts +46 -0
  486. package/src/lib/notifications/types/text.notification.ts +13 -0
  487. package/src/lib/notifications/types/upcoming-event.notification.ts +25 -0
  488. package/src/lib/options/options.component.html +149 -0
  489. package/src/lib/options/options.component.scss +19 -0
  490. package/src/lib/options/options.component.ts +244 -0
  491. package/src/lib/options/options.service.ts +30 -0
  492. package/src/lib/reports/arguments-component.ts +73 -0
  493. package/src/lib/reports/cube/grid-documents.component.html +25 -0
  494. package/src/lib/reports/cube/grid-documents.component.ts +85 -0
  495. package/src/lib/reports/cube/table-documents.component.css +18 -0
  496. package/src/lib/reports/cube/table-documents.component.html +30 -0
  497. package/src/lib/reports/cube/table-documents.component.ts +65 -0
  498. package/src/lib/reports/cube/usage-args.component.html +3 -0
  499. package/src/lib/reports/cube/usage-args.component.ts +55 -0
  500. package/src/lib/reports/cube/usage-base.ts +112 -0
  501. package/src/lib/reports/cube/usage-browse.component.exp.ts +93 -0
  502. package/src/lib/reports/cube/usage-browse.component.html +27 -0
  503. package/src/lib/reports/cube/usage-browse.component.scss +24 -0
  504. package/src/lib/reports/cube/usage-chart.component.html +11 -0
  505. package/src/lib/reports/cube/usage-chart.component.ts +387 -0
  506. package/src/lib/reports/cube/usage-pivot.component.html +19 -0
  507. package/src/lib/reports/cube/usage-pivot.component.ts +252 -0
  508. package/src/lib/reports/report-ref.ts +42 -0
  509. package/src/lib/reports/report-viewer.component.html +2 -0
  510. package/src/lib/reports/report-viewer.component.scss +12 -0
  511. package/src/lib/reports/report-viewer.component.ts +162 -0
  512. package/src/lib/reports/report.mobile.component.html +16 -0
  513. package/src/lib/reports/report.mobile.component.scss +7 -0
  514. package/src/lib/reports/report.mobile.component.ts +107 -0
  515. package/src/lib/reports/report.pane.component.html +8 -0
  516. package/src/lib/reports/report.pane.component.scss +9 -0
  517. package/src/lib/reports/report.pane.component.ts +78 -0
  518. package/src/lib/reports/reports-menu.component.html +9 -0
  519. package/src/lib/reports/reports-menu.component.ts +20 -0
  520. package/src/lib/reports/substitution/substitution.component.html +26 -0
  521. package/src/lib/reports/substitution/substitution.component.ts +34 -0
  522. package/src/lib/reports/table/table-view.component.html +8 -0
  523. package/src/lib/reports/table/table-view.component.scss +0 -0
  524. package/src/lib/reports/table/table-view.component.ts +33 -0
  525. package/src/lib/reports/tasks/tasks.component.html +21 -0
  526. package/src/lib/reports/tasks/tasks.component.ts +114 -0
  527. package/src/lib/reports/timeline/timeline.component.exp.ts +225 -0
  528. package/src/lib/reports/timeline/timeline.component.html +9 -0
  529. package/src/lib/routes.desktop.ts +196 -0
  530. package/src/lib/routes.mobile.ts +70 -0
  531. package/src/lib/scheduler/schedule.component.html +36 -0
  532. package/src/lib/scheduler/schedule.component.scss +13 -0
  533. package/src/lib/scheduler/schedule.component.ts +158 -0
  534. package/src/lib/scheduler/scheduler.mobile.component.ts +30 -0
  535. package/src/lib/scheduler/scheduler.pane.component.ts +49 -0
  536. package/src/lib/shared.module.ts +386 -0
  537. package/src/lib/system.module.ts +75 -0
  538. package/src/lib/views/_views.theme.scss +18 -0
  539. package/src/lib/views/cube/chart.component.html +24 -0
  540. package/src/lib/views/cube/chart.component.ts +88 -0
  541. package/src/lib/views/cube/cube-base.ts +126 -0
  542. package/src/lib/views/cube/explore.component.html +33 -0
  543. package/src/lib/views/cube/explore.component.ts +82 -0
  544. package/src/lib/views/cube/filter.component.exp.ts +66 -0
  545. package/src/lib/views/cube/filter.component.html +25 -0
  546. package/src/lib/views/cube/matrix.component.html +42 -0
  547. package/src/lib/views/cube/matrix.component.scss +3 -0
  548. package/src/lib/views/cube/matrix.component.ts +107 -0
  549. package/src/lib/views/cube/parallel.component.html +10 -0
  550. package/src/lib/views/cube/parallel.component.scss +13 -0
  551. package/src/lib/views/cube/parallel.component.ts +62 -0
  552. package/src/lib/views/cube/pivot.component.html +8 -0
  553. package/src/lib/views/cube/pivot.component.ts +62 -0
  554. package/src/lib/views/cube/sum.component.html +30 -0
  555. package/src/lib/views/cube/sum.component.scss +3 -0
  556. package/src/lib/views/cube/sum.component.ts +71 -0
  557. package/src/lib/views/cube/view.component.html +34 -0
  558. package/src/lib/views/cube/view.component.scss +12 -0
  559. package/src/lib/views/cube/view.component.ts +103 -0
  560. package/src/lib/views/document-view-ref.ts +34 -0
  561. package/src/lib/views/timeline/timeline.component.exp.ts +333 -0
  562. package/src/lib/views/timeline/timeline.component.html +6 -0
  563. package/src/lib/views/timeline/timeline.component.scss +6 -0
  564. package/src/lib/views/view-item.component.ts +67 -0
  565. package/src/lib/views/views.component.html +4 -0
  566. package/src/lib/views/views.component.scss +33 -0
  567. package/src/lib/views/views.component.ts +23 -0
  568. package/src/lib/views/views.mobile.component.ts +19 -0
  569. package/src/lib/views/views.pane.component.ts +31 -0
  570. package/src/polyfills.ts +81 -0
  571. package/src/public-api.ts +147 -0
  572. package/src/styles/_app.scss +316 -0
  573. package/src/styles/_emoji-mart.scss +504 -0
  574. package/src/styles/_syncfusion-base-definitions.scss +63 -0
  575. package/src/styles/_syncfusion-dark-definitions.scss +23 -0
  576. package/src/styles/_syncfusion-icons.scss +57 -0
  577. package/src/styles/_syncfusion-light-definitions.scss +23 -0
  578. package/src/styles/_syncfusion.scss +22 -0
  579. package/src/styles/brown.scss +15 -0
  580. package/src/styles/build.ps1 +25 -0
  581. package/src/styles/dark.scss +24 -0
  582. package/src/styles/deep-purple-light-blue.scss +22 -0
  583. package/src/styles/deep-purple-teal.scss +22 -0
  584. package/src/styles/default.scss +23 -0
  585. package/src/styles/diagram-icons.eot +0 -0
  586. package/src/styles/diagram-icons.ttf +0 -0
  587. package/src/styles/green.scss +14 -0
  588. package/src/styles/indigo.scss +15 -0
  589. package/src/test.ts +26 -0
  590. package/tsconfig.lib.json +25 -0
  591. package/tsconfig.lib.prod.json +10 -0
  592. package/tsconfig.spec.json +18 -0
  593. package/bizdoc-core.d.ts +0 -5
  594. package/esm2020/bizdoc-core.mjs +0 -5
  595. package/esm2020/lib/admin/admin-dismiss.service.mjs +0 -22
  596. package/esm2020/lib/admin/admin-menu.component.mjs +0 -27
  597. package/esm2020/lib/admin/core/ace.input.mjs +0 -147
  598. package/esm2020/lib/admin/core/color-picker.input.mjs +0 -208
  599. package/esm2020/lib/admin/core/search.input.mjs +0 -43
  600. package/esm2020/lib/admin/diff/configuration-diff.component.mjs +0 -558
  601. package/esm2020/lib/admin/document-trace/document-trace.component.mjs +0 -469
  602. package/esm2020/lib/admin/document-trace/reassign.dialog.mjs +0 -40
  603. package/esm2020/lib/admin/document-trace/timeline.mjs +0 -2
  604. package/esm2020/lib/admin/document-trace/trace-element.component.mjs +0 -105
  605. package/esm2020/lib/admin/form/form.resolve.service.mjs +0 -17
  606. package/esm2020/lib/admin/form/form.service.mjs +0 -26
  607. package/esm2020/lib/admin/form/workflow/node-ref.mjs +0 -8
  608. package/esm2020/lib/admin/form/workflow/node.component.mjs +0 -128
  609. package/esm2020/lib/admin/form/workflow/role-node.component.mjs +0 -90
  610. package/esm2020/lib/admin/form/workflow/workflow.component.mjs +0 -408
  611. package/esm2020/lib/admin/indices/manage-cube-index.component.mjs +0 -161
  612. package/esm2020/lib/admin/patterns/patterns.component.mjs +0 -179
  613. package/esm2020/lib/admin/permissions/permissions.component.mjs +0 -97
  614. package/esm2020/lib/admin/positions/positions-popup.component.mjs +0 -74
  615. package/esm2020/lib/admin/positions/positions.component.mjs +0 -458
  616. package/esm2020/lib/admin/profiler/profiler.component.mjs +0 -260
  617. package/esm2020/lib/admin/utility-ref.mjs +0 -38
  618. package/esm2020/lib/admin/utility-wrapper.component.mjs +0 -51
  619. package/esm2020/lib/admin/utility.pane.component.mjs +0 -51
  620. package/esm2020/lib/app.component.mjs +0 -90
  621. package/esm2020/lib/bizdoc.module.mjs +0 -93
  622. package/esm2020/lib/browse/browse-items.component.mjs +0 -476
  623. package/esm2020/lib/browse/browse.mobile.component.mjs +0 -101
  624. package/esm2020/lib/browse/browse.pane.component.mjs +0 -149
  625. package/esm2020/lib/browse/expanded-item/expanded-item.component.mjs +0 -315
  626. package/esm2020/lib/browse/filter/filter.component.mjs +0 -164
  627. package/esm2020/lib/browse/folders-menu.component.mjs +0 -51
  628. package/esm2020/lib/chat/chat-info.mjs +0 -69
  629. package/esm2020/lib/chat/chat.mobile.component.mjs +0 -26
  630. package/esm2020/lib/chat/chat.service.mjs +0 -122
  631. package/esm2020/lib/chat/contacts.component.mjs +0 -103
  632. package/esm2020/lib/chat/contacts.pane.component.mjs +0 -29
  633. package/esm2020/lib/chat/conversation.component.mjs +0 -193
  634. package/esm2020/lib/chat/conversation.pane.component.mjs +0 -44
  635. package/esm2020/lib/compose/action/action-picker.component.mjs +0 -84
  636. package/esm2020/lib/compose/action/action-ref.mjs +0 -19
  637. package/esm2020/lib/compose/action/action.base.mjs +0 -49
  638. package/esm2020/lib/compose/action/action.dialog.mjs +0 -61
  639. package/esm2020/lib/compose/action/action.pane.dialog.exp.mjs +0 -72
  640. package/esm2020/lib/compose/action/assign-action.component.mjs +0 -90
  641. package/esm2020/lib/compose/action/return-action.component.mjs +0 -52
  642. package/esm2020/lib/compose/attachments/attachments.component.mjs +0 -127
  643. package/esm2020/lib/compose/attachments/preview/attachment-preview.component.mjs +0 -155
  644. package/esm2020/lib/compose/attachments/progress-button.directive.mjs +0 -25
  645. package/esm2020/lib/compose/can-deactivate-changes.service.mjs +0 -27
  646. package/esm2020/lib/compose/comments/Comments.pane.component.mjs +0 -49
  647. package/esm2020/lib/compose/comments/comment.component.mjs +0 -186
  648. package/esm2020/lib/compose/comments/comments.component.mjs +0 -227
  649. package/esm2020/lib/compose/comments/edit-comment.component.mjs +0 -32
  650. package/esm2020/lib/compose/comments/edits.component.mjs +0 -30
  651. package/esm2020/lib/compose/comments/quick-comment.component.exp.mjs +0 -63
  652. package/esm2020/lib/compose/comments/votes.component.mjs +0 -42
  653. package/esm2020/lib/compose/compose-resolve.service.mjs +0 -55
  654. package/esm2020/lib/compose/compose.mobile.component.mjs +0 -112
  655. package/esm2020/lib/compose/compose.pane.component.mjs +0 -201
  656. package/esm2020/lib/compose/copy/copy.dialog.mjs +0 -46
  657. package/esm2020/lib/compose/dismiss.service.mjs +0 -25
  658. package/esm2020/lib/compose/document-resolver.service.mjs +0 -17
  659. package/esm2020/lib/compose/document.component.mjs +0 -45
  660. package/esm2020/lib/compose/document.mobile.component.mjs +0 -22
  661. package/esm2020/lib/compose/document.pane.component.mjs +0 -26
  662. package/esm2020/lib/compose/events/events.component.mjs +0 -30
  663. package/esm2020/lib/compose/form-ref.mjs +0 -46
  664. package/esm2020/lib/compose/form-selector/form-selector.sheet.mjs +0 -82
  665. package/esm2020/lib/compose/form.component.mjs +0 -447
  666. package/esm2020/lib/compose/new-menu.component.mjs +0 -104
  667. package/esm2020/lib/compose/privilage.directive.mjs +0 -64
  668. package/esm2020/lib/compose/recipient-resolver.service.mjs +0 -18
  669. package/esm2020/lib/compose/save-changes.dialog.mjs +0 -18
  670. package/esm2020/lib/compose/state.component.mjs +0 -37
  671. package/esm2020/lib/compose/tag/tags.component.mjs +0 -91
  672. package/esm2020/lib/compose/trace/flow.component.mjs +0 -656
  673. package/esm2020/lib/compose/trace/people.component.mjs +0 -35
  674. package/esm2020/lib/compose/trace/trace.base.mjs +0 -71
  675. package/esm2020/lib/compose/trace/trace.component.mjs +0 -345
  676. package/esm2020/lib/compose/trace/trace.pane.component.mjs +0 -52
  677. package/esm2020/lib/compose/version-compare/version-compare.component.mjs +0 -53
  678. package/esm2020/lib/compose/version-compare/version-compare.directive.mjs +0 -344
  679. package/esm2020/lib/compose/version-compare/version.pane.component.mjs +0 -56
  680. package/esm2020/lib/core/NgComponentOutlet.mjs +0 -38
  681. package/esm2020/lib/core/account.service.mjs +0 -37
  682. package/esm2020/lib/core/animated-icon/animated-icon.directive.mjs +0 -17
  683. package/esm2020/lib/core/animations.mjs +0 -156
  684. package/esm2020/lib/core/authentication.mjs +0 -3
  685. package/esm2020/lib/core/avatar/avatar.component.mjs +0 -103
  686. package/esm2020/lib/core/base.mjs +0 -2
  687. package/esm2020/lib/core/colors.mjs +0 -322
  688. package/esm2020/lib/core/component-factory-resolver.mjs +0 -64
  689. package/esm2020/lib/core/configuration.mjs +0 -16
  690. package/esm2020/lib/core/controls/address.input.mjs +0 -193
  691. package/esm2020/lib/core/controls/auto-complete.input.mjs +0 -256
  692. package/esm2020/lib/core/controls/combination-picker-body.mjs +0 -173
  693. package/esm2020/lib/core/controls/combination-picker.mjs +0 -277
  694. package/esm2020/lib/core/controls/combination-pool.mjs +0 -105
  695. package/esm2020/lib/core/controls/file.input.mjs +0 -392
  696. package/esm2020/lib/core/controls/select.input.mjs +0 -237
  697. package/esm2020/lib/core/controls/time-picker.mjs +0 -196
  698. package/esm2020/lib/core/controls/timespan.input.mjs +0 -207
  699. package/esm2020/lib/core/datasource.service.mjs +0 -75
  700. package/esm2020/lib/core/decorators.mjs +0 -46
  701. package/esm2020/lib/core/firebase.service.mjs +0 -50
  702. package/esm2020/lib/core/functions.mjs +0 -200
  703. package/esm2020/lib/core/guide/guide.component.mjs +0 -219
  704. package/esm2020/lib/core/guide/guide.service.mjs +0 -107
  705. package/esm2020/lib/core/http.interceptor.mjs +0 -79
  706. package/esm2020/lib/core/hub.service.mjs +0 -108
  707. package/esm2020/lib/core/identity/identity.component.mjs +0 -67
  708. package/esm2020/lib/core/info/attachment-info.service.mjs +0 -51
  709. package/esm2020/lib/core/info/document-info.service.mjs +0 -21
  710. package/esm2020/lib/core/info/location-info.component.mjs +0 -61
  711. package/esm2020/lib/core/info/map-info.mjs +0 -40
  712. package/esm2020/lib/core/layout/autocomplete.field.mjs +0 -60
  713. package/esm2020/lib/core/layout/checkbox.field.mjs +0 -41
  714. package/esm2020/lib/core/layout/checkbox.mjs +0 -35
  715. package/esm2020/lib/core/layout/date-range.field.mjs +0 -53
  716. package/esm2020/lib/core/layout/date.field.mjs +0 -52
  717. package/esm2020/lib/core/layout/expression.field.mjs +0 -51
  718. package/esm2020/lib/core/layout/file.field.mjs +0 -47
  719. package/esm2020/lib/core/layout/html.field.mjs +0 -48
  720. package/esm2020/lib/core/layout/input.base.mjs +0 -11
  721. package/esm2020/lib/core/layout/input.field.mjs +0 -64
  722. package/esm2020/lib/core/layout/layout.component.mjs +0 -196
  723. package/esm2020/lib/core/layout/numeric.field.mjs +0 -47
  724. package/esm2020/lib/core/layout/select.field.mjs +0 -82
  725. package/esm2020/lib/core/layout/switch.field.mjs +0 -41
  726. package/esm2020/lib/core/layout/textarea.field.mjs +0 -42
  727. package/esm2020/lib/core/layout/timespan.field.mjs +0 -50
  728. package/esm2020/lib/core/lottie-animation.mjs +0 -46
  729. package/esm2020/lib/core/mailbox.service.mjs +0 -395
  730. package/esm2020/lib/core/models.mjs +0 -40
  731. package/esm2020/lib/core/none.component.mjs +0 -40
  732. package/esm2020/lib/core/pipes/action.pipe.mjs +0 -25
  733. package/esm2020/lib/core/pipes/calendar.pipe.mjs +0 -72
  734. package/esm2020/lib/core/pipes/date-format.pipe.mjs +0 -19
  735. package/esm2020/lib/core/pipes/daterange.pipe.mjs +0 -62
  736. package/esm2020/lib/core/pipes/difference.pipe.mjs +0 -15
  737. package/esm2020/lib/core/pipes/duration-format.pipe.mjs +0 -48
  738. package/esm2020/lib/core/pipes/duration.pipe.mjs +0 -19
  739. package/esm2020/lib/core/pipes/form.pipe.mjs +0 -25
  740. package/esm2020/lib/core/pipes/join.pipe.mjs +0 -18
  741. package/esm2020/lib/core/pipes/role.pipe.mjs +0 -25
  742. package/esm2020/lib/core/pipes/sanitize-html.pipe.mjs +0 -18
  743. package/esm2020/lib/core/pipes/sort.pipe.mjs +0 -48
  744. package/esm2020/lib/core/pipes/state.pipe.mjs +0 -25
  745. package/esm2020/lib/core/pipes/time-ago.pipe.mjs +0 -66
  746. package/esm2020/lib/core/pipes/translate.pipe.mjs +0 -38
  747. package/esm2020/lib/core/pipes/type-value.pipe.mjs +0 -42
  748. package/esm2020/lib/core/pipes/user-name.pipe.mjs +0 -21
  749. package/esm2020/lib/core/popup/popup-ref.mjs +0 -20
  750. package/esm2020/lib/core/popup/popup.component.mjs +0 -37
  751. package/esm2020/lib/core/popup/popup.service.mjs +0 -148
  752. package/esm2020/lib/core/popup/tooltip.directive.mjs +0 -82
  753. package/esm2020/lib/core/prompt/ask/ask.dialog.mjs +0 -29
  754. package/esm2020/lib/core/prompt/mask/mask.component.mjs +0 -21
  755. package/esm2020/lib/core/prompt.service.mjs +0 -86
  756. package/esm2020/lib/core/router.mjs +0 -35
  757. package/esm2020/lib/core/session.service.mjs +0 -247
  758. package/esm2020/lib/core/slots/pane-ref.mjs +0 -125
  759. package/esm2020/lib/core/slots/router.directive.mjs +0 -70
  760. package/esm2020/lib/core/slots/router.service.mjs +0 -36
  761. package/esm2020/lib/core/slots/slots.component.mjs +0 -1049
  762. package/esm2020/lib/core/tagging/documents.component.mjs +0 -25
  763. package/esm2020/lib/core/tagging/edit-input.component.mjs +0 -233
  764. package/esm2020/lib/core/tagging/emoji.component.mjs +0 -35
  765. package/esm2020/lib/core/tagging/tagging-item.directive.mjs +0 -39
  766. package/esm2020/lib/core/tagging/tagging.component-base.mjs +0 -29
  767. package/esm2020/lib/core/tagging/tagging.directive.mjs +0 -138
  768. package/esm2020/lib/core/tagging/tagging.pipe.mjs +0 -72
  769. package/esm2020/lib/core/tagging/users.component.mjs +0 -32
  770. package/esm2020/lib/core/translate.service.mjs +0 -99
  771. package/esm2020/lib/core/translations.mjs +0 -1104
  772. package/esm2020/lib/core/window-title.service.mjs +0 -53
  773. package/esm2020/lib/cube/accum/accum.component.mjs +0 -257
  774. package/esm2020/lib/cube/chart/chart.component.mjs +0 -326
  775. package/esm2020/lib/cube/cube-info.service.mjs +0 -100
  776. package/esm2020/lib/cube/cube-menu.component.mjs +0 -27
  777. package/esm2020/lib/cube/cube-view.component.mjs +0 -186
  778. package/esm2020/lib/cube/cube.service.mjs +0 -407
  779. package/esm2020/lib/cube/declarations.mjs +0 -2
  780. package/esm2020/lib/cube/explore/document-item.component.mjs +0 -38
  781. package/esm2020/lib/cube/explore/explore-item.component.mjs +0 -27
  782. package/esm2020/lib/cube/explore/explore-items.component.mjs +0 -186
  783. package/esm2020/lib/cube/explore/explore.pane.component.mjs +0 -81
  784. package/esm2020/lib/cube/explore/item-resolver.service.mjs +0 -32
  785. package/esm2020/lib/cube/explore/item.pane.component.mjs +0 -23
  786. package/esm2020/lib/cube/filter/filter-tags.component.exp.mjs +0 -75
  787. package/esm2020/lib/cube/filter/filter.component.mjs +0 -137
  788. package/esm2020/lib/cube/grid/grid.component.mjs +0 -217
  789. package/esm2020/lib/cube/grid/spreadsheet.component.mjs +0 -365
  790. package/esm2020/lib/cube/matrix/matrix.base.mjs +0 -127
  791. package/esm2020/lib/cube/matrix/matrix.mobile.component.mjs +0 -63
  792. package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +0 -76
  793. package/esm2020/lib/cube/matrix/popup.component.mjs +0 -70
  794. package/esm2020/lib/cube/matrix/table.component.mjs +0 -489
  795. package/esm2020/lib/cube/parallel/item.mjs +0 -41
  796. package/esm2020/lib/cube/parallel/parallel.component.mjs +0 -160
  797. package/esm2020/lib/cube/pivot/pivot.component.mjs +0 -500
  798. package/esm2020/lib/cube/sum/sum.component.mjs +0 -404
  799. package/esm2020/lib/cube/view-base.mjs +0 -79
  800. package/esm2020/lib/cube/view.mobile.component.mjs +0 -127
  801. package/esm2020/lib/cube/view.pane.component.mjs +0 -84
  802. package/esm2020/lib/dashboard/actions/actions.widget.mjs +0 -126
  803. package/esm2020/lib/dashboard/cube/accum-cube.widget.mjs +0 -145
  804. package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +0 -90
  805. package/esm2020/lib/dashboard/cube/cube-analysis.widget.mjs +0 -53
  806. package/esm2020/lib/dashboard/cube/cube-chart.widget.mjs +0 -144
  807. package/esm2020/lib/dashboard/cube/documents.widget.mjs +0 -64
  808. package/esm2020/lib/dashboard/cube/filter/filter.component.mjs +0 -59
  809. package/esm2020/lib/dashboard/dashboard.component.mjs +0 -47
  810. package/esm2020/lib/dashboard/dashboard.pane.component.mjs +0 -24
  811. package/esm2020/lib/dashboard/recents/recents.widget.mjs +0 -98
  812. package/esm2020/lib/dashboard/score/activity.widget.mjs +0 -162
  813. package/esm2020/lib/dashboard/score/compare-departments.widget.mjs +0 -204
  814. package/esm2020/lib/dashboard/score/peers-performance.widget.mjs +0 -253
  815. package/esm2020/lib/dashboard/score/pending-results.widget.mjs +0 -64
  816. package/esm2020/lib/dashboard/score/personal-score.widget.mjs +0 -219
  817. package/esm2020/lib/dashboard/widget-item.component.mjs +0 -89
  818. package/esm2020/lib/dashboard/widget-ref.mjs +0 -18
  819. package/esm2020/lib/desktop.module.mjs +0 -144
  820. package/esm2020/lib/home/about/about.dialog.mjs +0 -26
  821. package/esm2020/lib/home/home-base.component.mjs +0 -89
  822. package/esm2020/lib/home/home.desktop.component.mjs +0 -201
  823. package/esm2020/lib/home/home.mobile.component.mjs +0 -116
  824. package/esm2020/lib/home/notifications/notifications.component.mjs +0 -67
  825. package/esm2020/lib/home/options/options.component.mjs +0 -94
  826. package/esm2020/lib/home/outofoffice/outofoffice.component.mjs +0 -38
  827. package/esm2020/lib/home/search.service.mjs +0 -75
  828. package/esm2020/lib/home/sign/sign.component.mjs +0 -54
  829. package/esm2020/lib/home/tools.component.mjs +0 -82
  830. package/esm2020/lib/impersonate/impersonate.component.mjs +0 -65
  831. package/esm2020/lib/mobile.module.mjs +0 -59
  832. package/esm2020/lib/modules/chart.module.mjs +0 -37
  833. package/esm2020/lib/modules/circular-gauge.module.mjs +0 -17
  834. package/esm2020/lib/modules/date.adapter.mjs +0 -30
  835. package/esm2020/lib/modules/datepicker.intl.mjs +0 -39
  836. package/esm2020/lib/modules/diagram.module.mjs +0 -34
  837. package/esm2020/lib/modules/gantt.module.mjs +0 -17
  838. package/esm2020/lib/modules/grid.module.mjs +0 -23
  839. package/esm2020/lib/modules/material.module.mjs +0 -188
  840. package/esm2020/lib/modules/paginator.intl.mjs +0 -21
  841. package/esm2020/lib/modules/pivot.module.mjs +0 -23
  842. package/esm2020/lib/modules/schedule.module.mjs +0 -21
  843. package/esm2020/lib/modules/spreadsheet.module.mjs +0 -28
  844. package/esm2020/lib/modules/stepper.intl.mjs +0 -17
  845. package/esm2020/lib/modules/texteditor.module.mjs +0 -27
  846. package/esm2020/lib/notifications/filter.component.mjs +0 -25
  847. package/esm2020/lib/notifications/notifications-table.component.mjs +0 -106
  848. package/esm2020/lib/notifications/notifications.component-base.mjs +0 -47
  849. package/esm2020/lib/notifications/notifications.mobile.component.mjs +0 -20
  850. package/esm2020/lib/notifications/notifications.pane.component.mjs +0 -23
  851. package/esm2020/lib/notifications/notifications.service.mjs +0 -71
  852. package/esm2020/lib/notifications/types/commented.notification.mjs +0 -53
  853. package/esm2020/lib/notifications/types/cube-anomaly.notification.mjs +0 -58
  854. package/esm2020/lib/notifications/types/escalated.notification.mjs +0 -33
  855. package/esm2020/lib/notifications/types/liked.notification.mjs +0 -50
  856. package/esm2020/lib/notifications/types/long-running-task.notification.mjs +0 -31
  857. package/esm2020/lib/notifications/types/notification-base.mjs +0 -40
  858. package/esm2020/lib/notifications/types/nudge.notification.mjs +0 -31
  859. package/esm2020/lib/notifications/types/state-changed.notification.mjs +0 -30
  860. package/esm2020/lib/notifications/types/tagged.notification.mjs +0 -43
  861. package/esm2020/lib/notifications/types/text.notification.mjs +0 -20
  862. package/esm2020/lib/notifications/types/upcoming-event.notification.mjs +0 -36
  863. package/esm2020/lib/options/options.component.mjs +0 -227
  864. package/esm2020/lib/options/options.service.mjs +0 -38
  865. package/esm2020/lib/reports/arguments-component.mjs +0 -83
  866. package/esm2020/lib/reports/cube/grid-documents.component.mjs +0 -80
  867. package/esm2020/lib/reports/cube/table-documents.component.mjs +0 -64
  868. package/esm2020/lib/reports/cube/usage-args.component.mjs +0 -61
  869. package/esm2020/lib/reports/cube/usage-base.mjs +0 -79
  870. package/esm2020/lib/reports/cube/usage-chart.component.mjs +0 -360
  871. package/esm2020/lib/reports/cube/usage-pivot.component.mjs +0 -243
  872. package/esm2020/lib/reports/report-ref.mjs +0 -31
  873. package/esm2020/lib/reports/report-viewer.component.mjs +0 -154
  874. package/esm2020/lib/reports/report.mobile.component.mjs +0 -120
  875. package/esm2020/lib/reports/report.pane.component.mjs +0 -88
  876. package/esm2020/lib/reports/reports-menu.component.mjs +0 -26
  877. package/esm2020/lib/reports/substitution/substitution.component.mjs +0 -40
  878. package/esm2020/lib/reports/table/table-view.component.mjs +0 -41
  879. package/esm2020/lib/reports/tasks/tasks.component.mjs +0 -95
  880. package/esm2020/lib/routes.desktop.mjs +0 -197
  881. package/esm2020/lib/routes.mobile.mjs +0 -69
  882. package/esm2020/lib/scheduler/schedule.component.mjs +0 -166
  883. package/esm2020/lib/scheduler/scheduler.mobile.component.mjs +0 -37
  884. package/esm2020/lib/scheduler/scheduler.pane.component.mjs +0 -53
  885. package/esm2020/lib/shared.module.mjs +0 -526
  886. package/esm2020/lib/system.module.mjs +0 -110
  887. package/esm2020/lib/views/cube/chart.component.mjs +0 -75
  888. package/esm2020/lib/views/cube/cube-base.mjs +0 -96
  889. package/esm2020/lib/views/cube/explore.component.mjs +0 -83
  890. package/esm2020/lib/views/cube/matrix.component.mjs +0 -97
  891. package/esm2020/lib/views/cube/parallel.component.mjs +0 -53
  892. package/esm2020/lib/views/cube/pivot.component.mjs +0 -51
  893. package/esm2020/lib/views/cube/sum.component.mjs +0 -64
  894. package/esm2020/lib/views/cube/view.component.mjs +0 -102
  895. package/esm2020/lib/views/document-view-ref.mjs +0 -27
  896. package/esm2020/lib/views/timeline/timeline.component.exp.mjs +0 -313
  897. package/esm2020/lib/views/view-item.component.mjs +0 -70
  898. package/esm2020/lib/views/views.component.mjs +0 -25
  899. package/esm2020/lib/views/views.mobile.component.mjs +0 -20
  900. package/esm2020/lib/views/views.pane.component.mjs +0 -31
  901. package/esm2020/public-api.mjs +0 -142
  902. package/fesm2015/bizdoc-core.mjs +0 -29574
  903. package/fesm2015/bizdoc-core.mjs.map +0 -1
  904. package/fesm2020/bizdoc-core.mjs +0 -29364
  905. package/fesm2020/bizdoc-core.mjs.map +0 -1
  906. package/lib/admin/admin-dismiss.service.d.ts +0 -14
  907. package/lib/admin/admin-menu.component.d.ts +0 -12
  908. package/lib/admin/core/ace.input.d.ts +0 -52
  909. package/lib/admin/core/color-picker.input.d.ts +0 -64
  910. package/lib/admin/core/search.input.d.ts +0 -13
  911. package/lib/admin/diff/configuration-diff.component.d.ts +0 -116
  912. package/lib/admin/document-trace/document-trace.component.d.ts +0 -83
  913. package/lib/admin/document-trace/reassign.dialog.d.ts +0 -22
  914. package/lib/admin/document-trace/timeline.d.ts +0 -40
  915. package/lib/admin/document-trace/trace-element.component.d.ts +0 -37
  916. package/lib/admin/form/form.resolve.service.d.ts +0 -12
  917. package/lib/admin/form/form.service.d.ts +0 -13
  918. package/lib/admin/form/workflow/node-ref.d.ts +0 -7
  919. package/lib/admin/form/workflow/node.component.d.ts +0 -37
  920. package/lib/admin/form/workflow/role-node.component.d.ts +0 -22
  921. package/lib/admin/form/workflow/workflow.component.d.ts +0 -73
  922. package/lib/admin/indices/manage-cube-index.component.d.ts +0 -54
  923. package/lib/admin/patterns/patterns.component.d.ts +0 -79
  924. package/lib/admin/permissions/permissions.component.d.ts +0 -45
  925. package/lib/admin/positions/positions-popup.component.d.ts +0 -39
  926. package/lib/admin/positions/positions.component.d.ts +0 -117
  927. package/lib/admin/profiler/profiler.component.d.ts +0 -108
  928. package/lib/admin/utility-ref.d.ts +0 -19
  929. package/lib/admin/utility-wrapper.component.d.ts +0 -28
  930. package/lib/admin/utility.pane.component.d.ts +0 -24
  931. package/lib/app.component.d.ts +0 -24
  932. package/lib/bizdoc.module.d.ts +0 -18
  933. package/lib/browse/browse-items.component.d.ts +0 -104
  934. package/lib/browse/browse.mobile.component.d.ts +0 -39
  935. package/lib/browse/browse.pane.component.d.ts +0 -50
  936. package/lib/browse/expanded-item/expanded-item.component.d.ts +0 -67
  937. package/lib/browse/filter/filter.component.d.ts +0 -71
  938. package/lib/browse/folders-menu.component.d.ts +0 -22
  939. package/lib/chat/chat-info.d.ts +0 -37
  940. package/lib/chat/chat.mobile.component.d.ts +0 -10
  941. package/lib/chat/chat.service.d.ts +0 -38
  942. package/lib/chat/contacts.component.d.ts +0 -38
  943. package/lib/chat/contacts.pane.component.d.ts +0 -12
  944. package/lib/chat/conversation.component.d.ts +0 -56
  945. package/lib/chat/conversation.pane.component.d.ts +0 -16
  946. package/lib/compose/action/action-picker.component.d.ts +0 -25
  947. package/lib/compose/action/action-ref.d.ts +0 -10
  948. package/lib/compose/action/action.base.d.ts +0 -15
  949. package/lib/compose/action/action.dialog.d.ts +0 -29
  950. package/lib/compose/action/action.pane.dialog.exp.d.ts +0 -31
  951. package/lib/compose/action/assign-action.component.d.ts +0 -36
  952. package/lib/compose/action/return-action.component.d.ts +0 -17
  953. package/lib/compose/attachments/attachments.component.d.ts +0 -35
  954. package/lib/compose/attachments/preview/attachment-preview.component.d.ts +0 -49
  955. package/lib/compose/attachments/progress-button.directive.d.ts +0 -12
  956. package/lib/compose/can-deactivate-changes.service.d.ts +0 -12
  957. package/lib/compose/comments/Comments.pane.component.d.ts +0 -18
  958. package/lib/compose/comments/comment.component.d.ts +0 -51
  959. package/lib/compose/comments/comments.component.d.ts +0 -66
  960. package/lib/compose/comments/edit-comment.component.d.ts +0 -25
  961. package/lib/compose/comments/edits.component.d.ts +0 -26
  962. package/lib/compose/comments/quick-comment.component.exp.d.ts +0 -28
  963. package/lib/compose/comments/votes.component.d.ts +0 -22
  964. package/lib/compose/compose-resolve.service.d.ts +0 -27
  965. package/lib/compose/compose.mobile.component.d.ts +0 -42
  966. package/lib/compose/compose.pane.component.d.ts +0 -57
  967. package/lib/compose/copy/copy.dialog.d.ts +0 -23
  968. package/lib/compose/dismiss.service.d.ts +0 -12
  969. package/lib/compose/document-resolver.service.d.ts +0 -12
  970. package/lib/compose/document.component.d.ts +0 -18
  971. package/lib/compose/document.mobile.component.d.ts +0 -10
  972. package/lib/compose/document.pane.component.d.ts +0 -12
  973. package/lib/compose/events/events.component.d.ts +0 -13
  974. package/lib/compose/form-ref.d.ts +0 -30
  975. package/lib/compose/form-selector/form-selector.sheet.d.ts +0 -28
  976. package/lib/compose/form.component.d.ts +0 -97
  977. package/lib/compose/new-menu.component.d.ts +0 -36
  978. package/lib/compose/privilage.directive.d.ts +0 -26
  979. package/lib/compose/recipient-resolver.service.d.ts +0 -12
  980. package/lib/compose/save-changes.dialog.d.ts +0 -7
  981. package/lib/compose/state.component.d.ts +0 -12
  982. package/lib/compose/tag/tags.component.d.ts +0 -36
  983. package/lib/compose/trace/flow.component.d.ts +0 -59
  984. package/lib/compose/trace/people.component.d.ts +0 -18
  985. package/lib/compose/trace/trace.base.d.ts +0 -28
  986. package/lib/compose/trace/trace.component.d.ts +0 -55
  987. package/lib/compose/trace/trace.pane.component.d.ts +0 -20
  988. package/lib/compose/version-compare/version-compare.component.d.ts +0 -24
  989. package/lib/compose/version-compare/version-compare.directive.d.ts +0 -89
  990. package/lib/compose/version-compare/version.pane.component.d.ts +0 -21
  991. package/lib/core/NgComponentOutlet.d.ts +0 -15
  992. package/lib/core/account.service.d.ts +0 -18
  993. package/lib/core/animated-icon/animated-icon.directive.d.ts +0 -7
  994. package/lib/core/animations.d.ts +0 -26
  995. package/lib/core/authentication.d.ts +0 -6
  996. package/lib/core/avatar/avatar.component.d.ts +0 -34
  997. package/lib/core/base.d.ts +0 -29
  998. package/lib/core/colors.d.ts +0 -6
  999. package/lib/core/component-factory-resolver.d.ts +0 -12
  1000. package/lib/core/configuration.d.ts +0 -111
  1001. package/lib/core/controls/address.input.d.ts +0 -63
  1002. package/lib/core/controls/auto-complete.input.d.ts +0 -86
  1003. package/lib/core/controls/combination-picker-body.d.ts +0 -114
  1004. package/lib/core/controls/combination-picker.d.ts +0 -82
  1005. package/lib/core/controls/combination-pool.d.ts +0 -42
  1006. package/lib/core/controls/file.input.d.ts +0 -88
  1007. package/lib/core/controls/select.input.d.ts +0 -84
  1008. package/lib/core/controls/time-picker.d.ts +0 -52
  1009. package/lib/core/controls/timespan.input.d.ts +0 -55
  1010. package/lib/core/datasource.service.d.ts +0 -46
  1011. package/lib/core/decorators.d.ts +0 -17
  1012. package/lib/core/firebase.service.d.ts +0 -17
  1013. package/lib/core/functions.d.ts +0 -50
  1014. package/lib/core/guide/guide.component.d.ts +0 -31
  1015. package/lib/core/guide/guide.service.d.ts +0 -32
  1016. package/lib/core/http.interceptor.d.ts +0 -21
  1017. package/lib/core/hub.service.d.ts +0 -133
  1018. package/lib/core/identity/identity.component.d.ts +0 -29
  1019. package/lib/core/info/attachment-info.service.d.ts +0 -17
  1020. package/lib/core/info/document-info.service.d.ts +0 -13
  1021. package/lib/core/info/location-info.component.d.ts +0 -28
  1022. package/lib/core/info/map-info.d.ts +0 -15
  1023. package/lib/core/layout/autocomplete.field.d.ts +0 -21
  1024. package/lib/core/layout/checkbox.d.ts +0 -10
  1025. package/lib/core/layout/checkbox.field.d.ts +0 -11
  1026. package/lib/core/layout/date-range.field.d.ts +0 -13
  1027. package/lib/core/layout/date.field.d.ts +0 -11
  1028. package/lib/core/layout/expression.field.d.ts +0 -12
  1029. package/lib/core/layout/file.field.d.ts +0 -14
  1030. package/lib/core/layout/html.field.d.ts +0 -12
  1031. package/lib/core/layout/input.base.d.ts +0 -10
  1032. package/lib/core/layout/input.field.d.ts +0 -14
  1033. package/lib/core/layout/layout.component.d.ts +0 -33
  1034. package/lib/core/layout/numeric.field.d.ts +0 -11
  1035. package/lib/core/layout/select.field.d.ts +0 -22
  1036. package/lib/core/layout/switch.field.d.ts +0 -11
  1037. package/lib/core/layout/textarea.field.d.ts +0 -11
  1038. package/lib/core/layout/timespan.field.d.ts +0 -11
  1039. package/lib/core/lottie-animation.d.ts +0 -14
  1040. package/lib/core/mailbox.service.d.ts +0 -141
  1041. package/lib/core/models.d.ts +0 -648
  1042. package/lib/core/none.component.d.ts +0 -9
  1043. package/lib/core/pipes/action.pipe.d.ts +0 -10
  1044. package/lib/core/pipes/calendar.pipe.d.ts +0 -27
  1045. package/lib/core/pipes/date-format.pipe.d.ts +0 -8
  1046. package/lib/core/pipes/daterange.pipe.d.ts +0 -15
  1047. package/lib/core/pipes/difference.pipe.d.ts +0 -7
  1048. package/lib/core/pipes/duration-format.pipe.d.ts +0 -11
  1049. package/lib/core/pipes/duration.pipe.d.ts +0 -8
  1050. package/lib/core/pipes/form.pipe.d.ts +0 -10
  1051. package/lib/core/pipes/join.pipe.d.ts +0 -10
  1052. package/lib/core/pipes/role.pipe.d.ts +0 -10
  1053. package/lib/core/pipes/sanitize-html.pipe.d.ts +0 -10
  1054. package/lib/core/pipes/sort.pipe.d.ts +0 -12
  1055. package/lib/core/pipes/state.pipe.d.ts +0 -10
  1056. package/lib/core/pipes/time-ago.pipe.d.ts +0 -16
  1057. package/lib/core/pipes/translate.pipe.d.ts +0 -18
  1058. package/lib/core/pipes/type-value.pipe.d.ts +0 -15
  1059. package/lib/core/pipes/user-name.pipe.d.ts +0 -11
  1060. package/lib/core/popup/popup-ref.d.ts +0 -14
  1061. package/lib/core/popup/popup.component.d.ts +0 -22
  1062. package/lib/core/popup/popup.service.d.ts +0 -24
  1063. package/lib/core/popup/tooltip.directive.d.ts +0 -29
  1064. package/lib/core/prompt/ask/ask.dialog.d.ts +0 -22
  1065. package/lib/core/prompt/mask/mask.component.d.ts +0 -10
  1066. package/lib/core/prompt.service.d.ts +0 -36
  1067. package/lib/core/router.d.ts +0 -20
  1068. package/lib/core/session.service.d.ts +0 -80
  1069. package/lib/core/slots/pane-ref.d.ts +0 -113
  1070. package/lib/core/slots/router.directive.d.ts +0 -25
  1071. package/lib/core/slots/router.service.d.ts +0 -36
  1072. package/lib/core/slots/slots.component.d.ts +0 -183
  1073. package/lib/core/tagging/documents.component.d.ts +0 -11
  1074. package/lib/core/tagging/edit-input.component.d.ts +0 -65
  1075. package/lib/core/tagging/emoji.component.d.ts +0 -18
  1076. package/lib/core/tagging/tagging-item.directive.d.ts +0 -15
  1077. package/lib/core/tagging/tagging.component-base.d.ts +0 -19
  1078. package/lib/core/tagging/tagging.directive.d.ts +0 -34
  1079. package/lib/core/tagging/tagging.pipe.d.ts +0 -24
  1080. package/lib/core/tagging/users.component.d.ts +0 -15
  1081. package/lib/core/translate.service.d.ts +0 -28
  1082. package/lib/core/translations.d.ts +0 -1097
  1083. package/lib/core/window-title.service.d.ts +0 -21
  1084. package/lib/cube/accum/accum.component.d.ts +0 -63
  1085. package/lib/cube/chart/chart.component.d.ts +0 -74
  1086. package/lib/cube/cube-info.service.d.ts +0 -77
  1087. package/lib/cube/cube-menu.component.d.ts +0 -12
  1088. package/lib/cube/cube-view.component.d.ts +0 -31
  1089. package/lib/cube/cube.service.d.ts +0 -267
  1090. package/lib/cube/declarations.d.ts +0 -23
  1091. package/lib/cube/explore/document-item.component.d.ts +0 -16
  1092. package/lib/cube/explore/explore-item.component.d.ts +0 -14
  1093. package/lib/cube/explore/explore-items.component.d.ts +0 -57
  1094. package/lib/cube/explore/explore.pane.component.d.ts +0 -29
  1095. package/lib/cube/explore/item-resolver.service.d.ts +0 -20
  1096. package/lib/cube/explore/item.pane.component.d.ts +0 -13
  1097. package/lib/cube/filter/filter-tags.component.exp.d.ts +0 -31
  1098. package/lib/cube/filter/filter.component.d.ts +0 -44
  1099. package/lib/cube/grid/grid.component.d.ts +0 -59
  1100. package/lib/cube/grid/spreadsheet.component.d.ts +0 -62
  1101. package/lib/cube/matrix/matrix.base.d.ts +0 -72
  1102. package/lib/cube/matrix/matrix.mobile.component.d.ts +0 -22
  1103. package/lib/cube/matrix/matrix.pane.component.d.ts +0 -23
  1104. package/lib/cube/matrix/popup.component.d.ts +0 -23
  1105. package/lib/cube/matrix/table.component.d.ts +0 -100
  1106. package/lib/cube/parallel/item.d.ts +0 -13
  1107. package/lib/cube/parallel/parallel.component.d.ts +0 -52
  1108. package/lib/cube/pivot/pivot.component.d.ts +0 -103
  1109. package/lib/cube/sum/sum.component.d.ts +0 -78
  1110. package/lib/cube/view-base.d.ts +0 -39
  1111. package/lib/cube/view.mobile.component.d.ts +0 -46
  1112. package/lib/cube/view.pane.component.d.ts +0 -27
  1113. package/lib/dashboard/actions/actions.widget.d.ts +0 -39
  1114. package/lib/dashboard/cube/accum-cube.widget.d.ts +0 -33
  1115. package/lib/dashboard/cube/cube-analysis.base.d.ts +0 -59
  1116. package/lib/dashboard/cube/cube-analysis.widget.d.ts +0 -17
  1117. package/lib/dashboard/cube/cube-chart.widget.d.ts +0 -32
  1118. package/lib/dashboard/cube/documents.widget.d.ts +0 -30
  1119. package/lib/dashboard/cube/filter/filter.component.d.ts +0 -22
  1120. package/lib/dashboard/dashboard.component.d.ts +0 -20
  1121. package/lib/dashboard/dashboard.pane.component.d.ts +0 -8
  1122. package/lib/dashboard/recents/recents.widget.d.ts +0 -40
  1123. package/lib/dashboard/score/activity.widget.d.ts +0 -50
  1124. package/lib/dashboard/score/compare-departments.widget.d.ts +0 -51
  1125. package/lib/dashboard/score/peers-performance.widget.d.ts +0 -65
  1126. package/lib/dashboard/score/pending-results.widget.d.ts +0 -28
  1127. package/lib/dashboard/score/personal-score.widget.d.ts +0 -57
  1128. package/lib/dashboard/widget-item.component.d.ts +0 -31
  1129. package/lib/dashboard/widget-ref.d.ts +0 -11
  1130. package/lib/desktop.module.d.ts +0 -45
  1131. package/lib/home/about/about.dialog.d.ts +0 -14
  1132. package/lib/home/home-base.component.d.ts +0 -34
  1133. package/lib/home/home.desktop.component.d.ts +0 -56
  1134. package/lib/home/home.mobile.component.d.ts +0 -38
  1135. package/lib/home/notifications/notifications.component.d.ts +0 -28
  1136. package/lib/home/options/options.component.d.ts +0 -46
  1137. package/lib/home/outofoffice/outofoffice.component.d.ts +0 -19
  1138. package/lib/home/search.service.d.ts +0 -23
  1139. package/lib/home/sign/sign.component.d.ts +0 -17
  1140. package/lib/home/tools.component.d.ts +0 -36
  1141. package/lib/impersonate/impersonate.component.d.ts +0 -27
  1142. package/lib/mobile.module.d.ts +0 -25
  1143. package/lib/modules/chart.module.d.ts +0 -7
  1144. package/lib/modules/circular-gauge.module.d.ts +0 -7
  1145. package/lib/modules/date.adapter.d.ts +0 -13
  1146. package/lib/modules/datepicker.intl.d.ts +0 -30
  1147. package/lib/modules/diagram.module.d.ts +0 -8
  1148. package/lib/modules/gantt.module.d.ts +0 -7
  1149. package/lib/modules/grid.module.d.ts +0 -7
  1150. package/lib/modules/material.module.d.ts +0 -45
  1151. package/lib/modules/paginator.intl.d.ts +0 -14
  1152. package/lib/modules/pivot.module.d.ts +0 -7
  1153. package/lib/modules/schedule.module.d.ts +0 -7
  1154. package/lib/modules/spreadsheet.module.d.ts +0 -8
  1155. package/lib/modules/stepper.intl.d.ts +0 -10
  1156. package/lib/modules/texteditor.module.d.ts +0 -8
  1157. package/lib/notifications/filter.component.d.ts +0 -9
  1158. package/lib/notifications/notifications-table.component.d.ts +0 -32
  1159. package/lib/notifications/notifications.component-base.d.ts +0 -12
  1160. package/lib/notifications/notifications.mobile.component.d.ts +0 -8
  1161. package/lib/notifications/notifications.pane.component.d.ts +0 -8
  1162. package/lib/notifications/notifications.service.d.ts +0 -24
  1163. package/lib/notifications/types/commented.notification.d.ts +0 -26
  1164. package/lib/notifications/types/cube-anomaly.notification.d.ts +0 -28
  1165. package/lib/notifications/types/escalated.notification.d.ts +0 -25
  1166. package/lib/notifications/types/liked.notification.d.ts +0 -25
  1167. package/lib/notifications/types/long-running-task.notification.d.ts +0 -21
  1168. package/lib/notifications/types/notification-base.d.ts +0 -20
  1169. package/lib/notifications/types/nudge.notification.d.ts +0 -23
  1170. package/lib/notifications/types/state-changed.notification.d.ts +0 -22
  1171. package/lib/notifications/types/tagged.notification.d.ts +0 -26
  1172. package/lib/notifications/types/text.notification.d.ts +0 -13
  1173. package/lib/notifications/types/upcoming-event.notification.d.ts +0 -20
  1174. package/lib/options/options.component.d.ts +0 -66
  1175. package/lib/options/options.service.d.ts +0 -14
  1176. package/lib/reports/arguments-component.d.ts +0 -27
  1177. package/lib/reports/cube/grid-documents.component.d.ts +0 -45
  1178. package/lib/reports/cube/table-documents.component.d.ts +0 -44
  1179. package/lib/reports/cube/usage-args.component.d.ts +0 -21
  1180. package/lib/reports/cube/usage-base.d.ts +0 -70
  1181. package/lib/reports/cube/usage-chart.component.d.ts +0 -66
  1182. package/lib/reports/cube/usage-pivot.component.d.ts +0 -66
  1183. package/lib/reports/report-ref.d.ts +0 -27
  1184. package/lib/reports/report-viewer.component.d.ts +0 -48
  1185. package/lib/reports/report.mobile.component.d.ts +0 -45
  1186. package/lib/reports/report.pane.component.d.ts +0 -34
  1187. package/lib/reports/reports-menu.component.d.ts +0 -12
  1188. package/lib/reports/substitution/substitution.component.d.ts +0 -23
  1189. package/lib/reports/table/table-view.component.d.ts +0 -19
  1190. package/lib/reports/tasks/tasks.component.d.ts +0 -68
  1191. package/lib/routes.desktop.d.ts +0 -2
  1192. package/lib/routes.mobile.d.ts +0 -2
  1193. package/lib/scheduler/schedule.component.d.ts +0 -43
  1194. package/lib/scheduler/scheduler.mobile.component.d.ts +0 -14
  1195. package/lib/scheduler/scheduler.pane.component.d.ts +0 -20
  1196. package/lib/shared.module.d.ts +0 -185
  1197. package/lib/system.module.d.ts +0 -32
  1198. package/lib/views/cube/chart.component.d.ts +0 -39
  1199. package/lib/views/cube/cube-base.d.ts +0 -46
  1200. package/lib/views/cube/explore.component.d.ts +0 -43
  1201. package/lib/views/cube/matrix.component.d.ts +0 -51
  1202. package/lib/views/cube/parallel.component.d.ts +0 -32
  1203. package/lib/views/cube/pivot.component.d.ts +0 -34
  1204. package/lib/views/cube/sum.component.d.ts +0 -33
  1205. package/lib/views/cube/view.component.d.ts +0 -40
  1206. package/lib/views/document-view-ref.d.ts +0 -18
  1207. package/lib/views/timeline/timeline.component.exp.d.ts +0 -66
  1208. package/lib/views/view-item.component.d.ts +0 -28
  1209. package/lib/views/views.component.d.ts +0 -14
  1210. package/lib/views/views.mobile.component.d.ts +0 -10
  1211. package/lib/views/views.pane.component.d.ts +0 -12
  1212. package/public-api.d.ts +0 -144
@@ -0,0 +1,12 @@
1
+ <h2 mat-dialog-title>{{action.title}}</h2>
2
+ <mat-dialog-content>
3
+ <p *ngIf="!action.arguments.length">
4
+ {{ 'ActionAsk' | translate : (action.verb || action.title).toLowerCase() }}
5
+ </p>
6
+ <ng-container #container>
7
+ </ng-container>
8
+ </mat-dialog-content>
9
+ <mat-dialog-actions>
10
+ <button mat-button type="submit" [disabled]="!valid" (click)="ok()" color="primary">{{'Yes'|translate}}</button>
11
+ <button mat-button (click)='close()'>{{'No' | translate}}</button>
12
+ </mat-dialog-actions>
@@ -0,0 +1,35 @@
1
+ <form autocomplete="off" fxLayout="column" [formGroup]="form">
2
+ <mat-form-field>
3
+ <mat-chip-list #chipList [attr.aria-label]="'AssignTo'|translate">
4
+ <mat-chip *ngFor="let u of form.value.userIds"
5
+ [selectable]="true"
6
+ [removable]="true"
7
+ (removed)="removed(u)">
8
+ {{u | userName | async }}
9
+ <mat-icon matChipRemove>cancel</mat-icon>
10
+ </mat-chip>
11
+ <input required [placeholder]="'AssignTo'|translate"
12
+ [formControl]=userIds
13
+ cdkFocusInitial
14
+ #nameInput
15
+ [matAutocomplete]="auto"
16
+ [matChipInputFor]="chipList"
17
+ [matChipInputSeparatorKeyCodes]="separatorKeysCodes">
18
+ </mat-chip-list>
19
+ <mat-autocomplete #auto="matAutocomplete" (optionSelected)="userSelected(nameInput, $event)">
20
+ <mat-option *ngFor="let u of users$ | async" [value]="u.id">
21
+ {{u.name}}
22
+ <span *ngIf="u.email">&nbsp; - {{u.email}}</span>
23
+ </mat-option>
24
+ </mat-autocomplete>
25
+ <mat-error *ngIf="form.controls.userIds.hasError('required')">{{'Required'|translate:('AssignTo'|translate)}}</mat-error>
26
+ </mat-form-field>
27
+ <mat-checkbox formControlName=fyi> {{ 'AssignFYI' | translate }}</mat-checkbox>
28
+ <!--<mat-checkbox formControlName=roundtrip> {{ 'AssignRoundtrip' | translate }}</mat-checkbox>-->
29
+ <mat-form-field>
30
+ <textarea matInput cdkTextareaAutosize formControlName="note" [placeholder]="'Note'|translate" maxlength="200">
31
+ </textarea>
32
+ <mat-hint align="end">{{form.controls['note'].value?.length || 0}} / {{200}}</mat-hint>
33
+ <mat-hint>{{'AssignNoteHint'| translate}}</mat-hint>
34
+ </mat-form-field>
35
+ </form>
@@ -0,0 +1,77 @@
1
+ import { Component, ElementRef, OnDestroy, OnInit, ViewChild } from '@angular/core';
2
+ import { FormBuilder, Validators } from '@angular/forms';
3
+ import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
4
+ import { COMMA, ENTER } from '@angular/cdk/keycodes';
5
+ import { debounceTime, Observable, Subject } from 'rxjs';
6
+ import { takeUntil, filter, map, switchMap } from 'rxjs/operators';
7
+ import { isString } from '../../core/functions';
8
+ import { BizDoc } from '../../core/decorators';
9
+ import { UserInfo } from '../../core/models';
10
+ import { ArgumentsComponent } from '../../core/base';
11
+ import { SessionService } from '../../core/session.service';
12
+ import { AccountService } from '../../core/account.service';
13
+
14
+ @Component({
15
+ templateUrl: './assign-action.component.html'
16
+ })
17
+ @BizDoc({
18
+ selector: 'bizdoc-action-assign'
19
+ })
20
+ export class AssignActionComponent implements ArgumentsComponent, OnInit, OnDestroy {
21
+ readonly separatorKeysCodes: number[] = [ENTER, COMMA];
22
+ @ViewChild('nameInput', { static: true, read: ElementRef }) nameInput: ElementRef<HTMLInputElement>;
23
+ readonly form = this._fb.group({
24
+ userIds: this._fb.control(null, Validators.required),
25
+ fyi: this._fb.control(false),
26
+ roundtrip: this._fb.control(false),
27
+ note: this._fb.control(null, Validators.maxLength(200))
28
+ });
29
+ readonly userIds = this._fb.control([]);
30
+ users$: Observable<UserInfo[]>;
31
+ private _destroy = new Subject<void>();
32
+ constructor(private _fb: FormBuilder, private _session: SessionService, private _accounts: AccountService) {
33
+ }
34
+ ngOnInit(): void {
35
+ const me = this._session.userId;
36
+ this.users$ = this.userIds.valueChanges.
37
+ pipe(
38
+ debounceTime(200),
39
+ takeUntil(this._destroy),
40
+ switchMap(v =>
41
+ this._accounts.findAll(v, { take: 20 }).
42
+ pipe(map(r =>
43
+ r.filter(u => u.id !== me)))));
44
+ }
45
+ /**
46
+ *
47
+ * @param inp
48
+ * @param event
49
+ */
50
+ userSelected(inp: HTMLInputElement, event: MatAutocompleteSelectedEvent): void {
51
+ const userIds = this.form.controls['userIds'].value as string[] || [];
52
+ userIds.push(event.option.value);
53
+ this.form.controls['userIds'].setValue(userIds);
54
+ inp.value = '';
55
+ }
56
+ /**
57
+ *
58
+ * @param id
59
+ */
60
+ removed(id: string): void {
61
+ const userIds = this.form.controls['userIds'].value as string[];
62
+
63
+ const index = userIds.indexOf(id);
64
+
65
+ if (userIds.length > 1) {
66
+ index >= 0 &&
67
+ userIds.splice(index, 1);
68
+
69
+ this.form.updateValueAndValidity();
70
+ }
71
+ else
72
+ this.form.controls['userIds'].setValue(null);
73
+ }
74
+ ngOnDestroy(): void {
75
+ this._destroy.next();
76
+ }
77
+ }
@@ -0,0 +1,13 @@
1
+ <form autocomplete="off" fxLayout="column" [formGroup]="form">
2
+ <mat-form-field>
3
+ <mat-select formControlName="recipientId" cdkFocusInitial [placeholder]="'User'|translate" required>
4
+ <mat-option *ngFor="let r of recipients" [value]="r.id">{{r.userId | userName | async }}</mat-option>
5
+ </mat-select>
6
+ <mat-error *ngIf="form.controls.recipientId.hasError('required')">{{'Required'|translate:('User'|translate)}}</mat-error>
7
+ </mat-form-field>
8
+ <mat-form-field>
9
+ <textarea matInput cdkTextareaAutosize formControlName="note" [placeholder]="'Note'|translate" maxlength="200">
10
+ </textarea>
11
+ <mat-hint align="end">{{form.controls['note'].value?.length || 0}} / {{200}}</mat-hint>
12
+ </mat-form-field>
13
+ </form>
@@ -0,0 +1,38 @@
1
+ import { Component } from '@angular/core';
2
+ import { FormBuilder, Validators } from '@angular/forms';
3
+ import { BizDoc } from '../../core/decorators';
4
+ import { ArgumentsComponent } from '../../core/base';
5
+ import { Recipient } from '../../core/models';
6
+ import { ActionRef } from './action-ref';
7
+ import { SessionService } from '../../core/session.service';
8
+ import { AccountService } from '../../core/account.service';
9
+ import { OnInit } from '@angular/core';
10
+
11
+ @Component({
12
+ templateUrl: './return-action.component.html'
13
+ })
14
+ @BizDoc({
15
+ selector: 'bizdoc-action-return'
16
+ })
17
+ export class ReturnActionComponent implements ArgumentsComponent, OnInit {
18
+ readonly recipients: Recipient[] = [];
19
+ constructor(private _fb: FormBuilder, actionRef: ActionRef, session: SessionService, accounts: AccountService) {
20
+ actionRef.item.recipients.slice(1).
21
+ filter(r => r.userId !== session.profile.userId && !r.estimate && !r.pending
22
+ && r.received >= actionRef.item.issued).
23
+ reverse().forEach(r =>
24
+ this.recipients.findIndex(i => i.userId === r.userId) < 0 &&
25
+ this.recipients.push(r)
26
+ );
27
+ }
28
+ ngOnInit(): void {
29
+ if (this.recipients.length === 1) {
30
+ this.form.patchValue({ recipientId: this.recipients[0].id });
31
+ this.form.updateValueAndValidity();
32
+ }
33
+ }
34
+ readonly form = this._fb.group({
35
+ recipientId: this._fb.control(null, Validators.required),
36
+ note: null
37
+ });
38
+ }
@@ -0,0 +1,23 @@
1
+ <div *ngFor="let a of attachments">
2
+ <button mat-button class="attachment-link" [matMenuTriggerFor]="attachment" [bizdocTooltip]="a.time | amCalendar" [progressIndicator]="a.progress">
3
+ <mat-icon *ngIf="viewedIndicator && a.viewed">done_all</mat-icon>
4
+ <!--[bizdocTooltip]="a.viewed | amCalendar"-->
5
+ <mat-icon>attachment</mat-icon>&nbsp;
6
+ <span [class.deleted]="a.deleted" [class.failed]="a.failed">{{a.fileName}}</span>
7
+ </button>
8
+ <mat-menu #attachment>
9
+ <ng-container *ngIf="!a.failed">
10
+ <button mat-menu-item (click)="download(a)">{{"Download" | translate}}</button>
11
+ <button mat-menu-item *ngIf="canPreview(a)" (click)="preview(a)"><mat-icon>landscape</mat-icon> {{"Preview" | translate}}</button>
12
+ <ng-container *ngIf="hasVersion(a)">
13
+ <mat-divider></mat-divider>
14
+ <button mat-menu-item *ngFor="let v of getVersions(a)" (click)="previewOrDownload(v)">{{v.time | amCalendar}}</button>
15
+ </ng-container>
16
+ <ng-container *ngIf="canDelete(a)">
17
+ <mat-divider></mat-divider>
18
+ <button mat-menu-item (click)="discard(a)">{{"Discard" | translate}}</button>
19
+ </ng-container>
20
+ </ng-container>
21
+ <button mat-menu-item (click)="cancel(a)" *ngIf="a.failed">{{"Cancel" | translate}}</button>
22
+ </mat-menu>
23
+ </div>
@@ -0,0 +1,21 @@
1
+ :host {
2
+ display: flex;
3
+ flex-flow: wrap;
4
+ }
5
+ .attachment-link {
6
+
7
+ &.failed {
8
+ color: red
9
+ }
10
+
11
+ .loading {
12
+ }
13
+ .deleted {
14
+ text-decoration:line-through
15
+ }
16
+ }
17
+ ::ng-deep button .progress {
18
+ background-color: dimgray;
19
+ position: absolute;
20
+ height: 100%;
21
+ }
@@ -0,0 +1,114 @@
1
+ import { Component, Input, Injector, ViewContainerRef, OnChanges } from '@angular/core';
2
+ import { DocumentModel, Attachment, RecipientModel } from '../../core/models';
3
+ import { Overlay, OverlayRef } from '@angular/cdk/overlay';
4
+ import { AttachmentPreview, FILE_PREVIEW_DIALOG_DATA, PreviewData } from './preview/attachment-preview.component';
5
+ import { ComponentPortal } from '@angular/cdk/portal';
6
+ import { PromptService } from '../../core/prompt.service';
7
+ import { AttachmentExtra, MailboxService } from '../../core/mailbox.service';
8
+ import { SessionService } from '../../core/session.service';
9
+ import { Directionality } from '@angular/cdk/bidi';
10
+ import { AttachmentInfo } from '../../core/info/attachment-info.service';
11
+
12
+ @Component({
13
+ selector: 'bizdoc-attachments',
14
+ templateUrl: './attachments.component.html',
15
+ styleUrls: ['./attachments.component.scss']
16
+ })
17
+ /** mail-attachments component*/
18
+ export class AttachmentsComponent implements OnChanges {
19
+ @Input() model!: RecipientModel<any> | DocumentModel<any>;
20
+ @Input() viewedIndicator = true;
21
+ @Input() includeDeleted = false;
22
+ attachments: Attachment[];
23
+ /** mail-attachments ctor */
24
+ constructor(private _mailbox: MailboxService,
25
+ private _session: SessionService,
26
+ private _vc: ViewContainerRef,
27
+ private _sb: PromptService,
28
+ private _overlay: Overlay,
29
+ private _injector: Injector,
30
+ private _dir: Directionality) {
31
+ }
32
+ public ngOnChanges(): void {
33
+ const distinct: Attachment[] = [];
34
+ const attachments = this.model.attachments.sort((a1, a0) => a1.time > a0.time ? 1 : -1);
35
+ for (const attachment of attachments) {
36
+ if ((!attachment.deleted || this.includeDeleted) &&
37
+ !attachment.private &&
38
+ !distinct.find(a => a.fileName === attachment.fileName)) {
39
+ let log = this.model.log.filter(l => l.fileId == attachment.id && l.userId == this._session.userId),
40
+ download = log.find(l => l.type === 'Download'),
41
+ checkedOut = log.find(l=> l.type === 'CheckOut');
42
+ if (download) (attachment as AttachmentExtra).viewed = download.time;
43
+ if (checkedOut) (attachment as AttachmentExtra).checkedOut = true;
44
+ distinct.push(attachment);
45
+ }
46
+ }
47
+ this.attachments = distinct;
48
+ }
49
+ hasVersion(item: Attachment): boolean {
50
+ return this.model.attachments.find(a => a.fileName === item.fileName && a != item) != null;
51
+ }
52
+ getVersions(item: Attachment): Attachment[] {
53
+ return this.model.attachments.filter(a => a.fileName === item.fileName && a != item);
54
+ }
55
+ download(item: Attachment) {
56
+ //this._mailbox.download(this.model.documentId, item.id).subscribe(data => {
57
+ //const blob = new Blob([data], { type: item.contentType });
58
+ //if (typeof window.navigator.msSaveBlob !== 'undefined') { // IE
59
+ // window.navigator.msSaveBlob(blob, item.fileName);
60
+ //} else {
61
+ //const url = window.URL.createObjectURL(blob);
62
+ //const pwa = window.open(url);
63
+ //if (!pwa || pwa.closed || typeof pwa.closed === 'undefined')
64
+ //}
65
+ //});
66
+ location.href = this._mailbox.formatDownloadUrl(this.model.documentId, item.id);
67
+ (item as AttachmentExtra).viewed = new Date();
68
+ }
69
+ previewOrDownload(item: Attachment) {
70
+ if (this.canPreview(item))
71
+ this.preview(item);
72
+ else
73
+ this.download(item);
74
+ }
75
+ canPreview(item: Attachment): boolean {
76
+ return AttachmentInfo.exists(item.contentType);
77
+ }
78
+ canDelete(item: Attachment): boolean {
79
+ return !this.model.completed && item.userId === this._session.profile.userId && !item.deleted;
80
+ }
81
+ preview(item: Attachment) {
82
+ const oRef = this._overlay.create({
83
+ positionStrategy: this._overlay.position().global().centerHorizontally().centerVertically(),
84
+ backdropClass: 'dark-backdrop',
85
+ hasBackdrop: true,
86
+ direction: this._dir.value
87
+ });
88
+ const injector = Injector.create([
89
+ { provide: FILE_PREVIEW_DIALOG_DATA, useValue: { file: item, documentId: this.model.documentId } as PreviewData },
90
+ { provide: OverlayRef, useValue: oRef }
91
+ ], this._injector);
92
+ const portal = new ComponentPortal(AttachmentPreview, this._vc, injector);
93
+ oRef.attach(portal);
94
+ (item as AttachmentExtra).viewed = new Date();
95
+ }
96
+ cancel(item: Attachment) {
97
+ this.model.attachments.remove(item);
98
+ this.ngOnChanges();
99
+ }
100
+ discard(item: Attachment) {
101
+ const task = () =>
102
+ this._mailbox.removeattachment((this.model as RecipientModel<any>).id, item.id).subscribe(() => {
103
+ //item.deleted = true;
104
+ this.model.attachments.remove(item);
105
+ this.ngOnChanges();
106
+ }, () =>
107
+ this._sb.error());
108
+ if (this.model.draft)
109
+ task();
110
+ else
111
+ this._sb.ask('DeleteFileAsk', 'DeleteFile', { color: 'warn' }).subscribe(ok =>
112
+ ok && task());
113
+ }
114
+ }
@@ -0,0 +1,15 @@
1
+ <div class="overlay-content" [@slideContent]="animationState" (@slideContent.start)="onAnimationStart($event)"
2
+ [dir]="dir" (@slideContent.done)="onAnimationDone($event)">
3
+ <div class="toolbar-wrapper" fxLayout="row" [@slideDown]="slideDown" *ngIf="!loading">
4
+ <button mat-icon-button (click)="close()" bizdocTooltip="{{'Back' | translate}}"><mat-icon class="mat-icon-rtl-mirror">keyboard_arrow_left</mat-icon></button>
5
+ <span class="mat-body-1">{{data.file.fileName}}</span>
6
+ <span class="divider"></span>
7
+ <button mat-icon-button (click)="rotate()" bizdocTooltip="{{'Rotate' | translate }}"><mat-icon>screen_rotation</mat-icon></button>
8
+ <button mat-icon-button (click)="download()" bizdocTooltip="{{'Download' | translate}}"><mat-icon>save_alt</mat-icon></button>
9
+ </div>
10
+ <div class="spinner-wrapper" *ngIf="loading">
11
+ <mat-spinner></mat-spinner>
12
+ </div>
13
+ <object (load)="onLoad($event)" [data]="objectData" [type]="data.file.contentType" *ngIf="!isImage" #obj></object>
14
+ <img *ngIf="isImage" (load)="onLoad($event)" [style.opacity]="loading ? 0 : 1" [@fade]="loading ? 'fadeOut' : 'fadeIn'" [src]="objectData" #img>
15
+ </div>
@@ -0,0 +1,36 @@
1
+ :host {
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ }
6
+
7
+ /*:host ::ng-deep .fullscreen-panel {
8
+ width: 100%;
9
+ height: 100%;
10
+ }*/
11
+
12
+ .spinner-wrapper {
13
+ position: absolute;
14
+ top: 50%;
15
+ left: 50%;
16
+ transform: translate(-50%, -50%);
17
+ z-index: -1;
18
+ }
19
+
20
+ img {
21
+ width: 100%;
22
+ max-width: 500px;
23
+ height: auto;
24
+ }
25
+ .overlay-content {
26
+ padding: 1em;
27
+
28
+ .toolbar-wrapper {
29
+ align-items: center;
30
+ color: whitesmoke
31
+ }
32
+ }
33
+
34
+ .divider {
35
+ flex: 1 1 auto
36
+ }
@@ -0,0 +1,140 @@
1
+ import { Component, InjectionToken, Inject, HostListener, EventEmitter, OnInit, ViewChild, ElementRef, AfterViewInit, Renderer2 } from '@angular/core';
2
+ import { OverlayRef } from '@angular/cdk/overlay';
3
+ import { Attachment } from '../../../core/models';
4
+ import { trigger, state, transition, style, animate, AnimationEvent } from '@angular/animations';
5
+ import { take, filter } from 'rxjs/operators';
6
+ import { Observable, Subject } from 'rxjs';
7
+ import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
8
+ import { Directionality, Direction } from '@angular/cdk/bidi';
9
+ import { isImage } from '../../../core/functions';
10
+ import { MailboxService } from '../../../core/mailbox.service';
11
+
12
+ export const FILE_PREVIEW_DIALOG_DATA = new InjectionToken<PreviewData>('FILE_PREVIEW_DIALOG_DATA');
13
+
14
+ const ANIMATION_TIMINGS = '400ms cubic-bezier(0.25, 0.8, 0.25, 1)';
15
+
16
+ @Component({
17
+ selector: 'bizdoc-attachment-preview',
18
+ templateUrl: './attachment-preview.component.html',
19
+ styleUrls: ['./attachment-preview.component.scss'],
20
+ animations: [
21
+ trigger('fade', [
22
+ state('fadeOut', style({ opacity: 0 })),
23
+ state('fadeIn', style({ opacity: 1 })),
24
+ transition('* => fadeIn', animate(ANIMATION_TIMINGS))
25
+ ]),
26
+ trigger('slideDown', [
27
+ state('void', style({ transform: 'translateY(-100%)' })),
28
+ state('enter', style({ transform: 'translateY(0)' })),
29
+ state('leave', style({ transform: 'translateY(-100%)' })),
30
+ transition('* => *', animate('400ms cubic-bezier(0.25, 0.8, 0.25, 1)'))
31
+ ]),
32
+ trigger('slideContent', [
33
+ state('void', style({ transform: 'translate3d(0, 25%, 0) scale(0.9)', opacity: 0 })),
34
+ state('enter', style({ transform: 'none', opacity: 1 })),
35
+ state('leave', style({ transform: 'translate3d(0, 25%, 0)', opacity: 0 })),
36
+ transition('* => *', animate(ANIMATION_TIMINGS)),
37
+ ])
38
+ ]
39
+ })
40
+ /** attachment-preview component*/
41
+ export class AttachmentPreview implements OnInit, AfterViewInit {
42
+ @ViewChild('obj', { static: false }) obj: ElementRef;
43
+ @ViewChild('img', { static: true }) img: ElementRef;
44
+ objectData: SafeUrl;
45
+ loading = true;
46
+ dir: Direction;
47
+ isImage: boolean;
48
+ animationState: 'void' | 'enter' | 'leave' = 'enter';
49
+ slideDown: 'enter' | 'leave' | 'void' = 'enter';
50
+ readonly animationStateChanged = new EventEmitter<AnimationEvent>();
51
+ private _deg = 0;
52
+ private readonly _beforeClose = new Subject<void>();
53
+ private readonly _afterClosed = new Subject<void>();
54
+ /** attachment-preview ctor */
55
+ constructor(_directionality: Directionality,
56
+ private _renderer: Renderer2, @Inject(FILE_PREVIEW_DIALOG_DATA) public data: PreviewData,
57
+ sanitizer: DomSanitizer,
58
+ private _service: MailboxService,
59
+ private _overlayRef: OverlayRef) {
60
+ this.dir = _directionality.value;
61
+ this.isImage = isImage(this.data.file.contentType);
62
+ this.objectData = sanitizer.bypassSecurityTrustResourceUrl(this._url());
63
+ this.beforeClose().subscribe(() => this.slideDown = 'leave');
64
+ }
65
+ @HostListener('document:resize', [])
66
+ resize() {
67
+ if (!this.isImage) {
68
+ this._renderer.setStyle(this.obj.nativeElement, 'min-width', `${window.innerWidth}px`);
69
+ this._renderer.setStyle(this.obj.nativeElement, 'min-height', `${window.innerHeight}px`)
70
+ }
71
+ }
72
+ ngOnInit(): void {
73
+ this._overlayRef.backdropClick().subscribe(() => this.close());
74
+ }
75
+ ngAfterViewInit(): void {
76
+ this.resize();
77
+ }
78
+ download() {
79
+ location.assign(this._url());
80
+ }
81
+ private _url(): string {
82
+ return this._service.formatDownloadUrl(this.data.documentId, this.data.file.id);
83
+ }
84
+
85
+ rotate() {
86
+ const elem = (this.isImage ? this.img : this.obj).nativeElement;
87
+ this._deg = this._deg === 270 ? 0 : this._deg + 90;
88
+ elem.style.transform = `rotate(${this._deg}deg)`;
89
+ }
90
+ onLoad(_evt: Event) {
91
+ this.loading = false;
92
+ }
93
+ afterClosed(): Observable<void> {
94
+ return this._afterClosed.asObservable();
95
+ }
96
+
97
+ beforeClose(): Observable<void> {
98
+ return this._beforeClose.asObservable();
99
+ }
100
+ @HostListener('document:keydown.escape', [])
101
+ close(): void {
102
+ // Listen for animation 'start' events
103
+ this.animationStateChanged.pipe(
104
+ filter(event => event.phaseName === 'start'),
105
+ take(1)
106
+ ).subscribe(() => {
107
+ this._beforeClose.next();
108
+ this._beforeClose.complete();
109
+ this._overlayRef.detachBackdrop();
110
+ });
111
+
112
+ // Listen for animation 'done' events
113
+ this.animationStateChanged.pipe(
114
+ filter(event => event.phaseName === 'done' && event.toState === 'leave'),
115
+ take(1)
116
+ ).subscribe(() => {
117
+ this._overlayRef.dispose();
118
+ this._afterClosed.next();
119
+ this._afterClosed.complete();
120
+ });
121
+
122
+ // Start exit animation
123
+ this.startExitAnimation();
124
+ }
125
+ onAnimationStart(event: AnimationEvent) {
126
+ this.animationStateChanged.emit(event);
127
+ }
128
+
129
+ onAnimationDone(event: AnimationEvent) {
130
+ this.animationStateChanged.emit(event);
131
+ }
132
+
133
+ private startExitAnimation() {
134
+ this.animationState = 'leave';
135
+ }
136
+ }
137
+ export interface PreviewData {
138
+ documentId: number;
139
+ file: Attachment;
140
+ }
@@ -0,0 +1,18 @@
1
+ import { Directive, ElementRef, Input, Renderer2, OnChanges, SimpleChanges, AfterViewInit } from '@angular/core';
2
+
3
+ @Directive({ selector: '[progressIndicator]' })
4
+ export class ProgressDirective implements AfterViewInit, OnChanges {
5
+ @Input() progressIndicator: number;
6
+ private _progressDiv: HTMLDivElement;
7
+ constructor(elementRef: ElementRef, private renderer: Renderer2) {
8
+ const elem = (elementRef.nativeElement as HTMLElement);
9
+ this._progressDiv = document.createElement('div');
10
+ renderer.addClass(elem, 'progress');
11
+ renderer.appendChild(elem, this._progressDiv);
12
+ }
13
+ ngAfterViewInit(): void {
14
+ }
15
+ ngOnChanges(_changes: SimpleChanges): void {
16
+ this.renderer.setStyle(this._progressDiv, 'width', `${this.progressIndicator}%`);
17
+ }
18
+ }
@@ -0,0 +1,22 @@
1
+ import { Injectable } from '@angular/core';
2
+ import { CanDeactivate, ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree } from '@angular/router';
3
+ import { ComposeComponent } from './compose.mobile.component';
4
+ import { Observable, of } from 'rxjs';
5
+ import { PromptService } from '../core/prompt.service';
6
+ import { switchMap } from 'rxjs/operators';
7
+
8
+ @Injectable()
9
+ export class CanDeactivateCompose implements CanDeactivate<ComposeComponent> {
10
+ constructor(private _sb: PromptService) {
11
+ }
12
+ canDeactivate(component: ComposeComponent, _currentRoute: ActivatedRouteSnapshot, _currentState: RouterStateSnapshot, _nextState?: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
13
+ if (component.form.dirty)
14
+ return this._sb.ask('SaveChangesAsk', 'SaveChanges', { i18n: true, color: 'primary', ok: 'Save', cancel: 'Ignore' }).pipe(switchMap(ok => {
15
+ if (ok)
16
+ return component.form.save(true);
17
+ else
18
+ return of(true);
19
+ }));
20
+ else return true;
21
+ }
22
+ }
@@ -0,0 +1,82 @@
1
+ @mixin comments-theme($theme) {
2
+ $primary: map-get($theme, primary);
3
+ $accent: map-get($theme, accent);
4
+ $warn: map-get($theme, warn);
5
+ $background: map-get($theme, background);
6
+ $foreground: map-get($theme, foreground);
7
+ $is-dark-theme: map-get($theme, is-dark);
8
+
9
+ .comment {
10
+ display: flex;
11
+ -ms-flex-direction: column;
12
+ -webkit-flex-direction: column;
13
+ flex-direction: column;
14
+
15
+ .comment-body {
16
+ flex: 1 1 0%;
17
+ margin: 8px 0;
18
+
19
+ .comment-text {
20
+ }
21
+
22
+ img {
23
+ max-width: 350px;
24
+ cursor: zoom-in
25
+ }
26
+ }
27
+
28
+
29
+ .tool {
30
+ opacity: 0
31
+ }
32
+
33
+ &:hover .tool {
34
+ opacity: 1
35
+ }
36
+
37
+ .modification {
38
+ font-variant: all-small-caps;
39
+ }
40
+
41
+ .comment-actions {
42
+ place-content: flex-end;
43
+ align-items: flex-end;
44
+ flex-direction: row;
45
+ align-self: flex-end;
46
+ box-sizing: border-box;
47
+ display: flex;
48
+ flex: 1;
49
+
50
+ .mat-icon-button {
51
+ line-height: 22px;
52
+ width: 22px;
53
+ height: 22px;
54
+
55
+ .mat-icon {
56
+ font-size: 13px;
57
+ }
58
+ }
59
+ }
60
+ }
61
+
62
+ .comment-score {
63
+ font-size: small;
64
+ align-self: center;
65
+ padding: 3px;
66
+ color: mat.get-color-from-palette($primary, 700);
67
+ /*border: 1px solid mat.get-color-from-palette($primary, 700);
68
+ border-radius: 10px 10px;*/
69
+ &.score-negative {
70
+ color: mat.get-color-from-palette($warn, 700);
71
+ /*border-color: mat.get-color-from-palette($warn, 700);*/
72
+ }
73
+ }
74
+
75
+ .voted-true {
76
+ color: mat.get-color-from-palette($primary, 700)
77
+ }
78
+
79
+ .voted-false {
80
+ color: mat.get-color-from-palette($warn, 700)
81
+ }
82
+ }