@bizdoc/core 3.2.10 → 3.3.3

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 (450) hide show
  1. package/assets/themes/brown.min.css +1 -1
  2. package/assets/themes/dark.min.css +52 -6
  3. package/assets/themes/deep-purple-light-blue.min.css +1 -1
  4. package/assets/themes/deep-purple-teal.min.css +1 -1
  5. package/assets/themes/default.min.css +52 -8
  6. package/assets/themes/green.min.css +1 -1
  7. package/assets/themes/indigo-amber.min.css +1 -1
  8. package/assets/themes/indigo.min.css +1 -1
  9. package/fesm2022/bizdoc-core.mjs +2129 -1873
  10. package/fesm2022/bizdoc-core.mjs.map +1 -1
  11. package/lib/admin/admin-menu.component.d.ts +1 -3
  12. package/lib/admin/architecture/designer.base.d.ts +3 -3
  13. package/lib/admin/architecture/elements/form.component.d.ts +1 -1
  14. package/lib/compose/form-ref.d.ts +1 -0
  15. package/lib/compose/trace/trace.base.d.ts +1 -1
  16. package/lib/core/base.d.ts +5 -0
  17. package/lib/core/fields/options.base.d.ts +2 -2
  18. package/lib/core/inputs/combination-picker-body.d.ts +0 -2
  19. package/lib/core/inputs/combination-picker.d.ts +1 -1
  20. package/lib/core/session.service.d.ts +2 -2
  21. package/lib/core/tagging/tagging.component-base.d.ts +1 -1
  22. package/lib/core/translate.service.d.ts +2 -2
  23. package/lib/cube/cube.service.d.ts +1 -1
  24. package/lib/cube/matrix/matrix.base.d.ts +1 -1
  25. package/lib/cube/view-base.d.ts +1 -1
  26. package/lib/dashboard/cube/cube-analysis.base.d.ts +1 -1
  27. package/lib/home/home-base.component.d.ts +1 -1
  28. package/lib/home/home.desktop.component.d.ts +5 -3
  29. package/lib/notifications/types/notification-base.d.ts +1 -1
  30. package/lib/reports/cube/usage-base.d.ts +1 -1
  31. package/lib/views/cube/cube-base.d.ts +1 -1
  32. package/package.json +31 -33
  33. package/esm2022/bizdoc-core.mjs +0 -5
  34. package/esm2022/lib/admin/admin-dismiss.service.mjs +0 -28
  35. package/esm2022/lib/admin/admin-menu.component.mjs +0 -24
  36. package/esm2022/lib/admin/architecture/cube-axes-filter.component.mjs +0 -93
  37. package/esm2022/lib/admin/architecture/declarations.mjs +0 -79
  38. package/esm2022/lib/admin/architecture/designer-element.component.mjs +0 -270
  39. package/esm2022/lib/admin/architecture/designer-privileges.component.mjs +0 -96
  40. package/esm2022/lib/admin/architecture/designer.base.mjs +0 -136
  41. package/esm2022/lib/admin/architecture/designer.component.mjs +0 -396
  42. package/esm2022/lib/admin/architecture/elements/action.component.mjs +0 -43
  43. package/esm2022/lib/admin/architecture/elements/analysis-view.component.mjs +0 -50
  44. package/esm2022/lib/admin/architecture/elements/analysis-widget.component.mjs +0 -49
  45. package/esm2022/lib/admin/architecture/elements/anomaly-rule.component.mjs +0 -29
  46. package/esm2022/lib/admin/architecture/elements/attribute.component.mjs +0 -35
  47. package/esm2022/lib/admin/architecture/elements/box-form.component.mjs +0 -49
  48. package/esm2022/lib/admin/architecture/elements/configuration-datasource.component.mjs +0 -66
  49. package/esm2022/lib/admin/architecture/elements/control.component.mjs +0 -21
  50. package/esm2022/lib/admin/architecture/elements/cube-index-utility.component.mjs +0 -32
  51. package/esm2022/lib/admin/architecture/elements/cube-view.component.mjs +0 -34
  52. package/esm2022/lib/admin/architecture/elements/cube.component.mjs +0 -254
  53. package/esm2022/lib/admin/architecture/elements/document-state-widget.component.mjs +0 -40
  54. package/esm2022/lib/admin/architecture/elements/documents-report.component.mjs +0 -34
  55. package/esm2022/lib/admin/architecture/elements/documents-widget.component.mjs +0 -40
  56. package/esm2022/lib/admin/architecture/elements/explore-view.component.mjs +0 -35
  57. package/esm2022/lib/admin/architecture/elements/folder.component.mjs +0 -56
  58. package/esm2022/lib/admin/architecture/elements/form-invite.dialog.mjs +0 -126
  59. package/esm2022/lib/admin/architecture/elements/form.component.mjs +0 -156
  60. package/esm2022/lib/admin/architecture/elements/guide.component.mjs +0 -53
  61. package/esm2022/lib/admin/architecture/elements/job.component.mjs +0 -57
  62. package/esm2022/lib/admin/architecture/elements/matrix-view.component.mjs +0 -98
  63. package/esm2022/lib/admin/architecture/elements/node.component.mjs +0 -18
  64. package/esm2022/lib/admin/architecture/elements/parallel-view.component.mjs +0 -38
  65. package/esm2022/lib/admin/architecture/elements/performance-report.component.mjs +0 -32
  66. package/esm2022/lib/admin/architecture/elements/performance-widget.component.mjs +0 -34
  67. package/esm2022/lib/admin/architecture/elements/pivot-view.component.mjs +0 -40
  68. package/esm2022/lib/admin/architecture/elements/policy.component.mjs +0 -18
  69. package/esm2022/lib/admin/architecture/elements/report.component.mjs +0 -29
  70. package/esm2022/lib/admin/architecture/elements/return-to-role-action.component.mjs +0 -33
  71. package/esm2022/lib/admin/architecture/elements/role.component.mjs +0 -43
  72. package/esm2022/lib/admin/architecture/elements/rule.component.mjs +0 -18
  73. package/esm2022/lib/admin/architecture/elements/source.component.mjs +0 -25
  74. package/esm2022/lib/admin/architecture/elements/state.component.mjs +0 -44
  75. package/esm2022/lib/admin/architecture/elements/sum-view.component.mjs +0 -38
  76. package/esm2022/lib/admin/architecture/elements/tasks-report.component.mjs +0 -39
  77. package/esm2022/lib/admin/architecture/elements/type.component.mjs +0 -83
  78. package/esm2022/lib/admin/architecture/elements/usage-report.component.mjs +0 -64
  79. package/esm2022/lib/admin/architecture/elements/utility.component.mjs +0 -18
  80. package/esm2022/lib/admin/architecture/elements/view.component.mjs +0 -18
  81. package/esm2022/lib/admin/architecture/elements/widget.component.mjs +0 -29
  82. package/esm2022/lib/admin/architecture/icon-picker.component.mjs +0 -173
  83. package/esm2022/lib/admin/core/ace.input.mjs +0 -144
  84. package/esm2022/lib/admin/core/color-picker.input.mjs +0 -183
  85. package/esm2022/lib/admin/core/localized-string.component.mjs +0 -129
  86. package/esm2022/lib/admin/core/search.input.mjs +0 -52
  87. package/esm2022/lib/admin/diff/configuration-diff.component.mjs +0 -573
  88. package/esm2022/lib/admin/document-trace/document-trace.component.mjs +0 -537
  89. package/esm2022/lib/admin/document-trace/reassign.dialog.mjs +0 -39
  90. package/esm2022/lib/admin/document-trace/timeline.mjs +0 -2
  91. package/esm2022/lib/admin/document-trace/trace-element.component.mjs +0 -125
  92. package/esm2022/lib/admin/form/designer/box-designer.component.mjs +0 -270
  93. package/esm2022/lib/admin/form/designer/declarations.mjs +0 -2
  94. package/esm2022/lib/admin/form/designer/design-control.component.mjs +0 -41
  95. package/esm2022/lib/admin/form/designer/properties.component.mjs +0 -71
  96. package/esm2022/lib/admin/form/designer/section.component.mjs +0 -53
  97. package/esm2022/lib/admin/form/designer/settings.component.mjs +0 -51
  98. package/esm2022/lib/admin/form/form.resolve.service.mjs +0 -18
  99. package/esm2022/lib/admin/form/workflow/node-ref.mjs +0 -8
  100. package/esm2022/lib/admin/form/workflow/node.component.mjs +0 -156
  101. package/esm2022/lib/admin/form/workflow/role-node.component.mjs +0 -88
  102. package/esm2022/lib/admin/form/workflow/workflow.component.mjs +0 -586
  103. package/esm2022/lib/admin/indices/manage-cube-index.component.mjs +0 -160
  104. package/esm2022/lib/admin/patterns/patterns.component.mjs +0 -180
  105. package/esm2022/lib/admin/permissions/permissions.component.mjs +0 -98
  106. package/esm2022/lib/admin/positions/positions-popup.component.mjs +0 -75
  107. package/esm2022/lib/admin/positions/positions.component.mjs +0 -463
  108. package/esm2022/lib/admin/profiler/outofoffice.component.mjs +0 -156
  109. package/esm2022/lib/admin/profiler/profiler.component.mjs +0 -284
  110. package/esm2022/lib/admin/system.service.mjs +0 -127
  111. package/esm2022/lib/admin/utility-ref.mjs +0 -39
  112. package/esm2022/lib/admin/utility-wrapper.component.mjs +0 -53
  113. package/esm2022/lib/admin/utility.pane.component.mjs +0 -48
  114. package/esm2022/lib/app.component.mjs +0 -73
  115. package/esm2022/lib/bizdoc.module.mjs +0 -110
  116. package/esm2022/lib/browse/browse-items.component.mjs +0 -496
  117. package/esm2022/lib/browse/browse.mobile.component.mjs +0 -102
  118. package/esm2022/lib/browse/browse.pane.component.mjs +0 -169
  119. package/esm2022/lib/browse/expanded-item/expanded-item.component.mjs +0 -316
  120. package/esm2022/lib/browse/filter/filter.component.mjs +0 -140
  121. package/esm2022/lib/browse/folders-menu.component.mjs +0 -49
  122. package/esm2022/lib/chat/chat-info.mjs +0 -77
  123. package/esm2022/lib/chat/chat.mobile.component.mjs +0 -24
  124. package/esm2022/lib/chat/chat.service.mjs +0 -122
  125. package/esm2022/lib/chat/contacts.component.mjs +0 -107
  126. package/esm2022/lib/chat/contacts.pane.component.mjs +0 -26
  127. package/esm2022/lib/chat/conversation.component.mjs +0 -196
  128. package/esm2022/lib/chat/conversation.pane.component.mjs +0 -46
  129. package/esm2022/lib/compose/action/action-picker.component.mjs +0 -82
  130. package/esm2022/lib/compose/action/action-ref.mjs +0 -19
  131. package/esm2022/lib/compose/action/action.base.mjs +0 -50
  132. package/esm2022/lib/compose/action/action.dialog.mjs +0 -62
  133. package/esm2022/lib/compose/action/action.pane.dialog.exp.mjs +0 -68
  134. package/esm2022/lib/compose/action/assign-action.component.mjs +0 -77
  135. package/esm2022/lib/compose/action/moveto-action.component.mjs +0 -90
  136. package/esm2022/lib/compose/action/return-action.component.mjs +0 -51
  137. package/esm2022/lib/compose/attachments/attachments.component.mjs +0 -130
  138. package/esm2022/lib/compose/attachments/preview/attachment-preview.component.mjs +0 -157
  139. package/esm2022/lib/compose/attachments/progress-button.directive.mjs +0 -25
  140. package/esm2022/lib/compose/box/box.component.mjs +0 -44
  141. package/esm2022/lib/compose/box/control.component.mjs +0 -50
  142. package/esm2022/lib/compose/box/row.component.mjs +0 -41
  143. package/esm2022/lib/compose/can-deactivate-changes.service.mjs +0 -27
  144. package/esm2022/lib/compose/comments/comment.component.mjs +0 -188
  145. package/esm2022/lib/compose/comments/comments.component.mjs +0 -226
  146. package/esm2022/lib/compose/comments/comments.pane.component.mjs +0 -40
  147. package/esm2022/lib/compose/comments/edit-comment.component.mjs +0 -32
  148. package/esm2022/lib/compose/comments/edits.component.mjs +0 -30
  149. package/esm2022/lib/compose/comments/quick-comment.component.exp.mjs +0 -64
  150. package/esm2022/lib/compose/comments/votes.component.mjs +0 -42
  151. package/esm2022/lib/compose/compose-resolve.service.mjs +0 -34
  152. package/esm2022/lib/compose/compose.mobile.component.mjs +0 -114
  153. package/esm2022/lib/compose/compose.pane.component.mjs +0 -202
  154. package/esm2022/lib/compose/copy/copy.dialog.mjs +0 -45
  155. package/esm2022/lib/compose/dismiss.service.mjs +0 -25
  156. package/esm2022/lib/compose/document-resolve.service.mjs +0 -33
  157. package/esm2022/lib/compose/document-resolver.service.mjs +0 -17
  158. package/esm2022/lib/compose/document.component.mjs +0 -48
  159. package/esm2022/lib/compose/document.mobile.component.mjs +0 -23
  160. package/esm2022/lib/compose/document.pane.component.mjs +0 -27
  161. package/esm2022/lib/compose/events/events.component.mjs +0 -29
  162. package/esm2022/lib/compose/form-ref.mjs +0 -43
  163. package/esm2022/lib/compose/form-selector/form-selector.sheet.mjs +0 -57
  164. package/esm2022/lib/compose/form.component.mjs +0 -512
  165. package/esm2022/lib/compose/new-menu.component.mjs +0 -94
  166. package/esm2022/lib/compose/overlay.component.exp.mjs +0 -71
  167. package/esm2022/lib/compose/privilage.directive.mjs +0 -64
  168. package/esm2022/lib/compose/recipient-resolver.service.mjs +0 -18
  169. package/esm2022/lib/compose/state.component.mjs +0 -37
  170. package/esm2022/lib/compose/tag/tags.component.mjs +0 -89
  171. package/esm2022/lib/compose/trace/flow.component.mjs +0 -687
  172. package/esm2022/lib/compose/trace/people.component.mjs +0 -39
  173. package/esm2022/lib/compose/trace/trace.base.mjs +0 -79
  174. package/esm2022/lib/compose/trace/trace.component.mjs +0 -353
  175. package/esm2022/lib/compose/trace/trace.pane.component.mjs +0 -48
  176. package/esm2022/lib/compose/version-compare/version-compare.component.mjs +0 -58
  177. package/esm2022/lib/compose/version-compare/version-compare.directive.mjs +0 -343
  178. package/esm2022/lib/compose/version-compare/version.pane.component.mjs +0 -53
  179. package/esm2022/lib/core/account.service.mjs +0 -38
  180. package/esm2022/lib/core/animated-icon/animated-icon.directive.mjs +0 -17
  181. package/esm2022/lib/core/animations.mjs +0 -168
  182. package/esm2022/lib/core/authentication.mjs +0 -4
  183. package/esm2022/lib/core/avatar/avatar.component.mjs +0 -111
  184. package/esm2022/lib/core/base.mjs +0 -2
  185. package/esm2022/lib/core/checkbox.mjs +0 -38
  186. package/esm2022/lib/core/colors.mjs +0 -322
  187. package/esm2022/lib/core/component-factory-resolver.mjs +0 -48
  188. package/esm2022/lib/core/configuration.mjs +0 -17
  189. package/esm2022/lib/core/datasource.service.mjs +0 -75
  190. package/esm2022/lib/core/decorators.mjs +0 -46
  191. package/esm2022/lib/core/document-factory.service.mjs +0 -156
  192. package/esm2022/lib/core/fields/address.designer.mjs +0 -39
  193. package/esm2022/lib/core/fields/address.field.mjs +0 -65
  194. package/esm2022/lib/core/fields/autocomplete.field.mjs +0 -136
  195. package/esm2022/lib/core/fields/axes-picker.designer.mjs +0 -59
  196. package/esm2022/lib/core/fields/axes-picker.field.mjs +0 -46
  197. package/esm2022/lib/core/fields/checkbox.designer.mjs +0 -38
  198. package/esm2022/lib/core/fields/checkbox.field.mjs +0 -35
  199. package/esm2022/lib/core/fields/checklist.designer.mjs +0 -98
  200. package/esm2022/lib/core/fields/checklist.field.mjs +0 -36
  201. package/esm2022/lib/core/fields/date-range.designer.mjs +0 -43
  202. package/esm2022/lib/core/fields/date-range.field.mjs +0 -46
  203. package/esm2022/lib/core/fields/date.designer.mjs +0 -40
  204. package/esm2022/lib/core/fields/date.field.mjs +0 -40
  205. package/esm2022/lib/core/fields/expression.field.mjs +0 -87
  206. package/esm2022/lib/core/fields/file.designer.mjs +0 -39
  207. package/esm2022/lib/core/fields/file.field.mjs +0 -35
  208. package/esm2022/lib/core/fields/html.designer.mjs +0 -61
  209. package/esm2022/lib/core/fields/html.field.mjs +0 -44
  210. package/esm2022/lib/core/fields/input.designer.mjs +0 -38
  211. package/esm2022/lib/core/fields/input.field.mjs +0 -54
  212. package/esm2022/lib/core/fields/localized-string.field.mjs +0 -49
  213. package/esm2022/lib/core/fields/numeric.designer.mjs +0 -72
  214. package/esm2022/lib/core/fields/numeric.field.mjs +0 -37
  215. package/esm2022/lib/core/fields/options.base.mjs +0 -41
  216. package/esm2022/lib/core/fields/options.component.mjs +0 -58
  217. package/esm2022/lib/core/fields/radio-button.designer.mjs +0 -39
  218. package/esm2022/lib/core/fields/radio-button.field.mjs +0 -33
  219. package/esm2022/lib/core/fields/select.designer.mjs +0 -104
  220. package/esm2022/lib/core/fields/select.field.mjs +0 -36
  221. package/esm2022/lib/core/fields/signature.designer.mjs +0 -37
  222. package/esm2022/lib/core/fields/signature.field.mjs +0 -52
  223. package/esm2022/lib/core/fields/switch.field.mjs +0 -35
  224. package/esm2022/lib/core/fields/tags.designer.mjs +0 -28
  225. package/esm2022/lib/core/fields/tags.field.mjs +0 -51
  226. package/esm2022/lib/core/fields/textarea.designer.mjs +0 -33
  227. package/esm2022/lib/core/fields/textarea.field.mjs +0 -37
  228. package/esm2022/lib/core/fields/time.designer.mjs +0 -41
  229. package/esm2022/lib/core/fields/time.field.mjs +0 -39
  230. package/esm2022/lib/core/fields/timespan.field.mjs +0 -82
  231. package/esm2022/lib/core/fields/yesno.designer.mjs +0 -52
  232. package/esm2022/lib/core/fields/yesno.field.mjs +0 -34
  233. package/esm2022/lib/core/firebase.service.mjs +0 -51
  234. package/esm2022/lib/core/functions.mjs +0 -225
  235. package/esm2022/lib/core/guide/guide.component.mjs +0 -220
  236. package/esm2022/lib/core/guide/guide.service.mjs +0 -124
  237. package/esm2022/lib/core/guide/help-tip.component.mjs +0 -52
  238. package/esm2022/lib/core/http.interceptor.mjs +0 -63
  239. package/esm2022/lib/core/hub.service.mjs +0 -117
  240. package/esm2022/lib/core/identity/identity.component.mjs +0 -66
  241. package/esm2022/lib/core/info/attachment-info.service.mjs +0 -53
  242. package/esm2022/lib/core/info/document-info.service.mjs +0 -21
  243. package/esm2022/lib/core/info/location-info.component.mjs +0 -60
  244. package/esm2022/lib/core/info/map-info.mjs +0 -42
  245. package/esm2022/lib/core/inputs/address.input.mjs +0 -203
  246. package/esm2022/lib/core/inputs/auto-complete.input.mjs +0 -273
  247. package/esm2022/lib/core/inputs/combination-picker-body.mjs +0 -171
  248. package/esm2022/lib/core/inputs/combination-picker.mjs +0 -285
  249. package/esm2022/lib/core/inputs/combination-pool.mjs +0 -105
  250. package/esm2022/lib/core/inputs/file.input.mjs +0 -432
  251. package/esm2022/lib/core/inputs/select.input.mjs +0 -254
  252. package/esm2022/lib/core/inputs/signature.input.mjs +0 -150
  253. package/esm2022/lib/core/inputs/time-picker.mjs +0 -195
  254. package/esm2022/lib/core/inputs/timespan.input.mjs +0 -180
  255. package/esm2022/lib/core/layout.component.mjs +0 -93
  256. package/esm2022/lib/core/lottie-animation.exp.mjs +0 -49
  257. package/esm2022/lib/core/mailbox.service.mjs +0 -445
  258. package/esm2022/lib/core/models.mjs +0 -25
  259. package/esm2022/lib/core/none.component.mjs +0 -37
  260. package/esm2022/lib/core/pipes/action.pipe.mjs +0 -25
  261. package/esm2022/lib/core/pipes/calendar.pipe.mjs +0 -72
  262. package/esm2022/lib/core/pipes/date-format.pipe.mjs +0 -19
  263. package/esm2022/lib/core/pipes/daterange.pipe.mjs +0 -62
  264. package/esm2022/lib/core/pipes/difference.pipe.mjs +0 -15
  265. package/esm2022/lib/core/pipes/duration-format.pipe.mjs +0 -48
  266. package/esm2022/lib/core/pipes/duration.pipe.mjs +0 -19
  267. package/esm2022/lib/core/pipes/filter.pipe.mjs +0 -25
  268. package/esm2022/lib/core/pipes/form.pipe.mjs +0 -25
  269. package/esm2022/lib/core/pipes/join.pipe.mjs +0 -18
  270. package/esm2022/lib/core/pipes/localized-string.pipe.mjs +0 -26
  271. package/esm2022/lib/core/pipes/role.pipe.mjs +0 -25
  272. package/esm2022/lib/core/pipes/sanitize-html.pipe.mjs +0 -18
  273. package/esm2022/lib/core/pipes/sort.pipe.mjs +0 -42
  274. package/esm2022/lib/core/pipes/state.pipe.mjs +0 -25
  275. package/esm2022/lib/core/pipes/time-ago.pipe.mjs +0 -51
  276. package/esm2022/lib/core/pipes/to-now.pipe.mjs +0 -66
  277. package/esm2022/lib/core/pipes/translate.pipe.mjs +0 -58
  278. package/esm2022/lib/core/pipes/type-value.pipe.mjs +0 -42
  279. package/esm2022/lib/core/pipes/user-name.pipe.mjs +0 -21
  280. package/esm2022/lib/core/popup/popup-ref.mjs +0 -20
  281. package/esm2022/lib/core/popup/popup.component.mjs +0 -36
  282. package/esm2022/lib/core/popup/popup.service.mjs +0 -158
  283. package/esm2022/lib/core/popup/tooltip.directive.mjs +0 -81
  284. package/esm2022/lib/core/prompt/ask/ask.dialog.mjs +0 -29
  285. package/esm2022/lib/core/prompt/mask/mask.component.mjs +0 -21
  286. package/esm2022/lib/core/prompt.service.mjs +0 -88
  287. package/esm2022/lib/core/router.mjs +0 -37
  288. package/esm2022/lib/core/save-changes.dialog.mjs +0 -18
  289. package/esm2022/lib/core/session.service.mjs +0 -291
  290. package/esm2022/lib/core/slots/pane-ref.mjs +0 -152
  291. package/esm2022/lib/core/slots/router.directive.mjs +0 -68
  292. package/esm2022/lib/core/slots/router.service.mjs +0 -40
  293. package/esm2022/lib/core/slots/slots.component.mjs +0 -1193
  294. package/esm2022/lib/core/sticky-toolbar.exp.mjs +0 -33
  295. package/esm2022/lib/core/tagging/documents.component.mjs +0 -25
  296. package/esm2022/lib/core/tagging/edit-input.component.mjs +0 -238
  297. package/esm2022/lib/core/tagging/emoji.component.mjs +0 -35
  298. package/esm2022/lib/core/tagging/tagging-item.directive.mjs +0 -39
  299. package/esm2022/lib/core/tagging/tagging.component-base.mjs +0 -29
  300. package/esm2022/lib/core/tagging/tagging.directive.mjs +0 -136
  301. package/esm2022/lib/core/tagging/tagging.pipe.mjs +0 -72
  302. package/esm2022/lib/core/tagging/users.component.mjs +0 -32
  303. package/esm2022/lib/core/translate.service.mjs +0 -125
  304. package/esm2022/lib/core/translations.mjs +0 -1068
  305. package/esm2022/lib/core/virtual-tabs.component.exp.mjs +0 -84
  306. package/esm2022/lib/core/window-title.service.mjs +0 -65
  307. package/esm2022/lib/cube/accum/accum.component.mjs +0 -262
  308. package/esm2022/lib/cube/chart/chart.component.mjs +0 -345
  309. package/esm2022/lib/cube/cube-info.service.mjs +0 -103
  310. package/esm2022/lib/cube/cube-menu.component.mjs +0 -25
  311. package/esm2022/lib/cube/cube-view.component.mjs +0 -186
  312. package/esm2022/lib/cube/cube.service.mjs +0 -446
  313. package/esm2022/lib/cube/declarations.mjs +0 -2
  314. package/esm2022/lib/cube/explore/document-item.component.mjs +0 -38
  315. package/esm2022/lib/cube/explore/explore-item.component.mjs +0 -27
  316. package/esm2022/lib/cube/explore/explore-items.component.mjs +0 -193
  317. package/esm2022/lib/cube/explore/explore.pane.component.mjs +0 -78
  318. package/esm2022/lib/cube/explore/item-resolver.service.mjs +0 -30
  319. package/esm2022/lib/cube/explore/item.pane.component.mjs +0 -21
  320. package/esm2022/lib/cube/filter/filter-tags.component.exp.mjs +0 -75
  321. package/esm2022/lib/cube/filter/filter.component.mjs +0 -137
  322. package/esm2022/lib/cube/grid/grid.component.mjs +0 -210
  323. package/esm2022/lib/cube/matrix/matrix.base.mjs +0 -124
  324. package/esm2022/lib/cube/matrix/matrix.mobile.component.mjs +0 -67
  325. package/esm2022/lib/cube/matrix/matrix.pane.component.mjs +0 -78
  326. package/esm2022/lib/cube/matrix/popup.component.mjs +0 -70
  327. package/esm2022/lib/cube/matrix/table.component.mjs +0 -512
  328. package/esm2022/lib/cube/parallel/item.mjs +0 -40
  329. package/esm2022/lib/cube/parallel/parallel.component.mjs +0 -162
  330. package/esm2022/lib/cube/pivot/pivot.component.mjs +0 -564
  331. package/esm2022/lib/cube/spreadsheet/spreadsheet.component.mjs +0 -382
  332. package/esm2022/lib/cube/spreadsheet/spreadsheet.container.exp.mjs +0 -19
  333. package/esm2022/lib/cube/sum/sum.component.mjs +0 -403
  334. package/esm2022/lib/cube/view-base.mjs +0 -74
  335. package/esm2022/lib/cube/view.mobile.component.mjs +0 -121
  336. package/esm2022/lib/cube/view.pane.component.mjs +0 -99
  337. package/esm2022/lib/dashboard/actions/actions.widget.mjs +0 -127
  338. package/esm2022/lib/dashboard/cube/accum-cube.widget.mjs +0 -151
  339. package/esm2022/lib/dashboard/cube/compare.widget.mjs +0 -216
  340. package/esm2022/lib/dashboard/cube/cube-analysis.base.mjs +0 -117
  341. package/esm2022/lib/dashboard/cube/cube-analysis.widget.mjs +0 -50
  342. package/esm2022/lib/dashboard/cube/cube-chart.widget.mjs +0 -146
  343. package/esm2022/lib/dashboard/cube/document-state.widget.mjs +0 -85
  344. package/esm2022/lib/dashboard/cube/documents.widget.mjs +0 -66
  345. package/esm2022/lib/dashboard/cube/filter/filter.component.mjs +0 -61
  346. package/esm2022/lib/dashboard/dashboard.component.mjs +0 -67
  347. package/esm2022/lib/dashboard/dashboard.pane.component.mjs +0 -18
  348. package/esm2022/lib/dashboard/recents/recents.widget.mjs +0 -98
  349. package/esm2022/lib/dashboard/score/activity.widget.mjs +0 -177
  350. package/esm2022/lib/dashboard/score/compare-groups.widget.mjs +0 -215
  351. package/esm2022/lib/dashboard/score/peers-performance.widget.mjs +0 -251
  352. package/esm2022/lib/dashboard/score/pending-results.widget.mjs +0 -59
  353. package/esm2022/lib/dashboard/score/personal-score.widget.mjs +0 -222
  354. package/esm2022/lib/dashboard/widget-item.component.mjs +0 -91
  355. package/esm2022/lib/dashboard/widget-ref.mjs +0 -18
  356. package/esm2022/lib/designer.module.mjs +0 -106
  357. package/esm2022/lib/desktop.module.mjs +0 -140
  358. package/esm2022/lib/home/about/about.dialog.mjs +0 -25
  359. package/esm2022/lib/home/home-base.component.mjs +0 -92
  360. package/esm2022/lib/home/home.desktop.component.mjs +0 -286
  361. package/esm2022/lib/home/home.mobile.component.mjs +0 -131
  362. package/esm2022/lib/home/notifications/notifications.component.mjs +0 -64
  363. package/esm2022/lib/home/outofoffice/outofoffice.component.mjs +0 -37
  364. package/esm2022/lib/home/sign/sign.component.mjs +0 -56
  365. package/esm2022/lib/impersonate/impersonate.component.mjs +0 -77
  366. package/esm2022/lib/mobile.module.mjs +0 -63
  367. package/esm2022/lib/modules/chart.module.mjs +0 -44
  368. package/esm2022/lib/modules/circular-gauge.module.mjs +0 -20
  369. package/esm2022/lib/modules/date.adapter.mjs +0 -23
  370. package/esm2022/lib/modules/datepicker.intl.mjs +0 -41
  371. package/esm2022/lib/modules/dayjs.module.mjs +0 -43
  372. package/esm2022/lib/modules/diagram.module.mjs +0 -43
  373. package/esm2022/lib/modules/gantt.module.mjs +0 -22
  374. package/esm2022/lib/modules/grid.module.mjs +0 -26
  375. package/esm2022/lib/modules/linear-gauge.module.mjs +0 -17
  376. package/esm2022/lib/modules/material.module.mjs +0 -182
  377. package/esm2022/lib/modules/paginator.intl.mjs +0 -21
  378. package/esm2022/lib/modules/pivot.module.mjs +0 -24
  379. package/esm2022/lib/modules/schedule.module.mjs +0 -24
  380. package/esm2022/lib/modules/spreadsheet.module.mjs +0 -28
  381. package/esm2022/lib/modules/stepper.intl.mjs +0 -17
  382. package/esm2022/lib/modules/texteditor.module.mjs +0 -26
  383. package/esm2022/lib/notifications/filter.component.mjs +0 -24
  384. package/esm2022/lib/notifications/notifications-table.component.mjs +0 -105
  385. package/esm2022/lib/notifications/notifications.component-base.mjs +0 -50
  386. package/esm2022/lib/notifications/notifications.mobile.component.mjs +0 -20
  387. package/esm2022/lib/notifications/notifications.pane.component.mjs +0 -21
  388. package/esm2022/lib/notifications/notifications.service.mjs +0 -78
  389. package/esm2022/lib/notifications/types/commented.notification.mjs +0 -60
  390. package/esm2022/lib/notifications/types/cube-anomaly.notification.mjs +0 -58
  391. package/esm2022/lib/notifications/types/escalated.notification.mjs +0 -33
  392. package/esm2022/lib/notifications/types/invite.notification.mjs +0 -45
  393. package/esm2022/lib/notifications/types/liked.notification.mjs +0 -58
  394. package/esm2022/lib/notifications/types/long-running-task.notification.mjs +0 -31
  395. package/esm2022/lib/notifications/types/notification-base.mjs +0 -40
  396. package/esm2022/lib/notifications/types/nudge.notification.mjs +0 -31
  397. package/esm2022/lib/notifications/types/state-changed.notification.mjs +0 -30
  398. package/esm2022/lib/notifications/types/tagged.notification.mjs +0 -43
  399. package/esm2022/lib/notifications/types/text.notification.mjs +0 -23
  400. package/esm2022/lib/notifications/types/upcoming-event.notification.mjs +0 -36
  401. package/esm2022/lib/options/options.component.mjs +0 -308
  402. package/esm2022/lib/options/options.desktop.component.mjs +0 -26
  403. package/esm2022/lib/options/options.mobile.component.mjs +0 -23
  404. package/esm2022/lib/reports/arguments-component.mjs +0 -81
  405. package/esm2022/lib/reports/cube/documents.component.mjs +0 -38
  406. package/esm2022/lib/reports/cube/grid-documents.component.mjs +0 -72
  407. package/esm2022/lib/reports/cube/performance-hilo.component.mjs +0 -260
  408. package/esm2022/lib/reports/cube/performance-wind.component.mjs +0 -269
  409. package/esm2022/lib/reports/cube/table-documents.component.mjs +0 -57
  410. package/esm2022/lib/reports/cube/usage-args.component.mjs +0 -62
  411. package/esm2022/lib/reports/cube/usage-base.mjs +0 -79
  412. package/esm2022/lib/reports/cube/usage-chart.component.mjs +0 -354
  413. package/esm2022/lib/reports/cube/usage-pivot.component.mjs +0 -257
  414. package/esm2022/lib/reports/cube/usage.component.mjs +0 -40
  415. package/esm2022/lib/reports/report-ref.mjs +0 -38
  416. package/esm2022/lib/reports/report-viewer.component.mjs +0 -156
  417. package/esm2022/lib/reports/report.mobile.component.mjs +0 -127
  418. package/esm2022/lib/reports/report.pane.component.mjs +0 -109
  419. package/esm2022/lib/reports/reports-menu.component.mjs +0 -24
  420. package/esm2022/lib/reports/substitution/substitution.component.mjs +0 -39
  421. package/esm2022/lib/reports/table/table-view.component.mjs +0 -40
  422. package/esm2022/lib/reports/tasks/tasks.component.mjs +0 -95
  423. package/esm2022/lib/routes.desktop.mjs +0 -209
  424. package/esm2022/lib/routes.mobile.mjs +0 -84
  425. package/esm2022/lib/scheduler/schedule.component.mjs +0 -164
  426. package/esm2022/lib/scheduler/scheduler.mobile.component.mjs +0 -37
  427. package/esm2022/lib/scheduler/scheduler.pane.component.mjs +0 -50
  428. package/esm2022/lib/search/cube.component.mjs +0 -47
  429. package/esm2022/lib/search/declarations.mjs +0 -7
  430. package/esm2022/lib/search/document.component.mjs +0 -41
  431. package/esm2022/lib/search/guide.component.mjs +0 -28
  432. package/esm2022/lib/search/path.component.mjs +0 -44
  433. package/esm2022/lib/search/search.service.mjs +0 -155
  434. package/esm2022/lib/shared.module.mjs +0 -622
  435. package/esm2022/lib/system.module.mjs +0 -562
  436. package/esm2022/lib/views/cube/chart.component.mjs +0 -74
  437. package/esm2022/lib/views/cube/cube-base.mjs +0 -101
  438. package/esm2022/lib/views/cube/explore.component.mjs +0 -85
  439. package/esm2022/lib/views/cube/matrix.component.mjs +0 -101
  440. package/esm2022/lib/views/cube/parallel.component.mjs +0 -53
  441. package/esm2022/lib/views/cube/pivot.component.mjs +0 -50
  442. package/esm2022/lib/views/cube/sum.component.mjs +0 -66
  443. package/esm2022/lib/views/cube/view.component.mjs +0 -101
  444. package/esm2022/lib/views/document-view-ref.mjs +0 -27
  445. package/esm2022/lib/views/timeline/timeline.component.mjs +0 -329
  446. package/esm2022/lib/views/view-item.component.mjs +0 -68
  447. package/esm2022/lib/views/views.component.mjs +0 -32
  448. package/esm2022/lib/views/views.mobile.component.mjs +0 -21
  449. package/esm2022/lib/views/views.pane.component.mjs +0 -29
  450. package/esm2022/public-api.mjs +0 -182
@@ -1,12 +1,10 @@
1
- import { OnInit } from '@angular/core';
2
1
  import { Profile } from '../core/models';
3
2
  import { SessionService } from '../core/session.service';
4
3
  import * as i0 from "@angular/core";
5
- export declare class AdminMenuComponent implements OnInit {
4
+ export declare class AdminMenuComponent {
6
5
  collapsed: boolean;
7
6
  profile: Profile;
8
7
  constructor(session: SessionService);
9
- ngOnInit(): void;
10
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AdminMenuComponent, never>;
11
9
  static ɵcmp: i0.ɵɵComponentDeclaration<AdminMenuComponent, "bizdoc-admin-menu", never, { "collapsed": { "alias": "collapsed"; "required": false; }; }, {}, never, never, false, never>;
12
10
  }
@@ -21,7 +21,7 @@ export declare abstract class DesignerElementComponentBase<T = any> implements D
21
21
  drop(event: CdkDragDrop<FormGroup>, collection: FormArray): void;
22
22
  focus(): void;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<DesignerElementComponentBase<any>, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<DesignerElementComponentBase<any>, never, never, {}, {}, never, never, false, never>;
24
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DesignerElementComponentBase<any>, never, never, {}, {}, never, never, true, never>;
25
25
  }
26
26
  export declare abstract class DesignerTypeElementComponent<T = any> extends DesignerElementComponentBase {
27
27
  designer: DesignerItemComponent;
@@ -33,7 +33,7 @@ export declare abstract class DesignerTypeElementComponent<T = any> extends Desi
33
33
  protected get _typegroups(): ElementFamily[];
34
34
  datatypeOf(name: string): import("@bizdoc/core").LocalizedString | undefined;
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<DesignerTypeElementComponent<any>, never>;
36
- static ɵdir: i0.ɵɵDirectiveDeclaration<DesignerTypeElementComponent<any>, never, never, {}, {}, never, never, false, never>;
36
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DesignerTypeElementComponent<any>, never, never, {}, {}, never, never, true, never>;
37
37
  }
38
38
  /** */
39
39
  export declare abstract class DesignerCubeElementComponent<T = any> extends DesignerElementComponentBase<T> implements OnInit {
@@ -43,6 +43,6 @@ export declare abstract class DesignerCubeElementComponent<T = any> extends Desi
43
43
  constructor(fb: FormBuilder, element: ElementRef<any>, ref: DesignerRef);
44
44
  ngOnInit(): void;
45
45
  static ɵfac: i0.ɵɵFactoryDeclaration<DesignerCubeElementComponent<any>, never>;
46
- static ɵdir: i0.ɵɵDirectiveDeclaration<DesignerCubeElementComponent<any>, never, never, {}, {}, never, never, false, never>;
46
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DesignerCubeElementComponent<any>, never, never, {}, {}, never, never, true, never>;
47
47
  }
48
48
  export declare function isAccum(chartType: string): boolean;
@@ -45,7 +45,7 @@ export declare class FormDesignComponent extends DesignerTypeElementComponent im
45
45
  ngOnInit(): void;
46
46
  tooltipInitialize(evt: ITooltipRenderingEventArgs): void;
47
47
  newRule(rule?: PermissionModel): any;
48
- invite(): Promise<import("@bizdoc/core").PaneRef<FormInviteDialog, import("../../../core/configuration").ParamMap>>;
48
+ invite(): Promise<import("@bizdoc/core").PaneRef<FormInviteDialog, import("@bizdoc/core").ParamMap>>;
49
49
  diagram(): void;
50
50
  ngOnDestroy(): void;
51
51
  static ɵfac: i0.ɵɵFactoryDeclaration<FormDesignComponent, never>;
@@ -6,6 +6,7 @@ export declare class FormRef<M = any, O = any> {
6
6
  private _router;
7
7
  private _configuration;
8
8
  readonly _stateChange$: Subject<void>;
9
+ readonly _destroy$: Subject<void>;
9
10
  readonly _create$: Subject<M | null | undefined>;
10
11
  _mode: ViewMode;
11
12
  constructor(_router: RouterImpl, _configuration: Form);
@@ -28,5 +28,5 @@ export declare abstract class TraceBase implements OnChanges {
28
28
  };
29
29
  ngOnDestroy(): void;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<TraceBase, never>;
31
- static ɵdir: i0.ɵɵDirectiveDeclaration<TraceBase, never, never, {}, {}, never, never, false, never>;
31
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TraceBase, never, never, {}, {}, never, never, true, never>;
32
32
  }
@@ -20,6 +20,11 @@ export interface FormComponent<TModel> extends ManagedComponent<TModel> {
20
20
  onMessage?<T = any>(obj: T): void;
21
21
  onNavigate?(page: number | string): void;
22
22
  onSave?(): Observable<boolean> | Promise<boolean> | boolean;
23
+ /**
24
+ *
25
+ * @param message
26
+ */
27
+ onError?(message: string): void;
23
28
  }
24
29
  export interface ControlDesigner<T = any> {
25
30
  form: FormGroup;
@@ -17,7 +17,7 @@ export declare abstract class OptionsControlField {
17
17
  ngOnInit(): void;
18
18
  optionOf(value: string): LocalizedString | undefined;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<OptionsControlField, never>;
20
- static ɵdir: i0.ɵɵDirectiveDeclaration<OptionsControlField, never, never, {}, {}, never, never, false, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OptionsControlField, never, never, {}, {}, never, never, true, never>;
21
21
  }
22
22
  export declare abstract class OptionsControlDesigner {
23
23
  private _service;
@@ -25,5 +25,5 @@ export declare abstract class OptionsControlDesigner {
25
25
  datatypes: ElementFamily[];
26
26
  constructor(_service: SystemService);
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<OptionsControlDesigner, never>;
28
- static ɵdir: i0.ɵɵDirectiveDeclaration<OptionsControlDesigner, never, never, {}, {}, never, never, false, never>;
28
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OptionsControlDesigner, never, never, {}, {}, never, never, true, never>;
29
29
  }
@@ -60,8 +60,6 @@ export declare class CombinationPickerBody implements OnInit, OnDestroy {
60
60
  readonly _datatypes: {
61
61
  [type: string]: {
62
62
  [key: string]: any;
63
- } | {
64
- [key: string]: any;
65
63
  };
66
64
  };
67
65
  _combinations: string[][];
@@ -5,9 +5,9 @@ import { MatFormField, MatFormFieldControl } from "@angular/material/form-field"
5
5
  import { MatDialog } from "@angular/material/dialog";
6
6
  import { FocusMonitor } from "@angular/cdk/a11y";
7
7
  import { Directionality } from "@angular/cdk/bidi";
8
+ import { MatInput } from "@angular/material/input";
8
9
  import { Subject } from "rxjs";
9
10
  import { CombinationSelectedEvent, ExploreSettings } from "./combination-picker-body";
10
- import { MatInput } from "@angular/material/input";
11
11
  import * as i0 from "@angular/core";
12
12
  export declare class CombinationPicker implements MatFormFieldControl<string>, ControlValueAccessor, OnInit, DoCheck, OnDestroy {
13
13
  ngControl: NgControl;
@@ -12,13 +12,13 @@ import * as i0 from "@angular/core";
12
12
  export declare const EXTENTION_ICONS: {
13
13
  [key: string]: string;
14
14
  };
15
- export declare function SessionProviderFactory(provider: SessionService): () => Promise<void> | Promise<google.maps.MapsLibrary>;
15
+ export declare function SessionProviderFactory(provider: SessionService): () => Promise<void> | Promise<any[]>;
16
16
  export declare class SessionService {
17
17
  private _config;
18
18
  private _http;
19
19
  private _cookies;
20
20
  private _hub;
21
- prepare(): Promise<void> | Promise<google.maps.MapsLibrary>;
21
+ prepare(): Promise<void> | Promise<any[]>;
22
22
  readonly Themes: Theme[];
23
23
  constructor(_config: BizDocConfig, _http: HttpClient, _cookies: CookieService, _hub: HubService, iconRegistry: MatIconRegistry, sanitizer: DomSanitizer);
24
24
  private readonly _loaded;
@@ -15,5 +15,5 @@ export declare abstract class TaggingComponentBase<T> implements AfterViewInit,
15
15
  abstract onBind(value?: string): void;
16
16
  ngOnDestroy(): void;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<TaggingComponentBase<any>, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<TaggingComponentBase<any>, never, never, {}, {}, never, never, false, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TaggingComponentBase<any>, never, never, {}, {}, never, never, true, never>;
19
19
  }
@@ -6,7 +6,7 @@ import 'dayjs/locale/de';
6
6
  import 'dayjs/locale/ru';
7
7
  import 'dayjs/locale/ar';
8
8
  import * as i0 from "@angular/core";
9
- export declare function TranslateProviderFactory(provider: TranslateService): () => Promise<any>;
9
+ export declare function TranslateProviderFactory(provider: TranslateService): () => Promise<unknown>;
10
10
  export declare class TranslateService {
11
11
  private _session;
12
12
  private _http;
@@ -19,7 +19,7 @@ export declare class TranslateService {
19
19
  private _gender?;
20
20
  get culture(): string;
21
21
  constructor(_session: SessionService, _http: HttpClient);
22
- cldr(culture: string, files: string[]): Promise<any>;
22
+ cldr(culture: string, files: string[]): Promise<unknown>;
23
23
  get(key: string, ...args: (string | number)[]): string;
24
24
  personalize(key: string, gender?: Gender, ...args: any[]): string;
25
25
  i18n(key: string): string;
@@ -265,4 +265,4 @@ export interface Pattern {
265
265
  title: string;
266
266
  axes: AxesMap;
267
267
  }
268
- export declare function errResource(error: HttpErrorResponse): "Err" | "Unauthorized" | "LicenseErr" | "NotAcceptable";
268
+ export declare function errResource(error: HttpErrorResponse): "Unauthorized" | "LicenseErr" | "Err" | "NotAcceptable";
@@ -70,5 +70,5 @@ export declare abstract class CubeMatrixBase {
70
70
  reset(): void;
71
71
  refresh(): void;
72
72
  static ɵfac: i0.ɵɵFactoryDeclaration<CubeMatrixBase, never>;
73
- static ɵdir: i0.ɵɵDirectiveDeclaration<CubeMatrixBase, never, never, {}, {}, never, never, false, never>;
73
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CubeMatrixBase, never, never, {}, {}, never, never, true, never>;
74
74
  }
@@ -36,5 +36,5 @@ export declare abstract class ViewBase {
36
36
  navigate(queryParams: ParamMap): void;
37
37
  guide(evt?: Event): void;
38
38
  static ɵfac: i0.ɵɵFactoryDeclaration<ViewBase, never>;
39
- static ɵdir: i0.ɵɵDirectiveDeclaration<ViewBase, never, never, {}, {}, never, never, false, never>;
39
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ViewBase, never, never, {}, {}, never, never, true, never>;
40
40
  }
@@ -50,7 +50,7 @@ export declare abstract class CubeAnalysisBase implements WidgetComponent<Series
50
50
  abstract onThemeChange(): void;
51
51
  ngOnDestroy(): void;
52
52
  static ɵfac: i0.ɵɵFactoryDeclaration<CubeAnalysisBase, never>;
53
- static ɵdir: i0.ɵɵDirectiveDeclaration<CubeAnalysisBase, never, never, {}, {}, never, never, false, never>;
53
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CubeAnalysisBase, never, never, {}, {}, never, never, true, never>;
54
54
  }
55
55
  export interface ChartSettingsModel {
56
56
  scope?: ScopeType;
@@ -29,5 +29,5 @@ export declare abstract class HomeBase implements OnInit {
29
29
  protected _is(name: string, val?: boolean): boolean | undefined;
30
30
  protected _isOrDefault(name: string, defaultValue: any): any;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<HomeBase, never>;
32
- static ɵdir: i0.ɵɵDirectiveDeclaration<HomeBase, never, never, {}, {}, never, never, false, never>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HomeBase, never, never, {}, {}, never, never, true, never>;
33
33
  }
@@ -28,10 +28,10 @@ export declare class HomeComponent extends HomeBase {
28
28
  private _guide;
29
29
  private _auth;
30
30
  constructor(_router: PanesRouter, _service: SearchService, _factory: DocumentFactory, _popup: Popup, _guide: GuideService, _auth: AuthenticationImpl, injector: Injector, session: SessionService, messaging: HubService, translate: TranslateService, snackBar: MatSnackBar, config: BizDocConfig);
31
- dialog: boolean;
31
+ isDialogMode: boolean;
32
32
  readonly isSysAdmin: boolean;
33
33
  readonly canSignOut: boolean;
34
- readonly forms: import("../core/models").Form[];
34
+ readonly forms: import("@bizdoc/core").Form[];
35
35
  creating: boolean;
36
36
  private _submenuMode;
37
37
  get submenuMode(): 'full' | 'shrink';
@@ -47,6 +47,8 @@ export declare class HomeComponent extends HomeBase {
47
47
  private _pinned;
48
48
  get pinned(): any;
49
49
  set pinned(value: any);
50
+ /** */
51
+ get guide(): string | undefined;
50
52
  drawer: MatSidenav;
51
53
  main: SlotsComponent;
52
54
  input: ElementRef<HTMLInputElement>;
@@ -73,7 +75,7 @@ export declare class HomeComponent extends HomeBase {
73
75
  * @param event
74
76
  */
75
77
  handleKeyboardEvent(event: KeyboardEvent): void;
76
- guide(name: string): void;
78
+ openguide(name: string): void;
77
79
  notifs(evt: Event): void;
78
80
  toggle(evt: Event): void;
79
81
  collapse(evt: Event): void;
@@ -16,5 +16,5 @@ export declare abstract class NotificationBase {
16
16
  protected _formatUserElement(person: UserInfo): string;
17
17
  open(e: MouseEvent): void;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationBase, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<NotificationBase, never, never, {}, {}, never, never, false, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NotificationBase, never, never, {}, {}, never, never, true, never>;
20
20
  }
@@ -52,7 +52,7 @@ export declare abstract class UsageReportBase implements ReportComponent<Item, A
52
52
  }, index?: string): void;
53
53
  ngOnDestroy(): void;
54
54
  static ɵfac: i0.ɵɵFactoryDeclaration<UsageReportBase, never>;
55
- static ɵdir: i0.ɵɵDirectiveDeclaration<UsageReportBase, never, never, {}, {}, never, never, false, never>;
55
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UsageReportBase, never, never, {}, {}, never, never, true, never>;
56
56
  }
57
57
  export type Item = {
58
58
  [name: string]: (string | number);
@@ -38,7 +38,7 @@ export declare abstract class CubeBase<O extends Options> implements InsightComp
38
38
  protected aggregate(originalAxes: AxesMap): AxesMap;
39
39
  get group(): string;
40
40
  static ɵfac: i0.ɵɵFactoryDeclaration<CubeBase<any>, never>;
41
- static ɵdir: i0.ɵɵDirectiveDeclaration<CubeBase<any>, never, never, {}, {}, never, never, false, never>;
41
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CubeBase<any>, never, never, {}, {}, never, never, true, never>;
42
42
  }
43
43
  interface Options {
44
44
  aggregate?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "3.2.10",
3
+ "version": "3.3.3",
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,41 +12,41 @@
12
12
  "@ctrl/ngx-emoji-mart": "^9.2.0",
13
13
  "@googlemaps/js-api-loader": "^1.16.8",
14
14
  "@microsoft/signalr": "^8.0.7",
15
- "@syncfusion/ej2-angular-charts": "27.1",
16
- "@syncfusion/ej2-angular-circulargauge": "27.1",
17
- "@syncfusion/ej2-angular-diagrams": "27.1",
18
- "@syncfusion/ej2-angular-gantt": "27.1",
19
- "@syncfusion/ej2-angular-barcode-generator": "27.1",
20
- "@syncfusion/ej2-angular-grids": "27.1",
21
- "@syncfusion/ej2-angular-inputs": "27.1",
22
- "@syncfusion/ej2-angular-kanban": "27.1",
23
- "@syncfusion/ej2-angular-lineargauge": "27.1",
24
- "@syncfusion/ej2-angular-pivotview": "27.1",
25
- "@syncfusion/ej2-angular-richtexteditor": "27.1",
26
- "@syncfusion/ej2-angular-schedule": "27.1",
27
- "@syncfusion/ej2-angular-spreadsheet": "27.1",
28
- "@syncfusion/ej2-angular-base": "27.1",
29
- "ace-builds": "^1.36.2",
30
- "cookie": "^0.6.0",
15
+ "@syncfusion/ej2-angular-charts": "28.2",
16
+ "@syncfusion/ej2-angular-circulargauge": "28.2",
17
+ "@syncfusion/ej2-angular-diagrams": "28.2",
18
+ "@syncfusion/ej2-angular-gantt": "28.2",
19
+ "@syncfusion/ej2-angular-barcode-generator": "28.2",
20
+ "@syncfusion/ej2-angular-grids": "28.2",
21
+ "@syncfusion/ej2-angular-inputs": "28.2",
22
+ "@syncfusion/ej2-angular-kanban": "28.2",
23
+ "@syncfusion/ej2-angular-lineargauge": "28.2",
24
+ "@syncfusion/ej2-angular-pivotview": "28.2",
25
+ "@syncfusion/ej2-angular-richtexteditor": "28.2",
26
+ "@syncfusion/ej2-angular-schedule": "28.2",
27
+ "@syncfusion/ej2-angular-spreadsheet": "28.2",
28
+ "@syncfusion/ej2-angular-base": "28.2",
29
+ "ace-builds": "^1.37.5",
30
+ "cookie": "^1.0.2",
31
31
  "hammerjs": "~2",
32
32
  "dayjs": "^1.11.13",
33
- "ngx-cookie-service": "18",
34
- "firebase": "10.14",
35
- "zone.js": "0.14",
33
+ "ngx-cookie-service": "19",
34
+ "firebase": "11.2",
35
+ "zone.js": "0.15",
36
36
  "tslib": "^2.3.0"
37
37
  },
38
38
  "peerDependencies": {
39
- "@angular/animations": "18",
40
- "@angular/cdk": "18",
41
- "@angular/common": "18",
42
- "@angular/compiler": "18",
43
- "@angular/core": "18",
44
- "@angular/forms": "18",
45
- "@angular/material": "18",
46
- "@angular/platform-browser": "18",
47
- "@angular/platform-browser-dynamic": "18",
48
- "@angular/platform-server": "18",
49
- "@angular/router": "18",
39
+ "@angular/animations": "19",
40
+ "@angular/cdk": "19",
41
+ "@angular/common": "19",
42
+ "@angular/compiler": "19",
43
+ "@angular/core": "19",
44
+ "@angular/forms": "19",
45
+ "@angular/material": "19",
46
+ "@angular/platform-browser": "19",
47
+ "@angular/platform-browser-dynamic": "19",
48
+ "@angular/platform-server": "19",
49
+ "@angular/router": "19",
50
50
  "rxjs": "*"
51
51
  },
52
52
  "assets": [
@@ -63,8 +63,6 @@
63
63
  },
64
64
  ".": {
65
65
  "types": "./index.d.ts",
66
- "esm2022": "./esm2022/bizdoc-core.mjs",
67
- "esm": "./esm2022/bizdoc-core.mjs",
68
66
  "default": "./fesm2022/bizdoc-core.mjs"
69
67
  }
70
68
  },
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYml6ZG9jLWNvcmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3NyYy9iaXpkb2MtY29yZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
@@ -1,28 +0,0 @@
1
- import { Injectable } from "@angular/core";
2
- import { SaveChangesDialog } from "../core/save-changes.dialog";
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/material/dialog";
5
- export class AdminDismiss {
6
- constructor(_dialog) {
7
- this._dialog = _dialog;
8
- }
9
- onDismiss(component) {
10
- if (component.dirty)
11
- return new Promise((resolve, reject) => this._dialog.open(SaveChangesDialog).
12
- afterClosed().
13
- subscribe(ok => {
14
- if (ok)
15
- component.save().then(() => resolve(true), reject);
16
- else
17
- resolve(ok !== false);
18
- }));
19
- else
20
- return true;
21
- }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: AdminDismiss, deps: [{ token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable }); }
23
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: AdminDismiss }); }
24
- }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: AdminDismiss, decorators: [{
26
- type: Injectable
27
- }], ctorParameters: () => [{ type: i1.MatDialog }] });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRtaW4tZGlzbWlzcy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9zcmMvbGliL2FkbWluL2FkbWluLWRpc21pc3Muc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzNDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLDZCQUE2QixDQUFDOzs7QUFJaEUsTUFBTSxPQUFPLFlBQVk7SUFDdkIsWUFDVSxPQUFrQjtRQUFsQixZQUFPLEdBQVAsT0FBTyxDQUFXO0lBQzVCLENBQUM7SUFDRCxTQUFTLENBQUMsU0FBeUI7UUFDakMsSUFBSSxTQUFTLENBQUMsS0FBSztZQUNqQixPQUFPLElBQUksT0FBTyxDQUFDLENBQUMsT0FBTyxFQUFFLE1BQU0sRUFBRSxFQUFFLENBQ3JDLElBQUksQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUF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W4ge1xyXG4gICAgaWYgKGNvbXBvbmVudC5kaXJ0eSlcclxuICAgICAgcmV0dXJuIG5ldyBQcm9taXNlKChyZXNvbHZlLCByZWplY3QpID0+XHJcbiAgICAgICAgdGhpcy5fZGlhbG9nLm9wZW4oU2F2ZUNoYW5nZXNEaWFsb2cpLlxyXG4gICAgICAgICAgYWZ0ZXJDbG9zZWQoKS5cclxuICAgICAgICAgIHN1YnNjcmliZShvayA9PiB7XHJcbiAgICAgICAgICAgIGlmIChvaykgY29tcG9uZW50LnNhdmUoKS50aGVuKCgpID0+IHJlc29sdmUodHJ1ZSksIHJlamVjdCk7XHJcbiAgICAgICAgICAgIGVsc2UgcmVzb2x2ZShvayAhPT0gZmFsc2UpO1xyXG4gICAgICAgICAgfSkpOyBcclxuICAgIGVsc2VcclxuICAgICAgcmV0dXJuIHRydWU7XHJcbiAgfVxyXG5cclxufVxyXG5leHBvcnQgaW50ZXJmYWNlIEFkbWluQ29tcG9uZW50IHtcclxuICBzYXZlKCk6IFByb21pc2U8YW55PjtcclxuICBkaXJ0eTogYm9vbGVhbjtcclxufVxyXG4iXX0=
@@ -1,24 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "../core/session.service";
4
- import * as i2 from "@angular/material/list";
5
- import * as i3 from "@angular/material/icon";
6
- import * as i4 from "../core/popup/tooltip.directive";
7
- import * as i5 from "../core/slots/router.directive";
8
- import * as i6 from "../core/pipes/translate.pipe";
9
- export class AdminMenuComponent {
10
- constructor(session) {
11
- this.profile = session.profile;
12
- }
13
- ngOnInit() {
14
- }
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: AdminMenuComponent, deps: [{ token: i1.SessionService }], target: i0.ɵɵFactoryTarget.Component }); }
16
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.5", type: AdminMenuComponent, selector: "bizdoc-admin-menu", inputs: { collapsed: "collapsed" }, ngImport: i0, template: "<!--<span class=\"mat-subheader\">BizDoc</span>\r\n<h1 class=\"mat-headline-5\">{{'System'|translate}}</h1>-->\r\n\r\n<mat-nav-list>\r\n <!--@if (!collapsed) {\r\n <h3 mat-subheader>{{'Workflow'|translate}}</h3>\r\n }\r\n @for (f of profile.forms; track f) {\r\n <mat-list-item [slotRouterLink]='[\"admin/forms\", f.name]' slotRouterLinkActive=\"active\">\r\n <mat-icon matListItemIcon [bizdocTooltip]=\"f.title\" bizdocTooltipPosition=\"end\" [bizdocTooltipDisabled]=\"!collapsed\">{{f.icon|| 'description'}}</mat-icon>\r\n <span matListItemTitle>{{f.title}}</span>\r\n </mat-list-item>\r\n }\r\n <mat-divider></mat-divider>-->\r\n\r\n @if (!collapsed) {\r\n <h3 mat-subheader>{{'Tools'|translate}}</h3>\r\n }\r\n\r\n @for (u of profile.utilities; track u) {\r\n <mat-list-item [slotRouterLink]='[\"admin/tools\", u.name]' slotRouterLinkActive=\"active\">\r\n <mat-icon matListItemIcon [bizdocTooltip]=\"u.title\" bizdocTooltipPosition=\"end\" [bizdocTooltipDisabled]=\"!collapsed\">{{u.icon || 'build'}}</mat-icon>\r\n <span matListItemTitle>{{u.title}}</span>\r\n </mat-list-item>\r\n }\r\n</mat-nav-list>\r\n", dependencies: [{ kind: "component", type: i2.MatNavList, selector: "mat-nav-list", exportAs: ["matNavList"] }, { kind: "component", type: i2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i2.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i2.MatListSubheaderCssMatStyler, selector: "[mat-subheader], [matSubheader]" }, { kind: "directive", type: i2.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i4.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "directive", type: i5.SlotRouterDirective, selector: "[slotRouterLink]", inputs: ["slotRouterLink", "slotRouterLinkActive", "slotRouterLinkDisabled", "slotRouterLinkPolicy", "slotRouterLinkOptions"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
17
- }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: AdminMenuComponent, decorators: [{
19
- type: Component,
20
- args: [{ selector: 'bizdoc-admin-menu', template: "<!--<span class=\"mat-subheader\">BizDoc</span>\r\n<h1 class=\"mat-headline-5\">{{'System'|translate}}</h1>-->\r\n\r\n<mat-nav-list>\r\n <!--@if (!collapsed) {\r\n <h3 mat-subheader>{{'Workflow'|translate}}</h3>\r\n }\r\n @for (f of profile.forms; track f) {\r\n <mat-list-item [slotRouterLink]='[\"admin/forms\", f.name]' slotRouterLinkActive=\"active\">\r\n <mat-icon matListItemIcon [bizdocTooltip]=\"f.title\" bizdocTooltipPosition=\"end\" [bizdocTooltipDisabled]=\"!collapsed\">{{f.icon|| 'description'}}</mat-icon>\r\n <span matListItemTitle>{{f.title}}</span>\r\n </mat-list-item>\r\n }\r\n <mat-divider></mat-divider>-->\r\n\r\n @if (!collapsed) {\r\n <h3 mat-subheader>{{'Tools'|translate}}</h3>\r\n }\r\n\r\n @for (u of profile.utilities; track u) {\r\n <mat-list-item [slotRouterLink]='[\"admin/tools\", u.name]' slotRouterLinkActive=\"active\">\r\n <mat-icon matListItemIcon [bizdocTooltip]=\"u.title\" bizdocTooltipPosition=\"end\" [bizdocTooltipDisabled]=\"!collapsed\">{{u.icon || 'build'}}</mat-icon>\r\n <span matListItemTitle>{{u.title}}</span>\r\n </mat-list-item>\r\n }\r\n</mat-nav-list>\r\n" }]
21
- }], ctorParameters: () => [{ type: i1.SessionService }], propDecorators: { collapsed: [{
22
- type: Input
23
- }] } });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRtaW4tbWVudS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3NyYy9saWIvYWRtaW4vYWRtaW4tbWVudS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3NyYy9saWIvYWRtaW4vYWRtaW4tbWVudS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBVSxNQUFNLGVBQWUsQ0FBQzs7Ozs7Ozs7QUFRekQsTUFBTSxPQUFPLGtCQUFrQjtJQUk3QixZQUFZLE9BQXVCO1FBQ2pDLElBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDLE9BQU8sQ0FBQztJQUNqQyxDQUFDO0lBRUQsUUFBUTtJQUNSLENBQUM7OEdBVFUsa0JBQWtCO2tHQUFsQixrQkFBa0IsNkZDUi9CLHFuQ0EwQkE7OzJGRGxCYSxrQkFBa0I7a0JBSjlCLFNBQVM7K0JBQ0UsbUJBQW1CO21GQUlwQixTQUFTO3NCQUFqQixLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBJbnB1dCwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IFByb2ZpbGUgfSBmcm9tICcuLi9jb3JlL21vZGVscyc7XHJcbmltcG9ydCB7IFNlc3Npb25TZXJ2aWNlIH0gZnJvbSAnLi4vY29yZS9zZXNzaW9uLnNlcnZpY2UnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdiaXpkb2MtYWRtaW4t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ZFwiPnt7Zi5pY29ufHwgJ2Rlc2NyaXB0aW9uJ319PC9tYXQtaWNvbj5cclxuICAgIDxzcGFuIG1hdExpc3RJdGVtVGl0bGU+e3tmLnRpdGxlfX08L3NwYW4+XHJcbiAgPC9tYXQtbGlzdC1pdGVtPlxyXG4gIH1cclxuICA8bWF0LWRpdmlkZXI+PC9tYXQtZGl2aWRlcj4tLT5cclxuXHJcbiAgQGlmICghY29sbGFwc2VkKSB7XHJcbiAgPGgzIG1hdC1zdWJoZWFkZXI+e3snVG9vbHMnfHRyYW5zbGF0ZX19PC9oMz5cclxuICB9XHJcblxyXG4gIEBmb3IgKHUgb2YgcHJvZmlsZS51dGlsaXRpZXM7IHRyYWNrIHUpIHtcclxuICA8bWF0LWxpc3QtaXRlbSBbc2xvdFJvdXRlckxpbmtdPSdbXCJhZG1pbi90b29sc1wiLCB1Lm5hbWVdJyBzbG90Um91dGVyTGlua0FjdGl2ZT1cImFjdGl2ZVwiPlxyXG4gICAgPG1hdC1pY29uIG1hdExpc3RJdGVtSWNvbiBbYml6ZG9jVG9vbHRpcF09XCJ1LnRpdGxlXCIgYml6ZG9jVG9vbHRpcFBvc2l0aW9uPVwiZW5kXCIgW2JpemRvY1Rvb2x0aXBEaXNhYmxlZF09XCIhY29sbGFwc2VkXCI+e3t1Lmljb24gfHwgJ2J1aWxkJ319PC9tYXQtaWNvbj5cclxuICAgIDxzcGFuIG1hdExpc3RJdGVtVGl0bGU+e3t1LnRpdGxlfX08L3NwYW4+XHJcbiAgPC9tYXQtbGlzdC1pdGVtPlxyXG4gIH1cclxuPC9tYXQtbmF2LWxpc3Q+XHJcbiJdfQ==
@@ -1,93 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import { Subject } from 'rxjs';
3
- import { debounceTime, takeUntil, filter, map } from 'rxjs/operators';
4
- import { cleanup, isObject, mapToArray } from '../../core/functions';
5
- import { AXIS_VALUE_PATTERN } from '../../cube/cube.service';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "../../cube/cube.service";
8
- import * as i2 from "./declarations";
9
- import * as i3 from "@angular/forms";
10
- import * as i4 from "@angular/material/autocomplete";
11
- import * as i5 from "@angular/material/core";
12
- import * as i6 from "@angular/material/form-field";
13
- import * as i7 from "@angular/material/select";
14
- import * as i8 from "@angular/material/button";
15
- import * as i9 from "@angular/material/input";
16
- import * as i10 from "@angular/material/icon";
17
- import * as i11 from "@angular/common";
18
- import * as i12 from "../../core/pipes/filter.pipe";
19
- import * as i13 from "../../core/pipes/translate.pipe";
20
- /** filter component*/
21
- export class DesignerCubeFilterComponent {
22
- ngOnChanges(_changes) {
23
- Object.keys(this.form.controls).forEach((k) => this.form.removeControl(k, { emitEvent: false }));
24
- this.cube.axes.forEach(a => {
25
- if (a.selectionMode === 'None')
26
- return;
27
- let { descendentOf } = a;
28
- if (descendentOf) {
29
- let ancestors = this._ancestors[a.name] = [];
30
- while (descendentOf) {
31
- let axis = this.cube.axes.find(a => a.name === descendentOf);
32
- ancestors.push(axis.name);
33
- if (a.selectionMode !== 'Pattern') {
34
- if (!this._decendents[descendentOf])
35
- this._decendents[descendentOf] = [a.name];
36
- else
37
- this._decendents[descendentOf].push(a.name);
38
- }
39
- descendentOf = axis.descendentOf;
40
- }
41
- }
42
- if (!this.sources[a.name] && a.selectionMode !== 'Pattern') {
43
- this.sources[a.name] = this._service.values(this.cube.name, a.name).pipe(map(mapToArray));
44
- }
45
- const ctrl = this._fb.control(null);
46
- this.form.addControl(a.name, ctrl, { emitEvent: false });
47
- ctrl.valueChanges.pipe(filter(() => ctrl.valid), debounceTime(200), takeUntil(this._destroy)).subscribe(v => {
48
- if (this._decendents[a.name])
49
- for (let axis of this._decendents[a.name]) {
50
- let deps = {};
51
- for (let name of this._ancestors[axis])
52
- deps[name] = this.form.get(name).value;
53
- cleanup(deps);
54
- this.sources[axis] = this._service.values(this.cube.name, axis, deps).
55
- pipe(map(mapToArray));
56
- }
57
- });
58
- });
59
- this.form.updateValueAndValidity({ emitEvent: false });
60
- }
61
- /** filter ctor */
62
- constructor(_service, _ref, _fb) {
63
- this._service = _service;
64
- this._ref = _ref;
65
- this._fb = _fb;
66
- this.pattern = AXIS_VALUE_PATTERN;
67
- this.sources = {};
68
- this._decendents = {};
69
- this._ancestors = {};
70
- this._destroy = new Subject();
71
- }
72
- displayValue(val) {
73
- return isObject(val) ? val.value : val;
74
- }
75
- change(axis, evt) {
76
- this.form.controls[axis].setValue(evt.option.value.key);
77
- }
78
- ngOnDestroy() {
79
- this._destroy.next();
80
- this._destroy.complete();
81
- }
82
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: DesignerCubeFilterComponent, deps: [{ token: i1.CubeService }, { token: i2.DesignerRef }, { token: i3.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
83
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.5", type: DesignerCubeFilterComponent, selector: "bizdoc-designer-cube-filter", inputs: { cube: "cube", form: "form" }, usesOnChanges: true, ngImport: i0, template: "<h2 class=\"mat-h2\">{{'Filters'|translate}}</h2>\r\n<div [formGroup]=\"form\" class=\"column\">\r\n @for (a of cube.axes; track a) {\r\n <mat-form-field [attr.data-help]=\"'axis-'+a.name\">\r\n @switch (a.selectionMode) {\r\n @case ('Pattern') {\r\n <input matInput autocomplete=\"off\"\r\n [pattern]=\"pattern\" autofocus\r\n [formControlName]=\"a.name\" [placeholder]=\"a.title||a.name\" />\r\n @if (form.controls[a.name].invalid) {\r\n <mat-error>{{'AxisPatternErr' |translate}}</mat-error>\r\n }\r\n }\r\n @case ('Search') {\r\n <input matInput autocomplete=\"off\" type=\"search\"\r\n [matAutocomplete]=\"segment\" #inp\r\n [placeholder]=\"a.title||a.name\" />\r\n <mat-autocomplete #segment [displayWith]=\"displayValue\"\r\n (optionSelected)=\"change(a.name, $event)\">\r\n @for (r of sources[a.name] | async | filterBy : 'value' : inp.value | slice:0:50; track r) {\r\n <mat-option [value]=\"r\">{{r.value}}</mat-option>\r\n }\r\n </mat-autocomplete>\r\n @if (inp.value) {\r\n <button mat-icon-button matSuffix aria-label=\"\" (click)=\"inp.value = ''; form.controls[a.name].setValue(null)\"><mat-icon>close</mat-icon></button>\r\n }\r\n @if (form.controls[a.name].invalid) {\r\n <mat-error>{{'AxisPatternErr' |translate}}</mat-error>\r\n }\r\n }\r\n @default {\r\n <mat-select [formControlName]=\"a.name\" [placeholder]=\"a.title||a.name\" [multiple]=\"a.selectionMode === 'Multiple'\">\r\n @if (a.selectionMode !== 'Multiple') {\r\n <mat-option>{{'All' | translate}}</mat-option>\r\n }\r\n @for (r of sources[a.name] | async; track r) {\r\n <mat-option [value]=\"r.key\">{{r.value}}</mat-option>\r\n }\r\n </mat-select>\r\n }\r\n }\r\n </mat-form-field>\r\n }\r\n </div>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i4.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "component", type: i6.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i6.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i7.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i8.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: i9.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: i11.AsyncPipe, name: "async" }, { kind: "pipe", type: i11.SlicePipe, name: "slice" }, { kind: "pipe", type: i12.FilterPipe, name: "filterBy" }, { kind: "pipe", type: i13.TranslatePipe, name: "translate" }] }); }
84
- }
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: DesignerCubeFilterComponent, decorators: [{
86
- type: Component,
87
- args: [{ selector: 'bizdoc-designer-cube-filter', template: "<h2 class=\"mat-h2\">{{'Filters'|translate}}</h2>\r\n<div [formGroup]=\"form\" class=\"column\">\r\n @for (a of cube.axes; track a) {\r\n <mat-form-field [attr.data-help]=\"'axis-'+a.name\">\r\n @switch (a.selectionMode) {\r\n @case ('Pattern') {\r\n <input matInput autocomplete=\"off\"\r\n [pattern]=\"pattern\" autofocus\r\n [formControlName]=\"a.name\" [placeholder]=\"a.title||a.name\" />\r\n @if (form.controls[a.name].invalid) {\r\n <mat-error>{{'AxisPatternErr' |translate}}</mat-error>\r\n }\r\n }\r\n @case ('Search') {\r\n <input matInput autocomplete=\"off\" type=\"search\"\r\n [matAutocomplete]=\"segment\" #inp\r\n [placeholder]=\"a.title||a.name\" />\r\n <mat-autocomplete #segment [displayWith]=\"displayValue\"\r\n (optionSelected)=\"change(a.name, $event)\">\r\n @for (r of sources[a.name] | async | filterBy : 'value' : inp.value | slice:0:50; track r) {\r\n <mat-option [value]=\"r\">{{r.value}}</mat-option>\r\n }\r\n </mat-autocomplete>\r\n @if (inp.value) {\r\n <button mat-icon-button matSuffix aria-label=\"\" (click)=\"inp.value = ''; form.controls[a.name].setValue(null)\"><mat-icon>close</mat-icon></button>\r\n }\r\n @if (form.controls[a.name].invalid) {\r\n <mat-error>{{'AxisPatternErr' |translate}}</mat-error>\r\n }\r\n }\r\n @default {\r\n <mat-select [formControlName]=\"a.name\" [placeholder]=\"a.title||a.name\" [multiple]=\"a.selectionMode === 'Multiple'\">\r\n @if (a.selectionMode !== 'Multiple') {\r\n <mat-option>{{'All' | translate}}</mat-option>\r\n }\r\n @for (r of sources[a.name] | async; track r) {\r\n <mat-option [value]=\"r.key\">{{r.value}}</mat-option>\r\n }\r\n </mat-select>\r\n }\r\n }\r\n </mat-form-field>\r\n }\r\n </div>\r\n" }]
88
- }], ctorParameters: () => [{ type: i1.CubeService }, { type: i2.DesignerRef }, { type: i3.FormBuilder }], propDecorators: { cube: [{
89
- type: Input
90
- }], form: [{
91
- type: Input
92
- }] } });
93
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3ViZS1heGVzLWZpbHRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3NyYy9saWIvYWRtaW4vYXJjaGl0ZWN0dXJlL2N1YmUtYXhlcy1maWx0ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9zcmMvbGliL2FkbWluL2FyY2hpdGVjdHVyZS9jdWJlLWF4ZXMtZmlsdGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUF1QyxNQUFNLGVBQWUsQ0FBQztBQUV0RixPQUFPLEVBQUUsT0FBTyxFQUFjLE1BQU0sTUFBTSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxHQUFHLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUN0RSxPQUFPLEVBQUUsT0FBTyxFQUFFLFFBQVEsRUFBRSxVQUFVLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUVyRSxPQUFPLEVBQUUsa0JBQWtCLEVBQWUsTUFBTSx5QkFBeUIsQ0FBQzs7Ozs7Ozs7Ozs7Ozs7O0FBUTFFLHNCQUFzQjtBQUN0QixNQUFNLE9BQU8sMkJBQTJCO0lBUXRDLFdBQVcsQ0FBQyxRQUF1QjtRQUNqQyxNQUFNLENBQUMs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iAgICAgICAgICAgIDxpbnB1dCBtYXRJbnB1dCBhdXRvY29tcGxldGU9XCJvZmZcIiB0eXBlPVwic2VhcmNoXCJcclxuICAgICAgICAgICAgICBbbWF0QXV0b2NvbXBsZXRlXT1cInNlZ21lbnRcIiAjaW5wXHJcbiAgICAgICAgICAgICAgW3BsYWNlaG9sZGVyXT1cImEudGl0bGV8fGEubmFtZVwiIC8+XHJcbiAgICAgICAgICAgICAgPG1hdC1hdXRvY29tcGxldGUgI3NlZ21lbnQgW2Rpc3BsYXlXaXRoXT1cImRpc3BsYXlWYWx1ZVwiXHJcbiAgICAgICAgICAgICAgICAob3B0aW9uU2VsZWN0ZWQpPVwiY2hhbmdlKGEubmFtZSwgJGV2ZW50KVwiPlxyXG4gICAgICAgICAgICAgICAgQGZvciAociBvZiBzb3VyY2VzW2EubmFtZV0gfCBhc3luYyB8IGZpbHRlckJ5IDogJ3ZhbHVlJyA6IGlucC52YWx1ZSB8IHNsaWNlOjA6NTA7IHRyYWNrIHIpIHtcclxuICAgICAgICAgICAgICAgICAgPG1hdC1vcHRpb24gW3ZhbHVlXT1cInJcIj57e3IudmFsdWV9fTwvbWF0LW9wdGlvbj5cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICA8L21hdC1hdXRvY29tcGxldGU+XHJcbiAgICAgICAgICAgICAgQGlmIChpbnAudmFsdWUpIHtcclxuICAgICAgICAgICAgICAgIDxidXR0b24gbWF0LWljb24tYnV0dG9uIG1hdFN1ZmZpeCBhcmlhLWxhYmVsPVwiXCIgKGNsaWNrKT1cImlucC52YWx1ZSA9ICcnOyBmb3JtLmNvbnRyb2xzW2EubmFtZV0uc2V0VmFsdWUobnVsbClcIj48bWF0LWljb24+Y2xvc2U8L21hdC1pY29uPjwvYnV0dG9uPlxyXG4gICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICBAaWYgKGZvcm0uY29udHJvbHNbYS5uYW1lXS5pbnZhbGlkKSB7XHJcbiAgICAgICAgICAgICAgICA8bWF0LWVycm9yPnt7J0F4aXNQYXR0ZXJuRXJyJyB8dHJhbnNsYXRlfX08L21hdC1lcnJvcj5cclxuICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgQGRlZmF1bHQge1xyXG4gICAgICAgICAgICAgIDxtYXQtc2VsZWN0IFtmb3JtQ29udHJvbE5hbWVdPVwiYS5uYW1lXCIgW3BsYWNlaG9sZGVyXT1cImEudGl0bGV8fGEubmFtZVwiIFttdWx0aXBsZV09XCJhLnNlbGVjdGlvbk1vZGUgPT09ICdNdWx0aXBsZSdcIj5cclxuICAgICAgICAgICAgICAgIEBpZiAoYS5zZWxlY3Rpb25Nb2RlICE9PSAnTXVsdGlwbGUnKSB7XHJcbiAgICAgICAgICAgICAgICAgIDxtYXQtb3B0aW9uPnt7J0FsbCcgfCB0cmFuc2xhdGV9fTwvbWF0LW9wdGlvbj5cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIEBmb3IgKHIgb2Ygc291cmNlc1thLm5hbWVdIHwgYXN5bmM7IHRyYWNrIHIpIHtcclxuICAgICAgICAgICAgICAgICAgPG1hdC1vcHRpb24gW3ZhbHVlXT1cInIua2V5XCI+e3tyLnZhbHVlfX08L21hdC1vcHRpb24+XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgPC9tYXQtc2VsZWN0PlxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cclxuICAgICAgfVxyXG4gICAgPC9kaXY+XHJcbiJdfQ==