@bizdoc/core 1.15.1 → 1.15.4

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 (402) hide show
  1. package/assets/themes/brown.min.css +3 -3
  2. package/assets/themes/dark.min.css +3 -3
  3. package/assets/themes/deep-purple-light-blue.min.css +4 -4
  4. package/assets/themes/deep-purple-teal.min.css +4 -4
  5. package/assets/themes/default.min.css +4 -4
  6. package/assets/themes/green.min.css +3 -3
  7. package/assets/themes/indigo.min.css +3 -3
  8. package/esm2020/lib/admin/admin-dismiss.service.mjs +3 -3
  9. package/esm2020/lib/admin/admin-menu.component.mjs +3 -3
  10. package/esm2020/lib/admin/configuration-designer/designer-element.component.mjs +79 -0
  11. package/esm2020/lib/admin/configuration-designer/designer.base.mjs +74 -0
  12. package/esm2020/lib/admin/configuration-designer/designer.component.mjs +106 -0
  13. package/esm2020/lib/admin/configuration-designer/elements/action.component.mjs +29 -0
  14. package/esm2020/lib/admin/configuration-designer/elements/analysis-view.component.mjs +49 -0
  15. package/esm2020/lib/admin/configuration-designer/elements/analysis-widget.component.mjs +49 -0
  16. package/esm2020/lib/admin/configuration-designer/elements/anomaly-rule.component.mjs +29 -0
  17. package/esm2020/lib/admin/configuration-designer/elements/box-form.component.mjs +31 -0
  18. package/esm2020/lib/admin/configuration-designer/elements/cube-view.component.mjs +34 -0
  19. package/esm2020/lib/admin/configuration-designer/elements/cube.component.mjs +139 -0
  20. package/esm2020/lib/admin/configuration-designer/elements/documents-report.component.mjs +49 -0
  21. package/esm2020/lib/admin/configuration-designer/elements/documents-widget.component.mjs +39 -0
  22. package/esm2020/lib/admin/configuration-designer/elements/explore-view.component.mjs +34 -0
  23. package/esm2020/lib/admin/configuration-designer/elements/folder.component.mjs +30 -0
  24. package/esm2020/lib/admin/configuration-designer/elements/form.component.mjs +83 -0
  25. package/esm2020/lib/admin/configuration-designer/elements/guide.component.mjs +36 -0
  26. package/esm2020/lib/admin/configuration-designer/elements/matrix-view.component.mjs +37 -0
  27. package/esm2020/lib/admin/configuration-designer/elements/parallel-view.component.mjs +39 -0
  28. package/esm2020/lib/admin/configuration-designer/elements/performance-widget.component.mjs +45 -0
  29. package/esm2020/lib/admin/configuration-designer/elements/pivot-view.component.mjs +39 -0
  30. package/esm2020/lib/admin/configuration-designer/elements/report.component.mjs +32 -0
  31. package/esm2020/lib/admin/configuration-designer/elements/return-to-role-action.component.mjs +39 -0
  32. package/esm2020/lib/admin/configuration-designer/elements/role.component.mjs +31 -0
  33. package/esm2020/lib/admin/configuration-designer/elements/rule.component.mjs +29 -0
  34. package/esm2020/lib/admin/configuration-designer/elements/state.component.mjs +31 -0
  35. package/esm2020/lib/admin/configuration-designer/elements/sum-view.component.mjs +37 -0
  36. package/esm2020/lib/admin/configuration-designer/elements/tasks-report.component.mjs +37 -0
  37. package/esm2020/lib/admin/configuration-designer/elements/type.component.mjs +33 -0
  38. package/esm2020/lib/admin/configuration-designer/elements/usage-report.component.mjs +37 -0
  39. package/esm2020/lib/admin/configuration-designer/elements/utility.component.mjs +30 -0
  40. package/esm2020/lib/admin/configuration-designer/elements/view.component.mjs +28 -0
  41. package/esm2020/lib/admin/configuration-designer/elements/widget.component.mjs +30 -0
  42. package/esm2020/lib/admin/configuration-designer/privileges.component.mjs +42 -0
  43. package/esm2020/lib/admin/core/ace.input.mjs +3 -3
  44. package/esm2020/lib/admin/core/color-picker.input.mjs +3 -3
  45. package/esm2020/lib/admin/core/search.input.mjs +3 -3
  46. package/esm2020/lib/admin/diff/configuration-diff.component.mjs +3 -3
  47. package/esm2020/lib/admin/document-trace/document-trace.component.mjs +6 -6
  48. package/esm2020/lib/admin/document-trace/reassign.dialog.mjs +3 -3
  49. package/esm2020/lib/admin/document-trace/trace-element.component.mjs +3 -3
  50. package/esm2020/lib/admin/form/designer/designer.component.mjs +56 -0
  51. package/esm2020/lib/admin/form/form.resolve.service.mjs +9 -9
  52. package/esm2020/lib/admin/form/workflow/node.component.mjs +3 -3
  53. package/esm2020/lib/admin/form/workflow/role-node.component.mjs +3 -3
  54. package/esm2020/lib/admin/form/workflow/workflow.component.mjs +6 -6
  55. package/esm2020/lib/admin/indices/manage-cube-index.component.mjs +3 -3
  56. package/esm2020/lib/admin/patterns/patterns.component.mjs +9 -9
  57. package/esm2020/lib/admin/permissions/permissions.component.mjs +3 -3
  58. package/esm2020/lib/admin/positions/positions-popup.component.mjs +3 -3
  59. package/esm2020/lib/admin/positions/positions.component.mjs +3 -3
  60. package/esm2020/lib/admin/profiler/outofoffice.component.mjs +3 -3
  61. package/esm2020/lib/admin/profiler/profiler.component.mjs +3 -3
  62. package/esm2020/lib/admin/system.service.mjs +54 -0
  63. package/esm2020/lib/admin/utility-ref.mjs +2 -2
  64. package/esm2020/lib/admin/utility-wrapper.component.mjs +3 -3
  65. package/esm2020/lib/admin/utility.pane.component.mjs +3 -3
  66. package/esm2020/lib/app.component.mjs +6 -6
  67. package/esm2020/lib/bizdoc.module.mjs +4 -4
  68. package/esm2020/lib/browse/browse-items.component.mjs +3 -3
  69. package/esm2020/lib/browse/browse.mobile.component.mjs +3 -3
  70. package/esm2020/lib/browse/browse.pane.component.mjs +3 -3
  71. package/esm2020/lib/browse/expanded-item/expanded-item.component.mjs +3 -3
  72. package/esm2020/lib/browse/filter/filter.component.mjs +3 -3
  73. package/esm2020/lib/browse/folders-menu.component.mjs +3 -3
  74. package/esm2020/lib/chat/chat-info.mjs +3 -3
  75. package/esm2020/lib/chat/chat.mobile.component.mjs +3 -3
  76. package/esm2020/lib/chat/chat.service.mjs +3 -3
  77. package/esm2020/lib/chat/contacts.component.mjs +6 -6
  78. package/esm2020/lib/chat/contacts.pane.component.mjs +3 -3
  79. package/esm2020/lib/chat/conversation.component.mjs +3 -3
  80. package/esm2020/lib/chat/conversation.pane.component.mjs +3 -3
  81. package/esm2020/lib/compose/action/action-picker.component.mjs +3 -3
  82. package/esm2020/lib/compose/action/action.dialog.mjs +3 -3
  83. package/esm2020/lib/compose/action/action.pane.dialog.exp.mjs +3 -3
  84. package/esm2020/lib/compose/action/assign-action.component.mjs +5 -5
  85. package/esm2020/lib/compose/action/moveto-action.component.mjs +3 -3
  86. package/esm2020/lib/compose/action/return-action.component.mjs +3 -3
  87. package/esm2020/lib/compose/attachments/attachments.component.mjs +3 -3
  88. package/esm2020/lib/compose/attachments/preview/attachment-preview.component.mjs +3 -3
  89. package/esm2020/lib/compose/attachments/progress-button.directive.mjs +3 -3
  90. package/esm2020/lib/compose/can-deactivate-changes.service.mjs +3 -3
  91. package/esm2020/lib/compose/comments/comment.component.mjs +3 -3
  92. package/esm2020/lib/compose/comments/comments.component.mjs +3 -3
  93. package/esm2020/lib/compose/comments/comments.pane.component.mjs +3 -3
  94. package/esm2020/lib/compose/comments/edit-comment.component.mjs +3 -3
  95. package/esm2020/lib/compose/comments/edits.component.mjs +3 -3
  96. package/esm2020/lib/compose/comments/quick-comment.component.exp.mjs +3 -3
  97. package/esm2020/lib/compose/comments/votes.component.mjs +3 -3
  98. package/esm2020/lib/compose/compose-resolve.service.mjs +6 -6
  99. package/esm2020/lib/compose/compose.mobile.component.mjs +3 -3
  100. package/esm2020/lib/compose/compose.pane.component.mjs +3 -3
  101. package/esm2020/lib/compose/copy/copy.dialog.mjs +3 -3
  102. package/esm2020/lib/compose/dismiss.service.mjs +3 -3
  103. package/esm2020/lib/compose/document-resolver.service.mjs +3 -3
  104. package/esm2020/lib/compose/document.component.mjs +3 -3
  105. package/esm2020/lib/compose/document.mobile.component.mjs +3 -3
  106. package/esm2020/lib/compose/document.pane.component.mjs +3 -3
  107. package/esm2020/lib/compose/events/events.component.mjs +3 -3
  108. package/esm2020/lib/compose/form-selector/form-selector.sheet.mjs +3 -3
  109. package/esm2020/lib/compose/form.component.mjs +3 -3
  110. package/esm2020/lib/compose/new-menu.component.mjs +5 -5
  111. package/esm2020/lib/compose/privilage.directive.mjs +6 -6
  112. package/esm2020/lib/compose/recipient-resolver.service.mjs +3 -3
  113. package/esm2020/lib/compose/state.component.mjs +3 -3
  114. package/esm2020/lib/compose/tag/tags.component.mjs +3 -3
  115. package/esm2020/lib/compose/trace/flow.component.mjs +3 -3
  116. package/esm2020/lib/compose/trace/people.component.mjs +3 -3
  117. package/esm2020/lib/compose/trace/trace.base.mjs +3 -3
  118. package/esm2020/lib/compose/trace/trace.component.mjs +3 -3
  119. package/esm2020/lib/compose/trace/trace.pane.component.mjs +3 -3
  120. package/esm2020/lib/compose/version-compare/version-compare.component.mjs +3 -3
  121. package/esm2020/lib/compose/version-compare/version-compare.directive.mjs +9 -9
  122. package/esm2020/lib/compose/version-compare/version.pane.component.mjs +3 -3
  123. package/esm2020/lib/core/NgComponentOutlet.mjs +3 -3
  124. package/esm2020/lib/core/account.service.mjs +3 -3
  125. package/esm2020/lib/core/animated-icon/animated-icon.directive.mjs +3 -3
  126. package/esm2020/lib/core/avatar/avatar.component.mjs +3 -3
  127. package/esm2020/lib/core/component-factory-resolver.mjs +4 -4
  128. package/esm2020/lib/core/controls/address.input.mjs +3 -3
  129. package/esm2020/lib/core/controls/auto-complete.input.mjs +3 -3
  130. package/esm2020/lib/core/controls/combination-picker-body.mjs +3 -3
  131. package/esm2020/lib/core/controls/combination-picker.mjs +3 -3
  132. package/esm2020/lib/core/controls/combination-pool.mjs +3 -3
  133. package/esm2020/lib/core/controls/file.input.mjs +3 -3
  134. package/esm2020/lib/core/controls/select.input.mjs +3 -3
  135. package/esm2020/lib/core/controls/time-picker.mjs +3 -3
  136. package/esm2020/lib/core/controls/timespan.input.mjs +3 -3
  137. package/esm2020/lib/core/datasource.service.mjs +3 -3
  138. package/esm2020/lib/core/guide/guide.component.mjs +3 -3
  139. package/esm2020/lib/core/guide/guide.service.mjs +3 -3
  140. package/esm2020/lib/core/guide/help-tip.component.mjs +3 -3
  141. package/esm2020/lib/core/http.interceptor.mjs +3 -3
  142. package/esm2020/lib/core/hub.service.mjs +3 -3
  143. package/esm2020/lib/core/identity/identity.component.mjs +3 -3
  144. package/esm2020/lib/core/info/attachment-info.service.mjs +3 -3
  145. package/esm2020/lib/core/info/document-info.service.mjs +3 -3
  146. package/esm2020/lib/core/info/location-info.component.mjs +3 -3
  147. package/esm2020/lib/core/info/map-info.mjs +3 -3
  148. package/esm2020/lib/core/layout/autocomplete.field.mjs +3 -3
  149. package/esm2020/lib/core/layout/checkbox.field.mjs +3 -3
  150. package/esm2020/lib/core/layout/checkbox.mjs +3 -3
  151. package/esm2020/lib/core/layout/date-range.field.mjs +3 -3
  152. package/esm2020/lib/core/layout/date.field.mjs +3 -3
  153. package/esm2020/lib/core/layout/expression.field.mjs +3 -3
  154. package/esm2020/lib/core/layout/file.field.mjs +3 -3
  155. package/esm2020/lib/core/layout/html.field.mjs +3 -3
  156. package/esm2020/lib/core/layout/input.base.mjs +3 -3
  157. package/esm2020/lib/core/layout/input.field.mjs +3 -3
  158. package/esm2020/lib/core/layout/layout.component.mjs +3 -3
  159. package/esm2020/lib/core/layout/numeric.field.mjs +3 -3
  160. package/esm2020/lib/core/layout/select.field.mjs +3 -3
  161. package/esm2020/lib/core/layout/switch.field.mjs +3 -3
  162. package/esm2020/lib/core/layout/textarea.field.mjs +3 -3
  163. package/esm2020/lib/core/layout/timespan.field.mjs +3 -3
  164. package/esm2020/lib/core/lottie-animation.mjs +3 -3
  165. package/esm2020/lib/core/mailbox.service.mjs +6 -4
  166. package/esm2020/lib/core/none.component.mjs +3 -3
  167. package/esm2020/lib/core/pipes/action.pipe.mjs +3 -3
  168. package/esm2020/lib/core/pipes/calendar.pipe.mjs +3 -3
  169. package/esm2020/lib/core/pipes/date-format.pipe.mjs +3 -3
  170. package/esm2020/lib/core/pipes/daterange.pipe.mjs +6 -6
  171. package/esm2020/lib/core/pipes/difference.pipe.mjs +3 -3
  172. package/esm2020/lib/core/pipes/duration-format.pipe.mjs +3 -3
  173. package/esm2020/lib/core/pipes/duration.pipe.mjs +3 -3
  174. package/esm2020/lib/core/pipes/form.pipe.mjs +3 -3
  175. package/esm2020/lib/core/pipes/join.pipe.mjs +3 -3
  176. package/esm2020/lib/core/pipes/role.pipe.mjs +3 -3
  177. package/esm2020/lib/core/pipes/sanitize-html.pipe.mjs +3 -3
  178. package/esm2020/lib/core/pipes/sort.pipe.mjs +6 -6
  179. package/esm2020/lib/core/pipes/state.pipe.mjs +3 -3
  180. package/esm2020/lib/core/pipes/time-ago.pipe.mjs +3 -3
  181. package/esm2020/lib/core/pipes/translate.pipe.mjs +6 -6
  182. package/esm2020/lib/core/pipes/type-value.pipe.mjs +3 -3
  183. package/esm2020/lib/core/pipes/user-name.pipe.mjs +3 -3
  184. package/esm2020/lib/core/popup/popup.component.mjs +3 -3
  185. package/esm2020/lib/core/popup/popup.service.mjs +3 -3
  186. package/esm2020/lib/core/popup/tooltip.directive.mjs +6 -6
  187. package/esm2020/lib/core/prompt/ask/ask.dialog.mjs +3 -3
  188. package/esm2020/lib/core/prompt/mask/mask.component.mjs +3 -3
  189. package/esm2020/lib/core/prompt.service.mjs +3 -3
  190. package/esm2020/lib/core/router.mjs +6 -6
  191. package/esm2020/lib/core/save-changes.dialog.mjs +3 -3
  192. package/esm2020/lib/core/session.service.mjs +3 -3
  193. package/esm2020/lib/core/slots/router.directive.mjs +3 -3
  194. package/esm2020/lib/core/slots/router.service.mjs +3 -3
  195. package/esm2020/lib/core/slots/slots.component.mjs +3 -3
  196. package/esm2020/lib/core/tagging/documents.component.mjs +3 -3
  197. package/esm2020/lib/core/tagging/edit-input.component.mjs +3 -3
  198. package/esm2020/lib/core/tagging/emoji.component.mjs +3 -3
  199. package/esm2020/lib/core/tagging/tagging-item.directive.mjs +3 -3
  200. package/esm2020/lib/core/tagging/tagging.component-base.mjs +3 -3
  201. package/esm2020/lib/core/tagging/tagging.directive.mjs +3 -3
  202. package/esm2020/lib/core/tagging/tagging.pipe.mjs +3 -3
  203. package/esm2020/lib/core/tagging/users.component.mjs +3 -3
  204. package/esm2020/lib/core/translate.service.mjs +3 -3
  205. package/esm2020/lib/core/translations.mjs +46 -1
  206. package/esm2020/lib/core/window-title.service.mjs +3 -3
  207. package/esm2020/lib/cube/accum/accum.component.mjs +3 -3
  208. package/esm2020/lib/cube/chart/chart.component.mjs +3 -3
  209. package/esm2020/lib/cube/cube-info.service.mjs +3 -3
  210. package/esm2020/lib/cube/cube-menu.component.mjs +3 -3
  211. package/esm2020/lib/cube/cube-view.component.mjs +3 -3
  212. package/esm2020/lib/cube/cube.service.mjs +4 -4
  213. package/esm2020/lib/cube/explore/document-item.component.mjs +3 -3
  214. package/esm2020/lib/cube/explore/explore-item.component.mjs +3 -3
  215. package/esm2020/lib/cube/explore/explore-items.component.mjs +3 -3
  216. package/esm2020/lib/cube/explore/explore.pane.component.mjs +3 -3
  217. package/esm2020/lib/cube/explore/item-resolver.service.mjs +6 -6
  218. package/esm2020/lib/cube/explore/item.pane.component.mjs +3 -3
  219. package/esm2020/lib/cube/filter/filter-tags.component.exp.mjs +3 -3
  220. package/esm2020/lib/cube/filter/filter.component.mjs +3 -3
  221. package/esm2020/lib/cube/grid/grid.component.mjs +3 -3
  222. package/esm2020/lib/cube/grid/spreadsheet.component.mjs +5 -5
  223. package/esm2020/lib/cube/matrix/matrix.base.mjs +3 -3
  224. package/esm2020/lib/cube/matrix/matrix.mobile.component.mjs +3 -3
  225. package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +3 -3
  226. package/esm2020/lib/cube/matrix/popup.component.mjs +3 -3
  227. package/esm2020/lib/cube/matrix/table.component.mjs +3 -3
  228. package/esm2020/lib/cube/parallel/parallel.component.mjs +3 -3
  229. package/esm2020/lib/cube/pivot/pivot.component.mjs +3 -3
  230. package/esm2020/lib/cube/sum/sum.component.mjs +4 -4
  231. package/esm2020/lib/cube/view-base.mjs +3 -3
  232. package/esm2020/lib/cube/view.mobile.component.mjs +3 -3
  233. package/esm2020/lib/cube/view.pane.component.mjs +3 -3
  234. package/esm2020/lib/dashboard/actions/actions.widget.mjs +3 -3
  235. package/esm2020/lib/dashboard/cube/accum-cube.widget.mjs +4 -4
  236. package/esm2020/lib/dashboard/cube/compare.widget.mjs +12 -12
  237. package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +4 -4
  238. package/esm2020/lib/dashboard/cube/cube-analysis.widget.mjs +4 -4
  239. package/esm2020/lib/dashboard/cube/cube-chart.widget.mjs +3 -3
  240. package/esm2020/lib/dashboard/cube/documents.widget.mjs +4 -4
  241. package/esm2020/lib/dashboard/cube/filter/filter.component.mjs +4 -4
  242. package/esm2020/lib/dashboard/dashboard.component.mjs +3 -3
  243. package/esm2020/lib/dashboard/dashboard.pane.component.mjs +3 -3
  244. package/esm2020/lib/dashboard/recents/recents.widget.mjs +3 -3
  245. package/esm2020/lib/dashboard/score/activity.widget.mjs +3 -3
  246. package/esm2020/lib/dashboard/score/compare-groups.widget.mjs +3 -3
  247. package/esm2020/lib/dashboard/score/peers-performance.widget.mjs +3 -3
  248. package/esm2020/lib/dashboard/score/pending-results.widget.mjs +3 -3
  249. package/esm2020/lib/dashboard/score/personal-score.widget.mjs +3 -3
  250. package/esm2020/lib/dashboard/widget-item.component.mjs +3 -3
  251. package/esm2020/lib/desktop.module.mjs +4 -4
  252. package/esm2020/lib/home/about/about.dialog.mjs +3 -3
  253. package/esm2020/lib/home/home-base.component.mjs +3 -3
  254. package/esm2020/lib/home/home.desktop.component.mjs +3 -3
  255. package/esm2020/lib/home/home.mobile.component.mjs +3 -3
  256. package/esm2020/lib/home/notifications/notifications.component.mjs +3 -3
  257. package/esm2020/lib/home/options/options.component.mjs +3 -3
  258. package/esm2020/lib/home/outofoffice/outofoffice.component.mjs +3 -3
  259. package/esm2020/lib/home/search.service.mjs +3 -3
  260. package/esm2020/lib/home/sign/sign.component.mjs +3 -3
  261. package/esm2020/lib/home/tools.component.mjs +3 -3
  262. package/esm2020/lib/impersonate/impersonate.component.mjs +3 -3
  263. package/esm2020/lib/mobile.module.mjs +4 -4
  264. package/esm2020/lib/modules/chart.module.mjs +4 -4
  265. package/esm2020/lib/modules/circular-gauge.module.mjs +4 -4
  266. package/esm2020/lib/modules/datepicker.intl.mjs +3 -3
  267. package/esm2020/lib/modules/dayjs.module.mjs +4 -4
  268. package/esm2020/lib/modules/diagram.module.mjs +4 -4
  269. package/esm2020/lib/modules/gantt.module.mjs +4 -4
  270. package/esm2020/lib/modules/grid.module.mjs +4 -4
  271. package/esm2020/lib/modules/material.module.mjs +4 -4
  272. package/esm2020/lib/modules/paginator.intl.mjs +3 -3
  273. package/esm2020/lib/modules/pivot.module.mjs +4 -4
  274. package/esm2020/lib/modules/schedule.module.mjs +4 -4
  275. package/esm2020/lib/modules/spreadsheet.module.mjs +4 -4
  276. package/esm2020/lib/modules/stepper.intl.mjs +3 -3
  277. package/esm2020/lib/modules/texteditor.module.mjs +4 -4
  278. package/esm2020/lib/notifications/filter.component.mjs +3 -3
  279. package/esm2020/lib/notifications/notifications-table.component.mjs +3 -3
  280. package/esm2020/lib/notifications/notifications.mobile.component.mjs +3 -3
  281. package/esm2020/lib/notifications/notifications.pane.component.mjs +3 -3
  282. package/esm2020/lib/notifications/notifications.service.mjs +3 -3
  283. package/esm2020/lib/notifications/types/commented.notification.mjs +3 -3
  284. package/esm2020/lib/notifications/types/cube-anomaly.notification.mjs +3 -3
  285. package/esm2020/lib/notifications/types/escalated.notification.mjs +3 -3
  286. package/esm2020/lib/notifications/types/liked.notification.mjs +3 -3
  287. package/esm2020/lib/notifications/types/long-running-task.notification.mjs +3 -3
  288. package/esm2020/lib/notifications/types/notification-base.mjs +3 -3
  289. package/esm2020/lib/notifications/types/nudge.notification.mjs +3 -3
  290. package/esm2020/lib/notifications/types/state-changed.notification.mjs +3 -3
  291. package/esm2020/lib/notifications/types/tagged.notification.mjs +3 -3
  292. package/esm2020/lib/notifications/types/text.notification.mjs +3 -3
  293. package/esm2020/lib/notifications/types/upcoming-event.notification.mjs +3 -3
  294. package/esm2020/lib/options/options.component.mjs +3 -3
  295. package/esm2020/lib/options/options.service.mjs +3 -3
  296. package/esm2020/lib/reports/arguments-component.mjs +3 -3
  297. package/esm2020/lib/reports/cube/documents.component.mjs +3 -3
  298. package/esm2020/lib/reports/cube/grid-documents.component.mjs +3 -3
  299. package/esm2020/lib/reports/cube/table-documents.component.mjs +3 -3
  300. package/esm2020/lib/reports/cube/usage-args.component.mjs +4 -4
  301. package/esm2020/lib/reports/cube/usage-base.mjs +5 -4
  302. package/esm2020/lib/reports/cube/usage-chart.component.mjs +4 -4
  303. package/esm2020/lib/reports/cube/usage-pivot.component.mjs +4 -4
  304. package/esm2020/lib/reports/cube/usage.component.mjs +6 -7
  305. package/esm2020/lib/reports/report-viewer.component.mjs +3 -3
  306. package/esm2020/lib/reports/report.mobile.component.mjs +3 -3
  307. package/esm2020/lib/reports/report.pane.component.mjs +3 -3
  308. package/esm2020/lib/reports/reports-menu.component.mjs +3 -3
  309. package/esm2020/lib/reports/substitution/substitution.component.mjs +3 -3
  310. package/esm2020/lib/reports/table/table-view.component.mjs +3 -3
  311. package/esm2020/lib/reports/tasks/tasks.component.mjs +4 -4
  312. package/esm2020/lib/scheduler/schedule.component.mjs +3 -3
  313. package/esm2020/lib/scheduler/scheduler.mobile.component.mjs +3 -3
  314. package/esm2020/lib/scheduler/scheduler.pane.component.mjs +3 -3
  315. package/esm2020/lib/shared.module.mjs +11 -11
  316. package/esm2020/lib/system.module.mjs +58 -12
  317. package/esm2020/lib/views/cube/chart.component.mjs +5 -5
  318. package/esm2020/lib/views/cube/cube-base.mjs +3 -3
  319. package/esm2020/lib/views/cube/explore.component.mjs +4 -4
  320. package/esm2020/lib/views/cube/matrix.component.mjs +4 -4
  321. package/esm2020/lib/views/cube/parallel.component.mjs +4 -4
  322. package/esm2020/lib/views/cube/pivot.component.mjs +4 -4
  323. package/esm2020/lib/views/cube/sum.component.mjs +5 -5
  324. package/esm2020/lib/views/cube/view.component.mjs +4 -4
  325. package/esm2020/lib/views/timeline/timeline.component.exp.mjs +3 -3
  326. package/esm2020/lib/views/view-item.component.mjs +3 -3
  327. package/esm2020/lib/views/views.component.mjs +3 -3
  328. package/esm2020/lib/views/views.mobile.component.mjs +3 -3
  329. package/esm2020/lib/views/views.pane.component.mjs +3 -3
  330. package/esm2020/public-api.mjs +2 -2
  331. package/fesm2015/bizdoc-core.mjs +2254 -1038
  332. package/fesm2015/bizdoc-core.mjs.map +1 -1
  333. package/fesm2020/bizdoc-core.mjs +2245 -1038
  334. package/fesm2020/bizdoc-core.mjs.map +1 -1
  335. package/lib/admin/configuration-designer/designer-element.component.d.ts +24 -0
  336. package/lib/admin/configuration-designer/designer.base.d.ts +79 -0
  337. package/lib/admin/configuration-designer/designer.component.d.ts +33 -0
  338. package/lib/admin/configuration-designer/elements/action.component.d.ts +17 -0
  339. package/lib/admin/configuration-designer/elements/analysis-view.component.d.ts +19 -0
  340. package/lib/admin/configuration-designer/elements/analysis-widget.component.d.ts +19 -0
  341. package/lib/admin/configuration-designer/elements/anomaly-rule.component.d.ts +17 -0
  342. package/lib/admin/configuration-designer/elements/box-form.component.d.ts +20 -0
  343. package/lib/admin/configuration-designer/elements/cube-view.component.d.ts +14 -0
  344. package/lib/admin/configuration-designer/elements/cube.component.d.ts +44 -0
  345. package/lib/admin/configuration-designer/elements/documents-report.component.d.ts +37 -0
  346. package/lib/admin/configuration-designer/elements/documents-widget.component.d.ts +18 -0
  347. package/lib/admin/configuration-designer/elements/explore-view.component.d.ts +15 -0
  348. package/lib/admin/configuration-designer/elements/folder.component.d.ts +17 -0
  349. package/lib/admin/configuration-designer/elements/form.component.d.ts +36 -0
  350. package/lib/admin/configuration-designer/elements/guide.component.d.ts +18 -0
  351. package/lib/admin/configuration-designer/elements/matrix-view.component.d.ts +17 -0
  352. package/lib/admin/configuration-designer/elements/parallel-view.component.d.ts +18 -0
  353. package/lib/admin/configuration-designer/elements/performance-widget.component.d.ts +32 -0
  354. package/lib/admin/configuration-designer/elements/pivot-view.component.d.ts +19 -0
  355. package/lib/admin/configuration-designer/elements/report.component.d.ts +20 -0
  356. package/lib/admin/configuration-designer/elements/return-to-role-action.component.d.ts +19 -0
  357. package/lib/admin/configuration-designer/elements/role.component.d.ts +20 -0
  358. package/lib/admin/configuration-designer/elements/rule.component.d.ts +17 -0
  359. package/lib/admin/configuration-designer/elements/state.component.d.ts +19 -0
  360. package/lib/admin/configuration-designer/elements/sum-view.component.d.ts +16 -0
  361. package/lib/admin/configuration-designer/elements/tasks-report.component.d.ts +16 -0
  362. package/lib/admin/configuration-designer/elements/type.component.d.ts +20 -0
  363. package/lib/admin/configuration-designer/elements/usage-report.component.d.ts +17 -0
  364. package/lib/admin/configuration-designer/elements/utility.component.d.ts +17 -0
  365. package/lib/admin/configuration-designer/elements/view.component.d.ts +15 -0
  366. package/lib/admin/configuration-designer/elements/widget.component.d.ts +17 -0
  367. package/lib/admin/configuration-designer/privileges.component.d.ts +25 -0
  368. package/lib/admin/document-trace/document-trace.component.d.ts +3 -3
  369. package/lib/admin/form/designer/designer.component.d.ts +46 -0
  370. package/lib/admin/form/form.resolve.service.d.ts +3 -3
  371. package/lib/admin/form/workflow/workflow.component.d.ts +2 -2
  372. package/lib/admin/patterns/patterns.component.d.ts +3 -3
  373. package/lib/admin/{form/form.service.d.ts → system.service.d.ts} +12 -7
  374. package/lib/compose/new-menu.component.d.ts +1 -1
  375. package/lib/core/component-factory-resolver.d.ts +1 -1
  376. package/lib/core/mailbox.service.d.ts +7 -0
  377. package/lib/core/translations.d.ts +49 -0
  378. package/lib/cube/sum/sum.component.d.ts +2 -1
  379. package/lib/dashboard/cube/accum-cube.widget.d.ts +2 -2
  380. package/lib/dashboard/cube/compare.widget.d.ts +3 -3
  381. package/lib/dashboard/cube/cube-analysis.base.d.ts +3 -3
  382. package/lib/dashboard/cube/cube-analysis.widget.d.ts +2 -2
  383. package/lib/dashboard/cube/documents.widget.d.ts +11 -1
  384. package/lib/dashboard/cube/filter/filter.component.d.ts +2 -2
  385. package/lib/reports/cube/usage-args.component.d.ts +2 -2
  386. package/lib/reports/cube/usage-base.d.ts +7 -6
  387. package/lib/reports/cube/usage-chart.component.d.ts +2 -2
  388. package/lib/reports/cube/usage-pivot.component.d.ts +2 -2
  389. package/lib/reports/cube/usage.component.d.ts +3 -4
  390. package/lib/reports/tasks/tasks.component.d.ts +4 -2
  391. package/lib/shared.module.d.ts +1 -1
  392. package/lib/system.module.d.ts +59 -27
  393. package/lib/views/cube/chart.component.d.ts +4 -4
  394. package/lib/views/cube/explore.component.d.ts +4 -4
  395. package/lib/views/cube/matrix.component.d.ts +8 -7
  396. package/lib/views/cube/parallel.component.d.ts +8 -3
  397. package/lib/views/cube/pivot.component.d.ts +4 -3
  398. package/lib/views/cube/sum.component.d.ts +5 -3
  399. package/lib/views/cube/view.component.d.ts +4 -4
  400. package/package.json +18 -18
  401. package/public-api.d.ts +1 -1
  402. package/esm2020/lib/admin/form/form.service.mjs +0 -43
@@ -0,0 +1,39 @@
1
+ import { __decorate } from "tslib";
2
+ import { Component } from "@angular/core";
3
+ import { BizDoc } from "../../../core/decorators";
4
+ import { DesignerCubeElementComponent } from "../designer.base";
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/common";
7
+ import * as i2 from "@angular/forms";
8
+ import * as i3 from "@angular/material/core";
9
+ import * as i4 from "@angular/material/form-field";
10
+ import * as i5 from "@angular/material/select";
11
+ import * as i6 from "../../../core/pipes/translate.pipe";
12
+ let DocumentsWidgetDesignComponent = class DocumentsWidgetDesignComponent extends DesignerCubeElementComponent {
13
+ constructor() {
14
+ super(...arguments);
15
+ this.form = this._fb.group({
16
+ cube: null,
17
+ filters: this._fb.group({}),
18
+ states: null,
19
+ scope: null,
20
+ take: null,
21
+ pending: null
22
+ });
23
+ }
24
+ ngOnInit() {
25
+ super.ngOnInit();
26
+ this.states = this._ref.model.states;
27
+ }
28
+ };
29
+ DocumentsWidgetDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: DocumentsWidgetDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
30
+ DocumentsWidgetDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: DocumentsWidgetDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n <mat-form-field *ngIf=\"cubes.length>1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option>{{'Default'|translate}}</mat-option>\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'XAxis'|translate}}</mat-label>\r\n <mat-select formControlName=\"xAxis\" required>\r\n <mat-option *ngFor=\"let x of cube?.axes\" [value]=\"x.name\">{{x.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info></ng-template>\r\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] });
31
+ DocumentsWidgetDesignComponent = __decorate([
32
+ BizDoc({ selector: 'documents-widget-designer' })
33
+ ], DocumentsWidgetDesignComponent);
34
+ export { DocumentsWidgetDesignComponent };
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: DocumentsWidgetDesignComponent, decorators: [{
36
+ type: Component,
37
+ args: [{ template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n <mat-form-field *ngIf=\"cubes.length>1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option>{{'Default'|translate}}</mat-option>\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'XAxis'|translate}}</mat-label>\r\n <mat-select formControlName=\"xAxis\" required>\r\n <mat-option *ngFor=\"let x of cube?.axes\" [value]=\"x.name\">{{x.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info></ng-template>\r\n" }]
38
+ }] });
39
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnRzLXdpZGdldC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6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Db250cm9sTmFtZT1cInhBeGlzXCIgcmVxdWlyZWQ+XHJcbiAgICAgICAgPG1hdC1vcHRpb24gKm5nRm9yPVwibGV0IHggb2YgY3ViZT8uYXhlc1wiIFt2YWx1ZV09XCJ4Lm5hbWVcIj57e3gudGl0bGV9fTwvbWF0LW9wdGlvbj5cclxuICAgICAgPC9tYXQtc2VsZWN0PlxyXG4gICAgPC9tYXQtZm9ybS1maWVsZD5cclxuICA8L2Zvcm0+XHJcbjwvbmctY29udGFpbmVyPlxyXG48IS0tLS0+XHJcbjxuZy10ZW1wbGF0ZSAjaW5mbz48L25nLXRlbXBsYXRlPlxyXG4iXX0=
@@ -0,0 +1,34 @@
1
+ import { __decorate } from "tslib";
2
+ import { Component } from "@angular/core";
3
+ import { BizDoc } from "../../../core/decorators";
4
+ import { DesignerCubeElementComponent } from "../designer.base";
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/common";
7
+ import * as i2 from "@angular/forms";
8
+ import * as i3 from "@angular/material/core";
9
+ import * as i4 from "@angular/material/form-field";
10
+ import * as i5 from "@angular/material/select";
11
+ import * as i6 from "../../../core/pipes/translate.pipe";
12
+ let ExploreViewDesignComponent = class ExploreViewDesignComponent extends DesignerCubeElementComponent {
13
+ constructor() {
14
+ super(...arguments);
15
+ this.form = this._fb.group({
16
+ cube: null,
17
+ filters: null,
18
+ aggregate: null,
19
+ pageSize: null,
20
+ scope: null
21
+ });
22
+ }
23
+ };
24
+ ExploreViewDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ExploreViewDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
25
+ ExploreViewDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: ExploreViewDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<form *ngIf=\"editMode; else info\" autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"cubes.length>1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Aggregate'|translate}}</mat-label>\r\n <mat-select formControlName=\"aggregate\" multiple>\r\n <mat-option *ngFor=\"let x of cube?.axes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n</form>\r\n<ng-template #info>\r\n <dl>\r\n </dl>\r\n</ng-template>\r\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] });
26
+ ExploreViewDesignComponent = __decorate([
27
+ BizDoc({ selector: 'explore-view-designer' })
28
+ ], ExploreViewDesignComponent);
29
+ export { ExploreViewDesignComponent };
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ExploreViewDesignComponent, decorators: [{
31
+ type: Component,
32
+ args: [{ template: "<form *ngIf=\"editMode; else info\" autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"cubes.length>1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Aggregate'|translate}}</mat-label>\r\n <mat-select formControlName=\"aggregate\" multiple>\r\n <mat-option *ngFor=\"let x of cube?.axes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n</form>\r\n<ng-template #info>\r\n <dl>\r\n </dl>\r\n</ng-template>\r\n" }]
33
+ }] });
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwbG9yZS12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvYWRtaW4vY29uZmlndXJhdGlvbi1kZXNpZ25lci9lbGVtZW50cy9leHBsb3JlLXZpZXcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9hZG1pbi9jb25maWd1cmF0aW9uLWRlc2lnbmVyL2VsZW1lbnRzL2V4cGxvcmUtdmlldy5jb21wb25lbnQuaHRt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WxlY3Q+XHJcbiAgPC9tYXQtZm9ybS1maWVsZD5cclxuICA8bWF0LWZvcm0tZmllbGQ+XHJcbiAgICA8bWF0LWxhYmVsPnt7J0FnZ3JlZ2F0ZSd8dHJhbnNsYXRlfX08L21hdC1sYWJlbD5cclxuICAgIDxtYXQtc2VsZWN0IGZvcm1Db250cm9sTmFtZT1cImFnZ3JlZ2F0ZVwiIG11bHRpcGxlPlxyXG4gICAgICA8bWF0LW9wdGlvbiAqbmdGb3I9XCJsZXQgeCBvZiBjdWJlPy5heGVzXCIgW3ZhbHVlXT1cIngubmFtZVwiPnt7eC50aXRsZSB8fCB4Lm5hbWV9fTwvbWF0LW9wdGlvbj5cclxuICAgIDwvbWF0LXNlbGVjdD5cclxuICA8L21hdC1mb3JtLWZpZWxkPlxyXG48L2Zvcm0+XHJcbjxuZy10ZW1wbGF0ZSAjaW5mbz5cclxuICA8ZGw+XHJcbiAgPC9kbD5cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
@@ -0,0 +1,30 @@
1
+ import { __decorate } from "tslib";
2
+ import { Component } from "@angular/core";
3
+ import { BizDoc } from "../../../core/decorators";
4
+ import { DesignerElementComponent } from "../designer.base";
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/forms";
7
+ import * as i2 from "../../../core/session.service";
8
+ import * as i3 from "@angular/common";
9
+ import * as i4 from "../privileges.component";
10
+ let FolderDesignComponent = class FolderDesignComponent extends DesignerElementComponent {
11
+ constructor(_fb, _session) {
12
+ super();
13
+ this._fb = _fb;
14
+ this._session = _session;
15
+ this.form = this._fb.group({});
16
+ }
17
+ ngOnInit() {
18
+ }
19
+ };
20
+ FolderDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: FolderDesignComponent, deps: [{ token: i1.FormBuilder }, { token: i2.SessionService }], target: i0.ɵɵFactoryTarget.Component });
21
+ FolderDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: FolderDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n </form>\r\n <bizdoc-privileges (change)=\"change.emit()\" [model]=\"model.privileges\"></bizdoc-privileges>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info>\r\n <div>\r\n </div>\r\n</ng-template>\r\n", dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i4.PrivilegesDesignComponent, selector: "bizdoc-privileges", inputs: ["model"], outputs: ["change"] }] });
22
+ FolderDesignComponent = __decorate([
23
+ BizDoc({ selector: 'folder-designer' })
24
+ ], FolderDesignComponent);
25
+ export { FolderDesignComponent };
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: FolderDesignComponent, decorators: [{
27
+ type: Component,
28
+ args: [{ template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n </form>\r\n <bizdoc-privileges (change)=\"change.emit()\" [model]=\"model.privileges\"></bizdoc-privileges>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info>\r\n <div>\r\n </div>\r\n</ng-template>\r\n" }]
29
+ }], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.SessionService }]; } });
30
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9sZGVyLmNvbXBvbmVudC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G9jb21wbGV0ZT1cIm9mZlwiIFtmb3JtR3JvdXBdPVwiZm9ybVwiPlxyXG4gIDwvZm9ybT5cclxuICAgIDxiaXpkb2MtcHJpdmlsZWdlcyAoY2hhbmdlKT1cImNoYW5nZS5lbWl0KClcIiBbbW9kZWxdPVwibW9kZWwucHJpdmlsZWdlc1wiPjwvYml6ZG9jLXByaXZpbGVnZXM+XHJcbjwvbmctY29udGFpbmVyPlxyXG48IS0tLS0+XHJcbjxuZy10ZW1wbGF0ZSAjaW5mbz5cclxuICA8ZGl2PlxyXG4gIDwvZGl2PlxyXG48L25nLXRlbXBsYXRlPlxyXG4iXX0=
@@ -0,0 +1,83 @@
1
+ import { __decorate } from "tslib";
2
+ import { Component } from "@angular/core";
3
+ import { Subject, takeUntil } from "rxjs";
4
+ import { BizDoc } from "../../../core/decorators";
5
+ import { DesignerElementComponent } from "../designer.base";
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@angular/forms";
8
+ import * as i2 from "../../../core/router";
9
+ import * as i3 from "../../system.service";
10
+ import * as i4 from "../../../core/session.service";
11
+ import * as i5 from "@angular/common";
12
+ import * as i6 from "@syncfusion/ej2-angular-charts";
13
+ import * as i7 from "@angular/material/button";
14
+ import * as i8 from "@angular/material/icon";
15
+ import * as i9 from "../../../core/popup/tooltip.directive";
16
+ import * as i10 from "../privileges.component";
17
+ import * as i11 from "../../../core/pipes/translate.pipe";
18
+ let FormDesignComponent = class FormDesignComponent extends DesignerElementComponent {
19
+ constructor(_fb, _router, _service, _session) {
20
+ super();
21
+ this._fb = _fb;
22
+ this._router = _router;
23
+ this._service = _service;
24
+ this._session = _session;
25
+ this.form = this._fb.group({
26
+ rules: this._fb.array([])
27
+ });
28
+ this.theme = this._session.theme.dark ? 'MaterialDark' : 'Material';
29
+ this.axisSettings = {
30
+ lineSettings: {},
31
+ };
32
+ this.markerSettings = {
33
+ visible: ['All'],
34
+ size: 1.5,
35
+ fill: this._session.getAccent(),
36
+ };
37
+ this.tooltipSettings = {
38
+ visible: true,
39
+ format: '${date}',
40
+ trackLineSettings: {
41
+ visible: true
42
+ }
43
+ };
44
+ this.primary = this._session.getPrimery();
45
+ this.enableRtl = this._session.inverse;
46
+ this._destroy = new Subject();
47
+ this._session.themeChange.pipe(takeUntil(this._destroy)).
48
+ subscribe(t => {
49
+ this.theme = t.dark ? 'MaterialDark' : 'Material';
50
+ this.primary = this._session.getPrimery();
51
+ });
52
+ }
53
+ ngOnInit() {
54
+ if (!this.model.privileges)
55
+ this.model.privileges = {};
56
+ this._service.range(this.model.name).subscribe(r => this.usage = r);
57
+ this.rules = Object.keys(this.model.rules).map(r => { });
58
+ }
59
+ _formrule(name, permission) {
60
+ return this._fb.group({
61
+ name: null,
62
+ title: null,
63
+ });
64
+ }
65
+ diagram() {
66
+ this._router.navigate(['admin/forms', this.model.name]);
67
+ }
68
+ ngOnDestroy() {
69
+ this._destroy.next();
70
+ this._destroy.complete();
71
+ }
72
+ };
73
+ FormDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: FormDesignComponent, deps: [{ token: i1.FormBuilder }, { token: i2.RouterImpl }, { token: i3.SystemService }, { token: i4.SessionService }], target: i0.ɵɵFactoryTarget.Component });
74
+ FormDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: FormDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n </form>\r\n <bizdoc-privileges (change)=\"change.emit()\" [model]=\"model.privileges\"></bizdoc-privileges>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info>\r\n <!--\r\n [theme]=\"theme\"\r\n [axisSettings]=\"axisSettings\"\r\n -->\r\n\r\n <ejs-sparkline *ngIf=\"usage\" width='250px' height='200px'\r\n type=\"Line\"\r\n [id]=\"model.name\"\r\n [fill]=\"primary\"\r\n [dataSource]=\"usage\"\r\n xName=\"date\"\r\n yName=\"count\"\r\n lineWidth=\"2\"\r\n valueType=\"DateTime\"\r\n [markerSettings]=\"markerSettings\"\r\n [tooltipSettings]=\"tooltipSettings\"\r\n [enableRtl]=\"enableRtl\">\r\n </ejs-sparkline>\r\n <button mat-icon-button (click)=\"diagram()\" [bizdocTooltip]=\"'Route'|translate\"><mat-icon>schema</mat-icon></button>\r\n</ng-template>\r\n", dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i6.SparklineComponent, selector: "ejs-sparkline", inputs: ["axisSettings", "border", "containerArea", "dataLabelSettings", "dataSource", "enablePersistence", "enableRtl", "endPointColor", "fill", "format", "height", "highPointColor", "lineWidth", "locale", "lowPointColor", "markerSettings", "negativePointColor", "opacity", "padding", "palette", "query", "rangeBandSettings", "rangePadding", "startPointColor", "theme", "tiePointColor", "tooltipSettings", "type", "useGroupingSeparator", "valueType", "width", "xName", "yName"], outputs: ["axisRendering", "dataLabelRendering", "load", "loaded", "markerRendering", "pointRegionMouseClick", "pointRegionMouseMove", "pointRendering", "resize", "seriesRendering", "sparklineMouseClick", "sparklineMouseMove", "tooltipInitialize"] }, { kind: "component", type: i7.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i8.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i9.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "component", type: i10.PrivilegesDesignComponent, selector: "bizdoc-privileges", inputs: ["model"], outputs: ["change"] }, { kind: "pipe", type: i11.TranslatePipe, name: "translate" }] });
75
+ FormDesignComponent = __decorate([
76
+ BizDoc({ selector: 'form-designer' })
77
+ ], FormDesignComponent);
78
+ export { FormDesignComponent };
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: FormDesignComponent, decorators: [{
80
+ type: Component,
81
+ args: [{ template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n </form>\r\n <bizdoc-privileges (change)=\"change.emit()\" [model]=\"model.privileges\"></bizdoc-privileges>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info>\r\n <!--\r\n [theme]=\"theme\"\r\n [axisSettings]=\"axisSettings\"\r\n -->\r\n\r\n <ejs-sparkline *ngIf=\"usage\" width='250px' height='200px'\r\n type=\"Line\"\r\n [id]=\"model.name\"\r\n [fill]=\"primary\"\r\n [dataSource]=\"usage\"\r\n xName=\"date\"\r\n yName=\"count\"\r\n lineWidth=\"2\"\r\n valueType=\"DateTime\"\r\n [markerSettings]=\"markerSettings\"\r\n [tooltipSettings]=\"tooltipSettings\"\r\n [enableRtl]=\"enableRtl\">\r\n </ejs-sparkline>\r\n <button mat-icon-button (click)=\"diagram()\" [bizdocTooltip]=\"'Route'|translate\"><mat-icon>schema</mat-icon></button>\r\n</ng-template>\r\n" }]
82
+ }], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.RouterImpl }, { type: i3.SystemService }, { type: i4.SessionService }]; } });
83
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJm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0aGVtZVwiXHJcbiAgICAgICAgICAgICAgICAgICBbYXhpc1NldHRpbmdzXT1cImF4aXNTZXR0aW5nc1wiXHJcbiAgICAgIC0tPlxyXG5cclxuICA8ZWpzLXNwYXJrbGluZSAqbmdJZj1cInVzYWdlXCIgd2lkdGg9JzI1MHB4JyBoZWlnaHQ9JzIwMHB4J1xyXG4gICAgICAgICAgICAgICAgIHR5cGU9XCJMaW5lXCJcclxuICAgICAgICAgICAgICAgICBbaWRdPVwibW9kZWwubmFtZVwiXHJcbiAgICAgICAgICAgICAgICAgW2ZpbGxdPVwicHJpbWFyeVwiXHJcbiAgICAgICAgICAgICAgICAgW2RhdGFTb3VyY2VdPVwidXNhZ2VcIlxyXG4gICAgICAgICAgICAgICAgIHhOYW1lPVwiZGF0ZVwiXHJcbiAgICAgICAgICAgICAgICAgeU5hbWU9XCJjb3VudFwiXHJcbiAgICAgICAgICAgICAgICAgbGluZVdpZHRoPVwiMlwiXHJcbiAgICAgICAgICAgICAgICAgdmFsdWVUeXBlPVwiRGF0ZVRpbWVcIlxyXG4gICAgICAgICAgICAgICAgIFttYXJrZXJTZXR0aW5nc109XCJtYXJrZXJTZXR0aW5nc1wiXHJcbiAgICAgICAgICAgICAgICAgW3Rvb2x0aXBTZXR0aW5nc109XCJ0b29sdGlwU2V0dGluZ3NcIlxyXG4gICAgICAgICAgICAgICAgIFtlbmFibGVSdGxdPVwiZW5hYmxlUnRsXCI+XHJcbiAgPC9lanMtc3BhcmtsaW5lPlxyXG4gIDxidXR0b24gbWF0LWljb24tYnV0dG9uIChjbGljayk9XCJkaWFncmFtKClcIiBbYml6ZG9jVG9vbHRpcF09XCInUm91dGUnfHRyYW5zbGF0ZVwiPjxtYXQtaWNvbj5zY2hlbWE8L21hdC1pY29uPjwvYnV0dG9uPlxyXG48L25nLXRlbXBsYXRlPlxyXG4iXX0=
@@ -0,0 +1,36 @@
1
+ import { __decorate } from "tslib";
2
+ import { Component } from "@angular/core";
3
+ import { BizDoc } from "../../../core/decorators";
4
+ import { DesignerElementComponent } from "../designer.base";
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/forms";
7
+ import * as i2 from "../../../core/router";
8
+ import * as i3 from "../../../core/session.service";
9
+ import * as i4 from "@angular/common";
10
+ import * as i5 from "../privileges.component";
11
+ let GuideDesignComponent = class GuideDesignComponent extends DesignerElementComponent {
12
+ constructor(_fb, _router, _session) {
13
+ super();
14
+ this._fb = _fb;
15
+ this._router = _router;
16
+ this._session = _session;
17
+ this.form = this._fb.group({
18
+ steps: this._fb.array([])
19
+ });
20
+ }
21
+ ngOnInit() {
22
+ if (!this.model.privileges)
23
+ this.model.privileges = {};
24
+ }
25
+ };
26
+ GuideDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: GuideDesignComponent, deps: [{ token: i1.FormBuilder }, { token: i2.RouterImpl }, { token: i3.SessionService }], target: i0.ɵɵFactoryTarget.Component });
27
+ GuideDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: GuideDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n </form>\r\n <bizdoc-privileges (change)=\"change.emit()\" [model]=\"model.privileges\"></bizdoc-privileges>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info>\r\n <div>\r\n </div>\r\n</ng-template>\r\n", dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i5.PrivilegesDesignComponent, selector: "bizdoc-privileges", inputs: ["model"], outputs: ["change"] }] });
28
+ GuideDesignComponent = __decorate([
29
+ BizDoc({ selector: 'guide-designer' })
30
+ ], GuideDesignComponent);
31
+ export { GuideDesignComponent };
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: GuideDesignComponent, decorators: [{
33
+ type: Component,
34
+ args: [{ template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n </form>\r\n <bizdoc-privileges (change)=\"change.emit()\" [model]=\"model.privileges\"></bizdoc-privileges>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info>\r\n <div>\r\n </div>\r\n</ng-template>\r\n" }]
35
+ }], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.RouterImpl }, { type: i3.SessionService }]; } });
36
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3VpZGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9hZG1pbi9jb25maWd1cmF0aW9uLWRlc2lnbmVyL2VsZW1lbnRzL2d1aWRlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvYWRtaW4vY29uZmlndXJhdGlvbi1kZXNpZ25lci9lbGVtZW50cy9ndWlkZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUVsRCxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFHbEQsT0FBTyxFQUFFLH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m9cIj5cclxuICA8Zm9ybSBhdXRvY29tcGxldGU9XCJvZmZcIiBbZm9ybUdyb3VwXT1cImZvcm1cIj5cclxuICA8L2Zvcm0+XHJcbiAgPGJpemRvYy1wcml2aWxlZ2VzIChjaGFuZ2UpPVwiY2hhbmdlLmVtaXQoKVwiIFttb2RlbF09XCJtb2RlbC5wcml2aWxlZ2VzXCI+PC9iaXpkb2MtcHJpdmlsZWdlcz5cclxuPC9uZy1jb250YWluZXI+XHJcbjwhLS0tLT5cclxuPG5nLXRlbXBsYXRlICNpbmZvPlxyXG4gIDxkaXY+XHJcbiAgPC9kaXY+XHJcbjwvbmctdGVtcGxhdGU+XHJcbiJdfQ==
@@ -0,0 +1,37 @@
1
+ import { __decorate } from "tslib";
2
+ import { Component } from "@angular/core";
3
+ import { Validators } from "@angular/forms";
4
+ import { BizDoc } from "../../../core/decorators";
5
+ import { DesignerCubeElementComponent } from "../designer.base";
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@angular/common";
8
+ import * as i2 from "@angular/forms";
9
+ import * as i3 from "@angular/material/core";
10
+ import * as i4 from "@angular/material/form-field";
11
+ import * as i5 from "@angular/material/select";
12
+ import * as i6 from "../../../core/pipes/translate.pipe";
13
+ let MatrixViewDesignComponent = class MatrixViewDesignComponent extends DesignerCubeElementComponent {
14
+ constructor() {
15
+ super(...arguments);
16
+ this.form = this._fb.group({
17
+ cube: null,
18
+ xAxis: this._fb.control(null, Validators.required),
19
+ series: this._fb.control(null, Validators.required),
20
+ sum: this._fb.array([]),
21
+ indices: null,
22
+ aggregate: null,
23
+ filters: null
24
+ });
25
+ }
26
+ };
27
+ MatrixViewDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: MatrixViewDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
28
+ MatrixViewDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: MatrixViewDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<form autocomplete=\"off\" *ngIf=\"editMode\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"cubes.length>1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option>{{'Default'|translate}}</mat-option>\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'XAxis'|translate}}</mat-label>\r\n <mat-select formControlName=\"xAxis\" required (selectionChange)=\"xAxisSelected($event)\">\r\n <mat-option *ngFor=\"let x of cube?.axes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Series'|translate}}</mat-label>\r\n <mat-select formControlName=\"series\" required (selectionChange)=\"seriesSelected($event)\">\r\n <mat-option *ngFor=\"let x of secondaryAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Filters'|translate}}</mat-label>\r\n <mat-select formControlName=\"filters\" multiple (selectionChange)=\"forthSelected($event)\">\r\n <mat-option *ngFor=\"let x of thirdAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field *ngIf=\"cube?.indices?.length\">\r\n <mat-label>{{'Indices'|translate}}</mat-label>\r\n <mat-select formControlName=\"indices\" multiple>\r\n <mat-option *ngFor=\"let x of cube?.indices\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Aggregate'|translate}}</mat-label>\r\n <mat-select formControlName=\"aggregate\" multiple [disabled]=\"!forthAxes || !forthAxes.length\">\r\n <mat-option *ngFor=\"let x of forthAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n <mat-hint></mat-hint>\r\n </mat-form-field>\r\n</form>\r\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] });
29
+ MatrixViewDesignComponent = __decorate([
30
+ BizDoc({ selector: 'matrix-view-designer' })
31
+ ], MatrixViewDesignComponent);
32
+ export { MatrixViewDesignComponent };
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: MatrixViewDesignComponent, decorators: [{
34
+ type: Component,
35
+ args: [{ template: "<form autocomplete=\"off\" *ngIf=\"editMode\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"cubes.length>1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option>{{'Default'|translate}}</mat-option>\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'XAxis'|translate}}</mat-label>\r\n <mat-select formControlName=\"xAxis\" required (selectionChange)=\"xAxisSelected($event)\">\r\n <mat-option *ngFor=\"let x of cube?.axes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Series'|translate}}</mat-label>\r\n <mat-select formControlName=\"series\" required (selectionChange)=\"seriesSelected($event)\">\r\n <mat-option *ngFor=\"let x of secondaryAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Filters'|translate}}</mat-label>\r\n <mat-select formControlName=\"filters\" multiple (selectionChange)=\"forthSelected($event)\">\r\n <mat-option *ngFor=\"let x of thirdAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field *ngIf=\"cube?.indices?.length\">\r\n <mat-label>{{'Indices'|translate}}</mat-label>\r\n <mat-select formControlName=\"indices\" multiple>\r\n <mat-option *ngFor=\"let x of cube?.indices\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Aggregate'|translate}}</mat-label>\r\n <mat-select formControlName=\"aggregate\" multiple [disabled]=\"!forthAxes || !forthAxes.length\">\r\n <mat-option *ngFor=\"let x of forthAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n <mat-hint></mat-hint>\r\n </mat-form-field>\r\n</form>\r\n" }]
36
+ }] });
37
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWF0cml4LXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9hZG1pbi9jb25maWd1cmF0aW9uLWRlc2lnbmVyL2VsZW1lbnRzL21hdHJpeC12aWV3LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvYWRtaW4vY29uZmlndXJhdGlvbi1kZXNpZ25lci9lbGVtZW50cy9tYXRyaXgtdmlldy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUNsRCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDNUMsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBRWxELE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLGtCQUFrQixDQUFDOzs7Ozs7OztJQUluRCx5QkFBeUIsU0FBekIseUJBQTBCLFNBQVEsNEJBQWlEOzs7UUFDckYsU0FBSSxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsS0FBSyxDQUFDO1lBQzdCLElBQUksRUFBRSxJQUFJO1lBQ1YsS0FBSyxFQUFFLElBQUksQ0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDLElBQUksRUFBRSxVQUFVLENBQUMs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cclxuICAgICAgPG1hdC1vcHRpb24gKm5nRm9yPVwibGV0IHggb2YgZm9ydGhBeGVzXCIgW3ZhbHVlXT1cIngubmFtZVwiPnt7eC50aXRsZSB8fCB4Lm5hbWV9fTwvbWF0LW9wdGlvbj5cclxuICAgIDwvbWF0LXNlbGVjdD5cclxuICAgIDxtYXQtaGludD48L21hdC1oaW50PlxyXG4gIDwvbWF0LWZvcm0tZmllbGQ+XHJcbjwvZm9ybT5cclxuIl19
@@ -0,0 +1,39 @@
1
+ import { __decorate } from "tslib";
2
+ import { Component } from "@angular/core";
3
+ import { Validators } from "@angular/forms";
4
+ import { BizDoc } from "../../../core/decorators";
5
+ import { DesignerCubeElementComponent } from "../designer.base";
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@angular/common";
8
+ import * as i2 from "@angular/forms";
9
+ import * as i3 from "@angular/material/core";
10
+ import * as i4 from "@angular/material/form-field";
11
+ import * as i5 from "@angular/material/select";
12
+ import * as i6 from "../../../cube/parallel/parallel.component";
13
+ import * as i7 from "../../../core/pipes/translate.pipe";
14
+ let ParallelViewDesignComponent = class ParallelViewDesignComponent extends DesignerCubeElementComponent {
15
+ constructor() {
16
+ super(...arguments);
17
+ this.form = this._fb.group({
18
+ cube: null,
19
+ xAxis: this._fb.control(null, Validators.required),
20
+ series: this._fb.control(null, Validators.required),
21
+ indices: null,
22
+ filters: this._fb.group({}),
23
+ chartType: null,
24
+ aggregate: null,
25
+ scope: null
26
+ });
27
+ }
28
+ };
29
+ ParallelViewDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ParallelViewDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
30
+ ParallelViewDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: ParallelViewDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form *ngIf=\"cube; else none\" autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"cubes.length>1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'XAxis'|translate}}</mat-label>\r\n <mat-select formControlName=\"xAxis\" required (selectionChange)=\"xAxisSelected($event)\">\r\n <mat-option *ngFor=\"let x of cube.axes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Series'|translate}}</mat-label>\r\n <mat-select formControlName=\"series\" required (selectionChange)=\"seriesSelected($event)\">\r\n <mat-option *ngFor=\"let x of secondaryAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'ChartType'|translate}}</mat-label>\r\n <mat-select formControlName=\"chartType\">\r\n <mat-option value=\"Pie\">{{'Pie'|translate}}</mat-option>\r\n <mat-option value=\"Column\">{{'Column'|translate}}</mat-option>\r\n <mat-option value=\"Line\">{{'Line'|translate}}</mat-option>\r\n <mat-option value=\"Area\">{{'Area'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field *ngIf=\"cube.indices?.length\">\r\n <mat-label>{{'Indices'|translate}}</mat-label>\r\n <mat-select formControlName=\"indices\" multiple>\r\n <mat-option *ngFor=\"let x of cube.indices\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Aggregate'|translate}}</mat-label>\r\n <mat-select formControlName=\"aggregate\" multiple [disabled]=\"!thirdAxes || !thirdAxes.length\">\r\n <mat-option *ngFor=\"let x of thirdAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n <div>\r\n <bizdoc-cube-parallel *ngIf=\"args.xAxis\" [cube]=\"args.cube\"\r\n [xAxis]=\"args.xAxis\"\r\n [series]=\"args.series\"\r\n [indices]=\"args.indices\"\r\n [filters]=\"args.filters\"\r\n [chartType]=\"args.chartType\"\r\n [scope]=\"args.scope\"\r\n [size]=\"250\"></bizdoc-cube-parallel>\r\n </div>\r\n</ng-container>\r\n<ng-template #info></ng-template>\r\n<ng-template #none></ng-template>\r\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i6.CubeParallelComponent, selector: "bizdoc-cube-parallel", inputs: ["filters", "xAxis", "series", "indices", "cube", "size", "chartType", "scope", "palettes"], outputs: ["explore"] }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] });
31
+ ParallelViewDesignComponent = __decorate([
32
+ BizDoc({ selector: 'parallel-view-designer' })
33
+ ], ParallelViewDesignComponent);
34
+ export { ParallelViewDesignComponent };
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ParallelViewDesignComponent, decorators: [{
36
+ type: Component,
37
+ args: [{ template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form *ngIf=\"cube; else none\" autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"cubes.length>1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'XAxis'|translate}}</mat-label>\r\n <mat-select formControlName=\"xAxis\" required (selectionChange)=\"xAxisSelected($event)\">\r\n <mat-option *ngFor=\"let x of cube.axes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Series'|translate}}</mat-label>\r\n <mat-select formControlName=\"series\" required (selectionChange)=\"seriesSelected($event)\">\r\n <mat-option *ngFor=\"let x of secondaryAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'ChartType'|translate}}</mat-label>\r\n <mat-select formControlName=\"chartType\">\r\n <mat-option value=\"Pie\">{{'Pie'|translate}}</mat-option>\r\n <mat-option value=\"Column\">{{'Column'|translate}}</mat-option>\r\n <mat-option value=\"Line\">{{'Line'|translate}}</mat-option>\r\n <mat-option value=\"Area\">{{'Area'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field *ngIf=\"cube.indices?.length\">\r\n <mat-label>{{'Indices'|translate}}</mat-label>\r\n <mat-select formControlName=\"indices\" multiple>\r\n <mat-option *ngFor=\"let x of cube.indices\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Aggregate'|translate}}</mat-label>\r\n <mat-select formControlName=\"aggregate\" multiple [disabled]=\"!thirdAxes || !thirdAxes.length\">\r\n <mat-option *ngFor=\"let x of thirdAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n <div>\r\n <bizdoc-cube-parallel *ngIf=\"args.xAxis\" [cube]=\"args.cube\"\r\n [xAxis]=\"args.xAxis\"\r\n [series]=\"args.series\"\r\n [indices]=\"args.indices\"\r\n [filters]=\"args.filters\"\r\n [chartType]=\"args.chartType\"\r\n [scope]=\"args.scope\"\r\n [size]=\"250\"></bizdoc-cube-parallel>\r\n </div>\r\n</ng-container>\r\n<ng-template #info></ng-template>\r\n<ng-template #none></ng-template>\r\n" }]
38
+ }] });
39
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyYWxsZWwtdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvcGFyYWxsZWwtdmlldy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZG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Zm9ybS1maWVsZD5cclxuICA8L2Zvcm0+XHJcbiAgPGRpdj5cclxuICAgIDxiaXpkb2MtY3ViZS1wYXJhbGxlbCAqbmdJZj1cImFyZ3MueEF4aXNcIiBbY3ViZV09XCJhcmdzLmN1YmVcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIFt4QXhpc109XCJhcmdzLnhBeGlzXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICBbc2VyaWVzXT1cImFyZ3Muc2VyaWVzXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICBbaW5kaWNlc109XCJhcmdzLmluZGljZXNcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIFtmaWx0ZXJzXT1cImFyZ3MuZmlsdGVyc1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgW2NoYXJ0VHlwZV09XCJhcmdzLmNoYXJ0VHlwZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgW3Njb3BlXT1cImFyZ3Muc2NvcGVcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIFtzaXplXT1cIjI1MFwiPjwvYml6ZG9jLWN1YmUtcGFyYWxsZWw+XHJcbiAgPC9kaXY+XHJcbjwvbmctY29udGFpbmVyPlxyXG48bmctdGVtcGxhdGUgI2luZm8+PC9uZy10ZW1wbGF0ZT5cclxuPG5nLXRlbXBsYXRlICNub25lPjwvbmctdGVtcGxhdGU+XHJcbiJdfQ==
@@ -0,0 +1,45 @@
1
+ import { __decorate } from "tslib";
2
+ import { Component } from "@angular/core";
3
+ import { BizDoc } from "../../../core/decorators";
4
+ import { DesignerElementComponent } from "../designer.base";
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/forms";
7
+ import * as i2 from "../../../core/session.service";
8
+ import * as i3 from "@angular/common";
9
+ import * as i4 from "@angular/material/core";
10
+ import * as i5 from "@angular/material/form-field";
11
+ import * as i6 from "@angular/material/select";
12
+ import * as i7 from "../../../core/pipes/translate.pipe";
13
+ let PerformanceWidgetDesignComponent = class PerformanceWidgetDesignComponent extends DesignerElementComponent {
14
+ constructor(_fb, _session) {
15
+ super();
16
+ this._fb = _fb;
17
+ this._session = _session;
18
+ this.form = this._fb.group({
19
+ cube: null,
20
+ series: null,
21
+ filters: this._fb.group({}),
22
+ scope: null
23
+ });
24
+ this.cubes = this._session.profile.cubes;
25
+ }
26
+ ngOnInit() {
27
+ this.selectedCube = !this.model.options.cube ? this._session.profile.cubes[0] :
28
+ this._session.profile.cubes.find(c => c.name === this.model.options.cube);
29
+ }
30
+ cubeSelected(evt) {
31
+ this.selectedCube = evt.value;
32
+ this.form.get('cube').setValue(evt.value.name);
33
+ }
34
+ };
35
+ PerformanceWidgetDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: PerformanceWidgetDesignComponent, deps: [{ token: i1.FormBuilder }, { token: i2.SessionService }], target: i0.ɵɵFactoryTarget.Component });
36
+ PerformanceWidgetDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: PerformanceWidgetDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"cubes.length>1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Series'|translate}}</mat-label>\r\n <mat-select formControlName=\"series\" required>\r\n <mat-option *ngFor=\"let x of cube?.axes\" [value]=\"x.name\">{{x.title||x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n</ng-container>\r\n<ng-template #info></ng-template>\r\n", dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "component", type: i6.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] });
37
+ PerformanceWidgetDesignComponent = __decorate([
38
+ BizDoc({ selector: 'performance-widget-designer' })
39
+ ], PerformanceWidgetDesignComponent);
40
+ export { PerformanceWidgetDesignComponent };
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: PerformanceWidgetDesignComponent, decorators: [{
42
+ type: Component,
43
+ args: [{ template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"cubes.length>1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Series'|translate}}</mat-label>\r\n <mat-select formControlName=\"series\" required>\r\n <mat-option *ngFor=\"let x of cube?.axes\" [value]=\"x.name\">{{x.title||x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n</ng-container>\r\n<ng-template #info></ng-template>\r\n" }]
44
+ }], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.SessionService }]; } });
45
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVyZm9ybWFuY2Utd2lkZ2V0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvYWRtaW4vY29uZmlndXJhdGlvbi1kZXNpZ25lci9lbGVtZW50cy9wZXJmb3JtYW5jZS13aWRnZXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9hZG1pbi9jb25maWd1cmF0aW9uLWRlc2lnbmVyL2VsZW1lbnRzL3BlcmZvcm1hbmNlLXdpZGdldC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUlsRCxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFHbEQsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sa0JBQWtCLENBQUM7Ozs7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dGlvbiAqbmdGb3I9XCJsZXQgeCBvZiBjdWJlPy5heGVzXCIgW3ZhbHVlXT1cIngubmFtZVwiPnt7eC50aXRsZXx8eC5uYW1lfX08L21hdC1vcHRpb24+XHJcbiAgICAgIDwvbWF0LXNlbGVjdD5cclxuICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcbiAgPC9mb3JtPlxyXG48L25nLWNvbnRhaW5lcj5cclxuPG5nLXRlbXBsYXRlICNpbmZvPjwvbmctdGVtcGxhdGU+XHJcbiJdfQ==
@@ -0,0 +1,39 @@
1
+ import { __decorate } from "tslib";
2
+ import { Component } from "@angular/core";
3
+ import { Validators } from "@angular/forms";
4
+ import { BizDoc } from "../../../core/decorators";
5
+ import { DesignerCubeElementComponent } from "../designer.base";
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@angular/common";
8
+ import * as i2 from "@angular/forms";
9
+ import * as i3 from "@angular/material/core";
10
+ import * as i4 from "@angular/material/form-field";
11
+ import * as i5 from "@angular/material/select";
12
+ import * as i6 from "../../../core/pipes/translate.pipe";
13
+ let PivotViewDesignComponent = class PivotViewDesignComponent extends DesignerCubeElementComponent {
14
+ constructor() {
15
+ super(...arguments);
16
+ this.form = this._fb.group({
17
+ cube: null,
18
+ xAxis: this._fb.control(null, Validators.required),
19
+ series: null,
20
+ indices: null,
21
+ aggregate: null,
22
+ filters: this._fb.group({}),
23
+ chartType: null,
24
+ indicesChartType: null,
25
+ scope: null
26
+ });
27
+ }
28
+ };
29
+ PivotViewDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: PivotViewDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
30
+ PivotViewDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: PivotViewDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"cubes.length > 1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'XAxis'|translate}}</mat-label>\r\n <mat-select formControlName=\"xAxis\" required multiple (selectionChange)=\"xAxisSelected($event)\">\r\n <mat-option *ngFor=\"let x of cube.axes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Series'|translate}}</mat-label>\r\n <mat-select formControlName=\"series\" required multiple (selectionChange)=\"seriesSelected($event)\">\r\n <mat-option *ngFor=\"let x of secondaryAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Indices'|translate}}</mat-label>\r\n <mat-select formControlName=\"indices\" multiple>\r\n <mat-option *ngFor=\"let x of cube.indices\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Aggregate'|translate}}</mat-label>\r\n <mat-select formControlName=\"aggregate\" multiple [disabled]=\"!thirdAxes || !thirdAxes.length\">\r\n <mat-option *ngFor=\"let x of thirdAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n</ng-container>\r\n<ng-template #info></ng-template>\r\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] });
31
+ PivotViewDesignComponent = __decorate([
32
+ BizDoc({ selector: 'pivot-view-designer' })
33
+ ], PivotViewDesignComponent);
34
+ export { PivotViewDesignComponent };
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: PivotViewDesignComponent, decorators: [{
36
+ type: Component,
37
+ args: [{ template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"cubes.length > 1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'XAxis'|translate}}</mat-label>\r\n <mat-select formControlName=\"xAxis\" required multiple (selectionChange)=\"xAxisSelected($event)\">\r\n <mat-option *ngFor=\"let x of cube.axes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Series'|translate}}</mat-label>\r\n <mat-select formControlName=\"series\" required multiple (selectionChange)=\"seriesSelected($event)\">\r\n <mat-option *ngFor=\"let x of secondaryAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Indices'|translate}}</mat-label>\r\n <mat-select formControlName=\"indices\" multiple>\r\n <mat-option *ngFor=\"let x of cube.indices\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Aggregate'|translate}}</mat-label>\r\n <mat-select formControlName=\"aggregate\" multiple [disabled]=\"!thirdAxes || !thirdAxes.length\">\r\n <mat-option *ngFor=\"let x of thirdAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n</ng-container>\r\n<ng-template #info></ng-template>\r\n" }]
38
+ }] });
39
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGl2b3Qtdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvcGl2b3Qtdmlldy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVz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