@bizdoc/core 3.2.10 → 3.3.2

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 (448) hide show
  1. package/assets/themes/brown.min.css +1 -1
  2. package/assets/themes/dark.min.css +3 -3
  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 +8 -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 +2068 -1866
  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/trace/trace.base.d.ts +1 -1
  15. package/lib/core/base.d.ts +5 -0
  16. package/lib/core/fields/options.base.d.ts +2 -2
  17. package/lib/core/inputs/combination-picker-body.d.ts +0 -2
  18. package/lib/core/inputs/combination-picker.d.ts +1 -1
  19. package/lib/core/session.service.d.ts +2 -2
  20. package/lib/core/tagging/tagging.component-base.d.ts +1 -1
  21. package/lib/core/translate.service.d.ts +2 -2
  22. package/lib/cube/matrix/matrix.base.d.ts +1 -1
  23. package/lib/cube/view-base.d.ts +1 -1
  24. package/lib/dashboard/cube/cube-analysis.base.d.ts +1 -1
  25. package/lib/home/home-base.component.d.ts +1 -1
  26. package/lib/home/home.desktop.component.d.ts +5 -3
  27. package/lib/notifications/types/notification-base.d.ts +1 -1
  28. package/lib/reports/cube/usage-base.d.ts +1 -1
  29. package/lib/views/cube/cube-base.d.ts +1 -1
  30. package/package.json +31 -33
  31. package/esm2022/bizdoc-core.mjs +0 -5
  32. package/esm2022/lib/admin/admin-dismiss.service.mjs +0 -28
  33. package/esm2022/lib/admin/admin-menu.component.mjs +0 -24
  34. package/esm2022/lib/admin/architecture/cube-axes-filter.component.mjs +0 -93
  35. package/esm2022/lib/admin/architecture/declarations.mjs +0 -79
  36. package/esm2022/lib/admin/architecture/designer-element.component.mjs +0 -270
  37. package/esm2022/lib/admin/architecture/designer-privileges.component.mjs +0 -96
  38. package/esm2022/lib/admin/architecture/designer.base.mjs +0 -136
  39. package/esm2022/lib/admin/architecture/designer.component.mjs +0 -396
  40. package/esm2022/lib/admin/architecture/elements/action.component.mjs +0 -43
  41. package/esm2022/lib/admin/architecture/elements/analysis-view.component.mjs +0 -50
  42. package/esm2022/lib/admin/architecture/elements/analysis-widget.component.mjs +0 -49
  43. package/esm2022/lib/admin/architecture/elements/anomaly-rule.component.mjs +0 -29
  44. package/esm2022/lib/admin/architecture/elements/attribute.component.mjs +0 -35
  45. package/esm2022/lib/admin/architecture/elements/box-form.component.mjs +0 -49
  46. package/esm2022/lib/admin/architecture/elements/configuration-datasource.component.mjs +0 -66
  47. package/esm2022/lib/admin/architecture/elements/control.component.mjs +0 -21
  48. package/esm2022/lib/admin/architecture/elements/cube-index-utility.component.mjs +0 -32
  49. package/esm2022/lib/admin/architecture/elements/cube-view.component.mjs +0 -34
  50. package/esm2022/lib/admin/architecture/elements/cube.component.mjs +0 -254
  51. package/esm2022/lib/admin/architecture/elements/document-state-widget.component.mjs +0 -40
  52. package/esm2022/lib/admin/architecture/elements/documents-report.component.mjs +0 -34
  53. package/esm2022/lib/admin/architecture/elements/documents-widget.component.mjs +0 -40
  54. package/esm2022/lib/admin/architecture/elements/explore-view.component.mjs +0 -35
  55. package/esm2022/lib/admin/architecture/elements/folder.component.mjs +0 -56
  56. package/esm2022/lib/admin/architecture/elements/form-invite.dialog.mjs +0 -126
  57. package/esm2022/lib/admin/architecture/elements/form.component.mjs +0 -156
  58. package/esm2022/lib/admin/architecture/elements/guide.component.mjs +0 -53
  59. package/esm2022/lib/admin/architecture/elements/job.component.mjs +0 -57
  60. package/esm2022/lib/admin/architecture/elements/matrix-view.component.mjs +0 -98
  61. package/esm2022/lib/admin/architecture/elements/node.component.mjs +0 -18
  62. package/esm2022/lib/admin/architecture/elements/parallel-view.component.mjs +0 -38
  63. package/esm2022/lib/admin/architecture/elements/performance-report.component.mjs +0 -32
  64. package/esm2022/lib/admin/architecture/elements/performance-widget.component.mjs +0 -34
  65. package/esm2022/lib/admin/architecture/elements/pivot-view.component.mjs +0 -40
  66. package/esm2022/lib/admin/architecture/elements/policy.component.mjs +0 -18
  67. package/esm2022/lib/admin/architecture/elements/report.component.mjs +0 -29
  68. package/esm2022/lib/admin/architecture/elements/return-to-role-action.component.mjs +0 -33
  69. package/esm2022/lib/admin/architecture/elements/role.component.mjs +0 -43
  70. package/esm2022/lib/admin/architecture/elements/rule.component.mjs +0 -18
  71. package/esm2022/lib/admin/architecture/elements/source.component.mjs +0 -25
  72. package/esm2022/lib/admin/architecture/elements/state.component.mjs +0 -44
  73. package/esm2022/lib/admin/architecture/elements/sum-view.component.mjs +0 -38
  74. package/esm2022/lib/admin/architecture/elements/tasks-report.component.mjs +0 -39
  75. package/esm2022/lib/admin/architecture/elements/type.component.mjs +0 -83
  76. package/esm2022/lib/admin/architecture/elements/usage-report.component.mjs +0 -64
  77. package/esm2022/lib/admin/architecture/elements/utility.component.mjs +0 -18
  78. package/esm2022/lib/admin/architecture/elements/view.component.mjs +0 -18
  79. package/esm2022/lib/admin/architecture/elements/widget.component.mjs +0 -29
  80. package/esm2022/lib/admin/architecture/icon-picker.component.mjs +0 -173
  81. package/esm2022/lib/admin/core/ace.input.mjs +0 -144
  82. package/esm2022/lib/admin/core/color-picker.input.mjs +0 -183
  83. package/esm2022/lib/admin/core/localized-string.component.mjs +0 -129
  84. package/esm2022/lib/admin/core/search.input.mjs +0 -52
  85. package/esm2022/lib/admin/diff/configuration-diff.component.mjs +0 -573
  86. package/esm2022/lib/admin/document-trace/document-trace.component.mjs +0 -537
  87. package/esm2022/lib/admin/document-trace/reassign.dialog.mjs +0 -39
  88. package/esm2022/lib/admin/document-trace/timeline.mjs +0 -2
  89. package/esm2022/lib/admin/document-trace/trace-element.component.mjs +0 -125
  90. package/esm2022/lib/admin/form/designer/box-designer.component.mjs +0 -270
  91. package/esm2022/lib/admin/form/designer/declarations.mjs +0 -2
  92. package/esm2022/lib/admin/form/designer/design-control.component.mjs +0 -41
  93. package/esm2022/lib/admin/form/designer/properties.component.mjs +0 -71
  94. package/esm2022/lib/admin/form/designer/section.component.mjs +0 -53
  95. package/esm2022/lib/admin/form/designer/settings.component.mjs +0 -51
  96. package/esm2022/lib/admin/form/form.resolve.service.mjs +0 -18
  97. package/esm2022/lib/admin/form/workflow/node-ref.mjs +0 -8
  98. package/esm2022/lib/admin/form/workflow/node.component.mjs +0 -156
  99. package/esm2022/lib/admin/form/workflow/role-node.component.mjs +0 -88
  100. package/esm2022/lib/admin/form/workflow/workflow.component.mjs +0 -586
  101. package/esm2022/lib/admin/indices/manage-cube-index.component.mjs +0 -160
  102. package/esm2022/lib/admin/patterns/patterns.component.mjs +0 -180
  103. package/esm2022/lib/admin/permissions/permissions.component.mjs +0 -98
  104. package/esm2022/lib/admin/positions/positions-popup.component.mjs +0 -75
  105. package/esm2022/lib/admin/positions/positions.component.mjs +0 -463
  106. package/esm2022/lib/admin/profiler/outofoffice.component.mjs +0 -156
  107. package/esm2022/lib/admin/profiler/profiler.component.mjs +0 -284
  108. package/esm2022/lib/admin/system.service.mjs +0 -127
  109. package/esm2022/lib/admin/utility-ref.mjs +0 -39
  110. package/esm2022/lib/admin/utility-wrapper.component.mjs +0 -53
  111. package/esm2022/lib/admin/utility.pane.component.mjs +0 -48
  112. package/esm2022/lib/app.component.mjs +0 -73
  113. package/esm2022/lib/bizdoc.module.mjs +0 -110
  114. package/esm2022/lib/browse/browse-items.component.mjs +0 -496
  115. package/esm2022/lib/browse/browse.mobile.component.mjs +0 -102
  116. package/esm2022/lib/browse/browse.pane.component.mjs +0 -169
  117. package/esm2022/lib/browse/expanded-item/expanded-item.component.mjs +0 -316
  118. package/esm2022/lib/browse/filter/filter.component.mjs +0 -140
  119. package/esm2022/lib/browse/folders-menu.component.mjs +0 -49
  120. package/esm2022/lib/chat/chat-info.mjs +0 -77
  121. package/esm2022/lib/chat/chat.mobile.component.mjs +0 -24
  122. package/esm2022/lib/chat/chat.service.mjs +0 -122
  123. package/esm2022/lib/chat/contacts.component.mjs +0 -107
  124. package/esm2022/lib/chat/contacts.pane.component.mjs +0 -26
  125. package/esm2022/lib/chat/conversation.component.mjs +0 -196
  126. package/esm2022/lib/chat/conversation.pane.component.mjs +0 -46
  127. package/esm2022/lib/compose/action/action-picker.component.mjs +0 -82
  128. package/esm2022/lib/compose/action/action-ref.mjs +0 -19
  129. package/esm2022/lib/compose/action/action.base.mjs +0 -50
  130. package/esm2022/lib/compose/action/action.dialog.mjs +0 -62
  131. package/esm2022/lib/compose/action/action.pane.dialog.exp.mjs +0 -68
  132. package/esm2022/lib/compose/action/assign-action.component.mjs +0 -77
  133. package/esm2022/lib/compose/action/moveto-action.component.mjs +0 -90
  134. package/esm2022/lib/compose/action/return-action.component.mjs +0 -51
  135. package/esm2022/lib/compose/attachments/attachments.component.mjs +0 -130
  136. package/esm2022/lib/compose/attachments/preview/attachment-preview.component.mjs +0 -157
  137. package/esm2022/lib/compose/attachments/progress-button.directive.mjs +0 -25
  138. package/esm2022/lib/compose/box/box.component.mjs +0 -44
  139. package/esm2022/lib/compose/box/control.component.mjs +0 -50
  140. package/esm2022/lib/compose/box/row.component.mjs +0 -41
  141. package/esm2022/lib/compose/can-deactivate-changes.service.mjs +0 -27
  142. package/esm2022/lib/compose/comments/comment.component.mjs +0 -188
  143. package/esm2022/lib/compose/comments/comments.component.mjs +0 -226
  144. package/esm2022/lib/compose/comments/comments.pane.component.mjs +0 -40
  145. package/esm2022/lib/compose/comments/edit-comment.component.mjs +0 -32
  146. package/esm2022/lib/compose/comments/edits.component.mjs +0 -30
  147. package/esm2022/lib/compose/comments/quick-comment.component.exp.mjs +0 -64
  148. package/esm2022/lib/compose/comments/votes.component.mjs +0 -42
  149. package/esm2022/lib/compose/compose-resolve.service.mjs +0 -34
  150. package/esm2022/lib/compose/compose.mobile.component.mjs +0 -114
  151. package/esm2022/lib/compose/compose.pane.component.mjs +0 -202
  152. package/esm2022/lib/compose/copy/copy.dialog.mjs +0 -45
  153. package/esm2022/lib/compose/dismiss.service.mjs +0 -25
  154. package/esm2022/lib/compose/document-resolve.service.mjs +0 -33
  155. package/esm2022/lib/compose/document-resolver.service.mjs +0 -17
  156. package/esm2022/lib/compose/document.component.mjs +0 -48
  157. package/esm2022/lib/compose/document.mobile.component.mjs +0 -23
  158. package/esm2022/lib/compose/document.pane.component.mjs +0 -27
  159. package/esm2022/lib/compose/events/events.component.mjs +0 -29
  160. package/esm2022/lib/compose/form-ref.mjs +0 -43
  161. package/esm2022/lib/compose/form-selector/form-selector.sheet.mjs +0 -57
  162. package/esm2022/lib/compose/form.component.mjs +0 -512
  163. package/esm2022/lib/compose/new-menu.component.mjs +0 -94
  164. package/esm2022/lib/compose/overlay.component.exp.mjs +0 -71
  165. package/esm2022/lib/compose/privilage.directive.mjs +0 -64
  166. package/esm2022/lib/compose/recipient-resolver.service.mjs +0 -18
  167. package/esm2022/lib/compose/state.component.mjs +0 -37
  168. package/esm2022/lib/compose/tag/tags.component.mjs +0 -89
  169. package/esm2022/lib/compose/trace/flow.component.mjs +0 -687
  170. package/esm2022/lib/compose/trace/people.component.mjs +0 -39
  171. package/esm2022/lib/compose/trace/trace.base.mjs +0 -79
  172. package/esm2022/lib/compose/trace/trace.component.mjs +0 -353
  173. package/esm2022/lib/compose/trace/trace.pane.component.mjs +0 -48
  174. package/esm2022/lib/compose/version-compare/version-compare.component.mjs +0 -58
  175. package/esm2022/lib/compose/version-compare/version-compare.directive.mjs +0 -343
  176. package/esm2022/lib/compose/version-compare/version.pane.component.mjs +0 -53
  177. package/esm2022/lib/core/account.service.mjs +0 -38
  178. package/esm2022/lib/core/animated-icon/animated-icon.directive.mjs +0 -17
  179. package/esm2022/lib/core/animations.mjs +0 -168
  180. package/esm2022/lib/core/authentication.mjs +0 -4
  181. package/esm2022/lib/core/avatar/avatar.component.mjs +0 -111
  182. package/esm2022/lib/core/base.mjs +0 -2
  183. package/esm2022/lib/core/checkbox.mjs +0 -38
  184. package/esm2022/lib/core/colors.mjs +0 -322
  185. package/esm2022/lib/core/component-factory-resolver.mjs +0 -48
  186. package/esm2022/lib/core/configuration.mjs +0 -17
  187. package/esm2022/lib/core/datasource.service.mjs +0 -75
  188. package/esm2022/lib/core/decorators.mjs +0 -46
  189. package/esm2022/lib/core/document-factory.service.mjs +0 -156
  190. package/esm2022/lib/core/fields/address.designer.mjs +0 -39
  191. package/esm2022/lib/core/fields/address.field.mjs +0 -65
  192. package/esm2022/lib/core/fields/autocomplete.field.mjs +0 -136
  193. package/esm2022/lib/core/fields/axes-picker.designer.mjs +0 -59
  194. package/esm2022/lib/core/fields/axes-picker.field.mjs +0 -46
  195. package/esm2022/lib/core/fields/checkbox.designer.mjs +0 -38
  196. package/esm2022/lib/core/fields/checkbox.field.mjs +0 -35
  197. package/esm2022/lib/core/fields/checklist.designer.mjs +0 -98
  198. package/esm2022/lib/core/fields/checklist.field.mjs +0 -36
  199. package/esm2022/lib/core/fields/date-range.designer.mjs +0 -43
  200. package/esm2022/lib/core/fields/date-range.field.mjs +0 -46
  201. package/esm2022/lib/core/fields/date.designer.mjs +0 -40
  202. package/esm2022/lib/core/fields/date.field.mjs +0 -40
  203. package/esm2022/lib/core/fields/expression.field.mjs +0 -87
  204. package/esm2022/lib/core/fields/file.designer.mjs +0 -39
  205. package/esm2022/lib/core/fields/file.field.mjs +0 -35
  206. package/esm2022/lib/core/fields/html.designer.mjs +0 -61
  207. package/esm2022/lib/core/fields/html.field.mjs +0 -44
  208. package/esm2022/lib/core/fields/input.designer.mjs +0 -38
  209. package/esm2022/lib/core/fields/input.field.mjs +0 -54
  210. package/esm2022/lib/core/fields/localized-string.field.mjs +0 -49
  211. package/esm2022/lib/core/fields/numeric.designer.mjs +0 -72
  212. package/esm2022/lib/core/fields/numeric.field.mjs +0 -37
  213. package/esm2022/lib/core/fields/options.base.mjs +0 -41
  214. package/esm2022/lib/core/fields/options.component.mjs +0 -58
  215. package/esm2022/lib/core/fields/radio-button.designer.mjs +0 -39
  216. package/esm2022/lib/core/fields/radio-button.field.mjs +0 -33
  217. package/esm2022/lib/core/fields/select.designer.mjs +0 -104
  218. package/esm2022/lib/core/fields/select.field.mjs +0 -36
  219. package/esm2022/lib/core/fields/signature.designer.mjs +0 -37
  220. package/esm2022/lib/core/fields/signature.field.mjs +0 -52
  221. package/esm2022/lib/core/fields/switch.field.mjs +0 -35
  222. package/esm2022/lib/core/fields/tags.designer.mjs +0 -28
  223. package/esm2022/lib/core/fields/tags.field.mjs +0 -51
  224. package/esm2022/lib/core/fields/textarea.designer.mjs +0 -33
  225. package/esm2022/lib/core/fields/textarea.field.mjs +0 -37
  226. package/esm2022/lib/core/fields/time.designer.mjs +0 -41
  227. package/esm2022/lib/core/fields/time.field.mjs +0 -39
  228. package/esm2022/lib/core/fields/timespan.field.mjs +0 -82
  229. package/esm2022/lib/core/fields/yesno.designer.mjs +0 -52
  230. package/esm2022/lib/core/fields/yesno.field.mjs +0 -34
  231. package/esm2022/lib/core/firebase.service.mjs +0 -51
  232. package/esm2022/lib/core/functions.mjs +0 -225
  233. package/esm2022/lib/core/guide/guide.component.mjs +0 -220
  234. package/esm2022/lib/core/guide/guide.service.mjs +0 -124
  235. package/esm2022/lib/core/guide/help-tip.component.mjs +0 -52
  236. package/esm2022/lib/core/http.interceptor.mjs +0 -63
  237. package/esm2022/lib/core/hub.service.mjs +0 -117
  238. package/esm2022/lib/core/identity/identity.component.mjs +0 -66
  239. package/esm2022/lib/core/info/attachment-info.service.mjs +0 -53
  240. package/esm2022/lib/core/info/document-info.service.mjs +0 -21
  241. package/esm2022/lib/core/info/location-info.component.mjs +0 -60
  242. package/esm2022/lib/core/info/map-info.mjs +0 -42
  243. package/esm2022/lib/core/inputs/address.input.mjs +0 -203
  244. package/esm2022/lib/core/inputs/auto-complete.input.mjs +0 -273
  245. package/esm2022/lib/core/inputs/combination-picker-body.mjs +0 -171
  246. package/esm2022/lib/core/inputs/combination-picker.mjs +0 -285
  247. package/esm2022/lib/core/inputs/combination-pool.mjs +0 -105
  248. package/esm2022/lib/core/inputs/file.input.mjs +0 -432
  249. package/esm2022/lib/core/inputs/select.input.mjs +0 -254
  250. package/esm2022/lib/core/inputs/signature.input.mjs +0 -150
  251. package/esm2022/lib/core/inputs/time-picker.mjs +0 -195
  252. package/esm2022/lib/core/inputs/timespan.input.mjs +0 -180
  253. package/esm2022/lib/core/layout.component.mjs +0 -93
  254. package/esm2022/lib/core/lottie-animation.exp.mjs +0 -49
  255. package/esm2022/lib/core/mailbox.service.mjs +0 -445
  256. package/esm2022/lib/core/models.mjs +0 -25
  257. package/esm2022/lib/core/none.component.mjs +0 -37
  258. package/esm2022/lib/core/pipes/action.pipe.mjs +0 -25
  259. package/esm2022/lib/core/pipes/calendar.pipe.mjs +0 -72
  260. package/esm2022/lib/core/pipes/date-format.pipe.mjs +0 -19
  261. package/esm2022/lib/core/pipes/daterange.pipe.mjs +0 -62
  262. package/esm2022/lib/core/pipes/difference.pipe.mjs +0 -15
  263. package/esm2022/lib/core/pipes/duration-format.pipe.mjs +0 -48
  264. package/esm2022/lib/core/pipes/duration.pipe.mjs +0 -19
  265. package/esm2022/lib/core/pipes/filter.pipe.mjs +0 -25
  266. package/esm2022/lib/core/pipes/form.pipe.mjs +0 -25
  267. package/esm2022/lib/core/pipes/join.pipe.mjs +0 -18
  268. package/esm2022/lib/core/pipes/localized-string.pipe.mjs +0 -26
  269. package/esm2022/lib/core/pipes/role.pipe.mjs +0 -25
  270. package/esm2022/lib/core/pipes/sanitize-html.pipe.mjs +0 -18
  271. package/esm2022/lib/core/pipes/sort.pipe.mjs +0 -42
  272. package/esm2022/lib/core/pipes/state.pipe.mjs +0 -25
  273. package/esm2022/lib/core/pipes/time-ago.pipe.mjs +0 -51
  274. package/esm2022/lib/core/pipes/to-now.pipe.mjs +0 -66
  275. package/esm2022/lib/core/pipes/translate.pipe.mjs +0 -58
  276. package/esm2022/lib/core/pipes/type-value.pipe.mjs +0 -42
  277. package/esm2022/lib/core/pipes/user-name.pipe.mjs +0 -21
  278. package/esm2022/lib/core/popup/popup-ref.mjs +0 -20
  279. package/esm2022/lib/core/popup/popup.component.mjs +0 -36
  280. package/esm2022/lib/core/popup/popup.service.mjs +0 -158
  281. package/esm2022/lib/core/popup/tooltip.directive.mjs +0 -81
  282. package/esm2022/lib/core/prompt/ask/ask.dialog.mjs +0 -29
  283. package/esm2022/lib/core/prompt/mask/mask.component.mjs +0 -21
  284. package/esm2022/lib/core/prompt.service.mjs +0 -88
  285. package/esm2022/lib/core/router.mjs +0 -37
  286. package/esm2022/lib/core/save-changes.dialog.mjs +0 -18
  287. package/esm2022/lib/core/session.service.mjs +0 -291
  288. package/esm2022/lib/core/slots/pane-ref.mjs +0 -152
  289. package/esm2022/lib/core/slots/router.directive.mjs +0 -68
  290. package/esm2022/lib/core/slots/router.service.mjs +0 -40
  291. package/esm2022/lib/core/slots/slots.component.mjs +0 -1193
  292. package/esm2022/lib/core/sticky-toolbar.exp.mjs +0 -33
  293. package/esm2022/lib/core/tagging/documents.component.mjs +0 -25
  294. package/esm2022/lib/core/tagging/edit-input.component.mjs +0 -238
  295. package/esm2022/lib/core/tagging/emoji.component.mjs +0 -35
  296. package/esm2022/lib/core/tagging/tagging-item.directive.mjs +0 -39
  297. package/esm2022/lib/core/tagging/tagging.component-base.mjs +0 -29
  298. package/esm2022/lib/core/tagging/tagging.directive.mjs +0 -136
  299. package/esm2022/lib/core/tagging/tagging.pipe.mjs +0 -72
  300. package/esm2022/lib/core/tagging/users.component.mjs +0 -32
  301. package/esm2022/lib/core/translate.service.mjs +0 -125
  302. package/esm2022/lib/core/translations.mjs +0 -1068
  303. package/esm2022/lib/core/virtual-tabs.component.exp.mjs +0 -84
  304. package/esm2022/lib/core/window-title.service.mjs +0 -65
  305. package/esm2022/lib/cube/accum/accum.component.mjs +0 -262
  306. package/esm2022/lib/cube/chart/chart.component.mjs +0 -345
  307. package/esm2022/lib/cube/cube-info.service.mjs +0 -103
  308. package/esm2022/lib/cube/cube-menu.component.mjs +0 -25
  309. package/esm2022/lib/cube/cube-view.component.mjs +0 -186
  310. package/esm2022/lib/cube/cube.service.mjs +0 -446
  311. package/esm2022/lib/cube/declarations.mjs +0 -2
  312. package/esm2022/lib/cube/explore/document-item.component.mjs +0 -38
  313. package/esm2022/lib/cube/explore/explore-item.component.mjs +0 -27
  314. package/esm2022/lib/cube/explore/explore-items.component.mjs +0 -193
  315. package/esm2022/lib/cube/explore/explore.pane.component.mjs +0 -78
  316. package/esm2022/lib/cube/explore/item-resolver.service.mjs +0 -30
  317. package/esm2022/lib/cube/explore/item.pane.component.mjs +0 -21
  318. package/esm2022/lib/cube/filter/filter-tags.component.exp.mjs +0 -75
  319. package/esm2022/lib/cube/filter/filter.component.mjs +0 -137
  320. package/esm2022/lib/cube/grid/grid.component.mjs +0 -210
  321. package/esm2022/lib/cube/matrix/matrix.base.mjs +0 -124
  322. package/esm2022/lib/cube/matrix/matrix.mobile.component.mjs +0 -67
  323. package/esm2022/lib/cube/matrix/matrix.pane.component.mjs +0 -78
  324. package/esm2022/lib/cube/matrix/popup.component.mjs +0 -70
  325. package/esm2022/lib/cube/matrix/table.component.mjs +0 -512
  326. package/esm2022/lib/cube/parallel/item.mjs +0 -40
  327. package/esm2022/lib/cube/parallel/parallel.component.mjs +0 -162
  328. package/esm2022/lib/cube/pivot/pivot.component.mjs +0 -564
  329. package/esm2022/lib/cube/spreadsheet/spreadsheet.component.mjs +0 -382
  330. package/esm2022/lib/cube/spreadsheet/spreadsheet.container.exp.mjs +0 -19
  331. package/esm2022/lib/cube/sum/sum.component.mjs +0 -403
  332. package/esm2022/lib/cube/view-base.mjs +0 -74
  333. package/esm2022/lib/cube/view.mobile.component.mjs +0 -121
  334. package/esm2022/lib/cube/view.pane.component.mjs +0 -99
  335. package/esm2022/lib/dashboard/actions/actions.widget.mjs +0 -127
  336. package/esm2022/lib/dashboard/cube/accum-cube.widget.mjs +0 -151
  337. package/esm2022/lib/dashboard/cube/compare.widget.mjs +0 -216
  338. package/esm2022/lib/dashboard/cube/cube-analysis.base.mjs +0 -117
  339. package/esm2022/lib/dashboard/cube/cube-analysis.widget.mjs +0 -50
  340. package/esm2022/lib/dashboard/cube/cube-chart.widget.mjs +0 -146
  341. package/esm2022/lib/dashboard/cube/document-state.widget.mjs +0 -85
  342. package/esm2022/lib/dashboard/cube/documents.widget.mjs +0 -66
  343. package/esm2022/lib/dashboard/cube/filter/filter.component.mjs +0 -61
  344. package/esm2022/lib/dashboard/dashboard.component.mjs +0 -67
  345. package/esm2022/lib/dashboard/dashboard.pane.component.mjs +0 -18
  346. package/esm2022/lib/dashboard/recents/recents.widget.mjs +0 -98
  347. package/esm2022/lib/dashboard/score/activity.widget.mjs +0 -177
  348. package/esm2022/lib/dashboard/score/compare-groups.widget.mjs +0 -215
  349. package/esm2022/lib/dashboard/score/peers-performance.widget.mjs +0 -251
  350. package/esm2022/lib/dashboard/score/pending-results.widget.mjs +0 -59
  351. package/esm2022/lib/dashboard/score/personal-score.widget.mjs +0 -222
  352. package/esm2022/lib/dashboard/widget-item.component.mjs +0 -91
  353. package/esm2022/lib/dashboard/widget-ref.mjs +0 -18
  354. package/esm2022/lib/designer.module.mjs +0 -106
  355. package/esm2022/lib/desktop.module.mjs +0 -140
  356. package/esm2022/lib/home/about/about.dialog.mjs +0 -25
  357. package/esm2022/lib/home/home-base.component.mjs +0 -92
  358. package/esm2022/lib/home/home.desktop.component.mjs +0 -286
  359. package/esm2022/lib/home/home.mobile.component.mjs +0 -131
  360. package/esm2022/lib/home/notifications/notifications.component.mjs +0 -64
  361. package/esm2022/lib/home/outofoffice/outofoffice.component.mjs +0 -37
  362. package/esm2022/lib/home/sign/sign.component.mjs +0 -56
  363. package/esm2022/lib/impersonate/impersonate.component.mjs +0 -77
  364. package/esm2022/lib/mobile.module.mjs +0 -63
  365. package/esm2022/lib/modules/chart.module.mjs +0 -44
  366. package/esm2022/lib/modules/circular-gauge.module.mjs +0 -20
  367. package/esm2022/lib/modules/date.adapter.mjs +0 -23
  368. package/esm2022/lib/modules/datepicker.intl.mjs +0 -41
  369. package/esm2022/lib/modules/dayjs.module.mjs +0 -43
  370. package/esm2022/lib/modules/diagram.module.mjs +0 -43
  371. package/esm2022/lib/modules/gantt.module.mjs +0 -22
  372. package/esm2022/lib/modules/grid.module.mjs +0 -26
  373. package/esm2022/lib/modules/linear-gauge.module.mjs +0 -17
  374. package/esm2022/lib/modules/material.module.mjs +0 -182
  375. package/esm2022/lib/modules/paginator.intl.mjs +0 -21
  376. package/esm2022/lib/modules/pivot.module.mjs +0 -24
  377. package/esm2022/lib/modules/schedule.module.mjs +0 -24
  378. package/esm2022/lib/modules/spreadsheet.module.mjs +0 -28
  379. package/esm2022/lib/modules/stepper.intl.mjs +0 -17
  380. package/esm2022/lib/modules/texteditor.module.mjs +0 -26
  381. package/esm2022/lib/notifications/filter.component.mjs +0 -24
  382. package/esm2022/lib/notifications/notifications-table.component.mjs +0 -105
  383. package/esm2022/lib/notifications/notifications.component-base.mjs +0 -50
  384. package/esm2022/lib/notifications/notifications.mobile.component.mjs +0 -20
  385. package/esm2022/lib/notifications/notifications.pane.component.mjs +0 -21
  386. package/esm2022/lib/notifications/notifications.service.mjs +0 -78
  387. package/esm2022/lib/notifications/types/commented.notification.mjs +0 -60
  388. package/esm2022/lib/notifications/types/cube-anomaly.notification.mjs +0 -58
  389. package/esm2022/lib/notifications/types/escalated.notification.mjs +0 -33
  390. package/esm2022/lib/notifications/types/invite.notification.mjs +0 -45
  391. package/esm2022/lib/notifications/types/liked.notification.mjs +0 -58
  392. package/esm2022/lib/notifications/types/long-running-task.notification.mjs +0 -31
  393. package/esm2022/lib/notifications/types/notification-base.mjs +0 -40
  394. package/esm2022/lib/notifications/types/nudge.notification.mjs +0 -31
  395. package/esm2022/lib/notifications/types/state-changed.notification.mjs +0 -30
  396. package/esm2022/lib/notifications/types/tagged.notification.mjs +0 -43
  397. package/esm2022/lib/notifications/types/text.notification.mjs +0 -23
  398. package/esm2022/lib/notifications/types/upcoming-event.notification.mjs +0 -36
  399. package/esm2022/lib/options/options.component.mjs +0 -308
  400. package/esm2022/lib/options/options.desktop.component.mjs +0 -26
  401. package/esm2022/lib/options/options.mobile.component.mjs +0 -23
  402. package/esm2022/lib/reports/arguments-component.mjs +0 -81
  403. package/esm2022/lib/reports/cube/documents.component.mjs +0 -38
  404. package/esm2022/lib/reports/cube/grid-documents.component.mjs +0 -72
  405. package/esm2022/lib/reports/cube/performance-hilo.component.mjs +0 -260
  406. package/esm2022/lib/reports/cube/performance-wind.component.mjs +0 -269
  407. package/esm2022/lib/reports/cube/table-documents.component.mjs +0 -57
  408. package/esm2022/lib/reports/cube/usage-args.component.mjs +0 -62
  409. package/esm2022/lib/reports/cube/usage-base.mjs +0 -79
  410. package/esm2022/lib/reports/cube/usage-chart.component.mjs +0 -354
  411. package/esm2022/lib/reports/cube/usage-pivot.component.mjs +0 -257
  412. package/esm2022/lib/reports/cube/usage.component.mjs +0 -40
  413. package/esm2022/lib/reports/report-ref.mjs +0 -38
  414. package/esm2022/lib/reports/report-viewer.component.mjs +0 -156
  415. package/esm2022/lib/reports/report.mobile.component.mjs +0 -127
  416. package/esm2022/lib/reports/report.pane.component.mjs +0 -109
  417. package/esm2022/lib/reports/reports-menu.component.mjs +0 -24
  418. package/esm2022/lib/reports/substitution/substitution.component.mjs +0 -39
  419. package/esm2022/lib/reports/table/table-view.component.mjs +0 -40
  420. package/esm2022/lib/reports/tasks/tasks.component.mjs +0 -95
  421. package/esm2022/lib/routes.desktop.mjs +0 -209
  422. package/esm2022/lib/routes.mobile.mjs +0 -84
  423. package/esm2022/lib/scheduler/schedule.component.mjs +0 -164
  424. package/esm2022/lib/scheduler/scheduler.mobile.component.mjs +0 -37
  425. package/esm2022/lib/scheduler/scheduler.pane.component.mjs +0 -50
  426. package/esm2022/lib/search/cube.component.mjs +0 -47
  427. package/esm2022/lib/search/declarations.mjs +0 -7
  428. package/esm2022/lib/search/document.component.mjs +0 -41
  429. package/esm2022/lib/search/guide.component.mjs +0 -28
  430. package/esm2022/lib/search/path.component.mjs +0 -44
  431. package/esm2022/lib/search/search.service.mjs +0 -155
  432. package/esm2022/lib/shared.module.mjs +0 -622
  433. package/esm2022/lib/system.module.mjs +0 -562
  434. package/esm2022/lib/views/cube/chart.component.mjs +0 -74
  435. package/esm2022/lib/views/cube/cube-base.mjs +0 -101
  436. package/esm2022/lib/views/cube/explore.component.mjs +0 -85
  437. package/esm2022/lib/views/cube/matrix.component.mjs +0 -101
  438. package/esm2022/lib/views/cube/parallel.component.mjs +0 -53
  439. package/esm2022/lib/views/cube/pivot.component.mjs +0 -50
  440. package/esm2022/lib/views/cube/sum.component.mjs +0 -66
  441. package/esm2022/lib/views/cube/view.component.mjs +0 -101
  442. package/esm2022/lib/views/document-view-ref.mjs +0 -27
  443. package/esm2022/lib/views/timeline/timeline.component.mjs +0 -329
  444. package/esm2022/lib/views/view-item.component.mjs +0 -68
  445. package/esm2022/lib/views/views.component.mjs +0 -32
  446. package/esm2022/lib/views/views.mobile.component.mjs +0 -21
  447. package/esm2022/lib/views/views.pane.component.mjs +0 -29
  448. package/esm2022/public-api.mjs +0 -182
@@ -1,40 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Component, Inject } from "@angular/core";
3
- import { Validators } from "@angular/forms";
4
- import { BizDoc } from "../../../core/decorators";
5
- import { DesignerRef } from "../declarations";
6
- import { DesignerCubeElementComponent } from "../designer.base";
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/forms";
9
- import * as i2 from "@angular/material/core";
10
- import * as i3 from "@angular/material/form-field";
11
- import * as i4 from "@angular/material/select";
12
- import * as i5 from "../cube-axes-filter.component";
13
- import * as i6 from "../../../core/pipes/localized-string.pipe";
14
- import * as i7 from "../../../core/pipes/translate.pipe";
15
- import * as i8 from "../declarations";
16
- let DocumentStateWidgetDesignComponent = class DocumentStateWidgetDesignComponent extends DesignerCubeElementComponent {
17
- constructor(_fb, element, _ref) {
18
- super(_fb, element, _ref);
19
- this.form = this._fb.group({
20
- forms: this._fb.control(null, Validators.required),
21
- cube: null,
22
- filters: this._fb.group({}),
23
- });
24
- this.forms = _ref.designer.forms.filter(f => f.template === 'survey-form-designer');
25
- }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: DocumentStateWidgetDesignComponent, deps: [{ token: i1.FormBuilder }, { token: i0.ElementRef }, { token: DesignerRef }], target: i0.ɵɵFactoryTarget.Component }); }
27
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.5", type: DocumentStateWidgetDesignComponent, selector: "ng-component", host: { classAttribute: "column" }, usesInheritance: true, ngImport: i0, template: "@if (mode !== 'widget') {\r\n<ng-container [formGroup]=\"form\">\r\n <mat-form-field>\r\n <mat-label>{{'Forms'|translate}}</mat-label>\r\n <mat-select required multiple>\r\n @for (f of forms; track f) {\r\n <mat-option [value]=\"f\">{{f.title|localizedString}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n @if (cubes.length > 1) {\r\n <mat-form-field>\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select formControlName=\"cube\" (selectionChange)=\"cubeSelected($event)\">\r\n @for (c of cubes; track c) {\r\n <mat-option [value]=\"c.name\">{{c.title|localizedString}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n }\r\n @if (cube) {\r\n <bizdoc-designer-cube-filter [cube]=\"cube\" [form]=\"form.controls.filters\"></bizdoc-designer-cube-filter>\r\n }\r\n</ng-container>\r\n}\r\n", dependencies: [{ 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.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: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4.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: i5.DesignerCubeFilterComponent, selector: "bizdoc-designer-cube-filter", inputs: ["cube", "form"] }, { kind: "pipe", type: i6.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] }); }
28
- };
29
- DocumentStateWidgetDesignComponent = __decorate([
30
- BizDoc({ selector: 'bizdoc-document-state-widget-designer' })
31
- ], DocumentStateWidgetDesignComponent);
32
- export { DocumentStateWidgetDesignComponent };
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: DocumentStateWidgetDesignComponent, decorators: [{
34
- type: Component,
35
- args: [{ host: { class: 'column' }, template: "@if (mode !== 'widget') {\r\n<ng-container [formGroup]=\"form\">\r\n <mat-form-field>\r\n <mat-label>{{'Forms'|translate}}</mat-label>\r\n <mat-select required multiple>\r\n @for (f of forms; track f) {\r\n <mat-option [value]=\"f\">{{f.title|localizedString}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n @if (cubes.length > 1) {\r\n <mat-form-field>\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select formControlName=\"cube\" (selectionChange)=\"cubeSelected($event)\">\r\n @for (c of cubes; track c) {\r\n <mat-option [value]=\"c.name\">{{c.title|localizedString}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n }\r\n @if (cube) {\r\n <bizdoc-designer-cube-filter [cube]=\"cube\" [form]=\"form.controls.filters\"></bizdoc-designer-cube-filter>\r\n }\r\n</ng-container>\r\n}\r\n" }]
36
- }], ctorParameters: () => [{ type: i1.FormBuilder }, { type: i0.ElementRef }, { type: i8.DesignerRef, decorators: [{
37
- type: Inject,
38
- args: [DesignerRef]
39
- }] }] });
40
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnQtc3RhdGUtd2lkZ2V0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvc3JjL2xpYi9hZG1pbi9hcmNoaXRlY3R1cmUvZWxlbWVudHMvZG9jdW1lbnQtc3RhdGUtd2lkZ2V0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvc3JjL2xpYi9hZG1pbi9hcmNoaXRlY3R1cmUvZWxlbWVudHMvZG9jdW1lbnQtc3RhdGUtd2lkZ2V0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM5RCxPQUFPLEVBQWUsVUFBVSxFQ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XVsdGlwbGU+XHJcbiAgICAgIEBmb3IgKGYgb2YgZm9ybXM7IHRyYWNrIGYpIHtcclxuICAgICAgPG1hdC1vcHRpb24gW3ZhbHVlXT1cImZcIj57e2YudGl0bGV8bG9jYWxpemVkU3RyaW5nfX08L21hdC1vcHRpb24+XHJcbiAgICAgIH1cclxuICAgIDwvbWF0LXNlbGVjdD5cclxuICA8L21hdC1mb3JtLWZpZWxkPlxyXG4gIEBpZiAoY3ViZXMubGVuZ3RoID4gMSkge1xyXG4gIDxtYXQtZm9ybS1maWVsZD5cclxuICAgIDxtYXQtbGFiZWw+e3snQ3ViZSd8dHJhbnNsYXRlfX08L21hdC1sYWJlbD5cclxuICAgIDxtYXQtc2VsZWN0IGZvcm1Db250cm9sTmFtZT1cImN1YmVcIiAoc2VsZWN0aW9uQ2hhbmdlKT1cImN1YmVTZWxlY3RlZCgkZXZlbnQpXCI+XHJcbiAgICAgIEBmb3IgKGMgb2YgY3ViZXM7IHRyYWNrIGMpIHtcclxuICAgICAgPG1hdC1vcHRpb24gW3ZhbHVlXT1cImMubmFtZVwiPnt7Yy50aXRsZXxsb2NhbGl6ZWRTdHJpbmd9fTwvbWF0LW9wdGlvbj5cclxuICAgICAgfVxyXG4gICAgPC9tYXQtc2VsZWN0PlxyXG4gIDwvbWF0LWZvcm0tZmllbGQ+XHJcbiAgfVxyXG4gIEBpZiAoY3ViZSkge1xyXG4gIDxiaXpkb2MtZGVzaWduZXItY3ViZS1maWx0ZXIgW2N1YmVdPVwiY3ViZVwiIFtmb3JtXT1cImZvcm0uY29udHJvbHMuZmlsdGVyc1wiPjwvYml6ZG9jLWRlc2lnbmVyLWN1YmUtZmlsdGVyPlxyXG4gIH1cclxuPC9uZy1jb250YWluZXI+XHJcbn1cclxuIl19
@@ -1,34 +0,0 @@
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/forms";
7
- import * as i2 from "@angular/material/core";
8
- import * as i3 from "@angular/material/form-field";
9
- import * as i4 from "@angular/material/select";
10
- import * as i5 from "../cube-axes-filter.component";
11
- import * as i6 from "../../../core/pipes/localized-string.pipe";
12
- import * as i7 from "../../../core/pipes/translate.pipe";
13
- let DocumentsReportDesignComponent = class DocumentsReportDesignComponent extends DesignerCubeElementComponent {
14
- constructor() {
15
- super(...arguments);
16
- this.form = this._fb.group({
17
- cube: null,
18
- filters: this._fb.group({}),
19
- group: null,
20
- scope: null
21
- });
22
- }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: DocumentsReportDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.5", type: DocumentsReportDesignComponent, selector: "ng-component", host: { classAttribute: "column" }, usesInheritance: true, ngImport: i0, template: "@if (mode !== 'widget') {\r\n<ng-container [formGroup]=\"form\">\r\n @if (cubes.length > 1) {\r\n <mat-form-field>\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select formControlName=\"cube\">\r\n @for (c of cubes; track c) {\r\n <mat-option [value]=\"c.name\">{{c.title|localizedString}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n }\r\n @if (cube) {\r\n <bizdoc-designer-cube-filter [cube]=\"cube\" [form]=\"form.controls.filters\"></bizdoc-designer-cube-filter>\r\n }\r\n</ng-container>\r\n}\r\n", dependencies: [{ 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.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: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4.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: i5.DesignerCubeFilterComponent, selector: "bizdoc-designer-cube-filter", inputs: ["cube", "form"] }, { kind: "pipe", type: i6.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] }); }
25
- };
26
- DocumentsReportDesignComponent = __decorate([
27
- BizDoc({ selector: 'documents-report-designer' })
28
- ], DocumentsReportDesignComponent);
29
- export { DocumentsReportDesignComponent };
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: DocumentsReportDesignComponent, decorators: [{
31
- type: Component,
32
- args: [{ host: { class: 'column' }, template: "@if (mode !== 'widget') {\r\n<ng-container [formGroup]=\"form\">\r\n @if (cubes.length > 1) {\r\n <mat-form-field>\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select formControlName=\"cube\">\r\n @for (c of cubes; track c) {\r\n <mat-option [value]=\"c.name\">{{c.title|localizedString}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n }\r\n @if (cube) {\r\n <bizdoc-designer-cube-filter [cube]=\"cube\" [form]=\"form.controls.filters\"></bizdoc-designer-cube-filter>\r\n }\r\n</ng-container>\r\n}\r\n" }]
33
- }] });
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnRzLXJlcG9ydC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3NyYy9saWIvYWRtaW4vYXJjaGl0ZWN0dXJlL2VsZW1lbnRzL2RvY3VtZW50cy1yZXBvcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9zcmMvbGliL2FkbWluL2FyY2hpdGVjdHVyZS9lbGVtZW50cy9kb2N1bWVudHMtcmVwb3J0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUVsRCxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQzs7Ozs7Ozs7O0FBT3pELElBQU0sOEJBQThCLEdBQXBDLE1BQU0sOEJBQStCLFNBQVEsNEJBQW9EO0lBQWpHOztRQUNJLFNBQUksR0FBRyxJQUFJLENBQUMsR0FBRyxDQUFDLEtBQUssQ0FBQztZQUM3QixJQUFJLEVBQUUsSUFBSTtZQUNWLE9BQU8sRUFBRSxJQUFJLENBQUMsR0FBRyxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUM7WUFDM0IsS0FBSyxFQUFFLElBQUk7WUFDWCxLQUFLLEVBQUUsSUFBSTtTQUNaLENBQUMsQ0FBQztLQUNKOzhHQVBZLDhCQUE4QjtrR0FBOUIsOEJBQTh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ncm91cCh7fSksXHJcbiAgICBncm91cDogbnVsbCxcclxuICAgIHNjb3BlOiBudWxsXHJcbiAgfSk7XHJcbn1cclxuIiwiQGlmIChtb2RlICE9PSAnd2lkZ2V0Jykge1xyXG48bmctY29udGFpbmVyIFtmb3JtR3JvdXBdPVwiZm9ybVwiPlxyXG4gIEBpZiAoY3ViZXMubGVuZ3RoID4gMSkge1xyXG4gIDxtYXQtZm9ybS1maWVsZD5cclxuICAgIDxtYXQtbGFiZWw+e3snQ3ViZSd8dHJhbnNsYXRlfX08L21hdC1sYWJlbD5cclxuICAgIDxtYXQtc2VsZWN0IGZvcm1Db250cm9sTmFtZT1cImN1YmVcIj5cclxuICAgICAgQGZvciAoYyBvZiBjdWJlczsgdHJhY2sgYykge1xyXG4gICAgICA8bWF0LW9wdGlvbiBbdmFsdWVdPVwiYy5uYW1lXCI+e3tjLnRpdGxlfGxvY2FsaXplZFN0cmluZ319PC9tYXQtb3B0aW9uPlxyXG4gICAgICB9XHJcbiAgICA8L21hdC1zZWxlY3Q+XHJcbiAgPC9tYXQtZm9ybS1maWVsZD5cclxuICB9XHJcbiAgQGlmIChjdWJlKSB7XHJcbiAgPGJpemRvYy1kZXNpZ25lci1jdWJlLWZpbHRlciBbY3ViZV09XCJjdWJlXCIgW2Zvcm1dPVwiZm9ybS5jb250cm9scy5maWx0ZXJzXCI+PC9iaXpkb2MtZGVzaWduZXItY3ViZS1maWx0ZXI+XHJcbiAgfVxyXG48L25nLWNvbnRhaW5lcj5cclxufVxyXG4iXX0=
@@ -1,40 +0,0 @@
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/forms";
7
- import * as i2 from "@angular/material/core";
8
- import * as i3 from "@angular/material/form-field";
9
- import * as i4 from "@angular/material/select";
10
- import * as i5 from "../cube-axes-filter.component";
11
- import * as i6 from "../../../core/pipes/localized-string.pipe";
12
- import * as i7 from "../../../core/pipes/translate.pipe";
13
- let DocumentsWidgetDesignComponent = class DocumentsWidgetDesignComponent extends DesignerCubeElementComponent {
14
- constructor() {
15
- super(...arguments);
16
- this.form = this._fb.group({
17
- cube: null,
18
- filters: this._fb.group({}),
19
- states: null,
20
- scope: null,
21
- take: null,
22
- pending: null
23
- });
24
- }
25
- ngOnInit() {
26
- this.states = this._ref.designer.states;
27
- super.ngOnInit();
28
- }
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: DocumentsWidgetDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
30
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.5", type: DocumentsWidgetDesignComponent, selector: "ng-component", host: { classAttribute: "column" }, usesInheritance: true, ngImport: i0, template: "@if (mode !== 'widget') {\r\n<ng-container [formGroup]=\"form\">\r\n @if (cubes.length > 1) {\r\n <mat-form-field>\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select formControlName=\"cube\">\r\n @for (c of cubes; track c) {\r\n <mat-option [value]=\"c\">{{c.title|localizedString}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n }\r\n @if (cube) {\r\n <bizdoc-designer-cube-filter [cube]=\"cube\" [form]=\"form.controls.filters\"></bizdoc-designer-cube-filter>\r\n }\r\n</ng-container>\r\n}\r\n", dependencies: [{ 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.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: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4.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: i5.DesignerCubeFilterComponent, selector: "bizdoc-designer-cube-filter", inputs: ["cube", "form"] }, { kind: "pipe", type: i6.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] }); }
31
- };
32
- DocumentsWidgetDesignComponent = __decorate([
33
- BizDoc({ selector: 'documents-widget-designer' })
34
- ], DocumentsWidgetDesignComponent);
35
- export { DocumentsWidgetDesignComponent };
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: DocumentsWidgetDesignComponent, decorators: [{
37
- type: Component,
38
- args: [{ host: { class: 'column' }, template: "@if (mode !== 'widget') {\r\n<ng-container [formGroup]=\"form\">\r\n @if (cubes.length > 1) {\r\n <mat-form-field>\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select formControlName=\"cube\">\r\n @for (c of cubes; track c) {\r\n <mat-option [value]=\"c\">{{c.title|localizedString}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n }\r\n @if (cube) {\r\n <bizdoc-designer-cube-filter [cube]=\"cube\" [form]=\"form.controls.filters\"></bizdoc-designer-cube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cm0tZmllbGQ+XHJcbiAgfVxyXG4gIEBpZiAoY3ViZSkge1xyXG4gIDxiaXpkb2MtZGVzaWduZXItY3ViZS1maWx0ZXIgW2N1YmVdPVwiY3ViZVwiIFtmb3JtXT1cImZvcm0uY29udHJvbHMuZmlsdGVyc1wiPjwvYml6ZG9jLWRlc2lnbmVyLWN1YmUtZmlsdGVyPlxyXG4gIH1cclxuPC9uZy1jb250YWluZXI+XHJcbn1cclxuIl19
@@ -1,35 +0,0 @@
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/forms";
7
- import * as i2 from "@angular/material/core";
8
- import * as i3 from "@angular/material/form-field";
9
- import * as i4 from "@angular/material/select";
10
- import * as i5 from "../cube-axes-filter.component";
11
- import * as i6 from "../../../core/pipes/localized-string.pipe";
12
- import * as i7 from "../../../core/pipes/translate.pipe";
13
- let ExploreViewDesignComponent = class ExploreViewDesignComponent extends DesignerCubeElementComponent {
14
- constructor() {
15
- super(...arguments);
16
- this.form = this._fb.group({
17
- cube: null,
18
- filters: this._fb.group({}),
19
- aggregate: null,
20
- pageSize: 5,
21
- scope: null
22
- });
23
- }
24
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: ExploreViewDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
25
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.5", type: ExploreViewDesignComponent, selector: "ng-component", host: { classAttribute: "column" }, usesInheritance: true, ngImport: i0, template: "@if (mode !== 'widget') {\r\n<ng-container [formGroup]=\"form\">\r\n @if (cubes.length > 1) {\r\n <mat-form-field>\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required formControlName=\"cube\" (selectionChange)=\"cubeSelected($event)\">\r\n @for (c of cubes; track c) {\r\n <mat-option [value]=\"c.name\">{{c.title|localizedString}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n }\r\n <mat-form-field>\r\n <mat-label>{{'Aggregate'|translate}}</mat-label>\r\n <mat-select formControlName=\"aggregate\" multiple>\r\n @for (a of cube?.axes; track a) {\r\n <mat-option [value]=\"a.name\">{{a.title }}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n @if (cube) {\r\n <bizdoc-designer-cube-filter [cube]=\"cube\" [form]=\"form.controls.filters\"></bizdoc-designer-cube-filter>\r\n }\r\n</ng-container>\r\n}\r\n", dependencies: [{ 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: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4.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: i5.DesignerCubeFilterComponent, selector: "bizdoc-designer-cube-filter", inputs: ["cube", "form"] }, { kind: "pipe", type: i6.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] }); }
26
- };
27
- ExploreViewDesignComponent = __decorate([
28
- BizDoc({ selector: 'explore-view-designer' })
29
- ], ExploreViewDesignComponent);
30
- export { ExploreViewDesignComponent };
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: ExploreViewDesignComponent, decorators: [{
32
- type: Component,
33
- args: [{ host: { class: 'column' }, template: "@if (mode !== 'widget') {\r\n<ng-container [formGroup]=\"form\">\r\n @if (cubes.length > 1) {\r\n <mat-form-field>\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required formControlName=\"cube\" (selectionChange)=\"cubeSelected($event)\">\r\n @for (c of cubes; track c) {\r\n <mat-option [value]=\"c.name\">{{c.title|localizedString}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n }\r\n <mat-form-field>\r\n <mat-label>{{'Aggregate'|translate}}</mat-label>\r\n <mat-select formControlName=\"aggregate\" multiple>\r\n @for (a of cube?.axes; track a) {\r\n <mat-option [value]=\"a.name\">{{a.title }}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n @if (cube) {\r\n <bizdoc-designer-cube-filter [cube]=\"cube\" [form]=\"form.controls.filters\"></bizdoc-designer-cube-filter>\r\n }\r\n</ng-container>\r\n}\r\n" }]
34
- }] });
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwbG9yZS12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3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uICB9XHJcbjwvbmctY29udGFpbmVyPlxyXG59XHJcbiJdfQ==
@@ -1,56 +0,0 @@
1
- import { Component } from "@angular/core";
2
- import { Validators } from "@angular/forms";
3
- import { DesignerTypeElementComponent } from "../designer.base";
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/forms";
6
- import * as i2 from "@angular/cdk/drag-drop";
7
- import * as i3 from "@angular/material/autocomplete";
8
- import * as i4 from "@angular/material/core";
9
- import * as i5 from "@angular/material/form-field";
10
- import * as i6 from "@angular/material/select";
11
- import * as i7 from "@angular/material/button";
12
- import * as i8 from "@angular/material/input";
13
- import * as i9 from "@angular/material/icon";
14
- import * as i10 from "../../../core/popup/tooltip.directive";
15
- import * as i11 from "../designer-element.component";
16
- import * as i12 from "../../../core/pipes/localized-string.pipe";
17
- import * as i13 from "../../../core/pipes/translate.pipe";
18
- export class FolderDesignComponent extends DesignerTypeElementComponent {
19
- constructor() {
20
- super(...arguments);
21
- this.columns = this._fb.array([]);
22
- this.form = this._fb.group({
23
- columns: this.columns,
24
- filters: this._fb.group({
25
- cube: null,
26
- axes: null
27
- })
28
- });
29
- }
30
- ngOnInit() {
31
- if (this.mode !== 'widget') {
32
- this.cubes = this._ref.designer.cubes;
33
- this.controls = this._ref.designer.controls;
34
- this.cube = this.model.filters?.cube ? this._ref.designer.cubes.find(c => c.name === this.model.filters.cube) :
35
- this._ref.designer.cubes[0];
36
- this.model.columns?.forEach(c => this.columns.push(this.newColumn(c), { emitEvent: false }));
37
- }
38
- }
39
- newColumn(column) {
40
- return this._fb.group({
41
- name: this._fb.control(column?.name, Validators.required),
42
- title: this._fb.control(column?.title, Validators.required),
43
- type: column?.type,
44
- });
45
- }
46
- cubeSelected(evt) {
47
- this.cube = this.cubes.find(c => c.name === evt.value);
48
- }
49
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: FolderDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
50
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.5", type: FolderDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element [form]=\"form\" [privileges]=\"true\" [icon]=\"true\" [context]=\"context\">\r\n <ng-template bizdocEditContent>\r\n <ng-container [formGroup]=\"form\">\r\n @if (cubes.length) {\r\n <ng-container formGroupName=\"filters\">\r\n <h2 class=\"mat-h2\">{{'Filters'|translate}}</h2>\r\n @if (cubes.length>1) {\r\n <mat-form-field>\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select formControlName=\"cube\" (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option>{{'None'|translate}}</mat-option>\r\n @for (c of cubes; track c) {\r\n <mat-option [value]=\"c.name\">{{c.title|localizedString}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n }\r\n <mat-form-field>\r\n <mat-label>{{'Axes'|translate}}</mat-label>\r\n <mat-select formControlName=\"axes\" multiple>\r\n @for (a of cube?.axes; track a) {\r\n <mat-option [value]=\"a.name\">{{a.title}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n </ng-container>\r\n }\r\n <h2 class=\"mat-h2 row\">\r\n {{'Columns'|translate}}\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"add(columns, newColumn(), 'Column', 'column')\" [bizdocTooltip]=\"'Add'|translate\" type=\"button\"><mat-icon>add_circle_outline</mat-icon></button>\r\n </h2>\r\n <table formArrayName=\"columns\" class=\"mat-mdc-table\" cdkDropList (cdkDropListDropped)=\"drop($event, columns)\">\r\n @for (c of columns.controls; track c; let index = $index) {\r\n <tr class=\"mat-mdc-row\" [formGroup]=\"c\" cdkDrag>\r\n <td class=\"mat-mdc-cell\">\r\n <mat-icon cdkDragHandle>drag_indicator</mat-icon>\r\n </td>\r\n <td class=\"mat-mdc-cell flex\" width=\"99%\">\r\n {{c.controls.title.value}}\r\n </td>\r\n <td class=\"mat-mdc-cell\" style=\"white-space: pre;\">\r\n <button mat-icon-button (click)=\"edit(c, 'Column', 'column')\" [bizdocTooltip]=\"'Edit'|translate\" type=\"button\"><mat-icon>edit</mat-icon></button>\r\n <button mat-icon-button (click)=\"columns.removeAt(index)\" [bizdocTooltip]=\"'Remove'|translate\" type=\"button\"><mat-icon>delete</mat-icon></button>\r\n </td>\r\n </tr>\r\n }\r\n </table>\r\n </ng-container>\r\n </ng-template>\r\n <!--column -->\r\n <ng-template bizdocCustomContent=\"column\" let-form=\"form\">\r\n <ng-container [formGroup]=\"form\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" required />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Name'|translate}}</mat-label>\r\n <input matInput formControlName=\"name\" required [matAutocomplete]=\"names\" />\r\n <mat-autocomplete #names=\"matAutocomplete\" (optionSelected)=\"form.controls.title.setValue($event.option.getLabel())\">\r\n <mat-option value=\"number\">{{'Number'|translate}}</mat-option>\r\n <mat-option value=\"subject\">{{'Subject'|translate}}</mat-option>\r\n <mat-option value=\"value\">{{'Value'|translate}}</mat-option>\r\n <mat-option value=\"owner\">{{'Owner'|translate}}</mat-option>\r\n <mat-option value=\"sender\">{{'Sender'|translate}}</mat-option>\r\n <mat-option value=\"received\">{{'Received'|translate}}</mat-option>\r\n <mat-option value=\"receivedAgo\">{{'ReceivedAgo'|translate}}</mat-option>\r\n <mat-option value=\"replied\">{{'Replied'|translate}}</mat-option>\r\n <mat-option value=\"state\">{{'State'|translate}}</mat-option>\r\n <mat-option value=\"issued\">{{'Issued'|translate}}</mat-option>\r\n <mat-option value=\"issuedAgo\">{{'IssuedAgo'|translate}}</mat-option>\r\n </mat-autocomplete>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'DataType'|translate}}</mat-label>\r\n <mat-select formControlName=\"type\">\r\n @for (c of controls; track c) {\r\n <mat-option [value]=\"c.name\">{{c.title}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n </ng-container>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n", dependencies: [{ kind: "directive", type: i1.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: 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: "directive", type: i1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: i1.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { kind: "directive", type: i2.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i2.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i2.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "component", type: i3.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: i4.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i3.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "component", type: i6.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: i7.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: i8.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: i9.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i10.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "directive", type: i11.CustomContentDirective, selector: "[bizdocCustomContent]", inputs: ["bizdocCustomContent"] }, { kind: "directive", type: i11.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "component", type: i11.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["privileges", "icon", "form", "context"], outputs: ["save", "continue"] }, { kind: "pipe", type: i12.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i13.TranslatePipe, name: "translate" }] }); }
51
- }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: FolderDesignComponent, decorators: [{
53
- type: Component,
54
- args: [{ template: "<bizdoc-designer-element [form]=\"form\" [privileges]=\"true\" [icon]=\"true\" [context]=\"context\">\r\n <ng-template bizdocEditContent>\r\n <ng-container [formGroup]=\"form\">\r\n @if (cubes.length) {\r\n <ng-container formGroupName=\"filters\">\r\n <h2 class=\"mat-h2\">{{'Filters'|translate}}</h2>\r\n @if (cubes.length>1) {\r\n <mat-form-field>\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select formControlName=\"cube\" (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option>{{'None'|translate}}</mat-option>\r\n @for (c of cubes; track c) {\r\n <mat-option [value]=\"c.name\">{{c.title|localizedString}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n }\r\n <mat-form-field>\r\n <mat-label>{{'Axes'|translate}}</mat-label>\r\n <mat-select formControlName=\"axes\" multiple>\r\n @for (a of cube?.axes; track a) {\r\n <mat-option [value]=\"a.name\">{{a.title}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n </ng-container>\r\n }\r\n <h2 class=\"mat-h2 row\">\r\n {{'Columns'|translate}}\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"add(columns, newColumn(), 'Column', 'column')\" [bizdocTooltip]=\"'Add'|translate\" type=\"button\"><mat-icon>add_circle_outline</mat-icon></button>\r\n </h2>\r\n <table formArrayName=\"columns\" class=\"mat-mdc-table\" cdkDropList (cdkDropListDropped)=\"drop($event, columns)\">\r\n @for (c of columns.controls; track c; let index = $index) {\r\n <tr class=\"mat-mdc-row\" [formGroup]=\"c\" cdkDrag>\r\n <td class=\"mat-mdc-cell\">\r\n <mat-icon cdkDragHandle>drag_indicator</mat-icon>\r\n </td>\r\n <td class=\"mat-mdc-cell flex\" width=\"99%\">\r\n {{c.controls.title.value}}\r\n </td>\r\n <td class=\"mat-mdc-cell\" style=\"white-space: pre;\">\r\n <button mat-icon-button (click)=\"edit(c, 'Column', 'column')\" [bizdocTooltip]=\"'Edit'|translate\" type=\"button\"><mat-icon>edit</mat-icon></button>\r\n <button mat-icon-button (click)=\"columns.removeAt(index)\" [bizdocTooltip]=\"'Remove'|translate\" type=\"button\"><mat-icon>delete</mat-icon></button>\r\n </td>\r\n </tr>\r\n }\r\n </table>\r\n </ng-container>\r\n </ng-template>\r\n <!--column -->\r\n <ng-template bizdocCustomContent=\"column\" let-form=\"form\">\r\n <ng-container [formGroup]=\"form\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" required />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Name'|translate}}</mat-label>\r\n <input matInput formControlName=\"name\" required [matAutocomplete]=\"names\" />\r\n <mat-autocomplete #names=\"matAutocomplete\" (optionSelected)=\"form.controls.title.setValue($event.option.getLabel())\">\r\n <mat-option value=\"number\">{{'Number'|translate}}</mat-option>\r\n <mat-option value=\"subject\">{{'Subject'|translate}}</mat-option>\r\n <mat-option value=\"value\">{{'Value'|translate}}</mat-option>\r\n <mat-option value=\"owner\">{{'Owner'|translate}}</mat-option>\r\n <mat-option value=\"sender\">{{'Sender'|translate}}</mat-option>\r\n <mat-option value=\"received\">{{'Received'|translate}}</mat-option>\r\n <mat-option value=\"receivedAgo\">{{'ReceivedAgo'|translate}}</mat-option>\r\n <mat-option value=\"replied\">{{'Replied'|translate}}</mat-option>\r\n <mat-option value=\"state\">{{'State'|translate}}</mat-option>\r\n <mat-option value=\"issued\">{{'Issued'|translate}}</mat-option>\r\n <mat-option value=\"issuedAgo\">{{'IssuedAgo'|translate}}</mat-option>\r\n </mat-autocomplete>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'DataType'|translate}}</mat-label>\r\n <mat-select formControlName=\"type\">\r\n @for (c of controls; track c) {\r\n <mat-option [value]=\"c.name\">{{c.title}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n </ng-container>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n" }]
55
- }] });
56
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9sZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvc3JjL2xpYi9hZG1pbi9hcmNoaXRlY3R1cmUvZWxlbWVudHMvZm9sZGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvc3JjL2xpYi9hZG1pbi9hcmNoaXRlY3R1cmUvZWxlbWVudHMvZm9sZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3Mi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YXQtYXV0b2NvbXBsZXRlPlxyXG4gICAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG4gICAgICA8bWF0LWZvcm0tZmllbGQ+XHJcbiAgICAgICAgPG1hdC1sYWJlbD57eydEYXRhVHlwZSd8dHJhbnNsYXRlfX08L21hdC1sYWJlbD5cclxuICAgICAgICA8bWF0LXNlbGVjdCBmb3JtQ29udHJvbE5hbWU9XCJ0eXBlXCI+XHJcbiAgICAgICAgICBAZm9yIChjIG9mIGNvbnRyb2xzOyB0cmFjayBjKSB7XHJcbiAgICAgICAgICA8bWF0LW9wdGlvbiBbdmFsdWVdPVwiYy5uYW1lXCI+e3tjLnRpdGxlfX08L21hdC1vcHRpb24+XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgPC9tYXQtc2VsZWN0PlxyXG4gICAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG4gICAgPC9uZy1jb250YWluZXI+XHJcbiAgPC9uZy10ZW1wbGF0ZT5cclxuPC9iaXpkb2MtZGVzaWduZXItZWxlbWVudD5cclxuIl19
@@ -1,126 +0,0 @@
1
- import { COMMA, ENTER, SEMICOLON } from "@angular/cdk/keycodes";
2
- import { Component, Inject } from "@angular/core";
3
- import { Validators } from "@angular/forms";
4
- import { Subject } from "rxjs";
5
- import { debounceTime } from "rxjs/operators";
6
- import { DesignerRef, localizeString } from "../declarations";
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/forms";
9
- import * as i2 from "../../system.service";
10
- import * as i3 from "../../../core/prompt.service";
11
- import * as i4 from "../../../core/slots/pane-ref";
12
- import * as i5 from "@angular/material/chips";
13
- import * as i6 from "@angular/material/datepicker";
14
- import * as i7 from "@angular/material/list";
15
- import * as i8 from "@angular/material/autocomplete";
16
- import * as i9 from "@angular/material/core";
17
- import * as i10 from "@angular/material/form-field";
18
- import * as i11 from "@angular/material/button";
19
- import * as i12 from "@angular/material/checkbox";
20
- import * as i13 from "@angular/material/input";
21
- import * as i14 from "@angular/material/icon";
22
- import * as i15 from "../../core/localized-string.component";
23
- import * as i16 from "../../../core/pipes/translate.pipe";
24
- import * as i17 from "../declarations";
25
- export class FormInviteDialog {
26
- constructor(_fb, _service, _ps, _ref, _pane) {
27
- this._fb = _fb;
28
- this._service = _service;
29
- this._ps = _ps;
30
- this._ref = _ref;
31
- this._pane = _pane;
32
- this.separatorKeysCodes = [ENTER, COMMA, SEMICOLON];
33
- this.groups = this._fb.control([], Validators.required);
34
- this.devices = ['Sms', 'Email', 'IM'];
35
- this.form = this._fb.group({
36
- groups: this.groups,
37
- devices: this._fb.control([], Validators.required),
38
- due: this._fb.control(null, Validators.min(new Date().getTime())),
39
- oneTime: false,
40
- message: this._fb.control(null)
41
- });
42
- this._searchchange = new Subject();
43
- this.search = this._fb.control(null);
44
- }
45
- ngOnInit() {
46
- this._service.roles().subscribe(r => {
47
- this._roles = r.concat(this._ref.designer.roles.filter(r => !r.disabled).
48
- map(r => ({
49
- name: r.name,
50
- title: localizeString(r.title)
51
- })));
52
- this._roles.forEach(r => {
53
- r['_index'] = (r.title || r.name).toLowerCase();
54
- this._roles[r.name] = r;
55
- });
56
- this.roles = this._roles.slice();
57
- });
58
- this.search.valueChanges.pipe(debounceTime(150)).subscribe(v => this._searchchange.next(v));
59
- this._searchchange.subscribe(v => {
60
- const groups = this.groups.value || [];
61
- if (v) {
62
- const val = v.toLowerCase();
63
- this.roles = this._roles.filter(r => r['_index'].indexOf(val) > -1 && groups.indexOf(r.name) < 0);
64
- }
65
- else
66
- this.roles = this._roles.filter(r => groups.indexOf(r.name) < 0);
67
- });
68
- }
69
- /**
70
- *
71
- * @param id
72
- */
73
- removeRole(id) {
74
- const roles = this.groups.value;
75
- const index = roles.indexOf(id);
76
- if (index >= 0)
77
- roles.splice(index, 1);
78
- this.groups.setValue(roles);
79
- this._searchchange.next(null);
80
- }
81
- /**
82
- *
83
- * @param inp
84
- * @param event
85
- */
86
- addRole(inp, event) {
87
- const roles = this.groups.value;
88
- const id = event.option.value;
89
- if (!roles)
90
- this.groups.setValue([id]);
91
- else {
92
- roles.push(id);
93
- this.groups.setValue(roles);
94
- }
95
- inp.value = '';
96
- this.search.setValue(null);
97
- }
98
- send() {
99
- const { groups, devices, message, due } = this.form.value;
100
- this.working = true;
101
- this._service.invite(this._ref.model.name, { groups: groups, message, devices: devices, due }).
102
- subscribe({
103
- next: e => {
104
- this._ps.toast(e.ok ? 'InvitationsSent' : 'NoInvitationsSent', e.ok);
105
- this._pane.close();
106
- }, error: () => {
107
- this._ps.error();
108
- this.working = false;
109
- }
110
- });
111
- }
112
- titleOf(name) {
113
- const role = this._roles[name];
114
- return role?.title || name;
115
- }
116
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: FormInviteDialog, deps: [{ token: i1.FormBuilder }, { token: i2.SystemService }, { token: i3.PromptService }, { token: DesignerRef }, { token: i4.PaneRef }], target: i0.ɵɵFactoryTarget.Component }); }
117
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.5", type: FormInviteDialog, selector: "ng-component", ngImport: i0, template: "<form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field>\r\n <mat-chip-grid #chips [attr.aria-label]=\"''\" multiple required>\r\n @for (r of groups.value; track r) {\r\n <mat-chip-row\r\n (removed)=\"removeRole(r)\">\r\n {{titleOf(r)}}\r\n <mat-icon matChipRemove>cancel</mat-icon>\r\n </mat-chip-row>\r\n }\r\n </mat-chip-grid>\r\n <input [placeholder]=\"'Roles'|translate\" required\r\n [formControl]=search\r\n #inputrole\r\n [matAutocomplete]=\"rolename\"\r\n [matChipInputFor]=\"chips\"\r\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\">\r\n <mat-autocomplete #rolename=\"matAutocomplete\" (optionSelected)=\"addRole(inputrole, $event)\">\r\n @for (r of roles; track r) {\r\n <mat-option [value]=\"r.name\">\r\n {{r.title || r.name}}\r\n </mat-option>\r\n }\r\n </mat-autocomplete>\r\n @if (form.controls.groups.hasError('required')) {\r\n <mat-error [innerHTML]=\"'RequiredErr'|translate:('Roles'|translate)\"></mat-error>\r\n }\r\n </mat-form-field>\r\n <bizdoc-localized-string formControlName=\"message\" [placeholder]=\"'Message'|translate\" class=\"flex column\" maxlength=\"400\"></bizdoc-localized-string>\r\n <mat-form-field>\r\n <mat-label>{{'InviteDue' | l18n}}</mat-label>\r\n <input matInput formControlName=\"due\"\r\n [matDatepicker]=\"duePicker\" />\r\n <mat-datepicker-toggle [for]=\"duePicker\" matSuffix></mat-datepicker-toggle>\r\n <mat-datepicker #duePicker></mat-datepicker>\r\n @if (form.controls.due.hasError('min')) {\r\n <mat-error [innerHTML]=\"'DateInPastErr'|translate\"></mat-error>\r\n }\r\n </mat-form-field>\r\n <mat-checkbox formControlName=\"oneTime\">{{'InviteOneTime'|l18n}}</mat-checkbox>\r\n <mat-selection-list formControlName=\"devices\" multiple>\r\n @for (d of devices; track d) {\r\n <mat-list-option [value]=\"d\">{{d|translate}}</mat-list-option>\r\n }\r\n </mat-selection-list>\r\n <button mat-raised-button color=\"primary\" (click)=\"send()\" [disabled]=\"!form.valid || working\">{{'Send'|l18n}}</button>\r\n </form>\r\n", styles: ["form{padding:8px}\n"], dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.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: 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.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { 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: i5.MatChipGrid, selector: "mat-chip-grid", inputs: ["disabled", "placeholder", "required", "value", "errorStateMatcher"], outputs: ["change", "valueChange"] }, { kind: "directive", type: i5.MatChipInput, selector: "input[matChipInputFor]", inputs: ["matChipInputFor", "matChipInputAddOnBlur", "matChipInputSeparatorKeyCodes", "placeholder", "id", "disabled"], outputs: ["matChipInputTokenEnd"], exportAs: ["matChipInput", "matChipInputFor"] }, { kind: "directive", type: i5.MatChipRemove, selector: "[matChipRemove]" }, { kind: "component", type: i5.MatChipRow, selector: "mat-chip-row, [mat-chip-row], mat-basic-chip-row, [mat-basic-chip-row]", inputs: ["editable"], outputs: ["edited"] }, { kind: "component", type: i6.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i6.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i6.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i7.MatSelectionList, selector: "mat-selection-list", inputs: ["color", "compareWith", "multiple", "hideSingleSelectionIndicator", "disabled"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: i7.MatListOption, selector: "mat-list-option", inputs: ["togglePosition", "checkboxPosition", "color", "value", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "component", type: i8.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: i9.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i8.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "component", type: i10.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i10.MatLabel, selector: "mat-label" }, { kind: "directive", type: i10.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i10.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i11.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i12.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i13.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: i14.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i15.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "pipe", type: i16.L18nPipe, name: "l18n" }, { kind: "pipe", type: i16.TranslatePipe, name: "translate" }] }); }
118
- }
119
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: FormInviteDialog, decorators: [{
120
- type: Component,
121
- args: [{ template: "<form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field>\r\n <mat-chip-grid #chips [attr.aria-label]=\"''\" multiple required>\r\n @for (r of groups.value; track r) {\r\n <mat-chip-row\r\n (removed)=\"removeRole(r)\">\r\n {{titleOf(r)}}\r\n <mat-icon matChipRemove>cancel</mat-icon>\r\n </mat-chip-row>\r\n }\r\n </mat-chip-grid>\r\n <input [placeholder]=\"'Roles'|translate\" required\r\n [formControl]=search\r\n #inputrole\r\n [matAutocomplete]=\"rolename\"\r\n [matChipInputFor]=\"chips\"\r\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\">\r\n <mat-autocomplete #rolename=\"matAutocomplete\" (optionSelected)=\"addRole(inputrole, $event)\">\r\n @for (r of roles; track r) {\r\n <mat-option [value]=\"r.name\">\r\n {{r.title || r.name}}\r\n </mat-option>\r\n }\r\n </mat-autocomplete>\r\n @if (form.controls.groups.hasError('required')) {\r\n <mat-error [innerHTML]=\"'RequiredErr'|translate:('Roles'|translate)\"></mat-error>\r\n }\r\n </mat-form-field>\r\n <bizdoc-localized-string formControlName=\"message\" [placeholder]=\"'Message'|translate\" class=\"flex column\" maxlength=\"400\"></bizdoc-localized-string>\r\n <mat-form-field>\r\n <mat-label>{{'InviteDue' | l18n}}</mat-label>\r\n <input matInput formControlName=\"due\"\r\n [matDatepicker]=\"duePicker\" />\r\n <mat-datepicker-toggle [for]=\"duePicker\" matSuffix></mat-datepicker-toggle>\r\n <mat-datepicker #duePicker></mat-datepicker>\r\n @if (form.controls.due.hasError('min')) {\r\n <mat-error [innerHTML]=\"'DateInPastErr'|translate\"></mat-error>\r\n }\r\n </mat-form-field>\r\n <mat-checkbox formControlName=\"oneTime\">{{'InviteOneTime'|l18n}}</mat-checkbox>\r\n <mat-selection-list formControlName=\"devices\" multiple>\r\n @for (d of devices; track d) {\r\n <mat-list-option [value]=\"d\">{{d|translate}}</mat-list-option>\r\n }\r\n </mat-selection-list>\r\n <button mat-raised-button color=\"primary\" (click)=\"send()\" [disabled]=\"!form.valid || working\">{{'Send'|l18n}}</button>\r\n </form>\r\n", styles: ["form{padding:8px}\n"] }]
122
- }], ctorParameters: () => [{ type: i1.FormBuilder }, { type: i2.SystemService }, { type: i3.PromptService }, { type: i17.DesignerRef, decorators: [{
123
- type: Inject,
124
- args: [DesignerRef]
125
- }] }, { type: i4.PaneRef }] });
126
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1pbnZpdGUuZGlhbG9nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9zcmMvbGliL2FkbWluL2FyY2hpdGVjdHVyZS9lbGVtZW50cy9mb3JtLWludml0ZS5kaWFsb2cudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3NyYy9saWIvYWRtaW4vYXJjaGl0ZWN0dXJlL2VsZW1lbnRzL2Zvcm0taW52aXRlLmRpYWxvZy5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLFNBQVMsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxTQUFTLEVBQUUs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Jpbmcoci50aXRsZSlcclxuICAgICAgICAgICAgICAgIH0pIGFzIFJvbGUpKTtcclxuICAgICAgICAgICAgdGhpcy5fcm9sZXMuZm9yRWFjaChyID0+IHtcclxuICAgICAgICAgICAgICAgIChyIGFzIGFueSlbJ19pbmRleCddID0gKHIudGl0bGUgfHwgci5uYW1lKS50b0xvd2VyQ2FzZSgpO1xyXG4gICAgICAgICAgICAgICAgKHRoaXMuX3JvbGVzIGFzIGFueSlbci5uYW1lXSA9IHI7XHJcbiAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICB0aGlzLnJvbGVzID0gdGhpcy5fcm9sZXMuc2xpY2UoKTtcclxuICAgICAgICB9KTtcclxuICAgICAgICB0aGlzLnNlYXJjaC52YWx1ZUNoYW5nZXMucGlwZShkZWJvdW5jZVRpbWUoMTUwKSkuc3Vic2NyaWJlKHYgPT5cclxuICAgICAgICAgICAgdGhpcy5fc2VhcmNoY2hhbmdlLm5leHQodilcclxuICAgICAgICApO1xyXG4gICAgICAgIHRoaXMuX3NlYXJjaGNoYW5nZS5zdWJzY3JpYmUodiA9PiB7XHJcbiAgICAgICAgICAgIGNvbnN0IGdyb3VwcyA9IHRoaXMuZ3JvdXBzLnZhbHVlIHx8IFtdIGFzIHN0cmluZ1tdO1xyXG4gICAgICAgICAgICBpZiAodikge1xyXG4gICAgICAgICAgICAgICAgY29uc3QgdmFsID0gdi50b0xvd2VyQ2FzZSgpO1xyXG4gICAgICAgICAgICAgICAgdGhpcy5yb2xlcyA9ICh0aGlzLl9yb2xlcyBhcyBSb2xlW10pLmZpbHRlcihyID0+IChyIGFzIGFueSlbJ19pbmRleCddLmluZGV4T2YodmFsKSA+IC0xICYmIGdyb3Vwcy5pbmRleE9mKHIubmFtZSkgPCAwKTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICBlbHNlXHJcbiAgICAgICAgICAgICAgICB0aGlzLnJvbGVzID0gKHRoaXMuX3JvbGVzIGFzIFJvbGVbXSkuZmlsdGVyKHIgPT4gZ3JvdXBzLmluZGV4T2Yoci5uYW1lKSA8IDApO1xyXG4gICAgICAgIH0pO1xyXG4gICAgfVxyXG4gICAgLyoqXHJcbiAgICAgKiBcclxuICAgICAqIEBwYXJhbSBpZFxyXG4gICAgICovXHJcbiAgICByZW1vdmVSb2xlKGlkOiBzdHJpbmcpOiB2b2lkIHtcclxuICAgICAgICBjb25zdCByb2xlcyA9IHRoaXMuZ3JvdXBzLnZhbHVlISBhcyBzdHJpbmdbXTtcclxuICAgICAgICBjb25zdCBpbmRleCA9IHJvbGVzLmluZGV4T2YoaWQpO1xyXG5cclxuICAgICAgICBpZiAoaW5kZXggPj0gMClcclxuICAgICAgICAgICAgcm9sZXMuc3BsaWNlKGluZGV4LCAxKTtcclxuICAgICAgICB0aGlzLmdyb3Vwcy5zZXRWYWx1ZShyb2xlcyk7XHJcbiAgICAgICAgdGhpcy5fc2VhcmNoY2hhbmdlLm5leHQobnVsbCk7XHJcbiAgICB9XHJcbiAgICAvKipcclxuICAgICAqIFxyXG4gICAgICogQHBhcmFtIGlucFxyXG4gICAgICogQHBhcmFtIGV2ZW50XHJcbiAgICAgKi9cclxuICAgIGFkZFJvbGUoaW5wOiBIVE1MSW5wdXRFbGVtZW50LCBldmVudDogTWF0QXV0b2NvbXBsZXRlU2VsZWN0ZWRFdmVudCk6IHZvaWQge1xyXG4gICAgICAgIGNvbnN0IHJvbGVzID0gdGhpcy5ncm91cHMudmFsdWU7XHJcbiAgICAgICAgY29uc3QgaWQgPSBldmVudC5vcHRpb24udmFsdWUgYXMgc3RyaW5nO1xyXG4gICAgICAgIGlmICghcm9sZXMpXHJcbiAgICAgICAgICAgIHRoaXMuZ3JvdXBzLnNldFZhbHVlKFtpZF0pO1xyXG4gICAgICAgIGVsc2Uge1xyXG4gICAgICAgICAgICByb2xlcy5wdXNoKGlkKTtcclxuICAgICAgICAgICAgdGhpcy5ncm91cHMuc2V0VmFsdWUocm9sZXMpO1xyXG4gICAgICAgIH1cclxuICAgICAgICBpbnAudmFsdWUgPSAnJztcclxuICAgICAgICB0aGlzLnNlYXJjaC5zZXRWYWx1ZShudWxsKTtcclxuICAgIH1cclxuICAgIHNlbmQoKSB7XHJcbiAgICAgICAgY29uc3QgeyBncm91cHMsIGRldmljZXMsIG1lc3NhZ2UsIGR1ZSB9ID0gdGhpcy5mb3JtLnZhbHVlO1xyXG4gICAgICAgIHRoaXMud29ya2luZyA9IHRydWU7XHJcbiAgICAgICAgdGhpcy5fc2VydmljZS5pbnZpdGUodGhpcy5fcmVmLm1vZGVsLm5hbWUsIHsgZ3JvdXBzOiBncm91cHMgYXMgc3RyaW5nW10sIG1lc3NhZ2UsIGRldmljZXM6IGRldmljZXMgYXMgSW52aXRlRGV2aWNlW10sIGR1ZSB9KS5cclxuICAgICAgICAgICAgc3Vic2NyaWJlKHtcclxuICAgICAgICAgICAgICAgIG5leHQ6IGUgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuX3BzLnRvYXN0KGUub2sgPyAnSW52aXRhdGlvbnNTZW50JyA6ICdOb0ludml0YXRpb25zU2VudCcsIGUub2spO1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuX3BhbmUuY2xvc2UoKTtcclxuICAgICAgICAgICAgICAgIH0sIGVycm9yOiAoKSA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5fcHMuZXJyb3IoKTtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLndvcmtpbmcgPSBmYWxzZTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfSk7XHJcbiAgICB9XHJcbiAgICB0aXRsZU9mKG5hbWU6IHN0cmluZykge1xyXG4gICAgICAgIGNvbnN0IHJvbGUgPSAodGhpcy5fcm9sZXMgYXMgYW55KVtuYW1lXTtcclxuICAgICAgICByZXR1cm4gcm9sZT8udGl0bGUgfHwgbmFtZTtcclxuICAgIH1cclxufVxyXG4iLCI8Zm9ybSBhdXRvY29tcGxldGU9XCJvZm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