@bizdoc/core 1.14.5 → 1.14.9

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 (1245) hide show
  1. package/LICENSE.md +1 -0
  2. package/assets/bizdoc-schema.json +10 -2
  3. package/karma.conf.js +44 -0
  4. package/ng-package.json +11 -0
  5. package/package.json +78 -78
  6. package/src/icons/pdf.svg +24 -0
  7. package/src/icons/word.svg +13 -0
  8. package/src/lib/admin/_admin-theme.scss +6 -0
  9. package/src/lib/admin/admin-dismiss.service.ts +24 -0
  10. package/src/lib/admin/admin-menu.component.html +18 -0
  11. package/src/lib/admin/admin-menu.component.ts +20 -0
  12. package/src/lib/admin/core/ace.input.ts +133 -0
  13. package/src/lib/admin/core/color-picker.input.scss +17 -0
  14. package/src/lib/admin/core/color-picker.input.ts +175 -0
  15. package/src/lib/admin/core/search.input.ts +32 -0
  16. package/src/lib/admin/diff/_configuration-diff-theme.scss +84 -0
  17. package/src/lib/admin/diff/configuration-diff.component.html +24 -0
  18. package/src/lib/admin/diff/configuration-diff.component.scss +16 -0
  19. package/src/lib/admin/diff/configuration-diff.component.ts +552 -0
  20. package/src/lib/admin/document-trace/Timeline.ts +45 -0
  21. package/src/lib/admin/document-trace/_timeline-theme.scss +70 -0
  22. package/src/lib/admin/document-trace/document-trace.component.html +96 -0
  23. package/src/lib/admin/document-trace/document-trace.component.scss +16 -0
  24. package/src/lib/admin/document-trace/document-trace.component.ts +526 -0
  25. package/src/lib/admin/document-trace/reassign.dialog.html +24 -0
  26. package/src/lib/admin/document-trace/reassign.dialog.ts +34 -0
  27. package/src/lib/admin/document-trace/trace-element.component.html +55 -0
  28. package/src/lib/admin/document-trace/trace-element.component.scss +23 -0
  29. package/src/lib/admin/document-trace/trace-element.component.ts +139 -0
  30. package/src/lib/admin/form/form.resolve.service.ts +13 -0
  31. package/src/lib/admin/form/form.service.ts +49 -0
  32. package/src/lib/admin/form/workflow/node-ref.ts +8 -0
  33. package/src/lib/admin/form/workflow/node.component.html +36 -0
  34. package/src/lib/admin/form/workflow/node.component.scss +4 -0
  35. package/src/lib/admin/form/workflow/node.component.ts +129 -0
  36. package/src/lib/admin/form/workflow/role-node.component.html +40 -0
  37. package/src/lib/admin/form/workflow/role-node.component.ts +66 -0
  38. package/src/lib/admin/form/workflow/tools.component.exp.ts +13 -0
  39. package/src/lib/admin/form/workflow/tools.component.html +1 -0
  40. package/src/lib/admin/form/workflow/workflow.component.html +66 -0
  41. package/src/lib/admin/form/workflow/workflow.component.scss +57 -0
  42. package/src/lib/admin/form/workflow/workflow.component.ts +438 -0
  43. package/src/lib/admin/indices/manage-cube-index.component.html +35 -0
  44. package/src/lib/admin/indices/manage-cube-index.component.scss +16 -0
  45. package/src/lib/admin/indices/manage-cube-index.component.ts +155 -0
  46. package/src/lib/admin/patterns/patterns.component.html +70 -0
  47. package/src/lib/admin/patterns/patterns.component.ts +166 -0
  48. package/src/lib/admin/permissions/permissions.component.html +21 -0
  49. package/src/lib/admin/permissions/permissions.component.scss +7 -0
  50. package/src/lib/admin/permissions/permissions.component.ts +89 -0
  51. package/src/lib/admin/positions/positions-popup.component.html +23 -0
  52. package/src/lib/admin/positions/positions-popup.component.ts +68 -0
  53. package/src/lib/admin/positions/positions.component.html +150 -0
  54. package/src/lib/admin/positions/positions.component.scss +20 -0
  55. package/src/lib/admin/positions/positions.component.ts +464 -0
  56. package/src/lib/admin/profiler/assign.component.html +14 -0
  57. package/src/lib/admin/profiler/outofoffice.component.html +64 -0
  58. package/src/lib/admin/profiler/outofoffice.component.ts +146 -0
  59. package/src/lib/admin/profiler/profiler.component.html +110 -0
  60. package/src/lib/admin/profiler/profiler.component.scss +23 -0
  61. package/src/lib/admin/profiler/profiler.component.ts +302 -0
  62. package/src/lib/admin/utility-ref.ts +44 -0
  63. package/src/lib/admin/utility-wrapper.component.ts +52 -0
  64. package/src/lib/admin/utility.pane.component.ts +49 -0
  65. package/src/lib/app.component.ts +90 -0
  66. package/src/lib/bizdoc.module.ts +82 -0
  67. package/src/lib/browse/_browse-theme.scss +86 -0
  68. package/src/lib/browse/browse-items.component.html +171 -0
  69. package/src/lib/browse/browse-items.component.scss +52 -0
  70. package/src/lib/browse/browse-items.component.ts +460 -0
  71. package/src/lib/browse/browse.mobile.component.html +33 -0
  72. package/src/lib/browse/browse.mobile.component.ts +90 -0
  73. package/src/lib/browse/browse.pane.component.html +43 -0
  74. package/src/lib/browse/browse.pane.component.scss +4 -0
  75. package/src/lib/browse/browse.pane.component.ts +141 -0
  76. package/src/lib/browse/expanded-item/expanded-item.component.html +38 -0
  77. package/src/lib/browse/expanded-item/expanded-item.component.scss +35 -0
  78. package/src/lib/browse/expanded-item/expanded-item.component.ts +339 -0
  79. package/src/lib/browse/filter/filter.component.html +50 -0
  80. package/src/lib/browse/filter/filter.component.scss +10 -0
  81. package/src/lib/browse/filter/filter.component.ts +156 -0
  82. package/src/lib/browse/folders-menu.component.html +20 -0
  83. package/src/lib/browse/folders-menu.component.scss +15 -0
  84. package/src/lib/browse/folders-menu.component.ts +42 -0
  85. package/src/lib/chat/_chat-theme.scss +95 -0
  86. package/src/lib/chat/chat-info.ts +74 -0
  87. package/src/lib/chat/chat-pool.component.exp.ts +117 -0
  88. package/src/lib/chat/chat-pool.component.html +13 -0
  89. package/src/lib/chat/chat-pool.component.scss +10 -0
  90. package/src/lib/chat/chat.mobile.component.html +6 -0
  91. package/src/lib/chat/chat.mobile.component.scss +8 -0
  92. package/src/lib/chat/chat.mobile.component.ts +18 -0
  93. package/src/lib/chat/chat.service.ts +128 -0
  94. package/src/lib/chat/contacts.component.html +37 -0
  95. package/src/lib/chat/contacts.component.scss +49 -0
  96. package/src/lib/chat/contacts.component.ts +88 -0
  97. package/src/lib/chat/contacts.pane.component.ts +25 -0
  98. package/src/lib/chat/conversation.component.html +28 -0
  99. package/src/lib/chat/conversation.component.scss +14 -0
  100. package/src/lib/chat/conversation.component.ts +186 -0
  101. package/src/lib/chat/conversation.pane.component.ts +55 -0
  102. package/src/lib/compose/_compose-theme.scss +63 -0
  103. package/src/lib/compose/action/action-picker.component.html +25 -0
  104. package/src/lib/compose/action/action-picker.component.scss +4 -0
  105. package/src/lib/compose/action/action-picker.component.ts +72 -0
  106. package/src/lib/compose/action/action-ref.ts +19 -0
  107. package/src/lib/compose/action/action.base.ts +58 -0
  108. package/src/lib/compose/action/action.dialog.html +17 -0
  109. package/src/lib/compose/action/action.dialog.scss +1 -0
  110. package/src/lib/compose/action/action.dialog.ts +57 -0
  111. package/src/lib/compose/action/action.pane.dialog.exp.ts +77 -0
  112. package/src/lib/compose/action/action.pane.dialog.html +12 -0
  113. package/src/lib/compose/action/assign-action.component.html +23 -0
  114. package/src/lib/compose/action/assign-action.component.ts +57 -0
  115. package/src/lib/compose/action/moveto-action.component.html +33 -0
  116. package/src/lib/compose/action/moveto-action.component.ts +77 -0
  117. package/src/lib/compose/action/return-action.component.html +13 -0
  118. package/src/lib/compose/action/return-action.component.ts +42 -0
  119. package/src/lib/compose/attachments/attachments.component.html +23 -0
  120. package/src/lib/compose/attachments/attachments.component.scss +21 -0
  121. package/src/lib/compose/attachments/attachments.component.ts +114 -0
  122. package/src/lib/compose/attachments/preview/attachment-preview.component.html +17 -0
  123. package/src/lib/compose/attachments/preview/attachment-preview.component.scss +36 -0
  124. package/src/lib/compose/attachments/preview/attachment-preview.component.ts +140 -0
  125. package/src/lib/compose/attachments/progress-button.directive.ts +18 -0
  126. package/src/lib/compose/can-deactivate-changes.service.ts +22 -0
  127. package/src/lib/compose/comments/_comments-theme.scss +82 -0
  128. package/src/lib/compose/comments/comment.component.html +36 -0
  129. package/src/lib/compose/comments/comment.component.ts +160 -0
  130. package/src/lib/compose/comments/comments.component.html +27 -0
  131. package/src/lib/compose/comments/comments.component.scss +33 -0
  132. package/src/lib/compose/comments/comments.component.ts +220 -0
  133. package/src/lib/compose/comments/comments.pane.component.ts +41 -0
  134. package/src/lib/compose/comments/edit-comment.component.html +3 -0
  135. package/src/lib/compose/comments/edit-comment.component.ts +35 -0
  136. package/src/lib/compose/comments/edits.component.html +7 -0
  137. package/src/lib/compose/comments/edits.component.ts +33 -0
  138. package/src/lib/compose/comments/quick-comment.component.exp.ts +60 -0
  139. package/src/lib/compose/comments/quick-comment.component.html +5 -0
  140. package/src/lib/compose/comments/quick-comment.component.scss +11 -0
  141. package/src/lib/compose/comments/votes.component.html +7 -0
  142. package/src/lib/compose/comments/votes.component.ts +38 -0
  143. package/src/lib/compose/compose-resolve.service.ts +42 -0
  144. package/src/lib/compose/compose.mobile.component.html +67 -0
  145. package/src/lib/compose/compose.mobile.component.scss +14 -0
  146. package/src/lib/compose/compose.mobile.component.ts +97 -0
  147. package/src/lib/compose/compose.pane.component.html +68 -0
  148. package/src/lib/compose/compose.pane.component.scss +6 -0
  149. package/src/lib/compose/compose.pane.component.ts +188 -0
  150. package/src/lib/compose/copy/copy.dialog.html +21 -0
  151. package/src/lib/compose/copy/copy.dialog.ts +40 -0
  152. package/src/lib/compose/dismiss.service.ts +26 -0
  153. package/src/lib/compose/document-resolver.service.ts +13 -0
  154. package/src/lib/compose/document.component.html +5 -0
  155. package/src/lib/compose/document.component.ts +41 -0
  156. package/src/lib/compose/document.mobile.component.ts +20 -0
  157. package/src/lib/compose/document.pane.component.ts +22 -0
  158. package/src/lib/compose/events/events.component.html +6 -0
  159. package/src/lib/compose/events/events.component.ts +21 -0
  160. package/src/lib/compose/form-ref.ts +53 -0
  161. package/src/lib/compose/form-selector/form-selector.sheet.html +10 -0
  162. package/src/lib/compose/form-selector/form-selector.sheet.ts +84 -0
  163. package/src/lib/compose/form.component.html +13 -0
  164. package/src/lib/compose/form.component.ts +456 -0
  165. package/src/lib/compose/maps/maps.component.html +3 -0
  166. package/src/lib/compose/maps/maps.component.ts +22 -0
  167. package/src/lib/compose/new-menu.component.html +13 -0
  168. package/src/lib/compose/new-menu.component.scss +11 -0
  169. package/src/lib/compose/new-menu.component.ts +106 -0
  170. package/src/lib/compose/privilage.directive.ts +43 -0
  171. package/src/lib/compose/recipient-resolver.service.ts +15 -0
  172. package/src/lib/compose/save-changes.dialog.html +13 -0
  173. package/src/lib/compose/save-changes.dialog.ts +10 -0
  174. package/src/lib/compose/state.component.ts +29 -0
  175. package/src/lib/compose/tag/tags.component.html +22 -0
  176. package/src/lib/compose/tag/tags.component.scss +1 -0
  177. package/src/lib/compose/tag/tags.component.ts +83 -0
  178. package/src/lib/compose/trace/flow.component.html +19 -0
  179. package/src/lib/compose/trace/flow.component.scss +7 -0
  180. package/src/lib/compose/trace/flow.component.ts +747 -0
  181. package/src/lib/compose/trace/people.component.ts +33 -0
  182. package/src/lib/compose/trace/trace.base.ts +72 -0
  183. package/src/lib/compose/trace/trace.component.html +57 -0
  184. package/src/lib/compose/trace/trace.component.scss +21 -0
  185. package/src/lib/compose/trace/trace.component.ts +388 -0
  186. package/src/lib/compose/trace/trace.pane.component.html +3 -0
  187. package/src/lib/compose/trace/trace.pane.component.scss +5 -0
  188. package/src/lib/compose/trace/trace.pane.component.ts +47 -0
  189. package/src/lib/compose/version-compare/_compare-theme.scss +147 -0
  190. package/src/lib/compose/version-compare/version-compare.component.ts +49 -0
  191. package/src/lib/compose/version-compare/version-compare.directive.ts +292 -0
  192. package/src/lib/compose/version-compare/version.pane.component.html +19 -0
  193. package/src/lib/compose/version-compare/version.pane.component.scss +8 -0
  194. package/src/lib/compose/version-compare/version.pane.component.ts +53 -0
  195. package/src/lib/core/NgComponentOutlet.ts +31 -0
  196. package/src/lib/core/account.service.ts +30 -0
  197. package/src/lib/core/animated-icon/animated-icon.directive.html +3 -0
  198. package/src/lib/core/animated-icon/animated-icon.directive.scss +12 -0
  199. package/src/lib/core/animated-icon/animated-icon.directive.ts +41 -0
  200. package/src/lib/core/animations.ts +207 -0
  201. package/src/lib/core/authentication.ts +7 -0
  202. package/src/lib/core/avatar/_avatar-theme.scss +60 -0
  203. package/src/lib/core/avatar/avatar.component.html +6 -0
  204. package/src/lib/core/avatar/avatar.component.ts +108 -0
  205. package/src/lib/core/base.ts +43 -0
  206. package/src/lib/core/can-activate.service.exp.ts +31 -0
  207. package/src/lib/core/colors.ts +322 -0
  208. package/src/lib/core/component-factory-resolver.ts +67 -0
  209. package/src/lib/core/configuration.ts +124 -0
  210. package/src/lib/core/controls/_daterange-theme.scss +16 -0
  211. package/src/lib/core/controls/address.input.ts +173 -0
  212. package/src/lib/core/controls/auto-complete.input.ts +218 -0
  213. package/src/lib/core/controls/combination-picker-body.html +34 -0
  214. package/src/lib/core/controls/combination-picker-body.scss +40 -0
  215. package/src/lib/core/controls/combination-picker-body.ts +194 -0
  216. package/src/lib/core/controls/combination-picker.html +6 -0
  217. package/src/lib/core/controls/combination-picker.scss +9 -0
  218. package/src/lib/core/controls/combination-picker.ts +243 -0
  219. package/src/lib/core/controls/combination-pool.html +10 -0
  220. package/src/lib/core/controls/combination-pool.scss +35 -0
  221. package/src/lib/core/controls/combination-pool.ts +92 -0
  222. package/src/lib/core/controls/file.input.html +50 -0
  223. package/src/lib/core/controls/file.input.scss +41 -0
  224. package/src/lib/core/controls/file.input.ts +400 -0
  225. package/src/lib/core/controls/select.input.ts +210 -0
  226. package/src/lib/core/controls/time-picker.html +4 -0
  227. package/src/lib/core/controls/time-picker.ts +199 -0
  228. package/src/lib/core/controls/timespan.input.ts +175 -0
  229. package/src/lib/core/datasource.service.ts +80 -0
  230. package/src/lib/core/decorators.ts +56 -0
  231. package/src/lib/core/firebase.service.ts +55 -0
  232. package/src/lib/core/functions.ts +246 -0
  233. package/src/lib/core/guide/_guide-theme.scss +197 -0
  234. package/src/lib/core/guide/guide.component.html +20 -0
  235. package/src/lib/core/guide/guide.component.ts +222 -0
  236. package/src/lib/core/guide/guide.service.ts +108 -0
  237. package/src/lib/core/guide/help-tip.component.ts +43 -0
  238. package/src/lib/core/http.interceptor.ts +80 -0
  239. package/src/lib/core/hub.service.ts +202 -0
  240. package/src/lib/core/identity/identity.component.html +2 -0
  241. package/src/lib/core/identity/identity.component.ts +57 -0
  242. package/src/lib/core/info/attachment-info.service.ts +46 -0
  243. package/src/lib/core/info/document-info.service.ts +15 -0
  244. package/src/lib/core/info/location-info.component.scss +13 -0
  245. package/src/lib/core/info/location-info.component.ts +64 -0
  246. package/src/lib/core/info/map-info.ts +33 -0
  247. package/src/lib/core/layout/autocomplete.field.ts +41 -0
  248. package/src/lib/core/layout/checkbox.field.ts +21 -0
  249. package/src/lib/core/layout/checkbox.scss +13 -0
  250. package/src/lib/core/layout/checkbox.ts +21 -0
  251. package/src/lib/core/layout/date-range.field.ts +32 -0
  252. package/src/lib/core/layout/date.field.ts +26 -0
  253. package/src/lib/core/layout/expression.field.ts +26 -0
  254. package/src/lib/core/layout/file.field.ts +27 -0
  255. package/src/lib/core/layout/html.field.ts +28 -0
  256. package/src/lib/core/layout/input.base.ts +12 -0
  257. package/src/lib/core/layout/input.field.ts +43 -0
  258. package/src/lib/core/layout/layout.component.scss +9 -0
  259. package/src/lib/core/layout/layout.component.ts +189 -0
  260. package/src/lib/core/layout/numeric.field.ts +24 -0
  261. package/src/lib/core/layout/select.field.ts +52 -0
  262. package/src/lib/core/layout/switch.field.ts +21 -0
  263. package/src/lib/core/layout/textarea.field.ts +21 -0
  264. package/src/lib/core/layout/timespan.field.ts +25 -0
  265. package/src/lib/core/lottie-animation.ts +37 -0
  266. package/src/lib/core/mailbox.service.ts +471 -0
  267. package/src/lib/core/models.ts +685 -0
  268. package/src/lib/core/none.component.scss +26 -0
  269. package/src/lib/core/none.component.ts +28 -0
  270. package/src/lib/core/pipes/action.pipe.ts +18 -0
  271. package/src/lib/core/pipes/calendar.pipe.ts +84 -0
  272. package/src/lib/core/pipes/date-format.pipe.ts +12 -0
  273. package/src/lib/core/pipes/daterange.pipe.ts +45 -0
  274. package/src/lib/core/pipes/difference.pipe.ts +9 -0
  275. package/src/lib/core/pipes/duration-format.pipe.ts +42 -0
  276. package/src/lib/core/pipes/duration.pipe.ts +13 -0
  277. package/src/lib/core/pipes/form.pipe.ts +19 -0
  278. package/src/lib/core/pipes/join.pipe.ts +10 -0
  279. package/src/lib/core/pipes/role.pipe.ts +19 -0
  280. package/src/lib/core/pipes/sanitize-html.pipe.ts +10 -0
  281. package/src/lib/core/pipes/sort.pipe.ts +34 -0
  282. package/src/lib/core/pipes/state.pipe.ts +19 -0
  283. package/src/lib/core/pipes/time-ago.pipe.ts +59 -0
  284. package/src/lib/core/pipes/translate.pipe.ts +22 -0
  285. package/src/lib/core/pipes/type-value.pipe.ts +37 -0
  286. package/src/lib/core/pipes/user-name.pipe.ts +14 -0
  287. package/src/lib/core/popup/_popup-theme.scss +363 -0
  288. package/src/lib/core/popup/popup-ref.ts +19 -0
  289. package/src/lib/core/popup/popup.component.html +6 -0
  290. package/src/lib/core/popup/popup.component.ts +40 -0
  291. package/src/lib/core/popup/popup.service.ts +156 -0
  292. package/src/lib/core/popup/tooltip.directive.ts +58 -0
  293. package/src/lib/core/prompt/ask/ask.dialog.html +6 -0
  294. package/src/lib/core/prompt/ask/ask.dialog.ts +35 -0
  295. package/src/lib/core/prompt/mask/mask.component.html +1 -0
  296. package/src/lib/core/prompt/mask/mask.component.scss +14 -0
  297. package/src/lib/core/prompt/mask/mask.component.ts +15 -0
  298. package/src/lib/core/prompt.service.ts +81 -0
  299. package/src/lib/core/router.ts +31 -0
  300. package/src/lib/core/session.service.ts +265 -0
  301. package/src/lib/core/slots/_slots-theme.scss +139 -0
  302. package/src/lib/core/slots/extended-tab.component.exp.ts +35 -0
  303. package/src/lib/core/slots/extended-tab.component.html +0 -0
  304. package/src/lib/core/slots/intro.pane.component.exp.ts +23 -0
  305. package/src/lib/core/slots/intro.pane.component.html +22 -0
  306. package/src/lib/core/slots/intro.pane.component.scss +8 -0
  307. package/src/lib/core/slots/pane-ref.ts +188 -0
  308. package/src/lib/core/slots/router.directive.ts +53 -0
  309. package/src/lib/core/slots/router.service.ts +53 -0
  310. package/src/lib/core/slots/slot.component.exp.ts +49 -0
  311. package/src/lib/core/slots/slot.component.html +15 -0
  312. package/src/lib/core/slots/slot.component.scss +18 -0
  313. package/src/lib/core/slots/slots.component.html +68 -0
  314. package/src/lib/core/slots/slots.component.scss +163 -0
  315. package/src/lib/core/slots/slots.component.ts +1260 -0
  316. package/src/lib/core/tagging/documents.component.html +11 -0
  317. package/src/lib/core/tagging/documents.component.ts +19 -0
  318. package/src/lib/core/tagging/edit-input.component.html +41 -0
  319. package/src/lib/core/tagging/edit-input.component.scss +21 -0
  320. package/src/lib/core/tagging/edit-input.component.ts +211 -0
  321. package/src/lib/core/tagging/emoji.component.ts +23 -0
  322. package/src/lib/core/tagging/tagging-item.directive.ts +34 -0
  323. package/src/lib/core/tagging/tagging.component-base.ts +29 -0
  324. package/src/lib/core/tagging/tagging.component.scss +22 -0
  325. package/src/lib/core/tagging/tagging.directive.ts +130 -0
  326. package/src/lib/core/tagging/tagging.pipe.ts +76 -0
  327. package/src/lib/core/tagging/users.component.html +13 -0
  328. package/src/lib/core/tagging/users.component.ts +28 -0
  329. package/src/lib/core/translate.service.ts +128 -0
  330. package/src/lib/core/translations.ts +1138 -0
  331. package/src/lib/core/window-title.service.ts +54 -0
  332. package/src/lib/cube/accum/accum.component.html +16 -0
  333. package/src/lib/cube/accum/accum.component.ts +264 -0
  334. package/src/lib/cube/chart/chart.component.html +32 -0
  335. package/src/lib/cube/chart/chart.component.ts +344 -0
  336. package/src/lib/cube/cube-info.service.ts +135 -0
  337. package/src/lib/cube/cube-menu.component.html +13 -0
  338. package/src/lib/cube/cube-menu.component.ts +18 -0
  339. package/src/lib/cube/cube-view.component.html +66 -0
  340. package/src/lib/cube/cube-view.component.ts +186 -0
  341. package/src/lib/cube/cube.service.ts +495 -0
  342. package/src/lib/cube/declarations.ts +24 -0
  343. package/src/lib/cube/explore/document-item.component.ts +28 -0
  344. package/src/lib/cube/explore/explore-item.component.scss +4 -0
  345. package/src/lib/cube/explore/explore-item.component.ts +23 -0
  346. package/src/lib/cube/explore/explore-items.component.html +25 -0
  347. package/src/lib/cube/explore/explore-items.component.scss +7 -0
  348. package/src/lib/cube/explore/explore-items.component.ts +185 -0
  349. package/src/lib/cube/explore/explore.pane.component.html +12 -0
  350. package/src/lib/cube/explore/explore.pane.component.ts +78 -0
  351. package/src/lib/cube/explore/item-resolver.service.ts +24 -0
  352. package/src/lib/cube/explore/item.pane.component.html +3 -0
  353. package/src/lib/cube/explore/item.pane.component.ts +23 -0
  354. package/src/lib/cube/filter/filter-tags.component.exp.ts +70 -0
  355. package/src/lib/cube/filter/filter-tags.component.html +11 -0
  356. package/src/lib/cube/filter/filter-tags.component.scss +0 -0
  357. package/src/lib/cube/filter/filter-tags.component.spec.ts +25 -0
  358. package/src/lib/cube/filter/filter.component.html +25 -0
  359. package/src/lib/cube/filter/filter.component.scss +8 -0
  360. package/src/lib/cube/filter/filter.component.ts +116 -0
  361. package/src/lib/cube/grid/grid.component.html +29 -0
  362. package/src/lib/cube/grid/grid.component.scss +10 -0
  363. package/src/lib/cube/grid/grid.component.ts +223 -0
  364. package/src/lib/cube/grid/spreadsheet.component.ts +382 -0
  365. package/src/lib/cube/matrix/_matrix.theme.scss +86 -0
  366. package/src/lib/cube/matrix/matrix.base.ts +149 -0
  367. package/src/lib/cube/matrix/matrix.mobile.component.html +28 -0
  368. package/src/lib/cube/matrix/matrix.mobile.component.ts +60 -0
  369. package/src/lib/cube/matrix/matrix.pane.component.html +34 -0
  370. package/src/lib/cube/matrix/matrix.pane.component.scss +10 -0
  371. package/src/lib/cube/matrix/matrix.pane.component.ts +83 -0
  372. package/src/lib/cube/matrix/popup.component.html +32 -0
  373. package/src/lib/cube/matrix/popup.component.scss +7 -0
  374. package/src/lib/cube/matrix/popup.component.ts +55 -0
  375. package/src/lib/cube/matrix/table.component.html +46 -0
  376. package/src/lib/cube/matrix/table.component.scss +25 -0
  377. package/src/lib/cube/matrix/table.component.ts +517 -0
  378. package/src/lib/cube/parallel/item.ts +47 -0
  379. package/src/lib/cube/parallel/parallel.component.html +22 -0
  380. package/src/lib/cube/parallel/parallel.component.scss +13 -0
  381. package/src/lib/cube/parallel/parallel.component.ts +166 -0
  382. package/src/lib/cube/pivot/pivot.component.html +14 -0
  383. package/src/lib/cube/pivot/pivot.component.ts +518 -0
  384. package/src/lib/cube/sum/_sum.theme.scss +63 -0
  385. package/src/lib/cube/sum/sum.component.html +60 -0
  386. package/src/lib/cube/sum/sum.component.scss +94 -0
  387. package/src/lib/cube/sum/sum.component.ts +437 -0
  388. package/src/lib/cube/view-base.ts +82 -0
  389. package/src/lib/cube/view.mobile.component.html +38 -0
  390. package/src/lib/cube/view.mobile.component.scss +9 -0
  391. package/src/lib/cube/view.mobile.component.ts +116 -0
  392. package/src/lib/cube/view.pane.component.html +24 -0
  393. package/src/lib/cube/view.pane.component.scss +12 -0
  394. package/src/lib/cube/view.pane.component.ts +80 -0
  395. package/src/lib/dashboard/_table.widget.scss +19 -0
  396. package/src/lib/dashboard/actions/actions.widget.html +6 -0
  397. package/src/lib/dashboard/actions/actions.widget.ts +118 -0
  398. package/src/lib/dashboard/cube/accum-cube.widget.html +15 -0
  399. package/src/lib/dashboard/cube/accum-cube.widget.ts +154 -0
  400. package/src/lib/dashboard/cube/compare.widget.ts +219 -0
  401. package/src/lib/dashboard/cube/cube-analysis.base.ts +113 -0
  402. package/src/lib/dashboard/cube/cube-analysis.widget.ts +44 -0
  403. package/src/lib/dashboard/cube/cube-chart.widget.html +7 -0
  404. package/src/lib/dashboard/cube/cube-chart.widget.ts +144 -0
  405. package/src/lib/dashboard/cube/documents.widget.html +19 -0
  406. package/src/lib/dashboard/cube/documents.widget.ts +57 -0
  407. package/src/lib/dashboard/cube/filter/filter.component.html +3 -0
  408. package/src/lib/dashboard/cube/filter/filter.component.ts +53 -0
  409. package/src/lib/dashboard/cube/gauge.component.exp.ts +18 -0
  410. package/src/lib/dashboard/dashboard.component.html +18 -0
  411. package/src/lib/dashboard/dashboard.component.scss +36 -0
  412. package/src/lib/dashboard/dashboard.component.ts +53 -0
  413. package/src/lib/dashboard/dashboard.pane.component.ts +19 -0
  414. package/src/lib/dashboard/recents/recents.widget.html +32 -0
  415. package/src/lib/dashboard/recents/recents.widget.scss +9 -0
  416. package/src/lib/dashboard/recents/recents.widget.ts +89 -0
  417. package/src/lib/dashboard/score/activity.widget.html +9 -0
  418. package/src/lib/dashboard/score/activity.widget.ts +175 -0
  419. package/src/lib/dashboard/score/compare-groups.widget.html +8 -0
  420. package/src/lib/dashboard/score/compare-groups.widget.ts +212 -0
  421. package/src/lib/dashboard/score/peers-performance.widget.html +23 -0
  422. package/src/lib/dashboard/score/peers-performance.widget.ts +254 -0
  423. package/src/lib/dashboard/score/pending-results.widget.html +31 -0
  424. package/src/lib/dashboard/score/pending-results.widget.ts +52 -0
  425. package/src/lib/dashboard/score/personal-score.widget.html +18 -0
  426. package/src/lib/dashboard/score/personal-score.widget.ts +229 -0
  427. package/src/lib/dashboard/widget-item.component.ts +92 -0
  428. package/src/lib/dashboard/widget-ref.ts +20 -0
  429. package/src/lib/desktop.module.ts +98 -0
  430. package/src/lib/home/_home-theme.scss +174 -0
  431. package/src/lib/home/about/about.dialog.html +19 -0
  432. package/src/lib/home/about/about.dialog.ts +18 -0
  433. package/src/lib/home/home-base.component.ts +100 -0
  434. package/src/lib/home/home.desktop.component.html +92 -0
  435. package/src/lib/home/home.desktop.component.scss +66 -0
  436. package/src/lib/home/home.desktop.component.ts +211 -0
  437. package/src/lib/home/home.mobile.component.html +81 -0
  438. package/src/lib/home/home.mobile.component.scss +49 -0
  439. package/src/lib/home/home.mobile.component.ts +105 -0
  440. package/src/lib/home/notifications/notifications.component.html +18 -0
  441. package/src/lib/home/notifications/notifications.component.scss +36 -0
  442. package/src/lib/home/notifications/notifications.component.ts +55 -0
  443. package/src/lib/home/options/_options-theme.scss +11 -0
  444. package/src/lib/home/options/options.component.html +41 -0
  445. package/src/lib/home/options/options.component.scss +16 -0
  446. package/src/lib/home/options/options.component.ts +95 -0
  447. package/src/lib/home/outofoffice/outofoffice.component.html +5 -0
  448. package/src/lib/home/outofoffice/outofoffice.component.scss +10 -0
  449. package/src/lib/home/outofoffice/outofoffice.component.ts +33 -0
  450. package/src/lib/home/progress-bar.directive.exp.ts +24 -0
  451. package/src/lib/home/search.service.ts +87 -0
  452. package/src/lib/home/sign/sign.component.html +15 -0
  453. package/src/lib/home/sign/sign.component.ts +42 -0
  454. package/src/lib/home/submenu.directive.exp.ts +43 -0
  455. package/src/lib/home/tools.component.html +27 -0
  456. package/src/lib/home/tools.component.scss +15 -0
  457. package/src/lib/home/tools.component.ts +72 -0
  458. package/src/lib/home/welcome/welcome.dialog.exp.ts +35 -0
  459. package/src/lib/home/welcome/welcome.dialog.html +14 -0
  460. package/src/lib/impersonate/impersonate.component.html +17 -0
  461. package/src/lib/impersonate/impersonate.component.scss +3 -0
  462. package/src/lib/impersonate/impersonate.component.spec.ts +24 -0
  463. package/src/lib/impersonate/impersonate.component.ts +60 -0
  464. package/src/lib/mobile.module.ts +39 -0
  465. package/src/lib/modules/chart.module.ts +53 -0
  466. package/src/lib/modules/circular-gauge.module.ts +10 -0
  467. package/src/lib/modules/date.adapter.ts +31 -0
  468. package/src/lib/modules/datepicker.intl.ts +35 -0
  469. package/src/lib/modules/dayjs.module.ts +32 -0
  470. package/src/lib/modules/diagram.module.ts +25 -0
  471. package/src/lib/modules/gantt.module.ts +12 -0
  472. package/src/lib/modules/grid.module.ts +16 -0
  473. package/src/lib/modules/material.module.ts +104 -0
  474. package/src/lib/modules/paginator.intl.ts +16 -0
  475. package/src/lib/modules/pivot.module.ts +23 -0
  476. package/src/lib/modules/schedule.module.ts +12 -0
  477. package/src/lib/modules/spreadsheet.module.ts +21 -0
  478. package/src/lib/modules/stepper.intl.ts +12 -0
  479. package/src/lib/modules/texteditor.module.ts +16 -0
  480. package/src/lib/notifications/filter.component.html +6 -0
  481. package/src/lib/notifications/filter.component.ts +16 -0
  482. package/src/lib/notifications/notifications-table.component.html +54 -0
  483. package/src/lib/notifications/notifications-table.component.scss +14 -0
  484. package/src/lib/notifications/notifications-table.component.ts +94 -0
  485. package/src/lib/notifications/notifications.component-base.ts +49 -0
  486. package/src/lib/notifications/notifications.mobile.component.ts +13 -0
  487. package/src/lib/notifications/notifications.pane.component.ts +16 -0
  488. package/src/lib/notifications/notifications.service.ts +66 -0
  489. package/src/lib/notifications/types/commented.notification.html +14 -0
  490. package/src/lib/notifications/types/commented.notification.ts +51 -0
  491. package/src/lib/notifications/types/cube-anomaly.notification.ts +51 -0
  492. package/src/lib/notifications/types/escalated.notification.ts +36 -0
  493. package/src/lib/notifications/types/liked.notification.ts +49 -0
  494. package/src/lib/notifications/types/long-running-task.notification.ts +23 -0
  495. package/src/lib/notifications/types/notification-base.ts +37 -0
  496. package/src/lib/notifications/types/nudge.notification.ts +32 -0
  497. package/src/lib/notifications/types/state-changed.notification.ts +27 -0
  498. package/src/lib/notifications/types/tagged.notification.ts +46 -0
  499. package/src/lib/notifications/types/text.notification.ts +13 -0
  500. package/src/lib/notifications/types/upcoming-event.notification.ts +25 -0
  501. package/src/lib/options/options.component.html +148 -0
  502. package/src/lib/options/options.component.scss +19 -0
  503. package/src/lib/options/options.component.ts +262 -0
  504. package/src/lib/options/options.service.ts +30 -0
  505. package/src/lib/reports/arguments-component.ts +73 -0
  506. package/src/lib/reports/cube/documents.component.ts +50 -0
  507. package/src/lib/reports/cube/grid-documents.component.html +25 -0
  508. package/src/lib/reports/cube/grid-documents.component.ts +67 -0
  509. package/src/lib/reports/cube/table-documents.component.css +18 -0
  510. package/src/lib/reports/cube/table-documents.component.html +30 -0
  511. package/src/lib/reports/cube/table-documents.component.ts +46 -0
  512. package/src/lib/reports/cube/usage-args.component.html +3 -0
  513. package/src/lib/reports/cube/usage-args.component.ts +55 -0
  514. package/src/lib/reports/cube/usage-base.ts +113 -0
  515. package/src/lib/reports/cube/usage-browse.component.exp.ts +93 -0
  516. package/src/lib/reports/cube/usage-browse.component.html +27 -0
  517. package/src/lib/reports/cube/usage-browse.component.scss +24 -0
  518. package/src/lib/reports/cube/usage-chart.component.html +11 -0
  519. package/src/lib/reports/cube/usage-chart.component.ts +386 -0
  520. package/src/lib/reports/cube/usage-pivot.component.html +19 -0
  521. package/src/lib/reports/cube/usage-pivot.component.ts +266 -0
  522. package/src/lib/reports/cube/usage.component.ts +34 -0
  523. package/src/lib/reports/report-ref.ts +41 -0
  524. package/src/lib/reports/report-viewer.component.html +2 -0
  525. package/src/lib/reports/report-viewer.component.scss +12 -0
  526. package/src/lib/reports/report-viewer.component.ts +159 -0
  527. package/src/lib/reports/report.mobile.component.html +17 -0
  528. package/src/lib/reports/report.mobile.component.scss +7 -0
  529. package/src/lib/reports/report.mobile.component.ts +117 -0
  530. package/src/lib/reports/report.pane.component.html +9 -0
  531. package/src/lib/reports/report.pane.component.scss +9 -0
  532. package/src/lib/reports/report.pane.component.ts +88 -0
  533. package/src/lib/reports/reports-menu.component.html +9 -0
  534. package/src/lib/reports/reports-menu.component.ts +20 -0
  535. package/src/lib/reports/substitution/substitution.component.html +26 -0
  536. package/src/lib/reports/substitution/substitution.component.ts +34 -0
  537. package/src/lib/reports/table/table-view.component.html +8 -0
  538. package/src/lib/reports/table/table-view.component.scss +0 -0
  539. package/src/lib/reports/table/table-view.component.ts +33 -0
  540. package/src/lib/reports/tasks/tasks.component.html +21 -0
  541. package/src/lib/reports/tasks/tasks.component.ts +115 -0
  542. package/src/lib/reports/timeline/timeline.component.exp.ts +225 -0
  543. package/src/lib/reports/timeline/timeline.component.html +9 -0
  544. package/src/lib/routes.desktop.ts +196 -0
  545. package/src/lib/routes.mobile.ts +70 -0
  546. package/src/lib/scheduler/schedule.component.html +36 -0
  547. package/src/lib/scheduler/schedule.component.scss +13 -0
  548. package/src/lib/scheduler/schedule.component.ts +158 -0
  549. package/src/lib/scheduler/scheduler.mobile.component.ts +30 -0
  550. package/src/lib/scheduler/scheduler.pane.component.ts +49 -0
  551. package/src/lib/shared.module.ts +374 -0
  552. package/src/lib/system.module.ts +77 -0
  553. package/src/lib/views/_views.theme.scss +18 -0
  554. package/src/lib/views/cube/chart.component.html +24 -0
  555. package/src/lib/views/cube/chart.component.ts +88 -0
  556. package/src/lib/views/cube/cube-base.ts +126 -0
  557. package/src/lib/views/cube/explore.component.html +33 -0
  558. package/src/lib/views/cube/explore.component.ts +82 -0
  559. package/src/lib/views/cube/filter.component.exp.ts +66 -0
  560. package/src/lib/views/cube/filter.component.html +25 -0
  561. package/src/lib/views/cube/matrix.component.html +42 -0
  562. package/src/lib/views/cube/matrix.component.scss +3 -0
  563. package/src/lib/views/cube/matrix.component.ts +106 -0
  564. package/src/lib/views/cube/parallel.component.html +10 -0
  565. package/src/lib/views/cube/parallel.component.scss +13 -0
  566. package/src/lib/views/cube/parallel.component.ts +63 -0
  567. package/src/lib/views/cube/pivot.component.html +8 -0
  568. package/src/lib/views/cube/pivot.component.ts +62 -0
  569. package/src/lib/views/cube/sum.component.html +30 -0
  570. package/src/lib/views/cube/sum.component.scss +3 -0
  571. package/src/lib/views/cube/sum.component.ts +71 -0
  572. package/src/lib/views/cube/view.component.html +34 -0
  573. package/src/lib/views/cube/view.component.scss +12 -0
  574. package/src/lib/views/cube/view.component.ts +103 -0
  575. package/src/lib/views/document-view-ref.ts +34 -0
  576. package/src/lib/views/timeline/timeline.component.exp.ts +333 -0
  577. package/src/lib/views/timeline/timeline.component.html +6 -0
  578. package/src/lib/views/timeline/timeline.component.scss +6 -0
  579. package/src/lib/views/view-item.component.ts +67 -0
  580. package/src/lib/views/views.component.html +4 -0
  581. package/src/lib/views/views.component.scss +33 -0
  582. package/src/lib/views/views.component.ts +29 -0
  583. package/src/lib/views/views.mobile.component.ts +19 -0
  584. package/src/lib/views/views.pane.component.ts +33 -0
  585. package/src/polyfills.ts +81 -0
  586. package/src/public-api.ts +149 -0
  587. package/src/styles/_app.scss +317 -0
  588. package/src/styles/_emoji-mart.scss +504 -0
  589. package/src/styles/_syncfusion-base-definitions.scss +63 -0
  590. package/src/styles/_syncfusion-dark-definitions.scss +21 -0
  591. package/src/styles/_syncfusion-dark.scss +2 -0
  592. package/src/styles/_syncfusion-icons.scss +57 -0
  593. package/src/styles/_syncfusion-light-definitions.scss +23 -0
  594. package/src/styles/_syncfusion-light.scss +2 -0
  595. package/src/styles/_syncfusion.scss +21 -0
  596. package/src/styles/_xslt.scss +377 -0
  597. package/src/styles/brown.scss +14 -0
  598. package/src/styles/build-xslt.ps1 +2 -0
  599. package/src/styles/build.ps1 +26 -0
  600. package/src/styles/dark.scss +13 -0
  601. package/src/styles/deep-purple-light-blue.scss +20 -0
  602. package/src/styles/deep-purple-teal.scss +20 -0
  603. package/src/styles/default.scss +21 -0
  604. package/src/styles/diagram-icons.eot +0 -0
  605. package/src/styles/diagram-icons.ttf +0 -0
  606. package/src/styles/green.scss +13 -0
  607. package/src/styles/indigo.scss +13 -0
  608. package/src/styles/xslt.scss +21 -0
  609. package/src/styles/xslt.scss.map +1 -0
  610. package/src/test.ts +26 -0
  611. package/tsconfig.lib.json +26 -0
  612. package/tsconfig.lib.prod.json +10 -0
  613. package/tsconfig.spec.json +18 -0
  614. package/bizdoc-core.d.ts +0 -5
  615. package/esm2020/bizdoc-core.mjs +0 -5
  616. package/esm2020/lib/admin/admin-dismiss.service.mjs +0 -22
  617. package/esm2020/lib/admin/admin-menu.component.mjs +0 -27
  618. package/esm2020/lib/admin/core/ace.input.mjs +0 -147
  619. package/esm2020/lib/admin/core/color-picker.input.mjs +0 -208
  620. package/esm2020/lib/admin/core/search.input.mjs +0 -43
  621. package/esm2020/lib/admin/diff/configuration-diff.component.mjs +0 -558
  622. package/esm2020/lib/admin/document-trace/document-trace.component.mjs +0 -532
  623. package/esm2020/lib/admin/document-trace/reassign.dialog.mjs +0 -40
  624. package/esm2020/lib/admin/document-trace/timeline.mjs +0 -2
  625. package/esm2020/lib/admin/document-trace/trace-element.component.mjs +0 -123
  626. package/esm2020/lib/admin/form/form.resolve.service.mjs +0 -17
  627. package/esm2020/lib/admin/form/form.service.mjs +0 -43
  628. package/esm2020/lib/admin/form/workflow/node-ref.mjs +0 -8
  629. package/esm2020/lib/admin/form/workflow/node.component.mjs +0 -128
  630. package/esm2020/lib/admin/form/workflow/role-node.component.mjs +0 -90
  631. package/esm2020/lib/admin/form/workflow/workflow.component.mjs +0 -447
  632. package/esm2020/lib/admin/indices/manage-cube-index.component.mjs +0 -161
  633. package/esm2020/lib/admin/patterns/patterns.component.mjs +0 -179
  634. package/esm2020/lib/admin/permissions/permissions.component.mjs +0 -97
  635. package/esm2020/lib/admin/positions/positions-popup.component.mjs +0 -74
  636. package/esm2020/lib/admin/positions/positions.component.mjs +0 -460
  637. package/esm2020/lib/admin/profiler/outofoffice.component.mjs +0 -155
  638. package/esm2020/lib/admin/profiler/profiler.component.mjs +0 -289
  639. package/esm2020/lib/admin/utility-ref.mjs +0 -38
  640. package/esm2020/lib/admin/utility-wrapper.component.mjs +0 -51
  641. package/esm2020/lib/admin/utility.pane.component.mjs +0 -51
  642. package/esm2020/lib/app.component.mjs +0 -90
  643. package/esm2020/lib/bizdoc.module.mjs +0 -101
  644. package/esm2020/lib/browse/browse-items.component.mjs +0 -481
  645. package/esm2020/lib/browse/browse.mobile.component.mjs +0 -101
  646. package/esm2020/lib/browse/browse.pane.component.mjs +0 -149
  647. package/esm2020/lib/browse/expanded-item/expanded-item.component.mjs +0 -316
  648. package/esm2020/lib/browse/filter/filter.component.mjs +0 -164
  649. package/esm2020/lib/browse/folders-menu.component.mjs +0 -51
  650. package/esm2020/lib/chat/chat-info.mjs +0 -68
  651. package/esm2020/lib/chat/chat.mobile.component.mjs +0 -26
  652. package/esm2020/lib/chat/chat.service.mjs +0 -122
  653. package/esm2020/lib/chat/contacts.component.mjs +0 -103
  654. package/esm2020/lib/chat/contacts.pane.component.mjs +0 -29
  655. package/esm2020/lib/chat/conversation.component.mjs +0 -193
  656. package/esm2020/lib/chat/conversation.pane.component.mjs +0 -53
  657. package/esm2020/lib/compose/action/action-picker.component.mjs +0 -84
  658. package/esm2020/lib/compose/action/action-ref.mjs +0 -19
  659. package/esm2020/lib/compose/action/action.base.mjs +0 -49
  660. package/esm2020/lib/compose/action/action.dialog.mjs +0 -61
  661. package/esm2020/lib/compose/action/action.pane.dialog.exp.mjs +0 -72
  662. package/esm2020/lib/compose/action/assign-action.component.mjs +0 -70
  663. package/esm2020/lib/compose/action/moveto-action.component.mjs +0 -91
  664. package/esm2020/lib/compose/action/return-action.component.mjs +0 -52
  665. package/esm2020/lib/compose/attachments/attachments.component.mjs +0 -127
  666. package/esm2020/lib/compose/attachments/preview/attachment-preview.component.mjs +0 -155
  667. package/esm2020/lib/compose/attachments/progress-button.directive.mjs +0 -25
  668. package/esm2020/lib/compose/can-deactivate-changes.service.mjs +0 -27
  669. package/esm2020/lib/compose/comments/Comments.pane.component.mjs +0 -49
  670. package/esm2020/lib/compose/comments/comment.component.mjs +0 -186
  671. package/esm2020/lib/compose/comments/comments.component.mjs +0 -227
  672. package/esm2020/lib/compose/comments/edit-comment.component.mjs +0 -32
  673. package/esm2020/lib/compose/comments/edits.component.mjs +0 -30
  674. package/esm2020/lib/compose/comments/quick-comment.component.exp.mjs +0 -63
  675. package/esm2020/lib/compose/comments/votes.component.mjs +0 -42
  676. package/esm2020/lib/compose/compose-resolve.service.mjs +0 -55
  677. package/esm2020/lib/compose/compose.mobile.component.mjs +0 -112
  678. package/esm2020/lib/compose/compose.pane.component.mjs +0 -204
  679. package/esm2020/lib/compose/copy/copy.dialog.mjs +0 -46
  680. package/esm2020/lib/compose/dismiss.service.mjs +0 -25
  681. package/esm2020/lib/compose/document-resolver.service.mjs +0 -17
  682. package/esm2020/lib/compose/document.component.mjs +0 -45
  683. package/esm2020/lib/compose/document.mobile.component.mjs +0 -22
  684. package/esm2020/lib/compose/document.pane.component.mjs +0 -26
  685. package/esm2020/lib/compose/events/events.component.mjs +0 -30
  686. package/esm2020/lib/compose/form-ref.mjs +0 -46
  687. package/esm2020/lib/compose/form-selector/form-selector.sheet.mjs +0 -88
  688. package/esm2020/lib/compose/form.component.mjs +0 -458
  689. package/esm2020/lib/compose/new-menu.component.mjs +0 -104
  690. package/esm2020/lib/compose/privilage.directive.mjs +0 -64
  691. package/esm2020/lib/compose/recipient-resolver.service.mjs +0 -18
  692. package/esm2020/lib/compose/save-changes.dialog.mjs +0 -18
  693. package/esm2020/lib/compose/state.component.mjs +0 -37
  694. package/esm2020/lib/compose/tag/tags.component.mjs +0 -91
  695. package/esm2020/lib/compose/trace/flow.component.mjs +0 -700
  696. package/esm2020/lib/compose/trace/people.component.mjs +0 -35
  697. package/esm2020/lib/compose/trace/trace.base.mjs +0 -71
  698. package/esm2020/lib/compose/trace/trace.component.mjs +0 -359
  699. package/esm2020/lib/compose/trace/trace.pane.component.mjs +0 -52
  700. package/esm2020/lib/compose/version-compare/version-compare.component.mjs +0 -53
  701. package/esm2020/lib/compose/version-compare/version-compare.directive.mjs +0 -344
  702. package/esm2020/lib/compose/version-compare/version.pane.component.mjs +0 -56
  703. package/esm2020/lib/core/NgComponentOutlet.mjs +0 -38
  704. package/esm2020/lib/core/account.service.mjs +0 -37
  705. package/esm2020/lib/core/animated-icon/animated-icon.directive.mjs +0 -17
  706. package/esm2020/lib/core/animations.mjs +0 -156
  707. package/esm2020/lib/core/authentication.mjs +0 -3
  708. package/esm2020/lib/core/avatar/avatar.component.mjs +0 -103
  709. package/esm2020/lib/core/base.mjs +0 -2
  710. package/esm2020/lib/core/colors.mjs +0 -322
  711. package/esm2020/lib/core/component-factory-resolver.mjs +0 -64
  712. package/esm2020/lib/core/configuration.mjs +0 -17
  713. package/esm2020/lib/core/controls/address.input.mjs +0 -206
  714. package/esm2020/lib/core/controls/auto-complete.input.mjs +0 -256
  715. package/esm2020/lib/core/controls/combination-picker-body.mjs +0 -173
  716. package/esm2020/lib/core/controls/combination-picker.mjs +0 -277
  717. package/esm2020/lib/core/controls/combination-pool.mjs +0 -105
  718. package/esm2020/lib/core/controls/file.input.mjs +0 -420
  719. package/esm2020/lib/core/controls/select.input.mjs +0 -237
  720. package/esm2020/lib/core/controls/time-picker.mjs +0 -196
  721. package/esm2020/lib/core/controls/timespan.input.mjs +0 -207
  722. package/esm2020/lib/core/datasource.service.mjs +0 -75
  723. package/esm2020/lib/core/decorators.mjs +0 -46
  724. package/esm2020/lib/core/firebase.service.mjs +0 -50
  725. package/esm2020/lib/core/functions.mjs +0 -205
  726. package/esm2020/lib/core/guide/guide.component.mjs +0 -219
  727. package/esm2020/lib/core/guide/guide.service.mjs +0 -118
  728. package/esm2020/lib/core/http.interceptor.mjs +0 -79
  729. package/esm2020/lib/core/hub.service.mjs +0 -108
  730. package/esm2020/lib/core/identity/identity.component.mjs +0 -67
  731. package/esm2020/lib/core/info/attachment-info.service.mjs +0 -51
  732. package/esm2020/lib/core/info/document-info.service.mjs +0 -21
  733. package/esm2020/lib/core/info/location-info.component.mjs +0 -61
  734. package/esm2020/lib/core/info/map-info.mjs +0 -40
  735. package/esm2020/lib/core/layout/autocomplete.field.mjs +0 -60
  736. package/esm2020/lib/core/layout/checkbox.field.mjs +0 -41
  737. package/esm2020/lib/core/layout/checkbox.mjs +0 -35
  738. package/esm2020/lib/core/layout/date-range.field.mjs +0 -53
  739. package/esm2020/lib/core/layout/date.field.mjs +0 -52
  740. package/esm2020/lib/core/layout/expression.field.mjs +0 -51
  741. package/esm2020/lib/core/layout/file.field.mjs +0 -47
  742. package/esm2020/lib/core/layout/html.field.mjs +0 -48
  743. package/esm2020/lib/core/layout/input.base.mjs +0 -11
  744. package/esm2020/lib/core/layout/input.field.mjs +0 -64
  745. package/esm2020/lib/core/layout/layout.component.mjs +0 -196
  746. package/esm2020/lib/core/layout/numeric.field.mjs +0 -47
  747. package/esm2020/lib/core/layout/select.field.mjs +0 -82
  748. package/esm2020/lib/core/layout/switch.field.mjs +0 -41
  749. package/esm2020/lib/core/layout/textarea.field.mjs +0 -42
  750. package/esm2020/lib/core/layout/timespan.field.mjs +0 -50
  751. package/esm2020/lib/core/lottie-animation.mjs +0 -46
  752. package/esm2020/lib/core/mailbox.service.mjs +0 -410
  753. package/esm2020/lib/core/models.mjs +0 -40
  754. package/esm2020/lib/core/none.component.mjs +0 -40
  755. package/esm2020/lib/core/pipes/action.pipe.mjs +0 -25
  756. package/esm2020/lib/core/pipes/calendar.pipe.mjs +0 -72
  757. package/esm2020/lib/core/pipes/date-format.pipe.mjs +0 -19
  758. package/esm2020/lib/core/pipes/daterange.pipe.mjs +0 -62
  759. package/esm2020/lib/core/pipes/difference.pipe.mjs +0 -15
  760. package/esm2020/lib/core/pipes/duration-format.pipe.mjs +0 -48
  761. package/esm2020/lib/core/pipes/duration.pipe.mjs +0 -19
  762. package/esm2020/lib/core/pipes/form.pipe.mjs +0 -25
  763. package/esm2020/lib/core/pipes/join.pipe.mjs +0 -18
  764. package/esm2020/lib/core/pipes/role.pipe.mjs +0 -25
  765. package/esm2020/lib/core/pipes/sanitize-html.pipe.mjs +0 -18
  766. package/esm2020/lib/core/pipes/sort.pipe.mjs +0 -48
  767. package/esm2020/lib/core/pipes/state.pipe.mjs +0 -25
  768. package/esm2020/lib/core/pipes/time-ago.pipe.mjs +0 -66
  769. package/esm2020/lib/core/pipes/translate.pipe.mjs +0 -38
  770. package/esm2020/lib/core/pipes/type-value.pipe.mjs +0 -42
  771. package/esm2020/lib/core/pipes/user-name.pipe.mjs +0 -21
  772. package/esm2020/lib/core/popup/popup-ref.mjs +0 -20
  773. package/esm2020/lib/core/popup/popup.component.mjs +0 -37
  774. package/esm2020/lib/core/popup/popup.service.mjs +0 -148
  775. package/esm2020/lib/core/popup/tooltip.directive.mjs +0 -82
  776. package/esm2020/lib/core/prompt/ask/ask.dialog.mjs +0 -29
  777. package/esm2020/lib/core/prompt/mask/mask.component.mjs +0 -21
  778. package/esm2020/lib/core/prompt.service.mjs +0 -86
  779. package/esm2020/lib/core/router.mjs +0 -35
  780. package/esm2020/lib/core/session.service.mjs +0 -256
  781. package/esm2020/lib/core/slots/pane-ref.mjs +0 -146
  782. package/esm2020/lib/core/slots/router.directive.mjs +0 -70
  783. package/esm2020/lib/core/slots/router.service.mjs +0 -33
  784. package/esm2020/lib/core/slots/slots.component.mjs +0 -1105
  785. package/esm2020/lib/core/tagging/documents.component.mjs +0 -25
  786. package/esm2020/lib/core/tagging/edit-input.component.mjs +0 -233
  787. package/esm2020/lib/core/tagging/emoji.component.mjs +0 -35
  788. package/esm2020/lib/core/tagging/tagging-item.directive.mjs +0 -39
  789. package/esm2020/lib/core/tagging/tagging.component-base.mjs +0 -29
  790. package/esm2020/lib/core/tagging/tagging.directive.mjs +0 -138
  791. package/esm2020/lib/core/tagging/tagging.pipe.mjs +0 -72
  792. package/esm2020/lib/core/tagging/users.component.mjs +0 -32
  793. package/esm2020/lib/core/translate.service.mjs +0 -124
  794. package/esm2020/lib/core/translations.mjs +0 -1135
  795. package/esm2020/lib/core/window-title.service.mjs +0 -53
  796. package/esm2020/lib/cube/accum/accum.component.mjs +0 -258
  797. package/esm2020/lib/cube/chart/chart.component.mjs +0 -341
  798. package/esm2020/lib/cube/cube-info.service.mjs +0 -100
  799. package/esm2020/lib/cube/cube-menu.component.mjs +0 -27
  800. package/esm2020/lib/cube/cube-view.component.mjs +0 -186
  801. package/esm2020/lib/cube/cube.service.mjs +0 -418
  802. package/esm2020/lib/cube/declarations.mjs +0 -2
  803. package/esm2020/lib/cube/explore/document-item.component.mjs +0 -38
  804. package/esm2020/lib/cube/explore/explore-item.component.mjs +0 -27
  805. package/esm2020/lib/cube/explore/explore-items.component.mjs +0 -186
  806. package/esm2020/lib/cube/explore/explore.pane.component.mjs +0 -83
  807. package/esm2020/lib/cube/explore/item-resolver.service.mjs +0 -32
  808. package/esm2020/lib/cube/explore/item.pane.component.mjs +0 -23
  809. package/esm2020/lib/cube/filter/filter-tags.component.exp.mjs +0 -75
  810. package/esm2020/lib/cube/filter/filter.component.mjs +0 -137
  811. package/esm2020/lib/cube/grid/grid.component.mjs +0 -218
  812. package/esm2020/lib/cube/grid/spreadsheet.component.mjs +0 -367
  813. package/esm2020/lib/cube/matrix/matrix.base.mjs +0 -127
  814. package/esm2020/lib/cube/matrix/matrix.mobile.component.mjs +0 -63
  815. package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +0 -76
  816. package/esm2020/lib/cube/matrix/popup.component.mjs +0 -67
  817. package/esm2020/lib/cube/matrix/table.component.mjs +0 -493
  818. package/esm2020/lib/cube/parallel/item.mjs +0 -41
  819. package/esm2020/lib/cube/parallel/parallel.component.mjs +0 -159
  820. package/esm2020/lib/cube/pivot/pivot.component.mjs +0 -507
  821. package/esm2020/lib/cube/sum/sum.component.mjs +0 -404
  822. package/esm2020/lib/cube/view-base.mjs +0 -79
  823. package/esm2020/lib/cube/view.mobile.component.mjs +0 -127
  824. package/esm2020/lib/cube/view.pane.component.mjs +0 -88
  825. package/esm2020/lib/dashboard/actions/actions.widget.mjs +0 -126
  826. package/esm2020/lib/dashboard/cube/accum-cube.widget.mjs +0 -145
  827. package/esm2020/lib/dashboard/cube/compare.widget.mjs +0 -215
  828. package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +0 -90
  829. package/esm2020/lib/dashboard/cube/cube-analysis.widget.mjs +0 -53
  830. package/esm2020/lib/dashboard/cube/cube-chart.widget.mjs +0 -144
  831. package/esm2020/lib/dashboard/cube/documents.widget.mjs +0 -64
  832. package/esm2020/lib/dashboard/cube/filter/filter.component.mjs +0 -61
  833. package/esm2020/lib/dashboard/dashboard.component.mjs +0 -47
  834. package/esm2020/lib/dashboard/dashboard.pane.component.mjs +0 -24
  835. package/esm2020/lib/dashboard/recents/recents.widget.mjs +0 -98
  836. package/esm2020/lib/dashboard/score/activity.widget.mjs +0 -173
  837. package/esm2020/lib/dashboard/score/compare-groups.widget.mjs +0 -206
  838. package/esm2020/lib/dashboard/score/peers-performance.widget.mjs +0 -253
  839. package/esm2020/lib/dashboard/score/pending-results.widget.mjs +0 -60
  840. package/esm2020/lib/dashboard/score/personal-score.widget.mjs +0 -223
  841. package/esm2020/lib/dashboard/widget-item.component.mjs +0 -89
  842. package/esm2020/lib/dashboard/widget-ref.mjs +0 -18
  843. package/esm2020/lib/desktop.module.mjs +0 -144
  844. package/esm2020/lib/home/about/about.dialog.mjs +0 -26
  845. package/esm2020/lib/home/home-base.component.mjs +0 -91
  846. package/esm2020/lib/home/home.desktop.component.mjs +0 -221
  847. package/esm2020/lib/home/home.mobile.component.mjs +0 -116
  848. package/esm2020/lib/home/notifications/notifications.component.mjs +0 -67
  849. package/esm2020/lib/home/options/options.component.mjs +0 -94
  850. package/esm2020/lib/home/outofoffice/outofoffice.component.mjs +0 -38
  851. package/esm2020/lib/home/search.service.mjs +0 -75
  852. package/esm2020/lib/home/sign/sign.component.mjs +0 -54
  853. package/esm2020/lib/home/tools.component.mjs +0 -82
  854. package/esm2020/lib/impersonate/impersonate.component.mjs +0 -65
  855. package/esm2020/lib/mobile.module.mjs +0 -59
  856. package/esm2020/lib/modules/chart.module.mjs +0 -39
  857. package/esm2020/lib/modules/circular-gauge.module.mjs +0 -17
  858. package/esm2020/lib/modules/date.adapter.mjs +0 -23
  859. package/esm2020/lib/modules/datepicker.intl.mjs +0 -39
  860. package/esm2020/lib/modules/dayjs.module.mjs +0 -41
  861. package/esm2020/lib/modules/diagram.module.mjs +0 -34
  862. package/esm2020/lib/modules/gantt.module.mjs +0 -18
  863. package/esm2020/lib/modules/grid.module.mjs +0 -23
  864. package/esm2020/lib/modules/material.module.mjs +0 -188
  865. package/esm2020/lib/modules/paginator.intl.mjs +0 -21
  866. package/esm2020/lib/modules/pivot.module.mjs +0 -24
  867. package/esm2020/lib/modules/schedule.module.mjs +0 -21
  868. package/esm2020/lib/modules/spreadsheet.module.mjs +0 -30
  869. package/esm2020/lib/modules/stepper.intl.mjs +0 -17
  870. package/esm2020/lib/modules/texteditor.module.mjs +0 -27
  871. package/esm2020/lib/notifications/filter.component.mjs +0 -25
  872. package/esm2020/lib/notifications/notifications-table.component.mjs +0 -106
  873. package/esm2020/lib/notifications/notifications.component-base.mjs +0 -47
  874. package/esm2020/lib/notifications/notifications.mobile.component.mjs +0 -20
  875. package/esm2020/lib/notifications/notifications.pane.component.mjs +0 -23
  876. package/esm2020/lib/notifications/notifications.service.mjs +0 -71
  877. package/esm2020/lib/notifications/types/commented.notification.mjs +0 -53
  878. package/esm2020/lib/notifications/types/cube-anomaly.notification.mjs +0 -58
  879. package/esm2020/lib/notifications/types/escalated.notification.mjs +0 -33
  880. package/esm2020/lib/notifications/types/liked.notification.mjs +0 -50
  881. package/esm2020/lib/notifications/types/long-running-task.notification.mjs +0 -31
  882. package/esm2020/lib/notifications/types/notification-base.mjs +0 -40
  883. package/esm2020/lib/notifications/types/nudge.notification.mjs +0 -31
  884. package/esm2020/lib/notifications/types/state-changed.notification.mjs +0 -30
  885. package/esm2020/lib/notifications/types/tagged.notification.mjs +0 -43
  886. package/esm2020/lib/notifications/types/text.notification.mjs +0 -20
  887. package/esm2020/lib/notifications/types/upcoming-event.notification.mjs +0 -36
  888. package/esm2020/lib/options/options.component.mjs +0 -248
  889. package/esm2020/lib/options/options.service.mjs +0 -38
  890. package/esm2020/lib/reports/arguments-component.mjs +0 -83
  891. package/esm2020/lib/reports/cube/documents.component.mjs +0 -40
  892. package/esm2020/lib/reports/cube/grid-documents.component.mjs +0 -72
  893. package/esm2020/lib/reports/cube/table-documents.component.mjs +0 -56
  894. package/esm2020/lib/reports/cube/usage-args.component.mjs +0 -61
  895. package/esm2020/lib/reports/cube/usage-base.mjs +0 -79
  896. package/esm2020/lib/reports/cube/usage-chart.component.mjs +0 -357
  897. package/esm2020/lib/reports/cube/usage-pivot.component.mjs +0 -256
  898. package/esm2020/lib/reports/cube/usage.component.mjs +0 -40
  899. package/esm2020/lib/reports/report-ref.mjs +0 -31
  900. package/esm2020/lib/reports/report-viewer.component.mjs +0 -151
  901. package/esm2020/lib/reports/report.mobile.component.mjs +0 -128
  902. package/esm2020/lib/reports/report.pane.component.mjs +0 -96
  903. package/esm2020/lib/reports/reports-menu.component.mjs +0 -26
  904. package/esm2020/lib/reports/substitution/substitution.component.mjs +0 -40
  905. package/esm2020/lib/reports/table/table-view.component.mjs +0 -41
  906. package/esm2020/lib/reports/tasks/tasks.component.mjs +0 -95
  907. package/esm2020/lib/routes.desktop.mjs +0 -197
  908. package/esm2020/lib/routes.mobile.mjs +0 -69
  909. package/esm2020/lib/scheduler/schedule.component.mjs +0 -166
  910. package/esm2020/lib/scheduler/scheduler.mobile.component.mjs +0 -37
  911. package/esm2020/lib/scheduler/scheduler.pane.component.mjs +0 -53
  912. package/esm2020/lib/shared.module.mjs +0 -517
  913. package/esm2020/lib/system.module.mjs +0 -113
  914. package/esm2020/lib/views/cube/chart.component.mjs +0 -75
  915. package/esm2020/lib/views/cube/cube-base.mjs +0 -96
  916. package/esm2020/lib/views/cube/explore.component.mjs +0 -83
  917. package/esm2020/lib/views/cube/matrix.component.mjs +0 -97
  918. package/esm2020/lib/views/cube/parallel.component.mjs +0 -54
  919. package/esm2020/lib/views/cube/pivot.component.mjs +0 -51
  920. package/esm2020/lib/views/cube/sum.component.mjs +0 -64
  921. package/esm2020/lib/views/cube/view.component.mjs +0 -102
  922. package/esm2020/lib/views/document-view-ref.mjs +0 -27
  923. package/esm2020/lib/views/timeline/timeline.component.exp.mjs +0 -313
  924. package/esm2020/lib/views/view-item.component.mjs +0 -66
  925. package/esm2020/lib/views/views.component.mjs +0 -25
  926. package/esm2020/lib/views/views.mobile.component.mjs +0 -20
  927. package/esm2020/lib/views/views.pane.component.mjs +0 -31
  928. package/esm2020/public-api.mjs +0 -143
  929. package/fesm2015/bizdoc-core.mjs +0 -30636
  930. package/fesm2015/bizdoc-core.mjs.map +0 -1
  931. package/fesm2020/bizdoc-core.mjs +0 -30414
  932. package/fesm2020/bizdoc-core.mjs.map +0 -1
  933. package/lib/admin/admin-dismiss.service.d.ts +0 -14
  934. package/lib/admin/admin-menu.component.d.ts +0 -12
  935. package/lib/admin/core/ace.input.d.ts +0 -52
  936. package/lib/admin/core/color-picker.input.d.ts +0 -64
  937. package/lib/admin/core/search.input.d.ts +0 -13
  938. package/lib/admin/diff/configuration-diff.component.d.ts +0 -116
  939. package/lib/admin/document-trace/document-trace.component.d.ts +0 -98
  940. package/lib/admin/document-trace/reassign.dialog.d.ts +0 -22
  941. package/lib/admin/document-trace/timeline.d.ts +0 -40
  942. package/lib/admin/document-trace/trace-element.component.d.ts +0 -51
  943. package/lib/admin/form/form.resolve.service.d.ts +0 -12
  944. package/lib/admin/form/form.service.d.ts +0 -30
  945. package/lib/admin/form/workflow/node-ref.d.ts +0 -7
  946. package/lib/admin/form/workflow/node.component.d.ts +0 -37
  947. package/lib/admin/form/workflow/role-node.component.d.ts +0 -22
  948. package/lib/admin/form/workflow/workflow.component.d.ts +0 -77
  949. package/lib/admin/indices/manage-cube-index.component.d.ts +0 -54
  950. package/lib/admin/patterns/patterns.component.d.ts +0 -79
  951. package/lib/admin/permissions/permissions.component.d.ts +0 -45
  952. package/lib/admin/positions/positions-popup.component.d.ts +0 -39
  953. package/lib/admin/positions/positions.component.d.ts +0 -117
  954. package/lib/admin/profiler/outofoffice.component.d.ts +0 -48
  955. package/lib/admin/profiler/profiler.component.d.ts +0 -117
  956. package/lib/admin/utility-ref.d.ts +0 -19
  957. package/lib/admin/utility-wrapper.component.d.ts +0 -28
  958. package/lib/admin/utility.pane.component.d.ts +0 -24
  959. package/lib/app.component.d.ts +0 -24
  960. package/lib/bizdoc.module.d.ts +0 -18
  961. package/lib/browse/browse-items.component.d.ts +0 -103
  962. package/lib/browse/browse.mobile.component.d.ts +0 -39
  963. package/lib/browse/browse.pane.component.d.ts +0 -50
  964. package/lib/browse/expanded-item/expanded-item.component.d.ts +0 -67
  965. package/lib/browse/filter/filter.component.d.ts +0 -71
  966. package/lib/browse/folders-menu.component.d.ts +0 -22
  967. package/lib/chat/chat-info.d.ts +0 -37
  968. package/lib/chat/chat.mobile.component.d.ts +0 -10
  969. package/lib/chat/chat.service.d.ts +0 -38
  970. package/lib/chat/contacts.component.d.ts +0 -38
  971. package/lib/chat/contacts.pane.component.d.ts +0 -12
  972. package/lib/chat/conversation.component.d.ts +0 -56
  973. package/lib/chat/conversation.pane.component.d.ts +0 -16
  974. package/lib/compose/action/action-picker.component.d.ts +0 -25
  975. package/lib/compose/action/action-ref.d.ts +0 -10
  976. package/lib/compose/action/action.base.d.ts +0 -15
  977. package/lib/compose/action/action.dialog.d.ts +0 -29
  978. package/lib/compose/action/action.pane.dialog.exp.d.ts +0 -31
  979. package/lib/compose/action/assign-action.component.d.ts +0 -30
  980. package/lib/compose/action/moveto-action.component.d.ts +0 -36
  981. package/lib/compose/action/return-action.component.d.ts +0 -19
  982. package/lib/compose/attachments/attachments.component.d.ts +0 -35
  983. package/lib/compose/attachments/preview/attachment-preview.component.d.ts +0 -49
  984. package/lib/compose/attachments/progress-button.directive.d.ts +0 -12
  985. package/lib/compose/can-deactivate-changes.service.d.ts +0 -12
  986. package/lib/compose/comments/Comments.pane.component.d.ts +0 -18
  987. package/lib/compose/comments/comment.component.d.ts +0 -51
  988. package/lib/compose/comments/comments.component.d.ts +0 -66
  989. package/lib/compose/comments/edit-comment.component.d.ts +0 -25
  990. package/lib/compose/comments/edits.component.d.ts +0 -26
  991. package/lib/compose/comments/quick-comment.component.exp.d.ts +0 -28
  992. package/lib/compose/comments/votes.component.d.ts +0 -22
  993. package/lib/compose/compose-resolve.service.d.ts +0 -27
  994. package/lib/compose/compose.mobile.component.d.ts +0 -42
  995. package/lib/compose/compose.pane.component.d.ts +0 -58
  996. package/lib/compose/copy/copy.dialog.d.ts +0 -23
  997. package/lib/compose/dismiss.service.d.ts +0 -12
  998. package/lib/compose/document-resolver.service.d.ts +0 -12
  999. package/lib/compose/document.component.d.ts +0 -18
  1000. package/lib/compose/document.mobile.component.d.ts +0 -10
  1001. package/lib/compose/document.pane.component.d.ts +0 -12
  1002. package/lib/compose/events/events.component.d.ts +0 -13
  1003. package/lib/compose/form-ref.d.ts +0 -30
  1004. package/lib/compose/form-selector/form-selector.sheet.d.ts +0 -28
  1005. package/lib/compose/form.component.d.ts +0 -101
  1006. package/lib/compose/new-menu.component.d.ts +0 -36
  1007. package/lib/compose/privilage.directive.d.ts +0 -26
  1008. package/lib/compose/recipient-resolver.service.d.ts +0 -12
  1009. package/lib/compose/save-changes.dialog.d.ts +0 -7
  1010. package/lib/compose/state.component.d.ts +0 -12
  1011. package/lib/compose/tag/tags.component.d.ts +0 -36
  1012. package/lib/compose/trace/flow.component.d.ts +0 -59
  1013. package/lib/compose/trace/people.component.d.ts +0 -18
  1014. package/lib/compose/trace/trace.base.d.ts +0 -28
  1015. package/lib/compose/trace/trace.component.d.ts +0 -55
  1016. package/lib/compose/trace/trace.pane.component.d.ts +0 -20
  1017. package/lib/compose/version-compare/version-compare.component.d.ts +0 -24
  1018. package/lib/compose/version-compare/version-compare.directive.d.ts +0 -89
  1019. package/lib/compose/version-compare/version.pane.component.d.ts +0 -21
  1020. package/lib/core/NgComponentOutlet.d.ts +0 -15
  1021. package/lib/core/account.service.d.ts +0 -18
  1022. package/lib/core/animated-icon/animated-icon.directive.d.ts +0 -7
  1023. package/lib/core/animations.d.ts +0 -26
  1024. package/lib/core/authentication.d.ts +0 -6
  1025. package/lib/core/avatar/avatar.component.d.ts +0 -34
  1026. package/lib/core/base.d.ts +0 -31
  1027. package/lib/core/colors.d.ts +0 -6
  1028. package/lib/core/component-factory-resolver.d.ts +0 -12
  1029. package/lib/core/configuration.d.ts +0 -113
  1030. package/lib/core/controls/address.input.d.ts +0 -65
  1031. package/lib/core/controls/auto-complete.input.d.ts +0 -86
  1032. package/lib/core/controls/combination-picker-body.d.ts +0 -114
  1033. package/lib/core/controls/combination-picker.d.ts +0 -82
  1034. package/lib/core/controls/combination-pool.d.ts +0 -42
  1035. package/lib/core/controls/file.input.d.ts +0 -99
  1036. package/lib/core/controls/select.input.d.ts +0 -84
  1037. package/lib/core/controls/time-picker.d.ts +0 -52
  1038. package/lib/core/controls/timespan.input.d.ts +0 -55
  1039. package/lib/core/datasource.service.d.ts +0 -46
  1040. package/lib/core/decorators.d.ts +0 -17
  1041. package/lib/core/firebase.service.d.ts +0 -17
  1042. package/lib/core/functions.d.ts +0 -54
  1043. package/lib/core/guide/guide.component.d.ts +0 -31
  1044. package/lib/core/guide/guide.service.d.ts +0 -38
  1045. package/lib/core/http.interceptor.d.ts +0 -21
  1046. package/lib/core/hub.service.d.ts +0 -133
  1047. package/lib/core/identity/identity.component.d.ts +0 -29
  1048. package/lib/core/info/attachment-info.service.d.ts +0 -17
  1049. package/lib/core/info/document-info.service.d.ts +0 -14
  1050. package/lib/core/info/location-info.component.d.ts +0 -28
  1051. package/lib/core/info/map-info.d.ts +0 -15
  1052. package/lib/core/layout/autocomplete.field.d.ts +0 -21
  1053. package/lib/core/layout/checkbox.d.ts +0 -10
  1054. package/lib/core/layout/checkbox.field.d.ts +0 -11
  1055. package/lib/core/layout/date-range.field.d.ts +0 -13
  1056. package/lib/core/layout/date.field.d.ts +0 -11
  1057. package/lib/core/layout/expression.field.d.ts +0 -12
  1058. package/lib/core/layout/file.field.d.ts +0 -14
  1059. package/lib/core/layout/html.field.d.ts +0 -12
  1060. package/lib/core/layout/input.base.d.ts +0 -10
  1061. package/lib/core/layout/input.field.d.ts +0 -14
  1062. package/lib/core/layout/layout.component.d.ts +0 -33
  1063. package/lib/core/layout/numeric.field.d.ts +0 -11
  1064. package/lib/core/layout/select.field.d.ts +0 -22
  1065. package/lib/core/layout/switch.field.d.ts +0 -11
  1066. package/lib/core/layout/textarea.field.d.ts +0 -11
  1067. package/lib/core/layout/timespan.field.d.ts +0 -11
  1068. package/lib/core/lottie-animation.d.ts +0 -14
  1069. package/lib/core/mailbox.service.d.ts +0 -142
  1070. package/lib/core/models.d.ts +0 -652
  1071. package/lib/core/none.component.d.ts +0 -9
  1072. package/lib/core/pipes/action.pipe.d.ts +0 -10
  1073. package/lib/core/pipes/calendar.pipe.d.ts +0 -27
  1074. package/lib/core/pipes/date-format.pipe.d.ts +0 -8
  1075. package/lib/core/pipes/daterange.pipe.d.ts +0 -15
  1076. package/lib/core/pipes/difference.pipe.d.ts +0 -7
  1077. package/lib/core/pipes/duration-format.pipe.d.ts +0 -11
  1078. package/lib/core/pipes/duration.pipe.d.ts +0 -8
  1079. package/lib/core/pipes/form.pipe.d.ts +0 -10
  1080. package/lib/core/pipes/join.pipe.d.ts +0 -10
  1081. package/lib/core/pipes/role.pipe.d.ts +0 -10
  1082. package/lib/core/pipes/sanitize-html.pipe.d.ts +0 -10
  1083. package/lib/core/pipes/sort.pipe.d.ts +0 -12
  1084. package/lib/core/pipes/state.pipe.d.ts +0 -10
  1085. package/lib/core/pipes/time-ago.pipe.d.ts +0 -16
  1086. package/lib/core/pipes/translate.pipe.d.ts +0 -18
  1087. package/lib/core/pipes/type-value.pipe.d.ts +0 -15
  1088. package/lib/core/pipes/user-name.pipe.d.ts +0 -11
  1089. package/lib/core/popup/popup-ref.d.ts +0 -14
  1090. package/lib/core/popup/popup.component.d.ts +0 -22
  1091. package/lib/core/popup/popup.service.d.ts +0 -24
  1092. package/lib/core/popup/tooltip.directive.d.ts +0 -29
  1093. package/lib/core/prompt/ask/ask.dialog.d.ts +0 -22
  1094. package/lib/core/prompt/mask/mask.component.d.ts +0 -10
  1095. package/lib/core/prompt.service.d.ts +0 -36
  1096. package/lib/core/router.d.ts +0 -20
  1097. package/lib/core/session.service.d.ts +0 -82
  1098. package/lib/core/slots/pane-ref.d.ts +0 -136
  1099. package/lib/core/slots/router.directive.d.ts +0 -25
  1100. package/lib/core/slots/router.service.d.ts +0 -37
  1101. package/lib/core/slots/slots.component.d.ts +0 -205
  1102. package/lib/core/tagging/documents.component.d.ts +0 -11
  1103. package/lib/core/tagging/edit-input.component.d.ts +0 -65
  1104. package/lib/core/tagging/emoji.component.d.ts +0 -18
  1105. package/lib/core/tagging/tagging-item.directive.d.ts +0 -15
  1106. package/lib/core/tagging/tagging.component-base.d.ts +0 -19
  1107. package/lib/core/tagging/tagging.directive.d.ts +0 -34
  1108. package/lib/core/tagging/tagging.pipe.d.ts +0 -24
  1109. package/lib/core/tagging/users.component.d.ts +0 -15
  1110. package/lib/core/translate.service.d.ts +0 -31
  1111. package/lib/core/translations.d.ts +0 -1128
  1112. package/lib/core/window-title.service.d.ts +0 -21
  1113. package/lib/cube/accum/accum.component.d.ts +0 -63
  1114. package/lib/cube/chart/chart.component.d.ts +0 -74
  1115. package/lib/cube/cube-info.service.d.ts +0 -77
  1116. package/lib/cube/cube-menu.component.d.ts +0 -12
  1117. package/lib/cube/cube-view.component.d.ts +0 -31
  1118. package/lib/cube/cube.service.d.ts +0 -268
  1119. package/lib/cube/declarations.d.ts +0 -23
  1120. package/lib/cube/explore/document-item.component.d.ts +0 -16
  1121. package/lib/cube/explore/explore-item.component.d.ts +0 -14
  1122. package/lib/cube/explore/explore-items.component.d.ts +0 -57
  1123. package/lib/cube/explore/explore.pane.component.d.ts +0 -30
  1124. package/lib/cube/explore/item-resolver.service.d.ts +0 -20
  1125. package/lib/cube/explore/item.pane.component.d.ts +0 -13
  1126. package/lib/cube/filter/filter-tags.component.exp.d.ts +0 -31
  1127. package/lib/cube/filter/filter.component.d.ts +0 -44
  1128. package/lib/cube/grid/grid.component.d.ts +0 -59
  1129. package/lib/cube/grid/spreadsheet.component.d.ts +0 -62
  1130. package/lib/cube/matrix/matrix.base.d.ts +0 -72
  1131. package/lib/cube/matrix/matrix.mobile.component.d.ts +0 -22
  1132. package/lib/cube/matrix/matrix.pane.component.d.ts +0 -23
  1133. package/lib/cube/matrix/popup.component.d.ts +0 -21
  1134. package/lib/cube/matrix/table.component.d.ts +0 -100
  1135. package/lib/cube/parallel/item.d.ts +0 -13
  1136. package/lib/cube/parallel/parallel.component.d.ts +0 -52
  1137. package/lib/cube/pivot/pivot.component.d.ts +0 -103
  1138. package/lib/cube/sum/sum.component.d.ts +0 -81
  1139. package/lib/cube/view-base.d.ts +0 -39
  1140. package/lib/cube/view.mobile.component.d.ts +0 -46
  1141. package/lib/cube/view.pane.component.d.ts +0 -27
  1142. package/lib/dashboard/actions/actions.widget.d.ts +0 -39
  1143. package/lib/dashboard/cube/accum-cube.widget.d.ts +0 -33
  1144. package/lib/dashboard/cube/compare.widget.d.ts +0 -53
  1145. package/lib/dashboard/cube/cube-analysis.base.d.ts +0 -59
  1146. package/lib/dashboard/cube/cube-analysis.widget.d.ts +0 -17
  1147. package/lib/dashboard/cube/cube-chart.widget.d.ts +0 -32
  1148. package/lib/dashboard/cube/documents.widget.d.ts +0 -30
  1149. package/lib/dashboard/cube/filter/filter.component.d.ts +0 -22
  1150. package/lib/dashboard/dashboard.component.d.ts +0 -20
  1151. package/lib/dashboard/dashboard.pane.component.d.ts +0 -8
  1152. package/lib/dashboard/recents/recents.widget.d.ts +0 -40
  1153. package/lib/dashboard/score/activity.widget.d.ts +0 -50
  1154. package/lib/dashboard/score/compare-groups.widget.d.ts +0 -51
  1155. package/lib/dashboard/score/peers-performance.widget.d.ts +0 -65
  1156. package/lib/dashboard/score/pending-results.widget.d.ts +0 -27
  1157. package/lib/dashboard/score/personal-score.widget.d.ts +0 -57
  1158. package/lib/dashboard/widget-item.component.d.ts +0 -31
  1159. package/lib/dashboard/widget-ref.d.ts +0 -11
  1160. package/lib/desktop.module.d.ts +0 -45
  1161. package/lib/home/about/about.dialog.d.ts +0 -14
  1162. package/lib/home/home-base.component.d.ts +0 -34
  1163. package/lib/home/home.desktop.component.d.ts +0 -60
  1164. package/lib/home/home.mobile.component.d.ts +0 -38
  1165. package/lib/home/notifications/notifications.component.d.ts +0 -28
  1166. package/lib/home/options/options.component.d.ts +0 -46
  1167. package/lib/home/outofoffice/outofoffice.component.d.ts +0 -19
  1168. package/lib/home/search.service.d.ts +0 -23
  1169. package/lib/home/sign/sign.component.d.ts +0 -17
  1170. package/lib/home/tools.component.d.ts +0 -36
  1171. package/lib/impersonate/impersonate.component.d.ts +0 -27
  1172. package/lib/mobile.module.d.ts +0 -25
  1173. package/lib/modules/chart.module.d.ts +0 -7
  1174. package/lib/modules/circular-gauge.module.d.ts +0 -7
  1175. package/lib/modules/date.adapter.d.ts +0 -10
  1176. package/lib/modules/datepicker.intl.d.ts +0 -30
  1177. package/lib/modules/dayjs.module.d.ts +0 -6
  1178. package/lib/modules/diagram.module.d.ts +0 -8
  1179. package/lib/modules/gantt.module.d.ts +0 -7
  1180. package/lib/modules/grid.module.d.ts +0 -7
  1181. package/lib/modules/material.module.d.ts +0 -45
  1182. package/lib/modules/paginator.intl.d.ts +0 -14
  1183. package/lib/modules/pivot.module.d.ts +0 -7
  1184. package/lib/modules/schedule.module.d.ts +0 -7
  1185. package/lib/modules/spreadsheet.module.d.ts +0 -8
  1186. package/lib/modules/stepper.intl.d.ts +0 -10
  1187. package/lib/modules/texteditor.module.d.ts +0 -8
  1188. package/lib/notifications/filter.component.d.ts +0 -9
  1189. package/lib/notifications/notifications-table.component.d.ts +0 -32
  1190. package/lib/notifications/notifications.component-base.d.ts +0 -12
  1191. package/lib/notifications/notifications.mobile.component.d.ts +0 -8
  1192. package/lib/notifications/notifications.pane.component.d.ts +0 -8
  1193. package/lib/notifications/notifications.service.d.ts +0 -24
  1194. package/lib/notifications/types/commented.notification.d.ts +0 -26
  1195. package/lib/notifications/types/cube-anomaly.notification.d.ts +0 -29
  1196. package/lib/notifications/types/escalated.notification.d.ts +0 -25
  1197. package/lib/notifications/types/liked.notification.d.ts +0 -25
  1198. package/lib/notifications/types/long-running-task.notification.d.ts +0 -21
  1199. package/lib/notifications/types/notification-base.d.ts +0 -20
  1200. package/lib/notifications/types/nudge.notification.d.ts +0 -23
  1201. package/lib/notifications/types/state-changed.notification.d.ts +0 -22
  1202. package/lib/notifications/types/tagged.notification.d.ts +0 -26
  1203. package/lib/notifications/types/text.notification.d.ts +0 -13
  1204. package/lib/notifications/types/upcoming-event.notification.d.ts +0 -20
  1205. package/lib/options/options.component.d.ts +0 -67
  1206. package/lib/options/options.service.d.ts +0 -14
  1207. package/lib/reports/arguments-component.d.ts +0 -27
  1208. package/lib/reports/cube/documents.component.d.ts +0 -34
  1209. package/lib/reports/cube/grid-documents.component.d.ts +0 -28
  1210. package/lib/reports/cube/table-documents.component.d.ts +0 -28
  1211. package/lib/reports/cube/usage-args.component.d.ts +0 -21
  1212. package/lib/reports/cube/usage-base.d.ts +0 -72
  1213. package/lib/reports/cube/usage-chart.component.d.ts +0 -62
  1214. package/lib/reports/cube/usage-pivot.component.d.ts +0 -66
  1215. package/lib/reports/cube/usage.component.d.ts +0 -16
  1216. package/lib/reports/report-ref.d.ts +0 -27
  1217. package/lib/reports/report-viewer.component.d.ts +0 -47
  1218. package/lib/reports/report.mobile.component.d.ts +0 -48
  1219. package/lib/reports/report.pane.component.d.ts +0 -37
  1220. package/lib/reports/reports-menu.component.d.ts +0 -12
  1221. package/lib/reports/substitution/substitution.component.d.ts +0 -23
  1222. package/lib/reports/table/table-view.component.d.ts +0 -19
  1223. package/lib/reports/tasks/tasks.component.d.ts +0 -68
  1224. package/lib/routes.desktop.d.ts +0 -2
  1225. package/lib/routes.mobile.d.ts +0 -2
  1226. package/lib/scheduler/schedule.component.d.ts +0 -43
  1227. package/lib/scheduler/scheduler.mobile.component.d.ts +0 -14
  1228. package/lib/scheduler/scheduler.pane.component.d.ts +0 -20
  1229. package/lib/shared.module.d.ts +0 -191
  1230. package/lib/system.module.d.ts +0 -34
  1231. package/lib/views/cube/chart.component.d.ts +0 -39
  1232. package/lib/views/cube/cube-base.d.ts +0 -46
  1233. package/lib/views/cube/explore.component.d.ts +0 -43
  1234. package/lib/views/cube/matrix.component.d.ts +0 -51
  1235. package/lib/views/cube/parallel.component.d.ts +0 -32
  1236. package/lib/views/cube/pivot.component.d.ts +0 -34
  1237. package/lib/views/cube/sum.component.d.ts +0 -33
  1238. package/lib/views/cube/view.component.d.ts +0 -40
  1239. package/lib/views/document-view-ref.d.ts +0 -18
  1240. package/lib/views/timeline/timeline.component.exp.d.ts +0 -66
  1241. package/lib/views/view-item.component.d.ts +0 -26
  1242. package/lib/views/views.component.d.ts +0 -14
  1243. package/lib/views/views.mobile.component.d.ts +0 -10
  1244. package/lib/views/views.pane.component.d.ts +0 -12
  1245. package/public-api.d.ts +0 -145
@@ -1,357 +0,0 @@
1
- import { Component } from "@angular/core";
2
- import { getCurrencySymbol, getLocaleNumberFormat, NumberFormatStyle } from "@angular/common";
3
- import { Observable, forkJoin } from "rxjs";
4
- import { tap, takeUntil, map } from "rxjs/operators";
5
- import { PivotView } from "@syncfusion/ej2-angular-pivotview";
6
- import { Workbook } from '@syncfusion/ej2-excel-export';
7
- import { UsageReportBase } from "./usage-base";
8
- import { FONT_FAMILY } from "../../core/colors";
9
- import * as i0 from "@angular/core";
10
- import * as i1 from "../report-ref";
11
- import * as i2 from "../../core/datasource.service";
12
- import * as i3 from "../../cube/cube.service";
13
- import * as i4 from "../../core/session.service";
14
- import * as i5 from "../../core/router";
15
- import * as i6 from "../../core/prompt.service";
16
- import * as i7 from "@angular/cdk/bidi";
17
- import * as i8 from "../../core/translate.service";
18
- /**
19
- * cube usage
20
- * */
21
- export class UsageChartComponent extends UsageReportBase {
22
- // ctor
23
- constructor(reportRef, type, service, session, router, sb, _elementRef, dir, translate) {
24
- super(reportRef, type, service, session, router, sb, dir, translate);
25
- this._elementRef = _elementRef;
26
- this.dir = this._session.direction;
27
- this.displayOption = {
28
- view: 'Chart'
29
- };
30
- this._session.themeChange.pipe(takeUntil(this._destroy)).subscribe(t => {
31
- this.chartSettings.theme = t.dark ? 'MaterialDark' : 'Material';
32
- this.chartSettings.palettes = this._palettes();
33
- this._draw();
34
- });
35
- this._defaults();
36
- }
37
- /** set defaults */
38
- _defaults() {
39
- const { chartType } = this._reportRef.options;
40
- const isLine = chartType === 'Line' || chartType === 'Spline';
41
- this.chartSettings = {
42
- pointClick: this.pointClick.bind(this),
43
- zoomSettings: {
44
- toolbarItems: [],
45
- mode: 'XY',
46
- enableMouseWheelZooming: true,
47
- enablePinchZooming: true,
48
- enableSelectionZooming: false
49
- },
50
- crosshair: {
51
- enable: isLine,
52
- line: {
53
- width: 1
54
- }
55
- },
56
- chartSeries: {
57
- palettes: this._palettes(),
58
- type: chartType || 'Column',
59
- //width: 2,
60
- border: { width: 0 },
61
- marker: { height: 10, width: 10, shape: 'Pentagon', visible: isLine },
62
- },
63
- enableExport: true,
64
- chartArea: {
65
- border: { width: 0 }
66
- },
67
- theme: this._session.theme.dark ? 'MaterialDark' : 'Material',
68
- background: 'transparent',
69
- primaryXAxis: {
70
- titleStyle: {
71
- fontFamily: FONT_FAMILY
72
- },
73
- labelStyle: {
74
- fontFamily: FONT_FAMILY
75
- }
76
- },
77
- border: { width: 0 },
78
- legendSettings: {
79
- textStyle: {
80
- fontFamily: FONT_FAMILY
81
- },
82
- isInversed: this._session.inverse
83
- },
84
- tooltip: {
85
- textStyle: {
86
- fontFamily: FONT_FAMILY
87
- }
88
- },
89
- titleStyle: {
90
- fontFamily: FONT_FAMILY
91
- },
92
- subTitleStyle: {
93
- fontFamily: FONT_FAMILY
94
- },
95
- primaryYAxis: {
96
- titleStyle: {
97
- fontFamily: FONT_FAMILY
98
- },
99
- labelStyle: {
100
- fontFamily: FONT_FAMILY
101
- },
102
- crosshairTooltip: {
103
- enable: true,
104
- textStyle: {
105
- fontFamily: FONT_FAMILY
106
- }
107
- }
108
- }
109
- };
110
- const formatSettings = [{
111
- name: 'value', format: this.currencyCode ? 'C' : 'N',
112
- maximumFractionDigits: this._fractionDigits,
113
- //minimumFractionDigits: this._fractionDigits,
114
- currency: this.currencyCode
115
- }];
116
- const rows = this._series.map(a => {
117
- return {
118
- name: a.name,
119
- caption: a.title
120
- };
121
- });
122
- this.dataSourceSettings = {
123
- columns: [{
124
- name: 'type'
125
- }],
126
- rows,
127
- values: [
128
- {
129
- name: 'value',
130
- caption: this._translate.get('Value')
131
- }
132
- ],
133
- enableSorting: false,
134
- sortSettings: this._series.map(s => { return { name: `_${s.name}` }; }),
135
- expandAll: this._expandAll,
136
- formatSettings,
137
- dataSource: []
138
- };
139
- }
140
- _palettes() {
141
- return [this._session.getAccent()].
142
- concat(this._indices.map((_, i) => this._session.getPrimery(300 + 300 * i)));
143
- }
144
- dataBound(args) {
145
- this.pivot.chart.pointClick = this.pointClick.bind(this);
146
- }
147
- /**
148
- *
149
- * @param result
150
- */
151
- onData(result) {
152
- this._data = result;
153
- this._decorate(result).subscribe(r => {
154
- this.dataSourceSettings.dataSource = r;
155
- this._draw();
156
- }, () => this._sb.error());
157
- }
158
- _draw() {
159
- this.pivot && this.pivot.destroy();
160
- this.pivot = new PivotView({
161
- width: '100%',
162
- height: '100%',
163
- enableRtl: this.enableRtl,
164
- dataBound: this.dataBound.bind(this),
165
- chartSettings: this.chartSettings,
166
- displayOption: this.displayOption,
167
- dataSourceSettings: this.dataSourceSettings,
168
- spinnerTemplate: '',
169
- allowConditionalFormatting: true,
170
- currencyCode: this.currencyCode,
171
- }, this._elementRef.nativeElement);
172
- }
173
- onResize() {
174
- if (this.pivot && this.pivot.chart) {
175
- //this.pivot.chart.height = this.height;
176
- //this.pivot.chart.width = this.width;
177
- this.pivot.chart.chartResize();
178
- }
179
- }
180
- onExport(title) {
181
- const numberFormat = this._cube.currencyCode ?
182
- getCurrencySymbol(this._cube.currencyCode, 'narrow') +
183
- getLocaleNumberFormat(this._session.language, NumberFormatStyle.Currency)
184
- : getLocaleNumberFormat(this._session.language, NumberFormatStyle.Decimal), columns = this._cube.axes.filter(a => this._options.series.indexOf(a.name) > -1), rows = [{
185
- index: 1,
186
- cells: columns.map((c, i) => ({
187
- index: i + 1, value: c.title,
188
- style: {
189
- bold: true
190
- }
191
- }))
192
- }];
193
- rows[0].cells.push({
194
- index: columns.length + 1,
195
- value: this._cube.yAxis ? this._cube.yAxis.title :
196
- this._translate.get('Value'),
197
- style: {
198
- bold: true
199
- }
200
- });
201
- this._indices && this._indices.forEach((x, i) => rows[0].cells.push({
202
- index: columns.length + i + 2,
203
- value: x.title,
204
- style: {
205
- bold: true
206
- }
207
- }));
208
- this._data.forEach((r, i) => {
209
- const cells = columns.map((c, j) => {
210
- return {
211
- index: j + 1, value: r[c.name],
212
- style: {}
213
- };
214
- });
215
- cells.push({
216
- type: 'number',
217
- index: columns.length + 1,
218
- style: {
219
- numberFormat,
220
- hAlign: 'right'
221
- },
222
- value: r['value']
223
- });
224
- this._indices && this._indices.forEach((x, i) => cells.push({
225
- type: 'number',
226
- index: columns.length + i + 2,
227
- style: {
228
- numberFormat,
229
- hAlign: 'right'
230
- },
231
- value: r[x.name]
232
- }));
233
- rows.push({
234
- index: i + 2,
235
- cells
236
- });
237
- });
238
- const book = new Workbook({
239
- worksheets: [
240
- {
241
- enableRtl: this._session.inverse,
242
- name: this._translate.get('SheetN', 1),
243
- columns: [...columns.map((_, i) => ({ index: i + 1, width: 250 })),
244
- { index: columns.length + 1 },
245
- ...(this._indices ? this._indices.map((_, i) => ({
246
- index: columns.length + i + 2
247
- })) : [])],
248
- rows
249
- }
250
- ],
251
- }, 'xlsx');
252
- book.save(`${title}.xlsx`);
253
- }
254
- /**
255
- * adds data source description to item keys, and normalizes indices.
256
- * @param result
257
- */
258
- _decorate(result) {
259
- return new Observable(observe => {
260
- const observables = [];
261
- result.forEach(row => {
262
- this._series.forEach(a => {
263
- const val = row[a.name];
264
- const observable = this._type.get(a.dataType, val).
265
- pipe(tap((v) => {
266
- row[`_${a.name}`] = val;
267
- row[a.name] = v || val;
268
- }));
269
- observables.push(observable);
270
- });
271
- });
272
- if (observables.length)
273
- forkJoin(observables).pipe(map(() => {
274
- const data = [];
275
- result.forEach(baseRow => {
276
- const value = baseRow.usage;
277
- if (value !== undefined && value !== 0) {
278
- const row = {
279
- type: this._yTitle,
280
- value
281
- };
282
- this._series.forEach(a => {
283
- row[`_${a.name}`] = baseRow[`_${a.name}`];
284
- row[a.name] = baseRow[a.name];
285
- });
286
- data.push(row);
287
- }
288
- this._indices.forEach(i => {
289
- const value = baseRow[i.name];
290
- if (value !== undefined && value !== 0) {
291
- const row = { type: i.title, value };
292
- this._series.forEach(a => {
293
- row[`_${a.name}`] = baseRow[`_${a.name}`];
294
- row[a.name] = baseRow[a.name];
295
- });
296
- data.push(row);
297
- }
298
- });
299
- });
300
- return data;
301
- })).
302
- subscribe(r => observe.next(r), e => observe.error(e));
303
- else
304
- observe.next([]);
305
- });
306
- }
307
- /**
308
- *
309
- * @param e
310
- */
311
- pointClick(e) {
312
- const { point: { x, yValue }, series: { name: title } } = e;
313
- if (yValue === 0) {
314
- e.cancel = true;
315
- return;
316
- }
317
- const axes = this._axes(x);
318
- super.browse(axes, title === this._yTitle ? null : this._indexName(title));
319
- }
320
- /**
321
- * reverse engineering axes from series label
322
- * @param label
323
- */
324
- _axes(label) {
325
- const axes = {};
326
- label.split(' - ').forEach((x, i) => {
327
- const column = this.dataSourceSettings.rows[i].name, element = this._data.find(e => e[column] === x);
328
- axes[column] = element ? element[`_${column}`] : x;
329
- });
330
- return axes;
331
- }
332
- /**
333
- * reverse engineering index name from title
334
- * @param title
335
- */
336
- _indexName(title) {
337
- const index = this._indices.find(i => i.title === title);
338
- return index.name;
339
- }
340
- ngOnDestroy() {
341
- this.pivot && this.pivot.destroy();
342
- super.ngOnDestroy();
343
- }
344
- }
345
- UsageChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: UsageChartComponent, deps: [{ token: i1.ReportRef }, { token: i2.DatasourceService }, { token: i3.CubeService }, { token: i4.SessionService }, { token: i5.RouterImpl }, { token: i6.PromptService }, { token: i0.ElementRef }, { token: i7.Directionality }, { token: i8.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
346
- UsageChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: UsageChartComponent, selector: "ng-component", host: { properties: { "id": "id", "dir": "dir" } }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
347
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: UsageChartComponent, decorators: [{
348
- type: Component,
349
- args: [{
350
- template: '',
351
- host: {
352
- '[id]': 'id',
353
- '[dir]': 'dir'
354
- }
355
- }]
356
- }], ctorParameters: function () { return [{ type: i1.ReportRef }, { type: i2.DatasourceService }, { type: i3.CubeService }, { type: i4.SessionService }, { type: i5.RouterImpl }, { type: i6.PromptService }, { type: i0.ElementRef }, { type: i7.Directionality }, { type: i8.TranslateService }]; } });
357
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNhZ2UtY2hhcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9yZXBvcnRzL2N1YmUvdXNhZ2UtY2hhcnQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQXlCLE1BQU0sZUFBZSxDQUFDO0FBRWpFLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxxQkFBcUIsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzlGLE9BQU8sRUFBRSxVQUFVLEVBQUUsUUFBUSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQzVDLE9BQU8sRUFBRSxHQUFHLEVBQUUsU0FBUyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JELE9BQU8sRUFBc0IsU0FBUyxFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFJbEYsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBSXhELE9BQU8sRUFBaUIsZUFBZSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBUTlELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQzs7Ozs7Ozs7OztBQUdoRDs7S0FFSztBQVFMLE1BQU0sT0FDRSxtQkFBb0IsU0FBUSxlQUFlO0lBUWpELE9BQU87SUFDUCxZQUFZLFNBQTZCLEVBQUUsSUFBdUIsRUFBRSxPQUFvQixFQUFF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wb3J0OiB0cnVlLFxyXG4gICAgICBjaGFydEFyZWE6IHtcclxuICAgICAgICBib3JkZXI6IHsgd2lkdGg6IDAgfVxyXG4gICAgICB9LFxyXG4gICAgICB0aGVtZTogdGhpcy5fc2Vzc2lvbi50aGVtZS5kYXJrID8gJ01hdGVyaWFsRGFyaycgOiAnTWF0ZXJpYWwnLFxyXG4gICAgICBiYWNrZ3JvdW5kOiAndHJhbnNwYXJlbnQnLFxyXG4gICAgICBwcmltYXJ5WEF4aXM6IHtcclxuICAgICAgICB0aXRsZVN0eWxlOiB7XHJcbiAgICAgICAgICBmb250RmFtaWx5OiBGT05UX0ZBTUlMWVxyXG4gICAgICAgIH0sXHJcbiAgICAgICAgbGFiZWxTdHlsZToge1xyXG4gICAgICAgICAgZm9udEZhbWlseTogRk9OVF9GQU1JTFlcclxuICAgICAgICB9XHJcbiAgICAgIH0sXHJcbiAgICAgIGJvcmRlcjogeyB3aWR0aDogMCB9LFxyXG4gICAgICBsZWdlbmRTZXR0aW5nczoge1xyXG4gICAgICAgIHRleHRTdHlsZToge1xyXG4gICAgICAgICAgZm9udEZhbWlseTogRk9OVF9GQU1JTFlcclxuICAgICAgICB9LFxyXG4gICAgICAgIGlzSW52ZXJzZWQ6IHRoaXMuX3Nlc3Npb24uaW52ZXJzZVxyXG4gICAgICB9LFxyXG4gICAgICB0b29sdGlwOiB7XHJcbiAgICAgICAgdGV4dFN0eWxlOiB7XHJcbiAgICAgICAgICBmb250RmFtaWx5OiBGT05UX0ZBTUlMWVxyXG4gICAgICAgIH1cclxuICAgICAgfSxcclxuICAgICAgdGl0bGVTdHlsZToge1xyXG4gICAgICAgIGZvbnRGYW1pbHk6IEZPTlRfRkFNSUxZXHJcbiAgICAgIH0sXHJcbiAgICAgIHN1YlRpdGxlU3R5bGU6IHtcclxuICAgICAgICBmb250RmFtaWx5OiBGT05UX0ZBTUlMWVxyXG4gICAgICB9LFxyXG4gICAgICBwcmltYXJ5WUF4aXM6IHtcclxuICAgICAgICB0aXRsZVN0eWxlOiB7XHJcbiAgICAgICAgICBmb250RmFtaWx5OiBGT05UX0ZBTUlMWVxyXG4gICAgICAgIH0sXHJcbiAgICAgICAgbGFiZWxTdHlsZToge1xyXG4gICAgICAgICAgZm9udEZhbWlseTogRk9OVF9GQU1JTFlcclxuICAgICAgICB9LFxyXG4gICAgICAgIGNyb3NzaGFpclRvb2x0aXA6IHtcclxuICAgICAgICAgIGVuYWJsZTogdHJ1ZSxcclxuICAgICAgICAgIHRleHRTdHlsZToge1xyXG4gICAgICAgICAgICBmb250RmFtaWx5OiBGT05UX0ZBTUlMWVxyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfTtcclxuICAgIGNvbnN0IGZvcm1hdFNldHRpbmdzOiBGb3JtYXRTZXR0aW5nc01vZGVsW10gPSBbe1xyXG4gICAgICBuYW1lOiAndmFsdWUnLCBmb3JtYXQ6IHRoaXMuY3VycmVuY3lDb2RlID8gJ0MnIDogJ04nLFxyXG4gICAgICBtYXhpbXVtRnJhY3Rpb25EaWdpdHM6IHRoaXMuX2ZyYWN0aW9uRGlnaXRzLFxyXG4gICAgICAvL21pbmltdW1GcmFjdGlvbkRpZ2l0czogdGhpcy5fZnJhY3Rpb25EaWdpdHMsXHJcbiAgICAgIGN1cnJlbmN5OiB0aGlzLmN1cnJlbmN5Q29kZVxyXG4gICAgfV07XHJcbiAgICBjb25zdCByb3dzID0gdGhpcy5fc2VyaWVzLm1hcChhID0+IHtcclxuICAgICAgcmV0dXJuIHtcclxuICAgICAgICBuYW1lOiBhLm5hbWUsXHJcbiAgICAgICAgY2FwdGlvbjogYS50aXRsZVxyXG4gICAgICB9IGFzIEZpZWxkT3B0aW9uc01vZGVsO1xyXG4gICAgfSk7XHJcbiAgICB0aGlzLmRhdGFTb3VyY2VTZXR0aW5ncyA9IHtcclxuICAgICAgY29sdW1uczogW3tcclxuICAgICAgICBuYW1lOiAndHlwZSdcclxuICAgICAgfV0sXHJcb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4LCBpKSA9PlxyXG4gICAgICAgIGNlbGxzLnB1c2goe1xyXG4gICAgICAgICAgdHlwZTogJ251bWJlcicsXHJcbiAgICAgICAgICBpbmRleDogY29sdW1ucy5sZW5ndGggKyBpICsgMixcclxuICAgICAgICAgIHN0eWxlOiB7XHJcbiAgICAgICAgICAgIG51bWJlckZvcm1hdCxcclxuICAgICAgICAgICAgaEFsaWduOiAncmlnaHQnXHJcbiAgICAgICAgICB9LFxyXG4gICAgICAgICAgdmFsdWU6IHJbeC5uYW1lXVxyXG4gICAgICAgIH0pXHJcbiAgICAgICk7XHJcbiAgICAgIHJvd3MucHVzaChcclxuICAgICAgICB7XHJcbiAgICAgICAgICBpbmRleDogaSArIDIsXHJcbiAgICAgICAgICBjZWxsc1xyXG4gICAgICAgIH0gYXMgUm93KVxyXG4gICAgfSk7XHJcblxyXG4gICAgY29uc3QgYm9vayA9IG5ldyBXb3JrYm9vayhcclxuICAgICAge1xyXG4gICAgICAgIHdvcmtzaGVldHM6IFtcclxuICAgICAgICAgIHtcclxuICAgICAgICAgICAgZW5hYmxlUnRsOiB0aGlzLl9zZXNzaW9uLmludmVyc2UsXHJcbiAgICAgICAgICAgIG5hbWU6IHRoaXMuX3RyYW5zbGF0ZS5nZXQoJ1NoZWV0TicsIDEpLFxyXG4gICAgICAgICAgICBjb2x1bW5zOiBbLi4uY29sdW1ucy5tYXAoKF8sIGkpID0+ICh7IGluZGV4OiBpICsgMSwgd2lkdGg6IDI1MCB9IGFzIENvbHVtbikpXHJcbiAgICAgICAgICAgICAgLCB7IGluZGV4OiBjb2x1bW5zLmxlbmd0aCArIDEgfSxcclxuICAgICAgICAgICAgLi4uKHRoaXMuX2luZGljZXMgPyB0aGlzLl9pbmRpY2VzLm1hcCgoXywgaSkgPT4gKHtcclxuICAgICAgICAgICAgICBpbmRleDogY29sdW1ucy5sZW5ndGggKyBpICsgMlxyXG4gICAgICAgICAgICB9KSkgOiBbXSlcclxuICAgICAgICAgICAgXSxcclxuICAgICA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ICAgICBmb3JrSm9pbihvYnNlcnZhYmxlcykucGlwZShtYXAoKCkgPT4ge1xyXG4gICAgICAgICAgY29uc3QgZGF0YToge31bXSA9IFtdO1xyXG4gICAgICAgICAgcmVzdWx0LmZvckVhY2goYmFzZVJvdyA9PiB7XHJcbiAgICAgICAgICAgIGNvbnN0IHZhbHVlID0gYmFzZVJvdy51c2FnZTtcclxuICAgICAgICAgICAgaWYgKHZhbHVlICE9PSB1bmRlZmluZWQgJiYgdmFsdWUgIT09IDApIHtcclxuICAgICAgICAgICAgICBjb25zdCByb3cgPSB7XHJcbiAgICAgICAgICAgICAgICB0eXBlOiB0aGlzLl95VGl0bGUsXHJcbiAgICAgICAgICAgICAgICB2YWx1ZVxyXG4gICAgICAgICAgICAgIH07XHJcbiAgICAgICAgICAgICAgdGhpcy5fc2VyaWVzLmZvckVhY2goYSA9PiB7XHJcbiAgICAgICAgICAgICAgICByb3dbYF8ke2EubmFtZX1gXSA9IGJhc2VSb3dbYF8ke2EubmFtZX1gXTtcclxuICAgICAgICAgICAgICAgIHJvd1thLm5hbWVdID0gYmFzZVJvd1thLm5hbWVdO1xyXG4gICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICAgIGRhdGEucHVzaChyb3cpO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIHRoaXMuX2luZGljZXMuZm9yRWFjaChpID0+IHtcclxuICAgICAgICAgICAgICBjb25zdCB2YWx1ZSA9IGJhc2VSb3dbaS5uYW1lXTtcclxuICAgICAgICAgICAgICBpZiAodmFsdWUgIT09IHVuZGVmaW5lZCAmJiB2YWx1ZSAhPT0gMCkge1xyXG4gICAgICAgICAgICAgICAgY29uc3Qgcm93ID0geyB0eXBlOiBpLnRpdGxlLCB2YWx1ZSB9O1xyXG4gICAgICAgICAgICAgICAgdGhpcy5fc2VyaWVzLmZvckVhY2goYSA9PiB7XHJcbiAgICAgICAgICAgICAgICAgIHJvd1tgXyR7YS5uYW1lfWBdID0gYmFzZVJv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