@bizdoc/core 1.14.9 → 1.14.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1248) hide show
  1. package/assets/bizdoc-schema.json +7 -3
  2. package/assets/themes/xslt.min.css +1 -0
  3. package/bizdoc-core.d.ts +5 -0
  4. package/esm2020/bizdoc-core.mjs +5 -0
  5. package/esm2020/lib/admin/admin-dismiss.service.mjs +22 -0
  6. package/esm2020/lib/admin/admin-menu.component.mjs +27 -0
  7. package/esm2020/lib/admin/core/ace.input.mjs +147 -0
  8. package/esm2020/lib/admin/core/color-picker.input.mjs +208 -0
  9. package/esm2020/lib/admin/core/search.input.mjs +43 -0
  10. package/esm2020/lib/admin/diff/configuration-diff.component.mjs +558 -0
  11. package/esm2020/lib/admin/document-trace/document-trace.component.mjs +532 -0
  12. package/esm2020/lib/admin/document-trace/reassign.dialog.mjs +40 -0
  13. package/esm2020/lib/admin/document-trace/timeline.mjs +2 -0
  14. package/esm2020/lib/admin/document-trace/trace-element.component.mjs +123 -0
  15. package/esm2020/lib/admin/form/form.resolve.service.mjs +17 -0
  16. package/esm2020/lib/admin/form/form.service.mjs +43 -0
  17. package/esm2020/lib/admin/form/workflow/node-ref.mjs +8 -0
  18. package/esm2020/lib/admin/form/workflow/node.component.mjs +128 -0
  19. package/esm2020/lib/admin/form/workflow/role-node.component.mjs +90 -0
  20. package/esm2020/lib/admin/form/workflow/workflow.component.mjs +441 -0
  21. package/esm2020/lib/admin/indices/manage-cube-index.component.mjs +161 -0
  22. package/esm2020/lib/admin/patterns/patterns.component.mjs +179 -0
  23. package/esm2020/lib/admin/permissions/permissions.component.mjs +97 -0
  24. package/esm2020/lib/admin/positions/positions-popup.component.mjs +74 -0
  25. package/esm2020/lib/admin/positions/positions.component.mjs +460 -0
  26. package/esm2020/lib/admin/profiler/outofoffice.component.mjs +155 -0
  27. package/esm2020/lib/admin/profiler/profiler.component.mjs +281 -0
  28. package/esm2020/lib/admin/utility-ref.mjs +38 -0
  29. package/esm2020/lib/admin/utility-wrapper.component.mjs +51 -0
  30. package/esm2020/lib/admin/utility.pane.component.mjs +51 -0
  31. package/esm2020/lib/app.component.mjs +91 -0
  32. package/esm2020/lib/bizdoc.module.mjs +101 -0
  33. package/esm2020/lib/browse/browse-items.component.mjs +481 -0
  34. package/esm2020/lib/browse/browse.mobile.component.mjs +101 -0
  35. package/esm2020/lib/browse/browse.pane.component.mjs +148 -0
  36. package/esm2020/lib/browse/expanded-item/expanded-item.component.mjs +316 -0
  37. package/esm2020/lib/browse/filter/filter.component.mjs +164 -0
  38. package/esm2020/lib/browse/folders-menu.component.mjs +51 -0
  39. package/esm2020/lib/chat/chat-info.mjs +68 -0
  40. package/esm2020/lib/chat/chat.mobile.component.mjs +26 -0
  41. package/esm2020/lib/chat/chat.service.mjs +122 -0
  42. package/esm2020/lib/chat/contacts.component.mjs +103 -0
  43. package/esm2020/lib/chat/contacts.pane.component.mjs +29 -0
  44. package/esm2020/lib/chat/conversation.component.mjs +193 -0
  45. package/esm2020/lib/chat/conversation.pane.component.mjs +53 -0
  46. package/esm2020/lib/compose/action/action-picker.component.mjs +84 -0
  47. package/esm2020/lib/compose/action/action-ref.mjs +19 -0
  48. package/esm2020/lib/compose/action/action.base.mjs +49 -0
  49. package/esm2020/lib/compose/action/action.dialog.mjs +61 -0
  50. package/esm2020/lib/compose/action/action.pane.dialog.exp.mjs +72 -0
  51. package/esm2020/lib/compose/action/assign-action.component.mjs +70 -0
  52. package/esm2020/lib/compose/action/moveto-action.component.mjs +91 -0
  53. package/esm2020/lib/compose/action/return-action.component.mjs +52 -0
  54. package/esm2020/lib/compose/attachments/attachments.component.mjs +127 -0
  55. package/esm2020/lib/compose/attachments/preview/attachment-preview.component.mjs +155 -0
  56. package/esm2020/lib/compose/attachments/progress-button.directive.mjs +25 -0
  57. package/esm2020/lib/compose/can-deactivate-changes.service.mjs +27 -0
  58. package/esm2020/lib/compose/comments/Comments.pane.component.mjs +49 -0
  59. package/esm2020/lib/compose/comments/comment.component.mjs +186 -0
  60. package/esm2020/lib/compose/comments/comments.component.mjs +227 -0
  61. package/esm2020/lib/compose/comments/edit-comment.component.mjs +32 -0
  62. package/esm2020/lib/compose/comments/edits.component.mjs +30 -0
  63. package/esm2020/lib/compose/comments/quick-comment.component.exp.mjs +63 -0
  64. package/esm2020/lib/compose/comments/votes.component.mjs +42 -0
  65. package/esm2020/lib/compose/compose-resolve.service.mjs +55 -0
  66. package/esm2020/lib/compose/compose.mobile.component.mjs +112 -0
  67. package/esm2020/lib/compose/compose.pane.component.mjs +205 -0
  68. package/esm2020/lib/compose/copy/copy.dialog.mjs +46 -0
  69. package/esm2020/lib/compose/dismiss.service.mjs +25 -0
  70. package/esm2020/lib/compose/document-resolver.service.mjs +17 -0
  71. package/esm2020/lib/compose/document.component.mjs +45 -0
  72. package/esm2020/lib/compose/document.mobile.component.mjs +22 -0
  73. package/esm2020/lib/compose/document.pane.component.mjs +26 -0
  74. package/esm2020/lib/compose/events/events.component.mjs +30 -0
  75. package/esm2020/lib/compose/form-ref.mjs +46 -0
  76. package/esm2020/lib/compose/form-selector/form-selector.sheet.mjs +88 -0
  77. package/esm2020/lib/compose/form.component.mjs +458 -0
  78. package/esm2020/lib/compose/new-menu.component.mjs +104 -0
  79. package/esm2020/lib/compose/privilage.directive.mjs +64 -0
  80. package/esm2020/lib/compose/recipient-resolver.service.mjs +18 -0
  81. package/esm2020/lib/compose/save-changes.dialog.mjs +18 -0
  82. package/esm2020/lib/compose/state.component.mjs +37 -0
  83. package/esm2020/lib/compose/tag/tags.component.mjs +91 -0
  84. package/esm2020/lib/compose/trace/flow.component.mjs +699 -0
  85. package/esm2020/lib/compose/trace/people.component.mjs +35 -0
  86. package/esm2020/lib/compose/trace/trace.base.mjs +71 -0
  87. package/esm2020/lib/compose/trace/trace.component.mjs +359 -0
  88. package/esm2020/lib/compose/trace/trace.pane.component.mjs +52 -0
  89. package/esm2020/lib/compose/version-compare/version-compare.component.mjs +53 -0
  90. package/esm2020/lib/compose/version-compare/version-compare.directive.mjs +344 -0
  91. package/esm2020/lib/compose/version-compare/version.pane.component.mjs +56 -0
  92. package/esm2020/lib/core/NgComponentOutlet.mjs +38 -0
  93. package/esm2020/lib/core/account.service.mjs +37 -0
  94. package/esm2020/lib/core/animated-icon/animated-icon.directive.mjs +17 -0
  95. package/esm2020/lib/core/animations.mjs +156 -0
  96. package/esm2020/lib/core/authentication.mjs +3 -0
  97. package/esm2020/lib/core/avatar/avatar.component.mjs +103 -0
  98. package/esm2020/lib/core/base.mjs +2 -0
  99. package/esm2020/lib/core/colors.mjs +322 -0
  100. package/esm2020/lib/core/component-factory-resolver.mjs +64 -0
  101. package/esm2020/lib/core/configuration.mjs +17 -0
  102. package/esm2020/lib/core/controls/address.input.mjs +206 -0
  103. package/esm2020/lib/core/controls/auto-complete.input.mjs +256 -0
  104. package/esm2020/lib/core/controls/combination-picker-body.mjs +173 -0
  105. package/esm2020/lib/core/controls/combination-picker.mjs +277 -0
  106. package/esm2020/lib/core/controls/combination-pool.mjs +105 -0
  107. package/esm2020/lib/core/controls/file.input.mjs +420 -0
  108. package/esm2020/lib/core/controls/select.input.mjs +237 -0
  109. package/esm2020/lib/core/controls/time-picker.mjs +196 -0
  110. package/esm2020/lib/core/controls/timespan.input.mjs +207 -0
  111. package/esm2020/lib/core/datasource.service.mjs +75 -0
  112. package/esm2020/lib/core/decorators.mjs +46 -0
  113. package/esm2020/lib/core/firebase.service.mjs +50 -0
  114. package/esm2020/lib/core/functions.mjs +205 -0
  115. package/esm2020/lib/core/guide/guide.component.mjs +224 -0
  116. package/esm2020/lib/core/guide/guide.service.mjs +118 -0
  117. package/esm2020/lib/core/guide/help-tip.component.mjs +58 -0
  118. package/esm2020/lib/core/http.interceptor.mjs +79 -0
  119. package/esm2020/lib/core/hub.service.mjs +108 -0
  120. package/esm2020/lib/core/identity/identity.component.mjs +67 -0
  121. package/esm2020/lib/core/info/attachment-info.service.mjs +51 -0
  122. package/esm2020/lib/core/info/document-info.service.mjs +21 -0
  123. package/esm2020/lib/core/info/location-info.component.mjs +61 -0
  124. package/esm2020/lib/core/info/map-info.mjs +40 -0
  125. package/esm2020/lib/core/layout/autocomplete.field.mjs +60 -0
  126. package/esm2020/lib/core/layout/checkbox.field.mjs +41 -0
  127. package/esm2020/lib/core/layout/checkbox.mjs +35 -0
  128. package/esm2020/lib/core/layout/date-range.field.mjs +53 -0
  129. package/esm2020/lib/core/layout/date.field.mjs +52 -0
  130. package/esm2020/lib/core/layout/expression.field.mjs +51 -0
  131. package/esm2020/lib/core/layout/file.field.mjs +47 -0
  132. package/esm2020/lib/core/layout/html.field.mjs +48 -0
  133. package/esm2020/lib/core/layout/input.base.mjs +11 -0
  134. package/esm2020/lib/core/layout/input.field.mjs +64 -0
  135. package/esm2020/lib/core/layout/layout.component.mjs +196 -0
  136. package/esm2020/lib/core/layout/numeric.field.mjs +47 -0
  137. package/esm2020/lib/core/layout/select.field.mjs +82 -0
  138. package/esm2020/lib/core/layout/switch.field.mjs +41 -0
  139. package/esm2020/lib/core/layout/textarea.field.mjs +42 -0
  140. package/esm2020/lib/core/layout/timespan.field.mjs +50 -0
  141. package/esm2020/lib/core/lottie-animation.mjs +46 -0
  142. package/esm2020/lib/core/mailbox.service.mjs +410 -0
  143. package/esm2020/lib/core/models.mjs +40 -0
  144. package/esm2020/lib/core/none.component.mjs +40 -0
  145. package/esm2020/lib/core/pipes/action.pipe.mjs +25 -0
  146. package/esm2020/lib/core/pipes/calendar.pipe.mjs +72 -0
  147. package/esm2020/lib/core/pipes/date-format.pipe.mjs +19 -0
  148. package/esm2020/lib/core/pipes/daterange.pipe.mjs +62 -0
  149. package/esm2020/lib/core/pipes/difference.pipe.mjs +15 -0
  150. package/esm2020/lib/core/pipes/duration-format.pipe.mjs +48 -0
  151. package/esm2020/lib/core/pipes/duration.pipe.mjs +19 -0
  152. package/esm2020/lib/core/pipes/form.pipe.mjs +25 -0
  153. package/esm2020/lib/core/pipes/join.pipe.mjs +18 -0
  154. package/esm2020/lib/core/pipes/role.pipe.mjs +25 -0
  155. package/esm2020/lib/core/pipes/sanitize-html.pipe.mjs +18 -0
  156. package/esm2020/lib/core/pipes/sort.pipe.mjs +48 -0
  157. package/esm2020/lib/core/pipes/state.pipe.mjs +25 -0
  158. package/esm2020/lib/core/pipes/time-ago.pipe.mjs +66 -0
  159. package/esm2020/lib/core/pipes/translate.pipe.mjs +38 -0
  160. package/esm2020/lib/core/pipes/type-value.pipe.mjs +42 -0
  161. package/esm2020/lib/core/pipes/user-name.pipe.mjs +21 -0
  162. package/esm2020/lib/core/popup/popup-ref.mjs +20 -0
  163. package/esm2020/lib/core/popup/popup.component.mjs +37 -0
  164. package/esm2020/lib/core/popup/popup.service.mjs +148 -0
  165. package/esm2020/lib/core/popup/tooltip.directive.mjs +82 -0
  166. package/esm2020/lib/core/prompt/ask/ask.dialog.mjs +29 -0
  167. package/esm2020/lib/core/prompt/mask/mask.component.mjs +21 -0
  168. package/esm2020/lib/core/prompt.service.mjs +86 -0
  169. package/esm2020/lib/core/router.mjs +37 -0
  170. package/esm2020/lib/core/session.service.mjs +256 -0
  171. package/esm2020/lib/core/slots/pane-ref.mjs +148 -0
  172. package/esm2020/lib/core/slots/router.directive.mjs +68 -0
  173. package/esm2020/lib/core/slots/router.service.mjs +30 -0
  174. package/esm2020/lib/core/slots/slots.component.mjs +1141 -0
  175. package/esm2020/lib/core/tagging/documents.component.mjs +25 -0
  176. package/esm2020/lib/core/tagging/edit-input.component.mjs +233 -0
  177. package/esm2020/lib/core/tagging/emoji.component.mjs +35 -0
  178. package/esm2020/lib/core/tagging/tagging-item.directive.mjs +39 -0
  179. package/esm2020/lib/core/tagging/tagging.component-base.mjs +29 -0
  180. package/esm2020/lib/core/tagging/tagging.directive.mjs +138 -0
  181. package/esm2020/lib/core/tagging/tagging.pipe.mjs +72 -0
  182. package/esm2020/lib/core/tagging/users.component.mjs +32 -0
  183. package/esm2020/lib/core/translate.service.mjs +124 -0
  184. package/esm2020/lib/core/translations.mjs +1139 -0
  185. package/esm2020/lib/core/window-title.service.mjs +53 -0
  186. package/esm2020/lib/cube/accum/accum.component.mjs +259 -0
  187. package/esm2020/lib/cube/chart/chart.component.mjs +341 -0
  188. package/esm2020/lib/cube/cube-info.service.mjs +100 -0
  189. package/esm2020/lib/cube/cube-menu.component.mjs +27 -0
  190. package/esm2020/lib/cube/cube-view.component.mjs +186 -0
  191. package/esm2020/lib/cube/cube.service.mjs +418 -0
  192. package/esm2020/lib/cube/declarations.mjs +2 -0
  193. package/esm2020/lib/cube/explore/document-item.component.mjs +38 -0
  194. package/esm2020/lib/cube/explore/explore-item.component.mjs +27 -0
  195. package/esm2020/lib/cube/explore/explore-items.component.mjs +186 -0
  196. package/esm2020/lib/cube/explore/explore.pane.component.mjs +83 -0
  197. package/esm2020/lib/cube/explore/item-resolver.service.mjs +32 -0
  198. package/esm2020/lib/cube/explore/item.pane.component.mjs +23 -0
  199. package/esm2020/lib/cube/filter/filter-tags.component.exp.mjs +75 -0
  200. package/esm2020/lib/cube/filter/filter.component.mjs +137 -0
  201. package/esm2020/lib/cube/grid/grid.component.mjs +218 -0
  202. package/esm2020/lib/cube/grid/spreadsheet.component.mjs +367 -0
  203. package/esm2020/lib/cube/matrix/matrix.base.mjs +127 -0
  204. package/esm2020/lib/cube/matrix/matrix.mobile.component.mjs +63 -0
  205. package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +76 -0
  206. package/esm2020/lib/cube/matrix/popup.component.mjs +67 -0
  207. package/esm2020/lib/cube/matrix/table.component.mjs +493 -0
  208. package/esm2020/lib/cube/parallel/item.mjs +41 -0
  209. package/esm2020/lib/cube/parallel/parallel.component.mjs +159 -0
  210. package/esm2020/lib/cube/pivot/pivot.component.mjs +507 -0
  211. package/esm2020/lib/cube/sum/sum.component.mjs +404 -0
  212. package/esm2020/lib/cube/view-base.mjs +79 -0
  213. package/esm2020/lib/cube/view.mobile.component.mjs +127 -0
  214. package/esm2020/lib/cube/view.pane.component.mjs +88 -0
  215. package/esm2020/lib/dashboard/actions/actions.widget.mjs +126 -0
  216. package/esm2020/lib/dashboard/cube/accum-cube.widget.mjs +145 -0
  217. package/esm2020/lib/dashboard/cube/compare.widget.mjs +215 -0
  218. package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +90 -0
  219. package/esm2020/lib/dashboard/cube/cube-analysis.widget.mjs +53 -0
  220. package/esm2020/lib/dashboard/cube/cube-chart.widget.mjs +144 -0
  221. package/esm2020/lib/dashboard/cube/documents.widget.mjs +64 -0
  222. package/esm2020/lib/dashboard/cube/filter/filter.component.mjs +61 -0
  223. package/esm2020/lib/dashboard/dashboard.component.mjs +55 -0
  224. package/esm2020/lib/dashboard/dashboard.pane.component.mjs +24 -0
  225. package/esm2020/lib/dashboard/recents/recents.widget.mjs +98 -0
  226. package/esm2020/lib/dashboard/score/activity.widget.mjs +173 -0
  227. package/esm2020/lib/dashboard/score/compare-groups.widget.mjs +206 -0
  228. package/esm2020/lib/dashboard/score/peers-performance.widget.mjs +253 -0
  229. package/esm2020/lib/dashboard/score/pending-results.widget.mjs +60 -0
  230. package/esm2020/lib/dashboard/score/personal-score.widget.mjs +223 -0
  231. package/esm2020/lib/dashboard/widget-item.component.mjs +90 -0
  232. package/esm2020/lib/dashboard/widget-ref.mjs +18 -0
  233. package/esm2020/lib/desktop.module.mjs +144 -0
  234. package/esm2020/lib/home/about/about.dialog.mjs +26 -0
  235. package/esm2020/lib/home/home-base.component.mjs +91 -0
  236. package/esm2020/lib/home/home.desktop.component.mjs +221 -0
  237. package/esm2020/lib/home/home.mobile.component.mjs +116 -0
  238. package/esm2020/lib/home/notifications/notifications.component.mjs +67 -0
  239. package/esm2020/lib/home/options/options.component.mjs +94 -0
  240. package/esm2020/lib/home/outofoffice/outofoffice.component.mjs +38 -0
  241. package/esm2020/lib/home/search.service.mjs +75 -0
  242. package/esm2020/lib/home/sign/sign.component.mjs +54 -0
  243. package/esm2020/lib/home/tools.component.mjs +82 -0
  244. package/esm2020/lib/impersonate/impersonate.component.mjs +65 -0
  245. package/esm2020/lib/mobile.module.mjs +59 -0
  246. package/esm2020/lib/modules/chart.module.mjs +39 -0
  247. package/esm2020/lib/modules/circular-gauge.module.mjs +17 -0
  248. package/esm2020/lib/modules/date.adapter.mjs +23 -0
  249. package/esm2020/lib/modules/datepicker.intl.mjs +39 -0
  250. package/esm2020/lib/modules/dayjs.module.mjs +41 -0
  251. package/esm2020/lib/modules/diagram.module.mjs +35 -0
  252. package/esm2020/lib/modules/gantt.module.mjs +18 -0
  253. package/esm2020/lib/modules/grid.module.mjs +23 -0
  254. package/esm2020/lib/modules/material.module.mjs +188 -0
  255. package/esm2020/lib/modules/paginator.intl.mjs +21 -0
  256. package/esm2020/lib/modules/pivot.module.mjs +24 -0
  257. package/esm2020/lib/modules/schedule.module.mjs +21 -0
  258. package/esm2020/lib/modules/spreadsheet.module.mjs +30 -0
  259. package/esm2020/lib/modules/stepper.intl.mjs +17 -0
  260. package/esm2020/lib/modules/texteditor.module.mjs +27 -0
  261. package/esm2020/lib/notifications/filter.component.mjs +25 -0
  262. package/esm2020/lib/notifications/notifications-table.component.mjs +106 -0
  263. package/esm2020/lib/notifications/notifications.component-base.mjs +47 -0
  264. package/esm2020/lib/notifications/notifications.mobile.component.mjs +20 -0
  265. package/esm2020/lib/notifications/notifications.pane.component.mjs +23 -0
  266. package/esm2020/lib/notifications/notifications.service.mjs +71 -0
  267. package/esm2020/lib/notifications/types/commented.notification.mjs +53 -0
  268. package/esm2020/lib/notifications/types/cube-anomaly.notification.mjs +58 -0
  269. package/esm2020/lib/notifications/types/escalated.notification.mjs +33 -0
  270. package/esm2020/lib/notifications/types/liked.notification.mjs +50 -0
  271. package/esm2020/lib/notifications/types/long-running-task.notification.mjs +31 -0
  272. package/esm2020/lib/notifications/types/notification-base.mjs +40 -0
  273. package/esm2020/lib/notifications/types/nudge.notification.mjs +31 -0
  274. package/esm2020/lib/notifications/types/state-changed.notification.mjs +30 -0
  275. package/esm2020/lib/notifications/types/tagged.notification.mjs +43 -0
  276. package/esm2020/lib/notifications/types/text.notification.mjs +20 -0
  277. package/esm2020/lib/notifications/types/upcoming-event.notification.mjs +36 -0
  278. package/esm2020/lib/options/options.component.mjs +248 -0
  279. package/esm2020/lib/options/options.service.mjs +38 -0
  280. package/esm2020/lib/reports/arguments-component.mjs +83 -0
  281. package/esm2020/lib/reports/cube/documents.component.mjs +40 -0
  282. package/esm2020/lib/reports/cube/grid-documents.component.mjs +72 -0
  283. package/esm2020/lib/reports/cube/table-documents.component.mjs +56 -0
  284. package/esm2020/lib/reports/cube/usage-args.component.mjs +61 -0
  285. package/esm2020/lib/reports/cube/usage-base.mjs +79 -0
  286. package/esm2020/lib/reports/cube/usage-chart.component.mjs +357 -0
  287. package/esm2020/lib/reports/cube/usage-pivot.component.mjs +256 -0
  288. package/esm2020/lib/reports/cube/usage.component.mjs +40 -0
  289. package/esm2020/lib/reports/report-ref.mjs +31 -0
  290. package/esm2020/lib/reports/report-viewer.component.mjs +151 -0
  291. package/esm2020/lib/reports/report.mobile.component.mjs +128 -0
  292. package/esm2020/lib/reports/report.pane.component.mjs +96 -0
  293. package/esm2020/lib/reports/reports-menu.component.mjs +26 -0
  294. package/esm2020/lib/reports/substitution/substitution.component.mjs +40 -0
  295. package/esm2020/lib/reports/table/table-view.component.mjs +41 -0
  296. package/esm2020/lib/reports/tasks/tasks.component.mjs +95 -0
  297. package/esm2020/lib/routes.desktop.mjs +197 -0
  298. package/esm2020/lib/routes.mobile.mjs +69 -0
  299. package/esm2020/lib/scheduler/schedule.component.mjs +166 -0
  300. package/esm2020/lib/scheduler/scheduler.mobile.component.mjs +37 -0
  301. package/esm2020/lib/scheduler/scheduler.pane.component.mjs +53 -0
  302. package/esm2020/lib/shared.module.mjs +518 -0
  303. package/esm2020/lib/system.module.mjs +113 -0
  304. package/esm2020/lib/views/cube/chart.component.mjs +75 -0
  305. package/esm2020/lib/views/cube/cube-base.mjs +96 -0
  306. package/esm2020/lib/views/cube/explore.component.mjs +83 -0
  307. package/esm2020/lib/views/cube/matrix.component.mjs +97 -0
  308. package/esm2020/lib/views/cube/parallel.component.mjs +54 -0
  309. package/esm2020/lib/views/cube/pivot.component.mjs +51 -0
  310. package/esm2020/lib/views/cube/sum.component.mjs +64 -0
  311. package/esm2020/lib/views/cube/view.component.mjs +102 -0
  312. package/esm2020/lib/views/document-view-ref.mjs +27 -0
  313. package/esm2020/lib/views/timeline/timeline.component.exp.mjs +313 -0
  314. package/esm2020/lib/views/view-item.component.mjs +67 -0
  315. package/esm2020/lib/views/views.component.mjs +33 -0
  316. package/esm2020/lib/views/views.mobile.component.mjs +20 -0
  317. package/esm2020/lib/views/views.pane.component.mjs +35 -0
  318. package/esm2020/public-api.mjs +144 -0
  319. package/fesm2015/bizdoc-core.mjs +30730 -0
  320. package/fesm2015/bizdoc-core.mjs.map +1 -0
  321. package/fesm2020/bizdoc-core.mjs +30508 -0
  322. package/fesm2020/bizdoc-core.mjs.map +1 -0
  323. package/lib/admin/admin-dismiss.service.d.ts +14 -0
  324. package/lib/admin/admin-menu.component.d.ts +12 -0
  325. package/lib/admin/core/ace.input.d.ts +52 -0
  326. package/lib/admin/core/color-picker.input.d.ts +64 -0
  327. package/lib/admin/core/search.input.d.ts +13 -0
  328. package/lib/admin/diff/configuration-diff.component.d.ts +116 -0
  329. package/lib/admin/document-trace/document-trace.component.d.ts +98 -0
  330. package/lib/admin/document-trace/reassign.dialog.d.ts +22 -0
  331. package/lib/admin/document-trace/timeline.d.ts +40 -0
  332. package/lib/admin/document-trace/trace-element.component.d.ts +51 -0
  333. package/lib/admin/form/form.resolve.service.d.ts +12 -0
  334. package/lib/admin/form/form.service.d.ts +30 -0
  335. package/lib/admin/form/workflow/node-ref.d.ts +7 -0
  336. package/lib/admin/form/workflow/node.component.d.ts +37 -0
  337. package/lib/admin/form/workflow/role-node.component.d.ts +22 -0
  338. package/lib/admin/form/workflow/workflow.component.d.ts +76 -0
  339. package/lib/admin/indices/manage-cube-index.component.d.ts +54 -0
  340. package/lib/admin/patterns/patterns.component.d.ts +79 -0
  341. package/lib/admin/permissions/permissions.component.d.ts +45 -0
  342. package/lib/admin/positions/positions-popup.component.d.ts +39 -0
  343. package/lib/admin/positions/positions.component.d.ts +117 -0
  344. package/lib/admin/profiler/outofoffice.component.d.ts +48 -0
  345. package/lib/admin/profiler/profiler.component.d.ts +116 -0
  346. package/lib/admin/utility-ref.d.ts +19 -0
  347. package/lib/admin/utility-wrapper.component.d.ts +28 -0
  348. package/lib/admin/utility.pane.component.d.ts +24 -0
  349. package/lib/app.component.d.ts +24 -0
  350. package/lib/bizdoc.module.d.ts +18 -0
  351. package/lib/browse/browse-items.component.d.ts +103 -0
  352. package/lib/browse/browse.mobile.component.d.ts +39 -0
  353. package/lib/browse/browse.pane.component.d.ts +50 -0
  354. package/lib/browse/expanded-item/expanded-item.component.d.ts +67 -0
  355. package/lib/browse/filter/filter.component.d.ts +71 -0
  356. package/lib/browse/folders-menu.component.d.ts +22 -0
  357. package/lib/chat/chat-info.d.ts +37 -0
  358. package/lib/chat/chat.mobile.component.d.ts +10 -0
  359. package/lib/chat/chat.service.d.ts +38 -0
  360. package/lib/chat/contacts.component.d.ts +38 -0
  361. package/lib/chat/contacts.pane.component.d.ts +12 -0
  362. package/lib/chat/conversation.component.d.ts +56 -0
  363. package/lib/chat/conversation.pane.component.d.ts +16 -0
  364. package/lib/compose/action/action-picker.component.d.ts +25 -0
  365. package/lib/compose/action/action-ref.d.ts +10 -0
  366. package/lib/compose/action/action.base.d.ts +15 -0
  367. package/lib/compose/action/action.dialog.d.ts +29 -0
  368. package/lib/compose/action/action.pane.dialog.exp.d.ts +31 -0
  369. package/lib/compose/action/assign-action.component.d.ts +30 -0
  370. package/lib/compose/action/moveto-action.component.d.ts +36 -0
  371. package/lib/compose/action/return-action.component.d.ts +19 -0
  372. package/lib/compose/attachments/attachments.component.d.ts +35 -0
  373. package/lib/compose/attachments/preview/attachment-preview.component.d.ts +49 -0
  374. package/lib/compose/attachments/progress-button.directive.d.ts +12 -0
  375. package/lib/compose/can-deactivate-changes.service.d.ts +12 -0
  376. package/lib/compose/comments/Comments.pane.component.d.ts +18 -0
  377. package/lib/compose/comments/comment.component.d.ts +51 -0
  378. package/lib/compose/comments/comments.component.d.ts +66 -0
  379. package/lib/compose/comments/edit-comment.component.d.ts +25 -0
  380. package/lib/compose/comments/edits.component.d.ts +26 -0
  381. package/lib/compose/comments/quick-comment.component.exp.d.ts +28 -0
  382. package/lib/compose/comments/votes.component.d.ts +22 -0
  383. package/lib/compose/compose-resolve.service.d.ts +27 -0
  384. package/lib/compose/compose.mobile.component.d.ts +42 -0
  385. package/lib/compose/compose.pane.component.d.ts +58 -0
  386. package/lib/compose/copy/copy.dialog.d.ts +23 -0
  387. package/lib/compose/dismiss.service.d.ts +12 -0
  388. package/lib/compose/document-resolver.service.d.ts +12 -0
  389. package/lib/compose/document.component.d.ts +18 -0
  390. package/lib/compose/document.mobile.component.d.ts +10 -0
  391. package/lib/compose/document.pane.component.d.ts +12 -0
  392. package/lib/compose/events/events.component.d.ts +13 -0
  393. package/lib/compose/form-ref.d.ts +30 -0
  394. package/lib/compose/form-selector/form-selector.sheet.d.ts +28 -0
  395. package/lib/compose/form.component.d.ts +101 -0
  396. package/lib/compose/new-menu.component.d.ts +36 -0
  397. package/lib/compose/privilage.directive.d.ts +26 -0
  398. package/lib/compose/recipient-resolver.service.d.ts +12 -0
  399. package/lib/compose/save-changes.dialog.d.ts +7 -0
  400. package/lib/compose/state.component.d.ts +12 -0
  401. package/lib/compose/tag/tags.component.d.ts +36 -0
  402. package/lib/compose/trace/flow.component.d.ts +59 -0
  403. package/lib/compose/trace/people.component.d.ts +18 -0
  404. package/lib/compose/trace/trace.base.d.ts +28 -0
  405. package/lib/compose/trace/trace.component.d.ts +55 -0
  406. package/lib/compose/trace/trace.pane.component.d.ts +20 -0
  407. package/lib/compose/version-compare/version-compare.component.d.ts +24 -0
  408. package/lib/compose/version-compare/version-compare.directive.d.ts +89 -0
  409. package/lib/compose/version-compare/version.pane.component.d.ts +21 -0
  410. package/lib/core/NgComponentOutlet.d.ts +15 -0
  411. package/lib/core/account.service.d.ts +18 -0
  412. package/lib/core/animated-icon/animated-icon.directive.d.ts +7 -0
  413. package/lib/core/animations.d.ts +26 -0
  414. package/lib/core/authentication.d.ts +6 -0
  415. package/lib/core/avatar/avatar.component.d.ts +34 -0
  416. package/lib/core/base.d.ts +31 -0
  417. package/lib/core/colors.d.ts +6 -0
  418. package/lib/core/component-factory-resolver.d.ts +12 -0
  419. package/lib/core/configuration.d.ts +113 -0
  420. package/lib/core/controls/address.input.d.ts +65 -0
  421. package/lib/core/controls/auto-complete.input.d.ts +86 -0
  422. package/lib/core/controls/combination-picker-body.d.ts +114 -0
  423. package/lib/core/controls/combination-picker.d.ts +82 -0
  424. package/lib/core/controls/combination-pool.d.ts +42 -0
  425. package/lib/core/controls/file.input.d.ts +99 -0
  426. package/lib/core/controls/select.input.d.ts +84 -0
  427. package/lib/core/controls/time-picker.d.ts +52 -0
  428. package/lib/core/controls/timespan.input.d.ts +55 -0
  429. package/lib/core/datasource.service.d.ts +46 -0
  430. package/lib/core/decorators.d.ts +17 -0
  431. package/lib/core/firebase.service.d.ts +17 -0
  432. package/lib/core/functions.d.ts +54 -0
  433. package/lib/core/guide/guide.component.d.ts +32 -0
  434. package/lib/core/guide/guide.service.d.ts +38 -0
  435. package/lib/core/guide/help-tip.component.d.ts +16 -0
  436. package/lib/core/http.interceptor.d.ts +21 -0
  437. package/lib/core/hub.service.d.ts +133 -0
  438. package/lib/core/identity/identity.component.d.ts +29 -0
  439. package/lib/core/info/attachment-info.service.d.ts +17 -0
  440. package/lib/core/info/document-info.service.d.ts +14 -0
  441. package/lib/core/info/location-info.component.d.ts +28 -0
  442. package/lib/core/info/map-info.d.ts +15 -0
  443. package/lib/core/layout/autocomplete.field.d.ts +21 -0
  444. package/lib/core/layout/checkbox.d.ts +10 -0
  445. package/lib/core/layout/checkbox.field.d.ts +11 -0
  446. package/lib/core/layout/date-range.field.d.ts +13 -0
  447. package/lib/core/layout/date.field.d.ts +11 -0
  448. package/lib/core/layout/expression.field.d.ts +12 -0
  449. package/lib/core/layout/file.field.d.ts +14 -0
  450. package/lib/core/layout/html.field.d.ts +12 -0
  451. package/lib/core/layout/input.base.d.ts +10 -0
  452. package/lib/core/layout/input.field.d.ts +14 -0
  453. package/lib/core/layout/layout.component.d.ts +33 -0
  454. package/lib/core/layout/numeric.field.d.ts +11 -0
  455. package/lib/core/layout/select.field.d.ts +22 -0
  456. package/lib/core/layout/switch.field.d.ts +11 -0
  457. package/lib/core/layout/textarea.field.d.ts +11 -0
  458. package/lib/core/layout/timespan.field.d.ts +11 -0
  459. package/lib/core/lottie-animation.d.ts +14 -0
  460. package/lib/core/mailbox.service.d.ts +142 -0
  461. package/lib/core/models.d.ts +652 -0
  462. package/lib/core/none.component.d.ts +9 -0
  463. package/lib/core/pipes/action.pipe.d.ts +10 -0
  464. package/lib/core/pipes/calendar.pipe.d.ts +27 -0
  465. package/lib/core/pipes/date-format.pipe.d.ts +8 -0
  466. package/lib/core/pipes/daterange.pipe.d.ts +15 -0
  467. package/lib/core/pipes/difference.pipe.d.ts +7 -0
  468. package/lib/core/pipes/duration-format.pipe.d.ts +11 -0
  469. package/lib/core/pipes/duration.pipe.d.ts +8 -0
  470. package/lib/core/pipes/form.pipe.d.ts +10 -0
  471. package/lib/core/pipes/join.pipe.d.ts +10 -0
  472. package/lib/core/pipes/role.pipe.d.ts +10 -0
  473. package/lib/core/pipes/sanitize-html.pipe.d.ts +10 -0
  474. package/lib/core/pipes/sort.pipe.d.ts +12 -0
  475. package/lib/core/pipes/state.pipe.d.ts +10 -0
  476. package/lib/core/pipes/time-ago.pipe.d.ts +16 -0
  477. package/lib/core/pipes/translate.pipe.d.ts +18 -0
  478. package/lib/core/pipes/type-value.pipe.d.ts +15 -0
  479. package/lib/core/pipes/user-name.pipe.d.ts +11 -0
  480. package/lib/core/popup/popup-ref.d.ts +14 -0
  481. package/lib/core/popup/popup.component.d.ts +22 -0
  482. package/lib/core/popup/popup.service.d.ts +24 -0
  483. package/lib/core/popup/tooltip.directive.d.ts +29 -0
  484. package/lib/core/prompt/ask/ask.dialog.d.ts +22 -0
  485. package/lib/core/prompt/mask/mask.component.d.ts +10 -0
  486. package/lib/core/prompt.service.d.ts +36 -0
  487. package/lib/core/router.d.ts +22 -0
  488. package/lib/core/session.service.d.ts +82 -0
  489. package/lib/core/slots/pane-ref.d.ts +135 -0
  490. package/lib/core/slots/router.directive.d.ts +25 -0
  491. package/lib/core/slots/router.service.d.ts +36 -0
  492. package/lib/core/slots/slots.component.d.ts +212 -0
  493. package/lib/core/tagging/documents.component.d.ts +11 -0
  494. package/lib/core/tagging/edit-input.component.d.ts +65 -0
  495. package/lib/core/tagging/emoji.component.d.ts +18 -0
  496. package/lib/core/tagging/tagging-item.directive.d.ts +15 -0
  497. package/lib/core/tagging/tagging.component-base.d.ts +19 -0
  498. package/lib/core/tagging/tagging.directive.d.ts +34 -0
  499. package/lib/core/tagging/tagging.pipe.d.ts +24 -0
  500. package/lib/core/tagging/users.component.d.ts +15 -0
  501. package/lib/core/translate.service.d.ts +31 -0
  502. package/lib/core/translations.d.ts +1132 -0
  503. package/lib/core/window-title.service.d.ts +21 -0
  504. package/lib/cube/accum/accum.component.d.ts +63 -0
  505. package/lib/cube/chart/chart.component.d.ts +74 -0
  506. package/lib/cube/cube-info.service.d.ts +77 -0
  507. package/lib/cube/cube-menu.component.d.ts +12 -0
  508. package/lib/cube/cube-view.component.d.ts +31 -0
  509. package/lib/cube/cube.service.d.ts +268 -0
  510. package/lib/cube/declarations.d.ts +23 -0
  511. package/lib/cube/explore/document-item.component.d.ts +16 -0
  512. package/lib/cube/explore/explore-item.component.d.ts +14 -0
  513. package/lib/cube/explore/explore-items.component.d.ts +57 -0
  514. package/lib/cube/explore/explore.pane.component.d.ts +30 -0
  515. package/lib/cube/explore/item-resolver.service.d.ts +20 -0
  516. package/lib/cube/explore/item.pane.component.d.ts +13 -0
  517. package/lib/cube/filter/filter-tags.component.exp.d.ts +31 -0
  518. package/lib/cube/filter/filter.component.d.ts +44 -0
  519. package/lib/cube/grid/grid.component.d.ts +59 -0
  520. package/lib/cube/grid/spreadsheet.component.d.ts +62 -0
  521. package/lib/cube/matrix/matrix.base.d.ts +72 -0
  522. package/lib/cube/matrix/matrix.mobile.component.d.ts +22 -0
  523. package/lib/cube/matrix/matrix.pane.component.d.ts +36 -0
  524. package/lib/cube/matrix/popup.component.d.ts +21 -0
  525. package/lib/cube/matrix/table.component.d.ts +100 -0
  526. package/lib/cube/parallel/item.d.ts +13 -0
  527. package/lib/cube/parallel/parallel.component.d.ts +52 -0
  528. package/lib/cube/pivot/pivot.component.d.ts +103 -0
  529. package/lib/cube/sum/sum.component.d.ts +81 -0
  530. package/lib/cube/view-base.d.ts +39 -0
  531. package/lib/cube/view.mobile.component.d.ts +46 -0
  532. package/lib/cube/view.pane.component.d.ts +27 -0
  533. package/lib/dashboard/actions/actions.widget.d.ts +39 -0
  534. package/lib/dashboard/cube/accum-cube.widget.d.ts +33 -0
  535. package/lib/dashboard/cube/compare.widget.d.ts +53 -0
  536. package/lib/dashboard/cube/cube-analysis.base.d.ts +59 -0
  537. package/lib/dashboard/cube/cube-analysis.widget.d.ts +17 -0
  538. package/lib/dashboard/cube/cube-chart.widget.d.ts +32 -0
  539. package/lib/dashboard/cube/documents.widget.d.ts +30 -0
  540. package/lib/dashboard/cube/filter/filter.component.d.ts +22 -0
  541. package/lib/dashboard/dashboard.component.d.ts +24 -0
  542. package/lib/dashboard/dashboard.pane.component.d.ts +8 -0
  543. package/lib/dashboard/recents/recents.widget.d.ts +40 -0
  544. package/lib/dashboard/score/activity.widget.d.ts +50 -0
  545. package/lib/dashboard/score/compare-groups.widget.d.ts +51 -0
  546. package/lib/dashboard/score/peers-performance.widget.d.ts +65 -0
  547. package/lib/dashboard/score/pending-results.widget.d.ts +27 -0
  548. package/lib/dashboard/score/personal-score.widget.d.ts +57 -0
  549. package/lib/dashboard/widget-item.component.d.ts +33 -0
  550. package/lib/dashboard/widget-ref.d.ts +11 -0
  551. package/lib/desktop.module.d.ts +45 -0
  552. package/lib/home/about/about.dialog.d.ts +14 -0
  553. package/lib/home/home-base.component.d.ts +34 -0
  554. package/lib/home/home.desktop.component.d.ts +60 -0
  555. package/lib/home/home.mobile.component.d.ts +38 -0
  556. package/lib/home/notifications/notifications.component.d.ts +28 -0
  557. package/lib/home/options/options.component.d.ts +46 -0
  558. package/lib/home/outofoffice/outofoffice.component.d.ts +19 -0
  559. package/lib/home/search.service.d.ts +23 -0
  560. package/lib/home/sign/sign.component.d.ts +17 -0
  561. package/lib/home/tools.component.d.ts +36 -0
  562. package/lib/impersonate/impersonate.component.d.ts +27 -0
  563. package/lib/mobile.module.d.ts +25 -0
  564. package/lib/modules/chart.module.d.ts +7 -0
  565. package/lib/modules/circular-gauge.module.d.ts +7 -0
  566. package/lib/modules/date.adapter.d.ts +10 -0
  567. package/lib/modules/datepicker.intl.d.ts +30 -0
  568. package/lib/modules/dayjs.module.d.ts +6 -0
  569. package/lib/modules/diagram.module.d.ts +8 -0
  570. package/lib/modules/gantt.module.d.ts +7 -0
  571. package/lib/modules/grid.module.d.ts +7 -0
  572. package/lib/modules/material.module.d.ts +45 -0
  573. package/lib/modules/paginator.intl.d.ts +14 -0
  574. package/lib/modules/pivot.module.d.ts +7 -0
  575. package/lib/modules/schedule.module.d.ts +7 -0
  576. package/lib/modules/spreadsheet.module.d.ts +8 -0
  577. package/lib/modules/stepper.intl.d.ts +10 -0
  578. package/lib/modules/texteditor.module.d.ts +8 -0
  579. package/lib/notifications/filter.component.d.ts +9 -0
  580. package/lib/notifications/notifications-table.component.d.ts +32 -0
  581. package/lib/notifications/notifications.component-base.d.ts +12 -0
  582. package/lib/notifications/notifications.mobile.component.d.ts +8 -0
  583. package/lib/notifications/notifications.pane.component.d.ts +8 -0
  584. package/lib/notifications/notifications.service.d.ts +24 -0
  585. package/lib/notifications/types/commented.notification.d.ts +26 -0
  586. package/lib/notifications/types/cube-anomaly.notification.d.ts +29 -0
  587. package/lib/notifications/types/escalated.notification.d.ts +25 -0
  588. package/lib/notifications/types/liked.notification.d.ts +25 -0
  589. package/lib/notifications/types/long-running-task.notification.d.ts +21 -0
  590. package/lib/notifications/types/notification-base.d.ts +20 -0
  591. package/lib/notifications/types/nudge.notification.d.ts +23 -0
  592. package/lib/notifications/types/state-changed.notification.d.ts +22 -0
  593. package/lib/notifications/types/tagged.notification.d.ts +26 -0
  594. package/lib/notifications/types/text.notification.d.ts +13 -0
  595. package/lib/notifications/types/upcoming-event.notification.d.ts +20 -0
  596. package/lib/options/options.component.d.ts +67 -0
  597. package/lib/options/options.service.d.ts +14 -0
  598. package/lib/reports/arguments-component.d.ts +27 -0
  599. package/lib/reports/cube/documents.component.d.ts +34 -0
  600. package/lib/reports/cube/grid-documents.component.d.ts +28 -0
  601. package/lib/reports/cube/table-documents.component.d.ts +28 -0
  602. package/lib/reports/cube/usage-args.component.d.ts +21 -0
  603. package/lib/reports/cube/usage-base.d.ts +72 -0
  604. package/lib/reports/cube/usage-chart.component.d.ts +62 -0
  605. package/lib/reports/cube/usage-pivot.component.d.ts +66 -0
  606. package/lib/reports/cube/usage.component.d.ts +16 -0
  607. package/lib/reports/report-ref.d.ts +27 -0
  608. package/lib/reports/report-viewer.component.d.ts +47 -0
  609. package/lib/reports/report.mobile.component.d.ts +48 -0
  610. package/lib/reports/report.pane.component.d.ts +37 -0
  611. package/lib/reports/reports-menu.component.d.ts +12 -0
  612. package/lib/reports/substitution/substitution.component.d.ts +23 -0
  613. package/lib/reports/table/table-view.component.d.ts +19 -0
  614. package/lib/reports/tasks/tasks.component.d.ts +68 -0
  615. package/lib/routes.desktop.d.ts +2 -0
  616. package/lib/routes.mobile.d.ts +2 -0
  617. package/lib/scheduler/schedule.component.d.ts +43 -0
  618. package/lib/scheduler/scheduler.mobile.component.d.ts +14 -0
  619. package/lib/scheduler/scheduler.pane.component.d.ts +20 -0
  620. package/lib/shared.module.d.ts +192 -0
  621. package/lib/system.module.d.ts +34 -0
  622. package/lib/views/cube/chart.component.d.ts +39 -0
  623. package/lib/views/cube/cube-base.d.ts +46 -0
  624. package/lib/views/cube/explore.component.d.ts +43 -0
  625. package/lib/views/cube/matrix.component.d.ts +51 -0
  626. package/lib/views/cube/parallel.component.d.ts +32 -0
  627. package/lib/views/cube/pivot.component.d.ts +34 -0
  628. package/lib/views/cube/sum.component.d.ts +33 -0
  629. package/lib/views/cube/view.component.d.ts +40 -0
  630. package/lib/views/document-view-ref.d.ts +18 -0
  631. package/lib/views/timeline/timeline.component.exp.d.ts +66 -0
  632. package/lib/views/view-item.component.d.ts +28 -0
  633. package/lib/views/views.component.d.ts +18 -0
  634. package/lib/views/views.mobile.component.d.ts +10 -0
  635. package/lib/views/views.pane.component.d.ts +13 -0
  636. package/package.json +78 -78
  637. package/public-api.d.ts +146 -0
  638. package/LICENSE.md +0 -1
  639. package/karma.conf.js +0 -44
  640. package/ng-package.json +0 -11
  641. package/src/icons/pdf.svg +0 -24
  642. package/src/icons/word.svg +0 -13
  643. package/src/lib/admin/_admin-theme.scss +0 -6
  644. package/src/lib/admin/admin-dismiss.service.ts +0 -24
  645. package/src/lib/admin/admin-menu.component.html +0 -18
  646. package/src/lib/admin/admin-menu.component.ts +0 -20
  647. package/src/lib/admin/core/ace.input.ts +0 -133
  648. package/src/lib/admin/core/color-picker.input.scss +0 -17
  649. package/src/lib/admin/core/color-picker.input.ts +0 -175
  650. package/src/lib/admin/core/search.input.ts +0 -32
  651. package/src/lib/admin/diff/_configuration-diff-theme.scss +0 -84
  652. package/src/lib/admin/diff/configuration-diff.component.html +0 -24
  653. package/src/lib/admin/diff/configuration-diff.component.scss +0 -16
  654. package/src/lib/admin/diff/configuration-diff.component.ts +0 -552
  655. package/src/lib/admin/document-trace/Timeline.ts +0 -45
  656. package/src/lib/admin/document-trace/_timeline-theme.scss +0 -70
  657. package/src/lib/admin/document-trace/document-trace.component.html +0 -96
  658. package/src/lib/admin/document-trace/document-trace.component.scss +0 -16
  659. package/src/lib/admin/document-trace/document-trace.component.ts +0 -526
  660. package/src/lib/admin/document-trace/reassign.dialog.html +0 -24
  661. package/src/lib/admin/document-trace/reassign.dialog.ts +0 -34
  662. package/src/lib/admin/document-trace/trace-element.component.html +0 -55
  663. package/src/lib/admin/document-trace/trace-element.component.scss +0 -23
  664. package/src/lib/admin/document-trace/trace-element.component.ts +0 -139
  665. package/src/lib/admin/form/form.resolve.service.ts +0 -13
  666. package/src/lib/admin/form/form.service.ts +0 -49
  667. package/src/lib/admin/form/workflow/node-ref.ts +0 -8
  668. package/src/lib/admin/form/workflow/node.component.html +0 -36
  669. package/src/lib/admin/form/workflow/node.component.scss +0 -4
  670. package/src/lib/admin/form/workflow/node.component.ts +0 -129
  671. package/src/lib/admin/form/workflow/role-node.component.html +0 -40
  672. package/src/lib/admin/form/workflow/role-node.component.ts +0 -66
  673. package/src/lib/admin/form/workflow/tools.component.exp.ts +0 -13
  674. package/src/lib/admin/form/workflow/tools.component.html +0 -1
  675. package/src/lib/admin/form/workflow/workflow.component.html +0 -66
  676. package/src/lib/admin/form/workflow/workflow.component.scss +0 -57
  677. package/src/lib/admin/form/workflow/workflow.component.ts +0 -438
  678. package/src/lib/admin/indices/manage-cube-index.component.html +0 -35
  679. package/src/lib/admin/indices/manage-cube-index.component.scss +0 -16
  680. package/src/lib/admin/indices/manage-cube-index.component.ts +0 -155
  681. package/src/lib/admin/patterns/patterns.component.html +0 -70
  682. package/src/lib/admin/patterns/patterns.component.ts +0 -166
  683. package/src/lib/admin/permissions/permissions.component.html +0 -21
  684. package/src/lib/admin/permissions/permissions.component.scss +0 -7
  685. package/src/lib/admin/permissions/permissions.component.ts +0 -89
  686. package/src/lib/admin/positions/positions-popup.component.html +0 -23
  687. package/src/lib/admin/positions/positions-popup.component.ts +0 -68
  688. package/src/lib/admin/positions/positions.component.html +0 -150
  689. package/src/lib/admin/positions/positions.component.scss +0 -20
  690. package/src/lib/admin/positions/positions.component.ts +0 -464
  691. package/src/lib/admin/profiler/assign.component.html +0 -14
  692. package/src/lib/admin/profiler/outofoffice.component.html +0 -64
  693. package/src/lib/admin/profiler/outofoffice.component.ts +0 -146
  694. package/src/lib/admin/profiler/profiler.component.html +0 -110
  695. package/src/lib/admin/profiler/profiler.component.scss +0 -23
  696. package/src/lib/admin/profiler/profiler.component.ts +0 -302
  697. package/src/lib/admin/utility-ref.ts +0 -44
  698. package/src/lib/admin/utility-wrapper.component.ts +0 -52
  699. package/src/lib/admin/utility.pane.component.ts +0 -49
  700. package/src/lib/app.component.ts +0 -90
  701. package/src/lib/bizdoc.module.ts +0 -82
  702. package/src/lib/browse/_browse-theme.scss +0 -86
  703. package/src/lib/browse/browse-items.component.html +0 -171
  704. package/src/lib/browse/browse-items.component.scss +0 -52
  705. package/src/lib/browse/browse-items.component.ts +0 -460
  706. package/src/lib/browse/browse.mobile.component.html +0 -33
  707. package/src/lib/browse/browse.mobile.component.ts +0 -90
  708. package/src/lib/browse/browse.pane.component.html +0 -43
  709. package/src/lib/browse/browse.pane.component.scss +0 -4
  710. package/src/lib/browse/browse.pane.component.ts +0 -141
  711. package/src/lib/browse/expanded-item/expanded-item.component.html +0 -38
  712. package/src/lib/browse/expanded-item/expanded-item.component.scss +0 -35
  713. package/src/lib/browse/expanded-item/expanded-item.component.ts +0 -339
  714. package/src/lib/browse/filter/filter.component.html +0 -50
  715. package/src/lib/browse/filter/filter.component.scss +0 -10
  716. package/src/lib/browse/filter/filter.component.ts +0 -156
  717. package/src/lib/browse/folders-menu.component.html +0 -20
  718. package/src/lib/browse/folders-menu.component.scss +0 -15
  719. package/src/lib/browse/folders-menu.component.ts +0 -42
  720. package/src/lib/chat/_chat-theme.scss +0 -95
  721. package/src/lib/chat/chat-info.ts +0 -74
  722. package/src/lib/chat/chat-pool.component.exp.ts +0 -117
  723. package/src/lib/chat/chat-pool.component.html +0 -13
  724. package/src/lib/chat/chat-pool.component.scss +0 -10
  725. package/src/lib/chat/chat.mobile.component.html +0 -6
  726. package/src/lib/chat/chat.mobile.component.scss +0 -8
  727. package/src/lib/chat/chat.mobile.component.ts +0 -18
  728. package/src/lib/chat/chat.service.ts +0 -128
  729. package/src/lib/chat/contacts.component.html +0 -37
  730. package/src/lib/chat/contacts.component.scss +0 -49
  731. package/src/lib/chat/contacts.component.ts +0 -88
  732. package/src/lib/chat/contacts.pane.component.ts +0 -25
  733. package/src/lib/chat/conversation.component.html +0 -28
  734. package/src/lib/chat/conversation.component.scss +0 -14
  735. package/src/lib/chat/conversation.component.ts +0 -186
  736. package/src/lib/chat/conversation.pane.component.ts +0 -55
  737. package/src/lib/compose/_compose-theme.scss +0 -63
  738. package/src/lib/compose/action/action-picker.component.html +0 -25
  739. package/src/lib/compose/action/action-picker.component.scss +0 -4
  740. package/src/lib/compose/action/action-picker.component.ts +0 -72
  741. package/src/lib/compose/action/action-ref.ts +0 -19
  742. package/src/lib/compose/action/action.base.ts +0 -58
  743. package/src/lib/compose/action/action.dialog.html +0 -17
  744. package/src/lib/compose/action/action.dialog.scss +0 -1
  745. package/src/lib/compose/action/action.dialog.ts +0 -57
  746. package/src/lib/compose/action/action.pane.dialog.exp.ts +0 -77
  747. package/src/lib/compose/action/action.pane.dialog.html +0 -12
  748. package/src/lib/compose/action/assign-action.component.html +0 -23
  749. package/src/lib/compose/action/assign-action.component.ts +0 -57
  750. package/src/lib/compose/action/moveto-action.component.html +0 -33
  751. package/src/lib/compose/action/moveto-action.component.ts +0 -77
  752. package/src/lib/compose/action/return-action.component.html +0 -13
  753. package/src/lib/compose/action/return-action.component.ts +0 -42
  754. package/src/lib/compose/attachments/attachments.component.html +0 -23
  755. package/src/lib/compose/attachments/attachments.component.scss +0 -21
  756. package/src/lib/compose/attachments/attachments.component.ts +0 -114
  757. package/src/lib/compose/attachments/preview/attachment-preview.component.html +0 -17
  758. package/src/lib/compose/attachments/preview/attachment-preview.component.scss +0 -36
  759. package/src/lib/compose/attachments/preview/attachment-preview.component.ts +0 -140
  760. package/src/lib/compose/attachments/progress-button.directive.ts +0 -18
  761. package/src/lib/compose/can-deactivate-changes.service.ts +0 -22
  762. package/src/lib/compose/comments/_comments-theme.scss +0 -82
  763. package/src/lib/compose/comments/comment.component.html +0 -36
  764. package/src/lib/compose/comments/comment.component.ts +0 -160
  765. package/src/lib/compose/comments/comments.component.html +0 -27
  766. package/src/lib/compose/comments/comments.component.scss +0 -33
  767. package/src/lib/compose/comments/comments.component.ts +0 -220
  768. package/src/lib/compose/comments/comments.pane.component.ts +0 -41
  769. package/src/lib/compose/comments/edit-comment.component.html +0 -3
  770. package/src/lib/compose/comments/edit-comment.component.ts +0 -35
  771. package/src/lib/compose/comments/edits.component.html +0 -7
  772. package/src/lib/compose/comments/edits.component.ts +0 -33
  773. package/src/lib/compose/comments/quick-comment.component.exp.ts +0 -60
  774. package/src/lib/compose/comments/quick-comment.component.html +0 -5
  775. package/src/lib/compose/comments/quick-comment.component.scss +0 -11
  776. package/src/lib/compose/comments/votes.component.html +0 -7
  777. package/src/lib/compose/comments/votes.component.ts +0 -38
  778. package/src/lib/compose/compose-resolve.service.ts +0 -42
  779. package/src/lib/compose/compose.mobile.component.html +0 -67
  780. package/src/lib/compose/compose.mobile.component.scss +0 -14
  781. package/src/lib/compose/compose.mobile.component.ts +0 -97
  782. package/src/lib/compose/compose.pane.component.html +0 -68
  783. package/src/lib/compose/compose.pane.component.scss +0 -6
  784. package/src/lib/compose/compose.pane.component.ts +0 -188
  785. package/src/lib/compose/copy/copy.dialog.html +0 -21
  786. package/src/lib/compose/copy/copy.dialog.ts +0 -40
  787. package/src/lib/compose/dismiss.service.ts +0 -26
  788. package/src/lib/compose/document-resolver.service.ts +0 -13
  789. package/src/lib/compose/document.component.html +0 -5
  790. package/src/lib/compose/document.component.ts +0 -41
  791. package/src/lib/compose/document.mobile.component.ts +0 -20
  792. package/src/lib/compose/document.pane.component.ts +0 -22
  793. package/src/lib/compose/events/events.component.html +0 -6
  794. package/src/lib/compose/events/events.component.ts +0 -21
  795. package/src/lib/compose/form-ref.ts +0 -53
  796. package/src/lib/compose/form-selector/form-selector.sheet.html +0 -10
  797. package/src/lib/compose/form-selector/form-selector.sheet.ts +0 -84
  798. package/src/lib/compose/form.component.html +0 -13
  799. package/src/lib/compose/form.component.ts +0 -456
  800. package/src/lib/compose/maps/maps.component.html +0 -3
  801. package/src/lib/compose/maps/maps.component.ts +0 -22
  802. package/src/lib/compose/new-menu.component.html +0 -13
  803. package/src/lib/compose/new-menu.component.scss +0 -11
  804. package/src/lib/compose/new-menu.component.ts +0 -106
  805. package/src/lib/compose/privilage.directive.ts +0 -43
  806. package/src/lib/compose/recipient-resolver.service.ts +0 -15
  807. package/src/lib/compose/save-changes.dialog.html +0 -13
  808. package/src/lib/compose/save-changes.dialog.ts +0 -10
  809. package/src/lib/compose/state.component.ts +0 -29
  810. package/src/lib/compose/tag/tags.component.html +0 -22
  811. package/src/lib/compose/tag/tags.component.scss +0 -1
  812. package/src/lib/compose/tag/tags.component.ts +0 -83
  813. package/src/lib/compose/trace/flow.component.html +0 -19
  814. package/src/lib/compose/trace/flow.component.scss +0 -7
  815. package/src/lib/compose/trace/flow.component.ts +0 -747
  816. package/src/lib/compose/trace/people.component.ts +0 -33
  817. package/src/lib/compose/trace/trace.base.ts +0 -72
  818. package/src/lib/compose/trace/trace.component.html +0 -57
  819. package/src/lib/compose/trace/trace.component.scss +0 -21
  820. package/src/lib/compose/trace/trace.component.ts +0 -388
  821. package/src/lib/compose/trace/trace.pane.component.html +0 -3
  822. package/src/lib/compose/trace/trace.pane.component.scss +0 -5
  823. package/src/lib/compose/trace/trace.pane.component.ts +0 -47
  824. package/src/lib/compose/version-compare/_compare-theme.scss +0 -147
  825. package/src/lib/compose/version-compare/version-compare.component.ts +0 -49
  826. package/src/lib/compose/version-compare/version-compare.directive.ts +0 -292
  827. package/src/lib/compose/version-compare/version.pane.component.html +0 -19
  828. package/src/lib/compose/version-compare/version.pane.component.scss +0 -8
  829. package/src/lib/compose/version-compare/version.pane.component.ts +0 -53
  830. package/src/lib/core/NgComponentOutlet.ts +0 -31
  831. package/src/lib/core/account.service.ts +0 -30
  832. package/src/lib/core/animated-icon/animated-icon.directive.html +0 -3
  833. package/src/lib/core/animated-icon/animated-icon.directive.scss +0 -12
  834. package/src/lib/core/animated-icon/animated-icon.directive.ts +0 -41
  835. package/src/lib/core/animations.ts +0 -207
  836. package/src/lib/core/authentication.ts +0 -7
  837. package/src/lib/core/avatar/_avatar-theme.scss +0 -60
  838. package/src/lib/core/avatar/avatar.component.html +0 -6
  839. package/src/lib/core/avatar/avatar.component.ts +0 -108
  840. package/src/lib/core/base.ts +0 -43
  841. package/src/lib/core/can-activate.service.exp.ts +0 -31
  842. package/src/lib/core/colors.ts +0 -322
  843. package/src/lib/core/component-factory-resolver.ts +0 -67
  844. package/src/lib/core/configuration.ts +0 -124
  845. package/src/lib/core/controls/_daterange-theme.scss +0 -16
  846. package/src/lib/core/controls/address.input.ts +0 -173
  847. package/src/lib/core/controls/auto-complete.input.ts +0 -218
  848. package/src/lib/core/controls/combination-picker-body.html +0 -34
  849. package/src/lib/core/controls/combination-picker-body.scss +0 -40
  850. package/src/lib/core/controls/combination-picker-body.ts +0 -194
  851. package/src/lib/core/controls/combination-picker.html +0 -6
  852. package/src/lib/core/controls/combination-picker.scss +0 -9
  853. package/src/lib/core/controls/combination-picker.ts +0 -243
  854. package/src/lib/core/controls/combination-pool.html +0 -10
  855. package/src/lib/core/controls/combination-pool.scss +0 -35
  856. package/src/lib/core/controls/combination-pool.ts +0 -92
  857. package/src/lib/core/controls/file.input.html +0 -50
  858. package/src/lib/core/controls/file.input.scss +0 -41
  859. package/src/lib/core/controls/file.input.ts +0 -400
  860. package/src/lib/core/controls/select.input.ts +0 -210
  861. package/src/lib/core/controls/time-picker.html +0 -4
  862. package/src/lib/core/controls/time-picker.ts +0 -199
  863. package/src/lib/core/controls/timespan.input.ts +0 -175
  864. package/src/lib/core/datasource.service.ts +0 -80
  865. package/src/lib/core/decorators.ts +0 -56
  866. package/src/lib/core/firebase.service.ts +0 -55
  867. package/src/lib/core/functions.ts +0 -246
  868. package/src/lib/core/guide/_guide-theme.scss +0 -197
  869. package/src/lib/core/guide/guide.component.html +0 -20
  870. package/src/lib/core/guide/guide.component.ts +0 -222
  871. package/src/lib/core/guide/guide.service.ts +0 -108
  872. package/src/lib/core/guide/help-tip.component.ts +0 -43
  873. package/src/lib/core/http.interceptor.ts +0 -80
  874. package/src/lib/core/hub.service.ts +0 -202
  875. package/src/lib/core/identity/identity.component.html +0 -2
  876. package/src/lib/core/identity/identity.component.ts +0 -57
  877. package/src/lib/core/info/attachment-info.service.ts +0 -46
  878. package/src/lib/core/info/document-info.service.ts +0 -15
  879. package/src/lib/core/info/location-info.component.scss +0 -13
  880. package/src/lib/core/info/location-info.component.ts +0 -64
  881. package/src/lib/core/info/map-info.ts +0 -33
  882. package/src/lib/core/layout/autocomplete.field.ts +0 -41
  883. package/src/lib/core/layout/checkbox.field.ts +0 -21
  884. package/src/lib/core/layout/checkbox.scss +0 -13
  885. package/src/lib/core/layout/checkbox.ts +0 -21
  886. package/src/lib/core/layout/date-range.field.ts +0 -32
  887. package/src/lib/core/layout/date.field.ts +0 -26
  888. package/src/lib/core/layout/expression.field.ts +0 -26
  889. package/src/lib/core/layout/file.field.ts +0 -27
  890. package/src/lib/core/layout/html.field.ts +0 -28
  891. package/src/lib/core/layout/input.base.ts +0 -12
  892. package/src/lib/core/layout/input.field.ts +0 -43
  893. package/src/lib/core/layout/layout.component.scss +0 -9
  894. package/src/lib/core/layout/layout.component.ts +0 -189
  895. package/src/lib/core/layout/numeric.field.ts +0 -24
  896. package/src/lib/core/layout/select.field.ts +0 -52
  897. package/src/lib/core/layout/switch.field.ts +0 -21
  898. package/src/lib/core/layout/textarea.field.ts +0 -21
  899. package/src/lib/core/layout/timespan.field.ts +0 -25
  900. package/src/lib/core/lottie-animation.ts +0 -37
  901. package/src/lib/core/mailbox.service.ts +0 -471
  902. package/src/lib/core/models.ts +0 -685
  903. package/src/lib/core/none.component.scss +0 -26
  904. package/src/lib/core/none.component.ts +0 -28
  905. package/src/lib/core/pipes/action.pipe.ts +0 -18
  906. package/src/lib/core/pipes/calendar.pipe.ts +0 -84
  907. package/src/lib/core/pipes/date-format.pipe.ts +0 -12
  908. package/src/lib/core/pipes/daterange.pipe.ts +0 -45
  909. package/src/lib/core/pipes/difference.pipe.ts +0 -9
  910. package/src/lib/core/pipes/duration-format.pipe.ts +0 -42
  911. package/src/lib/core/pipes/duration.pipe.ts +0 -13
  912. package/src/lib/core/pipes/form.pipe.ts +0 -19
  913. package/src/lib/core/pipes/join.pipe.ts +0 -10
  914. package/src/lib/core/pipes/role.pipe.ts +0 -19
  915. package/src/lib/core/pipes/sanitize-html.pipe.ts +0 -10
  916. package/src/lib/core/pipes/sort.pipe.ts +0 -34
  917. package/src/lib/core/pipes/state.pipe.ts +0 -19
  918. package/src/lib/core/pipes/time-ago.pipe.ts +0 -59
  919. package/src/lib/core/pipes/translate.pipe.ts +0 -22
  920. package/src/lib/core/pipes/type-value.pipe.ts +0 -37
  921. package/src/lib/core/pipes/user-name.pipe.ts +0 -14
  922. package/src/lib/core/popup/_popup-theme.scss +0 -363
  923. package/src/lib/core/popup/popup-ref.ts +0 -19
  924. package/src/lib/core/popup/popup.component.html +0 -6
  925. package/src/lib/core/popup/popup.component.ts +0 -40
  926. package/src/lib/core/popup/popup.service.ts +0 -156
  927. package/src/lib/core/popup/tooltip.directive.ts +0 -58
  928. package/src/lib/core/prompt/ask/ask.dialog.html +0 -6
  929. package/src/lib/core/prompt/ask/ask.dialog.ts +0 -35
  930. package/src/lib/core/prompt/mask/mask.component.html +0 -1
  931. package/src/lib/core/prompt/mask/mask.component.scss +0 -14
  932. package/src/lib/core/prompt/mask/mask.component.ts +0 -15
  933. package/src/lib/core/prompt.service.ts +0 -81
  934. package/src/lib/core/router.ts +0 -31
  935. package/src/lib/core/session.service.ts +0 -265
  936. package/src/lib/core/slots/_slots-theme.scss +0 -139
  937. package/src/lib/core/slots/extended-tab.component.exp.ts +0 -35
  938. package/src/lib/core/slots/extended-tab.component.html +0 -0
  939. package/src/lib/core/slots/intro.pane.component.exp.ts +0 -23
  940. package/src/lib/core/slots/intro.pane.component.html +0 -22
  941. package/src/lib/core/slots/intro.pane.component.scss +0 -8
  942. package/src/lib/core/slots/pane-ref.ts +0 -188
  943. package/src/lib/core/slots/router.directive.ts +0 -53
  944. package/src/lib/core/slots/router.service.ts +0 -53
  945. package/src/lib/core/slots/slot.component.exp.ts +0 -49
  946. package/src/lib/core/slots/slot.component.html +0 -15
  947. package/src/lib/core/slots/slot.component.scss +0 -18
  948. package/src/lib/core/slots/slots.component.html +0 -68
  949. package/src/lib/core/slots/slots.component.scss +0 -163
  950. package/src/lib/core/slots/slots.component.ts +0 -1260
  951. package/src/lib/core/tagging/documents.component.html +0 -11
  952. package/src/lib/core/tagging/documents.component.ts +0 -19
  953. package/src/lib/core/tagging/edit-input.component.html +0 -41
  954. package/src/lib/core/tagging/edit-input.component.scss +0 -21
  955. package/src/lib/core/tagging/edit-input.component.ts +0 -211
  956. package/src/lib/core/tagging/emoji.component.ts +0 -23
  957. package/src/lib/core/tagging/tagging-item.directive.ts +0 -34
  958. package/src/lib/core/tagging/tagging.component-base.ts +0 -29
  959. package/src/lib/core/tagging/tagging.component.scss +0 -22
  960. package/src/lib/core/tagging/tagging.directive.ts +0 -130
  961. package/src/lib/core/tagging/tagging.pipe.ts +0 -76
  962. package/src/lib/core/tagging/users.component.html +0 -13
  963. package/src/lib/core/tagging/users.component.ts +0 -28
  964. package/src/lib/core/translate.service.ts +0 -128
  965. package/src/lib/core/translations.ts +0 -1138
  966. package/src/lib/core/window-title.service.ts +0 -54
  967. package/src/lib/cube/accum/accum.component.html +0 -16
  968. package/src/lib/cube/accum/accum.component.ts +0 -264
  969. package/src/lib/cube/chart/chart.component.html +0 -32
  970. package/src/lib/cube/chart/chart.component.ts +0 -344
  971. package/src/lib/cube/cube-info.service.ts +0 -135
  972. package/src/lib/cube/cube-menu.component.html +0 -13
  973. package/src/lib/cube/cube-menu.component.ts +0 -18
  974. package/src/lib/cube/cube-view.component.html +0 -66
  975. package/src/lib/cube/cube-view.component.ts +0 -186
  976. package/src/lib/cube/cube.service.ts +0 -495
  977. package/src/lib/cube/declarations.ts +0 -24
  978. package/src/lib/cube/explore/document-item.component.ts +0 -28
  979. package/src/lib/cube/explore/explore-item.component.scss +0 -4
  980. package/src/lib/cube/explore/explore-item.component.ts +0 -23
  981. package/src/lib/cube/explore/explore-items.component.html +0 -25
  982. package/src/lib/cube/explore/explore-items.component.scss +0 -7
  983. package/src/lib/cube/explore/explore-items.component.ts +0 -185
  984. package/src/lib/cube/explore/explore.pane.component.html +0 -12
  985. package/src/lib/cube/explore/explore.pane.component.ts +0 -78
  986. package/src/lib/cube/explore/item-resolver.service.ts +0 -24
  987. package/src/lib/cube/explore/item.pane.component.html +0 -3
  988. package/src/lib/cube/explore/item.pane.component.ts +0 -23
  989. package/src/lib/cube/filter/filter-tags.component.exp.ts +0 -70
  990. package/src/lib/cube/filter/filter-tags.component.html +0 -11
  991. package/src/lib/cube/filter/filter-tags.component.scss +0 -0
  992. package/src/lib/cube/filter/filter-tags.component.spec.ts +0 -25
  993. package/src/lib/cube/filter/filter.component.html +0 -25
  994. package/src/lib/cube/filter/filter.component.scss +0 -8
  995. package/src/lib/cube/filter/filter.component.ts +0 -116
  996. package/src/lib/cube/grid/grid.component.html +0 -29
  997. package/src/lib/cube/grid/grid.component.scss +0 -10
  998. package/src/lib/cube/grid/grid.component.ts +0 -223
  999. package/src/lib/cube/grid/spreadsheet.component.ts +0 -382
  1000. package/src/lib/cube/matrix/_matrix.theme.scss +0 -86
  1001. package/src/lib/cube/matrix/matrix.base.ts +0 -149
  1002. package/src/lib/cube/matrix/matrix.mobile.component.html +0 -28
  1003. package/src/lib/cube/matrix/matrix.mobile.component.ts +0 -60
  1004. package/src/lib/cube/matrix/matrix.pane.component.html +0 -34
  1005. package/src/lib/cube/matrix/matrix.pane.component.scss +0 -10
  1006. package/src/lib/cube/matrix/matrix.pane.component.ts +0 -83
  1007. package/src/lib/cube/matrix/popup.component.html +0 -32
  1008. package/src/lib/cube/matrix/popup.component.scss +0 -7
  1009. package/src/lib/cube/matrix/popup.component.ts +0 -55
  1010. package/src/lib/cube/matrix/table.component.html +0 -46
  1011. package/src/lib/cube/matrix/table.component.scss +0 -25
  1012. package/src/lib/cube/matrix/table.component.ts +0 -517
  1013. package/src/lib/cube/parallel/item.ts +0 -47
  1014. package/src/lib/cube/parallel/parallel.component.html +0 -22
  1015. package/src/lib/cube/parallel/parallel.component.scss +0 -13
  1016. package/src/lib/cube/parallel/parallel.component.ts +0 -166
  1017. package/src/lib/cube/pivot/pivot.component.html +0 -14
  1018. package/src/lib/cube/pivot/pivot.component.ts +0 -518
  1019. package/src/lib/cube/sum/_sum.theme.scss +0 -63
  1020. package/src/lib/cube/sum/sum.component.html +0 -60
  1021. package/src/lib/cube/sum/sum.component.scss +0 -94
  1022. package/src/lib/cube/sum/sum.component.ts +0 -437
  1023. package/src/lib/cube/view-base.ts +0 -82
  1024. package/src/lib/cube/view.mobile.component.html +0 -38
  1025. package/src/lib/cube/view.mobile.component.scss +0 -9
  1026. package/src/lib/cube/view.mobile.component.ts +0 -116
  1027. package/src/lib/cube/view.pane.component.html +0 -24
  1028. package/src/lib/cube/view.pane.component.scss +0 -12
  1029. package/src/lib/cube/view.pane.component.ts +0 -80
  1030. package/src/lib/dashboard/_table.widget.scss +0 -19
  1031. package/src/lib/dashboard/actions/actions.widget.html +0 -6
  1032. package/src/lib/dashboard/actions/actions.widget.ts +0 -118
  1033. package/src/lib/dashboard/cube/accum-cube.widget.html +0 -15
  1034. package/src/lib/dashboard/cube/accum-cube.widget.ts +0 -154
  1035. package/src/lib/dashboard/cube/compare.widget.ts +0 -219
  1036. package/src/lib/dashboard/cube/cube-analysis.base.ts +0 -113
  1037. package/src/lib/dashboard/cube/cube-analysis.widget.ts +0 -44
  1038. package/src/lib/dashboard/cube/cube-chart.widget.html +0 -7
  1039. package/src/lib/dashboard/cube/cube-chart.widget.ts +0 -144
  1040. package/src/lib/dashboard/cube/documents.widget.html +0 -19
  1041. package/src/lib/dashboard/cube/documents.widget.ts +0 -57
  1042. package/src/lib/dashboard/cube/filter/filter.component.html +0 -3
  1043. package/src/lib/dashboard/cube/filter/filter.component.ts +0 -53
  1044. package/src/lib/dashboard/cube/gauge.component.exp.ts +0 -18
  1045. package/src/lib/dashboard/dashboard.component.html +0 -18
  1046. package/src/lib/dashboard/dashboard.component.scss +0 -36
  1047. package/src/lib/dashboard/dashboard.component.ts +0 -53
  1048. package/src/lib/dashboard/dashboard.pane.component.ts +0 -19
  1049. package/src/lib/dashboard/recents/recents.widget.html +0 -32
  1050. package/src/lib/dashboard/recents/recents.widget.scss +0 -9
  1051. package/src/lib/dashboard/recents/recents.widget.ts +0 -89
  1052. package/src/lib/dashboard/score/activity.widget.html +0 -9
  1053. package/src/lib/dashboard/score/activity.widget.ts +0 -175
  1054. package/src/lib/dashboard/score/compare-groups.widget.html +0 -8
  1055. package/src/lib/dashboard/score/compare-groups.widget.ts +0 -212
  1056. package/src/lib/dashboard/score/peers-performance.widget.html +0 -23
  1057. package/src/lib/dashboard/score/peers-performance.widget.ts +0 -254
  1058. package/src/lib/dashboard/score/pending-results.widget.html +0 -31
  1059. package/src/lib/dashboard/score/pending-results.widget.ts +0 -52
  1060. package/src/lib/dashboard/score/personal-score.widget.html +0 -18
  1061. package/src/lib/dashboard/score/personal-score.widget.ts +0 -229
  1062. package/src/lib/dashboard/widget-item.component.ts +0 -92
  1063. package/src/lib/dashboard/widget-ref.ts +0 -20
  1064. package/src/lib/desktop.module.ts +0 -98
  1065. package/src/lib/home/_home-theme.scss +0 -174
  1066. package/src/lib/home/about/about.dialog.html +0 -19
  1067. package/src/lib/home/about/about.dialog.ts +0 -18
  1068. package/src/lib/home/home-base.component.ts +0 -100
  1069. package/src/lib/home/home.desktop.component.html +0 -92
  1070. package/src/lib/home/home.desktop.component.scss +0 -66
  1071. package/src/lib/home/home.desktop.component.ts +0 -211
  1072. package/src/lib/home/home.mobile.component.html +0 -81
  1073. package/src/lib/home/home.mobile.component.scss +0 -49
  1074. package/src/lib/home/home.mobile.component.ts +0 -105
  1075. package/src/lib/home/notifications/notifications.component.html +0 -18
  1076. package/src/lib/home/notifications/notifications.component.scss +0 -36
  1077. package/src/lib/home/notifications/notifications.component.ts +0 -55
  1078. package/src/lib/home/options/_options-theme.scss +0 -11
  1079. package/src/lib/home/options/options.component.html +0 -41
  1080. package/src/lib/home/options/options.component.scss +0 -16
  1081. package/src/lib/home/options/options.component.ts +0 -95
  1082. package/src/lib/home/outofoffice/outofoffice.component.html +0 -5
  1083. package/src/lib/home/outofoffice/outofoffice.component.scss +0 -10
  1084. package/src/lib/home/outofoffice/outofoffice.component.ts +0 -33
  1085. package/src/lib/home/progress-bar.directive.exp.ts +0 -24
  1086. package/src/lib/home/search.service.ts +0 -87
  1087. package/src/lib/home/sign/sign.component.html +0 -15
  1088. package/src/lib/home/sign/sign.component.ts +0 -42
  1089. package/src/lib/home/submenu.directive.exp.ts +0 -43
  1090. package/src/lib/home/tools.component.html +0 -27
  1091. package/src/lib/home/tools.component.scss +0 -15
  1092. package/src/lib/home/tools.component.ts +0 -72
  1093. package/src/lib/home/welcome/welcome.dialog.exp.ts +0 -35
  1094. package/src/lib/home/welcome/welcome.dialog.html +0 -14
  1095. package/src/lib/impersonate/impersonate.component.html +0 -17
  1096. package/src/lib/impersonate/impersonate.component.scss +0 -3
  1097. package/src/lib/impersonate/impersonate.component.spec.ts +0 -24
  1098. package/src/lib/impersonate/impersonate.component.ts +0 -60
  1099. package/src/lib/mobile.module.ts +0 -39
  1100. package/src/lib/modules/chart.module.ts +0 -53
  1101. package/src/lib/modules/circular-gauge.module.ts +0 -10
  1102. package/src/lib/modules/date.adapter.ts +0 -31
  1103. package/src/lib/modules/datepicker.intl.ts +0 -35
  1104. package/src/lib/modules/dayjs.module.ts +0 -32
  1105. package/src/lib/modules/diagram.module.ts +0 -25
  1106. package/src/lib/modules/gantt.module.ts +0 -12
  1107. package/src/lib/modules/grid.module.ts +0 -16
  1108. package/src/lib/modules/material.module.ts +0 -104
  1109. package/src/lib/modules/paginator.intl.ts +0 -16
  1110. package/src/lib/modules/pivot.module.ts +0 -23
  1111. package/src/lib/modules/schedule.module.ts +0 -12
  1112. package/src/lib/modules/spreadsheet.module.ts +0 -21
  1113. package/src/lib/modules/stepper.intl.ts +0 -12
  1114. package/src/lib/modules/texteditor.module.ts +0 -16
  1115. package/src/lib/notifications/filter.component.html +0 -6
  1116. package/src/lib/notifications/filter.component.ts +0 -16
  1117. package/src/lib/notifications/notifications-table.component.html +0 -54
  1118. package/src/lib/notifications/notifications-table.component.scss +0 -14
  1119. package/src/lib/notifications/notifications-table.component.ts +0 -94
  1120. package/src/lib/notifications/notifications.component-base.ts +0 -49
  1121. package/src/lib/notifications/notifications.mobile.component.ts +0 -13
  1122. package/src/lib/notifications/notifications.pane.component.ts +0 -16
  1123. package/src/lib/notifications/notifications.service.ts +0 -66
  1124. package/src/lib/notifications/types/commented.notification.html +0 -14
  1125. package/src/lib/notifications/types/commented.notification.ts +0 -51
  1126. package/src/lib/notifications/types/cube-anomaly.notification.ts +0 -51
  1127. package/src/lib/notifications/types/escalated.notification.ts +0 -36
  1128. package/src/lib/notifications/types/liked.notification.ts +0 -49
  1129. package/src/lib/notifications/types/long-running-task.notification.ts +0 -23
  1130. package/src/lib/notifications/types/notification-base.ts +0 -37
  1131. package/src/lib/notifications/types/nudge.notification.ts +0 -32
  1132. package/src/lib/notifications/types/state-changed.notification.ts +0 -27
  1133. package/src/lib/notifications/types/tagged.notification.ts +0 -46
  1134. package/src/lib/notifications/types/text.notification.ts +0 -13
  1135. package/src/lib/notifications/types/upcoming-event.notification.ts +0 -25
  1136. package/src/lib/options/options.component.html +0 -148
  1137. package/src/lib/options/options.component.scss +0 -19
  1138. package/src/lib/options/options.component.ts +0 -262
  1139. package/src/lib/options/options.service.ts +0 -30
  1140. package/src/lib/reports/arguments-component.ts +0 -73
  1141. package/src/lib/reports/cube/documents.component.ts +0 -50
  1142. package/src/lib/reports/cube/grid-documents.component.html +0 -25
  1143. package/src/lib/reports/cube/grid-documents.component.ts +0 -67
  1144. package/src/lib/reports/cube/table-documents.component.css +0 -18
  1145. package/src/lib/reports/cube/table-documents.component.html +0 -30
  1146. package/src/lib/reports/cube/table-documents.component.ts +0 -46
  1147. package/src/lib/reports/cube/usage-args.component.html +0 -3
  1148. package/src/lib/reports/cube/usage-args.component.ts +0 -55
  1149. package/src/lib/reports/cube/usage-base.ts +0 -113
  1150. package/src/lib/reports/cube/usage-browse.component.exp.ts +0 -93
  1151. package/src/lib/reports/cube/usage-browse.component.html +0 -27
  1152. package/src/lib/reports/cube/usage-browse.component.scss +0 -24
  1153. package/src/lib/reports/cube/usage-chart.component.html +0 -11
  1154. package/src/lib/reports/cube/usage-chart.component.ts +0 -386
  1155. package/src/lib/reports/cube/usage-pivot.component.html +0 -19
  1156. package/src/lib/reports/cube/usage-pivot.component.ts +0 -266
  1157. package/src/lib/reports/cube/usage.component.ts +0 -34
  1158. package/src/lib/reports/report-ref.ts +0 -41
  1159. package/src/lib/reports/report-viewer.component.html +0 -2
  1160. package/src/lib/reports/report-viewer.component.scss +0 -12
  1161. package/src/lib/reports/report-viewer.component.ts +0 -159
  1162. package/src/lib/reports/report.mobile.component.html +0 -17
  1163. package/src/lib/reports/report.mobile.component.scss +0 -7
  1164. package/src/lib/reports/report.mobile.component.ts +0 -117
  1165. package/src/lib/reports/report.pane.component.html +0 -9
  1166. package/src/lib/reports/report.pane.component.scss +0 -9
  1167. package/src/lib/reports/report.pane.component.ts +0 -88
  1168. package/src/lib/reports/reports-menu.component.html +0 -9
  1169. package/src/lib/reports/reports-menu.component.ts +0 -20
  1170. package/src/lib/reports/substitution/substitution.component.html +0 -26
  1171. package/src/lib/reports/substitution/substitution.component.ts +0 -34
  1172. package/src/lib/reports/table/table-view.component.html +0 -8
  1173. package/src/lib/reports/table/table-view.component.scss +0 -0
  1174. package/src/lib/reports/table/table-view.component.ts +0 -33
  1175. package/src/lib/reports/tasks/tasks.component.html +0 -21
  1176. package/src/lib/reports/tasks/tasks.component.ts +0 -115
  1177. package/src/lib/reports/timeline/timeline.component.exp.ts +0 -225
  1178. package/src/lib/reports/timeline/timeline.component.html +0 -9
  1179. package/src/lib/routes.desktop.ts +0 -196
  1180. package/src/lib/routes.mobile.ts +0 -70
  1181. package/src/lib/scheduler/schedule.component.html +0 -36
  1182. package/src/lib/scheduler/schedule.component.scss +0 -13
  1183. package/src/lib/scheduler/schedule.component.ts +0 -158
  1184. package/src/lib/scheduler/scheduler.mobile.component.ts +0 -30
  1185. package/src/lib/scheduler/scheduler.pane.component.ts +0 -49
  1186. package/src/lib/shared.module.ts +0 -374
  1187. package/src/lib/system.module.ts +0 -77
  1188. package/src/lib/views/_views.theme.scss +0 -18
  1189. package/src/lib/views/cube/chart.component.html +0 -24
  1190. package/src/lib/views/cube/chart.component.ts +0 -88
  1191. package/src/lib/views/cube/cube-base.ts +0 -126
  1192. package/src/lib/views/cube/explore.component.html +0 -33
  1193. package/src/lib/views/cube/explore.component.ts +0 -82
  1194. package/src/lib/views/cube/filter.component.exp.ts +0 -66
  1195. package/src/lib/views/cube/filter.component.html +0 -25
  1196. package/src/lib/views/cube/matrix.component.html +0 -42
  1197. package/src/lib/views/cube/matrix.component.scss +0 -3
  1198. package/src/lib/views/cube/matrix.component.ts +0 -106
  1199. package/src/lib/views/cube/parallel.component.html +0 -10
  1200. package/src/lib/views/cube/parallel.component.scss +0 -13
  1201. package/src/lib/views/cube/parallel.component.ts +0 -63
  1202. package/src/lib/views/cube/pivot.component.html +0 -8
  1203. package/src/lib/views/cube/pivot.component.ts +0 -62
  1204. package/src/lib/views/cube/sum.component.html +0 -30
  1205. package/src/lib/views/cube/sum.component.scss +0 -3
  1206. package/src/lib/views/cube/sum.component.ts +0 -71
  1207. package/src/lib/views/cube/view.component.html +0 -34
  1208. package/src/lib/views/cube/view.component.scss +0 -12
  1209. package/src/lib/views/cube/view.component.ts +0 -103
  1210. package/src/lib/views/document-view-ref.ts +0 -34
  1211. package/src/lib/views/timeline/timeline.component.exp.ts +0 -333
  1212. package/src/lib/views/timeline/timeline.component.html +0 -6
  1213. package/src/lib/views/timeline/timeline.component.scss +0 -6
  1214. package/src/lib/views/view-item.component.ts +0 -67
  1215. package/src/lib/views/views.component.html +0 -4
  1216. package/src/lib/views/views.component.scss +0 -33
  1217. package/src/lib/views/views.component.ts +0 -29
  1218. package/src/lib/views/views.mobile.component.ts +0 -19
  1219. package/src/lib/views/views.pane.component.ts +0 -33
  1220. package/src/polyfills.ts +0 -81
  1221. package/src/public-api.ts +0 -149
  1222. package/src/styles/_app.scss +0 -317
  1223. package/src/styles/_emoji-mart.scss +0 -504
  1224. package/src/styles/_syncfusion-base-definitions.scss +0 -63
  1225. package/src/styles/_syncfusion-dark-definitions.scss +0 -21
  1226. package/src/styles/_syncfusion-dark.scss +0 -2
  1227. package/src/styles/_syncfusion-icons.scss +0 -57
  1228. package/src/styles/_syncfusion-light-definitions.scss +0 -23
  1229. package/src/styles/_syncfusion-light.scss +0 -2
  1230. package/src/styles/_syncfusion.scss +0 -21
  1231. package/src/styles/_xslt.scss +0 -377
  1232. package/src/styles/brown.scss +0 -14
  1233. package/src/styles/build-xslt.ps1 +0 -2
  1234. package/src/styles/build.ps1 +0 -26
  1235. package/src/styles/dark.scss +0 -13
  1236. package/src/styles/deep-purple-light-blue.scss +0 -20
  1237. package/src/styles/deep-purple-teal.scss +0 -20
  1238. package/src/styles/default.scss +0 -21
  1239. package/src/styles/diagram-icons.eot +0 -0
  1240. package/src/styles/diagram-icons.ttf +0 -0
  1241. package/src/styles/green.scss +0 -13
  1242. package/src/styles/indigo.scss +0 -13
  1243. package/src/styles/xslt.scss +0 -21
  1244. package/src/styles/xslt.scss.map +0 -1
  1245. package/src/test.ts +0 -26
  1246. package/tsconfig.lib.json +0 -26
  1247. package/tsconfig.lib.prod.json +0 -10
  1248. package/tsconfig.spec.json +0 -18
@@ -1,1260 +0,0 @@
1
- import { ChangeDetectorRef, Component, EventEmitter, Inject, Injector, OnDestroy, OnInit, Output, ViewChild, ViewContainerRef, HostListener, ElementRef } from '@angular/core';
2
- import { RippleConfig } from '@angular/material/core/ripple';
3
- import { CdkDragDrop } from '@angular/cdk/drag-drop';
4
- import { isObservable, Subject } from 'rxjs';
5
- import { takeUntil, tap } from 'rxjs/operators';
6
- import { isArray, isBoolean, isDate, isPromise, isString } from '../functions';
7
- import { PANES_DATA, PaneRef, PaneOptions, PaneCommand, QueryParamNavigation, ParamNavigation, NavigationMode, NavigationStart, NavigationClose, NavigationEnd, NavigationFocus, PATH_CHAR, QUERY_CHAR, ARG_CHAR, PANE_CHAR, CollapseNavigation, BackNavigation, NavigationExpand, PaneMode, NavigationResize, } from './pane-ref';
8
- import { PanesRouter } from './router.service';
9
- import { SessionService } from '../session.service';
10
- import { CdkScrollable, ComponentType } from '@angular/cdk/overlay';
11
- import { WindowTitleService } from '../window-title.service';
12
- import { panesAnimation, paneAnimation, panesTitleAnimation, paramAnimation, queryAnimation, tabAnimation, tabsAnimation } from '../animations';
13
- import { PaneResolve, PaneRoute, ParamMap, CanDismiss, DEFAULT_POLICY, OpenPolicy } from '../configuration';
14
- import { GuideService } from '../guide/guide.service';
15
- import { debounceTime } from 'rxjs';
16
- declare global {
17
- interface Window {
18
- removeAllListeners(name?: string);
19
- }
20
- }
21
-
22
- const DEFAULT_ROUTE = ['dashboard'];
23
- @Component({
24
- selector: 'bizdoc-panes-outlet',
25
- templateUrl: './slots.component.html',
26
- styleUrls: ['./slots.component.scss'],
27
- animations: [panesAnimation,
28
- panesTitleAnimation,
29
- paneAnimation,
30
- paramAnimation,
31
- queryAnimation,
32
- tabsAnimation,
33
- tabAnimation
34
- ]
35
- })
36
- export class SlotsComponent implements OnInit, OnDestroy {
37
- @Output() readonly dialogChange = new EventEmitter<boolean>();
38
- @ViewChild('panning', { read: ViewContainerRef, static: true }) _panesContainerRef: ViewContainerRef;
39
- @ViewChild('tabing') _tabsElement: ElementRef;
40
- @ViewChild(CdkScrollable, { static: true }) _scrollable: CdkScrollable;
41
- titleAnimation = 0;
42
- group: string;
43
- swap?: number;
44
- swapTab?: number;
45
- prevGroup?: string;
46
-
47
- readonly panes: PaneRef<any>[] = [];
48
- readonly tabs: PaneRef<any>[] = [];
49
- private _selectedTabIndex = -1;
50
- dialog = false;
51
- public get selectedTabIndex() {
52
- return this._selectedTabIndex;
53
- }
54
- public set selectedTabIndex(value) {
55
- this._selectedTabIndex = value;
56
- if (this._selectedTabIndex > -1 && this.tabs.at(this._selectedTabIndex).dialog) {
57
- this.dialog = true;
58
- this.dialogChange.emit(true);
59
- }
60
- else {
61
- this.dialog = false;
62
- }
63
- this._setTabAnimation();
64
- }
65
- private _setTabAnimation() {
66
- this.tabsAnimation = {
67
- value: this.selectedTabIndex,
68
- params: {
69
- startWidth: this._tabsElement ? this._tabsElement.nativeElement.clientWidth : 0
70
- }
71
- };
72
- }
73
- selectedIndex = -1;
74
- next: boolean;
75
- prev: boolean;
76
- dragging: boolean = false;
77
- tabsAnimation: {
78
- value: number,
79
- params: {
80
- startWidth: number
81
- }
82
- };
83
- readonly ripple: RippleConfig = {
84
- color: this._session.getAccent(),
85
- centered: true,
86
- radius: 25
87
- }
88
- accent: string = this._session.getAccent();
89
- private _navigationInProcess: boolean;
90
- private _repository: ExtendedRoute[];
91
- private readonly _pending = [] as string[];
92
- private readonly _rtl = this._session.inverse;
93
- private readonly _resizing = new Subject<void>();
94
- private readonly _destroy = new Subject<void>();
95
- constructor(
96
- @Inject(PANES_DATA) data: ExtendedRoute[],
97
- private _session: SessionService,
98
- private _cd: ChangeDetectorRef,
99
- private _router: PanesRouter,
100
- private _title: WindowTitleService,
101
- private _guide: GuideService,
102
- private _injector: Injector) {
103
- _session.themeChange.pipe(takeUntil(this._destroy)).
104
- subscribe(() => this.accent = _session.getAccent());
105
- _router._comm$.
106
- subscribe(e => {
107
- switch (e) {
108
- case 'collapse':
109
- this.collapse();
110
- break;
111
- default:
112
- }
113
- });
114
- this._repository = prepareRoutes(data);
115
- }
116
-
117
- ngOnInit(): void {
118
- this._router._navigate$.
119
- subscribe(async n => {
120
- const { commands, component, pathMode, relativeTo } = n;
121
- let {
122
- icon,
123
- title,
124
- group,
125
- help,
126
- policy,
127
- queryParams,
128
- state
129
- } = n;
130
- let
131
- queryString: string,
132
- params: ParamMap,
133
- parent: PaneRef,
134
- path: string,
135
- route: ExtendedRoute;
136
-
137
- if (commands && commands.length) {
138
- path = n.commands.join('/');
139
- if (path.indexOf(QUERY_CHAR) > -1) {
140
- const segs = path.split(QUERY_CHAR);
141
- queryString = segs[1];
142
- queryParams = this._parseQueryParams(queryString || '');
143
- path = segs[0];
144
- }
145
- else {
146
- queryParams = n.queryParams || {};
147
- queryString = this._queryString(queryParams);
148
- }
149
- if (pathMode === 'relative' || path.startsWith('../')) {
150
- parent = relativeTo || this.panes[this.selectedIndex];
151
- let parentpath = parent.path;
152
- while (path.startsWith('../')) {
153
- parentpath = parentpath.substr(0, parentpath.lastIndexOf('/'));
154
- path = path.substr(3);
155
- }
156
- path = parentpath + '/' + path;
157
- }
158
- route = this._match(path);
159
-
160
- if (!route)
161
- throw `no match ${path}`;
162
- params = this._params(route, path);
163
- if (!policy) policy = route.policy || DEFAULT_POLICY;
164
- else if (route.policy) policy |= route.policy;
165
- if (!icon) icon = route.icon;
166
- if (!help) help = route.help;
167
- }
168
- else {
169
- if (!policy) policy = DEFAULT_POLICY;
170
- if (!queryParams) queryParams = {};
171
- }
172
-
173
- if ((policy & OpenPolicy.Clear) == OpenPolicy.Clear) {
174
- this._clearPending();
175
- await this._clearTabs();
176
- if (!(policy & OpenPolicy.Tab))
177
- await this._clearPanes();
178
- }
179
- if (commands) {
180
- let i = 0;
181
- if ((policy & OpenPolicy.Tab) == OpenPolicy.Tab)
182
- while (i < this.tabs.length) {
183
- let tab = this.tabs[i];
184
- if (path === tab.path) {
185
- if (queryString === tab.queryString) {
186
- if ((policy & OpenPolicy.Toggle) == OpenPolicy.Toggle) {
187
- this.tabs.splice(i, 1);
188
- this.selectedTabIndex = this.tabs.length - 1;
189
- }
190
- else {
191
- state && tab._data$.next(state);
192
- this.group = tab.group;
193
- this.selectedTabIndex = i;
194
- this._cd.detectChanges();
195
- }
196
- return;
197
- }
198
- else {
199
- this._navQueryParams(tab, queryParams, state);
200
- this.group = tab.group;
201
- this.selectedTabIndex = i;
202
- this._cd.detectChanges();
203
- this._syncBrowserHistory();
204
- return;
205
- }
206
- }
207
- else if (tab.route === route) {
208
- await this._navParams(path, tab, params, queryParams, state);
209
- this.group = tab.group;
210
- this.selectedTabIndex = i;
211
- this._syncBrowserHistory();
212
- return;
213
- }
214
- i++;
215
- }
216
- else
217
- while (i < this.panes.length) {
218
- let pane = this.panes[i];
219
- if (path === pane.path) {
220
- if (queryString === pane.queryString) {
221
- if ((policy & OpenPolicy.Toggle) == OpenPolicy.Toggle)
222
- await this.removeAt(i);
223
- else {
224
- state && pane._data$.next(state);
225
- this._cd.detectChanges();
226
- this.scrollTo(i);
227
- }
228
- return;
229
- }
230
- else {
231
- this._navQueryParams(pane, queryParams, state);
232
- this.scrollTo(i);
233
- this._syncBrowserHistory();
234
- return;
235
- }
236
- }
237
- else if (pane.route === route) {
238
- await this._navParams(path, pane, params, queryParams, state);
239
- this._syncBrowserHistory();
240
- return;
241
- }
242
- i++;
243
- }
244
- if (commands.length) {
245
- if (!state) state = {};
246
- await this._state(route, path, params, state);
247
- if ((policy & OpenPolicy.Tab) == OpenPolicy.Tab)
248
- this._insertTab(component || route.component,
249
- {
250
- queryString,
251
- path,
252
- route,
253
- icon,
254
- title,
255
- group,
256
- help,
257
- data: state,
258
- parent,
259
- params,
260
- queryParams,
261
- policy
262
- });
263
- else
264
- this._insertPane(component || route.component,
265
- {
266
- queryString,
267
- path,
268
- route,
269
- icon,
270
- title,
271
- help,
272
- data: state,
273
- parent,
274
- params,
275
- queryParams,
276
- policy
277
- });
278
- route &&
279
- this._syncBrowserHistory();
280
- }
281
- else {
282
- const pane = (policy & OpenPolicy.Tab) == OpenPolicy.Tab ?
283
- this.tabs[this.selectedTabIndex] : this.panes[this.selectedIndex];
284
- this._navQueryParams(pane, queryParams, state);
285
- this._syncBrowserHistory();
286
- if ((policy & OpenPolicy.Tab) != OpenPolicy.Tab) this.select(this.selectedIndex);
287
- }
288
- }
289
- else {
290
- if ((policy & OpenPolicy.Tab) == OpenPolicy.Tab)
291
- this._insertTab(component,
292
- {
293
- data: state,
294
- icon, title, help,
295
- parent,
296
- queryString,
297
- path,
298
- route,
299
- group,
300
- params,
301
- queryParams,
302
- policy
303
- });
304
- else this._insertPane(component,
305
- {
306
- data: state,
307
- icon, title, help,
308
- parent,
309
- queryString,
310
- path,
311
- route,
312
- params,
313
- policy, queryParams
314
- });
315
- }
316
- });
317
- window.removeAllListeners('popstate');
318
- window.addEventListener('popstate', e => {
319
- if (this._navigationInProcess) {
320
- this._navigationInProcess = false;
321
- return;
322
- }
323
- if (e.state && e.state.bizdoc) {
324
- const evt = new BackNavigation();
325
- if (evt._preventDefault) return;
326
- this._router._events$.next(evt);
327
- const state = e.state as HistoryState;
328
- this._deserialize(location.pathname.substring(1), state);
329
- this.swap = state.swap;
330
- this.swapTab = state.swapTab;
331
- this.prevGroup = state.prevGroup;
332
- this.group = state.group;
333
- this.selectedTabIndex = state.selectedTabIndex;
334
- }
335
- else
336
- this._deserialize(location.pathname.substring(1));
337
- });
338
- if (location.pathname.length > 1)
339
- this._deserialize(location.pathname.substring(1),
340
- history.state && history.state.bizdoc ? history.state : undefined);
341
- else
342
- this._router._navigate$.next({
343
- commands: DEFAULT_ROUTE,
344
- });
345
- this._resizing.pipe(debounceTime(150)).subscribe(this._resize.bind(this));
346
- }
347
- private async _deserialize(url: string, state?: HistoryState) {
348
-
349
- const sections = decodeURIComponent(url).split(PANE_CHAR),
350
- panes = deserialize(sections[0]),
351
- tabs = sections.length > 1 ? deserialize(sections[1]) : [];
352
-
353
- function deserialize(path: string) {
354
- return path.
355
- split(PATH_CHAR).map(s => {
356
- const [path, queryString] = s.split(QUERY_CHAR);
357
- return { path, queryString };
358
- });
359
- }
360
-
361
- for (let i = 0; i < panes.length; i++) {
362
- let pane = panes[i];
363
- await this._navigatePane(i, pane.path, pane.queryString, state ? state.panes[i] : null);
364
- }
365
- if (this.panes.length > panes.length) {
366
- let i = 0;
367
- while (i < this.panes.length) {
368
- let pane = this.panes[i];
369
- if (panes.length - 1 < i || pane.path !== panes[i].path) {
370
- if (this.selectedIndex === i)
371
- this.selectedIndex = i - 1;
372
- this.panes.splice(i, 1);
373
- this._destroyPane(pane);
374
- }
375
- else
376
- i++;
377
- }
378
- }
379
- if (this.selectedIndex < 0)
380
- this.select(0);
381
- for (let i = 0; i < tabs.length; i++) {
382
- let tab = tabs[i];
383
- await this._navigateTab(i, tab.path, tab.queryString, state ? state.tabs[i] : null);
384
- }
385
- if (this.tabs.length > tabs.length) {
386
- let i = 0;
387
- while (i < this.tabs.length) {
388
- let tab = this.tabs[i];
389
- if (tabs.length - 1 < i || tab.path !== tabs[i].path) {
390
- if (this.selectedTabIndex === i) {
391
- this.selectedTabIndex = i - 1;
392
- }
393
- this.tabs.splice(i, 1);
394
- this._destroyPane(tab);
395
- }
396
- else
397
- i++;
398
- }
399
- }
400
- if (this.tabs.length && this.selectedTabIndex < 0) {
401
- this.selectedTabIndex = 0;
402
- }
403
- const n = this.panes.length;
404
- for (let i = 0; i < n; i++) {
405
- let pane = this.panes[i];
406
- if (pane.expanded !== (n === 1)) {
407
- const evt = new NavigationExpand(pane._expanded = n === 1, pane);
408
- pane._events$.next(evt);
409
- }
410
- }
411
- }
412
- /**
413
- *
414
- * @param index
415
- * @param path
416
- * @param queryString
417
- * @param state
418
- */
419
- private async _navigatePane(index: number, path: string, queryString: string, state?: any) {
420
- const route = this._match(path);
421
-
422
- if (!route) throw `no match ${path}`;
423
-
424
- if (!state) state = {};
425
-
426
- while (index < this.panes.length) {
427
- let pane = this.panes[index];
428
- if (path === pane.path) {
429
- if (queryString === pane.queryString) {
430
- return;
431
- }
432
- else {
433
- const queryParams = this._parseQueryParams(queryString);
434
- this._navQueryParams(pane, queryParams, state);
435
- return;
436
- }
437
- }
438
- else if (pane.route === route) {
439
- const queryParams = this._parseQueryParams(queryString);
440
- const params = this._params(pane.route as ExtendedRoute, path);
441
- await this._navParams(path, pane, params, queryParams, state);
442
- return;
443
- }
444
- index++;
445
- }
446
-
447
- const params = this._params(route, path);
448
- const queryParams = this._parseQueryParams(queryString);
449
- const parent = this._findAncestor(route, path);
450
- await this._state(route, path, params, state);
451
- this._insertPane(route.component, {
452
- path, parent, route, data: state, params, queryParams,
453
- icon: route.icon,
454
- help: route.help,
455
- policy: route.policy,
456
- focus: false
457
- });
458
- }
459
- private async _navigateTab(index: number, path: string, queryString: string, state?: any) {
460
- const route = this._match(path);
461
-
462
- if (!route) throw `no match ${path}`;
463
-
464
- if (!state) state = {};
465
-
466
- while (index < this.tabs.length) {
467
- let tab = this.tabs[index];
468
- if (path === tab.path) {
469
- if (queryString === tab.queryString) {
470
- return;
471
- }
472
- else {
473
- const queryParams = this._parseQueryParams(queryString);
474
- this._navQueryParams(tab, queryParams, state);
475
- return;
476
- }
477
- }
478
- else if (tab.route === route) {
479
- const queryParams = this._parseQueryParams(queryString);
480
- const params = this._params(tab.route as ExtendedRoute, path);
481
- await this._navParams(path, tab, params, queryParams, state);
482
- return;
483
- }
484
- index++;
485
- }
486
-
487
- const params = this._params(route, path);
488
- const queryParams = this._parseQueryParams(queryString);
489
-
490
- const parent = this._findAncestor(route, path);
491
-
492
- await this._state(route, path, params, state);
493
- this._insertTab(route.component, {
494
- icon: route.icon,
495
- help: route.help,
496
- policy: route.policy | OpenPolicy.Tab,
497
- path, parent, route,
498
- data: state,
499
- params, queryParams,
500
- focus: false,
501
- swap: false
502
- });
503
- }
504
- private _findAncestor(route: ExtendedRoute, path: string) {
505
- if ((route as ExtendedRoute).parent)
506
- return this.panes.find(p => (p.route as ExtendedRoute) ===
507
- (route as ExtendedRoute).parent &&
508
- path.startsWith(p.path));
509
- }
510
- /**
511
- *
512
- * @param pane
513
- * @param queryParams
514
- */
515
- private _navQueryParams(pane: PaneRef<any>, queryParams: ParamMap, state: ParamMap) {
516
- pane._queryString = this._queryString(queryParams);
517
- state && pane._data$.next(state);
518
- pane._queryParams$.next(queryParams);
519
- const evt = new QueryParamNavigation(queryParams, pane);
520
- pane._events$.next(evt);
521
- this._router._events$.next(evt);
522
- }
523
- /**
524
- *
525
- * @param path
526
- * @param pane
527
- * @param params
528
- * @param queryParams
529
- * @param state
530
- */
531
- private async _navParams(path: string, pane: PaneRef<any>, params: ParamMap, queryParams: ParamMap, state: ParamMap) {
532
- if (pane.route.canDismiss)
533
- await this._dismiss(pane);
534
-
535
- if (!state) state = {};
536
- await this._state(pane.route as ExtendedRoute, path, params, state);
537
- pane._data$.next(state);
538
- pane._path = path;
539
- pane._params$.next(params);
540
- if (queryParams) {
541
- pane._queryString = this._queryString(queryParams);
542
- pane._queryParams$.next(queryParams);
543
- }
544
- else {
545
- pane._queryString = '';
546
- pane._queryParams$.next({});
547
- }
548
- const evt = new ParamNavigation(params, pane);
549
- pane._events$.next(evt);
550
- this._router._events$.next(evt);
551
-
552
- this.panes.concat(this.tabs).forEach(child => {
553
- if (child.route && (child.route as ExtendedRoute).parent === pane.route) {
554
- child._data$.next(Object.assign(child.data, state));
555
- child._params$.next(params);
556
- child._path = pane.path + '/' + child.route.path;
557
- if (this.selectedTabIndex > -1 && child === this.tabs[this.selectedTabIndex]) {
558
- this.selectedTabIndex = this.selectedTabIndex;
559
- this.group = child.group;
560
- }
561
- }
562
- });
563
- if (pane.mode === 'pane') this.titleAnimation++;
564
- this._cd.detectChanges();
565
- }
566
- /** */
567
- private _syncBrowserHistory() {
568
- let path = this.panes.filter(p => p.route).map(s => s.fullPath).join(PATH_CHAR);
569
- if (this.tabs.length) {
570
- const tabs = this.tabs.filter(p => p.route);
571
- if (tabs.length)
572
- path += PANE_CHAR + tabs.map(s => s.fullPath).join(PATH_CHAR);
573
- }
574
- const state = this._constructHistoryState();
575
- this._navigationInProcess = true;
576
- history.pushState(state, '', '/' + path);
577
- setTimeout(() => this._navigationInProcess = false, 200);
578
- }
579
-
580
- private _constructHistoryState() {
581
- return {
582
- bizdoc: true,
583
- step: history.state && history.state.bizdoc ? (history.state as HistoryState).step + 1 : 1,
584
- selectedTabIndex: this.selectedTabIndex,
585
- panes: this.panes.map(p => p.data),
586
- tabs: this.tabs.map(t => t.data),
587
- swap: this.swap,
588
- group: this.group,
589
- swapTab: this.swapTab,
590
- prevGroup: this.prevGroup
591
- } as HistoryState;
592
- }
593
-
594
- drop(evt: CdkDragDrop<string, string>) {
595
- const pane = this.panes[evt.previousIndex];
596
- this.panes.splice(evt.previousIndex, 1);
597
- this.panes.splice(evt.currentIndex, 0, pane);
598
- this._syncBrowserHistory();
599
- }
600
-
601
- togglePinned(pane: PaneRef<any>) {
602
- pane.pinned = !pane.pinned;
603
- this.panes.forEach(s => {
604
- if (s.decendentOf(pane)) s.pinned = pane.pinned;
605
- });
606
- }
607
-
608
- private _queryString(queryParams: ParamMap) {
609
- const names = Object.keys(queryParams);
610
- let queryString: string;
611
- for (var i = 0; i < names.length; i++) {
612
- let val = queryParams[names[i]];
613
-
614
- if (val !== null && val !== undefined) {
615
- if (!queryString) queryString = '';
616
- else queryString = queryString + ARG_CHAR;
617
-
618
- if (isString(val))
619
- queryString += `${names[i]}=${encodeURIComponent(val)}`;
620
- else if (isArray(val))
621
- queryString += val.map(v => `${names[i]}=${v}`).join(ARG_CHAR);
622
- else if (isDate(val))
623
- queryString += `${names[i]}=${val.toJSON()}`;
624
- else
625
- queryString += `${names[i]}=${val}`;
626
- }
627
- }
628
- return queryString;
629
- }
630
- private _parseQueryParams(queryString: string): ParamMap {
631
- const queryParams = {};
632
- queryString && queryString.
633
- split(ARG_CHAR).forEach(p => {
634
- const [name, value] = p.split('=');
635
- if (!queryParams[name])
636
- queryParams[name] = value;
637
- else {
638
- const vals = queryParams[name];
639
- queryParams[name] = isArray(vals) ? [...vals, value] : [vals, value];
640
- }
641
- });
642
- return queryParams;
643
- }
644
- /**
645
- *
646
- * @param route
647
- * @param path
648
- */
649
- private _params(route: ExtendedRoute, path: string) {
650
- const ex = route.regEx.exec(path),
651
- params = ex.groups;
652
-
653
- return params || {};
654
- }
655
- /**
656
- *
657
- * @param url
658
- */
659
- private _match(url: string) {
660
- let route = this._repository.find(r => r.regEx.test(url));
661
- if (route)
662
- while (route.children) {
663
- let child = route.children.find(r => r.regEx.test(url));
664
- if (child)
665
- route = child;
666
- else break;
667
- }
668
- return route;
669
- }
670
- /**
671
- *
672
- * @param route
673
- * @param path
674
- * @param params
675
- * @param data
676
- */
677
- private async _state(route: ExtendedRoute, path: string, params: ParamMap, data: ParamMap) {
678
- if (this._pending.indexOf(path) > -1) {
679
- //this._ps.toast('Working');
680
- throw 'already processing';
681
- }
682
- this._pending.push(path);
683
-
684
- const { parent, resolve } = route;
685
- if (parent)
686
- await this._parentstate(parent, path, params, data);
687
- if (resolve) {
688
- await this._resolve(resolve, params, data);
689
- }
690
- this._pending.remove(path);
691
- }
692
- /**
693
- *
694
- * @param route
695
- * @param path
696
- * @param params
697
- * @param data
698
- */
699
- private async _parentstate(route: ExtendedRoute, path: string, params: ParamMap, data: ParamMap) {
700
- const { parent, resolve } = route;
701
-
702
- if (parent)
703
- await this._parentstate(parent, path, params, data);
704
-
705
- const pane = this.panes.find(s => s.route && s.route === route
706
- && path.startsWith(s.path));
707
-
708
- pane && Object.assign(data, pane.data);
709
-
710
- if (resolve)
711
- await this._resolve(resolve, params, data);
712
- }
713
-
714
- private async _resolve(resolve: { [key: string]: ComponentType<PaneResolve<any>> }, params: ParamMap, data: ParamMap) {
715
- const keys = Object.keys(resolve);
716
- for (let i = 0; i < keys.length; i++) {
717
- let key = keys[i];
718
- if (!data[key]) {
719
- const instance = this._injector.get(resolve[key]) as PaneResolve<any>;
720
- const value = instance.onResolve(params);
721
- if (isPromise(value))
722
- await value.then(r => data[key] = r);
723
- else if (isObservable(value))
724
- await value.pipe(tap(r => data[key] = r)).toPromise();
725
- else
726
- data[key] = value;
727
- }
728
- }
729
- }
730
-
731
- add<T>(component: ComponentType<T>, options?: PaneOptions) {
732
- return this.insert(this.panes.length, component, options);
733
- }
734
- insert<T>(position: number, component: ComponentType<T>, options?: PaneOptions) {
735
- const pane = this._insertPane<T>(component, options || {}, position);
736
- return pane;
737
- }
738
- private _insertPane<T = any>(component: ComponentType<T>, options: {
739
- path?: string;
740
- route?: PaneRoute;
741
- icon?: string;
742
- title?: string;
743
- inputs?: { [name: string]: any },
744
- data?: ParamMap;
745
- params?: ParamMap;
746
- queryParams?: ParamMap;
747
- help?: string;
748
- parent?: PaneRef<any>;
749
- queryString?: string;
750
- policy?: OpenPolicy;
751
- focus?: boolean
752
- }, position?: number) {
753
-
754
- const stretchable = (options.policy & OpenPolicy.Stretch) == OpenPolicy.Stretch;
755
-
756
- const pane = this._constract<T>(component, {
757
- mode: 'pane',
758
- expanded: !this.panes.length,
759
- stretchable,
760
- ...options
761
- });
762
- if (position === undefined)
763
- position = this.panes.length;
764
- this.panes.push(pane);
765
- this.titleAnimation++;
766
- this._cd.detectChanges();
767
- const evt = new NavigationStart(pane);
768
- this._router._events$.next(evt);
769
- if (options.focus !== false) {
770
- this.selectedIndex = position;
771
- this._title.set(pane.title);
772
- if (this.panes.length > 1) this.scrollTo(position);
773
- }
774
- this.enableNavigationArrows();
775
- return pane;
776
- }
777
- /**
778
- *
779
- * @param component
780
- * @param options
781
- */
782
- private _constract<T = any>(component: ComponentType<T>,
783
- options: {
784
- mode: PaneMode,
785
- expanded?: boolean;
786
- dialog?: boolean;
787
- stretchable?: boolean;
788
- path?: string;
789
- route?: PaneRoute;
790
- icon?: string;
791
- title?: string;
792
- group?: string;
793
- data?: ParamMap;
794
- params?: ParamMap;
795
- queryParams?: ParamMap;
796
- help?: string;
797
- parent?: PaneRef<any>;
798
- queryString?: string;
799
- dismissable?: boolean;
800
- expandable?: boolean
801
- }) {
802
- const pane = new PaneRef<T>(component, this._injector, options);
803
- pane._comm$.subscribe(e => this._paneCommand<T>(e, pane));
804
- return pane;
805
- }
806
- /**
807
- *
808
- * @param component
809
- * @param options
810
- */
811
- private _insertTab<T = any>(component: ComponentType<T>, options: {
812
- icon?: string;
813
- title?: string;
814
- group?: string;
815
- help?: string;
816
- path?: string;
817
- queryString?: string;
818
- route?: PaneRoute;
819
- data?: ParamMap;
820
- params?: ParamMap;
821
- queryParams?: ParamMap;
822
- parent?: PaneRef<any>;
823
- policy?: OpenPolicy;
824
- swap?: boolean;
825
- focus?: boolean;
826
- }) {
827
- const { policy } = options,
828
- dialog = (policy & OpenPolicy.Dialog) == OpenPolicy.Dialog,
829
- expandable = (policy & OpenPolicy.Expandable) == OpenPolicy.Expandable,
830
- dismissable = (policy & OpenPolicy.Dismissable) == OpenPolicy.Dismissable;
831
-
832
- const tab = this._constract<T>(component,
833
- {
834
- mode: 'tab',
835
- expanded: false,
836
- ...options,
837
- dialog,
838
- dismissable,
839
- expandable
840
- });
841
- this.tabs.push(tab);
842
- this._cd.detectChanges();
843
- this._router._events$.next(new NavigationStart(tab));
844
- if (tab.group && this.group !== tab.group && options.swap !== false) {
845
- let i = 0, swap = false;
846
- do {
847
- if (this.tabs[i].group !== tab.group) {
848
- this._destroyPane(this.tabs[i]);
849
- this.tabs.splice(i, 1);
850
- swap = true;
851
- }
852
- else
853
- i++
854
- } while (i < this.tabs.length);
855
- if (swap) {
856
- this.swapTab = this._getHistoryStep();
857
- this.prevGroup = this.group;
858
- }
859
- this.group = tab.group;
860
- }
861
- else
862
- this.swapTab = null;
863
- if (options.focus !== false) {
864
- this.selectedTabIndex = this.tabs.length - 1;
865
- }
866
- this._cd.detectChanges();
867
- return tab;
868
- }
869
-
870
- guide(name: string) {
871
- this._guide.start(name);
872
- }
873
- back() {
874
- this._navBack(this.swap);
875
- this.swap = null;
876
- }
877
- /**
878
- *
879
- * @param steps
880
- */
881
- private async _navBack(steps: number) {
882
- history.go(steps - (history.state as HistoryState).step);
883
- }
884
- tabBack() {
885
- this._navBack(this.swapTab);
886
- this.swapTab = null;
887
- }
888
- /**
889
- *
890
- * @param command
891
- * @param pane
892
- */
893
- private async _paneCommand<T = any>(command: PaneCommand, pane: PaneRef<T>) {
894
- switch (command) {
895
- case 'focus':
896
- {
897
- if (pane.mode === 'tab') {
898
- this.selectedTabIndex = this.tabs.indexOf(pane);
899
- }
900
- else {
901
- const index = this.panes.indexOf(pane);
902
- this.focus(index);
903
- }
904
- break;
905
- }
906
- case 'close':
907
- if (pane.mode === 'tab') {
908
- const index = this.tabs.indexOf(pane);
909
- this.closeTab(index);
910
- }
911
- else {
912
- const index = this.panes.indexOf(pane);
913
- await this.removeAt(index);
914
- this._clearPending();
915
- await this._clearTabs();
916
- if (this.panes.length)
917
- this._syncBrowserHistory();
918
- else
919
- this._router.navigate(DEFAULT_ROUTE);
920
- }
921
- break;
922
- case 'expand':
923
- if (pane.mode === 'tab')
924
- this.expandTab();
925
- else
926
- this.expandPane();
927
- break;
928
- case 'recycle': {
929
- const state = this._constructHistoryState();
930
- history.replaceState(state, '');
931
- break;
932
- }
933
- }
934
- }
935
- /**
936
- * escape
937
- * @param event
938
- */
939
- @HostListener('document:keydown.escape')
940
- async collapse() {
941
- if (!this.tabs.length) return;
942
- const evt = new CollapseNavigation();
943
- this._router._events$.next(evt);
944
- if (evt._preventDefault) return;
945
- this._clearPending();
946
- await this._clearTabs();
947
- this._syncBrowserHistory();
948
- }
949
- @HostListener('window:resize')
950
- onResize() {
951
- this._resizing.next();
952
- }
953
- /** */
954
- private _resize() {
955
- if (this.panes.length > 1 && !this.panes[this.panes.length - 1].stretchable) {
956
- const el = this._panesContainerRef.element.nativeElement as HTMLDivElement,
957
- child = el.lastElementChild as HTMLDivElement;
958
- child.style.minWidth =
959
- (el.parentElement.parentElement.clientWidth - el.parentElement.offsetLeft - child.offsetLeft - 2) + 'px';
960
- }
961
- this.tabs.concat(this.panes).forEach(p => p._events$.next(new NavigationResize({
962
- } as any, p)));
963
- }
964
- closeTab(position: number) {
965
- const tab = this.tabs[position];
966
- if (!this._closing(tab)) return;
967
- this.tabs.splice(position, 1);
968
- this._destroyPane(tab);
969
- this.selectedTabIndex = this.tabs.length ? position > 0 ? position - 1 : 0 : -1;
970
- this._syncBrowserHistory();
971
- }
972
- /**
973
- *
974
- * @param pane
975
- */
976
- private _closing(pane: PaneRef<any>) {
977
- let evt = new NavigationClose(pane);
978
- pane._events$.next(evt);
979
- return !evt._preventDefault;
980
- }
981
-
982
- expandPane() {
983
- const pane = this.panes[this.selectedIndex];
984
- const evt = new NavigationExpand(pane._expanded = true, pane);
985
- pane._events$.next(evt);
986
- this._router._events$.next(evt);
987
- if (evt._preventDefault) return;
988
- this.swap = this._getHistoryStep();
989
- let i = 0;
990
- do {
991
- if (this.panes[i] !== pane) {
992
- this._destroyPane(this.panes[i]);
993
- this.panes.splice(i, 1);
994
- }
995
- else
996
- i++;
997
- }
998
- while (i < this.panes.length);
999
- this.selectedIndex = 0;
1000
- this._syncBrowserHistory();
1001
- }
1002
- private _getHistoryStep(): number {
1003
- return history.state && history.state.bizdoc ? (history.state as HistoryState).step : 0;
1004
- }
1005
-
1006
- expandTab() {
1007
- const tab = this.tabs[this.selectedTabIndex];
1008
- const evt = new NavigationExpand(tab._expanded = true, tab)
1009
- tab._events$.next(evt);
1010
- this._router._events$.next(evt);
1011
- if (evt._preventDefault) return;
1012
- this.swap = this._getHistoryStep();
1013
- this.swapTab = null;
1014
- this.panes.forEach(p =>
1015
- this._destroyPane(p)
1016
- );
1017
- this.tabs.splice(this.selectedTabIndex, 1);
1018
- this.panes.splice(0, this.panes.length, tab);
1019
-
1020
- tab._mode = 'pane';
1021
- this.selectedTabIndex = this.tabs.length ? 0 : -1;
1022
- this._syncBrowserHistory();
1023
- }
1024
-
1025
- select(position: number) {
1026
- if (this.selectedIndex === position) return;
1027
- if (position === -1) {
1028
- if (this.panes.length) position = this.panes.length - 1;
1029
- else return;
1030
- }
1031
- this.selectedIndex = position;
1032
- const pane = this.panes[position];
1033
- const evt = new NavigationFocus(pane);
1034
- pane._events$.next(evt);
1035
- this._router._events$.next(evt);
1036
- this._title.set(pane.title);
1037
- }
1038
- async removeAt(position: number) {
1039
- const pane = this.panes[position];
1040
-
1041
- if (!this._closing(pane)) return;
1042
-
1043
- await this._dismiss(pane);
1044
-
1045
- this._discardPane(pane);
1046
-
1047
- if (position >= this.selectedIndex)
1048
- this.select(-1);
1049
- this._syncBrowserHistory();
1050
- }
1051
- /**
1052
- *
1053
- * @param pane
1054
- */
1055
- private async _dismiss(pane: PaneRef<any>) {
1056
- const panes = this.panes.concat(this.tabs).
1057
- filter(s => s.decendentOf(pane) && s.route && s.route.canDismiss).
1058
- reverse();
1059
-
1060
- pane.route && pane.route.canDismiss &&
1061
- panes.push(pane);
1062
-
1063
- for (let i = 0; i < panes.length; i++) {
1064
- let ok = await this._dismissable(panes[i]);
1065
- if (!ok) throw '';
1066
- }
1067
- }
1068
- /**
1069
- *
1070
- * @param pane
1071
- */
1072
- private _discardPane(pane: PaneRef<any>) {
1073
- this.panes.concat(this.tabs).
1074
- filter(s => s.decendentOf(pane)).
1075
- reverse().
1076
- forEach(s => this._discardPane(s));
1077
- this._destroyPane(pane);
1078
- const index = this.panes.indexOf(pane);
1079
- this.panes.splice(index, 1);
1080
- }
1081
- private _clearPending() {
1082
- this._pending.splice(0, this._pending.length);
1083
- }
1084
- /** */
1085
- private async _clearPanes() {
1086
- await this._dismissAll(this.panes);
1087
- this.panes.forEach(p => this._destroyPane(p));
1088
- this.panes.splice(0, this.panes.length);
1089
- this.selectedIndex = -1;
1090
- this.swap = null;
1091
- }
1092
- private async _clearTabs() {
1093
- if (!this.tabs.length) return;
1094
- await this._dismissAll(this.tabs);
1095
- this.tabs.forEach(t => this._destroyPane(t));
1096
- this.tabs.splice(0, this.tabs.length);
1097
- this.selectedTabIndex = -1;
1098
- this.swapTab = null;
1099
- }
1100
- /**
1101
- *
1102
- * @param panes
1103
- */
1104
- private async _dismissAll(panes: PaneRef[]) {
1105
- for (let pane of panes.
1106
- filter(s => s.route && s.route.canDismiss)) {
1107
- let ok = await this._dismissable(pane);
1108
- if (!ok)
1109
- throw '';
1110
- }
1111
- }
1112
-
1113
- /**
1114
- *
1115
- * @param pane
1116
- */
1117
- private _dismissable(pane: PaneRef<any>) {
1118
- const { instance, route: { canDismiss } } = pane;
1119
- const dismissable = this._injector.get(canDismiss) as CanDismiss<any>;
1120
- const ok = dismissable.onDismiss(instance);
1121
- if (isBoolean(ok))
1122
- return Promise.resolve(ok);
1123
- else if (isPromise(ok))
1124
- return ok;
1125
- else
1126
- return ok.toPromise();
1127
- }
1128
- scrollTo(index: number) {
1129
- const item = this._children.item(index) as HTMLDivElement;
1130
- item && item.scrollIntoView({ behavior: 'smooth', inline: 'end', block: 'end' });
1131
- }
1132
-
1133
- private get _children() {
1134
- return this._panesContainerRef.element.nativeElement.querySelectorAll('.pane-content');
1135
- }
1136
- done() {
1137
- this.enableNavigationArrows();
1138
- this._resize();
1139
- }
1140
- enableNavigationArrows(_?: Event) {
1141
- const container = this._panesContainerRef.element.nativeElement,
1142
- scrollLeft = Math.round(container.scrollLeft);
1143
- this.next = this._rtl ? container.clientWidth - scrollLeft < container.scrollWidth :
1144
- scrollLeft + container.clientWidth < container.scrollWidth;
1145
- this.prev = this._rtl ? scrollLeft < 0 : scrollLeft > 0;
1146
- }
1147
- scrollBy(n: number) {
1148
- const left = n * (this._rtl ? -1 : 1);
1149
- this._panesContainerRef.element.nativeElement.scrollBy({ behavior: 'smooth', left });
1150
- }
1151
- focus(index) {
1152
- const el = this._children.item(index) as HTMLDivElement;
1153
- el.focus();
1154
- }
1155
- onPaneResize(pane: PaneRef<any>, event: MouseEvent) {
1156
- const el = (event.srcElement as HTMLDivElement).previousElementSibling as HTMLDivElement;
1157
-
1158
- const // remember mouse down info
1159
- width = el.clientWidth,
1160
- d = this._rtl ? -1 : 1;
1161
-
1162
- (event.srcElement as HTMLDivElement).classList.add('resizing');
1163
-
1164
- this.dragging = true;
1165
-
1166
- document.onmousemove = onMouseMove;
1167
- document.onmouseup = () => {
1168
- (event.srcElement as HTMLDivElement).classList.remove('resizing');
1169
- document.onmousemove = document.onmouseup = null;
1170
- this.dragging = false;
1171
- };
1172
- function onMouseMove(e) {
1173
-
1174
- const delta = (e.clientX - event.clientX) * d;
1175
- el.style.width = el.style.minWidth
1176
- = Math.max(width + delta, 350) + 'px';
1177
- pane._events$.next(new NavigationResize({} as any, pane));
1178
- }
1179
- }
1180
- onTabResize(event: MouseEvent) {
1181
- const el = (event.srcElement as HTMLDivElement).nextElementSibling as HTMLDivElement;
1182
-
1183
- const
1184
- me = this,
1185
- // remember mouse down info
1186
- width = el.clientWidth,
1187
- d = this._rtl ? 1 : -1;
1188
-
1189
- (event.srcElement as HTMLDivElement).classList.add('resizing');
1190
-
1191
- this.dragging = true;
1192
-
1193
- document.onmousemove = onMouseMove;
1194
- document.onmouseup = () => {
1195
- (event.srcElement as HTMLDivElement).classList.remove('resizing');
1196
- document.onmousemove = document.onmouseup = null;
1197
- this.dragging = false;
1198
- me.enableNavigationArrows();
1199
- this._resize();
1200
- };
1201
- function onMouseMove(e) {
1202
-
1203
- // prevent negative-sized elements
1204
- const delta = Math.max((e.clientX - event.clientX) * d, -width);
1205
- el.style.width = el.style.minWidth = (width + delta) + 'px';
1206
- localStorage.setItem('tabs', el.style.width);
1207
- }
1208
- }
1209
- private _destroyPane(pane: PaneRef) {
1210
- pane._destroy();
1211
- const evt = new NavigationEnd(pane);
1212
- pane._events$.next(evt);
1213
- this._router._events$.next(evt);
1214
- }
1215
- ngOnDestroy(): void {
1216
- this._destroy.next();
1217
- this._destroy.complete();
1218
- }
1219
- }
1220
-
1221
- const PANE_PARAMS_REGEX = /(:[\w\-]+)/g;
1222
-
1223
- function prepareRoutes(routes: PaneRoute[], treePath?: string): ExtendedRoute[] {
1224
- for (let i = 0; i < routes.length; i++) {
1225
- let route = routes[i], fullPath = (treePath ? (treePath + '/') : '') + route.path;
1226
-
1227
- Object.assign(route, {
1228
- fullPath,
1229
- regEx: new RegExp('^' + fullPath.
1230
- replace('/', '\\/').
1231
- replace(PANE_PARAMS_REGEX, e => `(?<${e.substr(1)}>[\\w@\\-]*)`))
1232
- });
1233
- if (route.children) {
1234
- let children = prepareRoutes(route.children, fullPath);
1235
- for (var j = 0; j < children.length; j++)
1236
- Object.assign(children[j], {
1237
- parent: route
1238
- });
1239
- }
1240
- }
1241
- return routes as ExtendedRoute[];
1242
- }
1243
-
1244
- interface ExtendedRoute extends PaneRoute {
1245
- fullPath: string;
1246
- regEx: RegExp;
1247
- parent?: ExtendedRoute;
1248
- children?: ExtendedRoute[];
1249
- }
1250
- interface HistoryState {
1251
- bizdoc: true;
1252
- step: number;
1253
- swap?: number;
1254
- swapTab?: number;
1255
- group?: string;
1256
- prevGroup?: string;
1257
- panes: any[];
1258
- tabs: any[];
1259
- selectedTabIndex?: number;
1260
- }