@bizdoc/core 2.3.40 → 2.3.42

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 (401) hide show
  1. package/assets/themes/brown.min.css +1 -1
  2. package/assets/themes/dark.min.css +1 -1
  3. package/assets/themes/deep-purple-light-blue.min.css +6 -6
  4. package/assets/themes/deep-purple-teal.min.css +1 -1
  5. package/assets/themes/default.min.css +5 -5
  6. package/assets/themes/green.min.css +1 -1
  7. package/assets/themes/indigo.min.css +1 -1
  8. package/esm2022/lib/admin/admin-dismiss.service.mjs +3 -3
  9. package/esm2022/lib/admin/admin-menu.component.mjs +3 -3
  10. package/esm2022/lib/admin/architecture/cube-axes-filter.component.mjs +3 -3
  11. package/esm2022/lib/admin/architecture/designer-element.component.mjs +15 -15
  12. package/esm2022/lib/admin/architecture/designer-privileges.component.mjs +3 -3
  13. package/esm2022/lib/admin/architecture/designer.base.mjs +9 -9
  14. package/esm2022/lib/admin/architecture/designer.component.mjs +3 -3
  15. package/esm2022/lib/admin/architecture/elements/action.component.mjs +3 -3
  16. package/esm2022/lib/admin/architecture/elements/analysis-view.component.mjs +3 -3
  17. package/esm2022/lib/admin/architecture/elements/analysis-widget.component.mjs +3 -3
  18. package/esm2022/lib/admin/architecture/elements/anomaly-rule.component.mjs +3 -3
  19. package/esm2022/lib/admin/architecture/elements/attribute.component.mjs +3 -3
  20. package/esm2022/lib/admin/architecture/elements/box-form.component.mjs +3 -3
  21. package/esm2022/lib/admin/architecture/elements/configuration-datasource.component.mjs +3 -3
  22. package/esm2022/lib/admin/architecture/elements/control.component.mjs +3 -3
  23. package/esm2022/lib/admin/architecture/elements/cube-index-utility.component.mjs +3 -3
  24. package/esm2022/lib/admin/architecture/elements/cube-view.component.mjs +3 -3
  25. package/esm2022/lib/admin/architecture/elements/cube.component.mjs +3 -3
  26. package/esm2022/lib/admin/architecture/elements/document-state-widget.component.mjs +3 -3
  27. package/esm2022/lib/admin/architecture/elements/documents-report.component.mjs +3 -3
  28. package/esm2022/lib/admin/architecture/elements/documents-widget.component.mjs +3 -3
  29. package/esm2022/lib/admin/architecture/elements/explore-view.component.mjs +3 -3
  30. package/esm2022/lib/admin/architecture/elements/folder.component.mjs +3 -3
  31. package/esm2022/lib/admin/architecture/elements/form-invite.dialog.mjs +3 -3
  32. package/esm2022/lib/admin/architecture/elements/form.component.mjs +3 -3
  33. package/esm2022/lib/admin/architecture/elements/guide.component.mjs +3 -3
  34. package/esm2022/lib/admin/architecture/elements/job.component.mjs +3 -3
  35. package/esm2022/lib/admin/architecture/elements/matrix-view.component.mjs +3 -3
  36. package/esm2022/lib/admin/architecture/elements/node.component.mjs +3 -3
  37. package/esm2022/lib/admin/architecture/elements/parallel-view.component.mjs +3 -3
  38. package/esm2022/lib/admin/architecture/elements/performance-report.component.mjs +3 -3
  39. package/esm2022/lib/admin/architecture/elements/performance-widget.component.mjs +3 -3
  40. package/esm2022/lib/admin/architecture/elements/pivot-view.component.mjs +3 -3
  41. package/esm2022/lib/admin/architecture/elements/policy.component.mjs +3 -3
  42. package/esm2022/lib/admin/architecture/elements/report.component.mjs +3 -3
  43. package/esm2022/lib/admin/architecture/elements/return-to-role-action.component.mjs +3 -3
  44. package/esm2022/lib/admin/architecture/elements/role.component.mjs +3 -3
  45. package/esm2022/lib/admin/architecture/elements/rule.component.mjs +3 -3
  46. package/esm2022/lib/admin/architecture/elements/source.component.mjs +3 -3
  47. package/esm2022/lib/admin/architecture/elements/state.component.mjs +3 -3
  48. package/esm2022/lib/admin/architecture/elements/sum-view.component.mjs +3 -3
  49. package/esm2022/lib/admin/architecture/elements/tasks-report.component.mjs +3 -3
  50. package/esm2022/lib/admin/architecture/elements/type.component.mjs +3 -3
  51. package/esm2022/lib/admin/architecture/elements/usage-report.component.mjs +3 -3
  52. package/esm2022/lib/admin/architecture/elements/utility.component.mjs +3 -3
  53. package/esm2022/lib/admin/architecture/elements/view.component.mjs +3 -3
  54. package/esm2022/lib/admin/architecture/elements/widget.component.mjs +3 -3
  55. package/esm2022/lib/admin/architecture/icon-picker.component.mjs +3 -3
  56. package/esm2022/lib/admin/core/ace.input.mjs +3 -3
  57. package/esm2022/lib/admin/core/color-picker.input.mjs +3 -3
  58. package/esm2022/lib/admin/core/localized-string.component.mjs +3 -3
  59. package/esm2022/lib/admin/core/search.input.mjs +3 -3
  60. package/esm2022/lib/admin/diff/configuration-diff.component.mjs +3 -3
  61. package/esm2022/lib/admin/document-trace/document-trace.component.mjs +3 -3
  62. package/esm2022/lib/admin/document-trace/reassign.dialog.mjs +3 -3
  63. package/esm2022/lib/admin/document-trace/trace-element.component.mjs +3 -3
  64. package/esm2022/lib/admin/form/designer/box-designer.component.mjs +3 -3
  65. package/esm2022/lib/admin/form/designer/design-control.component.mjs +3 -3
  66. package/esm2022/lib/admin/form/designer/properties.component.mjs +3 -3
  67. package/esm2022/lib/admin/form/designer/section.component.mjs +3 -3
  68. package/esm2022/lib/admin/form/designer/settings.component.mjs +3 -3
  69. package/esm2022/lib/admin/form/form.resolve.service.mjs +3 -3
  70. package/esm2022/lib/admin/form/workflow/node.component.mjs +3 -3
  71. package/esm2022/lib/admin/form/workflow/role-node.component.mjs +3 -3
  72. package/esm2022/lib/admin/form/workflow/workflow.component.mjs +3 -3
  73. package/esm2022/lib/admin/indices/manage-cube-index.component.mjs +3 -3
  74. package/esm2022/lib/admin/patterns/patterns.component.mjs +3 -3
  75. package/esm2022/lib/admin/permissions/permissions.component.mjs +3 -3
  76. package/esm2022/lib/admin/positions/positions-popup.component.mjs +3 -3
  77. package/esm2022/lib/admin/positions/positions.component.mjs +3 -3
  78. package/esm2022/lib/admin/profiler/outofoffice.component.mjs +3 -3
  79. package/esm2022/lib/admin/profiler/profiler.component.mjs +3 -3
  80. package/esm2022/lib/admin/system.service.mjs +3 -3
  81. package/esm2022/lib/admin/utility-wrapper.component.mjs +3 -3
  82. package/esm2022/lib/admin/utility.pane.component.mjs +3 -3
  83. package/esm2022/lib/app.component.mjs +6 -6
  84. package/esm2022/lib/bizdoc.module.mjs +4 -4
  85. package/esm2022/lib/browse/browse-items.component.mjs +3 -3
  86. package/esm2022/lib/browse/browse.mobile.component.mjs +3 -3
  87. package/esm2022/lib/browse/browse.pane.component.mjs +3 -3
  88. package/esm2022/lib/browse/expanded-item/expanded-item.component.mjs +3 -3
  89. package/esm2022/lib/browse/filter/filter.component.mjs +3 -3
  90. package/esm2022/lib/browse/folders-menu.component.mjs +3 -3
  91. package/esm2022/lib/chat/chat-info.mjs +3 -3
  92. package/esm2022/lib/chat/chat.mobile.component.mjs +3 -3
  93. package/esm2022/lib/chat/chat.service.mjs +3 -3
  94. package/esm2022/lib/chat/contacts.component.mjs +8 -8
  95. package/esm2022/lib/chat/contacts.pane.component.mjs +3 -3
  96. package/esm2022/lib/chat/conversation.component.mjs +5 -5
  97. package/esm2022/lib/chat/conversation.pane.component.mjs +5 -5
  98. package/esm2022/lib/compose/action/action-picker.component.mjs +3 -3
  99. package/esm2022/lib/compose/action/action.dialog.mjs +3 -3
  100. package/esm2022/lib/compose/action/action.pane.dialog.exp.mjs +3 -3
  101. package/esm2022/lib/compose/action/assign-action.component.mjs +3 -3
  102. package/esm2022/lib/compose/action/moveto-action.component.mjs +3 -3
  103. package/esm2022/lib/compose/action/return-action.component.mjs +3 -3
  104. package/esm2022/lib/compose/attachments/attachments.component.mjs +3 -3
  105. package/esm2022/lib/compose/attachments/preview/attachment-preview.component.mjs +3 -3
  106. package/esm2022/lib/compose/attachments/progress-button.directive.mjs +3 -3
  107. package/esm2022/lib/compose/box/box.component.mjs +3 -3
  108. package/esm2022/lib/compose/box/control.component.mjs +3 -3
  109. package/esm2022/lib/compose/box/row.component.mjs +3 -3
  110. package/esm2022/lib/compose/can-deactivate-changes.service.mjs +3 -3
  111. package/esm2022/lib/compose/comments/comment.component.mjs +3 -3
  112. package/esm2022/lib/compose/comments/comments.component.mjs +5 -5
  113. package/esm2022/lib/compose/comments/comments.pane.component.mjs +3 -3
  114. package/esm2022/lib/compose/comments/edit-comment.component.mjs +5 -5
  115. package/esm2022/lib/compose/comments/edits.component.mjs +3 -3
  116. package/esm2022/lib/compose/comments/quick-comment.component.exp.mjs +5 -5
  117. package/esm2022/lib/compose/comments/votes.component.mjs +3 -3
  118. package/esm2022/lib/compose/compose-resolve.service.mjs +6 -6
  119. package/esm2022/lib/compose/compose.mobile.component.mjs +3 -3
  120. package/esm2022/lib/compose/compose.pane.component.mjs +3 -3
  121. package/esm2022/lib/compose/copy/copy.dialog.mjs +3 -3
  122. package/esm2022/lib/compose/dismiss.service.mjs +3 -3
  123. package/esm2022/lib/compose/document-resolver.service.mjs +3 -3
  124. package/esm2022/lib/compose/document.component.mjs +3 -3
  125. package/esm2022/lib/compose/document.mobile.component.mjs +3 -3
  126. package/esm2022/lib/compose/document.pane.component.mjs +3 -3
  127. package/esm2022/lib/compose/events/events.component.mjs +3 -3
  128. package/esm2022/lib/compose/form-selector/form-selector.sheet.mjs +3 -3
  129. package/esm2022/lib/compose/form.component.mjs +3 -3
  130. package/esm2022/lib/compose/new-menu.component.mjs +3 -3
  131. package/esm2022/lib/compose/privilage.directive.mjs +6 -6
  132. package/esm2022/lib/compose/recipient-resolver.service.mjs +3 -3
  133. package/esm2022/lib/compose/state.component.mjs +3 -3
  134. package/esm2022/lib/compose/tag/tags.component.mjs +3 -3
  135. package/esm2022/lib/compose/trace/flow.component.mjs +3 -3
  136. package/esm2022/lib/compose/trace/people.component.mjs +3 -3
  137. package/esm2022/lib/compose/trace/trace.base.mjs +3 -3
  138. package/esm2022/lib/compose/trace/trace.component.mjs +3 -3
  139. package/esm2022/lib/compose/trace/trace.pane.component.mjs +3 -3
  140. package/esm2022/lib/compose/version-compare/version-compare.component.mjs +3 -3
  141. package/esm2022/lib/compose/version-compare/version-compare.directive.mjs +9 -9
  142. package/esm2022/lib/compose/version-compare/version.pane.component.mjs +3 -3
  143. package/esm2022/lib/core/account.service.mjs +3 -3
  144. package/esm2022/lib/core/animated-icon/animated-icon.directive.mjs +3 -3
  145. package/esm2022/lib/core/avatar/avatar.component.mjs +3 -3
  146. package/esm2022/lib/core/checkbox.mjs +3 -3
  147. package/esm2022/lib/core/component-factory-resolver.mjs +3 -3
  148. package/esm2022/lib/core/datasource.service.mjs +3 -3
  149. package/esm2022/lib/core/fields/address.designer.mjs +3 -3
  150. package/esm2022/lib/core/fields/address.field.mjs +3 -3
  151. package/esm2022/lib/core/fields/autocomplete.field.mjs +6 -6
  152. package/esm2022/lib/core/fields/checkbox.designer.mjs +3 -3
  153. package/esm2022/lib/core/fields/checkbox.field.mjs +3 -3
  154. package/esm2022/lib/core/fields/checklist.designer.mjs +3 -3
  155. package/esm2022/lib/core/fields/checklist.field.mjs +3 -3
  156. package/esm2022/lib/core/fields/date-range.designer.mjs +3 -3
  157. package/esm2022/lib/core/fields/date-range.field.mjs +3 -3
  158. package/esm2022/lib/core/fields/date.designer.mjs +3 -3
  159. package/esm2022/lib/core/fields/date.field.mjs +3 -3
  160. package/esm2022/lib/core/fields/expression.field.mjs +6 -6
  161. package/esm2022/lib/core/fields/file.designer.mjs +3 -3
  162. package/esm2022/lib/core/fields/file.field.mjs +3 -3
  163. package/esm2022/lib/core/fields/html.designer.mjs +3 -3
  164. package/esm2022/lib/core/fields/html.field.mjs +3 -3
  165. package/esm2022/lib/core/fields/input.designer.mjs +3 -3
  166. package/esm2022/lib/core/fields/input.field.mjs +3 -3
  167. package/esm2022/lib/core/fields/localized-string.field.mjs +6 -6
  168. package/esm2022/lib/core/fields/numeric.designer.mjs +3 -3
  169. package/esm2022/lib/core/fields/numeric.field.mjs +3 -3
  170. package/esm2022/lib/core/fields/options.base.mjs +6 -6
  171. package/esm2022/lib/core/fields/options.component.mjs +3 -3
  172. package/esm2022/lib/core/fields/radio-button.designer.mjs +3 -3
  173. package/esm2022/lib/core/fields/radio-button.field.mjs +3 -3
  174. package/esm2022/lib/core/fields/select.designer.mjs +3 -3
  175. package/esm2022/lib/core/fields/select.field.mjs +3 -3
  176. package/esm2022/lib/core/fields/signature.designer.mjs +3 -3
  177. package/esm2022/lib/core/fields/signature.field.mjs +3 -3
  178. package/esm2022/lib/core/fields/switch.field.mjs +3 -3
  179. package/esm2022/lib/core/fields/tags.designer.mjs +3 -3
  180. package/esm2022/lib/core/fields/tags.field.mjs +3 -3
  181. package/esm2022/lib/core/fields/textarea.designer.mjs +3 -3
  182. package/esm2022/lib/core/fields/textarea.field.mjs +3 -3
  183. package/esm2022/lib/core/fields/time.designer.mjs +3 -3
  184. package/esm2022/lib/core/fields/time.field.mjs +3 -3
  185. package/esm2022/lib/core/fields/timespan.field.mjs +11 -8
  186. package/esm2022/lib/core/fields/yesno.designer.mjs +3 -3
  187. package/esm2022/lib/core/fields/yesno.field.mjs +3 -3
  188. package/esm2022/lib/core/guide/guide.component.mjs +3 -3
  189. package/esm2022/lib/core/guide/guide.service.mjs +3 -3
  190. package/esm2022/lib/core/guide/help-tip.component.mjs +3 -3
  191. package/esm2022/lib/core/http.interceptor.mjs +3 -3
  192. package/esm2022/lib/core/hub.service.mjs +3 -3
  193. package/esm2022/lib/core/identity/identity.component.mjs +3 -3
  194. package/esm2022/lib/core/info/attachment-info.service.mjs +3 -3
  195. package/esm2022/lib/core/info/document-info.service.mjs +3 -3
  196. package/esm2022/lib/core/info/location-info.component.mjs +3 -3
  197. package/esm2022/lib/core/info/map-info.mjs +3 -3
  198. package/esm2022/lib/core/inputs/address.input.mjs +3 -3
  199. package/esm2022/lib/core/inputs/auto-complete.input.mjs +3 -3
  200. package/esm2022/lib/core/inputs/combination-picker-body.mjs +3 -3
  201. package/esm2022/lib/core/inputs/combination-picker.mjs +3 -3
  202. package/esm2022/lib/core/inputs/combination-pool.mjs +3 -3
  203. package/esm2022/lib/core/inputs/file.input.mjs +3 -3
  204. package/esm2022/lib/core/inputs/select.input.mjs +3 -3
  205. package/esm2022/lib/core/inputs/signature.input.mjs +3 -3
  206. package/esm2022/lib/core/inputs/time-picker.mjs +3 -3
  207. package/esm2022/lib/core/inputs/timespan.input.mjs +3 -3
  208. package/esm2022/lib/core/layout.component.mjs +3 -3
  209. package/esm2022/lib/core/lottie-animation.mjs +3 -3
  210. package/esm2022/lib/core/mailbox.service.mjs +3 -3
  211. package/esm2022/lib/core/none.component.mjs +3 -3
  212. package/esm2022/lib/core/pipes/action.pipe.mjs +3 -3
  213. package/esm2022/lib/core/pipes/calendar.pipe.mjs +3 -3
  214. package/esm2022/lib/core/pipes/date-format.pipe.mjs +3 -3
  215. package/esm2022/lib/core/pipes/daterange.pipe.mjs +6 -6
  216. package/esm2022/lib/core/pipes/difference.pipe.mjs +3 -3
  217. package/esm2022/lib/core/pipes/duration-format.pipe.mjs +3 -3
  218. package/esm2022/lib/core/pipes/duration.pipe.mjs +3 -3
  219. package/esm2022/lib/core/pipes/form.pipe.mjs +3 -3
  220. package/esm2022/lib/core/pipes/join.pipe.mjs +3 -3
  221. package/esm2022/lib/core/pipes/localized-string.pipe.mjs +3 -3
  222. package/esm2022/lib/core/pipes/role.pipe.mjs +3 -3
  223. package/esm2022/lib/core/pipes/sanitize-html.pipe.mjs +3 -3
  224. package/esm2022/lib/core/pipes/sort.pipe.mjs +9 -9
  225. package/esm2022/lib/core/pipes/state.pipe.mjs +3 -3
  226. package/esm2022/lib/core/pipes/time-ago.pipe.mjs +6 -6
  227. package/esm2022/lib/core/pipes/translate.pipe.mjs +9 -9
  228. package/esm2022/lib/core/pipes/type-value.pipe.mjs +3 -3
  229. package/esm2022/lib/core/pipes/user-name.pipe.mjs +3 -3
  230. package/esm2022/lib/core/popup/popup.component.mjs +3 -3
  231. package/esm2022/lib/core/popup/popup.service.mjs +3 -3
  232. package/esm2022/lib/core/popup/tooltip.directive.mjs +6 -6
  233. package/esm2022/lib/core/prompt/ask/ask.dialog.mjs +3 -3
  234. package/esm2022/lib/core/prompt/mask/mask.component.mjs +3 -3
  235. package/esm2022/lib/core/prompt.service.mjs +3 -3
  236. package/esm2022/lib/core/router.mjs +6 -6
  237. package/esm2022/lib/core/save-changes.dialog.mjs +3 -3
  238. package/esm2022/lib/core/session.service.mjs +3 -3
  239. package/esm2022/lib/core/slots/router.directive.mjs +3 -3
  240. package/esm2022/lib/core/slots/router.service.mjs +3 -3
  241. package/esm2022/lib/core/slots/slots.component.mjs +6 -6
  242. package/esm2022/lib/core/sticky-toolbar.exp.mjs +3 -3
  243. package/esm2022/lib/core/tagging/documents.component.mjs +3 -3
  244. package/esm2022/lib/core/tagging/edit-input.component.mjs +5 -5
  245. package/esm2022/lib/core/tagging/emoji.component.mjs +3 -3
  246. package/esm2022/lib/core/tagging/tagging-item.directive.mjs +3 -3
  247. package/esm2022/lib/core/tagging/tagging.component-base.mjs +3 -3
  248. package/esm2022/lib/core/tagging/tagging.directive.mjs +3 -3
  249. package/esm2022/lib/core/tagging/tagging.pipe.mjs +3 -3
  250. package/esm2022/lib/core/tagging/users.component.mjs +3 -3
  251. package/esm2022/lib/core/translate.service.mjs +3 -3
  252. package/esm2022/lib/core/translations.mjs +7 -1
  253. package/esm2022/lib/core/virtual-tabs.component.exp.mjs +6 -6
  254. package/esm2022/lib/core/window-title.service.mjs +3 -3
  255. package/esm2022/lib/cube/accum/accum.component.mjs +7 -6
  256. package/esm2022/lib/cube/chart/chart.component.mjs +5 -5
  257. package/esm2022/lib/cube/cube-info.service.mjs +3 -3
  258. package/esm2022/lib/cube/cube-menu.component.mjs +3 -3
  259. package/esm2022/lib/cube/cube-view.component.mjs +6 -5
  260. package/esm2022/lib/cube/cube.service.mjs +3 -3
  261. package/esm2022/lib/cube/explore/document-item.component.mjs +3 -3
  262. package/esm2022/lib/cube/explore/explore-item.component.mjs +3 -3
  263. package/esm2022/lib/cube/explore/explore-items.component.mjs +3 -3
  264. package/esm2022/lib/cube/explore/explore.pane.component.mjs +3 -3
  265. package/esm2022/lib/cube/explore/item-resolver.service.mjs +6 -6
  266. package/esm2022/lib/cube/explore/item.pane.component.mjs +3 -3
  267. package/esm2022/lib/cube/filter/filter-tags.component.exp.mjs +3 -3
  268. package/esm2022/lib/cube/filter/filter.component.mjs +3 -3
  269. package/esm2022/lib/cube/grid/grid.component.mjs +3 -3
  270. package/esm2022/lib/cube/matrix/matrix.base.mjs +3 -3
  271. package/esm2022/lib/cube/matrix/matrix.mobile.component.mjs +3 -3
  272. package/esm2022/lib/cube/matrix/matrix.pane.component.mjs +3 -3
  273. package/esm2022/lib/cube/matrix/popup.component.mjs +3 -3
  274. package/esm2022/lib/cube/matrix/table.component.mjs +3 -3
  275. package/esm2022/lib/cube/parallel/parallel.component.mjs +3 -3
  276. package/esm2022/lib/cube/pivot/pivot.component.mjs +3 -3
  277. package/esm2022/lib/cube/spreadsheet/spreadsheet.component.mjs +5 -9
  278. package/esm2022/lib/cube/spreadsheet/{spreadsheet.container.mjs → spreadsheet.container.exp.mjs} +4 -4
  279. package/esm2022/lib/cube/sum/sum.component.mjs +3 -3
  280. package/esm2022/lib/cube/view-base.mjs +3 -3
  281. package/esm2022/lib/cube/view.mobile.component.mjs +3 -3
  282. package/esm2022/lib/cube/view.pane.component.mjs +3 -3
  283. package/esm2022/lib/dashboard/actions/actions.widget.mjs +3 -3
  284. package/esm2022/lib/dashboard/cube/accum-cube.widget.mjs +3 -3
  285. package/esm2022/lib/dashboard/cube/compare.widget.mjs +3 -3
  286. package/esm2022/lib/dashboard/cube/cube-analysis.base.mjs +3 -3
  287. package/esm2022/lib/dashboard/cube/cube-analysis.widget.mjs +3 -3
  288. package/esm2022/lib/dashboard/cube/cube-chart.widget.mjs +3 -3
  289. package/esm2022/lib/dashboard/cube/document-state.widget.mjs +3 -3
  290. package/esm2022/lib/dashboard/cube/documents.widget.mjs +3 -3
  291. package/esm2022/lib/dashboard/cube/filter/filter.component.mjs +3 -3
  292. package/esm2022/lib/dashboard/dashboard.component.mjs +3 -3
  293. package/esm2022/lib/dashboard/dashboard.pane.component.mjs +3 -3
  294. package/esm2022/lib/dashboard/recents/recents.widget.mjs +3 -3
  295. package/esm2022/lib/dashboard/score/activity.widget.mjs +3 -3
  296. package/esm2022/lib/dashboard/score/compare-groups.widget.mjs +3 -3
  297. package/esm2022/lib/dashboard/score/peers-performance.widget.mjs +3 -3
  298. package/esm2022/lib/dashboard/score/pending-results.widget.mjs +3 -3
  299. package/esm2022/lib/dashboard/score/personal-score.widget.mjs +3 -3
  300. package/esm2022/lib/dashboard/widget-item.component.mjs +3 -3
  301. package/esm2022/lib/designer.module.mjs +4 -4
  302. package/esm2022/lib/desktop.module.mjs +4 -4
  303. package/esm2022/lib/home/about/about.dialog.mjs +3 -3
  304. package/esm2022/lib/home/home-base.component.mjs +3 -3
  305. package/esm2022/lib/home/home.desktop.component.mjs +3 -3
  306. package/esm2022/lib/home/home.mobile.component.mjs +3 -3
  307. package/esm2022/lib/home/notifications/notifications.component.mjs +3 -3
  308. package/esm2022/lib/home/options/options.component.mjs +3 -3
  309. package/esm2022/lib/home/outofoffice/outofoffice.component.mjs +3 -3
  310. package/esm2022/lib/home/sign/sign.component.mjs +3 -3
  311. package/esm2022/lib/impersonate/impersonate.component.mjs +3 -3
  312. package/esm2022/lib/mobile.module.mjs +4 -4
  313. package/esm2022/lib/modules/chart.module.mjs +7 -7
  314. package/esm2022/lib/modules/circular-gauge.module.mjs +4 -4
  315. package/esm2022/lib/modules/datepicker.intl.mjs +3 -3
  316. package/esm2022/lib/modules/dayjs.module.mjs +4 -4
  317. package/esm2022/lib/modules/diagram.module.mjs +4 -4
  318. package/esm2022/lib/modules/gantt.module.mjs +4 -4
  319. package/esm2022/lib/modules/grid.module.mjs +4 -4
  320. package/esm2022/lib/modules/linear-gauge.module.mjs +4 -4
  321. package/esm2022/lib/modules/material.module.mjs +4 -4
  322. package/esm2022/lib/modules/paginator.intl.mjs +3 -3
  323. package/esm2022/lib/modules/pivot.module.mjs +4 -4
  324. package/esm2022/lib/modules/schedule.module.mjs +4 -4
  325. package/esm2022/lib/modules/spreadsheet.module.mjs +4 -4
  326. package/esm2022/lib/modules/stepper.intl.mjs +3 -3
  327. package/esm2022/lib/modules/texteditor.module.mjs +4 -4
  328. package/esm2022/lib/notifications/filter.component.mjs +3 -3
  329. package/esm2022/lib/notifications/notifications-table.component.mjs +3 -3
  330. package/esm2022/lib/notifications/notifications.mobile.component.mjs +3 -3
  331. package/esm2022/lib/notifications/notifications.pane.component.mjs +5 -4
  332. package/esm2022/lib/notifications/notifications.service.mjs +3 -3
  333. package/esm2022/lib/notifications/types/commented.notification.mjs +3 -3
  334. package/esm2022/lib/notifications/types/cube-anomaly.notification.mjs +3 -3
  335. package/esm2022/lib/notifications/types/escalated.notification.mjs +3 -3
  336. package/esm2022/lib/notifications/types/invite.notification.mjs +3 -3
  337. package/esm2022/lib/notifications/types/liked.notification.mjs +3 -3
  338. package/esm2022/lib/notifications/types/long-running-task.notification.mjs +3 -3
  339. package/esm2022/lib/notifications/types/notification-base.mjs +3 -3
  340. package/esm2022/lib/notifications/types/nudge.notification.mjs +3 -3
  341. package/esm2022/lib/notifications/types/state-changed.notification.mjs +3 -3
  342. package/esm2022/lib/notifications/types/tagged.notification.mjs +3 -3
  343. package/esm2022/lib/notifications/types/text.notification.mjs +3 -3
  344. package/esm2022/lib/notifications/types/upcoming-event.notification.mjs +3 -3
  345. package/esm2022/lib/options/options.component.mjs +3 -3
  346. package/esm2022/lib/options/options.service.mjs +3 -3
  347. package/esm2022/lib/reports/arguments-component.mjs +3 -3
  348. package/esm2022/lib/reports/cube/documents.component.mjs +3 -3
  349. package/esm2022/lib/reports/cube/grid-documents.component.mjs +3 -3
  350. package/esm2022/lib/reports/cube/performance-hilo.component.mjs +126 -50
  351. package/esm2022/lib/reports/cube/performance-wind.component.mjs +271 -0
  352. package/esm2022/lib/reports/cube/table-documents.component.mjs +3 -3
  353. package/esm2022/lib/reports/cube/usage-args.component.mjs +3 -3
  354. package/esm2022/lib/reports/cube/usage-base.mjs +3 -3
  355. package/esm2022/lib/reports/cube/usage-chart.component.mjs +3 -3
  356. package/esm2022/lib/reports/cube/usage-pivot.component.mjs +3 -3
  357. package/esm2022/lib/reports/cube/usage.component.mjs +3 -3
  358. package/esm2022/lib/reports/report-viewer.component.mjs +3 -3
  359. package/esm2022/lib/reports/report.mobile.component.mjs +3 -3
  360. package/esm2022/lib/reports/report.pane.component.mjs +3 -3
  361. package/esm2022/lib/reports/reports-menu.component.mjs +3 -3
  362. package/esm2022/lib/reports/substitution/substitution.component.mjs +3 -3
  363. package/esm2022/lib/reports/table/table-view.component.mjs +3 -3
  364. package/esm2022/lib/reports/tasks/tasks.component.mjs +3 -3
  365. package/esm2022/lib/scheduler/schedule.component.mjs +3 -3
  366. package/esm2022/lib/scheduler/scheduler.mobile.component.mjs +3 -3
  367. package/esm2022/lib/scheduler/scheduler.pane.component.mjs +3 -3
  368. package/esm2022/lib/search/cube.component.mjs +3 -3
  369. package/esm2022/lib/search/document.component.mjs +3 -3
  370. package/esm2022/lib/search/guide.component.mjs +3 -3
  371. package/esm2022/lib/search/path.component.mjs +3 -3
  372. package/esm2022/lib/search/search.service.mjs +3 -3
  373. package/esm2022/lib/shared.module.mjs +7 -7
  374. package/esm2022/lib/system.module.mjs +4 -4
  375. package/esm2022/lib/views/cube/chart.component.mjs +3 -3
  376. package/esm2022/lib/views/cube/cube-base.mjs +3 -3
  377. package/esm2022/lib/views/cube/explore.component.mjs +3 -3
  378. package/esm2022/lib/views/cube/matrix.component.mjs +3 -3
  379. package/esm2022/lib/views/cube/parallel.component.mjs +3 -3
  380. package/esm2022/lib/views/cube/pivot.component.mjs +3 -3
  381. package/esm2022/lib/views/cube/sum.component.mjs +3 -3
  382. package/esm2022/lib/views/cube/view.component.mjs +3 -3
  383. package/esm2022/lib/views/timeline/timeline.component.mjs +3 -3
  384. package/esm2022/lib/views/view-item.component.mjs +3 -3
  385. package/esm2022/lib/views/views.component.mjs +3 -3
  386. package/esm2022/lib/views/views.mobile.component.mjs +3 -3
  387. package/esm2022/lib/views/views.pane.component.mjs +3 -3
  388. package/esm2022/public-api.mjs +2 -2
  389. package/fesm2022/bizdoc-core.mjs +1550 -1385
  390. package/fesm2022/bizdoc-core.mjs.map +1 -1
  391. package/lib/core/fields/timespan.field.d.ts +1 -1
  392. package/lib/core/translations.d.ts +6 -0
  393. package/lib/notifications/notifications.pane.component.d.ts +1 -1
  394. package/lib/reports/cube/performance-hilo.component.d.ts +18 -11
  395. package/lib/reports/cube/performance-wind.component.d.ts +86 -0
  396. package/lib/shared.module.d.ts +2 -2
  397. package/package.json +10 -10
  398. package/public-api.d.ts +1 -1
  399. package/esm2022/lib/reports/cube/role-performance.component.mjs +0 -187
  400. package/lib/reports/cube/role-performance.component.d.ts +0 -58
  401. /package/lib/cube/spreadsheet/{spreadsheet.container.d.ts → spreadsheet.container.exp.d.ts} +0 -0
@@ -24,5 +24,5 @@ export declare class TimespanControlDesigner implements ControlDesigner, OnInit
24
24
  mode: ViewMode;
25
25
  readonly form: FormGroup<{}>;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<TimespanControlDesigner, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<TimespanControlDesigner, "ng-component", never, {}, {}, never, never, false, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimespanControlDesigner, "bizdoc-timespan-control-designer", never, {}, {}, never, never, false, never>;
28
28
  }
@@ -349,6 +349,7 @@ export declare const STRINGS: {
349
349
  DiscardSelected: string;
350
350
  ChatHere: string;
351
351
  CommentHere: string;
352
+ TypeMessageHere: string;
352
353
  DraftSaved: string;
353
354
  Submit: string;
354
355
  SubmitSelected: string;
@@ -414,6 +415,7 @@ export declare const STRINGS: {
414
415
  From: string;
415
416
  To: string;
416
417
  Duration: string;
418
+ Deviation: string;
417
419
  DurationTime: string;
418
420
  Standard: string;
419
421
  StandardValue: string;
@@ -889,6 +891,7 @@ export declare const STRINGS: {
889
891
  YouFemale: string;
890
892
  Duration: string;
891
893
  DurationTime: string;
894
+ Deviation: string;
892
895
  Standard: string;
893
896
  StandardValue: string;
894
897
  AverageValue: string;
@@ -906,6 +909,9 @@ export declare const STRINGS: {
906
909
  CommentHere: string;
907
910
  CommentHereMale: string;
908
911
  CommentHereFemale: string;
912
+ TypeMessageHere: string;
913
+ TypeMessageHereMale: string;
914
+ TypeMessageHereFemale: string;
909
915
  ChatHere: string;
910
916
  Collapse: string;
911
917
  Flagged: string;
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
4
4
  export declare class NotificationsPaneComponent {
5
5
  constructor(pane: PaneRef, translate: TranslateService);
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsPaneComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsPaneComponent, "ng-component", never, {}, {}, never, never, false, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsPaneComponent, "bizdoc-notification-pane", never, {}, {}, never, never, false, never>;
8
8
  }
@@ -1,32 +1,39 @@
1
1
  import { ElementRef, OnDestroy } from '@angular/core';
2
+ import { AxisModel, Chart, IAxisLabelRenderEventArgs, ITooltipRenderEventArgs, TooltipSettingsModel } from '@syncfusion/ej2-angular-charts';
2
3
  import { ReportComponent } from '../../core/base';
3
4
  import { AccountService } from '../../core/account.service';
4
5
  import { SessionService } from '../../core/session.service';
5
6
  import { AxesMap } from '../../core/models';
6
7
  import { TranslateService } from '../../core/translate.service';
7
- import { Chart, IAxisLabelRenderEventArgs, ITooltipRenderEventArgs } from '@syncfusion/ej2-angular-charts';
8
8
  import { ReportRef } from '../report-ref';
9
9
  import * as i0 from "@angular/core";
10
- export declare class PerformanceHiloComponent implements ReportComponent<Model>, OnDestroy {
10
+ export declare class PerformanceHiloComponent implements ReportComponent<DataModel>, OnDestroy {
11
11
  private _elementRef;
12
12
  private _accounts;
13
13
  private _session;
14
14
  private _translate;
15
15
  private _reportRef;
16
+ theme: 'Material3Dark' | 'Material3';
17
+ chart: Chart;
18
+ standardMin: number;
19
+ standardAvg: number;
20
+ standardMax: number;
21
+ durationMin: number;
16
22
  durationAvg: number;
17
- stdAvg: number;
18
- maxStd: number;
19
- minStd: number;
20
- minDuration: number;
21
- maxDuration: number;
23
+ durationMax: number;
22
24
  data: Item[];
23
25
  readonly titleStyle: {
24
26
  fontFamily: string;
25
27
  };
28
+ readonly primaryYAxis: AxisModel;
29
+ readonly primaryXAxis: AxisModel;
30
+ readonly tooltip: TooltipSettingsModel;
31
+ readonly enableRtl: boolean;
32
+ palettes: string[];
26
33
  private readonly _destroy;
27
- chart: Chart;
34
+ title: string;
28
35
  constructor(_elementRef: ElementRef<HTMLDivElement>, _accounts: AccountService, _session: SessionService, _translate: TranslateService, _reportRef: ReportRef<PerformanceSettingsModel>);
29
- onBind(data: Model[]): void;
36
+ onBind(data: DataModel[]): void;
30
37
  onExport(): void;
31
38
  private _draw;
32
39
  axisLabelRender(evt: IAxisLabelRenderEventArgs): void;
@@ -35,7 +42,7 @@ export declare class PerformanceHiloComponent implements ReportComponent<Model>,
35
42
  static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceHiloComponent, never>;
36
43
  static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceHiloComponent, "ng-component", never, {}, {}, never, never, false, never>;
37
44
  }
38
- interface Model {
45
+ interface DataModel {
39
46
  userId: string;
40
47
  standardAvg: number;
41
48
  standardHigh: number;
@@ -44,7 +51,7 @@ interface Model {
44
51
  durationHigh: number;
45
52
  durationLow: number;
46
53
  }
47
- type Item = Model & {
54
+ type Item = DataModel & {
48
55
  standardDev?: number;
49
56
  durationDev: number;
50
57
  name: string;
@@ -0,0 +1,86 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { IPointEventArgs, ITooltipRenderEventArgs, Chart, IAxisLabelRenderEventArgs, LegendSettingsModel, TooltipSettingsModel, titleSettingsModel, MarginModel } from '@syncfusion/ej2-charts';
3
+ import { TooltipSettingsModel as TModel, ITooltipRenderEventArgs as ITRenderEventArgs, AxisModel, TickModel, LabelModel, LineModel, FontModel } from '@syncfusion/ej2-angular-lineargauge';
4
+ import { MarkerSettingsModel } from '@syncfusion/ej2-angular-charts';
5
+ import { ReportRef } from '../report-ref';
6
+ import { ReportComponent } from '../../core/base';
7
+ import { AccountService } from '../../core/account.service';
8
+ import { SessionService } from '../../core/session.service';
9
+ import { RouterImpl } from '../../core/router';
10
+ import { AxesMap } from '../../core/models';
11
+ import { TranslateService } from '../../core/translate.service';
12
+ import * as i0 from "@angular/core";
13
+ export declare class PerformanceWindComponent implements ReportComponent<DataModel>, OnDestroy {
14
+ private _router;
15
+ private _accounts;
16
+ private _session;
17
+ private _translate;
18
+ private _reportRef;
19
+ chart: Chart;
20
+ durationAvg: number;
21
+ durationMin: number;
22
+ durationMax: number;
23
+ deviationMax: number;
24
+ deviationMin: number;
25
+ standardAvg: number;
26
+ records: Record[];
27
+ standards: ItemModel[];
28
+ subTitle: string;
29
+ title: string;
30
+ accentColor: string;
31
+ primeryColor: string;
32
+ readonly margin: MarginModel;
33
+ readonly legendSettings: LegendSettingsModel;
34
+ readonly tooltip: TooltipSettingsModel;
35
+ theme: 'Material3' | 'Material3Dark';
36
+ readonly titleStyle: titleSettingsModel;
37
+ readonly primaryXAxis: AxisModel;
38
+ readonly primaryYAxis: AxisModel;
39
+ readonly linearTooltip: TModel;
40
+ readonly linearTitleStyle: FontModel;
41
+ readonly line: LineModel;
42
+ readonly majorTicks: TickModel;
43
+ readonly minorTicks: TickModel;
44
+ readonly labelStyle: LabelModel;
45
+ readonly standardMarker: MarkerSettingsModel;
46
+ readonly marker: MarkerSettingsModel;
47
+ readonly inverse: boolean;
48
+ private actions;
49
+ private readonly _destroy;
50
+ palettes: string[];
51
+ constructor(_router: RouterImpl, _accounts: AccountService, _session: SessionService, _translate: TranslateService, _reportRef: ReportRef<PerformanceSettingsModel>);
52
+ onBind(data: DataModel[]): void;
53
+ linearTooltipRender(evt: ITRenderEventArgs): void;
54
+ highlight(index: number): void;
55
+ onExport(): void;
56
+ tooltipRender(evt: ITooltipRenderEventArgs): void;
57
+ labelRender(evt: IAxisLabelRenderEventArgs): void;
58
+ explore(evt: IPointEventArgs): void;
59
+ ngOnDestroy(): void;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceWindComponent, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceWindComponent, "ng-component", never, {}, {}, never, never, false, never>;
62
+ }
63
+ interface DataModel {
64
+ userId: string;
65
+ items: ItemModel[];
66
+ }
67
+ interface ItemModel {
68
+ documentId: number;
69
+ date: number;
70
+ standardTime?: number;
71
+ duration: number;
72
+ isFYI: boolean;
73
+ actionId: string;
74
+ }
75
+ interface Record {
76
+ name?: string;
77
+ durationAvg: number;
78
+ standardAvg?: number;
79
+ deviation?: number;
80
+ items: ItemModel[];
81
+ }
82
+ interface PerformanceSettingsModel {
83
+ cube?: string;
84
+ filters?: AxesMap;
85
+ }
86
+ export {};
@@ -6,7 +6,7 @@ import * as i2 from "./core/guide/help-tip.component";
6
6
  import * as i3 from "./compose/box/box.component";
7
7
  import * as i4 from "./compose/box/row.component";
8
8
  import * as i5 from "./compose/box/control.component";
9
- import * as i6 from "./reports/cube/role-performance.component";
9
+ import * as i6 from "./reports/cube/performance-wind.component";
10
10
  import * as i7 from "./reports/cube/performance-hilo.component";
11
11
  import * as i8 from "./reports/cube/usage.component";
12
12
  import * as i9 from "./reports/cube/documents.component";
@@ -181,7 +181,7 @@ import * as i177 from "./reports/cube/usage-args.component";
181
181
  import * as i178 from "./core/tagging/emoji.component";
182
182
  import * as i179 from "./core/popup/tooltip.directive";
183
183
  import * as i180 from "./app.component";
184
- import * as i181 from "./cube/spreadsheet/spreadsheet.container";
184
+ import * as i181 from "./cube/spreadsheet/spreadsheet.container.exp";
185
185
  import * as i182 from "./modules/dayjs.module";
186
186
  import * as i183 from "@angular/common";
187
187
  import * as i184 from "@angular/common/http";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "2.3.40",
3
+ "version": "2.3.42",
4
4
  "author": "Moding Ltd.",
5
5
  "homepage": "https://github.com/moding-il/bizdoc.core",
6
6
  "license": "https://github.com/moding-il/bizdoc.core/blob/master/License.md",
@@ -12,20 +12,20 @@
12
12
  "@ctrl/ngx-emoji-mart": "^9.2.0",
13
13
  "@googlemaps/js-api-loader": "^1.16.6",
14
14
  "@microsoft/signalr": "^8.0.0",
15
- "@syncfusion/ej2": "^24.2.6",
16
- "@syncfusion/ej2-angular-charts": "^24.2.5",
15
+ "@syncfusion/ej2": "^24.2.7",
16
+ "@syncfusion/ej2-angular-charts": "^24.2.7",
17
17
  "@syncfusion/ej2-angular-circulargauge": "^24.2.3",
18
- "@syncfusion/ej2-angular-diagrams": "^24.2.5",
19
- "@syncfusion/ej2-angular-gantt": "^24.2.6",
20
- "@syncfusion/ej2-angular-grids": "^24.2.5",
21
- "@syncfusion/ej2-angular-inputs": "^24.2.6",
18
+ "@syncfusion/ej2-angular-diagrams": "^24.2.7",
19
+ "@syncfusion/ej2-angular-gantt": "^24.2.7",
20
+ "@syncfusion/ej2-angular-grids": "^24.2.7",
21
+ "@syncfusion/ej2-angular-inputs": "^24.2.7",
22
22
  "@syncfusion/ej2-angular-kanban": "^24.2.3",
23
23
  "@syncfusion/ej2-angular-lineargauge": "^24.2.3",
24
24
  "@syncfusion/ej2-angular-pivotview": "^24.2.5",
25
- "@syncfusion/ej2-angular-richtexteditor": "^24.2.4",
25
+ "@syncfusion/ej2-angular-richtexteditor": "^24.2.7",
26
26
  "@syncfusion/ej2-angular-schedule": "^24.2.4",
27
- "@syncfusion/ej2-angular-spreadsheet": "^24.2.5",
28
- "@syncfusion/ej2-base": "^24.2.6",
27
+ "@syncfusion/ej2-angular-spreadsheet": "^24.2.7",
28
+ "@syncfusion/ej2-base": "^24.2.7",
29
29
  "@teamhive/lottie-player": "^1.0.0",
30
30
  "brace": "^0.11.1",
31
31
  "cookie": "^0.6.0",
package/public-api.d.ts CHANGED
@@ -161,7 +161,7 @@ export { AuthenticationImpl } from './lib/core/authentication';
161
161
  export { CubeAccumulationChartComponent } from './lib/cube/accum/accum.component';
162
162
  export { CubeChartComponent } from './lib/cube/chart/chart.component';
163
163
  export { CubeGridComponent } from './lib/cube/grid/grid.component';
164
- export { SpContainer } from './lib/cube/spreadsheet/spreadsheet.container';
164
+ export { SpContainer } from './lib/cube/spreadsheet/spreadsheet.container.exp';
165
165
  export { CubeSpreadsheetComponent } from './lib/cube/spreadsheet/spreadsheet.component';
166
166
  export { CubePivotComponent } from './lib/cube/pivot/pivot.component';
167
167
  export { StateDirective } from './lib/compose/state.component';
@@ -1,187 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Component } from '@angular/core';
3
- import { Chart } from '@syncfusion/ej2-charts';
4
- import { Subject, startWith, takeUntil } from 'rxjs';
5
- /// <reference path="./node_modules/dayjs/plugin/duration.d.ts" />
6
- import dayjs from 'dayjs';
7
- import { BizDoc } from '../../core/decorators';
8
- import { FONT_FAMILY } from '../../core/colors';
9
- import * as i0 from "@angular/core";
10
- import * as i1 from "../../core/router";
11
- import * as i2 from "../../core/account.service";
12
- import * as i3 from "../../core/session.service";
13
- import * as i4 from "../../core/translate.service";
14
- import * as i5 from "../report-ref";
15
- let PerformanceWindComponent = class PerformanceWindComponent {
16
- constructor(_elementRef, _router, _accounts, _session, _translate, _reportRef) {
17
- this._elementRef = _elementRef;
18
- this._router = _router;
19
- this._accounts = _accounts;
20
- this._session = _session;
21
- this._translate = _translate;
22
- this._reportRef = _reportRef;
23
- this.legendSettings = {
24
- position: 'Left',
25
- isInversed: this._session.inverse,
26
- //toggleVisibility: false,
27
- enablePages: true,
28
- enableHighlight: true,
29
- };
30
- this.tooltip = {
31
- enable: true,
32
- textStyle: {
33
- fontFamily: FONT_FAMILY
34
- }
35
- };
36
- this.titleStyle = {
37
- fontFamily: FONT_FAMILY
38
- };
39
- this.primaryXAxis = { valueType: 'Double' };
40
- this.primaryYAxis = {};
41
- this.actions = {};
42
- this._destroy = new Subject();
43
- _session.profile.actions.forEach(a => this.actions[a.name] = a);
44
- _session.themeChange.pipe(takeUntil(this._destroy), startWith(_session.theme)).subscribe(t => {
45
- this.theme = t.dark ? 'Material3Dark' : 'Material3';
46
- this.chart && this._draw();
47
- });
48
- }
49
- onBind(data) {
50
- this.chart?.destroy();
51
- if (!data.length)
52
- return;
53
- let accumStd = 0, countStd = 0, accumDuration = 0, maxStd = 0, maxDuration = 0, standards = [], map = {};
54
- data.forEach(e => {
55
- let accumStd1 = 0, countStd1 = 0, accumDuration1 = 0;
56
- e.items.forEach(e => {
57
- if (e.standardTime) {
58
- if (e.standardTime > maxStd)
59
- maxStd = e.standardTime;
60
- countStd++;
61
- countStd1++;
62
- accumStd += e.standardTime;
63
- accumStd1 += e.standardTime;
64
- standards.push(e);
65
- }
66
- if (e.duration > maxDuration)
67
- maxDuration = e.duration;
68
- accumDuration += e.duration;
69
- accumDuration1 += e.duration;
70
- });
71
- map[e.userId] = {
72
- items: e.items,
73
- stdAvg: countStd1 ? accumStd1 / countStd1 : 0,
74
- durationAvg: accumDuration1 / data.length,
75
- };
76
- });
77
- this.stdAvg = countStd ? accumStd / countStd : 0,
78
- this.durationAvg = accumDuration / data.length;
79
- this._accounts.getAll(data.map(e => e.userId)).
80
- subscribe(users => {
81
- this.series = [{
82
- name: this._translate.get('Standard'),
83
- xName: 'date',
84
- yName: 'standardTime',
85
- type: 'Polar',
86
- drawType: 'Line',
87
- marker: {
88
- visible: true,
89
- shape: 'Triangle',
90
- width: 5,
91
- height: 5
92
- },
93
- //animation: { enable: true },
94
- dataSource: standards.
95
- sort((e1, e2) => e1.standardTime < e2.standardTime ? -1 : 1),
96
- },
97
- ...users.map(u => ({
98
- dataSource: map[u.id].items,
99
- name: u.name,
100
- type: 'Polar',
101
- drawType: 'Line',
102
- marker: {
103
- visible: true,
104
- width: 5, height: 5,
105
- shape: 'Pentagon',
106
- },
107
- xName: 'date',
108
- yName: 'duration',
109
- }))];
110
- this._draw();
111
- });
112
- }
113
- onExport() {
114
- this.chart?.export('XLSX', this._reportRef.name);
115
- }
116
- _draw() {
117
- this.chart?.destroy();
118
- const colors = this._session.accentPalette;
119
- let palettes = [this._session.getPrimery(),
120
- ...colors
121
- ];
122
- while (this.series.length > palettes.length)
123
- palettes.push(...colors);
124
- this.chart = new Chart({
125
- theme: this.theme,
126
- selectionMode: 'Series',
127
- title: this._translate.get('AverageValue', dayjs.duration(this.durationAvg, 'seconds').format('DD:HH:mm')),
128
- titleStyle: this.titleStyle,
129
- subTitle: this.stdAvg ?
130
- this._translate.get('StandardValue', dayjs.duration(this.stdAvg, 'seconds').format('DD:HH:mm')) : null,
131
- subTitleStyle: this.titleStyle,
132
- series: this.series,
133
- tooltip: this.tooltip,
134
- enableAnimation: true,
135
- enableExport: true,
136
- tooltipRender: this.tooltipRender.bind(this),
137
- legendSettings: this.legendSettings,
138
- legendRender: this.legendRender.bind(this),
139
- axisLabelRender: this.labelRender.bind(this),
140
- palettes,
141
- enableRtl: this._session.inverse,
142
- height: '100%',
143
- highlightMode: 'Series',
144
- pointClick: this.explore.bind(this)
145
- }, this._elementRef.nativeElement);
146
- }
147
- legendRender(evt) {
148
- //evt.text
149
- }
150
- tooltipRender(evt) {
151
- evt.text = dayjs.duration(evt.data.pointY, 's').format('DD:HH:mm');
152
- }
153
- labelRender(evt) {
154
- switch (evt.axis.name) {
155
- case 'primaryYAxis':
156
- evt.text = dayjs.duration(evt.value, 's').humanize();
157
- break;
158
- case 'primaryXAxis':
159
- evt.text = dayjs(evt.value * 1000).format('MMM YYYY');
160
- break;
161
- }
162
- }
163
- explore(evt) {
164
- const { pointIndex, seriesIndex } = evt;
165
- if (seriesIndex === 0)
166
- return;
167
- const { documentId } = this.chart.series[seriesIndex].dataSource[pointIndex];
168
- this._router.navigate(['mailbox', 'd', documentId.encodeId()]);
169
- }
170
- ngOnDestroy() {
171
- this.chart?.destroy();
172
- this._destroy.next();
173
- }
174
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: PerformanceWindComponent, deps: [{ token: i0.ElementRef }, { token: i1.RouterImpl }, { token: i2.AccountService }, { token: i3.SessionService }, { token: i4.TranslateService }, { token: i5.ReportRef }], target: i0.ɵɵFactoryTarget.Component }); }
175
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: PerformanceWindComponent, selector: "ng-component", ngImport: i0, template: '', isInline: true, styles: [":host{flex:1}\n"] }); }
176
- };
177
- PerformanceWindComponent = __decorate([
178
- BizDoc({
179
- selector: 'bizdoc-performance-wind'
180
- })
181
- ], PerformanceWindComponent);
182
- export { PerformanceWindComponent };
183
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: PerformanceWindComponent, decorators: [{
184
- type: Component,
185
- args: [{ template: '', styles: [":host{flex:1}\n"] }]
186
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.RouterImpl }, { type: i2.AccountService }, { type: i3.SessionService }, { type: i4.TranslateService }, { type: i5.ReportRef }] });
187
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9sZS1wZXJmb3JtYW5jZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL3JlcG9ydHMvY3ViZS9yb2xlLXBlcmZvcm1hbmNlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBeUIsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFrSCxLQUFLLEVBQXlHLE1BQU0sd0JBQXdCLENBQUM7QUFDdFEsT0FBTyxFQUFFLE9BQU8sRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQ3JELGtFQUFrRTtBQUNsRSxPQUFPLEtBQUssTUFBTSxPQUFPLENBQUM7QUFDMUIsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLHVCQUF1Qix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bnRBcmdzKSB7XHJcbiAgICBjb25zdCB7IHBvaW50SW5kZXgsIHNlcmllc0luZGV4IH0gPSBldnQ7XHJcbiAgICBpZiAoc2VyaWVzSW5kZXggPT09IDApIHJldHVybjtcclxuXHJcbiAgICBjb25zdCB7IGRvY3VtZW50SWQgfSA9IHRoaXMuY2hhcnQuc2VyaWVzW3Nlcmllc0luZGV4XS5kYXRhU291cmNlW3BvaW50SW5kZXhdIGFzIEl0ZW1Nb2RlbDtcclxuXHJcbiAgICB0aGlzLl9yb3V0ZXIubmF2aWdhdGUoWydtYWlsYm94JywgJ2QnLCBkb2N1bWVudElkLmVuY29kZUlkKCldKTtcclxuICB9XHJcbiAgbmdPbkRlc3Ryb3koKTogdm9pZCB7XHJcbiAgICB0aGlzLmNoYXJ0Py5kZXN0cm95KCk7XHJcbiAgICB0aGlzLl9kZXN0cm95Lm5leHQoKTtcclxuICB9XHJcbn1cclxuXHJcbmludGVyZmFjZSBNb2RlbCB7XHJcbiAgdXNlcklkOiBzdHJpbmc7XHJcbiAgaXRlbXM6IEl0ZW1Nb2RlbFtdO1xyXG59XHJcbmludGVyZmFjZSBJdGVtTW9kZWwge1xyXG4gIGRvY3VtZW50SWQ6IG51bWJlcjtcclxuICBkYXRlOiBudW1iZXI7XHJcbiAgc3RhbmRhcmRUaW1lPzogbnVtYmVyO1xyXG4gIGR1cmF0aW9uOiBudW1iZXI7XHJcbiAgaXNGWUk6IGJvb2xlYW47XHJcbiAgYWN0aW9uSWQ6IHN0cmluZztcclxufVxyXG5pbnRlcmZhY2UgUGVyZm9ybWFuY2VTZXR0aW5nc01vZGVsIHtcclxuICBjdWJlPzogc3RyaW5nO1xyXG4gIGZpbHRlcnM/OiBBeGVzTWFwO1xyXG59XHJcbiJdfQ==
@@ -1,58 +0,0 @@
1
- import { ElementRef, OnDestroy } from '@angular/core';
2
- import { ILegendRenderEventArgs, IPointEventArgs, AxisModel, ChartTheme, ITooltipRenderEventArgs, Chart, IAxisLabelRenderEventArgs, LegendSettingsModel, SeriesModel, TooltipSettingsModel, titleSettingsModel } from '@syncfusion/ej2-charts';
3
- import { ReportRef } from '../report-ref';
4
- import { ReportComponent } from '../../core/base';
5
- import { AccountService } from '../../core/account.service';
6
- import { SessionService } from '../../core/session.service';
7
- import { RouterImpl } from '../../core/router';
8
- import { AxesMap } from '../../core/models';
9
- import { TranslateService } from '../../core/translate.service';
10
- import * as i0 from "@angular/core";
11
- export declare class PerformanceWindComponent implements ReportComponent<Model>, OnDestroy {
12
- private _elementRef;
13
- private _router;
14
- private _accounts;
15
- private _session;
16
- private _translate;
17
- private _reportRef;
18
- durationAvg: number;
19
- stdAvg: number;
20
- series: SeriesModel[];
21
- chart: Chart;
22
- readonly legendSettings: LegendSettingsModel;
23
- readonly tooltip: TooltipSettingsModel;
24
- theme: ChartTheme;
25
- readonly titleStyle: titleSettingsModel;
26
- readonly primaryXAxis: AxisModel;
27
- readonly primaryYAxis: AxisModel;
28
- private actions;
29
- private readonly _destroy;
30
- constructor(_elementRef: ElementRef<HTMLDivElement>, _router: RouterImpl, _accounts: AccountService, _session: SessionService, _translate: TranslateService, _reportRef: ReportRef<PerformanceSettingsModel>);
31
- onBind(data: Model[]): void;
32
- onExport(): void;
33
- private _draw;
34
- legendRender(evt: ILegendRenderEventArgs): void;
35
- tooltipRender(evt: ITooltipRenderEventArgs): void;
36
- labelRender(evt: IAxisLabelRenderEventArgs): void;
37
- explore(evt: IPointEventArgs): void;
38
- ngOnDestroy(): void;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceWindComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceWindComponent, "ng-component", never, {}, {}, never, never, false, never>;
41
- }
42
- interface Model {
43
- userId: string;
44
- items: ItemModel[];
45
- }
46
- interface ItemModel {
47
- documentId: number;
48
- date: number;
49
- standardTime?: number;
50
- duration: number;
51
- isFYI: boolean;
52
- actionId: string;
53
- }
54
- interface PerformanceSettingsModel {
55
- cube?: string;
56
- filters?: AxesMap;
57
- }
58
- export {};