@bizdoc/core 1.13.12 → 1.13.13

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